Question Need Strict Debloater - Xiaomi 11T Pro

Hi Guys,
Need Strict Debloater for Mi 11tpro
Tried several but on each boot its repeating or system space is not getting released any suggestion
Tried:
Magisk Module Systemless Debloater (REPLACE)
Universal Android Debloater
Still badluck, on every restart of phone everything comes back

djkrish5610 said:
Hi Guys,
Need Strict Debloater for Mi 11tpro
Tried several but on each boot its repeating or system space is not getting released any suggestion
Tried:
Magisk Module Systemless Debloater (REPLACE)
Universal Android Debloater
Still badluck, on every restart of phone everything comes back
Click to expand...
Click to collapse
I think "Xiaomi ADB/Fastboot Tools" is a great option for debloating ->
Note: This project is outdated and no longer maintained.
A simple tool for managing Xiaomi devices on desktop using ADB and Fastboot
szaki.github.io
You can disable or uninstall unwanted apps for the current user. There is absolutely no reason to hard delete bloatware nowadays.

LS.xD said:
I think "Xiaomi ADB/Fastboot Tools" is a great option for debloating ->
Note: This project is outdated and no longer maintained.
A simple tool for managing Xiaomi devices on desktop using ADB and Fastboot
szaki.github.io
You can disable or uninstall unwanted apps for the current user. There is absolutely no reason to hard delete bloatware nowadays.
Click to expand...
Click to collapse
it always give me Java error, which is difficult to resolve sometimes.

djkrish5610 said:
it always give me Java error, which is difficult to resolve sometimes.
Click to expand...
Click to collapse
I'm using Java 11 SDK for it:
Java JDK
The Java JDK lets you develop and deploy Java applications on desktops and servers. Java offers the rich user interface, performance, portability, and security that today's applications require.
www.techspot.com

Hello guys.. maybe here you can help me. I use java debloat and everything was ok. But by mistake i have deleted an important app( don't know witch one) and now my phone animation are not smooth. They are really sharp kind of annoying. Does anyone know the name of the app that can fix this??

MIUIes | ADB
adb.miuies.com

LS.xD said:
I think "Xiaomi ADB/Fastboot Tools" is a great option for debloating ->
Note: This project is outdated and no longer maintained.
A simple tool for managing Xiaomi devices on desktop using ADB and Fastboot
szaki.github.io
You can disable or uninstall unwanted apps for the current user. There is absolutely no reason to hard delete bloatware nowadays.
Click to expand...
Click to collapse
Also using this, work a treat.

Nikøs said:
Hello guys.. maybe here you can help me. I use java debloat and everything was ok. But by mistake i have deleted an important app( don't know witch one) and now my phone animation are not smooth. They are really sharp kind of annoying. Does anyone know the name of the app that can fix this??
Click to expand...
Click to collapse
If the reinstall feature doesn't work, you can factory reset your device and everything will be back to stock. Are you sure that uninstalling of system app causes the problem? May be you changed some settings in the developer options...

LS.xD said:
If the reinstall feature doesn't work, you can factory reset your device and everything will be back to stock. Are you sure that uninstalling of system app causes the problem? May be you changed some settings in the developer options...
Click to expand...
Click to collapse
I think this happen after debloat.. but yeah doesn't make too much sense an app causing this.. And i don't really want factory reset . So probably i will check developer options maybe im lucky and the problem is there.
edit*
-Problem solved by just disable and enable developer options . Thanks a lot mate

Hey guys
So i wanted to yeet com.mi.android.globalFileexplorer
cuz its bad and wasn t giving me any recent files so i could attach on email
so i debloted it using the above tool you guys mentioned
On my old phone whenever i used attach function on email it used to open that blue icon files app which doesn t have nay skin
Anyway to use that for email attachment or for all purposes
Also this com.mi.android.globalFileexplorer this app can't access android/data and android/obb folder, i even enabled all permisions for it
Please Help
Thank You

Related

[Script] Safe bloat removal script (50+ apps) [UPDATED 9/1/2011]

There's been a lot of speculation on what can and can't be removed as well as how to remove them without causing force-closes, boot loops, and other headaches. So I wrote this script that will let you disable all of the bloat with none of the hassle.
After a few prompts to find out if there's anything you want to keep that can't be replaced in the market, it will do its magic -- renaming files to a .bak extension so they are no longer recognized by Android. This will cause some system services to fail and force-close loop until you reboot (and the script reboots for you). Also included is a script that will undo all of this.
If you select every option, including the default launcher and text messaging apps (which are confirmed safe to remove without losing SMS or MMS ability or push notifications), then here's the list of apps removed:
AdService.apk, android-syncservice-app.apk, ArcVideoEditorLite.apk, BackupAssistanceClient.apk, Blockbuster.apk, BlurHome2.apk, BlurSNMessagingEngine.apk, BlurTasks.apk, BlurUpdater_VZW.apk, BooksPhone.apk, CitrixReceiver.apk, CityID.apk, Conversations.apk, DLNA.apk, DlnaSystemService.apk, FriendFeed.apk, gotomeeting-stub-1.0.74.apk, GuidedTours.apk, HelpCenter.apk, IMPresence.apk, IndexingService.apk, Kindle.apk, MessagesWidget.apk, Messaging.apk, MOTOPRINT.apk, MSExchangeService.apk, MyVerizon.apk, NewBayVault_4.2.99.36.Market.apk, NFLMobile.apk, OnlineAlbum.apk, PhotoEditor.apk, PortalStandAlone.apk, Preloaded.apk, RichLocationVzW.apk, SkypeBourbon.apk, Slackerradio.apk, SocialMessaging.apk, SocialShare.apk, StatusWidget.apk, SuggestionsProvider.apk, SuggestionsRuleCheckerCore.apk, SuggestionsServiceScheduler.apk, Swype.apk, ToggleWidgets.apk, UniversalInbox.apk, Upgrader.apk, VCAST_TONES_4_5_7.apk, VCASTMusic.apk, VCASTVideo.apk, VSuiteApp.apk, vzw_vnav_DROID3_rel_PROD_signed.apk, VZWIM.apk, VZWInstaller.apk, WeatherWidget.apk, ZumoCast_1.0.17.apk
Make sure you run these scripts using Script Manager or a comparable app and be sure to enable it to run as root or it won't have permission to make changes to /system/app.
This is version 1 of the scripts -- if any of the apps removed wind up causing problems or more are found, I'll add it to the list. I've tested the scripts back and forth myself and have tested it as much as I can without finding any issues. Also, some apps are removed without asking, such as ZumoCast or VCAST or NFL Mobile. You can find these apps in the market, so there's no point keeping them locked down in system.
Enjoy! Comments are welcome.
UPDATE 9/1/2011: fixed a typo in one of the variables (thanks everyone who reported this), added more options to keep (Swype and Car Dock Voice Commands), split into two versions -- one for the stock 5.5.959 build and 5.6.890 update (late August OTA), added a warning about removing the home screen without a launcher and that it removes the Calendar widget.
Great, but maybe it would be nice to make a y/n option for each .apk where it asks you if you want to delete that apk
script
instructions for use?
thanks
DoubleYouPee said:
Great, but maybe it would be nice to make a y/n option for each .apk where it asks you if you want to delete that apk
Click to expand...
Click to collapse
You shouldn't delete them -- we don't have an SPF yet. Someone posted the complete /system/app contents and you could restore, technically, manually, but it's a bad idea. Renaming to a .bak is completely effective.
lodisax said:
instructions for use?
Click to expand...
Click to collapse
Read the post.
You'll want to use Script Manager -- unzip the two scripts to your SD card (internal or external), launch Script Manager (free version is fine), find the script and click it, then tick on 'root' and then run the script. Follow the prompts from there.
script
thanks for the answer
psouza4 said:
You shouldn't delete them -- we don't have an SPF yet. Someone posted the complete /system/app contents and you could restore, technically, manually, but it's a bad idea. Renaming to a .bak is completely effective.
Click to expand...
Click to collapse
Yeh sorry that's what I meant.. Option to y/n rename the apk.
I'd like to use the script once I get my droid 3 but would like to 'keep' some of the apks.
DoubleYouPee said:
Yeh sorry that's what I meant.. Option to y/n rename the apk.
I'd like to use the script once I get my droid 3 but would like to 'keep' some of the apks.
Click to expand...
Click to collapse
There's Y/N for anything you'd want to keep. About 6-7 questions in total. Anything that you can't find in the market that isn't definitely bloat has a prompt.
script
script manager that you use?
I use script manager and asked me if I want to remove each apk or not.
There is a script manager that does everything automatically?
thanks for the answer
lodisax said:
script manager that you use?
I use script manager and asked me if I want to remove each apk or not.
There is a script manager that does everything automatically?
thanks for the answer
Click to expand...
Click to collapse
Please read the thread thoroughly -- I'm going to ignore obvious questions like these.
psouza4 said:
There's Y/N for anything you'd want to keep. About 6-7 questions in total. Anything that you can't find in the market that isn't definitely bloat has a prompt.
Click to expand...
Click to collapse
So what if I wanna keep DLNA, photoeditor and socialmessaging?
DoubleYouPee said:
So what if I wanna keep DLNA, photoeditor and socialmessaging?
Click to expand...
Click to collapse
Then answer 'Y' to the prompts asking if you want to keep 'DLNA' or 'social messaging'. There are plenty of photo editors in the market, so there's no prompt on that (although if you were so inclined, you could just rename the .BAK's back to their original files). I feel you haven't actually looked at the script or read my post.
psouza4 said:
I've tested the scripts back and forth myself and have tested it as much as I can without finding any issues. Also, some apps are removed without asking, such as ZumoCast or VCAST or NFL Mobile.
Click to expand...
Click to collapse
I think the ultimate test is to do factory reset and see how device will go through initialization stage. It can be surprises which are not noticeable during normal use. Without this it is kind of premature to say what is safe to delete and what is not.
serg675 said:
I think the ultimate test is to do factory reset and see how device will go through initialization stage. It can be surprises which are not noticeable during normal use. Without this it is kind of premature to say what is safe to delete and what is not.
Click to expand...
Click to collapse
Ehh I agree with you to a point, because i made the very noobish mistake of uninstalling bloat that i knew would not effect daily use; however, I did a factory reset to test a theory for krazy and learned that something I uninstalled makes the setup process FC and wont let you get to the blur launcher, luckily other launchers work and I was able to batch install via adb.
Thing is though is if the phone reboots when this stuff is renamed then it will survive a factory reset, though it may do the same thing mine has done. If it does its no big deal to load up adb and rename the files back so that you can complete the setup.
You forgot the World Clock widget in your removal script; the only clock that thinks it needs a permanently-resident service, regardless of whether it's running or not.
Xenoproctologist said:
You forgot the World Clock widget in your removal script; the only clock that thinks it needs a permanently-resident service, regardless of whether it's running or not.
Click to expand...
Click to collapse
That messes with the dock though, so I don't consider it bloat.
I know its a lot to ask... but can someone either create a comprehensive list of what each one actually does... or point us in a direction to where there already is one?
Sent from my DROID3 using Tapatalk
Seirÿu said:
I know its a lot to ask... but can someone either create a comprehensive list of what each one actually does... or point us in a direction to where there already is one?
Click to expand...
Click to collapse
Open the script in a text editor and read my comments -- it gives each one a title.
@psouza4 - nice work, it's about time someone took a more organised approach to figuring out what apks are safe to remove.
I tried to get a similar effort going here :-
http://forum.xda-developers.com/showpost.php?p=17004394&postcount=11
but the way people behave on this forum, it's like trying to herd cats.
thingonaspring said:
@psouza4 - nice work, it's about time someone took a more organised approach to figuring out what apks are safe to remove.
I tried to get a similar effort going here :-
http://forum.xda-developers.com/showpost.php?p=17004394&postcount=11
but the way people behave on this forum, it's like trying to herd cats.
Click to expand...
Click to collapse
Thanks!
Couple of notes, too:
It was asked in IRC why I'm removing 'android-syncservice-app.apk'. This service is the extra backup stuff that Verizon added on (as evidenced inside the package in /assets/system.properties you'll find several references to verizon servers for sync, like sm_connection_url=http://syncba.myvzw.com/syncml). This service doesn't do anything beneficial for you unless you really have a hard-on for Verizon's sync stuff. I've had it disabled since we achieved root and it has no affect on account sync services (contacts, gmail, calendar, reader, etc.) nor SMS/MMS push notifications, etc.
Also, a fellow PM'd me saying he got errors that variable names were invalid -- turns out he had edited the script in Windows, saved it, and that broke the UNIX-style line endings. If you're going to modify the script, use Notepad++, UltraEdit, or something that will maintain the correct line endings. Or just use an editor on the phone, such as in Root Explorer.
Thanks a bunch man, works great. About to run a benchmark to see the results!

custom Rom or change of 4.4.2.Retail.EU

Hello,
I'm a beginner lost in reading all the useful information on this forum.
I started with the idea to reduce the permissions of applications of my Razr I.
Google pointed to this http://www.xda-developers.com/protecting-your-privacy-app-ops-privacy-guard-and-xprivacy/
And I'm really happy and surprised about all information I can find here, thank you that much for
making this possible to all of you!
As today I feel ready to start playing around with my phone I wanted to ensure I understood the items right.
May be for you it takes only some seconds to verify my guess and can give a short notice
about Step 2 or 3 is easier to become implemented.
Step 1.) I wanted to do a full backup before I start, following this thread:
So I'll install ADB on my PC and run "adb backup -f FullBackup.ab -apk -all"
This works on a Razr I with 990.43.74.xt890.Retail.en.EU - of the shelf and is not risky at all - or?
Could you pls. tell whether it is really true I can switch back to my backup if I'm not happy with my System?
Step 2.) My first intention was to root my device and install Xposed framework
http://forum.xda-developers.com/showthread.php?t=2299428
http://repo.xposed.info/module/de.robv.android.xposed.installer
And to use Permission Master out from google play store
First of all I wanted to ask you whether this is feasible technicaly and esp. for a beginner?
Alternative to Step 2 Step 3?
Step 3.) In general I'm happy with my Razr I Android 4.4.2 (990.43.74.xt890.Retail.en.EU)
But I'm wondering whether it would be easier or has less risk to use a custom ROM instead of implementing Step 2.
By reading in this forum I found out there is a planty of features FM-Radio, enhanced stand-by current ,
to get rid of preinstalled aps and so on.
I'm an embedded developer but do not have the overview about the architecture of Android devices, what I got so far is:
There is a bootloader which needs to be changed from OEM closed to open.
There is a boot partition I flash ROMs in.
I need some tools on my PC combined with SDK and Motorola drivers to allow a USB-Debuging and flashing.
And sure as always once your bootloader is damaged you are lost, so I understand even backup will not help here.
So I'll keep my fingers crossed.
Thanking you in anticipation and pls accept my excuses about my english and stupid beginners questions.
Best Regards
gonso
PS:
As I main entry point I used the
http://forum.xda-developers.com/razr-i/general/index-razr-t2832722
from there I'll try to get ADB, drivers etc.
Hi GonsoXDA,
Step 1: I have never used it. Didn't even know that it existed. On the internet there are numerous people who uses it and it seems to work. Maybe someone else can give some info about this or just try it. U can try it with a non-important app and see if it works. Just backup it, delete it and restore it.
Step 2: This works just fine. But do know 3 things:
1. First root: To get root on stock rom, u need to use kingsdroot methode afaik. And that one sends your IMEI to some rare ip adress. I personnaly don't trust this and stay away from it, but there are many people who use it.
2. Xposed requires a recovery to install the framework. It can be done mannually or by the app i suppose. With only root u don't have a recovery on your device that can perform such action.
3. If something goes wrong only a full restore with RSD-Lite can most of the time help u out. Because u don't have a recovery that works than.
Step 3: We only have 2 full roms. 1 for JB (stock) and a working CM11 rom (kitkat).
Only the Jellybean roms support fm-radio, on every newer rom fm-radio is cut out of the audio firmwares. The risk of going to this is even less as Step 2, because u can do a full backup and restore of ur phone. ( I would chose for this if u want to play a bit with the phone and ur warranty is already out of years)
The gereneral idea about the android architecture is this (it is different for almost every device and the Razr I has many more thing to hold into account, but if u are here only for the roms and xposed, there is no more to know):
Bootloader: Is like an uefi bios for PC, but then for android. It also contains fastboot
Bootimage(boot): Has all the info like kernel and ramdisk to boot the system
Recovery: Is like 'boot', but boots into the recovery partition that lets u change every aspect of the device if u know how. Its mainly used to flash a custom recovery to, backup and restore a nandroid backup and flash/wipe roms, mods, (all/specific) data and packages.
Systempartition: Is the system the boot boots into. It's android.
Datapartition: Where all the user data is stored.
Cachepartition(dalvik): Where all cache is stored and in earlier android versions also dalvik. But not now anymore.
Fastboot: To flash/wipe the above partitions and many more (needs drivers)
Adb: To push, pull, command things in system or recovery (needs drivers)
Sdk: contain the abd and fastboot packages, but aren't needed for adb and fastboot because with the right drivers can work on there own (see the internet)
If u have a custom recovery and only change things on the system, data and cache partition there is almost no way to damage the phone. There is always a backup through recovery. As long as u stick to the things u can do in recovery.
The only thing tha can mesh up your phone beyond repair is doing wrong stuff withint the bootloader and other inner parts in the phone(like i did to get newer kernel working) or u are in bad luck and you internal memory blocks. See 'Super brick samsung phones' (emmc error).
I suggest:
- Unlock your bootloader
- Install custom recovery
- Make a backup with the recovery
- Do what u want, xposed on stock rom, try CM11?
- If things won't boot, restore through recovery
And always, read up before doing anything. There are thousands of articles about android, flashing things, repairing android, using adb and fastboot. AND ALWAYS HAVE A BACKUP PLAN!
Hello,
always having a backup seems not to be that easy.
So I unlocked my boot loader and tried to install twrp2850 and twrp2860 via mfastboot.
The mfastboot with 533.353kB caused the following "(bootloader) Variable not supported!"
I rebooted into bootloader and tried recovery -> horizontal Android man with a red !-rectangle
After reboot to normal power up my phone seems to be in factory reset, all my data is gone :crying:
ok crying dosn't help so I looked around and tried with another mfastboot 186.178kB and recoverycwm6.0.5.1.4.img.zip
http://forum.xda-developers.com/showthread.php?t=2441224
The twrp I tooked from here: http://forum.xda-developers.com/showthread.php?t=2278483 seems not to work.
I did a backup with cwm is there a change to get back my data? I think I know the answer.
In the meanwhile I installed
http://forum.xda-developers.com/razr-i/development/rom-unofficial-cyanogenmod-11-t2966855
And will try to install
http://forum.xda-developers.com/xposed/modules/tool-installer-xposed-installer-zenfones-t2983589
Thank you for the help, work and excuse the stupid beginner posts.
Regards
gonso
gonsoXDA said:
Hello,
always having a backup seems not to be that easy.
So I unlocked my boot loader and tried to install twrp2850 and twrp2860 via mfastboot.
The mfastboot with 533.353kB caused the following "(bootloader) Variable not supported!"
I rebooted into bootloader and tried recovery -> horizontal Android man with a red !-rectangle
After reboot to normal power up my phone seems to be in factory reset, all my data is gone :crying:
ok crying dosn't help so I looked around and tried with another mfastboot 186.178kB and recoverycwm6.0.5.1.4.img.zip
http://forum.xda-developers.com/showthread.php?t=2441224
The twrp I tooked from here: http://forum.xda-developers.com/showthread.php?t=2278483 seems not to work.
I did a backup with cwm is there a change to get back my data? I think I know the answer.
In the meanwhile I installed
http://forum.xda-developers.com/razr-i/development/rom-unofficial-cyanogenmod-11-t2966855
And will try to install
http://forum.xda-developers.com/xposed/modules/tool-installer-xposed-installer-zenfones-t2983589
Thank you for the help, work and excuse the stupid beginner posts.
Regards
gonso
Click to expand...
Click to collapse
Than u know the answer, it is no I think.
Both twrp images should work just fine, but always chose the latest. The message "(bootloader) Variable not supported!" doesn't do anything So don't worry about that one. There should be a lot more in you log that the message if twrp didn't install. U did extract it and flash it with the command: mFastboot flash recovery <recovery-image>. Where <recovery-image> could be C:/users/*/Downloads/recovery.img.
Hello,
yes sure "The secret of health for both mind and body is not to mourn for the past, worry about the future"
So I use CM11 now for about 2 days and I'm really impressed, so far everything works :good: THANK YOU!!!
As I asked already I installed XPosed and Permission Manager, but I found XPrivacy might be the better solution and switched to this.
(Today I do not have all the technical background to judge whether it is technically equivalent, but I'll investigate on it)
Esp. one thing I'm wondering, why XPrivacy is reading my Contacts once I check the permissions of an app?
But the more important thing I recognized differences between CM11 and the Stock ROM. One is the Entry
"Privacy" in the settings. It seems to be more or less the XPosed and XPrivacy, or?
But it seems the Restrictions are not shared, so I can restrict in the one and do not see the restriction in the other tool.
So first is there a risk to use both, is it useful or just doing the same twice.
Thank you
Gonso
gonsoXDA said:
Hello,
yes sure "The secret of health for both mind and body is not to mourn for the past, worry about the future"
So I use CM11 now for about 2 days and I'm really impressed, so far everything works :good: THANK YOU!!!
As I asked already I installed XPosed and Permission Manager, but I found XPrivacy might be the better solution and switched to this.
(Today I do not have all the technical background to judge whether it is technically equivalent, but I'll investigate on it)
Esp. one thing I'm wondering, why XPrivacy is reading my Contacts once I check the permissions of an app?
But the more important thing I recognized differences between CM11 and the Stock ROM. One is the Entry
"Privacy" in the settings. It seems to be more or less the XPosed and XPrivacy, or?
But it seems the Restrictions are not shared, so I can restrict in the one and do not see the restriction in the other tool.
So first is there a risk to use both, is it useful or just doing the same twice.
Thank you
Gonso
Click to expand...
Click to collapse
That's a sentence.
Why XPrivacy needs it i don't have a clue. For that sort of things u need to be by the dev of the app.
CM has a lot of features out of the box compared to stock, but stock is most of the time a bit more optimized in terms of proprietary stuff like camera.
So as u noticed, CM had an inbuilt security app. This app (CM) and XPrivacy don't share there settings, so that's the difference u see. But most likely if u disable something in one of the apps it is disabled even tho the other doesn't say it because it doesn't know of it.
I don't think it will be a risk. They both do the same thing, but they don't know about it. To be on the safe side, just use one and restore the other to default. U can always search on the web if they don't get along.
U can now make a full backup, so everything can be reverted and your data should be relative safe.
Hello,
thank you again - I now find the answer by reading in the development part of the forum. For me as a beginner it is sometimes not easy to interpret the discussions there.
If accepted I will use the thread now as a kind of diary, may be some other users will have similar destinations and my learn from my mistakes.
So to answer my question a little more detailed, but with less background know how than Hazou. Pls. do not trust me I'm a beginner, I have not analyzed the code just the behavior - feel free to correct or contradict my words!
The XPosed is in the area of permissions just a framework which allow other modules to put some code between an app requesting permissions and the Android core granting this permissions. The Xposed it self doesn't handle settings or permissions you did in modules like the CM Privacy, Permission Manager or XPrivacy.
As a result I came to the same conclusion it is not a risk, but an overhead to have more than one pice of code between the app requesting permissions and the Android core. -> My proposal: Do not use more than one of this Permission control apps in parallel.
From the privacy perspective the Permission is just a starting point, it allows you to hide your private information from the app. On the other side many apps will need access to the data to work and most of them are able to connect to the internet.
So I realized the next step would be the restriction of internet usage of apps. Here permissions are sword but we need a scalpel, to separate the necessary from the unwanted connections. This scalpel could be AFWall+ and "Netzwerk Log", this is a firewall and a sniffer.
What I can say to day the apps run on CM11 installed on my Razr I.
So it looks like I see my destination raising on the horizon and I will try to formulate it in the following order:
1.) Hide Contacts, Calls and SMS from Apps who do not need this to work -> XPrivacy
2.) Disable some Android features I think I don't need.
(e.g. Captive Portal Check - settings put global captive_portal_detection_enabled 0)
3.) Restrict the internet access of some apps to servers they need to connect. ( e.g. E-Mail client is restricted to connect to the mail server)
4.) Limit the access to my pictures, stored on SD card. [I have not found a solution so far]
If you read this I think 1 is reasonable for most of you, even if you do not have deep Android or Network know how (as I have), you just restrict the permissions - if app crashes or doesn't do the job you expect you may permit access or uninstall the app. (XPrivacy allows you also to fake data)
3 is a usual task of a network administrator, if you are used with iptables it is just work. I'll try to find out whether there is somewhere a source of "Templates". Usually the network admins share there common settings based on services, once I find out I'll post.
To restrict the access to SD Card I only see the change to extend the sandbox of Android to the SD and to hide files which does not belong to the app. As I would store my pictures on SD as I would store my Navi Data, but neither the Navi app should see my pictures nor the Cam and Gallery my Navi Data. ...
I don't know whether there is an app out there but It should be possible the same way like XPrivacy fakes the other data.
Thank you
Gonso
Hello,
Most of the time I used the numbers to just put in the extension, so if I want to call 0049 9876 54 321 I put the numbers 321 the Motorola dialer will show a list of all contacts where the number contains 321.
Some Numbers of contacts are not shown as well, seems if a contact has more numbers only one or two are shown.
The CM11 dialer doesn't show the number, is there a setting to get this feature?
I tried to get my Stock dialer back, so I copied dialer.apk from stock into the /system/sec-app/ directory of the CM11 and restarted the phone -> doesn't change the dialer ....
Any proposals? I'm terrible sorry for my stupid questions, I read several threads and still no idea about a possible solution
Gonso
PS: CM11 file manager shows a secure storage /storage/emulated/0/storage/secure - what is the algorithm used for the encryption.
gonsoXDA said:
Hello,
Most of the time I used the numbers to just put in the extension, so if I want to call 0049 9876 54 321 I put the numbers 321 the Motorola dialer will show a list of all contacts where the number contains 321.
Some Numbers of contacts are not shown as well, seems if a contact has more numbers only one or two are shown.
The CM11 dialer doesn't show the number, is there a setting to get this feature?
I tried to get my Stock dialer back, so I copied dialer.apk from stock into the /system/sec-app/ directory of the CM11 and restarted the phone -> doesn't change the dialer ....
Any proposals? I'm terrible sorry for my stupid questions, I read several threads and still no idea about a possible solution
Gonso
PS: CM11 file manager shows a secure storage /storage/emulated/0/storage/secure - what is the algorithm used for the encryption.
Click to expand...
Click to collapse
Stock CM dialer doesn't have that function afaik. The moto one doesn't work because it needs the Moto framework to work. Just download a dialer U trust from the playstore.
I don't have any clue about the secure storage, sorry.

[MODULE][Terminal] Debloater v17.3.2 - Debloat Systemlessly!

[TERMINAL] DEBLOATER
Debloat your phone Systemlessly! Debloating can sometimes be device specific. OEM apps can sometimes be a trash to a user but not to the other. So I decided to make a module to Customize the uninstallation of a system app (in Magisk) with a UI in Terminal emulator. So you can help yourself in uninstalling your own bloat!​[/SIZE]
How to use:
Flash in a recovery
Go to Terminal emulator or adb shell (use -nc, refer below)
Type su and enter
Code:
debloat
or use the command line for ease of use or other stuff
Select the apps to uninstall (systemless!). But remember that the names of the apps won't be accurate (like Velvet which is actually the Google app) if you have no aapt in your system.
** Use the options
Enter
Code:
debloat -h
and it will be pretty easy to understand.
** How to debloat multiple apps
Enter multiple numbers. That's it.
For example, enter 1 18 25 24 56. That would debloat the apps with the corresponding number in the listed apps shown to you in the menu.
** If you have a blank list of apps, or want to use ADB Shell, use -nc.
Code:
debloat -nc
** Uploading logs
Go to the menu and type `logs`, this will upload the log files of this module and will generate a link. Send that
Alternatively, Send `/cache/terminal_debloater-verbose.log` here. I'll examine it for problems and will try to fix it.
Short video guide:
Download here or at Magisk Manager
GitHub
Changelogs
Telegram Channel
Notification Channel
DONATE? If you want to (ノ・ω・)ノ゙
LIST OF ALL SH*TTY APPS BY OEMs
All ****ty LG apps
by @popy2006
All ****ty T-Mobile LG apps
by @famewolf
Give me a list to be posted here ?
F.A.Q
Q. How does this work?
A. To put it simply, debloat is a script magic mounted in /system/bin ($PATH variable) so that it can be executed directly in Terminal Emulator and present you with a "UI" that you can interact with to uninstall System Apps.​
Q. Are the apps frozen or uninstalled?
A. They're uninstalled. To put it simply, the apk files in /system are replaced by a blank file, which basically removes/uninstalls them from /system.​
Q. How does the Reinstall option work?
A. It removes the blank files used to replace to apk files in /system. Which brings the apk back after a reboot. Basically the same thing that happens when you disable/uninstall a Magisk module. ​Q. Some kind of error popped out, what do I do?
A. Type logs in the menu then send the link generated or send me these files: /cache/terminal_debloater.log and /cache/terminal_debloater-verbose.log ; so I can look for the bug :good:​
Q. I accidentally uninstalled an important system app (e.g. System UI) and got in a bootloop, what do I do?
A. Simple, mount magisk from here. Then delete the app folder of the system app you've uninstalled in /sbin/.core/img/terminal_debloater/system/app or /sbin/.core/img/terminal_debloater/system/priv-app then that should undo it ​
Q. Apps are still in the app drawer after debloating...
A. You can then uninstall them like a normal user app.​
Here's a little video tutorial on how to use this module by @Truant_Luce
Nice! One for the repo, I'd say!
Should probably warn the user a bit clearer that the list won't always accurately reflect the name of the app they're looking for... You'll probably get a lot of questions about it anyway (taking into account the average users indisposition towards reading instructions), but still.
Didgeridoohan said:
Nice! One for the repo, I'd say!
Should probably warn the user a bit clearer that the list won't always accurately reflect the name of the app they're looking for... You'll probably get a lot of questions about it anyway (taking into account the average users indisposition towards reading instructions), but still.
Click to expand...
Click to collapse
Thanks. Should have probably added that from the beginning.
I'll submit it to the repo soon
@veez21 check lines 99 and 126:
mktouch $MODDIR${app[$(($app))]}/.replace
mktouch $MODDIR${privapp[$((privapp))]}/.replace
crusader727 said:
@veez21 check lines 99 and 126:
mktouch $MODDIR${app[$(($app))]}/.replace
mktouch $MODDIR${privapp[$((privapp))]}/.replace
Click to expand...
Click to collapse
There was supposed to be something else in there ( a difference between another variable) and i removed it. But it still works like that. Try it and tell me if there are errors
veez21 said:
There was supposed to be something else in there ( a difference between another variable) and i removed it. But it still works like that. Try it and tell me if there are errors
Click to expand...
Click to collapse
I was wondering if someone would make a debloater. Great job!
Great think, gonna test it tomorrow
Thank you very much !!
Would you be able to create a module to hide apps (user/system) from the pixel launcher?
If yes, would it be much work to do?
Gratefully
Blade
BIade said:
Great think, gonna test it tomorrow
Thank you very much !!
Would you be able to create a module to hide apps (user/system) from the pixel launcher?
If yes, would it be much work to do?
Gratefully
Blade
Click to expand...
Click to collapse
I don't know. But I'll look into it
Screenshots please!
Can someone post some screenshots of the module in action?
Thank you. Can I debloat them and install some of them back as the user app from the play store..?
min9ox2 said:
Thank you. Can I debloat them and install some of them back as the user app from the play store..?
Click to expand...
Click to collapse
Yes you can
Git link added in the OP!
Added git link and submitted it to the repo. Hope it gets accepted soon
https://github.com/veez21/terminal_debloater_magisk
I keep getting this when I try it. Anything I'm not doing right? The app does have root permissions. But not too familiar with working with terminals.
Great module, was thinking of making one myself.
What about incorporating something of the functionality of App Inspector so that the terminal display shows both display name and package name?
Telperion said:
Great module, was thinking of making one myself.
What about incorporating something of the functionality of App Inspector so that the terminal display shows both display name and package name?
Click to expand...
Click to collapse
Its actually in the next version I'll update in just a sec
Truant_Luce said:
I keep getting this when I try it. Anything I'm not doing right? The app does have root permissions. But not too familiar with working with terminals.
Click to expand...
Click to collapse
Did you type su before debloat_magisk? If not then type su first
Updated to v2! Changes are significantly related to UX.
CHANGELOG:
UI Improved a bit
Now shows the name of the app! (if aapt binary is present in /system)
Now hides uninstalled apps!
Added Reinstall Apps (but not working just yet don't try it for now)
Code Optimizations
Download here or in the OP
Git - later
Note: Updating removes all the files in the module, so all the uninstalled apps will be reinstalled. That's a magisk problem

Remove Galaxy A40 bloatware

I have just acquired a Samsung Galaxy A40 phone. In my opinion, it has one of the best size/price/performance ratios on the market, reason why I bough it.
However, one very sad point about it is that there is still no LineageOS or any other custom ROMs to this phone, forcing myself to stick to the Samsung ultra-bloated distribution.
Having to accept this fact, my first action was to clean the phone the best I could, by removing any unnecessary crap from Sansumg and others from Google, Linkedin, Facebook and anything not strictly necessary. I based my list on some available (find ref on the script), but I also added some other useful commands.
Let me know if this works out for you, and if you have any point to add to the list. Find it attached on the Gist below:
https://gist.github.com/joaofl/7671e7e96a760e9b368992d6694a33d9
Before running it, I recommend reading the comments on the scrip, so that you dont end up without keyboard for example.
Hope it suites you!
By the way, do you have any information on when or if there is anybody working on a custom ROM (Lineage preferably) for this device?
EDIT:
There is no need to be root!
Disabling Galaxy A40 bloatware
joaofl said:
...clean the phone the best I could, by removing any unnecessary crap from Sansumg and others...
Click to expand...
Click to collapse
Instead of removing system apps you can simply disable them which is easily reversible.
If the Disable button is grayed-out in the Settings > App > app's info see this XDA article: How to disable any pre-installed system app bloatware on Android without root using adb
***
joaofl said:
I have just acquired a Samsung Galaxy A40 phone. In my opinion, it has one of the best size/price/performance ratios on the market, reason why I bough it.
However, one very sad point about it is that there is still no LineageOS or any other custom ROMs to this phone, forcing myself to stick to the Samsung ultra-bloated distribution.
Having to accept this fact, my first action was to clean the phone the best I could, by removing any unnecessary crap from Sansumg and others from Google, Linkedin, Facebook and anything not strictly necessary. I based my list on some available (find ref on the script), but I also added some other useful commands.
Let me know if this works out for you, and if you have any point to add to the list. Find it attached on the Gist below:
https://gist.github.com/joaofl/7671e7e96a760e9b368992d6694a33d9
Before running it, I recommend reading the comments on the scrip, so that you dont end up without keyboard for example.
Hope it suites you!
By the way, do you have any information on when or if there is anybody working on a custom ROM (Lineage preferably) for this device?
Click to expand...
Click to collapse
I need root permissions to do this
But will this run without rooting the phone?
EDIT: It works!
Beautiful.
I'm new with Galaxy A40, i'm really not a fan of Samsung but it was great to have the idea of making a phone lower than 15cm that is my need for lot of reasons.
I was just preparing to remove some system apps like bixby and samsung launcher, than i found out this script but... may you please give a description of most incomprehensible apps in the list?
Instructions
A big thanks to joaofl for getting this list together for us!!!
Here's some info that might help others...
- This article has info (it's further down in the page) on how to use the script (you copy and paste it into Windows command promt/cmd as admin and after installing ADB... link in the article below).
https://piunikaweb.com/2019/03/25/samsung-galaxy-s10-remove-bundled-bloatwares-without-root/
- There's a typo in the script... Lines 84 onwards on the code has a typo where it says 'pm' rather than 'adb'. Changing that before you paste it into cmd fixes it.
Charlie Cooper said:
A big thanks to joaofl for getting this list together for us!!!
Here's some info that might help others...
- This article has info (it's further down in the page) on how to use the script (you copy and paste it into Windows command promt/cmd as admin and after installing ADB... link in the article below).
https://piunikaweb.com/2019/03/25/samsung-galaxy-s10-remove-bundled-bloatwares-without-root/
- There's a typo in the script... Lines 84 onwards on the code has a typo where it says 'pm' rather than 'adb'. Changing that before you paste it into cmd fixes it.
Click to expand...
Click to collapse
Indeed, there were some errors there. I updated the script now, and it should work better now.
and NO, you dont need to be root to run it.
I prefer to remove stuff instead of disabling it, as it free up some space. Worst case, you need to restore the phone.
Yesterday I disabled a lot of unnecessary apps on my Galaxy A40. At a certain point the device was locked an a message said something about "not authorised removal of billing/paying apps". I had to do a hard recovery because I could not enable any of the apps. In fact I could do nothing with the phone
I mention this because on all the lists I found on the internet the billing/paying apps are listed as bloatware/unnecessary which was not true in my case. My A40 is customised by hutchison (drei) maybe this has something to do with it.
edit: the package name which is locking the phone is
com.samsung.android.kgclient
HTH and have a nice day!
Does anyone know if a factory reset from Settings will restore all the apps removed via this process?
EDIT: It does.
Can you say which apps cannot be removed OR disabled?
Weasler said:
Can you say which apps cannot be removed OR disabled?
Click to expand...
Click to collapse
Do not remove Samsung Payment Services (using root), if you do you will get a locked/unusable device, it will show 'Device locked because Payment services was uninstalled without authorization' and reflash will be needed.
Tony il Capo said:
Do not remove Samsung Payment Services (using root), if you do you will get a locked/unusable device, it will show 'Device locked because Payment services was uninstalled without authorization' and reflash will be needed.
Click to expand...
Click to collapse
Thanks, I'll just stick to disabling apps until I get to know this phone a bit better! The battery monitor doesn't say I have anything chewing up CPU and I'm only losing a few % overnight on idle (even with LED notification fix) so I must have optimized a good bit already.
hello,
good idea !!
i have done the same with luckypatcher (need root)
i forgot this way.... easy with adb
thank you.
Hi, just uninstalled apps using ADB and the script from Page 1. All is fine, even though I forgot to install G-board beforehands, I just sent it from laptop to install on A 40 afterwards.
Amazing job. phone feels lighter and smooth now.
Thank you !!! @joaofl @curiousrom and @costa11
I want remove all samsung on my new galaxy A40, but:
I need to be root.???
I can backup first my original firmware??? And then if there are problems restore this backup??
I need simple use to consume los battery.
Thanks
ruloes said:
I want remove all samsung on my new galaxy A40, but:
I need to be root.???
I can backup first my original firmware??? And then if there are problems restore this backup??
I need simple use to consume los battery.
Thanks
Click to expand...
Click to collapse
Adb doesn't need to be Rooted to be used
Just activate USB debugging(see tutorial about développer mode), and use cmd from your PC (and have adb.exe in a directory for sure)
Pay attention that the phone will Ask you to confirm the authentication as soon as you set "adb start-server"
For the backup, you have already asked it in another thread in which i answered you.
Envoyé de mon SM-A405FN en utilisant Tapatalk
I don’t understand the backup thread, where?
I did it with adb but now.... what else
ruloes said:
I don’t understand the backup thread, where?
I did it with adb but now.... what else
Click to expand...
Click to collapse
I just recover all my files from another Samsung Galaxy to new A40 with own Samsung account backup . There is also Google backup but it is not complete . Samsung backup satisfied me a lot . Just register , sign in Samsung account and from phone settings click on backup .
No need root , of course .
Regarding removing bloatware there are plenty of tutorials on this subject . Just look for it . It's all about adb shell cmd and activate debugging mode from phone . You need also an apk inspector from Google Play to know for sure name of apk you want to uninstall . Don't touch system apks , lists with bloatwares can be uninstalled you can find here on xda (galaxy phones) .
Personally I remarked besides their importance , apks like Calendar and Google Search eat a lot battery . I don't need these apks so I got rid of those and another and I can say battery was semnifically improved . I use also dark mode (from usb debugging) , native digital wellbeing for nights and all-in-one tools apk for some special android characteristics like boost , boot , clean etc
It's important to mention all apks uninstalled still remained in android backup image so they can be restored from phone factory reset .
Succes !
I clean my A40 from the bloatware with the script and I lost the recents app screen of One UI.
Now my recent list is the stock of Android 9. Moreover I totally lost the recents screen when navbar is in gesture mode.
Someone can help me to understand which apk are related with my issue?
Script:
https://gist.github.com/joaofl/7671...33d9#file-clean-samsung-galaxy-a40-bloatwares
Thank you for the efforts. I am a new buyer of A40 and I hope the community grow up!
mrmysterious said:
I clean my A40 from the bloatware with the script and I lost the recents app screen of One UI.
Now my recent list is the stock of Android 9. Moreover I totally lost the recents screen when navbar is in gesture mode.
Someone can help me to understand which apk are related with my issue?
Script:
https://gist.github.com/joaofl/7671...33d9#file-clean-samsung-galaxy-a40-bloatwares
Thank you for the efforts. I am a new buyer of A40 and I hope the community grow up!
Click to expand...
Click to collapse
I suggest factory reset then remove again certain bloatware . Don't touch system apks . Also try to backup your system to Samsung Cloud .

xPrivacyLUA - Export All Settings

Export All Setting is dimmed. I know that's because there's something missing from the kernel (I'm on LineageOS).
Is there a workaround to copy a file from this phone to another phone?
If so, what file? Do I need to worry about the new phone not having all of the same apps?
Thanks!
markd89 said:
Export All Setting is dimmed. I know that's because there's something missing from the kernel (I'm on LineageOS).
Is there a workaround to copy a file from this phone to another phone?
If so, what file? Do I need to worry about the new phone not having all of the same apps?
Thanks!
Click to expand...
Click to collapse
I think the files are:
xlua.db
xlua.db-journal
with a root file explorer located in
/data/system/xlua
These are the files to delete if having major problems with xprivacylua. It will revert xprivacylua to default settings ie: first installation.
You could try to copy these files and replace them on a different phone.
If you export/copy the settings it only effects the same apps that you've restricted on your original phone to the new phone.
So any new apps or apps that are different from original phone will have to be restricted ( if needed ).
From memory exporting settings will include any hooks restrictions from the repo section as well but may have to redownload the hooks themselves ( just going off memory haven't done it in a while ).
is it still working properly on android Q and up? I read somewhere is HideMyAppList is better?
oldman20 said:
is it still working properly on android Q and up? I read somewhere is HideMyAppList is better?
Click to expand...
Click to collapse
Hidemyapplist is best in hiding apps from other apps and is non detectable. But xprivacy does other hiding jobs better and is detectable too.
pritamdutt said:
Hidemyapplist is best in hiding apps from other apps and is non detectable. But xprivacy does other hiding jobs better and is detectable too.
Click to expand...
Click to collapse
I tried config in Xprivacy Lua can't access files and folder in internal storage but seem it didn't work. and what do u thing about this?
shhh-dont-say-a-word-against-xprivacylua
oldman20 said:
I tried config in Xprivacy Lua can't access files and folder in internal storage but seem it didn't work. and what do u thing about this?
shhh-dont-say-a-word-against-xprivacylua
Click to expand...
Click to collapse
We don't need to care about personality of creator of the XprivacyLua, @M66B .
He already made an incredible, an amazing, an wonderful, contribution to the community and deserves all the credits and loves for that.
markd89 said:
Export All Setting is dimmed. I know that's because there's something missing from the kernel (I'm on LineageOS).
Is there a workaround to copy a file from this phone to another phone?
If so, what file? Do I need to worry about the new phone not having all of the same apps?
Thanks!
Click to expand...
Click to collapse
You can export/import all settings easily using XPrivacyLua Pro:
XPrivacyLua Pro - Apps on Google Play
XPrivacyLua convenience/advanced features
play.google.com
VD171 said:
You can export/import all settings easily using XPrivacyLua Pro:
XPrivacyLua Pro - Apps on Google Play
XPrivacyLua convenience/advanced features
play.google.com
Click to expand...
Click to collapse
This is an old thread. I have Pro, but wasn't able to do it, probably because Lineage doesn't have some piece of Android linked in.

Categories

Resources