[MOD] [UPDATE] OxygenOS cleaner [V2.5] [OOS4] [ZIP]

Search This thread
D

dr_root

Guest
Hi, i want just to share my little script. This ZIP delete some unused stuff from the system, like Google Play Music and all the "test" apps. You can run it directly after a fresh system installation and also if run your full setup and just want to clean a bit up.


PS. when there is an update of OxygenOS, you need to flash the full rom(no wipe needed) and after that just flash the cleaner zip. A normal OTA zip will not work because the zip tries to "patch" App files that are not there anymore, so the OTA Update will fail.


you can easy edit it if you want. really basic and simple stuff



This is the script:
Code:
#!/sbin/sh
mount /system
mount -o rw,remount /system
mount -o rw,remount /system /system
rm -rf /system/app/AndroidPay
rm -rf /system/app/AntHalService
rm -rf /system/app/BTtestmode
rm -rf /system/app/CalendarGoogle
rm -rf /system/app/Chrome
rm -rf /system/app/CloudPrint2
rm -rf /system/app/DMAgent
rm -rf /system/app/DivesIconPack
rm -rf /system/app/Drive
rm -rf /system/app/Duo
rm -rf /system/app/EngSpecialTest
rm -rf /system/app/EngineeringMode
rm -rf /system/app/Gmail2
rm -rf /system/app/GoogleHindiIME
rm -rf /system/app/GoogleJapaneseInput
rm -rf /system/app/GooglePinyinIME
rm -rf /system/app/Hangouts
rm -rf /system/app/KoreanIME
rm -rf /system/app/Maps
rm -rf /system/app/Music2
rm -rf /system/app/NFCTestMode
rm -rf /system/app/OEMLogKit
rm -rf /system/app/OemAutoTestServer
rm -rf /system/app/PartnerBookmarksProvider
rm -rf /system/app/Photos
rm -rf /system/app/PlayGames
rm -rf /system/app/RifonIconPack
rm -rf /system/app/SensorTestTool
rm -rf /system/app/Stk
rm -rf /system/app/SwiftKey
rm -rf /system/app/SwiftKeyFactorySettings
rm -rf /system/app/Videos
rm -rf /system/app/Wallet
rm -rf /system/app/WifiRfTestApk
rm -rf /system/app/YouTube
rm -rf /system/com.touchtype
rm -rf /system/reserve/OPForum
rm -rf /system/reserve/OPMusic
 

Attachments

  • OxygenOS-cleaner.zip
    501.2 KB · Views: 524
  • OxygenOS-cleaner-V2.zip
    501.3 KB · Views: 317
  • OxygenOS-cleaner-V2.5.zip
    391.3 KB · Views: 1,508
  • OxygenOS-cleaner-V3.zip
    1.3 KB · Views: 349
Last edited:

proag

Senior Member
Mar 25, 2016
224
98
Thanks, I will actually use this as a base to my script which will delete all google stuff from oxygen os and disable oneplus analytics.
 

harharryhar

Member
Jun 21, 2016
10
0
Does it need root or some flashing? Sorry if it is a stupid question.
I am mainly interested in this command for background app limit, can I run this command without root? If so does it run on windows cmd? Thanks for your answer. I have installed adb and the drivers. I dont want to root so this will be great if this can work without rooting.

run_program("/sbin/sh", "-c", "sed -i 's:ro.sys.fw.bg_apps_limit=.*:ro.sys.fw.bg_apps_limit=48:' /system/build.prop");

If it has to run as script (without rooting) could you please modify your script for this command only, I want the google apps... Thank you so much for your help, hope I am not stepping my bounds by asking this..
 
Last edited:

washichi

Senior Member
Jan 12, 2012
138
79
OnePlus 3
OnePlus 7 Pro
Does it need root or some flashing? Sorry if it is a stupid question.
I am mainly interested in this command for background app limit, can I run this command without root? If so does it run on windows cmd? Thanks for your answer. I have installed adb and the drivers. I dont want to root so this will be great if this can work without rooting.

run_program("/sbin/sh", "-c", "sed -i 's:ro.sys.fw.bg_apps_limit=.*:ro.sys.fw.bg_apps_limit=48:' /system/build.prop");

If it has to run as script (without rooting) could you please modify your script for this command only, I want the google apps... Thank you so much for your help, hope I am not stepping my bounds by asking this..

you need a custom recovery to flash this. if you want to edit the script jus extract it, change rw permissions, edit, save, change rw permissions back to original, zip it again.
 

cerealguy

Senior Member
Jan 8, 2012
1,478
657
Salerno
After a fresh installation of Oxygen 3.2.1, script won't work... this is the recovery screenshot after flash
d34e0ca408bb1baf90d9b3e6869b2782.jpg


Inviato dal mio ONEPLUS A3003 utilizzando Tapatalk
 
D

dr_root

Guest
Not working Ver 2.0

Enviado desde mi ONEPLUS A3003 mediante Tapatalk
please try V2.5

Now busybox Mount the system and I have added the removal of the stock Music and Gallery App (OnePlus Gallery can still be installed from Play Store)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    OxygenOS 3.5.2 introduces a new Feedback bloatware app. It can be removed by adding the following line to update-script:
    delete_recursive("/system/app/OPBugReport_Complete");

    You may also add OPBackup, if you're not using it:
    delete_recursive("/system/app/OPBackup");
    1
    EDIT: Stupid question.

    Thanks for sharing!!
    1
    Where is the script?

    Sent from my ONEPLUS A3003 using Tapatalk
    1
    Can I do all this manually if I don't want all those deleted? Why 48 instead of 42?
    1
    Can you add Swiftkey Removal ?
    And delete ro.sys.fw.bg_apps_limit , Ota 3.2.1 Include It
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone