Hi guys i'll explaine what happened:
1. I was on nougat rom rooted trying to get back to stock.
2. I run an old lollipop ruu.exe from my computer but it reboots the phone to bootloader mode without going on.
3. I manually reboot to bootloader to see it if does move on but nothing.
4. I disconnect the phone.
Now there's no OS and recovery and flashing TWRP succeeds but when I try to reboot to recovery it say that's not possible.
I tried to flash via sdcard the OPJAIMG but it seems like it doesn't see it (screenshot in attachements).
I can access download mode
I'm S-OFF on Nougat firmware.. what can i do?
EDIT: I tried to live-boot TWRP but it stays forever on booting in cmd and flashing in phone
@Flippy498 maybe you have an idea? You have so much knowledge on this!
I haven't seen a 4.x RUU for the SKU 401, yet. You therefore would need to flash one of Sneakyghost's 3.x firmware packs before you're able to use a 3.x RUU, again. The encryption key changed between firmware 3.x and 4.x. Therefore you can't use 4.x RUUs on firmware 1.x to 3.x and vice versa.
In contrast to the flashing command the command for booting TWRP via fastboot needs to be used while the phone is booted to the bootloader instead of the download mode. However, since I haven't seen a publicly available TWRP backup for the latest 401 firmware, yet, TWRP won't help you much in your situation. (Or do you have your own backup?)
That means on the other hand that you currently need to downgrade to 3.35.401.12 and to re-install the OTAs for 3.35.401.32 and 4.14.401.7 since the latest RUU is for version 3.35.401.12.
Edit: Oh, and the only RUU.exe for SKU 401 that I know is for that 1.x firmware wird the 17 at the end. You shouldn't use that one. The corresponding OTA only got distributed for one single CID (I forgot which one it was). That means that you won't receive OTAs if you aren't using that specific CID on your phone. That means you would need to flash another RUU afterwards for getting away from that firmware version. And instead of flashing two RUUs you could save some time and directly flash the second one.
Sent from my HTC One M9 using XDA Labs
mrsmtt said:
Hi guys i'll explaine what happened:
1. I was on nougat rom rooted trying to get back to stock.
2. I run an old lollipop ruu.exe from my computer but it reboots the phone to bootloader mode without going on.
3. I manually reboot to bootloader to see it if does move on but nothing.
4. I disconnect the phone.
Now there's no OS and recovery and flashing TWRP succeeds but when I try to reboot to recovery it say that's not possible.
I tried to flash via sdcard the OPJAIMG but it seems like it doesn't see it (screenshot in attachements).
I can access download mode
I'm S-OFF on Nougat firmware.. what can i do?
EDIT: I tried to live-boot TWRP but it stays forever on booting in cmd and flashing in phone
Click to expand...
Click to collapse
1 - Try 0(zero)PJAIMG and not O
2 - Restore to stock recovery
3 - Start phone in download mode and push volume UP
benshoes said:
1 - Try 0(zero)PJAIMG and not O
Click to expand...
Click to collapse
Oh, I missed that typo.
benshoes said:
2 - Restore to stock recovery
Click to expand...
Click to collapse
That's actually not needed. The RUU will flash the stock recovery by its own. You only need a working download mode.
Flippy498 said:
Oh, I missed that typo.
That's actually not needed. The RUU will flash the stock recovery by its own. You only need a working download mode.
Click to expand...
Click to collapse
Tried to live-boot TWRP from bootloader since I have my own backup but it fails with the following message:
FAILED (remote: dtb not found)
About 0PJAIMG it is named correctly in SD it's just me that made a mistake writing here.
So last chance for me is to head to Sneakyghost's thread and flash the 3.35.401.32 fullstock firmware then head to your google sheet and pick the 3.35.401.12 RUU and flash it right?
mrsmtt said:
Tried to live-boot TWRP from bootloader since I have my own backup but it fails with the following message:
FAILED (remote: dtb not found)
About 0PJAIMG it is named correctly in SD it's just me that made a mistake writing here.
So last chance for me is to head to Sneakyghost's thread and flash the 3.35.401.32 fullstock firmware then head to your google sheet and pick the 3.35.401.12 RUU and flash it right?
Click to expand...
Click to collapse
Correct. Although you can use the 3.35.401.12 firmware pack, as well. It doesn't matter which one of the two firmware versions you choose.
Flippy498 said:
Correct. Although you can use the 3.35.401.12 firmware pack, as well. It doesn't matter which one of the two firmware versions you choose.
Click to expand...
Click to collapse
Thanks for your support! Anyway i'm going to do the whole thing tomorrow.. I was reading the instructions on Sneakyghost's thread and he recommend to use his tool because it contains the htc_fastboot that works better than google's one but I don't see any option to lunch the flash zip firmware command from the tool so I decided to get the htc_fastboot.exe file and move it inside another folder (a new one) in wich i'll put both firmware and rom zip to flash. I'm saying this because i'm not 100% sure this is correct so just to clear all doubts..
Once again @Flippy498 you saved me and I say thank you a million times I promise i'll take a break at trying to destroy my m9 so you'll definitely not hear me / see me here anymore hehe
Related
Hello All,
So I recently bought a M8 and I just need some help in getting the steps nailed down correctly. Be warned long post with lots of questions...
Code:
fastboot getvar version-main
version-main: 3.32.111.3
fastboot oem readcid
(bootloader) cid: T-MOB101
That is basically my device, now due to it being 4.4.4 from factory I am unable to use Sunshine & Weaksauce. I could wait until the new year but why
bother .
First step:
Get my factory firmware image after reading this thread: http://forum.xda-developers.com/showthread.php?t=2701376 due to it being a T-Mobile and
Germany and 4.4.4 I am unable to run the command listed there to get the stock recovery, so how do I get the stock recovery for my device? @BerndM14
Has provided me with a link to download the latest firmware for my device but it has the TWRP recovery inside it, link is this one: http://www.handy-
faq.de/forum/htc_one_m8_custom_roms/304821-htc_one_m8_firmwaresammlung_ruus_otas_backups.html#post2832636. I should point out that I do have a OTA
waiting to download and install, should I download and install it? The version listed on the screen is 3.32.111.9 and is only 183.73MB. Would it have a
viable stock recovery? Can I downgrade to a older version for the stock recovery?
Second step:
Once the above is done and dusted my next step is getting root & S-OFF & custom recovery. This is relatively simple because all I need to do is visit
HTCDev, unlock and then S-OFF with Sunshine and then a custom recovery. Correct? Sounds and looks simple enough.
Third step:
Download ROM of choice and flash away. So I am going with InsertCoin due to user loyalty from the Desire days . However I see people in the thread
mentioning that they flashed the latest firmware to sort out a couple of issues, I take it they mean the ROM file and not HTC firmware?
Fourth and probably not needed step:
Changing the phone to WWE and SuperCID? Do I really need to do this? Benefit of changing to WWE is changing the HBOOT to a more universal one? The
reason why I am thinking of converting is because I would want to get rid of the red text on the boot screen as listed here: http://forum.xda-
developers.com/showpost.php?p=51744965&postcount=1 however for T-Mobile Dutch the HBOOT CIDS are T-MOB003, if I flash that would it cause a problem?
I would also be looking at running the commands to change the flags showing tampered and unlocked but that looks simple to do. Am I missing anything? For warranty purposes I would use the instructions from this thread: http://forum.xda-developers.com/showthread.php?t=2710735 but download the recovery file for T-MOB Germany instead?
Thank you for reading the long post and I hope that I have made some sort of sense.
Yes it will have the firmware.zip with the recovery.img inside it. Even the small 47MB or so, OTA update for the WWE from 2.22.401.4 - 2.22.401.5 had the firmware.zip inside. So just download the OTA.zip copy to PC extract firmware.zip and grab the recovery.img.
Benefits to converting to WWE or even Developer edition also includes the fact that those devices will receive OTA updates before any carrier version, directly from HTC. It's a bonus if you're into the "latest & greatest" scene.
As for making a backup before flashing custom recovery, have you tried booting the custom recovery? Philz will probably be better if you want to use the booted custom recovery to make a backup of stock recovery. You could also try and boot either TWRP or Philz and see if you can root your device without flashing custom recovery, that way you can at least use the dd command to grab a copy of the recovery block. <My preferred method, though it's a terrible circle. Need to flash custom recovery to root, need root to make backup of stock recovery... So hopefully booting the custom recovery will work. That being said, easiest way still remains to grab it from the OTA.zip.
Perhaps you could even upload a copy of the OTA.zip and share it on here, I don't think the OP has a copy in the second post
ROM/Firmware. You need the latest firmware to run the latest ROM. For most it'll be firmware with 3.x. If you still run on 2.x(which you aren't) you'd have some problems with radio(bluetooth, gps, wifi, data etc)
Thank you for the reply .
To be honest I have not tried booting a custom recovery because I saw this in the first post of this thread: http://forum.xda-developers.com/showthread.php?t=2701376
fastboot boot recovery_filename.img (this does not work on the latest 3.xx firmwares !!! we need to get the stock recoveries from the OTA files)
Click to expand...
Click to collapse
So I am not sure what to try to be honest. This toolkit: http://forum.xda-developers.com/showthread.php?p=51383278&highlight=ota#post51383278 mentions getting root without S-OFF but with a unlocked bootloader. So I am thinking that if I follow those steps, maybe when I get to the reboot phase I can execute a nandroid instead which might get me the files I want?
I won't bother with WWE then. I will rely on the dev's to give me the latest & greatest .
Anakha56 said:
Thank you for the reply .
To be honest I have not tried booting a custom recovery because I saw this in the first post of this thread: http://forum.xda-developers.com/showthread.php?t=2701376
So I am not sure what to try to be honest. This toolkit: http://forum.xda-developers.com/showthread.php?p=51383278&highlight=ota#post51383278 mentions getting root without S-OFF but with a unlocked bootloader. So I am thinking that if I follow those steps, maybe when I get to the reboot phase I can execute a nandroid instead which might get me the files I want?
I won't bother with WWE then. I will rely on the dev's to give me the latest & greatest .
Click to expand...
Click to collapse
Hm, yeah I also had some problems booting a recovery, but I just tested it out again. I can at least boot TWRP version 2.8.3.0 so it still works for me. I'm on 3.28.1540.5 (Developer edition). Haven't tried Philz though, net a bit too slow to bother with even a small download
No problem. I am busy downloading the OTA.zip and once complete I will try the toolkit method and see what happens . Again, thank you for the reply.
I need some help... My phone seems to be stuck in fastboot mode and is not picked up in Device Manager of Windows. I can touch the fastboot screen and it vibrates but it does not nothing. I have held down the power button for 20 seconds with no result. I had just unlocked the bootloader and then tried pushing the Philz recovery image to the device with the command line:
Code:
C:\android\sdk\android\platform-tools>fastboot boot philz_touch_6.57.8-m8.img
downloading 'boot.img'...
OKAY [ 1.541s]
booting...
OKAY [ 0.002s]
finished. total time: 1.547s
*edit*
Holding volume up + power for 10 seconds helped *whew*...
Anakha56 said:
Thank you for the reply .
To be honest I have not tried booting a custom recovery because I saw this in the first post of this thread: http://forum.xda-developers.com/showthread.php?t=2701376
So I am not sure what to try to be honest. This toolkit: http://forum.xda-developers.com/showthread.php?p=51383278&highlight=ota#post51383278 mentions getting root without S-OFF but with a unlocked bootloader. So I am thinking that if I follow those steps, maybe when I get to the reboot phase I can execute a nandroid instead which might get me the files I want?
I won't bother with WWE then. I will rely on the dev's to give me the latest & greatest .
Click to expand...
Click to collapse
You don't need S-Off to root, just the unlocked bootloader, custom recovery, and superuser.
@xunholyx Thanks for the post . I am trying to get an image of my stock recovery file first, so I am trying to avoid flashing the custom recovery right now . BTW Does anyone know if TWRP makes a backup of the stock recovery before overwriting it like Philz does?
Anakha56 said:
@xunholyx Thanks for the post . I am trying to get an image of my stock recovery file first, so I am trying to avoid flashing the custom recovery right now . BTW Does anyone know if TWRP makes a backup of the stock recovery before overwriting it like Philz does?
Click to expand...
Click to collapse
http://www.handy-faq.de/forum/htc_o...resammlung_ruus_otas_backups.html#post2832635
oops sorry.. i see you already been their
your hboot 3.19 will prevent booting to recovery ... and no TWRP doesn't backup stock recovery
you just need to find the OTA.zip for your version it must be out their somewhere
@clsA I have the file
3.32.111.3 - TWRP
Click to expand...
Click to collapse
From that site but its recovery is TWRP. I am trying to grab the stock recovery currently on the device before going forward. When I unzip that file it has 6 items:
boot.emmc.win
boot.emmc.win.md5
system.ext4.win000
system.ext4.win000.md5
system.ext4.win001
system.ext4.win001.md5
Click to expand...
Click to collapse
I have downloaded the OTA that is ready for my phone but I had hit a snag. The file was corrupt, on redownload I have the small OTA but the recovery version number has incremented past mine, I don't know if it will be still useable with the ROM file from the link?
Anakha56 said:
@clsA I have the file
From that site but its recovery is TWRP. I am trying to grab the stock recovery currently on the device before going forward. When I unzip that file it has 6 items:
I have downloaded the OTA that is ready for my phone but I had hit a snag. The file was corrupt, on redownload I have the small OTA but the recovery version number has incremented past mine, I don't know if it will be still useable with the ROM file from the link?
Click to expand...
Click to collapse
it should work, recovery does not have to be exact just close
and the file you have doesn't include TWRP .. it was created with twrp ... big difference
Anakha56 said:
@clsA I have the file
From that site but its recovery is TWRP. I am trying to grab the stock recovery currently on the device before going forward. When I unzip that file it has 6 items:
I have downloaded the OTA that is ready for my phone but I had hit a snag. The file was corrupt, on redownload I have the small OTA but the recovery version number has incremented past mine, I don't know if it will be still useable with the ROM file from the link?
Click to expand...
Click to collapse
You can use any 3.32 based stock recovery for your phone. There are plenty of backups for that on this thread. No need to backup your own.
Thank you guys! That helps me a lot! Off I go to flash a custom recovery .
Before I begin, I have already read through a lot of the guides but almost of all them are not updated enough for my case. If I am wrong please direct me to it.
I would like to restore AT&T stock rom on my phone which was previously converted to GPE Lollipop 5.1 (with root, bootloader unlocked and s-off).
Here's what I have already done.
Restored MID and CID to 0P6B12000 and CWS__001 (for AT&T) respectively.
Relocked the bootloader.
Restoring from a nandroid (before going GPE) fails.
Downloaded the most latest RUU file for AT&T model, and ran the process.
But RUU fails with error 155. And after reading online, any of the following could be cause of the problem.
Partition size difference in GPE and AT&T stock rom.
Difference in firmware version or may be HBOOT version.
GPE is lollipop 5.1 and I think AT&T's latest rom is 5.0.1. So may be this downgrade is causing the problem
The RUU file I was using: RUU_M8[email protected]50319A_40.45.C33065.00_F_release_426617_signed_2.exe
I think my first step would be to flash some correct firmware to be able to successfully run RUU, but I don't know how which one. Plus, will downgrading firmware cause problems?
I would appreciate any help in resolving this problem. At minimum, I would like to be able to flash some stock rom with all the sense and AT&T stuff.
My responses below in red font:
lief.erl said:
I would like to restore AT&T stock rom on my phone which was previously converted to GPE Lollipop 5.1 (with root, bootloader unlocked and s-off).
Here's what I have already done.
Restored MID and CID to 0P6B12000 and CWS__001 (for AT&T) respectively. correct
Relocked the bootloader. Not required, since you are s-off. Just making more work for yourself needlessly.
Restoring from a nandroid (before going GPE) fails. No way this would ever work. nandroid is just a backup of ROM and user data. Since the partition sizes are different, the Sense ROM won't fit on the system partition, and failure is a certainty. You need to re-partition via firmware/RUU.
Downloaded the most latest RUU file for AT&T model, and ran the process.
But RUU fails with error 155. And after reading online, any of the following could be cause of the problem.
Partition size difference in GPE and AT&T stock rom. This is most likely the cause.
Difference in firmware version or may be HBOOT version. Only a "downgrade of hboot is prohibited (trying to flash the same or higher number hboot is ok), and that is with s-on. Downgrade is even allowed with s-off.
GPE is lollipop 5.1 and I think AT&T's latest rom is 5.0.1. So may be this downgrade is causing the problem This also would not matter with s-off. Downgrades are ok
The RUU file I was using: RUU_M8[email protected]50319A_40.45.C33065.00_F_release_426617_signed_2.exe
I think my first step would be to flash some correct firmware to be able to successfully run RUU, but I don't know how which one. Plus, will downgrading firmware cause problems?
Click to expand...
Click to collapse
Find the 4.28.502.1 firmware zip and flash it in fastboot first. Then flash the RUU.
Some folks have been able to just RUU to get back to the Sense partition scheme. But many folks have to flash the firmware first, then RUU. Not sure why folks have different experiences.
redpoint73 said:
My responses below in red font:
Find the 4.28.502.1 firmware zip and flash it in fastboot first. Then flash the RUU.
Some folks have been able to just RUU to get back to the Sense partition scheme. But many folks have to flash the firmware first, then RUU. Not sure why folks have different experiences.
Click to expand...
Click to collapse
Thanks a lot.
Before I proceed, I have following questions.
How do I make sure that a RUU and the suggested firmware are compatible. Should I be looking at some thing in particular.
I was also curious about how do we decide which firmware to flash?
One again, thanks.
lief.erl said:
Before I proceed, I have following questions.
How do I make sure that a RUU and the suggested firmware are compatible. Should I be looking at some thing in particular.
I was also curious about how do we decide which firmware to flash?
Click to expand...
Click to collapse
You want the firmware that matches the RUU, they will have the same number (4.28.502.1).
The firmware was posted here: http://forum.xda-developers.com/att-htc-one-m8/general/lollipop-ota-twrp-backup-firmware-t3075835
redpoint73 said:
You want the firmware that matches the RUU, they will have the same number (4.28.502.1).
The firmware was posted here: http://forum.xda-developers.com/att-htc-one-m8/general/lollipop-ota-twrp-backup-firmware-t3075835
Click to expand...
Click to collapse
Looks like there are three[4.28.502.1] different firmware files.
4.28.502.1 OTA.ZIP
4.28.502.1 TWRP backup
4.28.502.1 Firmware
None of them say they are mirrors (ones which are have "mirror by" as prefix), so I am assuming some difference. Which one should I go with.
BTW, is it possible to go back to earlier android os, for example kit kat. I am asking this because going back might mean downgrading firmware.
lief.erl said:
Looks like there are three[4.28.502.1] different firmware files.
4.28.502.1 OTA.ZIP
4.28.502.1 TWRP backup
4.28.502.1 Firmware
None of them say they are mirrors (ones which are have "mirror by" as prefix), so I am assuming some difference. Which one should I go with.
Click to expand...
Click to collapse
Those aren't all firmware. Just the one that says "firmware" is firmware.
OTA.zip is the actual official OTA form AT&T, which would only work if you were on the Sense version directly preceding this update (so this is to go from stock Sense 3.42 > 4.28), and also stock recovery.
TWRP backup is just a backup of the ROM, and doesn't include firmware. Obviously, restore with TWRP as you would your own TWRP backup.
lief.erl said:
BTW, is it possible to go back to earlier android os, for example kit kat. I am asking this because going back might mean downgrading firmware.
Click to expand...
Click to collapse
Sure, you would just need the RUU for the desired version, and the matching firmware.
Downgrading firmware is only prohibited with s-on (version check prevents it).
You can find the RUUs here: http://forum.xda-developers.com/showthread.php?t=2751432
Some of the unmodified firmwares can be found at the bottom of the 1st post of the following thread: http://forum.xda-developers.com/att-htc-one-m8/development/att-4-4-3-2-22-1540-3-debloated-sense-6-t2837365
redpoint73 said:
Those aren't all firmware. Just the one that says "firmware" is firmware.
OTA.zip is the actual official OTA form AT&T, which would only work if you were on the Sense version directly preceding this update (so this is to go from stock Sense 3.42 > 4.28), and also stock recovery.
TWRP backup is just a backup of the ROM, and doesn't include firmware. Obviously, restore with TWRP as you would your own TWRP backup.
Sure, you would just need the RUU for the desired version, and the matching firmware.
Downgrading firmware is only prohibited with s-on (version check prevents it).
You can find the RUUs here: http://forum.xda-developers.com/showthread.php?t=2751432
Some of the unmodified firmwares can be found at the bottom of the 1st post of the following thread: http://forum.xda-developers.com/att-htc-one-m8/development/att-4-4-3-2-22-1540-3-debloated-sense-6-t2837365
Click to expand...
Click to collapse
Do you know which version of android os will ruu 1.58.502.1 install?
Some guides say to rename the firmware file to SOMETHINGfirmware.zip, while others say to rename to 0P6BIMG.zip. Does it depend on how I am flashing. For the first one I will flash using fastboot, and for the other one I will flash by putting the file on the sd card.
lief.erl said:
Do you know which version of android os will ruu 1.58.502.1 install?
Click to expand...
Click to collapse
Android 4.4.2
Software 1.x = Android 4.4.2
2.x = 4.4.3
3.x = 4.4.4
4.x = 5.0
lief.erl said:
Some guides say to rename the firmware file to SOMETHINGfirmware.zip, while others say to rename to 0P6BIMG.zip. Does it depend on how I am flashing. For the first one I will flash using fastboot, and for the other one I will flash by putting the file on the sd card.
Click to expand...
Click to collapse
Yes, it depends on how you flash (fastboot vs. putting file on the phone).
redpoint73 said:
Android 4.4.2
Software 1.x = Android 4.4.2
2.x = 4.4.3
3.x = 4.4.4
4.x = 5.0
Yes, it depends on how you flash (fastboot vs. putting file on the phone).
Click to expand...
Click to collapse
I am sorry to bother you again, but I can't seem to find RUU and a firmware for android 4.4.2 for AT&T.
The closest thing I have found is http://forum.xda-developers.com/att-htc-one-m8/general/att-1-58-501-1-bootable-ruu-hboot-t2818556
which is a bootable zip.
I am trying to avoid using any method other than official RUU.
lief.erl said:
I am sorry to bother you again, but I can't seem to find RUU and a firmware for android 4.4.2 for AT&T.
The closest thing I have found is http://forum.xda-developers.com/att-htc-one-m8/general/att-1-58-501-1-bootable-ruu-hboot-t2818556
which is a bootable zip.
I am trying to avoid using any method other than official RUU.
Click to expand...
Click to collapse
Link to the 1.58 RUU is in my Index thread, which I indicated in Post #6 above (1st link).
On my Index thread, under RUUs, its the 1st link under "Official" RUUs.
I'll see if I can find the firmware zip for that RUU.
EDIT: Here you go: http://xda7.androidrevolution.org/db_mirror/Firmware/index.php?dir=HTC%2FHTC_One_M8%2F502%2F
Linked from here (so you know its a reliable XDA source): http://forum.xda-developers.com/showthread.php?t=2696282
redpoint73 said:
Link to the 1.58 RUU is in my Index thread, which I indicated in Post #6 above (1st link).
On my Index thread, under RUUs, its the 1st link under "Official" RUUs.
I'll see if I can find the firmware zip for that RUU.
EDIT: Here you go: http://xda7.androidrevolution.org/db_mirror/Firmware/index.php?dir=HTC%2FHTC_One_M8%2F502%2F
Linked from here (so you know its a reliable XDA source): http://forum.xda-developers.com/showthread.php?t=2696282
Click to expand...
Click to collapse
One last question (I think), how do I determine what should be the name of the firmware zip, if I am going to be flashing from PC.
lief.erl said:
One last question (I think), how do I determine what should be the name of the firmware zip, if I am going to be flashing from PC.
Click to expand...
Click to collapse
I actually do not think it matter, as long as its a zip.
Some instructions will say firmware.zip. Others will call it something else, such as the specific file name including software number. And in fact, this guide says: fastboot flash zip 2.22.1540.3_firmware.zip or whatever the latest builds firmware zip is called.
If you look at the syntax of the command, its simply flashing a zip and not even specific to firmware: "fastboot flash zip blahblahblah.zip" and its what is inside the zip that determines what is being flashed to what partition on the phone.
Just make sure if you rename the file, that you don't have the Windows option enabled to hide file extensions. Otherwise you may name the file firmware.zip.zip and not realize it. This is a common error, since hiding the file extensions is typically enabled by default in Windows.
redpoint73 said:
I actually do not think it matter, as long as its a zip.
Some instructions will say firmware.zip. Others will call it something else, such as the specific file name including software number. And in fact, this guide says: fastboot flash zip 2.22.1540.3_firmware.zip or whatever the latest builds firmware zip is called.
If you look at the syntax of the command, its simply flashing a zip and not even specific to firmware: "fastboot flash zip blahblahblah.zip" and its what is inside the zip that determines what is being flashed to what partition on the phone.
Just make sure if you rename the file, that you don't have the Windows option enabled to hide file extensions. Otherwise you may name the file firmware.zip.zip and not realize it. This is a common error, since hiding the file extensions is typically enabled by default in Windows.
Click to expand...
Click to collapse
Thanks for all the help, but this method didn't work for me. After I was successful in flashing older firmware, M8 refused to the go in the the actual android os which is required for RUU (.exe) to work its magic (needs adb). May be because older firmware and latest OS (GPE 5.1) weren't compatible with each other. So I ended up using a bootable RUU with excellent result. Though the deed is done and I have returned the phone (Color banding was too much bear), I am curious whether it would have worked if adb was enabled inside TWRP.
lief.erl said:
Thanks for all the help, but this method didn't work for me. After I was successful in flashing older firmware, M8 refused to the go in the the actual android os which is required for RUU (.exe) to work its magic (needs adb). May be because older firmware and latest OS (GPE 5.1) weren't compatible with each other. So I ended up using a bootable RUU with excellent result. Though the deed is done and I have returned the phone (Color banding was too much bear), I am curious whether it would have worked if adb was enabled inside TWRP.
Click to expand...
Click to collapse
You can RUU with the phone in fastboot mode as well as booted into the OS. The only difference with booted into OS, is that the RUU will reboot into fastboot anyway. RUU will not work in TWRP (with adb enabled).
And yes, running "newer" version of OS with older firmware will result in issues. Extreme long boot times (and broken WiFi) are the most common issues. So its possible the phone would have booted eventually (just taking a really long time, and not completely "stuck").
Hi,
So here's the thing, I wanted to flash the cyanogenmod rom to my HTC One M8 using the TWRP 3.0.2.0. So I wiped the entire phone, including the internal storage and the system. Unfortunately, every time I tried flashing it I received this error:
Updater process ended with ERROR: 7.
Click to expand...
Click to collapse
So I was like ''Ok then I'll just flash a stock ROM'', but I couldn't find any that was matching my firmware since I'm stuck on FW 2.22.401.4 and I am S-ON so I can't flash any other firmware. I've searched literally everywhere and eventually ended up on a german (I think?) forum, and got to download a Nand stock rom (I don't even know the NAND stands for what tbh, but I guess it's the right one?) for my firmware, but now every time I try flashing it I get this error:
Could not find 'META-INF/com/google/android/update-binary' in the zip file.
Error installing zip file 'my file'
Click to expand...
Click to collapse
I've also heard that you could flash stock roms based on lower firmwares and it would work, but I still get the same error. So yeah, I'm kind of stuck with no OS and no way to flash one. I could really need some help right now.
Thank you!
Your low version firmware is the problem ... S-On doesn't stop you to flash firmware.
Post here fastboot getvar all without serial & imei no. then we'll see what you need.
There you go
https://postimg.org/image/7kyadqsif/
RafiKhalil said:
There you go
https://postimg.org/image/7kyadqsif/
Click to expand...
Click to collapse
Your firmware is 2.22.707.3 as shown in the getvar, not x.xx.161.x
You need to update your firmware to the latest in order to install most of the available custom ROMs. Your current firmware is not compatible.
You have 2 options :
1. Read all steps on post #1, restore 2.22.707.4 and 2.22.707.4 stock recovery then do OTA up to the latest 6.14.707.1
Here is the thread : http://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
2. Install RUU_M8_UL_L50_SENSE60_MR_hTC_Asia_WWE_4.19.707.2_Radio_1.25.21331147A1.06G_20.69.4196.01_F_release_414204_signed.exe then do OTA to the latest 6.14.707.1
To run RUU, you need : http://forum.xda-developers.com/showpost.php?p=64926362&postcount=4
You also need to relock bootloader with commands
fastboot oem lock
fastboot reboot-bootloader
Note : this RUU procedure will wipe everything in your internal storage, make backup first of important files like musics, photos & etc.
You can get the RUU here : http://androidruu.com/?developer=M8
Hi people, this is my first time posting on a forum. I've always fixed my problem by googling them but now i failed.
I fixed the problem mentioned in the title and now i'm back to the original problem.
I followed a guide on the web to root my HTC 10. What i did was unlocking the bootloader and then flashing TWRP and till then things went good.
Then i tried to root it by flashing superSU and after that my phone went in bootloop and i found out i didnt have a system image anymore.
I tried to flash the RUU with my cid but i got the following error "RU_MAIN_VER_FAIL...".
This is my situation:
-i can access download, recovery and bootloader
-I've TWRP installed and my internal storage is blank, it only has an empty TWRP folder.
-My external memory has the following folders: Android, TWRP, .android_secure, LOST.DIR
What is my problem? I even tried to restore a TWRP backup without succeeding from https://forum.xda-developers.com/htc-10/how-to/stock-stock-collection-recovery-ruu-ota-t3359297
Please help me!!
rorou said:
Hi people, this is my first time posting on a forum. I've always fixed my problem by googling them but now i failed.
I fixed the problem mentioned in the title and now i'm back to the original problem.
I followed a guide on the web to root my HTC 10. What i did was unlocking the bootloader and then flashing TWRP and till then things went good.
Then i tried to root it by flashing superSU and after that my phone went in bootloop and i found out i didnt have a system image anymore.
I tried to flash the RUU with my cid but i got the following error "RU_MAIN_VER_FAIL...".
This is my situation:
-i can access download, recovery and bootloader
-I've TWRP installed and my internal storage is blank, it only has an empty TWRP folder.
-My external memory has the following folders: Android, TWRP, .android_secure, LOST.DIR
What is my problem? I even tried to restore a TWRP backup without succeeding from https://forum.xda-developers.com/htc-10/how-to/stock-stock-collection-recovery-ruu-ota-t3359297
Please help me!!
Click to expand...
Click to collapse
Grab an ruu that is at least at the same version you are, or flash a custom rom from twrp
Tarima said:
Grab an ruu that is at least at the same version you are, or flash a custom rom from twrp
Click to expand...
Click to collapse
thank you for your reply! i tried already a ruu solution with the version of my cid but it didnt workout. You're saying i need to install a custom rom and then revert back to stock?
rorou said:
thank you for your reply! i tried already a ruu solution with the version of my cid but it didnt workout. You're saying i need to install a custom rom and then revert back to stock?
Click to expand...
Click to collapse
No I meant you can flash a custom rom instead of stock. If you want stock you'll have to run a stock ruu. What's your current software number and which ruu are you trying to run?
Tarima said:
No I meant you can flash a custom rom instead of stock. If you want stock you'll have to run a stock ruu. What's your current software number and which ruu are you trying to run?
Click to expand...
Click to collapse
I've used this ruu 1.90.401.5 that has same mid and cid as my phone. And before wiping my internaL storage i had nougat, 7.0 i think. This ruu thing is really twisting my mind, never heard about it before today... maybe that's because i got in trouble. I've installed viper and the phone seems to work now but i have my doubts on whether to keep it or not. I'll try this so rom for a week, i want to see if it has battery or overheating issues.
But in case i wanted to go back to stock, i dont know what went wrong and why the ruu i've picked failed to install even if it had the same cid and mid.
rorou said:
I've used this ruu 1.90.401.5 that has same mid and cid as my phone. And before wiping my internaL storage i had nougat, 7.0 i think. This ruu thing is really twisting my mind, never heard about it before today... maybe that's because i got in trouble. I've installed viper and the phone seems to work now but i have my doubts on whether to keep it or not. I'll try this so rom for a week, i want to see if it has battery or overheating issues.
But in case i wanted to go back to stock, i dont know what went wrong and why the ruu i've picked failed to install even if it had the same cid and mid.
Click to expand...
Click to collapse
If you had Nougat before, that means your firmware version is 2.x.x.x. This is newer than the ruu you're trying to flash. You can only run an ruu that is at the same version as or above your current firmware version, and you cannot downgrade. That's what I mean by "run an ruu that's the same version as your phone."
Get your software info by doing fastboot getvar all from download mode. Then find an ruu that is for your CID/mid and at the same or higher version that you have. That'll take you to stock.
Tarima said:
If you had Nougat before, that means your firmware version is 2.x.x.x. This is newer than the ruu you're trying to flash. You can only run an ruu that is at the same version as or above your current firmware version, and you cannot downgrade. That's what I mean by "run an ruu that's the same version as your phone."
Get your software info by doing fastboot getvar all from download mode. Then find an ruu that is for your CID/mid and at the same or higher version that you have. That'll take you to stock.
Click to expand...
Click to collapse
That explains everything! thank you so much!!!
Hi all
Really stuck at the moment
My CID is HTC_001 and I'm on version 2.41.401.3? (S-ON)
I'm trying to flash the latest oreo firmware however I can't either find the correct RUU to do it, on top of that I'm trying the flash (I think the right file?_) via SD card however I don't have one and people are mentioned using a command prompt which confused me more.
Please help ! If you can provide links to the RUU or the correct file I'm meant to flash I'd appreciate it
Edit:
Solved - Answer on page two!
Rammen44 said:
Hi all
Really stuck at the moment
My CID is HTC_001 and I'm on version 2.41.401.3? (S-ON)
I'm trying to flash the latest oreo firmware however I can't either find the correct RUU to do it, on top of that I'm trying the flash (I think the right file?_) via SD card however I don't have one and people are mentioned using a command prompt which confused me more.
Please help ! If you can provide links to the RUU or the correct file I'm meant to flash I'd appreciate it
Click to expand...
Click to collapse
Check out this thread. Read the first couple of posts on how to proceed and if you have any questions use search.
Rammen44 said:
Hi all
Really stuck at the moment
My CID is HTC_001 and I'm on version 2.41.401.3? (S-ON)
I'm trying to flash the latest oreo firmware however I can't either find the correct RUU to do it, on top of that I'm trying the flash (I think the right file?_) via SD card however I don't have one and people are mentioned using a command prompt which confused me more.
Please help ! If you can provide links to the RUU or the correct file I'm meant to flash I'd appreciate it
Click to expand...
Click to collapse
The easiest way for someone who doesn't want to take the time to learn how things work would be to download this Nougat RUU
https://androidfilehost.com/?w=files&flid=241133
To flash RUU:
Rename the file to 2PS6IMG.zip
Place on Ex SD CARD
boot to download mode
Press vol up to flash.
RUU will erase internal storage. Once RUU has flashed boot your phone and take the OTA to OREO. After your phone has taken the OTA flash the latest twrp then flash leedroid Oreo ROM.
The reason I suggest this way instead of flashing firmware is because your going to have to wipe data anyway and by flashing an RUU you have a clean start.
yldlj said:
The easiest way for someone who doesn't want to take the time to learn how things work would be to download this Nougat RUU
To flash RUU:
Rename the file to 2PS6IMG.zip
Place on Ex SD CARD
boot to download mode
Press vol up to flash.
RUU will erase internal storage. Once RUU has flashed boot your phone and take the OTA to OREO. After your phone has taken the OTA flash the latest twrp then flash leedroid Oreo ROM.
The reason I suggest this way instead of flashing firmware is because your going to have to wipe data anyway and by flashing an RUU you have a clean start.
Click to expand...
Click to collapse
Hi, thanks for the advice. The issue I'm having is I don't have access to an SD card so I'm trying to flash via ADB sideload in TWRP however I'm now met with zip file invalid in TWRP.
Rammen44 said:
Hi, thanks for the advice. The issue I'm having is I don't have access to an SD card so I'm trying to flash via ADB sideload in TWRP however I'm now met with zip file invalid in TWRP.
Click to expand...
Click to collapse
You can't flash it with twrp. You can use htc_fastboot and flash from RUU mode.
yldlj said:
You can't flash it with twrp. You can use htc_fastboot and flash from RUU mode.
Click to expand...
Click to collapse
Awesome okay, so I've booted in RUU mode however on the command prompt when I try to flash I'm met with target reported max download size of 157920000, invalid sparse file format at header magic. Can you advise?
Again thanks for the help
Edit: Screen grab of the error I'm met with https://imgur.com/a/WtP5wsq
Rammen44 said:
Awesome okay, so I've booted in RUU mode however on the command prompt when I try to flash I'm met with target reported max download size of 157920000, invalid sparse file format at header magic. Can you advise?
Again thanks for the help
Edit: Screen grab of the error I'm met with https://imgur.com/a/WtP5wsq
Click to expand...
Click to collapse
You need htc_fastboot
yldlj said:
You need htc_fastboot
Click to expand...
Click to collapse
How do I go about getting htc_fastboot?
Rammen44 said:
How do I go about getting htc_fastboot?
Click to expand...
Click to collapse
Use the thing called google. Better yet just get a SD card
yldlj said:
You need htc_fastboot
Click to expand...
Click to collapse
Hi never mind I'm in Fastboot now, I'll try install the zip above
yldlj said:
Use the thing called google. Better yet just get a SD card
Click to expand...
Click to collapse
I'm sorry about the questions,.
yldlj said:
Use the thing called google. Better yet just get a SD card
Click to expand...
Click to collapse
yldlj said:
You can't flash it with twrp. You can use htc_fastboot and flash from RUU mode.
Click to expand...
Click to collapse
Thank you for your help!
If anyone wants to know what I did to get back to stock so I could download Oreo
Downloaded Fastboot/ADB(Use this guide) https://lifehacker.com/the-easiest-way-to-install-androids-adb-and-fastboot-to-1586992378
Enabled USB debugging on the phone
Download HTC_Fastboot (Google it)
Download the Zip yldlj posted (Only if you are the same CID as me, the check this go onto the app store and find CID checker and then look on XDA for appropriate zip)
Put the download zip into the same folder as ADB/HTC_Fastboot/Fastboot folder. Rename it ota.zip
In the folder where you've extracted the ADB/Fastboot/ hold Ctrl Shift Right click open command window here
Connect your phone via USB
Set your phone onto download mode
From there I used the command htc_fastboot oem rebootRUU
Once loaded into RUU Mode use the command htc_fastboot flash zip ota.zip
Once that was complete I was back to stock Android N which then enables me to update to Oreo
BANG
Fixed
Thank you everyone for your help. If you get stuck I'll try my best to help you
Rammen44 said:
Thank you for your help!
If anyone wants to know what I did to get back to stock so I could download Oreo
Downloaded Fastboot/ADB(Use this guide) https://lifehacker.com/the-easiest-way-to-install-androids-adb-and-fastboot-to-1586992378
Enabled USB debugging on the phone
Download HTC_Fastboot (Google it)
Download the Zip yldlj posted (Only if you are the same CID as me, the check this go onto the app store and find CID checker and then look on XDA for appropriate zip)
Put the download zip into the same folder as ADB/HTC_Fastboot/Fastboot folder. Rename it ota.zip
In the folder where you've extracted the ADB/Fastboot/ hold Ctrl Shift Right click open command window here
Connect your phone via USB
Set your phone onto download mode
From there I used the command htc_fastboot oem rebootRUU
Once loaded into RUU Mode use the command htc_fastboot flash zip ota.zip
Once that was complete I was back to stock Android N which then enables me to update to Oreo
BANG
Fixed
Thank you everyone for your help. If you get stuck I'll try my best to help you
Click to expand...
Click to collapse
Glad you sorted it :good:
yldlj said:
The easiest way for someone who doesn't want to take the time to learn how things work would be to download this Nougat RUU
https://androidfilehost.com/?w=files&flid=241133
To flash RUU:
Rename the file to 2PS6IMG.zip
Place on Ex SD CARD
boot to download mode
Press vol up to flash.
RUU will erase internal storage. Once RUU has flashed boot your phone and take the OTA to OREO. After your phone has taken the OTA flash the latest twrp then flash leedroid Oreo ROM.
The reason I suggest this way instead of flashing firmware is because your going to have to wipe data anyway and by flashing an RUU you have a clean start.
Click to expand...
Click to collapse
will it work on S-On too?
Ahmed Xperia p said:
will it work on S-On too?
Click to expand...
Click to collapse
Yes a signed ruu will work with s-on.
Mr Hofs said:
Yes a signed ruu will work with s-on.
Click to expand...
Click to collapse
i'm S-on and currently on leedroid. Sprint HTC10
Can i downgrade to Nougat this way since AFAIK it's not possible with S-on?
thanks and sorry for too many questions
Ahmed Xperia p said:
i'm S-on and currently on leedroid. Sprint HTC10
Can i downgrade to Nougat this way since AFAIK it's not possible with S-on?
thanks and sorry for too many questions
Click to expand...
Click to collapse
1: you need the ruu that matches your main version OS which can be found in the download mode
2: if you are on leedroid oreo means you have a oreo firmware and in that case you can not "just" flash a nougat ruu. Check the guides section, there is a downgrade dedicated thread with all the needed information