yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Git226:
I did use TMA to "recompile with original signature", and I confirmed that the file sizes and date/time stamp of META-INF and Manifest were the same in both the original and modified SystemUI.apk's. I can still try to manually replace the two using 7zip, but I can't seem to copy or delete the files in 7zip without extracting first...?
[Android Apps and Games] bdorr1105:
Do not sign with original signature, use option one, then you can remove those.
[Android Apps and Games] Git226:
I was able to replace the original META-INF and Manifest files after using option 1 (note that this contradicted the advice of Ticklefish in post #4346..?); regardless, I still have the same problem with the status bar and wallpaper disappearing. Must be something with my setup. Perhaps I'll try again if I ever do a clean reinstall. Thanks.
[Android Apps and Games] bdorr1105:
What device are you using? Send your framework and systemui
[Android Apps and Games] Git226:
Note 4 with systemless root and Marshmallow... APKs: https://drive.google.com/open?id=0B3doHHp8tYBXWHhSc1NSUl9zZk0
[Android Apps and Games] Josephigloe:
I am having the same issue I have done it exactly as the instructions say and I have tried 4 times if I send you my system ui can you help me 2 please.

Device: note 5 with note 7 rom.
[Android Apps and Games] bdorr1105:
Figures it is Samsung, i think you have to edit the status bar xml and system icons xml both...Been a while
[Android Apps and Games] Josephigloe:
System icons but I can't get it figured out I just get a black screen with icons
[Android Apps and Games] bdorr1105:
No, I mean I think you have to edit both xml files. I remember some weird crap about sammy - ithink it was a tw_status_bar
[Android Apps and Games] Josephigloe:
Ok I'll have to check there.
[Android Apps and Games] ZRK_NanDRD:
Can someone please upload the 3MinitBatteryModFiles_v4.1.1.zip on OP to dropbox or google drive cos I'm having trouble downloading from mediafire, download failed about 8x now (30%, 90% 60%) it just fails while the network is stable & its due to mediafire cos I've just download 4 files from different storage servers with no problem.
[Android Apps and Games] bdorr1105:
Here, you can download it from my Google Drive ----> 3MinitBatteryModFiles_v4.1.1.zip
[Android Apps and Games] ZRK_NanDRD:
Thanks:good:
[Android Apps and Games] bearthing:
great men
[Android Apps and Games] MAXSIMUS96:
Please help . Completed all the steps but it did not . Android 5.1.1

https://drive.google.com/file/d/0B2NXHFfPxFb8TVg0UXNKX2x6bUE/view?usp=sharing Here is the archive file .
[Android Apps and Games] Wesley_NL:
Witch one do i need for sm-g928f nougat?
[Android Apps and Games] bdorr1105:
Here ya go, give this a try and let me know if everything worked out ok.

3Minit Install.zip

---------- Post added at 03:25 PM ---------- Previous post was at 03:24 PM ----------

It is in the OP of the first page....Same files

framework files and the SystemUI. it needs to be deodexed already
[Android Apps and Games] Wesley_NL:
I use n-lite by raindow_dash, i assume it is deodex

Bur since i couldn't find the galaxy s6 edge+ i ask
[Android Apps and Games] bdorr1105:
Post the files I will be able to tell
[Android Apps and Games] Wesley_NL:
here is Galaxy s6 Edge+ SM-G928F Nougat 7.0.1 N-Lite by rainbow_dash his treath, the one i use and some of us xda fella's that still owns a galaxy s6 edge+

i like to see if i can get 3minit to work so i can report to him and he can improve his new release
[Android Apps and Games] nicesoni_ash:
[MENTION=4619873]gharrington[/MENTION]

Mode seems to work great after integrated into a rom but offline styles aren't working. Nothing happens when you click on them. Not even asking to apply or download. Other sections work fine though. Can you suggest me what could be wrong?

Should I provide a log while trying to click on them or something like that?

Sent from my "1+2" powered by Official RR 7.x.x

Compiled by myself
[Android Apps and Games] MAXSIMUS96:
Here ya go, give this a try and let me know if everything worked out ok.

3Minit Install.zip

Thanks, but not working.

My phone Samsung s3 duos. This my port Note5 for my phone.
[Android Apps and Games] bdorr1105:
Sorry to hear that, TouchWiz is not my favorite
[Android Apps and Games] jds3118:
It looks like Samsung has changed it's xmls from the last time I used this mod and I don't see the code to change in status_bar xml. What xmls do I edit for Samsung nougat?
[Android Apps and Games] Leozgz85:
Hi. Somebody can tell me where the line is in the oneplus 3, (<android: id = "@ id / battery) because I can not find it on the routes.

Res / layout / status_bar.xml

Tw_status_bar.xml

System_icons.xml

Please help. Where is it?
[Android Apps and Games] genuine55:
Do you have the right edits for Android nougat since u are on the one plus 3 ?
[Android Apps and Games] Carotix:
deleted
[Android Apps and Games] MarcTremonti:
[MENTION=4619873]gharrington[/MENTION]

for my oneplus3 there is no smali/com/android/systemui/statusbar/policy folder. where do i have to put the files?

here is my OPSystemUI.apk in case it helps: http://www76.zippyshare.com/v/p9qiafdp/file.html
[Android Apps and Games] bdorr1105:
You have to deodex the system UI... The rom you are running is not deodexed

Sent from my FreedomOS 3T
[Android Apps and Games] MarcTremonti:
[MENTION=4619873]gharrington[/MENTION] or anybody else, help pls. :(

i pulled relevant files from android device and then deodexed the ROM.

after that i got the "tma_Deodex-31-03-2017@1535.zip" and copied the OPSystemUI.apk out of it and decompiled it but i still got no smali folder.

can anybody help me on this want and tell me what is wrong?

/history.txt from TickleMyAndroid attached.

OnePlus3 - Android 7.1.1. - FreedomOS 2.7 (OOS 4.1.1. based)
[Android Apps and Games] gharrington:
I don't use TickleMyAndroid so I don't really know the logs but I can't see any mention of successful SystemUI deodexed. Are there any errors during the decompile?
[Android Apps and Games] gharrington:
Look in system_icons.xml
[Android Apps and Games] Bewildered Wolf:
<?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:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/signal_cluster_margin_start" layout="@layout/signal_cluster_view" />
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="@dimen/status_bar_battery_icon_width" android:layout_height="@dimen/status_bar_battery_icon_height" android:layout_marginBottom="@dimen/battery_margin_bottom" />
</LinearLayout>

Yes, its there. But you see instead of

android:layout_width="wrap_content" and android:layout_height="wrap_content"

we have

android:layout_width="@dimen/status_bar_battery_icon_width" android:layout_height="@dimen/status_bar_battery_icon_height"

Now, what to do acout that bro?
[Android Apps and Games] gharrington:
The guide is just an example every device is diffrent.

Just swap

android:layout_width="@dimen/status_bar_battery_icon_width" android:layout_height="@dimen/status_bar_battery_icon_height"

To

android:layout_width="0.0dip" android:layout_height="0.0dip"
[Android Apps and Games] Bewildered Wolf:
but if ll change it to 0.00 dpi heree.

then in dimen.xml

i have

<dimen name="status_bar_battery_icon_height">18.0dip</dimen>
<dimen name="status_bar_battery_icon_width">18.0dip</dimen>

wont they conflict bro?
[Android Apps and Games] gharrington:
No because it won't use them anymore. If your worried just change those values to 0.0dip too.
[Android Apps and Games] Bewildered Wolf:
ok bro. Thanks. and ll try and report back asap.
[Android Apps and Games] Bewildered Wolf:
did the same bro. but systemui stopping again and again.

any idea?

i'm attaching the systemui.apk have a look please. :)
[Android Apps and Games] gharrington:
You will need post a logcat so I can see what went wrong. You can find the free app in playstore.
[Android Apps and Games] Ticklefish:
If you're just changing the width and height of an item, and the APK recompiles without any errors, that shouldn't cause an FC. The worst that can happen is your status bar could look a mess.

I suggest you try decompiling and recompiling the APK without any changes first. If it doesn't install, you know there's something wrong with your process (or the APK) and you'll need to fix that before you do this mod.
[Android Apps and Games] Bewildered Wolf:
Okay. So i was facing this problem with signature of apk for 2-3 days. Then i saw your tool. Signed with original signature and it worked. And i want to thank you for that. So i guess theres no problem with the apk. Its working with changes and without changes without and FC's.

I don't know where this process got wrong. I followed every single step from the OP.

Rest I'll post a log tonight. :)
[Android Apps and Games] Bewildered Wolf:
[MENTION=4315551]Ticklefish[/MENTION] and [MENTION=4619873]gharrington[/MENTION] hi brothers :)

idk what happened. i downloaded logcat app. Copied system ui. and boom. It worked man :)

thanks for your help and time. soon ll be sharing to my Phone's forum :')

ll give your credits. thanks.
[Android Apps and Games] _stoffl:
Hi guys,

I need some advice please. I'm on a deodexed S6 Touchwiz Nougat ROM. I did all the steps in the guide. Everything works just fine, expect that the stock battery icon is still shown. Is there a additional step that has to be done on Nougat ROMs?

This is my system_icons.xml

<?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.systemui.statusbar.policy.NetspeedView android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:layout_gravity="center" android:id="@id/networkSpeed" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:importantForAccessibility="no" android:layout_marginEnd="@dimen/netspeed_margin_end" />
<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:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/signal_cluster_margin_start" layout="@layout/signal_cluster_view" />
<TextView android:textSize="@dimen/battery_text_size" android:textColor="@color/batterymeter_text_color" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:importantForAccessibility="no" android:fontFamily="sec-roboto-condensed" android:layout_marginEnd="@dimen/battery_text_margin_end" />
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginBottom="@dimen/battery_margin_bottom" />
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
[Android Apps and Games] Bewildered Wolf:
You can hide the battery icon from settings bro ?
[Android Apps and Games] _stoffl:
The stock Batetry icon? Can you give me hint where I can find that setting?
[Android Apps and Games] Ticklefish:
No thanks needed. I'm just glad it worked. :D
[Android Apps and Games] :
Confirmed to work on android 7.1 Nougat Mi3(cancro) custom ROM based on AOSP. I followed all steps exactly as given in the OP. Finally as [MENTION=4315551]Ticklefish[/MENTION] suggested, copying the androidmanifest.xml and metainf folder from original apk to modded apk using 7zip did the trick. Thanks a lot.
[Android Apps and Games] Sm0k3r83:
I'm using ZenUI 3 and i can't hide the stock icon from settings and the stock icon still remains on mine as well.
[Android Apps and Games] Zaileion:
Can you please repost the file (if you still have it) I wiped my internal storage and forgot to backup the .zip

Thank you again!

---------- Post added at 02:23 PM ---------- Previous post was at 02:21 PM ----------

Sorry, this is the post I wanted to reply to. If you still have this file can you re-post it. I wiped my internal storage and forgot to backup the .zip.

Thank you again!
[Android Apps and Games] Dr.Aequitas:
Hello.

I'm using the colorable circle icon and tried to increase the font size inside the circle. It was 30 at first and the slider bar was on the rightmost. I tried to slide it further more to the right but as soon as I touched the slider, it became 16 and I can't make it any bigger. 30 was OK actually but 16 is really really small that I can't read it properly.

Is there anyway to increase it?

Thanks in advance.
[Android Apps and Games] Dr.Aequitas:
[MENTION=4619873]gharrington[/MENTION], dude, can you help me on this?
[Android Apps and Games] bigTINY779:
[MENTION=4619873]gharrington[/MENTION] or anybody that can please help. I have successfully modded my system ui for 3minit battery and clock. but i am getting some issues with the layout. the battery gets cut off unless i make it real small. and the clock works great except when in the left position where it just goes to the left of the other system icons. im not super worried about the clock because i dont ever put it in the left but it does bug me a little. the real problem for me is the battery getting cut off. I dont know what i am doing wrong. Here is a zip of my Frameworks and system ui that is already modded. I am using an galaxy s8+ port on my note 5 with the pro version of the 3minit battery apk.
[Android Apps and Games] stang5litre:
Working on N. Thanks so much XD
[Android Apps and Games] baloo30310@gmail.com:
Hi guys !

I have a little worry on my Note 4 with the Modds 3Minits Battery.

Once the system ui moddify with the script and the smali in policy.

I always stock battery that appears.

If someone has a trick I am taker to hide the stock battery

thank you in advance.

[IMG="3Minits"]https://i58.servimg.com/u/f58/16/94/80/94/screen30.jpg[/IMG]
[Android Apps and Games] manuelmagix:
You must change battery dip 0,0dip dimens.xml

Enviado desde mi Aquaris X5 Plus mediante Tapatalk

---------- Post added at 05:12 PM ---------- Previous post was at 05:10 PM ----------

Look muy preview post 4505.

Enviado desde mi Aquaris X5 Plus mediante Tapatalk
[Android Apps and Games] baloo30310@gmail.com:
Hello and thank you for having answered me.:D

But I have already done it ..

Let me attach the code of my xml sytem icon

<?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" android:alpha="@dimen/status_bar_icon_alpha" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingStart="@dimen/signal_cluster_gap">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/signal_cluster_gap" android:layout_marginEnd="@dimen/rssi_battery_gap" layout="@layout/signal_cluster_view" />
<TextView android:textSize="@dimen/battery_text_size" android:textColor="@color/battery_text_color" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginTop="@dimen/battery_text_margin_top" android:alpha="@dimen/status_bar_icon_alpha" android:importantForAccessibility="no" android:fontFamily="sec-roboto-light" android:layout_marginStart="@dimen/battery_text_marginStart" />
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="@dimen/battery_icon_width" android:layout_height="@dimen/battery_icon_height" android:layout_marginBottom="@dimen/battery_icon_bottom_margin" android:alpha="@dimen/status_bar_icon_alpha" android:layout_marginStart="@dimen/battery_icon_start_margin" />
</LinearLayout>
</LinearLayout>
[Android Apps and Games] manuelmagix:
No statusbar.xml/systemicons.xml, you change dimens.xml. folder values

Enviado desde mi Aquaris X5 Plus mediante Tapatalk
[Android Apps and Games] baloo30310@gmail.com:
( you change dimens.xml. folder values)

I did not quite understand what you meant by that !:eek:

excuse me for my English:silly::silly:
[Android Apps and Games] manuelmagix:
values/dimens.xml

<dimen name="status_bar_battery_icon_height">0.0dip</dimen>
<dimen name="status_bar_battery_icon_width">0.0dip</dimen>
[Android Apps and Games] Bewildered Wolf:
Go to res/values/dimens.xml

And make your changes there.
[Android Apps and Games] baloo30310@gmail.com:
OK I test and I tell you if it's ok:D
[Android Apps and Games] baloo30310@gmail.com:
Hi guys ! First of all a big thanks to [MENTION=4296673]manuelmagix[/MENTION] & [MENTION=4865506]Bewildered Wolf[/MENTION]

For their help.

I give you the solution for Samsung if that happens to you.

Go to res/values/dimens.xml

<dimen name="battery_icon_width">0.0dip</dimen>
<dimen name="battery_icon_height">0.0dip</dimen>

You need to modify these two lines and then put 0.0dip

[IMG="stock hidden"]https://i58.servimg.com/u/f58/16/94/80/94/screen38.jpg[/IMG]

;) Thanks
[Android Apps and Games] Bewildered Wolf:
No problem mate. We are here to help. Glad it worked for you :)
[Android Apps and Games] dacorsa:
i use last samsung rom on my note4 but the rom is odexed....how to install 3minitbattery on it?

i can copy the smali dir from another version deodexed?

thanks
[Android Apps and Games] CrossCool:
can someone help me..

my problem is same like [MENTION=4527649]bigTINY779[/MENTION], successfully modded my systemUi for 3minit battery and clock, but the battery gets cut off. I am using a galaxy s8+ port on my S7 edge.

this is my system_icon.xml

<?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="ht*p://schemas.android.com/apk/res/android">
<com.android.systemui.statusbar.policy.NetspeedView android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:layout_gravity="center" android:id="@id/networkSpeed" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:importantForAccessibility="no" android:layout_marginEnd="@dimen/netspeed_margin_end" />
<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:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/signal_cluster_margin_start" layout="@layout/signal_cluster_view" />
<TextView android:textSize="@dimen/battery_text_size" android:textColor="@color/batterymeter_text_color" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:importantForAccessibility="no" android:fontFamily="sec-roboto-condensed" android:layout_marginEnd="@dimen/battery_text_margin_end" />
<FrameLayout android:id="@id/battery_root" android:layout_width="@dimen/status_bar_battery_icon_width" android:layout_height="@dimen/status_bar_battery_icon_height">
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginBottom="@dimen/battery_margin_bottom" />
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="fill_parent" android:layout_height="fill_parent" />
<ImageView android:id="@id/battery_frame" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" android:src="@drawable/stat_sys_battery" />
<ImageView android:id="@id/battery_charging" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" android:src="@drawable/stat_sys_battery_charging" />
<ImageView android:id="@id/battery_supplying" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" android:src="@drawable/stat_sys_battery_supplying" />
</FrameLayout>
</LinearLayout>

thanks in advance.
[Android Apps and Games] bigTINY779:
like this.

<?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="ht*p://schemas.android.com/apk/res/android">
<com.android.systemui.statusbar.policy.NetspeedView android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:layout_gravity="center" android:id="@id/networkSpeed" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:importantForAccessibility="no" android:layout_marginEnd="@dimen/netspeed_margin_end" />
<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:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/signal_cluster_margin_start" layout="@layout/signal_cluster_view" />
<TextView android:textSize="@dimen/battery_text_size" android:textColor="@color/batterymeter_text_color" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:importantForAccessibility="no" android:fontFamily="sec-roboto-condensed" android:layout_marginEnd="@dimen/battery_text_margin_end" />
[COLOR="Red"]<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="fill_parent" android:layout_height="fill_parent" />[/COLOR]
<FrameLayout android:id="@id/battery_root" android:layout_width="@dimen/status_bar_battery_icon_width" android:layout_height="@dimen/status_bar_battery_icon_height">
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginBottom="@dimen/battery_margin_bottom" />
<ImageView android:id="@id/battery_frame" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" android:src="@drawable/stat_sys_battery" />
<ImageView android:id="@id/battery_charging" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" android:src="@drawable/stat_sys_battery_charging" />
<ImageView android:id="@id/battery_supplying" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" android:src="@drawable/stat_sys_battery_supplying" />
</FrameLayout>
</LinearLayout>

you also may have to go to the values folder and change dimens.xml. find "status_bar_battery_icon_width" and "status_bar_battery_icon_height" and change the values both to 0.0dip.
[Android Apps and Games] CrossCool:
Thanks a lot for the fast reply bro...

it work perfectly now... :good: :D

you save my time for searching solution page by page on this thread :victory:

and thanks [MENTION=4619873]gharrington[/MENTION] for such amazing app
[Android Apps and Games] bigTINY779:
No problem.