[TRICK] eror recompile setting.apk or other apk - Android Q&A, Help & Troubleshooting

Hi guys , have you ever try to editing some apk's like setting.apk with apktool mobile ? (I'm using apktool 4.4.1 ) , after editing that you think already right but when you recompile it you face some eror ?
Here I gave you some trick that maybe you can try to recompile some apk like setting.apk or other.
Locate the apktool.yml in your decompile'd apk's and open with text editor like aide or other , next see the "ids:" . Below that you will find some number . It usualy - 1 , now add - 2 below that . It will look like this
Ids :
- 1
- 2
Than save and recompile , done.
I already try that methode with other apk's and it work great . That's it hope it help you but if not and you still got some eror try to read the full log and find what you miss , I will not help you for that so try by your own
I'm using mtk 6582 running jb 4.2.2
Apktool 4.4.1 (aapt ver 1.5.2 / apktool 4.2)

Be kind enough to report if it work for you

Related

[Q] compiling systemUI and framework-res with apktool

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

How to Decompile/Recompile System Apps from MTK Phones

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.

[Q] Ask Apktool Theming Stock Apps Lil confusing

hello everyone!
i just wanna ask...
i flash a deodexed stock rom (deodexed,pre-rooted)
and i start theming using apktool for android.
After modifying(e.g. Settings.apk signed with apktool for android) . it didn't shown up on my drawer
then i tried another method (Copying both orig META-INF and android manifest) then it shown up
I want to have tabbed settings.. but how can i make it if the modded app needs the original files (meta-inf and android manifest)..
some of my app are not working after recompiling and signing it with apktool for android...
it always need those files
i wonder how the devs makes changes on some system app
pls reply...
i need answers..

[Q] AndroidMultitool issu

Hi every one,
it's my first post but i am working with apk tools (apk manager , multitool etc) approx one year. (I'm using now AndroidMultitool 3.5.6 )
i have a problem with an apk, when i want to decompile Settings.apk of lenovo tablets, resources.arsc file not decompile and copy to Settings folder automatically, and cannot recompile it.
i was copy that manually from original Settings.apk the file resources.arsc an re compile successfuly, but it not working on tablet!
please answer & help me dear developers.
thanks
A3300hv files for decompile/compile : h t t p s : / / w w w . mediafire.com/folder/ay3hmg23uv1e2/Lenovo_A3300hv_files
help me
help
helpppppp
Helppppppppppppppppppppppppppppppppppppppppppppp

Problem after recompiling an apk

Hi guys ,
i have decompile the game ludo classic and do some modifications after i recompiled the apk and install it on my phone
when i want to open it he took me to the playstore to download it !! where is the error !!
need help please !

Categories

Resources