Skip to content

Instantly share code, notes, and snippets.

#!/sbin/sh
#
# /system/addon.d/50-modem.sh
#
. /tmp/backuptool.functions
list_files() {
cat <<EOF
vendor/modem.bin
EOF
# $OpenBSD: sshd_config,v 1.84 2011/05/23 03:30:07 djm Exp $
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options override the
diff -crB 2/1 1/1
*** 2/1 2012-09-24 11:43:09.543613280 +0530
--- 1/1 2012-09-24 11:43:32.919242952 +0530
***************
*** 1,2 ****
! linux-stable
! v2.6.35.7
--- 1 ----
! stock-samsung
Only in 2/arch/alpha/kernel: .gitignore
--- /home/cdesai/android/cm/10.1/out/target/product/mint/updater-script-orig 2008-02-29 08:03:46.000000000 +0530
+++ /home/cdesai/android/cm/10.1/out/target/product/mint/updater-script 2008-02-29 08:03:46.000000000 +0530
@@ -136,6 +136,7 @@
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
+show_progress(0.200000, 0);
show_progress(0.200000, 10);
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
cdesai@icebox: ~ $ adb shell cat /sys/devices/i2c-10/10-0040/leds/lcd-backlight_*/brightness
10
10
cdesai@icebox: ~ $ adb shell cat /sys/devices/i2c-10/10-0040/leds/lcd-backlight_*/brightness
1
1
@chirayudesai
chirayudesai / 1
Last active December 12, 2015 02:09
android-4.2.1_r.1 ... android-4.2.1_r1.2
f7f1523 JOP40G
acb046a JOP40F
fd74ba5 JOP40E
build
e1d91b1 mako: reduce the power consumption in off-mode charging
ad4941c mako: allow device to sleep in off-mode charging
device/lge/mako
97587c4 mako: prebuilt kernel
diff --git a/envsetup.sh b/envsetup.sh
index 205e3b0..e808f90 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -270,13 +270,15 @@ function addcompletions()
return
fi
- dir="sdk/bash_completion"
+ dirs="sdk/bash_completion vendor/cm"
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_sony_yuga" path="device/sony/yuga" remote="github" />
<project name="CyanogenMod/android_device_sony_common" path="device/sony/common" remote="github" />
<project name="CyanogenMod/android_device_sony_qcom-common" path="device/sony/qcom-common" remote="github" />
<project name="CyanogenMod/android_device_sony_fusion3-common" path="device/sony/fusion3-common" remote="github" />
<project name="CyanogenMod/android_kernel_sony_apq8064" path="kernel/sony/apq8064" remote="github" />
<project name="CyanogenMod/android_packages_apps_FMRadio" path="packages/apps/FmRadio" remote="github" />
<project name="CyanogenMod/android_hardware_sony_DASH" path="hardware/sony/DASH" remote="github" />
</manifest>
From 47d43fb7f9273bd90f1e1fff3b7624fa86f0d3b2 Mon Sep 17 00:00:00 2001
From: Chirayu Desai <cdesai@cyanogenmod.org>
Date: Thu, 11 Apr 2013 17:40:06 +0530
Subject: [PATCH] s/__LINUX__/__linux__/
Change-Id: I277f89e7b1163178b7987647cdfccaa2f7c1a3e3
---
heimdall/config.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
SUBSYSTEM=="usb", ATTR{idVendor}=="0502", MODE="0660", GROUP="adbusers"
SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", MODE="0660", GROUP="adbusers"
SUBSYSTEM=="usb", ATTR{idVendor}=="413c", MODE="0660", GROUP="adbusers"
SUBSYSTEM=="usb", ATTR{idVendor}=="0489", MODE="0660", GROUP="adbusers"
SUBSYSTEM=="usb", ATTR{idVendor}=="091e", MODE="0660", GROUP="adbusers"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0660", GROUP="adbusers"
SUBSYSTEM=="usb", ATTR{idVendor}=="109b", MODE="0660", GROUP="adbusers"
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0660", GROUP="adbusers"
SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", MODE="0660", GROUP="adbusers"
SUBSYSTEM=="usb", ATTR{idVendor}=="24e3", MODE="0660", GROUP="adbusers"