Sony Encouraging SmartWatch 2 Development

Mobile device companies like selling devices–it’s how they make their money and … more

Easily Toggles Your Lollipop Mobile Data Network Type

Android Lollipop is by good margin the most advanced and refinedversion of … more

Unofficial CM12 for Android One, Disabling Encryption on Nexus 6 – XDA TV

Android One devices have received an Unofficial CyanogenMod … more

Pushbullet Universal Copy/Paste Availabe for Linux, Mac OS X

Pushbullet is one of those useful utilities that once installed, permanently … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[HOWTO] (Manually) Rooting the Kindle Fire 2 with a Mac

OP jburtn

25th December 2012, 02:01 PM   |  #1  
OP Junior Member
Thanks Meter: 3
 
4 posts
Join Date:Joined: Dec 2012
Firstly, Merry Christmas!

Note: This worked on version 10.2.4

I received a Kindle Fire 2 today and since then I've been trying to get it rooted, now that I have I though I'd share it here for other people who might be in the same situation.

This is really just a remixing of the tool made by Bin4ry (http://forum.xda-developers.com/show....php?t=1886460) but I couldn't get the script to run on my Mac...

Step 0 - Preparing

You must enable ADB and Unknown App sources from Settings.

Settings > More > Security > Enable ADB
Settings > More > Device > Allow Installation of Applications

Step 1 is to get that tool from here. and extract it somewhere you'll remember.

Step 2 (you can skip this if you already have the android SDK platform-tools in your PATH)

If you don't have the android SDK or adb installed just add the 'stuff' folder from the tool to your path.

In terminal run
Code:
export PATH=$PATH:/path/to/extracted/tool/stuff/
Step 3 - Push the required files

It's probably easiest if you change into the stuff folder first...

Code:
cd /Users/x/Downloads/Root_with_Restore_by_Bin4ry_v18.7z\ Folder/stuff
Then run the following...

Code:
adb push busybox /data/local/tmp/.
adb push su /data/local/tmp/.
adb push Superuser.apk /data/local/tmp/.
adb push ric /data/local/tmp/ric
Then you need to run an adb shell to set some permissions

Code:
adb shell
(you should get a prompt like shell@android:/)

Run

Code:
chmod 755 /data/local/tmp/busybox
exit
Step 4 - Rooting

This requires another terminal window. Check that you can run adb from there as well (running adb should print the usage information)

In the first window run:

Code:
adb shell "while ! ln -s /data/local.prop /data/data/com.android.settings/a/file99; do :; done" > /dev/null
In the other run

Code:
adb restore fakebackup.ab
You should get a prompt on your Kindle, hit the restore my data button. As you do so the command in the first window should stop (or a few seconds later - if it doesn't stop it and re-run both commands again.)

You can now close the second window!

Run
Code:
adb reboot
, your Kindle should reboot though the screen will be blinking repeatedly (flashing between the lockscreen and the boot animation) don't worry about that as it will be fixed in a sec.

Step 5 - Cleaning Up

Run
Code:
adb shell
If all was successful you should see the prompt change to root@android:/

If it did, continue otherwise go back to step 4.

Run these

Code:
/data/local/tmp/busybox mount -o remount,rw /system
/data/local/tmp/busybox mv /data/local/tmp/su /system/xbin/su
/data/local/tmp/busybox mv /data/local/tmp/ric /system/bin/ric
chmod 755 /system/bin/ric
/data/local/tmp/busybox mv /data/local/tmp/su /system/xbin/su
/data/local/tmp/busybox mv /data/local/tmp/Superuser.apk /system/app/Superuser.apk 
/data/local/tmp/busybox cp /data/local/tmp/busybox /system/xbin/busybox 
chown 0.0 /system/xbin/su && chmod 06755 /system/xbin/su 
chmod 655 /system/app/Superuser.apk 
chmod 755 /system/xbin/busybox 
rm /data/local.prop
reboot
Your Kindle will restart and SuperSU will be available under Apps, your now free to do as you please, though you could follow with Step 3 on this thread to get Google Apps etc working.

Update: a short guide to installing the Play store can be found here.
Last edited by jburtn; 26th December 2012 at 12:53 AM. Reason: Add a note on version number & some useful info to prepare the device/install play store afterwards
The Following 2 Users Say Thank You to jburtn For This Useful Post: [ View ]
29th December 2012, 01:43 AM   |  #2  
Junior Member
Salt Lake City
Thanks Meter: 2
 
11 posts
Join Date:Joined: Jul 2010
More
This worked almost perfect for me but I couldn't get it to run adb commands from the stuff folder so I dumped its contents (minus the adb stuff) into the platform-tools in the android SDK and from then on everything went great. Thanks so much.
The Following User Says Thank You to zoey For This Useful Post: [ View ]
31st December 2012, 10:24 AM   |  #3  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Jun 2010
Angry didthis work for 10.2.4 users out there
does this work for 10.2.4
Last edited by gorganzolia; 31st December 2012 at 10:30 AM.
31st December 2012, 11:08 AM   |  #4  
Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Dec 2012
Red face worked!
Great work, congratulations and thanks! I'd like to make some comments tho regarding some typos and suggestions.
1.- I'd suggest to install the android SDK as, in fact, adb commands didn't work from the stuff folder. Add a line to .bash_profile with the export PATH command to make permanent access to the adb shell.
2.- Push files from the Root_with_Restore_by_Bin4ry_v18 folder, not the .7z file.
3.- The command is, e.g., adb push busybox /data/local/tmp/ instead of adb push busybox /data/local/tmp/.
4.- In Step 5 the command /data/local/tmp/busybox mv /data/local/tmp/su /system/xbin/su is twice so you'll get an error the second time you execute it.
Also congratulations for instructions on how to install PlayStore - here pay attention to the names playstore.apk and servicesframework.apk which in fact are plstore3.10.10.apk and GoogleServicesFramework.apk respectively -
Once again thanks for your work.
4th January 2013, 05:43 AM   |  #5  
Junior Member
Salt Lake City
Thanks Meter: 2
 
11 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by gorganzolia

does this work for 10.2.4

Yes this worked for 10.2.4
27th January 2013, 09:10 AM   |  #6  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Jan 2013
10.2.6
Does this work with 10.2.6?
28th January 2013, 09:42 PM   |  #7  
Junior Member
Salt Lake City
Thanks Meter: 2
 
11 posts
Join Date:Joined: Jul 2010
More
it worked
Tried it this morning on 10.2.6 and it worked woohoo now how do you stop it from automatically updating

Found out how to stop those automatic updates here http://forum.xda-developers.com/show....php?t=2086450
Last edited by zoey; 28th January 2013 at 10:57 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes