Skip to content

General Notes

Hansem Ro edited this page Mar 25, 2022 · 3 revisions

Enter USB Boot Mode

References: OMAP4430 Technical Reference Manual (SWPU231AP) pg. 5646+

OMAP Platform has a usbboot mode stage that allows the device to boot into a u-boot image via usb. usbboot can be used to recover from bricks or to test unstable u-boot images without worrying about losing the current u-boot setup.

The following will describe various methods for entering usbboot mode on the Kindle Fire. If you were successful, you should see the following item in lsusb:

Bus 001 Device 025: ID 0451:d00f Texas Instruments, Inc. OMAP4430

Note that the tablet periodically enters and leaves usbboot mode.

Shorting Method:

short_method_image

This method involves shorting the pin circled in red to ground as the tablet powers on. This method is the viable method if the tablet is bricked (i.e. when the tablet cannot enter u-boot).

U-Boot Method 1: Fastboot command (2014 version only?)

Put the tablet in fastboot mode, then run:

$ fastboot oem idme bootmode 4003

If there were no issues, then the tablet should be identifiable with lsusb.

U-Boot Method 2: On Screen Interface (2014 version only)

Power on the tablet and use the power button to navigate the menu. Short press to go down and long press to enter.

ADVANCED->TRIGGER USBBOOT MODE->[CONFIRM] RESTART

U-Boot Method 3: Serial Console (2014 version only)

If you have access to the serial console, then you can enter the u-boot console by pressing ESC in a brief period when the tablet boots into u-boot. The tablet enters the console when the prompt becomes accessible (shown with U-Boot# ). To enter usbboot mode, run kc1_usbboot.

Resizing + Formatting in recovery mode + adb shell

$ adb shell
# parted /dev/block/mmcblk0
(parted) resize
Partition number? XX
Start? XX
End? XX
....
# mke2fs -T ext4 /dev/block/mmcblk0pXX

Booting boot.img without flashing

$ fastboot boot name_of_boot.img

Restore partition table (U-Boot 2014)

$ fastboot oem format

Boot mode table

idme boot mode
4000 standard boot
4002 recovery
4003 usb boot (state persists after reboot; exit by powering down)
5000 fastboot

Change boot mode from fastboot

$ fastboot oem idme bootmode <4000|4002|4003|5000>

When the kindle is in usb boot mode, fastboot becomes active only for a short bit after startup. So run the fastboot command before powering the kindle on.

Change boot mode from recovery mode’s adb shell

$ adb shell
# idme bootmode <4000|4002|4003|5000>