-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathREADME
52 lines (37 loc) · 1.79 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
Android-4.3 Release Note
------------------------
Put all files here into $ANDROID_ROOT/device/ingenic/npm801/
Copy 0001-Adding-configuration-files-for-bluetooth-npm801.patch to device/commont/libbt and apply for BT@npm801.
****PART ONE: Building the System****
1. Initialize the environment with the envsetup.sh script.
$ source build/envsetup.sh
or
$ . build/envsetup.sh
2. Choose target.
$ lunch full_npm801-userdebug
3. Build everything.
$ make -j24
**** PART TWO: Flashing the device ****
Because fastboot is related to bootloader, the x-boot-nand.bin must be updated.
This only needs to be done once per tablet.
---- updating x-boot ----
1. Connect the device to PC by USB cable and plug charger into the device.
2. Put device into USB-BOOT mode by pressing both Vol+ and reset at the same time
and keeping Vol+ pressed for at least 2 seconds after reset is released.
3. Note that the screen is blank in this mode.
4. Check if the device entered USB boot mode correctly using 'lsusb'.
'xxxx:4780' is the target.
5. $ cd ingenic-xboot-updater
6. $ sudo ./ingenic-xboot-updater --boot=x-boot-nand.bin
---- Flashing with FASTBOOT ----
1. Press 'return' and do a reset, keep 'return' key pressed until fastboot screen appears.
2. The USB icon in the center of screen will show if you have a proper USB connection.
3. Run fastboot on host. You can run fastboot as a normal user if your udev rules
include the tablet device ID. Otherwise, you need to run fastboot as root::
$ sudo -s
# cd 'Android-root'
# . build/envsetup.sh
# lunch full_npm801-userdebug
# fastboot flashall
NOTE: Because the system is 640MB, flashall will take about 10 Minutes.
There is a progress indicator onscreen.