yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] Cass67:
The wrapper version should not affect the stability of your connection. What it should do is watch for your radio drop connections, pppd die and restart when radio reconnects to network. The fact it bounces between 3g and H implys that at that time the network was a bit unstable. As always providing logs assists in seeing what you see.
[HD2 Android Q&A, Help & Troubleshooting and Genera] v-b-n:
Excellent job on the 0.3 !

No drops and I mean no drops or hangs for me ever since I started on 0.2 and 0.3 is even better.

I believe it waits for a proper radio setup before trying a connection which prevents the hangs...and I saw it work beautifully while I wan in train today...switching between towers and as soon as new was acquired, connection continued without dropping within a second.
[HD2 Android Q&A, Help & Troubleshooting and Genera] chn110:
Is pppd source code available? Any chance of fixing the actual pppd crash rather than trying to recover after the fact? Sorry just thinking out loud...
[HD2 Android Q&A, Help & Troubleshooting and Genera] mstrk242:
After doing more testing, driving around, using google maps, the places where I normally disconnect and crash, it disconnects and reconnects, doesn't even crash google maps anymore. .3 Is definitely a keeper.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Meteo:
How do I generate the logs? Sorry completely new to this
[HD2 Android Q&A, Help & Troubleshooting and Genera] cwsmall:
How do I generate the logs? Sorry completely new to this

Search is your friend!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] MartyLK:
+1 on this. I also am new to the logs.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Cass67:
pppd does not crash, its shutting down gracefully when it loses network connection to its peer. as it should ... its operating normally.. android is the problem in as much as its network monitor is not restarting it as its expecting to use rmnet not pppd, hence the need to start pppd via a wrapper. The android monitor eventually notices network is not available and restarts the connection but not as fast as we need. rmnet behaves differently it seems with regards to losing cell coverage afaik.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Cass67:
Umm post #1 tells you how ...

logcat is what is required ...
[HD2 Android Q&A, Help & Troubleshooting and Genera] boonbing:
I experience the same issue that had been highlighted in my earlier post after installing v0.3 from previous v0.2.... if there is a total service network disconnect, it does not get reconnected automatically. For data disconnect only, I have no issue.

However, I noticed that the 3G data arrow did not get lighted up this time round after the service network with data comes on compared to using v0.2... In v0.2, the 3G data arrow gets "stuck" lighting up.

See if attached logcat file helps.
[HD2 Android Q&A, Help & Troubleshooting and Genera] vdws:
Thanks, I was wondering about that.
[HD2 Android Q&A, Help & Troubleshooting and Genera] vdws:
Still no drops after 12 hours.
[HD2 Android Q&A, Help & Troubleshooting and Genera] speedbird:
Every time I copy the 02 or 03 file into system/libs folder with Linda file manager it overwrites the old file successfully, however the phone suddenly shows no service at all, when the phone reboots it misses the sim unlock stage and its as it the radio is turned off. Same thing happens if I turn off the sim password before I overwrite the files and reboot, any ideas??
[HD2 Android Q&A, Help & Troubleshooting and Genera] bohhem:
Hi Letama, thank You for your development on hd2. I'm using v3 for about 10 hours, it's highly promissing, one thing that i have is loosing a connection after wifi on off switching. Sorry for no logs, I'm not at home asap i will be attach them. Cheers
[HD2 Android Q&A, Help & Troubleshooting and Genera] K_Hismoom:
I have also noticed this issue with v0.3. It often switches between UMTS and HSDPA. Mostly it falls back to UMTS (3G) when I do not have traffic, but goes to HSDPA, as soon as I start using the internet connection.

Also I had numerous connection drops which were quickly recovered. I hope they are still in the logfiles.
[HD2 Android Q&A, Help & Troubleshooting and Genera] letama:
Yes, source code is available, but in fact, pppd is not crashing, just shutting down properly when modem stops sending data. This is more a radio/design issue that stops ppp when switching network or loose connection.

I'll take another look at pppd to see if we can maintain the link with auto retry to avoid killing ppp0 interface and opened tcp connections, but the fact that we must re-establish data with atd make me think that it could be difficult.

LeTama
[HD2 Android Q&A, Help & Troubleshooting and Genera] letama:
boonbing, this kind of log doesn't show anything regarding disconnection. I need at least radio log. alogcat can do this, go to options, choose buffer, radio.
[HD2 Android Q&A, Help & Troubleshooting and Genera] mikeysteele:
Version 0.3 working well on my phone running mdj froyo sense stock 2.1. Nice work!
[HD2 Android Q&A, Help & Troubleshooting and Genera] vdws:
The switching between H and 3G happens to me all the time. Also in win mobile. Normal behaviour for my network I think (vodafone nl).
[HD2 Android Q&A, Help & Troubleshooting and Genera] K_Hismoom:
This did not happen to me before that often.
[HD2 Android Q&A, Help & Troubleshooting and Genera] aussiebum:
Hmm, 0.3 seems to lose ppp connection slightly more often than 0.2 (lost ppp twice while stationary, both in locals with strong signal strength), but at least in both cases it recovered gracefully and didn't hang (ie. 3g arrow stuck).

Not sure if I captured the logcat correctly... I put the 3 lines in the 1st post in gscript and ran them as soon as data disconnected itself. Radio log was blank, so not attached here.

Will see what happens when I go to bed... with 0.2 wrapper ppp connection appeared to be connected but was timed out this morning. Had to manually flick on/off 3g data connectivity twice to re-establish connection.

Thanks for your efforts letama!
[HD2 Android Q&A, Help & Troubleshooting and Genera] bobjbain:
I'm using Bangsters 1.5 with Hastarin r8 and I've had nothing but data drops since I've put the new wrapper in.

Trying to write logs now and it's stuck on the pppd_mainlog.txt, file on my sdcard isn't getting any bigger.

Should I just cancel it??

TIA

Edit : I had data drops on all the latest builds and Kernels I've tried too, so r8 isn't the only evil kernel out there :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] bobjbain:
Cancelled it after 30mins :D Still no data back...

Here's my logs
[HD2 Android Q&A, Help & Troubleshooting and Genera] boonbing:
Sorry about it... still new to logcat. Here's the file you requested. Hope it helps this time.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Cass67:
Are you sure you are running the correct wrapper ? The log output you provided seems to imply you are not.. Please check the methods you use to copy the wrapper to the /system/lib directory .. it could be the same issue as others have had on this thread that their lib is being over written on boot by another lib living in /sdcard/root/system/lib

The log you provides show

D/RILW ( 170): PL: hackSetupData: launching pppd

D/RILW ( 170): PL: hackSetupData: system(/bin/pppd returned 0

The 0.3 wrapper would do

D/RILW ( 159): PL: hackSetupData: launching pppd

W/RILW ( 159): PL: start pppd mon

D/RILW ( 159): PL:hack normal exit

It never shows exit with return code 0, its also a lot more chatty with intercept messages ...
[HD2 Android Q&A, Help & Troubleshooting and Genera] lukesan:
Weird one this. Had this issue twice with different roms of being stuck on the HTC logo.

Every thing is correct in the startup.txt

I had a working rom and the new ver0.3 on a slow sd-card and copied it to faster one. After inserting the fast sd-card the thing was stuck on the HTC screen while the copy was identical to the slow one.

Now I just pulled the batt out, since there was no way to shut it down the normal way, and rebooted. It booted perfect now.
[HD2 Android Q&A, Help & Troubleshooting and Genera] boonbing:
I'm pretty sure its the correct file... I copied it into the SD card direct via PC. The file is dated 2-Nov-2010 11:34:24PM. I am checking the file on my phone now and confirmed it was not replaced. Btw, it is residing in /sdcard/root/system/lib/hw on my phone.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Cass67:
Could be your build does not copy data from there on boot .. some do some dont ..
[HD2 Android Q&A, Help & Troubleshooting and Genera] domenukk:
Why did you put it in /hw? I think its directly in the /lib folder (?)
[HD2 Android Q&A, Help & Troubleshooting and Genera] Cass67:
it is indeed, i missed the hw part :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] Major_Sarcasm:
LeTama, my sincere thanks. All my data problems have now gone. No drops since installing 0.3

Hastarin v8

M-deejay Evo Sense rEVOlution 2.3

Radio 2.15.50.14 (I think)
[HD2 Android Q&A, Help & Troubleshooting and Genera] vdws:
Almost 24 hours without data loss. Using 0.3 on vodafone nl.
[HD2 Android Q&A, Help & Troubleshooting and Genera] malisha1:
Guys, how do i install this patch?
[HD2 Android Q&A, Help & Troubleshooting and Genera] bobjbain:
Right, I discovered that my build.prop file didn't have any net.ppp0 settings in it.

So I have added them and pointed them to the DNS servers for O2 UK.

Things seem a bit more stable now, will give it a real hack later, might even go back to Hastarin r8..
[HD2 Android Q&A, Help & Troubleshooting and Genera] agentaaron:
I did this as well with v.3 of the wrapper and everything was solid, not one drop all day yesterday up through this morning. I have now switched my sim into my new MyTouch 4G...which has no connectivity problems as well ;)
[HD2 Android Q&A, Help & Troubleshooting and Genera] leaskovski:
Im using Hastarin r8 with v0.3 of the wrapper and it is great. It was great with the v.2 wrapper!

:D
[HD2 Android Q&A, Help & Troubleshooting and Genera] Marmle:
So far no drops since v.3! Nice work:cool:

Hastarin v8

M-deejay Evo Sense rEVOlution 2.3 Radio 2.15.50.14
[HD2 Android Q&A, Help & Troubleshooting and Genera] 1337shark:
Sorry for noob q but meeday desire hd 3.6 got no android/root folder?

you know what to do?

alrdy searching for 3 hours, found no result

greetz
[HD2 Android Q&A, Help & Troubleshooting and Genera] tsem006:
new v0.3 veri fast

with JDMS 1.4 CM6.1][Hastarin 7.7][PPP][FM] and ril wrapper for pppd disconnections, new v0.3 is really FAST internet, market and all H/3g.

thank you very much
[HD2 Android Q&A, Help & Troubleshooting and Genera] speedbird:
Sorry to ask again, loving the Android but hating the continual data drops.

Every time I copy the .02 or .03 file into system/libs folder on my phone using "Linda file manager" it overwrites the old file successfully, however on reboot the phone suddenly shows no service at all, when the phone reboots it misses the sim unlock stage and its as it the radio is turned off. Same thing happens if I turn off the sim password before I overwrite the files and reboot, any ideas??
[HD2 Android Q&A, Help & Troubleshooting and Genera] busterdan:
Well it's fixed my PPP disconnects brilliantly... unfortunately it also seems to be eating my battery :(

Need to do a bit more research into this... my radio is 2.14.50.04
[HD2 Android Q&A, Help & Troubleshooting and Genera] jae-v:
You are amazing, this is actually working great so far
[HD2 Android Q&A, Help & Troubleshooting and Genera] jae-v:
same build, not a single drop after 7 hours of heavy tethering using pda net watching basketball games with nba league pass broadband as well as netflix
[HD2 Android Q&A, Help & Troubleshooting and Genera] famewolf:
Still freezes when tethered and changing from E to 3g To H

@LeTeMa

Using V0.3 Script.

I tether the phone alot and it's froze 3 times in the last hour..other times it will go hours and hours without a single problem...I'm in a fringe 3g area....I added the 2 logcats and the dmesg command to a gscript and ran them after toggling the radio....the logcats ran fine but the dmesg doesn't seem to be generating a result...if I need to do something different in gscript let me know. I've attached the two logcats in the hope that will still help.. r = radio, p = pppd.....

*update* Got dmesg to work when ran standalone in gscript...was larger than max txt size so put all 3 files in attached zip. If need to redo next time error occurs let me know...it's a big deal with tethering since I can't leave it running overnight downloading files etc.....I travel alot with laptop and phone and wifi is not everywhere so it's my backup. ;)
[HD2 Android Q&A, Help & Troubleshooting and Genera] memin1857:
You can create the folders yourself.
[HD2 Android Q&A, Help & Troubleshooting and Genera] K_Hismoom:
I got a data disconnect overnight. The only way to get data to work again was switching the phone to airplane mode and back on. Simply disabling/enabling the data connection did not work.
[HD2 Android Q&A, Help & Troubleshooting and Genera] famewolf:
Data freeze that required phone reboot.

Just had a data freeze while the pc was tethered to the phone....recorded the logs before I tried toggling first data and then airplane mode...neither restored data...finally had to shut phone down and reboot to winmo, then to android....logs attached.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Olioaglio:
For me since I installed v0.3 it's the first time ever I was able to use Google Navigation without freeze for more than 2 minutes. In fact I had no data freeze at all since applying the fix, unfortunately sometimes while navigating my phone randomly reboots itself, but this is either kernel related or build related (using darkstones froyo sense 3.2). So far...great work you did with the pppd fix.

Olioaglio
[HD2 Android Q&A, Help & Troubleshooting and Genera] letama:
famewolf,

you have two problems:

- you failed to install the wrapper, logs shows that you are still running the old one.

- your kernel doesn't have my last fix and dmesg shows out of memory messages.

LeTama
[HD2 Android Q&A, Help & Troubleshooting and Genera] letama:
Hum, it seems that the monitor process died or is stuck. I think I had the same issue this morning.

Unfortunately, logs don't show much more, I'll take a look if I can find something wrong in the code that could explain this.

Thanks for the feedback,

LeTama
[HD2 Android Q&A, Help & Troubleshooting and Genera] famewolf:
Letama,

I am running Hastarin 7.7 which is the latest I can run as his 8.0 doesn't support my extended battery. As to the wrapper, I've verified it's in the Android/root/system folder on my phone so now I'll go back to the docs and see what I did wrong. Thanks for taking the time to reply.
[HD2 Android Q&A, Help & Troubleshooting and Genera] letama:
Hi Olioaglio,

Gauner1986 reported also a problem with gps crashing the modem when used for a long period. I think we also have some memory management problems, we'll take a look when we'll be done with nand corruption that is top priority currently.

Best,

LeTama
[HD2 Android Q&A, Help & Troubleshooting and Genera] famewolf:
Letama, I moved the wrapper from root/system to root/system/lib where it should have been. Apologies. I'm not sure what to do about the kernel fix unless Hastarin is willing to put out a 7.7 with your commit or gets 8.0 working with extended battery.

As for the memory errors, I see them...I'm not running any of the autokillers, choosing to let Android manage the memory...what would you suggest under the circumstances?

Thanks again for your input. If the kernel fix you mentioned is critical I can look at grabbing hastarin's source and applying it myself as a last resort.

*update* Right after this post the data froze again requiring the phone to be rebooted....logs attached just in case it's useful and not related to the missing kernel fix mentioned.
[HD2 Android Q&A, Help & Troubleshooting and Genera] K_Hismoom:
Had another couple of stuck up-arrows which I could only get rid of by disabling and enabling the data connection several times.

Attached are the logs for troubleshooting.

Don't get me wrong, in general the ril wrapper is way better than the current one included in all the builds. Thank you for your hard work, LeTama.
[HD2 Android Q&A, Help & Troubleshooting and Genera] boonbing:
I moved the file to /lib from /lib/hw but still no luck... in fact I could not get any of the below lines that you mentioned earlier. Closer I could get is "hackOnRequestRegistrationState token=(cb00)"

The 0.3 wrapper would do

D/RILW ( 159): PL: hackSetupData: launching pppd

W/RILW ( 159): PL: start pppd mon

D/RILW ( 159): PL:hack normal exit

Sorry for the inconvinenced caused, couldn't help much. Wish you guys good luck in getting a solution soon.
[HD2 Android Q&A, Help & Troubleshooting and Genera] famewolf:
Assuming you are putting the file in <sdcard>/Android/root/system/lib you will need to reboot into Android before that file will get copied at bootup and used. I reluctantly just pulled my extended battery and installed hastarin 8.0 (I was using 7.7 for extended battery support but 8.0 also has some ppp fixes)...and I just watched my data connection "fix" itself as it's supposed to....stable data connection or longer battery....ok I just have to keep a charger with me. ;)
[HD2 Android Q&A, Help & Troubleshooting and Genera] letama:
famewolf,

Ok, this time the wrapper is showing up, so you're good on this side.

However, dmesg shows that ppp went out of memory on kernel side. Without the fix, I'm afraid I can't do much. From last night irc chats, it seems that the fix could be not so good and is causing side effects, notably on nand, we need to sort out all these memory problems.

As it's kernel side, I'm not sure that android memory tools could help, we'll have to work on that.

LeTama
[HD2 Android Q&A, Help & Troubleshooting and Genera] letama:
K_Hismoom,

No problem, on the contrary. The more logs I have, the more I'll have a chance to iron out problems.

In this last case, I didn't see pppd dieing by itself, which is bad if connection is stuck.

Unfortunately, your pppd log doesn't show anything, and it should have from the radio log as you had multiple pppd restarts. You should check that you're doing them right, you should see some lines showing up when you switch data on/off and that pppd starts.

LeTama
[HD2 Android Q&A, Help & Troubleshooting and Genera] hendr1k:
Letama is it including local host checking, sometimes I got wrong ip address, internet signal was there but when I looked the ip address it become 127.0.0.1

-------------------------------------

Sent via the XDA Tapatalk App
[HD2 Android Q&A, Help & Troubleshooting and Genera] K_Hismoom:
That's strange, because if I manually restart the data connection, the log does have some entries.

Could it be that the incident was too far in the past, so that these lines did not show up anymore in the log? I couldn't pull the logs right after the connection stuck, but only about an hour later.
[Droid 2 General] Conmanx360:
Hello all,

I am Conmanx360. I am not usually one to ask for help, and I kinda provide my own answers. But I am completely stumped at this point. My droid 2 is stuck in a bootloop after installing a new rom (I installed it weirdly, and now it won't start. It's stuck in the boot animation, and won't go further) . I've tried powering it on to see if it boots back into clockwork recovery, and I'm getting nothing. Now I remember from my droid 1 that I could sbf, but I'm not finding anything on how to get droid 2 into the flashing interface. Quick replies if you can.

Thanks,

Conman.

P.S: I checked out the other threads, and while they had info, it wasn't what I needed.
[Droid 2 General] Conmanx360:
Well, I may have just fixed this myself. Way I did it was to go into the stock bootloader (power+x on startup) . Press the physical search button on the keyboard. Then do a wipe of the data and cache. This helped fix mine, I'm not so sure about everyone elses.
[Droid 2 General] HerroMoto:
I have the same exact problem, like literally the same exact one. I switched from a D1 too and everything was so much easier and simpler. If you get a solution to your problem please send me a message. I'll do the same.
[Droid 2 General] Conmanx360:
Did you try to wipe data and cache?
[Droid 2 General] HerroMoto:
Yes, but now it'll take me to the android home screen and it'll stay on for about 5 seconds with the theme i downloaded and then boot loop again.
[Droid 2 General] theecho:
You need to sbf as i posted in your original topic last night.
[General Questions and Answers] ouch560:
Hi, i must be the dumbest person in here. I just bricked my used sprint touch pro 2. Well it all started when i did not get any sleep, and did not paying attention. My phone was fully unlocked. So i decided i could not wait to flash my phone. So i started to flash the phone, but after it was done i realized i only flashed the BLEEPING SPLASH SCREEN !!!!!!!!

So when i tried to turn the phone on, it loads to the splash screen only. :mad:

So i tried to connect it to my computer, but nothing. So i tried to hard reset, it goes to bootloader screen, then only to Touch pro 2 screen. Is there anything that i could do beside Cry, lol. HELP PLEASE.
[General Questions and Answers] timmymarsh:
Can you enter bootloader on your touch pro2?

If so, then its good news and its not bricked :) Download an official rom from HTC website (or here from the touch pro 2 forum), connect it to your computer whilst in bootloader (multi coloured screen) - make sure is says usb and not serial on ur devices screen and double click your downloaded rom.

It should flash succesfully and you will have your device back up and running in under 10 minutes.

Good luck.
[General Questions and Answers] ouch560:
Maybe i should elaborate more. when i said, when i connect it to the computer nothing. I meant nothing happens. Meaning it does not connect, or recognize the Usb, or computer. Help, THX
[General Questions and Answers] timmymarsh:
Ok, you know how to get ur device into bootloader right? what does it say on the screen (dont bother connecting it to your computer).
[General Questions and Answers] ouch560:
It jumps right from bootloader mode to the screen that ask me if i want reset all setting to manufacturer default, or cancel page.
[General Questions and Answers] timmymarsh:
soft reset = hold the power button and the volume button down and softreset

I think you are trying to to a hard reset :)

If you can stay in bootloader, it is possible to flash official stock rom from your sd card. It isnt too difficult to do so let me know and ill tell you how to do it, but have a look on the touch pro 2 forum, you will find how to do it there :)
[General Questions and Answers] ouch560:
Okay, i did a soft reset. And it is staying at the boot loader screen. So it is possible to fix this sprint phone?
[General Questions and Answers] ouch560:
Okay, i think i have an idea what you want me to do. You want me to put the phone in boot loader mode, then down load a .nbh file onto the root of the SD card. And while in boot loader mode it should flash the stock rom.

Is that correct?
[General Questions and Answers] timmymarsh:
Yes exactly that :)

Make sure you extract the nbh file from the stock rom using winzip or another utility. You must then rename it to something like xxxxx.nbh (you will need to get this from the tp2 forum or when i have time ill find it for u). COpy it to the root as you say, enter bootloader etc etc.

You will find how to do this in the tp2 forum.

Good luck.
[General Questions and Answers] steviewevie:
Once you get into the bootloader (the tri-coloured screen) it should say "Serial" at the bottom. Then plug the USB cable in from your PC, and that should change to "USB".

If it does say "USB", then you should be able to go ahead and flash a ROM from the PC (no need to do it via SD unless you really want to). You don't need an ActiveSync connection.