Can't flash system.img in fastboot mode on 2012 KFHD 7" - 7" Kindle Fire HD Q&A, Help & Troubleshooting

Please help. I had Omni rom running fine. One day I turned on the tablet and got stuck in a bootloop. I tried to boot into twrp and it just sits there on the teamwin logo and wont go into twrp. I have factory cable and can get into fastboot, but the system.img will not write to the tablet. I have tried KFFirstAide and KFHD System.img Restore Tool and it will not write the system.img. I've tried multiple system.img, so it's not a corrupt file as the MD5 matches. Do I have a failed internal SD? I cant understand why twrp hangs either. UHHHHGGGG!!!
Here is what I get:
C:\>fastboot -i 0x1949 flash system system.img
target reported max download size of 1006632960 bytes
sending 'system' (907264 KB)...
OKAY [312.408s]
writing 'system'...
FAILED (remote: : Write partition)
finished. total time: 315.015s
Any help would be appreciated.

Related

Help - Stuck in Bootloop

The point in which everything took a turn for the worst was while trying to update firmware via SD update method. At which point it just stayed on android boot screen.
Recovery was broken at this point
I successfully flashed an older CWM version, but that was useless for reflashing the latest Asus firmware.
I tried flashing stock recovery again and it appeared to succeed, but now when I try to boot to recovery, it just goes back to bootloop.
I'm trying to flash the US version now via fastboot I get bootloop again and I'm getting weird errors every time I try regarding filesize. (See below)
I tried flashing CROMbi as well and it went through the install process successfully, but that resulted in bootloop as well.
Tried flashing Asus US firmware again without success,
Kind of pissed that this all started when following the instructions on the Asus site to upgrade to their latest firmware via SD card.
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot -i 0x0B05 flash system
asusus.zip
target reported max download size of 643825664 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 425021387 is not a multiple of t
he block size 4096
erasing 'system'...
OKAY [ 1.457s]
sending sparse 'system' (628732 KB)...
error: write_sparse_skip_chunk: don't care size 425021387 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 425021387 is not a multiple of t
he block size 4096
OKAY [ 86.837s]
writing 'system'...
OKAY [ 17.080s]
sending sparse 'system' (415060 KB)...
OKAY [ 57.305s]
writing 'system'...
OKAY [ 11.353s]
finished. total time: 174.042s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot -i 0x0B05 reboot
rebooting...
finished. total time: 0.021s
C:\Program Files (x86)\Minimal ADB and Fastboot>
Last time something like this happened, I had to wipe everything and reflash. so I did the following.
fastboot -i 0x0b05 erase boot
fastboot -i 0x0b05 erase cache
fastboot -i 0x0b05 erase userdata
fastboot -i 0x0b05 erase recovery
fastboot -i 0x0b05 erase staging
fastboot -i 0x0b05 erase system
and now I get a bootloader error on startup
I was able to successfully flash CWM 6037 again. I tried newer ones, but 6037 is the only one that will work.
Stock firmware from custom recovery fails every time. "Installing update... Installation aborted."
Crombi installer goes through without any problems. but just never boots once completed.
I tried installing the latest Cyanogen Nightly and got the following error "This package is for tF701T devices; this is a K00C."
But the K00C is a TF701T
After installing CROMbi again, I'm no longer getting the bootloader error in red letters, but I am still bootlooping.
When crombi installer completes I do get one error at the very end. "set_metadata_recursive:some changes failed".
I looked at the log and it says Cant partition non-vfat datamedia.
Does bootloop after apparently successful fstboot flash have anythignt o do with why in the FAW's ASUS recommends ignoring the software update for 4.3? Afterall this is what put me in this situation.
The SD update is designed to work with the stock recovery. What made you think it would work with CWM?
The only successful recovery from a similar situation I remember is the following (and I'm quoting from memory here - it's too late here for me to find the thread, but it is somewhere here in this forum - search for it.
Download the stock recovery to your fastboot folder from here: http://droidbasement.com/db-blog/?p=3210
Also download the 10.26.1.18 firmware, unzip it once, put it on a microSD and insert into tablet.
Enter fastboot mode
Issue:
Code:
fastboot [b]boot[/b] recovery.img
Note: You do not flash the recovery, you boot it!
The recovery should recognize the firmware on the microSD and start to flash it.
If that is successful, you would have stock recovery and firmware again.
Then download the latest firmware, unzip it, put into microSD or internal and the stock recovery should flash it.
Good luck!
Sent from my K00C using Tapatalk
berndblb said:
The SD update is designed to work with the stock recovery. What made you think it would work with CWM?
The only successful recovery from a similar situation I remember is the following (and I'm quoting from memory here - it's too late here for me to find the thread, but it is somewhere here in this forum - search for it.
Download the stock recovery to your fastboot folder from here: http://droidbasement.com/db-blog/?p=3210
Also download the 10.26.1.18 firmware, unzip it once, put it on a microSD and insert into tablet.
Enter fastboot mode
Issue:
Code:
fastboot [b]boot[/b] recovery.img
Note: You do not flash the recovery, you boot it!
The recovery should recognize the firmware on the microSD and start to flash it.
If that is successful, you would have stock recovery and firmware again.
Then download the latest firmware, unzip it, put into microSD or internal and the stock recovery should flash it.
Good luck!
Sent from my K00C using Tapatalk
Click to expand...
Click to collapse
The attempted SD update was done with custom recovery as I couldn't get stock recovery to work after the initial SD update with stock recovery.
Thanks for the info. I'll update.
gorilla p said:
Last time something like this happened, I had to wipe everything and reflash. so I did the following.
fastboot -i 0x0b05 erase boot
fastboot -i 0x0b05 erase cache
fastboot -i 0x0b05 erase userdata
fastboot -i 0x0b05 erase recovery
fastboot -i 0x0b05 erase staging
fastboot -i 0x0b05 erase system
and now I get a bootloader error on startup
I was able to successfully flash CWM 6037 again. I tried newer ones, but 6037 is the only one that will work.
Stock firmware from custom recovery fails every time. "Installing update... Installation aborted."
Crombi installer goes through without any problems. but just never boots once completed.
I tried installing the latest Cyanogen Nightly and got the following error "This package is for tF701T devices; this is a K00C."
But the K00C is a TF701T
After installing CROMbi again, I'm no longer getting the bootloader error in red letters, but I am still bootlooping.
When crombi installer completes I do get one error at the very end. "set_metadata_recursive:some changes failed".
I looked at the log and it says Cant partition non-vfat datamedia.
Does bootloop after apparently successful fstboot flash have anythignt o do with why in the FAW's ASUS recommends ignoring the software update for 4.3? Afterall this is what put me in this situation.
Click to expand...
Click to collapse
That error message means that your internal sdcard is no t available to format. Erasing all partitions is a dangerous thing to do.
The only way you will get back to normal is to try and flash the stock asus rom now as that will recreate everything. I recommend you start with the 4.2.2 one - need to flash it over fastboot - I can't see anything else working as you have erased it all.....
Also you used 0x0b05 which is the code for the last generation of transformers..... You don't need it for the TF701 but not sure if that has caused additional grief now. Probably not but you never know .....
Yeah IO'm getting the same issue that I was having before. I tried both the 4.3 and 4.2 boot.img and the recommended recovery.img file. Each time I ran
fasboot boot recovery.img
downloading 'boot.img'...
OKAY [ 1.121s]
booting...
OKAY [ 0.032s]
finished. total time: 1.157s
booting from downloaded boot.img (on tablet)
Then it goes to boot into the image and...bootloop.
C:\Program Files (x86)\Minimal ADB and Fastboot\asus>fastboot flash system asus4
22.zip
target reported max download size of 643825664 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 346827884 is not a multiple of t
he block size 4096
erasing 'system'...
OKAY [ 1.515s]
sending sparse 'system' (628732 KB)...
error: write_sparse_skip_chunk: don't care size 346827884 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 346827884 is not a multiple of t
he block size 4096
OKAY [ 86.861s]
writing 'system'...
OKAY [ 17.098s]
sending sparse 'system' (338700 KB)...
OKAY [ 46.823s]
writing 'system'...
OKAY [ 9.280s]
finished. total time: 161.586s
Bootloop...
Could the inability to flash or boot from stock recovery have anything to do with the CWM recovery protection?
Well after those attempts it's totally shot.
Now I can't even get to fastboot. Every reboot results in "Unrecoverable bootloader error..."
Files RMA. Returned.
Moral of story. Don't do anything on a Tegra device without previous documentation that doesn't have NVFlash available.

KFHD7 teamwin logo boot loop

There's a lot of similar threads on this and I have tried every method I could find and nothing has helped.
Yesterday I took a stock KFHD7 and rooted it, flashed teamwin recovery 2.6.3.1 and freedom boot 7.4.6, and then flashed CM 12.1 and the appropriate gapps. Everything was working GREAT except I had a problem downloading the Google Play Games app through the App store (Error -505) and I read the wasiest way to handle it on a new install was to just Factory Restore through CM 12.1. It wasn't until AFTER I rebooted that someone mentioned that doing that on CM 12.1 on a KFHD7 could seriously mess things up.
Now when I turn it on it shows the orange kindle fire logo, the blue kindle fire logo, then the teamwin logo, and then it flashes off briefly and goes back to the teamwin logo for a few more seconds before repeating flashing and teamwin over and over.
I was told I need to reflash the freeboot and teamwin recovery via fastboot. I had a lot of issues in that "fastboot dvices" does not return anything. "fastboot -i 0x1949 getvar product" returns that I have the Tate. Attempting to use fastboot without the "-i 0x1949" parameter causes it to display "< waiting for device >" indefinitely. adb seems to work, but any shell commands I attempt to send return that the command is not found.
So I tried this:
Code:
C:\Users\ChrisS2.HQ\Desktop\kinfire\root\stuff>fastboot -i 0x1949 flash boot kin
boot.img
target reported max download size of 1006632960 bytes
sending 'boot' (8145 KB)...
OKAY [ 2.173s]
writing 'boot'...
OKAY [ 0.572s]
finished. total time: 2.749s
C:\Users\ChrisS2.HQ\Desktop\kinfire\root\stuff>fastboot -i 0x1949 flash recovery
kinrecovery.img
target reported max download size of 1006632960 bytes
sending 'recovery' (8145 KB)...
OKAY [ 2.182s]
writing 'recovery'...
OKAY [ 0.578s]
finished. total time: 2.763s
C:\Users\ChrisS2.HQ\Desktop\kinfire\root\stuff>fastboot -i 0x1949 reboot
rebooting...
finished. total time: 0.001s
C:\Users\ChrisS2.HQ\Desktop\kinfire\root\stuff>
It's repeating the same behavior.
I've double checked and triple checked my drivers. The device is listed as "Kindle -> ADB Composite Device". Everythign seems to be fine on that end. I am using Windows 7 x64. I tried the fk scripts on Ubuntu with no success.
Edit: I also made my own Factory cable. Doesn't seem to have any affect on the process.
Two days of trying to figure this out and I fix it minutes after I ask for help.
I retried using the KFHD SRT v1.35 to recover the system image, deleted all user data and cache, then reformatted the /data partition. It can now boot properly into the teamwin recovery and flash ROMs as usual.
Here's a good article for people who had the same issue:
http://androidcowboy.com/2013/06/how-to-return-kindle-fire-hd-to-stock/

Back to Stock Recovery in Huawei P10 VTR-L29C185B165

I recently installed TWRP recovery on my phone and unlocked the bootloader. However, I did not read that after this you can not install OTA updates, and I would like to be able to download them. So my question is how to effectively upload Stock Recovery on my phone? I downloaded my ROM and extracted the file RECOVERY.IMG from it and tried to upload it through ADB, but during the flash it appears to me in CMD:
"C:\minimal>fastboot flash recovery recovery.img
target reported max download size of 471859200 bytes
sending 'recovery' (35396 KB)...
OKAY [ 0.774s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.784s"
What can I do in this case? Will anyone help me? Thank you.
the recovery partition on oreo isn't called recovery! it's called ramdisk, BTW can you upload the recovery image please?

fastboot flash FAILED (remote: Checksum Error.)

Whenever i try to flash something to boot or recovery partition i get the following error:
Code:
:~/Desktop/New Folder/amonet$ fastboot flash boot boot.img
target reported max download size of 134217728 bytes
sending 'boot' (4676 KB)...
OKAY [ 0.230s]
writing 'boot'...
FAILED (remote:
Checksum Error.)
finished. total time: 0.382s
It is a false checksum error as i have downloaded it multiple times and flashed it to other devices of the same model.
Shamrock3six said:
Whenever i try to flash something to boot or recovery partition i get the following error:
It is a false checksum error as i have downloaded it multiple times and flashed it to other devices of the same model.
Click to expand...
Click to collapse
Just try with SP Flash Tool for Windows and Linux (any distributions).
https://spflashtool.com/
AmznUser444 Dev said:
Just try with SP Flash Tool for Windows and Linux (any distributions).
https://spflashtool.com/
Click to expand...
Click to collapse
What? Completely inappropriate suggestion for all but the most advanced tinkerers. Tossing into a (real) fire would be easier.

Question Redmi Note 10 5G bricked

I've got to unbrick my phone, I think.
I can't boot into system or recovery cause my phone is bricked.
What should I do?
When I start fastboot and try to flash twrp, ther comes this message:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery 4_twrp.img
target reported max download size of 134217728 bytes
sending 'recovery' (65536 KB)...
OKAY [ 1.532s]
writing 'recovery'...
FAILED (remote: This partition doesn't exist)
finished. total time: 1.563s
This is an a/b device , use fastboot flash boot instead of fastboot flash recovery

Categories

Resources