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

[IMP][ZU_GPe][How-To] Restore to original Google Play Edition firmware!

OP DooMLoRD

2nd August 2014, 08:51 PM   |  #61  
Member
Thanks Meter: 9
 
33 posts
Join Date:Joined: Sep 2011
Quote:
Originally Posted by egzthunder1

You need to be on custom recovery and you need to make sure that the ROM file's updater script says that it is for the model that the recovery states it is.

You want me to put the hammer down?

Yeah I have a custom recovery.

How does one change the rom file's updater script?

I was able to open the updater-script but not sure exactly what to change.
The Following User Says Thank You to geeyoupee For This Useful Post: [ View ]
2nd August 2014, 08:54 PM   |  #62  
egzthunder1's Avatar
Member Advocate Admin - Spirit of XDA
Flag At The Good End Of My Hammer, Likes: My Family & XDA, Dislikes: Incompetence
Thanks Meter: 5,146
 
18,630 posts
Join Date:Joined: Jul 2005
More
Quote:
Originally Posted by geeyoupee


Yeah I have a custom recovery.

How does one change the rom file's updater script?

I was able to open the updater-script but not sure exactly what to change.

It isn't as much as you needing to change it. I guess I should have started with a question... What kind of error are you seeing when you try to flash stock?

You want me to put the hammer down?
2nd August 2014, 09:25 PM   |  #63  
Member
Thanks Meter: 9
 
33 posts
Join Date:Joined: Sep 2011
Quote:
Originally Posted by egzthunder1

It isn't as much as you needing to change it. I guess I should have started with a question... What kind of error are you seeing when you try to flash stock?

You want me to put the hammer down?

I copied the error from a previous post. Not sure about the dates but the error is the same.

"Can't install this package (Tue Dec 10 14:17:53 CET 2013) over newer build (Mon May 12 11:10:10 CEST 2014)"
The Following User Says Thank You to geeyoupee For This Useful Post: [ View ]
2nd August 2014, 11:16 PM   |  #64  
blueether's Avatar
Senior Member
Flag Te Awamutu, New Zealand
Thanks Meter: 1,373
 
2,998 posts
Join Date:Joined: Jan 2011
Donate to Me
More
Quote:
Originally Posted by geeyoupee

I copied the error from a previous post. Not sure about the dates but the error is the same.

"Can't install this package (Tue Dec 10 14:17:53 CET 2013) over newer build (Mon May 12 11:10:10 CEST 2014)"

There is a thread in either Q&A or General that has the steps need to be done to get the Google 4.4.2 zip to flash from a custom recovery

Boils down to having to remove the top line or two that do the checks on the date, and maybe the line that checks the model. Don't extract the zip, use 7zip or the like to edit it, and I think all line endings have to be unix (shouldn't be a problem if you are just deleting lines)
3rd August 2014, 02:15 AM   |  #65  
Member
Thanks Meter: 9
 
33 posts
Join Date:Joined: Sep 2011
Quote:
Originally Posted by blueether

There is a thread in either Q&A or General that has the steps need to be done to get the Google 4.4.2 zip to flash from a custom recovery

Boils down to having to remove the top line or two that do the checks on the date, and maybe the line that checks the model. Don't extract the zip, use 7zip or the like to edit it, and I think all line endings have to be unix (shouldn't be a problem if you are just deleting lines)

Awesome It was buried but I was able to find it.

Had to make one change through. Changed C6806 to togari_gpe.

I copied and posted below in case someone needs it.


From user prohan:
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
Quote:
Originally Posted by coastalmikey

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.

Last edited by geeyoupee; 3rd August 2014 at 02:18 AM.
The Following 2 Users Say Thank You to geeyoupee For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes