Git Product home page Git Product logo

android_vendor_mbm_beta's Introduction

Overview - Jellybean Version
================================================================
This MBM HAL is based on the pre-release MBM HAL 4.0.0.0 BETA for CyanogenMod 10 (Android JB): http://sourceforge.net/apps/mediawiki/mbm/index.php?title=MBM

It has been modified specifically for the HP TouchPad 4G which uses the Ericsson f5521gw Mobile Broadband Module (MBM).  The modifications may be applicable to other platforms using Ericsson MBMs and running Android JB.  
...

Table of Contents
  1. Features
  2. Build Instructions

================================================================
1. Features (in addition to current CyangenMod builds)
================================================================
Cellular radio support for the following standards
----------------------------------------------------------------
  Standard        Download    Upload     Symbol
  ------------    --------    --------   ------
  GSM/GPRS        0.0856      0.0428      "G"
  EDGE Evol       1.8944      0.9472      "E"
  WCDMA           0.384       0.384       "3G"
  HSDPA           14.4        0.384       "H"
  HSDPA+HSUPA     14.4        5.76        "H"
  HSPA Evol       21          5.76        "H+"

Data usage, tethering, and hotspot support
----------------------------------------------------------------
  Data Usage for mobile and Wi-Fi data
  Bluetooth tethering
  Portable Wi-Fi Hotspot

Sensors
----------------------------------------------------------------
  Sensors work correctly in portrait mode builds
  Sensors may not work correctly in landscape mode builds
   (if the application only works in portrait mode)

Email
----------------------------------------------------------------
  Email allows downloading zip and other compressed files
  Email opens mail full screen in landscape mode

Additional debugging support
----------------------------------------------------------------
  Increased Android log buffer sizes
  aldtf.sh (in /system/xbin): Run from su prompt to create log files in 'sdcard/logs'
  xmesg (in system/bin): Creates kernel logs similar to dmesg, but with time stamps
  pollerr.sh (in system/bin): Capturese logs when a POLLERR occurs.  

Acknowledgements
----------------------------------------------------------------
  James Sullins:  Everything, Prebuilds for CM10 audio & video,
    power shutdow, sensors, updated WiFi drivers, etc. 
  Tomasz Rostanski: Camera HAL, Gyroscope, etc. 
  Hunter X: Testing and code input.  
  MBM HAL Developers:  MBM HAL 4.1.0 Beta

================================================================
2. Build Instructions
================================================================
Current version
----------------------------------------------------------------
  These instructions match the current build version:
    cm-10-MBM_L-20140106-4g_beta5-tenderloin.zip
  Link to builds created using these instructions are here:
    WebOS Nation ->
      Android on webOS Forum ->
        Android on 4G TouchPad

Script support
----------------------------------------------------------------
  A build script (4G_jb_beta.sh) is provided in vendor/mbm/patches
  You will need to set $TOP to your build directory.

local_manifest.xml
----------------------------------------------------------------
  <?xml version="1.0" encoding="UTF-8"?>
  <manifest>
    <project name="NewbyJE/hp-kernel-tenderloin" path="kernel/hp/tenderloin" remote="github" revision="ics" />
    <project name="NewbyJE/android_device_hp_tenderloin" path="device/hp/tenderloin" remote="github" revision="jellybean" />
    <project name="NewbyJE/android_vendor_mbm_beta" path="vendor/mbm" remote="github" revision="jellybean" />
    <project name="NewbyJE/android_packages_apps_Email" path="packages/apps/Email" remote="github" revision="jellybean" />
    <project name="CyanogenMod/android_hardware_atheros_wlan" path="hardware/atheros/wlan" remote="github" revision="jellybean" />
    <project name="jcsullins/backports-3.10-2" path="external/backports-wireless" remote="github" revision="master"/>
  </manifest>

Proprietary Files
----------------------------------------------------------------
  Latest HP TP prop files are in device/hp/tenderloin/Proprietary
  Copy them to vendor/hp/tenderloin/proprietary:
    cp -R device/hp/tenderloin/Proprietary/* vendor/hp/tenderloin/proprietary/

Cherry Picks
----------------------------------------------------------------
  # WIP: properly support multivalued controls (James Sullins)
  cd $TOP/external/tinyalsa
  git fetch http://review.cyanogenmod.org/CyanogenMod/android_external_tinyalsa refs/changes/46/33646/1 && git cherry-pick -n FETCH_HEAD

  # telephony: Fix MMS for when operator has different APNs for Data and MMS (John Newby)
  cd $TOP/frameworks/base
  git fetch http://review.cyanogenmod.com/CyanogenMod/android_frameworks_base refs/changes/83/24883/1 && git cherry-pick -n FETCH_HEAD

Patches
----------------------------------------------------------------
  Located in vendor/mbm/patches

  Recommended
  *************************************
  # Add package name providing network location support.
  cd $TOP/development
  patch -p1 < $TOP/vendor/mbm/patches/development.patch

  # turn on nl80211 driver support and fix missing commands.
  cd $TOP/external/wpa_supplicant_8
  patch -p1 < $TOP/vendor/mbm/patches/external_wpa_supplicant_8.patch

  # fix missing commands.
  cd $TOP/hardware/atheros/wlan
  patch -p1 < $TOP/vendor/mbm/patches/hardware_atheros_wlan.patch

  # ath6kl driver early loading and fw path directory
  cd $TOP/hardware/libhardware_legacy
  patch -p1 < $TOP/vendor/mbm/patches/hardware_libhardware_legacy.patch

  # Proper radio buffer sizes and increased size for dmesg dump
  cd $TOP/system/core
  patch -p1 < $TOP/vendor/mbm/patches/system_core.patch

  # Start up wlan0 interface earlier.
  cd $TOP/system/netd
  patch -p1 < $TOP/vendor/mbm/patches/system_netd.patch

  # NITZ and RSSI plus GPS fixes and fast dormancy
  cd $TOP/vendor/mbm
  patch -p1 < $TOP/vendor/mbm/patches/vendor_mbm.patch

  Optional
  *************************************
  # jcsullins patch for non-release builds
  cd $TOP/vendor/cm
  patch -p1 < $TOP/vendor/mbm/patches/vendor_cm.patch

  # Changes required for portrait mode builds.
  cd $TOP/device/hp/tenderloin
  patch -p1 < $TOP/vendor/mbm/patches/device_hp_tenderloin_portrait.patch

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.