FORUMS
Remove All Ads from XDA
H10 GPU

[Q] Z Ultra GPE back to stock 4.4.2

75 posts
Thanks Meter: 4
 
By ddslee, Member on 21st June 2014, 11:35 PM
Post Reply Email Thread
24th June 2014, 06:25 PM |#91  
Senior Member
Thanks Meter: 765
 
More
Quote:
Originally Posted by ddslee

It is so frustrating trying to piece together a working solution for going back to stock 4.4.2 on my Z Ultra Google Play Edition (not a converted Xperia Z Ultra). @texaspledge, I would really appreciate it it you could comment a little more and help me out as it appears you are the only person who had successfully downgraded to 4.4.2 from 4.4.3 on ZU GPE without using a nandroid backup.

Please check if the following steps are correct.

1. Get a hold of 4.4.2 OTA file
2. Using 7-zip and notepad++, delete the first two lines of the code (version check and device check) from installer script
3. Copy the edited file onto an external sd card
4. Boot into CWM recovery and flash from SD with signature check disabled
5. My device gets magically transformed into 4.4.2 with stock firmware and stock recovery with a fully functioning camera

@blueether, thanks for the upload but It looks like your updater script is not an edited one.
@adfurgerson, do you think this will work?
@DooMLoRD, could you please help out this noob please?

I would delete first line and edit the "c6806" to "togari" both places in second line. When I deleted first line I got error for device, when I deleted both lines I got status 4 error. I only tried side loading from adb through cwm, flashing it from SD may work.
 
 
24th June 2014, 07:22 PM |#92  
blueether's Avatar
Senior Member
Flag Te Awamutu, New Zealand
Thanks Meter: 1,641
 
Donate to Me
More
Quote:
Originally Posted by ddslee

@blueether, Thanks for the upload. Just a couple of questions.

1. I have unzipped and viewed the updater script file and it looks like this is an UNEDITED version. Still has the version and device checks in them.

(!less_than_int(1386681473, getprop("ro.build.date.utc"))) || abort("Can't install this package (Tue Dec 10 14:17:53 CET 2013) over newer build (" + getprop("ro.build.date") + ").");
getprop("ro.product.device") == "C6806" || abort("This package is for \"C6806\" devices; this is a \"" + getprop("ro.product.device") + "\".");


2. What did you mean by "Still has the patch (that I think will fail" ? Do you mean patch to fix broken camera?

Thanks. I will wait for your response.

Would you believe I forgot to save

No the patch for the bootloader from 4.3(?) to 4.4.2

If you try and edit the updater script again make syre that it is save in unix format
24th June 2014, 07:32 PM |#93  
Junior Member
Thanks Meter: 2
 
More
I'm looking to go back to 4.4.2 also - I think the easiest thing would be if we could get someone's 4.4.2 system dump
24th June 2014, 07:39 PM |#94  
OP Member
Thanks Meter: 4
 
More
There is a 4.4.2 system dump in one of the threads. I just don't know what to do with it.
I wish somebody would upload a signed 4.4.2 OTA zip for ZU GPE with version check and device check edited.
I am surea lot of people would benefit from the file in case you have to send the device in for warranty repairs, for example.
24th June 2014, 07:41 PM |#95  
OP Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by blueether

Would you believe I forgot to save

No the patch for the bootloader from 4.3(?) to 4.4.2

If you try and edit the updater script again make syre that it is save in unix format

@blueether, will this work?


1. Get a hold of 4.4.2 OTA file
2. Using 7-zip and notepad++, delete the first two lines of the code (version check and device check) from installer script
3. Copy the edited file onto an external sd card
4. Boot into CWM recovery and flash from SD with signature check disabled
5. My device gets magically transformed into 4.4.2 with stock firmware and stock recovery with a fully functioning camera
24th June 2014, 08:05 PM |#96  
Junior Member
Thanks Meter: 2
 
More
So I believe all you should have to do is:

1. Unzip the 4.4.2 dump
2. Boot your phone into the bootloader
3. Flash with fastboot:
fastboot flash system system.img
That should work - I'm waiting to download the dump now from http://forum.xda-developers.com/show....php?t=2570197 but it's taking a while.

Hopefully someone else can verify that won't totally mess your system.
24th June 2014, 09:26 PM |#97  
OP Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by prohan

So I believe all you should have to do is:

1. Unzip the 4.4.2 dump
2. Boot your phone into the bootloader
3. Flash with fastboot:

fastboot flash system system.img
That should work - I'm waiting to download the dump now from http://forum.xda-developers.com/show....php?t=2570197 but it's taking a while.

Hopefully someone else can verify that won't totally mess your system.

Any success???
24th June 2014, 10:22 PM |#98  
Junior Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by ddslee

Any success???

Ok it didn't work and I restored from nandroid. Probably because I didn't flash a 4.4.2 kernel too. What did work was editing the 4.4.2 OTA.zip version check and then flashing the zip.

So:

1. Download 4.4.2 OTA zip from http://forum.xda-developers.com/show....php?t=2574264
2. Open the ZIP with 7zip (don't extract)
3. Edit META-INF\com\google\android
4. Remove the first two lines (they have 'C6806') in them and save.
5. Then flash the 4.4.2 OTA zip - I did it over ADB but SDCARD should work too.

Now the camera works again!
The Following User Says Thank You to prohan For This Useful Post: [ View ] Gift prohan Ad-Free
25th June 2014, 02:32 AM |#99  
OP Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by prohan

Ok it didn't work and I restored from nandroid. Probably because I didn't flash a 4.4.2 kernel too. What did work was editing the 4.4.2 OTA.zip version check and then flashing the zip.

So:

1. Download 4.4.2 OTA zip from http://forum.xda-developers.com/show....php?t=2574264
2. Open the ZIP with 7zip (don't extract)
3. Edit META-INF\com\google\android
4. Remove the first two lines (they have 'C6806') in them and save.
5. Then flash the 4.4.2 OTA zip - I did it over ADB but SDCARD should work too.

Now the camera works again!

Man, you are my hero!
I have done up to step 4.
About step 5, can you tell me exactly what you did?
What are the adb commands? How do you bypass the signature check?
Is your device GPE or Xperia ?
Thank you!!!
25th June 2014, 02:54 AM |#100  
coastalmikey's Avatar
Member
Flag Hilton Head Island, SC
Thanks Meter: 22
 
More
Quote:
Originally Posted by ddslee

Man, you are my hero!
I have done up to step 4.
About step 5, can you tell me exactly what you did?
What are the adb commands? How do you bypass the signature check?
Is your device GPE or Xperia ?
Thank you!!!

Step 4 I deleted the version check (!less_than_int(1386681473, getprop("ro.build.date.utc"))) || abort("Can't install this package (Tue Dec 10 14:17:53 CET 2013) over newer build (" + getprop("ro.build.date") + ").");

and changed C6806 to togari
getprop("ro.product.device") == "C6806" || abort("This package is for \"C6806\" devices; this is a \"" + getprop("ro.product.device") + "\".");

Then I simply flashed the modified OTA zip with CWM followed by Superuser. Reboot to bootloader and flash Advance Stock Kernel to regain custom recovery.

Now I am back to 4.4.2 with a working camera and the erratic external SD writes.
25th June 2014, 02:55 AM |#101  
Junior Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by ddslee

Man, you are my hero!
I have done up to step 4.
About step 5, can you tell me exactly what you did?
What are the adb commands? How do you bypass the signature check?
Is your device GPE or Xperia ?
Thank you!!!

I booted into CWM and went to install from zip then from adb. There you can turn off signature verification.

Here's the command:
adb devices
adb sideload 4.4.2.zip
I have a GPE.
The Following User Says Thank You to prohan For This Useful Post: [ View ] Gift prohan Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes