yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Themes and Apps] jangomango:
Is possible to make a battery mod that just stays at 100 % even if the battery is nearly dead? It would sure help with all these battery moaners lol...

Sent from the best phone in the world...
[Galaxy S II Themes and Apps] αкαѕнα:
Thanks... new version works perfectly <3
[Galaxy S II Themes and Apps] mb:
Thank you, but it failed at the first hurdle with

C:\android-sdk-windows\platform-tools>adb remount

remount failed: Operation not permitted

It worked first time last time round with the first firmware released. I'm not sure what's happened since to me.

Actually, you raise a good post with instructions on how to copy this file across, which should be at the start of the thread really. ADB is all a bit new to me really. I appreciate your answer, so thanks!
[Galaxy S II Themes and Apps] shimi4:
Hi,

Thanks for the quick mods for each new firmware.

I took the KE7 battery + CRT mod from the original post and modified it with the battery animations of Pendo (look at his post on page 13).

You can download it here: https ://rapidshare.com/files/1105744192/framework-res.apk

I'm not taking any credit of course. Thanks to Rawat and Pendo :)
[Galaxy S II Themes and Apps] ogdobber:
operation failed because you have a secure boot.img now with the new firmware...
[Galaxy S II Themes and Apps] mb:
Root Explorer. Sorted.

Thank you and goodnight.

PS - It might be me, but it seems that switching on from sleep is slightly slower once this is applied?
[Galaxy S II Themes and Apps] walda:
@manuvaidya: i think that many people can handle the steps and hints given in this thread to make it work.

what about reading instead of crying help every 2 posts and telling that the devs/mods should do this and that?

did you try copying the files to a similar folder, setting the permissions and moveing them then to the correct folder? then reboot. this works for 99,5% ;) maybe you are special :p
[Galaxy S II Themes and Apps] hshah:
Is there one like this for KE7, for the battery?
[Galaxy S II Themes and Apps] mi3x:
yea, that's exactly what I'd like as well! Hope it'll pop up sometime soon :)
[Galaxy S II Themes and Apps] svortevik:
I am trying to customize these files on my own, kind of a mix-up from what already has been done by others.

I want the wifi/gps etc from this one

http://xdaforums.com/showpost.php?p=13953496&postcount=247

Charging icons from this one

http://xdaforums.com/showpost.php?p=13786301&postcount=129

And the green wifi etc icons from the first post.

http://xdaforums.com/showpost.php?p=13484168&postcount=1

At last I want the CRT screen off animation.

For the wifi/gps icons, can I just extract them and add them to the SystemUI KE7.apk (from the first post in this tread) and overwrite the old ones?

For the charging icons, can I do the same but add them to unsignedframework-res KE7 CRT.apk (from the first post in this tread) and overwrite the old ones?

Will the crt screen off animation still be in place then?

In addition to the two mentioned files there are one more in the first post, framework-res KE7 battery mod and CRT fixed.zip. What is the difference from this one and the two other files?
[Galaxy S II Themes and Apps] manuvaidya:
yeah, u r right.... Only i should find out a way on how i do it.and fortunately i found out how it works. Moreover you dont have to change any permissions, atleast it worked for me....just copied the files to corresponding folders & rebooted. It worked fine.

One more thing i learned here.we should not beg people too much here, because they are not worth it or they dont care about our request.that's the attitude i received from them here.

Anyway thanks for your help.
[Galaxy S II Themes and Apps] jonata:
Hi Rawat,

my compliments for your work.

I've a question :

your SystemUI and framework have transparent statusbar ?

tks for reply
[Galaxy S II Themes and Apps] pendo:
The broken circle style battery is widely available, including the UOT. The versions I have on hand are the same original ones from this time last year, only 20 or so animation frames while charging. My newer ones are not as widely available (though they are hardly exclusive either, just not in the UOT *that I know of*). Here's an example of my newer stuff:

[SOAPBOX_RANT]

I am in the US, and unfortunately due to the reluctance of our wireless providers to give up their old antiquated ways of trying to control every last aspect of our phones, we are running much further behind the rest of the world in terms of a release date for this device. Whenever we do get it, it will be saddled with tons of bloatware, branded on the exterior as well as a branded Android Market, and probably a handicapped APN in an attempt to prevent tethering unless we pay more for it. My current and first android device is the N1 and also was my first non-subsidized phone, hence it had non of the above and has truly been an eye-opening experience.[/SOAPBOX_RANT]

I do hope to get one someday....maybe. At least for right now it's the top pick for my next phone, just waiting for it to come here.

I will endeavor to get this done for you all. I first need to find/download this KE7 firmware then convert the img file into something usable.
[Galaxy S II Themes and Apps] jonata:
wrong post,

sorry
[Galaxy S II Themes and Apps] jonata:
tks so much Pendo ! :)

I will endeavor to get this done for you all. I first need to find/download this KE7 firmware then convert the img file into something usable.[/QUOTE]
[Galaxy S II Themes and Apps] vitalij:
is it just me, or crt animation is working incorrectly - when it starts you can see that instead of real screen image some noice beeing animated.
[Galaxy S II Themes and Apps] xos84292:
Can you make a CM7 battery icon ver?
[Galaxy S II Themes and Apps] malavan:
can we have your mode on KE7 please.
[Galaxy S II Themes and Apps] AMoosa:
Guide

There seems to be some confusion on the site on what does what and how to apply it, so I offer the following guidance. The method worked for me on KE2 and again on KE7, as the adb method did not work for me - adb remount gave me an error.

The framework-res KE7 battery mod and CRT fixed.zip file on the first post will give you the circle battery with percentages and colours, and also the CRT screen off. This is all I wanted so is perfect for me.

So, download the file, and extract the contents. There will be a "framework" folder. In there is a framework-res.apk file and this is the one you need.

Now, to apply the file to your SGS2, you need 2 apps from the market - Super Manager, and Remote Web.

Use Super Manager and enable Root access in the menu. Then using the File Explorer, browse to the framework folder, tick it, then use the icon at the bottom that says "777" on it to tick all the options, making add read/write permissions.

The connect to the same network as your PC, run Remote Web, and remember the ip address given on the screen. Open a browser on your PC, enter the ip address and you are on. You will get an Android Mobile Desktop. Use the File Explorer to browse to system/framework, rename the original framework-res.apk file to another name, and then upload the new framework-res.apk file.

Then use Super Manager to put the permissions back to the way they were, reboot, and you're done.

I already had the 2 apps mentioned as they are really useful for a whole load of other stuff.

Use these instructions at your own risk.
[Galaxy S II Themes and Apps] jokuvuan:
I'd love to have that battery icon, but don't really want the transparent statusbar on my phone. Any change of making a KE2 and KE7 versions of that battery icon? I'm sure others would appreciate it too!
[Galaxy S II Themes and Apps] walda:
Here is the Batt Mod with CM7 Style incl Charging %.

NO CRT !!!
[Galaxy S II Themes and Apps] jonata:
hi walda ...

in this framwork we have transparent statusbar ?
[Galaxy S II Themes and Apps] pendo:
The transparent statusbar isn't in framework-res. It is in SystemUI. I'm trying to download the firmware update but it is taking forever.

Can you or someone else attach BOTH of SystemUI.apk and SystemUI.odex? I need both for the statusbar mod.
[Galaxy S II Themes and Apps] lynx2k50:
Is the CRT off animation on KE7 smooth and without bugs?

Can someone please post his experience?

Thanks.
[Galaxy S II Themes and Apps] walda:
no.

10 chars
[Galaxy S II Themes and Apps] walda:
Oh, why that? :D :p
[Galaxy S II Themes and Apps] jonata:
I don't have now because awaiting you before update to KE7 ....

maybe I can download the complet firmware and exctract ?

edit :

downloading now and the post the files ...

edit 2 :

have the file where I find systemUI.apk and systemUI.odex ?
[Galaxy S II Themes and Apps] pendo:
I've already made a couple batteries for KE2, this is the AOSP version w/% (rename framework-res.apk):

(SGS2-KE2-AOSPw)framework-res.apk

And the circle battery, also for KE2 (again, rename as framework-res.apk):

(SGS2-KE2-SmoothC_Battery)framework-res.apk

I prefer to use adb for pushing files. In terminal/command cd to where you have the file stored on your computer and run

adb remount
adb shell stop
adb push framework-res.apk /system/framework
adb shell start

The device should reboot, albeit a little quicker than a full reboot.

KE7 versions will hopefully be soon.
[Galaxy S II Themes and Apps] lynx2k50:
Because of this post :( Now i'm unsure.
[Galaxy S II Themes and Apps] pendo:
lol...waiting on me :p

Did you already load it on your phone? If not, then you have to convert the factoryfs.img that's in the tar before you can extract any files. I was just hoping someone who was online might've already had KE7 loaded and could pull the file right quick.

I've got the firmware downloaded and it's currently going through the conversion process. It takes a bit on my machine since I only have windows operating as a vm....probably another 20 minutes before I can get started with the mod.
[Galaxy S II Themes and Apps] walda:
but with adb you cant set permissions. am i right? so u have to work with rootexplorer too.

sent from my SGSII via T*patalk
[Galaxy S II Themes and Apps] pendo:
Sure you can.

adb shell chmod 644 /system/framework/framework-res.apk

That being said, I've NEVER had to set permissions whenever I push framework-res, or any other apk when pushing like I said. The problem with permissions come into play whenever you place stuff on your sdcard first. Just make sure the name of the file is the same as what you're replacing.
[Galaxy S II Themes and Apps] αкαѕнα:
YES,,,, I love it <3

nuff said
[Galaxy S II Themes and Apps] ludow:
Hello guys!

Are you sure that modified system.apk (K7) does not produce increased battery consumption via Android OS? Just asking...

I'm gonna test it.
[Galaxy S II Themes and Apps] hshah:
From KE7 :)
[Galaxy S II Themes and Apps] jonata:
tks,

so Pendo can works ....;)
[Galaxy S II Themes and Apps] lynx2k50:
Have done everything what you said but i cant rename my framework-res.

The app says, that it cant be renamed. Permissions were said correctly but it seems that the app forget this settings... Please help.
[Galaxy S II Themes and Apps] walda:
I think, that you cant rename the existing one to another name, because its in use. But you can rename another file to an existing. Then it will be overwritten.

Copy it to another name, set Permissions, rename it to original. Thats what i do. First with SystemUI then with framework. After Framework you have to boot immediatly because of many FCs.
[Galaxy S II Themes and Apps] lynx2k50:
Thanks you for giving support. Will try it and report back Give me a few mins.

And yes, your are right!
[Galaxy S II Themes and Apps] nuoc mam:
Thanks works perfectly now ;-)
[Galaxy S II Themes and Apps] svortevik:
If anything goes wrong when adding these files and my phone wont start, is there any way I can put back the original files without starting the phone?
[Galaxy S II Themes and Apps] pendo:
OK, finally got all the conversion done and here's some mods. These are straight from the KE7 firmware, and I have not made any other than listed. First here are the files and descriptions:

AOSP signal strength indicators w/Translucent Statusbar and pulldown

*you must delete SystemUI.odex from /system/app/ and clear Dalvik. Likewise if you wish to revert, you need to push SystemUI.odex back to /system/app/ along with original SystemUI.apk

SystemUI.apk

AOSP battery with percentage

framework-res.apk

SmoothC circle battery mod

framework-res.apk

sample of SmoothC

I mentioned this earlier, but I will again so you don't have to look back. This is how I've done it for a long time now and it works great. You shouldn't have to worry about permissions with this method either. First make sure you have either a nandroid backup or at the very least backup the individual files we're getting ready to replace. You can back them up in a number of ways (save to sdcard, rename them with -old, etc) Then download the file you want then open terminal or command prompt and 'cd' to the directory where you've downloaded the file.

For the battery mod do this (hit enter after each line):

adb remount
adb shell stop
adb push framework-res.apk /system/framework/
adb shell start

For transparent statusbar (hit enter after each line)

adb remount
adb shell stop
adb push SystemUI.apk /system/app/
adb shell start

Another way--which is actually how I do it--is instead of doing a 'cd' to the file location, I simply call it directly by dragging the file into the terminal window. So for the actual push command, after you type adb push, just click and drag the file into the terminal window and it will fill in the correct path. No need to change directories :)

The stop command stops core so you can push into the /system directory without causing a lot of fc's temporarily. After the the start command is entered, the phone will go into a short reboot cycle, but will be a little quicker than a full reboot would be.

EDIT: Instructions on clearing Dalvik

Clearing Dalvik

Dalvik-cache is normally found in /data/dalvik-cache. So you could use adb-convenient while you have core stopped after pushing

rm -r data/dalvik-cache/*

Or with terminal emulator before you use adb to push the new files

su
cd /data/dalvik-cache
rm*
exit

Then reboot. This will increase the boot time for the next boot as it rebuilds this directory. As always, be very careful when using "rm" commands.

With root explorer you just navigate to /data/dalvik-cache and select all and delete.​
[Galaxy S II Themes and Apps] svortevik:
Pendo:

Is this with crt animation?
[Galaxy S II Themes and Apps] pendo:
It is how it comes in the firmware update. The only edits I made were those listed.
[Galaxy S II Themes and Apps] hshah:
pendo - any chance you can post screenshots of the others please?
[Galaxy S II Themes and Apps] jonata:
and now I can update to KE7 ....

tks Pendo

:D
[Galaxy S II Themes and Apps] mi3x:
That's what I wanted! Thanks a bunch Pendo
[Galaxy S II Themes and Apps] pendo:
Not very well since I don't have the phone, and I've got a slightly different setup on my personal phone. I haven't been able to get a transparent statusbar working either with SPB Shell so a screen shot from my phone wouldn't do you any good. Ogdobber had a screenshot several pages back I believe...probably around page 22-24 I'd guess.
[Galaxy S II Themes and Apps] eatingking:
Does the circle battery mod with battery percentage & CRT effect use on KE1(Asia versions)?
[Galaxy S II Themes and Apps] hshah:
pendo, the SystemUI is all messed on mine and it isn't transparent :(
[Galaxy S II Themes and Apps] svortevik:
hshah:

Where did you find the icons you are using?
[Galaxy S II Themes and Apps] hshah:
From an application called Custom Launcher Icons. Search for it on the market :)
[Galaxy S II Themes and Apps] mi3x:
hshah, are all the icons modified, or only the percentage applied on battery? On your screenshot, your signal (both phone and wifi) is with green as well. Is that so?
[Galaxy S II Themes and Apps] hshah:
Only the battery. I used both of pendo's AOSP modifications. The battery one on its own works fine, but as soon as I apply the SystemUI one it screws up :(
[Galaxy S II Themes and Apps] mi3x:
Yep it looks sexy! Thanks again!
[Galaxy S II Themes and Apps] AMoosa:
You have to set the permissions for the file using super manager. Just tick all the boxes.
[Galaxy S II Themes and Apps] Bierfreund:
Is there a version with AOSP green icons, percentage stock battery mod (not the circle battery mod), CRT effect, all the rest stock samsung (no transparent notification bar...)?
[Galaxy S II Themes and Apps] viva.fidel:
Do either of the KE2 framework-res apks have CRT screen-off? Or can I use the KE7 Batt Mod & CRT apk on KE2?
[Galaxy S II Themes and Apps] jonata:
are you used the systemUI from pendo ?

the transparent statubar works well ?

I'm updating now kernel up to KE7 ...

....
[Galaxy S II Themes and Apps] Rawat:
No, I didn't enable CRT off for KE2. Didn't have time to decompile and recompile the APK file.
[Galaxy S II Themes and Apps] viva.fidel:
Thanks for the reply, so can I use the KE7 version instead or will it cause issues?

another Q, is root necessary or is there another way to mount system?
[Galaxy S II Themes and Apps] jonata:
@Pendo :

need to delete the systemUI.odex ?

tks
[Galaxy S II Themes and Apps] nuoc mam:
hi folks

what's included in "framework-res KE2 improved stock.apk"? only stock battery with percentage?

will it work on KE7 rom?

cheers
[Galaxy S II Themes and Apps] Danifamous:
on KE7. The systemUI fixed worked fine, but using the CRT animation I get nothing. Rebooted and nothing.

Used fix permissions from Rom manager, rebooted but still nowt :(
[Galaxy S II Themes and Apps] Rawat:
Try this: Menu > Display > Animation > All animations.
[Galaxy S II Themes and Apps] Danifamous:
It was. Had fiddled around with spare parts. Think it was because I set the animations to "fast" or something, but it's working now. :D
[Galaxy S II Themes and Apps] chucknaldo:
I get a pixelated black and white image... I reverted back to stock fade to black.
[Galaxy S II Themes and Apps] TheKenAnthony:
Thank you for this!! Loving the green in the signal and wifi bars and I missed the crt animation from nexus s.. sweet that its back!!
[Galaxy S II Themes and Apps] alturismo:
i updated my s2 to ke7, then i wanted to try this here nice customization ;)

as soon i replace the framework my handy starts to force close all kinda apps

and stalls, reboot also hangs then on Galaxy start screen, reinstall ke7 brings me

back to my cell of course.

using root explorer to replace

may an idea what i´ve done wrong ?
[Galaxy S II Themes and Apps] pendo:
Omg...yes. Sorry about that...pretty big omission :o. I had to leave just a few minutes after I posted that and really haven't been online til just now, so sorry I'm just now seeing this. Yes you must delete SystemUI.odex and wipe dalvik since the SystemUI I gave is deodexed.

Sorry!!
[Galaxy S II Themes and Apps] XZQ't:
May I ask How to wipe dalvik cache ? Only used to do it with amon ra and clockwork recovery.
[Galaxy S II Themes and Apps] pendo:
Sure...I need to add that as well.

Dalvik-cache is normally found in /data/dalvik-cache. So you could use adb, which is very convenient if you're using the method I recommended for pushing.

adb shell rm -r data/dalvik-cache/*

Or from the phone with terminal emulator (of course this doesn't work if you have core stopped)

su
cd /data/davik-cache
rm*
exit

Then reboot. This will increase the boot time for the next boot as it rebuilds this directory. As always, be very careful when using "rm" commands.

With root explorer you just navigate to /data/dalvik-cache and select all and delete.

I edited my original post with these instructions as well
[Galaxy S II Themes and Apps] XZQ't:
Thanks for the instructions, I get both transparent bar & smooth battery % working on KE7 rom now. ( via Root Explorer)

However, I want to note that adb command doesn't work for me. It gives me some kind of permission error when doing "adb remount". I saw someone mentioned that KE7 has secure boot.img so we can't do that. If you could put the solution in the post , that world be great. :D:D
[Galaxy S II Themes and Apps] pendo:
try

adb shell su

let me know if that works (it should if the only problem is ro.secure=1)
[Galaxy S II Themes and Apps] nuoc mam:
my status bar disappeared since i applied systemUI KE7.apk.... pushed the original systemUI.apk back, still no status bar... :-(
[Galaxy S II Themes and Apps] jonata:
@Pendo:

like mod on KE2 also this one for KE7 is simple PERFECT !!!!!

TKS FOR YOUR WORK
[Galaxy S II Themes and Apps] sun-drop:
any chance of a AOSP battery with percentage + CRT effect framework file guys?
[Galaxy S II Themes and Apps] sun-drop:
this. please.

circle mod just sticks out too much
[Galaxy S II Themes and Apps] SirGadden:
Great stuff! Working perfectly :D

However, is there anyway to get CRT screen on anim as well?

On my old HTC Desire I had both on and off anim... :confused:

Sorry if this has been brought up before, did try to search for an answer but couldn't find anything
[Galaxy S II Themes and Apps] svortevik:
After excellent help in this thread I mixed up a file of my own, just stealing the icons I liked the best from other user:-) So now I have it almost the way I like it with the screen off animation as well:-)
[Galaxy S II Themes and Apps] sirhC6:
Holy moly.... looks nice... can you give us a quick how to? Wanna do this on my own to... would really appreciate that:)
[Galaxy S II Themes and Apps] svortevik:
http://xdaforums.com/showpost.php?p=13977704&postcount=255
[Galaxy S II Themes and Apps] jona29:
so what would be the procedure to make them green all the time , alot easier on the eyes
[Galaxy S II Themes and Apps] Rawat:
I was about to volunteer to do this for you, but it's just too much renaming for my liking... I'll update this post with how to do it later.
[Galaxy S II Themes and Apps] jony7:
What firmware ver. are you?
[Galaxy S II Themes and Apps] ninja.rogue:
Does this mod require root?
[Galaxy S II Themes and Apps] gladiac:
Pushing files to the system-partition always requires root.

cheers
[Galaxy S II Themes and Apps] Rawat:
I'm on XWKDD
[Galaxy S II Themes and Apps] spline1:
I can simply copy the framework-res.apk with rootexplorer to replace the existing one?

right?
[Galaxy S II Themes and Apps] Nicolopolus:
Thanks dude, all working great here.

Would really love if you could add the circular battery mod to this - actually don't think I'd need to anything to my SGS2 beyond that!
[Galaxy S II Themes and Apps] djdanger:
when I try to push it comes back with read-only ???
[Galaxy S II Themes and Apps] jona29:
thats what i did worked fine
[Galaxy S II Themes and Apps] Guitarfreak26:
Does anyone have the original framework res for kdf/could upload it for me.. ive tried the mod on there and im stuck on a bootloop, it starts ok but then restarts
[Galaxy S II Themes and Apps] Guitarfreak26:
Gonna wipe and go to KDD see if that helps lol
[Galaxy S II Themes and Apps] otester:
Makes the display a lot clearer, great work! :D

Also if you do decide to add a percentage mod, please add one without the mod if possible (I use a widget instead).
[Galaxy S II Themes and Apps] Rawat:
I made one, but haven't tested it. It's attached to the first post, but haven't heard back if it works or not
[Galaxy S II Themes and Apps] intruda119:
Any pictures of the battery mod. Doesnt have to be from sgs2 screen.

Anyway to make a battery mod in shape of the original battery meter? Dont want to waste homescreen with widget.
[Galaxy S II Themes and Apps] tjjensen23:
hope that helps
[Galaxy S II Themes and Apps] intruda119:
thx for the pic
[Galaxy S II Themes and Apps] Nicolopolus:
How do we install it?
[Galaxy S II Themes and Apps] dh2311:
Dont mean to be funny, but isn't this more of a theme than android development.
[Galaxy S II Themes and Apps] olympicchicken:
Nice, just backuped and replaced the original files by the ones given in the first post and tada: Battery percentage and CRT effect (just love it) are back. :)

Thank you very much.
[Galaxy S II Themes and Apps] AmesCell:
So it looks like there is CM7 battery icons with CRT off and ASOP with percentages, but no ASOP with percentages and CRT off?