yashsingh1/xdaforums huggingface dataset:
[7" Kindle Fire HD Q&A, Help & Troubleshooting] nalyom9:
No he is not the only one I have hd fire 7inch here in Ireland and its now 7.4.1, my kindle is not rooted but I have been using Adw ex launcher and as a result of update I can't set wallpaper with the launcher or using various different programs. Also I noticed the launcher icon is no longer in the carousel. Bummer!
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Thanks, I got a lot more sleep than I have been last night. I have had one tester that's says it works on 7.4.3 so it should work on the others, you don't have to update to test it unless you want to test it. Theoretically it should work, I don't see why it would work on one and not the other less amazon decided to do something really weird. I may work on creating the Linux script tonight, depends on how tired I am after watching some of the shows on Toonami anime lineup tonight. I sound like a total otaku! xD! But I'm not, I just happen to like anime and manga as you can tell from my other posts.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Mr00oo00:
running the script. but something weird happened.

I lost the root $:
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Um I having released the Linux script yet, so uh f u tried to launch that bat file in Linux that may be why. The Linux script will have the extension .sh

You were referring to running g this on Linux right, I know from a terminal u would have the $. Otherwise I'm just confused at what you did.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Mr00oo00:
using windows 8 pro

and tried to re root but no joy.

even I tried to update to the latest amazon 7.4.3 to over right whatever but when I enabled the auto update The version just became 7.4.3 t once , unless the update file is tiny one &:!?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
I will say this now, rooting on windows 8 is a total pain, if u have a PC with win 7 or xp use it instead. Personally I use Linux and I haven't ever had an issue rooting it with binarie's script. If all else fails DL a live CD of Ubuntu and use binaries script. If u can't tell I'm a Linux enthusiast, I only use windows for gaming.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Mr00oo00:
well,

the good news now is I managed to root again :)

I will give a try to ur script.

is it better to cd to the directory where I extracted the zip file then write RunMe from the cmd?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Its designed to work just by double clicking it, but you can run it that way as well.

Edit: didn't think i should bother double posting, but thought I'd mention the Linux script hit a slight snag... Because of how Linux operates, i cant include a xml starlet binary (actually i could but it may not work, and it wasn't released in such a manner as to distribute the linux binary, only compile it so i get the feeling i'm not supposed to possibly?), so i would either have to figure a way to include a installer using a choice page for what distro your using as to run the appropriate commands to install it, or possibly make it dl the source and compile it (sounds like a bad idea because not everyone has everything needed to compile program by default). My other option is to do some research on the awk command which i will do tomorrow because I'm getting sleepy. I believe pjeby said it could do what the xml starlet binary I'm including is doing, but like i said i gotta research how to better use the awk command for such a thing.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] wing-zero:
thanks stunts for ur hard work, but I went ahead and downgraded back to 7.3.1 and blocked ota. Seems more stable this way. Thanks again!
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kj1025:
Hi,

I ran your fix on my Kindle HD 7 ( rooted ). No brick, but I still cant set a wallpaper. During the Bat running, there was alot of " Cannot find " in the scrolling commands, however it did finish with the " you can now install wallpaper hit enter "

any ideas?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Mr00oo00:
it works

thanks stunts513

I managed to enable the wallpaper.

I had to copy all the extracted contents of your zip file to the adb directory (in my PC) then I had to cd from cmd to the directory and it works only this way :)

thank you for your effort :svetius:
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kj1025:
PS heres an image of what the script said when I ran it
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Rugged96:
thank you Stunts!

it worked great on my KF2 on version 10.4.3
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
OK I see the problem, everything worked correctly except for one key thing, your kindle must have not granted adb superuser rights, it should ask you for them if you having ever used superuser over adb before, if it did and accidentally denied it, goto your supersu app and change the permissions for adb, otherwise it timed out because the screen was off and you didn't hit grant. Try this and lemme know how it goes.

Edit: strange I noticed no errors on the backing up part who CH needs superuser access to do, but yet then data directory is what was giving you problems. If what I said to do above doesn't help uh I will have to do some more thinking, might be a permissions error on the folder or so etching, don't know offhand. But I do know that it denied you access to push the new file to the data partition which is kinda weird that should have read/wrife access by default I think.

Also thought I'd mention I think I have the first release of the Linux script just about done, I was gunna test it out on my cm 10.1 is where it shouldn't do damage, but then I realized the other day I deleted my SDK to free up disk space and I did not have the most recent Linux binary of adb so it won't work with my kindle now... I tested it to then point of nulling the transfer lines out and using a backed up framework-res.apk to test it and it works for the most part, still have an annoying little bug with the recompiler because I'm unsure exactly what this script that apk tool does, its a bit more complex than the batch file version, and something isn't setting a path variable correctly, just haven't identified it yet. I am going to improve the Linux script more after I release it, because I'm trying to make it less distro specific, but it relies on a program that I included but may not be compatible on everyone's Linux distro, so I am going to have to implement some kind of universal package management installer script, but for now I kinda just left it so that if the program errors out then it tells you to goto your package manager and install it, if after pressing enter when done installing or not installing and still erroring out, then it tries to download and compile it from source. code.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kj1025:
Whats strange is superuser has yet to ever ask a permission for any application ( ES Root Manager never asked, but works providing every reboot I go into Root Settings and check both circles for R/W on / and /system.

I dont know how to force permission for ADB in superuser, is there a way? I rebooted to the original file and attempted a second go at install, nothing popped up on the kindle while the install was going on.

I thought Id add in case it means anything, my root anylizer states /system/bin/su false, /systembin/xu true, /system/bin/busybox false. Both SU and Busybox are located in the xu folder.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kj1025:
So I physically went into the file folder and changed a permission ( Other did not have read write access, only execute ). Attached is the image of what ran below, looks like there were no errors.

However, Red Triange. Any advice?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Elhikko:
same problem here I think ...

Everything seems to work fine but at the end i get errors:

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

* Backing Up Original framework-res.apk *

* Please grant if a superuser request comes up*

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

failed to copy 'framework-res.apk' to '/data/local/tmp/framework-res.apk': Permi

ssion denied

cp: can't stat '/data/local/tmp/framework-res.apk': No such file or directory

Unable to chmod /system/framework/framework-res.tmp: No such file or directory

Unable to chmod /system/framework/framework-res.tmp: No such file or directory

failed on '/system/framework/framework-res.tmp' - No such file or directory

rm failed for /data/local/tmp/framework-res.apk, No such file or directory

Backup Sucessful!

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

I also checked su permissions for adb (with Chainfire's SuperSU Pro) and while the script was running I get the message that permissions were granted. In /system/framework I see both frameword-res.apk and frameword-res.apk.orig, both having 33.993.719 Bytes, rw- r-- r-- permissions and (I think) same MD% Checksums.

At least everything works fine except the wallpapers

Would be nice, if anybody had an Idea how to fix this...

I' attaching the complete output...
[7" Kindle Fire HD Q&A, Help & Troubleshooting] TamiaSky:
Soft Bricked :(

I have a kindle fire hd 8.9 on version 8.4.3 I have bricked my device 3 times (1 trying to install twrp+boot, and the other 2 doing this to get my wallpaper working). NOTHING seems to be working and I don't know what to do. It seems that everything works fine but when it got ready to push something to my system it said there was no room but it was freshly restored and had 25 gb left for space so I don't get that part.

I am on win 8 pro if that helps, and i'm able to install the launcher, etc it's just black and ugly now and I hate it. I purchased different themes for my launcher and i'm hating amazon for doing this!! (mainly because I can't seem to fix it)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
You have the same permissions error as kj1025 did before his bricked. Before you go and start changing permissions like he did while yes it "fixed it", it may be what caused his red triangle. Kj1025 did you set the folders permissions back to how they had been after u were done? If not I'm guessing that may be why you have that screen, if you can get into a recovery mode where there's adb access I can tell you how to fix it, otherwise you will need to restore over fastboot to fix it.

TamiaSky, first off your system partition is seperate from the sdcard where there's 20gb free, it has way less space than the sdcard portion, I don't know if you have a lot of apps installed on the system partition for some reason or something. Please send me your log if u can in a post. I have a few theories as to whats happening but nothing is definite until I see the logs. Chances are the reasppon behind you bricking is because its overwriting the framework-res.apk with a incomplete copy. I don't know how you have been restoring from this but simplest way to do so with twrp is to use adb mode and drop to a adb shell in recovery and mount the system with read/write permissions, then run "mv /system/framework/framework-res.apk.orig /system/framework/framework-res.apk", this should fix it without having to restore backups.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kj1025:
After running the patch, my kindle triangled upon reboot. I never got back into it to change the folders again. And I cant get past the restore reboot
[7" Kindle Fire HD Q&A, Help & Troubleshooting] thekid41:
Still can't get this script to work on my mom's kfhd it runs says it should work then my notification banner disappears and it says my kindle instead of "name kindle" and I still can't set walpaper papers. Any ideas? It's rooted but running 7.4.3
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Kj1025, I'm an idiot forgot you couldnt have fixed the permissions because the script autoreboots the kindle when it is done to make the changes take affect. I am thinking about adding a failsafe to my script in case it has a permissions denied issue it will chmod the directory so it will work, but chmod it back afterwords so it doesn't brick, kinda weird the permissions are like this, wonder if its Amazon's doing in then last update?

Oh and thekid, could you please post the log of what happened? Otherwise I have no idea what's causing it to do that.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] JORDANZ1998:
If you think adding that failsafe will make it safer and less likely to brick then you should defiantly add it
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Elhikko:
workaround for

As I wrote in my earlier post I had the same problem (II'm on version 7.4.3) . The point where the scrpt always failed (permissions denied) was the line:

adb.exe push framework-res.apk /data/local/tmp/framework-res.apk

However by replacing "/data/local/tmp/" with "/sdcard/Download/" in this line and the following one (and pausing after each command, to see if there was an error) I finally got it to work!

Thank you for this great work!

Elhikko
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
I like your idea better, less hassle than dealing with chmod. I will add it to the script and release it with the Linux version. Linux version is almost complete I just have a few issues testing it fully for bugs, some of the coding I used in it was slightly new to me so I'm making sure there aren't any syntax errors that I missed.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] jmpiv4:
Is it possible to edit your first post and add the script there with updates? it's kinda hard to navigate through all the replies to figure out whats going on
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Yea that's why I wanted to post a new thread with this because I figured people would get confused where the fix is, I'll just put a note in the first post saying in bold read goto page 8 for the fix. Wish a mod could like cut everything from before I posted the fix and then make the rest a new thread.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Rugged96:
Don't say page 8...link the specific post#. Some people have different post counts per page. Either way I think this fix warrants a new thread. Many thanks
[7" Kindle Fire HD Q&A, Help & Troubleshooting] TamiaSky:
How?

How do I send a log? I have been restoring by doing option 13 (i think) in Kindle Fire FirstAide after booting the kindle in fastboot mode. I have been having to restart from scratch basically. I don't have twrp on my device because the first time I did it, my device was bricked for 4 days. I know how to use adb though and if my kindle doesn't boot up it's easy for me to get into fastboot and restore.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
OK basically my what I'm asking you to do may brick your kindle again more than likely but I need the debug info to find out the problem. Its either running out of room pushing the initial file, or running out of room after putting it on the system partition. If its the first one then you could just add rem to the adb lines after it and run it without risking a brick, if its not erroring on that then its most likely the backing up stage. But if you don't know what I mean by adding rem then you'll just need to brick it again to get the log. Basically adding rem means literally add rem and a space before the adb command then saving the batch file and running it. If you rem out all the lines after the initial push it won't risk bricking it again but it won't apply the fix. To send me the log, after it finishes running the script don't exit the command prompt window, instead right click in it hit mark, highlight the entire process, then press enter to copy and then u can paste it here in a post( please use code tags in the post).
[7" Kindle Fire HD Q&A, Help & Troubleshooting] TamiaSky:
Omg thank you thank you thank you!!!!

OMG IT WORKED!!!!! I think earlier I had tons of stuff on there and would download it all back after I got my system up and running but this time I hadn't gotten around to it and it worked this time!!!! I renamed it(I had another on my dektop but it wouldn't delete) so that's why it says fix1. I'm not sure what code tags are so if I posted incorrectly sorry :(

Could Not Find C:\Users\MyPC\Desktop\Stunts Wallpaper Fix1

g

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

* Checking For Backup *

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

* This may take a moment. *

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

remote object '/system/framework/framework-res.apk.orig' d

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

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

* Begginning Wallpaper Fix! *

* This will take a few minutes to complete. *

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

2949 KB/s (24936214 bytes in 8.257s)

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 tran

PC\Desktop\Stunts Wallpaper Fix1\decompiling\res; found: p

aapt: warning: string 'DateTimeView_in' has no default tra

yPC\Desktop\Stunts Wallpaper Fix1\decompiling\res; found:

aapt: warning: string 'DateTimeView_m' has no default tran

PC\Desktop\Stunts Wallpaper Fix1\decompiling\res; found: p

aapt: warning: string 'permdesc_configSoftkeys' has no def

\Users\MyPC\Desktop\Stunts Wallpaper Fix1\decompiling\res;

aapt: warning: string 'permlab_configSoftkeys' has no defa

Users\MyPC\Desktop\Stunts Wallpaper Fix1\decompiling\res;

I: Building apk file...

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

Processing archive: newframework-res.apk

Extracting resources.arsc

Everything is Ok

Size: 5038956

Compressed: 24467999

Updating framework-res.apk

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

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*

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

5626 KB/s (24642390 bytes in 4.277s)

Backup Sucessful!

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

* 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:
O good so it worked? That's good. Seems like I have more than one reason to not use the tmp directory anymore, I will definitely fix that in next update, was too tired to work on fixing the bugs in my script last night though to work on it.

BTW code tags mean u add "[ code]" before the text and "[ /code]" after it. Note that you need to take out the space I added after the start brackets, otherwise it interprets it and I couldn't show u what to type.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] thekid41:
So .4 works on the newest update???
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Yes, though I will release 2.05 soon, with a few more failsafes and the Linux shell script.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] thekid41:
OK, I'll give it a try again last few times i just end up with no notification bar
[7" Kindle Fire HD Q&A, Help & Troubleshooting] james.k.:
Wanted to thank you. Your script worked. I now have wallpaper on my Kindle Fire 2.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] dzuroff:
It Worked

I was a little nervous to try your script but I did anyway and it worked perfectly. I am using ADW on a Kindle Fire HD 7" system version 7.4.3 and I got my wallpaper back after running your script. Thanks for your efforts!
[7" Kindle Fire HD Q&A, Help & Troubleshooting] jmpiv4:
Yea mine disappears and reappears randomly on my 8.9 8.4.3
[7" Kindle Fire HD Q&A, Help & Troubleshooting] ignoramous:
"the why"

The wallpaper service public APIs were selectively disabled to alleviate the memory pressure on system_server. Amazon's default Kindle Launcher doesn't need wallpapers (yeah I hear you when you say apps with FLAG_SHOW_WALLPAPER however do need wallpapers... but that functionality was apparently deemed not *that* important).

We freed about 14MiB+ worth RAM from system_server. This change was primarily targeted at the 8.9 Kindles, as 1GiB RAM was barely holding up to Kindle's massive resolution.

I see that having a bool in framework had work cut out for you guys... so I guess props for us to have made it "configurable" eh?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] jmpiv4:
That came off as arrogant, guess it would in my interest just to completely remove all amazon software from my device then.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] ignoramous:
Yeah, that's the reason most of us are on XDA anyway-- to root, hack, and mod! Your device, you are welcome to do as you please.

And I'm sorry, I don't quite get what came off as arrogant? You do realise that unless you root the device, you'd not even notice the impact? It was a calculated decision to get rid of wallpapers, 'cause simply put-- majority of the users don't root their devices (I don't have real numbers though).

I can't speak for the company of course, but from what I have seen, Amzn isn't the one to take any of its customers (that includes developers) lightly. And everyone knows that very well :)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] sonicanomaly:
As someone who is unrooted and has never rooted a single device in her life, but has ADW Launcher side loaded and is frustrated at now being forced to choose to either not have a wallpaper or take the dangerous risk of rooting? You're sadly misinformed on that point.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
*face palm* I suppose it makes sense and I hadn't noticed before because I haven't paid much attention to the technical specs, but for some reason I figured the graphics card had its own separate memory, much like if u add a graphics card to a PC and disabling the original doesn't eat into your ram. I'm too used to using a PC with no onboard graphics... On another note lets hope amazon leaves this configurable, I see no reason not to. I find it so funny my PC has 2gb of ram, makes me think how I come from the age where at one time half a GB of ram was considered a lot. I have noticed this past weekend after using my dads work laptop just how old my PC is... It has an i3 and just owns at everything, though I prefer i7. I will try to work on releasing the next update by Monday with the Linux script included, I tend to work mostly on sunday nights, so hopefully it will be done by then. And to anyone asking why I am not going to work o. It using my dads work laptop its simple, I think it a stupid idea to run a Linux live CD where I'd be having to install java to test out the script, because it is all stored to the ram.

How is rooting dangerous? Then only time I ever thought it to be dangerous was one friend of mines phone in Australia, because it had no exploits that worked, you had to boot it into recovery and flash a kernel patch for the specific kernel kind, and they said if it doesn't match just try one similar it might work.... Think it was lg not sure. Its the one weigh the weird app u have to use to flash it from your PC. Worst part was it decided to update with ota right when I went to do this which was cool because it updated then matched a kernel version exactly, then I get it ready and it updated again and there wasn't an exact match, long story short I flashed it and it was rooted. That's the only ki da rooting I personally co spider dangerous. No offense to anyone that says otherwise, that's just from experience.