yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Themes and Apps] NitroOnTheRocks:
I flashed insecure kernel --> root --> flash KE1_orig.

Everything seems to work with root but when I try to push a modified SystemUI.apk to /system/app through adb this is what I get:

D:\android>cd android sdk

D:\android\android sdk>cd platform-tools

D:\android\android sdk\platform-tools>adb remount
remount failed: Operation not permitted

D:\android\android sdk\platform-tools>adb shell
$ su
su
#

Does anyone know what I'm doing wrong here?
[Galaxy S II Themes and Apps] lgkahn:
Just cause u r rooted does not make system writeable . You need to mount it writeable or use root explorer
[Galaxy S II Themes and Apps] ogdobber:
what do you mean flash KE1_orig? check the default.prop is ro.secure=0??
[Galaxy S II Themes and Apps] Beefheart:
Any chance of a working SystmUI.apk for VillainRom? Not at all fond on Samsung's taskbar WiFi icon.
[Galaxy S II Themes and Apps] Rawat:
Post the systemui.apk file for me, and I'll add the icons.
[Galaxy S II Themes and Apps] cTrox:
Already made one, thanks to Rawat's icons ;)
[Galaxy S II Themes and Apps] pendo:
Yeah, I looked briefly through that too yesterday and nothing really looked suspicious.
[Galaxy S II Themes and Apps] pendo:
Transparent StatusBar, and Transparent pull down

Ah ha! I missed one!

Any takers? ;)

Same as before, make sure to remove SystemUI.odex and wipe Dalvik-cache

View attachment SystemUI.apk

There's at least a couple SystemUI apk's in this thread, so just to be clear here's the list of changes:

-attempt to make transparent statusbar

-includes all signal strength icons from aosp, including green "fully" icons**

-aosp low battery popup.**

-transparent pull down

-new pull down handle (status_bar_close_on)

**matches well with my battery

View attachment framework-res.apk
[Galaxy S II Themes and Apps] dateq:
This whole day I have been battling with decompiling my SystemUI.apk file, but nothing worked. Now I try to install yours, but still nothing..

I have wiped my cache, but can't find the odex file. How do I delete it?

Thanks in Advance
[Galaxy S II Themes and Apps] pendo:
The SystemUI.odex should be right nest to SystemUI.apk in /system/app
[Galaxy S II Themes and Apps] mrvirginia:
this is awesome right here. will def use when i finally get the phone in my hands and rooted :D

big thanks!
[Galaxy S II Themes and Apps] pendo:
Oops! forgot to put that down. These were built from the Generic XWKE2 file firmware from Intratech's thread here in development.

I thought that looked like the best one to base these off of.

The circle battery mod is in framework-res and really doesn't have much to do with SystemUI (the low battery popup image is in SystemUI however)
[Galaxy S II Themes and Apps] lukemo:
Thanks, I'm going to try your last SystemUI

EDIT: it works, thanks.
[Galaxy S II Themes and Apps] Kalifax:
Have you got the CRT effect working?

Tried renaming the "unsigned framework" file to "framework-res.apk", and copied it to /system/framework with root explorer. After that got a whole lot of FC --> phone wont boot.

Installed KE2 again from scratch and tried it again, and same issue :)

Running: KE2 --> rooted --> installed stock kernel on top.

Please share your ideas? My SGS2 seems older than my old SGS without the CRT effect :D
[Galaxy S II Themes and Apps] winwiz:
this has worked great thank you. what about the circular battery % mod?
[Galaxy S II Themes and Apps] Rawat:
framework-res.apk I attached in the first post will work on Deodexed and non-deodexed ROMs :)
[Galaxy S II Themes and Apps] winwiz:
sorry for the noob questions

so i download	Battery mod XWKE2 circle battery mod fixed.zip

and rename this zip to framework-res.apk and push it to /system/framework?

or do i extract the zip and copy the framework-res.apk file and push that to /system/framework?
[Galaxy S II Themes and Apps] αкαѕнα:
Hey...

I’m afraid to brick my brand new phone so i just have to ask first..

I tried to find useful information in first post but i don't quite understand the basics...

Yes.. i have ROOTED the phone using ODIN and XWKDD and have also bought Root Explorer..

So.. do i just unzip the file "framework-res battery mod non-flashable & untested.zip" and replace the system/framework/framework-res.apk with the one in that zip file ??

I have made a copy of the framework-res.apk just in case, but is that it???

What are all the other .apk files in first post for then??

I really want the CRT effect and battery mod working...

Thank you <3
[Galaxy S II Themes and Apps] Rawat:
The file was too large to attach, so I had to zip it. You have to replace it with the framework-res.apk file inside the zip.
[Galaxy S II Themes and Apps] αкαѕнα:
Well.. yes.. thats no problem... but what do i do with all the other attached .apk files in the first post??

Ignore them??
[Galaxy S II Themes and Apps] winwiz:
rawat, will all due respect your instructions are not very good.

my phone froze at the boot screen and I had to wipe to factory settings and have lost all of my settings. not a problem but if the instructions were more clear this could have been avoided.

so please try and help me out here.

when you say push, do you mean via adb or simply copying and pasting via root explorer? I have tried the root explorer method and this results in my having to re-install the rom because it freezes at boot screen. I have tried it via adb and it gives me the error: permission denied. ive tried to remount with rw writes without much luck.

thank you
[Galaxy S II Themes and Apps] outsidah:
Do we have a working CRT effect file for KE2? I don't seem to find one.
[Galaxy S II Themes and Apps] pendo:
Cool :cool:

Thanks for letting me know.
[Galaxy S II Themes and Apps] ogdobber:
thanks pendo. perfect:D
[Galaxy S II Themes and Apps] pendo:
indeed...
[Galaxy S II Themes and Apps] zxz0O0:
Instructions? There are no instructions.

I had to flash stock too because of this and lost all data..
[Galaxy S II Themes and Apps] jonata:
Pendo,

wich is the file ?

I try with my KE2 e dosn't work

need to delete systemUI.odex ?

or overwrite simple simple with rootexplorer the framework.apk ?

tks for reply

another question :

can I cook your framework to add my prefer icons for battery, signal etc.etc ????
[Galaxy S II Themes and Apps] hunhool:
I've just used systemui and the .zip(extracted and copied to system/framework.

I've got no statusbar at all...:confused:
[Galaxy S II Themes and Apps] pendo:
This post has the SystemUI for transparent statusbar. I did not re-odex SystemUI, so you will need to be sure to delete SystemUI.odex.

At the bottom of that same post I included a framework-res that has my battery in it, but it has nothing to do with the transparent statusbar. However if you don't care for the signal strength icons, most of those ARE in SystemUI so you'd have to change them accordingly.
[Galaxy S II Themes and Apps] jonata:
so need only to overwrite your systemUI.apk and delete systemUI.odex and can have transparent statusbar ?

need also to wipe somethings or not ?

tks for reply ;)
[Galaxy S II Themes and Apps] AMoosa:
Need CRT effect for KE2 ROM please. It works great on KDD, but not on KE2.
[Galaxy S II Themes and Apps] jonata:
HI Ogdobber ...

received PM ?

tks
[Galaxy S II Themes and Apps] jony7:
http://dl.dropbox.com/u/7662072/crt-framework-res.apk

CyanogenMod Battery Style + working charge animation + Green Icons + CRT Animation

(CRT is a bit buggy)

http://dl.dropbox.com/u/7662072/no-c...mework-res.apk

CyanogenMod Battery Style + working charge animation + Green Icons

only for KE2

Last edited by cTrox; 15th May 2011 at 04:55 PM.
[Galaxy S II Themes and Apps] jonata:
finally WORKS !!!

tks to everybody

;-)
[Galaxy S II Themes and Apps] winwiz:
care to share some instructions pleasE?
[Galaxy S II Themes and Apps] pendo:
Cool! Was getting ready to respond to your last post but I see you've got it working. :)
[Galaxy S II Themes and Apps] pendo:
Which of the mods did you have questions about?
[Galaxy S II Themes and Apps] jonata:
download the file posted by "pendo" (systemUI.apk)

make a backup (for safe) of your systemUi.apk

then, copy the file downloaded to system/app

delete systemUI.odex

reboot

PS:

make everythings or via adb or (I think more simple) with rootexplorer.

by the way "pendo" says the same thing ! looking some poste above ....

by

;)
[Galaxy S II Themes and Apps] AMoosa:
What do u mean, buggy?
[Galaxy S II Themes and Apps] pahardie:
I'd love to know how to install the framework file as when I tried ended up trashing everything!

I dropped it in over my original everything crashed and when rebooting got stuck on the logo!

Probably me being uber slow :-)
[Galaxy S II Themes and Apps] ogdobber:
instructions via adb

adb remount
adb shell
cd /system/app
mv SystemUI.apk SystemUI.apk.old
mv SystemUI.odex SystemUI.odex.old
exit

by naming the SystemUI.apk to SystemUI.apk.old it is still in your /system/app in case you want to revert

adb push SystemUI.apk /system/app/SystemUI.apk

SystemUI.apk goes at the end because there is nothing there now

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

framework-res.apk does not go at the end because you are replacing
[Galaxy S II Themes and Apps] Rawat:
Thanks ogdobber. Was going to write up a quick guide, but been busy* with exams :(
[Galaxy S II Themes and Apps] aussiebum:
nice circle battery mod, thanks!

Here's my version of the installation instructions. I assume that BUSYBOX is already installed on the phone and of course that it is rooted. Look up busybox on Market to get the installation if you don't have it. I use busybox commands to ensure the installed framework-res has the same permissions and ownership as the original file.

1. get framework-res.apk out of the downloaded zip file

2. enable usb debugging in the phone and connect phone to pc

3. start up a command prompt in windows by typing in

cmd

in Run in the Start Menu

4. type the following in the windows command prompt:

adb push <location of extracted NEW framework-res.apk on your pc> /cache/framework-res.apk
adb shell
mount -o rw,remount -t ext4 /dev/block/mmcblk0p9 /system
cd /system/framework
cp -p framework-res.apk framework-res.apk.bak
cp -p /cache/framework-res.apk .
busybox chown 0:0 framework-res.apk
busybox chmod 644 framework-res.apk
exit
adb reboot

5. Wait for reboot to finish and new battery icons should be there :) Wallpaper might have reverted to the stock wallpaper but that's easy to set it again.

No need to remount system as readonly because reboot seemed to revert it back to that state. If you don't want to keep a copy of the original framework-res.apk you don't need to do the "cp -p <blah>.bak" command.
[Galaxy S II Themes and Apps] outsidah:
This CRT worked for me on KE2. Thanks! Do we have a CRT on?
[Galaxy S II Themes and Apps] intruda119:
With CRT effect the auto brightness is buggy. The transition from low to high is not very smooth.
[Galaxy S II Themes and Apps] shakeyabooti:
Hi guys i have a thread in themes etc where i have done arc style bar. I use Root Explorer to overite the SystemUI and framework thats ok isnt it?
[Galaxy S II Themes and Apps] rimoragl:
the link of CyanogenMod Battery Style + working charge animation + Green Icons,

dont work!
[Galaxy S II Themes and Apps] cTrox:
Yeah because he didn't quote properly...
[Galaxy S II Themes and Apps] intruda119:
Anyway to easily add 1% battery increments to the framework/system apk through winrar?
[Galaxy S II Themes and Apps] ggregori:
I modded some icon from the file below. The result is the following

Thank to GingerCriskelo for the icons.

Please unzip frameworks-res.rar e put in /system/framework

Is for KE2 and for me work very well

Remember to reboot phone
[Galaxy S II Themes and Apps] αкαѕнα:
Wery nice <3

I have build GINGERBREAD.XWKE2....

is that the same as just KE2 and does your frameworks-res.apk contain the CRT Animation also?
[Galaxy S II Themes and Apps] ggregori:
Yes. Crt animation is present
[Galaxy S II Themes and Apps] αкαѕнα:
It works :D

Amazing improvement
[Galaxy S II Themes and Apps] stesteste:
alots changed since the first thread any chance of some full nooby instructions i downloaded the 2 files i got sgs2 on ke2 rooted backed up files is it simple comy and paste overwrite what about the odex and the Dalvik-cache

new install instructions would be nice ,love the icons thanks for work every one
[Galaxy S II Themes and Apps] Gonjer:
Thank you for an amazing UI. But i struggle with a problem, my batteri is the original stock and when GPS is searching it changes from 1 second to stock and the another to your. I'm i doin something wrong?

I pushed in the original framework-res.apk and systemUI.apk before(just to reset) i pushed in your.
[Galaxy S II Themes and Apps] ggregori:
Try to replace again framework-res.apk. Set correct permission and reboot.

Use Rootexplorer. Make sure /system/framework is in r/w mode.
[Galaxy S II Themes and Apps] svortevik:
Nice work:-) Really love the settings icons and animations:-) Is there any way to get the settings icons and animations, but still keep the original notification bar?
[Galaxy S II Themes and Apps] ggregori:
To change ONLY the icons of the file is actually very simple.

0) Always backup your original framework-res.apk and SystemUI.apk

1) Copy MODIFY framework-res.apk and SystemUI.apk in your internal SD card with Rootexplorer

2) Copy same files into your computer

3) Then EXTRACT MODIFY framework-res.apk and SystemUI.apk with 7zip or winrar/winzip framework-res.apk and SystemUI.apk

4) For file framework-res.apk, you'll find all the icons in folder /res/drawable-hdpi

5) For file SystemUI.apk you'll find all the icons in folder /res/drawable-hdpi

6) With 7zip or with winrar/winzip open (DON'T EXTRACT) original file framework-res.apk and SystemUI.apk and change with drag and drop, icons you want with extracted icons to the point 4 and 5

7) Close framework-res.apk and SystemUI.apk

8) Now you have modded files and put them in /system/framework (framework-res.apk) and /system/app (SystemUI.apk)

9) Reboot phone

10) Try, it's harder to write than done

I have always only changed the icons and it always worked.

I tried with VillainRom installed. Deodexed rom.

Sorry for my English
[Galaxy S II Themes and Apps] svortevik:
Thank you:-) I will give it a try:-)
[Galaxy S II Themes and Apps] jokuvuan:
If I want these icons on my KE2-phone is the "SystemUI - KE2.apk" the right package to install? Has anyone done a battery mod on the stantard Gingerbread battery icon with battery percentage?

This thread could really use more pictures. Its pretty hard to find anything when you can just see the apk-file name!

Could someone add the instructions on how to install these on the first page? Someone did great instructions, but now I can't find them anywhere! in Galaxy S I9000, these were a lot easier to install thanks to 2e-recovery and the update.zip method...
[Galaxy S II Themes and Apps] djase:
KE7 PLEASE ?

cheers
[Galaxy S II Themes and Apps] Necrobutcher:
Everything from KE2 is still working for me.
[Galaxy S II Themes and Apps] djase:
so for KE7 mod battery and crt effect which one ?

cheers
[Galaxy S II Themes and Apps] Necrobutcher:
I use the circle battery mod and the SystemUI KE2
[Galaxy S II Themes and Apps] djase:
SystemUI - KE2.apk or framework-res KE2 improved stock.apk ?

cheers
[Galaxy S II Themes and Apps] Necrobutcher:
as I wrote SystemUI-KE2.apk
[Galaxy S II Themes and Apps] djase:
ok thx dude !
[Galaxy S II Themes and Apps] Necrobutcher:
One question I'm not sure about... does the circle battery mod with % drains noticeable more battery? (or any mod with %)
[Galaxy S II Themes and Apps] djase:
i don't think so dude !

edit : crt effect does'nt works here !!
[Galaxy S II Themes and Apps] soulcrash:
Hi guys,

i still have big problems and hope u can help me.

Always when i overwrite my SystemUI.apk either with one of this thread or with one i made my own, my status bar disappears. No icons, no background.

Any hint?

thx
[Galaxy S II Themes and Apps] Rawat:
I'll upload KE7 with CRT soon. Downloading and flashing the ROM right now :)

EDIT: Uploaded. Adding battery mod soon, and adding a guide to OP as well.
[Galaxy S II Themes and Apps] beppez82:
Maybe can you add a guide to change battery mod icons?

Thanks in advance :)
[Galaxy S II Themes and Apps] pendo:
Back on page 21 I posted a mod for a transparent statusbar that contained aosp wifi and signal strength icons. At the bottom of the page I included this (attachment is framework-res, all KE2):
[Galaxy S II Themes and Apps] manuvaidya:
hi, can i have a request here for you pls....

from ur sig i came to know that u made battery circle mod for few android phones,

here comes my real request, i want to have the battery circle mod & CRT effect on my SGS2.... can u pls do that for me as well as for other people like me.... pls.... pls.... pls....

kindly consider my request. i am running latest firmware UK's KE7 for your information....

waiting for a positive response....:(
[Galaxy S II Themes and Apps] Rawat:
I uploaded one to the first post already ;)
[Galaxy S II Themes and Apps] manuvaidya:
hi, thats so kind of u to reply to my post, but i dont see any super circle battery mod in ur first post screen shot... is it super circle battery mod or the one displayed in the first post which gives u the result when u replace the framework file for KE7 ?

just bit confused thats all. if it gives circle mod & CRT effect, then u r simply great.... waiting for ur reply buddy..:(
[Galaxy S II Themes and Apps] mi3x:
Great job!!!! Could it be possible to make a default battery icon with percentage? If it's not too hard, you would definitely have lotssss of happy people around if you managed to pull that. :D

Thanks!! :D
[Galaxy S II Themes and Apps] pendo:
Yes, rawat's already got that taken care of. Plus he's more knowledgeable about the CRT effect issue than I am. Unfortunately I don't have this device yet, and while skimming through the forum I noticed that there was interest in an aosp style battery with percentage. So I just jumped in with the one I made for my N1 aosp builds.

You are correct that I've worked on several different devices and have made several different circle mods over the last ~8-9 months, and if there's something specific of mine you're interested in, let me know and I'll shoot the files over to rawat so that he can build it properly with the CRT effects and on the correct firmware.
[Galaxy S II Themes and Apps] Rawat:
battery mod KE7 CRT.zip is the one you're after.

I'll make one using pendo's battery icons, and attach to OP later today. :)
[Galaxy S II Themes and Apps] mi3x:
awesome news! Thank you very much!
[Galaxy S II Themes and Apps] spline1:
@Rawat

The charging animation is still not working on the KE7 framework with CRT :-(
[Galaxy S II Themes and Apps] Rawat:
Thanks. Fixing... Fixed :)
[Galaxy S II Themes and Apps] manuvaidya:
sorry to be a spoil sport here... but so many force closures after replacing battery mod KE7... pls fix it buddy...

i didnt check how system UI works, before i check , after installing battery mod immediately after systemUI, i got this error.... had to flash the stock firmware again & root it & then back to stock kernel.... huh....its pretty headache. moreover, its increasing my custom binary count !!!

kindly give me the working circle battery mod as seen in AOSP versions, with CRT effect.... i didnt check the unsigned framework.... got pissed off a bit after this... thought of asking ur help.

waiting for ur fix buddy.... pls do it ASAP for us....:o
[Galaxy S II Themes and Apps] manuvaidya:
hi buddy, thats exactly what i am talking about.... i want a super circle battery mod for SGS2. that is circle with break in between & the percentage of remaining battery inside the circle. i hope u got me right & u r referring the same mod i guess....

i want it so badly on my sgs2.. it is so cool & i like it very much....pls share it with rawat so that we can enjoy ur work happily.... i advice u get this device. its suer cool... i am sure u will. u would be waiting for this device....

happy modding android.... thanks for ur sincere & prompt answer....
[Galaxy S II Themes and Apps] nuoc mam:
hi

i overwrote my framework-res.apk with the one included in the battery mod KE7 CRT.zip and then rebboted the phone.

CRT effect is working fine, but battery icon is still stock.

Did i miss something? do i need to delete some odex file?

thanks
[Galaxy S II Themes and Apps] cmd512:
Hey Rawat,

Does CRT effect still break dim/bright for auto screen brightness in KE7?
[Galaxy S II Themes and Apps] Rawat:
Should be fixed now :)

Not sure :-s.

I'm not using auto-brightness atm because it annoys me. Prefer manual.
[Galaxy S II Themes and Apps] ogdobber:
overwriting doesn't work, you need to adb push
[Galaxy S II Themes and Apps] mb:
My device is rooted and running the KE7 released today. Tried to push the CRT & battery but I now get

failed to copy 'c:\android-sdk-windows\tools\framework-res.apk' to '/system/fram

ework/framework-res.apk': Read-only file system

Any ideas?
[Galaxy S II Themes and Apps] jonata:
Hi Pendo ...

possibile to give us your transparent statusbar for KE7 ?

many many many tks
[Galaxy S II Themes and Apps] cmd512:
Understood, but if you have CRT installed for KE7, can you just try auto-brightness, hold down on the proximity area, and see if dark<->bright is still instant? I would greatly appreciate it. :)
[Galaxy S II Themes and Apps] spline1:
The auto-brightness fail, was a problem from FW KDD and KE1 not from CRT Effect.
[Galaxy S II Themes and Apps] cmd512:
Incorrect sir, they worked fine until you enabled CRT effect. I enabled CRT effect on stock KE2 through decompile, enabling the bools.xml toggle, and recompiling. Result: CRT enabled, auto-brightness broken.

So no, it was NOT only KE1/KDD.

However, are you saying you have CRT effect on + KE7 and auto bright is gradual instead of instant bright/dim? Then that means it's fixed, and would love to use it again. :D
[Galaxy S II Themes and Apps] ogdobber:
adb remount
adb shell stop
adb push framework-res.apk /system/framework/
adb push SystemUI.apk /system/app/
adb reboot
[Galaxy S II Themes and Apps] lgkahn:
rubish.. i just overwrote mine fine with root explorer.. you just need to remember to make system read write first.
[Galaxy S II Themes and Apps] spline1:
o.k. the fixed "framework-res KE7 battery mod and CRT fixed.zip" works.

Charginganimation works fine :-)

CRT works

all fine
[Galaxy S II Themes and Apps] cmd512:
Yep, just overwrite with root explorer.
[Galaxy S II Themes and Apps] ogdobber:
@pendo do you have an update for the clear statusbar and aosp battery with percentage?:D
[Galaxy S II Themes and Apps] manuvaidya:
what should i rename the battery mod & crt file when rewriting in system/framework ???

should i rename .zip extension to .apk or should i copy the contents of that zip file ???

i am confused guys.... pls help me...

also battery percentage is not working, i copied the systemUI.apk file in app folder of system. i changed the premissions as it was in default systemUI.apk

i rebooted the phone, but no effect.... also CRT effect is not at all working....

i am surely missing something here...

mods/devs pls guide us step by step on how to enable this mod pls....
[Galaxy S II Themes and Apps] manuvaidya:
its not working with me.... its giving me so many FCs.... i dont know whats happening with my steps... no one here is not willing to help me including the mod...

this is bad.....

@Rawat: pls update ur first post with steps to have this mod on every SGS2. since u have this device, u know the steps on how to copy & paste files to which directory...

waiting for ur input....
[Galaxy S II Themes and Apps] manuvaidya:
should i have to change the permissions of the newly copied file to similar that of an old file ???? immediately after copying this file, its giving me so many FCs... & then root explorer is not at all functioning properly until i newly flash stock firmware & have root again.... i dont know whats happening with me...

pls help me.... how should i enable this mod step by step..... guide me pls...:(