yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] t0mas_:
hi!

i'm trying to use the mod on rcmix3d 4.0 (sense 3.5), based on runnymede for desire hd.

i'm a noob at apk editing, but i read a lot and i think i got it right. i'm using apk multitool, an evolution of apkmanager. to decompile, i pulled systemui and framework-res, both via adb and rootexplorer, just tot make sure(edited and pushed both options). i drop systemui in

"place-apk-here-for-modding", open program, select project ("25")

then i decompiled with "10", put in the path to framework-res, and it decompiles with no errors. i do the editing, the guide is really good btw :D

then i recompiled with "11". then it asked me if system (yes) and then it says something about keeping non-edited files, by deleting the ones i did edit in the "keep" folder. did that(deleted classes.dex and status_bar.xml). on top of that, i dropped classes.dex and status_bar.xml from project/build to original apk using winrar. as far as i can understand, the part in apkmanager with the keep folder is trivial since i am manually doing it by dragging an dropping from /build to original.

then i pushed back, set permissions with chmod, and reboot. and the status bar is gone.

the log from apk multitool:

I: Framework installed to: C:\Users\Tomi\apktool\framework\1.apk

I: Baksmaling...

I: Loading resource table...

I: Loaded.

I: Loading resource table from file: C:\Users\Tomi\apktool\framework\1.apk

I: Loaded.

I: Decoding file-resources...

I: Loading resource table from file: C:\Users\Tomi\apktool\framework\2.apk

I: Loaded.

I: Decoding values*/* XMLs...

I: Done.

I: Copying assets and libs...

I: Checking whether sources has changed...

I: Smaling...

I: Checking whether resources has changed...

I: Building resources...

I: Building apk file...

The system cannot find the file specified.

(from here on its if i select to keep non-edited files)

I: Checking whether sources has changed...

I: Checking whether resources has changed...

I: Building apk file...

i tried different options while building apk, selecting "n" when it asks if system, and without the "keep" part, but with no success. and the only mathod i found to get status bar back is nand restore.

the only reasonable explanation to why this is happening i figured it has something to do with the file that cant be found, but no reference to what it is

so, if anyone has any thoughts/instructions/is able to show me where am i being an idiot, i'd be the happiest one by far. i really like the mod, am using the app since i cant get the mod to work, but i would really prefer the mod since it doesnt overlay all over the place :)

thanks for your time, and have fun

edit:

i tried a few more things since i got nothin better to do :P

i read that i have to have java and adb in path. had adb, added java's bin folder -> no luck

noticed platform-tools folder in apk multitool -> copied same folder from adb over it -> no luck

tried with apktool too, no error, did if framework successfully, b no error, still fc

and that "the system can not find the file specified" still bothers the hell out of me...
[Android Software/Hacking General [Developers Only]] viskey:
Pvy, have you thought about making a flashable zip that everyone could use for the mod version? This would pry eliminate compiling issues a lot of people will have. That would be sick! Have one zip to add the mod and settings apk. Then another zip to remove the current battery icon.
[Android Software/Hacking General [Developers Only]] gold3ndrag0n:
Would you make an app that allow those of us with stock roms to remove the stock battery icon on our status bar? I don't feel like using a custom rom atm and I'm just rooted, haven't really read up much on apk editing and such, so it'd be a big help if you could make an app to do just that. I'm running on a stock Verizon 2.3.4 GB DINC, dunno if that makes a difference.
[Android Software/Hacking General [Developers Only]] pvyParts:
I wish it was that easy. The differences in all the version's of android and carrier variations make it impossible to do....

Again it is not that easy hiding the icons needs special permissions that only the systemui.apk gets i am still looking for a way tho. I may have fidured out hoe to detect full screen in older versions of android tho so any thing is possible :) ill let you guys know as soon as i do.
[Android Software/Hacking General [Developers Only]] viskey:
Shoot!
[Android Software/Hacking General [Developers Only]] giorgos21:
it should be better to intall a rom with all these things in the notification bar without to install this mod???:confused:

thanks for the post :) friendly...(sorry for my bad english:D)
[Android Software/Hacking General [Developers Only]] viskey:
Well some people like myself are perfectly ok with stock rom, rooted, debloated, tweaked. Some people like all the bells and whistles with certain roms but I like a stable rom. I follow different roms and there are always things that either arent working correctly, wont ever work or no idea how to fix it. See i never have to worry about that with my stock rom. Id love to flash cm7 but even with that there are a list of things that don't work.
[Android Software/Hacking General [Developers Only]] t0mas_:
i figured my problem lies somewhere in signatures of the app. it gets broken even if i drag/drop classes.dex from one original file to another, tried using 7zip and winrar. any suggestions?
[Android Software/Hacking General [Developers Only]] shoman94:
any updates on the mod version for charging animation and setting.apk mod?

Thanks
[Android Software/Hacking General [Developers Only]] t0mas_:
i finally figured it out, all i had to do was resign apk and it WORKS :)

thanks for your mod, it is great

edit:

with this :

http://xdaforums.com/showthread.php?t=822388
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
I'm using the app version of this mod on a few of my ROMs, and the mod version is built into the tweaks of some of my others (READ: I use Boot Manager, lol). So, the first thing I want to say is Thanks! :D and keep up the good work. Now, on to my question/request:

Is there (or could there be) an easy way to configure the battery bar to be semi-transparent and the full height of the status bar? I know the height is 38, but I couldn't successfully figure out how to make the bar semi-transparent. Perhaps just a setting to set the transparency percentage? That would make this already fantastic product extremely awesome. Or, maybe you (or someone else that knows what they're doing) could dumb down some instructions on how to do it?

Again, I appreciate your hard work on this, and look forward to future updates :).
[Android Software/Hacking General [Developers Only]] shoman94:
You do it in the app. Where you set the colors in hex. The first 2 digits is the transparency. FF is opaque and 00 is fully transparent.
[Android Software/Hacking General [Developers Only]] LfcFan1977:
A few screenies to help

I'm using the mod version and can't remember if the stand alone app is the same
[Android Software/Hacking General [Developers Only]] pvyParts:
All my apps use the same colour picker. :) I'll try to make it more obvious for what each part does

Thanks for taking the time to do screenies.

Pvy

Sent from my TEAM Powered Arc S
[Android Software/Hacking General [Developers Only]] motcher41:
Absolutely love this and to me this is the best part of them at miui rom. Loving the new animation. I have an idea for in an addon. When I dock my phone and it's charging overnight when the battery is full of the line is there solid. To prevent possible screen burn would it be possible to have an option so when your battery is completely full when its charging it will go to black.

Either way I absolutely love your app. I've told a lot of people about your app and I hope you got some business through it.

sent from my eclipsed chargecrack
[Android Software/Hacking General [Developers Only]] pvyParts:
I don't see a problem adding a fully charged colour option. Bit busy at work atm flying around and stuff. So I'm not at home and no PC to work with. so i will add it to my to do list for when i get back home
[Android Software/Hacking General [Developers Only]] Stephen:
Is it possible to have the battery text with the % showing and not have the battery bar and remove the battery icon?
[Android Software/Hacking General [Developers Only]] gold3ndrag0n:
Cool, I figured it was something like that. Keep us posted on what you find, thanks for your hard work.

My thoughts exactly, I've got my phone set up how I like on the stock ROM, I was looking around for stable ROMs and it seems only CM7 and MiUi but both don't seem to offer much and there are things I don't like about them too. So if I can do all my customization on a stock ROM why would I install custom ROM. Now to get rid of this stupid stock battery icon without having to mess with the systemUI.apk...
[Android Software/Hacking General [Developers Only]] shoman94:
Shouldn't be to bad. The edt app does it no problem.

Edit: of course unless you are trying to do it without Modding the systemui.apk.
[Android Software/Hacking General [Developers Only]] motcher41:
thank u!

sent from my eclipsed chargecrack
[Android Software/Hacking General [Developers Only]] pvyParts:
Howdy Guys,

Just a quick update, i got sent away for work (very short notice) and not had much time to do anything for the last week... so i didn't get the mod update out yet :P SRY! however i had some spare time and the sources of the pro app and i have made it detect full screen mode for all you guys that wanted it.

NOTE* as far as i can tell there is no "native" way to detect this on android before 3.0, so i had to write my own watcher/listeners for gingerbread and below (hence the delay with it) i didn't want to release it till i was happy with it. i dare say that there will still be some minor bugs but it works for me on my tablet(ICS) and my phone (GB and ICS)

i'll push an update as soon as i can and i'll update the free version to include it aswell.

I'll update the mod version when i get home on Wednesday or Thursday next week, i dont have the sources with me so i cant do much :P

sorry about the delay :)

Pvy.

PS. i think i should get ubunto onto my transformer... if i could code on it that would ROCK :P :D
[Android Software/Hacking General [Developers Only]] phoney6:
This may help?

http://xdaforums.com/showthread.php?t=1221850
[Android Software/Hacking General [Developers Only]] pvyParts:
Haha yeah I want to get the keyboard dock first. :)

Pvy

Sent from my TEAM Powered Arc S
[Android Software/Hacking General [Developers Only]] joeTaco:
So the update with "hide under full screen" is out on the market, in the pro version. It works perfectly on my Gingerbread phone. Good work!
[Android Software/Hacking General [Developers Only]] shoman94:
Still planning on the mod getting done this week?
[Android Software/Hacking General [Developers Only]] pvyParts:
If I ever get home from my work trip. Yeah.........

Pvy

Sent from my TEAM powered Arc S
[Android Software/Hacking General [Developers Only]] shoman94:
Stop messing around and get the job done! Lol
[Android Software/Hacking General [Developers Only]] pvyParts:
Hooray! Flying Home TODAY! :D

also The ECT app has nothing to do with hiding the icon... it simply sets a system preference. you have to have mods in the systemui to use the preference.

Pvy.
[Android Software/Hacking General [Developers Only]] shoman94:
I know hence why I added the edit.

Now get home! Lol
[Android Software/Hacking General [Developers Only]] motcher41:
Thanks for adding the full option I suggested!

Sent from my SCH-I510 using Xparent Blue Tapatalk
[Android Software/Hacking General [Developers Only]] motcher41:
I did notice the full color changes the regular color. Then.if you change the regular color the full matches it

Sent from my SCH-I510 using Xparent Blue Tapatalk
[Android Software/Hacking General [Developers Only]] 88Keys88:
Disables installs

It appears that the latest update to TEAM Battery Bar has has an unintentional side affect. It blocks the "install" button on any and all installs from the Amazon app store. Once I disabled TBB, the button was available again.

Droid Bionic

Stock

Rooted
[Android Software/Hacking General [Developers Only]] pvyParts:
thanks for reporting, i think it is a security thing. but am still looking into it. are you running in fullscreen detection mode? if you have some time turn it off and let me know if it still has issues.

Pvy.
[Android Software/Hacking General [Developers Only]] shoman94:
Where is this mod update I'm waiting for? :-)
[Android Software/Hacking General [Developers Only]] virusmonk3y:
I had this same issue. Disabling the service resolved the issue with the install button
[Android Software/Hacking General [Developers Only]] pvyParts:
It's complicated :P i have it working now jsut have to update the app to match but i am moving all my apps over to ICS stlye Actionbar/fragments ect ect hence the delay :)

also been working on making it read the dock battery to have a dual bar or a 50/50 bar on my transformer :) with a few fancy options aswell.

Pvy.

:) like i said if you could turn off the full screen detection and test that would realy help. :) as the Amazon app hates me, it wont let me even get far enough to install any thing.
[Android Software/Hacking General [Developers Only]] virusmonk3y:
Did that, still no go. :)
[Android Software/Hacking General [Developers Only]] pvyParts:
Ok thanks for the info. Ill be in touch. We need to do some research.

Can you please advise. Phone, android version and flavor. ( stock, miui, cm, aosp, aokp ) and any other mods ect you have if any.

Pvy

Sent from my TEAM powered Arc S
[Android Software/Hacking General [Developers Only]] shoman94:
Boy I can't wait for charging animation.... :sly:
[Android Software/Hacking General [Developers Only]] jogojo:
Hello,

i have the same issue with the pro version from the google market. Only disabling the service fixes the Problem.

I use a Samsung Galaxy Nexus i9250 (gsm version) with Stock Android Version 4.0.2 Build ICL53F.

BTW: Is it somehow possible to reduce the memory usage of the service? It needs about 30 Mbyte Memory ... quite a lot :-O

BTW: The E-Mail Adress you enetered in the market does not work ;-)

Thanks,

Stefan
[Android Software/Hacking General [Developers Only]] kjdiehl:
Hi pvyparts! Everything's been going swimmingly with the app, but I wanted to bring to your attention a quirk I discovered. There's something about the way your app (and others like Screen Filter, Lux, and Juice Defender) modifies the screen display which causes the stock Android Package Installer to disable the "Install" button. Just turning off Battery Bar temporarily solves the problem, but I thought you'd want to know about it. Here's another thread discussing the problem.

http://xdaforums.com/showthread.php?t=1085450

Best,

Kris
[Android Software/Hacking General [Developers Only]] motcher41:
The latest release of the app has charging animation

Sent from my SCH-I510 using Xparent Blue Tapatalk
[Android Software/Hacking General [Developers Only]] motcher41:
I'm thinking these issues are Rom related I haven't seen the issue at all so must not be an app issue. Gotta be something in the rom causing the issue.

Sent from my SCH-I510 using Xparent Blue Tapatalk
[Android Software/Hacking General [Developers Only]] pvyParts:
From what i have found it is a combo of both. hard to test ass all the roms i have tested for myself so far have not had the issue :P lol... :D

Pvy.
[Android Software/Hacking General [Developers Only]] kjdiehl:
Hi pvy,

First: "i am moving all my apps over to ICS stlye Actionbar/fragments" !!!! :D That sounds awesome!

Second, not to add to the list of things that aren't your problem but... So I just installed Euphoria RC2, Team Passion's ICS ROM for the Vibrant. It has a built-in battery bar in the ROM which can be turned on or off. Well, I actually like yours better, (their's you can't modify the width or have the colors change,) but there's a conflict and TEAM Battery Bar crashes every time I try launching it on their ROM. I imagine it might have something to do with the presence of their built in battery bar, even though I've got it turned off, but I just thought I'd bring it to your attention. I'll also bring the issue to their attention and hope for the best.

Thanks!

Kris
[Android Software/Hacking General [Developers Only]] Scary Guy:
Latest update to fix a 4.0.3 bug causes a force close upon opening the app, and I'm running CM9. However the bar still shows up and works!
[Android Software/Hacking General [Developers Only]] pvyParts:
there is another update after that update :) up to version 2.2 to fix that bug :P i hate rolling versions back something else always breaks :P

I have the Mod version ready for you mod guys will publish it tomorow :D :D sorry bout the delay :)

Pvy.
[Android Software/Hacking General [Developers Only]] dcharleyultra:
Anyone else experiencing not being able to set the colors for Full Charge and Regular Charge independently?

I have a EVO 4G, running Evervolv ICS; and a NookColor running CM 9.

Swyped from my Evo 4G using Tapatalk
[Android Software/Hacking General [Developers Only]] Scary Guy:
I love how Google Play doesn't tell me that there is an update when I look at all apps. Had to actually find it and click on it to see that.

Anyway awesome app and thanks for the quick fix.

Also works awesome with Micro CPU Monitor. I've got yours on top and that just below the status bar. You should incorporate something like that into your app, or ram usage etc.. Maybe a few of them under the status bar and above the wallpaper since mine is transparent. Not sure if that's possible...
[Android Software/Hacking General [Developers Only]] CharsiBabu:
thank you :D
[Android Software/Hacking General [Developers Only]] pvyParts:
Updated to v5

Mod Version is updated!

INSTRUCTIONS HAVE CHANGED! be sure to check them! if you don't your bar will not work properly.

I just added the newest app version APK to the OP aswell

Pvy.​
[Android Software/Hacking General [Developers Only]] shoman94:
I'll have to see if I can add the mod version to my ics rom.
[Android Software/Hacking General [Developers Only]] pvyParts:
shouldn't have any probs :) sorry about the delay :) let me know if ya get stuck.

Pvy.
[Android Software/Hacking General [Developers Only]] JabboMaster:
Works with odexed SystemUI?or have i to deoxed it?

THX,nice job
[Android Software/Hacking General [Developers Only]] joeTaco:
pvyparts, an idea just struck me that I think is quite good, so I thought I'd share my humble suggestion.

For me, this is the absolute best battery display app out there. Visually, though, I have just one nitpick with it- depending on the colour you pick, the contrast between the battery bar and black can make your phone look kind of "asymmetrical" at times.

So here's the idea: Provide the option, for each colour setting, to change the colour of the OTHER side of the bar.

For example, at 75% battery, you could have 3/4 of the bar light blue and 1/4 of the bar dark blue. Or you could use complimentary colours, or whatever. When you go down a battery level, you could switch and have the old left colour on the right... the possibilities are endless. Do you know what I mean? For people who, like me, are OCD about making their phones pretty, this would be a godsend.

I don't know exactly how one would implement this without overcomplicating the menu interface, but I think it's doable, if you decide it's a good idea.
[Android Software/Hacking General [Developers Only]] t0mas_:
i'd like to see a center-mirrored version in the future. not requesting nor complaining, just my wish/idea. i love the new mod charge animation :)
[Android Software/Hacking General [Developers Only]] howtomen:
So I'm trying on the sgs2 ics right and I decompile but I run into an issue. There is no statusbar.xml but there is status_bar.xml so I use that but the lines in instructions don't show up :/

Ive ddone this for gb nd I really like it thanks for mod any help is appreciated

Firmware:LP3

Device:sgs2
[Android Software/Hacking General [Developers Only]] pvyParts:
Upload your systemui ill have a look

Pvy

Sent from my TEAM powered Arc S
[Android Software/Hacking General [Developers Only]] creeve4:
Will there be any more updates to the mod version to bring it up to the same functionality as the app version?
[Android Software/Hacking General [Developers Only]] howtomen:
heres the decompiled folder
[Android Software/Hacking General [Developers Only]] seahorsepip:
Help

When I decompile my SystemUI.apk I get the res folder and manifest file but not the smali folder O.o, what have I done wrong??
[Android Software/Hacking General [Developers Only]] pvyParts:
Is Your system odexed?

Pvy

Sent from my TEAM powered Arc S

Yes but there are limitations that the mod version can't do. What is missing? they both have the same options menu now.

Pvy

Sent from my TEAM powered Arc S
[Android Software/Hacking General [Developers Only]] creeve4:
Sorry, didn't realize you had updated, the title of the OP still says 2/27/12
[Android Software/Hacking General [Developers Only]] pvyParts:
Whoops thanks for that. Fixed it now.

Sent from my TEAM powered Arc S
[Android Software/Hacking General [Developers Only]] howtomen:
Were u able to see the prob?
[Android Software/Hacking General [Developers Only]] pvyParts:
try using the tw_status_bar.xml

see if that works if not i'll take more of a look when i get home.

Pvy.
[Android Software/Hacking General [Developers Only]] seahorsepip:
Step 4:

add this....Add what? something has been gone from your tutorial :/

---------- Post added at 10:48 AM ---------- Previous post was at 10:47 AM ----------

Yeah I got teh smali folder now after deodexing :P

Also I can't get to hide the battery icon :/

Heres the StatusBarPolicy.smali file: http://dl.getdropbox.com/u/4281191/StatusBarPolicy.smali

I hope someone knows what I do wrong :P
[Android Software/Hacking General [Developers Only]] dennytor:
Works,thanks! :)
[Android Software/Hacking General [Developers Only]] leonardoaraujo:
atrix CM9

Hello, I have an Atrix.

dude, thank you for this mod gave a bit of work to make it work.

ps CM9 has two status_bar.xml

res / layout

res/layout-sw600dp

in my case to run in two modes, (smartphone and tablet), must be added the line in two. (Just so you know), but works perfectly!

I have a Atrix with this rom, I even added tweaks mod &, (http://xdaforums.com/showthread.php?p=24179631&posted=1#post24179631), can add your tweak in my rom?

Good job! :)
[Android Software/Hacking General [Developers Only]] pvyParts:
of course mate not a problem.

Pvy.
[Android Software/Hacking General [Developers Only]] howtomen:
well it was unsuccessful... i tried even editinng both but couldnt find the right lines... what i did see was that they are very similar
[Android Software/Hacking General [Developers Only]] pvyParts:
can you send me a SS of the status bar closed and expanded for context on the layouts :)

Pvy.
[Android Software/Hacking General [Developers Only]] drgekkoo:
Heya

i have adeed the bettery bar to my rom before and it was on top of the statusbar.

but now i added the new version and now its not on top anymore how do i get it back on top???

greetz gekko
[Android Software/Hacking General [Developers Only]] pvyParts:
how did you update and what is wrong. it shows else where? or doesn't show? i need more info :)

Pvy
[Android Software/Hacking General [Developers Only]] drgekkoo:
oke first i had an older version where the batter bar was above the status bar (nr1) and now with the v5 it shows in the statusbar (nr2)

i replaced the old batterbar smali files in my systemui and replaced the text in status_bar with the new one.

by the way before i was using version 2

no idea??
[Android Software/Hacking General [Developers Only]] Superm@π:
Just an fyi, no matter what I do, the bar goes away after reboot. Running CM7 on my DX2. Thanks