|
发表于 2017-12-5 18:15:32
只看该作者
5#
revert this commit
commit cfe088b8e25e93339895434ce8a0c5f24101ec2d
Author: Firefly-RK3288 <service@t-firefly.com>
Date: Thu Nov 23 10:57:25 2017 +0800
1.support EC20 4G dongle 2.fix status information 3.fix the seq of display
diff --git a/system/core/drmservice/drmservice.c b/system/core/drmservice/drmservice.c
index b40403b..4e23f8c 100644
--- a/system/core/drmservice/drmservice.c
+++ b/system/core/drmservice/drmservice.c
@@ -81,7 +81,7 @@ typedef unsigned char uint8;
#define DEBUG_LOG 0 //open debug info
-#define SERIALNO_FROM_IDB 0 //if 1 read sn from idb3; if 0 generate sn auto
+#define SERIALNO_FROM_IDB 1 //if 1 read sn from idb3; if 0 generate sn auto
#define SET_IFACE_DELAY 300000
#define SET_IFACE_POLLING_LOOP 20
or take this patch,then use UpgradeDllTool.exe to burn the sn
--- a/system/core/init/init.cpp
+++ b/system/core/init/init.cpp
@@ -468,7 +468,7 @@ static void export_kernel_boot_props() {
const char *dst_prop;
const char *default_value;
} prop_map[] = {
- //{ "ro.boot.serialno", "ro.serialno", "", },
+ { "ro.boot.serialno", "ro.serialno", "", },
{ "ro.boot.mode", "ro.bootmode", "unknown", },
{ "ro.boot.baseband", "ro.baseband", "unknown", },
{ "ro.boot.bootloader", "ro.bootloader", "unknown", },
|
|