yashsingh1/xdaforums huggingface dataset:
[Desire General] th3:
Just some passing data... I don't know which hardware review site people get their camera quality comparisons from. The camera, its options, controls, variety of apps and resultant pics are definitely better with the Nexus One/Desire than anything Apple currently sells. i.e. http://www.anandtech.com/Gallery/Album/714#1 (see the originals)

The video isn't, however.
[Desire General] darrenjdoc:
I beg to differ m8. I have taken shots with both cameras at the same subject indoor and out and the iPhone wins hands down. Not slating the Desire's camera but the iPhone's is better. I only wish they would jailbreak it soon so i can have fun with it. I use my Desire for work and then the iPhone for out jogging and when i am out and about in the evenings and weekend. Chicks love it when you are in the bar and its a good way of chatting them up :p
[Desire General] Jasonn321:
Im getting the iphone tomorrow from my local store, will post up a review against my desire!
[Desire General] shane20:
Veryy good way of putting it.

For me the choise is simple.

I dont want to pay that much for iphone 4, because i think its overpriced and I dont think I'll use the facetime, hd recoding that much so its a waste thats why Im going to buy Desire.
[Desire General] jimlad:
In that case you won't be disappointed :-)
[Desire General] SousukeUK:
Get a iPhone 4 if you don't want to wait around for OS updates.

Also it has larger native memory which you can install bucket load apps without jail breaking or rooting.

god knows how long you have to wait for update from HTC to install apps in SD card with froyo.

Also the iPhone display is better outdoor where the AMOLED is just plain invisible in sunlight.

No wonder HTC ditching AMOLED for all next generation phone for Sony LCD panels.
[Desire General] dedlite:
Sorry to hijack your thread guys - I've got an HTC Leo/HD2, and looking to leave the sinking ship that is WinMo. Quick question - audio (music) output, iPhone 4 or the Desire? Or to put it another way, is the Desire's audio ouput AS GOOD as the iPhone/iPod?
[Desire General] foxmeister:
Really? As far as I'm aware, the iPhone has only ever got one major OS release a year.

Not that I'm bigging up HTC in any particular way - if you buy an iPhone 4 today, you can be pretty certain you'll be getting iOS5 this time next year, so at least you *know* when your update is coming! ;)

Regards,

Dave
[Desire General] Ghisy:
I call BS!!

My friend's gf was totally wowed by the Desire and thinks iphones are meh. ;)
[Desire General] jimlad:
Well in that case surly you should advise getting the nexus1 it gets updates as soon as they are released and more regular than the iphone.
[Desire General] Jabbypants:
So far every phone i have had they all are terrible in direct sunlight even my bro's Iphone4, i was so unimpressed with it.
[Desire General] Quist:
Apologize if I repeat myself or somebody else as I can't remember if I posted in this thread already or in a similar one elsewhere and can't be bothered searching through such a frivolous discussion, but as I see it the only two shortcomings of the Desire are its camera and the memory shortage warnings sans root. The former, although better than expected from HTC, is beat apparently by the iPhone (although it's not hard to do given the limited range of the sensor in our camera). The latter is fixable with rooting, which feels far easier and safer than I ever thought it would be (even safer than flashing old winmo roms). Plus a solution is around the corner through official channels.

That said, I really wish we had a better camera so that the Ifphone wouldn't tempt me ("if only we had put the WiFi antenna in the lower left hand corner of our video-call creation device" SJ).

Oh well, covering my options by getting my better half one to see what all the fuss is about. At the very least I'm hoping their UI-prowess will be a cushy start for her in the smartphone world.
[Desire General] panos123:
I think the people that ask this question should go for the iphone. Its more of an os comparison, and the benefits of android are wasted if you don't know what you want.
[Desire General] Dwarkarn:
Why are you guys talking about cameras in phones?

This is not a photography forum.

If you want to take pics other than happy snaps go buy a camera.

Both phones are fine for happy snaps.

And as far as the guys a few posts above debating about whatever is the coolest phone to pick up a girl with. If you are relying on the latest phones to pull chicks you have a very serious problem.
[Desire General] kassam18:
Definately the HTC Desire.. anytime.
[Desire General] dragonithe:
totally agree on this.
[Desire General] ogen:
Get the the galaxy 9000, it blows either phone out of the water :-)
[Desire General] freakzone:
Do you imagine what would happen if she saw a Ferrari 599 GTB :D:D
[Desire General] zaphyr:
at least you don't have to put the Desire in a rubber casing to be able to make a phone call... :rolleyes:
[Desire General] jimlad:
oh yeah its phones I forgot... so we're only allowed to discuss call quality then I guess, os is irrelevant too... and err everything.
[Desire General] linji626922:
...is it french?
[Desire General] aalviedo:
After much research about different phones... I ended up ordering an HTC Desire today to replace my iPhone 3GS phone. Got tired of the iPhone... same old same old. I feel that the Desire has a lot more to offer.
[Desire General] Ch3wyzzz:
Good choice there mate i had the same isseu but i did go for the desire and luv everthing about it.

Still cant think that i wanted a iphone
[Desire General] Mr Brainz:
720p or not I find the Desire camera a bit pants. The quality of the picture and the sound is not as good as the iPhone.

I realised this today when I watched a video of something I filmed on a Desire filmed by someone else on an iPhone.

My vid on HTC Desire - http://www.youtube.com/watch?v=dXOKH_WoJfU

iPhone vid of same thing - http://www.youtube.com/watch?v=Ud_VHqhr33A

You can hear the compression on the Desire audio is pretty shocking.
[Desire General] shaundalglish:
Picture quality is exactly the same as the iPhone.

Videos - I don't know, since I don't care.

But for pictures the cameras are the same - the iPhone's pictures are noisier but sharper, but that's just a software thing.
[Desire General] shaundalglish:
So true.

Maybe there are one or two things the iPhone is better at, but there are hundreds of things the Desire is better at.

Android completely blows iOS away.
[XPERIA X10 Themes and Apps] ddewbofh:
Hi,

Was just wondering if it's possible to use the lockscreen from the newer Android version on Donut? I find it much easier to use and it's way more handy than the SE one with the added silencer.

Cheers
[XPERIA X10 Themes and Apps] thunderpossuem:
nope, you can't do it. you can however download the lockbot app from the market and use the hero lock, the 2.0 lock or the 2.1 lock screens.
[XPERIA X10 Android Development] samaldis:
[MESSAGE TO MODS, I could not include urls so have added spaces to pass spam filter.. please change?]

Well now we finally have root on our shiny devices I decided to crack open

the beers and get to work getting debian running on the X10..

the process is actually pretty straight-forward.

(as it turns out the x10's kernel already has support for most things needed

such as the ext2 filesystem)

-- step 1--

firstly we need to create a debian image for the phone, there are a few already out there but you can use the following to create your own

apt-get install debootstrap
dd if=/dev/zero of=debian.img seek=749999999 bs=1 count=1
mke2fs -F debian.img
mkdir debian
mount -o loop debian.img debian
debootstrap --verbose --arch armel --foreign lenny debian [ht]tp:[//]ftp. de. debian. org/debian
umount debian

how ever if you would prefer to use a ready built one (recomended for less techies ;) ) you can get one from: rapidshare. com/files/161776007/debian-armel-750.img.bz2

(had to include spaces in the url to pass spam filter, could a mod please change this?)

now copy this too the root of your sdcard and make sure its called debian.img

-- step 2 --

I have created a script to do most of the other work for you:

alias b=busybox
export PATH=/data/local/bin:/usr/bin:/usr/sbin:/bin:$PATH
b mknod /dev/loop0 b 7 0
b mount -o loop,noatime /sdcard/debian.img /data/local/mnt
echo 'nameserver 4.2.2.2' >data/local/mnt/etc/resolv.conf
b chroot /data/local/mnt
mount -t devpts devpts /dev/pts
mount -t proc proc /proc
mount -t sysfs sysfs /sys
rm -f /etc/mtab
ln -s /proc/mounts /etc/mtab

put this in your sdcard to.

-- step 3 --

Finally in any terminal emulator cd to the location of the startdeb.sh file

and do the following:

chmod 777 ./startdeb.sh
./startdeb.sh

!! and your done !!

you should now be within the debian system.. i suggest running

apt-get update

and installing what ever apps you want

(my first choices were gcc, python and tightvncserver)

[ EXTRA ]

now your on debian you can use

apt-get install tightvncserver

to get the xwindow system and the vnc server

now set both your HOME and USER variables

export HOME=/root
export USER=root

(or what ever user you choose)

and run

tightvncserver

(your also gonna have to download lxde and do a few other bits of setup

have a look around for X11 "Ported" to android post on these forums)

you could also change the config so that the desktop is displayed

at the right size for the screen :)

just use a vnc client from the market to connect to your GUI :D
[XPERIA X10 Android Development] mootmaina:
Kool. I had ubuntu running on my htc touch pro once but wasnt really worth having apart from the cool factor. This looks promising.............. ill wait a while till I play around, the rooting factor is still new and I dont see the major gain to root yet.
[XPERIA X10 Android Development] ddewbofh:
Way awesome, thanks for the guide.
[XPERIA X10 Android Development] j4mm3r:
Nice work, will give this a try after I get the R2B rooted on my phone.

Next step for me would be to get the arm cross compilation toolchain and start porting goodies for the android....
[XPERIA X10 Android Development] robbyf66:
wow this looks sooooo awesome!! any screen shots? don't make me google :P
[XPERIA X10 Android Development] aget1:
when i try mounting debian.img using ur cmd i got following error

Usage: mount [-r] [-w] [-o options] [-t type] device directory

seems my mount requires -t parameters, so i try again, but still having error

mount -o loop,noatime -t ext2 /sdcard/debian.img /data/local/mnt
ioctl LOOP_SET_FD failed: Device or resource busy

please help thanks!
[XPERIA X10 Android Development] ddewbofh:
Are you running the script as root? If you not you might wanna try that.
[XPERIA X10 Android Development] Keegan_P:
This may sound kind of noobish, but would this be a dual-boot (I.e. running both android and debian on different boots of the phone, or would this be debian, until you reset the phone to be android again.
[XPERIA X10 Android Development] aget1:
Still the same

whoami
whoami: unknown uid 0

mount -o loop,noatime -t ext2 /sdcard/debian.img /data/local/mnt
ioctl LOOP_SET_FD failed: Device or resource busy
[XPERIA X10 Android Development] ddewbofh:
And I assume you're either running the script or doing those commands manually? Including the mknod part?
[XPERIA X10 Android Development] aget1:
i run the script and found no luck, so i type in both adb and console, of coz mknod is done, either mkdir /data/local/mnt is done or not gives the same result, tried also mounting without loop,noatime and gives

mount: Block device required

would it be rooting problem or mount problem?

also tried losetup -d /dev/loop0, no luck

losetup: /dev/loop0: Device or resource busy
[XPERIA X10 Android Development] aget1:
i see this to be a remounting of debian system on your phone, no modification on your phone so no, no dual boot
[XPERIA X10 Android Development] MrPappy86:
anybody can post a video tutorial please?

and the debian and android works together or just debian?

thx
[XPERIA X10 Android Development] Keegan_P:
A video tutorial would be amazing.
[XPERIA X10 Android Development] samaldis:
I will upload a video tutorial asap but at the moment I am having to use a 3G dongle for my internet (just moved out, am poor.. all donations to team@net-aware.co.uk on paypal ;-)) also this runs along side (or on top of) android so you'll still be able to get your texts and calls.. finally there are already a lot of debian apps compiled for ARM systems so have a look to see if the app you want is on apt (make sure you've run apt-get update first) please pm me if you have any problems :-)

Thanks,

Sam Aldis
[XPERIA X10 Android Development] alx5962:
I tried to run it on the latest firmware and it seems loop device kernel module is not available in it.

Also the script is not fully functional :

you need to 'mkdir /data/local/mnt/'

also it's '/data/local' instead of 'data/local'

I haven't spend much time on this, so it's not working for now on my phone.

So help is welcome :)
[XPERIA X10 Android Development] ddewbofh:
Quick question:

Has anyone at all gotten this to work?
[XPERIA X10 Android Development] zephyrix:
nope. I doubt it.
[XPERIA X10 Android Development] alx5962:
mod edit:..
[XPERIA X10 Android Development] aget1:
sorry for stupid me, i don't know i can create loop device more than loop 0

i create loop0,loop1,loop2,loop7 and try mounting again, it success this time

so here is my script:

#!/system/bin/bash
export PATH=/data/local/bin:/usr/bin:/usr/sbin:/bin:$PATH
if [ ! -d /data/local/mnt ]
then
mkdir /data/local/mnt
fi

if [ ! -b /dev/loop2 ]
then
mknod /dev/loop0 b 7 0
mknod /dev/loop1 b 7 0
mknod /dev/loop2 b 7 0
mknod /dev/loop7 b 7 0
fi

if [ ! -d /data/local/mnt/bin ]
then
mount -o loop,noatime /sdcard/debian.img /data/local/mnt
fi
echo "nameserver 4.2.2.2" >data/local/mnt/etc/resolv.conf
chroot /data/local/mnt
mount -t devpts devpts /dev/pts
mount -t proc proc /proc
mount -t sysfs sysfs /sys
rm -f /etc/mtab
ln -s /proc/mounts /etc/mtab

Edited:

I just brick my device after some more work, every command even ls do no output, reboot machine freezes at sony ericsson logo, now i am re rooting the device......

Edited 2:

Should be not the problem of debian, seems working fine.
[XPERIA X10 Android Development] zephyrix:
umount /cdrom
[XPERIA X10 Android Development] alx5962:
I have debian running on my xperia now :D

I used a different image from this topic BTW

the main problem was how block devices are used, and after some searches I used these (as root) :

busybox losetup /dev/block/loop2 /sdcard/debian.img

busybox mount /dev/block/loop2 /data/local/debian

Only console mode is working for now as i need to install icewm and configure it.
[XPERIA X10 Android Development] patrick91it:
can you post a video?
[XPERIA X10 Android Development] alx5962:
I guess a video of a terminal console is not very useful...

I have troubles with icewm & vnc for now, as my vnc client is connecting but just after that xrdb send an error so I cannot see the window manager remotely :(
[XPERIA X10 Android Development] alx5962:
Goodbye Debian, hello Ubuntu !

Someone managed to run Ubuntu on the nexus one :

http://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-nexus-oneandroid/

So i changed some files to make it run on Xperia; just replace the files from the nexus with the ones linked here.

Also replace "vncserver -geometry 1024×800" in the tutorial with :

"vncserver -geometry 800×480"

Video here : [YOUTUBE]http://www.youtube.com/watch?v=MvhF3N2ahUk[/YOUTUBE]
[XPERIA X10 Android Development] thor2002ro:
useless... unless we get a real X, running it with vnc is useless...
[XPERIA X10 Android Development] qinyanggl:
We don't have to be mean, I think it is a pretty good start, don't you? Having Ubuntu running on Xperia would be very interesting.
[XPERIA X10 Android Development] synlar:
wow that is very interesting... can put WINE on it, then things like starcraft!?!

But wait, can we put flashplayer on it? and run firefox? Can connect a bluetooth mouse/keyboard to it, and omg!?!
[XPERIA X10 Android Development] Keegan_P:
I'm gonna try this tomorrow, ill tell you guys how it goes.
[XPERIA X10 Android Development] ddewbofh:
No, you can't put WINE on it as it isn't an x86 processor. Well, technically I suppose you could put WINE on it but you wouldn't be able to run any apps with it.
[XPERIA X10 Android Development] Keegan_P:
You could however play some Linux games like Battle for Wesnoth, etc. There are quite a few very good games for linux
[XPERIA X10 Android Development] alx5962:
As you can see on the video, Firefox is running.

There's not much memory available so we cannot do much with Ubuntu on our phones and also a touchscreen is not as great as a mouse so for now it's just something fun to play with instead of something fully usable.
[XPERIA X10 Android Development] Keegan_P:
Got it running! :-)
[XPERIA X10 Android Development] qinyanggl:
Just out of curiosity, can I get things like vi and texlive running on it? If it is possible, I suppose at least I can write papers on it.
[XPERIA X10 Android Development] ZeritoX:
Hi

Could you see in ubuntu how much ram the X10 has? It is said that only de Docomo has 384mb and the normal X10 256mb. And on other sites is said that all have 384mb.

Could you comprobe it?

Thanks and sorry for my bad english :(
[XPERIA X10 Android Development] alx5962:
I prefer nano to be honest, vi is too old school for me :)

Don't expect to use Ubuntu in a daily basis, too slow and only touchscreen as input.
[XPERIA X10 Android Development] qinyanggl:
Yeah, I think you have the point. Regarding the speed, I think I can survive with a terminal-only Ubuntu or Debian :) I'll definitely try it once I have some more spare time. But I think maybe a netbook would be more realistic solution for mobile text writing.
[XPERIA X10 Android Development] OM3G4:
Good job!

Thanks.
[XPERIA X10 Android Development] jasonvw:
For mobile text writing wouldnt the android version of documents to go be the better option? Or even vnc or ssh into a computer be better?
[XPERIA X10 Android Development] mmsbludhound:
This thread deserves a bump/sticky.
[XPERIA X10 Android Development] tina333:
linux insaller app

Hey :-)

Has anyone tried l"linux installer" app?

(web add) android.galoula.com/en/LinuxInstall/

Its on the market and has the "tux" penguin icon. I've just started trying to install it but I seem to be having problems with the file directories?? I was hoping there might be some info on this thread :-)

Tina :-) x

X10i (rooted)
[XPERIA X10 Android Development] pataxda:
I tried to install ubuntu with the xperia-fix from post 25 but I always get:

bootubuntu: not found

I already searched the web but I can't find a solution (only other people having the same problem and getting no answers X_X)

I hope some of those who got to run ubuntu on their x10 can help me out here :)

It would also be great if someone could make a small tutorial on how to get it working for the x10
[XPERIA X10 Android Development] Meikrekel:
I had it running but had to wipe everything off my x10 and now I can't get it to work anymore. BTW, we should make a lighter, faster and better optimised for touchscreen version off ubuntu =D
[XPERIA X10 Android Development] plinius10:
Why Ubuntu?? it's big and bloated and huuuge, did i mention it's big?

There are numerous smaller linux versions dsl, puppy and so on.

Why don't use a smaller, less memory eating os?

just my thoughts. i like the work!
[XPERIA X10 Android Development] RaDi:
can enyone take some screen shots for us ? 4 or 3 ??
[XPERIA X10 Android Development] Meikrekel:
The reason why we use ubuntu is because it has an ARM-port;)

DSL and puppy don't have ARM-ports, and without an ARM-version of a linux distribution, it can't be installed on our phones;)
[XPERIA X10 Android Development] Meikrekel:
I'll try to get ubuntu running again and when that's done, I'll make a tutorial on how to do this. After that I hope to start some sort of "hype" about customizing ubuntu for phones so it becomes more touchfriendly, faster etc. (like a UI similar to the netbook version of Ubuntu, with lxde as desktop environment and replacing big programs which use a lot of memory for lighter alternatives). Than ubuntu might actually become really usefull for phones.

What do you guys think? And is there anyone who would like to help creating this customized ubuntu-version?
[XPERIA X10 Android Development] pataxda:
That's a great idea...I totally support that and would like to help.

I have spare time now, so I can start to learn a bit about ubuntu. I was also thinking about doing the android tutorials :D but if you get ubuntu running on x10 again then I'll be the first to sign up (well maybe not the first one...oktoberfest begins tomorrow xD)
[XPERIA X10 Android Development] pataxda:
@tina:

I tried "linux installer" but after the first step when you create the loop the app is laggy and I can't go further and get an error when trying to extract and install into loop. :(
[XPERIA X10 Android Development] Cablekevin:
I'd help, i'm Dutch too, get in touch with me.
[XPERIA X10 Android Development] Meikrekel:
OK, this is strange. When I copied the ubuntu files to my SDCard and I disabled the connection between the SDCard and the computer, it says my SDCard is damaged and needs to be reformatted:mad: And another problem is that when I get to the command "bootubuntu" it says it's failling to shut down ubuntu, which is strange. Anyone any idea on how to solve these problems?

BTW, sorry for my English, I'm Dutch
[XPERIA X10 Android Development] Mostaqeel:
Can someone tell me what i'm doing wrong?

Can anyone tell me what i'm doing wrong here?

1- I downloaded the image and extracted to the sdcard and renamed to debian.img

2- copy the first script into a file named startdeb.sh into the sdcard

3- open a terminal and use the following commands

$ su

# cd /sdcard

# chmod 777 ./startdeb.sh

# ./startdeb.sh

then i receive this:

./startdeb.sh: permission denied

I don't really know what i'm doing wrong, please anyone help.
[XPERIA X10 Android Development] zephyrix:
sh ./startdeb.sh
[XPERIA X10 Android Development] Meikrekel:
Are you installing debian or ubuntu? And are you following the tutorial of nexusonehacks or any other site?
[XPERIA X10 Android Development] Cablekevin:
I've got a ubuntu distro up and running with Netbook Remix, managed to get a img file, the only problem is when i run the debian .sh file a load of errors pop up. Meikrekel do you have another .sh file set up to do that thing?
[XPERIA X10 Android Development] Meikrekel:
That img is probably not optimized for ARM and especially not for our qualcomm ARM.
[XPERIA X10 Android Development] Cablekevin:
Filefactory isn't doing it for me so is Megaupload for me, but i grabbed an img from the web "lucid-on-android-0.1". I've got a cross cursor now and a black and white background, no login no nothing, but i've got some progression now. Need to grab that Megaupload file in a moment.
[XPERIA X10 Android Development] Meikrekel:
Awesome, can you open up a terminal in android, boot up that ubuntu and then install a few things like LDE (that launcher i told you about, this is great because it is 10.04 and that has an interface build in like the netbook version of ubuntu but in 2D and so it should run on ARM devices) and a vncclient?
[XPERIA X10 Android Development] Cablekevin:
I'm going to put "lucid-on-android-0.1" aside for now, downloading the 700mb one, hopefully my X11 starts up correctly this time, i'll delete stuff from it by myself, i think the lucid one has to plenty files to operate normally.
[XPERIA X10 Android Development] Meikrekel:
Hmm.. that means that u use ubuntu 9.x and I liked the fact that you had 10.04 because that ads the possibility to install that look of the netbook edition of ubuntu in 2d, which isn't possible in 9.x
[XPERIA X10 Android Development] Cablekevin:
I'm going to figure out what went wrong, for now i'm a bit stuck at my old trusted pound (#), i'm not going anywhere near my bed tonight i think.