Project

General

Profile

DeprecatedInstallAndroid » History » Version 6

Denis 'GNUtoo' Carikli, 09/17/2009 03:08 PM

1 1 Denis 'GNUtoo' Carikli
== Introduction ==
2
Here's a tutorial that covers the installation of a previously built or downloaded Free Android Image,we will assume that: 
3
 * you don't have the engineering bootloader
4
 * you have root access
5 4 Denis 'GNUtoo' Carikli
 * you have a blank vfat sdcard in your android phone with enough free space
6 1 Denis 'GNUtoo' Carikli
7
== Howto ==
8
 * /!\ first backup your curent version...in case something is wrong we need it
9
 * then if you want the proprietary wifi firmware,execute the following command on your computer(/!\ the firmware is proprietary,we don't know what it does and we are not even allowed to redistribute it):
10
{{{
11
 ./adb pull /system/etc/wifi/Fw1251r1c.bin ./
12
}}}
13
 * dowload an image that can flash our Free Android, like cm-recovery-1.4.img for instance (/!\ we didn't check cm-recovery-1.4.img's freedom) 
14
{{{
15
wget http://n0rp.chemlab.org/android/cm-recovery-1.4.img
16
}}}
17 2 Denis 'GNUtoo' Carikli
Then we will boot on the image that will flash our android:
18
 * shutdown your phone if it isn't shut down
19
 * press the camera button first,keep pressing it while pressing the power button...that will give you a screen with skateboarders
20
 * use fastboot to boot:
21 1 Denis 'GNUtoo' Carikli
{{{
22 2 Denis 'GNUtoo' Carikli
./fastboot boot cm-recovery-1.4.img
23 1 Denis 'GNUtoo' Carikli
}}}
24 2 Denis 'GNUtoo' Carikli
 * press on the back button(<-) that is under the menu button at the right of the trackball
25
it will boot
26
 * backup your image selecting "nandroid v2.2 backup"
27 4 Denis 'GNUtoo' Carikli
 * then use adb to push your images but first we need to look where to push them:
28 3 Denis 'GNUtoo' Carikli
{{{
29 1 Denis 'GNUtoo' Carikli
./adb shell
30
mount -t vfat /dev/block/mmcblk0p1 /sdcard
31 4 Denis 'GNUtoo' Carikli
ls -d /sdcard/nandroid/*/*                   
32
/sdcard/nandroid/HT935NG03334/CBDMRS12-20090917-1455
33 1 Denis 'GNUtoo' Carikli
exit
34 4 Denis 'GNUtoo' Carikli
}}}
35
 * write down the last line before the exit command,because it will differ from device to device
36
 * push the images:
37
{{{
38
./adb shell
39
mount -t vfat /dev/block/mmcblk0p1 /sdcard
40
exit
41
./adb push boot.img /sdcard/nandroid/HT935NG03334/CBDMRS12-20090917-1455
42 5 Denis 'GNUtoo' Carikli
./adb push system.img /sdcard/nandroid/HT935NG03334/CBDMRS12-20090917-1455
43 6 Denis 'GNUtoo' Carikli
./adb pull /sdcard/nandroid/HT935NG03334/CBDMRS12-20090917-1455/nandroid.md5
44
}}}
45
 * then we need to compute the md5sums:
46
{{{
47 1 Denis 'GNUtoo' Carikli
./adb shell
48 6 Denis 'GNUtoo' Carikli
md5sum /sdcard/nandroid/HT935NG03334/CBDMRS12-20090917-1455/system.img 
49
md5sum /sdcard/nandroid/HT935NG03334/CBDMRS12-20090917-1455/system.img 
50 1 Denis 'GNUtoo' Carikli
}}}
51 6 Denis 'GNUtoo' Carikli
 * note the result of both md5sum commands