yashsingh1/xdaforums huggingface dataset:
[Click Android Development] gothicknight:
So let me see if I've understand this correctly.

When you've said that you got the FM working, you meant the CM6 FM application, not really using the FM device in the Tattoo, and that you're trying each and every file to see if that file is the device one?
[Click Android Development] hrk:
I'll have a look at the source as soon as possible, but from what you "quoted", that if should be the first initialization.
[Click Android Development] KalimochoAz:
The code:

/**

* Points to the device node for the FM radio

*/

private static final String FMRADIO_DEVICE_FD_STRING = "/dev/radio0";

....

/**

* Manipulates the FM radio hardware

*/

private FmReceiver mReceiver;

....

/*

* Turn ON FM: Powers up FM hardware, and initializes the FM module .

* @return true if fm Enable api was invoked successfully, false if the api

* failed.

*/

private boolean fmOn() {

boolean bStatus = false;

Log.d(LOGTAG, "fmOn");

mAudioManager.registerMediaButtonEventReceiver(new ComponentName(getPackageName(), FMMediaButtonIntentReceiver.class.getName()));

mAudioManager.requestAudioFocus(mAudioFocusListener, AudioManager.STREAM_MUSIC, AudioManager.AUDIOFOCUS_GAIN);

if (mReceiver == null) {

mReceiver = new FmReceiver(FMRADIO_DEVICE_FD_STRING, null);

if (mReceiver == null) {

throw new RuntimeException("FmReceiver service not available!");

}

}

if (mReceiver != null) {

if (isFmOn()) {

/* FM Is already on, */

bStatus = true;

Log.d(LOGTAG, "mReceiver.already enabled");

} else {

// This sets up the FM radio device

FmConfig config = FmSharedPreferences.getFMConfiguration();

Log.d(LOGTAG, "fmOn: RadioBand :" + config.getRadioBand());

Log.d(LOGTAG, "fmOn: Emphasis :" + config.getEmphasis());

Log.d(LOGTAG, "fmOn: ChSpacing :" + config.getChSpacing());

Log.d(LOGTAG, "fmOn: RdsStd :" + config.getRdsStd());

Log.d(LOGTAG, "fmOn: LowerLimit :" + config.getLowerLimit());

Log.d(LOGTAG, "fmOn: UpperLimit :" + config.getUpperLimit());

bStatus = mReceiver.enable(FmSharedPreferences.getFMConfiguration());

Log.d(LOGTAG, "mReceiver.enable done, Status :" + bStatus);

}

mReceiver is created with no null value. ( but point to /dev/radio0 that is not present )

Code goes into "// This sets up the FM radio device" and finally returns bStatus as true.

I dont reach to see where in the code ( cpp code ) is created the FMReceiver "seams to be in android_hardware_fm.cpp"

PD: My code is the same but with more logs, no sense to post it that.

Thanks for help
[Click Android Development] hrk:
Ok, thank you for posting it.

You should see at the beginning of the source file something like:

package something.whoknows;
...
import anything.dontknow.FmReceiver;

The "something.whoknows" will match the directory where you found the source code. The "anything.dontknow" will match the directory where you will find the source for FmReceiver.java (it will not be .cpp, but .java).

From what I can understand/guess, FmReceiver could/should be a Service (public class FmReceiver extends Service) and it doesn't complain about "/dev/radio0" missing on initialization (the first line you see). If you can post the cose for that class or PM it to me, I can give it a look (yeah, I haven't checked the source yet, sorry).

I have another question: when you do your tests, do you have Bluetooth on?

It looks like the absence of the special file is not a problem in the constructor, and this is not something unexpected.

This is the strange part: if bStatus is true, then it looks like the receiver was "turned on" successfully.
[Click Android Development] KalimochoAz:
Thaks,

This has being very helpful for me.

/**

* Constructor for the receiver Object

*/

public FmReceiver(){

mControl = new FmRxControls();

mRdsData = new FmRxRdsData (sFd);

mRxEvents = new FmRxEventListner();

}

/**

* Constructor for the receiver Object that takes path to

* radio and event callbacks.

* <p>

* @param devicePath FM Device path String.

* @param callback the callbacks to handle the events

* events from the FM receiver.

*

*/

public FmReceiver(String devicePath,

FmRxEvCallbacksAdaptor callback){

mControl = new FmRxControls();

mRxEvents = new FmRxEventListner();

acquire(devicePath);

registerClient(callback);

mRdsData = new FmRxRdsData(sFd);

}

As you can see is polymorphis function, so let me try. Also devicePath doen not return fails if no work. I have made lots of changes so I will remake all.

Thanks hrk

(compiling again)
[Click Android Development] hrk:
There's a shorter way to put it: FAIL.

You're welcome, just keep in mind that whatever change you make to the FM app, it will never work unless the special file "/dev/radio0" exists (and no, you can't create it on your own, it must be automagically created by kernel and udev).

Out of curiosity alone, you could look at the

acquire(devicePath)

function to see what it does, but as I said above, no good will come until "/dev/radio0" is available, and that is the job of kernel drivers.
[Click Android Development] KalimochoAz:
acquire is extrange, device is not used and it points to /dev/radio0 (sems not nice implemetation. bStatus is not used in the return...:

protected boolean acquire(String device){

boolean bStatus;

if (sFd == 0)

{

sFd = FmReceiverJNI.acquireFdNative("/dev/radio0");

Log.d(TAG, "** Opened "+ sFd);

} else

{

Log.d(TAG, "Already opened");

}

if(sFd != 0)

{

bStatus = true;

}

else

{

bStatus = false;

}

return (bStatus);

}
[Click Android Development] Sebring5:
glitterballs 6,1 CyanonMod gets my vote
[Click Android Development] galnorek111:
fmradio is fake?
[Click Android Development] arco68:
Well, /dev/radio0 is non-existent also when using original rom, so dunno exactly what device it's using, if any at all. Furthermore, original rom has radio firmware files under etc/firmware and a bin/bts program which takes care of loading these. My guess is that the new FM app is made to work with the newer Broadcom wifi/bluetooth chips in mind.
[Click Android Development] hrk:
Maybe I'll just get the source and check it out myself, but you should check if the constructor with no parameters is used in the code or not. If you're using Eclipse w/ Android SDK you can do it easily by selecting the constructor, then right click, References, Project.
[Click Android Development] hrk:
I stand corrected on my "no good will come". By looking at the code you've at least found a bug. I'd send back the fix to Cyanogen!
[Click Android Development] KalimochoAz:
I continue and I'll post all I found there. Thanks for your help
[Click Android Development] duufo:
when the perfect rom come to us

I wish wish .............:o:o:o:o
[Click Android Development] Jekkaman:
Why don't you guys try the radio app from Vodafone 845?

It has the same chipset as our tattoo, and Vodafone 845 uses Android 2.1, might work...
[Click Android Development] ikxdf:
the problem is the device used...i have download the rom and i'm checking the code if i can find something about.
[Click Android Development] ikxdf:
i need some specification (i don't remember well :) )

qualcomm hardware of tatto is MSM7225?

camera hardware code

radio hardware code

tahnks
[Click Android Development] ikxdf:
ok...vodafone 845(Huawei joy - Huawei U8120) have the same hardware of pulse mini (U8100) but with resistive lcd and phisical button.

i have already try to port the libs and apk from pulse mini: don't work....
[Venue Pro General] quinstar:
Check the artickle at wmpoweruser: http://wmpoweruser.com/dell-venue-pro-has-microsd-card-after-all/

Will probably be confirmed by others quite fast...

Anyone?
[Venue Pro General] nat45928:
woot!!!!!! now, is it occupied? if its not then...... 16GB + 32 GB = :D
[Venue Pro General] ericc191:
I looked at the picture and couldn't see where they were saying the slot was at. Is it supposed to be the opening on the bottom?
[Venue Pro General] ericc191:
Most likely it will be since they are offering 8GB and 16GB models.
[Venue Pro General] Se4nH4x:
Need a better picture xD
[Venue Pro General] nat45928:
read the pic:
[Venue Pro General] Se4nH4x:
Why does he think that though? Cause there is what looks like an indentation in the tape that looks like an SD card sticking out a bit?
[Venue Pro General] HYPER-X10:
My guess is the 16GB is an 8GB + 8GB micro sd......
[Venue Pro General] nat45928:
i honestly don't know, well have to see though, we need someone to void their warranty. :p but it could fit in there, comparing the micro sdhc card dimensions and a sim cards dimensions. but we'll see in due time.
[Venue Pro General] Se4nH4x:
Rofl look at the picture in this thread:

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

No warranty stick on it (I think it's from the phones documentation).

Now look at whats written on the bottom.

Does that look like a TINY picture of an SD card with an X through it?
[Venue Pro General] ericc191:
Hard to say, really..
[Venue Pro General] djca:
Looks like a "Do not put into trash." symbol to me.
[Venue Pro General] JoeTheFro:
I already popped the sticker (which does say VOID)... and it is back there. an 8 GB for me...

Does anyone know how to hard reset? all the other SD cards i tried are not seen or used... Phone boots up to 15meg space... and even a reset through phone does nothing...

Oddly, when i put other card back in (even when using reset function with a different card ) everything is still in place and good to go... no lost settings or anything...
[Venue Pro General] nat45928:
alright, so there is an sd card in the slot, but no other cards work? have you tried a brand new card?
[Venue Pro General] Se4nH4x:
Take a picture to show us please :)
[Venue Pro General] xxnoelziexx:
Hi JoeTheFro

quick question so you bought the 8gb version is the memory in the form of 8gb via micro sd card or nand memory?
[Venue Pro General] Se4nH4x:
He just said:

"I already popped the sticker (which does say VOID)... and it is back there. an 8 GB for me..."

read what he says..."there is an 8 GB SD card in the slot"
[Venue Pro General] JoeTheFro:
Here yah go..
[Venue Pro General] JoeTheFro:
I have two different branded SD cards, one is class 6, the other class 4. I cleared all data off and even wiped all partition info ( both are clean as a whistle ). No Go.

Also, taking the card from the dell and slapping it into the pc shows something, but no data block for creating (or deleting ) partitions.
[Venue Pro General] Arcarsenal:
Hmm. My sticker doesn't say VOID on it anywhere, it's just a piece of black tape. My coworker had the same thing. He removed the sticker but can't figure out how to remove the card from the slot since there is no spring assist and nothing to grip. How did you remove it? I imagine the filesystem on the SD card is unique to WP7 so the next step is to find a way to format a new SD card properly, I would think.
[Venue Pro General] xxnoelziexx:
Thanks for the pictures. I am now a lot happier that there is a slot hidden.

Hopefully dell can come out with some official statement regarding users changing this memory which doesn't void the warranty.

I am sure a simple software update would allow users micro sd cards to be used. As I understand they need to be formatted correctly before use which will wipe the contents.

Taken from pocket now.

It should be noted that since some disassembly of the device is required to access the microSD holder, performing an upgrade may in fact void the manufacturer's warranty. Plus, as with all Windows Phone 7 devices, a hard reset is required when switching cards, and apparently a card formatted for use with the platform is unreadable by standard PC card readers.

I was really hoping that the 8gb was in the form of nand memory and had a hidden sd slot.

Regarding some users saying that they had the words void if removed on the the sticker, it seems that some people have been sent engineer sample units which could explain this.
[Venue Pro General] tissot201:
Did you try reseting the phone through settings-->about-->reset?
[Venue Pro General] JoeTheFro:
It is the type of sticker that has it imprinted... so when you remove it, you can see the word show through.

Also, with a small flat head i was able to work it out without causing any issues.

Lastly i will be cheating the void warranty issue because i have the infamous "Engineering Sample" and the Wi-Fi bug that comes with it. I will have it quickly swapped out with no other questions asked.
[Venue Pro General] Se4nH4x:
He said "reset through phone" - what else could he mean...?
[Venue Pro General] JoeTheFro:
Yes; no go. Tried different combos when starting the phone

Vol Up + Vol Dwn + Camera - takes you into restore mode (needs to be plugged into system ), but zune comes up with an error (maybe the SD card).
[Venue Pro General] Arcarsenal:
Thanks for the info - we're both in the same boat as you with the engineering samples. He's had the same luck as you - no card will work in the Venue aside from the Sandisk. His Windows 7 PC wont even recognize the Sandisk as a storage device. He recokons this limitation is at the hardware level now. Hope we have a solution soon, or we get new 16GB models sent to us :)
[Venue Pro General] JoeTheFro:
Well, i am heading to the MS store near me tomorrow. Ill see what they can do about hooking up the 16GB for my troubles...

Yes, i think there must be some kinda OEM tool that writes something to the sd card that makes it valid for use. Too early for me to really know since no one is really talkin about what happens after throwing in new cards.
[Venue Pro General] ericc191:
Sigh, I was hoping for some NAND.
[Venue Pro General] kltye:
I'm Arcarsenal's coworker he's referring to. It's one thing if the operating system sees a drive but doesn't know what to do with it, but for the OS to not even recognize a device has been plugged in is not good at all. I believe some sort of change has been made to these cards - there are no markings on the back of the card. What I presume to be some sort of serial number of the card is silkscreened extremely dimly on the front, which seems different from off-the-shelf cards. That's probably why the controller in the phone doesn't recognize our cards: they're physically different, somehow.
[Venue Pro General] ANonymous627:
Stupid question

Does the initial boot process for the Dell Venue Pro differ any from subsequent boots (such as after a hard reset)? If so then if someone inserted a card into a brand new DVP before initially powering it on we might get a different outcome.
[Venue Pro General] yuri911qq:
the phone uses RAID/JBOD to manage the onboard NAND and the SD card, that's why your PC won't recognize the SD card
[Venue Pro General] kltye:
It's not that - the OS should be able to recognize the presence of a card regardless of the filesystem used. However, no card readers can physically "see" the card.
[Venue Pro General] ANonymous627:
Would you get the same result with the pre-installed card that comes in the HD7? Or are we dealing with a completely different issue?
[Venue Pro General] kdes12:
Have you tried what the everythingWM guys did with the focus?

(sorry, cant paste proper link, new user)

http : / / www . everythingwm.com/video-installing-a-microsd-in-samsung-focus/

its not just resetting, but FORMATTING... this may be the missing bit. fingers crossed.
[Venue Pro General] JoeTheFro:
Thanks, but no go. Pics Attached
[Venue Pro General] powersquad:
which class the is the micro sdhc card that comes shipped with the dell phone? 2? 4? or 6?
[Venue Pro General] kltye:
Class 4.

Extra characters to meet minimum requirements.
[Venue Pro General] ericc191:
Is it pretty fast loading games? I read that the HD7 and Trophy were much slower than the Focus when it came to loading times.
[Venue Pro General] matthewhypolite:
Hey, it seems u are trying to initiate the format process whiles the phone is connected to the pc.

Have you tried disconnecting it from the pc, and use the format shortcut (power+vol+cam), to get the format screen?
[Venue Pro General] kltye:
Are you referring to power up + power down + camera + power button shortcut? That just results in the "connect to PC" screen on the phone. There's no option to format from there.
[Venue Pro General] matthewhypolite:
http://www.everythingwm.com/video-installing-a-microsd-in-samsung-focus/

Power+Camera+Volume Down, being held down at the same time, per that video.
[Venue Pro General] kltye:
I've held down every button combination I can on my phone. Basically, volume buttons aren't necessary/don't do anything. Holding down the camera button + power button gets you to the "connect to PC" screen. All other button combinations don't work.
[Venue Pro General] matthewhypolite:
This really sucks.
[Venue Pro General] kltye:
By the way, just realized that trying to do the whole restore thing via Zune resulted in the same error above (unable to restore, no restore point), even with the stock microSD card. Basically need to find a way to create a backup of the phone, much like how iTunes does for their phones. I'm probably blind because I can't find that option.
[Venue Pro General] kdes12:
this probably isnt relevant, but when I had my Zune120, I was able to format the device by going to Settings > Device in the windows zune client software... there was a Format button somewhere around there, I am pretty sure. Maybe there is something similar with WP7 devices?
[Venue Pro General] kltye:
There's such a thing, but I'm not sure if it will really format the card - it just removes sync'd apps and media.
[Venue Pro General] TriAxisFL:
You should be fine if you just put the card in and format it. The whole OS is stored in ROM, so its not like you are going to lose that. Once it reboots it should reformat the Flash memory and allocate it as 1 storage drive. Then it will reinstall the OS. Once thats done you can resync with Zune and your media and apps will sync back over.
[Venue Pro General] ricky119:
so the good news is that there's hide slot for sd card replacement, but bad news is that we don't know how to do it and the warranty issue.

if this phone cannot replaced with my own card, i will cancel the preorder and order a samsung focus
[Venue Pro General] Peew971:
I don't think you've read the whole thread:rolleyes:.
[Venue Pro General] JoeTheFro:
I dont think a few have...

The samsung that people love to link to does not work the same way as the dell. The samsung has the SD slot in plain view so would need some sort of function to format the new cards for use. but in a system where we are not suppose to swap cards (the dell) technically does not need the format option... just the restore from a backup option (which we are sorta given, but it is not working at the moment).

So, this being the dell thread... if you have a video of dell please link. if not, please post in proper thread.

For those curious about stock SD not being read by PC, please see pics.

The first is a normal SD card, and the second is the SD from the VP
[Venue Pro General] ricky119:
hope someone could find a solution to use replaceable sd card
[Venue Pro General] yuri911qq:
ahhhhh fxxk this, i will just wait for the android version, at least i get removeable memory, copy/paste, multi-task, proper file management, maybe i can install WP7 on it
[Venue Pro General] Monty Burns:
So are we saying the only units this has been tried on are Engineering units? Is it possible these might be diferent?
[Venue Pro General] Jim Coleman:
Does anyone know what the proper way is to hard reset the Venue Pro? When I get mine I'm going to pop my Sandisk 32GB class 4 card in the slot before I boot for the first time, but in case that doesn't work, I need to know how to force a hard reset to make it set up the card correctly.

Cheers!
[Venue Pro General] KilZone:
This seems to be normal behaviour for Windows Phone 7 devices if you believe the Microsoft Knowledge Database. However what I don't get is why 'we' (as in everyone else, since I don't have a Venue Pro yet) are unable to format it to 'factory default' as stated in the article.

There was one other thing crossing my mind, as we are unable to format the device even through the Zune software, did anyone try this on a non-engineering sample? I think that the Zune software is unable to format the device as it does not have a 'correct' Marketplace ID (all phones have a unique ID which allows them to access the Marketplace / Zune). But it's just a thought though... It does not explain why we can't format through the device though.
[Venue Pro General] Jim Coleman:
My feeling is that you won't be able to format the card through either Zune or the phone - the only way would be through doing a hard reset, which forces the phone to set up the card for OS access.

What we need is to find out what the button presses are to instigate a hard reset.
[Venue Pro General] Monty Burns:
Agreed. Fire up your googles and bings gentlemen!

edit:

also, this has been one of the few phones thats been marketed as "user expandable ram" so, in the eyes of UK law, if it can't then thats blatent false advertising. For example, the Clove website:

So, I would guess that two things are potentialy going on here -

1; the engineering units in this thread (if they all are!?) are not ready to take diferent slots for whatever reason

and/or

2; as mentioned above, we need to know the correct key combo to reboot it. Maybe this will be in its manual?

Clove Dell Venue Pro

And this is not the only website to state this.

I honestly think, unless we get really lucky, we will have to wait until next week when we get our hands on proper production units. I think once we do, it will all become clear.

As I've said in another thread, i'm not overly worried as if it won't be expandable then its going back under either of at least two UK consumer laws: "Distance Selling" and/or "Sales of Goods" - and that would assume that Clove wouldn't accept it back volunatarily(sp?), which is unlikely as they seem to be pretty good.
[Venue Pro General] agp64:
Bugger:( so the Venue Pro does not have nand memory as well as a micro sd card slot.
[Venue Pro General] Jim Coleman:
Yes it does have an SD card slot. The 8GB onboard memory is an SD card. It's in the slot. Remove the sticker and take out the 8GB card, replace it with your Class 4 32GB card, then press the necessary hard buttons to cause a hard reset.

The only bit we're lacking is what the key combo is to do the hard reset.
[Venue Pro General] Monty Burns:
moot point now :mad:
[Venue Pro General] Peew971:
Not really a moot point since it's still being sold in the US and Expansys say they are not expecting delay.

Also we don't know if Dell UK will sell it next week like in the US.
[Venue Pro General] Jim Coleman:
Not really, whether we get our phones in November or January, we still need the hard reset button combo.

What Clove are saying about the SD card slot isn't correct, it does have a slot, I've seen the photos of it. It's just that it's not officially user accessible, because it's under a sticker and the slot doesn't have an ejector (you have to tease the 8GB card out with a pin).

We need someone to try putting in a class 4 32GB Sandisk card and then do a proper hard reset, and report on whether the phone recognizes the card or not.
[Venue Pro General] Monty Burns:
and....

This would fit with the investigations in this thread. I've now cancelled my order and await a phone that is CONFIRMED as being able to accept a 32gig card. In the meantime, i'll stick with my Omnia 7....

Why Microsoft, why????????:mad:
[Venue Pro General] Jim Coleman:
IT DOES HAVE AN SD CARD SLOT!!!!!!

It's just not officially user accessible. Oh I'm repeating myself.
[Venue Pro General] Monty Burns:
But this would backup the conclusions of the engineer units. The microsd when put in a pc should show something, at very worst something like "card needs formating". It doesn't. It doesn't even recognise that a cards inserted suggesting that the pinouts are physicaly diferent.

I wish you all the best, I really do, as I want a 32gig, qwerty, WP7 device....
[Venue Pro General] Monty Burns:
No, your jumping to conclusions. It has a FORM FACTOR that matches, we have yet to see ANY proof that it will take a "normal" sd card. See my post above, re pinouts/not recognised in a pc.