Fix TTL Lenovo vibe P1a42 - Lenovo Vibe P1 Questions & Answers

How to add TTL support to the kernel ("TTL" target support, /proc/net/ip_tables_targets - no string TTL)? Need to fix TTL. Help, please.

Related

[ apps] sysctl config "root"

Dear friends,
Does anybody heard about this application which improve your device performance by changing some parameters in the sysctl() file. It has the following option, but as an amateur I do not know what for what parameters and what value should I select :
Memory Free( KB) - default 2637
Dirty Ratio - default 20
Dirty Background Ratio - default 5
VFS Cache Pressure - default 100
Oom Allocating Task - default unchecked
In the advanced option ( For pro version)
Key - default null
Value - default null
Application Version : 1.2
Application Name: SYSCTL CONFIG ROOT
--------------------------------
Anyone out there to give a lesson
--------------------------------
" Use Android, Use Tapatalk "

[KERNEL] Khaon's Kernel ♦ F2FS ♦ LINARO 4.7.4 ♦03/04

Hello everyone!! Want to try f2fs on your device? You are at the good place to give it a try!​
disclaimer said:
I am not responsible for any damage to your phone.
Read before downloading or posting in the thread:
Proceed with caution if you have no experience.
Click to expand...
Click to collapse
​
INTRODUCTION
I wanted to port f2fs for our device since it gives a nice performance boost. After few months of learning how to develop and program his own custom kernel here is my first personal release.
This is an open devDB xda project. Feel free to fill in bugs reports, feature(s) requests and reviews.
​
To those who don't know what is f2fs
F2FS (Flash-Friendly File System) is a flash file system created by Jaegeuk Kim (Hangul: 김재극) at Samsung for the Linux operating system kernel.[2]
The motive for F2FS was to build a file system that from the start takes into account the characteristics of NAND flash memory-based storage devices (such as solid-state disks, eMMC, and SD cards), which are widely used in computer systems ranging from mobile devices to servers.
Click to expand...
Click to collapse
Some benchmarks to point out the performance difference between EXT4 and F2FS
AndroGuide benchmarks : ext4 vs f2fs ( seemes to be using the most recent f2fs)
XDA's benchmark : ext4 vs f2fs
Phoronix's benchs ext4 vs btfrs vs f2fs
Another Phoronix's bench
Click to expand...
Click to collapse
Optipops features :
Kernel's features :​
Compiled with linaro 4.7.4 with optimized flags : O3, etc.
Linux 3.4.67: synced with cyanogen 's manta kernel git, google's common branch, some parts of the kernel updated to 3.4.108, and many fixes from CAF,linaro, blabla.
Governors : interactive, intelliactive,intellimm,conservative, ktoonservative , performance, userspace, nigtmahre(on request)(ask for some others if you prefer them over the one I provide)
I/O schedulers : noop, cfq, deadline, bfq(tweaked for nand devices),fiops,zen,sio
f2fs updated from upstream git(08 september 2015)
UV and OC both for the GPU AND CPU supported
Control for the gpu table thresholds
touchboost driver for cpu and gpu in replacement of crappy powerHAL touch interface ( thx @franciscofranco to have adapted qcom code to ageneric one)
arm optimized crypto algorithms.(for the ones that want to crypt their data)
f2fs crypto support
kernel neon support
kernel side touch boost driver
double tap to wake
AnyKernel2 Solution: Allow users to install the kernel on different distribution. It also detects the filesystem of your partitions to produce a correct fstab. ( f2fs is supported on any partition BUT system )
and many more patches(see my github!)
​installation instructions :​
Wipe Data Cache System
Flash The kernel
If issues are met, delete the
Code:
/sdcard/Android/data
folder.
IF YOU FACE ERROR/ISSUES PLEASE USE MY TWRP CUSTOM RECOVERIES AT this link
How To Migrate one partition from ext4 to f2fs(vice-versa):INSTRUCTIONS FOR TWRP 2.8.x.y
GunnerOnASpooky said:
1. Backup everything from your internal storage to your PC or what ever, if you are migrating /data partition,since the entire internal storage is going to get wiped out with format!!!!!!!!!!
2. Download the recovery from my gdrive
3. Flash the recovery from the bootloader (fastboot flash recovery XX.img)
4. Reboot into the newly flashed recovery
5. Choose wipe, advanced, then select the partition you want to change its filesystems
6. Choose the change file system option on the right
7. Select change file system again
8. Select f2fs(or ext4)
9. Repeat for all you wish to convert (I did system!/data/cache but /system partition should be working if you rom package flash extracts instead of flashing an image)
Click to expand...
Click to collapse
Credits:
@ktoonsez - for his kernel , KT- twrp and his work.
Team Win and @helicopter88 @Dees_Troy for their help.
Samsung for F2FS: heh!
@craigacgomez - for thunderkat kernel
@JustArchi - for his opti v3 build rom.
Cyanogendmod for their ROM
Linaro foundation for their toolchains
@faux123 for his intelliactive governor
@franciscofranco - for his work on touch boost drivers and mako kernel
@osm0sis - for AnyKernel2
Source:
KT-TWRP
kernel
Ramdisks
DOWNLOADS LINK​
XDA:DevDB Information
Khaon's project for Nexus 10, Kernel for the Google Nexus 10
Contributors
Khaon, ktoonsez,dees_troy,cyanogenmod,faux123,franciscofranco
Source Code: https://github.com/Khaon/kernel_samsung_manta
Kernel Special Features: This kernel is compiled with lastest UBERTC 4.8.5 It features UC/OC, UV, bfq, optimizaed compillation falgs, uksm, frandom, supports f2fs, dynamiclly mounts f2fs/ext4 partitions and more
Version Information
Status: Stable
Stable Release Date: 2015-01-03
Created 2014-09-27
Last Updated 2015-01-12
XDA:DevDB Information
Khaon's kernel for Nexus 10, Kernel for the Google Nexus 10
Contributors
Khaon, Cl3Kener, ktoonsez,dees_troy,cyanogenmod,faux123,franciscofranco,freak_97,despairfactor
Source Code: https://github.com/Khaon/kernel_samsung_manta
Kernel Special Features: This kernel is compiled with lastest UBERTC 4.8.5. It features UC/OC, UV, bfq, optimizaed compillation falgs, uksm, frandom, supports f2fs, dynamiclly mounts f2fs/ext4 partitions and more
Version Information
Status: Stable
Stable Release Date: 2015-07-13
Beta Release Date: 2015-04-17
Created 2014-09-27
Last Updated 2015-09-06
XDA:DevDB Information
Khaon's kernel for Nexus 10, Kernel for the Google Nexus 10
Contributors
Khaon, Cl3Kener, ktoonsez,dees_troy,cyanogenmod,faux123,franciscofranco,freak_97,despairfactor
Source Code: https://github.com/Khaon/kernel_samsung_manta
Kernel Special Features: This kernel is compiled with lastest UBERTC 4.8.5. It features UC/OC, UV, bfq, optimizaed compillation falgs, uksm, frandom, supports f2fs, dynamiclly mounts f2fs/ext4 partitions and more
Version Information
Status: Stable
Stable Release Date: 2015-09-08
Beta Release Date: 2015-04-17
Created 2014-09-27
Last Updated 2015-09-08
XDA:DevDB Information
Khaon's kernel for Nexus 10, Kernel for the Google Nexus 10
Contributors
Khaon, Cl3Kener, ktoonsez,dees_troy,cyanogenmod,faux123,franciscofranco,freak_97,despairfactor
Source Code: https://github.com/Khaon/kernel_samsung_manta
Kernel Special Features: This kernel is compiled with lastest UBERTC 4.8.5. It features UC/OC, UV, bfq, optimizaed compillation falgs, uksm, frandom, supports f2fs, dynamiclly mounts f2fs/ext4 partitions and more
Version Information
Status: Stable
Stable Release Date: 2015-09-08
Beta Release Date: 2015-04-17
Created 2014-09-27
Last Updated 2016-04-02
Changelogs
Recommanded applications
Kernel Audiutor for kernel management. It supports for now all kernel features but gpu overclocking.
Changelogs
from 08/04 to 13/08
Merge remote-tracking branch 'exynos/android-exynos-manta-3.4-lollipop-mr1' into khaon-new
Merge remote-tracking branch 'common/android-3.4' into khaon-new
gpu:mali:dvfs:set gpu boost sysfs interface in msecs instead of usecs
mali:dvfs:enhanced gpu voltage control
defconfig:enabled f2fs crypto
f2fs:fix compilation errors when crypto is enabled
KEYS: Add invalidation support
f2fs: fix the prototype of find_target_dentry
Revert "vfs: make it possible to access the dentry hash/len as one 64-bit entry"
f2fs: import upstream sources
defconfig:compile nightmare governor
cpufreq:add nightmare governor drivers/cpufreq/Makefile
ipv6: clean up anycast when an interface is destroyed
ipv6: sysctl to restrict candidate source addresses
dt2w: enhancements to prevent the device to be all the time awake when dt2w is disabled
Merge remote-tracking branch 'common/android-3.4' into HEAD
Fix incorrect conflict resolution in "vfs: Add setns support for the mount namespace"
proc: fix build broken by proc inode per namespace patch
Revert "android: drivers: Fix build broken by android debugfs fix."
android: drivers: Fix build broken by android debugfs fix.
proc: Allow proc_free_inum to be called from any context
proc: Usable inode numbers for the namespace file descriptors.
proc: Fix the namespace inode permission checks.
proc: Generalize proc inode allocation
vfs: Allow unprivileged manipulation of the mount namespace.
vfs: Only support slave subtrees across different user namespaces
vfs: Add a user namespace reference from struct mnt_namespace
vfs: Add setns support for the mount namespace
consitify do_mount() arguments
do_add_mount()/umount -l races
fs: introduce inode operation ->update_time
VFS: Comment mount following code
VFS: Make clone_mnt()/copy_tree()/collect_mounts() return errors
get rid of magic in proc_namespace.c
get rid of ->mnt_longterm
vfs: umount_tree() might be called on subtree that had never made it
brlocks/lglocks: API cleanups
brlocks/lglocks: turn into functions
lglock: remove online variants of lock
Revert "vfs: umount_tree() might be called on subtree that had never made it"
android: drivers: workaround debugfs race in binder
Revert "android: drivers: workaround debugfs race in binder"
ipv4: Missing sk_nulls_node_init() in ping_unhash().
f2fs:fix for linux 3.4
remove permissive mode by default
fs: Introduce FALLOC_FL_ZERO_RANGE flag for fallocate
fs: Add new flag(FALLOC_FL_COLLAPSE_RANGE) for fallocate
f2fs: disable the discard option when device doesn't support
f2fs: fix a deadlock for summary page lock vs. sentry_lock
f2fs: recovering broken superblock during mount
f2fs: truncate data blocks for orphan inode
f2fs: fix building on 32-bit architectures
f2fs: avoid buggy functions
f2fs: add compat_ioctl to provide backward compatability
f2fs: do not issue next dnode discard redundantly
f2fs: add default mount options to remount
f2fs: report unwritten area in f2fs_fiemap
f2fs: avoid value overflow in showing current status
f2fs: support FALLOC_FL_ZERO_RANGE
f2fs: support FALLOC_FL_COLLAPSE_RANGE
f2fs: introduce f2fs_replace_block() for reuse
block: introduce the BFQ-v7r8 I/O sched for 3.4
cpufreq.h:correct the prototype of cpufreq_frequency_table *cpufreq_frequency_get_table_ordered
doubletap2wake:initial reworking
ptrace: fix ptrace defect cause by a merge fail
android: drivers: workaround debugfs race in binder
neigh: Better handling of transition to NUD_PROBE state
New Build Breakage in branch: kernel-m-dev-tegra-flounder-3.10 @ 1960706
Revert "double tap to wake initial introduction"
Revert "DT2W: give the capacity to wake to the driver and let the driver awake"
Merge remote-tracking branch 'common/android-3.4' into khaon-new
gpu:mali:add control for the gpu table and gpu boost duration, also decreased the gpu governor poll rate from 100 ms to 75 ms
gpu:mali:added an sysfs interface for the gpu boost freq
invensense: testBatchAndFlush CTS issues
selinux: enable per-file labeling for debugfs files.
suspend: Return error when pending wakeup source is found.
ipv4: Missing sk_nulls_node_init() in ping_unhash().
added a sysfs interface for the gpu voltage
build script updated
thermal: increased the start throlle a bit for the gpu and increase for the mem
gpu:reworked the voltage and increased voltage for the 864 cache speed
DT2W: give the capacity to wake to the driver and let the driver awake
net/unix: sk_socket can disappear when state is unlocked
selinux: enable genfscon labeling for sysfs and pstore files
selinux: enable per-file labeling for debugfs files.
selinux: correctly label /proc inodes in use before the policy is loaded
thermal:tmu-exynos:reworked slightly the driver
suspend: Return error when pending wakeup source is found.
gpu/cpu oc: little changes for the voltage
slight rework of compil flags
gpu oc: introduction of 667Mhz and 720Mhz steps
double tap to wake initial introduction
f2fs: fix counting the number of inline_data inodes
f2fs: don not re-lookup nat cache with same nid
f2fs: remove unneeded f2fs_make_empty declaration
f2fs: issue discard with finally produced len and minlen
f2fs: introduce discard_map for f2fs_trim_fs
f2fs: revmove spin_lock for write_orphan_inodes
f2fs: split find_data_page according to specific purposes
f2fs: add need_dentry_mark
f2fs: fix race on allocating and deallocating a dentry block
f2fs: introduce dot and dotdot name check
f2fs: move get_page for gc victims
f2fs: add sbi and page pointer in f2fs_io_info
f2fs: add f2fs_may_inline_{data, dentry}
f2fs: clean up f2fs_lookup
f2fs: introduce f2fs_commit_super
f2fs: add f2fs_map_blocks
f2fs: add feature facility in superblock
f2fs: move existing definitions into f2fs.h
f2fs: add missing version info in superblock
f2fs: fix not to check IS_ERR for null pointer
f2fs: make has_fsynced_inode static
f2fs: add offset check routine before punch_hole() in f2fs_fallocate()
f2fs: use is_valid_blkaddr to verify blkaddr for readability
f2fs: fix wrong error hanlder in f2fs_follow_link
Revert "f2fs: enhance multi-threads performance"
touchboost:increased the interval from 150ms to 300ms
build script updated
gpu:arm:mali:add input touchboost
SELinux: ss: Fix policy write for ioctl operations
seccomp: Replace BUG(!spin_is_locked()) with assert_spin_lock
nf: IDLETIMER: Adds the uid field in the msg
drbd: merge_bvec_fn: properly remap bvm->bi_bdev
writeback: fix a subtle race condition in I_DIRTY clearing
writeback: Move I_DIRTY_PAGES handling
input: evdev: Move wake_lock_destroy call
f2fs:sync with upstream branch
ipv4: Missing sk_nulls_node_init() in ping_unhash().
SELinux: ss: Fix policy write for ioctl operations
seccomp: Replace BUG(!spin_is_locked()) with assert_spin_lock
nf: IDLETIMER: Adds the uid field in the msg
VFS: Make more complete truncate operation available to CacheFiles
Merge remote-tracking branch 'common/android-3.4' into khaon-new
SELinux: use deletion-safe iterator to free list
subsystem: CPU FREQUENCY DRIVERS- Set cpu_load calculation on current frequency
gpu:mali:dvfs:reworked stock dvfs table
f2fs: flush symlink path to avoid broken symlink after POR
f2fs: avoid abnormal behavior on broken symlink
f2fs: change 0 to false for bool type
arm:midguard:fixed bus frequency for 533 mhz
kernel: add support for gcc 5
arm:midgard:decreased up threshold for gpu governor
vfs: check if f_count is 0 or negative
hrtimer: Prevent remote enqueue of leftmost timers
hrtimer: Prevent all reprogramming if hang detected
hrtimer: Set expiry time before switch_hrtimer_base()
sched/fair: Improve the ->group_imb logic
sched/fair: Revert sched-domain iteration breakage
sched/fair: Propagate 'struct lb_env' usage into find_busiest_group
sched/fair: Add some serialization to the sched_domain load-balance walk
sched/fair: Let minimally loaded cpu balance the group
sched: Change rq->nr_running to unsigned int
sched/fair: Implement fast idling of CPUs when the system is partially loaded
sched: Fix inaccurate accounting for real-time task
sched: Micro-optimize the smart wake-affine logic
sched: Implement smarter wake-affine logic
sched/idle: Avoid spurious wakeup IPIs
sched/__wake_up_sync_key(): Fix nr_exclusive tasks which lead to WF_SYNC clearing
Merge remote-tracking branch 'common/android-3.4' into khaon-new
SELinux: per-command whitelisting of ioctls
security: lsm_audit: add ioctl specific auditing
SELinux: Update policy version to support constraints info
SELinux: add default_type statements
SELinux: allow default source/target selectors for user/role/range
selinux: add SOCK_DIAG_BY_FAMILY to the list of netlink message types
selinux/nlmsg: add XFRM_MSG_MAPPING
selinux/nlmsg: add XFRM_MSG_MIGRATE
selinux/nlmsg: add XFRM_MSG_REPORT
selinux/nlmsg: add XFRM_MSG_[NEW|GET]SADINFO
selinux/nlmsg: add XFRM_MSG_GETSPDINFO
selinux/nlmsg: add XFRM_MSG_NEWSPDINFO
cpufreq:interactive:let's try those tunnables
08/03
kernel
squashed commits from upstream kernel revision:
blktrace: fix accounting of partially completed requests
block: fix a probe argument to blk_register_region
vfs,proc: guarantee unique inodes in /proc
mm: fix aio performance regression for database caused by THP
ASoC: wm_hubs: Add missing break in hp_supply_event()
ALSA: fix oops in snd_pcm_info() caused by ASoC DPCM
can: dev: fix nlmsg size calculation in can_get_size()
ipv4: fix ineffective source address selection
proc connector: fix info leaks
net: heap overflow in __audit_sockaddr()
net: do not call sock_put() on TIMEWAIT sockets
tcp: do not forget FIN in tcp_shifted_skb()
tcp: must unclone packets before mangling them
OOM, PM: OOM killed task shouldn't escape PM suspend
ALSA: pcm: use the same dma mmap codepath both for arm and arm64
random: add and use memzero_explicit() for clearing data
crypto: more robust crypto_memneq
vfs: fix data corruption when blocksize < pagesize for mmaped data
target: Fix queue full status NULL pointer for SCF_TRANSPORT_TASK_SENSE
block: fix alignment_offset math that assumes io_min is a power-of-2
fix misuses of f_count() in ppp and netlink
fs: make cont_expand_zero interruptible
fs: Fix theoretical division by 0 in super_cache_scan().
framebuffer: fix border color
power: charger-manager: Fix NULL pointer exception with missing cm-fuel-gauge
kvm: don't take vcpu mutex for obviously invalid vcpu ioctls
int_sqrt: Improve 3x faster integer sqrt.
net: ping: Return EAFNOSUPPORT when appropriate.
android: base-cfg: turn off /dev/mem and /dev/kmem
net: ipv6: make "ip -6 route get mark xyz" work.
Set the iif for IPv6 packets as well.
Merge remote-tracking branch 'common/android-3.4' into khaon-new
sched: Fix reference to stale task_struct in try_to_wake_up()
Merge remote-tracking branch 'common/android-3.4' into khaon-new
fs/proc/task_mmu.c: add user-space support for resetting mm->hiwater_rss (peak RSS)
gpu:mali:
reworked gpu governor table
fs:
f2fs:updatd to upstream revision
defconfig:
defconfig:enabled neon features
defconfig:add NTFS support
cpufreq:
cpufreq:ktoonservative:made touch boost smarter
cpufreq:interactive:increased DOWN_LOW_LOAD_THRESHOLD to 20%
Rom(changes from optipop official sources):
core:
Add support for exec command in init scripts.
init: Fix memory corruption when sanitizing platform paths
init: Do not call recursive_restorecon on soc.0
init: Make restorecon_recursive work for /data/
fs_mgr: Skip filesystem check unless fs_type matches
Add libminshacrypt static lib
device/manta:
fstab:removed fastboot and flush_merge mount options
twrp:added fstab and updated config
manta: Use better mount options
BoardConfig:enabled f2fs for userdata image
Audio proprietaries from stock ROM
Add support for more filesystems
Enabled BLE, GATT, SMP (bluetooth low-energy)
OTG USB storage support
Update full_manta properties
ART dex2oat optimisation properties
Final final final N5 wallpaper.
fstab: enabled f2fs support
enable inline kernel building
audio_effects:added support for viper4audio
post install validation:resize the system partition after installing the rom
added reboot to recovery button and screenshot in the power menu
manta: add GlobalActionList config
call my vendor script
enable translucent decor
Remove obsolete dalvik.gc.type-precise
manta: Enable libm optimizations
enabled optipop optimizations
power: updated to my personnal library
added twrp config for manta
TWRP 2.8.5.0:
switched to cm12's f2fs tools(1.4.1)
use my kernel instead of stock one with f2fs patches
16/02
Kernel changelog :
f2fs synced with latest revision
merged aosp new commits
reworked ktoonservative a bit
picked few patches from upstream 3.4.106 kernel
Click to expand...
Click to collapse
20/01
Hello little update to the kernel:
introduced 864 Mhz cache frequencies for 1.6+++ freq.
merged with google's androidd 3.4 branch: squashed the following commits:
Merge remote-tracking branch 'common/android-3.4' into lollipop
ARM: pull in <asm/simd.h> from asm-generic
ARM: be strict about FP exceptions in kernel mode
ARM: move VFP init to an earlier boot stage
crypto: create generic version of ablk_helper
ARM: add support for kernel mode NEON
crypto: sha - Handle unaligned input data in generic sha256 and sha512.
crypto: sha512_generic - set cra_driver_name
crypto: sha512 - Expose generic sha512 routine to be callable from other modules
crypto: create generic version of ablk_helper
defconfig updated:enabled arm crypto
KEYS: Provide signature verification with an asymmetric key
KEYS: Asymmetric public-key algorithm crypto key subtype
KEYS: Implement asymmetric key type
crypto: add crypto_[un]register_shashes for [un]registering multiple shash entries at once
ARM: 8120/1: crypto: sha512: add ARM NEON implementation
ARM: 8119/1: crypto: sha1: add ARM NEON implementation
ARM: 8118/1: crypto: sha1/make use of common SHA-1 structures
crypto: arm-aes - fix encryption of unaligned data
CRYPTO: Fix more AES build errors
ARM: add .gitignore entry for aesbs-core.S
ARM: add support for bit sliced AES using NEON instructions
ARM: move AES typedefs and function prototypes to separate header
ARM: 7837/3: fix Thumb-2 bug in AES assembler code
ARM: 7723/1: crypto: sha1-armv4-large.S: fix SP handling
ARM: 7626/1: arm/crypto: Make asm SHA-1 and AES code Thumb-2 compatible
arm/crypto: Add optimized AES and SHA1 routines
sync with f2fs upstream branch
squashed few commits from CAF:
mm: vmscan: lock page on swap error in pageout
Staging: android: binder: More offset validation
Input: Send events one packet at a time
binder: NULL pointer reference
staging: binder: add vm_fault handler
staging: binder: Change binder mutex to rtmutex.
report if instablity!
02/01
khaon said:
kernel:
cpufreq:
cpufreq: Retain only online cpus in managed_policy->cpus
cpufreq:interactive:reworked tunnables
cpufreq:interactive: making sure cpufreq stays low when it needs to stay low
cpufreq:interactive:switched to touchboost driver
cpufreq: interactive: prevents the frequency to directly raise above the hispeed_freq from a lower frequency.
cpufreq: interactive: don't skip waking up speedchange_task if target_freq > policy->cur
cpufreq: interactive: delete timers for GOV_START
cpufreq: interactive: Fix null pointer dereference in interactive governor
cpufreq: interactive: Remove unnecessary cpu_online() check
cpufreq:ktoonservative:switch to generic input touchboost driver
Tweaks on OC (from @ktoonsez )
Makefile:
Makefile:removed graphite flags
exynos:
exynos:increased thermald throttling temp
drivers:
input: touchboost: add my generic touchboost driver governor agnostic. Its slightly changed from my N5, N4 and N7 version to adapt to this arch ( from @franciscofranco )
filesystems:
f2fs:sync with upstream branch
frandom: A fast random number generator
block:
block:bfq:adjusted tunnables for nand devices
block:bfq v7r7 v7r7: . BUGFIX: Prevent the OOM queue from being involved in the queue cooperation mechanism. In fact, since the requests temporarily redirected to the OOM queue could be redirected again to dedicated queues at any time, the state needed to correctly handle merging with the OOM queue would be quite complex and expensive to maintain. Besides, in such a critical condition as an out of memory, the benefits of queue merging may be little relevant, or even negligible. . IMPROVEMENT: Let the OOM queue be initialized only once. Previously, the OOM queue was reinitialized, at each request enqueue, with the parameters related to the process that issued that request. Depending on the parameters of the processes doing I/O, this could easily cause the OOM queue to be moved continuously across service trees, or even across groups. It also caused the parameters of the OOM queue to be continuously reset in any case. . CODE IMPROVEMENT. Performed some minor code cleanups, and added some BUG_ON()s that, if the weight of an entity becomes inconsistent, should better help understand why.
kernel:
sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire. From http://ripke.com/loadavg/moire
Merge remote-tracking branch 'common/android-3.4' into khaon-new
Rom:
build:use a modular list to disable O3 optimizations (fixes for example blue tooth crashes, report any new other FC's, if they related to the optimizations flags, I can try tracking down the relevant module and add it to the list.
audio_effects:added support for viper4audio
power: removed touch screen boost's code because we use kernel side touch boost driver
Click to expand...
Click to collapse
khaon said:
19/12
khaon said:
Rom:
powerHAL: reworked the driver to prevent overriding user's CPU freq speed to 1.7GHz.
powerHAL: reworked the driver to break early on screen interaction if the current cpu governor is not interactive
build:clang: compile the rom with Ofast instead of O3 ( since this flag enables ffast-math, it violates IEEE, thus it may bring instability or decrease in performance, report weird behaviour.
Kernel:
ext4 updated to 3.4.105
frandom in replacement for random and uradom
thermal throttling: squashed @ktoonsez thermal algorithm
various cherry-picking from 3.4.105 kernel and from linux kernel upstream(include among other lz4 up to date, various arm patches, few patches
Anykernel:
Full switching to anykernel2 solution by osmosis:
patch the fstab upon flashing the zip package accordingly to your partitions' file systems
post-init script added to tweak vm,io,sched,...
Click to expand...
Click to collapse
19/11
khaon said:
Changelog
TWRP: added unofficial 2.8.1.0 build supporting f2fs
Click to expand...
Click to collapse
20/10
khaon said:
Changelog
ROM:
20/10 unoficial nightly compiled with linaro 4.8.4 with this build
Shipped with my linux mainline kernel
Kernel :
updated to Linux3.4.104
sync with google's kernel 3.4 banch
sync with f2fs branch
frandom: A fast random number generator as a kernel module for Linux.
mm: Added file system dynamic read-ahead (Credits to Chad Gooldman)
block:bfq:updated to v7r6
Click to expand...
Click to collapse
23/09/14
Linux 3.4.103
Makefile : compiling with graphite
frandom: A fast random number generator as a kernel module for Linux.
Vibration interface goes LIVE
Click to expand...
Click to collapse
F2FS :
f2fs: refactor flush_nat_entries to remove costly reorganizing ops
f2fs: introduce FITRIM in f2fs_ioctl
f2fs: introduce cp_control structure
f2fs: use more free segments until SSR is activated
f2fs: change the ipu_policy option to enable combinations
f2fs: fix to search whole dirty segmap when get_victim
f2fs: fix to clean previous mount option when remount_fs
f2fs: skip punching hole in special condition
f2fs: support large sector size
f2fs: fix to truncate blocks past EOF in ->setattr
f2fs: update i_size when __allocate_data_block
f2fs: use MAX_BIO_BLOCKS(sbi)
f2fs: remove redundant operation during roll-forward recovery
f2fs: do not skip latest inode information
f2fs: fix roll-forward missing scenarios
f2fs: fix conditions to remain recovery information in f2fs_sync_file
f2fs: introduce a flag to represent each nat entry information
f2fs: use meta_inode cache to improve roll-forward speed
f2fs: fix double lock for inode page during roll-foward recovery
f2fs: fix a race condition in next_free_nid
Click to expand...
Click to collapse
Merge remote-tracking branch 'common/android-3.4' into origin/google_mainline:
seccomp: Use atomic operations that are present in kernel 3.4.
seccomp: implement SECCOMP_FILTER_FLAG_TSYNC
introduce for_each_thread() to replace the buggy while_each_thread()
seccomp: allow mode setting across threads
seccomp: introduce writer locking
seccomp: split filter prep from check and apply
sched: move no_new_privs into new atomic flags
ARM: add seccomp syscall
seccomp: add "seccomp" syscall
seccomp: split mode setting routines
seccomp: extract check/assign mode helpers
seccomp: create internal mode-setting function
MAINTAINERS: create seccomp entry
CHROMIUM: ARM: r1->r0 for get/set arguments
CHROMIUM: seccomp: set -ENOSYS if there is no tracer
CHROMIUM: ARM: arch/arm: allow a scno of -1 to not cause a SIGILL
CHROMIUM: arch/arm: select HAVE_ARCH_SECCOMP_FILTER
CHROMIUM: arch/arm: move secure_computing into trace; respect return code
CHROMIUM: arch/arm: add asm/syscall.h
samples/seccomp: fix dependencies on arch macros
seccomp: fix build warnings when there is no CONFIG_SECCOMP_FILTER
seccomp: ignore secure_computing return values
seccomp: use a static inline for a function stub
Documentation: prctl/seccomp_filter
Fix execve behavior apparmor for PR_{GET,SET}_NO_NEW_PRIVS
Add PR_{GET,SET}_NO_NEW_PRIVS to prevent execve from granting privs
Click to expand...
Click to collapse
13/09/14 :
Recovery:
Added twrp-2.8.0.0 supporting mounting f2fs partitions
Click to expand...
Click to collapse
Ramdisk :
[
sync with cm
using lz4 compression algorithm for both ramdisk and kernel image
unified all version into a single kernel : at boot a script check which is the fs of each partition
Click to expand...
Click to collapse
Khaon's kernel :
added lz4 kernel support for decompression
f2fs synced with upstream dev branch.
ARM :
optimized AES and SHA1 routines
sha1: add ARM NEON implementation
support neon in kernel
commits from former kernels
commits from linux/master, google's kernel/common, cyanogenmod's manta branches.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Reserved
Reserved
Thanks a lot for your work.
I'll try it with CM asap.
For more download convenience, can you upload an all-in-one zip with recovery and the 2 kernel somewhere else than github, it could be difficult to download from there. Thanks again.
yeah, i ll put it on mediafire.
Khaon said:
yeah, i ll put it on mediafire.
Click to expand...
Click to collapse
Awesome work man!
F2FS fully working on System/Data/Cache with SlimKat 5.8 weekly 4.4.3 and your F2FSall Ktoonsez kernel...
Nexus 10 is flying now!
EDIT: I'm getting a bunch of freeze-ups which result into reboots, is this happenng to anyone else?
Steps i took:
fastboot flashed kt-twrp
changed settings (including /system)
wiped what needed to be wiped
replaced Rom script( SlimKat weekly build 4.4.3)
installed rom, correct kernel, and gapps
Any advice would be appreciated!
I have some pb too. It's quite impossible for me to copy something from my usb stick to the internal memory. It freezes almost every time.
No problem in ext4 with same ROM.
Only problems I encountered were freezes/reboots for the very first hours of use, been so far in full f2fs with cyanogen M7 no probs here.
However, did you try with only cache+data partition?
Yep, I was on cm nightlies and data/cache only.
Now I'm trying omni, I will try with this ROM
Could you paste the content of the fstab please?
Envoyé de mon MI 2S en utilisant Tapatalk
About the fstab: What updates the fstype for the partitions we choose to convert to F2FS? Is TWRP 'smart' enough to write the proper /fstab.manta? I thought the boot.img in the ROM zip contained this file?
Really excited to switch to F2FS, I've been running it on my Arch boxes for a while now. Anyone worked on an auto updater for the updater-script? I'm on OmniROM and flash daily so it would be nice to not have to hand edit and re-pack the zip every day. I'd look into doing it but I'm not super confident I'd go about it the proper way.
b1g.p0ppa said:
About the fstab: What updates the fstype for the partitions we choose to convert to F2FS? Is TWRP 'smart' enough to write the proper /fstab.manta? I thought the boot.img in the ROM zip contained this file?
Really excited to switch to F2FS, I've been running it on my Arch boxes for a while now. Anyone worked on an auto updater for the updater-script? I'm on OmniROM and flash daily so it would be nice to not have to hand edit and re-pack the zip every day. I'd look into doing it but I'm not super confident I'd go about it the proper way.
Click to expand...
Click to collapse
For now, TWRP can detect when you are wiping your partition what tools it would has to use. I.e : if you choose to wipe data partition, system, etc.
And use the correct tool accordingly. But official version do not mount yet however f2fs partition.
The fstab is in the ramdisk, so contained yep in the boot.img. But there are few mount options, some may need to be activated in case of unstability
Khaon said:
For now, TWRP can detect when you are wiping your partition what tools it would has to use. I.e : if you choose to wipe data partition, system, etc.
And use the correct tool accordingly. But official version do not mount yet however f2fs partition.
The fstab is in the ramdisk, so contained yep in the boot.img. But there are few mount options, some may need to be activated in case of unstability
Click to expand...
Click to collapse
Thank you for your reply. Perhaps the best thing is to create a flashable zip to be run after ROM flash to install fstab.manta?
Also, FWIW, here's some sed commands to update your updater-script per the instructions in the OP:
Code:
sed -i 's/^mount("ext4".*\/system*/run_program\("\/sbin\/busybox", "mount", "\/system"); /' updater-script
sed -i 's/^format("ext4".*\/system*/run_program("\/sbin\/mkfs.f2fs", "\/dev\/block\/platform\/dw_mmc.0\/by-name\/system"); /' updater-script
b1g.p0ppa said:
Thank you for your reply. Perhaps the best thing is to create a flashable zip to be run after ROM flash to install fstab.manta?
Also, FWIW, here's some sed commands to update your updater-script per the instructions in the OP:
Code:
sed -i 's/^mount("ext4".*\/system*/run_program\("\/sbin\/busybox", "mount", "\/system"); /' updater-script
sed -i 's/^format("ext4".*\/system*/run_program("\/sbin\/mkfs.f2fs", "\/dev\/block\/platform\/dw_mmc.0\/by-name\/system"); /' updater-script
Click to expand...
Click to collapse
Hello I just added some executable java program that convert a rom script to be f2fs compatible.
Also, having less issues with lastest kernel build but I tried it on new roms. ROMs fully working so far and stable : liquidSmooth 3.1 & slimkat 4.9.
Before I was using CM11 M7 it was working but was encoutering some freezes/reboot- especially at the beginning - but then it was ok. I can not tell if this is still happening with cm rom.
I haven't test the pc program on windows if anyone could say it does work, thx!
EDIT : thank to @dust40; he told me the tool was working on Windows as well! Should work on mac too then i guess.
Well I successfully converted /data and cache to F2FS. I made the effort way more work than it had to be by preserving my data. WAY more work. Booted in recovery mode I tar'ed up /data to a exfat formatted usb-otg drive then ran the conversion. Ran into 'value too large for defined data type' errors from tar when extracting. I ended up extracting the tarball onto my workstation, deleting the file it crapped out on, tar'ing it all back up to the usb drive and re-running the extraction. Had to repeat this procedure a good dozen times and I ended up with messed up permissions on all my data. I don't suggest anyone try this because it would have taken much less time to just set up a fresh installation, but if you do here's some good commands to fix up permissions (TWRP's fix permissions command doesn't fix what I messed up). I found these commands at http://forum.xda-developers.com/showthread.php?t=2222297 but had to adjust them a little bit. The chown command has to be run when booted to android, the chmod commands can be run from either recovery or android. Reboot immediately after running. Best to run through adb shell than in an app on the tablet.
Code:
find /data/media/ -exec chown 1023,1023 {} \;
find /data/media/ -type d -exec chmod 775 {} \;
find /data/media/ -type f -exec chmod 664 {} \;
@Khaon, can you ask ktoonsez to compile 4.4.4 versions of the kernels? Latest OmniROM update for manta is 4.4.4 but will not boot with this kernel. And obviously I cannot run any other kernel as none others support F2FS. Thanks in advance! And thanks for putting this thread together. Without your good instructions I probably wouldn't have had the guts to convert this early.
One last thing, I can report that OmniROM works perfectly with /data and cache formatted as F2FS (once permissions are set right!). And since I preserved my data I have an apples to apples comparison of performance and it is noticeably faster and smoother!
kt-recovery stuck at splash screen
Hi,
I had originally posted this in ktmanta thread:
I have been running F2FS on cache+data for past 2 weeks and it works very well (still some strange system freezes, i will need to investigate further on that).
However, now, when i boot to recovery, screen stays stuck at splash screen showing "f2fs enabled by Ktoonsez..", and does not go anywhere else. i can still flash using adb, but clearly, it's less than convenient, and using twrp 2.7.10 is not an option, as it can't mount f2fs sdcard properly anyways.
with adb shell, i can see that all is mounted properly, f2fs or not, but obviously, it's less than ideal... i have attached /cache/recovery/log file .
Note: i connect usb cable 2 to 3 mn after waiting for splash screen to go away, and i pulled recovery log at that moment. this was also the only way to get out of this stuck mode, via 'adb reboot' command.
i also tried to re-flash recovery via fastboot, but that made no difference.
any help appreciated !
@ericp2 @b1g.p0ppa
Can you just try this recovery and tell me if you are running any issue? This is just last official twrp 2.7.1.0.
Just formated and installed a new ROM, ran into no issue, guess should be the same for you .
b1g.p0ppa said:
Well I successfully converted /data and cache to F2FS. I made the effort way more work than it had to be by preserving my data. WAY more work. Booted in recovery mode I tar'ed up /data to a exfat formatted usb-otg drive then ran the conversion. Ran into 'value too large for defined data type' errors from tar when extracting. I ended up extracting the tarball onto my workstation, deleting the file it crapped out on, tar'ing it all back up to the usb drive and re-running the extraction. Had to repeat this procedure a good dozen times and I ended up with messed up permissions on all my data. I don't suggest anyone try this because it would have taken much less time to just set up a fresh installation, but if you do here's some good commands to fix up permissions (TWRP's fix permissions command doesn't fix what I messed up). I found these commands at http://forum.xda-developers.com/showthread.php?t=2222297 but had to adjust them a little bit. The chown command has to be run when booted to android, the chmod commands can be run from either recovery or android. Reboot immediately after running. Best to run through adb shell than in an app on the tablet.
Code:
find /data/media/ -exec chown 1023,1023 {} \;
find /data/media/ -type d -exec chmod 775 {} \;
find /data/media/ -type f -exec chmod 664 {} \;
One last thing, I can report that OmniROM works perfectly with /data and cache formatted as F2FS (once permissions are set right!). And since I preserved my data I have an apples to apples comparison of performance and it is noticeably faster and smoother!
Click to expand...
Click to collapse
Glad you like the kernel running this, if I understood correctly, you wanted to back up the internal storage( so /data/media/0) and your apk folder to an exfat usb drive you mounted with otg? If the fs of this one was exfat that is probably the cause of your issues, I am not even sure our tablet nativly supports exfat( isn't a samsung fs that allows 32GB ++ partition size?). Lastest Omni kernel is booting I assume?
Khaon said:
@ericp2 @b1g.p0ppa
Can you just try this recovery and tell me if you are running any issue? This is just last official twrp 2.7.1.0.
Just formated and installed a new ROM, ran into no issue, guess should be the same for you .
Click to expand...
Click to collapse
Issue fixed. this version of TWRP starts correctly, and f2fs formatted sdcard can be listed, so i can again flash CM updates.
many thanks!

[E610/E612][Kernel 3.4.108][STABLE][4.4.x/5.1.x][UBERTC 5.2]LukoSius Kernel r16.1

"LukoSius Kernel"(LK) is Custom Kernel for CM/AOSP Based Roms!​
Just a statement regarding kernel source: The Kernel Source is of course covered under GPL version 2. Free software does NOT mean no work or time was spent working on it. I have donated a large sum of my free time. If you use my modified kernel source in parts or in its entirety, I kindly ask you mention its origins and to send me a github pull request or PM whenever you find bugs or think you can help improve my kernel further. This way the entire community will truly benefit from the spirit of open source. Thank you !
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
THIS KERNEL is BASED ON TeamHackLG Source Code. So it is COMPATIBLE WITH ALL Kitkat/Lollipop Builds.
Kernel Features:
Based on 3.4.108kernel version
block updated to r7v7
Built with powerful 5.2 ubertc 2015-10-01
Google Snappy Algorithm
Optimized build flags
Added /dev/frandom support
Updated random
More governor
Full lollipop support
Allowed forced fast charge! hack.
Disable Gentle Fair Sleepers
Optimized SLUB memory allocator
Smooth optizimation
Optimized Parameters from L Speed
Dynamic FSYNC
Improve 3x faster integer sqrt.
CK3 tweaks
zCache
fixed few leaks
BLN (BackLight Notification) support
Async support
Disabled Gentle Fair Sleepers
Optimized ARM RWSEM algorithm
fs/dyn_sync control
updated ion
Compiled with -O2 flags and hardware neon-vfpv4 FPU enabled.
File systems support: Ext2/3/4, FAT32, CIFS, USB OTG.
Support F2FS filesystem!
Support EXFAT filesystem!
and lots off more just check github...
Downloads:
Click here!
Here's a step by step instruction to install this kernel:
1. download the above file (via phone directly or to a PC)
2. copy the downloaded zip file to /sdcard/download/
3. Open ROM Manager and select "Reboot into Recovery" and select "OK"
3.*Or use any other method to get into recovery.
4. Once in recovery, select "wipe cache partition", select "Yes", then select "advanced", then select "Wipe Dalvik Cache", then select "Yes" again. Once finished, click the back button to go back to the main recovery menu. On that menu, select "Install Zip From SDCad", then select "Choose zip from SDCard", then go to /sdcard/download and select the downloaded zip file and let it run its script.
5. Once the script is done, select "reboot system now"
Note: After FLASHING, the first reboot may take longer than usual, please be patient... After the first reboot, it may lag during initial load (let everything finish loading). Once everything is loaded and phone is ready for use, reboot the phone a 2nd time and the lag will be gone and everything should be silky smooth...
INFO FOR USER!!! READ ME FIRST:
*About force fast charge. not all devices/models support that HACK.
If it's NOT WORKING FOR YOU. no need to complain. it's HACK. not LG feature.
Change logs:
r1:
Code:
complete rebuild from lean kernel
r2:
Code:
*fixed wifi
*added bln
*and other stuff check github
r3:
Code:
*Merged fixes to WIFI driver.
*merged fixes for BLN .
*Merged updates to PM configs from aurora.
*Major code cleanup for msm cpufreq driver and cpu code. works great and in sync with android 5.1.
*Merged updates to USB driver.
*Merged updates to MMC driver.
*using kernel mode neon.
*Compiled and used new UBERTC 4.9 kernel build Toolchain! very advanced and powerful tool.
*Removed logs from camera when it's active. no one care..
*Updated Kernel MSM HotPlug.
*Enabled auto grouping of system tasks. to boost performance.
*Merged NET fixes from aurora.
*fixed frandom support.
*merged Always set noatime no diratime on all partitions
*using msm_ion instead of ion.
*Set 1024 kbytes as Max Readahead.
*merged stuff needed for Lp ril.
*tuned swapness.
*enabled Optimized ARM RWSEM algorithm.
*Merged update to netfilter code.
*merged some fixes for audio.
*Improved handling for bad sd cards.
*removed logs that I don't need.
*merged updates to cpufreq, mm, block and etc.
*merged Dynamic File Sync .
*Merged Fixes for msm_fb
* tuned smartassH3 awake freq.
*and other good stuff check github.
r4:
Code:
*Merged samsung patch to: WIFI, TIME, BT, AUDIT, USB, NET
*Merged more Selinux and NET updates from aurora 3.7.y kernel.
*Removed some logs
*support for e612/p700/p705
r5:
Code:
Revert "debug: remove: mach-msm remove smd debugging"
c9cea08 Revert "msm: mdp.c fix deadlock which causes blue screen"
7165693 Revert "cpufreq: Add cpu-boost driver"
78758c4 Revert "cpufreq: Add a sync limit to cpu-boost"
e6ddad9 Revert "cpufreq: Add Input Boost feature to the cpu-boost driver"
6b29ad7 Revert "cpufreq: Disable cpu-boost by default"
5ce0d31 update defconfigs
248c037 USB On-The-Go (OTG) Support!
a6ad7f2 clean up
2879757 mmc: core: Sorry change log is 5000+ commits so its nonsense to post it here
commits are:
3.4.5 --> 3.4.108enable eMMC5.0 card detection
6e1bbc9 block: row: Fix crash when adding a new field in bio struct
92681f0 mmc: core: invoke low power mode if card is not present
3c72844 mmc: core: enhance card removal judgement for slow removal
a474d8a net: wireless: Increase scan entry expiration to fit new scan time
b889d25 msm_fb: Fix RGB pipe offset issue
8bb49ec msm: mdp.c fix deadlock which causes blue screen
f4469e6 msm_fb: Enable MDP4 IGC LUT
8e27684 msm_fb: Fix GC & IGC LUT
b7e9f43 f2fs: Sync F2FS to Jaegeuk's linux-3.4 branch
ac69274 fs: f2fs: Initial import from https://kernel.googlesource.com
67dc2dd rwsem-spinlock: Implement writer lock-stealing for better scalability
55c11ba random: remove warning
0a2b123 random: prevent add_input from doing anything
2049b94 kernel: alarm: :fix the BUG that device automatically powers on
a068e3c staging: android: lowmemorykiller: Change default debug_level to 1
8844dd9 Input: Send events one packet at a time
6000a46 cpufreq: ondemand: Fix kernel warning in cpufreq_governor_dbs
675084f switch do_fsync() to fget_light()
56a90b4 dynamic fsync: favor true case since most will be using this feature
cc43be2 Bluetooth: Replace sprintf with snprintf
6f47a20 ARM: 7809/1: perf: fix event validation for software group leaders It is
087e073 sock_diag: Fix out-of-bounds access to sock_diag_handlers[]
cd2d80e SELinux: Reduce overhead of mls_level_isvalid() function call
af74f82 Staging: zram: Fix memory leak by refcount mismatch
ede832d Staging: zram: Fix access of NULL pointer
e066a76 module: fix out-by-one error in kallsyms
7dbe01c module: taint kernel when lve module is loaded
572d600 hashtable: introduce a small and naive hashtable
23855c2 block: recursive merge requests
9210752 block,elevator: use new hashtable implementation
d579062 msm: Allow lowmem to be non contiguous and mixed.
1b5c927 swap: allow swap readahead to be merged
f7ae10d fs/dcache.c: adaptive vfs_cache_pressure on suspend / resume
6f2a4ca cpufreq: Disable cpu-boost by default
1be3111 cpufreq: Add Input Boost feature to the cpu-boost driver
83afdf7 cpufreq: Add a sync limit to cpu-boost
823d83c cpufreq: Add cpu-boost driver
c8d0de6 debug: remove: arm unwind: remove logspam while in debug mode
ad356fc debug: remove: remove some dmesg logspam from Linux mainline 3.4 fs
02dd1cf debug: remove: tty makefile remove smux_debug
2453087 debug: remove: mach-msm remove smd debugging
r6:
Code:
Revert "touchscreen: Bring in DoubleTap2Wake
b271c93 touchscreen: Bring in DoubleTap2Wake
9afeac1 makefile fixes
61d4f6d include: Add support for GCC 5.0 and 6.0
7304fbc kernel: add support for gcc 5
f71924c block: Reserve only one queue tag for sync IO if only 3 tags are availab
9a6a8bc mmc/core: disable crc to improve performance
ab968dc fs: Add exFat support version 1.2.9 (kitkat source drop)
578da25 fs: Add exFat support version 1.2.7 (Samsung OSRC)
0fd613a logger: Add sys fs kernel interface to configure Android logger
1807fb3 printk: Add sys kernel interface to configure linux printk logging
dec9c78 Update setlocalversion
6fab90d build: Fix some warnings with GCC 4.9
418613c Fix gcc-4.9.0 miscompilation of load_balance() in scheduler
b1a4066 sched: Fix memory leakage in build_sched_groups()
c09db71 fs/namei.c: fix potential memory leak in path_lookupat
f8f64cc Bluetooth: fix possible info leak in bt_sock_recvmsg()
9cea22c mm: frontswap: add frontswap header file
c744db9 ext4: prevent kernel panic in case of uninitialized jinode
044b162 add optimisation
r7:
Code:
[M4] defconfigs Set selinux permissive
496e7ba selinux: Report permissive mode in avc: denied messages.
d10bf86 Revert "Input: Send events one packet at a time"
459e698 Revert "Revert "Revert "LZ4 Compressor module"""
97fd873 Revert "Revert "Revert "enable lz4"""
332b613 Revert "add changelog"
r8:
Code:
e95b886 intelliactive: rework input register/unregister
0f2ac0a intelliactive: make touch boost interface generic
fbe9004 intelliactive: add upstream patches
d3fc952 Revert "net: ipv6: allow choosing optimistic addresses with use_optid3fc952 Revert "net: ipv6: allow choosing optimistic addresses with use_opti
mistic"
7ee2a4f regulator: add notifier event for regulator enable
a70117e pstore: selinux: add security in-core xattr support for pstore and debugfs
094bf8c netfilter: IDLETIMER: fix invalid deference of timer
13d89a7 net: ipv6: allow choosing optimistic addresses with use_optimistic
57fb721 HID: input: generic hidinput_input_event handler
58aca06 mm: fix prctl_set_vma_anon_name
5010091 staging: android: ashmem: add missing include
69a3425 mnt: Prevent pivot_root from creating a loop in the mount tree
551e17e mnt: Only change user settable mount flags in remount
9208f57 netfilter: conntrack: disable generic tracking for known protocols
7aec8e1 net: llc: use correct size for sysctl timeout entries
edefed8 ipv4: Missing sk_nulls_node_init() in ping_unhash().
ac6eb20 update defconfigs
87497aa Simple IO scheduler plus
fb6c5d3 Zen IO scheduler
41da2eb IntelliActive Governor
r9:
Code:
suspend: Return error when pending wakeup source is found.
subsystem: CPU FREQUENCY DRIVERS- Set cpu_load calculation on current frequency
msm: vidc: cache-flush encoder output buffers after alloc
msm: vidc: Fix res_trk_get_mem_type when vidc is not using ION memory
video: msm: Configure blend before DMA for LCDC panel too
video: msm: Clear previous histogram data on next startup
video: msm: Check for null in LCDC IRQ handler
video: msm: Tone down logging
Revert "Revert "[M4] defconfigs Set selinux permissive""
Revert "cpufreq: Add bacon governor"
Revert "enable bacon gov"
Revert "SELinux: Fix kernel BUG on empty security contexts."
selinux: fix inode security list corruption
SELinux: include definition of new capabilities
Add google snappy
SELinux: Fix kernel BUG on empty security contexts.
netlink: fix possible spoofing from non-root processes
msm: msm_watchdog_v2: Increase watchdog bark timeout during panic
fix false disconnect due to a signal sent to the reading process
kernel: Allow exfat module load without hassle
mdss: Notify userspace of changes to blank status
enable bacon gov
cpufreq: Add bacon governor
r10:
Code:
4631b21 can: dev: fix crtlmode_supported check
ba5a19c ftrace/jprobes/x86: Fix conflict between jprobes and function graph trac
4ce4899 gpio: fix memory and reference leaks in gpiochip_add error path
8f8dab3 mm: fix corner case in anon_vma endless growing prevention
833e188 mm: Don't count the stack guard page towards RLIMIT_STACK
25fb31a USB: console: fix potential use after free
9d01c86 gpio: sysfs: fix gpio attribute-creation race
9a7b6a0 gpio: sysfs: fix gpio device-attribute leak
6a94774 gpiolib: Refactor gpio_export
12b86b8 gpio: sysfs: fix gpio-chip device-attribute leak
0bb91f0 driver core: Introduce device_create_groups
dca27e8 sysfs.h: add ATTRIBUTE_GROUPS() macro
84f6fd9 scripts/recordmcount.pl: There is no -m32 gcc option on Super-H anymore
036c126 regulator: core: fix race condition in regulator_put()
de4e829 nl80211: fix per-station group key get/del and memory leak
890cdf8 net: sctp: fix slab corruption from use after free on INIT collisions
d7e482c ipv6: replacing a rt6_info needs to purge possible propagated rt6_infos
a516aa3 vm: add VM_FAULT_SIGSEGV handling support
a962e27 vm: make stack guard page errors return VM_FAULT_SIGSEGV rather than SIG
4739d0f net: sctp: fix panic on duplicate ASCONF chunks
7dc4ea1 net: sctp: fix skb_over_panic when receiving malformed ASCONF chunks
4e9e0bb gpio: sysfs: fix memory leak in gpiod_export_link
004662f gpio: sysfs: fix memory leak in gpiod_sysfs_set_active_low
0aa2926 net: sctp: fix passing wrong parameter header to param_type2af in sctp_p
0efea9a net: sctp: fix NULL pointer dereference in af->from_addr_param on malfor
8b6c256 ipvs: rerouting to local clients is not needed anymore
df3ff4c VFS: Make more complete truncate operation available to CacheFiles
0a5162e SELinux: use deletion-safe iterator to free list
e79c4a2 SELinux: per-command whitelisting of ioctls
18542a6 security: lsm_audit: add ioctl specific auditing
34004e0 SELinux: Update policy version to support constraints info
f70e327 SELinux: add default_type statements
ce5b815 SELinux: allow default source/target selectors for user/role/range
39fd776 selinux/nlmsg: add XFRM_MSG_MIGRATE
9cf9161 selinux/nlmsg: add XFRM_MSG_REPORT
ce5b815 SELinux: allow default source/target selectors for user/role/range
39fd776 selinux/nlmsg: add XFRM_MSG_MIGRATE
9cf9161 selinux/nlmsg: add XFRM_MSG_REPORT
9171c8b selinux/nlmsg: add XFRM_MSG_[NEW|GET]SADINFO
e67f864 selinux/nlmsg: add XFRM_MSG_GETSPDINFO
1c99172 selinux/nlmsg: add XFRM_MSG_NEWSPDINFO
d11fc4b gpu: ion: Modify ION_NUM_HEAPS to reflect actual max
43b373e ARM: 7493/1: use generic unaligned.h
6d1a336 msm: display: Allow MDP clocks to use Max clock.
2c6ca73 Revert "kcal"
ec81c1d kcal
ac85522 USB: android: Fix memory leak in mass_storage_function_init()
620fe85 selinux: add SOCK_DIAG_BY_FAMILY to the list of netlink message types
7e0d390 Bluetooth: Fix invalid length check in l2cap_information_rsp()
755946f Bluetooth: Fix missing length checks for L2CAP signalling PDUs
fab89f3 Bluetooth: Fix crash in l2cap_build_cmd() with small MTU
10ec71b Bluetooth: Cancel power_on and power_off work
67477fa Bluetooth: Prevent Bluetooth L2CAP Remote Heap Memory Corruption
463a799 sched: Implement smarter wake-affine logic
9ec13bc Bluetooth: ath3k: workaround the compatibility issue with xHCI controlle
4ad5428 Bluetooth: Fix issue with USB suspend in btusb driver
c28a522 Bluetooth: Add support for Mediatek Bluetooth device [0e8d:763f]
345136e Bluetooth: Add support for Sony Vaio T-Series
709760f Bluetooth: Add support for Foxconn/Hon Hai AR5BBU22 0489:E03C
307e256 Bluetooth: Add support for Dell[QCA 0cf3:0036]
5fecbd7 Bluetooth: Add support for Apple vendor-specific devices
8ff83f3 Audit: Disable Audit
a33dec4 staging: android: logger: Improve logging
30296ad staging: android: logger: fixed checkpatch.pl warnings.
143d29a 0u support
r11:
Code:
Sorry change log don"t fit into tread
http://pastebin.com/Jm5a1hmg
r12:
Code:
Sorry change log is 5000+ commits so its nonsense to post it here
commits are:
3.4.5 --> 3.4.108
r13:
Code:
Lots of stability fixes and reverted back to 3.4.104 with aditional changes
r14:
Code:
built with Linaro GCC 4.9 Toolchain for generic Cortex-A cpu
updates and clean ups
Update build.sh
colorize more and fix output
fix build
add myself
clean up
edit zip output and improve script
new cpu check
Colorize and add text parameters
Revert "update build script"
m4 defconfig:enable zCache
arch/arm/mach-msm/Kconfig: decouple QCACHE from MSM board selection
zcache-main.c: fix compilation error due to API update
staging: zcache: fix cleancache race condition with shrinker
staging: zcache: fix spelling of comment
staging: zcache: cleanup the code between tmem_obj_init and tmem_obj_find
staging: zcache: introduce get_zcache_client
staging: zcache: cleanup zcache_do_preload and zcache_put_page
staging: zcache: optimize zcache_do_preload
staging: zcache: cleanup zbud_init
staging: zcache: mark zbud_init/zcache_comp_init as __init
staging: zcache: remove unnecessary config option dependence
staging: zcache: fix a compile warning
staging: zcache: fix refcount leak
staging: zcache: don't limit number of pools per client
update build script
r15:
Code:
reverted to 3.4.0 for stability
c54ecef Revert "kgsl: disable tracing and postmortem Dont DUMP in my House!"
0196a10 softirq: reduce latencies
45996f2 net: loopback: set default mtu to 64K
741ec2c jbd2: optimize jbd2_journal_force_commit
c6255f5 readahead: make context readahead more conservative
4f1f30c ARM: smp: Wait just 1 second for other CPU to halt
0fc3e9d ext4: fix memory leak in xattr
0fc3e9d ext4: fix memory leak in xattr
a473645 msm: kgsl: Fix mem leak when page allocation fails
df28d42 kgsl: disable tracing and postmortem Dont DUMP in my House!
cc51887 kgsl: z180 - disable tracing and postmortem
b18fa80 remove empty folder
42f54ca m4/u0 update defconfigs
fb66b3a block: Add bio_for_each_segment_all()
dbb2266 sysctl: tweak ip enum
972ef40 audit: wait_for_auditd() should use TASK_UNINTERRUPTIBLE
69e7c92 audit: fix info leak in AUDIT_GET requests
da09846 audit: use nlmsg_len() to get message payload length
96a7c4b audit: printk USER_AVC messages when audit isn't enabled
d56fa7a eCryptfs: Remove buggy and unnecessary write in file name decode routine
f76a0ce Revert "KGSL: Add a simple GPU governor for Adreno xxx GPU series"
8472223 Revert "workqueue: don't use WQ_HIGHPRI for unbound workqueues"
0fd6db0 The Ultra Kernel Samepage Merging feature Ultra KSM. Copyright (C) 2011-2012 Nai Xia
241dc20 KGSL: Add a simple GPU governor for Adreno xxx GPU series
6c2f680 workqueue: don't use WQ_HIGHPRI for unbound workqueues
r16:
Code:
Built with powerful 5.2 ubertc 2015-10-01
620122f up for v16
1fce2b7 tweak values 2
82efe04 tweak values
be1c752 add graphite flags
c1a4b23 remove l7
438e557 lowered latency
3cff57e init: scream bloody murder if interrupts are enabled too early
a4a0e59 security: SELinux: Disable useless message
9fd7195 Revert "disable lge panic handling (demigod)"
7648cf0 disable lge panic handling (demigod)
b3cb7d4 Merge pull request #2 from aidasaidas75/cm-12.1-exp
c54ecef Revert "kgsl: disable tracing and postmortem Dont DUMP in my House!"
r16.1:
Code:
3.4.0>>3.4.108
BUGS:
None at the moment
Post reports, i will fix.
Standard disclaimer:
By installing this kernel YOU will take full responsibility for any damage to your device!
Hardware or software! no one forcing you to install it.
So please do not blame me if you read wrong! or didn't read at all the instructions that i have written for YOU.
But you can feel SAFE to use it, as 2-3 testers test every release on their phone!
Before I publish it for download.
SOURCE CODE
Click here!
Special thanks to:
TeamHackLG(PecanCM) - For good base kernel.
Jobloxx for kernel logo.
If you find this Kernel useful, feel free to hit the [Thanks] button below
Excellent kernel good work !
For what android?
Sent from my e-tab4 using XDA Free mobile app
fbli_41 said:
For what android?
Sent from my e-tab4 using XDA Free mobile app
Click to expand...
Click to collapse
5.0 and 4.4
domenicogalati45 said:
5.0 and 4.4
Click to expand...
Click to collapse
Deleted.
Thanks anyway...
aidasaidas75 said:
leanKernel is not for everyone.
Click to expand...
Click to collapse
Convince me to move me to this kernel and leave skernel
Any e612 build ? (for deep sleep)
Works on e612?
i think it will work,but it can have problems with deepsleep,not sure.anyway its a great work.
Bully! It looks like skernel has got a serious competition
junephel said:
Bully! It looks like skernel has got a serious competition
Click to expand...
Click to collapse
This is using SKernel sources xD
Lets watch!
Come soon @skyinfo!
4Freedom said:
Convince me to move me to this kernel and leave skernel
Click to expand...
Click to collapse
I'd stick to SKernel
Sent from my IdeaTab A2107A-F using XDA Free mobile app
is it better than skernel? what about screen freezes?
Sent from my LG-E610 using XDA Free mobile app
droidxx9 said:
This is using SKernel sources xD
Lets watch!
Come soon @skyinfo!
I'd stick to SKernel
Sent from my IdeaTab A2107A-F using XDA Free mobile app
Click to expand...
Click to collapse
Well for now, I'll stick around with skernel since it is more optimized and stabilized with the ROM I am using now.
Moreover, the one with BLN and tap2unlock support is far more convincing. And I'll definitely stick to the one whichever adds it.
junephel said:
Well for now, I'll stick around with skernel since it is more optimized and stabilized with the ROM I am using now.
Moreover, the one with BLN and tap2unlock support is far more convincing. And I'll definitely stick to the one whichever adds it.
Click to expand...
Click to collapse
actually mine is more optimized but nvm.. maybe you mean doubletap2wake?
new version is out check op
Can't wait to try this on CarbonROM, but preparing for ice storm.
aidasaidas75 said:
actually mine is more optimized but nvm.. maybe you mean doubletap2wake?
Click to expand...
Click to collapse
No. I do mean tap2unlock. http://forum.xda-developers.com/showthread.php?t=2965344
Is it possible for you to add this patch bro? that'd be awesome.
Double tap to wake would be interesting as well @aidasaidas75 is it possible? And, can u update Carbon ROM? Its awesome but outdated..
Sent from my IdeaTab A2107A-F using XDA Free mobile app
Want to install but no E612 version
---------- Post added at 02:48 PM ---------- Previous post was at 02:45 PM ----------
Pico has BLN support
http://forum.xda-developers.com/showthread.php?p=52754606
Hi I tried this kernel, it's good!
Will report after observing for more time..
Possible BLN and Tap2Wake?
Sent from my IdeaTab A2107A-F using XDA Free mobile app

[ROM][LineageOS][Android 9.0.0r34][OMS]TugaPower™ 13.0

Build 24/03/2019 #OP5
TugaPower ROM G+
Telegram Group: https://t.me/TugaPowerOP5
#TugaPower PIE 9.0.0_r34 13.0 LineageOS #laos #OnePlus
If you have some spare bucks consider donating, it will be really appreciated: https://www.paypal.me/TugaPower
If you are on other base rom, best practice is to factory reset prior to flash rom and new gapps.
After this steps if rom does not boot, probably you are encrypted, remove encryption and repeat the steps.
If after removing encryption rom still does not boot, make a factory reset again after flashing rom and gapps, then all will be fine.
Also be sure you are using proper firmware.
Relative to gapps, the advised ones is nano package for PIE ( ARM64 ):
Replaced built in OTA by OTA Updates app ( https://github.com/MatthewBooth/OTAUpdates )
OTA updates supported
Browser removed and replaced by latest TugaBrowser ( built in OTA for the Browser ) ( blocks ads and protect privacy)
TugaBrowser -> http://forum.xda-developers.com/android/apps-games/app-tugabrowser-t3472457
Support out of the box to microG GmsCore ( http://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616 )
No more need to make microG system app
PoGO: Gonna catch then all
Powered by Magisk root stable version
Three fingers screenshot
SafetyNet changes to pass
WireGuard Support
Expanded volume rocker ( thanks to @agentfabulous )
Direct unlock with face unlock enabled, lock screen options
What does not works:
Let me know to add to secod post
Changelog: TugaPower P 13.0
Added expanded volume rocker (thanks to AgentFabulous)
Added option to disable the direct unlock with face unlock enabled
Project name: proprietary_vendor_oneplus
msm8998: add missing blobs
Project name: android_kernel_oneplus_msm8998
tri-state-key: send proper input when updating keycodes from userspace
Revert "tri_state_key: import driver from msm8996"
tri_state_key: import driver from msm8996
Project name: android_device_oneplus_msm8998-common
msm8998-common: set project_name prop via init
msm8998-common: Add missing blobs
msm8998-common: add missing libmm-omxcore
msm8998-common: set perms on tri-state-key nodes
Project name: android_frameworks_base
Prevent NFE in SystemUI when parsing invalid int
Prevent NFE in SystemUI when parsing invalid int (2)
Prevent NFE in SystemUI when parsing invalid int
SystemUI: Fix FORCE_SHOW_NAVBAR handling on user switch
Clean up screenshot if nothing selected
IMMS should preserve selected IME upon boot
Add bluetooth icon.
Project name: android_frameworks_av
Request to reset effect buffer in clearInputBuffer
Revert "effects: fix volume burst on pause/resume with AudioFX"
Project name: android_frameworks_native
Respect source crop when capturing layers.
libgui: add docs to geometry states and captureScreen
surfaceflinger: fix captureScreen for landscape LCM
surfaceflinger: improve RenderArea needsFiltering
surfaceflinger: respect install orientation in DisplayRenderArea
surfaceflinger: add install orientation to DisplayDevice
surfaceflinger: make mPrimaryDisplayOrientation static
surfaceflinger: clean up captureScreen
surfaceflinger: silence some RenderArea errors
surfaceflinger: fix race conditions in captureScreen
surfaceflinger: remove ISurfaceComposer.h from RenderArea
surfaceflinger: reorder width and height in RenderArea ctor
surfaceflinger: documents RenderArea
Revert "Revert screenshot changes to exclude black cutout"
Revert "APP may display abnormally in landscape LCM"
Project name: android_vendor_lineage
Add APN ION Mobile & APN for Roaming
config: Remove duplicate keyguard.no_require_sim prop
overlay: Move managed profiles overlay to frameworks/base
kernel: Use build-image-kernel-modules instead of copying it
kernel: Use a macro for kernel build targets
kernel: Detect kernel module usage better
kernel: Move kernel module dir cleanup/creation to module install target
kernel: Move full kernel build guard flag below all targets
kernel: Add more threads to kernel build process
Project name: android_packages_apps_Snap
Snap: Fix picture size preference
Project name: android_packages_apps_Trebuchet
Lint fix: Invalid vector path in horizontal_ellipsis
Project name: android_packages_apps_Bluetooth
Update Bluetooth to use adaptive icon.
Project name: android_packages_apps_Nfc
NfcNci: make T3T/Nfc-F HCE optional
Project name: android_hardware_qcom_display
hwc: Handle validateAndSet failures in AD prepare call
Project name: android_hardware_qcom_display
display-hals: Allow building libdisplayconfig
Project name: android_hardware_qcom_audio
msm8960: Add SND_DEVICE_OUT_VOICE_MUSIC_TX
Project name: android_system_core
Fix path for treble default prop
storaged: change log level for health HAL calls
Project name: android_system_vold
increase timeout for waiting on block device
Thanks all for the support.
Download: https://tugapower.net/TP/OP5/PIE/TugaPowerP13_OP5.zip
MD5: 6872d0b9526c59fe125cb253bf5d6d72
Required firmware: https://tugapower.net/TP/OP5/PIE/FirmwarePIE/firmware_9.0.4_OP5.zip
Please dont mirror for now the roms zips, thanks
Sources :
Rom:- https://github.com/LineageOS
Device:- https://github.com/LineageOS/android_device_oneplus_cheeseburger
Kernel:- https://github.com/LineageOS/android_kernel_oneplus_msm8998
Reserved
1st
Added to the OnePlus 5 Index Thread here.
Build 17/02/2018 #OP5
TugaPower ROM G+
Telegram Group: https://t.me/TugaPowerOP5
#TugaPower PIE 9.0.0_r31 10.0 LineageOS #laos #OnePlus
If you have some spare bucks consider donating, it will be really appreciated: https://www.paypal.me/TugaPower
If you are on other base rom, best practice is to factory reset prior to flash rom and new gapps.
After this steps if rom does not boot, probably you are encrypted, remove encryption and repeat the steps.
If after removing encryption rom still does not boot, make a factory reset again after flashing rom and gapps, then all will be fine.
Also be sure you are using proper firmware.
Relative to gapps, the advised ones is nano package for PIE ( ARM64 ):
Replaced built in OTA by OTA Updates app ( https://github.com/MatthewBooth/OTAUpdates )
OTA updates supported
Browser removed and replaced by latest TugaBrowser ( built in OTA for the Browser ) ( blocks ads and protect privacy)
TugaBrowser -> http://forum.xda-developers.com/android/apps-games/app-tugabrowser-t3472457
Support out of the box to microG GmsCore ( http://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616 )
No more need to make microG system app
PoGO: Gonna catch then all
Powered by Magisk root stable version
Three fingers screenshot
WireGuard Support
What does not works:
Let me know to add to secod post
Changelog: TugaPower P 10.0
Magisk included is now stable version
Project name: proprietary_vendor_oneplus
msm8998-common: add missing blobs
Project name: android_device_oneplus_msm8998-common
msm8998-common: add missing blobs
msm8998-common: selinux: fix some denials
Project name: android_packages_apps_SetupWizard
SUW: Change WizardManager activity default state to disabled
Project name: android_external_chromium-webview
Update x86/x64 Chromium Webviews to 71.0.3578.99
Project name: android_packages_apps_Settings
Settings: Add back summary_collapsed_preference_list for zh-rCN
Project name: android_packages_apps_LineageParts
parts: don't allow clock and network traffic to be enabled at the same time
StatusBarSettings: Hide network traffic settings if device has a notch
Project name: android_packages_services_Telephony
set config_enabled_lte to true by default
Project name: android_frameworks_av
effects: fix volume burst on pause/resume with AudioFX
Project name: android_frameworks_base
Informing app idle listeners on enabled state changes.
Fix for CTS testAllowWhileIdleJobInTempwhitelist
Null locale causing the VTS fail.
SettingsProvider: Allow accessing LineageSettings via settings command
Camera: Simplify code for Aux/Mono white and black lists
Camera: Force HAL1 for predefined package list.
SystemUI: Network Traffic [1/3]
SystemUI: Add Lineage statusbar item holder
fonts: Build different fonts.xml if EXCLUDE_SERIF_FONTS is true
Project name: android_device_qcom_sepolicy
sepolicy: Label vendor.camera.hal1.packagelist
Project name: android_device_lineage_sepolicy
Make backuptool permissive only in non user builds
Make sysinit permissive
lineage: Use set_prop() macro for setting adb tcp property
Project name: android_hardware_ril
Encode the Number of MNC Digits in CellIdentity
Project name: android_hardware_qcom_wlan
wcnss-service: Opt-in to disable copying WCNSS_qcom_cfg.ini to userdata
Project name: android_hardware_qcom_media
Revert "media: Avoid collision with FFMPEG plugin"
Project name: android_hardware_qcom_display
Make memtrack build with the VNDK.
Add missing includes.
libmemtrack: Add open method for apq8084.memtrack
display: Use generated kernel headers
hal: Added LOCAL_VENDOR_MODULE to set output path of the binaries
Use header lib instead of using global include path
Thanks all for the support.
Download: https://tugapower.net/TP/OP5/PIE/TugaPowerP10_OP5.zip
MD5: d44bee63f45eecdc0db9c8186e20d9eb
Required firmware: https://tugapower.net/TP/OP5/PIE/FirmwarePIE/firmware_9.0.3_oneplus5.zip
Please dont mirror for now the roms zips, thanks
Build 09/03/2019 #OP5
TugaPower ROM G+
Telegram Group: https://t.me/TugaPowerOP5
#TugaPower PIE 9.0.0_r34 12.0 LineageOS #laos #OnePlus
If you have some spare bucks consider donating, it will be really appreciated: https://www.paypal.me/TugaPower
If you are on other base rom, best practice is to factory reset prior to flash rom and new gapps.
After this steps if rom does not boot, probably you are encrypted, remove encryption and repeat the steps.
If after removing encryption rom still does not boot, make a factory reset again after flashing rom and gapps, then all will be fine.
Also be sure you are using proper firmware.
Relative to gapps, the advised ones is nano package for PIE ( ARM64 ):
Replaced built in OTA by OTA Updates app ( https://github.com/MatthewBooth/OTAUpdates )
OTA updates supported
Browser removed and replaced by latest TugaBrowser ( built in OTA for the Browser ) ( blocks ads and protect privacy)
TugaBrowser -> http://forum.xda-developers.com/android/apps-games/app-tugabrowser-t3472457
Support out of the box to microG GmsCore ( http://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616 )
No more need to make microG system app
PoGO: Gonna catch then all
Powered by Magisk root stable version
Three fingers screenshot
SafetyNet changes to pass
WireGuard Support
What does not works:
Let me know to add to secod post
Changelog: TugaPower P 12.0
Project name: proprietary_vendor_oneplus
msm8998-common: update blobs from 9.0.4
msm8998-common: add binhaxxed camera libs to fix front cam
Project name: android_kernel_oneplus_msm8998
block: Fix BFQ not being built
Project name: android_device_oneplus_msm8998-common
msm8998-common: update props for wfd
msm8998-common: pin camera blobs (front cam fix)
Project name: android_device_oneplus_cheeseburger
cheeseburger: require 9.0.4 firmware
Project name: android
5 March Security Patch
Project name: android_build_soong
Fix formatting
Project name: android_packages_apps_SetupWizard
SUW: Don't make google suw use material_light
SUW: Update wizard scripts for Pie
Project name: android_packages_apps_Settings
Update the timestamp used for time zone filtering
Project name: android_packages_services_Telephony
Stop generating ids in android namespace.
Fix resource warnings.
Project name: android_frameworks_base
Show mobile icons with left-to-right in order of slot index
Revert "SystemUI: Sort subscriptions in reversed order"
Project name: android_device_qcom_sepolicy
sepolicy: Fix video4linux "name" node labeling
sepolicy: Label persist.nfc.hci_network_reset_req
Project name: android_vendor_lineage
sensitive_pn: New United Kingdom helplines
Project name: android_hardware_qcom_display
display-hals: Expose c2d2.h even if TARGET_DISABLE_DISPLAY is set
Project name: android_system_extras_su
su: Add back mistakenly removed code
Thanks all for the support.
Download: https://tugapower.net/TP/OP5/PIE/TugaPowerP12_OP5.zip
MD5: 4593674d66a2040a50b11cbd6927f33d
Required firmware: https://tugapower.net/TP/OP5/PIE/FirmwarePIE/firmware_9.0.4_OP5.zip
Please dont mirror for now the roms zips, thanks
danieldmm said:
Build 09/03/2019 #OP5
TugaPower ROM G+
Telegram Group: https://t.me/TugaPowerOP5
#TugaPower PIE 9.0.0_r34 12.0 LineageOS #laos #OnePlus
If you have some spare bucks consider donating, it will be really appreciated: https://www.paypal.me/TugaPower
If you are on other base rom, best practice is to factory reset prior to flash rom and new gapps.
After this steps if rom does not boot, probably you are encrypted, remove encryption and repeat the steps.
If after removing encryption rom still does not boot, make a factory reset again after flashing rom and gapps, then all will be fine.
Also be sure you are using proper firmware.
Relative to gapps, the advised ones is nano package for PIE ( ARM64 ):
Replaced built in OTA by OTA Updates app ( https://github.com/MatthewBooth/OTAUpdates )
OTA updates supported
Browser removed and replaced by latest TugaBrowser ( built in OTA for the Browser ) ( blocks ads and protect privacy)
TugaBrowser -> http://forum.xda-developers.com/android/apps-games/app-tugabrowser-t3472457
Support out of the box to microG GmsCore ( http://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616 )
No more need to make microG system app
PoGO: Gonna catch then all
Powered by Magisk root stable version
Three fingers screenshot
SafetyNet changes to pass
WireGuard Support
What does not works:
Let me know to add to secod post
Changelog: TugaPower P 12.0
Project name: proprietary_vendor_oneplus
msm8998-common: update blobs from 9.0.4
msm8998-common: add binhaxxed camera libs to fix front cam
Project name: android_kernel_oneplus_msm8998
block: Fix BFQ not being built
Project name: android_device_oneplus_msm8998-common
msm8998-common: update props for wfd
msm8998-common: pin camera blobs (front cam fix)
Project name: android_device_oneplus_cheeseburger
cheeseburger: require 9.0.4 firmware
Project name: android
5 March Security Patch
Project name: android_build_soong
Fix formatting
Project name: android_packages_apps_SetupWizard
SUW: Don't make google suw use material_light
SUW: Update wizard scripts for Pie
Project name: android_packages_apps_Settings
Update the timestamp used for time zone filtering
Project name: android_packages_services_Telephony
Stop generating ids in android namespace.
Fix resource warnings.
Project name: android_frameworks_base
Show mobile icons with left-to-right in order of slot index
Revert "SystemUI: Sort subscriptions in reversed order"
Project name: android_device_qcom_sepolicy
sepolicy: Fix video4linux "name" node labeling
sepolicy: Label persist.nfc.hci_network_reset_req
Project name: android_vendor_lineage
sensitive_pn: New United Kingdom helplines
Project name: android_hardware_qcom_display
display-hals: Expose c2d2.h even if TARGET_DISABLE_DISPLAY is set
Project name: android_system_extras_su
su: Add back mistakenly removed code
Thanks all for the support.
Download: https://tugapower.net/TP/OP5/PIE/TugaPowerP12_OP5.zip
MD5: 4593674d66a2040a50b11cbd6927f33d
Required firmware: https://tugapower.net/TP/OP5/PIE/FirmwarePIE/firmware_9.0.4_OP5.zip
Please dont mirror for now the roms zips, thanks
Click to expand...
Click to collapse
Does rom force encryption after flash?
Build 24/03/2019 #OP5
TugaPower ROM G+
Telegram Group: https://t.me/TugaPowerOP5
#TugaPower PIE 9.0.0_r34 13.0 LineageOS #laos #OnePlus
If you have some spare bucks consider donating, it will be really appreciated: https://www.paypal.me/TugaPower
If you are on other base rom, best practice is to factory reset prior to flash rom and new gapps.
After this steps if rom does not boot, probably you are encrypted, remove encryption and repeat the steps.
If after removing encryption rom still does not boot, make a factory reset again after flashing rom and gapps, then all will be fine.
Also be sure you are using proper firmware.
Relative to gapps, the advised ones is nano package for PIE ( ARM64 ):
Replaced built in OTA by OTA Updates app ( https://github.com/MatthewBooth/OTAUpdates )
OTA updates supported
Browser removed and replaced by latest TugaBrowser ( built in OTA for the Browser ) ( blocks ads and protect privacy)
TugaBrowser -> http://forum.xda-developers.com/android/apps-games/app-tugabrowser-t3472457
Support out of the box to microG GmsCore ( http://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616 )
No more need to make microG system app
PoGO: Gonna catch then all
Powered by Magisk root stable version
Three fingers screenshot
SafetyNet changes to pass
WireGuard Support
Expanded volume rocker ( thanks to @agentfabulous )
Direct unlock with face unlock enabled, lock screen options
What does not works:
Let me know to add to secod post
Changelog: TugaPower P 13.0
Added expanded volume rocker (thanks to AgentFabulous)
Added option to disable the direct unlock with face unlock enabled
Project name: proprietary_vendor_oneplus
msm8998: add missing blobs
Project name: android_kernel_oneplus_msm8998
tri-state-key: send proper input when updating keycodes from userspace
Revert "tri_state_key: import driver from msm8996"
tri_state_key: import driver from msm8996
Project name: android_device_oneplus_msm8998-common
msm8998-common: set project_name prop via init
msm8998-common: Add missing blobs
msm8998-common: add missing libmm-omxcore
msm8998-common: set perms on tri-state-key nodes
Project name: android_frameworks_base
Prevent NFE in SystemUI when parsing invalid int
Prevent NFE in SystemUI when parsing invalid int (2)
Prevent NFE in SystemUI when parsing invalid int
SystemUI: Fix FORCE_SHOW_NAVBAR handling on user switch
Clean up screenshot if nothing selected
IMMS should preserve selected IME upon boot
Add bluetooth icon.
Project name: android_frameworks_av
Request to reset effect buffer in clearInputBuffer
Revert "effects: fix volume burst on pause/resume with AudioFX"
Project name: android_frameworks_native
Respect source crop when capturing layers.
libgui: add docs to geometry states and captureScreen
surfaceflinger: fix captureScreen for landscape LCM
surfaceflinger: improve RenderArea needsFiltering
surfaceflinger: respect install orientation in DisplayRenderArea
surfaceflinger: add install orientation to DisplayDevice
surfaceflinger: make mPrimaryDisplayOrientation static
surfaceflinger: clean up captureScreen
surfaceflinger: silence some RenderArea errors
surfaceflinger: fix race conditions in captureScreen
surfaceflinger: remove ISurfaceComposer.h from RenderArea
surfaceflinger: reorder width and height in RenderArea ctor
surfaceflinger: documents RenderArea
Revert "Revert screenshot changes to exclude black cutout"
Revert "APP may display abnormally in landscape LCM"
Project name: android_vendor_lineage
Add APN ION Mobile & APN for Roaming
config: Remove duplicate keyguard.no_require_sim prop
overlay: Move managed profiles overlay to frameworks/base
kernel: Use build-image-kernel-modules instead of copying it
kernel: Use a macro for kernel build targets
kernel: Detect kernel module usage better
kernel: Move kernel module dir cleanup/creation to module install target
kernel: Move full kernel build guard flag below all targets
kernel: Add more threads to kernel build process
Project name: android_packages_apps_Snap
Snap: Fix picture size preference
Project name: android_packages_apps_Trebuchet
Lint fix: Invalid vector path in horizontal_ellipsis
Project name: android_packages_apps_Bluetooth
Update Bluetooth to use adaptive icon.
Project name: android_packages_apps_Nfc
NfcNci: make T3T/Nfc-F HCE optional
Project name: android_hardware_qcom_display
hwc: Handle validateAndSet failures in AD prepare call
Project name: android_hardware_qcom_display
display-hals: Allow building libdisplayconfig
Project name: android_hardware_qcom_audio
msm8960: Add SND_DEVICE_OUT_VOICE_MUSIC_TX
Project name: android_system_core
Fix path for treble default prop
storaged: change log level for health HAL calls
Project name: android_system_vold
increase timeout for waiting on block device
Thanks all for the support.
Download: https://tugapower.net/TP/OP5/PIE/TugaPowerP13_OP5.zip
MD5: 6872d0b9526c59fe125cb253bf5d6d72
Required firmware: https://tugapower.net/TP/OP5/PIE/FirmwarePIE/firmware_9.0.4_OP5.zip
Please dont mirror for now the roms zips, thanks
For those searching along: The ROM is still maintained and currently up to Version P23. Downloads can be found at https://tugapower.net/?dir=TP/OP5/PIE
Currently you'll need to install firmware 9.0.6 which isn't hosted over there (yet?) but can be found in the OP5 OOS thread at https://forum.xda-developers.com/showpost.php?p=76943628&postcount=8
I'm receiving error 255 for flashing the 9.0.6 firmware as well as the ROM. Is this because I haven't formatted? I'm on the Android 7 version of TugaPower.
Where are the ROM sources mate? Would you kindly provide, or is it closed?

How to debug aosp emulator on Mac OS M1

Dear All,
I'm new to this forum, so apologies if this is not the right section for my question.
I'm entering the world of AOSP and I built the product target aosp_arm64-eng on a MacOS M1 (ARM64 processor).
Unfortunately when I launch the emulator I get a kernel panic with the below message and I would like to understand how I can debug it
Code:
RAMDISK: lz4 image found at block 0
RAMDISK: lz4 decompressor not configured!
Invalid ramdisk decompression routine. Select appropriate config option.
Kernel panic - not syncing: Could not decompress initial ramdisk image.
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.18.94+ #1
Hardware name: ranchu (DT)
Call trace:
[<ffffffc00008a590>] dump_backtrace+0x0/0x128
[<ffffffc00008a6cc>] show_stack+0x14/0x1c
[<ffffffc0005ca064>] dump_stack+0x80/0xa4
[<ffffffc0005c95a0>] panic+0xe8/0x228
[<ffffffc00074ba34>] rd_load_image+0x2fc/0x5e0
[<ffffffc00074be30>] initrd_load+0x50/0x2cc
[<ffffffc00074b47c>] prepare_namespace+0xd8/0x1ac
[<ffffffc00074ad04>] kernel_init_freeable+0x1bc/0x1dc
[<ffffffc0005c8150>] kernel_init+0x10/0xf4
Rebooting in 5 seconds..Reboot failed -- System halted
From the message it seems that the kernel is not configured correctly.
How can I check if the kernel I build contained the LZ4 support with which the Ramdisk image seems to be compressed?
Thanks.
I think it's not possible to run an emulator on a mac with an arm processor see here

Categories

Resources