yashsingh1/xdaforums huggingface dataset:
[HD2 Ubuntu Development] misa.fisa:
Hi,

Can you please give me some instruction how to do this modification?Thx
[HD2 Ubuntu Development] dan1j3l:
Did u put linit to /bin or /sbin and set right permissions (needs to be executable ), and did u put it before return 0 in rc.local ?

Try to redirect output of linit to log file to see if it's executed right (like linit > /logfile)

After right execution logfile should look like this:

linit: Starting NAND Modem initialization...

linit: Modem initialization completed...
[HD2 Ubuntu Development] GuimbardePower:
Is it possible to do it without starting ubuntu with haret? Like modify the files like this:

http://www.htc-linux.org/wiki/index.php?title=Initrd
[HD2 Ubuntu Development] dcordes:
at@bric=0

at+cfun=0

at+cops=2
[HD2 Ubuntu Development] dan1j3l:
Yes, that's in linit. :)
[HD2 Ubuntu Development] red_hanks:
This is nice. Will try it soon...thanks!
[HD2 Ubuntu Development] Ramidalf:
please . can anyone post a detailed instructions how to run Ubuntu through Magldr. I tried to read but i still confused with steps. Really want to make it work.
[HD2 Ubuntu Development] GuimbardePower:
+1 I really want to make it work too
[HD2 Ubuntu Development] DDtapD:
Trippleboot with MAGLDR?

And me too. Would be the perfect reason for a TrippleBoot i like!

Boot WPH for Windows Phone 7 ROM

Boot AD SD for Ubuntu

Boot AD NAND for Android NAND ROM(like MDJ's CyanogenMod7)

And when all this works we can looking for a MultiTUT for all these ROMs and Systems. 'Couse I think here are more people who are interested for this package. ;)

________________

Edit: Okay, now I have been thinking again... is it possible to flash WP7 and Android on one NAND??? Sure not! But it must be possible to boot two different ROMs from SD, right?

OR we use two different Storage Cards! xD
[HD2 Ubuntu Development] speedwie:
Little tweaks with web browsers...

I just would love if you would include version with already installed java and flash player. I tried for 2 hours today to install both with negative result. I'm newbie in linux but I bet i'm not the only one who would like to have these functions. Besides that i love this ubuntu release on my phone!! Good job!

edit just to add... Im asking for this because my when i tried to install unknown plugin from a web site like flash and it asks me to install missing plugin, it was unable to find and install that plugin.

I tries to install package from java web site by downloading RPM and regular version for linux then I typed

sudo apt-get install filename.bin

installation went great for both packages, but java still doesn't work... I'm trying doing open java now... hope someone helps me out before i try every way i could fix this problem myself =/
[HD2 Ubuntu Development] p_vansia:
hd2 with NAND android..can I still have linux?

hello guys,

I have managed to boot ubuntu from magldr. But it keeps rebooting. I have read the post that says place file 'linit' to /bin or /sbin.

But where to find these folders. Are you talking about Android system folders or some where else?

please help.

cheers
[HD2 Ubuntu Development] red_hanks:
working perfect on my HD2 t-mobile with stock Rom...cool
[HD2 Ubuntu Development] adempozhari:
it runs fast... and this is very cool... i showed it to some IT friends and they were very impressed about it.

i have few problems as below.

1- sometimes the shell starts sometimes it doesnt.

2- after I minimize the keyboard i cant have it back. no keyboard on the menu.

3- media flash is missing in Firefox and i can not install it.

4- i tried few times to install some app from the ubuntu software center but i always get a security warn and the installation stops.

:)
[HD2 Ubuntu Development] quserdy:
confirmed working hub

i got the vivanco 4 ports usb hub + external power supply. usb host works like a charm, running ubuntu from sd card. thanks!
[HD2 Ubuntu Development] kholk:
Nothing.

linit doesn't want to be executed: I've tried to put it in the rootfs or in initrd but definitely it won't be executed.

Umh, when will we have the 0.4? :)

I haven't got so much time anymore for playing with these things so I'm waiting...

Thanks 4 all @ dcordes & htc-linux :)
[HD2 Ubuntu Development] zarathustrax:
Yeah, I'm eagerly awaiting version 0.4 also... Haven't been able to use it since installing magldr. :( We really need a magldr compatible version.

Any ETA, dcordes?? :)
[HD2 Ubuntu Development] maxawesome:
Anyone having problems with FireFox and Flash try installing Chromium (Chrome for Linux)?

It has Flash baked in. Should set you up proper.

I haven't tested this at all yet, as I'm using MAGLDR as well, and patiently waiting for version 0.4.
[HD2 Ubuntu Development] andboy:
bluetooth dongle

I enabled CONFIG_BT_HCIBTUSB in the kernel config for a bluetooth dongle on a USB hub. It pairs with the HID keyboard, but seems to crash bluetoothd when I start typing. I don't see anything in /var/log/messages. The LED on the dongle flashes unusually fast when I press a key on the bt keyboard. Any suggestions? How can I narrow down the problem?
[HD2 Ubuntu Development] Sugocy:
Hey all,

Little new to HD2 but certainly not to Linux:) Though I miss the command console(A) Got a question

Im hit by the No-Menu problem. Tried myself, than searched forum but all solutions do not work. When I go to Preferences>Startmenu application and I get the following error:

RANDR Extension is not present.

Im not familiar with any of that:( Any solution to this? The finger friendly menu would be nice :)

Cheers,

Sugocy
[HD2 Ubuntu Development] andboy:
[workaround] Can't click bottons on a tall dialog box

The HD2 in landscape mode is only 480 pixels tall. Some dialog boxes in Ubuntu are too tall to see the essential buttons at the bottom. In case it hasn't been covered elsewhere... If you need to move a dialog box up so you can see the bottom buttons, try the following with a USB keyboard.

* Press Alt-F7 (or long press the title bar) to get into the move mode

* Use the up arrow key to move the dialog up

* Press [TAB] to get the mouse out of move mode

* Click the button

The steps above would work with the onscreen keyboard, but I don't know how to get up-arrow. Let us know if there's a way to do it.

If you don't have the option of a USB keyboard, sometimes hitting Shift-TAB a few times on the on-screen keyboard gets the focus on the OK button, but you can't see it. (Not recommended for critical tasks.)

Sorry if this is just stating the obvious.
[HD2 Ubuntu Development] andboy:
[woraround] scanner listed by sane-find-scanner but not "scanimage -L"

When I plugged in my scanner, it showed up in the output of sane-find-scanner but the scanner software didn't find the scanner. Neither did scanimage -L. A workaround is to

* Use sane-find-scanner to find the address of the scanner (e.g. 001:xxx)

* Run sudo chmod 777 /dev/bus/usb/001/xxx

* Try scanimage -L

Next time you boot, you'll probably need to repeat this. If someone knows how to do this in the udev configuration or something else permanent, let us know.
[HD2 Ubuntu Development] plopper:
regular linux is linux for desktops/servers running a i386 cpu, the hd2 has a arm based cpu.

your use of apt-get was right tho you should use 1 of the 2 alternative flash packages.

both are mentioned a couple times in the thread, search for the posts of dcordes and you'll find them.

1: the menu is started with a 10 second delay, try changing that to 20 seconds.

2: the ubuntu icon in the top left corner or the keyboard icon in the top right corner.

3: see above.

4: check your system clock (install a ntp deamon when needed).

if you look closely to the right side of the key's on the virtual keyboard, you'll notiche it has 3 boxes with a slight different collor.

the top 1 has the same collor as the keyboard background, the 2 others differ a bit.

these can be used to bring up all the key's which are available on a real full size keyboard.

including the 4 cursor key's.

plopper
[HD2 Ubuntu Development] guardiantech:
boot ubuntu from magldr

sorry if this is a noob question but I currently have an android nand build installed and was wondering what is the best way to boot ubuntu? How would I boot using magldr or is there another way? thanks in advance for any help.
[HD2 Ubuntu Development] vorosg:
If I want start ubuntu than I launch the "haret-pre-0.5.3 ... .exe" file on windows mobile.

I have an Android on my HD2 (any windows mobile) and I would like to launch ubuntu v0.3 but I don't know how it start from android. Can somebody help me?

sorry for my bad english knowledge
[HD2 Ubuntu Development] kev0153:
curious about this as well.
[HD2 Ubuntu Development] suicide monkey:
seems that it will work on android only with an version which can be booted from magldr. is there a possible release date for a magldr version ?
[HD2 Ubuntu Development] aalim:
when booting through magldr it opens the desktop but reboots immediately

Any help?
[HD2 Ubuntu Development] plopper:
kexec kernel option should be enabled on android to start with.

look up the fix posted a couple pages back (linit).

you have to add some extra initialization options.

plopper
[HD2 Ubuntu Development] GuimbardePower:
How can we add linit to the file? I dont understand how to do that :(

Somebody can explain me/us how to do that please?
[HD2 Ubuntu Development] aalim:
+1

Me too don't understand how to do it
[HD2 Ubuntu Development] jab12:
Yeah me three
[HD2 Ubuntu Development] Timur0409:
How to write linit

I think you should 1)download ext2explore-2.2.71.zip and linit.zip

2)Open with ext2explore rootfs.ext2 file and record linit in \ bin 3) and save rootfs.ext2
[HD2 Ubuntu Development] nikola360:
can't copy

i can't move lint into the rootfs, it seem that i haven't permission in write
[HD2 Ubuntu Development] Timur0409:
show that ext2explorelog.log
[HD2 Ubuntu Development] nikola360:
it show this

Error Opening \\.\PhysicalDrive4. Error Code 2

No of disks 4

Scanning \\.\PhysicalDrive0

index 0 ID 7 size 102398247

index 1 ID 5 size 874369691

index 4 ID 7 size 811945784

index 5 ID 83 size 62412462

Block size 4096, inp 8176, inodesize 256

Scanning \\.\PhysicalDrive1

index 0 ID 7 size 107522982

index 1 ID AF size 28386855

index 2 ID 7 size 20386485

Scanning \\.\PhysicalDrive2

index 0 ID B size 7951360

Scanning \\.\PhysicalDrive3

Scanning of \\.\PhysicalDrive3 failed: Partition Table Error on D:/Downloads/hd2-ubuntu_0.3/linux/rootfs.ext2

Invalid End of sector markerBlock size 4096, inp 8000, inodesize 256

Linux Partition found on disk 5 partition 0
[HD2 Ubuntu Development] ECM:
download 500kb, upload 60kb. now ...

gruß
[HD2 Ubuntu Development] Chris X.:
done/

You're right dcordes.

Now I'm Seeder (full upload gate).

Happy downloading guys ;)
[HD2 Ubuntu Development] eghbal:
Any changelog??
[HD2 Ubuntu Development] marzinho:
you should have putted this tracker:

udp://tracker.openbittorrent.com:80/announce

as tracker adress... now it goes @ full speed, enjoy!
[HD2 Ubuntu Development] norpan111:
You get a virtual keyboard etc or is this build a full desktop so i gotta connect keyboard+mouse? :p
[HD2 Ubuntu Development] fhasovic:
I am interested, too...
[HD2 Ubuntu Development] fpar:
+1............
[HD2 Ubuntu Development] Chris X.:
there is a readme inside...
[HD2 Ubuntu Development] jenzy1985:
Screenshots please !!!!
[HD2 Ubuntu Development] Goaprinz:
i dont have any screenshots but i found this video:

Ubuntu Linux Booting and Running on HTC HD2 - Fully Functional!

i guess its v0.2 but i think v0.3 is (a little bit) better. just watch the video
[HD2 Ubuntu Development] sorodrigo:
:D:D

thanks man
[HD2 Ubuntu Development] white-energy:
What's new?
[HD2 Ubuntu Development] nkhs9412235:
Here is screenshot：
[HD2 Ubuntu Development] shree.cse:
Everything except Sound in voice calls. But we can wait for a fix from the next Ubuntu related kernel.

Thank you Dcorders!
[HD2 Ubuntu Development] hazard99:
Oh man that looks amazing. To bad my digitizer went out on my hd2.I would have loved to try it out. Awesome work dcordes.
[HD2 Ubuntu Development] chris5932:
How you get overlay to appear? Doesn't appear for me on any Kernel image
[HD2 Ubuntu Development] pkchips:
Wow this is absolutely awesome! :D

Dcordes, any idea if we might ever get in-call audio support? I might actually start using ubuntu on my phone full time!
[HD2 Ubuntu Development] patensas:
Can someone please post a mirror, i would love to get this running on my Leo but can't use torrents
[HD2 Ubuntu Development] ricky06181993:
There is a mirror, check darkstones post on the second page.
[HD2 Ubuntu Development] jimhaddon:
Hi,

For me this boots, but does not show the overlay - i.e. navigation etc. I am able to see the taskbar and background and the mouse cursor etc works - just can't use it as there's no navigation!
[HD2 Ubuntu Development] Timur0409:
I think that change is in the file is possible only through linux (livecd ubuntu or mandriva via tools)
[HD2 Ubuntu Development] nikola360:
do you know some programs for do this in Ubuntu?
[HD2 Ubuntu Development] Timur0409:
for Windows

Try this

1)download it http://valley.arainia.com/gizmo-277-setup.exe

2)download it http://sourceforge.net/projects/ext2fsd/files/Ext2fsd/0.50/Ext2Fsd-0.50.exe/download

3)mount with gizmo rootfs.ext2.img

PS rename rootfs.ext2 - rootfs.ext2.img

Now it works, I checked, I recorded a file LINIT \ bin
[HD2 Ubuntu Development] nikola360:
i tried to put lint in /bin forder but i have always the same situation, it reboot automatically when it end to load the desktop

P.S. thanks for your support
[HD2 Ubuntu Development] Timur0409:
This is not the end, you need to mount the drive again,

and edit the file rc.local (open in WordPad) in the folder \ etc \ init.d and\ there prescribe auto start linit
[HD2 Ubuntu Development] nikola360:
what i must write on wordpad for "prescribe auto start linit"?

thanks alot
[HD2 Ubuntu Development] nikola360:
what i must write on wordpad for "prescribe auto start linit"?

i'm new for this things for linux

thanks alot
[HD2 Ubuntu Development] xmaskx:
Can't await 0.4 for magldr boot.

I'm total looking forward to have Ubuntu on my phone.
[HD2 Ubuntu Development] GuimbardePower:
Where do we write "auto start linit"? I've tried to put it at the end of the file but it doesn't work...
[HD2 Ubuntu Development] nikola360:
anyone can upload rc.local already changed for linit?
[HD2 Ubuntu Development] jab12:
Yeah im still trying to figure out what part of the file i should edit. thanks
[HD2 Ubuntu Development] zarathustrax:
Yeah, if some can post the edited files needed to run with magldr, that would be great.
[HD2 Ubuntu Development] proalius:
I think nobody had ubuntu working on magldr.... i had tried setting it on rc.local and still reboting at load
[HD2 Ubuntu Development] Danation:
I tried this, but I'm getting the same result as everybody else.

I put linit in /bin and I tried putting it in /sbin as well. I'm a linux n00b, so I just tried default permissions. This failed. I also tried 777, which also failed.

I'm sure this has been done successfully. Will somebody who has actually succeeded tell us what we're doing wrong?
[HD2 Ubuntu Development] arbalah:
Yes please , can someone tell us how did they installed it by using magldr?
[HD2 Ubuntu Development] arbalah:
hello, i want to ask a question, Ubuntu can run on this device so xp can do it too ? (just wonder) thank you.
[HD2 Ubuntu Development] nikola360:
no, because Xp doesn't support ARM processors.

probably we'll can run Windows 8 that will support ARM CPUs too.
[HD2 Ubuntu Development] arbalah:
well, thank you.
[HD2 Ubuntu Development] till1988:
^this^

You got any eta?
[HD2 Ubuntu Development] Cero92:
Just tried, this is awesome!

HD2 is the best deal i've ever done :D
[HD2 Ubuntu Development] pakwarung:
i see on ebay it`s rotate image :) its differen of this ubuntu?

sorry my bad english coz its not my mother language
[HD2 Ubuntu Development] gothicfan:
i installed ubuntu on my hd2, it works perfectly but the usb host funktion....

i made the host cable on my self with external power and i connected the two data cable

it does not work!!! should i do something in the settings on ubuntu?

please help me....?

(sorry for my bad english)
[HD2 Ubuntu Development] andboy:
Did you change startup.txt to use the correct kernel? What's the output of

zcat /proc/config.gz |grep USB
[HD2 Ubuntu Development] gothicfan:
i found my fail:

i had forgotten to remove the # on usbhost in startup.txt

i have a new problem:

i put in a usb audio device, i see it in the driver manager but in the audio settings..... it displays there is no hardware??
[HD2 Ubuntu Development] tejeskifly:
Im waiting for working audio, befor i install ubuntu to my phone.

How much should I expect?

I like this project, but i want use ubuntu, but if i don't can call my friends this is unusable to me.
[HD2 Ubuntu Development] dcordes:
If you ever see such ebay links like above, please

*do never quote them or distribute otherwise (twitter, other social media)

*directly click the report button (!) symbol in the top right of the post and explain that it is a fraud, somebody selling the stuff we do for you for free !

Thanks !
[HD2 Ubuntu Development] adempozhari:
this is known issue... i remember how ebay was filled with android version of hd2

by the way

do we ha any news about v.4?
[HD2 Ubuntu Development] xm2406:
Magldr plzz
[HD2 Ubuntu Development] zarathustrax:
Anyone think it may help motivate dcordes & show him how eager we are for v0.4 Ubuntu that works w/MAGLDR if we started a donation pledge thread? I miss using Ubuntu on my HD2, and can't figure out how to get v0.3 to boot with magldr. I'd be willing to donate $20US to dcordes for a magldr compatible v0.4.(or $10 to anyone for a magldr ready copy of v0.3) Would other people be willing to pledge a donation amount for when v0.4 is released? Does anyone else think it's a good idea to start a donation thread, or do you think it's inappropriate and a bad idea? Should I just be quiet and patiently wait?

I know dcordes is working on another linux os to boot on the HD2, also. Looking forward to seeing that also... hope it also works with magldr. Keep up the great work, dcordes!
[HD2 Ubuntu Development] xmaskx:
donating for magldr booting ubuntu sounds ok for me!
[HD2 Ubuntu Development] Ejpi16:
I just wanted to download this version of ubuntu, i can't use it because i use android. There is no bootable for android to ubuntu yet?

How is the battery? Does it drain fast?

Is it also possible when you release the new version also upload it without torrents?
[HD2 Ubuntu Development] andboy:
3G script

Once you've entered your apn, username and password into the 3G Mode script, it saves your entries. Next time you run it, you just need to click OK three times. If you get tired of clicking OK, here's a patch for a one-click connection with a progress dialog.

http://htc-linux.org/wiki/index.php?title=Ubuntu/Leo#3G_Script
[HD2 Ubuntu Development] andboy:
Battery charge state

The standard Ubuntu Indicator panel applet doesn't display the battery charge state correctly. Here's a simple applet to display the charge percentage right in the GNOME panel.

http://htc-linux.org/wiki/index.php?title=Ubuntu/Leo#Leo_Battery_Applet
[HD2 Ubuntu Development] MFaust:
i have 2 question...

1... can you watch .mkv video? because in wm those movie lacks a lot...

2... it will work on Touch Pro?
[HD2 Ubuntu Development] andboy:
Save screen space

To save some screen real estate, maximus can remove the title bars of windows and display them in the panel. Here are some instructions to run it automatically and not interfere with the on-screen keyboard.

http://htc-linux.org/wiki/index.php?title=Ubuntu/Leo#maximus
[HD2 Ubuntu Development] mohrose:
thanks you
[HD2 Ubuntu Development] motoi_bogdan:
is there an updated kernel for usbaudio, or did anyone succesfully connect usb audio boards/headphones to hd2?

after the kernel and modules update i still get the following error using some no name usb audio card that normally runs in desktop ubuntu

ERROR while getting interface flags: No such device
[HD2 Ubuntu Development] R.I.Pper:
Is there a way to install Ubuntu in Nand?
[HD2 Ubuntu Development] mad-monk:
good day people,i m a user of linux ubuntu home desktop since 2 months and i like it alot(1minnor...the logitech webcam doesnt broadcast and ive installed every software component ive found in unbuntu apps) cant wait to get it working (calling sound sms and everyting) it is something special greatz from the netherlands mike
[HD2 Ubuntu Development] mardurhack:
Is this project dead? Please tell me it's not! O.o I've read some posts on launchpad but they have all been posted in 2010!
[HD2 Ubuntu Development] GuimbardePower:
Let the time to the dev to make the 0.4 version. Before the 0.3 version, the 0.2 version was made in july or august I dont remember... So just wait and see...
[HD2 Ubuntu Development] mardurhack:
I didn't mean to complain ;) Just wanted to know. Thanks.
[HD2 Ubuntu Development] GuimbardePower:
I understand, i'm waiting too for the 0.4 version since I have android!
[HD2 Ubuntu Development] BenGman:
Linux Swap Parition on 32GB WM6.5 + SD Android RafDroid 4.2 + Ubuntu 0.3

Just got a 32GB Class 10 card, plan on using WM6.5, SD Android (RafDroid 4.2) and Ubuntu on it.

Partition plans are:

Primary 24GB± FAT32, Primary 4GB± EXT3, Primary 2GB± Linux Swap

RafDroid will move apps to EXT3 once it finds the ext3 partition.

How will Ubuntu treat this 'used' ext3 partition?

Should there be a separate ext3 partition for Ubuntu?

Will Ubuntu use the Linux Swap Partition?

Will Andriod use the Linux Swap Partition?

Are the Partition sizes reasonable?

Whats the best partition scheme?

Thanks in advance!
[HD2 Ubuntu Development] andboy:
One way to enable swap in Ubuntu is to type something like

swapon /dev/mmcblk0p3

Linux will use the swap partition until you reboot. If you research how to make this permanent, please post the info here or on the htc-linux.org wiki.

Ubuntu will treat the ext3 partition just like it would treat any other sdcard. It shouldn't be a problem.
[HD2 Ubuntu Development] M0rchel:
expand your /etc/fstab with

/dev/mmcblk0p3 none swap sw 0 0

if your swap-partition is not /dev/mmcblk0p3 you have to exchange this with the correct one
[HD2 Ubuntu Development] zarathustrax:
Anyone else see dcorde's last tweet? Working bluetooth in next HD2 Ubuntu release!!! I hope it comes soon.
[HD2 Ubuntu Development] motoi_bogdan:
i got crazy about making ubuntu recognize usb audio or any sort of audio. If he implemented this feature in v0.4 that would be great. More modules, a better kernel, i don't know. With that, and the usb host i can build a solar powered usb hub&charger that will turn the HD2 into a mini desktop pc for camping or such things. :p
[HD2 Ubuntu Development] GuimbardePower:
I hope this version will be released soon!
[HD2 Ubuntu Development] mardurhack:
Once it's released could you post the project of this solar-charger please? :) If it works it would be a revolution in this energy crisis we're living today! Thanks in advance!
[HD2 Ubuntu Development] motoi_bogdan:
ok, will do, first i must finish the design on the switching power regulators and buffers between the solar pannel and hd2's usb port. :D

Solar powered desktop-like HD2! it's some sort of geeky thing, but it will be fun to design.