yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] LiFE1688:
The problem is not the ip-up, we have proven that ip-up is sound, since the command no longer have variable and we covered the missing net.dns1 values.

Once net.dns1 values are missing, it seems that net.dns2 and net.dns3 values are ignored. So the problem lies deeper. It could be as simple as a typo in another script, which we missed, or it could be harder where it is entrenched inside CM7, we just want to find out where the problem lies.
[HD2 Android NAND Development] tyween:
I have already tried pongsters ip-up, which is an older one.. It did not seem to help. Whenever someone applies the newer wrapper to a build via update.zip you get cedesmith's ip-up anyways. I took a diff of pongster's ppp folder, and the only difference was ip-up. So for PPP pongsters build the only difference is ip-up, and an older wrapper. I am not sure what else could be different about his build.
[HD2 Android NAND Development] :
maybe thats intresting: http://review.cyanogenmod.com/#change,4721
[HD2 Android NAND Development] kaiserlein:
Here comes the log from my way home. Data died only once this time. Hope the log is useful anyway.
[HD2 Android NAND Development] Derek0228:
I can't provide logs because data has been perfect for me today, the only weird thing that happened was that all of a sudden I was stuck on edge, and it wouldn't get fixed even with a reboot, but apart from that it was perfect on typhoon's latest rom. :D
[HD2 Android NAND Development] OCedHrt:
Glad to see that there is a healthy PPP discussion going on :) I may try to figure out how to get logcats as well since I get frequent drops and worse. Using HyperDroid v12.

1. Drops happen frequently especially in poor signal areas that require mobile data toggle to fix. I think everyone has this problem.

2. Data drops permanently until reboot. There is no H or E or 2G or any data icon but it is enabled. Disabling or enabling does not fix it. Phone status shows that data is disconnected but it is not reconnecting. There is signal though and phone calls work fine.

3. Phone app force closes/hangs until restart phone (probably cannot access radio driver?). Data is still working though but cannot make phone calls. This I think has nothing to do with PPP and has to do with robo voice.
[HD2 Android NAND Development] UbuntuBhoy:
Did you apply codesmith's fix? I am on the same ROM and I am not having dropped data failing to return.

Sorry just realised you are on the GBX ROM, I am on the CM7 version
[HD2 Android NAND Development] EyeTech:
Posting logfile

Hi Cedesmith

Not sure how this works, but I'm posting a radio log here in the hope it will help you troubleshoot.

I'm using tweens typhoon rom 3.0.9 with cLK.

I get very reproducible data problems.

If the handset (UK HD2 on vodafone, wifi off) loses signal and then regains signal the data will not re-connect. It happens all the time with cLK :(

It's easy to reproduce at work as I have virtually no signal. At home I wrapped my HD2 in aluminium foil to knock off the signal and when I unwrapped it signal re-establised and the data icon appeared but no data flowed.

Here is what I posted in the typhoon thread:

---------

Here is my setup:

HD2 (Euro), 3.0.9 cLK

Wifi Off

Data on (3g), signal present

Browsed market - fine

2 bars present

Wrapped phone in tin foil (Aluminum kitchen foil, not sure what you call that in the US)

Tried to call phone - didn't connect (so I knew there was no signal)

Unwrapped phone. Confirmed X in notification with no connection

Signal re-established and 3/H icon appears in the data bit of the notification bar

Loaded market, but can't connect, just get that retry box

Try browser etc, same deal. No data. Yet got signal and a data icon.

---------

Logfile of that event is attached.
[HD2 Android NAND Development] tyween:
Hi cedesmith, here is my radio log from today. This is about 10-11 hours long... during my normal day of the gym, and work. I had to switch airplane mode on and off a few times today as there were a few times that I was unable to get a data connection:

-Sometimes after a call in a 2g only area, I could not seem to get data.

-When I got home after making a call, even after switching airplane mode on/off I was unable to get mobile data and had to reboot my phone (this is when the log ends).. I tried switching airplane mode on and off a few times.

-Sometimes I have noticed that I see no signal at all, but I got a text or an incoming phone call (0 bars showing.. and an X... no data showing).

I hope that this log helps, and if there is anything else I can do please let me know. I want to help with PPP stability if possible. I can get another day long log that will be similar to this one tomorrow if you wish.

Wifi on and off works fine and overall stability has definitely increased from the last time that I tried cLK.
[HD2 Android NAND Development] thecrater:
Hi All,

slightly off-topic. how does one create a partition layout for cLK? I'm after a 100MB sys and 5MB Cache layout. I am more interested in the know-how. Many thanks in advance
[HD2 Android NAND Development] tageeboy:
Sent from tin can with string.

Sent from tin can with string.
[HD2 Android NAND Development] zach.antre:
check step 2 from arif-ali guide

http://xdaforums.com/showpost.php?p=12461551&postcount=932
[HD2 Android NAND Development] arif-ali:
1. Search

2. Search again

3. It's already in this thread

4. Check my Sig, all there
[HD2 Android NAND Development] cedesmith:
wow that logs are small :) .... not

i couldn't look at every line in all 3 logs but the flowing seam wrong:

- no gsm but android thinks data still ok and not connects anymore.

- android asks for data call list and radio responds wrong dummy list.

- android ask to connect to network and modem responds with code 4 and will do so till reset or rild kill.

will try to fix them as soon as i can, i will also add time to log as now is hard to know where to look.
[HD2 Android NAND Development] tyween:
haha.. do you need me to get another really long log for you tomorrow cuz I can if you want.. I am sure it will look almost the same though, as my day at work is very similar.. goto the gym -> office -> bathroom (where i get connectivity), then make a few phonecalls during the day..
[HD2 Android NAND Development] UbuntuBhoy:
Can I just say it's slightly suspect that you can only get data in the restroom. #cough #cough
[HD2 Android NAND Development] tyween:
what is strange about that? it's just the nature of where I work.. only in some hallways or one restroom I can get connectivity.. it's the same for everyone who works there regardless of the phone or service provider.
[HD2 Android NAND Development] tyween:
Running another day long log.. ;)
[HD2 Android NAND Development] tytung:
ln

You don't need to run this command on my ROM.

It's for other ROMs which don't support setprop command.
[HD2 Android NAND Development] jerrylzy:
It loads faster than MAGLDR , Nice work , thx..
[HD2 Android NAND Development] D4rk50ul:
@Cedesmith

Extensive testing internally over @Hyperdroid has the first Beta of your wrapper being by far the best. Beta 3 had the worse performance of the three, tested across the globe on multiple test and stable builds.

Tested battery life, signal strength, speed of reconnections, dropped connections per 24 hours, reconnection behavior transitioning between wifi/data, no service/data, etc. Odd behavior on Beta 3 is you will get burst notifications. None will come through then you will get all 10 at once. This happens every time.

Hope this helps you in refining it further, the first one was an amazing improvement to PPP stability thanks very much for your work.
[HD2 Android NAND Development] OCedHrt:
Sorry didn't specify GBX. I am thinking of switching to CM7. I haven't tried any of the fixes yet since I want wait for a good description of what the problem with PPP yet. I just feel that the auto restart radio bandaid wrapper from before will haunt PPP forever. Not that I've found any clear information on what the root issue is. But I'm likely not looking hard enough.
[HD2 Android NAND Development] YZ:
Signal

On magldr I had full signal strenght all the time, now, after I installed CLK I only have one signal bar.. any fix for this ?
[HD2 Android NAND Development] M..N:
If you read you will see the main difference between magldr and clk is rmnet and ppp. PPP would be the main culprit as it is not as stable as rmnet
[HD2 Android NAND Development] jan-willem3:
On my froyo rom (will work on ginger to) I had stable data like ever (4 months since I have my own rom) also with switching towers. Cedesmith old script (SD rom) and wrapper 0.6)

Make sure:

PAP

&

CHAP

Secrets files should include the following line!

This should go automaticlly but I never saw it:confused:

Example for vodafone NL:

In the attachment my script files

In build.prop

Oh and the last thing my permissions:

All just with wrapper 0.6

I really had never a drop with this.

My build always have ppp as default didnt saw newbs reporting data issues so...

Filling the pap & chap secrets files improved my speed a lot btw;)

Time until data is restored (with wi-fi) is about 4 seconds for me.
[HD2 Android NAND Development] kaiserlein:
I can confirm this. Here you get 2 more logs from a trip I made today. The first one this morning with beta 3 wrapper. I had to toggle data up to 5 times.

The second one on the way back with beta 1 wrapper. This was much better. I had to toggle data just once.

So for me the beta 1 wrapper is much better too.
[HD2 Android NAND Development] arif-ali:
here's my logcat of my trip today using beta 3 of the wrapper.

I think I must have restarted the connection ~10 times.
[HD2 Android NAND Development] tyween:
Here is my log from yesterday at work.. another 10 hour log.
[HD2 Android NAND Development] titoxperiax10:
I'm using this bootloader and must have to say that is excellent, for me everything works I'm a HD2 T-Mous owner....

Have only one question... Can I boot from the SD Card another Android Build (SD build of course )...

Oh I forgot How can apply the patch "CWMChargeOffV2"...
[HD2 Android NAND Development] cedesmith:
another beta of wrapper
[HD2 Android NAND Development] D.O.C:
Thanks, will test fully
[HD2 Android NAND Development] Stephen:
Installed new wrapper and so far I have noticed that when I try to access market I no longer get error retry messages. With the last wrapper I would get two error retry messages and then get into market place.
[HD2 Android NAND Development] UbuntuBhoy:
I am guessing that means it kicks in a little quicker, have you noticed it anywhere else?
[HD2 Android NAND Development] Stephen:
Just ran a speed test and it is really slow :( 33bits per second download and 31 upload, is there any way I can increase this?
[HD2 Android NAND Development] D.O.C:
Im so sad to say data drops occur every hour here with b4 amd refuse to reconnect unless toggling airplane mode. :(

Beta1 is giving best results here.
[HD2 Android NAND Development] seadersn:
nope, no booting from sd possible :(

patch is no more needed because cwm sources now has its own solution for this included :)

doc, b1 really? my dataplan is completely used up, can't really test it now :(
[HD2 Android NAND Development] titoxperiax10:
How I know if I use RMNET or PPP for my data connection?
[HD2 Android NAND Development] seadersn:
netcfg in term emu or *#*#4636*#*#
[HD2 Android NAND Development] aarick:
Just tested out the new beta wrapper. Sadly, I think it's still unstable. Now, instead of disconnecting, it just sits in a hang mode. I was browsing the xda forum using the xda app and I kept getting connection reset by peer or unknown error. Then, occasionally the connection works. But the 3g/h icon never disappears from the status bar..just sits there and keeps trying. I've attached the logcat for it. Probably 20min test.

Edit: running typhoon cm7 3.1.0
[HD2 Android NAND Development] titoxperiax10:
Ok. Try it...

Enviado desde mi HTC HD2 usando Tapatalk
[HD2 Android NAND Development] titoxperiax10:
Thanks man...

Enviado desde mi HTC HD2 usando Tapatalk
[HD2 Android NAND Development] tidus18:
Quick question...sorry if this has been asked before.

Is there any guide to make normal DAF builds work with CLK? Or we have to wait for the dev/chef to release a compatible version?

If what i understand is right, the initrd is what is responsible for this compatibility right?:confused:

Thanks in advance.:)
[HD2 Android NAND Development] D.O.C:
Lol, yeah b1, dont make sense uh?....im testing latest beta again on fresh install (like it should be done).....surely there must be a progress...will see.
[HD2 Android NAND Development] LiFE1688:
Preferbly, the chef has to release a cLK version.

From a MGLDR build, you need to disable RMnet, switch to PPP, and you also need to replace the initrd with a cLK compatible one. You can also convert the boot folder into a boot.img file, but it isn't required if I remember correctly.
[HD2 Android NAND Development] kaiserlein:
For me this seems to be a really big improvement.

This morning data didn't die at all on my 100 km way to work.

I was browsing XDA via XDA-App and downloading some updates from market even in areas where my connection died with the last wrappers

I'm using Hyperdroid GBX 12 and just copied the wrapper. IP-up is the original one that came with pongsters rom.

Another log to come tonight when I'm back home :D
[HD2 Android NAND Development] cedesmith:
wrapper beta 5

some info:

when android detects that data does not flow anymore it asks ril (wrapper) data connections list to see if connection is still active. htc ril responds with bad data so we have to respond instead.

unfortunately asking the modem the state of connection will always result in connection active (even if no network) (+CGACT: 1,1 in logs) .

beta 4 responds that connection is active (if ppp up and running) and for me at least that works great because i receive all missing packets and data flow resume from where i got no data.

beta 5 will respond with connection inactive every time so android will try to reconnect.
[HD2 Android NAND Development] IzaacJ:
Hello.

Not sure if this might cause my problem as almost the same thing occurs on my gfs stock IS...

My problem is no data connection at all !

Using cLK 1.3.3 and been trying a sh*tload of roms, but no success...

The only thing that I can find that is weird is that if I do a netcfg there is no ppp connection listed...

Running Froyo Sense Revolution 2.5.1 cLK version now.

Tried with Hyperdroid GBX 12, Charans CM7, Typhoon's CM7 and a lot off others but no data.

Suddenly stopped working a few days ago, and been in contact with my operator, but they can't find any problems...

lo UP 127.0.0.1 255.0.0.0 0x00000049
dummy0 DOWN 0.0.0.0 0.0.0.0 0x00000082
ifb0 DOWN 0.0.0.0 0.0.0.0 0x00000082
ifb1 DOWN 0.0.0.0 0.0.0.0 0x00000082
usb0 DOWN 0.0.0.0 0.0.0.0 0x00001002
sit0 DOWN 0.0.0.0 0.0.0.0 0x00000080
ip6tnl0 DOWN 0.0.0.0 0.0.0.0 0x00000080
rmnet0 UP 90.132.198.70 255.255.255.252 0x00001043
rmnet1 DOWN 0.0.0.0 0.0.0.0 0x00001002
rmnet2 DOWN 0.0.0.0 0.0.0.0 0x00001002
[HD2 Android NAND Development] arif-ali:
make sure you have the file /system/ppp available. as this is checked by the new wrapper, and if this exists, the rmnet driver is ignored
[HD2 Android NAND Development] IzaacJ:
There is no ppp file there... Where do I get one ?
[HD2 Android NAND Development] Blubster:
I too had great results this morning with b4. No visible data drops at all, connection is still perfectly fine. I always had drops when i enter office parking, not today!

Battery drainage is inconsistent, but i don't know what is the source, wrapper or something else.

I am sticking for now with b4, because of the great behaviour.

I understand the difference between b4 and b5, b5 should be "cleaner" isn't it? If data flow is interrupted, it restart it. Maybe i will try b5 then later... ^^ But having no drops (for now) is already a great achievement! :)
[HD2 Android NAND Development] seadersn:
run "touch /system/ppp" in terminal emulator.
[HD2 Android NAND Development] arif-ali:
I keep losing the default gateway of my data connection

will try b5, and see if by the reconnects, it solves the problem
[HD2 Android NAND Development] icsulescu:
See attached.

Regards,

Me
[HD2 Android NAND Development] icsulescu:
I have very good results with b4 but unfortunately no data conection at all with b5 back at b4 for the moment.

Thank you for everything.

Best regards,

Me
[HD2 Android NAND Development] rivado:
Hi,

i flashed "RUU 1.3.3" and after that "recovery.3.0.1.4_clk_1.3.3.img" via fastboot.

I suppose everthing went fine, no errors at all.

But when i enter fastboot again, it still shows me CLK version 1.3.2.

Is this correct? Or should fastboot report the version i flashed (1.3.3)?

Thanks in advance!
[HD2 Android NAND Development] arif-ali:
Not to worry, that's just cosmetic, The version in the code never got changed
[HD2 Android NAND Development] lippa:
Hello, is it possible for someone to release a cwm zip of the new wrapper.. Makes it easier for the people that can't get to a pc in awhile. Thanks in advanced!
[HD2 Android NAND Development] arif-ali:
Here you go, give this a try
[HD2 Android NAND Development] Lint6:
I haven't bee nfollowing the hd2 closely lately, and a search brings up a ton of results...whats this for? I mean the wrapper
[HD2 Android NAND Development] buell75:
Hi,

I'm runing Typhoon CM7 from the beginning and really happy with.

I'm using the MAGLDR version, but i'd like to give a try with CLK !

After having read tutos, i'm still a little confused, so could you please help :o

For a clean install : backup, Task 29, flash radio, up to this, that's clear.

but after i've found on xda some differents files and i'm not sure which one to flash and what should be the order :

clk 1.3.3_src / clk_system_150m_cedesmith/ clk recovery 3.0.2.5

Some advice would help me.

Thanks in advance ;)
[HD2 Android NAND Development] stirkac:
download clk from first post (ruu 1.33) and recovery only. flash ruu and recovery and you have it!
[HD2 Android NAND Development] l0rdsheva:
Beta4 is the most stable for now. I'm using it since yesterday and, right now, no problem at all!

sent from my android hd2
[HD2 Android NAND Development] TheCoutures:
Disregard post
[HD2 Android NAND Development] TheCoutures:
I used these attachments to help me get cLK running on my phone but switched back to MAGLDR after to many data drops

They are pretty simple to follow just make sure to partition out your device with a different partition other then the one provided in the tutorial or you will run into some trouble due to this being for earlier builds

cLK installation Tutorial - http://www.multiupload.com/H01L5ZTY2O

*please note I take no credit for making these files just passing them along*
[HD2 Android NAND Development] 2000impreza:
I managed to log a data drop(near end of attached log) on the 0.8beta5 ril wrapper. The connection was not able to recover until I manually ran killall pppd. Overall the wrapper works fairly well. Definitely an improvement.

Ran the following logcat:

adb logcat -d -v time -b radio
[HD2 Android NAND Development] kaiserlein:
Here the log from my way home. Once more with b4 wrapper. My first impression from this morning was confirmed. Data instantly came back each time the connection dropped.

For me b4 is perfect.

@Cedesmith: do you want me to do another log with b5 wrapper tomorrow? If yes I can do else I stick with b4 :D
[HD2 Android NAND Development] titoxperiax10:
Can't find beta4 wrapper... Installed b5 but data drops...
[HD2 Android NAND Development] arif-ali:
here it is, just need to search

http://xdaforums.com/showpost.php?p=13191856&postcount=12711
[HD2 Android NAND Development] titoxperiax10:
Thanks man...
[HD2 Android NAND Development] ~~Tito~~:
New wrapper I get data drops, but it is not as frequent, disabling/enabling data fixes it. It happens most frequently in low signal areas.
[HD2 Android NAND Development] tidus18:
Thanks, its a bit complicated for me:confused:.... Linux newbie here.:o
[HD2 Android NAND Development] mattfmartin:
Same with me. I think ver 4 is ALOT more stable.
[HD2 Android NAND Development] MontAlbert:
Beta 5 works beautifully for me. No issues at all. I was in a house today where reception is terrible and always have been. The phone had no issues finding data again each time it dropped out in here.. it actually did of while I was typing this reply and a minute or so later it had found the data again.

Thanks cedesmith... I love open source solutions.
[HD2 Android NAND Development] Webfire:
Beta 4 seems to work well for me. When I lose my cell phone signal, the data connection comes back couple of seconds after getting a signal again. This didn't work with the beta 3. There I always had to toggle data.

But those are only my first observations, running it for a few hours now.
[HD2 Android NAND Development] stirkac:
he complicated too much. you practically just need clk compatible boot.img(initd+zimage)

this can be done with:

1:applying update.zip for clk kernel (tytung r9v2 clk for example...)

2: mkbootimg tool(to include to rom if youre a chef) or flashing it via fastboot after usual magldr build(check arif-ali's kernel thread on that, it's c&p fastboot command) if you don't have proper zip premade for you

and if rom doesn't have ppp working, install one of cwr zips in previous pages to enable ppp data. but most of them already work(somehow, so it's still recommended) :)

in clk rom builds, this should all be done for you so try these first if youre newb
[HD2 Android NAND Development] ninettodavoli:
Hi all!

how can I get the Beta 4 to try to solve my problems with data connection?

Thanks in advance
[HD2 Android NAND Development] :
http://xdaforums.com/showpost.php?p=13191856&postcount=1271
[HD2 Android NAND Development] ninettodavoli:
OK!

Many thanks!!

But when I install the zip file with CWM tells me "installation aborted"

Why?

what is the installation procedure?
[HD2 Android NAND Development] :
this zip is not flashable trough cwm. unzip it, push it via adb or root explorer (don't forget to set right permission)
[HD2 Android NAND Development] arif-ali:
CWR for beta4 wrapper

here's the CWR for beta4 wrapper
[HD2 Android NAND Development] ninettodavoli:
OK! I just put the file in System/lib
[HD2 Android NAND Development] boonbing:
Tried b4 for one day and did not have any data drop.
[HD2 Android NAND Development] arif-ali:
Here is a log of my logcat of beta4.

This is the main problem I have is the default route of the ppp0 disappears, I should have a

default via 10.64.64.64 dev ppp0

when I run "ip route" as well, as the fields below

# netcfg
lo UP 127.0.0.1 255.0.0.0 0x00000049
dummy0 DOWN 0.0.0.0 0.0.0.0 0x00000082
ifb0 DOWN 0.0.0.0 0.0.0.0 0x00000082
ifb1 DOWN 0.0.0.0 0.0.0.0 0x00000082
usb0 DOWN 0.0.0.0 0.0.0.0 0x00001002
sit0 DOWN 0.0.0.0 0.0.0.0 0x00000080
ip6tnl0 DOWN 0.0.0.0 0.0.0.0 0x00000080
ppp0 UP 178.107.11.252 255.255.255.255 0x000010d1
#
#
# ip route
10.64.64.64 dev ppp0 src 178.107.11.252
#
#
# getprop | grep net
[mobiledata.interfaces]: [rmnet0,rmnet1,rmnet2]
[ro.telephony.default_network]: [0]
[net.bt.name]: [Android]
[net.change]: [net.dns2]
[net.tcp.buffersize.default]: [4096,87380,110208,4096,16384,110208]
[net.tcp.buffersize.wifi]: [4095,87380,110208,4096,16384,110208]
[net.tcp.buffersize.umts]: [4094,87380,110208,4096,16384,110208]
[net.tcp.buffersize.edge]: [4093,26280,35040,4096,16384,35040]
[net.tcp.buffersize.gprs]: [4092,8760,11680,4096,8760,11680]
[net.dns1]: [149.254.230.7]
[net.dns2]: [149.254.199.126]
[init.svc.netd]: [running]
[net.hostname]: [android-5b96749f6fb4bfc]
[net.gprs.http-proxy]: []
[gsm.network.type]: [HSDPA]
[net.ppp0.dns1]: [149.254.230.7]
[net.ppp0.dns2]: [149.254.199.126]
[net.dnschange]: [1]
[HD2 Android NAND Development] stirkac:
i updated cLK for dummies to V3, with huge help of dkephart please hit him thanks on his posts!

xda only allows pdf's up to 488kb to be uploaded so i had to go google docs :(
[HD2 Android NAND Development] dude0316:
how do we make a 400 meg partition instead of 150 meg using clk ?:confused:
[HD2 Android NAND Development] arif-ali:
Check the link in my signature