Can't set wallpaper after latest ota update

Search This thread

stunts513

Senior Member
Feb 8, 2013
2,238
635
New Braunfels, TX
I will see about getting the Linux script updated then. I have been busy lately between setting up Christmas decorations and answering stuff on the forum, I'll see if I can work on the update for a release this weekend but no promises. Also anyone with busy box installed on their hdx want to see if they have the idme command? I have a feeling its not included, nor do I know if the numbers are the same, so I might just have to add some kinda detection in for the device codename.

Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app
 

StElsewhere

Senior Member
Mar 13, 2011
64
62
Los Angeles area
I will see about getting the Linux script updated then. I have been busy lately between setting up Christmas decorations and answering stuff on the forum, I'll see if I can work on the update for a release this weekend but no promises.
Thanks, stunts. I really appreciate the effort you're putting into all this!

I'd post the output of my failed attempts, but since I've done so much tweaking they wouldn't accurately represent the problems I encountered with the script as it stood originally. I'd have to undo everything...but I don't really recall everything I did! I know I installed xmlstarlet and libxml2-dev, but I don't remember much else right now.
 

RaynoxITA

Member
Dec 15, 2013
6
0
Disclaimer: By using my script, you understand and accepts that I, and any people mentioned, will NOT be held responsible in the event that your device bricks, get stuck in boot loops, or any other damage.

Ok after debugging my script and making it better for 3-4 days, i finally have a safe version for the general public. Things you should know:

  • Highly recommended that you have 2nd boot loader + twrp in the rare chance this bricks your kindle, because you can adb from twrp and restore the backup
  • If you have any alternative launchers installed, the widget picker apk, and/or the live wallpaper apk, it's suggested removing these before running my script or it may tell you your system partition is too low on disk space to continue.
  • This is for OS 10.4.1, 7.4.1, and 8.41 and probably up if they keep this feature disabled
  • You need a rooted device for this to work
  • You need java installed
  • You need Microsoft Visual C++ Redist installed
  • If it stays on "waiting for device" you have adb driver problems, I would suggest perusing the forums for a solution
  • DON"T PULL YOUR CABLE DURING THE PROCEDURE! < very important
I have learned a lot through making this, such as you have to make this n00b proof in terms of safety features. I also learned that i hate batch coding with a passion. I will release an update soon with the Linux bash script version of this in it, it may or may not work for mac users, I don't have any OS X macs around to check for commands like awk, but base don the last time i used one in school they didn't have half of the busybox commands I'm used to in them.

Compatible Devices:
  1. Kindle Fire HD 7"
  2. Kindle Fire HD 8.9"
  3. Kindle Fire 2
  4. Kindle Fire HDX 7"
  5. Kindle Fire HDX 8.9"

Many thanks to pjeby, who worked with me to make sure it had plenty of safeties to prevent bricks,and gave me the process to know how to do this so i could figure out a way to automate it, as well as checking my script every few updates. Also would like to give credit to JulianPaoloThiry, who noticed where the problem resided. Have to give some credit to a friend of a friend of mine who helped me overcome a really stupid error that i couldn't figure out because i didn't read the debugging text properly, his name is probably Matei, we communicated through email. And final thanks to awidawad and vashypooh, because i based most of this on the kindle fire utilities ui code, must say their tmp variable was the source of my agony with a java bug. Also to thank my testers lordhavemercy, and thekid41, and halfvast. Have to thank soupmagnet for some recent advice on transferring a error code over adb. Another huge thanks to starstremr for having the patience to help me work out a number of bugs introduced in 2.1 update changes that were made before release.

Now with credit given where due here is the wallpaper fix. I will add a readme file later. Just unzip the file and click the file called RunMe. Linux users run the RunMe.sh, you may have to fix permissions to give it execute permissions though.

Oh thought I'd add if a mod also might want to move this post as a new thread in the general section, I'm ok with that. If that happens i figured more people would see this since it affects 3 different models and this is only listed in the 7' hd section.

Edit:Confirmed this works on the 8.9' HD as well!

For now to help me with any problems you may have with this upon release I unhid the extra text that the programs and such are putting out and included a really crappy debugging script that logs the output. So if you run the program and it completes "successfully" but your wallpaper still wont apply do this:
1. Run the script again, choose restore
2. Right click runme.bat and hit edit, change the first line to say "@echo on" (without quotes). Save and exit.
3.Run the debugger.bat and give it a 5 count then hit 1 and enter, the console's going to remain blank, couldn't find a work around.
4. Wait until your kindle reboots, give your pc a 10 count, then press enter one or two times and send me the debuglog.txt that was created or just send me it in a pm using code tags

Once all the bugs have settled down I'll update with a copy without the extra text showing up.
Anyways try the new version!

Changelog:
2.1
-Got rid of awk bug in windows by switching to findstr
-Fixed broken safeties bug due to previously mentioned awk bug fix
-Fixed restore function again so it works and is safe
-Temporarily disabled the sdcard check for the backup, due to new method being a bit buggy with partitions over 1gb
2.09
-Changed backup path to help people with "system partition is low on disk space" messages
2.08
-Complete overhaul and cleanup of the Linux script (thanks soupmagnet)
-Fixed ./adb.exe in the Linux script
-Fixed patching bools from \ to / in Linux script
-Added a chmod line to Linux script to run at startup to make sure binaries have execute permissions
2.07
-Fixed Linux script Unexpected EOF error
-Fixed some clumsy mistakes in the low disk space warning in Linux script
-Think i fixed a stupid bug in the Linux script randomly trying to download xmlstarlet from source after a bad exit status from script.
-Added latest adb binary to Linux version(windows already had the latest version)
-Fixed safeties i previously implemented in a way that didn't work
2.06
-added some safeties for preventing brick if your sd card or system partition is low on disk space. Some of these safeties may be duds, as i
haven't had the opportunity to test whether an error code from android carries over adb to windows as a bad exit code, and I'm doubtful that
it does, so i will work on making safeties work if they don't in this release.
2.05
-added first revision of linux bash script (plan on updating it to be better later on)
-Added a safety to reduce bricking devices with low disk space on data partition. I have a feeling this is also a possibility of what was
causing some of the initial bricks that were reported on here after release.
2.04
-added a makeshift fix for people with java path issues, lets see how the fix works!
2.03
-Copied a set path function i forgot to originally that may or may not at some point could have caused problems, not too sure though.
2.02
-Changed the Microsoft visual C++ check to use %windir% instead of c:\windows
2.01
-Enabled more output for debugging purposes
-Included a crappy debugger script for helping me improve on errors
2.0
-Initial Release


Hi, i've a Kindle Fire HD 7'' with Amazon OS 7.4.6 I've Rooted, but don't have the Second Bootloader cause don't have the Fastboot Cable.
Can this fix work on my OS?
How are the possibilities to brick my device?

Thanks again for your work!
 

stunts513

Senior Member
Feb 8, 2013
2,238
635
New Braunfels, TX
It will work without 2nd bootloader + twrp, and chances of bricking the device are pretty narrow with all the safeties I implemented. If it detects any low disk space then it will not let it try to apply the fix until you fix that or anything else it might notice.

Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app
 

RaynoxITA

Member
Dec 15, 2013
6
0
It will work without 2nd bootloader + twrp, and chances of bricking the device are pretty narrow with all the safeties I implemented. If it detects any low disk space then it will not let it try to apply the fix until you fix that or anything else it might notice.

IT'S WORKS on my Kindle Fire HD 7" !!!
Thanks A LOT!!!
 

stunts513

Senior Member
Feb 8, 2013
2,238
635
New Braunfels, TX
Yea I miss the kf1 lockscreen, you could simply lock a file with read only access and the lock screen had live wallpaper, can't do that on any of the newer models.

Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app
 

jlamborn3

New member
Jan 1, 2014
3
0
Thanks!

Stunts -- I really appreciate the hard work you put into this. Read through it several times before taking the plunge and was able, a few minutes later, to post a screenshot to Facebook showing off a Death Star live wallpaper that has my son and best friend green.

I don't do a lot of Android mods cuz I use Metro PCS and their phones can't really have much done with them, so I don't bother to root. Rooting my KFHD and playing with launchers has been a great way to spend my free time the past couple of days.

Happy New Year and thanks again!
 

Olnge

New member
Jan 2, 2014
2
0
Help!!!

Help! I don't know whats the problem!!!
Nvm i got it
 

Attachments

  • debuglog.txt
    11.3 KB · Views: 11
Last edited:

Etidorhpa

Member
Aug 25, 2013
12
1
Finally !

Finally Mr Stunz it works! I thought it was a no go for the 4th time trying but finally. I kept getting the error live wallpaper stopped. But when I needed to do was "install" live wallpaper picker!
Now it works!
Thanks for your intelligent hard work.
 
Jan 4, 2014
6
1
Thank you for your work stunts, but I have a real big problem. Everytime I try to use your script with my KFSOWI (New Kindle Fire HD without Frontcam), I get the "Too Low System Space" Error Message. I already tried:
- Removing all optional launchers
- Putting the device in factory reset mode
- Removing Swype and Silk Browser via TitamiumBackup while using your script. At that point somehow ADB couldn't work no more... So I put everything back

Stunts, can you please, please help me. I did not find any solution in any forum of my foreign language and there are many users experiencing the same issue. Please helps us :victory:


PS: In ADB shell "df /system" shows me:
Size 1G / Used 1G / Free 116M
 
Last edited:

stunts513

Senior Member
Feb 8, 2013
2,238
635
New Braunfels, TX
OK I don't have my script in front of me right now but do you have busybox installed? I heard one the hdx's some people were having to install it, guess it's not included in the root process. Try running the command "busybox" from a terminal and see if it recognizes it. If it does it will list a lot of commands, otherwise it will say something like command not found.

Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app
 
Jan 4, 2014
6
1
Thank you very much! I've just installed busybox from 1mobile market and after executing it, everything worked like a charm!
THANKS

PS: I made a reference to your posting @ android-hilfe [dot] de/amazon-forum/521370-diskussion-root-notig-kindle-auf-nova-launcher-umstellen-inkl-wallpaper-2.html#post6993616

I hope you don't mind.
 

Hinzman420

Senior Member
Oct 28, 2010
285
36
every time i do this my notifications bar goes nuts and starts disappearing and reappearing.

Sent from my KFTT using xda app-developers app
 

stunts513

Senior Member
Feb 8, 2013
2,238
635
New Braunfels, TX
Yea from what I can tell you should just need to clear your dalvik cache and cache and it should fix it I think.

Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app
 
  • Like
Reactions: Ph0enix_216

jsncarrier

Member
Jul 6, 2010
48
5
Thank you for your work stunts, but I have a real big problem. Everytime I try to use your script with my KFSOWI (New Kindle Fire HD without Frontcam), I get the "Too Low System Space" Error Message. I already tried:
- Removing all optional launchers
- Putting the device in factory reset mode
- Removing Swype and Silk Browser via TitamiumBackup while using your script. At that point somehow ADB couldn't work no more... So I put everything back

Stunts, can you please, please help me. I did not find any solution in any forum of my foreign language and there are many users experiencing the same issue. Please helps us :victory:


PS: In ADB shell "df /system" shows me:
Size 1G / Used 1G / Free 116M

Does anyone have the background fix working on the kfsowi?? I'm on rooted 11.3.2.1
 

stunts513

Senior Member
Feb 8, 2013
2,238
635
New Braunfels, TX
Does anyone have the background fix working on the kfsowi?? I'm on rooted 11.3.2.1

I'm relunctant to say this will work on this device. It should work but think of it this way, right now we have no way of restoring that kindle from a brick. I'm trying to make a sparse image that can restore the kindle from a brick but my progress is a little slow going, partially because of my stupidty, but also because i don't have a bricked 2013 kindle(or a working one for that matter) to test my images on, so i'm having to try making a sparsed image, upload around 850mb to devhost(atleast an hour or 2), and then wait for someone to download it and test it on their bricked device, and repeat until it works. I would personally be more confident applying the fix manually to that device, but as long as it is rooted it should work. I have many safeties in my script, just check to see that you have busybox installed before running the fix, as i heard anythign after the 2012 models don't come with busybox in the rooting method.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 30
    Version 2.1 Released!

    Disclaimer: By using my script, you understand and accepts that I, and any people mentioned, will NOT be held responsible in the event that your device bricks, get stuck in boot loops, or any other damage.

    Ok after debugging my script and making it better for 3-4 days, i finally have a safe version for the general public. Things you should know:

    • Highly recommended that you have 2nd boot loader + twrp in the rare chance this bricks your kindle, because you can adb from twrp and restore the backup
    • If you have any alternative launchers installed, the widget picker apk, and/or the live wallpaper apk, it's suggested removing these before running my script or it may tell you your system partition is too low on disk space to continue.
    • This is for OS 10.4.1, 7.4.1, and 8.41 and probably up if they keep this feature disabled
    • You need a rooted device for this to work
    • You need java installed
    • You need Microsoft Visual C++ Redist installed
    • If it stays on "waiting for device" you have adb driver problems, I would suggest perusing the forums for a solution
    • DON"T PULL YOUR CABLE DURING THE PROCEDURE! < very important
    I have learned a lot through making this, such as you have to make this n00b proof in terms of safety features. I also learned that i hate batch coding with a passion. I will release an update soon with the Linux bash script version of this in it, it may or may not work for mac users, I don't have any OS X macs around to check for commands like awk, but base don the last time i used one in school they didn't have half of the busybox commands I'm used to in them.

    Compatible Devices:
    1. Kindle Fire HD 7"
    2. Kindle Fire HD 8.9"
    3. Kindle Fire 2
    4. Kindle Fire HDX 7"
    5. Kindle Fire HDX 8.9"

    Many thanks to pjeby, who worked with me to make sure it had plenty of safeties to prevent bricks,and gave me the process to know how to do this so i could figure out a way to automate it, as well as checking my script every few updates. Also would like to give credit to JulianPaoloThiry, who noticed where the problem resided. Have to give some credit to a friend of a friend of mine who helped me overcome a really stupid error that i couldn't figure out because i didn't read the debugging text properly, his name is probably Matei, we communicated through email. And final thanks to awidawad and vashypooh, because i based most of this on the kindle fire utilities ui code, must say their tmp variable was the source of my agony with a java bug. Also to thank my testers lordhavemercy, and thekid41, and halfvast. Have to thank soupmagnet for some recent advice on transferring a error code over adb. Another huge thanks to starstremr for having the patience to help me work out a number of bugs introduced in 2.1 update changes that were made before release.

    Now with credit given where due here is the wallpaper fix. I will add a readme file later. Just unzip the file and click the file called RunMe. Linux users run the RunMe.sh, you may have to fix permissions to give it execute permissions though.

    Oh thought I'd add if a mod also might want to move this post as a new thread in the general section, I'm ok with that. If that happens i figured more people would see this since it affects 3 different models and this is only listed in the 7' hd section.

    Edit:Confirmed this works on the 8.9' HD as well!

    For now to help me with any problems you may have with this upon release I unhid the extra text that the programs and such are putting out and included a really crappy debugging script that logs the output. So if you run the program and it completes "successfully" but your wallpaper still wont apply do this:
    1. Run the script again, choose restore
    2. Right click runme.bat and hit edit, change the first line to say "@echo on" (without quotes). Save and exit.
    3.Run the debugger.bat and give it a 5 count then hit 1 and enter, the console's going to remain blank, couldn't find a work around.
    4. Wait until your kindle reboots, give your pc a 10 count, then press enter one or two times and send me the debuglog.txt that was created or just send me it in a pm using code tags

    Once all the bugs have settled down I'll update with a copy without the extra text showing up.
    Anyways try the new version!

    Changelog:
    2.11
    -fixed a syntax bug in the Linux script.
    2.1
    -Got rid of awk bug in windows by switching to findstr
    -Fixed broken safeties bug due to previously mentioned awk bug fix
    -Fixed restore function again so it works and is safe
    -Temporarily disabled the sdcard check for the backup, due to new method being a bit buggy with partitions over 1gb
    2.09
    -Changed backup path to help people with "system partition is low on disk space" messages
    2.08
    -Complete overhaul and cleanup of the Linux script (thanks soupmagnet)
    -Fixed ./adb.exe in the Linux script
    -Fixed patching bools from \ to / in Linux script
    -Added a chmod line to Linux script to run at startup to make sure binaries have execute permissions
    2.07
    -Fixed Linux script Unexpected EOF error
    -Fixed some clumsy mistakes in the low disk space warning in Linux script
    -Think i fixed a stupid bug in the Linux script randomly trying to download xmlstarlet from source after a bad exit status from script.
    -Added latest adb binary to Linux version(windows already had the latest version)
    -Fixed safeties i previously implemented in a way that didn't work
    2.06
    -added some safeties for preventing brick if your sd card or system partition is low on disk space. Some of these safeties may be duds, as i
    haven't had the opportunity to test whether an error code from android carries over adb to windows as a bad exit code, and I'm doubtful that
    it does, so i will work on making safeties work if they don't in this release.
    2.05
    -added first revision of linux bash script (plan on updating it to be better later on)
    -Added a safety to reduce bricking devices with low disk space on data partition. I have a feeling this is also a possibility of what was
    causing some of the initial bricks that were reported on here after release.
    2.04
    -added a makeshift fix for people with java path issues, lets see how the fix works!
    2.03
    -Copied a set path function i forgot to originally that may or may not at some point could have caused problems, not too sure though.
    2.02
    -Changed the Microsoft visual C++ check to use %windir% instead of c:\windows
    2.01
    -Enabled more output for debugging purposes
    -Included a crappy debugger script for helping me improve on errors
    2.0
    -Initial Release
    7
    My Thoughts On Stunt's Wallpaper Fix

    Hey guys I don't think it's fair to get on Stunt about his script. Just like any script on the forum you take a chance of bricking your Kindle. The guys that provide these scripts for us take a chance with their own Kindles in order to even make their scripts available. They advise you when using their scripts that you are doing so at your own risk.

    I was one who had a bricked Kindle after using the script, but I was always able to restore it with backups, etc. Yes, it was frustrating, but what made the experience okay for me is that there were other members that did not experience bricking on their device. So, I knew the script worked, it had to be something I was doing or even the software I had on my Kindle. The experience wasn't bad because Stunt hung in there with me until he figured out why I was having problems with the script.

    In fact, to make anything better it's always about trial and error. You have to have someone with a bricked device to report their findings to the coder so they can modify the script to make it work under most circumstances.

    I really appreciate people like Stunt, Hashcode, and others because they do this without compensation for the countless of hours they pour into these free scripts to help those of us who are not coders or hackers to enjoy our tablets.

    What's important is to take heed to their advice and back up your tablet so it won't be a devastating experience if you need to restore it. It is your responsibility to take precautions so you are not holding a brick after one of these scripts don't work the way it is designed. I knew I would brick my device, but before I started using the scripts, I purchased a fastboot cable to have on hand. That has been a life saver. If you are going to root your Kindle or use any script on the forum, you need to purchase one of those cables either here or on Amazon.

    These are some good guys, talented and committed to helping us Kindle owners be able to enjoy our devices. They pour a lot of time and effort into these scripts. So, instead of insulting them or criticizing their work use their script, note what happens to your device when using it and report back to them. This helps them to make a better script for everyone.

    The script works, but you have to take some precautions to limit the time you may have to spend restoring your Kindle in case it doesn't work. You use these scripts at your own risk. Instead of criticizing, encourage Stunt by reporting any errors in the script or what happened during the script that bricked your device. That's the only way to make the script better where it will work for anyone using it.

    The script works. My Kindle Fire HD 7 is displaying beautiful live wallpapers because of Stunt's script and because we communicated about the difficulties I was having with the script (In fact, I'm considering restoring my Kindle HD 7 back to square one to assist with his new script).

    Stunt provided suggestions and even went back to the drawing board to make the script better so others wouldn't have the same problem I was having (memory issue). That in my opinion shows commitment and integrity. Stunt could have done nothing, but he kept working to modify the script so it would work better for anyone wanting to use it.

    In my book, that calls for KUDOs to Stunt, not criticism. The script works.
    3
    Just thought I'd post an update, the automated wallpaper fix is pretty much done, I am going to fancify the menus tomorrow to make it look more like binaries root menus, but I have the restore function implemented, and also implemented a way to make this theoretically work on all kindles plus future updates if the bools.xml is different than mine. Still need a HD 8.9" tester, and my kf2 tester should be testing my latest revision tomorrow ( as in when I wake up because its almost 6 am). Also out of curiosity what forum should I post the wallpaper fix in when its done, the general one? Oh and I will make the Linux script when I'm done with the windows batch version. The Linux version should take all of 5 min to create because I used a few Linux commands included in windows binaries, made my life so much easier. But I learned one thing throughout this process, I hate batch file coding. After using bash for a while, you notice how much more flexible bash is than batch, took me the better part of an hour to figure out how to store a programs' output as a variable in windows... Now that I'm done ranting, Plz give me a 8.9 inch tester!

    Sent from my Amazon Kindle Fire HD using xda app-developers app
    3
    No such thing as "safe" when modding

    Hey, how's everything going so far. I have a few questions if you don't mind answering them!!!
    1. Is it safe on the Kindle Fire HD 7?

    As safe as modifying your Kindle in general is, which is to say, not very. ;)

    If you mean, "does it work on the KFHD7?", the answer is yes, because that's what I used to work this out on.

    Will it brick it. From yesterday's experience I don't want it happening again.

    I hear you. I bricked my machine more than once figuring this out, but the steps I've given should be sufficient for someone who understands what they're doing to avoid repeating my mistakes.

    2. Is the new framework-res overwriting the current one do I have to cut the old one out and past the new one?

    You should not install this by copy and paste. Not because it can't be done (my first attempt was done that way), but because if it's too much trouble to set up and use adb first, then you're not going to be in a position to recover if you make a mistake. ;) Set up adb and make darn sure you can get in. Better yet, use KFFirstAide and back everything the hell up before you start, use it to install drivers and test adb communication, etc., before you start.

    3. What directory is it In can't seem to find it.

    The file is /system/framework/framework-res.apk. It has to be copied, decompiled, altered, recompiled, and a specific file re-merged with the original version in order to create a new version. It is not something you can edit by hand, you need apktool and a good zip utility. I believe stunts513 is including all the needed tools with his script.


    Thanks for all your help and I can't wait to try it out IF ITS SAFE :)

    There are no guarantees here, and always the possibility of *something* breaking. I've been reviewing stunts513's scripts as he works on them, identifying places where things could break (as is he), and we're trying to make it bulletproof, but there is still no such thing as 100% bulletproof, not on a hobbyist budget. No way to know if something will be different about your specific PC or Kindle, which is part of why I wouldn't upload my working modded file. The script stunts513 is writing should hopefully work even if the framework-res.apk file on your machine is 100% unique, because it pulls the file off first and then only modifies the smallest possible part that needs changing.
    3
    Sorry to hear it bricked your kindle, I wish I had some debugging info so I could find out why it did. I have used it on mine during testing about 10 times, back and forth between installing modded one to the backed one without problems. Strange that this happened. Personally I recommend having 2nd boot loader installed + twrp so if u get bricked it much easier to fix with a restore. Maybe I should update it to have enabled logging of the utility so if there are bricks it will record the process of the command prompt and they could send me them.
    If you can get your kindle into adb mode the original framework is backed up in the same folder, my apps restore function should fix it but if u prefer doing it manually after a bad experience u need to run adb shell then mount the system as writeable and su -c 'mv /system/framework/framework-res.apk.orig /system/framework/framework-res.apk'. Like I said my script will d this for you automatically though.
    Sent from my Amazon Kindle Fire HD using xda app-developers app