Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Rooting Kindle Fire 2nd gen version 10.2.4

  1. #1
    Join Date
    Aug 2012
    Beans
    57

    Rooting Kindle Fire 2nd gen version 10.2.4

    As a gift I recently received a new Amazon Kindle fire, and after a quick google search I was exited to learn that it runs on android (although a very, very modified version. I quickly got sick of the device because it is basically a handheld billboard, completely uncustomizable, and since you dont have access to the android market, the apps suck. However, the hardware, for the most part (despite the fact that there is no micro sd card slot, microphone, bluetooth, or camera) is basically the same as a samsung (the display, RAM, and flash memory are all samsung), so I was determined to root the thing, and unleash its full potential.

    To my knowledge this is currently impossible if you are running linux/ubuntu.
    Below I will list every method that I have tried and each problem that I have hit, and hopefully somebody out there with a better knowledge of android can steer me in the right direction.

    So one of the first things that came up after googleing how to root kindle was the Kindle Fire Utility. This thing was to good to be true. It didnt have a linux version, but I read somewhere that the only difference in syntax between the .bat files that it runs off of and the linux-friendly .sh files is that "cls" is replaced with "clear" and "del" is replaced with "rm".
    Not knowing much about either file type, I figured i'd go through and changed everything in the .bat files, then save them as .sh run chmod +x and execute them.
    Not surprisingly, this dosnt work.
    I couldnt run them with wine either, so the only other thing I could think of is a virtual machine, which I dont have set up, but Im not even sure that this would work.

    The next thing I tried was the freindly sounding superoneclick.
    I downloaded and extracted it, ran the exe file and the program loads.. however it does not recognize anything at all and I cant change any settings in it whatsoever.
    ... so I found that I needed to edit the adb_usb.ini in the ~/.android folder and add 0x1949 and also edit the /etc/udev/rules.d/60-android-adb.rules (instructions here).
    I also then needed to change the settings on the actual kindle (dropdown menu-> device-> allow installation of applications from unknown sources->yes and also dropdown menu-> security-> Enable ADB-> on).
    This still didnt do the trick, but are all necessary steps to get adb to even recognize the device (run "adb devices" in a terminal and if it responds with a line of numbers and letters and the word device, then you know your golden).

    Next I tried rootkindlelinux and followed the instructions from here, which in the end gave me a lovely "All Done, Kindle Fire ROOTED!!!", but didnt seem to actually do anything to kindle itself other than reboot it, and only then did i realize that this was for version 6.2.

    After that I tried [COLOR="rgb(255, 140, 0)"]this method[/COLOR] which seemed really really promising.. but I shortly hit a few road bumps.
    Whenever I got to the part where I enter
    $ echo 'ro.kernel.qemu=1' > /data/local.prop
    I get a lovely
    /system/bin/sh: cannot create /data/local.prop: Permission denied
    so... I tried changing it to
    $ echo 'ro.kernel.qemu=1' > /data/local/temp.prop
    which seemed to do the trick..
    Until I tried
    adb shell mount -o remount,rw /system
    and got
    mount: Operation not permitted
    to which I could not find a workaround.

    The next thing I tried was [COLOR="rgb(255, 140, 0)"]this guide[/COLOR] where I was going steady until I hit
    "adb push exploid /sqlite_stmt_journals/exploid"
    and received
    failed to copy 'exploid' to '/sqlite_stmt_journal/exploid': No such file or directory
    so i could never run exploid and was once again stumped.

    The last thing I tried was [COLOR="rgb(255, 140, 0)"]this one.[/COLOR] After I extracted it and ran the sh file I got a promising looking program, where I ran in "special mode" because it was a tablet, then selected root. While it was running after every command it said "Permission Denied" and even though the developer said that this was Ok and I even got a awesome "After reboot all is done! Have fun!" My Kindle was still not rooted. I ran it a few more times in both modes, but still nothing.

    I can't figure this one out, and would really appreciate some help if anyone can offer it. Sorry this post is so long, but I wanted to give someone else a heads up before they go down the same road that I did.

  2. #2
    Join Date
    Mar 2010
    Beans
    3

    Lightbulb Re: Rooting Kindle Fire 2nd gen version 10.2.4

    Hi,

    After you tried to create the "local.prop" file on the kindle, it looks as though you weren't connected to the kindle, as your shell prompt was "$"

    Here's the output from my shell (term) on my laptop:
    $ id
    uid=1002(david) gid=1002(david) groups=1002(david),4(adm),6(disk),27(sudo),109(lpa dmin),124(sambashare)
    $ pwd
    /home/david
    $ echo $PS1
    $
    $
    ...now, when I open a shell on the kindle, (by running the "adb shell" command), things look a little different:

    $ adb shell
    shell@android:/ $ id <-- you can see that I have now connected to a shell on the kindle as the prompt has changed, along with the output of the "id" / "pwd" and "echo $PS1" commands

    uid=2000(shell) gid=2000(shell) groups=1003(graphics),1004(input),1007(log),1009(m ount),1011(adb),1015(sdcard_rw),3001(net_bt_admin) ,3002(net_bt),3003(inet),3006(net_bw_stats)

    shell@android:/ $ pwd
    /
    shell@android:/ $ echo $PS1
    $(precmd)$USER@$HOSTNAME:${PWD} $
    Therefore, if you're failing to open the shell on the kindle, try issuing the following:

    $ adb kill-server
    ...and then you should be able to connect to the kindle by issuing the "adb shell" command
    i.e.

    $ adb shell
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    shell@android:/ $
    If you get this far, then you should be able to follow the instructions (as I did) from the link (“[COLOR="rgb(255, 140, 0)"]this method[/COLOR]”) in your post.
    ...starting from the point where it says:

    shell@android:/ $ rm -r /data/local/tmp
    ...one final note, if the command fails for any reason, just check that there are no files in "/data/local/tmp" that you can't remove for any reason.

    The following "ls" command (which will display a listing of the contents of the directory) should come straight back to "shell@android:/ $" prompt
    i.e.
    shell@android:/ $ ls /data/local/tmp
    shell@android:/ $
    Hope this helps.

    Dave

  3. #3
    Join Date
    Aug 2012
    Beans
    57

    Re: Rooting Kindle Fire 2nd gen version 10.2.4

    Hey Dave, thanks for your reply..
    When I do
    shell@android:/ $ ls /data/local/tmp
    I get

    shell@android:/ $ ls /data/local/tmp
    /data/local/tmp
    So I then I tried and got this..
    shell@android:/ $ cd /data/local/tmp
    shell@android:/data/local/tmp $ ls
    opendir failed, Permission denied
    Not sure what I am looking for with that though and why I don't have permission to go to that directory. Maybe I need root access?

    Also, I tried the method you listed again because after I rebooted the device I wasn't connecting to the shell properly like you had said, but then this happens
    shell@android:/ $ echo 'ro.kernel.qemu=1' > /data/local.prop
    /system/bin/sh: cannot create /data/local.prop: Permission denied
    Any thoughts?
    Last edited by f1ndingwalden; December 29th, 2012 at 11:42 PM.

  4. #4
    Join Date
    Mar 2010
    Beans
    3

    Re: Rooting Kindle Fire 2nd gen version 10.2.4

    Hi,

    I don't have access to my kindle at the moment - kids are playing games on it!!, and as I've got to go off and do some DIY today (aaargh!) I'm not going to get a lot of time investigating until later this afternoon/evening.

    in the meantime, what version of "adb" are you running?

    The version I am using is:

    david@localhost $ adb version
    Android Debug Bridge version 1.0.29
    david@localhost $
    The other thing you could do is take a look at your environment when you connect to the kindle (issue the "id" command after you run "adb shell")
    ...post the output...

    Finally, change directory ("cd /data/local/tmp")
    If this fails, then the "tmp" directory is not accessible for some reason (?!)
    However, if you can "cd" to the "/data/local/tmp" directory, remove whatever is in there ( " rm ./* ")
    ...then change directory one level up (" cd .. ") and then remove the "tmp" directory:
    (" rmdir tmp ")

    The only other thing I can possibly grasp at is you may need to execute the "adb" command with elevated privileges (" sudo adb shell ")

    Let me know how you get on, and I'll check back later - after I've drilled a few holes in the wall and undoubtedly hammered a nail or two through my thumb

    Cheers,

    Dave

  5. #5
    Join Date
    Aug 2012
    Beans
    57

    Re: Rooting Kindle Fire 2nd gen version 10.2.4

    Hey Dave, I really appreciate your help, and good luck with your diy project!

    So Im running adb version 1.0.29 too, and the response to id is
    uid=2000(shell) gid=2000(shell) groups=1003(graphics),1004(input),1007(log),1009(m ount),1011(adb),1015(sdcard_rw),3001(net_bt_admin) ,3002(net_bt),3003(inet),3006(net_bw_stats)
    so I do have access to th tmp directory, however

    shell@android:/ $ cd /data/local/tmp
    shell@android:/data/local/tmp $ rm./*
    /system/bin/sh: rm./*: not found
    then when I try and delete the tmp dir I get this;

    shell@android:/data/local $ rmdir tmp
    rmdir failed for tmp, Not a directory
    ..

    I dont know why I tmp is not a directory.. maybe I created a file named tmp when I was messing around with it? ..Not really sure about that one.

    Also when I try and ls in tmp I get
    "shell@android:/data/local/tmp $ ls
    opendir failed, Permission denied"

    So I tried it again after running sudo adb shell and got the same thing. Also tried all the other comands w/ sudo access and got the same responses.

    Then I was curious what was in the local dir..
    255|shell@android:/data/local $ ls
    temp.prop
    tmp
    tmp.bak
    tmp.prop
    shell@android:/data/local $
    Weird..
    Any ideas?

    Thanks again,
    D

  6. #6
    Join Date
    Dec 2008
    Location
    Indiana, United States
    Beans
    731

    Re: Rooting Kindle Fire 2nd gen version 10.2.4

    do you mean the 7" original or the new kindle fire hd? if you check the xda section for development it looks pretty dead. are you sure that if you even rooted it that it would do you any good? here is where you should go for the original http://forum.xda-developers.com/forumdisplay.php?f=1309 here is for the hd http://forum.xda-developers.com/forumdisplay.php?f=1786 i would ask in the q&a section though. you need to know what version you have first. if you can't find an answer on xda you won't find it anywhere
    Last edited by mamamia88; December 31st, 2012 at 12:43 AM.
    Whoever came up with the phrase "There is no such thing as a stupid question" obviously never had the internet.

  7. #7
    Join Date
    Aug 2012
    Beans
    57

    Re: Rooting Kindle Fire 2nd gen version 10.2.4

    Its definitely the 7".. and ill post my problems up there... and yeah there are a few ROMs i can put on it plus the google android market.

    I really dig your Linus Torvalds quote by the way

  8. #8
    Join Date
    Jul 2007
    Location
    Vegas
    Beans
    Hidden!
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Rooting Kindle Fire 2nd gen version 10.2.4

    Did you ever find a solution? Having the same problem here.
    Yarly!

  9. #9
    Join Date
    Aug 2012
    Beans
    57

    Re: Rooting Kindle Fire 2nd gen version 10.2.4

    Nah man, not yet:/
    Although I havnt had time to try in the past week so ill give a crack at it again when I get the chance, and if I d ill be sure to update this thread. Good luck, and keep me posted if you find an answer!
    stupid amazon and all there security so they can put ford adds as my back ground. Its really a load of bs

  10. #10
    Join Date
    Mar 2010
    Beans
    3

    Re: Rooting Kindle Fire 2nd gen version 10.2.4

    f1ndingwalden - soz - been away from this forum for a while, so was wondering how you are getting on with your kindle?

    I just scanned back through your comment and noticed that you got a message when you entered the following:

    shell@android:/data/local/tmp $ rm./*
    /system/bin/sh: rm./*: not found

    this means you missed the <space> between the "rm" and the "./*"
    For info - "rm" is a command to remove (or delete) something, and the "./*" is telling the "rm" command command to remove everything (*) that is in the current directory "./"
    (BTW - I'm really sorry if that sounded patronizing, but I don't know how well versed you are with unix commands )

    Therefore, if you can get back to the "/data/local" directory on the kindle and keyin:

    ls

    ...you should be given a listing of that directory, and you should be able to see if there is a file in there called "tmp"

    ...not sure of the kindle cannibalized o/s supports all the standard arguments to "ls", but you can always try "ls -l" or "ls -F" to get a more detailed view of the contents of the "/data/local/" directory.

    Please post output.

    Cheers,

    Dave

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •