Ubuntu Mobile - Development - HD2 Ubuntu Q&A, Help & Troubleshooting and General

Hello Everybody,
Many of you must be familiar with Ubuntu Mobile, Ubuntu's latest project in the field of mobiles. Now the question is- Is Ubuntu supported on HTC HD2?
The Answer to the question is- Yes. As explained in the Linked video(See Below) by UBUNTU Co-founder, Ubuntu works on all the devices which can run Android. If you're not sure what I am saying, please see the video, seek it to 20:49 if you don't want to watch the whole video. It is based on Android Kernel only.
See the video here- http://youtu.be/cpWHJDLsqTU
(already Seeked)- http://youtu.be/cpWHJDLsqTU?t=20m49s
So, I am here with a new challenge, and that is the Porting Of Ubuntu Mobile. I hope you all are ready for it! :good:
I will be waiting for a Native SD Release!
Regards
Arun Wadhwa
CEO, Themegastar1 Technologies

Ubuntu is Linux, Android is Linux, nothing new there. 'Supported' is vague. I didn't see the part in the video where he said, and we will provide drivers and support for your 3 year old phone
Sent from my HD2 using the power of Jelly Bean

gazzacbr said:
Ubuntu is Linux, Android is Linux, nothing new there. 'Supported' is vague. I didn't see the part in the video where he said, and we will provide drivers and support for your 3 year old phone
Sent from my HD2 using the power of Jelly Bean
Click to expand...
Click to collapse
NO my friend
Ubuntu is Linux,
Android is JAVA + Linux
it's NOT the same

Here's the toolkit they offer to app developers http://developer.ubuntu.com/get-started/gomobile/
Sent from my Rezound using xda app-developers app

sternas said:
NO my friend
Ubuntu is Linux,
Android is JAVA + Linux
it's NOT the same
Click to expand...
Click to collapse
Yes, but the kernel is similar (Android just misses out ALSA support). Java just provides the UI.

Ubuntu mobile for the Desire is up: http://forum.xda-developers.com/showthread.php?t=2165711 :good:

OP, i am just wondering u are porting "Ubuntu Mobile" or "Ubuntu Touch"?
You must acknowledge that "Ubuntu Mobile" is for "x86" CPUs, "Ubuntu Touch" is for "ARM" CPUs.
And currently, i want to port this, too. May be u will be faster

is Ubuntu Touch pure linux without dalvik VM? is it better for that?

Yes, currently, Ubuntu Touch is using the base android.
It uses its HAL, and dalvik VM, etc are not needed.
Ubuntu Touch is supposed to run on CM10.1, and currently, i found a source of CM10.1 for HTC HD2.
Compilation is still in progress, i met lots of errors, but lets hope we will success
I am going to update any progress here.
2013-03-11: This log has been created.
2013-03-17: After lots of tries and debugging, CM10.1 has been successfully compiled. No BCMDHD support. I'll try to port it to ubuntu tonight or tomorrow.
2013-03-22: Way to achieve ubuntu on the htc hd2 has been found. Due to my school tests start from today, development will be slow/suspended for about a week.
2013-03-24: Base android has been successfully ported into the HD2, although it is a bit slow/buggy, it is still acceptable.
2013-03-24: UbuntuTouch rootfs OK! No gui yet, need sometime for debugging.
2013-04-03: I just figured out that everything i done was wrong, i should use my custom android-init instead of the old init, debugging for the new init.

R: Ubuntu Mobile - Development
so Ubuntu mobile can't run on HD2? just x86?
are there any differences between the two distro?
hopkinskong said:
I am going to update any progress here.
2013-03-11: This log has been created.
Click to expand...
Click to collapse
maybe you should start a new thread to keep updated your progress

hopkinskong said:
Yes, currently, Ubuntu Touch is using the base android.
It uses its HAL, and dalvik VM, etc are not needed.
Ubuntu Touch is supposed to run on CM10.1, and currently, i found a source of CM10.1 for HTC HD2.
Compilation is still in progress, i met lots of errors, but lets hope we will success
I am going to update any progress here.
2013-03-11: This log has been created.
Click to expand...
Click to collapse
we will wait you, thanks for you works

hopkinskong said:
2013-03-24: Base android has been successfully ported into the HD2, although it is a bit slow/buggy, it is still acceptable.
2013-03-24: UbuntuTouch rootfs OK! No gui yet, need sometime for debugging.
Click to expand...
Click to collapse
Any download link for testing so far?
Thanks!

this looks pretty interesting hmmm

Related

[VMWare Image][9-DEC-2011] Android AOSP/ROM Developer Environment

Everyone is allowed to make changes to the VMWare image and re-upload it. If you re-upload the VMWare image with the made corrections, post the download link(s) in this thread. I will update the first post.
If there is a AOSP Developer that is willing to make a complete tutorial, please make one that works and is up-to-date with 2.3.7
The more people we have working on making ROMs, the better.
This VMWare image is:
- Base: Ubuntu 10.04 LTS
- ICS ready
- Gingerbread ready
- Fully updated
- Eclipse with ADT Plugin
- Android Kitchen Integrated
PASSWORD: root
Latest changelog (Coming soon)
- Based on 10.04 LTS instead of 11.10
- Different approach
Download link:
Bypass 24h wait time, limit reached --> Solution? Reset your ip! In Belgium this is easy by restarting your modem/router. This may be different in other countries.
more mirrors will come!
Part 1
Part 2
Part 3
Image is extracted, where do I start?
Continue from this link
How to build 2.3.7 for Nexus S
This is just a snippet that may help you.
repo init -b android-2.3.7_r1 < /dev/null (This branch is ready to use with Nexus S and Nexus S 4G)
repo sync
source build/envsetup.sh
lunch full_crespo-userdebug
make -j8 (-j8 = for eightcores like 2600k, 2630QM / -j4 = for quads 2500K/2620M/Q6600 / -j2 for dual cores / ...)
Click to expand...
Click to collapse
Don't forget to add the vendor files of the device. You need to download the scripts as well of the driver binaries.
Click to expand...
Click to collapse
I tested a quick build. And it's working.
A virtual machine with limited RAM in order to compile AOSP? Definitively not a good idea. Why not dual boot? Sooooo easy to install the worst distro ever (*buntu).
This is awesome. My only problem is that I only have VMWare Workstation 7.
Super! Waiting for this
djjonastybe said:
Dear community,
I made a AOSP developer environment for VMWare Workstation 8 or latest VMWare Player (free).
You can use this VMWare image as a base to build AOSP ROMs. Imade it for those having trouble getting it to work or maybe if you don't have time to set it up properly. Well if you are downloading this you might have a good reason!
Anyway have fun!
If there are any errors let me know.
This VMWare image is:
- ICS ready
- Gingerbread ready
- Fully updated
Download link:
...uploading...
Click to expand...
Click to collapse
Who would have guessed that an android dev would have difficulty setting up a linux enviroment . . . go figure.
You do not have to be an Android Dev to compile Android. I haven't written a single line of code for Android and can compile AOSP 2.3.7 fine.
This is simply to save time. And if you have good enough hardware (like myself) compiling Android AOSP in a VM session works perfectly fine.
Most people that are into computers have a rocking system. I have 12GB ram, I dedicate 8 for my VM and the rest for my main OS (windows 7). Works fine, what's the issue?
Some people don't want to dual boot and sometimes a Linux distro doesn't support certain hardware or can't be installed.
I would appreciate it. THANKS
nice.....this could be very useful
Sent from my Nexus S using xda premium
FeaRThiS: Who would have guessed that an android dev would have difficulty setting up a linux enviroment . . . go figure.
Click to expand...
Click to collapse
You seem to be the only one against uploading this.
Guys I am still trying to upload it. I am splitting it in 700MB sizes. Crocko's uploadservice is down. I will upload it on depositfiles and multiupload
12,5%
@FeaRThiS just stated the obvious. I also think the first step to understand how to build an AOSP ROM is knowing how to setup the development environment.
I don't have anything against using a VMWare image. But, IMHO, considering the time for uploading/downloading the file, if you do the setup yourself (in VMWare or whatever), you should have already been compiling your ROM by now.
suksit said:
@FeaRThiS just stated the obvious. I also think the first step to understand how to build an AOSP ROM is knowing how to setup the development environment.
I don't have anything against using a VMWare image. But, IMHO, considering the time for uploading/downloading the file, if you do the setup yourself (in VMWare or whatever), you should have already been compiling your ROM by now.
Click to expand...
Click to collapse
Okay, its not useful for you two.
Next!
I like it and i will try it.
djjonastybe said:
You seem to be the only one against uploading this.
Guys I am still trying to upload it. I am splitting it in 700MB sizes. Crocko's uploadservice is down. I will upload it on depositfiles and multiupload
12,5%
Click to expand...
Click to collapse
I have nothing against it and it may even be useful in case of emergency when you can not access a linux machine, but as stated by @S suxeN the first step for any dev would be learning to create their own dev enviroment.
i didnt say that.
but the statement is right. Anyways i yet think this image is of great use, as you can always start from there, if u did something wront, what can always happen to nun-linux users.
I don't know anything about linux. Is Eclipse with ADT on here by any chance? If not, what IDE is there to develop with in this VM?
I didn't think that far. Eclipse is not installed.
But I will work on it for next release. For now you have to install it manually. I hope tomorrow evening the new vmware will be uploaded!
Hey guys, don't be so hard on the fella. He's doing us a great service in a way. Not all of us are able to bring laptops wherever we go, dual-boot, etc. I just downloaded this to my external drive that I use to keep my stuff on for work and it'll come in handy when I wanna test apps without worrying about nuking my phone.
Also, it helps that I can demo apps on the thing to co-workers on screen than using a phone. That way I won't have to worry about them screwing things up if they decided to 'explore.'
http://code.google.com/android/nexus/drivers.html#crespogwk74
Can someone help me with this? This has the binaries for the Nexus S.
Where do I place the scripts?
I have a vendor folder with several maps in it now. But I don't know what I have to do now.
I placed the 'vendor' folder in my working directory. But lunch isn't showing up crespo in the list.
These are my steps:
Building
I executed lunch. I realised I did not have crespo in the list. So next, I read the line 'Building for devices'.
Eventually I ended up here:
Building devices
Obtaining proprietary binaries
Starting with IceCreamSandwich, the Android Open-Source Project can't be used from pure source code only, and requires additional hardware-related proprietary libraries to run, specifically for hardware graphics acceleration.
Official binaries for Nexus S, Nexus S 4G, Galaxy Nexus, and PandaBoard can be downloaded fromGoogle's Nexus driver page, which add access to additional hardware capabilities with non-Open-Source code.
There are no official binaries for Nexus One, ADP2 or ADP1., ADP2 or ADP1.
Click to expand...
Click to collapse
I clicked the link and downloaded the GWK74 binaries.
Now then I read further:
Extracting the proprietary binaries
Each set of binaries comes as a self-extracting script in a compressed archive. After uncompressing each archive, run the included self-extracting script from the root of the source tree, confirm that you agree to the terms of the enclosed license agreement, and the binaries and their matching makefiles will get installed in the vendor/ hierarchy of the source tree.
Click to expand...
Click to collapse
I have the vendor hierarchy...
Do I have to put these files in:
my home folder/bin
OR
home folder/workingdirectory_name
Or what do I have to do now?
updated first post with small hint on how to download 2.3.7 for our Nexus S. Good luck!
yep, i think this is pretty awesome. for me, i'm not an android dev but i've dabbled with theming and porting mods from other phones to the epic 4G previously. i'd love to be able to start with a system ready to go and mess around with some guides to learn how to compile source, etc... thanks.
Nice image man, gonna give it a go later. Thought I'd put my word in the discussion , sure there lots of talented devs, but they have all got different hardware/software and time requirements. So this becomes a useful tool to add to the inventory.

native ubuntu for tab 7.7

any idea how can i install ubuntu on tab 7.7 natively
What do you mean by "native"? You could try and chroot and then install Ubuntu. This might work, but i have never tried it.
odessa2 said:
What do you mean by "native"? You could try and chroot and then install Ubuntu. This might work, but i have never tried it.
Click to expand...
Click to collapse
maybe there is some hope in this? (Xda won't let me post links but just google search "ubuntu phone") Ubuntu are releasing a mobile version of their operating system that runs natively on phones. So far they are only developing on the galaxy nexus but there is more to come
There are installers for Debian and Ubuntu in the app store. They run in a chroot environment.
I have tried chrooting... It wasn't that useful...
And that ubuntu phone thing isnt released yet...
virsingh said:
I have tried chrooting... It wasn't that useful...
And that ubuntu phone thing isnt released yet...
Click to expand...
Click to collapse
the Ubuntu OS has two parts.
platform : not depending on target.
Linux Kernel: depend on target (chipset machine and drivers and HAL )(same as android)
in fact we can use locerra kernel to build Ubuntu rom images when it's released.
but generic kernel that's for pc won't work at all, this an embedded device not generic pc.

Alternative OS

Hi guys,
which alternative os could be installed on the Nexus 7 (2013)?
Actually i would be glad to install Ubuntu on my device, but thats not possible because of a different cpu architecture...
So i ask you for a list of possible operating systems which not based on android like cyanogon...
Why? Just want to free from google and test it...
Actually i would be glad to install Ubuntu on my device, but thats not possible because of a different cpu architecture.
Click to expand...
Click to collapse
Actually you can install lots of different versions of linux on your Nexus 7, including Ubuntu and Backtrack. Check this app. The Nexus 7 is on the supported list.
operating systems which not based on android like cyanogon
Click to expand...
Click to collapse
Actually cyanogenMod is just a customized version of Android, it's not a different OS. So i take that what you meant is installing a different ROM on your Nexus 7. Anyway you should start from here
This app seems to be an emulator for different linux distros, don't?
I would prefer a full flash and boot right into linux e.g ubuntu...
michaaaaa said:
This app seems to be an emulator for different linux distros, don't?
I would prefer a full flash and boot right into linux e.g ubuntu...
Click to expand...
Click to collapse
He was just trying to help you. May be you should use search in the forums or use google. I typed linux on nexus 7 and found tons of results. Also there is a thread for Firefox OS in the Development forums. You would be much safer doing the linux inside android from the play store.
http://forum.xda-developers.com/showthread.php?t=2479192
He was just trying to help you.
Click to expand...
Click to collapse
--> You are right, sorry for my english...Its not my mother language...
May be you should use search in the forums or use google. I typed linux on nexus 7 and found tons of results. Also there is a thread for Firefox OS in the Development forums.
Click to expand...
Click to collapse
--> Well, all these posts foucesd on the old nexus 7 - first gen. Ubuntu official says it's no supported at this moment (source: wiki.ubuntu.com/Touch/Install#Supported_devices_and_codenames)
So I came here to find other Linux os...
You would be much safer doing the linux inside android from the play store.
Click to expand...
Click to collapse
Okay - I will give it a try. But I realy can't imagine it's fast and stable enough for continuous running (what I am looking for)...
Firefox os sounds greate too! Thanks for the hint!
The complete Linux installer says it only works on certain supported kernels. I'm no expert, so is the stock kernel supported? I'd like to try Ubuntu on my rooted stock Nexus 7 2013. (32G)
Scroll down some and you would of found this.
http://forum.xda-developers.com/showthread.php?p=46112123
Sent from my GT-I9505G using Tapatalk
gray screen
So guys,
I just try it and can't get it run...
I used Linux Installer and followed the guide.
But when I connect with VNC I only see a gray screen, allthough I started xstartup...
Please help...
My Device:
Nexus 7 (2013) - cyanogenmod 4.3.1

Native ubuntu on tegra note 7 ?

Hey guys , ive been searching for days but cant seem to find a guide or download for this anyewhere , was wondering is it possible to boot ubuntu natively on our tegra note 7 ? ive already tried and suceeded in running ubuntu in android using the chroot method but i want to know is it possible to boot straight to / dualboot ubuntu ?
Thanks in advanced
vchircu said:
Hey guys , ive been searching for days but cant seem to find a guide or download for this anyewhere , was wondering is it possible to boot ubuntu natively on our tegra note 7 ? ive already tried and suceeded in running ubuntu in android using the chroot method but i want to know is it possible to boot straight to / dualboot ubuntu ?
Thanks in advanced
Click to expand...
Click to collapse
I take it you mean Ubuntu in its direct form like the standard Desktop OS ?
If so there is a arm version of Ubuntu Server 14.04 coming out soon but thats a ARMv8 only. Now heres the catch our Tegra Note 7 is based on a Coretx A15 SOC which is ARMv7.
Now the only version of Ubuntu i know that was ported to ARMv7 was Ubuntu 12.04.
There was a Tegra 2 Version of this which you can read about here : https://wiki.ubuntu.com/ARM/TEGRA/AC100
So its possible, however as of yet the only other option would be Ubuntu Touch but thats not a native ubuntu.
thank you
Thanks for the reply and link , ill have a look and see what i can find , if i manage to get anything done ill post back here
vchircu said:
Hey guys , ive been searching for days but cant seem to find a guide or download for this anyewhere , was wondering is it possible to boot ubuntu natively on our tegra note 7 ? ive already tried and suceeded in running ubuntu in android using the chroot method but i want to know is it possible to boot straight to / dualboot ubuntu ?
Thanks in advanced
Click to expand...
Click to collapse
Can you make a thread on instructing how to chroot into ubuntu and run ubuntu on TN7? What applications work on it?
asratxda said:
Can you make a thread on instructing how to chroot into ubuntu and run ubuntu on TN7? What applications work on it?
Click to expand...
Click to collapse
Yes i will make a thread , unfortuneatly i have not tested any applications on it as of yet , i should have the thread ready by sometime tomorrow
Did anyone figure out how to do it ?
I can at least vouch that the Tegra 2 version of Ubuntu worked on my Acer A500. If you can live with the basics, it's cool, but the amount of software available for ARM is minimal. It's also very unfriendly to touch, so you'll need a mouse. I personally can't think of anything I was able to do with it that I wasn't already able to do more easily with Android, so eventually I took it off.

Instaling GNU/Linux on Nexus 7 (Grouper)

I ve just read an article here on xda how to install debian on top of Android so i am just curious is there a way to just install linux not on top of android.I have advanced knowladge of Windows and Android and basic terminal knowladge in Linux and i am good at following guides and tutorials but i am far from developer and programer so keep that in mind and keep it simple as possible.Thanks in advance
JovanSijacki said:
I ve just read an article here on xda how to install debian on top of Android so i am just curious is there a way to just install linux not on top of android.I have advanced knowladge of Windows and Android and basic terminal knowladge in Linux and i am good at following guides and tutorials but i am far from developer and programer so keep that in mind and keep it simple as possible.Thanks in advance
Click to expand...
Click to collapse
So are u asking to replace or dual boot android OS with linux, or have a chroot?
Aurey24 said:
So are u asking to replace or dual boot android OS with linux, or have a chroot?
Click to expand...
Click to collapse
Replace
JovanSijacki said:
Replace
Click to expand...
Click to collapse
Well actually, have u tried searching on how to replace Android os with bodhi?, u could also say the same for the 13.04 Ubuntu desktop as well.... That is of u know how to change the repos, update and fix errors. Arch Linux is another option... Been trying to get that one to work but nothing happens correctly smh
Aurey24 said:
Well actually, have u tried searching on how to replace Android os with bodhi?, u could also say the same for the 13.04 Ubuntu desktop as well.... That is of u know how to change the repos, update and fix errors. Arch Linux is another option... Been trying to get that one to work but nothing happens correctly smh
Click to expand...
Click to collapse
i understand there is a difference between arm and x86 architecture but is there anyway to install for example lubuntu or lxle on grouper.
Also there is support for installing all ubuntus befor 13.04 so if i download lubuntu 12.04 is it going to work since it is based on ubuntu?!?

Categories

Resources