Affichage des articles dont le libellé est source. Afficher tous les articles

kernel

As I got some PMs about kernel I compiled, I decided to create this thread. I will upload kernel for Stock ROM 4.18.401.4 base (only Old Layout), ARHD 33.1 4.18.401.4 base (Old Layout & New Layout), MaximusHD 21.3.0 (Old Layout & New Layout). I compiled kernel from HTC 4.18.401.4 crc source only with a few modifications (sweep2wake, doubletap2wake & fast charge and init.d support) - I used AOSP toolchain 4.6 -O2. It doesn't contain any other mods (like OC, UV etc.)

ALL CREDITS GO TO:
lyapota, maxwen, n3ocort3x, Xmister, faux123, Alex-V for their hard work and kernel sources (I just copy-pasted from them)

Features:

Quote:









used AOSP toolchain 4.6 -O2
sweep2wake
doubletap2wake
fast charge




Kernel Configurations:




Quote:









sweep2wake config:
Enable/Disable (1=enabled, 0=disabled, enabled by default)

Code:


echo "0" > /sys/android_touch/sweep2wake

Button panel locks to s2w after this distance (9 by default)

Code:


echo "VALUE" > /sys/android_touch/s2w_register_threshold

Screen turns on/off after this distance (325 by default)

Code:


echo "VALUE" > /sys/android_touch/s2w_min_distance

Direction independent(1=Yes, 0=No, 1=by default)

Code:


echo "0" > /sys/android_touch/s2w_allow_stroke

Pocket protection (1=Yes, 0=No, 0=by default)

Code:


echo "1" > /sys/android_touch/pocket_detect

DoubleTap2wake config:
Enable/Disable ((1=enabled, 0=disabled, disabled by default)

Code:


echo "1" > /sys/android_touch/s2w_allow_double_tap

Time double taps (ms) (500 by default)

Code:


echo "VALUE_in_ms" > /sys/android_touch/s2w_double_tap_threshold

Time between double taps (150 by default)

Code:


echo "VALUE_in_ms" > /sys/android_touch/s2w_double_tap_duration

Dead area in points from top of screen (0 by default)
put 1780 for dt2w works only on virtual keya area

Code:


echo "VALUE" > /sys/android_touch/s2w_double_tap_dead_area

Fast charge (1=enabled, 0=disabled, disabled by default)

Code:


echo "1" > /sys/devices/platform/htc_battery/fast_charge










How to flash:

Quote:









For S-OFF
1. Download ZIP file and put to SD card
2. Flash ZIP from recovery

For S-ON
1.) Put ZIP file to SD card and flash from recovery
2.) Reboot to bootloader
3.) Extract boot.img from ZIP and flash boot.img in fastboot




Downloads:
For Stock ROMs without init.d support
For Stock ROMs if you want init.d support - you can configure kernel via /system/etc/init.d/22sweepfc script
ARHD 33.1 Old Layout
ARHD 33.1 New Layout
MaximusHD 21.3.0 Old Layout
MaximusHD 21.3.0 New Layout





Hello

I was recently working on a device- tree and a kernel for Galaxy V , I leave my job.

Source kernel

Device tree



Compiling luck :good:





Is building lollipop rom from source for nokia x possible? Or there technical difficulties. Some months ago some developers posted things about planning it. Yet no Lollipop rom avail for this nokia x ? feeling sad.. :crying:





hello there im compiling pac 5.1 from source im almost done i guess after compiling for about 1 hour i stumbled upon this error


Code:


make: *** No rule to make target '/home/bassface/pac-rom/out/target/product/a6000/system/framework/org.cyanogenmod.platform-res.apk', needed by '/home/bassface/pac-rom/out/target/product/a6000/system/framework/org.cyanogenmod.platform.jar'.  Stop.

but i couldnt find those files anywhere in the source to just manuall add them there nor did i find such files in already built roms i have (cm 11 pac 4.4.4 )

any help would be highly appreciated.
thankyou.