Requirements:
1.root explorer
2.battery,wifi,signal,and data icons
3.brain
Lets start
1.open root explorer/system/app/ and copy
SystemUI.apk to ur sdcard (this is ur back up)
2.go to system/app and extract your
systemUI.apk and Go to extracted.
3.Tap the SystemUI folder and go to res/
drawable mdip. find the wifi,signal and data
you like to change.
4.Rename ur new icon to original name like
this>
stat_sys_signal_1.png
stat_sys_signal_2.png
stat_sys_signal_3.png
stat_sys_signal_4.png
stat_sys_signal_1_fully.png etc.
stat_sys_wifi_1.png etc. (or the name of ur
orig icon in res/drawable mdip)
5.after u rename all of .pngs paste it to res/
drawable mdip and replace.
6.zip your systemui folder and rename it to
SystemUI.apk
7.Move or Copy ur new SystemUI.apk to /
System and change the permission to r-w-r-r
and move it again to System/app then reboot.
u will see your new signal,data,wifi icon
If ur battery icon was not in res/drawable
mdip
it is in framework. just dont the same
procedure above. Happy Modding
Related
things you'll need
APK MANAGER
7zip
DESCRIPTION :
Q : Basic
A : The icons are stored in the Drawable-mdpi folder in the framework.
these icons are linked to XML's in Drawable folder
if you just add the icons and don't change the xml, you'll get nothing.
Q : Why Cant we just Edit the XML files?
A : The XML files are encrypted. if you try to edit it you will get weird characters.
Q : No XML No Edits, Are we Done?
A : Yes, No XML No Edits. But we've a walkaround. The APK MANAGER
it decompiles the apk and unencrypts the xml file.
BASIC :
Extract the contents of APK MANAGER to any folder
you'll have few folders
place your apk in the place-apk-here-for-modding folder
open Script.bat
and chose option to decompile and minimize
it will create a folder namely PROJECTS
now you can edit the xml files
after your done, maximize the apkmanager window and choose comiple apk
HOW TO ADD MORE PNGS :
if you want to add pngs like the battery percentage you'll need to link the png to the xml file
this can be done by two ways
1. assigning resource_id
&
2. directly putting in the names
the 1st method is easy but complex so forget it
the second method is simpler.
just find the xml file corresponding to the png and than simply add the name.
for eg.
stat_sys_battery.xml is the battery status xml.
<item android:drawable="@drawable/stat_sys_battery_0" android:maxLevel="0" />
Click to expand...
Click to collapse
here the
android:drawable is the android code
and
@drawable/stat_sys_battery_* is the file location
check the attachment for better understanding
Click to expand...
Click to collapse
THE PROBLEM & THE SOLUTION :
if you try to edit any modded framework file you'll get error while compiling.
and your phone will hang if you use that file.
SOLUTION
instead of using modded file. use the STOCK framework. Edit your files and compile your apk
now when you compile it, it will give you few options
1. is it a system file [y/n]
choose yes
2. (...blah blah.. do you wish to keep files)
choose yes
now it will extract the stock (unedited) framework in a KEEP folder
minimize the window
open the folder and delete all the files you modified.
if you had modified xml file you'll also need to delete resources.asrc
now maximize the apkmanager window and press any key.
your modded apk will be compiled in the place-apk-here-for-modding folder
PS : IT WOULD BE UNSIGNED
LAST STEP :
open the compiled unsigned apk and extract all the files you edited (including resources.asrc)
simply replace these files in the framework-res.apk you wanted to mod
only part to take care is the resources.asrc file you don't have to replace it directly
do this steps for replacing resources.asrc
1. right click the resources.asrc
2. select add to archive
3. archive format zip
4. compression method Store
5. select the path of your framework-res.apk
I know this all seems way to complex but if you read carefully and do it step by step, its all easy as a PIE
Use X-Plore file manager
(Root access is required)
First backup your original apk file.
Instructions:
1- Open an app as zip file
2- go to res\drawable-hdpi\ folder or other folders
3- find icon.png in this folder
4- then Go to the second section in the browser (on the screenshot)
5- find the png file which is your new icon.
6- Rename it "icon.png" and mark.
7- Then copy it and write over old one.
8- Done
Note:The new apk file is not signed so you can't install it like a normal installation.
So you can push it to the system\app folder (Root access is required)
For KitKat users here is some files for better UI look
- Icons
- lg_dockmenu_ic_allapps : ( root required )
1. decompile your LGHome.apk
2. find png icon " lg_dockmenu_ic_allapps " and replace with new (keep png name from apk )
3. recompile LGHome.apk
4. put in system/private app (replace old) , set permissions to rw- r– r
5. reboot
Hi have the problem with bootloop after overwrite framework-res.apk to /system/framework
use apktool2.2.2
phone note 3 with phronesis rom
I made
1.apktool if framework-res.apk (0 error)
2. decompile apktool d framework-res.apk (0 errors)
3. changed color.xml and styles.xml (only changed color text)
4. from orginal framework-res.apk drag resources.arsc to decompiled folder
5.make re-compile (apktool b framework-res) (0 errors) after this, program created new folder BUILD and DIST, in /build/apk/is META-INF, android manifest,RES folder and resources.arsc
Now i tried ( with tutorials ) drag from orginal framework-res.apk, folder META-INF, AndroidManifest.xml to BUILD folder and recompile second time (0 errors) then, from DIST folder i took framework-res.apk and overwrite to phone/system/framework and reboot = bootloop
Also trying after 1st re-compile, drag META-INF and androidmanifest.xml from orginal framework-res to newly recomplied framework-res.apk in DIST folder, again overwrite in phone/system/framework but still bootloop
before overwrite make permission rw-r--r- the same permisson of orginal framework-res.apk
then overwrited my apps example touchwiz, google play has stopped, reboot but unfortunately booloop
Also i tried push framework-res.apk through adb normal but cant do this, acces permission failed, and during recovery mode, but file not changed
Who can help ?
Hello
I need to remove the access to status bar permanently in android Oreo but its visible and can see it(Samsung j7core - android 8)(Apktool 2.3.3).
I follow from this post and this one :
My steps is:
1- adb pull /system/priv-app/SystemUI/SystemUI.apk
2- adb pull /system/framework/framework-res.apk
3- apktool if framework-res.apk
4- apktool if SystemUI.apk
5- apktool d SystemUI.apk
6- Open SystemUI\res\layout\status_bar.xml and add android:clickable="false" to the top most xml element
7- Open xhdpi folder and replace the corrupt pip_dismiss_scrim.9.png file with the file on the top of my post link
8- run apktool b SystemUI
9- Go to SystemUI\original and copy AndroidManifest.xml and META-INF to SystemUI\build\apk\
10- run apktool b SystemUI again
11- Go to SystemUI\dist\ and override the device's original SystemUI.apk with the one at SystemUI\dist\SystemUI.apk with adb push SystemUI\dist\SystemUI.apk /system/priv-app/SystemUI/SystemUI.apk
12- change the permissions of SystemUI.apk
13- reboot device
14- see result >>> failed > the status bar and nav bar are lost ! cant see both of them
I do this steps on android 6 and worked perfectly .
Which step is wrong or must be do ?
please help ...
Many thanks.