• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

[ROM][beta]CyanogenMod 9

682 posts in this topic

Posted

TexaS Instruments? Are you kidding?

Well... stock kernel without CA patches won't obviously work, as it's written for other than ours MSM7x30 chipset.

why it still works for most tasks? :D

Their github for U8800 is here https://github.com/dzo,

alright, I'm investigating it since a while (camera hal also from there :D)

I'll be able to help in development.

alright let the party begin :D

0

Share this post


Link to post
Share on other sites

Posted (edited)

TexaS Instruments? Are you kidding?

:D

Edited by fabiorino
0

Share this post


Link to post
Share on other sites

Posted

you can not install the script A2DX? : (I finished space

0

Share this post


Link to post
Share on other sites

Posted

you can not install the script A2DX?

no way, it's a CY-mod, not stock.

0

Share this post


Link to post
Share on other sites

Posted

no way, it's a CY-mod, not stock.

The script you used in miui?

Not usable?

0

Share this post


Link to post
Share on other sites

Posted

The script you used in miui?

darktremor scripts are much different from that..

0

Share this post


Link to post
Share on other sites

Posted

I'm introducing new way to "recharge" phone(return ability to call) so you don't need to reboot:

-terminal emulator -> acquire root by typing

su
-type "ps", scroll list you got and remember its pid; for example you got something like that:
radio	 108   1	 21468  4728  ffffffff 40010d14 S /system/bin/rild[/code]


2nd number - 108 will be a pid, remember it.

-just type

[code]kill [pid you remembered][/code]
for example:
[code]kill 108[/code]
it will restart ril, so just a minute, and you are ready to go. Also my ril investigations went me to main reason of data connection hungs - qmuxd binary and maybe its link to kernel. As I investigated earlier- framework attempts to read setup_data_call request, so now I found that request is formed in qmux_connect_socket at data/radio by both qmuxd and netmgrd. But system just don't have qmux_client_socket, seems like a user-part socket for others. And that chain unlinks somewhere over these binaries which are proprietary. to trace ril binaries I used
[code]strace -f [binary name][/code]
command. last outputs gave me those errors:
[code][pid 970] unlink("/data/radio/qmux_client_socket 970") = -1 ENOENT (No such file or directory)[/code]
[CODE][pid 810] connect(3, {sa_family=AF_UNIX, path="/data/radio/qmux_connect_socket"}, 33) = -1 ECONNREFUSED (Connection refused)[/code]

it's in netmgrd, in qmuxd and rild errors are the same.

0

Share this post


Link to post
Share on other sites

Posted

Also my ril investigations went me to main reason of data connection hungs - qmuxd binary and maybe its link to kernel. As I investigated earlier- framework attempts to read setup_data_call request, so now I found that request is formed in qmux_connect_socket at data/radio by both qmuxd and netmgrd. But system just don't have qmux_client_socket, seems like a user-part socket for others. And that chain unlinks somewhere over these binaries which are proprietary.

to trace ril binaries I used

strace -f [binary name]
command. last outputs gave me those errors:
[pid   970] unlink("/data/radio/qmux_client_socket	970") = -1 ENOENT (No such file or directory)[/code]


[CODE][pid 810] connect(3, {sa_family=AF_UNIX, path="/data/radio/qmux_connect_socket"}, 33) = -1 ECONNREFUSED (Connection refused)[/code]

it's in netmgrd, in qmuxd and rild errors are the same.

Well, me seems its about permissions in init scripts starting qmuxd:

chmod /dev/oncrpc and /dev/oncrpc/* to be writeable by qmuxd and rild (777 should work fine, but I don't know if it's the best way),

as well as created /data/radio/ and made it writeable by qmuxd and rild (777) - no socket, connection refused.

HTH.

0

Share this post


Link to post
Share on other sites

Posted

Well, me seems its about permissions in init scripts starting qmuxd:

chmod /dev/oncrpc and /dev/oncrpc/* to be writeable by qmuxd and rild (777 should work fine, but I don't know if it's the best way),

as well as created /data/radio/ and made it writeable by qmuxd and rild (777) - no socket, connection refused.

tommorow I will commit ramdisk changes that I got at the moment, so you could see and test them. All permissions were worked on gingerbread.

My "ps" out shows qmuxd, netmgrd and rild with right owner. Data/radio is on right permissions, maybe there should be also chown radio radio on that folder..

0

Share this post


Link to post
Share on other sites

Posted

so now mobile data and camera are working?

0

Share this post


Link to post
Share on other sites

Posted

"external help arrived, let's start to rock&roll!" WOOOOOOOOOOOOOOOOOOOOOOW

0

Share this post


Link to post
Share on other sites

Posted (edited)

[pid   970] unlink("/data/radio/qmux_client_socket	  970") = -1 ENOENT (No such file or directory)
sounds strange, but when deeply investigated strace outputs at gingerbread, found that error is COMMON! what the damn ril.. so for now it seems all is common, but error
[pid   810] connect(3, {sa_family=AF_UNIX, path="/data/radio/qmux_connect_socket"}, 33) = -1 ECONNREFUSED (Connection refused)[/code]


still persists at ics and don't even appears at gb.. oh how I wish to bash that qualcomm-acer mess..



so now mobile data and camera are working?
No, we even haven't started yet :P ADD: gingerbread:
[code]srwxrwxrwx 1 root root 4096 Jun 27 16:37 qmux_connect_socket[/code]
ics:
[CODE]srwxrwxrwx root root 2012-06-27 05:28 qmux_connect_socket[/code]

as I read, 1 is a link count.. ics one don't have any links.. and ics one is null byte(so placeholder)..

and seems qmux_client_socket is a free data connection representation, constructed by framework, so it's really means nothing binaries don't have access to it initially.

Edited by Lens_flare
0

Share this post


Link to post
Share on other sites

Posted

ok... in any case great job.... great lens, thank you!!! :)

0

Share this post


Link to post
Share on other sites

Posted

Just flashed the ROM to try out.

From what i see, there's no "/dev/diag" entry, RILD needs it.


[pid  1617] open("/dev/diag", O_RDWR)   = -1 ENOENT (No such file or directory)

[pid  1617] write(1, " Diag_LSM: Diag_LSM_Init: Failed"..., 74 Diag_LSM: Diag_LSM_Init: Failed to open handle to diag driver, error = 2

Can someone check if it exists in GingerBread ?

0

Share this post


Link to post
Share on other sites

Posted

CM 7.2

crw-rw-rw- 1 root root 240, 0 Jun 26 01:00 diag

0

Share this post


Link to post
Share on other sites

Posted

Thanks for the quick replay, so let's find why it's not created =)

0

Share this post


Link to post
Share on other sites

Posted

I'm glad you guys decided to go back on that CM9 port ! Keep it up :')

0

Share this post


Link to post
Share on other sites

Posted (edited)

From what i see, there's no "/dev/diag" entry, RILD needs it.

Vache, I have made it working by activating drivers/diag/char driver at kernel(was "m", I switched to "y"), I do had these lines too, but it's not a reason.

From what I could understand, the problem is somewhere on kernel<->qmuxd bridge.

As we could see, qmux_connect_socket is just a stub, and it should be mapped to 4k space as it used to be at gingerbread.

Edited by Lens_flare
0

Share this post


Link to post
Share on other sites

Posted

Did you check that the entry was created ?

Cause each time i'm trying to build the kernel, the .config is rewrited without the DIAG_CHAR option.

0

Share this post


Link to post
Share on other sites

Posted

Did you check that the entry was created ?

yeah, now I have:

open("/dev/diag", O_RDWR)   =3[/CODE]

and subsequent entry at dev - dev/diag with right permissions.

[color=#4E565E][font=Verdana, Tahoma, Arial,]Cause each time i'm trying to build the kernel, the .config is rewrited without the DIAG_CHAR option.[/font][/color][color=#4E565E][font=Verdana, Tahoma, Arial,] [/font][/color]

I used make menuconfig instead :P

0

Share this post


Link to post
Share on other sites

Posted

oohh i'm so tired of metallic voice....

(maybe it's can be fixed???)

0

Share this post


Link to post
Share on other sites

Posted

oohh i'm so tired of metallic voice....

not a first priority, wait.

0

Share this post


Link to post
Share on other sites

Posted

not a first priority, wait.

Very sad.....

0

Share this post


Link to post
Share on other sites

Posted (edited)

yeah, now I have:

open("/dev/diag", O_RDWR)   =3[/CODE]

and subsequent entry at dev - dev/diag with right permissions.

I used make menuconfig instead :P

Could you share this kernel ?

Edit : Wich branch i should use from your github ?

Edited by vache
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.