-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
146 lines (121 loc) · 6.23 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
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