Kernel Development Discussion Thread

Discussion in 'Huawei Ideos S7 Development' started by razor950, Jan 19, 2011.

  1. razor950

    razor950 Member

    Joined:
    Nov 25, 2010
    Messages:
    71
    Likes Received:
    47
    Trophy Points:
    87
    Location:
    Florida
    Tablet / Device:
    Motorola Droid and Samsung Vibrant
    I made this thread to discuss kernel development with all users. I do recommend being on irc if you want to stay up to date on everything going on.

    Currently, I am going to optimize the stock firmware with a few extra features and optimizations plus overclock. I will update this post with a list of the features coming and optimizations.

    List of Current/Upcoming Features:
    Modified Scheduler (BFQ will most likely be tested)
    Modified Disk I/O and Memory Manager (Depends on a few things)
    Non-OC and Overclocked Kernels (I know some of you enjoy battery life :) )
    Surprise Feature(you won't know until its out :> )



    Please do not post unless you really have something to say that will be useful, I don't need no thank you posts, just click the thank button if anything :)
     
    Last edited: Jan 19, 2011
    • Like Like x 10
  2. SikYou

    SikYou Member

    Joined:
    Dec 25, 2010
    Messages:
    180
    Likes Received:
    17
    Trophy Points:
    87
    Location:
    Detroit
    Tablet / Device:
    S7
    Not a single reply?

    @Razor, sorry I missed you on IRC last night, I passed out lol. I have renewed my efforts at porting clockwork but the damn kernel framebuffering swap is standing in the way. I may have some time to stop by the IRC this week, hopefully we can do something with this kernel. The s7 is falling behind other tablets in the development area, we need new recruits ;)
     
  3. ivyvisors

    ivyvisors Senior Member

    Joined:
    Dec 29, 2010
    Messages:
    233
    Likes Received:
    52
    Trophy Points:
    102
    Location:
    melbourne
    Tablet / Device:
    huawai s7
    Hi Razor,

    Sorry I've not been on irc much over the last week or so, work has been chaos.

    ~Ivy
     
  4. ebarcus

    ebarcus Member

    Joined:
    Jan 13, 2011
    Messages:
    36
    Likes Received:
    9
    Trophy Points:
    72
    Location:
    Emerald-city
    Tablet / Device:
    S7
    Hey guys and gals, Stepped away for a week on the build, paying attention to some "eco" projects around the house, yatta...

    One area I was stomping around in pretty heavy was focusing on "s-off" methods from the HD2
    some of the latest methods i want to work on are these
    World's Most Rare Tricks!!~: ClockworkMod Recovery for HD2 - v1.1
    via
    magldr
    SPLrecovery

    I really want to see recovery working, after that Im all about cooking up some custom roms, already have some boot.imgs split and have a few update.zips waiting to load... to many projects to focus, will watch IRC and work with teams
     
  5. SikYou

    SikYou Member

    Joined:
    Dec 25, 2010
    Messages:
    180
    Likes Received:
    17
    Trophy Points:
    87
    Location:
    Detroit
    Tablet / Device:
    S7
    We're in IRC now (for a few more for me)
     
  6. xaueious

    xaueious Administrator Staff Member

    Joined:
    Jul 9, 2010
    Messages:
    3,483
    Likes Received:
    435
    Trophy Points:
    222
    Location:
    Canada
    Tablet / Device:
    Asus Transformer TF300, Huwaei Ideos S7-104, HSG X5A, (Past APAD IMX515, APAD RK2808, RK2818 RT7)
    Well my kernel booted.

    I didn't make any weird changes or anything. It just worked straight.

    [​IMG]
     
  7. SikYou

    SikYou Member

    Joined:
    Dec 25, 2010
    Messages:
    180
    Likes Received:
    17
    Trophy Points:
    87
    Location:
    Detroit
    Tablet / Device:
    S7
    Okay, i must need the dummy instructions cause i have tried a million times.

    Sent from my S7
     
  8. xaueious

    xaueious Administrator Staff Member

    Joined:
    Jul 9, 2010
    Messages:
    3,483
    Likes Received:
    435
    Trophy Points:
    222
    Location:
    Canada
    Tablet / Device:
    Asus Transformer TF300, Huwaei Ideos S7-104, HSG X5A, (Past APAD IMX515, APAD RK2808, RK2818 RT7)
    We can use https://github.com/cleaton/acer_kernel_koud for iptables by the way for reference, or it doesn't build properly. I will have to upload my source somewhere. Don't recall how to use GIT.

    This packs boot.img. This is working, but modifications are needed to repack recovery, because the cmdline might be different that what I specify.

    repack:
    Code:
    repack-H-S7.pl boot.img-kernel ramdisk boot.img
    
    pack new
    Code:
    repack-H-S7.pl zImage ramdisk boot.img
    
    where 'ramdisk' is the directory name. You'll see what I mean by base address in the .pl file

    Still have to figure out how to compile wifi to actually make changes to the kernel :(
     

    Attached Files:

  9. xaueious

    xaueious Administrator Staff Member

    Joined:
    Jul 9, 2010
    Messages:
    3,483
    Likes Received:
    435
    Trophy Points:
    222
    Location:
    Canada
    Tablet / Device:
    Asus Transformer TF300, Huwaei Ideos S7-104, HSG X5A, (Past APAD IMX515, APAD RK2808, RK2818 RT7)
    Until we figure out the kernel modules, we can't play around with changing the kernel too much. I don't think wifi was included in our sources, and I don't know how to compile a working driver for it.

    I'm not sure what we need for recovery.
     
  10. SikYou

    SikYou Member

    Joined:
    Dec 25, 2010
    Messages:
    180
    Likes Received:
    17
    Trophy Points:
    87
    Location:
    Detroit
    Tablet / Device:
    S7
    You do have to compile the wifi driver, I'll paste the commas here when I get to my pc.

    As for recovery, we need a port of clockwork. Easy enough to do once the kernel is corrected.

    Sent from my nonsensikal froyo
     
  11. joenilan

    joenilan Senior Member

    Joined:
    Feb 4, 2011
    Messages:
    208
    Likes Received:
    60
    Trophy Points:
    102
    Location:
    Philadelphia, Pennsylvania
    Tablet / Device:
    Huawei Ideos S7, HD2, HTC Tilt
    well if and when the kernel is ready, would a smartass governor be able to be applied like the kernels for the HD2, just throwing that out there if you havent used or read about it before.

    ([13 JAN][KERNEL] -=MDJ=- s10.3 (2.6.32.28) [OC1536-BFQ-CIFS-CFS-UTF8-EXT2/3/4] - xda-developers)

    "SMARTASS GOVERNOR - is based on the concept of the interactive governor. I have always agreed that in theory the way interactive works - by taking over the idle loop - is very attractive. I have never managed to tweak it so it would behave decently in real life. Smartass is a complete rewrite of the code plus more. I think its a success. Performance is on par with the "old" minmax and I think smartass is a bit more responsive. Battery life is hard to quantify precisely but it does spend much more time at the lower frequencies.
    Smartass will also cap the max frequency when sleeping to 245Mhz (or if your min frequency is higher than 245 - why?! - it will cap it to your min frequency). Lets take for example the 1460/245 kernel, it will sleep at 245. No need for sleep profiles any more!"
     
  12. SikYou

    SikYou Member

    Joined:
    Dec 25, 2010
    Messages:
    180
    Likes Received:
    17
    Trophy Points:
    87
    Location:
    Detroit
    Tablet / Device:
    S7
    I see no reason why we wouldn't be able to build a kernel with smartass.
     
  13. SikYou

    SikYou Member

    Joined:
    Dec 25, 2010
    Messages:
    180
    Likes Received:
    17
    Trophy Points:
    87
    Location:
    Detroit
    Tablet / Device:
    S7
    I've got the kernel compiled and booted with a few minor changes. I will try to go through all of the changes i want to make and get a test build out in the next few days. Everything running great so far ;)

    Sent from my S7
     
  14. elf310

    elf310 Member

    Joined:
    Jan 10, 2011
    Messages:
    42
    Likes Received:
    2
    Trophy Points:
    72
    Location:
    Indiana
    Tablet / Device:
    Ideos S7-104
    thats really good news, can you run cwr off of it? if so its time to start looking at aosp code and maybe skipping froyo and going right to gingerbread.
     
  15. xaueious

    xaueious Administrator Staff Member

    Joined:
    Jul 9, 2010
    Messages:
    3,483
    Likes Received:
    435
    Trophy Points:
    222
    Location:
    Canada
    Tablet / Device:
    Asus Transformer TF300, Huwaei Ideos S7-104, HSG X5A, (Past APAD IMX515, APAD RK2808, RK2818 RT7)
    We still need some work on recovery and the kernel source before we can cook some ROMs for Eclair, never mind other versions of Android
     

Share This Page