yashsingh1/xdaforums huggingface dataset:
[G4 General] marn3us:
thanks!

I have tried using your 90balanced tweak but after boot it doesn't do anything, kernel remains at its stock values :(

I have tried doing the commands in terminal but it says "mount: '/system' not in /proc/mounts" and fails.

So i tried using my file manager and i did the following: copy 90balanced into init.d, set 755 permissions and root:shell but after reboot nothing happens. Could you please help me?
[G4 General] kessaras:
Clean flash.

Something doesn't let the kernel execute init.d on boot.

It's like you don't have init.d support.

Clean flash and flash busybox too. If the rom doesn't have busybox pre-installed, you definitely need it.

Also disable mount superuser separately in settings. Flashing supersu sometimes interrupts init.d but enables you to use the su.d.

/system/su.d is like init.d. it executes scripts on boot.
[G4 General] lectricas:
I have 90userinit and 00banner in my initD folder. Is it ok? Put 90less in init.d folder and reboot. Don't know for sure if the script was installed. Also, was unable to

it says that /system not found.

other commands executed just fine
[G4 General] kessaras:
Install busybox and use the same command with busybox in front. Busybox mount -o....

Most roms besides RR don't have busybox pre-installed
[G4 General] Jirrick:
Hi, I'm having some troubles on latest Lineage weekly and latest Llama kernel with busybox installed and root set to adb only:

After I put the 90less script in init.d folder it seems to properly execute only some lines. I guess that scrpit can change /sys/* values, but cant change /proc/sys/* values as demonstrated by example from adb shell:

cat /proc/sys/net/ipv4/tcp_congestion_control
cubic
cat /proc/sys/vm/swappiness
60
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
alucard

When I run the script from root adb shell manually, the /proc/sys/* values get changed:

cat /proc/sys/net/ipv4/tcp_congestion_control
westwood
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
alucard
cat /proc/sys/vm/swappiness
0

But also some errors pops up (28C6-E3F8 is my sdcard):

h815:/system/etc/init.d # ./90less
./90less
./90less[46]: can't create /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor: No such file or directory
./90less[48]: can't create /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq: No such file or directory
mount: mounting /mnt/media_rw/28C6-E3F8 on /mnt/runtime/write/28C6-E3F8 failed: Invalid argument
[G4 General] kessaras:
init.d executes scripts as root. the changes are done on boot.

the last one i don't get it. you have disabled the big cores ? ill just add a command to enable the big cores before it sets those parameters. it wont affect the hotplug.

you will see the update tomorrow.

EDIT:

update is there. see changelog.

As for the mount commands for media, it won't work on all devices and sd cards. The remount with those flags will only work on stock formats. Internal partitions must be EXT4, F2FS cannot get those flags and external sdcard must be a specific format VFAT.

I will not change the defaults formats with my script, that will cause problems. The format must remain the same as it was on boot.
[G4 General] Jirrick:
Thank you for the fix. I can see that the cpu core error on my second (manual) script execution was caused by them being offline after the first run.

But my first issue is still present. I've done a little test: Changed permission to 600 and verified the script was not run (checked that governor was interactive), then changed the permissions to 700 to ensure that the script was executed as root (checked governor alucard). However, traffic congestion and swappiness were still default (cubic and 60) rather than tweaked (westwood and 0). Kind of weird behavior...
[G4 General] Jirrick:
I couldn't find the log for init.d scripts so I've enhanced the script a bit in order to be able to view it in logcat. Found out that about half of commads are failing...

Both scripts and results are here https://gist.github.com/jirrick/62365c4ac8ee5c0b51245c06d2f2ef5e hope it helps you because this is the point where my knowledge ends...

EDIT: I've added the output of script when run from root adb shell into the gist. The execution log is very different. It seems like the structure isn't initialized at boot time...
[G4 General] kessaras:
That helps. I'll check it tomorrow that I have time . Wait for update on Sunday

EDIT:

i don't see any problem there. Only nr_requests didn't get set. Now they will.
[G4 General] Jirrick:
It executes almost flawlessly when run manually after completing boot from adb shell (as seen in output2), but what about the first automatic execution from master init procedure (the first output) which is just failing?

I understand that this can be dependent on ROM+kernel version combination. Have you tried put my version of the script in your init.d folder and then use the logcat command to get result of your execution?
[G4 General] kessaras:
its not rom ernel combination. its clearly kernel.

llama has init.d support. the only thing you have to do is follow the op and set the right permissions and owner:group.

if those are not correct , it won't execute .

the only thing that maybe interfere with init.d but rarely is the systemless su from chainfire not magisk.

did you double check that you have 755 permissions to the init.d folder and scripts ?

root:root on init.d folder and root:shell on the script ?

If everything is correct there is just no way to not execute.
[G4 General] Jirrick:
I feel like we don't understand each other. The script itself in init.d folder gets executed properly, no issues there. The permissions and ownership doesnt really matter as long as root have execute permissions, tried succesfully both with 755 (-rwxr-xr-x) and 700 (-rwx------). If the permissions were wrong I wouldn't have any log from that script, right?

The problem is that some particular commands written in the script just doesn't work at the time of boot (but gets executed properly afterwards).

Take a look at this command:

for file in /proc/sys/net/ipv6/conf/*/disable_ipv6; do echo 1 > $file; done

and respective entries in my two logcat captures:

CASE 1: When run automatically by OS from init.d folder, the FOR loop is not able to expand the asterisk (probably the virtual paths arent initilized yet, or something else is broken) and the command fails.

ERROR: echo 1 > /proc/sys/net/ipv6/conf/*/disable_ipv6

CASE 2: When I run the script manually after full boot, the asterisk in FOR loop gets properly expanded and the same code produces this output:

PASSED: echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/default/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/dummy0/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/lo/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/r_rmnet_data0/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/r_rmnet_data1/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/r_rmnet_data2/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/r_rmnet_data3/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/r_rmnet_data4/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/r_rmnet_data5/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/r_rmnet_data6/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/r_rmnet_data7/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/r_rmnet_data8/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/rmnet_data0/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/rmnet_data1/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/rmnet_data2/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/rmnet_data3/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/rmnet_data4/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/rmnet_data5/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/rmnet_data6/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/rmnet_data7/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/rmnet_ipa0/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/sit0/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/teql0/disable_ipv6
PASSED: echo 1 > /proc/sys/net/ipv6/conf/wlan0/disable_ipv6

Are we on the same page? Some commands in the script behave differently at boot-time and after complete boot, that's all.
[G4 General] kessaras:
it does matter. its the same as su.d. su.d needs 700 or it won't execute. Same goes for init.d.

2nd even if you show me the bug , since i can't reproduce it and everything works here,i can't really fix it. It's a problem on your side and maybe anyone who has done the same mistake whichever it is.

yesterday too i updated my rom since i had to update for a long time and the script still works because its kernel related and the kernel doesn't have any change since months.

The easiest way to test if you did everything right is to open a terminal and do :

. ./system/etc/init.d/<script name>

if permissions and owner:group are right you will see it execute normally and set everything as it should.

if something gives error it will say "access denied", because those folders don't originally have write access unless we give write access.

so if you get access denied , ok thats something i can fix, but if some commands don't set on boot but get set later..... thats something i can't fix.

If you didn't do anything wrong, which propably you did, you must report it to genesix to take a look at it. if you are right , he will find the error in his kernel, if you are wrong he won't find any error to fix.

~EDIT: only genesix can fix it. we don't have access in Llama github and we don't know when it's the last time he synced. Llama is only managed from genesix.
[G4 General] kessaras:
From now on, those who flash llama sweet kernel, have magisk flashable zip ready for flashing too, otherwise you won't have root.
[G4 General] kessaras:
-added better mount point flags for f2fs partitions.

Only one of the mount commands will work on your device.

If you use f2fs , then only the flags for f2fs will be added.

If you use ext4 , then only the flags for ext4 will be added.

The other command will just fail, you can ignore it.

-i changed the way the mount points get set, now you don't need busybox if you don't want to.

-bigger timer rate for interactive governor for the balanced tweak, balanced can conserve battery now too.

*Soon ill add one script for all stock kernels. With proper tweaking we don't really need to flash anything. Stock is great too if we know what to do.

It will be added in su/su.d to work with systemless root or in a module in magisk.
[G4 General] kessaras:
Added instructions in the op too.

Llama Sweet Kernel (lineage based only. for stock i haven't test it yet)

- Those that use supersu root method, they can use alternative path to /su/su.d/ to execute their scripts. Set permissions to 700 and ownership to root:root for both the folder and file.

- Those of you that use magisk as a root method, you can also use alternative /magisk/.core/service.d or /magisk/.core/post-fs-data.d. The difference is in the execution time. Service.d will execute a little bit later during boot, but the result is the same. My scripts execution times are best for service.d, in post-fs-data.d it will execute too soon and the kernel will later set the default values so you won't tweak anything.

Lastly in a few days ill make one good script for both stock lineage kernel and stock based LG kernel. Using magisk or supersu is now possible to do everything init.d does without the need of init.d support.
[G4 General] kessaras:
Even higher timer rates and downclocking a bit the big CPU cores.

Higher touch responsiveness to decrease lag.

changelog
[G4 General] raptorddd:
i have latest magisk. stock baseed. so this zip in 2nd post shopuld work on stock based and any kernel.?

question is theres no magisk path you mention.? what create it.?

does this disables cores or just changes frequencies.? thanks
[G4 General] kessaras:
Yeah script from the 2nd post is 100% working on stock and on any stock based and even on lineage stock.

The path is there if you flashed magisk and installed magisk manager. Magisk can't work without it.

Check again.

Did you install magisk manager from play store too ?

Reboot and check again.
[G4 General] raptorddd:
yes i have magisk manager 4.3.1 from playstore and magisk 12. thers only a magisk in root directory.

magisk core only mode is unticked. ticked and no folder. systemless host only enabled. reboot it and no such paath only magisk.
[G4 General] kessaras:
Inside magisk isn't there a folder named .core ? And in there another one named service.d ?

If not , then you did something wrong.
[G4 General] raptorddd:
no theres no folders inside.. magisk manager was in system and didnt show in playstore as new update LOL. i updated it has update button when i search for it. i assume i had latest. then decided to remove it and soft brick:crying::crying: i have to do it again ill remove magisk from system app. ill try steadyfaster twrp. and will flash again:crying::crying::crying:

been a while since i flash. good excuse. :good:

will report back when i reinstall everything.

how woould i know that once i get those folders i have script working.?
[G4 General] kessaras:
Install any app you want and check the cfq io scheduler if it's tweaked.

Edit: any app that can tweak the kernel. Also you can check it in magisk manager log. It sais it executes the (name of the script) inside services.d
[G4 General] raptorddd:
well my explorer didnt have show hidden files activated .:p now i can see folder. will try it as soon as i set up my phone.:good:

so i should leave all kernels settings alone right.?
[G4 General] kessaras:
It's your choice if you want to change something afterwards.

Trust it for a few days and see how it goes though
[G4 General] raptorddd:
okey i see it that magisk executes script and i see changes in i/o scheduler.

so thats it.?

- CPU customisations ~depends on your choice of script~

balanced ~doesn't make any cpu changes~

less ~for less battery drain, cpu rests more~

more-less ~for a lot less battery drain, but with a big lag (will soon try fix stability and smoothness)~

performance ~for full cpu power, but rest when the screen is off~

we can choose.? in terminal.?
[G4 General] kessaras:
None. You asked me for stock. The scripts here are only for Llama Kernel.

Only the one in the 2nd post is working for stock
[G4 General] raptorddd:
okey got it.

now sorry for many questions .. using kernel adituor mod.

in thermal tab theres nothing selected.? is this part of your script.? or i could choose one.

gpu governor its default msm-adreno-tz.

i/o scheduler cfq and 512kb read. rotational storage off ... add ramdom is on and i/o stats is on.

misc controls tcp is at cubic can this be changed to westwood.

am just asking as maybe this are the settings for best results. or we can tweak them.?
[G4 General] kessaras:
My settings don't need a thermal check. The CPU rests all the time when you don't touch the screen and you only have a load when you touch.

When the CPU rests properly we don't need to increase the load with useless thermal check.

I have already super stressed the CPU under some heat , my settings are not just random.
[G4 General] kessaras:
Post #2:

Added a flashable .zip for those that don't know how to remove Su and change to Magisk.
[G4 General] osm0sis:
I don't endorse using the cobbled together zip someone created here..

You should just link to my unSU script and link to the latest Magisk installer.

Edit: Thanks for fixing that up. :)
[G4 General] raptorddd:
works very good on stock based rom and kernel.. :good:
[G4 General] z0mghii:
Thanks for the great work. It seems that 90performance hasn't been updated in a while, is that still viable to use? There doesn't seem to be a max frequency value set in the script. I don't really care about battery life as I have multiple extra batteries, but do worry about thermal throttling after long usage.
[G4 General] kessaras:
I don't remember it's been so long since I used the performance lol.

I think in the performance I have set thermal to work. I would never go with full power without precautions.

You can check it with any kernel editor app to be sure.
[Raspberry Pi Q&A, Help & Troubleshooting] nestorian:
so i just bought a raspberry pi 3 and was trying to find any other information on how to connect unofficial peripherals.

trying to build portable laptop/tablet Frankenstein for retropie mainly.

i have scrapped some parts from a JXD s7800b:

7" lcd touchscreen Hydis hv070wx2-1e0 not really concerned about the touch input just want the display

spec sheet: http://hands.com/~lkcl/eoma/kde_tablet/HV070WX2-1E0.pdf

speakers

camera not important but while im learning thought id try it.

while i am no stranger to linux i am new to pi and have no idea how to build my project or if its even possible. also may need direction on writing driver

also i have the idea that i would like to scrap the 20" display from an asus et2010agt all in one pc. any help is appreciated also ideas on if i could even power this with the pi

thanks in advance, you are helping a total noob so all help is appreciated even destructive criticism :laugh:
[Raspberry Pi Q&A, Help & Troubleshooting] LyricalMagical:
It looks like your display is an LVDS display so you would need an DSI to LVDS converter but I don't know if that would guarantee it would work without some further driver work. It might be possible.
[Raspberry Pi Q&A, Help & Troubleshooting] nestorian:
Awesome thanks I'll check it out and let you know when I get the converter. Maybe it will be functional with minimal work and not much more cash
[Xiaomi Redmi 3s Questions & Answers] XDM inc:
as i said above. what do i do with my kernel to make it permissive? i have it decompiled now.
[Nexus 9 General] Vartom:
In June this year, I planned to run a modern kernel from Nvidia on the Nexus 9. yet I encountered a number of difficulties. Some of them I was able to solve recently.

But great progress has not been achieved in the launch. We need to rewrite the "Power Tree" and whatnot.

All this is because of the large gap in the current kernels.

I hope someone who has the time and knowledge can help in this work.

https://github.com/vartom/android_kernel_flounder/commits/V107n stok kernel for Flounder

https://github.com/vartom/android_kernel_flounder/commits/port port kernel for Flounder
[Nexus 9 General] USBhost:
I wish you all the best man! What your doing is way above my knowledge set.

To be honest I thought you gave up but o boy I was wrong.

Well anyway I will try to help but I don't know how much I can do.
[Nexus 9 General] Vartom:
I took a kernel for an android 511. This kernel starts noticeably better. The following log. I need to improve a bit and think recovery already started.

To old.
[Nexus 9 General] Vartom:
Without success. Falls kernel version 67+. Do not connect the second core. PSCI 0.2 version does not work for some reason. Ideas come to an end.
[Nexus 9 General] Vartom:
For those who want to try the kernel from my repo b 107.

Vartom_v4
[Nexus 9 General] lmulli:
Does it actually work then? Will it work with a Nougat rom?
[Nexus 9 General] Vartom:
Will work with Nougat ROM.

This is a standard kernel, with my corrections.
[Nexus 9 General] AL2000EX:
shoud there be a disclaimer to not flash on top of fire ice? since fi uses custom f2fs

it runs great btw
[Nexus 9 General] VoCs_007:
Wow!

I hope you'll not giveup, it's very good try. I wish the best to you. If you do this - i think all owners will kiss your hands and foot.
[Nexus 9 General] dictionary:
Running pretty well so far. Just wish for fast charging.
[Nexus 9 General] Vartom:
Changed the a branch port kernel to https://github.com/vartom/android_kernel_flounder/commits/port

The reason took not changed the kernel of 67+. Log looks a little better. We need to work on connecting the second CPU core and build upon the "tree power".
[Nexus 9 General] mom4751:
Hi,

does this kernel bring the Vulkan API on Nexus 9 compensating the lack of attention of Google on our device?
[Nexus 9 General] Vartom:
Replacing the the kernel can pull a replacement driver in Android. Probably in this case will be able to connect Vulkan API, or even be CUDA.

Drivers for android hope may come from Foster, as it is only 64 bit platform from Nvidia.
[Nexus 9 General] VoCs_007:
You can do it, man

What is main problem? Can you share some information about error or thomething like that, maybe someone can find solution
[Nexus 9 General] Vartom:
I stop the project. For my tasks enough current configuration.
[Nexus 9 General] AL2000EX:
Sad to hear, but quite reasonable considering you were doing what an entire Android engineering team could not be bothered too. Are you planning to continue working on the stock kernel tho? Its the only thing that keeps my n9 usable enough atm

Edit: it appears as you are. rly appreciate it
[Nexus 9 General] albsat:
Is there a final version to try please?
[Nexus 9 General] Vartom:
Yes. I will continue to work with the stock kernel.
[Nexus 9 General] vincenzo697:
Can you upload the latest kernels from both stock and ported so we can try?

Thanks in advance
[OnePlus X Q&A, Help & Troubleshooting] TigerKing:
On screen navigation buttons are not hiding on oneplus x, need help. Buttons does not hide and occupy that space, not even minimise if something is played.

Earlier I used to move finger up, from bottom screen then navigation bars displayed. But suddenly something happened. There is no option available for hiding it.

Using 6.0.1 version. Stock ROM not rooted.

Need help ASAP.
[OnePlus X Q&A, Help & Troubleshooting] saurabh40629:
That's a peculiar problem .try turning off on screen keys and turn on hardware keys. Restart and turn on on-screen keys.
[OnePlus X Q&A, Help & Troubleshooting] TigerKing:
Not working..

On-screen navigation buttons autohiding perfectly (buttons with transparent black background).

Now it's suddenly turn into black background with buttons and navigation bar does not auto hide (goes down like Nexus devices)

Simple words - want to use full screen again.
[OnePlus X Q&A, Help & Troubleshooting] saurabh40629:
Well, try doing factory reset. I can't think of any reason why this would happen. Even if u raise a support ticket, first thing they will do is factory reset. So backup your data and do a factory reset.
[OnePlus X Q&A, Help & Troubleshooting] TigerKing:
Ya, I was thinking of that. But I wanted solution without formatting device. It will be lengthy process as device not rooted. Someone should come up with solution before Sunday otherwise factory reset will be only option for me.

Wiping cache and dalvik cache will help?
[Galaxy Tab 4 Q&A, Help & Troubleshooting] passport619:
I had de-rooted my Tab 4 and was attempting to reflash root but it did not work and now I can't go into recovery or flash mode. It just stays on Tab 4 logo stuck if I try to go in recovery otherwise it starts fine. Can I flash or somehow go into recovery another way?
[Nextbit Robin] yanowman:
I have been without Root.... Without TWRP... Without an unlocked bootloader FOR MONTHS with the S7 Edge (T-Mob) and now I finally have a device with all deez things possible!

I Just got my Robin 2 days ago and I wanted to make this post and say hello to the Robin community, but ALSO wanted to ask my annoying questions right off the bat :)

(side note) this is the only phone ive ever owned that when I first powered on the device (right after connecting to wifi, but before adding an account) it FORCED me to update, i had no say in it... kinda weird.

ANYWAYS. Was hoping for a little insight. My build number is...

Build # OOWW_1_450

Could someone help me out and point me to the links or guides needed to help get me on the right path to ROOT and TWRP and ROMS, cause jeezus H christ I have missed them

papa bless
[Nextbit Robin] yanowman:
Is this the only thread I need for EVERYTHING?

http://xdaforums.com/nextbit-robin/development/tool-robin-toolkit-v1-0-root-twrp-t3375908

Has anyone got xposed on Robin?
[Nextbit Robin] yanowman:
Anyone .......?