Can we flash custom rom without rooting the Mi A1 ? - Xiaomi Mi A1 Questions & Answers

Flashing the custom rom with rooting the device make the device less secure and we cannot use the internet banking applications so , can we flash the custom rom without rooting the device ! If, yes then what will be the procedure !?

altafalam540 said:
Flashing the custom rom with rooting the device make the device less secure and we cannot use the internet banking applications so , can we flash the custom rom without rooting the device ! If, yes then what will be the procedure !?
Click to expand...
Click to collapse
Jajajajajaja sorry but your question is very funny????
But no, it's not possible install custom ROM without root

I would think one can flash when booted into TWRP. One needs to be unlocked though.
The custom ROM you flash does not need to be rooted either.
In fact one can boot into TWRP from fastboot. So one does not even need TWRP on the device itself.

You do not need to root your device to use a custom ROM. But if you wanna flash GApps, then you need to root your device or it may not work as intended.

Wrong, Gapps can be installed from TWRP which has unlimited access to the system partition. In that sense, TWRP is "rooted". But this has nothing to do with the installed firmware being rooted or not.

altafalam540 said:
Flashing the custom rom with rooting the device make the device less secure and we cannot use the internet banking applications so , can we flash the custom rom without rooting the device ! If, yes then what will be the procedure !?
Click to expand...
Click to collapse
Wow this thread exploded with mis-information.
You can install custom ROM's unto your device via TWRP, as well as flash GAPPS and any custom kernels, mods etc you'd like WITHOUT having to gain superuser access within the ROM itself.
You WILL however require to unlock your bootloader that, at least as far as I know, WILL trigger safety net and thus render certain applications (like said banking apps) unusable. To avoid this you can flash magisk, an alternative root solution that also masks certain aspects of the device that allows the device to pass safetynet while retaining root.
There are plentiful amounts of tutorials out pretty much everywhere that will allow you to easily unlock your bootloader, install twrp and root w/ magisk if desired, etc.

DECHTECH said:
Wow this thread exploded with mis-information.
You can install custom ROM's unto your device via TWRP, as well as flash GAPPS and any custom kernels, mods etc you'd like WITHOUT having to gain superuser access within the ROM itself.
You WILL however require to unlock your bootloader that, at least as far as I know, WILL trigger safety net and thus render certain applications (like said banking apps) unusable. To avoid this you can either A. Relock your bootloader after flashing custom rom (should work) or B. Flash magisk, an alternative root solution that also masks certain aspects of the device that allows the device to pass safetynet while retaining root.
There are plentiful amounts of tutorials out pretty much everywhere that will allow you to easily unlock your bootloader, install twrp and root w/ magisk if desired, etc.
Click to expand...
Click to collapse
I don't think you can relock the bootloader when on a custom rom. This will probably brick your device since it will fail the checks of the locked bootloader and then you will have a bricked device with a locked bootloader.
So yeah, you also spread some misinformation I suppose which is even more dangerous than what the other users suggested.

+1, no way you can relock your bootloader after installing a custom firmware. Bootloop guaranteed.

michkost858 said:
I don't think you can relock the bootloader when on a custom rom. This will probably brick your device since it will fail the checks of the locked bootloader and then you will have a bricked device with a locked bootloader.
Click to expand...
Click to collapse
Lannig said:
+1, no way you can relock your bootloader after installing a custom firmware. Bootloop guaranteed.
Click to expand...
Click to collapse
Could have sworn you could do this but I guess I was wrong, sorry for that.
Edited original post.

Related

Towelroot + TWRP Advice

Hi,
Ok guys so a friend of mine wanted root on his S4 Gt-i9500, which I got for him using towelroot, no problems there and for a while he was happy with the root access and getting his phone debloated and a few other bits and bobs. However now he wants to try a couple of AOSP roms, and has asked me to help, which Im happy to do.
If it was my phone I'd take my chances and see what happens but with someone elses device I feel like I should be a bit more responsible, although I have made the dangers clear.
So what I want to do Is add a custom recovery, I've done a bit of googling and I can find out how to do it easy enough when rooted the traditional way, but my concern would be will I run into any problems with the Bootloader still being locked if I just flash a twrp .img with Flashify?
Maybe I should do a full unroot, and root via CF-Root Method and then find a TWRP .tar and flash with Odin.
Not used to having the Bootloader Locked issues as I use a HTC so is an easy unlock.
Any advice people can give would be helpful, hopefully I can just use Flashify and keep it as simple as possible
Ok, just to make things crystal clear, there is a big difference between a locked (i.e. encrypted) bootloader as found on AT&T and Verizon phones, and a SEAndroid Enforcing (aka Knox) bootloader. With the former you cannot customize the firmware that came with the phone, but developers have found workarounds. With Knox, you're still able to root and install custom ROMs if desired. You simply lose the ability to use Knox, which most of the userbase doesn't care about. In HTC speak, all Galaxy S4 bootloaders except the AT&T and Verizon models are equivalent to S-Off.
For installing TWRP, downloading an image and installing through Odin will work. TWRP Manager from the Play Store can also do the job, and do it without you being connected to the PC. Once you have TWRP installed, installing a custom ROM is quick, easy, and painless. Custom ROMs are usually pre-rooted, i.e. including SuperSU or Clockworkmod Superuser. This means you won't have to root again.

Basic Mods Questions- Unlock, Root, AdAway, Tether, TWRP

When I get phone I'm most interested in doing build prop edit for tether, installing custom recovery TWRP for 6P and AdAway would be nice. Loss of Google Pay not a show stopper. Would like to do factory image updates or modified images until custom ROMs and Kernels mature.
Can someone please post idiot proof specific instructions or guide links. I know some basics but assume others do not.
Also interested in verified method to unlock bootloader without tripiing Qfuse.
Any WARNINGS also appreciated, such as if you UnLock and have custom recovery you better not try to ReLock device, etc.....
Free Space? Will 2fs data partion need to be resized on 64gb or 128gb models?
Thanks
Is it recommended to first install TWRP prior to UnLocking Bootloader?
What happens if you try to flash TWRP after unlocking? Bootloop?
Is it possible to Root without modifing Boot? (Angler-mdb08i-boot)(not released yet)
hello chainfire ???

Root galaxy s4 on lollipop

Is there a root procedure for the galaxy s4 that's on the newest lollipop update ? I was able to root with kingroot but read its not safe to use kingroot and try install a custom rom ?
dpmeeks said:
Is there a root procedure for the galaxy s4 that's on the newest lollipop update ? I was able to root with kingroot but read its not safe to use kingroot and try install a custom rom ?
Click to expand...
Click to collapse
CF-autoroot or flash TWRP then in TWRP flash SuperSU
Kingroot and SuperSU_me method works also... Watch the entire process in 2 parts... https://www.youtube.com/watch?v=IWnYFDQ1Vio
K94U said:
Kingroot and SuperSU_me method works also... Watch the entire process in 2 parts... https://www.youtube.com/watch?v=IWnYFDQ1Vio
Click to expand...
Click to collapse
Have you lost root since? I've read a lot about people loosing root after a few hours to a couple of days. Any other issues, like random crashes / freezes / reboots?
Ezintn said:
Have you lost root since? I've read a lot about people loosing root after a few hours to a couple of days. Any other issues, like random crashes / freezes / reboots?
Click to expand...
Click to collapse
That's why flashing TWRP and SuperSU is the safest/easiest way to root, it's about as straightforward as it gets
mattzeller said:
That's why flashing TWRP and SuperSU is the safest/easiest way to root, it's about as straightforward as it gets
Click to expand...
Click to collapse
Wasn't aware I could flash a custom recovery on a stock unrooted phone. I don't use the s4, that's why both of the ones I own aren't rooted already, my personal phones are often rooted before I even get home from the store! I need root and su without tripping knox or making any significant changes to the current set-up on either phone. I would prefer the recovery was stock on at least one of 'em. So how should I go about this? One is a tri band and the other isn't. The dual band one needs to be as stealth as possible. Losing root really won't matter as long as the system permissions remain as is prior to losing root.
Ezintn said:
Wasn't aware I could flash a custom recovery on a stock unrooted phone. I don't use the s4, that's why both of the ones I own aren't rooted already, my personal phones are often rooted before I even get home from the store! I need root and su without tripping knox or making any significant changes to the current set-up on either phone. I would prefer the recovery was stock on at least one of 'em. So how should I go about this? One is a tri band and the other isn't. The dual band one needs to be as stealth as possible. Losing root really won't matter as long as the system permissions remain as is prior to losing root.
Click to expand...
Click to collapse
Flashing a custom recovery is going to trip knox. Why do you care about knox? Triband or not flashing TWRP and SuperSU is the same. If you lose root and have things that require root to operate, you will lose the function of those things, unless it's a one off type of thing
mattzeller said:
Flashing a custom recovery is going to trip knox. Why do you care about knox? Triband or not flashing TWRP and SuperSU is the same. If you lose root and have things that require root to operate, you will lose the function of those things, unless it's a one off type of thing[/QU
It's imperative that root is stealth. Just need to give one app already running su permissions. On one device knox is monitored, that's why I care. I wouldn't care on my s5, but I never tripped it anyway - rooted with modified stock recovery, flashed MOAR, flashed TWRP. Been using MAOR and TWRP since each was first released. Been rooted on my personal devices since 3 days after the Hero was released. I've just never rooted the s4 or "stealth rooted" any device. That's why Kingroot / SSM looks promising. Any help would be appreciated.
Click to expand...
Click to collapse

Does unlocking bootloader means rooting device?

I'm using zuk z1,android 5.1.1,a normal device as it is from manufacturer.I want to root my device. As I am newbie I got a doubt, does unlocking bootloader means rooting device? After I unlocked my bootloader with help of my computer,can I directly install TWRP manager app from play store and flash TWRP recovery with that app?l don't want to flash it by PC as I don't know much about it. Can I flash supersu with smartphone itself.
No. Until you don't install KingoRoot Or SuperSU. Your phone is not permanently rooted. Rooting is the Android equivalent of jailbreaking, a means of unlocking the operating system so you can install unapproved apps, deleted unwanted bloatware, update the OS, replace the firmware, overclock (or underclock) the processor, customize anything and so on.
Anurag11 said:
I'm using zuk z1,android 5.1.1,a normal device as it is from manufacturer.I want to root my device. As I am newbie I got a doubt, does unlocking bootloader means rooting device? After I unlocked my bootloader with help of my computer,can I directly install TWRP manager app from play store and flash TWRP recovery with that app?l don't want to flash it by PC as I don't know much about it. Can I flash supersu with smartphone itself.
Click to expand...
Click to collapse
Well, I believe that using the manager won't make any difference with flashing it using a PC. And once you have flashed the recovery, reboot into it and in my case, when I was trying to reboot to system from TWRP it popped a message and told me that your phone is not rooted- Do you want to root and install SuperSU? And that's how I rooted mine. However after booting into the system you might want to update the SuperSU and the binary to the latest version!
Try it! Hope it'll solve the issue. Feel free to ask any doubts! Because that's what we do here at XDA!

Any root method for C432B380?

I can't seem to find any rooting method for C432B380 software. Is there any step-by-step guide for this version? I'm currently on fully stock firmware, and I haven't unlocked my bootloader yet.
SteadyDisorder said:
I can't seem to find any rooting method for C432B380 software. Is there any step-by-step guide for this version? I'm currently on fully stock firmware, and I haven't unlocked my bootloader yet.
Click to expand...
Click to collapse
Well, ask for unlock code - that's the first step.
I am interested in this as well, as from what I see some people seem to run into problems. Say one is on Nougat C432B380 (I'm B381) and has now got the unlock code. What then? First of all, unlocking the bootloader will result in a reset, clean C432B380 installation, right? Or will there be any need to flash something else?
EDIT: I passed the unlock part following the Guide, and ended up with a clean Nougat installation as I thought. Now what? In the OldDroid TWRP thread I see many people having trouble...
Makishima said:
I am interested in this as well, as from what I see some people seem to run into problems. Say one is on Nougat C432B380 (I'm B381) and has now got the unlock code. What then? First of all, unlocking the bootloader will result in a reset, clean C432B380 installation, right? Or will there be any need to flash something else?
EDIT: I passed the unlock part following the Guide, and ended up with a clean Nougat installation as I thought. Now what? In the OldDroid TWRP thread I see many people having trouble...
Click to expand...
Click to collapse
I recommend staying away from any custom roms for now as all seem to have problems... you say you have an unlocked bootloader, then next step would be flashing a custom recovery, then from there... flashing supersu... try not to do much more than that and accept a fully functioning rooted phone better than getting a squichy camera or whatever from custom roms.... wait till they get stable
Moemen Shahawy said:
I recommend staying away from any custom roms for now as all seem to have problems... you say you have an unlocked bootloader, then next step would be flashing a custom recovery, then from there... flashing supersu... try not to do much more than that and accept a fully functioning rooted phone better than getting a squichy camera or whatever from custom roms.... wait till they get stable
Click to expand...
Click to collapse
I was not planning to install a custom ROM, I just want root, mainly for Viper4Android and some other things, but after reading the whole OldDroid TWRP thread I saw some people reporting problems with bootloops and whatnot, mainly after flashing SuperSU. Is flashing TWRP and then EliteKernel and rooting with phh or Magisk preferable? I just got my device back from the Huawei services, with a new board and everything and I don't want to ruin the stock installation again, so I am trying to be a bit more certain before I do anything.
Thank you for replying.
EDIT: Okay, so what I did was flash the latest OldDroid TWRP through fastboot and then I booted into recovery and flashed the latest Magisk (v13.3 I think). Now I have root and everything seems to work. So happy.
EDIT2: It seems that although it says I have root, I can't actually do anything with it, e.g. I can't uninstall system apps with Link2SD even though it says it was successful - reboot, still there - and the modules won't appear even after installing.... So, I don't know what's wrong.
Makishima said:
I was not planning to install a custom ROM, I just want root, mainly for Viper4Android and some other things, but after reading the whole OldDroid TWRP thread I saw some people reporting problems with bootloops and whatnot, mainly after flashing SuperSU. Is flashing TWRP and then EliteKernel and rooting with phh or Magisk preferable? I just got my device back from the Huawei services, with a new board and everything and I don't want to ruin the stock installation again, so I am trying to be a bit more certain before I do anything.
Thank you for replying.
EDIT: Okay, so what I did was flash the latest OldDroid TWRP through fastboot and then I booted into recovery and flashed the latest Magisk (v13.3 I think). Now I have root and everything seems to work. So happy.
EDIT2: It seems that although it says I have root, I can't actually do anything with it, e.g. I can't uninstall system apps with Link2SD even though it says it was successful - reboot, still there - and the modules won't appear even after installing.... So, I don't know what's wrong.
Click to expand...
Click to collapse
stay away from magisk if you want something stable... at least my opinion. Magisk is fine, the only add it adds, is magisk hide, which seems to keep failing now for most people. I'm suffering through it now and switching to supersu... try finding the correct way to remove magisk root and go the chainfire's supersu
Moemen Shahawy said:
stay away from magisk if you want something stable... at least my opinion. Magisk is fine, the only add it adds, is magisk hide, which seems to keep failing now for most people. I'm suffering through it now and switching to supersu... try finding the correct way to remove magisk root and go the chainfire's supersu
Click to expand...
Click to collapse
I restored a backup of the boot partition I had made when I first flashed TWRP which seems to have deleted Magisk, the app told me it was not installed (even though I see now a Magisk folder in data...) and then flashed Super SU, but I still can't delete system apps and having trouble with Viper*. But maybe it's not SU's fault. I don't know. I flashed v2.79, I previously had trouble with the newest versions.
Also, I had not activated the Hide function, I think.
*It is driving me crazy! Why does it not work? Supposedly I am root, I even deleted the system apps with the file managers but when I exited and reentered the folder they were there again. What is going on?... Wait... Is this normal, is it because it is system-less root?
To root any nougat fw:
1)unlock bootloader. You have to get unlock code from huawey and then in fastboot mode do: "fastboot oem unlock yourcode"
2)flash twrp recovery, i suggest you the hassan's recovery https://www.androidfilehost.com/?fid=745425885120756473
3)in fastboot mode do "fastboot flash recovery nameoftherecovery.img
4)reboot in recovery and flash this supersu
It is the 2.82 for emui 5 without loop mount,is perfect for p9lite https://www.androidfilehost.com/?fid=817550096634776377

Resources