[Q] Cannot delete apk from /system/app completely - Android Q&A, Help & Troubleshooting

Hi,
I deleted some applications from /system/app from console (adb shell rm /system/app/...) but they still in my apps list .
I can see their names in launcher menu .. but without proper icons , just default android icon placeholders.
Should I remove something else besides apk from /system/app ?
Also I see these packages in
pm list packages
but the apk files non exists in same time.
rm [path_to_package] - no such file
pm uninstall [pakage] - Failure

I found the solution. All related data in /data/data/[package-name] should be deleted also. Then reboot and now everything is ok. :victory:

just do clear data of launcher. in setting>apps
deleted apps will not be shown.

reversegear said:
just do clear data of launcher. in setting>apps
deleted apps will not be shown.
Click to expand...
Click to collapse
clear data will wipe all configuration and is a last resort. usually relaunching the launcher or rebooting the phone will do. Corpse files can be manually removed or via an app like SDmaid.
Sent from my GT-N7000 using Xparent SkyBlue Tapatalk 2

Related

Help --> stock calendar

Hello, i tryed to install androir stock calendar.
i deleted calendar, calendarprovider and semccalendar vanilla or somethink like that
now i cannot install the stock calendar and calendarprovider.apk
can anyone help?
i can use ADB to install id (with rootexplorer i cannot copy the files to system/app even it i am rooted
Help please
Did you delete apps from system/app or moved to /data/app and then uninstalled it?
The correct way to remove default apps is to move then from system/app to data/app, reboot and the uninstall it opening settings/manage applications.
If you just deleted apps from system, its better to repair your phone with SEUS and remove stock apps with correct way. Believe me, I removed apps before without uninstalling then and system was sucking my battery very fast. Just make a repair, uninstalled things correctly and now my phone is so much better.
Wat is the need of removing the app make backup of that and replace wid the android default calendar...
Sent from my U20i using XDA App
Yes i think i have deleted directly from System/app :-(
but i think there is a way to install it with ADB no?
maybe i can put original SE calendar and remove again the correct way?
I didn't try it, but I think u can...
mclaudio said:
Yes i think i have deleted directly from System/app :-(
but i think there is a way to install it with ADB no?
maybe i can put original SE calendar and remove again the correct way?
Click to expand...
Click to collapse
Did the "rm /system/app/Candendar.apk" and wondered why it didn't work.
The system keeps some files in memory and they survive the "rm" command. Fixed this by doing;
1. Setting> Applications > Manage Applications and removing all calendar named apps, (there were about 4 still including com.sonyericsson.calandar!)
2. Restart phone.
3. Copy standard Calendar and CalandarProvider across (I used scp and dropbear, you could do the same with adb or rootexplorer) Files are here http://forum.xda-developers.com/showpost.php?p=9434204&postcount=2
4. Restart phone. (I didn't need to run the "install" command, files were "chmod 644" already)
Now have the standard calendar rather than the SE calendar!
Solved ! thanks

[Q] How to convert User apps to System app?

I need to know how to convert User apps to System apps. I know Titanium Backup can do it but I don't want to pay 7 bucks for the pro version.
Do I just move the APK from the /data/app to /system/app?
I am on a deodexed ROM so no odex files to move.
If I convert these user apps to system apps will it raise the OOM value? That's what I am after really.
GO Launcher gets killed way to easily. And while I am at it, I what to move GO SMS and Miren Browser if this will work.
If you have problems with Go Launcher quitting, then try the options called "System persistent" and "Prevent Force Close" in the app settings if you haven't tried that.
Yea I have that selected. The thing is, my phone doesn't have alot of memory. I have about 120 MB of ram with all apps closed and only about 40 MB free till android kills apps. So only really have about 80mb.
BazookaAce said:
If you have problems with Go Launcher quitting, then try the options called "System persistent" and "Prevent Force Close" in the app settings if you haven't tried that.
Click to expand...
Click to collapse
Sent from my SPH-D700 using XDA App
I just flash apps to /system/app
Sent from my PG86100 using xda premium
Friend see this app, can move to system, is good, see the oficial thread in samdroid
forum.samdroid.net/f10/apps2rom-root-move-your-updated-applications-system-rom-5690/
Once you move the apk to /system/app, remember to set the permissions to rw-r--r-- and reboot. I'm not sure if this will change the oom value or not, but I think it does. If it doesn't work, try V6 Supercharger & apply the bulletproof launcher. It may help with other memory issues as well. You can also "bulletproof" other apps, but I'm not quite sure how as I haven't played with those options.
Sent from my Evo + MIUI using Tapatalk!
Thanks for the tip
hectorcore said:
Friend see this app, can move to system, is good, see the oficial thread in samdroid
forum.samdroid.net/f10/apps2rom-root-move-your-updated-applications-system-rom-5690/
Click to expand...
Click to collapse
I just installed this app and it works great! It makes app conversion a breeze on my U8150...
why some user apps didn't converted into system apps
i had converted some user apps like tubemate, q browser etc.but l want to convert more user apps into system apps like next launcher,opera mini,es file explore,bluetooth file transfer but these apps didn't converted into systen apps next launcher is converted but it crash while lunching.
why so happend?
roshangautam07 said:
i had converted some user apps like tubemate, q browser etc.but l want to convert more user apps into system apps like next launcher,opera mini,es file explore,bluetooth file transfer but these apps didn't converted into systen apps next launcher is converted but it crash while lunching.
why so happend?
Click to expand...
Click to collapse
maybe you have to generate the .odex files for those new system apps, you moved to system!
like this:
start your terminal emulator and type:
to change in the right directory
cd /system/app
use root rights with su and generate the data
su
dexopt-wrapper Vending.apk Vending.odex
or
dexopt-wrapper YouTube.apk YouTube.odex
and dont forget to set the read write permissions the right way
no reboot and wipe the dalvik cache!
For those not converted apps, how did you convert them?
.. maybe really try to move them not with /system/app mover, but by copy pasting them in a file explorer.
thenobol said:
maybe you have to generate the .odex files for those new system apps, you moved to system!
like this:
start your terminal emulator and type:
to change in the right directory
cd /system/app
use root rights with su and generate the data
su
dexopt-wrapper Vending.apk Vending.odex
or
dexopt-wrapper YouTube.apk YouTube.odex
and dont forget to set the read write permissions the right way
no reboot and wipe the dalvik cache!
For those not converted apps, how did you convert them?
.. maybe really try to move them not with /system/app mover, but by copy pasting them in a file explorer.
Click to expand...
Click to collapse
I'm trying to convert 'launcher2.apk' on my LG optimus 1 with offical cm7 into a system app, to replace adw launcher. Any ideas? :confused
In my experience not all apps works good as system apps. I have to try every time an update comes too.
Sent from my HTC Desire X using XDA Free mobile app
This is the problem I'm facing now. Hope the details I have in that thread will help others and ,someone could help me about the problem I'm facing.
http://forum.xda-developers.com/showthread.php?t=2956631
Troubles in Making user apps as system apps
Sent from my HTC Desire X using XDA Free mobile app

[Q] How can I uninstall completely an app?

Hello guys.
I want to know if there is a way that I can completely uninstall an application from phone system. And I don't mean the default uninstall.
After an uninstall there are always some app's files left behind. How can I find them and delete them? Or is there an application that we can uninstall all the files of a game for example with just clicking "uninstall"??
Thanks for your help
Try SD Maid from play store.
And look at system/app for .odex files from apps you have removed.
Which sometimes remain behind.
"Debloater" from market removes all app files also dalvik.just press yes to reboot after deleting system apps and all is gone..
without root???
zodiaxe66 said:
"Debloater" from market removes all app files also dalvik.just press yes to reboot after deleting system apps and all is gone..
Click to expand...
Click to collapse
is there a chance that i can do it without rooting my device?

[Q] Move /system/app to /data/app

How to Move APK
Move /system/app to /data/app
I copy APK but I can not see the phone menu.
V /data/app is name example:
com.sonyericsson.nameapplication-1.apk
LeClair said:
How to Move APK
Move /system/app to /data/app
I copy APK but I can not see the phone menu.
V /data/app is name example:
com.sonyericsson.nameapplication-1.apk
Click to expand...
Click to collapse
did you change the permissions for apk
Please don't do that. Here is the reason - In the Android manifest.XML, there are many permissions which are required by the app. Some special permissions are granted only to system apps. Normal apps cannot have those permissions. So, when you move the system app to data/app you are trying to convert a system app to a normal app. Hence it will never work. However there are a few system apps which can be safely converted to normal apps like the pre loaded Facebook app etc.
Sent from my Xperia S using xda app-developers app
abcdjdj said:
Please don't do that. Here is the reason - In the Android manifest.XML, there are many permissions which are required by the app. Some special permissions are granted only to system apps. Normal apps cannot have those permissions. So, when you move the system app to data/app you are trying to convert a system app to a normal app. Hence it will never work. However there are a few system apps which can be safely converted to normal apps like the pre loaded Facebook app etc.
Sent from my Xperia S using xda app-developers app
Click to expand...
Click to collapse
Do "All" the bloatware come under this category too?
Regards
N
Hmmm.....tell us which system apps you want to move to data/app????
there only a few system app that can be move without having problem while using it....the best choice to move it is to use System Cleanup....it can move system app to data/app, delete system app, freeze app or disable autorun in app....you can view which system app can be deleted...those can be deleted also can be move to data/app....

Bootloop after removing system apps - miui8

Hi,
I am currently on the latest version of global dev (MM)
After removing system apps (even gapps like Gmail and so on), the phone doesn't boot
It has this loading boot animation at the bottom, and after it finish "loading", half a minute later it's starts again
I want a debloated version of miui.
Is there any rom that provides that out of the box?
Try below MIUI debloating script..
http://forum.xda-developers.com/redmi-note-3/how-to/redmi-note-3-pro-snapdragon-miui-t3372437
What all you meant by 'so on'.. Now to get the Phone working again, Re flash the rom again.. Uninstall only those apps, you know for sure..
Sent from my Xiaomi Mi 5 using XDA Labs
Thanks for the replies
I have tried to Uninstall those apps which on the post but resulted in the same result.
And by "so on" I mean that every system app uninstalled results in a bootloop
The only thing I could uninstall was the precomed Facebook app
shose said:
Thanks for the replies
I have tried to Uninstall those apps which on the post but resulted in the same result.
And by "so on" I mean that every system app uninstalled results in a bootloop
The only thing I could uninstall was the precomed Facebook app
Click to expand...
Click to collapse
You are doing it wrong...
you are just uninstalling apks. there are folders on /system/app which contains oat, if you uninstall just apk there will be bootloop
If you have twrp then goto file manager of twrp and goto /system then app or priv-app and goto folder of that specific app for example you want to delete google drive then open google drive folder and give Chmod 777 permission to that folder *THIS IS COMPULSORY* then delete the entire google drive folder...
This is what that script do...
Please hit thanks if i help you ????
shose said:
Thanks for the replies
I have tried to Uninstall those apps which on the post but resulted in the same result.
And by "so on" I mean that every system app uninstalled results in a bootloop
The only thing I could uninstall was the precomed Facebook app
Click to expand...
Click to collapse
You can uninstall all the Google system apps, which are available in the play store.. So that you can install and uninstall anytime you want to.. But see to that you don't do that to play store, play services or the framework..
Sent from my Xiaomi Mi 5 using XDA Labs
I need to give chmod permission to the folder I delete or to the outer folder?
And I give the permission through twrp? (I have the zcx twrp)
shose said:
I need to give chmod permission to the folder I delete or to the outer folder?
And I give the permission through twrp? (I have the zcx twrp)
Click to expand...
Click to collapse
For what.? Uninstalling.?
Sent from my Xiaomi Mi 5 using XDA Labs
For deleting those apps (uninstalling = deleting apps, isn't the right way)
By what iceman says, it need to be done by the permission delete
shose said:
For deleting those apps (uninstalling = deleting apps, isn't the right way)
By what iceman says, it need to be done by the permission delete
Click to expand...
Click to collapse
Not necessarily, you should do from recovery.. Instead, Boot up the phone.. Install Link2SD or other root app manager.. Grant root permissions to it.. Clear the data of the system app.. Uninstall it.. Simple
Sent from my Xiaomi Mi 5 using XDA Labs
http://forum.xda-developers.com/redmi-note-3/how-to/miui-8-global-dev-bloater-recovery-t3465318
easier...just flash these scripts....no bootloops here.
Slightly off-topic I had this problem with a similar device. After rooting my phone I installed a system-app-uninstaller to get rid of the "Google App". Removing this specific app caused continuous boot looping.
To avoid this, I duckduckgo'd the problem and found this anonymous closed&deleted (but ingenious) post at Reddit:
{
[deleted] 2 points 2 years ago
Hey! I figured out a way to delete the app(using root of course) without causing a bootloop. The secret is to go to Settings>Apps>Advanced(In the top right)>Deafult Apps>Assist & voice input>None. After doing that, reboot, and then u can delete the app
}
Yes i made the mistake of changing the setting to "None" and then immediately uninstalling it.
Don't do that!
After restoring my twrp backup for the millionth time, I changed the setting to "None", rebooted my phone, disabled and force-stopped the service, rebooted my phone... And then uninstalled it. Victory!

Categories

Resources