yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] walts:
This isn't a direct answer to your Shark question - I agree with sssss about the difficulty of attaching packets to applications - but if you are really interested in battery usage, "Android Booster" from NetQin has a "Power Details" tab that lists battery consumption by application. It's available in the Market. BTW, I have no idea how it gathers the power consumption data! Maybe it's just logging run time or something.

There are also a number of Battery Loggers available - you can try to correlate battery drain with what you were doing in a given time period.

Walt
[Android Apps and Games] kirpeace:
not working in defy cannot capture any packet
[Android Apps and Games] NicholasQ:
Is there development still going on in this app?
[Android Apps and Games] murtazaghulam:
need some urgent help

Hi,

I want to develop a bandwidth estimator for android. Now, I have tcpdump traces. I want to parse these pcap files to get tcp congestion window data. Is there any body who knows if somebody has this parser to get window size value from packet.

So that I dont have to re-invent the wheel (and save lots of energy and resources :)). And I am happy to share it with you guys once it is ready.

Regards,

Ghulam
[Android Apps and Games] Doug8307:
Hi guys

Pardon my ignorance on the subject.. I'm brand new to Shark for Root.

I'm trying to improve my hosts file for AdAway so I downloaded Shark for Root and Shark Reader per AdAway's FAQ. The .pcap file is all IP addresses, so how do I find out which hostnames to add?

Also, what do the -vv and -s parameters mean? Is there a list of all parameters available?

Thanks!
[Android Apps and Games] JarekG:
Don't have an answer for your first question but for the second one you may want to do search for tcpdump (here is a good example)
[Android Apps and Games] riahc3:
Where is this app or are there any new alternatives?

Links dont work.
[Android Apps and Games] Jinoxide:
riahc3: This app appears to be on the Play Marketplace, now, though it hasn't been updated in a while.

lv.n3o.sharkreader - Shark Reader

lv.n3o.shark - Shark

Turns out I can't post links, but there are the IDs for searching on the market.
[Android Apps and Games] Eruru:
hello guys sorry for my bad english but i have a problem with shark!

Shark doesn't capture traffic produced by my smartphone(galaxy ace s5830i)! If I run shark on a wifi network(with default configuration) it captures all packets from other devices connected but not the traffic produced by my smartphone... if i run it on 3g and i visit any webpage with the browser of my smartphone in the log file there are only raw packet :(

Any ideas? Thanks
[Android Apps and Games] xtonda:
I tried to use Shark for root with wifi tethering enabled. Using -D switch it listed following interfaces: rmnet0, wlan0 and m.wlan0. I assume that rmnet0 is cellular and wlan0 is wifi but I have no idea what m.wlan0 can be. I want to capture devices using wifi hotspot and do not want communication from Android device itself to be included. Trying to figure out what interface will be best to capture. Any ideas?

Thanks
[Android Apps and Games] J0k4r:
Hey guys, can somone tell if it works with my sgs 2? google says it has monitor mode, so it should work shouldn't it?

of course it's also rooted.

but how exactly does it works? let's say i disconnect from my wlan and delete it from the wlan list. is it possible to capture the handshake?

so which parameters do i need and do i have to press connect to the network while shark for root is running? or does it automaticly sniffes in available wlans?

so i say thanks now for all informative answers, i'm really interested in this topic. maybe i'll change the wpa2 key from my twenty letters (with special letters like # and &) or is it safety?

greetings.
[Android Apps and Games] clshack:
you can merge it with dsploit :)
[Android Apps and Games] Syperus:
Thanks for this app ex87. It is working really well on my HP Touchpad running CM9. I wish you could delete the pcaps from the Shark for Root app, but other than that it's great. Thanks again!!!
[Android Apps and Games] cloooned:
Is there any way to run the capture NOT in the promiscuous mode? I tried the tcpdump option -p on normal and native App whithout any effect.

I like to capture the real traffic to check my iptables configuration, any hint? Thanks
[Android Apps and Games] bit2:
[MENTION=1200779]ex87[/MENTION]: thanks for both Shark and SharkReader.

Very useful apps.

Would you mind explaining the various permissions SharkReader requires?

Eg. why does it need android.permission.INTERNET, android.permission.ACCESS_NETWORK_STATE, android.permission.READ_PHONE_STATE?

Is SharkReader not "just" an pcap file reader?

If that's the case, shouldn't it have only an android.permission.READ_EXTERNAL_STORAGE permission? :-o
[Android Apps and Games] ex87:
Permissions are needed for ads provider library.
[Android Apps and Games] Sirence:
Is the apk down?

Gesendet von meinem Xperia ZL
[Android Apps and Games] IvoPereira:
Such a good project, and no more answers from 2013? :)

After using Shark for a while, I did not figured out how should I specify my passphrase when capturing traffic.

Why? Because to see encrypted traffic in Wireshark (for example) I would need to have that traffic to be captured providing the passphrase. Otherwise I will just see a bunch of random stuff.

Any ideas?
[Android Apps and Games] abhyudayasrinet:
I opened the app. Pressed start. Waited a while. Saw the file size increase. Then pressed stop. Then clicked open capture file. SharkReader opened and then it said Empty file and shut down.

What do I do now?
[Android Apps and Games] sitsky:
Juat in case this is active....

Hey, Great app!

Couple of questions, where can I find the parameter options?

Is there a way to monitor EVERYTHING?

I am looking for a specific type of information, what is exchanged between the cell and the phone as soon as you turn flight mode off,

but I don't know what protocol it is or on what port or anything, so I need to collect everything...

Doable?

Thank you,

~S
[Android Apps and Games] Elmarigo:
Hello!

As Shark for Root is using tcpdump you can use the general tcpdump options:

http://www.tcpdump.org/tcpdump_man.html
[Android Apps and Games] mwebb34:
Hey I got the shark for root app on Google play. I need to find out someone's texts on there phone will this app let me read texts even if there deleted? I have WiFi at home that's were ill be using it. I also need to know how to set up the app. Thanks
[Android Apps and Games] khawaga:
Great app but the only problem is that the pcap files opened with sharkreader aren't useful at all
[Android Apps and Games] eviltony102:
will have a try, thanks.
[Android Apps and Games] 00110:
Dead link!!!
[Android Apps and Games] Publiuss:
Yep, total 404!
[Tilt, TyTN II, MDA Vario III Android Development] tonyzoc:
After running Myns Warn Doughnut from the miniSD I can no longer delete any files or reformat the miniSD card. I've tried formating it when synced in WM6 and using Format Flash 2.85. Nothing can touch this card. It reports no errors when deleting or formating...but no files are ever removed. What's the deal? There is no "write protect" switch on a mini, right?
[Tilt, TyTN II, MDA Vario III Android Development] Vytelo:
Well, there's no switch (unless you use SD adapter and try to format from computer). Probably the best option is to use card reader and to format card from the computer.

P.S. I thought HTC TyTN II (Kaiser) supports only MicroSD, but you've mentioned MiniSD, strange :eek:
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
Make sure your micro SD card adapter which you will undoubtedly use in your card reader does not have a lock switch, i've been caught out by that before.
[Tilt, TyTN II, MDA Vario III Android Development] tonyzoc:
Sorry...microSD....(I use miniSD on my Tornado)...

I've misplaced my micro to SD adapter so I'm trying to format on the phone itself, either through ActiveSync browsing or on the phone with Flash Format. Guess I'll need to pick up an adapter. Why can't I delete any files? Maybe the card is defective?
[Tilt, TyTN II, MDA Vario III Android Development] zenity:
THe card may indeed have a problem, but a reformat using a card adaptor/card reader should fix this, had a similar problem with an older 2gb SD, reformatting sorted that out.

Running from SD does raise the risk of a bad block failure, since SD cards are really storage media, using them in the same way as an HDD makes it more likely to wear quicker than normal.
[Tilt, TyTN II, MDA Vario III Android Development] tonyzoc:
The plot thickens....

Ok...I got my Transcend SD card adapter...the microSD reports to be write protected....

I tried the following with the SD Card adapter on my MSi Wind Netbook:

Formating...it won't let me.

Booting Puppy Linux and tried GParted to blow away the partition...it wouldn't let me.

Booting into OSX and trying to detroy or format the partition with Disk Utility...no dice.

I tried another card, a 128Mb, and it worked ok...although I did have some trouble getting it to read initially.

Could have a bad SD Card adapter....

Or a defective microSD card...

I was able to format the 128Mb microSD on the phone with Flash Format with no problem.

Is it possible the 8gb microSD is write protected at a file level (actual permissions). I did try changing them in Puppy Linux.

So $40 on eBay gets me a 16gb Class 4....hmmmm

P.S. more info:

I can read the card with no problem both on the phone and the computer.

I do have Android running off the microSD.
[Tilt, TyTN II, MDA Vario III Android Development] tonyzoc:
One more comment....

The Android boot menu offers an option to "Fix Permissions". I tried that and it didn't change anything...but!

If there are permissions to fix, then the Android on the SD card must be setting permissions on the install. Maybe this is the cause of the read only status of the microSD card (?). Is there a way to remove Android from the microSD card via that menu? or is there a command line ability to change permissions of the whole microSD card recursively?

I already ordered a 16gb card and I'm going to throw the problem one away as soon as I get the new one, but I'm hoping to salvage the old one if possible....also, I don't want this same issue to happen on the new card.
[Tilt, TyTN II, MDA Vario III Android Development] zenity:
The only way I can think of is perhaps to repartition the card, that should, in theory, wipe everything.

Since you must be using a card adaptor, doe this have a write protect tab? some do, if not I'd check to see if there is an obstruction that is somehow making the card reader think that the Sd is write protected.

Regards 'fix permissions', this fixes the file permissions of a number of system files, usually only needed after installing an update. I'm not sure how this would make an SD write protected, since as far as I know it only fixes the owner and user bits of the files.
[Tilt, TyTN II, MDA Vario III Android Development] Vytelo:
I'd do like that:

Boot Linux (Live CD or installed system (if you have it)).

1. Enter command (into terminal): sudo gparted

I. Try to unmount MicroSD (not to eject)

II. Delete partition

III. Save changes

IV. Create new partition

V. Save changes

2. If gParted failed, then go to System -> Administration -> Disk utility and try to do the same steps.

3. Enter command: sudo nautilus (or another file browser).

If you still won't be able to delete data - problem definitely isn't in the permissions.

4. Maybe bad SD adapter. You should find someone who has normal card reader (sorry, I live too far from you :D) which supports reading directly from MicroSD (without SD adapter).

EDIT:

5. Some adapters and older card readers doesn't support MicroSDHC. Cards up to 2 GB are simple MicroSD and you won't have problems even with old readers.

Starting from 4 GB there's only MicroSDHC (HC stands for High Capacity) cards. This technology is newer and that's why some adapters (maybe even HTC TyTN II) might face some problems.
[Tilt, TyTN II, MDA Vario III Android Development] stepok:
RE: Card

Hi,

plug it into PC with linux open terminal (firt look to device id) and write.

$sudo mkfs fat 32/dev/sdb - SUDO(superuser do) MKFS- FORMATE !!! , format, /dev/-device which U formate.

BUT DETECT first what /dev/is sdcard.

OR do it thru GPARTED.
[Tilt, TyTN II, MDA Vario III Android Development] tonyzoc:
Write protect tab i on the adapter s not an issue. I tested it with another card and it works fine...also I can't write to or format (using Flash Format) the microSD on the phone without an adatper. Also, I tried repartitioning with GParted off a Puppy Linux boot, with DiskUtility on a Mac OSX boot, and with fdisk on a windows boot. The disk is untouchable.
[Tilt, TyTN II, MDA Vario III Android Development] tonyzoc:
I tried this with puppy linux with has gparted on it. Thought the disk is recognize (sdc1) , after I dismount it doesn't show up at all in gparted. I can't select the drive as it's not seen.

I also tried a low level format with HDDGURU Low Level Format tool. I tried deleting the partition with DiskUtility on OSX and Windows Disk Manager....no dice.

The adpater I have is the Transcend adapter that came with the card. Also, It works fine with 2 other cards I have (128mb and 2 gb) so I doubt it's the adapter.
[Tilt, TyTN II, MDA Vario III Android Development] zenity:
That pretty much confirms it then, I'm afraid the SD is no more, it has shuffled of this mortal coil, it has ceased to be, it is an ex-SD card.
[Touch Diamond, MDA Compact IV ROM Development] YamaIB:
I've tried and installed a few ROM's from this website and since today I can't seem to charge my HTC when the battery is running low.

Whenever i put it on Charge on the cable it won't show the charging icon on my phone and it doens't gain any energy.

This is what happens:

When i plug my phone to adapter the "ring" on the HTC touch diamond glows 3(!) times which means it charges it for aslong the ring glows (3 times). But after 3 glows it doens't glow anymore and which means it stops charging.

Also when the device is OFF and it stops charging after 3 times the ring glows (about 10 secs?) i can press the ON button and it charges it again for 10 seconds. The funny thing is that it also re-starts itself automatically every like .. 1-2 minutes and shuts off again.

Does anyone know why this happens? Please help

Thanks
[Touch Diamond, MDA Compact IV ROM Development] kimo_ig:
have you tried replacing the cable, cradle or even the adapter? Check their contacts or pins carefully! Maybe you got dust particles in there.

Oh, does it get charged upon connection to your computer? Are you using the same cable?
[Touch Diamond, MDA Compact IV ROM Development] YamaIB:
No it doensn't get charged when i connect it to the computer. And yes i tried several other cables and connected them to computer and adapter but still not charging.

I really don't know what to do
[Touch Diamond, MDA Compact IV ROM Development] harshang2007:
hey buddy if u r using htc diamond i m sure after changing the rom u wouldnt b able to charge from pc bcoz some cooks use a tweak which disables charging through pc...do one thing download advanced config 3.3 or 3.2 then go to power management u can find a option to enable or disable charging from pc....
[Touch Diamond, MDA Compact IV ROM Development] YamaIB:
I can't get my phone ON because the battery is out and i can't charge it because it won't let me.

What do i do?
[Touch Diamond, MDA Compact IV ROM Development] helicopter88:
When the phone is turned off put it in charge then turn on your phone,go to backlight options and there should be "When device is turned on,do not charge the battery when connected to the PC" untick this then re try
[Touch Diamond, MDA Compact IV ROM Development] YamaIB:
Yep i done that, but my phone can't get charge from anywhere. Not from USB to PC and nor from just putting it in the adapter.

I'll tell what happens:

When i plug my phone to adapter the "ring" on the HTC touch diamond glows 3(!) times which means it charges it for aslong the ring glows (3 times). But after 3 glows it doens't glow anymore and which means it stops charging.

Also when the device is OFF and it stops charging after 3 times the ring glows (about 10 secs?) i can press the ON button and it charges it again for 10 seconds. The funny thing is that it also re-starts itself automatically every like .. 1-2 minutes and shuts off again.

It's a weird problem and I'm really stuck with this and don't know what to do. I'd prefer not paying 30$ to buy another battery if that's the problem. If anyone else has advice then PLEASE give them.
[Touch Diamond, MDA Compact IV ROM Development] helicopter88:
Maybe is the cable...a normal mini-usb cable is good..and i think you could buy one of them at a cheap price
[Touch Diamond, MDA Compact IV ROM Development] YamaIB:
I've used short, long, medium cables, and I've also used different sort of adapters but nothing seems to work.

The only thing that COULD be it is either something wrong in the ROM or the battery.
[Touch Diamond, MDA Compact IV ROM Development] bong4316:
First time i heard of this.

1) It wont charge from the adapter or the pc via usb

2) The charging led shows action for a short time then stops

When the phone is OFF it should charge regardless of what modifications have been done to the operating system since the OS is not active.

Have the phone inspected especially the mini usb port, i think its not just the battery.

It could be either the mini usb port or the battery or the charging circuit in the phone needs a part to be changed.

It looks like a hardware problem.

On the flipside, wherever you get the phone inspected bring the battery with you and see if it will charge on their universal chargers.

Most cellphone techinicians have a universal charger which will charge any battery even without the cellphone it was designed for.

See if it will fully charge and then insert it into the phone.

Now if the battery did charge fully and the phone doesnt have a hardware problem, then you can conclude that its the rom.

Go back to standard official rom from HTC and observe if its behaving normally.

But im betting there is a hardware problem.
[Touch Diamond, MDA Compact IV ROM Development] jancisk:
Me either...

Sometimes i get the same problem, but i keep on trying to charge, acn then it do!!! you have to be persistent.... leave the phone pluged int AC over the night... try to remove the battery while charging... one time, it will start charging... THAT IS what happens to me... (after upgrading rom and spl)
[Touch Diamond, MDA Compact IV ROM Development] saqibyk:
Same Problem With my Orbit 2

I am having the same problem. Now my battery can be charged just with the universal portable charger. I take out my battery from Handset and plug it into Universal Charger. Actually my problem started after the uninstalling the Android Nand.

After that I tried different roms but problem is still there.
[Nexus One Q&A, Help & Troubleshooting] xoltrix2000:
Hello.

I wanted to start my N1 from scratch in terms of apps and such, so I did a factory reset, but after signing in with m google account, it started to restore my previous apps. Is there anyway to stop that from downloading the apps again?

Thanks in advance.

- Havoc
[Nexus One Q&A, Help & Troubleshooting] evilkorn:
When you first sign in, after the push the droid, there should be a few check boxes that say something about backup and restore.

You could also test out if you uninstall the applications before you wipe the phone and leave the download tab in the market (could take a day or so) your account will no longer remember those applications and not try to reinstall any of them.
[Nexus One Q&A, Help & Troubleshooting] willverduzco:
The method evilkorn describes does not always work, at least not for me.

Here is what I do, which works every time:

1. When you are first given the option to enter your google account, click skip.

2. Leave the syncing and backup options enabled if you wish, they won't affect the auto-restore for this session.

3. Once you get to your homescreen, launch Gmail and enter in your Google account information.

Now you should be good to go without any restored applications.
[Nexus One Q&A, Help & Troubleshooting] ralexand:
Settings --> privacy --> uncheck "backup..."
[Nexus One Q&A, Help & Troubleshooting] zen kun:
since im working this days pretty far from my home i arrive late to my home perhaps in my work i have my usb wire so i can use the massive storage.

the thing its the files for linux like .nomedia and so on, so i cant copy to windows and then copy again to the new SD since i dont have time to install linux at home (and maybe i dont have space lol ) so anyway to do in windows? because i buy a 8 gb SD and i need transfer all my files :s thanks =D
[Nexus One Q&A, Help & Troubleshooting] evilkorn:
Why do you need the .nomedia files? Can't you just show hidden files in windows and copy them all?

You don't even need to install linux, just grab a live cd and your good to go.
[Nexus One Q&A, Help & Troubleshooting] zen kun:
live cd indeed i have a distro iguess if not i need download... and i said .nomedia as example there is a lot of "system" files
[Nexus One Q&A, Help & Troubleshooting] jbrinkley:
you know, I'm sorry for the dumb question.

I've just selected all, copy, and pasted onto a new card.

Does this not copy everything?

sorry, nevermind, I read that wrong
[Nexus One Q&A, Help & Troubleshooting] zen kun:
could be, perhaps windows take some files and "configure" or add a extension for this files and do not a copy. for example try make a .nomedia file in windows and you have an error, so when you copy windows could not copy or rename or add a extension .

but maybe in some cases do a exact copy, not happen to me at least on w7 isnt copy all files ._.
[Hero CDMA Q&A, Help & Troubleshooting] wingzfan:
Ive tried searching for this and done everything I can find but still having issues. Im using a theme that has the standard htc lockscreen without the curved bar. Im trying to put the standard lockscreen back with the bar. I have the default file and Ive pushed it through adb but when I reboot my phone I have the same barless screen. Can anyone point me in the right direction.
[Hero CDMA Q&A, Help & Troubleshooting] urushiol:
Its been a while since I deviled into lockscreen stuff, but I think the pngs for the lockscreen bar are in the framework or com.htc.resources apk, just a sec...

yes its in the /system/framework/com.htc.resources.apk

Just open in up and go to /res/drawable-mdpi and it should be

lockscreen_arc.png, lockscreen_arcglass_bottom.png and lockscreen_arcglass_top.9.png

You could simply push the original com.htc.resources.apk but you will be losing all theming done to the resources.apk. If you want to go back to the original theme that's fine, but if you want to keep your current theme but not have a clear lockback adb pull your com.htc.resources.apk, open with 7-zip(don't unzip, just open), delete the 3 above files, then copy those three files from the original resources and adb push it back.

Or pull and upload the com.htc.resources.apk from your rom, let me know what rom your using and I'll make you a flashable zip to keep your current theme minus the clearness. cheers
[Hero CDMA Q&A, Help & Troubleshooting] wingzfan:
Awesome, thank you. Ive tried finding this on my own all day and finally got it. Actually able to take a lockscreen from another rom and use the on eI like. Thanks alot.
[Hero, G2 Touch General] TheGhostInside:
Am i right in saying Tmobile confirmed the part 2 update would be middle of the month?? was their any solid confirmation on that??
[Hero, G2 Touch General] Andyt95:
Yes thay did. Don't bother f***ing around with them, root your phone while you have the chance. I lost my chance, regretting it so much.
[Hero, G2 Touch General] TheGhostInside:
It looks a little beyond my capability... not at all experienced in any of it