Skip to content

Instantly share code, notes, and snippets.

View something
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="wt88047" fetch="https://github.com/sailfishos-wt88047" />
<project path="device/wingtech/wt88047" name="android_device_wingtech_wt88047-64" revision="cm-14.1" remote="wt88047" />
<project path="device/cyanogen/msm8916-common" name="android_device_cyanogen_msm8916-common" revision="hybris-14.1" remote="wt88047" />
<project path="kernel/wingtech/msm8916" name="android_kernel_wingtech_msm8916-64" revision="n64" remote="wt88047" />
<project path="vendor/xiaomi" name="proprietary_vendor_xiaomi" revision="n64" remote="wt88047" />
View 64test
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/wingtech/wt88047" name="android_device_wingtech_wt88047" revision="cm-14.1" remote="los" />
<project path="device/cyanogen/msm8916-common" name="android_device_cyanogen_msm8916-common" revision="cm-14.1" remote="los" />
<project path="kernel/wingtech/msm8916" name="android_kernel_wingtech_msm8916" revision="cm-14.1" remote="los" />
<project path="vendor/wingtech" name="proprietary_vendor_wingtech" revision="cm-14.1" remote="them" />
</manifest>
View wt88047_64.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="mun"
fetch="https://github.com/ssawrav" />
<remote name="pirej"
fetch="https://github.com/redmi2" />
<project path="device/wingtech/wt88047" name="android_device_wingtech_wt88047" revision="64new" remote="mun" />
<project path="kernel/wingtech/msm8916" name="android_kernel_wingtech_msm8916" revision="n64" remote="mun" />
<project path="vendor/xiaomi" name="proprietary_vendor_xiaomi" revision="n64" remote="pirej" />
View ssh.sh
#!/bin/bash
export RNDIS_DEVICE=$(sudo dmesg | grep rndis | grep -oh "\w*enp0\w*" | tail -n 1)
echo "* The device seems to be connected as $RNDIS_DEVICE"
sudo ip address add 10.15.19.100 dev $RNDIS_DEVICE
sudo ip route add 10.15.19.82 dev $RNDIS_DEVICE
echo "* Connecting using ssh"
ssh phablet@10.15.19.82
@abhishek9650
abhishek9650 / wingtech_wt88047_64.xml
Last active Feb 14, 2018
local manifest for pulling all the sources for redmi 2 64
View wingtech_wt88047_64.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="kernel"
fetch="git://git.kernel.org/pub/scm/" />
<remote name="googlecode"
fetch="https://code.google.com/p/" />
<remote name="github"
View wt88047.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/wingtech/wt88047" name="sailfishos-wt88047/android_device_wingtech_wt88047" revision="hybris-14.1" remote="github" />
<project path="device/cyanogen/msm8916-common" name="sailfishos-wt88047/android_device_cyanogen_msm8916-common" revision="hybris-14.1" remote="github" />
<project path="kernel/wingtech/msm8916" name="sailfishos-wt88047/android_kernel_wingtech_msm8916" revision="hybris-14.1" remote="github" />
<project path="external/stlport" name="sailfishos-wt88047/android_external_stlport" revision="hybris-14.1" remote="github" />
View gist:c9ecf5e95871e92015a22fb4c5c5760c
#flash the kk bootloader
# Wipe all partitions via recovery before flashing process.
# Start adb with root permissions.
sudo adb start-server
# Reboot to Fastboot mode and flash hybris-boot.img into boot partition.
sudo fastboot flash boot hybris-boot.img
# Now reboot into recovery mode and flash system.img with Halium rootfs using the halium-install script. clone the installation script.
git clone https://github.com/JBBgameich/halium-install
View gist:40cc176b8279aa393a11281522a3354f
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/wingtech/wt88047" name="android_device_wingtech_wt88047" remote="cm" revision="cm-12.1" />
<project path="device/cyanogen/msm8916-common" name="android_device_cyanogen_msm8916-common" remote="cm" revision="cm-12.1" />
<project path="kernel/wingtech/msm8916" name="android_kernel_wingtech_msm8916" remote="cm" revision="cm-12.1" />
<project path="device/qcom/common" name="android_device_qcom_common" remote="cm" revision="cm-12.1" />
<project path="external/mm-dash" name="android_external_mm-dash" remote="cm" revision="cm-12.1" />
@abhishek9650
abhishek9650 / wingtech_wt88047.xml
Last active Aug 19, 2018
manifest for wt88047
View wingtech_wt88047.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/wingtech/wt88047" name="android_device_wingtech_wt88047" revision="cm-14.1" remote="los" />
<project path="device/cyanogen/msm8916-common" name="android_device_cyanogen_msm8916-common" revision="cm-14.1" remote="los" />
<project path="kernel/wingtech/msm8916" name="android_kernel_wingtech_msm8916" revision="cm-14.1" remote="los" />
<project path="vendor/wingtech" name="proprietary_vendor_wingtech" revision="cm-14.1" remote="them" />
</manifest>
You can’t perform that action at this time.