StØck ROM Sense 5 - debloated 4.18.401.4 S2W, DT2W, Fast Charge - OL&NL topic


ROM

Hi guys, I would like to share "my" Sense 5 ROM. I am not a developer (if I was I wouldn't upload old & boring Sense 5 ^^), so it's way too far from perfect. 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 is ONLY for HTC ONE X International.

ALL CREDITS GO TO:
mike1986. for deodexed Stock ROM (and for his great ARHD^^)
DutchDanny for deodexed 4.18.401.4 patch
Onepagebook for One-X Two-Way Recording patch
lyapota, maxwen, n3ocort3x, Xmister, faux123, Alex-V for their hard work and kernel sources (I just copy-pasted from them)
teemo and Thömy for New Layout
Koush for Superuser

Features:
-Superuser by Koush
-busybox 1.23.1
-init.d support
-deodexed
-sweep2wake, doubletap2wake, fastcharge
-debloated
-enabled Two-Way Recording
-check below what's removed

Installation:
MANDATORY - do a full wipe (format Cache, Data, System; Wipe Cache, Wipe Dalvik Cache via Custom recovery)
flash ROM zip file from recovery
flash boot.img in fastboot
Reboot & Done

Kernel Configurations:



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





ROM OS Version: 4.2.2 Jelly Bean
ROM Kernel: Linux 3.1.10 (compiled from 4.18.401.4 source)
ROM Firmware Required: JB Hboot

Removed stuff:




7digital
HTC Sync
Google Books
Dropbox
EAGamebox
Facebook
Flickr
Genie Widget
Gmail
Google Maps & Streets
HTC Deals
Skydrive
Chrome
Instagram
Flash Player
LinkedIN
LMI Rescue
Locations
Google Magazines
Google Music
News Plugin
PDF Viewer
PolarisOffice
Picasa
Google+
Hangouts
Soundhound
Stock
Talkback
TuneIN
Twitter
Google Voice Search
Google Watch
Youtube



GPS Settings:
ROM contains GPS settings for EUROPE. If you want to change it, edit /system/etc/gps.conf and change 5 NTP_SERVER lines to your locations (or even country). More info HERE

Africa



NTP_SERVER=0.africa.pool.ntp.org
NTP_SERVER=1.africa.pool.ntp.org
NTP_SERVER=2.africa.pool.ntp.org
NTP_SERVER=3.africa.pool.ntp.org
NTP_SERVER=africa.pool.ntp.org


Asia



NTP_SERVER=0.asia.pool.ntp.org
NTP_SERVER=1.asia.pool.ntp.org
NTP_SERVER=2.asia.pool.ntp.org
NTP_SERVER=3.asia.pool.ntp.org
NTP_SERVER=asia.pool.ntp.org


North America



NTP_SERVER=0.north-america.pool.ntp.org
NTP_SERVER=1.north-america.pool.ntp.org
NTP_SERVER=2.north-america.pool.ntp.org
NTP_SERVER=3.north-america.pool.ntp.org
NTP_SERVER=north-america.pool.ntp.org


South America



NTP_SERVER=0.south-america.pool.ntp.org
NTP_SERVER=1.south-america.pool.ntp.org
NTP_SERVER=2.south-america.pool.ntp.org
NTP_SERVER=3.south-america.pool.ntp.org
NTP_SERVER=south-america.pool.ntp.org


Oceania



NTP_SERVER=0.oceania.pool.ntp.org
NTP_SERVER=1.oceania.pool.ntp.org
NTP_SERVER=2.oceania.pool.ntp.org
NTP_SERVER=3.oceania.pool.ntp.org
NTP_SERVER=oceania.pool.ntp.org



Additional info:

If you want Flash Player back, download and install it from attachment. If you want sqlite3 or zipalign, download from attachment and install via recovery.

If you don't want to install all keyboard languages, just edit ROM zip with 7zip, navigate to /system/app/ and delete corresponding languages (CIMEXT9.apk - chinese & IMEXT9XXXX.apk - those are up to you).

DOWNLOADS:
Old Layout
New Layout








0 commentaires:

Remarque : Seul un membre de ce blog est autorisé à enregistrer un commentaire.