[Android Software/Hacking General [Developers Only]] NAZUnlimited:
@zepp

tx for the reply, this was what i saw

su
for i in /sys/kernel/debug/*; do echo $i; echo; cat $i; echo ; done

results in

/sys/kernel/debug/*
/sys/kernel/debug/*: No such file or directory

but with root explorer i can see that folder and is empty inside and using

busybox mount -t debugfs none /sys/kernel/debug

and again

su
for i in /sys/kernel/debug/*; do echo $i; echo; cat $i; echo ; done

i get this

/sys/kernel/debug/apanic
14212796549624102780
/sys/kernel/debug/asoc
/sys/kernel/debug/asoc: invalid length
/sys/kernel/debug/bdi
/sys/kernel/debug/bdi: invalid length
/sys/kernel/debug/clk_enable
/sys/kernel/debug/clk_enable: invalid length
/sys/kernel/debug/clk_rate
/sys/kernel/debug/clk_rate: invalid length
/sys/kernel/debug/cpufreq_debug
0
/sys/kernel/debug/dsp_log

15014.273 0000bd7c DATA
15014.273 00070000 EVENT
15014.273 00000002 DISABLE
15014.273 00000001 DISABLE
15014.287 00000003 DATA
15014.287 00030005 EVENT
15014.312 00000003 DATA
15014.312 00030005 EVENT
15014.342 00000003 DATA
15014.342 00030005 EVENT
15014.367 00000003 DATA
15014.367 00030005 EVENT
15014.392 00000003 DATA
15014.392 00030005 EVENT
15014.422 00000003 DATA
15014.422 00030005 EVENT
15014.447 00000003 DATA
15014.447 00030005 EVENT
15014.477 00000003 DATA
15014.477 00030005 EVENT
15014.502 00000003 DATA
15014.502 00030005 EVENT
15014.532 00000003 DATA
15014.532 00030005 EVENT
15014.557 00000003 DATA
15014.557 00030005 EVENT
15014.587 00000003 DATA
15014.587 00030005 EVENT
15014.612 00000003 DATA
15014.612 00030005 EVENT
15014.637 00000003 DATA
15014.637 00030005 EVENT
15014.667 00000003 DATA
15014.667 00030005 EVENT
15014.692 00000003 DATA
15014.692 00030005 EVENT
15014.722 00000003 DATA
15014.722 00030005 EVENT
15014.747 00000003 DATA
15014.747 00030005 EVENT
15014.777 00000003 DATA
15014.777 00030005 EVENT
15014.802 00000003 DATA
15014.802 00030005 EVENT
15014.827 00000003 DATA
15014.827 00030005 EVENT
15014.857 00000003 DATA
15014.857 00030005 EVENT
15014.882 00000003 DATA
15014.882 00030005 EVENT
15014.912 00000003 DATA
15014.912 00030005 EVENT
15014.937 00000003 DATA
15014.937 00030005 EVENT
15014.967 00000003 DATA
15014.967 00030005 EVENT
15014.992 00000003 DATA
15014.992 00030005 EVENT
15015.022 00000003 DATA
15015.022 00030005 EVENT
15015.047 00000003 DATA
15015.047 00030005 EVENT
15015.072 00000003 DATA

/sys/kernel/debug/gpio
/sys/kernel/debug/gpio: invalid length
/sys/kernel/debug/ieee80211
/sys/kernel/debug/ieee80211: invalid length
/sys/kernel/debug/mmc0
/sys/kernel/debug/mmc0: invalid length
/sys/kernel/debug/mmc1
/sys/kernel/debug/mmc1: invalid length
/sys/kernel/debug/modem_notifier
/sys/kernel/debug/modem_notifier: invalid length
/sys/kernel/debug/mpp
/sys/kernel/debug/mpp: invalid length
/sys/kernel/debug/msm_amrnb_in

opened 0
enabled 0
stopped 0
audrec_obj_idx 0
dsp_cnt 0
in_count 0
audio->in[0].size 0
audio->in[1].size 0
audio->in[2].size 0
audio->in[3].size 0
audio->in[4].size 0
audio->in[5].size 0
audio->in[6].size 0
audio->in[7].size 0
running 0
buffer_size 0
in_head 0
in_tail 0

/sys/kernel/debug/msm_fb
/sys/kernel/debug/msm_fb: invalid length
/sys/kernel/debug/msm_snd_adie

LIST OF CLIENTS

/sys/kernel/debug/msmsdcc
/sys/kernel/debug/msmsdcc: invalid length
/sys/kernel/debug/nohlt
/sys/kernel/debug/nohlt: invalid length
/sys/kernel/debug/oem_rapi
-1
/sys/kernel/debug/pcm_log
15015.520 00000000 ENABLE
15015.520 00000007 DSP_EVENT
15015.520 00000000 OPEN
15015.534 000012c0 RETURN
15015.534 00000001 SEND_BUFFER
15015.534 00000001 FILL_BUFFER
15015.534 00000001 WAIT_EVENT
15015.534 00000003 DSP_EVENT
15015.545 00000000 WAIT_EVENT
15015.545 100012c0 WRITE
15015.559 000012c0 RETURN
15015.559 00000000 SEND_BUFFER
15015.559 00000000 FILL_BUFFER
15015.559 00000001 WAIT_EVENT
15015.559 00000003 DSP_EVENT
15015.575 00000000 WAIT_EVENT
15015.575 100012c0 WRITE
15015.589 000012c0 RETURN
15015.589 00000001 SEND_BUFFER
15015.589 00000001 FILL_BUFFER
15015.589 00000001 WAIT_EVENT
15015.589 00000003 DSP_EVENT
15015.600 00000000 WAIT_EVENT
15015.600 100012c0 WRITE
15015.614 000012c0 RETURN
15015.614 00000000 SEND_BUFFER
15015.614 00000000 FILL_BUFFER
15015.614 00000001 WAIT_EVENT
15015.614 00000003 DSP_EVENT
15015.625 00000000 WAIT_EVENT
15015.625 100012c0 WRITE
15015.639 000012c0 RETURN
15015.639 00000001 SEND_BUFFER
15015.639 00000001 FILL_BUFFER
15015.639 00000001 WAIT_EVENT
15015.639 00000003 DSP_EVENT
15015.655 00000000 WAIT_EVENT
15015.655 100012c0 WRITE
15015.669 000012c0 RETURN
15015.669 00000000 SEND_BUFFER
15015.669 00000000 FILL_BUFFER
15015.669 00000001 WAIT_EVENT
15015.669 00000003 DSP_EVENT
15015.680 00000000 WAIT_EVENT
15015.680 100012c0 WRITE
15015.694 000012c0 RETURN
15015.694 00000001 SEND_BUFFER
15015.694 00000001 FILL_BUFFER
15015.694 00000001 WAIT_EVENT
15015.694 00000003 DSP_EVENT
15015.710 00000000 WAIT_EVENT
15015.710 100012c0 WRITE
15015.724 000012c0 RETURN
15015.724 00000000 SEND_BUFFER
15015.724 00000000 FILL_BUFFER
15015.724 00000001 WAIT_EVENT
15015.724 00000003 DSP_EVENT
15015.735 00000000 WAIT_EVENT
15015.735 100012c0 WRITE
15015.749 000012c0 RETURN
15015.749 00000001 SEND_BUFFER
15015.749 00000001 FILL_BUFFER
15015.749 00000001 WAIT_EVENT

/sys/kernel/debug/ping_mdm
0
/sys/kernel/debug/pmic
/sys/kernel/debug/pmic: invalid length
/sys/kernel/debug/smd
/sys/kernel/debug/smd: invalid length
/sys/kernel/debug/smd_rpcrouter
/sys/kernel/debug/smd_rpcrouter: invalid length
/sys/kernel/debug/smem_log
/sys/kernel/debug/smem_log: invalid length
/sys/kernel/debug/smsm
/sys/kernel/debug/smsm: invalid length
/sys/kernel/debug/tracing
/sys/kernel/debug/tracing: invalid length
/sys/kernel/debug/usb
/sys/kernel/debug/usb: invalid length
/sys/kernel/debug/vreg
/sys/kernel/debug/vreg: invalid length

btw, lease-break-time is just in this line and doesnt repeat itself again:

kernel.threads-max = 5000
+ busybox sysctl -e -w fs.lease-break-time=10

unlike the min_free_kbytes:

vm.min_free_kbytes = 4096
+ busybox mount -t debugfs none /sys/kernel/debug
+ echo NO_NORMALIZED_SLEEPER
/system/etc/init.d/98KickAssKernel: cannot create /sys/kernel/debug/sched_features: permission denied
+ busybox umount /sys/kernel/debug
+ busybox sysctl -e -w vm.min_free_kbytes=4778
vm.min_free_kbytes = 4778