yashsingh1/xdaforums huggingface dataset:
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Ceini:
I ran the runme.bat file and it says it's missing some files: framework-res.apk, newframework-res.apk, and resources.arsc. Is it okay to close it out and unplug my Kindle for now? Warning, complete Noob here.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JORDANZ1998:
Android App

Just wondering, does anyone know if an app that enables the wallpaper. for example something like (wallpaper viewer.apk)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
If your talking about the system component used for displaying wallpaper it probably internalized in the os or something maybe part of the framework apk, idk. If you looking for one to view what you have for wallpaper there's a few apps that will do that but that's kind of pointless. Someone that's willing to softbrick their kindle could try to downgrade certain components of the os to try and fix it but I'm not suggesting anyone should try that. So far the easiest solution is downgrade. Even better is to get a developer in here that knows what they are doing so they can help us out to a point where we aren't just guessing and throwing possibly bad advice around. Don't want someone bricking their kindle because of me... On a side note i just successfully flashed 2nd bootloader and twrp onto my kindle. Yay! It still works, starting to wonder I'm going for downgrade or cyanogen mod.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JORDANZ1998:
secound boot loader

Good to know you successfully installed the second boot loader. What is the safest way to do that. I want the second boot loader on my kindle but don't want to brick it since I heard it was super dangerous. Then again you did it just fine. I currently don't own a factory usb cable. How did you install the second boot loader and if you know of a safer way please tell me. Once again I am currently running 7.3.1
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Just follow Seokhun's tutorial, i think the link is in his sig, if not its stickied in kindle 7" development section. Make sure you have around a gigabyte of storage atleast on the kindle if you back it up.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JORDANZ1998:
secound boot loader

Before I try the tutorial you recommended I saw that KF First aide has one as well and it is all automatic. The only problem I could think of is will it work with 7.3.1 or will I need to flash 7.2.3 I really don't want to. I want to stay as close to the newest version as possible. Also what about the rom manager app can I just flash clockwork recovery from that app or will it not work on the Kindle Fire HD. There hasn't been much talk about clockwork recovery and I am not sure why. I'm pretty sure you need to unlock the boot loader fist but I can't find any tutorials on how to just unlock it. I only found one's where they install a second bootloader. (Twrp recovery)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Ok from what i have read i wouldn't say that the bootloader is locked so much as it has some kind of signature on all the partitions that without it make the kindle bricked, so we cant just flash a partition onto it. That's why we use twrp and 2nd bootloader. I got this from a stickied thread on on of the forums think it was general 7 " forum. I personally recommend using that tutorial because that apk u download does do kinda what clockworks mod is designed to do but its designed with the kindle fire hd in mind so we don't brick it. Also u have to use a special version of twrp apparently so id just use what it says to from that thread.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JulianPaoloThiry:
Doesn't exist. In the 7.4.1 update the framework itself has disabled wallpapers. There is a new setting in framework-res.apk:

<bool name="disable_system_wallpapers">true</bool>
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Ugh an i was 5 seconds away from installing cyanogen mod... i might test this out before i do that. Kinda surprised its even left as a bool.

EDIT: looked at your post in the other thread, using es file explorer i viewed the contents of the framework-res.apk, but mine has no values folder in it, i guess i could copy it over to my pc and double check...

Edit2: still not there on my pc, do i have to create this?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] sonicanomaly:
I wanted to chime in that I'm having this same problem; that's what led me to this forum and now this thread. I'm on the unrooted Kindle Fire HD 8.9", but the same symptoms have cropped up. Everything was fine until today when I turned it on to find software version 8.4.1 ... I'm not sure if it's the same as 7.4.1 but for the 8.9" or not, but either way the wallpaper on my ADW Launcher (free version, which I prefer to the paid version) was gone. I've tried rebooting, force closing the launcher, even disabling and re-enabling the app I used to set the wallpaper (it's called My Kindle Wallpaper). No luck, not even if I change the image.

Hopefully someone can come up with a solution that doesn't require rooting; I'll be watching this thread with my fingers crossed.

Would love to know if anyone has instructions on how to change the boolean mentioned above to no longer disable wallpapers (preferably without rooting). It's worth a risk to me, and I wouldn't mind having to redo it every time I got an update.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JORDANZ1998:
I am rooted but my fingers are also crossed. I will look into the framework res see if I can figure it out
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JulianPaoloThiry:
Sorry, but it's not that simple. framework-res.apk would need to be decompiled with the likes of ApkTool. Then the value would be changed, the apk would be recompiled, and the new framework would need to replace the old one.

---------- Post added at 09:20 PM ---------- Previous post was at 09:15 PM ----------

It cannot be done (that I'm aware of) without rooting. After the modification is made, the apk in /system has to be replaced, which requires root. I think Xposed framework can probably do that sort of modification as well, but Xposed framework also requires root.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JORDANZ1998:
So have we finally evaluated the problem or is the framework-res just one step in the process to fixing this wallpaper issue.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JulianPaoloThiry:
I have not yet tried simply toggling the flag, as I'm currently running Kinology. However, based on my .smali decompile of the changes that were made to framework.jar/android/app/WallpaperManager.smali, setting that boolean value should be all there is to it. The new code in that class just looks at the new boolean and skips certain code if wallpapers are disabled.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] pjeby:
Trying to alter framework-res.apk

I tried this, got all sorts of "xyz has stopped" errors, so I put back the original framework-res.apk. I'm not sure what I did wrong. I did notice my apk was smaller by almost 400K, and that it had a group of sdcard_rw instead of root, but I couldn't seem to change the group, and I'm not sure why it was so much smaller.

Anybody with more framework-res.apk experience have any thoughts?

EDIT: ...aaand I'm bricked. Crap. Well, I guess I should say I've now got an option to reboot or reset to defaults, which comes back to reboot. Can't get back into the adb shell to put the file back now. Eep. Not sure if I should reset to factory, or whether that would screw things up worse. Anybody know how to get back into adb? Windows makes a connecting sound while the Kindle's booting, but a while later it makes a disconnect sound and I can't get into adb even between the connect and disconnect sounds.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Yea I kinda gave I up and flashed cm10.1 tablet. Got rid of my problems... And I am much happier with the os. If anyone figures out the answer please report it here I am curious what was meant by the framework-res.apk values folder because I couldn't find it, wonder if he meant you have to add that to it or something.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JORDANZ1998:
Did messing with the framework-res brick your device or was it something else???
[7" Kindle Fire HD Q&A, Help & Troubleshooting] pjeby:
Messing with framework-res the second time took me to the boot-or-reset screen. From there I got to fastboot with Kindle Fire First Aid, and then ended up with the black screen of death/OMAP4440 thing. I've now figured out how to get back to a proper fastboot mode screen, but can't get back into adb to put back the framework-res.

I'm not sure if I need to flash a recovery or something else; if I could just get to an adb shell or equivalent, I still have a copy of the original framework-res on there that I can put back; I did it once before when I tried the less-messed-up version on there.

It was probably not such a bright idea to go from my first day of being rooted to building a custom framework-res.apk. ;) I've rooted other devices but this was my first time messing with the actual system directory on any of them.

(I doubt it was anything to do with the wallpaper that made my framework-res bad; like I said, the file I was generating with apktool to put back on there was 400-500K smaller than the original, and I think I was doing something wrong in how I was building it.)

EDIT: and I'm unbricked! Tip for anybody else stuck in the black screen/OMAP4440 problem: try the KFFirstAide "Fastboot Alternative" option, where you start with the device powered down and it gets the command first thing on boot. After that, I had KFFirstAide tell it to boot normally, which got me back to the "reboot or reset" screen. But... *while* the device was booting, I briefly had adb shell access again, so was able to put back my framework-res.apk after a couple tries. Basically I made a file with all the commands needed to recover and copy-pasted them in one big block into adb shell while it was trying to boot. It looks like I'm now back to normal except for the black screen. Next time I mess with adb or anything else low-level on this guy, I'm gonna have full system backups first.

2nd EDIT: SUCCESS! I have wallpaper back. I finally figured out that the only way to get a working framework-res.apk is to NOT use one rebuilt with apktool. Instead, I had to take the resources.arsc from the rebuilt apk, and inject it into a copy of the existing framework-res.apk (storing, not compressing). I was then able to put it back on the KFHD7 and it appears to be working normally, including wallpaper. At first I was not able to set the wallpaper: it would hang when I did it from ADW. Apex hung for a shorter time period, but came back with no wallpaper set. Finally, I tried setting wallpapers from *other* than the "Wallpapers" group (from ADW), and then after that I was able to change back to the wallpaper I wanted.

All in all, this was not a process for the faint of heart. I'm right now worrying that the changed .apk is about 310K smaller than the original, and wondering what, if anything might be missing or not working on the device as a result. But it is *in principle* possible to get your wallpapers back, if you have root, patience, and a whole lotta command line experience.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JORDANZ1998:
Sadly I don't have a lot of command line experience so that won't work for me but if you or anyone else finds an easier way tell us.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] pjeby:
Well, technically, I managed my first attempt without doing anything on the command line except running one of the "modify framework-res" scripts that was out there. It's just that that version didn't work, possibly because I signed it. Then the next version I made hosed the phone. If you use FrameworkFlasher-1.1.4 to build a replacement apk with the flag changed, and then uncompress resources.arsc from the new file, then update a copy of framework-res.apk with that file, you could do the rest with ES File Explorer.

The challenge is that each of those things has their own tutorial thread here on how to do it... all of which I read for the first time yesterday, so it's certainly not impossible. But I don't want to try to write a consolidated end-to-end tutorial, especially since I'm still worried I might've messed something up that just hasn't shown up yet.

Hopefully, though, now that there's confirmation that changing the setting restores wallpaper capability, perhaps someone with skills beyond my noobness will be able to package an easier way to do it. As for me, I shall be disabling future OTA updates and retiring from my modding career ASAP. ;)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JulianPaoloThiry:
I did not want to provide an updated framework-res.apk, as I could not test it and could not honestly remember whether that particular bit could be successfully replaced on a stock/rooted device. However, with the confirmation that changing the boolean works as expected, I can certainly generate a "fixed" version using my own toolchain and upload it for others to apply.

By the way - 300KB is approximately how much smaller Kinology's resources file is from stock, so you probably did everything correctly already.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Those files aren't missing its part of the cleanup process, it runs before the script starts to ensure there's no previously modified files and such laying around, just ignore it, I need to null those lines output out again so people don't think its an error.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Ceini:
It looks like the script didn't run then. First, it said "Cleaning up..." then it listed the missing files, then nothing else happened. Thanks for helping me. :p
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
It just hung on the cleaning up files? That's weird, and I don't know why it would do that, as soon as that is called it should goto the next area which is the main menu. You never even got to the main menu?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Ceini:
No, it stopped right there.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Um well try the debugger script and post what's in the log file it generates. Because I have no idea why the script would just stop. Take note the debugger redirects output to the text file so you won't see anything in the window that comes up, it will be blank, just do what you normally do with the script and when your done close it, it will leave the log in the wallpaper fix folder.

Edit: I forgot to mention right click run me.bat, hit edit, them make the first line say [MENTION=279333]ECHO[/MENTION] on. Then run the debugger.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Ceini:
I got the program to run (the files were in a folder inside of another folder so I moved them and it worked.). But I tried applying a wallpaper and it still doesn't work. Should I run the debugger program?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Sure go ahead, also when you applied the wallpaper fix what did it do, I mean you said it didn't work, but what did it do exactly?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] deguy50:
just what say thanks the new 2.1 worked for me .at first i had the disappearing status bar and no wallpaper changed launchers from KindleFree Pro and rebooted and status bar and wallpaper now fine thanks so much for your hard work on this!
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Ceini:
To be clear, the Wallpaper Fix program seemed to work just fine. It did its thing and then my kindle rebooted like it was supposed to. So then I went into an app I like called Cardstock which changes icons as well as background. The icons have always changed properly but the background has not. And it didn't work this time either. When I chose a different wallpaper, it just returned to the previous screen.

Here is the Debugger text:

'[MENTION' is not recognized as an internal or external command,

operable program or batch file.

Cleaning Up...

Could Not Find C:\Users\Susan\Desktop\Stunts_Wallpaper_Fix_v2.1\framework-res.apk

Could Not Find C:\Users\Susan\Desktop\Stunts_Wallpaper_Fix_v2.1\newframework-res.apk

Could Not Find C:\Users\Susan\Desktop\Stunts_Wallpaper_Fix_v2.1\resources.arsc

The system cannot find the file specified.

*****************************************************************

* Stunt's Wallpaper Fix v2.1 *

*****************************************************************

* Notice a bug or unsafe portion of the script I've missed? *

* PM me(stunts513) on the xda forums! *

*****************************************************************

* Credit goes to pjeby and JulianPaoloThiry *

* Major credit to soupmagnet for overhauling my linux script *

* and cleaning it up! *

*****************************************************************

1 Apply Wallpaper Fix

2 Restore Original framework-res.apk

ADB Status: Online

Please make a selection or hit ENTER to exit:
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JORDANZ1998:
Post deleted
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Um you didn't hit 1
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Ceini:
This is what the debuglog.txt file said. I had already hit 1 when I ran the wallpaper fix program. Thanks for helping me, I hate to annoy anyone.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Wait so did you rerun the wallpaper debugger and this time press 1 and enter after the blank window comes up?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Ceini:
I just tried that but it wouldn't let me type anything in the window.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
It types just fine, its just redirecting all output to a text file therefore the window doesn't show anything, so just type into the blank window 1 and enter, and let it sit there a few minutes before closing it, then post the log.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Ceini:
I ran it again and now the output is different:

'[MENTION' is not recognized as an internal or external command,

operable program or batch file.

Cleaning Up...

Could Not Find C:\Users\Susan\Desktop\Stunts_Wallpaper_Fix_v2.1\framework-res.apk

Could Not Find C:\Users\Susan\Desktop\Stunts_Wallpaper_Fix_v2.1\newframework-res.apk

Could Not Find C:\Users\Susan\Desktop\Stunts_Wallpaper_Fix_v2.1\resources.arsc

The system cannot find the file specified.

This is all of it.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Wants is with the [mention? I didn't put that in the script. Try extracting the fix again from scratch and running it because something is weird, it shouldn't hang on calling cleanup, once cleanup ends it goes to the menu, or is this at the end of the script after it has completed? Also if that was at the end of the script after it completely ran, I need way more debugging text, because that's not a error, if it doesn't work the error is somewhere way above that.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JORDANZ1998:
Worked

Stunts513:

Just tried your fix on my friends kindle fire hd and it worked perfectly. Thanks for all your hard work making this script the best it could be. I can tell he's happy to have his wall paper back.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Ceini:
I finally got it to work!

ADB Status: Online

Please make a selection or hit ENTER to exit:

Could Not Find C:\Users\Susan\Desktop\Stunts_Wallpaper_Fix_v2.1\framework-res.apk.orig

Doing prelim checks...

Passed!

***********************************************

* Checking For Backup *

***********************************************

* This may take a moment. *

***********************************************

remote object '/data/local/framework-res.apk.orig' does not exist

No Backup Found. (this isn't a bad thing)

***********************************************

* Beginning Wallpaper Fix! *

* This will take a few minutes to complete. *

***********************************************

4299 KB/s (33993719 bytes in 7.722s)

Decompiling framework-res.apk...

I: Loading resource table...

I: Loaded.

I: Decoding AndroidManifest.xml with resources...

I: Regular manifest package...

I: Decoding file-resources...

I: Decoding values */* XMLs...

I: Done.

I: Copying assets and libs...

Patching bools.xml...

bools.xml:

1 file(s) moved.

Recompiling framework-res.apk...

W: Could not find sources

I: Checking whether resources has changed...

I: Building resources...

aapt: warning: string 'DateTimeView_h' has no default translation in C:\Users\Susan\Desktop\Stunts_Wallpaper_Fix_v2.1\decompiling\res; found: pt

aapt: warning: string 'DateTimeView_in' has no default translation in C:\Users\Susan\Desktop\Stunts_Wallpaper_Fix_v2.1\decompiling\res; found: pt

aapt: warning: string 'DateTimeView_m' has no default translation in C:\Users\Susan\Desktop\Stunts_Wallpaper_Fix_v2.1\decompiling\res; found: pt

aapt: warning: string 'permdesc_configSoftkeys' has no default translation in C:\Users\Susan\Desktop\Stunts_Wallpaper_Fix_v2.1\decompiling\res; found: pt

aapt: warning: string 'permlab_configSoftkeys' has no default translation in C:\Users\Susan\Desktop\Stunts_Wallpaper_Fix_v2.1\decompiling\res; found: pt

I: Building apk file...

7-Zip (A) 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18

Processing archive: newframework-res.apk

Extracting resources.arsc

Everything is Ok

Size: 5037648

Compressed: 33524480

Updating framework-res.apk

7-Zip (A) 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18

Scanning

Updating archive framework-res.zip

Compressing resources.arsc

Everything is Ok

***********************************************

* Backing Up Original framework-res.apk *

* Please grant if a superuser request comes up*

***********************************************

Backup safety check temporarily disabled due to bug. (this doesnt really hurt anything as most people just flash back to fix it anyways.)

Installing Wallpaper Fix...

3421 KB/s (33700634 bytes in 9.619s)

***********************************************

* Congratulations! *

***********************************************

* Your wallpaper should now function! *

***********************************************

* Thanks for using Stunts Wallpaper Fix! *

***********************************************

Cleaning Up...

Press any key to continue . . .
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
So did the wallpaper fix work this time? I don't see any errors.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Ceini:
IT WORKED! THANK YOU!!!!! :victory:
[7" Kindle Fire HD Q&A, Help & Troubleshooting] sonicanomaly:
I've read a few things about a flickering/disappearing notifications bar, and that one tutorial someone linked from Android Cowboy mentioned preventing or fixing that by installing the alternate launcher as a system app. I don't really want to do this unless necessary. It's a lot of hassle, and honestly I prefer having my ADW Launcher as a sideloaded app instead of the default. I have my set routines, and it's a quick and easy cheat to tell if my tablet has crashed/restarted/forced an update while I wasn't looking because it'll be on the default launcher when I turn it on instead of ADW.

I was wondering, has anyone had success with this fix using their launcher sideloaded instead of as a system app? Is the notifications bar flickering a consistent issue? Does it happen when you're on the carousel even with an alternative launcher installed?

Also, in the event that something went wrong or I experienced bad side effects from using the fix, is there a way to uninstall it or would I need to use some kind of recovery to revert back to a saved state before it was installed?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JORDANZ1998:
sonicanomaly,

I have done this fix for my friends kindle before installing any other launcher and it worked fine with no problems. Note I'm just one person and there have been many out comes. If I were you I would do a full Rom backup using KFFA. And then factory reset the device. Then try the fix, you should be alright but if not you can always flash back to your old backup. Hope this helps.