What are these files needed for? - Windows Mobile

There are some files in OEMDrivers folder of my Xperia X1i. Are these needed? What for?
Fm_on_2_0.bts
Fm_on_2_1.bts
TIInit_4_2_38.bts
TIInit_5_2_34.bts
TIInit_5_3_53.bts
System.res
Fw1251r1c.bin
mxip_initdb.vol
There is also an oeminfo.xml that isn't loaded from any config.txt. Could i delete it?
Edit.
I deleted mxip_initdb.vol and oeminfo.xml and everything seems to work fine.

i dont think it is a good idea to delete OEM files... perhaps if you use new oemdrivers you can delete some of them but dunno what are these for

The .bts files are a component of mobile communications see:
http://www.webopedia.com/TERM/b/BTS.html
BTS
Short for base transceiver station. In mobile communications
, a BTS holds the radio transceivers that define a cell and coordinates the radio-link protocols with the mobile device. The BTS is the networking component of a mobile communications system
from which all signals are sent and received. A BTS is controlled by a base station controller.
A BTS is also called a base station (BS) and is commonly referred to as a "cell phone tower."
Click to expand...
Click to collapse
The .vol file is a database. Unless you do know exactly what the files do, or at least what they are for, I wouldn't delete from OEM. Actually I wouldn't modify or delete any file, if you don't know what it's for.

Related

Got some problem with WiFi in mainland China..

Do you guys can turn on WiFi in Comm?
Stupid mainland producer inhibits WiFi in Dopod C858 (actually the same as HTC herald..)
And I think the WiFi module is already embedded in the device, is there a patch or something like tweaking the registry???
Looooking forward.
See if Tnetwln.dll is in the Windows directory. If so, you can just find the reg entries necessary to make it work from another member. If not, you should be able to get the files and reg entries may already be there. Either way, it's turned on in the registry.
i have the same problem here. my dopod c858 has a registry file called removewifi.provxml and i think that is what is prohibiting me from using wifi. All the settings are there. I can enter Wireless LAN settings, but I can't turn on wifi. I also need Tnetwln.dll. can anyone make a copy of that for me?
If you flash another ROM, it should work since all of the hardware is there. Also, if you cook your own ROM, you can remove the offending .provxml and it will work as well. I recommend Anichillus' kitchen for this as it allows you to extract the XIP as well as the SYS and OEM folders and build it the way you like.

Samsung spectrum analyzer

I can't figure out what file or plugin is responsible for the Samsung Blackjack spectrum analyzer. I want to use it on my Excalibur, Tornado, and want to see if it works on Wizard and Apache as well. I looked at the theme's .skn file and I see no reference to any plugins or DLLs of any kind. Simply using the .skn file and other files referencing does not result in a spectrum analyzer showing up. I've dumped the registry and can't figure out which file is responsible there either. Anyone have any clue where else to look?

Cell id Command line

Hi All,
Is there a tool which can get Cell id and LAC from command line for it to be used by other apps
Say I have script (mortscript)
Then I can call <Cellid APP> and get Cellid location where the device is
Then take action based on the Cell id.
Idea is to track the phone and let the owner know where all the phone on a web page.
I go from HOME -> LOC1 -> LOC2 ->Office (everyday)
Incase phone shows a path HOME -> LOC1 -> LOCX -> <UNKNOWN> .. the send a TEXT(SMS)/update page etc ... to alert the users.
Kind of way to make your phone secure.
Any suggestion if it can be done with any exiting tools and mortscript etc ...
http://www.xs4all.nl/~itsme/projects/xda/tools.html
has something called riltest ...
riltest - dumps all kinds of info from the phone via ril
But the zip files does not have this file... Could any one let me know if this file is available any where else.
Ok Got a riltest from Another forum which does similar ... ALMOST....
what it can do is dump all to a LOG file ... I am using a Mortscript
1. Run the app
2. make app to dump logs
3. get the details from the file.
4. close the app.
Now loop this for with a sleep ...
But still looking for better way.. Attached is the file for anyone who is looking for similar stuff.
Hi,
I too was looking for something in this line and ended up writing it myself.
Props to this chap for the code to get me started:
http://dalelane.co.uk/blog/?p=241
Basically you call 'RilCmdLine.exe' with a parameter indicating what field you want. It returns the field as an int to MortScript (I think you need MortScript 4.3b1 or above?).
Supports LAC, Country Code and Cell Tower ID.
The zip includes a test mortscript - you may just need to edit the path to RilCmdLine.exe
(Source code on request. I may even support it )
Hope this helps!
onion
Hi
Thanks for the exe file. However I am unable to see any result when I run the exe/mscr on my mobile (HTC 3300 WM6). I did edit the path also executed from cmd line on mobile.
Also Mortscript RunWait and Run will not return any results as per the Mortscript doc. So the result has to be redirected to a file.
Could you please check and let me know if the exe is required to be executed with different parameters.
Thanks
What version of Mortscript are you running?
I had to upgrade to 4.3b2 to get the return code from the exe.
Get it here
http://www.sto-helit.de/index.php?module=download&action=view&entry=125
In the notes for b1 mentioned the return code functionality being added.
Hope this sorts it for you
Perfect !! Thats works perfectly ... I updated to MortScript you have suggested.
Excellent Work !! ... Really good. Thanks man
Will it be possible that if I don't pass any Command line parameter ... Can I get all the values... Like CELL ID, LAC etc ..
Glad you like it
Unfortunately you can get all the values at once (at the minute you can only return numbers from the exe, so there is no way to separate them).
My original idea is something along what you suggest - if I get that working I will post a new exe up here.
Thanks
Thanks onionfx! This is just what I was looking for as well. Trying to do something similar to what wishme said. ;-) The common profile switchers out there are not very useful to me because I'm more of in a rural area, and cell towers are farther apart, so my home and work cellid overlap sometimes, so I want to also take into account signal strength to see if I can fine tune it better. Will probably use Mortscript since it's the only thing I've learnt to code with for Windows Mobile.
I'm bookmarking this page to see if you eventually get the prog to output all in one line (and reduce the CPU churn of calling the same prog several times).
BTW, how about also returning nearby cells in order of signal strength? That would be awesome to fine-tune your location even more!
Good work!
Cesar
Doing some thinking about this
I can't see any way of returning all the values at once.
The C code can only return an int in the range -2,147,483,648 to 2,147,483,647 and my CellID and LAC are 5 digits each so if they ever started with a digit greater than 2 I couldn't return it.
The 2 best options I think are writing another exe that dumps the data either to a file, or to the registry in a similar way as riltest above, but without the UI part.
Then write a script that could be included, and which has nice subs to access each parameter (or you are free to write your own script calls to do this).
I'm tending to the file as I imagine reading from the registry is a bit slower than reading the file (in one go and storing all the params as variables)?
Also I can do less damage if I use a dedicated file!
Anybody got any better ideas, or has a good reason to use the registry?
Goodnight
Are we talking about GSM signal strength
REGISTRY entry: HKLM\System\State\Phone\Signal Strength (DWORD value)
More here: http://wiki.modaco.com/index.php/Windows_Mobile_5_Registry_Tweaks
Also is it possible to get all other the cellids at any point not the one phone is connected to ? I have not see any app providing this info.
Except for Google maps on mobile (without GPS) it uses triangulation technique to get the Latitude and longitude of a location with all cell id locations available. for this method to work we requires atleast 3 cell id.
Does RILCELLTOWERINFO gives details about other towers also ?
I wonder what the requirements are for the command line tool?
It locks up when I run it on my MotoQ smartphone.
onionfx said:
Supports LAC, Country Code and Cell Tower ID.
The zip includes a test mortscript - you may just need to edit the path to RilCmdLine.exe
(Source code on request. I may even support it )
Click to expand...
Click to collapse
I can't get this to work. I get "-1" for all 3 values. Anyone offer any reasoning as to why this may be? I believe my ROM includes .Net framwork, but I'm not sure how to check.
Thanks
onionfx said:
Basically you call 'RilCmdLine.exe' with a parameter indicating what field you want. It returns the field as an int to MortScript (I think you need MortScript 4.3b1 or above?).
Supports LAC, Country Code and Cell Tower ID.
The zip includes a test mortscript - you may just need to edit the path to RilCmdLine.exe
(Source code on request. I may even support it )
Hope this helps!
onion
Click to expand...
Click to collapse
Excellent work! Thank you!
Thanks onionfx for your contribution. I might need it for a use similar to the one described by wishme.

EVO FM TRANSMITTER TUTORIAL (needs dev work)

the evos Broadcom chip has a built in fm receiver and also a transmitter.
according to some threads and diagrams ive seen the transmitter does have a power source, it just doesnt have and software code to actually work.
like hdmi the hardware was there but there was no code set up, therefore we didnt have full hdmi out. it had to be built from scratch.
the hardware for the fm transmitter is there we just need some one to build the code for it.
some one please take this on!!
This tutorial was originally posted in > android development and hacking > android software development.
i am reposting it here in the evo forums for guidelines
its a nice tutorial but its old. i think it was for android 2.0 ive followed the tutorial but i couldnt get it working, and i by no means have the experience to switch things up and get it working.
[TUTORIAL] Reverse engineering HTC FM Radio for noobs (on EVO 4G)
Okay, I'm writing this because I want to help any other newbies trying to learn how to reverse engineer. The technical details involved in this are extremely daunting, so the purpose of this tutorial is to first explain in layman terms exactly what you're trying to accomplish and what to expect. Then we'll go over the details. That way you're not completely blind going into this. I'm fairly new to the scene, so I'm not as knowledgeable as everyone else. If you see any errors in my post, let me know so I can change. I'm going to assume you know a little bit of Java, can find your way around a computer, and know nothing about Android. The techniques used should work with other Android phones. For this tutorial I'm using Windows 7, Cygwin, and my stock (not rooted) EVO 4G mobile phone.
The FM tuner for the Evo is run by a Broadcom chip: BCM4329. This chip is pretty amazing in that it does wireless, bluetooth, and it has an FM receiver/transmitter. We're interested in the FM receiver / transmitter.
Now, all android phones are based on a Linux kernel. Basically they're Linux running computers. The Android operating system is then installed onto the linux system. Every app is then run off of Android.
Android is based on Java but it is not a Java system. It uses a virtual machine called Dalvik. Google did this to get around licensing issues with Sun Microsystems. So they pretty much invented their own machine language (called byte code) for the Java language. This makes things complicated for the reverse engineer because from what I've read, once Java is converted into this machine language or byte code, it can't be converted back.
So let's rehash.
If you were programming strictly in Java, you would see these extensions:
Java source code = .java
Compiled Java source code = Java byte code = .class
Compressed file to package your program = .jar (Java Archive)
But since you're programming in Android and Dalvik, you will see these:
Java source code = .java
Compiled Java source code = Dalvik byte code = .dex
Compressed file to package your program = .apk
(I haven't mentioned this, but HTC further Optimizes their .dex code)
Optimized Dalvik byte code = .odex
I'm writing all of these down because it's very easy to get confused with all of the extensions. (for me at least!). remember how I said once you go dex, you can't go back to java? That's where JesusFreke comes in. He's a senior member of XDA, and he created "baksmali" and "smali", two programs that can convert the Dalvik code back into a human readable format. These files have extensions of .smali
Decompiled Dalvik byte code = .smali
But what can you do with .smali files? That's where this other senior member, brut.all comes in: He developed apktool. apktool takes JesusFreke's work to the next level. This program in conjunction with NetBeans, actually lets you trace through any program using the .smali code taken from JesusFreke's programs!
apktool does this by converting those .smali files into "fake" .java files that can be used by the NetBeans (program that compiles and makes java programs) IDE. I say "fake" because apktool embeds the .smali code into java files as comments. However, once you attach a debugger to NetBeans, you'll see that the debugger will follow line by line every execution statement found in the smali code!
So...... you can take the program you want, plug it into Net Beans using a debugger (using the default ddms command provided by Android SDK), and you can trace everything you do in the program. I have it connected to my phone, so whenever I push a button while running my HTC FMRadio app or unplug my headphones,I see the corresponding response to the HTCFMRadio code I have loaded in NetBeans. I can now see in real-time how the program operates from my own interactions... JAM.
Technical Aspects: How to get from ground zero to tracing HTCFMRadio?
1.) Download Android SDK - Go to google development site and follow instructions: Make sure to download the latest Java JDK. Once that is installed, download NetBeans 6.8. Unfortunately, smali debugging does not work with the lastest versions of NetBeans.
Download the "Java SE" version for minimal space
http://netbeans.org/downloads/6.8/index.html
You can follow the rest of Google walkthrough and download Eclipse and ADT plugin, but it's not pertinent to this. You're going to be using adb and ddms from the android SDK extensively, so make sure the path for </android SDK/tools> is included in the PATH variable in your ENVIRONMENT SETTINGS. To get here, right click My computer, click properties, Advanced Settings, ENVIRONMENT SETTINGS.
2.) Search for 7z and download it. It is an awesome and free compression tool that will be extremely useful. It can be used to "unzip" .jar, .apk, and other compressed formats.
3.) Get the Radio app. You can do this by going to "shipped-roms" website, downloading the latest Supersonic image, and following the directions in the unlockr tutorial for HTC kitchens at the unlockr website... (once you have extracted the files from the image, you can look in the system/app and system/framework directories to get the files listed below) or:
you can pull the following files from your phone:
Using the command prompt type (and with phone plugged in, and with USB debugging enabled on phone):
adb pull /system/app/HtcFMRadio.odex
adb pull /system/app/HtcFMRadio.apk
adb pull /system/framework ./framework
This will put HtcFMRadio.odex and HtcFMRadio.apk in the current directory and create a framework directory with more files. A couple of the files in the framework are needed for the HtcFMRadio app, but for simplicity, we're just going to pull the whole directory.
Now that we have the files, we have to make a few changes to make the app installable and to be viewable by the debugger. To do this we have to decompile the .odex format into a human readable format we can edit. That brings us to:
3.) Download baksmali and smali from Project Hosting on Google Code (google search smali).
Usually an Android application is made up of one file, an apk file. Inside the apk file is an AndroidManifest.xml file, a classes.dex file (compiled Java code for the program), and other folders. The other folders contain either graphics or other .xml files that tell the program how it should look to the user. We don't have to worry about those for now. This is important because APKTOOL only opens programs set up this way. But wait up? We didn't download one .apk file, we downloaded an .apk file and an .odex file! What gives? Well, if you right click the apk file and open it (using 7z), you'll see that it's missing the classes.dex file. The dex file for the app is actually the HtcFMRadio.odex file we downloaded. So, to make this system app more like a nominal app, we have to find a way to convert the HtcFMRadio.odex to a classes.dex file. That's easy with baksmali and smali!
Once you download goto command prompt and type:
java -jar baksmali-<version>.jar -d framework -x HtcFMRadio.odex
(Remember to match baksmali-<version>.jar with the filename of baksmali you downloaded)
If done correctly, you should see a newly created \out directory
This creates an out\com\htc\fm directory with many .smali files.
Now let's reverse the process and put it back as a dex file. Type at command prompt:
java -jar smali-<version>.jar out -o classes.dex
If done correctly you'll see a newly created classes.dex.
now, right click on HtcFMRadio.apk (select 7z and open). Drag classes.dex into the file. Say yes to the prompt. Now you have a normal apk file APKTOOL can read!
4.) Download APKTOOL from Project Hosting on Google Code and the helper apps for your OS. (If you're extracting files for windows OS you should have apktool.bat and aapt.exe). Extract (again using 7z, don't you love this program?) apktool.jar (keep it as a jar file, don't extract the stuff inside of it), apktool.bat, and aapt.exe to the directory you're working on. To make things neat, you can also delete HtcFMRadio.odex (you don't need it anymore) and classes.dex (make sure you put it in the HtcFMRadio.apk file first!)
If this is the first time you're using apktool, then you have to install the htc framework so apktool can baksmali the Radio app. You only have to do this once:
apktool if ./framework/com.htc.resources.apk
Alright, at the command prompt:
apktool d -d HtcFMRadio.apk
This extracts the contents of HtcFMRadio.apk and places them in the HtcFMRadio directory. However, there are two major differences between this content and the content created in step 3. If you go into the smali directory you'll see that instead of .smali files, you'll see .java files. And if you go back and edit the AndroidManifest.xml file, you will also see that it's in text! Android applications convert their xml files to binary format. Now that APKTOOL has converted everything to an IDE friendly format, we can use NetBeans to edit everything. The first thing we're going to do is edit AndroidManifest.xml (using notepad) and add the following:
android:debuggable="true" to the Application tag.
IT should now look like this:
<application android:theme="@android:style/Theme.Black.NoTitleBar" android:label="@string/fm_app_name" android:icon="@drawable/fm_radio" android:taskAffinity="android.task.fmradio" android:description="@string/htc_corp" android:allowTaskReparenting="true" android:debuggable="true">
This permission lets the debugger watch the program while it's running on the phone.
We are going to run into two problems if we try to install this program. One is that Android doesn't let you install more than one copy of a system app. The second issue is that if we change the signature of our system app, then we'll have to change the signatures of our other system apps as well! Ahh.... So, to get around that, we're going to trick Android into thinking we have a completely new program. We're going to do that by renaming the com.htc.fm class to com.htc.modradio class. Next step:
5.) Cygwin (or Linux virtual machine)
The easiest way that I can think of to replace strings in multiple files is by using linux. You can most definitely do it in WIndows, but I dont know how. If you let me know how, I can put it in this tutorial.
(update: you can use Notepad++ to easily find/replace strings in multiple files for Windows. You still, however, want to download Cygwin if you're going to develop with Android-NDK.)
For now, just search for Cygwin (Cygwin is a program that lets you run Linux commands from a command prompt using your Windows directories), and install it. Make sure to have the Perl option selected. You'll need Perl to make the following commands work.
Once you get Cygwin up and running
cd <to your HtcFMRadio directory>
in my case it's
cd /cygdrive/c/Users/Jerry/Desktop/HtcFMRadio
now type the following commands in this order:
this command changes all occurances of htc/fm to htc/modradio in your xml and .java files.
find ./ -type f | xargs perl -pi -e 's/htc\/fm/htc\/modradio/g'
this command changes all occurances of htc.fm to htc.modradio
find ./ -type f | xargs perl -pi -e 's/htc.fm/htc.modradio/g'
If you don't follow this order, your source code will get messed up.
If using cygwin, a bunch of .bak files will be created. Using windows search, find all .bak files in your HtcFMRadio directory, then select them all and delete them (Make sure they are only files with .bak!)
Now just rename the fm directory to modradio. It is located in HtcFMRadio/smali/com/htc
Now go to your windows command prompt and type:
apktool b -d .\HtcFMRadio modradio.apk
Now sign and install modradio.apk on your phone.
adb install modradio.apk
If you have never signed before, then you need to use keytool and jarsigner. These two files are in your JDK directory, so make sure you include your JDK directory in the PATH variable of your ENVIRONMENT SETTINGS. (To get here, right click on My Computer, click Properties, Advanced Settings, Environment Variables. Once you make change, open up a new COMMAND prompt to see changes).
cd to the directory which has modradio.apk
now type:
keytool -genkeypair
Answer all questions, then use the same password for all password prompts.
Next type:
jarsigner -verbose modradio.apk mykey
Type in the password you created in the above step. Your apk should now be signed.
Next install:
adb install modradio.apk
Success!
6.) Testing the app on phone
Go to your phone and you'll now see a new FMRadio icon next to your first. Click on it and watch it open. It should now be able to play music. Keep it open.
7.) Using Netbeans
Go into HtcFMRadio and delete the build directory created by APKTOOL.
Now open up Net Beans and click on File, New Project, Select Java Project with Existing Sources, click on Next
Select HtcFMRadio directory for Project Folder, rename Project Name to whatever you want. Let's type in ModRadio. click on Next
Next to "Source Package Folders" click on "Add Folder" and select the smali directory.
Click Finish. For a quick tutorial by Brut.all, search APKTOOL in youtube and click on: Apktool Demo 2 - Smali improvements
Right click on Libraries. Click on "Add Jar / Folder". You want to add Android.Jar. Since I have Android 2.1 loaded I went to /platforms/android-7 located in my android SDK directory.
Your project is now ready for editting!
8.) Running the Debugger to trace through program.
Next go back to Windows command prompt and type ddms. This runs the Dalvik Debug Monitor. A window should open up. In the left hand side you should see com.htc.modradio. That's our app! To the right you're going to see 2 numbers, you're interested in the one to the right, 4 cells away from com.htc.modradio. This number is a port number, and you're going to use it to communicate with NetBeans. (In my case it is 8603)
Go back to NetBeans and click on Debug, Attach Debugger.
In the host field type: localhost
In the Port field: type in the second number you saw. (8603)
If everything is working you'll see a bug appear next to com.htc.modradio in the Dalvik Debug Monitor. Look at the bottom bar of NetBeans for feedback. If you get errors make sure the numbers match, or try port 8700 and make sure you select com.htc.modradio in the Dalvik Debug Monitor. Port 8700 is the default port used for whatever program you select in Dalvik Debug Monitor.
9.) Setting a breakpoint
I'm making this a seperate step because it is completely arbitrary. When creating a break point be sure to follow this rule:
You must select line with some instruction, you can't set breakpoint on lines starting with ".", ":" or "#".
Rather than looking for a spot to breakpoint, though, I'll tell you where to put one so you can quickly see how the debugger traces through the code. You aren't "REQUIRED" to do the next step, but if you want to trace you have to put a breakpoint somewhere.
In Net Beans click on the Project tab, click on Source Packages, com.htc.modradio, and then doubleclick on BroadcomFMTuner.java
We're going to insert a breakpoint. Scroll down to line 3226 and on your keyboard press: CTRL-SHIFT-F8, select line in dropdown box and hit ok. (To keep it simple, I usually look for "invoke" instructions to set breakpoints at)
Now go to your phone and click on the physical "back" button on your phone. This will clear the radio,(you should still be able to listen to music). Drag your status bar down. You should see a radio icon. Click on it again. The radio backgroudn will appear, but you wont' see any text or anything. Now go back to your netbeans application. You should now see debug options highlighted! Click on Step Over (F8) to step through!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
found a pdf
for the chip set
http://pdf.eccn.com/pdfs/Datasheets/Broadcom/BCM4329.pdf
http://www.broadcom.com/products/Bluetooth/Bluetooth-RF-Silicon-and-Software-Solutions/BCM4329
I'm not a developer, but this would be cool to have..
-m
I agree with diomark. I don't code either, but i would LOVE to have this feature on my phone. I'd put up $20 to backup my support.
I agree...I've seen this question before, when the evo was released. I'm surprised no Dev has tried to attempt it. I'd throw $20 since it'd save me from buying an fm transmitter, plus it'd give me one more feature to brag about .
Two things come to mind..
First is there an antenna attached to the RF OUT for the transmitter? No antenna, no worky and possible damage to the chip itself. Judging from the FCC site there is no FM BC antenna.
Second is the FM transmitter FCC Type Accepted? Quickly looking at the FCC site I would say no.
https://gullfoss2.fcc.gov/oetcf/eas...e=N&application_id=939126&fcc_id='NM8PC36100'
https://gullfoss2.fcc.gov/eas/GetApplicationAttachment.html?id=1278204
possibly the antenna might be headphones attached just like the fm radio antenna.
it would be so nice to use the fm transmitter to send music through my car radio to my car speakers!!!!!!
I already have the double male phone plug from my phone to the car stereo, the whole point would be to be wireless.
look at the pdf i attached in the OP
3 things i find interesting are
1. FM receiver and transmitter (76 MHz to 108 MHz FM bands);
2. Programmable FM transmit output power
3. Transmit Output Power: 117 dbuV
adeyo said:
possibly the antenna might be headphones attached just like the fm radio antenna.
it would be so nice to use the fm transmitter to send music through my car radio to my car speakers!!!!!!
Click to expand...
Click to collapse
To receive yes. Transmit no. A transmitting antenna has to be cut a certain length to resonate at the frequency that it will be transmitting at. Otherwise you will toast the transmitter because the power going out to antenna could be reflected back into the chip. When RF has no place to go it generates heat (think microwave oven).
Some reading for those interesting.. http://en.wikipedia.org/wiki/Dipole_antenna
kf2mq said:
To receive yes. Transmit no. A transmitting antenna has to be cut a certain length to resonate at the frequency that it will be transmitting at. Otherwise you will toast the transmitter because the power going out to antenna could be reflected back into the chip. When RF has no place to go it generates heat (think microwave oven).
Click to expand...
Click to collapse
i got this from broadcom
heres the link
http://www.broadcom.com/press/release.php?id=1233460
read carefully.
it states that the fm does have an antenna
''the BCM4329 uses single-stream 802.11n to transmit and receive data''
it says it doesnt have multi antennas due to size and power consumption.
it has one antenna that it uses for everything.
The BCM4329 includes both FM transmit and receive capabilities. FM transmit enables consumers to stream music directly from a personal media players (PMPs) or mobile phone to car stereos or home theater systems without having to purchase special adapters or use bulky cables. FM receive is already a popular feature that enables consumers to obtain real-time traffic information as well as listen to music, news and sports broadcasts on their mobile phones.
The BCM4329 also integrates Bluetooth, which is already a ubiquitous feature in mobile phones and PMPs, enabling hands-free communications with wireless headsets, cordless data synchronization and stereo music streaming to headphones and speakers. Since Bluetooth and Wi-Fi operate in the same 2.4 GHz band, both the Broadcom BCM4325 and BCM4329 combination chips use innovative co-existence algorithms and a shared antenna system to minimize interference and provide even better performance than products that use separate Bluetooth and Wi-Fi solutions.
"Handset manufacturers are excited about the opportunities that 802.11n brings, but they are looking for single antenna solutions that meet stringent size and power requirements," said Chris Bergey, Director of Broadcom's Embedded WLAN line of business. "The BCM4329 is another example of how Broadcom is driving the industry towards combination solutions, not by delivering a one-size-fits-all technology, but by integrating the right mix of technologies for the right applications."
Technical Information
Since handheld devices lack the space, battery power and processing power to support 802.11n implementations with multiple antennas, the BCM4329 uses single-stream 802.11n to transmit and receive data. This significantly reduces the system's footprint and power consumption when compared to multi-stream solutions. Despite the use of a single antenna, the BCM4329 provides faster and more reliable wireless connections than current 802.11g products.
Missed a big thing there.. FM Broadcast operates from 87.9MHz to 107.9MHz. Bluetooth and Wifi operate around 2.4-2.5GHz. The single antenna solution is for BT+Wifi, and FM but they do not share the same antenna. Your headphones act like a 1/4 wave end-loaded dipole antenna. A fullwave FMBC antenna is about 4 meters (approx 12ft) tall, and Bluetooth/WiFi is about 11cm (approx 4-5 inches) tall.
More importantly looking at the datasheet
The FM receiver/transmitter does share a common antenna. You are correct. The next big thing is the FM transmitter FCC Type Certified for use in the US? I haven't had a chance to look through the cert for the EVO. If it is not then it's use would be illegal here in the US.
kf2mq said:
The FM receiver/transmitter does share a common antenna. You are correct. The next big thing is the FM transmitter FCC Type Certified for use in the US? I haven't had a chance to look through the cert for the EVO. If it is not then it's use would be illegal here in the US.
Click to expand...
Click to collapse
Have to watch out for those people riding around to see if your licensed to transmit fm radio in your car
aimbdd said:
Have to watch out for those people riding around to see if your licensed to transmit fm radio in your car
Click to expand...
Click to collapse
ROFL! I was just thinking the same thing. This would be AWESOME!!
aimbdd said:
Have to watch out for those people riding around to see if your licensed to transmit fm radio in your car
Click to expand...
Click to collapse
And you never know who works for the FCC either that's lurking on the board. But if the radio was not type certed, and you posted a how-to then you would in violation of XDA's TOS. Don't think Toast would be amused. Also it is not a matter of being licensed (due to the low output power). But operating a transmitter that maybe causing interference to other devices is what will get you in trouble. Jack with your neighbors medical telemetry, and see how quickly you'll get a visit from the FCC to inspect your station (radio) eventually. Without getting into too much detail, you could get slapped with a NAL which you have 10 days to respond. The FCC can drag you to Federal court. You can get fined starting at $7500 per day. All things aside you'll more than likely not get caught but Murphy does have his day. Then you'll come on XDA *****ing that you got fined, and/or your phone got confiscated. Then everyone on XDA will have a good round of lulz at your expense.
Sent from my PC36100 using Tapatalk
IF performing this mod is the same as having and using a FM transmitter for personal use then I don't think anyone is going to get into trouble.
Bioxoxide said:
IF performing this mod is the same as having and using a FM transmitter for personal use then I don't think anyone is going to get into trouble.
Click to expand...
Click to collapse
Provided that the transmitter was tested, and approved by the FCC yes no problem. I'd be the first to mess with it. But if it isn't there has to be a reason why not. It could be sending out spurious interference which in turn could cause problems with other electronic devices or even with the phone itself. That's my point. I don't think there are many here on XDA that are RF Engineers much less have a working knowledge of radios.
Much like back in the heyday of CB radio. You had people with recipes for modding their radios that were passed around. So you had the average Joe with no test equipment, and no knowledge. Just the golden screwdriver. Next thing you know it their radio sounds like crap, interfering several channels up and down, or letting out the magic smoke.
so the fcc can approve a phone with an untested/unapproved fm transmitter that is also found in ipads and other phones?
UPDATE: crap so i guess it's the final application that is approved by the fcc and if transmit function is not part of the final application it doesn't get tested. RATS!
kf2mq said:
Provided that the transmitter was tested, and approved by the FCC yes no problem. I'd be the first to mess with it. But if it isn't there has to be a reason why not. It could be sending out spurious interference which in turn could cause problems with other electronic devices or even with the phone itself.
Click to expand...
Click to collapse
There doesn't have to be anything. They didn't want that feature, so why test it?
@ kf2mq
please stop voicing your opinions on this topic.
im trying to get a dev to work on this so we all can have a very nice sable feature not have you stomp it in the ground.
first you posted and said it did not have an antenna which after very little research i found documents and diagrams showing that in fact it does
now your trying to tell me the fcc has to approve it?
wtf?
if it wasnt already approved by the fcc broadcom would not have been able to produce the chip with the fm transmitter in the first place
stop trolling on my posts.
thank you.
Nice haha.
Could try posting it in general with dev needed in the title.
Sent from my PC36100 using XDA Premium App

Can you extract a single-file app from another WM OS?

Here is what I'd like to do: I'd like to use Samsung Omnia 2's default Contact Manager with my other WM phone. So I copied the Omnia 2's contact manager program in the \Windows folder (SECContact.exe) to my other WM phone and tried to run it. But it only gives me a black screen.
I know you probably should install an app rather than copy the .exe file, but since it's only a single-file program, I was hoping this would work.
Is there any way to make this work? I really like Samsung Omnia 2's contact manager and calendar apps.
i dont know what wm phone youre trying but there are extracted samsung app in cab files floating around on modaco forum. that calendar is called touch calendar.. google search it
screwdriv said:
i dont know what wm phone youre trying but there are extracted samsung app in cab files floating around on modaco forum. that calendar is called touch calendar.. google search it
Click to expand...
Click to collapse
I'm trying to extract the calendar and contact apps.
Yes, I've seen them at Modaco.
But the problem is, they are not in CAB format. They are in just zipped files to be used when creating a custom ROM.
Is there an easy way to create an installable CAB file from these extracted files?
You got a black screen cos You didn't copy the corresponding DLL file(s) also. The ZIP files are not always for ROM creation, sometimes they are just for copying. And if You didn't find i8000 contact manager and calendar CABs, You didn't search enough, sorry.
For CAB file creation search for WinCECabManager.
If you have a PC with a Microsoft development environment on it, you can use the command DUMPBIN /ALL SECContact.exe to dump out the program's import table, which contains a list of the DLLs the program requires.
If you use a Borland/Embarcadero development setup, Rad Studio, Delphi, C++ Cuilder etc., TDUMP does a similar job.
If it has been written in .NET use Red Gate's .NET Reflector to open it up and see the address spaces it requires.
aiiro said:
You got a black screen cos You didn't copy the corresponding DLL file(s) also. The ZIP files are not always for ROM creation, sometimes they are just for copying. And if You didn't find i8000 contact manager and calendar CABs, You didn't search enough, sorry.
For CAB file creation search for WinCECabManager.
Click to expand...
Click to collapse
Well, I did get the i8000 contact manager and calendar apps from Modaco, but they result in the same black screen also.
http://windows.modaco.com/topic/298414-cabs-repository/
Is it possible that these apps are supposed to work only on Samsung phones from the beginning? It's conceivable that these apps check the device first and decide to operate or not based on the device.
stephj said:
If you have a PC with a Microsoft development environment on it, you can use the command DUMPBIN /ALL SECContact.exe to dump out the program's import table, which contains a list of the DLLs the program requires.
If you use a Borland/Embarcadero development setup, Rad Studio, Delphi, C++ Cuilder etc., TDUMP does a similar job.
Click to expand...
Click to collapse
You do NOT need these development environments to examine native apps, you simply need CFF Explorer, and the best is, it costs nothing because it is freeware!
Why do low-level actions on .exe analysis if probably the packaging on the donor device has done already all you need? A rough workflow could be:
Get the .nbh from the donor device
dump it with e.g. OS Builder
identify the package with the application you need
You could also pick it from a kitchen for the donor device.
It will require effort to analyze the dependencies (.rgu, .provxml) and linked .dll.
In general there are apps that are easy to get and others are difficult, no simple rule here.
@jwoegerbauer Good point!
CFF Explorer is a nifty bit of work for a freeware program.
Click on the Dependency Walker tree entry to see what the program requires.
My view of the things
tobbbie said:
Why do low-level actions on .exe analysis if probably the packaging on the donor device has done already all you need?
Click to expand...
Click to collapse
An .EXE (always by default) relies on COREDLL.DLL, regardless the .EXE is written either in managed or in native code, but COREDLL.DLL is not COREDLL.DLL. It is alone OEM's decision what functionality to pack into device's COREDLL.DLL . Means which API-functions COREDLL.DLL exports.
This also is known as OS's license level. For a core version, i.e small function range, OEM (actually) has to pay Microsoft a license fee of $3 USD, a pro version, i.e full function range, (actually) costs $16 USD.
This in mind, you first of all always have to compare the unit's COREDLL.DLL's export table and the .EXE's import table, if an .EXE will not run, hereby mostly reporting an error like "components missing".
Resume: Only if you find the APIs imported by .EXE in COREDLL.DLL's export table, the .EXE runs.

Categories

Resources