Jump to content


Photo

Kernel source

- - - - -

  • Please log in to reply
55 replies to this topic

#21
Nesli

Nesli

    Diehard

  • Members
  • PipPipPipPip
  • 414 posts
  • Gender:Male
  • Devices:HTC Sensation, Liquid MT, A1
  • Twitter:@nesliva
Guys, it´s time to OC :D 1,2/1,3 Ghz should be perfect for our device :)

  • 0

#22
hecatae

hecatae

    Hardcore

  • Moderator Team
  • PipPipPipPipPipPip
  • 3,224 posts
  • Gender:Male
  • Location:northampton
  • Devices:Samsung i9305
  • Twitter:@meritez
anyone uploaded to github or bitbucket yet?

this is a gingerbread chocolate kernel in the eyes of CAF

  • 0

#23
jikobutsu

jikobutsu

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,704 posts
  • Gender:Male
  • Devices:OSD
Anyone ?

How would we go about uploading to github ?
I have an account on github but that is as far as it went :lol:

Edited by jikobutsu, 02 June 2012 - 08:36 AM.

  • 0

#24
omegamoon

omegamoon

    Regular

  • Members
  • PipPip
  • 133 posts
I have compiled the sources "as-is" and surprisingly that went well. And still it doesn't work to fire up ICS... Do any of you know what the prerequisites are, kernel wise, for ICS? Do we really need a 3.0+ kernel because of support for specific Android feature A or B? Most of the Qualcomm devices are using a 3.0.8 kernel. I wonder why...

I'll try to see how much work it will be to port the device specific changes to a newer kernel. Taking the U8860 3.0.8 kernel as a base for instance

  • 0

#25
jikobutsu

jikobutsu

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,704 posts
  • Gender:Male
  • Devices:OSD
Tilal has cm9 on skate without 3.0 kernel maybe he would be able to give you more detail.

  • 0

#26
Davidoff59

Davidoff59

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,317 posts
  • Gender:Male
  • Devices:Orange San Francisco, G300
Ics for the Blade on arm v6 also on 2.6.37 kernel iirc

www.google.com/gwt/x?hl=en&u=http://www.xperiablog.net/2012/01/05/sony-ericsson-confirms-unchanged-kernel-for-android-4-0-ics-release/&client=ms-opera-mini-beta-android&q=kernel+needed+for+ics&ei=JuDJT6y8MsrF0QXg0LXFAQ&sa=X&ct=res&resnum=3&ved=0CBEQFjAC

Sony using the same gingerbread kernel as released for their ics update.


Did the phone boot, I take it that it didn't.

Does this help.

http://forum.xda-dev...22#post18613022

  • 0

#27
jikobutsu

jikobutsu

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,704 posts
  • Gender:Male
  • Devices:OSD
Good find there Davidoff59 :)

Edited by jikobutsu, 02 June 2012 - 10:34 AM.

  • 0

#28
omegamoon

omegamoon

    Regular

  • Members
  • PipPip
  • 133 posts
I tried all that already... and more! Doesn't seem to be enough unfortunately. The frustrating thing is that adb isn't started, so I'm unable to see what's going on (no logcat). Oh, and no logging gets created (no thombstones). The data partition is populated with all directories, even the dalvik-cache is populated up onto the services.jar. So it seems it gets to the point where the services are being started, and one of the core services crashes or hangs. I disabled most of the services, keeping only the core system intact. I also tried to add logwrapper to each of the services, in the hope it would generate any logging... unfortunately, it didn't.

If ICS should work with the 2.6.38.6 Gingerbread kernel then I just focus on that one first. Porting the msm7x27a specific changes to a 3.x kernel means a lot of work and is very error prone, so maybe I shouldn't go there.

  • 0

#29
jikobutsu

jikobutsu

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,704 posts
  • Gender:Male
  • Devices:OSD
This may be no help at all,but we had a similar log problem the past few days.No logcat app in market would work,and in the end tillaz found the solution.
System/bin/logcat had wrong permissions.
It probably as no effect on adb,but if you are using huawei rom it could be possible that setting permissions before flashing the rom could help.

  • 0

#30
Nesli

Nesli

    Diehard

  • Members
  • PipPipPipPip
  • 414 posts
  • Gender:Male
  • Devices:HTC Sensation, Liquid MT, A1
  • Twitter:@nesliva
And how about an OC kernel, it is ok to make it with kernel source, or it is still difficult?

  • 0

#31
jikobutsu

jikobutsu

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,704 posts
  • Gender:Male
  • Devices:OSD
OC should be no problem as we have source,just have to wait for a kernel dev to do it...........

  • 0

#32
raverrr

raverrr

    Recognised Ginger Ninja

  • Moderator Team
  • PipPipPipPipPipPip
  • 1,063 posts
  • Gender:Male
  • Devices:Moto G, ZTE Blate
I'm not a kernel dev but is this what needs tweaking in the kconfig?

if CPU_FREQ_MSM
config MSM_CPU_FREQ_SET_MIN_MAX
bool "Set Min/Max CPU frequencies."
default n
help
   Allow setting min and max CPU frequencies. Sysfs can be used
   to override these values.
config MSM_CPU_FREQ_MAX
int "Max CPU Frequency"
depends on MSM_CPU_FREQ_SET_MIN_MAX
default 384000
config MSM_CPU_FREQ_MIN
int "Min CPU Frequency"
depends on MSM_CPU_FREQ_SET_MIN_MAX
default 245760
endif # CPU_FREQ_MSM

  • 0
-If i've been helpfull to you in any way, press that little green thanks button

#33
jikobutsu

jikobutsu

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,704 posts
  • Gender:Male
  • Devices:OSD
I am willing to test that raverrr,I got my warrior face on today :lol:

Dont worry if it breaks my device,I just by new one,all for a good cause.

Edited by jikobutsu, 02 June 2012 - 12:54 PM.

  • 0

#34
razzmataz1478

razzmataz1478

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,215 posts
  • Gender:Male
  • Location:HULL
  • Interests:Flashing ROMs, Being distracted by my skate
  • Devices:ZTE Skate
Or this



#

# Timer Interrupt Frequency Configuration

#



choice

    prompt "Timer frequency"

    default HZ_250

    help

     Allows the configuration of the timer frequency. It is customary

     to have the timer interrupt run at 1000 Hz but 100 Hz may be more

     beneficial for servers and NUMA systems that do not need to have

     a fast response for user interaction and that may experience bus

     contention and cacheline bounces as a result of timer interrupts.

     Note that the timer interrupt occurs on each processor in an SMP

     environment leading to NR_CPUS * HZ number of timer interrupts

     per second.





    config HZ_100

        bool "100 HZ"

    help

      100 Hz is a typical choice for servers, SMP and NUMA systems

      with lots of processors that may show reduced performance if

      too many timer interrupts are occurring.



    config HZ_250

        bool "250 HZ"

    help

     250 Hz is a good compromise choice allowing server performance

     while also showing good interactive responsiveness even

     on SMP and NUMA systems. If you are going to be using NTSC video

     or multimedia, selected 300Hz instead.



    config HZ_300

        bool "300 HZ"

    help

     300 Hz is a good compromise choice allowing server performance

     while also showing good interactive responsiveness even

     on SMP and NUMA systems and exactly dividing by both PAL and

     NTSC frame rates for video and multimedia work.



    config HZ_1000

        bool "1000 HZ"

    help

     1000 Hz is the preferred choice for desktop systems and other

     systems requiring fast interactive responses to events.



endchoice



config HZ

    int

    default 100 if HZ_100

    default 250 if HZ_250

    default 300 if HZ_300

    default 1000 if HZ_1000



config SCHED_HRTICK

    def_bool HIGH_RES_TIMERS && (!SMP || USE_GENERIC_SMP_HELPERS)




  • 0

Posted Image

Current Phone:

Xperia T


Previous Phones:

Orange Monte Carlo

Nokia 5530 XpressMusic (Nokia C6-00 CFW)

Sony Ericsson v640i

Nokia 3120

Various other Nokia phones.

Not the best history of phones Posted Image


#35
raverrr

raverrr

    Recognised Ginger Ninja

  • Moderator Team
  • PipPipPipPipPipPip
  • 1,063 posts
  • Gender:Male
  • Devices:Moto G, ZTE Blate

I am willing to test that raverrr,I got my warrior face on today :lol:

Dont worry if it breaks my device,I just by new one,all for a good cause.

haha I am merely trying to help. I wouldn't post my own attempt because it would be my first kernel compile and more than likely borked.
If anyone with a bit of build experience wants to give it a go tho, I would also be happy to help test.

  • 0
-If i've been helpfull to you in any way, press that little green thanks button

#36
jikobutsu

jikobutsu

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,704 posts
  • Gender:Male
  • Devices:OSD
Do we have any kernel devs with a G300 ?
The only one I know who is good with overclocking kernel is K.K who had blade(sorry cannot remember his name,but he was often referred to as K.K)

edit: kallt kaffe

Edited by jikobutsu, 02 June 2012 - 01:14 PM.

  • 0

#37
razzmataz1478

razzmataz1478

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,215 posts
  • Gender:Male
  • Location:HULL
  • Interests:Flashing ROMs, Being distracted by my skate
  • Devices:ZTE Skate
I put the kernel up on github, how i want this phone!!

https://github.com/r...ce_huawei_u8815

  • 1

Posted Image

Current Phone:

Xperia T


Previous Phones:

Orange Monte Carlo

Nokia 5530 XpressMusic (Nokia C6-00 CFW)

Sony Ericsson v640i

Nokia 3120

Various other Nokia phones.

Not the best history of phones Posted Image


#38
Davidoff59

Davidoff59

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,317 posts
  • Gender:Male
  • Devices:Orange San Francisco, G300

  • 0

#39
Davidoff59

Davidoff59

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,317 posts
  • Gender:Male
  • Devices:Orange San Francisco, G300
Razzmatazz, your github link was working but its now showing 404 error

  • 0

#40
tilal6991

tilal6991

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 3,781 posts
  • Gender:Male
  • Devices:ZTE Skate, Huawei U8150
Right. I've ordered a G300 and although it's not for me I should be able to hack at it for a month so hopefully should get the ball rolling.

  • 3
If you like my work or if I helped, click the Plus button.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users