Originally Posted by es0tericcha0s
In bootloader / fastboot mode:
fastboot getvar all
Thank You for the response but I am actually trying to find out how to implement the serial number in the kernel. In the original hTC Incredible S kernel, the following is used in the board file:
static int _init board_serialno_setup(char *serialno)
android_usb_pdata.serial_number = serialno;
But, I don't understand where the integer gets char *serialno from. Does the bootloader pass this to the kernel? If yes, how can I catch this char when it is sent to the kernel?