[Android System][Device Locked] Device Management has restricted certain features - General Questions and Answers

I was installed some s8 random apps (downloaded from appmirror) by the following tricks from this forum.
Quote:
Originally Posted by Vyshakh Babu
I'm done it on my non-rooted S7 edge
These are the steps I done
1. Add a shortcut of the apk to the home screen from the my files app
2.Power off the phone.
3. Cleared the cache partition.
4. Restarted the phone.
5. Quickly installed the Apk by accessing the shortcut from home screen.
(Now it's installed )
6. But the launcher keeps force stopping.
So I cleared touchwiz home's data and cache from app manager.
7. Now it's working fine.
I also installed Bixby app through the same process.
Hope this solution works for all those who face the conflicting signature problem.
Click to expand...
Click to collapse
For some reason i was reset(hard) my phone (by wiping data + cash partition). After successfully reset when device is turned on i found an unexpected error like below:
Device Locked
Device Management has restricted certain features on your device.
Please contact the administrator to re-install Device Management to recover your restriction.
Now I can't access CAMERA(security policy restricted camera), SD-Card not found(showing not inserted), Bluetooth is also disabled. USB-debug is also disabled although DEVELOPER OPTIONS is enabled. Screen-shoot is also disabled. I have flashed my mobile multiple times after that occurrence with proper updated files(AP,BL,CP,CSC,pit). But my problem is still remain. I really don't know what to do. Plz help me out. Thanks in advanced.
N.B: I have also used a fresh gmail account but problem still remain. I have a backup EFS folder but i can't root my phone as usb-debug is disabled. I was tried multiple times to root my phone by CF-Auto root for sm-g930k but it stuck on KT logo and as a result i have flashed it again and again. :crying:
Sorry for my bad english.
Sent from my SM-G930K

Related

[Q] MDM restricted

Originally Posted by cynosure4sure View Post
MDM is a program for security... like for people working in Samsung electronics.... so if a Samsung employee sold his phone he may have this and forgot to uninstall it......
it can be solved by doing a hard factory reset... from recovery
or simply erase and re-flash rom
it is not a serious problem don't worry your phone is perfectly fine it is just a software inconvenience
Sent from my SHV-E210K using xda app-developers app
Click to expand...
Click to collapse
UNIT : Samsung SIII SHV - E210K
Problem:
1. Camera, when you clicked on camera it shuts down and says "Security Policy resrticts the use of Camera"
2. Memory Card - Micro SD is mounted but when booted you can't see the icon on My Files also you can't browse the contents of the memory card but when in download mode / restore mode it reads it.
3. Bluetooth - Icon or setting is there but when you click it on it does not turn into green or won't turn on.
4. On the Drop down menu there's a notification that says "Please install MDM" - i tried installing MDM but when the app is installed it prompts for a "company site code"
Possible Solutions that already tried
1. Restored the phone to it's original state on Device Recovery Mode (Factory Reset) nothing happened
2. Flashed a custom rom (OCHIE ROM) but still the "Please install MDM" on the drop down prompts it and same issues, Cam+MMC+BT restricted
3. Flashed custom kernel (Berzebb), nothing happened "Please install MDM" on the drop down prompts it and same issues, Cam+MMC+BT restricted
4. Tried to locate the Application that restricts the use of the following features by using Titanium Backup PRO and was able to locate 1 app that says DM manager, tried to kill the app using Titanium backup and was able to remove the notification "Please install MDM" on the drop down menu but still same problem Cam+MMC+BT restricted.
** Anyone who can suggest remedies please post on this thread. you're reply would be greatly appreciated. Please help..!!!...**
elakirisri11 said:
UNIT : Samsung SIII SHV - E210K
Problem:
1. Camera, when you clicked on camera it shuts down and says "Security Policy resrticts the use of Camera"
2. Memory Card - Micro SD is mounted but when booted you can't see the icon on My Files also you can't browse the contents of the memory card but when in download mode / restore mode it reads it.
3. Bluetooth - Icon or setting is there but when you click it on it does not turn into green or won't turn on.
4. On the Drop down menu there's a notification that says "Please install MDM" - i tried installing MDM but when the app is installed it prompts for a "company site code"
Possible Solutions that already tried
1. Restored the phone to it's original state on Device Recovery Mode (Factory Reset) nothing happened
2. Flashed a custom rom (OCHIE ROM) but still the "Please install MDM" on the drop down prompts it and same issues, Cam+MMC+BT restricted
3. Flashed custom kernel (Berzebb), nothing happened "Please install MDM" on the drop down prompts it and same issues, Cam+MMC+BT restricted
4. Tried to locate the Application that restricts the use of the following features by using Titanium Backup PRO and was able to locate 1 app that says DM manager, tried to kill the app using Titanium backup and was able to remove the notification "Please install MDM" on the drop down menu but still same problem Cam+MMC+BT restricted.
** Anyone who can suggest remedies please post on this thread. you're reply would be greatly appreciated. Please help..!!!...**
Click to expand...
Click to collapse
same problem here. we need help.
PROBLEM SOLVED.
You have to root it, then install root explorer and browse in the efs\security. delete the mdm\dmm file, then from recovery menu wipe data-factory reset, wipe cache and then reboot. tadaaam

[Q] Reinstall "Samsung Apps" possible?

Hey Guys,
i got a little Problem with "Samsung Apps" on my Galaxy s6 (Stock Rom Android 5.0.2).
I rooted it, and thougt i should delete some of the System Apps. I also removed "Samsung Apps" thinking i won't need it.
After i wanted to download some Camera features i got the error : "com.sec.android.app.samsungapps is disabled", but i can't enable it ( yeah, maybe beacause its gone)
So i tried reinstalling it, using the Apk from this thread :
http://forum.xda-developers.com/galaxy-s4/themes-apps/hot-galaxy-s6-apps-t3041330
not functioning "Can't install the App"
also i tried getting the apk from the Stock "app" folder or "priv app" of the system dump, and copying the folders on my S6 device (to the same path)
http://zidroid.com/download-samsung-galaxy-s6-g920fxxu1aobn-system-dump/
still not able to reinstall. Reboot didn't change anything.
So last but not least, a factory reset didn't work either.
It has cleared everything and set the device to default settings etc, but "samsung Apps" is still not listed anywhere.
The question: does anyone have a clue how to reinstall it ? or do i have to download the Stock Image and flash it ?
Thanks for your time
Tim Niklas said:
Hey Guys,
i got a little Problem with "Samsung Apps" on my Galaxy s6 (Stock Rom Android 5.0.2).
I rooted it, and thougt i should delete some of the System Apps. I also removed "Samsung Apps" thinking i won't need it.
After i wanted to download some Camera features i got the error : "com.sec.android.app.samsungapps is disabled", but i can't enable it ( yeah, maybe beacause its gone)
So i tried reinstalling it, using the Apk from this thread :
http://forum.xda-developers.com/galaxy-s4/themes-apps/hot-galaxy-s6-apps-t3041330
not functioning "Can't install the App"
also i tried getting the apk from the Stock "app" folder or "priv app" of the system dump, and copying the folders on my S6 device (to the same path)
http://zidroid.com/download-samsung-galaxy-s6-g920fxxu1aobn-system-dump/
still not able to reinstall. Reboot didn't change anything.
So last but not least, a factory reset didn't work either.
It has cleared everything and set the device to default settings etc, but "samsung Apps" is still not listed anywhere.
The question: does anyone have a clue how to reinstall it ? or do i have to download the Stock Image and flash it ?
Thanks for your time
Click to expand...
Click to collapse
I think the proper section for this would be the Q&A forum. Anyway, if you copy the app make sure to set the right permissions. In any case, if you flash a stock image over the one you have now, the problem should be solved. If it's not solved, a factory reset after that should fix it.
Cloxed said:
I think the proper section for this would be the Q&A forum. Anyway, if you copy the app make sure to set the right permissions. In any case, if you flash a stock image over the one you have now, the problem should be solved. If it's not solved, a factory reset after that should fix it.
Click to expand...
Click to collapse
Ok thanks for the hint with the permissions.
I used der folder /system/priv-app/
and copied the Galaxy_Apps_3xh_zero.apk to my S6 path.
installing still wasn't working after setting the permissions ro rw-r-r- (like the other working apps)
i'm not sure, but i think it's something like an autostart path, so rebooting the phone after these steps, fixed my problem.
thread can be closed or whatever
(orry i'm new , whats happening after solving a problem :|

Unknown virus made itself a system app and downloading other apps

I have oplus Xonphone 5 (Android 4.4.2). My phone is having virus/malware which have accessed root permission and made itself a system apps and now they are automatically turning wifi on/off and downloading tons of other apps (e.g. Hot cam, UC news, Ram booster etc.). Whenever i open running apps there are System.bin and systemMultimedi are running and consuming battery. sometimes they close all other apps and download malware. I have tries following thing which didn't solve my problem:
1. Soft and Hard resetting of phone.
2. Rooted my phone and using root browser tried to delete/Uninstall these files(viruses).
3. Tried uninstall all newly installed system apps by using Kingroot but they again showed up.
3. Cleared the cache partition and then hard reseted phone.
4. tried to flash the ROM but failed.
Please help me recover my phone . Thank you in advance.
Paresh42 said:
I have oplus Xonphone 5 (Android 4.4.2). My phone is having virus/malware which have accessed root permission and made itself a system apps and now they are automatically turning wifi on/off and downloading tons of other apps (e.g. Hot cam, UC news, Ram booster etc.). Whenever i open running apps there are System.bin and systemMultimedi are running and consuming battery. sometimes they close all other apps and download malware. I have tries following thing which didn't solve my problem:
1. Soft and Hard resetting of phone.
2. Rooted my phone and using root browser tried to delete/Uninstall these files(viruses).
3. Tried uninstall all newly installed system apps by using Kingroot but they again showed up.
3. Cleared the cache partition and then hard reseted phone.
4. tried to flash the ROM but failed.v
Please help me recover my phone . Thank you in advance.
Click to expand...
Click to collapse
This is really a big problem and if not solved soon you will be in great trouble
I suggest you to first uninstall root and then flash the stock rom again
This is the last option I have
I dont think you can do anything beyond that
Regards milkyway3
---------- Post added at 07:04 AM ---------- Previous post was at 06:59 AM ----------
I will also suggest few senior members whom I know to solve your problem as soon as possible
This could even be a police case if the malware tries to do something beyond this
If you think something more suspicious than just downloading appps and toggling settings
Then I would highly recommend you to switch off your device and keep it aside until you find a solution at xda
Regards milkyway3

[SOLVED] HELP! i cant get past the lock screen!

Good morning!!
i need some quick help if possible! You can even PM me so we can troubleshoot through discord.
TL;DR: the screen instantly goes black, restarts and returns to lockscreen the moment i unlock my device with the pattern (i suspect it's SYSTEMUI but can't be 100% sure). i can't get in now and got some work related data i need to recover from a widget that contains text along with chats from Whatsapp Plus.
stupid me did not make a nandroid backup in TWRP and now i'm screwed.
I use a Oneplus one with RR-O-v6.1.0-20180613-bacon-Official Ressurection Remix ROM based on android 8.1. Kernel is default/unchanged. Magisk is newest version (i think there were no updates for months now). I got 2 modules:
- busybox.
- Magisk Hide .Props config (a small terminal utility that can make google think i use a opo6 with android 9 [that's what i chose] so i get app updates) worked fine for half a year.
Then i took a look and saw an update for both. updating Busybox crashed magisk. Updating .props config seemed ok and just required rebooting like normal.
That's it essentially. since the reboot i can't get past the unlock screen anymore.
I tried the following:
i visited this link https://magiskroot.net/uninstall-magisk-module-twrp/ to first try to boot in core-only mode. then with disabled modules, then i uninstalled Magisk entirely using magisk uninstaller flashable zip from magisk manager (dot) com
the problem persists. i wiped cache and Dalvik/ART cache too but still the same.
besides the obvious clean re-flash that will wipe my data is there anything i can do to save it?
also i tried to attach a logcat but doing it just gives me one line an then nothing when doing it in ADB while the oneplus is in recovery mode.
If device is on (on lockscreen) i get 'waiting for device'. i searched and that could be because the ADB debugging checkmark is off... any way to turn it on using adb?
could wiping JUST Boot or System in TWRP do anyting?
since i got Titanium backup, can it restore data from a TWRP backup?
please help if possible.
oneplusausage said:
(...)
TL;DR: the screen instantly goes black, restarts and returns to lockscreen the moment i unlock my device with the pattern (i suspect it's SYSTEMUI but can be 100% sure). i Can't get in now and got some work related data i need to recover from a widget that contains text along with chats from Whatsapp Plus.
(...)
Click to expand...
Click to collapse
Have you ever looked through google: Bypass Lockscreen xda?
The first link indicates the solution. Try it out.
.
ze7zez said:
Have you ever looked through google: Bypass Lockscreen xda?
The first link indicates the solution. Try it out.
.
Click to expand...
Click to collapse
Hello :good: ,
TL; DR: IT WORKED! many thanks to you, i googled a lot but your suggestion went over my head.
below info added for completion 's sake so it potentially could help future users:
meanwhile in addition to my post, i dirty flashed the original ROM (same version) without wiping anything.
i suspected that it would just bypass the PIN and lock, not the whole lockscreen.. i know both the pin and pattern, it just crashes after entering the correct pattern.
I did your google search which linked me to https://forum.xda-developers.com/android/software-hacking/remove-lockscreen-recovery-t3530008
indeed. the pattern is successfully removed leaving me with just the 'swipe up to unlock' screen. i expected that it would crash after swiping up but it went to the homescreen thankfully!
some notes. As per guide i indeed deleted the below 3 files using the explorer in TWRP located in /data/system:
locksettings.db
locksettings.db-shm
locksettings.db-wal
however the files password.key and pattern.key were not present at all but in my case it didn't make any difference.
EDIT: added info and fixed spelling mistakes

HELP After updating Android System Webview My Phone is Unresponsive

Hello Guys,
I come in need of a help,
I'm writing from my computer now,
Yesterday my phone was working fine,
Today morning, I updated the apps on my phone; amongst the updates was android system webview.
After a reboot, my phone is unresponsive, it won't open any of the apps from that point.
I reboot again, since keyboard doesn't work, I used the OTG cable to use the physical keyboard to enter the password and get in. Tried entering setting to uninstall that crap app, settings is unresponsive.
No SIM services, no keyboard, no fingerprint, no settings etc.. basically nothing works and everything says "unresponsive and asks to either wait or close".
The only thing I have now is TWRP Recovery, and I'm inside it now.
I've wiped Cache + Dalvik / ART Cache : Result still same, nothing works.
I mailed [email protected] (which is provided in the app's "Developer" section) about this and got a reply that the mail is no longer being monitored.
Can someone please let me know how I can remove android system webview by using TWRP ? So that I can enter the phone back again as normal..
Device Details:
Lenovo K8 Note
Android 7.1.1 Nougat, (Never updated the OS)
Device has been rooted and has recovery options.
I think you can find WebView module in Magisk respiratory so I suggest you give that a try. Flash it and I think it will be fine as long as you have Magisk installed, of course.
dedq said:
I think you can find WebView module in Magisk respiratory so I suggest you give that a try. Flash it and I think it will be fine as long as you have Magisk installed, of course.
Click to expand...
Click to collapse
Thanks, I couldn't quite understand that..
I've never read/seen a need for Magisk so far.. so may I know what is the procedure to be done here...?
I do read Magisk is a systemless Root, (I already have SuperSu, is that the same functionality? (though I can't open anything that is))
Find the Magisk zip on Google and flash it over TWRP.
Head over to the Magisk module site and you will be able to find an alternate WebView module you can flash. It will be in zip format so I guess you will need USB to transfer those files to your phone since you cannot use it to download modules.
dedq said:
Find the Magisk zip on Google and flash it over TWRP.
Head over to the Magisk module site and you will be able to find an alternate WebView module you can flash. It will be in zip format so I guess you will need USB to transfer those files to your phone since you cannot use it to download modules.
Click to expand...
Click to collapse
Understood, thanks..
Will try this out.
KillerBeeSama said:
Understood, thanks..
Will try this out.
Click to expand...
Click to collapse
Give it a try and come to tell if you have sorted it out.
If not, you will probably need to flash your ROM again hoping the application won't stay updated but to back to stock version.
dedq said:
Find the Magisk zip on Google and flash it over TWRP.
Head over to the Magisk module site and you will be able to find an alternate WebView module you can flash. It will be in zip format so I guess you will need USB to transfer those files to your phone since you cannot use it to download modules.
Click to expand...
Click to collapse
Oh, one more thing,
Does this procedure mean, I'll lose TWRP and SuperSu?
Can I not just downgrade the android system webview manually itself?
KillerBeeSama said:
Oh, one more thing,
Does this procedure mean, I'll lose TWRP and SuperSu?
Can I not just downgrade the android system webview manually itself?
Click to expand...
Click to collapse
You won't lose TWRP but I am not sure about SuperSu since it's very old and people don't use it from the time Magisk appeared. I don't think you will be able to have both TWRP and SuperSu.
It would be good for you to just uninstall the updates of WebView if you can use your phone at all. That would solve the problem.
TWRP basically is a menu what allows you to select and apply ADB and/or Fastboot commands.
SuperSU is a Superuser access management tool: it requires SU binary got installed on Android.
Both mentioned sofwares are completely different things, don't depend on each other.
BTW:
I always root Android without the need to make use of Magisk or SuperSU.
So, I went through these
[MAGISK] [MODULE] Webview Manager
Welcome to the XDA home of Webview Manager by Androidacy Read about it on our blog: https://www.androidacy.com/tag/webview-manager/ What is this? This magisk module allows to install several webviews and browsers, replacing the stock one with...
forum.xda-developers.com
Android system Webview installed but not used by apps
I downloaded and installed the latest version of android system WebView from the app store on my android tablet (running 5.0.2). But apps still go on using the old webview version (39.0.0.0). Ho...
android.stackexchange.com
SystemWebView releases
SystemWebView releases
www.bromite.org
Installing SystemWebView
Bromite is a Chromium fork with ad blocking and privacy enhancements; take back your browser! - bromite/bromite
github.com
I got is, .. the adb and appt command says "not found". so.. confusion. and I also see that Bromite System Webview might or might not work on some apps..
So,
Is there a way to downgrade an app through recovery mode
or delete that app's data and start from scratch for that alone?
or is there a way to flash an old Android System Web View through TWRP?
Please help, I have spent the whole day trying to fix this.
I already have SuperSu and it seems if I need to goto Magisk (which is just for that other webview application, I have to do a lot of rolling back and applications going away, ) I don't want that..
Let's keep the Magisk idea as last resort and please let me know if there is any other way to delete the entire Android Webview related stuff and start from beginning.
<bump>
Attached the attack of errors. (these are just few of the ANR popups, there are lots more.. at the last screen you can see even settings won't respond)
My recommendation: Reflash phone's Stock ROM to get rid off of all modifications you applied so far, then restart modding from the scratch.
jwoegerbauer said:
My recommendation: Reflash phone's Stock ROM to get rid off of all modifications you applied so far, then restart modding from the scratch.
Click to expand...
Click to collapse
Just because of one application?
I just want that android webview gone/replaced with a stable one, is that not possible without destroying everything?
Thanks everyone.
we have a solution,
In my case, uninstalling the Xposed framework fixed it for me..
So, while working on this issue I had made a flow map and a log of what is done and its results, may be someone else can benefit from it in the future..
Spoiler: Tries and results
Even starting the entering phone itself is a big issue, because the keyboard applications don't come up; fingerprint doesn't work on first boot as a security measure as well; connected physical keyboard to OTG to phone to enter password... then greeted with lots of errors of all the applications.
Asking people blowed over 'to buy a new phone'
Posted to Reddit, no replies
Posted to Google support, got crappy bot_ish answers; who even hires these people!
Posted to XDA, have some ideas worth trying
Unpacking the system web view.apk on computer gives crap details as it is almost completely encrypted.
Going rabbit hunting through the rabbit hole, checking each folders on "/"
found something similar /system/app/WebViewGoogle/WebViewGoogle.apk
Quick google search confirms that I’m on the right path to finding it...
May be data or XML is somewhere too?
Deleted(copied and deleted) /system/app/WebViewGoogle/WebViewGoogle.apk
Result, Same
Then Reverted
PS: Original Copy at ext_sdcard
Replaced the existing one (92.0.4515.115 with 90.0.4430.210)
Result, no changes.
Then reverted with the crappy original
May be adb will install properly?
Tried adb commands on phone on TWRP, doesn't work
Tried adb from computer to phone, unable to connect to phone.
Was doing it wrong, while in TWRP, I need to initiate "ADB Sideload" and then connect from PC (with Firewall allowed)
then "adb devices", shows connected device with serial number
after the above, the adb push keeps saying "error: connect failed: closed"
turning phone ON and connecting for additional settings (USB debugging) pops "mtp host failed" as soon as I wire..
Started the phone, switched over to Guest account, (oddly seems stuff there are kind of better with lesser error messages), tried launching playstore and wifi, both need password which I don't have, entering settings, hangs for a while, quickly go to apps and uninstall updates for android system web view.. web view becomes 0.0.1
results, fail
Created a temporary user account on phone whilst booting, (because of the observable lesser apps running if I switch over from main..)
added my gaccount on it,
launched playstore to update the android system web view..
the update is stuck at 60%~70 %each time and is unable to complete..
took the v90 application that is on pendrive, connected otg.. and started to install application manually from there..
it said, no space.. even though there is around 4 GB free... continued to disable other applications, such as chrome, youtube, drive etc..
still unable to install the v90 application
even installing other apps (sudoku example) have the same issue,
and then I see a popup that package manager has stopped working (aha! so that itself doesn't work, then can't install),
Went to see if I can change something on developer options, developer option wont come up even after 7+ taps.. hmm strange, may be only main account can have dev options.
While at it, swapped out the Gboard with older AOSP keyboard (retaining Fleksy though).
Rebooted and tried again.. no fix yet..
Atleast I don't have to switch to physical keyboard now for every reboot, since the inner older keyboard comes for first boot.
By TWRP, removed existing app and replaced with v87; doesn't seem to be any different, same errors...
Was about to install the Magisk but it seems to have lots and lots of catches to it, and things to-do before I can go to that...
Continuing investigation on how to downgrade and get back to older state
Through TWRP, deleted the app folder from /system/app/WebViewGoogle/WebViewGoogle.apk
researched to see if there is something else to delete, couldn't find much... proceeding from what we know...
Removed ATSystem.apk (3C's helper) from /system/priv-app just in cast (copy placed at ext_sdcard)
result no change..
Started at around 31-Jul-21 13:00 and went on till 01-Aug-21 01-26 pausing to for the day to rest...
Restored App Folder back to /system/app/WebViewGoogle/WebViewGoogle.apk
WebViewGoogle.apk is v90 again.. (the original seems to be missing, meh, not like it's going to fix)
reboot, result, no changes.
Starting step to install magisk
Removing xposed now..
wiped dalvik cache
rebooting
Kind of stable!!!
Everything seems to work?!?!
Firewalled all app except playstore and mail,
mail seems to work, but can't open the mails (just the headers are received), clicking on the mail says "unable to inflate webview"
aha, I forgot that I have v87 still, if I update that again, will it work (if it doesn't we know how to revert now)
proceeds to update v87 to latest
reboots,
I guess issue resolved by uninstalling xposed, next step to enter phone and move data to safe zone and think about next step.
Are you using xprivacylua?
VD171 said:
Are you using xprivacylua?
Click to expand...
Click to collapse
No, I do remember hearing about it.
GUys, i have installes a system webview on my Samsung J2 core, after restarting my phone stuck on int boot animation, then i do the hard reset combination keys and keeps from restarting. what should i do.
TUPANGPUTi23 said:
GUys, i have installes a system webview on my Samsung J2 core, after restarting my phone stuck on int boot animation, then i do the hard reset combination keys and keeps from restarting. what should i do.
Click to expand...
Click to collapse
Oh... sorry to hear that.
I don't know the solution to that, because mine is rooted I was able to get into the custom recovery and fix things.. not sure what can be done here for your case, (I do know that the old samsung's default recovery is kinda unreadable for English speakers)
So, I think it's best for you to start a new thread in the forum, because if you make a new thread there's a higher chance of reply than this thread which is already marked solved.
(plus. please do attach any photos even crude it may be, still will help people see and suggest actions)

Categories

Resources