yashsingh1/xdaforums huggingface dataset:
[EVO 4G Themes and Apps] spiicytuna:
The solution is not for the faint of heart and will have to be reapplied with each nightly.

Add this to init.local.rc

###Bootsound - Safe to Delete: Start ###

service bootsound /system/bin/bootsound
user media
group audio
disabled
oneshot

on property:init.svc.bootanim=running # to correct timing
start bootsound

on property:dev.bootcomplete=1
stop bootsound
### Bootsound - Safe to Delete: End ###

Then make a new file called "bootsound" and push it to /system/bin

i.e. "adb push c:\path\to\bootsound /system/bin/bootsound"

#!/system/bin/sh

bprop=/system/build.prop
grepprop() { x=`grep "^$1=" $bprop | head -n 1`; echo $x | cut -d = -f 2; }

play=`grepprop "ro.config.play.bootsound"`

if [ "$play" = "1" ]; then
stagefright -a -o /data/local/android_audio.mp3
fi
exit 0

Issue the following commands:

adb remount
adb shell chmod 777 /system/bin/bootsound
adb shell chown root:shell /system/bin/bootsound
adb shell echo ro.config.play.bootsound=1 | cat >> /system/build.prop

Now put your startup sound, whatever MP3 it is, in /data/local with name android_audio.mp3 and it will be played at startup. You test it with an adb reboot. I flash nightlies on a regular basis so I stopped doing this as it's a PITA to constantly have to push changes each night. I like to flash + go.

'tuna
[EVO 4G Themes and Apps] cubanjinx:
Wow...only question is would this work for for stable 6? And can I do it thru term emu
[EVO 4G Themes and Apps] spiicytuna:
As long as you have a way to edit the init file + create/edit the new bootsound file then yes it can be done via term emu. Should work with any/all versions of cm6. Obviously you'd omit the "adb shell" portion of the shell commands.

'tuna
[EVO 4G Themes and Apps] laydros:
Wow. One of the best answers I have ever seen around here.
[EVO 4G Themes and Apps] austinjay:
Wow. Not kidding with the "not for the faint of heart" part. I think I will live with no sound. Unless, I knew how the hell to use that code. Meh....
[EVO 4G Themes and Apps] austinjay:
Will donate

Tuna or anyone else willing to walk me through this for a donation? Haha... I set up a whole mp3 for the boot to come to this road block. Also, for anyone reading, how can I change just the lock screen wallpaper on froyo. (Using plain black background right now and it makes the lockscreen a little too boring) Thanks.
[EVO 4G Themes and Apps] Max_Pain:
has this been confirmed working on CM6 final? read some comments over at the cyanogenmod forum that this script was droid x phones, not the evo?

i'm going to give it a try tonight or tomorrow night, some questions

1)where is the init.local.rc file?

2)what kind of file should the bootsound file be? .txt file? no extension? ??

3) the code you put after saying to make the bootsound, does that mean that code is to be entered into adb or as the content of the bootsound file?

EDIT: tried it. edited the init.local.rc file using Notepad++. made the bootsound file using Notepad++ and in it put the code you have up there. no file extension. pushed it to the right directory, followed the adb commands. got an error in the last one (echo) saying it couldn't find the path (it's there though?).

put the android_audio.mp3 in /data/local....rebooted and no sound. no errors either, but no sound.

EDIT 2: thanks for your work spiciituna. apparently there was some mistake on my part. i ran a script that your code in it and now the boot sound works.

http://forum.cyanogenmod.com/topic/7433-bootanimations-audio/

:-)
[EVO 4G Themes and Apps] austinjay:
I am still having no luck. :-( Can anyone enlighten me?
[EVO 4G Themes and Apps] lithid-cm:
I was finally about to get it to work.

Here is the post with the flashable zip

http://xdaforums.com/showthread.php?t=844414
[EVO 4G Themes and Apps] Anti-Code:
if it's FroYo, then the directory has been moved to /system/customize/resource/. You reboot to clockworkmod -> mount system (partitions menu) -> reboot recovery (advanced menu) -> open cmd prompt in windows, cd to sdk\tools\ and run: "adb remount" -> then have the .wav file in the tools folder and run "adb push ATT_bootup.wav /system/customize/resource/" if it's an AT&T phone. Verizon phones use VZW_bootup.wav I am pretty sure & I'm not sure about the other ones.
[Droid X General] kizer8:
I received the Froyo update this morning on my Droid X, but now when I go to the app market and click menu -> downloads, I don't see all my apps that were downloaded/installed. I only see gmail and dropbox. Anybody know why and how to fix?
[Droid X General] kizer8:
Please disregard, I downloaded a new app and all is fine now. Sorry.
[Droid X General] No I.D.:
My issue is that some apps are still blocked. The Market must not recognize this official release yet. I can't see...

Skype

PayPal

RedBoxer *purchased

...just to name a few. I know that I can edit the build.prop but I shouldn't have to. Is anyone else seeing this right now?
[Droid X General] gerelee:
oddly enough, all my apps were there after the update last night....but now, there are several that don't show up, even if i do a market search....
[Droid X General] antirice:
getting same problem. friend has a Droid with 2.2 and his market shows many apps that my X w/2.2 does not??????
[Droid X General] gerelee:
i did a factory data reset and now even MORE of my apps don't show up, wtf is up with that?
[Droid X General] chammer:
I'm glad you said something about PayPal. Glad it's not just me. Of all the apps I have, 108 currently installed, only 6 of which I kept getting "Not Found" on via App Brain. Running the built in Market app shows them under search, but clicking on them returns the "Not Found" crap too.

Here's the ones, if anyone has any luck let me know:

default browser

calltrack

homerun

paypal

camera 360

digital clock widget (has a sky background as the icon since there are several; currently second app on first page on appbrain search results)
[Droid X General] gerelee:
found this on the droid x forums.....clear the market cache and force stop it, this seems to restore the 'missing' apps...or so it seems!!!
[Droid X General] No I.D.:
That doesn't exactly correct this issue. The problem here is that the market doesn't recognize the Droid X yet, so certain secure apps won't show up. That usually happens with leaks. You can edit build.prop in the system folder to "spoof" and trick the market into thinking it's a Droid 2. I went ahead and did that because I was sick of waiting.
[Droid X General] fumanchu:
Just checked tonight and all the apps are there now. Looks like the market was updated to recognize Droid X running 2.2!
[Droid X General] No I.D.:
Sure has. Thanks for the update.
[EVO 4G Q&A, Help & Troubleshooting] sanjsrik:
Anyone else have this pushed to their phone this morning?

I guess I can answer my own question:

http://mashable.com/2010/09/21/gmail-for-froyo/
[EVO 4G Q&A, Help & Troubleshooting] superlinkx:
No, but yesterday Google released the new Gmail app and you can download it from the market. If you wanted to get rid of it, you can go to its page on the market, hit remove updates, and it will go back to the older version.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Filipponet:
Hi guys, I bought a hd2 ... I update it on the radio and I installed a rom

WM cooked ...

I would like to install android without deleting WM ....

you can install a dualboot?

Once everything is installed, removing the microSD wm starts normally?

___________________________________________________________________________________________________:confused:

salve ragazzi, ho comprato un hd2...ho aggirnato la radio e ho installato una rom

WM cucinata...

Vorrei installare android senza eliminare WM....

è possibile installare un dualboot?

una volta installato tutto, togliendo la microsd wm si avvia normalmente?
[HD2 Android Q&A, Help & Troubleshooting and Genera] 619619:
You can't install it in another way :/

-------

Non ci sono altri modi per installarlo, tutte le rom partono da SD lanciate da windows, non c'è modo di togliere WM ad oggi (e non serve neanche togliere la SD, dato che android lo devi lanciare esplicitamente da WM)
[HD2 Android Q&A, Help & Troubleshooting and Genera] Ironsave:
You can install Android on the SD card. Currently there is no NAND Rom (No Android rom that is installed to the phone's internal mamory).

You can run WM or boot from WM into Android. After this is working, removing the SD card means WM only.

Read the threads and do the research. I spent hours reading different posts and threads to learn how to do this.

Good Luck.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Filipponet:
sorry for the strange translation of google .....

I twill not good ...

wm on internal memory

and

Android on external memory

but when I start the phone I decide which OS to start ....

I found this app ... but I do not know if it works on hd2 http://xdaforums.com/showthread.php?t=623792

___________________________________________________________

scusatemi per le strane traduzioni di google.....

non mi sono spigato bene...

wm sulla memoria interna

e

android sulla memoria esterna

ma quando avvio il telefono vorrei decidere quale os avviare....

ho trovato questa app...ma non so se funziona su hd2 http://xdaforums.com/showthread.php?t=623792
[HD2 Android Q&A, Help & Troubleshooting and Genera] Blame73:
Hey Filipponet,

if you want a nice WM build that's really fast and lets you choose which OS load then I suggest you the one that's in my signature, OzDROID

___

se vuoi una bella build di WM, molto veloce e 'snella' che ti permetta di scegliere quale sistema avviare, ti consoglio quella che trovi nella mia firma, OzDROID
[HD2 Android Q&A, Help & Troubleshooting and Genera] Filipponet:
thanks!

.....the link not work!!!!!!!!!

OzDROID rom support italian language?'
[HD2 Android Q&A, Help & Troubleshooting and Genera] flyboyzeya:
If you read that thread, it clearly states " THIS DOES NOT WORK ON THE HTC HD2 " !!! Please read before you post !!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] Filipponet:
in 26th January 2010 not work...:p

wiht a ohter app? or a new version?:)
[Vibrant General] Gigamaster89:
TMO UK that is anyway.

http://support.t-mobile.co.uk/discussions/index?page=forums&topic=801038132d6a86012b3763ab0b007e4e
[Vibrant General] Col.Kernel:
That's old news. FroYo has been slated for a UK September release for months and everyone but you knew it.
[Vibrant General] jz9833:
from samsung, not t-mobile. this is new news. And we have an employee who is saying it on a forum.

Most of our other news is hearsay
[Vibrant General] demo23019:
......................
[Vibrant General] lqaddict:
I had to laugh at that - Kies for software update, ok...
[Vibrant General] rsfaze:
from looking around and the website url's I think Tmobile is based out of the UK, and this is a Tmobile release. I looked and couldn't find a .us forum for tmobile only .uk including all of the Samsung support also.
[Vibrant General] demo23019:
I guess the update is directly threw Samsung,

And tmobile vibrant owners can only recieve updates threw tmobile not samsung that's why it wont come over the air and we need to use Kies

Am i rite on this?

If so I wonder if we will have t-mobile bloatware included with update
[Vibrant General] lqaddict:
Once again this is for T-Mobile UK release.

T-Mobile USA is a different company that have the same parent with T-Mobile UK, and many other T-Mobile EU companies - Deutsche Telekom http://www.telekom.com/dtag/cms/content/dt/en/6908
[Vibrant General] demo23019:
whats that have to do with a software update?

Even if its only "UK" the US version shouldn't be that far behind

Phones are pretty much the same

edit

never mind i didn't relies tmobile UK used the I9000 model
[Vibrant General] gunks:
I think that since this is from the UK it is probably meant for the International i9000, not our US Galaxy S's. :mad:
[Vibrant General] speoples20:
It will come OTA, thats how T-mobile does their updates.
[Vibrant General] demo23019:
Apparently tmobile UK is not releasing this over the air...only Kies

I got confused didn't relies t-mbile UK used I9000 model
[Vibrant General] zaduma:
I think this is the last time I will come to general. You guys are so busy waiting and speculating and not contributing anything.

List of Excuses:

1. I am not a dev.

Take some spare time and learn something. Start with Java and Linux OS (way it works etc, how directories work, simple commands, cat, man, ls, cd, su/do, etc)

2. I don't have the time.

Quit posting on the forums and lurking so much, instant time.

3. Every excuse.

Google.
[Vibrant General] d_bot:
nice find! well i guess i will just sit back and wait....*starts twiddling thumbs*
[Vibrant General] rsfaze:
you know I would normally agree with you but this is in the general section buddy. I would rather have people post over and over crap in the general section than fill the DEVELOPMENT section with this clutter.

If you don't like threads that you feel have nothing informative in them, by all means don't click on them.
[Vibrant General] lqaddict:
All Galaxy S phones are pretty much the same, but not the same

US update will come when T-Mobile USA releases it, and I am pretty sure there will be a working 2.2 release from the devs here before T-Mo USA releases its bloated version.
[Vibrant General] demo23019:
Poor choice of words buddy. For one this is general discusion, Two you dont have to be a developer to contribute to other XDA members. And three, this thread isn't even close to the BS *****ing and whining threads that have been trashing general discussion.

I can see why people got confused here because I am one of them

BTW i already said what you, in so many words...but i didn't go calling out everyone in the thread like an asshole.

http://xdaforums.com/showpost.php?p=8254701&postcount=46

...go brag somewhere else about your developing skills :D ...this is general
[Vibrant General] gaore:
T-mobile USA delayed it until late October.
[Vibrant General] MacGuy2006:
T-Mobile is actually German, owned by Deutsche Telekom.

At least the UK update will definitely come only via Kies, I'd guess the US will be the same.

Without drivers, the devs can't release anything fully working.

I am pretty sure there will be an official release of Gingerbread by Google, by the time we get Froyo on this phone.... :(
[Vibrant General] rsfaze:
fwiw, I posted on Tmobile Facebook page about 2.2 for the Vibrant and they sent me a message, you can check their facebook page to see where they said @Robert sent you a message.

this is the exciting info they sent..

Robert,

We understand your interest on updates Samsung is working on one and as soon as we have any more information on this we will communicate it.

I can assure you all I sent back a pretty nasty but professional message about their lack of speed with updates and while I understand not a single device from the Galaxy S line up has 2.2, I think the first provider that does roll 2.2 is going to be my new cell provider.

If others can get 2.2 on the Samsung Galaxy S before Tmobile, I am personally dropping my lines with Tmobile.
[Vibrant General] xplanowestx:
Bad Troll is Bad. Spain was the version delayed until late October actually.
[Vibrant General] chronos7:
Sounds like froyo may be a month or so away and that really sucks!!!
[Vibrant General] cybertang:
well looks like its a waiting and whine game well atleast i got my eclair almost the way i like it yeah i think im going to delay on the stressing for a while and keep screwing up the os i have currently.....hate waiting
[Vibrant General] Kaydog Keller:
I've used the OCLF (one click lag fix) that's in the android market and it has really improved performance. Obviously GPS still not working.

Not to start more stupid rumors but I was just told by a reseller in the Chicagoland area (not a true T-Mo employee, but one of those stores that only sells T-Mo) that Froyo is slated to drop 10/16.

What he could not confirm however was if there was a GPS/lag fix update to 2.1 coming out standalone prior to that, or if everything is going to be rolled up into the 2.2 release.

I can tell you I had a Nexus One with 2.2 and it is AWESOME, super fast. Of course my buddy has a Droid with 2.2 but now he can't connect to WiFi for some reason so who knows.

What a waste of time this all is seriously, I'm thinking I should plug my SIM back into my Moto-Razor and call it a day. WHo's with me?
[Wildfire General] kyznoh:
Hello, i have new wildfire. Now I found problem with send/receive MMS. Operator is T-mobile czech. I set profile accord manual and problem persist. I use Handcent SMS application. I try uninstall this app but no change. Can you tell me what I need everything set up? Service MMS I have active, but I don´t have active mobile data (meen internet). For SMS I have Hendcent SMS.

PS: sorry for my English
[Wildfire General] kevin2516:
I had to enter my mms apn for it to work
[Wildfire General] kyznoh:
I tryed set APN manually
[Wildfire General] kyznoh:
I meen, can anybody may write complete set up... (press menu, choose settings then wireless connection.... etc)
[Vibrant General] demo23019:
End of month

http://support.t-mobile.co.uk/discussions/index?page=forums&topic=801038132d6a86012b3763ab0b007e4e

EDIT

oops UK t mobile website not sure if this effect US

edit edit

Gigamaster89 beat me to it delete please
[Vibrant General] xplanowestx:
1. Most likely we will get an OTA rather then having to run through Samsung Kies.

2. Yes this is UK, however, it at leasts means that 2.2 would be right around the corner considering the fact that the phones are very alike.

3. Great find :)
[Windows Mobile Software Development] anaylor01:
Newbie here. Maybe someone can give me some direction. I am writing an app for both standard and professional. I have 2 projects in my solution. One is for standard the othe is for professional. I am not sure if this is the right way or not but what I want to do is when the app opens it checks to see what platform is running and then runs the correct project. Any help would be greatly appreciated.
[Windows Mobile Software Development] stephj:
It is possible to create a single project that is capable of running on both platforms but there is quite a bit of groundwork you will have to do first.

Firstly, the main differences.

Standard : No touch screen i.e. No Mouse events. All user input is via the keyboard, buttons, D-PAD and ENTER. No Open/Save dialogboxes, you have to present the files to the user yourself. Message dialogs appear full screen.

Professional : None of the above limitations.

The are a few pointers here:

http://msdn.microsoft.com/en-us/library/bb985500.aspx

The following code will detect the platform and set the variable 'SmartPhone' to 1 (true) if the version is 'Standard'

#define MAX_LOADSTRING 100

int	SmartPhone;

TCHAR	szReturn[MAX_LOADSTRING];

SystemParametersInfo(SPI_GETPLATFORMTYPE,MAX_LOADSTRING,szReturn,false);
SmartPhone=wcscmp(TEXT("SmartPhone"),szReturn)^1;

Your processing code may have code such as:

if(SmartPhone)

{
........ Standard Stuff.......
}
else
{
......... Professional Stuff........
}

Note also that code dealing with a WM_LBUTTONDOWN message will never be executed on a smartphone, as WinMo Standard never generates this message.

It may seem a pain, but you only have one executable to deliver for both platforms.

As an example, here's one I prepared earlier.

http://xdaforums.com/showthread.php?t=509413
[Windows Mobile Software Development] anaylor01:
more info

I am coding with VB. What I was thinking was creating a class project and making that the startup project. Within the class the VB would check the platform and then run the correct project.
[Windows Mobile Software Development] stephj:
Should work:

To get the Platform type in .NET CF have a look at:

http://msdn.microsoft.com/en-us/library/ms229660(VS.90).aspx

It's also listed in the VS Help.
[Windows Mobile Software Development] anaylor01:
I am using VS2008 TS and cf3.5. I have tried several methods and still can't get any to work. I must be missing a reference or something. Here is some code I can't get to work.

If SystemSettings.Platform = WinCEPlatform.PocketPC Then

txtDeviceType.Text = "Windows Mobile Professional"

ElseIf SystemSettings.Platform = WinCEPlatform.Smartphone Then

txtDeviceType.Text = "Windows Mobile Standard"

Else

txtDeviceType.Text = "Not Windows Mobile"

End If

Also tried this.

Public Enumeration WinCEPlatform

Dim instance As WinCEPlatform
[Windows Mobile Software Development] anaylor01:
I also tried getversionex but couldn't get it to work either.
[Windows Mobile Software Development] stephj:
I only code .NET in C# but there is virtually no difference.

Try this: You will have to add the reference to Microsoft.WindowsCE.Forms;

Right click on References in the Solution Explorer, click on Add Reference, in the .NET Tab, pick it out of the list.

using System;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Microsoft.WindowsCE.Forms;

namespace Test
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void Form1_Load(object sender, EventArgs e)
{
WinCEPlatform Platform = new WinCEPlatform();
Platform = SystemSettings.Platform;
label1.Text = Platform.ToString();
}
}
}

Works a treat!

Let's let Red Gate's Reflector translate the IL into VB.

It also reveals that the compiler rips outs the middle variables and goes straight for :

Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs)
Me.label1.Text = SystemSettings.Platform.ToString
End Sub
[Windows Mobile Software Development] anaylor01:
I am getting an error on this InitializeComponent. Another question. Can I add a class project and use this code to point to the correct project?
[Windows Mobile Software Development] stephj:
Drop the InitialiseComponent function, that is only used used in C#

In VB in Form1 the only code you need is

Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Label1.Text = Microsoft.WindowsCE.Forms.SystemSettings.Platform.ToString
End Sub
End Class

This code works and puts "YES" in the box if run on a PPC

Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Microsoft.WindowsCE.Forms.SystemSettings.Platform = Microsoft.WindowsCE.Forms.WinCEPlatform.PocketPC Then
Label1.Text = "YES"
End If
End Sub
End Class
[Windows Mobile Software Development] anaylor01:
Ok. I got it to work with the following code. But I have another problem. My app is a very simple app. I want it to work on PPC2003 and smartphones. I have 2 different forms for standard and professional. Now the problem is that if I use .net compact framework 3.5 then the device has to have that installed. So if I want to the app to work on older devices it won't work without the .net compact framework. If I use .net compact framework 2.0 then I lose the ability to use the code to determine if its standard or professional. I was hoping there was a way to include the 3.5 CF into my app cab but I haven't seen it. I am currently using VS2008 whcih only allows you 2.0 CF and 3.5 CF. I was thinking about using VS2005 and use 1.0 CF so it would work on all Windows mobile devices. But then I would again lose the ability to use the code. Any ideas would be appreciated.

Shared Sub Main()

Dim Platform As New WinCEPlatform()

Platform = SystemSettings.Platform

If Platform = "1" Then

Application.Run(

New Pro())

ElseIf Platform = "2" Then

Application.Run(

New Standard())

End If

End Sub
[Windows Mobile Software Development] anaylor01:
Using VS2005 I started a new project and selected SmartDevice 1.0. Now I have some issues.

1. Trying to determine either standard or professional. I am trying to use the Pinvoke to do this. No luck so far. I get an error on ByVal nFolder As ceFolders.

2. The code I was using to play a .wav file no longer works.

Dim myplayer As New System.Media.SoundPlayer(New IO.MemoryStream(My.Resources.Dice))

myplayer.Play()

3. I had resource files for images and a wav file so my code to use these no longer work.

Me.PictureBox1.Image = My.Resources.red_die_1_th