Related
Latest end-user Omnirom 4.4.2 for the LG P500 can be found here:
http://jenkins.androidarmv6.org/job.../archive/omni-4.4.2-20140214-p500-NIGHTLY.zip
I am starting this to stimulate interest in the Omnirom, get/give advice and help on how to get it working on our device. My hope is that one of the devs would take this over and move from a discussion to a dev thread if need be. I can really offer no help at this point as I have not yet gotten this installed and running.
Another reason to start this is to keep from less than courtiously cluttering other threads with this stuff.
Finally, cm-11 for our device is quite problematic so I seek another Kitkat chocolate treat
==================================
Omni has two big problems holding up a working install on our device:
1. Omni is not rooted by default. I tried flashing a superuser.zip, still had no root. I have copied a full cm-11 su (binary) to the zip, tried that but installation was aborted for other reasons so could not yet test this approach. Please, devs, give us normal root in this ROM. Not so useful without it.
2. No adb until boot completed and I approve it. Great idea for security, but this thing is still experimental. So I cannot ride herd on the installation as I am accustomed nor run a certain script that I need from later cm10.* and cm11. As it turns out, Omni will run the script, cm11 would not. However, once I have attempted an Omni boot, I cannot get adb back outside of that successful boot until I restore another ROM! Means no adb reboot, adb reboot recovery, nada. Makes things very very problematic.
Omni will run my /data/local/userinit.d/ scripts which recent cm10.* and cm11 refuse. I always ran ICS this way, and I could presumably get a complete startup sans boot this way. To try this next--caution: Kitkat Link2sd mount script is not identical to previous ones so this must be placed to try this. Using the older version (maybe newer one as well!), everything simply FCs out, get nowhere. Link2sd needs root the create the script normally, Xposed needs root to get going, and Titanium and other tools are more useful with root as well. Lack of root is the main problem right now. Please ...
==========================
The usual disclaimer: If you have rooted your device, the warantee is void. Of course, for this oldie but goodie, that is just a distant memory. However, these phones are still being sold so if you got a new one, be warned.
I can not be responsible for brickage and breakage. Especially without that always active adb umbillical, it is much easier to soft-brick the device and it can get hairy-scarey getting back to recovery. Again, be warned.
The recent JB and KitKat ROMs are too large for our devices and must be trimmed before installation. My philosophy is that anything not needed to get Android up and running does not belong on system. Practically, anything installable from Play or side-loadable as user apps should be removed from system/app. Examples are Calendar (install Play version), calculator, camera/gallery, browsers, emailers and such. There are superior choices on Play or side-load those included with the ROM. If using Google Search, also remove the quicksearchbox. system/usr/srec, system speech recognition config, can be pushed to sdext and symlinked from there, freeing a good few meg. You do not need a lot but do need a few meg free on system.
Link2sd or equivalant is needed to keep data space available. Things get flakey when data space gets too low. Gluttonous apps like the newer Swype and Tapatalk (just a few examples--great apps, do not get me wrong) will very quickly run you out of data space and gobble up too much RAM as well, slowing the works. Choose wisely
So here is my next trial:
BACKUP!
Make sure no old 11link2sd script is on /data/local/userinit.d/
Wiped dalvik-cache, restored the sdext from the backup since the CWM seems to wipe this as well.
Wiped cache partition (actually, no longer used for very much!).
Installed the omni nightly which formats /system and proceeds.
Installed the minimal GAPPSlight.zip.
Reboot.
Came up just fine. First asks to enable adb for this computer, said "yes," "always for this computer."
Adb now active and adb, in any event, adb does have root!
Went to link2sd. Cannot get root. Went through all the setup options (including root for apps and abd!). Still not root.
So copied a new 11link2sd to /data/local/userinit.d/
Power menu advanced reboot active in setting and it actually works, avoiding above-mentioned fears
Rebooted.
Bootup runs all my scripts so now have all the link2sd-linked apps.
I could call this a BUG: It neither re-asks the adb question nor places it online. So ... no more abd
Still no root -- tried to activate exposed which without root will not do anything.
Rebooted anyway.
Came up just fine, as before. No root, no Xposed, Still no abd.
Comments:
Otherwise, works just fine, seems responsive. If I were willing to live without root, I could go on with it as a daily driver. Next trial, I will not check "always for this computer." Maybe then it will re-ask me and so re-enable abd.
Shares with cm-11 the flash of a disabled homescreen before the lockscreen. Harmless (as long as it is very brief).
Shares with cm-11 the "upgrading ... restarting apps ..." message on each reboot. Harmless, as long as linked apps, dexes are not being unlinked. Did not check, but cm-11 was no longer do that with the newest link2sd version.
The screen begins to turn off much more quickly. In cm-11, this took a good few minutes, eating the battery as it went.
Background processes came up more quickly (subjective) than cm-11, even though some lacked root to function correctly.
Did not really check if it shares the dissappearing data space problem which for many is a showstopper in cm-11. Initial space seemed appropriate, not half of expected amount. Without adb, can be checked using the SLW storage widget. I should really have done this.
Root remains the main problem with this. Neither flashing a superuser nor placing a full cm-11 su on the ROM enable root. Someone know how?
Attempts at getting root:
The recommended way is to flash SuperSU's zip (available from their XDA thread, surprisingly, not from Play). Since flashing this has twice bricked me up, I am loath to try that once more.
First attempt was the create an init.d type script to start the su daemon. I had placed a Cm-11 su on the ROM's zip before flashing. Voile, manually running that script from adb got me root. The command on adb shell hung up but it had run. Link2sd made its mount script (of which I have my own copy so whatever ...), even accepting the previous approval!
So I placed it on /data/local/userinit.d/ with all my others. On reboot, daemon was indeed running. Tried to activate Xposed. Attempts hung up, then failed. Running superuser (installed from Play as user app, symlinked) would FC. Noticed that I had multiple incidences of the su running which might be indicative of something!
So went back to recovery, removed my script, and flashed the CMW superuser.zip. On reboot, daemon was running. However, any attempt to use superuser FC'd. Removed the apk from system/app, rebooted to regain use of my installed version. Same result.
This issue of root needs be properly resolved to use this ROM.
So back to recovery and cm-10.2 which meanwhile may well be the optimal ROM for this device!
BTW: If the always for this computer was not checked on giving adb permission, after reboot and after a while, the question will be re-asked and one can get adb once again which is good new, though a bit less convenient.
This omni ROM from my humble opinion is quite bizarre and funny. What's really the intention to release ROM that need rooted device to install it (need recovery so first device must be rooted), but then rooted apps didn't work since no SU installed .
Sorry omni devs and anyone. No offence. Just express my opinion.
I tried Superuser.apk and SU from xda but failed.
Sent from my Optimus One using xda app-developers app
Some things I'd like to ask/share
1. My play store isn't working. I've trimmed the ROM n installed gapps too n installed play services too. Bt when i open play store, it works fine. But i can only see spinner loading under 'My Apps' n when I install any app, it gives fc. Then i have to clear data to open it again. What to do? Is it something to do with dpi? Because I've changed the dpi.
2. How to change tiles? I can't get its settings.
3. Any other int2ext script working?
4. Screen record has a very low fps and after recording, the phone becomes unusable. Have to restart
5. I found this ROM more snappy than any other CM11. Thanks to performance controls. Its awesome!
6. Only if root worked, this would be the BEST KitKat ROM for our phone.
(I'm trying to fix it too)
This ROM can be used aa a daily driver if u don't use much apps and root isn't a big issue. Great work
:thumbup:
EDIT:
Link for root in Omni ROM:
http://forum.xda-developers.com/showpost.php?p=50863602
Sent from my LG-P500 using XDA Premium 4 mobile app
Tried again to get root:
I can, in adb shell, su --daemon.
This gets me root for this session. Link2sd will create its mount script!
Rebooted. Thought that the root could be magically persistent as someone posted on some thread somewhere (did a lot of searching! and there were two instances the last time when I used a init.d script to do this). It was not so did su --daemon. Tried to use Xposed. Chugged a while, permission denied. CWM superuser's UI does not work on cm-11, not on this either. But it did not FC!
So I adb pushed SuperSU to system (I have enough room!). It wanted to install its binary. So I rebooted into recovery and flashed that.
On reboot, the su daemon was indeed running It has an 'R' instead of an 'S' on the column before its name. SuperSU also had a process running so thought hey, OK (and it did not brick the phone this time!). Tried to run Xposed. Simply sat there. Tried to run SuperSU, said it needed its binary and could not install it. Yuk! Never did like this app. On cm-10.2, even if CWM superuser wants a new binary, its UI will work anyway. Tried to run that. FC this time.
I never did check free data space.This after several successful reboots with no alarms about it. Overlayed the SLW widget onto link2sd and ran it. Only had 20meg. Fact is I had never ran link2sd to clean up dalvik and such so tried it now. Relink all apps simply chugged along. This can take time, even if it reports nothing to do! Finally lost patience with it but could not kill link2sd with back key (My fault? Options do not take effect until setting run, even if they were checked, it seems). Have to consider the possibility that the "disappearing data space" bug may be in this ROM as well as cm-11 (which, if so, would place it in the AOSP code!). No real way to check it without working root so everything plays.
Rebooted recovery, back to cm-10.2. BTW: the su daemon here has the 'S'.
rhar**** said:
Some things I'd like to ask/share
1. My play store isn't working. I've trimmed the ROM n installed gapps too n installed play services too. Bt when i open play store, it works fine. But i can only see spinner loading under 'My Apps' n when I install any app, it gives fc. Then i have to clear data to open it again. What to do? Is it something to do with dpi? Because I've changed the dpi.
Click to expand...
Click to collapse
Don't know. I only change DPI using Xposed which has not been enabled yet
2. How to change tiles? I can't get its settings.
Click to expand...
Click to collapse
I assume you mean those on the right-side pulldown. Have not found the interface either. Toggle to get that and enough of them are there.
3. Any other int2ext script working?
Click to expand...
Click to collapse
Need root. I did get link2sd to create it mount script after su --daemon.
4. Screen record has a very low fps and after recording, the phone becomes unusable. Have to restart
Click to expand...
Click to collapse
Never tried it. May also be DPI related?
5. I found this ROM more snappy than any other CM11. Thanks to performance controls. Its awesome!
6. Only if root worked, this would be the BEST KitKat ROM for our phone.
(I'm trying to fix it too)
This ROM can be used aa a daily driver if u don't use much apps and root isn't a big issue. Great work
:thumbup:
Click to expand...
Click to collapse
Yeah. Since I can get link2sd mounts either by running the daemon once or placing my copy, I have all my apps available (root ones will not be very happy). I used Xposed and need one round of root for this but that, as opposed to link2sd, did not work.
I have to admit that I do not know much about how su works. But the same su file is present in /system/xbin and is listed in file_contexts. SU.apk or supersu.apk have not been included in /system/app for at least cm10.1+.
Sent from my LG-P509 using Tapatalk 2
ibub said:
I have to admit that I do not know much about how su works. But the same su file is present in /system/xbin and is listed in file_contexts. SU.apk or supersu.apk have not been included in /system/app for at least cm10.1+.
Sent from my LG-P509 using Tapatalk 2
Click to expand...
Click to collapse
Is that su in /system/xbin is binary command to get root access on system file? You must run this command in terminal. However, Terminal.apk only can be launched if SU.apk or Superuser.apk present in /system/app.
So, in my opinion SU or Superuser is needed to run rooted apps (such as TB, Link2SD). Maybe Busybox is required too?
Sent from my Optimus One using xda app-developers app
ibub said:
I have to admit that I do not know much about how su works. But the same su file is present in /system/xbin and is listed in file_contexts. SU.apk or supersu.apk have not been included in /system/app for at least cm10.1+. :confused
Click to expand...
Click to collapse
System/xbin/su is the binary. One included on the ROM is tiny, barebones (no root). I replaced it with one from cm-11. When it is working right, I believe this gives you the dialog: Allow-Deny, Now-10min-always and such. It also has a daemon mode which services root access. I have not gotten the dialog on the Omni after manually starting the daemon.
That daemon needs be started early-on. Even an init.d script may not be good enough (Omni has real init.d capability as opposed to cm-11!). There is a "persistant-root" item in cm-11's build.prop. Maybe this will work here too the with cm-11 binary?
The apk is a user installable app (or gets placed on system by flashing zip). This gives access to the application-by-application permissions granted or denied in the above dialog, enabling changing them. SuperSU offers the most alternatives but is the most ticklish. CWM superuser is simpler, less finicky but seems not to work on 4.4.*. This is part of the problem. On cm-11, I have root, have the above dialog, superuser does not FC but no UI. On the Omni, since root was achieve manually after-the-boot, more problematic.
There are other apks around, superuser-elite, paid versions, etc. They are not exclusive--I had three of them around until I removed them and kept CWM. Any one of them good on cm-11? Should!!! work here too, he-he. The apk is not necessary to service root (i.e. mine is link2sd-symlinked and before link2sd gets its root, no mount script so no app seen).
xu3sno said:
Is that su in /system/xbin is binary command to get root access on system file? You must run this command in terminal. However, Terminal.apk only can be launched if SU.apk or Superuser.apk present in /system/app.
So, in my opinion SU or Superuser is needed to run rooted apps (such as TB, Link2SD). Maybe Busybox is required too?
Click to expand...
Click to collapse
Busybox is there, we do not have gnutls like normal distros--most everything goes through included busybox.
Terminal will work without the apk on /system/app. Cannot judge from the Omni because of no or incorrect root
I just learned a new set of tricks.
[email protected]:/ $ su -h
Usage: su [options] [--] [-] [LOGIN] [--] [args...]
Options:
-c, --command COMMAND pass COMMAND to the invoked shell
-h, --help display this help message and exit
-, -l, --login pretend the shell to be a login shell
-m, -p,
--preserve-environment do not change environment variables
-s, --shell SHELL use SHELL instead of the default /system/bin/sh
-v, --version display version number and exit
-V display version code and exit,
this is used almost exclusively by Superuser.apk
[email protected]:/ $
Sent from my LG-P509 using Tapatalk 2
ibub said:
I just learned a new set of tricks.
[email protected]:/ $ su -h
Usage: su [options] [--] [-] [LOGIN] [--] [args...]
Options:
-c, --command COMMAND pass COMMAND to the invoked shell
-h, --help display this help message and exit
-, -l, --login pretend the shell to be a login shell
-m, -p,
--preserve-environment do not change environment variables
-s, --shell SHELL use SHELL instead of the default /system/bin/sh
-v, --version display version number and exit
-V display version code and exit,
this is used almost exclusively by Superuser.apk
Click to expand...
Click to collapse
Yes, this simply a root version of sh. The one on this ROM probably will not allow anything.
The one from cm-11 will check permissions, give the dialog to ask if root working correctly.
Latest build omni-4.4.2-20140227 is up, triggered by androidmeda :good:
http://jenkins.androidarmv6.org/job/omni/4/
Download here:
http://jenkins.androidarmv6.org/job/omni/4/artifact/archive/omni-4.4.2-20140227-p500-NIGHTLY.zip
Will try is that SU or Superuser included
EDIT:
Just flashed it with clean install.
1. System reboot took under 3 minutes :good:
2. su binary exist at /system/xbin but not link to busybox binary which is present also at /system/xbin.
3. Installed Terminal.apk, it works but denied to run su command line
4. Installed Root Explorer.apk, works fine but failed to access root, such to change permission R/W of /system folder.
5. Referring to 3 and 4, apps need root access failed to work.
6. Tried to install SuperSU flashable zip, it replaced su binary from stock and it caused apps which is need root access (in my case gooim manager, root explorer, and Link2SD) not responded and apps're getting hang
7. Installed Superuser, launched it, works but need su binary.
Do we need latest SuperSU or Superuser, hence su binary is compatible with Android 4.4.2 ?. The installed one is for Android 2 and 3.
xu3sno said:
Latest build omni-4.4.2-20140227 is up, triggered by androidmeda :good:
http://jenkins.androidarmv6.org/job/omni/4/
Download here:
http://jenkins.androidarmv6.org/job/omni/4/artifact/archive/omni-4.4.2-20140227-p500-NIGHTLY.zip
Click to expand...
Click to collapse
Do not know what has changed. There have been kernel merges, etc.
***
2. su binary exist at /system/xbin but not link to busybox binary which is present also at /system/xbin.
3. Installed Terminal.apk, it works but denied to run su command line
***
Click to expand...
Click to collapse
The /system/xbin/su included with this ROM is for no-root access allowed. A blocker.
I placed the su from a cm-11 ROM. This can run its daemon and get root access. Works for link2sd but nothing else (i.e. Xposed), apparently. According to some googled posts, that daemon must be started very early on (as I stated before). I had it in an init.d script. Started but had same negative results. May try the persist.sys.root_access=1 flag in build.prop. Maybe the internally buried code in boot.img will start the daemon as requested here (if it was not removed). There is no explicit script in the cm-11 ROMs to start that daemon.
i have got an idea. But where is the source?
is this the source?
If yes, then where is settings?
EDIT:
Ok got it. Editing
rhar**** said:
i have got an idea. But where is the source?
is this the source?
If yes, then where is settings?
EDIT:
Ok got it. Editing
Click to expand...
Click to collapse
Okay. Waiting for edited omni ROM (SuperSU included ?), as you did with cm-10.1.5-KITKAT-Update_3 :good:
Wish you luck
Sent from my SM-T311 using xda app-developers app
rhar**** said:
i have got an idea. But where is the source?
is this the source?
If yes, then where is settings?
EDIT:
Ok got it. Editing
Click to expand...
Click to collapse
Great. SuperSU itself is problematic but will suffer with it if it works. Would prefer generic like other ROMs.
Anyway, as in my OP, I would be looking for a dev to take this thread over as a dev thread (or open one).
Another OMNI build
Another Omni build is released @ Jenkins, triggered by Androidmeda.Can d'load it from : http://jenkins.androidarmv6.org/view/All/job/omni-experimental/12/
sumansur2008 said:
Another Omni build is released @ Jenkins, triggered by Androidmeda.Can d'load it from : http://jenkins.androidarmv6.org/view/All/job/omni-experimental/12/
Click to expand...
Click to collapse
Labeled for commits about boot animation.
Anyway, downloading.
I'm on a rooted nexus 5 running stock kitkat 4.4.4 and xposed framework. I have no wish to update the operating system. I was able to stop the system update notifications in the past by simply disabling 3 receivers :
service:com.google.android.gms.update.SystemUpdateService$ Receiver
com.google.android.gms.update.SystemUpdateService$ ActiveReceiver
com.google.android.gms.update.SystemUpdateService$ SecretCodeReceiver
This worked for a while, then the system update notification appeared again! This time, to get rid of the notification I needed to use several adb commands:
1. adb shell su -c pm disable com.google.android.gms/.update.SystemUpdateService$ActiveReceiver
2. adb shell su -c pm disable com.google.android.gms/.update.SystemUpdateService$Receiver
3. adb shell su -c pm disable com.google.android.gms/.update.SystemUpdateService$SecretCodeReceiver
4. adb shell su -c pm disable com.google.android.gsf/.update.SystemUpdateActivity
5. adb shell su -c pm disable com.google.android.gsf/.update.SystemUpdatePanoActivity
6. adb shell su -c pm disable com.google.android.gsf/.update.SystemUpdateService
7. adb shell su -c pm disable com.google.android.gsf/.update.SystemUpdateService$Receiver
8. adb shell su -c pm disable com.google.android.gsf/.update.SystemUpdateService$SecretCodeReceiver
That worked - for a while..... ?
The notification to update to 5.0.1 has reappeared again. What else should I do to stop it this time?
Appreciate any help.
That's a lot of work. And you're missing out on a bunch of pretty important security updates.
Sent from my Nexus 5 using Tapatalk
Like it the way it is.
I recommend you installing three apps to disable this fully:
AppOpsXposed
MyAndroidTools
Servicely
In appopsxposed what you need to do is to disable the "wake up" function of google play services as well as other brothers of it (google services framework)
MyAndroidTools
to disable update service simply go to the services tab in it and search for google play services:
On the upper right side click Full/Short button and you should be able to see the full extension file for each services
Search Update$Service and disablle all related services for it (there are 4, policyintent, updaterservice and I forgot the last two)
Servicely is to stop the all in all process and services of Gsm/Gcm which reboots the update service(dont know if this is a leak)
just install it into priv-app and give octal permission 0777 and select google play service and frameworks as a hitlist and you should have no worries about anything.
Let me know when this helped you and please press thanks if it does try it first it wont consume much time
Phantom, you're a life saver. I'll try what you suggest and let you know if it worked.
Thank you.
Also dont forget to disable broadcast receiver for system$update services located in.. Well broadcast receiver haha
Just use myandroidtools
Click broadcast receiver and navigate to system, find gplay services and type in systemupdate, again there are 4 receivers for it disable all of it
OK. I installed all 3 apps.
1. Did the appOpsXposed part.
2. Have trouble in Myandroidtools. None of the items have Update$Service in them. (No $). I'm attaching a screenshot so you can tell me which 4 to disable.
3. I installed Servicely but, how do I "install it into priv-app" ?
Thank you.
phantom146 said:
Also dont forget to disable broadcast receiver for system$update services located in.. Well broadcast receiver haha
Just use myandroidtools
Click broadcast receiver and navigate to system, find gplay services and type in systemupdate, again there are 4 receivers for it disable all of it
Click to expand...
Click to collapse
I messed up.
Went to Google play services, clicked on system update (I think, can't remember) which had a checkmark in its select box and now it disappeared!
Help.
(I did a nandroid backup before starting but maybe there a simpler way).
phantom146 said:
Also dont forget to disable broadcast receiver for system$update services located in.. Well broadcast receiver haha
Just use myandroidtools
Click broadcast receiver and navigate to system, find gplay services and type in systemupdate, again there are 4 receivers for it disable all of it
Click to expand...
Click to collapse
Here's my screenshot for that. Not sure what those in red mean and whether selected means enabled or disabled.
Here's the screenshot
maybeme2 said:
Here's my screenshot for that. Not sure what those in red mean and whether selected means enabled or disabled.
Click to expand...
Click to collapse
Red means it was disabled.
To disable a service and a receiver click the name itself not the checkbox and no you didntessed up it disappeared becauseit was an active service it went to the bottom line of the queue
Let me give you a screenshot here
---------- Post added at 04:27 AM ---------- Previous post was at 04:17 AM ----------
maybeme2 said:
I messed up.
Went to Google play services, clicked on system update (I think, can't remember) which had a checkmark in its select box and now it disappeared!
Help.
(I did a nandroid backup before starting but maybe there a simpler way).
Click to expand...
Click to collapse
You didn't messed up just relax
It disappeared because it was moved back to queue.
To disable a service and a receiver let me remind you to click the name not the checkbox, if you click the checkbox it will reappear again.
Heres the system update service and receiver i disabled for you and my wakelocks for Gplayservices as well as my partial wakelocks in my N5 with heavy tweaks on my battery life, shown by BBS(better battery stats)
I dont have any wakeups from Gplayservices to be honest
and here is my batt life with some data usage on
---------- Post added at 04:46 AM ---------- Previous post was at 04:27 AM ----------
maybeme2 said:
OK. I installed all 3 apps.
1. Did the appOpsXposed part.
2. Have trouble in Myandroidtools. None of the items have Update$Service in them. (No $). I'm attaching a screenshot so you can tell me which 4 to disable.
3. I installed Servicely but, how do I "install it into priv-app" ?
Thank you.
Click to expand...
Click to collapse
Download root explorer or any explorer that can do a read/write(basically almost all of them such as solid explorer)
download the apk for servicely you can find a lot inside the huge cloud of the internet haha
once downloaded copy the servicely apk using the explorer of your choice and navigate to root/system/priv-app and paste it there. Press and hold the apk it should prompt you with many choices, find permissions there and put check on all the boxes for permissions
dont forget that you need to enable r/w or read/write permission first for your explorer or else you wont be able to edit permissions or move an apk file inside the system/priv-app
All done and everything worked. System update gone. Thank you.
maybeme2 said:
All done and everything worked. System update gone. Thank you.
Click to expand...
Click to collapse
My pleasure
This also worked perfectly on my M8. Wanted to stay at lollipop 5.1.1. Once I did the steps here Marshmallow ota went away.
Sent from my HTC One_M8 using Tapatalk
gustav30 said:
This also worked perfectly on my M8. Wanted to stay at lollipop 5.1.1. Once I did the steps here Marshmallow ota went away.
Sent from my HTC One_M8 using Tapatalk
Click to expand...
Click to collapse
Now press the magic button lol
How to uninstall system app or any app without having rooted?
1) Connect your phone via USB
2) Turn android debugging on
3) Go to android shell using $ adb shell
how to remove apps now
use this command now
pm uninstall -k --user 0 com.my.demo.app
comment below
to undo the changes:
adb shell cmd package install-existing com.my.demo.app
Would I still be able to update my software without issues in my Galaxy s9 for instance after removing bloat via this method?? If yes, would it bring the apps back??
dannyella said:
Would I still be able to update my software without issues in my Galaxy s9 for instance after removing bloat via this method?? If yes, would it bring the apps back??
Click to expand...
Click to collapse
Yes you will be able to to update your device without any issue.
No your app will not be back unless the app's apk is present in the update package.
Hi,
Do you have any ideea how to re-install an app uninstalled by miskate?
Thanks
This pm uninstall -k --user 0 com.my.demo.app only removes the app from user 0 ( current user )
Sooo to reinstall and app, you will need to factory default your device
Please Help~
I've done the steps on your video https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/ .... but the result is always "failure" not found ... can you please help me. Thank You.
This might be silly, but how do we get the app's identifier, like com.demo.my.app? Settings > Apps does not seem to have that info.
akki-k said:
This might be silly, but how do we get the app's identifier, like com.demo.my.app? Settings > Apps does not seem to have that info.
Click to expand...
Click to collapse
Code:
adb shell pm list packages | grep <search-term>
Example: You can type "chrome" instead of <search-term> to find the Chrome browser.
For graphical solution you can install the app named "Package Name Viewer 2.0" by csing. :good:
edit: You can see the article Debloat: https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
dannyella said:
Would I still be able to update my software without issues in my Galaxy s9 for instance after removing bloat via this method?? If yes, would it bring the apps back??
Click to expand...
Click to collapse
Yes
adipaval said:
Hi,
Do you have any ideea how to re-install an app uninstalled by miskate?
Thanks
Click to expand...
Click to collapse
I´m still looking for a solution.
Already tried pm enable or pm install -r with the apk. no success. any clue?
When after enabling Android debugging I am giving the command adb she'll from terminal in my lunix laptop I am getting an output "nicklaus_f:/
What is this?
But when I am giving the command ' adb shell pm list packages' the output I am getting is
/System/bin/sh: adb: not found
127!nicklaus_f:/$
Please advise what to do
gsantra said:
When after enabling Android debugging I am giving the command adb she'll from terminal in my lunix laptop I am getting an output "nicklaus_f:/
What is this?
But when I am giving the command ' adb shell pm list packages' the output I am getting is
/System/bin/sh: adb: not found
127!nicklaus_f:/$
Please advise what to do
Click to expand...
Click to collapse
Try reinstalling adb drivers for your device.
---------- Post added at 02:35 AM ---------- Previous post was at 02:34 AM ----------
Would give this a try as soon as i get my hands on a proper pc. The korean apps on my phone are very annoying.
Is there a command to enable apps without factory reset?
gsantra said:
When after enabling Android debugging I am giving the command adb she'll from terminal in my lunix laptop I am getting an output "nicklaus_f:/
What is this?
But when I am giving the command ' adb shell pm list packages' the output I am getting is
/System/bin/sh: adb: not found
127!nicklaus_f:/$
Please advise what to do
Click to expand...
Click to collapse
I would say
1. Download from android themselves:
developer.android.com/studio/releases/platform-tools
2. Extract the .zip file somewhere on your computer and add that folder to your windows PATH variable so you can reference it from anywhere using command prompt (cmd.exe).
kdm6389 said:
How to uninstall system app or any app without having rooted?
1) Connect your phone via USB
2) Turn android debugging on
3) Go to android shell using $ adb shell
how to remove apps now
use this command now
pm uninstall -k --user 0 com.my.demo.app
comment below
Click to expand...
Click to collapse
Any way to install user app as system apps from adb ?
[GS] said:
Any way to install user app as system apps from adb ?
Click to expand...
Click to collapse
There technically is a way. Just not as "graceful"
android.stackexchange.com/questions/27/how-do-i-properly-install-a-system-app-given-its-apk
adipaval said:
Hi,
Do you have any ideea how to re-install an app uninstalled by miskate?
Thanks
Click to expand...
Click to collapse
pm default-state app.name
Im trying to unistall a system app and after running pm uninstall -k --user 0 'com.icoolme.android.weather' nothing happens.
There no sucess or failure message.
Anyone knows why that happens and what can I do to fix it?
https://forum.xda-developers.com/picture.php?albumid=15288&pictureid=58390
I had to do it twice, because I didn't turn off auto update in Galaxy Apps and didn't uninstall Secure Folder before I started. I'm not 100% of the connection, but somehow Bixby came back, but I uninstalled Secure Folder, turned off Auto Update, and it worked great. They got root for my device like two days later, so kind of pointless, but it helped a lot! Thanks! :good:
please I need help how can I enable an application that I uninstall by mistake ('com.google.android.apps.photos'), without factory reset, besides which is the command that I should use to disable an application?
nota: the options that are in previous comments do not work
Dear early adopters, I recently switched to Android 10 without any hassle. Root and TWRP have been contained after taking the necessary steps, already mentioned over and over.
The one thing I do not get however is why the app "System App Remover (root needed)" seems to be softbricking my device.
I am on the latest TWRP 3.3.1-65 by mauronofrio, Magisk beta 19.4. Everything is working fine, until I use the app mentioned above.
The apps I am deleting did not yet ever cause any problem at all getting deleted by this exact app so this seems to be app-specific.
Apps I am deleting e.g.:
Chrome
Netflix
Gmail
Google
Google Movies
Google Music
Google Books (or slightly different)
In general just some bloatware. Everything is working flawlessly until I reboot. I am then shown the typical safetynet screen for about 30 seconds and then taken to the fastboot screen, rendering the device useless-as-is. I did try deleting Netflix only as well with the same results.
The only thing reverting those steps is flashing the ROM in TWRP, flashing TWRP and magisk for obvious reasons and trying all over again.
I did try deleting the same apps in Titanium Backup. Deleting Netlix worked without any hickups it seemed. A reboot brought it back up again.
Google apps such as Chrome and Gmail are even getting me a nice "apk-file could not be found/located" message.
How do you guys get rid off those unwanted apps on Android 10 then? Am I missing something? I would appreciate a more technical explanation on the topic as to why things are the way they are if anyone of you guys experiences the same.
I had the same problem until I flashed Magisk Stable. Now no problem to remove system apps on android 10.
You can manually remove system apps using a file manager with root access. Go to system/app and delete the apks. If you mess up, just reflash the rom.
Yes with root file manager I was having the same problem with apps returning after reboot. Canary Magisk was the problem. After installing Magisk Stable all problems were gone. hope this helps someone.
I meanwhile flashed the 19.3 stable magisk. Seems like I had a broken instance of 19.3 on my device as well which caused the same bootloop as the beta. Thanks for the hint.
dtown808 said:
Yes with root file manager I was having the same problem with apps returning after reboot. Canary Magisk was the problem. After installing Magisk Stable all problems were gone. hope this helps someone.
Click to expand...
Click to collapse
tropical cactus said:
You can manually remove system apps using a file manager with root access. Go to system/app and delete the apks. If you mess up, just reflash the rom.
Click to expand...
Click to collapse
Yes, I know that is possible. Still I would prefer some more technical insight on the topic. Status quo at magisk 19.4 is that the apps can be deleted in "root remover"-apps and else, but show up again after a reboot.
Titanium still tells me the apks could not be found. What has been changed by switching to Android Q causing this to happen? After all it was still working fine that way in Pie.
why not disable them ? all this hassle
RfBob said:
Titanium still tells me the apks could not be found. What has been changed by switching to Android Q causing this to happen? After all it was still working fine that way in Pie.
Click to expand...
Click to collapse
Take a look at this post
Toutatis_ said:
Take a look at this post
Click to expand...
Click to collapse
Thank you a lot. This clears the fog. Exactly what I was looking for.
Yandvoiris said:
why not disable them ? all this hassle
Click to expand...
Click to collapse
I don't like freezing/disabling apps instead of deleting them so this is a no-no. Probably more of a personal preference in attempt to keep the device relatively bloatware free.
It's the same with storage extension back in the days. Of course you could go for the 32gb version of the phone and expand by SD card. But I'd rather take the 64gb one and still be able to but not necessarily have to use the SD slot. You get the point, I guess.
Why not just use ADB to remove them? It works fine and is simple enough.
You can also boot in twrp. In mount option put check mark on System. Then in the advanced option use the file manager and navigate to system/system/product/app OR /priv-app. There are the google and other apps. Delete what you wish. when done, unmount system and reboot
There's a magisk modules I used to use on pie that worked flawlessly. Its called debloater or debloat. It removes system apps by using a terminal app by typing the command 'debloat', and its self explanatory from there. Also if there's any issue, you can reinstall the app right back the same way you uninstalled. Haven't tried on Android 10 just yet tho. Worth a try.
One other thing, I'm the same way, if I'm never going to use certain apps, I want them gone. However, phones these days that are coming with base model of 128gb and 8gb( like the one plus 7 pro) I'm not as worried as I used to be with removing the bloat.
P.s. im guessing by the apps you named you also have a 7pro, but I might be wrong. If you a Samsung device, there is the Package disabler app on the play store. And now, I guess they have a version for all Android devices and you don't need root. Here it is https://play.google.com/store/apps/details?id=com.pdp.deviceowner
Good Luck
Debloat indeed does still work. I used it today on 10
Sheetzie03 said:
There's a magisk modules I used to use on pie that worked flawlessly. Its called debloater or debloat. It removes system apps by using a terminal app by typing the command 'debloat', and its self explanatory from there. Also if there's any issue, you can reinstall the app right back the same way you uninstalled. Haven't tried on Android 10 just yet tho. Worth a try.
One other thing, I'm the same way, if I'm never going to use certain apps, I want them gone. However, phones these days that are coming with base model of 128gb and 8gb( like the one plus 7 pro) I'm not as worried as I used to be with removing the bloat.
P.s. im guessing by the apps you named you also have a 7pro, but I might be wrong. If you a Samsung device, there is the Package disabler app on the play store. And now, I guess they have a version for all Android devices and you don't need root. Here it is https://play.google.com/store/apps/details?id=com.pdp.deviceowner
Good Luck
Click to expand...
Click to collapse
Well I don't know what happened me, but youtube (system app) was gone from my phone this morning for no apparent reason. Had to reinstall it from the store as just a normal user apk. Very strange
equlizer said:
Debloat indeed does still work. I used it today on 10
Click to expand...
Click to collapse
Well here you go @RfBob confirmation from @equlizer that Debloat works on 10.
Good to know equlizer, I appreciate you jumping in and confirming this.
On pie, it was my go to, because it worked so well.
Neat little mod. And if you run into issues by uninstalling an app and the system goes haywire, because it has happen to me before where I was sure removing a certain system app would be fine, but it found out it was not, so you can easily reinstall the app the same you uninstalled it.
Take care.
Meanwhile I found some time to play around with the debloater terminal module.
Unfortunately most of the apps good to go are nowhere to be found. E.g. chrome, duo and else. I guess they should be located in vendor apps but they're not. Any suggestions?
I have not yet tried the adb method but guess it should work. For sake of simplicity I'd prefer the debloater module though as my devices are rooted anyway and reverting back to stock apps is no hassle.
RfBob said:
Meanwhile I found some time to play around with the debloater terminal module.
Unfortunately most of the apps good to go are nowhere to be found. E.g. chrome, duo and else. I guess they should be located in vendor apps but they're not. Any suggestions?
Click to expand...
Click to collapse
Three of the first four choices you can search for apps you want to uninstall. The fourth choice you can insert yourself ie., /system/product/app or priv-app. That will give you more choices also.
jcsww said:
Why not just use ADB to remove them? It works fine and is simple enough.
Click to expand...
Click to collapse
Indeed, if you are rooted, then a couple of basic linux commands will do.
You just have to remount the /system partition as writeable.
Code:
> adb shell
$ su
# mount -o rw,remount /system
# cd /system/app/
# rm -rf Netflix_Stub
# rm -rf xxx
# rm -rf yyy
# ...
# sync
# reboot
Above is example to remove the Netflix_Stub ...
If the above is like Chinese for you ... then stay away from it.
Yep, also usually prefer ADB...
foobar66 said:
Indeed, if you are rooted, then a couple of basic linux commands will do.
You just have to remount the /system partition as writeable.
Code:
> adb shell
$ su
# mount -o rw,remount /system
# cd /system/app/
# rm -rf Netflix_Stub
# rm -rf xxx
# rm -rf yyy
# ...
# sync
# reboot
Above is example to remove the Netflix_Stub ...
If the above is like Chinese for you ... then stay away from it.
Click to expand...
Click to collapse
You cannot mount system as rw anymore on android 10, even if rooted.
Code:
flame:/ # mount -o rw,remount /system
mount: '/system' not in /proc/mounts
Code:
flame:/ # mount -o rw,remount /
'/dev/block/dm-4' is read-only
Worked using debloater, but...
Sheetzie03 said:
Well here you go @RfBob confirmation from @equlizer that Debloat works on 10.
Good to know equlizer, I appreciate you jumping in and confirming this.
On pie, it was my go to, because it worked so well.
Neat little mod. And if you run into issues by uninstalling an app and the system goes haywire, because it has happen to me before where I was sure removing a certain system app would be fine, but it found out it was not, so you can easily reinstall the app the same you uninstalled it.
Take care.
Click to expand...
Click to collapse
I did follow the steps to remove youtube app from OOS 10 on One plus 6 and rebooted but it didn't completely remove it, instead it converted it to user app. I simply uninstalled it like a user app, did a reboot and then installed youtube vanced from Magisk. So far everything is working fine.
Hey everyone,
I'm rooted, so obviously the OTA security update fails every time for me. Since I did a hard restart on my phone, the update tries to be applied non stop, hogging up CPU usage and slowing the phone down. It says it fails and immediately tries to apply it again, in an endless loop.
I haven't found a way to disable it. Any suggestions? I tried to delete Motorola Update Services through titanium backup but it keeps coming back after a restart.
Any suggestions? I don't really want to go through the hassle of updating for a security patch, re rooting, and setting up my highly customized device again.
Thanks in advance!
Try the following
Enable usb debugging
Connect phone to PC & run the following adb command substituting package name with the package name of the app you want to disable E.g com.xyz.myapp
Code:
adb shell pm uninstall --user 0 packagename
If you get an error about this app can't be uninstalled try
Code:
adb shell pm disable-user --user 0 packagename
I just wanted to update anyone in case they are looking at this thread.
The first command to remove it did not work. The second command to disable it DOES work, and survives a reboot. The package name is "com.motorola.ccc.ota"
I have Motorola Update Services frozen via Titanium seems to have killed that update pop up on 4 Motos i have. oh and disable updates in Dev mode too.
Bookmarked for later.
I'm going to bump this thread because the command is not working on Android 10. Any solutions? TB also just crashes for me.
adb simply returns "package non disable" or something along those lines. Meanwhile I keep getting that extremely annoying popup. Honestly, may it's worth switching to lineage. At least there I can be rooted and also get updates.
WaterMan! said:
I just wanted to update anyone in case they are looking at this thread.
The first command to remove it did not work. The second command to disable it DOES work, and survives a reboot. The package name is "com.motorola.ccc.ota"
Click to expand...
Click to collapse
i second this. the second command works in my experience too.
Just an update for anyone that finds this...
On another forum, I came across this
adb shell pm disable-user --user 0 com.motorola.ccc.ota
It worked for me on a Moto G6
Hi
It doesn't work on my device. Though I have the Moto G Power 2022 (Tonga), running A11 stock WITHOUT su (root); neither the pm uninstall or pm disable commands perform their function. Rather, it tells me the package is "non-disable" and remains installed and unable to disable. It's the motorola ota package I'm trying to freeze so it can stop with the SPAM POPUPS (no shame calling it what it is) with absolutely no option to hide or suppress them altogether. And No, going to Smart Updates and turning it off there or on Developer Options have no bearing. If anything it's become relentlessly frequent, to the point I would refer to it as spamming.
There must be something I'm missing or doing wrong. I've always been able to disable packages this way and never really encountered this problem before. Are there any other pm commands that may do the trick? Could my ADB utilities be outdated and could that be what's causing it to fail. Or have we simply reached a dead-end with software and Android 11 no longer providing a method of removing system packages WITHOUT root or unlocking bootloader.
I still have not found a way to disable this package and the popups are driving me insane!
Is there really no working method for this??