Related
WARNING - THIS IS NOT A FLASHABLE ROM, DO NOT TRY IT, DON'T EVEN ASK ABOUT IT, I'M JUST GOING TO IGNORE YOU.
Removed, seemed to cause problems for some people
Ok, with that out of the way, in my continuing quest to perfect the new JI2 leaked rom for my own personal taste, I went ahead and deodexed the ROM, and thought I'd share my work for any other devs that want to package an update.zip with these. I have no idea how to add the new modem.bin to a flashable.zip, so I'm not even going to try packaging one.
FYI, this was made from a straight adb pull of /system and then deodexing the ROM using Danesh's fantastic auto-deodexer. Took a few tries to get the right bootclasspath for several files, so I figure I'll save other devs the headache and just post my work.
HOWEVER, this was done after I already rooted, installed busybox, and modified a few things to suit my tastes.
My modifications were:
1) Change lockscreen to Vanilla 2.1 lockscreen
2) modify framework-res.apk to support my vertical, accurate battery mod (http://forum.xda-developers.com/showthread.php?t=758797)
3) modify framework-res.apk and twframework-res.apk to use the default (non-glossy, see attached screenshot) touchwize drawable elements.
4) Edited build.prop to fix market not displaying all apps error
I'm sorry to anyone that wants a totally stock version of the files, but I've reached my boredom level for the day and don't feel like going back and deodexing the ROM again, and besides, the framework-res.apk and twframework-res.apk can just be pulled from any unmodified install and replaced without any issue, though the android.policy.jar will need to be deodexed again if you want the touchwiz lockscreen back.
UPDATE 1 (9/17/2010)
OK, well, I had some spare time, so I let it deodex from stock again while I was afk, so I'm attaching a zip file with ONLY the stock android.policy.jar (original twiz lockscreen) and stock framework-res.apk and twframework-res.apk.
Anyway, have fun, and please just give me credit if you use these in your own mod.
Cheers,
=)
~ Jocelyn
Well its fun to play with. I like the battery icon alot thanks
Sent from my vibrant
Thanks for this!
lol i was actually bugging eugene for the JI2
hahahah
scrizz said:
Thanks for this!
lol i was actually bugging eugene for the JI2
hahahah
Click to expand...
Click to collapse
I uploaded it ( Fully Build ) did you not get it?
Let me explain what I mean by "casual". I've come to find that I always end up removing stuff from custom ROMs that I don't like/don't use and end up with something much much better.
With NFX's permission (should he give it) I'd like to make a custom ROM based on my slimmed down approach, one that left me with tons of free space, lots of free RAM, great battery life, and smooth operation. I'm looking at the ROM right now, and I'm wondering; is there anything special I need to know about adding my own apks to be preinstalled with the ROM? I'd like to add Fancy Widget and LauncherPro since I stopped using the Sense Launcher. My ideal setup is one where the app is recognized by the market so that it can be updated as and when needed. Also, what can I do to ensure that LauncherPro is the default launcher?
I'd love to get into this. I'm not big on code editing but have no issue with doing so when needed, can anyone nudge me in the right direction?
Update #1: My first attempt failed . I was using Nfinite's Odexed NFX Rom. I tried to just change around the apps in the data/app/ folder. Also attempted to delete all the HTC Sense Widgets beforehand. (I do this after install, but I wanted to do it before.) Should I not be working with an odexed ROM, and is there some sort of signature process that I need to be using?
Pretty sure you need deodexed.
CM6 Android 2.2.1 Froyo Darchstar
Radio 2.42.01.04.27
*Bite me Sprint!
Search for avabox on these forums. It has the zip signing tool to make the zip flashable after editing it. And many other helpful tools
Sent from my HERO200 using XDA App
davec1234 said:
Pretty sure you need deodexed.
CM6 Android 2.2.1 Froyo Darchstar
Radio 2.42.01.04.27
*Bite me Sprint!
Click to expand...
Click to collapse
danaff37 said:
Search for avabox on these forums. It has the zip signing tool to make the zip flashable after editing it. And many other helpful tools
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Thanks guys! I'll give this a shot and see what happens
LiquidSolstice said:
Let me explain what I mean by "casual". I've come to find that I always end up removing stuff from custom ROMs that I don't like/don't use and end up with something much much better.
With NFX's permission (should he give it) I'd like to make a custom ROM based on my slimmed down approach, one that left me with tons of free space, lots of free RAM, great battery life, and smooth operation. I'm looking at the ROM right now, and I'm wondering; is there anything special I need to know about adding my own apks to be preinstalled with the ROM? I'd like to add Fancy Widget and LauncherPro since I stopped using the Sense Launcher. My ideal setup is one where the app is recognized by the market so that it can be updated as and when needed. Also, what can I do to ensure that LauncherPro is the default launcher?
I'd love to get into this. I'm not big on code editing but have no issue with doing so when needed, can anyone nudge me in the right direction?
Update #1: My first attempt failed . I was using Nfinite's Odexed NFX Rom. I tried to just change around the apps in the data/app/ folder. Also attempted to delete all the HTC Sense Widgets beforehand. (I do this after install, but I wanted to do it before.) Should I not be working with an odexed ROM, and is there some sort of signature process that I need to be using?
Click to expand...
Click to collapse
Like some else said you'll need the deodexed rom. Also if your altering the rom for personal purposes there is no need to ask nfinite... if you post the rom then you'll need to ask and give props.
Next you need some kind of rom manager tools so that you can sign and zip align your apk and have a flashable after you make your changes. maybe read threw the rom cooking guide on the hero wiki page also.
You most definitely what an odexed ROM. Its been a while since I messed with it, but i think you will want to place apps you want updated in /data/app. As for the default launcher, it should ask which one you want as default when you first boot into the ROM.
unCoRrUpTeD said:
You most definitely what an odexed ROM. Its been a while since I messed with it, but i think you will want to place apps you want updated in /data/app. As for the default launcher, it should ask which one you want as default when you first boot into the ROM.
Click to expand...
Click to collapse
@[email protected] Confusion. A few people above have said I need deodexed?
The only problem you will run into with odexed vs deodexed is changes to any jar files within an apk on system. Only really applies to framework level edits. Things like removing haptic or rotary lock screen or battery percentage mods, etc.
Sent from my HERO200 using XDA App
LiquidSolstice said:
@[email protected] Confusion. A few people above have said I need deodexed?
Click to expand...
Click to collapse
I meant to type deodexed. I was so tired and doing ten things at once. Didn't even reread what I was posting.
danaff37 said:
The only problem you will run into with odexed vs deodexed is changes to any jar files within an apk on system. Only really applies to framework level edits. Things like removing haptic or rotary lock screen or battery percentage mods, etc.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Ah. Nah, the only thing I'd love to experiment with is to swap out images and png files. The functionality of the ROM and its inner workings are fine . Assuming that I can remove all the HTC widgets and a few of the apps I won't be using (using LP, so Sense Widgets are unneeded), and that I can set a default launcher, and perhaps mess around with all the status bar icons/button images, that's all I want to do
LiquidSolstice said:
@[email protected] Confusion. A few people above have said I need deodexed?
Click to expand...
Click to collapse
You will need deodexed
You can always re-Odex it afterwards.
I assume you've realized this, as you have a stable odexed ROM out, but I'm putting it up for reference's sake. Don't want someone reading the thread and getting the wrong idea.
Hi!
I have been trying to extract the theme from this ROM
http://forum.xda-developers.com/showthread.php?t=869408
It looks awesome and I want to add some animations from a different ROM and use it with Darkys or Assonance for example but this seems to be much harder than I though unless someone has a quick and easy for dummies procedure for poor me that is.
It should be as easy as extracting the framework-res.apk, twframework-res.apk, mms.apk, bootanimation.zip and fonts as that is what is listed as being themed in the ROM thread. Then use the theme porter posted in the Android Themes section of XDA to inject them in your apk's, then manually change whatever didn't copy over.
rrrrramos said:
It should be as easy as extracting the framework-res.apk, twframework-res.apk, mms.apk, bootanimation.zip and fonts as that is what is listed as being themed in the ROM thread. Then use the theme porter posted in the Android Themes section of XDA to inject them in your apk's, then manually change whatever didn't copy over.
Click to expand...
Click to collapse
mmm sounds simple when you say it lol I will need to dig deep here it seems but that is a good post to point me towards the right path
I usually just extract the framework-res.apk and twframework-res.apk from the ROM I am taking the theme from and the ROM I want to put it in, then I copy the res/drawable-hdpi folder from the old apk into the new one. It is a quick/dirty method, and wont let you change font colors or add a circle battery mod to one without it, but I have never had problems with it before.
You also have to be sure it is compatible with the rom you are using. Some roms have different xml code behind and if you simply put the framework and tw framework in your rom you risk getting fc at boot and not getting past them.
Sent from my SAMSUNG-SGH-I897 using XDA App
Both are JPY Roms so I hope that is enough. I guess worst thing that could happen is having to flash again
shaolin95 said:
Both are JPY Roms so I hope that is enough. I guess worst thing that could happen is having to flash again
Click to expand...
Click to collapse
Try first with /system/framework/framework-res.apk and /system/framework/twframework-res.apk
I'm attaching a cwm zip file that has those files as found in Doc's 6.1 rom.
Just replace them with the files from whatever rom you want and keep that as a backup in case something goes wrong. It will save you from reflashing
If both are JPY roms then it shouldn't be an issue.
I tried doing what Ryukeima mentioned but I ended up with a Frankenstein of a theme as not all things from the them I wanted came over to the new one!
This is going to require some practice. That ROM has also some very nice Icons for Launcher Pro so is going to be another thing to look for..in fact I think I could be happy just getting those Icons.
shaolin95 said:
I tried doing what Ryukeima mentioned but I ended up with a Frankenstein of a theme as not all things from the them I wanted came over to the new one!
This is going to require some practice. That ROM has also some very nice Icons for Launcher Pro so is going to be another thing to look for..in fact I think I could be happy just getting those Icons.
Click to expand...
Click to collapse
Rip all the framework folder. Make a CWM zip and flash it over your ROM. It should work without problems. Then try to either apply animations on UOT kitchen or inject them with metamorph.
icezar1 said:
Rip all the framework folder. Make a CWM zip and flash it over your ROM. It should work without problems. Then try to either apply animations on UOT kitchen or inject them with metamorph.
Click to expand...
Click to collapse
Sorry for my noobness...Just trying to learn this stuff
So if i rip out all framework folders from one rom and manually replace them in another rom (like i did for kernel..replacing zimage file)...will it work?
Also, can anyone tell me how to make a CWM zip...i know there is a post for that on XDA but i am not able to find it...
viny2cool said:
Sorry for my noobness...Just trying to learn this stuff
So if i rip out all framework folders from one rom and manually replace them in another rom (like i did for kernel..replacing zimage file)...will it work?
Also, can anyone tell me how to make a CWM zip...i know there is a post for that on XDA but i am not able to find it...
Click to expand...
Click to collapse
To answer the first question, it won't straight out work. You have to add the images to the file 'framework-res.apk' in the 'drawable-hdpi' folder located within it. Different framework-res.apk's will differ from ROM to ROM, and will just FC or bootloop your phone if you use one that it doesn't like. That's why most themes have the ROM they will work with posted in the title. If it is the same base ROM (in the case of my phone, running Assonance, any JK3 theme will work), then it is as simple as drag & drop. But if it's between say Axura and Assonance, it would have to be manually changed as stated above, since there may be subtle differences in the framework.
As for the second question, here ya go
http://forum.xda-developers.com/showthread.php?t=717437
viny2cool said:
Sorry for my noobness...Just trying to learn this stuff
So if i rip out all framework folders from one rom and manually replace them in another rom (like i did for kernel..replacing zimage file)...will it work?
Also, can anyone tell me how to make a CWM zip...i know there is a post for that on XDA but i am not able to find it...
Click to expand...
Click to collapse
If the theme was made for JPY and the Rom you want to put it on is JPY, it should work. However, there are sometimes system apps which need to be installed with the theme. Easyest thing would be to rip it off, put it on your rom and see if it works. Experiment a bit, thats how you'll learn.
thanks and thanks.
Its really interesting to have a full control of your phone....so i am enjoying learning this stuff....tried using UOT kitchen but got errors...
I just want to modify notification bar...
I am on darky's 7.7...i will have to look for compatible theme
viny2cool said:
I am on darky's 7.7...i will have to look for compatible theme
Click to expand...
Click to collapse
There's plenty of jpy based themes in the i9000>theme section.
You could metamorph it if it doesn't require any xml edits... it looks like Marilyn img edits which could be taken foment that rom..
Sent from my SAMSUNG-SGH-I897 using XDA App
i have a question along these same lines. if one wanted to copy the notification pulldown from a different ROM|theme, how would you do so? im using Perception 9.5 which is built on JK3, but the Androdena theme is built on JPX files. all i want is the notification pulldown elements. can you just copy those image files over and go? i always see themers talking about 9.pngs and i was just wondering if they'd prohibit just a simple copy from one tw-framework to another.
Woohoo, I figured out how to do it! I've attached a thumbnail of the new screenshot with no clock. I have also posted the services.zip I made.
Feel free to use it, I am using it for the andromeda 3 rom....I can only say that it works for me. Use it at your own risk.
Thanks!
----------------------------------------------------------------------------
Hi, I've been trying to find a way to remove the status bar clock. But nothing I've found will work for the Andromeda 3 rom.
If someone would be so kind to edit the services.jar for me, just to remove the clock.
Please help make my sweet homescreen even sweeter!
Sent from my SAMSUNG-SGH-I897 using XDA App
Haven't done anything myself with a services.jar, though I did find the following. Here's the manual method, as well as some .zips someone made. I doubt they will work as they were made using the HTC Droid Incredible, but it was what I could find at the time. Not responsible if you try to flash these and a brick happens!
Manual method:
http://forum.xda-developers.com/showthread.php?t=780324
Droid Incredible forum:
http://forum.xda-developers.com/showthread.php?t=740502
Which froyo rom is andromeda3 based on?
Have you tried this? http://forum.xda-developers.com/showthread.php?t=943212
peachpuff said:
Which froyo rom is andromeda3 based on?
Have you tried this? http://forum.xda-developers.com/showthread.php?t=943212
Click to expand...
Click to collapse
Yup, I tried those....don't work. The rom is the Armani I9010. None of the threads have a services.jar for this (pretty sure it's JL1). I tried a couple just to see, but got boot looping. I posted my services.jar in that thread hoping for the guy to make me one, but I think that thread is pretty dead.....sadly!
I've attached the file below.
I've been looking around for a few hours now trying to figure out how to edit these xml files with no luck. I've found numerous tutorials but none of them seem to get me in the right direction. I can't get passed opening the files.
I've tried TextWrangler on my Mac and Notepad++ in Windows ... both give me a bunch of giberish.
I am able to see a few lines of txt like layout_height and textColor but there are no values listed to edit??? Maybe I'm looking at the wrong xml files?
Ultimately I'm trying to see if I can adjust the layout and txt color of the notification pulldown.
Any suggestions?
KaneOfMars said:
I've been looking around for a few hours now trying to figure out how to edit these xml files with no luck. I've found numerous tutorials but none of them seem to get me in the right direction. I can't get passed opening the files.
I've tried TextWrangler on my Mac and Notepad++ in Windows ... both give me a bunch of giberish.
I am able to see a few lines of txt like layout_height and textColor but there are no values listed to edit??? Maybe I'm looking at the wrong xml files?
Ultimately I'm trying to see if I can adjust the layout and txt color of the notification pulldown.
Any suggestions?
Click to expand...
Click to collapse
When you go to extract the apk, just decompile, DO NOT extract. (If using apkmanager)
Then I use Notepad++ for any changes. Just remember to not extract the apk, just decompile it, then go into the projects folder and it will be in there.
What XML files are you trying to edit?
spc_hicks09 said:
When you go to extract the apk, just decompile, DO NOT extract. (If using apkmanager)
Then I use Notepad++ for any changes. Just remember to not extract the apk, just decompile it, then go into the projects folder and it will be in there.
What XML files are you trying to edit?
Click to expand...
Click to collapse
What he said.
I will try to be on irc tonight if anyone wants any help with anything. I need to try to get things going myself lol!
mtmichaelson said:
What he said.
I will try to be on irc tonight if anyone wants any help with anything. I need to try to get things going myself lol!
Click to expand...
Click to collapse
I only know that because YOU told me lol!
ah, I see now ... I extracted instead of decompiling. I'll give that a try.
I'm not sure which ones to edit ... I started with status_bar_expanded.xml
I want to see if I can adjust the size of the section with the toggles and change the color of the text.
Which brings up another question ... do I edit the ones in framework-res or lge-res? or both?
KaneOfMars said:
ah, I see now ... I extracted instead of decompiling. I'll give that a try.
I'm not sure which ones to edit ... I started with status_bar_expanded.xml
I want to see if I can adjust the size of the section with the toggles and change the color of the text.
Which brings up another question ... do I edit the ones in framework-res or lge-res? or both?
Click to expand...
Click to collapse
I believe you can actually adjust the size of that by adjusting the size of the images. Try making the images wider, and leave the height the same, and it "should" shrink the images, and in turn shrink the bar.
Sent from my VS910 4G using xda premium
spc_hicks09 said:
I only know that because YOU told me lol!
Click to expand...
Click to collapse
Lol, that's what I'm here for!
Sent from my VS910 4G using xda premium
mtmichaelson said:
I believe you can actually adjust the size of that by adjusting the size of the images. Try making the images wider, and leave the height the same, and it "should" shrink the images, and in turn shrink the bar.
Sent from my VS910 4G using xda premium
Click to expand...
Click to collapse
sweet, I'll try that first ... can't make heads or tales out of these xml files
KaneOfMars said:
sweet, I'll try that first ... can't make heads or tales out of these xml files
Click to expand...
Click to collapse
Lol, they can be a bit daunting!
Sent from my VS910 4G using xda premium
spc_hicks09 said:
When you go to extract the apk, just decompile, DO NOT extract. (If using apkmanager)
Then I use Notepad++ for any changes. Just remember to not extract the apk, just decompile it, then go into the projects folder and it will be in there.
What XML files are you trying to edit?
Click to expand...
Click to collapse
Thanks.. I have been looking for this answer also
sent from my LG Revolt empowered by Fusion
KaneOfMars said:
ah, I see now ... I extracted instead of decompiling. I'll give that a try.
I'm not sure which ones to edit ... I started with status_bar_expanded.xml
I want to see if I can adjust the size of the section with the toggles and change the color of the text.
Which brings up another question ... do I edit the ones in framework-res or lge-res? or both?
Click to expand...
Click to collapse
I have been working on something myself and after several failed attempts I used UOT Kitchen, edited some files in both framework-res.apk, lge-res.apk,(using paint.net) added a wallpaper I found, installed an adw themed launcher I just have no freakin idea how to put everything in a zip to flash it in cwm. (I can add files and folders to a .zip, just need help with the scripts and all)
sent from my LG Revolt empowered by Fusion
Pics are what i have so far.. not planning on releasing this unless someone really wants it, just practicing on my own phone..
drt054 said:
I have been working on something myself and after several failed attempts I used UOT Kitchen, edited some files in both framework-res.apk, lge-res.apk,(using paint.net) added a wallpaper I found, installed an adw themed launcher I just have no freakin idea how to put everything in a zip to flash it in cwm. (I can add files and folders to a .zip, just need help with the scripts and all)
sent from my LG Revolt empowered by Fusion
Pics are what i have so far.. not planning on releasing this unless someone really wants it, just practicing on my own phone..
Click to expand...
Click to collapse
Looks good! Come on irc tonight and I can help you with the cwm script, or send me a zip with the .apks that you edited, and I can make a zip for you.
Sent from my VS910 4G using xda premium
drt054 said:
I have been working on something myself and after several failed attempts I used UOT Kitchen, edited some files in both framework-res.apk, lge-res.apk,(using paint.net) added a wallpaper I found, installed an adw themed launcher I just have no freakin idea how to put everything in a zip to flash it in cwm. (I can add files and folders to a .zip, just need help with the scripts and all)
Pics are what i have so far.. not planning on releasing this unless someone really wants it, just practicing on my own phone..
Click to expand...
Click to collapse
Looks good so far... How did you change the color of the app labels to red? Was that in UOT Kitchen?
As far as the update zip... I couldn't quite figure it out but I got it to work. There's probably an easier way, but i extracted a zip I downloaded from UOT and replaced the framework_res with my updated one. Then I used testsign.jar (requires java SDK) to sign the update.
I dont have access to the links I found for this, if someone else has a better way please let us know.
Sent from my ICS'd Revolt Bryce Device
KaneOfMars said:
Looks good so far... How did you change the color of the app labels to red? Was that in UOT Kitchen?
As far as the update zip... I couldn't quite figure it out but I got it to work. There's probably an easier way, but i extracted a zip I downloaded from UOT and replaced the framework_res with my updated one. Then I used testsign.jar (requires java SDK) to sign the update.
I dont have access to the links I found for this, if someone else has a better way please let us know.
Sent from my ICS'd Revolt Bryce Device
Click to expand...
Click to collapse
You do not have to sign the zip for cwm.
Sent from my VS910 4G using xda premium
mtmichaelson said:
You do not have to sign the zip for cwm.
Sent from my VS910 4G using xda premium
Click to expand...
Click to collapse
SWEET! Thanks.
Also, here's a screenshot of what I was working on (I missed one )
Drt that looks really nice. I think you should release it the more people for development the better!!
I've Revolted have you?
KaneOfMars said:
SWEET! Thanks.
Also, here's a screenshot of what I was working on (I missed one )
Click to expand...
Click to collapse
Try 33B5E5 for the color, it'll match better ;-) haven't been anywhere near home or my laptop, and won't be until Sunday... I like the tiny button idea a lot!
Revolting Revolution. Tapatalk.
Definitely want to release it, also I've already changed the color to match the theme but haven't had a chance to flash it yet
Sent from my ICS'd Revolt Bryce Device
I like the buttons for the notification page.
I've Revolted have you?
KaneOfMars said:
Looks good so far... How did you change the color of the app labels to red? Was that in UOT Kitchen?
As far as the update zip... I couldn't quite figure it out but I got it to work. There's probably an easier way, but i extracted a zip I downloaded from UOT and replaced the framework_res with my updated one. Then I used testsign.jar (requires java SDK) to sign the update.
I dont have access to the links I found for this, if someone else has a better way please let us know.
Sent from my ICS'd Revolt Bryce Device
Click to expand...
Click to collapse
Thanks MT.. I will try to get on.. what site and channel? The app labels I can't take credit for. I installed adw launcher and a free red theme.. would have to look it up again. That takes care of the dock and app drawer and icons and labels. I guess you would have to install adw and the theme yourself to get the whole effect.
The notification pull down menu I edited in UOT except for the gps, bt, airplane ect was just MT's Revolt icons I just colored them red from green using paint.net. I want to change the top bar icons.. just have to find some I like. The battery mod was in UOT Kitchen.
I tried to set the wallpaper as "default_wallpaper" in lge-res.apk but after replacing the lge-res.apk in /system/framework it doesn't actually set the wallpaper after rebooting. Wonder if it would after flashing if that makes a difference? or would that be in the script? Or could I only do that if I were modding a entire ROM?
I will try to do something with adw launcher so I can call it my own but lacking time right now. Thanks for the help!!
sent from my LG Revolt empowered by Fusion