Pushing ADB files - 7" Kindle Fire HD General

Having a problem with commands pushing files from the root of my c drive to my 1st Gen kindle. Did the otterx recovery / bootloader but can get the files over to my device. When I type adb device it returns a serial number and says the device is in recovery.
Any ideas? I'm stuck without a usable device.
Sent from my Pixel 2 XL

Related

[HOW TO] Recover Kindle Fire from corrupted read/write permissions in /system (6.2.1)

Link to original thread: http://forum.xda-developers.com/showthread.php?t=1452651
This is a specific guide to restoring your Kindle Fire from boot loop caused by changes in the /system/ directory permissions.
The problem:
After rooting my Kindle Fire, I tried to install the Android Market app and while doing so, messed up my read/write permissions of /system/app/
After rebooting my Kindle, the logo animation started looping endlessly, indicating there was a serious issue taking place.
The specs:
Device: Kindle Fire
Firmware: 6.2.1
Desktop: Mac Mini
OS: OS X Lion
The tools:
You will need,
1. The KindleFireRoot Kit from here (It has tools for all OSs)
2. TWRP 2.0 from here
3. The fbmode file found here to be able to stock fastboot in 6.2.1
The steps:
1. Move all the contents from both the downloaded KindleFireRoot Kit and TWRP into a single directory for convenience.
2. Assuming you were able to root your Kindle in the first place, it's likely you already have drivers installed (Windows). Check by opening a Terminal, navigating to the dir with all the tools and doing this on Windows:
Code:
adb kill-server
adb devices
on Mac:
Code:
sudo ./adb kill-server
./adb devices
Your device should be listed. If it is skip to the next step.
If it's not, install the drivers found in the usb_driver directory (Win only). In this directory you can find the adb_usb.ini file which you need to move to the .android directory that's inside /Users/[your_name]/
3. We will now use the fbmode to fastboot to stock 6.2.1 as explained in this thread.
Code:
adb push fbmode /data/local/tmp
adb shell chmod 755 /data/local/tmp/fbmode
adb shell /data/local/tmp/fbmode
adb reboot
4. Now that we can fastboot, we will install TWRP 2.0.
Just run this command:
Code:
fastboot -i 0x1949 boot twrp-blaze-2.0.0RC0.img
...and reboot. The Kindle should boot into a screen with a yellow triangle and TRWP will install itself.
5. What you need to do now is tap the reboot button onscreen. As it reboots, hold down the Power Button until the light turns orange. You will then boot into TWRP. You will see a Menu with a bunch of Buttons.
6. Now it's time to boot up your Kindle as a USB Drive to repair the permissions.
Touch the Mount button and select the checkbox that says System. After that tap on Mount USB
All you have to do after that is type this in the Terminal and voila:
Code:
adb shell chmod 755 /systme/app
7. Reboot your device and enjoy.
Thanks to everyone who helped me figure that out in the original thread and the threads that I've linked. I might be missing a step. PM if you get stuck or just Reply on this thread.
/system/app kindle fire
Hi,
Thanks for the instructions. I got to the point where the yellow triangle shows up on my kindle fire after doing the fastboot command and touching the reboot button on the kindle screen. However, it just locks up after that and I never get to the subsequent menu. All I see is the yellow triangle on the screen with the instructions to press the power button for recovery. I have reset the power many times and all I get is the yellow fire triangle now. Any ideas how to get out of this loop? Thanks.
fastboot -i 0x1949 oem idme bootmode 5001
fastboot -i 0x1949 reboot
if you'r done you may have to reset the boot mode to normal (when you are in twrp):
adb shell idme bootmode 4000
adb reboot
Windows doesn't seem to be recognizing my device anymore. I get an unknown usb device when I plug it in. When I run the fastboot commands I get a <waiting for device> from which it never returns. I tried to reinstall my android_winusb.ini file to the kindle, but windows says it is up to date. Windows gives me this error in the device manager: " Windows has stopped this device because it has reported problems. (Code 43)" Help!
you have to update the driver manually:
http://forum.xda-developers.com/showpost.php?p=21720811&postcount=41
Thanks, that did it! I also had plugged it into another computer that recognized it as a kindle. I'm not sure if that mattered or not.
This seems to be great. Unfortunately I've got to a different thread and I think I totally bricked my Kindle. I was able to install and run TRWP. However I tried to do a recovery from Amazon Stock img. Then rebooted the kindle. After that the kindle rebooted and got stuck again. I tried to re-run TRWP but this time I got a different error message when tried to run adb shell to go into fastboot. The error message said the system shell could not be found. Adb shell is not accessible and if I do a fastboot command it says waiting for device.
If I do adb devices I can see the actual device # not anymore in recover mode but listed as device. But not able to run the adb shell. I am really frustrated!
that happend many others by trying to flash the original amazon rom
the original rom deletes fff, twrp and root
with a messed up system shell you have no possibility to get to fastboot mode
the only solution is to use a factory cable - you can build or buy one:
http://forum.xda-developers.com/showthread.php?t=1392693
the factory cable forces the kf to fastboot mode
restore with factory cable:
http://forum.xda-developers.com/showpost.php?p=21391952&postcount=38
handling:
http://forum.xda-developers.com/showpost.php?p=21708081&postcount=157
or in short:
You must insert cable, then switch off kindle by pressing button about 20sec and press once again, kindle will be in fastboot.
test with "fastboot getvar product"
After kindle will be in fastboot, with Kindle Fire Utility install TWRP recovery and with recovery install prerooted stock or CM7 firmware.

help un-(soft)brick my nexus 7 - $10 paypal gift for ya!

I'm really struggling so I've got $10 paypal gift for you if you can walk me through fixing my nexus 7... It's currently perpetually loading the 4 circles after applying the 4.4 OTA update.
I've had CWM installed and rooted since I first got it when it came out. Applying the OTA updates for 4.2 and 4.3 were a breeze. I followed the same process this time and CWM displayed an error.
I still have access to CWM and the bootloader. USB debuugging is not enabled, and I have no way to enable it because I cant fully boot into the device.
Nexus 7 root tool kit doesn't work because ADB apparently cannot find my device when I follow all the steps and try and flash with a new ROM.
I believe I have the drivers installed correctly.
I can query the tablet by using ADB from the command line e.g. "adb devices" and my tablet shows up, but ONLY when I am booted into CWM. When I am at the bootloader, "ADB devices" shows nothing.
Other way around for fastboot...
I can query the tablet using FASTBOOT from command line e.g "fastboot devices" and my tablet shows up but ONLY when I am at the bootloader screen.
I have the official 4.4 image downloaded. I have been attempting to 'push' it to the device using adb from command line so I can just flash it again using CWM, but it appears I don't have permission. Every time I execute the command, I just get a flashing cursor (no errors). I have no backups stored on the device.
I can successfully open a shell on the device using ADB and query the directories etc, but I dont think my permissions are correct here either. Example... I can create new directories via "mkdir", but once I disconnect and reconnect, the directory I just created is gone. Prefixing the command with 'sudo' just gives me an error. I'm not that familiar with linux.
I've formatted the SDcard partition out of frustration, but that didnt help with permissions etc either.
Ordinarily I would love to sit down and work through this challenge, but I really don't have the time!
I will be at home in roughly 4 hours from now. If you are confident you can walk me through it step by step, PM me and we can hook up on GMail chat or something. I'd be delighted to gift you some cash on paypal becuase the only other alternative is me smashing the thing into 1000 bits out of anger :angel:
er043 said:
I'm really struggling so I've got $10 paypal gift for you if you can walk me through fixing my nexus 7... It's currently perpetually loading the 4 circles after applying the 4.4 OTA update.
I've had CWM installed and rooted since I first got it when it came out. Applying the OTA updates for 4.2 and 4.3 were a breeze. I followed the same process this time and CWM displayed an error.
I still have access to CWM and the bootloader. USB debuugging is not enabled, and I have no way to enable it because I cant fully boot into the device.
Nexus 7 root tool kit doesn't work because ADB apparently cannot find my device when I follow all the steps and try and flash with a new ROM.
I believe I have the drivers installed correctly.
I can query the tablet by using ADB from the command line e.g. "adb devices" and my tablet shows up, but ONLY when I am booted into CWM. When I am at the bootloader, "ADB devices" shows nothing.
Other way around for fastboot...
I can query the tablet using FASTBOOT from command line e.g "fastboot devices" and my tablet shows up but ONLY when I am at the bootloader screen.
I have the official 4.4 image downloaded. I have been attempting to 'push' it to the device using adb from command line so I can just flash it again using CWM, but it appears I don't have permission. Every time I execute the command, I just get a flashing cursor (no errors). I have no backups stored on the device.
I can successfully open a shell on the device using ADB and query the directories etc, but I dont think my permissions are correct here either. Example... I can create new directories via "mkdir", but once I disconnect and reconnect, the directory I just created is gone. Prefixing the command with 'sudo' just gives me an error. I'm not that familiar with linux.
I've formatted the SDcard partition out of frustration, but that didnt help with permissions etc either.
Ordinarily I would love to sit down and work through this challenge, but I really don't have the time!
I will be at home in roughly 4 hours from now. If you are confident you can walk me through it step by step, PM me and we can hook up on GMail chat or something. I'd be delighted to gift you some cash on paypal becuase the only other alternative is me smashing the thing into 1000 bits out of anger :angel:
Click to expand...
Click to collapse
Hi, er043...
Flashing a factory stock image is relatively straightforward... (if indeed that is what you're attempting to do)... but it will completely wipe the device, but as you say you've already done that, I don't suppose it matters.
There's an extensive guide here... http://forum.xda-developers.com/showthread.php?t=1907796
The essence of it is as follows...
The following assumes you're using Windows. It also assumes a WiFi only Nexus 7... if you have a WiFi & 3G Nexus 7, the factory image files listed below will contain an additional baseband/radio component and the names will be slightly different.
The files needed in the factory image (see my sig. below for download link) are buried under two layers of compression.
You'll need to unzip the .TAR image file twice... the second file may lack a file extension, just add a .TGZ or .TAR extension, and unzip it.
Once done, you should have the following files in a folder on your Windows desktop... (as mentioned previously, these files are for the WiFi only Nexus 7... if you have a WiFi & 3G Nexus 7, the names will be sightly different; 'tilapia' instead of 'grouper' and 'nakasig' instead of 'nakasi'... there will also be an additional baseband/radio component).
Code:
bootloader-grouper-4.23.img
flash-all.bat
flash-all.sh
flash-base.sh
image-nakasi-krt16s.zip (this, you do not unzip)
Copy these files into the same folder that contains your FASTBOOT.EXE (and ADB.EXE) files.
Shutdown the Nexus 7 completely. Boot it into the bootloader via VOL DOWN and hold, whilst holding, press POWER ON.
With the device booted into the bootloader, connect it to a USB port on your PC.
Open a command prompt window on the folder that contains the above mentioned files.
Type fastboot devices... if it returns a serial number, you have a working fastboot connection, and you can proceed to run the flash-all script. (.bat extension, if you're using Windows).
And that's it, really...
A couple of points though... when the bootloader is being flashed, BE CAREFUL not to nudge or disconnect the N7 from the PC. The Nexus 7 is at it's most vulnerable to being HARDBRICKED when flashing a bootloader. It's also a good idea to have a reasonable level of charge on the Nexus 7... no less than about 70% battery, I would recommend. Not good, if the device dies mid-bootloader flash!.
Sometimes, when 'system image' is being flashed, nothing seems to happen for quite a while. This has been reported many times here on XDA, and I've experienced it myself. If 'system image' hasn't gone over in 5 or 6 minutes, chances are your fastboot connection has died. If this is the case, disconnect from the PC, reboot the bootloader, (VOL BUTTONS to cycle to the RESTART BOOTLOADER option, POWER BUTTON to select)... reconnect to a DIFFERENT USB port on your PC... and start the flash procedure all over again with the flash-all.bat script.
Hope this helps... and good luck.
Rgrds,
Ged.
if all else fails
You can try nvflashhttp://forum.xda-developers.com/showthread.php?t=1927818

[GUIDE] [6.3.3] 1st Gen Kindle Drivers, Rooting, Bootloaders & Recovery, and OtterX

[GUIDE] [6.3.3] 1st Gen Kindle Drivers, Rooting, Bootloaders & Recovery, and OtterX
Hello everyone! I am new to working with the Kindle Fire, however, I am by no means new to rooting and tinkering with my devices. Yesterday, I inherited a Kindle Fire with software version 6.3.3 from my brother and I was completely unsure of how to root the device. I am writing this guide because many of the existing guides were unclear and lead me to screw up multiple times. In addition, some claimed to work with the 6.3.3 software version, however, they were designed for an older version of the firmware and would not actually work.
I WILL NOT BE HELD LIABLE IF YOU BRICK YOUR DEVICE USING THESE INSTRUCTIONS! FOLLOW ALL DIRECTIONS CAREFULLY AND REMEMBER TO BACKUP YOUR DATA! YOUR DATA WILL BE WIPED DURING THIS PROCESS. ONLY CONTINUE IF YOU UNDERSTAND THE RISKS! THESE INSTRUCTIONS ARE IN SEQUENTIAL ORDER, FOLLOW EACH STEP! YOU CANNOT SKIP ANY OF THE STEPS!
0. Checking MD5 Hashes
It is very important to check the MD5 hash of every file that you download for this guide. You may use your favorite MD5 checksum utility. Personally, I prefer using this tool created by Microsoft because it is lightweight and extremely fast. Unfortunately, it does take some knowledge of the Command Prompt to use. To begin, download the file and extract it to any folder that you would like. To use the tool, place the file that you are checking within the same folder as the tool. Then, hold shift on your keyboard and right click. Choose the option to open a new Command Prompt window. Then, issue the following commands:
Code:
fciv.exe <exact name of file you are checking>
This will tell you the MD5 checksum of the file that you are checking and you will want to compare it to the value that is listed with the download. Again, you will want to do this for every file that is downloaded for this guide to ensure that you do not damage your device or need to restart the process.
1. Drivers
One problem that I faced while rooting my Kindle Fire was the installation of drivers. Basically, this guide requires you to use unsigned drivers that Windows will refuse to install under normal circumstances. On Windows 8, Windows 8.1, and in the Windows 10 Technical preview, you need to enable Test Mode. Although you can just disable the driver signature verification for one boot, I found this inefficient because I needed to tinker with the drivers multiple times, with each successive installation requiring a reboot of the computer.
To enable Test Mode on Windows 8, Windows 8.1, and Windows 10 Technical Preview, you need some experience with the Command Prompt. Open an Administrative Command Prompt by typing "cmd" into the Start menu and right clicking on the Command Prompt icon. From there, choose the option to open the program with Administrative privileges. Then, issue the following commands:
Code:
bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS
bcdedit -set TESTSIGNING ON
Reboot your computer.
Next, you will want to download the KFU utility from this XDA developer thread. We will NOT be using the Kindle Fire Utility for this guide because I was unable to get it working with 6.3.3, instead we will be using the included set of drivers because they worked relatively well with this process. After downloading the latest version of KFU, extract it to a folder on your Desktop. Unplug your Kindle Fire if it is plugged in to your computer or the drivers may not install correctly. You will want to open the "install_drivers.bat" file and follow the prompts. One prompt will ask you if you want to run the unsigned driver, you should choose "Install this driver software anyway!". Please restart your computer before continuing with this guide!
Now, you may plug in your Kindle Fire. Before continuing, please ensure that the installation of applications is allowed on the device by opening the settings drop down, clicking "More", and clicking on "Device". From there, check the box that allows the installation of applications. Next, you will want to navigate to the folder in the "Kindle Fire Utility" called "Tools". From here, hold shift on your keyboard and right click. Then, choose the option to open a Command Prompt window. We are going to test to make sure that the Kindle Fire is recognized by the "adb" program. To do this, we are going to issue the following commands:
Code:
adb kill-server
adb usb
adb devices
If you typed these commands correctly, any old instances of the "adb" server will be destroyed. Then, it will start a new server that will work with USB devices. Finally, it will list the connected devices. If the driver installation has succeeded, you will see the serial number of your Kindle Fire as well as an "Online" status. If you do not see your device or it is not marked as "Online", you may need to repeat the steps for installing the drivers. Do NOT continue until these commands list your device as "Online" because it could theoretically damage the device. If you are unable to get these drivers working, I recommend using the GhostBuster utility to remove old Kindle Fire and Android phone drivers.
2. Rooting the Device
This is where you want to back up anything important on the device!
Since I was unable to find an official root method from the Kindle Fire community for patch 6.3.3, I looked into using other methods. Using SafeRoot was suggested by some people and it worked very well for my Kindle Fire. So, to continue, please download the SafeRoot package from this XDA Developers link. Extract these files to a folder of your choice, preferably somewhere that is easy to access. We are NOT using the Kindle Fire Utility for this step because it simply was not compatible with software version 6.3.3.
Now, run the "install.bat" file and follow ALL of the on-screen instructions. The utility will ask you if you wish to install Busybox on your device. Busybox is a powerful utility that combines many powerful Unix utilities into a single file. You can read more about it here. You will want to choose yes when it asks you if it can install Busybox. After following all of the instructions, you should have a SuperUser application on your device that allows you run root commands!
It is NORMAL for the SafeRoot utility to show a lot of errors towards the end relating to read only files. If there are any other errors, your device may not be rooted!
3. Flashing FFF and the TWRP Recovery (Non-OtterX)
First, you will want to download the FBMode file. This file will allow your device to boot into the Fastboot mode, which allows you to flash new bootloader and recovery images. In addition, you will want to download the FireFireFire bootloader image that we will be flashing to the device. You will also need a custom recovery for this device, which can be found here. If you ignore everything else in this guide, just please remember to MD5 check ALL of these files! This is extremely important because a bad flash could BRICK your device!
Extract each of these files to the "Tools" folder inside of the Kindle Fire Utility folder that we used earlier to install the driver. Again, open a Command Prompt window inside of the Tools folder by holding shift and right clicking, then choosing the option to open a new Command Prompt window. Type these commands EXACTLY to copy the "fbmode" file to the device. This file will put the device in Fastboot mode.
Code:
adb push fbmode /data/local/tmp
adb shell chmod 755 /data/local/tmp/fbmode
adb shell
You will notice that the Command Prompt window looks slightly different because we are now in a shell for the device. This means we are directly issuing commands to the device! Type the following commands exactly to reboot the device in Fastboot mode. Remember, the "exit" command will need to be typed TWICE!
Code:
su
cd /data/local/tmp
./fbmode
exit
exit
adb reboot
If you did everything correctly, you will now be in Fastboot mode! No, you did not brick your Kindle. The device will not boot into the OS until we tell it to so it WILL remain at the Kindle Fire logo indefinitely, even upon rebooting the device. Depending on your operating system, you may need to toy with the driver installation to 'see' the device again.
Test to make sure that the Kindle still responds to commands before continuing by issuing the following command within the same command prompt window that we used previously to copy the "fbmode" file.
Code:
fastboot -i 0x1949 reboot
The kindle should reboot into the Fastboot mode again! If not, please use this post to get the drivers working. In my case, the device responded to the reboot command, however, it did NOT show up when I checked the connected devices by issuing the following command:
Code:
fastboot -i 0x1949 devices
If all is well and the Kindle rebooted, it is time to flash the bootloader and recovery images! Remember to check the MD5 hash for these files! You WILL need to know the name of your recovery image, it should be named something very similar to "openrecovery-twrp-2.2.2.1-blaze.img".
This is NOT the FireFireFire file, which is named "fff-u-boot_v1.5.bin". DO NOT flash the FireFireFire file to the recovery partition! If you get any errors during this part of the process, DO NOT continue! You may brick your device!
Code:
fastboot -i 0x1949 flash recovery <REPLACE ME WITH THE NAME OF RECOVERY IMAGE FILE>
Next, we will flash the bootloader image! Issue the following command to the device using the same Command Prompt window that we used to flash the recovery image.
Code:
fastboot -i 0x1949 flash bootloader fff-u-boot_v1.5.bin
Now, we will take the device out of Fastboot mode and make sure that our flashes were successful! If you got any errors during the flashing process, DO NOT continue! You may brick your device!
Code:
fastboot -i 0x1949 oem idme bootmode 4000
fastboot -i 0x1949 reboot
When you reboot, you should get a new Kindle Fire logo that will be White & Blue. Follow the on-screen instructions to enter the Recovery mode and make sure that the Team Win Recovery image boots. If it does, congratulations! You now have a custom recovery and bootloader on your Kindle device!
4. Installing OtterX Bootloader and Recovery Images
Now that you have a custom bootloader and recovery image flashed, you can now experiment with the OtterX project if you wish. Remember that the OtterX project fundamentally alters the device and it may be extremely difficult to revert these changes to the device! OtterX recoveries, boot loaders, and ROMs are not compatible with stock recoveries, boot loaders, and ROMs. If you still wish to use the device as a Kindle, do not proceed!
Now that the disclaimer is out of the way, let's continue! To continue, you will need the OtterX Bootloader and a copy of the TWRP Recovery for OtterX (Fundamentally different than the TWRP recovery from the last step!). Again, REMEMBER TO CHECK THE MD5 CHECKSUMS OF THESE FILES! A corrupted file could brick your device!
To make sure that the wrong recovery and bootloader are not applied, delete the old copies from your Tools folder inside of the Kindle Fire Utility folder. Then, copy over the OtterX versions of the bootloader and recovery images. Again, open a Command Prompt window inside of the Tools folder by holding shift and right clicking, then choosing the option to open a new Command Prompt window. Enter the following commands exactly!
You will need to know the name of your bootloader file. It should be named similarly to "otterx-u-boot_v2.05.bin". Make sure it says OtterX in the name of the file! Power on the device to the Kindle Fire screen and issue the following command on your computer.
Code:
fastboot flash bootloader <Name of OtterX Bootloader File>
Now, reboot the device after the flash has fully completed! You should see a new boot logo, meaning that the flash was successful! Before we continue, we will need to change the partition layout of the device. This will erase all of your files that exist on the device, you should have backed then up a few steps ago! At the bootloader screen, short press the power button to enter the boot menu. Then, use short presses of the power button to navigate to the advanced menu. Then, use a long press to enter that menu. Now, use short presses to navigate down to the "Partition Mode" button and use a long press to enter the submenu. Use short presses to press the navigate down to the Confirm button, and finally use one last long press to start the process.
After this has been completed, reboot the device. Again at the Kindle Fire screen, enter the following command on your computer.
You will need to know the name of your recovery file. It should be named similarly to "otterx-twrp-2.7.1.0-recovery.img". Make sure it says OtterX in the name of the file!
Code:
fastboot flash recovery <Name of Recovery Image>
fastboot oem recovery
After issuing both commands, you should see the TWRP recovery screen again! If you do, congratulations! You have flashed the OtterX recovery and bootloader images to your device,
5. Installing OtterX ROMs
I have found that the easiest way to install ROMs to this device is through a function called "adb sideloading". To begin, you will need an OtterX ROM file. I personally recommend Cyanogenmod because it seems fairly stable on this tablet (with my few hours of experience) and I use it as a daily driver on my Galaxy S3.
To begin, grab a copy of ANY OtterX ROM file. You can download Cyanogenmod ROMs from this website. Next, you will also want to download a Google Apps package for your device. You can get that from this website as well.
From the TWRP recovery menu, select the "Wipe" option and then choose "Factory Reset". Follow the onscreen prompts to reset the files on your device. If you get any errors, mount the partitions shown in the "Mounts" menu on the main screen.
Next, go to the Advanced section and choose "ADB Sideload". You should choose the boxes to wipe both caches. To continue, you will need a more up-to-date version of the adb program. You will want just the SDK tools, not the full Android Studio. You can download those tools from this website. After the tools are installed, open up the SDK manager and choose the "Install x Packages" button at the bottom to update the tools. After this is complete, navigate to "C:\Program Files (x86)\Android\android-sdk\platform-tools" on your hard drive. If you are using a 32 bit computer, navigate to "C:\Program Files\Android\android-sdk\platform-tools". Copy your ROM image to this folder and rename it something easy to work with, such as "CM11-OtterX-M12.zip".
Now, you will want to slide the bar across on your device that says "Swipe to Sideload", as well as open a new Command Prompt window on your computer. You can do this by holding shift and right clicking "Open New Command Prompt Window". Now, you will want to issue the following command to make sure your computer can see your Kindle device.
Code:
adb devices
Your device serial number should be listed here and it should say "Sideload" next to the name.
Now, you will want to issue the following command:
Code:
adb sideload <Name of ROM File ZIP>
Now, you will need to wait about 5 minutes while your device is flashed with a new ROM. In my case, the ROM stopped flashing at around 47% with an "Unknown Command" error, however, my device finished the flash okay and the ROM booted just fine. As long as your TWRP recovery shows "Success!", the ROM flash was probably okay. If the ROM flash had failed, you would still be able to try the flash again without harming anything.
You can now go back to the main menu and choose to reboot your device. If the flash was successful, you should see a boot logo for whichever ROM you chose to install. Remember, the initial boot can take a long time.
After verifying that the ROM installed correctly, copy the Google Apps package to your device's internal storage. Depending on which ROM you used, the device should show up as an MTP compatible device in Windows when powered on. Then, reboot into the recovery menu and choose "Install". Then, choose the Google Apps package that you copied to the device to install them. Upon rebooting, the device will update roughly 30-50 apps depending on how much bloatware is installed with your ROM. After that is complete, you will have access to the Google Play store and many useful apps.
Congratulations, you just installed an OtterX rom onto your device!
We need a new update for 2016
ajwgeek said:
Hello everyone! I am new to working with the Kindle Fire, however, I am by no means new to rooting and tinkering with my devices. Yesterday, I inherited a Kindle Fire with software version 6.3.3 from my brother and I was completely unsure of how to root the device. I am writing this guide because many of the existing guides were unclear and lead me to screw up multiple times. In addition, some claimed to work with the 6.3.3 software version, however, they were designed for an older version of the firmware and would not actually work.
I WILL NOT BE HELD LIABLE IF YOU BRICK YOUR DEVICE USING THESE INSTRUCTIONS! FOLLOW ALL DIRECTIONS CAREFULLY AND REMEMBER TO BACKUP YOUR DATA! YOUR DATA WILL BE WIPED DURING THIS PROCESS. ONLY CONTINUE IF YOU UNDERSTAND THE RISKS! THESE INSTRUCTIONS ARE IN SEQUENTIAL ORDER, FOLLOW EACH STEP! YOU CANNOT SKIP ANY OF THE STEPS!
0. Checking MD5 Hashes
It is very important to check the MD5 hash of every file that you download for this guide. You may use your favorite MD5 checksum utility. Personally, I prefer using this tool created by Microsoft because it is lightweight and extremely fast. Unfortunately, it does take some knowledge of the Command Prompt to use. To begin, download the file and extract it to any folder that you would like. To use the tool, place the file that you are checking within the same folder as the tool. Then, hold shift on your keyboard and right click. Choose the option to open a new Command Prompt window. Then, issue the following commands:
Code:
fciv.exe <exact name of file you are checking>
This will tell you the MD5 checksum of the file that you are checking and you will want to compare it to the value that is listed with the download. Again, you will want to do this for every file that is downloaded for this guide to ensure that you do not damage your device or need to restart the process.
1. Drivers
One problem that I faced while rooting my Kindle Fire was the installation of drivers. Basically, this guide requires you to use unsigned drivers that Windows will refuse to install under normal circumstances. On Windows 8, Windows 8.1, and in the Windows 10 Technical preview, you need to enable Test Mode. Although you can just disable the driver signature verification for one boot, I found this inefficient because I needed to tinker with the drivers multiple times, with each successive installation requiring a reboot of the computer.
To enable Test Mode on Windows 8, Windows 8.1, and Windows 10 Technical Preview, you need some experience with the Command Prompt. Open an Administrative Command Prompt by typing "cmd" into the Start menu and right clicking on the Command Prompt icon. From there, choose the option to open the program with Administrative privileges. Then, issue the following commands:
Code:
bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS
bcdedit -set TESTSIGNING ON
Reboot your computer.
Next, you will want to download the KFU utility from this XDA developer thread. We will NOT be using the Kindle Fire Utility for this guide because I was unable to get it working with 6.3.3, instead we will be using the included set of drivers because they worked relatively well with this process. After downloading the latest version of KFU, extract it to a folder on your Desktop. Unplug your Kindle Fire if it is plugged in to your computer or the drivers may not install correctly. You will want to open the "install_drivers.bat" file and follow the prompts. One prompt will ask you if you want to run the unsigned driver, you should choose "Install this driver software anyway!". Please restart your computer before continuing with this guide!
Now, you may plug in your Kindle Fire. Before continuing, please ensure that the installation of applications is allowed on the device by opening the settings drop down, clicking "More", and clicking on "Device". From there, check the box that allows the installation of applications. Next, you will want to navigate to the folder in the "Kindle Fire Utility" called "Tools". From here, hold shift on your keyboard and right click. Then, choose the option to open a Command Prompt window. We are going to test to make sure that the Kindle Fire is recognized by the "adb" program. To do this, we are going to issue the following commands:
Code:
adb kill-server
adb usb
adb devices
If you typed these commands correctly, any old instances of the "adb" server will be destroyed. Then, it will start a new server that will work with USB devices. Finally, it will list the connected devices. If the driver installation has succeeded, you will see the serial number of your Kindle Fire as well as an "Online" status. If you do not see your device or it is not marked as "Online", you may need to repeat the steps for installing the drivers. Do NOT continue until these commands list your device as "Online" because it could theoretically damage the device. If you are unable to get these drivers working, I recommend using the GhostBuster utility to remove old Kindle Fire and Android phone drivers.
2. Rooting the Device
This is where you want to back up anything important on the device!
Since I was unable to find an official root method from the Kindle Fire community for patch 6.3.3, I looked into using other methods. Using SafeRoot was suggested by some people and it worked very well for my Kindle Fire. So, to continue, please download the SafeRoot package from this XDA Developers link. Extract these files to a folder of your choice, preferably somewhere that is easy to access. We are NOT using the Kindle Fire Utility for this step because it simply was not compatible with software version 6.3.3.
Now, run the "install.bat" file and follow ALL of the on-screen instructions. The utility will ask you if you wish to install Busybox on your device. Busybox is a powerful utility that combines many powerful Unix utilities into a single file. You can read more about it here. You will want to choose yes when it asks you if it can install Busybox. After following all of the instructions, you should have a SuperUser application on your device that allows you run root commands!
It is NORMAL for the SafeRoot utility to show a lot of errors towards the end relating to read only files. If there are any other errors, your device may not be rooted!
3. Flashing FFF and the TWRP Recovery (Non-OtterX)
First, you will want to download the FBMode file. This file will allow your device to boot into the Fastboot mode, which allows you to flash new bootloader and recovery images. In addition, you will want to download the FireFireFire bootloader image that we will be flashing to the device. You will also need a custom recovery for this device, which can be found here. If you ignore everything else in this guide, just please remember to MD5 check ALL of these files! This is extremely important because a bad flash could BRICK your device!
Extract each of these files to the "Tools" folder inside of the Kindle Fire Utility folder that we used earlier to install the driver. Again, open a Command Prompt window inside of the Tools folder by holding shift and right clicking, then choosing the option to open a new Command Prompt window. Type these commands EXACTLY to copy the "fbmode" file to the device. This file will put the device in Fastboot mode.
Code:
adb push fbmode /data/local/tmp
adb shell chmod 755 /data/local/tmp/fbmode
adb shell
You will notice that the Command Prompt window looks slightly different because we are now in a shell for the device. This means we are directly issuing commands to the device! Type the following commands exactly to reboot the device in Fastboot mode. Remember, the "exit" command will need to be typed TWICE!
Code:
su
cd /data/local/tmp
./fbmode
exit
exit
adb reboot
If you did everything correctly, you will now be in Fastboot mode! No, you did not brick your Kindle. The device will not boot into the OS until we tell it to so it WILL remain at the Kindle Fire logo indefinitely, even upon rebooting the device. Depending on your operating system, you may need to toy with the driver installation to 'see' the device again.
Test to make sure that the Kindle still responds to commands before continuing by issuing the following command within the same command prompt window that we used previously to copy the "fbmode" file.
Code:
fastboot -i 0x1949 reboot
The kindle should reboot into the Fastboot mode again! If not, please use this post to get the drivers working. In my case, the device responded to the reboot command, however, it did NOT show up when I checked the connected devices by issuing the following command:
Code:
fastboot -i 0x1949 devices
If all is well and the Kindle rebooted, it is time to flash the bootloader and recovery images! Remember to check the MD5 hash for these files! You WILL need to know the name of your recovery image, it should be named something very similar to "openrecovery-twrp-2.2.2.1-blaze.img".
This is NOT the FireFireFire file, which is named "fff-u-boot_v1.5.bin". DO NOT flash the FireFireFire file to the recovery partition! If you get any errors during this part of the process, DO NOT continue! You may brick your device!
Code:
fastboot -i 0x1949 flash recovery <REPLACE ME WITH THE NAME OF RECOVERY IMAGE FILE>
Next, we will flash the bootloader image! Issue the following command to the device using the same Command Prompt window that we used to flash the recovery image.
Code:
fastboot -i 0x1949 flash bootloader fff-u-boot_v1.5.bin
Now, we will take the device out of Fastboot mode and make sure that our flashes were successful! If you got any errors during the flashing process, DO NOT continue! You may brick your device!
Code:
fastboot -i 0x1949 oem idme bootmode 4000
fastboot -i 0x1949 reboot
When you reboot, you should get a new Kindle Fire logo that will be White & Blue. Follow the on-screen instructions to enter the Recovery mode and make sure that the Team Win Recovery image boots. If it does, congratulations! You now have a custom recovery and bootloader on your Kindle device!
4. Installing OtterX Bootloader and Recovery Images
Now that you have a custom bootloader and recovery image flashed, you can now experiment with the OtterX project if you wish. Remember that the OtterX project fundamentally alters the device and it may be extremely difficult to revert these changes to the device! OtterX recoveries, boot loaders, and ROMs are not compatible with stock recoveries, boot loaders, and ROMs. If you still wish to use the device as a Kindle, do not proceed!
Now that the disclaimer is out of the way, let's continue! To continue, you will need the OtterX Bootloader and a copy of the TWRP Recovery for OtterX (Fundamentally different than the TWRP recovery from the last step!). Again, REMEMBER TO CHECK THE MD5 CHECKSUMS OF THESE FILES! A corrupted file could brick your device!
To make sure that the wrong recovery and bootloader are not applied, delete the old copies from your Tools folder inside of the Kindle Fire Utility folder. Then, copy over the OtterX versions of the bootloader and recovery images. Again, open a Command Prompt window inside of the Tools folder by holding shift and right clicking, then choosing the option to open a new Command Prompt window. Enter the following commands exactly!
You will need to know the name of your bootloader file. It should be named similarly to "otterx-u-boot_v2.05.bin". Make sure it says OtterX in the name of the file! Power on the device to the Kindle Fire screen and issue the following command on your computer.
Code:
fastboot flash bootloader <Name of OtterX Bootloader File>
Now, reboot the device after the flash has fully completed! You should see a new boot logo, meaning that the flash was successful! Before we continue, we will need to change the partition layout of the device. This will erase all of your files that exist on the device, you should have backed then up a few steps ago! At the bootloader screen, short press the power button to enter the boot menu. Then, use short presses of the power button to navigate to the advanced menu. Then, use a long press to enter that menu. Now, use short presses to navigate down to the "Partition Mode" button and use a long press to enter the submenu. Use short presses to press the navigate down to the Confirm button, and finally use one last long press to start the process.
After this has been completed, reboot the device. Again at the Kindle Fire screen, enter the following command on your computer.
You will need to know the name of your recovery file. It should be named similarly to "otterx-twrp-2.7.1.0-recovery.img". Make sure it says OtterX in the name of the file!
Code:
fastboot flash recovery <Name of Recovery Image>
fastboot oem recovery
After issuing both commands, you should see the TWRP recovery screen again! If you do, congratulations! You have flashed the OtterX recovery and bootloader images to your device,
5. Installing OtterX ROMs
I have found that the easiest way to install ROMs to this device is through a function called "adb sideloading". To begin, you will need an OtterX ROM file. I personally recommend Cyanogenmod because it seems fairly stable on this tablet (with my few hours of experience) and I use it as a daily driver on my Galaxy S3.
To begin, grab a copy of ANY OtterX ROM file. You can download Cyanogenmod ROMs from this website. Next, you will also want to download a Google Apps package for your device. You can get that from this website as well.
From the TWRP recovery menu, select the "Wipe" option and then choose "Factory Reset". Follow the onscreen prompts to reset the files on your device. If you get any errors, mount the partitions shown in the "Mounts" menu on the main screen.
Next, go to the Advanced section and choose "ADB Sideload". You should choose the boxes to wipe both caches. To continue, you will need a more up-to-date version of the adb program. You will want just the SDK tools, not the full Android Studio. You can download those tools from this website. After the tools are installed, open up the SDK manager and choose the "Install x Packages" button at the bottom to update the tools. After this is complete, navigate to "C:\Program Files (x86)\Android\android-sdk\platform-tools" on your hard drive. If you are using a 32 bit computer, navigate to "C:\Program Files\Android\android-sdk\platform-tools". Copy your ROM image to this folder and rename it something easy to work with, such as "CM11-OtterX-M12.zip".
Now, you will want to slide the bar across on your device that says "Swipe to Sideload", as well as open a new Command Prompt window on your computer. You can do this by holding shift and right clicking "Open New Command Prompt Window". Now, you will want to issue the following command to make sure your computer can see your Kindle device.
Code:
adb devices
Your device serial number should be listed here and it should say "Sideload" next to the name.
Now, you will want to issue the following command:
Code:
adb sideload <Name of ROM File ZIP>
Now, you will need to wait about 5 minutes while your device is flashed with a new ROM. In my case, the ROM stopped flashing at around 47% with an "Unknown Command" error, however, my device finished the flash okay and the ROM booted just fine. As long as your TWRP recovery shows "Success!", the ROM flash was probably okay. If the ROM flash had failed, you would still be able to try the flash again without harming anything.
You can now go back to the main menu and choose to reboot your device. If the flash was successful, you should see a boot logo for whichever ROM you chose to install. Remember, the initial boot can take a long time.
After verifying that the ROM installed correctly, copy the Google Apps package to your device's internal storage. Depending on which ROM you used, the device should show up as an MTP compatible device in Windows when powered on. Then, reboot into the recovery menu and choose "Install". Then, choose the Google Apps package that you copied to the device to install them. Upon rebooting, the device will update roughly 30-50 apps depending on how much bloatware is installed with your ROM. After that is complete, you will have access to the Google Play store and many useful apps.
Congratulations, you just installed an OtterX rom onto your device!
Click to expand...
Click to collapse
We need new links for kindle fire first gen 6.3.4 . these methods available don't work. thank you
ataraxioss said:
We need new links for kindle fire first gen 6.3.4 . these methods available don't work. thank you
Click to expand...
Click to collapse
no, this still works with 6.3.4
Sent from my KFFOWI using Tapatalk
---------- Post added at 06:55 PM ---------- Previous post was at 06:54 PM ----------
there is one link to goo.im which is down
With the Fall of Goo.im I will be posting Mirrors OtterX files here:
Otter X Twrp and Bootloader Mirrors
Sent from my KFFOWI using Tapatalk
I've just tried it
Still not working on my kindle fire. sounds to be rooted but can't install twrp.
i was hoping to flash it with Miui 7.
thank you for your precious time, i wish the old links in kindle fire utility could still work.
ataraxioss said:
Still not working on my kindle fire. sounds to be rooted but can't install twrp.
i was hoping to flash it with Miui 7.
thank you for your precious time, i wish the old links in kindle fire utility could still work.
Click to expand...
Click to collapse
did you verify root? try root checker
Sent from my KFFOWI using Tapatalk
reply
sd_shadow said:
did you verify root? try root checker
Sent from my KFFOWI using Tapatalk
Click to expand...
Click to collapse
once it is frozen on "trying to disable knox.." nothing goes right after that. the kindle fire does not reboot and i guess supersu is not updating either.
Ps: i have rooted and installed twrp many times before, then i did a factory reset on the kindle fire.
ataraxioss said:
once it is frozen on "trying to disable knox.." nothing goes right after that. the kindle fire does not reboot and i guess supersu is not updating either.
Ps: i have rooted and installed twrp many times before, then i did a factory reset on the kindle fire.
Click to expand...
Click to collapse
Factory reset doesn't unroot, just reinstall supersu app
Sent from my XT1060 using Tapatalk
So I got up to this point.
Test to make sure that the Kindle still responds to commands before continuing by issuing the following command within the same command prompt window that we used previously to copy the "fbmode" file.
Code:
fastboot -i 0x1949 reboot
The kindle should reboot into the Fastboot mode again! If not, please use this post to get the drivers working. In my case, the device responded to the reboot command, however, it did NOT show up when I checked the connected devices by issuing the following command:
Code:
fastboot -i 0x1949 devices
If all is well and the Kindle rebooted, it is time to flash the bootloader and recovery images! Remember to check the MD5 hash for these files! You WILL need to know the name of your recovery image, it should be named something very similar to "openrecovery-twrp-2.2.2.1-blaze.img". "
Click to expand...
Click to collapse
The kindle won't restart. When I plug it into my computer I get the error "The last USB device you connected to this computer malfunctioned, and Windows does not recognize it." The kindle is stuck on the start up screen where it says "Kindle Fire." Any help would be greatly appreciated. I know nothing about any of this stuff so I am stumped from here on out.
Also nothing is showing up in device manager that is related to the Kindle.
thealy1234 said:
So I got up to this point.
Test to make sure that the Kindle still responds to commands before continuing by issuing the following command within the same command prompt window that we used previously to copy the "fbmode" file.
Code:
fastboot -i 0x1949 reboot
The kindle should reboot into the Fastboot mode again! If not, please use this post to get the drivers working. In my case, the device responded to the reboot command, however, it did NOT show up when I checked the connected devices by issuing the following command:
Code:
fastboot -i 0x1949 devices
If all is well and the Kindle rebooted, it is time to flash the bootloader and recovery images! Remember to check the MD5 hash for these files! You WILL need to know the name of your recovery image, it should be named something very similar to "openrecovery-twrp-2.2.2.1-blaze.img". "
The kindle won't restart. When I plug it into my computer I get the error "The last USB device you connected to this computer malfunctioned, and Windows does not recognize it." The kindle is stuck on the start up screen where it says "Kindle Fire." Any help would be greatly appreciated. I know nothing about any of this stuff so I am stumped from here on out.
Also nothing is showing up in device manager that is related to the Kindle.
Click to expand...
Click to collapse
try a different USB port or cable
Sent from my Motorola XT1060 using XDA Labs
sd_shadow said:
try a different USB port or cable
Sent from my Motorola XT1060 using XDA Labs
Click to expand...
Click to collapse
This was the problem. Turns out this doesn't work when the kindle is plugged into a USB 3.0 port.
That being solved, I now have a different problem. I get the following error when I try and push the recovery image onto my kindle after I added the Otterbox bootloader file: "target reported max download size of 402653184 bytes error: cannot load 'recovery.img': No error."
(I renamed the file to recovery.img on the advice of someone else)
Also note that I had to get the otter recovery image from a different source than what was listed in the guide, for the provided link was broken.
Any ideas would be appreciated.
Thanks
thealy1234 said:
This was the problem. Turns out this doesn't work when the kindle is plugged into a USB 3.0 port.
That being solved, I now have a different problem. I get the following error when I try and push the recovery image onto my kindle after I added the Otterbox bootloader file: "target reported max download size of 402653184 bytes error: cannot load 'recovery.img': No error."
(I renamed the file to recovery.img on the advice of someone else)
Also note that I had to get the otter recovery image from a different source than what was listed in the guide, for the provided link was broken.
Any ideas would be appreciated.
Thanks
Click to expand...
Click to collapse
[6.3.4][6.3.3] Flashing FFF and TWRP without Fastboot Cable with Video
Sent from my XT1060 using Tapatalk
sd_shadow said:
[6.3.4][6.3.3] Flashing FFF and TWRP without Fastboot Cable with Video
Sent from my XT1060 using Tapatalk
Click to expand...
Click to collapse
I have followed that guide to the T and I still get that error. It worked just fine when I was installed the TWRP recovery.
For some reason when I am trying to install the otterx twrp version, I am getting that error returned to me.
thealy1234 said:
I have followed that guide to the T and I still get that error. It worked just fine when I was installed the TWRP recovery.
For some reason when I am trying to install the otterx twrp version, I am getting that error returned to me.
Click to expand...
Click to collapse
try OtterX bootloader and OtterX twrp from my post
OtterX files here:
Otter X Twrp and Bootloader Mirrors
Sent from my XT1060 using Tapatalk
The 2.8.5.0 file that you provide worked. One more step closer...
I appreciate the help.
---------- Post added at 10:45 PM ---------- Previous post was at 10:26 PM ----------
I just can't win today.
Now I am stuck because TWRP cannot mount /data for some reason...
thealy1234 said:
The 2.8.5.0 file that you provide worked. One more step closer...
I appreciate the help.
---------- Post added at 10:45 PM ---------- Previous post was at 10:26 PM ----------
I just can't win today.
Now I am stuck because TWRP cannot mount /data for some reason...
Click to expand...
Click to collapse
mount data is ify with OtterX, try adb push with OtterX twrp 2.7.1.0
---------- Post added at 01:11 AM ---------- Previous post was at 01:10 AM ----------
Started a Thread [How To] Fix OtterX Install Errors, Partition sizes, Unable to Mount System... with some possible fixes for those having issues since converting to OtterX, with pushing files, failure to mount system errors when installing Lollipop Roms...
After your help + plenty of head scratching I finally managed to install everything 100%.
Biggest hangup was before I realized this process wouldn't work on a USB 3.0 port....
I'm having an issue with being able to actually install drivers on my computer with Windows 10. I attempted to follow the guide but I am getting denied on an error with "bcdedit -set TESTSINGING ON".
"An error has occurred setting the element data. The value is protected by Secure Boot policy and cannot be modified or deleted."
Any advice for a workaround on installing the drivers?

How do I adb sideload to 6P in recovery mode from a mac?

I have done this from windows, but not having any luck on OS X (el capitain).
I can do adb commands when the device is booted (adb devices shows device). So I reboot into fastboot, and from there I get into recovery.
Once in recovery I select "apply update from adb" and the device waits.
However, on my mac adb devices doesn't show anything. Even after restarting adb daemon it still doesn't show device.
What am I missing? I assume I can do this on a mac?
did you install adb/fastboot into your path? do you have the latest adb/fastboot?
easiest Mac method for installing adb/fastboot: here.
Also for El Cap, see this.
Obviously pay attention to the part for El Cap users.
While the device is booted normally install the file using adb install <FileName> if you want to put an update.zip file on the phone. adb push update.zip /location on phone/
Thanks for the replies. I basically had to reconnect the device before entering apply update from adb .
All the paths and such were fine.
Sent from my SM-T810 using Tapatalk

problems with fastboot and adb for lenovo a3000 adb drivers installed

Hi I am Rupesh from India and I have lenovo a3000H and I am using it from past three years and I am bored with it and so I have downloaded cm 5.1.1 from your site.
I have tried a lot to root the device at first I have installed framaroot and after that I have installed superuser app which gave error as their is no su binary installed.
In order to unlock the bootloader I have installed android studio and USB drivers provided by the device vendor. When I connect the tab to Windows 8.1 system I am able to see an entry named lenovo a3000 under portable devices in device manager.
When I issue the command adb devices on command prompt of my pc I am able to see a serial number followed by the word device. When I issue the command adb reboot bootloader instead of entering into fastboot mode my tab is restarting itself after that when I issue the command fastboot devices I am unable to see no output.
Previously I have tried to backup my tab storage from PC using adb and my tab asked for confirmation but no backup was performed.
I think that fastboot is unable to detect the device.
I am unable to root my tab with using PC or without using PC.
Please suggest how to root my tab properly.
Regards,
Rupesh.
Before performing the above I have enabled USB debugging and became developer by tapping 7 times build number in about phone.

Categories

Resources