Freshly bought Mi A1 - to OTA or not to OTA? - Xiaomi Mi A1 Questions & Answers

Hey guys,
want to mod my freshly bought Mi A1 to the max, but I'm not sure if i should OTA first or better start modding right away?
I already unlocked the bootloader and it didnt wipe it - it also has 7.1 installed still. Generally I'm usually reluctant to do official updates because they usually make modding harder - but I tried booting the treble TWRP installer .img through fastboot (without installing it) and it failed because some partition was missing it said.. so I just want to hear if OTA is necessary to use the latest custom roms or if i can keep the old bootloader etc?
Would be cool if someone who knows could say smth about that.
Or is updating through OTA actually recommended even when not planning to ever use stock roms?

zroice said:
Hey guys,
want to mod my freshly bought Mi A1 to the max, but I'm not sure if i should OTA first or better start modding right away?
I already unlocked the bootloader and it didnt wipe it - it also has 7.1 installed still. Generally I'm usually reluctant to do official updates because they usually make modding harder - but I tried booting the treble TWRP installer .img through fastboot (without installing it) and it failed because some partition was missing it said.. so I just want to hear if OTA is necessary to use the latest custom roms or if i can keep the old bootloader etc?
Would be cool if someone who knows could say smth about that.
Or is updating through OTA actually recommended even when not planning to ever use stock roms?
Click to expand...
Click to collapse
If security matters for you yes
The only thing you'll share with a custom ROM is the bootloader
Since may update locking or relocking the bootloader will wipe your data
It's your choice

but it will still work as easy as before to unlock/lock with just a fastboot command, right?
and will a custom rom work with a locked bootloader? Like first unlock, install custom rom + kernel, then relock?

zroice said:
but it will still work as easy as before to unlock/lock with just a fastboot command, right?
and will a custom rom work with a locked bootloader? Like first unlock, install custom rom + kernel, then relock?
Click to expand...
Click to collapse
You have to enable it in Developer settings.

zroice said:
but it will still work as easy as before to unlock/lock with just a fastboot command, right?
and will a custom rom work with a locked bootloader? Like first unlock, install custom rom + kernel, then relock?
Click to expand...
Click to collapse
It will always be that easy to unlock and relock the bootloader
No don't relock on anything that is out of stock (custom kernel , magisk, custom ROM etc) this will lead to a softbrick and you'll have to be on edl more to reflash a stock rom
What's the interest of having a locked bootloader with a custom ROM? You won't pass the safety net anyway
Just keep it unlock
You can do ota with an unlocked bootloader

Dead-neM said:
It will always be that easy to unlock and relock the bootloader
No don't relock on anything that is out of stock (custom kernel , magisk, custom ROM etc) this will lead to a softbrick and you'll have to be on edl more to reflash a stock rom
What's the interest of having a locked bootloader with a custom ROM? You won't pass the safety net anyway
Just keep it unlock
You can do ota with an unlocked bootloader
Click to expand...
Click to collapse
alright. thanks very much for explaining in details - exactly what i was looking for.

What's the use of your android one device if you will not update it, that's what you pay for.

HidekiRyuga said:
What's the use of your android one device if you will not update it, that's what you pay for.
Click to expand...
Click to collapse
hahahaaa exactly the point :laugh:

well once you have everything "perfectly set up" updates can ruin it. but yea relocking the bootloader really was a stupid idea - it was the idea to make it tamper proof but since custom kernels wont boot with locked bootloader that wouldnt work.

Related

How can I just root and not unlock

Is it possible to just root my phone?
if so how do i do it?
All the posts I have seen go into unlocking and then rooting
gjjh25 said:
Is it possible to just root my phone?
if so how do i do it?
All the posts I have seen go into unlocking and then rooting
Click to expand...
Click to collapse
you will need to unlock to flash custom zip, but u can relock after
gjjh25 said:
Is it possible to just root my phone?
if so how do i do it?
All the posts I have seen go into unlocking and then rooting
Click to expand...
Click to collapse
Question - why? What do you want to root your phone for if not to use the wonderful tools of root. Why do you think fully rooting your phone will harm something. Locked or unlocked bootloader is not going to affect your phone. Rooted stock rom with recovery will not make it act funny.... Sorry not putting you out there but just asking why? Feel free to ignore me if you must...
Edit: Sorry to answer your question like the post above said you can root and then lock it right back up if that is your preference
playya said:
Question - why? What do you want to root your phone for if not to use the wonderful tools of root. Why do you think fully rooting your phone will harm something. Locked or unlocked bootloader is not going to affect your phone. Rooted stock rom with recovery will not make it act funny.... Sorry not putting you out there but just asking why? Feel free to ignore me if you must...
Edit: Sorry to answer your question like the post above said you can root and then lock it right back up if that is your preference
Click to expand...
Click to collapse
I have come from an HTC Desire, which I rooted and had a custom rom (Cyganonmod) on and was very happy with it.
I am still not sure of what I would gain by doing the same with my Nexus 4 ?
any advice is much appreciated.
Is this new Cyganonmod installer the best way to go?
gjjh25 said:
I have come from an HTC Desire, which I rooted and had a custom rom (Cyganonmod) on and was very happy with it.
I am still not sure of what I would gain by doing the same with my Nexus 4 ?
any advice is much appreciated.
Is this new Cyganonmod installer the best way to go?
Click to expand...
Click to collapse
This phone is built for rooting and modding. You wont know what benefit you have until you either read up and see if the mods are ones you want or actually flash a rom. Sure try the CM installer but if you dont toolkits or just basic knowledge of android can get this phone roooted in minutes.
the CM rom on your HTC will give you the same benefits on your Nexus 4
playya said:
This phone is built for rooting and modding. You wont know what benefit you have until you either read up and see if the mods are ones you want or actually flash a rom. Sure try the CM installer but if you dont toolkits or just basic knowledge of android can get this phone roooted in minutes.
the CM rom on your HTC will give you the same benefits on your Nexus 4
Click to expand...
Click to collapse
Thanks, what do you recommend for the easiest way to unlock and root then?
gjjh25 said:
Thanks, what do you recommend for the easiest way to unlock and root then?
Click to expand...
Click to collapse
I used a toolkit but honestly you can unlock manually by just booting into bootloader mode. Go into development and try Wugs Toolkit.... Rooting the phone is easy and all methods are relatively the same.
I do not see anything wrong with giving CM a try as well
gjjh25 said:
Is it possible to just root my phone?
if so how do i do it?
All the posts I have seen go into unlocking and then rooting
Click to expand...
Click to collapse
I recommend you to stick to your original plan, its your phone, do what you like, you don't need to flash custom roms if you don't want to. I am using stock kernel and stock KitKat right now and the performance is excellent.
Follow these instructions to unlock bootloader, install latest kitkat factory image, install custom TWRP recovery, and root. http://forum.xda-developers.com/showthread.php?t=2010312
The links to fastboot package and driver required is in my signature.
Link to download factory image: https://developers.google.com/android/nexus/images
Link for latest TWRP: TWRP recovery
Link for latest SuperSU package: SuperSU package
After you do all that, in bootloader menu, you can flash back the stock recovery (recovery.img), which is location in the "image-occam-******.zip" of the factory image. (fastboot flash recovery recovery.img)
Then lock your bootloader by "fastboot oem lock". You can also use BootUnlocker to lock and unlock your bootloader on the fly while in the phone, without losing your data, since everytime you do fastboot oem unlock, it will wipe the entire device.
By using stock rom, stock recovery, stock kernel and temporarily unroot (SuperSU) or hide root (SuperSU paid version), it allows you to receive future OTA updates from Google. If you want to modify your phones more while staying with stock, read up on Xposed Framework and its module Gravity Box, which is not yet compatible with Android 4.4 but will be eventually.
Just remember if you don't have custom recovery, once something goes wrong and your phone can't boot, its very hard to save the data inside. Once you have custom recovery like TWRP, you can make a backup of your stock image (which also backup your stock kernel) and try out other custom roms and easily go back to stock, then you can flash stock recovery again to receive OTA updates.
Thanks for advice everyone.
I rooted and unlocked with Wugfresh over the weekend. A lot easier than I thought it would be

Updates through custom recovery with a locked bootloader possible?

If I locked my bootloader, can I update SuperSU (zip) or TWRP (img) using TWRP --> Install?
I'm already aware that it won't allow me to flash custom ROMs, custom recoveries or use fastboot commands.
What does having a locked bootloader prevent me from doing?
Thank you
AndrewDam said:
If I locked my bootloader, can I update SuperSU (zip) or TWRP (img) using TWRP --> Install?
I'm already aware that it won't allow me to flash custom ROMs, custom recoveries or use fastboot commands.
What does having a locked bootloader prevent me from doing?
Thank you
Click to expand...
Click to collapse
The better question is why would you have a locked bootloader? If you have any kind of boot loop or error you will end up with a paper weight that will have to be sent off for repairs when its easily fixed with an unlocked bootloader.
murphyjasonc said:
The better question is why would you have a locked bootloader? If you have any kind of boot loop or error you will end up with a paper weight that will have to be sent off for repairs when its easily fixed with an unlocked bootloader.
Click to expand...
Click to collapse
You're right about having a boot loop problem but isn't the phone more secure with a locked bootloader though? I read that it's recommended that you relock the bootloader if you're done making modifications so that no one can do anything malicious with your phone (to some extent).
AndrewDam said:
You're right about having a boot loop problem but isn't the phone more secure with a locked bootloader though? I read that it's recommended that you relock the bootloader if you're done making modifications so that no one can do anything malicious with your phone (to some extent).
Click to expand...
Click to collapse
I would say it's much more likely you brick your phone due to having a locked bootloader than someone else getting their hands on your phone and actually having the knowledge to cause trouble for you.
to relock your bootloader you must have FULLY STOCK firmware back on your device, relocking with anything in the phone being custom can result in a paperweight
Having a rooted phone is more vulnerable than a unlocked bl phone. Dont lock bl back unless you are full stock (I would still say dont though)
AndrewDam said:
You're right about having a boot loop problem but isn't the phone more secure with a locked bootloader though? I read that it's recommended that you relock the bootloader if you're done making modifications so that no one can do anything malicious with your phone (to some extent).
Click to expand...
Click to collapse
It's more secure, sure. But if you take care of your phone it doesn't fall into the wrong hands. Plus, if you have TWRP installed still a tech savvy thief (one who understands what a locked bootloader means) can easily flash a ROM and boot into the phone. As sometime else pointed out, the chances of you ending up with a brick are higher than the chances of someone getting your phone.
Sent from my Nexus 6P
Ok that makes sense to not lock the bootloader. Thanks for the information everyone!

Bricked device?

Hi everyone,
While trying to upgrade my device to stock Android 7.1.1, I've forgotten to flash the boot image. All the other components have been correctly flashed (system, bootloader, radio, etc.), but I was not careful enough and I forgot to flash the boot image. The problem is I've decided to relock my bootloader (silly me) right afterwards and now the device is in a bootloop (as the current boot image comes from the custom ROM that was installed previously). Naturally, I cannot unlock my bootloader again as it says "OEM unlock is not allowed". Am I screwed? Any ideas on how to unlock my bootloader? After many years of flashing, this is the first time I'm in a real trouble. Thanks for your help!
Yup u may at a lose if the Bootloader is locked then I don't think u can flash anything that's why it's recommended not to Relock the Bootloader bc if you phone doesn't boot for some reason then there's nothing u can do but to RMA it if u still have warranty. If not then sell as parts
Sent from my Pixel XL using Tapatalk
Thanks for your input! I will have it RMA'ed, so it's not a huge deal, but I was wondering whether there was a way of troubleshooting this. But I guess that's not possible. Cheers!
[Guide] Fool/Noob proof way to do clean installs on Nexus Devices
http://forum.xda-developers.com/nexu...talls-t3518311
try this clean install should work

TWRP, Root, Xposed

My last android was a lollipop version and I guess there are a lot of changes and security "improvements".
On my Huawei P10 Lite (WAS-LX1 8.0.0.367 C02 / EMUI 8.0.0) I want to flash TWRP, root the stock ROM. I want also to use Xposed, but i'm afraid to not brick the phone, I also saw something regarding FRP, bootload unlock.
If it's not possible and you consider that it's more simple to install directly a custom rom, then which one?
Somebody can guide me?
For root or install a custom rom you will need unlock the bootloader and that requires an unlock code, you can get the code with DC Unlocker but it cost you some money.
VALYYYY said:
My last android was a lollipop version and I guess there are a lot of changes and security "improvements".
On my Huawei P10 Lite (WAS-LX1 8.0.0.367 C02 / EMUI 8.0.0) I want to flash TWRP, root the stock ROM. I want also to use Xposed, but i'm afraid to not brick the phone, I also saw something regarding FRP, bootload unlock.
If it's not possible and you consider that it's more simple to install directly a custom rom, then which one?
Somebody can guide me?
Click to expand...
Click to collapse
First you need to use DC-Unlocker to get a bootloader code. It will cost you 4€. Then unlock your bootloader. Then install this TWRP. It works perfectly in stock EMUI 8, but in custom roms it doesn't even boot and also make sure to use "fastboot flash recovery_ramdisk" and not "fastboot flash recovery". Then flash the latest magisk. And for Xposed you'll have to use v90 beta 4 version on stock EMUI 8 otherwise you'll get a bootloop. And it's not for magisk, you'll have to flash it in TWRP.
DeathBell said:
First you need to use DC-Unlocker to get a bootloader code. It will cost you 4€. Then unlock your bootloader. Then install this TWRP. It works perfectly in stock EMUI 8, but in custom roms it doesn't even boot and also make sure to use "fastboot flash recovery_ramdisk" and not "fastboot flash recovery". Then flash the latest magisk. And for Xposed you'll have to use v90 beta 4 version on stock EMUI 8 otherwise you'll get a bootloop. And it's not for magisk, you'll have to flash it in TWRP.
Click to expand...
Click to collapse
Does the DC-UNLOCKED read huawei p10 8.0.0.367?
How can Dc_Unlocker made an Bootloader Unlock Code? HUAWEI doesn't give any Bootloader Unlock Codes for anyone Out!
I would really like to Flash Costum Recovery and Root my P10Lite(WAS_LX1) android&emui 8!
Or can I flash With Stock Recovery Magisk and later Root Device and Flash Costum Recovery/Rom with locked Bootloader? Or Unlock Bootloader other Option?
Thanks a lot for every tip
Overload87 said:
How can Dc_Unlocker made an Bootloader Unlock Code? HUAWEI doesn't give any Bootloader Unlock Codes for anyone Out!
I would really like to Flash Costum Recovery and Root my P10Lite(WAS_LX1) android&emui 8!
Or can I flash With Stock Recovery Magisk and later Root Device and Flash Costum Recovery/Rom with locked Bootloader? Or Unlock Bootloader other Option?
Thanks a lot for every tip
Click to expand...
Click to collapse
You can't flash nothing with locked bootloader. You need to pay for dc phoenix credit.
Overload87 said:
How can Dc_Unlocker made an Bootloader Unlock Code? HUAWEI doesn't give any Bootloader Unlock Codes for anyone Out!
I would really like to Flash Costum Recovery and Root my P10Lite(WAS_LX1) android&emui 8!
Or can I flash With Stock Recovery Magisk and later Root Device and Flash Costum Recovery/Rom with locked Bootloader? Or Unlock Bootloader other Option?
Thanks a lot for every tip
Click to expand...
Click to collapse
DC have "backdoors" try search on their site something about bl codes.. It is your one solution because with locked bl you can't flash nothing..So pay for bl code --> unlock it --> do flash
Dejvid50 said:
DC have "backdoors" try search on their site something about bl codes.. It is your one solution because with locked bl you can't flash nothing..So pay for bl code --> unlock it --> do flash
Click to expand...
Click to collapse
Okay thanks,
So I decided their is an Universal Code(Key Gen.)for All Huawei/&other devices to generate an Unlock Code with the Imei Nummbers I think.
With the Right Knowing everyone could generate his Own Unlock Code.
Thanks for your Help now I Understand a bit more about Flashing and Bootloaders.
DeathBell said:
First you need to use DC-Unlocker to get a bootloader code. It will cost you 4€. Then unlock your bootloader. Then install this TWRP. It works perfectly in stock EMUI 8, but in custom roms it doesn't even boot and also make sure to use "fastboot flash recovery_ramdisk" and not "fastboot flash recovery". Then flash the latest magisk. And for Xposed you'll have to use v90 beta 4 version on stock EMUI 8 otherwise you'll get a bootloop. And it's not for magisk, you'll have to flash it in TWRP.
Click to expand...
Click to collapse
Thanks for your advices! Already done everything you said. Everything is working well, except one thing: GravityBox seems that it does no effect on my stock rom. Any idea how to make these tweaks work?
Overload87 said:
How can Dc_Unlocker made an Bootloader Unlock Code? HUAWEI doesn't give any Bootloader Unlock Codes for anyone Out!
I would really like to Flash Costum Recovery and Root my P10Lite(WAS_LX1) android&emui 8!
Or can I flash With Stock Recovery Magisk and later Root Device and Flash Costum Recovery/Rom with locked Bootloader? Or Unlock Bootloader other Option?
Thanks a lot for every tip
Click to expand...
Click to collapse
they encrypting the unlock code from the imei...thats all

Back to stock after unlocking bootloader?

Hey there,
I've read about GooglePay not working after unlocking bootloader. I don't know if I will ever use GooglePay but I want to know if I can go back to stock (lock bootloader?) some day after unlocking to start using GooglePay.
Cheers
Google Pay works even with Magisk.
But yes, you can lock your bootloader again with adb/fastboot ot Mi Flash, when you want.
Schnedi said:
Google Pay works even with Magisk.
But yes, you can lock your bootloader again with adb/fastboot ot Mi Flash, when you want.
Click to expand...
Click to collapse
Can you lock your bootloader again after installing Lineage?
bicalov said:
Can you lock your bootloader again after installing Lineage?
Click to expand...
Click to collapse
You can relock BL only if you first go back to stock
Locking BL pulls low-level Factory reset (not sure would it even work if you are on LN or other custom ROM and/or custom Recovery or would it simply brick your phone that you will need then paid assistance with EDL account to unbrick)
(Besides, what would you do then in future if you lock BL when you have LN - you would never be able to unlock again because you must be on stock for unlocking. And with relocked BL you would not be able to flash anything anymore)
Thank you for this explenation,

Categories

Resources