|
Edited by J.Naw at 2016-1-29 12:44 \n\nPost is now Irrelevant. New and improved post: New
Okay, So. First thing: I AM NOT A TOTAL EXPERT. I've just got some knowledge on how computers work.. and a seemingly good "reverse engineering" skill.. So Yes I am a beginner to Building android Operating Systems. Secondly: I've decided to take on a daunting task... Port Cyanogenmod 12 over to the eMax.. The only issue? No source code.. So, I came up with an idea. Hack around with the phone, gather as much info as possible, and try to port it over. Now, The only thing that would "theoretically" be able to copy/paste over is the kernel.. (If I got my ideas all sorted correctly) and it should theoretically work?
Here is all the info i've found so far:
System Specs:
SoC: MediaTek MT6752
CPU: ARM Cortex-A53
GPU: ARM Mali-T760 MP2
ARCHITECTURE VARIANT: Armv8-a
Partitions:
Turns out Emmc_p* and mmcb1k0p* is basically the same thing, just different "formats"
/boot = /dev/block/mmcb1k0p7
/cache = /dev/block/mmcb1k0p17
/data = /dev/block/mmcb1k0p18
/misc = Not Found Yet
/recovery = /dev/block/mmcb1k0p8
/sdcard = /dev/block/mmcb1k0p1 OR /dev/block/mmcb1k0
/system = /dev/block/mmcb1k0p16
/sd-ext = /dev/block/mmcb1k0p2
BoardConfig Stuff (DUNNO WHAT ITS CALLED)
- BOARD_KERNEL_BASE := 0x40000000
- BOARD_KERNEL_PAGESIZE := 0x001FB000
- OARD_BOOTIMAGE_PARTITION_SIZE := 0x00004400
- BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00004400
- BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x60000000
- BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x082BEB85
- BOARD_FLASH_BLOCK_SIZE := 1000000
Copy the Code THINGS TO BE/BEING DONE
- Extract Kernel From Working Rom (Something that allows me to edit Ramdisk?) FOUND! Android Kitchen Extracts Ramdisk for once. SUCESS.
- Figure out how to get the darn CyanogenMod "make Recoveryimage" command to work, It keeps skipping all the files, then asks for a Kernel Config file?
- Turns out MT6572 doesn't have a fastboot mode, managed to install TWRP through Rootjoy though.
- Learn more stuff
NEW FOUND STUFF FROM RESEARCHING:
If anyone can confirm my findings, that'd be great! If there is anything I am doing wrong, I'd also like some input on it.
Would like any help possible as well, If I need to setup a Git repo, I can easily do that, or some file sharing account to easily allow helpers to, well, help!
|
|