FORUMS
Remove All Ads from XDA

[GUIDE][S-ON] Restore your (European) HTC One M8 back to stock

n/a posts
Thanks Meter: 0
 
By GuestK0058, Guest on 4th April 2015, 08:28 AM
Post Reply Email Thread
1st July 2015, 07:40 AM |#11  
Member
Thanks Meter: 2
 
More
Hi,
I just needs to get OTA on my phone and i dont mind it being tampered or unlocked.
Will this method work on my phone ?

(bootloader) version: 0.5
(bootloader) version-bootloader: 3.16.0.0000
(bootloader) version-baseband: 1.16.2133156.UA15G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: SH495WM01309
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: HTC__J15
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 098a72e5
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
 
 
4th July 2015, 05:26 PM |#12  
Junior Member
Thanks Meter: 0
 
More
:/
I tried to flash the boot.img but I get this error:

C:\Users\Ali\Desktop\Fastboot>fastboot boot boot.img
creating boot image...
creating boot image - 8994816 bytes
downloading 'boot.img'...
OKAY [ 0.894s]
booting...
FAILED (remote: not allowed)
finished. total time: 0.895s

I have no OS now if I try to reboot I get stuck on boot logo. What can I do to get back to stock with OTA and everything?

C:\Users\Ali\Desktop\Fastboot>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.22.21331147A1.29G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.33.61.9
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: ORANG001
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 4c3fbd70
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.020s
3rd September 2015, 01:11 PM |#13  
Junior Member
Flag Quezon City
Thanks Meter: 1
 
More
thanks this helped me revive my m8
4th September 2015, 11:05 AM |#14  
Junior Member
Thanks Meter: 0
 
More
Pc can't identify my device. phone gets htc logo then it turns black and disconnects from pc. RUU wiz error (170) usb connection error.
GuestK0058
9th September 2015, 10:35 AM |#15  
Guest
Thanks Meter: 0
 
More
Quote:
Originally Posted by royalkalana

Hi,
I just needs to get OTA on my phone and i dont mind it being tampered or unlocked.
Will this method work on my phone ?.....

Yes

Quote:
Originally Posted by gorner92

I tried to flash the boot.img but I get this error:
C:\Users\Ali\Desktop\Fastboot>fastboot boot boot.img
creating boot image...
creating boot image - 8994816 bytes
downloading 'boot.img'...
OKAY [ 0.894s]
booting..

Please check if your device is unlocked. You can't flash boot.img's while on a locked bootloader.

Quote:
Originally Posted by Cpre

Pc can't identify my device. phone gets htc logo then it turns black and disconnects from pc. RUU wiz error (170) usb connection error.

Reinstall the HTC drivers.
9th September 2015, 12:26 PM |#16  
Mr Hofs's Avatar
Senior Member
Thanks Meter: 14,637
 
More
Quote:
Originally Posted by gorner92

I tried to flash the boot.img but I get this error:

C:\Users\Ali\Desktop\Fastboot>fastboot boot boot.img
creating boot image...
creating boot image - 8994816 bytes
downloading 'boot.img'...
OKAY [ 0.894s]
booting...
FAILED (remote: not allowed)
finished. total time: 0.895s

I have no OS now if I try to reboot I get stuck on boot logo. What can I do to get back to stock with OTA and everything?

C:\Users\Ali\Desktop\Fastboot>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.22.21331147A1.29G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.33.61.9
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: ORANG001
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 4c3fbd70
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.020s

You are using the wrong command ! It's :

Fastboot flash boot boot.img

NOT

Fastboot boot boot.img ! That's why you got stuck. And indeed make sure the bootloader is UNLOCKED before you flash !

While i don't even know flashing the boot.img and recovery seperatly first is actually needed because all that's needed is to relock the bootloader and run the ruu.exe or the temp rom.zip via sd card.

afaik the ruu method takes care of the boot.img and recovery on its own.
14th September 2015, 12:42 PM |#17  
Junior Member
Thanks Meter: 0
 
More
Got a problem with 3rd command (locking oem) in step 3. It goes like this:

C:\adb>fastboot flash boot boot.img
target reported max download size of 1826021376 bytes
sending 'boot' (8780 KB)...
OKAY [ 1.001s]
writing 'boot'...
OKAY [ 0.464s]
finished. total time: 1.465s

C:\adb>fastboot flash recovery recovery.img
target reported max download size of 1826021376 bytes
sending 'recovery' (16044 KB)...
OKAY [ 1.710s]
writing 'recovery'...
OKAY [ 0.646s]
finished. total time: 2.357s

C:\adb>fastboot oem lock
...
(bootloader) [PGFS] partition_update_pgfs: pg1fs_security
(bootloader) TZ_HTC_SVC_ENC ret = 0
(bootloader) [PGFS] partition_update_pgfs: pg2fs_sec_recovery
(bootloader) Lock successfully...
(bootloader) deinit_lcd
(bootloader) mipi display off
(bootloader) mdp_clock_off
(bootloader) turn off fd8c2308 failed 1 times. Try again...
(bootloader) disable_mmss_clk done
(bootloader) pll1_disable done
(bootloader) TZ_HTC_SVC_DISABLE ret = -1610744452 (0x9FFDFD7C)
(bootloader) [CRITICAL] SPMI write command failure: cmd_id = 0, error
(bootloader) = 4
(bootloader) [CRITICAL] SPMI write command failure: cmd_id = 0, error
(bootloader) = 4
(bootloader) [INFO] Rebooting device
FAILED (status read failed (Too many links))
finished. total time: 1.194s

My getvar all before flashing:
version: 0.5
version-bootloader: 3.19.0.0000
version-baseband: 1.22.21331147A1.29G
version-cpld: None
version-microp: None
version-main:
version-misc: PVT SHIP S-ON
meid: 0000000000000000
product: m8_ul
platform: hTCBmsm8974
modelid: 0P6B10000
cindum: HTC__032

Now my phone is stuck on my ROM's boot logo and now I can't access bootloader.


EDIT:
I've managed to access bootloader by holding power + volup and then holding vol down. After that installing via RUU went smooth.
5th November 2015, 03:17 PM |#18  
Junior Member
Thanks Meter: 3
 
More
Hi, I followed your instructions, but before I could start with 4th device booted up and i accidentaly accepted upgrade. It rebooted and upgraded the device, and then stuck on boot screen. Now I try to update it through RUU but it says image version 4.16.401.13, and I can't find RUU for that version. Any ideas? Can I somehow reinstall twrp and restore nandroid backup?
P.S. in bootloader it still says software status: modified :/

P.P.S. I still managed to make RUU go through all the steps, from a billionth time. It would usually stuck on steps 0, step 1, or step 3. Now it seems like it's booting fine... Time to shower away all the cold sweat from my body.
13th November 2015, 09:37 AM |#19  
Junior Member
Thanks Meter: 0
 
More
Hi Guys,
I have windows 8.1 and can't open rom.zip file. I have an error : The compressed Folder is invalid. Installed winzip, 7-zip - can't go ahead.
15th November 2015, 06:48 PM |#20  
Member
Thanks Meter: 5
 
More
If you are having trouble sending the ruu and you are stuck at sending 0/7 or 1/8 and only htc logo. then just delete htc sync manager from your pc!!!
16th November 2015, 07:12 PM |#21  
Junior Member
Flag Visakhapatnam
Thanks Meter: 2
 
Donate to Me
More
Hello @Joery360 i have (M8) which was gifted to me and it has miui7 and now i want to restore the stock sense6 in it but it's S-ON, rooted, twrp installed and bootlocker unlocked...!
i tried many zips flashing through twrp but nothing worked and it went almost bricked many times as i don't know what to flash appropriately and i go crazy knowing that lot of variants in one model which is hiccup to a noob like me
Could you please guide me to get back the stock rom to my M8 with future ota eligibility?
Thanks in advance
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes