[Guide] Get a debloated Oneplus 6 with Magisk Hide on both slots A/B - OnePlus 6 Guides, News, & Discussion

This is a guide to get Oneplus 6 stock to my best efforts cleaned system from Oneplus,Google,Qualcomm spyware, hidden doors, bloatware
with a working magisk hide.
I made links in the guide to the threads I was referring to .
Good to know (according to my experiences):
I am a hacker not a developer.
Magisk hide (only hide) needs a kernel which supports f2fs. The kernel of stock ROM seems to have issues with f2fs of magisk.
Activating with stock kernel, causes issues with Magisk (root losses after boot with notices of magisk manager to install an update)
Slot A/B mechanism causes switch of slot in case of any issues with the installed images (don't know which exactly boot/system/recovery)
I think the slots are related to recovery boot and system, and also the mechanism to recover system partition with data of system image partition.
Corrupt boot image can cause issues with system image caused by 2.) following by 3.) (e.g. parameters of system images a not readable)
I tried to edit system image (delete apps see below) within TWRP file manager.
My experience was, that this cause a Slot changer because of corrupt system image/boot/recovery.
So I debloated the system after initial setup with a system app remover with root rights.
if you have already made app installations/configuration on the mobile, data partition is not related by 3.)
You can rescue an installation with preserving your efforts on data partitions with fastboot flashall (without erasing user data parameter '-w')
If you made a backup of your system image with TWRP/Nandroid you can also preserve your efforts on system partition. copy system_image.emmc.win to fastboot rom folder and rename it to system.img
see 99.) and execute a fastboot flashall.
How to check recent slot:
Within fastboot mode:
fastboot --set-active
Within TWRP:
visible in TWRP at restart menu
check overview of current versions
A slot changer can cause that the 'system image' partition will be activated to be the new main 'system' partition.
So don't be irritated if you boot up with pre-installed apps you have already removed.
Make sure, TWRP don't show a mount error for /system with fastboot flashall and a copy of your TWRP backup system.img see Good to know 6.) above and 99.) below.
Steps to debloat and get a running magisk hide:
0. Downloads
- Newest ADB Version => 1.0.40 (execute adb without parameter to get version)
- TWRP recovery image
Optional: If you want to install TWRP permanently download zip (installer) too. see Good to know 3.).
I experienced that TWRP ZIP installing is not always safe meaning. After slot switch, I still had stock recovery hand had to re-install twrp again.
- Kernel which is supporting clean f2fs (I used blu_spark kernel from eng.stk, because he mentioned the f2fs support in his description)
- Magisk version => v16.4 (code: 1642)
- Stock ROM for fastboot flash as provided by mauronofrio Good to know 5.)
unlock bootloader (will cause a data partition wipe!)
boot TWRP
- boot in fastboot mode (Power + Volume Up without being connected via USB)
Code:
fastboot boot twrp-3.2.1-0-enchilada.img
(depends on actual version of TWRP team)
in TWRP: Install kernel zip
Code:
adb push blu_spark_r18-oos_op6_cd2084b.zip /sdcard/
install via TWRP menu
in TWRP: Install Magisk zip
Code:
adb push Magisk-v16.4.zip /sdcard/
install via TWRP menu
reboot system
and be aware: the stock rom have oneplus and qualcomm apps which is collecting your data.
advice: make initials settings without SIM card and without wifi (if you coming from fresh install) .
check if you got root.
debloat your system
make a NAndroid Backup with TWRP
do 2.) if you didn't install TWRP
and backup your system
if you want to make sure that both slots are having same debloated system image, switch the slot with TWRP restart menu
see 98.) 99.) with Good to know 4.)
flash fastboot ROM with new system image
do steps 2.- 5.)
98. if you see issues mounting /system recover with fastboot image: Good to know 4.)
99. if you want to save the efforts on system replace the fastboot ROM system.img with your TWRP backup system file
copy system_image.emmc.win to fastboot rom folder and rename it to system.img
Thanks to:
Didgeridoohan
mauronofrio
topjohnwu
eng.stk
TeamWin
WoZZeR999
quangtran1
Rajeev
questionable pre-installed apps in my knowledge
Code:
App System folder reason
CalendarGoogle app I don't trust google apps with ability of google cloud
Chrome app don't need to be in system-app because updated on regular basis by google
Drive app I don't use google cloud: don't need to be in system-app because updated on regular basis by google
Duo app don't need to be in system-app because updated on regular basis by google
Gmail2 app don't need to be in system-app because updated on regular basis by google
GoogleContactsSyncAdapter app I don't trust google apps with ability of google cloud
GooglePrintRecommendationService app bloat ? I don't need it
LogKitSdService app suspicous:eek:neplus Analytics Logger
Maps app don't need to be in system-app because updated on regular basis by google
Music2 app I don't trust google apps with ability of google cloud
OemAutoTestServer app suspicous
OEMLogKit app suspicous Oneplus Analytics Logger
OPBugReportLite app suspicous Oneplus Analytics Logger
OpenWnn app No need of asian fonts
OPPush app bloat software - I check XDA forums with browers
OPSocialNetworkHub app bloat software - I check oneplus forums with browers
Photos app I don't trust google apps with ability of google cloud
PhotosOnline app I don't use google cloud: online saved pics
talkback app don't need to be in system-app because updated on regular basis by google
uimremoteclient app suspicous: Qualcomm UI remote software
uimremoteserver app suspicous: Qualcomm UI remote software
Videos app Google Videos: don't need to be in system-app because updated on regular basis by google
YouTube app don't need to be in system-app because updated on regular basis by google
NVBackupUI app I don't use Oneplus Backup
OPForum reserve don't need to be in system-reserve because updated by Oneplus
OPIconpackCircle reserve I don't use Oneplus Icons
OPIconpackSquare reserve I don't use Oneplus Icons
OPBackupRestore reserve I don't use Oneplus Backup
BackupRestoreConfirmation priv-app I don't use Oneplus Backup
GoogleBackupTransport priv-app I don't use Google Backup
OPDeviceManager priv-app suspicous Oneplus Analytics Logger
OPDeviceManagerProvider priv-app suspicous Oneplus Analytics Logger
ManagedProvisioning priv-app I don't use external configs
OPSettingsProvider priv-app I don't use external configs
Velvet priv-app Google app: I don't use
in /vendor/app: needs to be deactivated:
SSGTelemetryService vendor/app suspicous com.qualcomm.qti.qms.service.telemetry
Correction: Engieering apps seems to be needed for entering USSD-Codes:
EngineeringMode app suspicous USSD-Codes
EngSpecialTest app suspicous
Another correction removing of following app results a shut down immediately after boot
OPOnlineConfig app I don't use online saved configs
Another correction this app checks for OTA updates
OPBackup app I don't use Oneplus Backup

Howto debloated ? with app do you use te remove the apps
I used mixexplorer

Damn, that is a lot of apps to be removing at once. I would strongly recommend any trying this to freeze the apps first, and furthermore freeze a few at time in case things start breaking, so you know what may have caused it.

cobusr said:
Howto debloated ? with app do you use te remove the apps
I used mixexplorer
Click to expand...
Click to collapse
I use
System app remover
but you can use any app like
System app remover
system app uninstaller
ES File Explorer
or simply terminal or adb shell.
If you want an app: search in playstore for system app remover or root remover.

iElvis said:
Damn, that is a lot of apps to be removing at once. I would strongly recommend any trying this to freeze the apps first, and furthermore freeze a few at time in case things start breaking, so you know what may have caused it.
Click to expand...
Click to collapse
yes, indeed.
Since many apps are known to me from older oneplus devices, it was easier for me.
these apps in reserve folder are safe to remove and can be reinstalled from playstore
Code:
OPForum reserve don't need to be in system-reserve because updated by Oneplus
OPIconpackCircle reserve I don't use Oneplus Icons
OPIconpackSquare reserve I don't use Oneplus Icons
apps from google like maps/chrome/duo can also be reinstalled from playstore.
Code:
CalendarGoogle app I don't trust google apps with ability of google cloud
Chrome app don't need to be in system-app because updated on regular basis by google
Drive app I don't use google cloud: don't need to be in system-app because updated on regular basis by google
Duo app don't need to be in system-app because updated on regular basis by google
Gmail2 app don't need to be in system-app because updated on regular basis by google
Maps app don't need to be in system-app because updated on regular basis by google
Music2 app I don't trust google apps with ability of google cloud
PhotosOnline app I don't use google cloud: online saved pics
talkback app don't need to be in system-app because updated on regular basis by google
Videos app Google Videos: don't need to be in system-app because updated on regular basis by google
YouTube app don't need to be in system-app because updated on regular basis by google
Velvet priv-app Google app: I don't use
the rest should be deactived and checked if device is running as expected
Code:
GoogleContactsSyncAdapter app I don't trust google apps with ability of google cloud
GooglePrintRecommendationService app bloat ? I don't need it
LogKitSdService app suspicous:eek:neplus Analytics Logger
OemAutoTestServer app suspicous
OEMLogKit app suspicous Oneplus Analytics Logger
OPBugReportLite app suspicous Oneplus Analytics Logger
OpenWnn app No need of asian fonts
OPOnlineConfig app I don't use online saved configs
OPPush app bloat software - I check XDA forums with browers
OPSocialNetworkHub app bloat software - I check oneplus forums with browers
Photos app I don't trust google apps with ability of google cloud
uimremoteclient app suspicous: Qualcomm UI remote software
uimremoteserver app suspicous: Qualcomm UI remote software
NVBackupUI app I don't use Oneplus Backup
OPBackupRestore reserve I don't use Oneplus Backup
BackupRestoreConfirmation priv-app I don't use Oneplus Backup
GoogleBackupTransport priv-app I don't use Google Backup
OPDeviceManager priv-app suspicous Oneplus Analytics Logger
OPDeviceManagerProvider priv-app suspicous Oneplus Analytics Logger
ManagedProvisioning priv-app I don't use external configs
OPSettingsProvider priv-app I don't use external configs
not system image based: vendor image based -> to be deactivated:
Code:
SSGTelemetryService vendor/app suspicous com.qualcomm.qti.qms.service.telemetry
Correction:
EngineeringMode app (suspicous) Used to enter USSD codes
EngSpecialTest app suspicous
Another correction removing of following app results a shut down immediately after boot
OPOnlineConfig app I don't use online saved configs
OPBackup app (I don't use Oneplus Backup) OTA Update checker

I used titanium backup to remove some google apps (gmail, playmusic etc....), then i rebooted the device. What the hell, they're still on my phone asking to be updated on playstore? how is that even possible? Titanium backup removes the system APK, so i'm confused

amithiel said:
I used titanium backup to remove some google apps (gmail, playmusic etc....), then i rebooted the device. What the hell, they're still on my phone asking to be updated on playstore? how is that even possible? Titanium backup removes the system APK, so i'm confused
Click to expand...
Click to collapse
Why ?
Option 1.) Titianium is deleting not completly
Option 2.) You removed the wrong one.
Do it again and check with file explorer with root, like ES file explorer or Total commander.
if it's still there try another method see above.

SSGTelemetryService vendor/app suspicous com.qualcomm.qti.qms.service.telemetry
How do you de-activate/get rid of this??
I tried deleting it in solid explorer (rooted) but it wouldn't delete??

carlos67 said:
SSGTelemetryService vendor/app suspicous com.qualcomm.qti.qms.service.telemetry
How do you de-activate/get rid of this??
I tried deleting it in solid explorer (rooted) but it wouldn't delete??
Click to expand...
Click to collapse
It's on the vendor image not system image... so the system app remover are only specialized to mount r/w/ system partition... not vendor image.
Other image other app
Deactivate it with Titanium Backup...
or go with your explorer - installed apps and search for telemetryjservice
Click on it, and the App-view opens.
deactivate there..

I freezed the following Apps without any issues. I hope freezing is enough, because if uninstalled, they are reinstalled after each update. A freezed app should stay freezed...
Code:
AutoTestServer 1.0
BugReportLite
com.oem.logkitsdservice
com.qualcomm.uimremoteclient 8.1.0
com.qualcomm.uimremoteserer 8.1.0
Card Package
NVBackupUI
OnePlus Account
OnePlusLogKit
OpenWnn
OPSocialNetworkHub
Push
TelemetryJService
Weather
Since I'm using Google Services, I only uninstalled some of Google Apps.

Testerofroms said:
Why ?
Option 1.) Titianium is deleting not completly
Option 2.) You removed the wrong one.
Do it again and check with file explorer with root, like ES file explorer or Total commander.
if it's still there try another method see above.
Click to expand...
Click to collapse
I tried countless times. Anyway, i ended up freezing all of them, and worked. But i'll check with filemanager whats going on. Thanks

I freezed over 30 apps with "titanium backup".
I wish this app could save freezing list to keep it and restore later on fresh rom.
So much trash in Oneplus phone as well as in stock Android os.
Huge shame on Oneplus and Google !!

x111 said:
I freezed over 30 apps with "titanium backup".
I wish this app could save freezing list to keep it and restore later on fresh rom.
So much trash in Oneplus phone as well as in stock Android os.
Huge shame on Oneplus and Google !!
Click to expand...
Click to collapse
You should take a look at Samsung or Huawei phones, Oneplus is not that much bloated.
If you freeze an app, it will stay freezed after an update, only if you uninstall it, it will be reinstalled.

amithiel said:
I tried countless times. Anyway, i ended up freezing all of them, and worked. But i'll check with filemanager whats going on. Thanks
Click to expand...
Click to collapse
If you uninstall a system app like Google Chrome or YouTube, every time the app gets an update it will be reinstalled. Before uninstalling, go to the Playstore page of that app, hit the three dots in the upper right corner and uncheck automatic update, then uninstall the app.

brown1178 said:
I freezed the following Apps without any issues. I hope freezing is enough, because if uninstalled, they are reinstalled after each update. A freezed app should stay freezed...
Click to expand...
Click to collapse
It's almost always better to freeze apps like this instead of deleting them, especially on a phone with this much storage space. If something goes haywire, defrosting is a lot easier than doing a full system reflash.

My hardcore script to clean up an OOS rom
Code:
delete_recursive("/system/system/app/Account");
delete_recursive("/system/system/app/AndroidPay");
delete_recursive("/system/system/app/AntHalService");
delete_recursive("/system/system/app/BasicDreams");
delete_recursive("/system/system/app/BluetoothMidiService");
delete_recursive("/system/system/app/BookmarkProvider");
delete_recursive("/system/system/app/BTtestmode");
delete_recursive("/system/system/app/Bugle");
delete_recursive("/system/system/app/card");
delete_recursive("/system/system/app/CalendarGoogle");
delete_recursive("/system/system/app/CaptivePortalLogin");
#delete_recursive("/system/system/app/Chrome");
delete_recursive("/system/system/app/CtsShimPrebuilt");
delete_recursive("/system/system/app/DeskClock");
delete_recursive("/system/system/app/DivesIconPack");
delete_recursive("/system/system/app/DocumentsUI");
delete_recursive("/system/system/app/DMAgent");
delete_recursive("/system/system/app/Drive");
#delete_recursive("/system/system/app/EngineeringMode");
#delete_recursive("/system/system/app/EngSpecialTest");
delete_recursive("/system/system/app/EasterEgg");
delete_recursive("/system/system/app/FaceLock");
delete_recursive("/system/system/app/Galaxy4");
delete_recursive("/system/system/app/GooglePay");
delete_recursive("/system/system/app/Gmail2");
delete_recursive("/system/system/app/GmailExchange");
delete_recursive("/system/system/app/GoogleTTS");
delete_recursive("/system/system/app/GoogleContactsSyncAdapter");
#delete_recursive("/system/system/app/GmsSampleLayout");
delete_recursive("/system/system/app/GooglePrintRecommendationService");
#delete_recursive("/system/system/app/HTMLViewer");
delete_recursive("/system/system/app/Hangouts");
delete_recursive("/system/system/app/HoloSpiralWallpaper");
#delete_recursive("/system/system/app/LiveWallpapers");
#delete_recursive("/system/system/app/LiveWallpapersPicker");
delete_recursive("/system/system/app/LogKitSdService");
delete_recursive("/system/system/app/LatinImeGoogle");
delete_recursive("/system/system/app/Maps");
delete_recursive("/system/system/app/Music");
delete_recursive("/system/system/app/Music2");
delete_recursive("/system/system/app/NoiseField");
#delete_recursive("/system/system/app/NfcNci");
#delete_recursive("/system/system/app/NFCTestMode");
delete_recursive("/system/system/app/NVBackupUI");
delete_recursive("/system/system/app/OemAutoTestServer");
delete_recursive("/system/system/app/OPBackup");
delete_recursive("/system/system/app/OPBackupRestore");
delete_recursive("/system/system/app/OEMLogKit");
delete_recursive("/system/system/app/OPBugReportLite");
delete_recursive("/system/system/app/OPMusic");
delete_recursive("/system/system/app/OPLauncher2");
delete_recursive("/system/system/app/OPSocialNetworkHub");
delete_recursive("/system/system/app/OPWallpaperResources");
delete_recursive("/system/system/app/OPWidget");
#delete_recursive("/system/system/app/OPOnlineConfig");
#delete_recursive("/system/system/app/OPPush");
#delete_recursive("/system/system/app/OpenWnn");
delete_recursive("/system/system/app/OnePlusWizard");
delete_recursive("/system/system/app/SetupWizard");
delete_recursive("/system/system/app/com.quicinc.wbcserviceapp");
delete_recursive("/system/system/app/PartnerBookmarksProvider");
delete_recursive("/system/system/app/PhaseBeam");
delete_recursive("/system/system/app/Photos");
delete_recursive("/system/system/app/PhotosOnline");
delete_recursive("/system/system/app/Protips");
#delete_recursive("/system/system/app/PrintSpooler");
#delete_recursive("/system/system/app/RifonIconPack");
delete_recursive("/system/system/app/SensorTestTool");
delete_recursive("/system/system/app/SwiftKey");
delete_recursive("/system/system/app/SwiftKeyFactorySettings");
delete_recursive("/system/system/app/talkback");
delete_recursive("/system/system/app/Videos");
delete_recursive("/system/system/app/YouTube");
delete_recursive("/system/system/app/Weather");
delete_recursive("/system/system/app/VoicePrintService");
delete_recursive("/system/system/app/WifiRfTestApk");
delete_recursive("/system/system/com.touchtype");
delete_recursive("/system/system/app/SoundRecorder");
#delete_recursive("/system/system/app/CtsShimPrebuilt");
delete_recursive("/system/system/app/Duo");
#delete_recursive("/system/system/app/WfdService");
#delete_recursive("/system/system/app/LiveWallpapersPicker");
delete_recursive("/system/system/app/OPLauncher");
delete_recursive("/system/system/app/OPWallpapers");
delete_recursive("/system/system/vendor/app/Perfdump");
delete_recursive("/system/system/etc/usb_drivers.iso");
delete_recursive("/system/system/vendor/pittpatt");
#delete_recursive("/system/system/usr/srec");
delete_recursive("/system/system/media/bootanimation.zip");
delete_recursive("/system/system/reserve");
delete_recursive("/system/system/etc/wigig_logcollector.ini");
delete_recursive("/system/system/bin/wigig_remoteserver");
delete_recursive("/system/system/vendor/bin/WifiLogger_app");
delete_recursive("/system/system/priv-app/MusicFX");
delete_recursive("/system/system/priv-app/Tag");
delete_recursive("/system/system/priv-app/Velvet");
delete_recursive("/system/system/priv-app/GmsCore");
delete_recursive("/system/system/priv-app/GoogleBackupTransport");
delete_recursive("/system/system/priv-app/GoogleFeedback");
delete_recursive("/system/system/priv-app/GoogleLoginService");
delete_recursive("/system/system/priv-app/GoogleOneTimeInitializer");
delete_recursive("/system/system/priv-app/GooglePartnerSetup");
delete_recursive("/system/system/priv-app/GoogleServicesFramework");
delete_recursive("/system/system/priv-app/Phonesky");
#delete_recursive("/system/system/priv-app/OPDeviceManager");
#delete_recursive("/system/system/priv-app/OPDeviceManagerProvider");
#delete_recursive("/system/system/priv-app/OPCellBroadcastReceiver");
#delete_recursive("/system/system/priv-app/CtsShimPrivPrebuilt");
#delete_recursive("/system/system/priv-app/OnePlusGallery");
delete_recursive("/system/system/app/Books");
delete_recursive("/system/system/app/CalculatorGoogle");
delete_recursive("/system/system/app/CalendarGooglePrebuilt");
delete_recursive("/system/system/app/CloudPrint2");
delete_recursive("/system/system/app/EditorsDocs");
delete_recursive("/system/system/app/EditorsSheets");
delete_recursive("/system/system/app/EditorsSlides");
delete_recursive("/system/system/app/FaceLock");
delete_recursive("/system/system/app/FitnessPrebuilt");
delete_recursive("/system/system/app/GoogleCalendarSyncAdapter");
delete_recursive("/system/system/app/GoogleCamera");
delete_recursive("/system/system/app/GoogleCamera");
delete_recursive("/system/system/app/GoogleContactsSyncAdapter");
delete_recursive("/system/system/app/GoogleEars");
delete_recursive("/system/system/app/GoogleEarth");
delete_recursive("/system/system/app/GoogleHindiIME");
delete_recursive("/system/system/app/GoogleHome");
delete_recursive("/system/system/app/GoogleJapaneseInput");
delete_recursive("/system/system/app/GooglePinyinIME");
delete_recursive("/system/system/app/GoogleTTS");
delete_recursive("/system/system/app/GoogleZhuyinIME");
delete_recursive("/system/system/app/Hangouts");
delete_recursive("/system/system/app/KoreanIME");
delete_recursive("/system/system/app/Newsstand");
delete_recursive("/system/system/app/PlayGames");
delete_recursive("/system/system/app/PlusOne");
delete_recursive("/system/system/app/PrebuiltBugle");
delete_recursive("/system/system/app/PrebuiltDeskClockGoogle");
delete_recursive("/system/system/app/PrebuiltExchange3Google");
delete_recursive("/system/system/app/PrebuiltGmail");
delete_recursive("/system/system/app/PrebuiltKeep");
delete_recursive("/system/system/app/PrebuiltNewsWeather");
delete_recursive("/system/system/app/Street");
delete_recursive("/system/system/app/TranslatePrebuilt");
delete_recursive("/system/system/app/Tycho");
delete_recursive("/system/system/app/Videos");
delete_recursive("/system/system/app/Wallet");
#delete_recursive("/system/system/priv-app/ConfigUpdater");
delete_recursive("/system/system/priv-app/GCS");
delete_recursive("/system/system/priv-app/GoogleBackupTransport");
delete_recursive("/system/system/priv-app/GoogleContacts");
delete_recursive("/system/system/priv-app/GoogleDialer");
delete_recursive("/system/system/priv-app/GoogleFeedback");
delete_recursive("/system/system/priv-app/GoogleLoginService");
delete_recursive("/system/system/priv-app/GoogleOneTimeInitializer");
delete_recursive("/system/system/priv-app/GooglePartnerSetup");
delete_recursive("/system/system/priv-app/GoogleServicesFramework");
delete_recursive("/system/system/priv-app/HotwordEnrollment");
delete_recursive("/system/system/priv-app/Phonesky");
delete_recursive("/system/system/priv-app/PrebuiltGmsCore");
delete_recursive("/system/system/priv-app/TagGoogle");
delete_recursive("/system/system/priv-app/HotwordEnrollmentOKGoogleWCD9340");
delete_recursive("/system/system/priv-app/HotwordEnrollmentXGoogleWCD9340");
delete_recursive("/system/system/priv-app/SetupWizard");
delete_recursive("/system/system/priv-app/OnePlusWizard");
delete_recursive("/system/system/priv-app/DocumentsUI");

DocRambone said:
My hardcore script to clean up an OOS rom
Code:
delete_recursive("/system/system/app/Account");
delete_recursive("/system/system/app/AndroidPay");
delete_recursive("/system/system/app/AntHalService");
delete_recursive("/system/system/app/BasicDreams");
delete_recursive("/system/system/app/BluetoothMidiService");
delete_recursive("/system/system/app/BookmarkProvider");
delete_recursive("/system/system/app/BTtestmode");
delete_recursive("/system/system/app/Bugle");
delete_recursive("/system/system/app/card");
delete_recursive("/system/system/app/CalendarGoogle");
delete_recursive("/system/system/app/CaptivePortalLogin");
#delete_recursive("/system/system/app/Chrome");
delete_recursive("/system/system/app/CtsShimPrebuilt");
delete_recursive("/system/system/app/DeskClock");
delete_recursive("/system/system/app/DivesIconPack");
delete_recursive("/system/system/app/DocumentsUI");
delete_recursive("/system/system/app/DMAgent");
delete_recursive("/system/system/app/Drive");
#delete_recursive("/system/system/app/EngineeringMode");
#delete_recursive("/system/system/app/EngSpecialTest");
delete_recursive("/system/system/app/EasterEgg");
delete_recursive("/system/system/app/FaceLock");
delete_recursive("/system/system/app/Galaxy4");
delete_recursive("/system/system/app/GooglePay");
delete_recursive("/system/system/app/Gmail2");
delete_recursive("/system/system/app/GmailExchange");
delete_recursive("/system/system/app/GoogleTTS");
delete_recursive("/system/system/app/GoogleContactsSyncAdapter");
#delete_recursive("/system/system/app/GmsSampleLayout");
delete_recursive("/system/system/app/GooglePrintRecommendationService");
#delete_recursive("/system/system/app/HTMLViewer");
delete_recursive("/system/system/app/Hangouts");
delete_recursive("/system/system/app/HoloSpiralWallpaper");
#delete_recursive("/system/system/app/LiveWallpapers");
#delete_recursive("/system/system/app/LiveWallpapersPicker");
delete_recursive("/system/system/app/LogKitSdService");
delete_recursive("/system/system/app/LatinImeGoogle");
delete_recursive("/system/system/app/Maps");
delete_recursive("/system/system/app/Music");
delete_recursive("/system/system/app/Music2");
delete_recursive("/system/system/app/NoiseField");
#delete_recursive("/system/system/app/NfcNci");
#delete_recursive("/system/system/app/NFCTestMode");
delete_recursive("/system/system/app/NVBackupUI");
delete_recursive("/system/system/app/OemAutoTestServer");
delete_recursive("/system/system/app/OPBackup");
delete_recursive("/system/system/app/OPBackupRestore");
delete_recursive("/system/system/app/OEMLogKit");
delete_recursive("/system/system/app/OPBugReportLite");
delete_recursive("/system/system/app/OPMusic");
delete_recursive("/system/system/app/OPLauncher2");
delete_recursive("/system/system/app/OPSocialNetworkHub");
delete_recursive("/system/system/app/OPWallpaperResources");
delete_recursive("/system/system/app/OPWidget");
#delete_recursive("/system/system/app/OPOnlineConfig");
#delete_recursive("/system/system/app/OPPush");
#delete_recursive("/system/system/app/OpenWnn");
delete_recursive("/system/system/app/OnePlusWizard");
delete_recursive("/system/system/app/SetupWizard");
delete_recursive("/system/system/app/com.quicinc.wbcserviceapp");
delete_recursive("/system/system/app/PartnerBookmarksProvider");
delete_recursive("/system/system/app/PhaseBeam");
delete_recursive("/system/system/app/Photos");
delete_recursive("/system/system/app/PhotosOnline");
delete_recursive("/system/system/app/Protips");
#delete_recursive("/system/system/app/PrintSpooler");
#delete_recursive("/system/system/app/RifonIconPack");
delete_recursive("/system/system/app/SensorTestTool");
delete_recursive("/system/system/app/SwiftKey");
delete_recursive("/system/system/app/SwiftKeyFactorySettings");
delete_recursive("/system/system/app/talkback");
delete_recursive("/system/system/app/Videos");
delete_recursive("/system/system/app/YouTube");
delete_recursive("/system/system/app/Weather");
delete_recursive("/system/system/app/VoicePrintService");
delete_recursive("/system/system/app/WifiRfTestApk");
delete_recursive("/system/system/com.touchtype");
delete_recursive("/system/system/app/SoundRecorder");
#delete_recursive("/system/system/app/CtsShimPrebuilt");
delete_recursive("/system/system/app/Duo");
#delete_recursive("/system/system/app/WfdService");
#delete_recursive("/system/system/app/LiveWallpapersPicker");
delete_recursive("/system/system/app/OPLauncher");
delete_recursive("/system/system/app/OPWallpapers");
delete_recursive("/system/system/vendor/app/Perfdump");
delete_recursive("/system/system/etc/usb_drivers.iso");
delete_recursive("/system/system/vendor/pittpatt");
#delete_recursive("/system/system/usr/srec");
delete_recursive("/system/system/media/bootanimation.zip");
delete_recursive("/system/system/reserve");
delete_recursive("/system/system/etc/wigig_logcollector.ini");
delete_recursive("/system/system/bin/wigig_remoteserver");
delete_recursive("/system/system/vendor/bin/WifiLogger_app");
delete_recursive("/system/system/priv-app/MusicFX");
delete_recursive("/system/system/priv-app/Tag");
delete_recursive("/system/system/priv-app/Velvet");
delete_recursive("/system/system/priv-app/GmsCore");
delete_recursive("/system/system/priv-app/GoogleBackupTransport");
delete_recursive("/system/system/priv-app/GoogleFeedback");
delete_recursive("/system/system/priv-app/GoogleLoginService");
delete_recursive("/system/system/priv-app/GoogleOneTimeInitializer");
delete_recursive("/system/system/priv-app/GooglePartnerSetup");
delete_recursive("/system/system/priv-app/GoogleServicesFramework");
delete_recursive("/system/system/priv-app/Phonesky");
#delete_recursive("/system/system/priv-app/OPDeviceManager");
#delete_recursive("/system/system/priv-app/OPDeviceManagerProvider");
#delete_recursive("/system/system/priv-app/OPCellBroadcastReceiver");
#delete_recursive("/system/system/priv-app/CtsShimPrivPrebuilt");
#delete_recursive("/system/system/priv-app/OnePlusGallery");
delete_recursive("/system/system/app/Books");
delete_recursive("/system/system/app/CalculatorGoogle");
delete_recursive("/system/system/app/CalendarGooglePrebuilt");
delete_recursive("/system/system/app/CloudPrint2");
delete_recursive("/system/system/app/EditorsDocs");
delete_recursive("/system/system/app/EditorsSheets");
delete_recursive("/system/system/app/EditorsSlides");
delete_recursive("/system/system/app/FaceLock");
delete_recursive("/system/system/app/FitnessPrebuilt");
delete_recursive("/system/system/app/GoogleCalendarSyncAdapter");
delete_recursive("/system/system/app/GoogleCamera");
delete_recursive("/system/system/app/GoogleCamera");
delete_recursive("/system/system/app/GoogleContactsSyncAdapter");
delete_recursive("/system/system/app/GoogleEars");
delete_recursive("/system/system/app/GoogleEarth");
delete_recursive("/system/system/app/GoogleHindiIME");
delete_recursive("/system/system/app/GoogleHome");
delete_recursive("/system/system/app/GoogleJapaneseInput");
delete_recursive("/system/system/app/GooglePinyinIME");
delete_recursive("/system/system/app/GoogleTTS");
delete_recursive("/system/system/app/GoogleZhuyinIME");
delete_recursive("/system/system/app/Hangouts");
delete_recursive("/system/system/app/KoreanIME");
delete_recursive("/system/system/app/Newsstand");
delete_recursive("/system/system/app/PlayGames");
delete_recursive("/system/system/app/PlusOne");
delete_recursive("/system/system/app/PrebuiltBugle");
delete_recursive("/system/system/app/PrebuiltDeskClockGoogle");
delete_recursive("/system/system/app/PrebuiltExchange3Google");
delete_recursive("/system/system/app/PrebuiltGmail");
delete_recursive("/system/system/app/PrebuiltKeep");
delete_recursive("/system/system/app/PrebuiltNewsWeather");
delete_recursive("/system/system/app/Street");
delete_recursive("/system/system/app/TranslatePrebuilt");
delete_recursive("/system/system/app/Tycho");
delete_recursive("/system/system/app/Videos");
delete_recursive("/system/system/app/Wallet");
#delete_recursive("/system/system/priv-app/ConfigUpdater");
delete_recursive("/system/system/priv-app/GCS");
delete_recursive("/system/system/priv-app/GoogleBackupTransport");
delete_recursive("/system/system/priv-app/GoogleContacts");
delete_recursive("/system/system/priv-app/GoogleDialer");
delete_recursive("/system/system/priv-app/GoogleFeedback");
delete_recursive("/system/system/priv-app/GoogleLoginService");
delete_recursive("/system/system/priv-app/GoogleOneTimeInitializer");
delete_recursive("/system/system/priv-app/GooglePartnerSetup");
delete_recursive("/system/system/priv-app/GoogleServicesFramework");
delete_recursive("/system/system/priv-app/HotwordEnrollment");
delete_recursive("/system/system/priv-app/Phonesky");
delete_recursive("/system/system/priv-app/PrebuiltGmsCore");
delete_recursive("/system/system/priv-app/TagGoogle");
delete_recursive("/system/system/priv-app/HotwordEnrollmentOKGoogleWCD9340");
delete_recursive("/system/system/priv-app/HotwordEnrollmentXGoogleWCD9340");
delete_recursive("/system/system/priv-app/SetupWizard");
delete_recursive("/system/system/priv-app/OnePlusWizard");
delete_recursive("/system/system/priv-app/DocumentsUI");
Click to expand...
Click to collapse
Can I use this via terminal or adb?

DocRambone said:
My hardcore script to clean up an OOS rom
Code:
...
delete_recursive("/system/system/app/CaptivePortalLogin");
#delete_recursive("/system/system/app/Chrome");
..
delete_recursive("/system/system/app/OPBackup");
Click to expand...
Click to collapse
CaptivePortal is a mechanism to login at airports at free or paid WIFI etc.
OPBackup is the OTA Update checker...
DocRambone said:
Code:
#delete_recursive("/system/system/app/OpenWnn");
delete_recursive("/system/system/app/GoogleJapaneseInput");
delete_recursive("/system/system/app/GooglePinyinIME");
delete_recursive("/system/system/app/GoogleTTS");
delete_recursive("/system/system/app/GoogleZhuyinIME");
delete_recursive("/system/system/app/KoreanIME");
Click to expand...
Click to collapse
You are deleting some other asian languages but not the Openwnn ?
Link to OpenWnn is a Japanese keyboard/IME from the Android Open Source Project
I don't have these except OpenWnn..
DocRambone said:
Code:
delete_recursive("/system/system/priv-app/Tag");
#delete_recursive("/system/system/priv-app/OPDeviceManager");
#delete_recursive("/system/system/priv-app/OPDeviceManagerProvider");
Click to expand...
Click to collapse
I think, Tag is the app to read out the MP3/MP4 tags as description..
OPDeviceManager is the dataminer from Oneplus
Read here
DocRambone said:
Code:
delete_recursive("/system/system/app/PrebuiltBugle");
delete_recursive("/system/system/app/PrebuiltDeskClockGoogle");
delete_recursive("/system/system/app/PrebuiltExchange3Google");
delete_recursive("/system/system/app/PrebuiltGmail");
delete_recursive("/system/system/app/PrebuiltKeep");
delete_recursive("/system/system/app/PrebuiltNewsWeather");
delete_recursive("/system/system/app/Street");
delete_recursive("/system/system/app/TranslatePrebuilt");
delete_recursive("/system/system/app/Tycho");
delete_recursive("/system/system/app/Wallet");
Click to expand...
Click to collapse
I don't have these folders/app...
Well take a further look in /system/media/
I removed also most of the Oneplus themes there ...
Code:
delete_recursive("/system/media/themes/oneplus_4");
delete_recursive("/system/media/themes/oneplus_5");
delete_recursive("/system/media/themes/oneplus_6");
delete_recursive("/system/media/themes/oneplus_7");
delete_recursive("/system/media/themes/oneplus_8");
delete_recursive("/system/media/themes/oneplus_9");
delete_recursive("/system/media/themes/oneplus_10");
delete_recursive("/system/media/themes/oneplus_11");
delete_recursive("/system/media/themes/oneplus_12");
delete_recursive("/system/media/themes/oneplus_13");
delete_recursive("/system/media/themes/oneplus_14");
delete_recursive("/system/media/themes/oneplus_15");
delete_recursive("/system/media/themes/oneplus_black");
delete_recursive("/system/media/themes/oneplus_white");

80s Baby said:
Can I use this via terminal or adb?
Click to expand...
Click to collapse
I think he used an alias or a function "delete_recursive"
delete_recursive("/system/system/app/OPPush");
to be used in a script tool
the correct command would be
rm -rf /system/system/app/OPPush
rm = command remove
option -r = recursive
option -f = attempt to remove the files without prompting for confirmation

DocRambone said:
My hardcore script to clean up an OOS rom
Click to expand...
Click to collapse
and I thought that I was aggressive in freezing out the crap. I've got nothing on you!!!
Is there anything left on your phone?
How did you find out what most of the stuff does?? One thing that would really benefit the android development community massively would be a google software engineer to release a description of what all this crap is for. Then we could make our own informed decision about what to get rid of, instead of most people using phones bloated with all sorts of useless crap.
Maybe oneday my prayers will be answered and we will have answers to what all these packages do.
Edit: maybe the only way to know what a package does it to de-compile it and look at it's dark heart to see what it does. I'm surprised nobody has done such a project yet on XDA

Related

[GUIDE] Debloat - How to remove bloatware on AT&T LG G3 - ROOT REQUIRED

HOW TO REMOVE BLOATWARE
Step 1. Root your phone using one of the two methods listed here
ROOT YOUR LG G3
Step 2. Download and install Root Explorer
Play Store
Step 3. Create the following file structure on your internal or external SD CARD
Main Folder: RemovedApps
Sub Folders in RemovedApps:
APP
PRIV-APP
VENDOR
Sub Folder in RemovedApps/Vendor
APP
This step will give you the following folder structure
RemovedApps/APP
RemovedApps/PRIV-APP
RemovedApps/VENDOR/APP
Step 4: Open Root Explorer and use the firs tab to navigate to root/system/ (NOTE: Root Explorer will ask for SuperSU permissions - make sure to give it permission) and the second tab in Root Explorer to Navigate to your newly created RemovedApps Folder
Step 5. use the following list to cut and paste the listed files from your system folder to the RemovedApps Folder NOTE: remember to copy files to corresponding folders IE system/app to RemovedApps/APP and System/vendor/app to RemovedApps/Vendor/APP NOTE: once you try to cut the system files, Root Explorer will ask if you are sure you want to modify system files - say yes
System/app
ATT_Skyfire_Observer.apk
Book.apk - Google Book Store
Books.odex
ChromeWithBrowser.apk - Chrome Browser
ChromeWithBrowser.odex
ELTTest.Apk - Diagnostic Test
ELTTest.odex
Facebook.apk - Facebook
GnssAirTest.apk - GLONASS Airwave Test
GnssAirTest.odex
GnnsPosTest.apk - GLONASS Positioning Test
GnssPosTest.odex
GnssTest.apk - GLONASS Test
GnssTest.odex
GoogleDrive.apk - Google Drive
GoogleDrive.odex
GoogleTTS.apk - Google Text to Speach
GoogleTTS.odex
Hangouts.apk - Google Hangouts
Hangouts.odex
LADDM.apk - Carrier IQ
LGLIA.apk - LG Intelligent Agent
LGLIA.odex
LGPartnerBookmarkProvider.apk
LGPartnerBookmarkProvider.odex
LGWernickeManager.apk
LGWernickeManager.odex
LIAInformant.apk - LG Intelligent Agent Widget
LIAInfromant.odex
Magazines.apk - Google News Stand
Magazines.odex
Maps.apk - Google Maps
Maps.odex
Music2.apk - Google Play Music
Music2.odex
PlusOne.apk - Google+
PlusOne.odex
QuicksetSDK.apk - IR Sensor
Street.apk - Street View
Street.odex
Twitter.apk
Videos.apk - Google Videos
Videos.odex
WVTest.apk - Diagnostic Test
WVTest.odex
youtube.apk
youtube.odex
System/PRIV-APP
AAB.apk
AAB.odex
ATT_DriveMode.apk - AT&T Driver Mode
ATT_Games.apk
ATT_Home.apk
ATT_Locker.apk
ATT_Lookout.apk
ATT_MobileLocate.apk
ATT_RemoteSupport.apk
ATT_SmartWifi.apk
ATT-Caller-NameID.apk
com.mobitv.client.tv.apk - AT&T TV
ISIS_Wallet.apk
LGBackup.apk - Back up fiels to LG
LGBackup.odex
LGBrowser.apk - Stock Browser
LGBrowser.odex
LGConciergeBoard.apk - LG Assistant
LGConciergeBoard.odex
LGConnectionWizard.apk
LGEasyHome.apk - Easy Launcher
LGEasyHome.odex
LGEmail.apk - Stock Email
LGEmail.odex
LGFavoriteContactsWidget.apk
LGFavoriteContactsWidget.odex
LGFileManager.apk
LGFileManager.odex
LGMessage.apk
LGMessage.odex
LGMusic.apk
LGMuisc.odex
LGMusicWidget.apk
LGMusicWidget.odex
LGPCSuite.apk - Share files with PC
LGPCSuite.odex
LGQVoicePlus.apk - Voice command - better to use Google Now
LGQVoicePlus.odex
LGSmartWorld.apk
LGSmartWorld.odex
LGThinkFreeViewer.apk - File viewer
LGThinkFreeViewer.odex
Ready2Go.1.7.apk - AT&T Ready2Go
VVM_ATT.apk - AT&T Visual Voicemail
VVM_ATT.odex
system/vendor/app
AmazonKindle.apk
ATT_FamilyMap.apk
ATT_HotSpots.apk
ATT_Keeper.apk
ATT_MHSLauncher.apk
ATT_Navigator.apk
ATT_Skyfire_Toolbar.apk
ATT_UBER.apk
BeatsMusic.apk
DeviceHelp.apk
myATT.apk
YPMobile.apk
Click to expand...
Click to collapse
Step 6: To be safe, copy your RemovedApps folder to your computer for backup
Step 7: Reboot phone
WARNINGS & DISCLAIMERS
Proceed with caution and at your own risk - I am not responsible if your phone self destructs, gets bricked, or melts.
Please keep in mind that both these methods will yield ROOT only - as of know there is no way to unlock bootloader on AT&T
Rooting and any other modifications to your phone will void your warranty - do not root if you do not know what you are doing.
Rooted devices will not be able to receive OTA updates. You may have to unroot and restore stock in order to accept updates.
​
Frequently Asked Questions
FAQ:
Q. Why do I need to be rooted to do this?
A. Because you will need access to the root and system folders.
Q. Why De-bloat my phone?
A. The manufacturer and the carrier install a bunch of branded apps that take up space and resources. By uninstalling these apps, you have less background activity, less space used and more resources to use for the apps you do want.
Q. Can I use Titanium Backup to Freeze these apps?
A. Freezing these apps will work, however freezing these apps does not free the space used by these apps.
Backup of Removed Files
Backup zip of Removed Files
Did you not follow the directions in the OP?
Did you just decide to delete everything instead of backing it up?
Are you trying to find the .apk for one of the apps you deleted?
Well you are lucky! Here is a zip of everything I told you to backup and remove!
RemovedApps.zip
HOW TO REMOVE CARRIER IQ
No odex for isis wallet?
mrhaley30705 said:
No odex for isis wallet?
Click to expand...
Click to collapse
I didn't have an odex file for ISIS wallet but as a general rule... If you remove the apk, you can remove the odex file as well
Sent from my LG-D850 using Tapatalk
This is great. Thank you very much for the list. One question through. Would you be able to add descriptions to some of these apk names? I would prefer to know what I am removing. Like Gnss or LADDM, etc..
Thanks
abalakersky said:
This is great. Thank you very much for the list. One question through. Would you be able to add descriptions to some of these apk names? I would prefer to know what I am removing. Like Gnss or LADDM, etc..
Thanks
Click to expand...
Click to collapse
If I remember correctly, LADDM is something to do with CarrierIQ. I think you shouldn't touch it on any LG AT&T ROM.
Raymonf said:
If I remember correctly, LADDM is something to do with CarrierIQ. I think you shouldn't touch it on any LG AT&T ROM.
Click to expand...
Click to collapse
I've renamed LADDM after also stopping the related CarrierIQ services within Android System. I've seen no adverse effects.
Link: http://forum.xda-developers.com/showthread.php?t=2819450
abalakersky said:
This is great. Thank you very much for the list. One question through. Would you be able to add descriptions to some of these apk names? I would prefer to know what I am removing. Like Gnss or LADDM, etc..
Thanks
Click to expand...
Click to collapse
I will work on it
Raymonf said:
If I remember correctly, LADDM is something to do with CarrierIQ. I think you shouldn't touch it on any LG AT&T ROM.
Click to expand...
Click to collapse
There is no issues with removing LADDM.apk - it is CarrierIQ. It will not allow CarrierIQ to work - if you'd like you can also follow the removing CarrierIQ instructions and remove the lib files and disable everything in android tuner to completly get rid of everything. Either way - no adverse reaction to removing it... in fact its better to have one less thing stalking and tracking everything you do with your phone.
neverends said:
There is no issues with removing LADDM.apk - it is CarrierIQ. It will not allow CarrierIQ to work - if you'd like you can also follow the removing CarrierIQ instructions and remove the lib files and disable everything in android tuner to completly get rid of everything. Either way - no adverse reaction to removing it... in fact its better to have one less thing stalking and tracking everything you do with your phone.
Click to expand...
Click to collapse
Ah, okay. I was just worried because it's AT&T!
can I use titanium backup's freeze feature instead?
sprhwk said:
can I use titanium backup's freeze feature instead?
Click to expand...
Click to collapse
You can however you would not be freeing up the memory (storage space) that these apps take up
Sent from my LG-D850 using Tapatalk
I keep getting a message when I try to move the files that says it is a read only. How do I change this. I installed supersu after I rooted the phone for other apps but can't perform any removal of bloatware.
idashx said:
I keep getting a message when I try to move the files that says it is a read only. How do I change this. I installed supersu after I rooted the phone for other apps but can't perform any removal of bloatware.
Click to expand...
Click to collapse
what file browser are you using?
Root explorer
neverends said:
what file browser are you using?
Click to expand...
Click to collapse
root explorer
idashx said:
root explorer
Click to expand...
Click to collapse
Try clicking on Mount R/W and it should ask for root permission.... Give permission and proceed... Also check to make sure you have SuperSU installed... If not installed then download from playstore, run, and reboot... Then try again
Sent from my LG-D850 using Tapatalk
Thanks for putting up this how-to. I went ahead and followed the instructions to the "T", and then rebooted. I am a little confused as to why some apps still showed up in my app draw even though they were properly cut and moved to the new folder? I went ahead a tried clearing data for "home" to see if they would show when reloaded, however they still appeared. There were about 5-6 apps including twitter, ISIS, Lookout, and a few more than I forgot the names. I went ahead and manually removed them from the app draw, however I was wondering why they didn't disappear like the others did??
Thanks for your help!
bradm23 said:
Thanks for putting up this how-to. I went ahead and followed the instructions to the "T", and then rebooted. I am a little confused as to why some apps still showed up in my app draw even though they were properly cut and moved to the new folder? I went ahead a tried clearing data for "home" to see if they would show when reloaded, however they still appeared. There were about 5-6 apps including twitter, ISIS, Lookout, and a few more than I forgot the names. I went ahead and manually removed them from the app draw, however I was wondering why they didn't disappear like the others did??
Thanks for your help!
Click to expand...
Click to collapse
Its probably because you had already updated these apps through the playstore... Just go to playstore and you should be able to uninstall them like any other app.
Sent from my LG-D850 using Tapatalk

PIXELize your S8/S8+ and debloat

This is for those who does not really want all the fancy features that are present in Stock Touchwiz ROM and prefer to only have what is on Stock Android or Pixel-like experience.
All credits goes to the creator of each mod involved.
Requirements:
- Custom recovery like TWRP
- Rooted Phone (SuperSU / Magisk)
- File Manager with Root Access. I use Root Explorer
- OpenGApps (arm64,7.0) (package: stock/super/aroma) - This will enable some Nexus/Pixel exclusive features and install Google Apps that are preloaded on Nexus/Pixel Devices including apps that usually can't be installed as normal apk such as below:
- Google Phone
- Google Contacts
- Google Camera (Slow Motion isn't working)
- Google Now Card (swipe to right)
- Google Search Pill
- "OK Google" voice detection
Instructions:
* First thing to do is to flash OpenGApps via TWRP
Link: http://opengapps.org
* Install a navbar overlay from below thread to get Stock Android (AOSP) NavBar or Pixel NavBar. Install it as normal apk.
Link: https://forum.xda-developers.com/galaxy-s8+/themes/substratum-inversion-ui-overlay-overlays-t3604341
* Replace the stock Pixel Launcher (located at '/root/system/priv-app/NexusLauncherPrebuilt/NexusLauncherPrebuilt.apk') with this modded Launcher (link below). This launcher is basically the same as the stock Pixel Launcher with enabled features like round icons for app that supports it. More information on the original thread.
Link: https://forum.xda-developers.com/android/apps-games/launcher3-pixel-launcher-features-t3620972
* Below are some apps i'm using that are supported:
- Google Photos
- Google Play Music
- Google Drive
- Google Calendar
- Google Calculator
- Google Keep
- Google News&Weather
- Google Playstore
- Google Drive
- Google Calendar
- Youtube
- Gmail
- XDA Labs
- XDA Feed
- Twitter
And now that you got all that is required to have a Pixel-like UI / Experience, it's time to make your ROM lightweight.
* Create a folder in your Internal Storage or SD Card named "system" and inside it, create folders "app" and "priv-app". This is to make sure that you can always revert back the changes that you'll make.
* Open your File Manager with root access and navigate to "root/system/app" or "root/system/priv-app"
This is where you can find all the installed apps in your system. In my case, what i do is "cut and paste" the whole folder to Internal Storage and then reboot to remove the bloat that i don't need.
I am currently on Renovate Ice ROM - r98 build (AQF7 FIRMWARE) and below is the list of what i have removed.
[system/app]
AAAService
AdvSoundDetector2015
AllShareFile
AllShareMediaShare
ANTPlusTesy
ApexServicr
apps_brasil_signed_aligned
BasicDreams
BeamService
BookmarkProvider
CarmodeStub
ChocoEUKor
ChromeCustomizations
ClockPackage_N
CloudPrint2
CocktailQuickTool
CoolEUKor
DictDiotek_update
EasymodeContactsWidget81
FBAppManager_NS
FlipboardBriefing
InteractivePanoramaViewer_WQHD
MirrorLink
MotionPanoramaViewer
My_Singtel_4.4_com.singtel.mysingtel
MyGalaxy
NaverV_N
Panorama360Viewer
papergarden
RoseEUKor
SamsungCalendar_Stable_4012
SamsungConcierge_stub
Samsungconnect
SamsungIMEv5
SamsungPayStub
SecCalculator_N_R
SelfMotionPanoramaViewer
shahid
ShareLink_2017
SLocation
SlowMotion_Dream_N
SmartcardService
SmartClipEdgeService
SmartMirroring
SmartReminder
SmartSwitchAgent
SPdfNote
SPrintSpooler7
STalkback
StoryEditor_Dream_N
ubank_samsung
UserManual
Videos
VideoTrimmer_Dream
VirtualTour_N_OS
VisionIntelligence
Weather2017
WeatherWidget2017
WebManual
yandex.search
[system/priv-app]
AODService_v25
AppLock
AppsEdgePanel_v3
BeaconManager
CocktailBarService_v3
ColorBlind_N
Crane
DayLite
EasySetup
FBInstaller_NS
GalaxyAppsWidget_Phone_Dream
Gear360Editor_WQHD_Dream
HealthService
Ignite-Singtel_1.7.306_releaseProduction
KnoxDesktopLauncher
LedCoverAppDream
LedCoverService
Messaging_SEP81
NFusedLocation_v3.0_DREAM
OMCAgent
PeopleStripe
PersonalPageService
PreloadInstaller
RiCE
RNB
RNBShell
SamsungAccount_Dream
SamsungCloudDreamNewIcon
SamsungContacts81
SamsunGInCallUI
SamsungMagnifier3
SamsungThemes
SamsungVideoPlayer2016
SecGallery2015
SEMFactoryApp
SmartcardManager
SmartManager_v5
SmartManager_v5_DeviceSecurity
SMusicPicker
SNS_v2_N
SoundAlive_51
SPPPushClient_Prod
SVoicePLM
TaskEdgePanel
ThemeCenter
TouchWizHome_2017
UnifiedProfile
Upday
VisionCloudAgent
VoiceServiceFramework
VoiceWakeup
VRSetupWizardStub
I am not getting any Force Closes / Crashes / Errors. Just make sure to reboot your device after cutting and pasting system apps to your Internal Storage.
When you realized that you needed something back, just copy and paste the whole folder to where you got them and set the correct permission.
For the folder, set the permission to "rwxr-xr-x".
For the apk inside, set the permission to "rw-r-r".
then reboot your device.
If you want to have an updated google apps as soon as it becomes available, you may download latest apks at apkmirror website then replace existing apk in the system, set the correct permission, and reboot. I've done it to almost all google apps without any issue.
I will try to update this thread to include all apps that can be removed based on stock firmware that's freshly installed.
*Screenshots provided on post#3*
reserved
Screenshots
Sweet! Could you please provide the applock apk. Thanks
Sent from my SM-G950F using Tapatalk
Sweet, I've actually a similar setup, except I'm just freezing apps and didn't bother flashing Gapps.
Also I'd recommend modifying key layout and use ASSIST for the key function. Having Google assistant on bixby button is dope !
@MarkerBeanXDA
If you delete Device Manager you can't access your battery stats.
iamnotkurtcobain said:
@MarkerBeanXDA
If you delete Device Manager you can't access your battery stats.
Click to expand...
Click to collapse
Yes. I am aware of that but i don't really need it as i am having a great battery life and performace. Also, it can easily be installed back in less than a minute if i want to.
MarkerBeanXDA said:
Yes. I am aware of that but i don't really need it as i am having a great battery life and performace. Also, it can easily be installed back in less than a minute if i want to.
Click to expand...
Click to collapse
I am Stock but rooted ROM, tried to flash Super GAPPS but its failed throwing ERROR 70 telling that GAPPS are already installed but in fact I haven't. Is this could be limitation due to STOCK ROM?
asif4self said:
I am Stock but rooted ROM, tried to flash Super GAPPS but its failed throwing ERROR 70 telling that GAPPS are already installed but in fact I haven't. Is this could be limitation due to STOCK ROM?
Click to expand...
Click to collapse
I am always getting that message even with custom roms but it always proceed anyway. I also have tried flashing gapps on stock rooted rom successfully before on my S8. Maybe your gapps is corrupt or not fully downloaded.
MarkerBeanXDA said:
I am always getting that message even with custom roms but it always proceed anyway. I also have tried flashing gapps on stock rooted rom successfully before on my S8. Maybe your gapps is corrupt or not fully downloaded.
Click to expand...
Click to collapse
Ok, thanx for the reply, i'll try downloading again and flash, regards
---------- Post added at 05:33 PM ---------- Previous post was at 05:18 PM ----------
asif4self said:
Ok, thanx for the reply, i'll try downloading again and flash, regards
Click to expand...
Click to collapse
I have tried again flashing newly downloaded gapps file but again same error. The message thrown is "insufficient storage space available in system partition. You may want to use a smaller Open GApps package or consider removing some apps using gapps-config."
iamnotkurtcobain said:
@MarkerBeanXDA
If you delete Device Manager you can't access your battery stats.
Click to expand...
Click to collapse
You can. Download shortcutter, grant it necessary permissions. Add a battery tile from shortcutter to the quick settings and anytime you click on it, it takes you to the battery stats. I have also disabled device manager.
Sent from my SM-G950F using Tapatalk
asif4self said:
I have tried again flashing newly downloaded gapps file but again same error. The message thrown is "insufficient storage space available in system partition. You may want to use a smaller Open GApps package or consider removing some apps using gapps-config."
Click to expand...
Click to collapse
I got the "stock" gapps package and can confirm that it works on stock rooted rom.

[GUIDE] DeGoogle any device and install MicroG

This guide explains how to deGoogle any android by removing most of google invasive crap. (yes, GPlay services is also removed).​Play store, Google app and other crap is also removed from system, so if you want to use them, install them as user app. The installation for play store is different, and it is explained below.
Check my Post on reddit for more up to date info and clear instructions HERE
When we remove Gplay services, many apps and services stop working . Many apps will give error but still work (like maps and telegram and whatsapp). Play store will definitely not work and many apps that use push notification through Gplay services (most of them) will not be able to do so. In my case Uber, ola or any other ride app was also not working and was crashing constantly. Paytm will also not work without play services. And on top of that many apps that use location might not behave properly.
Whoosh! those are a lot of problems for uninstalling play services. So, why would anyone want to do that?
Simply put it, Google is an Advertising company. No it is not a company that sells product, i mean yes it sells products and earns from them BUT more than 60% of their revenue comes from Ads that they serve you. And yes, google is the biggest Ad company in the world with more than 80% of ad share (i may be wrong about the %, feel free to search yourself). So obviously they want ta make money out of your data (by selling it) and to do that what better way than to install spyware on world's largest mobile OS.
Google play services record your every action, tracking every app that you opened and everything you do. That data remains with google and they sell it to 3rd parties (and you agreed to it when you made Google account and setup your android device. Remember Clicking on "I AGREE"?).
Here i will not discuss how invasive it is. A simple Web search with "google play services tracking" will give you much more information. (and please do search it, i beg you) (Pro Tip: reddit has best answers, so explore reddit links from search)
Here is a good one explaining things
And Gplay services Eat a LOT of battery by constantly Running in background. So if you want better battery, remove it
So you have decided to degoogle your phone (and debloat it). What to do about all those errors after removing play services?
Here Comes MicroG. microG is an Open Source replacement for Google Play Services.
"MicroG is a free-as-in-freedom re-implementation of Google’s proprietary Android user space apps and libraries.
The linux-based open-source mobile operating system Android is not only the most popular mobile operating system in the world, it’s also on the way to becoming a proprietary operating system. How is that?
While the core operating system is still released as part of the Android Open Source Project, the majority of core apps are not. It gets worse: More and more libraries and APIs are only available on phones that run various Google apps pre-installed, effectively locking third-party apps to the Google ecosystem. For these reasons Android is described as being a “look but don’t touch” kind of open.
At this point, several popular open-source applications already require some of Google’s proprietary libraries to be installed. Increasing demand in the free software community in addition to severe problems in Google’s proprietary software discovered by the Android modding community, have led to the development of a free software clone of Google’s proprietary core libraries and applications - the microG Project was born.
Although most microG components are far from complete, users are amazed by the results. Free software users got extended application support, privacy-caring users can reduce or monitor data that is sent to Google and especially older phones can expect some battery life improvements."
(So it basically removes all those errors. Great!)
So, Lets start Degoogling!
Warning: bootloader needs to be unlocked, magisk should be there and twrp should be installed.
NOTE: MAKE FULL NANDROID BACKUP OF YOUR DEVICE BEFORE PROCEEDING BY GOING TO TWRP -> BACKUP -> SELECT ALL . store it in PC or somewhere safe​
Removing google crap
Flash TWRP and install magisk.
We need Signature spoofing in the ROM. Download SmaliPatcher from here and tick all patches, (We are interested in the "signature spoofing" one but all of them are useful) and follow the instructions on its page to install that module. Now your system supports signature spoofing. (I recommend SmaliPatcher even if your rom supports Signature Spoofing so that no issue arises)
Other ways for signature spoofing are given in MicroG wiki here
(IF YOU ARE ON STOCK ROM)
In case you had the Google Play Services previously installed (which Users having stock ROM have), remove all updates and the packages in /system/priv-app of the Google Services (you can use TWRP file manager or any root explorer to delete below packages, just delete the apk files in respective folders):
GmsCore (PrebuiltGmsCore, PrebuiltGmsCorePi, PrebuiltGmsCorePix)
GoogleBackupTransport
GoogleFeedback
GoogleLoginService
GoogleOneTimeInitializer
GooglePartnerSetup
GoogleServicesFramework
Phonesky
SetupWizard
Velvet.
In case you forgot to remove the GmsCore updates, you can manually remove these using adb uninstall com.google.android.gms.
After that, reboot your android device - all privileged GAPPS should be removed. (a bootloop may be caused, but dont worry, just boot into TWRP and follow below steps.)
IF YOU ARE ON CUSTOM ROM-> after flashing rom zip, do not reboot and follow below (DONT FLASH ANY GAPPS)SIZE]
Make full backup of your device if not made till now​
Installing MicroG
Download Latest "MinMicroG-Standard-XXX.zip" from here
Add "system-" to start of package name (thus making it like "system-MinMicroG-Standard-XXX.zip" ) and copy it in sdcard or internal storage of phone. Now boot into TWRP
flash "system-MinMicroG-Standard-XXX.zip".
OLD METHOD, USE THIS IF ABOVE WONT WORK
Download the following from here
full NanoDroid-xx.xx.xx.xxxxxxx.zip
NanoDroid-setupwizard.zip
NanoDroid-uninstaller.zip (if it causes brick)
Copy below in sdcard or internal storage of phone. Now boot into TWRP
NanoDroid-setupwizard.zip
NanoDroid-uninstaller.zip (if it causes brick)
flash NanoDroid-setupwizard.zip, now an aroma installer is opened. click on next , agree to terms and click next, chose save location "/data/media/0" (you can change this as per your needs but remember this location since here the installer will save 3 files) and click next
now from here onwards you can select yourself according to your needs or follow my tutorial till the end of aroma installer.
you should be on generic settings page, tick 'apps', 'maps apiv1', 'init scrips', 'gnu bash', and 'shell utils'. click next.
in microG page, select "full", next, on f-droid page select "official", next, select all 4 nlpBackends, next, now here select "play store(patrched)" if you want to use Play store (your choice, if you want to degoogle select "Aurora + fake store"), next
now select apps of your choice here, next, on Debloat setup page click next (yeah just skip it), and finally click on create config, next and finish.
Aroma installer Ends now.
Now while in twrp, connect your phone to PC and browse to internal storage (or the location you selected during aroma installer to save files)
the 3 files will be ".nanodroid-overlay", ".nanodroid-setup", ".nanodroid-apps". Copy these to PC and keep them in some place safe. Now open "nanodroid.zip" (that you downloaded earlier) with winRAR or 7zip and drag and drop these 3 files in it. (they should be in root of the zip where "meta-inf" folder is)
now copy NanoDroid-xx.xx.xx.xxxxxxx.zip to your phone and flash it.
now boot into system. if flashing nanodroid causes bootloop, restore from twrp backup that you made (i told you so!).
Configuring MicroG
You need to setup microG , go into microG settings (in app drawer or in settings) and set up everything like:
check results in Self-Check, grant all the missing permissions (by tapping on them)
especially the Battery Optimization item
if Phonesky (= Fake Store or Play Store) lacks signature spoofing permissions head to Settings / Apps / Permissions / Signature Spoofing and grant it
enable Google device registration
enable Google Cloud Messaging (only if you want to receive push messages from your applications)
enable Google SafetyNet, required for applications that utilize SafetyNet, for example Pokémon GO (Currently Broken)
in UnifiedNlp Settings choose all (whichever you've choosen to be installed)
Déjà Vu, Mozilla, Apple, and others (like GSM and WiFi Location Service)
Nominatim as Address lockup backend
after everything is done, reboot
if you installed Play Store open it, setup account and install your apps
Make sure you have all options ticked in self-check of microG settings (except maybe for last one). if not web search it or post it here.
Congratulations, you have successfully removed Gplay services.
ONLY IF YOU HAVE USED OLD METHOD (USING NANODROID)
Updates of nanodroid
Make full backup of your device before update. In case anything happens after update, you can rollback easily​So the nanodroid is updated quite frequently with the apps that come with it. So when you see an updated version of nanodroid on official download page (yeah there are no automatic updates, you have to manually check by going to the download page and download it) download below zips from here
full NanoDroid-xx.xx.xx.xxxxxxx.zip (the updated version)
NanoDroid-uninstaller.zip (the updated version)
* Now open "NanoDroid-xx.xx.xx.xxxxxxx.zip " (updated version) with winRAR or 7zip and drag and drop those 3 files [ ".nanodroid-overlay", ".nanodroid-setup", ".nanodroid-apps".] in it. (just like you did before)
* Now copy NanoDroid-xx.xx.xx.xxxxxxx.zip to your phone and flash it through twrp.
You may need to re-configure microG, so just do it again.
Huge thanks to the below members for the tools.
@FriendlyNeighborhoodShane for MinMicroG
@MaR-V-iN for microG (thank you sir!)
@Setialpha for nanodroid
and other ones whom i forgot to add
reserved
reserved 2
reserved just in case
Damn near best tutorial i've ever seen, thank you good sir!! :good::good::good:
i'm not sure i made it work completelly tho..
Coming from stock marshmallow on Galaxy Note 4. I uninstalled google crap first using Titanium backup even tho the phone seemed to get stuck when i was uninstalling the Google Play services, took it almost 1½ hour..). Then manually cleaned some leftovers using file manager in TWRP.
Then just for the heck of it tried to run the Nanodroid patch file but i got an error message that it couldnt deodex one x.jar file (can't remember it's name just now). Tried instead to patch with Smalipatcher but the damn thing couldn't see i have admin privileges no matter what i did and just refused to run alltogether.
Then i tried this way you described. Did everything as the tutorial says, got no error message, everything seemed to run smooth and the apps i chose were installed. (altho TWRP did freeze a couple of times during aroma setup so i had to reset by taking out the battery). Now i know i should set upp the microG settings, but the microG icon and the app is nowhere to be found. The modul named NanoDroid exists and is activ in Magisk, but it's not possible to open it.
Not sure what is happening and how to proceed from here.. Could you give a pointer or two? Would be much appreciated.
What about GoogleLocationHistory???
Is this one needed or does it have to be removed as well?
prkfsz said:
Damn near best tutorial i've ever seen, thank you good sir!! :good::good::good:
i'm not sure i made it work completelly tho..
Coming from stock marshmallow on Galaxy Note 4. I uninstalled google crap first using Titanium backup even tho the phone seemed to get stuck when i was uninstalling the Google Play services, took it almost 1½ hour..). Then manually cleaned some leftovers using file manager in TWRP.
Then just for the heck of it tried to run the Nanodroid patch file but i got an error message that it couldnt deodex one x.jar file (can't remember it's name just now). Tried instead to patch with Smalipatcher but the damn thing couldn't see i have admin privileges no matter what i did and just refused to run alltogether.
Then i tried this way you described. Did everything as the tutorial says, got no error message, everything seemed to run smooth and the apps i chose were installed. (altho TWRP did freeze a couple of times during aroma setup so i had to reset by taking out the battery). Now i know i should set upp the microG settings, but the microG icon and the app is nowhere to be found. The modul named NanoDroid exists and is activ in Magisk, but it's not possible to open it.
Not sure what is happening and how to proceed from here.. Could you give a pointer or two? Would be much appreciated.
Click to expand...
Click to collapse
updated the guide, see new instructions
Retseem said:
What about GoogleLocationHistory???
Is this one needed or does it have to be removed as well?
Click to expand...
Click to collapse
just search in internet what that does and if its useful to you, dont remove it.
Looks good! Almost there?
Thank you for your good work.! All seems well after I follow your steps using a AICP rom. All the checks in microG are green except the play store phonesky, that I can not fix but does not seem to be a problem
Problem:
One test case for me however is the app flightradar24. This app can be installed just fine from the Aurora store. When I start it however it prompts me immediately to install the google play services as they appear not to be installed or up to date. I can also install these from aurora, but haven't done that as it would defy the purpose of of all the previous work.
So my question is:
- Should I expect Flightradar24 to work on a minmicrog system on android 10?
- If so, where is it going wrong?
- Yes I have the microG location services enabled.
PS. Also I tested Gmail. It also complains about absent play services.
Addition: Actually I find that no application the requires Google is working at all. Did I miss something perhaps?
Samsung-frisbee said:
Thank you for your good work.! All seems well after I follow your steps using a AICP rom. All the checks in microG are green except the play store phonesky, that I can not fix but does not seem to be a problem
Problem:
One test case for me however is the app flightradar24. This app can be installed just fine from the Aurora store. When I start it however it prompts me immediately to install the google play services as they appear not to be installed or up to date. I can also install these from aurora, but haven't done that as it would defy the purpose of of all the previous work.
So my question is:
- Should I expect Flightradar24 to work on a minmicrog system on android 10?
- If so, where is it going wrong?
- Yes I have the microG location services enabled.
PS. Also I tested Gmail. It also complains about absent play services.
Click to expand...
Click to collapse
After further investigation I have not been able to run any apps that depend on Google play services. They all fail on not recognizing GPS.
All checks in microG are OK. I am puzzled
^- signature spoofing must be failing.
thanks for making this.
There's LineageOS with microG baked in: https://lineage.microg.org/
Hritwik said:
This guide explains how to deGoogle any android by removing most of google invasive crap. (yes, GPlay services is also removed). ​Play store, Google app and other crap is also removed from system, so if you want to use them, install them as user app. The installation for play store is different, and it is explained below.
Check my Post on reddit for more up to date info and clear instructions HERE
When we remove Gplay services, many apps and services stop working . Many apps will give error but still work (like maps and telegram and whatsapp). Play store will definitely not work and many apps that use push notification through Gplay services (most of them) will not be able to do so. In my case Uber, ola or any other ride app was also not working and was crashing constantly. Paytm will also not work without play services. And on top of that many apps that use location might not behave properly.
Whoosh! those are a lot of problems for uninstalling play services. So, why would anyone want to do that?
Simply put it, Google is an Advertising company. No it is not a company that sells product, i mean yes it sells products and earns from them BUT more than 60% of their revenue comes from Ads that they serve you. And yes, google is the biggest Ad company in the world with more than 80% of ad share (i may be wrong about the %, feel free to search yourself). So obviously they want ta make money out of your data (by selling it) and to do that what better way than to install spyware on world's largest mobile OS.
Google play services record your every action, tracking every app that you opened and everything you do. That data remains with google and they sell it to 3rd parties (and you agreed to it when you made Google account and setup your android device. Remember Clicking on "I AGREE"?).
Here i will not discuss how invasive it is. A simple Web search with "google play services tracking" will give you much more information. (and please do search it, i beg you) (Pro Tip: reddit has best answers, so explore reddit links from search)
Here is a good one explaining things
And Gplay services Eat a LOT of battery by constantly Running in background. So if you want better battery, remove it
So you have decided to degoogle your phone (and debloat it). What to do about all those errors after removing play services?
Here Comes MicroG. microG is an Open Source replacement for Google Play Services.
"MicroG is a free-as-in-freedom re-implementation of Google’s proprietary Android user space apps and libraries.
The linux-based open-source mobile operating system Android is not only the most popular mobile operating system in the world, it’s also on the way to becoming a proprietary operating system. How is that?
While the core operating system is still released as part of the Android Open Source Project, the majority of core apps are not. It gets worse: More and more libraries and APIs are only available on phones that run various Google apps pre-installed, effectively locking third-party apps to the Google ecosystem. For these reasons Android is described as being a “look but don’t touch” kind of open.
At this point, several popular open-source applications already require some of Google’s proprietary libraries to be installed. Increasing demand in the free software community in addition to severe problems in Google’s proprietary software discovered by the Android modding community, have led to the development of a free software clone of Google’s proprietary core libraries and applications - the microG Project was born.
Although most microG components are far from complete, users are amazed by the results. Free software users got extended application support, privacy-caring users can reduce or monitor data that is sent to Google and especially older phones can expect some battery life improvements."
(So it basically removes all those errors. Great!)
So, Lets start Degoogling!
Warning: bootloader needs to be unlocked, magisk should be there and twrp should be installed.
NOTE: MAKE FULL NANDROID BACKUP OF YOUR DEVICE BEFORE PROCEEDING BY GOING TO TWRP -> BACKUP -> SELECT ALL . store it in PC or somewhere safe​
Removing google crap
Flash TWRP and install magisk.
We need Signature spoofing in the ROM. Download SmaliPatcher from here and tick all patches, (We are interested in the "signature spoofing" one but all of them are useful) and follow the instructions on its page to install that module. Now your system supports signature spoofing. (I recommend SmaliPatcher even if your rom supports Signature Spoofing so that no issue arises)
Other ways for signature spoofing are given in MicroG wiki here
(IF YOU ARE ON STOCK ROM)
In case you had the Google Play Services previously installed (which Users having stock ROM have), remove all updates and the packages in /system/priv-app of the Google Services (you can use TWRP file manager or any root explorer to delete below packages, just delete the apk files in respective folders):
GmsCore (PrebuiltGmsCore, PrebuiltGmsCorePi, PrebuiltGmsCorePix)
GoogleBackupTransport
GoogleFeedback
GoogleLoginService
GoogleOneTimeInitializer
GooglePartnerSetup
GoogleServicesFramework
Phonesky
SetupWizard
Velvet.
In case you forgot to remove the GmsCore updates, you can manually remove these using adb uninstall com.google.android.gms.
After that, reboot your android device - all privileged GAPPS should be removed. (a bootloop may be caused, but dont worry, just boot into TWRP and follow below steps.)
IF YOU ARE ON CUSTOM ROM-> after flashing rom zip, do not reboot and follow below (DONT FLASH ANY GAPPS)SIZE]
Make full backup of your device if not made till now​
Installing MicroG
Download Latest "MinMicroG-Standard-XXX.zip" from here
Add "system-" to start of package name (thus making it like "system-MinMicroG-Standard-XXX.zip" ) and copy it in sdcard or internal storage of phone. Now boot into TWRP
flash "system-MinMicroG-Standard-XXX.zip".
OLD METHOD, USE THIS IF ABOVE WONT WORK
Download the following from here
full NanoDroid-xx.xx.xx.xxxxxxx.zip
NanoDroid-setupwizard.zip
NanoDroid-uninstaller.zip (if it causes brick)
Copy below in sdcard or internal storage of phone. Now boot into TWRP
NanoDroid-setupwizard.zip
NanoDroid-uninstaller.zip (if it causes brick)
flash NanoDroid-setupwizard.zip, now an aroma installer is opened. click on next , agree to terms and click next, chose save location "/data/media/0" (you can change this as per your needs but remember this location since here the installer will save 3 files) and click next
now from here onwards you can select yourself according to your needs or follow my tutorial till the end of aroma installer.
you should be on generic settings page, tick 'apps', 'maps apiv1', 'init scrips', 'gnu bash', and 'shell utils'. click next.
in microG page, select "full", next, on f-droid page select "official", next, select all 4 nlpBackends, next, now here select "play store(patrched)" if you want to use Play store (your choice, if you want to degoogle select "Aurora + fake store"), next
now select apps of your choice here, next, on Debloat setup page click next (yeah just skip it), and finally click on create config, next and finish.
Aroma installer Ends now.
Now while in twrp, connect your phone to PC and browse to internal storage (or the location you selected during aroma installer to save files)
the 3 files will be ".nanodroid-overlay", ".nanodroid-setup", ".nanodroid-apps". Copy these to PC and keep them in some place safe. Now open "nanodroid.zip" (that you downloaded earlier) with winRAR or 7zip and drag and drop these 3 files in it. (they should be in root of the zip where "meta-inf" folder is)
now copy NanoDroid-xx.xx.xx.xxxxxxx.zip to your phone and flash it.
now boot into system. if flashing nanodroid causes bootloop, restore from twrp backup that you made (i told you so!).
Configuring MicroG
You need to setup microG , go into microG settings (in app drawer or in settings) and set up everything like:
check results in Self-Check, grant all the missing permissions (by tapping on them)
especially the Battery Optimization item
if Phonesky (= Fake Store or Play Store) lacks signature spoofing permissions head to Settings / Apps / Permissions / Signature Spoofing and grant it
enable Google device registration
enable Google Cloud Messaging (only if you want to receive push messages from your applications)
enable Google SafetyNet, required for applications that utilize SafetyNet, for example Pokémon GO (Currently Broken)
in UnifiedNlp Settings choose all (whichever you've choosen to be installed)
Déjà Vu, Mozilla, Apple, and others (like GSM and WiFi Location Service)
Nominatim as Address lockup backend
after everything is done, reboot
if you installed Play Store open it, setup account and install your apps
Make sure you have all options ticked in self-check of microG settings (except maybe for last one). if not web search it or post it here.
Congratulations, you have successfully removed Gplay services.
ONLY IF YOU HAVE USED OLD METHOD (USING NANODROID)
Updates of nanodroid
Make full backup of your device before update. In case anything happens after update, you can rollback easily​So the nanodroid is updated quite frequently with the apps that come with it. So when you see an updated version of nanodroid on official download page (yeah there are no automatic updates, you have to manually check by going to the download page and download it) download below zips from here
full NanoDroid-xx.xx.xx.xxxxxxx.zip (the updated version)
NanoDroid-uninstaller.zip (the updated version)
* Now open "NanoDroid-xx.xx.xx.xxxxxxx.zip " (updated version) with winRAR or 7zip and drag and drop those 3 files [ ".nanodroid-overlay", ".nanodroid-setup", ".nanodroid-apps".] in it. (just like you did before)
* Now copy NanoDroid-xx.xx.xx.xxxxxxx.zip to your phone and flash it through twrp.
You may need to re-configure microG, so just do it again.
Huge thanks to the below members for the tools.
@FriendlyNeighborhoodShane for MinMicroG
@MaR-V-iN for microG (thank you sir!)
@Setialpha for nanodroid
and other ones whom i forgot to add
Click to expand...
Click to collapse
This is gold. Haven't tried yet but will be donating to the MicroG project if this works.
Hritwik said:
This guide explains how to deGoogle any android by removing most of google invasive crap. (yes, GPlay services is also removed). ​Play store, Google app and other crap is also removed from system, so if you want to use them, install them as user app. The installation for play store is different, and it is explained below.
Check my Post on reddit for more up to date info and clear instructions HERE
When we remove Gplay services, many apps and services stop working . Many apps will give error but still work (like maps and telegram and whatsapp). Play store will definitely not work and many apps that use push notification through Gplay services (most of them) will not be able to do so. In my case Uber, ola or any other ride app was also not working and was crashing constantly. Paytm will also not work without play services. And on top of that many apps that use location might not behave properly.
Whoosh! those are a lot of problems for uninstalling play services. So, why would anyone want to do that?
Simply put it, Google is an Advertising company. No it is not a company that sells product, i mean yes it sells products and earns from them BUT more than 60% of their revenue comes from Ads that they serve you. And yes, google is the biggest Ad company in the world with more than 80% of ad share (i may be wrong about the %, feel free to search yourself). So obviously they want ta make money out of your data (by selling it) and to do that what better way than to install spyware on world's largest mobile OS.
Google play services record your every action, tracking every app that you opened and everything you do. That data remains with google and they sell it to 3rd parties (and you agreed to it when you made Google account and setup your android device. Remember Clicking on "I AGREE"?).
Here i will not discuss how invasive it is. A simple Web search with "google play services tracking" will give you much more information. (and please do search it, i beg you) (Pro Tip: reddit has best answers, so explore reddit links from search)
Here is a good one explaining things
And Gplay services Eat a LOT of battery by constantly Running in background. So if you want better battery, remove it
So you have decided to degoogle your phone (and debloat it). What to do about all those errors after removing play services?
Here Comes MicroG. microG is an Open Source replacement for Google Play Services.
"MicroG is a free-as-in-freedom re-implementation of Google’s proprietary Android user space apps and libraries.
The linux-based open-source mobile operating system Android is not only the most popular mobile operating system in the world, it’s also on the way to becoming a proprietary operating system. How is that?
While the core operating system is still released as part of the Android Open Source Project, the majority of core apps are not. It gets worse: More and more libraries and APIs are only available on phones that run various Google apps pre-installed, effectively locking third-party apps to the Google ecosystem. For these reasons Android is described as being a “look but don’t touch” kind of open.
At this point, several popular open-source applications already require some of Google’s proprietary libraries to be installed. Increasing demand in the free software community in addition to severe problems in Google’s proprietary software discovered by the Android modding community, have led to the development of a free software clone of Google’s proprietary core libraries and applications - the microG Project was born.
Although most microG components are far from complete, users are amazed by the results. Free software users got extended application support, privacy-caring users can reduce or monitor data that is sent to Google and especially older phones can expect some battery life improvements."
(So it basically removes all those errors. Great!)
So, Lets start Degoogling!
Warning: bootloader needs to be unlocked, magisk should be there and twrp should be installed.
NOTE: MAKE FULL NANDROID BACKUP OF YOUR DEVICE BEFORE PROCEEDING BY GOING TO TWRP -> BACKUP -> SELECT ALL . store it in PC or somewhere safe​
Removing google crap
Flash TWRP and install magisk.
We need Signature spoofing in the ROM. Download SmaliPatcher from here and tick all patches, (We are interested in the "signature spoofing" one but all of them are useful) and follow the instructions on its page to install that module. Now your system supports signature spoofing. (I recommend SmaliPatcher even if your rom supports Signature Spoofing so that no issue arises)
Other ways for signature spoofing are given in MicroG wiki here
(IF YOU ARE ON STOCK ROM)
In case you had the Google Play Services previously installed (which Users having stock ROM have), remove all updates and the packages in /system/priv-app of the Google Services (you can use TWRP file manager or any root explorer to delete below packages, just delete the apk files in respective folders):
GmsCore (PrebuiltGmsCore, PrebuiltGmsCorePi, PrebuiltGmsCorePix)
GoogleBackupTransport
GoogleFeedback
GoogleLoginService
GoogleOneTimeInitializer
GooglePartnerSetup
GoogleServicesFramework
Phonesky
SetupWizard
Velvet.
In case you forgot to remove the GmsCore updates, you can manually remove these using adb uninstall com.google.android.gms.
After that, reboot your android device - all privileged GAPPS should be removed. (a bootloop may be caused, but dont worry, just boot into TWRP and follow below steps.)
IF YOU ARE ON CUSTOM ROM-> after flashing rom zip, do not reboot and follow below (DONT FLASH ANY GAPPS)SIZE]
Make full backup of your device if not made till now​
Installing MicroG
Download Latest "MinMicroG-Standard-XXX.zip" from here
Add "system-" to start of package name (thus making it like "system-MinMicroG-Standard-XXX.zip" ) and copy it in sdcard or internal storage of phone. Now boot into TWRP
flash "system-MinMicroG-Standard-XXX.zip".
OLD METHOD, USE THIS IF ABOVE WONT WORK
Download the following from here
full NanoDroid-xx.xx.xx.xxxxxxx.zip
NanoDroid-setupwizard.zip
NanoDroid-uninstaller.zip (if it causes brick)
Copy below in sdcard or internal storage of phone. Now boot into TWRP
NanoDroid-setupwizard.zip
NanoDroid-uninstaller.zip (if it causes brick)
flash NanoDroid-setupwizard.zip, now an aroma installer is opened. click on next , agree to terms and click next, chose save location "/data/media/0" (you can change this as per your needs but remember this location since here the installer will save 3 files) and click next
now from here onwards you can select yourself according to your needs or follow my tutorial till the end of aroma installer.
you should be on generic settings page, tick 'apps', 'maps apiv1', 'init scrips', 'gnu bash', and 'shell utils'. click next.
in microG page, select "full", next, on f-droid page select "official", next, select all 4 nlpBackends, next, now here select "play store(patrched)" if you want to use Play store (your choice, if you want to degoogle select "Aurora + fake store"), next
now select apps of your choice here, next, on Debloat setup page click next (yeah just skip it), and finally click on create config, next and finish.
Aroma installer Ends now.
Now while in twrp, connect your phone to PC and browse to internal storage (or the location you selected during aroma installer to save files)
the 3 files will be ".nanodroid-overlay", ".nanodroid-setup", ".nanodroid-apps". Copy these to PC and keep them in some place safe. Now open "nanodroid.zip" (that you downloaded earlier) with winRAR or 7zip and drag and drop these 3 files in it. (they should be in root of the zip where "meta-inf" folder is)
now copy NanoDroid-xx.xx.xx.xxxxxxx.zip to your phone and flash it.
now boot into system. if flashing nanodroid causes bootloop, restore from twrp backup that you made (i told you so!).
Configuring MicroG
You need to setup microG , go into microG settings (in app drawer or in settings) and set up everything like:
check results in Self-Check, grant all the missing permissions (by tapping on them)
especially the Battery Optimization item
if Phonesky (= Fake Store or Play Store) lacks signature spoofing permissions head to Settings / Apps / Permissions / Signature Spoofing and grant it
enable Google device registration
enable Google Cloud Messaging (only if you want to receive push messages from your applications)
enable Google SafetyNet, required for applications that utilize SafetyNet, for example Pokémon GO (Currently Broken)
in UnifiedNlp Settings choose all (whichever you've choosen to be installed)
Déjà Vu, Mozilla, Apple, and others (like GSM and WiFi Location Service)
Nominatim as Address lockup backend
after everything is done, reboot
if you installed Play Store open it, setup account and install your apps
Make sure you have all options ticked in self-check of microG settings (except maybe for last one). if not web search it or post it here.
Congratulations, you have successfully removed Gplay services.
ONLY IF YOU HAVE USED OLD METHOD (USING NANODROID)
Updates of nanodroid
Make full backup of your device before update. In case anything happens after update, you can rollback easily​So the nanodroid is updated quite frequently with the apps that come with it. So when you see an updated version of nanodroid on official download page (yeah there are no automatic updates, you have to manually check by going to the download page and download it) download below zips from here
full NanoDroid-xx.xx.xx.xxxxxxx.zip (the updated version)
NanoDroid-uninstaller.zip (the updated version)
* Now open "NanoDroid-xx.xx.xx.xxxxxxx.zip " (updated version) with winRAR or 7zip and drag and drop those 3 files [ ".nanodroid-overlay", ".nanodroid-setup", ".nanodroid-apps".] in it. (just like you did before)
* Now copy NanoDroid-xx.xx.xx.xxxxxxx.zip to your phone and flash it through twrp.
You may need to re-configure microG, so just do it again.
Huge thanks to the below members for the tools.
@FriendlyNeighborhoodShane for MinMicroG
@MaR-V-iN for microG (thank you sir!)
@Setialpha for nanodroid
and other ones whom i forgot to add
Click to expand...
Click to collapse
This is gold. Thank you. Will be donating to the MicroG project if they accept donations, worth every penny.
Edited on Dec.10,2021
It works like a charm with Havoc OS (Samsung S8)
Hi,
I just installed MicroG on a Samsung S8 running Android 7 and although the installation went perfect, without any errors, I don't have any icon, thus I cannot get access to settings. I do see the microG Services Framework application installed in Application Manager but I cannot launch it.
I followed the new instructions to the letter.
Please advise!
Thanks!
SafetyNet fails?
will this guide work on the Stock MIUI 12.0.9 for Mi 9T?
I could use some assistance finding some files. I've tried several methods but can't seem to locate the files below. I'm using a rooted and unlocked S20 5G (986U1) Can you help me with a method or app to find these. I'm using Cx for file manager but the search seems limited, or I'm doing it wrong.
• In case you had the Google Play Services previously installed (which Users having stock ROM have), remove all updates and the packages in /system/priv-app of the Google Services (you can use TWRP file manager or any root explorer to delete below packages, just delete the apk files in respective folders):
o GoogleBackupTransport
o GoogleLoginService
o GooglePartnerSetup
o Phonesky
o Velvet.
goobener said:
I could use some assistance finding some files. I've tried several methods but can't seem to locate the files below. I'm using a rooted and unlocked S20 5G (986U1) Can you help me with a method or app to find these. I'm using Cx for file manager but the search seems limited, or I'm doing it wrong.
• In case you had the Google Play Services previously installed (which Users having stock ROM have), remove all updates and the packages in /system/priv-app of the Google Services (you can use TWRP file manager or any root explorer to delete below packages, just delete the apk files in respective folders):
o GoogleBackupTransport
o GoogleLoginService
o GooglePartnerSetup
o Phonesky
o Velvet.
Click to expand...
Click to collapse
Download an all called App Manager from F-Droid
Thank you for this guide!
I have two new devices that I'm not using.
LG K50s and Tablet Lenovo M10
Would like to get them in shape before any use.
There's no Lineage for those or found a linux distro.
Is this the best way yo get rid of all the crap, bloatware, spyware, tracking?
Does it get clean of trackers?
Thank you!

Safe debloat with XiaomiADBFastbootTools

For a better battery life, it's a useful Java app for Uninstall/Reinstall, Deactivate/Activate apps and services for every Miui Rom, tested on Miui 12.
Without root works only Debug Usb via Developer options and Fastboot.
For Mac, Linux and Windows
Modules:
App Manager - Uninstall/reinstall/disable/enable system apps and services on demand
Camera2 - Enable Camera2 and EIS (TWRP required)
File Explorer - Transfer files between a device and a computer using ADB
Screen density - Tweak screen density by overriding the DPI value
Screen resolution - Tweak screen resolution by overriding the width and height values
Device properties - Retrieve tons of statistics and information about your device
Flasher - Flash any partition with an image, boot to any image or flash a Fastboot ROM (unlocked bootloader required)
Wiper - Wipe the cache or perform a factory reset
OEM Unlocker & Locker - Lock or unlock the bootloader (Unlocking is only supported by Android One devices)
ROM Downloader - Get links to the latest MIUI Fastboot ROMs or download them right away
Rebooter - Advanced rebooting options using ADB/Fastboot
https://github.com/Szaki/XiaomiADBFastbootTools
Safe debloat list
Analytics
Android accessibility suite
app vault
browser
calendar
compass
Catchlog
digital wellbeing
downloads
fm radio
facebook
feedback
freeform
games
gmail
google app
google duo
google lens
joyose
msa
market feedback agent
mi credit
mi drop
mi pay
mi video
mi wallpaper
miui daemon
music
notes
PAI
Partner bookmarks
partner netflix activation
quick apps
quick ball
recorder
scanner
translation service
weather
WMService
yellow pages
Thx for this usefull app. I have debloat everything that I don't need.
i want to remove more some apps, how to add them to the list of the tool?
thanks
k1n9n0th1n9 said:
i want to remove more some apps, how to add them to the list of the tool?
thanks
Click to expand...
Click to collapse
Go to menu app manager and add apps, then you can load a file or just add the name of the package in the list. Save and your apps will appear in list
I really thank you too!
Despite MIUIMIX, there is a lot of bloatware left on the device.
Thank You for list Safe debloat list What more can we uninstall ?? Especially what applications from Google, so that the system remains stable
k1n9n0th1n9 said:
i want to remove more some apps, how to add them to the list of the tool?
thanks
Click to expand...
Click to collapse
use adb, you can delete all apps without root.
1. adb shell
2. pm list packages
3. pm uninstall -k --user 0 <name of package>
just a question, there is any difference using disable instead of uninstall??
thanks
yes, deactivate, the application remains installed in but not functional, no activity in RAM.
Quick question guys! I have successfully uninstalled or disabled most of the apps that were annoying me in my Mi 10T. I also tried adding the default Camera app to the ones I wanted to uninstall through the "App Manager -> Add Apps" menu and it returned a warning that I might end up bricking my device. I didn't go through with it and would like to know if someone has done it without facing any problems. Should I go on with it?? I am used to using Gcam and it bumps me that I get to have a set of unwanted apps (Camera - Gallery)!!
great tool.
i just want to a add a few comments:
1. i would add a select all - deselect all in the different categories. uninstaller for example.
2. in the uninstaller you're missing quite a few apps - contacts, phone, gallery, themes,(all of xiaomi ) google news and maybe also sim toolkit and security (dunno if security is essential).
3. debloating poco launcher without ensuring you have an alternative can be a bit of a problem, so maybe a hint.
thanks for all!
ironia. said:
just a question, there is any difference using disable instead of uninstall??
thanks
Click to expand...
Click to collapse
Just uninstall it. If something wrong, you can execute Factory reset, theses app will comeback
1994bluemoon said:
Just uninstall it. If something wrong, you can execute Factory reset, theses app will comeback
Click to expand...
Click to collapse
How is possible without flash again the rom?
When uninstall the app that is gone, and a factory reset should just cancel all user data and apps.
.
Hi everyone, please tell me how to run the program.
I have jdk 16 installed on my pc
Wataf said:
Hi everyone, please tell me how to run the program.
I have jdk 16 installed on my pc
Click to expand...
Click to collapse
If the application says that it cannot find ADB/Fastboot even though you have downloaded the OS-specific ZIP, open a terminal inside the extracted folder and enter
java -jar XiaomiADBFastbootTools.jar
Waw Thank you. Im using it now
still working miui 12.5 a11 sir?
The latest released version was more than a year ago, 31st Aug 2020 TBP, why there is no updated version of this useful tool? Pls make an updated version as some app is not being uninstalled in MiUi 12.5+
Tool works with A11 and miui12.5.

[root] Playing around and accidentally uninstalled the play store - how to undo?

So, this is my first time rooting a phone, and once I managed to get it to work, I started playing around to see what capabilities I had now.
In doing this, I uninstalled the play store. I've tried multiple methods to reinstall it, but none have worked so far.
I've tried installing a new play store apk and used systemize to turn it into a system app, but that didn't work (the app crashed on launch)
I've also tried using link2sd but the app wouldn't let me convert to system app.
If anyone else has any tips for me I'd be grateful.
Using a samsung running android 11 - rooted with magisk, recovery method.
Copy it from another device using ApkExport then transfer the installable copy over to the victim device and install.
I haven't tried it with Playstore but it works on other apks even if the donor device is on a different Android OS version.
blackhawk said:
Copy it from another device using ApkExport then transfer the installable copy over to the victim device and install.
I haven't tried it with Playstore but it works on other apks even if the donor device is on a different Android OS version.
Click to expand...
Click to collapse
sadly the only other device i have is a samsung galaxy S2 that is barely functional. I doubt that'll work.
Before you do anything I'd make sure you have a good backup of your device. Copy text messages, contacts, photos, etc all to external storage.
My first thought was just download install APK, but I see you've done that.
Someone else may have a better suggestion, but, if nothing else works, I'd try installing pico GApps to restore Playstore functionality.
https://opengapps.org/
Pico Package​This package is designed for users who want the absolute minimum GApps installation available. In this package you will find the core Google System Base, Google Android Shared Library, Google Play Store, Google Calendar Sync, Dialer Framework and the following Play Store applications:
Click to expand...
Click to collapse
FreSchDude said:
sadly the only other device i have is a samsung galaxy S2 that is barely functional. I doubt that'll work.
Click to expand...
Click to collapse
Try it. It will copied system apks and updates.
I copied apks from a S4 running on Kitkat to my Note 10+. If it loads Playstore will need to update, that may be a problem... or not.
APK Export (Backup & Share) - Apps on Google Play
Manage and extract your apps.
play.google.com
blackhawk said:
Try it. It will copied system apks and updates.
I copied apks from a S4 running on Kitkat to my Note 10+. If it loads Playstore will need to update, that may be a problem... or not.
APK Export (Backup & Share) - Apps on Google Play
Manage and extract your apps.
play.google.com
Click to expand...
Click to collapse
No dice. App crashes on launch.
SMcC2 said:
Before you do anything I'd make sure you have a good backup of your device. Copy text messages, contacts, photos, etc all to external storage.
My first thought was just download install APK, but I see you've done that.
Someone else may have a better suggestion, but, if nothing else works, I'd try installing pico GApps to restore Playstore functionality.
https://opengapps.org/
Click to expand...
Click to collapse
Ill give it a shot, thanks
FreSchDude said:
So, this is my first time rooting a phone, and once I managed to get it to work, I started playing around to see what capabilities I had now.
In doing this, I uninstalled the play store. I've tried multiple methods to reinstall it, but none have worked so far.
I've tried installing a new play store apk and used systemize to turn it into a system app, but that didn't work (the app crashed on launch)
I've also tried using link2sd but the app wouldn't let me convert to system app.
If anyone else has any tips for me I'd be grateful.
Using a samsung running android 11 - rooted with magisk, recovery method.
Click to expand...
Click to collapse
Google Play Store app by type is a normal 3rd-party app. Wondering why you want to convert it to a system app?
jwoegerbauer said:
Google Play Store app by type is a normal 3rd-party app. Wondering why you want to convert it to a system app?
Click to expand...
Click to collapse
it's originally a system app. trying to get mine fixed because no matter what I do the app crashes on launch.
FreSchDude said:
it's originally a system app. trying to get mine fixed because no matter what I do the app crashes on launch.
Click to expand...
Click to collapse
Yeah it's a system app on my Note 10+, can't be uninstalled*.
Normally it doesn't crash although it's common for it to not connect to Playstore. It does that if Google play Services is disable but even then it doesn't crash.
* I think, it has a disable option but to find out if there's an uninstall I would need to revert to the factory load first... which isn't something I want. It appears to be as I originally stated.
blackhawk said:
Yeah it's a system app on my Note 10+, can't be uninstalled*.
Normally it doesn't crash although it's common for it to not connect to Playstore. It does that if Google play Services is disable but even then it doesn't crash.
* I think, it has a disable option but to find out if there's an uninstall I would need to revert to the factory load first... which isn't something I want. It appears to be as I originally stated.
Click to expand...
Click to collapse
there is no uninstall option. I uninstalled it through other means as my phone is rooted. Now I'm having issues re-installing it and getting it to work.
My last 2 cents here:
Per definition only apps that are needed by Android OS to work are called system apps and are stored in /system/apps. Other apps - called 3rd-party apps like Google Play Store - may be stored in /system/priv-apps.
BTW:
If you manually install Google Play Store APK then it installs to /data/app directory - as expected.

Categories

Resources