Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP Hadi Yazdi

9th July 2014, 04:21 AM   |  #1  
OP Member
Flag Baghdad
Thanks Meter: 7
 
38 posts
Join Date:Joined: Sep 2010
More
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?
9th July 2014, 05:28 AM   |  #2  
Seanie280672's Avatar
Senior Member
Flag Halesowen
Thanks Meter: 349
 
1,180 posts
Join Date:Joined: Feb 2012
Donate to Me
More
Quote:
Originally Posted by Hadi Yazdi

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.
9th July 2014, 02:24 PM   |  #3  
OP Member
Flag Baghdad
Thanks Meter: 7
 
38 posts
Join Date:Joined: Sep 2010
More
Quote:
Originally Posted by Seanie280672

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
Last edited by Hadi Yazdi; 10th July 2014 at 02:18 AM.
9th July 2014, 04:14 PM   |  #4  
alray's Avatar
Senior Member
Flag Montreal, Quebec
Thanks Meter: 1,396
 
3,604 posts
Join Date:Joined: May 2012
Donate to Me
More
Quote:
Originally Posted by Hadi Yazdi

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
The Following User Says Thank You to alray For This Useful Post: [ View ]
9th July 2014, 05:25 PM   |  #5  
Junior Member
Thanks Meter: 0
 
28 posts
Join Date:Joined: Oct 2011
More
Quote:
Originally Posted by alray

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.
9th July 2014, 05:28 PM   |  #6  
alray's Avatar
Senior Member
Flag Montreal, Quebec
Thanks Meter: 1,396
 
3,604 posts
Join Date:Joined: May 2012
Donate to Me
More
Quote:
Originally Posted by brazilianoob

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).
10th July 2014, 02:26 AM   |  #7  
OP Member
Flag Baghdad
Thanks Meter: 7
 
38 posts
Join Date:Joined: Sep 2010
More
Quote:
Originally Posted by alray

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/
Last edited by Hadi Yazdi; 10th July 2014 at 02:41 AM.
10th July 2014, 04:49 PM   |  #8  
alray's Avatar
Senior Member
Flag Montreal, Quebec
Thanks Meter: 1,396
 
3,604 posts
Join Date:Joined: May 2012
Donate to Me
More
Quote:
Originally Posted by Hadi Yazdi

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.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes