yashsingh1/xdaforums huggingface dataset:
[HD2 General] randommann:
If you compares the net incomes of HTC and Apple, you could possibly get some kind of estimation as to the (very) rough volume of phone sales HTC have made.

The i phones touch software i believe is more refined, but the HTC's larger screen i believe makes up for this, i am running 1.42, perhaps in later updates there has been some change.

Regardless, i believe the touch systems are about equal.

The iphone was pumping more volume through my mini max 2 speaker than the hd2 even with sound booster, however the wow srs hd, made the hd2 surpass the iphone in customisability and quality of sound.

I have decided i just don't like apples style that much, it's not any one thing about the product, it's a good product, it's just not my taste.

The HD2 is my taste and it's on par if not better then the iphone.

Considering on par performance, i can make the choice purely on taste.

I think macs reign is going to come to an end in 2011 with windows mobile 7 and the massive range of products that will support it at prices that could likely be lower then than the i phones.
[HD2 General] khaeid:
Let's just hope HTC won't kill HD2 with it's everlasting strategy of releasing new products every few months causing old ones to die silently
[HD2 General] randommann:
Truth be told i think the HD2 will die when windows 7 is released.

Easy solution is to just sell it and buy a HD3 or whatever else may be available around that time.

As see the HD2 as just being HTC's little experiment, something to bridge the gap between wm7's arrival.

I wouldn't mind seeing and android version released though.

I'll be happy with a HD2 on wm6.5 till the end of the year in any case.

Edit: Please help me in this thread, i have one simple question:

http://xdaforums.com/showthread.php?p=6261832#post6261832
[HD2 General] MAMeingast:
Well, that's not really a solution. WM7 and WM6.5/6.5.X are in no way comparable! WM7 is a disaster (as far as I can tell by now) and there's no way I'll switch to WM7!
[HD2 General] Qazz~:
I Dont' see why there is a hype for wp7, to me it looks horrible i don't like all the square "hubs" on the homescreen and page transition just takes too long, seeing demos on it, it feels like a cheap and poorly developed OS
[HD2 General] khaeid:
Well, i did ask HTC, but they responded as this is classified top secret nuclear weapons of ass destruction information
[HD2 General] pkchips:
Not true. Apple makes a massive profit margin on each iphone sold; if I remember right, it sells something like 5-10% of smartphones (or phones, I forget which) and earns about 30-35% of the profits.

I wouldn't be surprised if all HTC phones put together sold more than the iPhone, but HTC definitely doesn't make as much profit.
[HD2 General] 4tune:
Now there's a picture I'm not comfortable with :D
[Nexus One Android Development] Jack_R1:
This is useful for identifying phones on the local networks by looking at DHCP lease tables in the routers. It doesn't make your phone appear on Windows networks, since the phone needs to broadcast NetBIOS name for that. If you want your phone to show up on Windows networks (and share files) - you need Samba server, and JimmyChingala is working on one.

ROM developers can insert the option to customize hostname using the way described below in their Spare Parts options. Feel free to do so.

[SOLUTION]

The following shell command does the job of changing WiFi hostname:

For the change to stay, it should be executed on each boot. And here the things start being more problematic.

For custom ROMs:

Most, if not all, custom ROMs include some user init shell script that will be executed on boot, making the solution easy.

Enter the following line in the Terminal / ADB shell:

Several examples of custom ROMs and their userinit scripts:

Suggested - will work for most ROMs (creates another file in directory of autoexecuted scripts): /etc/init.d/88hostnameinit

Additional possibility for Enomther's ROM: /data/local/userinit.sh

Additional possibility for CyanogenMOD: /sd-ext/userinit.sh

For stock ROMs:

There is no autorun script for stock ROMs, so they have to be added through modifying boot.img. It's a complicated procedure, and even though guides exist for it - I suggest not to mess with it only because of the hostname. The easiest solution would be to create a script file with the line above using Gscript or other scripting solutions, and execute it after each reboot. If anyone really wishes to modify boot.img - I assume that he/she knows enough about Linux/Android since it can be relatively easily done only on Linux, can find the necessary guides with some googling (like I did), and in this case the modification is easiest to do directly in init.rc - changing "hostname localhost" to "hostname name_of_your_choice".
[Nexus One Android Development] Jack_R1:
[ORIGINAL POST]

Hi people,

I'm not much of a dev, but I can find my way around with a bit of Google search :) And sorry about the links that don't link, new user's permissions don't allow me to...

Anyway, after messing with my router today I've noticed that Nexus transmits "localhost" as its host name to DHCP server, causing my DD-WRT to show it as "*". I went to Google and to my surprise, discovered that there isn't such an option in any Nexus ROM yet.

Found this: LINK_www_laslow_net_?p=501

I tested it, and it didn't work. After booting, the file still read "localhost" in it, and the hostname on DHCP server reflected it.

But, I didn't get frustrated, connected with ADB, manually executed the command:

echo MyHostName > /proc/sys/kernel/hostname

checked that the file was overwritten, disabled WiFi, deleted DHCP lease, enabled WiFi back - and voila, I have a new hostname!

Then I went to search for hostname setting, which got me to /init.rc:

Well, I guess that's the place. A tiny problem, though - it's in the boot image, which can't be easily modified. Thanks to the latest thread on update.zip creation I can probably do it myself, but I wanted to share the findings and ask for the correct way to implement.

There's a "dirty but functional" way of "disable WiFi - override /proc/sys/kernel/hostname - enable WiFi", and it's probably not a problem to stick it somewhere in the boot sequence, or even write an app that writes those changes to one of the boot scripts and allows configuration of host and domain names. But it's not the best way - DHCP might already give out a lease, and the new host name might not register.

And there's a correct (?) way of doing it, introducing it into init.rc. Since it's "on boot", I suppose that it runs after mounting the partitions - which means that the partitions are already accessible.

In this case, the best way would be executing a small shell script that would check for existence of, say, "/system/etc/settinghostdomainnames.rc" and create a default one if it's not there, then use "import /system/etc/settinghostdomainnames.rc" and set a manual trigger, like the guy is trying to do here:

LINK_groups.google.co.jp_group_android-developers_browse_thread_thread_e2f432707b735ff0

"trigger someeventtobringupnetworkinterface"

That would allow to use a custom setting for host and domain names that can be changed by SW, and adding that as another option into ROM Settings app or external app.

But the guy in question didn't succeed. What did he miss? Would it be better to do something like "on fakesystemproperty=something" and instead of manual trigger, doing "setprop fakesystemproperty something"?

I can probably test it and find out myself, but it would take loads of time compared to one of the kernel devs, and I don't even have the environment set up for modifying boot images. I was kinda hoping that one of the kernel devs would test it. I can write and post the modifications to init.rc and the custom script, they're very simple.

So, who can help me with answering the questions in the thread, and/or testing the modification?
[Nexus One Android Development] Jack_R1:
Thanks! It's back.

Oh well, I'll keep preparing Ubuntu VM anyway :)
[Nexus One Android Development] Jack_R1:
OK, first test fired - updated /init.rc in my own boot.img, checked the values. It's working, hostname is indeed modified.

Now I'll try to rewrite /init.rc in such way as to load the hostname setting from elsewhere, while not screwing the security. Will post results soon.
[Nexus One Android Development] persiansown:
Setting it to the same value as the BT value would be ideal. I'm not sure how you could do that though, because the init scripts run before the frameworks load
[Nexus One Android Development] Alclub:
Looking forward for a fix to this problem.
[Nexus One Android Development] Jack_R1:
Update, but only partially on topic:

God, I hate SH scripting. Couldn't even google a normal tutorial that would explain where I went wrong. A script of 10 lines, and I can't make it work.

Let's see, I need something like this:

#!/system/bin/sh

echo "on service-exited-network_prepare" > /system/etc/net_init.rc

echo " ifup lo" >> /system/etc/net_init.rc

if [ -e "/system/etc/net_init.domain" ];

then

echo "hostname `cat /system/etc/net_init.host`" >> /system/etc/net_init.rc

else

echo "hostname localhost" >> /system/etc/net_init.rc

fi

if [ -e "/system/etc/net_init.domain" ];

then

echo "domainname `cat /system/etc/net_init.domain`" >> /system/etc/net_init.rc

else

echo "domainname localdomain" >> /system/etc/net_init.rc

fi

echo >> /system/etc/net_init.rc

Of course, this thing fails miserably with -

Syntax error: end of file unexpected (expecting "then")

What the hell am I doing wrong? Never used SH before, mostly tcsh and perl.

Thanks.
[Nexus One Android Development] Jack_R1:
Oh well, I guess I got the problem.. Unix vs Windows file format. Sorry for bothering.
[Nexus One Android Development] iamwhoamnot:
its always bothered me that you cant change the device name for wifi networks, and ive always looked for a way to change it.

kudos to you for the ambition and diligence to do it!

dont give up, if you can get it smoothed out enough im sure cyanogen will implement it in his next mod. ive always wished there was an option in wifi settings to change device name. itd be very useful for lan ip configuring and when your connected to a random hotspot lol
[Nexus One Android Development] Jack_R1:
Ok, after fighting for a day, I still didn't manage to import another .RC file and run on service exit (I don't even see the trace of the process I'm trying to start - the first thing it does is attempting to write log, and there is no log, no matter where I put the start command), but at least for a "quick-and-dirty way" there's a very simple solution, given SD-EXT partition (I believe everyone creates it):

open terminal application, type the following command:

echo "echo YOURHOSTNAME > /proc/sys/kernel/hostname" > /sd-ext/userinit.sh

That would override the hostname of the system before boot completion.
[Nexus One Android Development] Jack_R1:
After some reading, I believe there's nothing bad in setting the hostname twice - once default localhost in init.rc, and then overriding it using /proc/sys directory, Linux is designed to cope with that and hopefully so does Android.

So, as to pershoot's request, it's possible to write a small application to read Bluetooth device name value and write it as WiFi hostname, and include it in boot process right before 20userinit.

Now this is a task I'm not suitable for, I have no knowledge of frameworks whatsoever. Anybody up to the task?
[Nexus One Android Development] persiansown:
I requested it and I'm not pershoot :(
[Nexus One Android Development] Jack_R1:
Oops :) Sorry, my bad. Fever and lots of time in front of the computer don't do me good...
[Nexus One Android Development] maedox:
Kudos to you Jack_R1. Watching this.

Let me know if you need any help with shell scripting.
[Nexus One Android Development] andrewmc42:
Gonna watch this and try it out later, the solution so far.
[Nexus One Android Development] buglerroller:
is this a stable fix?
[Nexus One Android Development] buglerroller:
is this confirmed to work?
[Nexus One Android Development] Jack_R1:
Sorted out, updated with the most current info and several examples of custom ROMs.
[Nexus One Android Development] Pochemuchka1977:
I am running CM6 with a2sd and somehow the /sd-ext/userinit.rc is not executed. Even if I change permissions of the file to 777, it's not executed.

I also haven't found in init.d the script which executes userinit.rc, might be because I am running custom kernel? (wildmonks).

The only way for me to do it was to put the script in /etc/init.d/88userinit file and change it's permissions to 777
[Nexus One Android Development] Jack_R1:
It's /scripts/userinit.sh, not userinit.rc ;)

The execution of /sd-ext/userinit.rc used to be in /init.rc, in boot.img.

But the preferred way for most of the ROMs is to use /etc/init.d/ scripts anyway, since a lot of ROMs use them.

Changed the 1st post to reflect it.
[General Questions and Answers] circleofomega:
Just a thought. It is not as easy a question as you think. Think deep. in a world of Win7s and iPhones, imagine a breakthrough device that is non-touchscreen...
[General Questions and Answers] xxThugxx @ TPB:
its never gunna happen, without a touchscreen you need a keypad, compromising screen size, or size of device :)
[General Questions and Answers] DevaVictrix:
We only have full featured phones because its an easy way for designers to create differentiation from competitors. But preserving ease of use is equaly important in reaching the target market. I think we are pushing ease of use to the limit at the moment and can see a time when a phone with the buttons 0-9, ring and hang up will make a come back.

So many people just want to use a phone and maybe send a text. Price is a big factor too. Plus the mobile phone markets are growing in less well off countries so a simple phone, similar to the one laptop per child, will have a market.

I would never have taken my posh phone to work (used to work in building trades), I used to get the £20 payg nokia phones.... and replace it every 6 months.

We might never have thought 10" laptops would make a comeback either.

Plus a few years ago a smaller phone was more desirable than a bigger one. We all walk around with bricks in our pockets again, only these bricks scratch easier.

Im not saying phones with buttons and 1" screens will retake the market but I dont think they will go away for a long long time. Decades, maybe.
[General Questions and Answers] ElCondor:
A touchscreen offers the same ability as a mouse: point things directly

For browsing for example, it's a must have.

Also, if you have a grid of buttons, it's a lot of work to navigate to another button.

I think touch screens will exist for a long time, until other kinds of input are becoming true.
[General Questions and Answers] galaxys:
touchscreen phones are here to stay until something better comes along like a voicescreen :cool:
[myTouch 3G, Magic Android Development] Sphaerophoria:
Ok so i started a project a while ago of porting espresso to the magic. I took a break and then this came out and i was like "lets give it one last go". It's not pretty and it's not close to done but i think it's good enough to release to the public.

here are the steps i took to get it to work

Started with Sanpei Legend 0.34RC

app - replaced with mytouch slide dump
- removed - abduction demo, amazon mp3, apppack, barcode scanner

bin - added missing files from mytouch slide dump

customize - replaced with mytouch slide dump

fonts - replaced with mytouch slide dump

framework - moved to system partition and replaced with mytouch slide dump - framework.jar - repacked with legend's android/os/Power.smali, jbtlspp.smali, gpslocaionprovider*.smali
- moved back to data partition due to not enough room on system

media - replaced with mytouch slide dump then re-added boot animation

xbin - added missing files from mytouch slide dump

lib - added - missing from mytouch dump

etc - added - missing permissions from mytouch slide dump

build.prop - edited to truly make the rom my own ;)

most things work (wifi, bluetooth, etc.) but every so often there is a force close. I'd say it's pretty fast considering i've done no optimizing yet :)

I've experienced a couple crashes while changing themes but it only happens sometimes. If this happens just pop out the battery and try again. Once it starts running it runs pretty smooth.

You guys will have to enter your own apn until i figure out why it won't accept the apns-conf.xml but that's no problem just skip the initial setup and go to accounts and sync after

thanks to sanpei, ahmgsk, and cursorsense for all their work on the new radio, maybe people will realize that good builds are being pumped out and switch over.

Lastly any bug reports would help the development of this rom. Please post in a helpful way.

without further ado i present to you SPHAEROSLIDE ALPHA
[myTouch 3G, Magic Android Development] capychimp:
this is interesting :)
[myTouch 3G, Magic Android Development] Sphaerophoria:
wow i'm actually really surprised that no one is willing to test my rom... sigh o well i'll work on it tonight anyways ;)
[myTouch 3G, Magic Android Development] capychimp:
i tired it, but fc's constant no browser, market wont work because of browser ;)

need some work ;) but i find it fast
[myTouch 3G, Magic Android Development] alan090:
I Have a version on the old radio working but many problems still - supposed to be getting some updates soon to fix most issues ;)

not ready for public release yet imo
[myTouch 3G, Magic Android Development] shadow_empire1:
can you please add some screenshots?
[myTouch 3G, Magic Android Development] macioo:
Great stuff. Nurture this project, because it promises to be great.:D

For now, many applications do not work: Internet, Market, and others. I could use a multilingual staff. It is the alpha counting of the rapid development of this rom.
[myTouch 3G, Magic Android Development] venou83:
And that's good

excuse my English.
[myTouch 3G, Magic Android Development] diemhenmobile:
no keypad, there are many errors reported. wype typing error on htc magic.
[myTouch 3G, Magic Android Development] macioo:
Hey, something is happening with this ROM? It is worth it to continue to develop.
[HD2 General] XDAkarsten:
Have anybody running Duttys HTC Task Manager on a German Stock ROM?

I can install the cab but the configuration and click on "X" have no effects!

Karsten
[HD2 General] falcon105:
are you restart your device?
[Hero CDMA General] jowdy:
My phone just started giving me this notification after using google goggles to scan a qr code(Damn you 3d baseball)...I rebooted but im still getting it..is their a way to fix this.
[Hero CDMA General] Roman G:
Not much more to say than what the title says!

Thanks
[Hero CDMA General] Jus10o:
type

adb shell

dalvikvm -h

at the bottom somewhere on the line that says "Configured with:" it will say "with_jit"
[Hero CDMA General] Roman G:
Dammit, I figured as much because it booted! I still cant get this crap to work!

Have you ever done it using this method!

Required:

1. Android 1.6 ROMS with a bit Eclair stuff in the Kernel and framework such as Cyanogen ROM 4.2.x, Super D 1.8 - 19.2, WG Y2.6, FastTest, KingKlick Eclair and more.. This libdvm.so works on Android 2.1 as well as it seems it should..

How to install: (easier to go in recovery mode but can be done through terminal)

1. Download the VMLIBS.ZIP from t3hSteve of allroid.com http://alldroid.org/download/file.php?id=1374

2. You only need the libdvm.so file of which appears to be JIT enabled by default.

3. Backup the original libdvm.so #cp /system/lib/libdvm.so /sdcard/libdvm.so

4. Copy the JIT enabled libdvm.so #cp -f /sdcard/vmlibs/libdvm.so /system/lib/libdvm.so

5. Set permissions on the file #chmod 644 /system/lib/libdvm.so
[Hero CDMA General] Jus10o:
I use this method.. I wrote the post awhile back... Follow the instructions if you want a working phone in the end. Iv learned whats not good to use and what is.

MAKE A NANDROID BACKUP. Just in case it doesnt go well. :)

http://xdaforums.com/showthread.php?t=659756
[Hero CDMA General] Roman G:
Ya I tried your method 3 times with no luck, and I also tried both methods on this page with no luck! Really pissing me off!

http://xdaforums.com/showthread.php?t=637419
[Hero CDMA General] Roman G:
Well i am stuck at the android boot screen again by using the method above, I went to adb and typed dalvikvm -h and now it appears I have JIT enabled but every time it just freezes at the android bootscreen!
[Hero CDMA General] Jus10o:
What rom are you using?
[Hero CDMA General] Roman G:
Darchdroid.....
[Hero CDMA General] Jus10o:
Oh dang.. thats a legend rom. You might want to ask darch if he has a jit project going. Im pretty sure he has put jit on his rom, iv seen benchmarks from him i think.

And iv used my jits files on DC 2.05+ and now fresh toast which is 2.0d and 2.0d is based of the same as dc roms.
[Hero CDMA General] Roman G:
Ya I kinda figured as much, thanks for the help!
[Hero CDMA General] Bad--Dog:
C:\android-sdk-windows\tools>adb shell

# dalvikvm -h

dalvikvm -h

Unrecognized option '-h'

dalvikvm: [options] class [argument ...]

dalvikvm: [options] -jar file.jar [argument ...]

The following standard options are recognized:

-classpath classpath

-Dproperty=value

-verbose:tag ('gc', 'jni', or 'class')

-ea[:<package name>... |:<class name>]

-da[:<package name>... |:<class name>]

(-enableassertions, -disableassertions)

-esa

-dsa

(-enablesystemassertions, -disablesystemassertions)

-showversion

-help

The following extended options are recognized:

-Xrunjdwp:<options>

-Xbootclasspath:bootclasspath

-Xcheck:tag (e.g. 'jni')

-XmsN (min heap, must be multiple of 1K, >= 1MB)

-XmxN (max heap, must be multiple of 1K, >= 2MB)

-XssN (stack size, >= 1KB, <= 256KB)

-Xverify:{none,remote,all}

-Xrs

-Xint (extended to accept ':portable' and ':fast')

These are unique to Dalvik:

-Xzygote

-Xdexopt:{none,verified,all}

-Xnoquithandler

-Xjnigreflimit:N (must be multiple of 100, >= 200)

-Xjniopts:{warnonly,forcecopy}

-Xdeadlockpredict:{off,warn,err,abort}

-Xstacktracefile:<filename>

-Xgc:[no]precise

-Xgenregmap

-Xcheckdexsum

Configured with: debugger profiler hprof show_exception=1

Dalvik VM init failed (check log file)

#

this is what i got when i typed in the above command.... eh.... can someone tell me what this means to a dummy like me
[Hero CDMA General] Jus10o:
I couldnt tell you why it returned init failed..

But on the line right above it.. "Configured with: " is where it would say "with_jit".

Which yours doesnt say it. It would also display files with jit in them, which yours doesnt.
[Hero CDMA General] Bad--Dog:
whoa i dont know what happened but i did a nandroid back up of this and rebooted and all apps were fc so i backup to the previous update from 4/20 and now everything is running smooth again, can i get jit running from the 4/20 update or should i try the 4/21 update again ?
[Hero CDMA General] Jus10o:
nano of what and what?

What rom are you using and trying to put jit on?

What is your nano backups of and why is the 4/20 different then 4/21?

(other then the dates, i mean what did you change)
[Hero CDMA General] Bad--Dog:
i downloaded the update zip from this thread on 4/20 it worked fine then i saw that another updat zip was uploaded a 5pm on 4/21 so i flashed that one over what i already had from the day before. it seemed to work fine but then i did a backup of the most recent flash and rebooted and after the reboot is when all hell broke loose, so i had to go back to the backup from the flash i did from the update on 4/20. im on the latest damage rom 2.0.7.2 the apps2sd worked fine and i wanted to enable jit so i wasnt sure if i had to update to the 4/21 zip to enable jit to work correctly or not
[Hero CDMA General] darchstar:
DarchDroid is an aosp rom.

I've explained like twice in my thread how to enable it i believe. You should go check in there.

http://xdaforums.com/showpost.php?p=6240591&postcount=135
[HD2 Windows Mobile 6.5 Themes and Apps] CHIxCITY:
Is there any apps that are not free trials like navigators or something?