Skip to content

Commit 66313dc

Browse files
author
Daz Jones
committedJan 30, 2013
Basic changes for B2G
1 parent 41dcf84 commit 66313dc

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed
 

‎BoardConfig.mk

-4
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ BOARD_AVOID_DRAW_TEXTURE_EXTENSION := true
6060
TARGET_GRALLOC_USES_ASHMEM := true
6161

6262
# Web Rendering
63-
ENABLE_JSC_JIT := true
64-
ENABLE_WEBGL := true
65-
HTTP := chrome
66-
JS_ENGINE := v8
6763
TARGET_FORCE_CPU_UPLOAD := true
6864

6965
# USB

‎device.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,6 @@ PRODUCT_TAGS += dalvik.gc.type-precise
9999

100100
$(call inherit-product, build/target/product/full.mk)
101101

102-
PRODUCT_NAME := huawei_u8815
102+
PRODUCT_NAME := full_u8815
103103
PRODUCT_DEVICE := u8815
104104
PRODUCT_BRAND := Huawei

‎ramdisk/init.huawei.rc

+11-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727

2828
import init.huawei.usb.rc
2929

30+
on early-init
31+
start ueventd
32+
import init.b2g.rc
33+
3034
on init
3135
mkdir /mnt 0775 root system
3236
mkdir /mnt/sdcard 0000 system system
@@ -112,7 +116,13 @@ on boot
112116
on emmc-fs
113117
# mount mmc partitions
114118
wait /dev/block/mmcblk0p12
115-
mount ext4 /dev/block/mmcblk0p12 /system ro barrier=1,nodelalloc
119+
mount ext4 /dev/block/mmcblk0p12 /system rw barrier=1,nodelalloc
120+
121+
# B2G permissions
122+
chmod 0755 /system/b2g/b2g
123+
chmod 0755 /system/b2g/updater
124+
chmod 0755 /system/b2g/plugin-container
125+
116126
wait /dev/block/mmcblk0p13
117127
exec /system/bin/e2fsck -p /dev/block/mmcblk0p13
118128
mount ext4 /dev/block/mmcblk0p13 /data nosuid nodev barrier=1 noauto_da_alloc,nodelalloc

‎u8815.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
2727
$(call inherit-product, device/huawei/u8815/device.mk)
2828

2929
# Set those variables here to overwrite the inherited values.
30-
PRODUCT_NAME := huawei_u8815
30+
PRODUCT_NAME := full_u8815
3131
PRODUCT_DEVICE := u8815
3232
PRODUCT_BRAND := Huawei
3333
PRODUCT_MANUFACTURER := Huawei

0 commit comments

Comments
 (0)
Failed to load comments.