Remove on screen phone entries from settings.apk in LG o2x - Android Themes

Hi I'm running apk tool to compile settings.apk in LG 02x I have installed the framework and I compile without errors but the result file don't work and its significant smaller than original.
I'm not sure if on LG 02x I need the framework-res file or a different one I tried also a different res file but the result is the same failure.
I tired also different apktool (1.3.1)
So any one knows which framework should I use for this model? Also what is going wrong with the process? I made sure permissions are o.k, adb version etc....
Thanks
Sent from my LG-P990 using XDA App

Related

Themed System Apps not Working

I'm just trying a bit of theming myself, found plenty of guides on the topic however I have found one slight problem. No matter how I try to install my modded system apps, it always fails to install or doesn't change the original app at all.
I use APKmodder to do the editing if that affects anything, however the same issues arrise when using NinjaMorph on my NS.
I have tried multiple methods of getting the apps onto my device. Using adb push, creating a custom update.zip (which is all set out properly), NinjaMorph and even just the regular apk install, all of them either don't update the apps or are pushed to /system/apps but are not in the app launcher.
Any ideas? I have searched for hours about this and I haven't found anything to help me. Finally, if it helps I have tried with Launcher2.apk and Camera.apk.
Sent from my Nexus S using XDA App
Any ideas at all? I've never had much luck with Modding apps full stop. Could it be my copy of APKmodder?
Sent from my Nexus S using XDA App
is your rom deodexed?
I imagine so, running CM7 and I can't find any odex files in /system. I also read somewhere else that CM6 was deodexed so I figured it would be the same.
What difference would it make if it wasn't deodexed? Would you need to remove the odex or something?
Sent from my Nexus S
Jonathon Grigg said:
I imagine so, running CM7 and I can't find any odex files in /system. I also read somewhere else that CM6 was deodexed so I figured it would be the same.
What difference would it make if it wasn't deodexed? Would you need to remove the odex or something?
Sent from my Nexus S
Click to expand...
Click to collapse
CM7 is deoxed. It's probably because you're changing the apk, don't understand why you're playing with it but whatever.
No idea, my recommendation is to not mod it.
I am not familiar with the tools you're using, but I've heard that people have had trouble with them in the past.
The best tool for theming is Apkmanager 4.9 used along with Apktool 1.3.1.
However, if you're simply swapping some images, just do so in WinRAR or 7zip. No deed to decompile, resign anything. Just put your system apps in a Flashable zip in this order: Zip/system/framework/framework-res.apk and Zip/system/app/<your system apps> and drag and drop your images in the right locations.
Also, your zip must have a META-INF folder with the proper update script.
You can use any one of my themes as a template.
Hope this doesn't sound too convoluted.
Cheers.
Thanks for that, some changes are image based but there are also some XML based changes which I require, would the 7zip method work there?
And sorry if I'm being vague, but Im not near my computer now, but how would you use two tools in conjunction? Because I have used apktool before but not the other.
Thanks very much though! I am finally getting somewhere
Edit: thanks for the template offer, I will have a look and see what's different to my tests. Just one final question, is there any difference between an update-script and updater-script?
Double EDIT: For future reference if anyone finds this, there is a difference between update-script and updater-scripts. From Android 1.5 onwards, Google moved to updater-script's, leaving update-script's behind. Make sure you remember this!
Sent from my Nexus S
Jonathon Grigg said:
Thanks for that, some changes are image based but there are also some XML based changes which I require, would the 7zip method work there?
And sorry if I'm being vague, but Im not near my computer now, but how would you use two tools in conjunction? Because I have used apktool before but not the other.
Thanks very much though! I am finally getting somewhere
Edit: thanks for the template offer, I will have a look and see what's different to my tests. Just one final question, is there any difference between an update-script and updater-script?
Sent from my Nexus S
Click to expand...
Click to collapse
For xml changes you have to decompile/recompile the apk. Apkmanager is a GUI for apktool so you don't have to learn/remember the java commands.
If you download Apkmanager, it comes with Apktool 1.3.2, be sure to replace it with 1.3.1. It's way more stable and reliable.
Not sure about the difference between updater and update, maybe one has Amend scripts and one doesn't.
I am not a developer so can't say for sure , but the one person to ask would be ogdobber.
He literally knows everything about everything .
sonnysekhon said:
For xml changes you have to decompile/recompile the apk. Apkmanager is a GUI for apktool so you don't have to learn/remember the java commands.
If you download Apkmanager, it comes with Apktool 1.3.2, be sure to replace it with 1.3.1. It's way more stable and reliable.
Not sure about the difference between updater and update, maybe one has Amend scripts and one doesn't.
I am not a developer so can't say for sure , but the one person to ask would be ogdobber.
He literally knows everything about everything .
Click to expand...
Click to collapse
Ok thankyou very much for the help once again. I have finished school for the week so I should have time to test these methods out now.
If I need any further help I might drop ogdobber a note then.
Thanks for all your help!
Sent from my Nexus S

Need help by (de)compiling frameworkr-res.apk

hello
i cant figure out how to decompile and compile framework-res.apk from free optimus project nightly 6
i tried many versions of apktool and apkmanager some of them works if i change the version for compiling and decompiling and i have one version which is extra for ics and this works without changing
but if i include a framework-res.apk in the rom.zip which is successfully decompiled and compiled (without errors) the phone gets into a bootloop.
can anybody teach me how to do this correctly?
i already have tried to sign the apk and repackaged the whole rom
Müllname said:
hello
i cant figure out how to decompile and compile framework-res.apk from free optimus project nightly 6
i tried many versions of apktool and apkmanager some of them works if i change the version for compiling and decompiling and i have one version which is extra for ics and this works without changing
but if i include a framework-res.apk in the rom.zip which is successfully decompiled and compiled (without errors) the phone gets into a bootloop.
can anybody teach me how to do this correctly?
i already have tried to sign the apk and repackaged the whole rom
Click to expand...
Click to collapse
Means you are missing a software.
And please post in the appropriate category.
THANK ME
CM10 P970 - SouLMoD - TD
SoulExertz said:
Means you are missing a software.
And please post in the appropriate category.
THANK ME
CM10 P970 - SouLMoD - TD
Click to expand...
Click to collapse
if i'm missing any software apktool won't compile without errors or it won't finally start cause it checks all needed sources before starting.
which category do u think is right? q&a - this is not just a question, there's an simple answer 4. dev - i haven't developed anything and want to publish it - theming apps - nothing to do with this.. :cyclops:

[solved] Apktool not working?

This Problem solved by downloading apkmanager.
Hi guys.
I just have to make a small change in the Settings App.
I have done that before on official cm7 and even on stock.
Problem is that if i just decompile the apk using apktool, then even compile it with no change at all. Then Sign It, and copy it to system /app with permissions..It just doesn't show up in the app drawer even after a reboot..
This is surely a problem with apktool, coz i'm not even changing anything, just decompiling and compiling.
The same for cm7 themes. i try to compile cm7 themes but they just don't work when i copy them to system /app.
I copied it to sd card and tried to install from sd card. And it works, but not when it's included in system /app.
Problem solved by downloading apkmanager.
masterex567 said:
Hi guys.
I just have to make a small change in the Settings App.
I have done that before on official cm7 and even on stock.
Problem is that if i just decompile the apk using apktool, then even compile it with no change at all. Then Sign It, and copy it to system /app with permissions..It just doesn't show up in the app drawer even after a reboot..
This is surely a problem with apktool, coz i'm not even changing anything, just decompiling and compiling.
The same for cm7 themes. i try to compile cm7 themes but they just don't work when i copy them to system /app.
I copied it to sd card and tried to install from sd card. And it works, but not when it's included in system /app.
How do i fix this?
Please Reply Soon, as this is urgent.
Click to expand...
Click to collapse
Reboot ?
Sent from my GT-S5830 using xda premium
Nope not working...
Trying to make Settings.apk ICS Style for unofficial cm7. Making it work on the official cm7 was a left hand game. But I don't know what's the issue wid this one.
I tried apk manager, and it's getting errors at decompiling it.
Lemme see what else i can dig up. :/
Why is this flagged as urgent?
On: Which version of apktool do you use? The newer versions may not be compatible!
___________XDA Premium__________
Don't be a noob. Be a newbie..!!
Details here.
____________________________________
Urgent because it's important and i need it for rom cooking.
Using 1.3.2.
Which version do you recommend?
masterex567 said:
Urgent because it's important and i need it for rom cooking.
Using 1.3.2.
Which version do you recommend?
Click to expand...
Click to collapse
Try apk multi-tools
http://apkmultitool.com/node/14
it works without problems for me
your problem is that you're signing the apk. Stock apps, like Settings and SystemUI, cannot be signed. You need to keep the original apk (the one you've decompiled) and change files inside it.
Take a look here: http://forum.xda-developers.com/showthread.php?t=1664292
Renan Lazarotto said:
your problem is that you're signing the apk. Stock apps, like Settings and SystemUI, cannot be signed. You need to keep the original apk (the one you've decompiled) and change files inside it.
Take a look here: http://forum.xda-developers.com/showthread.php?t=1664292
Click to expand...
Click to collapse
I tried.
Then just used apk manager.
Got errors on decompiling copied the apktool 1.4.3 files to the "other" folder.
Decompiled succesfully
followed instructions.
And it worked.
It's not urgent. I'm changing the title.
eagleeyetom said:
It's not urgent. I'm changing the title.
Click to expand...
Click to collapse
It was.
but now it's okk.
You can close this thread.

[Q] apk manager problem

i was tried to modify framework apk of gb i extracted , made modifications and then zipped but its size was too small as compared to original one almost half. also tried compression levels but no change. will the apk work if i push it in framwork
arpitkh96 said:
i was tried to modify framework apk of gb i extracted , made modifications and then zipped but its size was too small as compared to original one almost half. also tried compression levels but no change. will the apk work if i push it in framwork
Click to expand...
Click to collapse
yes.... the re compiled apk is always small is size wen compared to the original apk.... btw it would work if u had modded the files correctly
Sent from my GT-S5670 using XDA

[SOLVED] Can't decompile SecSettings.apk

Hey buddys, I found a [HOW TO] for Multi-window port.. I'm going to give a try
Now, my problem is that the environment is setted up, I think, correctly but I can't decompile "SecSettings.apk"
Every time I try with "APK Multi Tool" "Apktool" "Apk Manager" I have errors like this:
This is my ADB Variable:
And my PATH is this:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.7.0_11\bin;C:\Program Files\Java\jre7\bin;C:\Program Files (x86)\Android\android-sdk;C:\Program Files (x86)\Android\android-sdk\platform-tools;C:\Program Files (x86)\Android\android-sdk\tools
The PATH is correct because there are JDK and JRE installed, same for SDK..
How can I fix this? Thanks in advance people!!
Re: [Q] [HELP] Can't decompile SecSettings.apk
Did you install the framework and tw-framework?
Sent from my GT-I9070 using xda premium
I installed correctly the frameworks now and edited the files using the SGS II [HOW TO]..
Bootloop.. Im sure bootloops because I used the SGS II files, I dont know if are the same smali and jar's files of Advance..
I'll study better this later, now im going to find another mods for JB..
Thanks Shaaan!
fedevd said:
I installed correctly the frameworks now and edited the files using the SGS II [HOW TO]..
Bootloop.. Im sure bootloops because I used the SGS II files, I dont know if are the same smali and jar's files of Advance..
I'll study better this later, now im going to find another mods for JB..
Thanks Shaaan!
Click to expand...
Click to collapse
You didn't sign file. Copy Meta-INF from original to the new one. Open files with WINRAR for that.
Still bootlops..
Leave this thread like SOLVED and when you can gimme a hand, if you want of course
Does multiwindow works
Sent from my GT-I9070 using Tapatalk 2
Одг: [SOLVED] Can't decompile SecSettings.apk
fedevd said:
Still bootlops..
Leave this thread like SOLVED and when you can gimme a hand, if you want of course
Click to expand...
Click to collapse
Try to put resurces.arsc from compiled to original file. With WINRAR, and set compression to lowest - storage it is I think. And then try it.
Sent from Galaxy S Advance
shut_down said:
Try to put resurces.arsc from compiled to original file. With WINRAR, and set compression to lowest - storage it is I think. And then try it.
Sent from Galaxy S Advance
Click to expand...
Click to collapse
The problem is completely solved. Merry Christmas.:good::fingers-crossed:

Categories

Resources