se ti devo dire la verità io ho consumi più bassi... non è che hai qualche app che sveglia la cpu?
Visualizzazione stampabile
se ti devo dire la verità io ho consumi più bassi... non è che hai qualche app che sveglia la cpu?
Ho provato, ma ovviamente consiglio di non mettere troppe app nella whitelist a causa della poca RAM del nostro device.
Diciamo che lasciando di default ho avuto vantaggi notevoli dato che uso come launcher uno di quelli in lista mi ritrovo meno riavvi di quest'ultimo e una migliore reattività generale nei processi base legati alla telefonia.
Quando invece per provare, ho inserito nella whitelist qualche app in più come hangout e altre del genere ho notato qualche incertezza.
Forse con un kernel 390mb il margine si sposta ma non si può pretendere miracoli, le app diventano sempre più avide...
Grazie leo io ho il kernel. 390 voglio provare. Certo qui ktulu e Chris devono darci una grande mano :rolleyes:
leo ha colpito esattamente nel segno... le app nella whitelist devono essere poche.. a mio avviso solo il necessario.. ad esempio io ho levato il launcher perché preferisco che a volte mi debba ricaricare il launcher piuttosto che mi chiuda determinati processi (ad esempio dsp manager mentre ascolto la musica)... ovviamente, come Chris mi ha più volte ricordato nei giorni in cui stavo testando il kernel, in casi di estrema necessità di ram anche quelle app vengono chiuse altrimenti si rischiano lag e freeze. Quindi le app in quella lista non sono "immuni" al LMK, diciamo che si cerca di preservarle il più possibile... ma come si dice a mali estremi, estremi rimedi
potresti provare better battery stats.. comunque ultimamente whatsapp sta mangiando le nostre batterie, potrebbe essere "merito" suo
Non ho capito come si fa a non far killare il launcher...potresti spiegarmi i passaggi per piacere?
ho letto che si usa terminal emulator ma che dopo un riavvio si perde tutto..
On K^Kernel the feature is enabled by default and the provided processes white lists are the following:
- donotkill_proc_names = "com.cyanogenmod.trebuchet,com.anddoes.launche r,co m.teslacoilsw.launcher,org.adwfreak.launcher,gtp.n extlauncher,android.inputmethod.latin,com.touchtyp e.swiftkey"
this means that Trebuchet Launcher, Apex Launcher, Nova Launcher, ADW Launcher, Next Launcher, stock keyboard and SwiftKey keyboard will be preserved from killing
- donotkill_sysproc_names = "android.process.acore,com.android.phone,com.b el.a ndroid.dspmanager"
this means that the system process, the phone process and DSP Manager will be preserved from killing
1) By using a customized init.d script (the custom value will be always restored after a reboot, if you don't format the system partition)
- Download the script named 80dnkp
- If the file has been saved with .txt extension (stock browser), rename it by removing the .txt extension
- Edit the file by setting your preferred status and processes list
- Copy the new file inside /etc/init.d
- Give the rwxr-xr-x permissions to the file (read, write, execution for owner, read and execution for group users, read and execution for others)
- Reboot
2) By directly editing the files inside /sys/module/lowmemorykiller/parameters (note that set values will be lost after a reboot/shutdown)
3) By using Terminal Emulator (note that set values will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run these commands if you want to enable the feature
Code:
# To enable this feature for the processes chosen by the user
echo 1 > /sys/module/lowmemorykiller/parameters/donotkill_proc
# To enable this feature for the system processes chosen by the user
echo 1 > /sys/module/lowmemorykiller/parameters/donotkill_sysproc
- Run these commands if you want to disable the feature
Code:
# To disable this feature for the processes chosen by the user
echo 0 > /sys/module/lowmemorykiller/parameters/donotkill_proc
# To disable this feature for the system processes chosen by the user
echo 0 > /sys/module/lowmemorykiller/parameters/donotkill_sysproc
- Run this command if you want to add, for example, Trebuchet Launcher (CM default launcher) and the default keyboard to the processes white list
Code:
echo "com.cyanogenmod.trebuchet,android.inputmethod.lat in" > /sys/module/lowmemorykiller/parameters/donotkill_proc_names
- Run this command if you want to add, for example, the system process, the phone process and DSP Manager to the system processes white list
Code:
echo "android.process.acore,com.android.phone,com.bel.a ndroid.dspmanager" > /sys/modul
al primo passaggio dice che trebuchet è incluso nella lista
all'ultimo passaggio dice che per attivare la funzione di non killabilità bisogna aggiungerlo specificatamente...
non capisco...
se spengo il dispositivo devo sempre attivare il tutto tramite terminal emulator?
No leonida, di default è impostato in modo che non killi (anche con riavvio) solo questi processi:
- launcher (Trebuchet Launcher, Apex Launcher, Nova Launcher, ADW Launcher, Next Launcher)
- la tastiera stock e la tastiera SwiftKey
e questi di sistema:
- processo di sistema
- processo telefono
- DSP manager
Se vuoi aggiungerne altri devi smanettare terminal o ancora meglio lo script, che scarichi da qui a metà pagina ;)