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

Update.zip 2.0 Modifier/Creator [Script] Drag/Drop Support [Windows]

Tip us?
 
tnpapadakos
Old
#161  
tnpapadakos's Avatar
Senior Member
Thanks Meter 1,026
Posts: 2,876
Join Date: Dec 2009
Location: Tampa

 
DONATE TO ME
Quote:
Originally Posted by Daneshm90 View Post
Im confused a little, why do u have folders you want to push to these directories ? You should use metamorph for this task of replacing images within the apk.
ok, was just trying to do it without metamorph, and i thought the folders was wrong, so any idea how i would do it with this tool without just plain adding the whole settings apk, or mms apk with my replaced images in them?

till now, i just take the rom and change everything i want changed on my pc, then sign and then i flash the zip...was just trying to make an update.zip that would "mod" the rom in one step
 
Daneshm90
Old
#162  
Daneshm90's Avatar
Recognized Developer - OP
Thanks Meter 636
Posts: 3,309
Join Date: Jun 2009
Quote:
Originally Posted by tnpapadakos View Post
ok, was just trying to do it without metamorph, and i thought the folders was wrong, so any idea how i would do it with this tool without just plain adding the whole settings apk, or mms apk with my replaced images in them?

till now, i just take the rom and change everything i want changed on my pc, then sign and then i flash the zip...was just trying to make an update.zip that would "mod" the rom in one step
It wouldn't be possible using this batch script as its limited to what syntax it can insert into ur update-script. Perhaps what one could do, is have a .sh file which allows for the extraction of .apk's (essentially .zip's). Im not sure but doesn't the recovery support "unzip" command ? U cud just write urself a update-script which extracts, inserts, repacks.
Scripts : Recovery Customizer Link Apk Manager Link Auto Deodexer Link Backup Manager Link Update.zip Modifier/Creator Link
 
tnpapadakos
Old
#163  
tnpapadakos's Avatar
Senior Member
Thanks Meter 1,026
Posts: 2,876
Join Date: Dec 2009
Location: Tampa

 
DONATE TO ME
Quote:
Originally Posted by Daneshm90 View Post
It wouldn't be possible using this batch script as its limited to what syntax it can insert into ur update-script. Perhaps what one could do, is have a .sh file which allows for the extraction of .apk's (essentially .zip's). Im not sure but doesn't the recovery support "unzip" command ? U cud just write urself a update-script which extracts, inserts, repacks.
alrighty then...thanx
 
Toisan
Old
#164  
Toisan's Avatar
Senior Member
Thanks Meter 90
Posts: 437
Join Date: May 2010
Location: Stuttgart

 
DONATE TO ME
Hallo,

one short question, are these steps right if i want to flash a .apk into system/app

Steps:
  1. creat a folder called "app" in "placehere" folder
  2. open .bat, wrote "y" -> enter
  3. creat a update-script -> copy directories -> to SYSTEM -> app -> again app (for "app" folder in "placehere" folder)
  4. wrote 8 -> enter
  5. create update.zip
  6. flash it
thats all cause i got this error in Clockwork recovery with the .zip:

Code:
"E:Can't open /cache/update.zip
(bad)
Installation aborted."
so if u can, here is it, than u can have a look at it:

Download


thank u for ur help!
When I get sad, I stop being sad and be AWESOME instead.
>> True story <<



NEXUS4 IS JUST AMAZING
 
Daneshm90
Old
#165  
Daneshm90's Avatar
Recognized Developer - OP
Thanks Meter 636
Posts: 3,309
Join Date: Jun 2009
Quote:
Originally Posted by Toisan View Post
Hallo,

one short question, are these steps right if i want to flash a .apk into system/app

Steps:
  1. creat a folder called "app" in "placehere" folder
  2. open .bat, wrote "y" -> enter
  3. creat a update-script -> copy directories -> to SYSTEM -> app -> again app (for "app" folder in "placehere" folder)
  4. wrote 8 -> enter
  5. create update.zip
  6. flash it
thats all cause i got this error in Clockwork recovery with the .zip:

Code:
"E:Can't open /cache/update.zip
(bad)
Installation aborted."
so if u can, here is it, than u can have a look at it:

Download


thank u for ur help!
Hey,

Ur steps are correct. Just a question, can u try flashing another "proven to work" update.zip and see if it flashes ? Also can u check how much space you got left on ur /cache partition ? do

adb shell df /cache

Thanks
Scripts : Recovery Customizer Link Apk Manager Link Auto Deodexer Link Backup Manager Link Update.zip Modifier/Creator Link
 
Toisan
Old
#166  
Toisan's Avatar
Senior Member
Thanks Meter 90
Posts: 437
Join Date: May 2010
Location: Stuttgart

 
DONATE TO ME
Sry for this, rebuild the update.zip and now its works

best tool to do this

Maybe u can add some finished update-scripts to this like for framework, app...

and how to add to thins to flash, e.g. framework and apps?

regards and Thanks!
When I get sad, I stop being sad and be AWESOME instead.
>> True story <<



NEXUS4 IS JUST AMAZING
 
Daneshm90
Old
#167  
Daneshm90's Avatar
Recognized Developer - OP
Thanks Meter 636
Posts: 3,309
Join Date: Jun 2009
Quote:
Originally Posted by Toisan View Post
Sry for this, rebuild the update.zip and now its works

best tool to do this

Maybe u can add some finished update-scripts to this like for framework, app...

and how to add to thins to flash, e.g. framework and apps?

regards and Thanks!
I guess lol so sort of a guide for different scenarios.

I'll see when i get the time.
Scripts : Recovery Customizer Link Apk Manager Link Auto Deodexer Link Backup Manager Link Update.zip Modifier/Creator Link
 
deprecate
Old
(Last edited by deprecate; 1st October 2010 at 07:54 PM.)
#168  
Senior Member
Thanks Meter 8
Posts: 591
Join Date: Jan 2009
Location: honolulu
I took a rom that I have already flashed so I know it flashes fine to see how things actually worked.

I extracted it to placehere (META-INF, system, boot.img)
I replaced a few apks essentially changing the default language
I used option 2 per the video demo that you posted
I noticed that once it tells me that the update.zip is created and all is OK, the META-INF folder found in placehere vanishes. Is this normal?
I toss the update on my sdcard and attempt to flash it; it fails with "no update script found".

Out of curiousity, I open up the update.zip that was created and there is a META-INF folder present so it placed it correctly...for some reason though, when flashing, it assumes there is no update script found.

For testing purposes, I took the rom that flashes fine, placed it in placehere and did not alter a single thing. I created a fresh update.zip with it and attempted to flash it as well. The same result, "Can't find update script".

What am I missing?


update: So for some reason it is not carrying the com folder in META-INF when creating the update.zip, nor updating the updater script found within. I suppose I can simply drop the previous one in there, but for all new apks I add, or for any I remove, things will not go as planned when flashing.

No bueno
 
Stoney 666
Old
#169  
Stoney 666's Avatar
Senior Member
Thanks Meter 737
Posts: 2,699
Join Date: Aug 2010
Location: SUR GATE!!
i really want to start using this with your porting tool, but when i run this, it says "java was not found, you will not be able to sign apks or use apktools" any help please!! i just updated my java right before i tried running this...

Check out Bad Seeds Work HERE!

HTC DNA BIATCH!!


Like my work... NEW DEVICE FUNDS HERE!! THANX...
 
sisterchick
Old
#170  
sisterchick's Avatar
Senior Member
Thanks Meter 205
Posts: 804
Join Date: Feb 2010
Location: Texas!
Question Fix Permissions???

Is it possible to fire off fix_permissions (Amon RA recovery) via this scripting tool? I tried just adding "fix_permissions" to the script and it returned a syntax error.
@sisterchick
Galaxy Note 8 N5110 with Civato's FlexNote ● Moto X Dev Edition XT1053 Stock
Legacy: ● Nexus S i9020a ● HTC G1 ● HTC Desire Z ● Nook Color with CM10 on EMCC and Tablet UI Mod

Tags
script, updated
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes