Nexus 5 D821 (h) Soft Brick Fastboot Erro - Nexus 5 Q&A, Help & Troubleshooting

Hey guys,
I need help!
A model LG Nexus 5 D821 (h) 16GB has bricked.
I downloaded 3 firmwares on https://developers.google.com/android/nexus/images#instructions for this device and execute the instructions folow:
1- extract adb minimal and fastboot on new paste
2- extract file compacted of firmware at same new paste
3- execute commands fastboot
(now is the problem)
when i execute "fastboot flash system system.img
an error appears:
REMOTE FAILED: (size too larger)
I think that file system.img it´s than larger. File´s size is 1961709KB. But a device information for max download size supported is 1073741824B, or aproximatted 1073741KB.
an others firmwares it was split a chunk files, exemple:
system.img_sparsechunk.0
system.img_sparsechunk.1
system.img_sparsechunk.3
etc etc
Its make file minors.
Please, any solution???

"I downloaded 3 firmwares" - which firmwares?
Which system.img are you trying to flash? Which tutorial are you following?
Did you check that the firmware was good by verifying the checksum? You can do this with a free Windows program called Checksum Utility - http://download.cnet.com/MD5-SHA-Checksum-Utility/3000-2092_4-10911445.html
Is your device bootloader unlocked? Did you have "Enable OEM unlock" ticked in developer options?
Did you manage to flash any partitions? Are you flashing manually or via a toolkit or flash-all.bat?
Too many questions - you need to provide more detail about exactly what you've done.

Related

[GUIDE][FIX] Bricklooping Lettuce (YU Yuphoria) , No IMEI , Corrupt EFS

Hello Good People !!!
So yesterday,I encountered a brickloop on my lettuce and after around 10 hours of trying almost all methods,I was finally able to solve it.Though,mainly I was able to try all these as I had already got my replacement request from Amazon approved...
For those who don't know,brickloop is a situation when the device bootloops just after the YU logo and this bootloop isn't resolved even after factory image flash or any other ROM flash .
I cannot guarantee that this will work for everyone. However It has proven to be a solution for almost everyone that have used it. So if it does not work I ask that you be respectful in posting as such.
I am making a package for you to download which contains all files needed to make this happen (You need three more files,modemst1.img and modemst2.img and latest CM nightly but I am not going to give you those as I don't want everyone to have my IMEI on their lettuce . Though I will definitely tell you how to get those two files.) Download the package here :- https://www.androidfilehost.com/?fid=24052804347796818
So inside it you will have these files:
persist.img
adb 1.0.32
INSTRUCTIONS :-
Please note that any commands run in fastboot mode require you to have an unlocked boot loader. If you are not sure if you are unlocked then that means you aren't! So to unlock the bootloader,follow this guide :- http://forums.yuplaygod.com/threads/official-how-to-unlock-bootloader-on-the-yu-yuphoria.13785/
Step 1 :- You need to have proper adb/fastboot drivers installed.If you have unlocked bootloader ever or did so by the above guide,you already have these drivers with you.Else,use this guide to get drivers working :- http://forums.yuplaygod.com/threads...-drivers-pack-drivers-for-adb-fastboot.15025/ After you have made the drivers to work,continue to the next step.If you have issues in making drivers work,tag me in the thread and I will try my best to help you out.
Step 2 :- Extract the downloaded Zip on the Desktop .
Step 3 :- Open the adb1032 folder extracted on the desktop and put the latest CM nightly,modemst1.img and modemsr2.img inside it.Open Command Window by pressing Shift Key + Right click anywhere inside the folder and then selecting Open Command Window here.Boot your phone to fastboot mode.
Step 4 :- Now type the following command inside the Command Window or just copy-paste it :-
Code:
fastboot -i 0x2A96 erase persist
Wait for the process to complete (Should take less than 5 seconds).
Step 5 :- Type the following command inside the Command Window or just copy-paste it :-
Code:
fastboot -i 0x2A96 flash persist persist.img
Wait for the process to complete (Should take less than 5 seconds).
Step 6 :- (In most cases,the issue is solved in the Step 5 only.But still I recommend following all these steps.If you,by any chance,don't have modemst1.img and modemst2.img with you,DIRECTLY SKIP TO STEP 7) Type the following commands one by one :-
Code:
fastboot -i 0x2A96 erase modemst1
Code:
fastboot -i 0x2A96 erase modemst2
Code:
fastboot -i 0x2A96 flash modemst1 modemst1.img
Code:
fastboot -i 0x2A96 flash modemst2 modemst2.img
Step 7 :- If you don't have TWRP flashed,flash it from this thread :- http://forums.yuplaygod.com/threads/recovery-twrp-2-8-7-0-for-yu-yuphoria-01-08-15.13974/
Step 8 :- DON'T DO fastboot -i 0x2A96 reboot BUT instead remove the battery and then put it again and boot to recovery by pressing Power+Vol. Down button.
Step 9 :- Inside recovery,in the advanced folder,select ADB Sideload and select "Wipe Dalvik Cache" and "Cache" and swipe to start ADB Sideload.
Step 10 :- In the command window on your pc,type (Replace xxx with the correct Nightly name ) :-
Code:
adb sideload cm-xx-xxxxxxxx-NIGHTLY-lettuce.zip
Wait for the nightly to flash.
Step 11 :- From inside the recovery,reboot to system.
Your phone will be back now ....... Yayyyyy !!!!
And yeah,how to get modemst1.img and modemst2.img :-
Step 1 :- Download this app on your phone :- https://play.google.com/store/apps/details?id=ma.wanam.partitions
Step 2 :- Grant root access and in the settings,select storage to external sdcard and backup format to .img .
Step 3 :- Backup all partitions by selecting them and pressing a download like button at the bottom right . (Though we need to backup only modemst1 and modemst2 but I recommend you to backup all ... But yeah,first backup modemst1 and modemst2 and then backup others.The main reason I was able to restore my phone was because I had backup of all partitions,)
Step 4 :- In your external sdcard,find the modemst1.img and modemst2.img and save them inside the specified folder and also at as many secure places as you can so that these files never get lost.)
Please Note :- Most of the times,even a corrupt EFS is solved just by erasing and flashing persist.So don't worry much if you forgot to take its backup.Also,sometimes,a brickloop might be caused due to any other partition getting corrupted and that too can be solved but that is very rare.If this guide doesn't help in solving brickloop,tag me here,and I will help you out.
Reserved to improve the look of the post ... And also my story of how I arrived to this solution ..
And teaser : Another great guide coming soon ...
im having a weird situation here....i flashed aicp rom it bootlooped...then i restored my twrp backup of stock...its also stuck at boot animation......can you help me out..
sdnavale said:
im having a weird situation here....i flashed aicp rom it bootlooped...then i restored my twrp backup of stock...its also stuck at boot animation......can you help me out..
Click to expand...
Click to collapse
here you go bro.
Hi.. I'm new to Snapdragon chipsets..
Can I know what are these images for: persist.img, modemst1.img and modemst2.img
I mean, what are these partitions used for?
GokulNC said:
Hi.. I'm new to Snapdragon chipsets..
Can I know what are these images for: persist.img, modemst1.img and modemst2.img
I mean, what are these partitions used for?
Click to expand...
Click to collapse
These store the IMEI of your phone and some more important stuff... But IMEI is the most important of those...
Sent from my YU5010 using Tapatalk
@Naman Bhalla can u make a guide for hardbrick also? If you can?
Sent from my YU5010 using Tapatalk
Code:
target reported max download size of 268435456 bytes
sending 'persist' (32768 KB)...
OKAY [ 1.034s]
writing 'persist'...
FAILED (remote: flash write failure)
finished. total time: 1.430s
i get this error
Bootloader UNLOCKED Successfully though
Zeehan said:
i get this error
Bootloader UNLOCKED Successfully though
Click to expand...
Click to collapse
Restart into bootloader and then see , if it works
Same Error
TheDemon12 said:
Restart into bootloader and then see , if it works
Click to expand...
Click to collapse
Hi Pal,
I tried restarting into the bootloader as well and am still getting the same error!! Please help!
Step 4 :- Now type the following command inside the Command Window or just copy-paste it :-
Code:
fastboot -i 0x2A96 erase persist
Wait for the process to complete (Should take less than 5 seconds).
Step 5 :- Type the following command inside the Command Window or just copy-paste it :-
Code:
fastboot -i 0x2A96 flash persist persist.img
Wait for the process to complete (Should take less than 5 seconds).
Click to expand...
Click to collapse
I encountered
FAILED (remote:flash write failure)
xmertrans said:
I encountered
FAILED (remote:flash write failure)
Click to expand...
Click to collapse
Looks like partitions are corrupt.
Naman Bhalla said:
Looks like partitions are corrupt.
Click to expand...
Click to collapse
Yes I tried formatting with help of twrp it showed format successful but still twrp showed memory as 0mb
Code:
C:\adb>fastboot -i 0x2a96 erase modemst1
erasing 'modemst1'...
FAILED (remote: failed to erase partition
)
finished. total time: 0.034s
I am getting this error while erasing the modemst partitions. Can I continue with the flashing the modemst partitions directly?
Naman Bhalla said:
Looks like partitions are corrupt.
Click to expand...
Click to collapse
Is there a way to correct the partitions?
"FAILED (remote: flash write failure)"
When I try to flash persist, using the following command -
fastboot -i 0x2A96 flash persist persist.img
I get the error -
"FAILED (remote: flash write failure)"
Please help !
@Naman Bhalla,
I knew you from the OnePlus forums unbrick tool for 1+3.
I loved your work and it really saved my ass a lots of time.
I hope you're the same person and I Thank you very much
For that tool.
Coming to Lettuce,
I have installed this ROM: https://forum.xda-developers.com/yu-yuphoria/general/rom-lineage-os-14-1-lettuce20170108-t3538332
And suddenly my phone got blank. I can't access anything..
And all I can see is a ? icon what ever I restart the phone to, every reboot to bootloader/ recovery or even when connected to PC.. it's just the battery icon. The device is not even detected as any type of device in PC.
I tried the emmc dump method using first 200MB dumb, no luck there.
Can you provide me any other method to make my phone work again?
Please help me..
@Naman Bhalla
Hi my YU Yuphoria 5010 started acting up since last week ,when i noticed that the phone was restarting randomly and the settings was missing and even if i clicked on the settings logo in the notification panel, nothing would happen .So i decided to flash a Cusstom ROM instead and boot into recovery.While trying to wipe cache,dalvik and data I got an error message "uable to mount data,cache ,system(invalid argument) and internal memory* was showing up as 0.So i thought my phone was bricked and tried reviving it with the sd card method.But everything else except for system flashed , and got an error FAILED (remote: flash write failure ) just for system .Anyway now I could boot into recovery using fastboot boot command and the internal memory started showing up correcty. The fastboot command is the only way i could get into recovery, if i try power+volume down it would just come up with the empty battery logo. After this i installed qualcomm drivers and manually changed the driver to Qualcomm HS-USB QD Loader 9008 and tried flashing through QFil with a flashable stock ROM and ended up with the error message:"Download Fail:System.Exception: Unable to download Flash Programmer using Sahara Protocol** at QC.QMSLPhone.Phone.QPHONEMS_SaharaArmPrgDownload(String sFileName)** at QC.SwDownloadDLL.SwDownload.QPHONEMSSaharaDownloadArmPrg(UInt64& version, String armPrgPath)
Download Fail:Sahara FailSahara Fail".
*
But after going through some of your posts I found that my phone might not be bricked in the first place.My device just shows up as 'Android' under Other devices in Device Manager.
The following are the details from device manager.
Device type: Other devices
Manufacturer: Unknown
Location Port_#002.Hub_#003
Problem code : 0000001C
Physical Device Object name: \Device\USBPDO-6
Hardware IDS: USB\VID_2A96&PID_300A&REV_0100
************************ USB\VID_2A96&PID_300A
{259abffc-50a7-47ce-af08-68c9a7d73366}[13]: 6.0
{6a3433f4-5626-40e8-a9b9-dbd9ecd2884b}[4]: <true>
{6a3433f4-5626-40e8-a9b9-dbd9ecd2884b}[6]: <true>
*
I also tried to restore through TWRP recovery using the back up my brother created on his YU 5010A to no success.Changing the file system type and back to ext4 also didnt help. I use a Windows 10 64bit Laptop.
What could I possibly do to revive my phone?Kindly help.
*
How can i find modem files as i dont have their backup?
Is their any way of getting volte on yuphoria 5010?
not working bro plz help

Flashing to Factory not working

archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
failed to allocate 1043723460 bytes
error: update package missing system.img
I always get this error whenever I try to flash the Nexus 5 with using the flash-all file, I installed Android Studio, restarted my PC, even got the 6.0 factory image. None work and I always get that error, please help? I'm trying to restart this Nexus 5 for my dad. The Nexus 5 is rooted with franco kernel and TWRP but on stock ROM.
KHFreak741 said:
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
failed to allocate 1043723460 bytes
error: update package missing system.img
I always get this error whenever I try to flash the Nexus 5 with using the flash-all file, I installed Android Studio, restarted my PC, even got the 6.0 factory image. None work and I always get that error, please help? I'm trying to restart this Nexus 5 for my dad. The Nexus 5 is rooted with franco kernel and TWRP but on stock ROM.
Click to expand...
Click to collapse
You can extract the .zip file and then run the commands manually
Code:
fastboot flash bootloader <nameofbootloader>.img
fastboot reboot-bootloader
fastboot flash radio <nameofradiofile>.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot reboot
"failed to allocate 'x' bytes" means that your host system does not have enough free free ram/free inodes to hold everything in memory, before beginning to flash.
Sent from my Nexus 10 using Tapatalk

[ROM][STOCK]{UPDATED} Lenovo Tab 3 8/TB3-850F Android 6.0 Stock Firmware Images

Lenovo Tab 3 8/TB3-850F -
Android 6.0 Stock Firmware Images
DISCLAIMER: As always, flashing your device - with either stock or custom firmware - involves an inherent risk of bricking or otherwise rendering your device inoperable. I am not responsible for any good or bad resulting from your use of these firmware images or this thread.
DEVICE SPECIFICATIONS:
Model: Lenovo Tab 3 8"(TB3-850F)
Android Version: 6.0 Marshmallow
Kernel Version: 3.18.19
Board Platform: MediaTek MT6735m (1.0 GHz)
Build No: TB3-850F_S100031_171010_ROW
Software Version: TB3-850F_160412
SDK Version: 23
Build ID: MRA58K
Android Security Patch Level: 9/05/2017
Build Date: 10/10/2017
NOTE:
First & foremost, these partition images will not restore your device completely back to factory/stock condition. They will restore your Android OS, boot logo, boot image & recovery to stock condition. Other vital partitions of your device, such as /lk (the primary bootloader) are not restored by flashing these images. To revert to an unmodified factory state, you will need to visit @r&xp's thread mentioned below and flash your device with stock firmware using the SP Flash Tool, which will also re-lock your bootloader.
This firmware thread is not intended as a tutorial or guide for flashing or restoring your Lenovo Tab 3 back to stock condition. Rather, this is intended as a resource for stock images, device drivers, etc. However, some rudimentary instructions are provided, which will enable you to install these images and restore your device back to mostly stock condition. NOTE: IF YOUR DEVICE IS BRICKED (UNABLE TO BOOT INTO EITHER RECOVERY OR FASTBOOT MODE), THESE FIRMWARE IMAGES WILL BE OF NO BENEFIT. INSTEAD, PLEASE VISIT THE FOLLOWING THREAD BY XDA MEMBER @r&xp , WHICH WILL GIVE YOU THE NECESSARY FILES AND PRECISE INSTRUCTIONS FOR UNBRICKING & RESTORING YOUR DEVICE. https://forum.xda-developers.com/android/help/lenovo-tab-3-8-tb3-850f-unbrick-root-t3598727
There are any number of available procedures to flash these stock partition images to your device. The simplest option is to use a custom recovery like TWRP to flash them. Store these images to your external micro SD (or internal storage if you do not intend to wipe internal storage or format /userdata). In TWRP's main menu, select "WIPE", "ADVANCED WIPE", and select Dalvik Cache, Cache, System, & Data. (For a clean install, it is recommended to format Data as well, by selecting "WIPE", then "Format Data.") Reboot Recovery (often necessary for proper mounting of the data partition). Now, select "INSTALL", then select "INSTALL IMAGE" in the bottom right of the menu, navigate to the storage location of the firmware images, and flash them in any order you choose. If you do not have TWRP installed on your device, XDA Senior Member @Hemphiz has a simple & comprehensive thread here: https://forum.xda-developers.com/android/general/guide-lenovo-tab3-8-tb3-850f-t3559786/page1. In any event, whichever option you choose, please do your homework and research the threads here on XDA relating to your choice. These images may also be installed via fastboot mode. You will need to install Minimal ADB & Fastboot (v1.4 or later) on your PC, ensure the proper Lenovo device drivers & ADB drivers are installed on your PC, and connect your device to your PC via the stock (or quality equivalent) micro USB to USB data sync cable. Once in fastboot mode, open a command prompt in the adb/fastboot directory, and execute the following command lines:
fastboot devices (if you are properly synced, your device serial # will be shown)
fastboot oem fb_mode_set
fastboot flash logo logo.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img (this will overwrite any custom recovery)
fastboot flash system system.img (fastboot will automatically sparsechunk this image)
fastboot erase userdata
fastboot erase cache
fastboot oem fb_mode_clear
fastboot reboot
STOCK PARTITION IMAGES:
The link below provides the following stock firmware images:
/system.........................Size 3.0 GB
/boot..............................Size 16 MB
/recovery........................Size 16 MB
/logo...............................Size 8 MB
Also included in the link are some helpful files like Minimal ADB & Fastboot v1.4.3, the official Lenovo USB Drivers for the TB3-850F (v1.1.21), a general partition index of the tablet, the ADB driver installer for Windows, and the latest PC version of LenovoSuite Mobile Assistant v1.4.1.14199.
I have made a full & complete partition dump of this device, including sensitive firmware partitions such as /oemkeystore, /nvdata, /seccfg, /lk, etc. In the event any members have corrupted these partitions, just request and I will upload these as well. (/nvdata contains device identifiers such as MAC Address, ESN, etc. The device from which these images were taken has since been hardware damaged & salvaged for parts. Therefore, I have no issue with sharing these images. However, as a disclaimer, you are fully responsible for the manner in which you use device ID partitions. Modifying a device's identifiers delves into matters of legality and ethical guidelines, all for which you are solely responsible.)
CREDITS:
Thanks to XDA Senior Member @Hemphiz for his hard work & development on this device, and his thread on TWRP & rooting. Also, huge thanks to @r&xp for his lifesaving tutorial on recovering this device from a soft or hard brick. His guide has revived many devices from the Android cemetery. You guys visiting either of these threads mentioned, be sure and hit the "THANKS" button for their hard work.
DOWNLOAD LINK:
TB3-850F_S100031_171010_ROW
Stock Firmware Partition Images: https://drive.google.com/folderview?id=1vRLwQ2mCD3CwYQZKGHyykDvBd2yGHisT
Sent from my Lenovo Tab 3 8/TB3-850F using XDA Forums Pro Edition.
Hi:
I have a Tab3 8 TB3-850F which bough in China. It's a 2G+16G version.
I have successfully install TWRP and root.
I'm wondering can I install this ROM to my TAB3?
Thanks!
tsaibru said:
Hi:
I have a Tab3 8 TB3-850F which bough in China. It's a 2G+16G version.
I have successfully install TWRP and root.
I'm wondering can I install this ROM to my TAB3?
Thanks!
Click to expand...
Click to collapse
I don't see why you couldn't. But, to clarify some info, what is your Build No and Software Version? Look under Settings, About Device
Build number:
TB3-850F_S100026_161221_PRC
Software version:
TB3-850F-160425
Thank you very much!
tsaibru said:
Build number:
TB3-850F_S100026_161221_PRC
Software version:
TB3-850F-160425
Thank you very much!
Click to expand...
Click to collapse
Based on your Build & Software Version info, I can see no compatibility issues with this Stock ROM & your device. You seem to simply have a Chinese variant of the TB3-850F that is not available for retail in the United States.
In any event, use TWRP to backup all partitions of your tablet before proceeding henceforth with flashing this ROM. Also, do not flash the stock recovery from my link...keep your TWRP fully intact & accessible in case anything goes south as a result of the flash. Accordingly, you should be able to fully restore your partition backups via TWRP in the event my Stock ROM doesn't boot up. But, like I said, I can see no adverse consequences to flashing it. Should you decide to give it a go, please update us on this thread as to the results.
Thank you...
The reason why I would like to flash this ROM is to get full Google service which Chinese Rom does not offer.
Even though I have root and install Google service on it. Some of apps I downloaded from play just won't install.
So I dowbloaded this ROM and flash system-002.img, it works.
Now I have all Google service I needed, and all apps I download are able to install.
But after I reset the tab I've build number S100026_160923_ROW, software version TB3-850F_160412.
It will try to download the update to 161209 but after reboot it just go in TWRP not doing anything.
I'm very satisfied with this, and I will keep searching and wait for a way for me to update to S100030_161209_ROW.
I do really appreciate your work to help me solve my problem and save this tab from goes to trash can.
​
tsaibru said:
The reason why I would like to flash this ROM is to get full Google service which Chinese Rom does not offer.
Even though I have root and install Google service on it. Some of apps I downloaded from play just won't install.
So I dowbloaded this ROM and flash system-002.img, it works.
Now I have all Google service I needed, and all apps I download are able to install.
But after I reset the tab I've build number S100026_160923_ROW, software version TB3-850F_160412.
It will try to download the update to 161209 but after reboot it just go in TWRP not doing anything.
I'm very satisfied with this, and I will keep searching and wait for a way for me to update to S100030_161209_ROW.
I do really appreciate your work to help me solve my problem and save this tab from goes to trash can.
Click to expand...
Click to collapse
Trying a system update will not work with a custom recovery installed. In spft you can select only to flash the stock recovery then you should be able to update it, when you have done the system update just flash TWRP again.
@MotoJunkie01 I did send you a PM the other day, maybe like for you it did not send or was it my noobishness? :laugh:
stonedpsycho said:
​
Trying a system update will not work with a custom recovery installed. In spft you can select only to flash the stock recovery then you should be able to update it, when you have done the system update just flash TWRP again.
@MotoJunkie01 I did send you a PM the other day, maybe like for you it did not send or was it my noobishness? :laugh:
Click to expand...
Click to collapse
Try sending another PM please. I could have deleted your PM by mistake.
boot. logo and recovery.img worked but system.img did not .the system.img downloads with the explorer or e symbol not a disc like the others do.don't know if that has anything to do with it not working? need the system.img to work pls.
chico2016 said:
boot. logo and recovery.img worked but system.img did not .the system.img downloads with the explorer or e symbol not a disc like the others do.don't know if that has anything to do with it not working? need the system.img to work pls.
Click to expand...
Click to collapse
Not sure. The /system image is an unmodified dump taken from a brand new TB3-850F. It works for me and other members. Be sure you are running version 1.4 or later on minimal adb & fastboot. That could be your issue.
MotoJunkie01 said:
Not sure. The /system image is an unmodified dump taken from a brand new TB3-850F. It works for me and other members. Be sure you are running version 1.4 or later on minimal adb & fastboot. That could be your issue.
Click to expand...
Click to collapse
ok will try again thank you.
---------- Post added at 01:19 AM ---------- Previous post was at 01:15 AM ----------
is it possible to use the platform tool ,like it says for the twrp for the system image?
chico2016 said:
ok will try again thank you.
---------- Post added at 01:19 AM ---------- Previous post was at 01:15 AM ----------
is it possible to use the platform tool ,like it says for the twrp for the system image?
Click to expand...
Click to collapse
Sure. Minimal ADB & Fastboot is merely a bare essentials utility in contrast to the Android SDK & other platform tools packages. You may also flash the /system image using TWRP.
MotoJunkie01 said:
Sure. Minimal ADB & Fastboot is merely a bare essentials utility in contrast to the Android SDK & other platform tools packages. You may also flash the /system image using TWRP.
Click to expand...
Click to collapse
target reported max download size of 134217728 bytes.
invalid sparse file format at header magi ? Not enough room.
need help with tb3-850f flashing system.img.
Thanks!!! Saved my soft bricked Tab3 8 850F
chico2016 said:
target reported max download size of 134217728 bytes.
invalid sparse file format at header magi ? Not enough room.
need help with tb3-850f flashing system.img.
Click to expand...
Click to collapse
If you use minimal adb & fastboot v1.4, the /system image will automatically be converted into a series of smaller sparsechunk image files, which will be flashed to your device one at a time until complete.
wow dont know what i am doing wrong.
invalid sparse file format at header Magi
erasing 'system'...
okay[0.032s]
sending sparse 'system' 1/21...(129476kb) okay[14.824s] writing 'system'1/21...
failed(remote: uknown chunck type)
finished. total time: 14.904s
need some help adb fastboot file says 'system.img is to long?
wow dont know what i am doing wrong.
invalid sparse file format at header Magi
erasing 'system'...
okay[0.032s]
sending sparse 'system' 1/21...
failed(remote: uknown chunck type)
finished. total time: 14.904s
need some help adb fastboot file says 'system.img is to long?
chico2016 said:
wow dont know what i am doing wrong.
invalid sparse file format at header Magi
erasing 'system'...
okay[0.032s]
sending sparse 'system' 1/21...
failed(remote: uknown chunck type)
finished. total time: 14.904s
need some help adb fastboot file says 'system.img is to long?
Click to expand...
Click to collapse
What version of Minimal ADB & Fastboot are you using?
i am using the 1.4 version adb fastboot from the same link i got the images on this very helpful post
boot img -logo.img-recovery.img say flash on ,and the tablet marks ok that they have flashed---but no luck with the system.img even though i have re downloaded twice same thing .do you have a link that would go through a step by step instalation process you could help me with.
chico2016 said:
i am using the 1.4 version adb fastboot from the same link i got the images on this very helpful post
boot img -logo.img-recovery.img say flash on ,and the tablet marks ok that they have flashed---but no luck with the system.img even though i have re downloaded twice same thing .do you have a link that would go through a step by step instalation process you could help me with.
Click to expand...
Click to collapse
I don't have a tutorial posted per se on installation. Here's a thought. Boot your tablet into TWRP (fastboot boot TWRP.img) and flash my system.img via TWRP. In TWRP main menu select INSTALL, then select the .img file option in bottom right hand corner of screen. (You will need to put the system.img on an ext micro SD)

LG G6 Multi touch issue after converting H871 to H873 and US997

Here's what I did,
Got new LG G6 (H87110b).
Wanted to upgrade my unit (basically from Nougat to Oreo).
As I am not in AT&T network there was no OTA updates. So I decided to flash kdz.
First I took a full DUMP of the G6 using patched LG UP.
Then followed the guide in here and flashed H87320g_00_OPEN_CA_OP_0809.kdz on H87110b.
Then flashed US99721e_01_0211.kdz on H87320g.
Device worked well at first. But later I experienced certain touch lags (specially after sign in with Google account).
I reset the unit several times, updated all apps, disabled some bloatware apps, but the lag was increased day by day and experienced some heat around finger print scanner.
Later I discovered locking and uncloaking was able to temporally fix lag.
So I enabled Developer Options, then ticked Show touches option. Then I saw five symmetrical touches on my screen (please watch this video). Actually that was the reason to touch lag. Screen was touched by itself!
I guessed this could be a software issue. So I got a H87330b_00_OPEN_CA_OP_0917.kdz file and flashed it on US99721e.
So I got a H87330b Android Pie G6 but with same horrible touch issue. Upgrade wasn't helped me.
Someone please help to figure,
Is this a hardware issue or software issue?
If it is on the software side, will going back to stock H87110b solve this?
Then how can I restore back my DUMP?
Please help! I still LOVE my LG G6! :crying:
I wish @clsA or @runningnak3d will address on this please..
RoboB said:
I wish @clsA or @runningnak3d will address on this please..
Click to expand...
Click to collapse
Good morning, I watched the video and I'm not sure whats going on with the ghost touch. It seems to be in a pattern of some sort so it may be totally normal.
As for returning to stock with the LGUP Dump. Its a matter of fastboot flashing each of the partitions back to the phone one at a time. It is possible to create a ROM that's flashable with TWRP or a batch file to flash in fastboot. I'll try and find something for you to use as a template or a good example.
Alright here's the Back to stock Rom script for the LG V20 20H > https://www.androidfilehost.com/?fid=1322778262904015326
the file is found here in the root of the zip \META-INF\com\google\android\updater-script"
Code:
ui_print("Flashing H910_20h_Oreo_full_stock");
ui_print("Please wait...");
ui_print(" ");
package_extract_file("aboot", "/dev/block/bootdevice/by-name/aboot");
package_extract_file("abootbak", "/dev/block/bootdevice/by-name/abootbak");
package_extract_file("apdp", "/dev/block/bootdevice/by-name/apdp");
package_extract_file("boot", "/dev/block/bootdevice/by-name/boot");
package_extract_file("cmnlib", "/dev/block/bootdevice/by-name/cmnlib");
package_extract_file("cmnlib64", "/dev/block/bootdevice/by-name/cmnlib64");
package_extract_file("cmnlib64bak", "/dev/block/bootdevice/by-name/cmnlib64bak");
package_extract_file("cmnlibbak", "/dev/block/bootdevice/by-name/cmnlibbak");
package_extract_file("devcfg", "/dev/block/bootdevice/by-name/devcfg");
package_extract_file("devcfgbak", "/dev/block/bootdevice/by-name/devcfgbak");
package_extract_file("factory", "/dev/block/bootdevice/by-name/factory");
package_extract_file("hyp", "/dev/block/bootdevice/by-name/hyp");
package_extract_file("hypbak", "/dev/block/bootdevice/by-name/hypbak");
package_extract_file("keymaster", "/dev/block/bootdevice/by-name/keymaster");
package_extract_file("keymasterbak", "/dev/block/bootdevice/by-name/keymasterbak");
package_extract_file("laf", "/dev/block/bootdevice/by-name/laf");
package_extract_file("lafbak", "/dev/block/bootdevice/by-name/lafbak");
package_extract_file("modem", "/dev/block/bootdevice/by-name/modem");
package_extract_file("msadp", "/dev/block/bootdevice/by-name/msadp");
package_extract_file("persist", "/dev/block/bootdevice/by-name/persist");
package_extract_file("pmic", "/dev/block/bootdevice/by-name/pmic");
package_extract_file("pmicbak", "/dev/block/bootdevice/by-name/pmicbak");
package_extract_file("raw_resources", "/dev/block/bootdevice/by-name/raw_resources");
package_extract_file("raw_resourcesbak", "/dev/block/bootdevice/by-name/raw_resourcesbak");
package_extract_file("recovery", "/dev/block/bootdevice/by-name/recovery");
package_extract_file("recoverybak", "/dev/block/bootdevice/by-name/recoverybak");
package_extract_file("rct", "/dev/block/bootdevice/by-name/rct");
package_extract_file("rpm", "/dev/block/bootdevice/by-name/rpm");
package_extract_file("rpmbak", "/dev/block/bootdevice/by-name/rpmbak");
package_extract_file("sec", "/dev/block/bootdevice/by-name/sec");
package_extract_file("tz", "/dev/block/bootdevice/by-name/tz");
package_extract_file("tzbak", "/dev/block/bootdevice/by-name/tzbak");
package_extract_file("xbl", "/dev/block/bootdevice/by-name/xbl");
package_extract_file("xbl2", "/dev/block/bootdevice/by-name/xbl2");
package_extract_file("xbl2bak", "/dev/block/bootdevice/by-name/xbl2bak");
package_extract_file("xblbak", "/dev/block/bootdevice/by-name/xblbak");
ui_print("Now installing system -- please wait...");
package_extract_file("system", "/dev/block/bootdevice/by-name/system");
ui_print("Enjoy The Update");
To restore your modems you need to add this to the above script
Code:
package_extract_file("modem", "/dev/block/bootdevice/by-name/modem");
package_extract_file("modemst1", "/dev/block/bootdevice/by-name/modemst1");
package_extract_file("modemst2", "/dev/block/bootdevice/by-name/modemst2");
package_extract_file("fsg", "/dev/block/bootdevice/by-name/fsg");
Hint: you must use a text editor like Notepad++ if you edit the file.
Hint: it's actually easier to download the above Rom and just replace the files in the zip with yours
Your zip may not contain everything in the above zip. you can edit it as needed.
Ok, I got you. Thanks! But..,
clsA said:
Hint: it's actually easier to download the above Rom and just replace the files in the zip with yours
Your zip may not contain everything in the above zip. you can edit it as needed.
Click to expand...
Click to collapse
Good evening and thank you for your quick reply!
I downloaded H910_20h_Oreo_full_rooted.zip and opened it from 7zip.
There are 42 objects with one folder named META-INF and two .img files named h91020Hpatched_boot.img and v20h_stock_boot.img.
But my G6 DUMP folder has 70 items and no .img files.
So, here's what I'm to do. Please correct me if there's any mistake..
Delete all files in H910_20h_Oreo_full_rooted.zip (except META-INF folder) and copy all 70 files from DUMP in to the zip.
Open \META-INF\com\google\android\updater-script file and edit it as you described.
So there will be 70 lines like package_extract_file("xxxx", "/dev/block/bootdevice/by-name/xxxx"); and some ui_print commands.
Am I correct?
Is editing, updater-script file with Windows Notepad wrong?
What should do to .img files as I don't have any for G6?
RoboB said:
Good evening and thank you for your quick reply!
I downloaded H910_20h_Oreo_full_rooted.zip and opened it from 7zip.
There are 42 objects with one folder named META-INF and two .img files named h91020Hpatched_boot.img and v20h_stock_boot.img.
But my G6 DUMP folder has 70 items and no .img files.
So, here's what I'm to do. Please correct me if there's any mistake..
Delete all files in H910_20h_Oreo_full_rooted.zip (except META-INF folder) and copy all 70 files from DUMP in to the zip.
Open \META-INF\com\google\android\updater-script file and edit it as you described.
So there will be 70 lines like package_extract_file("xxxx", "/dev/block/bootdevice/by-name/xxxx"); and some ui_print commands.
Am I correct?
Is editing, updater-script file with Windows Notepad wrong?
What should do to .img files as I don't have any for G6?
Click to expand...
Click to collapse
you can forget the .img files their not important
what is important is all the files in the code are in the zip
I would first just ad the 42 files plus the 3 modem files to the zip
edit the script to include the modem files and use notepad++ ...windows notepad will not work
@clsA Though I got a flash-able zip, what can I do with a non rooted device?
I searched but couldn't find a way to root H873 one. So I think I should go back to Oreo US997 by flashing US99721e_01_0211.kdz via LG UP and try to root it.
Please let me know if I'm wrong..
RoboB said:
@clsA Though I got a flash-able zip, what can I do with a non rooted device?
I searched but couldn't find a way to root H873 one. So I think I should go back to Oreo US997 by flashing US99721e_01_0211.kdz via LG UP and try to root it.
Please let me know if I'm wrong..
Click to expand...
Click to collapse
If their is still no bootloader unlock for your device your pretty much Done. With an unlocked bootloader you could do the LGUP Dump restore via fastboot
the bad thing about using fastboot is their is no error correction, if you type one letter wrong you could brick you device forever.
That being said, If you still want to restore your backup the above script can be changed into a batch file of sorts.
Take the modem files as an example
Code:
package_extract_file("modem", "/dev/block/bootdevice/by-name/modem");
Becomes >>[COLOR="Blue"] fastboot flash modem modem[/COLOR]
package_extract_file("modemst1", "/dev/block/bootdevice/by-name/modemst1");
Becomes >>[COLOR="Blue"] fastboot flash modemst1 modemst1[/COLOR]
package_extract_file("modemst2", "/dev/block/bootdevice/by-name/modemst2");
Becomes >>[COLOR="Blue"] fastboot flash modemst2 modemst2[/COLOR]
package_extract_file("fsg", "/dev/block/bootdevice/by-name/fsg");
Becomes >>[COLOR="Blue"] fastboot flash fsg fsg[/COLOR]
The final .bat file would look like this
Code:
fastboot flash modem modem
fastboot flash modemst1 modemst1
fastboot flash modemst2 modemst2
fastboot flash fsg fsg
fastboot reboot
you would of course have renamed all the files, removing the _comx from them and copied them to the fastboot folder
If you make your script like this I suggest flashing it one line at a time and note any errors in the command prompt.
fastboot flash system system > could take a vary long time don't get in a hurry and just wait
Hint: Its also worth noting you most likely don't need to flash any file that ends in the letters bak
example laf gets flashed where lafbak doesn't
rpm gets flashed > rpmbak doesn't
this should shorten your list considerably
Code:
PS C:\platform-tools> fastboot flash aboot aboot target reported max download size of 536870912 bytes
sending 'aboot' (2048 KB)...
OKAY [ 0.094s]
writing 'aboot'...
FAILED (remote: device is locked. Cannot flash images)
finished. total time: 0.109s
@clsA And not supported by LG Developer - Unlock Bootloader at https://developer.lge.com/
RoboB said:
@clsA And not supported by LG Developer - Unlock Bootloader at https://developer.lge.com/
Click to expand...
Click to collapse
Yeah that's basically why I stuck with the V20 and it was my last LG
Sent from my ONEPLUS A6010 using Tapatalk
@clsA That means I have to live with this ghost touches? Oh! how sad..
BTW isn't there any way to make kdz file from DUMP?

[REQUEST] Build system.img

Hello,
I have an ASUS K01A tablet with a blank system partition and unusable recovery. I can flash img files to their respective partitions just fine (boot.img, droidboot.img) in fastboot, but 'system' in the stock firmware zip is a directory instead of a flashable image. Of course, this (and other reasons) means I can't just flash the stock firmware in fastboot, nor flash over the entire 'system' directory.
I need a system.img to recover my tablet from softbrick, but I can't for the life of me compile one. I've exhausted every method and tool I could find in both Windows and Ubuntu.
I beseech the community; if there is anyone reading this who could build such a file for me, I would be eternally grateful. I believe I only need the system.img to recover the tablet.
The stock firmware is at the ASUS website. Here is the download link: UL-K01A-WW-12.8.1.41-user.zip.
Thanks in advance!
Why not extract the system folder of the ZIP linked to, then pack it into a ZIP what you then convert to IMG using an online-convertor that does the job?
jwoegerbauer said:
Why not extract the system folder of the ZIP linked to, then pack it into a ZIP what you then convert to IMG using an online-convertor that does the job?
Click to expand...
Click to collapse
"Why not" indeed; that sounds like it would more than suffice. Can you please recommend one?
Anyone? I have been unable to find this "online-converter" despite days of searching; still at square one.
Only as example ( found via Google search !!! )
Archive Converter - Convert your a7z, rar, zip, gzip, bzip2, tar archives to another format online
Free Archive Converter. Convert your archive files to a7z, rar, zip, gzip, bzip2, tar format online for free using OnlineConvertFree.
onlineconvertfree.com
jwoegerbauer said:
Only as example ( found via Google search !!! )
Archive Converter - Convert your a7z, rar, zip, gzip, bzip2, tar archives to another format online
Free Archive Converter. Convert your archive files to a7z, rar, zip, gzip, bzip2, tar format online for free using OnlineConvertFree.
onlineconvertfree.com
Click to expand...
Click to collapse
Thank you, but I've tried this one and all the others on Google, and none will handle the filesize (~650 MB). It must be purpose-made for Android .img files it seems, which I've been unable to find.
Kehkou said:
Hello,
I have an ASUS K01A tablet with a blank system partition and unusable recovery. I can flash img files to their respective partitions just fine (boot.img, droidboot.img) in fastboot, but 'system' in the stock firmware zip is a directory instead of a flashable image. Of course, this (and other reasons) means I can't just flash the stock firmware in fastboot, nor flash over the entire 'system' directory.
I need a system.img to recover my tablet from softbrick, but I can't for the life of me compile one. I've exhausted every method and tool I could find in both Windows and Ubuntu.
I beseech the community; if there is anyone reading this who could build such a file for me, I would be eternally grateful. I believe I only need the system.img to recover the tablet.
The stock firmware is at the ASUS website. Here is the download link: UL-K01A-WW-12.8.1.41-user.zip.
Thanks in advance!
Click to expand...
Click to collapse
maybe that video helps you...
good luck
solong
speedson
I built it finally using IMGBurn to create the raw img and Sparse Converter to convert it to sparse img fragments.
But now the tab has formatting error, and with -u option, flashing errors (all partitions and imgs now). Ah, well.
Thank you to everyone! Hopefully someone else reading this will have better luck than me.
Kehkou said:
I built it finally using IMGBurn to create the raw img and Sparse Converter to convert it to sparse img fragments.
But now the tab has formatting error, and with -u option, flashing errors (all partitions and imgs now). Ah, well.
Thank you to everyone! Hopefully someone else reading this will have better luck than me.
Click to expand...
Click to collapse
Download the attached file from the link at the bottom of this post and unzip it somewhere on your PC. It is a temporary recovery launcher. We'll come back to it in a moment. Based on your original post I'm assuming you already have your stock firmware downloaded as well as ADB and Fastboot setup. From your stock firmware unpack the following files: fastboot.img, splashscreen.img, and boot.img and place them in your ADB/Fastboot folder. Copy the stock firmware to your sd card (in its original, unzipped form...the way it was when you first downloaded it). Put the tablet in fastboot mode. Run the following fastboot commands from a command prompt.
- fastboot flash fastboot fastboot.img
- fastboot flash boot boot.img
- fastboot flash splashscreen splashscreen.img
Reboot back to fastboot mode. Go to wherever you unzipped the temp recovery that you downloaded earlier. Double click on launcher.bat. Type accept in the window, then type T2 and your device should boot into CWM recovery. Now choose install zip>install from se card>and choose the stock firmware.zip that you previously copied to your sd card then let it do its thing. Once its finished go back to the first page of the CWM recovery that you're in and select reboot system now>no>no. You should be golden now. Post back if you have any issues.
Download Disposable Recovery

Categories

Resources