Jump to content


Photo

[LIQUID METAL] My build AOSP experience

- - - - -

  • Please log in to reply
67 replies to this topic

#61
davidevinavil

davidevinavil

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,005 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

Strange, didn't have this error.

Can you try this services.jar ? http://shoobee.eu/up...276services.jar


As said lgcmn I've to open services.jar into an unzip program, make baksmali, change files, make smali and then put classes.dex into unzip program..
Now it works :(

Edited by davidevinavil, 10 March 2011 - 05:19 PM.

  • 0
If you like my work, offer me a beer

#62
davidevinavil

davidevinavil

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,005 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal
@Vache
I've read that to get ril working could be necessary to edit framework.jar..
Could be the way?!

  • 0
If you like my work, offer me a beer

#63
vache

vache

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,038 posts
  • Gender:Male
  • Devices:Acer CloudMobile
  • Twitter:@vachounet

@Vache
I've read that to get ril working could be necessary to edit framework.jar..
Could be the way?!


Maybe, we need to know what's wrong before.
I'll try to look at this tonight.

  • 0

#64
davidevinavil

davidevinavil

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,005 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

Maybe, we need to know what's wrong before.
I'll try to look at this tonight.


Have you understood what's wrong in ril?
I've played with framework.jar and put Acer phone.apk with no good results..

Edited by davidevinavil, 11 March 2011 - 10:24 AM.

  • 0
If you like my work, offer me a beer

#65
vache

vache

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,038 posts
  • Gender:Male
  • Devices:Acer CloudMobile
  • Twitter:@vachounet
Didn't had time to look at it.

  • 0

#66
davidevinavil

davidevinavil

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,005 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal
This is my logcat -b radio

E/RILD    ( 1349): **RIL Daemon Started**E/RILD    ( 1349): **dl open failed **E/RILD    ( 1429): **RIL Daemon Started**E/RILD    ( 1429): **dl open failed **E/RILD    ( 1480): **RIL Daemon Started**E/RILD    ( 1480): **dl open failed **E/RILD    ( 1510): **RIL Daemon Started**E/RILD    ( 1510): **dl open failed **E/RILD    ( 1560): **RIL Daemon Started**E/RILD    ( 1560): **dl open failed **I/PHONE   ( 1591): In makeDefaultPhone functionI/PHONE   ( 1591): Network Mode set to 3I/PHONE   ( 1591): Cdma Subscription set to 1E/RIL_UiccManager( 1591): ConstructingD/RILJ    ( 1591): [0000]> RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNINGD/STK     ( 1591): StkService: StkService: is runningD/STK     ( 1591): StkService: NEW sInstanceI/PHONE   ( 1591): get Phone Type:1D/RILJ    ( 1591): [0000]< RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLED/PHONE   ( 1591): mDoesRilSendMultipleCallRing=falseD/PHONE   ( 1591): mCallRingDelay=3000D/RIL_IMS ( 1591): Ims Ims SMS Dispatcher phone ref:Handler{30bb2ca0}D/CDMA    ( 1591): Register for EVENT_NEW_SMSD/GSM     ( 1591): Register for EVENT_NEW_SMSD/RIL_IccCardProxy( 1591): Setting radio tech RADIO_TECH_3GPPD/RIL_IccCardProxy( 1591): Updating quite modeD/RIL_IccCardProxy( 1591): 3GPP subscription -> QuiteMode: falseI/PHONE   ( 1591): Creating GSMPhoneD/RILJ    ( 1591): [0001]> GET_CURRENT_CALLSD/GSM     ( 1591): Phone subscription:0E/GSM     ( 1591): Wrong network type: 0E/GSM     ( 1591): Wrong network type: 0D/GSM     ( 1591): Poll ServiceState done:  oldSS=[1 home null null null  Unknown CSS not supported 0 0RoamInd: 0DefRoamInd: 0EmergOnly: false] newSS=[1 home null null null  Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false]  oldType=unknown newType=unknownI/GSM     ( 1591): EONS: ServiceState changed,calling checkEonsAndUpdateSpnDisplay()D/RILJ    ( 1591): [0001]< GET_CURRENT_CALLS error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLEV/PHONE   ( 1591): [PhoneProxy] ---EVENT_RADIO_STATE_CHANGED : newState = RADIO_UNAVAILABLEV/PHONE   ( 1591): [PhoneProxy] setPowerStateToDesired : mDesiredPowerState = true, getRadioState() = RADIO_UNAVAILABLEE/RIL_IccCardProxy( 1591): Broadcasting intent ACTION_SIM_STATE_CHANGED ABSENT reason nullD/RILJ    ( 1591): [0002]> RIL_REQUEST_SET_TTY_MODE : 0D/RILJ    ( 1591): [0002]< RIL_REQUEST_SET_TTY_MODE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLED/RILJ    ( 1591): [0003]> RIL_REQUEST_QUERY_TTY_MODED/RILJ    ( 1591): [0003]< RIL_REQUEST_QUERY_TTY_MODE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLEE/RILD    ( 1756): **RIL Daemon Started**E/RILD    ( 1756): **dl open failed **D/STK     ( 1591): StkService: Return current sInstanceD/STK     ( 1591): StkAppService$ServiceHandler: OP_BOOT_COMPLETEDI/RILJ    ( 1591): Couldn't find 'rild' socket; retrying after timeoutE/RILD    ( 1885): **RIL Daemon Started**E/RILD    ( 1885): **dl open failed **I/RILJ    ( 1591): Couldn't find 'rild' socket; retrying after timeoutI/RILJ    ( 1591): Couldn't find 'rild' socket; retrying after timeoutE/RILD    ( 1888): **RIL Daemon Started**E/RILD    ( 1888): **dl open failed **I/RILJ    ( 1591): Couldn't find 'rild' socket; retrying after timeoutE/RILD    ( 1889): **RIL Daemon Started**E/RILD    ( 1889): **dl open failed **I/RILJ    ( 1591): Couldn't find 'rild' socket; retrying after timeoutE/RILD    ( 1892): **RIL Daemon Started**E/RILD    ( 1892): **dl open failed **I/RILJ    ( 1591): Couldn't find 'rild' socket; retrying after timeoutE/RILD    ( 1893): **RIL Daemon Started**E/RILD    ( 1893): **dl open failed **

Seems we have issue about ril daemon :/
Look at this i think could be useful..

http://androidapps.o...8_d1e18369.html

Edited by davidevinavil, 11 March 2011 - 06:05 PM.

  • 0
If you like my work, offer me a beer

#67
davidevinavil

davidevinavil

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,005 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal
I'm trying to change some stuff about telephony in framework.jar, but results are less good that original aosp framework.jar :/

Edited by davidevinavil, 11 March 2011 - 06:37 PM.

  • 0
If you like my work, offer me a beer

#68
davidevinavil

davidevinavil

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,005 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal
I've push libril*.so and libreference-ril.so from acer to phone..
Reinstalled aosp Phone.apk
Take SimCard.smali and BaseCommands.smali from acer to aosp framework.jar
Now I've no service instead of no simcard
This is my framework.jar

https://docs.google....O...yMjk5&hl=en

This is result of adb shell ls -l /dev/socket/*
srw-rw---- bluetooth bluetooth          2011-03-12 15:27 dbussrw------- system   system            2011-03-12 15:27 installdsrw-rw-rw- root     root              2011-03-12 15:27 keystoresrw-rw---- root     system            2011-03-12 15:27 netdsrw-rw-rw- root     root              2011-03-12 15:27 property_servicesrw-rw---- root     mount             2011-03-12 15:27 voldsrw-rw-rw- root     root              2011-03-12 15:27 zygote

Here result of metalounay
srw-rw----    1 1002     1002             0 Mar 12 19:33 /dev/socket/dbussrw-------    1 1000     1000             0 Mar 12 19:33 /dev/socket/installdsrw-rw-rw-    1 0        0                0 Mar 12 19:33 /dev/socket/keystoresrw-rw----    1 0        1000             0 Mar 12 19:33 /dev/socket/netdsrw-rw-rw-    1 0        0                0 Mar 12 19:33 /dev/socket/property_servicesrw-rw----    1 0        1001             0 Mar 12 19:33 /dev/socket/rildsrw-rw----    1 1001     1000             0 Mar 12 19:33 /dev/socket/rild-debugsrw-rw----    1 0        1009             0 Mar 12 19:33 /dev/socket/voldsrw-rw-rw-    1 0        0                0 Mar 12 19:33 /dev/socket/zygote

How can we add rild and rild-debug to /dev/socket?
I've tryed with adb shell with no succes :D

Edited by davidevinavil, 13 March 2011 - 01:57 AM.

  • 0
If you like my work, offer me a beer




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users