I'm currently working on a Honeycomb theme for ICS. I really prefer HC's UI style but I still want the features of ICS. I'm running into some obstacles though.
I'm directly modifying SystemUI.apk and framework-res.apk. Is there a better way than this?
9-patch PNGs are giving me issues. I've figured out how to use draw9patch but I can't get the PNGs to compile properly. I need one for the notification clock panel but I can't figure out how the 9-patch should be because I can't decompile either.
I've searched for about 3 days but I can't find help on how to decomiple and then recompile ICS APKs with apktool. Does anyone have a good source?
Would anyone else be interested in this mod? I'll try to figure out how to make a CWM ZIP if there's demand.
armada786 said:
I'm currently working on a Honeycomb theme for ICS. I really prefer HC's UI style but I still want the features of ICS. I'm running into some obstacles though.
I'm directly modifying SystemUI.apk and framework-res.apk. Is there a better way than this?
9-patch PNGs are giving me issues. I've figured out how to use draw9patch but I can't get the PNGs to compile properly. I need one for the notification clock panel but I can't figure out how the 9-patch should be because I can't decompile either.
I've searched for about 3 days but I can't find help on how to decomiple and then recompile ICS APKs with apktool. Does anyone have a good source?
Would anyone else be interested in this mod? I'll try to figure out how to make a CWM ZIP if there's demand.
Click to expand...
Click to collapse
Pm me , I can give you my work shop that I setup for Ics.
And there is a better draw 9 patch tool , but it is not free.
But I gotta tell you now, I can help but I won't hold your hand with every step.
Don't have the time and the time I got goes to the theme building for flexreaper.
Related
I'm about to release dxTop, which is a Launcher.apk replacement. My next feature that I want to implement is applying a theme. I was hoping someone could send me a there material for there theme so I have some images to work with. I'm looking for the images for the Launcher.apk and all the icons for the default apps. (I figure I could also replace the icons for users who don't have root)
Just PM me if your willing to help, and thanks in advance.
Thanks,
John
All you need to do is open up any theme's update.zip and extract launcher.apk and open that as a zip as well. It's gonna be filled with resources that other people have probably skinned. I'd start with the Buuf skin because it seems to be one of the most complete.
Man, I wasn't thinking clearly, thanks
Yes a great start would be BUUF, it has the most complete theme mods i Ihave seen to date.
Hi,
I kno I've posted this in Q&A but maybe there is one super developer who can help the community getting there 4 lockscreens?!
Currently there only exist two types of lockscreen for the sgs i9000. AOSP or samsung glass.
For the Vibrant on the other hand, some people (untermensch ) have managed to get 4 lockscreen types:
AOSP lockscreen
Glass lockscreen
Puzzle lockscreen
Epic lockscreen
More info in this topic: http://forum.xda-developers.com/showthread.php?t=838260
It must definitly be possible to port this to a froyo rom on our SGS but it has taken me a lot of time allready and have not progressed one bit.
Frustrating indeed.
I managed to decompile the android.policy.jar using the command: java -jar baksmali.jar -x android.policy.jar -o android.policy
I added the epic classes from the source zip file in the earlier mentioned post.
I recompiled ((java -jar smali.jar android.policy -o classes.dex) it again and at least no errors at this stage.
Next I tried to decompile the framework-res.apk.
Got errors from apktool, saying that it can't decompile a nine patch image. The nine patch image does not contain a nine patch chunk (so not really a nine patch but png with .0.png extension?)
Tried a lot of things, options, google, this forum but failed to find a solution.
The same thing with the Settings.apk, same kind of error, no solution.
I must be doing something wrong here and have come to a point that I cant figure it out anymore.
I believe that a lot of people would be interested in this kind of thing and this is something achievable.
If somebody could take a shot at this modification please, it would be so awesome to have this for Darkys rom or Docrom v9.
ps.i do remember that some id's of resources need to change cause there are some duplicates somewhere but don't remember which one where.
The source codes that untenmensch provided contain all the information. Though haven't tried it, but it is comprehensive enough.
Try using apk manager to decompile the framework-res.apk, and you use baksmali and smali for the settings apk.
Use stock apk, instead of modded ones.
Sent from my GT-I9000 using Tapatalk
laboratik said:
Next I tried to decompile the framework-res.apk.
Got errors from apktool, saying that it can't decompile a nine patch image. The nine patch image does not contain a nine patch chunk (so not really a nine patch but png with .0.png extension?)
Click to expand...
Click to collapse
to decompile framework-res use this: http://forum.xda-developers.com/showthread.php?t=745189
I use it for my personal rom and works better.
apktool or apkmanager don't work better with samsung framework-res,because Samsung don't respect the standard image and there are a lot of errors that can you correct using draw9patch from SDK,but in this way must edit all pngs...and they are a lot.
texture said:
to decompile framework-res use this: http://forum.xda-developers.com/showthread.php?t=745189
I use it for my personal rom and works better.
apktool or apkmanager don't work better with samsung framework-res,because Samsung don't respect the standard image and there are a lot of errors that can you correct using draw9patch from SDK,but in this way must edit all pngs...and they are a lot.
Click to expand...
Click to collapse
doesnt really help as it still uses apktool. I tried to build the lockscreen mod for my ROM with it
just delete them.nothing will be happened
Hi.
When replacing framework-res .apk with another one,
does the framework has to be compiled from the same
rom or can i use a framework-res .apk from another rom?
Also what do i have to edit to be able to change the
settings?
Like adding colour or making it look like iphone or ICS.
Thanks
androidboss7 said:
Hi.
When replacing framework-res .apk with another one,
does the framework has to be compiled from the same
rom or can i use a framework-res .apk from another rom?
Also what do i have to edit to be able to change the
settings?
Like adding colour or making it look like iphone or ICS.
Thanks
Click to expand...
Click to collapse
The Framework-res.apk has to be compiled from your actually ROM, cause this have the entire UI System and features from the ROM.
If you want to costumize the color, forms and styles, you have to descompile "SystmeUI.apk" with the framework-res.apk from the same ROM. I Guess.
Just wanted to give back to the community and went ahead and pulled the new ASUS Day Scene Apk from the new update for the Prime to are OG Transformer. All you have to do is use rootexplorer or adb and push to system/app and set permissions like the original one and make sure to remove the odex file from the original day scene and reboot thats it. Here is the link just post a comment and let me know how it went.
http://www.mediafire.com/?aro26bhbacoli2z
Thanks. So it adds 2d effects on top of asus wallpapers. Pretty nice.
Anyone have any idea how to make it work on non ASUS roms?
Could you by chance add the necessary ASUS libs. I can't get it to launch on Code Name Android v.1.5.5 due to the missing libs. Thanks
only stock ROM's for now.
yourtravelboy said:
Could you by chance add the necessary ASUS libs. I can't get it to launch on Code Name Android v.1.5.5 due to the missing libs. Thanks
Click to expand...
Click to collapse
Right now it will only work if your using stock or a ROM made from the stock ROM as it has the libs your talking about. I got the apk from the virtuous prime rom so I would start there by downloading it and looking inside the zip for anything that will help you with installing it on a ASOP ROM, good luck and let me know how it works.
Do you have to be rooted?
yes you must be rooted
Yes you must be rooted.
Anyone have ANY IDEA how to make this work on non Asus roms? On CM9, it just shows a black background with overlay 2d effects because it's unable to get the wallpapers.
horndroid said:
Anyone have ANY IDEA how to make this work on non Asus roms? On CM9, it just shows a black background with overlay 2d effects because it's unable to get the wallpapers.
Click to expand...
Click to collapse
I took a look inside it and all it has is the _small wallpapers so i would assume you would need to essencialy use your own tutorial to work the wallpapers into the launcher or sideload the asus launcher2
or you could edit the xml's to change the path to inside the app its self and put everything in there
mrevankyle said:
I took a look inside it and all it has is the _small wallpapers so i would assume you would need to essencialy use your own tutorial to work the wallpapers into the launcher or sideload the asus launcher2
or you could edit the xml's to change the path to inside the app its self and put everything in there
Click to expand...
Click to collapse
Yea I've seen that. It just has the small thumbnails. I really wish I knew how to program right now.
I've tried decompiling and recompiling the default launcher of CM9 to add asus wallpapers with their original name and edited array.xml so they all show up correctly in wallpaper picker but the live wallpaper still doesn't see them.
horndroid said:
Yea I've seen that. It just has the small thumbnails. I really wish I knew how to program right now.
I've tried decompiling and recompiling the default launcher of CM9 to add asus wallpapers with their original name and edited array.xml so they all show up correctly in wallpaper picker but the live wallpaper still doesn't see them.
Click to expand...
Click to collapse
Pretty sure it is looking for them in launcher2 not the default launcher so that may be the issue
mrevankyle said:
Pretty sure it is looking for them in launcher2 not the default launcher so that may be the issue
Click to expand...
Click to collapse
How would you go about loading launcher2 into memory or force the ROM to run it?
Simply placing launcher2.apk in system/app didn't work. I tried to run it but it won't.
If anyone has problem decompiling asusdayscene.apk, use the hacked jar posted here http://code.google.com/p/android-ap...Type Status Priority Mi lestone Owner Summary
This thread picks up where "[MOD] [SYSTEMUI] Enable Wifi Toggle / Reconfigure and theme toggles [ICS Blue!]" leaves off. See post #174
Alright guys so here's the deal. The *proper* way to remove the location icon, battery full notification, and/or clock is through a smali edit. Smali files are contained in dex files and jar files. Our stock rom is an odexed rom meaning that the dex file is specifically optimized for our device; its also signed. So in order to change anything, the steps are:
1) Pull core.jar, ext.jar, framework.jar, android.policy.jar, services.jar, services.odex
2) Disassemble the services.odex file
3) Decompile smali files and compare decompiled source to smali code to find correct values
4) Make edits to smali
5) Recompile smali files
6) Repackage odex file
7) Pull signatures from original odex file
8) Use them to resign new odex file
9) Push back to phones
10) Repeat for each version of the statusbar mod
As you can see this takes a very long time and is rather tedious. Work is pretty significantly reduced by using a deodexed rom.
I would like feedback from people regarding whether beans-only support is suitable or if this project should be elevated to a full rom. I have a feeling that even if I do just these couple of edits there will be more that require deodexing the services.
More detailed POLL options
1) Continue work with Beans support only (immediate)
2) Elevate project to full ROM status and introduce a new rom to the scene (requires time and preferably a team)
3) Just do the battery full mod and the location mod and forget any other status bar icon mods. (including removing battery/clock)
4) Leave the statusbar icons alone until a source-built rom is made available
5) (forgot to include) "Hack" solutions such as removing the png files
Delete
#3
Sent from my Commodore 64..
READY.
load"*", 8,1
1
Edit: Definitely just support deodexed roms. Way too much work for odex and if people are into modding their phone they should be deodexed anyway Imo.
Sent from my SGS3
3
Sent through Mental Telepathy...or my TF201
I say just provide support for Deodexed roms (not specifically only Beans Rom though). No reason to put you through all that time and effort of working on a stock Odexed rom.
Thank you again for your work. It is certainly appreciated by us all!
Hypnosis4U2NV said:
#3
Sent from my Commodore 64..
READY.
load"*", 8,1
Click to expand...
Click to collapse
Off topic but I like that Sig was my first computer
Sent from my SCH-I535 using xda premium
1!!!
Sent from sexy a** Galaxy S III
i vote whatever is easier for you. i am sure i am with the many here who appreciate what you've done and will appreciate what you will do in the future
but i asked in another thread and just saw you mention it but i tried playing around with some xml files and wasn't able to remove clock from status bar so a how to would be greatly appreciated if you or another more qualified individual has the time. if not no worries
i say 1 LOL