yashsingh1/xdaforums huggingface dataset:
[Magisk] ipdev:
PlayStore issues are weird at best.

Hit or miss, depends on the device and/or setup.

Certificataion does not seem to play a big part over all.

If it does then Google's has more issues than fixing SafetyNet to worry about.

Sometimes it is just a Google being Google. ;)

I will look into Chrome tomorrow.

I normally use Chrome Dev PlayStore - Link.

More so now, Brave Browser PlayStore - Link.

No harm checking for apps that do not exist on the device. :D

It may cause extra lines in the log file and one or two seconds of install time.

My bad. :o

Must have split wps_lite when I was adjusting the list. Then when sorting, it just put lite and wps in the correct order.

---

I re-flashed and/or reverted a few phones tonight and added them to the gDrive Link.

The files listed as _pfile.list (preinstalle files) are a list of files located in app and/or priv-app of system, product and vendor.

I use a shell scripts for this kind of stuff, [ because I am lazy :p ] primarily with adb shell.

I adjusted the one I use to make the pfile list.

list_pfiles.sh - Still needs to be run as root.

list_pfiles.sh needs to be located in a writable directory. (sdcard/Download | data/local/tmp | ...)

It still uses a static NAME= variable that you will want to change.

I added a few things to make it run from a root file manager like fx or mix.

With the addition (work from a file manager app/or called from a diferent directory), if you rename the script file, you will also have to adjust the SCRIPT= variable to match.

Cheers. :cowboy:

Edit:

2021.Aug.21

I updated the list_pfiles script.

To Use:

Copy this script to the device.

Recommended to use the /sdcard/Download/ directory.

Run from adb shell (or a terminal app) using the sh command.

sh list_pfiles.sh

Run from a file manager that is able to execute a script file.

Note: May or may not work depending on file manager..
[Magisk] zgfg:
Pixel comes with only G stuff but interestingly, without Wellbeing

Velvet.apk, what is the package name (you should still be able to find the name on /data/data)?

When you have Velvet (Poco F1, F2 and One+ 5T), do they also have Google.apk = com.google.android.googlequicksearchbox?

Btw, if you use MiXPlorer and choose Tools, App Remnants, you can see /data/data folders for debloated apps (and you can remove them)
[Magisk] HippoMan:
I did it just now, and it worked wth no problems on my device! For my initial test, I used SystemlessDebloater to remove GooglePartnerSetup, and it was indeed removed. No bootloops, no problems.

Good work on this module!

Well, in my case, GooglePartnerSetup doesn't appear anywhere among MiXPlorer's "App Remnants", even though other /data/data items are indeed being displayed there. But this is not causing any kind of issue on my device, so I am not concerned.

.​
[Magisk] ipdev:
Don't worry, Google would not forget to bundle it. :D

Digital wellbeing is named WellbeingPrebuilt.

package: name='com.google.android.apps.wellbeing'

I just did not add it to the debloat list. ;)

Velvet is Google.

package: name='com.google.android.googlequicksearchbox'

As far as I know, Velvet is the bundled and/or GApps name used. :o

Cheers. :cowboy:
[Magisk] zgfg:
Just a short question - you have A11 on your OnePlus 7Pro?
[Magisk] HippoMan:
One Plus 7Pro, GM1917, OOS 10.3.5 ... as I mentioned above :) OOS 10.x is A10.

.​
[Magisk] ipdev:
Still have to test some more.

So far only on my Pixel aOS 11.

This is a little tricky to explain my testing/findings.

- Long post, truncated it for now. -

Not logged into Google. (PlayStore)

With Chrome stub active, Chrome is treated as a system app.

Even though the full version is in data it can not be uninstalled only disabled.

PlayStore shows an available update for Chrome.

If stub is removed (debloated), Chrome is treated as a user app.

You have the option to uninstall.

PlayStore does NOT show an update for Chrome.

Did not matter if I cleared cache and/or data on PlayStore or re-scan with with PlayProtect.

This is odd, since Google should still want to update even if it is just a user app.

I'll have to dig though the user agreement again.

Might be automatic update only when Google apps are included (system app) when not logged in.

--

As soon as I logged in, Google immediately updated some back-end.

Chrome is now available for an update and it updated fine.

This is also where some oddities came in.

--

<TRUNCATE>

--

Still have to double check everything.

Seems to be an issue distinguishing between system and user apps.

Should have time this weekend to redo and verify every step I used for testing.

As of now, I would suggest the same as you did it.

Debloat Chrome (stub)

Uninstall Chrome (should be considered a user app after the debloate.)

Install from another source (if need be then update from PlayStore.) or just install from PlayStore.

Cheers. :cowboy:
[Magisk] zgfg:
Btw, released v1.3.5 through the OP post #1 - just to log to the logfile the Android version, is it SAR and is it A/B - would be nice if you can test does it log correctly when you have time and A/B device.

Unfortunately, still unable to resolve a miss-communication with the bot to successfully submit to Repo :(
[Magisk] SUMMERBREEZE:
Can somebody dhare his debloat app list? Or the best, .sh file? İt would be great :)
[Magisk] ipdev:
Still working on it. 😉

CommunityList - [Github Wiki] - Link

Need to add jelly (browser), etar (calendar), eleven (music), along with a few others to the LineageOS section.

I hope to have time this weekend to clean up and add a few things to the list. 🙃

Cheers. :cowboy:
[Magisk] TheNewHEROBRINE:
For me when I debloat a system app that has an icon in the app drawer, it gets replaced by an app with the default Android icon and the name equal to the package name of the debloated app. Why isn't the app completely disappearing from the app drawer?
[Magisk] zgfg:
That's very strange . Have you, as instructed, uninstall all (user Data) updates of that app you have debloated. If not, then please do, then reboot, install the module again (keep your previous cfg file with the list of apps to debloat)

If after all that still the same, provide the info about your device, ROM, Android version and attach your cfg and log files, and note the name and package name of that problematic app(s)
[Magisk] Arju87:
Good morning, I can confirm that it works great on Oneplus 7t with A12, I have successfully removed YouTube.

What happens if you remove the module from magisk?
[Magisk] zgfg:
As it says in the OP - it is systemless module, no hard changes on the System. Besides, even with root, System is read-only on the new phones - and that's the reason why systemless changes (changes are only mounted by Magisk on every reboot) work, while debloaters that try to make hard changes (to really remove system apps via eg TWRP) cannot work on the phones with SAR file-system read-only

You disable the module or uninstall, or uninstall Magisk, and reboot, everything goes back (no more mounting, hence no more debloating)

Like Systemless hosts, etc
[Magisk] TheNewHEROBRINE:
I solved my problem, although I don't know exactly how, but now I have a question. Is there any advantage to using this method rather than using pm uninstall?
[Magisk] zgfg:
With pm disable-user or pm uninstall -k --user 0 you debloat for that user (0) but the system app is still installed for the alternate user 999

Also, if you eg have the latest (YouTube) app pre-installed to System and for some reason you need to install an older version of the same app, then if you debloated that app (YT) by pm, downgrading would not work

Anytime you want to install that older (YT) version, package manager would recognize that the same package name but an older version is still installed to the system, and would prevent downgrading

If debloated by the module, package manager cannot see the same package name (its pre-installed System installation folder/apk file is mounted over by a dummy), hence you can freely install the older version of that app

---

pm list packages -u

will print also the packages un-installed by pm

pm list packages -d

will print packages disabled by pm

showing how pm still finds the packages it did disable or 'un-install'
[Magisk] zgfg:
New Systemless Debloater v1.5.2 released, with adaptations for Magisk v26:

https://github.com/zgfg/SystemlessDebloater/releases/download/152/SystemlessDebloater_v1.5.2.zip
[Magisk] rah84:
Hello,(Damn i have not known that i wrote so much, i think my english is not so good)

Please please i need asap help!

It seems i have removed some needed stuff in order to run system funcionllities.

First of all after debloating and rebooting i get crashing apps like all or many apps or background services that did tried start.

App like for example my Nuki widget (smart door lock) which just opens the app and run through the full app to open my door or whatever from BT. Nothing happens when i click the button to open the door, thats pretty weird..and iam sure with this problem i will have problems in other szenarios.

Thats not all.

google services is gone. I cant add/remove Google accs, PlayStore is gone.

I dont know what to do, i run the script with an empty *.cfg debloat list and rebooted. That havent helped. After all, the system runs just flawlessly except the told ones (havent tested much because i try to restore Google)) only device health still getting crashed and Messages.

About the apps crashing i came to the conlusion that wipe dalvik/Art cache would maybe helped...

Anyway after all i found out there is a new system update.

I totally forget this that i can just reflash the fw so i have all apps again.

No this havent helped too, gms still gone, playstore all the google related stuff. Nuki dont work.

To Test Gmail i have installed it but no way, force close

This is my *.cfg File under attachment

Too bad i have needed to save the *.log file right after that had happened because this log file is though not helpfull because i run preety often the Module and deleted i then after firmware upgrade too.

I also made also backup of all the apps with Swift Backup some day ago, they found thats only gsf is not on the phone, so i restored it with all the data with no effect

Please for any Help ;(

PS. I dont use any Samsung related stuff as seein..no Google payment methodes, i dont play games, I removed before or later the system upgrades If i have not forget it then rerun the module

I dont want to factory reset, this would be much much Work :(

My Phone is the S21 Ultra G998B
[Magisk] Primokorn:
product/app/Calculator2/Calculator2.apk=com.oneplus.calculator

This is the app I want to remove (line taken from the log file after a first flash).

I added Calculator2 into the SystemlessDebloater.cfg file. Nothing found during the new flash... Why?

EDIT: maybe because of an empty line between the commented apps and the one I have added
[Magisk] zgfg:
Cannot analyze anything without the log file that you will find in Download folder

And first, try to analyze yourself - if it doesn't find the app, then you gave the wrong name for the app

But in the log file you have list of all stock files, hence use the search to find the proper name and then put the proper name to your cfg file

Also, did you read the OP posts - if it's not the system app (but app installed to /data) then don't use this module for. There are other ways to get rid of Data (user) apps - btw,Nin that case you will not find the app in the list in the log - since the module does not look for Data (user) apps
[Magisk] Primokorn:
Thanks but I found the solution as mentioned in the EDIT.

FYI yes I always read OP, read the troubleshooting section and try to analyze the log myself before posting.

The log didn't mention anything and yes it was a system app.

All good now 👍
[Magisk] zgfg:
Good that you solved

But I'm still puzzled how an empty line would mess

Also, log file would show how the list of apps names for debloating was read from the cfg file - hence it's always important to read the log file SystemlessDebloater.log (as the one attached below)
[Magisk] Primokorn:
I can reproduce. I have attached the files.

So the problem wasn't the empty line before my system app but the empty at the end.
[Magisk] zgfg:
Ok, thanks, so you had empty Input DebloatList in the log file, indicating that it didn't parse anything from the cfg file

That is, it was not really about where was the comment or not, but the bug that the last app name in the cfg file is not parsed if it's not followed by an empty line

Attached is a very simple cfg file (5 apps with no empty line after the last app name) and with the excerpt from the corresponding log file (showing only 4 apps in the debloat list)

Btw @ipdev, there is also a bug if two or more app names are listed in the same line, separated by spaces (original sh input files did not have these issues) 😀
[Magisk] ipdev:
@Primokorn @zgfg

Looks like it is a limitation of the read command. :unsure:

[ip@lost sDebloater]$ sed -e '/^#/d' -e 's/#.*//g' -e 's/\"//g' -e 's/[ \t ]//g' -e '/^\s*$/d' it_does_not_work.cfg.txt > tmp.tx
[ip@lost sDebloater]$ cat tmp.tx
Calculator2[ip@lost sDebloater]$ while read i; do echo $i; done < tmp.tx
[ip@lost sDebloater]$

Notice the command prompt shares the same line with Calculator2 (after the cat command) since the was no carriage return at the end of the line.

The read command returns nothing.

[ip@lost sDebloater]$ sed -e '/^#/d' -e 's/#.*//g' -e 's/\"//g' -e 's/[ \t ]//g' -e '/^\s*$/d' It_works.cfg.txt > tmp.tx
[ip@lost sDebloater]$ cat tmp.tx
Calculator2
[ip@lost sDebloater]$ while read i; do echo $i; done < tmp.tx
Calculator2
[ip@lost sDebloater]$

I will have to look into it a bit more.

Cheers. :cowboy:
[Magisk] ipdev:
Not quite a bug. 😉

It was a trade off between multiple names and including comments inline.

Plus keeping the output temp file clean of extra spaces and empty lines.

I was trying to keep the sed command somewhat short. 😄​

​

That is why the instructions say. 🙃

ConfigScript - [wiki.github] - File Format

- One name per line.

Cheers. :cowboy:
[Magisk] ipdev:
Warning: Still testing. 😉

commit

Cheers. :cowboy:

Edit:

Using "It_works.cfg.txt"

SystemlessDebloater_v1.5.2.zip

Input DebloatList="
Calculator2
"

Final DebloatList="
Calculator2"

SystemlessDebloater_v1.5.2-mod.zip

Input DebloatList="
Calculator2

"

Final DebloatList="
Calculator2"

Using "it_does_not_work.cfg.txt"

SystemlessDebloater_v1.5.2.zip

Input DebloatList="
"

Final DebloatList=""

SystemlessDebloater_v1.5.2-mod.zip

Input DebloatList="
Calculator2

"

Final DebloatList="
Calculator2"

I do not like the extra space/blank line added to "Input DebloatList".

B.
[Magisk] ipdev:
@zgfg

Better way. 🙃

My Fork - [github] - commit

Using both Using "It_works.cfg.txt" and "it_does_not_work.cfg.txt"

Input DebloatList="
Calculator2
"

Final DebloatList="
Calculator2"

No extra space/blank line added to "Input DebloatList".

Cheers. :cowboy:

PS.

I also added an uninstall script to clean up data/local/tmp log.
[Magisk] zgfg:
Thanks👍

@Primokorn - v1.5.3 with the cfg fix is released:

Release Systemless Debloater v1.5.3 · zgfg/SystemlessDebloater

Fix for SystemlessDebloater.cfg config file

github.com
[Magisk] Void_0:
Is there a way to have the config file anywhere other than the download directory? It seems like a bad place to put it...
[Magisk] zgfg:
It is a good place for dumb users who would not know to access something on /data😁

You need it only when installing/upgrading the module

For regular use and rebooting you can temporarily move it somewhere else
[Magisk] Void_0:
I see, thanks! I'll just store it somewhere else and put it back when I'm updating then.
[Magisk] Danny94:
I really like this module, thanks.

Im on a ported Miui14 rom for Redmi K20 Pro, having some issues with a few apps :

system/app/...

MIUIAccessibility (com.miui.accessibility)

MIUIPersonalAssistant (com.miui.personalassistant)

MiConnectService2_13_253 (com.xiaomi.mi_connect_service)

MINextPay (com.miui.nextpay)

MIUPTsmService (com.unionpay.tsmservice.mi)

those are not found when reinstalling the module.

Im sharing informations for Miui Accessibility (package manager app):

Mi Acessibility (name)

com.miui.accessibility (package id)

/system/app/MIUIAccessibility (path)

/data/user/0/com.miui.accessibility (directory)

/system/app/MIUIAccessibility/lib/arm64

Not sure why those apps actually are not found, have debloated around 35 other apps.
[Magisk] zgfg:
Go to Settings, Apps and take Uninstall - to uninstall updates for those apps

Please read post #1 how and why
[Magisk] Danny94:
Those apps cannot be uninstalled or disabled, those are system apps. Im gona add the package id for all aswell.

In the log file they are listed like that below "stock packages":

/system/app/MIUIAccessibility/MIUIAccessibility.apk=com.miui.accessibility

/system/app/MiConnectService2_13_253/MiConnectService2_13_253.apk=com.xiaomi.mi_connect_service

/system/app/MINextPay/MINextPay.apk=com.miui.nextpay

/system/app/MIUPTsmService/MIUPTsmService.apk=com.unionpay.tsmservice.mi

/system/priv-app/MIUIPersonalAssistant/PersonalAssistant.apk

this one i could solve by: MIUIPersonalAssistant -> PersonalAssistant

Edit: with root file browser i checked and they are exactly on the path written above

system -> app -> MiConnectService2_13_253 -> MiConnectService2_13_253.apk

..

(im using latest official magisk 26.1 and latest debloater version 1.5.3)

in the log file there is nothing else then:

MINextPay --- app not found!

MIUIAccessibility --- app not found!

MIUPTsmService --- app not found!

MiConnectService2_13_253 --- app not found!
[Magisk] zgfg:
Please attach your SystemlessDebloater.log

Also, do you use old SystemlessDebloaterList.sh

or the new

SystemlessDebloater.cfg

Please attach both or the one of them you use

Also, are you on the latest v1.5.3 - if not, please first update to v1.5.3

Btw, I'm on Xiaomi.eu Stable 14.0.8 (Xiaomi Mi Late 5G NE) and I successfully debloat also that MiConnectService (under that name)

My cfg, sh and log files are zipped and attached

Cannot guarantee that on your MIUI all apps have the same name but try and send your sh, cfg, log as above
[Magisk] Danny94:
Im using the new SystemlessDebloater.cfg. Have attached both log and cfg below.

Yes im on latest magisk and debloater.

Yeah its strange, i debloated so many system apps (35) witouth any problem, no clue why the mentioned ones (4) dont work. There is no typo, case sensitive issue, space or anything different to the other system apps.

Im on Miui Ori 14.0.1, android 12 (its a ported rom for redmi k20 pro / mi 9T pro)
[Magisk] zgfg:
I downloaded your zip but neither MiXPlorer nor Windows could extract

They see the content (two files) but extracting fails - eg, on Windows, err 0x80004005 when attempting to extract

Please download by yourself and make sure that it properly extracts

You can extract my zip correctly both on MiXplorer and Windows

(I will mainly use MiXPlorer - if I need to use some tar or whatever on the PC it will take much longer time - hence pls make sure that MiXPlorer can properly extract)
[Magisk] Danny94:
i have been using 7-zip on pc. I unluckily dont have mixplorer anymore.

I have renamed SystemlessDebloater.cfg to SystemlessDebloater2.log.

So you should be able to download both directly from xda and open them with editor witouth using any archive program.
[Magisk] zgfg:
Yeah, then it was named zip but wasn't standard zip

Download and extract, copy the two files mountList.sh and service.sh to /data/adb/modules/SystemlessDebloater

Overwrite the two existing files you will find there with these new ones

You will need MiXPlorer or some root explorer😁 (or TWRP or adb) - please find your way

It's important that files keep the exact names as above, eg, that Windows or something (if you use) do not append txt extension or so

Also, file names are case sensitive - the scripts must keep their names as in my zip file

Do not reinstall module ! - only reboot the phone and then send me the service.log file from the same directory
[Magisk] Danny94:
Ok, i have followed the steps carefully and in attachment you can find the log file.

Edit: the system apps seem to be debloated, all 4.

What could be the reason they are not being found through the usual process ?
[Magisk] zgfg:
Per log, all apps, incl. those four are debloated

Use root explorer (like MuXPlorer - root must be granted) and go to /system/app/Joyose/

But not from TWRP - this is systemless module, no hard changes, just mounts by Magisk every time you reboot to the System

and check how Joyose.apk looks like (that is one of the app you did not have problem with)

It will be chmod 666, size 0 bytes

You can also check from Terminal emulator - see my screenshots but I did for my debloated Easter egg.apk

Then do the same for your four apps you had a problem with - all are on /system/app

Eg:

/system/app/MiConnectService2_13_253/MiConnectService2_13_253.apk

You can read their paths in the mountList.sh I sent you

You can also find their paths in the SystemlessDebloater.log you sent me - you just need too search further down through the file for eg MiConnectService2_13_253

We we'll check another time why it failed to find them regular way - but you see now, how you can find in the SystemlessDebloater.log, add them manually to mountList sh and reboot (I have upgraded my phone with Factory reset and being busy to have it ready for daily use again)
[Magisk] Danny94:
Ok, thanks for your time, tell me if you need further informations to fix the issue why it failed to find them.

Meanwhile i will use the mountlist.sh to debloat the other apps, thanks.

I will add you aswell the screenshots from MINextPay (one of the problematic ones) and Joyose (debloated). And if you wanted me to sent the informations in attachment of the app "undebloated" i will share them aswell, tell me.
[Magisk] Bigman0988:
Is there a difference between the system debloater in this thread and this one here? This one just has a list of the system apps, and you choose a number to input in CMD, and it debloats it.

https://xdaforums.com/t/module-terminal-debloater-v17-3-2-debloat-systemlessly.3584163/

And what about this one that is on F-droid? You don't have to use a terminal command, but instead they have an app with a list of your apps ready to debloat instead of typing command line.

The one in this thread looks really complex for a noob like me, but these one with the especially the last one with the separate app, looks easier. But I care about complete wrote of the system app as well as any trace data. Which one would be better?
[Magisk] Danny94:
Unluckily i have replaced the SystemlessDebloater.cfg and SystemlessDebloater.log file when copied the download folder of my old installation above the new installation. (somehow did not ask )

Is there any way to get it back "SystemlessDebloater.cfg" ? I did hours of trial and error of app debloating, with a lot of comments.

Edit: in case not i could atleast copy all debloated apps from mountlist.sh

And on this rom i did not have issues with "not found" (successfully debloated ~75 apps)
[Magisk] zgfg:
Yes, if you still have mountlist.sh, all debloated apps are listed there
[Magisk] Tony2k:
Today for the first time I wasent able to install the module on the latest Xiaomi eu stable, anybody could take a look at my log please? Tere isi also the .cfg file.