Is there any way to do a full 'nandroid' backup directly to a PC over USB? The one downside I've found to HTC is if running the stock rom (but rooted), when updates come along, it's an epic pain in the neck to update. In order to update a rooted M7, you need to revert to non-rooted stock. To do that, you need a RUU. But in order for that to work, it needs to be =/> the version on the phone. For some reason, I'd swear the RUU I had was downloaded direct from HTC, but try as I might, I could not find a place to download a RUU From HTC today. When I tried to update my M7, the RUU that I had was older than what I had on the phone, so that failed, despite being S=OFF. I found a newer RUU than what I had, but that failed when trying to install it (one of the applications crashed on two different PCs). After a TON of searching, I finally found the same version I was running and was FINALLY able to get that to go and update to the latest release via two OTA updates.
What I'd like to do is take my current, 'un-molested' rom and back it up 0x000000 - 0xFFFFFFF (so to speak) via USB to my PC in such a way that when the next update comes out, I can then flash that backup back to the phone via USB, bringing it back to where it is now, totally stock, not rooted, etc, rather than trying to find some RUU that's =/> the version I'm now on in order to simply apply an update.
Is this possible?
I would consider a custom ROM. Back up directly to PC don't work afaik. But you can do the backup, then copy it to your PC.
Sent from my One using XDA Premium 4 mobile app
SubnetMask said:
Is there any way to do a full 'nandroid' backup directly to a PC over USB? The one downside I've found to HTC is if running the stock rom (but rooted), when updates come along, it's an epic pain in the neck to update. In order to update a rooted M7, you need to revert to non-rooted stock. To do that, you need a RUU. But in order for that to work, it needs to be =/> the version on the phone. For some reason, I'd swear the RUU I had was downloaded direct from HTC, but try as I might, I could not find a place to download a RUU From HTC today. When I tried to update my M7, the RUU that I had was older than what I had on the phone, so that failed, despite being S=OFF. I found a newer RUU than what I had, but that failed when trying to install it (one of the applications crashed on two different PCs). After a TON of searching, I finally found the same version I was running and was FINALLY able to get that to go and update to the latest release via two OTA updates.
What I'd like to do is take my current, 'un-molested' rom and back it up 0x000000 - 0xFFFFFFF (so to speak) via USB to my PC in such a way that when the next update comes out, I can then flash that backup back to the phone via USB, bringing it back to where it is now, totally stock, not rooted, etc, rather than trying to find some RUU that's =/> the version I'm now on in order to simply apply an update.
Is this possible?
Click to expand...
Click to collapse
Yes, it is possible but you will have to downgrade your hboot first. Once you have the phone back to stock and before putting on a custom recovery, you can make a nandroid backup of your stock rom & recovery.
1. Downgrade your hboot to 1.44 using the method posted in nkk71's 3rd post.
2. Put your device in bootloader/FASTBOOT USB, type fastboot boot twrp.img ==> insert your custom recovery.img
This will boot your phone into the custom recovery.
3. Select backup and make a nandroid of your partitions. After it executes, then boot back into fastboot mode.
4. Return your hboot back to it's previous state. NOTE: you can pull the hboot out of a recent OTA.zip or firmware.zip and place it in a copy of the hboot zip you used earlier.
5. Copy the nandroid backup to your PC should you need it in the future.
6. Now you are free to install a custom recovery or rom knowing you have a pure stock nandroid backup to fall back on.
Related
I accdently dropped my phone yesterday and now the topmost part of the screen doesn't work, to make matters worse if I press anywhere on the screen with a small amount of force, it becomes erratic and unresponsive.
My phone is s-off and rooted using Revolutionery and superuser.
I've got a nandroid backup of my phone as well, but it is after it fell.
I've read the forums and it appears that even restoring to a stock rom won't remove s-off so I would have to replace the bootloader as well.
My question is does replacing the bootloader and going back to the original signed recovery images remove s-off and enable me to get my warranty back? Since I can't find the exact rom (Incredible S bought in Hong Kong and there isn't a working link to Hong Kong's stock rom), would it be possible for me to replace my nandriod backup's boot and recovery images with the stock ones (which seem to be the same for most regions) and do a recovery from there? And Yes, I would be replacing the MD5 checksums of the boot and recovery form the stock with that of the nandriod's.
My thinking is that since Clockwork Recovery is in memory until the restore is complete, I would be able to flash the stock boot and recovery images and restore all the settings on my phone.
I know the easiest way would be to get any Stock rom, using it to recovery my phone to stock condition but I don't think the HTC enginner would be too happy to see that I gave them a phong bought in Hong Kong with a rom from another country...
Any help would be greater appreciated.
http://forum.xda-developers.com/showpost.php?p=15732727&postcount=14
If you are s-off still follow these steps. This downgrades hboot of revolutionary.
FYI - Revolutionary was made so that hboot was not able to be overwritten.
Thaks for the reply. I've installed Android SDK and managed to get the ADB command working, but not been able to use the fastboot command. Computer says it's not recogniseed as a command.
I've looked in the control panel and all I got in the Android Devices was "My HTC". Is there a newer version of how to install the SDK and what about this specific Google device driver you are supposed to download? I tried it but my Win7 64bit says it's not compatible...
You probably don't have the fastboot.exe file.
Download this and extract to sdk tools folder.
Much thanks!
Sent from my HTC Incredible S using XDA App
Hi there...
I am running a stock ROM software number 1.29.708.4, Android version 4.1.2
I have successfully rooted my HTC ONE to use some Superuser features but never installed an alternative ROM. Now the OTA update 4.2.2 is coming in, which I would like to install. I learned that I cannot install OTA updates on an unlocked phone,so I tried following this guide here to re-lock the phone and then flash it again to install the OTA.
So my first question: Isn't it easier to simply flash the target version of the OTA? Is there a way to get to the 400MB large update and install it with the current bootloader/recovery? The software update that is being downloaded is version 2.24.708.4
So according to the instruction linked above, I installed fastboot, HTC Sync and relocked the bootloader successfully. Then I downloaded the RUU EXE file here and tried to start it while the phone was in the USB fastboot, but the RUU starts and then silently dies without ever showing any activity. I assume this is not normal, but I do not know what and how to change there.
The other thing that makes me think is I read that I need to "Flash a stock recovery". Is that the same as flashing a 1GB large RUU? Or is there a simpler way to just flash the recovery software? If so, where do I get that?
Hi guys,
So I'm currently in the process of returning my device to stock for RMA purposes but I've hit a bit of a roadblock, as there's no RUU for my carrier (H3G in the UK). I've restored a CWMP backup to a H3G stock ROM, flashed a firmware that about matches the ROM I'm on, and I'm trying to flash a stock recovery but every time I flash I believe to be a stock recovery, booting into it actually starts CWM 6.0.3.1, which I assume is something to do with disabling HTC's reflashing of stock recoveries when another is found. I've searched for a few days now and have yet to find anyone in the same predicament however, which makes me think I've done something wrong. You wonderful and knowledgeable people at XDA are my final hope before it needs to be shipped off tomorrow morning!
A little more detail about the phone itself: has been updated to the 1.54 HBOOT but is S-OFF and unlocked using revone, and a 4.1.2-based sense ROM because I believe that's the highest Three have released so far.
Thanks for reading!
There something I've wondered for a while regarding going back to stock with no RUU but when there is a Nandroid...you need S-OFF to do it though and have your CID as HTC__001
1. Flash the 1.28.401.7 RUU to go back to stock - this should get the phone back working with the right FW for the Nandroid
2. Change the CID back to H3G__001
3. Restore the 1.28 Nandroid backup using CWM
4. Boot the phone and make sure it runs
5. Flash the stock recovery (assuming you can find it)
6. Make sure the phone boots up
7. Make sure it can download/install the latest OTA updates
The other way is do step 1, then do all the OTA updates up to 2.24 and then change the CID to H3G__001 and flash the Nandroid from TWRP for the H3G build but I've not tried either before. I might even give it a go tonight and see if my theory works
Thanks! That's a great idea, so the RUU is used to restore all of the other parts to stock (firmware, HBOOT, recovery) and then the nandroid changes it to a Three ROM and the OTAs will overwrite the firmware, HBOOT recovery with the Three-specific versions if they are included? At least, I hope I've understood your idea correctly.
That's my theory, but I've never tried it as I have an unbranded handset so can just use the RUU and then OTA it to the latest build. I'll give it a bash tonight and let you know later on if that's OK?
I'm on a bit of a tight schedule in that they're coming to collect it tomorrow morning but if you work something out it would be extremely useful - so long as the phone passes their tests and gets my (hardware-based) problems sorted I'll be happy either way I think your idea will work much better than my current mish-mash of different firmwares, recovery and ROM versions!
I'll be home at 6 and will get right on it. I'll hopefully have news by 8ish at the latest
OK, I can get the phone running on the Nandroid after flashing the RUU BUT you can't flash the OTA update as the recovery I used from a stock 1.28.401.7 RUU doesn't match the Three UK one (it would seem). Hopefully it'll be enough to get it back to them though
IF you could get the stock recovery from the 1.28 Three UK build you'd be good to go AFAIK but I have no idea if the one in the Nandroid is the stock recovery (I assumed not)
Alright, it seems this is my best option and to hope they don't try and run an OTA on it, with any luck they will flash the entire thing with an RUU or something to iron out all of the kinks. Thanks very much for your help, as I wouldn't have wanted to have tried all of that in such a short period.
Should anyone find this thread with a similar problem to what I described in the OP, I managed to flash a stock recovery again by using the HTC One AIO Kit by Hasoon2000, which managed to overwrite CWM where I could no for whatever reason.
Moved this question from here: http://forum.xda-developers.com/showthread.php?p=51198721
I'm currently stock, rooted, S-OFF, and TWRP recovery. I'm flashed to 3.06.651.6 firmware.
I still get the OTA notifications, and my goal is to install the latest OTA update (without RUU) so that I can preserve data. I've created a TWRP backup, but that's the extent of it.
Any help is appreciated.
Other background - I reverted back to 3.06.651.6 after flashing firmware 4.06.xxx because I could not boot normally after that or did not know how.
My bootloader says Tampered, relocked
vflock said:
Moved this question from here: http://forum.xda-developers.com/showthread.php?p=51198721
I'm currently stock, rooted, S-OFF, and TWRP recovery. I'm flashed to 3.06.651.6 firmware.
I still get the OTA notifications, and my goal is to install the latest OTA update (without RUU) so that I can preserve data. I've created a TWRP backup, but that's the extent of it.
Any help is appreciated.
Other background - I reverted back to 3.06.651.6 after flashing firmware 4.06.xxx because I could not boot normally after that or did not know how.
My bootloader says Tampered, relocked
Click to expand...
Click to collapse
Ok
I have never done an OTA or Ran an RUU personally.
To the best of my knowledge you will have to flash the stock recovery and a stock rom to be able to take the OTA.
Sidenote: You say you are re-locked...when you unlock again it's going to wipe your device.
Backup everything important to your PC then run the RUU stuff is gonna get wiped either way might as well use the RUU as it's a cleaner method.
You'll have to flash the 4.06 firmware I pointed you to from the other thread to get the required hboot.
BD619 said:
Ok
I have never done an OTA or Ran an RUU personally.
To the best of my knowledge you will have to flash the stock recovery and a stock rom to be able to take the OTA.
Sidenote: You say you are re-locked...when you unlock again it's going to wipe your device.
Backup everything important to your PC then run the RUU stuff is gonna get wiped either way might as well use the RUU as it's a cleaner method.
You'll have to flash the 4.06 firmware I pointed you to from the other thread to get the required hboot.
Click to expand...
Click to collapse
Serious Q - Am I not On the stock ROM if I never switched ROMs?
But OK, s=you're saying if I were even able to get the stock revoery reloaded, and receive the OTA, but then if i try to unloack bootloader after that I won't be able to? Also serious Q - Do you have a link on performing a good nandroid backup?
Next - if I did run the RUU, how would i quickly restore my data - just using titanium backup? is that the quickest/only way?
vflock said:
Serious Q - Am I not On the stock ROM if I never switched ROMs?
But OK, s=you're saying if I were even able to get the stock revoery reloaded, and receive the OTA, but then if i try to unloack bootloader after that I won't be able to? Also serious Q - Do you have a link on performing a good nandroid backup?
Next - if I did run the RUU, how would i quickly restore my data - just using titanium backup? is that the quickest/only way?
Click to expand...
Click to collapse
If you never changed roms then yes you are on a stock rom.
To unlock the bootloader again you would use Htc Dev again(unless you still have your unlock token) and by doing so it will wipe your phone.
Only way to nandroid is to have a custom recovery which means unocking bootloader.
I personally don't use Titanium Backup so can't answer that...I backup my phone/sdcard to my PC at least once a month (copy and paste to a folder on my PC)
Download link to
OTA for HTC One 7 CID=TELST001 Software update 6.11.841.9 (181.54Mb) - December 23, 2014.
I unzipped this file, extracted the firmware.zip and upgrade my HTC One 7 (Telstra Australia) rooted and s-off.
I am unable to post link to this OTA file.
PM me if you like.
Crtl-Q
This could help me.
Hi,
I have my daughters HTC One M7, which is bricked after she tried to do a system update last weekend. It seems the battery ran out in the process and the handset is now in recovery mode. Telstra were no help to her in getting the problem fixed and sadly there are a lot of photos and other data on the phone.
Although I have an electronic/computing/comm's background I haven't done much with fixing HTC androids (my Sony's seem to not have any problems so far - touchwood) but I am comfortable enough to try and get the handset back up and working. So I have been trying without much success to find an RUU to match the info from getvar all.
: version-main: 6.11.841.9 , modelid: PN0714000 and cidnum: TELST001
Your post looked worth following up, so I have joined XDA so I can get some information.
Can you give me a clue as to where to find this RUU and also, do you have any other info that might help me in recovering the phone? There is quite a lot of information on this interweb about these handsets and similar problems but a lot of it doesn't match what I see on the handset and PC when trying to flash the device.
I am a newbie here so I am not fully conversant with the protocols so please go gentle on me
Hey mate.
Go to the XDA HTC one Australian users thread. @deeevan on that thread has supplied almost all the Telstra OTA's if you go through it. Was about to step you through flashing a stock RUU, but not sure if it's possible if the phone isn't rooted or s-off. Had your daughter got s-off before the accident? It's important that you only flash the RUU that is next in line from 6.11.841.9 or that exact version as you can re brick you phone if you skip an RUU.
Joeisgood99 said:
Hey mate.
Go to the XDA HTC one Australian users thread. @deeevan on that thread has supplied almost all the Telstra OTA's if you go through it. Was about to step you through flashing a stock RUU, but not sure if it's possible if the phone isn't rooted or s-off. Had your daughter got s-off before the accident? It's important that you only flash the RUU that is next in line from 6.11.841.9 or that exact version as you can re brick you phone if you skip an RUU.
Click to expand...
Click to collapse
Thanks for your help Joeisgood, I am having a look at that thread but as yet can't find the right RUU if there is one there. I am new to the forum as well so it isn't so intuitive to me as yet.
The handset is S-On (from getvars) so I am not sure what to do really. There is a lot of information available on fixing a bricked M7 but honestly, so of it isn't easy to understand and a lot of the guides seem to miss important steps (perhaps through a presumption that you already know/have that bit of info) or are aimed toward phones that are actually still working - such as references to turn on/off USB debugging which of course I can't get to. I haven't found a 'complete', easy to follow, step by step guide to cover my situation.
So I guess, that as the handset won't respond to any of the standard recovery options I am going to have to resort to other means. I am cautious about this - sure I can't make the phone worse than it is really, but there is data on it that I would like to try and recover (yes, I have jumped up and down time and again about backing up phone data!). I am not entirely sure that reloading the firmware will save that data anyway but I would still like to try.
So after all my research I am thinking that what I need to do is:
1. Flash a different recovery onto the phone (TWRP seems the most liked)? What version do I require or just the 'latest' one and how do I tell?
2. Get the Android SDK and in particular the ADB/Fastboot tools (I have the HTC tools, which I used fastboot to query the phone with getvars)? Again do I need a specific version for the M7? How do I know which version I am getting?
3. Use adb sideload to get the RUU (which I have yet to find the correct one) onto the phone? Is the Guru_Reset option the way to go if I can find a version, especiall with S-ON?
Anything else I need to consider or have to hand?
1. Flash a different recovery onto the phone (TWRP seems the most liked)? What version do I require or just the 'latest' one and how do I tell?
As well as S-ON, I assume it is also bootloader locked (as your daughter wouldn't have known/cared to unlock it). Unfortunately, flashing a custom recovery/going S-OFF etc requires unlocking the bootloader ... which means the data is wiped
2. Get the Android SDK and in particular the ADB/Fastboot tools (I have the HTC tools, which I used fastboot to query the phone with getvars)? Again do I need a specific version for the M7? How do I know which version I am getting?
You should already have adb along with fastboot. I do know there's issues with Win 8 so do some reading up on that, I don't have that OS so I can't help.
I don't have much experience with stock recovery, so I'm not sure what you can and can't do in it.
- Do the adb devices, adb shell, adb backup, adb pull commands work while in recovery?
- I think there's a menu option like 'install from phone storage'? When you select that, are you able to see the sdcard folder listing - that will at least confirm the data is still intact?
- If possible, try find the OTA file on the phone (look in the Downloads folder) and re-attempt the update.
3. Use adb sideload to get the RUU (which I have yet to find the correct one) onto the phone? Is the Guru_Reset option the way to go if I can find a version, especiall with S-ON
More bad news, with some hope
- HTC have never issued an RUU (which would wipe the phone so you don't want that) for any Australian version. But users have captured the OTA updates which will patch a phone to the next version
- All the files I uploaded are x.x.980.x while Telstra is x.x.841.x. They will not work on this phone.
- Flashing the Guru Reset requires a custom recovery which requires unlocking your bootloader which requires wiping data :-/
- Try sideloading the OTA from Qhaz. It may not work as you are already on that version, you may need to find the 7.x.841.x OTA
deeevan said:
1. Flash a different recovery onto the phone (TWRP seems the most liked)? What version do I require or just the 'latest' one and how do I tell?
As well as S-ON, I assume it is also bootloader locked (as your daughter wouldn't have known/cared to unlock it). Unfortunately, flashing a custom recovery/going S-OFF etc requires unlocking the bootloader ... which means the data is wiped
2. Get the Android SDK and in particular the ADB/Fastboot tools (I have the HTC tools, which I used fastboot to query the phone with getvars)? Again do I need a specific version for the M7? How do I know which version I am getting?
You should already have adb along with fastboot. I do know there's issues with Win 8 so do some reading up on that, I don't have that OS so I can't help.
I don't have much experience with stock recovery, so I'm not sure what you can and can't do in it.
- Do the adb devices, adb shell, adb backup, adb pull commands work while in recovery?
- I think there's a menu option like 'install from phone storage'? When you select that, are you able to see the sdcard folder listing - that will at least confirm the data is still intact?
- If possible, try find the OTA file on the phone (look in the Downloads folder) and re-attempt the update.
3. Use adb sideload to get the RUU (which I have yet to find the correct one) onto the phone? Is the Guru_Reset option the way to go if I can find a version, especiall with S-ON
More bad news, with some hope
- HTC have never issued an RUU (which would wipe the phone so you don't want that) for any Australian version. But users have captured the OTA updates which will patch a phone to the next version
- All the files I uploaded are x.x.980.x while Telstra is x.x.841.x. They will not work on this phone.
- Flashing the Guru Reset requires a custom recovery which requires unlocking your bootloader which requires wiping data :-/
- Try sideloading the OTA from Qhaz. It may not work as you are already on that version, you may need to find the 7.x.841.x OTA
Click to expand...
Click to collapse
Thanks Deevan.. all useful information and much appreciated as there are lots of different comments and advices out there, hard to know which one is correct.
1. Yes, the phone is Locked and S-ON - never any need to change it until this failed update.. From your comment do I assume that unlocking the phone will wipe all the data? Am I able to sideload an OTA with it locked and S-ON?
2. I am using Win 7 to do all this. Yes, adb is in the same folder as fastboot. Trying the adb devices command in recovery mode returned zilch (nothing lested). I haven't tried those other commands but I will do. Going into Fastboot in recovery I do get a fastboot usb indicator and fastboot devices command returns the handset listed. That is why I was wondering if I needed to unlock it or use something like TWRP to get more recovery options. The Install from Phone storage did nothing that I could see just back to the exclamation mark in a triangle screen.. none of the stock recovery options did anything else.. Maybe the data is already wiped? If it's gone then it's gone. The bright side is that then opens up more options for me to get the handset working again I guess?
3. OK, I will stop looking for an RUU and hunt an 6.x.841.x or 7.x.841.x OTA instead or is the Guru_Reset a better option - there is no need for anything other than what is on the stock device really. A very basic user.
Thanks again for offering your advice, I appreciate it.
A Guru Reset (if one existed for a Telstra phone) is a custom ROM (which just happens to install stock files) and can only be flashed via custom recovery, which you do not have. You can try sideloading an OTA (you can do this locked because it's an official signed package), anything else requires unlocking your bootloader which may affect your warranty with no guarantees it enables you to do anything that would fix the phone. Corruption is highly likely if it died halfway through updating.
If the data is gone, I would accept the replacement phone and go nuts playing with that