Theoretically, this will use more battery than the original.Going to flash this right nowWill this use more battery?
I use an AOSP toolchain as described in Readme.txt.in the kernel source.Can you share the toolchains you use?
defconfig file: m4_defconfig (arm-eabi-4.6)
Download:
=========
If you are not already using an AOSP toolchain (included in an AOSP build tree), download the corresponding official android toolchain for the arm-eabi specified above for this device:
git clone https://android.googlesource.com/platform/prebuilt for 4.4.3
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6 for 4.6
(use darwin-x86 in place of linux-x86 for mac)
Build the kernel:
=================
set the following environment variables:
export TOP= [where you installed the toolchain or top of android AOSP code base]
export PATH=$TOP/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin:$PATH (use corresponding arm-eabi bin path)
export ARCH=arm
export SUBARCH=arm
export CROSS_COMPILE=arm-eabi-
make [the defconfig file for this device above]
make clean (for subsequent builds)
make -j4 (in this example 4 is the number of processors of your build machine)
Thanks will be making my own kernel soonI use an AOSP toolchain as described in Readme.txt.in the kernel source.
Readme.txt.:
Code:defconfig file: m4_defconfig (arm-eabi-4.6) Download: ========= If you are not already using an AOSP toolchain (included in an AOSP build tree), download the corresponding official android toolchain for the arm-eabi specified above for this device: git clone https://android.googlesource.com/platform/prebuilt for 4.4.3 git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6 for 4.6 (use darwin-x86 in place of linux-x86 for mac) Build the kernel: ================= set the following environment variables: export TOP= [where you installed the toolchain or top of android AOSP code base] export PATH=$TOP/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin:$PATH (use corresponding arm-eabi bin path) export ARCH=arm export SUBARCH=arm export CROSS_COMPILE=arm-eabi- make [the defconfig file for this device above] make clean (for subsequent builds) make -j4 (in this example 4 is the number of processors of your build machine)
Glad to see your work:good:Sense 6 for Asia version is available now.
I uploaded S2W/DT2W kernel for Sense 6 for Asia version (that uses Asia version ramdisk image).
Changing the setting from 1 to 0 and creating the suggested folder plus the S99d2woff file in that folder still doesn't make the setting survive a reboot, what am I doing wrong/what am I missing?Please create init.d script file like:
/system/etc/init.d/S99d2woff
Code:#!/system/bin/sh echo 0 > /sys/android_touch/doubletap2wake