yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 & 6T Cross Device Development] The Apostle:
I am using notepad++.

::EDIT::: I also tried the most recent zip that [MENTION=4133204]lilbrat[/MENTION] uploaded. It flashes but doesn't remove anything. I can confirm I am using a version of TWRP that is 3.4.0.
[OnePlus 6 & 6T Cross Device Development] nirogu325:
I use Notepad++ on my PC. Did you try re-downloading the script and just moving the edited updater-script?
[OnePlus 6 & 6T Cross Device Development] lilbrat:
Hi, now I didn't modify the beginning of the script as it wasn't mentioned when I was messing with it... So look at the ..

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

On mine.
[OnePlus 6 & 6T Cross Device Development] The Apostle:
I did try that yesterday.

Thanks, gents, especially [MENTION=3059141]nirogu325[/MENTION] for all the extra assistance. Also, huge thanks to [MENTION=1737862]tomatot[/MENTION] for building this initially and helping everyone throughout the OOS updates. At this point I am giving up. LOL. I noticed [MENTION=4133204]lilbrat[/MENTION] zip is missing the RSA file. And for whatever reason, at this point I couldn't get the zip to build when I started from scratch.
[OnePlus 6 & 6T Cross Device Development] nirogu325:
This caught my attention. What tools are you using?

Edit: I use a PC to extract the updater-script using 7Zip and then I edit it using Notepad++. I edit whatever it is, save it and then use 7Zip to open up the original zip, navigate to the right folder, drag and drop the edited file to overwrite it. That's all I do.
[OnePlus 6 & 6T Cross Device Development] The Apostle:
BOOOOOM! That effing worked. Not sure why I kept trying to unzip, rezip, blah blah instead of drag and drop. I will upload later if anyone wants to use the file.
[OnePlus 6 & 6T Cross Device Development] lilbrat:
I'm interested....
[OnePlus 6 & 6T Cross Device Development] The Apostle:
https://mega.nz/file/TlJQHa7Y#eueA1LlehYvhkwd5a5FUUZNcEWgkjwAEDxTvtQz411w
[OnePlus 6 & 6T Cross Device Development] nirogu325:
Lol no wonder so many errors. I was puzzled by your situation. Glad you're back on track.
[OnePlus 6 & 6T Cross Device Development] bryanyee:
The issue is with zip incompatibilities between windows and linux (android), so an easier way to do so would be to unzip and zip on your phone itself. The software used to edit the updater-script does not matter as it is just a simple text file (without a file extension), and can also be edited on your phone to make things easier. Dragging & dropping on 7zip works as it retains the original zip format. Also, it should be unmount("/system_root"); but that does not really matter if you're not flashing anything after that zip, plus twrp 3.4 has an auto unmount function after each flash.
[OnePlus 6 & 6T Cross Device Development] lilbrat:
post deleted..
[OnePlus 6 & 6T Cross Device Development] Mervingio:
What apps this can blow?
[OnePlus 6 & 6T Cross Device Development] Shyciii:
If mount system_root, then (and the end) umont system_root not system.
[OnePlus 6 & 6T Cross Device Development] The Apostle:
updated to reflect unmount("/system_root")

https://mega.nz/file/ugoTmS5R#FL1xcBOnqtspZeiaJXy05eNTjBfqottKxe4IgUAgVxE
[OnePlus 6 & 6T Cross Device Development] solideogloria07:
I installed this via twrp. Then my phone crashed and had a "qualcomm error" upon restarting the phone. I am currently on oxygen 10.3.5
[OnePlus 6 & 6T Cross Device Development] lilbrat:
You might want to give a bit more info as "I installed via twrp." doesn't say much.. like which version, one from the Op, one of the newer ones.. invisible, light or extreme.... See where this is going...
[OnePlus 6 & 6T Cross Device Development] Choritrowhin:
I have flashed through twrp but nothing has changed..

I have magisk rooted and radioactive kernel used...

Is that okay?..
[OnePlus 6 & 6T Cross Device Development] lilbrat:
See my above post... If you used the OP versions they do not work with the updated version of the OS...look back a few pages as The Apostle, has posted one version he has updated..the information of how to update it has been posted over the last few pages...
[OnePlus 6 & 6T Cross Device Development] solideogloria07:
What apps are safe to uninstall after installing?

Apps appeared after installing the recent zip file updated above by The Apostle.

The apps that appeared are:

Android auto

Android accessibility suite

Device Health Services

Google play services for AR

Google text-to-speech engine

OnePlus Account
[OnePlus 6 & 6T Cross Device Development] NLhardcore:
Will this script be updated for new version of oxygen 10.3.6 ?
[OnePlus 6 & 6T Cross Device Development] lilbrat:
Short answer..no
[OnePlus 6 & 6T Cross Device Development] qorrymarzuki:
I have installed the invisible on OOS 10.3.6, but it doesnt remove any apps listed on invisible 4.1. I am using mauronofiro's TWRP 3.4. Is there anything I can do so it removes the app listed?
[OnePlus 6 & 6T Cross Device Development] NLhardcore:
There are 2 ways that i van think of 1. is adb Shell with a desktop or 2. with the magisk module debloader (terminal emolator)

But remember if you remove the wrong app you wil het bootloop or worse !
[OnePlus 6 & 6T Cross Device Development] lilbrat:
Read back over the last 5 or so pages it will tell you how to correct it...
[OnePlus 6 & 6T Cross Device Development] YehoshuaLee:
us old version of twrp, like 3.3.1
[OnePlus 6 & 6T Cross Device Development] rdlr19:
got it working on 10.3.6 on my 6t and used latest twrp, everything is wayyy smoother

p.s: i edit the script according to my criteria
[OnePlus 6 & 6T Cross Device Development] bladesss:
Could you please upload your working script?
[OnePlus 6 & 6T Cross Device Development] SpartaKurd:
I'm waiting for it, either :angel:
[OnePlus 6 & 6T Cross Device Development] rdlr19:
hey guys sorry for the long waited response, so for starters the script i use theres not alot of entries for 1 fundamental reason, i dont erase what i cannot recognize in the system, now that being said hope u enjoy

P.S Before flashing i encourage u that u check the apps your about to remove, besides that everything works as normal
[OnePlus 6 & 6T Cross Device Development] ramrastus:
Its my modified scripts (extreme) & working great on oos 10.3.5.
[OnePlus 6 & 6T Cross Device Development] ramrastus:
Modified scripts (Extreme)

*Added OnePlusPods

*Added OPSesAuthentication
[OnePlus 6 & 6T Cross Device Development] ramrastus:
Guys I've one doubt can i remove OPDeviceManager & OPDeviceManagerProvider?

And what is the functions of this two files?
[OnePlus 6 & 6T Cross Device Development] Arkaknio:
Will this work with 10.3.6?

Thanks for sharing!
[OnePlus 6 & 6T Cross Device Development] ramrastus:
Yes its works! Now im on oos 10.3.6 only!
[OnePlus 6 & 6T Cross Device Development] Arkaknio:
Sorry, but after apply the script, Google Calendar stops working. It crashes everytime I try to open it. Reflash full OTA zip fixes the problem, so seems to be something related with the script, probably a removed app that is needed to make it work.

Do you know why this happens?.

Thanks in advance!
[OnePlus 6 & 6T Cross Device Development] ramrastus:
Remove Google Calendar from script & flash again
[OnePlus 6 & 6T Cross Device Development] Josef0:
Is there a hero who has taken the time to figure out each app or service to be deleted with a short explanation?

In the post he leaves it to you, but only of some ... :eek:
[OnePlus 6 & 6T Cross Device Development] Cele17:
those scripts work on oxygen 10.3.7?
[OnePlus 6 & 6T Cross Device Development] Magic Stick:
Yes, you just need to edit script as mentioned in the last few pages. Here is mine (invisible + india fake partition, yt coz I use vanced, Gmail, google music, google films).

Credits go obviously to OP.
[OnePlus 6 & 6T Cross Device Development] Cele17:
so basically the main edit to do is write "system_root" instead of "system" at the beginning?
[OnePlus 6 & 6T Cross Device Development] ramrastus:
Yes.
[OnePlus 6 & 6T Cross Device Development] jordirpz:
Please, where is the .txt file?
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Apparently we can't upload .txt anymore... So I uploaded it again as a .zip :)
[OnePlus 6 & 6T Cross Device Development] The Apostle:
FYI, my modified light script works on 10.3.7. just flashed and all is working as expected.
[OnePlus 6 & 6T Cross Device Development] AkshayGunplay:
hey, I flashed this through TWRP 3.4.0.0 on OOS 10.3.7. But it didn't change anything. Can you tell me the steps you followed?
[OnePlus 6 & 6T Cross Device Development] mixlex:
The apps are still there but you can uninstall them now.
[OnePlus 6 & 6T Cross Device Development] Maxim92:
Thank you!
[OnePlus 6 & 6T Cross Device Development] Wisiwyg:
Useful script. Updates for just released OOS 10.3.9?
[OnePlus 6 & 6T Cross Device Development] djcsurf:
Thanks for this, it removed system_root stuff but data and vendor sections remain the same. I also tried to add entries for system/reserve but it doesn't remove them. FYI do not remove OPGamingSpace as it will cause force close when pressing Utilities tab in Settings :(
[OnePlus 6 & 6T Cross Device Development] varunpilankar:
Does this script work for OnePlus 7 OOS 10.3.8?

I use Live Wallpapers like KLWP.. I don't want to to break.

Also I wanted to know what is BluetoothMidiService? Will it affect using any bluetooth headset and voice command?
[OnePlus 6 & 6T Cross Device Development] Wisiwyg:
Is there an update for 10.3.10 6/6T? Doesn't work now, even with the path edits.

TIA for this useful utility.
[OnePlus 6 & 6T Cross Device Development] djcsurf:
Which script did you use? Have the paths changed since 10.3.9?
[OnePlus 6 & 6T Cross Device Development] The Apostle:
My edited version above still works. I used it on 10.3.10.
[OnePlus 6 & 6T Cross Device Development] varunpilankar:
Anything on this?
[OnePlus 6 & 6T Cross Device Development] varunpilankar:
Does anyone know how to get back system apps? Tried flashing the OTA update but that doesn't get back the removed system apps
[OnePlus 6 & 6T Cross Device Development] varunpilankar:
I manged to successfully use the script with some edit.. But now I by mistakekly removed "Data Usage Control" app from system and I dont have a backup of that specific app.. Is there any other way to get the app back? Maybe reflashing the same build Ota update zip without losing the data..

Can any body help?
[OnePlus 6 & 6T Cross Device Development] NLhardcore:
i use it still on oxy 10.3.11 made some change to it , that gmail and chrome stay !
[OnePlus 6 & 6T Cross Device Development] Gytole:
Works for me!
[OnePlus 6 & 6T Cross Device Development] gorilla p:
So a lot of the locations moved with latest OOS release on OP8 Pro. I have updated the ones I could find and commented out one that I couldnt verify.

Hope this is helpful.

run_program("/sbin/mount", "/system_root");
run_program("/sbin/mount", "/vendor");
run_program("/sbin/mount", "/data");
#"/system_root/system/app/AutoRegistration",
"/system_root/system/app/BasicDreams",
"/system_root/system/app/BookmarkProvider",
"/system_ext/system/app/BTtestmode",
"/system_root/system/app/GooglePrintRecommendationService",
#"/system_root/system/app/card",
#"/system_root/system/app/CtsShimPrebuilt",
"/system_root/system/app/EasterEgg",
"/system_root/system_ext/system/app/EngineeringMode",
"/system_root/system_ext/system/app/EngSpecialTest",
"/system_root/system/app/GooglePrintRecommendationService",
"/system_ext/system/app/LogKitSdService",
"/system_root/system_ext/system/app/NFCTestMode",
"/system_root/system_ext/priv-app/OPLogkit",
"/system_root/system_ext/system/app/oem_tcma",
"system_root/system_ext/system/app/OPBugReportLite",
"/system_root/system_ext/system/app/OPCommonLogTool",
"/system_root/system_ext/system/app/OPLiveWallpaper",
"/system_root/system_ext/system/app/OPPush",
"/system_root/system/app/PartnerBookmarksProvider",
#"/system_root/system/app/PlayAutoInstallConfig",
"/system_root/system_ext/app/RFToolkit",
"/system_root/system_ext/system/app/SensorTestTool",
"/system_root/system/app/SoterService",
"/system_root/system/app/Stk",
#"/system_root/system/app/SeempService",
#"/system_root/system/app/talkback",
"/system_root/system/app/Traceur",
"/system_root/system/app/WallpaperBackup",
#"/system_root/system/app/WapiCertManage",
#"/system_root/system/app/WifiRfTestApk",
#"/system_root/system/priv-app/CtsShimPrivPrebuilt",
"/system_root/system/priv-app/CellBroadcastLegacyApp",
"/system_root/system_ext/priv-app/TagGoogle",
"/system_root/system_ext/app/remotesimlockservice",
#"/system_root/system/product/priv-app/GoogleFeedback",
"/system_root/system/app/ARCore_stub",
"/system_root/system/app/BackupRestoreRemoteService",
#"/system_root/system/app/GooglePay",
#"/system_root/system/app/NVBackupUI",
"/system_root/system/priv-app/BackupRestoreConfirmation",
"/system_root/system/priv-app/ManagedProvisioning",
#"/system_root/system/priv-app/OPDeviceManager",
#"/system_root/system/priv-app/OPDeviceManagerProvider",
"/system_root/system/priv-app/QualcommVoiceActivation",
"/system_root/system/priv-app/SharedStorageBackup",
"/system_root/system/product/app/Account",
#"/system_root/system/product/app/atfwd",
"/system_root/system_ext/app/QdcmFF",
"/system_root/system/product/app/talkback",
"/system_root/system/product/app/Videos",
"/system_root/system/product/app/YTMusic",
"/system_root/system/product/priv-app/AndroidAutoStub",
"/system_root/system/product/priv-app/Turbo",
"/system_root/system/india",
"/data/india/india.img"
);
unmount("/system_root");
unmount("/system_ext");
unmount("/vendor");
unmount("/data");
[OnePlus 6 & 6T Cross Device Development] xisna:
Hello, but for remove the folders of /system/reserve and /data/india , is working?? because i try with a lot forms and nothing.

/system/reserve/OPNote (for example)

/data/india/india.img

/vendor/etc/apps

NOT WORK NOTHING, DONT REMOVE THATS FOLDERS..
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
hello,

i just saw that people are removing OEMLogKit with this script. Have you ever had a look at your system log after doing so?

Removing these vendor / system apps in this way will result in errors and huge log spam occuring almost every second because the system tries to find and launch the app. Some of these apps are tied to system scripts (/init.rc, /init.oem.rc, init.qcom.rc) which have to be patched as well in order to get around this behavior.

I can not recommend this way of removing them.
[OnePlus 6 & 6T Cross Device Development] Zobat:
fixed that for you

unless you're from India 😁
[OnePlus 6 & 6T Cross Device Development] xisna:
not is fixed because i tried and nothing... :S
[OnePlus 6 & 6T Cross Device Development] Tony2k:
Could not delete these:

"/system/product/app/Calculator",

"/system/product/app/CalendarGoogle",

"/system/product/app/Chrome",

"/system/product/app/Drive",

"/system/product/app/Duo",

"/system/product/app/Gmail2",

"/system/product/app/GoogleAssistant",

"/system/product/app/GooglePay",

"/system/product/app/GoogleTTS",

"/system/product/app/LatinImeGoogle",

"/system/product/app/Maps",

"/system/product/app/Photos",

"/system/product/app/Videos",

"/system/product/app/YouTube",

"/system/product/app/YTMusic",

"/system/reserve/OnePlusPods",

"/system/reserve/OPForum",

"/system/reserve/OPNote",

"/system/reserve/Weather"
[OnePlus 6 & 6T Cross Device Development] varunpilankar:
I don't want to remove Data Usage control. I'm not able to find the package name for it, so that I can remove that name from extreme script.

Does anyone know the package name for it?
[OnePlus 6 & 6T Cross Device Development] bay12:
hi all, i've just installed OOS 11 and now trying to run the script with a small addition to remove the apps in the /system_root/system/reserve folder but it doesn't work because it doesn't mount :

/data/reserve/reserve.img in /system_root/system/reserve

It's weird because if i run the command in TWRP terminal (mount /data/reserve/reserve.img in /system_root/system/reserve ) it works ok.

As this works fine in OOS 10, I wonder if it's an issue with this TWRP or my script?

thanks in advance
[OnePlus 6 & 6T Cross Device Development] NLhardcore:
I think this module fix the folder location change in android 11
[OnePlus 6 & 6T Cross Device Development] varunpilankar:
I'm looking for package for Data Usage Control - which gets removed if you use a extreme script on OSS A10 OP 7
[OnePlus 6 & 6T Cross Device Development] NLhardcore:
not sure what you mean , butt this file will fix you permission from twrp
[OnePlus 6 & 6T Cross Device Development] varunpilankar:
I'm talking this feature on OOS 10 - check the image
[OnePlus 6 & 6T Cross Device Development] compactdisc:
I flashed the extreme script 4.1 zip from OP for OOS on A11.1.2.2 but nothing happened. Does anyone have a working script for the latest OOS update?

@Tomatot-
[OnePlus 6 & 6T Cross Device Development] Zobat:
try reboot lol
[OnePlus 6 & 6T Cross Device Development] SOK4:
Guys, after flashing Tomatot script i can't run Google Calendar. Trying reinstall it didn't help.

How can i run G.Calendar now?
[OnePlus 6 & 6T Cross Device Development] NLhardcore:
I encountered the same problem with adb shell in the past and only way I could get it fixed was factory reset ! Butt if you reinstall your rom it should work again I think
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
I don't have this issue. It sounds like the one somebody else had and reported. Since I don't have the problem myself I'm not sure I can easily find the issue. If you didn't have it before can you try to check what new apps you removed?

Did you try to reinstall them?

EDIT: could you try to the light script instead and see if it fixes things? Or just to remove Gmail2 from your script?
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
So I've detected a small bug that affects all my script.

One of the packages break "Bluetooth / connection preferences" settings.

Here is how I debugged:

1) Dirty flash, try the feature, to make sure it's related to my script. The setting was working so it came from my script.

2) Flash invisible script:

a) the settings works => I should try the light one, then the extreme, until the feature breaks

b) the setting doesn't work: I have to dirty flash the ROM again and spot what package in the invisible script breaks.

3) Same as 2) in case the solution was 2) b)

etc.

4) How to spot the package: to find the app, you either use logic (like I looked for all the bluetooth related packages and it didn't work... So then you need to check one by one (by freezing them, with titanium backup for example) all the apps in the script. You can do 3 apps at the same time for example, to save time, but once the feature breaks, you need to defreeze them one by one to see the exact one.

5) Report it to me so I fix the script.

So that's what I'd suggest you to do [MENTION=7431150]zyvex_14[/MENTION]

It takes a little of time, especially the flashing, but at least you're 100% sure to find the issue.

Anyway, the culprit was Print Spooler. So I'm removing the app from all my scripts and will upload 2.1!

_

Also, something interesting in case you were wondering if the script is actually useful.

Extreme script: https://i.imgur.com/2O47su8.jpg 19 system apps running, for a total of of 31 services running. I'm not counting Google Play services as the number of services running keep changing.

No script: https://i.imgur.com/E5cEr7P.jpg 36 apps running, for a total of 60 services running! I find the difference quite huge, so your battery and RAM will thank me! :)

EDIT2: just for the sake of it, I've decided to try again gmail, and guess what, it's broken as well for me now. So that's a good news I guess. I'm going to investigate it. Consider it as fixed :cool:

EDIT3: light script work. So it should be easy to spot the culprit. :)

EDIT4: I've tried to install the light script + freeze all of the extreme script apps except gmail and gmail was still working.

Then I uninstalled gmail with titanium backup, and surprisingly, the app was still on my launcher and I could see the details of the app, disable it etc. However it wasn't working obviously. So there is a very weird behavior with gmail.

Even when I reinstall it, titanium backup says it's a system app, which shouldn't and doesnt' happen with other apps that are available in the play store.

EDIT 5: I confirm that uninstalling the app with Titanium, REBOOTING, and then reinstalling seems to fix the issue. But since it's complicated, I'm just going to remove gmail from the script, and just uninstall it yourself or freeze if you don't use it.

EDIT 6 : dirty flashing my setup + extreme script without gmail breaks gmail as well. That doesn't make any sense.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Guys, I feel so stupid, since the beginning was in front on my eyes... A few months ago I exactly had the same issue with email apps not working. At some point, I don't even remember how, I realized that gmail and inbox for example need webview.

And in my extreme script (and the same for the light one before 2.0), I was deleting Chrome, which includes webview. And so what happens is that for some reason the device can't pick "Android system webview" instead of Chrome.

I found out that updating Webview with play store seems to fix the problem but it's not very reliable it seems.

I COULD add chrome to my script but then I would have to warn users to make sure they have a proper webview selected and updated. It's just easier to not remove chrome and then let people freeze or uninstall Chrome.

Anyway, this discovery deserves a new update!

v2.2

-Removed Chrome from the script as it can break webview. There is not reliable fix as Android system struggles to properly select "Android System Webview". Feel free to freeze or uninstall Chrome as long as you update android system webview and make sure it's selected in developer settings.

-Put back Gmail2 in the script as now installing it as a user app shouldn't break the app anymore.

-Now the script should be completely bug free.

[MENTION=4801738]Gr8man001[/MENTION] you might want to have a look at my last update. :)
[OnePlus 6 & 6T Cross Device Development] Pseudonym:
So we just need to flash the udpate again or dirty flash rom first?
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
I'd recommend to dirty flash, it just depends if you use gmail and if you have troubles. If everything is working fine, you can just flash the script. Also, if you were on 2.0.1 and not 2.1, then you shlould flash the ROM as well as one of the app was breaking settings (see changelog 2.1)
[OnePlus 6 & 6T Cross Device Development] ilia1985:
Gmail crashing is indeed due to webview but that's easy to fix without dirty flashing. Just install any chrome app (beta/Dev/canary) and manually enable webview in developer settings. For me I love 6our script and for a long time was waiting for something similar the only annoying thing is opskin being removed and contact sync ( which can be reinstalled manually).
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
If you knew you should have told me earlier haha, just spent 2 hours finding the bug! But yes, actually you don't even need Chrome, you just need to install the AOSP android system webview.

As for your particular needs, edit my script or use the light one. :)
[OnePlus 6 & 6T Cross Device Development] ilia1985:
Would have said earlier but just woke up hehehe and read it. Also aosp webview sucks the one that comes with chrome is better I preffere it even to regular Google webview which is also found in play store.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
Haha no worries!

What are supposed to be the differences?
[OnePlus 6 & 6T Cross Device Development] ilia1985:
Not sure what the differences are but both Google webview and the one that comes with chrome is much more updated for example last aosp I tried recently was based on v69 where as Google webview is v71 currently.
[OnePlus 6 & 6T Cross Device Development] zyvex_14:
Indeed I found out yesterday evening that the guilty one was Chrome but didn't know the story of android system webview behind.

So everything is back to alright now, and bluetooth preference is also ok (I removed the spooler from the list).

Many thanks guys.