[Android General] andrea210701:
Hey,do you can send this cm10 via pm to me? Thanks,and,try this directly from g510 cm10.1 snapshot [quote name='joestone' timestamp='1376772208' post='2149556']Spanish guys : The troll is on again with the photoshopped screen as I read it on htcmania. :D You can check my previous jobs here on modaco or on xda (gt540, zte smarttab, g300).

You can download my build http://goo.im/devs/joestone/g510/cm-10.1-20130817-UNOFFICIAL-G510.zip it has a lot of non working parts , but ril and nfc are working.

Developers : This is my huaweiril2 whic was used to fix the ril. It logs a lot and not needed in production build.http://goo.im/devs/joestone/g510/HuaweiRIL2.java

How to fix ril .

First be sure you have ro.telephony.ril.v3=qcomdsds in your system prop . This is needed as our ril libs are made for multisim and have to send sub1 as main ril socket.

Qualcomsharedril is not suitable for our device as it has mQANElements=5 by default and we need 4. The main RIL has 4 as default.It is used by responseOperatorInfos(Parcel p) The second thing why it is not suitable it uses too many elements in responseIccCardStatus(Parcel p) by default (no sim pin request , invalid apptype in radiolog) . It can be switched off by using skippinpukcount oldril feature , but main RIL is fine with this too by default. Datacall routines are also fine in main ril.

The only reason why we should need a custom ril is to fix the shown baseband version. Of course if no other bug is found .

The non working state drops first this in radiolog :

W/RILC( 144): RIL_onUnsolicitedSendResponse called before RIL_register

E/RILD( 144): isMultiSimEnabled: prop_val = 0 enabled = 0

D/RILC( 144): QCRIL_RPC

D/RILC( 144): QCRIL_RPC

E/RILC( 144): RIL_register: RIL version 7

While with the working version contains :

E/RILD( 186): **RIL Daemon Started**

E/RILD( 186): **RILd param count=1**

E/RILD( 186): RIL_Init argc = 5 client = 0

E/RILD( 186): isMultiSimEnabled: prop_val = 0 enabled = 0

E/RILC( 186): RIL_register: RIL version 7

E/RILC( 186): s_registerCalled = 1, s_started = 1, RIL_getMaxNumClients = 1

No custom ril needed in framework , we can use the main ril.java.

Copy the ril libfiles from stock rom. I used these files from stock VF rom : Copy libqcci_legacy.so also as it used by atserver.

check your init files to have the following services:

in on boot section

pcm-bridge is not needed as pcm-bridge does not exist in stock rom (at least in my stock rom)

service atserver /system/bin/atserver

class core

oneshot

service netmgrd /system/bin/netmgrd

class main

service bridgemgrd /system/bin/bridgemgrd

class main

user radio

group radio

disabled

service port-bridge /system/bin/port-bridge /dev/smd0 /dev/ttyGS0

class main

user system

group system inet

disabled

service qmiproxy /system/bin/qmiproxy

class main

user radio

group radio

disabled

service qmuxd /system/bin/qmuxd

class main

user radio

group radio

In post-fs section

service ril-qmi /system/bin/sh /init.qcom.ril.path.sh

class main

user root

oneshot

in on emmc-fs section (you need BOARD_WANTS_EMMC_BOOT := true in boardconfig)

write /sys/module/block2mtd/parameters/block2mtd /dev/block/mmcblk0p14

on property:sys.radio.shutdown=true

exec /system/bin/sh /system/etc/init.qcom.efs.sync.sh

sorry for the long post.[/quote]

I have a friend devoloper,if you send to me link to cm10 i can help you,and.....are you embeddev on github :D

Tapatalkato via il mio gelato sfigato biscotto