[SOLVED] Need Hosts File! - Adaway - Xperia Z2 Q&A, Help & Troubleshooting

Hello!
Can someone with the latest Adaway installed send me the hosts file? I have installed Magisk on my phone and I think it has a different method of rooting so, even though my phone is rooted, Adaway doesn't recognize my root. It says that su binary isn't found, but my phone is rooted with SuperSU (installed after Magisk) and Kernel Auditor or other root apps work just fine.
Thanks in advance!

V4LKyR said:
Hello!
Can someone with the latest Adaway installed send me the hosts file? I have installed Magisk on my phone and I think it has a different method of rooting so, even though my phone is rooted, Adaway doesn't recognize my root. It says that su binary isn't found, but my phone is rooted with SuperSU (installed after Magisk) and Kernel Auditor or other root apps work just fine.
Thanks in advance!
Click to expand...
Click to collapse
Where is host file? I can upload it 4 you if you tell me where it is

EugenStanis said:
Where is host file? I can upload it 4 you if you tell me where it is
Click to expand...
Click to collapse
/system/etc/

with proper steps magisk can work with SU

@iXaidyiu Here is my updated host_file from /system/etc (AdAway)
Link: http://www23.zippyshare.com/v/d2NA3bPV/file.html

EugenStanis said:
@iXaidyiu Here is my updated host_file from /system/etc (AdAway)
Link: http://www23.zippyshare.com/v/d2NA3bPV/file.html
Click to expand...
Click to collapse
It worked, thank you!

Related

No SU binary installed?

My phone was working fine until this morning when I tried to start wifitether and got the message "no SU binary installed" Does this mean I lost root somehow and have to root it again?
ilogik said:
My phone was working fine until this morning when I tried to start wifitether and got the message "no SU binary installed" Does this mean I lost root somehow and have to root it again?
Click to expand...
Click to collapse
Its possible that you removed root permissions solely for wifitether by accident. Uninstall and reinstall then when it fires up make sure you select allow when superuser popup comes on. If you know your way around you can avoid the uninstall by simply going into superuser app and fixing permissions for wifi tether. If not then you'll need to boot into recovery and reflash supersu as you did during the original root process.
hope this helps!
When I open superSU it tells me there is no SU binary and SuperSU cannot install it.
ilogik said:
When I open superSU it tells me there is no SU binary and SuperSU cannot install it.
Click to expand...
Click to collapse
Ok thats your first problem. you should NOT be using SuperSU app, its not compatible with the SU binaries we have installed on this phone. Until further notice this app is NOT compatible and wont be supported. Do to the binaries we used during the root process you must use the "superuser" app from the market. Some people have hacked in different binaries but unless it is specified that SuperSU is compatible then always is superuser.:angel:
---------- Post added at 08:47 AM ---------- Previous post was at 08:44 AM ----------
jonesin said:
Ok thats your first problem. you should NOT be using SuperSU app, its not compatible with the SU binaries we have installed on this phone. Until further notice this app is NOT compatible and wont be supported. Do to the binaries we used during the root process you must use the "superuser" app from the market. Some people have hacked in different binaries but unless it is specified that SuperSU is compatible then always is superuser.:angel:
Click to expand...
Click to collapse
Also if you have difficulties removing it then you may have to use tibu to freeze then uninstall SuperSU. If that doesnt work your only option will be ADB, it may just uninstall fine it may not it depends. But you need to get rid of it.
ilogik said:
When I open superSU it tells me there is no SU binary and SuperSU cannot install it.
Click to expand...
Click to collapse
I was having issues like this. I had to swap between supersu and superuser. But it just never worked right. Once I flashed a new Rom it worked just fine.
sent from my rooted DNA
jonesin said:
Ok thats your first problem. you should NOT be using SuperSU app, its not compatible with the SU binaries we have installed on this phone. Until further notice this app is NOT compatible and wont be supported. Do to the binaries we used during the root process you must use the "superuser" app from the market. Some people have hacked in different binaries but unless it is specified that SuperSU is compatible then always is superuser.:angel:
---------- Post added at 08:47 AM ---------- Previous post was at 08:44 AM ----------
Also if you have difficulties removing it then you may have to use tibu to freeze then uninstall SuperSU. If that doesnt work your only option will be ADB, it may just uninstall fine it may not it depends. But you need to get rid of it.
Click to expand...
Click to collapse
Given the phone is S-On the only real way to ensure a permanent, functional root on stock would be to first remove the SuperSU binary and app. It has been confirmed that SuperSU does not work.
This can be done directly from TWRP's file manager or ADB with the unsecured kernel:
The binary can be found at: /system/xbin/su
And the app can be found at: /system/app/superuser.apk
BOTH FILES must be removed. Freezing SuperSU will not work
Next download and then flash the following zip in TWRP or CWM:
Superuser Binary+App
At this point you should have fully functional root on stock
S121Guy said:
I was having issues like this. I had to swap between supersu and superuser. But it just never worked right. Once I flashed a new Rom it worked just fine.
sent from my rooted DNA
Click to expand...
Click to collapse
Again, simply flashing Superuser over SuperSU will not work, the app and binary must be removed before flashing.
Jarocks said:
Given the phone is S-On the only real way to ensure a permanent, functional root on stock would be to first remove the SuperSU binary and app.
This can be done directly from TWRP's file manager or ADB with the unsecured kernel:
The binary can be found at: /system/xbin/su
And the app can be found at: /system/app/superuser.apk
BOTH MUST be removed to avoid any issues
Next download and flash the following zip in TWRP or CWM:
http://downloads.noshufou.netdna-cdn.com/superuser/Superuser-3.2-RC3-arm-signed.zip
At this point you should have fully functional root on stock
Click to expand...
Click to collapse
Your methods will remove the ability to provide root permissions to any apps...?
Sent from my HTC6435LVW using Tapatalk 2
---------- Post added at 11:16 AM ---------- Previous post was at 11:14 AM ----------
jonesin said:
Your methods will remove the ability to provide root permissions to any apps...?
Sent from my HTC6435LVW using Tapatalk 2
Click to expand...
Click to collapse
You need the binaries and the app to get root perm on anything from within the rom. I don't recommend this.
Sent from my HTC6435LVW using Tapatalk 2
jonesin said:
Your methods will remove the ability to provide root permissions to any apps...?
Sent from my HTC6435LVW using Tapatalk 2
---------- Post added at 11:16 AM ---------- Previous post was at 11:14 AM ----------
You need the binaries and the app to get root perm on anything from within the rom. I don't recommend this.
Sent from my HTC6435LVW using Tapatalk 2
Click to expand...
Click to collapse
The zip contains both the superuser app and corresponding su binary.
Jarocks said:
The zip contains both the superuser app and corresponding su binary.
Click to expand...
Click to collapse
I overlooked the zip portion of your comment. I thought that you were saying to simply remove the app and the binary and reboot. However the binaries wont load from SuperSU in the first place so you should eb good to just get rid of SuperSU and install superuser. If everyone has been following the recommended rooting steps that is. But if that were the case noone would be installing SuperSU
My system folder only contains /bin and nothing else. is there another system folder I should be in?
ilogik said:
My system folder only contains /bin and nothing else. is there another system folder I should be in?
Click to expand...
Click to collapse
are you in adb or are you using a file explorer?
TWRP file explorer
I'm having the same issue-- in TWRP file manager I see only system/bin. If I try to delete the files with adb it complains about a read-only filesystem.
droidmark said:
I'm having the same issue-- in TWRP file manager I see only system/bin. If I try to delete the files with adb it complains about a read-only filesystem.
Click to expand...
Click to collapse
I know this is an old thread but if it helps others, I had the same issue with TWRP, there is an option in SuperSu to unistall and switch to a another superuser app. Put the superuser zip above on the phones memory card, then just install regular superuser from the market. Now go into SuperSu and pick the option to switch to another app, once done go into file explorer and delete the files stated above if they are there. Now reboot into recovery & flash the new superuser zip..
That's very helpful information. Somehow I solved it back in December but I don' know how!

xposed for zenfone 5 lollipop

This is my first thread.......today i am going to tell you how to install xposed framework on ZenFone 5 lollipop without pc.........all thankx shakalaka and revo89
This method is for the people who have root and does not have pc or custom recovery and unable to install xposed framework
This method would work for x86 lollipop devices but tested only on ZenFone 5, zenfone 6 (tested by @leonardo_Irion
Prerequisite:
Rooted ZenFone 5 lollipop
1.Download file
Xposed v67
https://drive.google.com/file/d/0B0lCHCvFdDJjMGFHSDF6TUNJM3M/view?usp=docslist_api
Xposed v78
https://drive.google.com/file/d/0B0lCHCvFdDJjaEhvTUJLVnlKUk0/view?usp=sharing
For Lollipop 5.1
https://drive.google.com/file/d/0B0lCHCvFdDJjRnJMSmhNOEU0azg/view?usp=sharing
2. Extract it
3. Install xposed installer from extracted folder
4. Copy all the files and folders except xposed installer to /data/local/tmp
5. Now open terminal emulator(its an app and can be downloaded from play store) on your phone and type the following commands
To install framework
su -c chmod 755 /data/local/tmp/installer
su -c /data/local/tmp/installer
Now reboot ur phone and open xposed installer and u can see that framework is installed
To uninstall framework
su -c chmod 755 /data/local/tmp/uninstaller
su -c /data/local/tmp/uninstaller
And restart ur phone and xposed framework is uninstalled
To update framework there is no need to uninstall previous one. Simply download newer version and follow from step 2
EDIT:If after installing xposed framework it shows that your framework is not acrive and inside framework section it shows is active then update xposed installer to v3alpha4(apk is uploaded below)
UPDATE: All links updated to latest one
Press thankx if I helped
Thanks to
@Shakalaka
@revo89
@romracer
This works on ZF 5 Lollipop with Intel® Atom™ Processor Z2560?
New version is out, so i've to download 'xposed-v65-sdk21-x86.zip' and 'XposedInstaller_3.0_alpha3.apk', and recreate the structure of your folder? Two questions:
-What're installre/unistaller files? Why i need them? Where i can find them? I can reuse them?
-In your folder, 'system' folder is the same of the one in 'xposed-sdk21-x86'?
And when new versions're out we've to do this again?
steakhutzeee said:
This works on ZF 5 Lollipop with Intel® Atom™ Processor Z2560?
New version is out, so i've to download 'xposed-v65-sdk21-x86.zip' and 'XposedInstaller_3.0_alpha3.apk', and recreate the structure of your folder? Two questions:
-What're installre/unistaller files? Why i need them? Where i can find them?
-In your folder, 'system' folder is the same of the one in 'xposed-sdk21-x86'?
And when new versions're out we've to do this again?
Click to expand...
Click to collapse
Bro links are now updated now this link includes the latest version
Installer and uninstaller files are needed to copy system folder in xposed sdk21 folder at its proper place
As this method is for the people who neither have access to pc nor custom recovery(flashing also needs pc) so installer and uninstaller files are needed
Thanks for reply. But wait a minute.. here http://forum.xda-developers.com/showthread.php?p=60366947#post60366947, #7/#8 posts.. so new framework is not compatible for x86?
EDIT: But my mistake maybe, he talks about arm version right?
Your link need authorization, can you unlock it? And how works with app/framework updates?
Thanks!
steakhutzeee said:
Thanks for reply. But wait a minute.. here http://forum.xda-developers.com/showthread.php?p=60366947#post60366947, #7/#8 posts.. so new framework is not compatible for x86?
EDIT: But my mistake maybe, he talks about arm version right?
Your link need authorization, can you unlock it? And how works with app/framework updates?
Thanks!
Click to expand...
Click to collapse
That nee version is compatible with x86 and most importantly it is compatible with ZenFone 5 And u have installed it
And i have uploaded file on xda u can download it from there
Last question, i've not 'local' directory, i 've to make it? In phone root right?
steakhutzeee said:
Last question, i've not 'local' directory, i 've to make it? In phone root right?
Click to expand...
Click to collapse
It must there bro in data
Yes, found it, installed, now i'm booting; after a bit of fear because it loads more time than normal, now it's optimizing apps, more time than normal :fingers-crossed:
EDIT: Done! but i've a doubt, if i open Xposed, under 'Framework' it says that it's not active, but if i tap on it, after the advice, it says Xposed Framework version 65 is active. It's normal?
I've rebooted again, it's making optimization again, normal?
steakhutzeee said:
Yes, found it, installed, now i'm booting; after a bit of fear because it loads more time than normal, now it's optimizing apps, more time than normal :fingers-crossed:
Click to expand...
Click to collapse
Press thankx if I helped
chetan_dua said:
Press thankx if I helped
Click to expand...
Click to collapse
This is obvius bro, but please look up to my post
steakhutzeee said:
Yes, found it, installed, now i'm booting; after a bit of fear because it loads more time than normal, now it's optimizing apps, more time than normal :fingers-crossed:
EDIT: Done! but i've a doubt, if i open Xposed, under 'Framework' it says that it's not active, but if i tap on it, after the advice, it says Xposed Framework version 65 is active. It's normal?
I've rebooted again, it's making optimization again, normal?
Click to expand...
Click to collapse
Ya its normal
Here http://forum.xda-developers.com/xposed/official-xposed-lollipop-t3030118/page261, #2603 post is a solution?
steakhutzeee said:
Here http://forum.xda-developers.com/xposed/official-xposed-lollipop-t3030118/page261, #2603 post is a solution?
Click to expand...
Click to collapse
I think its a bud xposed because it is not showing this in v61 and v63 but its showing v65.........most importantly everything is working fine
You've this problem too?
How work Xposed Update, we repeat the procedure with new files or unistall it and reinstall again? They released alpha4 http://forum.xda-developers.com/showpost.php?p=61610128&postcount=11
steakhutzeee said:
You've this problem too?
How work Xposed Update, we repeat the procedure with new files or unistall it and reinstall again? They released alpha4 http://forum.xda-developers.com/showpost.php?p=61610128&postcount=11
Click to expand...
Click to collapse
Simply repeat the procedure if there is framework update no need to uninstall.............i have updated to v65 without uninstalling previous framework
EDIT:install xposed installer alpha 4 and this error will be gone
Yep! Worked fine!
Now i would know which modules are secure, i'm scared about bootloop.
I know i can make nandroid backup but i've no custom recovery. I read about TWRP, i need to unlock bootloader for it? What do you suggest me?
steakhutzeee said:
Yep! Worked fine!
Now i would know which modules are secure, i'm scared about bootloop.
I know i can make nandroid backup but i've no custom recovery. I read about TWRP, i need to unlock bootloader for it? What do you suggest me?
Click to expand...
Click to collapse
I suggest u to go for twrp and build 3 based upon 2.8.7.0 is out whic is stable and fast
I am having that TWRP and ofcource it needs pc
Modules i tested on lollipop
1.Gravity box
2. Xstana
3. Boot manager
4. Coolify(no use of module its just given)
5. Tasker
6. Lucky patcher
7. Ifont
Can you provide a link for this recovery? I've to unlock bootloader?
And why you installed this way if you have custom recovery?
Thanks!
steakhutzeee said:
Can you provide a link for this recovery? I've to unlock bootloader?
And why you installed this way if you have custom recovery?
Thanks!
Click to expand...
Click to collapse
Bro this is the guide for those who dont have custom recovery and dont have pc like me
I have installed recovery using my friend pc but everyone cant do like that
Thats why i posted this method
TWRP Link:
http://forum.xda-developers.com/android/development/recovery-twrp-2-8-6-0-asus-zenfone-5-t3136263
Doenload 2.8.7.0
Thanks for link, i've to unlock bootloader? I'll lose my files?

AdAway on Android N

AdAway is not working on my device.
I followed instructions:
1. flashing adaway_systemless_hosts_v2 zip
2. install apk
3. Run AdAway
If anyone has a working AdAway, what steps did you do?
band_aid said:
AdAway is not working on my device.
I followed instructions:
1. flashing adaway_systemless_hosts_v2 zip
2. install apk
3. Run AdAway
If anyone has a working AdAway, what steps did you do?
Click to expand...
Click to collapse
What SU version are you using?
Crappyvate said:
What SU version are you using?
Click to expand...
Click to collapse
latest SU version
band_aid said:
latest SU version
Click to expand...
Click to collapse
version number? and what do you mean by not working? what happens exactly?
@band_aid I had the same problem. I just applied the latest adaway on my galaxy s4, made a copy, and changed the first 2 lines regarding localhost to match the first 2 of my nexus 9 host file. Then simply coppied it to my n9 and replaced the host file with the one I just made. Works perfect It's not an ideal fix but it's the best I could do. I think the only real difference was my gs4 started with something like ip:localhost and the n9 was ipv6:localhost
Oh and I have a theory on what's causing the problem. There is like a fused mount thing on nougat now. I wasn't able to mount system in adb the way I usually would, instead had to use solid explorer to replace the file for me. If adaway tries to mount system/etc the normal way, that could be the problem

Replacing SuperSU by MagiskSU on A2017G Nougat B04/B05

Introduction: Since the last days I encountered several problems after updating SuperSU (updating from stable 2.79 to 2.80 then 2.81 then finally 2.82).
Refer to https://forum.xda-developers.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703
Also SuperSU (2.80, 2.81) now requires a lot of new permissions not needed for pure root functions, and since it is now owned by Chinese CCMT company,
I prefer another root solution, and discover Magisk and MagiskSU (Magisk/MagiskSU is open source which is excellent for privacy and security).
Magisk official topic: Magisk v12.0 - Root & Universal Systemless Interface [Android 5.0+]
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
All about Magisk:
https://forum.xda-developers.com/apps/magisk
[UNOFFICIAL] Magisk v13 and MagiskManager v5.0 snapshots
https://forum.xda-developers.com/apps/magisk/unofficial-magisk-v10-beta-built-t3521901
I follow the Magisk official topic and try to install Magisk (v12.0 and Magisk manager v4.3.3 from Playstore).
But no root is operational, root is installed but no root persmissions!
After reading some discussion https://forum.xda-developers.com/apps/magisk/mod-magisk-v1-universal-systemless-t3432382, I decided try the latest Magisk beta (snapshot):
I use:
MagiskManager-v5.0-170612.apk from https://github.com/stangri/MagiskFiles Direct download link: https://github.com/stangri/MagiskFiles/blob/master/MagiskManager-v5.0-170612.apk
Magisk-v13-170612.zip from https://github.com/stangri/MagiskFiles Direct download link: https://github.com/stangri/MagiskFiles/blob/master/Magisk-v13-170612.zip
Magisk-v13-170612-Uninstaller.zip (not needed, just in case) from https://github.com/stangri/MagiskFiles Direct download link: https://github.com/stangri/MagiskFiles/blob/master/Magisk-v13-170612-Uninstaller.zip
UPDATE-unSU-signed.zip from https://forum.xda-developers.com/showpost.php?p=63615067
A2017G-N-B04-boot.img from https://www.androidfilehost.com/?fid=889764386195902948 (original topic: https://forum.xda-developers.com/axon-7/how-to/download-center-factory-images-ota-t3606547 )
A2017G-N-B05-boot.img from https://www.androidfilehost.com/?fid=817550096634782427 (original topic: https://forum.xda-developers.com/axon-7/how-to/download-center-factory-images-ota-t3606547 )
TWRP 3.1.1-0: https://www.androidfilehost.com/?fid=889764386195900705 (original topic: https://forum.xda-developers.com/axon-7/how-to/download-center-factory-images-ota-t3606547)
And it works, root is OK, root checker passed, and when enabling Magisk Hide in Magisk manager: Safetynet check passed!
This would mean function like Android Pay should be OK too for interested users.
(Add) To get Google Play Store Settings as Certified: select Magisk hide in Magisk manager, check the box corresponding to Play Store, clear Play Store data => certified. So applications like Netflix would be now available in Play Store (they are hidden for rooted (= not certified) phone.
Procedure I followed:
- Current phone status: unlocked bootloader, stock ROM Nougat B04, TWRP recovery 3.1.1-0, root with SuperSU 2.82 (systemless)
- (optional, but recommended for safety) backup with latest TWRP 3.1.1-0: boot, recovery, system, data, cache
- reboot into TWRP, then in this order during same session: install zip UPDATE-unSU-signed.zip, install image A2017G-N-B04-boot.img, install zip Magisk-v13-170528.zip , reboot system => normal boot OK
- Under Android: click on apk to install magisk manager MagiskManager-v5.0-170528.apk (must first enable Unknown sources in Phone Setting/Security) -
- Run MagiskManager: MagiskManager ok, MagiskSU OK!, enable Magisk hide: Safetynet check passed!
- disable "Unknown sources" in phone settings/Security.
Notes:
- If you have SuperSU 2.79, 2.80 or 2.81 this should work too.
- UPDATE-unSU-signed.zip is used to completely remove/uninstall SuperSU first, which helps Magisk install, although Magisk has actions to uninstall
SuperSU by itself.
- This procedure should work too (not tried) for other model like A2017 or A2017U, just be careful to replace the A2017G-N-B04-boot.img boot image with the one corresponding to your model (you could extract boot.img from your model ROM zip).
Edit (add):
- This procedure works also for Nougat B05. Just use A2017G-N-B05-boot.img instead of A2017G-N-B04-boot.img.
- You can use more updated version of Magisk and Magisk Manager.
- If you do not have SuperSU installed, you can skip all steps related to SuperSU.
Uh. How do I download from GitHub?
senny22 said:
Uh. How do I download from GitHub?
Click to expand...
Click to collapse
Well, links to Github are not direct download link, you open it with a browser, then you see a list of apk/zip files with different dates (build).
You then choose a file (for example file with the latest date) by clicking on its name, it will get you to a new page where there is a Download button.
dnlilas said:
Well, links to Github are not direct download link, you open it with a browser, then you see a list of apk/zip files with different dates (build).
You then choose a file (for example file with the latest date) by clicking on its name, it will get you to a new page where there is a Download button.
Click to expand...
Click to collapse
When I press the chosen file (example magisk apk) it brings me to a new page but where the download link is supposed to be it instead says "the file is to big to show". Do I need to be on a PC?
senny22 said:
When I press the chosen file (example magisk apk) it brings me to a new page but where the download link is supposed to be it instead says "the file is to big to show". Do I need to be on a PC?
Click to expand...
Click to collapse
There is in fact a "download" button to download the file. You probably need a PC for this. I will edit the post to add direct download links.
dnlilas said:
There is in fact a "download" button to download the file. You probably need a PC for this. I will edit the post to add direct download links.
Click to expand...
Click to collapse
Got it. Apparently you need a PC.
I tried to install this on V2.0.0B01 chinese.
All passed green except the ctsProfile which returns false.
SU from magisksu works btw. what does ctsProfile mean?
Also, if I tried to enable su for apps and adb, basic integrity gives false too.
@otaconremo
Did you enable Magisk Hide? Maybe this could help:
https://www.youtube.com/watch?v=Bd3GpYd9V5U
dnlilas said:
@otaconremo
Did you enable Magisk Hide? Maybe this could help:
https://www.youtube.com/watch?v=Bd3GpYd9V5U
Click to expand...
Click to collapse
Yes I did enable magisk hide. It's enabled by default and I even toggled it on and off. Also, magisk app force closes whenever I grant su access to any app. But it still does give me su anyway.
To note, v13 is the only version that works on the chinese variant so far. All other previous versions doesn't allow me to boot my device. Maybe because we don't have a custom kernel/boot to begin with.
Any way to use this in the A2017U running b25?
Can you please update files?
dodo34 said:
Can you please update files?
Click to expand...
Click to collapse
Update to latest Magisk files as of today.
ok. i tried it but system is craching inside android.
Thanks, works perfect.
Only SafetyNet check in magisk isnt succesfull.
What to do to pass the check?
When i go on Storage in Settings i get a system carsh error. Is everything ok with your phone ?
Spillunke said:
Thanks, works perfect.
Only SafetyNet check in magisk isnt succesfull.
Click to expand...
Click to collapse
dodo34 said:
When i go on Storage in Settings i get a system carsh error. Is everything ok with your phone ?
Click to expand...
Click to collapse
Yep.
Installed/flashed Magisk 13.3 and now SafetyNet Check works
Thanks :good:. The method worked for me with B05 and Magisk 13.3.
I used the same method with B06. Magisk Manager 13.3 kept crashing but it seems more stable with Magisk 14.0.

Disable find my device administrator account.

STANDARD DISCLAIMER: I am not responsible for any damages caused to your phone. Use this mod at your own risk there is no warranty or guarantee.
This is a Magisk Module t to disable find my device account administrator. You should also manually turn off find my device on your phone. The script runs on boot and then exits out of memory. Taking up no cpu power or ram in the background.
I have updated the Magisk Module to work with Magisk 20.4 or higher.
How to install?
Just flash in Magisk.
Requirements:
Root
Magisk v20.4 or higher
Delete manual install before installing the Magisk Module "/data/adb/service.d/disablefindmydevice.sh"
Manual Install, unzip and take the service.sh file and rename it and copy it to "/data/adb/service.d/" and change file permissions to 0755 reboot.
You may not need root, you can just enter the adb command.
adb shell pm disable com.google.android.gms/com.google.android.gms.mdm.receivers.MdmDeviceAdminReceiver
Darnrain1 said:
Hello all I made a shell script to disable find my phone at login. I don't use it and it just takes up memory. I have an Lg v20 but this should work on any android phone.
You have to have root access also must have Magisk. You need a file manager I recommend Root Explorer or Solid Explorer
Place shell Script in
/data/adb/service.d
Change attributes to 755
Enjoy....
Click to expand...
Click to collapse
Your script says
#!/system/bin/sh
sleep 100
pm disable com.google.android.gms/com.google.android.gms.mdm.receivers.MdmDeviceAdminReceiver
Click to expand...
Click to collapse
pm disable works perfectly fine without root if you use adb.
You won't need root, Magisk or any root file manager.
User699 said:
Your script says
pm disable works perfectly fine without root if you use adb.
You won't need root, Magisk or any root file manager.
Click to expand...
Click to collapse
Yes that is true but you would not be able to make it persistent across reboots.
Darnrain1 said:
Yes that is true but you would not be able to make it persistent across reboots.
Click to expand...
Click to collapse
Oh, I see. On my Xiaomi, stock Android 10 it was persistent, but maybe that's different with lg.
I have the lgv20 and when I used pm disable it always comes back when i restarted the phone. I am happy it worked for you. thank you for letting me know some may not need root to make this tweak work.
updated magisk script

Categories

Resources