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."
Before I get started, I understand the difference between an odexed rom and de-odexed rom. I understand what that means for themes.
But my question is, is there way to rebuild the odex file for an apk?
The story is, I'm on a Stock 2.1 Rom on my Samsung Captivate. I've changed fonts around already. But I want to add some framework animations, similar to the ones found in a few custom ROMs. I understand that with APK manager I can decompile an apk so that changes can be made. I also understand that because my ROM is odexed that I can't just put the apk back on the phone and everything will be fine.
Isn't there a way to take a de-odexed apk and make an odex file for it so that it can work again?
i really wish someone had answered this.. because i'm in the same boat. I'm using Gingeritis... an odexed rom for my tbolt. LOVE it. but i want to theme it. and its odexed and idk wtf to do
traumahawk said:
i really wish someone had answered this.. because i'm in the same boat. I'm using Gingeritis... an odexed rom for my tbolt. LOVE it. but i want to theme it. and its odexed and idk wtf to do
Click to expand...
Click to collapse
In a odexed ROM (not sure if using properly the word, I mean a ROM with apk and odex files) You can change the apk and odex files of the file (delete both) and put in a deodexed apk (framework-res.apk for example) of a deodexed ROM (not just deleting the odex. You need to fins a deodexed ROM, then pick the .apk
It will probably work (most devs do that and I have done that too with framework-res.apk and other system apk. Just change apk and odex for a "full" apk of another deodexed ROM
Hi everybody ..
Arabic users always want to use wonderful Roms like CM7 and other Roms but they stop with no Arabic support ..
her the solution
thanks to madmack
http://blog.devasque.com/?page_id=11
I try it .. and it was perfect i use it with cm7 and iceandfire ..
it was work perfect.. just apply patch to framework.jar .. and use libwebcore.so all will found in zip file there
for those can't open link .. steps of arabic shaping
framework.jar takes care of shaping texts in android on all texts except Gmail and the browser.
Note: Please perform a nandroid backup of your system before attempting to use this patch.
Requirements:
Your device needs to be rooted.
Your Android version is 2.1 or newer
Your ROM needs to be deodexed. To find out if your installed ROM is deodexed, navigate to /system/framework on your phone. If you see a file called framework.odex then this patch will NOT work for you.
Steps to apply the patch:
1. Download the patch below and extract it to a folder on your computer.
2. Pull /system/framework/framework.jar from your phone and place it in the subfolder framework that you extracted in step 1
3. Double click on commands.exe. Do not close the black cmd screens that will pop up. Once the patch is done, you should get a patched framework.jar in the subfolder generated
Verify that the generated framework.jar is bigger than the original framework.jar that you pulled from your device. It should be about 1MB larger.
4. In subfolder generated: Place the generated framework.jar in your phone in /system/framework and reboot
I’ve also included the Aljazeera fonts in fonts. You can place these in /system/fonts and reboot
Sometimes permissions and xml data doesn’t get updated correctly resulting in corrupted data entries. If you receive a bunch of Force Closes after a reboot, you’ll need to Factory Reset.
Note: This will not shape the letters in Gmail and the Browser correctly. If you want this, you’ll need to get the appropriate libwebcore.so for your system. Each Android device and ROM will need a separate one, therefore I’m not including one in this post to avoid confusion.
v. 0.789
http://www.multiupload.com/868WFGNER6
v. 0.785 << this one i use
http://www.multiupload.com/V98TYUHUO1
THANX
Great Job
Thank u very much
now i can use CM7 with it's fantastic features plus full arabic support
except for hardware keyboard
thanx again
regards
would you please write the solution here as the link to blog does not work for me!(by giving credits to madmack)
oops ..
its look like network error .. link temp not work..
when i ll reach home i will upload the files and the method in the post ..
wait few hours ..
Thank you for putting this widely open to the international community.
All the credits to our friend Madmack for the great work.
I've been using this in Arabaizing all the goodies here & hope to find a way for Odex systems..
I hope developer use the patch to support arabic in there great roms here
thanx alot for this post. it is realy helpful.
I have a question, or two ..
is the CM7 a rom for Froyo or Gingerbread??
I am still using the Official Eclair and I am planning to root my phone. if you would list the way to Upgrade the Milestone to CM7 from scratch and then Install Arabic..
3mar84 said:
thanx alot for this post. it is realy helpful.
I have a question, or two ..
is the CM7 a rom for Froyo or Gingerbread??
I am still using the Official Eclair and I am planning to root my phone. if you would list the way to Upgrade the Milestone to CM7 from scratch and then Install Arabic..
Click to expand...
Click to collapse
CM7 is GB AOSP with Moto Froyo kernel.
IF you want to upgrade to CM7 procedure would be as follows.
Flash GOT 2.2.1 sbf
Apply CM7
Apply your Arabic patch.
thnx alot sileshn ,,
do u recommend the CM7? or an earlier Rom? the CM6?
Can't we just copy-paste your Framework.jar file using root explorer, like with libwebcore.so?
Thank u very much
hi
?
i just want to know that how to convert Odex to deodex kindly help. also pls tell me whats the diff. btwn odex, deodex & Zipaligned ???
To deodex a rom there are several tools.
I use dsixda kitchen which can be found on xda. This will deodex zipalign etc.
Deodex offers benefits when using themes etc as stock roms have both the app and classes.odex file. Deodexing reorganises into a single apk file. That's the simple explanation.
When deodexing make sure you pick correct api level
Gb is api level 10
Ics is api level 15
Jb is api level 16
This can be set in the kitchen by selecting option v I believe before deodexing both folders
If you take a look in my rom thread in development I have posted a complete YouTube guide in how to do the above and create a custom rom for the note from scratch
Just look in the Cassies xtraliterom thread
Sent from my iPad Mini using Tapatalk HD
Hi guys, im going to download 6.09.401.12 stock rom, but i found 2 versions odexed and deodexed, which one should i download ?
how does the stock rom come ? (odexed or deodexed ) ?
Hi guys, im going to download 6.09.401.12 stock rom, but i found 2 versions odexed and deodexed, which one should i download ?
Click to expand...
Click to collapse
If you want to be stock and use ota updates, better to go fo the odexed one. If you want to be able to customize your system files easily then choose deodexed.
how does the stock rom come ? (odexed or deodexed ) ?
Click to expand...
Click to collapse
Odexed
well thanks, @alray but if i get deodexed will i get better performance or better batery life ....
or i should stick with odexed ?
I don't think you can notice any real difference between odexed vs deodexed system but in theory an odexed system is supposed to be faster than deodexed. In an odexed system, all apps (apk) have their own .odex file pre-loaded in the dalvik cache. When you open an app, the system looks for the instructions directly from the appropriate .odex file resulting in faster app launch. In a deodexed system, everything is put back in the .apk file (no .odex file) so each time you launch an app, the system must look in the entire apk to find the instructions to launch. Afaik (I'm not a dev), the only reason why roms are deodexed is for easier customization (e.g themes), not for performance.