Skip to content

Instantly share code, notes, and snippets.

@caplio
caplio / init.target.rc
Last active December 10, 2015 12:08
DNA init.target.rc
# Copyright (c) 2011, Code Aurora Forum. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
@caplio
caplio / autodd.sh
Last active December 12, 2015 08:48
#!/bin/sh
#############################################
#
# usage : dd.sh <number of pertitions>
#
# ex) $ dd.sh 38
#
#############################################
@caplio
caplio / paz-backup.bat
Created February 12, 2013 09:44
PUZZLE & DRAGON のデータをバックアップするバッチスクリプトです。 リストアスクリプトもそのうち作成予定 用例: ・機種変更してデータを引き継ぎたい場合。 ・端末を初期化したい場合など。
echo off
color 3f
:nor
cls
:menu
echo ############################################
echo.
echo  パズドラ 専用バックアップスクリプト
@caplio
caplio / dlxj.mk
Last active December 17, 2015 00:39
vendor/aokp/products/dlxj.mk
# Specify phone tech before including full_phone
$(call inherit-product, vendor/aokp/configs/gsm.mk)
# Release name
PRODUCT_RELEASE_NAME := dlxj
# Inherit some common aokp stuff.
$(call inherit-product, vendor/aokp/configs/common.mk)
@caplio
caplio / lights.c
Last active December 17, 2015 03:18
/*
* Copyright (C) 2012 The CyanogenMod 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="github"
fetch=".."
review="review.cyanogenmod.org" />
<project name="tako0910/android_device_htc_apq8064-common" path="device/htc/apq8064-common" remote="github" revision="jb-mr1" />
<remote-project path="device/htc/msm8960-common" name="AOKP/device_htc_msm8960-common" remote="aokp" revision="jb-mr1" />
<remove-project path="device/samsung/aries-common" name="AOKP/device_samsung_aries-common" remote="aokp" revision="jb-mr1" />
# Check for target product
ifeq (pac_dlxj,$(TARGET_PRODUCT))
# OVERLAY_TARGET adds overlay asset source
OVERLAY_TARGET := pa_dlxj
# AOKP device overlay
PRODUCT_PACKAGE_OVERLAYS += vendor/pac/overlay/aokp/common
# PAC device overlay
PACMANビルドメモ
◯PAC-manのsourceを落としてくる
# repo init -u git://github.com/PAC-man/android.git -b cm-10.1
# repo sync
◯HTL21用のsourceファイルを手配する
# Executables
system/bin/adaptive
system/bin/akmd
system/bin/ATFWD-daemon
system/bin/awb_camera
system/bin/bridgemgrd
system/bin/bma150_usr
system/bin/charging
system/bin/ds_fmc_appd
system/bin/efsks
@caplio
caplio / BoardConfigCommon.mk
Created July 10, 2013 06:34
TWRP@SC-04E メモ jf-common/BoardConfigCommon.mk
$ cat device/samsung/jf-common/BoardConfigCommon.mk
# Copyright (C) 2009 The CyanogenMod 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software