[BACKUP][RECOVERY] Kindle Fire HD and 2 First Aide Software - Noob (Simple) Version

In your opinion, when looking back at this thread, how easy were the instructions?


  • Total voters
    311
Search This thread

prokennexusa

Senior Member
Jan 12, 2012
2,637
989
57
Petaluma
plus.google.com
Kindle Fire HD and 2 First Aide Software - Option 27 Test

Prokennexusa,

I just tried the latest version and i can see that the second root method (option 21) works!

but still the problem with permissions has not been fixed and its causing some if not most of the tool's options to fail !!

AmrBanawan,

This does not make any sense unless the SU Binary is not functioning as designed. Your Kindle must be sick, the only option that was in question was the Root option but the other features have been around a while now and after 6,000 plus downloads we would have heard of a problem by now.

Let have you give us the output of Option 27, with the output we will be able to determine what is failing on your Kindle.
 

Infobits

Senior Member
Jul 11, 2009
144
30
Infobits,

The problem is this is not making sense. The reason is the Google Apps install does not remove anything, it adds software that other people have been using for about 8 months now - including us internally and since we have Amazon Prime we would had complaints by now.

At first we thought, maybe the Ad service does something to Video's but no, this was not the case. We just pulled a brand new Kindle out of the box, performed Option 21 Root and then did Option 18 to install Google Play Store, the did Option 23 installed Google Apps.

We then installed Apex Launcher, clicked on the Home icon, went to Amazon Videos, and selected a Prime Video, it began to play!

The only difference between your Kindle and our Kindle is Apex Launcher. Did you run any other Options on your Kindle? We are trying to replicate your problem.

Give us an hour or two, let's have you Install Apex Launcher. In the mean time let us know if you ran any other options on the Kindle. Did you run any of the Audio upgrades? Now that option may effect the Video service, let us know.

Hi, no I did not load any of the other selections. I only loaded the Google Apps but that failed at first time run due to I had the toolkit installed on my D: drive instead of C: drive. I let the installation continue with all of the errors saying C: drive not found errors since I was afraid to interupt it midsteam and cause major out of sync corrupting of the environment. After I let that finish running, I then fixed the toolkit to run under the correct drive and find the directories. It then reran the Google apps install step and let it finish. When it finished I had the google apps installed but the screen presentation was corrupted. The screen did not show the top and bottom navigation menu bars, so I could not navigate nor access the settings any longer. So something must have got corrupted due to the first running of the scripts with the wrong drive letter.
After this I went ahead just for the sake of it and ran the other google assignments step in the toolkit. When that completed the tablet screen returned back to normal showing the top and bottom menu and navigation screens buttons again. So I was almost there... but then noticed that many of the Amazon apps would not lauch from the top menu launch menu list (e.g. - music, web, video, photos, etc). I had some apps that I had installed from the Amazon store (like ES Explorer, Twitter, Facebook and a few others) and those apps were no longer listed in apps nor to be found anywhere. When I tried to download and reinstall ES Explorer from the Amazon store, it said that I already have that installed and to go find it on my local device. It will not allow me to reinstall it! dang Amazon eco system sux!, So then I attempted to install it from the Google Play app store and that also fails to install saying "incompatible device!". I am so frustrated and worried that I messed up my $402 tablet.

Let's get to the main worry I have though... that is why can't I get any response for fastboot mode? My tablet enters fastboot mode showing the words fastboot on the screen. But then it just hangs and sits there unresponsive to any fastboot issued commands. What do I need to change or do to fix this situation? I want to restore back to my initial system images which are backed up both on my tablet and on my PC drive in the folder named "kindlebackup".

Since the backup recovery images are on my tablet already, is there an adb recovery mode on these Kindle HD 8.9 devices where I can restore them back? (instead of using fastboot mode)? I see you are always cautioning and mention about the fastboot cables that you offer for sale... I see many on ebay too. I am wondering if I have to buy one or not. Can you answer me if this situation I am in is normal or seen before or is my tablet in a unique situation here with damaged bootloader?

P.S. - I keep forgetting to also mention that I ran a few other steps trying to see if they would clear up the missing amazon functionalities too.
I ran the "Fix the Android System Permissions and Anamolies" step and that did not fix it either.

BTW, what Windows OS' have you tested your toolkit and drivers on? I am on Windows 8 Pro. Anyone else using Windows 8 successfully with fastboot mode on the HD 8.9? Maybe I should dig up an old Windows 7 PC drive and try to use fastboot on Windows 7?
 
Last edited:

AmrBanawan

Senior Member
Nov 26, 2012
245
43
Alexandria
Prokennexusa,

Before you decide what's wrong, You should know that earlier today i made a complete reset to my kindle

And BTW, Since i can't resize the cmd window anymore, I missed a few lines (You will know which ones)

Option 27 returned the following:

Code:
***********************************************************
*Please Make Sure ADB Is Enabled On The Kindle By Going To*
* The Kindle Menu More - Security - Enable ADB  (Turn On) *
*And You Have The Kindle Plugged In To USB Using A Normal *
*  USB Cable To The Computer, NOT The Factory USB Cable   *
***********************************************************

Press any key to continue . . .

************************************************
* OK Here We Go, We Are Beginning The Process! *
************************************************

*****************************************************
*We Are Now Prepping The Kindle, Please Wait........*
*****************************************************

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
rm failed for app, Is a directory

* server not running *
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

*******************************************************
* We Are Now Installing Sony xLoud
'ClearAudio+' is not recognized as an internal or external command,
operable program or batch file.
* During The Install The Kindle Will Look Unusual, Do *
* Not Worry Or Interrupt The Install Process Once The *
*Install Starts. Make Sure The Kindle Is Plugged Into *
*             USB, Are You Ready?                     *
*******************************************************

Press any key to continue . . .

******************************************************
*Here We Go, We Are Now Prepping The Kindle To Accept*
*              An Automated Install.                 *
******************************************************

failed to copy 'C:\KFFirstAide\busybox' to '/data/local/tmp/busybox': Permission denied
Unable to chmod /data/local/tmp/busybox: No such file or directory
Unable to chmod /data/local/tmp/busybox: No such file or directory
sh: /data/local/tmp/busybox: not found
sh: /data/local/tmp/busybox: not found

**********************************
*We Are Now Rebooting The Kindle.*
**********************************

* server not running *
* daemon not running. starting it now on port 5037 *
* daemon started successfully *


sh: /data/local/tmp/busybox: not found
sh: cannot create nul: Read-only file system
sh: /data/local/tmp/busybox: not found

***********************************************************
*We Are Rebooting The Kindle. The Kindle Will Look Unusual*
*          After The Reboot, This Is Normal.              *
***********************************************************

* server not running *
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

failed to copy 'C:\KFFirstAide\xsystem\app\AudioEffectService.apk' to '/system/a
pp/AudioEffectService.apk': Read-only file system
failed to copy 'C:\KFFirstAide\xsystem\etc\permissions\com.sonyericsson.audioeffectif.xml' to  '/system/etc/permissions/com.sonyericsson.audioeffectif.xml':Read-only file system
failed to copy 'C:\KFFirstAide\xsystem\framework\semc_audioeffectif.jar' to  '/system/framework/semc_audioeffectif.jar':Read-only file system
failed to copy 'C:\KFFirstAide\xsystem\lib\libacdbloader.so' to '/system/lib/libacdbloader.so': Read-only file system
failed to copy 'C:\KFFirstAide\xsystem\lib\libacdbmapper.so' to '/system/lib/libacdbmapper.so': Read-only file system
failed to copy 'C:\KFFirstAide\xsystem\lib\libaudcal.so' to '/system/lib/libaudcal.so': Read-only file system



Unable to chmod /system/app/AudioEffectService.apk: No such file or directory
Unable to chmod /system/etc/permissions/com.sonyericsson.audioeffectif.xml: No such file or directory
Unable to chmod /system/framework/semc_audioeffectif.jar: No such file or directory
Unable to chmod /system/lib/libacdbloader.so: No such file or directory
Unable to chmod /system/lib/libacdbmapper.so: No such file or directory
Unable to chmod /system/lib/libaudcal.so: No such file or directory
Unable to chmod /system/lib/libaudioparsers.so: No such file or directory
Unable to chmod /system/lib/libmm-audio-resampler.so: No such file or directory
Unable to chmod /system/lib/libsurround_proc.so: No such file or directory
Unable to chmod /system/lib/libvptwrapper.so: No such file or directory
Unable to chmod /system/lib/libvt_jni.so: No such file or directory
Unable to chmod /system/lib/soundfx/libclearaudiowrapper.so: No such file or directory
Unable to chmod /system/lib/soundfx/libfnrwrapper.so: No such file or directory
Unable to chmod /system/lib/soundfx/libhearingprotection.so: No such file or directory
Unable to chmod /system/lib/soundfx/libposteffectwrapper.so: No such file or directory
Unable to chmod /system/lib/soundfx/libpreeffectwrapper.so: No such file or directory
Unable to chmod /system/lib/soundfx/libsoundaurawrapper.so: No such file or directory
Unable to chmod /system/lib/soundfx/libvptwrapper.so: No such file or directory
Unable to chmod /system/lib/soundfx/libxloudwrapper.so: No such file or directory
sh: /data/local/tmp/busybox: not found

*******************************************************
*We Are Now Inserting Lines Into The Kindle build.prop*
*******************************************************

sh: /data/local/tmp/busybox: not found
/system/bin/sh: no closing quote
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
sh: /data/local/tmp/busybox: not found

****************************************************
*We Are Now Rebooting The Kindle And Restoring The *
*                   Appearance.                    *
****************************************************

sh: /data/local/tmp/busybox: not found
sh: /data/local/tmp/busybox: not found

rm failed for app, Is a directory

* server not running *
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
 

dekor8tor

Member
Oct 25, 2011
28
0
Cannock
hi chris still having problems with latest rev using option 21 goes through the root process but does not root




***********************************************************
*Please Make Sure ADB Is Enabled On The Kindle By Going To*
* The Kindle Menu More - Security - Enable ADB (Turn On) *
*And You Have The Kindle Plugged In To USB Using A Normal *
* USB Cable To The Computer, NOT The Factory USB Cable *
***********************************************************

Press any key to continue . . .

* daemon not running. starting it now on port 5037 *
* daemon started successfully *

******************************************************
*We Are Now Beginning The Root Process, Please Wait. *
*During The Upgrade The Kindle Will Look Unusual, Do *
*Not Worry Or Interrupt The Install Process Once The *
*Install Starts. Make Sure The Kindle Is Plugged Into*
* USB, Are You Ready? *
******************************************************

failed on '/data/local/tmp' - Permission denied
link failed File exists

**********************************
*We Are Now Rebooting The Kindle.*
**********************************

Press any key to continue . . .






***********************************************************
*Please Make Sure ADB Is Enabled On The Kindle By Going To*
* The Kindle Menu More - Security - Enable ADB (Turn On) *
*And You Have The Kindle Plugged In To USB Using A Normal *
* USB Cable To The Computer, NOT The Factory USB Cable *
***********************************************************

Press any key to continue . . .

* daemon not running. starting it now on port 5037 *
* daemon started successfully *

******************************************************
*We Are Now Beginning The Root Process, Please Wait. *
*During The Upgrade The Kindle Will Look Unusual, Do *
*Not Worry Or Interrupt The Install Process Once The *
*Install Starts. Make Sure The Kindle Is Plugged Into*
* USB, Are You Ready? *
******************************************************

failed on '/data/local/tmp' - Permission denied
link failed File exists

**********************************
*We Are Now Rebooting The Kindle.*
**********************************

Press any key to continue . . .

*************************************************
* Phase One *
* This Is The First Attempt To Exploit The *
* Kindle, If This Fails We Have A Second *
* Exploit. *
*************************************************

error: device not found
error: device not found

***********************************************************
*We Are Rebooting The Kindle. The Kindle Will Look Unusual*
* After The Reboot, This Is Normal. *
***********************************************************

* daemon not running. starting it now on port 5037 *
* daemon started successfully *






*****************************************************
* We Are Now Testing Superuser...Please Wait *
* This Test May Tak A Few Minutes.......... *
*****************************************************

* daemon not running. starting it now on port 5037 *
* daemon started successfully *

/system/bin/sh: find: not found

**********************************************
*Looks Good! The Root Permission Test Passed!*
**********************************************

*******************************************
* OK, We Are Now Installing Root Checker *
* Basic. After The Kindle Reboot You Will *
* Be Able To Find Root Checker Basic Under*
* The Kindle Apps. Please Use This Program*
* To Test Root. *
*******************************************

failed to copy 'C:\KFFirstAide\suchecker.apk' to '/data/local/tmp/suchecker.apk': Permissi
on denied
rm failed for /data/local/tmp/suchecker.apk, No such file or directory

*******************************************************
*The Kindle Now Has Root! After The Reboot Please Goto*
* Kindle Apps On The Device And Launch Superuser To *
* Initialize The Service. *
*******************************************************

rm failed for /data/local.prop, No such file or directory
rm failed for *, No such file or directory

* daemon not running. starting it now on port 5037 *
* daemon started successfully *



No Superuser in the apps hope this helps


this is opt 33




***********************************************************
*Please Make Sure ADB Is Enabled On The Kindle By Going To*
* The Kindle Menu More - Security - Enable ADB (Turn On) *
*And You Have The Kindle Plugged In To USB Using A Normal *
* USB Cable To The Computer, NOT The Factory USB Cable *
***********************************************************

************************************************
* OK Here We Go, We Are Beginning The Process *
* Of Making Google Play Store Your Default *
* Market. *
************************************************

*****************************************************
*We Are Now Prepping The Kindle, Please Wait........*
*****************************************************

* daemon not running. starting it now on port 5037 *
* daemon started successfully *

/system/bin/sh: su: not found

failed to copy 'C:\KFFirstAide\busybox' to '/data/local/tmp/busybox': Permission denied
/system/bin/sh: su: not found
/system/bin/sh: su: not found
/system/bin/sh: su: not found
/system/bin/sh: su: not found
/system/bin/sh: su: not found
/system/bin/sh: su: not found

**********************************
*We Are Now Rebooting The Kindle.*
**********************************

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
 

Infobits

Senior Member
Jul 11, 2009
144
30
Hi, no I did not load any of the other selections. I only loaded the Google Apps but that failed at first time run due to I had the toolkit installed on my D: drive instead of C: drive. I let the installation continue with all of the errors saying C: drive not found errors since I was afraid to interupt it midsteam and cause major out of sync corrupting of the environment. After I let that finish running, I then fixed the toolkit to run under the correct drive and find the directories. It then reran the Google apps install step and let it finish. When it finished I had the google apps installed but the screen presentation was corrupted. The screen did not show the top and bottom navigation menu bars, so I could not navigate nor access the settings any longer. So something must have got corrupted due to the first running of the scripts with the wrong drive letter.
After this I went ahead just for the sake of it and ran the other google assignments step in the toolkit. When that completed the tablet screen returned back to normal showing the top and bottom menu and navigation screens buttons again. So I was almost there... but then noticed that many of the Amazon apps would not lauch from the top menu launch menu list (e.g. - music, web, video, photos, etc). I had some apps that I had installed from the Amazon store (like ES Explorer, Twitter, Facebook and a few others) and those apps were no longer listed in apps nor to be found anywhere. When I tried to download and reinstall ES Explorer from the Amazon store, it said that I already have that installed and to go find it on my local device. It will not allow me to reinstall it! dang Amazon eco system sux!, So then I attempted to install it from the Google Play app store and that also fails to install saying "incompatible device!". I am so frustrated and worried that I messed up my $402 tablet.

Let's get to the main worry I have though... that is why can't I get any response for fastboot mode? My tablet enters fastboot mode showing the words fastboot on the screen. But then it just hangs and sits there unresponsive to any fastboot issued commands. What do I need to change or do to fix this situation? I want to restore back to my initial system images which are backed up both on my tablet and on my PC drive in the folder named "kindlebackup".

Since the backup recovery images are on my tablet already, is there an adb recovery mode on these Kindle HD 8.9 devices where I can restore them back? (instead of using fastboot mode)? I see you are always cautioning and mention about the fastboot cables that you offer for sale... I see many on ebay too. I am wondering if I have to buy one or not. Can you answer me if this situation I am in is normal or seen before or is my tablet in a unique situation here with damaged bootloader?

P.S. - I keep forgetting to also mention that I ran a few other steps trying to see if they would clear up the missing amazon functionalities too.
I ran the "Fix the Android System Permissions and Anamolies" step and that did not fix it either.

BTW, what Windows OS' have you tested your toolkit and drivers on? I am on Windows 8 Pro. Anyone else using Windows 8 successfully with fastboot mode on the HD 8.9? Maybe I should dig up an old Windows 7 PC drive and try to use fastboot on Windows 7?

Hey! I got out my old Gateway netbook which runs Windows 7 32 bit OS and installed your Windows32Bit toolkit and set it all up. And now your provided ADB drivers installed successfully. And now it successfully can issue fastboot mode commands! That's the good news for me.
The bad news is that the step 25 to restore full backup images did not seem to run or work properly. I noticed that the gunzip.exe commands in the RunMe.bat file were not uncompressing the image.gz files. You have to tell gunzip.exe to uncompress the files by specifying the "-d" option as follows: gunzip.exe -d <imagefile.img.gz>
So I edited those likes for step 25, to add the "-d" option and ran the toolkit to try to restore my sysytem. But then it fails with all these messages:


The system cannot find the path specified.
target reported max download size of 1006632960 bytes
error: cannot load 'xloader.img': No error

target reported max download size of 1006632960 bytes
error: cannot load 'bootloader.img': No error

target reported max download size of 1006632960 bytes
error: cannot load 'idme.img': No error

target reported max download size of 1006632960 bytes
error: cannot load 'crypto.img': No error

target reported max download size of 1006632960 bytes
error: cannot load 'misc.img': No error

target reported max download size of 1006632960 bytes
error: cannot load 'dkernel.img': No error

target reported max download size of 1006632960 bytes
error: cannot load 'dfs.img': No error

target reported max download size of 1006632960 bytes
error: cannot load 'efs.img': No error

target reported max download size of 1006632960 bytes
error: cannot load 'recovery.img': No error

target reported max download size of 1006632960 bytes
error: cannot load 'boot.img': No error

target reported max download size of 1006632960 bytes
error: cannot load 'system.img': No error


*****************************************************************
* OK, We Are Done Restoring The Kindle, Now We Will Do A Little *
* House Cleaning By Wiping The Davlik Cache And User Data *
*****************************************************************

erasing 'userdata'...

And it is still hung sitting there saying "erasing 'userdata'"... I am afraid to break out of this routine and see that it did not restore my image files and might now have went ahead and wiped my data and bricked my tablet? Dang! You've got to improve your scripts to not forge ahead wiping and changing any further if such critical errors take place. Your script should halt and not continue to corrupt up the system if a critical file fails to load or execute. Just a suggestion. I hope my tablet is not in a corrupt state after I control-C out of this restore step now... I will post back result later on if it did or not. Also you need to add mention in your first post that the included drivers do not work on Windows 8 for fastboot mode. talk to you later...

Damn, now the tablet won't boot up anymore. It gets paste flashing the Kindle Logo and a Google Android screen appears asking to sign in.
When I sign in with my google account it goes to the wi-fi settings screen to configure your wi-fi settings. But after setting up my wi-fi config, I am stuck on that screeen with no way out of it because once again the screens top and bottom menus and navigation buttons are no longer displayed or available. I plugged the tablet into my PC to see if I can get adb devices to work and it does not see the device any longer! I am stuck and locked out of any further updating it now. The regular USB windows drive does show up when I plug it into the PC and all my folders are wiped clean! Totally wiped all my data, bookls, everything! WTF?

You really should update your scripts to prevent wiping or changing the system if the script encounters a serious error like it did here not loading my backup images... but still went on to wipe the system data and cache. Ouch! Is there anyway to get back into this tablet now?

Update: I rebooted my tablet again with it connected to the PC. It came up again with the Welcome to Android screen asking if I want to sign into an account. This time I refused it and it went on to ask me to sign in to my Amazon Prime acct to register the device. From there it began refreshing my tablet. So it looks like I got back to near fresh system so far. I am checking it out further to see if I can begin all over using it from this state or if anything else might seem to be corrupt or missing. I see a bunch of icons from my previous old apps that were loaded before the wipe out but not sure they are really installed or active at this time. But for now, a sigh of relief from me that my tablet was not locked up and bricked. I can get back into adb now too. So I am relieved.
 
Last edited:
Kindle Fire First Aide Step 8: Please click on the Windows Key plus Pause/Break, this will display the Windows System Properties. Next Click on the Advanced Tab and find "Environment Variables". Please click on Environment Variables and find the Path Statement. Carefully add at the end of the Path Statement:

Code:
;C:\KFFirstAide
Kindle Fire First Aide Step 9: That is it! The software is ready. Next we get the Kindle ready to Flash.

Note: Do Not forget the semi-colon before the C:\KFFirstAide

Note that at this step in the process, on the Environment Variables page, there are actually 2 sections, each containing a Path variable. The top set of values apply only to the Logged-in User while the bottom set is the System variables (apply to all users system wide).

I assume that you want the user to add the path variable to the System PATH variable and not the user one, right? If so, you should clarify this in the instructions. Or does it not matter?

---------- Post added at 07:19 PM ---------- Previous post was at 06:22 PM ----------

I thought I'd reply here rather than continuing my reply in the other thread since I'm now planning to use this software to accomplish the Google Apps setup.

I had asked a few questions in the last post in that thread which you haven't answered yet so since I've got time now, I proceeded to try to figure some of this out on my own.

For starters, I simply renamed the platform-tools directory of my installed Android SDK to platform-tools-temp which I believe should effectively disable it sufficiently for purposes of this app.

In addition, I hadn't installed in the root but instead in a directory beneath my Util directory (which I set up or the sole purpose of running utilities such as these). Assuming I make the necessary adjustments to the Path statement variable, and also to the hard-coded C:\KFFirstAide in the RunMe.bat, will this utility run correctly from within C:\Util\KFFirstAide on my system so I don't have to keep this software in the root of my hard drive? (I saw one person in this thread who had a problem with the software installed on his D:\ drive which is why I'm asking.)

To start, I have removed Gmail_4.0.5.apk, GoogleCalendar.apk, GoogleCalendarSyncAdapter.apk, GoogleContactsSyncAdapter.apk, OneTimeInitializer.apk, and SetupWizard.apk. I then "Cleared Data" on the following services: Account and Sync Settings, Google Account Manager, Google Play Services, Google Play Store, and Google Services Framework. (I didn't see an entry for Google Login Service but maybe that shows up as Google Account Manager in the list since I did see and clear data on that one.

I just now pulled down the latest version of the software and will start the config process for that on my system after I finish dinner. But before I start, I thought I'd inquire about the directory change I made, and if you anticipate any problems because of it, if I make the required changes to the path variable and the text in the RunMe.bat file.
 

TB5

Member
Jan 16, 2013
6
1
With this tool covering so much ground, and getting updated so often, are there ay plans on including a readme, or help option? (ie Entering, "?27" could print a description of the xLoud and ClearAudio upgrades.) Obviously, this isn't of vital importance, but considering that this thread will hit 100 pages soon, it could be rather helpful.
 
  • Like
Reactions: Krsmqn
With this tool covering so much ground, and getting updated so often, are there ay plans on including a readme, or help option? (ie Entering, "?27" could print a description of the xLoud and ClearAudio upgrades.) Obviously, this isn't of vital importance, but considering that this thread will hit 100 pages soon, it could be rather helpful.

I concur. There are a several other menu options I'm not sure on either. For example, what's the difference between
13. Backup The Entire Kindle To The KindleBackup Folder (ADB)
-and-
17. Backup Three Kindle Images To The Backup Folder (ADB)

---------- Post added at 09:35 PM ---------- Previous post was at 08:55 PM ----------

Okay I made a couple of passes trying to install Google Apps using Option #23 and it didn't work. :( On the first run, the installer spit out the following error for each app file it tried to copy over when it got to that part:

failed to copy 'C:\Util\KFFirstAide64\ChromeBookmarksSyncAdapter.apk' to '/system/app/ChromeBookmarksSyncAdapter.apk': Read-only file system

Unable to chmod /system/app/ChromeBookmarksSyncAdapter.apk: No such file or directory



I launched ES File Explorer and enabled that option that mounts the / and /system partitions in r/w by default but it didn't help the process complete successfully the 2nd time around either, errors in the same place. I did notice that I had to grant ADB Shell process root privleges the first time it was run. I wonder if there's another process that needs to be granted root but I'm not seeing the dialog box for it on my Kindle?

Below is the output from the script running Option 23. Install Signed ICS Google Applications:

Code:
***********************************************************
*Please Make Sure ADB Is Enabled On The Kindle By Going To*
* The Kindle Menu More - Security - Enable ADB  (Turn On) *
*And You Have The Kindle Plugged In To USB Using A Normal *
*  USB Cable To The Computer, NOT The Factory USB Cable   *
***********************************************************

Press any key to continue . . .

************************************************
* OK Here We Go, We Are Beginning The Process! *
************************************************

*****************************************************
*We Are Now Prepping The Kindle, Please Wait........*
*****************************************************

* daemon not running. starting it now on port 5037 *
* daemon started successfully *

*******************************************************
* We Are Now Installing Google ICS Apps, Please Wait  *
* During The Install The Kindle Will Look Unusual, Do *
* Not Worry Or Interrupt The Install Process Once The *
*Install Starts. Make Sure The Kindle Is Plugged Into *
*             USB, Are You Ready?                     *
*******************************************************

rm failed for anr, Is a directory

Press any key to continue . . .


******************************************************
*Here We Go, We Are Now Prepping The Kindle To Accept*
*              An Automated Install.                 *
******************************************************

failed to copy 'C:\Util\KFFirstAide64\busybox' to '/data/local/tmp/busybox': Permission de
nied
Unable to chmod /data/local/tmp/busybox: No such file or directory
Unable to chmod /data/local/tmp/busybox: No such file or directory
sh: /data/local/tmp/busybox: not found
sh: /data/local/tmp/busybox: not found

**********************************
*We Are Now Rebooting The Kindle.*
**********************************

* daemon not running. starting it now on port 5037 *
* daemon started successfully *

sh: /data/local/tmp/busybox: not found
sh: cannot create nul: Read-only file system
sh: /data/local/tmp/busybox: not found

***********************************************************
*We Are Rebooting The Kindle. The Kindle Will Look Unusual*
*          After The Reboot, This Is Normal.              *
***********************************************************

* daemon not running. starting it now on port 5037 *
* daemon started successfully *

********************************************************
*   We Are Now Installing The Google Apps
********************************************************

sh: /data/local/tmp/busybox: not found
failed to copy 'C:\Util\KFFirstAide64\ChromeBookmarksSyncAdapter.apk' to '/system/app/Chro
meBookmarksSyncAdapter.apk': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\FaceLock.apk' to '/system/app/FaceLock.apk': Read-on
ly file system
failed to copy 'C:\Util\KFFirstAide64\Gmail_4.2.1.apk' to '/system/app/Gmail_4.2.1.apk': R
ead-only file system
failed to copy 'C:\Util\KFFirstAide64\GoogleBackupTransport.apk' to '/system/app/GoogleBac
kupTransport.apk': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\GoogleCalendarSyncAdapter.apk' to '/system/app/Googl
eCalendarSyncAdapter.apk': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\GoogleContactsSyncAdapter.apk' to '/system/app/Googl
eContactsSyncAdapter.apk': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\GoogleFeedback.apk' to '/system/app/GoogleFeedback.a
pk': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\GooglePartnerSetup.apk' to '/system/app/GooglePartne
rSetup.apk': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\GoogleQuickSearchBox.apk' to '/system/app/GoogleQuic
kSearchBox.apk': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\GoogleStreetView.apk' to '/system/app/GoogleStreetVi
ew.apk': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\GoogleTTS.apk' to '/system/app/GoogleTTS.apk': Read-
only file system
failed to copy 'C:\Util\KFFirstAide64\Google_Voice_0.4.2.72.apk' to '/system/app/Google_Vo
ice_0.4.2.72.apk': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\MarketUpdater.apk' to '/system/app/MarketUpdater.apk
': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\MediaUploader.apk' to '/system/app/MediaUploader.apk
': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\OneTimeInitializer.apk' to '/system/app/OneTimeIniti
alizer.apk': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\SetupWizard.apk' to '/system/app/SetupWizard.apk': R
ead-only file system
failed to copy 'C:\Util\KFFirstAide64\UniversalSearch.apk' to '/system/app/UniversalSearch
.apk': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\VoiceSearch.apk' to '/system/app/VoiceSearch.apk': R
ead-only file system
failed to copy 'C:\Util\KFFirstAide64\libfacelock_jni.so' to '/system/lib/libfacelock_jni.
so': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\libfilterpack_facedetect.so' to '/system/lib/libfilt
erpack_facedetect.so': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\libflint_engine_jni_api.so' to '/system/lib/libflint
_engine_jni_api.so': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\libfrsdk.so' to '/system/lib/libfrsdk.so': Read-only
 file system
failed to copy 'C:\Util\KFFirstAide64\libgcomm_jni.so' to '/system/lib/libgcomm_jni.so': R
ead-only file system
failed to copy 'C:\Util\KFFirstAide64\libpicowrapper.so' to '/system/lib/libpicowrapper.so
': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\libspeexwrapper.so' to '/system/lib/libspeexwrapper.
so': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\libvideochat_jni.so' to '/system/lib/libvideochat_jn
i.so': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\libvideochat_stabilize.so' to '/system/lib/libvideoc
hat_stabilize.so': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\libvoicesearch.so' to '/system/lib/libvoicesearch.so
': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\libclientvision-new.so' to '/system/lib/libclientvis
ion-new.so': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\libclientvision-new-v7a.so' to '/system/lib/libclien
tvision-new-v7a.so': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\libimageutils-new.so' to '/system/lib/libimageutils-
new.so': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\libimageutils-new-v7a.so' to '/system/liblibimageuti
ls-new-v7a.so': Read-only file system
failed to copy 'C:\Util\KFFirstAide64\libzxing-new.so' to '/system/lib/libzxing-new.so': R
ead-only file system
failed to copy 'C:\Util\KFFirstAide64\libzxing-new-v7a.so' to '/system/lib/libzxing-new-v7
a.so': Read-only file system
sh: /data/local/tmp/busybox: not found

**************************************************************
*We Are Now Setting Up The Services And Checking Permissions.*
**************************************************************

sh: /data/local/tmp/busybox: not found
Unable to chmod /system/app/ChromeBookmarksSyncAdapter.apk: No such file or directory
Unable to chmod /system/app/FaceLock.apk: No such file or directory
Unable to chmod /system/app/Gmail_4.2.1.apk: No such file or directory
Unable to chmod /system/app/GoogleBackupTransport.apk: No such file or directory
Unable to chmod /system/app/GoogleCalendarSyncAdapter.apk: No such file or directory
Unable to chmod /system/app/GoogleContactsSyncAdapter.apk: No such file or directory
Unable to chmod /system/app/GoogleFeedback.apk: No such file or directory
Unable to chmod /system/app/GooglePartnerSetup.apk: No such file or directory
Unable to chmod /system/app/GoogleQuickSearchBox.apk: No such file or directory
Unable to chmod /system/app/GoogleStreetView.apk: No such file or directory
Unable to chmod /system/app/GoogleTTS.apk: No such file or directory
Unable to chmod /system/app/Google_Voice_0.4.2.72.apk: No such file or directory
Unable to chmod /system/app/MarketUpdater.apk: No such file or directory
Unable to chmod /system/app/MediaUploader.apk: No such file or directory
Unable to chmod /system/app/OneTimeInitializer.apk: No such file or directory
Unable to chmod /system/app/SetupWizard.apk: No such file or directory
Unable to chmod /system/app/UniversalSearch.apk: Read-only file system
Unable to chmod /system/app/VoiceSearch.apk: Read-only file system
Unable to chmod /system/lib/libfacelock_jni.so: No such file or directory
Unable to chmod /system/lib/libfilterpack_facedetect.so: No such file or directory
Unable to chmod /system/lib/libflint_engine_jni_api.so: No such file or directory
Unable to chmod /system/lib/libfrsdk.so: No such file or directory
Unable to chmod /system/lib/libgcomm_jni.so: No such file or directory
Unable to chmod /system/lib/libpicowrapper.so: No such file or directory
Unable to chmod /system/lib/libspeexwrapper.so: No such file or directory
Unable to chmod /system/lib/libvideochat_jni.so: No such file or directory
Unable to chmod /system/lib/libvideochat_stabilize.so: No such file or directory
Unable to chmod /system/lib/libvoicesearch.so: Read-only file system
Unable to chmod /system/lib/libclientvision-new.so: No such file or directory
Unable to chmod /system/lib/libclientvision-new-v7a.so: No such file or directory
Unable to chmod /system/lib/libimageutils-new.so: No such file or directory
Unable to chmod /system/lib/liblibimageutils-new-v7a.so: No such file or directory
Unable to chmod /system/lib/libzxing-new.so: No such file or directory
Unable to chmod /system/lib/libzxing-new-v7a.so: No such file or directory
sh: /data/local/tmp/busybox: not found


**************************************************************
*  We Are Now Installing The Last Few Google App Packages.   *
**************************************************************

* daemon not running. starting it now on port 5037 *
* daemon started successfully *

3288 KB/s (4704480 bytes in 1.397s)
        pkg: /data/local/tmp/Adobe_Flash_Player_11.1.115.16_4.0+.apk
Success
2677 KB/s (6316608 bytes in 2.304s)
        pkg: /data/local/tmp/Currents_2.0.1.apk
Success
2810 KB/s (19858355 bytes in 6.900s)
        pkg: /data/local/tmp/Chrome_18.0.1025308.apk
Success
2729 KB/s (8256476 bytes in 2.954s)
        pkg: /data/local/tmp/Earth_7.0.2.8421.apk
Success
3008 KB/s (2856241 bytes in 0.927s)
        pkg: /data/local/tmp/ES_File_Explorer_1.6.2.5.apk
Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]
3197 KB/s (1833442 bytes in 0.560s)
        pkg: /data/local/tmp/Google_Reader_1.1.8.apk
Success
3075 KB/s (6589288 bytes in 2.092s)
        pkg: /data/local/tmp/Maps_6.14.2.apk
Success
2211 KB/s (400941 bytes in 0.177s)
        pkg: /data/local/tmp/Terminal_Emulator_1.0.52.apk
Success
2894 KB/s (6149925 bytes in 2.075s)
        pkg: /data/local/tmp/YouTube_4.2.16.apk
Success

****************************************************
*We Are Now Rebooting The Kindle And Restoring The *
*                   Appearance.                    *
****************************************************

sh: /data/local/tmp/busybox: not found
sh: /data/local/tmp/busybox: not found

rm failed for /data/local/tmp/busybox, No such file or directory
rm failed for anr, Is a directory

* daemon not running. starting it now on port 5037 *
* daemon started successfully *


****************************************************
* The Google Apps Have Been Installed Successfully *
* Please Test All The New Apps. If Any Fail To Open*
* Or Display An Error, Please Post A Message In The*
*   Kindle Fire First Aide Thread. Thank You For   *
*              Using Our Software.                 *
****************************************************


Press any key to continue . . .


---------- Post added at 09:46 PM ---------- Previous post was at 09:35 PM ----------

Here's something that looks like it could be an issue.

A few lines into the Option23 loop, the following line:

adb shell su -c "cd /data/local/tmp/; rm *"

For some reason, on my Kindle Fire HD, /data/local/tmp is a symlink back to /data/. That's not right is it? If so, then the above command could be extremely dangerous because it could potentially delete everything in my /data directory (or at least the first level since -r option wasn't specified here, but was in a later command). Damn, I hope it didn't! Can anyone please confirm if there's any files located in the root /data directory that this script may have deleted?


ETA - actually it looks like the symlink is intentional. How odd! Because many of the other commands are failing because of this.

adb shell su -c "ln -s /data/ /data/local/tmp" (line 3274)
 
Last edited:

prokennexusa

Senior Member
Jan 12, 2012
2,637
989
57
Petaluma
plus.google.com
Kindle Fire HD and 2 First Aide - 4.1.45-Beta - Dated 02/20/2013 at 21:50

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

dekor8tor,

First let me apologize for the delay, we had an emergency today that required my full attention. That error is due to an insure version of ADB Running, please download the update, run Option 21, the beginning WILL fail, ignore and proceed, when you see Restore on the Kindle be sure to click on Restore, the Exploit will run.

This is Software Version 4.1.45-Beta The RunMe is Dated 02/20/2013 at 21:50:

Microsoft Windows Kindle Fire First Aide Universal Version 4.1.45-Beta: KFFirstAide.zip

Microsoft Windows Kindle Fire First Aide 32-bit Version 4.1.45-Beta: KFFirstAide32.zip

Microsoft Windows Kindle Fire First Aide 64-bit Version 4.1.45-Beta: KFFirstAide64.zip

Please unzip the above packages to C:\KFFirstAide make sure the RunMe.bat is Dated 02/20/2013 at 21:50. Before running the software, make sure you do not have another folder inside C:\KFFirstAide named KFFirstAide32, KFFirstAide64 or KFFirstAide. After you Unzip the software you should only have one folder named C:\KFFirstAide, this is critical to proper operation.

Make sure you have a Environment Variable in the Microsoft Windows PATH Statement of C:\KFFirstAide otherwise you will see many 'unable to find ???package???.apk' messages.

Finally, make sure you are running the latests version of Java SE Development Kit 7u13
 

dflsam

New member
Nov 15, 2006
3
0
Effffd Up

Ok so i rushed w/ out fully reading and chose option #4 "Completly Restore the KF2 7" 7.2.1." and I let it run all the way through the process. Thing is, my device is a KFHD.
**Did I screw it up, like the disclaimer warned me of ? **

-- I restored to 7.2.3 and it seems to be ok, other than the issue i've been experiencing which caused me to even dive into trying to restore my kindle in the first place.

After rooting, then receiving the OTA update pushed out by Amazon, my rooted kindle started having Video playback issues. I'm talking .mp4's, kindle video, and youtube both the app and from Silk.

I'm trying to avoid sending this back to Amazon. I want to flash to the version that works the best (no vid issues) which i thought would be 7.2.1 - but the program says it's only for KF2 - what should i do :confused:
 

prokennexusa

Senior Member
Jan 12, 2012
2,637
989
57
Petaluma
plus.google.com
Kindle Fire HD and 2 First Aide - 4.1.45-Beta - Dated 02/20/2013 at 21:50

Hi, no I did not load any of the other selections. I only loaded the Google Apps but that failed at first time run due to I had the toolkit installed on my D: drive instead of C: drive. I let the installation continue with all of the errors saying C: drive not found errors since I was afraid to interupt it midsteam and cause major out of sync corrupting of the environment. After I let that finish running, I then fixed the toolkit to run under the correct drive and find the directories. It then reran the Google apps install step and let it finish. When it finished I had the google apps installed but the screen presentation was corrupted. The screen did not show the top and bottom navigation menu bars, so I could not navigate nor access the settings any longer. So something must have got corrupted due to the first running of the scripts with the wrong drive letter.
After this I went ahead just for the sake of it and ran the other google assignments step in the toolkit. When that completed the tablet screen returned back to normal showing the top and bottom menu and navigation screens buttons again. So I was almost there... but then noticed that many of the Amazon apps would not lauch from the top menu launch menu list (e.g. - music, web, video, photos, etc). I had some apps that I had installed from the Amazon store (like ES Explorer, Twitter, Facebook and a few others) and those apps were no longer listed in apps nor to be found anywhere. When I tried to download and reinstall ES Explorer from the Amazon store, it said that I already have that installed and to go find it on my local device. It will not allow me to reinstall it! dang Amazon eco system sux!, So then I attempted to install it from the Google Play app store and that also fails to install saying "incompatible device!". I am so frustrated and worried that I messed up my $402 tablet.

Let's get to the main worry I have though... that is why can't I get any response for fastboot mode? My tablet enters fastboot mode showing the words fastboot on the screen. But then it just hangs and sits there unresponsive to any fastboot issued commands. What do I need to change or do to fix this situation? I want to restore back to my initial system images which are backed up both on my tablet and on my PC drive in the folder named "kindlebackup".

Since the backup recovery images are on my tablet already, is there an adb recovery mode on these Kindle HD 8.9 devices where I can restore them back? (instead of using fastboot mode)? I see you are always cautioning and mention about the fastboot cables that you offer for sale... I see many on ebay too. I am wondering if I have to buy one or not. Can you answer me if this situation I am in is normal or seen before or is my tablet in a unique situation here with damaged bootloader?

P.S. - I keep forgetting to also mention that I ran a few other steps trying to see if they would clear up the missing amazon functionalities too.
I ran the "Fix the Android System Permissions and Anamolies" step and that did not fix it either.

BTW, what Windows OS' have you tested your toolkit and drivers on? I am on Windows 8 Pro. Anyone else using Windows 8 successfully with fastboot mode on the HD 8.9? Maybe I should dig up an old Windows 7 PC drive and try to use fastboot on Windows 7?

Infobits,

One thing we can tell you is we have over 40 Kindle Fire 8.9" 4G/LTE running in our office, this is in part what sparked our interest to create such a tool. Every Kindle Fire 8.9" has the same software using the same method you are using, so we can safely conclude the methods in the software works. Now, this does NOT rule out a bad Kindle or a sour download which would cause the Kindle to lag seriously.

Yes, you are absolutely correct, the reason for the first failure is due to the software calling to C:\KFFirstAide - you bring up a very interesting scenario that we have to deal with - allowing the end user to install the software on any drive and then we could wild-card the drive letter with a %KFFirstAide%, hmmm, we'll look at this option tonight.

OK, so we know the first install went sour, this explains the lagging. Did we understand you correctly? You DID do a Option 23 a second time, correct? OK, let's first try to get the Kindle healthy, unless the Kindle has a hardware problem we should be able to stabilize it.

One thing we need to look at is the driver, can you please open the Windows Device Manager? You would Right Hand Mouse Click over the Computer icon select Properties, then select the Device Manager tab, be sure the Kindle is plugged into USB:

1. Kindle > Android ADB Interface
2. Portable Devices > Kindle

If this checks out boot the Kindle into Fastboot using Option 15, what happens to the driver when you reboot into Fastboot? What Kindle devices are active? Do you see the same as noted above or do they disappear? If they disappear try to use Option 16 to boot into Fastboot. We are a little concerned if the Kindle is not responding to Fastboot, this is NOT a good sign. This is a direct sign of a hardware issue, not software.

We can get passed every issue, including the software reinstall. We have a APK database of over 10,000 signed and secure APK's so just let us know what software you need from Google Pay Store, we will get everything you need to get the Kindle fully operational but let's first focus on the problem at hand, the lagging.

Please go to Google Plat Store, download and install Task Manager form Houmiak Once you have installed this software we would like you to launch the Task Manager, let us know what process is taking a high percent of CPU Process? Once we find the bad app we can head toward a fix.

This is Software Version 4.1.45-Beta The RunMe is Dated 02/20/2013 at 21:50:

Microsoft Windows Kindle Fire First Aide Universal Version 4.1.45-Beta: KFFirstAide.zip

Microsoft Windows Kindle Fire First Aide 32-bit Version 4.1.45-Beta: KFFirstAide32.zip

Microsoft Windows Kindle Fire First Aide 64-bit Version 4.1.45-Beta: KFFirstAide64.zip

Please unzip the above packages to C:\KFFirstAide make sure the RunMe.bat is Dated 02/20/2013 at 21:50. Before running the software, make sure you do not have another folder inside C:\KFFirstAide named KFFirstAide32, KFFirstAide64 or KFFirstAide. After you Unzip the software you should only have one folder named C:\KFFirstAide, this is critical to proper operation.

Make sure you have a Environment Variable in the Microsoft Windows PATH Statement of C:\KFFirstAide otherwise you will see many 'unable to find ???package???.apk' messages.

Finally, make sure you are running the latests version of Java SE Development Kit 7u13
https://play.google.com/store/apps/details?id=com.houmiak.taskmanager&hl=en
 

prokennexusa

Senior Member
Jan 12, 2012
2,637
989
57
Petaluma
plus.google.com
Kindle Fire HD and 2 First Aide - 4.1.45-Beta - Dated 02/20/2013 at 21:50

Prokennexusa,

Before you decide what's wrong, You should know that earlier today i made a complete reset to my kindle

And BTW, Since i can't resize the cmd window anymore, I missed a few lines (You will know which ones)

AmrBanawan,

Make sure Enable ADB is ON and Allow installation of programs is ON.

Please drop to command and run the following commands. We suspect we know what is going on with your Kindle. When the first ADB Command calls to SU the Kindle will actually ask you if it is OK to grant the request but if you are not looking at the Kindle, you do not know the request is happening, so all the installs will fail.

Please do the following - when you press Enter Please, look at the Kindle for Superuser Pop-up and click Allow or Grant:

Code:
adb shell su -c "cd /data/local/tmp/; rm *"

This is Software Version 4.1.45-Beta The RunMe is Dated 02/20/2013 at 21:50:

Microsoft Windows Kindle Fire First Aide Universal Version 4.1.45-Beta: KFFirstAide.zip

Microsoft Windows Kindle Fire First Aide 32-bit Version 4.1.45-Beta: KFFirstAide32.zip

Microsoft Windows Kindle Fire First Aide 64-bit Version 4.1.45-Beta: KFFirstAide64.zip

Please unzip the above packages to C:\KFFirstAide make sure the RunMe.bat is Dated 02/20/2013 at 21:50. Before running the software, make sure you do not have another folder inside C:\KFFirstAide named KFFirstAide32, KFFirstAide64 or KFFirstAide. After you Unzip the software you should only have one folder named C:\KFFirstAide, this is critical to proper operation.

Make sure you have a Environment Variable in the Microsoft Windows PATH Statement of C:\KFFirstAide otherwise you will see many 'unable to find ???package???.apk' messages.

Finally, make sure you are running the latests version of Java SE Development Kit 7u13

Then try:

Code:
adb push C:\KFFirstAide\busybox /data/local/tmp/busybox

Please post the output of these commands, also let us know if you saw the Superuser request.
 

prokennexusa

Senior Member
Jan 12, 2012
2,637
989
57
Petaluma
plus.google.com
Kindle Fire HD and 2 First Aide - 4.1.45-Beta - Dated 02/20/2013 at 21:50

hi chris still having problems with latest rev using option 21 goes through the root process but does not root

dekor8tor,

There has to be a problem with your Kindle, we are finally having a large number of people successfully Rooting the Kindle so we know this method works. Heck, this is a know method used be several other tools, it is 99% effective in Rooting the Kindle, having said this we know the method works.

Let's start looking at the Kindle itself. When you run Option 21 does the Kindle ask to be restored? If no, then you have a driver problem. Please grab the Kindle, check More + Security do you see ADB Enable ON? If yes, go to More + Device, do you see Allow installation of programs ON? If yes, plug the Kindle into USB and open the Windows Device Manager, do you see:

Kindle > Android ADB Interface
Portable Devices > Kindle

If yes, the drop to Windows command and run the following command:

Code:
adb kill-server
adb start-server
adb devices

Please post the EXACT output when you enter these commands. Then open a Windows Command Prompt and navigate to C:\KFFirstAide and enter:

Code:
adb shell su -c "cd /data/local/tmp/; rm *"
adb push busybox /data/local/tmp/.

Please post the EXACT output.

This is Software Version 4.1.45-Beta The RunMe is Dated 02/20/2013 at 21:50:

Microsoft Windows Kindle Fire First Aide Universal Version 4.1.45-Beta: KFFirstAide.zip

Microsoft Windows Kindle Fire First Aide 32-bit Version 4.1.45-Beta: KFFirstAide32.zip

Microsoft Windows Kindle Fire First Aide 64-bit Version 4.1.45-Beta: KFFirstAide64.zip

Please unzip the above packages to C:\KFFirstAide make sure the RunMe.bat is Dated 02/20/2013 at 21:50. Before running the software, make sure you do not have another folder inside C:\KFFirstAide named KFFirstAide32, KFFirstAide64 or KFFirstAide. After you Unzip the software you should only have one folder named C:\KFFirstAide, this is critical to proper operation.

Make sure you have a Environment Variable in the Microsoft Windows PATH Statement of C:\KFFirstAide otherwise you will see many 'unable to find ???package???.apk' messages.

Finally, make sure you are running the latests version of Java SE Development Kit 7u13
 

AmrBanawan

Senior Member
Nov 26, 2012
245
43
Alexandria
Prokennexusa,

About that emergency, I hope everyone is OK.

I tried the 2 commands you gave me, There were NO SU prompts


Code:
C:\KFFirstAide>adb shell su -c "cd /data/local/tmp/; rm *"
rm failed for app, Is a directory

C:\KFFirstAide>adb push C:\KFFirstAide\busybox /data/local/tmp/busybox
failed to copy 'C:\KFFirstAide\busybox' to '/data/local/tmp/busybox': Permission
 denied

C:\KFFirstAide>


---------- Post added at 10:45 AM ---------- Previous post was at 10:37 AM ----------

And about that last update, Instagram_3.4.0.apk is inside C:\KFFirstAide\insta\app when it should be placed inside C:\KFFirstAide\holo\app i think or else it won't be installed.
 
Prokennexusa,

About that emergency, I hope everyone is OK.

I tried the 2 commands you gave me, There were NO SU prompts


Code:
C:\KFFirstAide>adb shell su -c "cd /data/local/tmp/; rm *"
rm failed for app, Is a directory

C:\KFFirstAide>adb push C:\KFFirstAide\busybox /data/local/tmp/busybox
failed to copy 'C:\KFFirstAide\busybox' to '/data/local/tmp/busybox': Permission
 denied

C:\KFFirstAide>
.


I have a feeling your issue is the same as mine. If you use a file explorer app to look in /data/local you'll see that tmp is not an actual directory but a symlink back to the /data directory. The rm * command is then attempting to remove any files it finds in your /data directory. NOT GOOD! Fortunately it won't delete subdirectories with that command alone (it would need the -r option added to make it recursive).

But I get the same output as you when performing the above commands and that is why...

Chris, what's up with the symlink instead of an actual tmp directory?
 

AmrBanawan

Senior Member
Nov 26, 2012
245
43
Alexandria
I have a feeling your issue is the same as mine. If you use a file explorer app to look in /data/local you'll see that tmp is not an actual directory but a symlink back to the /data directory. The rm * command is then attempting to remove any files it finds in your /data directory. NOT GOOD! Fortunately it won't delete subdirectories with that command alone (it would need the -r option added to make it recursive).

But I get the same output as you when performing the above commands and that is why...

Chris, what's up with the symlink instead of an actual tmp directory?


Just checked, Yea, You're right!
 

prokennexusa

Senior Member
Jan 12, 2012
2,637
989
57
Petaluma
plus.google.com
Kindle Fire HD and 2 First Aide - 4.1.45-Beta - Dated 02/20/2013 at 21:50

Hey! I got out my old Gateway netbook which runs Windows 7 32 bit OS and installed your Windows32Bit toolkit and set it all up. And now your provided ADB drivers installed successfully. And now it successfully can issue fastboot mode commands! That's the good news for me.
The bad news is that the step 25 to restore full backup images did not seem to run or work properly. I noticed that the gunzip.exe commands in the RunMe.bat file were not uncompressing the image.gz files. You have to tell gunzip.exe to uncompress the files by specifying the "-d" option as follows: gunzip.exe -d <imagefile.img.gz>
So I edited those likes for step 25, to add the "-d" option and ran the toolkit to try to restore my sysytem. But then it fails with all these messages:


The system cannot find the path specified.
target reported max download size of 1006632960 bytes
error: cannot load 'xloader.img': No error

target reported max download size of 1006632960 bytes
error: cannot load 'bootloader.img': No error

target reported max download size of 1006632960 bytes
error: cannot load 'idme.img': No error

target reported max download size of 1006632960 bytes
error: cannot load 'crypto.img': No error

target reported max download size of 1006632960 bytes
error: cannot load 'misc.img': No error

target reported max download size of 1006632960 bytes
error: cannot load 'dkernel.img': No error

target reported max download size of 1006632960 bytes
error: cannot load 'dfs.img': No error

target reported max download size of 1006632960 bytes
error: cannot load 'efs.img': No error

target reported max download size of 1006632960 bytes
error: cannot load 'recovery.img': No error

target reported max download size of 1006632960 bytes
error: cannot load 'boot.img': No error

target reported max download size of 1006632960 bytes
error: cannot load 'system.img': No error


*****************************************************************
* OK, We Are Done Restoring The Kindle, Now We Will Do A Little *
* House Cleaning By Wiping The Davlik Cache And User Data *
*****************************************************************

erasing 'userdata'...

And it is still hung sitting there saying "erasing 'userdata'"... I am afraid to break out of this routine and see that it did not restore my image files and might now have went ahead and wiped my data and bricked my tablet? Dang! You've got to improve your scripts to not forge ahead wiping and changing any further if such critical errors take place. Your script should halt and not continue to corrupt up the system if a critical file fails to load or execute. Just a suggestion. I hope my tablet is not in a corrupt state after I control-C out of this restore step now... I will post back result later on if it did or not. Also you need to add mention in your first post that the included drivers do not work on Windows 8 for fastboot mode. talk to you later...

Damn, now the tablet won't boot up anymore. It gets paste flashing the Kindle Logo and a Google Android screen appears asking to sign in.
When I sign in with my google account it goes to the wi-fi settings screen to configure your wi-fi settings. But after setting up my wi-fi config, I am stuck on that screeen with no way out of it because once again the screens top and bottom menus and navigation buttons are no longer displayed or available. I plugged the tablet into my PC to see if I can get adb devices to work and it does not see the device any longer! I am stuck and locked out of any further updating it now. The regular USB windows drive does show up when I plug it into the PC and all my folders are wiped clean! Totally wiped all my data, bookls, everything! WTF?

You really should update your scripts to prevent wiping or changing the system if the script encounters a serious error like it did here not loading my backup images... but still went on to wipe the system data and cache. Ouch! Is there anyway to get back into this tablet now?

Update: I rebooted my tablet again with it connected to the PC. It came up again with the Welcome to Android screen asking if I want to sign into an account. This time I refused it and it went on to ask me to sign in to my Amazon Prime acct to register the device. From there it began refreshing my tablet. So it looks like I got back to near fresh system so far. I am checking it out further to see if I can begin all over using it from this state or if anything else might seem to be corrupt or missing. I see a bunch of icons from my previous old apps that were loaded before the wipe out but not sure they are really installed or active at this time. But for now, a sigh of relief from me that my tablet was not locked up and bricked. I can get back into adb now too. So I am relieved.

Infobits,

The Wipping of User Data and Cache is a benefit not a detriment. When someone is looking to restore there tablet we ALWAYS DO a Wipe of User Data and Cache. We even have this function as a stand alone option since it fixes many common Android problems.

We just upgraded Unzip, in the old version we were able to unzip without any switches we will add these switches to the software.

Can you let us know what happened to the backup files, were they extracted? Do you see any images in the C:\KFFirstAide\KindleBackup folder? How many are there? What images did Gunzip extract? What were the exact names once extracted? Did they actually extract in the C:\KFFirstAide\KindleBackup folder? We would love to get this function operational and need your feedback. Once we get your feedback we will make the changes. Can you also look in C:\KFFirstAide\Backup what images do you see there, what are the names?

We made a modification to the Restore asking the end user if it is OK to wipe the User Data and Cache, we have posted the new version below.

This is Software Version 4.1.46-Beta The RunMe is Dated 02/21/2013 at 02:01am:

Microsoft Windows Kindle Fire First Aide Universal Version 4.1.46-Beta: KFFirstAide.zip

Microsoft Windows Kindle Fire First Aide 32-bit Version 4.1.46-Beta: KFFirstAide32.zip

Microsoft Windows Kindle Fire First Aide 64-bit Version 4.1.46-Beta: KFFirstAide64.zip

Please unzip the above packages to C:\KFFirstAide make sure the RunMe.bat is Dated 02/21/2013 at 02:01am. Before running the software, make sure you do not have another folder inside C:\KFFirstAide named KFFirstAide32, KFFirstAide64 or KFFirstAide. After you Unzip the software you should only have one folder named C:\KFFirstAide, this is critical to proper operation.

Make sure you have a Environment Variable in the Microsoft Windows PATH Statement of C:\KFFirstAide otherwise you will see many 'unable to find ???package???.apk' messages.

Finally, make sure you are running the latests version of Java SE Development Kit 7u13
 

Infobits

Senior Member
Jul 11, 2009
144
30
Infobits,

The Wipping of User Data and Cache is a benefit not a detriment. When someone is looking to restore there tablet we ALWAYS DO a Wipe of User Data and Cache. We even have this function as a stand alone option since it fixes many common Android problems.

We just upgraded Unzip, in the old version we were able to unzip without any switches we will add these switches to the software.

Can you let us know what happened to the backup files, were they extracted? Do you see any images in the C:\KFFirstAide\KindleBackup folder? How many are there? What images did Gunzip extract? What were the exact names once extracted? Did they actually extract in the C:\KFFirstAide\KindleBackup folder? We would love to get this function operational and need your feedback. Once we get your feedback we will make the changes. Can you also look in C:\KFFirstAide\Backup what images do you see there, what are the names?

We made a modification to the Restore asking the end user if it is OK to wipe the User Data and Cache, we have posted the new version below.

This is Software Version 4.1.46-Beta The RunMe is Dated 02/21/2013 at 02:01am:

Microsoft Windows Kindle Fire First Aide Universal Version 4.1.46-Beta: KFFirstAide.zip

Microsoft Windows Kindle Fire First Aide 32-bit Version 4.1.46-Beta: KFFirstAide32.zip

Microsoft Windows Kindle Fire First Aide 64-bit Version 4.1.46-Beta: KFFirstAide64.zip

Please unzip the above packages to C:\KFFirstAide make sure the RunMe.bat is Dated 02/21/2013 at 02:01am. Before running the software, make sure you do not have another folder inside C:\KFFirstAide named KFFirstAide32, KFFirstAide64 or KFFirstAide. After you Unzip the software you should only have one folder named C:\KFFirstAide, this is critical to proper operation.

Make sure you have a Environment Variable in the Microsoft Windows PATH Statement of C:\KFFirstAide otherwise you will see many 'unable to find ???package???.apk' messages.

Finally, make sure you are running the latests version of Java SE Development Kit 7u13

Chris, I checked the KindleBackUp directory on the PC after the restore step 25 failed to transfer the image files and it looks like they were not unzipped! I don't know why. I did edit the RunMe.bat file to update and add the gunzip.exe -d statements before I tried the restore but for some reason it did not unzip them. Yes, I had my Windows 7 environment PATH statement updated to point to the C:\KFFirstAide directory. Odd that the script did not execute properly to unzip the image files. Anyway I see that you have updated the latest RunMe.bat file to include the "-d" parameter to the gunzip.exe utility and also added a pause decision step for the user before proceeding to wipe data and cache. Good show!

The contents of the C:\KFFirstAide\KindleBackup directory showed all my image files still unzipped as follows:

02/20/2013 11:19 AM 4,363,942 boot.img.gz
02/20/2013 11:19 AM 132,532 bootloader.img.gz
02/20/2013 11:19 AM 62 crypto.img.gz
02/20/2013 11:19 AM 19,340,227 dfs.img.gz
02/20/2013 11:19 AM 4,348,968 dkernel.img.gz
02/20/2013 11:19 AM 284,993 efs.img.gz
02/20/2013 11:19 AM 105 idme.img.gz
02/20/2013 11:19 AM 44 misc.img.gz
02/20/2013 11:19 AM 5,588,493 recovery.img.gz
02/20/2013 11:20 AM 571,288,789 system.img.gz
02/20/2013 11:19 AM 23,374 xloader.img.gz

I had the latest Java JDK 7.0.15 installed (that's all the Oracle Java download site offers now from your link to Java JRE). fyi.
I let your toolkit install the MS VC++ runtime libs.
I ran the step 25 and that was it.

At this point after the tool wiped my data and cache clean, I was able to just use the tablet with whatever image was left on there. It showed all my original Amazon store apps icons. Some were still installed and some required me to reinstall from the Amazon store. The Amazon store simply reinstalled the apps when I clicked on them without complaining a nag message saying that I had already installed it. So apparently the wipe of data and cache did reset my device to like new. The funny thing is, I still have superUser app and SU root priviedges installed! yea!
It also left in place the Google Play market store app and Google Gmail app! So at least I have those activated and usable now too.
All of my previous Google Play installed apps however were deleted and I had to reinstall them. I have my Kindle HD 8.9 32GB tablet working pretty good now and I am leaving it as it is. I am not going to try to do another restore of my previous rooted image at this time since I am happy and satisfied with the way it is running right now. I have all my Amazon Prime functions back as well as the Google Play store to download non-Amazon apps. yippee! That's good enough for me. (I don't have all the other Google apps like Currents, Earth, Maps, etc. though). I am hesitant to try and rerun your toolkit to attempt to reinstall all the Google app functionality in fear that it is going to corrupt my Amazon Prime functions apps and functions again. If I re-try to reinstall the full suite of Google Apps functions will it move and disable my Amazon apps and functions? Previous posting from you said that the Amazon Apps will have been moved to a "Home" folder and I would have to click on it to restore the Amazon functions. I am not sure about it, so hesitant to corrupt my working environment again.

Anyway, hope this info helps you diagnose and improve the toolkit further.

Also, as I mentioned in previous posts, the ADB drivers installation file that you have in the toolkit fails to install on my Windows 8 Pro (64bit) computers. I tried to install them also in compatibility modes (as Windows 7, Windows XP (SP3) ) and it fails to install on Windows 8 64 bit each time. When I switched to a Windows 7 (32-bit) computer, the provided ADB drivers installed with no problem. So you may want to investigate that and find out what driver is good for Windows 8 (64-bit).
 

Top Liked Posts

  • There are no posts matching your filters.
  • 73
    In this Noob series, we will use a software package that will automate the backup, restore and recovery process among many other features - this is a 'Swiss Army Knife' for the Kindle. This tool has been in development for some time now and is still in Beta, although it has been thoroughly tested and can be used safely. This tool is designed to backup, recover and restore the Kindle Fire 2 7", the Kindle Fire HD 7" and the Kindle Fire HD 8.9" (HD 8.9" Does Not Require The Factory USB Cable). The download size is less than 14 MB and automates several processes, no command line knowledge required. Please post any bugs to this Thread so we can quickly make changes to the software, then post an update. Most Bugs are solved within 24 hours.

    To keep your Kindle safe, we have integrated this feature into our software, You do not need any command line knowledge, just as simple as 1, 2, and 3.

    Prerequisites for the Recover Options:
    1. Install The Latest Version Of Java SE: Java SE Development Kit 7u13

    If you are uncomfortable with these procedure, please stop and contact us, we specialize in Kindle customization and development. You can ship the Kindle to our office and have us install all the upgrades, then return it to you turn-key. This service is fee based, contact our office for additional information.

    SOFTWARE UPDATE (CRITICAL RELEASE) ON 06/30/2013 Version 4.1.100 - PLEASE DOWNLOAD THE ENTIRE PACKAGE IF YOUR VERSION IS DATED PRIOR TO THIS RELEASE DATE.

    WARNING! THIS TOOL CAN PERMANENTLY DAMAGE THE KINDLE IF IT IS NOT USED PROPERLY. DO NOT FLASH THE
    KINDLE FIRE 2 IMAGE TO A KINDLE FIRE HD OR FLASH A KINDLE FIRE HD 7" TO A KINDLE FIRE 8.9" DEVICE. THIS
    WILL CAUSE PERMANENT DAMAGE THAT CAN NOT BE REVERSED. ONLY FLASH THE CORRECT MODEL SOFTWARE
    TO YOUR DEVICE.

    HOW TO UPGRADE KINDLE FIRE FIRST AIDE:
    http://xdaforums.com/showpost.php?p=38435305&postcount=1072

    HOW TO CREATE THE WINDOWS PATH: http://xdaforums.com/showpost.php?p=38409721&postcount=1018

    HOW TO FIX THE YELLOW KINDLE TRIANGLE:
    http://xdaforums.com/showpost.php?p=38432739&postcount=1062

    These are the current features on Version 4.1.100-beta:

    • Images are stored securely on our 100TB storage array on a Gigabyte Infrastructure
    • Download is fast - script is fast and lightweight
    • Secure SSL on all images to eliminate image hacking
    • All images are stored behind a firewall with IDS
    • Restores fresh system.img, boot.img and recovery.img
    • Fresh Restore Support the Kindle Fire 2 7"
    • Fresh Restore Support the Kindle Fire HD 7"
    • Fresh Restore Supports the Kindle Fire HD 8.9"
    • Fresh Restore Currently supports software Rev x.2.3
    • ChainsDD Superuser APK and SU Binary Included
    • Automated Backup - Full and Partial Backup
    • Automated Amazon OTA (Over The Air) Disable
    • No Command line Knowledge Required
    • Automated Device Reboot After Restore
    • Pulls Device Information
    • Automated ADB Driver Install
    • Reboot the Kindle into Fastboot Mode
    • Software Support for x.2.4 where applicable
    • Software Support for x.1.5 where applicable
    • Easy Upgrade or Downgrade option
    • Automated Root - Two Versions
    • Automated Google Play Store Installation
    • Automated Google Apps Installation
    • Wipe Dalvik Cache
    • Automated Restoration of the Backup Files
    • Automated Pimp My Beats Install
    • Automated Sony Bravia "Best Resolution Audio Visual Integrated Architecture" Installation
    • Automated Sony xLoud Installation
    • Automated Pimp My Beats Audio Upgrade Installation
    • Android Fix Permissions Script
    • Automated Disable Amazon Ad Services
    • Make Google Play Store The Default Market
    • Unroot For Amazon Returns
    • Install Apex Launcher
    • Install Holo Launcher
    • Install Boat Browser with Flash Player
    • VPN and SIP VoIP Client Install
    • Automated Permission Fixer
    • Automated Alternative Driver Install
    • Automated Busybox Installer
    • Automated Wallpaper Mod
    • Automated Lock Screen Upgrade
    • Fix Broken Install Script
    • AVIC Alice TTS Upgrade
    • Automated Launcher Install which will includes over 2 Launcher Options
    • Flash Custom Recovery
    • Side-load Zip Files like the latest Google Apps Pack
    • Automated TTS (Text To Speech) Install - AVIC Alice
    • Automated Install, Upgrade and Correct ADB
    • Superuser Upgrade Service
    • Install ChainFire 3D Upgrade

    These are the features we will offer soon in 4.2.4 and up:

    • Automated APK Install - Single or Multiple APK's
    • Automated Flash support for Titanium Backup Update.zip Files
    • Automatic Update feature so you are always using the latest version
    • Automated Push and Pull files to and from the Kindle to PC
    • Automated build.prop editor
    • Automated Tune Up and Deodex
    • Automated services.jar editor
    • Remote Storage Option for your boot.img recovery.img and system.img Backup Files
    • Information and Help
    • Special Kindle Toolkit, Tips and Tricks
    • Pull the System Logs (LogCat) to help solve problems
    • Dump Bug Reports to your PC
    • Open Command Prompt for Developers or for Manual Input
    • Automated Custom ROM Support
    • Automated TTS Voice Editor
    • Your Choice of Media Player Upgrades
    • 180 DPI Support
    • Automated Keyboard Upgrade with Framework Edits Included
    • Automated Amazon Book Import to Google Books
    • Much more to come......................
    Now let's get to the software itself. The following is step-by-step guide, please DO NOT modify the batch file in any
    way, this took us weeks to perfect, so please respect the code. If you have recommendations, please post them,
    we love to give you the feature that are important to YOU not us.

    Kindle Fire First Aide Step 1: Using Mozilla Firefox, Google Chrome or Internet Explorer Download Kindle Fire First Aide 4.1.100-Beta:
    KFFirstAide.zip

    Note: Be sure to extract the package to C:\KFFirstAide

    Update Java To The Latest Version here: Java SE Development Kit 7u25

    Kindle Fire First Aide Step 2: Using either 7-Zip or Microsoft Zip, unzip the KFFirstAide100.zip to your C:\ Drive as C:\KFFirstAide

    Kindle Fire First Aide Step 3: With your mouse, open the C:\KFFirstAide contents by double mouse clicking the C:\KFFirstAide folder

    Kindle Fire First Aide Step 4: Find the RunMe.bat file. Right Hand Mouse click on RunMe.bat, select 'Send to', select Desktop (Create Shortcut). Now press the Left Hand Mouse button to create the Shortcut named RunMe.bat. Temporary disable the Android SDK.

    Kindle Fire First Aide Step 5: Find the RunMe Shortcut on your desktop, select it by left mouse click over the icon, then while on the icon choose Right Hand mouse click, select Properties.

    Kindle Fire First Aide Step 6: This will display the RunMe properties. Select the General Tab, change the top name to KF First Aide. Then click on the Shortcut tab, click on Advanced. Check 'Run as Administrator', click OK, then click Apply, then click OK. All windows should be closed.

    Kindle Fire First Aide Step 7: Double Mouse Click the new Icon named KF First Aide. You may be presented with a security window, just click Yes.

    Kindle Fire First Aide Step 8: Please click on the Windows Key plus Pause/Break, this will display the Windows System Properties. Next Click on the Advanced Tab and find "Environment Variables". Please click on Environment Variables and find the Path Statement. Carefully add at the end of the Path Statement:

    Code:
    ;C:\KFFirstAide

    Note: Do Not forget the (;) semi-colon before the C:\KFFirstAide

    Kindle Fire First Aide Step 9: That is it! The software is ready. Next we get the Kindle ready to Flash.

    Kindle Fire First Aide Step 10: Next, go to the Kindle, pull down the status menu, select More+ then select Security, make sure Enable ADB is ON. Last, depress the <- and select Device. Make sure 'Allow Installation of Applications' is On.

    Kindle Fire First Aide Step 11: Insert the Original USB Cable to the Kindle, please ensure you have a solid connection, this is VERY critical.

    Kindle Fire First Aide Step 12: Next, make sure the Kindle Fire is Turned Off. Take the other end of the USB Cable and carefully inset it into a free USB Slot on your Computer - be careful to not disconnect the other end.

    Kindle Fire First Aide Step 13 : The Kindle Fire should automatically turn on and boot regular Bootmode. If the Kindle does not turn on depress the power button until it turns on. Next select Option 15 in the Software. The Kindle will reboot and will now see a screen that says: Fastboot Kindle Fire.

    Note: If Option 15 does not trigger the Kindle to boot into Fastboot, then your Bootloader is damaged. Please send SkOrPn a PM to order a Factory USB Cable.

    Kindle Fire First Aide Step 14: Place the Kindle on a safe surface so it does not disconnect when running the software.

    Kindle Fire First Aide Step 15: Launch the KF First Aide software by double mouse clicking on the KF First Aide icon.

    Kindle Fire First Aide Step 16: You will be presented with a Kindle Fire First Aide Menu, carefully select the operations you would like to perform on the Kindle.

    Kindle Fire First Aide Step 17: If the option states "Fastboot" you need to leave the Kindle as noted above, this is Fastboot Mode. As the last operation be sure to Wipe the Cache and User Data which is Backup Option 3 in the Menu.

    Kindle Fire First Aide Step 18: Next, we will disable "Fastboot Mode" and enable ADB on the Kindle Fire. Select Option 10 in the Software Menu, the Kindle will Reboot into Regular Mode.

    Kindle Fire First Aide Step 19: You may now perform the 'ADB Mode' options in the Menu.

    Kindle Fire First Aide Note 1: Remember, after you perform the full Recovery, you are working with a Fresh Copy of the Software. ADB is disabled by default so be sure to Enable ADB under Security and Allow Installation of Programs under the Device Tab.

    Kindle Fire First Aide Note 2: After the complete restore, please be sure to clear the Davlik Cache and the User Data by selecting Backup Option #3. You may also wipe the User Data and Cache by opening a Administrative Command Prompt within the KFFirstAide Folder and enter:

    Code:
    fastboot -i 0x1949 erase cache
    fastboot -i 0x1949 erase userdata 
    fastboot -i 0x1949 reboot

    Kindle Fire First Aide Note 3: The original versions of the Kindle Fire HD 8.9" with a software Versions 8.2.3 or 8.2.4 may find there Kindle Boot-loader loops to a Red Fastboot Screen. If your Kindle is stuck in Fastboot, please follow these steps to recover the Boot-loader: How To Recover Kindle Fire HD 8.9" Bootloader*

    Note: Please be aware of two main options in the Menu - one is Fastboot Mode where you have several Menu Operations that use Fastboot to execute properly and two is ADB Mode where you have several Menu Operations that use ADB to execute properly.

    Backup Option #1 Note: When selecting Backup Option 1 the images will be backed up to the SD Card in a folder named KindleBackup. Please copy this folder to your desktop until we are able to upload it to our secure servers. There will be a restore option in the future that will automatically pull YOUR images for restoration. There is a known Bug in Windows where you will not see the images in the Kindle Internal Drive which can be found in Computer. To overcome this issue, please download and install WiFi File Transfer then open your Web Browser to transfer these Backup files from your Kindle to the PC.

    Backup Option #2 Note: When selecting Backup Option 2 the images are first copied to the Kindle, then they are transfered to your Computer inside a folder named Backup which can be found inside the C:\KFFirstAide folder.

    If this was helpful and you would like to support our work, please send us a donation using this link:
    http://xdaforums.com/dona....php?u=4435645

    We would like to thank Mark Skippen for the "Toolkit" idea. Mark is a real master with Samsung products and his profile can be found here: mskip anyone who owns a Samsung or Samsung built (Nexus) product should obtain his Toolkit.

    *Note: After several conference calls with the Amazon Development Team we found Amazon applied a patch to the Bootloader in an effort to lock down the Bootloader, this patch rarely causes the Bootloader to stick or Bootloop, please use the above link to release the Bootloader. We have removed this patch from the boot-prod.img eliminating future issues with recovered HD 8.9" users.
    9
    Follow Up - Feedback

    You guys rock!

    Sent from my KFHD7 using xda premium

    Krsmqn,

    We thought of you when we were developing this package, It took us over 4 months to perfect. We held back many feature, just wait until we release the Production Version of 4.2.3, it even made us smile:D. As we have said before,
    we are truly honored to be part of the XDA Community and feel blessed to be able to offer this software to XDA Members. This package and version 4.2.3 is fee based elsewhere.
    6
    How To Manually Recover The Kindle Fire 8.9" Stuck In Fastboot?

    To All-

    If you would like to try a last ditch effort in getting the Kindle Fire 8.9" back online, please do the following:

    Step 1: Please run the Kindle Fire First Aide, attempt the HD 8.9" Recovery, if it fails move on to Step 2

    Step 2: Exit the Kindle Fire First Aide utility, double mouse click the KFFirstAide Folder.

    Step 3: Download Boot Image Number 1 from here (save the image to the KFFirstAide Folder): http://dl.dropbox.com/u/54456659/kfhd-8.2.3/Images/boot-prod.img

    Step 4: Download Recovery Image Number 2 from here (save the image to the KFFirstAide Folder): http://dl.dropbox.com/u/54456659/kfhd-8.2.3/Images/recovery-prod.img

    Step 5: Open up an Administrative Command Prompt from within the KFFirstAide Folder by opening up the KFFirstAide Folder then press your Right Hand Mouse Key while you are over the KFFirstAide Folder contents, then select Open a command prompt here. You should see something like

    Code:
    C:\Users\Your Name\KFFirstAide>
    Step 6: Next you would make sure the Kindle Fire is plugged into USB and Turned off, type the following and press enter after the command while the Kindle is off and plugged into USB:

    Code:
    fastboot reboot -i 0x1949
    Step 6: You will see a Windows Command Prompt that will look like:

    Code:
    C:\Users\Your Name\KFFirstAide>fastboot reboot -i 0x1949
    <waiting for device>
    Step 7: Next Power on the Kindle While you see the above, one the Kindle Boots the Kindle will suddenly reboot back into Fastboot although we have seen this step free the Bootloader, so if the Kindle begins to Boot normally unplug it from USB, if the Kindle boot back to Fastboot red screen proceed to step 8.

    Step 8: While the Kindle is in Fastboot Mode type the following at the Windows Command Prompt:
    Code:
    fastboot flash recovery recovery-prod.img -i 0x1949
    Code:
    fastboot erase cache -i 0x1949
    fastboot erase userdata -i 0x1949
    fastboot reboot -i 0x1949
    Step 9: Leave the Kindle Plugged into USB. Wait for the device to Boot back to Fastboot, if the device boot back to a Fastboot screen with odd vertical line running through it, stop here, the Kindle has begun the recovery phase. If the Kindle begins it recovery, it will react odd and reboot several times, this is normal. Wait 10 to 15 minutes. If the Kindle boot back to Red Fastboot Screen proceed to Step 10.

    Step 10: Leave the Kindle Plugged into USB. Next type the following command:

    Code:
    fastboot flash boot boot-prod.img -i 0x1949
    Step 11: Next let's do a little house cleaning. The following commands wipe the old Dalvik Cache and User Data which is, in simple, tied to the old Android Operating System. Having said this, when the new OS attempts to retrieve data from these partitions, a content stream of errors occur in the background, causing the Kindle to react VERY slow and at times completely unresponsive. To eliminate this problem we will wipe these partitions before booting the new OS. Please enter the following commands, press enter after each one:

    Code:
    fastboot erase cache -i 0x1949
    fastboot erase userdata -i 0x1949
    fastboot reboot -i 0x1949
    Step 12: Unplug from USB. The Kindle HD 8.9" will reboot with an odd Fastboot screen with vertical lines running through it, this is normal, do not interrupt the recovery. Let the Kindle begin it's recovery phase. This may take up to 10 to 15 minutes and the Kindle will reboot several times.

    Step 13: Once the Kindle Stabilizes, please be sure to apply the Amazon OTA Patch before connecting the Kindle to your WiFi, otherwise you will loose Root and Google Play Store which are both installed on the images.

    Step 14: After you applied the patches please wait for the Kindle to rebuild itself, this can take up to a couple of hours. If after 4 hours the Kindle is still reacting slow, perform a Kindle Fire HD 8.9" Factory Reset. This option can be found under the More+ > Device > Restore to Factory Defaults. We find this last step is rarely used.
    5
    Update

    To All-

    I have been cleared by my Doctors to return to work, here is my plan to catch up:

    1) 06/12/2013 7:30pm to 11:30pm - Go through PM's respond as needed
    2) 06/13/2013 10:00am - 6:00pm - go through the posts urgent first
    3) 06/14 - 06/20 - Go through Posts
    4) 06/20/2013 - Post an updated version of Kindle Fire First Aide

    I would like to thank everyone for there support during my recovery.

    Best Regards,

    Chris Bryant
    5
    How to update kindle fire first aide

    I get errors that the file exists in an otherwise empty directory, twice. I've attached screen shots. I've tried using both winrar and 7-zip and gotten the error both times.

    Flinsman,

    ***************HOW TO UPDATE KINDLE FIRE FIRST AIDE*******************

    Step 1: Download the update, save a copy of the update to your desktop

    Step 2: Unzip the update TO THE DESKTOP as KFFirstAide32 or KFFirstAide64

    Step 3: Navigate to C:\KFFirstAide look in the Backup folder, do you have any Backup images? If yes, Right Hand Mouse Click over the C:\KFFirstAide\Backup folder choose COPY then navigate to your Desktop choose PASTE this will copy the the Backup image folder and images to your desktop in a folder named Backup, there should be 3 images in this folder if you did a 17 Backup with our software. If you never did a 17 backup ignore this step.

    Step 4: Navigate to C:\KFFirstAide look in the KindleBackup folder, do you have any images? If yes, Right Hand Mouse Click over the C:\KFFirstAide\KindleBackup folder choose COPY then navigate to your Desktop choose PASTE this will copy the KindleBackup image folder and images to your desktop in a folder named KindleBackup, there should be 11 images in this folder if you did a 13 Backup with our software. If you never did a 13 backup ignore this step.

    Step 5: Next navigate to C:\KFFirstAide DELETE the folder and contents

    Step 6: Navigate to your Desktop, find KFFirstAide32 or KFFirstAide64. Rename the KFFirstAide32 or KFFirstAide64 to KFFirstAide on your Desktop

    Step 7: Inspect the Desktop folder name, make sure it is KFFirstAide

    Step 8: Right Hand Mouse Click over the desktop folder named KFFirstAide choose "Cut", next navigate to C:\ - make sure you are not highlighting any folders and choose "Paste" - the folder KFFirstAide will now copy to C:\ - if this fails for some reason choose Copy and Past rater than Cut and Paste

    Step 9: Only do this step if you did Step 3, otherwise ignore this step. Navigate to C:\KFFirstAide, Right Hand Mose Click over the folder named Backup, choose DELETE.

    Step 10: Only do this step if you did Step 4, otherwise ignore this step. Navigate to C:\KFFirstAide, Right Hand Mouse Click over the folder named KindleBackup, choose DELETE.

    Step 11: Only do this step if you did Step 3, navigate to you Windows Desktop, find the folder named Backup, Right Hand Mose Click over the Backup folder, choose "Cut", then navigate to C:\KFFirstAide and choose PASTE. If this fails choose Copy and Paste.

    Step 12: Only do this step if you did Step 4, navigate to you Windows Desktop, find the folder named KindleBackup, Right Hand Mose Click over the KindleBackup folder, choose "Cut", then navigate to C:\KFFirstAide and choose PASTE. If this fails choose Copy and Paste.

    Step 13: You may now remove the KFFirstAide, KindleBackup and Backup folders on your desktop, if they exist.

    Step 14: Let's create a new shortcut. Find the current RunMe.bat shortcut on your desktop, delete it please.

    Step 15: Navigate to C:\KFFirstAide find RunMe.bat - Right Hand Mose Click over RunMe.bat choose Send To - Desktop Create Shortcut

    Step 16: Navigate to your Desktop find the new shortcut, Right Hand Mose Click choose Properties. Find a box and check "Run Program as Administrator" or "Run As Administrator" - Click Apply.

    Step 17: Let's make sure you have the Path statement setup, please drop to a Windows Command

    Step 18: Enter these commands:

    Code:
    cd C:\Windows\
    adb kill-server
    adb wait-for-device
    adb devices
    If you see a serial number after adb devices you are good to go. Close the Command Windows by typing exit. If the command failed, you are missing the path, we have several posts on setting up the Path, Post the error.

    ********UPDATE*********

    *****Kindle Fire First Aide Revision 4.1.66-Beta RunMe 02/25/13 at 00:30 for Microsoft Windows*****

    Kindle Fire First Aide Revision 4.1.66-Beta for RunMe.bat Package: RunMe.zip (Dropbox)

    Kindle Fire First Aide Revision 4.1.66-Beta for RunMe.bat Package:RunMe.zip (Box)

    Kindle Fire First Aide Revision 4.1.66-Beta for Windows Universal Package: KFFirstAide.zip (Dropbox)

    Kindle Fire First Aide Revision 4.1.66-Beta for Windows Universal Package: KFFirstAide.zip (Box)

    Kindle Fire First Aide Revision 4.1.66-Beta for Windows 32-bit Version: KFFirstAide32.zip (Dropbox)

    Kindle Fire First Aide Revision 4.1.66-Beta for Windows 32-bit Version: KFFirstAide32.zip (Box)

    Kindle Fire First Aide Revision 4.1.66-Beta for Windows 64-bit Version: KFFirstAide64.zip (Dropbox)

    Kindle Fire First Aide Revision 4.1.66-Beta for Windows 64-bit Version: KFFirstAide64.zip (Box)

    7-Zip for Windows 32-bit: Download

    7-Zip for Windows 64-bit: Download

    Oracle Java SE Update: Java SE Development Kit 7u15

    Oracle Java SE 7u15 32-bit : jdk-7u15-windows-i586.exe

    Oracle Java SE 7u15 64-bit : jdk-7u15-windows-x64.exe https://dl.dropbox.com/u/54456659/JavaSE/64-bit/jdk-7u15-windows-x64.exe