linuxdeploy icon indicating copy to clipboard operation
linuxdeploy copied to clipboard

How to speed up linux deploy?

Open eromoe opened this issue 5 years ago • 4 comments

I have a olde device with 2g ram 16g rom , 4core mtk cpu.

I am in PC use ssh connect to this device, it sometimes got very slow . I have to do a memory clear on my phone. Is there any way to force linux deploy use the system resouce in high priority .

eromoe avatar Jul 20 '19 06:07 eromoe

Maybe you could use faster SD Card with better speeds?

It works fine on my Mi6 with Snapdragon 835 and 6GB of RAM, but this is not the same class of the device :)

memegauste avatar Jul 27 '19 08:07 memegauste

Is there any way to force linux deploy use the system resouce in high priority .

Your phone's ram is pretty small nowadays, and android system usually takes a lot of resources. If you don't need android, I recommend you stop it after started linux deploy.

To do so, run stop in adb shell or android shell. Note you may want to turn off phone screen before doing this. If you want to start android system again, run start, or hard reset your phone (not recommended).

Pros: Save lots of ram and cpu resources from android system.

Cons: You will not able to use android system of course. You will not able to auto reconnect wifi while wifi connection lost.

CainSakura avatar Nov 08 '19 18:11 CainSakura

You probably can use echo ld > /sys/power/wake_lock to keep the system awake, as suggested in another issue here. Or maybe use the app Kernel Adiutor from Playstore or F-Droid to tweak your performance settings.

psmatter avatar Dec 17 '22 10:12 psmatter

You probably can use echo ld > /sys/power/wake_lock to keep the system awake, as suggested in another issue here. Or maybe use the app Kernel Adiutor from Playstore or F-Droid to tweak your performance settings.

wow!

nikissXI avatar Feb 21 '23 15:02 nikissXI