yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Themes and Apps] Troubadour666:
3Minit Battery Mod on CM12

Source :

from [MENTION=5282154]pas2001[/MENTION] for his thread 3Minit Battery Mod Updated: [03/09/14]

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

and

http://xdaforums.com/showpost.php?p=53795131&postcount=4

from [MENTION=1430499]davidisflash[/MENTION] , here is the working SystemUI.apk for CM12 unofficial rom on Note 4!!

http://xdaforums.com/showpost.php?p=57646050&postcount=2468

thanks for its SystemUI.apk from CM12.

i decompiled SystemUI.apk from CM12 Note4 to gain MinitBattery$1.smali , MinitBattery$ResourceManager.smali and MinitBattery.smali files and have learned that i have to change some codes in system_icons.xml :) instead of status_bar.xml like in [MENTION=5282154]pas2001[/MENTION] thread.

here it is my code for SystemUI/layout/system_icons.xml :

(in red , what i changed)

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:id="@id/system_icons" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.keyguard.AlphaOptimizedLinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="2.5dip" layout="@layout/signal_cluster_view" />
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="[COLOR="Red"]0.0[/COLOR]dip" android:layout_height="[COLOR="Red"]0.0[/COLOR]dip" android:layout_marginBottom="@dimen/battery_margin_bottom" android:layout_marginStart="7.0dip" />
[COLOR="Red"]<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" />[/COLOR]
</LinearLayout>

You need to download 3MinitBatteryModFiles2.2_MD5_2aaf0531d4b8c74b33aacdba79575221.zip from [MENTION=5282154]pas2001[/MENTION] thread (1rst post) and only take 3MinitBatterySettings.apk from it if you plan to use this mod. Then you will install 3MinitBatterySettings.apk on your device. Personaly, i installed it on /data/app/ , set permissions and reboot.

In attachements, find a little pack containing only 3 smali files you need to add in SystemUI\smali\com\android\systemui\statusbar\policy according 1rst post from [MENTION=5282154]pas2001[/MENTION].

3 files are : MinitBattery$1.smali , MinitBattery$ResourceManager.smali and MinitBattery.smali .

if you have installed CM12 on your device, you can try my SystemUI.apk in attachment too. (from beta5 or beta6)

Its easy to decompile, make the change and compile too.

Enjoy

thanks

ALL Credits to [MENTION=4619873]gharrington[/MENTION] .
[Galaxy S II Themes and Apps] pas2001:
Great job mate. But don't forget the real owner of 3minit battery mod [MENTION=4619873]gharrington[/MENTION]. I am only his team member.

BTW you guys can support by buy app in playstore. It up to date with new tabs function.

Thank.
[Galaxy S II Themes and Apps] T-Rex:
plz when i followed the guide and compile the new systemui.apk

i paste it into \system\private-app\SystemUi

and i set permission to rw-r-r

but when i reboot the device a message pop up and said systemui has stopped and repetted the same thing over and over

can you tell me how did you manage to get it work ?
[Galaxy S II Themes and Apps] Troubadour666:
its curious, because i always have error that you have but only when i copy apk on system. just a pop up said systemui has stopped .

when i reboot, it never appear again.

When you have compiled, did you manage META-INF folder and AndroidManifest.xml in new SystemUI.apk ?

- you set permission to rw-r-r and owner and group to root

- and you have 3MinitBatterySettings.apk on your system too ?

you missed smali files :)

i have tested without and i loose status bar and have constant "systemui has stopped" .
[Galaxy S II Themes and Apps] T-Rex:
no , i just replace the systemui.apk that you attached

can you give me plz all file needed to have the look in the screenshots (without changing the white backround for apps drawer) and the method plz

because i don't have time to compile my own
[Galaxy S II Themes and Apps] Troubadour666:
ha, i cant share because its personal use and i made many change on it

and you will need my modded framework-res and settings for beta5 too.

its bad idea if you have though to use my systemui in attachment without 3MinitBatterySettings.apk installed just to gain 'black' ui like me.

you can follow this thread

http://xdaforums.com/android/themes/guide-t2978121/

and try to adapt it and yes you will need to compile too. sry.

maybe, if i have time, i will make a post with all my XML changes on beta6 to give it a black ui .

thanks.
[Galaxy S II Themes and Apps] ASRock86Cro:
please create full dark material theme decksclock, mms, calendar, calculator and others. thanks
[Galaxy S II Themes and Apps] T-Rex:
hen you have compiled, did you manage META-INF folder and AndroidManifest.xml in new SystemUI.apk ? YES

- you set permission to rw-r-r and owner and group to root : YES

- and you have 3MinitBatterySettings.apk on your system too ? NO I D'ONT HAVE THIS APP

you missed smali files / WHAT YOU MEAN BY I MISSED THOSE FILES

i have tested without and i loose status bar and have constant "systemui has stopped" .
[Galaxy S II Themes and Apps] Troubadour666:
i'm talking about the smali files pack in attachments post4.

you habe to install 3MinitBatterySettings.apk from [MENTION=5282154]pas2001[/MENTION] thread too. you have FC because you missed smali files added before compilation. see again post 4.

thanks.
[Galaxy S II Themes and Apps] Troubadour666:
3Minit Battery Mod on Resurrection Remix 5.2.8 now , post4 updated ;)

thanks
[Galaxy S II Themes and Apps] Yakap:
is it working on cm 12 lysergic acid? Thanks
[Galaxy S II Themes and Apps] Troubadour666:
see attachments post4 ;)
[Galaxy S II Themes and Apps] androidous:
sweet job :D glad i was able to help at least a bit :D keep it up man :P :good::good:
[Galaxy S II Themes and Apps] Troubadour666:
i have idea to create theme.material.dark definitions in framework-res.apk and see what i can do with it (similar from theme.material.light) , could be a sad work :)

and playing with android:theme="@style/ on <activity in AndroidManifest.xml maybe .
[Galaxy S II Themes and Apps] nicholaschum:
Good going [MENTION=4775725]Troubadour666[/MENTION]! Looking good :)
[Galaxy S II Themes and Apps] gino66:
Thank great guide sorry my bad english
[Galaxy S II Themes and Apps] Troubadour666:
CM12 Material_Black Theme

Hi,

this is my last theming with Material_Black theme , following post4

CWM-I9100-CM12-Beta8-Material_Black-master-3MinitBatteryINCLUDE .zip - 22.02 MB

i have themed black Dialer.apk and Contacts.apk

ABOUT MY SystemUI.apk , you have to install 3MinitBatterySettings.apk as describe in post3 and post4.

Also , i have added networkspeedindicator from [MENTION=4232948]thanhfhuongf[/MENTION] in my SystemUI.apk too.

(his this thread here http://xdaforums.com/galaxy-note-3/themes-apps/guide-lollipop-network-status-bar-t2998932)

for all of the followers insterested by theming it BLACK , i will post my colors.xml and style.xml soon, for all apk.

there are some other xml to modify too and png/jpg to change.

i'm open for other things if you have some ideas. i'm not moding but just theming, i mean, only colors and png images.

give a try and report.

thanks.

UPDATE :

NEW CWM package : 3MinitBattery and network speed indicator have been removed from SystemUI.apk.

I9100-CM12-Beta8-Material_Black-master.zip - 22.05 MB

or download SystemUI.apk in attachement, replace in CWM-I9100-CM12-Beta8-Material_Black-master-3MinitBatteryINCLUDE .zip if you have downloaded it before and reflash.
[Galaxy S II Themes and Apps] Osushi:
Maybe a different color such as gray here

http://xdaforums.com/showthread.php?t=2797209
[Galaxy S II Themes and Apps] Troubadour666:
oh, cool. i never see this thread. thanks to point to me.

i see AOSP Theme too somewhere ;)
[Galaxy S II Themes and Apps] Osushi:
I like this background

And i like this Orange bar

I do not know how to do it to have such an effect
[Galaxy S II Themes and Apps] Troubadour666:
search around [MENTION=5022494]Vivek_Neel[/MENTION] thread to "theme lollipop with ease" ;)

i like orange too :)
[Galaxy S II Themes and Apps] Osushi:
It's a little difficult for me and I do not know so much English. Do you have finished this theme
[Galaxy S II Themes and Apps] Troubadour666:
POST20 UPDATED : SYSTEMUI without ADDONS

- i removed 3MinitBatterySettings

- i removed networkspeedindicator
[Galaxy S II Themes and Apps] Adil Aziz:
Hey man. Can u make grey one just like that theme in euphoria os? i mean its soo black.
[Galaxy S II Themes and Apps] Troubadour666:
now i have canevas ok, i think i can give a test to this one too.
[Galaxy S II Themes and Apps] Osushi:
Bad to me except that I do not understand how such a theme as I stated above photo
[Galaxy S II Themes and Apps] Adil Aziz:
Thanks. OOh one more thing in your devhost folder i saw a material dark public 4.6 theme. Can i install that on cm12 beta 8? And also is it full black too?
[Galaxy S II Themes and Apps] Troubadour666:
it was for beta7 :( not sure it will be good.

if you know about compile/decompile you can extract colors.xml and styles.xml from beta7' systemui settings and framework compare with beta8 and compile in beta8 :) (how long time to do this as i'm doing this :eek:)
[Galaxy S II Themes and Apps] Adil Aziz:
Hehe. I dont know compiling decompiling. But i will learn and will help in future ☺
[Galaxy S II Themes and Apps] matteo2:
I have RR 5.2.9, can I flash the zip file directly? I'd like to have battery text percentage (no icon and green text when charging) and no network speed indicator...
[Galaxy S II Themes and Apps] Troubadour666:
Orange come from MATERIAL_DARK_LRX22C , from [MENTION=5022494]Vivek_Neel[/MENTION] ;)

I9100-CM12-Beta8-From_MATERIAL_DARK_LRX22C.zip - 22.49 MB

[YOUTUBE]HXePf2zxS_Q[/YOUTUBE]

thanks
[Galaxy S II Themes and Apps] Troubadour666:
Simply , this is MY BASE OF THEMING

thanks
[Galaxy S II Themes and Apps] 089man:
Can I used one zip beta8 and can flash in recovery? That's all?

I9100 Tapatalk, RR 5.0.2 Lollipop
[Galaxy S II Themes and Apps] Troubadour666:
Soon i upload for 5.2.9 ;)
[Galaxy S II Themes and Apps] Adil Aziz:
Please make grey one.
[Galaxy S II Themes and Apps] Troubadour666:
like which rom ?
[Galaxy S II Themes and Apps] Troubadour666:
Orange for Resurrection 5.2.9

Hi :)

I9100-RR-5.2.9-ORANGE_statusBAR.zip - 18.64 MB

I9100-RR-5.2.9-ORANGE_statusBAR_3MinitBatteryINCLUDE.zip - 18.64 MB

Not perfect , but ..... Thanks :)
[Galaxy S II Themes and Apps] 089man:
Can we flash in recovery? Please answer yes or no?

I9100 Tapatalk, RR 5.0.2 Lollipop
[Galaxy S II Themes and Apps] Troubadour666:
Oh, sory, yes .

i use native CM12 or RR recovery and they worked for me. I'm not "pited" too !
[Galaxy S II Themes and Apps] Adil Aziz:
Euphoria-os. I love that grey type things.
[Galaxy S II Themes and Apps] Troubadour666:
ok.
[Galaxy S II Themes and Apps] Adil Aziz:
Thankyou so very much.

---------- Post added at 08:56 PM ---------- Previous post was at 08:24 PM ----------

Oh and one more thing(sorry about these messages) please also add that blue color like euphoria one(blue and grey combination) IF u r making that theme. Many thanks...
[Galaxy S II Themes and Apps] Facuu:
Id love a material black for cm latest build
[Galaxy S II Themes and Apps] Troubadour666:
@ all my friends, we have great news here :)

https://plus.google.com/117889454318656086861/posts/ZTk2TAdi7NM

thanks.
[Galaxy S II Themes and Apps] Troubadour666:
A little Material GLASS

Hi ,

regarding this thread, http://xdaforums.com/google-nexus-5/themes-apps/theme-material-glass-t3005025 , thanks to [MENTION=5230774]asdfasdfvful[/MENTION] , and as i want to learn about theming, i decompiled his work and apply on framework-res.apk and systemui.apk i have from [MENTION=5278019]ab-samy[/MENTION] with his last ROM : [ROM][GS2 I9100][LP 5.0.2][17/01/15] Roshnaie-ROM [End of Darkness][BETA] .

.

i will try to provide the xml code for our CM12 to all noob themer like me, guys.

see the result on rootexplorer and Notification Drawer ;)

Dark, Glass....transparency...and now CM12 theme chooser , all is good for our device in this new year .

thanks
[Galaxy S II Themes and Apps] T-Rex:
My Best Edit

guys i want to share with you some screenshot for my upcoming project BLACKandRED insipred from the tech reviewer MKBHD

thanks to :
[MENTION=5022494]Vivek_Neel[/MENTION] for the tutoriel

MKBHD for inspiration

and all the XDA community

guys can you plz give me some feedback before pushing the app to play store that would be nice
[Galaxy S II Themes and Apps] Troubadour666:
TWEAKS

Hi,

i think we can mix themes :)

decompile two themes, copy some stuff from /theme1/assets/ to /theme2/assets/ and recompile, some folders should work and you can have good surprises :)

For example, i like

[Theme][CM 12] Material Glass from [MENTION=5230774]asdfasdfvful[/MENTION] and i like fonts, red settings, contacts and dialer from [MENTION=5022494]Vivek_Neel[/MENTION] [cm 12 theme engine][theme][material dark red] , so i decompile com.vivek.red.c and then i copy com.vivek.red.c/assets/fonts/ , com.vivek.red.c/assets/overlays/com.android.settings/ , com.vivek.red.c/assets/overlays/com.android.contacts/ and com.vivek.red.c/assets/overlays/com.android.dialer/ to com.pitchedapps.material.glass.free/assets/ path and recompile com.pitchedapps.material.glass.free and replace on device so on FUSION from [MENTION=4460995]sooti[/MENTION] we have image on attachments.

give a try guys, it very simple and we can learn more with this method too.

thanks.
[Galaxy S II Themes and Apps] engloa:
Or just follow this template and do it yourself from source :)

https://github.com/cyngn/android_packages_themes_Template
[Galaxy S II Themes and Apps] DOBBY0:
Mine doesn't seem to work correctly
[Galaxy S II Themes and Apps] Troubadour666:
you will enjoy this guys :)

https://plus.google.com/u/0/communities/108487614858895543145

thanks
[Galaxy S II Themes and Apps] T-Rex:
guys go ahead and try my new theme specially mais for i9100

http://xdaforums.com/android/themes/theme-t3010892
[Galaxy S II Themes and Apps] engloa:
Then its obvious you're doing something wrong. I use that to create themes without any issues.

But since you haven't provided any info, it's kinda hard to tell where you went wrong.
[Galaxy S II Themes and Apps] Troubadour666:
I try it

Hi :)

have you try this app ?

https://play.google.com/apps/testing/net.darkion.theme.maker

[YOUTUBE]_rbNw83p4hs[/YOUTUBE]

about theming, with overlays/com.google.android.googlequicksearchboxplaying/ , touching /res/layout/user_folder.xml file by removing android:background="@drawable/quantum_panel" will give 'dark' or 'transparent' background in GoogleNow drawer instead of replacing "black" or "opaque" "quantum_panel.9.png" image in /res/drawable-xxhdpi/ like i saw in some theme i decompile.

just let you know.

WalkWay "oblique" fonts to use in your build theme with net.darkion.theme.maker :)
[MENTION=4241220]marjune23[/MENTION] , attachments for u my friend ;)
[Galaxy S II Themes and Apps] Dbj.Dhaval:
Hey can you do a huge favor and help me modify note 2 n7100 systemui as I want to add 3mint battery mod
[Galaxy S II Themes and Apps] Troubadour666:
hi,

i can try but i need your systemui.apk and framework-res.apk.

thansk.
[Galaxy S II Themes and Apps] atmozfreak:
I have 12 cm resurrection remix lp_v5.4.3 on i9300

How do I change my battery icon via 3minit battery settings app
[Galaxy S II Themes and Apps] atmozfreak:
https://www.dropbox.com/s/v076rns9h7d9uyh/framework-res.apk?dl=0

https://www.dropbox.com/s/pcd6lpqfrmks188/SystemUI.apk?dl=0

here my files of rom 12.1 cm resurrection remix lp_v5.4.3 I9300
[Galaxy S II Themes and Apps] gino66:
Hi! but this guide does not work anymore on 5.1.1?sorry my bad english
[Verizon LG G2] evol4g:
heres the deal... I accidently wiped everything in twrp.... including internal storage... so my phone was bricked and i was able to restore to stock vzw firmware but i'm using this phone on tmobile and without a vzw sim card it isn't allowing me to get past the setup wizard... I'm trying to get this phone rerooted to cloudy g3 and able to use on tmobile but without a SIM card I'm having trouble doing so..

anyone know how to handle this issue??
[Verizon LG G2] xdabbeb:
Vol +, Vol -, back, home (I think you have to select ok or something after back or home)
[General Questions and Answers] JGon561:
I need to know if there is a way to turn this device into a wifi extender. I have a rooted Not 3 and I use Barnacle to turn my device into a "hotspot". Unfortunately it only works as Ad Hoc so I can't connect certain devices to it. I want to be able to share the wifi straight to the ZTE 890L and back out to other devices as a regular network. Is this possible?​
[Sprint HTC One (M7)] Kenpoman:
I am trying to mess around with my step-son's m7

I tried a wipe and reflash of the current rom he was on.

i got an error could not mount /system

i have since tried everything i know to fix the problem:

twrp recovery version 2.7.0.1 was already on it so i tried to upgrade to 2.8.3.0- that didn't work i am now on 2.8.1

i have tried to install badboyz/ rooted stock rom with the latest modified firmware/ liquidsmooth (it is the only rom that will flash and boot but i get a simcard error

any help would be appreciated.

i also tried to ruu but the program will not start on my windows 8.1 pc
[Sprint HTC One (M7)] aagbulos:
I get the same error. I'm currently on the latest GPE rom by gruesomewolf. Seems like this one and the Eragon ROM are the only ones that will flash.

Good luck to you too. If I figure it out I'll let you know.
[Sprint HTC One (M7)] coal686:
Did it give an error? I've run the latest RUU executable on my Win 8.1 PC with no problem.
[Sprint HTC One (M7)] Kenpoman:
the ruu from htc (the executable) failed to start at all.

the ruu from OMJ gave me a side by side error which points to a corrupt c++ install. i re-installed the 2012 c++ from microsoft and the error still persists

unfortunately this is not my phone so i do not have all the time in the world to fix it.

it only has to last until the M9 comes out then he will get my M8.
[Sprint HTC One (M7)] Sloth:
I believe C++ 2008 will fix the side by side error
[Sprint HTC One (M7)] Kenpoman:
I had already tried that and it still won't work
[Galaxy S5 Mini Q&A, Help & Troubleshooting] Ha-Cker:
Do with USB Partial charge and discharge is harmless?

Do not use USB for data exchange harm to the battery?

I can not speak good English:crying:, Plesse Help.
[Galaxy S5 Mini Q&A, Help & Troubleshooting] Lake292:
If I understand correctly, you would like to know if partial charging will damage battery.

Answer is no, since s5 mini has Li-Ion battery, which does not suffer from memory effect. Actually you would damage your batter if you let it discharge way too low (but modern devices prevent you from starting the cell phone when the battery is very low, so this shouldn't be a problem also).
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] JackofCards:
I have a Verizion Samsung Galaxy Note 3 using Nova Launcher, not rooted. A long while ago I downloade Muzei app to have my wallpaper change every hour it worked great used it for a couple months I run into a batter drain issue I delete Muzei and a bunch of other apps the batter drain issues is fixed or manageable for now. However my background still changes all on its own Muzei is not installed I try to find any info on and I find nothing so I re download the app run it then delete it however this time I cleared the data and cache. The problem still persists my background keeps changing. I do not want to do a factory reset. Is there anyone who can help with out having to do a factory restore and having to back up and all that is a royal pain on an Android device. Thank you for your helps I apologize for any errors or typos I typed this up on my note 3. :)
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] :
Hi,

I'm thinking a factory reset, or possibly even reflashing firmware may need to happen to fix it then.... But for other ideas, I'll have your thread moved to your device section.

Good luck!

---------- Post added at 08:24 PM ---------- Previous post was at 08:21 PM ----------

Also, you may want to contact the app developer about it. ?
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] JackofCards:
Thank you Darth. I contacted the app developer just now maybe he/she will know something. If anyone out there knows anything that may help please put in your two sense (cents) :P I welcome it all the more heads the better! So please feel free I would lover to hear your ideas and thoughts and suggestions! :) thank your everyone! :)
[One (M8) Q&A, Help & Troubleshooting] ozg33k:
Is it possible to have the effect on a cm or aosp ROM? The HTC gallery is working fine but the effect isn't there. Maybe installing certain library files would do the trick? Thanks.
[One (M8) Q&A, Help & Troubleshooting] :
Pretty sure it's dependant on the Sense framework.

Perhaps someone will correct me though. ?
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
No.

To confirm the thread above, it requires Sense framework.
[Frameworks] Ironsteel:
Is there a hack to send a whatsapp message though my app? What I'm looking for, is that when a person sets a message within my app for a contact, I want it to be sent on the contact's whatsapp with the user's permission.

I've tried WhatsApp.com / faq/android/28000012 (sorry cannot post lines, I'm new) with URIs and text as extra, but they just open up the chatbox instead of sending the message.

Thank you!
[Frameworks] pgquiles:
You don't say which programming language you are using. There are many third-party libraries implementing the WhatsApp protocol that let you send mesages. You don't even need an actual phone device to use them, just a phone number for verification.

E. g. Yowsup in Python

https:// github. com/ tgalal/ yowsup

Careful: all of these libraries are in violation of WhatsApp's terms of service and your app can be terminated (at least the messaging side) any time.
[Frameworks] shawnforlab:
Thanks

Thanks. Very impressive.
[Frameworks] nusclyss:
Any library for Java?
[Frameworks] mitchy_feargod:
This was helpful, tnx
[Frameworks] pgquiles:
I don't know any currently-supported Java library. But you can try Yowsup on Jython.