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
To see what's new, hit the changelog link, and look at the new commits since the last version date. Any commits listed there between the date and time of the last version (you can find that in Settings>System>About Phone: "Build date") and the date and time of this version, would equal what's new.
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.
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.
To see what's new, hit the changelog link, and look at the new commits since the last version date. Any commits listed there between the date and time of the last version (you can find that in Settings>System>About Phone: "Build date") and the date and time of this version, would equal what's new.
one short question, are these steps right if i want to flash a .apk into system/app
Steps:
creat a folder called "app" in "placehere" folder
open .bat, wrote "y" -> enter
creat a update-script -> copy directories -> to SYSTEM -> app -> again app (for "app" folder in "placehere" folder)
wrote 8 -> enter
create update.zip
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
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.
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...
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 rooted stock ● Nexus S i9020a with Skinny CM10.1 Nightly
Legacy: HTC G1 ● HTC Desire Z ● Nook Color with CM10 on EMCC and Tablet UI Mod
XDA Developer TV Producer Kevin set up his phone to respond to … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?