Quote:
Originally Posted by muziling
PPPD establish connection need auth, auth user and password is store at phone, so we can use these AT commands to gather username and password, then be pppd run parameters.
I don't know this is right or not, not found CDMA document which intro pppd auth.
HERO200, MMS related with:
HOME ADDRESS
Primary HA Address
Second HA Address
|
Ohh ic. Ok, if you can get the username and pass as a string. Then we can save that to a file and have pppd use the file for auth. Having the Ril pass down U/P will require framework changes which i can't make.
The old ril worked this way so you can go back and add the functionality.
htcgeneric-ril.c - hardware_xdandroid-ril in XDAndroid - Gitorious
Look at this line and how they write the data to /etc/ppp/pap-secrets
edit: ignore this.. Hyc is right i forgot /etc is RO.
.. Only other hack i can think of is doing a setprop to write the u/p and replace pppd service with a script that will run with a password. samsung uses something called pppd-runner which is a script that has the U/P in there. crazy animals ..lol