Camera2 api and Bootlloader Locked. Possible? - Xiaomi Mi A2 / 6X Questions & Answers

Hi everyone. I just want to ask if is possible to get Camera2 api feature in our Mi A2 (No lite version) with the bootloader locked and without Root. I had a Mi A1 Before and I remember that was possible to get that feature with a temp root and modifying the a file. Obviously I'm talking about keep the bootloader locked of course. I'm just asking cause I don't like the Warning Message related to Bootloader Unlock. I really appreciate if someone has the answer to my question. Thanks for the help.

You need bootloader unlocked. If you unlock the bootloader and enable gcam but then lock the bootloader again you will lose gcam support.

maikalex96 said:
Hi everyone. I just want to ask if is possible to get Camera2 api feature in our Mi A2 (No lite version) with the bootloader locked and without Root. I had a Mi A1 Before and I remember that was possible to get that feature with a temp root and modifying the a file. Obviously I'm talking about keep the bootloader locked of course. I'm just asking cause I don't like the Warning Message related to Bootloader Unlock. I really appreciate if someone has the answer to my question. Thanks for the help.
Click to expand...
Click to collapse
Nope.

Related

ReUnlocking converted A2 (6X)

I have a converted A2 (+ARB 4), with UNLOCKED bootloader.
I read somewhere if you relock the BL , you will not able to UNLOCK it again ever after! (is it true?)
and other thing: If it try the MIUI BL Unlocker Official Application to unlock my device (even when it is still unlocked) what could be happen? (I've just followed the steps till the warning msg: "Unlocking Bootloader will erase user Data" ). (I read somewhere else that for unlocking miui devices you need to submit the request and you need to wait for a long time to get the code, and I was going to get the code for a case of necessity in future.)
I need to know how far I can play with these stuffs on my devices and left a practical way to recover a Bricked phone. ( I consider even TEST POINT as a practical option [tried once and it is damn easy and fun ] )
Im sorry bro but the actual model and serial code of your phone is a A2.And that means you probably wont unlock it it will give a hardware error.But pls try it and report.Dont worry there will be a fix!!
Tech_jetoncesaj said:
Im sorry bro but the actual model and serial code of your phone is a A2.And that means you probably wont unlock it it will give a hardware error.But pls try it and report.Dont worry there will be a fix!!
Click to expand...
Click to collapse
If it locked again my BL, what would be the solution? I didn't find any.
the mi unlock app requires a mi account with unlock permissions (account! not phone)
if you try to unlock an unlocked a2 you should either get unsuported - it's meant for miui devices - or already unlocked.
The app first checks the account and passes to further steps, then recognizes my phone, and warns me about wiping Data. ( At this step I declined and closed the app)
Your hypothesis seems correct, but if in any circumstances I would be left with relocked converted A2 , ist there any chance to reunlock it again?
that's why the test point method exists, for locked that you try to fastboot flash
I tried, and it just says: Device Unlocked, no need to reunlock again!
So now is it safe to lock my bootloader and try the app again?
if you lock the bootloader via fastboot commands it wont boot any more.
only way to safely lock is with miflash and you cannot miflash a wayne miui on a converted a2. it will see that it's the jasmine.
if you miflash the a2 fastboot rom it will relock ok - if the flashing works...might not cuz of the arb - but you wont be on miui any more.
what are you trying to do anyway?
i think what you dont understand is the unlock on miui and android one are the same end result but different steps. for miui you godda use the mi unlock, for and1 its just the dev options switch
laviniu_c said:
if you lock the bootloader via fastboot commands it wont boot any more.
Click to expand...
Click to collapse
So if I run the command and re-lock it by Fastboot, how can I re-unlock it again?
laviniu_c said:
only way to safely lock is with miflash and you cannot miflash a wayne miui on a converted a2. it will see that it's the jasmine.
if you miflash the a2 fastboot rom it will relock ok - if the flashing works...might not cuz of the arb - but you wont be on miui any more.
Click to expand...
Click to collapse
So do you mean there is no safety way to re-lock a converted A2 which runs MIUI ?
(and If I had a Banking app which needs a Locked BL to work, there will be no chance to run it at all?)
laviniu_c said:
what are you trying to do anyway?
Click to expand...
Click to collapse
As I said I want to know all the aspects of practical ways to deal with my phone, right now I am totally happy with it, but actually the opportunity of dealing with all these technical stuffs convinced me to buy this phone.
laviniu_c said:
i think what you dont understand is the unlock on miui and android one are the same end result but different steps. for miui you godda use the mi unlock, for and1 its just the dev options switch
Click to expand...
Click to collapse
I've heard that some ROMs may re-lock the phone, since then I would like to know if in any circumstances I would be stuck on that situation how can I re-unlock my phone.
any official miui rom that has the firmware folder in it might do it for example, so will bad ports....
try to use the magisk hide options to fix the banking app, add it to the list of apps for which it specifically hides root. add also the google services and make sure you pass the safetynet tests and your device shows as certified in the playstore settings. i think there were some modules to fix the bl check
laviniu_c said:
any official miui rom that has the firmware folder in it might do it for example, so will bad ports....
Click to expand...
Click to collapse
So lets assume it has been happened, what would be the procedure to rescue my phone? since as you said if the BL locked again it will not boot to OS.
laviniu_c said:
try to use the magisk hide options to fix the banking app, add it to the list of apps for which it specifically hides root. add also the google services and make sure you pass the safetynet tests and your device shows as certified in the playstore settings. i think there were some modules to fix the bl check
Click to expand...
Click to collapse
I would'nt like to root the phone, isn't there any other option?
if you lock the bootloader with any kind of non official rom for your phone (i.e. jasmine_sprout) which in your case is android one it wont boot. the end. only way out of that is the edl mode and miflash. that's the basic difference between locked and unlocked, it checks what os it loads and it makes sure the loaded os is the official rom for the phone. converting the a2 means it needs to be unlocked and you load a rom that's a ported miui10 from wayne to jasmine_sprout. if you flash the full rom, that has the locked bootloader from wayne which will fail to start since:
1 - the phone still isnt wayne
2- the rom isnt quite the official one (since it's renamed to work on jasmine)
3 - even if the phone was fully wayne, you dont really want the official mi 6x rom since that's china only. i.e. no google services
the only unknown in all this is the ARB, but edl should ignore that.
somehow i was under the impression you already have magisk (root/hide) up and running on the converted miui 10. yes, there are good miui 10 ports (for example xiaomi.eu) that give you the miui experience on a2 except they will never have the full ota support that the official rom has.
my advice? stick to the stock a2 rom. locked and full stock. the moment you need to start experimenting is when the android one support stops OR if you really want root.
if you wanted miui and you're outside china, mi 6x is still NOT the way to go. cuz it doesnt have an official global rom anyway. i dont get why everyone is jumping through hoops to get unofficial roms installed with stock support available.
laviniu_c said:
if you lock the bootloader with any kind of non official rom for your phone (i.e. jasmine_sprout) which in your case is android one it wont boot. the end. only way out of that is the edl mode and miflash.
Click to expand...
Click to collapse
So please consider these situations:
The phone is A2 converted to 6X &
The BL has been re-locked &
ARB 4 has been triggered
how can I use EDL mode to unlock it?
(I think miflash would not help because the LOCKED BL and the phone is actually A2)
(I think also Fastboot wont be able to unlock it since it is A2 Converted to 6X)
laviniu_c said:
yes, there are good miui 10 ports (for example xiaomi.eu) that give you the miui experience on a2 except they will never have the full ota support that the official rom has.
Click to expand...
Click to collapse
I'm afraid but I didt't get the point, now every week I receive Pie beta updates (besides there are stable versions too) which actually stable enough, almost Bug & Lag Free (it differs Rom to Rom, but believe me it is COOL ) , and by PitchBlack you can use direct update. (I prefer to install it by myself since I LOVE TWRP & its child PB). so what exactly we miss of original OTA service of XIAOMI?
laviniu_c said:
my advice? stick to the stock a2 rom. locked and full stock. the moment you need to start experimenting is when the android one support stops OR if you really want root..
Click to expand...
Click to collapse
But I think it wouldn't be an option for who has triggered ARB4! isn't it? (I read when you got ARB4 you must forget AndroidOne! even TestPoint won't help)
laviniu_c said:
if you wanted miui and you're outside china, mi 6x is still NOT the way to go. cuz it doesnt have an official global rom anyway. i dont get why everyone is jumping through hoops to get unofficial roms installed with stock support available.
Click to expand...
Click to collapse
Again I didn't get what do you mean, could you please explain it a bit more? (since my current MIUI 10.4 has almost everything)
http://bigota.d.miui.com/V10.0.2.0....0.PDIMIFJ_20181206.0000.00_9.0_02b8deeb6d.tgz this should work with the testpoint/edl method and miflash. (unless arb does something to stop it)
there's a few problems with your approach.
1) not official. any time the guys maintaining the custom rom can decide to stop producing it.
2) all work into these custom roms is voluntary. are they sometime better? sure, never said they werent but again, xiaomi/google/android have far far more resources at their disposal and while the phone is under the official period it will be maintained.
3) did you bother to read the first lines in any custom rom? they take 0 responsibility for whatever happens to your phone. they do not intend to break it, but they dont have to support you if you're in trouble either. if you dont have a valid warranty, that's understandable, you don't lose anything. but guess what? there are official vendors for xiaomi all over the world, offering official warranty. that holds as long as you're on STOCK.
4) though most custom roms are well intended, there is nothing assuring you there's nothing inside there that you dont want installed. you move your trust from xiaomi/google/android (which you can hold accountable) to whoever made that rom (who just carpet say, it's your phone you're doing the flashing, anything happens you're on your own). in most cases those devs don't mean harm, but they could and there's nothing to stop them (and they would never put in the hours of work if there was accountability for their action - i perfectly understand them. it's sortof like, i can try to do this, but because my work is not paid for by the end user they do not have any hold over me. it's correct and yet at the same time it's very very dangerous.). ever seen a custom miui built by a shop? i have, it's packed full of junk, bugs and malware. another thing here is testing. the official rom goes through a bunch of tests/beta versions. not saying it's perfect but it's better then the "known bugs: you tell me". custom rom devs cannot do it any other way, they dont have the time to test or the team to test.
5) the official devs don't have this option, they have a job and do it. it's a completely different approach.
this is not a rant against custom rom devs, i understand them 100%, they're trying to help. what i'm saying is there's always 2 sides to each story. there's no right or wrong, there's just what's best for each user. some of us will want the safe and easy way of the stock roms. some will want custom roms. in the end everyone is doing what they choose with their phone.
laviniu_c said:
http://bigota.d.miui.com/V10.0.2.0....0.PDIMIFJ_20181206.0000.00_9.0_02b8deeb6d.tgz this should work with the testpoint/edl method and miflash. (unless arb does something to stop it)
Click to expand...
Click to collapse
I think it will not work, the Actual duty of ARB4 is to preventing you to use these things! as much as I know after ARB4 you have two options: MIUI 10 or custom ROMs such as Havoc or so, for AndroidONE we need to wait a version of AndroidONE which be compatible with ARB4! otherwise flashing STOCK AndroidONE will simply brick your phone! THE whole IDEA of this THREAT is this!
And BTW as much as I know XIAOMI.EU is cooperating now with the XIAOMI ! besides we do not keep a phone for a whole life time, 2-3 years of supports would be far enough. and they do offer it right now!
and I would like to lock the BL for further security reasons but it seems to be impossible so far otherwise someone suggests a practical way for it.
I guess you need to contact me.
sz.hatef said:
If it locked again my BL, what would be the solution? I didn't find any.
Click to expand...
Click to collapse
Hey its not very good to talk here in xda.We can try some methods!
Chat with me in telegram.
 @blackgryphon1
Dont worry about brick,bcz im the only one who can unbrick,downgrade a xiaomi phone even if its arb4.
Feel free to contact me.
Also join my group i will be there too.
Since i cant post links,search this on telegram <<its my group>><<iT HAS A BLACK PHONE WALLPAPER AND IT HAS 86 MEMBERS!
Mi A2 & Mi 6X
Tech_jetoncesaj said:
Hey its not very good to talk here in xda.We can try some methods!
Chat with me in telegram.
@blackgryphon1
Dont worry about brick,bcz im the only one who can unbrick,downgrade a xiaomi phone even if its arb4.
Feel free to contact me.
Also join my group i will be there too.
Since i cant post links,search this on telegram <<its my group>><<iT HAS A BLACK PHONE WALLPAPER AND IT HAS 86 MEMBERS!
Mi A2 & Mi 6X
Click to expand...
Click to collapse
Just as I said, I would like to know the possible ways, currently I haven't any problem, could you explain it a bit , how could it possible to reunlock my BL if it get locked on MIUI?
ahem.
There is NO way to unlock an A2 device that has been converted to an 6X with ARB anti 4.
Your bootloaders are important in this case (xbl.elf and abl.elf). ARB and bootloader status is also managed here.
If you are using A2, with 6X system without ARB anti 4, that phone uses A2 bootloader. So if you lock your bootloader, it will brick to fastboot (The system has been destroyed / Press any key to shutdown). EDL will still accept any flashes without authentication. You may or may not be able to unlock it again through fastboot.
If you are using A2, with 6X system and firmware with ARB anti 4, that phone uses 6X bootloader. So if you lock your bootloader, it will brick to fastboot (The system has been destroyed / Press any key to shutdown). EDL will not accept any flashes without authentication*. You cannot unlock the phone through fastboot**.
*There is a workaround to this but you need to open your phone's back.
**Because MIUI devices need Mi Unlock to be unlocked, and Mi Unlock wants you to log in, and the system is not accessible, your phone will stay bricked.
You can still unbrick the phone with the above workaround, but you will be stuck with China MIUI and won't be able to unlock your phone's bootloader even if you logged in because your phone is not registered on Mi Unlock database (since Android One devices do not need/use Mi Unlock because of Google's enforcements).
Too long, didn't read?
Do not attempt to lock your phone. Even if you are on fully stock with your phone's own firmware. Locking is extremely risky due to the fact that even unlocking the bootloader corrupts the system integrity in some way.
Letzen said:
ahem.
There is NO way to unlock an A2 device that has been converted to an 6X with ARB anti 4.
Your bootloaders are important in this case (xbl.elf and abl.elf). ARB and bootloader status is also managed here.
If you are using A2, with 6X system without ARB anti 4, that phone uses A2 bootloader. So if you lock your bootloader, it will brick to fastboot (The system has been destroyed / Press any key to shutdown). EDL will still accept any flashes without authentication. You may or may not be able to unlock it again through fastboot.
If you are using A2, with 6X system and firmware with ARB anti 4, that phone uses 6X bootloader. So if you lock your bootloader, it will brick to fastboot (The system has been destroyed / Press any key to shutdown). EDL will not accept any flashes without authentication*. You cannot unlock the phone through fastboot**.
*There is a workaround to this but you need to open your phone's back.
**Because MIUI devices need Mi Unlock to be unlocked, and Mi Unlock wants you to log in, and the system is not accessible, your phone will stay bricked.
You can still unbrick the phone with the above workaround, but you will be stuck with China MIUI and won't be able to unlock your phone's bootloader even if you logged in because your phone is not registered on Mi Unlock database (since Android One devices do not need/use Mi Unlock because of Google's enforcements).
Too long, didn't read?
Do not attempt to lock your phone. Even if you are on fully stock with your phone's own firmware. Locking is extremely risky due to the fact that even unlocking the bootloader corrupts the system integrity in some way.
Click to expand...
Click to collapse
Thanks a lot, it explains everything and totally sounds right to me,
Just couple questions:
so in any circumstances it could be again usable just with a Chinese ROM, and so there will be no way to install Google Play on it, since there will be no custom recovery , no root accessibility , ... , It will be for ever with a Pure Chinese ROM (which practically would be unusable for us). Am I right?
Considering above situation, sending the device to a Xiaomi Center could help us to get back to any kind of global ROM (AndroidONE / MIUI) or not?
Right now I am totally happy with Xiaomi.eu MIUI BETA roms, no need to switch to other projects, I need to know is there any chance to stuck with a locked BL while attempting the new Beta ROMs? I use PitchBlack to flash new ROMs every week. Or if I want to ask it in short: How to prevent to get a Locked BL?
Thanks a lot again.
sz.hatef said:
Thanks a lot, it explains everything and totally sounds right to me,
Just couple questions:
so in any circumstances it could be again usable just with a Chinese ROM, and so there will be no way to install Google Play on it, since there will be no custom recovery , no root accessibility , ... , It will be for ever with a Pure Chinese ROM (which practically would be unusable for us). Am I right?
Considering above situation, sending the device to a Xiaomi Center could help us to get back to any kind of global ROM (AndroidONE / MIUI) or not?
Right now I am totally happy with Xiaomi.eu MIUI BETA roms, no need to switch to other projects, I need to know is there any chance to stuck with a locked BL while attempting the new Beta ROMs? I use PitchBlack to flash new ROMs every week. Or if I want to ask it in short: How to prevent to get a Locked BL?
Thanks a lot again.
Click to expand...
Click to collapse
does flashing a MIUI.eu beta ROM without deleting the firmware folder lock the bootloader ?
what's the benefit from not deleting the firmware folder?
i'm using a converted MI A2
thanks

Camera2API for Xiaomi MI A2

Is there any way to keep camera2API even after locking bootloader?
Mayur_Dhuri said:
Is there any way to keep camera2API even after locking bootloader?
Click to expand...
Click to collapse
I don't think so. To lock bootloader you need to have untouched system, boot. Otherwise your device will be bricked. I don't see reasons for relocking bootloader (your data will be wiped!)

Question Unroot the device and GPay possible?

Hi all,
is it possible to unroot the device, maybe through flashing stock firmware, and then use GPay as before rooting it? Even if the bootloader remains unlocked?
Thx in advance
Blubber120 said:
Hi all,
is it possible to unroot the device, maybe through flashing stock firmware, and then use GPay as before rooting it? Even if the bootloader remains unlocked?
Thx in advance
Click to expand...
Click to collapse
How did you root it? Google Pay works fine on my rooted phone but there's a couple steps to get it to work.
It does work, but I want to sell my Mi 11, because I got a Mi 11 Ultra for not too much money. So I want to flash the original Software on the Mi 11 again. The question is, if GPay will still work after that.
I rooted it by converting the Boot.img file with the magisk app
Blubber120 said:
It does work, but I want to sell my Mi 11, because I got a Mi 11 Ultra for not too much money. So I want to flash the original Software on the Mi 11 again. The question is, if GPay will still work after that.
I rooted it by converting the Boot.img file with the magisk app
Click to expand...
Click to collapse
Not sure. I don't have any experience with just an unlocked bootloader. I always have root along with it. Why aren't you locking the bootloader as well? China Variant? Usually, it makes more sense to lock the bootloader as well if you're selling it ?
It's the german variant. Isn't it risky to relock the bootloader?
There's no relocking risk if you flash the stock firmware beforehand.
Ok, thank you
Ok, thank you
I've tried before with several Xiaomi devices before Mi11 (mi8, mi9, poco x3 nfc and pro), but it surely works.
Blubber120 said:
It's the german variant. Isn't it risky to relock the bootloader?
Click to expand...
Click to collapse
It's risky to lock with a different regional ROM on them. The only one that I know for sure about is the China variant of the phone which can only be locked with the OEM china firmware. The original ROM the phone came locked with is no risk at all. It might also be that the China variant is an outlier because they're not allowed to have GAPPS there.

Question couldn't add device basic data verification failed

I cannot unlock the bootloader. It shows this error. Currently in MIUI Global 13.0.4. Kindly help.
How are you trying to unlock it?
If you're trying any other way than using MiUnlock, it's probably gonna fail.
How To Unlock Bootloader On Xiaomi Devices Using "Mi Unlock" Tool?
Today, Xiaomi grants Mi device unlock permission to nearly everyone, however, the process is as grueling as it was a few years ago.In this article, I will try to simplify the Xiaomi bootloader unlocking process.
fossbytes.com
Hey me also face this pblm my poco x3pro can u find any solution
doughnut9 said:
How are you trying to unlock it?
If you're trying any other way than using MiUnlock, it's probably gonna fail.
How To Unlock Bootloader On Xiaomi Devices Using "Mi Unlock" Tool?
Today, Xiaomi grants Mi device unlock permission to nearly everyone, however, the process is as grueling as it was a few years ago.In this article, I will try to simplify the Xiaomi bootloader unlocking process.
fossbytes.com
Click to expand...
Click to collapse
well read and answer the question you gave an irrelevant answer

Question Updates about Realme 8 pro modding options

Hi all, i don't follow modding world from a while so i don't know what happened more or less into the last 3 years, so now that i need to root the device i wanted to do some questions.
I bought a realme 8 pro at the dayone and now i have the last update installed (so realme UI 4.0). I wanted to do the root but i don't know how much realme support it, if the bootloader is locked or not, ecc. ecc.
I saw in this phone thread that there is a method (the guide is written in May, 14 so it seems very recent) about unlocking bootloader (so i guess is locked?) using deeptest, i tried to read but i didn't really understand what kind of thing is that. So i wanted to ask, what is deeptest? if it is locked, if i successfuly unlock this bootloader what happens to AIO updates? (I guess there will be no updates such as other devices?). If the AIO updates stop to work, Is there a way to manually download and install updates? Can i root this device using magisk for example? I have seen there is something, but there are these things i can't understand.
Thanks in advance for replies and sorry for my bad english.
Hi, yup, the bootloader is locked.
Deeptesting is an app by realme used to request an unlock code. You can try this one https://forum.xda-developers.com/t/unlock-bootloader-help.4425415/post-86777721
Try submitting your application, if it tells you "Your model doesn't support deeptesting" you'll have to follow my guide.
Either way, after a bit of waiting, inside Deeptesting → query approve result → start Deeptesting.
Doing this allows your phone to boot into fastboot. Where you can unlock your phone using
Code:
fastboot flashing unlock
Unlocking the bootloader will wipe your data.
Hi, thanks for the reply! So there is a method to unlock the bootloader. But if i do it, i can't update anymore my device via OTA, right? How could i do that thing. In addiction, is not possible to obtain root permission without bootloader unlock? Because i need root to save whatsapp messages 'cause the application is stupid and can't do a backup by itself.
In addiction... I downloaded deeptesting and my phone does not support it. Yeah
You can get OTAs if, and only if, you didn't modify the firmware. Unlocking itself doesn't break OTAs, but rooting/custom kernels/vbmetas etc. will.
You can't get root without unlocking. As per Whatsapp, I think you can use ADB to back up data without root.
Thanks again. As i know ADB is disabled for whatsapp from a while. Ok then, thanks anyway for all informations. I guess after the bootloader unlock i can install magisk to obtain root acces.

Categories

Resources