View Single Post
  #115 (permalink)  
Old 10-17-2011, 02:51 PM
[ACL]'s Avatar
[ACL]
VIP Member
Offline
Threadstarter
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: [DEV] - OMGB - 1.2.2{2.3.5} - CDMA ONLY

Quote:
Originally Posted by muziling View Post
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
__________________

Last edited by [ACL]; 10-17-2011 at 03:54 PM.
Reply With Quote