Jump to content


Photo

[DEV] AOSP Dev for Zte Blade

* * * * * 32 votes

  • Please log in to reply
938 replies to this topic

#341
furrabbit.nh

furrabbit.nh

    Regular

  • Members
  • PipPip
  • 71 posts
  • Gender:Male
  • Location:Doncaster Uk
  • Devices:Zte Blade - CM7 7.2.0

sry adb is not working. please help





what do you mean adb isnt working


Edited by furrabbit.nh, 27 November 2011 - 05:17 PM.

  • 0
Posted Image

#342
davidnintendo

davidnintendo

    Regular

  • Members
  • PipPip
  • 77 posts

what do you mean adb isnt working



I'm strarting to believe he is a troll.

Anyway, I've been testing the wifi connection with the changed wpa_suplicand binary and it worked quite well once connected, but I had to turn the wifi off and on five or six times before it could connect. In the other attempts, it said connecting and then it said that my wifi connection was out of range, and the phone was like 20 cm from the router, so there might be some other problems with the wifi connection.

Edited by davidnintendo, 27 November 2011 - 05:55 PM.

  • 4

#343
jonas.lindberg

jonas.lindberg

    Newbie

  • Members
  • Pip
  • 24 posts
  • Devices:ZTE Blade

thanks to dsixda's script, here is an update.zip that actually works: http://www.mediafire...ai4k1bm15p9ydz2, the same but with root: http://www.mediafire...9u2t03f9m3qa66i, gapps: http://download.cloc...-20111125-2.zip
A stock sized system partition is still necessary. These do not contain KonstaT's SD card fix.


Is this supposed to be flashed after full wipe if I've been using CM7 before? Or do I have to change partition sizes?

  • 0

#344
WillDroid

WillDroid

    Enthusiast

  • Members
  • PipPipPip
  • 152 posts
  • Gender:Male
  • Devices:Advent Vega, ZTE Skate, Moto G
Sorry, is Alpha2 just Alpha1 with the wpa_supplicant added, or are there other differences?
Thanks
Will

  • 0

#345
JimJam707

JimJam707

    Addict

  • Members
  • PipPipPipPipPip
  • 824 posts
  • Gender:Male
  • Location:England
  • Devices:Moto G
  • Twitter:@JimJam707

Sorry, is Alpha2 just Alpha1 with the wpa_supplicant added, or are there other differences?
Thanks
Will


I believe there are other differences, but can we try and keep this thread dev only?

  • 4

Samsung Galaxy SII - CyanogenMod 10.1 Nightlies

ZTE Blade - CyanogenMod 7

Samsung Galaxy Spica i5700 - CyanogenMod 9 Alphas

------------------------------------------------

Follow Me:

Twitter


#346
dirlan2001

dirlan2001

    Enthusiast

  • Members
  • PipPipPip
  • 210 posts
  • Gender:Male
  • Location:Hamme
  • Devices:Blade+Tab+OT918D

I'm strarting to believe he is a troll.


Yah, maybe a mod could remove his not-so-helpfull-advice....

  • 0


Alcatel OT918D Blaze (dual SIM)

Samsung Galaxy Tab (the original)

ZTE San Francisco Moldovan MHMP r6 + Solidchips Bootanimation


iPAQ
614c - WM 6.5_5.2.21501 AKU 5.0.70 WWE with minor tweaks (radio gone)

iPAQ hx4700 - WM 6.1_5.2.20764 AKU 1.1.1 WWE (layed to rest)


#347
gbush

gbush

    Newbie

  • Members
  • Pip
  • 3 posts
sorry for posting this. i know this is a dev thread but it would be great to have a changelog in the first ou second post of this thread...this way people won´t be asking fr news all the time...i´m not a blade user ou developer...i own a zte v9c which haa the same specs as the blade. By the way...this alpha 1 and 2 is booting in my device but i have to flash the zte v9 kernel but no touchscreen.

thanks and again...sorry for posting this here

I believe there are other differences, but can we try and keep this thread dev only?


  • 0

#348
t0mm13b

t0mm13b

    Hardcore

  • MoDaCo Silver
  • PipPipPipPipPipPip
  • 1,784 posts
  • Gender:Male
  • Location:Ireland
  • Devices:GT-S8500,Zte Blade,SE ST15i
  • Twitter:@t0mm13b
Have patched java's RIL.java in frameworks/base/telephony/java/com/android/internal/telephony with those specifed on the cm-nightlies.appspot.com, added the key 'ro.telephony.ril.v3=1' into build.prop. Rebooted, no joy, rild crashes like hell, am hesitant to push out that to github as my belief is cm7's rild stuff is very much hated by ICS.

Suggestions? :)

Edit:
IF you wish, unzip the attached and put that into the directory above, amend build.prop with said key, and do a clean build ... let us know how it goes, if that works for you :) then we can take it from there :)

Attached Files


Edited by t0mm13b, 27 November 2011 - 09:00 PM.

  • 0
try{ not_laugh; }catch{ FAIL; }finally{ laugh; }

#349
KonstaT

KonstaT

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 2,328 posts
  • Gender:Male
  • Location:Finland
  • Devices:Moto G, ZTE Blade III

how difficult would it be to port the CM7 system for building an update.zip? we can add the kernel blob to the github and then be able to fiddle with init.rc and whatever else is in boot.img?

Actually you can use e.g. 'make otapackage -j4'. It gives you a flashable zip in your out dir.

  • 1

#350
fp30

fp30

    Enthusiast

  • Members
  • PipPipPip
  • 203 posts
so we definitely have a problem with rild because the ril socket just isnt opening. Out put of ls -l socket gives
255|root@android:/dev # ls -l socket
srw-rw---- bluetooth bluetooth 2011-11-28 13:16 dbus
srw-rw---- root inet 2011-11-28 13:16 dnsproxyd
srw------- system system 2011-11-28 13:16 installd
srw-rw-rw- root root 2011-11-28 13:16 keystore
srw-rw---- root system 2011-11-28 13:16 netd
srw-rw-rw- root root 2011-11-28 13:16 property_service
srw-rw---- root mount 2011-11-28 13:16 vold
srw-rw---- wifi wifi 2011-11-28 13:23 wpa_wlan0
srw-rw-rw- root root 2011-11-28 13:16 zygote

the line in init.rc looks fine, so it must be some other problem. any ideas why the socket wont open anyone?

  • 0

#351
hedgepigdaniel

hedgepigdaniel

    Addict

  • Members
  • PipPipPipPipPip
  • 850 posts
  • Gender:Male
  • Location:Sydney, Australia
  • Devices:Galaxy Nexus, ZTE Blade (OLED)

Have patched java's RIL.java in frameworks/base/telephony/java/com/android/internal/telephony with those specifed on the cm-nightlies.appspot.com, added the key 'ro.telephony.ril.v3=1' into build.prop. Rebooted, no joy, rild crashes like hell, am hesitant to push out that to github as my belief is cm7's rild stuff is very much hated by ICS.

Suggestions? :)

Edit:
IF you wish, unzip the attached and put that into the directory above, amend build.prop with said key, and do a clean build ... let us know how it goes, if that works for you :) then we can take it from there :)


Results (fully compiled from the latest github sources + the above instructions):

ics4blade alpha3

download: http://www.mediafire...dqshhxd7up571z8
gapps: http://download.cloc...-20111125-2.zip
requires gen2 and stock sized system partition

Still no reception - although you might want to have a look at log output etc. I didn't notice any crashes.

Edited by hedgepigdaniel, 28 November 2011 - 02:33 PM.

  • 0

#352
t181

t181

    Regular

  • Members
  • PipPip
  • 122 posts
  • Gender:Male
  • Devices:ZTE Blade

Results (fully compiled from the latest github sources + the above instructions):

ics4blade alpha3

download: http://www.mediafire...dqshhxd7up571z8
gapps: http://download.cloc...-20111125-2.zip
requires gen2 and stock sized system partition

Still no reception - although you might want to have a look at log output etc. I didn't notice any crashes.


Is this contains the new functions? (like sd card mounting, phone functions...)

  • 0

#353
t0mm13b

t0mm13b

    Hardcore

  • MoDaCo Silver
  • PipPipPipPipPipPip
  • 1,784 posts
  • Gender:Male
  • Location:Ireland
  • Devices:GT-S8500,Zte Blade,SE ST15i
  • Twitter:@t0mm13b
Anyone try the patched RIL.java, last I checked there was 19 downloads of the said file - did it help? or did Telephony's fail? :)

  • 0
try{ not_laugh; }catch{ FAIL; }finally{ laugh; }

#354
hedgepigdaniel

hedgepigdaniel

    Addict

  • Members
  • PipPipPipPipPip
  • 850 posts
  • Gender:Male
  • Location:Sydney, Australia
  • Devices:Galaxy Nexus, ZTE Blade (OLED)

Is this contains the new functions? (like sd card mounting, phone functions...)


https://github.com/t.../commits/master

SD should work

actually no it shouldn't. and it doesn't.

Edited by hedgepigdaniel, 28 November 2011 - 02:57 PM.

  • 0

#355
t0mm13b

t0mm13b

    Hardcore

  • MoDaCo Silver
  • PipPipPipPipPipPip
  • 1,784 posts
  • Gender:Male
  • Location:Ireland
  • Devices:GT-S8500,Zte Blade,SE ST15i
  • Twitter:@t0mm13b

Results (fully compiled from the latest github sources + the above instructions):

ics4blade alpha3

download: http://www.mediafire...dqshhxd7up571z8
gapps: http://download.cloc...-20111125-2.zip
requires gen2 and stock sized system partition

Still no reception - although you might want to have a look at log output etc. I didn't notice any crashes.


@fp30, @hedgepigdaniel:

This is in my adb logcat

D/dalvikvm( 526): GC_CONCURRENT freed 704K, 20% free 11803K/14599K, paused 4ms+11ms
I/ActivityManager( 142): Displayed com.android.settings/.ApnSettings: +1s182ms
F/libc ( 1911): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)
I/DEBUG ( 859): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 859): Build fingerprint: 'generic/zte_blade/blade:4.0.1/ITL41D/eng.t0mm13b.20111121.234834:eng/test-keys'
I/DEBUG ( 859): pid: 1911, tid: 1911 >>> /system/bin/rild <<<
I/DEBUG ( 859): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG ( 859): r0 deadbaad r1 80000000 r2 00000027 r3 00000000
I/DEBUG ( 859): r4 00000000 r5 00000080 r6 40454581 r7 00000000
I/DEBUG ( 859): r8 00000000 r9 00000000 10 00000000 fp 00000000
I/DEBUG ( 859): ip ffffffff sp bea3b840 lr 4001ee5b pc 4001b63e cpsr 00000030
I/DEBUG ( 859): #00 pc 0001763e /system/lib/libc.so
I/DEBUG ( 859): #01 pc 0000fc04 /system/lib/libdss.so (dsc_abort)
I/DEBUG ( 859): #02 pc 0000fc04 /system/lib/libdss.so (dsc_abort)
I/DEBUG ( 859): #03 pc 0000db34 /system/lib/libdss.so
I/DEBUG ( 859): #04 pc 0000dd34 /system/lib/libdss.so (dsc_qmi_init)
I/DEBUG ( 859): #05 pc 0000c68c /system/lib/libdss.so (dsc_main)
I/DEBUG ( 859): #06 pc 000a7520 /system/lib/libril-qc-1.so (dsi_init)
I/DEBUG ( 859): #07 pc 0009bce8 /system/lib/libril-qc-1.so (qcril_data_init)
I/DEBUG ( 859): #08 pc 00025248 /system/lib/libril-qc-1.so (qcril_init)
I/DEBUG ( 859): #09 pc 00025904 /system/lib/libril-qc-1.so (RIL_Init)
I/DEBUG ( 859): #10 pc 00008ea2 /system/bin/rild
I/DEBUG ( 859): #11 pc 000164c6 /system/lib/libc.so (__libc_init)
I/DEBUG ( 859):
I/DEBUG ( 859): code around pc:
I/DEBUG ( 859): 4001b61c 1c2bd00c 2d00682d e027d1fb 2a0068da
I/DEBUG ( 859): 4001b62c 4b16d004 447b2001 47906018 22274814
I/DEBUG ( 859): 4001b63c 70022580 ef80f7f4 f7f62106 2400e810
I/DEBUG ( 859): 4001b64c 0569aa01 60546091 20061c11 f7f59401
I/DEBUG ( 859): 4001b65c a905ebda 20022200 ebe2f7f5 ef6cf7f4
I/DEBUG ( 859):
I/DEBUG ( 859): code around lr:
I/DEBUG ( 859): 4001ee38 4b0db5f0 9001b083 681c447b 68a52600
I/DEBUG ( 859): 4001ee48 e0086867 5ea8220c dd032800 99011c28
I/DEBUG ( 859): 4001ee58 43064788 3f013554 6824d5f4 d1ee2c00
I/DEBUG ( 859): 4001ee68 1c30b003 46c0bdf0 000286a4 1c0fb5f0
I/DEBUG ( 859): 4001ee78 43551c3d a906b089 9103604d 90064914
I/DEBUG ( 859):
I/DEBUG ( 859): stack:
I/DEBUG ( 859): bea3b800 4038919c
I/DEBUG ( 859): bea3b804 40387127 /system/lib/libdiag.so
I/DEBUG ( 859): bea3b808 40047720
I/DEBUG ( 859): bea3b80c 400476b0
I/DEBUG ( 859): bea3b810 00000000
I/DEBUG ( 859): bea3b814 4001ee5b /system/lib/libc.so
I/DEBUG ( 859): bea3b818 00000000
I/DEBUG ( 859): bea3b81c 4001dbb9 /system/lib/libc.so
I/DEBUG ( 859): bea3b820 401d45be /system/lib/libril-qc-1.so
I/DEBUG ( 859): bea3b824 00000000
I/DEBUG ( 859): bea3b828 00000000
I/DEBUG ( 859): bea3b82c 40454581 /system/lib/libdss.so
I/DEBUG ( 859): bea3b830 00000000
I/DEBUG ( 859): bea3b834 4001dfd1 /system/lib/libc.so
I/DEBUG ( 859): bea3b838 df0027ad
I/DEBUG ( 859): bea3b83c 00000000
I/DEBUG ( 859): #00 bea3b840 0000000e
I/DEBUG ( 859): bea3b844 40453a15 /system/lib/libdss.so
I/DEBUG ( 859): bea3b848 bea3b8b0
I/DEBUG ( 859): bea3b84c 00000000
I/DEBUG ( 859): bea3b850 00000000
I/DEBUG ( 859): bea3b854 fffffbdf
I/DEBUG ( 859): bea3b858 404583a4
I/DEBUG ( 859): bea3b85c 40457614
I/DEBUG ( 859): bea3b860 404583a4
I/DEBUG ( 859): bea3b864 40450c07 /system/lib/libdss.so
I/DEBUG ( 859): #01 bea3b868 40457614
I/DEBUG ( 859): bea3b86c 40450c07 /system/lib/libdss.so
I/BootReceiver( 142): Copying /data/tombstones/tombstone_08 to DropBox (SYSTEM_TOMBSTONE)
D/QCRIL ( 1944): Event thread waiting for started == 2 (1)
I/QCRIL ( 1944): qcril_event_init(): event thread started
D/dalvikvm( 142): GC_CONCURRENT freed 1536K, 17% free 12288K/14791K, paused 5ms+23ms
E/QCRIL ( 1944): RadioState Uninitialized --> Radio Unavailable [Event PowerUpInit]
E/QCRIL ( 1944): qcril_reqlist_init()
E/QCRIL ( 1944): qcril_cm_clist_init()
E/QCRIL ( 1944): qcril_cm_ons_init()
E/QCRIL ( 1944): qcril_cm_init()
E/QCRIL ( 1944): GW Subscription disabled
E/QCRIL ( 1944): CDMA Subscription disabled
E/QCRIL ( 1944): CLIR=0
I/QCRIL ( 1944): RIL=>AMSS [ label = "nv_cmd_remote() - Read NV_FTM_MODE_I" ];
E/QCRIL ( 1944): Read NV_FTM_MODE_I: status 0 value 0
I/QCRIL ( 1944): RIL=>AMSS [ label = "cm_client_init()" ];
I/QCRIL ( 1944): RIL=>AMSS [ label = "cm_client_ph_reg()" ];
I/QCRIL ( 1944): RIL=>AMSS [ label = "cm_mm_client_ss_reg()" ];
I/QCRIL ( 1944): RIL=>AMSS [ label = "cm_mm_client_ss_pwr_collapse_reg()" ];
I/QCRIL ( 1944): RIL=>AMSS [ label = "cm_mm_client_ss_pwr_collapse_reg()" ];
I/QCRIL ( 1944): RIL=>AMSS [ label = "cm_mm_client_ss_pwr_collapse_reg()" ];
I/QCRIL ( 1944): RIL=>AMSS [ label = "cm_mm_client_ph_pwr_collapse_reg()" ];
I/QCRIL ( 1944): RIL=>AMSS [ label = "cm_mm_client_call_reg()" ];
I/QCRIL ( 1944): RIL=>AMSS [ label = "cm_mm_client_inband_reg()" ];
I/QCRIL ( 1944): RIL=>AMSS [ label = "cm_client_sups_reg()" ];
I/QCRIL ( 1944): RIL=>AMSS [ label = "cm_client_act()" ];
I/QCRIL ( 1944): RIL=>AMSS [ label = "wms_client_init()" ];
I/QCRIL ( 1944): RIL=>AMSS [ label = "wms_client_reg_cfg_cb()" ];
I/QCRIL ( 1944): RIL=>AMSS [ label = "wms_client_reg_msg_cb()" ];
I/QCRIL ( 1944): RIL=>AMSS [ label = "wms_client_reg_bc_mm_cb()" ];
I/QCRIL ( 1944): RIL=>AMSS [ label = "wms_client_activate()" ];
I/QCRIL ( 1944): RIL=>AMSS [ label = "wms_cfg_set_primary_client()" ];
I/QCRIL ( 1944): RIL=>AMSS [ label = "wms_cfg_set_routes()" ];
I/QCRIL ( 1944): Received SMS cmd callback : Cmd WMS_CMD_CFG_SET_PRIMARY_CLIENT, Token ID 65534
I/QCRIL ( 1944): Queued event SMS_COMMAND_CALLBACK (8 bytes)
I/QCRIL ( 1944): RIL=>AMSS [ label = "wms_msg_set_retry_period(240 sec.)" ];
E/QCRIL ( 1944): eccupdateThread(): enter
I/QCRIL ( 1944): Received SMS cmd callback : Cmd WMS_CMD_CFG_SET_ROUTES, Token ID 65534
I/QCRIL ( 1944): Queued event SMS_COMMAND_CALLBACK (8 bytes)
I/QCRIL ( 1944): qcril_pbm_init
I/QCRIL ( 1944): qcril_pbm_clear_ecc_list: Clear the ecc List
I/QCRIL ( 1944): qcril_pbm_clear_ecc_list: Clear the ecc List
I/QCRIL ( 1944): RIL=>AMSS [ label = "pbm_notify_register()" ];
I/QCRIL ( 1944): RIL=>AMSS [ label = "pbm_notify_unregister()" ];
I/QCRIL ( 1944): RIL=>AMSS [ label = "pbm_notify_register()" ];
I/QCRIL ( 1944): qcril_mmgsdi_init
I/QCRIL ( 1944): RIL=>AMSS [ label = "mmgsdi_client_id_reg()" ];
I/QCRIL ( 1944): RIL=>AMSS [ label = "gsdi_perso_register_task()" ];
E/QCRIL ( 1944): qcril_gstk_init
I/QCRIL ( 1944): RIL=>AMSS [ label = "gstk_client_init_ext()" ];
I/QCRIL ( 1944): qcril_mmgsdi_perso_event_callback (event: 0x34)
I/QCRIL ( 1944): Queued event MMGSDI_PERSO_EVENT_CALLBACK (20 bytes)
I/QCRIL ( 1944): qcril_mmgsdi_gsdi_command_callback, cmd:17
I/QCRIL ( 1944): Queued event MMGSDI_GSDI_COMMAND_CALLBACK (336 bytes)
I/QCRIL ( 1944): CLIENT_INIT_EXT success
E/QCRIL ( 1944): qcril_data_init: ENTRY
E/QCRIL ( 1944): dsi_init: ENTRY
I/QCRIL ( 1944): dsc_main has been included
I/QCRIL ( 1944): qcril_gstk_client_init_callback: status 0, client ID 0x00000003
I/QCRIL ( 1944): Queued event GSTK_CLIENT_INIT_CALLBACK (12 bytes)
I/QCRIL ( 1944): qcril_mmgsdi_command_callback: cnf = 0x0, status = 0x0
I/QCRIL ( 1944): qcril_mmgsdi_command_callback qcril_event_queue2
I/QCRIL ( 1944): Queued event MMGSDI_COMMAND_CALLBACK (260 bytes)
D/dalvikvm( 142): GC_FOR_ALLOC freed 380K, 17% free 12420K/14791K, paused 101ms
D/dalvikvm( 142): GC_CONCURRENT freed 564K, 17% free 12383K/14791K, paused 5ms+9ms


Weird that rild crashes... any insights?

Edit:
The libc that is shown in the line after ActivityManager, is the point of the crash, by the way, this was when I was in APN settings. The part of the stack trace up to the point of crash rests solely with libril-qc-1.so, for some reason or another which calls something in libdss and bombs!

Edited by t0mm13b, 28 November 2011 - 03:05 PM.

  • 0
try{ not_laugh; }catch{ FAIL; }finally{ laugh; }

#356
hedgepigdaniel

hedgepigdaniel

    Addict

  • Members
  • PipPipPipPipPip
  • 850 posts
  • Gender:Male
  • Location:Sydney, Australia
  • Devices:Galaxy Nexus, ZTE Blade (OLED)

Anyone try the patched RIL.java, last I checked there was 19 downloads of the said file - did it help? or did Telephony's fail? :)


I compiled it into alpha3, you can try that if you want. not sure what to look for, but there was no reception and I didn't notice any crashes.

Edit: I don't know what to say about that log but SYSTEM_TOMBSTONE sounds like something really evil is going on.

Edited by hedgepigdaniel, 28 November 2011 - 03:01 PM.

  • 0

#357
hedgepigdaniel

hedgepigdaniel

    Addict

  • Members
  • PipPipPipPipPip
  • 850 posts
  • Gender:Male
  • Location:Sydney, Australia
  • Devices:Galaxy Nexus, ZTE Blade (OLED)
Hold on - we need to modify boot.img besides including this patch https://github.com/t...bfeaa3cdae2884e to get SD mounted right?

  • 0

#358
KonstaT

KonstaT

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 2,328 posts
  • Gender:Male
  • Location:Finland
  • Devices:Moto G, ZTE Blade III

Sdcard working. Media scanner works too. Add these to your init.rc:

# create mountpoints
    mkdir /mnt 0775 root system
    mkdir /mnt/sdcard 0000 system system
# setup the global environment
    export PATH /sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
    export LD_LIBRARY_PATH /vendor/lib:/system/lib
    export ANDROID_BOOTLOGO 1
    export ANDROID_ROOT /system
    export ANDROID_ASSETS /system/app
    export ANDROID_DATA /data
    export EXTERNAL_STORAGE /mnt/sdcard
    export ASEC_MOUNTPOINT /mnt/asec
    export LOOP_MOUNTPOINT /mnt/obb
# Backward compatibility
    symlink /system/etc /etc
    symlink /sys/kernel/debug /d
    symlink /mnt/sdcard /sdcard


Attached boot.img in flashable zip with this fixed. Should be also included after this.

Attached Files


  • 1

#359
t0mm13b

t0mm13b

    Hardcore

  • MoDaCo Silver
  • PipPipPipPipPipPip
  • 1,784 posts
  • Gender:Male
  • Location:Ireland
  • Devices:GT-S8500,Zte Blade,SE ST15i
  • Twitter:@t0mm13b
Also, for the bluetooth:

I/bluedroid( 137): Starting hciattach daemon
E/qcom-bluetooth( 881): /system/etc/init.bt.sh: Bluetooth QSoC firmware download failed: exit code 1
D/dalvikvm( 137): GC_CONCURRENT freed 530K, 14% free 11903K/13703K, paused 5ms+11ms
E/bluedroid( 137): bt_enable: Timeout waiting for HCI device to come up, error- -1,
E/BluetoothAdapterStateMachine( 137): failed to prepare bluetooth, abort turning on
D/BluetoothAdapterStateMachine( 137): Bluetooth state 11 -> 10
V/BluetoothEventManager( 549): Received android.bluetooth.adapter.action.STATE_CHANGED
D/DockEventReceiver( 549): finishStartingService: stopping service


But then again, this is related to getting the radio working... :)

  • 0
try{ not_laugh; }catch{ FAIL; }finally{ laugh; }

#360
fp30

fp30

    Enthusiast

  • Members
  • PipPipPip
  • 203 posts

Weird that rild crashes... any insights?

Edit:
The libc that is shown in the line after ActivityManager, is the point of the crash, by the way, this was when I was in APN settings. The part of the stack trace up to the point of crash rests solely with libril-qc-1.so, for some reason or another which calls something in libdss and bombs!


hmmm doesnt look so good. worse than I have without the patched ril.java file!
Do you manage to get a ril socket open though with the patches?? they seem to just patch a load of declarations not much actual code changed.
I figured we are still at
try {for (;<img src='http://android.modaco.com/public/style_emoticons/<#EMO_DIR#>/wink.gif' class='bbc_emoticon' alt=';)' /> {
            	LocalSocket s = null;
            	LocalSocketAddress l;

            	try {
                	s = new LocalSocket();
                	l = new LocalSocketAddress(SOCKET_NAME_RIL,
                        	LocalSocketAddress.Namespace.RESERVED);
                	s.connect(l);
            	} catch (IOException ex){
                	try {
                    	if (s != null) {
                        	s.close();
                    	}
                	} catch (IOException ex2) {
                    	//ignore failure to close after failure to connect
                	}

                	// don't print an error message after the the first time
                	// or after the 8th time

                	if (retryCount == 8) {
                    	Log.e (LOG_TAG,
                        	"Couldn't find '" + SOCKET_NAME_RIL
                        	+ "' socket after " + retryCount
                        	+ " times, continuing to retry silently");
                	} else if (retryCount > 0 && retryCount < 8) {
                    	Log.i (LOG_TAG,
                        	"Couldn't find '" + SOCKET_NAME_RIL
                        	+ "' socket; retrying after timeout");
                	}

                	try {
                    	Thread.sleep(SOCKET_OPEN_RETRY_MILLIS);
                	} catch (InterruptedException er) {
                	}

                	retryCount++;
                	continue;
            	}
s.connect(l); doesnt seem to be working

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users