Page 1 of 2 12 LastLast
Results 1 to 15 of 17

Thread: kernel question

  1. #1
    offline So I Hear You Can Mod
    Join Date
    Jun 2010
    Posts
    196
    Thanks
    2
    Thanked 19 Times in 19 Posts
    Downloads
    21
    Uploads
    0

    kernel question

    I want to know a few things:

    How do i add kb7's patches? i have them downloaded, just dont know what to do. since jr0dd has the cliq overclocked, im assuming all im gonna have to do is implement the acpuclock.c file from him into the kernel. Am I right?Also, i want to add tethering support and swap. After alot of googling, i cant find out how to do this.

    I appreciate the help
    Last edited by blancoisgod; 12-06-2010 at 05:10 PM.

  2. #2
    offline So I Hear You Can Mod
    Join Date
    Jun 2010
    Location
    Australia
    Posts
    489
    Thanks
    17
    Thanked 123 Times in 99 Posts
    Downloads
    16
    Uploads
    0
    I pm'd how to do init.d, it is quite a simple change to init.rc, I learnt this from Alex/adumont. Of course it isn't easy to make a patch to achieve this as init.rc is in the boot.img which differs for every custom f/w typically released and is in a part of the f/w that can't be made writable during runtime or thru recovery unlike the /system system.img.
    As init.rc is part of the ramdisk, you have to unpack and repack the boot.img you want to mod (I use the perl scripts in a linux box to achieve this to maintain file permissions etc).

  3. #3
    offline So I Hear You Can Mod
    Join Date
    Jun 2010
    Posts
    196
    Thanks
    2
    Thanked 19 Times in 19 Posts
    Downloads
    21
    Uploads
    0
    lol ignore my pm

    Guys i need help.
    :/
    Last edited by blancoisgod; 12-06-2010 at 05:10 PM. Reason: Automerged Doublepost

  4. #4
    offline So I Hear You Can Mod
    Join Date
    Jun 2010
    Location
    Australia
    Posts
    489
    Thanks
    17
    Thanked 123 Times in 99 Posts
    Downloads
    16
    Uploads
    0
    How about a link to the patches you are talking about... help us to help you.

  5. #5
    offline So I Hear You Can Mod
    Join Date
    Jun 2010
    Posts
    196
    Thanks
    2
    Thanked 19 Times in 19 Posts
    Downloads
    21
    Uploads
    0
    cliq-2.6.29.6.patches.tgz

    these patches by kb7. I cant for the life of me find out how to apply these.

  6. #6
    offline Of Mice and Modders
    Join Date
    Sep 2010
    Location
    Gosport. United Kingdom
    Posts
    94
    Thanks
    3
    Thanked 17 Times in 14 Posts
    Downloads
    1
    Uploads
    0
    If you guys can figure this out it'll be awesome, would it be possible for a how-to guide once you get it working?

    Ryan

    Sent From My Rooted Dext Running J_r0dd's The Official v1.3 Via Tapatalk
    Phone - HTC Desire
    ROM - GingerVillain 1.6
    Recovery - AmonRa 2.0.0

    Gone but not forgotten ---- Motorola Dext/Cliq

  7. #7
    csolanol's Avatar
    offline So I Hear You Can Mod
    Join Date
    Feb 2010
    Posts
    209
    Thanks
    20
    Thanked 128 Times in 59 Posts
    Downloads
    16
    Uploads
    0
    $motorola-source/kernel: patch -p1 < patch/01...
    $motorola-source/kernel: patch -p1 < patch/02...
    $motorola-source/kernel: patch -p1 < patch/03...
    ...
    Phone: Dext (rooted) Operator: Vodafone Espaņa
    ROM: CM4Morrison (custom kernel 2.6.29-6)
    Recovery: ClockWorkMod
    Theme: Launcher Pro.
    Follow me on twitter
    Donate:

  8. #8
    offline So I Hear You Can Mod
    Join Date
    Jun 2010
    Posts
    196
    Thanks
    2
    Thanked 19 Times in 19 Posts
    Downloads
    21
    Uploads
    0
    ok I got the kernel ready to be compiled, but i am still stuck on trying to compile. I made all my variables but it says make isnt a command. what gives?
    Last edited by blancoisgod; 12-08-2010 at 06:17 PM. Reason: Automerged Doublepost

  9. #9
    adlx's Avatar
    online Maker of adlxmod
    Join Date
    Jan 2010
    Location
    Madrid, Spain
    Posts
    1,034
    Thanks
    610
    Thanked 1,485 Times in 366 Posts
    Downloads
    30
    Uploads
    0
    Quote Originally Posted by sacarino2k2 View Post
    -source/kernel: patch -p1 < patch/01...
    -source/kernel: patch -p1 < patch/02...
    -source/kernel: patch -p1 < patch/03...
    ...
    or

    Code:
    -source/kernel: cat patch/*.patch | patch -p1
    Download my 1-click Recovery Flasher to flash a custom or stock recovery to your phone: Cliq, CliqXT, Backflip, ...

    Like my work? Support me: & visit my adlxmod site and follow me on Twitter
    Tambien me puedes encontrar en Movilzona (Esp)

  10. #10
    offline So I Hear You Can Mod
    Join Date
    Jun 2010
    Posts
    196
    Thanks
    2
    Thanked 19 Times in 19 Posts
    Downloads
    21
    Uploads
    0
    alright, ia pplied the patches, added init.d support, and added Beach_head acpuclock.c. the kernel Compiled, yay.

    Unfortunately it wont boot, and i need some help there...I get stuck at the white screen for like 10 seconds, then the phone powers off, then reboots. it is constantly doing this

  11. #11
    offline So I Hear You Can Mod
    Join Date
    Aug 2010
    Location
    Manila, Philippines
    Posts
    206
    Thanks
    13
    Thanked 74 Times in 38 Posts
    Downloads
    9
    Uploads
    0
    Did you set the governor in the config file?

    By default, it is set to use performance. Change it to ondemand or better yet, userspace

    Quote Originally Posted by blancoisgod View Post
    alright, ia pplied the patches, added init.d support, and added Beach_head acpuclock.c. the kernel Compiled, yay.

    Unfortunately it wont boot, and i need some help there...I get stuck at the white screen for like 10 seconds, then the phone powers off, then reboots. it is constantly doing this
    SUPPORT your friendly neighborhood DEVELOPERS.

    If you like my work, click HERE
    .

  12. #12
    offline So I Hear You Can Mod
    Join Date
    Jun 2010
    Posts
    196
    Thanks
    2
    Thanked 19 Times in 19 Posts
    Downloads
    21
    Uploads
    0
    [MENTION=3083771]Bea[/MENTION]ch head

    how would i do that? how would i change the config file
    Last edited by blancoisgod; 12-10-2010 at 04:46 AM.

  13. #13
    offline So I Hear You Can Mod
    Join Date
    Aug 2010
    Location
    Manila, Philippines
    Posts
    206
    Thanks
    13
    Thanked 74 Times in 38 Posts
    Downloads
    9
    Uploads
    0
    issue the command: make menuconfig
    SUPPORT your friendly neighborhood DEVELOPERS.

    If you like my work, click HERE
    .

  14. #14
    adlx's Avatar
    online Maker of adlxmod
    Join Date
    Jan 2010
    Location
    Madrid, Spain
    Posts
    1,034
    Thanks
    610
    Thanked 1,485 Times in 366 Posts
    Downloads
    30
    Uploads
    0
    Quote Originally Posted by Beach_Head View Post
    Did you set the governor in the config file?

    By default, it is set to use performance. Change it to ondemand or better yet, userspace
    I used to do that before with my custom kernel for Cliq. People were having sometime a reboot loop issue in change-only mode (when u plug the powered-off phone to the outlet).

    Changing back the CPU governor to Performance solved the reboot loop on charge-only mode.

    Now in my roms I set Ondemand cpu governor using userland commands (/proc) instead of changing it in the kernel. That way, I get the same effect, but not the reboot-loop side effect in charge only mode.
    Download my 1-click Recovery Flasher to flash a custom or stock recovery to your phone: Cliq, CliqXT, Backflip, ...

    Like my work? Support me: & visit my adlxmod site and follow me on Twitter
    Tambien me puedes encontrar en Movilzona (Esp)

  15. The Following User Says Thank You to adlx For This Useful Post:

    mmdl1001 (12-14-2010)

  16. #15
    offline So I Hear You Can Mod
    Join Date
    Jun 2010
    Posts
    196
    Thanks
    2
    Thanked 19 Times in 19 Posts
    Downloads
    21
    Uploads
    0
    how would i go about doing that adlx?

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •