Related
Hello everyone,
I'm searching for a task scheduler, something like cron in linux. The background is I want my phone to execute a "Wake on Lan" Program every morning and my computer will execute some tasks before I'm awake. I already found something like a task scheduler script in this forum but this didn't help.
Perhaps I'm simply to stupid to work with it, I'm not really familiar with the architecture of android but I know how to do this in linux.
So does anyone have an idea how to realize this on android?
look the application called "locale"
this is a event trigger applications with a lot of "plug-ins"
WOL plugin exist and time based (even location based) rule also possible
I use "timeriffic" to disable the ringer at night. It has lots of options, so check it out.
One more voice for timeriffic
ASE, not yet but soon supposedly
Android Scripting environment is supposed to be adding cron type scheduling for scripts relatively soon. As long as you're down with scripting that could work.
Seonetic said:
I'm searching for a task scheduler, something like cron in linux. The background is I want my phone to execute a "Wake on Lan" Program every morning and my computer will execute some tasks before I'm awake.
Click to expand...
Click to collapse
Realise this is an old thread but wondering if you made any progress with this, seonetic? Want to schedule a script to run every X seconds and so far all I've seen are apps that wrap a scheduler round the phone's functions - e.g. wifi on/off, silence on/off
Failing this, I may have to grab and build cron...
Doesn't busybox implement cron?
Gene Poole said:
Doesn't busybox implement cron?
Click to expand...
Click to collapse
yes, it appears to:
http://www.busybox.net/downloads/BusyBox.html
Good shout, thanks! Will have a play around and report back.
I've been thinking I'd like cron, too. However, I was worried about battery impact. Isn't the typical cron implementation dependent on a running CPU?
Gene Poole said:
Doesn't busybox implement cron?
Click to expand...
Click to collapse
I checked on my N1 and it doesn't have either of the cron applets. I'll grab the source and have a look at including it.
You should be able to just create symlinks of them to busybox. Here's what's on mine:
Code:
# which crond
/system/xbin/crond
# ls -l /system/xbin/crond
lrwxrwxrwx root root 2010-08-11 09:07 crond -> busybox
# which crontab
/system/xbin/crontab
# ls -l /system/xbin/crontab
lrwxrwxrwx root root 2010-08-11 09:07 crontab -> busybox
# crond --help
BusyBox v1.15.2 (2009-10-08 09:47:18 BST) multi-call binary
Usage: crond -fbS -l N -d N -L LOGFILE -c DIR
-f Foreground
-b Background (default)
-S Log to syslog (default)
-l Set log level. 0 is the most verbose, default 8
-d Set log level, log to stderr
-L Log to file
-c Working dir
#
Gene Poole said:
You should be able to just create symlinks of them to busybox.
Click to expand...
Click to collapse
if I do "busybox --help" it doesn't include either of them. "which crontab" shows nothing either.
Tried installing Stericson's from market but it "hangs" after completing the download.
So got the sourcecode down for latest version and tried compiling with CROSS_COMPILE to same toolchain as with CM6 ROM - fail. So downloading another toolchain now.
Will edit this post if it successfully compiles.
I'm pretty sure mine is the one that comes with the rom kitchen.
Use Tasker (google search). Can be programmed to do almost any automated task/event you can dream about.
I'm also looking for something like this..
I have a shell script that i want to exec hourly..
I've tried tasker but they can't launch script yet..
EDIT: I found an perfect app for me
http://forum.xda-developers.com/showthread.php?t=558822&highlight=phoneprioritizer
Regards.
I got crontab working using this:
http://android.modaco.com/content-page/299984/linux-tools-coming-to-mcr/page/40/
+1 on Tasker
Moe5508 said:
Use Tasker (google search). Can be programmed to do almost any automated task/event you can dream about.
Click to expand...
Click to collapse
Thanks for this tip - just want to say Tasker is amazing: you can do almost anything with it.
I've been struggling to find a cron-like tool for a simple airplane mode on/off task for my Eris -- one that actually works. None (timeriffic, auto airplane mode and bunch of others) seem to work when the phone is asleep. Tasker looks like it does work when asleep.
My test case, in the event others are curious, is to set the timer to turn airplane mode on and then call my phone. What I notice with most "cron" style apps is that the phone will ring and THEN the airplane mode will come on (cutting off the call). This indicates that the timer doesn't fire until the phone wakes up. So you *think* your phone is in airplane mode at the time you set it, but it really only goes on when you turn on the phone to check it! Anyway, Tasker passed this test for me, so thanks for the tip.
I miss tasker!
Moe5508 said:
Use Tasker (google search). Can be programmed to do almost any automated task/event you can dream about.
Click to expand...
Click to collapse
It was GREAT under froyo
sadly tasker refuses to install into CyanogenMod 7 (cm4dx)
for the command addicts:
http://howto.ccroms.net/howto/cron
CVPCS Android Wiki
Description:
Vixie-cron for android.
Status:
WIP
Last Update:
2010-04-28
Click to expand...
Click to collapse
This will be the home of both Sniffle's basic android compiling guide as well as CVPCS's general tips for customizing the basic build to make it a more complete, flashable rom.
Click to expand...
Click to collapse
there is
/data/[forget]/firstboot.sh
that is likely wiped by cm7, and then there is autostart root... but those aren't crontabby enough
I want to delete a certain few files from several places in /data and check only while application XYZ is running every one or two minutes
...
for the programmatically inclined this seems promising:
http://hub.buzzbox.com/android-sdk/
The BuzzBox SDK enables you to easily add a scheduler to your App. With few lines of code you can add a background task and app-side notifications. Besides, BuzzBox SDK also include free realtime analytics, so you can monitor in real time how many user are installing and using your App. Notifications and Analytics are tighly integrated, but you can use only want you need.
Click to expand...
Click to collapse
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
Seonetic said:
Hello everyone,
I'm searching for a task scheduler, something like cron in linux. The background is I want my phone to execute a "Wake on Lan" Program every morning and my computer will execute some tasks before I'm awake. I already found something like a task scheduler script in this forum but this didn't help.
Perhaps I'm simply to stupid to work with it, I'm not really familiar with the architecture of android but I know how to do this in linux.
So does anyone have an idea how to realize this on android?
Click to expand...
Click to collapse
I have a working crontab for android. I will post tutorial soon.
Hi all, This is my personal debloating module which i'm using in my OP7P
Debloats Oneplus analytics, Google apps, unnecesary qualcomm apps
I don't own the device(OP8P) personally .
But with help of @musicman5844 I made the debloat module working in OP8 series
Requirements:
- OOS A10
- Supports All oneplus 8 series
- Magisk 20+
- Should be flashed only in Magisk
Debloating Options :
1- Extreme debloat
Warning -
- Before flashing extreme debloat, Goto Settings - Security - Emergency rescue - Emergency call trigger - disable
{ If you don't disable emergency rescue, double tap power button -camera shortcut won't work. }
- Oneplus software update app was removed so use oxygen updater from Playstore
- Removed Google apps can be installed from Playstore
- Removed facebook, insta other bloats
Code:
/system/app/OPPush
/system/app/AntHalService
/system/app/BackupRestoreRemoteService
/system/app/BasicDreams
/system/app/BookmarkProvider
/system/app/BTtestmode
/system/app/BuiltInPrintService
/system/app/CarrierDefaultApp
/system/app/CtsShimPrebuilt
/system/app/EngineeringMode
/system/app/EngSpecialTest
/system/app/FBAppmanager
/system/app/GoogleAssistant
/system/app/GooglePrintRecommendationService
/system/app/LogKitSdService
/system/app/netflix-activation
/system/app/netflix-stub
/system/app/NFCTestMode
/system/app/NVBackupUI
/system/app/oem_tcma
/system/app/OemAutoTestServer
/system/app/OEMLogKit
/system/app/OPAppUpgrader
/system/app/OPBackup
/system/app/OPBreathMode
/system/app/OPCommonLogTool
/system/app/OPBugReportLite
/system/app/OPFilemanager
/system/app/OPGeoIpTime
/system/app/OPScreenRecord
/system/app/OPYellowpage
/system/app/PartnerBookmarksProvider
/system/app/PhotosOnline
/system/app/PlayAutoInstallConfig
/system/app/Rftoolkit
/system/app/SensorTestTool
/system/app/SmscPlugger
/system/app/SoterService
/system/app/Stk
/system/app/Traceur
/system/app/WAPPushManager
/system/app/YTMusic
/system/app/EasterEgg_O2
/system/app/OPTelephonyCollectionData
/system/priv-app/GoogleDocumentsUIPrebuilt
/system/product/priv-app/OobConfig
/system/priv-app/BackupRestoreConfirmation
/system/priv-app/CtsShimPrivPrebuilt
/system/priv-app/DynamicSystemInstallationService
/system/priv-app/EmergencyInfo
/system/priv-app/FBInstaller
/system/priv-app/FBServices
/system/priv-app/HotwordEnrollmentOKGoogleHEXAGON
/system/priv-app/HotwordEnrollmentXGoogleHEXAGON
/system/priv-app/IFAAService
/system/priv-app/ManagedProvisioning
/system/priv-app/OnePlusWizard
/system/priv-app/OPCellBroadcastReceiver
/system/priv-app/OPDeviceManagerProvider
/system/priv-app/OPDeviceManager
/system/priv-app/OPSimContacts
/system/priv-app/RcsSDK
/system/priv-app/SharedStorageBackup
/system/priv-app/TagGoogle
/system/product/app/CalendarGoogle
/system/product/app/Chrome
/system/product/app/DeviceInfo
/system/product/app/Drive
/system/product/app/Duo
/system/product/app/Gmail2
/system/product/app/Nearme
/system/product/app/DynamicDDSService
/system/product/app/GoogleLocationHistory
/system/product/app/GooglePayIndia
/system/product/app/GooglePay
/system/product/app/GoogleTTS
/system/product/app/IndiaAccount
/system/product/app/Maps
/system/product/app/OPMemberShip
/system/product/app/Photos
/system/product/app/PowerOffAlarm
/system/product/app/remoteSimLockAuthentication
/system/product/app/remotesimlockservice
/system/product/app/talkback
/system/product/app/TmoEngMode
/system/product/app/uceShimService
/system/product/app/uimgbaservice
/system/product/app/uimlpaservice
/system/product/app/uimremoteclient
/system/product/app/uimremoteserver
/system/product/app/Videos
/system/product/app/YouTube
/system/product/priv-app/AndroidAutoStub
/system/product/priv-app/CloudService
/system/product/priv-app/GoogleFeedback
/system/product/priv-app/GoogleOneTimeInitializer
/system/product/priv-app/GooglePartnerSetup
/system/product/priv-app/GoogleRestore
/system/product/priv-app/OPWorkLifeBalance
/system/product/priv-app/SetupWizard
/system/product/priv-app/Velvet
/system/reserve/Audible
/system/reserve/AmazonShoppingMDIP
/system/reserve/AudibleMDIP
/system/reserve/card
/system/reserve/facebook-localapk-stub
/system/reserve/instagram-localapk-stub
/system/reserve/Kindle
/system/reserve/messenger-localapk-stub
/system/reserve/OPBackupRestore
/system/reserve/OPForum
/system/reserve/GameCenter
/system/reserve/OPIconpackOnePlusH2
/system/reserve/OPIconpackOnePlusO2
/system/reserve/OPNote
/system/reserve/OPSports
/system/reserve/PrimeVideo
/system/reserve/OPWidget
/system/reserve/SoundRecorder
/system/reserve/Weather
/system/vendor/app/pasrservice
/system/priv-app/CallLogBackup
/system/app/OPSesAuthentication
/system/app/WallpaperBackup
/system/app/WapiCertManage
/system/product/priv-app/Wellbeing
/system/product/priv-app/Turbo
2 - Debloat Google apps except play service and playstore and other playstore downloadable apps
Code:
/system/app/BackupRestoreRemoteService
/system/app/BasicDreams
/system/app/BookmarkProvider
/system/app/FBAppmanager
/system/app/GoogleAssistant
/system/app/GooglePrintRecommendationService
/system/app/netflix-activation
/system/app/netflix-stub
/system/app/OPFilemanager
/system/app/PartnerBookmarksProvider
/system/app/PlayAutoInstallConfig
/system/app/YTMusic
/system/priv-app/BackupRestoreConfirmation
/system/priv-app/FBInstaller
/system/priv-app/FBServices
/system/priv-app/SharedStorageBackup
/system/priv-app/TagGoogle
/system/product/app/CalendarGoogle
/system/product/app/Chrome
/system/product/app/Drive
/system/product/app/Duo
/system/product/app/Gmail2
/system/product/app/GoogleLocationHistory
/system/product/app/GooglePayIndia
/system/product/app/GooglePay
/system/product/app/GoogleTTS
/system/product/app/Maps
/system/product/app/Photos
/system/product/app/talkback
/system/product/app/Videos
/system/product/app/Nearme
/system/product/app/YouTube
/system/product/priv-app/AndroidAutoStub
/system/product/priv-app/GoogleFeedback
/system/product/priv-app/GoogleOneTimeInitializer
/system/product/priv-app/GooglePartnerSetup
/system/product/priv-app/GoogleRestore
/system/product/priv-app/SetupWizard
/system/product/priv-app/Velvet
/system/reserve/Audible
/system/reserve/AmazonShoppingMDIP
/system/reserve/AudibleMDIP
/system/reserve/card
/system/reserve/facebook-localapk-stub
/system/reserve/instagram-localapk-stub
/system/reserve/Kindle
/system/reserve/messenger-localapk-stub
/system/reserve/OPBackupRestore
/system/reserve/OPForum
/system/reserve/GameCenter
/system/reserve/OPIconpackOnePlusH2
/system/reserve/OPIconpackOnePlusO2
/system/reserve/OPNote
/system/reserve/OPSports
/system/reserve/PrimeVideo
/system/reserve/OPWidget
/system/reserve/SoundRecorder
/system/reserve/Weather
/system/product/priv-app/OobConfig
/system/priv-app/GoogleDocumentsUIPrebuilt
/system/product/priv-app/Wellbeing
/system/product/priv-app/Turbo
3- Debloat Oneplus Analytics only
Code:
/system/app/OPPush
/system/app/BTtestmode
/system/app/CarrierDefaultApp
/system/app/CtsShimPrebuilt
/system/app/EngineeringMode
/system/app/EngSpecialTest
/system/app/OPTelephonyCollectionData
/system/app/LogKitSdService
/system/app/NFCTestMode
/system/app/NVBackupUI
/system/app/oem_tcma
/system/app/OemAutoTestServer
/system/app/OEMLogKit
/system/app/OPBackup
/system/app/OPCommonLogTool
/system/app/OPBugReportLite
/system/app/OPFilemanager
/system/app/OPGeoIpTime
/system/app/OPYellowpage
/system/app/PhotosOnline
/system/priv-app/CtsShimPrivPrebuilt
/system/app/Rftoolkit
/system/app/SensorTestTool
/system/app/SmscPlugger
/system/app/SoterService
/system/app/Stk
/system/app/Traceur
/system/priv-app/IFAAService
/system/priv-app/OnePlusWizard
/system/priv-app/OPCellBroadcastReceiver
/system/priv-app/OPDeviceManagerProvider
/system/priv-app/OPDeviceManager
/system/priv-app/OPSimContacts
/system/product/app/PowerOffAlarm
/system/product/app/TmoEngMode
/system/product/app/Nearme
/system/reserve/Audible
/system/reserve/AmazonShoppingMDIP
/system/reserve/AudibleMDIP
/system/reserve/card
/system/reserve/facebook-localapk-stub
/system/reserve/instagram-localapk-stub
/system/reserve/Kindle
/system/reserve/messenger-localapk-stub
/system/reserve/OPBackupRestore
/system/reserve/OPForum
/system/reserve/GameCenter
/system/reserve/OPIconpackOnePlusH2
/system/reserve/OPIconpackOnePlusO2
/system/reserve/OPNote
/system/reserve/OPSports
/system/reserve/PrimeVideo
/system/reserve/OPWidget
/system/reserve/SoundRecorder
/system/reserve/Weather
/system/app/OPSesAuthentication
4- Remove unnecessary services like appmeasurement, gms analytics
Script by By foobar66
List of services disabled
Code:
com.braintreepayments.api.internal.AnalyticsIntentService
com.facebook.ads.internal.ipc.AdsMessengerService
com.facebook.ads.internal.ipc.AdsProcessPriorityService
com.facebook.internal.FacebookInitProvider
com.google.analytics.tracking.android.CampaignTrackingReceiver
com.google.analytics.tracking.android.CampaignTrackingService
com.google.android.gms.ads.MobileAdsInitProvider
com.google.android.gms.analytics.AnalyticsJobService
com.google.android.gms.analytics.AnalyticsReceiver
com.google.android.gms.analytics.AnalyticsService
com.google.android.gms.analytics.AnalyticsTaskService
com.google.android.gms.auth.api.signin.RevocationBoundService
com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver
com.google.android.gms.measurement.AppMeasurementJobService
com.google.android.gms.measurement.AppMeasurementReceiver com.google.android.gms.measurement.AppMeasurementService
com.google.firebase.perf.provider.FirebasePerfProvider
com.google.firebase.provider.FirebasePerfProvider
com.google.android.apps.xcn.libraries.clearcut.persistence.LogCommitService"
Credits
Tomatot for his original mod here
Analytics Script by foobar66 his original thread can be found here
Changelog
-v1 Initial Release
V 1.1
-Added to oneplus analytics
Code:
/system/app/OPTelephonyCollectionData
- Added to Extreme debloat
Code:
/system/app/EasterEgg_O2
/system/app/OPTelephonyCollectionData
/system/priv-app/GoogleDocumentsUIPrebuilt
/system/product/priv-app/OobConfig
-Added to google debloat
Code:
/system/product/priv-app/OobConfig
/system/priv-app/GoogleDocumentsUIPrebuilt
V1.2
-Added separate option to debloat gboard
V1.3
-Added to extreme debloat
Code:
/system/priv-app/CallLogBackup
/system/app/OPSesAuthentication
/system/app/WallpaperBackup
/system/app/WapiCertManage
/system/product/priv-app/Wellbeing
/system/product/priv-app/Turbo
- Added to oneplus analytics
Code:
/system/app/OPSesAuthentication
-Added to Google debloat
Code:
/system/product/priv-app/Wellbeing
/system/product/priv-app/Turbo
- Added Anysoft keyboard as alternative when gboard is debloated
V1.4
-Added to extreme
Code:
/system/product/priv-app/StorageManager
/system/app/OPIntelliService
Replaced system/etc/init/
bootstat.rc
bluetooth-events.rc
dumpstate.rc
engineermode.rc
recovery-refresh.rc
recovery-persist.rc
Click to expand...
Click to collapse
with empty file
V1.5
Removed
Code:
/system/app/OPIntelliService
/system/priv-app/GoogleDocumentsUIPrebuilt
Added to Extreme Debloat
Code:
/system/product/priv-app/IndiaOPRoamingServiceRelease
/system/product/priv-app/OPWorkLifeBalance
/system/product/app/heytap_mcs_in
/system/product/app/HeytapIdProvider
Download link
Android File host
Your welcome glad I could help works like a charm
Just to be sure. This removes all of those or can i choose say debloat only 3 and 4?
pyry666 said:
Just to be sure. This removes all of those or can i choose say debloat only 3 and 4?
Click to expand...
Click to collapse
You can choose specifically . There are four options
1- Extreme debloat
2- Debloat Google apps and unnecessary apps
3- Debloat OnePlus analytics
4- Debloat Gboard
5- Remove unwanted services like app measurements,
Perfect, I choosed Extrem debloat and everything works fine. Thanks.
Thank you for your Amazing work. Can i use this on my 7t pro?
Goku1992 said:
Thank you for your Amazing work. Can i use this on my 7t pro?
Click to expand...
Click to collapse
Hey i already made a thread for OnePlus 7 series see here ,
https://forum.xda-developers.com/oneplus-7-pro/development/eagle-debloater-v1-0-t4091677
works pretty well on my op8pro
---------- Post added at 09:38 PM ---------- Previous post was at 09:35 PM ----------
Hi thanks for this magisk module. I have done a extreme debloat but have a question.
I have installed the oxygen updater, but this either requires TWRP (full install) and TWRP is not yet available for the Oneplus 8 pro. Or a incremental update which requires the original updater app.
Could you please describe to me the name and procedure to restore the original updater app? (Should be removing the empty apk in /system/priv-app ?)
Thanks!
damige85 said:
Hi thanks for this magisk module. I have done a extreme debloat but have a question.
I have installed the oxygen updater, but this either requires TWRP (full install) and TWRP is not yet available for the Oneplus 8 pro. Or a incremental update which requires the original updater app.
Could you please describe to me the name and procedure to restore the original updater app? (Should be removing the empty apk in /system/priv-app ?)
Thanks!
Click to expand...
Click to collapse
Remove this lines from install.sh and flash the Debloat zip
/system/app/OPBackup
/system/priv-app/DynamicSystemInstallationService
methuntt said:
Remove this lines from install.sh and flash the Debloat zip
/system/app/OPBackup
/system/priv-app/DynamicSystemInstallationService
Click to expand...
Click to collapse
Thanks, i have tried this and it seems to work. System update is available again. Would it make sense to have OPBackup and DynamicSystemInstallationService left installed in version 1.5? As i am not aware how other users will be able to update their devices without those packages installed. (and without TWRP at this time)
damige85 said:
Thanks, i have tried this and it seems to work. System update is available again. Would it make sense to have OPBackup and DynamicSystemInstallationService left installed in version 1.5? As i am not aware how other users will be able to update their devices without those packages installed. (and without TWRP at this time)
Click to expand...
Click to collapse
Sure i will add an option to Debloat ota update app or not .
Can I do the same through ADB? without root.
ultraklew said:
Can I do the same through ADB? without root.
Click to expand...
Click to collapse
Nope. If you're using adb try this
pm uninstall -k --user 0 (package name)
Ok. And where to get the list of app?
Is there anything removed that would mess with fingerprint scanner?
masri1987 said:
Is there anything removed that would mess with fingerprint scanner?
Click to expand...
Click to collapse
No.
methuntt said:
Sure i will add an option to Debloat ota update app or not .
Click to expand...
Click to collapse
I tried v1.6 which has this option, chose Vol-down for no, but System Updates is still disabled.
methuntt said:
Remove this lines from install.sh and flash the Debloat zip
/system/app/OPBackup
/system/priv-app/DynamicSystemInstallationService
Click to expand...
Click to collapse
Should I remove the line for /system/app/OPBackup from the "Debloat Oneplus Analytics and some unwanted oneplus apps" section and rerun it?
sleepy_76 said:
I tried v1.6 which has this option, chose Vol-down for no, but System Updates is still disabled.
Should I remove the line for /system/app/OPBackup from the "Debloat Oneplus Analytics and some unwanted oneplus apps" section and rerun it?
Click to expand...
Click to collapse
Yes, you should remove .
I forget to remove from analytics section.
I will update in next version.
methuntt said:
Yes, you should remove .
I forget to remove from analytics section.
I will update in next version.
Click to expand...
Click to collapse
How should I edit the .sh file? I can't seem to edit it as it's in a zip file.
Sorry if this is a noob question.
Sent from my IN2020 using Tapatalk
AT YOUR OWN RISK!!!
Requeriments (commom):
- Windows/Linux computer
- USB debugging enabled (Developer settings)
Linux users:
COMMON
Code:
adb push debloat_list.sh /data/local/tmp
adb push aapt_arm_pie /data/local/tmp
adb shell chmod 777 /data/local/tmp/debloat_list.sh
adb shell chmod 755 /data/local/tmp/aapt_arm_pie
NON-ROOT
Code:
adb shell /data/local/tmp/debloat_list.sh
ROOT
Code:
adb shell
su -l
/data/local/tmp/debloat_list.sh
(su -l opens a login shell as root on the android phone)
ROOT - REMOVE APPS - How to:
1. Download always the latest version available (attached below)
2. Disable any Magisk Module installed and reboot (IMPORTANT STEP, DO NOT SKIP IT)
3. Unpack and run debloat-remove.bat (run it at least twice!)
4. Enable Magisk Modules again
5. Done!
ROOT Notes:
- Before run the debloat script, you have a change to take a look on its "unwanted apps list " at \files\debloat_list.sh
- Root debloat script does not remove the bloatwares folders, instead, it moves them to a backup folder, located at /system/_debloat_backup
- /system/_debloat_backup stores all "removed" apps folders, and before you manually delete this folder (and if you want to), you have a chance to revert back the changes made by the script
- Updated bloatwares: They'll need to be uninstalled/disabled manually
NON-ROOT - UNINSTALL APPS ONLY - How to:
1. Download always the latest version available (attached below)
2. Unpack and run debloat-uninstall.bat (run it at least twice!)
3. Done!
NON-ROOT Notes:
- Before run the debloat script, you have a change to take a look on its "unwanted apps list " at \files\debloat_list.sh
- debloat_list.sh: Commented out lines (starting with #) will be ignored (their respective apps will not be uninstalled)
- Debloat script does not remove apps containers (apk files/folders)
- Updated bloatwares: They'll need to be uninstalled manually (Settings > Apps > "APP" > Uninstall/Deactivate)
Retrieving installed apps info (PACKAGE | APK LOCATION | LABEL):
1. Download v1.0_List_Installed_Apps_Info_By_Serajr.zip (attached below)
2. Unpack and run list_installed_apps_info.bat and wait a minute or two (ignore errors, if any)
3. installed-apps-info.txt file will be created
4. Done!
Special thanks:
- @hmy65 (Debloat list, used as base)
Enjoy it!
Changelog
v1.0 - 27/Sep/2020
- Initial release
v1.0.1 - 22/Oct/2020
- Added instructions for Linux users ( thanks @HemanthJabalpuri )
v1.1 - 02/Jan/2022
- Android 12 compatibility
Pics
SM-G985F, root version
serajr said:
v1.0.1 - 22/Oct/2020
- Added instructions for Linux users ( thanks @HemanthJabalpuri )
Click to expand...
Click to collapse
Not tested, but seems like will work great. But in requirements section, you should add Linux along with Windows.
Thanks.
Work like a magic. Thank you so much. Look so clean and minimal.
keaheng said:
Work like a magic. Thank you so much. Look so clean and minimal.
Click to expand...
Click to collapse
Thank you for the feedback :good:
Thanks and congrats for such a great work!
Is there any advantage to use the root script over a pm uninstall -k --user 0 command please? What's the difference
aacury said:
Thanks and congrats for such a great work!
Click to expand...
Click to collapse
Thank you mate
jojos38 said:
Is there any advantage to use the root script over a pm uninstall -k --user 0 command please? What's the difference
Click to expand...
Click to collapse
Root script version moves all the damn bloatwares to a single (and structured) folder. It allows you to revert back changes or free up internal memory space by deleting that folder, however, you'll need to run the script after every system update.
Non-root (pm uninstall -k --user 0) uninstalls the apps, keeping all the data, and the changes may survive the system update.
serajr said:
Thank you mate
Root script version moves all the damn bloatwares to a single (and structured) folder. It allows you to revert back changes or free up internal memory space by deleting that folder, however, you'll need to run the script after every system update.
Non-root (pm uninstall -k --user 0) uninstalls the apps, keeping all the data, and the changes may survive the system update.
Click to expand...
Click to collapse
Thank you!
Hi, a question, if i run v1.0_List_Installed_Apps_Info_By_Serajr.zip and create a list txt, when i run a debloat, what changes or which apps debloat and which apps not?, how i change which apps not debloat?
sorry for my bad english!
Taz2016 said:
Hi, a question, if i run v1.0_List_Installed_Apps_Info_By_Serajr.zip and create a list txt, when i run a debloat, what changes or which apps debloat and which apps not?, how i change which apps not debloat?
sorry for my bad english!
Click to expand...
Click to collapse
Both debloat methods (root/non-root) use a sh file (debloat_list.sh), so have a look into it (as well as reading the Notes in the first post).
I just want to make sure the script can be used on Samsung S20 FE phone? Thanks
Gr8man001 said:
I just want to make sure the script can be used on Samsung S20 FE phone? Thanks
Click to expand...
Click to collapse
Sure it can!
Omg dude, I remember you from Xperia Mini days.
Your project was the xperia launcher mod right?
Nice work here.
agentsandy007 said:
Omg dude, I remember you from Xperia Mini days.
Your project was the xperia launcher mod right?
Nice work here.
Click to expand...
Click to collapse
Yeah mate :highfive:
I'm currently working on an xposed module to tweak samsung stock launcher ( as stated here ). I intend to release something on this asap. Stay tuned.
Thank you!
application preceded by the # sign will not be deleted?
and where is the ## sign?
---------- Post added at 03:38 PM ---------- Previous post was at 03:38 PM ----------
Hello
can i keep certain apps? or do i either remove all or reinstall all?
shaker74 said:
...
and where is the ## sign?
Click to expand...
Click to collapse
debloat_list.sh (read up post #12 just above)
Gasser.Atef said:
can i keep certain apps? or do i either remove all or reinstall all?
Click to expand...
Click to collapse
Sure you can (by editing debloat_list.sh).
serajr said:
debloat_list.sh (read up post #12 just above)
Sure you can (by editing debloat_list.sh).
Click to expand...
Click to collapse
To be honest OP is not noob friendly tho.
Like I didn't know how to open debloat_list.sh and used notepad and it worked. Not too many would know that?
Anyways I just blindy went through your script and only things I had to reinstall are gmail, drive and sammy pay.
I building my custom AOSP and would like to remove or disable the systemUI completely.
I can achieve this using adb with "pm disable com.android.systemui" but I wonder if there is a way to disable it in the aosp build so that its automatically disabled already when flashing my own AOSP build.
Basically I want to include the "pm disable com.android.systemui" command in the build. Maybe in the init.rc file or something.
Thank you for any help!
Note: I do not really care what you guys think about Google. These are just the steps I took to replace google services with MicroG. This also only works on Android 11 due to FakeGapps being superior on Android 11 compared to Android 12 for now.
TLDR: Flash Magisk, enable zygisk, install Universal Safety Net Fix, Lsposed + fakestore and Nanodroid microg.
Unlock Bootloader and flash a custom recovery
You can follow the guide here on how to unlock your bootloader and flash a custom recovery: https://forum.xda-developers.com/t/guide-unlock-bootloader-and-flash-xiaomi-eu-rom.3952443/
Flash Magisk
Grab the latest APK from Magisk's Github and rename it from Magisk-vXX.apk to Magisk-vXX.zip then flash it in your recovery of choice
Essential magisk setup
Hide the Magisk app
Enable Zygisk and Enforce Denylist on your banking apps etc.
Install the following Magisk Modules and reboot your device
https://github.com/kdrag0n/safetynet-fix for passing safetynet
https://github.com/LSPosed/LSPosed for installing fakegapps later on which provides signature spoofing
Install and enable fakegapps for signature spoofing support
https://github.com/whew-inc/FakeGApps/ - since our device is on A11, grab the latest v3.0 apk and install it
Open LSPosed (A shortcut should be made on your home screen, if not dial *#*#5776733#*#* (LSposed) in your phone dialer and it should open and enable FakeGapps in the module. System Framework is already ticked and thats all thats needed
Installing MicroG
Grab Nanolx's version of microG from: https://downloads.nanolx.org/NanoDroid/Stable/NanoDroid-microG-23.1.2.20210117.zip
Note on this zip. The installer supports reading a config file to set up following this guide: https://github.com/Nanolx/NanoDroid/blob/master/doc/AlterInstallation.md.
I would recommend downloading the default .nanodroid-setup file in the guide, putting it in your internal storage and making the following configurations.
Line 37 - nanodroid_nlpbackend=1000
Line 55 - nanodroid_play=10 if you want in app purchases to work, nanodroid_play=01 if you do not care about in app purchases
I wouldn't recommend going with aurora services here as it is severely outdated, grab it and flash it manually from aurora's gitlab if you want to use it
Uninstall Google Play Services and ignore all the errors that pop up instantly after that
Install Nanodroid MicroG in magisk. It should debloat the default Google installation on the phone and replace it with MicroG
Updating MicroG and optionally Play store based on the options chosen
I recommend installing F-droid and adding the MicroG fdroid repository from https://microg.org/fdroid.html
There will be an update for MicroG. Update it and you're good to go
If you enabled the patched play store for IAP you can update it by going into Google Play Store > Setings and presss Update Play Store
That should be it. You can further clean up the rom by grabbing https://github.com/Szaki/XiaomiADBFastbootTools and disabling some bloatware (I recommend disabling and not uninstalling)
Note: You will get an error from Device Health Services saying it needs an update to Google Play. Feel free to disable the app using a root app disabler or by using ADB with the following command:
adb shell pm disable-user --user 0 com.google.android.apps.turbo
I've gone a step further and replaced most of the default apps with "Simple" apps from F-Droid such as Simple Contacts, Simple Dialer, Simple Calendar etc. They work really well and there's a companion app that allows shared file themeing among them called Simple Thank You.
See attached files for screenshot of my success.