[Xiaomi Redmi Note 3 Themes, Apps, and Mods] LeoYL:
Note: Due to some strange problems, this tutorial might not display correctly in XDA Android client. In this case, please view this thread in your web browser.

[IMG="Round Icon Screenshot"]https://cloud.githubusercontent.com/assets/14175175/22279557/65dd0d56-e306-11e6-8b03-bfcc4078e617.png[/IMG] [IMG="Blue Accent Color Screenshot"]https://cloud.githubusercontent.com/assets/14175175/22279558/6619ae32-e306-11e6-91e4-d057a3af8a43.png[/IMG]​

In this thread I will share a method to get blue accent color and round icons, which are only available in Pixel stock ROM, on not only Redmi Note 3 but literally any device with Android 7.1. This can be achieved by modifying framework-res.apk and some other APKs using apktool.

The most exciting thing is that you can also make the Settings app's icon become the round and blue icon on Pixel instead of the original gear and teal icon.

I will also share flashable ZIP(s) I have made for ROM(s) that I use. Because I'm using a network with very low bandwidth, it's hard for me to download so many ROMs, therefore I mayn't make flashable ZIPs for other ROMs. However, you can send the APKs in the ROMs that you use to me, and I will be able to make modifications for you.

Disclaimer​

Although this method has been tested on my Redmi Note 3 and Sony Xperia Z1 (both have LineageOS unofficial installed), and I am trying my best to ensure the accuracy of the tutorial, I am not responsible for any damage on your device's hardware, software or data, or any consequences of the damage.

Prerequisite​

To manually modify your ROM, you need the following:

Working Apktool on your PC

Working TWRP recovery on your device with Android 7.1.x

Optional:

ROOT permission and and any root file explorer on your device

If you prefer doing all modifications on your PC first, you can use System_Extractor to extract your ROM on your PC, so you don't need to grab files from your Android device.

Steps​

0. Make sure that Apktool and TWRP (and System_Extractor) work on your devices. You might need to install JRE (and Python) on your PC.

1. Obtain /system/framework/framework-res.apk of the ROM you are using. You can do this by one of these methods:

If you have TWRP, you can use the file explorer shipped with TWRP to get the file.

If you have ROOT permission and any root file explorer on your device, you can browse /system/framework/ and get the APK.

If you have System_Extractor on your PC, you can extract the ROM and get the file on your computer.

1.1. If you also want to modify Settings app's icon, obtain /system/priv-app/Settings/Settings.apk and sometimes all the APKs under /system/framework/ directory. You might need all the APKs under framework directory because without them apktool would throw an error. On most CM-based/Lineage-based ROMs, you need /system/framework/org.cyanogenmod.platform-res.apk in addition to framework-res.apk.​

1.2. If you also want to modify Download app's icon, obtain /system/priv-app/DocumentsUI/DocumentsUI.apk.​

2. Copy all the files you get to one place on your PC. Start terminal/command prompt and execute

apktool d *.apk

to decode *.apk to a new folder.

2.1. If you are dealing with Settings.apk, you may experience the following error:

Can't find framework resources for package of id: 63. You must install proper framework files, see project website for more info.

You need to "install" all the APKs under /system/framework/ directory first, like:

apktool if framework-res.apk
apktool if org.cyanogenmod.platform-res.apk

Then try decoding Settings.apk again.

See this webpage for more details.​

3. You should now see a folder named framework-res.

Open that folder and open res/values/bools.xml, then find the following line:

<bool name="config_useRoundIcon">false</bool>

To enable round icon, edit that line as:

<bool name="config_useRoundIcon">true</bool>

Then, open res/values/colors.xml and find the following lines:

<color name="primary_device_default_dark">@color/primary_material_dark</color>
<color name="primary_device_default_light">@color/primary_material_light</color>
<color name="primary_device_default_settings">@color/primary_material_settings</color>
<color name="primary_dark_device_default_dark">@color/primary_dark_material_dark</color>
<color name="primary_dark_device_default_light">@color/primary_dark_material_light</color>
<color name="primary_dark_device_default_settings">@color/primary_dark_material_settings</color>
<color name="secondary_device_default_settings">@color/secondary_material_settings</color>
<color name="tertiary_device_default_settings">@color/tertiary_material_settings</color>
<color name="quaternary_device_default_settings">@color/quaternary_material_settings</color>
<color name="accent_device_default_700">@color/material_deep_teal_700</color>
<color name="accent_device_default_light">@color/accent_material_light</color>
<color name="accent_device_default_dark">@color/accent_material_dark</color>
<color name="accent_device_default_50">@color/material_deep_teal_50</color>

To change the accent color from teal to blue, make these modifications:

<color name="primary_device_default_dark">#ff2d2d2d</color>
<color name="primary_device_default_light">@color/primary_material_light</color>
<color name="primary_device_default_settings">@color/primary_device_default_dark</color>
<color name="primary_dark_device_default_dark">#ff242424</color>
<color name="primary_dark_device_default_light">@color/primary_dark_material_light</color>
<color name="primary_dark_device_default_settings">@color/primary_dark_device_default_dark</color>
<color name="secondary_device_default_settings">#ff3a3a3a</color>
<color name="tertiary_device_default_settings">#ff616161</color>
<color name="quaternary_device_default_settings">#ff9e9e9e</color>
<color name="accent_device_default_700">#ff3367d6</color>
<color name="accent_device_default_light">#ff4285f4</color>
<color name="accent_device_default_dark">#ff5e97f6</color>
<color name="accent_device_default_50">#ffe8f0fe</color>

(These values are the ones that come with Pixel stock ROM)

3.1. If you want th change icons of Settings and Downloads apps, download the attached ZIP in this thread, then copy the corresponding folders in the ZIP file to your workspace and replace original app icons.​

If you are using a ROM with the new file manager in LineageOS, which has an icon of cyan folder, use icons in LineageOS_DocumentsUI.zip​

4. Use the following command to build modified APKs:

apktool b <folder-name> -c

Then you can find the APK under <folder-name>/dist/<folder-name>.apk.

5. Copy the APKs to your device, and reboot into TWRP recovery. Use TWRP's file manager to replace the original APKs with new files. Make sure you apply

chmod 0644

for all the new APKs. You can easily do this in TWRP's file manager.

Note: when your device is still in the Android OS, do not replace the files, especially framework-res.apk, because it probably causes boot loop.

6. Reboot and enjoy!

Flashable ZIPs​

You can directly flash these ZIPs in TWRP to get blue accent color and round icons.

In most cases, these ZIPs are ROM-and-version-specific, meaning that each ZIP is likely to work on only one version of one ROM. For instance, a ZIP for a January LineageOS unofficial build might not work on a December LineageOS unofficial build, even if they come from the same developer. Flash them at your own risk.

LineageOS

For official 20170503: Click here to download

For official 20170419: Click here to download

For official 20170308: Click here to download

For official 20170131: Click here to download

For official 20170125: Click here to download

For minz1's LineageOS 14.1 JAN-08 V2: Click here to download

Nitrogen OS

Made by Anarchy666

For 20170418: Click here to download

For 20170331: Click here to download

For 20170329: Click here to download

For 20170327: Click here to download

Reference​

https://xdaforums.com/nexus-6p/themes-apps/mod-theme-nmf26f-various-framework-res-t3515739

https://xdaforums.com/android/apps-games/guide-enable-pixel-launcher-round-icon-t3536267

If this thread helps you, please click on the "Thanks" thumb up button!