FORUMS
Remove All Ads from XDA

Can't set wallpaper after latest ota update

2,242 posts
Thanks Meter: 632
 
By stunts513, Senior Member on 26th May 2013, 01:18 AM
Post Reply Email Thread
2nd June 2013, 06:48 PM |#71  
Geckodudes's Avatar
Member
Petaluma
Thanks Meter: 13
 
More
Info 2 Yes!
Quote:
Originally Posted by JORDANZ1998

I would just post the file right here. Since the people are looking up a way to fix this issue will probably find this thread. I did

Ditto!

btw, is there any thread that shows which files change the battery indicators for the new Kindle stock ROM? I'd like to have the new battery indicators, but I don't know if/how I can get them without updated, rooting, and doing the wallpaper thing.
The Following User Says Thank You to Geckodudes For This Useful Post: [ View ] Gift Geckodudes Ad-Free
 
 
2nd June 2013, 07:19 PM |#72  
stunts513's Avatar
OP Senior Member
Flag New Braunfels, TX
Thanks Meter: 632
 
Donate to Me
More
Its probably in the new systemui.apk you'd have to mod the old one with an image from the new I guess, probably using the same method my automation script does for this fix. On a side note I am confirming my script works on kindle fire 2.

Sent from my Amazon Kindle Fire HD using xda app-developers app
The Following User Says Thank You to stunts513 For This Useful Post: [ View ] Gift stunts513 Ad-Free
3rd June 2013, 02:48 AM |#73  
JORDANZ1998's Avatar
Senior Member
Flag New England
Thanks Meter: 13
 
More
Quote:
Originally Posted by stunts513

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

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? Will it brick it. From yesterday's experience I don't want it happening again.
2. Is the new framework-res overwriting the current one do I have to cut the old one out and past the new one?
3. What directory is it In can't seem to find it.
Thanks for all your help and I can't wait to try it out IF ITS SAFE
3rd June 2013, 04:28 AM |#74  
Junior Member
Thanks Meter: 9
 
More
No such thing as "safe" when modding
Quote:
Originally Posted by JORDANZ1998

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.

Quote:

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.

Quote:

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.

Quote:

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.


Quote:

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.
The Following 3 Users Say Thank You to pjeby For This Useful Post: [ View ] Gift pjeby Ad-Free
4th June 2013, 04:09 AM |#75  
stunts513's Avatar
OP Senior Member
Flag New Braunfels, TX
Thanks Meter: 632
 
Donate to Me
More
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
Attached Files
File Type: zip Stunts_Wallpaper_Fix_v2.11.zip - [Click for QR Code] (5.68 MB, 586 views)
The Following 30 Users Say Thank You to stunts513 For This Useful Post: [ View ] Gift stunts513 Ad-Free
4th June 2013, 04:19 AM |#76  
JORDANZ1998's Avatar
Senior Member
Flag New England
Thanks Meter: 13
 
More
Quote:
Originally Posted by stunts513

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, hasn't been tested on the Kindle 8.9", but i have someone willing to volunteer, just waiting for their results. Things you should know:

  • 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
  • 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 bash 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.

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.

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.

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.

So overall this is pretty safe for the Kindle Fire HD 7 and will give you wallpaper and live wallpaper support back???
The Following User Says Thank You to JORDANZ1998 For This Useful Post: [ View ] Gift JORDANZ1998 Ad-Free
4th June 2013, 04:26 AM |#77  
stunts513's Avatar
OP Senior Member
Flag New Braunfels, TX
Thanks Meter: 632
 
Donate to Me
More
Yes and the live wallpaper you have to get its apk and put it in the system app folder and set the permissions yourself, mine doesn't install live wallpaper. Also i don't know if it did it before this update, but go launcher hd doesn't give me the option to choose live wallpaper, the other launchers do though, so i had to install a live wallpaper chooser app to get the pick screen to come up. I will now flash back to cm10.1 because i prefer it in almost every way over stock os.

Sent from my KFTT using xda app-developers app
The Following User Says Thank You to stunts513 For This Useful Post: [ View ] Gift stunts513 Ad-Free
4th June 2013, 04:38 AM |#78  
JORDANZ1998's Avatar
Senior Member
Flag New England
Thanks Meter: 13
 
More
Sorry posted this on wrong thread though I was on another one.
4th June 2013, 04:59 AM |#79  
Geckodudes's Avatar
Member
Petaluma
Thanks Meter: 13
 
More
Location
Quote:
Originally Posted by JORDANZ1998

So overall this is pretty safe for the Kindle Fire HD 7 and will give you wallpaper and live wallpaper support back???

It bricked my Kindle...7
4th June 2013, 05:00 AM |#80  
DroidIt!'s Avatar
Senior Member
Flag Wisconsin
Thanks Meter: 7,304
 
More
Wrong thread, oops
4th June 2013, 05:06 AM |#81  
stunts513's Avatar
OP Senior Member
Flag New Braunfels, TX
Thanks Meter: 632
 
Donate to Me
More
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
The Following 3 Users Say Thank You to stunts513 For This Useful Post: [ View ] Gift stunts513 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes