- Mar 19, 2013
- 3
- 11
Hi, I have the MIUI ROM 2.3.30 on my HD2 which I run from the SD card.
I do development with android and I have to keep swapping the usb leads between my HD2 and my Momo8 tablet because they both appear on the ADB as having the same serial number of
0123456789ABCDEF
I tried adding a line to the startup.txt file so that the whole file looks like this:
set serial 12345
set mtype 2524
set ramaddr 0x11800000
set ramsize 0x1e400000
set initrd_offset 0x00a00000
set KERNEL zImage
set initrd initrd.gz
set cmdline "rel_path=Android_Yugo data_size=1024 lcd_density=240 gps_zone=uk"
boot
### Leave cmdline as default if you don't know what you are doing ###
# default: set cmdline "rel_path=Android"
# sample: set cmdline "rel_path=Android data_size=512 lcd_density=200 gps_zone=us"
### Meaning of Variable ##################################################
# rel_path: folder name of the build#
# data_size: size of data.img, 1024 means 1024MB#
# lcd_density: default value for android is 240
# gps_zone: country code, us, fr, jp, etc.
### Leave cmdline as default if you don't know what you are doing ###
i added the set serial 12345 line
but nope. doesn't work.
Do you know how I can change the serial?
Doesn't really matter what I change it to, just as long as I can change it.
Thanks
ian
I do development with android and I have to keep swapping the usb leads between my HD2 and my Momo8 tablet because they both appear on the ADB as having the same serial number of
0123456789ABCDEF
I tried adding a line to the startup.txt file so that the whole file looks like this:
set serial 12345
set mtype 2524
set ramaddr 0x11800000
set ramsize 0x1e400000
set initrd_offset 0x00a00000
set KERNEL zImage
set initrd initrd.gz
set cmdline "rel_path=Android_Yugo data_size=1024 lcd_density=240 gps_zone=uk"
boot
### Leave cmdline as default if you don't know what you are doing ###
# default: set cmdline "rel_path=Android"
# sample: set cmdline "rel_path=Android data_size=512 lcd_density=200 gps_zone=us"
### Meaning of Variable ##################################################
# rel_path: folder name of the build#
# data_size: size of data.img, 1024 means 1024MB#
# lcd_density: default value for android is 240
# gps_zone: country code, us, fr, jp, etc.
### Leave cmdline as default if you don't know what you are doing ###
i added the set serial 12345 line
but nope. doesn't work.
Do you know how I can change the serial?
Doesn't really matter what I change it to, just as long as I can change it.
Thanks
ian