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

D

dr_root

Guest
Strange, I do. Not sure why, lol. After I do Install > OOS then press back and Install > OOS cleaner then boot phone (that's right, right?) then iif I go back into recovery after ive setup my phone, its stock recovery, lol
Ok that is really strange. Never had that problem. The full Roms from the oneplus official support page never flashed the stock recovery.
 

knonn

Senior Member
Sep 24, 2015
374
147
0
Le Mans
I have Installed the OOS 3.2.4 FOTA and after that my Script. It worked like it should. I use the official TWRP.
Can you link me the TWRP that you use? Maybe I have the wrong one. Mine is from the TWRP website.
Do I need to flash your script right after flashing the FOTA or it will work even if oxygenos is already installed? Because I tested it and the script just does nothing at all.
Thanks.
 
Last edited:
D

dr_root

Guest
Can you link me the TWRP that you use? Maybe I have the wrong one. Mine is from the TWRP website.
Do I need to flash your script right after flashing the FOTA or it will work even if oxygenos is already installed? Because I tested it and the script just does nothing at all.
Thanks.
I also use the TWRP from the official webpage. I would recommend to Flash the Script right after the update nur it also work when oxygen os was used some days. some Apps (like Google Music) can still be there, because when the App gets updated, the apk is stored in the Data Partition. My Script only delete Files from the System Partition.
 

knonn

Senior Member
Sep 24, 2015
374
147
0
Le Mans
I also use the TWRP from the official webpage. I would recommend to Flash the Script right after the update nur it also work when oxygen os was used some days. some Apps (like Google Music) can still be there, because when the App gets updated, the apk is stored in the Data Partition. My Script only delete Files from the System Partition.
OK I found why some Apps still there. You're right, some was updated and be stored on the data partition. I edited the script to remove them from the data partition too.
And for my knowledge, the "delete_recursive" command remove recursively the folder content only? Because when I apply your script, on the /system/app folder, for example, the folder of AndroidPay stay there with nothing in it. And the folder of BTtestmode stay there with all the files in it. Any idea?
Encryption is forced on oxygenos, can it be the culprit of this issue?
Thanks.
 
Last edited:
D

dr_root

Guest
OK I found why some Apps still there. You're right, some was updated and be stored on the data partition. I edited the script to remove them from the data partition too.
And for my knowledge, the "delete_recursive" command remove recursively the folder content only? Because when I apply your script, on the /system/app folder, for example, the folder of AndroidPay stay there with nothing in it. And the folder of BTtestmode stay there with all the files in it. Any idea?
Encryption is forced on oxygenos, can it be the culprit of this issue?
Thanks.
the "delete_recursive" delete the content and also the folder. In my system partition every folder from the script was deleted. Its really interesting that we get with same software different results.
 

knonn

Senior Member
Sep 24, 2015
374
147
0
Le Mans
the "delete_recursive" delete the content and also the folder. In my system partition every folder from the script was deleted. Its really interesting that we get with same software different results.
I'll try to find a fix for those who have the same problem as me. It's really strange. The system partition seems to mount as read only during the script execution. Dunno why.
EDIT : I used systemless root, maybe using the regular one will resolve this ?
EDIT2: By resetting all my phone (wiping everything and formatting user data) and clean flashing oxygenos, all works as expected now.
 
Last edited:

ritchiedrama

Senior Member
Jul 18, 2016
634
178
0
Market Rasen
www.kratostrength.com
That's weird, make sure you are editing updater-script and you don't save it with an extension.
What error does TWRP give you?
Gah, can't remember off the top of my head but iit says something about meta-inf/update-binary cannot find or something. Although I don't even touch that file, and it doesn't have an extension and updater-script I only add one line.
 

ritchiedrama

Senior Member
Jul 18, 2016
634
178
0
Market Rasen
www.kratostrength.com

ritchiedrama

Senior Member
Jul 18, 2016
634
178
0
Market Rasen
www.kratostrength.com
1. Open zip with WinRAR and extract "updater-script".
2. Add lines and save.
3. Drag and drop the updated file back into WinRAR and confirm dialog.
4. Flash the zip. ;)
Eh, thats what I did, and it never works, lol. Always fails to flash the zip.

Do you happen to know the commands to remove the dialer and also messaging app etc? (And the coreapps thing that drains battery if you know what that is)
 
Last edited: