first commit android-6.0 3.0.2-0
authorhuckleberrypie <peanuthead_069@yahoo.com>
Wed, 4 Apr 2018 09:46:43 +0000 (17:46 +0800)
committerhuckleberrypie <peanuthead_069@yahoo.com>
Wed, 4 Apr 2018 09:46:43 +0000 (17:46 +0800)
BoardConfig.mk
README.md [new file with mode: 0644]
recovery.fstab

index ff8e33c9ed5d497a84700bd2d3528a442f65e4bd..85bfd4edc4549cd0f6dd42ba0c799edc725f3612 100644 (file)
@@ -15,8 +15,11 @@ TW_NO_EXFAT := true
 TWHAVE_SELINUX := true
 #TW_USE_TOOLBOX := true
 TW_NO_EXFAT_FUSE := true
 TWHAVE_SELINUX := true
 #TW_USE_TOOLBOX := true
 TW_NO_EXFAT_FUSE := true
-TW_THEME := portrait_mdpi
-#RECOVERY_SDCARD_ON_DATA := true
+TW_THEME := landscape_mdpi
+RECOVERY_SDCARD_ON_DATA := true
+TW_EXCLUDE_SUPERSU := false
 TW_USE_MODEL_HARDWARE_ID_FOR_DEVICE_ID := true
 TARGET_USE_CUSTOM_LUN_FILE_PATH := "/sys/devices/platform/mt_usb/gadget/lun%d/file"
 BOARD_CUSTOM_BOOTIMG_MK := device/quanta/narnia/boot.mk
 TW_USE_MODEL_HARDWARE_ID_FOR_DEVICE_ID := true
 TARGET_USE_CUSTOM_LUN_FILE_PATH := "/sys/devices/platform/mt_usb/gadget/lun%d/file"
 BOARD_CUSTOM_BOOTIMG_MK := device/quanta/narnia/boot.mk
+#Same flipped framebuffer as the fake Samsung I made a TWRP for
+BOARD_HAS_FLIPPED_SCREEN := true
diff --git a/README.md b/README.md
new file mode 100644 (file)
index 0000000..05e8a04
--- /dev/null
+++ b/README.md
@@ -0,0 +1,42 @@
+android_device_quanta_narnia
+==============
+
+TWRP device tree for the LeapFrog Epic (MT8127) using OmniROM sources. Image needs to be signed using MTK signtool for Linux in order to be flashed properly via SP Flash Tool.
+
+Basic   | Spec Sheet
+-------:|:-------------------------
+CPU     | 1.3GHz Quad-Core MT8127
+GPU     | Mali-450MP
+Memory  | 1GB RAM
+Shipped Android Version | 4.4.2
+Storage | 16GB
+Display | 7" 1024 x 600 px
+Camera  | 2MPx rear, 2MPx front
+
+* Compilation
+
+        # repo init -u https://github.com/omnirom/android.git -b android-6.0
+        
+        # repo sync
+        
+        # source ./build/envsetup.sh
+
+        # lunch omni_narnia-eng
+
+        # mka recoveryimage
+        
+If done correctly, you should end up with a recovery.img in `/out/product/quanta/narnia`.
+
+Make sure to sign it using the MediaTek sign tool (https://github.com/ferhung-mtk/android_kernel_huawei_h30t00/tree/master/kernel-3.4/mediatek/build/tools/SignTool) prior to flashing. ;)
+
+## Issues/Caveats
+* Bootloader still needs some TLC. Not sure how to hack LK to provide proper fastboot support though.
+
+## Todo
+* Nothing?
+
+## Downloads
+You may download the initial recovery releases for the vanilla SE here: https://github.com/huckleberrypie/device_quanta_narnia/releases
+
+## Special thanks
+Major props to neporood for the friendship and advice, Kevin Giles, diplomatic@XDA for being the ultimate MTK fanboi and schooling yours truly about the inner workings of MediaTek devices, my pals at the American Girl collectors groups (Molly, Shannon, Amy...), and to everyone else worth thanking. ;)
index c4da0f57264e6323c3fdf05dc33cac0f63e07745..0c66a5301b2f22605e743863596293045139f834 100644 (file)
@@ -1,30 +1,15 @@
 # mount point  fstype    device        [device2]
 
 # mount point  fstype    device        [device2]
 
-/boot      emmc  /dev/bootimg
-/recovery  emmc  /dev/recovery
-/system    ext4  /dev/block/mmcblk0p3
-/cache     ext4  /dev/block/mmcblk0p4
-/data      ext4  /dev/block/mmcblk0p5
-/emmc     vfat  /dev/block/mmcblk0p6  flags=display="Phone Storage";settingsstorage
-/sdcard    vfat  /dev/block/mmcblk1p1  flags=display="SD Card";storage;removable
-/sd-ext    auto  /dev/block/mmcblk1p2
-/nvram     emmc  /dev/nvram            flags=display="Nvram";backup=1
+/boot     emmc  /dev/bootimg          flags=display="Boot";backup=1
+/recovery  emmc         /dev/recovery         flags=display="Recovery";backup=1
+/protect_f ext4  /dev/block/mmcblk0p2  flags=display="Persistent Storage";backup=1;wipeingui
+/system    ext4  /dev/block/mmcblk0p5  flags=display="System";backup=1;wipeingui;wipeduringfactoryreset
+/cache     ext4  /dev/block/mmcblk0p6  flags=display="Cache";backup=1;wipeingui;wipeduringfactoryreset
+/data      ext4  /dev/block/mmcblk0p7  flags=display="Data";backup=1;wipeingui;wipeduringfactoryreset
+#/emmc    vfat  /dev/block/mmcblk0p6  flags=display="Phone Storage";settingsstorage
+/external_sd    auto  /dev/block/mmcblk1p1  flags=display="microSD";storage;removable;backup=0
+/usbotg    auto  /dev/block/sda1       flags=display="USB-OTG";storage;removable;backup=0
+#/sdcard   vfat  /dev/block/mmcblk1p1  flags=display="microSD";storage;removable
+#/sd-ext   auto  /dev/block/mmcblk1p2
+/nvram     emmc  /dev/nvram            flags=display="NVRAM";backup=1
 /uboot     emmc  /dev/uboot            flags=display="Uboot";backup=1
 /uboot     emmc  /dev/uboot            flags=display="Uboot";backup=1
-
-#/boot                 emmc    /dev/block/platform/mtk-msdc.0/by-name/boot             flags=display="Boot";backup=1
-#/recovery             emmc    /dev/block/platform/mtk-msdc.0/by-name/recovery flags=display="Recovery";backup=1
-#/system               ext4    /dev/block/platform/mtk-msdc.0/by-name/system   flags=display="System";backup=1
-#/cache                        ext4    /dev/block/platform/mtk-msdc.0/by-name/cache    flags=display="Cache"
-#/data                 ext4    /dev/block/platform/mtk-msdc.0/by-name/userdata flags=encryptable=/dev/block/platform/mtk-msdc.0/by-name/metadata
-#/nvram                        emmc    /dev/block/platform/mtk-msdc.0/by-name/nvram    flags=display="Nvram";backup=1;flashimg=1
-#/external_sd  auto    /dev/block/mmcblk1p1                                                    flags=display="External SDcard";storage;wipeingui;removable;backup=0
-#/usbotg               auto    /dev/block/sda1                                                                 flags=display="Usb-Otg";storage;removable;backup=0
-
-#/boot       mtd         boot
-#/recovery   mtd         recovery
-#/cache      yaffs2      cache
-#/data       yaffs2      userdata
-#/misc       mtd         misc
-#/system     yaffs2      system
-#/sdcard     vfat        /dev/block/mmcblk0p1
-#/sd-ext     ext4        /dev/block/mmcblk0p2