webOS Nation Forums >  Other OS's and Devices >  Android on webOS > Android on 4G TouchPad
Android on 4G TouchPad
  Reply
Like Tree75Likes

 
Thread Tools Display Modes
Old 12/29/2012, 06:34 PM   #161 (permalink)
Member
 
Posts: 87
I dont believe there is one for any platform. The main difference upon inspecting my old sim and the new sim is that when i access the sim card using sim tools there is the ability to utilize the space on the sim for additional sim contacts or additional messages stored on the sim, my old sim did not have that.
ceejayr is offline   Reply With Quote
Old 12/29/2012, 06:55 PM   #162 (permalink)
Member
 
Posts: 211
Guess, what! It is working now.
But I had to install CM10, and while I got "Default Message" at the bottom,
1. Turned off Wifi
2. Created manually the Internet APN for my carrier.
3. Profit! I was connected to Internet finally!

I am going to try doing it on CM9. I will try and restore it from its nandroid backup.

I do no feel comfortable with CM10 yet. Specially about that battery charging thing thaty may brick the Touchpad.
pepebuho is offline   Reply With Quote
Old 12/29/2012, 07:03 PM   #163 (permalink)
Member
 
Posts: 87
cool! someone did suggest that in one of the posts before it got deleted. good job.
ceejayr is offline   Reply With Quote
Old 12/29/2012, 07:50 PM   #164 (permalink)
Member
 
Posts: 211
Ok, now I can confirm that it works also on CM9. I just reinstalled cm-9-MBM_Beta-20121204-4g_beta1-tenderloin
As soon as I passed the initial config, after getting an initial "Unfortunately, the process com.android.phone has stopped." error and a setup wizard stopped error, I went to Data Usage ->more... and created manually the APN entry for my carrier.
After that, I turned off wifi and Internet connected fine through the mobile data network.


-----Update 12/30/2012
It didn't survive a reboot!
despite saving it, the manual APN does not seem to survive the reboot.

Last edited by pepebuho; 12/30/2012 at 08:19 AM. Reason: add info
pepebuho is offline   Reply With Quote
Old 12/30/2012, 04:43 PM   #165 (permalink)
Member
 
Posts: 211
Cool, knowing the problem really helps to find a solution, or at least a workaround.

Regarding the com.android.phone has stopped problem, it seems it is because CM9 can't read the sim and can't apply the APN to connect to Internet. Worse, it seems like CM9 cannot save the new APN info to use after a reboot.

My solution needs two programs: Titanium Backup Pro (the paid version) and a utility called "APN Backup & Restore" Both are in the google play store.

From a newly updated CM9, create a working APN. Believe me, once the com.android.phone process sets in, one will not be able to have enough time to input all the data for the APN. I tried. I wasn't fast enough.

Start Titatnium Backup and convert the APN Backup app into a system App. CMN (ICS) does not allow common apps to modify APN data. That's why APN backup has to run in root mode.

Run APN backup and backup the APN.
Reboot
After reboot, the com.android.phone error should start popping around.
Go to APN Backup and restore the APN.
The error should go away and you should be connected to Internet.

I wish there were a system mode to do that, but if you set airplane mode, you lose access to the mobile data menus.
pepebuho is offline   Reply With Quote
Old 12/31/2012, 08:25 PM   #166 (permalink)
Member
 
Posts: 211
ok, not quite success.
Still having problems
I need something that would allow me to backup the whole data mobile wireless info and restore it on demand.
That would be the regional network and the APN.

Right now each time the error comes up it does not give me enough time to find the network and register to it.

As it is, it is just luck if I can set up everything on time before the error crops up
pepebuho is offline   Reply With Quote
Old 12/31/2012, 09:45 PM   #167 (permalink)
Member
 
Posts: 159
Quote:
Originally Posted by pepebuho View Post
ok, not quite success.
Still having problems ...

As it is, it is just luck if I can set up everything on time before the error crops up
pepebuho:

It would be helpful if you could send me some logs. Also, please send the APN settings that work for your mobile carrier. I may be able to learn something that will help figure out what is going wrong with the older SIMs.

You can create a log dump by running Terminal Emulator, typing 'su' to get to get a superuser prompt, then typing 'aldtf.sh'. This script will create a zip file with all the logs in /sdcard/logs. You should perform the log dump as soon as you can following a reboot so it captures the initial log entries. You may get errors if fsckdos is still running, but just type aldtf.sh again.

Send me the logs attached to a PM and I will see if I can come up with a fix...

Happy New Year,
John
NewbyJE is offline   Reply With Quote
Old 01/01/2013, 12:18 AM   #168 (permalink)
Member
 
Posts: 211
Hi NewbyJE
Couldn't find how to attach the log to a PM, therefore I will post it here.
There are two files: 20121231-2336-logs.tar.zip
The last extension really is .gz, but I had to change it to zip for the forum software to accept it, otherwise it kept rejecting it.
Likewise the APN is an xml file called apns-20121231134057.txt. The extension should be xml but I had to change it to txt for the forum software to accept it.

That is the APN that works when I am registered at my carrier, Movistar. Under WebOS it works flawlessly.

I hope this helps to solve this issue, if you need anymore data just let me know.

Thanks!
Attached Files
File Type: zip 20121231-2336-logs.tar.zip (102.4 KB, 2 views) Email Attachment
File Type: txt apns-20121231134057.txt (324 Bytes, 2 views) Email Attachment
pepebuho is offline   Reply With Quote
Old 01/01/2013, 01:05 AM   #169 (permalink)
Member
 
Posts: 211
BTW, my SIM is a Data only SIM, it does not have a voice data plan activated, just FWIW.
Maybe it has something to do, maybe not.

JP
pepebuho is offline   Reply With Quote
Old 01/01/2013, 02:04 AM   #170 (permalink)
Member
 
Posts: 211
NewbyJE
Just for kicks I tried the SIM on my HP PRE and voila, everything worked perfectly. This SIM has voice and data, and it is an earlier than my current Touchpad SIM. I have had my Pre 3 since Sep 2011
I am attaching the logs. Again, change the .zip for .gz. because otherwise the forum software would not accept the file.

Thanks!
Attached Files
File Type: zip 20130101-0240-logs.tar.zip (83.1 KB, 2 views) Email Attachment
pepebuho is offline   Reply With Quote
Old 01/01/2013, 02:26 AM   #171 (permalink)
Member
 
Posts: 159
pepebuho:

Thanks. I took a quick look at the first set. This is a Legacy SIM and it is tripping up the code. Having the logs will help me try to figure out if there is a way to make such SIMs work. Will let you know if I come up with anything.

Looking at the second set, it also seems to be a Legacy SIM. However, it did connect using first EDGE, then UMTS (3G). Did not connect using HSDPA or H+.

I do not think it matters if it is a data only SIM. The MBM code just seems to have trouble with Legacy SIMs. While I will try to fix the code, it is probably better to get a new USIM from Movistar.

I did create a version of the APN configuration file with Movistar Panama entries. Should work with either SIM, see if it makes any difference. It is attached with a 'txt' extension. Change it to 'apns-conf.xml' and save it as /system/etc/apns-conf.xml. Permissions should be rw-r--r--.

John
Attached Files
File Type: txt apns-conf.txt (184.8 KB, 3 views) Email Attachment

Last edited by NewbyJE; 01/01/2013 at 02:33 AM.
NewbyJE is offline   Reply With Quote
Old 01/01/2013, 03:23 PM   #172 (permalink)
Member
 
Posts: 87
Happy New Year John, your amazing work does not even rest on holidays. Kudos to you.
ceejayr is offline   Reply With Quote
Old 01/01/2013, 11:19 PM   #173 (permalink)
Member
 
Posts: 211
Hi John.
Replaced the apns-conf.xml file with the one you provided, changed the permission and rebooted.
There is no change in the situation. The problem is stil there.

I just attached the logs

Thanks for all the help!
Attached Files
File Type: zip 20130102-0004-logs.tar.zip (115.7 KB, 2 views) Email Attachment

Last edited by pepebuho; 01/01/2013 at 11:47 PM.
pepebuho is offline   Reply With Quote
Old 01/02/2013, 06:18 AM   #174 (permalink)
Member
 
Posts: 211
Hi John, I think this log might be a lot more useful.
I reinstalled everything from anew.
1. Wiped user data to factory reset
2. wiped partition
3. wiped dalvik cache
4. reinstalled cm-9-MBM_Beta-20121204-4g_beta1-tenderloin/gapps
5. rebooted

After entering all the initial info, I noticed that the tablet kind of registered to the phone network but did not have Internet Access. Going to Settings....APN names I noticed there was no APN, therefore entered and saved one manually (for some reason this APN does not get permanently saved).

Right after I entered the APN, I got internet connectivity, (turned wifi off to check).

Then I went to the terminal emulator and generated the attached logs.

I hope there is something a lot more useful in here.

JP
Attached Files
File Type: zip 20130102-0655-logs.tar.zip (192.6 KB, 1 views) Email Attachment
pepebuho is offline   Reply With Quote
Old 01/03/2013, 11:46 AM   #175 (permalink)
Member
 
Posts: 9
Does someone have a link to cm-9-MBM_Beta-20121204-4g_beta1-tenderloin.zip. I'm having a hard time finding it.
charley1g is offline   Reply With Quote
Old 01/03/2013, 12:09 PM   #176 (permalink)
Member
 
Posts: 211
Follow the link on this post: http://forums.webosnation.com/androi...ml#post3366528
pepebuho is offline   Reply With Quote
Old 01/03/2013, 01:28 PM   #177 (permalink)
Member
 
Posts: 7
Hello
Can someone please provide me with a link or info of the sim card (prepaid) that I will need and works with the 4g touch pad. I only want to do the prepaid or pay as we go sim cards .

Please help

Thanks

Jeff
jeffhp is offline   Reply With Quote
Old 01/03/2013, 05:12 PM   #178 (permalink)
Member
 
Posts: 9
Quote:
Originally Posted by pepebuho View Post
Thanks . Worked great!
charley1g is offline   Reply With Quote
Old 01/03/2013, 05:13 PM   #179 (permalink)
Member
 
Posts: 211
Maybe this document may help you out...
https://skydrive.live.com/view.aspx?...6DD7CEA029!121
pepebuho is offline   Reply With Quote
Old 01/04/2013, 10:37 PM   #180 (permalink)
Member
 
Posts: 211
John.
Lurking and Googling I came to this file on the /data/data/com.android.phone/shared_prefs subdirectory: com.android.phone_preferences.xml

/data/data/com.android.phone/shared_prefs # cat com.android.phone_preferences.xml
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<string name="network_selection_name_key">movistar</string>
<string name="network_selection_key">714020</string>
</map>

As you can see, it already has the network and its MCC/MNC (or whatever it is called).
I wonder:
1. Is it possible to write directly into this place ? It is a -rw-rw---- file, so I figure it should be writable unless the file system is mounted ro. Actually, checking out the mount command, it says that it is rw, nosuid, nodev, noatime, barrier=1,data =ordered,noauto_da_alloc. I guess it means it is writable.
2. If I can backup and restore that file after a reboot, When com.android.phone stops, and restarts, will it pickup that file and connect to the network or will it erase it and try to connect and then write a new one? What is the behavior of com.android.phone supposed to be?

I wonder and I'd rather find out a little more from those ahead of me before really bricking the 4G

JP


======================
No dice.
I am in the middle of com.android.phone has stopped
I just SSHd to that file and it is there with the correct info. Why doesn't CM9 pick up that info and just log into the network?

Last edited by pepebuho; 01/05/2013 at 10:50 AM. Reason: update
pepebuho is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0