Simple KFHD SRT with Linux desktop. - 7" Kindle Fire HD Q&A, Help & Troubleshooting

Many Thanks to onemeila for this tools. http://forum.xda-developers.com/showthread.php?t=1951254&nocache=1
after acquiring a KFHD 7 Demo from Ebay, i used the following procedure to install a stock ROM using a Linux desktop.
requires factory cable, android-tools.rpm, and KFHD SRT download.
to get fastboot binary you need to install android-tools from the EPEL software repository, for details see https://fedoraproject.org/wiki/EPEL
open a terminal command line window on the Linux desktop. $ is the bash prompt and shouldn't be entered as part of the command.
install android-tools.
$ sudo yum install android-tools
unzip KFHD SRT you downloaded.
$ unzip Downloads/KFHD_SRTv1.3.5.zip
before connecting the Kindle, enter the following command.
$ fastboot -i 0x1949 getvar product
should show < waiting for device>
now connect a factory cable from the Kindle to the desktop, and power on the Kindle. It should show the Fastboot screen.
the terminal bash window should show ROM version of the Kindle:
product: Tate-###-##
now enter the following commands in the terminal bash window.
$ fastboot -i 0x1949 erase cache
$ fastboot -i 0x1949 erase userdata
$ fastboot -i 0x1949 flash recovery images/recovery.img
$ fastboot -i 0x1949 flash boot images/boot.img
for Restore-Factory Rooted with SuperSU.apk, enter this command.
$ fastboot -i 0x1949 flash system images/system.img
or for Restore-Factory Rooted with SuperSU.apk, Apex Launcher, and PlayStore, enter this command.
$ fastboot -i 0x1949 flash system images/system2.img
fastboot -i 0x1949 reboot
disconnect the Kindle and it may need a couple of reboots for the stock ROM to come up.
now that was simple. i hope this helps.

Related

Fastboot Confusion

SOLVED
My cell phone is rooted already and i am trying to clear it through
fastboot erase system -w
fastboot erase boot
I've downloaded the fastboot binary into my C:\android-sdk-windows\tools directory.
What do i need to do in command prompt to be able to run these lines

Kindle Fire 7" Bootloop help

I've been having a problem with my Kindle Fire 7" in a constant bootloop like the same at 1 minute in the video titled "How to push files with ADB to your KIndle FIre HD when stuck in Recovery". Except it stays in the teamwin screen and keeps looping. How do I fix this?
Power off the kindle completely, as these instructions will try to force it into fastboot. Make sure you have ADB and fastboot installed on your PC (VERY IMPORTANT: if you're on Windows, install ADB drivers for the kindle as well). Next, summon a terminal or command prompt (run as administrator if you can), cd to the folder where adb and fastboot are located if necessary, and type in fastboot -i 0x1949 getvar product. When you see "<waiting for device>", plug in the kindle. It should now reboot into fastboot mode, and the terminal should have outputted "jem-pvt-prod-04" or something similar to it. You should now enter fastboot -i 0x1949 oem idme bootmode 4000 into the terminal in order to reset the bootmode. After this, type fastboot -i 0x1949 reboot, and it should boot into Android.

Can't backup partition

Hello everyone,
I've been trying to install CM on my KF7HD (x43z60 firmware 7.5.1) with no luck so far as I can't seem to backup using the following guide or any other.
http://forum.xda-developers.com/showthread.php?t=2274333
I have already rooted the device, and it gets recognized as an adb device:
List of devices attached
D025A0A02395182L device
If I plug it in when turned off and type
fastboot -i 0x1949 getvar product
it does turn on, even though I don't get any fastboot screen, but just the normal boot, and if I try
fastboot -i 0x1949 reboot
I won't get any reboot.
I am trying to do
adb shell su -c "dd if=/dev/block/mmcblk0boot0 of=/sdcard/boot0block.img"
adb pull /sdcard/boot0block.img
and I get
Unknown id: if=/dev/block/mmcblk0boot0
Even though I can see the mmcblk0boot0 file from the kindle's file manager.
I am using a samsung micro USB cable, as I read that the fastboot cable is not necessary if not to try to unbrick the device.
Can anybody tell me why I can't backup?
Thank you.
akindle said:
Hello everyone,
I've been trying to install CM on my KF7HD (x43z60 firmware 7.5.1) with no luck so far as I can't seem to backup using the following guide or any other.
http://forum.xda-developers.com/showthread.php?t=2274333
I have already rooted the device, and it gets recognized as an adb device:
List of devices attached
D025A0A02395182L device
If I plug it in when turned off and type
fastboot -i 0x1949 getvar product
it does turn on, even though I don't get any fastboot screen, but just the normal boot, and if I try
fastboot -i 0x1949 reboot
I won't get any reboot.
I am trying to do
adb shell su -c "dd if=/dev/block/mmcblk0boot0 of=/sdcard/boot0block.img"
adb pull /sdcard/boot0block.img
and I get
Unknown id: if=/dev/block/mmcblk0boot0
Even though I can see the mmcblk0boot0 file from the kindle's file manager.
I am using a samsung micro USB cable, as I read that the fastboot cable is not necessary if not to try to unbrick the device.
Can anybody tell me why I can't backup?
Thank you.
Click to expand...
Click to collapse
Do you have twrp recovery installed ?

Kindle Fire HD3 Boot Password Glitch

Kindle Fire HD 3 demands a boot password to start up. It is a common glitch; however, a factory reset did not fix the problem. I have a fastboot cable. I have tried:
Code:
fastboot -i 0x1949 oem format
fastboot -i 0x1949 erase userdata
fastboot -i 0x1949 flash boot boot.img
I really expected the second line to make things work. Any ideas from anyone. I'm guessing the eMMC itself is shot. Anyone know where I can find the right system.img for soho devices? The recovery images Amazon provides are not in the right format. Anyone know other ways of formatting userdata, or have other ideas for solving this problem.
If I erase system using
Code:
fastboot -i 0x1949 erase userdata
, it still prompts me for a boot password? Does this command not work on the kindle fire, or is this boot password inside the bootloader itself? Any ideas?

[Guide] [6.0] How to restore stock ROM XT1097 step by step

Hi guys, I'm doing this tutorial because I didn't find a complete tutorial on how to restore our Moto X 2014 to stock 6.0 marshmallow.
As I asked here for help, I tried encrypting the phone when using LineageOS but it failed and then bootlooped, so I needed to reflash the stock ROM because the formating though TWRP failed too.
I used a Linux distro to do the job. For windows I think there are scripts out there which do the job, and of course you can adapt the commands given here to work with Windows (i.e. changing "sudo fastboot" to "fastboot.exe").
Note: My device is a XT1097 variant and the boot loader was already unlocked. There's also a Zip file for those who have a working TWRP recovery already.
Download the ROM files here: EU variant // RET LA + NIIMX variants
The file I used for this tutorial was: Motorola_Moto_X_XT1097_VICTARA_RETLA_6.0_MPES24.49-18-3_cid12_6.0.zip
Setup of the computer:
1- Install androidtools-fastboot & androidtools-adb
[Optional] 2- Install libmtp package too
Setup of the phone:
1- Reboot your phone into fastboot mode (press power and vol down toghether)
2- Connect the phone to PC
3- Extract the content of the Zip file & enter the folder
4- Open a new terminal inside the folder called "Firmware"
5- Execute these commands below (one command per line)
Bash:
sudo fastboot flash partition gpt.bin
sudo fastboot flash motoboot motoboot.img
sudo fastboot flash boot boot.img
sudo fastboot flash recovery recovery.img
sudo fastboot flash system system.img_sparsechunk.0
sudo fastboot flash system system.img_sparsechunk.1
sudo fastboot flash system system.img_sparsechunk.2
sudo fastboot flash system system.img_sparsechunk.3
sudo fastboot flash system system.img_sparsechunk.4
sudo fastboot flash system system.img_sparsechunk.5
sudo fastboot flash system system.img_sparsechunk.6
sudo fastboot flash system system.img_sparsechunk.7
sudo fastboot flash system system.img_sparsechunk.8
sudo fastboot flash system system.img_sparsechunk.9
sudo fastboot flash modem NON-HLOS.bin
sudo fastboot erase modemst1
sudo fastboot erase modemst2
sudo fastboot flash fsg fsg.mbn
sudo fastboot erase cache
sudo fastboot erase userdata
sudo fastboot erase customize
sudo fastboot erase clogo
[Optional] Tip: If you want to reset the Motorola logo too (it will display again the warning regarding the bootloader unlock, this is why I skipped it), execute the command below just before entering boot.img command
Bash:
sudo fastboot flash logo logo.bin
6- Reboot the phone just in case
Bash:
sudo fastboot reboot-bootloader
7- Reboot the phone into the system
Bash:
sudo fastboot reboot
8- Wait several minutes on the animation booting screen
9- Done, the phone should now show the "Welcome" greenish screen
10- After the initial setup, go to the PlayStore and update your Google Play Services app before updating/installing other apps
I based my tutorial on this post here by @seco2004 and in this post forum here by Junior Gomes. Thanks for all the devs for the hard work with this amazing (besides the battery duration) phone and for that website for hosting all Motorola's stock ROMs at GDrive.

Categories

Resources