Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,780,303 Members 42,591 Now Online
XDA Developers Android and Mobile Development Forum

[Q] HTC One update with root and stock recovery fails

Tip us?
 
Hadi Yazdi
Old
#1  
Member - OP
Thanks Meter 7
Posts: 38
Join Date: Sep 2010
Location: Baghdad
Default [Q] HTC One update with root and stock recovery fails

I have htc one (M7) GSM version, unlocked the bootloader, installed twrp recovery and rooted the device (still S-ON)

Now I received a new OTA update, and as usual, i flashed the stock recovery to install the update

However, this time, when trying to install the update, the device reboots, starts installing (with a green triangle) and half way stops and the screen shows a red triangle...

Any idea why does it fail?
 
Seanie280672
Old
#2  
Seanie280672's Avatar
Senior Member
Thanks Meter 342
Posts: 1,162
Join Date: Feb 2012
Location: Halesowen

 
DONATE TO ME
Quote:
Originally Posted by Hadi Yazdi View Post
I have htc one (M7) GSM version, unlocked the bootloader, installed twrp recovery and rooted the device (still S-ON)

Now I received a new OTA update, and as usual, i flashed the stock recovery to install the update

However, this time, when trying to install the update, the device reboots, starts installing (with a green triangle) and half way stops and the screen shows a red triangle...

Any idea why does it fail?
can you post your fastboot getvar all please, without imei and serial number

the reason it fails is because a folder called data/preload is missing.
 
Hadi Yazdi
Old
(Last edited by Hadi Yazdi; 10th July 2014 at 01:18 AM.)
#3  
Member - OP
Thanks Meter 7
Posts: 38
Join Date: Sep 2010
Location: Baghdad
Quote:
Originally Posted by Seanie280672 View Post
can you post your fastboot getvar all please, without imei and serial number

the reason it fails is because a folder called data/preload is missing.
version: 0.5
version-bootloader: 1.56.0000
version-baseband: 4A.23.3263.28
version-cpld: None
version-microp: None
version-main: 4.20.707.6
version-misc: PVT SHIP S-ON

meid: 00000000000000
product: m7_ul
platform: HBOOT-8064
modelid: PN0714000
cidnum: HTC__044
battery-status: good
battery-voltage: 4160mV
partition-layout: Generic
security: on
build-mode: SHIP
boot-mode: FASTBOOT
commitno-bootloader: dirty-59adc32b
hbootpreupdate: 11
gencheckpt: 0
 
alray
Old
#4  
alray's Avatar
Senior Member
Thanks Meter 1,049
Posts: 2,710
Join Date: May 2012
Location: Montreal

 
DONATE TO ME
Quote:
Originally Posted by Hadi Yazdi View Post
version: 0.5
version-bootloader: 1.56.0000
version-baseband: 4A.23.3263.28
version-cpld: None
version-microp: None
version-main: 4.20.707.6
version-misc: PVT SHIP S-ON
serialno: remove!!
imei: remove!!
meid: 00000000000000
product: m7_ul
platform: HBOOT-8064
modelid: PN0714000
cidnum: HTC__044
battery-status: good
battery-voltage: 4160mV
partition-layout: Generic
security: on
build-mode: SHIP
boot-mode: FASTBOOT
commitno-bootloader: dirty-59adc32b
hbootpreupdate: 11
gencheckpt: 0
dont post IMEI and SERIALNO

http://forum.xda-developers.com/show...76&postcount=9
http://forum.xda-developers.com/show...5&postcount=23

read both links above and find which assert is failing, then you'll know wich file(s) is(are) causing the ota installation to fail
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
The Following User Says Thank You to alray For This Useful Post: [ Click to Expand ]
 
brazilianoob
Old
#5  
Junior Member
Thanks Meter 0
Posts: 27
Join Date: Oct 2011
Quote:
Originally Posted by alray View Post
dont post IMEI and SERIALNO

http://forum.xda-developers.com/show...76&postcount=9
http://forum.xda-developers.com/show...5&postcount=23

read both links above and find which assert is failing, then you'll know wich file(s) is(are) causing the ota installation to fail
Hadi,
did you figure out how to solve this? I'm having the same problem with my phone.
Thx.
 
alray
Old
#6  
alray's Avatar
Senior Member
Thanks Meter 1,049
Posts: 2,710
Join Date: May 2012
Location: Montreal

 
DONATE TO ME
Quote:
Originally Posted by brazilianoob View Post
Hadi,
did you figure out how to solve this? I'm having the same problem with my phone.
Thx.
same thing mate, read both links above, find which assert(s) is(are) failing and then replace the missing file(s).
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
 
Hadi Yazdi
Old
(Last edited by Hadi Yazdi; 10th July 2014 at 01:41 AM.)
#7  
Member - OP
Thanks Meter 7
Posts: 38
Join Date: Sep 2010
Location: Baghdad
Quote:
Originally Posted by alray View Post
dont post IMEI and SERIALNO

http://forum.xda-developers.com/show...76&postcount=9
http://forum.xda-developers.com/show...5&postcount=23

read both links above and find which assert is failing, then you'll know wich file(s) is(are) causing the ota installation to fail
The second link helps finding which assert is failing

In my case, I get "Check /data/preload/SoundHound_Freemium.apk failed, error No such file or directory()"

I have never deleted a system app before... i guess i have to find a way to flash it or something...

Thanks

EDIT: the packaged app "SoundHound" version 6.1.2 is there, and is enabled... I don't understand why the update fails

EDIT2: I can't find the folder /data/preload at all... it seems this folder is deleted after unlocking the bootloader

EDIT3: It looks like we should have backed up these apps before unlocking the bootloader... now I guess we have to extract them from the update package and copy them manually

EDIT4: this is an old post that sums it up in a nice way... yet, without a solution for those who didn't take notice
http://www.modaco.com/topic/361417-h...loader-beware/
 
alray
Old
#8  
alray's Avatar
Senior Member
Thanks Meter 1,049
Posts: 2,710
Join Date: May 2012
Location: Montreal

 
DONATE TO ME
Quote:
Originally Posted by Hadi Yazdi View Post
I have never deleted a system app before...
You did when unlocking the bootloader. Unlocking bootloader wipe /data so it also wipe /data/preload and all files in that folder. You must restore all files for the ota to install.
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


[OTA] Nvidia Shield Tablet Receives its First Update

The Nvidia Shield Tabletis the latest toy from one of the largest desktop graphics … more

Quick Control Panel Updated, Adds Notification Support

As some of you may remember, earlier this year we spoke about Quick Control Panel by … more

Narrate Makes Note Taking Efficient and Beautiful

Technology has put life on the fast track. Whether its travelling to multiple places or … more

Android App Review: How to Speed Up Your Android Phone – XDA Developer TV

Is your Android device running slow? Is your Android device … more