yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 & 6T Cross Device Development] Gytole:
Me too, still no simskis.

Also, I used SD maid to explore my phone and went under system, system, app and did not see either two of those files you deleted. Unless I am just under the wrong folder. But I CHECKED BEFORE i flashed the "fix" zip.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
I mean I deleted these two folders from the script, so you should see them. Did you first dirty flash OOS?

If you want to help me to fix it, please add @ tomatot on telegram
[OnePlus 6 & 6T Cross Device Development] Riddle5:
yes! I flashed dirty again, I installed it and I have the same trouble
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Would you mind guys trying the invisible script and see if it still break things?
[OnePlus 6 & 6T Cross Device Development] geeksquad2:
Big thanks for providing this list!

It was very helpful in determining what apps could be frozen in TB.

I'm on a 6t oos 10.3.0.
[OnePlus 6 & 6T Cross Device Development] TENlll423:
I flashed invisible script 4.0 on 10.3.0.... at&t usa.

Everything seems good..
[OnePlus 6 & 6T Cross Device Development] Ryano89:
Everything seems fine on invisible
[OnePlus 6 & 6T Cross Device Development] Gytole:
Just tried it and Data works fine on invisible.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Tomatot-Debloater-OOS-Light-4.0.2 works fine 99%

If you're willing edgy, you can the test one and let me know if it works.

Basically, someonet tried 4.0.2 with 4 apps removed and it works fine.

The test, there are only 2 apps removed from the script. This way I'll be able which exact app is the culprit.
[OnePlus 6 & 6T Cross Device Development] Gytole:
I tried the test and it works.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
All right, so one last to try to spot the right one...
[OnePlus 6 & 6T Cross Device Development] Gytole:
This one broke the sim lol
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Changelog

Tomatot Debloater 4.1 for OOS

-REMOVED FROM THE SCRIPT:

Light:

TeleService (necessary for some operators)

Extreme:

SdCardService (necessary for file managers)

ModuleMetadataGooglePrebuilt (necesary for permissions)

___

Please let me know if the india img is deleted as well.
[OnePlus 6 & 6T Cross Device Development] Ryano89:
Working great, thank you sir. I can't answer about india.img because I had already deleted it before I flashed your script
[OnePlus 6 & 6T Cross Device Development] Mervingio:
system/system/app/EngineeringMode

This is necessary to choose VoLTE and few things VoWiFi too if I remember correctly
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
No, I'm pretty sure it's not related. It's simply yo test components of your device. Not very useful unless you're facing hardware issues.
[OnePlus 6 & 6T Cross Device Development] Mervingio:
Seems OP removed but I remember on Pie need this app for these things

https://xdaforums.com/oneplus-6t/how-to/guide-boost-cell-signal-to-max-force-ca-t3905939/page13
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Well, edit my script I guess. Most people don't need that.
[OnePlus 6 & 6T Cross Device Development] foomanjackel:
Thanks for the update Tomatot! Happy Holidays!
[OnePlus 6 & 6T Cross Device Development] Mervingio:
Well you know in Android world sometimes Thermonuclear wars and Cataclysms sometimes happen :good:
[OnePlus 6 & 6T Cross Device Development] udaykumar414:
Volte is working flawlessly

Hello Indian Users,

I just flashed the 4.1 Lite version on OOS 10.3.0 and the data and Volte is working flawlessly!

Thank you [MENTION=1737862]tomatot[/MENTION]
[OnePlus 6 & 6T Cross Device Development] Rinku221:
Hi thanks for the mod..it is really helpful..

But there are 2 problem with extreme mod

1.)its breaks vpn connection(

cannot connect VPN with any app​

),

2.)cant install apk files with other than deafult file manager.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Can you dirty flash your ROM and confirm it works fine with the light script?
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Thank you for your feedback, I'll look into it.

Thank you for trying the light mode BTW, it gives me way less apps to review now.

Edit: I can install the apps without any issue, weird.

Edit2: are your apps linked to your Google account? To your OnePlus account?

In general do you use OnePlus features like OnePlus backup or something?

Here are the apps that the extreme script includes and not the light one:

"/system/system/reserve/OPIconpackCircle",
"/system/system/reserve/OPIconpackOnePlus",
"/system/system/reserve/OPIconpackSquare",
"/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",
"/system/system/reserve/OPFileManager",
"/system/system/reserve/OPNote",
"/system/system/reserve/SoundRecorder",
"/system/system/app/Account",
"/system/system/app/GoogleContactsSyncAdapter",
"/system/system/app/NVBackupUI",
"/system/system/app/OPBackup",
"/system/system/app/OPSafe",
"/system/system/app/Videos",
"/system/system/priv-app/BackupRestoreConfirmation",
"/system/system/priv-app/GoogleRestore",
"/system/system/priv-app/GoogleBackupTransport",
"/system/system/priv-app/OPAppLocker",
"/system/system/priv-app/OPDeviceManager",
"/system/system/priv-app/OPDeviceManagerProvider",
"/system/system/priv-app/OPFaceUnlock",
"/system/system/priv-app/Turbo

It could be these two:

"/system/system/priv-app/OPDeviceManager",

"/system/system/priv-app/OPDeviceManagerProvider",

If I upload a new script would you mind trying it again?
[OnePlus 6 & 6T Cross Device Development] qbanlinxx:
I think it might be that last apk- Turbo I didn't have that frozen before. On hindsight, it could also be that I had been running that build for a few days. I'll try tomorrow night without Turbo, and your new script and let you know
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
If you want to make a quick test, freeze "device health services" (it's turbo) and see if your apps still work or not.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
I think I've found a few other packages that are completely useless, including some Qualcomm that I didn't dare to touch before because I thought it was essential to make the hardware work. i'll try to push a new update tomorrow if I have time :)
[OnePlus 6 & 6T Cross Device Development] Gr8man001:
I flashed extreme 1.5 version. All except Gmail app is not working. Uninstalling and reinstalling did not help either. Gmail force closes. Thanks for all your hard work.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Thank you for feedback. I guess you mean "all except gmail is working", otherwise it's very worrying.

Hum... it's weird. I don't have any issue with gmail on my side. Can you try to clear storage, uninstall, reboot and reinstall? If there are more reports of this behavior, I'll remove the app from the extreme script.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
v1.6 is finally up!!!!

This time I controlled myself and updated everything before telling you guys about the new update. :p

-Added more apps in both scripts

-Now the light script includes this category " #APPS THAT CAN BE FOUND ON PLAY STORE" as you can reinstall them very easily (and you won't even loose them if you updated them once).

-Expect more privacy as I've deleted more telemetry from both OP and Qualcomm.

-Documentation updated :)

-Here is the list

"/system/system/app/GoogleContactsSyncAdapter",
"/system/system/app/OpSkin",
"/system/system/app/HTMLViewer",
"/system/system/app/uimremoteclient",
"/system/system/priv-app/CallLogBackup",
"/system/system/priv-app/CNEService",
"/system/system/priv-app/OPAod",
"/system/system/priv-app/SharedStorageBackup",

EDIT: for this version, I've uploaded two extreme scripts:

1) One that is compatible with a clean flash

2) the second one, as its title says, removes as well the packages necessary when you setup your phone for the first time.

From v1.7, I will only upload the second one, since it's just more simple to flash one package once instead of flashing one before the setup AND after the setup.

So far, I'm having really good results with battery life and it feels good to have more privacy :)

Give me as much feedback as possible as some weird behaviors have been reported.
[OnePlus 6 & 6T Cross Device Development] Gr8man001:
Yes, that's what I meant. Having issues with Gmail Only. I already cleared storage, uninstalled and reinstalled, still fc'd. I also tried another email client K-9, same behavior. It's no big deal. I can try to restore data from nandroid back up. Thanks for all your hard work.

Update: Had to restore "System" from Nandroid back up, reflashed Magisk, back in business. I can confirm flashing light v1.5 works like a charm.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Just dirty flash your current setup and the flash the light script to see if it fixes things. If it breaks your other email apps that's really weird, there's definitely an app I could remove from the script.
[OnePlus 6 & 6T Cross Device Development] Cj719:
Can I flash this on my OnePlus 6T?
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Yeah sure, you probably have 99% the same system apps and as I explained in OP, worse scenario the script will ignore the apps that don't exist.

The only "risk" is that there are new apps that my script won't know, or apps with a slightly different name so my script don't delete them either.

If you want something very extreme, wait for v1.7, I'm going to upload it in a few minutes. Everything seems to work but I'm not 100% that the phone will have a perfect and normal behavior. :)
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
New experimental build!

Again, some feedbak would be welcome as it will make the script better for everyone.

Note: it seems that somehow some apps rely on some packages for no reasons and so they break once these packages are removed. For example, shazam wasn't working for me anymore, but reinstalling it with a reboot in between fixed things. So I think if backup the app now and restore it later on, it will be fine. If it wasn't installed before, it should be fine as well.

I consider my script OK as long as there's a way to fix the app by just reinstalling it.

EDIT: uploaded v1.7.1 which fixes a tiny bug with battery stats. Now the script should be perfect :)
[OnePlus 6 & 6T Cross Device Development] swords90:
Thanks for your work.
[OnePlus 6 & 6T Cross Device Development] gborgert:
Just reporting, if using substratum would have to keep this item:

/system/system/app/OpSkin

Depending on the theme may be necessary.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Thank you for your report. I will add this piece of information on first post so people can see it.
[OnePlus 6 & 6T Cross Device Development] zyvex_14:
I tested your latest version and so far so good for me.

But:

- I remove OPFaceUnlock from your list as I use this fonction,

- I don't use Substratum so I keep OpSkin in the list of apps to be removed.

Thanks for your update (and your explanations on some apps) :)
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
v1.8

-Only the extreme script is updated

-Added a few more apps, including OPSes which sens telemetry I think. I couldn't find anything explaining exactly what it does but I've been running my script for some time now and 0 issue.

-Here is the list:

"/system/system/app/OPSesAuthentication",
"/system/system/app/SeempService",
"/system/vendor/app/Rftoolkit",

-Yes, changelogs are shorter and shorter :p

-However, 92 apps included now!
[OnePlus 6 & 6T Cross Device Development] Gr8man001:
Do you use Gmail & is it working fine for you? Except for v1. 5 light, every other version I tried, Gmail would keep fc'ing. I tried uninstalling, clear cache, reinstalling Gmail, no go. Same behavior with other email apps such as K9 mail app. I would like to try one of the extreme versions, if I could get Gmail or K9 mail work. I am not sure what am I doing wrong to break email client. I am on stable 9.0.2 and have Blue twrp 9.86 installed. Thanks for your work.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
I was using gmail until yesterday but I moved to the lineage mail app for privacy reasons. I'd recommend you to give it a try btw, it looks much nicer than any other open source email client (like k9 or fairmail).

So yes, no issues for me. Since the beginning, the only app that crashed for me was Shazam and reinstalling it with a reboot in between fixed things.

Nobody else reported issues with gmail so it's a weird behavior you're having. But you're saying that v1.5 light works but not v1.6? If that's the case, I can check easily what changed from one version to the other.

EDIT: So basically what changed is that I added gmail to the light script. Check this script (attachment) and let me know how it goes. It's v1.8 but without gmail.

Reboot to recovery

Flash OOS

Flash TWRP

reboot to recovery

Flash Magisk

Flask your kernel (?)

Flash my script

and give me feeback :)
[OnePlus 6 & 6T Cross Device Development] zyvex_14:
v1.8 tested and ok.

But I removed from your list the app "datastatusnotification" (present in previous revision) as I like to have an eye on the data usage by SIMcard, which was not the case anymore if the app was removed.

Edit:

"Rftoolkit" app doesn't want to be removed, don't know the reason why...

Does it work for you?
[OnePlus 6 & 6T Cross Device Development] Rinku221:
Okay thanks i will do that..
[OnePlus 6 & 6T Cross Device Development] Mervingio:
Another thing is some apps with A10 need the “default” file manager (OOS not the Google Files) to access folders, music, etc (due the protected partition now Thanks to Google) example of one is PowerAmp and the most of Music Apps I learn this after hours of 20 flashes and ask the Dev of PowerAmp
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
So you think I need to NOT delete these two entries:

"/system/system/priv-app/OPDeviceManager",

"/system/system/priv-app/OPDeviceManagerProvider",

Thanks for reporting btw.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Try any of them AFTER dirty flashing OOS.

It should fix all your issues.

Please let me know. Thanks
[OnePlus 6 & 6T Cross Device Development] Mervingio:
Is this file
[OnePlus 6 & 6T Cross Device Development] Mervingio:
But for me the only thing was NOT DELETE the OP stock file manager
[OnePlus 6 & 6T Cross Device Development] :
Actually. You can delete those Files. You should not deleted GoogleDocumentsUI
[OnePlus 6 & 6T Cross Device Development] Rinku221:
For a light script vpn is working fine but still i am not able to install any apk from other file manager e.g es file explorer

Thanks i will try your new script..

Edit(new script): vpn is working fine but the issue with apk installation is not fixed yet,apks are only installing with OnePlus file manager...again thanks for the help

I am using es file explorer
[OnePlus 6 & 6T Cross Device Development] foomanjackel:
I have also had the issue of not being able to install apk's with any file manager (including root browser, which is what I normally use). I have found that CX File Explorer works fine, I don't know why, but it works perfectly for me.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
With the extreme one?
[OnePlus 6 & 6T Cross Device Development] foomanjackel:
Sorry no, I am using your light script. But the apk issue was there before using the script. I have xXx installed also, not sure if it started there or if it was like that on pure stock as well?
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
I will have a look after Christmas. It would be good if people could tell me if this normally works with stock ROM and if it only doesn't work with my script, or not.
[OnePlus 6 & 6T Cross Device Development] Mervingio:
yes for some reason PowerAmp again can`t enable internal storage so in the end no will delete this too :good:
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Sorry I don't understand. So was it useful to not delete the two folders I mentioned earlier?
[OnePlus 6 & 6T Cross Device Development] Rinku221:
Yes it is working fine with stock os.
[OnePlus 6 & 6T Cross Device Development] Mervingio:
No I mean this two not be deleted
[OnePlus 6 & 6T Cross Device Development] MtG92:
I've made some small changes to the Light zip, however I keep getting "Error 6" on twrp. I've tried the steps on OP and found a handful of posts searching the thread, but still can't figure out why I'm getting the error.

I've attached the file, if anyone would be kind enough to have a look just in case I've missed something? Thanks.
[OnePlus 6 & 6T Cross Device Development] TENlll423:
Maybe you have to re-sign the zip when your done changing it..
[OnePlus 6 & 6T Cross Device Development] ratelutz:
Check line 100 and 101

Looks suspicious to me
[OnePlus 6 & 6T Cross Device Development] bojiokia:
Remove line 100 ~ 111.

---------- Post added at 09:09 PM ---------- Previous post was at 09:04 PM ----------

@tomatot-

Just to share if you might want to add the following:

#-------Mount File System Start-------

run_program("/sbin/mount", "/system");

run_program("/sbin/busybox", "mount", "-t", "ext4", "/data/reserve/reserve.img", "/system/system/reserve", "-o", "loop,rw");

#Mount this and remove selective app. Instead of deleting India.img

run_program("/sbin/busybox", "mount", "-t", "ext4", "/data/india/india.img", "/system/system/india", "-o", "loop,rw");

run_program("/sbin/mount", "/vendor");

run_program("/sbin/mount", "/data");

#-------Mount File System End-------

# -------Remove RESERVE FOLDER------

# Remove OPCard

delete_recursive("/system/system/reserve/card");

# Remove OPBackupRestore

delete_recursive("/system/system/reserve/OPBackupRestore");

# Remove OPNote

delete_recursive("/system/system/reserve/OPNote");

# Remove OPWeather

delete_recursive("/system/system/reserve/Weather");

# Remove Sound Recorder

delete_recursive("/system/system/reserve/SoundRecorder");

#Remove Community

delete_recursive("/system/system/reserve/OPForum");

#Remove OP Icon Pack

delete_recursive("/system/system/reserve/OPIconpackCircle");

delete_recursive("/system/system/reserve/OPIconpackOnePlus");

delete_recursive("/system/system/reserve/OPIconpackSquare");

#Remove OP Wallpaper Pack

delete_recursive("/system/system/reserve/OPWallpaperResources");

#Remove OP Widget

delete_recursive("/system/system/reserve/OPWidget");

#Remove OP Font

delete_recursive("/system/system/reserve/fonts");
[OnePlus 6 & 6T Cross Device Development] MtG92:
Thank everyone for the help. It turns out, for some bizarre reason, lines 100-111 wouldn't delete permanently even if I removed them (other edits would stick but not this one). What I did was create a new file, copy paste the code and zip it again. Worked fine this time. Thanks again!
[OnePlus 6 & 6T Cross Device Development] jexsuzon:
I deleted OPfile manager but not the file app one and my poweramp still can access my storage.
[OnePlus 6 & 6T Cross Device Development] Mervingio:
Test same so for precaution may not be deleted in my case
[OnePlus 6 & 6T Cross Device Development] :
For those who want to debloat systemlessly, I created an import-debloat.txt file based on this debloater. You can import this file on Debloat (Terminal Emulator) Magisk module. Check it out here https://pastebin.com/7R4MDwgR
[OnePlus 6 & 6T Cross Device Development] SREEPRAJAY:
Can you please explain how to work with this file?

Thanks in advance
[OnePlus 6 & 6T Cross Device Development] ratelutz:
Use it as import file
[OnePlus 6 & 6T Cross Device Development] fogame:
Which version is this based off of? Invisible, light, extreme? I'm assuming invisible but wanted to check.
[OnePlus 6 & 6T Cross Device Development] :
It's based on light. However I removed a few entries related to backup and restore since I personally need them. I also added Contacts, Clock, and Calculator since I use an alternative to those apps.
[OnePlus 6 & 6T Cross Device Development] edoardotavecchio:
Have you tried It? Terminal Debloater gives me an invalid file error.

EDIT: Solved. I've created an import-debloat file from debloater itself and then filled that file with your entries.
[OnePlus 6 & 6T Cross Device Development] SREEPRAJAY:
Kindly check your PM
[OnePlus 6 & 6T Cross Device Development] :
Anyone know what these apps are and wether they can be removed. Especially the First Two? They are always running in the Background according to Servicely.
[OnePlus 6 & 6T Cross Device Development] neinfricatu:
First is digital certificate, third has Qualcomm in it so what do you think, is it safe to remove it?
[OnePlus 6 & 6T Cross Device Development] :
Nah. I'm only curious about the First Two
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
https://www.qualcomm.com/news/onq/2...nging-smarts-3g4g-wi-fi-seamless-interworking

http://wiki.cacert.org/FAQ/AboutUs

The first one isn't necessary but it doesn't seem harmful either.

I'm not sure how important is the second one, you could probably delete it but it shouldn't harm the device either.
[OnePlus 6 & 6T Cross Device Development] :
Thanks for the answer. I'll try removing the CA Cert App. CNE seems useful.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
I've checked the apps I delete and I don't see which one could be the faulty. Can you please try, without XXX and without one of my script flashed, the invisible one and report me if it works or not. So at least I'd know if if it's one of the apps in the invisible list or the light one.
[OnePlus 6 & 6T Cross Device Development] mj084:
[MENTION=4637983]Tomatot-[/MENTION]

You wrote in OP:

Are there any more specific infos how to "flash" it with Magisk?
[OnePlus 6 & 6T Cross Device Development] Rinku221:
Thank for the reply I am not bothered with other file managers right now because I can install any apk with one plus file manager but another problem that I am facing is also mentioned in the above-threads "can't mount the storage" error in power amp. i am not able to play any song in poweramp
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Like any other module, you can install it via Magisk Manager. It shouldn't be necessary though.

It sounds like issues could be linked. Can you try the invisible script and see if it helps (make sure to dirty flash OOS first)
[OnePlus 6 & 6T Cross Device Development] Flaxe:
Just open Magisk, go to Download and search for Busybox.
[OnePlus 6 & 6T Cross Device Development] mj084:
Come on - already did this - the error is another one..
[OnePlus 6 & 6T Cross Device Development] bojiokia:
In the first place you are not being more specific in your issue. Maybe share more on your issues, so we can tackle down the issue together.

Are you referring all applications you can't remove? Partial applications?

And yes, this is not a magical module. You can flash the script in twrp.

Share with us your TWRP information, by which developer and which version? What rom? Oos? Which phone model?
[OnePlus 6 & 6T Cross Device Development] :
Anyone know what OPSes is? Also what are those QTI apps.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Safe to delete.
[OnePlus 6 & 6T Cross Device Development] mj084:
I wrote the issue above - Magisk said:

So now my question: how do I flash the script with Magisk (Busybox) - like written in OP...

I'm using the OP7T (HD1900) 256GB with latest EU firmware - there is no fully working TWRP yet :/

I want to debloat some apps - removing or replacing it with 0KB files through a magisk module (like CleanDroid or xXx - cause this debloat is reversible;)

But mounting points for "product" path under system is different on the OP7T, so xXx and CleanDroid aren't working as expected - so that's the reason to try this Deblaoter...

https://xdaforums.com/showpost.php?p=81332451&postcount=3137
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
My script only works with twrp, sorry
[OnePlus 6 & 6T Cross Device Development] :
You talking about OPSes or the Qti Apps. Also any idea what they do? Thanks.