当前位置:   article > 正文

RK3399 Android7.1使用序列号烧写工具烧写的序列号_烧录序列号 idb

烧录序列号 idb

diff --git a/system/core/drmservice/drmservice.c b/system/core/drmservice/drmservice.c
old mode 100644
new mode 100755
index 86c8e32..f2f25ba
--- 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
diff --git a/system/core/init/init.cpp b/system/core/init/init.cpp
index 3e3eaeb..52f4374 100755
--- a/system/core/init/init.cpp
+++ b/system/core/init/init.cpp
@@ -473,7 +473,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.userdata",   "ro.userdata",  "",     },
         { "ro.boot.mode",       "ro.bootmode",   "unknown", },
         { "ro.boot.baseband",   "ro.baseband",   "unknown", },

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/AllinToyou/article/detail/259935
推荐阅读
相关标签
  

闽ICP备14008679号