Kernel 2.6.32-2.6.25 and initrd update with lot of changes

Search This thread

l1q1d

Retired Recognized Developer
Sep 19, 2008
1,134
95
Venice
www.tech-team.it
Could you please submit the log?
use adb and copy the output of logcat and dmesg in pastebin.
Debugging is really difficult in a close box...
 

tiagoclc

Senior Member
Nov 16, 2008
250
20
Ok, I'll do it later when I get home. Thanks!

Sent from my CyanogenMod Kaiser/Kaiser using XDA App
 

tiagoclc

Senior Member
Nov 16, 2008
250
20
Sorry for the delay, but my sister got my usb cable for use with the camera and the cable is gone.

results in 5 minutes

Logcat
Code:
cmp=com.android.settings/.WirelessSettings }
D/SettingsWifiEnabler( 1117): Received wifi state changed from Enabling to Unknown
I/ActivityManager(  248): Displayed activity com.android.settings/.WirelessSettings: 361 ms (total 361 ms)
E/WifiService(  248): Failed to load Wi-Fi driver.
D/SettingsWifiEnabler( 1117): Received wifi state changed from Unknown to Enabling
W/Settings(  529): Setting location_providers_allowed has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.
D/SettingsWifiEnabler( 1117): Received wifi state changed from Enabling to Unknown
W/Settings(  529): Setting location_providers_allowed has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.
E/WifiService(  248): Failed to load Wi-Fi driver.
D/SettingsWifiEnabler( 1117): Received wifi state changed from Unknown to Enabling
D/SettingsWifiEnabler( 1117): Received wifi state changed from Enabling to Unknown
W/Settings(  529): Setting location_providers_allowed has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.
W/Settings(  529): Setting location_providers_allowed has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.


Dmesg:
Code:
[  719.031112] android_power: wakeup (2->0) at 2314320441662 (2011-01-24 22:35:47.169363333 UTC)
[  719.040863] android_power_suspend: done
[  719.056520] mddi early_resume
[  719.060942] mddi0_client_power(1)
[  719.148985] fus
[  719.172488] fake_vsync_int for update
[  719.191810] mddi0_panel_power(1) type=3
[  719.980008] VIBRATE 0
[  720.013465] VIBRATE 99
[  720.040273] Audio Open
[  720.040345] audmgr_open: not closed
[  720.040453] audio_ioctl 80046103
[  720.040523] audio_ioctl 40046104
[  720.040935] audio_enable()
[  720.040997] rpc_write(66,0,2,30000013,0,1,0,0,0,0,1,0,9,5,4,4,1,ae9bc0,)
[  720.043872] rpc_read_reply(66,1,0)
[  720.043935] audmgr_enable: wait for enable
[  720.055347] rpc_read_command(pm=80bd003c,57,0,2,31000013,0,1,0,0,0,0,1,0,1,0,ae9bc0,)
[  720.055560] audmgr: rpc READY handle=0xc09bae00
[  720.055593] rpc_write(57,1,0,0,0,0,)
[  720.101303] rpc_read_command(pm=80be003c,58,0,2,31000013,0,1,0,0,0,0,1,1,1,0,ae9bc0,)
[  720.101523] audmgr: rpc CODEC_CONFIG volume=0x00ae9bc0
[  720.101588] audmgr_enable: enabled
[  720.101620] 7200 Audio: Play sound through speaker
[  720.101668] snd_set_device 1 1 1
[  720.101697] rpc_write(67,0,2,30000002,0,1,0,0,0,0,1,1,1,3,0,)
[  720.101820] rpc_write(58,1,0,0,0,0,)
[  720.102855] rpc_read_command(pm=80bf0034,59,0,rpc_read_reply(67,1,0)
[  720.103030] 2,31000002,0,3,0,0,0,0,3,0,0,)
[  720.103125] [RR] ERROR no local ept for prog 02000031 replying anyway!!
[  720.103155] rpc_write(59,1,0,0,0,0,)
[  720.115935] ds2746: 3923mV 430mA charge: 31/100 (1303/4096 units, 814/2560 mAh)
[  720.115963]         aux0: 365 (2170) aux1: 22 (108)
[  720.120862] audpp: enable(-1)
[  720.121015] rpc_write(68,0,2,3000000a,0,1,0,0,0,0,1,0,2,4,)
[  720.121822] rpc_read_reply(68,1,0)
[  720.121903] rpc_write(69,0,2,3000000a,0,1,0,0,0,0,1,1,2,4,)
[  720.122878] rpc_read_command(pm=80c2003c,5a,rpc_read_reply(69,1,0)
[  720.123027] 0,2,3000000b,0,1,0,0,0,0,1,0,2,4,0,)
[  720.123212] rpc_write(5a,1,0,0,0,0,)
[  720.125265] adsp: waiting for DSP write ready
[  720.126270] adsp: waiting for DSP write ready
[  720.127262] adsp: waiting for DSP write ready
[  720.129958] audio_ioctl 40046100
[  720.130008] audio_enable()
[  720.420420] audpp: DMA missed
[  721.480833] wlan: version magic '2.6.29-TheOfficial-00479-g3c7df37 preempt mod_unload ARMv6 ' should be '2.6
.25-dirty preempt mod_unload ARMv6 '
[  721.490838] audio timer expired
[  721.490981] audio_disable()
[  721.491018] 7200 Audio: Idle: using speaker.
[  721.491069] snd_set_device 1 1 1
[  721.491099] rpc_write(6a,0,2,30000002,0,1,0,0,0,0,1,1,1,3,0,)
[  721.494594] rpc_read_command(pm=80c40034,5b,0,2,31000002,0,3,0,0,0,0,3,0,0,)
[  721.494753] [RR] ERROR no local ept for prog 02000031 replying anyway!!
[  721.494786] rpc_write(5b,1,0,0,0,0,)
[  721.494901] rpc_read_reply(6a,1,0)
[  721.495816] wlan: Unknown symbol skb_put
[  721.511833] audmgr_disable
[  721.511911] rpc_write(6b,0,2,30000013,0,2,0,0,0,0,0,)
[  721.512191] wlan: Unknown symbol wake_lock_init
[  721.514521] wlan: Unknown symbol htc_pwrsink_set
[  721.516156] wlan: Unknown symbol wake_lock_timeout
[  721.520833] rpc_read_reply(6b,1,0)
[  721.520879] audmgr_disable: wait for disable
[  721.531624] wlan: Unknown symbol dev_alloc_skb
[  721.534036] wlan: Unknown symbol wake_unlock
[  721.534924] wlan: Unknown symbol wake_lock
[  721.538769] wlan: Unknown symbol wake_lock_destroy
[  721.550876] rpc_read_command(pm=80c7003c,5c,0,2,31000013,0,1,0,0,0,0,1,6,1,30,ae9bc0,)
[  721.551089] audmgr: DISABLED
[  721.551136] rpc_write(5c,1,0,0,0,0,)
[  721.551216] audmgr_disable: disabled
[  721.551269] rpc_write(6c,0,2,3000000a,0,1,0,0,0,0,1,2,2,4,)
[  721.556193] rpc_read_reply(6c,1,0)
 
Last edited:

n2rjt

Senior Member
The dmesg logs show that your wifi module is version 2.6.29-TheOfficial-00479-g3c7df37 but your kernel is 2.6.25. That is why you are getting unresolved symbols, and wifi is not working.

Install the androidupdate.tgz in the first post. If that doesn't work, find out where the wlan.ko file is, and make sure you replace the 2.6.29 version with one that matches your kernel.
 

aceoyame

Retired Recognized Developer
Jul 14, 2009
939
254
This result was after applying the update...

Instead of the update you could always move the modules from another build with 7 zip like I said. When I did my series 5 release as well as my 4.55 re-release I pulled the modules from the update and dropped them in my build. You could use the modules from that build in yours or you could use another modern build's modules as long as they are the new ones.

Also I don't even know how you would have .29 modules... As far as I know we've never done any work with the .29 kernel, we've done work on .25, .32 and starting .35
 

tiagoclc

Senior Member
Nov 16, 2008
250
20
I've already put modules from other build directly in androidinstall.tar using betterzip (mac)

I'll try a fresh install, applying modules from l1qu1d update inside androidinstall.tar, wipping data.

Sent from my CyanogenMod Kaiser/Kaiser using XDA App
 

casacristo

Senior Member
Oct 25, 2009
365
120
Chances are betterzip is to blame or finder having added some data forks...

Use tar from terminal...

Sent from my Full Android on Kaiser using XDA App
 

tiagoclc

Senior Member
Nov 16, 2008
250
20
problem solved!!!

Found the problem!

Code:
[  282.215957] TIWLAN: Found SDIO controller (vendor 0x104c, device 0x9066)
[  282.223386] TIWLAN: Driver initialized (rc 0)
[  282.223847] TIWLAN: 1251 PG 1.1
[  282.223894] TIWLAN: Driver loaded
[B][  282.227106] init: no such service 'wlan_loader'[/B]

Simply set the service on sysinit.rc

Code:
service wlan_loader /etc/wifi/loadit
    disabled
    oneshot
 
service wpa_supplicant /system/bin/wpa_supplicant \
    -Dtiwlan0 -itiwlan0 -c/data/misc/wifi/wpa_supplicant.conf
    user wifi
    group wifi inet
    socket wpa_tiwlan0 dgram 660 wifi wifi
    disabled
    oneshot
 
service dhcpcd /system/bin/dhcpcd -BKL tiwlan0
    disabled
    oneshot

Thanks to everyone who helped me!
 

javinavas

Member
Jun 29, 2009
39
0
Hi guys.. this is a noob question but i can't make it work..

I installed 3 differents distros using haret with no problem.. but wifi didn't work on any of 3. I'm trying to updated the kernel but I can't find installation instructions..

I downloaded zimage 10-4-10, copied to andboot folder and rename to zimage. try to run haret and it just to be hang..!! last message is: mmc1: polling status mode enabled..!! I can't get haret menu..!!

Also I downloaded initrd.lmza Do I have to rename to .gz..??

I really want to make android run smoothly with all features (wifi, gps, data connection) but I don't know how to update kernel..

Thnks in advance..!!

Regards
 

javinavas

Member
Jun 29, 2009
39
0
Liquid.. I'm sorry.. i didn't realized that I was using wrong version of haret.. just copied the new haret and it run perfect.. now WIFI is working..!!

Thnks a lot..!!
 

NicoA380

Member
Mar 1, 2009
22
2
DNS problem ?

I installed android into NAND memory of my kaiser. It works fine :)

Wifi seems to work (high signal, access by IP) but DNS doesn't :-/

I installed using atools the 2.6.32 from androidhtc.git.sourceforge.net/git/gitweb.cgi?p=androidhtc/kernel-release.git;a=object;f=2.6.32/VOGUIMG-320-FROYO-01-16-11.NBH;hb=HEAD and set it for kaiser using atools.

I use system-gingerbread-all-unodex-24-01-11_07.tgz from sourceforge.net/projects/androidhtc/files/2011-01-24-gingerbread/system-gingerbread-all-unodex-24-01-11_07.tgz

and apply androidupdate.tgz from sourceforge.net/projects/androidhtc/files/modules/androidupdate.tgz

Does anyone have a DNS issue ?

I previously use the kernel proposed by atools with the same issue (wifi seems ok, dns not). Another thing, with kernel from atools, adb works and with your kernel adb wont :

$ sudo tools/adb devices
List of devices attached
???????????? no permissions

$ sudo tools/adb shell
error: insufficient permissions for device


EDIT :
I just test froyo from androidhtc with the kernel from atools, and DNS is ok (but white screen after a screen wakeup !). The DNS is probably a gingerbread issue.
 
Last edited:

dark_prince

Senior Member
May 5, 2007
1,105
146
Islamabad
I installed android into NAND memory of my kaiser. It works fine :)

Wifi seems to work (high signal, access by IP) but DNS doesn't :-/

I installed using atools the 2.6.32 from androidhtc.git.sourceforge.net/git/gitweb.cgi?p=androidhtc/kernel-release.git;a=object;f=2.6.32/VOGUIMG-320-FROYO-01-16-11.NBH;hb=HEAD and set it for kaiser using atools.

I use system-gingerbread-all-unodex-24-01-11_07.tgz from sourceforge.net/projects/androidhtc/files/2011-01-24-gingerbread/system-gingerbread-all-unodex-24-01-11_07.tgz

and apply androidupdate.tgz from sourceforge.net/projects/androidhtc/files/modules/androidupdate.tgz

Does anyone have a DNS issue ?

I previously use the kernel proposed by atools with the same issue (wifi seems ok, dns not). Another thing, with kernel from atools, adb works and with your kernel adb wont :

$ sudo tools/adb devices
List of devices attached
???????????? no permissions

$ sudo tools/adb shell
error: insufficient permissions for device


EDIT :
I just test froyo from androidhtc with the kernel from atools, and DNS is ok (but white screen after a screen wakeup !). The DNS is probably a gingerbread issue.

Did you try manually configuring for DNS in Advance Preferences under Wifi Settings?
 

NicoA380

Member
Mar 1, 2009
22
2
DNS Solved !

I solve the issue my self.

I compare quickly froyo and gingerbread files.

/system/etc/dhcpcd/dhcpd.conf is missing in gingerbread, so I copied it from froyo.

Now I can browse the net :)

I also solve my white screen issue by selecting a panel type (switch auto to 2), maybe I'm lucky.

I don't use kernel from GIT but from atools (stable 2.6.25) and updateandroid.gz from androidhtc.

EDIT :
- after restarting the phone, the linux console loop in error messages and android didn't start. I need to wipe data to boot again :-Z (done twice)

EDIT 2 :
- maybe I'm on the wrong thread for talking about NAND Gingerbread on Kaiser

EDIT 3 :
- adb issue isn't kaiser fault but mine >.< (restart adb-server with root privilege)

EDIT 4 :
- I switched to MyFroyo and all works fine. I'll try Gingerbread later with new builds
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    There are many changes on initrd that affect both 2.6.25 and 2.6.32, so:
    When you update you need to apply this.
    If someone post something like wifi doesn't work and he/she didn't apply the update i'll find a way to burn his phone remotely!

    I fixed the problem of wifi for polaris (now we use the same module, thanks dzo)
    The new initrd:
    • switch to correct version of modules between 2.6.25 and 2.6.32
    • change the name of the device
    • probably fix data corruption

    2.6.32 kernel has a new parameter for fake sync so you can make all test you want (please post results in this thread)

    2.6.25 is unchanged so when you flash you change only the initrd.

    Haret users please download initrd from here.

    if you have problem with data connection please let me know!

    I suggest you to download latest version directly from atools.

    To apply update you can use the boot menu or atools (BSE->select data and system partitions-> select intall update-> put install-seq.sh in sdcard/andboot/)

    Download page here

    changelog:
    updated androidupdate.tgz with su fix
    For releaser:
    Entract the update on your distro
    remove the /system/etc/ppp directory
    put the ppp file (extract the zip) on /system/etc/

    Release your new distro.
    1
    WTF the answer is in first post!!!!!!
    use the initrd linked in the first post and apply the update.
    you don't need to move anything!!!!
    1
    Did you use the initrd from the link???
    Did you shutdown the device?
    1
    I'm getting the error: "apply modules/androidupdate.tgz failed from sourceforge"
    I don't know what to do anymore... (booting with haret for install on SD Card)

    Kernel (zImage) and modules (in androidupdate.tgz) need to match. It is not a very convenient install process though. Put the zImage and androidupdate.tgz files onto your SD in /sdcard/andboot folder, and use Haret to boot into Linux. As soon as you see the Penguin, push the center of the screen until you get the menu. Then install updates, and continue to boot. If you still have problems, I can't be very helpful since I don't use my Kaiser anymore.
    In fact, if anyone in US wants a Kaiser (AT&T Tilt) for the cost of shipping, PM me.