[GUIDE]ENABLE Camera2 API without root on Vince. - Xiaomi Redmi Note 5 / 5 Plus Guides, News, & Discu

Here, I shall guide you how to easily enable Android Camera2 API needed for Google Camera (Gcam) app and any other camera apps with advanced manual settings.
This trick requires custom recovery either TWRP or*RWRP*only for booting (without being installed).
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
REQUIREMENTS:
The Device, of course!
Unlocked bootloader.
ADB Driver Installer.
Red Wolf Recovery (RWRP) for Vince.
A Windows-based computer.
A*USB*data*cable.
Step 1 – Install the Minimal Fastboot and ADB Driver on your computer.
Step 2 – Extract the*RWRP*package. You should get a file called “RedWolf-Vince-3.x.x.img“.
Step 3 – Now copy that file to the adb folder.
Step 4 – Next, rename the file from “RedWolf-Vince-3.x.x” to “rwrp“. Note: Commonly Windows does not display the file extension (.img).
Step 5 – Still at the adb folder, launch the command prompt window from that location. Simply hold down the*Shift button*on the keyboard and right-click on any blank area in Windows Explorer (inside the adb folder). Then choose Open PowerShell/Command Prompt Window option
Step 6 – Enable USB Debugging option on your phone.
Step 7 – Now issue the following command correspondingly (type the command and hit Enter):
Code:
adb devices
adb reboot bootloader
fastboot devices
fastboot boot rwrp.img
adb shell
setprop persist.camera.HAL3.enabled 1
setprop persist.camera.eis.enable 1
exit
adb reboot bootloader
fastboot reboot
Congratulations! You have enabled Camera2 API without losing the ability to receive MIUI OTA Update since you do not flash any custom recovery.
If you got help from this guide and/or liked it hit that Thanks button below. It makes me happy

Thank you.
It's working on the Redmi Note 5 Global (WHYRED) aswell.
You have to use this RWRP version:
https://forum.xda-developers.com/redmi-note-5-pro/development/recovery-red-wolf-recovery-project-t3766997

camerlengo said:
Thank you.
It's working on the Redmi Note 5 Global (WHYRED) aswell.
You have to use this RWRP version:
https://forum.xda-developers.com/re...t/recovery-red-wolf-recovery-project-t3766997
Click to expand...
Click to collapse
Well, that's nice to hear that it works on whyred as well!
Can you confirm that on which ROM or miui version it is working?

Will it work on vince latest miui 10 global beta?? Pls confirm and if it does enable camera 2 api I won't lost it in future updates right? Or will it get disabled if I install future updates?and it won't brick my device? Right?

Cannot enable camera2api by using this method on latest MIUI 10 8.7.26. However this method is works on MIUI 9

buddhatrip said:
Cannot enable camera2api by using this method on latest MIUI 10 8.7.26. However this method is works on MIUI 9
Click to expand...
Click to collapse
Oh ohkay

buddhatrip said:
Cannot enable camera2api by using this method on latest MIUI 10 8.7.26. However this method is works on MIUI 9
Click to expand...
Click to collapse
Can you confirm that it doesn't work on miui 10 8.7.26?

kartik676 said:
Will it work on vince latest miui 10 global beta?? Pls confirm and if it does enable camera 2 api I won't lost it in future updates right? Or will it get disabled if I install future updates?and it won't brick my device? Right?
Click to expand...
Click to collapse
You did get the answer.
Yes it does work, but unfortunately not on latest miui 10 beta.
There's no harm in enabling it.
If you get stuck you can always use mi flash to revert back

thanks you, its work
but will i lose this patch when i update to miui 10 ?

androidland said:
thanks you, its work
but will i lose this patch when i update to miui 10 ?
Click to expand...
Click to collapse
Yes, it cannot persist over ota, so you will lose it if you update to miui 10.
But wait, how will you do that?- Miflash tool or normally update via OTA?

AndroBuddy007 said:
Yes, it cannot persist over ota, so you will lose it if you update to miui 10.
But wait, how will you do that?- Miflash tool or normally update via OTA?
Click to expand...
Click to collapse
normaly update via OTA
i wait until miui 10 global final stable
so when i update to miui 10 later via OTA, i will lose this patch ?
and i can not do this patch any more in miui 10 ?

androidland said:
normaly update via OTA
i wait until miui 10 global final stable
so when i update to miui 10 later via OTA, i will lose this patch ?
and i can not do this patch any more in miui 10 ?
Click to expand...
Click to collapse
Yes you will lose this patch on miui 10.
You should be able to use it in miui 10 easily.
And since it will be a global STABLE version, it will work like a charm just as it does in miui 9. Still let's see what Xiaomi does.
Till then enjoy!

Is there any way to unlock Bootloader without loose data? Thanks.

stavrakas2007 said:
Is there any way to unlock Bootloader without loose data? Thanks.
Click to expand...
Click to collapse
I unlocked my BL without losing any data. BUT.... that was 3-4 months ago when there was no such restriction. Now if you unlock your phone, you will lose data.
But you can backup your data in settings<additional settings<backup and reset. Copy those files to your PC. Restore it when you unlock your phone.
Remember that this thread is not for posting such questions, for your question you can google it or search xda. Don't be lazy.

AndroBuddy007 said:
I unlocked my BL without losing any data. BUT.... that was 3-4 months ago when there was no such restriction. Now if you unlock your phone, you will lose data.
But you can backup your data in settings<additional settings<backup and reset. Copy those files to your PC. Restore it when you unlock your phone.
Remember that this thread is not for posting such questions, for your question you can google it or search xda. Don't be lazy.
Click to expand...
Click to collapse
Thanks.

Any issue with anti rollback or bootloop issue?
camerlengo said:
Thank you.
It's working on the Redmi Note 5 Global (WHYRED) aswell.
You have to use this RWRP version:
https://forum.xda-developers.com/redmi-note-5-pro/development/recovery-red-wolf-recovery-project-t3766997
Click to expand...
Click to collapse
Do i need to Flash lazy flasher, after completing this process.
I am on 8.8.2 Global Beta on my redmi note 5 pro.
Thanks

mp4154 said:
Do i need to Flash lazy flasher, after completing this process.
I am on 8.8.2 Global Beta on my redmi note 5 pro.
Thanks
Click to expand...
Click to collapse
Ugh well.... This thread and forum is for REDMI note 5 Vince not pro (whyred).
But I must say that lazy flasher is not needed coz here we are using setprop commands and hence not flashing any mod. So lazy flasher just doesn't come to play here!
Try it out and reply me if you succeeded in enabling the API on your whyred. Remember to just keep Lazy flasher in handy.

Whenever I enter twrp, it always asks for decrypt password. Is there any other way to boot into twrp without formatting data?

pyrohalo90 said:
Whenever I enter twrp, it always asks for decrypt password. Is there any other way to boot into twrp without formatting data?
Click to expand...
Click to collapse
No.
That's why I mentioned RWRP as alternative.

This doesn't work on miui 10 any help on how to do it?

Related

Root Huawei Honor 6X and install TWRP custom recovery

This tutorial guides to successfully root Huawei Honor 6X. If your want to root your device successfully please read all steps and if you are rooting any device for the first time please read all note and go through each and every step slowly. After following this guide your device will be rooted and ready for any other advanced usage.
Note:
Rooting will void the warranty of your smartphone.
Please follow each and every step carefully to safely root your smartphone without bricking.
We will not be responsible if you brick your smartphone.
Take a backup of your stored files and possible full ROM before rooting.
Make sure you read all steps carefully before doing anything to your smartphone.
Rooting is not illegal but some illegal activities could be engaged after rooting your device.
If you brick your device please mention the issue in comment box we will help you as soon as possible.
Make sure your device is same as mentioned in the article’s title.
Please make sure your device bootloader successfully unlocked to unlock please follow this guide: Click here
Download
Recovery Files
SuperSU
Steps to flash TWRP
Make sure you have installed all the drivers of the Honor 6X.
Open and extract all files from the zip and open the .exe file.
The UI is in Chinese but you can read the recovery option.
Select recovery and Flash the recovery.
Wait untill the process in complete.
Reboot your device.
The process is complete you haver installed the custom recovery TWRP in your Honor 6X.
Root your smartphone
Place the SuperSU in your smartphone internal memory.
Reboot your smartphone in recovery mode. to reboot your smartphone in recovery mode first power off your smartphone then long press volume up + power button simultaneously until the Huawei logo appears
Flash the SuperSU.
Congratulation you have successfully rooted your Honor 6X.
The Guide for Root Huawei Honor 6X is complete.
Risks:
Your device could be hacked and will be more exploited for hacking.
You can screw up the device. (Don’t experiment with your device).
Please read the disclaimer in you want to in any case.
Try the tutorial at your own risk.
If you find any issue mention it in the comment box below.
This Guide Honor 6X Unlock Bootloader is 100% working
It's possible to debloat the stock rom after unlock bootloader, install twrp and root ??? no problem after debloat ???
Renaf2 said:
It's possible to debloat the stock rom after unlock bootloader, install twrp and root ??? no problem after debloat ???
Click to expand...
Click to collapse
You have to root the smartphone first
Suman117 said:
You have to root the smartphone first
Click to expand...
Click to collapse
It's ok here i have receive my honor 6x yesterday and my honor honor 6x bootloader ulocked , twrp installed and rooted ok no problem here
Debloat in the first time google apps (playgames, books, hangouts, etc...)
Renaf2 said:
It's ok here i have receive my honor 6x yesterday and my honor honor 6x bootloader ulocked , twrp installed and rooted ok no problem here
Debloat in the first time google apps (playgames, books, hangouts, etc...)
Click to expand...
Click to collapse
Buy a good case for that phone the screen is not scach resistance and can easily get a crack
Suman117 said:
Buy a good case for that phone the screen is not scach resistance and can easily get a crack
Click to expand...
Click to collapse
Thank you for this info
I have received my honor 6x with screen protector directly put on my phone when i open my new device box
This manufacturer is the same quality than meizu phones but little better of course
Renaf2 said:
Thank you for this info
I have received my honor 6x with screen protector directly put on my phone when i open my new device box
This manufacturer is the same quality than meizu phones but little better of course
Click to expand...
Click to collapse
Great
Instead of using the twrp tool provided. Is it safe to flash official TWRP image directly in bootloader mode?
marco_wack said:
I am running Android 7.0 with EMUI 5.0 on my 6X, but logically this recovery doesnt work cause its for MM. So i tried this https://forum.xda-developers.com/hu...ecovery-twrp-3-0-2-android-nougat-03-t3511937 recovery from P9 Lite forums, and it boots but i cant mount storage there. Would it be possible for u to update this TWRP to Nougat for us? If u need any files from the Nougat build reach me out or if you want to know how i installed it
Click to expand...
Click to collapse
How do you have ennui 5 on your 6x??
marco_wack said:
There is this website which lists all of the huawei updates. i downloaded the newest for our device there and installed the update.app (though i struggled a bit). but now i have a rooted emui 5.0 android 7.0 with system r/w and my only problem is that the recovery cant mount storage
Click to expand...
Click to collapse
can you send me screenshots of your emui 5??
marco_wack said:
There you go. Looks just like the same as emui 5.0 on any other Huawei device
Click to expand...
Click to collapse
is it true that is has now an app drawer?? can I have a screen shot of your home screen and the link also ?
marco_wack said:
Yes it has one , I'll add an image. As for link, which link do you mean? If you mean the one to install the update its quite tricky and took me a whole day to get it working and i think it's still a test build with some bugs (for example I can't get magazine unlock to work)
Click to expand...
Click to collapse
yep the installation link, well I can do that, does it have major bugs like dual sim working or other big bugs?
goodygoods said:
yep the installation link, well I can do that, does it have major bugs like dual sim working or other big bugs?
Click to expand...
Click to collapse
Link fot BLN-L21C432 is here:
HTML:
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1277/g104/v75157/f1/full/update.zip
I can't test dual-sim, but i don't see any major bug, but some Huawei apps such Updater and File Manager are missing...the real problem is that we cannot already downgrade to Marshmallow due to the lack of rollback packages...downgrading in dload fails (i tested it yesterday)
Frytz said:
Link fot BLN-L21C432 is here: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1277/g104/v75157/f1/full/update.zip
I can't test dual-sim, but i don't see any major bug, but some Huawei apps such Updater and File Manager are missing...the real problem is that we cannot already downgrade to Marshmallow due to the lack of rollback packages...downgrading in dload fails (i tested it yesterday)
Click to expand...
Click to collapse
so you mean dual sim not working?? but if I reflash stock rom using dload will it work or not?
goodygoods said:
so you mean dual sim not working?? but if I reflash stock rom using dload will it work or not?
Click to expand...
Click to collapse
i mean i've only one sim + microsd. Reflashing stock will NOT work until Honor release a rollback package...so i don't reccomend to flash.
Frytz said:
i mean i've only one sim + microsd. Reflashing stock will NOT work until Honor release a rollback package...so i don't reccomend to flash.
Click to expand...
Click to collapse
oh I see,did you receive any updates or something?
marco_wack said:
The only bugs i can see so far are:
magazine unlock not working, cant get it to work no matter what
sometimes the background of the notification shade is black instead of showing a darkened background of whats behind
everything else is fine, though i dont know about dual sim
Click to expand...
Click to collapse
damn still risky eh, but have you ever received an update ever since? if they give updates then I'll try this rom
marco_wack said:
I checked with HiSuite on PC but it said its the latest version. It says its a developer version doe. And since it's a pre build i guess there is not OTA Update or atleast i couldnt find one so no i didnt receive one
Click to expand...
Click to collapse
ok thank you very much for the info mate, gotta decide if I'd go with this or not ??
I installed 7.0 from the provided link and everything works perfectly. This phone is now super smooth, very quick and sips battery... huge difference! Feels better than my Moto Z.
Sent from my XT1650 using Tapatalk
marco_wack said:
Do you have the same bug like me? Magazine unlock not working and when you open the notification shade on homescreen and change brightness then the background of the shade will be black everywhere?
Click to expand...
Click to collapse
I do not have the shade problem you describe, but magazine unlock is not working for me either - not really a feature I'm interested in personally.
Sent from my XT1650 using Tapatalk

[Recovery][EMUI 8.x][Honor 9 Lite][Unofficial]TWRP 3.2.1-0 [12/05/2018]

Disclaimer​This software comes wth no warranty,XDA staff ,myself or TeamWin stuff can't be hold responsible for any damage it may cause to your device.
Note: Currently Oreo 8.1 custom roms are not supported,only stock EMUI 8.x .
Download and Installation​
* Download twrp recovery
* Start your device in fastboot mode
* Install the recovery using the following command:
Code:
fastboot flash recovery_ramdisk [filename].img --> ex: fastboot flash recovery_ramdisk twrp_honor9_lite_0.1.img
* Restart with this command:
Code:
fastboot reboot
* As soon as you execute the restart command,remove the USB cable and keep pressing Volume UP,so the device will boot to TWRP.This is to avoid that the device boot to OS,overwritting TWRP recovery.
Features​
Internal storage decryption = working
MTP and OTG connection = working
Backup&Restore = working
Note: There are no sources for this yet,because is based on the work of @zxz0O0 ,from Honor 9.
Contributors
**** Pretoriano80
**** zxz0O0 - This wouldn't be possible without this guy,so big big thank to him.I used his base to make this recovery work.Thank again buddy!
**** TeamWin project ,obviously.
**** @Blackball
**** @JamesBott - for testing on Honor 9 Lite
**** Team OpenKirin - thanks for the "Oem Path wipe esclusion" code
**** Anyone that somehow contributed to this project
Download links
twrp_honor9_lite_0.1.img - initial release
twrp_honor9_lite_0.2_test.img - test build ,possible fix for unencrypted devices (stock or custom roms).
thanks
would u add link for stock recovery for LLD-AL10 8.0.0.160(C675)
thanks for the twrp recovery. I used Honor 7x recovery it worked well in my 9 Lite. i will try this.
kdark said:
thanks
would u add link for stock recovery for LLD-AL10 8.0.0.160(C675)
Click to expand...
Click to collapse
Already its here https://forum.xda-developers.com/showpost.php?p=76186952&postcount=2
@kdark can u please pull your system.img from ur phone and give it to me. Because i messed with my phone. No i didnt receive that AR Lens update.(I received it , when i install it failed becoz of root. Now after unrooting completely . my device shows no update :crying: )
VigneshS007 said:
thanks for the twrp recovery. I used Honor 7x recovery it worked well in my 9 Lite. i will try this.
Already its here https://forum.xda-developers.com/showpost.php?p=76186952&postcount=2
@kdark can u please pull your system.img from ur phone and give it to me. Because i messed with my phone. No i didnt receive that AR Lens update.(I received it , when i install it failed becoz of root. Now after unrooting completely . my device shows no update :crying: )
Click to expand...
Click to collapse
tell me how to do it.
i will try
kdark said:
tell me how to do it.
i will try
Click to expand...
Click to collapse
take twrp system.img backup and plz upload. i will try to restore in my phone..
@Pretoriano80 thanks a lot, this is the first thing i'll try after i get my bootloader unlocked. I contacted Huawei for the unlock code as the page where to get it is down.
VigneshS007 said:
@kdark can u please pull your system.img from ur phone and give it to me. Because i messed with my phone. No i didnt receive that AR Lens update.(I received it , when i install it failed becoz of root. Now after unrooting completely . my device shows no update :crying: )
Click to expand...
Click to collapse
Maybe this could help you, stock firmwares for the Honor 9 Lite. Be carrefull i haven't tried them myself and i don't know how to flash them (just found out yesterday).
http://huawei-firmware.com/?load_page=search&q=LLD-L31&page=1
ROO3VER said:
@Pretoriano80 thanks a lot, this is the first thing i'll try after i get my bootloader unlocked. I contacted Huawei for the unlock code as the page where to get it is down.
Maybe this could help you, stock firmwares for the Honor 9 Lite. Be carrefull i haven't tried them myself and i don't know how to flash them (just found out yesterday).
http://huawei-firmware.com/?load_page=search&q=LLD-L31&page=1
Click to expand...
Click to collapse
my device is LLD-AL10 C675 (Indian Version). So i need that only.
VigneshS007 said:
my device is LLD-AL10 C675 (Indian Version). So i need that only.
Click to expand...
Click to collapse
Somehow i posted the link for LLD-L31, here is the link to other types aswell:
http://huawei-firmware.com/?load_page=search&q=Honor+9+lite+&page=1
I can see only one package for your version and it's only 110 mb so i don't know it has any use for you.
ROO3VER said:
Somehow i posted the link for LLD-L31, here is the link to other types aswell:
http://huawei-firmware.com/?load_page=search&q=Honor+9+lite+&page=1
I can see only one package for your version and it's only 110 mb so i don't know it has any use for you.
Click to expand...
Click to collapse
yes, its OTA. i need Latest OTA which has AR Lens feature and May Security Patch.
VigneshS007 said:
yes, its OTA. i need Latest OTA which has AR Lens feature and May Security Patch.
Click to expand...
Click to collapse
I'm afraid these are the only ones there, maybe it's still to come ?
ROO3VER said:
@Pretoriano80 thanks a lot, this is the first thing i'll try after i get my bootloader unlocked. I contacted Huawei for the unlock code as the page where to get it is down.
Click to expand...
Click to collapse
where can i contact them to get the unlock code?
if the honor homepage for bootloader unlock code down - you can use dc-unlocker
i pay for my last bootloader unlock code 4€, for my last FRP unlock 15€
daxter19 said:
where can i contact them to get the unlock code?
Click to expand...
Click to collapse
Search for your local service center email
JamesBott said:
if the honor homepage for bootloader unlock code down - you can use dc-unlocker
i pay for my last bootloader unlock code 4€, for my last FRP unlock 15€
Click to expand...
Click to collapse
Why pay for it when you can get it for free?
@vayavalla
hi,
if i need bootloader unlock code : first use huawei/honor homepage "bootloader unlock". if i can not connect this page (wait-time 1..2 days) i pay dc-unlocker.
this work all time ! that's all.
if in the future from huawei/honor NO bootloader unlock code available - i go with my money to another factory.
daxter19 said:
where can i contact them to get the unlock code?
Click to expand...
Click to collapse
I just tapped the e-mail link on their website and asked for it.
Today i recived a e-mail in witch they asked for info they need to get the code like device-ID, IMEI,... and why i need the code.
Now i'm waiting for it, hopefully i get it tomorrow.
Pretoriano80 said:
Download links
twrp_honor9_lite_0.1.img - initial release
twrp_honor9_lite_0.2_test.img - test build ,possible fix for unencrypted devices (stock or custom roms).
Click to expand...
Click to collapse
Good afternoon. I have a device Huawei p Smart analog Honor 9 Lite. this TWRP does not work. But Your another version: the Only problem is to decrypt DATA at each input. If this TWRP to finish cutting-it will be fine. Thank you for your work.
twrp_p_smart_10.img
ROO3VER said:
I just tapped the e-mail link on their website and asked for it.
Today i recived a e-mail in witch they asked for info they need to get the code like device-ID, IMEI,... and why i need the code.
Now i'm waiting for it, hopefully i get it tomorrow.
Click to expand...
Click to collapse
@daxter19, maybe this is not the fastest or easiest way to get the code but bootloader is unlocked.
Thank you for the recovery! So I tested both v0.1 and v0.2 TWRP builds. V0.1 is stuck at the teamwin boot logo. V0.2 works fine but shows internal /sdcard as encrypted. By the way: is there a way that the recovery is not getting overwritten all the time?
kaiomatico said:
Thank you for the recovery! So I tested both v0.1 and v0.2 TWRP builds. V0.1 is stuck at the teamwin boot logo. V0.2 works fine but shows internal /sdcard as encrypted. By the way: is there a way that the recovery is not getting overwritten all the time?
Click to expand...
Click to collapse
* As soon as you execute the restart command,remove the USB cable and keep pressing Volume UP,so the device will boot to TWRP.This is to avoid that the device boot to OS,overwritting TWRP recovery.
kaiomatico said:
Thank you for the recovery! So I tested both v0.1 and v0.2 TWRP builds. V0.1 is stuck at the teamwin boot logo. V0.2 works fine but shows internal /sdcard as encrypted. By the way: is there a way that the recovery is not getting overwritten all the time?
Click to expand...
Click to collapse
version 0.1 worked fine for me. LLD-AL10 . havent tested 0.2

Redmi Note 5 AI Camera Stopped

Hi,
Noob here, i have camera problem with redmi note 5 ai, it closes automatically since it upgraded to version 10.0.10, i tried lower firmware 9.5.19 and 9.5.22 with same anti 4 but no luck to downgrade, it needs a newer firmware so i tried developer beta miui 10.8.9.20, it succeeded upgrading to latest version but the camera problem is still there, please help me how can i fix this camera issue. Tnx in advance
Up,
No One knows how to fix this issue?
DJSUB said:
Up,
No One knows how to fix this issue?
Click to expand...
Click to collapse
are un bootloader unlocked.?? if yes then download miflash tools and what ever version you want to be ARB4 in fastboot rom its like 2.5gb flash using miflash tools and be careful when flashing maximized the window so you can see at bottom option to clean flash or clean flash and lock bootloader.. make sure you dont select clean and lock.
if after flashing fastboot rom it continues to have same problem. then its something else but this will fix if its a software issue. also try clean installation.
raptorddd said:
are un bootloader unlocked.?? if yes then download miflash tools and what ever version you want to be ARB4 in fastboot rom its like 2.5gb flash using miflash tools and be careful when flashing maximized the window so you can see at bottom option to clean flash or clean flash and lock bootloader.. make sure you dont select clean and lock.
if after flashing fastboot rom it continues to have same problem. then its something else but this will fix if its a software issue. also try clean installation.
Click to expand...
Click to collapse
Thanks for reply bro ?
Maybe it's not unlocked,
How can i unlock the bootloader? Sorry i'm noob to this.lol
DJSUB said:
Thanks for reply bro ?
Maybe it's not unlocked,
How can i unlock the bootloader? Sorry i'm noob to this.lol
Click to expand...
Click to collapse
mmm well actuall you need to download miunlock tool and set up phone for unlock it will give you a timer wich is a month of waiting in hours so when it reaches the limit itll unlock..
use google to search how to unlock redmi note5 ai or pro..
here is guide https://forum.xda-developers.com/re...ndex-redmi-note-5-roms-kernels-tools-t3778554
hey guys,
if you have same camera keep stopping error with redmi note 5/AI
please open this thread in desktop mode or pc and click confirm.
http://en.miui.com/thread-4426082-1-1.html
i think xiaomi will not fix this error if only few users has this issue so please confirm
i tried updating to every new developer beta and stable rom including 8.11.15 and 10.0.4.0 but still didnt fix the issue

Downgrade MIUI

Hi, can I flash MIUI ROM which has this in flash_all.bat:
if [%CURRENT_ANTI_VER%] EQU [] set CURRENT_ANTI_VER=0
when my current ROM after running "fastboot getvar anti" returns 1?
Will MiFlash prevent me from bricking Redmi Note 8 Pro with returning an error because of anti rollback?
P.S.: If I download my current rom in fastboot version there is also CURRENT_ANTI_VER=0 so I truly do not understand why it returns 1 after that command.
When I tried to use MIFlash to do this, it just returned an error without bricking the device.
However, I bricked my RN8P anyway with foolish persistence and paid $26 US to have it restored to MIUI V10.4.2.0 from some installed V11 (don't have it on my PC), after trying to downgrade with TWRP to flash the MIUI V10.4.2.0 zip file. Jesus, nothing but the LED light functioned. Like you, the installed VER was A_V at 1, while the ROM to be installed was at 0.
Is it possible to install a custom ROM that allows downgrades and then fastboot flash_all.bat with a lower version MIUI ROM that was initially installed? Sure as hell not going to try this, but it is a question that might be successfully answered. Sorry for not being of help for you.
Have Global V, very pleased with RN8P and MIUI V10.4.2.0.
Thomas_xxxxx said:
Hi, can I flash MIUI ROM which has this in flash_all.bat:
if [%CURRENT_ANTI_VER%] EQU [] set CURRENT_ANTI_VER=0
when my current ROM after running "fastboot getvar anti" returns 1?
Will MiFlash prevent me from bricking Redmi Note 8 Pro with returning an error because of anti rollback?
P.S.: If I download my current rom in fastboot version there is also CURRENT_ANTI_VER=0 so I truly do not understand why it returns 1 after that command.
Click to expand...
Click to collapse
Hello, my friend.
Downgrading Redmi Note 8 pro is very easy. I also struggled at first trying to find the safest method to downgrade and got stuck on " Anti Roll Back Protection" which on my device was " 1 " and all the previous consecutive roms had " Anti Roll Back Protection " value which was " 0 ". So didn't know what to do. but after some research, I found out that it was not a big issue.
You just need to use the fastboot method. Just extract the fastboot rom in the C drive and click on the " flash-all.bat " It will not brick your device. I tried it on my Redmi Note 8 Pro Global version
Also MiFlash will prevent you from downgrading if you have anti-var value less then your device value, which is the case for all the roms.
ppthom said:
When I tried to use MIFlash to do this, it just returned an error without bricking the device.
However, I bricked my RN8P anyway with foolish persistence and paid $26 US to have it restored to MIUI V10.4.2.0 from some installed V11 (don't have it on my PC), after trying to downgrade with TWRP to flash the MIUI V10.4.2.0 zip file. Jesus, nothing but the LED light functioned. Like you, the installed VER was A_V at 1, while the ROM to be installed was at 0.
Is it possible to install a custom ROM that allows downgrades and then fastboot flash_all.bat with a lower version MIUI ROM that was initially installed? Sure as hell not going to try this, but it is a question that might be successfully answered. Sorry for not being of help for you.
Have Global V, very pleased with RN8P and MIUI V10.4.2.0.
Click to expand...
Click to collapse
And where did you get it unbrick?
Faisal-Shahzad said:
Hello, my friend.
Downgrading Redmi Note 8 pro is very easy. I also struggled at first trying to find the safest method to downgrade and got stuck on " Anti Roll Back Protection" which on my device was " 1 " and all the previous consecutive roms had " Anti Roll Back Protection " value which was " 0 ". So didn't know what to do. but after some research, I found out that it was not a big issue.
You just need to use the fastboot method. Just extract the fastboot rom in the C drive and click on the " flash-all.bat " It will not brick your device. I tried it on my Redmi Note 8 Pro Global version
Also MiFlash will prevent you from downgrading if you have anti-var value less then your device value, which is the case for all the roms.
Click to expand...
Click to collapse
So where exactly should I extract fastboot ROM? Directly in C:/ drive and then run flash_all.bat? That is all? So I will have for example folder in C:/begonia_eea_global_images_V10.4.5.0.PGGEUXM_20191007.0000.00_9.0_eea?
Thomas_xxxxx said:
So where exactly should I extract fastboot ROM? Directly in C:/ drive and then run flash_all.bat? That is all? So I will have for example folder in C:/begonia_eea_global_images_V10.4.5.0.PGGEUXM_20191007.0000.00_9.0_eea?
Click to expand...
Click to collapse
Yeah, exactly as simple as that.
Just put your device in fastboot mode, I am pretty sure you know how to do that.
Extract the fastboot room directly in the C drive. Just click on the flash-all.bat file. It will start flashing the rom and will take about 8 to 10 minutes.
Its literally a one click installation and is even easier than using MiFlash tool. Try it out and tell me if it works
Faisal-Shahzad said:
Yeah, exactly as simple as that.
Just put your device in fastboot mode, I am pretty sure you know how to do that.
Extract the fastboot room directly in the C drive. Just click on the flash-all.bat file. It will start flashing the rom and will take about 8 to 10 minutes.
Its literally a one click installation and is even easier than using MiFlash tool. Try it out and tell me if it works
Click to expand...
Click to collapse
I will let you know but I must wait till tomorrow to have unlocked bootloader so now I am doing some research. So I cannot brick with this method for sure, yes? And which ROM did you exactly flash?
Thomas_xxxxx said:
I will let you know but I must wait till tomorrow to have unlocked bootloader so now I am doing some research. So I cannot brick with this method for sure, yes? And which ROM did you exactly flash?
Click to expand...
Click to collapse
I downgraded from Miui 12.0.2 to Miui 11.0.6 android 9.
Then from Miui 11.0.6 Android 9 to Miui 11.0.5 Android 10.
Downgraded and upgraded without any problems.
I was able to to do it. It may also work for you .
Faisal-Shahzad said:
I downgraded from Miui 12.0.2 to Miui 11.0.6 android 9.
Then from Miui 11.0.6 Android 9 to Miui 11.0.5 Android 10.
Downgraded and upgraded without any problems.
I was able to to do it. It may also work for you .
Click to expand...
Click to collapse
I will try tomorrow and let you know, thanks for help now.
Faisal-Shahzad said:
I downgraded from Miui 12.0.2 to Miui 11.0.6 android 9.
Then from Miui 11.0.6 Android 9 to Miui 11.0.5 Android 10.
Downgraded and upgraded without any problems.
I was able to to do it. It may also work for you .
Click to expand...
Click to collapse
And that method with fastboot will remain my bootloader unlocked? And will it wipe everythting from phone?
Can't give you the web page, but there are more than 1 to give help (for money), and you can be vulnerable to cheats and viruses. My guy was in the Ukraine, very honest and helped me more than once. Just Google with different words until you find what you need. Could take some time, just be patient.
Thomas_xxxxx said:
And that method with fastboot will remain my bootloader unlocked? And will it wipe everythting from phone?
Click to expand...
Click to collapse
Your bootloader will remain unlocked and the data will be wiped clean.
Faisal-Shahzad said:
Your bootloader will remain unlocked and the data will be wiped clean.
Click to expand...
Click to collapse
I already tried to downgrade via fastboot method and everything worked like a charm. Thank you for helping once again. Now I am on Android 9 and I can install factory preloader and then custom ROMs.
Faisal-Shahzad said:
I downgraded from Miui 12.0.2 to Miui 11.0.6 android 9.
Then from Miui 11.0.6 Android 9 to Miui 11.0.5 Android 10.
Downgraded and upgraded without any problems.
I was able to to do it. It may also work for you .
Click to expand...
Click to collapse
My friend my getvar antiblank)
Its safe to downgrade redmi 8a
Thomas_xxxxx said:
I already tried to downgrade via fastboot method and everything worked like a charm. Thank you for helping once again. Now I am on Android 9 and I can install factory preloader and then custom ROMs.
Click to expand...
Click to collapse
Bro help when o extracted the rom is says
Flash all ther is no.bat but when I search in that folder I find it also can you provide me with the link of your rom thx
Faisal-Shahzad said:
Yeah, exactly as simple as that.
Just put your device in fastboot mode, I am pretty sure you know how to do that.
Extract the fastboot room directly in the C drive. Just click on the flash-all.bat file. It will start flashing the rom and will take about 8 to 10 minutes.
Its literally a one click installation and is even easier than using MiFlash tool. Try it out and tell me if it works
Click to expand...
Click to collapse
Do I need to unclok boot loader

Question How to flash stock rom from custom rom

Hi there,
Bought this beast of phone like 8 months ago easily but after installing several roms and suffering so many bugs (with cr-droid the camera never worked at 4k 60fps i.e.) and app crashes, now I need something stable 100% so want to go back to stock rom.
However couldn't be able to find any tutorial about that, so I'm a bit confused with this problem. Which are the steps to do that?
Thanks in advance
spamerobaldomero said:
Hi there,
Bought this beast of phone like 8 months ago easily but after installing several roms and suffering so many bugs (with cr-droid the camera never worked at 4k 60fps i.e.) and app crashes, now I need something stable 100% so want to go back to stock rom.
However couldn't be able to find any tutorial about that, so I'm a bit confused with this problem. Which are the steps to do that?
Thanks in advance
Click to expand...
Click to collapse
MSM to a stock rom....here
OP9Pro - Repository of MSM Unbrick Tools (TMO, EU, GLO, IN)
By using these tools, you accept full responsibility for your actions. Your warranty is void should you run any of these utilities without OnePlus support present. I am not responsible for bricks, fires, nuclear war, etc. If you modified any...
forum.xda-developers.com
TheGhost1951 said:
MSM to a stock rom....here
OP9Pro - Repository of MSM Unbrick Tools (TMO, EU, GLO, IN)
By using these tools, you accept full responsibility for your actions. Your warranty is void should you run any of these utilities without OnePlus support present. I am not responsible for bricks, fires, nuclear war, etc. If you modified any...
forum.xda-developers.com
Click to expand...
Click to collapse
great master!
Another possibility is this
[Fastboot ROM] [OOS] OnePlus 9 Pro Stock Fastboot ROM [EU/CN]
*** Disclaimer *** I am not responsible if you mess up your phone! You have been warned! !! Carrier locked devices are currently unsupported !! Hey everyone, Here are some fastboot ROMs for the OnePlus 9 Pro. Only a couple of versions and...
forum.xda-developers.com
The MSM Thing is not working for because of USB driver and EDL mode
spamerobaldomero said:
Hi there,
Bought this beast of phone like 8 months ago easily but after installing several roms and suffering so many bugs (with cr-droid the camera never worked at 4k 60fps i.e.) and app crashes, now I need something stable 100% so want to go back to stock rom.
However couldn't be able to find any tutorial about that, so I'm a bit confused with this problem. Which are the steps to do that?
Thanks in advance
Click to expand...
Click to collapse
there are also fastboot rom, unofficial but you jump directly to latest builds
Psk.It said:
there are also fastboot rom, unofficial but you jump directly to latest builds
Click to expand...
Click to collapse
Iam a little hesitant to use , when I go into read the bat file it states
ECHO # Oxygen OS Flasher For OnePlus 9RT by abhinavgupta371 and HELLBOY017 #
ECHO # updated by Va1d3m and penguinus
I just want to be sure it has been configured for the op9p
I would just use the MSM tool to go back to stock rom. With phone in USB debug in CMD type adb reboot edl when you have your phone plugged in and the MSM tool open. Once MSM tool recognizes the device just press start. After going back to stock rom update to latest firmware
JimmyL216 said:
I would just use the MSM tool to go back to stock rom. With phone in USB debug in CMD type adb reboot edl when you have your phone plugged in and the MSM tool open. Once MSM tool recognizes the device just press start. After going back to stock rom update to latest firmware
Click to expand...
Click to collapse
I realize, but it would be nice to quick toggle between diff versions and returning to stock without using MSM, so that's why I am questioning what the android file host says it is versus what the fastboot rom says it is in the .bat file,,,, edit,, answered my own question went from 13.1 back to c_65 and everything looks good, and its asking me to upgrade to f.17 if I want,,,, edit,,,, and just doulble checking that msm still works after using fastboot rom and it does
hammered58 said:
Iam a little hesitant to use , when I go into read the bat file it states
ECHO # Oxygen OS Flasher For OnePlus 9RT by abhinavgupta371 and HELLBOY017 #
ECHO # updated by Va1d3m and penguinus
I just want to be sure it has been configured for the op9p
Click to expand...
Click to collapse
I used those several times without problem
In any case, at the end, you should go via MSN
Psk.It said:
I used those several times without problem
In any case, at the end, you should go via MSN
Click to expand...
Click to collapse
It went well with the fastboot roms going from 13.1 to c_65 ,then I msm to 11.10 and tried to go back to 13.1 via fastboot rom and it didn't like that,, it soft bricked to bootloader loop so I had to msm again via magisk,,

Categories

Resources