-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fastboot mode recieves "write error" after flashing factory img. #10
Comments
i found a factory image for tilapia here: https://dl.google.com/dl/android/aosp/nakasig-jdq39-factory-0798439d.tgz maybe try running the flash-all.sh in there? it will do bootloader and system. if it still fails it may be bad emmc. |
Already tried factory flash "all" with the same "write error". |
could be bad blocks elsewhere in the media |
you can use nvflash to write to the partitions on the flash. example cmd from the README.md:
i think the partition's name is APP |
Sorry for misunderstanding, but how would i flash to the partition "APP"? |
maybe this:
where system.img is the stock image |
sorry, there's a missing step. you'd need to convert system.img from an android sparse image to a raw ext4 filesystem before flashing. |
Thank you, sir! But it appears, as you supposed, a broken emmc... |
Now I think emmc works if I managed to write bootloader to it, |
i don't know if the bootloaders for tilapia and grouper are interchangable - i did give a link to the original tilapia fastboot (https://dl.google.com/dl/android/aosp/nakasig-jdq39-factory-0798439d.tgz). rewriting BCT shouldn't be necessary, which is what --sync does. |
I used wrong flash.cfg - from grouper, but should be using tilapia. This is why only bootloader flashed - it is the only partition, that has the same size. Found one on xda, but the last file to find is bct for tilapia. 4 hours of searching - nothing... sadly.. You wrote that they have differencies, but minimal. In my case they may outcome big enough to mess up hole thing. |
the flash.cfg shouldn't actually matter since the partition table on the device is correct. there would be an additional partition for modem firmware or similar on tilapia i believe. it is mostly just there because nvflash requires it to do anything, even if it's unused. you should be able to read the existing one back though, something like |
Cant write any files to the device, but managed to get with PartitionId=2 PartitionId=3 You advised him: "this is NOT the same format that nvflash expects when passing --configfile; you will need to do the math and change the format manually. i would suggest using ./utils/flash.cfg as a reference." How it should look like aproximately? |
you shouldn't need an updated flash.cfg. the device's partition table is intact AFAICT. when using it should look approximately like ./utils/flash.cfg with perhaps the addition of a new partition and some slightly changed sizes as a result. if i were to guess, i'd think that UDA would be resized to account for a radio partition. |
I had Hard bricked Nexus 7 tilapia-nakasig-32gb Hynix (under processor), ME370TG.
With your brilliant instruction i managed to flash bootloader (as i understand, they are the same on tilapia and grouper) and entered fastboot. But at first, 7th step resulted in only hanging for several times. I decided to put nexus aside. After several days i tried to volume+ power buttons again and luckily device entered fastboot! Thank you! ... But how it can be??
But all types of images that i tried to flash - were sending, but recieve "write error". Flashing to boot factory recovery ended negative, flasing to boot twrp recovery was successefull, i even could again tap to my device after 10 years of lying in a box, but twrp showed inner memory=0, despite formating, recovering and etc.
If i managed to flash bootloader with nvflash, may by there is a way to flash boot and system.img the same way?
I am afraid to flash bootloader again from fastboot, but may be i am wrong?..
Or that method of yours with zeros...?
The text was updated successfully, but these errors were encountered: