D2G SBF and Root Tutorial [LINUX] - Droid 2 Global Android Development

Since I haven't seen a linux based all in one tutorial for SBF_flash to rooting I figured I'd write up a quick one. I apologize if there is another thread and I haven't looked hard enough.
First things first: SBF_Flash
Download the latest stock OTA update for your phone - http://forum.xda-developers.com/showthread.php?t=1437177 (This is the latest update. No other updates will be necessary.)
Download the sbf_flash file - http://www.mediafire.com/?oxoe35bsxtnom69
Unzip both to somewhere easy to manage. (I have them in Documents)
Connect your phone to the computer via USB and turn the phone off.
Now you'll need to boot your phone into the boot loader. To do this you simply hold the up arrow on the keyboard while turning the phone on. This should get you into an all black screen with white text.
Open up the terminal and navigate to folder in which you have unzipped your files.
Type
Code:
./sbf_flash VRZ_A956_4.5.608_1FF_01.sbf
You may need to type sudo in order to make it work. (I.E.
Code:
sudo ./sbf_flash VRZ_A956_4.5.608_1FF_01.sbf
)
That should take between 10-20 minutes to go through fully. Once the process is done and the phone reboots go through the setup process and make sure that everything works right.
ROOTING:
Once you have finished the SBF process you'll probably be pretty happy to have a functional phone. But wait! SUPAH FUNCTIONAL ROOT TIME!!
Download the droid 3 root file. - http://www.mediafire.com/?11k7i927o4sd47g
Unzip it to a easily finable folder.
Make sure that your phone has USB debugging enabled. To do so go to settings->application->check box for usb debugging (that might be off, I'm running a custom rom and can't remember if that's the exact path lol)
Connect your phone to your computer and make sure the charge mode is to PC mode.
Go to the folder in which you've unzipped the root tool folder. Double click the run_to_root_your_ droid3.sh file and click run in terminal. Do as it says and make sure the phone is unlocked. Everytime the phone reboots unlock it again until the script is finished running. It will close automatically.
Once this is done you should be able to look in your app drawer and see super user. If this is the case then WHOOOOOO.
PREPARING TO FLASH A CUSTOM ROM:
So, you're rooted. Cool. You want to flash a new ROM. COOLER! Let's do it.
Go to the android market and search for ROM Manager. Download and install it.
Run the app and THE FIRST THING YOU DO is click the flash clockwork mod recovery button. It's best to do this on WiFi. When the window asking for your phone model pops up click the one that you own. (In this case Droid 2 Global.) Wait for it to finish, it will tell you in a happy little message.
Once that is done Clockwork Mod recovery is oficially flashed. Next thing is next.
Go to the android market and purchase Droid 2 Recovery Bootstrap. It's only $2.99 american.
Download and install it. Run it and click Bootstrap Recovery.
It will tell you if it was a success or not.
If it was then you can click reboot recovery and it will boot you into clockwork mod. Make a backup. Then feel free to flash any ROM you want. When you mess up and brick the phone make sure you come back to this guide on how to do it all over again.
Happy hacking!
IF THIS HAS WORKED FOR YOU BE SURE TO THANK ME FOR PUTTING IN THE TIME TO CREATE THIS THREAD! Thank you =)
CREDITS:
Credits go to everyone who created the files I am linking to. If you are the author of the file then let me know and I will mention you here.
I did not create any of these files. I am just putting them all together in an easy to access tutorial.

Related

[Q] Is this how I install a ROM?

Hello people,
After finally getting a replacement dell streak i.e. 3 months of complaining. I want to flash it and I want a smooth process. So after looking around I’ve put together everything I have to do. I would like to know if what I’m doing is right. Important Notes: I am using Windows 7 64BIT… I am flashing DJ_Steve’s 1.6.1 Rom. I am currently on stock Froyo. My build number is 12821. For now baseband version is unknown (Can’t check untill I find charger). So this my plan to take list of steps-
1. Install Fastboot via-
Download Dell PC Suite and install it.
Download Fastboot.exe
Remove and replace the battery.
Power the device on while holding the camera button
It will show a screen that says ‗Touch Calibration‘ and ‗Fastboot‘. Tap fastboot.
Learn to use Fastboot on CMD
2. Root
Download SuperOneClick 1.5.5
Extract SuperOneClick on my hard drive
Put my Streak in USB debugging mode: Settings>Applications>Development>turn on USB Debugging
Plug my Streak into the computer – I will not mount the SD card
Right click on SuperOneClick.exe and run as administrator
Click "Root" and watch the progress and follow instructions.
3. Install Streakmod Recovery
Unzip and flash with: fastboot -i 0x413c flash recovery recovery.img
Reboot with: fastboot -i 0x413c reboot
Hold down the keys "volume up" and "volume down" simultaneously while rebooting.
Select "Software upgrade via Update.pkg on SD Card" in the menu
At the Dell Logo press the power button and you will be presented with the Recovery Menu
4. Install Rom (Streak Droid 1.6.1)
Download Update-1.6.1.zip
Place Zip file into Root of SD Card
Make a text file and type in the options
Save file under SDCard>install.txt
Boot into StreakMod
Select Update from Zip File > Select Zip File From SD Card > StreakDroid_1-6.Zip
Wait for installation.
FINISH
These are steps I will take are they right?
Will I need to reroot after Rom has been installed?
Thank you for your time your help is appreachated!!
I believe that 1.61 is pre-rooted.
If you have problems getting root with SuperOneClick remove your SD Card and try it.
You don't need the entire PC Suite, just the drivers. See this page at Dell.
Thanks for response thats helped a lot also I am mainly concerned about the recovery and installing the ROM is even worth it? Also the fact I'm running 64Bit scares me (in case its not supported)!
Just saying but I think a multipurpose guide on how to install Roms needs to be made. There is already a good one but it is outdated and doesn't cover questions like- Can i update straight from stock froyo to Streakdroid 1.6.1? It the guide the same for White Streak? Does 64Bit work with Rooting/Fastboot? I would write but I don't have experience. Does any one think the same?
yes it would be nice if someone did that but it would also be nice for people to use the search function as all these topics have been covered somewhere on these forums
hasamoder said:
Thanks for response thats helped a lot also I am mainly concerned about the recovery and installing the ROM is even worth it? Also the fact I'm running 64Bit scares me (in case its not supported)!
Click to expand...
Click to collapse
I took the plunge yesterday and installed the 1.6.1 version of DJ_Steve's Streakdroid rom.
It's only been 12 hours but the phone is noticeably faster and so far everything works that worked on the stock 315 and 318 builds.
All of the info you need to flash is available. Some of the threads are quite long and do get noisy with too many unrelated posts and I wish that users would click the thank you button instead of adding an unneeded post to long threads. The StreakDroid guides are very helpful.
I did a lot of reading and took notes (copy and paste to text document) about the problems others had and the solutions that worked. I was fortunate that I did not have the issues others faced.
I would recommend that you think out the options you want carefully and keep them to a minimum, do a factory reset from recovery mode before starting to upgrade, and wipe the cache from the recovery after getting StreakMod recovery installed before installing the ROM. The factory reset and cache wipe seemed to fix most of the problems people had with the install, so I did them preemptively and things went very smooth.
Thank you so much but last question is the steps above correct...
Did you try it out?
Did your steps work fine?
No have not tried waiting for someone to confirm this works....
I used zroot to root my phone and it was such an easy process. Pretty much the app did everything for me.
hasamoder said:
Hello people,
After finally getting a replacement dell streak i.e. 3 months of complaining. I want to flash it and I want a smooth process. So after looking around I’ve put together everything I have to do. I would like to know if what I’m doing is right. Important Notes: I am using Windows 7 64BIT… I am flashing DJ_Steve’s 1.6.1 Rom. I am currently on stock Froyo. My build number is 12821. For now baseband version is unknown (Can’t check untill I find charger). So this my plan to take list of steps-
1. Install Fastboot via-
Download Dell PC Suite and install it.
Download Fastboot.exe
Remove and replace the battery.
Power the device on while holding the camera button
It will show a screen that says ?Touch Calibration‘ and ?Fastboot‘. Tap fastboot.
Learn to use Fastboot on CMD
2. Root
Download SuperOneClick 1.5.5
Extract SuperOneClick on my hard drive
Put my Streak in USB debugging mode: Settings>Applications>Development>turn on USB Debugging
Plug my Streak into the computer – I will not mount the SD card
Right click on SuperOneClick.exe and run as administrator
Click "Root" and watch the progress and follow instructions.
3. Install Streakmod Recovery
Unzip and flash with: fastboot -i 0x413c flash recovery recovery.img
Reboot with: fastboot -i 0x413c reboot
Hold down the keys "volume up" and "volume down" simultaneously while rebooting.
Select "Software upgrade via Update.pkg on SD Card" in the menu
At the Dell Logo press the power button and you will be presented with the Recovery Menu
4. Install Rom (Streak Droid 1.6.1)
Download Update-1.6.1.zip
Place Zip file into Root of SD Card
Make a text file and type in the options
Save file under SDCard>install.txt
Boot into StreakMod
Select Update from Zip File > Select Zip File From SD Card > StreakDroid_1-6.Zip
Wait for installation.
FINISH
These are steps I will take are they right?
Will I need to reroot after Rom has been installed?
Thank you for your time your help is appreachated!!
Click to expand...
Click to collapse
In step 4 when you're installing the rom you don't have to save the options file as a .txt file..
That's only as long as you're entering your options.. After you're done making the text file with your options in it you change the file to install.cfg and place it on the root of your sd card
vishal212 said:
In step 4 when you're installing the rom you don't have to save the options file as a .txt file..
That's only as long as you're entering your options.. After you're done making the text file with your options in it you change the file to install.cfg and place it on the root of your sd card
Click to expand...
Click to collapse
From Streakdroid's page with the 1.6.1 install instructions:
You will need to create a text file on your Streak’s MicroSD Card.
The file can be created in your Text Editor of choice ( such as Notepad ).This file will be called ‘install.txt’ – Ensure that this is the exact syntax and that the file is saved with a ‘.txt’ suffix.
Click to expand...
Click to collapse
Of course later in the page it states:
You can save this text file as install.cfg
Click to expand...
Click to collapse
But I do think that for 1.6.1 it's install.txt. I have posted this in the 1.6.1 release thread so hopefully the instructions get clarified.
Is it better to first flash 1.5.1 with the amss, do a factory reset and then flash the 1.6.1 without amss?
I have been reading up incessantly since getting my streak a little over a week ago. I have also previously flashed my OH's HD2 (Leo) from Winmo 6.5 to froyo but that was a little simpler in its routine.
I have found a number of rather useful how-to's covering various subjects related to parts of the process and read general guides that often miss out more in-depth detail at other important points (important in my opinion).
Ultimately Android is suffering (again, IMO) from the same problem as any Linux system - details are fragmented, forum threads get bloated with making it hard to get the important info (e.g. 138+ pages to read through) or the other example was expanding the internal SD card which similarly has people making the process easy but the posts make it hard to follow unless you already have some knowledge on what is going on.
I will be making it a project to pull together a guide that provides a summary detail (for those in the know) and an in depth guide and assistance. Lastly a FAQ appendix of issues and resolutions would make it a superb thing. I will warn though, I have commitments already that absorb most of my time, so dont expect to see this guide coming out in the next week!
Hey guys if anyone is still interested the steps on first page worked brilliantly. Further more afterwards I went back to stock because after flashing the performance mod for stock the streak goes very fast anyway. If anyone wants I'll make a video showing how to do it all. And include all the files to make it as easy as possible.
But just so you know after rooting I installed steakmod then flashed the performance update. Then I used Titanium Backup to get rid of all the stock apps I don't want (dell sync, kindle...) and backup apps. Afterward downloaded setcpu and overclocked it about 200mhz. Made it even more faster. Put some custom bios (boot up pictures) on for looks. Installed Gingerbread taskbar again for looks. Installed Galaxy tab email client (because I can). Finally because my streak came with the 318 Baseband I could do a nandroid backup.
That took a little over 45 minitues but putting everything together took an hour on its own so yes it is fragmented. Stats: Baseband 318, Stock froyo and black internation version. Really now that i've done it if anyone needs help just ask... Thanks
for use streakdroid with a Rebel Sim
how i must do?
More details - baseband, 2.2, 1.6 etc
can somebody make a little guide "how to use RebelSim with streakdroid"?
what're the steps?

[GUIDE] Super-noob guide to unlocking, rooting, and flashing Ziggys kernel

This post is just my attempt to help less savvy users go from a fully locked/unrooted Rezound to unlocked, rooted, and running Ziggy's kernel. Really, this is just a list of links that should be followed in order (and maybe a few extra notes for clarification). Be sure to thank the respective devs for their efforts.
As of the time I'm writing this, there is no way to get the phone back to "Locked" once you've "Unlocked" it. The phone will show "Re-locked" if you relock it so know that until someone figures something out, Verizon WILL KNOW that you've unlocked your phone once you do it IF they bother to check and know how. It's your gamble, but to date, I've not heart of Verizon detecting root/unlock and refusing service to one person I can confirm. Said another way, you can "un-root" your phone (remove su and SuperUser), but that won't hide the more important fact that you've unlocked it. Consider this before continuing. Unlocking VOIDS YOUR WARRANTY. You accept responsibility for following this guide. Myself and other devs only provide information.
In general, here is what you will be doing:
Using the HTCDev.com site to submit your phones key and get an unlock.bin that you can use with fastboot to unlock your phone. NOTE: This WILL WIPE YOUR PHONE. I suggest using a temp-root method to first install Titanium or similar app, and do a app/data backup. This way when you're done, you can restore apps/data and be just about where you were when you started, only better.
Use the zergrush perm-root method to obtain permanent root and install SuperUser.
Install a customer recovery that will allow you to do a nandbackup and then install other roms/kernels (needed for the next step also).
Install Ziggys custom kernel which addresses some important issues for this phone and provides some other nice features.
NOTE: If you intend on flashing one of the newer ROMs ("newer" as of 2012-03-24) that require the 3.11.602.22 firmware, use Scott's directions HERE then come back and continue.
Now for the actual steps:
UNLOCKING - First visit THIS post for detailed instructions on how to unlock your device. This is required for permanent root and just about everything else following. This WILL VOID your warranty as the post says. This will also WIPE your device so again, I suggest first using THIS temp-root method so you can install an app like Titanium Backup to backup your apps/data.
PREPARING ADB - Once you have unlocked and your phone has rebooted, hit the home key to skip HTC Setup (no point doing it just yet really). Now hit, menu, settings, Applications, and check "Unknown Sources" (for good measure), then "Development" and check the box "USB debugging". I recommend then backing up a screen and un-checking "Start automatically", but that's my preference, not a requirement.
CONFIRMING ADB - At this point, I'm going to assume you already have ADB installed and known how to invoke the command because there are at least 9,999,999 tutorials online explaining this. Go ahead and open a cmd prompt and run "adb kill-server" and then "adb devices" and ensure that your device (if you see one, then you should be fine) shows up.
ROOTING - Now visit THIS thread and hit the less-than-obvious link titled "Download - OneClickRoot" to download the zip containing the tool. Follow the directions in that thread to permanently root your phone.
Boot fully into Android before proceeding.
RECOVERY
PREPARE RECOVERY.IMG - Visit THIS thread and download the attachment. Extract "recovery.img" from the zip and place it in a folder from which you can successfully run ADB. NOTE: If you haven't already, putting the adb.exe files folder in your PATH will let you run adb from anywhere. Same goes for fastboot. This makes life with Android tweaking/hacking MUCH easier.
FLASH RECOVERY 1/2 - Now "CD" into the folder (HERE you can find more about the CD command) with recovery.img and run the following command: "adb reboot bootloader". Once the phone has rebooted into the bootloader (a white screen with text menu, should say "*** UNLOCKED ***" at the top now). In white with a red background you should see "FASTBOOT USB". If so continue, if not, ask for help
FLASH RECOVERY 2/2 - The moment you run the following command, you should see a vertical bar on the upper-right hand corner of your phones screen. If so, it's working as expected. In your CMD window, run the following command "Now "CD" into the folder with recovery.img and run the following command: "fastboot flash recovery recovery.img"
REBOOT TO RECOVERY - If you have't touched the volume keys, "BOOTLOADER" is selected and pressing power will take you to the bootloader where you can then use the arrow keys to select "RECOVERY" and again press the power button to get into recovery. Otherwise, reboot any way you see fit and once running, use "ADB reboot recovery" to get into recovery easily.
KERNEL
DOWNLOAD FILES - First download the two files from THIS post (NOTE: The OP most may end up with more updated files, but as of the time I'm writing this, these are the way I suggest).
PUSH FILEs 1/2 - If you haven't already rebooted into recovery, review the previous steps and get your phone into recovery ("ADB reboot recovery" is my preference). Now "CD" into the folder containing the two files downloaded in the previous post. From here, I will use the file names as they were when I downloaded. Yours could be slightly different so adjust accordingly. In the recovery use the volume keys to navigate to the "Mounts" menu and then "Mount /sdcard". Use the Power button each time to select the menu option.
PUSH FILEs 2/2 - Now from your CMD window (the one in the folder containing the two kernel files), run the following commands: "adb push FlashMeInRecovery.zip /sdcard/" and then "adb push PH98IMGZIGGYUNSIGNED.zip /sdcard/PH98IMG.zip".
FLASH FILE 1/2 - Now use the back arrow (the capacitive one) to go back to the main menu and then select "Flash zip menu" and then "Choose zip from sdcard". You'll then get a list of sdcard contents. The file is likely toward the bottom. Select "FlashMeInRecovery.zip" and follow the directions to confirm flashing.
FLASH FILE 2/2 - Select the "Return" menu option, then "Developer Menu" and then "Reboot to bootloader". By default "BOOTLOADER" is already highlighted and you just need to use the power button to select it. The phone will now scan the SDCARD for "PH98IMG.zip" and when it finds it, you will be prompted to Press "<VOL UP> Yes" to flash the files.
If you get the notorious "MainVer Error", use one of the following guides to get past the error. NOTE: Neither of these are for the faint-of-heart and the first I consider easier, does carry some real danger if done incorrectly.
Option 1 - Follow the guide HERE <-- Requires the use of a HexEditor and one is recommended if you don't have a preferred one yet.
Option 2 - Follow the guide HERE <-- Requires modification of the PH98IMG.zip you're trying to flash and sometimes this can be problematic. Either way, it provides an excellent description of why the error occurs.
FINISH - Once the 2nd kernel file is flashed and you're prompted, press power to reboot. After your phone is running again, use the following command to rename the kernel file so it doesn't cause you trouble later in the bootloader (but still keep it handy): "adb mv /sdcard/ext_sd/PH98IMG.zip /sdcard/ext_sd/PH98IMGZIGGYUNSIGNED.zip"
If this guide has helped you and you want to show thanks, just hit the "Thanks" button at the bottom of this post. It's not a donation or anything like that, just a counter used here on XDA
I will try to keep this post refreshed as newer files become available, as things get easier, or things change. If you see an error/typo/concern with these directions, PLEASE PM me and don't muddy up the thread. If YOU will do this, "I" will not only try to maintain the post, but I will also try to add/maintain an FAQ post as needed.
Btw, in case you recognize me and are wondering why I've posted here, it's because my site is dead due to childish drama, I still want to help the community and this seems the most reasonable way to do so for now.
EDITS:
20111230_1804 - Added a hint and link about the "CD" command for users who aren't familiar with "DOS" like commands.
20120101_1923 - Added a direction to boot into Android after rooting.
20120101_2325 - Added warning about unlock/relock and warranty in BIG RED text.
20120208_1709 - Added instructions on how to handle the "MainVer" error.
20120324_1636 - Added note about using 3.11.602.22 based ROMs and linked to Scott's (CleanROM) directions.
Great guide, thanks! Worked just fine and wow this thing is fast as BALLS
Using SetCPU to tweak and monitor, any clue on what the best governor is for this kernel?
EDIT: Reading original post about kernel from Ziggy, "lagfree" governor is available, using that now.
Thanks!!!!!
may i flash kernels on custom rom
or has to be stock rooted?
qudwis said:
may i flash kernels on custom rom
or has to be stock rooted?
Click to expand...
Click to collapse
this kernel is based off of the one made for gingerbread, so as long as the ROM you're running is a Gingerbread ROM, you can, or should be able to use this kernel with it.
*EDIT* I believe it may matter whether the ROM is Sense or AOSP based as well. currently we only have sense roms so it doesnt much matter, but it will down the road.
one more question.
i have cwm for recovery. since cwm don't have developer menu,
do i need to change to Amon Ra recovery?
and if i do, how do i change?
The guide is clear, succinct, and accurate. Everything worked perfectly - thanks so much.
I could've got so much more work done over the last two days if I had a tutorial like this! Untold hours have been spent combing these boards to piece together this whole process. Thanks for taking the time to do this for everyone.
Seemed to work!
I only did the recovery / kernel part since I had done the rest previously. For some reason it partially wiped my phone storage and SD card. Directories are there, but nothing is in them. No idea what happened, but oh well.
At least now I can start messing with stuff.
How do you unroot from the HTCdev method? I need to return my Rezound and get a different one tomorrow. Can someone please point to the correct guide or tutorial? Thank you very much!
-brett
bal1985 said:
How do you unroot from the HTCdev method? I need to return my Rezound and get a different one tomorrow. Can someone please point to the correct guide or tutorial? Thank you very much!
-brett
Click to expand...
Click to collapse
Unrooting is just a matter of deleting "su" and uninstalling SuperUser, but it will hardly matter since your device will still be marked as "re-locked" if you use fastboot to relock it. There's no way at this point to hide that it's been tampered with and that's why I and most other devs have made such a point of clarifying that your warranty will be void one you unlock.
On the other hand, I can tell you that out of the 15,000+ users on my site and years in the Android community, I've never ONCE heard of Verizon saying "your device is rooted so we won't...."
Just uninstall SuperUser and do a factory reset/wipe and hope for the best. It's hardly worth their time to check and in the stores, more reps are too ignorant to know to check, let alone how to do it or if they do, they're likely unmotivated to do so since a warranty return won't go against them (unlike a return).
rainabba said:
This post is just my attempt to help less savvy users go from a fully locked/unrooted Rezound to unlocked, rooted, and running Ziggy's kernel. Really, this is just a list of links that should be followed in order (and maybe a few extra notes for clarification). Be sure to thank the respective devs for their efforts.
FLASH FILE 1/2 - Now use the back arrow (the capacitive one) to go back to the main menu and then select "Flash zip menu" and then "Choose zip from sdcard". You'll then get a list of sdcard contents. The file is likely toward the bottom. Select "FlashMeInRecovery.zip" and follow the directions to confirm flashing.
FLASH FILE 1/2 - Select the "Return" menu option, then "Developer Menu" and then "Reboot to bootloader". By default "BOOTLOADER" is already highlighted and you just need to use the power button to select it. The phone will now scan the SDCARD for "PH98IMG.zip" and when it finds it, you will be prompted to Press "<VOL UP> Yes" to flash the files.
Click to expand...
Click to collapse
This looks very clear and helpful. I'm not ready to use it yet, still need to study up on all this root stuff but thanks for posting.
Just wanted to point out that there may be a small and not so important typo. Both flash files are 1/2, shouldn't the second one be 2/2?
I have downloaded both files into my sd card, flashmeinrecovery.zip worked fine. The pmhimg.zip keeps saying aborted. I am running cwm, should I be running a different rom? What can I do to get the pmh zip to work?
I downloaded them via the qr codes, and they are in the download folder on my sd card. I did change the name on the second zip.
You have to put the ph zip in the root of the sd card. Not in a folder
sent from my newly unlocked Rezound
pwned3 said:
You have to put the ph zip in the root of the sd card. Not in a folder
sent from my newly unlocked Rezound
Click to expand...
Click to collapse
Ok, I did that. Now when I get into hboot, it just asks if I want to update, if I do, it updates, what I dont know, then wants me to reboot, and if I boot back into hboot, it wants me to update again. But I can power up normally. Is this correct or am I missing something?
Just reboot normally after flashing
sent from my cm7 rooted fire
And move the file. It will read it every time you go into the bootloader
sent from my cm7 rooted fire
Followed instructions and kernel would not flash. All steps completed without errors and still has same kernel. Any advice?
rainabba said:
Unrooting is just a matter of deleting "su" and uninstalling SuperUser, but it will hardly matter since your device will still be marked as "re-locked" if you use fastboot to relock it. There's no way at this point to hide that it's been tampered with and that's why I and most other devs have made such a point of clarifying that your warranty will be void one you unlock.
On the other hand, I can tell you that out of the 15,000+ users on my site and years in the Android community, I've never ONCE heard of Verizon saying "your device is rooted so we won't...."
Just uninstall SuperUser and do a factory reset/wipe and hope for the best. It's hardly worth their time to check and in the stores, more reps are too ignorant to know to check, let alone how to do it or if they do, they're likely unmotivated to do so since a warranty return won't go against them (unlike a return).
Click to expand...
Click to collapse
so I just unistall SU from the Market? Or do I have to go in with Root Explorer and delete the file? once that is done don't I have to lock the bootloader using that htcdev guide again?
remmy5r said:
Ok, I did that. Now when I get into hboot, it just asks if I want to update, if I do, it updates, what I dont know, then wants me to reboot, and if I boot back into hboot, it wants me to update again. But I can power up normally. Is this correct or am I missing something?
Click to expand...
Click to collapse
Following step 7 specifically prevents you from having to deal with that. So long as the PH file exists in your sdcard root, when you go into bootloader, you will be prompted. Once your running normally, just go follow step 7 and you'll be good to go.

[How To]TF201 Flash TWRP on Jellybean and Root

I just went through the unlock and root it is fresh in the mind. These directions ASSUME AN SD CARD IS INSTALLED to the tablet and a WINDOWS OS!
Downloads, get them and put them in a folder on your computer:
Asus Unlock Tool download link from ASUS:
http://support.asus.com/Download.as...ck_Device_App_V6.apk#UnLock_Device_App_V6.apk
Fastboot EXE:
I got fastboot.exe when I downloaded Ultimate Backup Tool from here:
http://goo.gl/iOUwe
Unzip it so you have fastboot.exe
TWRP:
Get TWRP for TF201Jellybean, here is their page I have posted the download link below:
TWRP Page
On that page are instructions including a download link.THIS LINK IS FOR TF201 RUNNING JB BOOTLOADER ONLY! DO NOT USE IT IF YOU ARE NOT SURE WHAT YOU ARE RUNNING STOP NOW!
TWRP Download for TF201 running STOCK JellyBean OS:
http://techerrata.com/file/twrp2/tf201/openrecovery-twrp-2.3.1.0-tf201-jb.blob
MD5 Checker:
When TWRP is downloaded you can compare the MD5 hash of what you downloaded to confirm it is the a good download. If you don' do this and flash a bad copy of TWRP your tablet is now garbage. You can find something like winMD 5 generator:
http://www.winmd5.com/download/winmd5free.zip
Unzip the above download and run WinMD5.exe to generate an MD5 hash of the TWRP file you downloaded. Compare it to what it says the files MD5 hash is on the download web page. If I remember correctly I had to manually type in the MD5 hash from the page because it was an image I couldnt just copy. Or you can just visually verify with the one generated by winmd5.
Once the MD5 is verified rename the TWRP you downloaded to TWRP.blob just to shorten the name for scripts later and copy it to where you have fastboot unzipped.
ADB command:
I got ADB from several sources but this "root method" http://forum.xda-developers.com/showthread.php?t=1886460 from bin4ry is what I have been using: (And no, it doesnt work for the prime because the exploit he uses to run the device in emulator mode doesnt work for us)
Download bin4ry's root tool to get the ADB file
SuperSU:
Finally download SuperSU zip file from:
http://downloads.noshufou.netdna-cdn.com/superuser/Superuser-3.1.3-arm-signed.zip
How To Use The Downloads:
Unlock Device:
First we need to unlock the device. Copy the unlocker APK to the root of your SD card for your tablet via the USB cable or putting the SDCARD in to your computer directly or with the ADB PUSH command if you know how to do that. Run the built in file explorer on our tablet and browse to the SD card (/Removable/MicroSD). Tap the Unlock APK to install. Once installed run the Icon for the unlocker and follow directions. There are several warnings etc.. You will need wifi connected and it will unlock your device and VOID YOUR WARRANTY!.
The unlock will take a few minutes and reboot one or more times. When it is successfull you will see a notice on device boot up that says the device is unlocked.
Flash TWRP:
Once unlocked, power it off. Once off power it on by holding BOTH volume down and power buttons. When you see the menu appear the first option is RCK. press Volume Down to change the cursor to be over the USB logo (two presses of the button) and press volume up. This puts your device in fastboot mode
Back on your computer you should hopefully see a successfull driver install for fastboot. I got all my drivers from downloading and installing the Android SDK so you may or may not need to do that. Android SDK
If all is prepared and you are in fastboot with drivers loaded:
On your computer hold shift and right click on the folder where fastboot and the twrp.blob file are and you will see a context menu. Click on "Open Command Window Here" (Vista + only or if you installed powertools on 2000/XP)
If you don't get the command window here option then you will have to open a command prompt. Open the run dialog and type CMD and hit enter. This will get a dos command windows. Use the change directory (CD) command to change the current folder in the DOS window to where your fastboot file and TWRP.blob are.
In the command window copy and paste the following line:
fastboot -i 0x0b05 flash recovery twrp.blob
and hit enter
Let it runs its course. When done I had a black screen with ASUS in the middle and a blue-ish bar across the bottom that was filled. I had to hold power until it rebooted. ( I waited about 5 minutes with that blue bar filled before looking up onilne to power off. I would recommend waiting a couple of minutes to be sure/safe)
Install SuperSU:
Once I confirmed my Stock OS loaded I copied the Super SU zip file we downloaded above over to the device via the USB cable to the root of my SD card, or by inserting SDCARD in to my computer and copy it over to ROOT of card or with ADB PUSH. Once the copy completes shutdown the device again.
Once off, power it on and press and hold both the power buttons and volume down again. When the menu appears you should already have RCK (recovery) highlighted so press volume up to load TWRP recovery.
OPTIONAL - BACKUP IF YOU WANT TO:
In TWRP there is a backup option. I chose to backup to my SD CARD and made sure to backup everything and generate an MD5. It takes a While but you can flash this back ANYTIME to put your device back to the STOCK JB OS without root. You can use the backup anytime you like to preserve your devices COMPLETE STATE. Just use the restore option in TWRP to put it back.
To flash root, once TWRP loads, the top left option is "Install" tap that.
You will see a few choices, select the radio button to install from SD card (external source it may say). Tap the super su zip file: Superuser-3.1.3-arm-signed.zip to choose it.
Slide the slider at the bottom to the right.
This will flash superSU to your device. When successfully done, reboot (flash should only take a few seconds).
When you boot up SuperSU is installed.
To test root with ADB:
Your tablet must be plugged in to the USB port of the computer of course.
If you installed the SDK tools ADB is there or use the one from bin4ry's root tool as follows:
Unzip the downloaded root tool from bin4ry mentioned above. Use the shift and right click method in explorer on the "STUFF" folder for the unzipped files or use the command windows to change directory of the unzipped folder and further in to the "STUFF" folder.
In the command windows type:
adb shell
<hit enter>
after a few seconds you should see a $ prompt and your are in to the console of your tablet.
Type:
su root
<hit enter>
Superuser will prompt you to grant root permissions and I set the setting so it doesnt prompt me every time.
Your prompt will change to # and thats it, you are root.
I don't seem to have the command sudo on my tab so every time I want root in a terminal I type that su root to get the # prompt.
Any apps that need root can now ask for it, you will get that same "Grant" prompt and do so if that is what you want.
ADB will now yield Root when you type: SU root and hit enter (grant root privs in the popup)etc...
Final thoughts:
There are other ways to copy content to the device such as using ADB PUSH etc... and I am sure this could be mostly if not all scripted but now that my tablet is rooted I am not going to write one and flash SuperSU over and over and possibly screw up my device. Follow the directions above and you will be successfull. If someone wants to write a script based on the above knock yourself out.
I HIGHLY recommend checking ALL MD5 hashes of downloads to confirm you got what you were supposed to. This will help prevent bricks.
Nice to see another guide on unlocking and flashing TWRP
McJesus15 said:
Nice to see another guide on unlocking and flashing TWRP
Click to expand...
Click to collapse
I was thinking a "how to root without unlock" one should be next....
hx4700 Killer said:
I was thinking a "how to root without unlock" one should be next....
Click to expand...
Click to collapse
Haha we have to wait for the amazingly smart people here to find an exploit for Jelly Bean. Although unlocking and flashing a custom rom is the way to go
Sent from my Zio using xda app-developers app
McJesus15 said:
Haha we have to wait for the amazingly smart people here to find an exploit for Jelly Bean. Although unlocking and flashing a custom rom is the way to go
Sent from my Zio using xda app-developers app
Click to expand...
Click to collapse
Yeah, the How to was going to be:
Step1) You can't.
So you finally did it... Did your warranty run out or did the frustration finally get to you?
I'm still holding off for now. In a way its a good thing an exploit hasn't been found, it means google have made the system fairly secure.
Next weekend I'm going to give finding an exploit one last red hot go. Failing that (and I'm sure i will) I'll be joining you.
abazz said:
So you finally did it... Did your warranty run out or did the frustration finally get to you?
I'm still holding off for now. In a way its a good thing an exploit hasn't been found, it means google have made the system fairly secure.
Next weekend I'm going to give finding an exploit one last red hot go. Failing that (and I'm sure i will) I'll be joining you.
Click to expand...
Click to collapse
I wanted to flash the Energy rom because of the near double quadrant scores people were posting. Little did I (or the chef) know that the Kernel was set to 1.8GHZ and constantly running 1.6. CPU throttling did little to inhibit that and even if you set it back to 1.4 it still ran 1.6 when max CPU was needed The back cover temp went from 90 deg while playing an interactive game for 20 minutes to 108.5 deg when playing the same game for 20 minutes. I had to think that was compromising stability and longevity as well as battery life so I flashed back my stock backup I made via TWRP and rooted as above.
I wouldnt mind going back when the kernel is more controllable. I'm actually playing with backtrack 5 now that I am rooted and EDS with mounts to truecrypt volumes so glad I am rooted, would have rather not voided the warranty
I think the policy should be that if you unlock things like the screen and wireless etc.. should still be covered but since they can't control overclocking etc... those kinds of issues are not.
Between 3 kids events, Holiday stuff I barely have the time to do the things I want to do let alone invest time in hacking this device =/
Thanks for the guide. Picked up a second hand Prime + Dock online with a locked boot loader. Following your guide I had it unlocked, rooted, and with CM10 in about half an hour or less.
Thanks!
Sent from my One X using xda premium
jetpackjeff said:
Thanks for the guide. Picked up a second hand Prime + Dock online with a locked boot loader. Following your guide I had it unlocked, rooted, and with CM10 in about half an hour or less.
Thanks!
Sent from my One X using xda premium
Click to expand...
Click to collapse
Glad it was helpful.
I guess I need to go look in to CM10, I see plenty of people using it and talking about it.
hx4700 Killer said:
Glad it was helpful.
I guess I need to go look in to CM10, I see plenty of people using it and talking about it.
Click to expand...
Click to collapse
As far as I know the kernel issue is fixed. Androwook never had the issue. It'll still get hot but not enough to cause concern
Sent from my Zio using xda app-developers app
worked for me :thumbup:
Sent from my Transformer Prime TF201 using xda app-developers app
And for me, didn't get much easier - or idiot proof
Thanks worked perfectly, I'm on CM10 now
Btw, you should change this line (because it's kinda wrong):
Let it runs its course. When done I had a black screen with ASUS in the middle and a blue-ish bar across the bottom that was filled. I had to hold power until it rebooted. ( I waited about 5 minutes with that blue bar filled before looking up onilne to power off. I would recommend waiting a couple of minutes to be sure/safe)
For this part the blue bar across the bottom did show up but not the ASUS logo, for me the tablet stayed on the same page with the USB logo and the other stuff and the blue bar across the bottom (not the Asus logo).
wrong thread
I have always been locked, and RMAed previously. I was able to successfully do this last night, thanks for the links.
Yay! After reading the forums and triple checking every thing I finaly got ROOT!
Thanks! Now I'm off to install the Energy Rom and hopefully enjoy GTA on a 42" TV with a USB controller
Fail
Doesn't work for me. I'm trying to switch to TWRP from an ever flakier CWM that won't do a backup. I'm already unlocked and rooted but still with stock ROM (which won't update any more because I'm rooted.)
The fastboot flash finishes ok but when I try to boot into recovery I get the message that it is loading the recovery kernel and then it just boots into Android. I have no recovery at all now which is kind of scary.
(God I hate this device for noodling with. Whenever you miss a beat you're looking at a 5 minute uninteruptable boot/shutdown cycle to try again. Everything outside of the Andorid zone itself is so baroque, archaic and intricate that feels like Windows 1.0. More than once mine has come within a nat's ass of being introduced to the wall at high velocity.)
---------- Post added at 11:59 PM ---------- Previous post was at 11:28 PM ----------
DonGateley said:
Doesn't work for me.
Click to expand...
Click to collapse
Oh, how utterly silly of me. Because I rooted long ago I didn't get the JB upgrade OTA so I'm still with ICS. The blob I needed was
http://techerrata.com/file/twrp2/tf201/openrecovery-twrp-2.3.3.0-tf201-ICS.blob
(At least I determined that flashing the JB blob onto ICS is not catastrophic.)
Maybe I'm not the only one in this state. It might be a good idea in the text to tell others of the ICS option.
The reason I'm here is that I want to install CM10 so I wanted to back up first. When I do that upgrade I assume this ICS TWRP will cease working and I will then need to fastboot flash the JB blob, right? Or might I have a "Can't get there from here" kind of problem?
Thanks for the links and write up.
2 questions.
Do I need an SD card or is the internal storage ok to use.
And, what part of this process roots the device?
Thanks!
**EDIT**
Never mind, I am a bonehead. I had my prime replaced due to a camera defect, so they shipped me a new one running JB.
So I have been away from teh forum a couple of months...didn't realize a way to get around locked, un-rooted, JB had been found.
Thanks again!
Sent from my Transformer Prime TF201 using xda app-developers app
Thanks for writing this up, I can't thank you enough. About a month ago I hard bricked my prime and had to send it in to Asus to have it repaired (thankfully I didn'y get charged). I tried installing twrp but didn't check the md5; this was well written. Wish I could give you a hug.
I know maybe some people will think I'm dumb now or something... But I want to ask before I begin and maybe brick it
So this really WORKS with the LATEST OTA update from Asus? I searched everywhere for days/weeks/months already and found this today so I'm a little bit sceptic, hope you understand me.

[VERY EASY GUIDE] ADB/FASTBOOT/RECOVORY *FULL GUIDE* for flashing ROMs, Kernels, APKs

Keep in mind bootloader unlock will not work if you have done the latest OTA update without previously using supercid. See bootloader unlock guide below for more details.
This procedure is designed to be EXTREMELY EASY and for people using windows. Following this guide will give you the knowledge you need to use ADB and Recovery menus in order to flash all of the ROMs, Kernels and APK (apps) files that you want. I am not responsible if anything undersireable happens in this procedure that makes you sad, poo yourself or ends the world.
Even if you have accidentally formatted your internal storage and you have no files on your phone, this section is down the bottom of the thread. Only follow this if you have no access to your phone and have nothing installed on your sdcard. For everybody else simply follow from step 1.
WINDOWS DRIVERS
You will need the USB drivers for your phone to communicate with your computer. You can search around and get these drivers separately or if that is not possible then please download and install The HTC Sync Manager from here
UNLOCKING YOUR BOOTLOADER
Since the new method came out, it is ridiculously easy to unlock your bootloader now. If you haven't unlocked your bootloader than please visit this thread and follow the instructions. I found this video on youtube that will make this process easier for you too.
INSTALLING ADB/FASTBOOT (SDK) (Please read this even if you have already installed this)
I would recommend following the guide to install adb (sdk) I have included below. If you have already done this step then keep in mind you should always have sdk updated and to make life easier rename your 'platform-tools' folder to something easier, for example rename the folder to android-adb. Now copy the 'android-adb' folder to a convenient location on your PC e.g: root of the C: so it will now look like this c:\android-adb *If you're having trouble locating this folder it will usually be here c:android-sdk-windows\platform-tools or something along those lines* At this stage the Windows’s Path Environment Variables will now have to suit this change, which in this case is: ;C:\android-adb - If you would prefer to leave things as they are than so be it and continue reading.
If this is all sounding too hard than you really need to start again and follow the EASY!!!!!! guide below
Make sure you have SDK installed and updated. If you haven't already than follow this extremely easy guide
DOWNLOADING REQUIRED FILES FOR FLASHING
(Download the following items listed below)
1. CWM Recovery This is what you will be using ALL THE TIME to flash ROMs and Kernel Modules. There is an alternative recovery called TWRP which can be found here but I am not using that right now so for the purpose of this guide please use CWM, if for some reason you need to use TWRP then the steps will be very similar just look on screen for the right area and touch the screen to select, pretty straight forward right?
2. Your desired ROM I would 100% recommend ViperDNA from HERE if not you can grab a different one from HERE or HERE
3. You now need all required kernel files you are planning to use with the ROM you have selected. If you don't have the kernel installed correctly you will face bugs, the most common is WiFi not working correctly (keeps searching) or something else like that. Now for the Droid DNA at the moment the kernel is broken down in to 2 parts. The first file is kernel modules and the second file is the the boot.img. Now whatever ROM you choose to download and install, it should already be using a specific kernel. When you flash a ROM the kernel modules will already be installed for the specific kernel the ROM is using.
For example If you listened to my advice and are going to use ViperDNA, this ROM already comes with the kernel modules required for the kernel it is using. The only thing that is left for you to do is download the second part of the kernel which is the boot.img file. Every kernel needs both the kernel modules and boot.img files to work 100% without fault, and every kernel has different modules and a boot.img that will only work for that specific kernel.
Each ROM should give you a download link for the required boot.img so just make sure to read the first few posts - If you are planning to use ViperDNA then it can be found on the first page post number 2 of the ViperDNA thread and it is named Stock DSB System Write Boot.img -
* If that wasn't already clear enough I would like to say that if you are download a complete kernel zip separately (which you can do) then you will get both files required. The first is the "already included in the ROM" kernel modules and the second file will be the boot.img - You can find all of the different kernels here - as you can see in this list the kernel included in ViperDNA is the one named "[KERNEL]Droid DNA Cubed Kernel Stock" - Once you have finished installing a ROM then I would recommend having a look at some different kernels if you want. Down the very bottom of this post I have included instructions on how to flash a kernel so please check it out.*
Now read this next part carefully. before doing anything else, I want you to prepare the files that you are going to be flashing with ADB.
PREPARING FILES FOR FLASHING
1. ** Using your computer, unzip your CWM Recovery zip and move the recovery.img to your platform-tools folder which you may or may not have renamed by now. this is where adb and fastboot.exe files are. for example If you have followed the guide I provided it will be c:\android-adb if not it will be whatever you have named it as, and wherever you have installed it to. Usually c:android-sdk-windows\platform-tools or something along those lines. I'm assuming by this stage you have changed the Windows’s Path Environment Variables, if not then you really should be following the very simple guide above!
(if you don't have a zip program, use this one)
2. ** Next I need you move the boot.img (for your kernel) to the same location you just moved your recovery.img (If you have followed my advice then you can get this file from the first page of the ViperDNA thread) if you didn't then the boot.img file might be on the first page of your desired ROM. *If you have downloaded the same kernel used in the ROM, but as a complete zip then you will need to unzip the kernel zip to access the boot.img and continue as above*.
Do not close the folder where you have copied these files, simply leave it open
3. ** Now connect your phone to a USB port. Sometimes it's best to stick to USB 2 rather than USB 3. Copy and paste the ROM.zip (Whatever the name of your ROM is, you don't need to rename it ) file that you want to flash over to your phone (make sure to not accidentally drop it in to an already existing folder) So as soon as you open the contents of your device it should be pasted right there - Once this is complete disconnect the phone and switch it off.
4. ** Boot your phone in to bootloader by holding down the "power button" and the "volume down" key at the same time until you see the bootloader screen on your phone. Now press the power button once to make sure you're in fastboot (If you don't your phone will not be found by ADB and will be constantly "waiting for device") - Now connect your phone to your computer again and continue reading
5. ** Back to your computer, while still in the same folder you have copied your recovery.img and boot.img I want you to hold the shift button at the same time as right clicking on a blank space inside the folder and click on "open command window here"
FLASHING YOUR FILES IN FASTBOOT
Now you are ready to flash your files. Starting with your recovery.img file and then followed by your kernels boot.img - In your command window type the following commands
1. ** To flash a recovery you will need to type**
fastboot flash recovery recovery.img
2. ** To flash your kernels boot.img you need to type**
fastboot flash boot boot.img
Before flashing the boot.img, you can in fact flash your ROM.zip with the instructions given below. However, it is strongly recommended to do it before you flash the boot.img. This is the standard procedure that should be used for every single ROM.
USING CWM FOR THE ROM INSTALLATION AND A CLEAN WIPING PROCEDURE
Go back to your phone and scroll down to where it says recovery and hit the power button. Your phone will now reboot in to CWM Recovery. (If you can't see the recovery option then you might be in the main bootloader menu screen, try pressing the power button once to change back to fastboot). Your phone should now reboot and display a white HTC screen and up the top it will read "Entering Recovery" - After it has finished you can now navigate through CWM Recovery by using the volume keys and pressing the power button to enter. Some versions of CWM you can also touch the screen to make selections. Lets begin
*WARNING* Although you don't have to, but if you do choose to use the recommended Step 3 which is found below, it will wipe all of your games and apps including saved game data and such. Don't worry all of your photos and music will be fine. Make sure to sync your contacts with your Google account**
1. Scroll down to -advanced and hit power, then do as follows
- wipe dalvik cache
-***go back***
2. Scroll down to -mounts and storage and hit power then:
-format system
-press your back key on the phone to go back
3. Scroll down to -wipe data/factory reset and hit the power button
"you can skip this process but it is a highly recommended one if you want less bugs in the ROM" (If you decide to skip make sure you you also -wipe cache partition which is in the same menu)
4. Scroll down to install zip from sdcard and hit power and then:
-choose zip from sdcard. (Locate your ROM.zip and hit power)
- Wait for this process to finish or follow on screen prompts from here on.
- go back to the main menu and reboot your device if it isn't already
This method will work with every other zip file that is flashable through CWM including kernel modules. You will not however need to follow all of the steps for wiping and such, simply just start from step 4
This is the end of my guide!. If you already have a ROM installed and you want to change the kernel, then scroll all the way to the bottom of this post
__________________________________________________________________________________________________________________________
*NOTE* KEEP SCROLLING DOWN IF YOU ARE LOOKING AT HOW TO FLASH A DIFFERENT KERNEL. THIS SECTION IS FOR PEOPLE WHO HAVE ACCIDENTALLY FORMATTED THEIR INTERAL STORAGE. OR FOR ANY OTHER RANDOM REASON YOU CAN'T USE A COMPUTER TO DROP AND DRAG FILES TO YOUR PHONE.
Place desired ROM, kernel modules, recovery files, or APK (apps) files inside the same folder your adb/fastboot.exe files. It's usually found here c:android-sdk-windows\platform-tools or something along those lines unless you have moved or renamed it. If you are having trouble then please follow the ADB installation guide I have listed at the beginning of this thread.
Now while your phone is booted in Android and you make sure to have USB Debugging on, we are going to push these files depending on the file type by typing in commands:
adb push ROM.zip /sdcard/ROM.zip ***replace the word ROM with the exact name of the file you are pushing***
For example if you were using ViperDNA ROM you would type: adb push ViperDNA-version2.3.zip /sdcard/ViperDNA-version2.3.zip
And if it was a kernel (boot) file you would change the name respectively. For example: adb push cubedversion1000.boot/sdcard/cubedversion1000.boot
Now for applications such as games etc. You can either install the game directly or push the file to you phone to be installed later. Personally I always like to install from my phone so I always just push the file. But I will give you both options. ***To clarify if you are confused right now: adb push will copy any file to the phone, whereas adb install will only accept an apk file, and will install it onto the device***
To install an apk, it is quite simple, however it has a different path than what we have spoken about previously. The files will automatically push install themself in the correct area with your current installed apps .
If you want to install apps then you would type:
adb install apkfile
***For example if it is the game temple run, it would look like this: adb install templerun.apk
If you would prefer to manually install the game from your phone than you will need to push the file like we have mentioned already with the other file types:
adb push templerun.apk/sdcard/templerun.apk
Now remember if your phone is working correctly you can simply copy and paste all of these files directly to your phone and then flash in recovery for your ROMs or if you want to install apps you would then use a file explorer and locate the apk on your sdcard of the phone and then install it all from your phone. This was simply written for people that have no files on their sdcard due to accidental formatting of internal memory
INSTALLING ANOTHER KERNEL
If you have flashed a ROM and do want to use a kernel that isn't included with your ROM, then you can get another one from HERE Now this process is exactly the same as the stuff you have already done. Instead you will need to flash both of the kernel files included in the kernel zip file.
The first part is identical to what you did earlier. Move the boot.img file to the same place I mentioned earlier in this guide, and flash it the same way I mentioned in fastboot. This time the path will need to be changed because it is a boot file not a recovery file. So use this command: fastboot flash boot boot.img
In this second part move the kernel modules file to your phone and do exactly the same as you did in order to flash the ROM in CWM Recovery as mentioned earlier, only this time start from step 9 section 4.
That is all. Keep in mind things like wifi might not work if you forget to flash the kernel modules! - Just be sure it is always a 2 step process.
*Credits*
nitsuj17 for the greatest ROM on our phone ViperDNA
Jailbreak Eye for the wonderful ADB guide
DroidModd3rX for his video
dsb9938 for his awesome kernel work
jcase and beaups for their unlocking methods
htcdev.com for the unlocking
All of the fantastic developers for Android
Good guide. I would suggest adding a link to unlocking the phone because you have the about everything else. I really like that you included changing PATH and such in your guide because a lot of people kept getting the adb not found stuff.
I need a video. Its hard for me to learn so much by reading, esp when you could brick your phone.
good write up though!
Followed instructions and it says
sending 'recovery' (6944 KB)... OKAY [ 1.162s]
writing 'recovery'... OKAY [ 0.760s]
finished. total time: 1.924s
Then i go back to the recovery and go to it, does the HTC recovery..Also going back into the boot screen, the top says unlocked but also now says tampered on top.
treahuggs said:
I need a video. Its hard for me to learn so much by reading, esp when you could brick your phone.
good write up though!
Followed instructions and it says
sending 'recovery' (6944 KB)... OKAY [ 1.162s]
writing 'recovery'... OKAY [ 0.760s]
finished. total time: 1.924s
Then i go back to the recovery and go to it, does the HTC recovery..
Click to expand...
Click to collapse
I would reboot the phone in to bootloader mode and then press the power button once to switch to the fastboot menu. Now scroll down to recovery again and press the power button. If this doesn't work than try flashing the recovery again using the step for it. When you do in fact click on recovery in your bootloader, does it reboot in to a white HTC screen that says up the top Entering recovery?
A video would be extremely tedious to make for this guide. If you have already unlocked your bootloader than the bricking of this device would be drastically minimised. I wouldn't worry too much at this stage.
uppon2 said:
I would reboot the phone in to bootloader mode and then press the power button once to switch to the fastboot menu. Now scroll down to recovery again and press the power button. If this doesn't work than try flashing the recovery again using the step for it. When you do in fact click on recovery in your bootloader, does it reboot in to a while screen that says up the top Entering recovery?
A video would be extremely tedious to make for this guide. If you have already unlocked your bootloader than the bricking of this device would be drastically minimised. I wouldn't worry too much at this stage.
Click to expand...
Click to collapse
Yes it says that.
Let me ask some questions, you say copy the complete ROM.zip over to the phone. Where at on the phone? Does it have to be named ROM.zip?
Does the CWM need to be copied over too? Using your guide to download the viper files and the second boot.img is confusing since the .zip with the viper has a boot.img with it, should we use that, ignore it, or what?
I thank you for taking the time to write a guide but with so many variables that are being used and referenced, there needs to be more specific instructions.
ALL i want to do is use mt titanium backup to get my old apps and app data on my DNA. Is it really this many steps just to gain root access to the DNA? With the Razr maxx it was just connecting it to the computer in debugging mode, and running a batch file.
:victory:
---------- Post added at 06:21 PM ---------- Previous post was at 06:15 PM ----------
:silly:
treahuggs said:
Yes it says that.
Let me ask some questions, you say copy the complete ROM.zip over to the phone. Where at on the phone? Does it have to be named ROM.zip?
Does the CWM need to be copied over too? Using your guide to download the viper files and the second boot.img is confusing since the .zip with the viper has a boot.img with it, should we use that, ignore it, or what?
I thank you for taking the time to write a guide but with so many variables that are being used and referenced, there needs to be more specific instructions.
ALL i want to do is use mt titanium backup to get my old apps and app data on my DNA. Is it really this many steps just to gain root access to the DNA? With the Razr maxx it was just connecting it to the computer in debugging mode, and running a batch file.
Click to expand...
Click to collapse
1. Sorry I didn't mean to put complete at the beginning of ROM.zip and no you do not need to rename the ROM zip file
2. To avoid confusing anybody, please ignore the boot.img file inside of the ROM
3. If you read the whole guide you will know exactly what to do with CWM file and every other file
4. It is unfortunately an annoying process to root this phone. However if you follow the guide completely you will have root. I'm not sure about a batch process for the DNA, sorry. It makes it very hard that we can't write to system easily, if and only if we gain this access will we be able to pack the the files which installs the su binary and busybox in to the kernels like you would find with other phones such as Samsung etc. Then you would be able to just flash a kernel and have root, without installing a custom ROM. (I could be wrong and would like further education here from other users as there might in fact be a file flashable through fastboot or recovery that gives you root and nothing else, I simply don't know about this file)
Ok where do you put the downloaded files onto the phone. When you plug the phone in you get many different windows pop up that is gives you access to different parts in the phone.
EDIT: of the three opitions that pop up when you plug the phone in only one is large enough for the viper rom so it has the viper folder AS WELL as the .zip onto it now.
My paths are "C:\android" for all my android files like the adb and the boot.img and recovery.img. I am able to write the two .img files to the phone with the console telling me it wrote ok.
I go to the recovery on the phone and it says entering recovery on the top of the phone screen but then it boots straight into android.
I will redownload all of the files, if anyone else has any ideas id love to hear.
EDIT 2: Got it to work, i think the CWM files were the problem. I just used the TWRP files and it is flashing now! Also found this video which was a huge help. http://www.youtube.com/watch?v=vAwfgi0suJQ
treahuggs said:
Ok where do you put the downloaded files onto the phone. When you plug the phone in you get many different windows pop up that is gives you access to different parts in the phone.
EDIT: of the three opitions that pop up when you plug the phone in only one is large enough for the viper rom so it has the viper folder AS WELL as the .zip onto it now.
My paths are "C:\android" for all my android files like the adb and the boot.img and recovery.img. I am able to write the two .img files to the phone with the console telling me it wrote ok.
I go to the recovery on the phone and it says entering recovery on the top of the phone screen but then it boots straight into android.
I will redownload all of the files, if anyone else has any ideas id love to hear.
EDIT 2: Got it to work, i think the CWM files were the problem. I just used the TWRP files and it is flashing now! Also found this video which was a huge help. http://www.youtube.com/watch?v=vAwfgi0suJQ
Click to expand...
Click to collapse
I'm glad you got it working
Kinda, i have wifi issues. Ive read thats because of the boot.img. Ive tried both boot.img files that you can get with the ViperDNA page and both dont seem to work.
Nvm... again. I have been writing "fastboot flash recovery boot.img" instead of boot... I feel like a noob to reading.
treahuggs said:
Kinda, i have wifi issues. Ive read thats because of the boot.img. Ive tried both boot.img files that you can get with the ViperDNA page and both dont seem to work.
Nvm... again. I have been writing "fastboot flash recovery boot.img" instead of boot... I feel like a noob to reading.
Click to expand...
Click to collapse
Hehe, I did mention that I tried to be as clear as possible with my instructions - How are you liking ViperDNA? Be sure to check out all of the options in viper tweaks
2. ** To flash your kernels boot.img you need to type**
fastboot flash boot boot.img
Before flashing the boot.img, you can in fact flash your ROM.zip with the instructions given below. However, it is strongly recommended to do it before you flash the boot.img. This is the standard procedure that should be used for every single ROM.
Click to expand...
Click to collapse
I find this part a bit confusing. Can you reword? Am I supposed to flash boot.img first then flash my rom or flash my rom first and then flash the boot.img? The "however" is making me hesitant!
Thanks for this wonderful guide!
---------- Post added at 01:49 AM ---------- Previous post was at 01:20 AM ----------
ro roh,
I am now stuck at the htc white screen with the red lettering at the bottom. I held the power button down and the power + vol down and both times the three lights at the bottom (back key, home, and recent apps) just flash at me.
I got it to go back into HBOOT by holding down power + vol down for about 12 secs, it restarts itself.. and when i tell it to reboot, it just goes back to the same screen and gets stuck.
I think i fixed it now. I went back to fastboot, flashed the recovery.img, the boot.img and then launched into cwm and reflashed viper rom. Looks like its working again.
adamjamess said:
I find this part a bit confusing. Can you reword? Am I supposed to flash boot.img first then flash my rom or flash my rom first and then flash the boot.img? The "however" is making me hesitant!
Thanks for this wonderful guide!
---------- Post added at 01:49 AM ---------- Previous post was at 01:20 AM ----------
ro roh,
I am now stuck at the htc white screen with the red lettering at the bottom. I held the power button down and the power + vol down and both times the three lights at the bottom (back key, home, and recent apps) just flash at me.
I got it to go back into HBOOT by holding down power + vol down for about 12 secs, it restarts itself.. and when i tell it to reboot, it just goes back to the same screen and gets stuck.
I think i fixed it now. I went back to fastboot, flashed the recovery.img, the boot.img and then launched into cwm and reflashed viper rom. Looks like its working again.
Click to expand...
Click to collapse
That's great news. I'm glad you worked it out. Because it is such a long guide, it does get a little bit repetitive and hard to concentrate on. You can flash the kernels boot.img before or after the ROM. You might have random issues with the ROM until you do flash the boot.img. It's really not dangerous or anything. I would say if this was your first time ever flashing a ROM on to the device, it would be safest to flash the boot.img first.
I might take this information out that you have brought up because I think I am giving too much information that is not needed right now. Even though it is factual, it can sometimes confuse people. I will leave it in there for now but if 1 more person is a bit held back because of it I'm going to reword it
I love ViperDNA Do you like it so far?
So far i like it. I tried their theme first but i dont like all the red cause i feel like it is telling me something is wrong so i re did it without the theme, Now only the clock is red and i still want to find a way to change that.
Also this phone will be sent back to verizon tomorrow for a replacement. Can i put it back to stock and also get rid of the "tampered" in the boot screen?
I was pretty impressed with the ViperDNA video review. So far it's given me what I was looking for: 3 dot menu gone, wifi nag, and gps reticule gone. I like the red accents. Although the round icons that are all red are ugly. I have the employee edition of the dna so some red goes well with the back. Again thanks for this!
Edit: The status bar tweaks don't allow me to hide NFC icon!
Edit 2: How do I get the sweep to lock and unlock to work?
Sent from my HTC6435LVW using Tapatalk 2
adamjamess said:
I was pretty impressed with the ViperDNA video review. So far it's given me what I was looking for: 3 dot menu gone, wifi nag, and gps reticule gone. I like the red accents. Although the round icons that are all red are ugly. I have the employee edition of the dna so some red goes well with the back. Again thanks for this!
Edit: The status bar tweaks don't allow me to hide NFC icon!
Edit 2: How do I get the sweep to lock and unlock to work?
Sent from my HTC6435LVW using Tapatalk 2
Click to expand...
Click to collapse
I believe it will depend on your kernel too. If you use cubed it will work, I tested with elkays and it didn't work. If you are not sure how to activate this then open up viper tweaks. For slide2wake the option is in lockscreen and another good feature is hold back to kill which is in the buttons tab. Good luck
Sent from my HTC6435LVW using Tapatalk 2
uppon2 said:
I believe it will depend on your kernel too. If you use cubed it will work, I tested with elkays and it didn't work. If you are not sure how to activate this then open up viper tweaks. For slide2wake the option is in lockscreen and another good feature is hold back to kill which is in the buttons tab. Good luck
Sent from my HTC6435LVW using Tapatalk 2
Click to expand...
Click to collapse
For some reason the option is grayed out.
Sent from my HTC6435LVW using Tapatalk 2
adamjamess said:
For some reason the option is grayed out.
Sent from my HTC6435LVW using Tapatalk 2
Click to expand...
Click to collapse
The bottom one "Enable slide 2 unlock" you already have checked is all you need for it to work. This is the only option I have checked out of the last 4 options and it works fine for me. Try to uncheck the option to "Block Pulldown" if you are having problems? I did try to enable "Block Pulldown" but I could not reproduce your problem. Mine is working fine.
Which kernel are you using?
Dsb's cubed. The one recommended in your guide.
Sent from my HTC6435LVW using Tapatalk 2
adamjamess said:
Dsb's cubed. The one recommended in your guide.
Sent from my HTC6435LVW using Tapatalk 2
Click to expand...
Click to collapse
Should be working. You might want to leave a comment in the kernel and ViperDNA threads. As long as that bottom option is checked it should work with Cubed

[Guide][How-To][Root] Sony Xperia Z3v [D6708] [5.1.1] [Latest]

Ladies and gentlemen, I would like to present to you all a formal guide to venture into one of the best smartphones in the market, the underdog to the other mass marketers, the Sony Xperia Z3v for Verizon!
*Please note I am not responsible for any bricking, destruction of your device, alien invasions, or any other problems. It is up to the user's choice to seek out what is done on your device on your own terms.*
This is the method I would recommend that's much quicker and efficient is Kingroot. I know there were some previous controversy about what could be behind Kingroot, but from what I will show here is using Kingroot as leverage to gain access quickly into my prerooted Lollipop firmware that can stand alone after removing Kingroot afterwards.
1. Have the Z3v in your possession.
2. Google "Kingroot" and download for Android and run the rooting process there.
3. Download "Superuser" from the Play Store to have the binary to run root fully. (Optional just in case the next step doesn't work)
4. Install XZDualRecovery (grab the flashinstaller for the Xperia Z3) to install TWRP from here: http://nut.xperia-files.com/path/XZ...40vagg0tpcrnm1vlnt63je5&randomizer=_ehkq575vz
(The link is subject to change, so if that happens, navigate through here: http://nut.xperia-files.com/)
5. Download my new 5.1.1 prerooted Lollipop zip from my thread here: http://forum.xda-developers.com/z3/...08-prerooted-lollipop-5-1-1-23-4-b-0-t3338967
6. Access TWRP by opening an app called NDR Utils in your App Drawer
7. Flash my zip through the install button and now you'll be on the latest prerooted stock build of Lollipop with a few mods.
Optional Step 8. Uninstall any traces of Kingroot from your phone and you're good to go. This step may already be done for you after you flash the prerooted because reportedly there were already no traces left behind. Enjoy!
Thanks to the following people:
@zxz0O0, for achieving root for our Z3v
@jal3223, for helping me as much as you can to guide me through myself
@[NUT], for the custom recovery to install onto our Xperia devices
Please hit thanks for the all in one guide to freedom!
hey man,
im getting stuck after running root.bat
i get javaruntime =null error
did you experience this and do you know what i should do.
also the java link you provided is dead
Mountainfisher said:
hey man,
im getting stuck after running root.bat
i get javaruntime =null error
did you experience this and do you know what i should do.
also the java link you provided is dead
Click to expand...
Click to collapse
At that point, that's what was stopping me too. What I did was just go ahead and redownload the root files, uninstall all Java on my desktop and resintall it. Then try again to make it work.
GigaSPX said:
At that point, that's what was stopping me too. What I did was just go ahead and redownload the root files, uninstall all Java on my desktop and resintall it. Then try again to make it work.
Click to expand...
Click to collapse
What do you think are chances are of unlocking our bootloader now? Sony's unlock site will give us an unlock key for our device. I'm not sure what is holding us up.
Oh No, I vowed to stop messing with my phones....
jal3223 said:
What do you think are chances are of unlocking our bootloader now? Sony's unlock site will give us an unlock key for our device. I'm not sure what is holding us up.
Click to expand...
Click to collapse
Personally, I'm fine without doing custom ROMs. I like how Sony's UI works as it is and I prefer it that way than going full AOSP like any other Nexus phone. I just like to buy what came with the package as is intended.
Bobby Buggs said:
Oh No, I vowed to stop messing with my phones....
Click to expand...
Click to collapse
This is well worth to do. I installed Xposed, and unlocked some awesome stuff. Such as using Superior Auto mode with 15 mp right off the start or 20.7 MP. Greater the details, amazing functions made.
Oh and also, I will now proceed to upload the flashable zip of the latest FW being prerooted. Just so there's some better things to deal with.
Ive uninstalled java, reinstalled java, factory reset twice, still the java runtime error =null
im bout cooked for today
Mountainfisher said:
Ive uninstalled java, reinstalled java, factory reset twice, still the java runtime error =null
im bout cooked for today
Click to expand...
Click to collapse
This guy said it took him 10 times so I am going to keep trying till it works!
sthrnsprtsmn said:
I was getting the same errors. I had to factory reset the phone multiple times and redo the steps. On about the 10th time, it took. I skipped the phone set up steps, and kept a root checker apk on my sd card to speed it up. Also, I unchecked the verify apps over USB. I didn't see that mentioned anywhere.
Time to send my donation. Thank you very much @zxz0O0
Click to expand...
Click to collapse
Perhaps I'm missing something. What is the secret to getting flashtool to recognize the ftf after you have moved it to the root of the firmwares folder and first open flashtool. A pop up tells me to move the file but it is already there. I love and loathe this hobby.
JediDru said:
Perhaps I'm missing something. What is the secret to getting flashtool to recognize the ftf after you have moved it to the root of the firmwares folder and first open flashtool. A pop up tells me to move the file but it is already there. I love and loathe this hobby.
Click to expand...
Click to collapse
Your C:/flashtool/firmware folder should be empty. Place the firmware you want to use in /USERNAME/.flashtool/firmware
make sure you uninstall all java and re install fresh!! that was what was holding me up
Someone should do a youtube of this process live
6. Follow the instruction exactly as stated then proceed. , I dont see the instructions.
Of course my phone is at 0 .E. 1 .44 build, so that means I have to go back to the older build, do this root and then reflash to the 1 .44 build?
Bobby Buggs said:
6. Follow the instruction exactly as stated then proceed. , I dont see the instructions.
Of course my phone is at 0 .E. 1 .44 build, so that means I have to go back to the older build, do this root and then reflash to the 1 .44 build?
Click to expand...
Click to collapse
You completely skipped steps 1 and 2 because you're on the latest build. Step 6 is following the instructions that are listed within the exploit.bat.
You won't be reflashing the latest until you've followed through to the new list of steps that occurs after 9.
Giga, sent you a Pm
---------- Post added at 09:31 AM ---------- Previous post was at 09:20 AM ----------
Call me a idiot but I dont see any instructions, I ran the exploit file and my screen shows daemon started successfully but nothing else
ROOT Z3V
This is how I did it. following GigaSPX's instructions
1. If you are NOT on stock shipped ROM, 23.0.E.0.376 / R15B, please download here
Downloaded the firmware
2. After having downloaded the FTF, please proceed to using the flashtool to flash your phone. Place your FTF in the firmware folder of the .flashtool folder to run from therein this process I found out that you don't want to just copy the files but use cut and paste. and I added the firmware i downloaded. You may uncheck Data from wipe.*
I turned the phone off, held volume down and connected the phone to the USB cable attached to the pc.
3. Download the files to root right here.
downloaded the root files but I actually downloaded these files http://forum.xda-developers.com/showpost.php?p=60529402&postcount=232
4. Grab the Java Development Kit from here. To prevent issues, you may want to uninstall Java existing on your computer to do a fresh install of this.
5. Extract the zip of the root files into a place and then run exploit.bat.
when i reached this the phone asks to let your pc connect, then you click ok... (im assuming you have developer options usb debugging enabled and allow unknown sources checked) When the exploit stops, go to your phone and go to Developer options and click on Select Debug app and choose the test2app then enable "wait for debugger"
6. Follow the instruction exactly as stated then proceed.
because I used that those root files, the process ended here since that root runs automatically after the exploit ends. phone restarted and verizon will give you the OTA update, which BTW it doesnt make you loose root
7. Once it stops at a line saying "please continue to press any key", go back to the folder named as "root" and run root.bat from there.
8. Your phone will reboot from here and you will enjoy root. If it doesn't work, try again a few times while going to command prompt and enter the following line to do a fresh cleanup before trying again:
I hope this is not too confusing. if it is I apologize. let me know and I'll take it down so I don't confuse people more
xratablancax- After you run the exploit file the root one opens by itself? I am not having this. I have to manually open both the exploit once it is finished, I then have to click the root method to get that going. Trying to clarify. I haven't gotten past the Java Null error. I know a few folks that might have me do this for them and I would like to do it for them. Lets say I don't get it. Will I still receive an OTA to get back to the latest? Or will I have to build or find an FTF to do so. Thanks.
Great write up!
Thanks for the time and effort you put on rooting our abandoned Z3v.
Really look forward to flashing the Pre-rooted firmware that you're about to made
xratablancax said:
This is how I did it. following GigaSPX's instructions
1. If you are NOT on stock shipped ROM, 23.0.E.0.376 / R15B, please download here
Downloaded the firmware
2. After having downloaded the FTF, please proceed to using the flashtool to flash your phone. Place your FTF in the firmware folder of the .flashtool folder to run from therein this process I found out that you don't want to just copy the files but use cut and paste. and I added the firmware i downloaded. You may uncheck Data from wipe.*
I turned the phone off, held volume down and connected the phone to the USB cable attached to the pc.
3. Download the files to root right here.
downloaded the root files but I actually downloaded these files http://forum.xda-developers.com/showpost.php?p=60529402&postcount=232
4. Grab the Java Development Kit from here. To prevent issues, you may want to uninstall Java existing on your computer to do a fresh install of this.
5. Extract the zip of the root files into a place and then run exploit.bat.
when i reached this the phone asks to let your pc connect, then you click ok... (im assuming you have developer options usb debugging enabled and allow unknown sources checked) When the exploit stops, go to your phone and go to Developer options and click on Select Debug app and choose the test2app then enable "wait for debugger"
6. Follow the instruction exactly as stated then proceed.
because I used that those root files, the process ended here since that root runs automatically after the exploit ends. phone restarted and verizon will give you the OTA update, which BTW it doesnt make you loose root
7. Once it stops at a line saying "please continue to press any key", go back to the folder named as "root" and run root.bat from there.
8. Your phone will reboot from here and you will enjoy root. If it doesn't work, try again a few times while going to command prompt and enter the following line to do a fresh cleanup before trying again:
I hope this is not too confusing. if it is I apologize. let me know and I'll take it down so I don't confuse people more
Click to expand...
Click to collapse
JediDru said:
xratablancax- After you run the exploit file the root one opens by itself? I am not having this. I have to manually open both the exploit once it is finished, I then have to click the root method to get that going. Trying to clarify. I haven't gotten past the Java Null error. I know a few folks that might have me do this for them and I would like to do it for them. Lets say I don't get it. Will I still receive an OTA to get back to the latest? Or will I have to build or find an FTF to do so. Thanks.
Click to expand...
Click to collapse
What line of code
JediDru said:
xratablancax- After you run the exploit file the root one opens by itself? I am not having this. I have to manually open both the exploit once it is finished, I then have to click the root method to get that going. Trying to clarify. I haven't gotten past the Java Null error. I know a few folks that might have me do this for them and I would like to do it for them. Lets say I don't get it. Will I still receive an OTA to get back to the latest? Or will I have to build or find an FTF to do so. Thanks.
Click to expand...
Click to collapse
If you look at the link I provided, that gives your a different set of root files, one that the Exploit runs and right after root runs automatically.
VERY IMPORTANT... YOU NEED TO FLASH YOUR DEVICE TO STOCK ROM, YOUR DEVICE NEEDS TO BE IN ROM, 23.0.E.0.376, BACKUP DEVICE, FLASH THEN ROOT THEN OTA UPDATE

Categories

Resources