yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] timstanley1985:
Has there been any more development. This thread has been very quite for a week
[Desire HD Android Development] liljom:
Do you have a linux on your pc?

If yes, try it:

mkdir /ubuntuDHD

sudo mount -t ext2 -o loop /path/to/rootfs /ubuntuDHD

and check out if you can open the /ubuntuDHD folder

Otherwise, ho do you use the fastboot command? Do you open the cmd line with start here.bat in the easy to use folder?
[Desire HD Android Development] marchetto:
yes..i restart in bootloader mode, i connect the phone, i open cmd line with start here.bat in the easy to use folder and when enter the command "fastboot boot boot.img" it seems to load linux, but after it restart in android..
[Desire HD Android Development] zFr3eak:
I only want to say that adb is not working fully cause the folder /system/bin dont exist. So some important things dont like too like ddms.bat. and i also think that the hard keys will be fixt if we take the correct usr driver from leedroid cause there it is working.
[Desire HD Android Development] liljom:
okay, it sounds like you do everything right.

did you check the MD5?

MD5 of image: 79a9faa2d49725fb6bfdc30d4c5fb885
[Desire HD Android Development] teshiburu2010:
@marchetto, just to confirm. do you get the linux desktop as like in the first post?

and then when you restart your phone it boots android instead of linux?

i know this may be a stupid question, or insult your intelligence, but it isnt meant to.
[Desire HD Android Development] artro:
Working on Inspire 4G

I wanted to confirm that the latest image is booting from fastboot on the Inspire 4G. Anything I can help with on the development end?
[Desire HD Android Development] bergfex:
Help would be create! There are so many things that could be done, but I am very busy at the moment myself.

What are your skills/experiences?
[Desire HD Android Development] artro:
Well, my skills and experience are limited, but I'd like to help out however I can.

I'm familiar with c, python. And Java on the programming end. By no means an expert, but I've compiled a kernel before. I've been using Linux for many years, so I'm moderately familiar with it.

If nothing else, I can help with testing or documentation and the like. I'd be willing to try my hand at some simple modifications of the code, as well, but I wouldn't count on me for too much. I'd pretty much be willing to lend a hand wherever I can!

Let me know if I can be of any help! I'm glad to see Ubuntu being developed for handhelds - I'd like to try compiling ROS on mine someday. Its an Ubuntu based "operating system" for robotics that I'm playing with for a university project.
[Desire HD Android Development] bergfex:
The big question is why we can "ping www.google.com", but not use firefox.

But you can also try to unpack the boot.img from the easy to us.zip and unpack the initram disk inside. You will see that the initram disk is complete different from an boot.img for android, but there is not to much magic. You can open and modify the init script so that the rootfs.ext2 most have an other location and name.

A usful new name and location would a directory "ubuntu" on the sd card and the name "ubuntu.img". Then the same image can be used nativ and with chroot, without copy and rename the image.
[Desire HD Android Development] baltazar.nilsson:
HI & I take a bow to the dev´s..

Really cool work, will be soooo cool to see what you can make with this..

Not ready to try yet tho, but keeping an eye on this one ;)

So please keep up the great work..

Cheers..
[Desire HD Android Development] timstanley1985:
Any more movement on a multi touch yet?
[Desire HD Android Development] bahkyp:
What WM is that?

I assume ofone and sphone as SMS managers.

Would it be possible to get a

dpkg --get-selections

of important packages. (looking to port this to X1 and debian).
[Desire HD Android Development] artro:
Ok, so I've managed to unpack the boot.img, make the modifications, and repack it but for some reason it just hangs at the HTC white screen when trying to boot it. I'm in the process of tracking down the issue though. I think part of it has to do with properly setting up my osx environment. I hope to have it booting by today or tomorrow, though.
[Desire HD Android Development] bergfex:
Here are some good news about firefox.

I got two PNs from dronf a new forum member who is not alowed to post here yet.
[Desire HD Android Development] Gunstar_Hero:
Ubuntu on my PC (for dev and everyday use) and on my Inspire 4g? It works great and I love you.

Seriously though, used the clockwork dual boot method and it worked great. Nice job guys. Its so smooth :D
[Desire HD Android Development] Jhinta:
try this , run sudo Nautilus -> then change firefox bin ex-permission to current user or every one , this sould make firefox work then if i'm right
[Desire HD Android Development] bergfex:
I think the rigths of nslookup are the problem.

I will try enter a IP instead of an url.
[Desire HD Android Development] donnyevo4g:
i keep getting a remote failed error message what do i do!
[Desire HD Android Development] bergfex:
What have changed/tried?
[Desire HD Android Development] bergfex:
Starting firefox from the root terminal works, give me a working firefox.

-> doesn't work for me.

Trying a IP address instead of a URL -> doesn't work for me.

changing the right of nslookup in /usr/bin -> doesn't work for me.
[Desire HD Android Development] LuHe:
Hello,

at first I wanted to thank you for this release! It feels great to see a complete Linux distribution running on my DHD.

I used your zImage image to boot into a MeeGo root filesystem - this is already partially working (the UI doesn't work yet - there are many graphical damages).

If you're interested i could send you the generated root filesystem (or a kickstart file to make your own - it's really easy).

Regards to Hagenberg! ;)
[Desire HD Android Development] bergfex:
Yes, would be great.

I think more people would be interested in Meego on th DHD.
[Desire HD Android Development] drast-x:
Hello,

I did everything the instruction says, but... how do I run ubuntu?:)
[Desire HD Android Development] bergfex:
The fastboot comand from the instruction will start ubuntu.
[Desire HD Android Development] bergfex:
@ LuHe:

A new dev thread with a pre-build rootfs for Meego would be nice. (I sent you an PN)
[Desire HD Android Development] MatthewJackal:
Is sound going to work sometime?
[Desire HD Android Development] bergfex:
I am trying to build a meego image but i get following error:

qemu: fatal: cp15 insn ee1d0f70

Is there a other solution than installing a newer ubuntu version, I am on 10.04?

https://bugs.meego.com/show_bug.cgi?id=12121
[Desire HD Android Development] Jhinta:
Try to build Q 0.13 from source ? Or even 0.14

http://wiki.qemu.org/download/qemu-0.13.0.tar.gz
[Desire HD Android Development] Jhinta:
New kernel will be here tomarow this wil fix FireFox
[Desire HD Android Development] dunfy23:
Hey Devs,

Nice work!

OK, I have ubuntu booted and running nicely. The only issue I have is that I have no way to run programs (other than ALT-F2), I see no menu (top left), or even no power options (shutdown, reboot etc). I also don't see the 'remix' application when booting (as shown in the first screen shot), I've tried rebooting numerous times too.

Great work, Keep it up! If I can help with anything, testing, tweaking etc, let me know!

--

Dunfy
[Desire HD Android Development] dunfy23:
Hey All,

Just an update as to where I am playing with this...

The remix menu finally loaded after a few reboots.

Also, the firefox not connecting to the internet;

When I'm logged in as htc-linux user I can't browse using firefox, so I decided to install openssh-server (to get ssh access), then setup tightvncserver so I can mess around a bit more easily. I was only able to setup vncserver with root, it wouldn't let me bind to local ports using the normal user (even with sudo).

Logged in via vnc as root, and firefox now works and I can browse?!

----------- edit --------------

Here's the problem when I try and run vncserver as the normal user:

"socket failed: Permission denied"
[Desire HD Android Development] qkall:
as much as i friggen love ubuntu... this is why i kind of hate it for devices... i've had a couple where ubuntu was ported or w/e and they all seem to fall into the lack of 'true root' shenanigans.

i'm curious to know why hasn't anyone tried to build a straight debian build instead?
[Desire HD Android Development] dunfy23:
True, I do like Ubuntu. Debian is a lot less bloated so you'll get a basic window manager and nothing more.

I'm trying to sort out the multitouch issue, using the touch screen as a touchpad is pretty crap, I want to touch and click not have to scroll a bloody mouse all over the place then touch the screen about 10 times to get it to click.

I'll look into the port binding after, I'm not at all experienced as much as the people that put this together but, hopefully I can contribute something good!

--

Dunfy
[Desire HD Android Development] Jhinta:
network sould be fixed already , B will release them when he is done.

he has the correct files for it , and iḿ realy to bissy with tf101
[Desire HD Android Development] dunfy23:
Awesome, I'll continue trying to get true touchscreen working then :D nearly there... just need to calibrate it.
[Desire HD Android Development] bergfex:
you can also try to use Jhinta rootfs for the transformer.

It is based on ubuntu 11.04 this should also fix touchscreen.

I will playing around with this, but at the moment I have problems with my usb connection under android.
[Desire HD Android Development] dunfy23:
Nah, I don't like 11.04 they messed it up with unity.. so i'll stick with 10.10 and get it working. My battery died mid-configuring xorg :( so upon reboot touchscreen died.

Also, do we have any way of defaulting wifi to be on? So if that happens again i can just reboot and still have ssh access...

Dunfy
[Desire HD Android Development] Jhinta:
it didnt, but iḿ bissy with tf101 multioption , boot rootfs or parition automatic,if it works ill send you the new initrd
[Desire HD Android Development] qkall:
battery life aside... i think unity would work so much better on our phones... just seems more set up for a touch screen.
[Desire HD Android Development] tibrocks:
Hey guys! I tried to boot with the pc, finds ok the boot.img but then says failed and nothing happens. I followed the steps in the first post.

As for the dual boot I didn't try because I don't understand: after choosing an older recovery in rom manager, then reboot in recovery it will boot the linux. And from linux, how do I get back to android? Because there is no rom manager so I can select the newer recovery image.. am I missing something?

Great idea tho, hope will be fully functional soon!
[Desire HD Android Development] gkrananth:
Instructions:

Download ubuntu4dhd.zip

Download easy to use.zip

Put the linux folder from ubuntu4dhd.zip to the root of your sdcard

Put the easy to use folder to your windows PC

Bring your DHD into the bootloader

Connect DHD to the PC

Double click Start here.bat

Tip "fastboot boot boot.img"

(without ")

after restarting your old rom will start

How can i goto ubuntu. I am not understanding? pls help
[Desire HD Android Development] bergfex:
fastboot boot boot.img will start Ubuntu.

Using the dual boot option:

Normal rebooting under ubuntu brings you back to android.

Turning the phone on and off brings you back to andriod.

Pulling the akku and turn on again brings you to android.

(Booting into recovery brings you to ubuntu)
[Desire HD Android Development] tibrocks:
tried the dual boot, works but fails to mount sd and a file is missing.. says 'cannot continue' I had to pull the battery to restart- tried 4 times (even with different sd cards) but the same.
[Desire HD Android Development] SmokeyMcBong:
WOW! :eek: now this is pretty amazing! ;)

all is working exactly how described in the first post, nice to have ubuntu to hand so easily! :)

so easy to switch aswel using the dual boot method [well dualboot and quadboot as using boot manager for another 4 roms installed to sd lol]

created a folder on sd card for the two boot.img files to be placed,

copied my 4ext recovery img to the folder on sd card and renamed to 4ext.img

copied the boot.img for linux to the same folder and renamed to linux.img

then i just switch between recovery and linux using root toolbox to flash the img's ;)

thanks to everyone who has been envolved with getting this to the masses :)

... also on a side note, is there any 'quick' :) method for changing cpu clock speeds from within ubuntu, or maybe scripts/kernel mod maybe? :)

any ways, thanks again guys, amazing work! ;)

----------------------------------------------------------------

“Strange women lying in ponds distributing swords is no basis for a system of government!”

Monty Python and the Holy Grail (1975)​
[Desire HD Android Development] donnyevo4g:
hey guys i have a small problem i was able to install everything in the bootloader but when i put the command in my phone restarts and gets stuck on htc screen when i remove battery it just goes back to my old rom any ideas?
[Desire HD Android Development] :
Gonna test this at my friend's DHD. but does this touch my internal storage such as boot, system and data? The HD2 thread said it didn't...

I just want to be sure :D
[Desire HD Android Development] zFr3eak:
it dont touch...
[Desire HD Android Development] :
Thank you for your fast answer.

I'll tap the thank button for you ;)
[Desire HD Android Development] :
haha it works on my friend his DHD :cool:

also tried it on my own Desire S, but i got stuck at the white 'htc' screen. is a port possible?
[Desire HD Android Development] rikmer:
Is there a way to make the boot.img smaller than 3 MB . If thta would be somehow possible we also could use Ubuntu4DHD on HTC Desire (no HD) .
[Desire HD Android Development] sypher1337:
Will it be finished anytime??

mfg

Sypher
[Desire HD Android Development] bergfex:
At the moment I don't have the time and the motivation for further development, but everyone is well come to work on it.
[Desire HD Android Development] sypher1337:
at home will give it a try to get the sound work maybe i have sucsess
[Desire HD Android Development] Jhinta:
Totaly true , i even dont have time .

But was the networking fixed ?
[Desire HD Android Development] bergfex:
About the networing you can connect to a wifi by using the network manager, but you have to run firefox for example as root.

lilstevie (he do great work on ubuntu on the transformer) posted a hint for solving this problem in his new thread.

@Jhinta: I think you have have the most actual source of the kernel/boot.img, could you share it so that anyone can continue working on this, please?
[Desire HD Android Development] jerrylzy:
Is it necessary to have ext and swap partition?
[Desire HD Android Development] bergfex:
I think this will be done by the real int process.

But I found the last problem. The mistake was in MAKEDEVS, a shell script in /bin from the initrd something like a subprogram.

So now /dev/block/mmcblk1p1 is found, but still some problems will mounting it.

(But now I have to do some other things .... )
[Desire HD Android Development] Jhinta:
I also have deen this . But how dus you compiled mkbootimg?
[Desire HD Android Development] bergfex:
I first changed some values in the mkbootimg.c and the make a generic build of the AOSP.

http://source.android.com/source/building.html

./mkbootimg --cmdline 'init=/init rw consoleblank=0 fbcon=rotate:1' --kernel zImage --ramdisk ramdisk-new.gz -o boot-new.img
[Desire HD Android Development] bergfex:
I think I have found the next problem.

mknod -m 0666 /dev/block/mmcblk1 b 179 0
mknod -m 0666 /dev/block/mmcblk1p1 b 179 1
mknod -m 0666 /dev/block/mmcblk1p2 b 179 2
mknod -m 0666 /dev/block/mmcblk1p3 b 179 3
mknod -m 0666 /dev/block/mmcblk1p4 b 179 4

The minor numbers are not matching.
[Desire HD Android Development] bergfex:
it boots!

update + video in some minutes
[Desire HD Android Development] liljom:
mmmm

I'm very interested
[Desire HD Android Development] zFr3eak:
pretty nice :)
[Desire HD Android Development] setsunakawa:
Great news ! :D

It would be marvelous with touchscreen and wifi :rolleyes:
[Desire HD Android Development] MrYuiM:
Quick question, are you using the netbook version of ubuntu or the desktop version?
[Desire HD Android Development] SensationStyler:
introduction video??? :)
[Desire HD Android Development] liljom:
how can we get the kernel?

or will you upload the things separately for this thread?

EDIT:

a better question:

when will you make a step by step description how to boot it up?
[Desire HD Android Development] zFr3eak:
i am not sure. we got 2 versions running. one of leedroid which is the ubuntu 10.10 i think and the other i dont know sorry. touchscreen und wifi is our main thing what we want first fixt ;)
[Desire HD Android Development] lpachuong:
Would be great if we can get touch/keys/and calls worked ;)
[Desire HD Android Development] zFr3eak:
he will share it when we got the touchscreen fixt i think. it's really not difficult and we try now to make it easier so that you will not need your pc to boot in it.
[Desire HD Android Development] bergfex:
done

see first post
[Desire HD Android Development] liljom:
suppacool :)

thank you very much!
[Desire HD Android Development] liljom:
it boots :)

very good job

you made it easy to boot it up.

now we have to find some good drivers

EDIT:

and it boots the ubuntu.img found in LeeDroid's thread and Rhobuntu, and other ubuntu images made for HD2 or android devices
[Desire HD Android Development] bergfex:
With the image of leeDroid Thread the power and the volume keys will work. :)

You can also try a meego image. Would be interessting
[Desire HD Android Development] bergfex:
Touchscreen

Name: synaptics-rmi-touchscreen

sys/devices/virtual/input/input1

/dev/input/event1

But I don't know where and how to config this in ubuntu. Should be somewhere like /etc/X11/xorg.conf
[Desire HD Android Development] dudumomo:
I'd love to see this project finalized !

Can we help ?

If you need a FTP or mirror, let me know.
[Desire HD Android Development] Jhinta:
?? i had send you a compleet boot.img plus config file for using? what did you do with it ??

I was under the inpresion that it was already fixed .

As i was bissy with tf i realy didnt look into dhd , so didnt know, that sudo still was needed , but as iḿ reading in tf you have the awnser.

Also i cant build anymore no pc and all my time goes to my kid , just watching in shadow.

Let me know if i need to build one , ill will do it at my work.
[Desire HD Android Development] lows10:
Ok I was up till 5am trying to get this to boot finally after not getting the fastboot way working I did the recovery image boot so when I boot into recovery it boots Linux but I just get stuck sitting at the oem htcleo thing I can't type anything cause there is no keyboard I really want this to work I haven't even seen it boot up all the way I just sit at like an open terminal
[Desire HD Android Development] Jhinta:
so you have it running , but do you see that its trying to start ubuntu but failes and then drops you back to terminal , ifso most likly your xorg is failing , try editing it or even remove it. also adb should be working you can do a adb shell to get terminal working then debug from there and see whats going wrong

---------- Post added at 08:43 AM ---------- Previous post was at 08:05 AM ----------

Looking for a beta tester , to get internet fully working , i dont have a pc anymore so you can compile a kernel and are no lamer.

Contact me and ill show you how to build it and every one can start from there .
[Desire HD Android Development] lows10:
It stays in the same window as the penguin just says tons of stuff then when it wants me to enter the password I can't do nothing and adb how do I get that going through Linux I'm running mint 11
[Desire HD Android Development] Jhinta:
Just do a google about adb in linux

Also witch rootfs are you using ?
[Desire HD Android Development] lows10:
All I downloaded was the dhd rar then the easy to use. Zip
[Desire HD Android Development] LuHe:
Could you send me your kernel config?

I tried to port the community successor of MeeGo (Mer) to the Desire HD, but it uses systemd and therefore needs some adjustments in the kernel (e. g. DEVTMPFS_MOUNT needs to be set).

But after creating and running the boot-able image i can only see the white htc logo. I can't see any kernel debugging messages, although the virtual terminal is enabled. Maybe we could compare our config files?

Thanks,

Lukas
[Desire HD Android Development] LorD ClockaN:
I could compile you my kernel with devtmpfs config option enabled??

but for meego, do you need asop kernel or sense??

after activating that option in kernel config I get another opened: Automount devtmpfs at /dev, after the kernel mounted the rootfs

do you need both options??
[Desire HD Android Development] LuHe:
Thanks for your fast reply

This would be really great! AOSP kernel should be fine

Could you use the options from the MeeGo Wiki:

Do you also have support for console on virtual terminal?

Which source do you use for your kernel?
[Desire HD Android Development] LorD ClockaN:
I use my source of my AOSP kernel..

here is my last beta compiled with your config settings

http://www.multiupload.com/ZERTFTVJB2

also it's flashable zip for DHD and android, so don't flash it from recovery... use zimage from kernel folder (that is the kernel) and bcm4329.ko wlan module from system/lib/modules

you need to extract your boot.img and put zimage inside, than pack it back..

wlan module just copy to that mentioned folder

virtual terminal, you mean when you install terminal emulator app??

don't understand..

---------- Post added at 04:45 PM ---------- Previous post was at 04:38 PM ----------

ups, please redownload from upper link.. I forgot to change one setting!!!
[Desire HD Android Development] P00t:
woah what is this! O_O looks cool

never seen this before~
[Desire HD Android Development] bergfex:
I can sende you the config on wedensday. I think framebuffer support would be necessary for Meego.

Do you meen the Nokia n9 edition of Meego?
[Desire HD Android Development] LuHe:
I already managed to build a kernel (based on the source from https://github.com/LorDClockaN/htc-kernel-ace) that should work with MeeGo / Mer.

But this workaround is still needed for framebuffer console output? I'd still get a scrambled video output if i don't patch the kernel :(

No, not the Nokia edition. I'm talking about the Mer Project. It is based upon MeeGo and is therefore a complete Linux distribution. It offers many user interfaces, for example the one from Plasma Active ("mobile version of KDE") or the MeeGo CE Handset UX.

---------- Post added at 06:39 PM ---------- Previous post was at 06:30 PM ----------

Ah thank you, I've already managed to compile your kernel with my config options (and patches).

I've meant CONFIG_VT with virtual terminal. This is needed because I need to see the kernel debugging messages during the boot
[Desire HD Android Development] Jhinta:
Reading in pain
[Desire HD Android Development] LorD ClockaN:
your first error is compiling from wrong source.. you must use LorDmodUE source, that is AOSP.. other is sense!

also I haven't compiled it with CONFIG_VT...

you git clone my lordmodue source, you MUST change to my WIP branch

than:

make lordmodue_defconfig

make menuconfig

do the changes and save

./build.sh

that is it..

just make finished folder outside of cloned repo so you will get your zimage and module there ;)

you can change make command in build.sh script to -jx where x is number of CPU cores in your PC

edit:

also you can patch the kernel if needed for scrambeled video, but you as I said before my main branch is WIP, so change to that before doing anything
[Desire HD Android Development] ralfhome:
It is interesting to HIS it will work. They have similar Hardware/:)