[Guide][CN Version]Removal of China related Apps [RealMe X2pro] Making it clean - Realme X2 Pro Guides, News, & Discussion

Disclaimer :
PHP:
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Your warranty will be void if you tamper with any part of your device / software.
Objective :
The following is for all who have a CN Version RealMe X2pro and want to change to EU Rom and not able like myself for the time being.
I'll provide a step by step Guide to remove all unwanted Chines system apps related to RealMe or Oppo and what to install to get a somewhat of clean and working build that would still get OTA and will be a better experience.
I hope its useful as that was the only way for me to use my CN version phone.
What you need First to be done:
Make sure google play Store is installed.
Make sure you are on the latest update. "RMX1931_11_A.12" even if you do OTA update nth will be affected.
Source all credits to this post.
What you need to do Second:
1) Install the USB drivers for your device (Google has a list of some universal USB drivers here)
2) Download the ADB binary for your particular OS (Windows, Mac, Linux)
3) Extract the zip file into a folder that you can quickly access.
4) On your phone, go to Settings and tap on About Phone. Find the Build Number and tap on it 7 times to enable Developer Options.
5) Now enter Developer Options and find USB Debugging. Enable it.
6) Open CMD at the location where you downloaded point 2 and point 3
The Source link has even more details ill stop at this point and jump to the Third step with what we need to delete.
Step Three :
After CMD is open on the designated folder where you extracted the zip file:
Commands first set:
PHP:
* adb devices
* adb shell
you will see your device details "[email protected]:/ $"
click the source link if you need visual details
Commands second set:
PHP:
Now copy past hit enter part for the following after each other
* pm uninstall -k --user 0 com.oppo.quicksearchbox ----> This will remove the single swip from top to bottom search that has lots of Chinese in it
* pm uninstall -k --user 0 com.coloros.assistantscreen ---->This will remove the breeno assistant
* pm uninstall -k --user 0 com.coloros.smartdrive ---->This will remove the breeno assistant drive
* pm uninstall -k --user 0 com.coloros.directui ---->This will remove the breeno assistant
* pm uninstall -k --user 0 com.coloros.ocrscanner ---->This will remove the breeno assistant
* pm uninstall -k --user 0 com.coloros.speechassist ----->This will remove the breeno assistant
* pm uninstall -k --user 0 com.nearme.browser ------>This will remove the browser
* pm uninstall -k --user 0 com.oppo.market ---->This will remove App Market
* pm uninstall -k --user 0 com.coloros.findmyphone ---->This will remove find my phone service
* pm uninstall -k --user 0 com.realme.findphone.client2 ----> This will remove Find my Phone
* pm uninstall -k --user 0 com.coloros.filemanager ----> This will remove File Manager
* pm uninstall -k --user 0 com.coloros.wallet ----> This will remove the wallet
* pm uninstall -k --user 0 com.nearme.themestore ---> This will remove Themes
* pm uninstall -k --user 0 com.sohu.inputmethod.sogouoem ----> This will remove the Keyboard make sure you have another one installed.
Those area the apps that i found annoying and made me hate the UI.
Step Four:
Now since everything is removed you ether clone your old phone using the app or just start downloading your apps from Google play Store.
for the swipe down the moment you install "Google" from play store it will directly replace it with google search.
Note: In case anything happened you can always just do a hard rest and you are back to normal
Let me know how helpful this is to you guys. and if you need to check anything else to update this post.
This is how i am actually enjoying my RealMe X2pro now.
again all thanks and credit to @ Doug Lynch Source i just made the short cuts easy to come back too.

How do I remove the Chinese text-to-speech engine? It has highly annoying Chinese voices trying to speak English, and by default it's being used over other installed TTS engines.

marcovth2 said:
How do I remove the Chinese text-to-speech engine? It has highly annoying Chinese voices trying to speak English, and by default it's being used over other installed TTS engines.
Click to expand...
Click to collapse
if you check step 3 you will find the breeno apps you got to remove all that.

You know how to change the launcher?

Arn0ldx said:
You know how to change the launcher?
Click to expand...
Click to collapse
yes its possible but i don't recommend because your home button will not work and will hang the phone ! if you still want it let me know i can add it later to first post!

kkarnaout said:
yes its possible but i don't recommend because your home button will not work and will hang the phone ! if you still want it let me know i can add it later to first post!
Click to expand...
Click to collapse
I see thank you I will try to uninstall the apps that you recommended

Thanks for this. I was thinking of doing this too but you've saved me the trouble. I was busy trying to compile a version of Lawnchair with the applicationId of com.oppo.launcher to try and trick the phone in to bypassing the home gesture issue but without much success.
The home button (virtual keys) are fine as long as you have another launcher installed when you remove the oppo one. The upward gesture swipe to homescreen will not work (doesn't hang the phone, just fails and brings the last app back up), though you can long swipe up (recents) and click on the empty space to get back to the launcher but I ended up going with the virtual keys.

Can it fix the login of CN rom?
I can't login cause they need phone 86+ from china it will paid the number that we login too.
I tried to use free sms received but yes it need too pay to login with Chinese number.

Stanz3k said:
Thanks for this. I was thinking of doing this too but you've saved me the trouble. I was busy trying to compile a version of Lawnchair with the applicationId of com.oppo.launcher to try and trick the phone in to bypassing the home gesture issue but without much success.
The home button (virtual keys) are fine as long as you have another launcher installed when you remove the oppo one. The upward gesture swipe to homescreen will not work (doesn't hang the phone, just fails and brings the last app back up), though you can long swipe up (recents) and click on the empty space to get back to the launcher but I ended up going with the virtual keys.
Click to expand...
Click to collapse
Thank you, I was able to uninstall oppo launcher having Nova launcher installed

kkarnaout said:
yes its possible but i don't recommend because your home button will not work and will hang the phone ! if you still want it let me know i can add it later to first post!
Click to expand...
Click to collapse
you can still use swipe navigation but the "swipe from both sides" cant be used you have to use either the back on left or right option.
Nova works flawless for me

Create oppo id
Numslick555 said:
Can it fix the login of CN rom?
I can't login cause they need phone 86+ from china it will paid the number that we login too.
I tried to use free sms received but yes it need too pay to login with Chinese number.
Click to expand...
Click to collapse
You can totally create an account on their web page and login on the phone, so you can get the added services and avoid their pesky login requirements. Also ig you don't want to use your phone number, use twilio or something like that
URL="https://id.oppo.com/register/sms?type=1"

Hmmm, my ringtones don't work anymore

danvalang said:
Hmmm, my ringtones don't work anymore
Click to expand...
Click to collapse
its cause you uninstalled file manager had same issue when i had my reno 10x
also you can remove com.coloros.athena (this will keep things running in background helps notifications come through without delay only change is when you pull up recents you have to manually swipe each app away to close cause the X at the bottom no longer works)
Another thing is you do not have to Factory reset your phone to get apps back since you technically are not uninstalling things just disabling them. go back to the adb command window and type following command "adb shell cmd package install-existing (name of package you disabled)" and this will re-enable them.
Hope this helps

Why do we need to uninstall file manager? they are useful arent they?

kkarnaout said:
Disclaimer :
PHP:
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Your warranty will be void if you tamper with any part of your device / software.
Objective :
The following is for all who have a CN Version RealMe X2pro and want to change to EU Rom and not able like myself for the time being.
I'll provide a step by step Guide to remove all unwanted Chines system apps related to RealMe or Oppo and what to install to get a somewhat of clean and working build that would still get OTA and will be a better experience.
I hope its useful as that was the only way for me to use my CN version phone.
What you need First to be done:
Make sure google play Store is installed.
Make sure you are on the latest update. "RMX1931_11_A.12" even if you do OTA update nth will be affected.
Source all credits to this post.
What you need to do Second:
1) Install the USB drivers for your device (Google has a list of some universal USB drivers here)
2) Download the ADB binary for your particular OS (Windows, Mac, Linux)
3) Extract the zip file into a folder that you can quickly access.
4) On your phone, go to Settings and tap on About Phone. Find the Build Number and tap on it 7 times to enable Developer Options.
5) Now enter Developer Options and find USB Debugging. Enable it.
6) Open CMD at the location where you downloaded point 2 and point 3
The Source link has even more details ill stop at this point and jump to the Third step with what we need to delete.
Step Three :
After CMD is open on the designated folder where you extracted the zip file:
Commands first set:
PHP:
* adb devices
* adb shell
you will see your device details "[email protected]:/ $"
click the source link if you need visual details
Commands second set:
PHP:
Now copy past hit enter part for the following after each other
* pm uninstall -k --user 0 com.oppo.quicksearchbox ----> This will remove the single swip from top to bottom search that has lots of Chinese in it
* pm uninstall -k --user 0 com.coloros.assistantscreen ---->This will remove the breeno assistant
* pm uninstall -k --user 0 com.coloros.smartdrive ---->This will remove the breeno assistant drive
* pm uninstall -k --user 0 com.coloros.directui ---->This will remove the breeno assistant
* pm uninstall -k --user 0 com.coloros.ocrscanner ---->This will remove the breeno assistant
* pm uninstall -k --user 0 com.coloros.speechassist ----->This will remove the breeno assistant
* pm uninstall -k --user 0 com.nearme.browser ------>This will remove the browser
* pm uninstall -k --user 0 com.oppo.market ---->This will remove App Market
* pm uninstall -k --user 0 com.coloros.findmyphone ---->This will remove find my phone service
* pm uninstall -k --user 0 com.realme.findphone.client2 ----> This will remove Find my Phone
* pm uninstall -k --user 0 com.coloros.filemanager ----> This will remove File Manager
* pm uninstall -k --user 0 com.coloros.wallet ----> This will remove the wallet
* pm uninstall -k --user 0 com.nearme.themestore ---> This will remove Themes
* pm uninstall -k --user 0 com.sohu.inputmethod.sogouoem ----> This will remove the Keyboard make sure you have another one installed.
Those area the apps that i found annoying and made me hate the UI.
Step Four:
Now since everything is removed you ether clone your old phone using the app or just start downloading your apps from Google play Store.
for the swipe down the moment you install "Google" from play store it will directly replace it with google search.
Note: In case anything happened you can always just do a hard rest and you are back to normal
Let me know how helpful this is to you guys. and if you need to check anything else to update this post.
This is how i am actually enjoying my RealMe X2pro now.
again all thanks and credit to @ Doug Lynch Source i just made the short cuts easy to come back too.
Click to expand...
Click to collapse
Do you try to reboot, and it will cause error?

necsynx said:
Do you try to reboot, and it will cause error?
Click to expand...
Click to collapse
there is no issues at all, and its working perfectly, frankly i removed the launcher and a few items only, and its working amazing. you need to test it out a few times to get it to the place you want.

kkarnaout said:
there is no issues at all, and its working perfectly, frankly i removed the launcher and a few items only, and its working amazing. you need to test it out a few times to get it to the place you want.
Click to expand...
Click to collapse
Whats the launcher app name?

necsynx said:
Whats the launcher app name?
Click to expand...
Click to collapse
I found it ..
Its com.oppo.launcher

Phone and Message App
Is it possible to get rid of the phone and message app, the browser app?

Rifat Rezwan said:
Is it possible to get rid of the phone and message app, the browser app?
Click to expand...
Click to collapse
yes its shown in first post for browser, as for phone and messages its not recommended but if u want let me know ill get u there name

Related

Disable system apps without root (even those with disabled Disable button)

You can disable all system apps without root even those that cannot be disabled from Settings - like Mcafee an LG Health:
- Install adb
- connect your phone and turn on usb debugging
- find the name of the app you want to block with:
adb shell pm list packages
(You can filter the results on windows by adding | findstr "TERM" or | grep "TERM" on linux / mac where you would replace TERM with the word you are looking for. This would look like:
- adb shell pm list packages | findstr "inputmethod"
adb shell pm list packages | grep "inputmethod"
- "Hide" the app with:
adb shell pm hide "packagename"
(where you would replace "packagename" with the name acquired in step 3)
(https://www.reddit.com/r/Android/comments/3eav7t/get_rid_of_unwanted_system_apps_adb_shell_pm_hide/)
I thought it just hides apps, but I googled it and it seams it really disables apps. I tried it with com.lge.mlt, Mcafee and LG Health and now I get more than 5 hours of SoT compared to 3 hours before.
If you have LG PC Suite installed, you already have working adb in its folder...
Little correction to above manual: Once you run adb shell you don't have to keep running it. You're already in the shell.
adb shell
pm list packages -e (the e will show only ones that are enabled)
pm hide "package.name"
exit
Error: java.lang.SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS.
KuGeL94 said:
Error: java.lang.SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS.
Click to expand...
Click to collapse
It worked when the initial post was made - seems that Android stopped that in an update around August 2016.
However, since this comes up high on a google search (which I just did) I thought I'd post for anyone running across it.
You can achieve similar on even Oreo, at least on a Huawei device, by using "pm uninstall -k --user 0 packagename" (Replace packagename with relevant full package name).
This uninstalls the app for the current user only (user 0) (so doesn't need root) so if you do a factory reset (and I guess an OTA upgrade) the app will return. It does seem to uninstall rather than hide though - so obviously be cautious and take a back up first in case you have to do a factory reset.
Hope that helps the next person finding this thread on a search!
gonzo99 said:
It worked when the initial post was made - seems that Android stopped that in an update around August 2016.
However, since this comes up high on a google search (which I just did) I thought I'd post for anyone running across it.
You can achieve similar on even Oreo, at least on a Huawei device, by using "pm uninstall -k --user 0 packagename" (Replace packagename with relevant full package name).
This uninstalls the app for the current user only (user 0) (so doesn't need root) so if you do a factory reset (and I guess an OTA upgrade) the app will return. It does seem to uninstall rather than hide though - so obviously be cautious and take a back up first in case you have to do a factory reset.
Hope that helps the next person finding this thread on a search!
Click to expand...
Click to collapse
Ha! yeah, I was just doing some research and you are right on all three accounts.
1. This is top in google search
2. The PM Uninstall command works great!
3. Its really really gone so be careful!
gonzo99 said:
It worked when the initial post was made - seems that Android stopped that in an update around August 2016.
However, since this comes up high on a google search (which I just did) I thought I'd post for anyone running across it.
You can achieve similar on even Oreo, at least on a Huawei device, by using "pm uninstall -k --user 0 packagename" (Replace packagename with relevant full package name).
This uninstalls the app for the current user only (user 0) (so doesn't need root) so if you do a factory reset (and I guess an OTA upgrade) the app will return. It does seem to uninstall rather than hide though - so obviously be cautious and take a back up first in case you have to do a factory reset.
Hope that helps the next person finding this thread on a search!
Click to expand...
Click to collapse
should become a sticky. we could make a script for samsung bloatware
gonzo99 said:
It worked when the initial post was made - seems that Android stopped that in an update around August 2016.
However, since this comes up high on a google search (which I just did) I thought I'd post for anyone running across it.
You can achieve similar on even Oreo, at least on a Huawei device, by using "pm uninstall -k --user 0 packagename" (Replace packagename with relevant full package name).
This uninstalls the app for the current user only (user 0) (so doesn't need root) so if you do a factory reset (and I guess an OTA upgrade) the app will return. It does seem to uninstall rather than hide though - so obviously be cautious and take a back up first in case you have to do a factory reset.
Hope that helps the next person finding this thread on a search!
Click to expand...
Click to collapse
Thanks, this is exactly what I was looking for. Even on Marshmallow, the hide and unblock commands don't work, so this is probably the only way to get rid of bloatware. But the uninstall command is a bit dangerous since the changes are permanent, is there a way to get the app back once uninstalled?
Great, the pm uninstall command working perfectly on a MI6 without root, I've successfully removed some annoying apps
This didn't work on my Samsung but I am not surprised.
iloveoreos said:
This didn't work on my Samsung but I am not surprised.
Click to expand...
Click to collapse
I have a galaxy note 9 with Oreo and I do not want to update it to Pie so i was trying to disable com.wssyncmlmd but with no success with the commands in this thread, the problem is that I want to disable it, not uninstall it!
If you want to uninstall bloatware apps you can use:
pm uninstall -k --user 0 "app.name"
I can tell you it works uninstalling system apps like linkedin and facebook
If you could help me figuring out a way to only disable (or at least back up) the system update app I'd be very thankful!
prahladyeri said:
Thanks, this is exactly what I was looking for. Even on Marshmallow, the hide and unblock commands don't work, so this is probably the only way to get rid of bloatware. But the uninstall command is a bit dangerous since the changes are permanent, is there a way to get the app back once uninstalled?
Click to expand...
Click to collapse
Yes just run
adb shell pm unhide "packagename"

Is there a way to completely disable OTA Updates on Rooted Fire HD 10?

A few days ago, I rooted my Amazon Fire HD 10 OS 5.6.0.0 with kingoroot. I've customized my tablet and removed a lot of the unnecessary Amazon apps. I really like how my Amazon Fire HD 10 looks right now and don't want to see it get messed up because of an update.
Is there any sure way to stop the Amazon Fire HD 10 from updating? I removed the DeviceSoftwareOTA.apk from the device already, but I've read elsewhere that simply removing the DeviceSoftwareOTA won't stop the updates from happening. Is there anything else I can do?
Yes, you also need to remove ForcedOTA (com.amazon.kindle.otter.oobe.forced.ota). With both of these removed, no updates are possible.
From my experience on HD8 (7th Gen) on OS 5.3.3.0 since September :
Even though I could not root HD8, I was able to "pm uninstall" both com.amazon.device.software.ota and com.amazon.kindle.otter.oobe.forced.ota
Since then, with WiFi connected everyday, it had never updated to a new version of Fire OS.
Since it is rooted, use ES File Explorer (change settings to give it root permission and show hidden files) and rename the file /system/etc/security/otacerts.zip. It uses this file to verify the updates. While you are at it, I need a copy of the otacerts.zip file if you don't mind. I am trying to restore mine and lost it during a factory restore.
Dan_firehd said:
From my experience on HD8 (7th Gen) on OS 5.3.3.0 since September :
Even though I could not root HD8, I was able to "pm uninstall" both com.amazon.device.software.ota and com.amazon.kindle.otter.oobe.forced.ota
Since then, with WiFi connected everyday, it had never updated to a new version of Fire OS.
Click to expand...
Click to collapse
what did you set user as I ran this command pm uninstall -k --user 0 com.amazon.otter.oobe.forced.ota and got user not found
ecwebster31 said:
what did you set user as I ran this command pm uninstall -k --user 0 com.amazon.otter.oobe.forced.ota and got user not found
Click to expand...
Click to collapse
I am not sure what you are asking. I did not "set user".
The following were what I typed:
pm uninstall -k --user 0 com.amazon.device.software.ota
pm uninstall -k --user 0 com.amazon.kindle.otter.oobe.forced.ota
69ragtop said:
Since it is rooted, use ES File Explorer (change settings to give it root permission and show hidden files) and rename the file /system/etc/security/otacerts.zip. It uses this file to verify the updates. While you are at it, I need a copy of the otacerts.zip file if you don't mind. I am trying to restore mine and lost it during a factory restore.
Click to expand...
Click to collapse
ES File Explorer has become crapware. Try Amaze file manager... simple, compact, all you need without the unnecessary junk ES tries to foist on you now.
ecwebster31 said:
what did you set user as I ran this command pm uninstall -k --user 0 com.amazon.otter.oobe.forced.ota and got user not found
Click to expand...
Click to collapse
try replacing 0 with current so: -k --user current
pm uninstall -k --user 0 com.amazon.device.software.ota
pm uninstall -k --user 0 com.amazon.kindle.otter.oobe.forced.ota
I tried these two commands and I get a "failed to delete" message which I assume is because I have not rooted the tablet. There is an app called "Settings Database Editor". Does anyone have any experience with that? I used it to successfully disable the lock screen without rooting, but it looks like I'm going to have to take the plunge and root in order to block the OTA updates. (first time working with an android device)
ironlion37 said:
pm uninstall -k --user 0 com.amazon.device.software.ota
pm uninstall -k --user 0 com.amazon.kindle.otter.oobe.forced.ota
I tried these two commands and I get a "failed to delete" message which I assume is because I have not rooted the tablet. There is an app called "Settings Database Editor". Does anyone have any experience with that? I used it to successfully disable the lock screen without rooting, but it looks like I'm going to have to take the plunge and root in order to block the OTA updates. (first time working with an android device)
Click to expand...
Click to collapse
Most of the ability to disable system apps has been patched already. The command you posted above has long been patched. Settings Database Editor is great and powerful. You're lucky you got the lock.disable to work. 9 times out of 10 it doesn't.
So you are correct. Unless you got any of the known tools to work, the only way to truly stop OTA is to destroy the application that handles them. My HD 8 has been on 5.4.0.0 or less for 2 almost 3 years because the commands you posted above, totally disabled the app.
Sent from my Galaxy S4 using XDA Labs
ironlion37 said:
pm uninstall -k --user 0 com.amazon.device.software.ota
pm uninstall -k --user 0 com.amazon.kindle.otter.oobe.forced.ota
Click to expand...
Click to collapse
DragonFire1024 said:
My HD 8 has been on 5.4.0.0 or less for 2 almost 3 years because the commands you posted above, totally disabled the app.
Click to expand...
Click to collapse
Good to know that these two commands is all what's needed. I was just able to successfully execute them on a mtk-su rooted Fire HD 10 "suez" running 5.6.4.0.
Just out of curiosity,
1. Does anybody know what "otter" and "oobe" are supposed to mean, i.e. what com.amazon.kindle.otter.oobe.forced.ota is supposed to do?
2. Some people also recommend to get rid of com.amazon.device.software.ota.override — what does this do?
3. Why do some people also remove com.amazon.settings.systemupdates — this is helpful for checking the current OS version, right?
Thank you very much for all your work @DragonFire1024!
anon/droid said:
Good to know that these two commands is all what's needed. I was just able to successfully execute them on a mtk-su rooted Fire HD 10 "suez" running 5.6.4.0.
Just out of curiosity,
1. Does anybody know what "otter" and "oobe" are supposed to mean, i.e. what com.amazon.kindle.otter.oobe.forced.ota is supposed to do?
2. Some people also recommend to get rid of com.amazon.device.software.ota.override — what does this do?
3. Why do some people also remove com.amazon.settings.systemupdates — this is helpful for checking the current OS version, right?
Thank you very much for all your work @DragonFire1024!
Click to expand...
Click to collapse
The first and second one are applications that grabbed OTA updates sent by Amazon to update the system of your device.vI would assume if one application shuts down the other one takes over. But like most things you need one to work in order for the other to work. If you simply disabled the second one no OTA updates will be sent to your device that will upgrade or change Amazon system like giving you a new version of fire OS.
Removing the third one just disables your ability to tap on the system updates page in the settings application. it will not actually stop any update from taking place on the device if it's disabled. It just removes your ability to get anywhere near the update section or your ability to visually see what's going on there.

Possible to ADB into Second Space???

IMO, the best feature of MIUI and never had a chance to use it till now(been running very old xiaomi devices and they all finally broke)
not really shocked to see that despite being introduced in MIUI8, 2 versions later and it's still buggy... and it seems that not many people are using it, else the bugs would have been caught.
I'm now in the setting up/ messing with it phase and has ran into the 1st glaring issue,
How do i get adb into second space?
running Saki's ADBFastboot tools, i have access to the system, but it shows as 1st space system, even when phone is logged into 2nd space.
i'm trying to remove the same bloatware in second space. bloatware is already removed in 1st space.
found the solution; manual remove bloatware in 2nd space via adb shell command.
in the command string, --user 10 is 2nd space, --user 0 is 1st space;
therefore, to remove bloatware in 2nd space;
adb shell pm uninstall -k --user 10 package.name
nvm, ignore the "solution"
they don't work once the phone is rebooted... the uninstalled apps on second space gets reinstalled again.
have u found solution?
I found the solution, it works great!
use this code
Code:
pm disable-user --user 10 <package_name>
I have tried to restart, and it works!
but, there are few apps cannot be disabled.
Just dont uninstall, but disable the apps.
Works for me on my Xiaomi Redmi Note 7, but the user was number 999:
pm disable-user --user 999 <package_name>
Thanks

Debloat?

Now that CCSW is dead, are there any good debloat ADB scripts around?
subbed
What's CCSW?
a good foundation script
https://forum.xda-developers.com/galaxy-note-9/how-to/note-9-debloat-bash-script-t3907659
I used this one from the S20 thread
https://forum.xda-developers.com/galaxy-s20/how-to/how-to-ultimate-adb-debloating-thread-t4089089
This new tool looks promising: ADB AppControl https://forum.xda-developers.com/an...easy-management-android-applications-t4147837
Good debloat script
raul6 said:
a good foundation script
https://forum.xda-developers.com/galaxy-note-9/how-to/note-9-debloat-bash-script-t3907659
Click to expand...
Click to collapse
This is indeed a very good script from which to pick and choose what you debloat and is by far the best one I have found. What I like about it is that there is a helpful description of what the package does.
I have gone down the ADB debloat route with my Note 20 Ultra
bud7dha said:
This new tool looks promising: ADB AppControl https://forum.xda-developers.com/an...easy-management-android-applications-t4147837
Click to expand...
Click to collapse
This worked way better then expected.
I'm not new to ADB, but having the simple GUI to see what you are doing is amazing.
Was able to de-bloat to my desire with no problems at all!
Thanks for sharing!
or you could use package disabler pro from the google store which is even easier.
umx said:
or you could use package disabler pro from the google store which is even easier.
Click to expand...
Click to collapse
However, you have to keep re-puchasing it which is dull :crying:
pdagenius said:
However, you have to keep re-puchasing it which is dull :crying:
Click to expand...
Click to collapse
I had to purchase for note 9, repurchase for s10 and purchase again for the Note 10 but that one has now worked for the s20 and the note 20. So keeping fingers crossed lol.
If you are on AT&T this might help. I just downloaded ADB and ran the commands below. I hate not having the option of removing apps!
I removed all AT&T preinstalled apps + Samsung Browser, Chrome, Flipboard, and OneDrive.
pm uninstall --user 0 flipboard.boxer.app
pm uninstall --user 0 com.att.callprotect
pm uninstall --user 0 com.att.thanks
pm uninstall --user 0 net.aetherpal.device
pm uninstall --user 0 com.att.iqi
pm uninstall --user 0 com.android.chrome
pm uninstall --user 0 com.att.personalcloud
pm uninstall --user 0 com.att.dh
pm uninstall --user 0 com.synchronoss.dcs.att.r2g
pm uninstall --user 0 com.att.myWireless
pm uninstall --user 0 com.att.mobilesecurity
pm uninstall --user 0 com.att.tv
pm uninstall --user 0 com.att.csoiam.mobilekey
pm uninstall --user 0 com.att.android.attsmartwifi
pm uninstall --user 0 com.sec.android.app.sbrowser
pm uninstall --user 0 com.sec.android.app.sbrowser
pm uninstall --user 0 com.dti.att
pm uninstall --user 0 com.microsoft.skydrive
umx said:
or you could use package disabler pro from the google store which is even easier.
Click to expand...
Click to collapse
Was using CCSW but stopped working but went back to Package Disabler Pro. I am proficient with adb but don't want yo delete something with it and find out I now need it. Much easier to just disable the app and if for some reason you need it back just reenable it.
ggrant3876 said:
Was using CCSW but stopped working but went back to Package Disabler Pro. I am proficient with adb but don't want yo delete something with it and find out I now need it. Much easier to just disable the app and if for some reason you need it back just reenable it.
Click to expand...
Click to collapse
i used to use ccsw they pulled his license not sure why. I prob disabled 80 or so things.. giving more like pure android after that.. and better battery
ggrant3876 said:
Was using CCSW but stopped working but went back to Package Disabler Pro. I am proficient with adb but don't want yo delete something with it and find out I now need it. Much easier to just disable the app and if for some reason you need it back just reenable it.
Click to expand...
Click to collapse
From what I see for the Adb commands, the is a package install command which works in a similar way to disable /enable and therefore uninstall is not an issue as the package remains on your phone unless you are rooted.
If you are a little organised and keep a list of what you uninstalling it is not an issue in my opinion.
pdagenius said:
From what I see for the Adb commands, the is a package install command which works in a similar way to disable /enable and therefore uninstall is not an issue as the package remains on your phone unless you are rooted.
If you are a little organised and keep a list of what you uninstalling it is not an issue in my opinion.
Click to expand...
Click to collapse
What I've seen on here before, sometimes they use this "pm uninstall -k --user 0 com.my.demo.app". I'm just a belts and suspenders kind of gut I guess!

How To Guide How to install microG on any ROM.

I hope you already know this, but
If you brick your device it's your fault!
THIS METHOD IS ONLY TESTED BY ME AND DOES NOT WORK PERFECTLY
If you can help to make it work easier or more reliable, text me pls.
Not checked in Self-Check:
Fake Play Store (May work fine)
- Install any ROM and finish setup (Skip everything etc.) (Had to redo everything cause I didnt finish it. Could not get rid of the notification)
- Flash Magisk
If signatur spoofing is not enabled:
- In Magisk go to settings (top right icon) and enable 'Zygisk' option
- Then in Magisk go to Modules tab, click top button 'Install from storage' install LSPosed-(...)-zygisk-release.zip (has to be zygisk version)
- Install FakeGapps.apk like regular app
- Reboot
- Popup will came out that ask you to add shortcut icon to desktop for LSPosed, just add it and open it
- Go to Modules and enable FakeGApps
Signature spoofing should be enabled
- Uninstall Google apps:
(easy and safer) Uninstall via Universal Android Debloater.
(hard but completely removed) Via adb shell
- Go to Magisk and install MinMicroG-Standard as a Module
- Reboot
- Open microG Service Core and ensure all boxes are selected. The most important is signature spoofing - this is what LSPosed and FakeGapps is for.
For working push notifications go to microG Service Core app and enable Google devices registration and Cloud Messaging.
For working location at least two apps will be needed - MozillaNlpBackend and NominatimNlpBackend. After installing they need to be enabled in microG Service Core app (Location modules). Sometimes MozillaNlpBackend refuse to be enabled, then you just have to go to it's permissions and select "Allow all the time" for location permission.
For working SafetyNet additional Magisk module may be needed.
SMS and Location in background didn't work for me, reinstalled the microG installer module and it worked
To find out the id's I used App Inspector.
If you have any improvements let me know.
Thanks to:
https://www.reddit.com/r/MicroG/comments/wev56n/_/iirvvfu
Replacements needed (what I use)
!name => important
?name => want better alternative (foss)
%name => not f-droid
!Keyboard (FlorisBoard)
!Browser (Fennec)
!App store (NeoStore (aka FDroid) and Aurora Store)
Calculator (Simple Calculator)
Camera (Open Camera, Nothing's Camera)
Notes (Carnet)
Calendar (Etar)
Files (Material Files)
Weather (Geometric Weather)
Cloud (Nextcloud) Contact, Calendar and Todo sync via DAVx5
Mail (Tutanota)
SMS (Signal)
Maps (OsmAnd~)
?Contacts (Simple Contacts)
?Phone (Nothing yet)
App Id's of apps I uninstalled safely:
(your ROM could have more or less bloatware installed, text me the id's if you want)
com.google.android.gms
com.android.vending
com.google.android.as.oss
com.google.android.apps.restore
com.google.android.gms.policy_sidecar_aps
com.google.android.projection.gearhead
com.google.android.calculator
com.google.android.calendar
com.android.chrome
com.google.android.deskclock
com.google.android.dialer
com.google.android.apps.messaging
com.android.egg
com.android.printspooler
com.android.dreams.phototable
com.google.android.feedback
com.google.android.as
com.google.android.marvin.talkback
com.google.android.printservice.recommendation
com.android.bluetoothmidiservice
com.android.calllogbackup
com.google.android.configupdater
com.google.android.ext.shared
com.google.android.gsf
com.google.android.ims
com.google.android.syncadapters.calendar
com.android.gallery3d
com.google.android.apps.cameralite
com.google.android.apps.wellbeing
com.google.android.apps.docs
com.google.android.apps.nbu.files
com.google.android.inputmethod.latin
com.google.android.gm
com.google.android.googlequicksearchbox
com.google.android.apps.maps
com.google.android.apps.safetyhub
com.google.android.apps.photos
com.google.android.youtube
com.google.android.contacts
com.android.hotwordenrollment.okgoogle
com.android.hotwordenrollment.xgoogle
com.android.partnerbookmarks
com.android.traceur
com.google.android.gms.location.history
com.google.android.markup
com.google.android.onetimeinitializer
com.google.android.partnersetup
com.google.android.tag
com.google.android.gms.supervision
com.google.android.overlay.gmsconfig.asi
com.google.android.overlay.gmsconfig.common
com.google.android.overlay.gmsconfig.comms
com.google.android.overlay.gmsconfig.geotz
com.google.android.overlay.gmsconfig.gsa
com.google.android.overlay.gmsconfig.personalsafety
com.google.android.overlay.gmsconfig.photos
com.google.android.overlay.gmsconfig.gsa
com.google.android.soundpicker
com.google.android.tts
com.google.android.turboadapter
com.google.android.webview
com.google.android.settings.intelligence
com.google.android.apps.turbo
If you choose to uninstall via adb shell, this is how to uninstall everything listed above.
Use flag -k after uninstall to only remove the app and leave the cache.
pm uninstall com.google.android.gms
pm uninstall com.android.vending
pm uninstall com.google.android.as.oss
pm uninstall com.google.android.apps.restore
pm uninstall --user 0 com.google.android.gms
pm uninstall --user 0 com.android.vending
pm uninstall --user 0 com.google.android.as.oss
pm uninstall --user 0 com.google.android.apps.restore
pm uninstall --user 0 com.google.android.gms.policy_sidecar_aps
pm uninstall --user 0 com.google.android.projection.gearhead
pm uninstall --user 0 com.google.android.calculator
pm uninstall --user 0 com.google.android.calendar
pm uninstall --user 0 com.android.chrome
pm uninstall --user 0 com.google.android.deskclock
pm uninstall --user 0 com.google.android.dialer
pm uninstall --user 0 com.google.android.apps.messaging
pm uninstall --user 0 com.android.egg
pm uninstall --user 0 com.android.printspooler
pm uninstall --user 0 com.android.dreams.phototable
pm uninstall --user 0 com.google.android.feedback
pm uninstall --user 0 com.google.android.as
pm uninstall --user 0 com.google.android.marvin.talkback
pm uninstall --user 0 com.google.android.printservice.recommendation
pm uninstall --user 0 com.android.bluetoothmidiservice
pm uninstall --user 0 com.android.calllogbackup
pm uninstall --user 0 com.google.android.configupdater
pm uninstall --user 0 com.google.android.ext.shared
pm uninstall --user 0 com.google.android.gsf
pm uninstall --user 0 com.google.android.ims
pm uninstall --user 0 com.google.android.syncadapters.calendar
pm uninstall --user 0 com.android.gallery3d
pm uninstall --user 0 com.google.android.apps.cameralite
pm uninstall --user 0 com.google.android.apps.wellbeing
pm uninstall --user 0 com.google.android.apps.docs
pm uninstall --user 0 com.google.android.apps.nbu.files
pm uninstall --user 0 com.google.android.inputmethod.latin
pm uninstall --user 0 com.google.android.gm
pm uninstall --user 0 com.google.android.googlequicksearchbox
pm uninstall --user 0 com.google.android.apps.maps
pm uninstall --user 0 com.google.android.apps.safetyhub
pm uninstall --user 0 com.google.android.apps.photos
pm uninstall --user 0 com.google.android.youtube
pm uninstall --user 0 com.google.android.contacts
pm uninstall --user 0 com.android.hotwordenrollment.okgoogle
pm uninstall --user 0 com.android.hotwordenrollment.xgoogle
pm uninstall --user 0 com.android.partnerbookmarks
pm uninstall --user 0 com.android.traceur
pm uninstall --user 0 com.google.android.gms.location.history
pm uninstall --user 0 com.google.android.markup
pm uninstall --user 0 com.google.android.onetimeinitializer
pm uninstall --user 0 com.google.android.partnersetup
pm uninstall --user 0 com.google.android.tag
pm uninstall --user 0 com.google.android.gms.supervision
pm uninstall --user 0 com.google.android.overlay.gmsconfig.asi
pm uninstall --user 0 com.google.android.overlay.gmsconfig.common
pm uninstall --user 0 com.google.android.overlay.gmsconfig.comms
pm uninstall --user 0 com.google.android.overlay.gmsconfig.geotz
pm uninstall --user 0 com.google.android.overlay.gmsconfig.gsa
pm uninstall --user 0 com.google.android.overlay.gmsconfig.personalsafety
pm uninstall --user 0 com.google.android.overlay.gmsconfig.photos
pm uninstall --user 0 com.google.android.overlay.gmsconfig.gsa
pm uninstall --user 0 com.google.android.soundpicker
pm uninstall --user 0 com.google.android.tts
pm uninstall --user 0 com.google.android.turboadapter
pm uninstall --user 0 com.google.android.webview
pm uninstall --user 0 com.google.android.settings.intelligence
pm uninstall --user 0 com.google.android.apps.turbo
Nice, thanks for this. I wondered how this was done without inbuilt sig spoofing.
How much google stuff did you uninstall?
dememted1 said:
Nice, thanks for this. I wondered how this was done without inbuilt sig spoofing.
How much google stuff did you uninstall?
Click to expand...
Click to collapse
Updated it rn, but if you find more apps to uninstall safely (app id and use/name) please let me know
The_Toady said:
Updated it rn, but if you find more apps to uninstall safely (app id and use/name) please let me know
Click to expand...
Click to collapse
Thanks buddy. You are not a lover of Google too ?
dememted1 said:
Thanks buddy. You are not a lover of Google too ?
Click to expand...
Click to collapse
I like to play around with IT stuff and privacy is important to me. Also I dont want a Google calculator xD
I'm thinking of buying Nothing's phone, but the only thing that keeps me away are google apps. Custom roms seem to be still in newborn age so I would like to stay with original, NothingOS.
Ive been running devices without google apps for years and it was benefit a lot battery life and privacy. I dont miss google and surly dont want to go back to it.
If I remove all google apps with Universal Android Debloater, will the phone work just fine without those apps? I dont want microG to be installed.
Zwijam_Dywan said:
I'm thinking of buying Nothing's phone, but the only thing that keeps me away are google apps. Custom roms seem to be still in newborn age so I would like to stay with original, NothingOS.
Ive been running devices without google apps for years and it was benefit a lot battery life and privacy. I dont miss google and surly dont want to go back to it.
If I remove all google apps with Universal Android Debloater, will the phone work just fine without those apps? I dont want microG to be installed.
Click to expand...
Click to collapse
Sry I havent tried that and my phone is now in a state were I dont want to factory reset it till a microg rom comes out. Still Im very curios why you dont want to install microG
The_Toady said:
Sry I havent tried that and my phone is now in a state were I dont want to factory reset it till a microg rom comes out. Still Im very curios why you dont want to install microG
Click to expand...
Click to collapse
I do not have any specific reason to not install it. I had microg on /e/ rom previously on my oneplus 6t and it was just fine. I am running now oneplus 6t on lineage os without gapps and microG and it works absolutely fine. I just dont feel like I need it really. Thats all.
This guide is very similar to what I wrote on Redd... haha, I wasn't expecting that, thanks for mentioning me
I might add that this method is a little more secure than using ROM with signature spoothing + installing microG manually because FakeGapps allows to spoof signature for microG only, no other apps. Also all changes can be just disabled either by uninstalling Magisk or disabling modules in Safe Mode in case of issues.
And of course there is nothing specific in this method for Nothing Phone, I successfully use it on my other devices with stock ROMs or LineageOS.
The_Toady said:
Install stock ROM and finish setup (Skip everything etc.) (Had to redo everything cause I didnt finish it. Could not get rid of the notification)
Flash Magisk
In Magisk go to settings (top right icon) and enable 'Zygisk' option
Then in Magisk go to Modules tab, click top button 'Install from storage' install LSPosed-(...)-zygisk-release.zip (has to be zygisk version)
Install FakeGapps.apk like regular app
Reboot
Popup will came out that ask you to add shortcut icon to desktop for LSPosed, just add it and open it
Go to Modules and enable FakeGApps
Go to Magisk and install microG_Installer_Revived.zip as a Module
Reboot
Open microG Service Core and ensure all boxes are selected. The most important is signature spoofing - this is what LSPosed and FakeGapps is for.
For working push notifications go to microG Service Core app and enable Google devices registration and Cloud Messaging.
For working location at least two apps will be needed - MozillaNlpBackend and NominatimNlpBackend. After installing they need to be enabled in microG Service Core app (Location modules). Sometimes MozillaNlpBackend refuse to be enabled, then you just have to go to it's permissions and select "Allow all the time" for location permission.
For working SafetyNet additional Magisk module may be needed.
SMS and Location in background didn't work for me, reinstalled the microG installer module and it worked
To uninstall google apps I used Universal Android Debloater. To find out the id's I used App Inspector.
Click to expand...
Click to collapse
Instructions unclear. At what step should Google Play packages be removed and which exact packages belong to Play services(I've seen second post, but it's more about end-user apps)?
Following current instructions gives an error while installing microG_installer_revived, smth about duplicate permission that is already owned by com.google.android.gsf, don't have phone with me now, and microg core services crashing non-stop after reboot.
Is full nonsense a Rom where already GAPPS are installed try to install microg that can not work.
Use this Rom because microg is preinstalled.
[ROM] UNOFFICIAL Lineage OS 20.0 + MicroG
***************************************************************************************** * DISCLAIMER * * ROMs are published as is, without any guaranty. * * They are built automaticaly without test. * * I am not responsable if you phone is...
forum.xda-developers.com
Exodusnick said:
Is full nonsense a Rom where already GAPPS are installed try to install microg that can not work.
Click to expand...
Click to collapse
I disagree, it is reasonable to want to benefit from the features and optimizations of the stock ROM.
Especially while no custom ROM is able to take fully advantage of the Glyph interface at the moment.
Although it is a hit or miss without knowing the exact level of coupling of the ROM with Gapps, it is possible to install microG.
Given that Nothing OS offers an experience very close to vanilla Android, I believe that removing Gapps will not create any major issues.
I think that the problem that @gonococcus is facing is due to the fact that Gapps are not properly uninstalled from the ROM.
Using Universal System Debloater will simply uninstall the selected apps for the current user instead of removing them completely from the ROM.
Here is my version of @The_Toady's guide:
Do a factory reset.
Complete the initial setup without connecting to the Internet and without adding any Google account.
This will prevent Gapps from updating or installing more apps.
Root your phone by flashing the latest version of Magisk.
Uninstall Gapps:
Create a file named 'SystemlessDebloaterList.sh' under /storage/emulated/0/Download and add the following text:
Code:
DebloatList="
GmsCore
GoogleServicesFramework
Phonesky
"
Notice that this is the minimum list of apps that must be uninstalled for a successful microG installation.
If you want to further debloat your phone, you can add more apps in the list acoording to the module's instructions.
Install the latest version of Systemless Debloater as a Magisk module.
Reboot.
Enable signature spoofing:
Enable Zygisk in Magisk's settings.
Install the latest Zygisk release of LSPosed as a Magisk module.
Install the FakeGapps app.
Reboot.
Add the shortcut icon of LSPosed to your home-screen and open it.
Enable the FakeGApps LSPosed module.
Reboot.
Install the latest version of the microG Installer Revived as a Magisk module and reboot.
The above guide worked flawlessly for me on both 1.1.7 and 1.5-beta versions of Nothing OS.
I was even able to install OTAs manually with reasonable effort.
If you are interested I will write a guide about it soon.
Sorry no interest as I have my own Rom with microG .
Without bells and whistles with this LSPosed and I do not know .
Which also intervenes much too deep into the system.
Exodusnick said:
Sorry no interest as I have my own Rom with microG .
Click to expand...
Click to collapse
The current post is a guide on how to install microG on stock ROM.
My response tries to enable users do exactly this.
Exodusnick said:
Without bells and whistles with this LSPosed and I do not know .
Click to expand...
Click to collapse
I agree with you, a custom ROM that comes in vanilla version and takes fully advantage of the device's hardware is much preferable.
Exodusnick said:
Which also intervenes much too deep into the system.
Click to expand...
Click to collapse
This is up to you, e.g., the FakeGapps module is enabling signature spoofing only for microG and not system-wide.
emdikay said:
I think that the problem that @gonococcus is facing is due to the fact that Gapps are not properly uninstalled from the ROM.
Click to expand...
Click to collapse
Hey, thanks for very detailed explanation! (and merry Christmas)
I think my problem occurred due to either not removing original gapps or not leaving them intact. I found github issue at microg-installer-revived repo describing same problem and the author was asking if the person removed original gapps, so I got the impression that maybe I should've left them intact before installing magisk module.
My problem was solved by installing first 3.0.0 and then updating to 3.1.0 on top of it, which also supports my theory that microg-installer-revived should be applied on top of existing gapps/microg.
Anyway, in the end I gave up on microg at this point of time. I'm upgrading from my older phone which uses Lineage for microg. It doesn't work ideally, but I managed ok for last few years, but with microg-installer-revived package some apps that use Maps API are crashing straight away(at least few of them used to work, others would crash on both phones). My guess is they might be packaging different versions/dev branches of microg so the magisk version lags behind. For the time being I've uninstalled much of google stuff and will wait for NP1 ecosystem mature a bit more, hopefully getting Lineage for microg distro at some point. I'll keep an eye on microg in case there are some major updates.
SelfRef said:
This guide is very similar to what I wrote on Redd... haha, I wasn't expecting that, thanks for mentioning me
I might add that this method is a little more secure than using ROM with signature spoothing + installing microG manually because FakeGapps allows to spoof signature for microG only, no other apps. Also all changes can be just disabled either by uninstalling Magisk or disabling modules in Safe Mode in case of issues.
And of course there is nothing specific in this method for Nothing Phone, I successfully use it on my other devices with stock ROMs or LineageOS.
Click to expand...
Click to collapse
Yeah it really helped me and just "reposted' it here to make it easier to find. So big thanks.
Exodusnick said:
Use this Rom because microg is preinstalled.
[ROM] UNOFFICIAL Lineage OS 20.0 + MicroG
***************************************************************************************** * DISCLAIMER * * ROMs are published as is, without any guaranty. * * They are built automaticaly without test. * * I am not responsable if you phone is...
forum.xda-developers.com
Click to expand...
Click to collapse
If there was a good ROM with microG installed (or even anything when I created that post) I would have used it, but I want stuff like Fingerprint and NFC (I have a yubikey) and still dont want to use google. My Solution rn is e/OS/ on a S9 because I'm waiting for a good rom. This guide is for people like me, where this is the "best" solution

Categories

Resources