[Q] Question about rooting - HTC One Max

So I recently had my phone temporarily rooted via weaksauce, however, after updating to Sense 6 with the Verizon OTA update, weaksauce will not root properly and it continues to fail. Is there no way to fix this or am I missing something with the OTA update? I sort of need to use weaksauce because I am not confident in my rooting ability to be able to restore the phone to factory when I turn it in for an upgrade in a few months.

none
I would start over. The posts on how to root are very good. There are also youtube videos you can watch. It really is very easy to root this device. if nothing else load a program called team viewer on your computer and I will root it for you, but I want you to try first. You will use something called rumrunner. PM me if you need help

AlphaMons said:
So I recently had my phone temporarily rooted via weaksauce, however, after updating to Sense 6 with the Verizon OTA update, weaksauce will not root properly and it continues to fail. Is there no way to fix this or am I missing something with the OTA update? I sort of need to use weaksauce because I am not confident in my rooting ability to be able to restore the phone to factory when I turn it in for an upgrade in a few months.
Click to expand...
Click to collapse
I would second that. If you are going to root a phone for the first time this is the one to start with. It is extremely well documented and this is a very helpful forum. I had the same feelings when I started (HTC Wildfire) back in the day and I did about everything wrong but in the end figured it out. Now there a several helpful threads and videos as stated above. I would recommend that you do a dry run, have everything together and go through the steps one by one in your mind or on paper before doing the actual root. You may miss something but your odds are better. Trust yourself I thoroughly believe any can root this phone and it's easier than you think and the value besides learning of the great ROMs that are here etc. is well worth it. Even if you temp root it you are going to have to know what to do to get it back before you turn it in so the knowledge will be necessary.

Are you on hboot 2.49

statmonkey said:
I would second that. If you are going to root a phone for the first time this is the one to start with. It is extremely well documented and this is a very helpful forum. I had the same feelings when I started (HTC Wildfire) back in the day and I did about everything wrong but in the end figured it out. Now there a several helpful threads and videos as stated above. I would recommend that you do a dry run, have everything together and go through the steps one by one in your mind or on paper before doing the actual root. You may miss something but your odds are better. Trust yourself I thoroughly believe any can root this phone and it's easier than you think and the value besides learning of the great ROMs that are here etc. is well worth it. Even if you temp root it you are going to have to know what to do to get it back before you turn it in so the knowledge will be necessary.
Click to expand...
Click to collapse
rumrunner will not work if he's on the ota update of sense 6, he will have to flash a custom recovery, do a nandroid backup, flash vipermax rom, and run firewater.
as to the OP, it's very easy to do, follow the guides for setting up SDK/ADB, download the appropriate custom recovery for your device (i personally like TWRP the best), place that file in your adb folder that you made from the SDK/ADB guide, unlock your bootloader if not already (i did mine via HTCdev, they have a guide). then boot into the bootloader via power+vol down, scroll with volume keys, and select with power button, go to fastboot, plug in your usb cable to your computer, if you have the drivers it will change on your device "fastboot usb". then open up a command prompt in your SDK/ADB folder (do this by shift+right click in the folder and select open command prompt here). in your command prompt type in "adb devices" to make sure your drivers are right and it see's your device. now type in "fastboot oem rebootRUU", your phone will go to a black screen that says HTC on it. now type in "fastboot flash recovery "put the name of the recovery file here".img", then after that completes without any errors, type "fastboot reboot-bootloader" press the power button with bootloader selected, scroll to recovery and press power button, once you're in recovery, do a nand backup of your stock rom, after you've done that while still in recovery, i would strongly suggest saving this backup file to your computer, you can do this in ADB by typing in "adb pull /sdcard/TWRP" and it will pull the entire directory with your backup in it.
to gain s-off and fullroot, download vipermax rom for your device, while in recovery still, you can put the rom zip file in your ADB folder, and in ADB type "adb push "Name of the zip file" /sdcard" and it will copy and paste the rom zip to your sd card, once you see it finish in the command prompt, click on install on your phone, scroll to the zip file and click on it.
when the phone boots up, make sure you connect to wifi and go through the setup, once that is done download the Firewater file, and follow the instructions. and you should get s-off, now in adb type "adb reboot recovery" and then click on restore, and restore your stock rom, now you're stock rooted, with s-off.
set up ADB guide/download here http://forum.xda-developers.com/sho...mctr=(not provided)&__utmv=-&__utmk=226534558
TWRP guid/download here http://forum.xda-developers.com/showthread.php?t=2498746
Vipermax rom download here http://forum.xda-developers.com/showthread.php?t=2596938
Firewater guide/downloade here http://firewater-soff.com/instructions/
And i think that should be it, if after you do this and want to flash back stock recovery it's pretty simple, find and download the recovery image for the version of rom, you're using, for instance, your ota update should or will probably be in your downloads folder, if you open it with zip, (i use winrar) you will find a zip in it named "Firmware.zip" open it up, and you will see a file named recovery, extract it to your ADB Folder, boot into the "Fastboot oem rebootRUU", then simply type "fastboot flash recovery recovery.img" let that finish, then type "fastboot reboot" and it will start your phone, and now you'll have the stock recovery and be able to receive and install future OTA updates, if there is any. >.<

mrkrowely said:
rumrunner will not work if he's on the ota update of sense 6, he will have to flash a custom recovery, do a nandroid backup, flash vipermax rom, and run firewater.
as to the OP, it's very easy to do, follow the guides for setting up SDK/ADB, download the appropriate custom recovery for your device (i personally like TWRP the best), place that file in your adb folder that you made from the SDK/ADB guide, unlock your bootloader if not already (i did mine via HTCdev, they have a guide). then boot into the bootloader via power+vol down, scroll with volume keys, and select with power button, go to fastboot, plug in your usb cable to your computer, if you have the drivers it will change on your device "fastboot usb". then open up a command prompt in your SDK/ADB folder (do this by shift+right click in the folder and select open command prompt here). in your command prompt type in "adb devices" to make sure your drivers are right and it see's your device. now type in "fastboot oem rebootRUU", your phone will go to a black screen that says HTC on it. now type in "fastboot flash recovery "put the name of the recovery file here".img", then after that completes without any errors, type "fastboot reboot-bootloader" press the power button with bootloader selected, scroll to recovery and press power button, once you're in recovery, do a nand backup of your stock rom, after you've done that while still in recovery, i would strongly suggest saving this backup file to your computer, you can do this in ADB by typing in "adb pull /sdcard/TWRP" and it will pull the entire directory with your backup in it.
to gain s-off and fullroot, download vipermax rom for your device, while in recovery still, you can put the rom zip file in your ADB folder, and in ADB type "adb push "Name of the zip file" /sdcard" and it will copy and paste the rom zip to your sd card, once you see it finish in the command prompt, click on install on your phone, scroll to the zip file and click on it.
when the phone boots up, make sure you connect to wifi and go through the setup, once that is done download the Firewater file, and follow the instructions. and you should get s-off, now in adb type "adb reboot recovery" and then click on restore, and restore your stock rom, now you're stock rooted, with s-off.
set up ADB guide/download here http://forum.xda-developers.com/sho...mctr=(not provided)&__utmv=-&__utmk=226534558
TWRP guid/download here http://forum.xda-developers.com/showthread.php?t=2498746
Vipermax rom download here http://forum.xda-developers.com/showthread.php?t=2596938
Firewater guide/downloade here http://firewater-soff.com/instructions/
And i think that should be it, if after you do this and want to flash back stock recovery it's pretty simple, find and download the recovery image for the version of rom, you're using, for instance, your ota update should or will probably be in your downloads folder, if you open it with zip, (i use winrar) you will find a zip in it named "Firmware.zip" open it up, and you will see a file named recovery, extract it to your ADB Folder, boot into the "Fastboot oem rebootRUU", then simply type "fastboot flash recovery recovery.img" let that finish, then type "fastboot reboot" and it will start your phone, and now you'll have the stock recovery and be able to receive and install future OTA updates, if there is any. >.<
Click to expand...
Click to collapse
Really an excellent post it's nice to have all that in one place. I also was unable to get rumrunner to work and have used firewater quite successfully (which was part of what I was trying to point out above). Also, I was unable to get HTCdev to unlock my phone. That may or may not be about me. I am a Linux person and I think I might have had the wrong adb/fastboot at the time. The one in the android sdk did not work for me but for anyone on LInux who is interested the one in this link did http://forum.xda-developers.com/htc-one-max/help/andrenaline-rom-constant-reboot-t2853591
Once again, excellent summary, I will be bookmarking this for later.

I think all of the above info is great and everyone trying to help is awesome. However I really liked having a soft root via weaksauce for a very limited amount of apps like titanium backup and root explorer. So am I to understand that there is no newer Weaksauce or similar available for 4.4.2 and sense 6?
Enjoyment to the MAX!

bryanfritz1 said:
I think all of the above info is great and everyone trying to help is awesome. However I really liked having a soft root via weaksauce for a very limited amount of apps like titanium backup and root explorer. So am I to understand that there is no newer Weaksauce or similar available for 4.4.2 and sense 6?
Enjoyment to the MAX!
Click to expand...
Click to collapse
As far as I am aware firewater still works. I used it just a few days ago and just saw a post today http://forum.xda-developers.com/htc-one-max/help/gain-s-off-t2849836 although he doesn't clearly state that he was using sense 6,

Related

[Guide][2012]Noob guide to S-On flashing boot.img files--how to make s-off roms work

Hello,
Point of this is to get s-off roms to work on an s-on phone, s-on is how a phone is stock, so if you dont know which you are or what this is, your phone came s-on and thats what you have.
Thought I would make a quick noob guide to flashing boot.img files for the S-on users. It was something that confused me and thanks to a few guys in here I got it going and want to return the favor by making a SUPER easy (hopefully) list of directions. Any input on making these directions easier would be appreciated as well. Keep in mind you already need to have an unlocked bootloader which you can do through htc and have installed amonra recovery to flash your rom. I had an easy time using hasoon2000's all in one tool kit found in here for unlocking and flashing the amonra recovery. I am assuming your comfortable flashing roms at this point and have probably even tried a few but now want to try the s-off ones without actually going s-off.
Doing this you take your own responsibility for whatever may happen, but this works on my phone and should on yours too.
Needed programs:
Android sdk toolkit http://developer.android.com/sdk/index.html
HTC drivers http://www.htc.com/www/software/htc-sync-manager/
winrar or winzip- I use download.com
rom of choice
Read the directions first and understand them before you flash an s-off rom on your phone. If you mess up dont worry make a backup so you can restore it to working order or have a safe rom you know already works handy in case something goes wrong.
Whenever you see something in quotes, type only whats inside the quotes and dont include the quotes.
---------------------------------------------------------
setting up the computer for this process
---------------------------------------------------------
Step 1: Download the android sdk toolkit, htc drivers/snyc, winrar and install them
Go ahead, download the programs and install them the normal way they guide you to do. Pay attention when installing the android toolkit, it will tell you where it is going to save it too, it will come in handy on step 2, but I also include where it saved it on my computer in step 2. This should be the same for all windows 7 computers as well as vista.
Note: during sdk toolkit install select install for only me option or it wont put it in the correct directory in windows.
Step 2: Locate the installed folder and make a shortcut onto your desktop
-you need to go into your c drive in windows, then its most likely stored in the users folder, then click the user name you have, then appdata, then local, then android. Once at android-sdk right click and select send to desktop to make a shortcut. Now click on android-sdk and do the same for the platform-tools folder.
The folder path will be similar to the one below:
android-sdk folder path C:\Users\yourUSERname\AppData\Local\Android\android-sdk
platform-tools path C:\Users\yourUSERname\AppData\Local\Android\android-sdk\platform-tools
------------------------------------------------------------------------------------------------------------
At this point lets assume you have the s-off rom on your phone and your pc
------------------------------------------------------------------------------------------------------------
Step 3: Place the boot.img file of the rom your going to install into the folder: platform-tools
How do you get the boot.img? Well you have to get the rom you want and extract it from the rom zip file. That's where winrar or winzip come in handy. Make a folder on your desktop and name it whatever you want, I name them with the rom name. Now place your rom in here, right click the rom, and you will see an extract option. "Extract to here" will be there with winrar but winzip should have the option too. Once all the files are extracted you will see another file called boot.img. That is the boot file you need to install to get the rom working. Now that you have the file handy, right click and select copy. Now go into the platform-tools shortcut you made on your desktop and paste the boot.img file there.
---------------------------------------------
If you read everything already and understand it, this is where you can start flashing your s-off rom on your phone and wait for it to finish
---------------------------------------------
Step 4: Open the windows command line on your computer
With windows 7 and I think vista also just open the windows menu on the bottom left and type "cmd" in the search bar, select the cmd.exe and a black window will pop up.
Step 5: Type "cd where ever platform tools folder was located"
Now you need to navigate cmd to the boot.img file; so we will tell cmd how to get there. Basically we need to type the location of the platform-tools folder but since its long I will show you a short way a member here showed me. Type "cd" without the quotes then hit the spacebar. Now we will go to the desktop and look for the android-sdk shortcut we made earlier. Open that shortcut. Inside you will see the platform-tools folder, click and hold on that folder and drag it to the black cmd box. If you did it right you will see the long path to the platform-tools folder in the cmd section. Now click on the cmd window to make sure its selected and hit enter on the keyboard.
step 6: After rom install put phone in bootloader, on pc type "fastboot devices" to confirm you have your phone hooked up properly
Now we need to get the phone ready, at this point your phone should have had the new rom flashed, once it was done installing the rom in amonra, select developer menu and select bootloader. At this point connect your phone to a usb 2.0 slot, for some reason none of the usb 3.0 slots will recognize with this process so make sure its usb 2.0. You will see usb-fastboot on your phone if the computer sees it. To be sure in the cmd screen type "fastboot devices" and you will see a device name come up, thats your phone. If nothing popped up the computer isnt seeing it.
step 7: type "fastboot flash boot boot.img"
So at this point we know everything is ready to flash the boot.img. Simply type "fastboot flash boot boot.img" and let it do its thing, once its done, your ready to reboot the phone and start playing with it. If you want to reboot it through cmd which I do the text is below or you can simply just hit the reboot option in the phone.
step 8 once done type "fastboot reboot"
After typing the above command in cmd let the phone reboot. Once it starts to reboot you can disconnect the phone and close everything out.
Enjoy
-----------------
tip Understanding commands
-----------------
what does "fastboot flash boot boot.img" mean anyways?
This command is like ordering someone to do something.
Hey fastboot, I need you to flash a boot file called boot.img is basically what you told the computer to do.
Commands are like that and hope it helps you remember them
----------------------
Thanks to:
Luis86dr
famoustarsandstraps1
--Both of these guys helped me understand these tools and I want to return the favor to the other members--
Or you could use a ph98img.zip from, for example, nils rom. Just open both zips with winrar or 7zip and drag the boot.img from the rom into the ph98img.zip and flash the zip in bootloader after you flash the rom. Thats just my personal preference because I transfer the roms to my phone with wifi file explorer so I never have to hook my phone up to my pc.
highdro said:
Or you could use a ph98img.zip from, for example, nils rom. Just open both zips with winrar or 7zip and drag the boot.img from the rom into the ph98img.zip and flash the zip in bootloader after you flash the rom. Thats just my personal preference because I transfer the roms to my phone with wifi file explorer so I never have to hook my phone up to my pc.
Click to expand...
Click to collapse
Thanks a great point, but I had trouble with the asop roms with that method. Would timeout on parsing. I dont know if they got the asop ones working that way yet
66racer said:
Thanks a great point, but I had trouble with the asop roms with that method. Would timeout on parsing. I dont know if they got the asop ones working that way yet
Click to expand...
Click to collapse
works fine for me. running neo's new build right now. I've always used the zip from nils rom though. Maybe something is different in the text file that's inside of the zip that you tried. I've never had an issue and I've flashed a lot of kernels
highdro said:
works fine for me. running neo's new build right now. I've always used the zip from nils rom though. Maybe something is different in the text file that's inside of the zip that you tried. I've never had an issue and I've flashed a lot of kernels
Click to expand...
Click to collapse
Thanks for the info, I was messing around with it when it first came out trying different ph98 files with luis and kept getting the parsing error. It was with the cm9 builds. Maybe they got it sorted out on the rom side of things and thats why its now working. I will try it out on the next rom i try. Thanks
I just use Hasoon's all in one toolkit for all of it. Unlocking, flashing Amon Ra, SuperSU for root and flashing ROMs.
Just plug your phone in as directed and use the boot to recovery option. Do your wipe on the phone and flash your ROM. Put the boot.img from your ROM in the kernels folder in the data folder of the utility. Use the boot to bootloader option. Once you get into bootloader, use the flash kernel option. It runs all the adb commands for you.
Yes, I have SDK installed and know the commands but I can flash one of these S-Off ROMs faster with Hasoons utility than I can typing the adb commands manually.
Sent from my ADR6425LVW using xda app-developers app
note that you can also simply fastboot boot recovery into memory. in this scenario,recovery is able to write the boot image,so roms are able to be installed with no modification,just flash as if you were s-off
a little more info:
http://androidforums.com/rezound-all-things-root/587430-s-want-flash-roms-read.html
Great guide brother!!
sent from my s-off reZound rockin' viperRez Rom on global ICS firmware
scotty1223 said:
note that you can also simply fastboot boot recovery into memory. in this scenario,recovery is able to write the boot image,so roms are able to be installed with no modification,just flash as if you were s-off
a little more info:
http://androidforums.com/rezound-all-things-root/587430-s-want-flash-roms-read.html
Click to expand...
Click to collapse
This. I did not know. Thanks for the Info
sent from my s-off reZound rockin' viperRez Rom on global ICS firmware

[GUIDE] Drumz0rz's Complete Guide to Rooting your DNA

I know there are other threads out there that offer exactly what this does, but even with those, I think it can still be a bit tricky to figure out what to do if you're looking to root and modify your phone. I made this thread to collect everything I've done in one place. This should make everything very straightforward and basically n00b-proof.
I take no credit for any of this work. Please thank all the hardworking devs!
**Following all of these steps will WIPE all data from your phone. Backup before beginning. While these should all be safe, there's always the possibility of bricking your phone. I take no responsibility if you do.**
What you'll need:
USB Cable
USB port
HTC Droid DNA (without the OTA update!)
PC running Windows
Glass of Orange Juice (for the Vitamin C!)
**All of this shouldn't take more than 30 minutes but just in case, make sure your phone has at least a 70% charge.**
Preparing (Installing SDK, Setting PATH, testing ADB)
I highly recommend creating a directory on the root of your C: drive on your PC to hold ALL related files. I called mine "android" but you can call yours whatever you'd like. Whenever issuing any ADB command, make sure you navigate to this folder first.
1. Connect your phone to your computer. One of the pop ups will ask to install HTC Sync. Install this to install the drivers onto your computer. Once installed, you can go into your Add/Remove Programs and uninstall the HTC Sync software if you want.
2. Enable USB Debugging in your HTC Droid DNA from the path “Settings > Applications > Development > USB debugging”. The option of USB Debugging should be ticked.
2. Download the latest version of the Android SDK to your PC here.
3. Extract the files to your PC (I recommend something easy like C:\android)
4. Run the SDK Manager and uncheck everything but the Platform Tools and install
5. Add the SDK tools to your system PATH file by doing the following:1. Simultaneously hold down the Windows Key + R
2. type 'sysdm.cpl' into the run dialogue box and click OK
3. On the system properties window that just opened, click on the 'advanced' tab. Then click on 'Environment Variables'
4. Scroll down through the System variables until you find the PATH. Click 'Edit', then add ';C:\android' (or whatever you named your folder) to the end of the line
5. Click OK and close the open windows.​6. Test ADB by connecting your phone to your PC then:1. Open a new command prompt window by pressing Windows+R and typing "cmd" into the box
2. Type 'adb devices' and press enter. You should see your phone's UID listed.
If it says adb devices is not a recognizable command then you didn't setup your PATH correctly
If it says <waiting for device> then your missing the drivers or you didn't enable USB debugging. Try rebooting, and if it still doesn't show, reinstall HTC sync.
Other Tips
You can download all the files necessary at the beginning and do everything through ADB.
Always check the MD5-hash after downloading a file. If they don't match, the download is corrupt and you should try again. I use this simply tiny, no-install MD5 checker.
Always Test after each install to ensure it is working properly. Don't just string all of these together without rebooting once. Bad things might happen and you'd have no idea what's causing it.
You can reboot your phone into the bootloader by either issuing the command "adb reboot bootloader" or pressing and holding the PWR and VOL DN buttons simultaneously when you reboot your phone.
From the bootloader you can enter recovery or you can issue the command "adb reboot recovery"
If your command prompt hangs pressing Ctrl+C will break out of the running command.
Some useful command prompt (DOS) commands:
cd - change directory (ie. 'cd C:\android' will change to the 'C:\android' directory)
cd .. - moves up one directory level
dir /p - lists files within the current directory
Unlocking Bootloader
The next step is to unlock the bootloader. The best method right now is provided by jcase. NOTE: Don't install the OTA update or you won't be able to do this!Step 1: Get SuperCID
Full instructions can be found here.
1. Download .apk from link above.
2. Run the app
3. Run the following Commands via ADB
Code:
adb reboot bootloader
(wait for phone to reboot into bootloader)
fastboot oem readcid
If you see 22222222 you're good to proceed. If you see anything else, reboot the phone and try again.
Step 2: Unlock via HTC Dev site
Go to the HTC Developer website and carefully follow the instructions. They're very straight forward.
When completed you'll have unlocked the bootloader. You'll see a new warning on the splash screen and the bootloader will say *tampered* at the top.​Install Custom Recovery
You can choose either ClockworkMod (my preference) or TWRP recoveries.
1. Download the latest version of your preferred recovery. rename it "recovery.img"
2. Using ADB issue the following commands
Code:
adb reboot bootloader
(once the phone reboots into the bootloader)
fastboot flash recovery recovery.img
(once installation is complete)
fastboot reboot
Now you'll have a custom recovery, and can make a full nandroid backup (recommended!).
S-OFF
Full instructions can be found here. beaups did an excellent job writing this up so it would be pointless for me to reproduce here.
Root / Custom ROM
Choose any ROM you'd like. I prefer Team Venom's ViperDNA. I'll use that as the basis for the next steps.
1. Download the full ROM found in the second post in the above link to your phone.
2. Reboot into recovery
3. Select "install zip from sdcard" and choose the ROM .zip file mentioned above. Follow the instructions on screen.
Note: If you choose a different ROM make sure it either includes a kernel that supports system write or you have to install one first by doing the following. Also, if you have WiFi issues after flashing the ROM follow these steps to reinstall the kernel.Installing the Kernel
1. Download a Kernel (such as dsb's Cubed Kernel)
2. Unzip the file and copy the modules.zip file to your phone.
3. Via ADB issue the following commands:
Code:
adb reboot bootloader
(once rebooted)
fastboot flash boot boot.img
(once complete)
fastboot reboot recovery
The phone will reboot into recovery, at which point you should flash the modules.zip​ENG HBOOT
This is *Optional* and allows for additional ADB commands to be used.
1. Download the HBOOT-8064 file found here. (thanks to fnoji111 and Argumentation)
2. Via ADB issue the following commands:
Code:
adb reboot bootloader
(once rebooted)
fastboot oem rebootRUU
(once rebooted to the black HTC screen)
fastboot flash zip PL83IMG.zip
(once complete)
fastboot reboot
Mods
These are some mods I found to be essential.Remove the Splash Screen disclaimer
Full instructions can be found here.
1. Go to the above link and download the RegawMOD tool (first post) AND the Droid DNA ENG Hboot plugin (2nd post).
2. Make sure the plugin is in the same folder as the tool.
3. Customize it how you'd like. I chose to replace the disclaimer with my own, that basically reads
If Found, Please Return to
*Drumz0rz*
*My Home Phone Number*
Click to expand...
Click to collapse
4. When you're finished press "Create ZIP" and save the file.
5. Via ADB issue the following commands:
Code:
adb reboot bootloader
(once rebooted)
fastboot oem rebootRUU
(once rebooted to black HTC screen)
fastboot flash zip <YourZipName>.zip
(once complete)
fastboot reboot
Now you should have a fully unlocked S-OFF custom ROM, custom Kernel, HBOOT Droid DNA! I hope this helps!
Will this method work for new ota ?
Sent from my HTC6435LVW using xda premium
No, it's just a summary of what's out there. When someone releases a new method to unlock the bootloader I'll update it.
Thank you, when I rooted using the guide linked from one of the sticky posts most of the links were dead, so it is nice to have this.
One suggestion - perhaps include the steps to finish up for those that want to stay on stock rom but be rooted.
drumz0rz said:
No, it's just a summary of what's out there. When someone releases a new method to unlock the bootloader I'll update it.
Click to expand...
Click to collapse
Thanks def look forward to that
Sent from my HTC6435LVW using xda premium
Thanks! Having these steps in a simple guide saved me a good bit of time.
Minor confusion on "Installing the Kernal". I extracted Cubed.Stock.System.Write.zip, flashed boot.img, then flashed Modules.zip in recovery. From the guide, does renaming the package to boot.img work as well?
Lastly, I'm not sure if you want to include flashing/loading ViperDNA's OTA updates.
Is there a way to factory reset phone and eliminate OTA update? I'm assuming no but never hurts to ask....
Sent from my HTC6435LVW using xda app-developers app
John58543 said:
Is there a way to factory reset phone and eliminate OTA update? I'm assuming no but never hurts to ask....
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
No
Sent from my HTC6435LVW using xda app-developers app
steventrev said:
Thanks! Having these steps in a simple guide saved me a good bit of time.
Minor confusion on "Installing the Kernal". I extracted Cubed.Stock.System.Write.zip, flashed boot.img, then flashed Modules.zip in recovery. From the guide, does renaming the package to boot.img work as well?
Lastly, I'm not sure if you want to include flashing/loading ViperDNA's OTA updates.
Click to expand...
Click to collapse
As in renaming the zip? No, you need to do what you said, I left out the flashing the modules. I'll fix that, thanks.
Detailed guide, one question what if you don't have orange juice and want to use Gatorade as a substitute?
Sent from my HTC6435LVW
I'm no nutritionist but I think those two serve very different purposes. Now if you want to substitute it for a glass of say whiskey... that I think is more than acceptable.

[Q] Please help this noob! (flashing custom recovery)

Okay, here we go. I am new to rooting and I have already unlocked the bootloader on my device (HTC Evo 4G LTE). It still has S-on. After I unlocked my bootloader, I continued on to flash TWRP Recvovery onto my phone using fastboot. My phone does not have an SD card. However, no matter how many times I download the newest version of TWRP or rename the file or change the directory in the command prompt...it says "error: cannot load recovery image". When I attempt to restart in recovery mode, I get this red triangle with an explanation point! I have tried over and over again, but since I cant flash this recovery, i have an unlocked bootloader for practically no reason. I need to get past this step in order to start flashing custom ROM's. I even used RegawMOD EVO 4G LTE Rooter. After i click "Root Me" it puts my device into fastboot and attempts to submit the unlock token to HTCDev.com even though I already did that! I am stuck :crying:
Go here and download the recovery to your ADB tools folder.
http://techerrata.com/file/twrp2/jewel/openrecovery-twrp-2.3.3.0-jewel.img
You can rename the file "twrp" without the quotation marks. Make sure the file doesn't have an extra img extension or it won't work. Once you do this reboot your phone to the bootloader. Connect your phone to your computer via USB cable. You should see the word Fastboot in red highlights change to Fastboot USB. Open up ADB and type "fastboot flash recovery twrp.img" (without quotation marks) then press enter. At this point TWRP recovery should be installed on your phone.
If these are the steps you have followed, disregard.
The advice is free....the bandwidth, not so much
Thank You for Replying Good Sir!
1)when i download any twrp file and try to open it on my computer, it says "the disc image file is corrupted"
2)when i attempt to open ADB , it flashes up then off. I cant read what it says
3)i entered the command in the command prompt and it just says waiting for device
gratealex8 said:
1)when i download any twrp file and try to open it on my computer, it says "the disc image file is corrupted"
2)when i attempt to open ADB , it flashes up then off. I cant read what it says
3)i entered the command in the command prompt and it just says waiting for device
Click to expand...
Click to collapse
Download this extract it to your desktop and run your commands from that folder by pressing shift and right clicking on an empty spot inside the folder and choose open cmd window here.
There is a readme.txt inside follow the instructions on how to fastboot flash twrp (Copy and paste is the easiest way to do this that way there are no typo's)
Use v2.4.1.0 if you are on the latest OTA
Use v2.3.1.0 otherwise
idk whats wrong!!
I did exactly as you said, yet the command prompt just says waiting for device. I'm not sure what to do anymore because regardless of following these instructions, I CANT FLASH TWRP RECOVERY TO MY PHONE. I believe the problem is with my phone but Im running out of options. its beginning to look like I unlocked my bootloader for nothing :/
gratealex8 said:
I did exactly as you said, yet the command prompt just says waiting for device. I'm not sure what to do anymore because regardless of following these instructions, I CANT FLASH TWRP RECOVERY TO MY PHONE. I believe the problem is with my phone but Im running out of options. its beginning to look like I unlocked my bootloader for nothing :/
Click to expand...
Click to collapse
Try these drivers.Install them and reboot your PC once rebooted go to add/remove programs and delete HTC Sync
Getting frustrated
bigdaddy619 said:
I did this and again all I get in the command prompt is waiting for device. No more ideas huh?
Click to expand...
Click to collapse

[HOW-TO] Install a Custom Recovery and Root Device [RevOne/Moonshine]

Here is a simple, easy guide to install a custom recovery and root your device after achieving S-Off using the RevOne method.
**Moonshine installs all the SU/busybox binaries needed for root. So if you merely want a custom recovery you can follow this guide up to Step 7.**
Takes less than 5 minutes and is really easy. First, go to one of these threads and download either classic or touch CWM CWM Recovery or TWRP if you so prefer TWRP Recovery
Step 1. Rename recovery file recovery.img *Note: If using Win7 or 8 it hides known file extensions by default. Take care to not rename the file to "recovery.img.img"*
Step 2. Move file to your folder containing fastboot.exe on your computer
Step 3. Make sure phone is plugged in to USB port and USB debugging is turned on.
Step 4. Open a command prompt and type in: adb devices
Step 5. If device is listed type: adb reboot bootloader
Step 6. Using the command prompt, cd to the directory that has your fastboot.exe and recovery file *example: cd C:\sdk\
Step 7. Once in the bootloader type: fastboot flash recovery recovery.img
Step 8. If everything goes as it should, the recovery should be installed. On the bootloader screen you are currently on navigate to and select the BOOTLOADER option. Once it takes you to the new screen, navigate to and select RECOVERY
Step 9. Once it boots into recovery, select reboot now. It will prompt you to root the device. Select Yes.
Step 10. Phone will reboot. You now have a custom recovery and are rooted. Go to the play store and download either SuperUser or SuperSU. I prefer SuperSU, but it is entirely up to you.
Click to expand...
Click to collapse
Enjoy!!
Really nice guide. Thanks for writing this. It's also exactly the same steps one would use for TWRP, if someone is wondering about that. Just use the TWRP file and rename to recovery.img.
Sent from my HTC6435LVW using Tapatalk 4 Beta
I've done this a 100 times but for some reason I'm getting the error "error: cannot load 'recovery.img'".
What's going on?
I did the RevOne method yesterday.
Edit, it happened with both CWM and TWRP.
After the RevOne method, my phone says **UNLOCKED** and S-Off, however is it possible that I'm not Unlocked?
Edit 2, what's really weird is that last night, I used the "All-in-one Toolkit" to flash the TWRP recovery and it worked just fine. I'm actually in the TWRP recovery right now. And then once I rebooted from recovery, it did NOT ask me to root/install SU.
arozer said:
I've done this a 100 times but for some reason I'm getting the error "error: cannot load 'recovery.img'".
What's going on?
I did the RevOne method yesterday.
Edit, it happened with both CWM and TWRP.
After the RevOne method, my phone says **UNLOCKED** and S-Off, however is it possible that I'm not Unlocked?
Edit 2, what's really weird is that last night, I used the "All-in-one Toolkit" to flash the TWRP recovery and it worked just fine. I'm actually in the TWRP recovery right now. And then once I rebooted from recovery, it did NOT ask me to root/install SU.
Click to expand...
Click to collapse
Do you use Win7 or 8? By default it hides known file extensions. So if you renamed it to "recovery.img" it might actually be "recovery.img.img".
Also I believe the all in one kit installs the SU binaries for you... I wouldn't know as I don't use one clicks or kits.
Phaded said:
Do you use Win7 or 8? By default it hides known file extensions. So if you renamed it to "recovery.img" it might actually be "recovery.img.img".
Also I believe the all in one kit installs the SU binaries for you... I wouldn't know as I don't use one clicks or kits.
Click to expand...
Click to collapse
Wow!
Why didn't I think of this? (I guess the frustration from last night trying to figure out why RevOne wasn't working.)
Thank you. This worked!
Fixed broken link.
Does this method erase all data? Sorry, just got my DNA yesterday
It erases nothing
Phaded said:
It erases nothing
Click to expand...
Click to collapse
Thanks, I'm dumb. Didn't realise it needed S-Off first (of course) which (at least the methods i've found) require a wipe.
Recovery Worked Great!
Worked Great!
Thank you
Use Runrummer for s off does not wipe
miggy_2602 said:
Worked Great!
Thank you
Click to expand...
Click to collapse
nice write up, extremely useful for noob:laugh:
Ok I type in fastboot flash recovery recovery.img and it just says "waiting for device" Looking at my phone it says Tampered/Unlocked S-OFF. Am I missing something?
when I flash recovery through
fastboot flash recovery recovery.img
I get the attached error. Is something wrong ????
also attached bootloader screenshot
thanks
You're not s-off or unlocked...

[Q] Can't Get to Recovery, Flashboot doesn't see device

So I need to appeal to the android gurus of the world. I have an issue that I am having a difficult time sussing out and I am hoping someone else can help me figure it out.
My device is an HTC One M7, rooted, running Insert Coin 3.0.2 (Android 4.4.2), S-On., Hboot 1.44, TWRP Recovery
My problem is I can not access my Recovery and Fastboot isn't seeing my device, so I can not flash a new one. I can get to my phone in adb, just fine, but using flash_image to flash a recovery threw up a -1 error, so flashing recovery through adb appears to be out, as well. If I go to my Bootloader, selecting Recovery simply dumps me back to Fastboot.
I haven't booted into recovery since I installed this Rom, months ago, so I don't know exactly when my Recovery broke. I do know that today, I tried updating TWRP through Flashify and I suspect that may be part of the issue, since Flashify insisted on pulling down the TWRP for the M8 instead of the M7. I didn't catch that little nugget till after I flashed it.
I am pretty well open to anything that might work, but I am not sure what my options are when I can't even get into recovery. A pre-emptive thank you to anyone attempting to help. It should be said that apart from this, the phone works fine. I simply can't get into recovery to update my ROM, anymore.
Ok, I am an idgit. Could a mod move this to the Q&A forum? Apologies.
EqualOpportunityDork said:
So I need to appeal to the android gurus of the world. I have an issue that I am having a difficult time sussing out and I am hoping someone else can help me figure it out.
My device is an HTC One M7, rooted, running Insert Coin 3.0.2 (Android 4.4.2), S-On., Hboot 1.44, TWRP Recovery
My problem is I can not access my Recovery and Fastboot isn't seeing my device, so I can not flash a new one. I can get to my phone in adb, just fine, but using flash_image to flash a recovery threw up a -1 error, so flashing recovery through adb appears to be out, as well. If I go to my Bootloader, selecting Recovery simply dumps me back to Fastboot.
I haven't booted into recovery since I installed this Rom, months ago, so I don't know exactly when my Recovery broke. I do know that today, I tried updating TWRP through Flashify and I suspect that may be part of the issue, since Flashify insisted on pulling down the TWRP for the M8 instead of the M7. I didn't catch that little nugget till after I flashed it.
I am pretty well open to anything that might work, but I am not sure what my options are when I can't even get into recovery. A pre-emptive thank you to anyone attempting to help. It should be said that apart from this, the phone works fine. I simply can't get into recovery to update my ROM, anymore.
Click to expand...
Click to collapse
ADB works in an OS or in custom recovery and fastboot works in the bootloader. ADB doesn't work if the phone is in bootloader. I think you will have to run a RUU then go into stock recovery and do a factory reset. Let the phone boot normally then you can start the custom routine. You might also check to see if your ADB & fastboot are up to date. To run the RUU you will have to relock your bootloader since you are S-ON.
Thanks. Yea, I've managed to figure out the difference between adb and fastboot through all this. so plus for learning! However, the only method I have found for relocking my bootloader is through fastboot, which I can't seem to be able to use.
I will see if there's a newer version of fastboot out there, though. hadn't thought of that.
EqualOpportunityDork said:
Thanks. Yea, I've managed to figure out the difference between adb and fastboot through all this. so plus for learning! However, the only method I have found for relocking my bootloader is through fastboot, which I can't seem to be able to use.
I will see if there's a newer version of fastboot out there, though. hadn't thought of that.
Click to expand...
Click to collapse
Another quick thought, you wouldn't happen to be using Win 8 are you? If so, Win 8 doesn't see hboot 1.44 you are going to have to use a Win 7, Mac or Linux machine. Sorry, I didn't catch it earlier. Here is a how to for Linux and you don't have to install it permanently on your computer:
HOW TO USE LINUX FOR FASTBOOT & ADB VIA USB
This guide originally posted by @Danny201281
http://forum.xda-developers.com/showpost.php?p=54272479&postcount=219​Linux is your friend; if your drivers are not working the chances of getting them working again without the phone booting are slim. But Linux doesn't need drivers to talk to your device.
Go here: http://www.pendrivelinux.com/ and download Universal USB Installer – Easy as 1 2 3
Then go here: http://releases.ubuntu.com/12.04/ and download Ubuntu from the first link at the top that says PC (Intel x86) desktop CD
Then use these files to create a bootable Linux USB drive with at least a 2 GB persistent file for storing files. You'll also probably need to change your boot settings in the computers bios to boot from USB.
MOVING YOUR FILES TO UBUNTU
Once booted you should be at a screen with options to "Try Ubuntu” or "Install Ubuntu". We don’t need to Install anything so just choose "Try Ubuntu" and the computer will boot to the Ubuntu Desktop (If you get a popup saying "system has encountered an error" or something similar just cancel and ignore it, it should have no effect on what we need to do as it is due to missing Linux OS updates we don’t need). On the left of the screen you'll see the Dock. Open the orange folder icon near the top this is the Home folder. It’s where we need to put any files we need to work with such as a rom.zip you want to push to the device or recovery.img files for flashing.
To get your files here is a simple drag and drop process. In the top left of the Home folder you'll see the drive structure of you pc under devices. Choose your PCs hard drive and Right-Click then" Open in a new window". Locate your .zip or .img files and drag them into the home folder. Now wait for the copy process to complete and rename them for easier typing later, e.g., rom.zip, firmware.zip or recovery.img etc.
USING ADB AND FASTBOOT
First you need to install adb fastboot; this is easy just 3 commands in the terminal. Thanks to Webupd8 team.
Code:
sudo add-apt-repository ppa:nilarimogard/webupd8
Code:
sudo apt-get update
Code:
sudo apt-get install android-tools-adb android-tools-fastboot
Make sure your connected to the internet and press Ctrl+Alt+T to open the terminal then type or copy and paste the above commands one at a time waiting for each to complete their output. It may seem to have stopped at times but be patient when the prompt returns to normal enter the next command and when there all done you’re ready to use adb and fastboot.
Once you've moved all the files you need to the home folder that’s it you’re ready to go. Close everything down on the desktop (optional) and press Ctrl+Alt+T this will open the terminal now connect your phone with the USB cable. All fastboot commands need to have the "sudo" prefix added at the start, e.g.
fastboot flash recovery recovery.img becomes sudo fastboot flash recovery recovery.img
fastboot devices becomes sudo fastboot devices
However, adb should work basically the same as on windows. If you do have problems with normal adb commands adding “sudo” can help here as well.
Click to expand...
Click to collapse
Dude, you are my hero. I couldn't get fastboot to work, because I had missed the part where I needed to preface it with sudo. I had adb and fastboot running a couple of days ago on my Mint install, but I didn't realize I was missing 4 freaking letters to get it right. Just flashed latest twrp and booted into recovery, no problem.
Thanks again, for the help, even if I should have found that on my own, sooner. I thought I had really hosed something on my phone. Now I can move on to hopefully not screwing something else up.
You could have used flashify to flash a recovery.IMG. free app from app store
I mentioned trying Flashify in the OP.

Categories

Resources