yashsingh1/xdaforums huggingface dataset:
[7" Kindle Fire HD Q&A, Help & Troubleshooting] jayray8825:
BTW, I don't know if i mentioned I was using the 2.2 beta. I was looking at your old builds and saw that line 184 on those was the line that you mentioned.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
That explains why my live numbers didn't match, I must have the beta build on my Linux partition, I will still make that patch, sorry I haven't done it yet, been busy with work. I may attempt it during lunch today.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] nonplusultra:
I can't manage to get it to work. I have the following message:

I have 11.3.2 and no other launcher or wallpaper picker as far as i know. Is it possible that i have too many apps installed on the device?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Ah congrats on fixing the problem, a lot of posts since I last checked yesterday. Thought I would ask are you going to post the apk you rebuilt? Be nice if we could just overwrite our original with it instead of having to recompile our own. If its working and everything I think this should be something added to a current tool like of first aide or something. I'm not sure if that has similar things I haven't used it before, I'm just thinking how when I rooted the kf1 it had options in it to lock wallpaper and install gapps figured this would be something that should be added to a program similar to that for kfhd. Anyways thanks for finding a solution! If I ever reflash to kindle os I will definitely use this. Which I might do if they never fix the audio crashing problem... Please post or new apk if u can it will be useful to those that still want wallpaper, And if need be I can probably make an adb pushing script for people that don't want to risk bricking it because of permissions, and because I'm so nice I would also write a bash script version version of it too! Actually I have been doing a lot more bash than batch but they are kinda similar so its not that hard.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] pjeby:
Attempt at using overlays

That's very reassuring to know, thank you!

Now that I have a working solution, I gave a shot at the vendor overlay trick from this thread: http://xdaforums.com/showthread.php?t=2017043 to see if maybe I could make an overlay apk to share with others. I was able to build one and install it, but putting it into /vendor/overlay didn't do anything; I had to put it into /vendor/overlay/framework as framework-res.apk. But once I did that, I got force closes all over the place, presumably due to the overlay needing to be signed like the original. (This is after I fixed perms on vendor@overlay@framework@framework-res.apk@idmap, btw.) So I guess I'll stick with what I've got. (Especially since while playing around with the overlays, I managed to hose all of my secured accounts on the device, and had to relogin/reregister a bunch of stuff. Apparently the system doesn't like you faking signatures. Who'd have guessed? ;) )

---------- Post added at 07:07 PM ---------- Previous post was at 06:51 PM ----------

The compiling wasn't so hard, it's just all the false paths I went down, including a problem with getting apktool to run on my machine, and all the scares where my incorrectly built apk's kept the device from working. (Not to mention all the Windows driver uninstall/reinstall dances.) I spent WAY more time fixing my Kindle between attempts than I did on any of the attempts themselves. ;)

The streamlined procedure is:

* Pull a copy of /system/framework/framework-res.apk off the device

* Run "apktool d framework-res.apk somedir"

* Edit somedir/res/values/bools.xml, change the disable_system_wallpapers from true to false

* Run "apktool b somedir newframework-res.apk"

* Unzip resources.arsc from newframework-res.apk

* Add it to framework-res.apk, making sure to store it uncompressed (I used 'zip -0 -u framework-res.apk resources.arsc' to do it). The modified framework-res.apk will be about 300K smaller than it was before.

* Put it back on the device in the right place with 644 perms and correct ownership

The apktool parts of this literally only take seconds if you have apktool.

Oh, and be sure to keep a copy of the original framework-res.apk somewhere on /sdcard, just in case you make a mistake. ;) A running KF First Aide in a nearby window isn't a bad idea either. ;)

(And for anybody else reading this, if any of the terms I used were unfamiliar, you probably don't want to be trying this. Wait for stunts513's script! ;) )
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
One thing I need to ask, just for simplicity, can u just post the frmaework-res.apk u created that fixes this so I can make a simle push script that chmods it or do I actually need to automate the process of creating the apk, because I'm in a position where I can really only get on my PC at like 1 am to do this.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] pjeby:
I think automating would be better

If it were me, I think I'd just automate the whole process, so that it'll be compatible with other versions or variants of the device. (For example, I expect my apk wouldn't work for an 8" HD or a KF2, but the script *might*, as long as it's checking for errors from the underlying programs and bailing if the apk's not where it should be, the flag isn't in res/values/bools.xml, etc..)

But remember: I've been a KFHD hacker for exactly one day now, so who knows. ;)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
OK then I may be reflashing to kindle is tonight to test this out after I create it. Then all that's left to do is get some people with kfhd8.9's and I guess kf2's to test it out, wasn't sure if I saw anybody with that problem on kf2's yet but I haven't been checking for that particularly. If I have any questions while I'm making the script I guess I will probably pm you as to not clutter this with technical jargon.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JORDANZ1998:
help a little off topic i know but after putting next launcher ed in system app folder kindle fire hd 7.3.1 is now stuck in bootloop. the normal drivers on my pc can find the kindle and after a few minutes it says device cannot startup in driver settings. unfortunately adb drivers can't find my kindle. how do i get it out of boot loop without getting factory cable.

ps. when i turn it on the bootloader will start up like everything is fine but it will just keep doing the boot animation. never ends. HEEEELP
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Um generic answer but I think kindle first aid may be of help, also when u fix this I suggest installing 2nd boot loader + twrp, makes these kinda problems a lot easier to fix IMO.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JORDANZ1998:
I have KF first aide already installed. I also have a full rom backup already done. The problem is even though my computer recognizes the kindle in its boot loop state adb wont so none of the fastboot methods are working thus i cant restore it. any other ideas i just need adb to connect somehow. or just to get it into fast boot. like i said i already have KF First aide installed and i already did a full backup in the past
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
I'm probably not going to be of much help because I typically think of solutions using Linux, and in this case I think of Linux because I think it has a better response time with the device being detected before it disconnects, so u could probably keep running the boot into fast boot command and eventually get it, not so sure on windows. I couldn't even get mine into fast boot the other day from Linux though so idk. I am on an older kernel but adb drivers were included. Maybe someone else will come along to help you because I am not much help in this situation and I'm currently team viewing my PC to work on as much of the script in Linux as I can using wine.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JORDANZ1998:
Ok thanks fir trying but one more question. My kindle never disconects from the normal drivers in the pc. It just says in the driver info device cant start. Even though adb isnt working my kundle is having no problem staying connected to my computer is this a plus meaning my kundle isnt bricked that bad. Because it dostant disconnnect from the computer theres got to be some way to get fastboot working right.

PS my comouter us windows 7 home premium 64bit with an amd processor
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Ah my bad I was thinking of a post I read somewhere, I can't read your post while typing up a new one in the xda app apparently, so I have to try to memorize what the post said... I have never gotten a kindle I. Fast boot but if all else fails and u have a soldering iron u could make a fast boot cable, though I only suggest it if u have a spare miniusb cable, I myself have a soldering iron and the knowhow to do it but I only have one miniusb cable in my house and I don't feel like screwing it up on accident, its a pain scolding things that are small. I need a new tip that is pointed instead of flat. By the way try rebooting your PC and seeing if that device can't start message goes away.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JORDANZ1998:
I bought a factory usb cable off amazon about a minute ago. its coming tuesday but i'm not going to stop looking. i want to get it fixed as soon as possible i don't understand why adb can't find my kindle in bootloop when the normal driver can. why is that.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
I think its because your kindle is detected in adb but the driver or something isn't I initializing so the adb program can't find what's not I initializing. Again this is why I use Linux, don't typically have driver issues and the ones I do have usually involve compiling a module. Actually that sounds harder from a Linux newb standpoint, lol. If u ever try out Linux most hardware is plug and play, outside of graphics cards where u get proprietary drivers to get 3d acceleration. If u wanna give the Linux method a shot get a live disk image of Ubuntu and boot off of it burned to a CD, or a flash drive if u find out the info how. I still stick with 10.04 LTS myself, I don't like the new ui much and its a pain to upgrade when the primary partition has 400mb of space left... But the new version has the android SDK in the repos whereas my version doesn't so i downloaded it manually and just CD into the directory to use it.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JORDANZ1998:
Do you know of a way to put the kindle fire hd into fastboot though the normal drivers or is that a lost cause
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
The fast boot command is my best guess, I think it is desperate from adb in a sense, but it uses the same vendor ID. Try uh its in in that twrp + second boot loader tut, but its something like fastboot -i 0x1949 getvar product, I am pretty sure what I just told u is off , just goto seokhuns post and do what he tells you for fast boot.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JORDANZ1998:
I tried it but it didnt work just said waiting for devices. In the kindle driver propirties it says after a while something like device cant start up code 10. Why didnt it work because my adb wont load or because of the error
[7" Kindle Fire HD Q&A, Help & Troubleshooting] evildread:
I too am having the wallpaper issue.

I've tried everything possible to try and get it to work but still no luck.

Using GO Launcher HD.

Kindle looks hideous with just a plain black background =/

Has anyone made any progress with the issue? :confused:
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
We have, I'm making a fix for it tonight so it's automated for newbs. Don't know if it will be posted by tomorrow or not though because I have to use my PC mainly at 1 am and I have to test it out on my kindle first before I release it, and I also need a few test subjects with hd8.9's and kf2's, preferably with twrp in case it bricks theirs.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Isriam:
I can't get widgets to load, seems to be part of this issue also?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
The main apps shouldn't effect it, they aren't on the system partition. I remember hearing the newer is was bulkier or something and had less space free on it as a result if i remember right. Technically it should be able to be done still but is rather not risk bricking something by disabling safeties in my script. Lemme work on that debug/temp patch today, I keep putting it off from other things but pet me see if I can.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] nonplusultra:
Thank you for working on that!
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
ok try this and plz dont ignore the text when it pauses, it can be the text that saves you from a soft brick should someone try this. Just run the runme test.bat file instead and plz report back what is says, i dont think you will need the debugger for this one, im just curious what one of the variables has been saying because i know some people have had more than 40mb available and its still errored out. Anyways here ya go: https://www.androidfilehost.com/?fid=95784891001612086
[7" Kindle Fire HD Q&A, Help & Troubleshooting] jayray8825:
Thanks! The wallpaper fix installed properly this time. The thing is now, I still can't actually get any wallpapers to work, live or otherwise. I'm using apex launcher, and I rooted with an apk I got online as I couldn't get the one here to work with 7.5.1 (kept saying it couldn't see my device). It is rooted, because it allowed me to make the live wallpapers picker rw-r-r. I'm not exactly sure what to do next.

P.S. Is it possible to downgrade without having to factory reset the device?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] nonplusultra:
It closes the window instantly if i run the runme_testing.bat. What should i do?

Btw, i always have these messages:

"Konnte nicht gefunden werden" means "Could not be found".

The debuglog for the runme_testing also says this:

Rough translation: "\Stunts can't be processed because of syntax"
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Ignore the first few lines, I keep forgetting to hide them... What came before the "stunts can't be processed because of syntax" error? Not sure what part of my script that is offhand. [MENTION=321464]jayray8225[/MENTION] ,odd maybe if I have time if you post your framework-res.apk somewhere I can see if they took the option to enable it out or something. As for downgrading I believe it has to factory reset because of some system app settings that mess with the older versions and cause weird issues.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] nonplusultra:
Hi,

sorry for posting so late, i didn't have a whole lot of time over the last days.

Thats the whole log:

Translations after comment tags.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Christopher Shickler:
For anyone interested in a simpler workaround:

I used a widget to do this, it's a lot less of a hassle. Desktop VisualiZer, you can set it as large as you want it and place things over the top of it. It works exactly like a wallpaper, but it's just a widget. You need a launcher that lets you stack things on top of each other like Nova. Plus it wont break with every patch.

Here is my kindle now:

i.imgur.com/1MzsABQ.jpg
[7" Kindle Fire HD Q&A, Help & Troubleshooting] nonplusultra:
That doesn't work at all. The resolution is way too small to replace a real wallpaper. Or did i just miss anything?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] MrMooCow12:
Hi stunts, when I use the tool it says i don't have a framework-res.apk.orig and a framework-res.tmp. I'm trying to get rid of the black wallpaper and I have a rooted kindle with a 7.5.1 OS version.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Sorry for the long delay, haven't been checking things around where as much as I should. Can you copy and paste some output or use(and read the description for info how) the debugger tool so I can see exactly what its doing and why?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Carriew:
Exactly the same problem, with "RunMe testing", the wallpaper fix installed but after reboot, nothing changes, it remains a black wallpaper.

My kindle is rooted, OS 7.5.1 and here is what is written when I use your command :
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
OK I am half asleep and couldn't read it too well, but I believe I see it erroring out on busybox commands. Looks like you need to install busybox. You can get it from the play store or if the play store isn't installed you can ferry it over from another device. I'm sure the apk is floating around the net if worst came to worst, its free so it should be fine for me to suggest that I believe.

Could have sworn I included the binary with my fix... I am about to head off for work so I will check on that in a bit when I'm on lunch or back home.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Hey guys, i know i haven't been active lately and I know this hasn’t been updated in a while but i happen to be running it on linux while fixing a kindle for someone and noticed a bug in my script so I’m just posting an update with the linux script fixed. It had a simple syntax typo. Also on another note, while testing this out on the kindle i was working on i ran into that disappearing status bar bug. Since i actually was able to troubleshoot it for once i ran a logcat and found a nice "texImage2D can't be used with a null Bitmap". Taking an educated guess at it, it was referencing the fact there was no wallpaper set(hence its null). Once i set the wallpaper the statusbar stopped crashing and disappearing. Just thought if anybody is still using this utility that they might want to actually set the wallpaper and see if it fixes it or not. I wasn't on the latest firmware when I did it.

Anyways on with the usual disclaimer:

I am not responsible if this kills your kitten or burns your house down or bricks your kindle

Link back to original post: Here

Changelog:

2.11

-fixed a syntax bug in the Linux script.

Also sorry if i kinda bumped this. I had this thread bookmarked and i didn't exactly see the last post date before i put this post in. Wanted to follow my standard update procedures as usual.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] ZimriXDA:
Does this work for kindle fire hd 7 (2nd gen)?

Also can someone make a video or a more easy to understand method.

I can't even figure out where the steps start in his post >.>
[7" Kindle Fire HD Q&A, Help & Troubleshooting] evildread:
Rooting to 7.4 did, as it removed everything but the default apps in the system/app folder.

To fix it so widgets work again just download the widgetpicker, pop it back on the system/app folder and apply the permissions again.

It should then work, or at least it still continues to work for me.

The only problem I've had so far with the new update is wallpapers.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] DroidIt!:
I have the same setup, win7 64 bit. There's a thread over in development forums on gettingnadb working. I would say that should be your first step, get that working. Can you hold down the power button for the 20 seconds to completely power off and get into recovery? You're not bricked very bad. You should really have a factory cable to, I've had that save my kindle a couple times. After making sure your drivers are good plug the kindle in and see if the computer recognizes it. After that, head over to onemeila's system IMG restore thread again in development section. Follow that step by step and then you should be back up and running.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
ok i have the alpha of the script just about complete, though i hit a snag i cant seem to get past tonightil work on it tomarrow probably. I will need some testers so if u have an 8.9 or a kf2 with a surefire way to restore from a bad framework please send me a pm, i will sendu the script for testing, not going to post the base script online becasue its still very rough, needs soem safety implementations, and its not finished. Could someone please tell me how to push something onto the system partition, i did this

adb.exe shell "su -c 'busybox mount -o remount,rw /system'"
adb.exe push framework-res.apk /data/local/tmp/framework-res.apk
adb.exe shell "su -c 'mv /data/local/tmp/framework-res.apk /system/framework/framework-res.apk'"

but alas its not working, pushing directly didn't work either, any ideas?

Edit: unless theres a better method im using the cat command for now.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JORDANZ1998:
Yay I'm officially unbricked and you won't believe how. As you know I was stuck in the dreaded bootloop because I put next launcher 3d into the systems app folder. Just as I suspected the reason i was in the bootloop state was because next launcher couldn't load and since it was my default launcher the Kindle couldn't turn on properly. Well I woke up this morning and went to go try pjebby's idia. turned the Kindle on and by some stroke of Luck next launcher was able to turn enough for my kindle to turn on. Even though all I could do was pull down the notification bar it was enough. I just took it off of default launcher. Went back to are and deleted it now my kindle is working perfectly. Never going to install that app again. Thanks for all you guys who tried to help I really appreciate it.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Oh that was just a snippet, after that it chowns and chmods it, permissions are fine. I however fell asleep at 7 am and was woken up at 10 am... sooooooo sleeeeepy......
[7" Kindle Fire HD Q&A, Help & Troubleshooting] pjeby:
Installation steps for framework-res.apk

The sequence I always used was to:

1. Put it on /sdcard

2. Use "busybox cp" to put it somewhere under /system with a different name than the final name (after mount rw)

3. chmod 644 it

4. Use "mv" to put it in the right place with the right name

Also, step 0: save the original on /sdcard somewhere, so I could quickly reinstall it if it broke something. ;)

The reason for that sequence above is that I found that adb shell's "mv" won't move across partitions. And if you use busybox's mv or cp -p, it keeps the "sdcard_rw" group on the file (which I could never figure out how to get rid of). No matter what, you're going to end up w/bad perms on the result, too. So, I eventually worked out that cp (without -p), followed by chmod 644 and mv, was the least problematic sequence to get the file where it needed to be with the right perms, quickly. (Because sometimes I had to do that same sequence in a hurry while the device was booting to put the original one back.)