• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root 2.6.35.14 kernel for cm7

This is the best of three . The other 2 were in the high 1800's . :D
CM7 Beta5 w/ DATA2EXT
SD Card - 16g class 10

screenshot-1329458072056.png
 
No issues at all. Whole system booted up faster than normal. Everything seems snappier. No 3G issues from your regular kernel(2.6.35.14_CM7_B45_KRN). Did not have to turn on 3G at boot. Running CM7beta4-bhf3
 
Seems to be running well Hroark, I threw it on my phone with CM7 B5 and 3G and everything works fine. Phone seems overall snappier since.
 
here is some of the crapola i took out






drivers/dpram/dpram.c
@@ -176,7 +176,7 @@ struct pdp_info {
union {
/* Virtual serial interface */
struct {
- struct tty_driver tty_driver[NUM_PDP_CONTEXT]; // CSD, CDMA, TRFB, CIQ
+ struct tty_driver tty_driver[NUM_PDP_CONTEXT]; // CSD, CDMA, TRFB
int refcount;
struct tty_struct *tty_table[1];
struct ktermios *termios[1];
@@ -3170,9 +3170,7 @@ static int multipdp_init(void)
{ .id = 8, .ifname = "ttyEFS" },
{ .id = 5, .ifname = "ttyGPS" },
{ .id = 6, .ifname = "ttyXTRA" },
- { .id = 9, .ifname = "ttyCIQ1" },
- { .id = 27, .ifname = "ttyCIQ0" },
- { .id = 29, .ifname = "ttyCPLOG" },
+ { .id = 29, .ifname = "ttyCPLOG" },
};

/* create serial device for Circuit Switched Data */










drivers/staging/android/logger.c
@@ -34,114 +34,11 @@
static char klog_buf[256];
//}} pass platform log to kernel -1/3

-//{{ Add GAForensicHELP - 1/2

#include <linux/sched.h>
#include <linux/kthread.h>
#include <linux/delay.h>

-extern struct GAForensicINFO GAFINFO; // GAFINFO structure defined at sched.h file
-
-
-// define GAFHELP structure
-static struct GAForensicHELP{
- unsigned int real_pc_from_context_sp;
- unsigned int task_struct_of_gaf_proc;
- unsigned int thread_info_of_gaf_proc;
- unsigned int cpu_context_of_gaf_proc;
-}GAFHELP;
-
-// g_gaf_mutex : declare mutex for synchronization - but why?
-DECLARE_MUTEX(g_gaf_mutex);
-
-int gaf_proc(void* data)
-{
- volatile int stack[2];
-
- stack[0] = (int)('_***');
- stack[1] = (int)('corp');
-
- // Attempts to acquire the semaphore. If no more tasks are allowed to
- // acquire the semaphore, calling this function will put the task to sleep.
- // If the sleep is interrupted by a signal, this function will return -EINTR.
- // If the semaphore is successfully acquired, this function returns 0.
- // kernel/kernel/semaphore.c
- down_interruptible(&g_gaf_mutex);
- return 1;
-}
-
-// this module is executed by logger_init (that's start point!)
-void gaf_helper(void)
-{
- unsigned int *ptr_task_struct;
- unsigned int *ptr_thread_info;
- unsigned int *ptr_cpu_cntx;
- unsigned int ptr_sp, context_sp;
-
- //
- unsigned int fn_down_interruptible = (unsigned int)down_interruptible;
- unsigned int fn_down = (unsigned int)down;
-
-
- down_interruptible(&g_gaf_mutex);
- ptr_task_struct = kthread_create(gaf_proc, NULL, "gaf-proc");
- wake_up_process(ptr_task_struct);
- msleep(100);
-
- //
- ptr_thread_info = *(unsigned int*)((unsigned int)ptr_task_struct + GAFINFO.task_struct_struct_stack);
- ptr_cpu_cntx = (unsigned int)ptr_thread_info + GAFINFO.thread_info_struct_cpu_context;
-
- //
- GAFHELP.task_struct_of_gaf_proc = ptr_task_struct;
- GAFHELP.thread_info_of_gaf_proc = ptr_thread_info;
- GAFHELP.cpu_context_of_gaf_proc = ptr_cpu_cntx;
-
- printk(KERN_INFO, "\n========== kernel thread : gaf-proc ==========\n");
- printk(KERN_INFO, "task_struct at %x\n", ptr_task_struct);
- printk(KERN_INFO, "thread_info at %x\n\n", ptr_thread_info);
-
- printk(KERN_INFO, "saved_cpu_context at %x\n", ptr_cpu_cntx);
- printk(KERN_INFO, "%08x r4 :%08x r5 :%08x r6 :%08x r7 :%08x\n", ((unsigned int)ptr_cpu_cntx + 0x00),
- *(unsigned int*)((unsigned int)ptr_cpu_cntx + 0x00), *(unsigned int*)((unsigned int)ptr_cpu_cntx + 0x04), *(unsigned int*)((unsigned int)
- ptr_cpu_cntx + 0x08), *(unsigned int*)((unsigned int)ptr_cpu_cntx + 0x0c));
- printk(KERN_INFO, "%08x r8 :%08x r9 :%08x r10:%08x r11:%08x\n", ((unsigned int)ptr_cpu_cntx + 0x10),
- *(unsigned int*)((unsigned int)ptr_cpu_cntx + 0x10), *(unsigned int*)((unsigned int)ptr_cpu_cntx + 0x14), *(unsigned int*)((unsigned int)
- ptr_cpu_cntx + 0x18), *(unsigned int*)((unsigned int)ptr_cpu_cntx + 0x1c));
- printk(KERN_INFO, "%08x sp :%08x pc :%08x \n\n", ((unsigned int)ptr_cpu_cntx + 0x20),
- *(unsigned int*)((unsigned int)ptr_cpu_cntx + 0x20), *(unsigned int*)((unsigned int)ptr_cpu_cntx + 0x24));
- ptr_sp = context_sp = *(unsigned int*)((unsigned int)ptr_cpu_cntx + GAFINFO.cpu_context_save_struct_sp);
-
- printk(KERN_INFO, "searching saved pc which is stopped in down_interruptible() from %08x to %08x\n", ptr_sp, (unsigned int)ptr_thread_info + THREAD_SIZE);
- printk(KERN_INFO, "down_interruptible() is from %08x to %08x\n\n", fn_down_interruptible, fn_down);
-
- while(ptr_sp < (unsigned int)ptr_thread_info + THREAD_SIZE) {
- //printk(KERN_INFO "%08x at %08x\n", *(unsigned int*)ptr_sp, ptr_sp);
- if( fn_down_interruptible <= *(unsigned int*)ptr_sp && *(unsigned int*)ptr_sp < fn_down ) {
- printk(KERN_INFO, "pc (%08x) is found at %08x\n", *(unsigned int*)ptr_sp, ptr_sp);
- break;
- }
- ptr_sp += 4;
- }
-
- if(ptr_sp < (unsigned int)ptr_thread_info + THREAD_SIZE ) {
- GAFHELP.real_pc_from_context_sp = ptr_sp -context_sp;
- printk(KERN_INFO, "%08x r4 :xxxxxxxx r5 :%08x r6 :%08x r7 :%08x\n", (ptr_sp -0x2c),
- *(unsigned int*)(ptr_sp -0x28), *(unsigned int*)(ptr_sp -0x24), *(unsigned int*)(ptr_sp -0x20));
- printk(KERN_INFO, "%08x r8 :%08x r9 :%08x r10:%08x r11:%08x\n", (ptr_sp -0x1c),
- *(unsigned int*)(ptr_sp -0x1c), *(unsigned int*)(ptr_sp -0x18), *(unsigned int*)(ptr_sp -0x14), *(unsigned int*)(ptr_sp -0x10));
- printk(KERN_INFO, "%08x r12:%08x sp :%08x lr :%08x pc :%08x\n", (ptr_sp -0x0c),
- *(unsigned int*)(ptr_sp -0x0c), *(unsigned int*)(ptr_sp -0x08), *(unsigned int*)(ptr_sp -0x04), *(unsigned int*)(ptr_sp -0x00));
- } else {
- GAFHELP.real_pc_from_context_sp = 0xFFFFFFFF;
- printk(KERN_INFO, "pc is not found\n");
- }
- printk(KERN_INFO, "===================\n\n");
-}
-
-//}} Add GAForensicHELP - 1/2
-
-


/*
@@ -831,9 +728,6 @@ static int __init logger_init(void)
{
int ret;

- //{{ Add GAForensicHELP - 2/2
- gaf_helper();
- //}} Add GAForensicHELP - 2/2

/* Mark for GetLog */
plat_log_mark.p_main = _buf_log_main+0x03000000;
@@ -841,19 +735,9 @@ static int __init logger_init(void)
plat_log_mark.p_events = _buf_log_events+0x03000000;
plat_log_mark.p_system = _buf_log_system+0x03000000;
marks_ver_mark.log_mark_version = 1;
-#if defined(CONFIG_MACH_VINO) || defined(CONFIG_MACH_GIOS)
if ((hw_version >= 7)||(hw_version == 90)) {
marks_ver_mark.first_size = (256+128)*1024*1024;
}
-#elif defined(CONFIG_MACH_RANT3)
- if (hw_version >= 4) {
- marks_ver_mark.first_size = (256+256)*1024*1024;
- }
-#else
- if (hw_version > 0) {
- marks_ver_mark.first_size = (256+128)*1024*1024;
- }
-#endif
printk(KERN_INFO "logger(%s):hw_version=%d\n",__func__,hw_version);

ret = init_log(&log_main);
 
I'm trying out the 263514_CM7_B45_KRN_DT2EXT while running beta 5, only things i've noticed so far, is whenever i send a normal text message, my signal drops down to 1x, then afterwards comes back up to 3g, side note, i'm still having issues with the notification bar freezing up when trying to sweep away individual notifications. Other than that it's pretty set
c3970a175570359
 
Dt2ext just says android and looks at me like I'm a math problem. NORMAL???

NON dt2ext loads up quick. No issues here.

Benchmark test 1395.
Original benchmark cm7 1411
Both # are the total.
I have screen shots. Can't upload from my phone.
Ill email them if you need. Just pm me.
 
I'm trying out the 263514_CM7_B45_KRN_DT2EXT while running beta 5, only things i've noticed so far, is whenever i send a normal text message, my signal drops down to 1x, then afterwards comes back up to 3g, side note, i'm still having issues with the notification bar freezing up when trying to sweep away individual notifications. Other than that it's pretty set
c3970a175570359
That is normal, that is the way its intended.

normal sms messages do not go over evdo they go the slower 1x method. stock roms dont show you this as it can confuse people.
 
Dt2ext just says android and looks at me like I'm a math problem. NORMAL???

NON dt2ext loads up quick. No issues here.

Benchmark test 1395.
Original benchmark cm7 1411
Both # are the total.
I have screen shots. Can't upload from my phone.
Ill email them if you need. Just pm me.

No that is not normal... A the ext kernel boots just the same for me

Is your sd card partitioned?
 
Lmao!!!! Well, ya learn something new everyday . I was thinking that the notifications disappearing when slid to the side was a glitch. Duh, hand slapping forehead! Nice to know that's what they're supposed to do. :o
 
That is normal, that is the way its intended.

normal sms messages do not go over evdo they go the slower 1x method. stock roms dont show you this as it can confuse people.

ah ok, this is the first time i've actually seen it show at all, the other versions of cm7 didn't display this that i noticed,
 
New issue I found on this, Whenever an incoming call comes in from my google voice, the call will cut out somewhere around the same time the screen would lock/dim, not sure if that's the new kernal or the new beta 5
 
New issue I found on this, Whenever an incoming call comes in from my google voice, the call will cut out somewhere around the same time the screen would lock/dim, not sure if that's the new kernal or the new beta 5
you need to go to menu settings wifi press menu go to advanced and go to wifi turn off it is set to turn off on screen off set it to never.
 
you need to go to menu settings wifi press menu go to advanced and go to wifi turn off it is set to turn off on screen off set it to never.

the wifi sleep policy is already set to never, also I'm not even refering to when i use the google voice app, i had it on my phone for a bit, had the issue, decided to clear everything on the phone, all the cache and all, reformatted my sd card again, put only the basics back on it, and reflashed everything, beta5 and the new kernal, (gonna go flash the one that was released today in a few mins) but i didn't put the google voice app back on my phone this time, and still when i get an incoming call it cuts out within mmm about 15 seconds or so, around the same time it locks. If i understand correctly, even thought it's VOIP it doesn't use the data connection to receive this call, though i could be wrong on that.
 
New issue I found on this, Whenever an incoming call comes in from my google voice, the call will cut out somewhere around the same time the screen would lock/dim, not sure if that's the new kernal or the new beta 5


so it did work on beta 4 ?
 
i think the whole thing with apps disapearing was that we were using both mounts lines to kind of have a fail over, and maybe the sd-card just was not quick enough at times, so it mounted the internal


that is why on this kernel i made 2 versions
Sorry about the crappy looking attachment I sent its a pain in the ass working with the phone when yer only internet source is yer phone.
 
Lmao!!!! Well, ya learn something new everyday . I was thinking that the notifications disappearing when slid to the side was a glitch. Duh, hand slapping forehead! Nice to know that's what they're supposed to do. :o

Now THAT is funny. I actually realized this from reading your post yesterday.

That slide sideways thing is pretty handy.

Thanks again, Biker! LOL.
 
Back
Top Bottom