GloDroid / glodroid_manifest

Android port that aims to bring both user- and developer-friendly experience in using AOSP with a set of single-board computers (SBC), phones and other devices.
472 stars 66 forks source link

Sdcard issue #14

Closed joek85 closed 4 years ago

joek85 commented 4 years ago

hello, i just downloaded the sdcard_trunc.img.gz file from https://github.com/GloDroid/glodroid_manifest/releases/tag/v0.1.0 and extracted via gunzip, i write it via dd if=sdcard_trunc.img of=/dev/sdd bs=4k count=300000 and also tried it with "disk image writer" that comes out from ubuntu. i have 3 Apecer 8GB class 10 sdcards, formatted with Gparted to Ext4. after more than 20 tries the board didn't boot at all. it just booted once and the green led turned on, booted into Android boot animation and stuck there. i don't have a serial to usb yet to debug it but from the adb logs it showed a failure at "service gatekeeper cannot started" and it looped. now that error i faced it earlier from my custom Android 7 image and it turned out that the issue was some fex entries wasn't compatible with the board which is Plus2E, i think it was related to the mmc i don't remember exactly. do you have another img to test? maybe the GloDroid preview v4 img that is missing. thank you.

rsglobal commented 4 years ago

Hello,

Have you run sync command after dd?

joek85 commented 4 years ago

hello, yes i did, however i ended up downloading the whole source, and compiled, deployed successfully. how can i change the screen resolution? currently it is 800x480, i want to scale it up a bit maybe 1280x720 or 1080p. i may say also that it is very well organized, but Android 10, mainline kernel is kind new to me, i am in the learning, discovering phase, i am migrating from Android 4.4, 7.0, linux 3.4. so bare with me. keep up your great work. thank you.

rsglobal commented 4 years ago

Screen resolution is set based on your display capabilities that are read as EDID blob. Currently AOSP have an internal issue that makes it impossible to distinguish between interlaced and not interlaced mode, therefore drm_hwcomposer have disabled all modes with interlaced flag. I suppose your display supports only 800x480 without interlacing.

rsglobal commented 4 years ago

GloDroid switched to different flashing procedure that is now available in next branch, and will be available in next release.