Related
ok well since i cant get an answer anywhere else what program will alow me to extract the framework pictures to theme the new JFv1.51 update? 7ZIP doesnt recognise the .cramfs files and was also wondering what to use to repack it. im sure Im not the only one that would appreciate this information. and if its been posted somewhere else im sorry for the repost.
google ".cramfs" theres alot of results
i did sir only thing that comes up is how its a huge process and blah blah blah dont worry im sure someone will help me thanx anyways
After looking into it, it looks like it can only be done in linux. I tried looking at doing it through windows but nothing came up, which sucks. Looks like I won't be upgrading to JF1.51. O well I have JF1.5 ADP running how I want it anyway
Beast84 said:
After looking into it, it looks like it can only be done in linux. I tried looking at doing it through windows but nothing came up, which sucks. Looks like I won't be upgrading to JF1.51. O well I have JF1.5 ADP running how I want it anyway
Click to expand...
Click to collapse
exact same thing that i found and everywhere i look makes it seem like its this overly complicated process and the 1.51 version is really gonna suck if someone doesnt find a way to make it easy to theme.
my 1.50 is also running awesome but unfortunately the problem is just like everything else in xda if you dont keep up you get left out and im kinda getting a little anxious because i feel like i always wanna have the new **** lol but yeah lets see what people figure out.
if nothing gets figured out with the JF build then maybe ill end up moving to another more easily customizable build let it be dudes or haykuros i dont know we'll see
LatinSilEighty said:
exact same thing that i found and everywhere i look makes it seem like its this overly complicated process and the 1.51 version is really gonna suck if someone doesnt find a way to make it easy to theme.
my 1.50 is also running awesome but unfortunately the problem is just like everything else in xda if you dont keep up you get left out and im kinda getting a little anxious because i feel like i always wanna have the new **** lol but yeah lets see what people figure out.
if nothing gets figured out with the JF build then maybe ill end up moving to another more easily customizable build let it be dudes or haykuros i dont know we'll see
Click to expand...
Click to collapse
if your on ADP 1.5, you should have no issue moving to JF151 and keeping the same theme made for JF1.5 (ADP1) (i had no issues).
as an aside,
in comparison to gloss theme template or stock theme template:
i noticed byte size differences in classes.dex and or resources.arsc in these system apps:
launcher.apk
maps.apk
mediauploader.apk
networklocation.apk
phone.apk
services.jar (classes.dex) had a byte size difference
pershoot said:
if your on ADP 1.5, you should have no issue moving to JF151 and keeping the same theme made for JF1.5 (ADP1) (i had no issues).
as an aside,
in comparison to gloss theme template or stock theme template:
i noticed byte size differences in classes.dex and or resources.arsc in these system apps:
launcher.apk
maps.apk
mediauploader.apk
networklocation.apk
phone.apk
services.jar (classes.dex) had a byte size difference
Click to expand...
Click to collapse
good information bro atleast i get to keep my theme
i started to port a theme when i came across the framework.cramfs file. i tired winzip and winrar, i get nothing. i also googled and didnt come across anything but what is a .cramfs file. so i just went back to JF v1.51 ADP and used the custom ported theme i have.
sir*mez said:
i started to port a theme when i came across the framework.cramfs file. i tired winzip and winrar, i get nothing. i also googled and didnt come across anything but what is a .cramfs file. so i just went back to JF v1.51 ADP and used the custom ported theme i have.
Click to expand...
Click to collapse
yeah i did the same thing... im on JFv1.51 now and wanted to port over a new theme im working on and ran into the same road block... framework.cramfs
....you know what really grinds my gears... lol
so i guess back to 1.5 untill a new point in time...\
ALSO
i tried to add the white clock "services.jar" into this and didnt work... but the custom menu lock screen aparently did in this version.. if that helps
hey guys i figured out how to get framework.cramfs to show up as framework-res.apk ,,if you use astro file browser on your phone ,you can go to /system/framework , and just copy framework-res to your sdcard then ,connect to your pc and you will see the framework-res.apk.. I can't resgin so thats as far as i got,,,
Hope this helps
dan0zone said:
hey guys i figured out how to get framework.cramfs to show up as framework-res.apk ,,if you use astro file browser on your phone ,you can go to /system/framework , and just copy framework-res to your sdcard then ,connect to your pc and you will see the framework-res.apk.. I can't resgin so thats as far as i got,,,
Hope this helps
Click to expand...
Click to collapse
So on the phone in /system/framework, it doesn't show the framework.cramfs? It shows the files that are supposed to actually be in the folder?
yep as an .apk , well I only used astro,but yes seems to be the case
this should explain why google changed it >>>>more space<<<
http://en.wikipedia.org/wiki/Cramfs
dan0zone said:
yep as an .apk , well I only used astro,but yes seems to be the case
this should explain why google changed it >>>>more space<<<
http://en.wikipedia.org/wiki/Cramfs
Click to expand...
Click to collapse
Google didn't change it, JF did. He compressed it to make room for all the things he added. He did this in a few other folders. But thanks this could be a long process but I'll try it out
Damm you JF ,lol, jk , see i didn't know that thought google did , but it did work as far as i know ,I had 83mb after fresh install and after running lucid script 87mb
good for space , bad for themes i guess
I'm still try to figure out how to extract what's in the cramfs image in linux. Anyone have any ideas? I wanted to see exactly how much space was saved
honestly i think it was too soon for 1.51 imo because here at wonderful XDA we have to hack and tear everything apart and make it custom and its comming down to where if it becomes too overly complicated to unpack and repack cramfs you might as well not have a rooted phone because its just like the regular us version except noone knows if the stereo bluetooth works on the JF version.
Im most def going back to jfv1.5 untill someone figures this out because i cant stand looking at that ugly ol factory white status bar and that checkered background.
either way from what i understand the only differences between the 1.5 and the 1.51 is just the that 1.51 has HQ youtube vids now and it doesn have multi-touch browser anymore
Beast84 said:
Google didn't change it, JF did. He compressed it to make room for all the things he added. He did this in a few other folders. But thanks this could be a long process but I'll try it out
Click to expand...
Click to collapse
yea i just noticed that after going into the ota original version of 1.5. how bout we just erase the .Cramfs file and extract the framework folder from the original T-mo ota or from the JF V1.51 ADP. repack the JF v1.51U.S., sign it and flash it with that. then we'll be able to get to the framework-res.apk. let me know what ya think.
dan0zone said:
hey guys i figured out how to get framework.cramfs to show up as framework-res.apk ,,if you use astro file browser on your phone ,you can go to /system/framework , and just copy framework-res to your sdcard then ,connect to your pc and you will see the framework-res.apk.. I can't resgin so thats as far as i got,,,
Hope this helps
Click to expand...
Click to collapse
so in other words go through astro or use an unzipping tool that opens cramfs?
then copy your framework.res to the sdcard (using Astro) then copy to the desktop of your computer
Edit files, open archive, pack your framework.res then do what?
doubleokneegro said:
so in other words go through astro or use an unzipping tool that opens cramfs?
then copy your framework.res to the sdcard (using Astro) then copy to the desktop of your computer
Edit files, open archive, pack your framework.res then do what?
Click to expand...
Click to collapse
u would have to go to the terminal on ur phone:
type su
#mount -o rw,remount /dev/block/mtdblock3 /system
#cp /sdcard/download/framework-res.apk (or where you have your framework-res.apk file) /system/framework
#reboot
edit: if that doesnt work use #busybox cp /sdcard/download/framework-res.apk (or where you have you framework-res.apk file) /system/framework
im in linux and have all the files/programs install/needed to create a .cramfs and I can't find a way to decompress/open the .cramfs just how to create a new one. I have google and all my linux forums and nothing seems to be pulling up... Not fun but will still keep looking.
Through ADB you can pull the files off and then push them back on also... So you can resign it and then put it back. I just wish I had a way to do it with the update file I have on my PC so that I can add the programs/files that I want and have an update.zip for it. but heh this will work for now....
I tried reading through the other forums and posts. I have seen quite a few on wm 6.5 but not on Android 1.6 Donut. Can anyone help me with this? I tried using the instructions on
http://wiki.cyanogenmod.com/index.php/Barebones#.2Fsystem.2Fapp.2F
I successfully removed the com.amazon.mp3.apk after trying several times, but have tried other apps and nothing thus far. Any help would be great. Also, if this post is unneccessary, teach me how to delete it and I will. Just looking for help. Thank you.
Bare bone and mod
Hi im no dev and much of a noob
but
easiest way I found is to open your rom and resign it. Then test a couple of time and you'll work out by yourself which one are safe to keep and which one are not. Apk are in the system folder and some in the data one.
thanks to stericson, it's easy as cake
http://forum.xda-developers.com/showthread.php?t=473580
Mod wise, you can change the font (font folder), edit most apk (use 7zip to open the apk or rename it to a zip file, open it, change watever you want, rename it and sign), change the boot screen (framework-res.apk explicit tut somewhere. you got two png image to change, android-logo-mask and android-logo-shine). Can also change build.prop to enhance 2g/3g performance. work very well.
barebone
Hey sipvn,
I didn't really get what I am supposed to do though boss. I appreciate your help.
dnt understand what you want do......uninstall default app??
Just remove unnecessary apps
Use Stericson signer to resign zip file.
Flash
Oh and btw wrong section
geppo1975 said:
dnt understand what you want do......uninstall default app??
Click to expand...
Click to collapse
Yeap, just want to take off the apps I knmow she wont need on the phone. For what ever reason she doesnt want internet or data on her phone so I wont argue. But I want to make sure she doesn't accidentally activate anything and ring the bill up you know. Thank you.
Macrophage001 said:
Just remove unnecessary apps
Use Stericson signer to resign zip file.
Flash
Oh and btw wrong section
Click to expand...
Click to collapse
Sorry for wrong section. Where do I go to do it right? And, how do I use stericson signer? Thank you
What I am trying to do (on DC v1.1b5) is combine 3 (or more) signed zips (espresso, clear notification bar, and a taskbar) into an unzipped rom so I can sign it later and flash the whole rom with my changes. (NO I'M NOT GOING TO POST IT AND SAY ITS MY ROM lol)
All of these modifications each change framework-res.apk and com.htc.resources.apk in their own way.
Would I have to figure out every single change to each individual apk and merge them into one file? Or is there another way?
I am not only doing this for my phone, but I am doing this to learn.
Any help would be appreciated
Yes, since there's really no way to tell which files were edited in each theme, you have to go through and find it.
Honestly, the easiest way to do this that I've found is to unzip the archive and scroll through the folders with thumbnails enabled so you can quickly see what they all look like.
I know that the statusbar .pngs are in framework-res.apk/res/drawable-mdpi and they all start with statusbar_* or status_bar*.
The .pngs for the Rosie are found in com.htc.resources.apk/res/drawable-port-mdpi/
EDIT: I would also recommend creating a MetaMorph theme when you get all the files you need. (I'm not sure if it works on 2.1/Sense ROMs, I'm about to use it and find out though) that way you can apply the themes while your phone is on, you can easily transfer it between ROMs, and you only need to use the files that you've changed, instead of the entire .apk. For instructions on creating a MetaMorph theme: http://forum.xda-developers.com/showthread.php?t=591329
on windows 7 you can make one folder called NEWframeworkapk paste all the original file to it, then copy and paste all the files from the others. it will say "do you wish to move and replace "jpg" say yes for all and then you have the changed files.
haha thats what i do? prolly some super easy way though.
Gregalous said:
Yes, since there's really no way to tell which files were edited in each theme, you have to go through and find it.
Honestly, the easiest way to do this that I've found is to unzip the archive and scroll through the folders with thumbnails enabled so you can quickly see what they all look like.
I know that the statusbar .pngs are in framework-res.apk/res/drawable-mdpi and they all start with statusbar_* or status_bar*.
The .pngs for the Rosie are found in com.htc.resources.apk/res/drawable-port-mdpi/
EDIT: I would also recommend creating a MetaMorph theme when you get all the files you need. (I'm not sure if it works on 2.1/Sense ROMs, I'm about to use it and find out though) that way you can apply the themes while your phone is on, you can easily transfer it between ROMs, and you only need to use the files that you've changed, instead of the entire .apk. For instructions on creating a MetaMorph theme: http://forum.xda-developers.com/showthread.php?t=591329
Click to expand...
Click to collapse
Avalaunchmods said:
on windows 7 you can make one folder called NEWframeworkapk paste all the original file to it, then copy and paste all the files from the others. it will say "do you wish to move and replace "jpg" say yes for all and then you have the changed files.
haha thats what i do? prolly some super easy way though.
Click to expand...
Click to collapse
thank you both for the input.
now to go find EVERY change they all make lol
if anyone has an easier way, PLEASE don't hesitate to post lol
regaw_leinad said:
thank you both for the input.
now to go find EVERY change they all make lol
if anyone has an easier way, PLEASE don't hesitate to post lol
Click to expand...
Click to collapse
Gregalous said:
I know that the statusbar .pngs are in framework-res.apk/res/drawable-mdpi and they all start with statusbar_* or status_bar*.
The .pngs for the Rosie are found in com.htc.resources.apk/res/drawable-port-mdpi/
Click to expand...
Click to collapse
Here's a headstart
Gregalous said:
Here's a headstart
Click to expand...
Click to collapse
Thanks
I actually prefer MetaMorph over doing a zip file because all you need are the files that have been changed. However, in 2.1 a lot of files are scattered around or in different places and once the Sprint update comes through who knows where everything will be. Once I finally figured out how to set up the folders the rest I have done became easy...and no need to turn off your phone.
Edit: You can also combine more than one folder at a time
HTC HERO
DamageControl V1
&RoidRage said:
I actually prefer MetaMorph over doing a zip file because all you need are the files that have been changed. However, in 2.1 a lot of files are scattered around or in different places and once the Sprint update comes through who knows where everything will be. Once I finally figured out how to set up the folders the rest I have done became easy...and no need to turn off your phone.
Edit: You can also combine more than one folder at a time
HTC HERO
DamageControl V1
Click to expand...
Click to collapse
Yeah, MetaMorph is pretty cool.
but my problem was actually FINDING the changes in already made zips lol
but I think I got it, well most of the changes (hopefully all)
Ok, just a few questions quick hdpi images for say a theme for bigger phone like the evo can they be tossed into a drawable-mdpi and be fine? Or do you have to go through them and resize them? My second question is regarding signing, I've got the htc kitchen running which seems to do fine so I'm using the AutoSign to sign my res folder which i zip'ed as framework-res.zip then signed using the AutoSign tool and renamed to framework-res.apk which I think is correct, but then I throw that into a presigned zip for a theme that I pulled apart using the htc kitchen and rebuild it and sign it and it should be good to go. It gave me some nonsense about an updater script and it can only make an update script. But when I tried flashing the rom it failed.
Basically I think I'm missing some parts of the puzzle if anyone who knows more about this than me could give me a pointer or two I'd be eternally grateful. Thanks.
I'm not sure if you have to resize the png images. I always do, however it takes a while so you may want to try doing it with the hdpi images. As far as signing goes some extract the apk and then edit the png's and then with 7zip use the open archive option and drop the png's into the zip. And then resign.
Here is what i do..
I extract the apk
Go in and make changes
Go back to the main folder where it has the META-INF, res, AndroidManifest, etc and select all of those and zip them. It should then name it (whatever_app_your changing).zip
I use the Auto-sign from Avabox and sign it. This should also change the extension to apk
When editiing an apk you want to make sure you keep everything as it is when rezipping and signing. Do not delete any folders.
To make a flashable zip you need an update script. If you pull apart a theme and look in it there should these folders META-INF\com\google\android. The update script is located in android. It tells it where to install everything and to show a progress bar. If you look in a theme you can easily see the strcuture and what needs to be zipped.
Thanks. Thats the missing step I think, I'm about to crash as I work nights and probably shouldn't be up yet lol, but when I get up I'm gonna test some more things out but I think thats what I needed to know. I've been trying to rezip everything so it fits back together when i should be pulling them out of the zip changing them and then putting them back in. I'll try it tomorrow lol when my brain works again. Thanks for the reply though.
ok first of all download 7zip
do not unzip the whole app
open the app with 7zip. take out the res file
edit the png files that you want
edit the .9 files that you want
use draw9patch that comes inside of android sdk folder
in draw9patch u put one dot on top one dot on left and full lines on bottom and right. thats the easy way. u can watch the right window to figure out what the results will be. play with it and you will get the hang of it.
download eclipse and set up eclipse and android sdk to work with android. there a number of instructions on how to do this. google in or search in xda
use eclipse to recompile the .9 files
if u r finding files in the hdmi files and want to use them u have to make sure they are the right size for our phones.
best guess is that if its from a different phone they are the wrong size. compare the size of the file to the mdmi folder and resize where needed.
when done editing the res file drag and drop it back into the app that is open in 7zip.
it can then be pushed via adb in the command promt by putting the apk in the tools folder of sdk and typing
make sure your in the directory of ur sdk/tools folder
adb remount
adb push (app name).apk system/app
(app name)=app for example facebook.apk
if u want to make it into a flashable update than you can put into a zipped file that im sure uve downloaded from here before. make sure its the only app in the folder and use avabox as described above.
Awesome thanks papasmurf, I think I figured out the big issue was having before and thats that I have to use 7zip to pull, edit, and replace files I want to change. the .9 stuff I haven't messed with yet but I've always known they are a bit of a pain in the ass. Gotta learn sooner or later lol. Thanks for the responses guys I'm gonna mess with this stuff and see where I get.
What are the rules on signing? Now if I'm in a framework-res.apk and pull and push some files do I need to sign it again?
PlagaDeRock said:
Awesome thanks papasmurf, I think I figured out the big issue was having before and thats that I have to use 7zip to pull, edit, and replace files I want to change. the .9 stuff I haven't messed with yet but I've always known they are a bit of a pain in the ass. Gotta learn sooner or later lol. Thanks for the responses guys I'm gonna mess with this stuff and see where I get.
What are the rules on signing? Now if I'm in a framework-res.apk and pull and push some files do I need to sign it again?
Click to expand...
Click to collapse
While when building a rom it is sometimes but very rare to sign an app...when editing pngs and such there is no need to resign the app. ..also if u do have to resign an app u can't resign the Google ****s. They don't like work if u resign them cause the only way we have to resign with r with test keys. By resigning apps ur r messings with the manifest and there is about a 99.9% chance there is no need for it.
Its different if ur trying to flash an app via recovery. Then it has to be put into a zip file and signed. My suggestion is to find a basic mod that someone else already made a signed zip of and put ur app in it and take out the other mod. Just make sure u put it in the right folders. For example
Most apps go in /system/app
Framework and com.resources go in /system/framework
Uncanny make those folders and drop the app in there then drag to the zip or if those folders exist in the zip just drag the app in.
As long as its a mod zip the update script is prob just very basic and u don't have to mess with it. Just use avabox (search for it on xda) and drag the zip into to autosign folder inside of avabox. Rename it update and click k on the sign icon. After its done signing u delete the update file and can rename the update-signed file to what ever u like. Just remember if renaming that if u r using more than one word the u must add a _ between words rather than a space. For example
Gmail_signed.zip
Hope that helps a little
Sent from my HERO200 using XDA App
Awesome. Just made my first flashable zip that worked. I'm almost finished porting over the sculpted theme from the evo section. Thanks for the help guys, its making way more sense now.
PlagaDeRock said:
Awesome. Just made my first flashable zip that worked. I'm almost finished porting over the sculpted theme from the evo section. Thanks for the help guys, its making way more sense now.
Click to expand...
Click to collapse
Anytime man. Just remember if ur changing even the size of a .9 file it has to be fixed as explained above. Only saying cause ur porting a theme from the evo and I'm sure there r .9 files in there
Sent from my HERO200 using XDA App
Papa Smurf151 said:
Anytime man. Just remember if ur changing even the size of a .9 file it has to be fixed as explained above. Only saying cause ur porting a theme from the evo and I'm sure there r .9 files in there
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Eclipse is intense. I think I downloaded the right one. I'm dead tired though so I'm gonna pick it up again tomorrow. I got enough of it together that it functions so I'm happy for now, but definitely going to have to work on the .9 files tomorrow lol.
PlagaDeRock said:
Eclipse is intense. I think I downloaded the right one. I'm dead tired though so I'm gonna pick it up again tomorrow. I got enough of it together that it functions so I'm happy for now, but definitely going to have to work on the .9 files tomorrow lol.
Click to expand...
Click to collapse
Yeah eclipse is def overkill at times but when u get it set up its easy to just compile .9 files.
Sent from my HERO200 using XDA App
Go to market
Download mm, ninjamorph, silver edit, and astro.. While here pick up a random icon pack... (your first morph)
Open silver edit..pick new xml.. Here is a template. Replace the dashes - with less than/greater than < .. They won't show on xda
-?xml version="1.0"?-
-themename-Theme_Name-/themename-
-themeversion-1.x-/themeversion
-screenshot--/screenshot-
-author-that's you-/author-
-authorweblink--/authorweblink-
-phone-Samsung Vibrant-/phone
-rom-Stock-/rom-
-themedescription-whatever changes-/themedescription-
-item-your app.apk-/item-
-path-/system/app/-/path-
-description-changes the...-/description-
-item-framework-res.apk-/item-
-path-/system/framework/-/path-
-description-Morphs the ...-/description-
Open ninja morph, choose the apk you want to modify.. The images you want to change are in res folder in the drawable dir.. choose the icon and replace it with one out of the icon pack..
Open astro.. Go to android themes.. Make new directory, Theme_Name.. Open the workspace folder..this is where the changed apk is... Copy res folder.. Paste it inside Theme_Name.. Delete everything but drawable... Open the silver edit folder in astro and copy Theme_Name.xml and paste it with your new res folder... You just made a morph on your phone...
Open meta morph..start checks and chose existing... Click Theme_Name and Theme_Name.xml, apply all...
Your original images from your apk are in backup inside android themes...
Thanks stericson for 2 apps..
My phone has been flashed more than Girls Gone Wild..
I can't find silver edit in the market :/ .. i'm starting to think something is wrong with my market because I couldn't find simply lockscreen either.. :/
In the directions it says "Samsung_Vibrant" so is this just for the captivate or can you insert which ever phone you want?
sabo2000 said:
In the directions it says "Samsung_Vibrant" so is this just for the captivate or can you insert which ever phone you want?
Click to expand...
Click to collapse
that's just the name of the phone he's editing..
its more of a header or a title if anything..
This will work for any device, on any android device... Just edit the xml to be compatible with your device..
Im hoping this could bring some would be themers out the wood works...
Sent from my SGH-T959 using XDA App
Is metamorph able to put in modified XML files as well? If so, can you explain how this is done? I tried updating some XML files in framework-res.apk via metamorph with no luck...
If i compile + sign my own framework-res.apk, then it works. But i like to use it in metamorph instead so I can change things on the fly.
xDarKnighTx said:
Is metamorph able to put in modified XML files as well? If so, can you explain how this is done? I tried updating some XML files in framework-res.apk via metamorph with no luck...
If i compile + sign my own framework-res.apk, then it works. But i like to use it in metamorph instead so I can change things on the fly.
Click to expand...
Click to collapse
That might be a problem with Super User or something.. That I've read about..
darkamikaze said:
That might be a problem with Super User or something.. That I've read about..
Click to expand...
Click to collapse
do you recall where you read it? and is there some sort of workaround? or is it just not possible?
I think I read it in the meta morph topic in the android theme forum..there's another meta morph thread there
Sent from xdaApp - Captivate
Metamorph only replaces files... doesn't add new ones... so if its a new xml going to have to use an update.zip
Sent from my SGH-T959 using XDA App
I did everything by the guide in the first post but when I try to install the theme in metamorph I get the error The theme you selected is invalid because the theme control file could be missing, or is not correctly written.
Any help would be much appreciated.