[mod collection] - Xiaomi Redmi 4X Themes, Apps, and Mods

Here is the list of different useful mods and apps I gathered through the past couple of years.
Apps:
1. AdAway- Ad blocker, Download: https://f-droid.org/repo/org.adaway_60.apk
2. Lucky Patcher- Used for various app modifications(Google it), Download: https://download.luckypatchers.com/files/LuckyPatchers.com_Official_v6.8.7.apk
3. OGInsta +- Instagram with added functions, download photos, zoom in, etc. Download:http://www.mediafire.com/file/iackibdacg3tyec/OGInsta++v10.14.0.apk , Check out http://ogmods.net/ for more modded apps and information.
4. Popcorn Time- Watch movies and series online, Download: https://dl.popcorn-time.to/popcorntime.apk
5. TubeMate- Download music and videos, Download:https://tubemate.en.uptodown.com/android/download used with https://play.google.com/store/apps/details?id=com.springwalk.mediaconverter&hl=hr to convert music
6. Greenify- Battery saving, Download:https://play.google.com/store/apps/details?id=com.oasisfeng.greenify&hl=hr
Xposed + modules:
Xposed is a framework for modules that can change the behavior of the system and apps without touching any APKs.
To install Xposed on Redmi 4X follow this steps:
1. From http://dl-xda.xposed.info/framework/ download the right version of Xposed:
(SDK23-Marshmallow 6.0 , SDK24-Nougat 7.0, SDK25-Nougat 7.1.x, SDK26-Oreo 8.0, SDK27-Oreo 8.1) .
2. Download Xposed Installer https://forum.xda-developers.com/attachment.php?attachmentid=4319220&d=1509453299.
3. Reboot to TWRP and flash xposed from step 1.
4. Reboot to OS and install the XposedInstaller app.
5. Done!
Enter XposedInstaller and you will find different modules under Download section.
List of modules I use:
Greenify
Lucky patcher
Following ones don't work on Oreo:
Statusbar download progress
Youtube AdAway
YouTube Background Playback (attached to this post)
Miscellaneous
Viper4Arise-sound mod, full step-by-step tutorial here https://forum.xda-developers.com/xiaomi-redmi-4x/themes/sound-mod-viper4arise-t3712555

Thanks for sharing...

Related

Fix for xposed when the phone lags

Hello everyone. Many users have problems with slowing phone after installing xposed. The same applies to me. No one has yet found a solution that would suit everyone. But I found something that might help someone. This is in a forum where solves slowdown S-Health application for Samsung. While I do not have Samsung (I have Jiayu G4S), so I tried it. I'm simply install certain module "XSecureStorage" in Xposed and really my phone runs without lags
Link here:
http://forum.freelatestmovies.org/note-4-tmobile/general/fix-how-to-fix-xposed-framework-lag-t2935423
Copied text from this URL:
Found and confirming a method on how to get the latest version of Xposed Framework working on Note 4 (T-Mobile SM-N910T). Also Wanam Xposed is working fine too inside Xposed Framework.
Step 1:
Insure that Xposed Framework is fully uninstalled from the device temporarily.
Step 2:
Go into Root Browser, or any browser of choice that has root privileges and go to /System/Build.Prop and open it as a text document.
Step 3:
Inside the Build.Prop file look for a line that says "ro.securestorage.support=true" [NOTE: IT IS THERE I PROMISE YOU, a bit hard to find] ...*I do not have this line*
Step 4:
Build.Prop finnished file
Change "ro.securestorage.support=true" to "ro.securestorage.support=false"
Step 5:
Go back into Xposed Framework, install and reboot and you MAY be fine. Most users will need to continue here. If you still have issues there are 2 methods to fully fix Xposed and S-Health
[Option 1: Download a fix module after Xposed re installed after the Build.Prop fix]
[Option 2: Disable S-Health completely]
Thanks to Compusmurf for mentioning about this module
Option1:
Step 1:
Go into Xposed Framework, download a module called "XSecureStorage"
Click Framework and hit Install/Update and you are good to go! If this module doesn't do the
trick, try Option 2. Option 2 is guaranteed to work since you will be disabling S-Health all together.
Option2:
Step 1:
In Settings App>>Application Manager find "SHealth" and select "Turn Off"
That will guarantee for Xposed to work fully fine with no lag. Leave a Thanks if this worked for you and post back if any questions or issues!
Last edited by chaunold; 2014-11-11 at 3:45AM.
Quick Reply Reply
12 users say Thank You to chaunold for this useful post
I only have ro.secure=0
Using Last pixel experience with Last alize Sanders kernel

Google Pixel experience with working assistant for Yureka (No Bugs)

We all know new google assistant is pretty cool on Pixel devices.Google kept it to Pixel only but various developers helped us to bring it to any device and now it is completely bug free.I have compiled all the steps in one thread to make it working on YU Yureka device(works on any other device too).
So let's start then.
Requirements
1. Obviously rooted android with a custom recovery.
2. Android version 6.0+
That's it.
Features
1.) Pixel Launcher along with new wallpapers app ,new dialer app from google and Pixel ringtones.
2.) Working google assistant.('Ok Google' working too.)
How To Install
( TIP* Before proceeding with installing Zips just clear your google app data to help in the process of enabling assistant successfully)
1.) Download the zip of pixel experience(for your android version) by FaserF as attached here :- https://www.androidfilehost.com/?w=files&flid=122156
2.) Furthur download these 3 zips to make assistant working :- https://www.androidfilehost.com/?w=files&flid=121914
(these will add required build.prop 'ro.opa.eligible_device=true' and 'ro.product.model=Pixel'
+ making a backup of your current build.prop and not touching your original build.prop settings.)
2.) Copy them to your device...all the zips.
3.) First flash GoogleAssistantVelvet.zip .
4.) Then flash GoogleAssistantBuildProp.zip (this will install the "tweak.prop" into your build.prop).
5.) Finally flash GooglePixelExperience-flashable-(whatever vesion of android you are on).zip and reboot.
6.) U can now flash additional zips like those of boot animation.
Google assistant may not appear on long tapping home button for a few times but eventually it will appear.
To fix 'ok Google' detection just download the chopAssistant app from play store (here is the link :- credit to @masterchop for making this app ChopAssistant https://play.google.com/store/apps/d...ssistant&hl=en)
That's all...I know its a lot to do but then just let's think about the rewards. :laugh:
Bugs
I have tested this method myself on my Yureka device(CM14.1 unofficial build) and for me everything is totally fine.
Report if u find any.
F.A.Q.
1.) Long tapping home button takes to old google now on tap
Give it about 5 minutes and try again...If still doesn't work then clear google velvet app data,then uninstall the google app completely and download google app beta from play store by registering for a beta tester. Reboot...Assistant will appear now.
2.) Dialer app crashes
Give it all permissions.
3.) Google app crashes
Give it all permissions.
Quick review:-
I want only assistant to be working fully. Do i need to flash both Pixel experience zip??

[TUTORIAL] Make your Galaxy S6 look like the Pixel

First, I'll assume you have already rooted your S6
Secondly, I'll also assume that you have a custom recovery installed
Thirdly, I'll assume that you have an unlocked bootloader (btw, this is optional, really only if you want the true experience)
1. Step: Prepairing
You have 2 options when doing this
Either you'll select this:
-1. Option: Stock ROM with Good Lock
-2. Option: Somewhat stable CM, macs18max's build
If you select the 1. option, you will have a higher chance of bugging out and battery life degrading, but you at least have something stable to work with
If you select the 2. option, you will have a pretty darn low chance of any bugs, but the ROM is in a questionable condition
2. Step: Installing Xposed
In this tutorial I'm going to be focusing on CM, just because I have it and I think you should give it a try too
You are going to download the package named "xposed-v87-sdk23-arm64.zip" from: http://dl-xda.xposed.info/framework/sdk23/arm64/
Then boot into recovery, flash it and then wipe cache and dalvik cache, then reboot
Then go to this thread: http://forum.xda-developers.com/xposed/material-design-xposed-installer-t3137758 and download the apk and then install it
That's it
3. Step: Xposed Modules
This is the list of Xposed Modules you're going to need
Please install one module at a time, don't install them all at once
-Android N-ify (The main look module)
-Assistant Enabler (Enables Google Assistant)
-GravityBox [MM] (This will enable us to enable the softkeys)
-Pixel Dock (Makes the dock slightly transparent with a tone of white)
-Pixel Navigation Bar (Makes the softkeys look like on Pixel)
Enabling softkeys on GravityBox is done by this: Open the app, go to Navigation bar and enable: Master Switch and Enable navigation bar and then reboot
4. Step: Pixel Theme for CM
Install this app from the Play Store: https://play.google.com/store/apps/details?id=v23.labs.pixel.harsh&hl=en and enable it in Theme Chooser
5. Step: Pixel Launcher
Get this launcher from the Play Store: https://play.google.com/store/apps/details?id=com.google.android.apps.nexuslauncher&hl=en
That should be it

[Discussion] Mario Kart Tour + Magisk Discussion Thread

Hello Mario Kart Tour gamers,
I like this game very much and play it nearly from the beginning.
But from update to update it gets harder to hide Mario Kart from root
Now, it does not work at all, therefore I must currently play it on my old Samsung Galaxy S5 running
stock Android 6.0.1 unrooted..
I have a Samsung Galaxy S9 running latest modified Stock Rom (Android 9.0) because I did not upgrade to Android 10 yet.
I use latest Magisk canary debug build (20406), TWRP 3.3.1 and EdXposed also latest canary build.
With Magisk Hide I hide Google Play Services, Services Framework, Google Play Games and Mario Kart Tour,
I also hide the Magisk Manager app and use Busybox for Android NDK module by @osm0sis instead of the built in busybox.
In EdXposed I also installed the HiddenCore Module but this only shows me that I pass safety net, in reality this module is a piece of crap
and has no effect at all..
in RootbeerFresh it says that everything is ok and I am not rooted but in MagiskManager ctsProfile and basicIntegrity is red and Safetynet Check fails, even after uninstalling EdXposed completely..
I guess because of this Mario Kart Tour is not working anymore.
Till today the App crashes while loading everytime I opened it, then I digged a bit deeper and found out that I also had to delete the TWRP folder on internal SD and after that Mario Kart tour DID NOT CRASH anymore while loading, the content (500MB) was downloaded without any issue but now I have another issue, the game does not load, I get "An error occured - Support-Code 806-6502" and the app crashes again.
When I search for this error I did not find a lot but here:
https://github.com/knobse/Mario-Kart-Tour/wiki/Error-Codes
it says something with Safetynet and that would fit because Safetynet is currently broken.
Any ideas if there is anything I can do or does Mario Kart maybe recognises unlocked bootloader?
It definetly checks if Safetynet is okay or not and when it it no good Mario Kart does not work at all..
regards
SafetyNet failing both checks might be because of one of your modules. A few are known to cause this, like Safetypatcher, FDE.AI and EdXposed (unless you run the current Canary release of EdXposed, v0.4.6.3 I think).
If it's not that you can try clearing the cache for Play Services. That's been known to fix SafetyNet failures recently.
OMG wiping cache of Google Play Services did the trick, many thanks
Now I try to install EdXposed again and see if securitynet still is ok.
If not I will live without it in the future..
Edit:
It is also working with the latest EdXposed Canary build, many thanks for your support.
Regards
Sent from my SM-G960F with Tapatalk
.. with an existing "twrp"-folder on internal storage the game could crash too ..
I have Orange Fox and I've hide the game using magisk hide, but still crashes or FC
i can not get MKT to work after doing pixel 3 XL June update.
im using magisk manager 7.5.1,
safetyNet check success , crsprofile: true, basicintgrity: true
the latest magiskhide props config v5.2.6-v93
latest busybox NDK 1.31.1
Magisk Hide
MKT
google play services
is there something else im missing? to make MKT to work.
EDIT:: got fix. after installing YT Venced. i dont know how.
Any of you having issues with MKT after upgrading to android 11? Everything was working fine until I switches to Android 11 + Canary magisk, game launches, everything seems fine, then it just completely freezes like 20 seconds into gameplay while audio continues, have to kill it each time. Not sure if its android 11 that is breaking it, or Magisk canary, but havn't read any reports of the app being broken in android 11. This is on Pixel 4XL + Android 11 + Magisk Canary latest.
Weirdly, using Island seems to work, not sure what the difference is.
I have the same problem, but with Lineage 17.1 (Android 10) + Magisk 21 in a Samsung Galaxy A7 2016. Any information about it?
I was on a custom ROM that passed sn but mkt would keep freezing after 20 seconds. Turns out it was the kernel causing it
Zehlek said:
I was on a custom ROM that passed sn but mkt would keep freezing after 20 seconds. Turns out it was the kernel causing it
Click to expand...
Click to collapse
Hi, having the same issue. Have you fixed it? which custom kernel are you using that works?.
I read on another thread that deleting the twrp folder on internal storage did the trick.
For me that worked
Regards
Just found a way that is more simple and works for every "root-prof" app to run almost every app that detects root.
Requirements:
- Android 8.0+
- TWRP installed
- Magisk 20.4 beta zip
- Latest Magisk Manager apk
- safetynet-fix-1.1.0 zip (link bellow or download the attachement from thread)
- Patience (just kiddin)
Safetynet fix zip link: https://github.com/kdrag0n/safetynet-fix/releases/download/v1.1.1/safetynet-fix-v1.1.1.zip
You need to do the exact things at this order:
1: Install Magisk 20.4 beta zip in TWRP;
2: Reboot into system;
3: Go to Magisk and update the manager only (not magisk);
4: Reboot;
5: Open Magisk Manager and in the first page on the top right click on settings, scroll down and enable MagiskHide, give another name to the magisk like "Honolulu" or something (i give that name, i know is not related but, pointless);
6: Reboot;
7: Go to main screen of Magisk and check if you have the random name like md5 checksum type in "installed" line bellow magisk title in blue, and within "( )" in front saying (21405) - thats the version you need to have, and if you dont see the 4 icons from the app menu's in the middle bottom of the app like "home, root, registry, modules" - if you dont see that 4 icons tab go ahead above the page and click on "install" (in front of Magisk title in blue) chose the recomended and let it flash inside the app;
8: Reboot;
9: Go to Magisk again and go to second icon from left to right at bottom, chose the "MagiskHide" and a list of apps just pop, enable the "mario kart" and "google services" there;
10: Again go to the main screen of magisk, click on "Check SafetyNet" - it should now say Sucess, and have 2 checks and evalType BASIC all inside a blue square.
11: Go to settings of your phone and clear cache + clear data from Mario Kart and Google Services app.
12: Open magisk again and go to 4th ícon bellow at right and then select "install from storage" and find the safetynet fix 1.1.0 zip and flash it;
13: Reboot;
14: Go to your file manager and at root of your internal memory and sd card and check the TWRP folder - if the folder is empty just delete it, if you have backups from TWRP inside, just rename it.
DONE! Now you can play Mario Kart, use McDonalds app and other app's that detect root (just enable them inside magisk to hide it, otherwise it wont work).
sun_is_shinning said:
Just found a way that is more simple and works for every "root-prof" app to run almost every app that detects root.
Requirements:
- Android 8.0+
- TWRP installed
- Magisk 20.4 beta zip
- Latest Magisk Manager apk
- safetynet-fix-1.1.0 zip (link bellow or download the attachement from thread)
- Patience (just kiddin)
Safetynet fix zip link: https://github.com/kdrag0n/safetynet-fix/releases/download/v1.1.1/safetynet-fix-v1.1.1.zip
You need to do the exact things at this order:
1: Install Magisk 20.4 beta zip in TWRP;
2: Reboot into system;
3: Go to Magisk and update the manager only (not magisk);
4: Reboot;
5: Open Magisk Manager and in the first page on the top right click on settings, scroll down and enable MagiskHide, give another name to the magisk like "Honolulu" or something (i give that name, i know is not related but, pointless);
6: Reboot;
7: Go to main screen of Magisk and check if you have the random name like md5 checksum type in "installed" line bellow magisk title in blue, and within "( )" in front saying (21405) - thats the version you need to have, and if you dont see the 4 icons from the app menu's in the middle bottom of the app like "home, root, registry, modules" - if you dont see that 4 icons tab go ahead above the page and click on "install" (in front of Magisk title in blue) chose the recomended and let it flash inside the app;
8: Reboot;
9: Go to Magisk again and go to second icon from left to right at bottom, chose the "MagiskHide" and a list of apps just pop, enable the "mario kart" and "google services" there;
10: Again go to the main screen of magisk, click on "Check SafetyNet" - it should now say Sucess, and have 2 checks and evalType BASIC all inside a blue square.
11: Go to settings of your phone and clear cache + clear data from Mario Kart and Google Services app.
12: Open magisk again and go to 4th ícon bellow at right and then select "install from storage" and find the safetynet fix 1.1.0 zip and flash it;
13: Reboot;
14: Go to your file manager and at root of your internal memory and sd card and check the TWRP folder - if the folder is empty just delete it, if you have backups from TWRP inside, just rename it.
DONE! Now you can play Mario Kart, use McDonalds app and other app's that detect root (just enable them inside magisk to hide it, otherwise it wont work).
Click to expand...
Click to collapse
And if you have a Samsung device and problems with not working fingerprint there is a Samsung mod inside this thread, working without any issues here.
Regards
sun_is_shinning said:
Just found a way that is more simple and works for every "root-prof" app to run almost every app that detects root.
Requirements:
- Android 8.0+
- TWRP installed
- Magisk 20.4 beta zip
- Latest Magisk Manager apk
- safetynet-fix-1.1.0 zip (link bellow or download the attachement from thread)
- Patience (just kiddin)
Safetynet fix zip link: https://github.com/kdrag0n/safetynet-fix/releases/download/v1.1.1/safetynet-fix-v1.1.1.zip
You need to do the exact things at this order:
1: Install Magisk 20.4 beta zip in TWRP;
2: Reboot into system;
3: Go to Magisk and update the manager only (not magisk);
4: Reboot;
5: Open Magisk Manager and in the first page on the top right click on settings, scroll down and enable MagiskHide, give another name to the magisk like "Honolulu" or something (i give that name, i know is not related but, pointless);
6: Reboot;
7: Go to main screen of Magisk and check if you have the random name like md5 checksum type in "installed" line bellow magisk title in blue, and within "( )" in front saying (21405) - thats the version you need to have, and if you dont see the 4 icons from the app menu's in the middle bottom of the app like "home, root, registry, modules" - if you dont see that 4 icons tab go ahead above the page and click on "install" (in front of Magisk title in blue) chose the recomended and let it flash inside the app;
8: Reboot;
9: Go to Magisk again and go to second icon from left to right at bottom, chose the "MagiskHide" and a list of apps just pop, enable the "mario kart" and "google services" there;
10: Again go to the main screen of magisk, click on "Check SafetyNet" - it should now say Sucess, and have 2 checks and evalType BASIC all inside a blue square.
11: Go to settings of your phone and clear cache + clear data from Mario Kart and Google Services app.
12: Open magisk again and go to 4th ícon bellow at right and then select "install from storage" and find the safetynet fix 1.1.0 zip and flash it;
13: Reboot;
14: Go to your file manager and at root of your internal memory and sd card and check the TWRP folder - if the folder is empty just delete it, if you have backups from TWRP inside, just rename it.
DONE! Now you can play Mario Kart, use McDonalds app and other app's that detect root (just enable them inside magisk to hide it, otherwise it wont work).
Click to expand...
Click to collapse
Wao !! this really worked! I use miui 12 with android 11 and I always had to reset the rom to play this game, but with your solution it worked for me, thank you very much!
sun_is_shinning said:
Just found a way that is more simple and works for every "root-prof" app to run almost every app that detects root.
Requirements:
- Android 8.0+
- TWRP installed
- Magisk 20.4 beta zip
- Latest Magisk Manager apk
- safetynet-fix-1.1.0 zip (link bellow or download the attachement from thread)
- Patience (just kiddin)
Safetynet fix zip link: https://github.com/kdrag0n/safetynet-fix/releases/download/v1.1.1/safetynet-fix-v1.1.1.zip
You need to do the exact things at this order:
1: Install Magisk 20.4 beta zip in TWRP;
2: Reboot into system;
3: Go to Magisk and update the manager only (not magisk);
4: Reboot;
5: Open Magisk Manager and in the first page on the top right click on settings, scroll down and enable MagiskHide, give another name to the magisk like "Honolulu" or something (i give that name, i know is not related but, pointless);
6: Reboot;
7: Go to main screen of Magisk and check if you have the random name like md5 checksum type in "installed" line bellow magisk title in blue, and within "( )" in front saying (21405) - thats the version you need to have, and if you dont see the 4 icons from the app menu's in the middle bottom of the app like "home, root, registry, modules" - if you dont see that 4 icons tab go ahead above the page and click on "install" (in front of Magisk title in blue) chose the recomended and let it flash inside the app;
8: Reboot;
9: Go to Magisk again and go to second icon from left to right at bottom, chose the "MagiskHide" and a list of apps just pop, enable the "mario kart" and "google services" there;
10: Again go to the main screen of magisk, click on "Check SafetyNet" - it should now say Sucess, and have 2 checks and evalType BASIC all inside a blue square.
11: Go to settings of your phone and clear cache + clear data from Mario Kart and Google Services app.
12: Open magisk again and go to 4th ícon bellow at right and then select "install from storage" and find the safetynet fix 1.1.0 zip and flash it;
13: Reboot;
14: Go to your file manager and at root of your internal memory and sd card and check the TWRP folder - if the folder is empty just delete it, if you have backups from TWRP inside, just rename it.
DONE! Now you can play Mario Kart, use McDonalds app and other app's that detect root (just enable them inside magisk to hide it, otherwise it wont work).
Click to expand...
Click to collapse
hey friend, ¿can you make a video with the process please? i try make but i dont cant.
I fix the game thanks friend, I run the game with the next files..
the instruccions are: (sorry for my english)
1.- Install the Magisk Zip 21.4
2.- Install the app MagiskManager 8.0.7
3.-Install busybox module, magiskhide props
4.-Restart phone
5..- open terminal and write
su
props
.... and set your fingerprint
6.- restart the phone
7.- in the magisk manager you need activate the magiskhide and set google services and mario kart tour
8.- open magisk manager and install the module safetynet v1.1.1
9.- restart phone
10. detele the folder "twrp" in all's storage (internal and external) if have a backup renamed it.
11.- check de safety status before to run the game in the main app.
the blue screen with the text "Success" should be displayed
12.- run the game
NOTE: dont forget clear cache and data app (google services and mario kart) before to run the game
thank you very much it works fine
Thank you very much after trying a thousand options at last !!!!
Thank you.
As of yesterday (Sunday 17t Oct 2021) I now get an error 806-6502 when launching the game.
Checking the error online I find it either means Safetynet failed or app downloaded from 3rd party store (ie aptoid).
I'm using a rooted Oneplus 8 pro, Android 11 (oos 11.0.8.8) and Magsk canary 23001)
The Magik app shows Safetynet pass and I have uninstalled the MK app and reinstalled from Google play but still get the 6502 error. (Obvs the MK app is in the MagiskHide list)
Does anyone have any ideas? Obviously something has changed yesterday as I play this every day

Magisk Module Systemless Debloater

Magisk Module Systemless Debloater
Download:
GitHub - zgfg/SystemlessDebloater: Select and systemlessly debloat preinstalled system apps. Supporting up to System As Root (SAR), Dynamic partitions and Android 13. Module must be installed through Magisk app, not TWRP
Select and systemlessly debloat preinstalled system apps. Supporting up to System As Root (SAR), Dynamic partitions and Android 13. Module must be installed through Magisk app, not TWRP - GitHub - ...
github.com
GitHub - Magisk-Modules-Alt-Repo/SystemlessDebloater: Select and systemlessly debloat preinstalled system apps. Supporting up to System As Root (SAR), Dynamic partitions and Android 13. Module must be installed through Magisk app, not TWRP
Select and systemlessly debloat preinstalled system apps. Supporting up to System As Root (SAR), Dynamic partitions and Android 13. Module must be installed through Magisk app, not TWRP - GitHub - ...
github.com
Wiki pages by @ipdev:
ConfigScript
Guide for the Systemless Debloater Module. Contribute to mModule/guide_sDebloater development by creating an account on GitHub.
github.com
with his examples of apps that can be debloated (Android, Google, Oppo, Samsung, Xiaomi, LineageOS):
CommunityList
Guide for the Systemless Debloater Module. Contribute to mModule/guide_sDebloater development by creating an account on GitHub.
github.com
*** Yet another System(less) debloater, how and why?
- Systemless means that all changes made are active only when Magisk is loaded and module is enabled.
For OTA or anything, just disable the module (or boot without Magisk) and your system partitions are no more affected
- For Android up to 9 and/or 10 (depending on devices), system partitions were read-write, hence hard-debloating by use of eg TWRP, Titanium, etc (to delete the pre-installed system apps) was possible
This is no more possible for the phones released with Android 10 and higher.
System (System As Root, Dynamical partitions) becomes read-only on the file-system level and stock apps could be debloated (the same holds for any changes on the system partitions) only by the systemless approach - by use of Magisk to dynamically overlay the required changes at boot time
Hence, this module also uses the Magisk REPLACE mechanism and dynamical mounting through the module's service.sh script
- The module debloates only (stock) apps pre-installed to the system partitions, traditionally named as /system, /system-ext, /product, /vendor and /apex; plus additionally on A12 and A13 devices, variably named system partitions like /india, /my_bigball, etc
Hence sorry, to debloat user apps installed to /data, please use the other methods (first of all, just simply uninstall them or at least uninstall their updates)
- Originally I started development with Xiaomi Mi 9T (MIUI 10-12.5, Android 10-12) and later continued with Xiaomi 11 Lite 5G NE (MIUI 12-13, Android 11-12). However, the module relies on the common Magisk overlay mechanism and the list of apps to be 'debloated' is configurable hence there are many users who successfully use this module on the various other devices (like Pixel, Samsung, One Plus, etc.), with the stock or custom ROMs, and with up to Android 13
- Original, default list coming when the module is installed will be empty - user must define then himself which apps should be debloated, depending on his device, ROM and preferences
To (re)configure the list of apps for debloating, simply edit the (textual) /Download/SystemlessDebloater.cfg config file on Internal memory.
Module automatically installs the config file with instructions inside but with the empty list
(Re)configure your list of system apps you want to debloat, reinstall the module (always through the Magisk Manager, not TWRP) and reboot - to take your changes in effect
You only need to provide the proper names (not package names) for the preinstalled system apps, the module will find their exact System paths
- However, the user bears the risks and responsibility himself (device may no more boot when certain system apps are removed/debloated) but the Troubleshooting section below provides instructions how to recover, even from the bootloop cases
Nevertheless, whenever you want to 'debloat' some service or app you are not familiar with, please google first to find what that app is really about and is it generally safe to be debloated (on your but also on the other phones and even by other methods, it doesn't matter)
Don't be afraid of the module and debloating, but be cautious what are you going to debloat
*** Installation
- Download the latest module from GitHub - scroll down, open Assets and find the latest v1.5.3 zip:
https://github.com/zgfg/SystemlessDebloater/releases/tag/153
- In Magisk app (manage), open Modules tab and take Install from storage, navigate to the downloaded SystemlessDebloater.zip (as is, do not unzip)
Read what Magisk prints while installing and find the module's log in /Download/SystemlessDebloater.log file on Internal memory
To finish the installation (it applies to all Magisk modules), reboot the phone
- First time the module will not debloat anything - it will just create the input/config file /Download/SystemlessDebloater.cfg on Internal memory
Open that config file, read the instructions in the file and fill your own list of app names for debloating - look at the commented examples you will find in that config file
- Save the config file, reinstall the module and reboot.
Inspect the log and consult the Troubleshooting section below if needed
- To find what system apps you have on your phone and what are their exact names, scroll down through the SystemlessDebloater.log to the "System apps, not debloated" section
Find e.g. a line:
/system/app/Email (com.android.email)
Then copy/add just the Email name (supposed that you want to debloat the built-in Email app) into the SystemlessDebloater.cfg config file
Repeat for the other apps you want to debloat. Then reinstall the module (only on the reinstallation, module processes the config file) and reboot
Fine tune your list of apps for debloating but every time reinstall the module and reboot
- Last but not the least: Once debloated, apps can no more be found (until you reconfigure, disable or uninstall the debloater) under the Settings / Apps
Hence, if you want to delete their cache or data, do Clear cache/data before debloating the apps
Moreover, before trying to debloat any app, look first if you could simply Uninstall that app (ie, if it was a user and not the system app) from Settings / Apps
If Uninstall is not available for that app, try to Uninstall updates: updates are also installed to Data while SystemlessDebloater 'debloats' only from the System - hence the app's update on Data may still remain there
*** Troubleshooting
- What if I eg have configured the app EMail to debloat, but the app is still present?
Check if you have missed to perform Uninstall / Uninstall updates from Settings, Apps - perform, reboot and test again
Check if you have miss-spelled the application name - correct in the config file SystemlessDebloater.cfg, save, reinstall the module and reboot
App names are cases sensitive - eg, the correct name might be Email, not EMail
- To help yourself, use eg Package Manager app (from Playstore) where you can search for all the apps/services, find their exact names and installation paths (to see are them System or User apps)
- What if I change my mind and I want to un-debloat and use Email, but to debloat now eg, Chrome browser?
No problem, reconfigure the list in SystemlessDebloater.cfg, save, reinstall the module and reboot
- What if after a week or so, I realize that some functionalities on the phone were affected?
Sorry, you had decided to debloat the 'wrong' apps/services
Google about which app(s) are safe to debloat or not, reconfigure your list in the config file, reinstall the module and reboot
Or disable the module and reboot, to figure out was the problem really due to debloating
- Oops, what if I have a bootloop (phone does no more boot since the 'wrong' apps were debloated)?
If you have TWRP with the read/write access to Data, navigate to /data/adb/modules/SystemlessDebloater and by using Advanced / File explorer from TWRP, create a dummy file named disable (without extension) in that folder
Reboot and Magisk will boot but with the debloater disabled - hence, all the previously debloated apps will be un-debloated now (to see if debloating was really responsible for the bootloop)
Instead of dummy file named disable, put the remove dummy file to trigger Magisk to uninstall that module on the next reboot (all that applies to any module possibly causing your bootloops)
If the proper TWRP is not available for your device and ROM, boot to the Android Safe Mode - google for a key-combo to boot in, for my Xiaomi it takes (re)booting with Vol+ and Vol+ pressed simultaneously
Don't do anything in Android Safe mode but reboot then to 'normal' mode - Magisk will boot now with all the modules disabled (this method does not work for Magisk v20.4 or earlier)
You will have to re-enable MagiskHide/DenyList (don't worry, your list of apps to hide the Magisk from was not lost), re-enable the other modules, correct SystemlessDebloater.cfg, reinstall debloater and reboot
There is also a third method (adb wait-for-device shell magisk --remove-modules), but search yourself and read about from the Wiki Documentation on the Magisk GitHub page
*** Enough for the theory, install now and practice debloating
IMPORTANT
Since the version v1.5.1, SystemlessDebloater module supports a new SystemlessDebloater.cfg config file - thanks to @ipdev
Update will create the new config file and transfer your DebloatList
Please delete then your old SystemlessDebloaterList.sh input file and read and use the new config file instead
---
For more info about the SystemlessDebloater.cfg config file, please see: Wiki pages from @ipdev:
ConfigScript
Guide for the Systemless Debloater Module. Contribute to mModule/guide_sDebloater development by creating an account on GitHub.
github.com
and his examples what apps can be debloated (Android, Google, Oppo, Samsung, Xiaomi, LineageOS):
CommunityList
Guide for the Systemless Debloater Module. Contribute to mModule/guide_sDebloater development by creating an account on GitHub.
github.com
On my Xiaomi Mi 9T, eea Stable QFJEUXM 12.0.2 I safely debloat the following apps:
Code:
DebloatList="
AnalyticsCore
AntHalService
BasicDreams
BookmarkProvider
CatchLog
Chrome
CneApp
EasterEgg
facebook-appmanager
facebook-installer
facebook-services
FileExplorer_old
GlobalFashiongallery
GlobalMinusScreen
Gmail2
GoogleFeedback
GooglePartnerSetup
HybridAccessory
HybridPlatform
IdMipay
InMipay
Joyose
MiBrowserGlobal
MiBrowserGlobalVendor
MiCreditInStub
MiDrop
MiLinkService2
MiPicks
MiPlayClient
MiRcs
MiRecycle
MiService
MiuiBrowserGlobal
MiuiBugReport
MiuiDaemon
MSA-Global
Netflix_activation
Notes
PartnerBookmarksProvider
PaymentService
PhotoTable
Stk
TouchAssistant
Traceur
Turbo
uceShimService
Velvet
VsimCore
wps_lite
YellowPage
Zman"
E.g., I debloat YouTube and install Vanced YT root.
Similarly, I debloat GMail, Wellbeing, Netflix, Facebook, Turbo, etc - inspect and exclude from the list those apps you want to keep
Also, DebloatList I used for Mi 9T but Xiaomi.eu weekly 20.9.17 (MIUI 12, Android 10):
Code:
DebloatList="
AndroidAutoStub
AntHalService
BookmarkProvider
Browser
BTProductionLineTool
Calculator
CatchLog
CneApp
EasterEgg
Email
GoogleFeedback
GooglePartnerSetup
Health
Joyose
Lens
MiMover
MiPlayClient
MiRecycle
MiService
MiuiBugReport
MiuiDaemon
Notes
PaymentService
Stk
TouchAssistant
Traceur
uceShimService
Velvet
VsimCore
WebViewGoogle
wps_lite"
and for Xiaomi.eu Stable 12.0.6:
Code:
DebloatList="
AndroidAutoStub
AntHalService
BookmarkProvider
Browser
BTProductionLineTool
Calculator
CatchLog
CneApp
EasterEgg
Email
GoogleFeedback
GooglePartnerSetup
Health
Joyose
Lens
MiMover
MiPlayClient
MiRecycle
MiService
MiuiBugReport
MiuiDaemon
Notes
PaymentService
Stk
TouchAssistant
Traceur
uceShimService
Velvet
VsimCore
WebViewGoogle
wps-lite"
You may exclude e.g., Calculator,Email, Health or Lens, if you want to use them.
You can expect most of these apps also on the other MIUI firmwares. Installation folders on System may vary, but module will find their paths
EDIT:
SystemDebloaterList.sh and DebloatList were used in the module versions v1.5.0 and earlier, since v1.5.1 the module uses SystemDebloater.cfg
Thanks a lot to @ipdev for discussing and sharing ideas, encouraging and for successful testing on Xiaomi Poco F2 (debloater found most of the same MIUI apps as above) and OnePlus 5T
Also, thanks for your successful test on Pixel 3aXL with Android 11:
ipdev said:
Works on Pixel 3aXL. (Stock Android 11. Magisk canary.)
Attached the SystemlessDebloater.log from 3aXL.
And the SystemlessDebloaterList.sh I use for testing. (remove the .txt)
Click to expand...
Click to collapse
Reserved
Over the weekend when I have time to fix any potential bricking or boot loops, I'm going to try this on my A/B device (One Plus 7Pro, GM1917, OOS 10.3.5) ... unless before then anyone indicates that this is not even likely to work on my phone.
If I end up doing this, I'll report my results.
.​
HippoMan said:
Over the weekend when I have time to fix any potential bricking or boot loops, I'm going to try this on my A/B device (One Plus 7Pro, GM1917, OOS 10.3.5) ... unless before then anyone indicates that this is not even likely to work on my phone.
If I end up doing this, I'll report my results.
.​
Click to expand...
Click to collapse
It does not matter if it system-as-root or a slot device.
By time modules are run, system paths are set.
The active slot partition is running, and (if needed) switch root has happened.
Root directory is set to / and system directory is set to /system
curious about OxygenOS, do not run it very much so I am not sure what should/could be removed.
Cheers.
PS.
Works on Pixel 3aXL. (Stock Android 11. Magisk canary.)
Attached the SystemlessDebloater.log from 3aXL.
And the SystemlessDebloaterList.sh I use for testing. (remove the .txt)
Quick edit.
Since the back-side move for xda is still going, there are some errors while in transition.
Since attachment is not working at the moment. GoogleDrive - Link
ipdev said:
It does not matter if it system-as-root or a slot device.
By time modules are run, system paths are set.
The active slot partition is running, and (if needed) switch root has happened.
Root directory is set to / and system directory is set to /system
curious about OxygenOS, do not run it very much so I am not sure what should/could be removed.
Cheers.
PS.
Works on Pixel 3aXL. (Stock Android 11. Magisk canary.)
Attached the SystemlessDebloater.log from 3aXL.
And the SystemlessDebloaterList.sh I use for testing. (remove the .txt)
Click to expand...
Click to collapse
OxygenOS isn't as bad, bloat-wise, as some other OS's, such as what comes with Samsung. But there are still things that I don't want, such as the OnePlus camera and a few other items.
I'll report back here after I try this.
.​
ipdev said:
It does not matter if it system-as-root or a slot device.
By time modules are run, system paths are set.
The active slot partition is running, and (if needed) switch root has happened.
Root directory is set to / and system directory is set to /system
curious about OxygenOS, do not run it very much so I am not sure what should/could be removed.
Cheers.
PS.
Works on Pixel 3aXL. (Stock Android 11. Magisk canary.)
Attached the SystemlessDebloater.log from 3aXL.
And the SystemlessDebloaterList.sh I use for testing. (remove the .txt)
Click to expand...
Click to collapse
Thank you for testing on A11.
Log cannot be downloaded, 404?
zgfg said:
Thank you for testing on A11.
Log cannot be downloaded, 404?
Click to expand...
Click to collapse
Looks like some more hiccups on xda back-side again.
Will be nice once the transition is complete, xda will be fast and stable again. :fingers-crossed:
Updated my prior post with a gDrive Link.
If you look at the log, you will notice chrome is not debloated.
The stub is debloated, Chrome (Think it is in product/app) is a gzip version of the Chrome apk.
Chrome is automatically installed into /data/app/HashStringOrSomething/com.android.chrome-HashStringOrSomething/Chome.apk
I have not taken time to look into that change.
Cheers.
ipdev said:
Looks like some more hiccups on xda back-side again.
Will be nice once the transition is complete, xda will be fast and stable again. :fingers-crossed:
Updated my prior post with a gDrive Link.
If you look at the log, you will notice chrome is not debloated.
The stub is debloated, Chrome (Think it is in product/app) is a gzip version of the Chrome apk.
Chrome is automatically installed into /data/app/HashStringOrSomething/com.android.chrome-HashStringOrSomething/Chome.apk
I have not taken time to look into that change.
Cheers.
Click to expand...
Click to collapse
Interesting - what happens when you debloat Chrome-Stub from Product and leave Chrome on Data, does it still run?
Btw, I do use Chrome (because of the integrated translator, making me easy to sometimes read worldwide forums if needed) and I didn't want to debloat originally. However, my preinstalled version on Product was not the latest, and Google Play was offering me to update, but updating Chrome was always failing.
I downloaded the apk from ApkMirror but installation had also failed
Then I debloated (at that time, prior to this debloater I used to manually create my system folder given to Magisk to overlay, and with dummy apk instead of with .replace file) and only then I was able to install Chrome apk (ofc to Data) and since then, to regularly update it through Playstore
One more thing. I've found some people claiming that Chrome breaks to run if Playstore shows Device is not certified.
But back in the spring when Google started to play with enforcing CTS Profile Hardware attest, and prior than @Displax invented ro.product.model spoofing (to force Basic attest and to pass CTS/SafetyNet, to get Device certified), my CTS was failing and Device was not Certified but I had no problems using Chrome on daily basis
---
Also, you have PrebuiltGmail and Music2, I had Gmail2 and FileExplorer_old (I had to use Package Manager to find that Gmail was installed as Gmail2/Gmail2.apk and similarly the Android FileExplore as FileExplorer_old.apk)
Btw all Mi* and Miui* stuff apply only for debloating Xiaomi
In your input list you have lite and wps (both are not found in the log), mine was wps_lite (WPS preinstalled to Vendor) - please check
zgfg said:
Interesting - what happens when you debloat Chrome-Stub from Product and leave Chrome on Data, does it still run?
Btw, I do use Chrome (because of the integrated translator, making me easy to sometimes read worldwide forums if needed) and I didn't want to debloat originally. However, my preinstalled version on Product was not the latest, and Google Play was offering me to update, but updating Chrome was always failing.
I downloaded the apk from ApkMirror but installation had also failed
Then I debloated (at that time, prior to this debloater I used to manually create my system folder given to Magisk to overlay, and with dummy apk instead of with .replace file) and only then I was able to install Chrome apk (ofc to Data) and since then, to regularly update it through Playstore
One more thing. I've found some people claiming that Chrome breaks to run if Playstore shows Device is not certified.
But back in the spring when Google started to play with enforcing CTS Profile Hardware attest, and prior than @Displax invented ro.product.model spoofing (to force Basic attest and to pass CTS/SafetyNet, to get Device certified), my CTS was failing and Device was not Certified but I had no problems using Chrome on daily basis.
Click to expand...
Click to collapse
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.
zgfg said:
Also, you have PrebuiltGmail and Music2, I had Gmail2 and FileExplorer_old (I had to use Package Manager to find that Gmail was installed as Gmail2/Gmail2.apk and similarly the Android FileExplore as FileExplorer_old.apk)
Btw all Mi* and Miui* stuff apply only for debloating Xiaomi
In your input list you have lite and wps (both are not found in the log), mine was wps_lite (WPS preinstalled to Vendor) - please check
Click to expand...
Click to collapse
No harm checking for apps that do not exist on the device.
It may cause extra lines in the log file and one or two seconds of install time.
My bad.
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 ] 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.
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..
ipdev said:
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.
It may cause extra lines in the log file and one or two seconds of install time.
My bad.
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 ] 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.
Click to expand...
Click to collapse
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)
HippoMan said:
Over the weekend when I have time to fix any potential bricking or boot loops, I'm going to try this on my A/B device (One Plus 7Pro, GM1917, OOS 10.3.5) ... unless before then anyone indicates that this is not even likely to work on my phone.
If I end up doing this, I'll report my results.
Click to expand...
Click to collapse
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!
zgfg said:
...
Btw, if you use MiXPlorer and choose Tools, App Remnants, you can see /data/data folders for debloated apps (and you can remove them)
Click to expand...
Click to collapse
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.
.​
zgfg said:
Pixel comes with only G stuff but interestingly, without Wellbeing
Click to expand...
Click to collapse
Don't worry, Google would not forget to bundle it.
Digital wellbeing is named WellbeingPrebuilt.
package: name='com.google.android.apps.wellbeing'
I just did not add it to the debloat list.
zgfg said:
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?
Click to expand...
Click to collapse
Velvet is Google.
package: name='com.google.android.googlequicksearchbox'
As far as I know, Velvet is the bundled and/or GApps name used.
Cheers.
HippoMan said:
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..​
Click to expand...
Click to collapse
Just a short question - you have A11 on your OnePlus 7Pro?
zgfg said:
Just a short question - you have A11 on your OnePlus 7Pro?
Click to expand...
Click to collapse
One Plus 7Pro, GM1917, OOS 10.3.5 ... as I mentioned above OOS 10.x is A10.
.​
zgfg said:
Interesting - what happens when you debloat Chrome-Stub from Product and leave Chrome on Data, does it still run?
Btw, I do use Chrome (because of the integrated translator, making me easy to sometimes read worldwide forums if needed) and I didn't want to debloat originally. However, my preinstalled version on Product was not the latest, and Google Play was offering me to update, but updating Chrome was always failing.
I downloaded the apk from ApkMirror but installation had also failed
Then I debloated (at that time, prior to this debloater I used to manually create my system folder given to Magisk to overlay, and with dummy apk instead of with .replace file) and only then I was able to install Chrome apk (ofc to Data) and since then, to regularly update it through Playstore
Click to expand...
Click to collapse
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.
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
Can somebody dhare his debloat app list? Or the best, .sh file? İt would be great

Categories

Resources