Hello,
I've used my HTC ONE now 1 year. I've had no problem with it, till now...
Everytime I start a app, my phone restarts. I have rooted it once, but I regretted it ever since.
Now I want to go back to stock, but I can't find the right RUU EXE File. The only thing I know is that I bought my phone in The Netherlands. Not T-Mobile though.
Do you know which RUU I need?
Thanks in advance,
Clint
ClintC said:
Hello,
I've used my HTC ONE now 1 year. I've had no problem with it, till now...
Everytime I start a app, my phone restarts. I have rooted it once, but I regretted it ever since.
Now I want to go back to stock, but I can't find the right RUU EXE File. The only thing I know is that I bought my phone in The Netherlands. Not T-Mobile though.
Do you know which RUU I need?
Thanks in advance,
Clint
Click to expand...
Click to collapse
You didn't provide enough of a description to help, post a fastboot getvar all except for imei and serialno!
majmoz said:
You didn't provide enough of a description to help, post a fastboot getvar all except for imei and serialno!
Click to expand...
Click to collapse
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.44.0000
(bootloader) version-baseband: 4D.14.3250.26
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.29.111.16
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: T-MOB101
(bootloader) battery-status: good
(bootloader) battery-voltage: 3870mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
getvar:all FAILED (status read failed (Too many links))
finished. total time: 0.064s
Here is the result. :good:
I hope this helps.
Thanks
Clint
ClintC said:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.44.0000
(bootloader) version-baseband: 4D.14.3250.26
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.29.111.16
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: T-MOB101
(bootloader) battery-status: good
(bootloader) battery-voltage: 3870mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
getvar:all FAILED (status read failed (Too many links))
finished. total time: 0.064s
Here is the result. :good:
I hope this helps.
Thanks
Clint
Click to expand...
Click to collapse
There is no RUU for you version. What you could do is to s-off the phone, change CID and run another RUU like the 1.28.401.7 (international unbranded)
alray said:
There is no RUU for you version. What you could do is to s-off the phone, change CID and run another RUU like the 1.28.401.7 (international unbranded)
Click to expand...
Click to collapse
How do I do that? I have no idea. Do you have a link on doing that?
Thanks,
Clint
ClintC said:
How do I do that? I have no idea. Do you have a link on doing that?
Thanks,
Clint
Click to expand...
Click to collapse
you will first need to unlock the bootloader (will wipe phone and void warranty if any left)
flash a custom recovery and root
use revone or moonshine to s-off
change CID using fastboot
and finally run the ruu
every steps already explained in this forum
or if you don't want to do all of this, you could simply flash a custom rom, much more easy if you don't have experience.
alray said:
you will first need to unlock the bootloader (will wipe phone and void warranty if any left)
flash a custom recovery and root
use revone or moonshine to s-off
change CID using fastboot
and finally run the ruu
every steps already explained in this forum
or if you don't want to do all of this, you could simply flash a custom rom, much more easy if you don't have experience.
Click to expand...
Click to collapse
Thanks for all your help.
So I loaded up Stock recovery, and I wanted to do a OTA, but everytime I want to do that, there's a message on the screen that says *** Security Warning ***. My bootloader screen says: Tampered and Relocked.
Thanks,
Clint
ClintC said:
Thanks for all your help.
So I loaded up Stock recovery, and I wanted to do a OTA, but everytime I want to do that, there's a message on the screen that says *** Security Warning ***. My bootloader screen says: Tampered and Relocked.
Thanks,
Clint
Click to expand...
Click to collapse
That is normal since you unlocked your bootloader then relocked it. I found a TWRP backup 5.16.111.4 for your phone. You will have to unlock it and flash TWRP. You will need to make some directories on your phone if you don't already have a TWRP backup on your phone: TWRP >> BACKUPS >> <Your Serial No> >> Folder name that the file extracted
Once you get the folder on your phone, you can boot into recovery and on the main screen select restore. You should see the folder name there, just select it and follow the instructions.
majmoz said:
That is normal since you unlocked your bootloader then relocked it. I found a TWRP backup 5.16.111.4 for your phone. You will have to unlock it and flash TWRP. You will need to make some directories on your phone if you don't already have a TWRP backup on your phone: TWRP >> BACKUPS >> <Your Serial No> >> Folder name that the file extracted
Once you get the folder on your phone, you can boot into recovery and on the main screen select restore. You should see the folder name there, just select it and follow the instructions.
Click to expand...
Click to collapse
Thanks for all the help.
I installed TWRP Recovery, and I created the folders. But at the TWRP Recovery, I can't find the folder when I click on Restore.
What am I doing wrong?
Cheers,
Clint
ClintC said:
Thanks for all the help.
I installed TWRP Recovery, and I created the folders. But at the TWRP Recovery, I can't find the folder when I click on Restore.
What am I doing wrong?
Cheers,
Clint
Click to expand...
Click to collapse
While in Recovery, choose Backup then backup your system. After it is finished reboot back to system. With your phone connected using your file manager you will see the TWRP directory. Expand it out and you should see the backup you just created. Put the nandroid folder that was extracted in the same sub directory as your backup. Once, that is done you can go back into TWRP and you should see the folder in the Restore.
majmoz said:
While in Recovery, choose Backup then backup your system. After it is finished reboot back to system. With your phone connected using your file manager you will see the TWRP directory. Expand it out and you should see the backup you just created. Put the nandroid folder that was extracted in the same sub directory as your backup. Once, that is done you can go back into TWRP and you should see the folder in the Restore.
Click to expand...
Click to collapse
When I try to do a backup, it fails...
E:Unable to mount '/data'
E:Unable to mount '/data'
E:Unable to mount '/data'
E:Unable to mount '/cache'
Updating partition details......
What should I do?
Cheers,
Clint
ClintC said:
When I try to do a backup, it fails...
E:Unable to mount '/data'
E:Unable to mount '/data'
E:Unable to mount '/data'
E:Unable to mount '/cache'
Updating partition details......
What should I do?
Cheers,
Clint
Click to expand...
Click to collapse
Which version of TWRP are you using? And your bootloader is still locked?
---------- Post added at 11:55 AM ---------- Previous post was at 11:26 AM ----------
ClintC said:
When I try to do a backup, it fails...
What should I do?
Cheers, Clint
Click to expand...
Click to collapse
Go into TWRP and select Advance Wipe then select Data. It should format the partition and then you can try to Backup again.
majmoz said:
While in Recovery, choose Backup then backup your system. After it is finished reboot back to system. With your phone connected using your file manager you will see the TWRP directory. Expand it out and you should see the backup you just created. Put the nandroid folder that was extracted in the same sub directory as your backup. Once, that is done you can go back into TWRP and you should see the folder in the Restore.
Click to expand...
Click to collapse
When I want to make a backup, it just says something like:
E: Mount failed /cache
What should I do?
Cheers,
Clint
majmoz said:
Which version of TWRP are you using? And your bootloader is still locked?
---------- Post added at 11:55 AM ---------- Previous post was at 11:26 AM ----------
Go into TWRP and select Advance Wipe then select Data. It should format the partition and then you can try to Backup again.
Click to expand...
Click to collapse
Sorry for that post...
My bootloader is unlocked. I use v2.5.0.0
If I use advanced wipe, it still says
Unbale to mount /cache
and all that stuff....
Greets,
Clint
ClintC said:
Sorry for that post...
My bootloader is unlocked. I use v2.5.0.0
If I use advanced wipe, it still says
Unbale to mount /cache
and all that stuff....
Greets,
Clint
Click to expand...
Click to collapse
Wow that recovery is really old
flash TWRP 2.6.3.3 before you continue
http://techerrata.com/browse/twrp2/m7
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
clsA said:
Wow that recovery is really old
flash TWRP 2.6.3.3 before you continue
http://techerrata.com/browse/twrp2/m7
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
Click to expand...
Click to collapse
It's done!
Thanks guys!!! Without you I couldn't do this!
Cheers,
Clint
Related
Hey guys, really need your help..
I have an HTC One M7 with Stock ROM, rooted and unlocked bootloader.
I tried to install the xposed framework but it just rebooted after I installed it and the installer said "not installed" after that.
So I've googled it and found this thread: http://forum.xda-developers.com/showthread.php?t=2200365
After flashing the .zip through CWM Recovery (I don't think that was working because it rebooted quickly after it said "Installing...") I came into a boot loop.
My last recovery backup is 3 weeks old so I don't really want to use that. (I know my fault for not backing up everything before flashing.)
I tried to flash the xposed uninstaller - That worked (The first zip which I was able to flash yet - I tried a few mods before but couldn't flash anything using CWM.. Why btw.?) but it's still in bootloop.
I tried to erase cache too but still the same. I used the app. "HTConeRW" to make /system writeable, but didn't flashed a zip for that - could that cause CWM to reboot instead of installing any .zip file when I try to flash it?
Thanks in advance.
I just saw how small the backup files are. I thought a CWM backup would backup EVERYTHING...
So, if it's not that case, what does that backup? And when I restore it, what will be changed?
Angel0id said:
I just saw how small the backup files are. I thought a CWM backup would backup EVERYTHING...
So, if it's not that case, what does that backup? And when I restore it, what will be changed?
Click to expand...
Click to collapse
the backup contains /data and /system and /recovery (sometimes)
your sdcard is not backed up or restored
clsA said:
the backup contains /data and /system and /recovery (sometimes)
your sdcard is not backed up or restored
Click to expand...
Click to collapse
I just saw that it should contain an "system.img" file and I thought maybe I can flash that using fastboot to get it back working.
So I pulled my backup on my PC using adb in fastboot, and everything it contains is this:
cache.ext4.tar (0 kb)
recovery.log (168 kb)
cache.ext4.tar.a (3.1 mb)
data.ext4.tar.c (614 mb)
nandroid.md5 (1 kb)
I'd like to install this kernal if it will work again: http://forum.xda-developers.com/showthread.php?t=2233665
It will make /system writeable too. If I install it now, any try to flash xposed again after that, could that repair my HTC One?
I I'll suggest to backup your device, wipe system, install the same ROM you were on before, then restore only data partition from the backup you just took. Wipe cache. Reboot
SaHiLzZ said:
I I'll suggest to backup your device, wipe system, install the same ROM you were on before, then restore only data partition from the backup you just took. Wipe cache. Reboot
Click to expand...
Click to collapse
I have stock ROM, how should I install that?
Will my apps and userdata still be there? Thanks in advance.
Post a fastboot getvar all output (no imei/s. There maybe a nandroid backup you maybe able to use
sent from my mobile device
SaHiLzZ said:
Post a fastboot getvar all output (no imei/s. There maybe a nandroid backup you maybe able to use
sent from my mobile device
Click to expand...
Click to collapse
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.54.0000
(bootloader) version-baseband: 4D.18.3250.18
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 2.24.111.5
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: T-MOB101
(bootloader) battery-status: good
(bootloader) battery-voltage: 4321mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-d16dc66985
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Would be very nice if someone can help me...
Try this.. http://www.htc1guru.com/dld/guru_reset_m7_2-24-111-3-zip/
SaHiLzZ said:
Try this.. http://www.htc1guru.com/dld/guru_reset_m7_2-24-111-3-zip/
Click to expand...
Click to collapse
Download takes 6 hours.. What should I do with the zip? Will any of my data will be lost?
I have the .zip now. What to do next? Flashing boot.img throgh fastboot? I thought I should flash system.img but theres no .img file just a folder named "system"...
You will need to use adb push or adb sideload to install the rom . make sure not wipe data if it is presented as an option. And after it is installed, restore data ONLY from your backup you just toom
SaHiLzZ said:
You will need to use adb push or adb sideload to install the rom . make sure not wipe data if it is presented as an option. And after it is installed, restore data ONLY from your backup you just toom
Click to expand...
Click to collapse
I'm copying it using adb push atm. After that I should install the .zip in recovery or?
And how can I restore data only? Thanks so much!
I just made the install of the ROM. I gussed the settings but I think I did everything right.
Found out how to restore data only and it's restoring atm..
Awesome.
sent from my mobile device
SaHiLzZ said:
Awesome.
sent from my mobile device
Click to expand...
Click to collapse
Sorry for my late reply.
It worked! Not only that, its even better then before!
Apps like pry-fi often or always caused my device to reboot when I gave them superuser rights, now they're working!
I love you, Thanks soooo much..
----
Even xposed is working now. Do you have paypal? I'd like to send you a few dollars.
Angel0id said:
Sorry for my late reply.
It worked! Not only that, its even better then before!
Apps like pry-fi often or always caused my device to reboot when I gave them superuser rights, now they're working!
I love you, Thanks soooo much..
----
Even xposed is working now. Do you have paypal? I'd like to send you a few dollars.
Click to expand...
Click to collapse
Hit my thanks buttons, thats all I ask! Enjoy the phone.
I bricked my HTC One, totally not my fault I received a prompt to upgrade and then the thing crashed. Its stuck on the htc screen.
I tried finding a RUU file for my phone, couldnt get one that matched. Now I have installed TWRP, which works. My Bootloader is unblocked and says tampered also s-on. there is no os in the phone now so its ready for flashing a new rom.
I want to get my phone back in order. I've downloaded a custom rom I could use, wanted to ask if this is the same as using a ota file from the htcdev website ?
When I try to use twrp i cant use sideboot to push the roms, it just says trying to connect and doesnt, so I think adb doesnt work.
Can someone put me in the right direction or help out ?
I'm a complete newbie and have come far by unlocking the bootloader and installing twrp, would really appreciate it if someone can help.
Also tried using the option to find the file on my computer from twrp on my phone but it doesnt connect.
Everything is all set up I just need to flash a new rom and get going.
Thanks !
abreu6 said:
I bricked my HTC One, totally not my fault I received a prompt to upgrade and then the thing crashed. Its stuck on the htc screen.
I tried finding a RUU file for my phone, couldnt get one that matched. Now I have installed TWRP, which works. My Bootloader is unblocked and says tampered also s-on. there is no os in the phone now so its ready for flashing a new rom.
I want to get my phone back in order. I've downloaded a custom rom I could use, wanted to ask if this is the same as using a ota file from the htcdev website ?
When I try to use twrp i cant use sideboot to push the roms, it just says trying to connect and doesnt, so I think adb doesnt work.
Can someone put me in the right direction or help out ?
I'm a complete newbie and have come far by unlocking the bootloader and installing twrp, would really appreciate it if someone can help.
Also tried using the option to find the file on my computer from twrp on my phone but it doesnt connect.
Everything is all set up I just need to flash a new rom and get going.
Thanks !
Click to expand...
Click to collapse
The rest of the steps after you have unlocked bootloader
flash custom recovery TWRP 2.6.3.3 from here
http://techerrata.com/browse/twrp2/m7
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
rename your rom to rom.zip
then in TWRP / Advanced /Sideload - Slide to sideload
Then from PC - adb / fastboot folder ...shift+right click /command prompt here
then it's
adb sideload rom.zip
at the end of sideload install will begin
just be sure the files you flash and sideload are all in the same folder as fastboot and adb
clsA said:
The rest of the steps after you have unlocked bootloader
flash custom recovery TWRP 2.6.3.3 from here
http://techerrata.com/browse/twrp2/m7
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
rename your rom to rom.zip
then in TWRP / Advanced /Sideload - Slide to sideload
Then from PC - adb / fastboot folder ...shift+right click /command prompt here
then it's
adb sideload rom.zip
at the end of sideload install will begin
just be sure the files you flash and sideload are all in the same folder as fastboot and adb
Click to expand...
Click to collapse
in cmd prompt says 'device not found' when using adb and on twrp on the device says starting adb sideload and does nothing, also shall i use the ota file on the htcdev website ? is that better than the cutsom roms i've downloaded, - do i need s-off ?
abreu6 said:
in cmd prompt says 'device not found' when using adb and on twrp on the device says starting adb sideload and does nothing, also shall i use the ota file on the htcdev website ? is that better than the cutsom roms i've downloaded, - do i need s-off ?
Click to expand...
Click to collapse
Please stop right here and spend a few hours doing research before you brick your device for good.
I have same thing happened before, adb not working, I don't know why, try use a USB OTG, put the rom zip on it, then connected to your phone, flash from OTG, it will be OK!
Sent from my HTC One using XDA Premium 4 mobile app
shukyuen said:
I have same thing happened before, adb not working, I don't know why, try use a USB OTG, put the rom zip on it, then connected to your phone, flash from OTG, it will be OK!
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I dont have a USB OTG Cable, are there any other options ?
Is there a way of getting files on to the sdcard using fastboot ? tried using adb but dont know where I'm going wrong. It connects 'starting on port...etc' then when i run push commands says 'device not connected'.
Updated all the drivers and everything still no luck. Sideloader from twrp doesnt seem to work either.
I have the rom I want to use and a ruu file which i have tried to flash, its comes back with something like ' remote failed: 24 parshing etc'
Any help would be great !
Sorry, I face the same problem, l am not skilled enough to solve it, if you want flash a rom buy a USB OTG!
Sent from my HTC One using XDA Premium 4 mobile app
Sideloading
I'm sort of in the same boat. My m7 got into a bootloop after an OTA Lollipop update attempt.
I tried flashing files (RUUs) with fastboot but there always seemed to be technical problems that stopped me from doing that (noob).
So I decided to try the custom recovery route. And although I've been learning a huge amount in the last week I haven't really got my head around the TWRP basics.
So, considering the incredible amount of knowledge on this website I'd like to try to clear some issues up. All I want is a standard working phone.
Previously during my 'fastboot' adventure people were talking about RUUs. Are they still relevant when it comes to sideloading?
And where does TWRP come into it if ADB is 'pushing' the file accross? What is it there for?
What kind of
I'm 'unlocked' but s-on, is that an issue? Does the phone need to be rooted?
So, in a nutshell, now that I managed to put TWRP on the phone (very pleased with myself!) how does that make it easier for me to get my phone back to serviceability?
Loads of thanks to all the whizz kids out there.
jimbobly said:
Previously during my 'fastboot' adventure people were talking about RUUs. Are they still relevant when it comes to sideloading?
Click to expand...
Click to collapse
No. RUU is a package including the rom (software) and the frimware (hboot, stock recovery, radio, kernel, touch drivers etc.)
RUU.zip are flashed using fastboot
RUU.exe are flashed automatically when laucnhing the .exe (the application handle the required fastboot commands automatically)
When speaking about adb sideload or adb push, the sidelaoded or pushed file is only a rom (software) unlike a ruu (software+firmware). The rom can either be custom or stock (e.g ARHD custom rom or a stock guru reset rom)
And where does TWRP come into it if ADB is 'pushing' the file accross? What is it there for?
Click to expand...
Click to collapse
ADB is used for the computer to communicate with the phone and in this case, to copy the rom from your computer to your phone. ADB doesn't flash (install) the rom on your phone, its only transfer the rom to your phone memory. TWRP is a recovery system, think of an alternate OS you can boot to perform basic tasks like installing rom (flashing rom), backups, restore, file manager ans few more.
BTW with newer versions of TWRP, you don't really need ADB to transfer (push or sideload) the rom to your phone. TWRP now support MTP protocol which mean you'll see your phone as a removable storage on your computer (like a usb thumb drive) when booted in twrp so can simply drag and drop the rom from your desktop to the phone memory.
I'm 'unlocked' but s-on, is that an issue? Does the phone need to be rooted?
So, in a nutshell, now that I managed to put TWRP on the phone (very pleased with myself!) how does that make it easier for me to get my phone back to serviceability?
Loads of thanks to all the whizz kids out there.
Click to expand...
Click to collapse
Better to post the output of "fastboot getvar all" before answering this. Depending on the output, it might be easier to restore your phone using a RUU. Remove your imei and serialno before posting the output here.
Thanks Alray,
That was a great reply. Just the sort of concise information I need.
Here is the getvar.
\Desktop\android-sdk-windows\platfo
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.28.3218.04
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.14.206.2
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: ---
(bootloader) imei: ---
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: O2___001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4314mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Also, several members pointed me to an RUU that would get me back to stock, here is the contents of the unziped file. I'd like to know which files are relevant with TWRP. The interesting thing is that the download was about 1.7Gigs but the unpacked files aren't remotely close to that so something doesn't seem to add up!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Brilliant assistance, I love fiddling with this stuff but so far drawn a bit of a blank with this one.
BTW I put TWRP on yesterday so I assume it's the latest version.
---------- Post added at 07:18 AM ---------- Previous post was at 07:08 AM ----------
alray said:
No. RUU is a package including the rom (software) and the frimware (hboot, stock recovery, radio, kernel, touch drivers etc.)
RUU.zip are flashed using fastboot
RUU.exe are flashed automatically when laucnhing the .exe (the application handle the required fastboot commands automatically)
When speaking about adb sideload or adb push, the sidelaoded or pushed file is only a rom (software) unlike a ruu (software+firmware). The rom can either be custom or stock (e.g ARHD custom rom or a stock guru reset rom)
ADB is used for the computer to communicate with the phone and in this case, to copy the rom from your computer to your phone. ADB doesn't flash (install) the rom on your phone, its only transfer the rom to your phone memory. TWRP is a recovery system, think of an alternate OS you can boot to perform basic tasks like installing rom (flashing rom), backups, restore, file manager ans few more.
BTW with newer versions of TWRP, you don't really need ADB to transfer (push or sideload) the rom to your phone. TWRP now support MTP protocol which mean you'll see your phone as a removable storage on your computer (like a usb thumb drive) when booted in twrp so can simply drag and drop the rom from your desktop to the phone memory.
Better to post the output of "fastboot getvar all" before answering this. Depending on the output, it might be easier to restore your phone using a RUU. Remove your imei and serialno before posting the output here.
Click to expand...
Click to collapse
Thanks Alray,
That was a great reply. Just the sort of concise information I need.
Here is the getvar.
\Desktop\android-sdk-windows\platfo
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.28.3218.04
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.14.206.2
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: ---
(bootloader) imei: ---
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: O2___001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4314mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Also, several members pointed me to an RUU that would get me back to stock, here is the contents of the unziped file. I'd like to know which files are relevant with TWRP. The interesting thing is that the download was about 1.7Gigs but the unpacked files aren't remotely close to that so something doesn't seem to add up!
Brilliant assistance, I love fiddling with this stuff but so far drawn a bit of a blank with this one.
BTW I put TWRP on yesterday so I assume it's the latest version.
jimbobly said:
Thanks Alray,
That was a great reply. Just the sort of concise information I need.
Here is the getvar.
\Desktop\android-sdk-windows\platfo
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.28.3218.04
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.14.206.2
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: ---
(bootloader) imei: ---
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: O2___001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4314mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Also, several members pointed me to an RUU that would get me back to stock, here is the contents of the unziped file. I'd like to know which files are relevant with TWRP. The interesting thing is that the download was about 1.7Gigs but the unpacked files aren't remotely close to that so something doesn't seem to add up!
Brilliant assistance, I love fiddling with this stuff but so far drawn a bit of a blank with this one.
BTW I put TWRP on yesterday so I assume it's the latest version.
---------- Post added at 07:18 AM ---------- Previous post was at 07:08 AM ----------
Thanks Alray,
That was a great reply. Just the sort of concise information I need.
Here is the getvar.
\Desktop\android-sdk-windows\platfo
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.28.3218.04
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.14.206.2
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: ---
(bootloader) imei: ---
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: O2___001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4314mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Also, several members pointed me to an RUU that would get me back to stock, here is the contents of the unziped file. I'd like to know which files are relevant with TWRP. The interesting thing is that the download was about 1.7Gigs but the unpacked files aren't remotely close to that so something doesn't seem to add up!
Brilliant assistance, I love fiddling with this stuff but so far drawn a bit of a blank with this one.
BTW I put TWRP on yesterday so I assume it's the latest version.
Click to expand...
Click to collapse
What is the file name of this ruu? You should not be able to open the ruu.zip because they are encrypted. You could try to relock the bootloader and flash the 7.18.206.2 ruu.zip posted here http://forum.xda-developers.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944. instruction how to flash in the same thread.
or
You can restore this stock backup using twrp then you can reflash the stock recovery and download the latest ota update.
alray said:
You can restore this stock backup using twrp then you can reflash the stock recovery and download the latest ota update.
Click to expand...
Click to collapse
That's great. I'll try going down this road first, can you briefly outline how to handle this process with TWRP please?
Many thanks. :good:
jimbobly said:
That's great. I'll try going down this road first, can you briefly outline how to handle this process with TWRP please?
Many thanks. :good:
Click to expand...
Click to collapse
boot in twrp, select "backup" then make a backup of "boot" only (this is only to generate a backup path on your phone: /sdcard/TWRP/BACKUPS/YOUR_SERIAL_NUMBER/DATE_OF_BACKUP). Once the backup is done, navigate to that folder and delete all the files in that folder, but do not delete the folder and then take all the files in the backup you have downloaded and copy them to this folder (/sdcard/TWRP/BACKUPS/YOUR_SERIAL_NUMBER/DATE_OF_BACKUP).
Go back in twrp main menu, select "restore" and select the only backup available. Wait for the restore to complete and reboot.
alray said:
boot in twrp, select "backup" then make a backup of "boot" only (this is only to generate a backup path on your phone: /sdcard/TWRP/BACKUPS/YOUR_SERIAL_NUMBER/DATE_OF_BACKUP). Once the backup is done, navigate to that folder and delete all the files in that folder, but do not delete the folder and then take all the files in the backup you have downloaded and copy them to this folder (/sdcard/TWRP/BACKUPS/YOUR_SERIAL_NUMBER/DATE_OF_BACKUP).
Go back in twrp main menu, select "restore" and select the only backup available. Wait for the restore to complete and reboot.
Click to expand...
Click to collapse
Thanks, I'm on the case now. To be sure, the file that you specified starting /sdcard/ is different from the file where the phone just made the back up files.
The only file path I can access on the PC is Computer\One\Internal Storage\TWRP\BACKUPS\FA36PW918055.
Is this correct?
I assume that references to an sdcard in file names is just nominal or a partition of the main drive.
Just like to be 100% clear.
Ah, I discovered that there is a file manager in TWRP! I now see that Those files are in the folder that you specified correctly.
However, when I go to the backup folder there is no file available. Are the files from the nandroid zip to be extracted first or is the zip file supposed to be copied whole?
I tried both methods and there is still no file to be seen in the restore window!
Have I done something wrong?
jimbobly said:
The only file path I can access on the PC is Computer\One\Internal Storage\TWRP\BACKUPS\FA36PW918055.
Is this correct?
Click to expand...
Click to collapse
Yes on your pc you'll see Computer\One\Internal Storage\TWRP\BACKUPS\FA36PW918055\date_of_your_backup\Backup_files_here
On your phone its /sdcard/TWRP/BACKUPS/FA36PW918055/date_of_your_backup/Backup_files_here
Make a backup of boot only, then using your computer navigate to that folder (Computer\One\Internal Storage\TWRP\BACKUPS\FA36PW918055\date_of_backup) and delete all files in this folder and replaced them with all files from the backup you have downloaded. Then in twrp select "restore" and restore all partitions of this backup.
alray said:
boot in twrp, select "backup" then make a backup of "boot" only (this is only to generate a backup path on your phone: /sdcard/TWRP/BACKUPS/YOUR_SERIAL_NUMBER/DATE_OF_BACKUP). Once the backup is done, navigate to that folder and delete all the files in that folder, but do not delete the folder and then take all the files in the backup you have downloaded and copy them to this folder (/sdcard/TWRP/BACKUPS/YOUR_SERIAL_NUMBER/DATE_OF_BACKUP).
Go back in twrp main menu, select "restore" and select the only backup available. Wait for the restore to complete and reboot.
Click to expand...
Click to collapse
alray said:
Make a backup of boot only, then using your computer navigate to that folder (Computer\One\Internal Storage\TWRP\BACKUPS\FA36PW918055\date_of_backup) and delete all files in this folder and replaced them with all files from the backup you have downloaded. Then in twrp select "restore" and restore all partitions of this backup.
Click to expand...
Click to collapse
Ah, I discovered that there is a file manager in TWRP! I now see that Those files are in the folder that you specified correctly.
However, when I go to the backup folder there is no file available. Are the files from the nandroid zip to be extracted first or is the zip file supposed to be copied whole?
I tried both methods and there is still no file to be seen in the restore window!
Have I done something wrong?
---------- Post added at 11:37 PM ---------- Previous post was at 11:06 PM ----------
jimbobly said:
Ah, I discovered that there is a file manager in TWRP! I now see that Those files are in the folder that you specified correctly.
However, when I go to the backup folder there is no file available. Are the files from the nandroid zip to be extracted first or is the zip file supposed to be copied whole?
I tried both methods and there is still no file to be seen in the restore window!
Have I done something wrong?
Click to expand...
Click to collapse
Just managed to attempt a restore.
Response from system is ' Restore Complete Failed' E:No Partitions Selected for restore'!
Any ideas on this?
Thanks
James
---------- Post added 10th April 2015 at 12:00 AM ---------- Previous post was 9th April 2015 at 11:37 PM ----------
jimbobly said:
Ah, I discovered that there is a file manager in TWRP! I now see that Those files are in the folder that you specified correctly.
However, when I go to the backup folder there is no file available. Are the files from the nandroid zip to be extracted first or is the zip file supposed to be copied whole?
I tried both methods and there is still no file to be seen in the restore window!
Have I done something wrong?
---------- Post added at 11:37 PM ---------- Previous post was at 11:06 PM ----------
Just managed to attempt a restore.
Response from system is ' Restore Complete Failed' E:No Partitions Selected for restore'!
Any ideas on this?
Thanks
James
Click to expand...
Click to collapse
jimbobly said:
Thanks, I'm on the case now. To be sure, the file that you specified starting /sdcard/ is different from the file where the phone just made the back up files.
The only file path I can access on the PC is Computer\One\Internal Storage\TWRP\BACKUPS\FA36PW918055.
Is this correct?
I assume that references to an sdcard in file names is just nominal or a partition of the main drive.
Just like to be 100% clear.
Ah, I discovered that there is a file manager in TWRP! I now see that Those files are in the folder that you specified correctly.
However, when I go to the backup folder there is no file available. Are the files from the nandroid zip to be extracted first or is the zip file supposed to be copied whole?
I tried both methods and there is still no file to be seen in the restore window!
Have I done something wrong?
Click to expand...
Click to collapse
Holy Crap!
I did it! It worked!!
Amazing, thanks so much.
Wow, what an adventure that was. Funny, I just learned loads about my phone and android totally by accident thanks to the community on here, great job!
---------- Post added at 12:18 AM ---------- Previous post was at 12:00 AM ----------
What would be the way to get the ota update for lollipop now?
jimbobly said:
Ah, I discovered that there is a file manager in TWRP! I now see that Those files are in the folder that you specified correctly.
However, when I go to the backup folder there is no file available. Are the files from the nandroid zip to be extracted first or is the zip file supposed to be copied whole?
I tried both methods and there is still no file to be seen in the restore window!
Have I done something wrong?
---------- Post added at 11:37 PM ---------- Previous post was at 11:06 PM ----------
Just managed to attempt a restore.
Response from system is ' Restore Complete Failed' E:No Partitions Selected for restore'!
Any ideas on this?
Thanks
James
---------- Post added 10th April 2015 at 12:00 AM ---------- Previous post was 9th April 2015 at 11:37 PM ----------
Holy Crap!
I did it! It worked!!
Amazing, thanks so much.
Wow, what an adventure that was. Funny, I just learned loads about my phone and android totally by accident thanks to the community on here, great job!
---------- Post added at 12:18 AM ---------- Previous post was at 12:00 AM ----------
What would be the way to get the ota update for lollipop now?
Click to expand...
Click to collapse
Sorry for the late reply, glad to know that you have managed to restore the backup. To be able to install ota update you'll need to flash the stock recovery over twrp.
Stock recovery for your version can be downloaded from this link: https://www.androidfilehost.com/?fid=95897840722646670
save it in the same folder where you have adb and fastboot on your computer and flash it like you did for twrp:
reboot your phone in bootloader / fastboot usb mode then open a command prompt from your adb/fastboot folder:
Code:
fastboot flash recovery M7_UL_Stock_Recovery_6.14.206.2.img
fastboot erase cache
fastboot reboot
Once rebooted in the os and the stock recovery flashed, you can install the ota updates: settings --> about --> Software info --> check for updates.
alray said:
Sorry for the late reply, glad to know that you have managed to restore the backup. To be able to install ota update you'll need to flash the stock recovery over twrp.
Stock recovery for your version can be downloaded from this link: https://www.androidfilehost.com/?fid=95897840722646670
save it in the same folder where you have adb and fastboot on your computer and flash it like you did for twrp:
reboot your phone in bootloader / fastboot usb mode then open a command prompt from your adb/fastboot folder:
Code:
fastboot flash recovery M7_UL_Stock_Recovery_6.14.206.2.img
fastboot erase cache
fastboot reboot
Once rebooted in the os and the stock recovery flashed, you can install the ota updates: settings --> about --> Software info --> check for updates.
Click to expand...
Click to collapse
Thanks very much for the support, great community on here, love it.
Really thought that was the end of my One but it's incredible what a bit of perseverance does for you.
I'll give that update a go, maybe now I have the confidence to experiment a bit more with the phone.
Thanks again!
I'm using TWRP for a factory reset , but I hit the wrong press the Format Data , and now can not do anything with it . Help me I'm going to do next . In order to give the computer back to normal. My machine is detailed
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000.
(bootloader) version-baseband: 4A.21.3263.04.
(bootloader) version-cpld: None.
(bootloader) version-microp: None.
(bootloader) version-main: 3.63.61.1.
(bootloader) version-misc: PVT SHIP S-ON.
(bootloader) serialno: FA395WXXXXX
(bootloader) imei: 35XXXXXXXXXXXX
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064.
(bootloader) modelid: PN0710000
(bootloader) cidnum: ORANG001
(bootloader) battery-status: good.
(bootloader) battery-voltage: 3800mV.
(bootloader) partition-layout: Generic.
(bootloader) security: on
(bootloader) build-mode: SHIP.
(bootloader) boot-mode: FASTBOOT.
(bootloader) commitno-bootloader: dirty-b0a25cb2.
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
ADB sideload is Failed :crying::crying::crying:
but can use adb fastboot
help me please
I am kinda trying to figure out the same issue, I will post a reply in here if I get it working. I think from what I have read you might need to relock your device and flash an appropriate RUU in fastboot usb using the apropriate adb commands. I am a newbie though and still learning the android architecture so I would wait for someone more qualified to respond. If I get my device back to a stable ROM I will update you on the steps I took!
adb push?
Yep like he said. In recovery adb push ROM.zip /sdcard/
Sent from my HTC One using XDA Premium 4 mobile app
thank for help
svenell said:
I am kinda trying to figure out the same issue, I will post a reply in here if I get it working. I think from what I have read you might need to relock your device and flash an appropriate RUU in fastboot usb using the apropriate adb commands. I am a newbie though and still learning the android architecture so I would wait for someone more qualified to respond. If I get my device back to a stable ROM I will update you on the steps I took!
Click to expand...
Click to collapse
I can relock it again, but I have no ruu for cid: ORANG001 trying to hard.:crying::crying:
thank for help
nateboi81 said:
Yep like he said. In recovery adb push ROM.zip /sdcard/
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Can you recommend a rom for my device that you can use nandroid or not.
I'm finding it difficult
Thank you
tell me please
"adb sideload", while convenient, is less reliable than the old-fashioned method of pushing to /sdcard and using TWRP to install it. For this to work:
- TWRP must be installed (2.6.3.3 or newer).
- If not installed, make sure the bootloader is unlocked and install it with "fastboot flash recovery name-of-recovery.img", then clear cache just to be safe.
- Boot to TWRP through the bootloader using volume/power buttons (look for instructions online)
- Use "adb devices" to make sure ADB is working and detecting the phone
- Use "adb push rom.zip /sdcard/"
- If the push fails, make sure you are typing the correct path/filename to the ROM zip you want to install.
- If the push fails with an error about can't write or "no such file or directory", your data partition may be corrupted or not mounted (or maybe even out of space). You can solve this within TWRP. The most drastic (and most effective) solution is to format userdata, but you'll lose everything on the phone. There are other ways to solve this, but it's a case-by-case thing.
- If you try something to fix the "push" and want to try again, make sure /data and /sdcard are mounted (in the TWRP mounts section).
- After "push", you should check the md5sum of the file to make sure it hasn't been corrupted (check to see that it agrees with the md5sum on the download page). If there is no md5sum on the download page, ask in a forum.
- The command to check the md5sum for ALL zip files on /sdcard (because this is accident-proof) is:
Code:
adb shell "md5sum /sdcard/*.zip"
- Then you can "install" the normal way, using TWRP, without sideload.
Depending on which step fails, there are different things to try to fix the problem. If something fails, please provide ALL details of what you did, and all details about the error (write down the exact error message). If the error is in your TWRP usage, get the "recovery.log" file, which you can copy to the computer with
Code:
adb pull /tmp/recovery.log
---------- Post added at 09:06 AM ---------- Previous post was at 09:03 AM ----------
Oh, and I forgot to mention, the ROM that most people seem to use (also the one that looks the most like the stock ROM) is Android Revolution HD. Note that there's a bug in the installer: if you don't have the newest firmware, you should choose "Wipe Data" when the Aroma Installer asks whether you want to wipe data. For some reason this is not the same as a factory reset in the TWRP menus.
fenstre said:
"adb sideload", while convenient, is less reliable than the old-fashioned method of pushing to /sdcard and using TWRP to install it. For this to work:
Click to expand...
Click to collapse
I'm having a similar issue but my internal sd won't mount when I start it, It says unable to moung /system, /cache and so forth. I'm running out of things to try.
---------- Post added at 04:11 PM ---------- Previous post was at 04:04 PM ----------
fenstre said:
"adb sideload", while convenient, is less reliable than the old-fashioned method of pushing to /sdcard and using TWRP to install it. For this to work:
Click to expand...
Click to collapse
I'm having a similar issue but my internal sd won't mount when I start it, It says unable to moung /system, /cache and so forth. I'm running out of things to try.
You can use fastboot to wipe all those partitions. Fastboot erase system.....cache...etc. then format those ones in twrp
Sent from my HTC One using XDA Premium 4 mobile app
Hi,
Trying to install latest OTA and get this message while verifying system:
"/system/lib/libcrypto.so" has unexpected contents
Current system:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.27.3218.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 5.11.1540.9
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: 11111111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4263mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-e47fb74b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
I am s-off and originally bought an ATT M7 but I think I am running a WWE version now
mattileblanc said:
Hi,
Trying to install latest OTA and get this message while verifying system:
"/system/lib/libcrypto.so" has unexpected contents
Current system:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.27.3218.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 5.11.1540.9
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: 11111111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4263mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-e47fb74b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
I am s-off and originally bought an ATT M7 but I think I am running a WWE version now
Click to expand...
Click to collapse
5.11.1540.9 is the latest dev edition version.
what is the update number you are trying to install?
when you go in settings --> About -->Software Information, what does it says under ROM version?
is your CID really 11111111111 ? CID is only 8 characters, even super cid, should be (8x1): 11111111 not (11x1): 11111111111
the error from the ota installation mean the file was modified so the update can't patch this file. you have to replace the file with the exact file the ota update is expecting. anyway with s-off you could simply run a ruu and then apply ota updates to latest version.
alray said:
5.11.1540.9 is the latest dev edition version.
what is the update number you are trying to install?
when you go in settings --> About -->Software Information, what does it says under ROM version?
is your CID really 11111111111 ? CID is only 8 characters, even super cid, should be (8x1): 11111111 not (11x1): 11111111111
the error from the ota installation mean the file was modified so the update can't patch this file. you have to replace the file with the exact file the ota update is expecting. anyway with s-off you could simply run a ruu and then apply ota updates to latest version.
Click to expand...
Click to collapse
Hi,
My super CID is 11111111, I just typed the value because it was a dump of today when I went back to original CID (CWS_001).
My current software number is 4.19.1540.9, but I do have the newest firmware (5.11.1540.9).
When you say, simply run a RUU ,where would I find a RUU that will keep my version stock with Play Store working etc and how would I install that.
I have done several ADB and fastboot things, but I am a bit confused which is what etc..
What is a RUU exactly?
And which version should I choose. Looking at site: http://androidruu.com/?developer=M7
I don't know if the last RUU I installed was a european one or a WWE. Not sure how to find out.
mattileblanc said:
Hi,
My super CID is 11111111, I just typed the value because it was a dump of today when I went back to original CID (CWS_001).
My current software number is 4.19.1540.9, but I do have the newest firmware (5.11.1540.9).
When you say, simply run a RUU ,where would I find a RUU that will keep my version stock with Play Store working etc and how would I install that.
I have done several ADB and fastboot things, but I am a bit confused which is what etc..
Click to expand...
Click to collapse
well you don't really need supercid to run this version, better to use the correct one for .1540 version (BS_US001)
Code:
fastboot oem writecid BS_US001
fastboot reboot-bootloader
then run this file (ruu.exe): http://www.htc1guru.com/dld/ruu_m7_..._10-38r-1157-04l_release_353887_signed_3-exe/
then you'll be able to apply the ota update to 5.11.1540.9
keep bootloader unlocked and s-off
btw the ruu will wipe everything on your phone, so if you have files to backup, do it before running the ruu.
.1540 is the dev edition version.
alray said:
well you don't really need supercid to run this version, better to use the correct one for .1540 version (BS_US001)
Code:
fastboot oem writecid BS_US001
fastboot reboot-bootloader
then run this file (ruu.exe): http://www.htc1guru.com/dld/ruu_m7_..._10-38r-1157-04l_release_353887_signed_3-exe/
then you'll be able to apply the ota update to 5.11.1540.9
keep bootloader unlocked and s-off
btw the ruu will wipe everything on your phone, so if you have file to backup, do it before running the ruu.
Click to expand...
Click to collapse
Okay, I will give it a try. I reckon I will receive a new OTA message after doing the upgrade, or should I save the downloaded file? Not that I can install it with TWRP I guess?
mattileblanc said:
Okay, I will give it a try. I reckon I will receive a new OTA message after doing the upgrade, or should I save the downloaded file? Not that I can install it with TWRP I guess?
Click to expand...
Click to collapse
Yes you'll get a notification to update to latest version after running the ruu but if you don't want to re-download the ota, make a backup of the ota.zip file on your computer, you'll be able to flash it manually after running the ruu. And no you can't install ota with twrp, only with stock recovery. However the ruu will make everything back to stock (including the recovery).
alray said:
Yes you'll get a notification to update to latest version after running the ruu but if you don't want to re-download the ota, make a backup of the ota.zip file on your computer, you'll be able to flash it manually after running the ruu. And no you can't install ota with twrp, only with stock recovery. However the ruu will make everything back to stock (including the recovery).
Click to expand...
Click to collapse
By the way, I am on a mac:
RUU_M7_UL_K44_SENSE55_MR_BrightstarUS_WWE_4.19.1540.9_Radio_4A.23.3263.28_10.38r.1157.04L_release_353887_signed_3.exe
is this exe actually a zip or can I somehow use the exe extension?
mattileblanc said:
By the way, I am on a mac:
RUU_M7_UL_K44_SENSE55_MR_BrightstarUS_WWE_4.19.1540.9_Radio_4A.23.3263.28_10.38r.1157.04L_release_353887_signed_3.exe
is this exe actually a zip or can I somehow use the exe extension?
Click to expand...
Click to collapse
.exe file extension is a windows executable, not compatible with macOS
---------- Post added at 01:04 AM ---------- Previous post was at 01:02 AM ----------
latest 1540 ruu.zip is a 3.22.1540.1 version, if you use that one, you'll need to do many ota updates.
there is also a 5.11.1540.9 twrp nandroid backup that I have posted in the general section
alray said:
.exe file extension is a windows executable, not compatible with macOS
---------- Post added at 01:04 AM ---------- Previous post was at 01:02 AM ----------
latest 1540 ruu.zip is a 3.22.1540.1 version, if you use that one, you'll need to do many ota updates.
there is also a 5.11.1540.9 twrp nandroid backup that I have posted in the general section
Click to expand...
Click to collapse
I read somewhere:
Yes you can just use the Decrypted.zip Rename it to something simple like RUU.zip put it in your fastboot folder, Open a cmd prompt from that same folder. Relock the bootloader if you are s-on. Put the phone in fastboot usb mode and use these commands
Or
I do have windows virtual image on virtual box, I could probably extract it there. Hopefully there is a zip in there.
mattileblanc said:
I read somewhere:
Yes you can just use the Decrypted.zip Rename it to something simple like RUU.zip put it in your fastboot folder, Open a cmd prompt from that same folder. Relock the bootloader if you are s-on. Put the phone in fastboot usb mode and use these commands
Or
I do have windows virtual image on virtual box, I could probably extract it there. Hopefully there is a zip in there.
Click to expand...
Click to collapse
5.11.1540.9 nandroid backup made with twrp you could restore your phone with:
http://forum.xda-developers.com/showpost.php?p=52704273&postcount=936
or
you can extract the rom.zip by launching the ruu.exe from windows then use the windows key + r and execute %temp%. when the window open, do a search for "rom.zip" then copy the file to your mac
Code:
fastboot oem rebootRUU
fastboot flash zip rom.zip
fastboot flash zip rom.zip
fastboot reboot
There is a tutorial here, use google translate (tutorial in french but you can easily understand with pictures)
http://www.phonandroid.com/forum/extraire-une-rom-zip-d-une-ruu-exe-t10104.html
btw, maybe you could use the ruu.exe directly from your virtual windows machine...
alray said:
5.11.1540.9 nandroid backup made with twrp you could restore your phone with:
http://forum.xda-developers.com/showpost.php?p=52704273&postcount=936
or
you can extract the rom.zip by launching the ruu.exe from windows then use the windows key + r and execute %temp%. when the window open, do a search for "rom.zip" then copy the file to your mac
Code:
fastboot oem rebootRUU
fastboot flash zip rom.zip
fastboot flash zip rom.zip
fastboot reboot
There is a tutorial here, use google translate (tutorial in french but you can easily understand with pictures)
http://www.phonandroid.com/forum/extraire-une-rom-zip-d-une-ruu-exe-t10104.html
Click to expand...
Click to collapse
Thanks for all your help mate. Greatly appreciated . I am almost done downloading the RUU.
Will let you know it worked out!
mattileblanc said:
Thanks for all your help mate. Greatly appreciated . I am almost done downloading the RUU.
Will let you know it worked out!
Click to expand...
Click to collapse
hmmm.
Got the rom.zip from my windows VM.
Now trying to send it to phone, and I get this:
sending 'zip' (1554149 KB)...
FAILED (remote: 02 data length is too large)
finished. total time: 0.006s
Does this mean it is a corrupt rom, or should I install it from my sdcard wth TWRP?
[update] I am going to try to restore the nandroid backup now.
I am not getting any success with the rom.zip. Maybe it is corrupt.
mattileblanc said:
hmmm.
Got the rom.zip from my windows VM.
Now trying to send it to phone, and I get this:
sending 'zip' (1554149 KB)...
FAILED (remote: 02 data length is too large)
finished. total time: 0.006s
Does this mean it is a corrupt rom, or should I install it from my sdcard wth TWRP?
[update] I am going to try to restore the nandroid backup now.
I am not getting any success with the rom.zip. Maybe it is corrupt.
Click to expand...
Click to collapse
probably simpler to restore the nandroid indeed.
don't forget to do a factory reset right after you have restored the nandroid backup or you'll have issue with blinkfeed.
alray said:
probably simpler to restore the nandroid indeed.
don't forget to do a factory reset right after you have restored the nandroid backup or you'll have issue with blinkfeed.
Click to expand...
Click to collapse
I am getting a bit annoyed but....I can't install the nandroid zip.
I downloaded it, put it on SDCARD, went into recovery TWRP, and choose install and selected the zip.
I get a failed message, not really a descriptive message at all.
I just installed Nandroid Manager and busybox and tried to recover which booted into TWRP but then again it fails:
I:Copying file /cache/recovery/log to /cache/recovery/last_log
I:Attempt to load settings from settings file...
I:Loading settings from '/data/media/0/TWRP/.twrps'.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/HT34RW915589'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Mount: Unable to find partition for path '/external_sd'
I:Switching packages (TWRP)
I:Set page: 'action_page'
I:Script file found: '/cache/recovery/openrecoveryscript'
I:Copying file /cache/recovery/openrecoveryscript to /tmp/openrecoveryscript
Processing OpenRecoveryScript file...
I:command is: 'install' and I:value is: '/sdcard/data/5.11.1540.9 TWRP NANDROID.zip'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
Installing zip file '/sdcard/data/5.11.1540.9 TWRP NANDROID.zip'
Installing '/sdcard/data/5.11.1540.9 TWRP NANDROID.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/data/5.11.1540.9 TWRP NANDROID.zip.md5
Skipping MD5 check: no MD5 file found.
E:Error installing zip file '/sdcard/data/5.11.1540.9 TWRP NANDROID.zip'
Done processing script file
TRying a different file now
mattileblanc said:
I am getting a bit annoyed but....I can't install the nandroid zip.
I downloaded it, put it on SDCARD, went into recovery TWRP, and choose install and selected the zip.
I get a failed message, not really a descriptive message at all.
I just installed Nandroid Manager and busybox and tried to recover which booted into TWRP but then again it fails:
I:Copying file /cache/recovery/log to /cache/recovery/last_log
I:Attempt to load settings from settings file...
I:Loading settings from '/data/media/0/TWRP/.twrps'.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/HT34RW915589'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Mount: Unable to find partition for path '/external_sd'
I:Switching packages (TWRP)
I:Set page: 'action_page'
I:Script file found: '/cache/recovery/openrecoveryscript'
I:Copying file /cache/recovery/openrecoveryscript to /tmp/openrecoveryscript
Processing OpenRecoveryScript file...
I:command is: 'install' and I:value is: '/sdcard/data/5.11.1540.9 TWRP NANDROID.zip'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
Installing zip file '/sdcard/data/5.11.1540.9 TWRP NANDROID.zip'
Installing '/sdcard/data/5.11.1540.9 TWRP NANDROID.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/data/5.11.1540.9 TWRP NANDROID.zip.md5
Skipping MD5 check: no MD5 file found.
E:Error installing zip file '/sdcard/data/5.11.1540.9 TWRP NANDROID.zip'
Done processing script file
TRying a different file now
Click to expand...
Click to collapse
Okay, different file gives same error. Is there something wrong with my TWRP 2.6.3.3?
I also tried CWM Recover. Same issue, doesnt like the zip. I have no idea what is causing this.
mattileblanc said:
Okay, different file gives same error. Is there something wrong with my TWRP 2.6.3.3?
I also tried CWM Recover. Same issue, doesnt like the zip. I have no idea what is causing this.
Click to expand...
Click to collapse
it's a twrp nandroid backup, you cannot "install" that
extract the zip on your PC and it should give you a folder
place that folder in /sdcard/TWRP/BACKUPS/HT34RW915589/ and then select restore in twrp recovery
mattileblanc said:
Okay, different file gives same error. Is there something wrong with my TWRP 2.6.3.3?
I also tried CWM Recover. Same issue, doesnt like the zip. I have no idea what is causing this.
Click to expand...
Click to collapse
Okay, sorry about that. Most things I install with TWRP are zip files, so that was obvious for me.
Putting the folder in the TWRP/backups/ folder didnt; work. I made a new small backup myself and then overwritten the files with the ones from the zip. Recovery worked and I am now running Sense 6.
Thanks guys, both of you!
mattileblanc said:
Okay, sorry about that. Most thinks I install with TWRP are zip files, so that was obvious for me.
Putting the folder in the TWRP/backups/ folder didnt; work. I made a new small backuo myself and then overwritten the files with the onces from the zip. Recovery worked and I am now running Sense 6.
Thanks guys, both of you!
Click to expand...
Click to collapse
exactly, you have to make a "fake" backup first to generate the backup path from twrp and then place the nandroid backup you want to restore in this path, overwriting the "fake" backup, like you did.
now that your issue is solved, could you please edit your first post and add [solved] to your thread title? thanks. (click "edit/delete" then "go advanced")
alray said:
exactly, you have to make a "fake" backup first to generate the backup path from twrp and then place the nandroid backup you want to restore in this path, overwriting the "fake" backup, like you did.
now that your issue is solved, could you please edit your first post and add [solved] to your thread title? thanks. (click "edit/delete" then "go advanced")
Click to expand...
Click to collapse
Hi alray,
You might have received the OTA for 4.4.3 from HTC too. Can you advice me where to get the stock recovery so that I can install the OTA and then revert back to TWRP?
mattileblanc said:
Hi alray,
You might have received the OTA for 4.4.3 from HTC too. Can you advice me where to get the stock recovery so that I can install the OTA and then revert back to TWRP?
Click to expand...
Click to collapse
you need stock recovery for 5.11.1540.9?
http://forum.xda-developers.com/showthread.php?t=2545227
My phone is HTC one m7, I'm facing internal storage 0mb trouble.
I was able to unlock the bootloader and flash into the recovery TWRP v2.8.6.0, but then when i wanted to flash the new rom, my internal storage shows 0 (seeing from TWRP), I also cannot paste any ROM zip file into the device storage via computer. Pictures will explain more of my trouble.
http://imgur.com/I9661H4
http://imgur.com/iP4c3ns
I tried all wipes and factory reset, still unable to mount data, I tried some guide on Fix a corrupted DATA partition, http://android-revolution-hd.blogspot.my/2013/10/fix-data-htc-one.html
I was able to push the rom.zip inside, but failed to flash to rom in the end.
http://imgur.com/e7jQ3NH
I'm in desperate need help, any help from anyone will be much appreciate. Thanks in advance.
Nothing to worry
I was same trubble
I find solution n worked for me
Just boot in recovery
Touch the "wipe" tab
Then "format data" tab
Type "yes" and "go"
Then wait for completion
Touch "mount"
Now touch "disable/enable MTP" wait for some time computer will detect MTP automatically
Paste any rom as you like
raghav9 9 said:
Nothing to worry
I was same trubble
I find solution n worked for me
Just boot in recovery
Touch the "wipe" tab
Then "format data" tab
Type "yes" and "go"
Then wait for completion
Touch "mount"
Now touch "disable/enable MTP" wait for some time computer will detect MTP automatically
Paste any rom as you like
Click to expand...
Click to collapse
Thx for the reply and solution, however i tried all your steps before and it did not work, I try it again just now, still not working. Thx for the help anyway, maybe mine was more complicated.
kirouke92 said:
Thx for the reply and solution, however i tried all your steps before and it did not work, I try it again just now, still not working. Thx for the help anyway, maybe mine was more complicated.
Click to expand...
Click to collapse
Can you please post the output of "fastboot getvar all" command (hide your imei and serial numbers) and please post a link to the exact twrp version you have downloaded and flashed on your phone.
alray said:
Can you please post the output of "fastboot getvar all" command (hide your imei and serial numbers) and please post a link to the exact twrp version you have downloaded and flashed on your phone.
Click to expand...
Click to collapse
version: 0.5
version-bootloader: 1.61.0000
version-baseband: 4T.35.3218.16
version-cpld: None
version-microp: None
version-main: 7.21.707.51
version-misc: PVT SHIP S-ON
serialno:
imei:
meid: 00000000000000
product: m7_ul
platform: HBOOT-8064
modelid: PN0714000
cidnum: HTC__044
battery-status: good
battery-voltage: 4301mV
partition-layout: Generic
security: on
build-mode: SHIP
boot-mode: FASTBOOT
commitno-bootloader: dirty-0e2a13e5
hbootpreupdate: 11
gencheckpt: 0
I egt my TWRP version 2.8.6.0 and downloaded from here. https://dl.twrp.me/m7/twrp-2.8.6.0-m7.img.html