Info
This will allow you to get the icons from the google pixel on your phone.
Not all apps are supported as the app has to provide a separate round icon.
Video tutorial coming soon.
TOOLS
Java: https://java.com/en/download/
Root Browser: https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree
Apktool: https://ibotpeaches.github.io/Apktool/
INSTRUCTIONS
Copy \root\system\framework\firmware-res.apk onto your computer, you might want to make a backup.
On your computer download apktool.jar and place it in the same location as your firmware-res.apk file.
Open CMD and navigate to the location of firmware-res.apk and apktool.jar
Type this in CMD.
Code:
java -jar apktool.jar d framework-res.apk
On your computer navigate to \framework-res\res\values\ and open bools.xml.
Look for
Code:
<bool name="config_useRoundIcon">fasle</bool>
and set it to true.
Go back to cmd and type
Code:
java -jar apktool.jar b framework-res -c
Copy the new firmware-res.apk from framework-res\dist\ onto your device and paste it in \root\system\framework\ you may need to do this in recovery.
Restart your device.
View the correct instructions for your launcher.
Pixel Launcher
On your device navigate to /data/data/com.google.android.apps.nexuslauncher/databases/
Google Now Launcher
On your device navigate to /data/data/com.google.android.launcher/databases/
Action Launcher
On your device navigate to /data/data/com.actionlauncher.playstore/databases/
Nova Launcher
On your device navigate to /data/data/com.teslacoilsw.launcher/databases/
Other Launchers
On your device navigate to /data/data/[Launcher Bundle-ID/Package Name]/databases/
Then delete app_icons.db and restart your device.
Notes
If you cannot find the location of app_icons.db then go to settings - apps - your launcher and clear all app data but doing this will lose icon layout.
If you cannot find <bool name="config_useRoundIcon">fasle</bool> then you are probably an incompatible version of android and the only option is to use an icon pack.
Screenshots (Before/After)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Reserved
Thanks So Much Can You Make an Extensive Guide On How To Make System UI Mods (Edit framework.red apk and Also SystemUI.apk ) For Increasing No. of Rows and Columns On Quick Settings and Also Center Clock
That Would be Really Appreciated
After Recompile and sign, my device boot loop (Lineage OS 14.1) help....
galofa said:
After Recompile and sign, my device boot loop (Lineage OS 14.1) help....
Click to expand...
Click to collapse
re-flash Lineage os, that should fix it, then send me your stock one and il modify it
parth_kalsi said:
Thanks So Much Can You Make an Extensive Guide On How To Make System UI Mods (Edit framework.red apk and Also SystemUI.apk ) For Increasing No. of Rows and Columns On Quick Settings and Also Center Clock
That Would be Really Appreciated
Click to expand...
Click to collapse
il take a look into it
Related
I need a help. Please look at this topic
Code:
http://forum.xda-developers.com/showthread.php?t=822523&highlight=touchwiz
This man and many others people on XDA-forum editing TouchWiz app. Original homescreen by Samsung. They are changing icons, adding backgrounds etc etc. Please could anyone help me or anyone know how to do that? This app - TouchWiz30Launcher.apk - is in system/apps. How or in which program I could edit for example icons or add new dock to bottom? Anybody know?
Please for all. Could anyone help me with this?
ok first you have to be on jpy firmware then you have to take the twlauncher30.apk from the thread you referenced and you need to be rooted an use root explorer to install to your phone by backing up the existing .apk and .odex (rename see instructions in other thread) and then overwritting it with the one from that thread.
the one from that thread is de-odexed so you can edit the .png (icons) using microsoft photo editor or something else and then replace the .png directly in the .apk file with 7zip.. then you can put modified .apk on phone in sameway..
here is my modified version with a modified "bender" launcher icon
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ok i learned this now but where I can change norification bar? In which app? Also in TouchWiz30Launcher.apk?
notification bar is in framwork-res.apk in system/framework..
same method using 7zip to change icons and then put back on phone with root explorer.. after putting back on phone stuff will start crashing and you should reboot.. (may need to pull battery).. make sure you have backups of originals.
notification pulldowns (not the bar) are much more comlicated and you have to change .jar files in the system as well.
Many thanks =) Changing icons in notification bar looks quite hard Is there any easier method?
what i did is find some other rom or custom rom you like and get the framwork-res.apk from that (you know you can just unzip the .apk and then use windows explorer to browser the directories to see all icons at once)
then you can open your framework-res with 7zip and the one with icons you like in another instance of 7zip and then just cut and past the icons (they need to be the same name... as some have additional icons and that entails decompiling and changing .xml files and recompiling and resigning.. much more complicated)... anyway just cut and paste directly from one 7zip into the other (your modifed framework-res from your curent firmware on your phone) then put it back on your phone.
Here is a guide how to colorize lock screen clock in JellyBean.
1. Download attached apktools.zip and unpack it on your computer (make sure there are NO spaces in folder names!)
2. Copie framework-res.apk to same folder.
3. Navigate to this folder in your work station, press SHIFT ang right click and in contex menu -> "open command from here".
4. Now we have to install fist the framework-res (U have to do this only once for each rom!) by typing following command:
Code:
java -jar apktool.jar if framework-res.apk
5. For decompiling framework-res.apk:
Code:
java -jar apktool.jar d framework-res.apk
6. Now there should be a folder named "framework-res".
7. Navigate to framework-res\res\values\ and open colors.xml with a text editor and search for:
Code:
<color name="lockscreen_clock_background">#ff33b5e5</color>
<color name="lockscreen_clock_foreground">#ff33b5e5</color>
<color name="lockscreen_clock_am_pm">#ff33b5e5</color>
8. Now you can edit color with what ever U want. In my case it is ICS blue.
9. Save changes and navigate back to apktools root folder.
10. Now for compiling framework-res again open command as mentioned in 3. and type:
Code:
java -jar apktool.jar b framework-res
11. Compiled framework-res.apk should now be in \framework-res\dist\ (be patient...could take a few minutes)
12. Last but not least you have to sign framework-res.apk. I always sign apk's with Android Commander and never had any issues.
There are also two .zip's attached which can be used to flash framework-res via CWM. One for patched and one for original file (in the case there went something wrong).
Tested on Win7 64bit!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Very Nice! Which property changes the color of the date and "charging" text?
I believe I am supposed to get framework-res.apk from my ROM but I don't see it. Where do I find it?
Idyar said:
I believe I am supposed to get framework-res.apk from my ROM but I don't see it. Where do I find it?
Click to expand...
Click to collapse
/system/framework/...
Sent from my paranoid phone's mind
With the new KitKat update, Android uses black color as System background. In JellyBean,it used to be a png image which reside in framework/drawable folder. But in KitKat, png has been removed and now it uses solid black color. Here's a method to use custom image instead of black color.
1.Decompile framework-res.apk
2.Open drawable folder and find this xml file-
tw_background_holo_dark.xml
Click to expand...
Click to collapse
Replace this line-
Code:
with this-
Code:
[COLOR="Red"][/COLOR]
3.Now navigate to res\drawable-sw360dp-xhdpi (it may be xxhdpi for high-res devices)
4.Paste your custom png here and rename it to tw_background_holo_dark.png
5.Now recompile
6.Finally push META-INF and Android Manifest.xml in your compiled apk and then zip align it.
Here's a screenshot from my 4.4.2 TW KitKat ROM-
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi.
You are missing some info:
Replace this line-
with this-
What should I replace?
Thx
mannyvinny said:
With the new KitKat update, Android uses black color as System background. In JellyBean,it used to be a png image which reside in framework/drawable folder. But in KitKat, png has been removed and now it uses solid black color. Here's a method to use custom image instead of black color.
1.Decompile framework-res.apk
2.Open drawable folder and find this xml file-
Replace this line-
Code:
with this-
Code:
[COLOR="Red"][/COLOR]
3.Now navigate to res\drawable-sw360dp-xhdpi (it may be xxhdpi for high-res devices)
4.Paste your custom png here and rename it to tw_background_holo_dark.png
5.Now recompile
6.Finally push META-INF and Android Manifest.xml in your compiled apk and then zip align it.
Here's a screenshot from my 4.4.2 TW KitKat ROM-
Click to expand...
Click to collapse
You missed something I guess
Replace what with what????
Sent from my GT-S6810P using xda-developers.com, powered by appyet.com
Hello to all. I want to share the guide for lollipop animation tap.
Let's Go !
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1) Apktool or Advanced Apktool version 4.1.0 recommended.
2)Install your Framework-res.apk & TwFramework-res.apk
3)Decompile Framework-res.apk and go to res/drawable
4)Copy my xml on drawable
5)Copy my xml on drawable-sw360dp-xhdpi or xxhdpi or xxxhdpi
6)Copy the png on drawable sw360dp and Drawable-xhdpi or xxhdpi or xxxhdpi (Depend of your framework)
(The png working with all resolution)
7)Finish,Recompile the apk.
Thanks:
@Gabri™ @letalBladeTigre : http://letalbladetigre.wix.com/twl-inspiredrom
not working.
Its installation guide, okay?
drawable-sw360dp- folder in my case did not appear in the Framework
Casper1982 said:
not working.
Its installation guide, okay?
drawable-sw360dp- folder in my case did not appear in the Framework
Click to expand...
Click to collapse
See my photo. Impossible drawable sw360dp it's on all Framework-res.apk
I using CM11 4.4.4 by Quarx
But.... The folder drawable-sw360dp not appear in my framework-res.apk ...
I've decompiled several times, with different apk tools, and thus, is still missing ... is very rare it ..
I using tw don't know.
Casper1982 said:
I using CM11 4.4.4 by Quarx
But.... The folder drawable-sw360dp not appear in my framework-res.apk ...
I've decompiled several times, with different apk tools, and thus, is still missing ... is very rare it ..
Click to expand...
Click to collapse
i hope this can help ,
- skip folder drawable-sw360dp and drawable/tw_list_selector_holo_light.xml from source,.
- just merge drawable/frame_click.xml from source to folder drawable and also all .png from source (drawable-xhdpi).
- then open framework-res.apk/res/drawable/list_selector_holo_dark.xml and change this line (there are two lines)
Code:
android:drawable="@drawable/list_selector_background_transition_holo_dark"
to
Code:
android:drawable="@drawable/frame_click"
- save
done
qoejohn
i hope this can help ,
- skip folder drawable-sw360dp and drawable/tw_list_selector_holo_light.xml from source,.
- just merge drawable/frame_click.xml from source to folder drawable and also all .png from source (drawable-xhdpi).
- then open framework-res.apk/res/drawable/list_selector_holo_dark.xml and change this line (there are two lines)
Code:
android:drawable="@drawable/list_selector_background_transition_holo_dark"
to
Code:
android:drawable="@drawable/frame_click"
- save
done
Quote:
sorry my bad english
Click to expand...
Click to collapse
thanks... but not working
Casper1982 said:
thanks... but not working
Click to expand...
Click to collapse
check these http://forum.xda-developers.com/showpost.php?p=60314173&postcount=1
tested on me and work ..
Ripple Effects?
安卓小楼阁 不忘初心 感谢有你
This guide will help you activate "Round Icons" on your android device. Take note that round icon isn't provided by launcher but the app itself. Every app that supports round icon will provide two type of icons (normal and rounded), so what will we do is enabling using the round icon provided by OEM by change framework-res.apk in our devices.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Requirements:
- OxygenOS Open Beta 12 based on Android Nougat 7.1.1
- Custom ROM based on Android Nougat 7.1.1
- Must be rooted!
- Root Explorer
Navigate to this location: \root\system\framework\
Replace the current framework-res.apk file to the modified framework-res.apk which can be downloaded here.
Note: It is recommended to copy it from recovery, but you can also copy it directy via root explorer but your device will restart instantly
Last is clear the pixel launcher data
App Info -> Storage -> Clear Data
What I only did is I edited the \framework-res\res\values\bools.xml and change the value from
<bool name="config_useRoundIcon">false</bool>
to
<bool name="config_useRoundIcon">true</bool>
This will trigger the launcher to use the round icon of any apps that are supported.
DOWNLOAD: framework-res.apk
helandortega said:
This guide will help you activate "Round Icons" on your android device. Take note that round icon isn't provided by launcher but the app itself. Every app that supports round icon will provide two type of icons (normal and rounded), so what will we do is enabling using the round icon provided by OEM by change framework-res.apk in our devices.
Requirements:
- OxygenOS Open Beta 12 based on Android Nougat 7.1.1
- Custom ROM based on Android Nougat 7.1.1
- Must be rooted!
- Root Explorer
Navigate to this location: \root\system\framework\
Replace the current framework-res.apk file to the modified framework-res.apk which can be downloaded here.
Note: It is recommended to copy it from recovery, but you can also copy it directy via root explorer but your device will restart instantly
Last is clear the pixel launcher data
App Info -> Storage -> Clear Data
What I only did is I edited the \framework-res\res\values\bools.xml and change the value from
<bool name="config_useRoundIcon">false</bool>
to
<bool name="config_useRoundIcon">true</bool>
This will trigger the launcher to use the round icon of any apps that are supported.
DOWNLOAD: framework-res.apk
Click to expand...
Click to collapse
Thanks man!
Framework file not able to download.its download as .bin file not as .apk
Sent from my ONEPLUS A3003 using Tapatalk
@helandortega I replaced the framework apk on my op3 running OB12 and device got stuck at boot animation. Can you please share the flashable zip... Thanks
how did you decode framework-res.apk? I constantly get error message:
Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:52)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:559)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:72)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:64)
at brut.androlib.Androlib.getResTable(Androlib.java:67)
at brut.androlib.ApkDecoder.setTargetSdkVersion(ApkDecoder.java:193)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:102)
at brut.apktool.Main.cmdDecode(Main.java:166)
at brut.apktool.Main.main(Main.java:81)
Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)
at java.util.zip.ZipFile.read(Native Method)
at java.util.zip.ZipFile.access$1400(Unknown Source)
at java.util.zip.ZipFile$ZipFileInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at org.apache.commons.io.input.ProxyInputStream.read(ProxyInputStream.java:58)
at com.google.common.io.LittleEndianDataInputStream.readAndCheckByte(LittleEndianDataInputStream.java:223)
at com.google.common.io.LittleEndianDataInputStream.readUnsignedShort(LittleEndianDataInputStream.java:100)
at com.google.common.io.LittleEndianDataInputStream.readShort(LittleEndianDataInputStream.java:188)
at brut.util.DataInputDelegate.readShort(DataInputDelegate.java:49)
at brut.androlib.res.decoder.ARSCDecoder$Header.read(ARSCDecoder.java:542)
at brut.androlib.res.decoder.ARSCDecoder.nextChunk(ARSCDecoder.java:489)
at brut.androlib.res.decoder.ARSCDecoder.nextChunkCheckType(ARSCDecoder.java:500)
at brut.androlib.res.decoder.ARSCDecoder.readTableHeader(ARSCDecoder.java:72)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:47)
... 8 more
@helandortega any update for new beta ???
FIXED on the latest OB17 all the icons r rounded automatically
you will need just to change the icon pack from the homescreen settings