Is it safe to uninstall miui security app ( system app ) I heard it can cause bootloop. I got rid of all the other useless system apps but thought I'd ask if anyone's done it without issues.
Don't mess with that app I think
According to the site where I found to remove system apps via ADB they said " they've heard of uninstalling it caused bootloop " so I'll leave it. Got rid of all the other stuff so I'm pretty happy the battery life is even better and less background running apps.
fastjohnson said:
According to the site where I found to remove system apps via ADB they said " they've heard of uninstalling it caused bootloop " so I'll leave it. Got rid of all the other stuff so I'm pretty happy the battery life is even better and less background running apps.
Click to expand...
Click to collapse
Mind sharing the steps to remove system apps via ADB (no root) ? Thanks
App removal tool.
Here's a tool works perfect, by no means is this mine just something i use.
1) It is established that a deletion of the security app causes a softbrick, at least on some models.
2) 'pm disable' is like uninstall but the disabled app could be called by the other apps and operates normally within this framework.
3) Is it therefore possible to 'pm disable' security app w/o a softbrick?
4) Does 'pm disable' deletes (hides) security app from a desktop?
Related
Hi everyone,
Just came over from an old HTC Touch Pro on Windows Mobile and am loving the android platform. I have just flashed Cyanogenmod 7 along with Google Apps and find the system quick and stable. However, I would like to remove the following applications:
Wifi Calling (I have a UK Vodafone SIM so this is useless as says SIM invalid)
VoiceDialer (I find the pre-installed algorithm inaccurate)
I have tried to remove the .apk's via adb as follows:
Code:
adb shell rm /system/app/%APPNAME%.apk
But when I do this I get a looping force close error on the phone about kinetic process and this forces me to reflash whole ROM again.
The .apks I am removing are:
MS-HTCVISION-KNT20-02-GB-A0.apk
VoiceDialer.apk
So I guess I must start by asking are these the correct .apks?
If so, then is there a way of removing these two apps safely from the ROM build?
Also, I might keep Wifi Calling if I can get it to work with my Voda SIM is this possible?
Thanks!
NC
I usually use titanium backup (from the android market) to remove unwanted/unnecessary system apps, works fine for me. About the force close loops, just do a reboot of your phone and it should be fine.
I get the force close loop uninstalling wifi too, but if you just reboot it goes away...
have you rebooted (you can either pull the battery or use the reboot prompt if you're quick)?
also, when you uninstall wifi calling, uninstall ganoptimizer apk as well.
pmcqueen said:
I get the force close loop uninstalling wifi too, but if you just reboot it goes away...
have you rebooted (you can either pull the battery or use the reboot prompt if you're quick)?
also, when you uninstall wifi calling, uninstall ganoptimizer apk as well.
Click to expand...
Click to collapse
What is gan optimizer.apk just out of interest?
dhiral.v said:
What is gan optimizer.apk just out of interest?
Click to expand...
Click to collapse
ganoptimizer detects when you are on a wifi call and then sets wifi to "high performance" mode. it was a fix implemented to help with stuttering issues in early versions of CM7.
it's not necessary to keep if you uninstall wifi calling, though, because that is its only trigger.
Thanks guys for the heads up.
Removed the packages via adb and pulled battery and force close loop no longer there. Have you had an impact on system stability by removing these .apks? Or are they totally independent and safe to remove? I do not like things on my system if not being used but also am all about a stable phone.
Best,
NC
Alright folks, I think I have finally managed to solve the battery drain problem after the 4.3 update, thank God!
The bad news is that it cannot be done without your phone being rooted. So root the phone in the following manner: 1) Install "Kingo Android Root" to you PC. It will not root your phone without following the other steps.
2) Install "System App Remover" (the one by Jumobile) from play store. The app will be installed as a different name, as "Uninstall". I tried "All-in-One Toolbox" too but it coudn't find all the files listed below (namely KLMS Agent). So I had to install this one and try again.
2.1) Install "Root Checker Basic" from play store.
3) Go to Menu>Settings>More>App Manager>All and force stop the apps:
com.sec.enterprise.knox.attestation
com.sec.knox.eventsmanager
Security policy updates
KNOX
KNOX -- (Yes we have two of them! One is to install Knox interface other one is the one that is already running without installing the other one.)
Knox Notification Manager
KNOX Store
KLMS Agent
In total we have 8 files (or actually apps) to close. You may have 7 of them if you don't have Security Principle Update.
Some of these will not gonna allow you to force stop, never mind, just close the ones that you can.
4) (Now you have to be quick because somehow these apps restart themselves.) Connect your phone to your PC and run Kingo and click root then follow the instructions on your pc screen. Your note 2 will restart and will be rooted.
5) Disconnect your phone.
6) Run "Root Checker Basic" and click "verify root access" and see if you are rooted now. (You should be rooted.)
7) Install "SuperSU" from play store.
8) Run "uninstall" (which we obtain by installing "System App Remover" (the one by Jumobile)). SuperSU will ask for root permission for uninstall, approve it. Uninstall will provide you a list, choose all the apps listed above and uninstall them. KLMS Agent will not be in the list and you should use the search option of the app. If for any reason you don't see any other app in the list search and uninstall! YOU SHOULD DELETE ALL 8 FILES!
9) Restart your phone.
After you remove all the Knox bloatware and anything else you don't like, install Lucky Patcher.
This is usually used to remove licenses from pirated apps, But it also does something else which we will need to use:
It removes Google ads! And these are that keep our phones awake.
In the faulty 4.3 Samsung update apps with Google Ads always try to connect and sync thus keeping the phone awake.
In Lucky Patcher go into each app individually and choose "Remove Google ads".
Then choose "Patch to remove Google ads" and press "Apply". Rarely will you have 100% success but it doesn't matter.
Then repeat the process and this time press "Disable Ads Activities" and press each activity that is used for advertising (They are usually in orange colour).
One more useful step is to use Greenify to hibernate almost all processes except the ones that need to sync eg Dropbox.
My phone used to have 65-85 % wake time after the update. Now it's only 3% wakelock instead of the 65-85% that was before and the battery only went down to 98% from 100% in 2.5 hours! Battery life is even better than on 4.1.2.
If for some reason after a few days (or even hours) the problem returns, then it could well be an app that causes it, or a combination of apps. In my case it was Automatic Call Recorder by App.liqato (Appstar Solutions). an app that was working fine on 4.1.2 but not on 4.3. It was the last app to be installed, that's why I knew. I uninstalled it and batery life is back to normal after it had gone mad for a couple of hours. Notice that no wakelock app showed it as the culprit. I only knew because after I had done a factory reset I installed all my apps one by one and not from a backup and I forgot this one. I remembered a few days later and when I installed it the drain started.
Does anyone here know of a list of background processes or apps to kill to ensure longer battery?
.
I've this a bit of a battle with this phone, especially with "Phone Services", which from what I understand is mainly other Apps making calls to it.
But I've made some progress, to be honest, the issue is Android is far to liberal with access it gives applications. But if they don't run or cannot access the internet, then they can't drain the battery. Here is what I did:
1) Stop Apps from auto-starting, or being started via other Apps. via Apps -> App Launch. When you disable "Auto Manage", it pops up and asks if the app should Autostart, Run in Background, Secondary Launch
2) Disable background Network access for ALL applications (search settings for Networks Access, then select "Advanced"), including system apps such as chrome.. Only re-enable for apps that do NEED it (i.e. such as Gmail)
3) Disable all unnecessary permissions, via Apps -> Permissions, especially thing such as Location. At minimum, set them to "Allowed only while in use"
Finally, the problem with Android permissions, is Google are self-motivated, I found several apps that I couldn't do this for (including Chrome, which was particularly battery hungry). In addition there are dozens of "permissions" that they don't want you to access. But if you're willing to get your hands dirty, then look into using and Ice Box with Shizuku (it's fairly easy) you can.. In addition, you can use ADB to uninstall all the bloated Apps.
App Ops - To get access to all those "inaccessible" permissions. I used this to change all the backgrounds permissions, and remove Apps abilities that prevent the phone from "Sleeping"
Ice Box - To freeze all Unecessary Apps
Note, both the above use a secondary App called Shizuku, all can be installed from the Play Store. But to allow Shizuku to get the system-level access it needs, it must be started using ADB.. The App runs you through it.
Whilst I've uninstalled quite a few apps using ADB, this can cause problems if you're not careful, so I came to the conclusion its best to freeze them with Ice Box. This is what I've frozen so far:
package:com.andoid.apps.tag
package:com.andoid.bookmakpovide
package:com.andoid.calenda
package:com.andoid.deams.phototable
package:com.andoid.email
package:com.andoid.htmlviewe
package:com.andoid.huawei.HiMediaEngine
package:com.andoid.hwmio
package:com.andoid.keyguad
package:com.andoid.mediacente
package:com.andoid.patnebowsecustomizations.tmobile
package:com.andoid.povides.patnebookmaks
package:com.andoid.statementsevice
package:com.example.andoid.notepad
package:com.google.a.coe
package:com.google.andoid.apps.tachyon
package:com.google.andoid.apps.wok.oobconfig
package:com.google.andoid.feedback
package:com.google.andoid.music
package:com.google.andoid.pintsevice.ecommendation
package:com.google.andoid.pojection.geahead
package:com.google.andoid.youtube
package:com.hicloud.andoid.clone
package:com.huawei.KoBackup
package:com.huawei.aengine.sevice
package:com.huawei.andoid.ch
package:com.huawei.andoid.instantshae
package:com.huawei.andoid.kaaoke
package:com.huawei.andoid.mioshae
package:com.huawei.andoid.thememanage
package:com.huawei.andoid.tips
package:com.huawei.andoid.totemweathe
package:com.huawei.andoid.wfdft
package:com.huawei.appmaket
package:com.huawei.autoinstallapkfommcc
package:com.huawei.bowse
package:com.huawei.contacts.sync
package:com.huawei.contactscamcad
package:com.huawei.fastapp
package:com.huawei.featuelaye.featuefamewok
package:com.huawei.featuelaye.shaedfeatue.map
package:com.huawei.gameassistant
package:com.huawei.health
package:com.huawei.hff
package:com.huawei.hiaction
package:com.huawei.hicad
package:com.huawei.hidisk
package:com.huawei.hifolde
package:com.huawei.himovie.oveseas
package:com.huawei.hitouch
package:com.huawei.hwdetectepai
package:com.huawei.hwid
package:com.huawei.hwstatupguide
package:com.huawei.languagedownloade
package:com.huawei.lbs
package:com.huawei.livewallpape.matetwenty
package:com.huawei.neaby
package:com.huawei.paentcontol
package:com.huawei.pcassistant
package:com.huawei.sceenecode
package:com.huawei.seach
package:com.huawei.tips
Hi evil,
Appreciate the much needed reply. I assume app ops, ice box and Shizuku can be run withourt root since I'm on emui 10 and the bootloader is locked. Got a few questons for you...
1) I can't find ice box in the playstore. The closest I saw was an app called app freezer by mobizsystems. Could this possibly be it and was renamed? If not please post a link to it.
2) Just to be sure, once i install Shizuku, it'll run me through what to do like a tutorial?
3) For the long list of apps you provided that you froze, could you also list what each of these apps are for?
.
1) I can't find ice box in the playstore. The closest I saw was an app called app freezer by mobizsystems. Could this possibly be it and was renamed? If not please post a link to it.
This is the App: https://play.google.com/store/apps/details?id=com.catchingnow.icebox&hl=en_GB
2) Just to be sure, once i install Shizuku, it'll run me through what to do like a tutorial?
So Shizuku provides the API that Icebox and App Ops use for controlling the phone... It can work without root, but it requires a little tinkering. Follow the step Shizuku tells you, but in a nushell:
1 - First enable the Developer Options Menu (Google how to do it), then in the Developer options enable USB Debug
2 - Installl ADB on your laptop or Mac (https://developer.android.com/studio/releases/platform-tools)
3 - Plug your phone into the laptop / Mac
4 - Run the ADB command you laptop/mac that Shizuku tells you, this will start the Shizuku service on your phone
5 - You then use App Ops to control permissions, or Ice Box to freeze apps
3) For the long list of apps you provided that you froze, could you also list what each of these apps are for?
See the spreadsheet linked in this thread: https://forum.xda-developers.com/mate-20-x/how-to/guide-remove-apps-adb-t3870727
EViL3666 said:
1) I can't find ice box in the playstore. The closest I saw was an app called app freezer by mobizsystems. Could this possibly be it and was renamed? If not please post a link to it.
This is the App: https://play.google.com/store/apps/details?id=com.catchingnow.icebox&hl=en_GB
2) Just to be sure, once i install Shizuku, it'll run me through what to do like a tutorial?
So Shizuku provides the API that Icebox and App Ops use for controlling the phone... It can work without root, but it requires a little tinkering. Follow the step Shizuku tells you, but in a nushell:
1 - First enable the Developer Options Menu (Google how to do it), then in the Developer options enable USB Debug
2 - Installl ADB on your laptop or Mac (https://developer.android.com/studio/releases/platform-tools)
3 - Plug your phone into the laptop / Mac
4 - Run the ADB command you laptop/mac that Shizuku tells you, this will start the Shizuku service on your phone
5 - You then use App Ops to control permissions, or Ice Box to freeze apps
3) For the long list of apps you provided that you froze, could you also list what each of these apps are for?
See the spreadsheet linked in this thread: https://forum.xda-developers.com/mate-20-x/how-to/guide-remove-apps-adb-t3870727
Click to expand...
Click to collapse
Hi evil,
Wow.. thank you so much for this info. I'll get started on this tomorrow. Thank you again for this valuable info.
.
Hi everyone,
Iam running my G981B with Android 11 and One UI 3.1.
- I debloated it using the following post Ultimate Debloat S20.
- I reinstalled "com.samsung.android.knox.containercore" and "com.android.managedprovisioning"
When I try to setup Shelter I get the message "Device cannot be setup. If you need assistance please contact..."
When I try to setup Island I get the message "Setup of the work profile not possible. Security rules of your company..."
For Island there is the possibility to do a manual setup: Island Manual Setup
However, if I execute "pm create-user --profileOf 0 --managed Island" I get the most useless response "Error: couldn’t create User".
fw.max_users is set to 10...
Is that a common problem or do I just oversee anything else which I might have debloated and blocks the process right now ?
Thanks for any help !
Okay... obviously tripped knox prevents the device from creating a work profile.
Seriously...
So is there any viable workaround to get something like Shelter or Island running ?
I'll ask to move your thread to Q&A.
I kind of solved my problem by facilitating Samsungs' Dual Messenger functionality.
If dual messenger gets enabled it sets up a separate user profile which is used with a workprofile in order to run multiple messenger app instances.
The beauty is that you can use this to install any app within that profile using adb. So basically the feature is not limited to those few apps you can tick from the settings menu.
Credit goes to @VincentThacker who is describing the procedure here:
Add non-messenger apps to Samsung Dual Messenger?
So the creation of parallel workspaces is blocked in the Security Policy of 8.0, preventing multiple copies of the same app. However, Samsung's Dual Messenger still successfully copies apps it sees as messenger apps, and allows them to run just...
forum.xda-developers.com
One additional hint from my side:
- If you install aurora through ADB in the work profile all apps you install from this version of aurora automatically get installed on the work profile as well. So no need for installing apks through adb afterwards anymore.
flunkyball said:
Okay... obviously tripped knox prevents the device from creating a work profile.
Seriously...
Click to expand...
Click to collapse
Actually, it doesn't seem to be Knox related: If I setup the phone (Samsung S20) from scratch without FBE encryption (by flashing multidisabler), I can set up Island with the root way and/or by ADB.
If I set up the phone with encryption, Island can't be set up like described here.
gorthon said:
Actually, it doesn't seem to be Knox related: If I setup the phone (Samsung S20) from scratch without FBE encryption (by flashing multidisabler), I can set up Island with the root way and/or by ADB.
If I set up the phone with encryption, Island can't be set up like described here.
Click to expand...
Click to collapse
Good to know. However having the device unecrypted just to use Island is not an option. Currently Iam quite happy with facilitating Samsungs Dual Messenger functionality for it.
Hello
I installed the Marriott app this morning, and when I go to run it, i get that security message along the bottom third of the screen, and the app shuts down.
What is causing that?
It is detecting root/magisk.
Add Marriott to Zygisk hide list, then clear Marriott storage&cache, force close and reopen.
I downloaded the app and installed it to test. If you don't clear the app cache (and only force close and reopen) it will not work. You must clear that before opening again
Thank you App
I followed your instructions, but I still get that message.
Should I have rebooted after adding to the list??
nabril15 said:
Thank you App
I followed your instructions, but I still get that message.
Should I have rebooted after adding to the list??
Click to expand...
Click to collapse
No. That's not necessary. The following 3 steps is all you need
I cleared storage, force closed, and run it.
I get that initial welcome screen of the app, and before I can press on the SIGN IN button, it closes forcefully.
This happens no matter how many times I repeat the steps.
nabril15 said:
I cleared storage, force closed, and run it.
I get that initial welcome screen of the app, and before I can press on the SIGN IN button, it closes forcefully.
This happens no matter how many times I repeat the steps.
Click to expand...
Click to collapse
What magisk version and modules are you using?
Also, what Android/oos version are you using?
Do you have device certification in play store? Or what's your YASNAC result?
nabril15 said:
I cleared storage, force closed, and run it.
I get that initial welcome screen of the app, and before I can press on the SIGN IN button, it closes forcefully.
This happens no matter how many times I repeat the steps.
Click to expand...
Click to collapse
After some more poking around, that app detects everything. I attempted to monitor the https traffic to see what contacts are made at app-boot. It detects that I'm monitoring traffic. I attempted to use frida to bypass the ssl pinning so I can monitor traffic. It detects that I'm using frida. All of those cause a close condition.
This could mean, if it detects anything abnormal, you're gonna get force closed. The whole toast not showing up is annoying. You might be able to adjust your font/text size for the system in Accessibility, to see the full text.
If you have busybox or anything else you can think of that might be detected, try disabling them or any questionable modules like lsposed, restart, then see if you can open the app.
I looked inside the app and don't see some of the stuff as strings, and existing strings are already using some reflected values in another index. It appears to use some kind of library that is checking for root, certification, ssl certificate pins, frida, probably xposed and so on. Then retrieving the response from an api.
My thought was to repackage the apk without root checks for you but if they're doing that much for security, there's almost no chance I will be able to launch the app with self signing for the apk.
Having the full toast response would be helpful here
Wow App.. How detailed, you are.
Here are my modules plus Universal Safetynet fix. I'm running a13 f.17 build.
I'm not sure how to proceed. I installed it on my wife's phone and used it..
Here's a reddit thread with someone else fighting with the Marriott Bonvoy app.
old.reddit.com/r/Magisk/comments/yf8gyu/help_hotel_app_detecting_root/
Its quite ridiculous that a Hotel app is so restrictive and difficult.
I just (briefly) tried running the app inside Island, but still got the toast nags / close.
Interestingly I get one of two nags "you're on an unsecure network" or "we've detected magisk, etc)
I wish that I had twrp to blame, but I don't have it installed.
Hey there,
I did some looking at older versions of the app (apkpure has them). On my phone (Android 9, Magisk 23) the last version that will run (using MagiskHide with all the 3 boxes ticked for the marriott app), is 10.4.0.
Marriott Bonvoy™ 10.4.0 (Android 9.0+) APK Download by Marriott International - APKMirror
Marriott Bonvoy™ 10.4.0 (Android 9.0+) APK Download by Marriott International - APKMirror Free and safe Android APK downloads
www.apkmirror.com
Version 10.5.0 starts giving me nags.
(Sometimes it is just easier to use an older version of an app, than fighting to get the very latest to work!)
Mine is 10.13.1. not sure what got updated. I usually don't want to get stuck with old version, so I'll just use the website to make reservation and redemption. Yikes
I heard Magisk Delta by HuskyG could hide it from detection. Has anyone been brave enough to try? Well, I tried and it didn't work. I tried the whitelist mode by leaving Marriott out of the SuList and many other banking apps too. But it still detects root. Marriott app version 10.13.1. Older version say 10.12.0 and below should survive.