[Samsung Galaxy Note FE Guides, News, & Discussion] gcrutchr:
Updated for PIE, 9.0

First of all, thanks to @dr.ketan for getting this to work for the Note 8 (Oreo). After seeing how he implemented the 3 Minit Battery in his ROM, I have implemented, for the Note FE/DS, what he did for the Note 8.

WARNING:

YOU DO THIS MODIFICATION AT YOUR OWN RISK. I NOR XDA-DEVELOPERS WILL NOT BE RESPONSIBLE FOR ANYTHING THAT HAPPENS AS A RESULT OF USING THESE MODIFICATIONS IN YOUR ROM. IF YOU HAVE NEVER MODIFIED AN APK FILE, I RECOMMEND LEARNING HOW TO DO IT BEFORE TRYING THIS MOD.

If you do not know how to decompile an apk, make changes to xml files and recompile an apk, I highly recommend you learn how-to-do-it before attempting this mod. Please refer to other threads on xda-developers regarding how to decompile/recompile apks.

The attached 3minit.zip file contains the following:

- apktool folder: in case you do not have the updated apktools

- sysinstall folder: where you put your modded SystemUI.apk and create an installable .zip file; also includes 3MinitBatterySettings.apk and MinitBatteryResources.apk

- res folder: drawable-xxxhdpi (fixed pip_dismiss_scrim.9.png file); layout folder (system_icons.xml - modded for 3minit battery) and status_bar.xml (if you want your clock centered)

- smali_classes2 folder: new folder (android) added to com folder - add complete android folder.

I HIGHLY recommend you make your own changes to the system_icons.xml file (and, if using the center clock mod, make changes to your status_bar.xml file)....Please do not just copy these 2 files into your ROM...they may be the same, but they may also be different...just make the changes to your files.

Steps to implement 3MinitBattery icons:

For OREO:

1 - MAKE A ROM BACKUP - Just in case - VERY IMPORTANT!

2 - Copy your deodexed SystemUI.apk to your work folder (with the apktool and baksmal.jar, smali.jar files)

3 - Decompile your SystemUI.apk (if you do not know how to do this, STOP - you should not be making this change)

4 - Copy pip_dismiss_scrim.9.png into res\drawable-xxxhdpi folder

5 - Copy the android folder into smali_classes2\com folder

6 - Edit the res\layout\system_icons.xml files - make the changes based on the file I provided - mods are near end of file - IMPORTANT: make sure you mod <LinearLayout info to android:layout_width="0.0dip" android:layout_height="0.0dip" - if you do not set to 0.0dip, both the stock and 3Minit batteries will be displayed.

7. When finished with mods, recompile SystemUI - do not forget to copy META_INF folder from original SystemUI.apk and the AndroidManifest.xml from the original SystemUI.apk into your new SystemUI.apk, otherwise your phone may bootloop or get stuck with a blank screen.

8. Put your modded SystemUI.apk in the system/SystemUI folder of the sysintall.zip file

9. Copy sysinstall.zip to your phone

10. Reboot into TWRP and install sysinstall.zip

11. You can use 3MinitbatterySettings to choose the battery style and other misc. properties.

For PIE:

1 - MAKE A ROM BACKUP - Just in case - VERY IMPORTANT!

2 - Copy your deodexed SystemUI.apk to your work folder (with the apktool) - use apktool 2.4.0 (attached)

3 - Decompile your SystemUI.apk (if you do not know how to do this, STOP - you should not be making this change)

4 - Copy pip_dismiss_scrim.9.png into res\drawable-xxxhdpi folder

5 - Copy the android folder into smali_classes2\com folder

6 - Edit the res\layout\system_icons.xml files - make the changes based on the file I provided - mods are near end of file - IMPORTANT: make sure you mod <LinearLayout info to android:layout_width="0.0dip" android:layout_height="0.0dip" - if you do not set to 0.0dip, both the stock and 3Minit batteries will be displayed.

7. When finished with mods, recompile SystemUI - do not forget to copy META_INF folder from original SystemUI.apk and the AndroidManifest.xml from the original SystemUI.apk into your new SystemUI.apk, otherwise your phone may bootloop or get stuck with a blank screen.

8. Put your modded SystemUI.apk in the system/SystemUI folder of the sysintall.zip file

8a. I have included my SystemUI.apk file - it is for XXU4CSC5 ROM - it includes double-tap to lock and removes entering password on reboot (just use fingerprint, if enabled)

9. Copy sysinstall.zip to your phone

10. Reboot into TWRP and install sysinstall.zip

11. You can use 3MinitbatterySettings to choose the battery style and other misc. properties.

3Minit.zip Link:

For OREO:

Google Drive: 3Minit.zip

Mega: 3Minit.zip

For PIE:

Google Drive: 3Minit.zip-PIE

Mega: 3Minit.zip-PIE