2015.5.16-06-16 10:58:45,614 - [INFO::com.miui.cloudservice] - FindDeviceSett

Does anyone know how to edit Settings.apk? [Solved!] - Android Forums
Welcome to the Android Central Forums
Answers in 5 minutes - no registration required!
Trending Now
484216461117743707633
Trending Now
484216461117743707633
Top Forums
Member Shoutouts
2188143403934
Jump to page:
Results 1 to 25 of 26
Does anyone know how to edit Settings.apk? [Solved!]
I've been trying to do this for some time, but I've hit a wall. I want to take the Settings.apk from my current rom (which ever one it happens to be). Decompile it. Edit some entries. Then recompile and sign it, so that I can use it with said rom.
I've tried using
(and a few automated versions of it). It works great to decompile and recompile. I then use signapk.jar to sign the apk using a test key. But when I copy Settings.apk over to my /system/app folder, change the permissions, and reboot, the settings menu fails to load and my wallpaper disappears.
I thought that it might be edits I am making. So I tried decompiling, recompiling, and signing with no edits and I still get the same problem where the settings menu fails to load.
I even tried following this crazy guide:
But I had the same problem.
I have successfully used apktool and my signing tool to edit and use other apk files. So I know that they work. Can anyone (probably a dev) explain what I'm doing wrong?
Have you tried apk_manager, which I believe uses akptool?
It has an option to decompile with dependencies.
Perhaps you can track down which other files you need with it?
Try resigning all the system apks. You'll probably also need to wipe dalvik-cache before rebooting.
I tried signing all the system apps and clearing the dalvik cache but the system refuses to boot. I'll give apk_manager a try thanks!
I figured out the problem! Oddly enough, it was the signing that broke it. When I didn't sign the Settings.apk it worked fine. I used apk manager 4.9. I then decompiled the apk. Did my edits. Compiled it and told the program
it was a system apk. I deleted the files I changed from the keep folder along with resources.arsc. I then DIDN'T sign it, and pushed it to my /system/app folder. Rebooted and everything worked.
If anyone is interested in it, here is my Settings.apk from the Nameless rom v1:
It has the privacy menu removed and it has the tether settings added to the wireless menu. No need to have a tether app or launcher pro, and no chance of accidentally doing a factory reset.
Thanks guys!
Make a cm7 one without privacy&3
Sent from my Optimus V
Originally Posted by rockneo
Make a cm7 one without privacy&3
Sent from my Optimus V
Here is how you can do it yourself: Download: Get your Settings.apk off of your phone either with root explorer or adb:
Code: adb pull /system/app/Settings.apk Keep a copy of Settings.apk somewhere safe.Place one copy into the &place-apk-here-for-modding& folder in apk manager.Run Script.bat.Enter option 22.Select the Settings.apkEnter option 9.Open folder projects\Settings.apk\res\xml\Open settings.xml in notepad or any other simple text editor.Remove these lines:
&com.android.settings.IconPreferenceScreen android:title=&@string/privacy_settings& android:key=&privacy_settings& settings:icon=&@drawable/ic_settings_privacy&&
&intent android:targetPackage=&com.android.settings& android:action=&android.intent.action.MAIN& android:targetClass=&com.android.settings.PrivacySettings& /&
&/com.android.settings.IconPreferenceScreen& Save the file.Enter option 11 in app manager.Enter &y& (yes) for if this is a system apk.Enter &y& for the next option too.Open the newly created &keep& folder inside of your app manager folder.Delete resources.arscThen delete keep\res\xml\settings.xmlGo back to app manager and hit enter to continue.Look inside &place-apk-here-for-modding& and find your newly created &unsignedSettings.apk&I used this file and it worked great. Signing it broke it for some reason.Copy &unsignedSettings.apk& to the folder that contains adb.exe and rename it to &Settings.apk&Open command prompt and enter:
Code: adb remount
adb push Settings.apk /system/app/Settings.apk
adb shell chmod 644 /system/app/Settings.apk
adb reboot
If everything went right, your settings should load like normal but privacy should be gone now. If something went wrong, your wallpaper will be gone and settings will not load. Retrace your steps in that event. Maybe try signing the apk. Who knows why only the unsigned version works for me?
Hmmm, I've been trying to mod the Swype keyboard with no luck, and I always signed it too.
Maybe leaving it unsigned will work for Swype as well.
is there ANYWAY 2 port the lg Camera.apk? that is WAYYYYYYYYYYYYY better than the 1's that come in most roms
EXCEPT CM7 lol
Originally Posted by 00damedash
is there ANYWAY 2 port the lg Camera.apk? that is WAYYYYYYYYYYYYY better than the 1's that come in most roms
EXCEPT CM7 lol
Can you link me to it?
Originally Posted by mmarz
Can you link me to it?
im not sure where 2 point u to but im sure its in the stock optimus t roms
Originally Posted by 00damedash
im not sure where 2 point u to but im sure its in the stock optimus t roms
That camera app is actually not created by lge. It is a proprietary program made by .
I've gotten it to load and open on my phone, but it's not made to work with our camera drivers. I can't get any sort of image to load. It'll require the work of one of the devs to make it work. It is not a simple task.
on a side note, their official camera looks interesting:
Originally Posted by mmarz
That camera app is actually not created by lge. It is a proprietary program made by .
I've gotten it to load and open on my phone, but it's not made to work with our camera drivers. I can't get any sort of image to load. It'll require the work of one of the devs to make it work. It is not a simple task.
on a side note, their official camera looks interesting:
PLEASE I HOPE HIS EFFORT ENCOURAGES A DEV 2 PORT THIS .APK
p.s thanks 4 trying
Here is an Engrish translation of that Olaworks app I found:
It's kind of interesting. It is a location based camera app. You can take pictures of books, buildings, people..etc. and then search through your pictures using names. It'll also scan barcodes, locate businesses around you, and show you online prices for items you are looking at.
Originally Posted by 00damedash
is there ANYWAY 2 port the lg Camera.apk? that is WAYYYYYYYYYYYYY better than the 1's that come in most roms
EXCEPT CM7 lol
You can try the MIUI camera.
This apk installs fine along side the other camera.
Also Camera 360 has a few cool options.
There is a way to mod the camera to use a higher resolution i.e. 480x320.
You'd have to mess with the internals but it should be able to be done.
As it was done on the HTC Hero CDMA.
If VM/LG drops GB source updated libs should help.
Originally Posted by dburg
You can try the MIUI camera.
This apk installs fine along side the other camera.
Also Camera 360 has a few cool options.
There is a way to mod the camera to use a higher resolution i.e. 480x320.
You'd have to mess with the internals but it should be able to be done.
As it was done on the HTC Hero CDMA.
If VM/LG drops GB source updated libs should help.
Thanks! That is a nice camera app, and it does video too. Is there any native way to make the camera button launch it?
I figured out a work around by using Tasker, but this is not ideal.
Originally Posted by dburg
You can try the MIUI camera.
This apk installs fine along side the other camera.
Also Camera 360 has a few cool options.
There is a way to mod the camera to use a higher resolution i.e. 480x320.
You'd have to mess with the internals but it should be able to be done.
As it was done on the HTC Hero CDMA.
If VM/LG drops GB source updated libs should help.
THANKS!!!! its fire
Re: Does anyone know how to edit Settings.apk? [Solved!]
Originally Posted by mmarz
Here is how you can do it yourself: Download: Get your Settings.apk off of your phone either with root explorer or adb:
Code: adb pull /system/app/Settings.apk Keep a copy of Settings.apk somewhere safe.Place one copy into the &place-apk-here-for-modding& folder in apk manager.Run Script.bat.Enter option 22.Select the Settings.apkEnter option 9.Open folder projects\Settings.apk\res\xml\Open settings.xml in notepad or any other simple text editor.Remove these lines:
&com.android.settings.IconPreferenceScreen android:title=&@string/privacy_settings& android:key=&privacy_settings& settings:icon=&@drawable/ic_settings_privacy&&
&intent android:targetPackage=&com.android.settings& android:action=&android.intent.action.MAIN& android:targetClass=&com.android.settings.PrivacySettings& /&
&/com.android.settings.IconPreferenceScreen& Save the file.Enter option 11 in app manager.Enter &y& (yes) for if this is a system apk.Enter &y& for the next option too.Open the newly created &keep& folder inside of your app manager folder.Delete resources.arscThen delete keep\res\xml\settings.xmlGo back to app manager and hit enter to continue.Look inside &place-apk-here-for-modding& and find your newly created &unsignedSettings.apk&I used this file and it worked great. Signing it broke it for some reason.Copy &unsignedSettings.apk& to the folder that contains adb.exe and rename it to &Settings.apk&Open command prompt and enter:
Code: adb remount
adb push Settings.apk /system/app/Settings.apk
adb shell chmod 644 /system/app/Settings.apk
adb reboot
If everything went right, your settings should load like normal but privacy should be gone now. If something went wrong, your wallpaper will be gone and settings will not load. Retrace your steps in that event. Maybe try signing the apk. Who knows why only the unsigned version works for me?
Thank you so much for posting this walk-through. I was trying to change the icons in the settings menu to the ICS icons and for some reason it wasn't working. After reading the walk-through (and testing) I realized it was because I was entering &n& on the second question after compiling. Now my settings menu looks awesome!
Re: Does anyone know how to edit Settings.apk? [Solved!]
Thanks you for this walk-through but the procedure seems to be different on linux, with apk manager 5.0
The Apk Mananger menu look like this:
Code: ****************************** Apk Manager *******************************
------------------Simple Tasks Such As Image Editing----------------------
Extract apk
Optimize images inside (Only if &Extract Apk& was selected)
Sign apk (Dont do this if its a system apk)
Zipalign apk (Do once apk is created/signed)
Install apk (Dont do this if system apk, do adb push)
Zip / Sign / Install apk (All in one step)
Adb push (Only for system apk)
-----------------Advanced Tasks Such As Code Editing-----------------------
Decompile apk
Compile apk
Install apk
Compile apk / Sign apk / Install apk (All in one step)
---------------------------------------------------------------------------
Batch Optimize Apk (inside place-apk-here-to-batch-optimize only)
Sign an apk
(inside place-apk-here-for-signing folder only)
Batch optimize ogg files (inside place-ogg-here only)
**************************************************************************** So, I've tried to modify my Settings.apk (to include french translations removed in my chinese roms ...), simply with options 9 and 10 but it doesn't work.
In my android log I've this:
Code: 06-06 11:36:44.083: W/PackageManager(1249): Failed verifying certificates for package:com.android.settings
06-06 11:36:46.504: E/PackageManager(1249): Package com.google.android.backup has no signatures that match those in shared user android.uid. ignoring!
06-06 11:36:48.590: E/PackageManager(1249): Package com.google.android.location has no signatures that match those in shared user android.uid. ignoring!
06-06 11:36:50.700: W/PackageManager(1249): System package com.android.setti wiping its data If you've any idea of what I can do, I take
EDIT: Got it working with apktool and 7z
I've followed (a good part of) this tuto:
Now my settings are in french ... awesome
Re: Does anyone know how to edit Settings.apk? [Solved!]
Please i need to remove the Item & Bluetooth & from settings =& wireless & networks .
please can someone help me
wirelesssettings.xml and wirelesssettings.smali but when i install the application
an error & application not installed & .i try to sign
my application but also the same error . Thanks
Re: Does anyone know how to edit Settings.apk? [Solved!]
Originally Posted by nouhaghribi
Please i need to remove the Item & Bluetooth & from settings =& wireless & networks .
please can someone help me
wirelesssettings.xml and wirelesssettings.smali but when i install the application
an error & application not installed & .i try to sign
my application but also the same error . Thanks
i solved it now if you change .smali you must also delete classes.dex from file &keep& .
Re: Does anyone know how to edit Settings.apk? [Solved!]
Samsung galaxy MoD
Re: Does anyone know how to edit Settings.apk? [Solved!]
there is no 22 option in apk_manager_linux_5.0 version, help please
Re: Does anyone know how to edit Settings.apk? [Solved!]
Originally Posted by vamsikracha
there is no 22 option in apk_manager_linux_5.0 version, help please
Post #19 in this very thread addresses that issue. There's a link to this here thread:
According to post #19, the linked to thread lead to a solution.
Re: Does anyone know how to edit talking tom pic at resource or other app pic
please help me i tried but i am failed i edited android app resource on adobe photo shop i packed the android file on apk manager but failed to install if i edit background pic to tom
Jump to page:
Browse All Accessories
Browse Accessories For Your Phone
STORE AD CONTENT
Follow Android Central
The Android Central Podcast
Latest poll
You Might Want...
Mobile Nations brings you the very best of , , , , and
Copyright 2015 Mobile Nations ●
Portions of this page are modifications based on work created and shared by the Android Open Source Project
and used according to terms described in the . AndroidCentral is an independent site
that is not affiliated with or endorsed by Google.&...&&miui_mod_icons
发送给微博、QQ、MSN等好友吧}

我要回帖

更多关于 2015年6月16日 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信