Questions on Theming? - Android Themes

I tried UOT kitchen, i got security issues. Im currently running Sons of Android ROM 4.2
.2 for SGH-T989.
MY QUESTIONS:
1.) When theming, what must be compatible in order to succeed?
Like the kernel, android version, LCD density?
2.) My current phone does not support 1% battery increments in framework.apk/res/drawable-hdpi nor in systemui.apk/res/drawable-hdpi...
Can I just copy and paste 1% pngs? or would i have to use uot kitchen, ninjamorph, etc.
All I really am trying to do is edit my battery icons.
Any help would be appreciated!!

Related

[MOD] Blue Segmented Battery Indicator, STOCK JL5, CWM-flashable**12/24/2010**

Blue-segmented Battery Indicator Mod CWM Flashable zip, cooked in UOT Kitchen (online) from STOCK JL5 framework-res.apk (attached below). Please do not blame me if you brick your phone by flashing this to any ROM other than STOCK JL5. (STOCK Voodoo JL5 kernel is ok.)
Just copy to /sdcard and flash using CWM.
A perhaps more conservative approach would be to cook your own CWM flashable using UOT Kitchen (online):
http://circle.glx.nl/
XDA thread here: http://forum.xda-developers.com/showthread.php?t=775970
I say more conservative only in that the UOT Kitchen website will cook the precise version of the framework-res.apk that currently resides on your phone, thus eliminating any chance of versioning problems. This is very easy to do, even for a klutz like me. Takes all of ~15 minutes; no programming at all, just upload the framework-res.apk from your phone and download the resulting CWM flashable. Having said that, the attached flashable works fine on stock JL5.
It seems to me that this method may well represent a future trend in mod'ing, given that it is so flexible (configurable) and that the dev need only maintain a single website-based version of his/her code. Great job, QLIRATU, MENDOZINAS, AVREEN, and company!
Screen-by-screen instructions for Vibrant users, to avoid ambiguity:
(1) Make sure that you are running a deodexed ROM; otherwise this will not work. (E.g., krylon360 recently posted stock Vibrant Froyo JL5 flashables in both odexed and deodexed versions. Use the deodexed version).
(2) First Screen: I used the first version option on the first page of the website, "SCB with %, Version [A-J]". More specifically, I used Version B-White because I have black wallpaper.
(3) Second Screen: Choose "do not include icons" (that has to do with other mod'ing not applicable to Vibrant).
(4) Third screen: Choose "do not change notification status bar" (N/A to Vibrant).
(5) Fourth screen: Choose "do not include boot animation." (N/A to Vibrant).
(6) Fifth screen: Choose "not not include Windows animation" and disregard the warning in red. (N/A to Vibrant).
(7) Sixth screen: As detailed on website and in XDA thread, you can upload the version of framework-res.apk currently on your phone, or the version in the flashable zip file that you used to install your current ROM. If you do the latter, don't do what I did at first and try to upload the unzipped framework-res.apk from the flashable ROM file. You must unzip the flashable ROM file and then upload the unzipped framework-res.apk.
(7a) Note that after you upload, nothing happens until you press "Next," then the upload begins.
(8) Wait a couple of minutes for the cooking, then download cooked result from link provided and flash using CWM.
(9) It might be a good idea to un-install any previously-installed battery indicator mod (e.g., a battery indicator downloaded from Market) before installing this one, although I do not know whether this is necessary.
Enjoy!
P.S. Whatever you do, PLEASE do not donate to me. My income taxes are complicated enough as it is.
Thanks for this. Does this work on both odex and deodexed versions?
Shrivel said:
Thanks for this. Does this work on both odex and deodexed versions?
Click to expand...
Click to collapse
Reading does wonders he stated that this will only work on deodexed roms.
Sent from my SGH-T959 using XDA App
Jacosta said:
Reading does wonders he stated that this will only work on deodexed roms.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
To be fair, he only mentioned the deodexed restriction in regards to using UOT Kitchen, not for the original CWM .zip.
But thanks for the response.
How is the battery life?
Sent from my SGH-T959
Shrivel said:
Thanks for this. Does this work on both odex and deodexed versions?
Click to expand...
Click to collapse
Please see (1) in OP.
Shrivel said:
To be fair, he only mentioned the deodexed restriction in regards to using UOT Kitchen, not for the original CWM .zip.
But thanks for the response.
Click to expand...
Click to collapse
Right. This was cooked in UOT Kitchen; and UOT Kitchen only does deodexed. In general, odexed ROMs are not mod'able because parts of their applications are stored in various places.
See: http://forum.xda-developers.com/archive/index.php/t-709630.html
"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."
Nayyak said:
How is the battery life?
Sent from my SGH-T959
Click to expand...
Click to collapse
You must mean battery life on JL5? (Because this mod will have microscopic or no effect on battery life.)
As to JL5, I am in the process of investigating JL5 compared to JL4. I will post results in due course.
BruceElliott said:
You must mean battery life on JL5? (Because this mod will have microscopic or no effect on battery life.)
As to JL5, I am in the process of investigating JL5 compared to JL4. I will post results in due course.
Click to expand...
Click to collapse
I feel bad now.
I was being sarcastic. Haven't you noticed the "how is the battery life?" phenomenon ?
Can I use UOT kitchen to customize other parts of the theme of any JL5 roms, like icons of status bar, boot animation?
smartmind said:
Can I use UOT kitchen to customize other parts of the theme of any JL5 roms, like icons of status bar, boot animation?
Click to expand...
Click to collapse
I believe not, but you will need to check with the UOT Kitchen peoople.
This will not work with Axura 2.2 with JL5 stock Voodoo5 Kernel. Got me stuck into into boot ani bootloop. I flashed back a recent Nandroid and was fine.
The Kernel may be based on stock but the framework-res.apk is too modified in the Rom to run this and is not based on JL5. Custom boot ani's in custom roms are tied into battery mods and through this crap way off.
Like the op said STOCK, and that must mean completely stock not just a kernel based on stock.
The search for an accurate battery mod that I can see with Axura continues.
Nayyak said:
I feel bad now.
I was being sarcastic. Haven't you noticed the "how is the battery life?" phenomenon ?
Click to expand...
Click to collapse
That's a good one! Sorry, I am a notoriously literal engineer.
smartmind said:
Can I use UOT kitchen to customize other parts of the theme of any JL5 roms, like icons of status bar, boot animation?
Click to expand...
Click to collapse
For some phone models, yes, but not for the Vibrant/Galaxy S, I believe. Check out the website to see. (It is not my website; I simply used it to cook the battery mod.)
12paq said:
This will not work with Axura 2.2 with JL5 stock Voodoo5 Kernel. Got me stuck into into boot ani bootloop. I flashed back a recent Nandroid and was fine.
The Kernel may be based on stock but the framework-res.apk is too modified in the Rom to run this and is not based on JL5. Custom boot ani's in custom roms are tied into battery mods and through this crap way off.
Like the op said STOCK, and that must mean completely stock not just a kernel based on stock.
The search for an accurate battery mod that I can see with Axura continues.
Click to expand...
Click to collapse
I may not be following your post very well. When you say "this" will not work with Axura 2.2 w/ JL5, are you talking about the flashable zip attached to the OP, or to the method using UOT Kitchen? I believe that UOT kitchen will cook whatever framework-res.apk you are currently running. Just copy your framework-res.apk to the root of your SD card and upload it to UOT kitchen to cook-in the segmented battery mod, if you have not already tried that. UOT kitchen is very easy to use, as I described in the OP, certainly easier than "continuing the search."

Theme editing

I have a theme I really like (cozmic76_v5), but I want to change the battery icon. I have tried several methods with no success.
First question: does anyone have this theme with a circle battery icon?
Second question: If answer to first question is no, do you have any detailed instructions on how I can edit a cw flashable theme?
Thanks,
Jason.
I'd take a look at MetaMorph or use the UOT Kitchen to modify your battery at http://circle.glx.nl/.
MetaMorph is fairly safe and easy to create themes for changing images on your phone only.

[Q] Need Help modifing Framework-res.apk in 2.3.3

Hi,
I'm trying to modify the Framework-res.apk from the GPC Pure gingebread 2.0
its AOSP 2.3.3 but it dont work i did it in all versions before and it worked
i want to replace the Battery indicator with a Circle Batterie
but i always get errors and boot loops can some experience one maybe help me ? =)
i will attach the apk and the icons if someone has maybe time to look,
i would be very happy
with best regards
Alexi
hi
i had a look at your framework-res.apk
but the sys-stat-batt files are unusable
and i don't feel much for rewriting those.
so please get some workable sys-stat-batt files and i'll gladly do it for you,
however using apkmanager is really easy, so why not try it yourself.
grtz steef

Battery Percent Mod

Hi all,
A friend of mine just acquired a captivate and asked if he can get a good battery widget etc but I suggested a battery percent icon. I haven't been able to find one, however. Is it possible/does it exist for the stock rom?
The phone has a captivate rooted stock rom (baseband I897UCKF1, Gingerbread.uckf1 - let me know if you need anything else)
Thanks!
it has to be deodexed so you can edit the right files. theres a kk4 rom out there he can use as well as a guide on how to do it. or you can use the kitchen to build a pack. i forget what kitchen i used. i think its the systemui.apk and a few jar or xml files that have to be tinkered with. search for accurate battery mod.
^Nope, framework-res.apk
The images need to be added to drawable-hdpi 1 for every percent, for draining and charging, for a grand total of 200.
Then in drawable you need to edit stat_sys_battery.xml and stat_sys_batterycharge.xml to control the newly added images. The ROM does need to be deodexed, you're right about that.
Uot kitchen is great for stuff like this for beginners. Pick out your battery and whatever else you would like, upload the files, wait, download, flash, profit.
Thanks for the suggesstion! Ill give it a try.
Sent from my Desire HD using xda premium

[Q] Battery % Icon in UI?

Is anyone aware of a System UI mod to add battery percentage to the indicator for the First, without the need to install a secondary app?
Thank you. --Larry
amphi66 said:
Is anyone aware of a System UI mod to add battery percentage to the indicator for the First, without the need to install a secondary app?
Thank you. --Larry
Click to expand...
Click to collapse
A quick update:
Found the Notification Toggle app from the Play Store which does a very good job. Along with a large selection of some easy to use pull-down switches in the Notification Bar is a battery icon showing %. Actually very nice.
However, not being exactly what I was looking for I tried to use the OG Battery Icon Mod from XDA with my (mostly) stock (Odexed) ROM. It was unsuccessful.
Thinking it might be a problem with the Odexed ROM, I flashed CWM Recovery to replace my previous TWRP Recovery (for some reason the DeOdexed ROM des not flash with TWRP) and then flashed JMZ's DeOdexed v1.08 ROM. Unfortunately, I ended up the same failure when running the OGBattery Mod Tool (the tool was unable to download the systemui.apk).
Therefore, so far I am unable to make the UI modification, but am pleased to find the Notification Toggle App -- and with some help from Titanium Backup my phone is back where I wanted it, now running a DeOdexed ROM. I went back to TWRP Recovery. I have CWM on my A500 tablet, but TWRP just seems easier on the First.
--Larry
amphi66 said:
A quick update:
Found the Notification Toggle app from the Play Store which does a very good job. Along with a large selection of some easy to use pull-down switches in the Notification Bar is a battery icon showing %. Actually very nice.
However, not being exactly what I was looking for I tried to use the OG Battery Icon Mod from XDA with my (mostly) stock (Odexed) ROM. It was unsuccessful.
Thinking it might be a problem with the Odexed ROM, I flashed CWM Recovery to replace my previous TWRP Recovery (for some reason the DeOdexed ROM des not flash with TWRP) and then flashed JMZ's DeOdexed v1.08 ROM. Unfortunately, I ended up the same failure when running the OGBattery Mod Tool (the tool was unable to download the systemui.apk).
Therefore, so far I am unable to make the UI modification, but am pleased to find the Notification Toggle App -- and with some help from Titanium Backup my phone is back where I wanted it, now running a DeOdexed ROM. I went back to TWRP Recovery. I have CWM on my A500 tablet, but TWRP just seems easier on the First.
--Larry
Click to expand...
Click to collapse
You can use UOT kitchen. Just Google it. If you feel adventurous you can download my sense ROM and pull the diff battery mods I have there and push them to your device. All you need is systemui.apk. but this will only work if you are on a deodex ro.
Sent from my manta using Tapatalk 2
jmz said:
You can use UOT kitchen. Just Google it. If you feel adventurous you can download my sense ROM and pull the diff battery mods I have there and push them to your device. All you need is systemui.apk. but this will only work if you are on a deodex ro.
Sent from my manta using Tapatalk 2
Click to expand...
Click to collapse
Feeling adventurous, I downloaded your sense ROM & extracted it. In systemui.apk I see there are two (apparently duplicated) res folders and the sub-folders/files in res are also duplicated. Is this an error in the build or necessary as place-holders of sone kind. I thought I might try to replace the res folder in the deodexed ROM with this one, but it concerned me.
amphi66 said:
Feeling adventurous, I downloaded your sense ROM & extracted it. In systemui.apk I see there are two (apparently duplicated) res folders and the sub-folders/files in res are also duplicated. Is this an error in the build or necessary as place-holders of sone kind. I thought I might try to replace the res folder in the deodexed ROM with this one, but it concerned me.
Click to expand...
Click to collapse
I don't know what you mean. Can you screenshot it?
Sent from my HTC first using Tapatalk 2
jmz said:
I don't know what you mean. Can you screenshot it?
Sent from my HTC first using Tapatalk 2
Click to expand...
Click to collapse
Thank you for the response. I couldn't figure out how to attach here, so I posted a screenshot of the extracted systemui.apk from your Sense ROM at dev-host: http://d-h.st/VOr
Note that there are duplicate res folders. Also, in the res folders many of the sub-folders and: files also have duplicates, prompting my question. --Larry
amphi66 said:
Thank you for the response. I couldn't figure out how to attach here, so I posted a screenshot of the extracted systemui.apk from your Sense ROM at dev-host: http://d-h.st/VOr
Note that there are duplicate res folders. Also, in the res folders many of the sub-folders and: files also have duplicates, prompting my question. --Larry
Click to expand...
Click to collapse
@jmk : After the confusion (to me) I tried a couple of more things:
1. Replaced systemui.apk in stock ROM with the systemui.apk from your Sense ROM. That did give me a Sense horizontal battery with %, but was too small to see. I was hoping for the percent circle.
2. I used UOT Kitchen to attempt to make the modifcation, but Kitchen returned a SHTF error, so no results yet.
Success!
I loaded & set up JMZ's Sense ROM with the icons I wanted, then copied systemUI.apk to the sdcard. After restoring my "stock" ROM I renamed the systemUI.apk in /system, then copied the one from the sdcard to /system & reset the permissions. I now have my desired battery icons!
@ jMZ: Thank you for the guidance. --Larry

Categories

Resources