Help errors trying to flash TWRP in my device vía fastboot - Android Q&A, Help & Troubleshooting

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.

Related

fastboot mode not working

I am not able to install or boot TWRP recovery on my Redmi Note 5 Pro and I am getting this error on Linux terminal:
Code:
~$ sudo fastboot devices
2029cac7 fastboot
~$ sudo fastboot boot /home/ubuntu/Desktop/twrp.img
downloading 'boot.img'...
FAILED (remote: unknown command)
finished. total time:0.001s
~$ sudo fastboot flash recovery /home/ubuntu/Desktop/twrp.img
target didn't report max-download-size
sending 'recovery' (36240 KB)...
FAILED (remote: unknown command)
finished. total time: 0.001s
Bootloader status says already unlocked on the settings screen and after MIUI update 8.5.2, I am facing this issue. And I was having the custom recovery already installed before I updated. Tried different cables, and different devices too :/
It seems none of the fastboot commands is now working(except the reboot commands) What to do now?
gavi7566 said:
I am not able to install or boot TWRP recovery on my Redmi Note 5 Pro and I am getting this error on Linux terminal:...
Click to expand...
Click to collapse
I don't have this device but, you should be able to obtain some member guidance within the following thread that's specific to your device.
https://forum.xda-developers.com/showthread.php?t=3778049
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.

TWRP - Wiped Internal Storage now I can't boot into recovery

I've just unlocked the phone, via minimal ADB
tried fastboot getvar current-slot and got the output that my slot was a
then I've tried flashing TWRP at a utilizing
fastboot flash recovery twrp.img
then got the following output:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp.img
target reported max download size of 803868672 bytes
sending 'recovery' (39780 KB)...
OKAY [ 1.663s]
writing 'recovery'...
FAILED (remote: (recovery_a) No such partition)
finished. total time: 1.695s
so, I've tried fastboot flash boot twrp.img
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot recovery.img
target reported max download size of 803868672 bytes
sending 'boot_a' (35452 KB)...
OKAY [ 1.063s]
writing 'boot_a'...
OKAY [ 0.183s]
finished. total time: 1.254s
then I've manually pressed the power button + volume up and successfully entered TWRP
there, I've gone to advanced wipe and wiped
Dalvik / ART Cache, system, Data and Internal Storage
I didn't know Internal Storage would give me problems... After that, I couldn't access my internal storage from the PC to copy the .zip of the custom rom.
Tried going to mount into TWRP to mount different partitions, no succes.
Then I thought that maybe if I restarted the phone it would be ok. So I've restarted and TWRP told me "no system installed, do you wish to continue?" I said yes.
Now, I'm stuck at fastboot and can't boot into twrp anymore...
I've tried repeating the same commands above and got the same outputs.
fastboot flash boot twrp.img got me the "OKAY" messages. But now, even if I hold the power + vol up button, I won't get to recovery.
I've tried
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot twrp.img
downloading 'boot.img'...
OKAY [ 1.291s]
booting...
FAILED (remote: unknown command)
finished. total time: 1.298s
because my frient told me to do so, but this command does not exist.
How can I proceed?
Try using mi flash tool
I was also stuck in fastboot mode I then tried installing twrp again with no success.
So I then went and flashed stock rom again into my phone using mi flash tool.
(Having a new account, I can't post link to these files. So download the files from official mi website, it is available there)
Steps to flash
1- Place the Flash File on Desktop.
2- open flash tool application.
3- Assign the Folder path.
4-Go to slot a using adb
5- Click on refresh & then tap Flash button

Download Mode - Restart loop after installing OS

Adroid One 10
Unlock solved and installed the lineage OS a several times in twrp with success according to the given instruction here:
https://raw.githubusercontent.com/RaghuVarma331/changelogs/master/crossdevelopment/abcrins.txt
but the phone didnt boot the OS after restarting neither in slot A nor B. In twrp u could read that there was "no OS installed" (??).
In the last try i changed the slot before installing and now the phone hangs in a restart loop with download mode and i connot turn down the phone or get back to twrp. Trying to connect it by adb to restart twrp is not working....
=========================
My errors while trying to get out:
=========================
fastboot boot twrp.img
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot B:\Various\Nokia\TWRP\twrp.img
downloading 'boot.img'...
OKAY [ 0.969s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 1.011s
fastboot flash recovery twrp.img
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery B:\Various\Nokia\TWRP\twrp.img
target reported max download size of 402653184 bytes
sending 'recovery' (42412 KB)...
OKAY [ 0.953s]
writing 'recovery'...
FAILED (remote: (recovery_a) No such partition)
finished. total time: 0.968s
So right now I'm at the end with my rudementary skills here.
Any idea how to get back to the point with twrp and installing an OS?
Thanks.
In case that no one else answers but someone else have the same problems , I write my solutions here.
.......
I got back to twrp by changing the slot in ADB
fastboot --set-active=a
unfortunately the restart loop doesn't end and no OS starts wether in slot a or b.

Can't flash system images in fastboot - FAILED (remote: 'sparse flash write failure')

Hi, i am trying to install a system.img to the system partition using fastboot using
Code:
fastboot flash system C:\Users\user\Desktop\system.img
but when i run the command i get this error:
Code:
Sending sparse 'system' 1/7 (460796 KB) OKAY [ 13.966s]
Writing 'system' FAILED (remote: 'sparse flash write failure')
fastboot: error: Command failed
i don't know if this is related to this other issue https://forum.xda-developers.com/t/...-cannot-flash-images-to-file-systems.4535981/
but i can't flash system images neither from recovery nor from fastboot (i have tried also other images).
it doesn't seem to be a memory issue because i have also used the -S option to split the image and it still doesn't work.
Help
Don't put your img file on desktop screen.Move the img file on the C drive and flash again with the right command.Hope it will be solved.
shaon121$ said:
Don't put your img file on desktop screen.Move the img file on the C drive and flash again with the right command.Hope it will be solved.
Click to expand...
Click to collapse
It still doesn't work as administrator and with the image in the C drive root.
Change your img file and try again..or download again... What is your phone model?
shaon121$ said:
Change your img file and try again..or download again... What is your phone model?
Click to expand...
Click to collapse
I have already tried different images, the phone is a Huawei P Smart FIG-LX1.
useless double posts
Can't flash system.img in TWRP - E:Cannot flash images to file systems
I am trying to install a custom ROM on a Huawei P Smart FIG-LX1. I have a system.img that i should flash to the system partition. So when i try to flash the image i have two system partitions: Ona named "System" and one named "System Image". If...
forum.xda-developers.com
Size of image is larger than the target device in TWRP
Hi, I am trying to flash a system image in TWRP. When i try flashing the system.img to the System Image partiton i get this error: Size of image is larger than target device How can i solve this error? I tried the resize partition option on the...
forum.xda-developers.com
slx23 said:
Hi, i am trying to install a system.img to the system partition using fastboot using
Code:
fastboot flash system C:\Users\user\Desktop\system.img
but when i run the command i get this error:
Code:
Sending sparse 'system' 1/7 (460796 KB) OKAY [ 13.966s]
Writing 'system' FAILED (remote: 'sparse flash write failure')
fastboot: error: Command failed
i don't know if this is related to this other issue https://forum.xda-developers.com/t/...-cannot-flash-images-to-file-systems.4535981/
but i can't flash system images neither from recovery nor from fastboot (i have tried also other images).
it doesn't seem to be a memory issue because i have also used the -S option to split the image and it still doesn't work.
Help
Click to expand...
Click to collapse
[Solved] Fastboot flash super error - FAILED (remote: 'failed to check sparse crc')
Hi, I'm getting an error trying to install stock rom from xiaomirom.com via fastboot. D:\Downloads\vili_eea_global_images_V12.5.21.0.RKDEUXM_20220224.0000.00_11.0_eea>fastboot flash super...
forum.xda-developers.com

(Nokia 2.3) How to install a GSI on a Nokia 2.3?

Hello everyone, this is my first time posting in XDA!
I know that you can't unlock the bootloader on a "official" way but I was able to do it with the help of mtkclient and some posts around XDA, now I was wondering if someone tried or what is the procedure to install a GSI on this device because I have tried but it won't boot (reboots over and over or gets stuck in logo), I've seen some posts (on Nokia official forums) saying that they were able to do this using the latest LineageOS GSI and I tried this but it didn't work too!.
What have I tried?​So far I tried to flash the GSI with fastboot and SP Flash Tool and none of them worked but there were some errors on the fastboot procedure:
When doing
Code:
fastboot delete-logical-partition product_a
It showed me:
Code:
Deleting 'product_a' FAILED (remote: 'unknown command')
fastboot: error: Command failed
So I just continued anyways and the flashing went with no errors using
Code:
fastboot flash system (Path to rom)
but when trying to do a userdata wipe (fastboot -w), fastboot says this:
Code:
Erasing 'userdata' OKAY [ 0.078s]
CreateProcess failed: The system cannot find the specified file. (2)
fastboot: error: Cannot generate image for userdata
So I thought that maybe that was the problem of why it wasn't working.
Any help is really appreciated, thanks!

Categories

Resources