yashsingh1/xdaforums huggingface dataset:
[General Topics] TheMaster666:
My biggest beef with t-mobile is the goofy 3g frequency..

Basically to get a 3g phone I HAVE to use one made for T-Mobile.. and then I won't get 3G when in Europe..

Whoever came up with that idea hopefully has been fired by now..
[General Topics] Anderdroid:
The Vibrant will get 3G in Europe I'm pretty sure
[General Topics] TheMaster666:
One phone.. which may work.. isn't going to make me switch..

I'd rather have the ability to take an unlocked phone and use it here.. then the other way around..
[EVO 4G Q&A, Help & Troubleshooting] btedeski:
Has anyone compiled tun.ko under the 2.2 stock?

Bill T
[EVO 4G Q&A, Help & Troubleshooting] btedeski:
I have TUN vermagic=2.6.32.15-g746f4f0

Since nobody seemed to have it

I compiled TUN from the HTC sources, It loads,

** BUT ** looks like it is creating the TUN device as /dev/tun

vpnc seems to be looking in /dev/net/tun

I Will get vpnc working on a rooted stock 2.2 if it kills me :)

# ls /system/lib/modules

sequans_sdio.ko

bcm4329.ko

tun.ko

# strings /system/lib/modules/tun.ko | grep vermagic

vermagic=2.6.32.15-g746f4f0 preempt mod_unload ARMv7

# lsmod

tun 10734 0 - Live 0xbf000000

Tun is attached
[EVO 4G Q&A, Help & Troubleshooting] drizkol:
how do you get the source + compile tun.ko? i am using Fresh's 3.2.0.0 rom with the new HTC stock kernel that is supposed to save batter life. The kernel # is 2.6.32.15-g3a8614e
[EVO 4G Q&A, Help & Troubleshooting] btedeski:
HTC EVO Source

When I build the HTC code - it did not completely build everything but it did go get past tun so that is all I needed

I did this under fedora linux

you can download the HTC EVO source here

http://developer.htc.com/

you will need the google android build here is the instruction page

http://source.android.com/source/download.html

the google android source download included prebuilt compile binaries for the cross compile. I had to add the directories to my path so make could find them.

needed to edit Makefile change

EXTRAVERSION = .15-

== to ==

EXTRAVERSION = .15-g746f4f0

then did a make -j4 and waited

Bill
[EVO 4G Q&A, Help & Troubleshooting] drizkol:
yikes... i do have a linux box but this seems like a huge task, any way you can build tun.ko for my kernel?
[EVO 4G Q&A, Help & Troubleshooting] btedeski:
<< yikes... i do have a linux box but this seems like a huge task, any way you can build tun.ko for my kernel?

post your Kernel string here and I will see about doing it.
[EVO 4G Q&A, Help & Troubleshooting] drizkol:
Kernel Version:

2.6.32.15-g3a8614e

htc-kernel@and18-2 #7

don't worry if you don't have time.. thanks if you do!
[EVO 4G Q&A, Help & Troubleshooting] btedeski:
I am able to connect from the EVO to the work Cisco 3030 VPN

concentrator (I am the concentrator admin) so I am able to see the connection on the 3030 as well.

The 3030 sees the conneciton

I have been able to connect in the following modes

IPSec/UDP 3DES-168

IPSec 3DES-168

IPSec/NAT-T 3DES-168

But the VPN concentrator is reporting 0 bytes sent or received,

seeing the following messages when I start vpnc

/data/data/org.codeandroid.vpnc_frontend/files/vpnc --natt-mode force-natt /etc/

vpnc/vpnc.conf

Usage: ip link set DEVICE { up | down |

arp { on | off } |

dynamic { on | off } |

multicast { on | off } |

allmulticast { on | off } |

promisc { on | off } |

trailers { on | off } |

txqueuelen PACKETS |

name NEWNAME |

address LLADDR | broadcast LLADDR |

mtu MTU }

ip link show [ DEVICE ]

/etc/vpnc/vpnc-script: cannot create : directory nonexistent

backing up dns and resolve.conf

/etc/vpnc/vpnc-script: cannot create /etc/vpnc/dns1.txt: read-only file system

/etc/vpnc/vpnc-script: cannot create /etc/vpnc/dns2.txt: read-only file system

cp: cannot stat '/etc/resolv.conf': No such file or directory

vpnc-script ran to completion

VPNC started in background (pid: 4079)...

#

busybox route

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

63.117.98.165 174.146.29.245 255.255.255.255 UGH 0 0 0 rmnet0

174.146.29.244 * 255.255.255.252 U 0 0 0 rmnet0

198.182.130.128 * 255.255.255.128 U 0 0 0 tun0

default * 0.0.0.0 U 0 0 0 tun0

busybox ifconfig

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:8439 errors:0 dropped:0 overruns:0 frame:0

TX packets:8439 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:507599 (495.7 KiB) TX bytes:507599 (495.7 KiB)

rmnet0 Link encap:Ethernet HWaddr 42:9C:D7:E2:B3:C4

inet addr:174.146.29.246 Bcast:174.146.29.247 Mask:255.255.255.252

UP BROADCAST RUNNING MULTICAST MTU:1472 Metric:1

RX packets:1165 errors:0 dropped:0 overruns:0 frame:0

TX packets:1686 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:538348 (525.7 KiB) TX bytes:234465 (228.9 KiB)

tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00

-00

inet addr:198.182.130.158 P-t-P:198.182.130.158 Mask:255.255.255.255

UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:500

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

#
[EVO 4G Q&A, Help & Troubleshooting] nabbed:
Can anyone get vpn working at all?
[EVO 4G Q&A, Help & Troubleshooting] btedeski:
tun vermagic=2.6.32.15-g3a8614e

vermagic=2.6.32.15-g3a8614e preempt mod_unload ARMv7

see attached zip file
[EVO 4G Q&A, Help & Troubleshooting] nabbed:
What does this do?
[EVO 4G Q&A, Help & Troubleshooting] davidfretz:
me too

First, thanks for the compiled tun.ko for the stock ROM. I just got my Evo yesterday and am diving into Android for the first time, and have gotten rooted and VPNC installed and connected, but I get 0 bytes transferred on my Cisco ASA and no actual connection on the Evo. So I'm in the same boat, and from looking around, it doesn't look like anybody has gotten this working on 2.2 stock. I don't know enough to solve the problem myself, but just wanted to confirm that I have the same issue.
[EVO 4G Q&A, Help & Troubleshooting] drizkol:
VPNC Working

So... I have a workaround that does seem to work with 2.2 Froyo. I tried this on King's kernel, and netarchy's kernels (both worked). I then loaded the tun.ko from a few posts above, and insmod'd it to work for Fresh 3.2.0.0 (with the new HTC Kernel)

So, here's what you do...

-Connect using VPNC (should show connected, but not allow tunneling)

-Issue the following commands

3G: "ip rule del from all lookup gprs"

Wifi: "ip ru del table wifi"

I used the application GScript Lite to send the commands

Then tunneling works!
[EVO 4G Q&A, Help & Troubleshooting] davidfretz:
I have gotten the connection to work on my Evo running Fresh stock 3.28 ROM, using the commands above. However, when I disconnect the phone freezes and I have to pull the battery to reset. Any ideas of what would be causing this?
[EVO 4G Q&A, Help & Troubleshooting] dwertz:
Mine is doing that also. Maybe the kernel. I tried to logcat it but dont see anything because that freezes also
[EVO 4G Q&A, Help & Troubleshooting] timmmyLive:
Don't suppose you could post one for 2.6.32.15-gb7b01d1 ? Pretty please?
[EVO 4G Q&A, Help & Troubleshooting] btedeski:
TUN vermagic=2.6.32.15-gb7b01d1 preempt mod_unload ARMv7

btedeski@linux1 net]$ strings tun.ko | grep magic

vermagic=2.6.32.15-gb7b01d1 preempt mod_unload ARMv7

The attached zip file contains tun.ko

This is the supersonic-2.6.32.15-g746f4f0 but with the compile string modified to be gb7b01d1

this should work as long as gb7b01d1 and g746f4f0 are close.

Bill T
[EVO 4G Q&A, Help & Troubleshooting] hits100:
VPNC Disconnect -- Phone Freezes

Hi there, did you ever figure out freezing issue while disconnects? Any work-around or help .. . much appreciated...
[EVO 4G Q&A, Help & Troubleshooting] drizkol:
I downloaded the source for VPNC and ran it on my EVO in debug mode. I can tell you that the problem is not with VPNC Android client directly, it actually relates to the VPNC process running in the background.

Basically.. when you run the Android client, it just acts as a simple GUI that starts/stops this VPNC process (native C++ code). The freeze occurs when that VPNC process tries getting killed. So when you click "Disconnect" from your phone, VPNC (Android client) issues a linux shell command for "kill" that is supposed to terminate the VPNC process.

I wasn't able to determine, because of my lack of C++ skillz, what the VPNC process is doing that is causing the freeze. Maybe it's trying to close tunnels that don't exist? I don't know.. I do know there is a stop command in the vpnc-script file that comes with VPNC, but I couldn't tell if that was ever getting called or what. I suppose the next step would be to add some sort of output to that script file to see if that is being called. I have a feeling it's closely related to the commands issued to get the VPN connection working. Maybe there are some commands to close the tunnels THEN kill VPNC process.. never got that far, but I hope this helps any other dev.

If anyone wants to know exactly where it crashes in the Android code, it's in the VpncProcessHandler.java file on line 238. In the "disconnect" fxn.
[EVO 4G Q&A, Help & Troubleshooting] hits100:
Yeah, It's not front-end. Front-End application only sends kill command to vpnc process. If I do that same from terminal, it still freezes the system. It's something with kernel..
[Desire Q&A, Help & Troubleshooting] fenderf4i:
If I just want to load the stock european froyo image into my Telus Desire, will it be any different from the one that will be released here later this year? I'm not worried about loading the.93 boot loader as I'm not interested in rooting the phone.

Or will I be better off waiting for the official for Telus?
[Desire Q&A, Help & Troubleshooting] El_Nino9:
hi, personally i will recommend you wait. my reasons as follows:

1)you're radio may be different.

2)telus might void your warranty as its not a firmware they have released.

just curious if you know what frequencies does you're desire run.

i remember when rogers released their own radio for their version of the G1 and anyone without that radio would have no data connection allowed. (not trying to scare you)

if you cant wait maybe rooting is an option as you can apply different radio's and still keep the the "stock" but rooted version of the official froyo rom

if you're intrested (download)

full article can be found here at Modaco

if you do go down the root method in the end (i know you mentioned you dont want to)

do a back up (nandroid) so you can always revert back to you're telus version and if you want go to their official release when they do that.
[Vibrant Q&A, Help & Troubleshooting] siirial:
So, I was having a god time with a few buddies, and I got a drink spilt on my vibrant. Everything had made it out ok, except for the usb port. I think a connection has been physically crossed. If I try to turn it on, it starts to load the battery status screen. Once booted, it goes into a constant loop of usb connected/disconnected.

IF I plug usb in, everything is fine.

Until I figure out what I am going to do with this phone, I need to disable usb on the os level.

I am thinking I could write a script to toggle usb. If I have to reboot to load drivers, then that's ok. I am aware that if its disabled, I won't be able to charge. Just need some thing to stop this cycle... Taxes the cpu/battery and sometimes causes a soft boot.

Any ideas guys? I've looked through JAC's init.rc to look for clues, but nothing stood out to me.
[Vibrant Q&A, Help & Troubleshooting] siirial:
Thanks, it seemed to be an os issue, so I started there. my bad.
[Vibrant Q&A, Help & Troubleshooting] eweo911:
Did you ever get this resolved? I have read other reports of the same issue, which I now have after installing Eugene's froyo JPM ROM. Not saying it's Eugenes ROM, it's just that it started happening after I installed his ROM two days ago.

I did not spill anything on my Vibrant, it just started happening. I did reinstall a 2.1 kernal (JVibrant OC/UV V1.1 CWM Recovery) and then installed Bionix 1.9.

It is giving me the same issue after doing all of this and I cannot get clockwork recovery to recognize my NAND backups. It just says cannot access folder or something like that.

I'm not sure if I should completely restore to stock via ODIN or if there was another route if indeed you did fix this issue.
[Vibrant Q&A, Help & Troubleshooting] deez1234:
Read my post in Q&A
[Vibrant Q&A, Help & Troubleshooting] eweo911:
Thx, I will give it a try when I get home
[Vibrant Q&A, Help & Troubleshooting] eweo911:
Sweeeet! Your guide worked for my Vibrant. Everything is back to normal, thx :D
[Vibrant Q&A, Help & Troubleshooting] DaSmittyman:
My Tmo phone is the G1 which i currently have. I loved the phone, rooted and everything but I have a chance to get the Vibrant. I am not sure if i should go ahead and get the Vibrant, or wait for the G2 especially after annoucning the +hspa on it. What would you guys choose if you had this choice(which some of you probably do)
[Vibrant Q&A, Help & Troubleshooting] hydrogenman:
Cyanogen himself is getting the G2....that will tell you everything you need to know about how dev work will go with it

Personally? I hate 3.7" screens and it's a dealbreaker for me

4's just about perfect, 4.3 would be even better but don't want the EVO or DroidX
[Vibrant Q&A, Help & Troubleshooting] sigeltek:
When is the G2 supposed to come out?
[Vibrant Q&A, Help & Troubleshooting] bennysangel:
I would go with the G2. Stock Android you can't go wrong!!!!
[Vibrant Q&A, Help & Troubleshooting] StefanB86:
http://www.tmonews.com/2010/08/t-mo...etter-known-as-t-mobile-g2-on-september-29th/
[Vibrant Q&A, Help & Troubleshooting] dcontrol:
I was looking at it too, since I loved my G1, but I read that it was going to be marketed towards more mainstream users, which to me means it will be cheaper and probably have lower specs. I might be wrong and the specs aren't out yet, so I guess we'll see.
[Vibrant Q&A, Help & Troubleshooting] ytj87:
Hard decision.

I see the winner in these categories as follows...

Physical keyboard: G2

Larger screen: Vibrant

Manufacturer: G2

Physical layout: G2

Weight: Vibrant

For me, not wanting to give up my G1's keyboard was a major hangup. But honestly, Swype is so good that I have accepted no keyboard.

As far as development and support, HTC phones are unsurpassed in the Android world.

Screen size for me is the single biggest, and why I opted to get a Vibrant instead of waiting for the G2.

However, I REALLY miss the physical buttons on the G1. They beat capacitive buttons all to pieces.
[Vibrant Q&A, Help & Troubleshooting] j0hnZ:
Physical keyboard immediately means, I won't get it.
[Vibrant Q&A, Help & Troubleshooting] marlopainter:
Agreed. Although now, in most situations, I use the Android keyboard

and the voice input. The voice recognition is actually pretty darn good.

For all intensive purposes, I only miss the physical keyboard about 3 seconds per week.

I have gone with Samsung more often than not, but my G1 was my first

HTC phone. Samsung never disappointed me in the past, and didn't

disappoint me with the Vibrant.

Before the Vibrant, I would have said "whatever" to the screen size diff,

but after having this screen, OMG, my G1 looks tiny.

I only miss the trackball!!!!! Trying to correct things and move around inside

text was a breeze with that thing. But, I have no issues with the Vibrant's "buttons".
[Vibrant Q&A, Help & Troubleshooting] my fear:
i was thinking that i should sell my vibrant and try to get the g2 but after lookin at the specs it was a big step down from the vibrant.

G2 vibrant

processor: 1ghz snapdragon vs 1ghz hummingbird

screen: 3.7" OLED screen vs. 4.0" SAMOLED

there's some other features that weren't quite up to par against the vibrant. the only reasons i like the g2 is its getting the HSPA+ network and has a track ball pad thing. the only thing wrong with the vibrant right now is it doesn't have a cyanogen rom on it to make it godly.
[Vibrant Q&A, Help & Troubleshooting] zephiK:
CM6 is in the works (don't ask when) and the G2 isn't using a Snapdragon its using:

and to the trackball: http://xdaforums.com/showthread.php?t=732458 search for trackball
[Vibrant Q&A, Help & Troubleshooting] MilkPudding:
Personally I'm not impressed with G2's specs at all. But I know there are many people out there who won't even consider a smartphone without a physical keyboard. I think that's what G2 is targeting at.

If physical keyboard is not a must-have for you, I don't see why you should pick G2 over Vibrant. (you won't get the HSPA+ speed most of the time)
[Vibrant Q&A, Help & Troubleshooting] nearblack:
HTC will lose here.

Over the last couple of months a few huge features have come to be standard for any respectable smartphone, and just the fact that the G2 won't have an excellent display is a big enough reason in itself that it will not sell.

It doesn't have any serious ups over the vibrant besides the HSPA+ capability (which we all know is virtually useless at the end of the day), and when you walk into a store, just comparing the displays can be a deal breaker.

They really should have included some things that the vibrant doesn't have... but they didn't.

I'm keeping my Vibrant :)
[Vibrant Q&A, Help & Troubleshooting] jz9833:
I completely agree. This is poor timing for the G2 to be released with the specs it currently has. With the 3rd Gen Snapdragons supporting 1200 x 800 displays I'm incredibly disappointed it will only have 800 x 480 (same as our vibrant but still not an upgrade)

Also with gingerbread expected to be released anywhere from October to December (wide range I know) why not wait and have it release as the 1st phone with the new UI? Wouldnt that really make it the 2nd generation google phone?

I was expecting more HTC, but maybe after the G2 released we will start hearing some specs on some other awesome new phone scheduled to release in late november/early december.
[Vibrant Q&A, Help & Troubleshooting] MV10:
I was one of those people. Fortunately my wife wasn't, so I had a chance to try Swype... and I bought myself a Vibrant a few days later.
[Vibrant Q&A, Help & Troubleshooting] speoples20:
As someone who has used both phones I would say the Vibrant is still better. Both phones are extremely nice but I don't care for hardware keyboards anymore. The G2 feels just as fast as the Vibrant though since its stock 2.2. The biggest let down is the screen, I can never go back to an LCD screen after that Super AMOLED beauty.

I think at this point it comes down to whether you want the hardware keyboard or not. That is going to be the deciding factor.
[Vibrant Q&A, Help & Troubleshooting] zephiK:
I completely agree with the screen and all that. But I disagree with the hardware keyboard is the point "it comes down..." simply because the G2 is running Stock Android. If the G2 gets fast updates kind of like how the Nexus One got 2.2 so early, then that would be another factor (vs. TouchWiz). In addition, Cyanogen himself said that he was getting the G2

So people and certain devs might go towards his direction if they don't have a Nexus One themselves (or upgrading from a N1) just simply because Cyanogen would be getting one and that he would most likely be putting his #1 priority as the G2 (or Nexus One.. Note: this is my pure speculation).

The Galaxy S is definitely better on terms of hardware without a doubt. With a strong developing community to support the phone, it should pretty much fly on its own.

Edit: People have the option to go with the Epic 4G for their physical keyboard. It's still a Galaxy S phone!
[Vibrant Q&A, Help & Troubleshooting] nick_karstedt:
Should be able to use it on TMO without a problem, too. Unlock codes included in the phone like all SGS phones.
[Vibrant Q&A, Help & Troubleshooting] Gr8gorilla:
Umm did you forget the sarcasm identifier? The Epic is a cdma phone on sprint. How would you manage to use that on TMO with no problem? You could just as easily get a Droid X and unlock it to TMO...............
[Vibrant Q&A, Help & Troubleshooting] scrizz:
ROFL

he better have forgotten the sarcasm part...OR ELSE

:mad:
[Vibrant Q&A, Help & Troubleshooting] mr2t32:
Just wait until g2 is out then go play with both phones. You will have the 14 day return out exchange... It just depends on which features will more important to you. I have a vibrant and loving it.
[Vibrant Q&A, Help & Troubleshooting] christpuncher:
i loved my g1, and i knew that once i bought a new phone, a bunch of other sweet ones would be announced. while i am sad that the g2 got announced a month after getting the vibrant, i don't regret getting it. the truth is that the display alone has spoiled me rotten. every other phone (iphone 4 included) looks so terrible in comparison. i'm confident in saying that the vibrant was a great upgrade from the g1, keyboard or not. also the g2 has a 4 row keyboard and that's pretty weak.
[Vibrant Q&A, Help & Troubleshooting] Wykedx:
G2 has 800mhz processor and not 1gig

...smh

i thought 1gig was going to be the standard and it doesn't quite make sense when your trying to sell a device to downgrade
[Vibrant Q&A, Help & Troubleshooting] icon57:
Im waiting til Nov to be eligible for my upgrade on tmo, and will be getting the vibrant, not a fan of the G2...but by then some better phones might be out...but for the past few days i have been so tempted to pull the trigger on the vibrant! My N1 is a great phone, but i love the screen and speed of the the vibrant.
[Vibrant Q&A, Help & Troubleshooting] Arcadia310:
Personally I'm going to stick with my Vibrant. I was really looking forward to the G2 but the specs are such a letdown to me. I'm tired of hearing all the fanboys saying the MSM7x30 will hold up against other phones. Did you guys forget that the first multicore and 1.3+ghz phones are coming out later this year? The G2 will be obsolete. The screen technology is outdated and the keyboard doesnt hold up to under Epic's. I might as well keep my Vibrant as its the most powerful phone on the market. No reason to downgrade. Once these new kernels come out and stock android roms it will put the G2 to shame.
[Vibrant Q&A, Help & Troubleshooting] method115:
Yea I wasn't sure which one to get either but I'm going with the Vibrant for two reasons. I don't like physical Keyboards, and I don't like the fact that it only has 800mhz. I kind of wanted a keyboard so I could play games though so I was willing to get it for that. The 800mhz thing was one to many, I've heard people say that one of the requirements for Gingerbread is 1,000mhz. Even if this is true I know Cyanogen could get it working but it's still kind of weird to me.
[Vibrant Q&A, Help & Troubleshooting] Arcadia310:
I'm not sure about other people, but when I spend a lot of money on a product I like to "future" proof myself. Meaning I don't want the product to go obsolete within a year. The G2 will go obsolete. 2010 was the year of the 1Ghz phones, 2011 will be the year of the multi core and 1.3+ Ghz phones. I don't care what the nerds and fanboys say, 800Mhz simply won't keep up! Sure it may be better than the 1Ghz snapdragons IN SOME ASPECTS but the 1Ghz will be obsolete in a few months...

The Galaxy S phones are the most powerful on the market right now. I don't see any manufacturer matching up to Super Amoled for a while, except Apple of course.
[Vibrant Q&A, Help & Troubleshooting] demize!:
That no trackball was bugging me too, but now I just enlarge the screen and navigate the cursor that way, in text fields swype has an dpad emu. Swpe from swype key to sym brings it up. But not as intuitive as a direct input.
[Vibrant Q&A, Help & Troubleshooting] mesajoejoe:
Im not entirely thrilled about it either but I dont think Id call it a downgrade just yet. mhz isnt everything, the processor in the G2 might be amazing, newer technology, better optimization etc... smaller screen needs less cpu maybe, so what will be noticeably slower? It probably wont be targeted for games or movies, so idk. I just want my trackball back : ( mt3g trackball was awesome, nice feel, good click :(