Username:    Password:    Remember me     
Forums
Padfone Club :: Forums :: Padfone Forums :: Padfone Development
 
<< Previous thread | Next thread >>
Method to flash an official rom on a custom recovery
Moderators: Marc Schattorie, ctys2ard, oroo708, JHS_NL, RaithK, allram, Frits
Author Post
zozotintin
Tue Apr 23 2013, 01:40PM
{ASUS_EMPLOYEE}
Registered Member #1152
Joined: Sun Feb 24 2013, 03:49AM
Posts: 10
Thanked 9 time in 3 post
As our remarkable member Dees_Troy previously said, you can not flash an official rom on a custom recovery. However, with a little tweak, we can still do it.
Step1: Unzip the official rom zip.
Step2: Open META-INF/com/google/android/updater.script.
Step3: Delete the first line says "assert......Padfone......Padfone......".
Step4: Zip all the files and enjoy flashing it to update your phone!
Note: You should multiselect META-INF/ , system/, recovery/...... and zip them instead of zipping the folder that contains them.
Back to top
7 User said Thanks to zozotintin for this post :
 SparkyRih (23 Apr : 13:56) , ctys2ard (23 Apr : 14:20) , FabioAlex87 (23 Apr : 14:24) , Kostas (23 Apr : 14:33) , sserio82 (23 Apr : 16:52) , eddie_f (07 May : 23:43) , casiocas (20 Jun : 14:57)
SparkyRih
Tue Apr 23 2013, 01:57PM
{ASUS_EMPLOYEE}
Registered Member #2
Joined: Sun Jun 17 2012, 02:09PM
Location: Roermond
Posts: 1498
Thanked 191 time in 161 post
Didn't know that it was not possible to flash an official ROM (without this trick)... So thanks for sharing
Back to top
Bennz
Sat May 18 2013, 02:18PM
{ASUS_EMPLOYEE}
Registered Member #1430
Joined: Fri Apr 19 2013, 01:30AM
Posts: 5
Thanked 3 time in 2 post
i wont work.

so thats the first 4 lines

assert(getprop("ro.product.device") == "PadFone" ||
getprop("ro.build.product") == "PadFone");
show_progress(0.500000, 0);
format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system");

what should i del? i try the first line, i try first and second. but i got every time an error.
Back to top
zozotintin
Sat May 18 2013, 05:51PM
{ASUS_EMPLOYEE}
Registered Member #1152
Joined: Sun Feb 24 2013, 03:49AM
Posts: 10
Thanked 9 time in 3 post
Bennz wrote ...

i wont work.

so thats the first 4 lines

assert(getprop("ro.product.device") == "PadFone" ||
getprop("ro.build.product") == "PadFone");
show_progress(0.500000, 0);
format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system");

what should i del? i try the first line, i try first and second. but i got every time an error.

My dear friend:
At first I want to inform you that there are only three lines in what you post, don't you notice that the first two lines have only one comma?
So just delete the first two lines as you mentioned, they are in fact the first line I had talked about before.
Hope this solves your problem.

Message was editted at 05:51PM:

To be more precisely, delete the line:
assert(getprop("ro.product.device") == "PadFone" ||
getprop("ro.build.product") == "PadFone");
Back to top
1 User said Thanks to zozotintin for this post :
 ptrcri (13 Aug : 21:12)
Bennz
Sat May 18 2013, 06:18PM
{ASUS_EMPLOYEE}
Registered Member #1430
Joined: Fri Apr 19 2013, 01:30AM
Posts: 5
Thanked 3 time in 2 post
Hi my Friend

i used Notepad++ so thats 2 lines for me xD
but i get an error every time when i flash the stock rom with and without

" assert(getprop("ro.product.device") == "PadFone" ||
getprop("ro.build.product") == "PadFone"); "

so i used now these line and it work very well (thanks SparkyRih for that)

" assert(getprop("ro.product.device") == "A66" ||
getprop("ro.build.product") == "PadFone"); "

Thanks for your help.
with friendly regards
Bennz

[ Edited Sat May 18 2013, 06:19PM ]
Back to top
casiocas
Sun Jun 16 2013, 10:45AM
{ASUS_EMPLOYEE}
Registered Member #1313
Joined: Tue Mar 26 2013, 08:04PM
Posts: 43
Thanked 0 time in 0 post
Bennz wrote ...

Hi my Friend

i used Notepad++ so thats 2 lines for me xD
but i get an error every time when i flash the stock rom with and without

" assert(getprop("ro.product.device") == "PadFone" ||
getprop("ro.build.product") == "PadFone"); "

so i used now these line and it work very well (thanks SparkyRih for that)

" assert(getprop("ro.product.device") == "A66" ||
getprop("ro.build.product") == "PadFone"); "

Thanks for your help.
with friendly regards
Bennz


Hey!

I tryed all these, with deleted lines, modified lines(like ``A66``) and with out modifieng anything, but its not working to me. I tryed to flash STOCK ROM in to my Padfone, but its not starting even the flash process.

EDIT 1: Dose it make diff. if I use WINRAR for opening and ZIPING? And what prog. to use if I edit the file?

EDIT 2: It sayes ``Error executing updater binary in zip `/external-sd/
Error flashing zip `/external-sd/.........
Even I FORMAT DATA; wiped factory settings several time!

EDIT 3: I managed to recover from Sparky`s rom recovery backup. Strange is that I dont manage to restore from 666dsa666 Rom recovery backup(Still I love 666dsa666 Rom). Even I wiped, formated and so on, I cant get back from 666dsa666 rom recovery backup(I was made that backup when the rom was working very well, strange).

Peace for all!!!


[ Edited Sun Jun 16 2013, 12:57PM ]
Back to top
casiocas
Thu Jun 20 2013, 02:39PM
{ASUS_EMPLOYEE}
Registered Member #1313
Joined: Tue Mar 26 2013, 08:04PM
Posts: 43
Thanked 0 time in 0 post
Hey!

Dose anyone can´t answer to question or dont want to answer my question
EDIT 1: Dose it make diff. if I use WINRAR for opening and ZIPING? And what prog. to use if I edit the file?


Peace for all!!!


[ Edited Thu Jun 20 2013, 02:58PM ]
Back to top
SparkyRih
Thu Jun 20 2013, 02:50PM
{ASUS_EMPLOYEE}
Registered Member #2
Joined: Sun Jun 17 2012, 02:09PM
Location: Roermond
Posts: 1498
Thanked 191 time in 161 post
I just use WinRAR to do a smaal quick tweak to a ROM...
Back to top
1 User said Thanks to SparkyRih for this post :
 casiocas (20 Jun : 14:58)
ptrcri
Tue Aug 13 2013, 09:17PM
{ASUS_EMPLOYEE}
Registered Member #2004
Joined: Tue Aug 13 2013, 08:35PM
Location: Naples
Posts: 2
Thanked 0 time in 0 post
I apply the procedure by zoozootintin and I flash the original rom but after the reboot the padfone halts with the message 'invalid kernel' !!
Someone can help me please?
Back to top
elmo
Tue Aug 13 2013, 10:56PM
{ASUS_EMPLOYEE}
Registered Member #449
Joined: Tue Nov 06 2012, 12:13AM
Location: pickhult
Posts: 73
Thanked 3 time in 3 post
ptrcri wrote ...

I apply the procedure by zoozootintin and I flash the original rom but after the reboot the padfone halts with the message 'invalid kernel' !!
Someone can help me please?


Usually "invalid kernel" means hard brick...
Back to top
1 User said Thanks to elmo for this post :
 ptrcri (13 Aug : 23:00)
ptrcri
Tue Aug 13 2013, 11:01PM
{ASUS_EMPLOYEE}
Registered Member #2004
Joined: Tue Aug 13 2013, 08:35PM
Location: Naples
Posts: 2
Thanked 0 time in 0 post
no way to resume?
Back to top
 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System
Padfone Club Newsletter


Poll


Should the Padfone series continue?



Yes, Asus should continue it

Yes, but a different company is ok as well

No, I don't care for it

Recent Articles
General
How To
How to Reset/Wipe your Padfone (1, 2 or Infinity)

Review of RAVPower RP-PB07 Battery Pack

New Padfone Infinity
How To
How to root the New Padfone Infinity
New Padfone Infinity Firmwares (Files and How to install)

Padfone Infinity
How To
How to root the Padfone Infinity
Padfone Infinity Firmwares (Files and How to install)

Applications
Asus Echo
Asus Menu & Shortcuts
Asus Camera

Reviews
Detailed Padfone Infinity Review

Padfone 2
How To
How to root the Padfone 2
Padfone 2 Firmwares (Files and How to install)

Reviews
Norêve case for the Padfone 2 (Review by allram)
Norêve case for the Padfone 2 (Review by JHS_NL)

Padfone
How To
How to root the Padfone
Automate actions on docking and undocking
Padfone Firmwares (Files and How to install)

Applications
Garmin for Padfone - Loading Maps
Padfone App Guide
Dynamic Display Switching

Reviews
Detailed Padfone owner review
Connecting Padfone to a TV
Screen protectors for Padfone

2012-2013 Copyright © Padfone Club, All rights reserved.
Privacy Policy - Terms of Use - Disclaimer - Contact Us - Advertise - Our Team - Sitemap - Asus

Padfone Club is part of Schattorie Solutions