Question Is it already possible to root device? - Xiaomi Mi 11 Lite 5G

I like to know if it's already possible to root device? I thought I could just patch boot image from a fastboot rom, but now I heard that boot.img is probably the recovery partition on A/B devices, while vendor_boot.img is probably the actual boot partition.
Is there a safe and working way to root yet?

Yes I have rooted my Mi 11 Lite 5G . I have also flashed EU rom via fastboot . The process is normal .. Download fast boot rom ..extract ..install latest Magisk application . Patch the boot.img in the images folder. Flash via fastboot ..
fastboot flash boot patchedboot.img
( name the patched file patchedboot.img)
Then you can also flash EU version rom with flash all bat in the fastbootrom.

Thanks for the info. If nothings changing my plans, I will flash tomorrow evening.
I'm my case I flash latest stable.

KevMetal said:
Yes I have rooted my Mi 11 Lite 5G . I have also flashed EU rom via fastboot . The process is normal .. Download fast boot rom ..extract ..install latest Magisk application . Patch the boot.img in the images folder. Flash via fastboot ..
fastboot flash boot patchedboot.img
( name the patched file patchedboot.img)
Then you can also flash EU version rom with flash all bat in the fastbootrom.
Click to expand...
Click to collapse
Hi
With that ROM do you have full screen gestures working with other launchers?
To install this ROM the bootloader needs to be unlocked?
Thanks

chlodvig said:
Hi
With that ROM do you have full screen gestures working with other launchers?
To install this ROM the bootloader needs to be unlocked?
Thanks
Click to expand...
Click to collapse
Yes you need to unlock for flashing but can relock when done if you are flashing official stuff without root .. I'm on latest BETA EU rom and I'm using lawnchair 2 in combo with fluid gestures application to get workaround to get full screen gestures working really well . I'm not aware of which other launchers supppet full screen gestures on miui on amdroid 11 ... Theoretically according to dev of fluid gestures it shouldn't be working ... Cos it's android 11 and MIUI blocks 3rd party gesture apps ..or Google does ..anyway it works with or without root but I have only used lawnchair 2.

Thanks @KevMetal
I was hoping that with that ROM I would be a able to use for example Nova Launcher with gestures.
But that seems to not be the case
Thanks

chlodvig said:
Thanks @KevMetal
I was hoping that with that ROM I would be a able to use for example Nova Launcher with gestures.
But that seems to not be the case
Thanks
Click to expand...
Click to collapse
I'm not saying no . I'm just saying the only workable situation I've found ... It's worth a try .. Install Nova and Fluid gestures.. If it fails try flashing EU rom using that ..failing again try the combo with Magisk .. Still failing replace Nova with Lawnchair...unless you specifically need Nova .. Or if simply don't want to unlock boot.. But is the first thing I do MIUI to get rid of all the bloat systemlessly with Magisk

I will try.
Thanks

Hi, I've seen somewhere, in root method to know before patching, to know if it's A/B partition or not...but how to know that???
thank's
I've been using a Note 3 for 8 years, so I discover the xiaomi universe and the locked bootloader and ....

rayman95 said:
Hi, I've seen somewhere, in root method to know before patching, to know if it's A/B partition or not...but how to know that???
thank's
I've been using a Note 3 for 8 years, so I discover the xiaomi universe and the locked bootloader and ....
Click to expand...
Click to collapse
No you don't need to know .. Just patch the boot image of the fastboot rom with magisk application on your phone. We don't have a twrp and you need to unlock your bootloader ALWAys on EVERY phone to root or use twrp .. Anyway unlock it ..it's no big deal ..then flash via fast boot
fastboot flash boot bootPatched.img

chlodvig said:
I will try.
Thanks
Click to expand...
Click to collapse
I am using nova launcher combined with fluid gestures. That's working pretty good. Unfortunately stock gestures do not work with third party launcher

putti71 said:
I am using nova launcher combined with fluid gestures. That's working pretty good. Unfortunately stock gestures do not work with third party launcher
Click to expand...
Click to collapse
Yes, I tried also and it works.

I just want to be sure before beginning the procedure...tommorow, it's 7 days wait for unlock the phone...
I use batch unlock tool and it wipe the phone
after complete setup again, I copy boot.img from fastboot on phone and flash it with last magisk and then I flash it in fastboot mode.
and I have to flash complete EU rom with flash all command??? but it will overwrite patched boot with stock one???
do I miss something or not??
thank's

rayman95 said:
I just want to be sure before beginning the procedure...tommorow, it's 7 days wait for unlock the phone...
I use batch unlock tool and it wipe the phone
after complete setup again, I copy boot.img from fastboot on phone and flash it with last magisk and then I flash it in fastboot mode.
and I have to flash complete EU rom with flash all command??? but it will overwrite patched boot with stock one???
do I miss something or not??
thank's
Click to expand...
Click to collapse
sorry my bad
1. request unlock (7 days)
2. use batch unlock tool to unluck ( will wipe device ) *use volume down & powet to enter fastboot
3. boot the device and enable dev settings by tapping on miui version 7 times
4. the unlock toggle will be on but you need to activate adb debug again
5. install adb/ fastboot on PC
6. connect phone via usb cable
7. open cmd window from inside adb folder
8. run following cmd
adb devices
( will ask on phone for authorization) GIVE it !
adb reboot bootloader
( will boot into fastboot )
fastboot devices
( will return a value)
9. extract MIUI EU fastboot rom
10. run flash_all_bat as admin
( WAIT EVEN IF IT SEEMS LONG)
11. when success boot phone and setup and repeat steps 3&4
12. install magisk app
13. copy boot.img from the MIUI EU fastboot ROM to phone
14. inside magisk select it and patch it
15. copy file to adb folder and give name "patchedboot.img"
16. now repeat steps 6&7&8
17. when in fastboot run cmd
fastboot flash boot patchedboot.img
18. reboot & enjoy

KevMetal said:
sorry my bad
1. request unlock (7 days)
2. use batch unlock tool to unluck ( will wipe device ) *use volume down & powet to enter fastboot
3. boot the device and enable dev settings by tapping on miui version 7 times
4. the unlock toggle will be on but you need to activate adb debug again
5. install adb/ fastboot on PC
6. connect phone via usb cable
7. open cmd window from inside adb folder
8. run following cmd
adb devices
( will ask on phone for authorization) GIVE it !
adb reboot bootloader
( will boot into fastboot )
fastboot devices
( will return a value)
9. extract MIUI EU fastboot rom
10. run flash_all_bat as admin
( WAIT EVEN IF IT SEEMS LONG)
11. when success boot phone and setup and repeat steps 3&4
12. install magisk app
13. copy boot.img from the MIUI EU fastboot ROM to phone
14. inside magisk select it and patch it
15. copy file to adb folder and give name "patchedboot.img"
16. now repeat steps 6&7&8
17. when in fastboot run cmd
fastboot flash boot patchedboot.img
18. reboot & enjoy
Click to expand...
Click to collapse
whao, this is a perfect tuto.....will do it tomorrow or friday.....merci beaucoup..

KevMetal said:
10. run flash_all_bat as admin
( WAIT EVEN IF IT SEEMS LONG)
Click to expand...
Click to collapse
unlock is ok, but is it normal that after flash all, nothing happens on phone and computer???
thanks
but do I have to use xiaomi flash tool??? because I tried on folder to execute flassall and nothing happens...so I dl flash tool

rayman95 said:
unlock is ok, but is it normal that after flash all, nothing happens on phone and computer???
thanks
Click to expand...
Click to collapse
Nothing no, but the process slow ..the fastboot command window must show commands running as it sends the .img files to phone ... What does it say in fastboot window ? Did you remember to use adb command to boot to fastboot ? Did you leave fastboot command window open..
If you send photos or more info about everything you did I can help more

KevMetal said:
Nothing no, but the process slow ..the fastboot command window must show commands running as it sends the .img files to phone ... What does it say in fastboot window ? Did you remember to use adb command to boot to fastboot ? Did you leave fastboot command window open..
If you send photos or more info about everything you did I can help more
Click to expand...
Click to collapse
I use adb tool to reboot on BL then I flash-all, windows ask confirmation to run on admin...a window open and close immediately..and nothing happens on the phone, it still fastboot....the adb window is still open and nothing on it...
but do I have to use xiaomi flash tool???
on flash tool, it's possible to select flash-all command..

rayman95 said:
I use adb tool to reboot on BL then I flash-all, windows ask confirmation to run on admin...a window open and close immediately..and nothing happens on the phone, it still fastboot....the adb window is still open and nothing on it...
but do I have to use xiaomi flash tool???
on flash tool, it's possible to select flash-all command..
Click to expand...
Click to collapse
No it uses fast boot .inside fastboot folder open command window and type
Fastboot devices
Tell me what happens.. Send photo

KevMetal said:
No it uses fast boot .inside fastboot folder open command window and type
Fastboot devices
Tell me what happens.. Send photo
Click to expand...
Click to collapse
device recognized and reboot with command but
fastboot devices
( will return a value)
no value in cmd window or in fastboot on phone

Related

Redmi Note 7 Pro(Violet) Bootloader Unlocking, flashing twrp and root tutorial

**I am not responsible for anything that may happen to your phone as a result of installing any roms and kernels or due to following this guide. You do so at your own risk and take the responsibility upon yourself**
This Guide is accurate and updated to help you unlock your bootloader and flash custom recovery like twrp.
But before you get started, please back up all your important data and make sure that your battery is charged at least 60% or else it may get your device bricked.
Requirements: All the drivers mentioned below, Windows PC, cable, Redmi Note 7 Pro and some general knowledge obviously
Step by Step: Official Unlock Process
1> Disable driver signature enforcement in Windows(Just in case)
If your computer doesn’t recognize Xiaomi drivers then please disable driver signature enforcement. How to do this please read here: http://en.miui.com/thread-237673-1-1.html
2> Install ADB and Fastboot tools with drivers on Windows
How to install adb and fastboot please read here: Click Here
How to install Mi drivers- Click Here (Optional, Just in case)
3> Enable "OEM unlocking" and "USB debugging" in your device
a. Enable Developer Options in: Settings/About Phone/MIUI version. Click on MIUI version seven times
b. Now go to: Settings/Additional Settings/Developer Options and check "OEM unlocking" and "USB debugging"
4> Connect your phone to PC via USB cable and wait for a minute or 2 to make sure your PC install Redmi specific drivers and after that open cmd by searching or press "Windows+X" and open PowerShell and type "adb devices" and then check your phone for any prompt and press "Yes" or "Allow" and also tick the check box that's says "Always allow for this computer" and after that it will display your phone's serial number in cmd. If it shows no devices found then that means you've missed a step. Follow all the steps properly and your device will appear there..
5> Check if your bootloader is locked
a> Type "adb reboot bootloader" and then your phone should enter fastboot with Mi bunny logo and in if it's doesn't then try this method- Turn off your phone, then enter the fastboot mode by holding together "Volume Down + Power" and then connect your device to your computer via USB cable (best would be the original cable)
b> Go to the folder where you have put the "ADB and Fastboot" and open a command window inside that folder. To do that hold together "Shift + Right Click" on any empty white space inside the folder and then select "Open PowerShell Window Here" or "Open Command Window Here"
c> Enter the terminal command in command line: "fastboot devices" and it should once again show your device..
If you don't see your device it means that the drivers weren't installed properly or the device wasn't connected properly. If this happens please reinstall your drivers again or try these drivers here(only install this if everything else fails):
http://xiaomiadvices.com/download-xiaomi-usb-drivers/
d> If you see your device then enter the terminal command in command line: "fastboot oem device-info"
If your bootloader is locked, you'll get the following status (or something similar):
…………………………………………………………………….
(bootloader) Device tampered: false
(bootloader) Device unlocked: false
(bootloader) Device critical unlocked: false
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
OKAY [ 0.058s]
finished. total time: 0.063s
………………………………………………………………………
If your bootloader is unlocked, you'll get following status (or something similar):
…………………………………………………………………….
(bootloader) Device tampered: false
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
OKAY [ 0.053s]
finished. total time: 0.055s
………………………………………………………………………
6> Unlock the Bootloader
a> Create a Mi Account: https://global.account.xiaomi.com/pass/register
b> Connect your Mi Account to your Device-
Go to: Settings/Additional Settings/Developer Options/Mi Unlock status and check "Add account and device" and add the Mi account that you just created
Unlocking the bootloader will erase all your data! So please back up your data before you unlock the bootloader!
c> You must enable "OEM unlocking" and "USB debugging"
d> You must connect your Mi Account with your device
e> Download Mi Unlock Tool here: http://en.miui.com/unlock/download_en.html
f> Install Mi unlock tool and launch it and after that it will ask for phone number that you used to create the Mi account. Type that and then get otp and type that as well and then it ask you to enter fastboot
g> Enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your computer via USB cable (best would be the original cable)
h> Start the Unlock process
i> Follow the unlock tool instructions until the unlock procedure is finished or it may ask you to wait 72 hours or more. In that case wait till that period and then try unlocking again
j> Reboot your device
Is your bootloader actually unblocked?
To check this, go back to step 5.d and run the command or go to developer settings/Mi unlock status and you will see that your device is unlocked if you've followed this guide correctly..
Install the TWRP Recovery
Once you device is unlocked,
1> Boot your phone into Fastboot(you already know how to do that by now).
2> Then open a command prompt in the folder where twrp image file is located and connect your device to PC and run "fastboot devices"and it should show your device and then
3> Type "fastboot flash recovery twrp(type the actual name of twrp here). img"
4> Boot into recovery before rebooting and to do this, type- "fastboot boot twrp-3.2.1.0-violet.img" or "fastboot reboot recovery" or do it manually by holding "Volume up+Power"
Link for twrp- Not yet available. To be updated soon
Root Your Smartphone
First boot into your OS and then
Go to twrp/Install and select Magisk file and flash it and then reboot.
Now, you've successfully rooted your device.
Link for Magisk(Root)- Click Here
Install A Custom Firmware
Not yet available. To be updated soon.
Credits to xda and miui for useful links of drivers
If my guide helped you please click "thanks" and enjoy your custom roms
any word on a fastboot ROM being released yet?
Enddo said:
any word on a fastboot ROM being released yet?
Click to expand...
Click to collapse
There is no such thing as fastboot rom.. Any rom can be on installed via twrp or fastboot but fastboot process is difficult for newbies that's why people use twrp.. and did you really expect a rom this early?? Really? kindly wait and let everyone get a device first..
SteelBodyX said:
There is no such thing as fastboot rom.. Any rom can be on installed via twrp or fastboot but fastboot process is difficult for newbies that's why people use twrp.. and did you really expect a rom this early?? Really? kindly wait and let everyone get a device first..
Click to expand...
Click to collapse
Generally xiaomi release both recovery and fastboot flashable rom simultaneously but fastboot rom pkg can be leaked from factory build .however recovery mode flashable Rom may be available thereafter ,also mi team aggressively builds and packs rom so both can be available at mi server but link not publically revealed .
You can rewrite a recovery flash updater script with fastboot partitions but absolutley cant use fastboot pkg as it is in recovery mode.
Camlin3 said:
Generally xiaomi release both recovery and fastboot flashable rom simultaneously but fastboot rom pkg can be leaked from factory build .however recovery mode flashable Rom may be available thereafter ,also mi team aggressively builds and packs rom so both can be available at mi server but link not publically revealed .
You can rewrite a recovery flash updater script with fastboot partitions but absolutley cant use fastboot pkg as it is in recovery mode.
Click to expand...
Click to collapse
That's stock miui rom.. stock roms always are fastboot and recovery supported and i get that.. And by fastboot rom if you mean leaked miui builds and xiaomi.eu rom, then they are once again stock firmware based and not really custom rom.. I only created this thread for clear guide on unlocking bootloader, twrp and installing custom rom.. So what's the point of name calling.. jeez.. peace out buddy..
My only objective is to get twrp up and running as soon as i get the device.. And device haven't even sold yet, not even in china.. So i standby by my point for everyone to kindly wait for a while.. flashing leaked builds and stuff like this is what gets devices bricked especially since note 7 has anti rollback enabled.. If the leaked build is downgraded than that firmware, even by small version number, device is bricked.. So i want everyone to be careful.. but if anybody wants to do that, then sure go right ahead.. it's your choice
SteelBodyX said:
That's stock miui rom.. stock roms always are fastboot and recovery supported and i get that.. And by fastboot rom if you mean leaked miui builds and xiaomi.eu rom, then they are once again stock firmware based and not really custom rom.. I only created this thread for clear guide on unlocking bootloader, twrp and installing custom rom.. So what's the point of name calling.. jeez.. peace out buddy..
Click to expand...
Click to collapse
FYI
Stock roms from Xiaomi come in two formats
1. a stock rom package which you can flash from recovery (twrp) or through system updater (aka choose update package). These are full stock roms (not OTAs). These cannot be flashed via fastboot or MiFlash tool. These have the actual market name of the device in the file name and can be found here.
https://en.miui.com/download.html
2. fastboot roms, these are full roms which need to be flashed either via fastboot or using MiFlash tool. these cannot be flashed using a recovery or system updater. These have the codename of the device in the file name.
Hope this clears your misconception.
munchy_cool said:
FYI
Stock roms from Xiaomi come in two formats
1. a stock rom package which you can flash from recovery (twrp) or through system updater (aka choose update package). These are full stock roms (not OTAs). These cannot be flashed via fastboot or MiFlash tool. These have the actual market name of the device in the file name and can be found here.
https://en.miui.com/download.html
2. fastboot roms, these are full roms which need to be flashed either via fastboot or using MiFlash tool. these cannot be flashed using a recovery or system updater. These have the codename of the device in the file name.
Hope this clears your misconception.
Click to expand...
Click to collapse
I get it just fine.. fastboot roms that you say are also called factory images.. i get it.. When i mentioned stock miui is recovery and fastboot supported, I meant stock rom supporting both recovery and fastboot version but I'm not interested in miui so i wrote in shortcut and didn't write in detail like u did mentioning individual version cause I've no interest in miui so why write so much about it in this thread.. when i said any rom can be flashed via twrp or fastboot, I meant custom rom not memeUI/miui.. i never said anything about supporting miui or fastboot roms that you say.. i never mentioned anything about it so no point in attacking me over it.. Peace.. No hard feelings if you like miui.. I like aosp so i plan to support that only in this thread.. No more OT discussion.. No hard feelings once again.. I'd to keep discussion aosp related..
I've got a noobish question - would flashing a global rom on chinese/indian version of RN7 somehow enable global bands?
1375965485501144093271341 said:
I've got a noobish question - would flashing a global rom on chinese/indian version of RN7 somehow enable global bands?
Click to expand...
Click to collapse
There are ways to enable lte bands by modifying nv files but still you won't get any signals in that band, not unless xiaomi themselves include the blobs required to enable those band and the antenna must be capable of accepting it as well.. So, short answer no unless one manages to get the right blob and hardware support..
TWRP Already Available?
ET360 said:
TWRP Already Available?
Click to expand...
Click to collapse
no.. I didn't get the device in first sale.. will try to buy in next sale
Waiting 360 hours to unlock bootloader lmaoo
moriyaprateek said:
Waiting 360 hours to unlock bootloader lmaoo
Click to expand...
Click to collapse
Do you have old mi account? then in that case, use that.. It's 72 hours for old mi account..
SteelBodyX said:
Do you have old mi account? then in that case, use that.. It's 72 hours for old mi account..
Click to expand...
Click to collapse
I am using the old account 360 hours wtf lol
Does anyone know a way to bypass this?
moriyaprateek said:
I am using the old account 360 hours wtf lol
Does anyone know a way to bypass this?
Click to expand...
Click to collapse
Don't try unofficial.. wait.. there could be problems with unofficial unlocks.. kindly wait or try making 2 or 3 more accounts and try those as well..
Just wondering, can someone testing about arp (fastboot getvar anti) via adb, thx
moriyaprateek said:
I am using the old account 360 hours wtf lol
Does anyone know a way to bypass this?
Click to expand...
Click to collapse
Search on youtube u get tons of videos
kishangupta009 said:
Search on youtube u get tons of videos
Click to expand...
Click to collapse
Didn't get any reliable ones. Could you pm me if you have something that worked?
ert0RESTRAIN said:
Just wondering, can someone testing about arp (fastboot getvar anti) via adb, thx
Click to expand...
Click to collapse
The value is '1' for some obscure reasons. Credit goes to @ravinder0003 for the assistance.
can anyone email me a aida64 report for note 7 pro, or i have to start a thread

stuck on Fastboot (mi a3)

Need help.. cant turn on my Phone.. always stuck at android one Logo and fastboot (when i try hold volume up and power )
i rooted phone (adb,twrp,magisk) . Everything well good, but WIFI didn't work. Then i get in TWRP and maybe deleted partition A and B( ) i can't get through the Fastboot.
my mi a3 is V10.3.6.0.PFQMIXM version-- and cant Flash it with miflash tool, it says error : can not found file flash_all_lock.bat
now i cant find my device with Adb devices (its says List of devices attached)
pls help :/ thank you.
Go to nearest service centre
Going to a service center probably isn't a wise idea. You've rooted your phone - your warranty is gone.
I guess you don't have the right drivers installed OR, the stock rom you were trying to flash had some issues with the flash script. You might want to take a look at this post
Download the correct stock ROM for your device, the .tgz version & flash it with miflash tool. It's important to note that some versions of miflash tool don't work with Mi A series phones for unknown reasons.
Alternatively, if your recovery is working, then you can flash the recovery version of stock rom. It's all available on this forum.
evanB70 said:
Going to a service center probably isn't a wise idea. You've rooted your phone - your warranty is gone.
I guess you don't have the right drivers installed OR, the stock rom you were trying flash had some issues with the flash script. You might want to take a look at this post
Download the correct stock ROM for your device, the .tgz version & flash it with miflash tool. It's important to note that some versions of miflash tool don't work with Mi A series phones for unknown reasons.
Alternatively, if your recovery is working, then you can flash the recovery version of stock rom. It's all available on this forum.
Click to expand...
Click to collapse
thx m8
I flashed with Miflash( and writed flash_all_lock.bat), used version V10.3.4.0. and it worked.. wifi working. (my build number say it is V10.3.6) ?
ticmali said:
thx m8
I flashed with Miflash( and writed flash_all_lock.bat), used version V10.3.4.0. and it worked.. wifi working. (my build number say it is V10.3.6) ?
Click to expand...
Click to collapse
Glad to hear you're phone is working fine now :highfive: :highfive:
I think you somehow had your wifi / mobile data on & the phone downloaded the OTA & auto updated itself to the latest firmware, that is V10.3.6.0.
evanB70 said:
Glad to hear you're phone is working fine now :highfive: :highfive:
I think you somehow had your wifi / mobile data on & the phone downloaded the OTA & auto updated itself to the latest firmware, that is V10.3.6.0.
Click to expand...
Click to collapse
yes, I had mobile data on. thanks
hello,
i was trying to install havoc on mi fresh new mi a3 i got stocked in fastboot. tried everthing but it give a status as "pause" in miflash or bat command.. what to do?
error message in bat command for V10.3.4.0.PFQMIXM_20190815 as in https://drive.google.com/open?id=1oLmwpDsd8ICUPsty46osBReJdcckqvPE please hekp
Underraino said:
hello,
i was trying to install havoc on mi fresh new mi a3 i got stocked in fastboot. tried everthing but it give a status as "pause" in miflash or bat command.. what to do?
error message in bat command for V10.3.4.0.PFQMIXM_20190815 as in https://drive.google.com/open?id=1oLmwpDsd8ICUPsty46osBReJdcckqvPE please hekp
Click to expand...
Click to collapse
Set active slot to a first before flashing in MiFlash using command - "fastboot set_active a" (without quotations) in adb command.
Underraino said:
hello,
i was trying to install havoc on mi fresh new mi a3 i got stocked in fastboot. tried everthing but it give a status as "pause" in miflash or bat command.. what to do?
error message in bat command for V10.3.4.0.PFQMIXM_20190815 as in https://drive.google.com/open?id=1oLmwpDsd8ICUPsty46osBReJdcckqvPE please hekp
Click to expand...
Click to collapse
Try my Procedere,i try it Yesterday and works:
-set SLOT B and install twrp
-then boot to TWRP recovery and Flash TWRP.zip again
-reboot to twrp recovery (Check If you on SLOT B ...)
-wipe Cache,system,Data
-flash Rom HAVOC
-flash TWRP
-reboot in TWRP again,then...
Set SLOT A!
-flash Gapps
-flash FDE
-Format Data
-Reboot to to System and wait when HAVOC done
Reboot to TWRP then Flash and root Magisk 20.2 in SLOT A, Reboot...
Done!
tried flashing my mi a3 to stock now stuck in fastboot mode
I finally got miflash to recognize my phone by adding a new folder and naming it "log" and i tried flashing "laurel_sprout_global_images_V10.3.8.0.PFQMIXM_20191012.0000.00_9.0_d099f2839b" ; it said it was flashing and had green progress bar, but it went all the way to 100% after about 600 seconds and i just gave up after 1200 seconds. what am I missing?
mewcatchew said:
I finally got miflash to recognize my phone by adding a new folder and naming it "log" and i tried flashing "laurel_sprout_global_images_V10.3.8.0.PFQMIXM_20191012.0000.00_9.0_d099f2839b" ; it said it was flashing and had green progress bar, but it went all the way to 100% after about 600 seconds and i just gave up after 1200 seconds. what am I missing?
Click to expand...
Click to collapse
Just reboot your device when it finishes after 600 seconds. Miflash doesn't tell you that it successfully flashed it it just goes on forever. So just reboot and it will work.
Negative. still stuck in fastboot mode
mewcatchew said:
Negative. still stuck in fastboot mode
Click to expand...
Click to collapse
Change the active slot to 'a' and reboot.
garylawwd said:
Just reboot your device when it finishes after 600 seconds. Miflash doesn't tell you that it successfully flashed it it just goes on forever. So just reboot and it will work.
Click to expand...
Click to collapse
msatyanarayana said:
Change the active slot to 'a' and reboot.
Click to expand...
Click to collapse
it's unable as its in a locked state: 'FAILED (remote: 'Slot Change is not allowed in Lock State
I believe I need to get it into EDL mode. I have no problem taking off the back glass and shorting the pins to do so, but not sure what to do after that point... Set slot to active "a", flash it with miflash with a fastboot stock ROM? Also from what ive read, you can only put thw phone into edl mode once so it's a one shot deal.
mewcatchew said:
it's unable as its in a locked state: 'FAILED (remote: 'Slot Change is not allowed in Lock State
I believe I need to get it into EDL mode. I have no problem taking off the back glass and shorting the pins to do so, but not sure what to do after that point... Set slot to active "a", flash it with miflash with a fastboot stock ROM? Also from what ive read, you can only put thw phone into edl mode once so it's a one shot deal.
Click to expand...
Click to collapse
Try to unlock bootloader once again through fastboot and after that you can change the slot.
MarcusMario0605 said:
Set active slot to a first before flashing in MiFlash using command - "fastboot set_active a" (without quotations) in adb command.
Click to expand...
Click to collapse
this command is not working for me it is giving error of unknown command
msatyanarayana said:
Try to unlock bootloader once again through fastboot and after that you can change the slot.
Click to expand...
Click to collapse
it wont allow me to< says phone is in locked state
123123123...123 said:
this command is not working for me it is giving error of unknown command
Click to expand...
Click to collapse
C:\adb\fastboot.exe: unknown option -- set-active=a
how to solve this?
:crying:
---------- Post added at 11:09 AM ---------- Previous post was at 11:05 AM ----------
MarcusMario0605 said:
Set active slot to a first before flashing in MiFlash using command - "fastboot set_active a" (without quotations) in adb command.
Click to expand...
Click to collapse
on entering this command i am getting a whole lot of command suggestion as this command not working for me. can you tell me what i am doing wrong and what should i do to make it correct.
123123123...123 said:
C:\adb\fastboot.exe: unknown option -- set-active=a
how to solve this?
:crying:
---------- Post added at 11:09 AM ---------- Previous post was at 11:05 AM ----------
on entering this command i am getting a whole lot of command suggestion as this command not working for me. can you tell me what i am doing wrong and what should i do to make it correct.
Click to expand...
Click to collapse
managed to get into EDL mode by shorting the pinouts, but still cant flash stock ROM cuz apparently xiaomi has to authorize it (ie i dont have permission to unbrick it). This is the first and last xiaomi phone I'll ever buy - never had a phone where there was no option i had to unbrick it. going to ****in smash it to peices!
I felt sorry that no one did help these people,
go to fastboot and run windows commands in twrp folder and type as following :
- option one:
fastboot devices
./fastboot set_active b
./fastboot erase boot
./fastboot set_active a
./fastboot erase boot
fastboot flashing unlock (optional)
fastboot Flash boot [put twrp name].img or go to mi flash to install stock rom. or unzip the stock rom from bat file run it
or try the second option:
https://ibb.co/w6bcG5g
islam=salam=peace=paix

How can i unlock bootloader in the Gionee S11 Lite ?

I'm trying to install Custom ROM on my Phone , Gionee S11 Lite
To install custom recovery but first i need to unlock boot-loader
So i followed the steps ;
1.Enable developer mode
2. Allow OEM and USB Debugging
3. I downloaded " ADB FAstboot " and run in command prompt
i enter these commads
# adb reboot bootloader
Fastboot mode opened on phone
#adb devices
#adb reboot bootloader (These commad executed but )
#fastboot oem unlock
#fastboot flashing unlock
#fastboot flashing unlock_critical --> But these commad cant unlock custom boot mode , I got stuck here , i don't know what to do
In the Phone , on the FlashBoot Mode
there is DEVICE STATE - Locked
SECURE BOOT - Enabled
How to resolve this ? There is no any third party app like KingsRoot or other can't root this Device.
I want to install custom Operating system on this Phone cause , Gionee is down already and i can see on my phone some application are automatically downloading and installing. i tried lot of the option to block it but nothing worked.
And i can't take a risk to use personal things on this phone until i fixed it .
Help me , i'm new to this community and This is my first Post
Thank You
Did you find a way?
I am also trying to unlock bootloader and did many things but can't do anything.
rohanphuyal2 said:
Did you find a way?
I am also trying to unlock bootloader and did many things but can't do anything.
Click to expand...
Click to collapse
did you find any solution?
draduk said:
did you find any solution?
Click to expand...
Click to collapse
No i didn't but I installed Magisk by patching boot image (from Firmware file) and clean installed whole firmware. and Rooted
rohanphuyal2 said:
No i didn't but I installed Magisk by patching boot image (from Firmware file) and clean installed whole firmware. and Rooted
Click to expand...
Click to collapse
can u share with me the firmware file, my device spoiled cant upgrade my android
thx plzz
rohanphuyal2 said:
No i didn't but I installed Magisk by patching boot image (from Firmware file) and clean installed whole firmware. and Rooted
Click to expand...
Click to collapse
Did u use download.. Or format + download

Anyone knows how to unlock the bootloader on android 10?

I can't seem to unlock bootloader on mi a3 on android 10 i get a lot of things on the powershell but nothing happens on the device.
Thank you in advance
Which commands do you use? Locking and unlocking the bootloader should have nothing to do with the version of Android you have installed
TheVow said:
I can't seem to unlock bootloader on mi a3 on android 10 i get a lot of things on the powershell but nothing happens on the device.
Thank you in advance
Click to expand...
Click to collapse
I keep getting commands in the power shell like
Press w for
Press E for
Etc
TheVow said:
I keep getting commands in the power shell like
Press w for
Press E for
Etc
Click to expand...
Click to collapse
Probably you installed an old version of the adb/fastboot drivers.
Download the sdk from here https://developer.android.com/studio/releases/platform-tools and extract the files in the adb folder in the volume (C
Phil_gloves said:
Probably you installed an old version of the adb/fastboot drivers.
Download the sdk from here https://developer.android.com/studio/releases/platform-tools and extract the files in the adb folder in the volume (C
Click to expand...
Click to collapse
well i did this but the same results
Here is what it looks like.
https://imgur.com/a/6x33Qfq
TheVow said:
well i did this but the same results
Here is what it looks like.
https://imgur.com/a/6x33Qfq
Click to expand...
Click to collapse
You are still using old version of fastboot. Either search&replace fastboot.exe in all locations on your hard drive, or remove fastboot folder from Windows PATHS.
_mysiak_ said:
You are still using old version of fastboot. Either search&replace fastboot.exe in all locations on your hard drive, or remove fastboot folder from Windows PATHS.
Click to expand...
Click to collapse
Thank you that Worked ! but now when i flash twrp and try to boot to it it always boots to fastboot. anyidea how to force twrp boot even tho i keep pressing Vol up when i try to boot to it.
thank you in advance
TheVow said:
Thank you that Worked ! but now when i flash twrp and try to boot to it it always boots to fastboot. anyidea how to force twrp boot even tho i keep pressing Vol up when i try to boot to it.
thank you in advance
Click to expand...
Click to collapse
Use the proper twrp built for Android 10 from here https://forum.xda-developers.com/mi...y-unoffical-twrp-xiaomi-mi-a3-t3987759/page16
The twrp.img you used only works on Android 9.
Twrp.zip will work on any Android version so once you flash the correct .img then you can reboot recovery and if you want install twrp by flashing twrp.zip
garylawwd said:
Use the proper twrp built for Android 10 from here https://forum.xda-developers.com/mi...y-unoffical-twrp-xiaomi-mi-a3-t3987759/page16
The twrp.img you used only works on Android 9.
Twrp.zip will work on any Android version so once you flash the correct .img then you can reboot recovery and if you want install twrp by flashing twrp.zip
Click to expand...
Click to collapse
Thank you this worked! time to install custom roms
To unlock bootloader of Mi A3
What are all the softwares we need for Windows 8.1??? I tried one mi flashing tool softwere but when I tried command 'fastboot devices:,, pc is not detecting my phone
You will need mi usb drivers for detecting your phone in fastboot mode
aslamzbr said:
What are all the softwares we need for Windows 8.1??? I tried one mi flashing tool softwere but when I tried command 'fastboot devices:,, pc is not detecting my phone
Click to expand...
Click to collapse
Use this
https://androidfilehost.com/?fid=24269982087012538

How To Guide [TUTORIAL] ULTIMATE How to flash GSI Trebble AND ROM and root on Xiaomi device on Windows (files needed included)

Hi, first of all, I'm not a dev or else just user who had difficulties to flash GSI on my phone... Was 7 years with a samsung galaxy Note 3, with twrp....So easy to flash....
with the help of @gr0ndpa, thanks to him.....
FLASH GSI​
Now I will explain how to flash easily with files attached
1/ first of all you need a phone and drivers installed, use xiaomi pc suite, unzip and install it
2/ you need to activate USB debug in dev options.
3/ dl adb folder unzip it and put in C
4/ run command and type
Code:
cd /adb
5/ then
Code:
adb devices
to check if phone recognised
6/
Code:
adb reboot bootloader
once in fast boot
7/
Code:
fastboot flash vbmeta vbmeta.img
wait finished type to enter in fastbootD
8/
Code:
fastboot reboot fastboot
9/
Code:
fastboot flash system
LiR 313.XXX.img
you will have a system error, but wait the flash begin in few seconds
at the end wait ok then
10/
Code:
fastboot reboot recovery
on stock recover
11/ wipe data and reboot with +/- and PWR
and you're done...
In case you want to flash custom kernel or patched boot image to root with magisk, you have to
12/
Code:
adb reboot bootloader
Copy kernel boot image to C drive and rename kernel boot image to boot.img.
13/
Code:
fastboot flash boot c:\boot.img
14/
Code:
fastboot reboot
In case you want to flash twrp put the file to adb folder and type in fastboot
15/
Code:
fastboot boot twrp.img
Downloads for : Xiaomi Mi 11 Lite 5G | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
You can check what I ve done on tuto ss...
if you have some comments, don't hesitate...
I flashed LiR 18.1 rom and very happy with it.....
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++==================================================================================================================================================================================================================++
Flash ROM​
This now how to flash ROM on your device, it's convenient for all roms like LOS, corvus, awaken...
First you need all the proper drivers installed and unlocked bootloader, USB debugging all of that stuff.
Now open up a cmd/terminal , and put the files i sent and the ROM file in the folder from where you're opening the cmd/terminal and connect the phone (you may need to put ./ as an suffix for all the commands if you're on linux)
Type
Code:
adb reboot bootloader
Then type
Code:
fastboot devices
to see if everything is ok
Then type
Code:
fastboot flash boot_ab boot.img
(you can drag and drop the file instead of typing it)
After that's done type
Code:
fastboot flash vendor_boot_ab vendor_boot.img
(you can drag and drop this too if you want)
Code:
fastboot flash dtbo dtbo.img
(you can drag and drop this too if you want)
After that's done type
Code:
fastboot reboot recovery
This will boot you into a recovery and now you need to go to wipe and format data
After that go to apply update then adb sideload then
In the cmd type
Code:
adb sideload rom.zip
for example (you put the ROM zip here you can drag and drop it)
Wait for that to finish it will go to 47% and on the phone it will show step 1/2 then step 2/2
and when it's done it's gonna show an error
adb: failed to read command: No error
Then you can reboot to system
Hello thank your for the short HowTo. Unfortunately im stuck on invalid sparse error. Could you pls post a fix to solve this? Would appreciate your help.
hardshell said:
Hello thank your for the short HowTo. Unfortunately im stuck on invalid sparse error. Could you pls post a fix to solve this? Would appreciate your help.
Click to expand...
Click to collapse
You have to wait at least 30 sec after the error appear...
Are you sure you are on fastbootD???
tuto modified and completed to also root device with magisk and patch boot.img
when i restart into fastboot, it is frozen.
dy2592 said:
when i restart into fastboot, it is frozen.
Click to expand...
Click to collapse
normal, nothing happens on fastboot....when you flash, only thing is on your computer, not on screen..
cant seem to get this installed =(
rayman95 said:
8/
Code:
fastboot reboot fastboot
Click to expand...
Click to collapse
After I enter this, it just stays on waiting for any device.
Update: I was able to figure it out. My device had no drivers so I went search through updates on windows and installed a LeMobile Android driver os it shows up properly in device manager.
How does one install gapps?
dy2592 said:
After I enter this, it just stays on waiting for any device.
View attachment 5419437
Update: I was able to figure it out. My device had no drivers so I went search through updates on windows and installed a LeMobile Android driver os it shows up properly in device manager.
Click to expand...
Click to collapse
because you don't have xiaomi drivers installed...install xiaomi pc suite and you will have drivers installed...
duplicate
rayman95 said:
In step 14, I encountered the error "fastboot: error: ANDROID_PRODUCT_OUT not set" after executing the fastboot flash system command. what do I need to do?
Click to expand...
Click to collapse
Did you insert the img at the end?
Fastboot flash system LIRxxxxxxxxxxxx.img
you have to put your rom to adb folder and dont forget to add .img at the end
rayman95 said:
you have to put your rom to adb folder and dont forget to add .img at the end
Click to expand...
Click to collapse
1.img is your rom Is there anything else missing?
dy2592 said:
Did you insert the img at the end?
Fastboot flash system LIRxxxxxxxxxxxx.img
Click to expand...
Click to collapse
yaha your right thank you so much
rayman95 said:
you have to put your rom to adb folder and dont forget to add .img at the end
Click to expand...
Click to collapse
thank I solved my problem. Now I have another problem, how to install GAPPs
Patrick Star_ said:
thank I solved my problem. Now I have another problem, how to install GAPPs
Click to expand...
Click to collapse
run twrp, it's explain in 1st post or maybe try with magisk...I can install minimicroG nogoolag with it..
rayman95 said:
run twrp, it's explain in 1st post or maybe try with magisk...I can install minimicroG nogoolag with it..
Click to expand...
Click to collapse
I tried to use twrp to brush into GAPP, but the error is 70. How can I solve it? I don't know if there is a problem with my twrp. Can you send a tutorial on xiaomi11 Lite 5g installing twrp? Thank you very much
Patrick Star_ said:
I tried to use twrp to brush into GAPP, but the error is 70. How can I solve it? I don't know if there is a problem with my twrp. Can you send a tutorial on xiaomi11 Lite 5g installing twrp? Thank you very much
Click to expand...
Click to collapse
In case you want to flash twrp put the file to adb folder and type in fastboot
15/
Code:
fastboot boot twrp.img
And twrp link is in post 1..maybe you choose bad gapps variant

Categories

Resources