PSFreedom for Magic - G1 Android Development

Quoted from Breach
PSFreedom on G1. Simple step by step.
Before you proceed. This is tested and working on CM 6.0 Final, as it has been compiled for that kernel from that source. It may work on other versions, but is not supported.
Get PSFreedom_G1_bdvd_k4roshi_signed.zip (available at http://psfreedom.com/wiki)
Place PSFreedom_G1_bdvd_k4roshi_signed.zip on your SD card.
Shut off the G1 and Start the G1 into Recovery mode (holding Home & Power)
Flash PSFreedom_G1_bdvd_k4roshi_signed.zip using "Flash zip from SDCard"
Reboot once completed.
Once the phone has booted, open a terminal emulator..
Type..
su
cd /system/lib/modules
insmod psfreedom.ko
Connect your G1 to the PS3 via USB.
Turn off the power switch in the back of your PS3 and turn it back on.
Start your PS3 using the power button quickly followed by pressing the eject button.
Note: You will not see anything displayed on your phone. To verify that it worked, go to the games menu and check for "Install Package Files".
Download a Backup Manager of choice.
Put the manager.pkg (the Backup Manager install file) on any USB mass storage device and plug it into your USB port on the PS3.
Install the Backup Manager on the PS3 and you're good to go.
If your PS3 turns on, but you get no video, you may need to update to 3.41 (Known versions that draw blank screen 2.76 & 3.15, probably all versions older then 3.41 which PSFreedom was tested on)
I hope you find this useful.

Waiting for a 32B/G1 CM6 Kernel one too

It's working and being uploaded to the wiki right now...

0Vw3 said:
It's working and being uploaded to the wiki right now...
Click to expand...
Click to collapse
Which wiki?
Sounds great though

http://psfreedom.com/wiki

DashKiller said:
http://psfreedom.com/wiki
Click to expand...
Click to collapse
Thanks
I guess http://bit.ly/9YyrJ4 will be up soon, huh?

New link is up on the wiki. Downloading now

Can someone post some instructions?

Can someone tell me how to compile it? The link on the wiki now works, I just don't know how to compile it...

Install the zip file from the wiki through recovery
Once the phone has booted, open a terminal emulator and then type su.
Go to your memory card (usually /sdcard) and run insmod psfreedom.ko
Connect your Nexus One to the PS3 and power the PS3 off completely, following the guide for PSJB - power on, push power and then quickly push eject. You will not see anything displayed on your phone.
To verify that it worked, go to the games menu and check for "Install Package Files".

The file you are trying to access is temporarily unavailable

hanzohittori said:
run insmod psfreedom.ko
Click to expand...
Click to collapse
Do we get this file after we have flashed the .zip? And have you tried this yourself on a G1(32b)?

Just installed kernel. insmod psfreedom.ko returns "insmod: init_module 'psfreedom.ko' failed (Exec format error)

cd to /system/lib/modules and run it
Works flawlessly - thx

0Vw3 said:
It's working and being uploaded to the wiki right now...
Click to expand...
Click to collapse
the link for the 32a is broken, can any1 fix it?

So how can I end the module now to use ADB again?

The wiki link for the file has gone. Can some one reupload please

broken wifi
psfreedom kernel updat seems to broke my wifi - can anyone confirm it?

been taken down

So I need to do a nandroid restore in order to disable the module?
My wifi is broken aswell.

Related

OBSOLETE.

I've combined toastcfh's and TheBiles how-to's in this tutorial, so if you've already rooted using TheBiles previous method, skip to step 9. I'll make this a bit more presentable when I get home from work today. I just thought this would be helpful to those who aren't comfortable with using adb.
I'm not responsible for damages to your phone, yada yada yada, you know the drill.
IF YOU HAVE A PROBLEM THAT HASN'T BEEN ADDRESSES IN THE SECOND POST, LET ME KNOW. OTHERWISE, SEE SECOND POST FOR FAQ'S. Follow these directions exactly as they are written and you won't run into any snags. It'll save us both a lot of time.​This tutorial entails making the root process as fast and easy as possible, that means we won't be backing up any of your stuff (you can if you want, of course) nor will we be doing a nandroid backup, and even better, we won't be using adb to push files. With that being said, let's get started.​
Step 1. Connect your phone to your pc via usb, then pull down the notification bar at the top of your screen and open the tab that says Charge Only and select Disk Drive then click done.
Step 2. Download this file http://link.geekfor.me/rootedromzip and put it on the root of your sd card by going to the start menu of your computer and opening up My Computer, then drop the file into the icon that reads Removable Disk. This is the root of your sd card. Remember that if you don't already know.
Step 3. Right click on the Removable Disk icon and select Eject. We're gonna flash the debug image now, say goodbye to any pic's, music, apps, texts, etc that you may have.
Step 4. Power down your phone.
Step 5. Hold down the volume down and power key simultaneously and keep holding it down until you see 3 android dudes on skateboards.
Step 6. It's going to give you some options, whether or not to install the PC36IMG.zip, select yes (volume up is yes) for any prompt you get.
Step 7. Once you've rebooted you will officially have root access. Congrats, but that's not all. There's a few more steps to gain -full- root access.
Step 8. Navigate to the root of your sd card and rename the PC36IMG.zip file whatever you want, doesn't matter. Just don't name it update. To rename the .zip file, right click on PC36IMG.zip and select rename.
Step 9. Download these files:
PC36IMG.zip -http://sdx-downloads.com/sdx/evo/troot/eng-PC36IMG.zip
mtd-eng.zip - http://forum.xda-developers.com/attachment.php?attachmentid=342668&d=1276481802
flash_image.zip - http://forum.xda-developers.com/attachment.php?attachmentid=342667&d=1276481776
recovery.img - http://files.androidspin.com/downloads.php?dir=amon_ra/RECOVERY/&file=recovery-RA-evo-v1.7.0.1.img
PLEASE NOTE SOME OF THE MIRRORS YOU ARE DOWNLOADING THESE FILES FROM ARE NAMED SOMETHING DIFFERENT, SO YOU WILL HAVE TO RENAME THEM ACCORDINGLY. The only one that I know of was the PC36IMG.zip file, it was named something else when I downloaded it. So name it accordingly. Right click, select Rename, then type in "PC36IMG" only, your pc adds the .zip.
Step 10. Extract the flash_image.zip and mtd-eng.zip files, do so by right clicking on them, then select Extract To flash_image\ and Extract To mtd-eng\ Open the newly extracted folders and take the flash_image file AND the mtd-eng file inside and drop them into the root of your sd card. (we remember how to do that, don't we.)
Step 11. Open up the Android Market and download the terminal emulator app by Jack Palevick, it's free.
Step 12. Make sure your sd card is no longer mounted to the computer, do so by pulling down the notification bar and switching Disk Drive to Charge Only.
Step 13. Open the terminal emulator app and type in these commands exactly as they are written. If you get an error, try again.
Note: After each line is completed, hit enter. A # sign means you've run the commands successfully.
Code:
[B]su
cat /sdcard/flash_image > /data/flash_image
chmod 755 /data/flash_image
/data/flash_image misc /sdcard/mtd-eng.img[/B]
Step 14. Remount your phone, and drop the PC36IMG.zip file onto the root of your sd card. MAKE SURE YOU USE THE CORRECT PC36IMG.ZIP FILE THAT YOU DOWNLOADED FROM STEP 9. Power down your phone.
Step 15.
Hold volume down and power to boot into hboot.
- It should now find and verify the PC36IMG.zip on the root of your sdcard. It'll show a blue status bar on the top right of the screen.
- After a minute or so it will ask u if u wanna flash Select YES.
- After it flashes the PC36IMG.zip it will ask if you wanna reboot. Select YES.
Click to expand...
Click to collapse
Step 16. Once your phone has rebooted, put the recovery.img file you downloaded earlier on the root of your sdcard.
Note: If the recovery image is named something other than "recovery.img" then rename it by right clicking and typing in "recovery" as the name.
Step 17. Still know how to use terminal emulator? Open it up and type in these commands. Make sure your USB connection is in Charge Only mode first.
Code:
[B]su
cat /sdcard/flash_image > /data/flash_image
chmod 755 /data/flash_image
/data/flash_image recovery /sdcard/recovery.img[/B]
*INTERMISSION*
Take uh break, eat uh cookie.
If you've made it this far and you've had no errors, then you now have full root access as well as a legit recovery.
Time to flash a ROM and the latest radio.
Step 18. Power down your phone and power it back on by holding down the Volume Up and Power key.
Step 19. Select BOOTLOADER then select Recovery.
Step 20. Select Wipe: Select wipe data factory reset then select wipe dalvik cache.
Step 21. Downlaod any ROM you'd like, I'm running BuglessPete's Bugless Beast ROM, here's the link if you want to run this one as well http://bit.ly/az4cWq
Step 22. Download the latest radio here http://link.geekfor.me/radio139000531
Step 23. In recovery mode, select the USB-MS toggle option, this mounts your sd card to your pc.
Step 24. Move your newly downloaded ROM and radio to the root of your sd card by dropping them onto the Removable Disk icon on your computer.
Step 25. Press the power key to disable USB-MS toggle.
Step 26. Select Flash Zip From Sdcard.
Step 27. Select the ROM you downloaded and you will be prompted whether or not you want to flash the file, follow through with the power key.
Step 28. Select flash zip from sdcard, then select the latest radio .zip file that you just downloaded and flash that mf'er.
Step 29. Try not to freak out when you see a static image of a phone with green arrows circling around it. Wait...
Step 30. Select Reboot System Now.
And that's it, you're done!
ALL CREDIT GOES TO THESE GUYS! toastcfh, keishou, maejrep, Paul, Amon_Ra, Koush, TheBiles, and anybody else I forgot.
Grammatical errors? I just worked a 12 hour shift and got right on this, I have to be in bed in about an hour, so **** you.
Problems flashing a ROM after you've completed the process?
This is more than likely on account of the Dev who made the ROM not signing it, tell them if they sign it that you'll love them forever. Or switch to Koush's recovery. This is pretty much guaranteed to work, as Koush's recovery has a toggle signature verification feature. http://forum.xda-developers.com/showthread.php?t=702214 Or, if you've the know-how, sign it yourself. http://forum.xda-developers.com/showthread.php?t=473580
ATTENTION: To the few getting the not enough space error when flashing the recovery image, Amon Ra has addressed the issue here, to no avail according to those who have tried his alternative recovery. At least we now know what the cause of the error is. Thanks again, Amon Ra.
Amon_RA said:
You have a bad block in your recovery (like a bad sector on your harddisk), these bad blocks are skipped when flashing. A bad block means you have less usable space on your recovery partition, hence the not enough space left to flash this recovery...
I made this recovery specially for you, it's 1MB less than the normal recovery (left out the evo charging stuff), all functions of the normal recovery should still work. Could you please give it a try and let me know?
Code:
fastboot flash recovery tiny-recovery.img
OR
flash_image recovery /sdcard/tiny-recovery.img
Click to expand...
Click to collapse
Bad block? Not enough space on sd error when trying to flash the recovery image? Try these.
Amon_RA said:
Could you please try to flash recovery-RA-evo-v1.7.0.2.img and use fastboot to flash :
Code:
fastboot erase recovery
fastboot flash recovery recovery-RA-evo-v1.7.0.2.img
I'll most likely not make my recovery compatible with Koush's rommanger because I would need to almost rewrite it fully.
Click to expand...
Click to collapse
tlisak25 said:
If people are still having problems tell them to unroot and start from scratch without doing system update from Sprint thanks for all or your help
Click to expand...
Click to collapse
In on this.
Will try this out right now and edit my post later.
[Edit]
Oh, so the only difference is instead of using ADB you're using the "terminal emulator" app.
It's a good guide and am sure it works. But if you know how to use ADB, I'd actually prefer ADB. It's much easier to type on your keyboard.
But GREAT guide none-the-less. For people who don't know how to use ADB.
It's not so much that people can't fiure out how to use ADB as it is they can't figure out how to install and run it. Even when I first got into Android I had no clue it was used through a cmd prompt for the first 2 weeks.
arozer said:
In on this.
Will try this out right now and edit my post later.
[Edit]
Oh, so the only difference is instead of using ADB you're using the "terminal emulator" app.
It's a good guide and am sure it works. But if you know how to use ADB, I'd actually prefer ADB. It's much easier to type on your keyboard.
But GREAT guide none-the-less. For people who don't know how to use ADB.
Click to expand...
Click to collapse
Exactly. Also, it's for those who rooted using TheBiles Idiot Proof method and were confused as to whether or not they could follow through with toastcfh's part 2nd part on gaining full root access.
Re: (How-To) FULL ROOT WITHOUT ADB.
ADB is just easier, in my opinion. I like bring able to easily copy and paste and type with a real keyboard. Plus, it's just good to know how to use. Not that I don't use the terminal on the phone, though! BTEP, for the win.
-------------
Sent from my HTC EVO 4G using Tapatalk Pro.
TheBiles said:
ADB is just easier, in my opinion. I like bring able to easily copy and paste and type with a real keyboard. Plus, it's just good to know how to use. Not that I don't use the terminal on the phone, though! BTEP, for the win.
-------------
Sent from my HTC EVO 4G using Tapatalk Pro.
Click to expand...
Click to collapse
Totally agreed. But this method is meant to make rooting as fast and easy as possible (for those who don't know how to neither set up, nor use adb, as setting it up as well as familiarizing yourself with it takes time) Although learning adb is a definite must.
i'm a "noob" and ive had my evo since the release and have been tring to acomplish full root without any luck using adb bs this is the easiest most well explaid way to do so and i am more greatful than words could express. if i can find a way to donate with out a credit card i will gladly help ur cause keep up the great work
bdd123456789 said:
i'm a "noob" and ive had my evo since the release and have been tring to acomplish full root without any luck using adb bs this is the easiest most well explaid way to do so and i am more greatful than words could express. if i can find a way to donate with out a credit card i will gladly help ur cause keep up the great work
Click to expand...
Click to collapse
I'm just glad it helped. Lol If there's anyone you should donate to, it's toastcfh. Without him, we wouldn't have root.
The download link for the PC36IMG.zip in step #9 is broken...I am assuming that the PC36IMG.zip in step 9 is different than the PC36IMG.zip in step 2. If its no different, then I will just proceed downloading the rest of the files and go from there, but If so can I get a mirror link?
nol3n said:
The download link for the PC36IMG.zip in step #9 is broken...I am assuming that the PC36IMG.zip in step 9 is different than the PC36IMG.zip in step 2. If its no different, then I will just proceed downloading the rest of the files and go from there, but If so can I get a mirror link?
Click to expand...
Click to collapse
Just a second, I'll get you a link.
the recovery.img link in step #9 is broken as well...
nol3n said:
The download link for the PC36IMG.zip in step #9 is broken...I am assuming that the PC36IMG.zip in step 9 is different than the PC36IMG.zip in step 2. If its no different, then I will just proceed downloading the rest of the files and go from there, but If so can I get a mirror link?
Click to expand...
Click to collapse
http://www.joeyconway.com/sdx/evo/troot/eng-PC36IMG.zip
Got it from toastcfh's thread. Should work. I'll update the link now.
Go damn it. -.- I'll update them all now. Thanks for the heads up.
thx for the hard work.
Lol Not really doing much but stealing links. They're all updated now.
evo root
I did the idiot guide but cant get ADB working on my windows 7. Should I go ahead and try this? Thx!
crpercodani said:
It's not so much that people can't fiure out how to use ADB as it is they can't figure out how to install and run it. Even when I first got into Android I had no clue it was used through a cmd prompt for the first 2 weeks.
Click to expand...
Click to collapse
Exactly! It took me 2 solid days of searching for the required driver for my laptop. I finally got it to work last night. None of the instructions on xda worked. The USB remover listed here didn't work, the driver in the SDK kit didn't work, nothing worked. I finally found another download for the USB remover and another link to a 32-bit driver that finally worked.
kevinniven said:
I did the idiot guide but cant get ADB working on my windows 7. Should I go ahead and try this? Thx!
Click to expand...
Click to collapse
It's pretty much the fastest/easiest (if you don't have adb set up) way to get full root access on your Evo, so...yes, that'd be a good idea. Lol
S
kevinniven said:
I did the idiot guide but cant get ADB working on my windows 7. Should I go ahead and try this? Thx!
Click to expand...
Click to collapse
Oh yeah, start from step 9 since you're coming from the first part of TheBiles Idiot Proof guide.

[ROOT][GUIDE] HBoot 2.02/2.10 SOFF - Goodbye Stranger - Upd. 02.25.11

I am sad to say the time has come to retire this post....Now before you get all panicky and ****, just sit your **** down, take your adderall and relax, damn antsy ass people. Anywho, with people our there like xHausx and others that have automated all of this there really isnt a need for me to keep this updated. I will keep the post here for archival purposes but, I will not be updating it, any further. I may pop into the thread here and there but probably not. I would like to thank all those that helped and supported me during this threads run. With out you we would still be stuck.
In the mean time if your looking to root your phone, check out xHausx's thread
here: http://forum.xda-developers.com/showthread.php?t=838448
And no I still dont recommend Clockwork or Unrevoked.
Till next time...Super Tramp - Goodbye Stranger
Archive of the guide as of 2/14/11
READ THIS GUIDE CAREFULLY SEE POST TWO FOR FAQ OR SEARCH THE THREAD.
Presenting the ONE AND ONLY surefire root method that backs up your RSA KEYS prior to rooting !!!!
Also I am aware that unrevoked has out their new tool. However while I was sitting in IRC, I saw many that it wasnt working for. So Until there is a surefire, easy method, I will keep this thread updated.
Credit goes to:
amoamare (Initial method)
toast (fake recovery and script)
unrevoked (thanks for your app)
amon_ra (fixed custom recovery)
chris1683 (thanks for the rom) (sprintlovers)
ryanza (z4root)
illogos, epicroot, xHausx, TrevE, Chubbzlou (Testing)
BooDaddy (RSA Backup Info)
and who ever else I missed
Help me finance my Vette!
zikronix
Disclaimer and well a little fun:
This has been tested on many phones and it worked fine...but if it breaks your **** dont come cry to me about it...you knew the risks! No one here is responsible if you break, brick, set fire, punch, smash, stab, destroy, your self, computer or your phone. The only person responsible is you! Just because it worked for me and others does not mean it will for you. Anytime you flash something its a risk.
Ladies and gentlemen... I've traveled over half our forum to be here tonight. I couldn't get away sooner because I had a POST coming in and I had to see about it. That phone is now rooted at and running well. I have two others comming in and this method has rooted many on the board. So, ladies and gentlemen... if I say my guide works you will agree. You have a great chance here, but bear in mind, you can lose it all if you're not careful.
Out of all methods that beg for a chance to root your phone, maybe one in twenty will work; the rest will be trolls-that's posters trying to get between you and the guide-to get some of the root action that ought by rights come to you. Even if you find one that has a simpler guide, and means to root, he'll maybe know nothing about helping. This is... the way that this works. This method is reliable like no other in this field and that's because its been tested and tested time and time again. I assure you, whatever the others promise to do, when it comes to the showdown, they won't be there...
Downloads
================================================== ====
STOP HERE READ THIS
This Method soley uses Amon_RA Recoveries....Period. A poor soul that lost his RSA keys (broken 4g forever) by recent clock work shenanaigans here
VX - Updated Amon Ra Recovery. Download Here: hboot_2.xx_soff-VX.zip
MD5: 27eb4a36ba01078193975fc93723dd60 <---VERIFY YOUR MD5, IF ITS NOT THIS REDOWNLOAD
Lets Get Rooted!
======================================================
Prerequsites:
Extract only the main zip file to a folder of your choice. I recommend the root of C:\ into a folder of your choice or on the desktop. Make sure you have the drivers installed for your phone (recommended: SDK Drivers or unrevoked hboot drivers) and USB debugging is on. This was setup for people running windows, if you have access to it do it on a 32bit version. I can't stress this enough you must use the adb.exe included with the package This is command line based do NOT double click the exe. Assume nothing, and cut and paste or type the commands EXACTLY as listed, they are case sensitive and each line is a seperate command. Oh and Read the FAQ and Warnings for f-sakes
1) Connect your phone to the computer (Rear USB Port Perferred) make sure the computer detects the phone (DO NOT MOUNT USB) If it doesnt install the drivers. Now master Reset your Phone (Menu>settings>Sd & Phone Storage>Factory Data Reset). Your phone will reboot. While your phone is rebooting it ctrl+alt+delete on your computer and open up task manager and click the processes tab look for anything that says adb.exe click it and hit end process.
2) Your phone should be booted and in the rom. You can skip the setup. On your phone enable install applications from unknown sources.(menu>settings>applications>unknown sources) and turn on usb debugging.
3) Open a command prompt (do NOT click adb.exe) and change to where ever you extracted the files to.
4)Type the following (this must be excuted from the folder you extracted to)
adb push root/unrevoked-forever.zip /sdcard/
adb push root/mtd-eng.img /sdcard/
adb push pc36img/PC36IMG-ENG.zip /sdcard/PC36IMG.zip
adb push pc36img/PC36IMG-MR.zip /sdcard/PC36IMG-MR.zip
adb push root/flash_image /data/local/
Click to expand...
Click to collapse
5) Now were gonna install z4root. When its done look at your phone z4root should be running. Select temporary root... It will go thru the process will eventually come to a white screen *Wait* after a sec or so screen will come up saying temp root was a success. Ok so now type the following
adb -d install -r root/z4root.apk
adb shell am start -a android.intent.action.MAIN -n com.z4mod.z4root/com.z4mod.z4root.z4root
Click to expand...
Click to collapse
6) Your command should still be open and you should be in the directory where you extracted the files. Once you have typed "su" command below look at your phone and click allow for SuperUser...Ok so now type the following from the command prompt
adb shell
su
Click to expand...
Click to collapse
6A) REQUIRED RSA BACKUP This will back up your RSA keys just in case something goes wrong in that department. You should still be in your command window inside the shell with a #. (The following came from this thread)
mkdir -p /sdcard/nandroid/RSA-PR-BACKUP
cat /dev/mtd/mtd0 > /sdcard/nandroid/RSA-PR-BACKUP/wimax.img
This saves it in a file that can actually be restored. This next step is another type of backup just for good measure
busybox sed -n '/BEGIN CERTIFICATE/,$p' /dev/mtd/mtd0 > /sdcard/rsa_OEM.key
This will dump the RSA keys to a text file on your SD Card named rsa_OEM.key
Mine was about 4575 KB in size, but the size could vary. Go ahead and switch the phone's USB connection over to "Disk Drive" and then browse to your SD Card and verify that the file rsa_OEM.key is indeed on the card.
Proceed to Step 7
Click to expand...
Click to collapse
7) You Should still be at a "#". This means you have root if you see a "$" or some other error message. Reboot your phone, check your drivers, usb debugging and cable and start over. If you got a "#" You can Proceed. You should still be in the shell at a "#" If not start over...Otherwise
chmod 0755 /data/local/flash_image
./data/local/flash_image misc /sdcard/mtd-eng.img
sync
Click to expand...
Click to collapse
8) Now we are going to reboot your phone into the boot loader to flash the first PC36IMG.zip. You should still be in the shell So Type:
reboot bootloader
Click to expand...
Click to collapse
9) Once your phone is in the boot loader highlight bootloader, and press the power button. It will load the PC36IMG File...When it ask you to flash press VOL-UP. You will notice that it says bootloader bypassed and maybe some other errors. Dont worry this is normal. Once the flash of the file is done it will ask to reboot, Select NO by Pressing VOL-DOWN. Now some people have gotten some errors here and there during the flashing just continue as normal.
10) You should still be in the boot loader at this point. Scroll down to recovery and press the power button. It Should take you to a red triangle. If not and you get stuck at a white htc screen pull the battery and then repower the phone with power + vol down and select recovery. When you see the red triangle. Type the following (IF YOU GET STUCK HERE CHECK THE FAQ):
adb push recovery /
adb shell busybox --install /sbin
adb shell nohup /sbin/recovery &
Click to expand...
Click to collapse
With any luck you should be at a recovery (green screen with text)
11) Select enable USB-MS. This will mount your sdcard. Look in the root of your sdcard and you should have two files. One named PC36IMG.zip and one named PC36IMG-MR.zip. Rename the file named PC36IMG.zip to PC36IMG-ENG.zip and then rename PC36IMG-MR.zip to PC36IMG.zip when your done follow the instructions on your phone to disable usb (press power) then proceed to step 12
12) Now Select flash zip from the menu and choose unrevoked-forever.zip. Wait for it to complete. Select Reboot from the menu.
Now pay attention. It might kick you back into:
BOOT LOADER: See 12A
ROM: See 12B
WHITE HTC SCREEN: See 12C
12A) Ok so you got kicked to the boot loader. It should scan your card and find the PC36IMG.zip chose yes to flash this file and when it ask you to reboot....reboot by pressing vol-up....Proceed to step 13
12B) Ok so the phone booted into a rom. Power the phone off. Then repower the phone on pressing power and vol-down at the same time. It should take you into the bootloader and scan your card and find the PC36IMG.zip chose yes to flash this file and when it ask you to reboot....reboot by pressing vol-up....Proceed to step 13
12C) Ok so the phone is stuck at a white htc screen. Power the phone off by pulling the battery. Then repower the phone on pressing power and vol-down at the same time. It should take you into the bootloader and scan your card and find the PC36IMG.zip chose yes to flash this file and when it ask you to reboot....reboot by pressing vol-up....Proceed to step 13
13) Ok your phone is rooted now, and you should be inside the rom. The rom you just flashed is Sprint Lovers rom with the modified recovery. Download a rom of your choice copy it to the root of your sd card and flash it. But type the following first
adb shell mv /sdcard/PC36IMG.zip /sdcard/PC36IMG-MR.zip
adb reboot recovery
Click to expand...
Click to collapse
14) You Should be in the recovery menu now (green text screen). Do a backup by navigating to backup/restore press power to select then do a Nand backup in the next menu. Once thats done, select return, then reboot or flash a rom of your choice. If you flashed a different custom rom than the one thats included in the package cool. If not no big deal eitherway. Do a PRL/Profile update while in the rom after the phone is done rebooting. Your Done.
15) Read the FAQ for questions
==========================================
FIX BROKEN RECOVERY
This is really only needed if you rooted with one of the previos guides version 6 or lower or if you installed a different recovery like I told you not to. It installs amon_ra 2.2.1
1) Download File PC36IMG_Recovery.zip and Rename to PC36IMG.zip.
copy to the root of your SDCard and power off phone
2) Power your phone back on into the boot loader by holding power and vol-down until your presented with a white screen. It will read the pc36img.zip and as you if you want to flash. Say yes. Then it will ask if you want to reboot, VOL+UP for yes.
3) If your rom gets tossed in the process. Reboot your phone into bootloader select recovery, and reflash your rom....DONE
================================================
UNROOT GUIDE
NOTE: This will erase all data on the phone. (Will not erase data on the SDCard)
1) If your on Hboot 2.10 Download the PC36IMG.zip Here. If your on Hboot 2.02 Download the PC36IMG.zip here then Unrevoked s-on here rename the pc36img file to pc36img.zip copy that and the unrevoked s-on tool to the root of your sd
2) Power your off. Power the Phone back on into the boot loader by holding power and vol-down until your presented with a white screen.
3) It will scan for the pc36img.zip. Select no to flash. Select recovery from the menu. Once in recovery choose flash zip from the menu, and select unrevoked forever s-on.
4) When its done flashing select reboot from the menu.
5) From here either run the official ruu or boot back into the boot loader (see step 2). When it scans and ask you to flash the pc36img.zip select yes then yes to reboot.
Click to expand...
Click to collapse
FAQ
FAQ:
Your here cause something went wrong right? Ok thats fine. This list isnt extensive but its here to provide quick answers to some weird or common questions. New questions and problems are added to the bottom.
Q: Will this downgrade my hboot
A: No. I used to have an hboot downgrade but it was bricking peoples phones. However is you want to risk bricking your device, visit this thread here. I I advise against this. This bricked alot of phones which is why I pulled it.
Q: How do I install the Hboot Drivers
A: Check this here
Q: I get "error: more than one device and emulator"
A: kill the adb.exe tasks in task manager or reboot your computer
Q: Step #9 my phone does read the PC36IMg.zip
A: If you renamed the zip file make sure it doesn't say PC36IMG.zip in the name remember that xp and up on windows doesn't show the file ext by default so if you see PC36IMG.zip chances are its named PC36IMG.zip.zip
Q: Why cant I use Clockwork Recovery
A: At the moment its not coded for the new partitions. Just read the first few pages of this thread or check this here
Q: What Hardware does this work for
A: All currently known hardware 0001-0004
Q: What Hboot's does this work for
A: It was built for 2.02 and 2.10 however it will work for all version its just there are easier ways for those
Q: I think I messed up can I just start over.
A: Yes. Its recommended if you want to start over run the official ruu.
Q: This is very complicated
A: It is...thats why there is instructions
Q: Will this erase my data
A: Yes but not from the SDCARD
Q: Can I deleted the files off my SDCARD when done
A: Yes, except for RSA_OEM.KEY and WIMAX.IMG
Q: I get permission denied or device offline when trying to step 10
A: Check here or here or here this might work for you
Q: I used clockwork it seems to work fine.
A: It might but considering the partition information is not correct. You may have just over wrote your wimax keys and broke 4G. Have fun with that like this poor guy here
Q: This uses unrevoked in one of its steps? Explain?
A: There have been some concerns that this uses unrevoked-forever in one of its steps. As far as we know that Unrevoked 3 (not to be conufused with unrevoked-forever) is causing some radio issues with hardware in general and new hardware. Unrevoked-forever does not appear to bork the radio like unrevoked 3 does. This is apparent by the many success stories. However Unrevoked3 could very well possibly destroy your radio/wimax/brick if used.
Q: I get device not found
A: Install the drivers for your phone, (Unrevoked, ADB)
Q: Camera doesnt work after doing this
A: Flash a new rom thats current. Like SteelRom, Fresh, Stock Rooted. The issue here is the Hardware is different. NO CUSTOM KERNELS
A2: Reports say they changed the camera provider/hardware. And the drivers are different! Using a rom based off the latest release and kernel should fix it As Discussed here and here and here
Q: When I go to recovery. I get a red triangle.
A: See Step 10
Q: This doesnt work!
A: Yes it does if you follow the directions, Unless some other bull**** decided to popup!
Q: CM6.x doesnt work
A: See Question 7....Nothing I can do about that if the kernel doesnt support your camera/device.
Q: My phone boot loops now...You broke my ****!
A: I didnt break your ****. You broke your own ****! Its not broken so chill out (well it might be but probably not). What rom did you flash? Did you flash a custom kernel? Did your rom come with a custom kernel? I bet your using a custom kernel. Try a rom like Steel Rom, Sprint Lovers
Q: How do I back up my RSA Keys
A: Check here for the latest up to date information. Or run this command from the shell
cat /dev/mtd/mtd0 > /sdcard/wimax.img
Click to expand...
Click to collapse
Q: My 4g Doesnt work
A: Was it broken prior to the s-off, what steps did you take. Are you running AOSP ROM or Another kernel?, Did you try a different rom? What version is your phone? Do you have SwitchPro Widget installed? (uninstall it), Did you try to run unrevoked3 prior to this? After flashing the radios and stock kernel based rom did you do a data and prl update? Does the mac behind your battery match whats in about phone (4g has to be on to see mac) Also try the tree.xml fix posted
adb shell
ls /data/misc/wimax/
look for a file with your macaddress ending in .tree.xml. you want to move that to another location so it gets regenerated. (the following command basically renames it.)
mv /data/misc/wimax/(Your-mac-address).tree.xml /data/misc/wimax/(Your-mac-address).tree.xml.old
4. Start 4G may not connect
5. Do a prl/profile update
6. Power off the phone and power it back on. Try it
7. PRL/Profile. Try it
Click to expand...
Click to collapse
Q: 4G is still broke.
A: Check your RSA keys
adb shell
cat /dev/mtd/mtd0 | grep RSA
returned output show appear as this:
# cat /dev/mtd/mtd0 | busybox grep RSA
cat mtd0 | busybox grep RSA
RSA-REQUEST
RSA-REPLY
RSA-REJECT
RSA-ACK
RSA-1024
RSA-REQUEST
RSA-REPLY
RSA-REJECT
RSA-ACK
RSA-1024
RSA
ReRSA
RSA requests
RSA replies
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
#
It should look just like the above
the important lines are BEGIN RSA PRIVATE KEY and END RSA PRIVATE KEY.
If you have those two lines, your keys are still likely to be intact.
If those two lines are missing, your keys are likely missing.
/dev/mtd/mtd0 is where the wimax image is stored.
Click to expand...
Click to collapse
Q: OK I think My Keys are tossed. We made a backup right? So how do I restore it?
A: This post or post should do it for you
Q: My Phone says its not rooted.
A: If you have s-off your rooted. Simple as that. Try a different rom if you want. The second pc36img.zip file you flashed is Sprint Lovers and is a very nice rooted rom.
Q: When I try to get into Fastboot by pressing VOLUME UP and booting the phone, my phone instead buzzes three times and acts dead. What happened?
A: The S-OFF update also enables Qualcomm Diagnostics mode on your phone, which is entered by doing what you just did. You can exit this mode (and boot normally) by removing the battery and USB cable.
Q: Can you tell me what this does?
A: Read the guide? Basically your downgrading the phone, so you can flash unrevoked because htc "comically fixed" the phone. Then your re upgrading the phone back to shipping radios, system, pri, nv, kernel...all the while with keeping s-off
Q: How did you get to be so cool
A: If you have it, you don’t need it. If you need it, you don’t have it. If you have it, you need more of it. If you have more of it, you don’t need less of it. You need it to get it. And you certainly need it to get more of it. But if you already don’t have any of it to begin with, you can’t get any of it to get started. Which means you really have no idea how to get it in the first place, do you? You can share it, sure. You can even stockpile it if you like. But you can’t fake it. Wanting it, needing it, wishing for it. The point is, if you’ve never had any of it, ever, people just seem to know.
Q: Do you really own a vette?
A: Yes, and a backpack with jets!
Q: Whats with you and the dots ...
A: ...
Q: Your Kind of an Cocky Asshole
A: Yea...I Get that. Oh well. I cant fix stupid or ignorant.
What is the point of getting the new HBoot?
sorry, wrong question
abiezer said:
What is the point of getting the new HBoot?
Click to expand...
Click to collapse
there is no point in getting a new hboot....this tool is for those that have phones with the new hboot....that unrevoked wont work on.
this is not the new hboot
Oh I see so this is basically for people who couldn't root to be able to root. Got it. Thanks.
Dumb question, sorry trying to keep up with this while at work. Once I do this, then I still need to run Unrevoked, correct?
shepkc said:
Dumb question, sorry trying to keep up with this while at work. Once I do this, then I still need to run Unrevoked, correct?
Click to expand...
Click to collapse
its included in the script it tells you how to do it.
update failed, said main version is older...
its working for some but not others...i dont know why the main version is older thing...
i think we have ironed out the mainversion deal...
looking into it now.
Should be fixed now...so try it I guess.
v2
Looks like your V2 is working, I didn't run into the main version failure. Flashing as I type, I hope slyder got this to work.
Confirmed, V2 works
alright brotha your v2 of the batch file works like a charm. S-OFF confirmed on HBOOT 2.02. Thanks to everyone involved in making this happen.
Outstanding
Sent from my PC36100 using XDA App
On a brand new fresh 2.2 out of the box running HBOOT 2.02 I got "Main version is older". Are there any prerequisites i have to run to get this to work? I just reinstalled 2.2 and ran the script and got main version is older.
did you download version 2
do you have gtalk
I did download v2, and I do have gtalk.
b0r0b said:
I did download v2, and I do have gtalk.
Click to expand...
Click to collapse
you got PM....i want to know exactly whats happening.
Main version is older
I have also tried with V2 and get the "Main version is older".
Baseband
2.15.00.09.01
Software
3.30.651.2
PRL
60671

[USB Host] on the Desire HD

For FROYO SENSE ROMS only
Hi
I ported Sven Killig's (sonic74 ) usb host patch to the Desire HD.
My Kernel is based on Buzz OC/UV 1.22Ghz CFS+BFQ+SmartAss+TUN+EXT4+.31 ACE 1.3.6
and following patches:
http://forum.xda-developers.com/showthread.php?t=694427
http://forum.xda-developers.com/showthread.php?t=751535
and I am using Android Revolution HD 3.1. So all glory goes to this peaple and to Andrew de Quincey.
Using this Kernel will disable all usb client functions, so this kernel is not very usefull.
So I use following comands to boot this kernel for testing and playing:
Code:
adb reboot bootloader
fastboot boot boot.img
With this methode the phone will boot with the old kernel after a reboot.
After booting my kernel you can use insmod to load the different driver modules.
You will need at least usbcore.ko and ehci-hcd.ko.
I have tested usb keyboard and usb storage (2GB FAT32). Use Sven Killig instructions to use the different modules.
http://sven.killig.de/android/N1/2.2/usb_host/
Needed Hardware:
* A micro USB B male to USB A female adapter/cable
http://www.amazon.de/gp/product/B00...&pf_rd_t=101&pf_rd_p=463375193&pf_rd_i=301128
* A self powered Hub that provides its power to the upstream port.
For trying my kernel you will need the boot.img from the boot.rar and the modules from the modules.rar.
For integrating the patch into your own kernel you will need the usbhostpatch.txt and the .confg from the config.rar
PS: Wifi is not working but should not be hard to fix.
Cool!
I've been wanting this for a long time.
I actually ordered a USB OTG yesterday. =)
I think I'll try to add this to the CM7 kernel instead since I use CM7.
How did you integrate the patch into the kernel?
Do you think you could make a video of the procedure from beginning to finish? =)
Or maybe give instructions to me so I can make a video?
If you want to add the usb host function to a CM7 kernel you should try to use following patch:
https://github.com/sonic74/kernel_msm/commit/0e3dbcdd1f0a55a007266f0ad8598c7b4164c8bd
Apply this by hand, because the kernel versions are different.
About which steps you want to have a video?
I thought it would be nice for people to be able to see this done from the beginning to the end. That is first the hardware bit, and then the software modification. But I think the most tricky part would be the software side.
Just an idea. Thank you!
=)
My purpose was to show that usb host mode is possible with the Desire HD, now other devs can try to make this features more useful.
For example Apache14 made a kernel for the Advent Vega Tablet, where you can choose at start up if you want to boot the host or the slave mode. It would be perfect if we could have samething like this for the DHD.
Someone could try to add this to a CM7 Rom, but this will require C programming and linux knowledge.
....
Yes that would be awsome. I wish I could help more.
I'm still learning the fundamentals and it takes time to learn this stuff.
Great idea man! I'll stop spamming this thread now.
has anyone tried how well that works with ubuntu?
This question is a little stupid but what does this all mean?
What can we except if this works well?
Yours truly.
If everything works, you could plug a USB Massstorage in your DHD or you could connect a USB Gamepad or a Keyboard.. or even a USB Wifi Stick which is able to hack WEP
Very nice work indeed
Good choise to boot the .img instead of flashing through fastboot (unless that's the only way at the mom.), when all other usb functions are disabled, hence no charging with your kernel
I take it's only working with 1.72 based roms?
I'm coming from a Nokia N900 where some devs actually also did this and they ran into all sorts of issues to make it work and the main thing was to enable it so other usb functions also worked at the same time. I changed device before it came to be a beta I think, but did use it (alpha) and found it very usefull. Could flash kernel(s) OTG through terminal so no need of a pc.
One question though is there a way to do it through CWM with a .zip file, I don't know if the CWM has a function to boot from a .zip? It would be nice to be able to do it without the need of a pc
Awesome! Been waiting for this particular feature
when all other usb functions are disabled, hence no charging with your kernel
I take it's only working with 1.72 based roms?
Click to expand...
Click to collapse
Charging also works in the host mode. But there is a delay before the charging begins.
I use Android Revolution HD 3.1 that is based on 1.84.
One question though is there a way to do it through CWM with a .zip file, I don't know if the CWM has a function to boot from a .zip? It would be nice to be able to do it without the need of a pc
Click to expand...
Click to collapse
I don't know if CWM has this feature, but being able to do it without the need of a pc would be very helpful.
An other problem is the need of an self-powered usb hub.
bergfex said:
An other problem is the need of an self-powered usb hub.
Click to expand...
Click to collapse
So the DHD won't have enough power to make a flash stick work without any external power supply? I know the N900 gave some 3.5v - 5v when in hostmode, just enough to light up a flash stick.
Nice to know it will be able to charge
Will try it out on a old nandroid backup (1.72 base), currently on GB build and will report back
Will try it out on a old nandroid backup (1.72 base), currently on GB build and will report back
Click to expand...
Click to collapse
Same feedback would be nice.
I know the N900 gave some 3.5v - 5v when in hostmode, just enough to light up a flash stick.
Click to expand...
Click to collapse
At the moment anybody has this on an qualcomm powered device, but this would be very nice.
Dousan said:
One question though is there a way to do it through CWM with a .zip file, I don't know if the CWM has a function to boot from a .zip? It would be nice to be able to do it without the need of a pc
Click to expand...
Click to collapse
flash yes, boot no.
I'm getting some errors while doing insmod:
First i put the 'drivers' folder, from your RAR attachment, in /system/lib/modules, then booted the .img with fastboot and then through connectbot as local i did this:
First the:
insmod drivers/usb/core/usb-core.ko wich didn't give any error just jumped to a new line #
and then:
echi-hcd.ko code line wich got me this error: can't read file or doesn't exist - even though i cd'ed to the directory?
Then tried even though i got the error with echi-hcd.ko.
Code:
insmod drivers/usb/storage/usb-storage.ko
error:
insmod: can't insert 'drivers/usb/storage/usb-storage.ko': file exists?
E: tried it again and now i can't even get past the first code:
insmod drivers/usb/core/usb-core.ko - the same error as echi-hcd.ko - can't read file bla bla...?
Must be doing something wrong here...
I'm not sure that it gives any voltage to my flash stick, as it doesn't light up or it is possible without an external power? On my N900 i could use a flash stick and such aslong as it didn't need more than the 3.5v...
e2: tried a third time and still can't read the echi.hcd.ko file?
Maybe a bad extract or something, i'm really noob, just like to fiddle around with my phone. So any help would be great
kendong2 said:
flash yes, boot no.
Click to expand...
Click to collapse
Cheers mate, just hoped it would be doable, but didn't think so... A flashable .zip would be great to have once i get it to work lol
Hi Bergfex
I was hoping to try out the code @ CodeAurora instead (https://www.codeaurora.org/gitweb/q...3f9b1ca5a3279455371fd79;hb=android-msm-2.6.32).
From what I can see it utilized the OTG driver, so it 'should' be switchable at runtime.
I tried a quick merge with the files, but there is some initialization issues that I could not sort out (or rather not willing without anything to test with).
Perhaps someone can give it a second look.
Cheers
leppie
I try to make a little tutorial:
(this is not the easiest correctest and shortest way, but exactly what I am doing during writing this tutorial.
1) download boot.rar and modules.rar (to your pc)
2) unpack this rar-files
3) connect the DHD to the PC as mass-storage
4) copy the modules directory to the root-directory of your sd-card
5) create a directore "usb-storage" in the root-directory your sd-card
6) download the Radio flash.zip from
http://forum.xda-developers.com/showthread.php?t=896597
7) unpack the Radio_flash.zip
8) copy the boot.img from the boot.rar to the Radio Flash directory
9) disconnect the DHD
10) Settings->Applications->Development->enable USB Debugging
11) connect the DHD to the PC select charging only
12) go into the Radio Flash folder and start "Start Here"
13) type "adb reboot bootloader"
-> DHD boots into bootloader (should be S-OFF )
14) type "fastboot boot boot.img"
-> DHD boots
15) Settings->Info->Software info-> kernel info should show
2.6.32.31_BUZZ_1.3.6_OCUV
[email protected] # 13
Thu Mar 10 22:43::02 EET 2011
16) disconnect the DHD
17) start "Terminal Emulator"
18) "cd sdcard"
19) "cd modules"
20) "cd drivers"
21) "cd usb"
22) "cd core"
23) "insmod usbcore.ko"
24) "cd .."
25) "cd host"
26) ("ls") optional
27) "insmod ehci-hcd.ko"
28) "cd .."
29) "cd storage"
30) "insmod usb-storage.ko"
31) "cd .."
32) "cd .."
33) "cd hid"
34) "insmod usbhid.ko"
35) "insmod hid-apple.ko" (I just have a apple keyboard for testing (it is not mine))
36) supply your USB hub with power
37) connect the USB hub via the adapter cable to your DHD
38) connect a USB keyboard to the first port of the USB hub (my last port is not working)
39) wait
40) use your keyboard
41) conncet a USB massstorage to the second port of the USB Hub. In my case a 2GB with FAT32
42) wait
43) "mount -t vfat /dev/block/sda1 /mnt/sdcard/usb-storage"
44) use ES File Explorer to browse your USB Storage
45) reboot your DHD and unplug the USB hub
46) you should have your old kernel
Can this be used for Inspire 4g as well?
TIA

[ROM] UPDATED Transformer pure root tw/us/ww/de/jp (8.4.4.5/11/12/8.6.5.6/7/9)

This is pure root kit for Asus Transformer.
It is only root but nothing else
I am waiting for butro provide me the boot.img
For CN Version :
boot_cn_8659.zip http://dl.dropbox.com/u/16475375/tf_hack/boot_cn_8659.zip
For US Version :
boot_us_84411.zip
boot_us_8656.zip
boot_us_8659.zip http://dl.dropbox.com/u/16475375/tf_hack/boot_us_8659.zip
For TW Version :
boot_tw_84411.zip
boot_tw_8656.zip
boot_tw_8659.zip http://dl.dropbox.com/u/16475375/tf_hack/boot_tw_8659.zip
For WW Version :
boot_ww_84411.zip
For DE Version:
boot_de_84411.zip
boot_de_8657.zip page #57
For JP Version:
boot_jp_84412.zip
extract the file inside the zip to directory root before running root.bat
for ww 8.4.4.11 version. thanks for the help from poet,paddy01,peacemaster,rebound821 provide me the boot file
for tw 8.4.4.11/8.6.5.6 version thanks for the help from butro for the boot file.
for us 8.6.5.6 version thanks for the help from gpaunescu for the boot file
to backup the boot and recovery.
nvflash.exe --bct transformer.bct --setbct --configfile flash.cfg --bl bootloader.bin --odmdata 0x300d8011 --sbk 0x1682CCD8 0x8A1A43EA 0xA532EEB6 0xECFE1D98 --sync
nvflash.exe -r --read 6 boot.img
nvflash.exe -r --read 5 recovery.img
Please change the filename boot and recovery to region and version and send it to me. i can build the new version.
Thanks for the fone_fanatic to do the walkthru.
Ok, just did this and worked flawlessly, have root and CWM in under 10 minutes!
I'll replay step by step what i did to help those that are still confused. (it looks long but its really not, i was just very detailed causing this to be more of a "take my hand and i'll walk you through it")
Some background info. Highly recommend reading these if you don't know what either is!
Rooting Explained + Top 5 Benefits of Rooting by androidpolice.com
What is ClockWorkMod recovery and how to use it by addictivetips.com
STEP 1. Make sure you have all the correct asus drivers installed. Not sure if this is necessary but i had them all installed previously and i didn't run into a single issue.
1a. Head over to Asus Support/download page for the transfomer
1b. Select your PC's operating system from the drop down box.
1c. Download and install the USB driver, Asus Sync, and EEE Pad Pc Suite (don't think this one is needed but i installed them all when i first got my tf).
Step 2. Verify that you have adb running properly.
Since adb.exe is included in the download, you really don't need the sdk or adb from elsewhere.
2a. connect your tf via USB to your PC after installing the driver and other apps from step 1.
2b. Open Command prompt on your pc (win key+R) and open (and extract) Tf_rootkit_31 (link at bottom of post).
2c. Navigate to /tf_rootkit_31/root_app/ folder from the downloaded and extracted file, drag "adb.exe file to the open command prompt window.
(it should read something like C:\....\tf_rootkit_31\adb.exe)
2d. After the "adb.exe" press space bar and type "devices" (w/o quotes ofcourse) press enter.
If it says "List of Devices attached" and under that a 15 mixed numbers and letters (serial number) followed by device then adb is working!
If NOT, look at the stickies or search on google on getting adb to work on your OS.
STEP 3. Now the fun begins Here we will put the TF in APX mode and install the APX driver.
3a. Shut your TF off and while plugged into your PC, hold the volume UP and Power button until your PC makes that USB device plugged in sound and there is a notification about installing drivers.
3b. Open up the driver install thing in status bar and press on cancel (or whatever it is to get it to stop searching online for the driver).
3c. Open Device manager, scroll down to "Other Devices" (might be named something else in xp or vista) and you should see APX something with a small exclamation mark in a yellow triangle.
3d. Right click it, select "Update Driver Software..." -> "Browse my computer for driver software" -> "let me pick from list ..." -> click next -> "have disk" -> Browse -> navigate to the downloaded tf_rootkit_31 folder, open usbpcdriver folder and select "NvidiaUsb.inf" -> open, and all it to install, Ignore the unsigned error, let it install anyway.
STEP 4. Get to installing! Now your TF should be in APX Mode (if memory serves me right the screen should turn on.
4a. Go to the downloaded tf_rootkit_31 folder and double click on root.bat (on the TF screen it should say something along the line of "...update successful..."
4b. (OPTIONAL) if you want clockwork mod recovery, then go ahead and double click cwm.bat [Follow STEP 6 to update CWM]
4c. Restart TF, once rebooted make sure USB Debugging is enabled (Settings->Applications->Development)
4d. double click root_app.bat (this installs su and superuser.apk via adb, so command prompt will open up and do its adb thing and reboot your TF)
STEP 5. Confirm completion and CELEBRATE!
5a. Open your app drawer up after reboot and check to see if the Superuser app is there, if so install an app that requires root access (root explorer, adfree, titanium backup etc) and once you open it up, if you get a box requesting super user permission the you got it working!
5b. do a naked/underwear dance!
STEP 6. Update CWM recovery!! You will need a microSD card
6a. Go over to the CWM thread and download latest version of CWM recovery
6b. Place that downloaded .zip (DO NOT UNPACK) on your microSD card
6c. power TF off, then hold voume down + power button, when you see white writing in the top left of the screen press volume up and you should now bee in CWM recovery. Use volume up/down to move through the options and power button to select.
6d. Scroll down to "Install zip from sdcard" press power button then select "Choose zip from sdcard" and now it should list what is on your microsd, Scroll down and select the .zip you downloaded (as of this writing latest version is named recovery-3.1.0.1-solarnz-R3-240511-1908.zip)
6e. Follow instructions on screen, should be straightforward. And now your CWM is updated!
Thanks for the help from Roach`, RaYmAn and Bumble-Bee.
http://www.megaupload.com/?d=N5JDHIWK
mashi said:
This is pure root kit for Asus Transformer.
It is only root but nothing else
after extract the package.
root.bat (root the TF)
if you need CWM installed you have to run cwm.bat after root.bat
root_app.bat will add superuser and su on your TF.
Thanks for the help from Roach`, RaYmAn and Bumble-Bee.
Click to expand...
Click to collapse
Any links or anything?
Thank you
baseballfanz said:
Any links or anything?
Click to expand...
Click to collapse
? the links there.. OP was probably uploading the file but made the thread in advance
zephiK said:
? the links there.. OP was probably uploading the file but made the thread in advance
Click to expand...
Click to collapse
Yeah probably.
mashi said:
This is pure root kit for Asus Transformer.
It is only root but nothing else
after extract the package.
turn off your TF.
press volume up + power until it ask for install driver. install driver from usbpcdriver. your TF is on apx mode now.
root.bat (root the TF). after it is done. if you don't need CWM. you can hold your power button for 10 sec to turn it off and turn it back on.
if you need CWM installed you have to run cwm.bat after root.bat. after it is done. hold your power button for 10 sec to turn it off and turn it back on.
please turn on the USB Debugging before run root_app.bat
root_app.bat will add superuser and su on your TF.
Thanks for the help from Roach`, RaYmAn and Bumble-Bee.
http://www.megaupload.com/?d=N5JDHIWK
Click to expand...
Click to collapse
Thank You so much,This is what I was looking for
Anyone verify that it works?
xreflection said:
Anyone verify that it works?
Click to expand...
Click to collapse
Same question...
mashi said:
This is pure root kit for Asus Transformer.
It is only root but nothing else
after extract the package.
turn off your TF.
press volume up + power until it ask for install driver. install driver from usbpcdriver. your TF is on apx mode now.
root.bat (root the TF). after it is done. if you don't need CWM. you can hold your power button for 10 sec to turn it off and turn it back on.
if you need CWM installed you have to run cwm.bat after root.bat. after it is done. hold your power button for 10 sec to turn it off and turn it back on.
please turn on the USB Debugging before run root_app.bat
root_app.bat will add superuser and su on your TF.
Thanks for the help from Roach`, RaYmAn and Bumble-Bee.
http://www.megaupload.com/?d=N5JDHIWK
Click to expand...
Click to collapse
Does this mean we keep our system and data partitions and don't need to do a full wipe with nvflash?
Can we get a tutorial with easy step by step instructions.
Also is this only for PC or will it work on Mac or Linux.
Sent from my Transformer TF101 using Tapatalk
right. you can keep your system/data partitions untouch.
1. enter apx mode (turn off tf. press and hold volume up + power to enter apx mode)
2. run root.bat (to get perm root)
3. run cwm.bat (if you want cwm installed)
4. reboot (press and hold power button for 10sec)
5. turn on debug on tf (application -> development)
6. run root_app.bat (to install superuser and su)
7. done!
Canadoc said:
Does this mean we keep our system and data partitions and don't need to do a full wipe with nvflash?
Can we get a tutorial with easy step by step instructions.
Also is this only for PC or will it work on Mac or Linux.
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
Sorry for the noob question but are we running these root.bat etc. From windows? Linux? Directly from the device?
Sent from my Transformer TF101 using Tapatalk
from windows.
Thx will try in am
Sent from my Transformer TF101 using Tapatalk
does it work?
Well, CWM installed properly, so I'm guessing it worked. Root_app didn't work even with USB debugging enabled, but I installed Superuser from the market. But for some reason, AdFree didn't seem to recognize the root... TiBu doesn't work either.
Odd...
EDIT: root_app doesn't seem to find the device. I downloaded and installed MTP drivers from Asus and tried again (with USB Debugging enabled), but still didn't work. So CWM works, but the device doesn't seem to be rooted (or at least, the apps don't recognize any root).
hbk19 said:
Well, CWM installed properly, so I'm guessing it worked. Root_app didn't work even with USB debugging enabled, but I installed Superuser from the market. But for some reason, AdFree didn't seem to recognize the root... TiBu doesn't work either.
Odd...
Click to expand...
Click to collapse
Try to install busybox via titanium backup
baseballfanz said:
Try to install busybox via titanium backup
Click to expand...
Click to collapse
TiBu doesn't recognize root either.
EDIT: And busybox won't install because it doesn't see an su, which Superuser won't install because it doesn't recognize root, which I obviously must have because CWM installed and works properly. Pretty frustrating, this is.
EDIT2: Never mind, root_app somehow worked. It might be because I installed ASUS Sync.
Anyway, to those wondering if this works, it does. Just make sure to have all your drivers installed, APX or otherwise.
Now, to wait for PRIME 1.5 to come. I better start backing up my apps.
First you need this as well:
http://dlcdnet.asus.com/pub/ASUS/EeePAD/TF101/ASUS_Android_USB_drivers_for_Windows.zip
It said process completed successfully but nothing happened - no superuser app and no root...
Installed the SuperUser app fro Market. still no root (tested with Root Explorer)
The problem is with the adb not recognizing the device, therefor can't push the superuser.apk
any ideas what to do?
btw, Clockwork is working - which means I can flash a rooted ROM over the current one, use titanium backup to backup apps&games and then if I want, wipe and reinstall the rooted ROM.
If i do this procedure with stock 3.1 (WW) i don't lose my data? and wil i be able to run a custom OC kernel with the stock ROM?
Verified working!
liorry said:
First you need this as well:
http://dlcdnet.asus.com/pub/ASUS/EeePAD/TF101/ASUS_Android_USB_drivers_for_Windows.zip
It said process completed successfully but nothing happened - no superuser app and no root...
Installed the SuperUser app fro Market. still no root (tested with Root Explorer)
The problem is with the adb not recognizing the device, therefor can't push the superuser.apk
any ideas what to do?
btw, Clockwork is working - which means I can flash a rooted ROM over the current one, use titanium backup to backup apps&games and then if I want, wipe and reinstall the rooted ROM.
Click to expand...
Click to collapse
Success!
After I managed to get ADB with the Transformer and updated Windows Media Player (so I can mount on my XP computer at work) I also managed to push the root files and got root access so I can verify this script is working perfectly.
The clockwork however can't mount the sd-card which means I can't flash a custom ROM so I would love if anyone points out a solution for this.

[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:
tar -xvf universal.tar
cd universal
./universal.sh
In Ubuntu the last command would be:
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/knowledge/change-bios-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/portable/CDBurnerXP-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/showpost.php?p=16306342&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:
sudo ./universal.sh
[I](it will asks for your password)[/I]
If you are running another linux distro:
Code:
su
[I](it will asks for your password)[/I]
./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/showpost.php?p=16385872&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:
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!
Hey, how about an equivalent windows script for those who prefer msft's os. Ok?
awesome -one root to rule them all!
ondoy1943 said:
Hey, how about an equivalent windows script for those who prefer msft's os. Ok?
Click to expand...
Click to collapse
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.
Disappointed! No windows support!
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
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.
belrik said:
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.
Click to expand...
Click to collapse
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.
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)
Hallo and thanks!!!
what about mac's Users?
Can you explain a bit about what it does? So we can all learn.
Thank you,
Hi !
Will it work under wmware or virtual pc ?
Sorry if this is a dumb questions, but would this work in Terminal in OS X?
RayYung said:
Can you explain a bit about what it does? So we can all learn.
Thank you,
Click to expand...
Click to collapse
So you wanna learn? Good!
First i learned how to root the stock firmware from here: http://forum.xda-developers.com/showthread.php?t=1125714 .
Essentially the steps are:
1 - download a modified boot image into the tablet
2 - install the su and superuser packages.
My scripts do these 2 steps. I wrote a small howto that explains how to modify a boot image (http://forum.xda-developers.com/showthread.php?t=1193737)
Caramel said:
Hi !
Will it work under wmware or virtual pc ?
Click to expand...
Click to collapse
scirio said:
Sorry if this is a dumb questions, but would this work in Terminal in OS X?
Click to expand...
Click to collapse
I really would like to have an answer to these questions...
The Mac should have a layer of compatibility with linux (can't tell you more), but i really don't know the mac world.
*Maybe* the live cd will work under virtual machine; there should be some options to enable the usb feature. In Virtual Box there's an option to enable the usb controller and an option to filter what device will be accessible to the guest os; don't know vmware and virtual pc.
I don't know if an Intel based Macintosh is able to boot from a x86 live-cd, you could try.
I'm sorry i can't help you much more.
scirio said:
Sorry if this is a dumb questions, but would this work in Terminal in OS X?
Click to expand...
Click to collapse
Oops- no- there is no Nvflash for Mac. Sorry.
Created a live usb, booted via windows, and voila i am looking at a linux desktop, which i have not seen for a long time. Started going to its paces to root my tf, but did not push thru to the end, in as much as my tf is already rooted beforehand. But i can sense that barring any unforeseen miscues by the |op|, this almost one-click rooting procedure should produce its desired result. Highly recommended; good job |op|.
Looks like this calls for an "unrooting" routine to complement the rooting process. How about it?
Nice script! I just completed one of my own for unrooting the TF
One thing: why not just use adb reboot recovery instead of telling them how to do it manually?
brando56894 said:
Nice script! I just completed one of my own for unrooting the TF
One thing: why not just use adb reboot recovery instead of telling them how to do it manually?
Click to expand...
Click to collapse
I have already tried this, but seems it doesn't work.
if i write "adb reboot recovery" or "adb reboot bootloader" my tablet reboot in normal mode.
It's more reliable do it manually.
how can install ClockworkMod recovery
i rooted my transformer with your one click tool from live cd.
if i want install ClockworkMod recovery how can do ?
zulu99 said:
i rooted my transformer with your one click tool from live cd.
if i want install ClockworkMod recovery how can do ?
Click to expand...
Click to collapse
For now if you are running on windows, you can use one of these methods:
http://forum.xda-developers.com/showthread.php?t=1125714
http://forum.xda-developers.com/showthread.php?t=1185104
you are already rooted, so just need the cwm.
Since i had many requests on adding cwm, i am going to update the scripts and live-cd for adding this feature.
I'll keep you updated.

Categories

Resources