DK28 vs EB13 - Theme File Question - Epic 4G Q&A, Help & Troubleshooting

I have been working on "porting" the theme and mods I like to the new EB13 framework. After hitting the wall several times tonight I decided it was time to go back to DK28 for now.
Then I had a thought...
I threw in the 4 files from DK28 which control the theme and mods of my liking... they are
android.policy.jar
services.jar
framework-res.apk
twframework-res.apk
They worked perfectly. Phone booted right up exactly how I used it on DK28.. with EB13's /system (excluding those 4 files of course), kernel, baseband.
So my question.. What are the opinions of those 4 files having any kind of impact on the phones performance and stability between DK28 and EB13. Decompiled versions of these files looked nearly identical in Winmerge. Small very minor differences here and there in xml.
I appreciate the opinions. I understand going to EB13 frameworks is the ultimate goal, but your opinions will determine how urgent of a matter it is
Things seem just fine. (And still fast as hell )
Thanks,

Related

[Q] Flashables?

first, i apologize if this is in a few threads all over these forums. ive tried reading through most but they are cluttered and outdated.
i have been looking for a few theme/mods in flashable form to use on a rooted stock/RUU rom.
i have been messing around with other roms trying to edit my own but it's becoming a very large hassle without a proper desktop and internet connection.
anyways, if anyone could point me to a thread with a working flash or tutorial for:
white taskbar (possibly similar to mikfroyo's theme)
battery icon with % (not metamorph files)
again, sorry if this information is in an obvious place, i cant seem to find it. thanks.
shutupRoman said:
first, i apologize if this is in a few threads all over these forums. ive tried reading through most but they are cluttered and outdated.
i have been looking for a few theme/mods in flashable form to use on a rooted stock/RUU rom.
i have been messing around with other roms trying to edit my own but it's becoming a very large hassle without a proper desktop and internet connection.
anyways, if anyone could point me to a thread with a working flash or tutorial for:
white taskbar (possibly similar to mikfroyo's theme)
battery icon with % (not metamorph files)
again, sorry if this information is in an obvious place, i cant seem to find it. thanks.
Click to expand...
Click to collapse
the battery icon one you can find in my sig, the links is for stock de-odexed ROMs though. If you have another ROM look at the OP for different versions of it
thanks so much!
Actually this one may work better for you, the other one was for an older version and is glitchy so I added the battery icons to the new framework.
Stock 3.30.651.2 Battery % Icons
Note: Be sure to wipe cache & dalvik before rebooting.
the 2nd file worked perfectly, thanks.
if anyone has a tutorial or flashable white task bar mod please inform me. thanks again.
hey shutuproman dude. you need a de-odexed rom to theme. this means .odex files that hold stuff for each .apk won't contradict the apk, causing massive force floses, and reboot. find a de-odexed rom, and you can flash whatever the hell you wnat.
dkdude36 said:
hey shutuproman dude. you need a de-odexed rom to theme. this means .odex files that hold stuff for each .apk won't contradict the apk, causing massive force floses, and reboot. find a de-odexed rom, and you can flash whatever the hell you wnat.
Click to expand...
Click to collapse
You may be able to get away with it if you delete the .odex file, I've never tried it though. If it works it could easily be added to the updates script so it is done automatically.

Make themes for kitchen

I have trying to get themes to run in the Doc and Stefunel kitchen.
This is a pretty demanding task. Many (almost all) themes can not be used as is due to a non standard resources.arsc and 9.png errors.
There is some theme pro's here.
We like to find a some kind of way to enable any theme inserted in a rom.
Any ideas to make this in a easy way?
/Doc
No one here any ideas? I already proposed someone make a theme kitchen and integrate it with Doc's rom kitchen but apparently all the smart guys that got time and would know how to do that bought a Desire.
Which takes us back at doc's original question someone knows a fail-proof way to integrate themes into roms without having to flash a post-install zip?
Hi Doc,
i know this isnt way you want, but probably it can work:
What about make some script, witch will do:
1) after flashing ROM and start android - reboot android to recovery
2) (i dont know if it is possible) make script for CWM witch will automaticaly flash theme and reboot to system
If Im wrong .. ignore this
schiphol said:
Which takes us back at doc's original question someone knows a fail-proof way to integrate themes into roms without having to flash a post-install zip?
Click to expand...
Click to collapse
I've never need a post-install script to put a theme into a ROM.
Except for the JPY Gingerbread, but me and XGX got that hammered out in the thread in the Captivate forum and it works just fine without a second .zip.
MikeyMike01 said:
I've never need a post-install script to put a theme into a ROM.
Except for the JPY Gingerbread, but me and XGX got that hammered out in the thread in the Captivate forum and it works just fine without a second .zip.
Click to expand...
Click to collapse
Hi, any link to point in right direction is most welcome
I've merely dropped the framework-res.apk and twframework-res.apk into the /system/framework. And any other files like android.policy.jar that goes with it.
For JPY, I had to take a few extra steps:
http://forum.xda-developers.com/showpost.php?p=10258171&postcount=328

[REQ] Stock EB13 Deodex Template with Power Mod, 1% battery, No Pop Up.

I am far from knowing how to get this going myself so I hope that one of the themers on here might oblige me by making this possibe. I like running stock for a bit since I am new to the Epic. But I would like the ability to have Reboot and Recovery from the Power Menu as well as the 1% battery option as well as No battery pop up from a stock deodexed template. I would still like all stock apps to remain in place as I remove those at my own leisure via root explorer or 7-zip prior to applying the zip. I am rooted and have no worries there but I have no idea how to get the .xml files edited or add any of these features. Especially on Froyo. Thanks in advance for the read and hopefully assistance! I am all for testing as well so...
I am really surprised that no one else seems to want this. If someone is able to do it can you include the camera fix and call log fix unless those are kernel issues which a kernel is taking care of it already. Please someone help us out!
latinmaxima said:
I am far from knowing how to get this going myself so I hope that one of the themers on here might oblige me by making this possibe. I like running stock for a bit since I am new to the Epic. But I would like the ability to have Reboot and Recovery from the Power Menu as well as the 1% battery option as well as No battery pop up from a stock deodexed template. I would still like all stock apps to remain in place as I remove those at my own leisure via root explorer or 7-zip prior to applying the zip. I am rooted and have no worries there but I have no idea how to get the .xml files edited or add any of these features. Especially on Froyo. Thanks in advance for the read and hopefully assistance! I am all for testing as well so...
Click to expand...
Click to collapse
I am looking into themeing for myself, but on the guide it says I need the stock deodexed template... How would I go about to getting that? Is their away I can get it from my phone? I am running truleyepic EB13 ROM. & it looks as if his theme is stock. Any help would be appreciated.
latinmaxima said:
I am far from knowing how to get this going myself so I hope that one of the themers on here might oblige me by making this possibe. I like running stock for a bit since I am new to the Epic. But I would like the ability to have Reboot and Recovery from the Power Menu as well as the 1% battery option as well as No battery pop up from a stock deodexed template. I would still like all stock apps to remain in place as I remove those at my own leisure via root explorer or 7-zip prior to applying the zip. I am rooted and have no worries there but I have no idea how to get the .xml files edited or add any of these features. Especially on Froyo. Thanks in advance for the read and hopefully assistance! I am all for testing as well so...
Click to expand...
Click to collapse
Here is one link to a rooted deodexed stock install and there are a few others in Android Developement. Then you can add battery mods to that.
http://forum.xda-developers.com/showthread.php?t=853209

[Q] deodexed vs odexed?

what is odexed and deodexed?
"Deodexed ROMs have their .apk's (which are basically the application packages) repackaged in a certain way. An "odex" can be thought of as a collection of parts of applications that have been pulled out and optimized before booting. This speeds up the boot process - in a way, it preloads part of the applications - but it also makes hacking those apps difficult because part of the original code is already extracted somewhere else.
Deodexing is just a process of putting those pieces back into the original applications. It takes a while to extract those parts and build the .dex cache (aka Dalvik cache), but only because the relevant parts aren't in an easy-to-access place for the system. The advantage of this is that an app can be modified effectively and the developer doesn't have to worry about conflicts from the separate odex part of the code.
So, short version: "Deodexed" ROMs have all their apps put back together. If an app can be themed, for example, a deodexed version of that app will not get messed up when the modified .apk tries to mesh with the odex of the original un-modified .apk. Because it's not there.
If you want an aftermarket theme, you need a deodexed ROM. I'm not sure if deodexing can be done to individual apps within a non-deodexed ROM."
Taken from PPC Geeks
You've probably seen a few odexed ROMs popping up... there will be more and it should be the way to go these days... simply put, odex is better for optimizing and speed, all while keeping sense functional. The stock ROM out the box is odexed. It is also the most stable.
Most ROMs out right now are deodexed for modding and theming purposes.
As of late It has been perceived that it was not possible or just too difficult to theme and mod an odexed ROM. I believe the developer Aamikam has come up with a way to not just use his optimizations and tweaks from his previous ROMs but also add custom mods and themes all while keeping the ROM odexed...
I may be wrong but most if not all of the newer themed odexed ROMs out are off of his base.
Thanks alot guys! Very helpful!

[Q] How to theme resources.apk?

Does any one know how to theme the htc resources with out crashing? im theming MikG 3.11, but every time i theme the resources, it crashes on the weather widget. any help?
Hmmmm.
What are you using to theme it? Have you extracted the resources and right clicked an image and tried using a paint shop program then simply painting over the images? Thats what I am doing on CM7 and did some cool stuff with the widgets and MMS on the latest build (such as blach background and neon edges). What OS are you using? I'll try it since I wanna theme sense now. I'm too new to XDA to post my new roms. I'm focusing on stability and HD modifications but like your idea
alexthesniper21 said:
Does any one know how to theme the htc resources with out crashing? im theming MikG 3.11, but every time i theme the resources, it crashes on the weather widget. any help?
Click to expand...
Click to collapse
First thing you will need is an apktool then folow the directions to install the proper framework. Then use paint, photoshop, or gimp to make your changes. Be careful of anything that ends in .9 as these are special pngs and need to be handled differently. I used to theme Sense but stopped due to having to rewrite to many files for the changes I needed and have moved on the AOSP based roms which are much more straight forward.
Thank blaz1nr for this, all info he passed on to me, Hope it helps you,,,Later,,,
When you start working on transparency. The status bar/footer should be 20% less transparent than the background. Header starts at 10% less than background. Pop ups are where is gets a little harder. They must be opposite each other (ie) black/white text or white/black text. Black looks better but is more of pain. Make sure to keep pop ups slightly transparent, you should be able to see through them a little. Once you have the first one done then you be able to see what % to change and where,but these are good starting points. Status bar/header/footer should be the 3 darkest. It should look something like this. Status/[email protected] 60%, [email protected]%,[email protected]% pop [email protected] to 80%. So 100% is solid as you move down towards 10% it gets more see through.
PART 1:
Im going to to try to sqeeze this down as much as possible.Basically I'm gonna give you, the how to do stuff.Then I'm going to give the short cut's to figuring out what to do.First your gonna need some stuff.
1 Java EE jdk, jre
2 Apk tool
3 Android Sdk
4 Eclipse IDE
5 7 Zip
6 M10 editor
7 Cygwin
8 Android Kitchen
9 Notepad++
10 Alot of patience
Listed above is everything needed to build or theme a rom.
You wont need android kitchen or cygwin,if you just want to theme.You will need everything else.
This is a easy way to learn how to set up android kitchen so you can build your own roms from unrooted stock roms----> http://www.androidmerom.com/2012/01/11/4/
How to dev correctly----> http://forum.xda-developers.com/show....php?t=1273044
Porting things like clocks or widgets---> http://forum.xda-developers.com/show....php?t=1222746
Adding transparancies to status bar(its in the galaxY s forum but this is what you do) http://forum.xda-developers.com/show....php?t=1327565
Learn how to recompile and decompile apk's first,Since this is a sense rom, you need 3 things to do this,SystemUi.apk,its in system/apps,
framework-res.apk & com.htc.resources.apk, they are in system/frameworks
PART2
Ok so now I'm gonna give you a bunch of info that will speed up your learning of what to do.
Since this is a sense rom, When you decompile SystemUi.apk it needs dependencies.These are the two apk's you got from system/frameworks.Learn how to use apk tool there's guides everywhere when its time to add dependencies you need to use both of these commands in cmd. apktool if framework-res.apk,apktool if com.htc.resources.apk, i cant stress enough that you first learn building apk's and how to use apk tools. once you know how apk tools works the commands earlier will make sense.Learn how to push your new apk to your phone with sdk.
A system app cannot just be dropped in the system. Unless your rom zip is open and your building it. Here come's the good stuff, when your trying to do something like move you clock to the center of the status bar.What you can do is decompile the apk's from earlier out of a rom that has a feature you like.Open it and find what files you need, copy them to your desk top. Now find the same files you need to change in your rom and look through them to see whats different in yours that you need to change(Notepad ++ is used for this/also M10 editor). 7zip will be your best friend from here on out.In 7zip all you need to do is click open archive. now you can add or remove anything you want,when your done just close it.This works for every zip file.UOT kitchen can be used to do a small amount of theme work.
Build.prop work is done the same way using notepad++. Say you built your own rom,but your not sure how to get your rom name or add 3g/4g/wifi tweaks or hardware acceleration or what ever.There's a lot that can be done in a build.prop that will do some major magic.you could compare mine to yours and see whats different and make changes.Use common sense here.Don't just go changing things if you don't know what it is first. That's it all you need to know right there to get you started. Now all you have to do is search around for whatever it is you want to do. locate the things you need to change and your on your way.
Although basically I've given you everything you need to get you stared.Not everything can done by simply changing lines of code in one spot some things have files located in multiple location that will need to be edited so...RESEARCH RESEARCH RESEARCH.Remember don't be a **** and steal someone's thunder,just so you can say you built a rom. Give props and ask the other dev's if you want you use something they worked hard making.

Categories

Resources