On Wednesday, January 7, 2015 4:22:51 PM UTC+1, Alexandre Lissy wrote: > Le 07/01/2015 16:20, Jan Jongboom a écrit : > > In app manager / WebIDE it says 'Connect to XXXX', where XXXX is f.e. > > full_keon on Keon device, or 7ae9cc3e on one of my Flames. > > > > If I look in the System Report thing in OSX I see that this is the Serial > > Number of the device. How can I set this one on Flame? I guess on Keon that > > it comes from: > > > > https://github.com/mozilla-b2g/device-gp-keon/blob/master/full_keon.mk > > > > I would like to modify it. > > On flame, the serial number is set from the value passed to the kernel > by the bootloader. > > We have support for hacking the bootloader, so you can easily do this if > you want. > > > > > _______________________________________________ > > dev-b2g mailing list > > [email protected] > > https://lists.mozilla.org/listinfo/dev-b2g > >
Thanks, at first I figured you could do it like this: $ adb remount $ adb shell $ setprop persist.usb.serialno flame123 # for after a reboot $ echo flame123 > /sys/class/android_usb/android0/iSerial # for straight away $ exit Now disconnect and connect device and the name changed, also after soft-reboot. Only with hard reboot you see the old value again, but doesn't matter for me at this point, just hook it into init script in Linux. _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
