yashsingh1/xdaforums huggingface dataset:
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kyleberry.graphics:
had a thought today. Could you not potentially increase the transfer buffer ceiling to above the image file size?

out of my element on it, but i found this.

https://gitorious.org/rowboat/u-boot/commit/0fe07382029790de9a7d22af2d5fd2f5613f57bb

also if it would help to have a list of everything you can cut out of 11.3 i can start hacking mine down to the bare bones and let you know what you can live without
[7" Kindle Fire HD Q&A, Help & Troubleshooting] turtel2k1:
no m8 didn't work same as dave the brave comes back with:

error:cannot load'stock-sparse-system.img

soz dude
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
can't increase the buffer, its in teh uboot which is signed, without being able to sign one it would hard brick, also it stores in the ram, the kindle only has about 1gb of ram, and teh file is about 1.3 gb when not sparsed.

ok i'll look into it some more, right now i'm patchign something in firefox os that may finally get gralloc working so it wont be so visually laggy.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] davethebrave14:
oh i came across thiss but its easy to solve. just rename the file to stock - system.img and use the original fastboot commands and see if it works...

---------- Post added at 07:10 AM ---------- Previous post was at 07:08 AM ----------

the problem i got was 'FAILED; SPARSED IMAGE" wonder what that means tho.. sending the file worked but when it came to writing the file that error came up. just some info mate
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
It might have something to do with some of the utilities I ran the image through before I finally got it sparsed. I checked the byte size and it was the same but I didn't md5sum it. Right now I just finished merging my Firefox is sources with upstream so I am updated, but due to a few reasons I am redownloading my source tree overnight which is about 15gb. So tomorrow it will take at least 6 hours for a full build, but i can try to work on this while it 's compiling.

Edit: wow took a good 30 seconds to post this because I disabled QoS on my router and all the bandwidth is getting sucked into my laptop.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] davethebrave14:
thanks for the help, stunts
[7" Kindle Fire HD Q&A, Help & Troubleshooting] turtel2k1:
Quote:

Originally Posted by turtel2k1 View Post

no m8 didn't work same as dave the brave comes back with:

error:cannot load'stock-sparse-system.img

soz dude

oh i came across thiss but its easy to solve. just rename the file to stock - system.img and use the original fastboot commands and see if it works...

---------- Post added at 07:10 AM ---------- Previous post was at 07:08 AM ----------

Quote:

Originally Posted by stunts513 View Post

can't increase the buffer, its in teh uboot which is signed, without being able to sign one it would hard brick, also it stores in the ram, the kindle only has about 1gb of ram, and teh file is about 1.3 gb when not sparsed.

ok i'll look into it some more, right now i'm patchign something in firefox os that may finally get gralloc working so it wont be so visually laggy.

the problem i got was 'FAILED; SPARSED IMAGE" wonder what that means tho.. sending the file worked but when it came to writing the file that error came up. just some info mate

okay done that now same problem as dave but we our getting closer to this

flash boot stock image okay

flash system stock-system.IMG

sending 'system' (864954 KB)

okay [46.062s]

writing 'system'....

FAILED (remote: :sparsed write)

finished. total time: 46.223s

flash recovery stock-recovery.IMG

just hangs again

keep up the great work stunt its getting closer I can feel the kindle will be alive soon :)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] davethebrave14:
phew, so im not the only one with that problem. the stock recovery should work tho as mine did...

had the the exact same error as yours mate concerning the stock system.

getting excited, really hope this is a success
[7" Kindle Fire HD Q&A, Help & Troubleshooting] turtel2k1:
ive run it again everything working now except this sparse image we our so close :)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
sooo, this is taking longer than i thought it would, the download link disappeared from filedropper that i got the original image from so i am waiting for it to be reuploaded... stupid site isnt supposed to delete things for atleast a month... Anyways i'm going to try a different method of sparsing it that other people have used on other devices, i just need to grab the partition size and hope it fits correctly so the partition scheme doesnt somehow get messed up if it can even get messed up from fastboot from a flash. Only good news i have is completely unrelated, but i finally got gralloc working on my firefox os port, only thing i have to figure out related to it now is why the videoish palyback things are artifacting all over the place. Anyways thats unrelated but thats all i could do with what i have until i get more info and a fresh copy of the image.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] turtel2k1:
I have the images if you want me to put them up there the images that were uploaded by iordelic
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
That would be great. I already told iordelic to post it again if he could but I haven't gotten a message back yet. I'll make sure to keep a backup of the original this time.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] davethebrave14:
just a quick question stunts, totally unrelated but concerning your firefox os. this might sound silly but is it possible to run a firefox os rom on the KFHD 2013 model? i know its not related, just curious mate
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Keinbockwurst:
Its possible... Theoretically..

Gesendet von meinem Nexus 4 mit Tapatalk 2
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
eh it might be but i would have to see if i could figure out how to use amazon's device tree. The only major problem with it i see is that the only way you can launch a rom hasn't been ported, those slots like the hdx has, but even then the other problem is i have a modified init.rc for that os, it has to launch a few services that aren't in a usual android init.rc and since we can't use our own custom bootimg it would present an issue. Might be able to work around it with some kind of 2nd init like expoit, where i could launch the services from a shell script but idk. 'm unaware of how the 2nd init exploit works specifically, all i know is something gets ran that's in the normal script but yet is replaced by a different file. Depending on how early on this happens i might be able to make it run a shell script that overwrites the init.rc but i don't know if its possible to get it to restart the init process after it has begun.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] turtel2k1:
uploading to my dropbox now as soon as there up ill give ya the link :)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
ok thanks, it's the same version as the version that we pulled that bootimg and recovery image from right? I have no idea if amazon left the stupid version check against the kernel like the other models have. [rant]Most pointless and annoying patch they added. I mean they added it and we just got around it and everytime they update they do it again, i'm like will you just stop doing it, there's no point, we just change the version in the freedomboot image when you do, all it does is give us extra work to do.[/rant]
[7" Kindle Fire HD Q&A, Help & Troubleshooting] turtel2k1:
its m8tys that uploaded it so yeah it must be the same I only have his from when I tried it and yours that you sparsed link will be on in the morning uk time had to stop the upload was lagging my ps3 was pissing me off lol so will upload first thing in the morning m8 :)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] turtel2k1:
Images removed

:):):)

do not use wrong images for 2013
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Keinbockwurst:
Are these images flashable via fastboot?

Gesendet von meinem Nexus 4 mit Tapatalk 2
[7" Kindle Fire HD Q&A, Help & Troubleshooting] turtel2k1:
yes you can flash them with fastboot but the stock system image wont flash to kindle its to large the image has to be sparsed stunt514 has had a go at doing it but it failed hes gonna have another go that's why I have uploaded the images if you have a bricked kindle just hold on m8 because in this thread we have been trying to bring the kindle back from brick so my advice just hold on its near very near :)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kyleberry.graphics:
Weeeel... it looks like im good and bricked, so if you have anything to test im game at this point
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
um, that was not the system image, that was more like a incomplete userdata image, the initial instructions to dd out the system partition were wrong, the partition number is different on the 2013, it would have been

adb shell su -c "dd if=/dev/block/mmcblk0p9 of=/sdcard/stock-system.img"

That would be teh system image, i couldnt even mount that one i downloaded, and it was way bigger than usual.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] turtel2k1:
confused.com

conused??????????? as that was 10rdelrics image when you asked other night is it the same one it made me question my self is it the right one so I went back through the thread went to m8tys links again and downloaded again to be sure it was the right images because of the question you asked so im confused now how it is different WTF cant answer for that how it is different :(:(

https://www.dropbox.com/s/tawwqgpkn4ga56a/stock-boot.img

https://www.dropbox.com/s/w3moowqcnx8e6ky/stock-recovery.img

https://www.dropbox.com/s/yrmukf30q2sxi4w/stock-system.rar

that was his links that he put up that I got them from through this thread so I don't understand how it is different stunt really don't perhaps you can make sense of it because I confused.com

---------- Post added at 10:53 AM ---------- Previous post was at 10:44 AM ----------

soz man thought I was helping when you said you couldn't find the images

---------- Post added at 11:00 AM ---------- Previous post was at 10:53 AM ----------

ok in another thread that I had started I asked if anyone had the images for a 2013 kindle could they upload them I was sent a link with the images to download I hope these our the right ones im sorry for wasting your time stunt when you have been nothing but helpful im uploading to dropbox now as soon as it is up ill post the link to you im still confused though as to why them other images our wrong but never mind as soon as im uploaded ill post the link
[7" Kindle Fire HD Q&A, Help & Troubleshooting] l0rdelric:
If it's necessary, I still have the orignal image created by stunts513 on my KF HD... :)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] turtel2k1:
m8 can you put the upload on for stunt please would be well helpful :):):):)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Ah yes that would be very helpful, I was going to use you as my backup if something like this happened. Much appreciated if you would upload it!
[7" Kindle Fire HD Q&A, Help & Troubleshooting] turtel2k1:
was sorry for wasting your time last night I thought they were the right images as they were from m8tys link soz m8 feel :( bad for wasting your time anyway hopefully m8ty will put up the link soon for the other images :)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Its fine I had other things I needed to do while in Linux, I have been updating my Firefox os source trying to get the graphics to render correctly on games and figure out why the video decoder isn't working.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] l0rdelric:
Upload :)

Upload is in progress!

:D
[7" Kindle Fire HD Q&A, Help & Troubleshooting] turtel2k1:
:):):):):):):):)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] l0rdelric:
... time to finish upload

... uploading ...

... 35 minutes to finish ...

... 21 minutes to finish ...

... 0 minutes to finish ---> the file is ok and ready to download

----------------------------------------------------------

MD5's Checksum on my KF HD:

20045a8e3024023b9fb8c9e01a46eb08

-----------------------------------------------------------

STOCK-SYSTEM.IMG HERE!

:)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
ok i'll see about sparsing it and see what happens. Thanks!
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Well tonight was not so sucessful, i'll look more into it tomarrow, i haven't been getting enough sleep lately, and i think most of the dev's i ask questions to are asleep or afk so ii'm calling it a night on working on that, right now i keep getting this stupid error when trying to use the other method.

can't set android permissions - built without android support

Haven't had much luck figuring out how to fix it, seems like something to do with internal permissions i would assume. And yes i'm kinda using this post as a sticky for that error message since i dualboot os's on my laptop xD.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kyleberry.graphics:
Check out this link

http://muzso.hu/2012/08/10/how-to-p...nd-userdata.img-from-an-android-factory-image
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Funny because I went to that site and missed that, thanks, only reason that partially sucks it because I have to get rid of some android tools i installed from the repos and compile them from source. Seems like someone will be filing a bug report...
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kyleberry.graphics:
no problem at all. My kindles bricked and i want to do whatever i can to help bring it back from the dead haha
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kyleberry.graphics:
I managed to hack enough of the system.img out to get the kindle to accept it, but now its stuck on the boot screen (no orange)

The thread that opened the door for me

http://xdaforums.com/showthread.php?t=1588461

okay, so heres where im at...

i used img2simg to sparse the provided stock-system.img

then img2simg to make a .raw and mount in linux

I then hacked out any /system/app i could live without until the img was under 900M

then make_extfs with the size being 1005584384 (fastboot buffer)

Then flashed and it sent and wrote succesfully, but wont boot...
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
i just finished my own as well, its uploading right now, not sure if its under fastboot's buffer size though. I think fastboot's buffer should be set to 1gb, and this image is around 990mb. I can reduce it more but i have to start messing with the fonts squashfs. The solutions on that link you sent me did wonders, has to use -lz and the other one as well to get it to compile, need to tell i guess canonicle to recompile it, and update it while they are at it, think the last version they compiled was for either 4.2.1 or 4.2.2, meaning the adb binary wouldnt even work with cm 10.2 and up. Lets hope the one i made will be flashable like yours was, if it is then if it can boot or even if it can't i can through pita trial and error(because of having to upload it so much), we will eventually land with a flashable img hopefully that we can push the rest of the files to upon it booting up. Even better we will have given people a alternative method to rooting their device.

edit: i think this system image is going to be useless *facepalm*, i made a script to keep track of what files i delete with 777 permissions on the system partitions apps folder, its going to bootloop with that there... Time to recreate the image and reupload... and it was like halfway done uploading too...

edit2: yay i get to wait atleast a half an hour more for this to reupload. Also think i can shave off about another 20-30mb of space from the image, not positive as idk what components will cause bootloops if removed.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kyleberry.graphics:
yeah it has to be <959M

as soon as its uploaded i'll test =) really all we need is enough of a boot to get adb access, then we should be able to manually cp the system files

appreciate all the work youre doing for this!
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
thanks, whered you pull that number from? Because my image is stil 990.2Mb.

Also had a random idea, if theres any scripts that run from the init.rc script at startup, we could really minimize the os by just completely oblitherating everything in the apps folder, and let the script launch the adbd daemon right? Then just overwrite the modified script or leave it be because it would make fixing bootloops much easier.

Edit: didn't expect that just found a second framework-res.apk in the /system/vendor/overlay folder, might decompile this to see if it has any effects on the wallpaper fix, though i think it was already confirmed working on this kindle a while back. and another under /system/vendor/amazon/framework.... wierd. i don't have my decompiling utilities handy right now or i'd dive into this.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kyleberry.graphics:
fastboot tells you the filesize limit of 1005584384 when you flash the system image. converts to 959M

I dont know much about it, but that makes sense. ADB access is definately going to be the key however we get it..
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
interesting, i'm going to see if i can figure out how to decompile amazon's bootimg, hopefully the way i could on previous amazon kindles will work, i need to see how its init.rc works, hopefully i can make some changes to the build.prop and make it launch adb during the boot sequence, that would be most ideal. Kinda getting ahead of myself as i still need to downsize the system image again, but nonetheless i like thinking ahead.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kyleberry.graphics:
Im trying this now

http://www.imajeenyus.com/computer/20130301_android_tablet/android/unpack_repack_recovery_image.html

however the unmkbootimg.gz link was bad so i found a good one

http://xdaforums.com/showthread.php?t=1877807

^this worked

I posted my init.rc in the link in my signature

Looking at the init files i think the modification will need to be in the init.usb.rc file, though i am unsure what to modify as of yet
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
wtf? they used a standard bootimg on this kindle??? i thought they only did that on the hdx, normally iwould have to dd the file while skipping like 768bytes of data to get it to decompile.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kyleberry.graphics:
i really dont know, the warning says its non-standard and says to recompile you have to use the output values listed above.

If you need any of the files let me know, and i will post to my signature link
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Ok, well i am uploading (yet again) and image thats under the file size you specified, i even left an alternate launcher in the system image, thought well atleast if it doesnt bootloop, if i removed enough files for the default launcher to mess up, then atleast it will have a secondary launcher that will work.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kyleberry.graphics:
as soon as its up i'll test. I feel like we're really close
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Yea and like i said, as long as it flashes(and bootloops), i'm probably going to work on a method of getting the adb daemon running during bootup, might have to confer with hashcode or someone that understands the innards of android a bit better than myself, and i haven't seen hashcode in the irc today so it probably won't be until tomarrow unless i starts asking in the cyanogenmod dev channel.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kyleberry.graphics:
by bootloop im assuming you mean yellow logo? my image flashed and bootlooped, just no yellow logo
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
typically when i say bootloop i'm thinking animated logo forever, least i think thats what it does if you brick it, i've never bricked mine, only times i kinda had a bootloop were in my firefox build, and that was something completely different that didnt get past 2nd bootloader. It's funny considering i know the ends and outs of the device but i'm so careful i havent seen some of the bricked behavior i tell people how to fix.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kyleberry.graphics:
okay, so we're on the same page. it loops at the non-animated logo, which i believe is the x-loader
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
non animated logo is usually the bootloader/ kernel initialized but graphics haven't.

anyways, heres the link it just finished uploading: http://d-h.st/dsJ
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kyleberry.graphics:
Hot Damn, here goes! lol downloading now, will post results shortly

---------- Post added at 09:19 PM ---------- Previous post was at 09:04 PM ----------

flashed succesfully, but same problem. Bootloop without animation. somethings stopping it from booting =/
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Well i guess this is progress... Now if i can get adb enabled at boot time then we might be able to fix it. I think i have a method viable for doing it but it will take some investigating+trial and error. Kinda wish we had a device with serial output hooked up to it so we could tell if the kernel is ever initializing during this, i see no reason that it shouldnt be, but the boot animation should have played, i didnt delete any of the binaries in the filesystem, so it should have atleast played the bootanimation and failed to launch and of the android related files. You flashed the bootimg and recovery the was posted as well right? Thought maybe a kernel to os version mismatch might cause this problem like on the previous kindle.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] davethebrave14:
stunts, hows it going so far, been reading the latests posts on this thread by you and kyleberry. seems youve just uploaded the file. will i be able to flash it mate?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Good news is yes you can flash it, bad news is its not even getting to the boot animation and I can't figure out why yet. I'm going to confer with hashcode in the irc tomorrow and see if he has any ideas. A serial hookup would be so much more useful in this situation.... Instead I'm probably going to end up doing some trial and error seeing if adb access will even show up if I can modify some things to get the adbd to launch at boot time so we can connect from our end and see what exactly is going on and push files and such. This could be a tedious process if I keep having to upload 942 mb files at anywhere from 300 kbps - 1mbps...
[7" Kindle Fire HD Q&A, Help & Troubleshooting] turtel2k1:
thanks for all your doing stunt and everyone else putting input into this :):):)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kyleberry.graphics:
Stunts, the only link you posted was a system image, are the boot and recovery posted earlier in the thread?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Yes, the ones l0rdelric posted go with it in this post: http://xdaforums.com/showthread.php?p=50821282
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kyleberry.graphics:
this is kinda a stab in the dark, but according to

init.rc

# adbd on at boot in emulator
on property:ro.kernel.qemu=1
start adbd

so could you potentially add

ro.kernel.qemu=1

to default.prop?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Maybe, I was asking persano about this since he's known for build.prop tweaks. I thought it would be something about making it think its a user debug build but that might work lemme ask around a bit, I haven't bothered to get on irc today because my stupid internet is randomly dropping the connection.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kyleberry.graphics:
i realized that my suggestion is in the kernel anyway, so thats out =/