yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] spiritplumber:
I tried to get the source, and while it does compile, it provides me with a premade kernel and there's no /kernel/ after checking out with git/repo. I've been fiddling with it all day now.

As an aside: While the g1 talks 2.8 volts, it CAN talk just fine to a 3.3 volt serial adapter (or directly to a micro, like the Parallax Propeller) if you remember to use two 1kOhm resistors between them (really only needed on the G1's rx side, but I put it on both usually). DO NOT TRY THIS WITH A 5 VOLT MICROCONTROLLER (such as a Picaxe or Basic Stamp) BECAUSE IT WILL NOT BE READ CORRECTLY ON TX, AND MAY BREAK THE G1 ON RX.
[G1 Android Development] hoepfel:
did you try cd'ing into the source's kernel directory and then make'ing the kernel? you really should get a new image afterwards. i guess you could always use my kernel image...

macpod's written a bit about the 2.8v vs 3.3v issue and IIRC that resistors aren't really necessary. I was too lazy as well and it did interface with my Arduino board just fine, but I haven't used it for too long either.
[G1 Android Development] spiritplumber:
Not good for the UART chip inside the g1 in the long run although it's only an issue if it so happens that the serial wire is long / there are noise issues. Just a thought (we killed a couple Prop chips feeding them 5v).

I tried making the kernel and I'm jumping from error to error: it may have to do with the fact that I'm in OS X. Thanks though :)
[G1 Android Development] zoid_99:
Any chance a serial cable will help bricks?
[G1 Android Development] spiritplumber:
Probably not in that the serial port driver must be loaded from a kernel, so if the gphone doesn't even get that far the wires just sit there. :(
[G1 Android Development] spiritplumber:
I got the cupcake version to compile, here it is for what's worth :)

(its a zImage, i name it different because I hate accidental overwriting).

Please let me know if it works for you! seems to work for me so far. Baud is 9600.
[G1 Android Development] ldf913:
Hmm

sounds so cool what you guys r doing... wish i knew what you guys were talking bout, and what could be accomplished by that, anyways keep up the good work maybe one day it can be broken down in noobish and i could help :D
[G1 Android Development] spiritplumber:
This is about getting out of the HTC a serial port (you know that 9 pin connector on your PC). While a lot of people aren't familiar with the interface anymore or see it as obsolete, it's still widely used for a number of purposes including debugging, machine control and so on. For example, a serial port and a simple $5 microcontroller would allow the Android to control servos or stepper motors. Or a sonar in my case.
[G1 Android Development] hoepfel:
Awesome work, spiritplumber! I'll make sure I'll try your kernel instead next time I find time to play with it.
[G1 Android Development] rljohnsn:
or maybe a cisco console :p
[G1 Android Development] spiritplumber:
eh macpod did all the work really!
[G1 Android Development] tekkitan:
Thats what I want it for, also automobile OBDI/II diagnostics would be hot.
[G1 Android Development] spiritplumber:
Please LMK if my recompile works for you :) use fastboot to load it, i would't put it in permanently yet.

With stock firmware, a serial cable will display debug info and offer a debug> shell at 115200,n,8,1 baud on startup. I don't know if that helps bricked phones: all I can get it to do is reboot (by typing reboot...). It MIGHT though. At least it might tell you if the phone is totally dead or not.
[G1 Android Development] spiritplumber:
One thing I noticed is that powering a G1 back up after the battery runs down is something that requires manual intervention. Would a "optimzied for embedded use" kernel be good to have? (see if I can fiddle with the power options to make it restart upon power resume, etc. and keep the serial port).

NOTE: stty works!
[G1 Android Development] Keith001:
Would this be an easier way to create the Tmobile G1 Serial Cable?

Macpod,

Wouldn't it be easier to order this $20 cable:

http://www.mouser.com/Search/Produc...3virtualkey62130000virtualkey895-TTL-232R-3V3

And then solder on the HTC ExtUSB Breakout Mini v1.0 on the end of it?

Keith
[G1 Android Development] spiritplumber:
That only lets you talk to a computer though. The idea here is to talk to other devices :)
[G1 Android Development] spiritplumber:
Sorry for bumping this post but....

Here's a tip if you're talking to a microcontroller:

You can just use a pair of resistors!!!! Well 3 to be specific:

tx from phone -----------------\/\/\/\/\/\-------------------- rx to micro

rx to phone -------------------\/\/\/\/\/\---------------------tx from micro

. |

. Z

. Z

. Z

. |

. Ground

Use 1kOhm resistors for all 3.

WHY: Let's assume the micro runs at 5 volts. The micro->gphone line is sent through a voltage divider, so it goes between 0 and 2.5 volts... the gphone talks 2.8 so that's high enough to work and safe. Micros will generally recognize 2.8 volt as high, I think TTL standard is that 2.0v is enough for a logic high.

Again, this will work on a arduino, picaxe, pic, basic stamp, parallax propeller (in that case the output is 3.3v so you need to use a bigger resistor to ground, let's say 2.2kOhm so it's easy to find at radioshack) and so on. Just remember to set serial polarity to TRUE and not INVERTED.

The resistor going from gphone to the micro is there "just in case", say for example that the input on the micro has a somewhat strong pullup, this prevents damage to the phone.

peas!
[G1 Android Development] spiritplumber:
Sorry for thread necromancy.... here's the instructions for flashing this thing in permanently:

http://spirit-plumber.com/blog/

http://www.spirit-plumber.com/portfolio/robotics/android/serialport_flashme.zip

Here's the boot image you can use to flash your gphone with the serial port enabled: you can use fastboot to load the kernel without having to do so at every boot.

Get your phone into fastboot-usb then use

fastboot flash:raw boot kernel_cupcake_serialport kernel_ramdisk_standard

to restore, use

fastboot flash:raw boot kernel_cupcake_standard kernel_ramdisk_standard

Sorry for the thread necromancy, I do know this is driving some people batty :)
[G1 Android Development] Orbital_sFear:
Reading data back

Hey all,

First of all, really good job on this hack!

I have the extUSB soldered and working great with my 3.3vttl to USB plug.

I found that I can send message to my computer by running the following on the G1 as root:

echo "test" > /dev/kmsg

Computer:

[ 651.716979] test

Is it possible to type something in the computer that comes back to the G1 anywhere? I don't mind the dmesg text since it's easy to filter. The only commands I've found that do anything on the debug port are: ps, and reboot. I really don't want to recompile the kernel to make this work, is there any other way?

Also, do you guys know where the code lives that runs this debug port or is it a tty thing that is too complex to look through?
[G1 Android Development] macpod:
Wow, I just stopped back to grab my config file to compile cyanogen's most recent kernel with the serial port enabled. I had no idea there was still interest in this stuff. :)

That cable will work fine for serial, but I think the power line is only 3.3v. You need 5v to properly power the G1.
[G1 Android Development] xghostyxjokerx:
g1 brick question

:eek::eek::eek:

I HAVE A QUESTION.....Will/can this work to fix a brick g1 in any way???
[G1 Android Development] lbcoder:
Unless bluelight mode enables a magic serial port, then no. This mod requires kernel modification, and a bricked device doesn't get that far.
[G1 Android Development] buzz_lightyear:
Hi all,

i have one bricked Magic here, which only starts in blue led mode and also in some mysterious MAGENTA LED (VOL-UP+POWER) mode.

And i am also wondering, if there is some way, to talk to the radio vie serial port.

Anyone heard of that MAGENTA LED mode already?

Thanx for the info above in this thread

buzz
[G1 Android Development] bfikkert:
Look here :

http://xdaforums.com/showthread.php?t=591048

This is all about JTag and serial cables to debrick a G1. (read all)

There is no solution jet but they are getting closer.

All this serial cable thing is not new. Look here.

http://www.instructables.com/id/Android_G1_Serial_Cable/
[G1 Android Development] joseph_korn:
I recently got together all of the equipment I would need to JTAG my dream, and I am having problems with getting the usb serial cable to be recognized by my computer..

To make it simple, I have a 'Breakout Board for CP2102 USB to Serial' from http ://sparkfun.com/commerce/product_info.php?products_id=198 and a HTC ExtUSB Breakout Mini from http ://shop.kineteka.com/Products/94-htc-extusb-breakout-mini.aspx

Do I need to install drivers for either of these devices? The breakout board has a driver download at the above link, but it doesn't seem to work.. When I plug the cable into my windows xp box I get a message that says: 'USB Device not Recognized. One of the USB devices attached to this computer has malfunctioned...'

I also downloaded the newest version of ubuntu linux and tried booting into the live cd to see if it would work any better, but it seems that the serial cable is also not detected, and I am not sure how to go about installing a driver (if it is even necessary)

I'm 100% certain that I have soldered the wires correctly, and I am wondering if anyone else can shed some light on this problem.. Should the cable just work out of the box, or do I need to install drivers somehow?
[G1 Android Development] hoepfel:
Usually you need to install generic FTDI drivers in Windows. They come stock with Ubuntu. Paste the last lines of the "dmesg" output in Ubuntu, please.

If I remember correctly, I accidently swapped TX and RX wires, and the port was still detected properly. So your problem really might lie somewhere else.
[G1 Android Development] joseph_korn:
I brought my serial cable to work today and I plugged it in with a different usb cable that I had lying around here.. Windows detected the device right away and installed generic drivers automatically as you said..

The device showed up as COM3 and I tried using putty and hyperterminal to get a connection, but it didn't seem to work, even after playing with the settings a bit..

I didn't have a lot of time to screw around, but I booted into ubuntu and I saw that the device was also detected as ttyUSB0, which it was NOT doing at home..

My problem at home was either my usb ports or the usb cable.. I will take the cable from work home today and test..

The problem now is that even after the device shows up.. I never get any indication from putty in windows, or minicom in linux that the connection is working..

I will keep playing with this, but it's quite frustrating that the 'easy part' is proving to be so difficult
[G1 Android Development] hoepfel:
There's not going to be much of an indication. Did you get the kernel stuff going so that a new TTY shows up on your phone? If so, just cat from or echo into that, or try it from the computer. If you did the wiring correctly, it should all be jolly good.

Of course, it's easiest to debug if you can just hook it up to an oscilloscope, then you'd be able to see if everything works as expected.
[G1 Android Development] akivlin:
I have a CP2102 breakout based G1 serial.

Now that you can see the CP2102 in Linux you can simply do "screen /dev/ttyUSB0 115200" and switch on the phone and you should see the serial output.

If you boot the phone in blue light mode you should see the following from the serial:

You don't need to play around with settings. It'll either work or it's broken.
[G1 Android Development] joseph_korn:
Ok, the problem was my usb cable, because now I am getting better results at home.. I tried connecting the serial cable, running the command "screen /dev/ttyUSB0 115200" and turning the phone on, and instead of seeing what akivlin said, i see some garbled text:

y��

��=!#��_eAi_wA_Q[AiuMAacA[WAYW����_!5?�y=�{!!�[5=!#���������}cwAs�}YoA[u}wAmw���o}cmOA���Y�͝��u��Y�}�m�e���y��=Aaa�AeaW�~�ۅ!�}#7�!=7��

When I boot up in blue light mode I see:

y��

��=!#��_eA�_wA_Q{AiuOAX[UYW������a��]=�{!!��S�!?�a���ky����Asg}V+m��wAm���5�=}��e{A���vA���}{A�������_e���U�awu��

While I feel this is potentially progress.. I can't help but think that obviously something is wrong.. :eek:

I'll play around some more..
[G1 Android Development] joseph_korn:
It's been a couple weeks and I decided after much tinkering to order another HTC ExtUSB Breakout Mini and a different brand of breakout board.. I soldered everything again and I am still getting weird results.. Obviously something is wrong, and I cannot seem to figure it out.. I swear my soldering is damn near perfect for me not being an expert at soldering, but I can only assume that I messed something up..

My question is this: Does anyone know where I can buy a pre-made htc serial cable? I found hxxp://bestcelldist.com/htc_dream_serial_data_cable.html but I am not 100% sure if I will work the same.. I am also willing to buy one that someone has pre-made and tested.. Send me a pm
[G1 Android Development] Oinquer:
Not trying to necromancy...

Anyone still on this? i have an G1 with Cyanogen 6.10 (android 2.2.1) and would be very nice to be able to use the serial port for an GPS tracker im developing....

If not im going to have to make a serial bluetooth....
[Touch Pro, Fuze General] mcauduro:
Thanks for sharing :-) It will be very useful
[Touch Pro, Fuze General] freekquency:
how are you getting signal inside? must be alot of windows. lol
[Touch Pro, Fuze General] arvin2212:
What do you mean signal inside? You mean indoors?

And yes, about 2 + 1 windows would be open. 2 (external GPS + GPSTOOLPRO) + 1 (your choice of gps navigator)
[Touch Pro, Fuze General] mafaquem:
I love to try this however can't find GPS Tool pro on this forum ...any link please
[Touch Pro, Fuze General] freekquency:
gps indoors nice, i guess they finally added that rubidium oscellator.

lolol
[Touch Pro, Fuze General] nhshah7:
sadly for me, this doesn't seem to work. i hard reset yesterday and am running on a bloat-free fuze stock rom and radio. I installed google maps, att navigator (only way i can EVER get a fix after 5 minutes), and CF 3.5. Trying this now standing inside my bay window facing the a river with lots of open sky and i'm not getting anything :(

i read the thread this morning about teh .19 radio and i can't wait to try it out this weekend!

what radio are you on? mine is: 1.02.25.32 (stock ATT)
[Touch Pro, Fuze General] kk0813:
Here is a link for the GPSToolPro.

http://xdaforums.com/showthread.php?t=474582
[Touch Pro, Fuze General] mindfrost82:
I would try the leaked AT&T 1.12.25.19 radio. It supposedly opens up more slots for sats than the previous radios, which should help getting a fix.

Also which stock ROM are you using? The one it was shipped with or the leaked one? I would upgrade to the leaked AT&T one because it enabled aGPS, which works wonders in getting a fix.

EDIT: Use the link below and download the leaked ROM, it also includes the leaked AT&T upgraded radio...

http://xdaforums.com/showthread.php?t=487994
[Touch Pro, Fuze General] Sleuth255:
If you don't have a data connection (too expensive) then how can you be using QuickGPS? :confused:

If you do have a data connection then I highly recommend upgrading your rom to a 5.08.502.1 derivative along with keeping the raphael radio you just tried then changing your settings to the public AGPS servers described in Da_G's AGPS thread in the Raphael ROM forum.
[Touch Pro, Fuze General] tsbrewers:
this probably doesn't help any, but I have a TP that is about a week old, flashed with mighty rom, radio 1.03.15, and I can sit in my living room, two windows completely covered, and I can get 9 satellites to lock in under 5 seconds. This works in google maps, igo8, really any gps program. I do not use quickgps (I think that is what it is called) or anything else. mine has worked great from the day I brought it home. I have only tried a couple of radios and all worked fine with gps. I am wondering if the newer ones are "better" on gps?

Brew
[Touch Pro, Fuze General] bugsykoosh:
If you're using a Fuze (AT&T variant) this sums up how to get GPS running on your phone: http://www.fuzemobility.com/the-fuze-and-gps/
[Upgrading, Modifying and Unlocking] HTCOmega:
Ok, so I highly doubt this will work at all BUT I've been tossing around the idea of switching from AT&T (GSM) to Verizon (CDMA) and since I know I can neither take my TILT w/ me nor mod my phone to work on CDMA (that's the way I understand it so someone PLEASE let me know if there's some miracle work around for this lol) so I was pondering if I could take some CDMA phone w/ the same slide functions so it's "landscapable" and tear the guts out of it and put it in my TILT. A HUGE thing for me is the tilting action of the screen. I knowwww it's such a truly MINOR detail but I dont think I could ever go back to a "single slide" phone like the Fuze or anything.

My first HTC phone was my lovable Wizard but my biggest complaint was having to turn the whole dern phone just to look @ the screen w/o the sun glaring all over it but I went through THREE of them (yes, sad, I know lol). One was an original from an AT&T store which met it's initial demise when it's screen got cracked beyond repair. The second was bought from eBay and met IT'S demise after I found out it was a 4th gen model and couldnt be unlocked (at the time) for ROM flashing and attempted to flash it ANYWAYS so it totally bricked my phone (:() BUT I took the two and Frankensteined a THIRD working phone from the innards of the cracked screen phone and the casing and screen from the bricked phone. Sadly, the 3rd phone (and the one that made me proudest lol) met it's untimely death to WATER DAMAGE of all things.

Ok, so that whole story being said...I don't mind breaking my TILT open and plucking out the insides IF another phone's innards can be transplanted into the remaining casing. Again, doubtful it's possible butttt figured it wouldn't hurt to ask!

Thanks in advance!
[Upgrading, Modifying and Unlocking] atomixpaintball:
Dont switch to Verizon. If you want to go CDMA go Sprint. But I would never go CDMA.

All the devices can only be used in the US, the selection of phones sucks, and Verizon handicaps almost all phones they sell.

AT&T is clearly the premier GSM provider in the US. Anything else would be a downgrade.
[Tilt, TyTN II, MDA Vario III General] danncas:
I Still have my Tilt but I got and Iphone. took it back Sucks. Well any how I have a Blackberry Bold and tether with is threw standard dail up modem.

I think the Tilt was faster I cant recall how to Tether it again. I know I have to load active sync ,but then what? I did not change anything on the Tilt just the laptop modem for The Tilt is gone. Can someone help me set it up?

With the Blackbery Bold I use wap.cingular not media.net Would media net work.

I have 10 days to decide If I want to keep the Bold. It is nice very nice much better then an i phone 4 sure. But The Tilt is like a good old friend. I :confused:want to tether it again and swap my sim before I decided
[Tilt, TyTN II, MDA Vario III General] ChumleyEX:
Searching really isn't that hard to do.
[Tilt, TyTN II, MDA Vario III General] badknees:
I flashed my rom to one of Hyperdragon's WM 6.1 with Touchflo a few months ago and liked it, but it's very slow now and always reorients back to vertical mode when the keyboard is out when I am composing a message, among other things. I'm looking for a stable, cooked rom that doesn't take a lot of space, and minimal applications, but has good battery life. I use the device primarily as a bluetooth phone, USB modem and for texting extensively. Any recommendations, including radio?
[Tilt, TyTN II, MDA Vario III General] kareeem:
Best suggestion is to try them all and see which best fits your needs.

Thread closed.
[Touch HD Themes and Apps] ausi:
Does anyone have a solution as to how to change the FM radio Channel through the Headset Call button??......currently i can only do it on the HD unit itself.

Any solution or link would be nice.

Thanks
[Touch HD Themes and Apps] shah1237:
hi,

It would be great if someone could reply.

Even I am looking for a similar solution, but for music player.

Currently when i hit the button more then once, it starts calling the last person on my call history.
[Touch HD Themes and Apps] ausi:
Try these:

http://xdaforums.com/showthread.php?t=498349

http://xdaforums.com/showthread.php?t=492947
[Touch HD Themes and Apps] shah1237:
Thank You.

Finally got something resolved.

I really like the phone, but stupid things, either due to Microsoft or HTC really makes me wonder why cant they get it rite like apple.

I really miss the sensor on i-phone, but as its windows you always have work arounds.

I am using pocket shield. Its good, but still misses one good option.

When the headset is inserted, you cannot disable the answer hard key.

I am trying to check, if there might be any application that can help me with that.

Apart from that the battery life is a bit bad rite now.

I have disabled all the bells n whistles like bluetooth, wifi, active sync,push notifications. but still dont know, why it is still lacking.

One thing I havent tried, is the option to switch off the device,

But the problem is that you have to press the power button everytime to bring it back, then swipe to unlock.

Phew... I knw to many complaints..

But luckily, its a easter weekend, so can search the net to make my phone perfect... heheehheheheh........
[Touch HD Themes and Apps] ausi:
Let me know if you find something which changes the FM Radio preset stations with the headset button.
[Touch HD Themes and Apps] shah1237:
sure. will post rite here. :)
[Touch HD Themes and Apps] nevyoung:
Even though this is 2 years after the previous post, it may help to say I would also like to have 1 button control for the FM Radio in my Android - ver 3.3.3 Samsung Gio.

If you know if an app has been created in the past 2 years, please let me know.
[Touch HD Themes and Apps] spicynitin:
Soln:Change Music tracks Via Default Headset

Dude i am having Moto G.

For Changing Music Tracks Via Default Headset in Moto G-Follow Below Procedure:

1.)Become Developer first-google it.

Please find Snapshot attached.

2.)Now install Premium Headset Button Controller APK.

Link:http://www.datafilehost.com/get.php?file=c2500322