Susco Posted May 12, 2021 Share Posted May 12, 2021 I have a MI A2 lite and want to root it, so that I can paste a hosts file, then unroot it again, because my banking app will not work on a rooted phone Reason is because I recently get inundated by ads, not in the browser but in my default applications. I open my file browser, and there will be a ticktock ad, if not a full screen video from Lazada or Shopee. Driving me crazy. Don't want to connect phone to PC in the process, as I have issues with my PC, and don't want to end up with a brick. When I do a Google for it, I get plenty results for how to root without PC or TWRP. When I click the site, first line in the instructions is, connect your phone to your PC lol. So any suggestions are welcome Link to comment Share on other sites More sharing options...
Eindhoven Posted May 12, 2021 Share Posted May 12, 2021 You don't need to root the phone to modify the HOSTS file. But you will lose your data if you don't back it up. https://forum.xda-developers.com/t/adblock-guide-without-root-or-application-mi-a2-6x.3874190/ https://forum.xda-developers.com/t/guide-how-to-unlock-bootloader-xiaomi-mi-a2.3831484/ and yes you will still need a PC. I didn't get involved in your PC thread as mostly it's a waste of time trying to help people with their PC problems here. Link to comment Share on other sites More sharing options...
Susco Posted May 12, 2021 Author Share Posted May 12, 2021 1 minute ago, Eindhoven said: You don't need to root the phone to modify the HOSTS file. But you will lose your data if you don't back it up. My bootloader is unlocked. How would I lose data by edit the hosts file, since it only redirects host names Link to comment Share on other sites More sharing options...
Eindhoven Posted May 12, 2021 Share Posted May 12, 2021 5 minutes ago, Susco said: My bootloader is unlocked. How would I lose data by edit the hosts file, since it only redirects host names If your Bootloader is already unlocked then you won't lose any data. So have you tried using twrp to modify the HOSTS? Link to comment Share on other sites More sharing options...
Eindhoven Posted May 12, 2021 Share Posted May 12, 2021 (edited) https://twrp.me/xiaomi/xiaomimia2lite.html Of course choose the No Root method if you don't want to Root. Edited May 12, 2021 by Eindhoven Link to comment Share on other sites More sharing options...
Susco Posted May 12, 2021 Author Share Posted May 12, 2021 2 minutes ago, Eindhoven said: If your Bootloader is already unlocked then you won't lose any data. So have you tried using twrp to modify the HOSTS? No I haven't, and in the link you provided there is no instruction on how to boot in TWRP, neither a link to the correct TWRP version. As far as I'm aware TWRP can be booted from SD card, isn't it, but you need the correct TWRP file. Side question, why today every <deleted> site, including those I visit daily, give me the Captcha where I have to click 2 pages of images? Link to comment Share on other sites More sharing options...
Susco Posted May 12, 2021 Author Share Posted May 12, 2021 The Mi2/2S are android 4.1 phones. You think that TWRP will work on a Android 8.1 MI A2 Lite? Link to comment Share on other sites More sharing options...
Eindhoven Posted May 12, 2021 Share Posted May 12, 2021 Seems you can do it another way: https://forum.xda-developers.com/t/guide-hosts-based-adblocking-without-root.3526537/ Link to comment Share on other sites More sharing options...
Eindhoven Posted May 12, 2021 Share Posted May 12, 2021 (edited) Just now, Susco said: The Mi2/2S are android 4.1 phones. You think that TWRP will work on a Android 8.1 MI A2 Lite? Fixed. But see if the other method suits you better. Edited May 12, 2021 by Eindhoven Link to comment Share on other sites More sharing options...
Susco Posted May 12, 2021 Author Share Posted May 12, 2021 5 minutes ago, Eindhoven said: Meant to double check that. Take a look at the other method whilst I check. I look at the other method, still don't know why I need the PC. TWRP boots from SD card, and the hots file can be copied to system / etc from the SD card I assume. Link to comment Share on other sites More sharing options...
Eindhoven Posted May 12, 2021 Share Posted May 12, 2021 Just reading this: https://forum.xda-developers.com/t/cant-replace-hosts-file.3799456/ Yours is a Redmi Pro 6 equiavalent Link to comment Share on other sites More sharing options...
Susco Posted May 12, 2021 Author Share Posted May 12, 2021 (edited) 5 minutes ago, Eindhoven said: Just reading this: https://forum.xda-developers.com/t/cant-replace-hosts-file.3799456/ Yours is a Redmi Pro 6 equiavalent Yes they have the same spec. Mine is international version, don't know if that makes a difference. Edit : I read that link now, so I will need root Edited May 12, 2021 by Susco Link to comment Share on other sites More sharing options...
Eindhoven Posted May 12, 2021 Share Posted May 12, 2021 They are stating that it will be overwritten every time by the Chinese GUI unless you modify whilst Rooted. Link to comment Share on other sites More sharing options...
Susco Posted May 12, 2021 Author Share Posted May 12, 2021 49 minutes ago, Eindhoven said: I didn't get involved in your PC thread as mostly it's a waste of time trying to help people with their PC problems here. After I cleaned the GPU contact, and switched SAT cable, SATA port and power link to the SSD earlier this evening, I haven't had any issues anymore, and I used the PC heavily since. Before I could not use it for more than 30 minutes at most before it would freeze up. Touch wood, will try Brave browser again tomorrow 1 Link to comment Share on other sites More sharing options...
jackdd Posted May 13, 2021 Share Posted May 13, 2021 15 hours ago, Susco said: I open my file browser, and there will be a ticktock ad, if not a full screen video from Lazada or Shopee. Driving me crazy. Just use another file browser app? Link to comment Share on other sites More sharing options...
Susco Posted May 13, 2021 Author Share Posted May 13, 2021 1 minute ago, jackdd said: Just use another file browser app? The file browser app is the default one installed on the MI A2 Lite. I have the phone for about 2 years now, and it started probably a month ago. The ads are in other applications that had no ads previously as well. I already have removed apps I suspected of sending those ads, but to no avail Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now