Project

General

Profile

DeprecatedInstallation » History » Version 11

Paul Kocialkowski, 09/26/2011 07:37 PM

1 8 Paul Kocialkowski
== Summary ==
2
3
 * [#installdetailed Detailed instructions to install Replicant]
4
 * [#installsummary Summary of the instructions to install Replicant]
5
6
== Detailed instructions to install Replicant == #installdetailed
7
8
 1. '''Make sure your phone is supported'''[[BR]][[BR]]
9
    Replicant only supports a few phones. Make sure the phone you want to install Replicant on is on the ReplicantStatus list. If it's not, you won't be able to install Replicant on your device without at least a bit of software hacking.[[BR]][[BR]]
10 11 Paul Kocialkowski
 2. '''Make sure your phone allows non-official images'''[[BR]][[BR]]
11
    Some phones come with software that allows the user to ''flash'' the memory (replace the content of the memory partitions, like the system or the kernel one), but it's not always the case. Google-branded phones (Nexus One and Nexus S) come with this allowed but for some other devices, you'll certainly have to do some more operations to make this possible (it's required to flash Replicant).[[BR]]
12
    Please, refer to the [http://wiki.cyanogenmod.com/wiki/Main_Page CyanogenMod wiki] to find and follow the instructions to '''root the phone'''. Note that instructions for Replicant 2.2 correspond to CyanogenMod 6 and Replicant 2.3 correspond to CyanogenMod 7.[[BR]]
13
    For instance on the [http://wiki.cyanogenmod.com/wiki/HTC_Dream HTC Dream] page, you'll need to follow the instructions to '''root the phone''' and to install '''DangerSPL'''.[[BR]][[BR]]
14
    '''Note: all the radio images and bootloader images that are provided on these pages are not free software.'''[[BR]][[BR]]
15
 3. '''Download the Replicant images for your phone'''[[BR]][[BR]]
16 8 Paul Kocialkowski
   a. '''Find the codename of your phone'''[[BR]]
17
      Each device we support has a codename. You can find the codenames on the ReplicantStatus page. [[BR]]
18 9 Paul Kocialkowski
      For instance, HTC Dream has {{{ Codename: dream_sapphire }}}.[[BR]][[BR]]
19 1 Denis 'GNUtoo' Carikli
   b. '''Find the latest usable Replicant image'''[[BR]]
20 9 Paul Kocialkowski
      The ReplicantStatus page also shows the latest usable Replicant image for each device.[[BR]]
21
      For instance, HTC Dream/HTC Magic has {{{ Last usable image: Replicant 2.2 preview 0008 }}}.[[BR]][[BR]]
22
   c. '''Download the tools to send the Replicant image to the phone'''[[BR]][[BR]]
23
      Replicant images are hosted at: http://ftp.osuosl.org/pub/replicant/images/ [[BR]]
24
      From this page, select the Replicant version (replicant-2.2, replicant-2.3, etc) of the latest usable Replicant image for your device.[[BR]]
25
      Then, select the Replicant image type (preview or release) of the latest usable Replicant image for your device.[[BR]]
26
      Select the Replicant image number (0006 for example) of the latest usable Replicant image for your device.[[BR]]
27
      Select the '''tools''' directory and download the '''fastboot''' utility to write Replicant on your device. [[BR]]
28
      For instance, if the phone is HTC Dream and the latest image {{{ Replicant 2.2 preview 0008 }}}, '''fastboot''' location will be: {{{ http://ftp.osuosl.org/pub/replicant/images/replicant_2.2/preview/0008/tools/fastboot }}}.
29 10 Mark Holmquist -
 3. '''Root your phone'''[[BR]][[BR]]
30
    The phone needs to be rooted so we can install Replicant. You should be able to follow the CyanogenMod instructions for this. Go to {{{ http://wiki.cyanogenmod.com/wiki/ }}} and find your device's installation instructions.
31
 4. '''[HTC DREAM ONLY] Install DangerSPL'''[[BR]][[BR]]
32
    MarkTraceur had to do this in order to make enough space on his phone for the images, you might have to as well. You should still be following the CyanogenMod instructions, so continue from the rooting section on to the 'Flashing Radio' and 'installing DangerSPL' instructions. It should be pretty straightforward from there, since you can now install the images. Here is a direct link: {{{ http://wiki.cyanogenmod.com/wiki/Dream:DangerSPL#How_do_I_check_if_I_already_have_DangerSPL.3F }}}
33 8 Paul Kocialkowski
34
== Summary of the instructions to install Replicant == #installsummary
35
36 2 Denis 'GNUtoo' Carikli
== Requirements ==
37
 * a rooted or unlocked phone
38 5 John Sullivan
 * fastboot(can be built or obtained [http://ftp.osuosl.org/pub/replicant/images/replicant_2.2/ from our ftp])
39
 * the images(can be built or obtained [http://ftp.osuosl.org/pub/replicant/images/replicant_2.2/ from our ftp])
40 2 Denis 'GNUtoo' Carikli
41 6 John Sullivan
== Installation ==
42 1 Denis 'GNUtoo' Carikli
43 10 Mark Holmquist -
Put the phone in fastboot mode (by holding the Camera button and the Power button, then following on-screen instructions), make sure it's connected to your computer, and run the following commands on your computer. You may need to use sudo.
44
45
'''Note, if you don't have instructions for entering fastboot mode, you may need to install DangerSPL using the CyanogenMod instructions.'''
46 4 Denis 'GNUtoo' Carikli
47 3 Denis 'GNUtoo' Carikli
'''Note that it will erase everything on the phone''' 
48 1 Denis 'GNUtoo' Carikli
{{{
49
./fastboot flash system system.img
50
./fastboot flash boot boot.img
51
./fastboot flash userdata userdata.img 
52
./fastboot erase cache
53
./fastboot reboot
54
}}}