Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,740,412 Members 45,444 Now Online
XDA Developers Android and Mobile Development Forum

RUU restore to stock failed with error 155

Tip us?
 
mangojaijai
Old
#11  
Junior Member - OP
Thanks Meter 0
Posts: 14
Join Date: Dec 2013
Quote:
Originally Posted by alray View Post
https://dl.dropboxusercontent.com/u/...8/recovery.img

flash like a custom recovery:

Code:
Select 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
Old
#12  
alray's Avatar
Senior Member
Thanks Meter 942
Posts: 2,423
Join Date: May 2012
Location: Montreal

 
DONATE TO ME
Quote:
Originally Posted by mangojaijai View Post
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.
If I've helped you, please hit the ''tanks'' button
If you want a reply, quote or mention me using @alray

Useful links for the HTC One:
nkk71's SuperGUIDE to returning 100% back to stock
Flashing requirements chart by nkk71
HTC1Guru.com by crushalot
 
mangojaijai
Old
#13  
Junior Member - OP
Thanks Meter 0
Posts: 14
Join Date: Dec 2013
Quote:
Originally Posted by alray View Post
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
Old
#14  
alray's Avatar
Senior Member
Thanks Meter 942
Posts: 2,423
Join Date: May 2012
Location: Montreal

 
DONATE TO ME
Quote:
Originally Posted by mangojaijai View Post
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.
If I've helped you, please hit the ''tanks'' button
If you want a reply, quote or mention me using @alray

Useful links for the HTC One:
nkk71's SuperGUIDE to returning 100% back to stock
Flashing requirements chart by nkk71
HTC1Guru.com by crushalot
 
SaHiLzZ
Old
#15  
Senior Member
Thanks Meter 396
Posts: 1,667
Join Date: Jan 2011
Also restore stock recovery otherwise may screw up on OTA

sent from my mobile device
 
alray
Old
#16  
alray's Avatar
Senior Member
Thanks Meter 942
Posts: 2,423
Join Date: May 2012
Location: Montreal

 
DONATE TO ME
Quote:
Originally Posted by mangojaijai View Post
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?
Quote:
Originally Posted by SaHiLzZ View Post
Also restore stock recovery otherwise may screw up on OTA

sent from my mobile device
Quote:
Originally Posted by alray View Post
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.
If I've helped you, please hit the ''tanks'' button
If you want a reply, quote or mention me using @alray

Useful links for the HTC One:
nkk71's SuperGUIDE to returning 100% back to stock
Flashing requirements chart by nkk71
HTC1Guru.com by crushalot
 
mangojaijai
Old
#17  
Junior Member - OP
Thanks Meter 0
Posts: 14
Join Date: Dec 2013
Quote:
Originally Posted by alray View Post
Yes always make sure you have stock recovery before each ota.

flashing the stock will erase sd storage? and resetting the phone ? or all data will not be erase ? thanks
 
alray
Old
#18  
alray's Avatar
Senior Member
Thanks Meter 942
Posts: 2,423
Join Date: May 2012
Location: Montreal

 
DONATE TO ME
Quote:
Originally Posted by mangojaijai View Post
flashing the stock will erase sd storage? and resetting the phone ? or all data will not be erase ? thanks
flashing the recovery partition will not reset or erase data.
If I've helped you, please hit the ''tanks'' button
If you want a reply, quote or mention me using @alray

Useful links for the HTC One:
nkk71's SuperGUIDE to returning 100% back to stock
Flashing requirements chart by nkk71
HTC1Guru.com by crushalot
 
mangojaijai
Old
#19  
Junior Member - OP
Thanks Meter 0
Posts: 14
Join Date: Dec 2013
Quote:
Originally Posted by alray View Post
flashing the recovery partition will not reset or erase data.
What about after flashed the recovery . Then issue a fastboot erase cache command? Will it reset everything and delete the sd contents?
 
alray
Old
(Last edited by alray; 11th February 2014 at 02:01 AM.)
#20  
alray's Avatar
Senior Member
Thanks Meter 942
Posts: 2,423
Join Date: May 2012
Location: Montreal

 
DONATE TO ME
Quote:
Originally Posted by mangojaijai View Post
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.
If I've helped you, please hit the ''tanks'' button
If you want a reply, quote or mention me using @alray

Useful links for the HTC One:
nkk71's SuperGUIDE to returning 100% back to stock
Flashing requirements chart by nkk71
HTC1Guru.com by crushalot

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...