Boot Animation Stuck after Camera 2 api & Dm verity flash via twrp - Android Q&A, Help & Troubleshooting

Hello there! I unlock my bootloader and install twrp in my redmi 6 pro(sakura). Then i install havoc os and it was running completely fine . Then i flash camera to api & dm verity by twrp. After flashing and rebooting, my phone stuck on havoc animation after redmi sign . Then i wipe everything and then i flash lineage os and it also stuck on lineage animation. Whichever os i flash, it stuck on that Animation. It's non root device. Still it stuck on os animation. How to solve? Please Help

connect to pc via usb
open cmd window in adb and fastboot folder
reboot your device to fastboot mode using hardware keys
type fastboot devices to test connection
then download your stock rom from the internet
extract it
enterthe firmware file
copy recovery.img system.img cache.img userdata.img and boot.img
paste them in the adb folder
now in cmd window type
fastboot erase boot
fastboot flash boot boot.img
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot erase userdata
fastboot flash userdata userdata.img
fastboot erase cache
fastboot flash cache cache.img
fastboot erase system
fastboot flash system system.img
and you're all done, your phone should be able to start now

brother i am very new . adb and fastboot folder means ? is it platform tools folder
brother i am very new .adb and fastboot folder means ? is it platform tools folder ?
narwhhal27 said:
connect to pc via usb
open cmd window in adb and fastboot folder
reboot your device to fastboot mode using hardware keys
type fastboot devices to test connection
then download your stock rom from the internet
extract it..
enterthe firmware file
copy recovery.img system.img cache.img userdata.img and boot.img
paste them in the adb folder
now in cmd window type
fastboot erase boot
fastboot flash boot boot.img
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot erase userdata
fastboot flash userdata userdata.img
fastboot erase cache
fastboot flash cache cache.img
fastboot erase system
fastboot flash system system.img
and you're all done, your phone should be able to start now
Click to expand...
Click to collapse

Related

[GUIDE][FASTBOOT] FLASHING FASTBOOT MiUI ROMS

Introduction:
Hey friends, as we know we can flash fastboot Miui Roms which comes with complete package and then we have to flash it with MiPHONE.exe. There are no other methods to flash roms Via PC! Roms can also be flashed with stock recovery, custom recovery but there should be a zip in sd card!Sometimes it even happen that we want to flash a rom/mod/zip and it fails! At that time we can restore via backup or flashing rom again.But what if there is NO ROM/BACKUP in SD CARD and ur in BOOTLOOP.
I tried numerous time flashing Miui fastboot rom via mi PHONE, but every time it gave me error 'The system cannot find the file specified.(0x80070002)' , I know i was doing somewhere wrong.Atlast I gave up and wanted to try different.
So I will be sharing with you a method to flash Miui Fastboot Roms by fastboot commands via ADB. Yes you can do it easily. Just enter the commands and hit enter.
Prerequisite :
Computer
Minimal adb and fastboot zip
MIUI FASBOOT ROM
Mi FLASH
(For installing usb drivers)
Steps to be performed :
1)Download minimal adb and fastboot zip and install it.
2) Also install Miflash for necessary usb drivers!
3)Download MIUI Fastboot roms zip and extract it in same folder where Minimal adb fastboot were installed.
FOR EXAMPLE : Mine path is C:\Program Files (x86)\Minimal ADB and Fastboot.
4)So extract files inside Minimal ADB and Fastboot FOLDER
5) Now go to Minimal Adb and Fastboot folder and HOLD 'Left Shift Button' and 'Right Click'
anywhere on folder area and there you can see OPEN COMMAND WINDOW HERE.
6) Follow the commands given below : Ps Enter commands one by one!!
Code:
fastboot flash tz tz.mbn
fastboot flash dbi sdi.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot erase boot
fastboot flash misc misc.img
fastboot flash modem NON-HLOS.bin
fastboot flash system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot reboot
7) The phone will automatically reboot after entering last commands , so have patience!
ENJOY!!!!!!
ps :Btw this helped me fix my otg which was giving me error!​
Can I suggest another solution, but not tested?
Just flash a CWM recovery .img, restart in recovery and use the sideload flash option to push and flash the .zip file of a rom.
All will be simplier if you use a Mac, no drivers needed, just ADB and platform-tools
Pi3rluigi said:
Can I suggest another solution, but not tested?
Just flash a CWM recovery .img, restart in recovery and use the sideload flash option to push and flash the .zip file of a rom.
All will be simplier if you use a Mac, no drivers needed, just ADB and platform-tools
Click to expand...
Click to collapse
Everyone doesnt have a Mac bro, I know it can be done via other methods too. Many people at this particular moment opt for easy way. this is damn easy , just download files put it in adb folder and hit command and done!!!
Since we have only one method for using via pc [ that also failed for me, maybe i was doing wrong] so i thought for doing this way!!
fastboot flash tz tz.mbn
fastboot flash dbi sdi.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot erase boot
fastboot flash misc misc.img
fastboot flash modem NON-HLOS.bin
fastboot flash system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot reboot
After all the commands except erase boot and reboot I get en error: target report max download size of 671088640 bytes error cannot flash..............
Any help would be deeply apreciated
SOLVED!!!! Using this.
http://forum.xda-developers.com/showthread.php?t=2277112
can u tell me how u solved the max download size limit error.
Can you tell me how to create fastboot rom?
Does it works to with Mi4..?
i've tried anything,,but its useless, lucky i'm not bricked my phone,
i just want to upgrade from MIUI5 to MIUI6, i've try flashing with standart procedure on the xiaomi web, but useless.
in fastboot mode, my phone is not detected, neither when i plug in and use Mi PC Suite,
now i'm running on MIUI-V6.2.4.0.KXDCNBJ
can you help me, ?
thanks a lot it works! with the help of Pallmalli post
Hi there,
I tried this with my Redmi Note 2 (I misunderstood the thread and thought it was for ALL Xiaomi) and the phone is in a loop of rebooting all the time. Like searching the boot but doesn't find it! :S
How can I reinstall the boot?
PLEASE help...
Cannot Load
It say cannot load xxx.mbn
please help
i was entered the commands like u... but it showing error: cannot load 'tz.mbn'
oooh man, ur rock!!!
Sk.D said:
Introduction:
Hey friends, as we know we can flash fastboot Miui Roms which comes with complete package and then we have to flash it with MiPHONE.exe. There are no other methods to flash roms Via PC! Roms can also be flashed with stock recovery, custom recovery but there should be a zip in sd card!Sometimes it even happen that we want to flash a rom/mod/zip and it fails! At that time we can restore via backup or flashing rom again.But what if there is NO ROM/BACKUP in SD CARD and ur in BOOTLOOP.
I tried numerous time flashing Miui fastboot rom via mi PHONE, but every time it gave me error 'The system cannot find the file specified.(0x80070002)' , I know i was doing somewhere wrong.Atlast I gave up and wanted to try different.
So I will be sharing with you a method to flash Miui Fastboot Roms by fastboot commands via ADB. Yes you can do it easily. Just enter the commands and hit enter.
Prerequisite :
Computer
Minimal adb and fastboot zip
MIUI FASBOOT ROM
Mi FLASH
(For installing usb drivers)
Steps to be performed :
1)Download minimal adb and fastboot zip and install it.
2) Also install Miflash for necessary usb drivers!
3)Download MIUI Fastboot roms zip and extract it in same folder where Minimal adb fastboot were installed.
FOR EXAMPLE : Mine path is C:\Program Files (x86)\Minimal ADB and Fastboot.
4)So extract files inside Minimal ADB and Fastboot FOLDER
5) Now go to Minimal Adb and Fastboot folder and HOLD 'Left Shift Button' and 'Right Click'
anywhere on folder area and there you can see OPEN COMMAND WINDOW HERE.
6) Follow the commands given below : Ps Enter commands one by one!!
Code:
fastboot flash tz tz.mbn
fastboot flash dbi sdi.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot erase boot
fastboot flash misc misc.img
fastboot flash modem NON-HLOS.bin
fastboot flash system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot reboot
7) The phone will automatically reboot after entering last commands , so have patience!
ENJOY!!!!!!
ps :Btw this helped me fix my otg which was giving me error!​
Click to expand...
Click to collapse
thanks bro, it work on my mi3, i skip flash userdata.img
Hello, please help me - When i type first command - FAILED (remote: unknown command).. any solution please? REDMI 2 2GB RAM
Hi, is this method still applicable for miui 7 or 8? thanks in advance
Sent from my MI 3W using Tapatalk
from where can i download MIUI Fastboot roms zip
fastboot flash tz tz.mbn
fastboot flash dbi sdi.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot erase boot
fastboot flash misc misc.img
fastboot flash modem NON-HLOS.bin
fastboot flash system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot reboot
After all above commands running successful
After reboot
To start Android, enter your password
More detalies
Hi,
Can you please be more specific about:
1. which mode does the phone need to be in while procedure? stay in boot-loop? boatloader mode? is recovery mode ok? download mode?
2. What files exactly to move to the minimal adb folder? there is the tgz file which extracts to the tar file which extracts to a folder - does that folder need to be copied? or the images file in that folder?
When trying to enter the lines some of them weren't exepted/missing.
Thanks,
Amitai
thank you SO MUCH for this tutorial, it worked perfectly for me.
@amitai, the phone needs to be in fastboot-mode, you can get there by typing "adb reboot bootloader" into commands (your phone has to be connected via USB); you will also be needing the FASTBOOT-ROM which you can get on the official miui website ... you also have to unpack them twice to get to the files. just copy all the files into the minimal adb folder. it does NOT work with normal miui roms, only with fastboot-roms!
any update about this Guide? Because we tried use on Xiaomi Mi 5 after first boot, Local Setting only Display China. And another issues two and third step is error (not available)
fastboot flash dbi sdi.mbn
fastboot flash sbl1 sbl1.mbn
Any clues?

[tut]G2 baseband repair with adb/fastboot

hi guys
DO IT ON YOUR OWN RISK
i'm here with a trick which i found yesterday in error and trial
if anyone has unknown baseband in g2 then he must try this simple trick. trick is that you must tot back to sotck version(mine was d800 20c). then root it and take efs backup and secure it on pc or cloud and install WRONG version autorec recovery installer(i installed ls980 version) and install recovery with it. it will brick your phone and lead you to fastboot screen.don't worry it is not scary and i will tell you how to recover it. download adb+fastboot and pda net drivers and usb drivers for your phone.(just google them).
after installing drivers,connect g2 to pc and in the folder where adb.exe and fastboot.exe are located,open command prompt(shift+right click). in cmd, enter fastboot reboot if your device restarts then you can proceed and if not then reinstall drivers and pda net.
after device restarts to fastboot screen, enter following commands without coma
"fastboot erase modemst1" and press enter
then
"fastboot erase modemst2" and press enter
and your baseband is repaired(imei may or may not recover). to recover your brick, download lg kdz extractor and open your tot file in it(remember to open version you installed on mobile)
when tot is opened, tick following files and extract them
aboot
boot
dbi
recovery
laf
sbl1
tz
rpm
and press extract and copy them to folder where adb and fastboot is located and open cmd promot
in cmd enter these commands one by one
fastboot erase aboot
fastboot flash aboot aboot.bin
fastboot erase boot
fastboot flash boot boot.bin
fastboot erase dbi
fastboot flash dbi dbi.bin
fastboot erase recovery
fastboot flash recovery recovery.bin
fastboot erase laf
fastboot flash laf laf.bin
fastboot erase sbl1
fastboot flash sbl1 sbl1.bin
fastboot erase tz
fastboot flash tz tz.bin
fastboot erase rpm
fastboot flash rpm rpm.bin
fastboot reboot
and wulaa your phone is back
i am new here so plz someone simplify it and add links
sory for bad english

[help]phone is bricked!!!

hi
so i was trying to install a custom rom on my phone because i couldnt root it with supersu.zip and twrp but i accidentaly wiped internal storage with twrp and when i try to install the custom rom although it says its successful it doesnt copy the files and says"unmount of system directory failed no such voulume",im really confused now, what can i do? any help is appreciated
also the internal storage is always empty and nothing gets copied in it
macszxc said:
hi
so i was trying to install a custom rom on my phone because i couldnt root it with supersu.zip and twrp but i accidentaly wiped internal storage with twrp and when i try to install the custom rom although it says its successful it doesnt copy the files and says"unmount of system directory failed no such voulume",im really confused now, what can i do? any help is appreciated
also the internal storage is always empty and nothing gets copied in it
Click to expand...
Click to collapse
Use a SD card to flash the ROM using TWRP. Also check on TWRP that the internal and external memory are mounted.
Sent from my XT1650 using XDA-Developers mobile app
Or ADB Sideload. Simple stuff
macszxc said:
hi
so i was trying to install a custom rom on my phone because i couldnt root it with supersu.zip and twrp but i accidentaly wiped internal storage with twrp and when i try to install the custom rom although it says its successful it doesnt copy the files and says"unmount of system directory failed no such voulume",im really confused now, what can i do? any help is appreciated
also the internal storage is always empty and nothing gets copied in it
Click to expand...
Click to collapse
Don't panic! As long as you can get to recovery or bootloader you aren't bricked
I would restore to stock and try everything again.
Here's the stock US ROM https://mega.nz/#!vtVmgAoI!J1cZtlRi0FjRHbxIJGA5U8CLx6RwUWQjwrCbjzf_Naw
There's a link around here for stock EU ROM if you need that instead.
Use these commands from an ADB prompt:
fastboot flash partition gpt.bin
fastboot flash motoboot boot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash system system.img_sparsechunk.12
fastboot flash system system.img_sparsechunk.13
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
thx guys it worked with flashing stock rom
macszxc said:
thx guys it worked with flashing stock rom
Click to expand...
Click to collapse
I went through the exact same thing, wipe the whole system out, couldn't reboot even after flashing another ROM, then I figured, the boot.img must have gone missing, so I just fastboot flash boot boot.img (the one from within the stock ROM), then the phone booted
beaubin said:
I went through the exact same thing, wipe the whole system out, couldn't reboot even after flashing another ROM, then I figured, the boot.img must have gone missing, so I just fastboot flash boot boot.img (the one from within the stock ROM), then the phone booted
Click to expand...
Click to collapse
I'm ever more of the opinion that our Z is a device very hard to seriously brick...
Prfndhatrdofman said:
Don't panic! As long as you can get to recovery or bootloader you aren't bricked
I would restore to stock and try everything again.
Here's the stock US ROM https://mega.nz/#!vtVmgAoI!J1cZtlRi0FjRHbxIJGA5U8CLx6RwUWQjwrCbjzf_Naw
There's a link around here for stock EU ROM if you need that instead.
Use these commands from an ADB prompt:
fastboot flash partition gpt.bin
fastboot flash motoboot boot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash system system.img_sparsechunk.12
fastboot flash system system.img_sparsechunk.13
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
Click to expand...
Click to collapse
Hello, can you give me the EU stock rom, and please for god's sake don't give me this file factory link because this website is downloading slower to force me to buy their premium ****, thanks.

Flashed Device With FastBoot Now Internal Storage Shows 0.00b

Hello. I wanted to flash a stock ROM on my Xiaomi Mi3 (Not Mi3W) and I downloaded an official stock ROM and flashed it using Fastboot.
Here's where I think I messed up. I used the "fastboot erase userdata" on the phone and when it booted up, The system storage is showing fine when I go to settings > storage but the internal storage is showing up as 0.00b and I cannot install any applications.
I've tried reflashing but nothing is working. Any ideas on how I can get it to work? Thanks.
Try to flash again with fastboot but with following comands:
Enter the following commands below by order:
fastboot erase cache
fastboot erase userdata
fastboot erase system
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot reboot-bootloader
boot.img ,recovery.img and system.img it should be inside your stock firmware.
Teddy Lo said:
Try to flash again with fastboot but with following comands:
Enter the following commands below by order:
fastboot erase cache
fastboot erase userdata
fastboot erase system
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot reboot-bootloader
boot.img ,recovery.img and system.img it should be inside your stock firmware.
Click to expand...
Click to collapse
After much Googling, I was finally able to 'reset' the whole android partition system by flashing a CWM recovery, booting into it, and using ADB to fix it all.
Thank you for bothering to reply my at all. You're amazing.
You Welcome

MetroPCS Moto E5 Plus Root And Recovery Solution

So with the help of @CodyF86 with his lovely twrp recovery I have had trouble flashing to the metro variant of this device so I found a firmware where I can flash it without messing up my modem and my LTE Metro Connection so this is for those who cannot boot up.
So first you will need to use Cody's guide on booting up twrp to along with fstab and all the other stuff on his guide before doing this.
After you did his guide now it's time for mine if you can't boot up properly and mind you the LTE works and wifi but I can't seem to find out why it feels a bit slow but anyway.
Step 1. Download this update and put it(unzip file) into your adb/fastboot folder on your computer. https://drive.google.com/file/d/1kW-FAfXccQMBMX3DuGJ_p2r0moDiCYtR/view?usp=drivesdk
Step 2. Put your phone into fastboot mode
Step 3. Flash these in order
fastboot flash boot boot.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash oem oem.img
fastboot erase userdata
fastboot erase DDR
fastboot flash logo logo.bin
fastboot reboot
After that's done follow Cody's guide again and make sure you do it step by step and flash ONLY MAGISK 16.7
TheAmbition267 said:
So with the help of @CodyF86 with his lovely twrp recovery I have had trouble flashing to the metro variant of this device so I found a firmware where I can flash it without messing up my modem and my LTE Metro Connection so this is for those who cannot boot up.
So first you will need to use Cody's guide on booting up twrp to along with fstab and all the other stuff on his guide before doing this.
After you did his guide now it's time for mine if you can't boot up properly and mind you the LTE works and wifi but I can't seem to find out why it feels a bit slow but anyway.
Step 1. Download this update and put it(unzip file) into your adb/fastboot folder on your computer. https://drive.google.com/file/d/1kW-FAfXccQMBMX3DuGJ_p2r0moDiCYtR/view?usp=drivesdk
Step 2. Put your phone into fastboot mode
Step 3. Flash these in order
fastboot flash boot boot.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash oem oem.img
fastboot erase userdata
fastboot erase DDR
fastboot flash logo logo.bin
fastboot reboot
After that's done follow Cody's guide again and make sure you do it step by step and flash ONLY MAGISK 16.7
Click to expand...
Click to collapse
I keep getting cannot open error. any help would be greatly apprecciated

Categories

Resources