Skip to content

Instantly share code, notes, and snippets.

View Vince1171's full-sized avatar

Vincent Franchomme Vince1171

  • Belgium
View GitHub Profile
http://drvbp1.linux-foundation.org/~mcgrof/rel-html/backports/
sudo dnf install kernel-devel-$(uname -r) make automake gcc gcc-c++ git
echo "options ath10k_core skip_otp=y" | sudo tee /etc/modprobe.d/ath10k_core.conf
wget http://filebin.ca/2LVgpjSgiT56/backports-ath-2015-11-05.tar.bz2
tar -vxf backports-ath-2015-11-05.tar.bz2
cd backports-ath-2015-11-05
make defconfig-ath10k
make
sudo make install
06-02 15:11:38.606 0 7869 E cutils-trace: Error opening trace file: Permission denied (13)
06-02 15:11:38.607 0 7869 D libEGL : failed to load libgui: dlopen failed:
06-02 15:11:38.610 0 7869 D libEGL : loaded /vendor/lib/egl/libEGL_adreno.so
06-02 15:11:38.630 0 7869 D libEGL : loaded /vendor/lib/egl/libGLESv1_CM_adreno.so
06-02 15:11:38.643 0 7869 D libEGL : loaded /vendor/lib/egl/libGLESv2_adreno.so
06-02 15:11:38.657 0 7869 I Adreno : QUALCOMM build : 853a1ff, I9c435c2712
06-02 15:11:38.657 0 7869 I Adreno : Build Date : 01/10/17
06-02 15:11:38.657 0 7869 I Adreno : OpenGL ES Shader Compiler Version: XE031.09.00.04
06-02 15:11:38.657 0 7869 I Adreno : Local Branch :
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="vince" fetch="https://github.com/Vince1171" revision="cm-14.1" />
<project path="device/oppo/common" name="android_device_oppo_common" remote="los" />
<project path="vendor/oneplus" name="proprietary_vendor_oneplus" remote="them" />
<project path="device/oneplus/oneplus3" name="android_device_oneplus_oneplus3" remote="vince" revision="ubp-7.1"/>
<project path="kernel/oneplus/msm8996" name="android_kernel_oneplus_msm8996" remote="vince" revision="ubp-7.1" />
</manifest>
@Vince1171
Vince1171 / gist:0374b3774fd13ca50ed9ef0cc6225c08
Last active February 13, 2019 09:44
Sailfish OS Etherpad faq-hadk
Please, do not use browser-in-place translation tools (right-click translate-this) or similar. They overwrite the content on this page.
--------------------------------------------------------------------------------------------------------------------
So you booted your Sailfish OS? Congrats! No GUI? Oh dear :)
* both usb0 and rndis0 interfaces might be up, remove usb0 from init-script and rebuild kernel image with make hybris-boot or make hybris-recovery
* selinux and user session masking are now in HADK v1.1.1 section 9.2.1
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.14.14 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
#!/bin/bash
# Copyright (c) Dalton Durst, 2018
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
check if exist
/dev/anbox-binder
if it doesn't, anbox-binder don't work
sudo apt install anbox-ubuntu-touch
sudo wget -q --show-progress -O /home/phablet/anbox-data/android.img http://cdimage.ubports.com/anbox-images/android-armhf-64binder.img
touch /home/phablet/anbox-data/.enable
chmod -R o+wrx /home/phablet/anbox-data/data
@Vince1171
Vince1171 / Halium-7.1.2_UT_steps
Last active April 17, 2020 21:08
Halium-7.1.2_UT_steps
wget https://ci.ubports.com/job/ofono/job/xenial_-_merofono/3/artifact/ofono_1.21+ubports1+0~20190310195225.3~1.gbp9792b9_armhf.deb
apt install -y libglibutil libgrilio libmce-glib libwspcodec
dpkg -i ofono_1.21+ubports1+0~20190310195225.3~1.gbp9792b9_armhf.deb
Magic Bluetooth
hciattach /dev/ttyHS0 qualcomm
#Bluez depedancy
sudo apt install libdbus-1-dev libudev-dev libical-dev libreadline-dev libjson-c-dev libglib2.0-dev
root@localhost:~# test_gps
*** setup signal handler
*** get gps interface
*** device info
id = gps
name = loc_api GPS Module
author = Qualcomm USA, Inc.
*** init gps interface
** Creating thread: 'Loc_hal_worker' (start=0xed5c0c1d, arg=0x123c10)
** After thread_create: 'Loc_hal_worker', error=0 (start=0xed5c0c1d, arg=0x123c10)