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

[Q] ADB sideload with TWRP fails for 4.4.3 OTA (Nexus 7 LTE)

Tip us?
 
endlesstrail
Old
#1  
Senior Member - OP
Thanks Meter 9
Posts: 101
Join Date: Jun 2011
Location: Sydney
Question [Q] ADB sideload with TWRP fails for 4.4.3 OTA (Nexus 7 LTE)

Hi All,

My Nexus 7 LTE is rooted with TWRP.

I've downloaded the OTA for 4.4.3 from one of the posts in the forums. It updates my razorg from KOT49H to KTU84L.

After using adb sideload, the update zip file is transferred successfully to my device, but it fails with the error message

Code:
"/system/bin/surfaceflinger" has unexpected contents.
error excuting updater binary in zip '/data/media/0/sideload.zip
Does anyone have any idea what could be causing the update to fail?

I've already restored to a stock kernel (from franco kernel) as well as uninstalled xposed framework.

Thanks!
Present toys:
Nexus 4 [TWRP + PA 4.45]
Nexus 7 2013 LTE [Stock + rooted]

Past toys - HTC Desire Z [CM9], Sony Ericsson K810i, Sony Ericsson P800i, Nokia 6210, Nokia 6110
 
someolddude
Old
(Last edited by someolddude; 17th July 2014 at 12:47 AM.)
#2  
Junior Member
Thanks Meter 2
Posts: 10
Join Date: Oct 2013
Install stock recovery and take ota as normal. Then reinstall twrp and reroot.
If you fail update I have a backup I made with twrp you can use. Just need to extract it to your twrp backup folder and restore. It's 100% stock and was made after wiping data. Can't post a link to my Dropbox right now because of my post count but if you need it I an send it to you by other means.
 
endlesstrail
Old
#3  
Senior Member - OP
Thanks Meter 9
Posts: 101
Join Date: Jun 2011
Location: Sydney
Thanks for that. I think I might have to flash stock recovery and give it a shot, although I have a feeling even if I do that, it might not work as my tablet is no longer stock, since I've installed apps which made changes, such as FKU as well as CF-Lumen.
Present toys:
Nexus 4 [TWRP + PA 4.45]
Nexus 7 2013 LTE [Stock + rooted]

Past toys - HTC Desire Z [CM9], Sony Ericsson K810i, Sony Ericsson P800i, Nokia 6210, Nokia 6110
 
wantabe
Old
(Last edited by wantabe; 20th July 2014 at 03:47 AM.)
#4  
Senior Member
Thanks Meter 135
Posts: 373
Join Date: Mar 2011
Location: Colorado Springs
Quote:
Originally Posted by endlesstrail View Post
Thanks for that. I think I might have to flash stock recovery and give it a shot, although I have a feeling even if I do that, it might not work as my tablet is no longer stock, since I've installed apps which made changes, such as FKU as well as CF-Lumen.
To get the OTA to work with either a stock or custom recovery the unexpected contents error will have to be fixed first. Somehow the surfaceflinger file was changed, that's a new one for me so I have no idea what could have changed it. I could upload a copy of mine if you want to try it but I do have the wifi version and don't know if they are the same. Otherwise you will need to fastboot flash the system image for the version you are running now for the update to work. Instead of doing that I would download the 4.4.3 factory image and extract the radio, system, and boot images and fastboot flash those. The bootloader did not change so that does not need to be flashed. Before flashing the images I would download the newest supersu zip and put it in your device storage, then flash the images, once that is done do not reboot, boot into recovery instead and flash the supersu zip then wipe cache and dalvik then reboot. Should take less than 15 minutes. ; )

You could also flash the factory image but that will install the stock recovery, lose root and completely wipe your device. If you are using windows you can open the flash-all.bat with a text editor like notepad and remove the -w from the text, that will prevent the userdata image from being flashed which wipes your device.
"Don't confuse me with facts, I've already made up my mind!"

AT&T HTC One X - 4.2.2 CleanROM-odexed/Xposed/ElementalX
Nexus 5 32GB
Nexus 7 32GB (2013)
Nexus 4 8GB-Moved to Better Home!
Nexus 7 16GB-Moved to Better Home!.
Nexus 7 32GB-Moved to Better Home!
 
endlesstrail
Old
#5  
Senior Member - OP
Thanks Meter 9
Posts: 101
Join Date: Jun 2011
Location: Sydney
Thanks for your reply, wantabe.

I guessed as much, that if I couldn't figure out what changed the surfaceflinger, I might as well do a complete flash back to stock, which was what I did. Now it's just a matter of flashing back TWRP, restoring all the apps and waiting for 4.4.4
Present toys:
Nexus 4 [TWRP + PA 4.45]
Nexus 7 2013 LTE [Stock + rooted]

Past toys - HTC Desire Z [CM9], Sony Ericsson K810i, Sony Ericsson P800i, Nokia 6210, Nokia 6110
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes