[ROOT] How To: Root the Kindle Fire 7" HD or 2 with Linux/MAC - Noob (Simple) Version

prokennexusa

Senior Member
Jan 12, 2012
2,637
989
0
54
Petaluma
plus.google.com
[ROOT] How To: Root the Kindle Fire 7" HD or 2 with Linux/MAC - Noob (Simple) Version

This is a simple Step-by-Step guide on How To: How To: Root the Kindle Fire 7" HD or 2 with Linux or Mac - Noob (Simple) Version. The main group steps are outlined with A, B, C while the sub-group steps are outlined with 1, 2, 3.

Prerequisites:

1. Software: Linux (tested on Linux Ubuntu Quantal Quetzal 32-bit and 64-bit) or Mac OS X 10.5.8 or later (32-bit and 64-bit)
2. Hardware: Free USB 2.0 or Greater Port
3. Software: Linux GNU C Library (glibc) 2.7 or later is required, On Ubuntu Linux, version 8.04 or later is required,
64-bit distributions must be capable of running 32-bit applications.
4. Hardware: Kindle Fire HD 7" or Kindle Fire 2 7"

Enabling and using the "root" user in Mac OS X

It is important that you use our Software since we use the latest versions of Superuser.apk and the su binary.

A) First we will install the needed software, then move on to Rooting the Kindle through the ADB Service.

Unplug the Kindle from USB. Go to your Kindle, navigate to the pull down options bar, choose More > Security

Be sure to Enable ADB by clicking On

Next Go to your Kindle, navigate to the pull down options bar, choose More > Device

Be sure to Allow Installation of Applications by clicking On

Root Kindle Fire HD Step 1: Go to your Mac or Linux workstation, download and unzip Root MANY ANDROID! there are 3 different versions, we have taken steps to optimized for each specific platform, please select the correct one matching your platform. If you are having trouble determining which one to download post the question inside this thread. Pay close attention to the path where you unzipped the download.

Linux 32-bit Version 18.5.1: Linux32.zip
Linux 64-bit Version 18.5.1: Linux64.zip
Mac 64-bit Version 18.5.1: Apple64.zip

Root Kindle Fire HD Step 2: Plug the Kindle into the free USB 2.0 Port. Wait for the driver to install
about 2 minutes. Mac OS X and Linux do not require any special drivers, the default driver built into these platforms will be
sufficient.

Root Kindle Fire HD Step 3: Open up a Browser, go to Oracle Java, Download and Install Java Platform (JDK) 7u13 - Please reboot after the install:

Linux 32-bit JDK 7.13 Install Notes: http://docs.oracle.com/javase/7/docs/webnotes/install/linux/linux-jdk.html
Linux 64-bit JDK 7.13 Install Notes: http://docs.oracle.com/javase/7/docs/webnotes/install/linux/linux-jdk.html
Mac 64-bit JDK 7.13 Install Notes: http://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-jdk.html

Root Kindle Fire HD Step 4: Open up a Terminal, at the Terminal window ($ command prompt) type:

Code:
su -
Enter your Root Password if requested to do so. You should now see a # at the command prompt. Ubuntu Users would use:

Code:
sudo before each command (Ignore su-)
Root Kindle Fire HD Step 5: Next go back to the open command prompt at the /RootPackage32or64Folder/# enter:

Code:
chmod 777 RunMe.sh
sh RunMe.sh

OR

./RunMe.sh
Ubuntu Users would use:

Code:
sudo chmod 777 RunMe.sh
sudo sh ./RunMe.sh
Choose option 1, Run Normal Method and ignore errors. Pay attention, you will need to answer "Restore" a dialogue box on the Kindle. Click on Restore. When the program has completed, the Kindle will Reboot.

If you receive 'can not execute items in the stuff folder', please check to make sure you downloaded the correct package for your platform. The Linux 64-bit package will not work on a 32-bit computer. If you have verified your download and you are still seeing the 'can not execute items in the stuff folder' message, please post a screen shot in this thread.

Code:
exit
Root Kindle Fire HD Step 6: Finally go back to the Kindle, navigate to the /Apps tab, click on Device, next find and click on Superuser.apk initialize the Superuser daemon.

Root Kindle Fire HD Step 7: Finally, using a Web Browser Download suchecker.apk to the /RootPackage32or64Folder/#: suchecker.apk. After the download has completed, open a command prompt at the /RootPackage32or64Folder/# enter:

Code:
./stuff/adb kill-server
./stuff/adb start-server
./stuff/adb devices
./stuff/adb install [URL="https://dl.dropbox.com/u/54456659/suchecker.apk"]suchecker.apk[/URL]
./stuff/adb reboot
Root Kindle Fire HD Step 8: When the install has finished, go to your Apps. Launch Root Checker Basic When you check Root you will be presented with a "Allow" dialog box, be sure to Allow Root Checker. You should now see that Superuser.apk is working. Here is a screen shot of Root Checker Pro:



You should now have root AND if this is true your ADB communication is also functional!

B) Finally, let's disable the Amazon OTA (Over The Air) Updates so your hard work is not destroyed.

OTA Step 1: [HOW TO] Disable Amazon OTA (Over The Air) System Updates Noob (Simple) Version

OTA Step 2: Reboot the Kindle.

Note: You may still install the updates manually after you have read the install notes and know what to expect. The updates and manual install instructions can be found on Amazon Support here: http://www.amazon.com/gp/help/customer/display.html/ref=hp_left_sib?ie=UTF8&nodeId=201016350

Next, move onto our How to: Install Google Play Step-by-Step Thread.

If this was helpful and you would like to support our work, please send us a donation using this link:
http://forum.xda-developers.com/dona....php?u=4435645
 

Attachments

Last edited:

prokennexusa

Senior Member
Jan 12, 2012
2,637
989
0
54
Petaluma
plus.google.com
How To: Root the Kindle Fire 7" HD with Linux or MAC - Noob (Simple) Version

Thanks great tutorial, many have been waiting for this and I am sure this is easy to follow like your other NOOB tutorials.
Thank you for the feedback, we did receive a number of requests. We are truly honored

to be a part of the XDA Community and we have a passion around upgrading/tweaking

tablets.
 

rwil

New member
Dec 23, 2012
4
0
0
Permission denied on /data/local.prop

Thanks for posting this. I'm stuck at this step:

[email protected]:/ $ echo 'ro.kernel.qemu=1' > /data/local.prop
/system/bin/sh: cannot create /data/local.prop: Permission denied

I did the earlier step of removing /data/local/tmp and symlinking /data/.

The data directory is owned by the system user:

130|[email protected]:/ $ ll
drwxr-xr-x root root 2012-12-31 22:59 acct
drwxrwx--- system cache 2012-12-22 01:17 cache
dr-x------ root root 2012-12-31 22:59 config
lrwxrwxrwx root root 2012-12-31 22:59 d -> /sys/kernel/debug
drwxrwx--x system system 2012-09-28 11:57 data

I tried chown and chmod, but apparently those commands aren't available in the android shell.

Any suggestions?
 

prokennexusa

Senior Member
Jan 12, 2012
2,637
989
0
54
Petaluma
plus.google.com
How To: Root the Kindle Fire 7" HD or 2 with Linux or MAC - Noob (Simple) Version

Thanks for posting this. I'm stuck at this step:

[email protected]:/ $ echo 'ro.kernel.qemu=1' > /data/local.prop
/system/bin/sh: cannot create /data/local.prop: Permission denied

I did the earlier step of removing /data/local/tmp and symlinking /data/.

The data directory is owned by the system user:

130|[email protected]:/ $ ll
drwxr-xr-x root root 2012-12-31 22:59 acct
drwxrwx--- system cache 2012-12-22 01:17 cache
dr-x------ root root 2012-12-31 22:59 config
lrwxrwxrwx root root 2012-12-31 22:59 d -> /sys/kernel/debug
drwxrwx--x system system 2012-09-28 11:57 data

I tried chown and chmod, but apparently those commands aren't available in the android shell.

Any suggestions?
What version of Linux are you using? This is normally a permissions issue on the workstation.

Sometimes Ubuntu requires sudo before the adb statement. I am a bit concerned with the $ prompt

the prompt should be # but if you are on Ubuntu, sudo will solve your issue.
 

rwil

New member
Dec 23, 2012
4
0
0
What version of Linux are you using? This is normally a permissions issue on the workstation.

Sometimes Ubuntu requires sudo before the adb statement. I am a bit concerned with the $ prompt

the prompt should be # but if you are on Ubuntu, sudo will solve your issue.
Kubuntu 12.10.

I've tried running the 'adb shell' command using sudo and after switching to root with su -. Either way I end up at the [email protected] $ prompt.

I also tried adb kill-server and adb start-server with sudo and su, but no change.

It sounds like I should be seeing "[email protected] #" ?
 
Last edited:

prokennexusa

Senior Member
Jan 12, 2012
2,637
989
0
54
Petaluma
plus.google.com
Root and Google Play for Amazon 7" Kindle Fire HD Software Version 7.2.3

12.10.

I've tried running the 'adb shell' command using sudo and after switching to root with su -. Either way I end up at the [email protected] $ prompt.

I also tried adb kill-server and adb start-server with sudo and su, but no change.

It sounds like I should be seeing "[email protected] #" ?
No, you are OK. Is the Kindle a Kindle Fire 2 7" or a Kindle Fire HD 7"
 

prokennexusa

Senior Member
Jan 12, 2012
2,637
989
0
54
Petaluma
plus.google.com
Follow Up - Feedback

Thanks for posting this. I'm stuck at this step:

[email protected]:/ $ echo 'ro.kernel.qemu=1' > /data/local.prop
/system/bin/sh: cannot create /data/local.prop: Permission denied

I did the earlier step of removing /data/local/tmp and symlinking /data/.

The data directory is owned by the system user:

130|[email protected]:/ $ ll
drwxr-xr-x root root 2012-12-31 22:59 acct
drwxrwx--- system cache 2012-12-22 01:17 cache
dr-x------ root root 2012-12-31 22:59 config
lrwxrwxrwx root root 2012-12-31 22:59 d -> /sys/kernel/debug
drwxrwx--x system system 2012-09-28 11:57 data

I tried chown and chmod, but apparently those commands aren't available in the android shell.

Any suggestions?
rwil,

Did the new steps allow you to successfully Root the Kindle? We do offer free phone support

if you have not been able to achieve Root. Let me know what happened and how we can

improve this How to:
 

rwil

New member
Dec 23, 2012
4
0
0
Yes, I was able to finally get it rooted. One thing I had to do was use the adb executable you posted instead of the one from Bin4ry. That one stalled at the intial stage saying it was waiting for the device.
 

Drewski35

New member
Jan 2, 2013
1
0
0
binary file issue

Root Kindle Fire HD Step 4: Open up a Terminal, at the Terminal window ($ command prompt) type:

Code:
su -
Enter your Root Password if requested to do so. You should now see a # at the command prompt.

Root Kindle Fire HD Step 5: Download Superuser-3.1.3-arm-signed

Root Kindle Fire HD Step 6: Unzip Superuser-3.1.3-arm-signed.zip to Superuser-3.1.3-arm-signed

Root Kindle Fire HD Step 7: Copy the entire contents of Superuser-3.1.3-arm-signed to /Android/android-sdk/platform-tools/ (Step 1 install path).

Root Kindle Fire HD Step 7.1: Next go back to the open command prompt, at the /Root_with_Restore_by_Bin4ry_v17/# enter:

Code:
chmod 777 RunMe.sh
sh RunMe.sh
Choose option 1, Run Normal Method and ignore errors. Pay attention, you will need to answer "Restore" a dialogue box on the Kindle. Click on Restore. When the program has completed, the Kindle will Reboot.

The forum notes can be found here: Root MANY ANDROID! Forum.


OK... I am having trouble running the above code "chmod 777 RunMe.sh" and "sh RunMe.sh". The terminal file begins, I select option 1, and nothing happens on my Kindle Fire HD 7. I do not get a "restore" option on the KFHD7. In the terminal window I get many errors stating "cannot execute binary file" the script runs to the end with several cannot execute binary file errors. Also, while in su (root#) in terminal, I ran ./adb devices and the device does show. I am obviously missing something....

Thanks for any assistance....
 

prokennexusa

Senior Member
Jan 12, 2012
2,637
989
0
54
Petaluma
plus.google.com
ADB Communication Issues

Root Kindle Fire HD Step 4: Open up a Terminal, at the Terminal window ($ command prompt) type:

Code:
su -
Enter your Root Password if requested to do so. You should now see a # at the command prompt.

Root Kindle Fire HD Step 5: Download Superuser-3.1.3-arm-signed

Root Kindle Fire HD Step 6: Unzip Superuser-3.1.3-arm-signed.zip to Superuser-3.1.3-arm-signed

Root Kindle Fire HD Step 7: Copy the entire contents of Superuser-3.1.3-arm-signed to /Android/android-sdk/platform-tools/ (Step 1 install path).

Root Kindle Fire HD Step 7.1: Next go back to the open command prompt, at the /Root_with_Restore_by_Bin4ry_v17/# enter:

Code:
chmod 777 RunMe.sh
sh RunMe.sh
Choose option 1, Run Normal Method and ignore errors. Pay attention, you will need to answer "Restore" a dialogue box on the Kindle. Click on Restore. When the program has completed, the Kindle will Reboot.

The forum notes can be found here: Root MANY ANDROID! Forum.


OK... I am having trouble running the above code "chmod 777 RunMe.sh" and "sh RunMe.sh". The terminal file begins, I select option 1, and nothing happens on my Kindle Fire HD 7. I do not get a "restore" option on the KFHD7. In the terminal window I get many errors stating "cannot execute binary file" the script runs to the end with several cannot execute binary file errors. Also, while in su (root#) in terminal, I ran ./adb devices and the device does show. I am obviously missing something....

Thanks for any assistance....

Drewski35,

You did obtain the software from us, correct? We found a bug in the older version of the adb binary. The new

download includes updates that may solve your problem. Please go back and download Root MANY ANDROID!

The date and time on the new Binary is 01/02/2013 1:33 PM.

The problem with a Linux tutorial is there are many variables between platforms. An example is

to obtain Superuser on SuSe Linux, it is a simple su -, then you will be at the # (Root) command

prompt. In Ubuntu Linux you need to type sudo before every command that requires Superuser

Permissions. Having said this, these utilities need to run at Root or Superuser. Have you tried

sudo before every command? First update, then try again.



Update.
 

prokennexusa

Senior Member
Jan 12, 2012
2,637
989
0
54
Petaluma
plus.google.com
ADB Communication Issues

This work on a Mac? & 7.2.3?
Ive been unsuccessful until now with either Mac or Win.
Thanks
dannyben,

Have you tried out tutorial? We just posted new ADB Drivers with the tutorial, the links

are below. Try our steps again with the new driver, if you continue to have trouble, send

us a PM, we will call you and give you free phone support. We are usually able to resolve

the problem in less than a 30 minute call. Yes, this will work on MAC. Just make

sure you download the latest Android SDK included in the tutorial.
 

josephcagle

Member
Jan 5, 2013
6
0
0
I'm having this same exact error. I'm running Ubuntu 12.04. I downloaded the latest version of everything and followed the latest instructions. It's Jan 4, 2013 now. I'm not sure what I could be doing wrong.

I am using the sudo command each time.

But I get to this and get stuck...

[email protected]:/ $ echo 'ro.kernel.qemu=1' > /data/local.prop
/system/bin/sh: cannot create /data/local.prop: Permission denied

I noticed the other person who had this problem finally got it working. It's a failure for me.

Would like some help here.

What version of Linux are you using? This is normally a permissions issue on the workstation.

Sometimes Ubuntu requires sudo before the adb statement. I am a bit concerned with the $ prompt

the prompt should be # but if you are on Ubuntu, sudo will solve your issue.
 

prokennexusa

Senior Member
Jan 12, 2012
2,637
989
0
54
Petaluma
plus.google.com
Root and Google Play for Amazon 7" Kindle Fire HD Software Version 7.2.3

I'm having this same exact error. I'm running Ubuntu 12.04. I downloaded the latest version of everything and followed the latest instructions. It's Jan 4, 2013 now. I'm not sure what I could be doing wrong.

I am using the sudo command each time.

But I get to this and get stuck...

[email protected]:/ $ echo 'ro.kernel.qemu=1' > /data/local.prop
/system/bin/sh: cannot create /data/local.prop: Permission denied

I noticed the other person who had this problem finally got it working. It's a failure for me.

Would like some help here.
josephcagle,

When you run Root MANY ANDROID! Does the Kindle ask to be Restored? Do you click on

restore and let the software reboot the Kindle? I am turning in for the night, I have been working

for over 16 hours now. Let's connect tomorrow AM, will you be around about 11am PST GMT -8?

If yes, let's connect then, if that time does not work, what time works?