After flashing TWRP in my Realme X i got that message that i current image (boot/recovery) have destroyed and cannot boot.
Here is solution that worked for me.
1- Flash twrp
2-Download vbmeta.img (8kb in size)
3-Move it to Platform-Tools folder
4-Open cmd in Platform-Tools folder
5-Run this command
fastboot - disabled-verity - vbmeta flash-verification-enabled vbmeta.img
Note-this command is only working in command prompt not in Windows 10 shell.
And open cmd in Platform-Tools
Related
hi there am from belguim i have a asus transformer tf103c
the first problem i had fastboot starting ... current firmware version 209.05
i search from the internet and found the solution :
- From official LP firmware unpack file esp.img
- Extract file: bootx64.efi
- Put all files (above file and firmware unpacked files), together with fastboot files in folder with adb files
In the folder with the unpacked files must be (among other files and folders) the following:
- bootx64.efi
- droidboot.img
- boot.img
- esp.img
- partition.tbl
i downloaded evry file .
Then go to »Fastboot starting« on TF103C and connect it to PC.
Open cmd and input one command at the time (wait for response for each):
- fastboot flash osloader bootx64.efi
oke finish
- fastboot boot droidboot.img
ok finish
- fastboot flash fastboot droidboot.img
but whit this command he says wating for device
i sleep 1u and stil the same
please help me i don't know what to do
and i wanna learn more about android
- fastboot flash boot boot.img
- fastboot flash fastboot droidboot.img
- fastboot oem start_partitioning
- fastboot flash /tmp/partition.tbl partition.tbl
- fastboot oem partition /tmp/partition.tbl
- fastboot erase cache
- fastboot erase userdata
- fastboot oem stop_partitioning
- fastboot oem wipe ESP
- fastboot flash ESP esp.img
- fastboot reboot
sorry for bad english
plaese help me i will never forget it
thanks anyway
I have the same problem.
I am trying to flash with Fedora Core (Fedora-Minimal-armhfp-26-1.5-sda.raw.xz)
[[email protected] Documents]# fastboot flashing get_unlock_ability
RESULT: FAIL(unknown command).
As the title said, i'm having some errors while i try to flash something in fastboot, i'm folowing this steps:
First i open CMD (with administrator rights) or Terminal (root mode) and Type this:
Code:
adb devices
adb reboot-bootloader
My device reboot into bootloader, then i use:
Code:
Fastboot devices
Fastboot flash [partition] [path to file]
In this case: Fastboot flash recovery recovery.img
And here is where the problems begins
Code:
Fastboot flash recovery (path to the recovery.img file)
Sending 'recovery' (42834 KB) Failed (remote: 'not support "-u" option')
Fastboot: error: command failed
I do a little research about "-u" and got something about erasing a overwriting stuff so...
Code:
Fastboot erase recovery
(Everything is ok)
Fastboot flash recovery (path to the recovery file)
Sending 'recovery' (42834 KB) OKAY
Writing 'recovery' FAILED (remote: 'write partition:recovery')
Fastboot: error: Command Failed
I can't even do a Fastboot boot because of the '-U' option error...
I've tried with RKtools (because of my rk3368h chipset) and there i can flash everything succesfuly but when i try enter in recovery mode my device get stuck in the initial boot image (not the CR boot image)
So, i don't know if i'm using a wrong recovery.img or if my device is the problem. I hope someone can help me :laugh:
P.D: My device is a generic (unpopular) Android, so the only useful info that can i bring you is:
Android version is 8.1 (November 2018 security patch)
Device uses a rk3368h chipset
Bootloader is Unlocked
Obviously isn't rooted (that's why i'm trying to flash a CR)
Similar device: Teclast P10 (probably the m3f5)
And i'm trying to flash a ported TWRP (ported by ME )
That's all, thank you for reading my post and trying to help me.
HI everyone...
During last Weeks I have been working on getting a recovery working for this device, I upload the first version of what I have done, I was not able to test it properly due there is an issue with touchscreen if someone has the possibilitie to test it with an mouse that would be great. It was made for the xt2016-2 version only regards
You will need fastboot on your PC:
https://forum.xda-developers.com/showthread.php?t=2317790
as well a bootloader unlocked
WARNING:Flashing this may get device encrypted data so it may delete your data
i am not responsable of any damaged device
first you have to know your active slot on the device for that you will do the following:
Make sure the smartphone is connected to the PC with a USB cable
Now boot the smartphone into Fastboot Mode
Open up a Command Prompt, Windows PowerShell, or a Terminal in the same folder as your ADB and Fastboot files
Type out the following command. . .
fastboot getvar all
. . .then press Enter on the keyboard
Wait for a lot of text to finish scrolling and look for the (bootloader) current-slot text
This should actually be toward the bottom without the need to scroll up.
The letter after this text will be the currently active partition slot for your device
Commands to flash it and things you will need:
Blank vbmeta (To remove AVB verfication): https://mega.nz/file/nDwjACqQ#YljxjKbR3QLwFyj4LuMpKE4NR8ZlPOgQ9t9PWXADBqk
command: fastboot --disable-verification flash vbmeta_(slot what you are using) vbmeta.img
then we are gonna flash the TWRP image
TWRP XT2016-2: https://mega.nz/file/nDwjACqQ#YljxjKbR3QLwFyj4LuMpKE4NR8ZlPOgQ9t9PWXADBqk
Command: fastboot flash boot_(slot what you are using) TWRP.img
NOTE: REMOVE THE () AND JUST PUT THE LETTER*
In case of brick: I leave stock images
command for vbmeta: fastboot flash vbmeta_a vbmetastock.img
command for vbmeta: fastboot flash vbmeta_b vbmetastock.img
Vbmeta:https://mega.nz/file/OP5jAISC#NFLCqerxXZC5aY9-WW5fq6cUlZ6WWwDQxIMvfN0nOxI
Boot:https://mega.nz/file/3fIQhQzA#GFeIbb1TYPg8x8Lq_fBiNu9UFenUgvFH1-eVjIm4uqE
You flash boot same way than previous one.
If someone wants to help with the developing just pm me and I'll answer as soon i can
Can't Download TWRP
Hey,
I want to try this but the TWRP link leads me to vbmeta link so I can't download it.
Test
I want to help you testing this but the link of TWRP is the same as the one for the vbmeta file
command: fastboot --disable-verification flash vbmeta_b vbmeta.img
returns
PS C:\adb> fastboot --disable-verification flash vbmeta_b vbmeta.img
C:\adb\fastboot.exe: unknown option -- disable-verification
Dr0wn3d said:
command: fastboot --disable-verification flash vbmeta_b vbmeta.img
returns
PS C:\adb> fastboot --disable-verification flash vbmeta_b vbmeta.img
C:\adb\fastboot.exe: unknown option -- disable-verification
Click to expand...
Click to collapse
Fastboot commands do not necessarily work on all Android devices. Their compatibility differs from OEM to OEM.
Dr0wn3d said:
command: fastboot --disable-verification flash vbmeta_b vbmeta.img
returns
PS C:\adb> fastboot --disable-verification flash vbmeta_b vbmeta.img
C:\adb\fastboot.exe: unknown option -- disable-verification
Click to expand...
Click to collapse
Use: fastboot --disable-verity flash vbmeta_b vbmeta.img (For Slot_B)
fastboot --disable-verity flash vbmeta_a vbmeta.img (For Slot_A)
i cant download twrp too... any way I can help?
thanks
Blank vbmeta (To remove AVB verfication): https://mega.nz/file/nDwjACqQ#YljxjKbR3QLwFyj4LuMpKE4NR8ZlPOgQ9t9PWXADBqk
command: fastboot --disable-verification flash vbmeta_(slot what you are using) vbmeta.img
then we are gonna flash the TWRP image
TWRP XT2016-2: https://mega.nz/file/nDwjACqQ#YljxjKbR3QLwFyj4LuMpKE4NR8ZlPOgQ9t9PWXADBqk
[/QUOTE]
This two link are the same, please upload the TWRP link again, thanks
no more updates or new link?
umago mais sobre o twrp/
I have TWRP and am rooted with magisk. The phone will fail to update using the system updater.
How do I update this thing to the latest OTA?
I downloaded the latest, QPMS30.80-63-6-8-5, from https://t.me/s/motoupdatestracker?q=#sofia
Now what?
jova33 said:
I have TWRP and am rooted with magisk. The phone will fail to update using the system updater.
How do I update this thing to the latest OTA?
I downloaded the latest, QPMS30.80-63-6-8-5, from https://t.me/s/motoupdatestracker?q=#sofia
Now what?
Click to expand...
Click to collapse
unzip find the servicefile.xml open it with a Text editor, Like Notepad++
Copy the code, and paste @ https://kfhost.net/flashfile
you get a list of flash commands.
You will need Android SDK Platform Tools (ADB,Fastboot.exe)
I usually just copy the files from platform-tools folder to the firmware folder
Minor Update
With Minor updates the old boot.img is the same as the new one.
Skip or remove these commands (you may not have a recovery.img)
Code:
fastboot flash recovery recovery.img
fastboot flash boot boot.img
Major Update
With big updates the boot.img will need to be repatched
Run all the Flash commands
Reroot using the method used before.
or see Magisk Non-Twrp root Method
also see
[Index] Motorola Flashing Utilities and Firmware (Unbrick Your Moto)
[INDEX]Motorola Unbricking Tools Only For Motorola Devices This a list of USB/Fastboot Drivers, Firmware, Flashing Utilities, and other Unbricking Dev Projects for Motorola Devices. Please only post in this thread with feedback on how to...
forum.xda-developers.com
Can I simply flash the .zip file in TWRP?
jova33 said:
Can I simply flash the .zip file in TWRP?
Click to expand...
Click to collapse
No the file you have is a full moto firmware xml.zip it's formatted for LMSA or RSD Lite.
Unzip it if it has a sevicefile.xml or flashfile.xml it's not an ota update.zip
So, this is the code from https://kfhost.net/flashfile
Just run the "fastboot flash" commands and ignore the other fastboot commands like "fastboot getvar", "fastboot oem", and "fastboot erase"?
Code:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash vbmeta vbmeta.img
fastboot flash radio radio.img
fastboot flash bluetooth BTFM.bin
fastboot flash dsp dspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash recovery recovery.img
fastboot flash super super.img_sparsechunk.0
fastboot flash super super.img_sparsechunk.1
fastboot flash super super.img_sparsechunk.2
fastboot flash super super.img_sparsechunk.3
fastboot flash super super.img_sparsechunk.4
fastboot flash super super.img_sparsechunk.5
fastboot flash super super.img_sparsechunk.6
fastboot flash super super.img_sparsechunk.7
fastboot flash super super.img_sparsechunk.8
fastboot flash super super.img_sparsechunk.9
fastboot flash super super.img_sparsechunk.10
fastboot flash super super.img_sparsechunk.11
fastboot flash super super.img_sparsechunk.12
fastboot flash super super.img_sparsechunk.13
fastboot flash super super.img_sparsechunk.14
fastboot flash super super.img_sparsechunk.15
fastboot erase carrier
fastboot erase ddr
fastboot oem fb_mode_clear
echo -----------------------------------------------------------------------------------------------
echo English - Process concluded!
echo Português - Processo concluído!
echo English - Press any key to restart the phone!
echo Português - Pressione qualquer tecla para reiniciar o celular!
echo -----------------------------------------------------------------------------------------------
pause
fastboot reboot
exit
jova33 said:
So, this is the code from https://kfhost.net/flashfile
Just run the "fastboot flash" commands and ignore the other fastboot commands like "fastboot getvar", "fastboot oem", and "fastboot erase"?
Code:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash vbmeta vbmeta.img
fastboot flash radio radio.img
fastboot flash bluetooth BTFM.bin
fastboot flash dsp dspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash recovery recovery.img
fastboot flash super super.img_sparsechunk.0
fastboot flash super super.img_sparsechunk.1
fastboot flash super super.img_sparsechunk.2
fastboot flash super super.img_sparsechunk.3
fastboot flash super super.img_sparsechunk.4
fastboot flash super super.img_sparsechunk.5
fastboot flash super super.img_sparsechunk.6
fastboot flash super super.img_sparsechunk.7
fastboot flash super super.img_sparsechunk.8
fastboot flash super super.img_sparsechunk.9
fastboot flash super super.img_sparsechunk.10
fastboot flash super super.img_sparsechunk.11
fastboot flash super super.img_sparsechunk.12
fastboot flash super super.img_sparsechunk.13
fastboot flash super super.img_sparsechunk.14
fastboot flash super super.img_sparsechunk.15
fastboot erase carrier
fastboot erase ddr
fastboot oem fb_mode_clear
echo -----------------------------------------------------------------------------------------------
echo English - Process concluded!
echo Português - Processo concluído!
echo English - Press any key to restart the phone!
echo Português - Pressione qualquer tecla para reiniciar o celular!
echo -----------------------------------------------------------------------------------------------
pause
fastboot reboot
exit
Click to expand...
Click to collapse
Use all commands
Except
Boot.img, recovery.img
Servicefile.xml doesn't have
Erase userdata
how do people make flashable zips from these files? would be so much easier.
edit: and now I can't get past the boot logo
never mind, just took like 9 minutes. weird.
edit 2: mobile data is not working...
Now it is, rebooted a couple of times, and suddenly it works. Magic.
Steps to flash Miui without PC(fastboot flash)
Requirements:
• An OTG cable
• An extra phone
• Working Human brain
Method 1(root):
(1) Download termux(playstore), flash this (https://ghostmirror.hitesh920.workers.dev/0://ADB_&_Fastboot_for_Android_NDK-1.0.41(104107).zip) in magisk, reboot
(2) Download miui fastboot image, extract, in downloads folder, inside the folder, there is a folder called images, move that folder in Downloads folder
(3) Open termux and type
pkg install wget
rm -rf fastboot_flash_no_pc.sh && wget https://mirror.akshaykakatkar.dev/fastboot_flash_no_pc.sh
(If it gives internal server error, simply type again)
su
(4) Connect phone to otg, and type,
chmod +x * && ./fastboot_flash_no_pc.sh
(6) fastboot flash should start and complete after 10-15min
Method 2(non root):
(1) Download This (https://play.google.com/store/apps/details?id=eu.sisik.hackendebug) app
(2)Download miui fastboot rom, extract, inside that folder, there is Images folder, place the images folder in Downloads folder
(3) Open the app, go in fastboot section, and type these commands one by one, and select files from images folder
fastboot erase boot
fastboot flash preloader
fastboot flash logo
fastboot flash tee1
fastboot flash tee2
fastboot flash scp1
fastboot flash scp2
fastboot flash sspm_1
fastboot flash sspm_2
fastboot flash lk
fastboot flash lk2
fastboot flash super
fastboot flash cache
fastboot flash recovery
fastboot flash boot
fastboot flash dtbo
fastboot flash vbmeta
fastboot flash spmfw
fastboot flash md1img
fastboot flash vbmeta_system
fastboot flash vbmeta_vendor
fastboot flash cust
fastboot flash exaid
fastboot flash userdata
fastboot reboot
credits: @Akash23q2 for helping and testing
Thanks for sharing
thanks for the guide