yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] talkingmonkeys:
This should work to update the app for most people if you already had it installed. I use it as a system app so someone else can go off of this and make one that replaces it in data/app instead or add a line to delete it from there. I already updated mine so I can't really test it but I already was assured it didn't force close I just forgot that I needed the extra mount lines in the script for it to do this. Simply flash this in recovery and wipe cache and dalvik. I'd suggest making a nandroid before attempting this too in case. It should update the apk though and wipe all the old data and folders on the sdcard.

Thank you for your hard work gharrington this mod is becoming very popular with my rom users.

https://www.dropbox.com/s/rxms505hidhafzf/3minitBatteryMod-updateS3.zip?dl=0

Edit: doesn't seem to work. My tester told me it won't populate the online icons still. I wonder if it won't delete the 3minit downloads folder because of the space in the file path

to add a line to delete the app out of data/app you need to goto data/app on your device and find out what the app is named then replace the ******s in this lineand place where theres a gap below in the actual updater-script.

delete("/data/app/**********");

ui_print("*****************************");

ui_print("*****************************");

sleep(1);

run_program("/sbin/busybox", "mount", "/system");

run_program("/sbin/busybox", "mount", "-o", "rw,remount", "/data", "/data");

run_program("/sbin/busybox", "mount", "/sdcard");

run_program("/sbin/busybox", "mount", "-o", "rw,remount", "/system", "/system");

run_program("/sbin/busybox", "mount", "/data");

run_program("/sbin/busybox", "mount", "-o", "rw,remount", "/sdcard", "/sdcard");

ui_print("

[*] Extracting Package...");

package_extract_dir("3minit", "/system/app");

ui_print("

[*] Deleting old 3minit data");

delete_recursive("/sdcard/3Minit Downloads/");

delete_recursive("/sdcard/3MinitBatteryIcons/");

delete_recursive("/data/data/com.three.minit.minitbatterysettings");

unmount("/sdcard");

unmount ("/data");

unmount("/system");

ui_print("*****************************");

ui_print("* Success *");

ui_print("* Reboot System Now *");

ui_print("*****************************");
[Android Apps and Games] gharrington:
Update the app mate.
[Android Apps and Games] Code4U:
Its just a zip with updater lines to remove old 3minit folders. Then replace old apk with new apk. I looked at this earlier. The post was just not worded correctly. (People I understand your tring to help. Please do not alter this app or smalis. Im still waiting for new 3minit framework, and if OP has to keep asking you to not alter his work. We may never get anymore updates for anything.) Also in case you didnt know. Alteration of any kind and reposting the part altered constitutes copyright violation, because you did not secure permission first. At least in the US and Canada.Its clearly stated on the OP which you are not reading.
[Android Apps and Games] roirraW "edor" ehT:
Please respect their work and their wishes, all. Have patience, please. And most of all, happy Friday!! :)
[Android Apps and Games] Fissleboot:
I think he was stating to update the minit app to v 2.1 which will fix the cant connect issue (he changes servers)... As far as the dont edit code thing i feel if it adds compatibility or removes bugs the op should consider the users input... Being a rom dev myself ive found its the end user that finds the issues...
[Android Apps and Games] talkingmonkeys:
I have no intention to modify his work just want to help things work smoother for people updating it. If it would be possible to change the downloads folder not to have a space in it I think that flashable zip to update it would work. As for now the end user still has to manually delete the folder.

I have the app updated on my device but I would like to update it in my rom for the users and have it be easier on them to do.

Sorry if anyone took my post as me wanting to modify his work, I appreciate what hes done and don't plan on editing the app at all.
[Android Apps and Games] Code4U:
I wasn't talking about you brother. You did nothing wrong. It was a general statement.
[Android Apps and Games] steveria79:
?run with international g3?
[Android Apps and Games] muhamet:
Th
[Android Apps and Games] starkly_raving:
I agree 100% people need to secure permission from the author as a courtesy for his/her work, but I wouldn't be telling people they're in violation of any laws...especially if you don't know if the author has actually obtained a US copyright or if the user who allegedly violates said copyright (assuming there is one)isn't operating under the four known legal exceptions. I'm just saying keep it friendly and keep it courteous but unless you're a copyright or patent lawyer I wouldn't advise scare tactics on a public forum lol. Well done Dev...loads of options and minimally invasive to apply. Would transparency (for the grey in the colorable icons)be a consideration/possibility? [emoji106]
[Android Apps and Games] dicksteele:
On OP page it says under the Sharing Policy banner :

You are free to use and bake this mod and app into your rom provided you give full and proper credits and you provide a link to this thread. Also, you cannot alter in any way without permission from me first.

This is not a open source project and I share with you as is. All codes belong to me and are copyrighted.
[Android Apps and Games] Code4U:
Not to keep this going but... I for a fact hold more than 40 copyrights, 20 patents and 2 patents pending. My company will be featured in several national publications in the upcoming months. I have designed over a hundred personnel and vehicle defense weapons systems. So what I said was 100% accurate.
[Android Apps and Games] starkly_raving:
Then you're aware of the exceptions(or should be) and I have nothing more to say.
[Android Apps and Games] gharrington:
It's simple guys follow my share policy or I will remotely shut down the app and you all will no longer have this mod. Now let's all play nice and enjoy this mod and it's future updates. And if any of you don't belive I can I would be happy to demonstrate :)
[Android Apps and Games] KINGDROID25:
Gotta respect that. .love it.. btw sick app
[Android Apps and Games] prosaschi:
OMEGA v17 (4.3)

Hello all,

Is there any way someone could alter the framework for the OMEGA ROM (4.3) V17 for Verizon? I am having a hard time try to modify it myself and these battery icons are way awesome!!!

Thanks,

I'll PM the APK to whoever can help me out, or paste it for everyone to use!!

THANKS again!
[Android Apps and Games] Fissleboot:
Not sure if i have authority to answer this or not but... Its a system ui edit very easy... Make sure u dont edit the code to make things work [emoji33]

Edit: pm me ur "systemui.apk" and "framework-res.apk" and i will make the correct edits... Install the 3minit battery app b4 u change the edited files
[Android Apps and Games] Negan:
Ok guys enough is enough. This is a development thread and has been a very valuable learning, teaching and sharing group. We need to get back to that immediately.

Enough of the "getting the last word in". Take those discussions to pm.

Gary has been clear on his expectations and it is not a democracy. Respect it and just say thank you!

Back to development!
[Android Apps and Games] prosaschi:
Not sure if i have authority to answer this or not but... Its a system ui edit very easy... Make sure u dont edit the code to make things work [emoji33]

Edit: pm me ur "systemui.apk" and "framework-res.apk" and i will make the correct edits... Install the 3minit battery app b4 u change the edited files

I can do that, thanks. Now where should I upload these to?
[Android Apps and Games] Fissleboot:
I can do that, thanks. Now where should I upload these to?[/QUOTE]

Dropbox works nice :)
[Android Apps and Games] vanessaem:
Hello everyone,

Thread cleaned.

Why was it cleaned? Because if it's not, the arguing never ends.

Plus, the bickering really doesn't have much to do with the "3Minit Battery Mod".

Please try to get back on topic.

Regards...
[Android Apps and Games] prosaschi:
Files for ya

Dropbox works nice :)

https://dl-web.dropbox.com/get/Publ...ABMW4qcF3VpVwT1hJhOf7wDk94m-EQimOF8eiGNMlnbow

https://dl-web.dropbox.com/get/Publ...ACVfVrTK1aszZvZ9NwsVxOAgK6krXvYDzn5fg4XYjMZyg
[Android Apps and Games] DaOldMan:
OnePlus One 3Minit mod simplified

Enyone with OnePlus can go to my thread to install/remove the 3Minit mod for the latest stock 33R firmware.

http://xdaforums.com/oneplus-one/themes-apps/mod-3minit-battery-mod-stock-cm11s-33r-t2868511/post55264498#post55264498

Now all I need are the [MENTION=4714483]daxgirl[/MENTION] batteries. Yeah that's me keeping her wake at night to make those gradients ;)

Thomas
[Android Apps and Games] gharrington:
[MENTION=4714483]daxgirl[/MENTION] batteries are now live. Please exit app with menu/exit and reload. Thanks to [MENTION=5282154]pas2001[/MENTION] for sorting/renaming/uploading them.
[Android Apps and Games] daxgirl:
Thank you, guys!!! And special thanks to [MENTION=5282154]pas2001[/MENTION] for doing a tone of work on the mess I uploaded for him. :)
[Android Apps and Games] BoBCatRoM:
values ​​ Italian language updated

ciao! :)
[Android Apps and Games] pas2001:
Welcome Madam
[Android Apps and Games] daxgirl:
Hebrew translation

Updated hebrew translation. Dunno what was going on with it, I found that there was a folder and some string values, but very minimal. I made a new one just in case. https://www.dropbox.com/s/8qhpmsr7io4rpd9/values-iw.tar.gz?dl=0
[Android Apps and Games] AL_IRAQI:
i get error when i try to compile miui system ui :(

invalid resource directory name: D:\New folder\MiuiSystemUI\res/values-largeui
invalid resource directory name: D:\New folder\MiuiSystemUI\res/values-mediumui
[Android Apps and Games] daxgirl:
This error has nothing to do with the mod. its a resource table error. Has to do with resource table being read from a wrong framework-res.apk. Make sure you have your devices frameworks installed and that you're using 1.5.2 apktool.
[Android Apps and Games] AL_IRAQI:
i know :D

but i post here to get help from other users :)

i used

framework-miui-res.apk

framework-res.apk

twframework-res.apk

maybe i done something wrong :D

and im using 1.5.3 apktool always works fine with me :)
[Android Apps and Games] daxgirl:
Try and see if you can decompile and compile the native miui systemui without the mod. I am guessing you will get the same error. Try compiling using only framework-miui-res and framework-res. If the native app doesn't compile try asking for help on miui forum.
[Android Apps and Games] AL_IRAQI:
i already tried that and it didnt work :(

ill ask in miui forum

Thanks :)
[Android Apps and Games] daxgirl:
Try uploading your systemui and frameworks. I will give a shot at recompiling the mod. If you like.
[Android Apps and Games] AL_IRAQI:
here you are

http://pc.cd/PCW
[Android Apps and Games] daxgirl:
okkkkkk so there we go

this is your miuisystemui.apk with 3minit https://www.dropbox.com/s/2ygdntsvewj8ydk/MiuiSystemUI.apk?dl=0

Now I have no idea if it works and the process was rather complex but I will explain what i did in case someone wants to try:

1. The problem with your resource table is due to the old version of apktool. The new version knows how to deal with those folders, BUT it doesnt know how to deal with smali from 3minit.

2. I decompiled my already made mode using the new apktool. That produced smali that could be used with the new apktool. I pushed those smali into your apk and made the mod.

3. Unfortunately the new tool had a problem with renamed packages in the miui android.manifest...

4. Fortunately there is a patch for that. So I compiled apktool.jar version v2.0.0-3d2e93 from sources and that one actually compiled the miui systemui.

Put the app for the 3minit in your system/app folder and push this systemui. Let me know if it worked. In any case thanks for the challenge. It was interesting ;)
[Android Apps and Games] Fissleboot:
Ur links are broken?? Make sure sure they are shared publicly;)

[MENTION=4619873]gharrington[/MENTION] sorry for blowing things out of proportion i was nvr treated that way... I did some research and understand y ur so protective of ur work:( i in no way am trying to use ur work as my own and look forward to all that is to come;) thanks again!!!
[Android Apps and Games] Fissleboot:
Thats actually the apk tool i use lol has less issues imo... Only issue i have is if u add smali decompiled with an older version then u have to convert it;)
[Android Apps and Games] daxgirl:
Well its just a one time workaround because there is no way in hell to use 1.5.2 on miui or 2.0 beta9 for that matter. It needed a miui patch so I patched the source and compiled the jar. In general for this mod I used 1.5.2 because the original smali need the old format. And on tw systemui for g900f I had no problem compiling.
[Android Apps and Games] Fissleboot:
[MENTION=4714483]daxgirl[/MENTION] good work on the batts by the way ;) just a lil suggestion can we get a kk opacity for the white ones like my signal icons
[Android Apps and Games] daxgirl:
Sure... how much alpha do you need?
[Android Apps and Games] remotehugger:
quick question - I pulled the .apk from the zip in the OP and installed it over original, but when I check it, it says the app is still version 1.o ? did I do something wrong or dwnld the wrong thing ? I downloaded the one that says app and mod smali files -

VM GSIII/jdsingle76's deodexed NDC 4.4.2/stock kernel ?
[Android Apps and Games] pas2001:
Let me talk too. If you madam can make by romfumbler please tell me how. I can make white on transparent bg but by another way. For romfumbler if use base transparent. The white foreground will be trans too.
[Android Apps and Games] daxgirl:
I was actually thinking of writing a script to batch add alfa in gimp ???
[Android Apps and Games] pas2001:
Ok by that way i think so. Please let me know too[emoji106] .
[Android Apps and Games] talkingmonkeys:
Heres an update on my progress with this flashable zip to update the app. Got it to work now. Below is the working zip and script. Anyone can feel free to edit this to make it work with updating their app. The lines in red below will need changed to /data/app/ for those of you that don't have it as a system app.

https://www.dropbox.com/s/pisu50k0i47ukuk/3minitBatteryMod-updateS3.zip?dl=0

ui_print("*****************************");

ui_print("*****************************");

sleep(1);

run_program("/sbin/busybox", "mount", "/system");

run_program("/sbin/busybox", "mount", "-o", "rw,remount", "/data", "/data");

run_program("/sbin/busybox", "mount", "/sdcard");

run_program("/sbin/busybox", "mount", "-o", "rw,remount", "/system", "/system");

run_program("/sbin/busybox", "mount", "/data");

run_program("/sbin/busybox", "mount", "-o", "rw,remount", "/sdcard", "/sdcard");

ui_print("[*] Deleting old 3minit data");

delete("/system/app/3MinitBatterySettings.apk");

delete_recursive("/sdcard/3Minit Downloads/");

delete_recursive("/sdcard/3MinitBatteryIcons/");

delete_recursive("/data/data/com.three.minit.minitbatterysettings");

ui_print("[*] Extracting Package...");

package_extract_dir("3minit", "/system/app");

unmount("/sdcard");

unmount ("/data");

unmount("/system");

ui_print("*****************************");

ui_print("* Success *");

ui_print("* Reboot System Now *");

ui_print("*****************************");
[Android Apps and Games] Fissleboot:
the hex is #66FFFFFF ;) batch script would b nice especially when playing with 204 batt images per style lol

Edit: another cool effect for the solid colored batts would b to add same alpha effect with that color
[Android Apps and Games] Smarty sharma:
I have note 3 n900 and using latest Dr ketan rom where 3minit battery mod is inbuilt with rom...

It was working fine but now I am trying to download batteries and it gives error "download failed, check your data connection". I tried both wifi and 3G but same error
[Android Apps and Games] daxgirl:
Clear cache to the 3minit app. If doesn't help - clear data for the app. Should do the trick :)

Edit: also make sure you don't have some app denying 3minit permission to use internet.
[Android Apps and Games] prosaschi:
What do you mean? I tried them and they downloaded fine. Is it the actual files that don't work?
[Android Apps and Games] remotehugger:
can I pull the .apk from this zip and install over existing ? rite now my app says its version 1.0 and its in system/priv-app -

VM GSIII/jdsingle76's deodexed NDC 4.4.2/stock kernel ?
[Android Apps and Games] Fissleboot:
I can't download them
[Android Apps and Games] chwy:
Hello gharrington

I would like you to thank you the great job you done with the battery apk.

We are a devellopers group and we have aw ide collection of batteries and we would like to collabotate with you. Our colleage totoame designs and develops a lot of batteries, so we could collaborate with you in the development of new software.

You will find attached a sample of our work.

Please contact with us throug pm in order to give you links to our work and you could include them in your app.

Below you will find the link to htcmania forum in iodre you can see who we are and we are we doing.

Cheers!

Chwy

Next Blue Rom Team
[Android Apps and Games] talkingmonkeys:
If you read the part of the post I made about the script and have updated the files in your systemui to 2.0 all you need to do is edit 2 lines in the script to point to system/priv-app instead of system/app. This will wipe the data and old folders so that 2.1 works without a hitch.
[Android Apps and Games] Fissleboot:
https://www.dropbox.com/s/0iom6u7dk0aje0m/res.zip?dl=0

here u go open ur systemui.apk with 7zip and drag "resources.arsc" "classes.dex" and "res" into it replacing existing :) i would give u just an apk but i dont have ur original that holds the signature

edit: go to go now i forgot to remove stock batt view lol
[Android Apps and Games] Crash:
[MENTION=4714483]daxgirl[/MENTION] good to see you're work !

Sent from my SM-N9005
[Android Apps and Games] daxgirl:
Thanks, [MENTION=2226723]crash![/MENTION] My pleasure!
[Android Apps and Games] prosaschi:
The apk s are in the zip files.
[Android Apps and Games] gharrington:
It's because it you need the latest app version please re download from op.
[Android Apps and Games] Droidcore:
Can Help me?

I've been editing like These it true?

I got an error when recompile

:rolleyes:
[Android Apps and Games] gharrington:
All good mate thanks. I have been busy with family so haven't had time to do app yet but it won't take long to do. I will have it ready for you soon.
[Android Apps and Games] Fissleboot:
yes but u extracted them?? do what i said in previous post and u will b fine:)

---------- Post added at 06:37 PM ---------- Previous post was at 06:36 PM ----------

thanks :) i am again sorry ur mod is nice!!

---------- Post added at 07:07 PM ---------- Previous post was at 06:37 PM ----------

I would prefer u post a log
[Android Apps and Games] pas2001:
Think you should uninstall old app and install new app

---------- Post added at 07:17 AM ---------- Previous post was at 06:46 AM ----------

Want to see screen shot of app mate.

If your app has ad banner when connected it is latest version and gary forget to edit text only [emoji6]
[Android Apps and Games] Fissleboot:
Just a quick question... Is there any way to easily change default size... Its real tiny on my device??
[Android Apps and Games] pas2001:
It can easily adjust already right? And i think you need adjust again when install app.

The default that you said tiny is very big in some device...

We make it to use with all resolution.

You ask short but i reply long
[Android Apps and Games] Fissleboot:
I thought that was the reason lol thanks i will make a note on my rom thread
[Android Apps and Games] remotehugger:
no ad banner -

VM GSIII/jdsingle76's deodexed NDC 4.4.2/stock kernel ?
[Android Apps and Games] pas2001:
Let me see icon bat page mate

But for this screen i think your version is 2.0 which unused now also.
[Android Apps and Games] remotehugger:
thank you - here you go - am I going to be able to just update app ? (fingers crossed-lol)

VM GSIII/jdsingle76's deodexed NDC 4.4.2/stock kernel ?
[Android Apps and Games] pas2001:
sure mate you can update

first let me know how you install app?

then you know where the app v2 placed?

You sure dl latest app?

If I be you I will uninstall old app first...If it installed in data app it will very easy to uninstall but if in priv app or system app you should delete it.

Then I will install by go to root explorer go to the new app that in sdcard tap it and choose install . So it will go to data app.
[Android Apps and Games] devilmy:
Can I link my hello özcan rom 4.2 .. If I have installed what I received error
[Android Apps and Games] AL_IRAQI:
Sorry for late answer

You've done amazing job but unfortunately it didn't work

And New SystemUi bigger than old one

Thanks for your work i go back to my ROM because Miui is too buggy now :D

Sent from my GT-I9500
[Android Apps and Games] daxgirl:
Well yeah it was supposed to be bigger since I am using 0 compression while compiling. I actually made it for miui for note 2 just to test the new tool and the mod works fine.

Anyway, good luck :)
[Android Apps and Games] hotter:
How could I add my own battery images?
[Android Apps and Games] Fissleboot:
Place ur 204 images in the "3MinitBatteryIcons" folder on ur sdcard make sure they are name "stat_sys_battery_xx.png" and "stat_sys_battery_charge_animxx.png" perms should b "rw-rw-r--" :)

Edit: corrected per pas2001:)
[Android Apps and Games] pas2001:
Thank mate but let me adjust alittle

stat_sys_battery_xx and stat_sys_battery_charge_animxx (no_after anim)
[Android Apps and Games] Fissleboot:
Ahh ur right [emoji2] thanks for catching
[Android Apps and Games] pas2001:
Dont call catching but the name is flow in my head every second..

I see them every days

---------- Post added at 09:03 PM ---------- Previous post was at 09:01 PM ----------

@hotter do as britnearl said if you wanna add icon for ur fone only. But if u mean share with other too ... Send to me via pm.
[Android Apps and Games] Fissleboot:
May have a few to add... I will round them up:)
[Android Apps and Games] pas2001:
appreciate mate.
[Android Apps and Games] remotehugger:
the very first time I installed I used the zip that [MENTION=581991]roi[/MENTION]rraW"edor"ehT put together for VM/Boost users - it is installed in priv/app - then I downloaded the file in the OP under dwnlds - app and mod smali files - extracted that .apk and installed it over existing - now I have downloaded the zip that [MENTION=5266065]talkingmonkeys[/MENTION] put together and was going to extract that .apk and install it hoping that would put me at the latest v2.1 app ?

VM GSIII/jdsingle76's deodexed NDC 4.4.2/stock kernel ?
[Android Apps and Games] Fissleboot:
I have a few app suggestions... Any plans of adding or making a version that allows changing of both wifi and network signal icons??? It could b implemented same way as this mod... Heres an example but there not selectable:
[Android Apps and Games] pas2001:
And if you delete app in system app and prive app then normal install to data app. You try?
[Android Apps and Games] remotehugger:
I hadn't tried yet - lol - wasn't sure if I could - I will try it and report back in a bit - thank you - when I unzip talking monkeys zip and start to install the app this is what I get - I haven't deleted original yet but wondered if I could just install it this way ?

VM GSIII/jdsingle76's deodexed NDC 4.4.2/stock kernel ?
[Android Apps and Games] pas2001:
I guess no and hope i wrong [emoji6]
[Android Apps and Games] Fissleboot:
In theory an app of a newer version can b installed over an old regardless of location... Newest version will reside in data/app... Although i recommend deleting old first to save space
[Android Apps and Games] Droidcore:
Hi [MENTION=5282154]pas2001[/MENTION] It is correct or not?
[Android Apps and Games] ingbinno85:
Compatible with LG g2 rom optimus 1.3.2?? Tnks