[Q] how to replace camera app ui - Android Q&A, Help & Troubleshooting

I want to theme camera app samsungcamera4 (S6) with samsungcamera6 (Note 7) just theme it to lookalike tutorial please (replace drawable file)

Related

[Added tutorial on customizing theme] HTC Theme customized, Apps with Windows 7 Icons

Hi I have customized the beautiful HTC Theme .
I will add proper credit , when I will get my pc back some time today
Change log
1. Wallpaper
2. Power menu icons
3. Lock screens
4.usb connection image
5. settings popup menu radio button style
6. Some more minor changes
I know these are not big changes but hope you guys are going to like it and if so please let me,know
HTC Customized
http://db.tt/PyUx23d
Thanks to benjy4537 : I have used the theme present in his ROM build 5 for lock screen, power menu , setting popup and usb connection icons.
Htc customize with honeycomb lock
http://db.tt/ttKHkUT
Thanks to Kyrillos : I have used the honeyComb theme present in his ROM v5.3 for lock screens (android, samsung , epic, puzzle ) and Gingerbread theme lock (Rotatory )
And Thanks to The Dark Lestat for the HTC theme
Screen shots. I will add some more screenshots later. Currently in office so limitted access.
Apps with windows 7 icons
1. Browser
2. Camera
3. Contacts
4. TochwizLauncher ( Home and Application icons changed)
Download From
http://db.tt/oFp2h5o
If anyone having problem in downloading from the above shared links then you can download this theme from the second post of below thread
http://forum.xda-developers.com/showthread.php?t=1035775
P.S Use "Download All Files" plugin from market ( its free ) to download files with stock browser. This plugin will allow you to download any file type. (it works with the stock browser only)
Sent from my GT-I5800 using XDA App
Tutorial on customizing theme
How to customize a Theme -
Here is a simple tutorial on how can you customize an already ported theme (I thought of customizing a theme beacuse I like some icons of one theme and some of another , then why not make a customized theme which is a mix of icons ( or you can say .pngs ) from different themes
What all you need
1. WinRar
2. Base theme which you want to customize
3. And all the themes using which you will be customizing your theme ( base theme )
Now
1. extract framework-res.apk of your base theme
2. extract framework-res.apk of another theme
3. Now check drawable-ldpi folder of the base theme and find out all the .pngs you want to change ( like battery , title bar , lock screen , network signal etc etc.)
4. Replace these icons with the icons of another theme
5. check drawable-mdpi of the base theme ( you will have to check this folder for android and rotatory locks ) and find out the icons you want to change.
6. Replace them with the icons of another theme.
7. Repeat step 1 to 6 for twframework-res.apk file and change the icons using another theme.
8. In the End open framework-res.apk ( and twframework-res.apk ) with winrar.
9. Add the modified folders ( drawable-ldpi or drawable-mdpi ) into framework-res.apk ( or twframework-res.apk) respectively.
This is what I have found (while customizing the HTC theme ). If anyone wants to add ( or modify ) some steps, feel free to do so.
Screenshots ?
Can you add white backgroud in notification (like orginal htc) instead of transparent because some notifications (for example from player pro have black or grey font color so they aren't visible)
marco871 said:
Can you add white backgroud in notification (like orginal htc) instead of transparent because some notifications (for example from player pro have black or grey font color so they aren't visible)
Click to expand...
Click to collapse
Actually the changes which I have done is on top of already ported HTC theme ported by The Dark Lestat. And personally i dont hve any idea about porting themes.. but will give a try to change the background of the notification bar.
Thanks..
Ok I'll write to Lestatious with this request maybe he modifies it in his theme
p_san_p said:
Mod Edit : Pls dont ask for the thanks button it is to be given by the member of his own free will the same has been removed
Sent from my GT-I5800 using XDA App
Click to expand...
Click to collapse
Please excuse my ignorance will take care from next time.
Sent from my GT-I5800 using XDA App
Hi,
Please let me know if you guys have tried this HTC customized theme .
Am able to see 260+ views to this thread but not a single reply mentioning if anyone tried this theme

[Guide] [Mod] How to make any gingerbread or cm7/cm9 status bar transparent

How to make any gingerbread or cm7/cm9 status bar transparent
Check my signature for all my statusbars including pre-made stock cm7/cm9 and Aosp statusbars and guides​
There's three ways to make the statusbar bar Transparent and I'll post them all
One way works with any gingerbread rom (deodex & rooted) and one with cyanogen 7
I have not tried it on ics or jelly bean but you can try (for people who stumble across this thread who are not galaxy y users)
Please dont ask for support unless you are using a custom rom on galaxy y
Any other phones please goto your own phone forum for support
You also need a launcher that is capable of transparency
Adw works but you need to disable wallpaper hack in settings
holo launcher works
any other launcher if it doesn't work look in it's settings & try & disable wallpaper hack or manage internally
Method one for non cm (Stock Deodex Rom)
You need apk tool installed - if you don't know how to use it see my guide here
http://forum.xda-developers.com/showthread.php?t=2206938
Once you have decompiled SystemUI.apk using apk tool goto res/layout Open status_bar.xml in notepad
Find the following line
Code:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" [COLOR="Red"]android:background="#ff000000"[/COLOR] android:focusable="true" android:descendantFocusability="afterDescendants"
Notice the part highlighted in red android:background is normally a hexadecimal value or it could be a drawable value
either way change the red part to the following
Code:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" [COLOR="Red"]android:background="@drawable/nameofpng" [/COLOR]android:focusable="true" android:descendantFocusability="afterDescendants"
Notice that android:background is now a drawable value
Change nameofpng to the name of your transparent background image (just the name - do not include the file extension .png)
place this image with the same name as the drawable value in res/drawable-ldpi
(of course other devices might be in mdpi or hdpi)
Recompile and sign apk
Put in a flashable zip and flash with system mounted
You can download and use the pngs in the attachment (for ldpi like galaxy y) or create your own
To create a transparent status bar image just take a non Transparent one and edit it in a photo application to make it Transparent (make sure image dimensions stay the same and is for your phone resolution)
Method two for cm7
Note you will need apk tool installed and notepad++ installed
Download the patcher tool by Z25 in attachment
Unzip the contents to a folder
Place your SystemUI.apk and framework-res.apk in files_to_patch
Run patcher.bat
Select status bar tweaks and enable only transparent status bar
Edit the smali file as described in the text file that pops up
Select option build and sign
Select option to create zip files
You now have a zip file called patch.zip
unzip this and take out the SystemUI.apk - we will save this for later
Now we have to either make our own transparent theme or you can download a theme from the playstore for theme chooser that already contains status bar transparency
If you are downloading a theme from the playstore skip the part "To create your own theme" and go straight to the part "final steps"
To create your own theme
Goto uot kitchen http://uot.dakra.lt/kitchen
Take cyanbread.apk from the app folder of your cm7 rom & place on pc (or any other Theme Chooser Theme you wish to make transparent)
Rename it to what you want to call theme
Upload it to kitchen (under cm7 theme in file upload)
In status bar tweaks set background transparency to around 70% Transparent and any other settings you need like carrier or footer - don't forget to generate preview once done
Make sure you have selected ldpi in statusbar tweak settings and ldpi/mdpi for theme chooser preview in file upload (other devices may vary) and in file upload change update binary to galaxy
Then goto summary section
If everything is green create the theme
If not make sure you have clicked generate preview on status bar tweaks
Kitchen will then create theme for you
Download the zip file from kitchen and unzip it
Take out your theme apk
Final Steps
Sign both your theme apk and SystemUI.apk that you saved from earlier with a platform key using zipsigner (playstore)
Put both apks in a flashable zip and flash in cwm with system mounted
(note if you are using a theme from the playstore just do this for SystemUI.apk)
Once the phone has booted goto
ADWLauncher
System Preference
Disable Wallpaper Hack (untick the box)
Your status bar is now transparent
Method three for cm9
Once you have decompiled SystemUI.apk with apktool
Goto smali/com/android/systemui/statusbar/StatusBar.smali
Find the following line
Code:
invoke-direct/range {v11 .. v16}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
Above this line change
Code:
const/16 v16, 0x4
To the following
Code:
const/16 v16, -0x3
Now in notepad++ open the following
res/values/drawables.xml
Find the following line
Code:
<item type="drawable" name="status_bar_background">#ff000000</item>
Change the hex value to the hex value of the colour/transparency you want
For example
Completely transparent:
Code:
<item type="drawable" name="status_bar_background">#00FFFFFF</item>
70% transparent
Code:
<item type="drawable" name="status_bar_background">#b3000000</item>
50% transparent:
Code:
<item type="drawable" name="status_bar_background">#7f000000</item>
Recompile
Sign with a platform key using zipsigner (playstore)
Put in a flashable zip and flash in cwm with system mounted
What is the name for the png to put in drawable-ldpi?
Re: [Guide] [Mod] How to make any gingerbread or cm7 status bar transparent
remo1995 said:
What is the name for the png to put in drawable-ldpi?
Click to expand...
Click to collapse
You can rename it to ur own like
Jst open statusbar.xml in layout folder and on 2nd line u will find an attribute android;background change the file u want to add next to drawable/xx folder and put that file in ur drawable ldpi folder
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Reporting from incomplete blue theme
Status-paused
framework-working
remo1995 said:
What is the name for the png to put in drawable-ldpi?
Click to expand...
Click to collapse
Name it the name of the @drawable value
In my example it's nameofpng
Re: [Guide] [Mod] How to make any gingerbread or cm7 status bar transparent
Great guide :thumbup:
Sent from my GT-S5360 using xda app-developers app
Thank you, but when I go to recompile the file gives me error
remo1995 said:
Thank you, but when I go to recompile the file gives me error
Click to expand...
Click to collapse
what rom are you using?
decompile then recompile the apk without making any changes - if it compiles correctly you know you have edited the xml file wrong or not placed the corresponding png in the drawable folder
if it still gives errors without you making changes then either you are using apk tool wrong or the apk has other errors from the orig source
marcussmith2626 said:
what rom are you using?
decompile then recompile the apk without making any changes - if it compiles correctly you know you have edited the xml file wrong or not placed the corresponding png in the drawable folder
if it still gives errors without you making changes then either you are using apk tool wrong or the apk has other errors from the orig source
Click to expand...
Click to collapse
I use the cod rom and I'm trying to change the systemUI of marinalin85, the bar s3 style android 4.2.2
remo1995 said:
I use the cod rom and I'm trying to change the systemUI of marinalin85, the bar s3 style android 4.2.2
Click to expand...
Click to collapse
No reason why it shouldn't work - make sure you have loaded SystemUI.apk and framework-res.apk into apktool using the apktool if command
Make sure all your apk tool commands are correct I'll post a guide on it soon
marcussmith2626 said:
No reason why it shouldn't work - make sure you have loaded SystemUI.apk and framework-res.apk into apktool using the apktool if command
Make sure all your apk tool commands are correct I'll post a guide on it soon
Click to expand...
Click to collapse
to compile and decompile it does! the file does not work gives me forced closure! I made you those passages
Apk tool guide added see http://forum.xda-developers.com/showthread.php?t=2206938
remo1995 said:
to compile and decompile it does! the file does not work gives me forced closure! I made you those passages
Click to expand...
Click to collapse
Follow my apk tool guide I just posted - I can assure you if you follow all my guides correctly and Fully you will not get force closes - I have made many status bars using this method
Decompile my SystemUI.apk from my status bar thread so you can compare the line for the statusbar background in status_bar.xml with yours
If you get errors when you decompile the apk it means the apk was wrongly compiled to begin with and apk tool can't decompile it correctly - you will need to correct any errors that are in the original apk before you can recompile
how can i make launcher compatible with transparency like TW launcher?
Sent from my GT-S5360 using Tapatalk 2
iMaker said:
how can i make launcher compatible with transparency like TW launcher?
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Some launchers do not support transparency
if it doesn't work and there is no option to disable wallpaper hack or manage internally in the launcher settings or something similar you will need to use a different launcher if you want transparency
even in go launcher it still wont have transparency
Sent from my GT-S5360 using Tapatalk 2
iMaker said:
even in go launcher it still wont have transparency
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
I don't think go launcher supports transparency
launchers that definitely do are
holo launcher
adw launcher (disable wallpaper hack in settings)
Added a zip of the full and semi transparent png images for people to use themselves with the guide
off topic question sir, how did you move the jellybean clock and date above toggle bar?
joelquerty said:
off topic question sir, how did you move the jellybean clock and date above toggle bar?
Click to expand...
Click to collapse
By placing <com.android.systemui.statusbar.policy.DigitalClock with the corresponding ids and smali files under the relative layout in status_bar_expanded.xml above the line for toggles
marcussmith2626 said:
By placing <com.android.systemui.statusbar.policy.DigitalClock with the corresponding ids and smali files under the relative layout in status_bar_expanded.xml above the line for toggles
Click to expand...
Click to collapse
can you plzz give me the link of tutorial. i searched in google and xda but i could'nt find it... thank you

NotificationCenter Collection [Vibe 4.3][Post Your HomeScreen]**BE APPROPRIATE**

NOTE FROM THE MODERATOR:
PLEASE BE CONSIDERATE ABOUT THE VARIETY OF AUDIENCES AND POST ONLY APPROPRIATE IMAGES
I think UI from original not enought good , So i always looking for some design for mod UI & now i combine from concept credit : @Zdune Apent thanks & i mod again new icon for ui , toggles icon mod by my self & got inspiration from Themes CyanCobalt Cyanogen.
& now we can share to this thread together if you find any new design or modding NotificationCenter the others
Anyways, here are mine:
- New Icon UI
- New Widget Toggles
- Transparent Panel Background
[ All I Combine to 1pack UI ]
installation manual [use root explore or the other root file manager] :
download the file from here
http://www.4shared.com/zip/eVLuvP9oce/NC_NewDesignUI_NovaNFernando.html
Extract files put to your sdcard then copy or move to system/media & rename it to NotificationCenter.apk & framework-res.apk set permission to rw-r-r , after that cut/move :
*system>>app for NotificationCenter.apk.
( After replace you can delete NotificationCenter.odex >> REMEMBER TO BACK UP THE FILES TO YOUR SDCARD FIRST )
*system>>framework for framework-res.apk
Reboot & Enjoy :good:
Notification Center with true icon Mod
Now New UI with true icon mod Lenovo K900 for Vibe 4.3
Sent from my Lenovo K900 using xda premium
nicholas88 said:
View attachment 2720106
Sent from my Lenovo K900 using xda premium
Click to expand...
Click to collapse
Great UI, can you share it with us?
Thanks.
Sent from my Lenovo K900 using XDA Premium 4 mobile app
u can download from here
for framework
https://mega.co.nz/#!Q1xiHTyI!l8ELkg8Pq-EmqZUan0FrQb9j0UJg6_8eN0rLlZLUKvk
for nc ui
https://mega.co.nz/#!ohwHFKYR!nilNSGTXPEl9ZA8TztmJwX0QQ88Jvzk_AZpyC2_SeCQ
how to install
use root explore manualy
first rename file to fremework-res.apk n NotificationCenter.apk then copy two files to system/media set permision rw-r-r then cut first NotificationCenter.apk to system/app (delete odex file NotificationCenter) n cut fremework-res.apk to system/framework --- reboot
remember always backup your file before replacing.
Thanks
Sent from my Lenovo K900_ROW using xda premium
nicholas88 said:
NOTE FROM THE MODERATOR:
PLEASE BE CONSIDERATE ABOUT THE VARIETY OF AUDIENCES AND POST ONLY APPROPRIATE IMAGES
I think UI from original not enought good , So i always looking for some design for mod UI & now i combine from concept credit : @Zdune Apent thanks & i mod again new icon for ui , toggles icon mod by my self & got inspiration from Themes CyanCobalt Cyanogen.
& now we can share to this thread together if you find any new design or modding NotificationCenter the others
Anyways, here are mine:
- New Icon UI
- New Widget Toggles
- Transparent Panel Background
[ All I Combine to 1pack UI ]
installation manual [use root explore or the other root file manager] :
download the file from here
http://www.4shared.com/zip/eVLuvP9oce/NC_NewDesignUI_NovaNFernando.html
Extract files put to your sdcard then copy or move to system/media & rename it to NotificationCenter.apk & framework-res.apk set permission to rw-r-r , after that cut/move :
*system>>app for NotificationCenter.apk.
( After replace you can delete NotificationCenter.odex >> REMEMBER TO BACK UP THE FILES TO YOUR SDCARD FIRST )
*system>>framework for framework-res.apk
Reboot & Enjoy :good:
Click to expand...
Click to collapse
Good 5*
Great job!!!!!
So is it compatible with v8 qubex rom?
This link dead.....???? :crying:
How to downlad bro your link download for farmwork... But i not find your files...and for notification center is work....:good:, know i needed for farmewrok...please help

[Q] change the background Toggle the status bar notifications

Hi
Very please help
The rom 4.1.2 I could using winrar for simple to change png to another png
Now I'm on 4.4.2 (DittoNote 5.2).
I want to change the png (tw_quick_panel_quick_setting_button_bg_normal.9 ???)
I think it is png a background toogles
I change my png i using winrar but nothing changes.
It is still the old png and no new png.
For what is this happening?
png's ending with 9 are not ordinary png's, they are 9-patch png's and in order to edit them you must DECOMPILE the APK, edit and then RECOMPILE. Anyway, simple adding with winRAR is nota good idea if you don't do ZIPALIGN because it slows down the reading of images....
Ah, and why post a question in app section, isn't Q&A more logical choice?
So I should do this in the Q & A - my mistake.
Ok thanks for the information.
delanik - this is just an example:
I'm trying to change the png in Note 5.2 Ditto 4.4.2
Is the file is tw_quick_panel_quick_setting_button_bg_normal.9 is background switches?
I exchange tw_quick_panel_quick_setting_button_bg_normal.9 another png
with another theme rom Note 2 but nothing has changed.
As I said - pngs with 9 at the end CAN'T be edited without recompiling. Use APKTOOL to decompile APK, then edit, then RECOMPILE. Then from recmpiled APK, copy PNGs (or whole res\drawable folder) to original APK.
If it doesn't change (and it should even when you don't do recompile - it should show BAD image) then you are not editing correct image.
Thank you very much dalanik
I SystemUi decompile framework-res.apk and now the rom DN4 v2.
It will be very difficult for me because there is a lot of files QMG
There is no custom QMG files (icons, button ....) in other roms or themes
to replace them in my rom DN4 v2

[MOD] Change apps' icons - system and user apps everywhere

Hello,
i'd like to share instructions for a mod that lets you use custom images (.png) as icons for apps system-widely (in recents menu, in launchers, included One UI home) in stock-based samsung roms.
This works fine on Android Pie 9 rom (it might work also on Android 10 Q if the engine hasn't changed).
Story:
I was searching a way to get rid of adaptive icons (i hate small icons inside white circles, i simply can't find my apps) and get back freeform legacy icons. Unfortunately OneUI home launcher does not allow custom icons, while using third-paty launchers only lets you change icons on the launcher side and not in the whole android system.
Samsung has created a great theme engine but they like to protect their things from personal use too (seriously: who's still making money from theming nowadays?).
Basis:
You need to edit the theme_app_icons.xml file in framework-res.apk from system/framework folder and the only way I found is by replacing framework-res.apk with a modded one (ROOT needed).
I made several attempts to create a working overlay (root-less) for this particular file in framework-res but it seems that strangely this file cannot be overlayed using the Resource Overlay framework (Samsung restrictions? So far it seems that other themers could not find a way, too).
So, for ROOT-LESS users, you can only customize predefined samsung/google apps icons (apps listed in theme_app_icons.xml).
INSTRUCTIONS:
1) decompile framework-res.apk (i used TickleMyandroid https://forum.xda-developers.com/showthread.php?t=1633333)
2) go to decompiled res/xml folder, open and edit theme_app_icons.xml adding new entries for the apps you want. For editing you can use Notepad++, avoid Windows notepad.
You need to add the package name of the app and an ic_xxxxxx custom icon name you'll use later.
For example, if you want to customize the icon of the XDA app you'll add this line:
Code:
<ThemeApp className="com.xda.labs" iconId="ic_xda" />
3) save, recompile (for recompilation errors you need to look in the error log and delete duplicate entries in styles.xml similarly to what is described here https://forum.xda-developers.com/showpost.php?p=78541190&postcount=838 )
Then drag and drop the theme_app_icons.xml FROM the recompiled apk TO the original framework-res.apk, because if you use directly the recompiled apk you might have bootloop (apktool problem with res folders, happens also for other system apks)
4) now -directly replace- or -system-lessly replace using a Magisk module- the framework-res.apk with the modded one and reboot
5) Open the Galaxy Theme store, download a random icon pack but DO NOT APPLY IT, export the apk (you can find it in data/app folder), decompile it and replace and add icons in res/drawable-xxxxdpi folder with your custom PNG icons (you can also replace default .qmg files with .png ones).
Now recompile the modded icon pack apk and replace the downloaded one on the phone with the recompiled pack
(you can A- directly install it over the original one if you have the "Core Patch" edxposed module/Smali patcher signature mod magisk module or B- uninstall the original pack using the terminal command "pm uninstall packagename" and immediately install the recompiled one.
The same concept can be used to install custom themes, for example these or using the "Custom Themes Installer for OneUI Pie" app )
6) Finally apply the icon pack using Galaxy theme store and you are done.
{
"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"
}
(my freeshape/touchwiz style drawer)
NOTES:
-The modded icon pack might disappear from the personal list in Galaxy theme store after a reboot, but the icons will stay there (and also the installed icon package).
-Every app still has its legacy icon in res/mipmap folders, so you can extract and use it in your icon pack
- you can adjust the icon size using the "icon_scale_size" integer inside the icon pack (max 100)
Hope you enjoy, i've been experimenting a lot during this lockdown time. I'll try also to answer the questions and give help.
This looks promising! is there anyway that the icon shape can be changed too?
Archmag3 said:
This looks promising! is there anyway that the icon shape can be changed too?
Click to expand...
Click to collapse
Thanks,
Do you mean this ? :
https://source.android.com/devices/tech/display/adaptive-icons#implementation
I have tried everything and any 3rd app and nothing worked (hex themed part of the apps) , coffee app doesn't work at all , hope this method will work on Android 10 , will try later.
ninestarkoko said:
Thanks,
Do you mean this ? :
https://source.android.com/devices/tech/display/adaptive-icons#implementation
Click to expand...
Click to collapse
Yes, more or less on those lines. I personally hate the squarecicle icons, can something like rounded rectangle be achieved? something that miui, huawei etc has
ninestarkoko said:
Hello,
i'd like to share instructions for a mod that lets you use custom images (.png) as icons for apps system-widely (in recents menu, in launchers, included One UI home) in stock-based samsung roms.
This works fine on Android Pie 9 rom (it might work also on Android 10 Q if the engine hasn't changed).
Story:
I was searching a way to get rid of adaptive icons (i hate small icons inside white circles, i simply can't find my apps) and get back freeform legacy icons. Unfortunately OneUI home launcher does not allow custom icons, while using third-paty launchers only lets you change icons on the launcher side and not in the whole android system.
Samsung has created a great theme engine but they like to protect their things from personal use too (seriously: who's still making money from theming nowadays?).
Basis:
You need to edit the theme_app_icons.xml file in framework-res.apk from system/framework folder and the only way I found is by replacing framework-res.apk with a modded one (ROOT needed).
I made several attempts to create a working overlay (root-less) for this particular file in framework-res but it seems that strangely this file cannot be overlayed using the Resource Overlay framework (Samsung restrictions? So far it seems that other themers could not find a way, too).
So, for ROOT-LESS users, you can only customize predefined samsung/google apps icons (apps listed in theme_app_icons.xml).
INSTRUCTIONS:
1) decompile framework-res.apk (i used TickleMyandroid https://forum.xda-developers.com/showthread.php?t=1633333)
2) go to decompiled res/xml folder, open and edit theme_app_icons.xml adding new entries for the apps you want. For editing you can use Notepad++, avoid Windows notepad.
You need to add the package name of the app and an ic_xxxxxx custom icon name you'll use later.
For example, if you want to customize the icon of the XDA app you'll add this line:
Code:
<ThemeApp className="com.xda.labs" iconId="ic_xda" />
3) save, recompile (for recompilation errors you need to look in the error log and delete duplicate entries in styles.xml similarly to what is described here https://forum.xda-developers.com/showpost.php?p=78541190&postcount=838 )
Then drag and drop the theme_app_icons.xml FROM the recompiled apk TO the original framework-res.apk, because if you use directly the recompiled apk you might have bootloop (apktool problem with res folders, happens also for other system apks)
4) now -directly replace- or -system-lessly replace using a Magisk module- the framework-res.apk with the modded one and reboot
5) Open the Galaxy Theme store, download a random icon pack but DO NOT APPLY IT, export the apk (you can find it in data/app folder), decompile it and replace and add icons in res/drawable-xxxxdpi folder with your custom PNG icons (you can also replace default .qmg files with .png ones).
Now recompile the modded icon pack apk and replace the downloaded one on the phone with the recompiled pack
(you can A- directly install it over the original one if you have the "Core Patch" edxposed module/Smali patcher signature mod magisk module or B- uninstall the original pack using the terminal command "pm uninstall packagename" and immediately install the recompiled one.
The same concept can be used to install custom themes, for example these or using the "Custom Themes Installer for OneUI Pie" app )
6) Finally apply the icon pack using Galaxy theme store and you are done.
View attachment 4989669 (my freeshape/touchwiz style drawer)
NOTES:
-The modded icon pack might disappear from the personal list in Galaxy theme store after a reboot, but the icons will stay there (and also the installed icon package).
-Every app still has its legacy icon in res/mipmap folders, so you can extract and use it in your icon pack
- you can adjust the icon size using the "icon_scale_size" integer inside the icon pack (max 100)
Hope you enjoy, i've been experimenting a lot during this lockdown time. I'll try also to answer the questions and give help.
Click to expand...
Click to collapse
This is interesting. I just found that theme_app_icons.xml and tried to make an overlay to target it and failed. Then do a bit research lead me to this post. But I still want to find out why the overlay method didn't work. So could you share your steps and method that you use to overlay target that xml? I have a thinking that maybe the level of priority of the overlay is the issue.
well theres 2 minutes im not getting back. -_-
osuki9x said:
This is interesting. I just found that theme_app_icons.xml and tried to make an overlay to target it and failed. Then do a bit research lead me to this post. But I still want to find out why the overlay method didn't work. So could you share your steps and method that you use to overlay target that xml? I have a thinking that maybe the level of priority of the overlay is the issue.
Click to expand...
Click to collapse
I simply edited one of the stock overlays you can find in /vendor/overlay folder. Tried fiddling a bit but was unsuccessful.
Please let me know if you find a solution (as far as i know not even professional themers so far have found the right way)
ninestarkoko said:
Hello,
i'd like to share instructions for a mod that lets you use custom images (.png) as icons for apps system-widely (in recents menu, in launchers, included One UI home) in stock-based samsung roms.
This works fine on Android Pie 9 rom (it might work also on Android 10 Q if the engine hasn't changed).
Story:
I was searching a way to get rid of adaptive icons (i hate small icons inside white circles, i simply can't find my apps) and get back freeform legacy icons. Unfortunately OneUI home launcher does not allow custom icons, while using third-paty launchers only lets you change icons on the launcher side and not in the whole android system.
Samsung has created a great theme engine but they like to protect their things from personal use too (seriously: who's still making money from theming nowadays?).
Basis:
You need to edit the theme_app_icons.xml file in framework-res.apk from system/framework folder and the only way I found is by replacing framework-res.apk with a modded one (ROOT needed).
I made several attempts to create a working overlay (root-less) for this particular file in framework-res but it seems that strangely this file cannot be overlayed using the Resource Overlay framework (Samsung restrictions? So far it seems that other themers could not find a way, too).
So, for ROOT-LESS users, you can only customize predefined samsung/google apps icons (apps listed in theme_app_icons.xml).
INSTRUCTIONS:
1) decompile framework-res.apk (i used TickleMyandroid https://forum.xda-developers.com/showthread.php?t=1633333)
2) go to decompiled res/xml folder, open and edit theme_app_icons.xml adding new entries for the apps you want. For editing you can use Notepad++, avoid Windows notepad.
You need to add the package name of the app and an ic_xxxxxx custom icon name you'll use later.
For example, if you want to customize the icon of the XDA app you'll add this line:
Code:
<ThemeApp className="com.xda.labs" iconId="ic_xda" />
3) save, recompile (for recompilation errors you need to look in the error log and delete duplicate entries in styles.xml similarly to what is described here https://forum.xda-developers.com/showpost.php?p=78541190&postcount=838 )
Then drag and drop the theme_app_icons.xml FROM the recompiled apk TO the original framework-res.apk, because if you use directly the recompiled apk you might have bootloop (apktool problem with res folders, happens also for other system apks)
4) now -directly replace- or -system-lessly replace using a Magisk module- the framework-res.apk with the modded one and reboot
5) Open the Galaxy Theme store, download a random icon pack but DO NOT APPLY IT, export the apk (you can find it in data/app folder), decompile it and replace and add icons in res/drawable-xxxxdpi folder with your custom PNG icons (you can also replace default .qmg files with .png ones).
Now recompile the modded icon pack apk and replace the downloaded one on the phone with the recompiled pack
(you can A- directly install it over the original one if you have the "Core Patch" edxposed module/Smali patcher signature mod magisk module or B- uninstall the original pack using the terminal command "pm uninstall packagename" and immediately install the recompiled one.
The same concept can be used to install custom themes, for example these or using the "Custom Themes Installer for OneUI Pie" app )
6) Finally apply the icon pack using Galaxy theme store and you are done.
View attachment 4989669 (my freeshape/touchwiz style drawer)
NOTES:
-The modded icon pack might disappear from the personal list in Galaxy theme store after a reboot, but the icons will stay there (and also the installed icon package).
-Every app still has its legacy icon in res/mipmap folders, so you can extract and use it in your icon pack
- you can adjust the icon size using the "icon_scale_size" integer inside the icon pack (max 100)
Hope you enjoy, i've been experimenting a lot during this lockdown time. I'll try also to answer the questions and give help.
Click to expand...
Click to collapse
I installed an icon pack from galaxy themes store, but the only thing I see in data/app folder is SystemUI.apk, Is it supposed to be SystemUI.apk? what am I missing?

Categories

Resources