boobypi Posted April 20, 2017 Posted April 20, 2017 Hello, I need your help to know if it's possible to dump an img to sdcard to make it's working android on my orange pi pc? For testing purpose i 'm linux man and i will say android is a piece of shiit if you ask me! I find an image from Beelink X2 and now i supose i 'm succes to unpack img to fex files... Is needed to modify boot.fex to boot from sdcard (default choice on OPC H3) or just extract system.fex to have my rootfs and take normal armbian bootloader? I dreaming or there is a way like that? (I'm bambi in android world, don't hurt me) ./imgrepacker ../Android/update_X2_v106k4.img ==========================[ START ]========================== --- Firmware unpacking --- PhoenixSuit image format detected - image.cfg creating - image.cfg created - Files extracting - "/sys_config.fex" extracted (format: unknown) "/config.fex" extracted (format: unknown) "/split_xxxx.fex" extracted (format: unknown) "/sys_partition.fex" extracted (format: unknown) "/boot0_nand.fex" extracted (format: Allwinner BOOT0 file) "/boot0_sdcard.fex" extracted (format: Allwinner BOOT0 file) "/u-boot.fex" extracted (format: unknown) "/fes1.fex" extracted (format: Allwinner BOOT0 file) "/usbtool.fex" extracted (format: Windows PE file) "/aultools.fex" extracted (format: Compiled lua file) "/aultls32.fex" extracted (format: Compiled lua file) "/cardtool.fex" extracted (format: Windows PE file) "/cardscript.fex" extracted (format: unknown) "/sunxi_mbr.fex" extracted (format: unknown) "/dlinfo.fex" extracted (format: unknown) "/arisc.fex" extracted (format: unknown) "/bootloader.fex" extracted (format: FAT16 image) "bootloader.fex.iso" created "/Vbootloader.fex" extracted (format: unknown/empty?) "/env.fex" extracted (format: unknown) "/Venv.fex" extracted (format: unknown/empty?) "/boot.fex" extracted (format: Android boot image) "/Vboot.fex" extracted (format: unknown/empty?) "/system.fex" extracted (format: sparse image) "/Vsystem.fex" extracted (format: unknown/empty?) "/recovery.fex" extracted (format: Android boot image) "/Vrecovery.fex" extracted (format: unknown/empty?) "/diskfs.fex" extracted (format: unknown) ==========================[ STOP ]==========================
boobypi Posted April 20, 2017 Author Posted April 20, 2017 I extracted rootfs from system.fex with success (I use https://github.com/anestisb/android-simg2img) and mount filesystem in my linux desktop...android is here! I extracted (with https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/android-serialport-api/android_bootimg_tools.tar.gz) boot.fex to boot.fex-zImage and boot.fex-ramdisk.gz Now i need to be able to boot this kernel with the standard bootloader used by armbian...any idea?
boobypi Posted April 21, 2017 Author Posted April 21, 2017 Hi, Finnaly i choose an easier way to have android on my OPI PC...Just using PhoenixCard_V310_20130618 to burn sdcard from newest (2017) original firmware from Beelink X2. The firmware tested : https://drive.google.com/file/d/0B37ZphGG_EYYRmMyLVNyazZmdEE/view my 2 cents : - Ethernet working but no wifi support for RT5370 Wireless Adapter - Console on uart is root and android is in developer mode - KODI 14.2 with good hw acceleration for playing video mp4 - No overheating with small heatshink when watching 1080P H264 video file in KODI - Audio ouput can be enable on HDMI or/and analog - only 2 USB HOST enabled (no automount but if device is rooted maybe it's easy to improve that)
Recommended Posts