本文介绍了在多个Android设备相同的序列号。亚行也没用。我怎样才能更改序列号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我买了很多(500+)廉价中国平板电脑全志处理器和Android 4.0.3。所有的平板电脑提供了相同的序列号。使用ADB.EXE我不能同时部署应用程序在多个设备(具有USB集线器),因为它不能区分它们。

I bought a lot (500+) cheap China tablet with AllWinner processor and Android 4.0.3. All tablets expose the same serial number. I can't deploy my application simultaneously on several devices (with a USB hub) using ADB.EXE because it can't distinguish them.

我在想一个pre-部署过程,改变内部的序列号,这可能吗?当存储的序列号?

I'm thinking about a pre-deploy process that change the internal serial number, is it possible? Where is the serial number stored?

注意:平板电脑是植根

推荐答案

您需要填充 / SYS /班/ android_usb / android0 / iSerial sysfs中具有独特价值的文件每个设备。大多数厂商定制的初始化脚本,这会从持久性的系统属性或常规文件中读取值,并把它在sysfs中的每个功率可达做到这一点。

You need to populate /sys/class/android_usb/android0/iSerial sysfs file with unique values for every device. Most vendors do it with custom init script, which would read the value from a persistent system property or a regular file and put it in sysfs on every power up.

这篇关于在多个Android设备相同的序列号。亚行也没用。我怎样才能更改序列号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 00:32