Project

General

Profile

TargetsEvaluation » History » Version 15

Denis 'GNUtoo' Carikli, 07/21/2012 11:00 PM

1 1 Brian Kemp
h1. Good Potential Targets
2
3
h2. Good Targets
4
A good potential target for Replicant will have:
5
6 2 Brian Kemp
* Unlocked bootloader or Root-capable Recovery
7
* Compatibility with standard tools (adb, fastboot, heimdall)
8
* GSM / UMTS network capability (CDMA2000 devices require proprietary libraries signed with a particular key in order to use the network)
9 1 Brian Kemp
* Components (e.g., Wifi, Bluetooth, Camera, Video, Touchscreen) with freely available documentation
10
* Support in CyanogenMod or other AOSP-based Android build
11
* As few binary-only drivers as possible
12
13
h2. Ideal Targets
14
15
An ideal potential target for Replicant will have:
16
17
* All of the good potential target characteristics
18
* Processor Isolation - Modem cannot spy on the memory of the Application processor
19
* Components that do not require loadable firmware
20
* Commonality with devices already supported in Replicant or other Free Software phone project
21
* Zero binary-only drivers
22
* Free-able bootloader
23 3 Denis 'GNUtoo' Carikli
24
h1. Devices that have been evaluated
25
26
h2. Openmoko Neo Freerunner
27
28
Has root: YES
29
Sim Unlocked: YES
30
In production: NO(but can still be bought very easily new)Details:
31
32
We never ported Replicant 2.2 to the Neo Freerunner but there is a project to run Android on it called android-on-freerunner
33
34
People from this project reported that Android 2.2 was to slow on the Neo to be usable at all.
35
36
Other major issues are: it has an ARMv4t architecture that brings some apk compatibilities issues because lots of apk packages use native code, often compiled for higher arm versions.A solution could be to recompile each application but it’s heavy work.
37
38
Update: the new Openmoko Beagle Hybrid uses an
39
40
ARM Cortex A8 board that is based on ARMv7 architecture (the same of Nokia N900 and Palm Pre).
41
42
h1. Nokia N900
43
44
Has root: Depends on Simlock(if no simlock is there you should be able to get root by running a command)
45
Sim Unlocked: Depends
46
In production: ?(can be bought in regularly)
47
48
We never ported Replicant to the Nokia N900. There is a project for it called Nitdroid that have nearly everthing working.
49
50
One issue is is that voice calls depend on cmt_speech pulseaudio plugin, that is free software but not included in Android.
51
52
Another big issue regards source code: the main nitdroid developer told us it was hard to build and its build was not documented.
53
54
The project also doesn’t seem very freedom friendly in the sense that their goal seem to be able to run some proprietary android software.
55
56
h1. Apple iPhone 3G
57
58
Has root: NO
59
Sim Unlocked: YES (if you buy it without annual contract)
60
In production: ?
61
62
The idroid project ( http://www.idroidproject.org/wiki/Main_Page ) is porting android to the iphones and other apple mobile devices.
63
64
It seems that the iphone2g is the most supported phone and that they made it usable. Although because no current replicant developpers own an iphone. So no one could verify.
65
66
Most of the hardware seem standard(libertas,AT commands on modem side(with a lot of customs comands),alsa,standard accelerometers…) which is better(no driver to write from scratch)
67
We didn’t check other iphone version.
68
69
h1. Windows Phones
70
71
Has root: ?
72
Sim Unlocked: ?
73
In production: Depend on the phone model
74
75
There are many windows mobile phones, like the HD2, however no one investigated it a lot and we are unsure if Android can be booted without haret(in other words haret can boot android from windows mobile, which means that you have to start windows mobile first…).
76
77
The key project for that is HTC-Linux
78
79
h1. Geeksphone One
80
81
Has root: YES
82
Sim Unlocked: YES
83
In production: NO
84
85
The geeksphone one is very similar to the htcdream.
86
The screen resolution is lower, and they have a different wifi chip(the same than the freerunner which uses WEXT(wireless extensions)(not an issue for android))
87
Note that there is an android project with sources for it available here: https://github.com/rmcc/
88
89
h1. Geeksphone Zero
90
91
Has root: YES
92
Sim Unlocked: YES
93
In production: YES
94
95
The Geeksphone Zero allows custom Android and Linux images to be run instead of the deault ones.
96
Cyanogenmod (the android derivate Replicant is based on) provides support for the Geeksphone Zero.
97
98
SoC is Qualcomm MSM7227 (easy to support on Android).
99 4 Denis 'GNUtoo' Carikli
100
h1. GizmoForYou FLOW G1.55
101 3 Denis 'GNUtoo' Carikli
102
Has root: YES?
103
Sim Unlocked: YES?
104
In production: ?
105
106
Overo boards used in this phone are OMAP 3 with free xloader and u-boot (like in GTA04).
107
Modem uses AT and Android reference RIL (free) is used. Audio is ALSA.
108
109
Instructions to build Android 2.2 for it are provided: http://www.gizmoforyou.net/wiki/index.php/Building_G155_Android
110
The Android 2.2 source code is availble here: https://gitorious.org/flow-g1-5/
111
112
Non-free firmwares are needed for WiFi, bluetooth, etc on the Overo boards that include these.
113
Also, a non-free gralloc lib is used (for graphical acceleration). The 0xdroid project should be able to provide a free gralloc for OMAP 3 boards as a working replacement.
114
115
Documentation (datasheets) are also available for most hardware components.
116
117
Unfortunately that phone isn’t cheap.
118
119
h1. DIY Phones
120
121
Has root: ?
122
Sim Unlocked: ?
123
In production: ?
124
125
There is a small number of Do-it-yourself phones where the user is
126
expected to assemble his phone.
127
Examples of this include the odroid
128
( http://www.hardkernel.com/ ) phones with comes with android support.
129
However the issue is that not all users wants or are able to assemble their own phones.
130 5 Denis 'GNUtoo' Carikli
131
h1. Comparison of potential targets
132
133
h2. Support easyness
134
135 11 Denis 'GNUtoo' Carikli
|Phone|Android target version|Gralloc|RIL|Audio|camera|sensors| GPS | 
136
|Geeksphone one | maybe 2.3? |Easy, probably supported by hardware/msm7k audioHardware libraries|AT possible(TODO:contact VquickSilver for details),but proprietary ril uses RPC binary protocol(TODO:contact morphis for details) | Easy, probably supported by hardware/msm7k audioHardware libraries|difficult since no one finished support for msm camera yet.|unknown| unknown yet | 
137 12 Denis 'GNUtoo' Carikli
|Samsung Galaxy Nexus| 4.x, unsure if backporting to 2.3 is doable| recovery from replicant ics-preparation worked but not the gralloc(garbage on screen) | Easy thanks to samsung-ril+libsamsung-ipc | ? | ? | ? | doable(SIRF)| 
138 13 Denis 'GNUtoo' Carikli
|Samsung Galaxy SII| ? | ? | Easy thanks to samsung-ril+libsamsung-ipc | ? | ? | ? | doable(SIRF) |
139 12 Denis 'GNUtoo' Carikli
|Samsung Galaxy SIII | 4.x, unsure if backporting to 2.3 is doable| ? | Easy thanks to samsung-ril+libsamsung-ipc | free software audio libraries available in cyanogenmod | ? | ? | unknown|
140 14 Denis 'GNUtoo' Carikli
141
h2. Hardware freedom
142 15 Denis 'GNUtoo' Carikli
143 14 Denis 'GNUtoo' Carikli
|Phone|Bootloader| Firmwares |Modem transport|Modem peripherals|Modem Storage|
144
|Geeksphone One| proprietary | Wifi, ? | shared memory | Mic, GPS | Shared NAND |
145
|Samsung Galaxy Nexus | Proprietary signed | Wifi,? | High speed serial if OMAP4 SOC(shared memory for other versions) | ? | ? | 
146
|Samsung Galaxy SII| proprietary | Wifi, ? | ? | ? | ? |
147
|Samsung Galaxy SIII | proprietary | Wifi, ? | ? | ?  | ? |