yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] davidisflash:
Thanks man. I'll give you a thanks later since I've already hit the daily XDA thanks limit lol

Steps I tried:

- Downloaded your zip

- Extracted it. I saw your SystemUI.apk in the system folder. Deleted and replaced with the one I'm using

- Re-zipped

- Booted into CWM (I have the latest)

- Attempted to flash the zip. Installation aborted

*Edit*

The zip needs to be signed I'm thinking

What am I missing?
[Android Apps and Games] Negan:
sound like you didn't zip it properly to get the installation aborted error. you need to go to the parent folders of the zip (meta-inf and system) and zip those two files to make the zip

it will flash
[Android Apps and Games] davidisflash:
Signing the zip allowed me to flash it. I used this tool to sign it:

http://xdaforums.com/showthread.php...mctr=(not provided)&__utmv=-&__utmk=230449951

After flashing in recovery and rebooting, I still have no status bar.

I think what I'll do today is do a clean reflash of CM11 and just go straight to flashing the zip. I must have messed something up when copying my SystemUI to privapp (I think it's the one I modified by adding a subfolder which may have messed things up).

So what I'll try later is this:

1) Flash CM11 clean (I'll wipe data, wipe cache, dalvik, format system, flash rom, gapps)

2) Install the 3minit mod apk

3) I will then reboot into recovery and flash the zip you have provided and get back to you

Thanks guys for all your help, you rock
[Android Apps and Games] carl1961:
Can you Post your roms thread and I will download the rom and try to help.
[Android Apps and Games] davidisflash:
Thanks. Reflashed Rom. Flashed the signed zip.nothing happened. Took ops zip he provided and copied to priv changed permissions then rebooted. This did something. Status bar disappeared and won't come back

Here is the link

https://download.cyanogenmod.org/get/jenkins/78748/cm-11-20140805-SNAPSHOT-M9-d2lte.zip
[Android Apps and Games] remotehugger:
thank you for these awesome icons ! and now that [MENTION=581991]roi[/MENTION]rraW "edor" ehT made it flashable for NDC I couldn't be happier - one thing I've noticed though is that none of the icons I've used ever show 100% - always just 99% - even after being charged all night it still only goes up to 99 - anyone else ?? also seems like I've noticed some battery drain - after turning on this morning and every morning since flashing this mod, it drops from 99% to 94% in less than an hour without any use - idk what the cause is though -

VM GSIII/jdsingle76's deodexed NDC 4.4.2/stock kernel ?
[Android Apps and Games] gharrington:
You probably forgot to copy META-INF and AndroidManifest.xml from original to modified apk
[Android Apps and Games] gharrington:
No matter the mod there is always 1 that thinks they notice battery drain lol.

It extremely unlike mate as apart from when you are viewing/downloading battery's from the app there is no cpu intensive code for it to run. Check the battery under settings and see if either com.android.systemui or com.three.minit are using high percent.
[Android Apps and Games] Negan:
[MENTION=1577398]gharr[/MENTION]ignton

Do you have any other suggestions for me to try on cm 11s?

I linked you a few things on post 835
[Android Apps and Games] remotehugger:
no there not - it seems like I'm getting same usage honestly but the numbers show different - ya know ??? like I'm at 80% after 5 hours of lite use - DOH! I changed my governor to interactive yesterday and forgot - I bet that's what I'm seeing - what about the icon never showing 100 ?

VM GSIII/jdsingle76's deodexed NDC 4.4.2/stock kernel ?
[Android Apps and Games] gharrington:
Well as you can see from screen shot in previous post I am no having this issue.

I can only suggest checking you have all the latest mod files. Also go back to stock and see if issue persist. I will take another look at my code see if I can see anything but this is the first time it's been mentioned.
[Android Apps and Games] gharrington:
I will take a look at you files mate. Just to be sure you are putting all in priv-app folder not app right?
[Android Apps and Games] cdzo72:
Has anyone here fiddled with modifying the SystemUI.apk from PhoeniX v9.0 - v9.4 ROM or from the S5 mod zip?
[Android Apps and Games] Negan:
Correct
[Android Apps and Games] Kjc99:
Ok guys I'm using 3minit which is awesome but the icons keep showing up in my gallery I received some info on Omega thread about. nomedia files is there a page on this thread that can help me... I really want to use it

Thanks
[Android Apps and Games] gharrington:
The next release will fix this issue automatically for you mate. No too long now.
[Android Apps and Games] carl1961:
[MENTION=1430499]davidisflash[/MENTION] try this Recovery installer, if recovery fails unzip and get systemUI.apk

I Used the Battery Mod code gharrington had in status_bar.xml.zip
[Android Apps and Games] Negan:
Do you by chance have me mixed up with the other user who had flashing issues? I'm not sure what exactly you've attached?
[Android Apps and Games] carl1961:
use Gallery Excluder
[Android Apps and Games] carl1961:
yes Your right Sorry it was for [MENTION=1430499]davidisflash[/MENTION] you responded to his post. it is SystemUI.apk mod
[Android Apps and Games] marcran75:
Adding a .nomedia file inside the icon folders and rebooting removed the icons from my gallery. Thanks to [MENTION=2560614]roirraW "edor" ehT[/MENTION] for the suggestion.
[Android Apps and Games] carl1961:
is that just a empty file with that name?
[Android Apps and Games] marcran75:
Yes
[Android Apps and Games] carl1961:
Great I see one already in the 3MinitBatteryIcons folder. so I copied a copy of it to each folder inside 3Minit Downloads folder. now I can remove the Gallery Excluder app (one less running)
[Android Apps and Games] Kjc99:
Thanks this works!
[Android Apps and Games] davidisflash:
Thanks man. I tried these steps which failed:

- Flashed the zip just fine in recovery but I no longer can boot out of recovery when trying to reboot device. After dirty flashing ROM again and repeating same issue

- Instead I plucked out the systemui.apk as you suggested from the zip you provided. Copyed to priv folder, changed permissions, rebooted. Now SystemUI keeps FCing. I already had the 3 minit mod app installed since I dirty flashed. SystemUI just keeps restarting, phone unusable
[Android Apps and Games] gharrington:
Can you get a log cat?
[Android Apps and Games] davidisflash:
IT WORKED!!!! had to reinstall mod app first ...thank you!!!
[Android Apps and Games] carl1961:
ok try this recovery installer (made with same script from your rom)

tried a diffrent way

changed dim to 0.0 in :

SystemUI.apk\res\values\dimens.xml

<dimen name="status_bar_battery_height">0.0dip</dimen>

<dimen name="status_bar_battery_width">0.0dip</dimen>
[Android Apps and Games] davidisflash:
Hi Carl thank you. See my last post. Your zip worked. I simply took out the SystemUI apk as you mentioned but this time made sure that after recovering my ROM with a dirty flash, I reinstall the 3minit mod apk first before your apk getting pushed to priv-app. Somehow even on a dirty flash the 3 minit battery mod app didn't stick
[Android Apps and Games] carl1961:
Good
[Android Apps and Games] pas2001:
Must thank ...

Feel most appreciate for your help mate.
[Android Apps and Games] gigeaky:
any idea why i'm not able to download any mods? i just shows downloading and then nothing....
[Android Apps and Games] Negan:
Glad to hear you got it working with cm 11.

Now I just need to get it working with cm 11s!
[Android Apps and Games] carl1961:
[MENTION=5098295]markbencze[/MENTION]

try this recovery installer
[Android Apps and Games] Negan:
Tried it, caused systemui fc unfortunately.

Is that my systemui I linked from post 835?

Also what did you do to it to try to make it work? Just so we can somewhat track what definitely isn't working
[Android Apps and Games] carl1961:
Yes, I added the same code that the other cm 11 used.

Try to get a log. You can use logcat from play store.

Try using the 3minitbattery.png app make sure it gets Supersu root permition.
[Android Apps and Games] Negan:
Oh that's possibly why. My cm version is different than regular cm 11

Mines 11s for oneplus one. Likely a few different things in the .apk
[Android Apps and Games] carl1961:
ok tryed again,

changed

<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:layout_width="0.0dip" android:layout_height="0.0dip" android:paddingStart="2.0dip">

<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />

<include android:id="@id/signal_cluster_text" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_text_view" />

<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginBottom="@dimen/status_bar_battery_bottom_padding" android:layout_marginStart="4.0dip" />

<com.android.systemui.DockBatteryMeterView android:id="@id/dock_battery" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginBottom="@dimen/status_bar_battery_bottom_padding" android:layout_marginStart="4.0dip" />

<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="5.0dip" />0

mabe try the other cm 11 moded systemui.apk
[Android Apps and Games] Negan:
well this is proving to be a royal pain to make it work.

still getting systemui fc.

when I get home I can run a logcat to see what's up if we still can't get it.

I know Gary said he was going to try to help as well.

I truly appreciate you taking the time man. I know it will eventually work!!!
[Android Apps and Games] davidisflash:
You guys all rock! Thank you again! markbencze I hope you get this sucka working soon

Markbencze, btw my current CM11 status bar setting that works in "Settings" is to display the battery as a circle, not icon, with the option to display the numerical text. What version of CM11 are you working with? I know in the last month or two there have been several CM commits to make a bunch of theme changes. If there is anything you want me to try since I too am on CM11, let me know.

Another q for you guys: how often does something like SystemUI.apk tend to change in a ROM? If I try say the next stable build of CM11 in a month, would my apk have to be remodded? The original stock mod showed a build date of 2008 in root explorer which I don't believe for a bit
[Android Apps and Games] Negan:
I'm running cm11s which is the build only available for oneplus one.

I actually got an ota today and have a new sytemui to try. Maybe it works this time. If not I will again upload a few things and hope a few can assist. Gary and Carl have been very helpful as is pas201
[Android Apps and Games] pas2001:
I missed one 0 in my name mate.
[Android Apps and Games] carl1961:
[MENTION=5098295]markbencze[/MENTION] you might try to do a dalvik cache wipe also right after you install or push that file to your phone
[Android Apps and Games] Negan:
Hahaha my bad!

---------- Post added at 09:27 PM ---------- Previous post was at 09:26 PM ----------

Well I'm gonna decompile my latest systemui and see if I can make it work this time. There's gotta be a way
[Android Apps and Games] Negan:
Where's the old bang head emoji! Still fc! I'll upload my new systemui decompiled, original and frameworks-res if anyone wants to join me in frustration and head scratching ? Lol

https://mega.co.nz/#!6M4ATAiA!EQuJ5WddrsguLeIdASQEYjnJKUhzQqaxjqGXR9vXlAI
[Android Apps and Games] gharrington:
Can you get a log mate? This will make it much easier....
[Android Apps and Games] gharrington:
Try this mate. If it fc please get log.

I know when SystemUI fc device is unusable so plug device into computer open Command Prompt/Terminal and type:

adb logcat > log.txt

This will create a text file with the log then please upload it. (Make sure you have usb debugging enabled in developer setting in device)
[Android Apps and Games] Negan:
Here's my log. I let it run for about 10 seconds

https://mega.co.nz/#!TcgXFRZK!Eo0YAZf22kbHNxpvZHJ_wvf6HCkE4TuNL1B34GwAkl0
[Android Apps and Games] carl1961:
try this :)
[Android Apps and Games] carl1961:
you have xpose installed? maybe that's causing conflic's. log shows xpose running , starts at line 370
[Android Apps and Games] Negan:
Tired with xposed uninstalled also. No dice. Again I thank you for your help and persistency
[Android Apps and Games] gharrington:
What runtime are you using Dalvik or ART?

You can check in Settings/Developer options

It is saying it can't find MinitBattery class (smali files) so because art behaves different in the way it installs and uses app class files it may be trying to use original apk class files.
[Android Apps and Games] Negan:
Dalvik. Art is not ready for prime time
[Android Apps and Games] gharrington:
Well was an idea lol. Will look into it more tomorrow mate.

If I can't find solution I will flash cm11 I just can't do now.
[Android Apps and Games] Negan:
I very much appreciate the help man. You guys are great!
[Android Apps and Games] pas2001:
You said you use CM 11S not CM 11 right?
[Android Apps and Games] pas2001:
Post here for gary can see that you dont use cm11... In case he will flash cm11.
[Android Apps and Games] Negan:
yeah I am using the oneplus one which is currently running cm11s which is different than regular cm 11 and only available for the oneplus one
[Android Apps and Games] davidisflash:
Hi gharrington/Carl, when you made the zip for me that worked, did you do anything different at all from the instructions in the OP? Moving forward for new ROMs I'd like to do the mod on my own instead of asking for your help since I know you guys are busy
[Android Apps and Games] mcjordan92:
does it support wide batteries (2 spots, like the clock)? and for kitkat 4.4.2?
[Android Apps and Games] roirraW "edor" ehT:
It works for me for both.
[Android Apps and Games] Myth2014:
hi,sir,thanks for your guide,I have a question.

Restart my phone, battery icon into 3MinitBatterySettings by default, and enter the 3MinitBatterySettings selection icon does not change, restart the status bar to change..

来自我的 vivo Y18L 上的 Tapatalk
[Android Apps and Games] Xar0:
Hi [MENTION=4619873]gharrington[/MENTION]. Nice Mod, I love it. I just have 1 problem. All downloaded skin were displayed in my Gallery & look so annoying. Can't you do something about it? Thanks in advance & keep up the good work.
[Android Apps and Games] pas2001:
Sorry to say that if you read back you will see what gary told...[emoji2] #874 ask. #875 answer
[Android Apps and Games] gharrington:
Hey mate. Can you make a backup and use the LAST SystemUI I uploaded for you but this time place the SystemUI.apk in your rom zip and flash with full wipe.
[Android Apps and Games] Xar0:
Sorry, I overlooked that. Thanks.
[Android Apps and Games] carl1961:
also posted back a few post, copy empty file named .nomedia to your mattery icon folders There is already a .nomedia file in your 3MinitBatteryIcons get a copy of it and put in all your folder inside the 3Minit Downloads\BatteryIcons
[Android Apps and Games] Negan:
Yes I can try but I really can't see it working. It was a systemui from a different rom wasn't it?
[Android Apps and Games] gharrington:
No the last one I posted way yours I think mate. Post 907
[Android Apps and Games] Negan:
Ok I'll let you know in a few min if it worked

Update; wish I had good news but I don't. Do you think it could be due to my rom having 2 types of status_bar.xmls?
[Android Apps and Games] gharrington:
It's very strange the log cat says it cannot find MinitBattery class but the smali files are there.

I think I will look through the SystemUI smali files tomorrow and see what's going on.
[Android Apps and Games] Negan:
Yeah I saw that also. It's a head scratcher.

Thanks again Gary
[Android Apps and Games] carl1961:
The other cm 11 has the same two status_bar.xmls as your's
[Android Apps and Games] Negan:
Well that sucks. In theory it should be working
[Android Apps and Games] mcjordan92:
hmm stupid question..

how do I "decompile" and what is apktool 1.5.2?

Am I in a developer only section or I miss something??
[Android Apps and Games] roirraW "edor" ehT:
[COMPLETE GUIDE] decompiling, theming, and recompiling JB SystemUI.apk [Jelly Bean] (still largely applicable to KitKat), and What is APKTool.
[Android Apps and Games] pas2001:
No stupid question and you are not in developer only thread. But sometime it will easier and proud if you can DIY.
[Android Apps and Games] mcjordan92:
ye thanks for that.. I give up ahead.. its not worth it

I prefer paying a beer for DInotY rather than wasting 3 hours for figuring out what is written there.. :)
[Android Apps and Games] pas2001:
For the one not ready . You can tell your detail such as your device .. your rom.. and upload your systemui.apk and framework here. If we can help we will do surely.

BTW in post 10 may contain file that you want.
[Android Apps and Games] mcjordan92:
I use Sony Xperia Z running on stock 4.4.2

attaching my SystemUI.apk, SystemUI.odex and SS of my about phone, zipped together.

If you or anyone is bored and wanna make few boxes.. there you go :)
[Android Apps and Games] pas2001:
Thank to send and sorry after see your systemui.odex cos it for deodex mate.?
[Android Apps and Games] mcjordan92:
damn it.. second thing im losing for being odexed.. Ill consier deodexing now.. thanks anyway
[Android Apps and Games] carl1961:
You can run this battery mod on a Odexed rom because i do. What is the link to your rom. Or better zip up the whole framework folder and the META - INF folder. I can then deodexing your systemui.apk odexed systemui.apk
[Android Apps and Games] Negan:
You just gonna deodex the systemui and framework-res?
[Android Apps and Games] carl1961:
Yes but I need the frameworks file to deodexing the systemui file. If you have the link to your download I can do the whole rom. But just for the battery mod you do not need to deodexing you're rom, it will work just fine in your odexed rom.
[Android Apps and Games] Negan:
well that's interesting. A buddy of mine swears by odex roms but does like this mod. so once I deodex the framework and systemui and make the mods (i have no problem making it work on tw!) my flashable will need to have both framework-res and systemui (moded) and it should work?
[Android Apps and Games] pas2001:
Carl saw post 941?
[Android Apps and Games] carl1961:
Yes for us to help we need framework-res.apk twframework-res.apk and Deodexed SystemUI.apk.

For me to deodex the SystemUI.apk , I need the whole framework folder or the kitchen will not deodex .

---------- Post added at 07:11 PM ---------- Previous post was at 07:10 PM ----------

Yes I seen it but it is Odexed
[Android Apps and Games] Negan:
well i got another ota for 11s so I 'm going to try again. maybe this time i'll get lucky!

my question is what did you guys change exactly in the other guys cm 11 to make it work? was it both statusbar.xmls or just the one?
[Android Apps and Games] carl1961:
Just the original statusbar.xmls
[Android Apps and Games] Negan:
Ok good to know. This really is driving me insane. The mod itself shouldn't be difficult to do. But something just doesn't make sense.
[Android Apps and Games] carl1961:
the red is what was changed in other cm11 by gharrington

<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />

<include android:id="@id/signal_cluster_text" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_text_view" />

<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginBottom="@dimen/status_bar_battery_bottom_padding" android:layout_marginStart="4.0dip" />

<com.android.systemui.DockBatteryMeterView android:id="@id/dock_battery" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginBottom="@dimen/status_bar_battery_bottom_padding" android:layout_marginStart="4.0dip" />

<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="5.0dip" />
[Android Apps and Games] mcjordan92:
That's awesome bro,

I found the framework folder under system folder and zipped it out, but I couldn't find any META INF folder, even search faild.. Where do I locate it?

Sent from my Xperia Z.
[Android Apps and Games] satankid:
Hi,

Can we use this offline, dont have net connection on my phone... can we download all batteries in one file per developer and save it on any location (sdcard, ext sd) so that it can be available offline?

Please clarify
[Android Apps and Games] Negan:
Awesome man. I'll give that a whirl. Who knows maybe it will work this time. I rebased my rom last night after I got the update
[Android Apps and Games] pas2001:
When download you must online.... After download all types you want. Now you can switch offline.
[Android Apps and Games] Carotix:
hi pas , is there the way to add some batteries?
[Android Apps and Games] *wii360*:
Sure mate,

Send your favorite to Pas, Gary or me. We'll add to server.

Gesendet von meinem GT-I9505 mit Tapatalk
[Android Apps and Games] pas2001:
Sure mate. If you have icons you wanna up to server. Please send to me via pm . i will rename to correct pattern and upload to user folder. Then add your name in op.

If you have many types that you created and wanna have your own folder. Contact to gary.
[Android Apps and Games] Noplait:
Hi I'm using your mod on a Galaxy S5 ROM on my S4, and I can't download any other battery pack : it says "downloading..." then finishes and nothing appears in the list other than the offline and defaut battery.

Is there a problem with the server ? Am I the only one ?

Thanks
[Android Apps and Games] Carotix:
ahahah thanks mates !! you answered at the same time :) .. i'll select some batteries and i'll share you tomorrow

decide among yourselves

thanks again

i'm using my rom (S5 rom) on my S4 and i download all batteries ...
[Android Apps and Games] Noplait:
I'm using Imperium (sorry xD) but that's weird... I'm stuck with a battery icon I really don't like ^^ Is there any way to restore stock battery icon (samsung's) without flashing another ROM ?
[Android Apps and Games] remotehugger:
restore the nandroid you did rite before flashing mod ??

VM GSIII/jdsingle76's deodexed NDC 4.4.2/stock kernel ?
[Android Apps and Games] Noplait:
I can't 3minit is integrated in the ROM...I guess I'll try another ROM
[Android Apps and Games] roirraW "edor" ehT:
Copy the SystemUI.apk from another similar ROM that uses the stock battery. Won't hurt to try. Make a nandroid before. Set it's permissions to the same as other apks in the system/priv-app folder after the copy, of course.