ROM Color change? - Droid Eris Android Development

I ran into a DroidDoesPink ROM which was Sense-able just redone in pink. I was wondering if this can be done with any rom? If any of them could be changed the color you want. http://androidforums.com/all-things-root-eris/64009-droiddoespink-rom.html Here is the link to it. How could I go about changing the color to something i want? or is this not possible? Sorry if this a noob question lol

dyefalcon1 said:
I ran into a DroidDoesPink ROM which was Sense-able just redone in pink. I was wondering if this can be done with any rom? If any of them could be changed the color you want. http://androidforums.com/all-things-root-eris/64009-droiddoespink-rom.html Here is the link to it. How could I go about changing the color to something i want? or is this not possible? Sorry if this a noob question lol
Click to expand...
Click to collapse
all you have to do is change the corresponding png files in the framework-res.apk
its found under /system/frameworks

lets pretend i dont know how to do that...

unzip the rom
find the framework-res.apk under system/frameworks
change apk to zip
unzip
edit the png files for whatever suits your taste
zip the files back up
rename to framework-res.apk
push that to your phone and reboot

awesome thanks ill see what i can do

when i zip them back up what settings should i use i tried to flash and it said cant open

you dont flash it
adb remount
adb push *new framework-res.apk* /system/framework

Actually got it working thanks!

So, i've been trying this for a while. It's not working. Are there any special settings I need to use to zip it? When I reboot the phone it just hangs on the androids on skateboards.

make sure you do exactly what is said and you name the file framework-res.apk and it switches to an apk file. i had trouble here but one you get that right it works great

here's what I did.
1. unzipped the CELB2.4 rom
2. went to /system/framework and renamed the framework-res.apk to a .zip
3. extracted the .zip
4. modified the .png's
5. renamed the framework-res.zip back to a .apk
6. booted my phone into recovery and in a terminal ran
./adb shell mount /system
./adb push framework-res.apk /system/framework
I tried the remount command and it doesn't work while in recovery
*Edit: just looked at the framework-res.apk file again. Although it says it's a .apk, it still acts and looks like a .zip without the .zip extension. What's going on?*

hitman_dreams said:
here's what I did.
1. unzipped the CELB2.4 rom
2. went to /system/framework and renamed the framework-res.apk to a .zip
3. extracted the .zip
4. modified the .png's
5. renamed the framework-res.zip back to a .apk
6. booted my phone into recovery and in a terminal ran
./adb shell mount /system
./adb push framework-res.apk /system/framework
I tried the remount command and it doesn't work while in recovery
*Edit: just looked at the framework-res.apk file again. Although it says it's a .apk, it still acts and looks like a .zip without the .zip extension. What's going on?*
Click to expand...
Click to collapse
heres what i did...
create a new folder and put the framework-res.apk in there
archive it
open it up (dont extract)
you will see new folder open that
you will then see "framework-res.apk.zip"
take off the .zip extention and it will then become an apk file
extract it then push it to your phone

dyefalcon1 said:
I ran into a DroidDoesPink ROM which was Sense-able just redone in pink. I was wondering if this can be done with any rom? If any of them could be changed the color you want. http://androidforums.com/all-things-root-eris/64009-droiddoespink-rom.html Here is the link to it. How could I go about changing the color to something i want? or is this not possible? Sorry if this a noob question lol
Click to expand...
Click to collapse
I can make an update.zip of that pink theme, or if you send me the rom update.zip you want to integrate it into, I can do that. Always happy to help.

you don't need to change the .apk to .zip it will open just like a zip file. easiest way is to drag and drop the edited png's back into the framework-res.apk without extracting it. I made the droiddoespink rom way back when and to be honest its probably a little outdated. I did update it with overclock and apps2sd though I think but if you are trying to change the colors to something else I would reccomend you start with a stock rom. You don't want to make everything orange and then have a pink highlight pop up somewhere. Also in sense based roms there are some png's in the htcresources.apk too. And to theme the dialer htcdialer.apk and phone.apk.

Conap said:
you don't need to change the .apk to .zip it will open just like a zip file. easiest way is to drag and drop the edited png's back into the framework-res.apk without extracting it. I made the droiddoespink rom way back when and to be honest its probably a little outdated. I did update it with overclock and apps2sd though I think but if you are trying to change the colors to something else I would reccomend you start with a stock rom. You don't want to make everything orange and then have a pink highlight pop up somewhere. Also in sense based roms there are some png's in the htcresources.apk too. And to theme the dialer htcdialer.apk and phone.apk.
Click to expand...
Click to collapse
true.
the instructions i gave are how to do it on mac 10.4

I find that 7-zip http://www.7-zip.org/ is most helpful in this type work in that allows you to open the .apk "archive" files
Hope this helps

do i need to resize the png's because when i edit them and when i push the file to my phone it shows up that i edited it but its not one big edited picture its a whole bunch of small ones.. im thinking i need to resize the png's to the size of my phonne

ashertheplague said:
do i need to resize the png's because when i edit them and when i push the file to my phone it shows up that i edited it but its not one big edited picture its a whole bunch of small ones.. im thinking i need to resize the png's to the size of my phonne
Click to expand...
Click to collapse
try resizing the edited files to what the unedited files originally were

I'm using Ubuntu 9.10, Thanks Conap, you're the man! That did the trick for me. I had to not extract the .apk just open it with archive manager and drag and drop the files/folder. White and red here we come!

CPCookieMan said:
I can make an update.zip of that pink theme, or if you send me the rom update.zip you want to integrate it into, I can do that. Always happy to help.
Click to expand...
Click to collapse
I would like the new sense able rom http://forum.xda-developers.com/showthread.php?t=654315 here or evil eris here http://forum.xda-developers.com/showthread.php?t=650302 which ever is easier for you if you could integrate that to color #00aeff that would be awesome

Related

Changing Sense's Bottom Bar

Hello all,
I am working on editing sense, and i need help changing the bottom bar, I have the apk ready to edit, but when i try to edit it, it comes in a note pad with a bunch of characters... help?
Extract the .apk to a location, grab the .png you want to modify, open it in Photoshop/GIMP/Paint, whatever... and finally re-save the .png.
Use 7zip to replace the .png inside the .apk.
Push modified .apk to phone.
alexhendershott said:
Extract the .apk to a location, grab the .png you want to modify, open it in Photoshop/GIMP/Paint, whatever... and finally re-save the .png.
Use 7zip to replace the .png inside the .apk.
Push modified .apk to phone.
Click to expand...
Click to collapse
How do i push it to the phone again?
Erisftw said:
How do i push it to the phone again?
Click to expand...
Click to collapse
Let's say you're editing framework-res.apk...
./adb push framework-res.apk /system/framework
be sure to make a nand backup before you futz with anything. sounds like ull need it.

help needed modifying ROM pre-flash

i attempted to replace most of the .apks in the system app folder with the same .apks from an ealier version of the rom (because i prefer black to blue/black). i replaced them in the .zip before i flashed it, hoping it would work.. but it didnt.. in the recovery menu it says:
....
verifying update package...
e:wrong digest:
system/app/browser.apk
e:verification failed
browser was one i replaced. how do i make this work? i dont want to use root explorer to manually replace each ****ing thing, and i have no patients for adb. i must need to sign the package or something? i never unpacked anything, just replaced some contents.. thought id be fine..
on a related note there may be more issues to come. unzipped the framework-res.apk to my computer, renamed it .zip, went inside and replaced the battery icons, renamed it back to .apk and replaced the modified file in the rom. who knows what chaos i might have caused there.. if you know what to expect and how to fix it please feel free to help!
if it matters at all, the rom im modifying and flashing is nonsensikal 9.5 black/blue, the system apps came from version 8.2 black, and battery icon .pngs came from 5.4 black.
Id try and resign the whole rom after you make your changes it should be just fine
you cannot simply replace the apks in the zip, then flash. after replacing, use one of the following methods:
if you use linux, use EasySign (http://android.grdlock.net/index.php?&direction=0&order=&directory=HTC Droid Eris/Extras) or the Android Kitchen (http://forum.xda-developers.com/showthread.php?t=633246).
if using Windows:
Use AutoSign (http://androidforums.com/developer-101/8665-how-signing-roms.html).
Thanks. I'll get on the computer and give it a shot.
Sent from my nonsensikal froyo using XDA App
if you've unzipped the framework-res.apk then none of this will work anyway. You need to pull the images out of the old framework-res.apk and drag and drop them back into the new framework-res.apk without unzipping it. You shouldn't even need to rename it to zip. Just open it with a program like 7zip without unzipping and drop the png's in the correct folders. Then you can put the .apk back in the rom and resign from the links directed above.
Oh it all worked fine. I never unzipped framework, just extracted it from the Rom and renamed it, then replaced files, renamed back to apk, and replaced in original .zip. it worked great.
To achieve full 9.5 black I have to copy all of the previous versions (black) framework .pngs to the new Rom though.
I think the file is like, drawable-mpdi or something. Not landscape or non. I don't really know.. not in right frame of mind
Sent from my nonsensikal froyo using XDA App

[Q] is this the right step to modify framework-res.apk ?

hi...
i want to change standard notification bar from my htc desire running sense froyo rom with mod battery percentage, animation icons for data, signal, etc.
what i did is :
1. pull framework-res.apk from /system/framework folder
2. extract framework-res.apk using apktool
3. extract & overwrite with icons colour pack v4 downloaded from http://forum.xda-developers.com/showthread.php?t=722993 into drawable & drawable-hdpi folder from extracted framework apk folder.
4. bundled modified framework-res.apk using apktool
5. sign framework-res.apk
6. in recovery mode, adb push framework-res.apk to /system/framework. before doing that, i mount /system first..
7. reboot
what i found, everytime i choose network setting or wireless setting it crashed with error message process.com.android.settings has stopped unexpectedly.
why this error occured ? any other step that i did is wrong ?
I just pull from adb, my PC has 7zip installed so can see drill into the compressed file, drag replace the altered images, back out of the compressed file to commit, push via adb, reboot.
Sent from my Nexus One using XDA App
Why not use the UOT kitchen?
Sent from my HTC Desire using XDA App
HTCinToronto said:
I just pull from adb, my PC has 7zip installed so can see drill into the compressed file, drag replace the altered images, back out of the compressed file to commit, push via adb, reboot.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
This is what I do, basically. I make the battery mod with UOT, and when the flashable zip is ready I extract the framework-res to some folder and just replace couple of images, then I'll put the modified framework-res back to the UOT-file and flash it. Works every time.
EDIT: I don't extract the files within framework-res.zip, only the .zip itself so I can open it via WinRar and replace the files. It isn't probably even needed, you could probably replace the needed files when browsing the UOT file with winrar/whatever etc etc. Haven't tried.
Can this same method be applied to anything that can be found in the framework ?

[Q] Possible to change the Orange Selection Colour in Stock builds

Hi Guys,
Is it possible to change the colour of the selection colour in Stock Android (I think it's already Green in Sense Roms)? But in Stock it's Orange, I want to know if there's a way to change it to Green?
I'm guessing i just need to alter a colour code in some xml file somewhere but absolutely no idea where to start looking!
Cheers
Paul
Its in the framework-res.apk in the /system/framework folder. There are png files that you need to edit.
Use APK Manager 4.9 to decompile the file, then edit with Photoshop and compile the file again.
Make a flashable CWM zip file and flash it.
Search on the board for the how-to's.
brainmaster said:
Its in the framework-res.apk in the /system/framework folder. There are png files that you need to edit.
Use APK Manager 4.9 to decompile the file, then edit with Photoshop and compile the file again.
Make a flashable CWM zip file and flash it.
Search on the board for the how-to's.
Click to expand...
Click to collapse
Cheers Brain - Exactly what i was after! I'll give this a go this evening!
Well...if you succeeded, would you mind sharing it with us? Thats one thing im searching for since using gingerbread.

Looking for a tutorial: how to cook a ROM?

I'm looking for a guide which tells how to make a own custom ROM from another one
I mean:
1. How to add/replace/remove apps in /system/app/?
1. a) Do they need to have special permission?
2. How to replace boot screen?
3. How to add custom kernel?
4. How to add Desire lockscreen/flip clock?
5. How to add transparent notofication area?
6. How to add Power menu?
I've been serching forum, but didn't find such tutorial. Would be very thanful to get this knowledge.
I think that will be very useful for maaaany android maniacs
1. Simple delete/copy apks in .zip file using 7-Zip or any other.
2. I belive you need to put bootanimation.zip in /data/local/ folder.
3. Idk
4. For Desire lockscreen you need edited HtcLockScreen.apk; for flip clock - HtcClockWidget.apk
5. Edited /system/framework-res.apk or /system/framework/com.htc.resources.apk. I'm not sure
6. You need edited /system/framework/android.policy.jar
69. Resign your zip file using Auto Sign
Attachment doesn't load, but I know about resigning ROM after everything is done
Ad. 1. As I thought, but do the need special permissions? And I also wonder one thing. Are they installed while flashing? Cuz they need to be in system registry, I think...
I have found this: http://wiki.android.com.pl/wiki/Kon...iana_instalowanych_aplikacji_razem_z_systemem
No any permissions etc.
Found this, too. Thanks.
to add a custom kernel you have to unpack the boot image and edit the ramdisk manually, although i think there is an option in dsixda's kitchen to unpack and repack the boot.img
I've got two more questions:
1. When signing, three files are created in folder META-INF: CERT.RSA, CERT.SF, MANIFEST.SF. But in other packages I see also com/google/android/update-script in META-INF. How to make it? Is it necessary?
2. If I want to make only flashable update file which changes one app or another file, eg. framework-res.apk, I have to create folder structure: system/framework/framework-res.apk, add it to zip archive (no compression?) and sing using Auto-sing. Am I right?
Edit:
Found nice guide there: update-script syntax
tomekk_nt said:
I've got two more questions:
1. When signing, three files are created in folder META-INF: CERT.RSA, CERT.SF, MANIFEST.SF. But in other packages I see also com/google/android/update-script in META-INF. How to make it? Is it necessary?
2. If I want to make only flashable update file which changes one app or another file, eg. framework-res.apk, I have to create folder structure: system/framework/framework-res.apk, add it to zip archive (no compression?) and sing using Auto-sing. Am I right?
Click to expand...
Click to collapse
The most important part of a recovery update zip is the update script. It will tell the recovery what to do. If you want an example of a basic update package, which replaces one file in the /system/framework (although a different one) can found here. Open this and read the META-INF/com/google/android/updater-script (or whatever its called). The syntax is pretty straight forward and I think its easiest to learn from the examples of updater scripts found here on XDA. For the simple case, of only replacing/adding files to the /system partition you can leave the updater script from the above example as is and only change the files under the /system directory in the zip.
Note, that the above example uses the newer upader-script (I hope I am writing this correctly, I am writing from memory) which also has a binary file in the same directory. Some update zips use the older "update-script" lone text script. For these kind of scripts, you can find a guide here.
Personally, I use RA recovery, and for this recovery you need to sign the update zips (last thing you do of course). At least for RA recovery, both the older "update-script" and the newer "updater-script" work fine, so its up to your personal preference which do you prefer.
Thanks. Found a guide you mentioned a couple of minutes ago and read it.
The more I know, the more questions it brings So one more thing. If I'd like to use the newer version of syntax: "updater-script", I need also to put this binary file in this folder. But I create/edit only "updater-script", binary file is the same for all packages, or do I need to edit it, too?
I built a kernel tool long time ago, very easy to use (only for linux)
1: unzip the file, place it where you want it eg your desktop
2: place boot.img in the working directory
3: double-click the menu icon or launch from terminal
4: it creates a new directory named BOOT-EXTRACT,edit what you want in there or change the kernel etc.. and repack it again via the kernel tool
see screenshot. here for those how want the tool >>> http://www.elelinux.se/tools/kernel_tool.zip
Edit: Only for Hero
tomekk_nt said:
Thanks. Found a guide you mentioned a couple of minutes ago and read it.
The more I know, the more questions it brings So one more thing. If I'd like to use the newer version of syntax: "updater-script", I need also to put this binary file in this folder. But I create/edit only "updater-script", binary file is the same for all packages, or do I need to edit it, too?
Click to expand...
Click to collapse
Only the updater-script. The binary is a replacement of the script-interpreter I think, but thats just an assumption.
elelinux said:
I built a kernel tool long time ago, very easy to use (only for linux)
Click to expand...
Click to collapse
And that's a good reason to install newest Ubuntu Thanks!
riemervdzee said:
Only the updater-script. The binary is a replacement of the script-interpreter I think, but thats just an assumption.
Click to expand...
Click to collapse
That's mine assuption, too, but would like to know it for 100%
Edit: I see you use it in your kernel update package. So you write only updater-script and place also update-binary next to it?
LOL, you've got help from every well known hero dev on xda, I'm sure you'll have all the info you need now to start building rom's. Good Luck!
Found an app called Easy Flashable zip Builder on this thread. Will test it soon.
tomekk_nt said:
Found an app called Easy Flashable zip Builder on this thread. Will test it soon.
Click to expand...
Click to collapse
But it is for MS Windows, or saw I wrong ? I have also built a tool to javasign files,but should probably write a manual first,it is easy to use but some dependencies maybe not so easy for a beginner with Linux.
tomekk_nt said:
That's mine assuption, too, but would like to know it for 100%
Edit: I see you use it in your kernel update package. So you write only updater-script and place also update-binary next to it?
Click to expand...
Click to collapse
Correcto

Categories

Resources