Related
I have Z2 D6503, I had once rooted and installed recovery on my phone and left it that way, few days ago I tried to install a rom from recovery, phone wasn't booting to recovery, since then I tried any guide to root and install recovery even till version 17.1.2.A.0.314. and none was working, anybody had this problem?
what can I do to fix it, the phone was already formated from data so any solution is a good one,
thanks in advance, Amir.
U can try entering fastboot and boot into custom recovery without flashing it by using command:
Fastboot boot recovery.img
After command success the phone will reboot to desired recovery automatically.
Where recovery.img is the name of the custom recovery file, then flash custom firmware from the recovery.
Enjoy.
convict_moody said:
U can try entering fastboot and boot into custom recovery without flashing it by using command:
Fastboot boot recovery.img
After command success the phone will reboot to desired recovery automatically.
Where recovery.img is the name of the custom recovery file, then flash custom firmware from the recovery.
Enjoy.
Click to expand...
Click to collapse
found one, but I get an error:
Code:
downloading 'boot.img'...
FAILED (data transfer failure (Unknown error))
finished. total time: 0.003s
not boot.img, recovery.img
download twrp recovery image from their site, and use that one. boot.img is the kernel not the recovery
convict_moody said:
U can try entering fastboot and boot into custom recovery without flashing it by using command:
Fastboot boot recovery.img
After command success the phone will reboot to desired recovery automatically.
Where recovery.img is the name of the custom recovery file, then flash custom firmware from the recovery.
Enjoy.
Click to expand...
Click to collapse
ticktock666 said:
not boot.img, recovery.img
download twrp recovery image from their site, and use that one. boot.img is the kernel not the recovery
Click to expand...
Click to collapse
I get this error while i'm doing the command:
fastboot boot recovery.img
Click to expand...
Click to collapse
when recovery.img is the twrp recovery image.
CosTuMe said:
I get this error while i'm doing the command:
when recovery.img is the twrp recovery image.
Click to expand...
Click to collapse
Did you try using another PC, or another pc port?
convict_moody said:
Did you try using another PC, or another pc port?
Click to expand...
Click to collapse
true, forgot about it, but now getting this:
downloading 'boot.img'...
OKAY [ 0.381s]
booting...
FAILED (remote: dtb not found)
CosTuMe said:
true, forgot about it, but now getting this:
downloading 'boot.img'...
OKAY [ 0.381s]
booting...
FAILED (remote: dtb not found)
Click to expand...
Click to collapse
I believe in this case if u used command:
Fastboot flash recovery boot.img
It will work, I think the recovery u are trying to boot is twrp,
If u got an error that the image isn't a boot image or something like that, redownload the recovery and try again.
hello
i tried to install twrp but the swipe didn't work
so i tried to install an older version
but now when i reboot twrp do not appear
and i have no more than 800mo memory available
i can't hard reset
what can i do ?
noogpout said:
hello
i tried to install twrp but the swipe didn't work
so i tried to install an older version
but now when i reboot twrp do not appear
and i have no more than 800mo memory available
i can't hard reset
what can i do ?
Click to expand...
Click to collapse
Flash recovery from CMD !
AbhaYsinGH007 said:
Flash recovery from CMD !
Click to expand...
Click to collapse
how can i flash recovery from cmd ?
where can i download the file ?
noogpout said:
how can i flash recovery from cmd ?
where can i download the file ?
Click to expand...
Click to collapse
Xiaomi.eu -> https://xiaomi.eu/community/threads/twrp-for-mi-pad-3.39743/
i follow the thread you mention
i can launch twrp but swipe do not work, i have now an otg cable but mouse is not recognized
so i don't know how to flash the rom
noogpout said:
i follow the thread you mention
i can launch twrp but swipe do not work, i have now an otg cable but mouse is not recognized
so i don't know how to flash the rom
Click to expand...
Click to collapse
That could be a bug !
noogpout said:
i follow the thread you mention
i can launch twrp but swipe do not work, i have now an otg cable but mouse is not recognized
so i don't know how to flash the rom
Click to expand...
Click to collapse
I find that hard to believe. Did you follow post #10? At your own risk, of course.
Guys, I did it!
I had no problems with the touchscreen, so there was nothing to solve for me. My Bootloader was also unlocked already.
Here is everything I did (be careful, this deletes all your data!):
Boot into fastboot (Volume down+ Power on, hold the Volume down-Key until fastboot loads)
Code:
fastboot -w
fastboot erase system
fastboot format system
fastboot flash recovery twrp.img
Boot into TWRP (Volume up + Power on, hold the Volume up-Key until TWRP boots)
WIPE -> Data -> Repair or Change File System -> Resize File System
Flash xiaomi.eu-zip normally (hopefully) enjoy!
Click to expand...
Click to collapse
Read the entire thread
yes i read the entire thread, i executed all the flashboot command but my rom was a global one not chinese, so the touch screen does not work in twrp.
Actually i downloaded a rom here : https://drive.google.com/uc?id=0B023gSzruW0aLV9ZRG1pdHpqd3c&export=download
then in fast boot mode i executed this command : ./flash_all.sh
but at the end i have this error : finished. total time: 10.194s
error: cannot load './images/cust.img'
i cannot boot to miui but now i have MI Recovery instead of TWRP
noogpout said:
yes i read the entire thread, i executed all the flashboot command but my rom was a global one not chinese, so the touch screen does not work in twrp.
Actually i downloaded a rom here : https://drive.google.com/uc?id=0B023gSzruW0aLV9ZRG1pdHpqd3c&export=download
then in fast boot mode i executed this command : ./flash_all.sh
but at the end i have this error : finished. total time: 10.194s
error: cannot load './images/cust.img'
i cannot boot to miui but now i have MI Recovery instead of TWRP
Click to expand...
Click to collapse
Why would you execute "./flash_all.sh". Did you try the methods mentioned on page 2 in the thread?
You need to know your commands.
Do you have ADB drivers installed?
Palm Trees said:
Why would you execute "./flash_all.sh". Did you try the methods mentioned on page 2 in the thread?
You need to know your commands.
Do you have ADB drivers installed?
Click to expand...
Click to collapse
yes i know the command : ./flash_all is a script in the archive : cappu_images_7.5.11_20170514.0000.00_7.0_global_xiaomi.eu.zip
i have already tested the commands in the page 2 :
fastboot -w
fastboot erase system
fastboot format system
fastboot flash recovery twrp.img
twrp is ok but i cannot swipe, because the touch screen is not enabled
so i cannot pass the step :
10. WIPE -> Data -> Repair or Change File System -> Resize File System
it's ok i commented the following lines in the script :
fastboot $* flash cust `dirname $0`/images/cust.img
if [ $? -ne 0 ] ; then echo "Flash cust error"; exit 1; fi
so the script can continue and after the boot is ok, MIUI start
Hi guys!
I'm having troubleshooting with my Mate 10 Lite, i try to root with this forum : https://forum.xda-developers.com/mate-10/how-to/how-to-huawei-mate-10-pro-standard-t3709535, but the problem is when i try to boot in the custom temporary recovery, fastboot gives me the following problem : "FAILED (Remote: Command not allowed)"
Help me please
Thanks for reading
Are you sure that your boot loader is unlocked?
MrGrim said:
Are you sure that your boot loader is unlocked?
Click to expand...
Click to collapse
Yeah, sure, i tried relocking and unlocking and nothing
MrGrim said:
Are you sure that your boot loader is unlocked?
Click to expand...
Click to collapse
an idea for this problem?
Koa1 said:
an idea for this problem?
Click to expand...
Click to collapse
Did u Checked with Fastboot?
Fastboot getvar Bootloader unlock?
What command did u Use`?
uweork said:
Did u Checked with Fastboot?
Fastboot getvar Bootloader unlock?
What command did u Use`?
Click to expand...
Click to collapse
Fastboot oem unlock [Code here]
uweork said:
Did u Checked with Fastboot?
Fastboot getvar Bootloader unlock?
What command did u Use`?
Click to expand...
Click to collapse
And i check with Fastboot, it says unlocked
uweork said:
Did u Checked with Fastboot?
Fastboot getvar Bootloader unlock?
What command did u Use`?
Click to expand...
Click to collapse
An idea to know what i'm doing wrong?
Koa1 said:
An idea to know what i'm doing wrong?
Click to expand...
Click to collapse
You are at this point,right?
Code:
fastboot boot twrp-mate10-lite.img
Your device will boot into temporary TWRP, ??
or have you used
Code:
fastboot flash recovery twrp-mate10-lite.img
??
First one should not work. second installs twrp, but i dont Know if you Huawei overwrite TWRP after first boot.
then it should be
Code:
fastboot boot Recovery
to restart in TWRP
uweork said:
You are at this point,right?
Code:
fastboot boot twrp-mate10-lite.img
Your device will boot into temporary TWRP, ??
or have you used
Code:
fastboot flash recovery twrp-mate10-lite.img
??
First one should not work. second installs twrp, but i dont Know if you Huawei overwrite TWRP after first boot.
then it should be
Code:
fastboot boot Recovery
to restart in TWRP
Click to expand...
Click to collapse
It is works after a flash, now i have oreo with TWRP and Magisk, thank you so much
Koa1 said:
It is works after a flash, now i have oreo with TWRP and Magisk, thank you so much
Click to expand...
Click to collapse
No Prob mate, Thats why we are all here for :fingers-crossed:
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
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