yashsingh1/xdaforums huggingface dataset:
[Fascinate Android Development] ExNight:
There is no irony, I just felt inclined to comment. I didn't point out the obvious just to say something that was irrelevant. And all you did was put what I said out of context.

Sent from my better built sammy iphone knockoff
[Fascinate Android Development] yoitsbry:
here you go

Startup sound:

1) DL a new sound file

2) convert to a .wav file (using Winamp+.wav converter/iTunes)

3) put on SD card

4) open Root Explorer

5) navigate to /system/etc

6) rename "PowerOn.wav" to "PowerOn.wav.old"

7) navigate to where you placed the DL'ed .wav file

8) copy

9) paste into /system/etc

10) rename it "PowerOn.wav"

Shutdown sound:

1) DL a new sound file

2) convert to .ogg file (I used Winamp+.ogg converter)

3) put on SD card

4) open Root Explorer

5) navigate to /system/media/audio/ui

6) rename "shutdown.ogg" to "shutdown.ogg.old"

7) navigate to the DL'ed .ogg file

8) copy

9) paste into /system/media/audio/ui

10) rename it "shutdown.ogg"
[Fascinate Android Development] Terror_1:
Seriously, wipe the sand out of it and you will be all good.
[Fascinate Android Development] azturbomini:
He that lives in a glass house...
[Fascinate Android Development] ExNight:
Wow... Amazing how fast everyone is to flame my post. Glad to see the friendly community who all claim to help one another but just leech off the devs and flame the ill informed. Good job, make us proud

Sent from my better built sammy iphone knockoff
[Fascinate Android Development] PhoenixPath:
..and the guy who's post you flamed? That was ok? Calling people ignorant and basically telling them to shut up isn't exactly the height of peace and love, bud.

..just sayin'

Lets all just drop it and let this topic die. Can we at least agree on that?

(if you agree, do not respond....mmmmkay?)
[Legend General] tobbeson:
Under Construction
[Legend General] seah87:
reckless racing dont work
[Legend General] rajasyaitan:
Pirated apps? Forbidden.
[Legend General] were2:
also, i only see 4 pay and 4 free games.

no apps nothing else. pretty useless site.
[Legend General] tobbeson:
Are You Crazy!

Its not forbidden because its only a link for a html coded website with links for apps
[Legend General] tobbeson:
The website is underconstruction

Just a beta preview
[Legend General] tobbeson:
Hey You Get Free Games Why Are You Soo Negative
[Desire Q&A, Help & Troubleshooting] cielbleu:
Hi all, I brought a desire few days ago which branded to T-mobile. I rooted it via unrevoked method and flashed with a j-style miui rom.

Everything went fine. But, the phone still has not been debranded completely. It still has a t-mobile preloader running when I switch on the phone.

I am kind of stuck here, How can I completely debranding the phone, get rid of the preloader completely. Did I do something wrong?

Many thanks in advance...
[Desire Q&A, Help & Troubleshooting] happytomato:
You need to flash the alpharev S-OFF hack. Then, search for "change splashscreen".

Bootscreens and splashscreens are different. The preloader you refer to is the splash screen.
[HD2 General] azlan96:
How do you guys clean your camera? I use my t-shirt and now it has scratches:(
[HD2 General] kurt-willems:
I use wipes to clean glasses :o
[HD2 General] rhacy:
Microfiber or lens cleaning cloth works best here for camera lenses and lcd screens. You should be able to find lens cleaning cloth cost effectively via ebay. Moreover, you can pick up a new HD2 outer lens on ebay for a few bucks shipped. It's fairly easy to remove, as its just attached with a thin adhesive tape.

Best to all,

R
[HD2 Android Q&A, Help & Troubleshooting and Genera] letama:
Dear All,

I modified libhtc_ril_wrapper to possibly fix the pppd disconnection problem.

As I don't have 3G at home, I'd appreciate some feedback to help me diagnose potential issues with it.

WARNING, there are reports of crash at boot, do a backup of your whole android directory before trying this!

Don't run this if don't have adb and know how to use it.

See post #2 for history and more information

To keep the thread clean, please only report problems and try to avoid unnecessary talking about it.

Don't report problem without logs, it won't help.

This is highly experimental, don't use it if you don't know what you're doing.

To install, just rename your previous wrapper and copy the attached libhtc_ril_wrapper.so to the same location.

Here are the logs I need:

logcat -d -v time -b radio > /sdcard/pppd_radiolog.txt
logcat -d -v time -s pppd:v > /sdcard/pppd_mainlog.txt
dmesg > /sdcard/pppd_dmesg.txt
/bin/ifconfig > /sdcard/pppd_if.txt
ps > /sdcard/pppd_ps.txt

Please review pppd_radiolog.txt before posting, it could show some personal stuff like phone numbers, feel free to remove these lines or refrain to post them

Wait 20 seconds to let the wrapper relaunch pppd and check connection again. If it doesn't work, please send the logs.

Grab the three files from sdcard root and post them back here.

I'm also experimenting some kernel tuning that can be activated with this:

echo 8 8 > /proc/sys/vm/lowmem_reserve_ratio
echo 8192 > /proc/sys/vm/min_free_kbytes

Nothing conclusive yet, but it seems to help.

Thanks to Hastarin, I also attached his root package that includes wrapper with ppp options and tweaks.

Thanks,

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

Currently i'm using ppp-fix. Can I contribute here? or I have to remove the script from init.rc then I reboot the device so I can contribute?
[HD2 Android Q&A, Help & Troubleshooting and Genera] mdeejay:
nice :)

try now
[HD2 Android Q&A, Help & Troubleshooting and Genera] Crusoe86:
Hi LeTama,

thank you for your work.

It seems that your fix work. I don't notice any dropouts.

But that could be a reason of the issue that the phone does not start android.

It boots WM then haret and then it freezes on the black screen with the green HTC logo...

I use [UPD][BUILD][30.10.10] MDJ FroYo Revolution v.1.1 [kernel: hastarin R8] and after copying your file with ES explorer I've rebooted the phone and now it hangs on the htc screen after running haret... :(

But the good news are, the dropouts are gone :)

Sorry but I can't post logcat messages without booting android complete :(

Which build do you recommend?
[HD2 Android Q&A, Help & Troubleshooting and Genera] letama:
Hi Funky81,

Well, it's better to remove ppp-fix as I do the same thing in the wrapper now. The way it's done in the wrapper is cleaner and should have the same effect.

You can just comment it in your init.rc if you want to keep it, but keeping it active could have side effects.
[HD2 Android Q&A, Help & Troubleshooting and Genera] letama:
You have adb on you pc ? You should be able to run adb even if android is not fully started.

With it, you can get logcat and even rename back the old wrapper to see if it starts booting again.
[HD2 Android Q&A, Help & Troubleshooting and Genera] noellenchris:
So far it's working very nice, I will be out and about today and will try to crash your masterpiece...:P

I just wanted to publicly say a big "THANKS" for helping everyone out with the PPP issues, you have always listened when I've popped in on the IRC and asked questions and relayed info from XDA. Thanks for your time and expertise. Your DEV work has not gone unnoticed!:D

Now get ready to fix the wrapper after we all crash it. Or read all the post on how your wrapper has made their microwave burn their popcorn and how their wifi can now communicate with the satellites....bla....bla.......:rolleyes:
[HD2 Android Q&A, Help & Troubleshooting and Genera] MartyLK:
Hehe...that may not happen. At least for my copy. I am giving mine a thorough flogging with Speed Test and can't make the data freeze. And I'm seeing over 3000Kb/s HSDPA speeds...with the common, single APN settings. By the way, I'd like to thank both of you for your hard efforts.
[HD2 Android Q&A, Help & Troubleshooting and Genera] prosumerhacks:
testing...

testing now... thanks! ;)
[HD2 Android Q&A, Help & Troubleshooting and Genera] hastarin:
Sadly I got the same problem and it's the initial logo screen it's hanging at, not the boot animation, so no adb shell is possible. I did get you a dmesg via andlog though (attached).

Time to restore a copy of system.ext2 that I backed up before... Oh wait, I didn't. Oh well, time to restore the copy from the original build. :)

To anyone trying this I suggest first taking a copy of the system.ext2 from your Android folder, just in case. At least if you'd tweaked anything in it already (build.prop for example) like I had.

On the plus side I did setup a gscript with the commands you noted and test it before I rebooted the phone. From that I noticed I had some errors in my logs already. I've attached them in case they help. NOTE: This is on my kernel and it almost seems like your patch to hi/lo-mem and my patch to move ppp compression to hi-mem have countered each other. It's getting late here so I'll have to continue experiments tomorrow after work.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Dr Nicky:
Hope this helps

Here you go. I had a disconnect and sync fail (Exchange Server).
[HD2 Android Q&A, Help & Troubleshooting and Genera] Dr Nicky:
And Another

Same as before
[HD2 Android Q&A, Help & Troubleshooting and Genera] noellenchris:
crashes when your on exchange? were you doing anything else. Hmm, sounds like the same used to happen to me sometimes. But it's working ok now with this wrapper. Did you try to repush the wrapper on reboot?
[HD2 Android Q&A, Help & Troubleshooting and Genera] letama:
Hastarin, you can mount the ext2 on your pc and replace the file ?

Your log show a modem crash, weird.
[HD2 Android Q&A, Help & Troubleshooting and Genera] hastarin:
Yeah, mdeejay even sent me a whole build he had working with the wrapper and I got the same crash.

I'm back up and running now. Restored the original system.ext2 from the build and reapplied my few tweaks.

FYI I'm going to try the following in my init.rc

# Tweak inode caches
write /proc/sys/vm/vfs_cache_pressure 200

Based on this:

http://www.cyberciti.biz/faq/linux-page-allocation-failure-erro/

But now it's approaching 4am here and I really must sleep. :eek:

PS Giving up on testing your wrapper for now. It just really doesn't like me. :(
[HD2 Android Q&A, Help & Troubleshooting and Genera] Dr Nicky:
They were both forced repush. The only way I could get the radio back on line was to do a Hot Reboot.
[HD2 Android Q&A, Help & Troubleshooting and Genera] letama:
Thanks for the logs! Unfortunately, they are showing that the wrapper restarts pppd and it doesn't seem to go bad. Could you give me the dmesg also ?

Could you also show me /bin/ifconfig result ?

LeTama
[HD2 Android Q&A, Help & Troubleshooting and Genera] maximr:
I'm having the same issue as Hastarin - well, I've been using his latest kernel. Doesn't even boot.

Instead of restoring system.ext2, I just pushed an older lib and went back to the old method of restarting pppd.
[HD2 Android Q&A, Help & Troubleshooting and Genera] maxh2005:
My own logs for a dropout that just occurred (3G/H icon vanished while loading a web page). For me, the wrapper didn't work with Hastarin r8, but does with r7.7.

Thanks for looking into this!
[HD2 Android Q&A, Help & Troubleshooting and Genera] tsem006:
but unfortunately I found that the MMS and GPS do not work
[HD2 Android Q&A, Help & Troubleshooting and Genera] letama:
Yes, that's possible, main log is quite verbose, pppd entries will go quite quickly.
[HD2 Android Q&A, Help & Troubleshooting and Genera] letama:
hendr1k,

It's probably because pppd died and therefore ip address displayed is lo interface which is 127.0.0.1. You can check all the interfaces with /bin/ifconfig in terminal.

LeTama
[HD2 Android Q&A, Help & Troubleshooting and Genera] euro_e93:
Finally a perfect fix! No drops whatsoever! AMAZING! All I did was replaced the wrapper:)
[HD2 Android Q&A, Help & Troubleshooting and Genera] juicecultus:
Been using v0.3 for a few days now, one issue I have is when I use radio streeming both on wifi or 3g it disconnects after 10 sec. I reconnect and after 10 sec stops again. Been using furious streaming app with no issues like this on rmnet. Will try to get logs as well.
[HD2 Android Q&A, Help & Troubleshooting and Genera] busterdan:
New 2.15 radio installed and today the battery life has been very good... what's more - there have been no PPP disconnects that I have noticed...

BRILLIANT!!!

Many thanks... just hope that chefs will start offering the new wrapper in their builds.
[HD2 Android Q&A, Help & Troubleshooting and Genera] vdws:
Two days with the 0.3 wrapper. Still zero data drops. Radio 2.15.x, stock windows mobile rom.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Meteo:
also running rEVOlution 2.3 and everything looks to be working ok
[HD2 Android Q&A, Help & Troubleshooting and Genera] K_Hismoom:
Had no connection problems for the rest of yesterday and this morning and I traveled around quite a bit, so the phone had to switch cells quite often.

Just tried to install Firefox Mobile 4 Beta 2, which made Android reboot.

After that the ppp deamon died, but the wrapper managed to restart it several times, just as it's supposed to do. Good work there!

For your information, I attached the logs.
[HD2 Android Q&A, Help & Troubleshooting and Genera] matrixcomp:
T-Mobile Apps not working

HAs anybody noticed when using this r8 kernel and the .03 wrapper, the T-Mobile Apps cannot communicate. I'm talking especially about the Visual Voicemail. Keep getting communication error. I'm using radio 2.15

Thanks for any input.

Manny
[HD2 Android Q&A, Help & Troubleshooting and Genera] mstrk242:
The only time I still get disconnects on this wrapper is when I'm using google maps, and it hops to a different tower. It will have one of the arrows stuck, and I can't even turn off mobile data and then back on. (And since I'm driving when this happens, by the time I can get to a computer, the logs are not showing anything. I wish I could get it to happen when I'm not driving :))

Still, this wrapper is much better. The other times I would get disconnected no longer happen.

One thing I did notice (and this could very well be build related) if I use a sense based build, and the data freezes, I can turn the mobile data off and on and it comes back right away. On a CM6 based build, when I go to turn of mobile data, nothing happens, have to either reboot or stop the ril-daemon to get it back.

I'll keep trying, if I can finally get a log file with useful info in it, I'll be sure to post it.
[HD2 Android Q&A, Help & Troubleshooting and Genera] K_Hismoom:
You can install Terminal Emulator from the market and run the commands from the first post in the shell, so that when you get home, all you have to do is adb pull the logs from your device.
[HD2 Android Q&A, Help & Troubleshooting and Genera] matrixcomp:
Search Button

Yeah, the search button does wonders here. My bad.:o
[HD2 Android Q&A, Help & Troubleshooting and Genera] Marmle:
seems the only time i get disconnects is when i tether. Other than that haven't really experienced any for the last two days:D
[HD2 Android Q&A, Help & Troubleshooting and Genera] mstrk242:
If only it were that easy :( I have a car mount, and I'm usually driving long distances (I do on-site service calls for work). When the gps crashes, I'm usually on the expressway, and it's not like I can open up a terminal emulator and start typing in commands driving 70 mph in heavy traffic :(

Usually by the time I get to a place where I can, those parts of the logs have been overwritten.

If I am able to find anything useful, I'll definitely let you know.
[HD2 Android Q&A, Help & Troubleshooting and Genera] fireballrs:
Lastets FIX worked for me! Awsome Work!

No more disconnetions for now! Thanks and keep going!

[Core Droid V0.6][SUPERSONIC (EVO 4G)][Kernel Hastarin #R8]

Radio 2.15
[HD2 Android Q&A, Help & Troubleshooting and Genera] hastarin:
First let me say I do not condone any use of a phone at 70mph in heavy traffic, but if you're in a situation where you can pull over for a minute, or sitting at a traffic light, you can try the following.

Setup a script with G-Script Lite, then you can create a shortcut to that and it's a single touch of the screen to run it. :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] famewolf:
I tried this....the two logcat's ran fine but I didn't get the dmesg....ended up creating a 2nd script with ONLY the dmesg and then it ran fine....scratched my head but wasn't worth the time to figure it out once I had the logs I needed...maybe the dmesg needs to be first before the two logcat's. *shrug*
[HD2 Android Q&A, Help & Troubleshooting and Genera] mstrk242:
That's not a bad idea, I'll do that.
[HD2 Android Q&A, Help & Troubleshooting and Genera] mattfmartin:
My ppp had improved with the patch, but my wifi keeps timing out.
[HD2 Android Q&A, Help & Troubleshooting and Genera] badmonopoly:
Fresh boot and instantly dropped trying to open gmail lol.

There is no hope, I swear.
[HD2 Android Q&A, Help & Troubleshooting and Genera] vysus:
I read "To install, just rename your previous wrapper and copy the attached libhtc_ril_wrapper.so to the same location", question is how to rename the already present file?
[HD2 Android Q&A, Help & Troubleshooting and Genera] letama:
It depends on how you do it, if you use a file explorer, you're on you own, there's too many to tell. From terminal or adb just type:

mv /system/lib/libhtc_ril_wrapper.so /system/lib/libhtc_ril_wrapper.so.backup

LeTama
[HD2 Android Q&A, Help & Troubleshooting and Genera] vysus:
And what if I simply replace the existing one with the file you provided?
[HD2 Android Q&A, Help & Troubleshooting and Genera] noellenchris:
that would work too, but if you don't like the test wrapper, how ya gonna go back to your old wrapper? Either way, the wrapper should work better IMHO.
[HD2 Android Q&A, Help & Troubleshooting and Genera] vysus:
Yep, you're right my friend :)

But I'm so used to change build everyday looking for the one I love that it's not that a big problem for me, eh eh eh...

*EDIT* Famous last words, as one of Supertramp's best known creation: connection doesn't start anymore..
[HD2 Android Q&A, Help & Troubleshooting and Genera] banesi:
Here are my logs, just after data disconnected a couple of times, seems like I'm getting more of this disconnects after upgrading to latest hastarin v8.1 kernel, I'm using darkstone HD2Froyo V3 build.
[HD2 Android Q&A, Help & Troubleshooting and Genera] cwsmall:
No matter what build winmo or droid or radio combo i try my phone freezes. especially during calls. It usually works during the call for about 8 minutes that appears to be the common time that it happens time after time. I've been using the .3 wrapper since it posted. It also, freezes when syncing sometimes as well. i have turned off auto sync and i do it manually. I don't know how to pull the logs needed. Trying to teach myself but its going slow. If anyone could lead me in the right direction i would be very thankful. I would really like to be more useful around hear, cause i'm addicted to this stuff since i got my hd2 the day it came out. thanks again.
[HD2 Android Q&A, Help & Troubleshooting and Genera] letama:
Thanks for the logs. If I interpret them correctly, the wrapper behaved well and disconnections are coming from gsm network and/or radio. I need to improve and clean my logs to be 100% sure though, it's a bit tough to read.

If I'm not mistaken, I can't do anything about that .

Did you do a data off/on during the logs ?

LeTama
[HD2 Android Q&A, Help & Troubleshooting and Genera] jae-v:
hey LeTama thanks for all your hard work first of all, you've made PPP finally an option as a daily driver for me. I'm noticing now most of the kernel updates include a "ppp patch" should we still use your supplied wrapper along with the new kernel or simply delete the .ko?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Meteo:
seems more stable after testing a few days. sometimes call drops and it fixes itself, even fixes it self from freezing sometimes. But today it froze and I had to restart the phone to get data working again.
[HD2 Android Q&A, Help & Troubleshooting and Genera] letama:
Hi jae-v,

You still need the wrapper with the new kernel. It just let you switch ppp and rmnet, that's all.

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

I don't see anything regarding wrapper on your log, just the radio switch off/on at the end . It seems that pppd didn't die which shouldn't happen if your connection was down.

Without pppd logs I can't say much more.

LeTama
[HD2 Android Q&A, Help & Troubleshooting and Genera] ATomCZ:
I have Hastarin 8.1 kernel and libhtc_ril_wrapper_v0.3 and smd_tty start to drain my CPU almost every day (it use 70% of CPU continuously). I must complete reboot my phone. It is related to changes in kernel or in RIL wrapper?
[HD2 Android Q&A, Help & Troubleshooting and Genera] banesi:
No, I intentionally let it recover by wrapper itself, hopefully providing you better info of what's going on there.

Thanks for your continuing work on this!

btw, what is the default way of connection in native android phones, eg. Desire, ppp or rmnet?
[HD2 Android Q&A, Help & Troubleshooting and Genera] letama:
Ok, it make sense. My wrapper won't avoid disconnection, it happens, and it happens with winmo too. Its goal is to recover from these disconnections.

Native android phones are using rmnet as far as I know, explaining why we have to "hack" a bit to make ppp work as it's not completely handled by android.

Unfortunately, windows mobile is using ppp and that's probably rmnet in our radio is buggy.

LeTama
[HD2 Android Q&A, Help & Troubleshooting and Genera] letama:
Huh, I'm not seeing this with my build. You mean that with top, you see permanent 70% cpu usage ? This is definitely wrong. I'd be interested in your dmesg.

But yes, this is probably kernel related.
[HD2 Android Q&A, Help & Troubleshooting and Genera] ATomCZ:
Yes. In top I see smd_tty which use too much CPU. This happen when I use Internet intensive, today because of I was testing Opera Mobile. I can run 'dmesg' via ADB when it happen again and will send its output here.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Meteo:
can alogcat be used to collect pppd logs?
[HD2 Android Q&A, Help & Troubleshooting and Genera] famewolf:
Data fails to return after a phone call.

LeTama,

I've been having a problem where after I make a phone call data fails to return to the phone....toggling both data mode AND airplane mode on/off did not help to recover....the wrapper appears to keep recovering and getting some error....I took logs right before I shut android completely down and rebooted the phone. Please let me know if you see anything useful. I can recreate just by making a long phone call (note...short calls seem to work ok as I guess the ppp connection does not time out).
[HD2 Android Q&A, Help & Troubleshooting and Genera] attractor:
DITO. Are there any recomendations for the battery issue? Other than that it works great.
[HD2 Android Q&A, Help & Troubleshooting and Genera] famewolf:
Reconncted but bounced between H, 3g and E for several minutes

LeTama,

Here's another scenario that may or may not be of interest to you...attaching logs on off chance...lost net while tethered...normally the net recovers within about 30 seconds....this time net was off for several minutes...I finally turned on screen of phone and looked at it and it was bouncing between H, 3G and E....finally getting a connection after about 4 to 5 minutes....attached logs.
[HD2 Android Q&A, Help & Troubleshooting and Genera] awstryker:
sent from hd2(EVO)
[HD2 Android Q&A, Help & Troubleshooting and Genera] ATomCZ:
Here is dmesg log of my problem with smd_tty process. It content is very interesting :-)
[HD2 Android Q&A, Help & Troubleshooting and Genera] letama:
Sure, pppd logs are in the main log.

LeTama