how can i use zram on stock rom? - Xperia SP Q&A, Help & Troubleshooting

hi guys,
i want to do use zram on my phone, now rom is stock .207 with williams kernel but, in the kernel auditor app virtual memory no zram title,
how can i use zram on williams kernel or any stock rom?
thanks...

incisi ker said:
hi guys,
i want to do use zram on my phone, now rom is stock .207 with williams kernel but, in the kernel auditor app virtual memory no zram title,
how can i use zram on williams kernel or any stock rom?
thanks...
Click to expand...
Click to collapse
You need to rebuild the kernel with swap, zram and zsmalloc support.

Related

[Q] Undervolting on stock rom

Hi I'd like to clarify something.
I've used CF autoroot to get root access, which means I have stock ROM on. I've read elsewhere that in order to undervolt, you need to have a kernel that supports it. The stock ROM/kernel doesn't support undervolting right?
So if I want to undervolt, I must have a different kernel?
yes
Perseus Kernel allows you to undervolt
perseus like stock kernel !
What settings do i have to configure inorder to make cpu scaling less ( sampling and more specifically cpu freq changing )
.. and make it behave more like stock kernel ? ... i only need undervolt! and rest same as samsung defaults !

[Q] Interactive Governor and Stock Kernel

It seems the Interactive governor is not included in the stock kernel. Does anyone know if the kernel supports it and how do I install it? Thanks!

[KERNEL]Lightning kernel for stock roms

Lightning kernel
this kernel is made for stock roms and i take no responsibility if you brick,destroy your device due to this kernel
features
sound control 3.6
gpu overclock to 627mhz
intelli thermal
cpu overclock upto 1836mhz(disable mpdecision)
compiled with linaro 4.9.1
added intelliactive,intellidemand,preservative,hyper,wheatley,lionheart governors
row,fiops,tripndroid io schedulers
undervolting
sweep to wake and double tap to wake
auto mpdecision (turn off stock qcom mpdecession)
sound stuttering fixed(zzz sound while hearing music)
Motorola MSM memcpy enhancements
cpu unallingnment access
kernel mode neon
exfat support
gpu voltage control
multi rom by Olivier
81mhz lowest cpu frequency
more to come
source code https://github.com/nikhil18/android_kernel_sony_apq8064
installation instructions
flash the boot.IMG file first then flash the normal version 1 in recovery
then flash the overclock file you want uploaded in 2nd post
for extreme overclocking disable qcom mpdecision
Setting custom GPU Voltages via sysfs
NB:
- Safe lock is present on MIN/MAX values:
Quote:
#define GPU_MIN_VDD 900000
#define GPU_MAX_VDD 1200000
The default GPU voltages are:
Quote:
+ [VDD_DIG_NONE] = 0,
+ [VDD_DIG_LOW] = 975000,
+ [VDD_DIG_NOMINAL] = 1075000,
+ [VDD_DIG_HIGH] = 1175000
Verify the actual settings:
Quote:
cat /sys/devices/system/cpu/cpu0/cpufreq/gpu_mv_table
975000
1075000
1175000
Adjust to desired values and verify:
Quote:
echo "930000 1000000 1100000" > /sys/devices/system/cpu/cpu0/cpufreq/gpu_mv_table
XDA:DevDB Information
Lightning kernel, Kernel for the Sony Xperia Z
Contributors
nikhil18
Source Code: https://github.com/nikhil18/android_kernel_sony_apq8064
Kernel Special Features:
Version Information
Status: Testing
Created 2014-11-20
Last Updated 2014-11-20
guys reuploaded version 1 forgot to change device name in anykernel.sh file
downloads
Great!! This is based off. 283 I assume?
This is cool! Have always been wanting to have your aosp kernel's features after changing to existenz from aosp. Anyway, one issue I encountered. Whenever I try to adjust the gpu voltage via es file explorer, the device just reboots itself. Never had that issue on your aosp version.
Kelvin98 said:
This is cool! Have always been wanting to have your aosp kernel's features after changing to existenz from aosp. Anyway, one issue I encountered. Whenever I try to adjust the gpu voltage via es file explorer, the device just reboots itself. Never had that issue on your aosp version.
Click to expand...
Click to collapse
did you even face this problem on my version 8 for cm
langeveld024 said:
Great!! This is based off. 283 I assume?
Click to expand...
Click to collapse
yup you can even try it with 292 because it has anykernel
Nope, only this one.
I faced the reboot after gpu voltage change only when using v7 intelli-plug.
Will try and report back. Btw is this intelli-plug or auto-smp? Or both?
And it doesn't seem to have init.d enabled is it?
langeveld024 said:
I faced the reboot after gpu voltage change only when using v7 intelli-plug.
Will try and report back. Btw is this intelli-plug or auto-smp? Or both?
And it doesn't seem to have init.d enabled is it?
Click to expand...
Click to collapse
it has intelliplug and i think initd has to enabled in ramdisk so flash a kernel which has initd enabled then flash my kernel over it it should work because my kernel does not replace ramdisk
Can You make One for Lollipop ?
Black_Eyes said:
Can You make One for Lollipop ?
Click to expand...
Click to collapse
my cm version in the other thread should compatible with lolipop you can try it before that delete libril.so from the kernel zip
nikhil18 said:
it has intelliplug and i think initd has to enabled in ramdisk so flash a kernel which has initd enabled then flash my kernel over it it should work because my kernel does not replace ramdisk
Click to expand...
Click to collapse
What I did was reflash existenz rom and the included stock kernel which has init.d support, but then when flashing this kernel I get error executing updater binary. I think it has to do with the stock Sony ramdisk cuz when flashing on hodorkernel it works fine. Although hodorkernel has no init.d support xD
Anyway thanks a lot for this!
hi
so happy to see your strong kernel for stocks
can we use it for stock bases roms same as existenz v 3 ?
thank you
agha_jo0n said:
hi
so happy to see your strong kernel for stocks
can we use it for stock bases roms same as existenz v 3 ?
thank you
Click to expand...
Click to collapse
yup it is compatible with all the stock roms based on .283 available on xda but you can even try with .292
langeveld024 said:
But why I'm getting the error executing updater binary on stock kernel and not on hodorkernel?
Click to expand...
Click to collapse
Does any kernel version of hodor gives binary error
nikhil18 said:
yup it is compatible with all the stock roms based on .283 available on xda but you can even try with .292
Click to expand...
Click to collapse
But why I'm getting the error executing updater binary on stock kernel and not on hodorkernel?
Btw reported the gpu reboot bug in bug report tab
nikhil18 said:
yup it is compatible with all the stock roms based on .283 available on xda but you can even try with .292
Does any kernel version of hodor gives binary error
Click to expand...
Click to collapse
U mean flashing this kernel on top of anykernel version of hodorkernel, or do u mean flashing hodorkernel anykernel version on top of stock kernel?
langeveld024 said:
U mean flashing this kernel on top of anykernel version of hodorkernel, or do u mean flashing hodorkernel anykernel version on top of stock kernel?
Click to expand...
Click to collapse
Flashing anykernel version of hodor kernel on top of stock kernel
langeveld024 said:
Gives same error.
Log: http://www.mediafire.com/view/uy4b3hmrxtlhhuv
Starting at line 376
Flashed lightning for stock, failed, after that flashed anyhodorkernel, failed also.
Guess it has something to do with the special unpacking tools needed for stock boot.img.
Maybe u can try build normal boot.img based on stock 283 FW?
Click to expand...
Click to collapse
Ok then I will make a boot IMG
nikhil18 said:
Flashing anykernel version of hodor kernel on top of stock kernel
Click to expand...
Click to collapse
Gives same error.
Log: http://www.mediafire.com/view/uy4b3hmrxtlhhuv
Starting at line 376
Flashed lightning for stock, failed, after that flashed anyhodorkernel, failed also.
Guess it has something to do with the special unpacking tools needed for stock boot.img.
Maybe u can try build normal boot.img based on stock 283 FW?
nikhil18 said:
Ok then I will make a boot IMG
Click to expand...
Click to collapse
Ok cool thnx. Could you eventually build it with auto-smp? Cuz on v7 and v8 cm version the intelli-plug builds give me the same reboot as I described in the bug report section.
Work fine on Tornado ROM V.2,.thanks dude,,Great Kernel!,
Gives error on existenz v3

Which kernel ?

Hi,
I'm using this ROM : http://forum.xda-developers.com/z3-compact/development/xperia-performance-max-fury-t3175420
And I want to downclock my processor but with the stock kernel and the app kernel Adiutor I can't do nothing. Which kernel I can flash on this ROM to have this support ?
thanks in advance

Kernel for chroma

Just wanted to know the best kernel for chroma i would love to use franco but when i flashed r39 it didnt boot.is it safe to flash r41 or do u guys recommend something else.provide link pls and thank u
http://hc-kernel.blogspot.ch/?m=1
Then how about hells core kernel by Laurent Hess?
It supports both stock and non stock based rom.
PielunA said:
http://hc-kernel.blogspot.ch/?m=1
Then how about hells core kernel by Laurent Hess?
It supports both stock and non stock based rom.
Click to expand...
Click to collapse
^^^ This the only thing I've done with it is up the minimum GPU frequency in kernel adiutor because I feel it makes everything just that little bit smoother.

Categories

Resources