[Other TouchPad Development] jshafer817:
Notes for downgrading kitkat cm-11.0 to cm-10.1

Because Ubuntu Touch Trusty seems to rely on CM-10.1 sources.... When it goes to KitKat we won't need to do this.

kernel from cm11

device/hp from cm11

device/hp/tenderloin/graphics.c from 10.1 get_text error

device/hp/tenderloin/libsensors from 10.1

device/hp/tenderloin/overlay from 11.0 (device/hp/tenderloin/overlay/frameworks/base/core/res/res/values/config.xml needs to be fixed)

recovery.fstab from 10.1

BoardConfig should have:

BOARD_USES_UBOOT := true instead of BOARD_KERNEL_IMAGE_NAME := uImage

TARGET_USE_CUSTOM_LUN_FILE_PATH := "/sys/devices/virtual/android_usb/android0/f_mass_storage/lun/file"

BOARD_HAS_SDCARD_INTERNAL := false

BOARD_USES_MMCUTILS := true

TARGET_USE_SCORPION_BIONIC_OPTIMIZATION := true

TARGET_USE_SCORPION_PLD_SET := true

TARGET_SCORPION_BIONIC_PLDOFFS := 6

TARGET_SCORPION_BIONIC_PLDSIZE := 128

TARGET_USES_2G_VM_SPLIT := true

init.tenderloin.rc: needs this instead.?

# remount /boot read-only

mount ext3 /dev/block/mmcblk0p13 /boot remount ro wait noatime barrier=1

mkdir /storage 0050 system sdcard_r

mkdir /mnt/shell/sdcard 0700 shell shell

mkdir /storage/sdcard 0555 root root

export EXTERNAL_STORAGE /storage/sdcard

# Support legacy paths

symlink /storage/sdcard /sdcard

symlink /storage/sdcard /mnt/sdcard

symlink /storage/sdcard /storage/sdcard0

# create directory for mounting usb drives

mkdir /storage/usbdisk 0666 system system

symlink /storage/usbdisk /mnt/usbdisk

symlink /mnt/usbdisk /usbdisk

kernel changes! (for qcom/media)

entropy_cfg->entropysel becomes entropy_cfg->longentropysel

Creates a good zip file.. see if it works. Boots.. n stuff.. need to fix stuff.

local_manifest

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project path="device/hp/tenderloin"

name="milaq/android_device_hp_tenderloin"

remote="github"

revision="cm-11.0"/>

<project path="device/lge/p940"

name="milaq/android_device_lge_p940"

remote="github"

revision="cm-10.1"/>

<project path="kernel/hp/tenderloin"

name="milaq/android_kernel_hp_tenderloin"

remote="github"

revision="cm-11.0"/>

<project path="kernel/lge/p940"

name="milaq/android_kernel_lge_p940"

remote="github"

revision="cm-10.1"/>

<project path="vendor/lge/p940"

name="milaq/android_vendor_lge_p940"

remote="github"

revision="cm-10.1"/>

<project path="vendor/hp/tenderloin"

name="milaq/android_vendor_hp_tenderloin"

remote="github"

revision="cm-11.0"/>

<project path="vendor/fonts-roboto"

name="milaq/android_vendor_fonts-roboto"

remote="github"

revision="mr2"/>

<project path="prebuilt/linux-x86/toolchain"

name="milaq/android_toolchains"

remote="github"

revision="master"/>

<remove-project name="CyanogenMod/android_bootable_recovery"/>

<project path="bootable/recovery"

name="milaq/android_bootable_recovery"

remote="github"

revision="cm-10.1_plus"/>

<project path="external/backports-wireless"

name="milaq/android_external_backports-wireless"

remote="github"

revision="3.10-2"/>

<project path="hardware/atheros/wlan"

name="milaq/android_hardware_atheros_wlan"

remote="github"

revision="master"/>

<project path="hardware/libbt-hci"

name="CMTP-CM10-1-BT/libbt-hci"

remote="github"

revision="cm-10.1"/>

<project path="packages/apps/HwaSettings"

name="royale1223/HwaSettings"

remote="github"

revision="jellybean"/>

</manifest>

patches:

tinyalsa and ath6k etc patches should be applied.

device_tenderloin.mk needs check media

init.tenderloin.rc needs wpa supplicant, dhcp, mpdecision?, cpu stuff thing, sdcard stuff, remove virtual sdcard service.

prebuilt/etc/check media