yashsingh1/xdaforums huggingface dataset:
[Droid Incredible General] soyymilk:
i'm assuming that anything that can work in linux but isn't supported by default would have to have a custom compiled kernel with those drivers included right?

i'm very interested in this, i've been trying to find some way to enable rs232-usb communication on a droid device and im pretty sure the ftdi based ones work with linux :)
[Droid Incredible General] fuzzynco:
Using a USB Keyboard?

what does one have to do to use an HID device with Incredible?

From the HTC support forum, it appears the device has the correct type port

and the hardware support. Would I need special support in the kernal?

I was told Android's std kernal had support for USB-OTG (both device

and Host mode port use).

http://community.htc.com/na/htc-forums/android/f/91/t/2122.aspx

My problem is that the soft keyboards are too small for my fingers

and Incredible doesn't come with a stylus.

Thanks
[Droid Incredible General] fuzzynco:
<Deleted> 1234567890
[Droid Incredible General] Slick1123:
I don't believe the stock kernel for the Incredible supports USB host mode or USB OTG. Somebody please correct me if I'm wrong!
[Droid Incredible General] inkednpierced:
usb host mode

I dont know if any of you have seen this, but it looks like there is a kernel with ehci usb support for the DInc. Havent had a chance to try it out yet.

w w w.cs.fsu.edu/~baker/devices/projects/framik/BEAT.html
[Droid Incredible General] Slick1123:
Thanks for the heads-up! I've emailed the guy who put his name in the patches; I'll post back when I hear back from him.

The patches are against kernel 2.6.29. If I get time, I'll see if I can get them working against 2.6.32.
[Droid Incredible General] luvit:
Good good, while they are at it, can they add all the bluetooth patches too?

These should work on stock rom, yes?
[Droid Incredible General] 1Satoshi:
QSD/MSM

[based on the fact that droid incredible has a qsd8650 processor and the new mytouch4g/HTCGlacier has a qsd8255 processor]

is it possible to install this on the new mytouch 4g? or do the qsd's have nothing in common????
[Droid Incredible General] TheSlyWolf:
just wondering if there has been any further progress with this? I would love to see this working as I'm currently about to jump ship from my touch pro 2 to the incredible.
[Droid Incredible General] falkien:
Could the addition of this to our phones lead to this?

http://www.engadget.com/2011/01/13/centrafuse-leads-to-iphone-control-via-touchscreen-carputer-dre/
[Droid Incredible General] aka_butters:
I'm interested in this project too, so if there's anyone still working on it, I'd be happy to help. I have some kernel development experience and I have a DInc running MIUI.
[Droid Incredible General] daftlush:
Is this gonna be possible with the new APIs in ICS?

--

Sent from my Android phone. Please excuse my brevity/typos.
[Droid Incredible General] neutral16:
Alright guys. I have been working independently of this thread to get USB host working on my incredible. I currently am in the exact same situation everyone else seems to be in. That is, usbhid, usbcore and ehci-hcd modules are loaded, but nothing works. I have my kernel compiled against the latest CM7 git tree (2.6.37.6). I used the patch from this site: BEAT: Bio-Environmental Android Tracking. I applied it against the CM7 kernel tree, and worked around the compile issues I came across mostly by commenting out offending code. Here is the patch against the CM7 android-msm-2.6.37 branch:

incredible-usb-host-2.6.37.patch

Patch the kernel with patch -p1 < incredible-usb-host-2.6.37.patch

Run make incredible_usb_host_defconfig

Run make ARCH=arm CROSS_COMPILE=<path_to_your_cross_compiler> zImage

This particular kernel has the usb-related stuff compiled in, so no modules should be necessary. I used invisiblek's kernel zip to install the image. Just grab it from his site, unzip the archive, replace the zImage with your compiled one (found in arch/arm/boot/zImage), and re-zip it up. Flash the resulting zip using clockwork recovery. I've found this to be the easiest method.

I've only tested the kernel against CM7 nightly #90, but I'm sure it will work with CM7 release as well.

Anyone have any ideas on how to proceed to get our phones to play nicely with these USB devices?
[Droid Incredible General] neutral16:
Trying another route, I downgraded my incredible to stock 2.1 (rooted), and grabbed the usbhost-modules.tgz file from the BEAT project. They provide an update.zip that includes both their zImage and modules. I flashed it, rebooted, and attempted to load their usb drivers. usbcore.ko loaded fine, but ehci-hcd.ko fails. dmesg says that the driver "msm_hsusb" is already registered, so ehci-hcd can't load. For fun, I loaded the usbhid.ko driver as well, and that succeeded, but needless to say my hub/keyboard don't work. So I then grabbed the official source from HTC's site, patched it with the patch the BEAT project provided, compiled with the config they provided, and loaded the kernel/modules onto my phone. Again, same exact issue. I don't understand what would make their setup work but not mine. Anyone have any ideas?
[Droid Incredible General] user_error:
Largely a bump I guess.

I am running cm7 experimental 90 with chad's 04192011 kernel and am tossing together the hardware needed for testing. I have zero interest in anything sense.

I have no experience with building kernels as of yet, though OTG is something that is worth learning it for.

Same controller as the nexus one, sven seems to think it can/does work.. I just hope we can get it going.

I guess at this point if you post what you've got so far I'll try to work *learn* my way into being of some help here.

Edit:

I am going to do my reading and come back, so maybe this is completely invalid - but the only difference I can come up with between the nexus one and the inc, is the 6gigs of internal space. I need to do some looking around, but my guess *read as, wild-shoot into the dark about something I know not of* is that it runs of the same controller as USB. Could there be a conflict caused by that difference that has not been resolved yet?
[Droid Incredible General] pk2018:
Mark +1
[Droid Incredible General] erekdroid:
has anyone gotten a USB hub to work on the incredible, yet? was looking to use a usb keyboard/mouse and video output over usb
[Droid Incredible General] wulfe:
Add me to the list of hopefuls. My DInc is still my only phone, so I don't think I can help test, unless there's no wiping between test and restore.

And I know I can't test from raw code, I have no idea exactly how to build and package it.

Where can I find the right cable?

If you guys get this running, it would be amazing! (Hoping to use it with DSLR Controller)
[Droid Incredible General] NoteGarner2020:
I also bought the cable for DSLR controller for my Incredible S. But no luck so far. Did you got it working or any pointer.
[Click General] em0hawk:
Hello All,

Does anyone know of a way for me to get internet/network access on my phone through usb to my pc?

This is possible on windows mobile with active sync. I want to use it like this in a couple of weeks when I go to a LAN party. I want to use an IRC chat program on my phone but won't have access to WIFI.

Whenever I search for this all I find is USB tethering to give my pc access to the phones data connection. I want it the other way around.

It's driving me nuts that I can't find such a simple feature that's been around for so long with windows mobile.
[Click General] Grunfi:
when you connect usb cable Tattoo ask you what to do, you need to choose third option: "Mobile network sharing". If you earlier set default action, go in settings>Conect to PC - here you check option "Ask me"....

all done... :)
[Click General] em0hawk:
That's the opposite way around. That to use the phone as a modem for the pc.

I want to use the PC's internet connection to browse on the phone.

Also don't get that option with custom froyo rom.

I could also use bluetooth PAN if could work out how to get that working.
[Click General] Grunfi:
this question I understand opposite, sorry...
[Click General] thacen:
Same question I asked earlier but get no answer. But there is way using Wifi, if you have wifi on you PC or Laptop. I am using Connectify running on my laptop but this s/w need Windows 7 os.
[Click General] Pondo78:
What if tattoo no more asking me which type of usb connection to use even if under the options "always ask for the connection" is flagged?

Thank you if you can help me...
[Vibrant General] lvl1nerd:
Hello all,

New here. Yesterday I made the mistake of trying out the lagfix thingy and bricked my phone. But managed to reflash back to stock and clockwork thanks to justanothercrowd on this forum.

After I did a reset/reflash - everything seems to work fine excepted that my phone no longer detects networks - even though it says T-Mobile, I can't make any call or have any 3G or EDGE network. So if anyone has any idea or point me to similar thread I'd greatly appreciated (yes, I've already done a few searches).

My phone: T-Mobile Samsung Vibrant - Stock ROM, Rooted, Clockwork

If you need more detail please let me know, thanks a bunch for any help
[Vibrant General] dq13:
as far as I know, once the netwrk is detected, your APN settings should be added automaticaly and data should work... did you try to see if the APN settings are there and they are right?
[Vibrant General] lvl1nerd:
Thanks for the reply. Yeah, I even manually go network Operators to select t-mobile, reboot, wiped the phone again just to be sure. It's still can't detect it.

Maybe I'm missing some sorts of package when I did a clean reflash back to the stock ROM?
[Vibrant General] dq13:
go to Settings --> Wireless and Network --> Mobile Networks --> Access Point Names and see if t-mobile is in there, and if it is, make sure the fields are correct (APN, MMSC, MCC, etc) and if T-Mobobile is not there, add it manually, see if that helps
[Vibrant General] lvl1nerd:
You're right, the APN is empty... I guess I was just checking mobile networks. Can you post the settings? Otherwise I can go hunt around for one.

Thanks a bunch for your help!

Edit: I got it working! Thanks a lot! If anyone else needs the settings:

Name:T-Mobile

APN:epc.tmobile.com

MMSC: http://mms.msg.eng.t-mobile.com/mms/wapenc

MCC:310

MNC:260

APN Type:Internet + MMS
[Vibrant General] dq13:
glad you got it working... for other people wanting to add manualy, once you get to Access Point Names, click menu, New, and name it T-Mobile, on APN put epc.tmobile.com and leave everything else empty.... reboot the phone and the network will automaticaly fill the rest of the fields
[HD2 Android Q&A, Help & Troubleshooting and Genera] ams84:
Hi

I'm just trying to past som applications into system/apps folder... but it is impossible to do :confused:

i'm using shubCRAFT 1.2b

file manager i've used: Astro and File Manager (Adao Team)

any idea??
[HD2 Android Q&A, Help & Troubleshooting and Genera] poggiami:
U need "Root Explorer"
[HD2 Android Q&A, Help & Troubleshooting and Genera] mxb5683:
thank you!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] dusdus:
Or droid explorer, or basic knowlwdge of linux and the terminal emulator
[HD2 Android Q&A, Help & Troubleshooting and Genera] zipper9:
still failing to copy files

Hi,

im trying all of the suggested aboe and still failing to copy a file to the system/library/modules folder

any help?

i think it's a permission issue, my device IS rooted and i CAN copy files to the other SD folders
[HD2 Android Q&A, Help & Troubleshooting and Genera] chrisrj28:
If you are using an app like root explorer or even es file explorer with root options enabled you have to make sure your system is mounted R/W before you can make changes.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Red_Bucket:
How do you mount the system as R/W ?

Thanks !
[HD2 Android Q&A, Help & Troubleshooting and Genera] wozhere:
Where Root Explorer and my old fave Total Commander failed, this works:

http://play.google.com/store/apps/details?id=com.dota.easyfilemanager
[Galaxy S I9000 Android Development] BobbyTee:
Now I have no network connection.

I can make calls, receive calls but I cannot do anything that requires data.

Under my phone status I see

Mobile Network State

Disconnected

I have tried factory resetting, battery pulls, reflashing original firmware... I am at my wits end. Anything ANYTHING to try would be awesome.

Like is there a way to force the connection back on??
[Galaxy S I9000 Android Development] AllGamer:
go into settings, open APN, and add your phone login information to use internet
[Galaxy S I9000 Android Development] BobbyTee:
I am an idiot. Sorry:

For anyone else on Bell, here are the settings:

Name: Bell Internet

APN: pda.bell.ca

Proxy: web.wireless.bell.ca

Port: 80

MMSC: http://mms.bell.ca/mms/wapenc

MMS proxy: web.wireless.bell.ca

MMS port: 80

MCC: 302

MNC: 610

APN type: Internet + mms

Authentication Type: none
[Galaxy S I9000 Android Development] Uss_Defiant:
can you mention how you got to open APN? I dont think i have that setting

Edit: your not the only idiot.. its under "wireless and network"-> mobile networks -> access point names
[Galaxy S I9000 Android Development] Croak:
For better connection speeds, you might want to experiment with:

pda2.bell.ca (what iPhones are set to, I always see better speeds on this)

inet.bell.ca (which is the default APN on the Vibrant, and probably the least used across the network at the moment, speeds just a bit lower than pda2 in general, too close to call)

Then again, pda.bell.ca is reported to have problems tracking all your data usage, in your favour.
[HD2 General] .BetaBoy:
So i am looking to buy an HD2 this weekend from craigslist because im almost positive that T-Mobile wont give me a good deal even though ive been with them for 8 years..

So Ive came down to two choices.

1. Used, Good Condition 9/10 with everything incl. box - 300$

(Pictures attached)

2. Brand New In Box, Never Opened, Never used - 300$

(Haven't received pictures because the seller is out of town on family emergency and wont be back until Friday.)

What would you buy as of now?

I'm not gonna buy any of these until the weekend so should i just wait till friday and get pictured of the BNIB HD 2, if its good then meet up and see? and tell the first person no and lose the deal?

The reason im asking is because i told the seller of "1." that i would give him an answer today (9/11/10).. so my choice comes down too,

1. Lose a deal on a NEW one and take a chance with a used one.

2. Lose a deal on a USED one and take a chance with a new one.
[HD2 General] ddgarcia05:
The new one.

Local price around here is about 250.
[HD2 General] sirphunkee:
+1...you'll find other good deals soon enough if the BNIB seller falls through, so I'd skip the used one for $300 definitely.
[HD2 General] freeincolorado:
I too would buy the new unit. Hd2's go for around $250 used around here.

Edit: Have you tried talking to a loyalty/retention rep? I have twice talked them into giving me a full upgrade discount when I wasn't due one. I even got them to overnight my hd2 with no upgrade or shipping fees.
[HD2 General] .BetaBoy:
So guys, i decidede to call t-mobile for the hell of it. they ended up giving me a full upgrade discount! so im getting the phone tomorrow morning at the t mobile store for 149.95$. :) talk about a deal or what?
[HD2 General] ElaineD:
Walmart Sunday flier $48.00 new. sorry.
[HD2 General] .BetaBoy:
0.0

Saaaaay whaaat?!

What if im just extending my contract for 2 years not making a new one (is there even a difference). would the deal still stand? do you have a link to this?
[HD2 General] ElaineD:
don't know. I'm looking at page 7 of the flier. I'm sure it's online by zip code.
[HD2 General] .BetaBoy:
this is my page 7 ---> http://yfrog.com/06picture1vsp
[HD2 General] ElaineD:
sooooooooooooooo sorry! it's august 1-7, 2010! Too many newspapers in the drawer.

BUT, it's $49.00 at letstalk.com http://www.letstalk.com/tmobile-cell-phones
[HD2 General] .BetaBoy:
Nooo Worries, i was prepared to drop 300$ before i knew i could buy it directly from t-mobile for 150$, it can only get so good :)
[Touch Pro2, Tilt 2 Windows Mobile General] Kikohin:
i recently set up remote desktop viewing on my tilt 2 (stock At&t rom), and i'm curious if anyone knows of a way to share my desktops screen to my tilt 2, with a decent framerate (anything above 15fps would be great)

i imagine it will have to be over lan.

(also, i've been searching and installing programs for the last 2 days, just so everyone knows i'm actually trying and not just lazily posting questions)

thanks so much for any help

i'd also be happy to help anyone who's trying to set up remote desktop for their tilt 2 :]
[Touch Pro2, Tilt 2 Windows Mobile General] -Jonny-:
T2 Remote Touch

I use T2 Remote Touch.

I don't know what the frame rate is, but there's different modes to speed up transfer. It's done via wifi and you can remote control from anywhere!

You can find it here.
[Touch Pro2, Tilt 2 Windows Mobile General] Kikohin:
wow, thanks so much, this is actually a useful program, thanks alot!
[Desire Q&A, Help & Troubleshooting] esmith:
Can I get stock Froyo rom on Telus Desire ?

I have already rooted 2.1 that's on it, if that makes a difference.

I have no interest in running a custom rom since the stock (2.2) one has everything I need...
[Desire Q&A, Help & Troubleshooting] F0l3ert:
I'm also wondering the same thing actually.

I've been looking into upgrading to this ROM, since it's claimed to be 'stock':

[ROM] Rooted Official HTC Android 2.2 (FroYo) ROM [Market issue fixed]

It won't let me post a link, but its in the Desire Android Development page
[Desire Q&A, Help & Troubleshooting] esmith:
I think that's the one I found but it said you have to wipe...

I just want to upgrade and keep my existing data
[Desire Q&A, Help & Troubleshooting] slimdizzy:
use my tutorial here: http://xdaforums.com/showthread.php?t=750888
[Desire Q&A, Help & Troubleshooting] esmith:
That's about a cyanogen rom though, I want stock froyo
[Desire Q&A, Help & Troubleshooting] esmith:
I answered my own question.

Modaco (where I'm also premium) has more information on the subject... I rooted a week or so ago and modaco has the stock Froyo with radio and already rooted rom.

So I just downloaded that and applied update, I didn't even wipe before since I didn't want to lose my data.

Anyways problem solved.
[Desire Q&A, Help & Troubleshooting] lkillswitchl:
also just picked up the desire , on rogers and was hoping to upgrade to 2.2, I had the hero before and it was a little more clear cut back then, but Im not sure to wait for official or just root and get stuff started,
[Desire Q&A, Help & Troubleshooting] sachin30us:
NEed HELP
[XPERIA X10 Android Development] maxrfon:
Hi,

I wonder how can one develop/compile native apps like ls, rm dir and etc.

Please a normal example would be appreciated.

1 - system config

2 - important files/headers

3 - compiler / settings

Thanks!
[XPERIA X10 Android Development] Baxxx:
hi!

the apps you mentioned are there ...

just get "Terminal Emulator" from market and try...

It opens a shell with text entry, there you can type commands like

ls (which is the linux equivalent to "dir")

cat (print out the content of a textfile)

pwd (show actual working directory)

touch (create empty file)

rm (remove)

and so on

Bax
[XPERIA X10 Android Development] ddewbofh:
He means compiling native apps for the phone, like ls, rm etc

OP:

There might be a cross-compiler in the android sdk but I can't remember seeing it. In the likely chance it's not there you need to set up your own toolchain, if you're on Linux it's a fairly straight-forward affair. Too long to post in a reply but just google "arm toolchain" or browse around android wikis and you should find good guides.

If you're on windows it's easiest to run Linux in a VM and do it from there. With Mac it's technically possible to set it up natively but requires using disk images and other hacks so you're probably better off going the VM route there too.
[XPERIA X10 Android Development] beno1:
If you want to write native code, I think this is what you're looking for:

http://developer.android.com/sdk/ndk/index.html
[XPERIA X10 Android Development] maxrfon:
Indeed this one fits my needs.

Thanks!
[XPERIA X10 Android Development] ddewbofh:
Just beware that the NDK doesn't let you write completely native binaries, you still need to use the java VM on the phone. So I'm pretty sure you won't be able to build the standard *nix apps with it.
[XPERIA X10 Android Development] zephyrix:
Sure you can. I've rewritten and recompiled adbd.

The android ndk I believe comes with a precompiled arm-eabi toolchain which you can use. Getting the makefile correct is a pain though, otherwise you'll have to compile statically rather than dynamically. AFAIK the only way for a dynamic compile is if you rebuild android entirely from source.
[XPERIA X10 Android Development] ddewbofh:
Neato, does autotools & co work with it as well? I've only looked very briefly at it and saw the "You need Dalvik" bit in the docs. :)
[XPERIA X10 Android Development] zephyrix:
Autotools, I haven't actually tried them for myself but I don't see any reason they shouldn't. In the end it's just a cross-compile.

Google only officially says you need Dalvik because that's the "only" way to interface with applications, and there's no actual way to "install" native binaries officially (though really an adb push would suffice). Take a look at Barnacle Wifi Tether. It's actually just a GUI frontend to a native application. If you look in /data/data/net.szym.barnacle/files, you'll notice some binaries. You can actually run them through adb shell (as long as you're rooted.)

At any rate, these should help a bit:

http://android-dls.com/wiki/index.php?title=Compiling_for_Android

http://android-tricks.blogspot.com/2009/02/hello-world-c-program-on-using-android.html
[XPERIA X10 Android Development] maxrfon:
Here is nice tut for the native app hunters.

http://jackytw.blogspot.com/2009/11/howto-run-native-linux-application-on.html
[Wing, P4350 General] Asjad:
Hey guys, my herald suddenly started acting weird. It was working fine. Had occasional battery problems (like immense battery drain) but suddenly I took out the battery, reinserted it and it didn't switch on. I kept pressing the switch on button but to no avail. I attached my mobile to the data cable to check if this was a problem with my rom rather than the battery. I accessed the bootloader by soft reset and used romupdateutility to hardspl it. When I switched it back on the "Cannon Yang" sign appeared and the cell phone switched off. Also, when in bootloader, if i took out the charger or the data cable, the cell phone switched off by itself. It was working fine a few hours back though. So I went to purchase a new battery, got a hold of one, it was a bit bigger than Herald's original battery but could fit in. It's running fine, just that the back cover won't fit properly, but one problem, when I charge this battery, it doesn't charge rather the "Main Battery" says Unknown. Same thing happens when I connect it via data cable. Is there any way I can use my old battery again? What might be the problem? The phone barely switches on and when it does, it switches back off after the Cannon yang logo. With the new battery, the phone is working but the battery won't charge or rather would show the main battery as Unknown. I'd be grateful is someone could help me on this. Thanks =)
[Wing, P4350 General] crz6662:
Buy a new battery. Sounds like it's dead. Just got 1 couple months ago for less than $5.00. Where did the other battery your using come from ? Better make sure it's the same specs as the other.