Hi everyone I have a big problem I make backup of my stock rom (boot.img, recovery.img, etc.) and now I try to flash it back but it say error and bad size
My device: Colorovo citytab lite 10" (RockChip RK3168)
Sorry for my bad English.
You have to flash the .img files with fastboot.
For the boot its: fastboot flash boot boot.img
For the recovery its: fastboot flash recovery recovery.img
I'm trying to toggle on fastboot but I can't see device in "fastboot devices"
Now I'm on logo screen(not animation) but I can't boot. Only works recovery, adb and bootloader :/
Related
Try some cool colorful boot logos. Images cropped to 540x960px. Highlights - NVIDIA logo, Flash Player logo, CM7, Google, HD video, Linux, Navigator, Motorola
Enjoy the X'mas Release
Instructions:
1. Download the attached *.zip files
2. Extract and find the *.bin files
3. Use fastboot to flash the boot logo to your device
-- Reboot device to fastboot
-- Open Command Prompt and type
fastboot flash logo *.bin
fastboot reboot
or Make a CWM Recovery zip and flash it.
Special thanks to thewarhawk, NFHimself, Ka4yan and Devbro. you guys made it a hell lot easier! Does anyone know how to remove the text "unlocked" from the boot screen??
Standard Disclaimer: Don't telegraph me if your device is bricked!
thx .i gonna try it
thanks more to come!!!
Not to be a stickler, but shouldn't the fastboot command be "fastboot flash boot <filename>.bin" ?
I might be wrong but I thought fastboot commands run on the structure of
fastboot flash <partition> [ <filename> ]
Again, correct me if I'm wrong, I just don't want anyone to be confused (as I am obviously )
EDIT: Nevermind, is "logo" the partition? If it is, my bad.
well...we are not dealing with boot image, but just boot logo ! you are right if we are flashing a new boot image to our device, might be like this
fastboot flash boot boot.img
and recovery, fastboot flash recovery recovery.img
it clearly specifies the partition! but here we flash the logo, boot logo! correct me if im wrong!
edit: yea yea sounds like partition!! though its just logo
Well, it seems no one is having any issues so more than likely you are right.
I'm definitely no expert.
njarun said:
well...we are not dealing with boot image, but just boot logo ! you are right if we are flashing a new boot image to our device, might be like this
fastboot flash boot boot.img
and recovery, fastboot flash recovery recovery.img
it clearly specifies the partition! but here we flash the logo, boot logo! correct me if im wrong!
edit: yea yea sounds like partition!! though its just logo
Click to expand...
Click to collapse
live4nyy said:
Well, it seems no one is having any issues so more than likely you are right.
I'm definitely no expert.
Click to expand...
Click to collapse
Hey everyone, I just flashed my Moto G5S with a custom ROM (8.1 Pixel Experience).
Everytime I start it, it just goes into TWRP recovery mode. If I hold the Power+Volume buttons, and then select "Start", then it will boot into the Android OS. But if I leave it alone, then it just boots into TWRP Recovery mode.
How do I resolve this? it sounds like the boot order is not correct... but I don't know how to fix this.
EDIT: I have tried running the commands below in TWRP Terminal. They did not help
dd if=/dev/block/platform/msm_sdcc.1/by-name/fota of=/sdcard/fota-backup.img
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
Thank you all so much.
Same problem
I'm having exactly the same problem.
I've tried every single thing I can think of so far, including reverting everything back to stock.
Even when I revert the recovery img back to stock, it still tries to boot into recovery and just has a screen with the android logo and one word: "error".
I think that we need the moto G5 plus equivalent of "blank flash". EDIT: I'm not allowed to post links, so replace DOT with . here: cloudDOTEvache-androidDOTcom/Moto/potter/blankflash/
I'll try flashing this and see if it works.
Solved!!
I was finally able to solved this with the following steps:
Download the latest stock rom and firmware. There are lots of links around (sorry, I still can't post links). I used the Feb 2018 version.
Extract the zip file to the same places as fastboot. Boot into the bootloader.
1: Check your device is connected in fastboot mode
Code:
fastboot devices
If your device is listed then proceed.
2. flash bootloader
Code:
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
This might be enough - I didn't test it but you could try booting back into twrp and reinstalling your custom ROM here.
2. flash stock ROM ( and everything else)
I got a couple of error messages about signing with bad keys here, just ignore them.
Code:
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
4: Optional: relock bootloader
Code:
fastboot oem lock
5: Reboot and rejoice! (hopefully)
Code:
fastboot reboot
6: Reflash TWRP and then sideload Magisk for root
Reboot back into bootloader.
Download lastest TWRP for Moto G5S plus. Mine is called twrp-sanders-r16.im
g:
Code:
fastboot flash recovery twrp-sanders-r16.img
Get the latest Magisk from their website. Mine is v16.0.
In TWRP go to advanced -> sideload. Then:
Code:
adb sideload Magisk-v16.0.zip[CODE]
And you are done! Good luck :D
Thank you. I will give this a shot when I have a moment. At least I can still use my phone and it's not a brick. I'll come back with an update!
Success!
The previous suggestion worked... thank you so much!
I don't want erase my user data... I'm good with pixel experience rom.. no major bugs.
Help with twrp bootloop.. I use twrp r20 for Sanders unofficial
Hi,
I got the same issue. Can load fine with Start from Bootloader, but after next Restart, it's stuck on TWRP bootloop again.
I installed Pixel Experience, TWRP 3.2.1 r20 and Magisk 17.1
I used fastboot to load each file as you suggested, but still don't work.
Any idea where it might be wrong?
Thanks!
Fix bootloop in twrp MOTO G5 PLUS, works too in G5 s Plus
kevinm2738 said:
Hey everyone, I just flashed my Moto G5S with a custom ROM (8.1 Pixel Experience).
Everytime I start it, it just goes into TWRP recovery mode. If I hold the Power+Volume buttons, and then select "Start", then it will boot into the Android OS. But if I leave it alone, then it just boots into TWRP Recovery mode.
How do I resolve this? it sounds like the boot order is not correct... but I don't know how to fix this.
EDIT: I have tried running the commands below in TWRP Terminal. They did not help
dd if=/dev/block/platform/msm_sdcc.1/by-name/fota of=/sdcard/fota-backup.img
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
Thank you all so much.
Click to expand...
Click to collapse
Here the solution: search in youtube "Solucion al Reinicio en Twrp Moto G5 Plus y seguramente todos" i cant upload links because i am a newbbie.
Sorry bad english.
---------- Post added at 12:41 AM ---------- Previous post was at 12:11 AM ----------
stevenhw8 said:
Hi,
I got the same issue. Can load fine with Start from Bootloader, but after next Restart, it's stuck on TWRP bootloop again.
I installed Pixel Experience, TWRP 3.2.1 r20 and Magisk 17.1
I used fastboot to load each file as you suggested, but still don't work.
Any idea where it might be wrong?
Thanks!
Click to expand...
Click to collapse
Here the solution: search in youtube "Solucion al Reinicio en Twrp Moto G5 Plus y seguramente todos" i cant upload links because i am a newbbie.
Sorry bad english.
Hello to all !
In order to install Lineage OS on my Xiaomi Redmi Note 5, I was trying to flash TWRP as recovery. I was able to run successfully command 'fastboot flash antirbpass dummy.img' to skirt anti rollback, then i execute successfully 'fastboot flash recovery recovery.img' command to flash TWRP, but no way to boot on TWRP.
I tried also to run command 'fastboot boot recovery.img' but while booting it stays stucked on MI logo.
While searching for a solution I inconveniently run command 'fastboot flash boot recovery.img', so now I'm in a bootloop on fastboot mode if I press volume down and power button, or MI logo if I start in normal mode.
I still have access to fastboot commands, do you know how I can do to fix it (and maybe a way to install TWRP correctly) ?
And I can not stop my phone, does it exist a command which allows to do this in fastboot or I have to wait for my phone to be without battery ?
Thanks in advance for your help !
Ivanov93 said:
Hello to all !
In order to install Lineage OS on my Xiaomi Redmi Note 5, I was trying to flash TWRP as recovery. I was able to run successfully command 'fastboot flash antirbpass dummy.img' to skirt anti rollback, then i execute successfully 'fastboot flash recovery recovery.img' command to flash TWRP, but no way to boot on TWRP.
I tried also to run command 'fastboot boot recovery.img' but while booting it stays stucked on MI logo.
While searching for a solution I inconveniently run command 'fastboot flash boot recovery.img', so now I'm in a bootloop on fastboot mode if I press volume down and power button, or MI logo if I start in normal mode.
I still have access to fastboot commands, do you know how I can do to fix it (and maybe a way to install TWRP correctly) ?
And I can not stop my phone, does it exist a command which allows to do this in fastboot or I have to wait for my phone to be without battery ?
Thanks in advance for your help !
Click to expand...
Click to collapse
I guess you have Redmi note 5 - codename: Whyred (Snapdragon 636 and with dual rear camera) so Redmi 5 plus doesn´t have ARB.
If the next recommendation doesn´t work you will find better guidance in the thread for your specific device https://forum.xda-developers.com/redmi-note-5-pro so is slightly different.
Flash again your stock boot image , reboot and check that USB debugging is enabled and start again the process:
Put TWRP in your sdcard and a copy with this name in your adb folder into pc, reboot to fastboot and first just boot to TWRP, don´t flash it in fastboot, use code
Code:
fastboot boot TWRP.img
then in TWRP flash TWRP file and flash dummy.img ARB. In the case that your counter is up to 4 here you will find the file to enable again fastboot mode https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219
Ivanov93 said:
I still have access to fastboot commands, do you know how I can do to fix it (and maybe a way to install TWRP correctly) ?
Click to expand...
Click to collapse
I will assume that you have the correct TWRP build for your device (do you have vince, or whyred?).
If you have the correct TWRP, then did you flash magisk or lazyflasher after installing TWRP?
MAAAN
Do like this: once you flashed type
Fastboot boot recoveryname.img
I would like to share my experienced how to unbricked my phone that stock on fastboot mode.why my phone is brick? The reason why my phone brick just because i restore the wrong system with the other vendor from china to miuimix and after restore it, it stock on fastboot mode unable to recover backup or to load in recovery mode. It didn't also turn off. l try to use miflash tool but it didn't work because of authorization not match to my phone, i tried other fastboot rom but it didnt work.. Try to boot twrp using fastboot boot but it didn't show any. I came up with the idea to flash. Img using cmd into the system that i restore, begin with the boot.img nothing will happen. Until i flash the vbmeta.img, then it begin to show boot img and eventually access twrp. I wiped everything and flash again a brandnew rom miui12 and it works well now.. Hope it will help to others to have an idea to unbrick there phone. ☺☺☺
flamedrops said:
I would like to share my experienced how to unbricked my phone that stock on fastboot mode.why my phone is brick? The reason why my phone brick just because i restore the wrong system with the other vendor from china to miuimix and after restore it, it stock on fastboot mode unable to recover backup or to load in recovery mode. It didn't also turn off. l try to use miflash tool but it didn't work because of authorization not match to my phone, i tried other fastboot rom but it didnt work.. Try to boot twrp using fastboot boot but it didn't show any. I came up with the idea to flash. Img using cmd into the system that i restore, begin with the boot.img nothing will happen. Until i flash the vbmeta.img, then it begin to show boot img and eventually access twrp. I wiped everything and flash again a brandnew rom miui12 and it works well now.. Hope it will help to others to have an idea to unbrick there phone.
Click to expand...
Click to collapse
Could you explain? My phone is stuck at fastboot and my pc doesn't detect the phone.
if u could access your phone via fastboot / adb then it wasn't a hardbrick , just a softbrick
TahmidZee said:
Could you explain? My phone is stuck at fastboot and my pc doesn't detect the phone.
Click to expand...
Click to collapse
You should check first the driver of your computer. Make sure you have the driver of your phone to your computer. After that you can check your device via adb by using commnd on cmd "adb devices".
instructions to flash:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot erase recovery
fastboot flash recovery twrp-3.3.1-0-davinci.img
link: https://dl.twrp.me/davinci/twrp-3.3.1-0-davinci.img
w595shubham said:
instructions to flash:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot erase recovery
fastboot flash recovery twrp-3.3.1-0-davinci.img
link: https://dl.twrp.me/davinci/twrp-3.3.1-0-davinci.img
Click to expand...
Click to collapse
VERY VERY THANX A LOT MAN...THX THX THX:highfive:
flamedrops said:
I would like to share my experienced how to unbricked my phone that stock on fastboot mode.why my phone is brick? The reason why my phone brick just because i restore the wrong system with the other vendor from china to miuimix and after restore it, it stock on fastboot mode unable to recover backup or to load in recovery mode. It didn't also turn off. l try to use miflash tool but it didn't work because of authorization not match to my phone, i tried other fastboot rom but it didnt work.. Try to boot twrp using fastboot boot but it didn't show any. I came up with the idea to flash. Img using cmd into the system that i restore, begin with the boot.img nothing will happen. Until i flash the vbmeta.img, then it begin to show boot img and eventually access twrp. I wiped everything and flash again a brandnew rom miui12 and it works well now.. Hope it will help to others to have an idea to unbrick there phone.
Click to expand...
Click to collapse
Can u please explain it. I am stuck with the same problem. I got success in flashing fastboot rom via miflash tool but it's still stuck in fastboot.
Thanks God Bless You.
---------- Post added at 05:01 PM ---------- Previous post was at 04:36 PM ----------
Deaddo6 said:
VERY VERY THANX A LOT MAN...THX THX THX:highfive:
Click to expand...
Click to collapse
This Helped You guys are angel
w595shubham said:
instructions to flash:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot erase recovery
fastboot flash recovery twrp-3.3.1-0-davinci.img
link: https://dl.twrp.me/davinci/twrp-3.3.1-0-davinci.img
Click to expand...
Click to collapse
I have the same problem. I tried also this one, but nothing.
Everything goes ok in CMD, but when I type:
fastboot boot twrp.img
I get:
FAILED (remote: Failed to load/authenticate boot image: Load Error)
I still can't go in Recovery, neither turn off the phone. How solve this?!
dix93 said:
I have the same problem. I tried also this one, but nothing.
Everything goes ok in CMD, but when I type:
flash boot twrp.img
I get:
FAILED (remote: Failed to load/authenticate boot image: Load Error)
I still can't go in Recovery, neither turn off the phone. How solve this?!
Click to expand...
Click to collapse
flash boot twrp.img?
What do you wanna do?
If you want to boot into TWRP it should be
Code:
fastboot boot recovery "name-of- recovery.img"
If you want to flash TWRP it should be
Code:
fastboot flash recovery "name-of-recovery.img"
Your command
fastboot flash boot twrp.img should flash the recovery image over the boot image?
If you want to boot into twrp you should use the command above.
As far as I know not every device/firmware is able to boot into TWRP. It seems other users were able to do so with a mi 9t so my advice would be:
- Try another usb port / cable.
- Check twice if you renamed the twrp image correctly
- Try another twrp version (older one or unofficial)
w595shubham said:
instructions to flash:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot erase recovery
fastboot flash recovery twrp-3.3.1-0-davinci.img
link: https://dl.twrp.me/davinci/twrp-3.3.1-0-davinci.img
Click to expand...
Click to collapse
Wolfcity said:
flash boot twrp.img?
What do you wanna do?
If you want to boot into TWRP it should be
Code:
fastboot boot recovery "name-of- recovery.img"
If you want to flash TWRP it should be
Code:
fastboot flash recovery "name-of-recovery.img"
Your command
fastboot flash boot twrp.img should flash the recovery image over the boot image?
If you want to boot into twrp you should use the command above.
As far as I know not every device/firmware is able to boot into TWRP. It seems other users were able to do so with a mi 9t so my advice would be:
- Try another usb port / cable.
- Check twice if you renamed the twrp image correctly
- Try another twrp version (older one or unofficial)
Click to expand...
Click to collapse
Thank you. Actually I was confused in the transcript here, I meant fast boot instead of flash.
But I figured out to use XiaomiFlash Tool to install a ROM via fastboot, and then reinstall a recovery.
The popup camera is not working good with the XIAOMI official rom (It tries to close the cam even if it is already closed). Now I'm trying to install Havoc OS to try to solve those problem, but it demands me the miui v11.0.4 or new (error in twrp), even if I have the miui v12.... trying to figure out why
for the guys whome are stuck on fastboot, you may try "XiaoMiTool V2". this bought my Mi9T from fastboot to life.
make sure all the drivers are installed as well. what's better is install usb drivers, reboot computer, enable usb debugging, connect the phone to computer, select transfer data, wait till the computer completely setup your phone, turn off phone and connect to computer, wait till computer detects and setup, put the phone on fastboot mode and connect, check whether computer shows android device... once everything are confirmed then proceed with flasing.. :good::good:
w595shubham said:
instructions to flash:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot erase recovery
fastboot flash recovery twrp-3.3.1-0-davinci.img
link: https://dl.twrp.me/davinci/twrp-3.3.1-0-davinci.img
Click to expand...
Click to collapse
This command - fastboot flash vbmeta worked.
(using a version from Redispade for Grus - mi9se)
Unbricked my bootloop (recovery) after upgrading from miui 12 (android 10) to 12.5 android 11.
thanks!
Hello!
Now I have a trouble with my Nokia 7.1.
When I try to boot twrp or another kernel (boot.img) it stuck. I do '"fastboot boot twrp.img" or "fastboot boot boot.img" and my phone frozes on Android One logo.
And if problem with twrp can be solved (first enter "fastboot flash recovery twrp.img" and only than "fastboot boot twrp.img"), problem with boot.img is still relevant.
I noticed, that after "fastboot boot ..." phone restarts into download mode.
My phone is unlocked.
Thank
Hi, before any boot command, you'll need to do that flash recovery counterpart. You can do it on a standard boot image as well, not just TWRP. There's no recovery partition, so, nothing gets flashed. But it somehow allows us to boot our bootable img files.
So,
Code:
fastboot flash recovery boot.img
fastboot boot boot.img
singhnsk said:
Hi, before any boot command, you'll need to do that flash recovery counterpart. You can do it on a standard boot image as well, not just TWRP. There's no recovery partition, so, nothing gets flashed. But it somehow allows us to boot our bootable img files.
So,
Code:
fastboot flash recovery boot.img
fastboot boot boot.img
Click to expand...
Click to collapse
Yes! Thank you.
I recently came to this conclusion, but what is it?
Does it bootloader bug or anything else?
i have similar problems and just started a new request