/device-firee

Alcatel FireE build config

Primary LanguageShell

Alcatel OneTouch Fire E (OT-6015x)

This is an attempt to create a usable build profile for the phone OT-6015x. The sources to compile b2g are available on SourceForge: http://sourceforge.net/projects/alcatel/files/OT_FF_6015X_20150403.tar.xz/download.

Setup

In order to build the device, you have to set b2g to use this repository https://github.com/llacroix/b2g-manifest instead of the usual b2g-manifest repository. The custom b2g-manifest repository add the firee build profile to b2g.

The kernel sources aren't yet configured in the manifest to point to something that works. If you want to build the kernel, you can configure the epo with ``config.shthen create a new branch inkerel/` paste the sources ther and commit the changes. If you rerun the `config` or sync the repos... It will probably change the working directory of the kernel. After that just checkout the branch you added.

Run:

./config.sh firee

Then:

./build.sh

Status

What needs to be done:

  • Kernel build working
  • Userdata build working (1.3)
  • What's working
    • Audio Headphones
    • Audio Speaker
    • Display
    • Accelerometer
    • Gyroscope (not sure but the device shouldn't have them)
    • Internet (with wifi)
    • Wifi* (need to insert wlan.ko manually in init.rc)
    • Backlight
    • /storage/sdcard1
    • Radio GSM / SMS / PhoneCalls
    • Audio Speaker telephony
    • GPS (works with an internet connection using a-gps, using simplay gps without internet doesn't seem to work)
    • Camera (photo/video) Not sure if it's saving them yet
  • What's not working yet
    • Radio FM (can seek but no sound yet)
    • Compass (might work)
    • Bluetooth (Bluez)
      • Bluetooth loads correctly but b2g doesn't seem to care about it. No errors... just doesn't work no log in adb
    • Bluetooth (Bluedroid)
      • Not sure if it's possible without vendor libs
    • Sound
      • Cannot set the volume out of speakers
      • Music app cannot play music (problem with output device)
    • Microphone (Works but problem could be related to sdcard missing)
      • Cannot record a stream from microphone (could affect recording any stream)
    • Video playback (Seems to be missing codecs but video worked in an app)
    • /storage/sdcard0 (vold doesn't seem to work correctly, sdcard0 is created but not mounted)
    • Some apps think there is no sdcard
  • Make a script to backup the device and copy backed up files to the system partition during build time.
  • Add the kernel sources (somewhere) and fix the manifest
  • Add the gecko sources (somewhere) and fix manifest if necessary
    • Might not be necessary as b2g 2.5 runs quite well without any "custom" fix from alcatel.
  • Enable hidden soft buttons on the bottom of the display: The phone has 3 soft buttons with keycode (158 102 139). The alcatel 6015x is a clone of the alcatel onetouch idol 2 mini L (ot-6014x). The button works in ClockWorkMod recovery.

Read more about the device in the Wiki