Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,782,164 Members 50,222 Now Online
XDA Developers Android and Mobile Development Forum

[DISCONTINUED]Fixing Ril in psych_half's cm10.1 build

Tip us?
 
codekidX
Old
(Last edited by codekidX; 19th June 2014 at 09:46 AM.)
#21  
codekidX's Avatar
Senior Member
Thanks Meter 1,575
Posts: 1,008
Join Date: Mar 2012
Location: Mumbai

 
DONATE TO ME
Use my device tree ...and see if the RIL is fixed

Edit: microphone will be fixed if ril is fixed

Not Complete

psych half's device tree is more complete so use this:

Patch to system/core for RIL to work: https://gist.github.com/chotu222/140eadfc8f2ee0c9558b
Patch to use primary sim settings: https://gist.github.com/chotu222/62c73e655f282ee4bf0a
The Following 4 Users Say Thank You to codekidX For This Useful Post: [ Click to Expand ]
 
HJain13
Old
#22  
HJain13's Avatar
Member
Thanks Meter 9
Posts: 42
Join Date: Feb 2013
Location: Jaipur
Quote:
Originally Posted by sambathpkr View Post


we need a developer who downloads our device's sources and compile a fresh rom.

so friends asking help from various developers led us to this stage.so don't loose your hope on this little device.keep asking help.

the new modifications in github is available here:

RIL-MODIFICATIONS:

Patch to system/core for RIL to work: https://gist.github.com/chotu222/140eadfc8f2ee0c9558b

Patch to use primary sim settings: https://gist.github.com/chotu222/62c73e655f282ee4bf0a

Thanks to @chotu222

I hope We get a developer working on this soon.
 
psyduck
Old
#23  
psyduck's Avatar
Member
Thanks Meter 116
Posts: 95
Join Date: Apr 2014
Location: Mumbai
[/QUOTE]

RIL-MODIFICATIONS:

Patch to system/core for RIL to work: https://gist.github.com/chotu222/140eadfc8f2ee0c9558b

Patch to use primary sim settings: https://gist.github.com/chotu222/62c73e655f282ee4bf0a

[/SIZE][/LEFT][/QUOTE]

ril modifications are empty
there's nothing?
The fragile, the broken
Sit in circles and stay unspoken
We are powerless ... .
The Following User Says Thank You to psyduck For This Useful Post: [ Click to Expand ]
 
psych.half
Old
(Last edited by psych.half; 30th June 2014 at 12:58 PM.)
#24  
Junior Member
Thanks Meter 3
Posts: 10
Join Date: Jun 2014
Quote:
Originally Posted by Om! Lp ChazZ View Post
ril modifications are empty
there's nothing?
dude changed his name.. and github don't redirect :|

gist.github.com/codekidX/140eadfc8f2ee0c9558b
gist.github.com/codekidX/62c73e655f282ee4bf0a

anyways that's the standard ril for samsung broadcom devices
we don't even know if this device really has a broadcom ril :|
The Following User Says Thank You to psych.half For This Useful Post: [ Click to Expand ]
 
sambathpkr
Old
(Last edited by sambathpkr; 30th June 2014 at 04:15 PM.)
#25  
sambathpkr's Avatar
Member - OP
Thanks Meter 58
Posts: 68
Join Date: Jan 2012
Location: Coimbatore
Quote:
Originally Posted by psych.half View Post
dude changed his name.. and github don't redirect :|

gist.github.com/codekidX/140eadfc8f2ee0c9558b
gist.github.com/codekidX/62c73e655f282ee4bf0a

anyways that's the standard ril for samsung broadcom devices
we don't even know if this device really has a broadcom ril :|
hi mannnn..we missed u...what happend to ur account...?

meanwhile i have decrompressed framework.jar of our stock rom and i 'have found out our phone uses a generic ril file in com/android/internal/telephony called RIL.java and it doesn't have any bcmril.java also i have tried to replace the smali files but it gives me force close problems.we have to update that ril file in github and remove those brcm ril files.
 
psych.half
Old
(Last edited by psych.half; 30th June 2014 at 07:09 PM.)
#26  
Junior Member
Thanks Meter 3
Posts: 10
Join Date: Jun 2014
Quote:
Originally Posted by sambathpkr View Post
hi mannnn..we missed u..
yeah thank you all.. i missed me too o_O

Quote:
Originally Posted by sambathpkr View Post
meanwhile i have decrompressed framework.jar of our stock rom and i 'have found out our phone uses a generic ril file in com/android/internal/telephony called RIL.java and it doesn't have any bcmril.java also i have tried to replace the smali files but it gives me force close problems.we have to update that ril file in github and remove those brcm ril files.
cool you decompiled framework and i disassembled libraries ._.

and generic pfft.. as if, here are a few functions refrenced by librefrence-ril.so
Code:
StartMulticlient
RIL_onMultiClientRequestComplete>
RIL_onMultiClientUnsolicitedResponse
sprd_GetCurrentBand
sprd_DebugScreen
sprd_BandSelect
sprd_DataSwitch
and that's not it, the real connection to ril is made by libsecril-client.so, i don't have to say what sprd is, but sec is samdung electronic corporation.. incase anyone doesnt know. :|

libsecril-client.so
Code:
OpenClient_RILD
Connect_RILD
Connect_RILD_Second
isConnected_RILD
Disconnect_RILD
CloseClient_RILD
SetCallVolume
SetCallAudioPath
SetCallClockSync
SetCallRecord
SetMute
GetMute
SetTwoMicControl
SetClientData
GetClientData
not so generic now, eh? >_>

these are just a few functions, but they should be pretty much self explanatory :s
the API has been greatly modified, and as it currently is, it is not aosp compatible..
and i'm sorry i don't have the device or the time to go through all the decompiled codes to patch this =(
The Following User Says Thank You to psych.half For This Useful Post: [ Click to Expand ]
 
akshaygalaxystarmod
Old
#27  
akshaygalaxystarmod's Avatar
Senior Member
Thanks Meter 291
Posts: 183
Join Date: Dec 2013
Location: New Delhi
Latest build is up ?
Can anyone tell me that ril is fixed ? Properly
 
Mythdroid
Old
#28  
Member
Thanks Meter 11
Posts: 49
Join Date: Jul 2014
Location: Kolkata
what happend ?? evryone silent
 
VECTUS
Old
#29  
VECTUS's Avatar
Forum Moderator / Recognized Developer
Thanks Meter 7,079
Posts: 3,166
Join Date: Mar 2010
Location: Kansas City, Mo.

 
DONATE TO ME
Closed per OP request

Tags
ril fix, star duous
THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes