Back to stock with my own nandroid ? - One (M8) Q&A, Help & Troubleshooting

S-off, unlocked bootloader, ARHD 11.1, rooted, twrp
If I restore my own nandroid of my stock rom, 4.4.3 / 2.22.401.5, then flash the 2.22.401.5 stock recovery and relock bootlaoder will I be stock so I can install OTA updates ?
Thanks

Yep but you don't need to relock the bootloader.....

Mr Hofs said:
Yep but you don't need to relock the bootloader.....
Click to expand...
Click to collapse
OK, thanks

No problem, when you are in need of the stock recovery you can check my backup thread. It's hosted there

Mr Hofs said:
No problem, when you are in need of the stock recovery you can check my backup thread. It's hosted there
Click to expand...
Click to collapse
Just downloaded your stock recovery, 2.22.401.05, I see it's an 'img' rather than a 'zip'.
Do I put the file in my sdk platform tools folder, open command window and type 'fastboot flash recovery recovery.img' after renaming the file ?
Thanks

Yep that's it exactly

Mr Hofs said:
Yep that's it exactly
Click to expand...
Click to collapse
Presume I rename it 'recovery.img' ?
Thanks again.

Yes sir

Also you might need to restore the preloaded data (flashlight and calculator apps) depending on how you unlocked your phone initially. If you used the HTC dev unlock those apps will be deleted when the phone is wiped
Sent from my HTC One_M8 using XDA Free mobile app

otariq said:
Also you might need to restore the preloaded data (flashlight and calculator apps) depending on how you unlocked your phone initially. If you used the HTC dev unlock those apps will be deleted when the phone is wiped
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
I'm ok with that, s-off and unlocked bootloader with sunshine so no preloaded data 'disappeared'. So.... should be a 'complete' nandroid I've got.
Thanks

Mr Hofs said:
No problem, when you are in need of the stock recovery you can check my backup thread. It's hosted there
Click to expand...
Click to collapse
Just tried to install your stock recovery with fastboot commands. Kept getting message along the lines of "can't open file etc".
Had restored my stock nandroid successfully, put phone in fastboot mode and typed "fastboot devices" which produced my serial number ok.
Got the recovery on with a toolkit but would like to find out why it wouldn't flash with commands.
I've had these issues before with m7 too and ended up using toolkits.
Thanks.
Sent from my HTC One_M8 using XDA Free mobile app

Related

Ruu update failed

Guys I'm in deep trouble! This is what happens when you don't rally know what you're doing!
I tried to revert back to stock, first by putting stock recovery on it via fastboot which said it was successful, so when I go into recovery I've still got CWM on it, so I tried to go into usb mounts and storage because I'd put my nand back up on it to restore that but it just said error so couldn't access it. So I ended up going down the ruu route and ran 1.26.206.2 but I noticed when the ruu started to run and it said update image from 1.29.206.11 to 1.26.206.2 I guess you can't go backwards because it said something like bootloader mismatch. I've downloaded the 1.29 ruu but it's in zip format, how do I install it? Plus after running the ruu I cant install my nand backup recovery or boot image. Believe me I did do a lot of reading but I guess I'm just thick I just can't seem to grasp it. All I've got now is the bootloader so I don't know whether the phone is charging or not. The battery was probably around 80% when I started out over an hour ago and I have tried to sort it myself but this is out of my league. Can someone please help or point me in the right direction, I'm desperate.
The 1.29 RUU is not available yet, and the zip file you tried to download was apparently an OTA file, which you can't use.
Give me the following info to proceed:
-CID using fastboot command
"fastboot oem readcid"
-Main version with following command
"fastboot getvar version-main"
Sent from my EndeavorU using xda app-developers app
First of all thank you for replying.
my cid is o2-001
the main version is 1.29.206.11
First of all you should have access to custom recovery. If you can't access, try to reflash cwm and make sure it's v5.8.4.0.
Download the appropriate stock nandroid backup from here: http://forum.xda-developers.com/showthread.php?t=1975140
Save boot.img from it for further use.
Transfer backup to phone and restore as usual.
Flash boot.img.
Then you can flash stock recovery and relock bootloader if you want.
Edit: you sure your bootloader is still unlocked?
Sent from my EndeavorU using xda app-developers app
What is the exact command word for word in fastboot? this is the image I have, recovery-clockwork-touch-5.8.4.0-endeavoru
fastboot flash recovery recovery-clockwork-touch-5.8.4.0-endeavoru.img
Sent from my EndeavorU using xda app-developers app
Done that, it sends ok but then fails to write saying remote not allowed?
Your bootloader is locked. Unlock it again.
If you have the unlock_code.bin in your email, you can use it, otherwise you have to go through htcdev unlock process entirely.
Sent from my EndeavorU using xda app-developers app
I've got the original unlock code, I've followed the instructions but in the command prompt it is just stuck on sending unlock token?
eddyedwards007 said:
I've got the original unlock code, I've followed the instructions but in the command prompt it is just stuck on sending unlock token?
Click to expand...
Click to collapse
Try powering phone off and on again, confirm that it is in fastboot mode, also check if "fastboot devices" returns anything.
Do you have the unlock code in fastboot folder on your pc?
The exact command is: "fastboot flash unlocktoken unlock_code.bin"
Sent from my EndeavorU using xda app-developers app
Okay I've successfully unlocked again and its rebooted to a screen with the word android on the screen, now do I leave that to see what happens or do I need to go into bootloader and follow the instructions you gave before regarding flashing cwm etc?
Go ahead and proceed with the instructions I gave earlier.
Sent from my EndeavorU using xda app-developers app
Thanks, when I mounted the usb storage the stock backup was still there so I renamed it update.zip and then tried to install it but it came back with"installing/sdcard/update.zip
finding update package
opening update package
E:can't open sdcard/update.zip(bad)
installation aborted?
What have I done wrong?
By the way if my backup is no good and I download from the link you gave me do I download the 1.29 one or the 2.17 one?
eddyedwards007 said:
Thanks, when I mounted the usb storage the stock backup was still there so I renamed it update.zip and then tried to install it but it came back with"installing/sdcard/update.zip
finding update package
opening update package
E:can't open sdcard/update.zip(bad)
installation aborted?
What have I done wrong?
Click to expand...
Click to collapse
Are you referring to a backup made by you or one downloaded from my link?
Anyways, you do not need to rename it, just have it on sdcard in clockworkmod folder and restore it using cwm's backup/restore function.
Sent from my EndeavorU using xda app-developers app
---------- Post added at 01:10 AM ---------- Previous post was at 01:04 AM ----------
eddyedwards007 said:
By the way if my backup is no good and I download from the link you gave me do I download the 1.29 one or the 2.17 one?
Click to expand...
Click to collapse
2.17 one is for cid O2_E11, which you don't have. So 1.29 it is.
Sent from my EndeavorU using xda app-developers app
TToivanen said:
Are you referring to a backup made by you or one downloaded from my link?
Anyways, you do not need to rename it, just have it on sdcard in clockworkmod folder and restore it using cwm's backup/restore function.
Sent from my EndeavorU using xda app-developers app
---------- Post added at 01:10 AM ---------- Previous post was at 01:04 AM ----------
2.17 one is for cid O2_E11, which you don't have. So 1.29 it is.
Sent from my EndeavorU using xda app-developers app
Click to expand...
Click to collapse
I put my backup on the sd card I don't seem to have a cwm folder but when I tried to install it it just says couldn't open directory no files found?
I'm downloading the 1.29 from the link you gave me and I'll try that.
The backup should be at /clockworkmod/backup/ otherwise it will not be recognized. Create those folders if you don't have them.
Sent from my EndeavorU using xda app-developers app
TToivanen said:
The backup should be at /clockworkmod/backup/ otherwise it will not be recognized. Create those folders if you don't have them.
Sent from my EndeavorU using xda app-developers app
Click to expand...
Click to collapse
I've done that but still get the same error, I created a folder named clockwork mod and then a subfolder named backup and put the backup in there?
Also, the backup should be unzipped, so /clockworkmod/backup/backupname/
The backupname folder should contain bunch of files: boot.img, a couple of .tar files etc. It's hard to explain.
Anyways, the downloaded backup is guaranteed to work. Just extract the .zip file's contents to the folder /clockworkmod/backup/backupname/
Sent from my EndeavorU using xda app-developers app
TToivanen said:
Also, the backup should be unzipped, so /clockworkmod/backup/backupname/
The backupname folder should contain bunch of files: boot.img, a couple of .tar files etc. It's hard to explain.
Anyways, the downloaded backup is guaranteed to work. Just extract the .zip file's contents to the folder /clockworkmod/backup/backupname/
Sent from my EndeavorU using xda app-developers app
Click to expand...
Click to collapse
I've done all that, doesn't work so I must be doing something wrong. When you say backupname do I put that in or the actual name of the file which is HOX O2 1.29 backup?
Sorry to be a pain but I'm so close now and you have been a terrific help.
Edit I've rebooted the phone and it's now restoring the backup so fingers crossed.
You have been an absolute star and a godsend and I was well and truly stumped!
A million thanks

[Q] Trouble Reverting back to Stock

Hi guys, I've been using CM 10.1 but will now sell the phone so I want to revert it back to stock. I have searched a long time for instructions but kept running into stumbling blocks. Basically, the RUU I need is 4.18.401.2 but then I found out HTC no longer released their RUUs so I tried to find a nandroid backup. Then I found this page: http://forum.xda-developers.com/showthread.php?p=33728099 but non of the correct RUUs match my CID (HTC_102). Can anyone give me a hand and point me in the right direction? Thanks a lot!
Use ANY 3.20.401 nand (yes you read it correctly !) Restore it completely, after that you flash back the 3.20 STOCK HTC recovery. Then search manually for OTA and update the phone as much as you can. AFTER that you can relock the bootloader if you wish !
https://www.dropbox.com/s/pqp1p3tgvyod610/Stock recovery 3.20.img
Sent from my HTC One X using XDA Premium 4 mobile app
Mr Hofs said:
Use ANY 3.20.401 nand (yes you read it correctly !) Restore it completely, after that you flash back the 3.20 STOCK HTC recovery. Then search manually for OTA and update the phone as much as you can. AFTER that you can relock the bootloader if you wish !
https://www.dropbox.com/s/pqp1p3tgvyod610/Stock recovery 3.20.img
Sent from my HTC One X using XDA Premium 4 mobile app
Click to expand...
Click to collapse
You sir, are a saint! Just to clarify, when the bootloader is unlocked, I can still have OTA updates? When it's relocked, OTA updates are no longer possible? I'm asking because I have a new Xperia Z1 Compact and they seem to suggest that I can only use the Sony Update Service when the bootloader is relocked. I know the Sony Update Service is not OTA and is a computer application but I just wanted to clarify that's it's not a difference in the way the phones' bootloaders function.
EDIT: I've downloaded 3.20.401.1 CWM HTC__E11 and copied the contents of the rar to my phone. I went into CWM recovery and tried to restore but it said "No Files Found. Couldn't open directory." Am I looking in the wrong place? But I couldn't choose the directory (anyway, the files are in the only folder on the SD card).
EDIT 2: I tried to do a backup to see what would happen and got this: "Backing up data...No /sdcard/.android_secure found. Skipping backup of applications on external storage. Backing up cache...No sd-ext found. Skipping backup of sd-ext."
EDIT 3:It worked! I'm such an idiot, the recovery was in the wrong folder. Thanks a bunch!
Good ! For a hox counts that you can do ota with and without an unlocked bootloader.
Sent from my HTC One X using XDA Premium 4 mobile app

HELP: Trying to flash RUU Google Edition to my M8

I have S-off, and SUPERCID but I can't get this working! My booterloader is unlocked if that means anything.
I tried the toolkit and it flashed but now my device wont boot any software!
I only have TWRP installed and access to bootloader.
What do I do?
I tried installing it again in RUU mode and now I get
"target report max download size of 1830715392 bytes
error: cannot load 'RUU-HTC_One_M8_GE-4.4-3.62.1700.16.zip' : No error
BrandonPrice31 said:
I have S-off, and SUPERCID but I can't get this working! My booterloader is unlocked if that means anything.
I tried the toolkit and it flashed but now my device wont boot any software!
I only have TWRP installed and access to bootloader.
What do I do?
I tried installing it again and now I get
"target report max download size of 1830715392 bytes
error: cannot load 'RUU-HTC_One_M8_GE-4.4-3.62.1700.16.zip' : No error
Click to expand...
Click to collapse
You don't flash the RUU through recovery, you do it in RUU mode
EddyOS said:
You don't flash the RUU through recovery, you do it in RUU mode
Click to expand...
Click to collapse
Sorry that's what I meant. I tried flashing RUU through RUU mode and I get that error.
Any chance of copying.pasting the whole text from the command prompt?
EddyOS said:
Any chance of copying.pasting the whole text from the command prompt?
Click to expand...
Click to collapse
Attached is a picture.
I really need help!
Is the zip file in your adb/fastboot folder?.... Are you spelling the name right?
Sent from my HTC One_M8 using XDA Free mobile app
exad said:
Is the zip file in your adb/fastboot folder?.... Are you spelling the name right?
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
I LOVE YOU! Spelt it wrong!
How do I flash stock gogole recovery to get OTA updates? Or is this included in the RUU ZIP?
Can I do this rooted?
BrandonPrice31 said:
I LOVE YOU! Spelt it wrong!
How do I flash stock gogole recovery to get OTA updates? Or is this included in the RUU ZIP?
Can I do this rooted?
Click to expand...
Click to collapse
Once you flash the RUU you won't be rooted, so you'll have too root again
EddyOS said:
Once you flash the RUU you won't be rooted, so you'll have too root again
Click to expand...
Click to collapse
I installed: Stock Rooted + busy box pre-installed 4.4.2-1.16.1700.16 RUU Zip
Isn't that rooted?
Yes it will be, the original file name didn't say it was rooted
And I'm not from Canada, @exad is
Yes it's included. Yes you can receive the updates while rooted.
Sent from my HTC One_M8 using XDA Free mobile app

[Q] Can't flash any rom. Stuck. M8 UK

Hi,
I am not new to rooting and flashing but I seem to have jammed.
I can flash custom recoveries(used both CWM and TWRP) no bother but I cannot flash rom.
I have tried pushing and side loading. TWRP just says failed.
CWM says cannot open update.zip from tmp (bad)
I am unlocked.
I am S-ON so I don't know a way around that atm without a ROM. I have tried reinstalling stock but failed.
HTC one M8 UK EE network.
Would love to fix this please.
I'm a novice, this is my first android phone but I believe you have to be s-off to flash ROMs. I'm on EE too, what I done was paid for Sunshine, about £14 I think, that unlocked the bootloader and s-off. I can flash ROMs no issues.
Sent from my HTC One_M8 using XDA Premium 4 mobile app
oaklandm said:
I'm a novice, this is my first android phone but I believe you have to be s-off to flash ROMs. I'm on EE too, what I done was paid for Sunshine, about £14 I think, that unlocked the bootloader and s-off. I can flash ROMs no issues.
Sent from my HTC One_M8 using XDA Premium 4 mobile app[/QUOTE
You don't need to be s-off to flash a custom rom.. just a unlocked bootloader.
Put the rom on your internal sdcard not external sdcard and try again.
Click to expand...
Click to collapse
Onem8 said:
oaklandm said:
I'm a novice, this is my first android phone but I believe you have to be s-off to flash ROMs. I'm on EE too, what I done was paid for Sunshine, about £14 I think, that unlocked the bootloader and s-off. I can flash ROMs no issues.
Sent from my HTC One_M8 using XDA Premium 4 mobile app[/QUOTE
You don't need to be s-off to flash a custom rom.. just a unlocked bootloader.
Put the rom on your internal sdcard not external sdcard and try again.
Click to expand...
Click to collapse
I thought the same with S status but I didn't have s-off when i flashed my first rom. It was only when I flashed Viper that i ran into this issue.
Click to expand...
Click to collapse
Onem8 said:
oaklandm said:
I'm a novice, this is my first android phone but I believe you have to be s-off to flash ROMs. I'm on EE too, what I done was paid for Sunshine, about £14 I think, that unlocked the bootloader and s-off. I can flash ROMs no issues.
Sent from my HTC One_M8 using XDA Premium 4 mobile app[/QUOTE
You don't need to be s-off to flash a custom rom.. just a unlocked bootloader.
Put the rom on your internal sdcard not external sdcard and try again.
Click to expand...
Click to collapse
I have tried repeatedly, all I get is failed.
Right now I have flashed TWRP.
I am going to try flashing Viper once again and should that fail, try HD revolution.
I am also now using Hasson2000 AIO toolkit on my pc incase I was going wrong with shell.
Click to expand...
Click to collapse
I only use adb..
Onem8 said:
I only use adb..
Click to expand...
Click to collapse
As I would, normally.
Toolkits cause more issues than they solve.
Try:
fastboot erase cache
Then flash recovery again, and see if that helps.
Also, do you get the phone model number as a response when you type both:
adb devices
fastboot devices
finally fixed it. Now enjoying Venom.
Thanks for your suggestions
DOWmad said:
finally fixed it. Now enjoying Venom.
Thanks for your suggestions
Click to expand...
Click to collapse
You should tell us how your fixed it. Both for our curiosity; and for others that might have a similar issue.
Also, there is a button to thank the posts you found helpful.
redpoint73 said:
You should tell us how your fixed it. Both for our curiosity; and for others that might have a similar issue.
Also, there is a button to thank the posts you found helpful.
Click to expand...
Click to collapse
Not entirely sure how i fixed it but I'll list what I did.
Usually I work from a mac but decided to start afresh on my desktop.
I downloaded venom for m8
reflashed TWRP recovery.
Booted to recovery.
wiped cache and such.
Then adb side loaded the rom.
Some reason it worked. I have done this a good few times previously and with various rooms, not just venom.
I was using the AIO toolkit to side load this rather than the ADB cmd prompt.
Thanks for posting the steps that worked for you.
Like you said, hard to say what fixed it. Perhaps getting away from the toolkit, maybe just re-flashing recovery (even though you had done so previously) or wiping cache.
If moving a ROM to the device form the PC, I prefer adb push to adb sideload. Sideload seems to fail sometimes where push is fine. Push is some more steps (booting recovery and a few taps there to flash the ROM) but it seems more reliable. Although if it worked, it worked!

[Guide] HTC Desire 300 S-OFF Rumrunner

Mod edit:
Content has been removed, this thread was in conflict with Rumrunner licensing which can be easily found on the Rumrunner website:
License
rumrunner s-off is the results of hundreds of hours of hard work by beaups and fuses. The binaries contained within the rumrunner package you download should not be shared, rehosted, bat’d, integrated into a one-click, repackaged, or otherwise distributed or reused. This software is NOT open source.
This software is provided free of charge for personal non-commercial use. For commercial use or redistribution a WRITTEN agreement with the authors is required.
Click to expand...
Click to collapse
For downloads and instructions please head to the Rumrunner site here:
http://rumrunner.us
All credit goes to the Rumrunner team: @beaups @Fuses
Heisenberg
XDA Moderator
Does it erase a data on phone or sdcard?
matek11523 said:
Does it erase a data on phone or sdcard?
Click to expand...
Click to collapse
Nope, it just somekind replace/overwrite the bootloader... *cmiiw
Sent from my GT-I9300 using XDA Premium 4 mobile app
Ok?
(Yes/No)
Yes
!! Do NOT for any reason taunt, unplug, drop, eat or pet your device !!
Please wait....
..........
Checking for updates......
ERROR: looks like device is not rooted AND lacks an unsecure kernel. su or FU!!
!
Press ENTER to exit
Click to expand...
Click to collapse
I root the phone and don't change kernel. I'm running on stock.
edit. Work now. I reboot the PC and kill the programs that run in start, turn off firewall and antivirus and run soju.exe as administrator.
matek11523 said:
I root the phone and don't change kernel. I'm running on stock.
edit. Work now. I reboot the PC and kill the programs that run in start, turn off firewall and antivirus and run soju.exe as administrator.
Click to expand...
Click to collapse
Congrats! I should add notice about antivirus and firewall. Thanks anyway..
Sent from my GT-I9300 using XDA Premium 4 mobile app
It works great. It took some time because I had to find Win7 32 bit with direct internet connection (I'm on Win8 64 bit) but at the end it is S-OFF.
Thank you!
Now I have another problem. After S-OFF with this method I can not start Bluetooth. Tried with wiping data (factory reset) but no luck. It would be nice to have radio to download. Maybe that would help my situation.
For now I will try with different ROM.
ffroms said:
Now I have another problem. After S-OFF with this method I can not start Bluetooth. Tried with wiping data (factory reset) but no luck. It would be nice to have radio to download. Maybe that would help my situation.
For now I will try with different ROM.
Click to expand...
Click to collapse
you don't have to reflash the radio, just reflash a new rom (of course clean install)
Try this one : https://drive.google.com/file/d/0B2GviR_-GCNSVFRzbmdzN1lwdFE/edit?pli=1
i'm using it and everything is running well
Thanks. Just flashed same ROM over (dirty flash) and now it is OK.
Is that link for full stock?
Warning to everyone. Don't flash CM10 (unless you want to stay with it) because you want be able to get back to stock. I tried that and ended up with mixed version that FC. Luckily I had backup before all this and that helped.
Yes but deodexed, and you're right, we can't go back to stock factory untill htc release the rom firmware separately like samsung etc
Sent from my GT-I9300 using XDA Premium 4 mobile app
A backup is always recommended anyway so you can flash whatever you want
bangdes said:
you don't have to reflash the radio, just reflash a new rom (of course clean install)
Try this one : https://drive.google.com/file/d/0B2GviR_-GCNSVFRzbmdzN1lwdFE/edit?pli=1
i'm using it and everything is running well
Click to expand...
Click to collapse
how do I Install this rom? simply flash in recovery as i would do with any rom?
LukeHorizon said:
how do I Install this rom? simply flash in recovery as i would do with any rom?
Click to expand...
Click to collapse
absolutely yes
how to lock back bootloader to be *** LOCKED***
aleksa55 said:
how to lock back bootloader to be *** LOCKED***
Click to expand...
Click to collapse
I didn't try yet, but you may see a direction here :
http://forum.xda-developers.com/showthread.php?t=2708571
Sent from my GT-P3100 using XDA Premium 4 mobile app
Do I need S-OFF for custom ROM? After unlocking the bootloader I flashed stock rooted rom with custom twrp and now when phone starts it's in airplane mode and asks me to input decryption key. Wtf is that? I've never seen that on my other phones happen. Does S-OFF help here?
Thanks in advance.
Atrax2010 said:
Do I need S-OFF for custom ROM? After unlocking the bootloader I flashed stock rooted rom with custom twrp and now when phone starts it's in airplane mode and asks me to input decryption key. Wtf is that? I've never seen that on my other phones happen. Does S-OFF help here?
Thanks in advance.
Click to expand...
Click to collapse
Actually you don't really need s-off for cus-rom, except you want to tweak the device itself. For the problem recovery, I suggest to using cwm from developer '4m8' thread
Sent from my Lenovo_A706 using XDA Premium 4 mobile app
I tried this on Windows XP- but i cannot run ADB and Fastboot
I tried it on Windows 8.1 too (installed drivers, there was "My HTC")- but when it turn phone in bootloader it says device cannot be recognized
I tried it on Windows 7 - It said that my device isnt't rooted (It is 100%) or I flashed unsupportable rom. I have flashed this one:
http://forum.xda-developers.com/showthread.php?t=2584435, can this cause this problem ? Should I flash back that odexed one ?
jukson said:
I tried this on Windows XP- but i cannot run ADB and Fastboot
I tried it on Windows 8.1 too (installed drivers, there was "My HTC")- but when it turn phone in bootloader it says device cannot be recognized
I tried it on Windows 7 - It said that my device isnt't rooted (It is 100%) or I flashed unsupportable rom. I have flashed this one:
http://forum.xda-developers.com/showthread.php?t=2584435, can this cause this problem ? Should I flash back that odexed one ?
Click to expand...
Click to collapse
Maybe the bootloader still locked?
Sent from my Lenovo A706_ROW using XDA Premium 4 mobile app
bangdes said:
Maybe the bootloader still locked?
Sent from my Lenovo A706_ROW using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Nope, it's unlocked.

Categories

Resources