[Q] Cannot Flash system.img - Android Q&A, Help & Troubleshooting

From my prevous thread:
Hi all. i have rooted my Asus Transformer Pad TF132CX and using TitaniumBackup Pro uinstalled some system apps, and now it freezes on asus logo. Charging working, Using VOL+ and Power Button i can acess to DROIDBOOT, here i have fastboot acess, and
i can reboot to recovery. I trayed ADB Sideload in Recovery, i am used stock firmware from Asus page, but it says: Signature Verification failed. Can anyone create backup from system in *.img format? I want to try use fastboot to flash system. Or custom recovery image (*.img) to flash this firmware.
Or something like firmware for these models, or CPUs in *.img format , and then patch with ota update.
I think TF103C and TF103CX are same.
Or any other way how to unbrick? i have lastest Firmware in system, but Bricked
Click to expand...
Click to collapse
Now, my friend buyed second TF103CX, i have rooted it and maked backup of system partition, and then unrooted.
But it have 1.75 GB, and i cannot flash that via fastboot.
C:\Users\Pavel Horniak\Desktop\Root Kit>fastboot flash system system.img
target reported max download size of 568440149 bytes
Invalid sparse file format at header magi
sending sparse 'system' (8 KB)...
OKAY [ 0.956s]
writing 'system'...
OKAY [ 0.516s]
finished. total time: 1.472s
8KB? it have 1.75GB
can anyone help me?
system.img is too large for device RAM, so i used this tool: http://forum.xda-developers.com/showthread.php?t=2749797
but i dont know how to flash theese files.
//Trayed to flash recovery recovery_philz_t00f.img, and dont working.
Now i can acess only to fastboot.

Related

Issues with recovery and fastboot

After fumbling with install twrp in order to change over to CM13 from stock, I somehow managed to install the original recovery wrong as well as completely boning the OS. Because of this, on boot, all that shows is the honor screen continuously. Of course the obvious answer to this is to reinstall twrp and restore one of my recovery files. Unfortunately trying to flash twrp through fastboot results in an "FAILED (data transfer failure (Unknown error))". Any suggestions? I can't access the phones internal storage nor the SD card either when I plug it into my PC.
Only one solution, flash a stock firmware using a PC.
PalakMi said:
Only one solution, flash a stock firmware using a PC.
Click to expand...
Click to collapse
How would I go about doing this? I would really love to get my honor working again. Would it just be using fastboot to flash the firmware?
I'd be worried about that error you're getting. It's strange.
Have you considered trying to flash stock recovery? You can extract the recovery image file from the official website update download. Or use the repository.
Or have you tried flashing a different version of TWRP recovery? Here's the official website.
Dueter1um said:
How would I go about doing this? I would really love to get my honor working again. Would it just be using fastboot to flash the firmware?
Click to expand...
Click to collapse
I don't think only fastboot is enough, but take a look at the link provided by JT-on
JT-on said:
I'd be worried about that error you're getting. It's strange.
Have you considered trying to flash stock recovery? You can extract the recovery image file from the official website update download. Or use the repository.
Or have you tried flashing a different version of TWRP recovery? Here's the official website.
Click to expand...
Click to collapse
Luckily, after trying to reflash the twrp with a different version like you suggested, there was no error message and it was completed successfully! Currently restoring as I type this. Don't know how to upload an image so text should do
C:\Users\zakpw\Desktop\Honor 5x rooting>fastboot flash recovery twrp-3.0.2-0-kiwi.img
target reported max download size of 266338304 bytes
sending 'recovery' (45202 KB)...
OKAY [ 1.423s]
writing 'recovery'...
OKAY [ 0.694s]
finished. total time: 2.121s
Dueter1um said:
Luckily, after trying to reflash the twrp with a different version like you suggested, there was no error message and it was completed successfully! Currently restoring as I type this. Don't know how to upload an image so text should do
C:\Users\zakpw\Desktop\Honor 5x rooting>fastboot flash recovery twrp-3.0.2-0-kiwi.img
target reported max download size of 266338304 bytes
sending 'recovery' (45202 KB)...
OKAY [ 1.423s]
writing 'recovery'...
OKAY [ 0.694s]
finished. total time: 2.121s
Click to expand...
Click to collapse
Happy for you, next time be careful
I got this same error, had to use different USB cable and different USB port.

Honor 9 bricked after failed OREO Upgrade. help me getting back to stock.

to the point.. I tried flashing OREO coming from B120 firmware following this guide https://forum.xda-developers.com/honor-9/how-to/stf-l09c432-how-to-install-oreo-h9-t3707729 ... I didnt manage to rename the folder in Part2.4 of the guide because despite supersu asking if i wanted to grant root it just didnt work....the bootloader and frp are unlocked.. when i try to reflash twrp this is happening.
F:\handy\h9>fastboot flash recovery twrp-3.1.1-1-stf.img
target reported max download size of 471859200 bytes
sending 'recovery' (32028 KB)...
OKAY [ 0.681s]
writing 'recovery'...
FAILED (remote: partition length get error)
finished. total time: 0.693s
theres not many googlehits and none of them helped or at least I couldnt find anything useful.
I tried to flash the stock SERVICE_FULL_REPAIR_STF-L09_C432B130_Belgium_Germany_France_Netherlands_Portugal_Switzerland_Spain_Italy_Austria_Poland_Denmark_Finland_Czech_Lithuania_Romania_Serbia_Slovenia_Hungary_androidhost.ru.rar
I put the dload folder in the root of the external_sd and boot up the phone with volup+down but I'm getting an error.
I also tried unbricking with the huawei multi tool but I'm getting errors with boot und recovery partitions.
7BKDU17809009681 fastboot
target reported max download size of 471859200 bytes
sending 'boot' (16366 KB)...
OKAY [ 0.349s]
writing 'boot'...
FAILED (remote: partition length get error)
finished. total time: 0.453s
target reported max download size of 471859200 bytes
sending 'cust' (148087 KB)...
OKAY [ 3.159s]
writing 'cust'...
OKAY [ 1.468s]
finished. total time: 4.628s
target reported max download size of 471859200 bytes
sending 'recovery' (41016 KB)...
OKAY [ 0.871s]
writing 'recovery'...
FAILED (remote: partition length get error)
finished. total time: 1.110s
target reported max download size of 471859200 bytes
I only want a working rom with root so i can use titanium backup. Any help is appreciated. After spending 12 hours today Im out of googlesearches and forumbrowsing ideas. Worst case check back in a week or so and I'll upload a youtube vid in which I'll destroy my practically brandnew phone with a hammer because I'm starting to lose my nerves. I really didnt expect it to be such a problem to install a new firmware and rooting my new phone. What options do I have?
regards
andru
In Oreo, recovery and boot partitions were renamed.
So, to flash recovery (TWRP in this case), you use
fastboot flash recovery_ramdisk twrp.img
Make sure you use TWRP for Oreo
to flash stock "boot", extract RAMDISK from stock oreo honor 9 firmware, and flash using
fastboot flash ramdisk RAMDISK.img
new partitions are the following:
boot = split into RAMDISK and KERNEL
recovery = split into RECOVERY_RAMDISK, RECOVERY_KERNEL, RECOVERY_VENDOR, RECOVERY_VBMETA.
eRecovery = Same as above but named erecovery
DLOAD should work...
if there are ROLLBACK firmware for Honor 9 you could try this to go back to Nougat: https://forum.xda-developers.com/mate-9/how-to/guide-mate-9-flash-oreo-update-package-t3699522
I'm not sure how different Honor 9 and Mate 9 recoveries are, but you could just flash back stock recovery if it doesn't work.
sorry for posting this in the wrong forum section. If a mod could move this would be appreciated.
ante0 said:
In Oreo, recovery and boot partitions were renamed.
So, to flash recovery (TWRP in this case), you use
fastboot flash recovery_ramdisk twrp.img
Make sure you use TWRP for Oreo
to flash stock "boot", extract RAMDISK from stock oreo honor 9 firmware, and flash using
fastboot flash ramdisk RAMDISK.img
new partitions are the following:
boot = split into RAMDISK and KERNEL
recovery = split into RECOVERY_RAMDISK, RECOVERY_KERNEL, RECOVERY_VENDOR, RECOVERY_VBMETA.
eRecovery = Same as above but named erecovery
DLOAD should work...
if there are ROLLBACK firmware for Honor 9 you could try this to go back to Nougat: https://forum.xda-developers.com/mate-9/how-to/guide-mate-9-flash-oreo-update-package-t3699522
I'm not sure how different Honor 9 and Mate 9 recoveries are, but you could just flash back stock recovery if it doesn't work.
Click to expand...
Click to collapse
thank you! I will try
andruman33 said:
thank you! I will try
Click to expand...
Click to collapse
nervermind i managed to murder the phone for good now with the dc phoenix software. bye bye honor 9
andruman33 said:
nervermind i managed to murder the phone for good now with the dc phoenix software. bye bye honor 9
Click to expand...
Click to collapse
Too bad
hey, don't worry, you were just stupid trying to flash to the wrong partitions (nougat partition names), recovery should be recovery_ramdisk and kernel is split into 2 partitions on oreo: kernel and ramdisk.
You better read everything carefully next time, its posted all around the forums here.
Regards
too bad
but you can try to update with latest version [B330]
https://romprovider.com/2017/12/b330-oreo-update-honor-9-tf-al00stf-tl10/

Big trouble with ZTE Blade L2

I'm fixing a friend's cell phone, I had restore stock ROM with SP Flashtools because it did not start, when doing it, and system boot, all most app crashing and still keeps all the data as photos and settings. I enter the custom recovery, and I do all the Wipes, when boot again, it is as if the wipe was not executed, I deleted some files from the internal memory, restart and the files appear again, I have tried to flash a custom recovery by ADB and see this error :
% fastboot flash recovery TWRP.img
sending 'recovery' (8748 KB)...
OKAY [ 0.331s]
writing 'recovery'...
FAILED (remote:
partition 'recovery' not support flash)
finished. total time: 0.337s
I do not know what else to do, since it is impossible to install or run an application to root and install a custom recovery with the application because the cell phone only show crashing mensages.
Bump!!

Can't use TWRP on Huawei Y6 (2018)

Before:
I just unlocked the bootloader and installed a custom ROM (LineageOS 15.1: https://forum.xda-developers.com/huawei-y6/development/lineageos-15-1-huawei-y6-2018-t3832278) on my Huawei but it won't let me flash the TWRP from adb. I tried before flashing the custom ROM and also after but no progress. I tried with 'fastboot flash recovery recovery.img' as well as 'fastboot flash boot recovery.img' because I knew some smartphones include the recovery in the boot.img but I am always getting the same error:
Code:
fastboot flash recovery recovery.img
target reported max download size of 535822336 bytes
sending 'recovery' (16544 KB)...
OKAY [ 0.522s]
writing 'recovery'...
FAILED (remote: partition table doesn't exist)
finished. total time: 0.553s
I am not an expert but I understood that 'recovery' partition doesn't exist. I found some possible solutions online such as writing 'fastboot flash RECOVERY recovery.img' or 'fastboot flash erecovery recovery.img' (because Huawei calls the stock one 'erecovery') but they both gave me another error:
Code:
fastboot flash RECOVERY recovery.img
target reported max download size of 535822336 bytes
sending 'RECOVERY' (16544 KB)...
OKAY [ 0.522s]
writing 'RECOVERY'...
FAILED (remote: Command not allowed)
finished. total time: 0.528s
UPDATE: I found, maybe, the correct name of the recovery partition and it seems to work:
Code:
fastboot flash recovery_ramdisk twrp.img
< waiting for device >
target reported max download size of 535822336 bytes
sending 'recovery_ramdisk' (14026 KB)...
OKAY [ 0.443s]
writing 'recovery_ramdisk'...
OKAY [ 0.323s]
finished. total time: 0.767s
BUT it actually doesn't work properly because when I boot into recovery it boots the stock one. I tried other solutions found on the net like instantly unplug the phone after the flash and reboot it into recovery immediately but again it boots into stock one...
OTHER UPDATE: I managed to find and flash a TWRP that can boot up but it shows the internal storage 0MB not allowing me to install any .zip file. Because of that, I cannot install SuperSU to get root access.
I tried installing TWRP also with stock ROM but still showing 0MB because the phone is encrypted. To disable encryption I need to install the bluspark TWRP (As I found online), the problem is that bluspark won't boot and gets immediately overwritten by the stock ROM as it happened with the one I mentioned in the first update of the post.
Now I will try buying a microSD card and see if it shows right so that I can still flash .zip from the microSD card.
Now:
LATEST UPDATE: The SD card is working properly and I see it as around 60 GB instead of 64 but that's not the problem. I can see the .zip files I'd want to flash but when I try to do it it says me that it failed to mount every single partition and after some research I discovered that my Huawei has all the data encrypted. After other research I found that there are some TWRPs like blu_spark that could decrypt the data but every version I tried doesn't work and gets immediately overwritten by the stock recovery.
Does anyone know other methods to decrypt all the data on Huawei? Otherwise it's impossible to flash any .zip. Actually it flashes it but it fails to update the partitions state so the system doesn't recognize the changes.
Rooting Huawei is so difficult.. I will buy an OP5t as soon as I have the money XD.
Y6 2018 twrp
Any progress? I'm also looking for a version of TWRP that works with the Y6 2018.

Can't flash vendor.img but i have TWRP [What to do ?]

Hi guys , i was running AOSIP PIE rooted and bootloader unlocked. I did an update of Magisk. And then i couldn't flash twrp it was not working , i could still boot phone normally and phone run smooth. Someone told me to flash TWRP with flashify and i did. Here the problems started , i started having error , can't boot anywhere etc...
I followed this tutorial https://forum.xda-developers.com/huawei-p20-pro/how-to/guide-erecovery-hisuite-failing-to-t3932203/ for last solution .
But unfortunatly i can't flash VENDOR.img in fastboot , i can flash all except VENDOR.img it says
C:\ADB>fastboot flash vendor VENDOR.img
target reported max download size of 471859200 bytes
sending sparse 'vendor' 1/2 (460796 KB)...
OKAY [ 10.697s]
writing 'vendor' 1/2...
FAILED (remote: Command not allowed)
finished. total time: 10.711s
I have flashed with success TWRP twrp-3.3.1-0-charlotte , i can get to it but there is no files inside the phone and it's not supporting SD cards to i don't have any ROM to flash ...
Do you guys have any idea about what to do ?
Thank you very much
benkiller47 said:
Hi guys , i was running AOSIP PIE rooted and bootloader unlocked. I did an update of Magisk. And then i couldn't flash twrp it was not working , i could still boot phone normally and phone run smooth. Someone told me to flash TWRP with flashify and i did. Here the problems started , i started having error , can't boot anywhere etc...
I followed this tutorial https://forum.xda-developers.com/huawei-p20-pro/how-to/guide-erecovery-hisuite-failing-to-t3932203/ for last solution .
But unfortunatly i can't flash VENDOR.img in fastboot , i can flash all except VENDOR.img it says
C:\ADB>fastboot flash vendor VENDOR.img
target reported max download size of 471859200 bytes
sending sparse 'vendor' 1/2 (460796 KB)...
OKAY [ 10.697s]
writing 'vendor' 1/2...
FAILED (remote: Command not allowed)
finished. total time: 10.711s
I have flashed with success TWRP twrp-3.3.1-0-charlotte , i can get to it but there is no files inside the phone and it's not supporting SD cards to i don't have any ROM to flash ...
Do you guys have any idea about what to do ?
Thank you very much
Click to expand...
Click to collapse
First, in TWRP, advance wipe everything! Now, you need a pc, connect the phone to PC with a USB, on pc, download any ROM you want (and gapps if you want) now transfer the files to your phone and then flash them, izi,
Thumbs up if I was useful.
DankMemz said:
First, in TWRP, advance wipe everything! Now, you need a pc, connect the phone to PC with a USB, on pc, download any ROM you want (and gapps if you want) now transfer the files to your phone and then flash them, izi,
Thumbs up if I was useful.
Click to expand...
Click to collapse
Hi thank you for your help , unfortunatly at the end of the ROM installation , my phone reboot back to fastboot mode , no matter wich ROM i boot in it
also good to precise i have a Huawei p20 pro
benkiller47 said:
Hi thank you for your help , unfortunatly at the end of the ROM installation , my phone reboot back to fastboot mode , no matter wich ROM i boot in it
also good to precise i have a Huawei p20 pro
Click to expand...
Click to collapse
Try reinstalling stock firmware trough download mode...
Try reinstalling the twrp image. Helped me once

Categories

Resources