yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 & 6T Cross Device Development] everonline:
Checked everytime I run the script

Hi Tomatot,

I have done that many times, I would run the script and immediately check within TWRP File Manager if was indeed deleted... to no avail... everything was still there, so I tried all the various ways and the only thing that works for me is to use adb shell and invoke rm -rf.

PS: also the path within OP5T is not /system/system but only /system/app for example.

Thanks

Ever
[OnePlus 6 & 6T Cross Device Development] nirogu325:
I also see what he posted. I do not have WebviewStub.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Oh yeah that's so obvious now I didn't know your device is not A/B? So yeah my script is not compatible you need to remove /system on each line. Then it should work?
[OnePlus 6 & 6T Cross Device Development] amithiel:
Just tried this for the first time (light script). Man this is amazing, thansk for this tool! Quick and easy, no messing around :)
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Finally it's working for someone there's some positive feedback, thanks :highfive:
[OnePlus 6 & 6T Cross Device Development] jaggy989:
Hi

All these apps in the script can be uninstalled via titanium or terminal app right, or correct me if i am wrong

Just asking
[OnePlus 6 & 6T Cross Device Development] nirogu325:
No for the Titanium method. As soon as you reboot they are still there. As for terminal, haven't and won't try. Running this script is easier.
[OnePlus 6 & 6T Cross Device Development] jaggy989:
I am on OnePlus 6t, running xxx module also. Want to give extreme debloater a try,, but don't know exactly which system apps to remove in order to have proper working android system.
[OnePlus 6 & 6T Cross Device Development] nirogu325:
I refer you to the original post.
[OnePlus 6 & 6T Cross Device Development] djcsurf:
Am using invisible with a little light added and works perfectly on OP6 OOS. Thank you
[OnePlus 6 & 6T Cross Device Development] everonline:
Working Now!

Hi Tomatot,

In the end I'm the one to blame, I extracted your zip file completely and rectified the path (that was the first thing I have done) within the script file, compress back again, adb sideload, it would go through but without doing anything... tried a lot of times.

The problem is the fact I'm extracting it and compress back again, that would replace all the properties of your zip file and break the process, so what works is to open your zip file directly, extract and edit only the script file and put back in... voila works all the time.

Attached - working 100% in OP5T.

Thanks again for your work

Ever
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
I'm glad it worked out for you eventually however If you would have followed the tutorial in OP you wouldn't have got any problem. And you should have told me from the beginning you didn't try one of my script without modifying it! But no worries. :)
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
You can also check the .txt file where I explain what apps do. In case you're not sure you can always ask here!
[OnePlus 6 & 6T Cross Device Development] everonline:
Hi Tomatot,

I did try your scripts without modifying it until I realize the specified path for OP6 was different from mine OP5T, so it would go through and not do anything because the dirs (/system/system/whatever) didn't exist, so that was expected.

Then I had the need to change your script and my mistake was to unzip it and compress it again (after modifying the update script) ignoring the properties, for example your encoding comes as UTF8 (Linux), but if I change it by default come as NTFS aka UTF16 (Windows), so by open the zip, extract only the update file and insert it again without any unzip / zip works flawlessly.

Hope this explains it.

Thanks

Ever
[OnePlus 6 & 6T Cross Device Development] reamer1992:
Hey guys. Just a little feedback for this awsome script. Im using 9.11 stock with smurf kernel and extreme script. Awsome battery, ram management and i dont have any problems with google services as i use them all.
[OnePlus 6 & 6T Cross Device Development] :
I was looking through your omni scripts earlier today, as I were having issues with an app, that I didnt.know the name of at that moment, was missing (I thought something was broken instead, as i recently updated to 9.0.3 under omnis newest build and nanodroid microG). Then I discovered that ''stk'' was included in v1.3 and up script. Stk stands for sim tool kit, which I apperently use with my banking apps, as id authentication, or whatever you would call it. Dunno if this is used outside of northern europe, where im from, but this gave me a little hassle none the less. Got it fixed in the end luckily. Just thought it might be of intrest.

Also, in the midths of this, I wanted to add email and the other gallery apk that I dont fancy. Downloaded the simple gallery anyways, so I have no use for it. But. I cant seem.to get rid of either of them, even when adding the supossedly correct paths. Any thoughts on this?
[OnePlus 6 & 6T Cross Device Development] notanoob:
9.11 ???? Are you from the future ?.Latest build is 9.03 if I am not wrong. Did you mean beta 11 build ?
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Ah ok, thanks for the info, I will add it to first post. I didn't know skt could be needed for that. I've never heard of that!

You should be able to remove them without any issue, you probably did a typo. You can show me your file so I can help. I myself removed the gallery apk.

"/system/system/app/Galery2", (it's funny, there's a typo: there's only "l" when there should be two.

For email it should be:

"/system/system/app/Email",

Careful, everything is case sensitive.

EDIT: I uploaded 1.5.1 for omni because I realized that in the script I uploaded here I misspelled the gallery apk.
[OnePlus 6 & 6T Cross Device Development] :
The more you know :laugh: I didnt either, untill yesterday.

Its correctly spelled in my 1.5 script, but there is anorher gallery on my device that's package name is com.android.gallery3d i think. I removed both using the terminal for now.

Thats exacly what I added, and the app wasnt removed despite that. But as with the second gallery app, i removed it with a terminal debloater :)
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Just to make things clear you need to add the name of the folder where the .apk is, not the apk itself.
[OnePlus 6 & 6T Cross Device Development] :
Aah, maybe thsts where it went wrong, either that or Im just too stupid to remember to flash the correct script :laugh:
[OnePlus 6 & 6T Cross Device Development] °Washy:
Man, I'm using your Extreme script. Should It display something under phone Infos?
[OnePlus 6 & 6T Cross Device Development] spikerspike97:
no it just debloats the apps which are in the script. your build number stays the same
[OnePlus 6 & 6T Cross Device Development] reamer1992:
Oh yeah sorry man. I did not mention im on 6T 9.0.11
[OnePlus 6 & 6T Cross Device Development] °Washy:
Hello guys, Just another question: how Can I unistall your script?
[OnePlus 6 & 6T Cross Device Development] ram4ufriends:
Dirty flash your ROM
[OnePlus 6 & 6T Cross Device Development] WillSmith89:
Are you sure your script is working? Because if it is,NVBackupUI shouldn't be running in the first place.

Just a feedback,script doesn't seem to work on OOS 9.0.11 OnePlus 6T
[OnePlus 6 & 6T Cross Device Development] jaggy989:
It's working for me 6t 9.0.11
[OnePlus 6 & 6T Cross Device Development] rajone9:
I flashed light script and now I hear no sounds during calls. with invisible script it was ok

Inviato dal mio ONEPLUS A6003 utilizzando Tapatalk
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
I don't think it's related to my script. What kind of calls? Voip, volte, wifi calls, or normal cellular calls?
[OnePlus 6 & 6T Cross Device Development] rajone9:
reboot the phone and now it works :rolleyes:
[OnePlus 6 & 6T Cross Device Development] reamer1992:
How can i test if its working?
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Well see if apps in the script are uninstalled or not.
[OnePlus 6 & 6T Cross Device Development] Master One:
[MENTION=4637983]Tomatot-[/MENTION], is it an error that the version for OmniROM says 1.5.1? You are currently using OmniROM, so I assume the attachment in the OP is the current version and you are using it on your phone yourself right now?
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Yes 1.5.1 is the newest, the version number is not related to the OOS one.
[OnePlus 6 & 6T Cross Device Development] KJYap:
Hi,

I've tried three of the method of flashing yet with Light debloater. However, I still see Google drive app. Does this mean the script has failed to flash?
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Sounds like it. Did you edit it at all?
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Oh ok thanks, it makes more sense now.

The file is located there: /system/etc.usb_drivers.iso

It seems it's what makes the windows explorer show the OP6 as a CDROM when you plug it to your computer. So you can have access to drivers. It's pretty useless indeed. I'll add it to my script. :)

EDIT: I can confirm after flashing v1.2 no more CDROM when I plug my phone.
[OnePlus 6 & 6T Cross Device Development] qbanlinxx:
Before you came out with this script, I printed the profile from xXx and manually debloated just about everything there and my phone is running well.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
v1.2 uploaded!

Check second post for changelog. :)

EDIT: [MENTION=3879664]qbanlinxx[/MENTION] let me know if there are other apps I forgot then. :)

I'm going to make soon a list of the apps left and then I'l try to differentiate like this:

-Seems secure to delete

-High chances it will break something. Like systemUI for example.

And then I will try one by one which one work and don't.

Eventually I will share a script with literally all the apps that can be deleted, and then people can pick which lines they want to delete. And I'll add a few presets as I said.
[OnePlus 6 & 6T Cross Device Development] qbanlinxx:
Here's a screenshot of what I've got frozen through TB
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Thank you. From my testing, I'm able to freeze some apps but if I delete them with my script, the phone can't boot. I don't know why. Maybe the system needs to make sure the folder exists to boot. Whereas it "doesn't mind" if the app is only frozen/disabled.

____

So after some thinking,

that's all the final list of apps

1) SAFE TO DELETE (for almost everyone)

=> That will be the basic script

2) SAFE TO DELETE + possible to reinstall as user app (cleaner, easier to backup)

basic script + a few google apps available on play store + a few OP apps on play script ==> intermediate script

3) SAFE TO DELETE IF YOU USE ALTERNATIVE

Just for info, users can add these apps to their script.

4) SAFE TO DELETE IF YOU DONT USE GOOGLE

Just for info, users can add these apps to their script. It will be quite extreme.

==> Extreme script: mix of 1) + 3) + 4)

5) CORE APPS YOU CANT DELETE

Just for documentation.
[OnePlus 6 & 6T Cross Device Development] qbanlinxx:
I read it has something to do with the A/B partition. If you were to somehow be able to delete them from a/b, when the system runs whatever checks it does before it boots, it'll match up and boot.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
I don't know if I can easily access the second system partition while in TWRP. It would make the script quite harder to make, but why not. I'll try to look into it but no promise! I guess I could have a loot at how blu spark twrp works since it manages to patches both slots.
[OnePlus 6 & 6T Cross Device Development] Sh0X31:
Sorry i was not at home and my battery was empty. Here is a screenshot.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Oh yeah, no worries, I found out! Thanks for telling me about it anyway.

___

After a few more hours of work (it's addictive), v1.3 is out!!!!!

There are now 2 versions:

-Light = #SAFE TO DELETE FOR ALMOST EVERYONE

-Extreme = #SAFE TO DELETE FOR ALMOST EVERYONE + #SAFE TO DELETE + APPS THAT CAN BE FOUND ON PLAY STORE + #SAFE TO DELETE IF YOU USE ALTERNATIVE APPS OR JUST DON'T NEED THE APP

I've flashed the extreme one on my device and I don't have any issues so far.

For changelog and download, check OP and #2 :)
[OnePlus 6 & 6T Cross Device Development] Ducter:
I'm not sure on your list but it appears you have dialer and contacts on the do not remove list. I remove both and use Google contacts as well as Google phone. For the phone app, I use magisk and install Google framework, clear market cache, reboot head to playstore and Google phone is then available for install in a minute or 2. You don't have to delete contacts or phone and can still use Google's, I just don't like redundant apps. Good job, easy option for those that don't care for everything else, just want a cleaner setup.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Hey, thank you for your feedback. You're absolutely right. Actually, now, it's in this category: "#SAFE TO REMOVE IF YOU DON'T USE IT (but most likely you'll want them)". Unfortunately, I don't have plans yet to release a script with this category as it won't fit for 90% people.

However, I encourage you to use my extreme script 1.4 and add to it these two lines. Just wait a few minutes for me to update everything. ;)

_____

v1.4 out!

I just added a few more apps. Check advanced documentation to see whether they are in the extreme package only or also the light one.

"/system/system/app/OPBackup",
"/system/system/priv-app/BackupRestoreConfirmation",
"/system/system/priv-app/Tag",
"/system/system/priv-app/OPFaceUnlock",
"/system/system/priv-app/EmergencyInfo",
"/system/system/priv-app/Turbo",

I don't think I can do much more now. It seems that all the apps left we can't remove them.

Most of them are essential as you can tell just by their name. I've read A LOT of different websites, threads about bloatware and they either confirm it's very dangerous or don't talk about the apps.

I probably miss a few that I could delete though. If you feel like trying or asking me about them, don't hesitate!

I need more feedback to make sure my script is fully functional but I feel like it's quite accomplished now.

I've personally tried both scripts and I boot without issue. No FC, everything works as intended. The folders did disappear and the features are removed don't work, as intended.

Let me update and upload everything, and then let me chill for a bit :D :silly: Done :)
[OnePlus 6 & 6T Cross Device Development] zyvex_14:
Ouhhhha impressive the progress you made mate.

The version I created yesterday is almost the same as yours, 1.4 extreme version, excepted for some google apps I use (maps, calendar for instance) and the following 3 apps:

Tag, Turbo and OPFaceUnlock

Tag and Turbo, I don't know what they are related to, have you got some infos?

For OPFaceUnlock, no issue to remove it if I use the face unlock function to unlock my phone?

---------- Post added at 01:11 PM ---------- Previous post was at 01:01 PM ----------

I found 2 minor issues in your 1.4 file,:

"/system/system/reserve/OPiconpackOnePlus", ==> "/system/system/reserve/OPIconpackOnePlus",

"/system/system/reserve/OPIconSquare", => "/system/system/reserve/OPIconpackSquare",
[OnePlus 6 & 6T Cross Device Development] qbanlinxx:
If we uninstall system apps with your script, could we then install from the play store as a user app?
[OnePlus 6 & 6T Cross Device Development] zyvex_14:
Yes, or at least I have already tried with Gmail and Drive for instance, and it was working.
[OnePlus 6 & 6T Cross Device Development] qbanlinxx:
Perfect, with the xXx module it wouldn't let me for whatever reason.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
If the apps are available on Play Store, yes. If you check the documentation, it's on a specific list!

#APPS THAT CAN BE FOUND ON PLAY STORE
"/system/system/reserve/OPIconpackCircle",
"/system/system/reserve/OPiconpackOnePlus",
"/system/system/reserve/OPIconSquare",
"/system/system/reserve/Weather",
"/system/system/app/Chrome",
"/system/system/app/CalendarGoogle",
"/system/system/app/Drive",
"/system/system/app/Duo",
"/system/system/app/Gmail2",
"/system/system/app/GooglePay",
"/system/system/app/Maps",
"/system/system/app/Photos",
"/system/system/priv-app/Velvet", (this is the Google App)
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Thank you! :D

If I may, I'd suggest you to delete these GAPPS as you can them install them as User apps so it's cleaner and easier to backup etc. Actually, for example, I've deleted MAPS on the script I flashed and it still there. It seems the app got cleared and it's now a user app. It's really weird. If you could test that it would be interesting.

Thank you, I'm going to share a v4.1 to correct the little mistakes I did. I've found a few other ones as well!

Tag = it's for NFC tags. Nobody uses this I think!

Turbot = fancy name for the app "Device Health Services"
[OnePlus 6 & 6T Cross Device Development] zyvex_14:
OK so I added as well Tag and Turbo in my (well yours originally ;) ) file and no issue neither here.

For OPFaceUnlock, I wait a little bit since I am not sure.

Coming back to your comment on google apps, let me try this evening my time.

I will let you know the wierd (I expect the same) result .
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Cool, let me know! I've actually found a few other apps that I could add to my script. I'll let you know.

About Face unlock, if you use it, then no, you shouldn't remove it! I removed it because I only use fingerprint scanner. :)
[OnePlus 6 & 6T Cross Device Development] KJYap:
I open the file left it in original didn't edit anything, see Google drive there though. On render kernel, stock oos 9.0.3.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Just download it again and don't touch anything. If you tried all the solutions I mentioned I can't help you more :/
[OnePlus 6 & 6T Cross Device Development] KJYap:
I dirty flashed, found Dirac and other OnePlus services not running anynore. This is probably working, just Google Drive still exist. Thanks for your hardwork:)
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Can you check if this folder exist on your device: "/system/system/app/Drive", and take a screenshot if it does? Thanks.

If it's not there, I think it's because you updated the app at some point so it's now an user app. So you can uninstall it directly.
[OnePlus 6 & 6T Cross Device Development] KJYap:
Oh yeah just noticed now is uninstallable, my bad but what I rmb I didn't install it back as user, it was system all the time.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
As I explained a few pages back, basically when you update a system app, you have 2 .apk on your phone:

-One in /system, and it's the one used when you use "uninstall updates/disable"

-One in /data where it's the apk currently in use, updated.

So with my script you only remove the one in /system but not the in /data, thus you still have the app.
[OnePlus 6 & 6T Cross Device Development] karlospv94:
I am trying to debloat my OxygenOS 9.0.3 with Tomatot, but url link to Tomatot-Debloater-OOS-Extreme-2.5.1.zip seems missing since it throws a 500 error when trying to download it
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Working fine here, try a different browser or something. It happens often on XDA.
[OnePlus 6 & 6T Cross Device Development] karlospv94:
Works perfectly now. Anyway, I have executed the script but I continue seeing those apps I have supossedly removed
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Which ones? Check first post for instructions and a few posts back
[OnePlus 6 & 6T Cross Device Development] karlospv94:
Is the source code of this script available? I see a binary in com/google/android/update-binary which doesn't make me very confident
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Everything is in the updater-script file. What doesn't make you confident?
[OnePlus 6 & 6T Cross Device Development] karlospv94:
Sorry, my fault
[OnePlus 6 & 6T Cross Device Development] karlospv94:
After executing the script, apps that are supposed to have been deleted continue appearing in my OxygenOS list of applications. I have installed busy box from magisk and executed the script again, but they continue appearing (Google photos, Drive, Duo...). I am using OnePlus 5
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
The script isn't compatible with OnePlus 5, you need to edit the script and replace all the /system/system by simply /system

Also if you've updated the apps they will remain as user apps.
[OnePlus 6 & 6T Cross Device Development] karlospv94:
I have changed all /system/system to only /system but when flashing the zip I have seen this: "Error installing the Zip..." and It has not been executed
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Send it to me. You probably misspelled something. OP5 doesn't have A/B partitions right?
[OnePlus 6 & 6T Cross Device Development] karlospv94:
I am not sure about the A/B partitions. This is the script I have used:

ui_print("+-------------------------------------+");
ui_print("| |");
ui_print("| Tomatot Debloater Extreme 2.5.1 |");
ui_print("| |");
ui_print("| by Tomatot- |");
ui_print("| |");
ui_print("| Credits: |");
ui_print("|-Primokorn for the script tutorial |");
ui_print("|-TKruzze for Zip Builder |");
ui_print("| |");
ui_print("|Optimized for OxygenOS 9.0.3 |");
ui_print("| |");
ui_print("+-------------------------------------+");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "mount", "/system");
delete_recursive(
"/system/reserve/OPForum",
"/system/reserve/OPNote",
"/system/app/AntHalService",
"/system/app/AutoRegistration",
"/system/app/BasicDreams",
"/system/app/BookmarkProvider",
"/system/app/BTtestmode",
"/system/app/BuiltInPrintService",
"/system/app/card",
"/system/app/DiracManager",
"/system/app/EngineeringMode",
"/system/app/EngSpecialTest",
"/system/app/LogKitSdService",
"/system/app/NFCTestMode",
"/system/app/oem_tcma",
"/system/app/OemAutoTestServer",
"/system/app/OEMLogKit",
"/system/app/OPBugReportLite",
"/system/app/OPLiveWallpaper",
"/system/app/OPSesAuthentication",
"/system/app/PartnerBookmarksProvider",
"/system/app/PhotosOnline",
"/system/app/PlayAutoInstallConfig",
"/system/app/QdcmFF",
"/system/app/RFTuner",
"/system/app/SensorTestTool",
"/system/app/SoterService",
"/system/app/Stk",
"/system/app/SeempService",
"/system/app/talkback",
"/system/app/uimremoteclient",
"/system/app/WallpaperBackup",
"/system/app/WapiCertManage",
"/system/app/WifiRfTestApk",
"/system/priv-app/DiracAudioControlService",
"/system/priv-app/GoogleFeedback",
"/system/priv-app/OPCellBroadcastReceiver",
"/system/priv-app/Tag",
"/system/app/BackupRestoreRemoteService",
"/system/app/Duo",
"/system/app/Music2",
"/system/priv-app/CallLogBackup",
"/system/priv-app/ManagedProvisioning",
"/system/priv-app/SharedStorageBackup",
"/system/priv-app/Turbo",
"/system/app/Chrome",
"/system/app/OPBackup",
"/system/app/OpSkin",
"/system/priv-app/CNEService",
"/system/priv-app/OPAod",
"/system/priv-app/OPFaceUnlock",
"/system/priv-app/ProxyHandler",
);
run_program("/sbin/busybox", "umount", "/data");
run_program("/sbin/busybox", "umount", "/system");
ui_print(" ");
ui_print("Done.");
ui_print(" ");
ui_print("Ready to reboot.");
ui_print(" ");
ui_print("Enjoy better battery life, more RAM and more privacy!");
ui_print(" ");
[OnePlus 6 & 6T Cross Device Development] ram4ufriends:
You have to remove the last comma "," after proxyhandler...
[OnePlus 6 & 6T Cross Device Development] karlospv94:
Worked like a charm, thanks!

---------- Post added at 06:39 PM ---------- Previous post was at 06:28 PM ----------

I have removed something that was the responsible of turning on the screen when receiving notifications. Anyone know what I removed accidentally and how can I restore it?

EDIT:

I think it is OPAod = ambient display. Can I simply dirty flash the full ROM again and then flash the zip without that program?