Is it possible to root my Pixel via SuperSU. Flash modified kernel (mask unlocked bootloader). Modify hosts file via AdAway. Modify build.prop to enable hotspot. And then unroot?
The reason I'm asking is that my corporate e-mail requires the use of MobileIron and of course it detects root. I want to get the benefits of ad block and tethering while still getting my e-mail.
Related
Hi,
What would be the best way to temporarily root? I want to install an adblock hosts file, but then go back to unrooted so I can use banking apps.
Banking apps work fine for me with root. To answer your question, I don't know.
Sent from my slim1+1 using Tapatalk
Do you have a custom recovery? If so:
Flash SuperSU
Use your preferred ad blocker to apply host file
Open SuperSU
Go to the far right tab
There should be an option for full unroot
Reboot
Enjoy!
Thanks, I'll try that. My bank has a really well written root detection routine, does supersu leave anything at all behind¿
Hello everyone, I don't want to root my device just yet due to the fact that it's still under warranty... So since I only want to remove ads, can you tell me if there's a way to block ads on an unroot device, like pushing the file on adb shell or something like that ? I don't want to use adblock plus it simply doesn't work.
Thanks in advance !
leomon32 said:
Hello everyone, I don't want to root my device just yet due to the fact that it's still under warranty... So since I only want to remove ads, can you tell me if there's a way to block ads on an unroot device, like pushing the file on adb shell or something like that ? I don't want to use adblock plus it simply doesn't work.
Thanks in advance !
Click to expand...
Click to collapse
There are only so many ways to replace a system (hosts in this case) file within Android and almost all of them require rooting the device or tripping Knox with TWRP. You might be able to do it with adb push/pull commands but that is quite an advanced technique. Even then, I've had it request root access in CM to run the adb commands on the system apps. In reality the easy ways to do it requires root and my advice would be to try using the adblock browser or another custom browser that blocks ads until you are ready to root it.
AlkaliV2 said:
There are only so many ways to replace a system (hosts in this case) file within Android and almost all of them require rooting the device or tripping Knox with TWRP. You might be able to do it with adb push/pull commands but that is quite an advanced technique. Even then, I've had it request root access in CM to run the adb commands on the system apps. In reality the easy ways to do it requires root and my advice would be to try using the adblock browser or another custom browser that blocks ads until you are ready to root it.
Click to expand...
Click to collapse
Thanks, that's actually just what I thought. It's weird because you can change the density and the resolution of that tablet with the adb push on the fly without root or knox tripping but I guess the whole file is read only and that's why root is needed (the hosts).
There is a proxy ad blocker on market. Works just fine and does not require root . search market and you find a few.
use hosts without root
I know a simple way to use hosts without root:
enter playstore
search: "virtual hosts"
you will see a green icon of the apk
download it
open it and then you will see a big switch button.
click on it and then choose the host that you want to use
(if you want to make the host to be on startup, just click the plus icon in the corner and then you will see an android icon. just click on it).
Hi, are there some ways to have control of root access just for a person who knows some "root password" (for an administrator), and limit/disable root access for a normal user?
E.g. to change superuser or root access password? Set-up/change the root login password? Or some other ways?
Also what do you think of SuperSU, Hide my Root, and similar apps for this case?
I need to setup security/make limitations on "super user", or at least disable root temporarily when a normal user is using the device (and reenable root when an administrator needs to make system/app changes etc.)
Also: what is the way to hide (as much as possible) root access (and the fact that the device is rooted) from Apps and the normal user?
ROM is LG G3 d855 RESURRECTION REMIX 7.1.1_r9
So I have root via root checker and root beer is telling me I have root. All my apps that required root are working, but in magisk I can't access the modules.
No new apps are being promoted for root.
When I try to adb flash , it says there's a write error.
Latest everything on a p7p
What do you mean you can't access modules? Are the modules enabled or disabled in magisk? For new apps wanting root, when you look at the permissions in magisk, is root granted/enabled for those apps?
What write error? You need to be more specific with regards to your issues
I want to edit hosts file in my non-rooted Android device.
Since flashing a Custom ROM is basically installing a new OS, I was wondering,
Is a hosts file already present in a Custom ROM or is it generated later and at what point?
If it is preincluded in the ROM, is it possible to edit that hosts file and then flash the ROM, basically editing the hosts file without rooting?
parker_04 said:
I want to edit hosts file in my non-rooted Android device.
Since flashing a Custom ROM is basically installing a new OS, I was wondering,
Is a hosts file already present in a Custom ROM or is it generated later and at what point?
If it is preincluded in the ROM, is it possible to edit that hosts file and then flash the ROM, basically editing the hosts file without rooting?
Click to expand...
Click to collapse
Some custom ROMs do include custom hosts files, and you could potentially edit it before flashing the ROM. I'm not sure why you'd want to use a custom ROM without root, though - with root access, you can use a hosts manager like AdAway to update your hosts file on the fly.
V0latyle said:
Some custom ROMs do include custom hosts files, and you could potentially edit it before flashing the ROM. I'm not sure why you'd want to use a custom ROM without root, though - with root access, you can use a hosts manager like AdAway to update your hosts file on the fly.
Click to expand...
Click to collapse
(I am a newbie in rooting and flashing Custom ROM so please correct me)
Well my main objective is to edit the hosts file.
I understand it generally require root privileges but I want to use rooting as a last resort.
I am already going to flash Xiaomi Eu ROM in my Redmi Note 11. And if it is possible to edit the hosts via the ROM, wouldn't it be a better alternative than rooting? As with rooting, there also comes some consequences like tripping SafetyNet which I would gladly like to avoid.
parker_04 said:
(I am a newbie in rooting and flashing Custom ROM so please correct me)
Well my main objective is to edit the hosts file.
I understand it generally require root privileges but I want to use rooting as a last resort.
I am already going to flash Xiaomi Eu ROM in my Redmi Note 11. And if it is possible to edit the hosts via the ROM, wouldn't it be a better alternative than rooting? As with rooting, there also comes some consequences like tripping SafetyNet which I would gladly like to avoid.
Click to expand...
Click to collapse
SafetyNet is no longer relevant; it has been replaced by Play Integrity. See this thread. Even so, it is possible to pass Play Integrity BASIC and DEVICE attestation using the Universal SafetyNet Fix Magisk module.
I'm rooted with Magisk 25.2 on my Pixel 5. I use AdAway to manage my hosts file, and USNF 2.3.1 MOD 2, and I have zero issues with Play Integrity.
O
V0latyle said:
SafetyNet is no longer relevant; it has been replaced by Play Integrity. See this thread. Even so, it is possible to pass Play Integrity BASIC and DEVICE attestation using the Universal SafetyNet Fix Magisk module.
I'm rooted with Magisk 25.2 on my Pixel 5. I use AdAway to manage my hosts file, and USNF 2.3.1 MOD 2, and I have zero issues with Play Integrity.
Click to expand...
Click to collapse
I see.
But SafetyNet/Play Integrity is only one of the consequences of rooting. In Xiaomi devices, the warranty remains intact even after unlocking bootloader unless the device is rooted.
I am happy with flashing Custom ROM with edited hosts file without rooting.
I can always root my device later if this doesn't work.
Unless there is some other drawback which I am not aware of. If there is, please inform me so I don't end up in a mess.
parker_04 said:
I see.
But SafetyNet/Play Integrity is only one of the consequences of rooting. In Xiaomi devices, the warranty remains intact even after unlocking bootloader unless the device is rooted.
Click to expand...
Click to collapse
How would they know whether you rooted the device?
I can see how flashing custom firmware could void the warranty, like Samsung...So I suppose I've answered my own question as rooting would ostensibly involve either patching the boot image or installing SU to system. But, if you're editing a hosts file, you're also changing the system image, so I would assume that this would do the same thing.
parker_04 said:
I am happy with flashing Custom ROM with edited hosts file without rooting.
I can always root my device later if this doesn't work.
Unless there is some other drawback which I am not aware of. If there is, please inform me so I don't end up in a mess.
Click to expand...
Click to collapse
Well, as I pointed out above, you're making modifications to the software. If you're concerned about the warranty, don't use ANY modified software on your device, and keep your bootloader locked. You can't have your cake and eat it too.