What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Framework help.. for theming it

xkape

Premium Member
Premium Member
Theme Developer
OK, just thought I would share this incase you run across it. Took me a little while to figure out so I thoguht I could save someone some frustration. I have only attempted to theme the stock deodexed ROM by Fabolous. It may be this way on others, dunno.

When you decompile the framework, I don't think something with our current tool set knows how to handle the new stuff so, it renames things it doesnt understand. THen when you recompile (and it will successfully) and install it completely messes stuff up. The issue I ran across was when theming the lockscreen images. While they are there in the drawable-xhpdi folder, they are not the ones you need. The ones you need are in a folder called drawable-xhdpi-v13. Problem is, that folder doesn't exist in the original uncompiled ROM. So, you have to rename it back to what it should be called which is drawable-sw600dp-hdpi.

Don't know if there are more but, just getting this out there for people trying to make themes.

Please feel free to share any other experiences or things you have learned in this thread about ICS quirks.

Thanks.
 
THANK YOU FOR THIS!!! My lockscreen and settings are all effed up lol. I hadn't looked into why yet because i've been too busy and now i hope i won't have to! lolz. I figured i screwed up an xml in framework somewhere

I'm currently working on theming ARHD rom but am thinking about changing to Th3ory rom (I think that's wut it's called lol). if he doesn't update every damn day that is lol
 
OK, just thought I would share this incase you run across it. Took me a little while to figure out so I thoguht I could save someone some frustration. I have only attempted to theme the stock deodexed ROM by Fabolous. It may be this way on others, dunno.

When you decompile the framework, I don't think something with our current tool set knows how to handle the new stuff so, it renames things it doesnt understand. THen when you recompile (and it will successfully) and install it completely messes stuff up. The issue I ran across was when theming the lockscreen images. While they are there in the drawable-xhpdi folder, they are not the ones you need. The ones you need are in a folder called drawable-xhdpi-v13. Problem is, that folder doesn't exist in the original uncompiled ROM. So, you have to rename it back to what it should be called which is drawable-sw600dp-hdpi.

Don't know if there are more but, just getting this out there for people trying to make themes.

Please feel free to share any other experiences or things you have learned in this thread about ICS quirks.

Thanks.
Just curious: What tool are you using to decompile the framework? I used apktool to decompile framework-res of RootzBoat v6.1 and I am not seeing that v13-folder, I do have a drawable-sw600dp-xhdpi folder though.
 
quin... can you recompile it or do you get multiple substitution errors?
 
ok so you are able to decompile and your folders remain named correctly? And recompile without error? lol.. ok I need YOUR apktool!

Mine worked a couple days ago but then it started keeping the correct name instead of changing it to that v13 I was telling you about. Once that happened, it wouldnt recompile anymore. So Im doing a major workaround over here involving apktool.jar 1.4.1, renaming folders, adding folders back in that were lost.. on and on... sucks... im still missing something too because settings is back to a 3 pane window. So i still have more to move over. Once I get it built up I wont have to do all that again though because in order to make something work it has to be decompiled and recompiled with the same apktool. So, once and done from then on.
 
ok, which sdk are you on? maybe I havent updated? I dunno..lol tried about everything i could think of.
 
and you are using apktool 1.4.3 ?? you mentioned 1.4.1 earlier, so just making sure ...

to be more specific: you are NOT using apk-manager or apk-multi-tool, right?
 
yeah i just stuck apktool.jar 1.4.3 in there and updated my sdk as of an hour ago. Still getting the multiple substitution issue. Its ok, the apktool.jar maker said it was an issue and it needed fixed.
 
Back
Top