RUU restore to stock failed with error 155

Search This thread

mangojaijai

Member
Dec 11, 2013
14
0
i want to convert this htc one into developer edition
but when i run the ruu from windows 7 it failed with 155 error, i think is because my hboot is higher than the RUU thats why it wont flash
please advise thanks

here is my htc one info
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.56.0000
(bootloader) version-baseband: 4A.22.3263.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.19.401.8
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: removed
(bootloader) imei: removed
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 3835mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-bee46337
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.076s
 

alray

Inactive Recognized Contributor
May 22, 2012
8,932
3,593
i want to convert this htc one into developer edition
but when i run the ruu from windows 7 it failed with 155 error, i think is because my hboot is higher than the RUU thats why it wont flash
please advise thanks

here is my htc one info
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.56.0000
(bootloader) version-baseband: 4A.22.3263.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.19.401.8
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: removed
(bootloader) imei: removed
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 3835mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-bee46337
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.076s

download this file and save it to your adb/fastboot folder
boot phone in bootloader --> fastboot mode

Code:
fastboot oem writecid BS_US001
fastboot reboot-bootloader
make sure you are in fastboot usb again then:
Code:
fastboot oem rebootRUU
fastboot flash zip 1.29.401.12_hboot_1.44.zip
fastboot flash zip 1.29.401.12_hboot_1.44.zip
fastboot reboot-bootloader

then lunch you dev edition ruu.exe
 
Last edited:

mangojaijai

Member
Dec 11, 2013
14
0
download this file and save it to your adb/fastboot folder
boot phone in bootloader --> fastboot mode

Code:
fastboot oem writecid BS_US001
fastboot reboot-bootloader
make sure you are in fastboot usb again then:
Code:
fastboot oem rebootRUU
fastboot flash zip 1.29.401.12_hboot_1.44.zip
fastboot flash zip 1.29.401.12_hboot_1.44.zip
fastboot reboot-bootloader

then lunch you dev edition ruu.exe

thank you , i have successfully convert it into developer edition.
one more question,
currently i system version is 3.22.1540.1
with android version 4.3 sense 5.0
does the OTA update will update my system to 4.42? thanks
 

alray

Inactive Recognized Contributor
May 22, 2012
8,932
3,593
thank you , i have successfully convert it into developer edition.
one more question,
currently i system version is 3.22.1540.1
with android version 4.3 sense 5.0
does the OTA update will update my system to 4.42? thanks

4.4 with version 4.06.1540.2 then you will receive another ota to 4.06.1540.3

No 4.4.2 atm AFAIK. Probably soon
 

alray

Inactive Recognized Contributor
May 22, 2012
8,932
3,593
ok.
i just flash a TWRP recovery into my HTC one developer edition
, my question is with the TWRP recovery, will i able to get OTA update ? thanks

No! you need stock recovery for ota. you'll get prompted when the ota will be available and you'll be able to download it but it will fail the installation.
 

mangojaijai

Member
Dec 11, 2013
14
0
No! you need stock recovery for ota. you'll get prompted when the ota will be available and you'll be able to download it but it will fail the installation.

i see, so how can i reflash back to stock recovery ? where can i find the stock recovery for my developer edition rom
do i need to run the RUU again ? this is cause all my applications loose again . which is i dont want to
any other way just flash the stock recovery ? thanks
 

alray

Inactive Recognized Contributor
May 22, 2012
8,932
3,593
i see, so how can i reflash back to stock recovery ? where can i find the stock recovery for my developer edition rom
do i need to run the RUU again ? this is cause all my applications loose again . which is i dont want to
any other way just flash the stock recovery ? thanks

post an updated ''fastboot getvar all'' without imei/sn, i'm on dev edition too so I can send you to correct recovery
 

mangojaijai

Member
Dec 11, 2013
14
0
post an updated ''fastboot getvar all'' without imei/sn, i'm on dev edition too so I can send you to correct recovery
here is it, i am new to android , seems like i have a lots to learn.

(bootloader) version: 0.5
(bootloader) version-bootloader: 1.56.0000
(bootloader) version-baseband: 4A.22.3263.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.06.1540.3
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: Removed
(bootloader) imei: Removed
(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: 4299mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-bee46337
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.071s
 

alray

Inactive Recognized Contributor
May 22, 2012
8,932
3,593
here is it, i am new to android , seems like i have a lots to learn.

(bootloader) version: 0.5
(bootloader) version-bootloader: 1.56.0000
(bootloader) version-baseband: 4A.22.3263.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.06.1540.3
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: Removed
(bootloader) imei: Removed
(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: 4299mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-bee46337
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.071s

https://dl.dropboxusercontent.com/u/77459918/recovery.img

flash like a custom recovery:

Code:
fastboot flash recovery recovery.img
fastboot reboot-bootloader


---------- Post added at 04:44 PM ---------- Previous post was at 04:42 PM ----------

here is it, i am new to android , seems like i have a lots to learn.

(bootloader) version: 0.5
(bootloader) version-bootloader: 1.56.0000
(bootloader) version-baseband: 4A.22.3263.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.06.1540.3
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: Removed
(bootloader) imei: Removed
(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: 4299mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-bee46337
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.071s

btw you are on latest dev edition version. So you don't need to change recovery now, you can wait when you be prompted there is an update avail.
 

mangojaijai

Member
Dec 11, 2013
14
0
https://dl.dropboxusercontent.com/u/77459918/recovery.img

flash like a custom recovery:

Code:
fastboot flash recovery recovery.img
fastboot reboot-bootloader


---------- Post added at 04:44 PM ---------- Previous post was at 04:42 PM ----------



btw you are on latest dev edition version. So you don't need to change recovery now, you can wait when you be prompted there is an update avail.

great ,,, it seems like my device is not rooted , by any chance you could show me how to root it ? what files i need for it to be root ? thank you
 

alray

Inactive Recognized Contributor
May 22, 2012
8,932
3,593
great ,,, it seems like my device is not rooted , by any chance you could show me how to root it ? what files i need for it to be root ? thank you

if you want to root you just need to flash twrp 2.6.3.3 custom recovery. Enter recovery then exit, you'll be prompted to root your phone. After install SuperSu apk ok Superuser. Btw you'll probably loose root when you'll update the phone ota.
 

mangojaijai

Member
Dec 11, 2013
14
0
if you want to root you just need to flash twrp 2.6.3.3 custom recovery. Enter recovery then exit, you'll be prompted to root your phone. After install SuperSu apk ok Superuser. Btw you'll probably loose root when you'll update the phone ota.

ok, if i rooted the phone will i still able to do ota update ? or the ota update has to be stock rom to update?
 

alray

Inactive Recognized Contributor
May 22, 2012
8,932
3,593
ok, if i rooted the phone will i still able to do ota update ? or the ota update has to be stock rom to update?

It should update with root but you'll probably loose root access after any OTA. You then will need to root again. I converted my phone like you with the 3.22.1540.1 ruu and rooted it with twrp recovery. Then I flashed back stock recovery and I had no issue updating ota twice (4.06.1540.2 then 4.06.1540.3) even if I had root. But I lost root privileges and needed to root again.
 

SaHiLzZ

Senior Member
Jan 19, 2011
2,000
516
Also restore stock recovery otherwise may screw up on OTA

sent from my mobile device
 

alray

Inactive Recognized Contributor
May 22, 2012
8,932
3,593
ok, if i rooted the phone will i still able to do ota update ? or the ota update has to be stock rom to update?

Also restore stock recovery otherwise may screw up on OTA

sent from my mobile device

No! you need stock recovery for ota. you'll get prompted when the ota will be available and you'll be able to download it but it will fail the installation.

Yes always make sure you have stock recovery before each ota.
 

alray

Inactive Recognized Contributor
May 22, 2012
8,932
3,593
What about after flashed the recovery . Then issue a fastboot erase cache command? Will it reset everything and delete the sd contents?

ok first you need to understand some basics:

/system partition is where your OS is stored
/data partition is where your user data are stored
/recovery partition is the alternative boot partition to access recovery console (stock or custom recovery like cwm or twrp)
/cache partition is where the OS store frequently accessed data from app
/sdcard is where you store your personal files like music, docs, pictures etc...

when you flash recovery it only affect /recovery partition
when you erase cache it only erase /cache partition, not /data not /system and not /sdcard. So no user data or personal files will be wiped

data wiped from /cache will be automatically reloaded as you continue using the device.

and FYI when you perform a factory reset, this wipe /data

Hope its clear for you now.
 
Last edited: