← Back to team overview

ubuntu-phone team mailing list archive

Re: Phone Network ( help )

 

Let me see if i understand, i should only remove the /bin/rild line right?

I removed most of ril lines and got this error as i said it before:

E/RILD    (  856): dlopen failed: Cannot load library:
load_library(linker.cpp:747): library "/system/lib/libsec-ril.so" not found

What about the line ?

*
vendor/samsung/galaxysbmtd/proprietary/lib/libril.so:system/lib/libril.so *
*
*
Should i remove it also or leave it?
*
*
*there is also those lines that i am keeping it.*
*
*
*
vendor/samsung/galaxysbmtd/proprietary/lib/libsecril-client.so:system/lib/libsecril-client.so
\*
*
vendor/samsung/galaxysbmtd/proprietary/lib/libsec-ril.so:system/lib/libsec-ril.so
\*


Thanks!



[]'sf.rique


On Tue, Apr 16, 2013 at 4:28 PM, Tony Espy <espy@xxxxxxxxxxxxx> wrote:

> On 04/12/2013 09:23 PM, Henrique Santos Fernandes wrote:
> >
> > Hello,
> >
> > David Hacker helped me a lot about some stuff.
> >
> > It seens my device is not compiling ril and using stubs of coping.. not
> > sure yet..
>
> We discussed this earlier today and I also did a bit or research.  The
> Galaxy S was released with Android 2.1 originally, and never in fact was
> upgraded to ICS.
>
> I'm pretty sure based upon your description that the problem is that
> Samsung shipped the entire RILD daemon as a binary blob as that's the
> way things were done back then.
>
> What we need to do next is figure out whether or not it's possible to
> build RILD using the AOSP bits.  If it isn't, then unfortunately a fix
> may prove to be rather difficult.
>
> Please see further comments below.
>
> > I am gonna write down what he helped me to do!
> >
> >
> >     I mentioned this earlier in the thread.
> >
> >     Did you examine the source code link I sent you?  If so, you'd see
> the
> >     log calls that output the lines you saw from logcat:
> >
> >     > Got this on log cat:
> >     >     > E/RILC    (  140): RILD can't accept socket from process root
> >     >     > E/RILC    (  140): RILD must accept socket from radio
> >     >
> >
> >     These are the lines removed by the patch ( also referenced in my last
> >     patch ).
> >
> > Yes, i checked the file and the pacth is applied.
> >
> >     I'm not sure...  you did the porting work for this device, correct?
>  If
> >     so, did you modify any of the AOSP source and/or Android .mk files?
> >     Just wondering if any changes you made could've affected the
> application
> >     of our patches?
> >
> >
> > I did not changed the .mk files  or the source i did it after, i will
> > explain it below.
> >
> > I did as it says on the wiki for my device ( i wrote it )
> > https://wiki.ubuntu.com/Touch/Devices/galaxysbmtd
> >
> >
> > Let's start what i did so far with David Hacker help.
> >
> > I ported my device doing adding those to manifest:
> >
> > <project name="CyanogenMod/android_device_samsung_galaxysbmtd"
> path="device/samsung/galaxysbmtd" remote="github" revision="cm-10.1" />
> >  <project name="CyanogenMod/android_device_samsung_aries-common"
> path="device/samsung/aries-common" remote="github" revision="cm-10.1" />
> >  <project name="CyanogenMod/android_kernel_samsung_aries"
> path="kernel/samsung/aries" remote="github" revision="cm-10.1" />
> >  <project name="CyanogenMod/android_hardware_samsung"
> path="hardware/samsung" remote="github" revision="cm-10.1" />
> >
> > As i told david hacker about this, he saw this on a file called
> > boardconfigcommom.mk <http://boardconfigcommom.mk>
> > BOARD_USES_LIBSECRIL_STUB := true
> >
> > But at the file vendor/samsung/galaxysbmtd/BoardConfigVendor.mk ( that i
> > guess overrides the common.mk <http://common.mk> )
> >
> > I have this:
> > BOARD_USES_LIBSECRIL_STUB := false
> >
> > So i am a bit confused if i am compiling it or just coping the ril.
>
> Based upon your description, I would try setting
> BOARD_USES_LIBSECRIL_STUB to true, and removing the /bin/rild line from
> PRODUCT_COPY_FILES.
>
> As mentioned above, there's no guarantee that this will work, but it's
> worth trying.
>
> Regards,
> /tony
>
>

References