Senior Recognized Developer / Contributor
- Mar 14, 2012
Ok .. let's test the adreno stuff in next build.
Tested the "bootdevice" in TWRP .. does not work for me.
TWRP does not find/mount partitions anymore.
Need to check what I made wrong .. or whats missing.
Ok .. just enabling westwood .. but no special patches for it.
bbr is not in flo EX kernel .. disabled all this stuff years ago .. on other devices too.
I will enable for next build .. and switch default from cubic to westwood.
I know about DT2W .. disabled in my kernel.
Do you have an idea on how to make it work for flo ?
Actually don't want to spent much time on this topic.
Anyway .. for today I spent enough time for flo ..
The main thing I noted for bootdevice was that it had to come after hardware in the final cmdline, i.e.:
Then the fstab changes in recovery.fstab, twrp.fstab and fstab.flo from "platform/msm_sdcc.1" to "bootdevice" should work if the TWRP base is up-to-date with the latest official.
DT2W is currently present in your kernel but disabled by default, please leave it at least present... As for how to hook it up to the Lineage Settings > Display > Tap to wake toggle, I'm not sure, but I assume it would be just swapping out whatever command Settings sends under the hood to instead use the old flo implementation.
e.g., to enable it I have this in my boot script:
echo 1 > /sys/android_touch/doubletap2wake;
My current boot script if anyone's interested.
#!/system/bin/sh for i in /sys/block/*/queue; do echo 512 > $i/nr_requests; echo 256 > $i/read_ahead_kb; echo 2 > $i/rq_affinity; echo 0 > $i/rotational; done; echo 585000000 > /sys/class/kgsl/kgsl-3d0/max_gpuclk; echo 1 > /sys/android_touch/doubletap2wake; echo 1 > /sys/kernel/fast_charge/force_fast_charge; echo 128 > /proc/sys/kernel/random/read_wakeup_threshold; echo 256 > /proc/sys/kernel/random/write_wakeup_threshold; echo westwood > /proc/sys/net/ipv4/tcp_congestion_control; echo 1 > /proc/sys/net/ipv4/tcp_low_latency; for i in /sys/class/net/*; do echo 100 > $i/tx_queue_len; done;