How to Decompile SystemUI.apk and make Modifications !! (For Windows OS)

Search This thread

Mach5

Senior Member
Nov 30, 2013
341
121
Delhi
Okay! I took much time surfing all over the net to find this and finally I got the Perfect solution for people who are beginners(n00b)

If you try to decompile directly it won't work(not atleast for Core but only for some devices), so here we go

Things you will need:

APKTOOL

Script

Rooted Core

Root Browser (or something similar)

Make sure you have Java SDK installed in pc.

Notepad++ or a decent xml editor


Preparation :

1)Copy these two apks' in sd card or somewhere you can access it from pc.

system\framework\"framework-res.apk"
and
system\app\"SystemUI.apk"

2)Copy these two apk in your computer system

3)Extract APKTOOL and Script until you get "aapt.exe", "apktool.bat", "apktool.jar" .

4) Make a new folder anywhere in your comp. and paste these
(i) framework-res.apk
(ii) SystemUI.apk
(iii) aapt.exe
(iv) apktool.bat
(v) apktool.jar
(vi) You also need to paste "cmd.exe", use Run command to find it and paste it in the folder...


Steps:

(i) Open cmd.exe, it should show the location of the current folder

(ii) Type
Code:
apktool if framework-res.apk

(iii) After it is done, Type
Code:
apktool d SystemUI.apk

(iv) Now you successfully have SystemUI.apk decompiled in the same folder !!!


Precautions:

i) Ensure you have not "CUT" but "COPIED" the apks from the folder, this can HARD BRICK your phone !

ii) Decompiling apks' takes time according to one's pc's speed, have patience.

iii) Please do not try to decompile or play with framework-res.apk in anyway if you are not experienced !

iv)And as thcoreguy says
No nuclear war is going on!


Checked and tested:
*I have used win7 64-bit SONY laptop

*Worked for I8262 and SHOULD work for I8260 (the files)


Acknowledgements

@Brut.all for making apktool
connor.tumbleson for uploading files

@thecoreguy for making root tutorial

People who made XDA forum possible

Samsung for making Core

You for reading this

Me(ofcourse) for creating this :p

Press Thanks if you also achieved to decompile this!
 
Last edited:

zrox

Senior Member
Jun 20, 2013
204
45
...now i hve only greenify and lockscreen for xposed...
 

Attachments

  • 1393420005874.jpg
    1393420005874.jpg
    22.4 KB · Views: 545

fire7ly

Member
Apr 16, 2021
25
9
India
fire7ly.github.io
hello guys im decompile settings app of official Realme C3 Realme Ui 1.0 Android 10..
im use framework and settings app to decompile using apktool..
D:\Working Projects\dex-tools-2.1-SNAPSHOT>apktool d -f Settings.apk I: Using Apktool 2.6.0 on Settings.apk I: Loading resource table... I: Decoding AndroidManifest.xml with resources... I: Loading resource table from file: C:\Users\Fire7ly\AppData\Local\apktool\framework\1.apk I: Regular manifest package... I: Decoding file-resources... I: Loading resource table from file: C:\Users\Fire7ly\AppData\Local\apktool\framework\12.apk I: Decoding Shared Library (oppo), pkgId: 12 I: Decoding values */* XMLs... I: Baksmaling classes.dex... I: Baksmaling classes2.dex... I: Baksmaling classes3.dex... I: Copying assets and libs... I: Copying unknown files... I: Copying original files...
this is the output of command prompt...
1634387217392.png
photo_2021-10-16_17-59-41.jpg

this is the output directory of apktool output in dex2jar directory..
i wanna to edit some section in about device page of Realme devices.
like under ColorOS Version Own string Of MY Things.
Any help Will Be appreciated
Thanks In Advance..
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    Okay! I took much time surfing all over the net to find this and finally I got the Perfect solution for people who are beginners(n00b)

    If you try to decompile directly it won't work(not atleast for Core but only for some devices), so here we go

    Things you will need:

    APKTOOL

    Script

    Rooted Core

    Root Browser (or something similar)

    Make sure you have Java SDK installed in pc.

    Notepad++ or a decent xml editor


    Preparation :

    1)Copy these two apks' in sd card or somewhere you can access it from pc.

    system\framework\"framework-res.apk"
    and
    system\app\"SystemUI.apk"

    2)Copy these two apk in your computer system

    3)Extract APKTOOL and Script until you get "aapt.exe", "apktool.bat", "apktool.jar" .

    4) Make a new folder anywhere in your comp. and paste these
    (i) framework-res.apk
    (ii) SystemUI.apk
    (iii) aapt.exe
    (iv) apktool.bat
    (v) apktool.jar
    (vi) You also need to paste "cmd.exe", use Run command to find it and paste it in the folder...


    Steps:

    (i) Open cmd.exe, it should show the location of the current folder

    (ii) Type
    Code:
    apktool if framework-res.apk

    (iii) After it is done, Type
    Code:
    apktool d SystemUI.apk

    (iv) Now you successfully have SystemUI.apk decompiled in the same folder !!!


    Precautions:

    i) Ensure you have not "CUT" but "COPIED" the apks from the folder, this can HARD BRICK your phone !

    ii) Decompiling apks' takes time according to one's pc's speed, have patience.

    iii) Please do not try to decompile or play with framework-res.apk in anyway if you are not experienced !

    iv)And as thcoreguy says
    No nuclear war is going on!


    Checked and tested:
    *I have used win7 64-bit SONY laptop

    *Worked for I8262 and SHOULD work for I8260 (the files)


    Acknowledgements

    @Brut.all for making apktool
    connor.tumbleson for uploading files

    @thecoreguy for making root tutorial

    People who made XDA forum possible

    Samsung for making Core

    You for reading this

    Me(ofcourse) for creating this :p

    Press Thanks if you also achieved to decompile this!
    2
    ...now i hve only greenify and lockscreen for xposed...
    1
    1
    Reserved for recompiling