Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,734,036 Members 52,102 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Flashing to Stock ROM: Problem with img_sparsechunk

Tip us?
 
breadstyx
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 7
Join Date: Feb 2014
Default [Q] Flashing to Stock ROM: Problem with img_sparsechunk

Hi, I need help flashing my device back to stock. I tried following this guide. http://forum.xda-developers.com/show...ht=sparsechunk But I keep experiencing so many errors.

The following is the error that I get when I do the command for sparsechunk. It keeps returning FAILED. Can someone please help me out with this?


C:\Users\xxxxxxx\Desktop\US_retail_XT1034_14.10.0Q 3.X-84-16_CFC.xml\US_retail_XT1
034_14.10.0Q3.X-84-16_CFC.xml>fastboot flash system system.img_sparsechunk1
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.048s

C:\Users\xxxxxx\Desktop\US_retail_XT1034_14.10.0Q3 .X-84-16_CFC.xml\US_retail_XT1
034_14.10.0Q3.X-84-16_CFC.xml>fastboot flash system system.img_sparsechunk1
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.029s
 
plewis1981
Old
#2  
plewis1981's Avatar
Senior Member
Thanks Meter 51
Posts: 113
Join Date: Aug 2013
Location: Nottingham
Have you unlocked your bootloader, as 2 of the lines you have posted say, bootloader permission denied.

Sent from my Moto G using xda app-developers app
 
Albieri[SPAM]
Old
#3  
Albieri[SPAM]'s Avatar
Member
Thanks Meter 16
Posts: 67
Join Date: Apr 2012
Location: Vitoria/ES (Brazil)
Ever happened to me the error in the first file system. But others continued running normally and had no problems.
 
mokkami
Old
#4  
mokkami's Avatar
Senior Member
Thanks Meter 85
Posts: 403
Join Date: Dec 2009
Location: Pune (IN), Düsseldorf (DE)
Do your sparsechunk images start from 1 or from 0 ?
 
Xcarab
Old
#5  
Junior Member
Thanks Meter 1
Posts: 12
Join Date: May 2012
Default Same issue

Quote:
Originally Posted by mokkami View Post
Do your sparsechunk images start from 1 or from 0 ?
Having the exact same problem

going to try and place all the files in a separate folder and start over

---------- Post added at 03:44 PM ---------- Previous post was at 03:18 PM ----------

Quote:
Originally Posted by Xcarab View Post
Having the exact same problem

going to try and place all the files in a separate folder and start over
I fixed my problem.. this is what you should try.

1. Download the stock rom.. perfect for your phone and carrier.
2. Follow teh step by step but when you reach the sparcechuck.. go to teh folder where you unzipped the files from the rom and make sure the names match...

That is how i fixed mine
 
mokkami
Old
(Last edited by mokkami; 18th March 2014 at 06:28 AM.)
#6  
mokkami's Avatar
Senior Member
Thanks Meter 85
Posts: 403
Join Date: Dec 2009
Location: Pune (IN), Düsseldorf (DE)
I have no problem, i wanted to help.
But that what you said was exactly that what i was talking about
But don't rename the file. Just change the fastboot command from 0 to 1 or the other way round.
There are some firmwares which start from 1 others start from 0.

So depending on your firmware you have to start with
fastboot flash system system.img_sparsechunk1

or with

fastboot flash system system.img_sparsechunk0

And as you said youl'll find that out if you look into the folder of the extracted ZIP file.
Thread Tools
Display Modes