Done, See attachments
Last edited:
Thanks guys i'll ad into next version.
( as well as the new russian )
Pvy.
Hey guys,
Animation is added i forgot the new languages tho my bad i'll be sure to update it asap.
Change Notes,
Added basic Animation options to free version
New Lighter Service
Released Pro/Donate Version to complement free version with enhanced Animation Options.
Added button to pro app in market.
grab it in the OP
or Go Pro on the market here
Edit* also i am gonna move the app to it's own thread soon. as it needs it
Pvy.
So all need to do is update the app? I'm using the mod version.
Sent from my Transformer Prime TF201 using Tapatalk
mod version is not updated just yet mate gimme a day
sorry i'll clarify my post
The app version uses an excessive amount of RAM: before upgrading it regularly used about 9 mb. Now that I have v1.6 (which is supposed to be lighter) it is still using 9+ mb.
I'm running CM7.2 on a Samsung Vibrant.
Image won't load for me. But the Ram is that high when the actual app is still open awell. The service uses 2.2 meg on all the phones I've tested on and id the same for all my beta testers. Android has to clean the memory first top it will drop once it needs to.
Pvy
Sent from my TEAM Powered Arc S
Aside from charging animation options, is there anything else different in the paid app?
Just reporting that the new update doesn't work on landscape mode... Aka my tablet.
Other than that, I love the app.
Bought the Pro version yesterday. Bit disappointed that the charging animation doesn't have the original MIUI pulse as an option Hey ho, can't have everything
Some small changes to the service, other than that atm no. Plan to add more tho.
Pvy
Sent from my TEAM Powered Arc S
[B]Options App[/B]
v2.0
added height options.
v3.0
added new color dialogs.
v4.0
fixed default color of med level to be non-transparent.
[B]Battery Bar[/B]
v2
added height options and fixed default colors.
Step 2
Navigate to smali\com\android\systemui\statusbar\ Folder
Place the 3 Smali Files from the zip here
BatteryBar.smali
BatteryBar$1.smali
BatteryBar$SettingsObserver.smali
Step 3
You need to Navigate to the res\layouts\ Folder
open your statusbar.xml
Step 4
Underneath the line with
Code:com.android.systemui.statusbar.DateView
add this
*** CHANGED ON v3 ***
Code:<com.android.systemui.statusbar.BatteryBar android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" [B][COLOR="Red"]android:layout_height="wrap_content"[/COLOR][/B] />
it should be right at the bottom above the
Code:
i have added my statusbar.xml for reference if yours is in a different order no big deal just put it last and above this line
Code:</com.android.systemui.statusbar.StatusBarView>
-Step 5
Recompile the apk however you normaly would (there are so many ways i wont cover this here)
then push it to your phone and reboot.
If you don't know how or are having issues this is how I do it!
Notes:
a. i have a file on my desctop that i edit this is a copy of the file pulled from my phone.
Steps:
1. after all mods are done open up apk manager
2. type 22 hit enter and pick the file you were editing ( SystemUI.apk )
3. type 11 hit enter and the app will recompile.
- 4. Open a copy of the SystemUI.apk ( see note a ) in winnra or 7zip ect put that window on one side of your screen ( windows 7 snap too (windows key + -> or <- ) is awesome for this )
5. Navigate to the projects folder of APK Manager and then navigate to the app you edited (SystemUI.apk)
6. Navigate to the /build/apk folder ( snap this to the other side of your screen ) ( Note that the build/apk folder has the same structure as the apk file open in winnra / 7zip )
7. for THIS MOD only! you will need these files simply drag the 2 files listed below into the same folder location in the open apk in winnra / 7zip
- /res/layouts/status_bar.xml
- /classes.dex
8. Push the apk that you draged the files into to your phone with adb like this
adb push [where ever your apk is]/SystemUI.apk system/app/SystemUI.apk
adb shell chmod 0644 system/app/SystemUI.apk
9. whilst you have adb up reboot
adb reboot
+ 4. Open a copy of the SystemUI.apk ( see note a ) in winnra or 7zip ect put that window on one side of your screen ( windows 7 snap too (windows key + -> or
- 10. Proceed to next step
Step 6
Once your status bar is back and running (you will have no battery bar yet)
Simply install "BatteryBarSettings.apk" then open the app and pick your settings!
Q: I am getting a FC on this or that, can you help me!
A: NO. We can't help you. Because what you just said means nothing to us.
We want to help you SO much, but in order to do that you need to report the bug properly.
We took care of that too, see here:
http://xdaforums.com/showthread.php?t=1292625
Q:OMG YOU STOLE MY WORK! YOU A!@#$!% etc etc etc
A: I kindly ask you that if you have an issue with anything above to PM me so i can sort it out politely. There is no need to flame in the thread.
.locals 12
.parameter "intent"
.prologue
iget-object v1, p0, Lcom/android/systemui/statusbar/policy/StatusBarPolicy;->mService:Landroid/app/StatusBarManager;
const-string v2, "battery"
const v0, 0x0
invoke-virtual {v1, v2, v0}, Landroid/app/StatusBarManager;->setIconVisibility(Ljava/lang/String;Z)V
return-void
that will perma hide the battery iconIf you don't know how or are having issues this is how I do it!
Notes:
a. i have a file on my desctop that i edit this is a copy of the file pulled from my phone.
Steps:
1. after all mods are done open up apk manager
2. type 22 hit enter and pick the file you were editing ( SystemUI.apk )
3. type 11 hit enter and the app will recompile.
4. Open a copy of the SystemUI.apk ( see note a ) in winnra or 7zip ect put that window on one side of your screen ( windows 7 snap too (windows key + -> or <- ) is awesome for this )
5. Navigate to the projects folder of APK Manager and then navigate to the app you edited (SystemUI.apk)
6. Navigate to the /build/apk folder ( snap this to the other side of your screen ) ( Note that the build/apk folder has the same structure as the apk file open in winnra / 7zip )
7. for THIS MOD only! you will need these files simply drag the 2 files listed below into the same folder location in the open apk in winnra / 7zip
- /classes.dex
8. Push the apk that you draged the files into to your phone with adb like this
adb push [where ever your apk is]/SystemUI.apk system/app/SystemUI.apk
adb shell chmod 0644 system/app/SystemUI.apk
9. whilst you have adb up reboot
adb reboot
I used & followed this tuto : http://youtu.be/YgWd0jsDtH0
if I used the plain SystemUI from APKTool\SystemUI\dist , I get neverending FC. upon reboot, the status bar is simply gone and even the launcher's "Notifications" soft menu option doesn't make it appear. gotta reflash the ROM to set things straight & get the statusbar back.
if I copy/paste "resources.arsc" from APKTool\SystemUI\build\apk into the fresh SystemUI I obtain in APKTool\SystemUI\dist, there are no FC and the status bar shows, but your top bar mod isn't present, not even when repeatedly checking/unchecking/rechecking "show battery bar" in your app.
it doesn't take a rocket scientist to understand & follow your tutorial, so I believe that my problem comes from somewhere in the recompiling process...
at work now, whenever I have 10min, I'll upload my systemUI apks