This is modified version of ril.cpp where one device (server) ignores its vendor RIL and use the other device's (client) RIL by sending the server's RIL data, originally transmitted to Android's Java layer, to client via TCP socket and vice versa. The result is that the client recognizes the server's RIL data (mobile network status, incoming call/SMS, ...) as if the server's USIM is inserted in the client device.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function percentEncode(string) { | |
var char, charCode, i; | |
var encodedString = ''; | |
for (i=0; i<string.length; i++) { | |
char = string.charAt(i); | |
if ((char >= '0' && char <= '9') || | |
(char >= 'A' && char <= 'Z') || | |
(char >= 'a' && char <= 'z') || | |
(char == '-') || (char == '.') || |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am yhpark on github. | |
* I am yhpark (https://keybase.io/yhpark) on keybase. | |
* I have a public key whose fingerprint is A44A 49BD F5D2 0AA1 5C85 6BE9 1C28 AC90 6474 1CC8 | |
To claim this, I am signing this object: |