[Q] i need a little help from advanced users - EVO 4G Q&A, Help & Troubleshooting

i am trying to build my first theme, and i am stuck. i can't figure out how to make an update script to replace framework-res.apk. it would be great if someone could help me out. thanks for helping an 8th grader trying to learn how to theme

Wrong forum bro. That would either be Q&A or Themes and Apps forum.

The problem is your in 8th grade...
But really, themes and apps section.

dkdude36 said:
i am trying to build my first theme, and i am stuck. i can't figure out how to make an update script to replace framework-res.apk. it would be great if someone could help me out. thanks for helping an 8th grader trying to learn how to theme
Click to expand...
Click to collapse
When you create your zip file for flashing you need to include the META-INF folder. If you open look at updater-script in META-INF\com\google\android it will include a line the copies folders which would contain your file.
copy_dir PACKAGE:framework SYSTEM:framework
I use notepad++ for opening update-script files.
You could also download the attached folder extract it apply your file re zip and try flashing. If you using RA Recovery you may need to sign your files. Thats another story.

Check out themepro in the themes and apps section.
Sent from my blah blah blah blah

zone23 said:
When you create your zip file for flashing you need to include the META-INF folder. If you open look at updater-script in META-INF\com\google\android it will include a line the copies folders which would contain your file.
copy_dir PACKAGE:framework SYSTEM:framework
I use notepad++ for opening update-script files.
You could also download the attached folder extract it apply your file re zip and try flashing. If you using RA Recovery you may need to sign your files. Thats another story.
Click to expand...
Click to collapse
Thanks for helping me out zone. I will use the flashing file you gave me. Sorry for not posting in the right thread.

dkdude36 said:
Thanks for helping me out zone. I will use the flashing file you gave me. Sorry for not posting in the right thread.
Click to expand...
Click to collapse
Some people come here to give others a hard time. Some come to check grammar, punctuation, and spelling. I come to help and learn. Its good to see someone your age taking a little initiative to learn on your own. Don't let the smart mouths stop you.

Related

How To Theme Develop for Windows For Dummies in 10 easy steps

How To Theme Develop for Windows For Dummies in 10 easy steps (( no your really not a dummy its just an easy name for a how to lol))
well i'm going to give this a shot in the dark on how to create this how to be as easy as possible
1st
download these files if you don't already have them
JAVA
http://java.sun.com/javase/downloads/index.jsp
download the JDK
Winrar
http://rarlabs.com/rar/wrar380.exe
and Auto-sign.zip
http://www.mediafire.com/download.php?uwzjjydnm2r
2nd
Download my included Auto-sign files.
what it contains.
the Test keys file..
and an update.zip file
and a batch file i created called auto-sign to make things easier to sign
3rd
after you have downloaded my Auto-sign
then you extract it to where ever you want.
4th.
use the update.zip included if your a Beginner it includes my windows 7 theme .. i edit so many files that it's easier to tell what does what and whats goiing to go where. now open that zip file DON'T EXTRACT just open it using winrar..
5th
When it is open go to Framework.. and open Framework-res.apk
NOW IF THE APK. POPS UP AND SAYS IT CANT OPEN BLAH BLAH SELECT A PROGRAM AND THEN SELECT WINRAR.
6th
Once you open Framework-res.apk KEEP THIS WINDOW AND UPDATE.ZIP WINDOW OPEN!!
then just extract the whole Res Folder to where ever you like this makes it easier to see what files you wish to edit.. most of the files will be in the folder called Drawable
7th
open up your favorite photo editor .. i use photoshop along with 90% of the people who Graphic Design... Edit your pictures Remember a file with a .9 can mess up your phone so edit those carefully.. and save what ever pictures you have
8th
Now drag the whole Res Folder .. back into the Framework-res.apk
now your update.zip file is going to say files has been changed to framework-res blah blah do you wish to save it . click yes .. now your framework has been updated you can close everything out
9th
go to the Auto-sign folder.. and open Auto-sign this will now sign your update.zip .. and rename it to update_sign.zip .. now just delete your old update.zip.. rename update_signed.zip to update.zip
10th
put it on the root of your memory card.. reset using green call + menu + end
then hold home and end .. until the recovery mode shows up .. then press Alt+S and hope your device isn't bricked
Disclaimers
I'm not responsible if your brick your device.. but i will help to the best of my abilty and if i can't help i'm sure XDA will
i don't sign every file in my update.zip i just sign update.zip .. and hey it works lol..
For ADP or RC 8 versions .. just download your favortie ADP theme or RC 8
put it in the Auto-sign folder.. and rename it to update.zip if it isn't already then just follow my steps
Screenshots will be added later.. you have to understand i did this right when i woke up i didnt' even eat breakfast yet lol.. so if something is flawed.. just write me and i'll change my post..
reserved for later use
thank you a didnt want to download linx...i will try when i get home tonight.thanks in advance
you are the man!!!! thanks, really appreciate this. got some ideas. i'll run them by you when i can get some time to start on my theme.
Dave Da illest 1 said:
How To Theme Develop for Windows For Dummies in 10 easy steps (( no your really not a dummy its just an easy name for a how to lol))
1st
download these files if you don't already have them
JAVA
http://javadl.sun.com/webapps/download/AutoDL?BundleId=26223
Winrar
http://rarlabs.com/rar/wrar380.exe
and Auto-sign.zip
http://www.mediafire.com/download.php?uwzjjydnm2r
2nd
Download my included Auto-sign files.
what it contains.
the Test keys file..
and an update.zip file
and a batch file i created called auto-sign to make things easier to sign
3rd
after you have downloaded my Auto-sign
then you extract it to where ever you want.
Click to expand...
Click to collapse
Is the "Auto-sign files" you mention in step 2 the same as the link you provided for the "and Auto-sign.zip"?
Just want to make sure Im not missing anything.
Thanks for putting this together!
xavier6303 said:
Is the "Auto-sign files" you mention in step 2 the same as the link you provided for the "and Auto-sign.zip"?
Just want to make sure Im not missing anything.
Thanks for putting this together!
Click to expand...
Click to collapse
yes it is iima have to edit that lata right now i gotta get ready to return my laptop
Dave Da illest 1 said:
yes it is iima have to edit that lata right now i gotta get ready to return my laptop
Click to expand...
Click to collapse
Ok cool. Thanks for the prompt response!
hey i was looking through and i noticed you did have the .9 files edited, what do you mean they can mess up your phone? Also how did you edit it so that the tab is the way that it is across the screen? Thanks.
Ill explain more about .9 in my reserved post and more about app designing when I get home..the file ur looking for is in launcher.apk .. under drawable-port and land
Do not edit or open .9.png's They will distort when android tries to resize them, editing them can also make apps force close upon boot. You will make more trouble for yourself by editing these files! Leavem alone! Just opening the files to look at them can make them distort... I fought with these images for weeks and caused serious problems in my theme...
Stericson
Stericson said:
Do not edit or open .9.png's They will distort when android tried to resize them, editing them can also make apps force close upon boot. You will make more trouble for yourself by editing these files! Leavem alone!
Stericson
Click to expand...
Click to collapse
Its true! Listen to him! Dont touch the .9.png files!
I Wish Android Had This
It would be nice if we had a website like this , http://iphonethememaker.com/
btw, thanks for the simple instructions
I noticed in framework-res.apk has a "resoriginal" folder with what appears to be all the orignal files. Does this cause any problems when left in the apk or did you just include it so we have a backup?
Do we need to take it out before resigning and flashing?
Can we take it out before resigning and flashing?
Thanks
Just noticed something else, not trying to bash your post Dave but You have to let people know that you need to resign every .apk that you edit! Yes you may get away with not signing the apk, but when the time comes that you've changed something in an apk to such an extent that the sigs do not match anymore, you are going to get stuck at the g1 boot screen. Then you are going to have a hard time figuring out which apk is not signed correctly. Resign every apk just to be safe. Don't cut corners, your gonna end up causing more problems for yourself.
Stericson
Stericson said:
Just noticed something else, not trying to bash your post Dave but You have to let people know that you need to resign every .apk that you edit! Yes you may get away with not signing the apk, but when the time comes that you've changed something in an apk to such an extent that the sigs do not match anymore, you are going to get stuck at the g1 boot screen. Then you are going to have a hard time figuring out which apk is not signed correctly. Resign every apk just to be safe. Don't cut corners, your gonna end up causing more problems for yourself.
Stericson
Click to expand...
Click to collapse
So if you dont touch an .apk, you don't have to sign it right? Just want to be sure.
thats correct, assuming that it has been resigned once already. like if you are building off of one of our themes, all our apks should be resigned, so if you dont mess with it, you dont have to sign it again.
Stericson
will this theme wipe everything?
and is there a way to edit icons and such?
Ahh stupid me I left it in there..that's why my theme was almost 10 MBs lol I didn't think much of it since it worked ! Lol..but yeah you can take it out..or use it as a reference lol I guess it works out for a better that I left it there ..and yeah I edited .9 files but I did it in a way that well it worked for me..but it deffintly won't work all the time..you see the blue black in the phone app when u make a call and how it looks streched out..yeah so that didn't work out type good ..but hey it worked and doesn't look all that bad lol..so some you can edit but in a certain way..and others you can't without it messing up..but don't even considor editing .9 button files..atleast until somebody figures out a way where it won't look funny
you can get away wit not signing if ur only editing the icon of the program..every apk in my theme has been signed even ones I didn't edit but if ur. Just editing the icon. And a couple of other things u really don't need to resign..for example.. I didn't sign not one program after I did my back to the future theme ..and my windows 7 theme seems to flash better then my. Back to the future theme..also one other note to add..that if you resign an app..please remember the programs are case sensitive..but to be on the safe side if u edit more then three things in a apk just sign it..as a matter of fact later tonight I will make a auto-sign for every program to make it easy for everyone
And this is non-wipe by default..
Edit- the different things I did from my back to the future theme to this theme for me not to have to resign..
Update to 1.31
Only edit icons.
The procedure I used to save my files.
Changed my theme to non wipe
Or maybe I just have pure luck lol
But listen to the guru on this and sign all .apks don't test ur luck. Like I have ..
Edit 2- I just remember I'm not sure wats the limit u can edit before u have to resign..cause on my framework-res.apk.. I editied over 10 files without signing.. but if you want to test ur luck be my guest..but that's why I put a disclaimer..but the way signapk.jar works is actually quite interesting ..cause it will auto update the meta files and automaticlly add the sha-1 digest files for you
Dave Da illest 1 said:
..but don't even considor editing .9 button files..atleast until somebody figures out a way where it won't look funny
Click to expand...
Click to collapse
Ask and you shall receive:
Excuse me if you already knew all about this, but these files are Android 9-patch files
Nine-patch files are stretchable graphics that allow you to define regions to stretch and regions that will stay the same. This page describes them in pretty good detail.
And you can read how to use the draw9patch tool in your SDK here.
This was just a little something I ran across the other day, and just realized you guys were prob. talking about these.
Hope that helps! Can't wait to see what comes of it. Keep up the good work.
Ricky
DesignDawg

Merging Flashable ZIPs

Hey everyone, so I'm just starting to buckle down and learn more about Android Mods. Here's my latest question. I have a few zip files that I always flash on top of a new ROM. These include at the moment, a Rotary Lockscreen and the DroidX boot animation, possibly a circle battery shortly.
My question is, would there be a simple way to merge these zip files so I only have to flash one every time I load a new ROM, or even better, load these into a ROM file before flashing?
Is it as simple as opening the ZIPs, moving the files from one to the other (keeping the directory structure intact) and re-zipping the lot? Or is there something more complicated I need to look at...
Thanks in advance!
Edit: A quick look in one of the files revealed a .xml file with some references to the files to be installed. I assume I would have to edit the .xml to include all the instructions from each mod, but if that's all it takes, that should be easy... Again, I ask all of you... Am I missing something?
PSULightingGuy said:
Hey everyone, so I'm just starting to buckle down and learn more about Android Mods. Here's my latest question. I have a few zip files that I always flash on top of a new ROM. These include at the moment, a Rotary Lockscreen and the DroidX boot animation, possibly a circle battery shortly.
My question is, would there be a simple way to merge these zip files so I only have to flash one every time I load a new ROM, or even better, load these into a ROM file before flashing?
Is it as simple as opening the ZIPs, moving the files from one to the other (keeping the directory structure intact) and re-zipping the lot? Or is there something more complicated I need to look at...
Thanks in advance!
Edit: A quick look in one of the files revealed a .xml file with some references to the files to be installed. I assume I would have to edit the .xml to include all the instructions from each mod, but if that's all it takes, that should be easy... Again, I ask all of you... Am I missing something?
Click to expand...
Click to collapse
i think you need to edit the meta file and the xml file, but this can be done though.
PSULightingGuy said:
Hey everyone, so I'm just starting to buckle down and learn more about Android Mods. Here's my latest question. I have a few zip files that I always flash on top of a new ROM. These include at the moment, a Rotary Lockscreen and the DroidX boot animation, possibly a circle battery shortly.
My question is, would there be a simple way to merge these zip files so I only have to flash one every time I load a new ROM, or even better, load these into a ROM file before flashing?
Is it as simple as opening the ZIPs, moving the files from one to the other (keeping the directory structure intact) and re-zipping the lot? Or is there something more complicated I need to look at...
Thanks in advance!
Edit: A quick look in one of the files revealed a .xml file with some references to the files to be installed. I assume I would have to edit the .xml to include all the instructions from each mod, but if that's all it takes, that should be easy... Again, I ask all of you... Am I missing something?
Click to expand...
Click to collapse
what is the full name of the .xml file you see?
the recovery reads a file called update-script or updater-script inside the zip file META-INF/com/google/android/ directory. you memorize that directory path after messing with enough zip files!
that file tells the recovery what actions to take with which files. for list of very basic commands for this update-script file, i have a guide - http://forum.sdx-developers.com/android-2-1/creating-an-update-zip-list-of-commands/
it is possible to merge update.zip files but its important to understand their structure and how the commands are executed.
also signing .zip files is a whole different topic...
hopefully this helps get you going in the correct direction!
joeykrim said:
what is the full name of the .xml file you see?
the recovery reads a file called update-script or updater-script inside the zip file META-INF/com/google/android/ directory. you memorize that directory path after messing with enough zip files!
that file tells the recovery what actions to take with which files. for list of very basic commands for this update-script file, i have a guide - http://forum.sdx-developers.com/android-2-1/creating-an-update-zip-list-of-commands/
Click to expand...
Click to collapse
Since all the files have this could you copy and paste the codes inside them into one file?
Sent from my PC36100 using XDA App
chandlerw88 said:
Since all the files have this could you copy and paste the codes inside them into one file?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
You would want to read up a little bit and make sure you understand the commands, but yes. You do not want to copy the entire set of commands, just the particular needed lines. Often you don't need to change anything because the script may just say copy this entire system directory and everything in it will go.
Sent from my PC36100 using XDA App
It's pretty basic.
Move all the files into the same zip delete everything in meta-inf except the update script.
Adjust the script accordingly, pay attention to syntax or better yet just look at all the individual scripts and put them together, then remove dupes
As for zip signing..
This is what you need
http://forum.xda-developers.com/showthread.php?t=666441
OK, thanks! This has all helped a lot and I think I nailed the basics that I was shooting for, just haven't been able to test yet since no need to re-flash a working ROM.
My next question is, would there be a way to force files INSIDE an APK? Trying to add a different battery meter (have the images) to framework-res.apk and would love to do that from a boot script... Ideas?
PSULightingGuy said:
OK, thanks! This has all helped a lot and I think I nailed the basics that I was shooting for, just haven't been able to test yet since no need to re-flash a working ROM.
My next question is, would there be a way to force files INSIDE an APK? Trying to add a different battery meter (have the images) to framework-res.apk and would love to do that from a boot script... Ideas?
Click to expand...
Click to collapse
yes, its called 7-zip and its your new best friend in this battle. heres how i learned.
i started ripping apart the things that i liked, including roms themselves. now find an update zip that has the files inside the folders that you will need to add, and you can then recycle that update zip. here it is plain and simple:
1.use 7zip to VIEW; NEVER UNZIP the files(forget about windows zips)
2.check what folder the apps you will be putting in belong in
3.put them in their corresponding folders(some apps are tricky when you need to install their libs too and you dont know it)
4.erase the 3 bottom files in your meta-inf folder
5.resign the rom
6.verify the sign(look for the new certs)
7.move to sd
8.flash rom
9.have a pop,beer, or w/e your vice.(my fave is cherry coke)
if you need help getting started feel free to pm. you dont know who i am, but ive been thru this process many times.
​
Actually, that's not quite what I'm talking about... I want a flashable zip that will add certain images (the battery meter) to the INSIDE of a .apk file that already exists on the device. Not sure if it's possible, but if so, I'd love to know... If not, I'll try pulling the .apk and using 7-zip...

[CWM][ALL] Base CWM zip packages - just add APPS!

Ok forum, so I got this idea: because a lot of people ask for CWM packages of this and that, why not let them create CWM flashable stuff without having to beg devs or other users to make them?
I think it saves them (yes, I am talking about YOU!) and us the trouble. So I created these two base CWM flashable zips to get everyone started:
Data_Skeleton.zip - Used for apps that you can uninstall afterwards.
System_Skeleton.zip - Used for anything that should be installed as a system app
Now, a short guide on how to use them:
1. Download the appropriate ZIP for what you plan to package. If you want to make a regular app package use Data_Skeleton.zip, for system apps, use System_Skeleton.zip.
2. Open the zip file with anything else other than Windows Explorer! Use 7zip, winzip, winrar or anything else, just not Explorer!
3. Look inside the zip! DO NOT DELETE ANYTHING! All you need to do is ADD STUFF!
4. Browse into the "data" or "system" zip folders, then down into the "app" folder inside.
5. After you get to the "app" folder, copy and paste the APKs you want to flash in the folder.
REMEMBER: do not DELETE anything! ADD APK files ONLY in the "app" folder.
6. Wait for the APK files you copy to get added to the archive.
7. Close the archive.
8. Rename and copy the archive to your SD card.
9. Boot into CWM and flash the copied zip file you just created.
10. Enjoy!!
Sooooo, quick 10-step process into cooking you own CWM Zips. You can do much more with them than flashing apps, but for general purpose usage, this should be enough!
Thanks and complaints go underneath.
PS: this idea was given to me by lambstone in a separate thread! Thanks a lot mate!!!
Peace,
C.
Nice thread, waiting for other..............
There's market apps that does this I.e apps2zip
Sent from my LG-P999 using Tapatalk 2 Beta-2
Ayysr,
App2zip works well for this purpose, but only when it works. There are apps that can't be zipped correctly, mainly those that rely on libs, media and/or other files that can't be included automagically. Needless to say that some apps (mainly games and such) store data on the SD card.
All of this can be easily accomplished by copying the files in a zip file; also learning something about Android in the process, wouldn't you say?
Peace,
C.
cheatman said:
Ayysr,
App2zip works well for this purpose, but only when it works. There are apps that can't be zipped correctly, mainly those that rely on libs, media and/or other files that can't be included automagically. Needless to say that some apps (mainly games and such) store data on the SD card.
All of this can be easily accomplished by copying the files in a zip file; also learning something about Android in the process, wouldn't you say?
Peace,
C.
Click to expand...
Click to collapse
Your right, I was not trying to deny your effort in any way
Sent from my LG-P999 using Tapatalk 2 Beta-2
I actually wasn't expecting anyone to comment on this thread to begin with
The fact that you mentioned app2zip is perfect! I know the intent is not to deny my effort, in fact, I am happy new information surfaced because it's useful and appropriate.
Very few contribute to such posts with relevant info for others. I think this is the point: sharing insightful and relevant stuff with others. But judging by the number of thanks you have, you already know this very well already
So, thanks! And glad to have you in my thread
Peace,
C.
cheatman said:
I actually wasn't expecting anyone to comment on this thread to begin with
The fact that you mentioned app2zip is perfect! I know the intent is not to deny my effort, in fact, I am happy new information surfaced because it's useful and appropriate.
Very few contribute to such posts with relevant info for others. I think this is the point: sharing insightful and relevant stuff with others. But judging by the number of thanks you have, you already know this very well already
So, thanks! And glad to have you in my thread
Peace,
C.
Click to expand...
Click to collapse
have trying to put 5 apk files on data/app exactly doing what it's in your post, then rename it to apk.zip, but when i'm trying flashing from cwm it's geting error
E:Can't open /sdcard/apk.zip
(bad)
Installation aborted
do I miss something??
edit: i'm using data_skeleton.zip
Make sure you don't extract the ZIP. Open it and add files. If you extract it, you get that error message (usually). That is a problem related to the unzip process in CWM, it's not very "compatible"
I have also re-upped the DATA CWM zip, maybe it got borked in the process. So download again from first post. It works on my tab. You can test it by just getting the zip and flashing it empty, like that.
cheatman said:
Make sure you don't extract the ZIP. Open it and add files. If you extract it, you get that error message (usually). That is a problem related to the unzip process in CWM, it's not very "compatible"
Click to expand...
Click to collapse
No dude, I do not extract the zip file, I do exzctly what you said in 1st post, just open it with winrar, look for Data-app, then adding apk files on app section/folder inside the zip files, i just try once again to make sure, and i just add 1 different apk file, but still not work, btw i always use this same method before when I' want to replace boot animation for ICS CM9 ROM and adding some apk file to ROM file, and it's always work.
cheatman said:
I have also re-upped the DATA CWM zip, maybe it got borked in the process. So download again from first post. It works on my tab. You can test it by just getting the zip and flashing it empty, like that.
Click to expand...
Click to collapse
will try this one..,
EDIT: have try your 2nd Data_skeleton.zip, it's work when flashing from cwm with or without add apk files, but not with previous zip file, thought the problem it's coming from your zip file..,
Glad the second one works!
Thanks for letting me know the first zip was borked!
Its a good thread man, makes creating flash able zips simple, you should also look into zipsigner2 on the play market
Sent from my LG-P999 using Tapatalk 2 Beta-2
Thx for the great work!!
Does this one only works for apks?? say i would like to add some files to system/bin or system/lib what do i need to add??
Thx again
You need to create the appropriate folder structure on your PC/Laptop/Mac drive (system/bin or system/lib as per your example) and add it to the archive.
Do not create the folders directly inside the archive as they seem to get borked. Instead archive the folders after you create them locally. It also works if you extract the skeleton archive as an example, delete the "system" folder from inside it and add to the archive the system folder from your drive to replace the original one.
Sounds more complicated than it is. With these CWM Zips you can create any zip that changes either "/data/*" or "/system/*"
Anything, including full ROMs, libs, firmware etc (i.e. except kernel!) can go inside. Play with them. You can't mess your tab with them. Worst case, you need to flash again your ICS copy and factory reset...
Peace,
C.
yeah jejeje i just mess up i am trying to flash a sound driver for my phone (by the way it works in my live with walkman) but they are not working so.
but it is great because i was able to use your file to flash my phone it seems to be universal.
thx again for your work.
Is it possible for this to work for radio images?
Sent from my Nexus S 4G using Tapatalk 2 Beta-5
No, it can't be used for radio images.
First off, radio images need to be flashed (i.e. not copied to a folder as this script does) and secondly because as far as I know with the latest versions of CWM don't support this anymore.
The old zips used to flash radio don't seem to be supported anymore. I recently encountered this problem while flashing a friend's HTC Buzz/Wildfire. So, no, I have no idea how to flash radio using CWM anymore. You can flash using Odin, though...
Peace,
C.
cheatman said:
You need to create the appropriate folder structure on your PC/Laptop/Mac drive (system/bin or system/lib as per your example) and add it to the archive.
Do not create the folders directly inside the archive as they seem to get borked. Instead archive the folders after you create them locally. It also works if you extract the skeleton archive as an example, delete the "system" folder from inside it and add to the archive the system folder from your drive to replace the original one.
Click to expand...
Click to collapse
Ah, this explains how come my /system/app zips were coming out fine but my /system/framework were messed up, thanks for the explanation.
I wonder if it's possible for a small tutorial in how to add our own text to a zip when it's being flashed.
I guess I could reupload the zips without the intro section (stating my nickname and galaxy tab / version etc.) if I weren't so lazy...
The problem with changing the text is that although a tutorial can be made, it requires external tools and such, which would make this waaay to complicated and out of the scope of this thread.
For your purposes (I assume you are using some version of Windows), here's my advice: extract the Zip archive, look for the "updater-script" file, change it and make sure you run it through a "dos2unix" tool to convert CR/LFs. Then add it back to the archive.
To everyone else: if this doesn't work for you, just stick to adding apps to the zip. You should be safe, there's no need to edit any files anyway!
Peace,
C.
Great, apparently it was just that simple, worked great, <3
Dumb question - is this only for Galaxy tab? Or can I use it on my Captivate?

Please need help regarding meta-inf

i installed "4.0.3 Leak On Screen Buttons" which was in zip having two folders
1 - meta- inf [which has a com folder (with files in it update-binary and updater-script) and with three files CERT.RSA, MANIFEST.MF and CERT.SF]
2 - system (in it framework-res.apk)
so i installed this zip via cwm, but i didn't liked the concept as it wasn't looking good,etc
so as i had already backed up my original framework-res.apk , so using root explorer i moved it back in sys/framework folder
restarted my phone and all got fine....
Though my question is as those files : update-binary and updater-script ---- CERT.RSA, MANIFEST.MF and CERT.SF are not searchable and i guess should not be deleted as they were just updated .. so still would they be impacting my phone or its all kool as i havn't been able to search them or delete them ?!
is it important to find and delete them or its no need for that and its ok ?!
Hope someone understands what i am trying to ask and reply appropriately please i would highly appreciate the same!
Think them like busybox (so you can mount delete etc)
And script file, that includes commands to do.
Every cwm zip files includes them. when you install zip file, these commands executed.
Sent from my LT18i using xda premium
eryen said:
Think them like busybox (so you can mount delete etc)
And script file, that includes commands to do.
Every cwm zip files includes them. when you install zip file, these commands executed.
Sent from my LT18i using xda premium
Click to expand...
Click to collapse
Awesome!
Just ease me by telling that so its nothing but just used for commands, so i need not to be worried for them could be hampering my phone's performance ?!
a yes answer will do
eryen said:
Think them like busybox (so you can mount delete etc)
And script file, that includes commands to do.
Every cwm zip files includes them. when you install zip file, these commands executed.
Sent from my LT18i using xda premium
Click to expand...
Click to collapse
shantusingh said:
Awesome!
Just ease me by telling that so its nothing but just used for commands, so i need not to be worried for them could be hampering my phone's performance ?!
a yes answer will do
Click to expand...
Click to collapse
Just to clarify,
That folder contains the Zip signatures and file manifests. as well as the CWM controll scripts. ect. these should never be coppied to the phone on a flash. likewise if you edit them the zip will prob not work without resigning the zip.
Pvy.
pvyParts said:
Just to clarify,
these should never be coppied to the phone on a flash. likewise if you edit them the zip will prob not work without resigning the zip.
Pvy.
Click to expand...
Click to collapse
thank you for your reply but now this got way over my head, m not that deep into this stuff so would appreciate if i get a simple answer to my question only please?
like asked in first post that i installed this zip via cwm, but i didn't liked the concept as it wasn't looking good,etc
so as i had already backed up my original framework-res.apk , so using root explorer i moved it back in sys/framework folder
restarted my phone and all got fine....
Though my question is as those files : update-binary and updater-script ---- CERT.RSA, MANIFEST.MF and CERT.SF are not searchable and i guess should not be deleted as they were just updated .. So still would they be impacting my phone or its all kool evn if as i havn't been able to search them and delete them ?!
is it important to find and delete them or its no need for that and its all ok now as i just moved the original framework back ?!
shantusingh said:
thank you for your reply but now this got way over my head, m not that deep into this stuff so would appreciate if i get a simple answer to my question only please?
like asked in first post that i installed this zip via cwm, but i didn't liked the concept as it wasn't looking good,etc
so as i had already backed up my original framework-res.apk , so using root explorer i moved it back in sys/framework folder
restarted my phone and all got fine....
Though my question is as those files : update-binary and updater-script ---- CERT.RSA, MANIFEST.MF and CERT.SF are not searchable and i guess should not be deleted as they were just updated .. So still would they be impacting my phone or its all kool evn if as i havn't been able to search them and delete them ?!
is it important to find and delete them or its no need for that and its all ok now as i just moved the original framework back ?!
Click to expand...
Click to collapse
Sorry if I didn't make it clear.
They are not flashed. Hence you can't find them. So no need to worry.
Pvy.
Sent from my TEAM Powered Arc S
pvyParts said:
Sorry if I didn't make it clear.
They are not flashed. Hence you can't find them. So no need to worry.
Pvy.
Sent from my TEAM Powered Arc S
Click to expand...
Click to collapse
Awesome thank you! I understood they just help in probably installing that particular app giving its own correct signatures and file manifests w.e so it gets installed via cwm and nothing more . And as i just backed up my original framework-res.apk to framework folder so its ofcourse all back to normal, though my phone is fine always as it was, I just had this doubt in my mind and m glad it got cleared thanks again!!
Cheers!!
Where did you place the Meta-INF files? I know system files goto system/framework but I cant find where Meta-INF files go. I'm using a root file manager.
chipdawg said:
Where did you place the Meta-INF files? I know system files goto system/framework but I cant find where Meta-INF files go. I'm using a root file manager.
Click to expand...
Click to collapse
You are not correct about the system files. And I recommend you do some more reading on how these zips work.
Metainf is FOR THE ZIP. And has been prety well explained above.
Pvy
Sent from my GT-P5110 using Tapatalk 2

Flashable zip

So I have a bunch apks that I add to every rom that I flash.... I was wondering if someone could lend some knowledge. I want to put them together in a flashable zip u can use in recovery, but do I just zip them in winzip and done? Or are there other steps I need to take? Should I use something besides winzip? Thanks in advance.
jwitt418 said:
So I have a bunch apks that I add to every rom that I flash.... I was wondering if someone could lend some knowledge. I want to put them together in a flashable zip u can use in recovery, but do I just zip them in winzip and done? Or are there other steps I need to take? Should I use something besides winzip? Thanks in advance.
Click to expand...
Click to collapse
You will need to make a folder called update,inside make a folder called META-INF,in the META make folders called com/google/android,so the structure looks like this... META-INF/com/google/android,this thread will tell you how to make an updater script... http://forum.xda-developers.com/showthread.php?t=641223 ,after you've created an updater and update scripts,after that in the same area you made the META folder,make a folder called system,inside system make one called apps,then put your apps in there and add the symlinks pointing to the apps,which is in the same thread as above.After you have finished that,right click the update folder and add to archive,in compression settings use "store" method and type of compression,use zip,then zip it up and theres your flashable update script.
jwitt418 said:
So I have a bunch apks that I add to every rom that I flash.... I was wondering if someone could lend some knowledge. I want to put them together in a flashable zip u can use in recovery, but do I just zip them in winzip and done? Or are there other steps I need to take? Should I use something besides winzip? Thanks in advance.
Click to expand...
Click to collapse
Or u could just find a flashable zip of a mod or apk in the themes and apk section for evo and then just add ur apps to it. Should work as long as updater script mounts and unmounts /system.
U can use 7zip or winrar to open the zip up. Open up system folder then app folder. Add ur apks and delete the things the script originally added unless u want them. Easy as that.
Name of flashable zip doesn't matter btw
XDA Moderator

Categories

Resources