How To Decompile The Settings.apk File in Huawei Honor 7? - Honor 7 Q&A, Help & Troubleshooting

Hello Everyone!
I want to edit few things in my (Settings.apk) but i was not able to decompile the file for some reason.
Model: Huawei Honor 7 (PLK-L01).
Objective: Decompiling and Editing the (Settings.apk) file. Basically, i want to edit few entries in the Settings page.
If anyone can decompile the file or teach us how to do it, I would be very grateful.
Resources:
http://forum.xda-developers.com/showthread.php?t=2184207
http://nerdsmagazine.com/edit-the-settings-menu-on-your-android/
Possible Error:
I am getting an exception in thread "main", each time i try to decompile the file.
Thanks in advance for reading my question and for all your contribution to this thread.

Related

[Q] Decompile, Edit Code and Re-compile to APK for android

Hello everyone
I have a question, first look at what I did.
I want to edit code of apk.
First, I use dex2jar. I can convert from APK to JAR file.
Second, I use JD. I can convert from JAR to Java source code.
Then I am trying to import these code into eclipse (or other editors) but it is not working.
Is there any possible way to edit the code?
I know we can edit smali but I think it is so much difficult.
I would be easier if I can edit in java source code and compile again to APK.
Thanks
Please use the Q&A Forum for questions Thanks
Moving to Q&A
It's not that easy. You can decompile (dex2jar & jd) the code to read it, do some research, etc. but this is a one way trip. If you want to modify something you will have to learn smali.
so, you mean the only way to modify code is smali?

smali ICS editing help needed for Settings.apk

Hello People
Hope I am in the correct section here.
I am trying to delete/re-arrange Menu entries in Settings.apk for my HTC device. From some research I performed and from some Gingerbread mods I know that the file to edit is the HtcEntryProxy.smali. However it is a bit difficult to find out what exactly is going on there!. How to I find which values to change in order to delete some menu entries ?
I have successfully decompiled the apk and I can re-compile it too.
Thanks in advance.

[Q] Modifying Smali Code and recompile it.

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?

Make smali file

I want to mod an apk file. I have decompiled the apk and now I want to make a smali file that will replace shared_pref file on first launch only. How can I achieve this?
Please help
*Not encouraging any kind of piracy.
Help
Help please

decompile SystemUI.apk

Hi guys,
I have a problem with my System.UI. I can't decompile it because I obtain always an error...in every programs (Tickle,Multitool...). I want to edit lines in .xml for my custom ROM.
However, with the Framework-res.apk or settings-apk it works perfectly. I don't understand...
So If someone could help me decompiling System-UI.apk with other method, I'd be very grateful to him
Of course I join two files (framework-res.apk and systemUI.apk) in attachment.
Thanks really
Bests regards
Nobody... ?
PLease
MAnopi said:
Hi guys,
I have a problem with my System.UI. I can't decompile it because I obtain always an error...in every programs (Tickle,Multitool...). I want to edit lines in .xml for my custom ROM.
However, with the Framework-res.apk or settings-apk it works perfectly. I don't understand...
So If someone could help me decompiling System-UI.apk with other method, I'd be very grateful to him
Of course I join two files (framework-res.apk and systemUI.apk) in attachment.
Thanks really
Bests regards
Click to expand...
Click to collapse
I have same problem. Hope to someone can help.????
Post the error log and maybe someone will help you. Posting the apks does nothing really.
Also if your making a custom rom but cant fix a simple error then you might want to rethink things.
Also if your building a custom rom then just edit the source before to compile the build.
Finally it works. Why ? I don't know lol
Maybe it is :
-I took systemUI.apk from stock ROM (yes i changed apk from stock ROM to try)
-or I deleted mediatek-res.apk of folder names ''other'' of APKmultitool

Categories

Resources