Hi everyone
I wanna start modding and i have decompiled a systemUI.apk from an android 4 rom and I have replaced some png and xml files and every thing is done but i dont know how to compile it into an APK file to use it in rom
Can enyone help me?
by the way i have also changed the framework-res.apk but again i cant compile it
Hi at all,
i like to know how to theme lockscreens ? my phone is rooted.
Which tools i have to install ? WidgetLocker ? Apk manager ?
Is there a simple guide, because after reading a lot of threads im totaly confused and i have no clue how to start...
Thanks a bunch.
For starting install apktool and install JRE(java runtime environment) then decompile framework-res.apk (in system/framework) then for just starting theme the pngs at drawables then recompile and push in. System/fraework with correct permissions and you are done. No one can teach you theming follow whats on your heart.
-Rik[Rittik]
Anyone knows how to Decompile/Recompile System apps from MTK phones?
I'm using apktool 1.5.2.
I can decompile like "SystemUI.apk"
But I can't recompile. Even I didn't edit anything yet.
Hope guys you help me. Specially those who have MTK phones. :crying:
EDIT: Problem solved! I just install mediatek-res.apk as resources too
WinchyHanepp said:
Anyone knows how to Decompile/Recompile System apps from MTK phones?
I'm using apktool 1.5.2.
I can decompile like "SystemUI.apk"
But I can't recompile. Even I didn't edit anything yet.
Hope guys you help me. Specially those who have MTK phones. :crying:
EDIT: Problem solved! I just install mediatek-res.apk as resources too
Click to expand...
Click to collapse
hey can you please help me in decompiling and recompiling systemui.apk ...I Have MTK device plz can you explain with steps.Thanks
mhp1995 said:
hey can you please help me in decompiling and recompiling systemui.apk ...I Have MTK device plz can you explain with steps.Thanks
Click to expand...
Click to collapse
Me also faced problem for decompile and compiling but this apktool solved
Just Google " Decompiling_Resources_21.3.2013 " and download it
extract it anywhere . open the folder containing apktool.jar then shift+ rightclick u wil get command promt window then type Install framework-res.apk using apktool if framework-res.apk
then decompile any apps . I hope this would help u .
is it possible SystemUI can NOT be recompiled due to some omitted frameworks/files?
Hi.
I hope somebody experienced in MTK modding can shed some light on my problems, cause I'm out of ideas..
I can't find a way to successfully recompile either framework-res or System UI in a "no-name" ROM on a MTK device (6572). I'm not an expert in modding, but I know my way around this subject and have successfully disassembled, modded and reassembled many MTK (and other) ROMs so far.. however - this one I just can't recompile w/o errors like this:
systemUI.mod/SystemUI/res/layout/system_bar_notification_panel_title.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
Click to expand...
Click to collapse
Ofc I installed all available (?) frameworks (in my case 2 apks in /system/frameworks: framework-res.apk and mediatek-res.apk, tried as many available tools as I could find here on XDA (automated, manual, different apktool versions, etc), but nothing "works". I've also scouted the whole file system for any additional, hidden, resources, but could locate nothing.
So - I can decompile anything, but can not successfully recompile none of the "system resources" (systemui, framework-res, mediatek-res).. my question is this - is it possible that these resources, that aapt is reporting missing, are actually omitted (missing) from the ROM?
Edit:
http://forum.xda-developers.com/showthread.php?t=2264380
search HARDER.
[Guide] Porting UI Apks
This is a small tutorial showing about porting UI Apps
(Theming)
Necessary tools
-Apktool
-Copy-Paste Knowledge
-Root Explorer
-A little respect
Its very easy no need of development skills...
So lets start
Porting SystemUI.apk
Of a rom to another..
At first decompile ur Stock Systemui.apk and custom
Systemui.apk which u wanna port.
Now find the folder in custom SystemUI.apk name "res" then
open it and search for "drawable-hdpi" open it and you will
see a lot of png image replace all them to your stock
systemui.apk! If you find any xml file then don't copy them.
Then recompile the modded stock SystemUI.apk and replace
with original one by root explorer..
Porting framework-res.apk
Your device must be of the same resolution with the custom
framework-res device (ex: qhd>qhd) .... If not then u may face
dpi bugs.
decompile both stock and custom framework-res.apk.. Same
as before find "res" open and find "drawable-hdpi" copy all
the png to ur stock framework.. don't copy any xmls.. and
recompile the modded stock framework-res.apk and replace
with ur original by root explorer..
Written By - Snigdho Hasan
Don't forget to-
HIT A THANKS IF I HAVE HELPED YOU!
I have read all the threads on the topic of decompiling APK file and recompiling it, and so far I am successful in decompiling and recompiling it.And now I want to make some changes in smali files like change package name and remove some features, But I don't know smali language, so Is there a way that I can convert smali files into Android JAVA project which I can import into Eclipse or I must have to learn smali language to achieve what I want.
Thanks in Advance
decompilerr said:
I have read all the threads on the topic of decompiling APK file and recompiling it, and so far I am successful in decompiling and recompiling it.And now I want to make some changes in smali files like change package name and remove some features, But I don't know smali language, so Is there a way that I can convert smali files into Android JAVA project which I can import into Eclipse or I must have to learn smali language to achieve what I want.
Thanks in Advance
Click to expand...
Click to collapse
It can be done with smali also ....
Only thing is you need to be tricky ....[emoji6]
Am not writing the procedure here coz changing package name doesn't sounds good for me [emoji1] I always respect efforts of original developers (some kangers always do change name and remove some features and claim the apk as theirs in generally am saying don't get hurted )
So I just want to confirm that changing package name and removing some features is possible via smali editing no need to convert the apk to java source .......
Press Thanks Button If You like My Work & Posts?