[$$€€ - Reward] How to prevent access to safe mode? - Android Q&A, Help & Troubleshooting

Hello guys,
I did a lot of research and already tried my best to figure it out on my own.
Android 12
Samsung A52s 5G
Rooted with this Tutorial: Tutorial
I use a (anti-addiction)software that monitors all online/offline behavior.
The problem is, that I found a way to circumvent it by simply using the safe mode. With windows the solution was quite easy: deleting the registry entry for the safe mode options now leads to a blue screen.
But with android it is much more complicated for me. I rooted my device to find a solution for this.
One option could be to set the monitoring program/app as a system app (that it also starts in safe mode). But "Link2SD" and also "Systemize" mod for Magisk didn´t work.
Probably it is not that difficult to solve and I am willing to pay a tip to anyone helping me to find a good and working solution. I would prefer a solution that is not "repairable", so it can´t be turned on again.
Thanks in advance!

push

Neuland said:
push
Click to expand...
Click to collapse
one not so perfect solution would be to use family link and enrolling device as a childs device, that would prevent safe mode.
There are a lot of mdm tools that offer prevention of entering safe mode thru knox apis but they are usually paid unfortunately.
can you provide more details about fact app didnt work as expected when you turned it into a system app?

Ivan_Meler said:
one not so perfect solution would be to use family link and enrolling device as a childs device, that would prevent safe mode.
There are a lot of mdm tools that offer prevention of entering safe mode thru knox apis but they are usually paid unfortunately.
can you provide more details about fact app didnt work as expected when you turned it into a system app?
Click to expand...
Click to collapse
Thanks very much.
I am going to try it with family link. Because the rooted phone is causing lots of issues.

Neuland said:
Thanks very much.
I am going to try it with family link. Because the rooted phone is causing lots of issues.
Click to expand...
Click to collapse
I actually looked into this a bit more and found functuon used to disable safe mode
https://developer.android.com/reference/android/os/UserManager#DISALLOW_SAFE_BOOT
writing a simple app that acts as a device admin and implements this shouldn't be too hard but you could always remove app from device admin defeating the purpose

Ivan_Meler said:
I actually looked into this a bit more and found functuon used to disable safe mode
https://developer.android.com/reference/android/os/UserManager#DISALLOW_SAFE_BOOT
writing a simple app that acts as a device admin and implements this shouldn't be too hard but you could always remove app from device admin defeating the purpose
Click to expand...
Click to collapse
Nice, thanks for your effort.
I will try it with family link first and see if it works for me.

Neuland said:
Nice, thanks for your effort.
I will try it with family link first and see if it works for me.
Click to expand...
Click to collapse
no problem, if that doesn't work for you i think this function could be used together with device owner so you would only be able to defeat it with pc and adb

Related

Disable lock screen ads (no root needed) (DOES NOT WORK WITH PROFILES)

I'm cheap and it is a present so....
Disable lock screen ads
adb into the kindle
pm block com.amazon.kindle.kso
reboot
seems to work so far.
freetime profiles causes problems. unlock to get the kindle out of the loop if you find yourself in one.
HT123 said:
I'm cheap and it is a present so....
Disable lock screen ads
adb into the kindle
pm block com.amazon.kindle.kso
reboot
seems to work so far.
Click to expand...
Click to collapse
good job. I could have saved some $$$
Does this work, for sure? I will do this on both of my christmas gift Fires if so
There was no way I was going to pay Amazon anymore money than I had to!
Does it work? Yes, I did this, and it seems to be working fine!
Thanks again! :good:
AlbusAngelus said:
Does it work? Yes, I did this, and it seems to be working fine!
Thanks again! :good:
Click to expand...
Click to collapse
May give this ago hate the pointless ads
AlbusAngelus said:
Does it work? Yes, I did this, and it seems to be working fine!
Thanks again! :good:
Click to expand...
Click to collapse
How do you do it
jutley said:
How do you do it
Click to expand...
Click to collapse
Exactly how the OP described it.
Send the adb command and proof, no more ads!
Freetime profile problem
Like i said though.... Watch out if you have free time profiles as it will cause a loop when you go to exit free time. If you dont use freetime then it wont be an issue as far as i can tell.
Do i need to use a fastboot factory cable for kindle Or a normal micro sub cable?
Ok so i found a easy way of removing the lockscreen adds i just did a online chat to amazon said i just bought it and not happy with the adds he removed it without me haggling all done £10 saved adds removed my transcribed below
You're now connected to Syed from Amazon.co.uk
Me:Hi i purchached a kindlefire hd 6 and i am happy with the kindle but not the adds that pop up i was not aware of thease adds can you please tell me how to remove them or i will want to return it
Syed:Thank you for contacting Amazon.co.uk Kindle support. My name is Syed. I am happy to help you today.
I understand that you want the ads to be removed from your Kindle I will certainly help you with that.
May I have your name please?
Me:............,
Syed:Hi ............
Before I'll be able to view your account, I'll need to do a quick security check. Would you please confirm the email address and billing address on your account?
Me:Sure
Syed:Thanks for the details.
I have removed the special ads from your Kindle.
Is there anything else I can do for you today?
Me:Thank you can you confirm i have not been charged for this
Syed:You're welcome.
I assure you that you have not been charged for removal of the Special ads.
Me:Thank you happy customer now
Syed:I will also send you an email for confirmation.
You're welcome.
Is there anything else I can do for you today?
Me:No thanks bye for now
Syed:It's been a pleasure helping you.
Good night.
Thank you for contacting Amazon.co.uk Kindle Support. We hope to see you again soon. If there are no further questions, please click the "end chat" link to close this chat window.
Thanks for the adb command, worked like a charm.
How do I send the adb command? I have set my fire hd 6 to adb on, but can't see how to send the actual command...
Good Stuff
Thanks for that, worked great! After you get into ADB mode, type ADB Shell and type in the command the OP said.
Hoping one day there a root a for these devices, it lacks google play so much
CrazyRach
What's the code if your stuck in the free time loop. Thanks
I can confirm that although this tweak works initially, it wreaks havoc if you try to use Profiles on the device at all.
I am using the new 2014 Fire HD 7 running the newest Fire OS 4.5.2. I was setting up this tablet for my mother in law that we got as a gift. Before I tried the adb command to block com.amazon.kindle.kso, I had experimented with the "Profiles & Family Library" in the settings by adding my own "Adult" amazon login just to try prime streaming and see how the profile switching worked. I then hid my profile from the lock screen and forgot about it.
Some time after I blocked the ads, I went back to try something on my profile again, and as soon as I tried to switch to my profile things went crazy. It basically got stuck in a kind of "lockscreen loop" going back and forth between the lock screen and my login screen a couple of times every second. Rebooting would not allow me to escape the loop!
Took me a while to put two and two together and remember to unblock the ads. I still had adb access through all of this and the problem cleared up immediately after unblocking.
It isn't just "FreeTime" profiles that are affected. It's using profiles at all and user switching that gets broken.
So this tweak seems to really only be an option if you (or who you are giving it to!) will only use a single profile, and won't experiment with profiles, or they could end up with a malfunctioning device.
I wonder if there's a package to block that handles the profile switching, that would prevent someone from ever accidentally getting in this loop after blocking the ads package?
fixed the title to hopefully save some headaches in the future.
Thank you for this simple tutorial
would it make sense to also block the freetime app, if possible?
HT123 said:
I'm cheap and it is a present so....
Disable lock screen ads
adb into the kindle
pm block com.amazon.kindle.kso
reboot
seems to work so far.
Click to expand...
Click to collapse
Would you be kind enough to give me step by step on this procedure. Not at all foreign to work arounds on pc's and such, but, I'm a novice when it comes to this device/technology. Thanks!

[Q]Android. Recording conversations with Root

There was a need to record conversations on Android. I read about it, and after much experimentation came to the conclusion that the standard means of recording quality does not work or does not work on many phones. It should be written as a library and through the use of root rights. How do I not found. Maybe there is someone developments or links to projects?
koljsch.work said:
There was a need to record conversations on Android. I read about it, and after much experimentation came to the conclusion that the standard means of recording quality does not work or does not work on many phones. It should be written as a library and through the use of root rights. How do I not found. Maybe there is someone developments or links to projects?
Click to expand...
Click to collapse
There are a few things around the site about it but most either disable it or its not part of the stock os. This is due to legal reasons as recording phones calls is not legal in many areas and without a warrant never admissible in court.
You may have to program it into your os to get it to work right.
You may have to program it into your os to get it to work right.
Click to expand...
Click to collapse
But many applications is realized through Native library where recording is not supported. I am wondering whether there is a library in the public domain, or information on how to enable support in the OS?
koljsch.work said:
But many applications is realized through Native library where recording is not supported. I am wondering whether there is a library in the public domain, or information on how to enable support in the OS?
Click to expand...
Click to collapse
So have it built in. Alot of apps I have tested (legal reasons) have not worked at all. Some apps try to use root xploits to make it happen.
Some apps try to use root xploits to make it happen.
Click to expand...
Click to collapse
Exactly! There is information on how I can implement it in your own application?
koljsch.work said:
Exactly! There is information on how I can implement it in your own application?
Click to expand...
Click to collapse
I'm sure there is somewhere in the Google docs and how tos. It will most likely be ripping an app apart to see how they try to do it and then trying to make your own. Most apps have given up due to the security nature of it.
I'm sure there is somewhere in the Google docs and how tos.
Click to expand...
Click to collapse
Unfortunately, I am looking for information on this issue for a long time and found nothing. I would make specific reference, if any. He read a bunch of articles, he also tried a bunch of options, but about change through Ruth nowhere information.
koljsch.work said:
Unfortunately, I am looking for information on this issue for a long time and found nothing. I would make specific reference, if any. He read a bunch of articles, he also tried a bunch of options, but about change through Ruth nowhere information.
Click to expand...
Click to collapse
Might want to start here.
https://code.google.com/p/call-recorder-for-android/
https://www.google.com/search?q=how...spvd=1&ie=UTF-8#q=call+recording+android+code
Might want to start here.
Click to expand...
Click to collapse
The first link without root.
The Google naturally searched all examples without root.

Cubot Echo Geocode Service TrojanDropper

Hello Developers ,
My Best Friend had buyd a Chinese Android Smartphone Cubot Echo this Month and we informed us about some specius Malware and this stuff. So we decided to download the Mobile Security from ESET and made a scan and its shown a TrojanDropper, so we decided again to flash the rom from the official Forum from Cubot . After we flashed it we dowloaded ESET Security again . Again this TrojaDropper in the GecodeServices ... he cant use the Phone with this TrojanDropper because its sending data to china if my logical understanding is correct. Maybe some of you want know it and make something out of it , hope you can help me in some time If you have question i can maybe answer it but im not so good in english so pardon me if i cant answer correct .P.S.: How do i post a screenshot of the result? im new in this forum so its said no you musst answer 10 post or somethimg else?
Same problem
Did you get anywhere fixing this? I have the same problem.
I have disabled the geocode service and so far have no more unathorised apps installing themselves but don't feel I can trust this phone. I haven't had time to play around much yet but, tried Kingoroot but failed to root my device so have not yet been able to try removing the malware.
I've contacted Cubot but they haven't replied. Will follow up on any progress I make.
Powertomate said:
Hello Developers ,
My Best Friend had buyd a Chinese Android Smartphone Cubot Echo this Month and we informed us about some specius Malware and this stuff. So we decided to download the Mobile Security from ESET and made a scan and its shown a TrojanDropper, so we decided again to flash the rom from the official Forum from Cubot . After we flashed it we dowloaded ESET Security again . Again this TrojaDropper in the GecodeServices ... he cant use the Phone with this TrojanDropper because its sending data to china if my logical understanding is correct. Maybe some of you want know it and make something out of it , hope you can help me in some time If you have question i can maybe answer it but im not so good in english so pardon me if i cant answer correct .P.S.: How do i post a screenshot of the result? im new in this forum so its said no you musst answer 10 post or somethimg else?
Click to expand...
Click to collapse
austrochilus said:
Did you get anywhere fixing this? I have the same problem.
I have disabled the geocode service and so far have no more unathorised apps installing themselves but don't feel I can trust this phone. I haven't had time to play around much yet but, tried Kingoroot but failed to root my device so have not yet been able to try removing the malware.
I've contacted Cubot but they haven't replied. Will follow up on any progress I make.
Click to expand...
Click to collapse
How do you disable the geocode on this. I too am increasingly dissatified with this phone. The new upgrade forces you to use Google and removes any other web browser when you shut down. It doesn't like Dolphin. I have to download that everyday. It's huffing and puffing over Opera mini and now Firefox. I've not loaded up any other apps since the new upgrade.
I find it quite disturbing that my phone is forcing me to use things I don't want to use. I don't trust this phone either.
I quite liked Cubots, which is more the pity.
I think it's time to look for another phone...
austrochilus said:
Did you get anywhere fixing this? I have the same problem.
I have disabled the geocode service and so far have no more unathorised apps installing themselves but don't feel I can trust this phone. I haven't had time to play around much yet but, tried Kingoroot but failed to root my device so have not yet been able to try removing the malware.
I've contacted Cubot but they haven't replied. Will follow up on any progress I make.
Click to expand...
Click to collapse
i think no need to worry about that ,google play updated and scaning applications and found this problem .
edited
sorry for root method go here:
https://forum.xda-developers.com/showpost.php?p=73874766&postcount=3
For changes read this
https://forum.xda-developers.com/oneplus-one/development/recovery-twrp-3-0-3-k1-t3563692
Solution to the cubot echo adware?
Being a rooting virgin, and not knowing/understanding all the steps suggested by Ngadhnjim (despite being tempted to try anyway) I decided to try once more to reset my echo to the factory settings, but with a difference. This time on the restart I immediately stopped and then disabled the embedded youtube app. So far, it's been a couple of weeks, the phone has behaved perfectly, no sign yet of the dreaded lmuch web page or spurious ads. I will repost here if it starts misbehaving again. Until I do, it has behaved itself.
If it does start to misbehave, I will be asking Ngadhnjim if he could detail all the steps needed, from the very beginning, to set the phone up like he has.
Trikkinikki13 said:
How do you disable the geocode on this. I too am increasingly dissatified with this phone. The new upgrade forces you to use Google and removes any other web browser when you shut down. It doesn't like Dolphin. I have to download that everyday. It's huffing and puffing over Opera mini and now Firefox. I've not loaded up any other apps since the new upgrade.
I find it quite disturbing that my phone is forcing me to use things I don't want to use. I don't trust this phone either.
I quite liked Cubots, which is more the pity.
I think it's time to look for another phone...
Click to expand...
Click to collapse

Is there anyway i can bypass device administrator rights?

Hello everyone!
I need your help! Recently the company that I work for decided to force us to use the Intelligent Hub app on our smartphone devices. The think with this awful app is that not only it is slow but also it asks for device administrator rights something that really bugs me.
Is there any way I can bypass this and make the app think that it has administration rights although it does not?
Maybe with a magisk module or something?
Thanks in advance.
Have a nice day everyone!
Sunny Storm said:
Hello everyone!
I need your help! Recently the company that I work for decided to force us to use the Intelligent Hub app on our smartphone devices. The think with this awful app is that not only it is slow but also it asks for device administrator rights something that really bugs me.
Is there any way I can bypass this and make the app think that it has administration rights although it does not?
Maybe with a magisk module or something?
Thanks in advance.
Have a nice day everyone!
Click to expand...
Click to collapse
I'm also interested to find a solution for it. Did you find a solution for it?
No there isn't. If there was then the app wouldn't serve a purpose now would it.
Sunny Storm said:
Hello everyone!
I need your help! Recently the company that I work for decided to force us to use the Intelligent Hub app on our smartphone devices. The think with this awful app is that not only it is slow but also it asks for device administrator rights something that really bugs me.
Is there any way I can bypass this and make the app think that it has administration rights although it does not?
Maybe with a magisk module or something?
Thanks in advance.
Have a nice day everyone!
Click to expand...
Click to collapse
Get a non-smartphone, problem solved!
Seriously though, Xposed Framework with XPrivacy might be able to do it. EDIT: The old one, not XPrivacyLua, is better if you can run it. It allowed you to do really stupid stuff that can break everything, which in this case is probably what you need.
If it was me, I would tell them to give me a phone and cell plan just for work and put it on there. I wouldn't particularly care about them having access, it's the principle of the thing.
I am currently wondering this too.

Backing Up Call Logs, Texts and Other Information To PC In A Readable Form?

I got a Samsung j7 phone I want to backup. Not interested on passing the information to a new phone but I want to have every call log and text currently in it. I want to pass it to my Windows 10 PC and be able to view and read the info on the PC. Looking for an open source or free software to be able to make this without any spyware or malicious ware on it. Thanks in Advance!
Preguntonontrack said:
I got a Samsung j7 phone I want to backup. Not interested on passing the information to a new phone but I want to have every call log and text currently in it. I want to pass it to my Windows 10 PC and be able to view and read the info on the PC. Looking for an open source or free software to be able to make this without any spyware or malicious ware on it. Thanks in Advance!
Click to expand...
Click to collapse
I could be wrong, but, I don't think any such thing exists and I don't think it can even be done the way you want it.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
I could be wrong, but, I don't think any such thing exists and I don't think it can even be done the way you want it.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
Before posting, i did a google search, There are several options. Just looking for the good free alternatives. For example Droid Transfer but is not free.
Preguntonontrack said:
Before posting, i did a google search, There are several options. Just looking for the good free alternatives. For example Droid Transfer but is not free.
Click to expand...
Click to collapse
Yes, absolutely, there are options for backing up data, I wasn't saying that backing up or restoring that data couldn't be done.
The part about using something that will let you backup to PC and be able to read the internal content while on PC is what I was replying to.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
Yes, absolutely, there are options for backing up data, I wasn't saying that backing up or restoring that data couldn't be done.
The part about using something that will let you backup to PC and be able to read the internal content while on PC is what I was replying to.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
I see, but that software lets you view the content on the PC. Looking something similar but free.
Preguntonontrack said:
I got a Samsung j7 phone I want to backup. Not interested on passing the information to a new phone but I want to have every call log and text currently in it. I want to pass it to my Windows 10 PC and be able to view and read the info on the PC. Looking for an open source or free software to be able to make this without any spyware or malicious ware on it. Thanks in Advance!
Click to expand...
Click to collapse
Search for wondershare mobilego version 7+ or 8+ install with the crack tool. Though the software have been discontinued but is very useful. It will do your work for you. The crack tool attach to is not harmful only when you get it from right source.
Skyhuppa said:
Search for wondershare mobilego version 7+ or 8+ install with the crack tool. Though the software have been discontinued but is very useful. It will do your work for you. The crack tool attach to is not harmful only when you get it from right source.
Click to expand...
Click to collapse
Thanks for the info, even if it is discontinued. It is ilegal right? Still looking for options
Android stores text messages and call logs in SQLite databases.
You can pull them by means of ADB to your PC and there view them by means of a SQLite reader. For example call logs are located here:
/data/data/com.android.providers.contacts/databases/contacts2.db

Categories

Resources