Failed Flash? - HTC One SV

I was trying to go back to stock before testing out eduardog131's deodexed rom. I tried my backup boot.img and it failed, so I grabbed the default from here, ADB console says the write is successfulm but it hangs at the splash screen when I try to boot I can get into the bootloader and recovery, and have the PLlIMG.zip I saved long ago (from which I extracted the same boot.img I've used before), but can't copy it over without booting. What on Earth could I have done?

zomgitsanoob said:
I was trying to go back to stock before testing out eduardog131's deodexed rom. I tried my backup boot.img and it failed, so I grabbed the default from here, ADB console says the write is successfulm but it hangs at the splash screen when I try to boot I can get into the bootloader and recovery, and have the PLlIMG.zip I saved long ago (from which I extracted the same boot.img I've used before), but can't copy it over without booting. What on Earth could I have done?
Click to expand...
Click to collapse
I bet the 'PL80IMG.zip' that you have is for 4.1.2
And you updated to 4.2.2

It's 4.2.2
I made it after upgrading so I'd be able to restore system.img , boot.img , and android-info.txt easily

zomgitsanoob said:
It's 4.2.2
I made it after upgrading so I'd be able to restore system.img , boot.img , and android-info.txt easily
Click to expand...
Click to collapse
You are aware that when you go to restore your device with your backup that you don't have to restore everything, right? You can uncheck everything and just leave the boot.img checked. Then swipe to restore in your custom recovery. The boot.img will be put back.
Sent from my C525c using Tapatalk

zomgitsanoob said:
It's 4.2.2
I made it after upgrading so I'd be able to restore system.img , boot.img , and android-info.txt easily
Click to expand...
Click to collapse
So the system.img that you have in the PL80IMG.zip is from a TWRP/CWM backup....it won't flash through bootloader unless you used dd to pull the system.img.....
Other words, you will not be able to flash PL80IMG.zip with a TWRP and or CWM backup of the system.img.....it's not the correct format
Only recovery.img and boot.img from TWRP/CWM backup will flash through bootloader PL80IMG.zip style......
Why not just click 'restore'? While in recovery...

zomgitsanoob said:
I was trying to go back to stock before testing out eduardog131's deodexed rom. I tried my backup boot.img and it failed, so I grabbed the default from here, ADB console says the write is successfulm but it hangs at the splash screen when I try to boot I can get into the bootloader and recovery, and have the PLlIMG.zip I saved long ago (from which I extracted the same boot.img I've used before), but can't copy it over without booting. What on Earth could I have done?
Click to expand...
Click to collapse
You didn't have to go stock to flash his Rom. Its a Rom lol. Its not like an OTA where it does checks on the system files and then patches them.
Take note of that for any future roms down the road.
Sent from my C525c using Tapatalk

Related

US Tmobile One S failed RUU

After unlock, root install recovery, by following
http://www.htconeforum.com/forum/htc-one-s-hacks/385-how-unlock-root-htc-one-s.html
then I put miui.2.8.24 from official website:
http://www.miui.com/extra.php?mod=download/rom&fid=160
after reboot, install miui, then reboot, the screen stays on the boot picture of miui, never changes, I guess that failed, and too bad, I didn't notice there is back up function in recovery, so I didn't notice,
what I have is: fast boot still talks to the phone, but seems can't mount the phone as a drive, so I can't load other ROMs to try it out.
then I try to follow this one:
http://www.htconeforum.com/forum/ht...c-one-s-back-100-stock-relocked.html#post2817
to restore the stock rom, there was any luck, after long time trying, RUU just failed. what should I do now?
I already relock it, can I still unlock it? if so, is there anywhere I can find stock img, and use fast boot to flash the stock img? is that possible?
Thanks.
Did you fastboot the boot.img of say ROM you're flashing?
If using CWM you need to fastboot the boot.img, just extract the boot.img from the ROM
Using fastboot
Code:
fastboot flash boot boot.img
baseballfanz said:
Did you fastboot the boot.img of say ROM you're flashing?
If using CWM you need to fastboot the boot.img, just extract the boot.img from the ROM
Using fastboot
Code:
fastboot flash boot boot.img
Click to expand...
Click to collapse
first of all, thanks for reply,
no, but i did try to flash another boot.img, and wasn't any luck, so each rom has its own boot.img?
Ummm.......Yeah. It should be in the zip of rom you flashed.
T-MobileUS HTC One S running Stock Rooted 2.21.
fmedrano1977 said:
Ummm.......Yeah. It should be in the zip of rom you flashed.
T-MobileUS HTC One S running Stock Rooted 2.21.
Click to expand...
Click to collapse
thanks, I will try it tonight. by the way, after you rooted, you get better battery performance while running stock rom?

Fastboot boot img

Hello all. Im new to this particular forum. I own a Galaxy Nexus, but I am unlocking/rooting my buddies One S for him. I have gone through the loops already; unlocked the bootloader, rooted, and installed custom recovery (CWM) with no issues. I was pleasantly surprised to find out that it was a snap compared to his previous HTC Legend. Nightmare.
Anyway, forgive me if this has in fact been answered as I have been searching. After a custom ROM is flashed you still have to flash a boot img via fastboot? I attempted to install CM10 yesterday and get stuck at the HTC boot screen?? Luckily I made a nandroid of the stock ROM and easily reverted. Where do I find the appropriate boot img? Is it just the img that is found in the unpacked ROM? Couldn't find anything pertaining to this in the ROM write up. I know with my Nexus you flash the ROM via recovery and that is it. Strange that you need to also flash the boot img following the ROM flash.
Any help is appreciated.
brunswick000 said:
Hello all. Im new to this particular forum. I own a Galaxy Nexus, but I am unlocking/rooting my buddies One S for him. I have gone through the loops already; unlocked the bootloader, rooted, and installed custom recovery (CWM) with no issues. I was pleasantly surprised to find out that it was a snap compared to his previous HTC Legend. Nightmare.
Anyway, forgive me if this has in fact been answered as I have been searching. After a custom ROM is flashed you still have to flash a boot img via fastboot? I attempted to install CM10 yesterday and get stuck at the HTC boot screen?? Luckily I made a nandroid of the stock ROM and easily reverted. Where do I find the appropriate boot img? Is it just the img that is found in the unpacked ROM? Couldn't find anything pertaining to this in the ROM write up. I know with my Nexus you flash the ROM via recovery and that is it. Strange that you need to also flash the boot img following the ROM flash.
Any help is appreciated.
Click to expand...
Click to collapse
Hello there, since you installed cwm recovery, you have to flash the boot.img via fastboot, if you have the twrp recovery you may not need to flash it via fastboot, it does it for you if you have an hboot under 1.14 but if its over that hboot your going to have to flash the boot.img for any Rom via fastboot. It still wouldn't hurt to flash the boot.img via fastboot but that's just me, well I hope I helped you and if I did then good, and if you wanna know more just ask...
If I helped then just press the thanks button
Sent from my One S
leohdz148 said:
Hello there, since you installed cwm recovery, you have to flash the boot.img via fastboot, if you have the twrp recovery you may not need to flash it via fastboot, it does it for you if you have an hboot under 1.14 but if its over that hboot your going to have to flash the boot.img for any Rom via fastboot. It still wouldn't hurt to flash the boot.img via fastboot but that's just me, well I hope I helped you and if I did then good, and if you wanna know more just ask...
If I helped then just press the thanks button
Sent from my One S
Click to expand...
Click to collapse
Got it to work. Thank you. :good:
brunswick000 said:
Got it to work. Thank you. :good:
Click to expand...
Click to collapse
Hi,
I was using CM10 and now I want to revert back to my previously used stock ROM. However after restoring I'm still unable to boot (I'm using ClockworkMod Touch). Do I need to flash the stock boot.img too? Where I can find it?
Thanks in advance!
TnTonly said:
Hi,
I was using CM10 and now I want to revert back to my previously used stock ROM. However after restoring I'm still unable to boot (I'm using ClockworkMod Touch). Do I need to flash the stock boot.img too? Where I can find it?
Thanks in advance!
Click to expand...
Click to collapse
Its in the rom.zip just extract it. Also look for Flash Image Gui in apps section as enables you too flash a boot.img direct from your phone whilst booted in a rom and will even extract the files for you from the new rom.zip!
Edit: Link to Flash Image Gui - http://forum.xda-developers.com/showthread.php?t=1954121
shadowch31 said:
Its in the rom.zip just extract it. Also look for Flash Image Gui in apps section as enables you too flash a boot.img direct from your phone whilst booted in a rom and will even extract the files for you from the new rom.zip!
Edit: Link to Flash Image Gui - http://forum.xda-developers.com/showthread.php?t=1954121
Click to expand...
Click to collapse
I can't find the zip file for stock HTC ROM
Anyway, I found the boot.img in the nandroid backup folder and it's all good now.
Thank you for the link! ^_^
I would also switch to TWRP. Seems to have less issues, if any, for most folks
Get it thru Goo Manager from PlayStore--

[Q] Restoring CWM backup folders using fastboot.

Is it possible and if yes then how would I restore (using fastboot) a CWM backup folder containing:
boot.img
cache.ext4.tar
cache.ext4.tar.a
data.ext4.tar
data.ext4.tar.a
nandroid.md5
recovery.img
recovery.log
system.ext4.tar
system.ext4.tar.a
I want to use fastboot and not just restore from recovery because it would be very useful to know this.
Thanks
Fastboot no way.
You can adb push the backup to your sdcard and restore it via recovery.
I wouldn't expect extracting the backup and adb pushing the contents to system or data would be a good idea
You could restore an adb backup though but with all this, I'd have to ask "why?"
Sent from my Nexus 5 using Tapatalk
rootSU said:
Fastboot no way.
You can adb push the backup to your sdcard and restore it via recovery.
I wouldn't expect extracting the backup and adb pushing the contents to system or data would be a good idea
You could restore an adb backup though but with all this, I'd have to ask "why?"
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I wanted to see if this was possible so that after trying android L i could easily restore everything. I am assuming that installing android l using fastboot will revert my CWM recovery back to stock so then I wouldn't be able to restore my old setup. That's my reasoning.
I haven't looked at the L download but I doubt very much a developer preview of Android would contain a recovery.img
In any case you'd still be without recovery
Sent from my Nexus 5 using Tapatalk
nmushkin said:
I wanted to see if this was possible so that after trying android L i could easily restore everything. I am assuming that installing android l using fastboot will revert my CWM recovery back to stock so then I wouldn't be able to restore my old setup. That's my reasoning.
Click to expand...
Click to collapse
Yes, flashing all the L img files will replace the custom recovery with the stock one. If you want to restore, all you gotta do is flash back cwm and then restore.
vin4yak said:
Yes, flashing all the L img files will replace the custom recovery with the stock one. If you want to restore, all you gotta do is flash back cwm and then restore.
Click to expand...
Click to collapse
odd. Why do they provide a stock recovery?
Anyway yeaf flash recovery, adb push your /sdcard contents back and restore. Since you have to wipe /sdcard, you'll already be needing to push back
rootSU said:
odd. Why do they provide a stock recovery?
Click to expand...
Click to collapse
Yes, it's strange as it's a "developer's preview". Since it can be accessed by the general public as well, they thought of including the recovery as well. All the previous factory images had bootloaders, recoveries even though they weren't updated so they might have stuck on this practice in this release as well :silly:
rootSU said:
odd. Why do they provide a stock recovery?
Anyway yeaf flash recovery, adb push your /sdcard contents back and restore. Since you have to wipe /sdcard, you'll already be needing to push back
Click to expand...
Click to collapse
They provide it most likely because it's a part of AOSP. And they know not only devs will flash this. No OTA updates too..

[ROM][M4 - 2.12.401.1] Official Stock Android 4.3 Sense 5.5 Nand Back Up

Hi ...
After Many Try i build Nand Back Up From Official Stock Android 4.3 Sense 5.5 - 2.12.401.1 :angel:
Any Body Want Back To Stock
You Must Be S-off, Dev-Unlock, Have TWRP Recovery, Hboot 2.22
Download All Part, Extract Them, Copy Final Folder To phone Storage, Wipe Factory, Cache, Dalvik
Next Select Restore, From Back Up Sub Menu
After Restore, Reboot Bootloader, Find boot.emmc.win in Extracted Folder
Code:
fastboot flash boot boot.emmc.win
Flash Stock Recovery
Code:
fastboot flash recovery recovery.img
Then Relock Your Phone.
After All, reboot Phone And let Phone Boot Noramaly.
Now Update Your Phone Via Setting Menu. :laugh:
Official Stock Android 4.3 Sense 5.5 Nand Back Up
Don't Forget Hit thanks
Does it hv all apps like soundhound flash light etc?
harib12 said:
Does it hv all apps like soundhound flash light etc?
Click to expand...
Click to collapse
Flash light, Sound Recorder,etc,...Yes !!!
But Sound Hound Not Available in official sense 6 !!!
Can you share these missing apps sense 5.5 which are removed when we unlock bootloader. sound hound is available in sense 5 @jack15381
is this internatinal or AT&T version?
romy134 said:
is this internatinal or AT&T version?
Click to expand...
Click to collapse
International(WWE-401)
jack15381 said:
International(WWE-401)
Click to expand...
Click to collapse
Aww any idea where I can get a at&t nand 5.5.. Need it for warranty
jack15381 said:
International(WWE-401)
Click to expand...
Click to collapse
it only have seven digital nothing else no calculator no flashlight no soundhound
harib12 said:
it only have seven digital nothing else no calculator no flashlight no soundhound
Click to expand...
Click to collapse
After install it, update via ota. Every thong came back
jack15381 said:
After install it, update via ota. Every thong came back
Click to expand...
Click to collapse
your backup is pretty old can i also have same files?
harib12 said:
your backup is pretty old can i also have same files?
Click to expand...
Click to collapse
Your mean ota files ?
And software update demoting me to up[date 4.4.2
i have 4.4.3 backup acan i install it like ur backup
harib12 said:
And software update demoting me to up[date 4.4.2
i have 4.4.3 backup acan i install it like ur backup
Click to expand...
Click to collapse
huh?
jack15381 said:
huh?
Click to expand...
Click to collapse
ota is of 4.4.2 simple not sense 6? its an kit kat update
harib12 said:
ota is of 4.4.2 simple not sense 6? its an kit kat update
Click to expand...
Click to collapse
First update improve 4.3
After that 4.4.2 with sense 5.5
And At last 4.4.2 with Sense 6
When I click on Restore from TWRP I don't have anything to select from. The files are copied to the internal storage, did a factory wipe.. nothing. Please help
Using TWRP 2.7.1.1
Edit:
I made a backup with TWRP and saw it made it in another folder.. moved your nandroid backup to that folder and it's shown Thanks!
Edit 2:
It showed as failed and couldn't boot. I'm restoring my old backup now to see what's wrong.. It might've not copied correctly.. I don't know ;/ Will continue to update this post
Edit 3:
I saw it hasn't copied itself correctly 'cause I did move them through the phone's file manager
Edit 4:
After successfully restoring, I can't access fastboot to flash boot and recovery.. I saw that TWRP automatically flashes boot from the restore, so I don't think that's needed. But for the recovery, I'll try later.. right now I've booted up the phone and it started without a problem. Didn't ask for any setup though.. I'll try adb reboot bootloader now and flash boot and recovery, then lock it again.. if it works, I might just format everything and do a clean install
--
The fastboot still won't work, the PC doesn't recognize it at all... ;/ It just shows 'USB Device not recognized' popup and that's all -_-
Peshyy said:
When I click on Restore from TWRP I don't have anything to select from. The files are copied to the internal storage, did a factory wipe.. nothing. Please help
Using TWRP 2.7.1.1
Edit:
I made a backup with TWRP and saw it made it in another folder.. moved your nandroid backup to that folder and it's shown Thanks!
Edit 2:
It showed as failed and couldn't boot. I'm restoring my old backup now to see what's wrong.. It might've not copied correctly.. I don't know ;/ Will continue to update this post
Edit 3:
I saw it hasn't copied itself correctly 'cause I did move them through the phone's file manager
Edit 4:
After successfully restoring, I can't access fastboot to flash boot and recovery.. I saw that TWRP automatically flashes boot from the restore, so I don't think that's needed. But for the recovery, I'll try later.. right now I've booted up the phone and it started without a problem. Didn't ask for any setup though.. I'll try adb reboot bootloader now and flash boot and recovery, then lock it again.. if it works, I might just format everything and do a clean install
--
The fastboot still won't work, the PC doesn't recognize it at all... ;/ It just shows 'USB Device not recognized' popup and that's all -_-
Click to expand...
Click to collapse
your phone is in the fastboot mode Or Normal Mode ?
jack15381 said:
your phone is in the fastboot mode Or Normal Mode ?
Click to expand...
Click to collapse
It wasn't working because of a faulty HBOOT.. I got it fixed but I didn't know it was faulty.. Flashed firmware, flashed stock recovery, added that faulty HBOOT again because it removes red text and makes *RELOCKED* show as *LOCKED* and other tiny stuff.. Now I'm with locked bootloader, stock recovery, faulty HBOOT and no way out of this situation
jack15381 said:
Hi ...
After Many Try i build Nand Back Up From Official Stock Android 4.3 Sense 5.5 - 2.12.401.1 :angel:
Any Body Want Back To Stock
You Must Be S-off, Dev-Unlock, Have TWRP Recovery, Hboot 2.22
Download All Part, Extract Them, Copy Final Folder To phone Storage, Wipe Factory, Cache, Dalvik
Next Select Restore, From Back Up Sub Menu
After Restore, Reboot Bootloader, Find boot.emmc.win in Extracted Folder
Code:
fastboot flash boot boot.emmc.win
Flash Stock Recovery
Code:
fastboot flash recovery recovery.img
Then Relock Your Phone.
After All, reboot Phone And let Phone Boot Noramaly.
Now Update Your Phone Via Setting Menu. :laugh:
Official Stock Android 4.3 Sense 5.5 Nand Back Up
Don't Forget Hit thanks
Click to expand...
Click to collapse
Thanks for the back up!
I restored this backup and flashed the boot, recovery and relocked the bootloader..but when i boot into the rom it says no updates available?
I want to stock my phone up as i want to sell it on to retailer.
Please advise on what to do.
Check out the third post in this thread, it contains everything you need: http://forum.xda-developers.com/showthread.php?t=2851886
Seeking assistance to return to stock ROM
I followed it and went from a EE-branded running Android 4.3, to a fully stock, unrooted Android 4.4.2 and Sense 6 and on HTC's own release channel. Best thing is you can leave as Super CID and S-off and when you come to sell it, change both with a couple of basic fastboot commands. Or easily re-root it again and use a custom rom, should you feel inclined.

Should I unroot before installing latest OTA update?

I've got a Nexus 5 with Android 5.0. I've had it rooted and unlocked using SkipSoft Unified Android Toolkit. I recently got a notification for an OTA update for 5.0.1. When I tried to install it, it downloaded ok but upon restarting it dropped me into teamwin recovery menu with options for: Install, Wipe, Backup, Restore, Mount, Settings, Advanced, Reboot. Not knowing what to do I clicked on Reboot -> System which booted back into the phone. Nothing changed or got installed.
Does anyone know how I can apply the latest OTA update? Do I have to unroot first, apply and then re-root? Does the Toolkit have support for 5.0.1 rooting yet?
TIA
You must be 100% stock to update so yes, you need to fully unroot.
Though you should just fastboot flash the system.img and boot.img
Don't use toolkits. Do things manually. You can either flash SuperSU from recovery or use cf-auto root from a computer.
Its very easy, there is flashable 5.0 stock ROM, I dirty flashed, or you can do it like rootSU said via fastboot, root has been lost, then I flashed stock recovery via fastboot, there is thread for recoveries, then I upgraded via ota and flashed twrp via fastboot and flashed SuperSU to gain root and custom kernel.
My way is much quicker though as you flash 5.0.1 system and boot straight away. Nothing else.
rootSU said:
My way is much quicker though as you flash 5.0.1 system and boot straight away. Nothing else.
Click to expand...
Click to collapse
We will never understand why people even bother with OTAs regardless what we ever tell them
rootSU said:
You must be 100% stock to update so yes, you need to fully unroot.
Though you should just fastboot flash the system.img and boot.img
Don't use toolkits. Do things manually. You can either flash SuperSU from recovery or use cf-auto root from a computer.
Click to expand...
Click to collapse
Ok, I'm not 100% sure I understood everything you said. I've downloaded the 5.0.1 update from here: https://developers.google.com/android/nexus/images. Using 7zip, I noticed the system.img and boot.img is contained in the tgz file (along with several other files). Do I just extract just those two files? And then what do I do in Teamwin?
Will all my apps and data persist?
TIA
Techno79 said:
Ok, I'm not 100% sure I understood everything you said. I've downloaded the 5.0.1 update from here: https://developers.google.com/android/nexus/images. Using 7zip, I noticed the system.img and boot.img is contained in the tgz file (along with several other files). Do I just extract just those two files? And then what do I do in Teamwin?
Will all my apps and data persist?
TIA
Click to expand...
Click to collapse
Boot into bootloader
fastboot flash system system.img
fastboot flash boot boot.img
Boot into Lollipop
You didn't touch userdata.img so it doesn't touch the data partition, although a wipe is usually recommended anyways because it's a new version of Android.
Lethargy said:
Boot into bootloader
fastboot flash system system.img
fastboot flash boot boot.img
Boot into Lollipop
You didn't touch userdata.img so it doesn't touch the data partition, although a wipe is usually recommended anyways because it's a new version of Android.
Click to expand...
Click to collapse
Sweet, that worked a great. Thank you.

Categories

Resources