RUU for 1.31? - Sprint HTC One (M7)

I want to return to stock Ive messed a few things up. Is there a RUU for 1.31?

?
Yeah, I second that request...

Reading through the forums, there isn't one released yet.

tbrad413 said:
I want to return to stock Ive messed a few things up. Is there a RUU for 1.31?
Click to expand...
Click to collapse
I realize this post is hard to follow and all over the place, but I'm tired.
Without a RUU:
Have ADB drivers ready to go if you don't already.
First be sure the bootloader is unlocked via HTCDev.
Next, get a copy of both TWRP and CWM recoveries, you can read why both at the end of the post.
Download the stock rom/stock rooted rom from the thread in development.
Plug the phone into USB and copy the rom onto the phone. Will most likely need to be in a folder called "0" in the root folder.
Open a shell and navigate to your copies of fastboot and adb from the HTCDev unlock.
"adb reboot-bootloader" "fastboot flash recovery TWRP.img"
This will flash TWRP, make sure that you change TWRP.img to the actual file name.
If TWRP doesn't work (like mine didn't), no big deal. Issue the following commands:
"adb reboot-bootloader" "fastboot flash recovery CWM.img"
This will flash clockwork mod recovery, which worked better for me than TWRP.
After you figure out which recovery you want, wipe data/factory reset.
Navigate to 0 and select the stock rom that you downloaded.
One of the recoveries will only see the "0" folder, it's a bug. I believe if you're on TWRP, you can only access 0 which is why you need to put the rom there. Clockworkmod should be able to see anything, but if I remember correctly immediately reboots with the latest firmware.
Flash the room and reboot.
That's how you can go back to stock without a RUU. All of this is from memory but it's accurate. The other option would be to S-OFF via revone and downgrade afterwards. You CAN use revone on the newest firmware - I did it earlier.
Good luck and all that jazz.
Why both recoveries:
TWRP ****ed up really hard on 1.29.x for me and failed to flash or see any files. CWM worked for me on 1.29.x but instantly reboots on 1.31.x. TWRP works for me on 1.31.x but can only see within /sdcard/0/, meaning nothing outside that 0 folder is flashable.
Other notes:
There's also some **** about USB-OTG but I didn't mess around with that. I've been working with multiple Ones over the passed few days and the steps above worked for me. I realize this post is hard to follow and all over the place, but this is all I've been doing this past week and I've got a lot of info on it.
Another note:
If you don't have a working install on the phone to boot into, you can do what I did and boot into the bootloader and use
adb push file.zip /sdcard/0/
Then boot into the recovery and it should be installable.

Related

Problem rooting - Failed: Too many links

I'm having a problem rooting my Nexus One (I have also read the newbie FAQ and searched the forum to no avail) - I have followed the instructions listed on the androidandme site.
When I try to unlock using fastboot I get this returned:
C:\....\Desktop\android-sdk-windows\tools>fastboot oem unlock
... INFOErasing userdata...
FAILED (status read failed (Too many links))
When I start the phone in fastboot mode it now says *** UNLOCKED *** at the top of the screen. I then flashed Amon-Ra's recovery image, as below:
C:\....\Desktop\android-sdk-windows\tools>fastboot flash recovery recovery-
RA-nexus-v1.6.2.img
sending 'recovery' (3954 KB)... OKAY
writing 'recovery'... OKAY
I assumed everything was going to be fine despite the issues unlocking. On trying to boot into recovery mode all I get is a screen with an exclamation mark and the android robot.
On turning the phone on as usual it seems that I can not run "Root required" apps such as the N1 torch.
I have tried running the OEM unlock command again but it seems to think that it has worked, as below:
C:\....\Desktop\android-sdk-windows\tools>fastboot oem unlock
... INFODevice was already unlocked!
OKAY
It would seem from the newbie guide that I still need to flash the recovery image but that seems to be going fine. I can't see that I've messed up so far so is there some way to "unroot" my phone or go through the OEM unlock process again?
Thanks.
You already unlock your bootloader, now put your rom of choice in the root of your sdcard, now flash again
AmonRa recovery, but this time don't reboot, after you you flash the recovery, flash the rom, and reboot.Now you should have su permition. Remember to nandroid backup before flashing the rom.
jongie123 said:
You already unlock your bootloader, now put your rom of choice in the root of your sdcard, now flash again
AmonRa recovery, but this time don't reboot, after you you flash the recovery, flash the rom, and reboot.Now you should have su permition. Remember to nandroid backup before flashing the rom.
Click to expand...
Click to collapse
I tried this, but still don't have root permissions - any thoughts?
I have read and searched and read some more and searched some more, and now just need some help...
Thanks in advance.
2 options, either install superboot from the Modaco's site to gain su, or flash Cyanogen's google adon.
jongie123 said:
2 options, either install superboot from the Modaco's site to gain su, or flash Cyanogen's google adon.
Click to expand...
Click to collapse
I suggest One thing. Pay 15.47 american Usd, at Online Kitchen for Modaco, Viola, Your done, always rooted.. Always Su'd up..
The Bootloader is simple on a windows machine, and so is root.. On Modaco's site there is a whole tutorial on this.. Plus search the threads, a whole ish load too..
i"d pay the 15.47.. Just Nike it, Just do it.. It's so much easier.. Just click-click, bake, download, flash, done..
Go..Go..!
jongie123 said:
You already unlock your bootloader, now put your rom of choice in the root of your sdcard, now flash again
AmonRa recovery, but this time don't reboot, after you you flash the recovery, flash the rom, and reboot.Now you should have su permition. Remember to nandroid backup before flashing the rom.
Click to expand...
Click to collapse
Thanks, I managed to flash the custom ROM this way, however I can't boot into recovery mode unless I boot from fastboot. Is this to be expected or should I be able to just turn on the phone, unconnected to the computer, while holding volume-down and boot into recovery mode?
If you just need root, get 'superboot'. It needs to be flashed to the "boot" partition (after unlocking the bootloader).
What it does is copy the root files to the data ROM and sets up permissions the first time the phone is booted (runs some sort of script I guess).
Link to superboot (free), make sure you get the right version:
http://android.modaco.com/content/g...erd79-epe54b-superboot-rooting-the-nexus-one/
look up "get root back".... Try these commands via ADB:
adb remount
adb shell chmod 6755 /system/xbin/su
....This should "fix_permision" and get you root back, IF you ever had it....
papermonk said:
Thanks, I managed to flash the custom ROM this way, however I can't boot into recovery mode unless I boot from fastboot. Is this to be expected or should I be able to just turn on the phone, unconnected to the computer, while holding volume-down and boot into recovery mode?
Click to expand...
Click to collapse
Using adb you can issue "adb reboot recovery" and wind up in recovery mode. You can also hold down the power button and trackball (connected or disconnected from the computer) and enter fastboot. From there, select bootloader and then recovery.
I am trying to unlock g1 but it fails showing "too many links". It does not do anything else.
sadhuKashmir said:
I am trying to unlock g1 but it fails showing "too many links". It does not do anything else.
Click to expand...
Click to collapse
If you are rooting a G1, correct me if I am wrong, but couldn't you just use one of the one click root methods?
I thought all of the patches denying one click root were contained in official FW's of GB and the G1 did not get it.

Help Flash From Fastboot after Wiping all

SO I wiped my whole internal memory after creating a backup of my rom and trying to flash a new one. I quickly press to wipe and I guess i picked to wipe my internal memory too. So now I have No OS on the phone and nothing on the card to flash.
I tried ADB Sideload and all i got it was can't mount system, and cach..Samething happens if I try to backup or mount
I tried to send my zip file through fastboot with the "fastboot flash data " command but at the end I get a failed bootloader checking and I tried the same with system and nothing happen or I count find my zip file when I went back to recovery.
SO can someone help me fix this ? or Is there an RUU i can use?? my phone Hboot is 1.55 and came with Android 4.3 so idk if any old RUU will work
Oh and ADB dont some to work ...I get an error telling that it can't find devices.
pimix2009 said:
SO I wiped my whole internal memory after creating a backup of my rom and trying to flash a new one. I quickly press to wipe and I guess i picked to wipe my internal memory too. So now I have No OS on the phone and nothing on the card to flash.
I tried ADB Sideload and all i got it was can't mount system, and cach..Samething happens if I try to backup or mount
I tried to send my zip file through fastboot with the "fastboot flash data " command but at the end I get a failed bootloader checking and I tried the same with system and nothing happen or I count find my zip file when I went back to recovery.
SO can someone help me fix this ? or Is there an RUU i can use?? my phone Hboot is 1.55 and came with Android 4.3 so idk if any old RUU will work
Oh and ADB dont some to work ...I get an error telling that it can't find devices.
Click to expand...
Click to collapse
I have had the issue of ADB unable to find devices. Don't know if this will help you, but has worked for me. Make sure phone if powered off. Hold the volume down button and press and hold the power button in order to boot into bootloader. Then plug your phone into the computer. You should see the screen change to Fastboot USB. From my experience, that is where you need to be.
YMMV. Good luck.
pimix2009 said:
SO I wiped my whole internal memory after creating a backup of my rom and trying to flash a new one. I quickly press to wipe and I guess i picked to wipe my internal memory too. So now I have No OS on the phone and nothing on the card to flash.
I tried ADB Sideload and all i got it was can't mount system, and cach..Samething happens if I try to backup or mount
I tried to send my zip file through fastboot with the "fastboot flash data " command but at the end I get a failed bootloader checking and I tried the same with system and nothing happen or I count find my zip file when I went back to recovery.
SO can someone help me fix this ? or Is there an RUU i can use?? my phone Hboot is 1.55 and came with Android 4.3 so idk if any old RUU will work
Oh and ADB dont some to work ...I get an error telling that it can't find devices.
Click to expand...
Click to collapse
If you want to sideload you'll need TWRP recovery. Here's a guide. http://forum.xda-developers.com/showthread.php?t=2318497 I myself had trouble finding my device, but than I uninstalled all the HTC drivers I had and installed the "universal naked driver" from here http://forum.xda-developers.com/showthread.php?t=2263822
I have the exact same thing I can't save a ROM to the device to flash it anymore I just want it to go back to stock I don't want root anymore it never works. My bootloader version is 3.04.651.2 which is too high to use the RUU installer. I can't mount the storage to use any of the S-Off Tools to downgrade it. I can't even push files using adb. All because of a ROM....
Sirricharic said:
I have the exact same thing I can't save a ROM to the device to flash it anymore I just want it to go back to stock I don't want root anymore it never works. My bootloader version is 3.04.651.2 which is too high to use the RUU installer. I can't mount the storage to use any of the S-Off Tools to downgrade it. I can't even push files using adb. All because of a ROM....
Click to expand...
Click to collapse
If you dont have a custom recovery make sure you flash one thru bootloader, fastboot. Regardless of you Hboot or bootlaoder number, you can get it unlock at the htcdev.com website. then you have to flash TWRP recovery. After doing then go to recovery....Don't do anything yet, make sure that you computer recognizes your phone. THATS the mistake I made. Open device manager and look for android USB devices if its not there then you need to install the adb drivers. If its there then on TWRP recovery look for adb side... I think its under advance .... then open the command to tour adb folder and type "adb version" you need at least 1.0.21 or higher. then type adb sideload name of rom.zip

[Q] Rooting without flashing a custom recovery?

Is it possible to gain root (on an unlocked + S-OFF device), without flashing a custom recovery?
I've been searching for a couple of hours, but couldn't find a working solution.
The superboot method doesn't seem to be working, something to do with not being able to boot into an image from fastboot anymore (I'm on the latest firmware/hboot).
Any other methods available?
Thanks in advance.
totoguy said:
Is it possible to gain root (on an unlocked + S-OFF device), without flashing a custom recovery?
I've been searching for a couple of hours, but couldn't find a working solution.
The superboot method doesn't seem to be working, something to do with not being able to boot into an image from fastboot anymore (I'm on the latest firmware/hboot).
Any other methods available?
Thanks in advance.
Click to expand...
Click to collapse
If you want to use superboot then use an hBoot of 1.44. other then that you have to flash a custom recovery
These directions are based on Win7 pc...Assuming you have ADB, drivers and fastboot on your machine:
You need a recovery to use temporarily. Download (to your computer) the one you like and proceed:
Reboot phone to bootloader, enter fastboot
The next step temporarily boots your phone to a recovery. On a command prompt, CD to the directory where you downloaded the recovery image, then enter this:
fastboot boot "recovery.img"
You need to replace "recovery.img" with the file name of your choice that you downloaded: CWM or TWRP...also, do not use "quotes"
You should be in CWM or TWRP now.
Backup your phone with the recovery's nandroid...DO IT.
All you need to do is select the option to reboot. When you do, the recovery will ask you if you want to install root. Select "Yes" and you're basically done.
When you phone reboots, it will maintain the stock recovery and you'll have su in system/bin as well as the superuser apk in system/app. Now install busybox from the play store.
oophlamer said:
fastboot boot "recovery.img"
Click to expand...
Click to collapse
I've tried that with the superboot method, and it looks like it's not working anymore with the latest stock rom (or might be a 4.3 change). It just hangs and the phone freezes, until I hard reset with the power button.
I did another search now and it seems that the command might have been replaced with "fastboot -c "lge.kcal=0|0|0|x" boot customrecovery.img", at least on the Nexus 4.
I'll look into it when I get back home.
totoguy said:
I've tried that with the superboot method, and it looks like it's not working anymore with the latest stock rom (or might be a 4.3 change). It just hangs and the phone freezes, until I hard reset with the power button.
I did another search now and it seems that the command might have been replaced with "fastboot -c "lge.kcal=0|0|0|x" boot customrecovery.img", at least on the Nexus 4.
I'll look into it when I get back home.
Click to expand...
Click to collapse
"fastboot boot ..." no longer works as of hboot 1.54+, it used to work on hboot 1.44.
nkk71 said:
"fastboot boot ..." no longer works as of hboot 1.54+, it used to work on hboot 1.44.
Click to expand...
Click to collapse
Exactly what i was going to reply. I had tested this on my stock Hboot 1.54 to keep a 1:1 backup but failed miserably.
I have the same problem...
Any solution?

[Q] Stuck in Recovery/Bootloader

I am in a strange situation, and can't figure out the easiest way to fix it. I need to return my HTC One to Sprint, so I went back to S-Off, relocked, and tried to flash a "Stock ROM and Recovery" zip.
Here's the problem:
When I turn on the phone, it reboots into recovery (which is TWRP)
Can't figure out how to push a file onto the phone to flash. Tried ADB push from recovery, the file shows up, but then disappears once the push is done.
Here's what I think caused it:
Trying to flash a "Return to stock ROM and recovery" zip after I had already re-locked, etc.
I unlocked again, but can't get any files onto the phone, far as I can tell. I really wish TWRP had a mount USB storage option.
Any suggestions?
Thanks a ton.
While booted into twrp open a cmd window and type adb push nameofrom.zip /sdcard/
make sure the .zip you are pushing is in the folder you are using to run your commands
or
Run the 3.04 RUU
bigdaddy619 said:
While booted into twrp open a cmd window and type adb push nameofrom.zip /sdcard/
make sure the .zip you are pushing is in the folder you are using to run your commands
or
Run the 3.04 RUU
Click to expand...
Click to collapse
Thanks for the response. Was able to relock via fastboot command and then run the RUU exe.
generosity21 said:
I am in a strange situation, and can't figure out the easiest way to fix it. I need to return my HTC One to Sprint, so I went back to S-Off, relocked, and tried to flash a "Stock ROM and Recovery" zip.
Here's the problem:
When I turn on the phone, it reboots into recovery (which is TWRP)
Can't figure out how to push a file onto the phone to flash. Tried ADB push from recovery, the file shows up, but then disappears once the push is done.
Here's what I think caused it:
Trying to flash a "Return to stock ROM and recovery" zip after I had already re-locked, etc.
I unlocked again, but can't get any files onto the phone, far as I can tell. I really wish TWRP had a mount USB storage option.
Any suggestions?
Thanks a ton.
Click to expand...
Click to collapse
Try running the RUU

Unlocked Bootloader, Can't root? [XT1096]

Not really sure what I'm doing wrong. Last rooted phone was a Nexus 5, and that was of course painless to root and flash ROMs to...
I'm using a Verizon XT1096 with 5.1 on T-Mobile.
So I was able to get the bootloader unlocked via Motorola's website, now that Verizon is allowing them to do so. No problems there. My problem now is that I can flash a recovery, but if it reboots, the recovery is gone. And I can't get any recoveries to flash anything. I can't push an apk, root zip, or even a ROM. Says Installation Aborted, with no other error codes. Even tried CWM and disabling Signature Checking, which gives me more info, saying that the footer is mismatched. Phone does say the bootloader is unlocked though so that shouldn't be it...
Honestly, I'd just like to get it on CM12 until I can get a Nexus 6P.. Can anyone tell me if I'm doing something wrong? Or is there just no way to root yet? I figured even the XT1095 CF-Auto-Root method would work for 5.1, but no dice..
Not sure what to do here. Please move my thread if need be. Don't post here much...
I followed the instructions on the TWRP website (link below) and it worked flawlessly. One thing you have to do is, after running the "fastboot flash recovery twrp.img" command, make sure to manually scroll on the phone and reboot into recovery. Hope that helps...
https://twrp.me/devices/motorolamotox2014.html
There is a partition mismatch. So do this. Download supersu and place it in the phones memory. Boot to fastboot mode and then fastboot boot recovery.img rather than fastboot flash recovery.img. You will boot to twrp, install SuperSU then download twrp from the playstore and install thru the app. It works, that's how I did it. Also when booting to recovery from the fastboot menu choose recovery with the vol up key rather than power button.
RepeatUntilTheEnd said:
I followed the instructions on the TWRP website (link below) and it worked flawlessly. One thing you have to do is, after running the "fastboot flash recovery twrp.img" command, make sure to manually scroll on the phone and reboot into recovery. Hope that helps...
https://twrp.me/devices/motorolamotox2014.html
Click to expand...
Click to collapse
I thought I tried that but maybe not. I've read that some stock ROMs can and will overwrite the recovery upon booting, but I could be wrong. I'll look at that when I get home tonight.
oraixearl said:
There is a partition mismatch. So do this. Download supersu and place it in the phones memory. Boot to fastboot mode and then fastboot boot recovery.img rather than fastboot flash recovery.img. You will boot to twrp, install SuperSU then download twrp from the playstore and install thru the app. It works, that's how I did it. Also when booting to recovery from the fastboot menu choose recovery with the vol up key rather than power button.
Click to expand...
Click to collapse
Thank you, I'll try this tonight when I get home. This may solve it. I think I remember the bootloader spitting something out about a partition mismatch.. Will report back as soon as I try it.
So I went ahead and tried both your guys' methods.
Oraixearl, I figured your solution would work, but it actually didn't, to my surprise. It returned no results, as the root zip didn't end up doing anything.
RepeatUntilTheEnd's solution worked here. I guess I didn't try rebooting the phone after flashing the recovery, before going into it..
So here's what I did.
1.) Boot into bootloader
2.) Fastboot flash recovery [recovery.img]
3.) adb reboot bootloader
4.) Used keys on phone to go into recovery,
5.) Flashed root.zip
6.) Booted into OS, and ran root checker. Worked.
7.) To my surprise, TWRP stuck around, too.
Thank you guys!
TsarProdigy said:
So I went ahead and tried both your guys' methods.
Oraixearl, I figured your solution would work, but it actually didn't, to my surprise. It returned no results, as the root zip didn't end up doing anything.
RepeatUntilTheEnd's solution worked here. I guess I didn't try rebooting the phone after flashing the recovery, before going into it..
So here's what I did.
1.) Boot into bootloader
2.) Fastboot flash recovery [recovery.img]
3.) adb reboot bootloader
4.) Used keys on phone to go into recovery,
5.) Flashed root.zip
6.) Booted into OS, and ran root checker. Worked.
7.) To my surprise, TWRP stuck around, too.
Thank you guys!
Click to expand...
Click to collapse
Strange as it worked for me. I'm glad you got it sorted out tho. Cheers.

Categories

Resources