[CWM5][KERNEL] Galaxy Reaver (Beta)

LaroCroft

Senior Member
Apr 29, 2007
74
2
0
Hi

I'd like three report two bugs on my device:

1. Playing music and switching screen off

This results in a total crash with battery pull

2. Wifi Tethering

It's not wirking for me too

3. Lock screen behaviour

I realized this in stock ROM before. You can set the timeout until a lock pattern is displayed in settings. So switching off the screen short and switching it on again => no lock pattern. Switching off longer than the timeout => lock pattern is displayed.

I had this on my Desire HD perfectly working. On Note the lock pattern is displayed almost every time I switch on the device

4. Shortcuts on Lockscreen?

In many Youtube videos you can see the 4 buttom buttons from the launcher in lockscreen to start a application directly from here. This is missing for some reason in the final ROM. Maybe you can do something here?

Regards
Frank
 

walda

Senior Member
Apr 2, 2010
1,387
249
0
No problem with music. Not in std app and not in power amp.

Only wifi tethering. Fine that I'm not alone.

sent from my Galaxy Note via T*patalk
 

Kevincod

Senior Member
May 9, 2011
64
32
0
I found the tethering issues, iptables seems to crash in some cases with stock source but not on stock kernel. It appears samsung is providing the wrong source in one way or another because kernel modules build from source do not work either on stock kernel. Yes i am using proper toolchain and version numbering.

crashes on lock and music sounds weird though. so does your lock issues since i cant think of a way the kernel is affecting that. Ive been using this build all day and besides a few iptable crashes I've had no other issues. Ill work on it.

Sent from my GT-N7000 using xda premium
 
Last edited:
  • Like
Reactions: walda

netchip

Senior Member
Sep 2, 2011
1,154
630
0
I found the tethering issues, iptables seems to crash in some cases with stock source but not on stock kernel. It appears samsung is providing the wrong source in one way or another because kernel modules build from source do not work either on stock kernel. Yes i am using proper toolchain and version numbering.

crashes on lock and music sounds weird though. so does your lock issues since i cant think of a way the kernel is affecting that. Ive been using this build all day and besides a few iptable crashes I've had no other issues. Ill work on it.

Sent from my GT-N7000 using xda premium
Please PM back ;)

Sent from my GT-I9100
 

LaroCroft

Senior Member
Apr 29, 2007
74
2
0
I am having this issue with completely crashing now also in browser. Phone goes to sleep and cannot be switched on again. I uninstalled the custom locker I am using. See if it will help.

Sent from my GT-N7000 using XDA App
 

LaroCroft

Senior Member
Apr 29, 2007
74
2
0
Another issue

Opening an unread mail in Mail app results in FC. Reading the mail again after FC works.

Tested with Exchange sync. Already did data delete and reconfiguration of mail account

Sent from my GT-N7000 using XDA App
 

LaroCroft

Senior Member
Apr 29, 2007
74
2
0
Another issue

Opening an unread mail in Mail app results in FC. Reading the mail again after FC works.

Tested with Exchange sync. Already did data delete and reconfiguration of mail account

Sent from my GT-N7000 using XDA App
Solved after complete reinstall

---------- Post added at 11:36 PM ---------- Previous post was at 11:35 PM ----------

I am having this issue with completely crashing now also in browser. Phone goes to sleep and cannot be switched on again. I uninstalled the custom locker I am using. See if it will help.

Sent from my GT-N7000 using XDA App
Solved after reinstall, but I think problem appears if you use SetCPU to reduce cpu rate on screen off. I set it to 200-500. This results in random locks when screen is off.
 

netchip

Senior Member
Sep 2, 2011
1,154
630
0
I'm starting to play with the source, haven't pushed it to github yet, maybe worth putting yours there to open up development?

could do with an IRC channel.

#gnote_kernel on irc.freenode.net do?
Yeah, good idea, but open the channel for all kernel developers.



Sent from my GT-I9100
 

sibere

Retired Recognized Developer
May 14, 2006
2,055
375
0
Paris
Ok, I know it is a hard way to go, but we know from SGS2 development, that patching the Kernel to 2.6.35.14 solves the high Android OS usage. The SiyahKernel does it, and it works very well. Performance, stability and battery lifetime are excellent using this Kernel:
http://forum.xda-developers.com/showthread.php?t=1263838

Since AOSP Roms are (so far) not working on the Note, it is not necessary to support both ROM types.

But the following features would be nice (in this order) :D:
- 2.6.35.14
- OC/UV
- Automatic EFS Backups
- init.d support
- generic tweaks and optimizations
- higher charge Current
- more CPU governors
- more I/O schedulers
- (maybe BLN? I don't use it)

Of course this is only my personal point of view. Others may think different. ;)
Regarding CPU govs, "interactive" is available in sources but is apparently not included in the build config by samsung. I'm building my kernel with this option ATM but still waiting for my Note to give it a try ;)
So to anyone willing to compile a Kernel, just tick the "interactive" CPU gov and make it default :)
Interactive is much much better than "on demand" for interactivity.
For info, the voltage settings for the CPU seems to be in arch/arm/mach-s5pv310/cpufreq_high.c

I think that UV is more interesting than OC, especially regarding battery life ;)

for I/O scheduler, the recommended one for flash memory is deadline and is included in the sources and kernel.
 
Last edited:

RiverSource

Senior Member
Sep 22, 2010
187
299
0
So to anyone willing to compile a Kernel, just tick the "interactive" CPU gov and make it default :)
Yes, I have done it, and it works.

For info, the voltage settings for the CPU seems to be in arch/arm/mach-s5pv310/cpufreq_high.c
Yes, and there the problems begin. Since so far all the CPUs ware using the cpufreq.c. The cpufreq_high.c was introduced with the CPUs above 1.2 GHz, and the Note is the first device using it. Unfortunately the cpufreq_high.c is completely different from cpufreq.c, therefore existing patches regarding overclocking and undervolting can't be used.

I think that UV is more interesting than OC, especially regarding battery life ;)
I tried a lot of UV on my SGS2. It had absolutely no effect.
 

sibere

Retired Recognized Developer
May 14, 2006
2,055
375
0
Paris
Yes, I have done it, and it works.


Yes, and there the problems begin. Since so far all the CPUs ware using the cpufreq.c. The cpufreq_high.c was introduced with the CPUs above 1.2 GHz, and the Note is the first device using it. Unfortunately the cpufreq_high.c is completely different from cpufreq.c, therefore existing patches regarding overclocking and undervolting can't be used.


I tried a lot of UV on my SGS2. It had absolutely no effect.
Do you find the note more responsive with interactive?

for UV, have you tried to play with this bit of code in cpufreq_high?
Code:
static unsigned int s5pv310_asv_cpu_volt_table[ASV_GROUP_END][CPUFREQ_LEVEL_END] = {
        { 1350000, 1300000, 1200000, 1125000, 1050000, 1025000 },       /* SS */
        { 1350000, 1250000, 1150000, 1075000, 1000000, 975000 },        /* A */
        { 1300000, 1200000, 1100000, 1025000, 950000, 950000 }, /* B */
        { 1250000, 1150000, 1050000, 975000, 950000, 950000 },  /* C */
        { 1225000, 1125000, 1025000, 950000, 950000, 950000 },  /* D */
};

/* level 1 and 2 of vdd_int uses the same voltage value in U1 project */
static unsigned int asv_int_volt_table[ASV_GROUP_END][LV_END] = {
        { 1150000, 1050000, 1050000 },  /* SS */
        { 1125000, 1025000, 1025000 },  /* A */
        { 1100000, 1000000, 1000000 },  /* B */
        { 1075000, 975000, 975000 },    /* C */
        { 1050000, 950000, 950000 },    /* D */
};

static struct cpufreq_voltage_table s5pv310_volt_table[CPUFREQ_LEVEL_END] = {
        {
                .index          = L0,
                .arm_volt       = 1350000, /*1400000,*/
                .int_volt       = 1100000,
        }, {
                .index          = L1,
                .arm_volt       = 1300000,
                .int_volt       = 1100000,
        }, {
                .index          = L2,
                .arm_volt       = 1200000,
                .int_volt       = 1100000,
        }, {
                .index          = L3,
                .arm_volt       = 1100000,
                .int_volt       = 1100000,
        }, {
                .index          = L4,
                .arm_volt       = 1000000,
                .int_volt       = 1000000,
        }, {
                .index          = L5,
                .arm_volt       = 975000,
                .int_volt       = 1000000,
        },
};
#else
static struct cpufreq_voltage_table s5pv310_volt_table[CPUFREQ_LEVEL_END] = {
        {
                .index          = L0,
                .arm_volt       = 1350000, /*1400000,*/
                .int_volt       = 1100000,
        }, {
                .index          = L1,
                .arm_volt       = 1300000,
                .int_volt       = 1100000,
        }, {
                .index          = L2,
                .arm_volt       = 1200000,
                .int_volt       = 1100000,
        }, {
                .index          = L3,
                .arm_volt       = 1100000,
                .int_volt       = 1100000,
        }, {
                .index          = L4,
                .arm_volt       = 1000000,
                .int_volt       = 1000000,
        }, {
                .index          = L5,
                .arm_volt       = 950000,
                .int_volt       = 1000000,
        },
};
#endif
 

netchip

Senior Member
Sep 2, 2011
1,154
630
0
Yes.


No. In my opinion it is more or less senseless to enter static values here. Every CPU is different, and the UV Values have to be figured out individually. I would prefer a solution with SetCPU or Voltage Control.
In the config file there is an option for disable 1.4GHz, it it dont works, I must fix that.

Sent from my GT-I9100
 

sibere

Retired Recognized Developer
May 14, 2006
2,055
375
0
Paris
No. In my opinion it is more or less senseless to enter static values here. Every CPU is different, and the UV Values have to be figured out individually. I would prefer a solution with SetCPU or Voltage Control.
You're right here.
I can build an UV kernel tuned to my own CPU, but one need an adjustable for a public release.
I have used on my htc desire kernel a VDD levels patch, with an interface to tune the values for each and every frequency. I wonder if it can be ported to this kernel.
 
Last edited: