Jump to content


Photo

Compiling kernels for Streakdroid2.4xx


  • Please log in to reply
30 replies to this topic

#1
Gespecial

Gespecial

    Newbie

  • Members
  • Pip
  • 15 posts
  • Devices:Dell Streak 5
I have been trying my hand at cross compiling, with some success, kernels for this rom; based on the 4.05 source from Dell

using arm-eabi-4.4.3


I unpack and repack a boot.img utilizing my generated zImage. After flashing, I find that the device boots and everything works, but WIFI does not-

It will show up as an error on my streak in the wifi settings; I've tried both the broadcom drivers, and the generics settings in menuconfig

I have built one just using the config pulled from device via ADB, with no changes except to remove function to reset chip otherwise I get an error, yet I still do not get WIFI to function-

What is the best practices here for getting WIFI functional? I've read things regarding WPA SUPPLICANT, could this be my missing keystone?

Thanks!


  • 0

#2
Stephen Hyde

Stephen Hyde

    Hardcore

  • MoDaCo Gold
  • PipPipPipPipPipPip
  • 1,658 posts
  • Location:Durham, UK
  • Devices:Atrix, Dell Streak
  • Twitter:@dmonsterprod
You need to get the dhd.ko from your kernel build and put it in system/lib/hw

  • 0
Devices: Dell Streak(O2 MBB), Nokia E63(O2 PAYG), Nokia N900(T-Mobile Contract)| Notion Ink Adam(PixelQi+3G+WiFi | HTC Wildfire | Nexus One
Developing Android/Cyanogenmod for Streak - Please feel free to Donate : GBP Donate | USD Donate
Developing Officially For Notion Ink Adam - Please feel free to Donate: GBP Donate | USD Donate

#3
Gespecial

Gespecial

    Newbie

  • Members
  • Pip
  • 15 posts
  • Devices:Dell Streak 5
Thanks Steve!

  • 0

#4
Gespecial

Gespecial

    Newbie

  • Members
  • Pip
  • 15 posts
  • Devices:Dell Streak 5
Gkernel1.0 release

If any are interested I have compiled a kernel I have tested for one week
for use with 2.4 betas;

No overclock, about 14 hours battery life with moderate use, compiled from latest official dell source

If interested:

http://db.tt/3Iheb6ud

Extract

Flash the boot.img with fastboot.

Replace dhd.ko in system/lib/modules for wifi to function

If you want to go back to the original roms' kernel
Reflash the boot.img contained in the rom's zip, and also get the original dhd.ko back into the same path. you will find that also in the rom's zip.

I intend to continue further kernel work in the future.

-G

Edited by Gespecial, 02 November 2011 - 07:30 PM.

  • 0

#5
lordmorphous

lordmorphous

    Newbie

  • Members
  • Pip
  • 14 posts
Have you had any wifi issues or hangups with this? Every gingerbread romi have used had the wifi hang up when left idle. By this i mean it shows connected but there is no data throughput.

  • 0

#6
Gespecial

Gespecial

    Newbie

  • Members
  • Pip
  • 15 posts
  • Devices:Dell Streak 5

This may be a feature of the 'wifi sleep policy', in advanced under wi-fi settings-


I usually set mine to never.

I have noticed reboots to occur when you dont change this to either 'never or, never when plugged'

Otherwise, for your case, you may choose to stick with the Froyo builds kernels and roms, that are out there, many are very stable

Gkernels1.0 works best right now with the latest Gingerstreak 2.4.3.

  • 0

#7
Gespecial

Gespecial

    Newbie

  • Members
  • Pip
  • 15 posts
  • Devices:Dell Streak 5
Gkernels1.0 is compatible with the latest Gingerstreak 2.4.4,

same procedure to get it installed and or to revert to the original,

love the screen off cosmetics in portrait and landscape, featured in this rom!




  • 0

#8
krazman

krazman

    Newbie

  • Members
  • Pip
  • 35 posts
  • Gender:Male
  • Location:Oz, USA
  • Devices:Dell Streak 5

Gkernels1.0 is compatible with the latest Gingerstreak 2.4.4,


What benefit / advantage does your kernel provide over the kernel Steve provides in his GS 2.4.4? (I'm not being critical, only curious)

Thank you.
kraz

  • 0
Longhorn 1.0 + OC 1267 Quad 1920 (Currently)
Simple Streak 1.2 PerfUpdate + OC 1190 Quad 1942 (Formerly)
StreakDroid 1.9.0 PerfMod + OC 1190 Quad 2569 (Formerly)
4GB Cl.10 Internal SDHC
32GB Cl.10 External SDHC

#9
Gespecial

Gespecial

    Newbie

  • Members
  • Pip
  • 15 posts
  • Devices:Dell Streak 5
Gkernels1.0 is a basic kernel without overclocking, neither a benefit or an advantage really; an alternative.

Edited by Gespecial, 05 November 2011 - 07:30 PM.

  • 0

#10
80sLoveCHILD

80sLoveCHILD

    Regular

  • MoDaCo Silver
  • PipPip
  • 132 posts
  • Gender:Male
  • Devices:nexus 4, tf101, NSZ-GS7
foreword. i may have done something wrong.

i decided to give this a try cos im a curious kind of guy. flashed boot img with fastboot, no problem. boots fine. it seemed to boot faster than steves kernel in his 2.4.4 build, but this may be due to my low expectations, no offence.

i replaced dhd.ko like in was told.

wifi does not work. when i go to wifi settings it says error next to wifi.

any sugestions to what might fix it?

  • 0

#11
krazman

krazman

    Newbie

  • Members
  • Pip
  • 35 posts
  • Gender:Male
  • Location:Oz, USA
  • Devices:Dell Streak 5

Gkernels1.0 is a basic kernel without overclocking, neither a benefit or an advantage really; an alternative.

Thank you for explaining. Much appreciated!
kraz

  • 0
Longhorn 1.0 + OC 1267 Quad 1920 (Currently)
Simple Streak 1.2 PerfUpdate + OC 1190 Quad 1942 (Formerly)
StreakDroid 1.9.0 PerfMod + OC 1190 Quad 2569 (Formerly)
4GB Cl.10 Internal SDHC
32GB Cl.10 External SDHC

#12
Gespecial

Gespecial

    Newbie

  • Members
  • Pip
  • 15 posts
  • Devices:Dell Streak 5

wifi does not work. when i go to wifi settings it says error next to wifi.
any sugestions to what might fix it?


What could have happened is that the dhd.ko file did not actually overwrite-

or somewhere along the line, the correct or incorrect dhd.ko files were mistaken for each other;

you may try to delete the dhd.ko file on the device, then transfer the new one from Gkernels archive, with root explorer or total commander or the like.

there are a few ways to get the file in the correct path, I found adb to be effective in pushing the file to that path on the device by using this command:

adb push dhd.ko /system/lib/modules

I hope this is helpful.








  • 0

#13
maxicet

maxicet

    Newbie

  • Members
  • Pip
  • 31 posts
  • Devices:Dell Streak
trying your kernel since yesterday evening, and I think that it works very well, with no issues, stable and smooth....
I'm on my "maxicetdroid1.2", and they're a "nice couple", would you agree if I'll use it for my next release?

  • 0
From "Harry ti presento Sally" : Nessun uomo può essere amico di una donna che trova attraente: vuole sempre portarsela a letto.
- Allora stai dicendo che un uomo riesce a essere amico solo di una donna che non è attraente?
- No, di norma vuole farsi anche quella

#14
Gespecial

Gespecial

    Newbie

  • Members
  • Pip
  • 15 posts
  • Devices:Dell Streak 5

would you agree if I'll use it for my next release?


Interesting, absolutely;

My intentions are to continue to work with Gkernels1.0 to produce a 1.5 version.





  • 0

#15
maxicet

maxicet

    Newbie

  • Members
  • Pip
  • 31 posts
  • Devices:Dell Streak

Interesting, absolutely;

My intentions are to continue to work with Gkernels1.0 to produce a 1.5 version.






http://forum.xda-dev...d.php?t=1304727

  • 0
From "Harry ti presento Sally" : Nessun uomo può essere amico di una donna che trova attraente: vuole sempre portarsela a letto.
- Allora stai dicendo che un uomo riesce a essere amico solo di una donna che non è attraente?
- No, di norma vuole farsi anche quella

#16
Delirium77

Delirium77

    Newbie

  • Members
  • Pip
  • 8 posts

Gespecial - very stable rom. Very good work.

3 days and no reboot on StreakDroid 2.4.4 :)
I put your files into oryginal Steve's zipped rom, because I had problem with dhd.ko.
Keep working! :)

  • 0

#17
Gespecial

Gespecial

    Newbie

  • Members
  • Pip
  • 15 posts
  • Devices:Dell Streak 5
Thanks!

Gkernels1.3 is very close.






  • 0

#18
Gespecial

Gespecial

    Newbie

  • Members
  • Pip
  • 15 posts
  • Devices:Dell Streak 5
Gkernels1.3 Release

cross compiled using dell kernel source 4.05

Changes from 1.0:
Enable WiFi control function abstraction
Preallocate memory for WiFi buffers
Enable KSM for page merging
Use kernel mem{cpy,set}() for {copy_to,clear}_user() (EXPERIMENTAL)

available here http://db.tt/FHavOhAf

Same procedure to install, as listed above, for 1.0

-Greg

  • 0

#19
Delirium77

Delirium77

    Newbie

  • Members
  • Pip
  • 8 posts
Thanks :) I will try it today.

  • 0

#20
Delirium77

Delirium77

    Newbie

  • Members
  • Pip
  • 8 posts
Gespecial - I put your kernel 2 days ago into StreakDroid 2.4.4 beta 1 and it seems to be ok. More stable than oryginal kernel :)

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users