yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] Jhinta:
bergix i can get framebuffer to work also inet , bluetooth is already documented , touchsceen and audio is left ( i cant compile no pc nore time)

Give me the source evry one is working on and ill patch it
[Desire HD Android Development] DJ SNap:
Where in RAR is .img file? I have rootfs.ext2 and I can't open it on Windows. I want to use method with recovery.

Should I open it on Linux?
[Desire HD Android Development] Jhinta:
https://github.com/LorDClockaN

witch one is for ubuntu? also try mirror one and call it like gnu.... , then ill will add my code
[Desire HD Android Development] LorD ClockaN:
as said in your quoted post. LorDmodUE is for AOSP kernels..

so use that.. when you stuck at compiling, contact me..

also use lordmodue_defconfig

EDIT:

USE ONLY WIP BRANCH!
[Desire HD Android Development] bergfex:
@jhinta: would your changes only made at the kernel or also in the rootfs?
[Desire HD Android Development] Jhinta:
kernel , also i dont remeber all things but , you will get internet and console , bluetooth need user space app read tf ubuntu for that or hd2 wiki

---------- Post added at 04:29 PM ---------- Previous post was at 04:21 PM ----------

based of lord wip kernel (kernel only and pure testing )

Used wrong boot Creator not working

So going home now , and cant compile till tomarow then .
[Desire HD Android Development] bergfex:
I have no environment for testing tonight.
[Desire HD Android Development] Jhinta:
Got it working again

Modules

Boot.img

So its done , O dont forget to check config for locations of firmware and nvram , forgot to look at it .

This source i will add as zip in time.
[Desire HD Android Development] LuHe:
Could you fix the scrambled framebuffer? Can we get the patch for it?

And which kernel source did you use as base?
[Desire HD Android Development] Jhinta:
Read and test! !
[Desire HD Android Development] bergfex:
@luhe i send you the patch as pn
[Desire HD Android Development] Jhinta:
Can You take over from here . I will put the source fully online. Then i will go idle again
[Desire HD Android Development] DJ SNap:
I must ask my question again:
[Desire HD Android Development] torsrex:
The img file is in the easy to use zip. It's called boot.img
[Desire HD Android Development] DJ SNap:
So for what is ubuntu4dhd.rar ?

In first post there is method:

As you see there is an info about boot.img. Ubuntu4DHD.rar should contain boot.img .

What is wrong?
[Desire HD Android Development] torsrex:
There is a typo in the op. Ubuntu4DHD.rar only contain the rootfs, which you should copy to your sdcard (copy the whole folder). The easy to use.zip contain the boot.img you should use, both when using fastboot and the recovery method.
[Desire HD Android Development] DJ SNap:
Ok. Will try.
[Desire HD Android Development] qkall:
Two separate files yo. The Ubuntu.Rar has the rootfs.ext2 file while the easy to use thing has the boot.img for using to flash a 'recovery' that will boot the rootfs file

Sent from BlackIce
[Desire HD Android Development] DJ SNap:
Got it!! Now everything is OK and Ubuntu is working.
[Desire HD Android Development] destructor542:
Can I do anything for progress in development?
[Desire HD Android Development] bergfex:
You could try the Boot.img and the modules, that jhinta has posted on the last page.
[Desire HD Android Development] arcanemyth:
I am not able to make Ubuntu startup from the bootloader.

I use this command at the bootloader :

fastboot boot boot.img

and get this as output

downloading 'boot.img'... FAILED (status malformed (1 bytes))

finished. total time: 0.001s

MD5 Checksums

boot.img = ADFECEAAD1549DC7FA6593B9CFB2EE72

boot-usbhost.img = FCF2F0D69606B23B887CDDF994F31F86

What is it that I am doing wrong here? Device is S-OFF, rooted and using Android Revolution HD.
[Desire HD Android Development] torsrex:
It seems like your boot img is not corrupted. Are you sure that your phone is eng s-off (Reboot while holding volume down and look at the top right)?
[Desire HD Android Development] arcanemyth:
Damn! The device was radio s-off :\ ... Did ENG S-OFF and works like a charm :) Thanks torsrex!
[Desire HD Android Development] hadobac:
Hi guys,

Sorry for rising this thread again, but I want to tried ut the native version of Ubuntu. However, it appears that the download link doesn't work anymor, while development has ceased...
[Desire HD Android Development] bergfex:
sorry i don't have access to all the files this weekend. I will reupload asap.
[Desire HD Android Development] djxtabay:
Hi,

Since it is native it has a different kernel no? Then would it be possible to add usb host to this ubuntu native version?

Any chance to get it upgraded on a recent version like the original one? Have you started to look at it?

Very great stuff here!
[Desire HD Android Development] JD69:
I'd really love to see a fully working Ubuntu-version on my DHD - hope that there will be some more developement in the near future since Ubuntu takes over the Asus Transformer Prime.
[Desire HD Android Development] stumpyz9:
anyone have a mirror?
[Desire HD Android Development] piotrekmichalski:
Everyone who look for a mirror, i have a good news - i'm downloading this file, but my internet speed is so slow (1mbps download, 512 upload). When check the file and this looks to be ok, then you give me the best hosting (where file can't delete after xxx days w/out download) and i up this at night ;)

Only 2 hours to finish download... wait 'n believe it's good ;)

Greets from Poland to everyone :P

(P.S. Sorry for my english, but i was never learned this language at school because i had no english, only german, i learn english only yourself ;P)

UPDATE:

For working sound, we must to find driver for AIC3254. It Stereo Audio Codec mounted in our DHD. Manufactured by Texas Instruments. With dmesg on android we can read very interesting things ;)

Full info about this chip: http://www.ti.com/product/tlv320aic3254
[Desire HD Android Development] bergfex:
This chip was used on early Beagleboards and on IGEPv2. On the Beagleboard it was replaced with the pincompatible TPS65950.

There is a UBUNTU version for both of them...
[Desire HD Android Development] piotrekmichalski:
Oh, my master :D

Maybe you can help me... when i try to boot boot-usbhost.img system are boot and work ok, but still don't see USB devices... adapter for USB Host is working 100%, checked on half-bricked HTC Mozart.

USB Host is very important for me because i have broken touch.

(P.S. Ubuntu are working, i can upload if anyone give me good serv ;) )
[Desire HD Android Development] bergfex:
Hm USB host was never working for me with ubuntu. I put everthing together, but I have no idea why it is not working.

Is the touchscreen of yor phone broken or is touch only not working under ubuntu for you?

This means USB host is working on an Mozart? Have not known this. My girlfriend owns a Mozart maybe I should play around with it (the phone).
[Desire HD Android Development] piotrekmichalski:
Touch in my phone is broken, such as LCD, working only bottom half touch, and top half of LCD are damaged but not totally.

Mozart probably not have USB Host, but my colleague make half-brick, in bootloader didn't show him "serial" or "USB", because he's forgot RSPL (If i remember correctly). Then i must to run phone in USB Host Mode (Vol- + Camera + Power), and connect pendrive, or card reader (memory higher than 2gb propably not work) with MOZAIMG.nbh ;)

With Ubuntu i'm working now about Bluetooth. USB Host probably require other kernel, which have modules for USB Host, this kernel haven't.
[Desire HD Android Development] bergfex:
The usb host modules for usb host should be somewhere in the rootfs. At the location where the should be under ubuntu, but the don't work for me.
[Desire HD Android Development] moby_wan_kenoby:
Anyone has a mirrors of this?...
[Desire HD Android Development] Izumi Konata:
Mirror

I found a (though really slow) mirror here:

h t t p://c.dyndns.org/repo/android/meego/Ubuntu4DHD02.rar (remove the spaces in http... Can't post links because I usually lurk apparently, even though I'm not spamming...)

Can't seem to find a mirror for easy to use.zip, though. Anyone, pretty please?
[Desire HD Android Development] keeptalking:
If anyone has these files I'd be happy to host them - just send me a PM.

Cheers,

Mark
[Desire HD Android Development] rikusuicide:
update?
[Desire HD Android Development] DavidTiger:
Slight bump, but anyone happen to have all the files required for this? or link to other working ubuntu/linux natively?
[Desire HD Android Development] DavidTiger:
Alright, I managed to find the files and boot into ubuntu on my DHD! Awesome!!

I've uploaded the files needed in one rar on my dropbox, I suggest people make a permanent mirror as it will eat my bandwidth if lots download it.

https://dl.dropbox.com/s/x2wosf4uvf70leq/UbuntuDHD.rar

Thanks.
[Desire HD Android Development] DmK75:
Thanks, what works into this build?
[Desire HD Android Development] DavidTiger:
As I found it from another filehost I've no idea if its the last one from here, but as I've used it so far.

Touchscreen works + Multitouch

Wifi works, although I had a problem with WPA2 security on my network, I created a guest hidden SSID with no security and it connects fine. May work with WPA/WEP security but I can't test that.

Can download and install apps, ping etc but firefox and fedora don't connect

3G also works for me, but again no webbrowser is working.

It seems stable enough, just wish there were newer builds and devs still working on it :)

Wish I knew more about linux programming lol
[Desire HD Android Development] BratHuhn:
I struggle with the installation.

Should i download the actual and an older version cwms?

After i do this i only find in the download folder from cwm 3 files with numbers but no .img

What did i wrong?
[Desire HD Android Development] DavidTiger:
To just use ubuntu all you need to do is connect your phone to usb when in bootloader-fastboot. Then use the 'easy to use' folder and open the start here.bat and type (without quotes)

"fastboot boot boot.img"

That will make your device boot into ubuntu, no need to overwrite the recovery.
[Desire HD Android Development] MaR-V-iN:
I am playing around with the things and ideas from this thread, though i plan not to use Ubuntu (but ArchLinux or Fedora - depending on if i'll get systemd running...) and to use a 3.0 kernel insted of 2.6. My idea is to get gnome shell running which has a very nice on screen keyboard, so we'll have a great and powerful linux os on smartphones :)
[Desire HD Android Development] bergfex:
Firefox should work if you run it as root. I don't exactly why.

When I remember correctly there is a administration consol , tipping Firefox in there should start a working Firefox. (Maybe not super safe)

what brings me to my next point. Feel free to use everything from here for your own work. Don't hesitant asking.

if there is a new host I would like to update the OP.
[Desire HD Android Development] qkall:
i can host a mirror... i have some web sever that i'm not using at all... just holler (not home at the moment so i can't just download the dropbox link and upload to server..)
[Desire HD Android Development] thewadegeek:
BergFex if you have a few minutes I got a quick question. Are you just using the standard kernel to get it booting? With the modified boot.img/different rootfs?
[Desire HD Android Development] MaR-V-iN:
This can't be done with default kernel as you need to enable console-vt in kernel which will break surfaceflinger used by Android. So you won't be able to use the display as terminal or with xorg on default kernel, but anything else will work.

We need a modified x server that uses surfaceflinger. Would even be better for multitouch ;)
[Desire HD Android Development] bergfex:
That's correct, I use a kernel with enabled console-vt, a modified boot.img and different rootfs.

But I don't know much about surfaceflinger.
[Desire HD Android Development] thewadegeek:
So what you are saying is that I can use a default kernel with the modifications to boot Ubuntu, yet that same kernel will break Android? Hmmm...I'm not that much of a kernel dev, but I wonder if it would be possible to make it configurable, based off of some sort of parameter in the init process. Do you know at what point all this gets initialized?

Awesome thanks!
[Desire HD Android Development] MaR-V-iN:
This is impossible, because kernel initialization is before the init process. (If you booted the Ubuntu image you would've noticed that the kernel initialization is displayed, on default kernel this is not the case)
[Desire HD Android Development] thewadegeek:
Ok I actually took the time to look up what console-vt is and that makes sense...what if we were to use a different virtual terminal for kernel initialization, and then later on switch to the default one based off which OS we are booting?
[Desire HD Android Development] MaR-V-iN:
Maybe that is possible, but I have no idea how. My idea was to let Xorg (or any other X11 server) run using the same backend as surfaceflinger so both os can share the same kernel. Then any default kernel would also allow you to boot a real linux what would be a great solution. This could be possible today, though I have no idea how ;) maybe bergfex has an idea?
[Desire HD Android Development] thewadegeek:
Hmmm...I like your idea better. The two packages would have to be merged somehow to let them run simultaneously. Looks like I have some reading to do.
[Desire HD Android Development] MaR-V-iN:
Me too ;)

Sadly i've not that much time right now as i've exams next week :/
[Desire HD Android Development] thewadegeek:
That's the exact situation I'm in, I need to wrap up finals here. :p So this console-vt option, is it actually needed for Ubuntu to boot, or just to see the kernel initialization details? I'm still a bit fuzzy on what it does. It appears to just configure the console serial port.
[Desire HD Android Development] MaR-V-iN:
I don't think it's needed to boot ubuntu (i am using ArchLinux but it should behave kind of equal) but you won't get any output on screen, as Xorg wants to connect to the console that is not available and therefore fails to start. However, if configured right, you should be able to get things like adb, ssh and wifi running (that's my state with KangBang-Kernel and latest ArchLinux)
[Desire HD Android Development] thewadegeek:
That makes sense...so what we need to do is cross-compile a version of Xorg to have the console-vt we want to use hard-coded in. Then we would just need a easy way to choose which rootfs to use on boot, to get a truly universal kernel.
[Desire HD Android Development] gjc:
Official Ubuntu for smartphones

Have you seen this?

http://www.ubuntu.com/devices/phone
[Desire HD Android Development] Trig0r:
Ha, thats the same thing I was going to post, getting bored with Androind and Sense, Ubuntu would be something new to mess with...
[Desire HD Android Development] MaR-V-iN:
Yeah, but:

Canonical did not release anything but some notes and a video, no download etc!

Canonical did not mention if Ubuntu for phones will be publicly released anytime! (Ubuntu for Android is available for manufacturers these days, but no public release/download/source)

Canonical did not mention if Ubuntu for phones will be any kind of open source!

Canonical choosed to be the Microsoft-way with their mobile system (also in other areas), what means a more or less closed OS with exclusive manufacturer access. If they don't change the way they do stuff (integrating amazon product search [=ads] is not what everybody wants), this will be a big flop.
[Desire HD Android Development] qkall:
1- there should be a working galaxy nexus build 'in a few weeks'

2-it's definitely going to open sourced - eventually

3- i think people are complaining way too much about the amazon thing... you can turn it off/you can remove the lens/you can use other DE. i haven't did any of these and to be honest i don't see how this is that different than the way android handles adsense...
[Desire HD Android Development] MaR-V-iN:
1: i think they meant they will show it on mwc (25-28 Feb). This doesn't mean there will be a download at the same time... Note that Ubuntu on Desktop was meant to be easy to install and easy to use, so I think they still hold this idea on Ubuntu for Phones. Even though everyone here at xda is able to flash a ROM in less than 10 minutes, this is not the case for every galaxy nexus user. Also note that bootloader-unlocking still voids warranty (even on nexus) so it's rather unlikely that they release a download as a typical ROM...

2: like your sentence :P "definitely - eventually" that's a good description of what it is. They are forced to publish kernel and other GPL-software sources. However note that current Ubuntu for Desktop contains non-open-sourced components at some places and why do you think they'll do different on Phones?

3: you're right about the desktop, but take a look at the video of Ubuntu for Phones: Amazon made their "home screen". Movie-files do not store covers (like music-files can) so they grab covers from Amazon. Even if you're able to disable Amazon on your phone (you most likely can't use another DE like on desktop) you'll lose features on your phone.

I don't think you're comparison with AdSense is good: while amazon is integrated with Ubuntu for Phone, AdSense is not on Android. Apps may include AdSense, but they may do so on every other os...
[Desire HD Android Development] Trig0r:
Well I'm replacing my DHD soon with something new and just wanted to play with it so probably nothing going to be out before I get rid..
[Desire HD Android Development] GuyInTheCorner:
To go back to Android I presume you'd use adb reboot recovery to flash an Android ROM?
[Desire HD Android Development] MaR-V-iN:
What do you mean? This can't be flashed (well it could, but it's rather stupid), but is meant for tethered boot. You shouldn't think of this as productive in any way! Read first post for boot instructions.
[Desire HD Android Development] kingchan123:
You ROCK man :victory:
[Desire HD Android Development] donteatsoap7:
Could someone please make this into a ROM so I could use boot manager lite and dual boot? Thanks.
[Desire HD Android Development] piotrekmichalski:
Hey, i have mirror of Ubuntu4DHD_02.rar, if anyone looking for this file, i can upload, but i need easy to use.zip, or just boot.img :)

Anyone have the boot?

EDIT: Doesn't matter, i find easy to use, and have working ubuntu, if anyone looking for it, i can upload ;)

Now working about sound ;)
[Desire HD Android Development] michaelvd12:
wont work anymore

The download links wont work anymore ( go strait to ilivid what wont work, it is a fake program that gets you malware and virusses on your computer) can i get the download links ?
[Desire HD Android Development] deftoner:
First, thanks for the awesome project and your time.

You don't have any download link that it doesn't need to install spywares to download the file?

thanksssssss
[Desire HD Android Development] coder2k:
Does anyone have the latest version? Would be very nice.

Thanks!
[Desire HD Android Development] coolyahya:
The download link redirects to the iLivid ad
[Desire HD Android Development] liljom:
yeah, downloading :)

I tried 3-4 images already, and downloading 4 more :)
[Desire HD Android Development] bergfex:
Nice.

Would be great if you could post some feedback.

Which was the best one?
[Desire HD Android Development] liljom:
no one has a working touch screen

HD2 v0.3 is netbook, the one by LeeDroid is with Gnome, and Rhobuntu is with LXDE, so Rhobuntu is lighter

but as I saw, HD2 has a working wifi, while the others don't
[Desire HD Android Development] bergfex:
I have uploaded a new version of boot.rar abd easy to use.zip.

Now the boot sequnce will look better. Output is in landscape and little tux is on the top.
[Desire HD Android Development] liljom:
cool :)

I tried to boot ubuntu-10.04-netbook-armel+dove.img, but doesn't boot as it couldn't mount it
[Desire HD Android Development] bergfex:
Mayby not an ext2 image. If you know which kind of filesystem it is, I could make a special boot.img for you.
[Desire HD Android Development] bergfex:
https://wiki.ubuntu.com/ARM/RootfsFromScratch

This way a own ubuntu image can be assembled.

But for now we should edit an existing image to get the touchscreen working.

http://htc-linux.org/wiki/index.php?title=Ubuntu/Leo#Rootstock
[Desire HD Android Development] liljom:
ubuntu-10.04-netbook-armel+omap.img desn't boot either, I think it's not ext2 either

you mean, if it's ext3 or something, you make a boo.img for that?
[Desire HD Android Development] bergfex:
Yes should be no problem
[Desire HD Android Development] liljom:
can you make one, where it detects the filesystem type and mounts it like that?

or how can I find it out?
[Desire HD Android Development] bergfex:
If you have ubuntu on yoou pc you could try this to mount and look into your images

mkdir /mnt/ubuntuimg

sudo mount -t ext2 -o loop /pathToTheImage/rootfs.ext2 /mnt/ubuntuimg

Then you will see the content of the image in /mnt/ubuntuimg.
[Desire HD Android Development] liljom:
cool

does this command mount it as RW?
[Desire HD Android Development] bergfex:
At least for root it should be RW. If you will find a way to mount it RW for every user, this will be cool.

you could try

sudo mount -t ext2 -o loop,rw /pathToTheImage/rootfs.ext2 /mnt/ubuntuimg

Oh and don't forget to unmount, before you but an modified image back to the DHD.

umount /mnt/ubuntuimg
[Desire HD Android Development] liljom:
all right

and what infos do you need from these images?
[Desire HD Android Development] bergfex:
When you are able to mount

ubuntu-10.04-netbook-armel+dove.img

this way we will know with filesystem this image is using.

Therefore you have do try different types at "-t ext2".

The other thing we have to do, is finding out what we have to change inside the images to make the touchscreen work.
[Desire HD Android Development] liljom:
okay

it's not ext2/3/4 but I'll find out what it is

and I looked into other forums with android devices and touchscreeen drivers. I try to help as much I can, but I'm just a beginner linux user
[Desire HD Android Development] zFr3eak:
thanks for your help.

the main problem which i have in the moment that we have no r/w rights for the images. but i think for the first release we have to take only one image. so what you think is the best one? i think the image of hd2 is the best because the images have a good size for the touchscreen.

zFr3eak
[Desire HD Android Development] liljom:
I tried 15 different filesystem type, and none of them works

ubuntu download page writes, that it's an usb image
[Desire HD Android Development] zFr3eak:
what you think which system we should take?
[Desire HD Android Development] liljom:
you mean we can't write when we booted up?

HD2 image is good

I think the touchscreen is the first thing as bergfex wrote it
[Desire HD Android Development] bergfex:
So let us forget this image. Specially because it is not for an qualcomm SoC.
[Desire HD Android Development] zFr3eak:
no i mean we can't edit the images on pc because we find no way how to mount or extract it with full r/w rights
[Desire HD Android Development] liljom:
as I see we can

I mounted it with the command bergfex wrote, I edited a file in /system/bin, restarted ubuntu, and it's still edited :)
[Desire HD Android Development] zFr3eak:
oh nice i will try it thanks
[Desire HD Android Development] liljom:
yeah, thanks bergfex

can we find the touchscreen driver in the kernel source? http://developer.htc.com/
[Desire HD Android Development] bergfex:
The boot.img consists of the kernel and an init script that mounts the image from the sd card and starts it.

This means we have already a kernel that fits perfect to the DHD. This kernel includes also the touch driver.

The ubuntu images have some init scripts and config files. Somewhere in this files we have to set "name" of our touch driver.

With other words, we need to configure the ubuntu image that it uses our touchdriver.
[Desire HD Android Development] zFr3eak:
for me it don't work allready read only -.-