Difference between revisions of "AIM-Linux/ROM-5722 Anroid flash image guide"
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''OTG Flash Image guide : ''' | '''OTG Flash Image guide : ''' | ||
+ | |||
+ | '''0. Please change to Download mode ( Swtich setting is 4 on , others off )''' | ||
+ | |||
+ | '''[[File:ROM-5722 SW otg androidimage.PNG|RTENOTITLE]]''' | ||
'''1. To identify a device using a command, you typically use commands like <code>lsusb</code> for USB devices on Linux systems.''' | '''1. To identify a device using a command, you typically use commands like <code>lsusb</code> for USB devices on Linux systems.''' | ||
Line 14: | Line 18: | ||
| | ||
− | '''3. Flash image by command : ''' | + | '''3. Flash image by command : ''' |
− | '''<span style="background-color:#f1c40f;">command : </span>''' | + | '''<span style="background-color:#f1c40f;">command : </span>''' |
'''<span style="background-color:#f1c40f;">sudo ./uuu_imx_android_flash.sh -f imx8mp -a -e</span>''' | '''<span style="background-color:#f1c40f;">sudo ./uuu_imx_android_flash.sh -f imx8mp -a -e</span>''' | ||
− | [[File:ROM-5722 flash image command androidimage.PNG]] | + | [[File:ROM-5722 flash image command androidimage.PNG|RTENOTITLE]] |
+ | |||
+ | | ||
+ | |||
+ | '''SD Card Flash Image guide : ''' | ||
+ | |||
+ | '''0. Chech the SD Card in Linux system ''' | ||
+ | |||
+ | '''command : ''' | ||
+ | |||
+ | ''' sudo fdisk -l ''' | ||
+ | |||
+ | '''1. Log into SD card image folder ''' | ||
+ | |||
+ | [[File:ROM-5722 SD image florder androidimage.PNG|RTENOTITLE]] | ||
+ | |||
+ | '''2. Flash SD card image by command : ''' | ||
+ | |||
+ | '''command : ''' | ||
+ | |||
+ | ''' sudo ./imx-sdcard-partition.sh -f imx8mp /dev/sdh''' | ||
| | ||
+ | |||
+ | '''Flahs process message''' | ||
+ | |||
+ | '''----------------------------------------------------------------------------''' | ||
+ | |||
+ | '''$ sudo ./imx-sdcard-partition.sh -f imx8mp /dev/sdh'''<br/> make gpt partition for android: partition-table.img<br/> 17+0 records in<br/> 17+0 records out<br/> 17408 bytes (17 kB, 17 KiB) copied, 0.00582998 s, 3.0 MB/s | ||
+ | |||
+ | /dev/sdh:<br/> re-reading partition table<br/> Caution: invalid backup GPT header, but valid main header; regenerating<br/> backup header from main header. | ||
+ | |||
+ | Warning! Main and backup partition tables differ! Use the 'c' and 'e' options<br/> on the recovery & transformation menu to examine the two tables. | ||
+ | |||
+ | Warning! One or more CRCs don't match. You should repair the disk!<br/> Main header: OK<br/> Backup header: ERROR<br/> Main partition table: OK<br/> Backup partition table: ERROR | ||
+ | |||
+ | formating android images<br/> format_partition: metadata:/dev/sdh8 ext4<br/> mke2fs 1.45.5 (07-Jan-2020)<br/> /dev/sdh8 contains a ext4 file system labelled 'metadata'<br/> created on Mon Jul 29 15:43:38 2024<br/> Creating filesystem with 4096 4k blocks and 4096 inodes | ||
+ | |||
+ | Allocating group tables: done<br/> Writing inode tables: done<br/> Creating journal (1024 blocks): done<br/> Writing superblocks and filesystem accounting information: done | ||
+ | |||
+ | erase_partition: presistdata : /dev/sdh9 1M<br/> 1+0 records in<br/> 1+0 records out<br/> 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0170493 s, 61.5 MB/s<br/> erase_partition: fbmisc : /dev/sdh12 1M<br/> 1+0 records in<br/> 1+0 records out<br/> 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0180272 s, 58.2 MB/s<br/> erase_partition: misc : /dev/sdh7 4M<br/> 4+0 records in<br/> 4+0 records out<br/> 4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.0838173 s, 50.0 MB/s<br/> format_partition: userdata:/dev/sdh11 ext4<br/> mke2fs 1.45.5 (07-Jan-2020)<br/> Creating filesystem with 2281984 4k blocks and 571200 inodes<br/> Filesystem UUID: 89e5388e-3131-458a-9c07-dcbf9efb39ed<br/> Superblock backups stored on blocks:<br/> 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632 | ||
+ | |||
+ | Allocating group tables: done<br/> Writing inode tables: done<br/> Creating journal (16384 blocks): done<br/> Writing superblocks and filesystem accounting information: done | ||
+ | |||
+ | flash_partition: dtbo-imx8mp.img ---> /dev/sdh1<br/> 0+1 records in<br/> 0+1 records out<br/> 4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.0651725 s, 64.4 MB/s<br/> flash_partition: dtbo-imx8mp.img ---> /dev/sdh2<br/> 0+1 records in<br/> 0+1 records out<br/> 4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.105797 s, 39.6 MB/s<br/> flash_partition: vendor_boot.img ---> /dev/sdh5<br/> 6+1 records in<br/> 6+1 records out<br/> 67108864 bytes (67 MB, 64 MiB) copied, 1.07076 s, 62.7 MB/s<br/> flash_partition: vendor_boot.img ---> /dev/sdh6<br/> 6+1 records in<br/> 6+1 records out<br/> 67108864 bytes (67 MB, 64 MiB) copied, 1.2398 s, 54.1 MB/s<br/> flash_partition: boot.img ---> /dev/sdh3<br/> 6+1 records in<br/> 6+1 records out<br/> 67108864 bytes (67 MB, 64 MiB) copied, 1.23529 s, 54.3 MB/s<br/> flash_partition: boot.img ---> /dev/sdh4<br/> 6+1 records in<br/> 6+1 records out<br/> 67108864 bytes (67 MB, 64 MiB) copied, 1.24231 s, 54.0 MB/s<br/> flash_partition: super.img ---> /dev/sdh10<br/> flash_partition: vbmeta-imx8mp.img ---> /dev/sdh13<br/> 0+1 records in<br/> 0+1 records out<br/> 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.00371064 s, 2.2 MB/s<br/> flash_partition: vbmeta-imx8mp.img ---> /dev/sdh14<br/> 0+1 records in<br/> 0+1 records out<br/> 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.0192231 s, 426 kB/s<br/> erase_partition: uboot : /dev/sdh<br/> flash_partition: u-boot-imx8mp.imx ---> /dev/sdh<br/> the bootloader partition size: 8160<br/> 8160+0 records in<br/> 8160+0 records out<br/> 8355840 bytes (8.4 MB, 8.0 MiB) copied, 1.65138 s, 5.1 MB/s<br/> 1388+1 records in<br/> 1388+1 records out<br/> 1422256 bytes (1.4 MB, 1.4 MiB) copied, 0.500707 s, 2.8 MB/s | ||
+ | |||
+ | >>>>>>>>>>>>>> Flashing successfully completed <<<<<<<<<<<<<<<br/> '''3. Change the Switch to 1 off , 2 on , 3 on, other off . ''' | ||
+ | |||
+ | [[File:ROM-5722 SW SD androidimage.PNG|RTENOTITLE]] | ||
| | ||
+ | |||
+ | ''' 4. Android Image boot up ''' | ||
+ | |||
+ | '''[[File:ROM-5722 androidimage bootup.PNG]]''' |
Latest revision as of 09:35, 29 July 2024
OTG Flash Image guide :
0. Please change to Download mode ( Swtich setting is 4 on , others off )
1. To identify a device using a command, you typically use commands like lsusb
for USB devices on Linux systems.
Here’s how you can use these commands:
2. Log into Image folder
3. Flash image by command :
command :
sudo ./uuu_imx_android_flash.sh -f imx8mp -a -e
SD Card Flash Image guide :
0. Chech the SD Card in Linux system
command :
sudo fdisk -l
1. Log into SD card image folder
2. Flash SD card image by command :
command :
sudo ./imx-sdcard-partition.sh -f imx8mp /dev/sdh
Flahs process message
----------------------------------------------------------------------------
$ sudo ./imx-sdcard-partition.sh -f imx8mp /dev/sdh
make gpt partition for android: partition-table.img
17+0 records in
17+0 records out
17408 bytes (17 kB, 17 KiB) copied, 0.00582998 s, 3.0 MB/s
/dev/sdh:
re-reading partition table
Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.
Warning! Main and backup partition tables differ! Use the 'c' and 'e' options
on the recovery & transformation menu to examine the two tables.
Warning! One or more CRCs don't match. You should repair the disk!
Main header: OK
Backup header: ERROR
Main partition table: OK
Backup partition table: ERROR
formating android images
format_partition: metadata:/dev/sdh8 ext4
mke2fs 1.45.5 (07-Jan-2020)
/dev/sdh8 contains a ext4 file system labelled 'metadata'
created on Mon Jul 29 15:43:38 2024
Creating filesystem with 4096 4k blocks and 4096 inodes
Allocating group tables: done
Writing inode tables: done
Creating journal (1024 blocks): done
Writing superblocks and filesystem accounting information: done
erase_partition: presistdata : /dev/sdh9 1M
1+0 records in
1+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0170493 s, 61.5 MB/s
erase_partition: fbmisc : /dev/sdh12 1M
1+0 records in
1+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0180272 s, 58.2 MB/s
erase_partition: misc : /dev/sdh7 4M
4+0 records in
4+0 records out
4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.0838173 s, 50.0 MB/s
format_partition: userdata:/dev/sdh11 ext4
mke2fs 1.45.5 (07-Jan-2020)
Creating filesystem with 2281984 4k blocks and 571200 inodes
Filesystem UUID: 89e5388e-3131-458a-9c07-dcbf9efb39ed
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
flash_partition: dtbo-imx8mp.img ---> /dev/sdh1
0+1 records in
0+1 records out
4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.0651725 s, 64.4 MB/s
flash_partition: dtbo-imx8mp.img ---> /dev/sdh2
0+1 records in
0+1 records out
4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.105797 s, 39.6 MB/s
flash_partition: vendor_boot.img ---> /dev/sdh5
6+1 records in
6+1 records out
67108864 bytes (67 MB, 64 MiB) copied, 1.07076 s, 62.7 MB/s
flash_partition: vendor_boot.img ---> /dev/sdh6
6+1 records in
6+1 records out
67108864 bytes (67 MB, 64 MiB) copied, 1.2398 s, 54.1 MB/s
flash_partition: boot.img ---> /dev/sdh3
6+1 records in
6+1 records out
67108864 bytes (67 MB, 64 MiB) copied, 1.23529 s, 54.3 MB/s
flash_partition: boot.img ---> /dev/sdh4
6+1 records in
6+1 records out
67108864 bytes (67 MB, 64 MiB) copied, 1.24231 s, 54.0 MB/s
flash_partition: super.img ---> /dev/sdh10
flash_partition: vbmeta-imx8mp.img ---> /dev/sdh13
0+1 records in
0+1 records out
8192 bytes (8.2 kB, 8.0 KiB) copied, 0.00371064 s, 2.2 MB/s
flash_partition: vbmeta-imx8mp.img ---> /dev/sdh14
0+1 records in
0+1 records out
8192 bytes (8.2 kB, 8.0 KiB) copied, 0.0192231 s, 426 kB/s
erase_partition: uboot : /dev/sdh
flash_partition: u-boot-imx8mp.imx ---> /dev/sdh
the bootloader partition size: 8160
8160+0 records in
8160+0 records out
8355840 bytes (8.4 MB, 8.0 MiB) copied, 1.65138 s, 5.1 MB/s
1388+1 records in
1388+1 records out
1422256 bytes (1.4 MB, 1.4 MiB) copied, 0.500707 s, 2.8 MB/s
>>>>>>>>>>>>>> Flashing successfully completed <<<<<<<<<<<<<<
3. Change the Switch to 1 off , 2 on , 3 on, other off .
4. Android Image boot up