Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android 12 showing black screen #110

Open
jijith700 opened this issue Oct 11, 2022 · 0 comments
Open

Android 12 showing black screen #110

jijith700 opened this issue Oct 11, 2022 · 0 comments

Comments

@jijith700
Copy link

jijith700 commented Oct 11, 2022

Used ubuntu 22.04 to build android 12, sdcard formatted using fdisk and partitions created as per the documentation. but only a black screen is showing and then blue screen. AOSP build and kernel build was successful. Also unable to get the log in minicom using the serial port as it is not booting.

Partition steps
jijith@jijith-Alienware-x14:/media/jijith/SSD/AndroidAutomotive12$ sudo fdisk /dev/sdb
[sudo] password for jijith:

Welcome to fdisk (util-linux 2.37.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

This disk is currently in use - repartitioning is probably a bad idea.
It's recommended to umount all file systems, and swapoff all swap
partitions on this disk.

Command (m for help): p

Disk /dev/sdb: 29.72 GiB, 31914983424 bytes, 62333952 sectors
Disk model: SD/MMC CRW
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x9ba2256f

Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 62332927 62330880 29.7G 7 HPFS/NTFS/exFAT

Command (m for help): d
Selected partition 1
Partition 1 has been deleted.

Command (m for help): o
Created a new DOS disklabel with disk identifier 0x5ec62815.

Command (m for help): n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-62333951, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-62333951, default 62333951): +128M

Created a new partition 1 of type 'Linux' and of size 128 MiB.
Partition #1 contains a ntfs signature.

Do you want to remove the signature? [Y]es/[N]o: y

The signature will be removed by a write command.

Command (m for help): n
Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (2-4, default 2): 2
First sector (264192-62333951, default 264192):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (264192-62333951, default 62333951): +1024M

Created a new partition 2 of type 'Linux' and of size 1 GiB.
Partition #2 contains a ext4 signature.

Do you want to remove the signature? [Y]es/[N]o: y

The signature will be removed by a write command.

Command (m for help): n
Partition type
p primary (2 primary, 0 extended, 2 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (3,4, default 3): 3
First sector (2361344-62333951, default 2361344):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2361344-62333951, default 62333951): +128M

Created a new partition 3 of type 'Linux' and of size 128 MiB.

Command (m for help): n
Partition type
p primary (3 primary, 0 extended, 1 free)
e extended (container for logical partitions)
Select (default e): p

Selected partition 4
First sector (2623488-62333951, default 2623488):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2623488-62333951, default 62333951):

Created a new partition 4 of type 'Linux' and of size 28.5 GiB.

Command (m for help): p
Disk /dev/sdb: 29.72 GiB, 31914983424 bytes, 62333952 sectors
Disk model: SD/MMC CRW
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x5ec62815

Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 264191 262144 128M 83 Linux
/dev/sdb2 264192 2361343 2097152 1G 83 Linux
/dev/sdb3 2361344 2623487 262144 128M 83 Linux
/dev/sdb4 2623488 62333951 59710464 28.5G 83 Linux

Filesystem/RAID signature on partition 1 will be wiped.
Filesystem/RAID signature on partition 2 will be wiped.

Command (m for help): a
Partition number (1-4, default 4): 1

The bootable flag on partition 1 is enabled now.

Command (m for help): t
Partition number (1-4, default 4): 1
Hex code or alias (type L to list all): 0c

Changed type of partition 'Linux' to 'W95 FAT32 (LBA)'.

Command (m for help): p
Disk /dev/sdb: 29.72 GiB, 31914983424 bytes, 62333952 sectors
Disk model: SD/MMC CRW
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x5ec62815

Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 264191 262144 128M c W95 FAT32 (LBA)
/dev/sdb2 264192 2361343 2097152 1G 83 Linux
/dev/sdb3 2361344 2623487 262144 128M 83 Linux
/dev/sdb4 2623488 62333951 59710464 28.5G 83 Linux

Filesystem/RAID signature on partition 1 will be wiped.
Filesystem/RAID signature on partition 2 will be wiped.

Command (m for help): w
The partition table has been altered.
Syncing disks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant