Difference between revisions of "Motorola Droid 4"

From Maemo Leste Wiki
Jump to navigationJump to search
(→‎Installation using kexecboot: No need to erase existing Android)
Line 91: Line 91:


== Installation using kexecboot ==
== Installation using kexecboot ==
This procedure will erase existing android and/or safestrap.


Hardware requirements:
Hardware requirements:
Line 110: Line 108:


# VRZ_XT894_9.8.2O-72_VZW-18-8_CFC.xml.zip
# VRZ_XT894_9.8.2O-72_VZW-18-8_CFC.xml.zip
# flash-droid-4-fw.sh (Linux) or flash-droid-4-fs.bat (Windows)
# Latest '''maemo-leste-1.0-armhf-droid4-*.img.xz'''
# Latest '''maemo-leste-1.0-armhf-droid4-*.img.xz'''


Line 124: Line 121:
# Power off Droid4 and connect the device to the host machine with MicroUSB cable
# Power off Droid4 and connect the device to the host machine with MicroUSB cable
# Now start the device in fastboot mode. For this press power button and bottom volume key simultaneously and release them after a second.
# Now start the device in fastboot mode. For this press power button and bottom volume key simultaneously and release them after a second.
# Run the '''flash-droid-4-fw''' script from the extracted android directory ('''VRZ_XT894_9.8.2O-72_VZW-18-8_CFC.xml'''). Run it as admin/root if it does not find the device
# If you get errors while writing the image files, try a better MicroUSB cable.
# Wait for the flashing script to complete. This can take a few minutes. The droid will reboot a couple of times to the bootloader.


Then go to the '''droid4-kexecboot''' directory and run (possibly as sudo):
Now go to the working directory and run:


# fastboot flash mbm path/to/android/zip/allow-mbmloader-flashing-mbm.bin
# sudo fastboot flash mbm VRZ_XT894_9.8.2O-72_VZW-18-8_CFC.xml/allow-mbmloader-flashing-mbm.bin
# fastboot reboot-bootloader
# sudo fastboot reboot-bootloader
# fastboot flash bpsw current/droid4-kexecboot.img
# sudo fastboot flash bpsw droid4-kexecboot.img
# fastboot flash utags utags-mmcblk1p13.bin
# sudo fastboot flash utags utags-mmcblk1p13.bin
# sudo fastboot reboot


Then reboot the device (hold the power button for one or two seconds) and '''wait for it to get through the first boot'''. It will show a green android with something moving in it's stomach, as well as a progress bar. Then the device should show kexecboot for a few seconds before it boots to Android.
The device should reboot and show kexecboot for a few seconds before it boots to Android.


Now, flash the Maemo Leste image to your sdcard:
Now, flash the Maemo Leste image to your sdcard:

Revision as of 04:38, 17 January 2020

This page or section is a stub. Ask how you can help improve leste.maemo.org by visiting #maemo-leste, look at the bugtracker (https://github.com/maemo-leste/bugtracker) or if you are able to contribute to the current page, then you are welcome to do so.

Motorola Droid 4
Motorola Droid 4 - Leste pre-alpha.jpg
Manufacturer Motorola
Codename Maserati
Specifications
Hardware Features
Software Features


Notes

Also see Motorola_Droid_4/Modem Motorola_Droid_4/PowerVR

Also see: http://elektranox.org/droid4/ While using a serial cable, if you lose the connection, the following may help:

18:43 < tmlind> sicelo: hmm the uart debug cable multiplexing still has issues, if the uart disappears during boot it should come back with 
                the console login propt later
18:45 < tmlind> try plugging in a pc usb cable then back to uart cable in case that might help

Status

Feature Leste supported Notes
Kernel version 5.0 Mainline + some patches not yet in mainline
Serial Yes On MicroUSB port, requires special cable
Charging Yes
Wireless Yes
Ethernet N/A
Micro USB Yes OTG
Keyboard Yes Slightly modified keyboard layout, see https://www.spinics.net/lists/linux-omap/msg135137.html (TLDR; Shift key produces CTRL, SYM produces ALT, and Caps lock produces SHIFT)
Screen Yes
3D Acceleration Not yet Also PowerVR - see Motorola Droid 4/PowerVR
Touchscreen Yes Capacitive
Audio Yes
2G/3G data WIP Reported to work, no UI yet - see https://github.com/maemo-leste/connui-cellular/
SMS WIP Reported to work, no UI yet
Phone calls WIP Reported to work, no UI yet
Bluetooth Not yet Needs firmware. Download https://github.com/TI-ECS/bt-firmware/blob/master/TIInit_10.6.15.bts and save it in /lib/firmware/ti-connectivity/
FM Transmitter N/A
FM Receiver Not yet
Accelerometer ? Available as input device, needs MCE work
Proximity sensor ?
HDMI-out WIP works, but not with hildon-desktop
TV-out N/A
Vibration Motor Yes
Compass No Mainline supports it, so Leste needs to add config

Installation using kexecboot

Hardware requirements:

  • Droid4 with fully charged battery
  • MicroUSB cable
  • MicroSD card

Software requirements:

  • Host Linux or Windows system
  • Android Tools: fastboot
  • Flashing tools:
    • XZ Utils and coreutils for Linux
    • Etcher[1] for Windows

Download from https://maedevu.maemo.org/images/droid4/

  1. VRZ_XT894_9.8.2O-72_VZW-18-8_CFC.xml.zip
  2. Latest maemo-leste-1.0-armhf-droid4-*.img.xz

Download from https://github.com/tmlind/droid4-kexecboot.git

  1. utags-mmcblk1p13.bin
  2. droid4-kexecboot.img

Installation:

  1. Create a working directory with above mentioned files in it
  2. unzip VRZ_XT894_9.8.2O-72_VZW-18-8_CFC.xml.zip
  3. Power off Droid4 and connect the device to the host machine with MicroUSB cable
  4. Now start the device in fastboot mode. For this press power button and bottom volume key simultaneously and release them after a second.

Now go to the working directory and run:

  1. sudo fastboot flash mbm VRZ_XT894_9.8.2O-72_VZW-18-8_CFC.xml/allow-mbmloader-flashing-mbm.bin
  2. sudo fastboot reboot-bootloader
  3. sudo fastboot flash bpsw droid4-kexecboot.img
  4. sudo fastboot flash utags utags-mmcblk1p13.bin
  5. sudo fastboot reboot

The device should reboot and show kexecboot for a few seconds before it boots to Android.

Now, flash the Maemo Leste image to your sdcard:

On Linux:

  1. xzcat maemo-leste-1.0-armhf-droid4-20190227.img.xz | sudo dd of=/dev/MICROSDCARD-DEVICE
  2. sync

On Windows: Use Etcher

Wait for the sync to complete and and insert the SD card into the Droid 4. Reboot the device and select Maemo Leste from the kexecboot menu.

You will now have see Maemo Leste boot up, and show you an unaccelerated hildon-desktop after about one minute.

Kernel development (old and outdated)

Linux 4.14 plus patches

Status: http://elektranox.org/droid4/

Sources: linux-stable 4.14.y, patches