[Q] Problem with replacing Settings.apk - Android Q&A, Help & Troubleshooting

Hi everyone, I always solved my problems just by reading other threads and it solved, but now I'm stuck and can't find any thread to solve the problem.
Here it is, my problem:
I wanted to translate the Settings.apk into my language, and decompiled/recompiled it, then copied it to my Tab, and replaced the Settings.apk in system/app with the new one by Root Explorer, but the problem is that when I reboot my GT P1010 I cannot find the Settings icon in Applications
I don't know where the problem is...
Any Help ...?

Solved Missing Settings.apk from App Drawer after editing it
urtin said:
Hi everyone, I always solved my problems just by reading other threads and it solved, but now I'm stuck and can't find any thread to solve the problem.
Here it is, my problem:
I wanted to translate the Settings.apk into my language, and decompiled/recompiled it, then copied it to my Tab, and replaced the Settings.apk in system/app with the new one by Root Explorer, but the problem is that when I reboot my GT P1010 I cannot find the Settings icon in Applications
I don't know where the problem is...
Any Help ...?
Click to expand...
Click to collapse
Hi! I just wanted to say that I solved the problem, and now I can edit my Settings.apk how I want.
After many searching in google and inside this forum, and many many trying I found a way how to compile my apk and then being recognized by my device.
1) I just compile my edited apk
2) and then open the new_apk aside with the original_apk by 7zip
3) then Drag&Drop the resources.arsc from the new_apk to the original_apk close it,
4) and then push original_apk with adb into my device,
5) copy to /system/app/ by Root Explorer, Fix Permissions and Reboot.
That's all, if someone had this problem here is the solution...
:good: Have nice developing...

Still not working
Tried every possible way

Related

[Q] Install phone.apk

Please sorry for my English. Help ... I want to install but copy phone.apk system / app says that the application was installed and is not exiting the application factory.
I can do ... I also want to change the original lock screen, but I do not know which file I should change ...
I have original 2.1 eclair
thanks.
try this:
Install root explorer (I´m sure, you can find it here by using the search-button), then go to the folderwhere your new phone.apk is, and copy it. then go to system/app, mount it as "rw" and paste it, and then I recommend you to reboot.
codfreak said:
try this:
Install root explorer (I´m sure, you can find it here by using the search-button), then go to the folderwhere your new phone.apk is, and copy it. then go to system/app, mount it as "rw" and paste it, and then I recommend you to reboot.
Click to expand...
Click to collapse
Had already tried, but still keeps showing the original application, and when trying to install from system / app says "the application was not installed"...
Any ideas? with respect to lockscreen, what is the application that performs this function?
phone.apk cannot be "installed". it needs to be "pushed" into /system/app
as for lockscreen, u can either change theme or find lockscreen programs... there are a few in the market.
if u do not know how, i suggest u do a little more finding all the answers are somewhere
After moving an app to system/app, set the permission of the app to rw-r--r-- (Root Explorer)
Sent via X8 Browser
There is already an installed application (system)
Phone.apk application is not installed because there is an application system that must be replaced, but look for it in system / app and I not find that application, if you know the name (I have the stock rom) to tell me to remove it and install the new application (I think it might not be in system / app, but I do not know where else might be).
Thank you.
In the stock rom the phone application is called SemcPhone.apk
anant123 said:
In the stock rom the phone application is called SemcPhone.apk
Click to expand...
Click to collapse
Indeed, that is. But it does not let me install the application. says "The application has not been installed", even replacing the message application to install.
And when I call, show an error in the process android.process.acore.
If someone has done this before, please guide me.
R u crazy? Phone.apk cannot be installed/replaced under Android is running! Deleting phone.apk causes force-closes and boot-loop. Only way to change phone.apk is ADB under xrecovery.
BillyLH said:
Indeed, that is. But it does not let me install the application. says "The application has not been installed", even replacing the message application to install.
And when I call, show an error in the process android.process.acore.
If someone has done this before, please guide me.
Click to expand...
Click to collapse
did u even read what i replied? u CANNOT install it like u do a normal app... it needs to be pushed in... as for guiding you... there are loads of posts in the entire forum as to how to use ADB/pushing files. go find them.
-ReaL- said:
R u crazy? Phone.apk cannot be installed/replaced under Android is running! Deleting phone.apk causes force-closes and boot-loop. Only way to change phone.apk is ADB under xrecovery.
Click to expand...
Click to collapse
funny~ i ALWAYS change phone.apk when android is running works fine so far. hehe. of course i use ADB tho
I´ve modified the reframe.sh by propc for semcphone.apk....just download it and extract it to the root of your sdcard (with your computer or your X8 by using a file manager)
Then install terminal Emulator (if you don´t have it already) and type
Code:
sh mnt/sdcard/SEMCphone.sh
and it should react and show you some text like "replace SEMCphone by propc (modified by codfreak).
This should also work with ADB, but I think Terminal E. is easier
You can also use it for replacing ANYTHING, just open the file on your computer with notepad and rewrite the filenames and directorys.
D' oh
-ReaL- said:
R u crazy? Phone.apk cannot be installed/replaced under Android is running! Deleting phone.apk causes force-closes and boot-loop. Only way to change phone.apk is ADB under xrecovery.
Click to expand...
Click to collapse
Yes, I'm crazy ... But thanks to you I remembered that I could change the framework with a script, modify it and it worked SemcPhone.apk to change (replace) the phone restarts, but then as if it had apacerece signal and not making calls.
Please, if someone has changed some StockRom SemcPhone.apk 2.1 per phone.apk tell me how.
Thank you.
codfreak said:
I´ve modified the reframe.sh by propc for semcphone.apk....just download it and extract it to the root of your sdcard (with your computer or your X8 by using a file manager)
Then install terminal Emulator (if you don´t have it already) and type
Code:
sh mnt/sdcard/SEMCphone.sh
and it should react and show you some text like "replace SEMCphone by propc (modified by codfreak).
This should also work with ADB, but I think Terminal E. is easier
You can also use it for replacing ANYTHING, just open the file on your computer with notepad and rewrite the filenames and directorys.
Click to expand...
Click to collapse
think the same idea (I modified de script with office suite in the phone ), but does not work the apk ... I do not know what to do, I have the phone.apk for eclair. and does not work.
Hello, I discovered that the recovery is easier to install, I used a zip signed which contained a framework and add the phone.apk renamed SemcPhone.apk. But the different versions of phone.apk I tried did not work on my stock rom. If you know of any version can be installed, if they have already done so, please comment.
deleted android dialer (oops)
hello, I have a samsung galaxy tab 7 running froyo2.2:" did something stupid, I unistalled the wrong dialer using Ti backup. Its called android dialer. and of course i am experience a hic-cup. (hope it not a cold and its curable-lol) I was searching the threads and came across "pushing" the phone.apk using root explorer however I oops again and think i mounted it read only. Now I am stuck in the water.
Assistance/guidance is appreciated!!

[Q] Issues restoring framework-res.apk

Hey Guys,
I have been attempting to mod my framework-res.apk to try and add a percent battery icon (unsuccessfuly so far). Here is my issue, after finding that my modded framework file isnt working properly, I go to try and restore the original. After restoring the original I still get tons of FC's and the only way to get things back to normal is to restore my backup from CWM.
The method I am using to replace my framework-res.apk is to use a root explorer (ES File Manager) to copy the file to /system/ then from there I modify the permissions and then move the file to the framework folder, overwriting the existing file. After this, I reboot the phone.
My question is, why is my original framework-res.apk file causing force closes? It is starting to make me think that even my modded files are ok, but that the issue is arising in the manual transfer.
Sorry if the answer is posted elsewhere, I googled and was only finding issues with the apk not being compiled correctly, but that shouldnt be an issue with the original apk.
*EDIT* I figured it out. It appears it was because Jkay Deluxe was installed. I decided to reflash the rom and try with a fresh copy of the framework-res.apk and everything appears to be working now.

Modding APK & .XML

i would like to learn how to mod apk's. is there a noob guide? what i want to do is be able to open a particular app from samsung with the htc album. i have tried installing the secgallery.apk and the phone doesnt see it once it is in system/app with the correct permissions.
thanks in advance!
found my answer
http://forum.xda-developers.com/showthread.php?t=1758928

[Q] SystemUI.apk won't load - Jiayu G4 JB 4.2.2

Hi, I already took a look around this forum and searched for this problem on Google, but i can't find an useful solution that is not "reinstall the ROM"
and i would like to avoid it.
I'm trying to edit my SystemUI.apk, to make the status-bar background back to black. (right now it's trasparent and it's driving me crazy)
with apktool i installed the framework-res.apk and the systemui.apk, then i extracted the systemui.apk, modified it, i placed inside the resources.arsc then recompiled it, i took the apk into systemui/dist and placed back on my cellphone, then i replaced the original SystemUI.apk with fx root explorer and my jiayu rebooted by himself.
Then I saw that the status bar, notifications, wallpaper, everything, was disappeared, i can't toggle anymore my smartphone to the pc.
There was a backup of the systemui.apk, systemui.odex and framework-res.apk, so i placed back the systemui.apk and the systemui.odex (like always).
Then i rebooted the smartphone manually but the wallpaper/statusbar/etc. (all the informations inside systemui.apk) still won't load.
I tried replacing them again, shutting down, remove the battery, rebooting, replace the framework, i tried everything that was coming to mind to me.
On the internet i found a way to solve this problem with ADB toggle, but I can't find a way to make it work: it tells me that the application is installed on the SDCard where i don't even have an SDCard attached.
and i'm not able to install the SystemUI.apk using Terminal emulator either (another solution found on the internet).
Is there someone that knows how to solve this problem without installing the rom again? i would like to avoid the problem to put back in all of the stuff i have on my smartphone... there's maybe a way to regenerate the contents inside system/app without the entire rom.
Putting that stuff back in manually won't work...
-----------------
EDIT: Solved... Please delete this post and sorry for the troubles... The solution was easy: application list -> systemui -> delete updates and cache -> reboot.
Solved...

SystemUI and Settings APK

Hello,
Many users here are helpful and I have learned a lot..
To thank these good people I've modded a couple of Lollipop apk's and will upload them here for others as a thank you.
These two have been modded for my personal use.
SystemUI.apk mod:
After upgrading my Samsung Galaxy Note 4 (SM-N910G) to Android Loillipop 5.0.1 I was again facing the much disliked "S Finder" and "Quick Connect" buttons in the notification tray.
As I dislike the S Finder and Quick Connect being in the notification tray, they have been removed.
Settings.apk mod:
Since I have disabled/removed a lot of apps I have no use for the following items, they have been removed from the Settings menu
Accessibility
Easy mode
Private mode
Safety assistance
These apk's need to be copied into their original locations (will need root access)
Please back up your original files before doing any of this as I am not responsible if you stuff something up :crying:
SystemUI.apk is located in /system/priv-app/SystemUI
SecSettings.apk is located in /system/priv-app/SecSettings
You will need to set the permissions to these files once you copy them over to rw-r-r--
Regards..
Here are the files
SecSettings.apk
http://www.mediafire.com/download/ctlzcyvenc2jka8/SecSettings.apk
SystemUI.apk
http://www.mediafire.com/download/cg1ne5ab3ue8j7m/SystemUI.apk
Enjoy
Will this work on SM-N910C?
Hi jmcostales,
I am not sure. I can only suggest that you "back up" your files and then try each one and see how you go. If the SystemUI.apk doesn't work for you the worst that will happen is a crash and no notification menu/pull-down. You will be able to copy over your old file and go back. I would assume the same thing for SecSettings.apk. It will either work or just simply crash when you try to access it. If it crashes just copy the old one back. If you decide to try these files don't forget to set the permissions once you copy the files over.
Thank you this work for me. you made me happy

Categories

Resources