Skip to content

Instantly share code, notes, and snippets.

Tofe Tofee

Block or report user

Report or block Tofee

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Tofee
Tofee / override_halium_device.xml
Created Oct 31, 2018
Additional local manifest to override Halium's device repository with another one. To be used in our jenkins when waiting for a merge of halium-devices.
View override_halium_device.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remove-project name="Halium/halium-devices" />
<project path="halium/devices" name="Tofee/halium-devices" remote="hal" revision="tofe/tissot"/>
</manifest>
View fix_dbus_extension.patch
Author: Lorn Potter <lorn.potter@canonical.com>
AuthorDate: 2017-01-05 15:07:38 +1000
Commit: Lorn Potter <lorn.potter@canonical.com>
CommitDate: 2017-01-05 16:11:34 +1000
Fix scan reply dbus signature
Task-number: QTBUG-57844
Change-Id: I46796a4fccd45453152fbf26cc027a4bbc73df89
@Tofee
Tofee / wop_targets.xml
Last active Jul 14, 2017
Local manifest for tenderloin with Halium (Android 5.1 version) as a main manifest
View wop_targets.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remove-project name="Halium/hybris-boot" />
<remote name="webos-ports"
fetch="git://github.com/webos-ports/"
revision="wop-12.1"/>
<remote name="Tofee"
fetch="git://github.com/Tofee/"
revision="wop-12.1"/>
@Tofee
Tofee / Hammerhead.txt
Last active Jan 21, 2017
Hammerhead partition table
View Hammerhead.txt
lrwxrwxrwx 1 root root 21 Jan 4 12:52 DDR -> /dev/block/mmcblk0p24
lrwxrwxrwx 1 root root 20 Jan 4 12:52 aboot -> /dev/block/mmcblk0p6
lrwxrwxrwx 1 root root 21 Jan 4 12:52 abootb -> /dev/block/mmcblk0p11
lrwxrwxrwx 1 root root 21 Jan 4 12:52 boot -> /dev/block/mmcblk0p19
lrwxrwxrwx 1 root root 21 Jan 4 12:52 cache -> /dev/block/mmcblk0p27
lrwxrwxrwx 1 root root 21 Jan 4 12:52 crypto -> /dev/block/mmcblk0p26
lrwxrwxrwx 1 root root 21 Jan 4 12:52 fsc -> /dev/block/mmcblk0p22
lrwxrwxrwx 1 root root 21 Jan 4 12:52 fsg -> /dev/block/mmcblk0p21
lrwxrwxrwx 1 root root 21 Jan 4 12:52 grow -> /dev/block/mmcblk0p29
lrwxrwxrwx 1 root root 21 Jan 4 12:52 imgdata -> /dev/block/mmcblk0p17
@Tofee
Tofee / TofePortingGuide.md
Last active Dec 20, 2017
Tofe's Rough Porting Guide
View TofePortingGuide.md

Tofe's Rough Porting Guide

  1. Prepare the device
  • Download CM12.1 from get.cm -- might later be from LineageOS website
  • Download CWM or the latest recovery tool for the device
  • Unlock the bootloader -- on Hammerhead it just means booting to bootloader and doing "fastboot oem unlock".
  • Flash the recovery tool "fastboot flash recovery cwm-recovery.img"
  • Reset factory, and flash CM12.1 via adb sideload
@Tofee
Tofee / local_manifest-maguro-cm-12.1.xml
Created Jan 3, 2017
Local manifest for hybris Android HAL on top of CM-12.1, to be used with mer-hybris' hybris-12.1 main manifest.
View local_manifest-maguro-cm-12.1.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- <remove-project name="mer-hybris/hybris-boot" /> -->
<remove-project name="mer-hybris/mer-kernel-check" />
<!-- Mako
<project path="device/lge/mako" name="CyanogenMod/android_device_lge_mako" revision="stable/cm-12.1-YOG4P" />
<project path="kernel/google/msm" name="CyanogenMod/android_kernel_google_msm"/>
-->
@Tofee
Tofee / Todo.md
Last active Dec 4, 2016
Steps needed to get CM12.1 working on LuneOS, using hybris-hal as an overlay
View Todo.md

==Current status on mako==

  • hybris-hal built using mer-hybris12.1 manifest, and tweaking a bit init.rc --> resulting "system/" directory has been put on the device in /usr/libexec/hal-droid/
  • host libhybris recipe has been built on top of Android API 22
  • CyanogenMod 12.1 installation is reused by mounting mmcblk0p21 on /system
  • LXC's configuration has been altered: we bind /system and /usr/libexec/hal-droid/system to the container, and add "lxc.environment = LD_LIBRARY_PATH=/hal-hybris/lib:/vendor/lib:/system/lib" to the container's config
  • Host libhybris configuration must be set so that HYBRIS_LD_LIBRARY_PATH=/usr/libexec/hal-droid/system/lib:/vendor/lib:/system/lib

==ToDo==

  • Modify libhybris recipe to set HYBRIS_LD_LIBRARY_PATH=/usr/libexec/hal-droid/system/lib:/vendor/lib:/system/lib
@Tofee
Tofee / mako-hybris-12.1.xml
Last active Dec 27, 2016
mako.xml local manifest to be used to manifest from mer-hybris/android branch hybris-12.1
View mako-hybris-12.1.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- <remove-project name="mer-hybris/hybris-boot" /> -->
<remove-project name="mer-hybris/mer-kernel-check" />
<project path="device/lge/mako" name="CyanogenMod/android_device_lge_mako" revision="stable/cm-12.1-YOG4P" />
<project path="kernel/google/msm" name="CyanogenMod/android_kernel_google_msm"/>
<!-- system/core: do our own tweaks of init.rc -->
<remove-project name="mer-hybris/android_system_core" />
<project path="system/core" name="Tofee/android_system_core" groups="pdk" revision="wop-12.1"/>
@Tofee
Tofee / mako-hybris-13.0.xml
Last active Nov 20, 2016
mako.xml local manifest to be used to manifest from mer-hybris/android branch hybris-13.0
View mako-hybris-13.0.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- <remove-project name="mer-hybris/hybris-boot" /> -->
<remove-project name="mer-hybris/mer-kernel-check" />
<project path="device/lge/mako" name="CyanogenMod/android_device_lge_mako" revision="stable/cm-13.0-ZNH0E" />
<project path="kernel/google/msm" name="CyanogenMod/android_kernel_google_msm" revision="stable/cm-13.0-ZNH0E" />
<project path="external/fuse" name="CyanogenMod/android_external_fuse" />
<project path="external/ntfs-3g" name="CyanogenMod/android_external_ntfs-3g" />
<project path="external/f2fs-tools" name="CyanogenMod/android_external_f2fs-tools" groups="pdk" />
You can’t perform that action at this time.