Guidance needed (S-OFF, SIM unlock) - One (M7) Q&A, Help & Troubleshooting

I've got an HTC One M7 on EE in the UK (was TMobile I think originally).
I flashed it with LineageOS, which seemed to work great except it didn't recognise the SIM card. I gather I'll need to S-OFF it first to unlock the SIM? And that Sunshine is the way to go for my 1.61 hboot version.
Despite flashing with a stock ROM though Sunshine's test complains the kernel or ROM aren't close enough to stock. Any ideas? Thanks in advance.
Code:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.61.0000
(bootloader) version-baseband: 4T.35.3218.16
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 7.19.61.51
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: xxxx
(bootloader) imei: xxxx
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: ORANG001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4194mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-0e2a13e5
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0

This is the stock RUU I've tried.
M7 CWM Nandroid Backup CID ORANG001 2.24.61.1

htconer said:
This is the stock RUU I've tried.
M7 CWM Nandroid Backup CID ORANG001 2.24.61.1
Click to expand...
Click to collapse
This file is not a RUU, it's a cwm backup and it's also way to old to fit your device.
I know 3 methods to sim-unlock,
1-the first one consist of entering the sim unlock code (you must purchase one) when booting the phone. The foreign sim card must be inserted to be prompted to enter the code, the phone must also run a stock (or close to stock) rom.
2- Sieempi's method, requires S-OFF and some hardware (external hard drive, usb otg y-cable, 5v power source)
3- Sunshine experimental sim-unlock, not really sure if it's working, never heard about anyone using this method.
The lastest RUU version I was able to find for your phone is 7.19.61.10 and since your version-main is higher than that you'll either need s-off to flash it or to edit your version-main in your misc partition.
https://forum.xda-developers.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944
RUU at post #2 of that thread, instructions how to edit your version-main at the end of post #2. Instructions how to flash ruu at post #1

Thanks.
Sounds like you'd suggest putting a foreign SIM in and getting an unlock code over Sunshine then? I guess if I can pass the Sunshine checks though I'll be in a better place for doing that.
The version-main change seems to have worked. Haven't been able to flash the RUU though, am I doing something wrong?
Code:
$ fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
OKAY [ 0.235s]
finished. total time: 0.235s
$ fastboot flash zip PN07IMG_M7_UL_L50_SENSE60_MR_Orange_UK_7.19.61.10_Radio_4T.35.3218.16_10.33Q.1718.01L_release_428118_signed.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 184138016 is not a multiple of the block size 4096
sending sparse 'zip' 1/2 (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 184138016 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 184138016 is not a multiple of the block size 4096
OKAY [ 60.996s]
writing 'zip' 1/2...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 202.278s
I've tried running the flash zip command multiple times. Thought it sounded like a file corruption issue, but the MD5 seems ok to me.
Code:
$ md5 PN07IMG_M7_UL_L50_SENSE60_MR_Orange_UK_7.19.61.10_Radio_4T.35.3218.16_10.33Q.1718.01L_release_428118_signed.zip
MD5 (PN07IMG_M7_UL_L50_SENSE60_MR_Orange_UK_7.19.61.10_Radio_4T.35.3218.16_10.33Q.1718.01L_release_428118_signed.zip) = 95a5ad2186235bc346d55ef9d8530dce

htconer said:
Thanks.
Sounds like you'd suggest putting a foreign SIM in and getting an unlock code over Sunshine then? I guess if I can pass the Sunshine checks though I'll be in a better place for doing that.
The version-main change seems to have worked. Haven't been able to flash the RUU though, am I doing something wrong?
Code:
$ fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
OKAY [ 0.235s]
finished. total time: 0.235s
$ fastboot flash zip PN07IMG_M7_UL_L50_SENSE60_MR_Orange_UK_7.19.61.10_Radio_4T.35.3218.16_10.33Q.1718.01L_release_428118_signed.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 184138016 is not a multiple of the block size 4096
sending sparse 'zip' 1/2 (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 184138016 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 184138016 is not a multiple of the block size 4096
OKAY [ 60.996s]
writing 'zip' 1/2...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 202.278s
Click to expand...
Click to collapse
Answer to your question is written in red in the instructions/post #1 of the RUU collection thread
You can buy a sim unlock code online for less than 10$ if you don't want to s-off with Sunshine.

Ah. Bit slow getting used to the expanding bits on this forums posts. Guess I need htc_fastboot.exe then?
Unfortunately, sort of, I don't have a Windows machine or know anyone with one I can borrow and the htc fastboot for mac complains the file is too big.

Related

[Q] Error flashing RUU

I'm trying to flash an RUU for my HTC One but it keeps failing. It is a Rogers phone, I'm flashing a Rogers RUU. This is the RUU I'm using:
http://www.htc1guru.com/dld/ruu_m7_..._10-38r-1157-04l_release_351317_signed_2-exe/
When I try to run the exe, it gets stuck at step 1/5 checking headers. I've extracted the rom.zip file and tried to flash with fastboot but that fails also. This is what I'm getting:
Code:
e:\Swap>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.047s]
finished. total time: 0.047s
e:\Swap>fastboot flash zip rom.zip
target reported max download size of 1526722560 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 190479322 is not a multiple of t
he block size 4096
sending sparse 'zip' (1490937 KB)...
error: write_sparse_skip_chunk: don't care size 190479322 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 190479322 is not a multiple of t
he block size 4096
OKAY [ 49.636s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 49.831s
e:\Swap>fastboot flash zip rom.zip
target reported max download size of 1526722560 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 190438362 is not a multiple of t
he block size 4096
sending sparse 'zip' (1490937 KB)...
error: write_sparse_skip_chunk: don't care size 190438362 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 190438362 is not a multiple of t
he block size 4096
OKAY [ 49.670s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 49.866s
Here is my fastboot getvar all:
Code:
e:\Swap>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 4T.21.3218.21
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.22.631.1
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno:
(bootloader) imei:
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4291mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: RUU
(bootloader) commitno-bootloader: dirty-fe1214a4f2
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.059s
I have tried with my original CID ROGER001 and superCID. Any assistance would be greatly appreciated!
Cyotik said:
I'm trying to flash an RUU for my HTC One but it keeps failing. It is a Rogers phone, I'm flashing a Rogers RUU. This is the RUU I'm using:
http://www.htc1guru.com/dld/ruu_m7_..._10-38r-1157-04l_release_351317_signed_2-exe/
When I try to run the exe, it gets stuck at step 1/5 checking headers. I've extracted the rom.zip file and tried to flash with fastboot but that fails also. This is what I'm getting:
Code:
e:\Swap>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.047s]
finished. total time: 0.047s
e:\Swap>fastboot flash zip rom.zip
target reported max download size of 1526722560 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 190479322 is not a multiple of t
he block size 4096
sending sparse 'zip' (1490937 KB)...
error: write_sparse_skip_chunk: don't care size 190479322 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 190479322 is not a multiple of t
he block size 4096
OKAY [ 49.636s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 49.831s
e:\Swap>fastboot flash zip rom.zip
target reported max download size of 1526722560 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 190438362 is not a multiple of t
he block size 4096
sending sparse 'zip' (1490937 KB)...
error: write_sparse_skip_chunk: don't care size 190438362 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 190438362 is not a multiple of t
he block size 4096
OKAY [ 49.670s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 49.866s
Here is my fastboot getvar all:
Code:
e:\Swap>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 4T.21.3218.21
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.22.631.1
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno:
(bootloader) imei:
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4291mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: RUU
(bootloader) commitno-bootloader: dirty-fe1214a4f2
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.059s
I have tried with my original CID ROGER001 and superCID. Any assistance would be greatly appreciated!
Click to expand...
Click to collapse
you need to flash the firmware first when using 4.xx.xxx.x RUUs. Then the ruu will flash fine, its a common bug for all 4.xx.xxx.x ruu, must be on 4.xx.xxx.x firmware before flashing.
Btw, imo, I would change my cid to BS_US001 and flash the latest dev edition ruu (6.07.1540.2) instead of flashing the 4.19.631.9 Rogers version which mean you'll be up to date, receive the next ota faster and have no Rogers bloatwares.
alray said:
you need to flash the firmware first when using 4.xx.xxx.x RUUs. Then the ruu will flash fine, its a common bug for all 4.xx.xxx.x ruu, must be on 4.xx.xxx.x firmware before flashing.
Btw, imo, I would change my cid to BS_US001 and flash the latest dev edition ruu (6.07.1540.2) instead of flashing the 4.19.631.9 Rogers version which mean you'll be up to date, receive the next ota faster and have no Rogers bloatwares.
Click to expand...
Click to collapse
Okay, I changed CID and flashed firmware 6.06.401.1 from this thread. Here is fastboot getvar all now:
Code:
e:\Swap\dev>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.28.3218.04
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.06.401.1
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno:
(bootloader) imei:
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: BS_US001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4292mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-01dc707e
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.060s
Still not able to flash the RUU though, I used the rom.zip from the dev edition RUU you recommended.
Code:
e:\Swap\dev>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.042s]
finished. total time: 0.042s
e:\Swap\dev>fastboot flash zip rom.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 98606579 is not a multiple of th
e block size 4096
sending sparse 'zip' (1478649 KB)...
error: write_sparse_skip_chunk: don't care size 98606579 is not a multiple of th
e block size 4096
error: write_sparse_skip_chunk: don't care size 98606579 is not a multiple of th
e block size 4096
OKAY [ 49.111s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 49.327s
e:\Swap\dev>fastboot flash zip rom.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 97504755 is not a multiple of th
e block size 4096
sending sparse 'zip' (1478649 KB)...
error: write_sparse_skip_chunk: don't care size 97504755 is not a multiple of th
e block size 4096
error: write_sparse_skip_chunk: don't care size 97504755 is not a multiple of th
e block size 4096
OKAY [ 49.090s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 49.298s
Cyotik said:
Okay, I changed CID and flashed firmware 6.06.401.1 from this thread. Here is fastboot getvar all now:
Code:
e:\Swap\dev>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.28.3218.04
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.06.401.1
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno:
(bootloader) imei:
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: BS_US001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4292mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-01dc707e
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.060s
Still not able to flash the RUU though, I used the rom.zip from the dev edition RUU you recommended.
Code:
e:\Swap\dev>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.042s]
finished. total time: 0.042s
e:\Swap\dev>fastboot flash zip rom.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 98606579 is not a multiple of th
e block size 4096
sending sparse 'zip' (1478649 KB)...
error: write_sparse_skip_chunk: don't care size 98606579 is not a multiple of th
e block size 4096
error: write_sparse_skip_chunk: don't care size 98606579 is not a multiple of th
e block size 4096
OKAY [ 49.111s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 49.327s
e:\Swap\dev>fastboot flash zip rom.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 97504755 is not a multiple of th
e block size 4096
sending sparse 'zip' (1478649 KB)...
error: write_sparse_skip_chunk: don't care size 97504755 is not a multiple of th
e block size 4096
error: write_sparse_skip_chunk: don't care size 97504755 is not a multiple of th
e block size 4096
OKAY [ 49.090s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 49.298s
Click to expand...
Click to collapse
Why did you flashed the 6.06.401.1 firmware?.
6.06.401.1 is not even for Rogers or Dev edition, its European (.401)
If using the dev edition RUU then flash the Dev edition firmware first (6.07.1540.2).
If using the Rogers RUU then flash the Roger firmware first (4.19.631.9).
---------- Post added at 12:55 AM ---------- Previous post was at 12:52 AM ----------
Or maybe it would be simpler for you to use one of my reset rom to flash in twrp recovery? I can guide you if needed, i'll still be online for the next 2 hours.

help needed flashing ruu

hi I'm trying to restore a friends wiped phone but keep failing at the last hurdle
here.s the speck
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.61.0000
(bootloader) version-baseband: 4T.35.3218.16
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 7.19.401.2
(bootloader) version-misc: PVT SHIP S-ON
(bootloader)
(bootloader) imei:
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4321mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-0e2a13e5
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
i was on 7.19.401.30
and used this (adb shell
echo -ne "7.19.401.2\x00\x00" | dd of=/dev/block/mmcblk0p19 bs=1 seek=160
exit
adb reboot boot loader)
to downgrade my version as s-on
here are my fails on terminal stuarts-iMac:android-sdk-macosx:tools stuartambrose1$ fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
OKAY [ 0.053s]
finished. total time: 0.053s
stuarts-iMac:android-sdk-macosx:tools stuartambrose1$ fastboot flash zip ruu.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
fastboot flash zip ruu.zip
error: write_sparse_skip_chunk: don't care size 174334115 is not a multiple of the block size 4096
sending sparse 'zip' (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 174334115 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 174334115 is not a multiple of the block size 4096
OKAY [ 61.879s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 199.883s
stuarts-iMac:android-sdk-macosx:tools stuartambrose1$ fastboot flash zip ruu.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 174334115 is not a multiple of the block size 4096
sending sparse 'zip' (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 174334115 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 174334115 is not a multiple of the block size 4096
OKAY [ 62.095s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 200.100s
thank in advance
sampleit said:
stuarts-iMac:android-sdk-macosx:tools stuartambrose1$ fastboot flash zip ruu.zip
Click to expand...
Click to collapse
You must use htc_fastboot.exe to flash any lollipop RUU and since this is an .exe file............. Windows only So you are on the right track, simply not using the right fastboot version and no the ''right'' computer OS
ahh ok iv got win on an old laptop i will give that a go n see how i get on then!!!
sampleit said:
ahh ok iv got win on an old laptop i will give that a go n see how i get on then!!!
Click to expand...
Click to collapse
no i get exactly the same errors in windows as i do the mac
alray said:
You must use htc_fastboot.exe to flash any lollipop RUU and since this is an .exe file............. Windows only So you are on the right track, simply not using the right fastboot version and no the ''right'' computer OS
Click to expand...
Click to collapse
also its a zip file I'm flashing not an exe
sampleit said:
also its a zip file I'm flashing not an exe
Click to expand...
Click to collapse
You should be able to flash this ruu (yes it's a zip), like @alray says you must use htc-fastboot and Windows(you can get from the instructions on the first page.)
7.19.401.51 Signed
HTC_Europe
MIDN0710000
CID: HTC__001
CID: HTC__J15
CID: HTC__E11
CID: HTC__203
CID: HTC__102
CID: HTC__405
CID: HTC__Y13
CID: HTC__A07
CID: HTC__304
From here
http://forum.xda-developers.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944
alray said:
You must use htc_fastboot.exe to flash any lollipop RUU and since this is an .exe file............. Windows only So you are on the right track, simply not using the right fastboot version and no the ''right'' computer OS
Click to expand...
Click to collapse
mb_guy said:
You should be able to flash this ruu (yes it's a zip), like @alray says you must use htc-fastboot and Windows(you can get from the instructions on the first page.)
7.19.401.51 Signed
HTC_Europe
MIDN0710000
CID: HTC__001
CID: HTC__J15
CID: HTC__E11
CID: HTC__203
CID: HTC__102
CID: HTC__405
CID: HTC__Y13
CID: HTC__A07
CID: HTC__304
From here
http://forum.xda-developers.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944
Click to expand...
Click to collapse
all done that worked, thank for the help :good:

HELP - Restore HTC One (M7) to Stock ROM

Hey guys, What's up?
Some months ago, my friend suggested that he can upgrade my phone to Lollipop and instal another ROM...after that, my phone is so so buggy! It's always crashing, constantly rebooting and many others problems.
So, I decided to go back to the Stock ROM, but it's seems a little difficult to me.
Can anyone please help me get my phone back to Stock ROM?
Tell me what to do first and help me find the right files for my phone?
Here it's the info about my phone:
C:\Fastboot>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.61.0000
(bootloader) version-baseband: 4T.35.3218.16
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: FA362W900989
(bootloader) imei: 354436052980347
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__304
(bootloader) battery-status: good
(bootloader) battery-voltage: 3848mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-0e2a13e5
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Click to expand...
Click to collapse
Thanks alot!!!
EliSoares said:
Hey guys, What's up?
Some months ago, my friend suggested that he can upgrade my phone to Lollipop and instal another ROM...after that, my phone is so so buggy! It's always crashing, constantly rebooting and many others problems.
So, I decided to go back to the Stock ROM, but it's seems a little difficult to me.
Can anyone please help me get my phone back to Stock ROM?
Tell me what to do first and help me find the right files for my phone?
Here it's the info about my phone:
Thanks alot!!!
Click to expand...
Click to collapse
Flashing the 7.19.401.51 RUU will bring your phone back to stock
http://forum.xda-developers.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944
follow instructions from post #1
RUU at post #2
alray said:
Flashing the 7.19.401.51 RUU will bring your phone back to stock
http://forum.xda-developers.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944
follow instructions from post #1
RUU at post #2
Click to expand...
Click to collapse
Hey! Thanks!!!
I'm trying do flash, but appears this error:
FAIL02 data length is too large
FAILED (data size is too large(1641983 KB) for device to download ZIP file 'RUU.
zip'
Click to expand...
Click to collapse
What i have to do ?
EliSoares said:
Hey! Thanks!!!
I'm trying do flash, but appears this error:
What i have to do ?
Click to expand...
Click to collapse
Make sure you are using the fastboot version provided by the OP and that you are using the signed version of 7.19.401.51 not the decrypted one.
Hi,
I bought the HTC One M7 from other person, I found the Software Information is:
- Android Version: 5.0.2
- HTC Sense Version: 6.0
- Software number: ViperOne 8.0.0
When I check the my bootloader variable is show below
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.28.3218.04
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: SH39WW903924
(bootloader) imei: 35786**********
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4305mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
How can I turn to the Stock ROM? Because of the the orginal "cidnum" was changed, so how to find the right Stock ROM with my device?
Please help me.
Thank you very much
NomercyB said:
Hi,
I bought the HTC One M7 from other person, I found the Software Information is:
- Android Version: 5.0.2
- HTC Sense Version: 6.0
- Software number: ViperOne 8.0.0
When I check the my bootloader variable is show below
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.28.3218.04
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: SH39WW903924
(bootloader) imei: 35786**********
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4305mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
How can I turn to the Stock ROM? Because of the the orginal "cidnum" was changed, so how to find the right Stock ROM with my device?
Please help me.
Thank you very much
Click to expand...
Click to collapse
You can pretty much use any RUU you'd like to brink it back to stock, just make sure the MID match the RUU. If you really need it to be on the same exact rom it came with, for an obscure reason, you canf ind the original CID stored on the MFG partition. You'll need to dump the MFG to your computer and explore it using HxD. Or simply flash the 7.19.401.51 RUU
CID stored on the MFG partition
alray said:
You can pretty much use any RUU you'd like to brink it back to stock, just make sure the MID match the RUU. If you really need it to be on the same exact rom it came with, for an obscure reason, you canf ind the original CID stored on the MFG partition. You'll need to dump the MFG to your computer and explore it using HxD. Or simply flash the 7.19.401.51 RUU
Click to expand...
Click to collapse
Thank you very @alray.
As you know I am a newbie on this issue, so I really don't know how to find CID stored on the MFG partition.
Could you give me your hand to how to find it?
Thank you.
NomercyB said:
Thank you very @alray.
As you know I am a newbie on this issue, so I really don't know how to find CID stored on the MFG partition.
Could you give me your hand to how to find it?
Thank you.
Click to expand...
Click to collapse
From a rooted rom or from a custom recovery execute theses commands:
Code:
adb shell
su
dd if=/dev/block/mmcblk0p6 of=/sdcard/mmcblk0p6_bakup.img
exit
then copy mmcblk0p6_backup.img from your sdcard to your computer and open it with HxD, look at position 1209C
position 1209C
alray said:
From a rooted rom or from a custom recovery execute theses commands:
Code:
adb shell
su
dd if=/dev/block/mmcblk0p6 of=/sdcard/mmcblk0p6_bakup.img
exit
then copy mmcblk0p6_backup.img from your sdcard to your computer and open it with HxD, look at position 1209C
Click to expand...
Click to collapse
Sorry, sir @alray I don't know how to find the position 1209C. When I press F3 on HxD and find the the 1209C it couldn't find, maybe I don't know how to find it, how should I do?
NomercyB said:
Sorry, sir @alray I don't know how to find the position 1209C. When I press F3 on HxD and find the the 1209C it couldn't find, maybe I don't know how to find it, how should I do?
Click to expand...
Click to collapse
scroll down to offset 12090 and then look at column 0C. That's the first byte of your original CID, most likely x48 for the letter "H" if your phone had a common CID (ie starting with HTC__)
Just after that, at 120AB you can find your MID.
btw you would be fine with 7.19.401.51, just saying again...
mmcblk0p6_bakup.img
alray said:
From a rooted rom or from a custom recovery execute theses commands:
Code:
adb shell
su
dd if=/dev/block/mmcblk0p6 of=/sdcard/mmcblk0p6_bakup.img
exit
then copy mmcblk0p6_backup.img from your sdcard to your computer and open it with HxD, look at position 1209C
Click to expand...
Click to collapse
alray said:
scroll down to offset 12090 and then look at column 0C. That's the first byte of your original CID, most likely x48 for the letter "H" if your phone had a common CID (ie starting with HTC__)
Just after that, at 120AB you can find your MID.
btw you would be fine with 7.19.401.51, just saying again...
Click to expand...
Click to collapse
Thank you so much for you kindly guide me. My mmcblk0p6_bakup.img couldn't find the number 12090 as you mentioned.
Anyway, I downloaded Stock ROM Version 7.19.401.51, If I flash it my mobile can receive OTA update?
Flash Stock ROM 7.19.401.51
alray said:
scroll down to offset 12090 and then look at column 0C. That's the first byte of your original CID, most likely x48 for the letter "H" if your phone had a common CID (ie starting with HTC__)
Just after that, at 120AB you can find your MID.
btw you would be fine with 7.19.401.51, just saying again...
Click to expand...
Click to collapse
When I flash Stock ROM 7.19.401.51 I found the message below:
F:\HTC\HTCOneRoot\fastboot_adb(1.0.32)_071114_r21>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.043s]
finished. total time: 0.044s
F:\HTC\HTCOneRoot\fastboot_adb(1.0.32)_071114_r21>fastboot flash zip RUU.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 165469715 is not a multiple of the block size 4096
sending sparse 'zip' (1478649 KB)...
error: write_sparse_skip_chunk: don't care size 165469715 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 165469715 is not a multiple of the block size 4096
OKAY [ 58.964s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 59.169s
F:\HTC\HTCOneRoot\fastboot_adb(1.0.32)_071114_r21>fastboot reboot
rebooting...
finished. total time: 0.036s
How should I do?
NomercyB said:
Thank you so much for you kindly guide me. My mmcblk0p6_bakup.img couldn't find the number 12090 as you mentioned.
Anyway, I downloaded Stock ROM Version 7.19.401.51, If I flash it my mobile can receive OTA update?
Click to expand...
Click to collapse
Ota update? Device reached EOL Last year. 7.19.401.51 is the final version. I wouldnt expect any update but if there is one, yes youll be able to install it.
NomercyB said:
When I flash Stock ROM 7.19.401.51 I found the message below:
F:\HTC\HTCOneRoot\fastboot_adb(1.0.32)_071114_r21>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.043s]
finished. total time: 0.044s
F:\HTC\HTCOneRoot\fastboot_adb(1.0.32)_071114_r21>fastboot flash zip RUU.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 165469715 is not a multiple of the block size 4096
sending sparse 'zip' (1478649 KB)...
error: write_sparse_skip_chunk: don't care size 165469715 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 165469715 is not a multiple of the block size 4096
OKAY [ 58.964s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 59.169s
F:\HTC\HTCOneRoot\fastboot_adb(1.0.32)_071114_r21>fastboot reboot
rebooting...
finished. total time: 0.036s
How should I do?
Click to expand...
Click to collapse
You must use htc_fastboot.exe to flash the ruu, not the regular version from Google.
Flash Stock ROM 7.19.401.51
alray said:
Ota update? Device reached EOL Last year. 7.19.401.51 is the final version. I wouldnt expect any update but if there is one, yes youll be able to install it.
You must use htc_fastboot.exe to flash the ruu, not the regular version from Google.
Click to expand...
Click to collapse
Thank you very much for your good suggestion, I tried many times for flashing but it's not complete, I also used htc_fastboot.exe. Maybe it happens with my Windows OS.
I try again with Windows OS that is lower than Windows 10 Enterprise 64 bit.
NomercyB said:
Thank you very much for your good suggestion, I tried many times for flashing but it's not complete, I also used htc_fastboot.exe. Maybe it happens with my Windows OS.
I try again with Windows OS that is lower than Windows 10 Enterprise 64 bit.
Click to expand...
Click to collapse
With Hboot 1.57 windows 10 shouldn't be a problem, only if you were on hboot 1.44.
Can you copy/paste the output of your command windows after executing "fastboot flash zip ruu.zip" so I can see why it's failing...
Same problem
alray said:
With Hboot 1.57 windows 10 shouldn't be a problem, only if you were on hboot 1.44.
Can you copy/paste the output of your command windows after executing "fastboot flash zip ruu.zip" so I can see why it's failing...
Click to expand...
Click to collapse
I still face the same problem when I flash RUU.zip from the original file "PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_458803_unsigned.zip". It shows the error message:
C:\HTC FASTBOOT>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.043s]
finished. total time: 0.044s
C:\HTC FASTBOOT>fastboot flash zip ruu.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 167235091 is not a multiple of t
he block size 4096
sending sparse 'zip' (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 167235091 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 167235091 is not a multiple of t
he block size 4096
OKAY [ 93.787s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 93.991s
C:\HTC FASTBOOT>fastboot reboot-bootloader
Please help me to find out the problem.
Thank you very much
NomercyB said:
I still face the same problem when I flash RUU.zip from the original file "PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_458803_unsigned.zip". It shows the error message:
C:\HTC FASTBOOT>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.043s]
finished. total time: 0.044s
C:\HTC FASTBOOT>fastboot flash zip ruu.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 167235091 is not a multiple of t
he block size 4096
sending sparse 'zip' (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 167235091 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 167235091 is not a multiple of t
he block size 4096
OKAY [ 93.787s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 93.991s
C:\HTC FASTBOOT>fastboot reboot-bootloader
Please help me to find out the problem.
Thank you very much
Click to expand...
Click to collapse
Might want to try to signed version? Not sure why you are trying to flash this one.
alray said:
Might want to try to signed version? Not sure why you are trying to flash this one.
Click to expand...
Click to collapse
I will try to use signed version from you suggestion. You want to know why I am trying to use this one. Because I could not find out the original CID number and you ever suggested me to use 7.19.401.51 RUU, so I downloaded 7.19.401.51 RUU to flash my rom to restore to the stock ROM.
Okay, if you have any good solution to suggest me please help me to the stock ROM. The reason why I try to return to stock rom because my phone flashed with viper rom and now WIFI signal is stuck on "Turning WIFI on" then give the error message.
That's why, I would like to return to stock rom.
---------- Post added at 04:00 AM ---------- Previous post was at 03:01 AM ----------
alray said:
Might want to try to signed version? Not sure why you are trying to flash this one.
Click to expand...
Click to collapse
I tried with signed version but it still show the error as the message below
C:\HTC FASTBOOT>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.109s]
finished. total time: 0.109s
C:\HTC FASTBOOT>fastboot flash zip ruu.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 174325923 is not a multiple of t
he block size 4096
sending sparse 'zip' (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 174325923 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 174325923 is not a multiple of t
he block size 4096
OKAY [106.361s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 106.564s
C:\HTC FASTBOOT>fastboot reboot
rebooting...
finished. total time: 0.109s
Please help me.
Thanks.

Rom by fastboot?

Hi
I have a problem because i did wipe system for some reasons and now my m7 stuck in bootloop (htc logo)
adb doesnt work (pc doesnt see my phone), fastboot works
is there any posiblity to install system without adb only fastboot?
i have s-off and twrp-3.0.0-2-m7
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.61.0000
(bootloader) version-baseband: 4T.35.3218.16
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno:
(bootloader) imei:
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__032
(bootloader) battery-status: good
(bootloader) battery-voltage: 4321mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-0e2a13e5
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
piechu15 said:
Hi
I have a problem because i did wipe system for some reasons and now my m7 stuck in bootloop (htc logo)
adb doesnt work (pc doesnt see my phone), fastboot works
is there any posiblity to install system without adb only fastboot?
i have s-off and twrp-3.0.0-2-m7
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.61.0000
(bootloader) version-baseband: 4T.35.3218.16
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__032
(bootloader) battery-status: good
(bootloader) battery-voltage: 4321mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-0e2a13e5
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Click to expand...
Click to collapse
adb will only work from a custom recovery or from a booted rom, not in the bootloader. Use twrp to flash a rom or flash a ruu using fastboot.
alray said:
adb will only work from a custom recovery or from a booted rom, not in the bootloader. Use twrp to flash a rom or flash a ruu using fastboot.
Click to expand...
Click to collapse
thanks, but my adb doesnt work for a long time and i cant push any file to memory
otg doesnt work too.
I tired to use fastboot to flash ruu but something is wrong
D:\Android\sdk\platform-tools>fastboot flash zip C:\Users\Karol\Downloads\PN07IM
G_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.51_Radio_4T.35.3218.16_10.33Q.1718.01
L_release_458803_unsigned.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 167243283 is not a multiple of t
he block size 4096
sending sparse 'zip' 1/2 (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 167243283 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 167243283 is not a multiple of t
he block size 4096
OKAY [ 66.451s]
writing 'zip' 1/2...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 230.729s
piechu15 said:
thanks, but my adb doesnt work for a long time and i cant push any file to memory
otg doesnt work too.
I tired to use fastboot to flash ruu but something is wrong
D:\Android\sdk\platform-tools>fastboot flash zip C:\Users\Karol\Downloads\PN07IM
G_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.51_Radio_4T.35.3218.16_10.33Q.1718.01
L_release_458803_unsigned.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 167243283 is not a multiple of t
he block size 4096
sending sparse 'zip' 1/2 (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 167243283 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 167243283 is not a multiple of t
he block size 4096
OKAY [ 66.451s]
writing 'zip' 1/2...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 230.729s
Click to expand...
Click to collapse
If fastboot commands are working but not adb, you have a driver problem. Make sure you have the latest version installed. ADB sideload can sometime be less reliable than using the old adb push method. If you have a recent TWRP version installed, you shouldn't even have to use adb push or adb sideload to transfer the rom to your phone since the recovery is now taking advantage of the MTP protocol (you should see your phone storage, like a usb drive, when the phone is booted in recovery).
Flashing a Lollipop RUU (version starting with 7.xx.xxx.x) requires the use of htc_fastboot.exe. The regular fastboot.exe from the android sdk tools can't handle the 7.xx.xxx.x RUU because of the file size. You can find the correct fastboot version in the ruu collection thread (linked in my signature) at post #1 under the "How to flash" spoiler or search for "htc_fastboot.exe" on androidfilehost.com
alray said:
If fastboot commands are working but not adb, you have a driver problem. Make sure you have the latest version installed. ADB sideload can sometime be less reliable than using the old adb push method. If you have a recent TWRP version installed, you shouldn't even have to use adb push or adb sideload to transfer the rom to your phone since the recovery is now taking advantage of the MTP protocol (you should see your phone storage, like a usb drive, when the phone is booted in recovery).
Click to expand...
Click to collapse
Yes I think the same, it is driver problem. But in my opinion it is problem with the phone drivers.
I tired to connect my m7 to 4 diffrent pc with cables which works good with diffrent phones.
I changed usb port to the new too but still the same, any pc doesnt see my htc.
alray said:
Flashing a Lollipop RUU (version starting with 7.xx.xxx.x) requires the use of htc_fastboot.exe. The regular fastboot.exe from the android sdk tools can't handle the 7.xx.xxx.x RUU because of the file size. You can find the correct fastboot version in the ruu collection thread (linked in my signature) at post #1 under the "How to flash" spoiler or search for "htc_fastboot.exe" on androidfilehost.com
Click to expand...
Click to collapse
which wersion of RUU i should install?
i thought that 7.19.401.2 should work but it isnt.
D:\Android\sdk\platform-tools>fastboot2 flash zip RUU.zip
sending 'zip'... (43286 KB) OKAY
sending time = 3.121 secs
writing 'zip'... (bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) rom parsing start ...
(bootloader) rom parsing finish ...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) Read zipped android_info fail
FAIL99 unknown fail
FAILED (remote: 99 unknown fail)
Execution time is 10(s)
== edit
Ok, i managed to flash the ruu
I had to relock bootloader previously.
Thanks for the help @alray

Unable to flash stock rom

Dear experts,
I'm recently experiencing a problem with my phone in which it keeps prompting "com.google.process.gapps has stopped". I've followed a few different tutorials online, to reset app preference, clean the data and cache for Google Play Store/Google Play Serivce/Google Service Framework etc, but nothing has worked. I've even done a factory reset but it is still popping up - at the very first screen of the setup wizard. In the process of diagnosing the above issue, I've unlocked the bootloader via HTC Dev website, flashed the TWRP 3.2.1.0 recovery image, and obtained root.
Without much luck up to this point, I've an impression that my rom might have been corrupted somehow, and decided to flash the stock rom again. Based on "fastboot getvar all", I've downloaded the rom PN07IMG_M7_UL_K443_SENSE60_MR_hTC_Asia_HK_6.13.708.1_Radio_4T.28.3218.04_10.33E.1718.01L_release_386270_signed from GSM Firmware website.
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.28.3218.04
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0714000
(bootloader) cidnum: HTC__622
(bootloader) battery-status: good
(bootloader) battery-voltage: 4259mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: RUU
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
There is one very weird thing - my version-main is somehow blank... But under About > Software Information > More > Build number, I can see mine is "6.13.708.1 CL368747 release-keys", which I guess the rom I downloaded should be correct? (The baseband version is matching too.) So I've proceeded to flash the rom after I relocked the bootloader and flashed the stock recovery, but I'm getting error messages as follows:
>fastboot flash zip rom.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 485398445 is not a multiple of t
he block size 4096
sending sparse 'zip' 1/2 (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 485398445 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 485398445 is not a multiple of t
he block size 4096
OKAY [121.701s]
writing 'zip' 1/2...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 275.215s
At first I thought might be the rom is corrupted, so I redownloaded it from another source, but it is still giving me the exact same error. I start to think could it be something to do with my missing version-main, thus the signature check is failing. Up to this point I'm kinda stuck and don't really know how should I proceed further.
Could you please shed some lights on the issue I'm experiencing? Thanks in advance for your help!
You need htc_fastboot.exe and flash it from RUU mode not from fastboot(fastboot oem rebootRUU).
lucyr03 said:
You need htc_fastboot.exe and flash it from RUU mode not from fastboot(fastboot oem rebootRUU).
Click to expand...
Click to collapse
Thanks a lot for your advices. Before I run "fastboot flash zip rom.zip", I've already entered RUU mode with "fastboot oem rebootRUU".
With regards to htc_fastboot.exe, are you referring to the one that is given by HTC Dev to unlock the bootloader? If so, I experienced below error when I tried to flash the rom:
load_file: could not allocate 1999574957 bytes
error: cannot load 'rom.zip'
So I ended up using the original fastboot in the Android SDK Platform-Tools which resulted in the "12 signature verify fail" error...
cliphone01 said:
Thanks a lot for your advices. Before I run "fastboot flash zip rom.zip", I've already entered RUU mode with "fastboot oem rebootRUU".
With regards to htc_fastboot.exe, are you referring to the one that is given by HTC Dev to unlock the bootloader? If so, I experienced below error when I tried to flash the rom:
load_file: could not allocate 1999574957 bytes
error: cannot load 'rom.zip'
So I ended up using the original fastboot in the Android SDK Platform-Tools which resulted in the "12 signature verify fail" error...
Click to expand...
Click to collapse
Try that one: https://androidfilehost.com/?fid=95916177934550031

Categories

Resources