While converting a boot animation installer to Edify, I found out you can include both the Amend and the Edify install scripts in the CWM zip file and they both play nice with each other. So, in effect, you can make CWM* installers, instead of releasing two different zip files. This is especially nice when you are uploading a ROM which is 400MB+.
Thought I would share, as I've seen plenty of poeple releasing separate zip files for no benefit.
I've devised a standard, if all agree, for these universal installers, to put a _uni at the end, so people know the CWM version does not matter. eg: helix_animation_uni.zip
To each their own on the naming, but I thought a universal naming scheme would be helpful to all.
Cheers, and sorry if this is old news. I still see tons of releases with two zip files, so at least some people haven't figured this out yet.
Attached is a zip file with example amend and edify scripts, for anyone who is new to either. The example is for a boot animation with boot, shutdown graphics and sound effect.
Interesting find
Im just sticking with edify personally going forward as it works with both cwr 2.5 and 3.0+
Haha, well color me pointless. I had no idea Edify worked with 2.5.x as well as 3.x. Ignore this thread :/
Related
UOT zip aren't working. (it takes miserably long to try to combine all the different options) so i thought i was real clever trying to replace framework-res in a a theme download that does work. of course i got the "bad" error. i looked around, read something about unsigned files, got irritated, and quit searching for the answer.
how can i replace files in a flash-able zip?
i tried to simply open the zip in explorer and paste in a file.
if i can get past all these little small technical details i'll likely start putting together ports and original android themes for the atrix
bump?
anyone gotten UOT cook something usable?
Ive Noticed that the DX2 Has number of atrix ports and a couple of roms.. Any how i would love some more support than CM7 for the photon. I know we only have a handful of wonderful devs for the photon and they can only concentrate on so much at once.
I am wanting really bad to contribute..Can some one show me where to brush up on my skills I am wanting to attempt to Dev. I know IT HAS BEEN ASKED i just want to go to the right places...Just seems like there is not enough interest in the photon in general.. I have all the free time in the world right now...
Id like to thank all the wonderful Devs in the photon forum and for making CM7 boot!! Some good ISH!! i cant wait!!
If you want to make a custom, stock-based ROM, it is fairly easy. A number of us on the forums just think that it is not very necessary to have so many ROMs when there is little-to-no changes between them.
Anyhow, the basic gist is like this:
Find some app/theme you want to include into a ROM. Extract the ROM (.zip), and then place those files into their respective folders. Generally, themes are in framework-res.apk files and go in /system/framework. Apps usually go into /system/app. Keep in mind if you want to port a theme, you will have to resize the images and rename them (usually), which involved extracting the .apk, modifying the necessary files, and then pushing them back into an unextracted copy of the .apk (to deal with signing issues). When you are done with your modifications to the ROM, highlight/select all of the folders and files (usually META-INF, system, boot.img), and compress them into a zip archive. Bam, new ROM made.
mrinehart93 said:
If you want to make a custom, stock-based ROM, it is fairly easy. A number of us on the forums just think that it is not very necessary to have so many ROMs when there is little-to-no changes between them.
Anyhow, the basic gist is like this:
Find some app/theme you want to include into a ROM. Extract the ROM (.zip), and then place those files into their respective folders. Generally, themes are in framework-res.apk files and go in /system/framework. Apps usually go into /system/app. Keep in mind if you want to port a theme, you will have to resize the images and rename them (usually), which involved extracting the .apk, modifying the necessary files, and then pushing them back into an unextracted copy of the .apk (to deal with signing issues). When you are done with your modifications to the ROM, highlight/select all of the folders and files (usually META-INF, system, boot.img), and compress them into a zip archive. Bam, new ROM made.
Click to expand...
Click to collapse
Thanks BRO!!!! And Thank you for all your hours and dedication you have put fourth with school and all!! I would not of held on to my Photon If it weren't for you!! Honestly!!!
If you guys want I could upload my recent creation.
Its yays deodexed rom with the alien theme embedded in. I can't seem to get the blur launcher to work though and I could slim it down. Remove ringtones notifications and apps if ya'll want...its nothing special just themed no special tweaks.
Don't think you can add tweeks without unlocking the BL...
AJC9000 said:
If you guys want I could upload my recent creation.
Its yays deodexed rom with the alien theme embedded in. I can't seem to get the blur launcher to work though and I could slim it down. Remove ringtones notifications and apps if ya'll want...its nothing special just themed no special tweaks.
Don't think you can add tweeks without unlocking the BL...
Click to expand...
Click to collapse
That would be awesome!!!! Im working on something NOw!! I would like to use what u created!!
Its pretty much yays rom + kenneths theme and a working settings apk lol
You want it stripped down as possible? I suck at making update zips for gapps and such but I can strip it and you can command mount the things you want.
and applications? not everything is shareable I try to make a build did not work well but gets stuck on the logo of motorola
what are you adding and taking away?
UPDATE: Problem fixed, thanks to florpor. The solution was to change the scripting language from Amend to Edify
Hi all,
I was wondering if I could get some quick advice from some more experienced users here on XDA?
Basically, I've been trying to put together a simple update.zip that I can flash that adds a tone to /system/media/audio/notifications. This is because after each time I flash an update for CM9 on my Galaxy S II, it replaces/removes the tone. Now, I could manually re-add them each time, but I'd like to find an alternative solution.
I've spent the past two hours or so searching around on how to put together an update.zip, and came across this tutorial and thought I was going well, until I tried to flash the zip and got an error message telling me that recovery no longer uses update-script files, and instead uses updater-script. So, I went ahead and renamed it, then re-zipped and re-signed the folders, and tried to flash it through CWM, which just returned an installation aborted message, with no details.
Any ideas? It's probably something really obvious that I'm mising, but it's driving me nuts. I've attached the update.zip, in case it helps.
Anyway, thanks for your time,
screamworks.
your updater-script didn't work because apart from changing its name, the scripting language it's coded in has changed from Amend to Edify.
try looking for posts about converting scripts between the two.. I think there's an automated script for this somewhere or you can do it by hand.
Thanks for that! After fixing that up, I got it to work. Thanks a million
screamworks.
I have googled this for days, and I cannot seem to find a solution.
I want to find a tutorial to create a flashable zip (for both CWM and TWRP), and I am looking for something that will describe the components, the Edify script, and anything else. I am somewhat familiar with this, but can't seem to create my own.
NOTE: I do not want to use a template, or any other "starting zip". If I want to add files or components to system (fonts, boot animation, or some other mod), I want to learn how to do it from scratch: as if all I have is 7-zip, a suitable text editor, and that is it.
I have modified zip files before by extracting/editing a document, and then re-zipping, but I never have just extracted the whole file and then re-zipped it and had it work successfully.
If I have to use a device specific binary, then I need to know where to find this.
I have been working/flashing zip files for 4 years and am frustrated that I always have to use some "automated tool" or someone's zip template to start with.
I appreciate any help in advance!
Syntropic
Now that the H918 is finally rootable with lafsploit (thanks to @runningnak3d), I thought there may be some interest in themes for TWRP. I was watching this thread when he first created these themes several years ago. They have matured a lot over the last few years. Note that it's none of my work and I don't support any of it, I'm just a very happy user of the themes.
Here is the link to the thread with all of the screenshots, instructions, etc.
Have fun!
I've been using z31s1g's twrp black themes on many devices for years, and now I can't imagine using just the stick layout all that time. His work is where the bar is set for sure.
Theres a must have add-on that you must get separately though, aroma file manager. You can find it in this thread. Look for his github link and download aromafm-2.00b7.zip to your phone. Rename and place the zip file to /sdcard/TWRP/theme/aromafm/aromafm.zip
Now, when you check the box in theme settings to use aroma, it will default to that when you tap file manager. AromaFM is a basic but powerful file manager that is WAY nicer than the default one in TWRP. You can select multiple items, unzip with a long tap, save bookmarked directories, and theres even a terminal emulator with a keyboard that again, is much nicer than default.
Its worth mentioning that you don't need any theme applied to use aromafm, you can flash it like any other zip and that will launch the file manager too.
Last bit of info; to use the image kitchen add-on that let's you change the theme and splash screen you want, and pack it into a custom twrp.recovery.img to make your theme sort of baked in, you can install that by flashing osm0sis's mobile version from this thread. At the time of writing this youre looking for UPDATE-AIK.Mobile.Installer.v3.2-ALL-signed.zip
Lately, I've been using @G.M.L. 's MAT theme, which is based off of that one but he has a bunch of addirional visual customizing you can do. I tried it just to see and haven't wanted to go back.
After writing this that seems like a lot of work to have a nice recovery mode that you can do anything with, but like I said to open, I couldn't go back to not using any theme at all.