ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #01682
Re: Phone Network ( help )
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..
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
BOARD_USES_LIBSECRIL_STUB := true
But at the file vendor/samsung/galaxysbmtd/BoardConfigVendor.mk ( that i
guess overrides the 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.
He also told me this could be the problem, my device has ril code it seft.
https://github.com/CyanogenMod/android_hardware_samsung/tree/cm-10.1/exynos4/ril
Another this is that after extracting my proprietarys i also saw this int
this file: vendor/samsung/galaxysbmtd/galaxysbmtd-vendor-blobs.mk
PRODUCT_COPY_FILES += \
vendor/samsung/galaxysbmtd/proprietary/etc/gps.conf:system/etc/gps.conf
\
vendor/samsung/galaxysbmtd/proprietary/vendor/bin/gpsd:system/vendor/bin/gpsd
\
vendor/samsung/galaxysbmtd/proprietary/vendor/etc/gps.xml:system/vendor/etc/gps.xml
\
vendor/samsung/galaxysbmtd/proprietary/vendor/lib/hw/gps.aries.so:
system/vendor/lib/hw/gps.aries.so \
*
vendor/samsung/galaxysbmtd/proprietary/lib/libril.so:system/lib/libril.so \*
*
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
\*
* vendor/samsung/galaxysbmtd/proprietary/bin/rild:system/bin/rild \*
vendor/samsung/galaxysbmtd/proprietary/vendor/lib/libsensor_yamaha_test.so:system/vendor/lib/libsensor_yamaha_test.so
\
vendor/samsung/galaxysbmtd/proprietary/vendor/bin/orientationd:system/vendor/bin/orientationd
\
vendor/samsung/galaxysbmtd/proprietary/vendor/bin/geomagneticd:system/vendor/bin/geomagneticd
\
vendor/samsung/galaxysbmtd/proprietary/modem.bin:modem.bin
So o realy don't know what is happening and why i am not getting the
patches...
I have looked at my compile code an saw this:
I will translate myself the content
build/core/Makefile:44: warning: imposing/enforcing commands to target
`/home/sfrique/Ubuntu-Phone/out/target/product/galaxysbmtd/system/lib/libril.so'
build/core/base_rules.mk:502: warning: ignoring old commands to target
`/home/sfrique/Ubuntu-Phone/out/target/product/galaxysbmtd/system/lib/libril.so'
build/core/Makefile:44: warning: imposing commandss to target
`/home/sfrique/Ubuntu-Phone/out/target/product/galaxysbmtd/system/bin/rild'
build/core/base_rules.mk:502: warning: ignoring old commands to target
`/home/sfrique/Ubuntu-Phone/out/target/product/galaxysbmtd/system/bin/rild
Don't know if this is saying it is compile or not...
Anyhow, i did two more builds that i have not tested yet. I had no time to
test it.
One build i just change the variable on common.mk to false.
And another build i removed those lines that referes to ril stuff on
PRODUCT_COPY_FILES
So yes there anything else i can do? I will try my builds as soon as i have
time to try debug a bit more.
But if anyone knows something else i can do i would apreciate.
And sorry for my english =]
[]'sf.rique
On Fri, Apr 12, 2013 at 2:37 PM, Tony Espy <espy@xxxxxxxxxxxxx> wrote:
> On 04/11/2013 04:58 PM, Henrique Santos Fernandes wrote:
> > Someone else already told me some pacthes werent applied... i lkooked
> > and it was applied.
>
> 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 ).
>
> > I will remove all my sources and start over with phablet-dev-bootstrap
> >
> > I am syng the new repo right now... and will see whats happens...
> >
> > But how the pacthes cant be applied if if i am using
> > phablet-dev-bootstrap -c ?
>
> 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?
>
> > Well, i just started to sync from another computer... it shold work
> > right? =]
> >
> > Lets see...
>
> Keep us posted.
>
> /tony
>
>
>
Follow ups
References