yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 & 6T Cross Device Development] Sk.vignesh:
Great script, Thanks. I edited extreme script myself and used it on OnePlus 7 its working fine... Now i am getting better battery SOT (nearly 9.30 hours on single full charge). Also device is cool and smoother then Stock OOS..

Still many OnePlus system apps were present, i dont know whether to remove it or not... Now i am okay with this...
[OnePlus 6 & 6T Cross Device Development] Harishwarrior:
Update the list with game center. This app is a useless piece of ****.
[OnePlus 6 & 6T Cross Device Development] fogame:
Is there an option to flash without having a custom recovery?
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
My script doesn't work with twrp 3.4. I'm trying to find a fix!
[OnePlus 6 & 6T Cross Device Development] Psk.It:
could be possibile to bring "stock" roms that comes with Pixel Esperienze?

so a next-step like "un-google" them?
[OnePlus 6 & 6T Cross Device Development] drpraveen:
I flashed lite version on latest twrp 3.4 and it is working fine
[OnePlus 6 & 6T Cross Device Development] fogame:
I ran the invisible script on 3.4. Worked just fine.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Weird, it's not the same path anymore. It has to be /system_root/system/ instead of /system/system. (Thanks to Mauronofrio for the tip)

A full line looks like that: "/system_root/system/app/AntHalService",

In OP you'll find a new version for Omni. :)

I don't have time to make a new OOS debloater so if it's not working, do the changes yourself. I don't want to upload a new version if I don't update newly apps that need to be removed. Not satisfying.
[OnePlus 6 & 6T Cross Device Development] Cele17:
So you will non update anymore? ;(
[OnePlus 6 & 6T Cross Device Development] MarcTremonti:
[MENTION=4637983]Tomatot-[/MENTION] or anybody else.

i also tried the script with the adjustments for OP5T.

zip packed and signed with mixplorer, but i'm always getting Error: 6 in TWRP.

here is the code:

ui_print("+-------------------------------------+");
ui_print("| |");
ui_print("| Tomatot Debloater invisible 4.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 Oxygen OS 10.3 |");
ui_print("| |");
ui_print("+-------------------------------------+");
run_program("/sbin/mount", "/system");
run_program("/sbin/mount", "/vendor");
run_program("/sbin/mount", "/data");
delete("/system/app/BookmarkProvider");
delete("/system/app/BTtestmode");
delete("/system/app/CtsShimPrebuilt");
delete("/system/app/EngineeringMode");
delete("/system/app/EngSpecialTest");
delete("/system/app/LogKitSdService");
delete("/system/app/NFCTestMode");
delete("/system/app/card");
delete("/system/app/OEMLogKit");
delete("/system/app/OPBugReportLite");
delete("/system/app/OPCommonLogTool");
delete("/system/app/OPPush");
delete("/system/app/PartnerBookmarksProvider");
delete("/system/app/PhotosOnline");
delete("/system/app/PlayAutoInstallConfig");
delete("/system/app/SensorTestTool");
delete("/system/app/SoterService");
delete("/system/app/GooglePay");
delete("/system/product/app/Drive");
delete("/system/product/app/Photos");
delete("/system/product/app/Duo");
delete("/system/product/app/Videos");
delete("/system/product/app/Youtube");
delete("/system/product/app/Music2",);
delete("/system/priv-app/CtsShimPrivPrebuilt");
delete("/system/product/app/uimremoteclient");
unmount("/system");
unmount("/vendor");
unmount("/data");
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(" ");

is there something wrong or any syntax mistakes? :confused:
[OnePlus 6 & 6T Cross Device Development] Pseudonym:
On Music2 there's a comma
[OnePlus 6 & 6T Cross Device Development] flash713:
Used your extreme script on OOS 10.3.4. Flashed using my current installed recovery which is mauranofrio's TWRP. (v33132) (the version just before the 3.4xxx) You're a life saver. Much thanks!!! :good:
[OnePlus 6 & 6T Cross Device Development] MarcTremonti:
Oh man, i'm blind. Thank you!
[OnePlus 6 & 6T Cross Device Development] Chadz88:
I flashed invisible 4.1 and I realized now that I can't display emoji and other languages like chinese or arabic, any way of solving this problem without reflash from scratch?
[OnePlus 6 & 6T Cross Device Development] Coktail:
Hello Guys,

If i use this script will all tracking from google and oneplus end? Is this an alternative to microG? I realize that microG isnt working on OnePlus 6. Did try all custom roms with signature spoofing support.

Thanks

Best Regards
[OnePlus 6 & 6T Cross Device Development] TENlll423:
Like the OP said on first page about Google "but as long as you use gapps you can't expect too much" meaning it can't get rid of all tracking...

Go to first page and read..

It's informative...?
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
OFC microG works perfectly on OP6. On Omnirom for example. You even have builds including microG available.
[OnePlus 6 & 6T Cross Device Development] Coktail:
Hi

What is OFC? You mean Nanodroid? I install nanodroid microg.zip on omnirom but not worked. Push notification tester give error say gsm xore not installed....

Regards
[OnePlus 6 & 6T Cross Device Development] lilbrat:
lol, this app is kicking my a**, what am I missing.. the invisible one worked fine but I try to mod the light and extreme as I used a few Google apps, mainly g pay and the calendar. I can mod them and they flash ok but nothing gets removed... I've tried everything listed on the op for trouble shoot , though I haven't disabled my magisk yet...

Basic info, op6t rooted , stock room and kernel lastest magisk and edxposed installed...
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
OFC = of course. Check my guide: https://xdaforums.com/oneplus-6/how-to/guide-microg-oneplus-6-source-ligthway-t3874469/
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
https://xdaforums.com/showpost.php?p=82951717&postcount=944

Try this. Otherwise make sure they don't remain as user apps only.
[OnePlus 6 & 6T Cross Device Development] lilbrat:
So it look like this?
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
yep
[OnePlus 6 & 6T Cross Device Development] lilbrat:
I am doing something wrong.... Bet and error 6 message in twrp.... Hmm
[OnePlus 6 & 6T Cross Device Development] nirogu325:
Yes you are. Error 6 only shows up when the user modified the script the wrong way. I see a line that says:

"/system_root/system/app/card",system_root

I suggest reviewing the whole script carefully.
[OnePlus 6 & 6T Cross Device Development] lilbrat:
Ok.. went through it from scratch, it flashes bit doesn't removed anything....
[OnePlus 6 & 6T Cross Device Development] Coktail:
Hi

Hello Tomatot,

i really did everything as your guide but it doesnt work. Slowly i think my oneplus 6 has allergy to microG:)

when i open microG Settings it doesnt ask me for permissions.

Regards

Coktail
[OnePlus 6 & 6T Cross Device Development] nirogu325:
Be sure to use TWRP 3.4.x-x versions. The /system_root/system/ only works there. For older versions it should read "/system/system/app/BasicDreams",. I haven't tested /system_root yet with TWRP 3.4 because OnePlus hasn't yet released a newer ROM. I'm only repeating what Tomatot said several posts ago. Otherwise backup your apps, flash the ROM from scratch and try again.
[OnePlus 6 & 6T Cross Device Development] °Washy:
Is there any way to check of its worked?
[OnePlus 6 & 6T Cross Device Development] nirogu325:
Check if your chosen apps vanished from the corresponding directories using a root explorer app.
[OnePlus 6 & 6T Cross Device Development] lilbrat:
They don't, their more like hidden, than removed.... As I did a fresh msmdownload trip to verify the scripts they still didn't work, then I did the and debloat thing with uninstall, they were removed from the home screen but when you look with a root explorer their still there.....
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
That doesn't make any sense. What did you do exactly?
[OnePlus 6 & 6T Cross Device Development] lilbrat:
Use various adb list posted throughout the various op thread mainly the on posted in the op 6 ,7 and 8 fourms as their basically all the same and in the 7 forums there a nice ref in GitHub.... Used system apps remover pro to keep a numbers track, started off with a stock rom count of 378 in the system.. with a clean flash, the lowest count I got 260 so called apps " uninstall" currently at 279.... So it verified that the apps were removed, yet when using root explorer and checking the apps location and folders they were still there....

The command to uninstall are posted in most of the threads... But it's pm uninstall --user 0 <packagename>..

Adb devices

Adb shell with the above command and package name ..
[OnePlus 6 & 6T Cross Device Development] nirogu325:
You deviated from this thread completely. You altered the script if you used those adb commands which just disable apps (and I know because I use them on an old Amazon tablet). Please stick to the instructions provided at the original post/script if you want to debloat.
[OnePlus 6 & 6T Cross Device Development] lilbrat:
Granted I deviated a bit and left out the adb in my earlier post... And if you check my last script I did as posted it flashes but nothing is removed..
[OnePlus 6 & 6T Cross Device Development] Coktail:
Hello, can i use the debloater on SyberiaRom with microG?

Thank you

Regards
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Yes, you can use the omni one, but you might want to edit it a bit depending on what you want.
[OnePlus 6 & 6T Cross Device Development] Cele17:
Hi dev

So, 4.1 OOS version works fine with twrp 3.4 and OOS 10.3.4? I read some posts here and i didn't understand if it works with OOS or not...
[OnePlus 6 & 6T Cross Device Development] fogame:
I ran the invisible one just fine.
[OnePlus 6 & 6T Cross Device Development] The Apostle:
The 4.1 scripts have worked perfectly for me all the way through 10.3.4. Not working on 10.3.5. Just letting everyone know my experience. Using the latest version of BlueSpark.
[OnePlus 6 & 6T Cross Device Development] nirogu325:
Use mauronofrio's latest TWRP or Black TWRP which is based on mauronofrio's source. I have a working script. If you're still looking for help, please post your TWRP version (3.3 or 3.4 based) and the script you are using. The script does work.
[OnePlus 6 & 6T Cross Device Development] The Apostle:
I'll try maronorios TWRP.

I stated which versions used, lol.

Latest BkueSpark (3.4.0 - version 9.115). As for the script, I tried both invisible and light 4.1..
[OnePlus 6 & 6T Cross Device Development] sschacko:
Can you send the link for black Twrp,seen in pixen Rom and Evolution. I tried a lot. But didn't find.
[OnePlus 6 & 6T Cross Device Development] nirogu325:
I see the problem. /system/system/ is being used and that's not compatible with the 3.4 based TWRPs. /system_root/system/ is the right one. The following may be tedious but will solve your problem. It requires you to modify the script.

1. Replace run_program("/sbin/mount", "/system"); with run_program("/sbin/mount", "/system_root");

2. Edit any entries so that it shows as the following example: "/system_root/system/app/BasicDreams". The key is adding _root after /system for each entry.

3. Save, flash and enjoy.

Extra tip: If you also want to delete the India partition in one go just add an extra line: delete("/data/india/india.img");

I added that one between the run_program commands and the debloat entries so that's why you see the ; right after.

Here.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Yeah, I'm going to upload 1.8.1, I had to change the script a little. Mount vendor and remove "/system" for the rftoolkit app.

Good to know for the daatastatusnotification, I'm going to remove it from 1.8.1 then! Thanks for your feedback
[OnePlus 6 & 6T Cross Device Development] Gr8man001:
Only 1.5 light works for me. 1.5 onwards (any version) makes Gmail force closed. I even tried the one you just did for me w/o Gmail but Gmail still force closed. It's weird. Thanks for trying to help. Since no one else is having any issue, it got to be something on my end. Keep up the good work.

Update: Fix was right in front of me and I did not see it. After clearing Google app and play services data, reboot, reinstalled Gmail. All working now with 1.8 extreme no gmail script. Thanks again for your help.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
So I've tried everything

I'm mounting /vendor

I'm trying to delete the app through /system/vendor

Through /vendor (as it's where it's showing in the recovery file explorer)

Unfortunately, the folder is deleted from the file manager in recovery but when I reboot it's still there... So for the moment I'll remove it. It might be related to telemetry so I'd recommend you to freeze the app.

1.8.1 out !

EDIT: I've flashed 1.8.1 on my device but I can't have access to my data usage. Is it working for you? It could be another app then.
[OnePlus 6 & 6T Cross Device Development] djrocks:
Hey can u share the Lineageos mail app link.. I googled but found that it's crashing for ppl.. Is everything working for u?

Also can u mention what r d privacy issues in Gmail.. Leaking data?
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
https://www.apkmirror.com/apk/linea...1-2-release/email-7-1-2-android-apk-download/

This .apk is working perfectly for me.

I didn't have any specific issue with gmail, it's just that I want as less Google apps as possible on my phone. And also using another email app allows me to keep a gmail account without having to sign in on the whole device (in settings/accounts).
[OnePlus 6 & 6T Cross Device Development] djrocks:
Agreed.. Life is completely dependant on Google these days.. Need to slowly migrate to other apps
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Yep... I've managed to remove all of them

Play store => yalp store (anonymous account)

Gmail => email LOS + protonmail

Keep => standardnotes

chrome => kiwi with all privacy settings on (not ideal but the app is so good)

Music => local music, phonograph

Messages => QKSms

Google app => useless

Google search = startpage

gdrive => nextcloud

Photos => nextcloud

etc.

However,

Maps is a tough one

Same for YT

Did the email LOS work for you as well?
[OnePlus 6 & 6T Cross Device Development] nimrodsv:
In order to make Gmail to work:

1. Uninstall gmail from Titanium

2. Reinstall from google store
[OnePlus 6 & 6T Cross Device Development] djrocks:
I tried but it says invalid password for my Gmail account.. U configured it manually?

---------- Post added at 02:27 PM ---------- Previous post was at 02:25 PM ----------

BTW your open-source app list looks promising.. Will try one by one.. I think apart from maps, even photos is difficult to replace
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Nope, it was fully automatic. It might be because the app isn't considered "safe enough". You'll get an email, check on your browser or on the gmail app, and you need to click on a link to change settings to allow these kind of apps to use your email account. Then the email app should work!
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
So I've literally spend hours finding why I couldn't see data usage. I've tried everything, tried many of my scripts, manually freezing all different apps, I felt like I just tried everything possible in the world.

And...

To see data usage, you need OPSafe!!! Not datastatusnotification!

Big update coming soon... :)
[OnePlus 6 & 6T Cross Device Development] null0seven:
Mate, you never stop... Thank you.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Thank you for your support.

____

V2.0 Is here :D

-Completely resorted the apps so it makes more sense. I have a little more hindsight and for most apps I actually know what they do and if it's dangerous to remove them or not. Hence, the extreme script hasn't changed but the light is significantly different. It will remove more useless apps but not remove apps that most users use. A bit smarter I'd say.

-And I would like to introduce you the invisible script, the ones who really can't deal with making sure the script works for them, they just want to make their phone lighter. Easy peasy, hassle free.

-To see how I resorted apps, please check "List of systems apps SORTED & EXPLAINED v2.0.txt" or just have a look at the end of this post. :)

Let me know what you think of the new way I sort apps. If you don't like it I can revert to the old style, everything is saved on my computer!

Enjoy.
[OnePlus 6 & 6T Cross Device Development] zyvex_14:
You are definitively incredible!

Well to be honest, for whatsover reason, I forgot to re-add OPSafe (+ few others actually) in my list and that is why I thought datastatusnofication app was the guilty one.

My apologize for that.

And big thanks, as usual
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
1) good choice! :)

2) Yep, easy!

3) with light theme it should work yes, OPskin is in the extreme script only.

4) cool! Thanks for the feedback
[OnePlus 6 & 6T Cross Device Development] zyvex_14:
I didn't have time yet to run your v2 extrem script Tomato but I opened it and have 2 remarks:

- I didn't find etc/usb_drivers.iso, you forgot it I think,

- I also assume this script won't work as after the SetupWizard app, you have a "," at the end of the line.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Oh yeah, indeed, I was tired... Thanks!
[OnePlus 6 & 6T Cross Device Development] zyvex_14:
OK so I reinstalled everything and then use your script 2.0.1 (extrem) with 2 modifications:

- I remove OPFaceUnlock app from your list because I use this function to unlock my phone,

- I add LiveWallpapersPicker app, I don't need it and don't know what is the purpose of it since I can still change my wallpaper :).

Anyway, data usage is back!

So I confirm OPsafe app was the concerned one :good:
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
I guess it's to pick a LIVE wallpaper? It's true I could add it, I never really thought about it.

Thanks for you feedback again.
[OnePlus 6 & 6T Cross Device Development] zyvex_14:
One point, could you check also on your side if OPFileManager was removed?

On my side, I still have it and I don't understand why... Seems tthat the wirtting is ok and previously it was working...

I tried twice and still here :(

EDIT:

I got it, no M but a m... You need an update :)

EDIT 2:

Hummm, I am facing to a new issue... I can't open any email, my email apps keep crashing.

I can open an email app (whatsoever, gmail/outlook/other), I can get notification, but when I open an email to read it, the app is crashing...

Will have to investigate...
[OnePlus 6 & 6T Cross Device Development] sschacko:
Thank You So Much. Really appreciated Your Fast reply. Thanks again
[OnePlus 6 & 6T Cross Device Development] rdlr19:
[MENTION=4637983]Tomatot-[/MENTION] 2 questions

1 Does this script performs the same function as using adb shell pm uninstall –k ––user 0 package name?

2 ive read your script and the apps that include in each category and i noticed couldnt find pm uninstall -k --user 0 net.oneplus.odm, is this one still collecting data in oneplus devices?

hope 2 hear your response
[OnePlus 6 & 6T Cross Device Development] ronaldyeo:
Thanks again for this! This is really helpful, and did just the trick!
[OnePlus 6 & 6T Cross Device Development] The Apostle:
Do you also need to change unmount("/system"); to reflect unmount("/system_root"); ? Could you check my edits for me? Just don't want to eff anything up. Very much appreciated, sir!

https://mega.nz/file/upJ1GSAD#HW7qiT0vaI0-TrAD74BRAbAMpiwbHwLBBp66XDOPyH0
[OnePlus 6 & 6T Cross Device Development] nirogu325:
Your script is fine but know that after running the delete("/data/india/india.img") command, the rest of the commands about india.img are redundant so I would clean up a bit if I were you, but that's me. I know this because the rest of the india files mentioned in your script are 0kb in my system. If I were to nitpick then I'd say you forgot to edit line #94 "/system/system/india"); to "/system_root/system/india");. You're good to go.

---------- Post added at 03:32 PM ---------- Previous post was at 03:28 PM ----------

I'm not him but the answer to question #1 is no. For #2, I'm afraid OOS has changed over the years. Searching using Titanium Backup, I don't see that file anywhere in my debloated system.
[OnePlus 6 & 6T Cross Device Development] The Apostle:
Much appreciated... I will update and run.
[OnePlus 6 & 6T Cross Device Development] The Apostle:
Hmmmmm

Received an error message "invalid zip file format". Not sure what I borked.
[OnePlus 6 & 6T Cross Device Development] nirogu325:
Edit your script name. You added something like -edit to the name.
[OnePlus 6 & 6T Cross Device Development] The Apostle:
Thanks for all your help. Now I am getting Update Process ended with Error: 6. Do I need to add a semicolon after delete("/data/india/india.img")? If that's not the case, I will probably just get rid of that line and not worry about it.
[OnePlus 6 & 6T Cross Device Development] nirogu325:
You only get an error like that when something is missing like a semicolon. Let me re-check the script you uploaded earlier.

Edit: Line 94 is your problem. It has a semicolon instead of a coma but if I were you I'd delete all the india.img commands except the delete one and move the delete one between run program blah blah /data and delete_recursive.
[OnePlus 6 & 6T Cross Device Development] The Apostle:
Thank your for your help earlier. I'm going to give up for the day. I made that last edit, error 6 went away but the invalid zip error came back. lmao.
[OnePlus 6 & 6T Cross Device Development] nirogu325:
Re-upload what you've done whenever you can. Make sure the script is named what it was originally: updater-script.
[OnePlus 6 & 6T Cross Device Development] The Apostle:
https://mega.nz/file/ikgS3ILZ#QK2FTevQ7SZ9jUw38XUQ9zcb5TLDl1l1KmHp8AQtbrc
[OnePlus 6 & 6T Cross Device Development] nirogu325:
Here is what's bad:

1. No semicolon following the delete("/data/india/india.img") command.

2. Line #93 should not have a coma because it's the last item to be debloated.

3. Create line #94 to just contain ); to close/finalize the delete_recursive( command at the beginning.
[OnePlus 6 & 6T Cross Device Development] The Apostle:
Your help has been amazing and it this point I feel like I am just being ignorant. I've never really edited scripts before so this part of flashing is new to me. Feel like a n00b after 9 years of rooting and roming every device. lol.

I made those last edits and also saw the missing u at the beginning of line 105 which I fixed. I am still getting the Invalid format error. I also switched to 3.4.0 TWRP black just to test and I get the same error.

Since we edited the lines with system to system_root, do we also need to change vendor and data? :confused:

https://mega.nz/file/T5oylC5R#lYkmCYX7rPWMZaZyg_0K2Mtt5mWEvuxhPWFgOlEz0vw
[OnePlus 6 & 6T Cross Device Development] nirogu325:
Line #95 is supposed to be unmount("/system");

I never suggested to edit the unmount lines in my original post.

Edit: This was also new to me and lots of trial and error happened along the way. It was [MENTION=4637983]Tomatot-[/MENTION] who guided me and the person who should really be thanked.
[OnePlus 6 & 6T Cross Device Development] The Apostle:
That's my fault for assuming. Your original post said to change the entries with system to system_root, so I took that as every line. even the ones outside of the recursive section.
[OnePlus 6 & 6T Cross Device Development] nirogu325:
Try it out. It should work. I did run a comparison between my customized script and yours. Saw nothing else.
[OnePlus 6 & 6T Cross Device Development] The Apostle:
I did and no workie. Could the updater-script file just be corrupt from the earlier name changes?
[OnePlus 6 & 6T Cross Device Development] nirogu325:
It could be what you're using to edit the script.