yashsingh1/xdaforums huggingface dataset:
[HD2 Ubuntu Development] plopper:
@dcordes: see attachment.

2 kernel traces with a vigo usb sound adapter attached.

could you pls put the kernel headers in the next release, so we can try to compile kernel modules ourselfs.

right now i picked the full kernel source, should work to i guess, but sutch a waste of space. lol

keyboard, mouse and usb sticks working fine.

plopper
[HD2 Ubuntu Development] Tokl:
Thanks :)

"Last couple of lines from dmesg" :D:D:D

When i plug in the USB Stick its generating over 100 pages (if pasted to writer) of Text :eek:

But it says shortly after plugging in: sda1 sd0:0:0:0 [SDA] Attached SCSI removable Disk usb 1-1.3:1.0: uevent

OK, i see i have to learn a lot new things to use Linux for real, and i am so spoiled from Windows... ;)

Main problem of using Fat32 is, that it can not handle files > 4Gb so some Movies, ISOs etc. are not working, and this filesystem sucks really because it often corrupts files. :(

I will try ExFat, not sure Ubuntu can handle it, but i think so :)

Had an quick look into the QuickDeveloperStartGuide for Compile Linux kernels,

but i understand to less with my knowledge of linux, so its better for me to wait for the next release HD2 Ubuntu v0.4 :cool: with the hope you can compile the fuse module.

Keep up the great work!

Thanks and Greetz Tokl
[HD2 Ubuntu Development] plopper:
try the next line in a terminal.

dmesg | grep usb > dmesg.txt

this sends the output of dmesg to grep, which filters it for lines containing the word usb, and finaly saves it to a file called dmesg.txt

linux is indeed harder to learn, but once you learn you have more time left, it keeps running unlike windows. lol

ext2 might be an option even on windows.

http://www.fs-driver.org/

plopper
[HD2 Ubuntu Development] ricky886:
Can it run on Magldr1.12 sd boot:confused:
[HD2 Ubuntu Development] arbalah:
hey hi, i downloaded Ubuntu and extracted to my sd card but whenever i triy to run haret exe. it says unknown app. and haret icon seems like a white sheet.My system is MDJ's android nand, i have to use wm ? please help thanks.
[HD2 Ubuntu Development] nmambre:
Yes, haret.exe is a windows application.

You have to search and see if magldr can load ubuntu.
[HD2 Ubuntu Development] dcordes:
Hey guys it's really good to see that you work out stuff on yor own and help each other!

It's the good part when you see people actually use this :)

I'm short on time: I used following usb audio device successfully in the 0.2 release which had very similar kernel. it worked ootb with pulseaudio. no hack needed!

Bus 002 Device 009: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
[HD2 Ubuntu Development] plopper:
so far no luck.

my netbook (fedora) detects it instandly, but as alsa, gets listed in the gnome config tool and in pacmd.

on the phone neither of those show the stick.

found a manual to setup pulse and the needed tools for ubuntu 10.10.

followed that, didn't work.

notiched that on ubuntu 8 and earlier it needed some manual config, same effect.

pulse shows audio streaming but no sound or device detected.

might destroy 1 of my usb sticks tomorrow and see what the netbook shows when running ubuntu.

tryed ubuntu 0.2 but saw no life in the mouse, guessed there was no usb support there.

could have overlooked it tho.

but in all i'm having fun.

plopper
[HD2 Ubuntu Development] dcordes:
did you check dmesg if driver is loaded and if you get the sound interface etc ?

what is the usb id of the device ? lsusb
[HD2 Ubuntu Development] daz1uk:
Can Ubuntu be started from within android? or would I have to revert to windows if I wanted to use it?
[HD2 Ubuntu Development] robinmassop:
Is there anyone out there can make a version of NAND?
[HD2 Ubuntu Development] plopper:
so far haret is the only way to boot it, and that is windows only.

wouldn't it be wiser to first get everything working before requesting these kind of things?

@dcordes: tonight gone play a bit more with the usb audio stick, and i'll post a updated dmesg log with lsusb dump.

everything is showing from pulseaudio, i see the icon in the taskbar and that shows the programs playing audio.

just no device is shown.

also which might be a clue, pulseaudio doesn't give an error when i start it manualy from the shell.

could be normal tho, never used pulseaudio before.

tryed connecting to a wpa protected network today and it failed to detect it, was a linksys wrt120 router.

mostly default settings used.

in about 2 weeks i can test it on a linksys wrt160l (linux powered) @ my own place, got all security features enabled on that 1.

plopper
[HD2 Ubuntu Development] darkanubispr:
someone can make it bootable in a MAGLDR
[HD2 Ubuntu Development] plopper:
lsusb output: Bus 001 Device 005: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter

same device id as yours.

dmesg (full dmesg is attached)

[ 27.056531] usbcore: registered new interface driver snd-usb-audio

but no mention of pulseaudio in dmesg, or is this enough?

aplay -l

aplay: device_list:235: no soundcards found...

googling on but wanted to update you as promised.

plopper

ps. kernel headers would be extremly apreciated, kinda stuck on compiling a kernel module.

managed to get the autoconf, but now failing on modpost.

and the autoconf has to be full of errors, most the questions i had no idea what to answer. lol
[HD2 Ubuntu Development] Osca:
You're a genius.
[HD2 Ubuntu Development] Anubis78:
Use the screen as a touchpad

I have VNC on my IPad and it use the screen as a touchpad. It's very easy to control my PC this way. I think it can be a huge improvement for the ubuntu port on HD2 to have this kind of control... sorry for my bad english and thank you for your nice work !
[HD2 Ubuntu Development] shingers5:
eagerly awaiting version 0.4 before flashing as feel that will be best build to date. watching thread in earnest while still using wp7 on ma hd2. i am guessing that this wont boot from wp7 but then again dont see why not! roll on v4 with audio in calls and i be hooked. no kubuntu release as yet but maybe you guys should combine efforts to get one great release out there!

thanks again
[HD2 Ubuntu Development] i n f a m o u s:
I'd honestly prefer the ability to boot Linux from the SD card via Android or even be able to create a Linux partition on NAND with Android.

But like plopper said the priority for now is getting everything to work.
[HD2 Ubuntu Development] payamspot:
Problem Solved!

For those getting the following message:

"The file 'x' cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. ..."

I did this, and worked:

1. Hard-reset (Factory-reset) your phone. (Unfortunately this is the best way I found! but following remaining steps will help you not to get the message again later)

2. Download and install "Advanced Configuration Tool" (http://xdaforums.com/showthread.php?t=418151)

3. Open it > Miscellaneous > Disable "Security warning".

Enjoy!

P.S. No Guarantee!
[HD2 Ubuntu Development] plopper:
resize the rootfs.ext2

just incase you didn't find how to resize the image yourself, here's how to do it.

the next example does work but see dcordes next post for a safer method.

e2fsck -f rootfs.ext2
resize2fs rootfs.ext2 1040000

the first line checks the filesystem for errors.

the second line does the resize of the filesystem, but the vallue is done in blocks of 4Kb.

this example resizes it to about 4Gb, the max size that fat32 can handle.

plopper
[HD2 Ubuntu Development] njaam_dumi:
Hello! Can i run aircrack - for decrypting WEP keys on this destribution?

Thanks ;)
[HD2 Ubuntu Development] dubmehard:
Hi

sorry for the noobish question

but would it be possibile to run this ubuntu build from android?

Since i've nand flashed, I've lost the chance to run winmo applications...

deep thanks for reading

db
[HD2 Ubuntu Development] dcordes:
Yes, it is possible to boot a new Linux kernel from within running Linux. The initial kernel needs to be compiled with the kexec configuration enabled.

We might install the kexecboot program in android to do so. I can poke around with such things after I finished exams in march. Maybe remind me then on twitter or so.

plopper: I think this is not going to work for enlarging the image. First you have to append the extra size to the file. Check http://www.tehfear.com/2007/10/08/resize-loop-disk-image/ :
[HD2 Ubuntu Development] telegraph0000:
can't find any wifi networks when wifi is on

Am I doing something wrong? I simply enabled wifi and expected to be able to select a network, but that's not the case...
[HD2 Ubuntu Development] dertester123:
some networks are not visible somehow. its the Same for me i can see the neighbours but mine is not listed. could be a Problem with the timing ifqyour router sends in Intervalls but that is just my theory.

Mine is also set up as repeater for our cable network, maby thats the Problem..

if you got a hub and linux compatible wifi stick you could try this too
[HD2 Ubuntu Development] nafets.f:
Hello to all!

This here is a great job:D

I had the same problem. I switched off the MAC adress Filter in my router and after then i can see my wifi

:rolleyes:,v
[HD2 Ubuntu Development] jegze:
zip file is corrypted can someone upload unzipped folder to mediafire or something like that?
[HD2 Ubuntu Development] plopper:
so far it is working fine, got over 3.1Gb of data in the image now.

but i updated my post to add a warning and refered to your post for a safer and more detailed method.

would you guy's be using wpa protected networks?

i tryed to connect to the network of my future father in law and that also wasn't visible (wpa).

now here at my girlfriends place i can see wpa2 and open networks, but not the wpa type which are available.

look for the option to connect to a hidden network, but make sure you put in the mac of your phone in the filter list before that, and try again.

some routers automaticly hide when you enable the mac filter.

use the torrent instead, it's gone garantee you a faster download anyway and automaticly checks your download for errors and fixes them.

torrent wasn't designed for illegal downloads, it was designed to download linux distributions.

keep it running at least untill you see a share ratio of 2.0, remember "sharing is caring".

read the thread, this has been answered several times.

plopper
[HD2 Ubuntu Development] ahh1:
I have a problem. when i lock the screen it need code to unlock it. where can i find this code?

and no menu like the video. only one time i gete the menu like the video you have:confused::confused:
[HD2 Ubuntu Development] plopper:
a workaround for the menu is mentioned by dcordes in the very first post of this thread.

if the work around doesn't help, try a full format of the card, and if that doesn't help, try a different memory card.

i had the same problem in the start, turned out the memory card was broken.

plopper
[HD2 Ubuntu Development] Brokul:
Hello everyone,

I've tried to run qtnx client installed by synaptic, installation was successful, but if I try to launch it, shows only "loading qtnx" box which disappears after few seconds...

Any ideas how to get it working?
[HD2 Ubuntu Development] dcordes:
Maybe the qtnx thing is common maverick problem?

Screen unlock password is ubuntu

Fir No Menu problem see first post
[HD2 Ubuntu Development] Brokul:
I've just checked, qtnx works perfect on my ubuntu 10.10 x64 and still not (after reinstall) on hd2
[HD2 Ubuntu Development] dcordes:
So maybe arm related problem. Start it from a terminal with verbosity parameter if available and see if you get an error. If not yet known you might report it in ubuntu launchpad or with the upstream project bugtracker or whatnot. i need to get back to learning acids. If the test tomorrow goes well i can do a nandubuntu during weekend!
[HD2 Ubuntu Development] blacksmith01:
some questions~

1. Is there any way to run windows program ?

(no wine. )

2. can multibooting on magldr1.12 with WP7 ?
[HD2 Ubuntu Development] dcordes:
1) No.

2) I am working on that. Just booted ubuntu with magldr but it needs some work so stay tuned for 0.4
[HD2 Ubuntu Development] jowelvjoy:
this is not a rom it is the os just like in your pc
[HD2 Ubuntu Development] jowelvjoy:
why the windows when Ubuntu is practical
[HD2 Ubuntu Development] jowelvjoy:
why not windows when Ubuntu is practical
[HD2 Ubuntu Development] plopper:
router not visible

just been messing around with the router from my future father in law, which didn't show up in ubuntu.

has the idea this was caused by the wpa protection as i have used wpa2 and wep and open, all those worked fine.

after trying all security and flow features the answer turned out pretty simple.

check the channel your router uses.

after changing the channel to anything but 12 and 13 the router showed up.

can some people validate this pls.

if this is true the cause is the frequency those channels work on, which should be a problem in the source of the driver.

if not then it's a hardware problem.

plopper
[HD2 Ubuntu Development] Tokl:
Had the same problem with Ubuntu 0.2, i changed router channel from 13 to 6 and it was working.

Its not Hardware related because WinMo has worked with channel 13!

I saw the same problem with an Android build not long ago at another router...

Greetz Tokl
[HD2 Ubuntu Development] benzas:
Hi i am new to this forum.

Also I am interested in linux on HD2 SO MUCH!!!!!

and would like to try it asap. BUT! at the moment i am running android NAND ( happy with it and dont want to go back to wmo). my sd card not even inserted.

Question is there any way to run Ubuntu or KUbuntu on top of android os from sd card, ?

or do i need to go back to wmo ? ;/
[HD2 Ubuntu Development] lesiohormon:
im looking for the same answer guys
[HD2 Ubuntu Development] dcordes:
Hello,

Welcome on xda-devleopers.com !

I would like to encourage you to show some patience and read before you post questions. Many things have been answered already and I only just commented on this a few posts back.

I will put it in the first post.

http://xdaforums.com/showpost.php?p=10809857&postcount=306
[HD2 Ubuntu Development] maxawesome:
Is there any ETA for the 0.4 release (or beta for that matter)?

The OP is from Dec 27 and appears not to be updated since then.

I'm running Android from NAND, and am anxiously awaiting the MAGLDR bootable version.
[HD2 Ubuntu Development] GuimbardePower:
Is the calling function working good? I hope that i can use my phone totally with ubuntu in a magdlr version! Good work guys
[HD2 Ubuntu Development] benzas:
is that possible now to connect bluatooth keyboard to hd2 ubuntu ?
[HD2 Ubuntu Development] Meikrekel:
Hey,

I'm very interested in making this work for the xperia x10, but where should I start? We can only run ROMS thathave 2.6.29 kernel from sony, because the bootloader hasn't been hacked yet..
[HD2 Ubuntu Development] nkrink:
wow very very impressing, thanks man for your grate work
[HD2 Ubuntu Development] vitalij92:
How I install FlashPlayer ?
[HD2 Ubuntu Development] Diegis0n:
I very much like the sound of number 2 :)

Keep it up!
[HD2 Ubuntu Development] plopper:
merging the sony kernel with the updates from the guy's behind this project.

check htc-linux.com xperia X1 for some idea's.

that has been answered a couple times allready.

plopper
[HD2 Ubuntu Development] tejeskifly:
Hi, a have a few question.

Can i boot to ubuntu with android?

I install nand android to my hd2, it is possible to start ubuntu with android?

TEamspeak 3 work on the phone? My eng is not to good, and i reed in the first post, ubuntu have problem with sounds.
[HD2 Ubuntu Development] dertester123:
@tejeskifly

Sound is not working in v0.3.

Booting from within android or using magdlr should be possible but is not supported yet. As far as i know the magdlr version should be easier to develop.

But before this i think there are more importand things to develop.

In my opinion a magdlr sd boot would be good for most of the end-users just to try out the build and play with it.

I hope this gets more popular for others devs if the base development is done!

Thanks to all the devs here, its really funny to use mouse / keyboard etc with a smartphone ;D
[HD2 Ubuntu Development] jeebugorn:
looking forward to this. just flashed nand android so gonna have to wait for magldr version. xda never ceases to amaze
[HD2 Ubuntu Development] Anthonayy:
Any updates on triple booting? WP7, android, and Ubuntu. That would complete me. xD
[HD2 Ubuntu Development] gencaslan:
This build booting from magldr would be perfect. Cuz many people like to have wp7 and android parallelly on their hd2. The only option then is to install wp7 on nand. Afaik it is and will not be possible to boot wp7 from sd. Thatswhy dft is working on an wm6.5 build bootable from sd.

But thats ok. Wp7 on nand an androids on sd. Plus ubuntu booting from magldr would be perfect. Letting boot an sd android build from magldr was adding just one parameter in the initrd. So i hope there is not a lot to do, to boot ubuntu from magldr.

PS :

I actually tried to boot ubuntu from magldr "boot ad sd" option. and it booted !!!

1. i copied the files on my sd-card.

2. renamed initrd.cpio.gz to initrd.gz

3. renamed zImage_htcleo_adb_2.6.32.9-38182-g6ad7e77 to zImage

then i see the boot messages and so on, the X comes up, i see the on screen keyboard. and then it suddenly reboots.

anybody has an idea why it reboots ?

Okay, so dcordes is working on it.
[HD2 Ubuntu Development] straby187:
The Nexus S forum has. 0.3 booting natively. What's the difference between there method and MAGDLR?
[HD2 Ubuntu Development] anmeldung:
Some news regarding v 0.4 ?

Or I'm interesting to test beta version 0.4.

Regards
[HD2 Ubuntu Development] sinkincaffein:
if it just had phone functionality involved...! Locking forward to a Ubuntu Phone :)

Nice work though!:)
[HD2 Ubuntu Development] kholk:
Umh, so if we use an USB audio card, like a Creative X-Fi..............

...well, if ALSA works we can use an external USB audio card (if it has any driver sourcecode, and I think Creativa hasn't released any source for X-Fi so just think of another USB sound card) to get audi output.

Heh, to use KDE or GNOME on a 4.1" touchscreen without an external keyboard is really painful, so you'll be surely using it with something external that is bigger than the device itself...why don't think of it? :P

Anyway, I'm thinking of buying an USB to VGA/DVI/HDMI "video card" and to dedicate my yellow-and-blue-screen HD2 to this project, as my screen is like unusable (touchscreen works! ...not correctly)....

Will it work? :P
[HD2 Ubuntu Development] pantizol:
It should be technically possible with a displaylink usb video card. However it will not work out of the box and I have not figured out how to get my usb2dvi adapter to work yet. From what I've learned so far I would say there are 3 possible ways that could work:

1) The most elegant would be to get one of the displaylink linux drivers, compile it and then configure the xorg file. I even failed in the compilation because of dependencies that could not be solved. Maybe I should try the driver for beagleboard which is arm as well.

2) The next possibility is to emulate windows xp. In windows xp displaylink devices will be 'plugandplay'. Some people have managed to get qemu running in winmo and android (without usbhost though) but it is not available for arm ubuntu, yet. But I found an article about win95 running in bochs on an arm ubuntu netbook (sharp netwalker). Therefore I tried bochs, which I could install over the software center and which runs but it will take me some time till I know how to install windows in it.

But even if we had a working emulated winxp with usb host this would be an extremly slow and inelegant solution (but it might still be good enough for a powerpoint presentation)

3) A developer called Sven Killig managed to get a displaylink adapter to work in android on nexus one. He created an application called send to framebuffer which can be downloaded in the android market. This app allows rooted android devices with usb host to send pictures to the displaylink device, which will show them. Unfortunatly this only works in Android so we will either have to wait until someone creates an hd2 android rom with usb host or someone ports this program to ubuntu.

I don't know if any of those ideas has the potential to work, but I will keep on investigating on this as soon as I have more time.
[HD2 Ubuntu Development] dcordes:
Hey guys I'm still very busy just commenting on the usb display adapter:

1) Yep that's the way to go: Solve it on driver level first. The usb device I have doesn't work due to general lack of support in Linux (non-ARM issue!). You can see what device it is s earching my posts.

This is all about kernel level.

2) Forget that.

3) Don't worry about that. User space is no problem. You just need that tool for android because android is not made as modular and flexible as normal Linux distros. Xorg has everything included to use an usb display device!
[HD2 Ubuntu Development] Phobius:
Tried it too, but still got the message that the kernel failed to open :(

So, hope v0.4 is comming soon.
[HD2 Ubuntu Development] pantizol:
I tried to build the displaylink-mod linux kernel framebuffer driver but it gives me the following error when I try to "make":

make -C /lib/modules/`uname -r`/build SUBDIRS=/home/htc-linux/Downloads/displaylink modules

make: *** /lib/modules/2.6.32.9-38182-g6ad7e77/build: No such file or directory. Stop.

make: *** [all] Error 2

Has anyone got an idea how I can fix this?
[HD2 Ubuntu Development] adamvanner:
Do bluetooth keyboards mice work in 0.3?

I would try myself but AFAIK it would mean going back to WM 6.5.

Cheers
[HD2 Ubuntu Development] carbtvserv:
Winmob 7 is perfect

I have tried almost every android build on xda and some of them are great, but ever since I installed win 7, I never went back. It runs flawlessly on my hd2. Now, I know we can run both an android build and win 7 on the hd2 w dual boot, but I would love to try Ubuntu on my hd2. How can I dual boot my win 7 and Ubuntu on my phone? I know this is pushing it, but might it be possible to triple boot win 7, android, and ubuntu on hd2?
[HD2 Ubuntu Development] gencaslan:
Allthough it boots and comes up it is not usable. Because it reboots periodically. Did you rename the files like i wrote case-sensitivr ? All the files where in the linux directory as i tried it out. And boot from ad sd option.

Anyway we have to wait vor v4..
[HD2 Ubuntu Development] plopper:
you need the kernel sources and headers, look up htc-linux.org.

after building your own kernel and modules you can do a install_headers_all to install the headers.

pay close attention, by default this installs the headers to the host system, so redirect it when needed (/usr/src/kernel).

put the sources in a folder with the name showed on uname -r, this so your driver can find them by itself.

bit hard with no bluetooth drivers.

nice idea to just rename the kernel, but the layout of android isn't the same as ubuntu.

so it seems ubuntu can't find everything it needs to boot.

plopper
[HD2 Ubuntu Development] dan1j3l:
MAGLDR Boot fix

Hi,

Created fix for rebooting problem while booting via magldr.

Put linit in /bin or /sbin and make sure it gets executed on start

(you can put it in /etc/rc.local BEFORE return 0 )

linit will do some device initialization needed for booting via magldr.

Cheers
[HD2 Ubuntu Development] GuimbardePower:
Is this solution working good?

We just have to put the file in the folder or we have to edit a file too?

Thank's for your solution I will try!
[HD2 Ubuntu Development] GuimbardePower:
I think I cant use this solution because I can't boot ubuntu to moove this file in the folder... I've just download the 0.3.zip file so... Wait for the 0.4!
[HD2 Ubuntu Development] kholk:
I've added the execution of linit in rc.local but it still reboots itself.

I was trying to modify initrd but I don't have a linux installation here and I'm not at home so.. I can't.

If someone can, please upload an initrd that executes linit :)
[HD2 Ubuntu Development] GuimbardePower:
How do you changes the initrd to include the execution of linit?