Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,739,915 Members 41,916 Now Online
XDA Developers Android and Mobile Development Forum

[US/WW/JP/TW/DE/TB] One-Click Universal root for stock firmware - V4

Tip us?
 
rebound821
Old
(Last edited by rebound821; 17th February 2012 at 08:25 AM.) Reason: Mirror added
#1  
Senior Member - OP
Thanks Meter 178
Posts: 126
Join Date: Dec 2008
Location: Rome

 
DONATE TO ME
Angry [US/WW/JP/TW/DE/TB] One-Click Universal root for stock firmware - V4

Here I am again...
This time I have written a shell script (linux only) and made a live-cd (for all windows/linux users) to automatically root the stock firmware on the TF101. Every stock firmware.

Today in Europe Asus rolled out the 3.2 upgrade. If you are on stock and you have alredy upgraded then download attached tar file and do as follows:

NOTE: Unfortunately, this script won't work with the latest revision of TF101 (3G version, B80 and some B70)

NOTE2: As someone pointed out (thank you Pieter) you need to be root on your linux box in order to make it work.
Code:
Select Code
tar -xvf universal.tar
cd universal
./universal.sh
In Ubuntu the last command would be:
Code:
Select Code
sudo ./universal.sh
Follow the instructions and you're done.
If you have a stock US/DE/TW/JP/TB firmware you can do the same.
If you are running an older version of Honeycomb the process is the same.
When ASUS will pull out another upgrade... same commands as above.
So this probably is the closest thing to one-click-root for the Transformer.

This won't install custom rom/CWM/strange other things (V2 version added the support for CWM); it's only root.
I've tested this morning after the 3.2 upgrade and it worked like a charm.

However this is in testing stage so, as always, if you brick/ruin/burn/crash something don't blame on me.

This package includes the Bootunpack tool, courtesy of Rayman84


LIVE CD INSTRUCTIONS

It's based on slitaz (http://www.slitaz.org/).
Burn the image into a cd or if you want it on a thumb usb drive follow this (http://doc.slitaz.org/en:guides:liveusb).

Put the cd/usb in your pc and reboot.
Follow the indication on screen (for setting locale and keymap).
When the desktop shows up, double click on "Universal Root for ASUS TF101".
Again follow the indication and you'll be ok.

For a guide on how to boot from cd/usb try this: http://www.passwordunlocker.com/know...-settings.html
or search with google.

The option to install a stock boot/recovery (added on V3) is working even if not fully tested.
The program has correctly rebuilt a stock recovery on my WW version.
From version V4 root checker correctly says that the rom is not rooted after you do an unroot.

If you like the work i did take a look at that funny button under my name with the "donate to me" caption
Seriously, I appreciate even only a "Thanks".



FAQ

[Q] I'm running on Windows, how can I burn the live-cd?
[A] Try with cdburnerxp (it's the easiest way).
You can download one installer frome here:
http://cdburnerxp.se/en/download
or the portable package if you don't want to install other software:
http://download.cdburnerxp.se/portab...4.3.8.2568.zip

Start the program (for the portable version the file is cdbxpp.exe) and click on "Burn iso image". Then select the .iso file you have downloaded and click "burn disk". All Done.

[Q] How can I reboot in APX/recovery mode?
[A] Do as follows:
VOL UP + POWER BUTTON for ~5sec = boot in APX mode. The screen will stay black as if it is turned off. This mode is used only when you use nvflash to flash boot/recovery/data partition (this is the first step in my script).
VOL DOWN + POWER BUTTON ~5sec = will appear a screen where it says to press vol down again to wipe all data (obviously you don't want to do it now), or press up to enter RCK (recovery mode). If you installed CWM you will see the main menu navigable with vol up / vol down / power button.
If you have the stock recovery you will see a green android with a esclamation mark on a yellow triangle.

[Q] Help! I can't reboot in recovery mode!
[A] I think the main problem here is that it is a bit tricky to get into CWM recovery, once you see the small text come up don't try to read anything, just hit volume up.
Hold volume down plus power until the text in upper left shows,if you let go too early it just boots up and you never see the text. If you wait too long you don't get the option to boot into recovery. Hope that helps..
Thx to ckuke4 for this answer http://forum.xda-developers.com/show...2&postcount=60

[Q] The live-cd gave me this error: "connection failed NvError 0x8" what is it?
[A] This means that either you are not in APX mode (read above), or that you have one of the latest revision of the tf101 (B7O) which have an unknown (for now) sbk.
For what i know, there's no knew method for rooting your device.
Maybe someone will find a way, but for now you have to be patient.

[Q] I'm running your scripts from my linux box, but it keep me saying "Permission Denied". Why?
[A] You need the root privileges on your local machine.
If you are running Ubuntu:
Code:
Select Code
sudo ./universal.sh
(it will asks for your password)
If you are running another linux distro:
Code:
Select Code
su
(it will asks for your password)
./universal.sh
[Q] I have rooted my tablet with this method, but I can't find the superuser app and Titanium Backup says that I am not rooted.
[A] The root script will asks you to reboot your tablet, make sure that usb debugging is turned on and then press any key.
You have to wait until you see a little bee on the bottom right of your tablet's screen, near the clock. Then press any key.

[Q] I've installed CWM but every time i try to do a backup, it says it can't find sdcard. But my microsd card work fine with root explorer!
[A] Don't get me wrong but, are you sure?
In root explorer you see a sdcard folder but it's not your microsd, it's the internal memory (it's weird, i know). In root explorer the microsd card is mounted under the "/removable/microsd" folder. You should also see a little sd card icon in the bottom right, near the clock.
Also you need to make sure the card is formatted correctly. Try reformat it with this: https://www.sdcard.org/consumers/formatter_3/
Thanks to skeeterpro for the link (http://forum.xda-developers.com/show...72&postcount=6)

[Q] The live cd stops at the command prompt, I can't see the desktop.
[A]The live cd doesn't include every driver for every video card, mouse, keyboard, etc.. (keep in mind that the original slitaz livecd is only 30MB).
You can do all the process in the text console, it's not much more difficult.
If it asks for a login insert "tux" (without quotes).
At the command line enter the following:
Code:
Select Code
cd
cd universal
./universal.sh
Then the magic will start. The unroot script is called ./unroot.sh

CHANGELOG:
V4:
- Corrected some text
- Added a link on the Desktop to this thread
- Added stock ramdisk for all SKU (though JP, CN and DE are not the latest versions) (thanks to kovla for the latest TB recovery)
- Added a script on the Desktop to increase the font size on the fly for those who are using a very high dpi monitor/tv.
- Changed compression algoritm. Now the iso is ~10MB smaller.
- Maybe I have found the way to make everyone read the faq...

V3:
- [BETA] added a second script to come back to stock.

V2:
- added the option to install CWM (thanks Roach!)
- more error check

V1:
First version


=====> DOWNLOAD LIVE-CD V4 - (Mirror)<=====


DOWNLOAD LIVE-CD V3 (previous version)

DOWNLOAD LIVE-CD V2

As always, keep your eyes open and
Have Fun!
Attached Files
File Type: tar universal-V3.tar - [Click for QR Code] (5.52 MB, 6896 views)
The Following 93 Users Say Thank You to rebound821 For This Useful Post: [ Click to Expand ]
 
ondoy1943
Old
#2  
Senior Member
Thanks Meter 37
Posts: 274
Join Date: Jun 2011
Hey, how about an equivalent windows script for those who prefer msft's os. Ok?
 
gee one
Old
#3  
gee one's Avatar
Senior Member
Thanks Meter 561
Posts: 1,551
Join Date: Jul 2010
Location: linux command line
awesome -one root to rule them all!
HTC Dream
HTC Vision
ASUS Transformer

If you found this post helpful, please consider a donation to charity:
World Vision
International Red Cross
Wikipedia
International Justice Mission
or pick your own
 
rebound821
Old
#4  
Senior Member - OP
Thanks Meter 178
Posts: 126
Join Date: Dec 2008
Location: Rome

 
DONATE TO ME
Quote:
Originally Posted by ondoy1943 View Post
Hey, how about an equivalent windows script for those who prefer msft's os. Ok?
In linux there's no need for drivers to work with tf101.
Windows seems to be problematic with driver (for someone seems to be way too difficult install the right ones).
As i stated above, adding this to a live linux cd will be the final one-click-root (put a live cd/usb-memory on your computer, reboot, follow the easy instructions and you're rooted).
Sincerely I don't know how to modify a livecd to add these scripts and programs.
If anyone wants to try, he is welcome.

Anyway I don't plan to do a windows port of this.
 
aalirezaa
Old
#5  
aalirezaa's Avatar
Senior Member
Thanks Meter 20
Posts: 248
Join Date: Jul 2008
Location: Shenzhen
Disappointed! No windows support!
 
cozzykim
Old
#6  
cozzykim's Avatar
Senior Member
Thanks Meter 6
Posts: 288
Join Date: Jan 2006
Location: Manchester
Will probably be trying this method from my PCLOS partition, if I can hold off the OTA update which has just begun pestering me.

Got to find out whether the modded adhoc wpa_supplicant works with 3.2 first, thanks for the effort HF
Current device: HD2
Ex: XDA Orbit2, XDA Ignito, Orbit, Mini-S
Some can see dead people, with me it's thyristors
 
belrik
Old
#7  
Senior Member
Thanks Meter 11
Posts: 117
Join Date: Nov 2010
Excellent, glad to avoid having to dig out my old Windows box to root the TF Would advise people to drop it, new Mint/Ubuntu is much nicer visually than Win7 and my startup times are fantastic, not to mention the slick media support.

Does you script give also install CWM?

Will give this a go later and see how it works.
 
rebound821
Old
#8  
Senior Member - OP
Thanks Meter 178
Posts: 126
Join Date: Dec 2008
Location: Rome

 
DONATE TO ME
Quote:
Originally Posted by belrik View Post
Excellent, glad to avoid having to dig out my old Windows box to root the TF Would advise people to drop it, new Mint/Ubuntu is much nicer visually than Win7 and my startup times are fantastic, not to mention the slick media support.

Does you script give also install CWM?

Will give this a go later and see how it works.
I was thinking on it, but perhaps it's better no.
Installing cwm means no more ota, since the update relies on the stock recovery.
This script was meant to leave all as stock as possible.
The Following 2 Users Say Thank You to rebound821 For This Useful Post: [ Click to Expand ]
 
rebound821
Old
#9  
Senior Member - OP
Thanks Meter 178
Posts: 126
Join Date: Dec 2008
Location: Rome

 
DONATE TO ME
For all the windows folks:

I have added to the first post a live-cd with all the necessary tools.
Just run it and you'll be fine. (anyway, you are always in time to switch to linux)
The Following 2 Users Say Thank You to rebound821 For This Useful Post: [ Click to Expand ]
 
damigor
Old
#10  
Member
Thanks Meter 1
Posts: 45
Join Date: Aug 2010
Location: Brescia
Hallo and thanks!!!

what about mac's Users?

Tags
one-click, root, stock, universal
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes