Skip to content

Instantly share code, notes, and snippets.

@marduk191
marduk191 / PDT_CM_presto.xml
Last active August 29, 2015 14:04
Presto Cm11 local manifest
This was a temporary file and it has been centralized. You can get instructions on the wiki.
https://github.com/PantechDevTeam/PantechDevTeam.github.io/wiki
@marduk191
marduk191 / presto_kk-4.4.xml
Last active August 29, 2015 14:04
Presto slimkat local manifest. This will remain incomplete until slimkat work begins. The frameworks will mismatch certainly
I dropped this project. Tuff shit.
@marduk191
marduk191 / pdtcm11_add.sh
Last active August 29, 2015 14:04
This is a script to add the PantechDevTeam cm11 kernel branch to your local kernel repository.
#!/bin/bash
###########
# This is a script to add the PantechDevTeam cm11 kernel branch to your local kernel repository.
# It will retain all history and remotely track.
###########
## Add PDT cm-11.0 kernel repo as a remote
git remote add pdt git://github.com/PantechDevTeam/android_kernel_pantech_msm8660-common.git
## Fetch the pdt remote to sync
@marduk191
marduk191 / full_presto.mk
Created July 30, 2014 20:05
Alternative full_presto.mk
# Alternative full_presto.mk in case your build method isn't calling cm.mk correctly.
# Replace this file in the device tree and delete cm.mk.
#
#
# Copyright (C) 2010 The Android Open Source Project
#
# 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
#
@marduk191
marduk191 / boardconfig_TWRP_addon.mk
Last active August 29, 2015 14:04
TWRP 2.5 config for presto (pending update for 2.7)
#twrp
TW_DEFAULT_EXTERNAL_STORAGE := true
DEVICE_RESOLUTION := 480x800
RECOVERY_GRAPHICS_USE_LINELENGTH := true
TW_FLASH_FROM_STORAGE := true
TW_INTERNAL_STORAGE_PATH := "/sdcard"
TW_INTERNAL_STORAGE_MOUNT_POINT := "Internal"
TW_EXTERNAL_STORAGE_PATH := "/external_sd"
TW_EXTERNAL_STORAGE_MOUNT_POINT := "External"
# HAVE_SELINUX := true
@marduk191
marduk191 / 51-android.rules
Created August 18, 2014 13:18
USB config for adb and fastboot support. gksudo gedit /etc/udev/rules.d/51-android.rules
#Acer
SUBSYSTEM=="usb", ATTR{idVendor}=="0502", MODE="0666"
#ASUS
SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", MODE="0666"
#Dell
SUBSYSTEM=="usb", ATTR{idVendor}=="413c", MODE="0666"
#Foxconn
@marduk191
marduk191 / du_4.4.xml
Last active August 29, 2015 14:07
Presto: Dirty Unicorns 4.4.4 manifest
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="marduk191/android_device_pantech_presto" path="device/pantech/presto" remote="github" revision="du4.4" />
<project name="PantechDevTeam/android_device_pantech_msm8x60-common" path="device/pantech/msm8x60-common" remote="github" revision="cm-11.0" />
<project name="PantechDevTeam/android_device_pantech_msm8660-common" path="device/pantech/msm8660-common" remote="github" revision="cm-11.0" />
<project name="PantechDevTeam/android_kernel_pantech_msm8660-common" path="kernel/pantech/msm8660-common" remote="github" revision="cm-11.0" />
<project name="PantechDevTeam/android_vendor_pantech_msm8x60-common" path="vendor/pantech/msm8x60-common" remote="github" revision="cm-11.0" />
<project name="PantechDevTeam/android_vendor_pantech_presto" path="vendor/pantech/presto" remote="github" revision="cm-11.0" />
<remove-project name="android_bootable_recovery" />
<remove-project name="frameworks_base" />
@marduk191
marduk191 / addon.xml
Created February 6, 2016 06:31
Kodi addon.xml template 2
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--See http://kodi.wiki/view/Addon.xml for more information -->
<addon
id="plugin.video.id"
name="your cool addon"
version="1.2.3"
provider-name="Your name or organization">
<!--include all libraries that your plugin will require below. This will tell Kodi what to pull for you -->
<!-- http://kodi.wiki/view/Addon.xml#.3Crequires.3E -->
@marduk191
marduk191 / addon3.xml
Created February 6, 2016 06:44
Kodi repository addon.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="repository.yourname" name="Your Addons" version="0.1.2" provider-name="You">
<extension point="xbmc.addon.repository" name="Your addons">
<info compressed="false">https://raw.githubusercontent.com/you/your_repo_folder/master/addons.xml</info>
<checksum>https://raw.githubusercontent.com/you/your_repo_folder/master/addons.xml.md5</checksum>
<datadir zip="true">https://raw.githubusercontent.com/you/your_repo_folder/master/</datadir>
</extension>
<extension point="xbmc.addon.metadata">
<summary lang="en_GB">Your Kodi Addons</summary>
<description lang="en_GB">Your Kodi repository description.</description>
@marduk191
marduk191 / push
Created February 6, 2016 07:32
My kodi release script
#!/bin/bash
## Kodi Repo tool frontend
## By marduk191
## email: [email protected]
while getopts ":sf" flags;
do
case $flags in
s)
git add .
git commit -a