yashsingh1/xdaforums huggingface dataset:
[HD2 General] Moschdog:
On determining if phone is tethered or not:

Yes, it is very easy, from a wireless provider perspective, to determine if your phone has shared it's connection to another device. Each internet request includes a lot of information about the requesting device.

Potential

Methods could include:

Provider uses certain ports for data, yet if you share a connection, good chance communication flow from comp will originate/request from differing ports

Most probable is reading the HTTP header information to determine user agent. A UA is almost like telling the server what type of program will be receiving the information. Different systems use different character sets, interpret code slightly differently, etc. If you tether, the header will easily show originating request is not from a phone.

Now this is not an exhaustive list, but just an example. What's important, is the effort associated with this activity. Depending upon what type of analysis is being done, the level of packet information being reviewed takes a certain amount of processing power, policies, procedures, metrics, false-positives, regulatory implications, etc. So, you have to look at a cost/benefit from carriers perspective. What could happen, is the carrier looks at the high-use customers, and selects them as their population for completing review. Then do either a systemic review, or ad-hoc scans of usage to determine probable tethering.

Basically, don't start downloading Gigs of data and your chances of being caught/reviewed will diminish significantly. Although, as more demand is being placed on data, and tethering increases it's ability to generate income, more incentive will exist for enhanced packet analysis. Plus this method is not 100% reliable, because this information is often incorrect, changed/disabled easily and not all data traffic is necessarily internet IE Port 80...Devices send lots of information out outside of your normal internet browsing.
[HD2 General] sirphunkee:
This part is key; even if someone doesn't get "caught" tethering by their carrier and charged for it now, the time is coming soon when it will become a separate income stream for every carrier...and therefore their methods to accurately identify its use will become far broader and more thorough. I give it a year, sooner if the infrastructure moschdog describes can be deployed quickly enough. I have no doubts the plans for that are much farther along than is publicly discussed.

mosch, excellent points and a great explanation all around, thank you :)
[HD2 General] hazard99:
wow ,

didnt expect such a detailed explanation. I am always looking to increase my knowledge and I think you for taking the time to explain.

I dont download gigs of data, just a lot of energy rom's .Probably the biggest flag Is online gaming. Recrently I havent done that due to not having time.

I felt that they had been throttling my speed because I use tethering so much.

Right now its the only option I have for internet access. I couldnt see downloading gigs of data on this connection that its so slow.

This was my most recent speed test.

http://www.dslreports.com/im/89812094/6016.png

This is a rare speed. Usually I get below 500kb/s

I wonder if i have some settings Incorrect.
[HD2 General] d0ug:
Is essentially packet sniffing to read the UA string LEGAL for a provider to do? Its one thing to look at destinations of packets and the ports that packets are arriving/leaving on. Its a completely separate matter to actually look at the packet's payload data because then you can accidentally stumble upon all kinds of other info. Google has already gotten themselves in some hot water for recording packet payload data on unencrypted WiFi access points while their google street view cars are out driving around.
[Hero CDMA Q&A, Help & Troubleshooting] Chaid:
I'm probably going to get my ass chewed for this question, but I always worry when trying something new and I don't know how to flash a custom recovery image.

So the reason I was searching for help on this is because I wanted to try Darchdroid v2.7.

The first line of his directions:

"First Timers

1.) Root and install a recovery image, preferably the one i provide."

So I downloaded his RA-Darchstar.img and that's where I got stuck LOL.

So my question #1 is, how do I flash this?

I did a search for "How to flash recovery image" and got a few links but they look pretty old. Does it matter? I had to root my phone per Regaw's instructions after the sprint 2.1 RUU. Did that change the commands I found from posts back in 2009?

Question #2

I am currantly running Fresh 2.1.1 and love it to pieces. Will changing the recovery image mess that up? Can I Nandrecovery back to fresh 2.1.1 if I don't like Drach?

FYI in my system recovery screen it says:

Build : RA-hero-v1.5.2

Sorry for newb questions......Thanks for reading.
[Hero CDMA Q&A, Help & Troubleshooting] Decad3nce:
The recovery image shouldn't mess anything up, but if you're having problems you can just flash the older one(no nandroid).

Move the Recovery image that you want to flash to your sd card.

adb remount
adb push nameofrecovery.img /sdcard

Then flash it!

adb remount
adb shell
flash_image recovery /sdcard/nameofrecovery.img
reboot

nameofrecovery.img = make sure you put the name of your recovery image that you want to flash. lol.
[Hero CDMA Q&A, Help & Troubleshooting] Chaid:
Thanks, bud...worked fine.
[Nexus One Q&A, Help & Troubleshooting] xghostyxjokerx:
i received my brand new tmobile nexus one from the insurance place...its been like 1 going on 2 full days and i still havent got the 2.1 update 1 update??? how long does it take and also if i find the ota manual update can i force it and still be able to receive ota updates??? please someone link me or help..thanks!!!!!!
[Nexus One Q&A, Help & Troubleshooting] r45k:
Settings --> about phone--> firmware version

What does it say there (just making sure you're not doing it wrong)
[Nexus One Q&A, Help & Troubleshooting] xghostyxjokerx:
currently up to date...

and i have 2.1 not 2.1 update 1?
[Nexus One Q&A, Help & Troubleshooting] :
try

*#*#2432546#*#*

in the dialer. it forces checkin with google servers ensuring that the latest update available to you is seen
[Nexus One Q&A, Help & Troubleshooting] r45k:
isn't there a way to force check for an update in that same menu?
[Nexus One Q&A, Help & Troubleshooting] :
not that i recall
[Nexus One Q&A, Help & Troubleshooting] xghostyxjokerx:
i see a checkin sucess but nothing still???
[Nexus One Q&A, Help & Troubleshooting] :
what region are you in and what is your build number?
[Nexus One Q&A, Help & Troubleshooting] xghostyxjokerx:
im in in usa using tmobile google nexus one...and the build is erd79
[Nexus One Q&A, Help & Troubleshooting] :
try rebooting the phone. it should do it right after the reboot
[Nexus One Q&A, Help & Troubleshooting] xghostyxjokerx:
as in factory stock??
[Nexus One Q&A, Help & Troubleshooting] :
?

if you reboot and are stock, you do the checkin/reboot the ota should come immediately
[Nexus One Q&A, Help & Troubleshooting] xghostyxjokerx:
ok so i understand...do that code thing then reboot how power down then turn on or power down the trackball reboot???
[Nexus One Q&A, Help & Troubleshooting] :
just power down and power back up like normal
[Nexus One Q&A, Help & Troubleshooting] xghostyxjokerx:
i did the coded and sucess then i power down and reboot up the phone and noting pops up??
[Nexus One Q&A, Help & Troubleshooting] mnlk2:
i try too, just to see if it's him or general, so i can't update from ERD79 too. maybe i'm wrong but i think it's because google server are in update, maybe for Fro... i hope i'm right about this :)
[Nexus One Q&A, Help & Troubleshooting] xghostyxjokerx:
ok please do
[Nexus One Q&A, Help & Troubleshooting] :
you can get the update from here

https://android.clients.google.com/updates/passion/signed-passion-ERE27-from-ERD79.a487b405.zip

1. Connect your Nexus One with USB cable and mount

2. Rename signed-passion-ERE27-from-ERD79.a487b405.zip to update.zip then copy it to phone

3. Shutdown your Nexus One and reboot into fastboot mode (press track ball+power)

4. Now in your nexus one menu select Bootloader then press power button

7. Wait until you see android logo with caution mark !

8. Enter to recovery menu by hold power button + volume up

7. Use track-ball scroll to ‘apply sdcard:update.zip’ and press track-ball

8. Wait until the update process complete then in menu select reboot (you must select from menu)

try that

edit: another link for clarification

http://www.androidcentral.com/how-manually-update-your-nexus-one
[Nexus One Q&A, Help & Troubleshooting] xghostyxjokerx:
doing this will i be able to receive updates ota in the future???and also if i do this is there a way to go back to 2.1 stock rather the 2.1 update 1??
[Nexus One Q&A, Help & Troubleshooting] :
this method is perfectly fine and wont void your warranty. you will also receive future updates. if you want to go back to stock 2.1, i believe you will have to do a full wipe in bootloader but i am not sure of that (i know it is possible though)
[Nexus One Q&A, Help & Troubleshooting] mnlk2:
i've tried another time and i confirm, OTA don't work.
[Nexus One Q&A, Help & Troubleshooting] xghostyxjokerx:
i will try this...brb
[Nexus One Q&A, Help & Troubleshooting] xghostyxjokerx:
so it doesnt work for you too?? not just me....hmmmm....okay so ill manully force the update and c if that works for me....hey so you guys sure that if i do this force update to my phone ill be able to receive ota updates in the future???
[Nexus One Q&A, Help & Troubleshooting] mnlk2:
yes you'll be able to update you N1, the update link few post above is the official update from google server, it's the same as youu download with ota
[Nexus One Q&A, Help & Troubleshooting] xghostyxjokerx:
okay great i had force the update n now it is rebooting....

now i have update 2.1 update 1 with build ere 27 great...i really hope this doesnt screw up anything :) thx!!!
[Nexus One Q&A, Help & Troubleshooting] boang_yigubok:
You're not alone. Several users have reported the same either on brand new N1 or reverted to stock (PASSIMG.zip method) as in my case.

I think google is fixing something. I don't want to take wild guesses but considering that I just got the OTA 2.1 update1 last week and different users from different parts of the world complaining the same thing, I think something's going on. Fr***?? :D
[Nexus One Q&A, Help & Troubleshooting] dan1431:
That would be great news!

However, as an Engineer (although in a different field), I do not see the 2.1update-1 OTA being affected by a FRF update being qued for release.

Dan
[Nexus One Q&A, Help & Troubleshooting] z0phi3l:
Well, there is talk that the recently release N1 for Korea will have 2.2 installed from the get go, wonder if it would cause problems to still have Update1 still there for users of 2.2 and the upcoming OTA update for the rest of us
[Nexus One Q&A, Help & Troubleshooting] dan1431:
I cannot imagine so, most software updates/installers are able to detect the current version and prevent an earlier version from being installed. If for some reason, Google's software is unable to do that, it is a fairly large bug that would need to be corrected.

Dan
[Nexus One Q&A, Help & Troubleshooting] mgorman:
I can confirm that I also do not see 2.1-update 1. I had reverted my phone back to stock and when it booted up it did not see the update. I tried everything already mentioned to get it to show but it wont. I know how to update it manually but for testing purposes I'm leaving it on 2.1.
[G1 Q&A, Help & Troubleshooting] BolecDST:
Well it is actually more windows related problem I believe. I have Windows 7 Home Premium 64 bit version and I can't get DDMS to work. The 0.5sec popup says that it can't find the JAVA. It is searching for it in C:/Program Files/Java, mine is/was installed in Program Files (x86). I reinstalled JAVA installing it to program files, but the problem hasn't fixed. Any ideas? Is there a way to run ddms under 64 bit operating system?
[G1 Q&A, Help & Troubleshooting] GinoAMelone:
I just edited the .bat file to explicitly state where I wanted it to find java.exe.

It makes some very specific assumptions about where to find it.

I'm not at my home machine right now, but as I recall there was a second .bat file that looks for java.exe. I changed that one. Seems to be sourced by several different .bat files in the tools folder.
[G1 Q&A, Help & Troubleshooting] BolecDST:
Will try to do that on my own, but if you find some time and be kind enough to post the instructions, I'd be really happy ;)

Will report back if I manage to do something about it.
[JASJAR, XDA Exec, MDA Pro General] innuendo1973:
Hello everyone, I'm going slightly mad, I bought a dual sim no cut for my T-Mobile MDA PRO for some time, but It doesn't work, a good heart who can give me a hand?? to be precise I think that maybe unlock from the old owner and i have installed WM6 .
[JASJAR, XDA Exec, MDA Pro General] innuendo1973:
I don't understand, why nobody responds to my request? please who can give a hand to me because I can't resolve the situation .
[JASJAR, XDA Exec, MDA Pro General] innuendo1973:
aaarghhhh!!! i can't take it anymore, what are the problems of incompatibility between the dual sim and my pocket pc??? please please please give me a hand ......
[EVO 4G General] slimm9969:
Hey guys,

I've been reading a lot of the threads and it's pretty awesome how helpful everyone is. Could someone try and help me?

Here's what I've done. I started with a new Evo.

**Rooting Method**

-downloaded PC36IMG.Zip & evorecovery from Toastcfh

-Copied PC36IMG.Zip to SD card on phone

-While in bootloader, I started the update and rebooted

-It powered on, I removed the PC36IMG.Zip file from the SD card

-I powered it off and back on.

**Auto Recovery Method**

-I donated money for the "ROM Manager" by ClockworkMod and installed

-Then I selected "reboot into Recovery" and Powered off the phone

-I powered back up and nothing seemed to be different about the phone. I don’t get how I’m supposed to know it’s rooted.

ANYWAYS THAT’S THE LEAST OF MY PROBLEMS NOW

I did the Auto Recovery Method steps again and now IT WON’T TURN ON NO MATTER WHAT MODE.

I tried:

Taking out the battery, taking out the SD card, tried starting it in bootloader (vol down + power).

IS MY PHONE A BRICK NOW?

If so how can I fix this and if I can’t fix it, how do I return it without showing I voided my warranty? I’d prefer fixing it if I can.
[EVO 4G General] bcnice20:
1st check and make sure your batt. Didn't die
[EVO 4G General] looneylu:
if your phone doesn't doesn't turn on at all, there is no way to tell you voided the warranty. However, it is extremely difficult to brick these phones if you don't flash gsm roms/radios.

Make sure the battery isn't dead.
[EVO 4G General] kthejoker20:
yes, and always do this stuff with the charger plugged in when flashing roms.
[EVO 4G General] Galiot:
Does the Orange(not full)/ Green(Full) charing LED come on at the top of the phone when it is plugged in? If so charge it til green and try again.
[EVO 4G General] toastcfh:
moved to general forum.
[EVO 4G General] hingeeya:
so it won't even show the htc evo 4g bootscreern? try plugging it in the computer and try adb shell on it with EVO-recovery.zip to see if it connects. If it does, reboot recovery.
[EVO 4G General] crpercodani:
Use the RUU..
[EVO 4G General] slimm9969:
No lights at all. It's like there isn't a battery in the phone.

Someone suggested the battery might have went out. Shouldn't it still turn on or show an orange light with the plug. I think it should still turn on even without a battery when it's plugged in. ??
[EVO 4G General] slimm9969:
HOLD UP!!

WHILE I WAS DRIVING HOME i TOOK THE BATTERY OUT AND WHEN i GOT HOME i PUT IT BACK IN AND IT STARTED RIGHT UP. I STILL NEED TO FIX THE WHOLE ROOT THING.

How do I know if I rooted it (part 1)?
[EVO 4G General] bcnice20:
Try to boot the phone into recovery using the evo recover.zip in part one

Rename or remove the pci.img w.e from your sd

Turn the phone off hold down vol. Down and power let it check click down on volume then click power button and boot into recovery then.....

download it unzip it onto your desktop open it up right click on recovery.bat if you on Windows click run. as admin if the screen goes up and just goes away then just click on recovery.bat normally you may have to click on it a few times if it runs and doesn't boot into rec. The 1st time.
[EVO 4G General] BAleR:
The reason it didn't boot is because the "internal memory" had to be "reset", the only "real" way to do that is to take out the battery and wait about 1 minute, then snap it back in and boot up. - Correct me if I'm wrong about that.

So... My theory would be that if It had not needed to been reset to boot up, then It didn't Root... ??
[EVO 4G General] slimm9969:
Ok, that sounds logit. But, if you can entertain my questions just a little longer?

What is the rooting going to do to my phone? And what is the NAND Uprotect going to do?
[EVO 4G General] Homefix:
Its going to let you run custom roms such as http://xdaforums.com/showthread.php?t=698350
[EVO 4G General] Homefix:
Heres a list of roms http://xdaforums.com/showthread.php?t=698044
[EVO 4G General] CentroniX:
Install Terminal Emulator from the Market (free). Launch the terminal, and enter 'su' and press enter. You should be at a root prompt (#). Confirm by typing 'id'; It should return 'uid=0(root) gid=0(root)'
[EVO 4G General] MuzikJay:
Why the HELL are you here trying to root your phone if you don't even know what it'll do?
[EVO 4G General] DaveMW:
I would assume it's so he can learn and progress like the rest of us.

Remember what mom said... If you don't have anything good to say, don't say anything at all.
[EVO 4G General] MuzikJay:
Well if you're doing something that can potentially destroy your $550 dollar device, you should probably

first

figure out

A: How it's done

B: WHY YOU'RE DOING IT
[EVO 4G General] chim4ira312:
A. WHY YOURE DOING IT

and THEN

B. How it's done

i dunno i agree with you.. lol
[Hero CDMA Q&A, Help & Troubleshooting] greyson1973:
I know this will seem stupid, but I am a noob when it comes to rooting my phone. I was going to try it, but I have the Sprint OTA Update that blocks rooting. I have yet to see mention of a new method of rooting the phone, so is there another method? Do I have to go back to the original RUU (2.1 something).

Also, the only REAL reason I want to root the phone is to remove the stupid Sprint Apps (that you can't remove otherwise) and to re-enable the WiFi Hotspot functions. Do I need to install a custom ROM for that or can it be done without replacing the current ROM from Sprint?
[Hero CDMA Q&A, Help & Troubleshooting] D3FAULT:
If you follow the guide here: http://xdaforums.com/showthread.php?t=694572 you'll see that it tells you how to downgrade to an older RUU that allows you to root your phone.

The other questions I'm not 100% sure about since I'm a newb too, but it wouldn't surprise me if you were able to. Rooting is a powerful thing. :cool:
[Hero CDMA Q&A, Help & Troubleshooting] abcdfv:
It can be done without installing a cstom rom, using ADB, or a kitchen.
[Hero CDMA Q&A, Help & Troubleshooting] greyson1973:
How

Do do I re-enable the WiFi Hot Spot and remove the stupid NFL and Nascar aps once I root the phone? Someone said I could use ABD or kitchen, but I know nothing about either.
[Hero CDMA Q&A, Help & Troubleshooting] abcdfv:
http://xdaforums.com/showthread.php?t=581976&highlight=apps+safe+remove

10 seconds in search.
[Hero CDMA Q&A, Help & Troubleshooting] greyson1973:
WiFi Hot Spot

How do I enable the WiFi HotSpot function again?
[Hero CDMA Q&A, Help & Troubleshooting] greyson1973:
WiFi Hot Spot

No one can tell me how to turn this on on my phone? Do I need a special ROM? Is there a way to turn this back on just by rooting my Hero using the .5 version of Sprint's Driod 2.1?
[Hero CDMA Q&A, Help & Troubleshooting] gunnyman:
google for wifi tether for root users. Will take you to the google project page. the version you want is pre6 I believe.
[Hero CDMA Q&A, Help & Troubleshooting] thatguythatdid:
hiya want some popsicles
[Hero CDMA Q&A, Help & Troubleshooting] greyson1973:
Wifi Tether

I did the suggested Google Search and found lots of "experimental" ways to tether for various Andriod phones. Unfortunately, none of the phones listed were the HTC Hero running Android 2.1. So, any other suggestions?
[Hero CDMA Q&A, Help & Troubleshooting] gunnyman:
http://code.google.com/p/android-wi...me=wireless_tether_2_0_5-pre2.apk&can=2&q=Evo I Think this is the one.
[Hero CDMA Q&A, Help & Troubleshooting] greyson1973:
That one

That link appears to be for Android 2.0.5 on the Evo. I am running 2.1 on the Hero. Will it still work?
[Hero CDMA Q&A, Help & Troubleshooting] mrinehart93:
Just try it. It won't break your phone if it doesn't work. The worst thing that can happen is that your dog will die and your house will burn down.
[Hero CDMA Q&A, Help & Troubleshooting] gunnyman:
It's the same file that used to be labeled for the Hero as far as I know. Or what Reinhart said.
[Nexus One Q&A, Help & Troubleshooting] xghostyxjokerx:
MotionEvent http://android-developers.blogspot.com/?hl=en

The Android framework’s primary point of access for touch data is the android.view.MotionEvent class. Passed to your views through the onTouchEvent and onInterceptTouchEvent methods, MotionEvent contains data about “pointers,” or active touch points on the device’s screen. Through a MotionEvent you can obtain X/Y coordinates as well as size and pressure for each pointer. MotionEvent.getAction() returns a value describing what kind of motion event occurred.

One of the more common uses of touch input is letting the user drag an object around the screen. We can accomplish this in our View class from above by implementing onTouchEvent as follows:

@Override

public boolean onTouchEvent(MotionEvent ev) {

final int action = ev.getAction();

switch (action) {

case MotionEvent.ACTION_DOWN: {

final float x = ev.getX();

final float y = ev.getY();

// Remember where we started

mLastTouchX = x;

mLastTouchY = y;

break;

}

case MotionEvent.ACTION_MOVE: {

final float x = ev.getX();

final float y = ev.getY();

// Calculate the distance moved

final float dx = x - mLastTouchX;

final float dy = y - mLastTouchY;

// Move the object

mPosX += dx;

mPosY += dy;

// Remember this touch position for the next move event

mLastTouchX = x;

mLastTouchY = y;

// Invalidate to request a redraw

invalidate();

break;

}

}

return true;

}

The code above has a bug on devices that support multiple pointers. While dragging the image around the screen, place a second finger on the touchscreen then lift the first finger. The image jumps! What’s happening? We’re calculating the distance to move the object based on the last known position of the default pointer. When the first finger is lifted, the second finger becomes the default pointer and we have a large delta between pointer positions which our code dutifully applies to the object’s location.

If all you want is info about a single pointer’s location, the methods MotionEvent.getX() and MotionEvent.getY() are all you need. MotionEvent was extended in Android 2.0 (Eclair) to report data about multiple pointers and new actions were added to describe multitouch events. MotionEvent.getPointerCount() returns the number of active pointers. getX and getY now accept an index to specify which pointer’s data to retrieve.
[Nexus One Q&A, Help & Troubleshooting] xghostyxjokerx:
anyone know?