yashsingh1/xdaforums huggingface dataset:
[Legend Android Development] mikereidis:
Thanks. Figured I was finished messing with such nasties once I had CM.

(In case you aren't aware, I have scripts that make the FM radio "work" on CM7. I can scan and see RSSI as expected etc. Only "problem" is I haven't figured out the audio routing part yet so no sound, which is why I'm exploring the HTC app for it's special tricks.)

What I want to do now is try running my hcitool scripts and see if they work on Blayo ROM.

If yes, then the Blayo ROM has something the CM7 ROM needs.

If no, then there's likely some magic step required on either stock ROM or CM7 ROM and likely the HTC FM app is doing that step, directly or indirectly.

But the needed hcitool is not on Blayo ROM. I find 3 of the hci utils and install them. Now I can't get hciattach running, which I think is needed for hcitool.

I'm guessing I can edit /init.legend.rc and change service hciattach to enabled. Reboot and no dice. Try running from command line also with no luck. At one point it hung, but now:

# hciattach -n -s 115200 /dev/ttyHS0 texasalt 4000000 flow

Unknown device type or id

# hciattach -n -s 115200 /dev/ttyHS0 any 4000000 flow

Can't set device: Device or resource busy

Can't initialize device: Device or resource busy

# hciattach -n -s 115200 /dev/ttyHS0 any

Can't set device: Device or resource busy

Can't initialize device: Device or resource busy
[Legend Android Development] Catnap:
Waiting with baited breath :)
[Legend Android Development] mikereidis:
Bated ? Baited=fish :)

Well AFAICT, the world of Bluez bluetooth and hciattach, hcitool, hciconfig and hcidump doesn't get along with the TI BT stack world of btipsd and btipds_cli.

I'll have to bust out the NDK and start trying APIs.

But FIRST, I'm happy to report that btipds_cli is a pretty interesting and cool tool. Once I rebooted, turned BT on and learned the quirky UI, it wasn't too long before I had FM audio coming out of the speakers or the headphone.

I even tried a BT over FM option in another menu, but no go. Next I'll try the FM Tx, cause I'd REALLY like to see if that works.

btipds_cli doesn't seem to want to start FM a second time though, so a few reboots might be needed for testing.

I think it's possible that the "14.start_audiO" option in the "4.fm_Rx/" is the missing link for FM in non HTC ROMs. I don't know yet if it initiates a digital PCM / SCO connection or just switches analog. I don't see any new processes for that but btipsd might be doing the good stuff.
[Legend Android Development] whitetigerdk:
Following this thread with great interest.. :)
[Legend Android Development] mikereidis:
I still can't get the transmitter to work, despite all the commands seeming successful. Both with hcitool on CM7 and btipsd_ci on Blayo0.7.

So I think one, or both, of the following are the TX issues:

(A) - It is somehow disabled by the hardware. The Tx antenna pin could be tied to ground, perhaps even through a capacitor or something. It may even just be unconnected and unable to transmit a few inches because it's inside an RF shield.

(B) - The firmware file for the FM portion disables TX, yet the registers still respond as if it works.

(A) would be difficult to infeasible to fix.

(B) should be fixable by loading a firmware file from a TI FM chip device that is known to support transmission.

For a TI based device that is known to transmit, I presume firmware files for a TI or TI partner evaluation board may work.
[Legend Android Development] mikereidis:
So far I can't get hciattach and hcitool etc working on BlaY0 ROM.

I HAVE, however, gotten btipsd and btipsd_cli to work on CM7. I had to create the /data/btips directory and am running btipsd manually in foreground.

What I find is exactly the same as with my hcitool scripts: everything seems to work but actual sound doesn't exit the device. Even after doing everything else the same as with BlaY0 ROM.

The /etc/firmware files on both ROMs are identical.

So I'm thinking there is some other thing separating the two ROMs. Could be some HTC customized library, or a config file or who knows.
[Legend Android Development] ikdegek:
Hi Mike, your work is appreciated, i hope you wil get it to work. We have great legend dev's. Please BlaYo and. Ali Ba, help this guy!
[Legend Android Development] ali ba:
Then you got as far as I did a few months ago. The btipsd stuff can be found in the original init.legend.rc, if you are interested.

"Customized library" applies here, but that's in fact a euphemism for "all kinds of proprietary code in the framework".

I gave up reverse engineering after looking at the disassembled HTC radio application. As I already told you there are loads of pointers to closed source TI code that can be found in the framework (= /system/lib/whatever.so). You will have to reverse engineer all those rpcs, libandroid_servers and god knows whatnot.
[Legend Android Development] mikereidis:
Oh, there must be SOME shortcut... :)

Since I have the FM radio and audio working with the btipsd_cli. I'm not sure the answer would lie in the HTC FM app. Or at least the answer is in btipsd_cli also.

I'd love to find the source to btipsd_cli. I DO have source for TI's fmapp and fmstack-0.12 and I can see they share some, but not all code.

In a log I can see an HCI command is sent when audio starts; I just don't know which one or with which parameters.

btipsd_cli has some rather weird bugs that prevent me from experimenting well with audio routing. When I disable analog, audio keeps playing. At first I thought it was using digital, but now I think it's part of the buginess. When I select various digital options, various weird things happen, including a crash in btipsd for most of them.

If I can run some HCI queries, I might get better clues or the actual answer. I managed to get hciattach to sort of work with "texas" as the type, but I think I need "texasalt" and the binary I have that runs on Blayo doesn't support it. The CM7 binaries wont run on Blayo.

So unless there are some other tools I can use, I'm wondering if it's time to write an NDK app.

Unless I can increase the verbosity of the btipsd logging to tell me everything it's doing. Will check.
[Legend Android Development] mikereidis:
These AudioRouting strings aren't in the CM7 libandroid_runtime so I tried pushing the Blayo lib to CM7. GUI never boots fully, but no audio still using the btipsd_cli.

Same when I also replace libandroid_servers.so, bluez-plugin/audio.so and bluez-plugin/input.so

strings blayo/system/lib/libandroid_runtime.so |grep -i audiorouting

FM_RX_DisableAudioRouting

FM_RX_EnableAudioRouting

nativeJFmRx_SetAudioRouting(): Entered

nativeJFmRx_SetAudioRouting: fmapp_set_audio_routing() returned %d

nativeJFmRx_SetAudioRouting(): Exit

nativeJFmRx_disableAudioRouting(): Entered

nativeJFmRx_disableAudioRouting: FM_RX_DisableAudioRouting() returned %d

nativeJFmRx_disableAudioRouting(): Exit

nativeJFmRx_enableAudioRouting(): Entered

nativeJFmRx_enableAudioRouting: FM_RX_EnableAudioRouting() returned %d

nativeJFmRx_enableAudioRouting(): Exit

nativeJFmRx_EnableAudioRouting

nativeJFmRx_DisableAudioRouting

nativeJFmRx_SetAudioRouting

FM_RX_DisableAudioRouting

FM_RX_EnableAudioRouting

DisableAudioRouting

EnableAudioRouting
[General Questions and Answers] reebosh:
Hi Im missing the basic apps (Gallery, Muisc,..) after flashed new ROM on my Desire. Any ideas? Thanks!
[General Questions and Answers] BlownHydro:
Did you explore the SD card with file explorer for a folder called "removed apk"
[Wildfire General] yarmouthshipping:
I use Android manager WiFi and if i try to backup my phone to pc the phone crashes and i have to take battery out to boot again. I also on reboot get error force close on adw launcher.

Anyone got any suggestions ie: how do you remove / uninstall ADW Launcher so i can be sure that its that and not something else.

Thanks
[General Questions and Answers] jockovonred:
hi all. new user to xda forums.

a brief history of my foray into the upgrade and root realm:

i have an samsung epic 4g. i just updated to froyo eb13 from eclair. i used the update.zip from samsung and everything went smooth without a hitch. ( i even backed up my SD card before the update to be sure i didn't lose anything on it in case i had to reformat it.)

i decided i wanted root to backup my phone so i went with the oneclick 2.5.5 procedure. i tried it on ubuntu 10.04 using the SDK but it didn't want to work. adb wasn't an issue so it was something else...i didn't bother researching why it didn't work on linux so i jumped on my windows xp sp3 machine where the root process worked without a hitch.

during the root process two apk files are removed:

/system/app/Asphalt5_DEMO_ANMP_Samsung_D700_Sprint_ML.apk

/system/app/FreeHDGameDemos.apk

so i'm on froyo eb13, i have root and everything seems ok.

i tried searching on the apk file names here on the forums but didn't see anything which really explained things for me.

questions i'm hoping someone can explain:

1. why are these files removed? is it because there isn't enough space?

(the only thing i could find was this thread but it doesn't pertain to the oneclick root process per se: http://xdaforums.com/showthread.php?t=882567.)

2. will these files be needed in the future for other 'updates'?

since my main goal was rooting to back up my phone completely including all the apk files, it seems the root process took out two before i could get them backed up. this isn't a problem as i can get the apk files from another source.

thanks in advance for any explanations.

jockovonred
[General Questions and Answers] BlownHydro:
part of the joy of rooting is getting rid of some of the annoying apps that come stock on most phones from your carrier.

A lot of roms when installed will place the removed apk's in afolder on your SD card called "removed apk's", you can navigate to that folder with file explorer and reinstall them if you want to.

That is assuming that your new ROM did that for you.
[General Questions and Answers] joja1:
nothing remove with my rom
[General Questions and Answers] jockovonred:
What ROM are you running?
[General Questions and Answers] jockovonred:
After more playing around and using CWM 3x, it appears this is how those 'hacks' need to function in order to install busybox. Since there isn't enough space within /system/app, something must be removed. Those two apk files are removed which in turn allows busybox (later in the install process) to exist.

I've since installed SyndicateRom Frozen Takiya 1.1.0 which removed all sprint and samsung bloatware (apk files) etc. For the two apk files I've needed (myfiles and memo), I've pushed those back using SdxAppRemover-1.5. If I need anything relating to the sprint or samsung apk files in the future to upgrade, I'll need to Odin back to stock at this point.
[8125, K-JAM, P4300, MDA Vario ROM Development] bogdansan:
my windows mobile was in french and the querty keyboard in french to

i made it in english but the querty keyboard is not the same, can i do something, not to change keyboard but put a software and keep in english?

pls help
[8125, K-JAM, P4300, MDA Vario ROM Development] bogdansan:
problem solved
[8125, K-JAM, P4300, MDA Vario ROM Development] A_marucevich:
Hello.

Can you post the solutions ?

thank you.
[8125, K-JAM, P4300, MDA Vario ROM Development] Hakim Rahman:
I think you can do it like bogdansan by using VGAKEY that supports many languages ~ http://vgakey.net/web/index.php?enhome
[XPERIA X10 Q&A, Help & Troubleshooting] kasserx:
plz plz plz plz help me

i have Sony Ericsson X10i i flash new rom (X10i_2.1.A.0.435_CUSTOMIZEDSA-SA GENERIC 1238-6349 - Saudi Arabia Generic

)

befor sim working in x10i

now my issu with sim (no sim card in phone

i went to setting>wireless&network setting>network operators i found my carrier STC network but i cann't registering on it message appear (sim dosnot allow connection to this network) my sim working on nokia or any device

itry itird

mybe my lang english not good put i think you understand me

kasserx from KSA
[XPERIA X10 Q&A, Help & Troubleshooting] Mr. Clown:
Moved to Q&A as not rom development.
[XPERIA X10 Q&A, Help & Troubleshooting] sillysquid:
Have you installed the correct baseband for the rom?
[Xoom General] Yaotl:
I think I read something about someone else having the same problem, but my xoom only has two settings. Loud or silent. Anyone else going through this? I didn't test it out before rooting, so don't know if that's the issue. I would imagine it isn't exactly a hardware problem, but can't see anything that might be messing with the volume running.
[Xoom General] fetalp:
I have this issue and I'm not rooted
[Xoom General] Yaotl:
well, I guess mine was easily solvable. I just had to reboot.
[Xoom General] Locarian:
So, I notice that things like Movies are a bit quiet. But, not too quiet... as in I can still listen okay. Headphones work fine here.

For things like music. MP3's or Pandora it is plenty loud. I have it running right now actually. :) I have it set to just over 50% and it is plenty loud.

I tried music first before movies... and so when I started a movie I thought initially that the sound was not working on my file. But, I turned it up and the movie got to a louder part and I noticed the sound for sure then. I restarted the movie with the increased volume and I could hear it.

If it were a noisy room? Probably too quiet. But again, noisy room I would use headphones anyway.

I remember the review at Anandtech I believe, he talked about the volume being an issue. He also mentioned that turning it up would maybe hurt the speakers. I would 2nd that last assertion since at just over 50% I think music is pretty loud and cranking it would be problematic to the longevity of the speakers.

-Loc
[Android Software/Hacking General [Developers Only]] Thekn:
Hello!

On my DHD I got some Apps that keeps running in the background:

Settings -> Applications -> Running Services:

-

Music

: DownloadManager$ & JumperService (from Honeycomb Music Player)

and in Advanced Task Killer:

- Stocks &

Music

My question: Is there a way to stop the above apps (but also any other app) from starting automatically in the background and keep them closed?
[Android Software/Hacking General [Developers Only]] mdsevol:
From what I understand and forgive me if you are already aware of this but what your speaking about are actually services and not running programs/apps. Services are running to assist the app or program to open much faster than if not. They dont take nearly as much drain on the system as your may think and these phones were made to handle the multi tasking. I think we all get caught up in keeping our phones clean of nonsense and useless (at the time) running programs but in actuality they are there to help us. I suggest you uninstall ATK and give yourself some ease of mind and let the services run when they want lol....thats what I am starting to do.
[Captivate Q&A, Help & Troubleshooting] mick1mouse:
nop
[Captivate Q&A, Help & Troubleshooting] mortuus.x:
Do you have an APN configured? If not, you'll need to add one. I had the same problem myself after flashing a rom last night. I just manually added the APN and off I went.

You can find it under Settings->Wireless and Network->Mobile Network Settings->Access Point Names.

This is the Telus APN from what I can see (on Rogers myself so can't confirm):

Name: TELUS SP

APN: sp.telus.com

Proxy: 74.49.0.18

Port: 80

Username: <Not set>

Password: <Not set

Server: <Not set>

MMSC: aliasredirect.net/proxy/mmsc

MMS Proxy: 74.49.0.18

MMS Port: 80

MMS Protocol: WAP 2.0

MCC: 302

MNC: 220

APN type: default,mms

you'll need to pre-pend h t t p : / / (no spaces) to the MMSC setting. The forum wouldn't let me post an outside URL
[Captivate Q&A, Help & Troubleshooting] mortuus.x:
No worries. Glad it worked out :)
[Xoom General] xlch59:
Is there a way to make the browser look like a PC not a mobile device. I would like it to open web sites as a full page not the mobile version.
[Xoom General] keitht:
Open the browser and enter the following in the address/search bar: about:debug then enter. Nothing will change with the current page but now go to settings. You will see a Debug menu. Select that then tap "uastring" and choose "Desktop".
[Xoom General] wompy:
type in about:debug znd hit enter.

Go into your settings, select debug and change the UAsfring setting to desktop
[Xoom General] Paradox5582:
The about:debug does work, but my Xoom looses that setting after opening the browser a few times. Anyone know of a way to make it permanent?
[Xoom General] Locarian:
What I am noticing is that the setting it keeping, but it is like the sites are saying "Oh, you think you are a 'Desktop' but I know better you clever XOOM" Bam! Mobile site.

Argh...

Anyway, each time I see this I go back into the debug settings and sure enough it is still set to 'Desktop.' I try the site again, and I get redirected to the mobile version.

-Loc
[Xoom General] parrotheadmjb:
not sure if its the same because I haven't done this on my xoom, but on my droidx, when I change the uastring after a while it goes back to mobile (a couple don't because of cookies) but if I do about:debug and go look at the uastring it still says desktop but its really lying to you because it isn't and I have to reselect it or select android then reselect desktop. I hate how it does this, looks like it kept the setting but it really didn't.
[Xoom General] firepacket:
When the UAString is set to "Desktop", the device uses the following useragent:

Why is it trying to emulate Safari? Just a little stab at Apple? Wouldn't it make more sense to have it emulate Chrome or Firefox?

And if any devs are out there, could someone PLEASE give us an option to set our useragent manually? It's frustrating to have sites think they can go around restricting content to mobile devices.
[Xoom General] ghoticov:
Miñe is doing this also. I went to pcmag.com and did the whole debug thing and it still says desktop but is still giving me the mobile site. Ugh!
[Xoom General] Droid4All:
I set about:debug as a bookmark to make my life a little bit easier until this is resolved.
[Xoom General] bwcorvus:
You can also use a different browser like dolphin. Am i the only person that has not run into this problem? I'm using the stock browser and all my sites load as desktop, even facebook (seen someone comment on that site).
[About XDA developers] saldawop:
Today I sent my first Private Message.When I checked in my Sent Messages , it was empty.So I resent it, and again, it doesnt show up in my Sent Messages.

Now at the time the forum was very slow,so I thought that maybe that was the problem, so I resent again....twice!!

Now I do not know if the intended recipient did in fact receive the message(s)

Any idea why they are not showing up in my Sent Messages folder?
[About XDA developers] svetius:
You have to enable your account to save sent messages. Go into User CP, Settings and Options, Edit Options. Scroll to the bottom and check:

Save a copy of sent messages in my Sent Items folder by default

Boom! There you go :cool:
[About XDA developers] MikeChannon:
Indeed that is exactly the OP's problem. I just checked and the OPs account is set NOT to save copies to his sent folder. Follow Svetius' instructions.

Mike
[Atrix 4G Q&A, Help & Troubleshooting] chimaylxa:
I picked up my Atrix today and everything has been going great except for one thing. Sometimes when I launch the Market place and move beyond the first screen it will give me an error message about network connectivity. I have to leave the market place and turn wifi off and then back on before the marketplace will allow me to move beyond the first page. Wifi seems to be working for everything else while it is not working for the market place. Normally I would just uninstall/reinstall an app that was doing this, but since it is the market place, that may be more difficult (i'm not sure, this is my first Android phone).

As of now it is not rooted and I have tweaked no power/wireless settings except to add my wifi info. I would appreciate any ideas.
[Desire General] volatile_ink:
Hi Forum,

I've been trying several Desire HD/Z ports from my 'old' desire and have decided to return to Starburst's ROM as I find it stable and fast... The one thing I miss from Gingerbread is the Mail.apk app.

I've tried extracting the APK from a Desire HD rom and installing it on my desire. Whenever I try to run the app (which shows up as 'HTC Mail' in the tray) I get an F.C.

Does anyone know if it is possible to get the 2.3 Mail.apk running on 2.2? I'm running the Rosie launcher.

Thanks in advance.
[Desire General] chichoko:
Actually as far as i know the mail.apk is from the sense interface and not gingerbread related.. I dont think HD/Z have GB upgrade yet.. So, maybe the mail app is connected to another process/app from the newer sense in those two phones, thus making it un-operational on the older sense we have on our desires..
[Desire General] tp-archer:
First, a correction - Desire HD software is not 2.3, but 2.2.1 for Desire HD (same generation as 2.2.1 for plain Desire, not Gingerbread).

Second, I don't think it's possible to port it the apk, as it depends on libraries, framework, modules etc - basically, you'd need to port a lot of files, ending up with a full Sense port from Desire HD to plain Desire.
[Desire General] volatile_ink:
In the words of Jack Bauer: Damn It!

Thanks for the replies. Going to stick with FroYo until GB comes out or until I upgrade in a few months...
[Hero, G2 Touch General] chipdoo:
Hi All,

I'm not sure if Im overlooking something here, but I'm trying to flash a rom to my G2 phone.

I rooted it and confirmed it and installed Rom manager. I backed up my system. I download the rom to my PC and transferred it to the root of the SD card. But I go looking for it, and its not there.

If I browse my files from the PC as USB storage, its not there though I could see Windows transferring a little over 300Mb. I tried renaming it, setting it up in a different folder, nothing. It wont show up on the SD card. Its an HTC sense .zip file rom.

I'm stumped. I was happy everything was going as it should, then boom, I cant find it on the SD card. I even tried a different SD card.

Any opinions?

Thanks,

Chip
[Hero, G2 Touch General] yasin12:
dont you think 300mb is a little too big for the htc hero. most roms are less then 100mb and the sense roms are around 125mb so i think theres something wrong there.
[Hero, G2 Touch General] chipdoo:
Ill look into that, but shouldn't it still show up on the SD card regardless of size?
[Hero, G2 Touch General] yasin12:
Maybe something wrong with your usb cable or your htc hero's usb port. do you have any other way to connect the micro sd card to your computer? have you tried copying any other file over?
[Hero, G2 Touch General] ExMM:
Did you try, from windows, to modify the properties of the file?

Right click with the mouse button on your .zip rom file and choose properties.

I don't know now if you have win7 or xp, but if you have win7 try to click on the section when it tells you something like "this file came from another computer, would you like to unlock it.." or something like that.

Also make sure all the properties about the rom file are not hidden or blocked or read only.

Same thing about XP, don't flag the box when it says "read only".
[Hero, G2 Touch General] captainstu72:
just to make sure..

@chipdoo.

it is definitely a HTC HERO, and not an HTC G2/Desire Z variant - that could explain the rom being 300mb i guess?
[Hero, G2 Touch General] NeatBee:
If you are using Amon_RA recovery you have to put it on the root of the sd card, not in a folder otherwise it won't see it
[Epic 4G General] D623:
Okay I've already flashed my phone via the update.zip to go from 2.1 to 2.2 EB13 file and I'm getting terrible 3G data speeds.. I've already performed a wipe on the phone and still same issue. Can I use the installer on the Samsung website to Reflash my phone to 2.2 to see if this fix's the issue?
[Epic 4G General] budderocks:
yes, it will do a clean install of eb13... some people had issues with the update
[Epic 4G General] Kitteh298:
use odin. :3
[Epic 4G General] D623:
Alright thanks a lot. I'll update this post to see if this resolves the issue.