Any suggestions for a boot loop that doesn't involve wiping data?
first try to re-flash the kernel
Any suggestions for a boot loop that doesn't involve wiping data?
If zcache.ko and zram.ko is found in /lib/modules does it mean that zcache and zram is enabled? I cant seem to know how to enable it. When you say in etc, is it /system/etc?
Where can i get cm7 i hate touch wiz
And can i flash this kernel over the old one??
Sent from my YP-G1 using XDA
Hey, great work on your kernal. One question, I think I have enabled zram with a script in init.d, but is there a way I can tell it is working? Thank you.
Sent using Tapatalk
but i thought that all the current cm7 issues were kernel related and i thought that with your expertise you could probably fix themNo, simply because the problem is not the kernel but Cyanogen.
CM7 as not been made to work with our player.
CM9 is for SmartPhone that have a kernel done for ICS, it's not the case of our device.
but i thought that all the current cm7 issues were kernel related and i thought that with your expertise you could probably fix them
Hi Dark_Balor,
First of all, thanks for your Kernel.
I've made some tests (YP-G1 INTL version).
I've made a backup using CWM, everything was in EXT4 exept my data which was in RFS. I've renamed the file data.rfs.tar to data.ext4.tar (and changed the md5 as well) and restored everything using CWM.
It worked at first boot but it has been corrupted whn I launched CWM again.
Then I renamed back my backuped data partition and I tried to restore it.
Impossible : problem during restore, restore is aborded.
Then I flashed back the v1.2 of the kernel and restored : it worked !
So I guess there is still a problem with CWM.
I also have a question, when you say "Zram built-in not a module anymore", does it mean Zram functionnality is automatically launched on startup ?
Thanks for addressing my issues! I was able to gain some success by fully wiping and reinstalling the USER busybox, but it would fail to run sometimes, and selective scripts would intermittently fail. Also nice to know that my data will not be wiped whenever I boot into CWM accidentally anymore .
Thanks for the update. I will test it out now.
Also, I've noticed that the US kernel config is missing the line "CONFIG_SND_VOODOO_FM=y", so voodoo sound doesn't have FM radio improvements. Could you add it please? I noticed it a while ago so I have been compiling my own kernel to use. I just copied the INTL defconfig and added "CONFIG_ARIES_USA=y".
Thanks
---------- Post added at 12:50 PM ---------- Previous post was at 12:36 PM ----------
yes now zram is enabled in the init.rc I believe.
Well sorry for the /data partition, I don't know why, but it's stuck at RFS. I format it, I tried everything, everytime you relaunch the recovery and try to mount the partition, it mount it as RFS and wipe it out.
I advice you to let it as RFS or, change it to ext4 when you are sure you won't need to do further change in it from the recovery.
faux123 said:CleanCache (via ZCache backend)
ZCACHE is a new technology I introduced to Sensation Kernel. ZCACHE is a compressed cache similar to ZRAM but the similarity ends there. ZCache is meant to provide as many "cleancache" pages (non-dirty or untouched "virgin" memory) to apps that request for new memory. CleanCache is very easy to allocate and no additional penalty are required to hand them out, so having more CleanCache pages will improve performance. Under heavy memory pressure, often times the kernel will NOT have enough CleanCache pages, so the kernel has to do EXTRA work to reclaim dirty cache pages and clean them for the new apps that's requesting for them. The described process creates a performance hit for the kernel and the app, so the idea is to use compression to create more CleanCache pages available for use. Of course there's a penalty to pay for using compression, but the trade-off between compression penalty and the penalty for reclaiming dirty cache pages and allocating them after cleaning is smaller for compression, so in the end, CleanCache should add more performance.
Source : http://xdaforums.com/showthread.php?t=1359951
faux123 said:ZRAM (aka CompCache aka RAMZSwap)
ZRAM is an updated version formally known as CompCache and RAMZSwap. It was originally designed for 2.6.38.xx kernels, I have backported to our 2.6.35.xx kernel. ZRAM allows real-time compression of memory objects in RAM thus reducing memory pressure for the Linux kernel and can keep more apps in memory longer (more apps in RAM == better performance, less fetching from slower MMC or SDCard). Compression, however, is not Free. Some CPU cycles are required to do the compress/decompression, so there's a slight penalty for it. The original CompCache / RAMZSwap required a user space binary to control its behavior which adds additional penalty to performance, but the new version ZRAM eliminated the need for a separate dedicated daemon, thus reducing the overhead and increased performance from the old CompCache by 20%. Therefore, with the newer implementation of ZRAM interface, the performance penalty is almost negligible.
Source : http://xdaforums.com/showthread.php?t=1359951
Dark_Balor said:TerraSilent Governor
TerraSilent is completely based on the SmartAssV2 kernel with some improvement for the battery. When you are putting your device on sleeping/suspend, it's changing the frequency to 100Mz (if you set a minimum higher then that, it will be used instead) to avoid using too much battery when not needed, you can still listen to music without any lag. (if you experience some lag just change the minimum to 200Mhz).
It also less aggressive on ramp up the frequency, instead of always trying to reach the ideal frequency (400Mhz by default, I'll explain for tweaker all they can change if they want) it will try under frequency first (200Mhz if you were at 100Mhz before). Meaning using less battery.
By default when the load >= 85%, it will ramp up the frequency and if its lower than 35, ramp down it to an new frequency calculated using the current load.
insmod /lib/modules/zcache.ko
mkswap /dev/block/zram0
swapon /dev/block/zram0
echo terrasilent > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
debug_mask --> for debug (possible value 0(disabled),1,2,4)
up_rate_us --> µs to wait before ramp up
down_rate_us --> µs to wait before ramp down
sleep_ideal_freq --> Freq used when sleeping/suspend
sleep_wakeup_freq --> Freq use when waking up
awake_ideal_freq --> Freq ideal for daily usage
sample_rate_jiffies --> DON'T TOUCH UNLESS YOU KNOW WHAT YOU ARE DOING
ramp_up_step --> step used when ramp up in Hz (to calcule the new frequency) (0 = maximum freq will be used when ramp up)
ramp_down_step --> step used when ramp down in Hz (to calcule the new frequency) (0 = using heuristic to found the best new lowered freq)
max_cpu_load --> max load that trigger the freq change for ramp up
min_cpu_load --> min load that trigger the freq change for ramp down
#! /system/bin/sh
chmod +x my-script.sh
Someone else recommended Terrasilent over Steven's, but I'm just worried about performance issues from using Terrasilent after reading some posts about it. Why would you recommend Klin's R3 kernel over Terrasilent specifically? I notice in your sig you have the SGP 4.0 and are using CM11. Are there any side effects or issues that come with flashing that on the YP-G1 you've noticed? for instance, in the first post on the CM11 thread, there is a warning that the alarm may not work...I definitely need the alarm to work. have you noticed stuff like this? Any common problems I should watch out for if I flash it? Also, being a noob, I'm unsure if I need to flash a kernel with CM11 or if CM11 includes a kernel with it. Thanks for any advice and help again.