yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Droidcore:
[MENTION=5282154]pas2001[/MENTION] I get error import as framework

You can help me? ROM AOSB Probam

https://docs.google.com/file/d/0B9HiXg47JmX-cmcxTm1rSUxHVUU/edit?usp=docslist_api​

Use my status bar.XML from AOSB ProBam ( already have mod 3minit ) rename status_bar.xml

https://docs.google.com/file/d/0B9HiXg47JmX-VmN0ZDY1cVpVTjA/edit?usp=docslist_api
[Android Apps and Games] amrnagy16680:
working on LG G2 with cloudy G3 rom V.1.3 but now on V.2 dose not work any solution ??
[Android Apps and Games] pas2001:
I don't get what you mean mate.

What are these 2 files
[Android Apps and Games] Droidcore:
I got an error when importing framework-res.apk as framework

,

In cm11 and AOSP rom I can import the framework-res.apk, but I got an error AOSB rom

And you can help me?

Btw I've been editing status_bar.xml AOSB with 3minit: this xml file (rename and remove [zip] file)
[Android Apps and Games] pas2001:
Ok not sure i can help.

I not use apktool.

And if you have problem install framework in ur tool. How can u edit status bar.xml?

---------- Post added at 12:32 PM ---------- Previous post was at 12:21 PM ----------

I wanna try install but cant dl ur framework res and systemui

Can u send to my folder?

I paste link in post #1758
[Android Apps and Games] Droidcore:
I will upload

Wait...
[Android Apps and Games] jgbxx:
DOESN WORK with OzcanRom version 5.1

Sorry for my bad English, but i tryed the StockUi http://pc.cd/CbW (I 9500 GNH4 with 3minit app 2.1) for my galaxy s4 i9500 with OzcanRom version 5.1 (http://xdaforums.com/showthread.php?t=2743877) and my cel shows an error. Please help me.
[Android Apps and Games] pas2001:
hi [MENTION=4648515]AL_IRAQI[/MENTION] sos...;)
[Android Apps and Games] Droidcore:
I decompiled systemui without import framework-res.apk as framework

This new link frames and sysui http://mfi.re/?abbc1io0dxly1dl

I can not upload to your link, because I do not use a computer
[Android Apps and Games] pas2001:
Ermmm... 2 things

First if you candecompile without install framework and it all be done...what is ur problem??

second..I still cant dl from this link . But when I be home will try again. my internet in home better than now in office.
[Android Apps and Games] Droidcore:
If no import framework-res I got a lot of errors when decompiled systemui

I: Baksmaling ...

I: Loading resource table ...

W: Config flags size> 36. Exceeding bytes: 0x2000000.

W: Invalid config flags detected. Dropping resources: drawable-v8-ERR0

W: Config flags size> 36. Exceeding bytes: 0x2000000. And etc

And if i import framework-res

[HIDE]W: Config flags size > 36. Exceeding bytes: 0xFFFF.
W: Invalid config flags detected: style-v17-ERR0
Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:562)
at brut.androlib.Androlib.installFramework(Androlib.java:473)
at brut.apktool.Main.cmdInstallFramework(Main.java:250)
at brut.apktool.Main.main(Main.java:81)
Caused by: java.io.IOException: Expected: 0x00000008, got: 0x00000100
at brut.util.ExtDataInput.skipCheckShort(ExtDataInput.java:56)
at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:222)
at brut.androlib.res.decoder.ARSCDecoder.readComplexEntry(ARSCDecoder.java:214)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:182)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:170)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:135)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:110)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 5 more[/HIDE]
[Android Apps and Games] pas2001:
exactly same error mate

what fone this rom??
[Android Apps and Games] Droidcore:
For framework-res.apk I can import as a framework using apktool 2.0.0 snapshot

( I know this would be an error to recompile because is not version 1.5.2 )

Now the only problem recompile

Btw thank you, I will try

../../../storage/emulated/legacy/apktool/SystemUI_src/smali/com/android/systemui/statusbar/policy/MinitBattery$1.smali[24,4] Error for input '.parameter': Invalid directive
../../../storage/emulated/legacy/apktool/SystemUI_src/smali/com/android/systemui/statusbar/policy/MinitBattery$1.smali[39,4] Error for input '.parameter': Invalid directive
../../../storage/emulated/legacy/apktool/SystemUI_src/smali/com/android/systemui/statusbar/policy/MinitBattery$1.smali[40,4] Error for input '.parameter': Invalid directive
../../../storage/emulated/legacy/apktool/SystemUI_src/smali/com/android/systemui/statusbar/policy/MinitBattery$1.smali[39,15] mismatched input '"context"' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/systemui/statusbar/policy/MinitBattery$1.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:71)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:55)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:358)
at brut.androlib.Androlib.buildSources(Androlib.java:298)
at brut.androlib.Androlib.build(Androlib.java:284)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:240)
at brut.apktool.Main.main(Main.java:89)
I: Using Apktool 2.0.0-3d2e93-SNAPSHOT on SystemUI_src
I: Smaling smali folder into classes.dex...
[Android Apps and Games] gharrington:
Use apktool 2.0.0 to install framework and apktool 1.5.2 to decompile apk.
[Android Apps and Games] Droidcore:
I tried it but still error when decompile systemui

Btw thank you, I will try to find another way:highfive:
[Android Apps and Games] vladmir:
+1
[Android Apps and Games] gharrington:
When in app press menu button the exit. The delete 3Minit downloads folder and relaunch app.
[Android Apps and Games] JesseAaronSafir:
Gary, that works! ! Awesome! Could you make the app cache previously-downloaded batteries into the offline section? I'd like to be able to switch easily and redownloading is painfully slow.
[Android Apps and Games] pas2001:
SOON
[Android Apps and Games] Romcrazguy:
i need an explanation on the directory location to place the files from batteryfiles.zip to ..thanks!
[Android Apps and Games] pas2001:
If u mean that you have your own favorite battery and wanna use. The folder is at sdcard/3MinitBatteryIcons .
[Android Apps and Games] Romcrazguy:
yes but the files that are inside the batteryfiles.zip where do i copy them to? the 3 files inside the zip
[Android Apps and Games] JesseAaronSafir:
No...you're talking about the smali files. They go inside the SystemUI.apk that you decompile, edit and recompile:

From the OP: "Download the mod smali files and place them in smali/com/android/systemui/statusbar/policy folder". <-- That's INSIDE of SystemUI.apk
[Android Apps and Games] pas2001:
Sorry I mis get your meaning. As Jesse said mate.
[Android Apps and Games] Romcrazguy:
wow i have no clue how to do that :( can anyone either instruct me could it be done with X-plore app , anyhow pas i have your theme installed wich has 3minit do i need those 3 files or the already compiled within the system ui?
[Android Apps and Games] NEXT14:
sorry I am here now prying,

but I also do not understand just so good.

My understanding is to place the mod file "3Minit_battery_mod _SystemUI_NF1_MD5_5318ba9dd842188c2d30eb607f91e094.zip"

in "smali / com / android / systemui / statusbar / policy folder".

It should perhaps be more accurate details described please
[Android Apps and Games] pas2001:
You may confuse mate.

The 3minit in my theme is the old one . It contain only folder to stored one type of bat icons in one time.

But this thread we talk about new 3minit bat icon mod. That can download over 1000 style of icons to your phone.

You need to mod your rom systemui as gary guide in op.
[Android Apps and Games] alvin551:
The detaits are descirbed the most accurately they can. I think you need to read then step by step.
[Android Apps and Games] pas2001:
Please carefully read man...

The systemui NF1 is the already moded systemui on base NF1 of I9505 . If you want to try if can use or not . You should backup your rom before.
[Android Apps and Games] JesseAaronSafir:
Yeah if you have NF1 i9505, go ahead and use the modded SystemUI.apk that Gary provided. Otherwise you need to figure out how to edit the APK yourself or find someone who can. I tried doing the edits myself with apktool but had decompile and recompile errors. I'm not sure how to deal with that. Fortunately, [MENTION=2744265]sac23[/MENTION] did the work for my variant of the S4 and I'm able to use this because of him :)
[Android Apps and Games] NEXT14:
Yes I understand you but man it can but so unfortunately understand how I meant it in the last post ....

but I tried it but even so, how do you mean only as a result crashed my sytem. The .zip to flash was wrong, fortunately, I had previously made ​​backup

But I think the error is because running my rom on NB8 and not NF1.
[Android Apps and Games] mydonose:
Hi Gary, will you make a normal apk file with the battery mods? I mean, without copy and paste any files in any system folders?
[Android Apps and Games] pas2001:
I wanna know who prefer hot bat like this?
[Android Apps and Games] friedrich420:
I do !! ;) :good::good:
[Android Apps and Games] pas2001:
Yeah then it will be next type after I found the proper charge anim. No long I promise.

---------- Post added at 05:55 PM ---------- Previous post was at 04:58 PM ----------

I do my promise now friend.
[Android Apps and Games] friedrich420:
Downloading it now!! ;)
[Android Apps and Games] pas2001:
You mod again in new systemui and no work?
[Android Apps and Games] ipatemarian:
Hello,I kindly ask you help me.I have tried all the ways to work this program v3Minit Battery mode, and I don't get.I phone notes 3 and ROM port x-notes galaxy S5. Please from his soul to help me :crying:

May I make System IU would you want to make it work for this ROM? http://xdaforums.com/showthread.php?t=2752687

Thank you very much !!!
[Android Apps and Games] vladmir:
Other user tried and he said don't work so I don't bothered to install.
[Android Apps and Games] pas2001:
And then you post +1
[Android Apps and Games] pas2001:
Ermm... I think while we busy to other jobs both in project and in our life outside cyber world.. We can't support all guys in all roms by mod each one by one and repeat again and again.

So i think it may be easier if you try other rom that built in already or ask your dev in rom thread and lead him here. If he interested to implement this mod in his great rom.

We still support if find spare time.
[Android Apps and Games] SaintCity86:
[MENTION=5282154]pas2001[/MENTION], Hey this 3minit mod came with [MENTION=4921688]The Sickness[/MENTION] INSANE rom (4.4.2)... But I'm only being able to view the batteries that are in the offline section. Your section and all the others have a downloading box that pops up for a second, then nothing. If the sickness already decompiled the systemui, is there any troubleshooting I can do that doesn't require decompiling or anything with a computer. Cuz I dont have access to a computer at the moment. But I like this mod a lot

Apparently the owner is just as INSANE as his rom.
[Android Apps and Games] Vagelis1608:
Is the v2.1 app installed?

Older versions don't work.

Sent from my D620R [Stock 4.4.2]
[Android Apps and Games] SaintCity86:
How can I find out. I can't find any info on the app itself on what version it is

I opened titanium backup and its got a 1.0 next to it. Can I update it without doing anything special since it's already installed?

Apparently the owner is just as INSANE as his rom.
[Android Apps and Games] The Sickness:
Deleted
[Android Apps and Games] SaintCity86:
Downloaded the update apk and now it's working fine. Pas2001s batteries are killer. Personally, I'm using his #80. The charging animation is sick

Apparently the owner is just as INSANE as his rom.
[Android Apps and Games] Tom-Helge:
Hey. I have a Samsung Galaxy S4 (GT-I9505) where i'm running the Project Chaos v2.6.0 ROM (yes, i'm not on the newest version yet). This version is the XXUFNE2 release i'm using now.

Can someone kindly recompile and make everything ready in a zip file that i can just flash for my Galaxy S4 with Project Chaos ROM?

Here is my SystemUI file as i know you will need it to be able to do this: https://dl.dropboxusercontent.com/u/7309753/SystemUI.apk

So if you can do this and make it work for me, then i would be really happy :good:. Just let me know if you can do this and upload the new zip file with the new recompiled SystemUI file and the other 3 files + the 3Minit Battery Mod app itself to a cloud storage.
[Android Apps and Games] messia74:
Good evening.. I have a problem.. When download the icon battery give me a download failed. Check connection.. . In wi fi and 3g. How can i resolve?
[Android Apps and Games] ipatemarian:
Help me !!!

Hey guys ,I tried and fail to recompile.Do not I can handle it.I have attached system UI with the ROM x-notes s5 ,please help me ,I want more than this program dan I can't make him go.Thank you very much.
[Android Apps and Games] messia74:
Where i find the system ui??
[Android Apps and Games] cdzo72:
You have to mod the SystemUI.apk from YOUR rom or check the first page to see if there is in already done
[Android Apps and Games] GRREEN:
i9505 CM11

Trying to get this to work in i9505 CM11 M9 but my SystemUI keeps on FC.

If I recompile the SystemUI without this mod, it works fine.

I already have the settings app(2.1) installed.

I've been trying to find ways to change my batt icons but it just won't let me.

Has anyone tried what I'm trying to accomplished?
[Android Apps and Games] GRREEN:
Hi mate,

tried this in my i9505 CM11 M9 and it's working so far. But when I tried to checked what it contains to learn why it worked, I can't even decompile it.

What's in it?

---------- Post added at 03:01 PM ---------- Previous post was at 02:38 PM ----------

Okay, got it. This is the key. Tried using this on my own SystemUI, and it's working.

<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] NeGriTa79:
Good evening, I wanted to thank you for this MOD ... I OnePlus One, but some rom can decompile only Apktool_1.SlimRom.kitkat ... I wanted to know if I can always use the Smali of apktool 1.5.2? Or how can I change the systemui with apktool of slimrom ???
[Android Apps and Games] gharrington:
Update v2.2

Update availible v2.2 please re-download from op.

Please note: The new smali files ARE required for the new setting/bug fixes to work. You CAN use new app with old smali files but the mod will fail to work if you change the default save location without updating to the new smali files.
[Android Apps and Games] gharrington:
Download the latest app from op mate.
[Android Apps and Games] bluflight:
I correctly updated my systemUI with latest smali and new apk, but every time i tap on nadmaj batterys 3Minit apk have fc. Is something app or smali related?
[Android Apps and Games] pas2001:
Work normal for me. Other authors ok?
[Android Apps and Games] bluflight:
Yes, other authors ok, only with nadmaj go in fc. To be sure i decompiled and compiled another time with new smali, but problem still present. All other functions are ok and work fine
[Android Apps and Games] pas2001:
VERY strange. Only NadMaj but all authors in same server mate.
[Android Apps and Games] AL_IRAQI:
[MENTION=5282154]pas2001[/MENTION]

hey buddy

New update released for i9500 GNI1 :D

StockUi

http://pc.cd/RP1

BlackUi

http://pc.cd/1P1

It will install 3minit battery settings 2.2
[Android Apps and Games] NeGriTa79:
Good evening, I wanted to thank you for this MOD ... I OnePlus One, but some rom can decompile only Apktool_1.SlimRom.kitkat ... I wanted to know if I can always use the Smali of apktool 1.5.2? Or how can I change the systemui with apktool of slimrom ??? Pleaseeeeeeeeeeeeee
[Android Apps and Games] boggdy:
Hey guys. If anyone is able to help me, I'd appreciate.

Today I noticed that my 3minit battery app quit working, announcing me that there's a new version available. So, I searched for it, found it and installed it. I launched the app and there were no battery icons to choose from. So, I thought I need to do a clean install. So I un-installed 3minit (using TiBU) and rebooted. I can't use my phone now. It's constantly flashing the home screen, trying to get the battery icon, I suppose.

Any advice? Besides "don't use TiBU to uninstall random apps".
[Android Apps and Games] lucianus_luciferus:
same here. when i try to open app i get "this app version is out of date" and it closes
[Android Apps and Games] boggdy:
But at least you can use the phone.
[Android Apps and Games] pas2001:
First you should go back to use your fone. By restore your rom if you backup b4.

If not backup b4 mod this i hope you have your rom to flash again already in your fone.

You mod systemui by ur self?

If you installed app 3minit bat setting by normal mean you can uninstall by normal too.

Uninstall old and install new before change new mod systemui.
[Android Apps and Games] the_vanya1:
SystemUI - FC with new update v2.2
[Android Apps and Games] BoBCatRoM:
update 2.2 S5 G900F systemui continuous bootloop

Note3 N9005 FC systemui
[Android Apps and Games] boggdy:
I use EchoeROM, so it was there when I flashed the ROM. I guess I'll have to reflash the ROM. I don't have a nandroid, but at least I have all the apps backed up.

Thanks.
[Android Apps and Games] remotehugger:
OK, so do we have to re-do system.ui or can we just install the 2.2 app over original ? from what I'm reading, looks like mite have to recompile ?

VM GSIII/jdsingle76's deodexed NDC 4.4.2/stock kernel ?
[Android Apps and Games] cahyadi80:
I just installed the update and it work.. thanks for the update...
[Android Apps and Games] lucianus_luciferus:
can u tell us how you installed the update pls
[Android Apps and Games] cahyadi80:
Download the update, unzip it and installed the apk. Done...
[Android Apps and Games] 1Zero3forlife:
Update has no options for Authors. I appreciate any help.

Thanks

Steve
[Android Apps and Games] gharrington:
Unistall and reinstall the app mate.
[Android Apps and Games] gharrington:
Logcat please mate?
[Android Apps and Games] gharrington:
Close the app using menu/exit then delete 3Minit Downloads folder and re launch app.
[Android Apps and Games] gharrington:
Please do as I state in above post also.
[Android Apps and Games] remotehugger:
can confirm that I just installed 2.2 apk over old one and all is working fine - ty [MENTION=4619873]gharrington[/MENTION] -

VM GSIII/jdsingle76's deodexed NDC 4.4.2/stock kernel ?
[Android Apps and Games] boggdy:
Thanks for the advice. I ended up reflashing the ROM. It was impossible to get into the phone. Everything was frozen. The home screen was flashing all day long and that's it.
[Android Apps and Games] amrnagy16680:
can you make the systemui for lg g2 with cloudy g3 v.2
[Android Apps and Games] volume25:
hello im new

i got a sgh-m919 whit omega v37

i update the app 2.2

were do i need to go on my phone to update smali files?
[Android Apps and Games] pas2001:
Decompile systemui.apk and add smali follow path in op.

Gary stated in #1799 you can not choose where to save icons if not mod smali to compatible with new app.
[Android Apps and Games] volume25:
ok thanks
[Android Apps and Games] memooffon:
Work great.

Thank you.
[Android Apps and Games] the_vanya1:
http://xdaforums.com/showpost.php?p=55776656&postcount=1811
[Android Apps and Games] BoBCatRoM:
here are the two logcat G900f and N9005

thanks
[Android Apps and Games] gharrington:
Ok this is a very strange error. Can you use new smali files with old app and see if it still fcs?
[Android Apps and Games] BoBCatRoM:
Smali new and old app also FC

Smali old and new app works
[Android Apps and Games] gharrington:
OK thanks will fix and release ASAP. Had you changed the default location?
[Android Apps and Games] friedrich420:
Just to confirm that old smali and new app works..

This was an accidental find because i missed the new smalis :p (Note to self: Read before you mod)
[Android Apps and Games] BoBCatRoM:
no, I have not changed anything, just let me know if you need test :)
[Android Apps and Games] tdusen:
Using a colorable type icon, I never see the Battery low level color. The normal and Mid level colors work fine, just not the low level.
[Android Apps and Games] gharrington:
Yes this issue has been fixed for next release.
[Android Apps and Games] gharrington:
Thanks may be in contact soon mate.
[Android Apps and Games] vikkolts:
I also get SystemUI FC with new app and smali. here is my log

View attachment 2957540
[Android Apps and Games] viyou74:
-We changed the order of translation, to work well colors.
[Android Apps and Games] tdusen:
Sweet, thanks.
[Android Apps and Games] viyou74:
And what about this problem?
[Android Apps and Games] vikkolts:
I have same...
[Android Apps and Games] Fissleboot:
U need to change the system ui smali code for the storage location selection to work correctly as u still have it reading from external
[Android Apps and Games] GRREEN:
SystemUI for i9505 CM11 M9

Here's my SystemUI.apk using the smali for v2.2.

This is what is installed for my i9505 using CM11 with M9 shapshot.

Hmmm... Sorry been to excited, now I got FC after changing icon folder.

Thank you for this mod.
[Android Apps and Games] pas2001:
And it work correctly? If yes i will share in post 10.
[Android Apps and Games] GRREEN:
Sorry, I'll double check. It was working fine but then now it FC. Silly me.
[Android Apps and Games] vikkolts:
Is it answer on my message with attached log?
[Android Apps and Games] 1Zero3forlife:
Never mind fixed it
[Android Apps and Games] Fissleboot:
i did not mean u directly and i did not tell u to edit the smali i just stated that it needs to incorporate both internal and external storage option or it wont work with some devices
[Android Apps and Games] GRREEN:
Seems to be a permission-related issue. I was trying to use my external SD card.

Perhaps it would be good if the settings app shows the selected path.
[Android Apps and Games] qualkuno:
When i try to download a battery style it says that download ha failed how to fix it?
[Android Apps and Games] LordGex:
Nice mod! Work fine!
[Android Apps and Games] edgarf28:
Anyone has an mirror for the 2.1 Smali files?

Because I'm also getting SystemUI FC with the new 2.2 smali files.

And I don't have the v.2.1 smali files anymore on my PC.
[Android Apps and Games] AL_IRAQI:
here you are
[Android Apps and Games] GRREEN:
Here are mine.

The smali for 2.2 works for me. You just gonna work on the icon folder if you do change it, permission is what I see at the moment.

Now 2.2 is working fine with me. I'll do further tests.
[Android Apps and Games] friedrich420:
Just did it on s4 with the new smalis and new app and it works just fine :):good:
[Android Apps and Games] bluflight:
Thanks worked. I also added in updater script of my zip for update a string to also delete data/data folder of 3minit app to be sure before extract new systemui and 3minit app. Good job keep it up [emoji106]
[Android Apps and Games] albertmurcia:
working perfect in note 8 n 5100 rebel rom, thanks
[Android Apps and Games] nzill:
hi, I uninstall 3minit and I cannot start my phone .

How can i remove 3minit and install the stock battery for the galaxy i9505 ?

How can I reinstall the app in recovery ?

Thanks
[Android Apps and Games] pas2001:
U backup b4?

If old app installed in data app u can easily uninstall as app you download from playstore. I never found issue about cant start fone when uninstall normal user app.