yashsingh1/xdaforums huggingface dataset:
[HD2 Android Themes and Apps] Ryan79:
Might I suggest posting the HTC ADB drivers as well... as things like Droid Explorer & similar won't work unless you have the drivers installed. :p (also, you need Debugging Mode enabled)
[HD2 Android Themes and Apps] overshadowss:
welcome ...soon I ll update the thread for useful applications also.
[HD2 Android Themes and Apps] overshadowss:
\

right ! updated :)
[XPERIA X10 Q&A, Help & Troubleshooting] writeable:
Hi!

Is it possible to stream the camera signal via wifi (wlan)?

I want to use the camera pluged in the X10 for built a model train from märklin with camera support.

thx

markus
[XPERIA X10 Q&A, Help & Troubleshooting] creage:
http://www.dev47apps.com/

http://www.placaware.com/
[myTouch 3G, Magic General] JohnnyP.akaJP:
Im thinking of getting 3g. Is there a 10gb cap? How fast is tmo edge? Ty. I want to tether
[myTouch 3G, Magic General] DonJuan692006:
By 10 Gb cap are you talking about T-Mobile bottlenecking your phone's bandwidth after hitting 10 Gb of usage in a month? Yes, from what I've read that exists, but I've never ran into it and I think it's lower than that (around 2 Gb). T-Mobile Edge sucks, but if your in an area with HSPA+ (they're version of 4G) you should be alright. I think I get around 2 Mbps down/800 Kbps up.
[myTouch 3G, Magic General] moneymike55:
Its actually a 5gb cap for t-mobile as of mid-October. It was 10gb but most people don't know about either of these numbers because the plans were sold explicitly as "unlimited", and technically they are because they don't actually cut you off and charge per mb after the 5gb cap like Att. They just "throttle" your speeds for the rest of the billing period from 3g (2mb) to edge (56k), which can be found in small print at the end of the terms of service booklet that comes with the phone (after you pay for it- cs reps DO NOT disclose this while selling you an "unlimited" plan).

You will know if you're throttled if you get a text from T-mo saying you've exceeded the cap, which has happened to me for the last 2 months. Luckily, the techs at T-Mobile are retarded and you can get around this by either replacing the throttle files in your rom.zip or by using an alternate apn. Search for "how to defeat data throttling" on xda and there's a complete guide on how to do both of these in the thread. I have heard that 4g phones wont get capped though, so you might want to look into that before buying a 3g. Speeds on 3g are decent though and I use both pdanet and wireless tethering to connect to my laptop on a daily basis. USB is faster, but I average around 1.7mb download and 1.2 up. Your location and distance from cell towers will be the biggest determining factor on speed.
[myTouch 3G, Magic General] JohnnyP.akaJP:
Thank you for your time mike. And for the long descriptive info. May I ask what keyboard you use. I must say, i admire your flawless spelling.
[myTouch 3G, Magic General] JohnnyP.akaJP:
I live approx 8miles from the nearest hspa tower. In los angeles all the city near the real downtown have fast 3g rate.. whqt do you think the most u can use before tmo slows u? I am a heavy user, about 18gig a month. Btw if u are 5gig capped, and say u used 4.5gig and switch apn, it reset to 0?

btw 4g as in the g2 and mytouch.4g?
[myTouch 3G, Magic General] DonJuan692006:
T-Mobile's 4G. Dunno about the G2, but yes to the myTouch 4G.
[myTouch 3G, Magic General] moneymike55:
Haha thanks its just the keyboard that came with the latest cyanogen nightly, but it is slightly different than the keyboard from 6.1 rc1 and seems to be more responsive. I don't think it matters if you switch the apn before or after 5gb because they don't throttle the internet2 apn for some reason. I go over 15gb/month too because of tethering so i just use the alternate internet2 apn while throttled and switch back to epc.tmobile when the new billing cycle starts. Deleting the 7 throttle files is a more permanent fix but I hate dealing with adb and fastboot. And ya I meant the new mytouch and I'm pretty sure the g2 which are t-mobile's only "4g" phones atm. I really want to switch from my mytouch 3g to a 4g phone too but when i got this phone it was one of two t-mo androids at the time (ironically the g1 and mytouch 3g) and a month later they came out with like 10 more so I'm gonna wait for my upgrade cuz I know they're gonna pull the same BS with 4g after they get all the ppl with money burning a hole in their pockets to spring for the new mytouch and g2. If you're getting a new plan tho I would take a close look at their specs compared to the nexus s, I'll bet they don't come close. I live in central Cali btw, how do you check where the nearest tower is? Speedtest.net runs off a Modesto tower which is 45 mins away, I'm hoping my 3g tower is closer than that.
[myTouch 3G, Magic General] JohnnyP.akaJP:
On tmo website. There is a coverage map u can check on.
[myTouch 3G, Magic General] Binary100100:
I didn't even know about this. Anyone able to verify this 100% yet?

BTW, I added the hypertext for the guide that I'm assuming that you are referring to.
[myTouch 3G, Magic General] JohnnyP.akaJP:
I was thinking of changing. My stupid verizon, in my area is charging me DOUBLE. I pay 40$ for verizon (internet+phone home) but they are charging me an EXTRA 20$. Which is BULL. So, im at a Pay or QUIT, and I QUIT.Screw that if your going to charge me 40 bucks, i might as well get 3G/4G. I will try to verify, let me reactivate my data plan..I will post back. Feel free to discuss
[myTouch 3G, Magic General] moneymike55:
Thanks for posting the link, I know that the alternate apn works and there are a few dozen ppl that have tested and confirmed that the other process works, with the only common issue being force closes on the networks setting menu. I have gone through the first steps of finding the 7 throttle files in the rom zip and changing them through adb using smali and the concept makes sense, but you have to delete these files for each rom install and Im currently testing the stability of the latest cm nightly build compared to 6.1 rc1 so I didn't want to finish until I decided on a rom. I believe there are a few ppl on that thread that have been compiling update.zip files that can be applied to any rom using recovery, but I tried one and got a bootloop so had to use nandroid. No throttle definitely makes 3g more bearable but to answer the question in the op, edge and 3g speeds suck compared to 4g and if you like the g2 or mytouch 4g I would buy one cuz there's no point getting stuck paying the same price for slower speeds for the next two years. The only thing holding me back is my contract, and $200 is looking more worth it every time I see 3g vs 4g speedtest posts.
[myTouch 3G, Magic General] Binary100100:
So if the throttle files make sense then so should this? Very simple actually:

Make a nandroid backup at the beginning of the billing period.

Use up your 5gb limit.

Restore your nandroid backup and see if you are still being throttled.

If so... doesn't work. If not... then there might be something to it. ;)
[myTouch 3G, Magic General] JohnnyP.akaJP:
Uh binary. Was Xda taken out of tapatalk for a few days? Couldnt access on phone. But curous what is a nandroid? I see it in my clockwork. But. Never did one. Explain to a Noob xD
[myTouch 3G, Magic General] Binary100100:
I dunno about tapatalk. I haven't heard anything about it. However there is a member that has been posting his QUESTIONS in the Development section almost on a daily basis that I have to keep moving and at the bottom of all of his posts have the typical "Sent from..." on it. So maybe it was just yours?

Nandroid = Clockwork backup:

A complete backup of essential data and rom components.

It consists of the following:

[*]BOOT.IMG

[*]CACHE.IMG

[*]DATA.IMG

[*]SYSTEM.IMG

[*]RECOVERY.IMG

[*]SD-EXT.IMG

[*].ANDROID_SECURE.IMG

[*]MISC.IMG

These files can be restored by using the same tool to produce the backup. (ie Clockwork backups are restored by Clockwork Recovery, Nandroid.sh script can be restored by the nandroid.sh script recovery commands.)

There all pretty much the same. Nandroid and BART scripts aren't commonly used since Clockwork came around but all pretty much do the same thing. Since Clockwork is constantly updated it is the most recommended method of producing a backup of your phones current state.

Also worth noting that with some these backups they can also be restored by fastboot. Fastboot flash userdata data.img, Fastboot flash system system.img, Fastboot flash boot boot.img, Fastboot flash recovery recovery.img, Fastboot flash cache cache.img. Not certain about the SD-ext.img and .andoid_secure.img though.

So in my previously mentioned suggestion if the throttle files are the only cause of being throttled after exceeding the 5gb limit then the fix is simple. Restore the system.img which contains the framework's services.jar file. But I'm very skeptical that this would even work because I'm pretty skeptical that the method in the guide is effective. Hell... to make it even easier what's to stop you from exceeding your 5gb limit and simply putting your sim in another phone and using the data from that device? :confused: I think T-Mobile is smarter than that... aren't they? Using a different APN perhaps... but not editing the serivce.jar file. That's just my theory anyway.

If you want my opinion, I think that the provider (T-Mobile) throttles it on their end... not by ours. Broadband providers (Comcast, AT&T Broadband, Roadrunner, etc) don't throttle your bandwidth by replacing the drivers on your computers network card. It's all on their end.
[myTouch 3G, Magic General] JohnnyP.akaJP:
I have a hypothesis, built on what binaey said.. I think that every sim card has a unique tracking code. So on 3g. When you request data, it will use your unique id. They save the info on their logs, and disable you when u hit 5gigs. Nevertheless, i will still try.
[myTouch 3G, Magic General] JohnnyP.akaJP:
Oh and the switching apn ideas seems pretty concrete.
[myTouch 3G, Magic General] DonJuan692006:
That's what SIM's do. http://en.wikipedia.org/wiki/Subscriber_Identity_Module
[myTouch 3G, Magic General] moneymike55:
N

You're right, the throttle files are activated OTA by t-mobile once you reach the cap. These files are built into the rom and, once activated, constantly bottleneck data speeds from your registered account, meaning that switching phones or loading a backup from the beginning of the month wont work because the data usage is stored on t-mo servers and your rom will still contain the files they need to automatically throttle you. The key to all of this is cost effectiveness through automation. You would think the techs at T-Mobile would be aware of the fact that simply deleting the files and replacing them to essentially trick the phone is possible, and I'm sure they are. The problem is that it would be a lot more expensive to pay employees to manually update individual users accounts and maintain them for the entire throttle cycle. T-mobile's system is undoubtedly flawed, but (beside the fact that only MAYBE a few hundred thousand ppl of their millions of customers know about it, and theyre making up for it from the ppl who manually updated and are actually paying $15 to tether) it has already been worked into all their phones and would require either new infrastructure and manpower to fix, or the cancellation of developer's data plans altogether for violating TOS. The mod has been thoroughly tested with all positive results though, and the entire time we've been discussing this I have been "throttled" at 2.0mb lol. I didn't bother with the mod because the internet2 apn has been working great. Incidentally, after the throttle was deactivated mid-morning yesterday my speeds jumped from ~2.0 to 3.2 consistently for 6 tests under internet2 apn, and ~2.5 top on epc.tmobile apn. Along with the fact that a t-mo rep on their forums said that all employees use internet2 and that is also what cs reccommends to customers with bad service before they cancel their contracts, I am starting to come to the conclusion that the alternate apn is a solution to several issues including throttle and overall connection speed.

And by the way JP, nandroid is one of the most important things you can do when modding your device. It essentially creates a backup of the current state of your device so that if you ever get stuck in a boot-loop or black screen, you can boot to recovery and reinstall the backup. It only takes 5mins to make through recovery or rom manager,and is very valuable to have just in case (saved me from a bricked device 2 weeks ago...after staying up all night trying to figure out what buttons to push to boot to recovery without the internet :)

EDIT: tested both apns again using speedtest.net app and went from 2100kbps consistently on epc.tmobile to 1650kbps avg on internet2 so I could be wrong about the speed improvement. Sent from my HTC Magic using XDA App
[myTouch 3G, Magic General] moneymike55:
Update: Alternate apn fix no longer works as of this month. Have fun answering the phone tmobile cuz ppl r really going to complain now.
[Desire Q&A, Help & Troubleshooting] mercianary:
Edit: summary of what ive tried and failed with.

Wipe all userdata from cwm and amon recovery ... no effect.

erase_image from cwm ... no effect.

fastboot erase ... no effect.

fastboot erase -w ... no effect.

RUU ... no effect.

cat zero to mtd ... no effect.

dd zero to mtd ... no effect.

flash_image (image edited with hex editor to contain only zero's) ... no effect.

fastboot oem task 28 ... no effect.

fastboot oem task 29 ... no effect.

fastboot flash hboot (different partition tables) ... no effect.

I'm out of ideas.

Original post:

Even after clearing all userdata from recovery and erasing userdata from fastboot i am missing over 100mb from /data, but there are no files there taking up the space.

How can i reclaim this space, is it corrupted??? How do i check for (and fix) a corrupt filesystem on android?

I'm thinking of flashing a new HBOOT, oxygen table, but if it's corrupt will it screw it up or fix it?

Below was done from recovery and fastboot and shows the problem, look at how much space is in use on data after wipe.:confused:

mercianary@mercianary-laptop:~$ sudo su
root@mercianary-laptop:/home/mercianary# adb shell
/ # mount -a
mount: mounting /dev/block/mmcblk0p2 on /sd-ext failed: No such file or directory
/ # df -hm
Filesystem Size Used Available Use% Mounted on
tmpfs 203.2M 0 203.2M 0% /dev
/dev/block/mtdblock4 95.0M 1.1M 93.9M 1% /cache
/dev/block/mtdblock3 145.0M 132.6M 12.4M 91% /system
/dev/block/mtdblock5 197.6M 187.5M 10.2M 95% /data
/dev/block/mmcblk0p1 3.7G 3.4G 302.9M 92% /sdcard
[B]/ # #wipe all userdata from recovery (amonra 2.0.0)[/B]
/ # mount -a
mount: mounting /dev/block/mmcblk0p2 on /sd-ext failed: No such file or directory
/ # df -hm
Filesystem Size Used Available Use% Mounted on
tmpfs 203.2M 0 203.2M 0% /dev
/dev/block/mtdblock3 145.0M 132.6M 12.4M 91% /system
/dev/block/mtdblock4 95.0M 1.2M 93.8M 1% /cache
[B]/dev/block/mtdblock5 197.6M 113.3M 84.4M 57% /data[/B]
/dev/block/mmcblk0p1 3.7G 3.3G 378.5M 90% /sdcard
/ # reboot bootloader
[B]root@mercianary-laptop:/home/mercianary# fastboot erase userdata
erasing 'userdata'... OKAY[/B]
root@mercianary-laptop:/home/mercianary# #into recovery again
root@mercianary-laptop:/home/mercianary# adb shell
/ # mount -a
mount: mounting /dev/block/mmcblk0p2 on /sd-ext failed: No such file or directory
/ # df -hm
Filesystem Size Used Available Use% Mounted on
tmpfs 203.2M 0 203.2M 0% /dev
/dev/block/mtdblock4 95.0M 1.2M 93.8M 1% /cache
/dev/block/mtdblock3 145.0M 132.6M 12.4M 91% /system
[B]/dev/block/mtdblock5 197.6M 113.3M 84.4M 57% /data[/B]
/dev/block/mmcblk0p1 3.7G 3.3G 378.5M 90% /sdcard
/ # ls /data
lost+found
/ # du /data
2	/data/lost+found
4	/data

I'm using

CM7

amonra recovery 2.0.0

N1 Boot table

Any help troubleshooting this would be great, thanks.
[Desire Q&A, Help & Troubleshooting] AndroHero:
did you wipe the /data/ partition in mounts & storage in recovery? try that if not, also try flashing a stock ruu, it will revert and changes made to the MTD Partitions :)
[Desire Q&A, Help & Troubleshooting] mercianary:
that was the first thing i tried, no luck. it erased fine but space was still missing:(

I dont particularly want to flash a RUU or another HBOOT untill i know what's wrong because if there's 100mb of bad nand on my phone i can imagine flashing a RUU or HBOOT going very wrong and leaving me with a very pretty paperweight.
[Desire Q&A, Help & Troubleshooting] mercianary:
I tried flashing some different hboots, problem still there, it just moves round a bit....

on the original boot table the space is missing on system and data..about 10mb or 20mb on system, the rest on data.

on oxygen and n1 boot table its just missing on data.

I cant seem to reclaim this space:(

anyone know how to check the disk for errors?
[Desire Q&A, Help & Troubleshooting] AndroHero:
thats bad news, sounds like you may have some corrupt blocks :(
[Desire Q&A, Help & Troubleshooting] mercianary:
just a few, only 897 of them :eek: the phone is still working, so i suppose i'm kinda lucky.

I think i may have screwed it up a few weeks ago when i was messing around with cat, dd, fastboot and flash_image. I remember when i finished messing around i tried to restore my nand backup back on it but it failed, looking back it must have been because it didnt fit anymore due to the bad blocks. This must have been when the corruption occured.

Is it normal to have this many bad blocks? i've never seen more than a few, i'm hoping they aren't actually bad and it just thinks they are because of something stupid i did, is there anything i can do to remove the bad block flag (if there is one???) and then try again?

/sdcard/badblock # flash_image userdata mtd5.img
mtd: MEMGETBADBLOCK returned 1 at 0x00000000 (errno=0)
mtd: MEMGETBADBLOCK returned 1 at 0x00020000 (errno=0)
mtd: MEMGETBADBLOCK returned 1 at 0x00040000 (errno=0)
mtd: MEMGETBADBLOCK returned 1 at 0x00060000 (errno=0)
mtd: MEMGETBADBLOCK returned 1 at 0x00080000 (errno=0)
mtd: not writing bad block at 0x00000000
mtd: not writing bad block at 0x00020000
mtd: not writing bad block at 0x00040000
...
edited because it put the post over the 30,000 character limit!
...
mtd: not writing bad block at 0x0c520000
mtd: not writing bad block at 0x0c540000
mtd: not writing bad block at 0x0c560000
mtd: not writing bad block at 0x0c580000
error writing userdata: No space left on device
/sdcard/badblock #
[Desire Q&A, Help & Troubleshooting] th3:
That's way too high. NAND blocks usually fail at once and in the same area but not that many at once unless it be software error or a major stressor placed on them. It may be faulty bad block management defuncting those cells. If you could somehow find a way to Secure Erase the NAND, it could help. NAND cells sometimes work fine after this and cell state becomes reset so all those marked bad will be recycled back in use to test. The reason why they can sometimes spring back to perfect retention after a SE is academically quite known.

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

- Sent via HTC Desire -
[Desire Q&A, Help & Troubleshooting] mariosraptor:
I guess that you should use an RUU as it should format nand. If it does not the update wikl fail which mesns that your bad block could never be recoverd. Keep in mind to use RUU and not a PB.img i believe it is safer as long as it comed to bricking the phone. I know that some pvt 1 boards had some bad blocks on nands but never so muny( if it is a pvt1) . Regards

Sent from my LeeDroided Desire HD:-)
[Desire Q&A, Help & Troubleshooting] mercianary:
I decided to flash a ruu, that was scary, it failed the first time writing /system but successfully recovered itself and worked on the second attempt.:D

Available space on /data after RUU, 58.44MB not good:(

looks loke it didnt work, time to re root and get apps2sd, data2sd and the n1 boot table, lets see how i get on with 110MB missing from data, at least it will be fun;)
[Desire Q&A, Help & Troubleshooting] mariosraptor:
mate now that you used the RUU, why don't you return it to HTC for repairs? tell them that it happened whileattempting to update.
[Desire Q&A, Help & Troubleshooting] mercianary:
That's what I was planning to do but I decided against it for several reasons.

I'm not feeling lucky, I dont think I will get away with it this time.

With the nature of the problem I can imagine whoever gets their hands on it at HTC will look into what's happened and discover my warranty's void...paranoid I know.

It doesn't help that there is no RUU for orange UK branded desires, I have to use a dodgy method to unroot (restoring an old backup, removing superuser and su then updating OTA.)

I'm happy with the way it is at the moment, who knows, I might drop it under my car at some point in the near future;)
[Desire Q&A, Help & Troubleshooting] mercianary:
anyone know anything about performing a low level format or clearing the bad block map so i can start a fresh???

PS...turns out the stock orange rom doesn't even fit on /system because its missing 10MB of space...damn you orange bloatware...damn you to hell!!!

PPS...Bump.
[Desire Q&A, Help & Troubleshooting] Meaple:
Get in contact with a dev. I am sure they will help you out to access and do a secure wipe on your memory. Way beyond me for sure :P
[HD2 Android Q&A, Help & Troubleshooting and Genera] stoolzo:
Hi, I know this must have been talked about before as there is plenty of noise about this in google searches but nothing came up on here when i searched.

I am using MDJGinerbread 1.5 NAND and even though I have ticked the boxes to delete the mail from the server they keep coming down even if I mark them as read. I am pretty sure this doesnt happen with the HTC client. (hotmail & virginmedia)

Is there a fix for this or do I have to find another client?
[Desire Q&A, Help & Troubleshooting] Dabbsy:
I'm getting this on my debranded/rooted desire whenever I try to flash back to stock. I used to be able to do it but recently it's started saying this, any idea why?

Thanks
[Desire Q&A, Help & Troubleshooting] EddyOS:
What ROM are you flashing?
[Desire Q&A, Help & Troubleshooting] Dabbsy:
I'm trying to flash back to the latest RUU 2.29.405.5.
[Desire Q&A, Help & Troubleshooting] EddyOS:
CID error means you'll need a gold card
[Desire Q&A, Help & Troubleshooting] Dabbsy:
I think I used a goldcard to debrand ages ago but I can't remember how to do it, is it easy?
[Desire Q&A, Help & Troubleshooting] EddyOS:
http://android.modaco.com/content/software/308798/pc-application-goldcardtool/

Give that a bash, you may need to register to get the attachment. Your gold card will be needed for ALL updates back to stock so make your day to day card the gold card and leave it in the phone
[Desire Q&A, Help & Troubleshooting] Dabbsy:
Sorted thanks mate! Is it worth making a nandroid backup if things go wrong again?
[Desire Q&A, Help & Troubleshooting] EddyOS:
Yes but it will only go back to the rooted ROM. Keep the RUU safe and you can go back to stock if you need to (would've been best to have the actual original RUU for your phone for warranty purposes but meh)
[Desire Q&A, Help & Troubleshooting] Dabbsy:
My phone was o2 branded i'm sure there's an RUU about somewhere! :p
[Desire Q&A, Help & Troubleshooting] EddyOS:
Here, to be exact:

http://shipped-roms.com/download.ph...00.32U_5.09.05.30_2_release_144166_signed.exe
[Android Apps and Games] pmaicas:
Hello friends.

I have developed an application, his name is "Tap Tap App", is in the market, it's free.

This application allows you to lock and unlock the screen without touching the power button.

It uses the proximity sensor to unlock and lock the screen.

You can also use a widget or an icon in the status bar.

You can see how it works, seeking to "tap tap app for HD desire" on youtube. The program works well in other phones (nexus, desire, wildfire, ..), but it requires Android 2.2

My poor English will not let me explain it better. Sorry.

Greetings :)

-Pedro-
[Android Apps and Games] FoCMB:
nice idea. is it possible to develop this app for android 2.1?