Ubuntu Touch Development Enviroment - General Questions and Answers

Hey guys,
i didn't know where to ask exactly so excuse please if i'm in the wrong section.
I have set a new goal for me. To port Ubuntu touch to my Z3 Tablet. I have already build some cyanogenmod rom's in the past and did an Ubuntu touch build just for fun. But now i want to get a port for my Z3.
But i have some kind of issues with my development environment. The only machine with linux at the moment i can use is my server which runs Debian Jessie. So not really good for developing Ubuntu touch. So i thought about an VM, which can access a network drive. Installed Ubuntu 15.10 onto my Desktop VM and mapped a samba share via autofs onto it, but the problem is that i can't sync the repo. I always get permission denied. I think it has something to do with the repo tool and the network drive but i can't figure it out.
Can someone help me ?
Greetings
Moritz

Related

VMWare image of the source building environment

Hi all, I'm sorry if this has already been asked, i looked for it using Google and the search forum option and while i found this http://forum.xda-developers.com/showthread.php?t=396782&page=145, (using this: http://www.google.com/cse?cx=000825...ource&sa=Search&cof=FORID:0&ie=utf-8&oe=utf-8) it didnt really help me because it's not exactly what i'm looking for
I want to be able to change some bits of code on the os and see how that affects the device (for example, i'd like to change the order of options in the menus and stuff like that) just to get to know the development environment better.
however, I'm using Microsoft windows (vista x64) and cannot build it on this env (according to: http://source.android.com/download --> "To build the Android source files, you will need to use Linux or Mac OS. Building under Windows is not currently supported.").
therefore i was wondering, did anybody make a vmware image that is ready to use that contains the environment and the sources that will only need a source update and can be built immediately after for noobs like me?
I'm sure I'm not the only one running a windows machine and so i guess somebody has already made one for himself, I'm asking if you could maybe share it somehow...
Thanks
E.
Clarification: I'm not talking about the SDK building but rather the actual OS source code so that i can re-build and put on my phone
note: tried this: http://www.koushikdutta.com/2008/12/building-android-source-and-deploying.html, didn't work, but it gives an idea of what I'm looking for...
did u try running a virtualbox with linux? or maybe a macOS off a usb?
vista x64
for windows, have you tried cygwin?
I've installed it just fine in ubuntu in vmware.
I'd about 8 gb. quite hard to make an image out of it.

[Q] Gb Source Code/ Kernel developers who can work?

Has the source code for the att gingerbread kernel been released yet? And who can maybe work on compiling the new kernel? Ive contacted a few people but no answer... Does anyone have an old computer with ubuntu on it so maybe they can learn how to do it?
a not to my knowledge. Samsung is sometimes late with source code. they were doing good foe a while though.
check opensource.samsung.com
also Ubuntu is such an easy install why would someone give you a PC to get it? its easier than windows. infact you can install it in windows as if it was an application(wubi installer) but if you don't know terminal I suggest a vertual machine. ( sun/oracle virtual box is best IMHO) stumtzy has a ready made virtual environment based on debian somewhere in the i9000 section. plus it'll keep your system cleaner. it doesn't have a GUI but you can apt-get fluxbox or xfce or gnome or whatever.

[Q] Debian in chroot: KDE software etc. not working

Hi,
I am running a rooted stock JB. I have a Debian (tried also Ubuntu) in a chroot environment running, and I am using a vncserver to run X applications. Some things like lxde and gedit are running fine. Others, in particular all KDE applications (but also others) are not running at all or look completely chaotic (most GUI elements missing, black and/or in the wrong place) and are unusable. I tried some time ago the same thing on my phone (HTC Desire Z with CyanogenMod - unfortunately recently bricked so I cannot try anything anymore), there everything ran just fine (despite very slow).
Is this maybe due to missing features in the kernel of the stock firmware? Are there any ticks to get around these limitations without flashing another ROM? (I would rather not void my warrenty...)
Thanks for any insight,
Martin
No ideas? Is anyone running some Linux in chroot on the original firmware?
mhier said:
No ideas? Is anyone running some Linux in chroot on the original firmware?
Click to expand...
Click to collapse
I run Ubuntu in chroot everyday but I've never messed with vnc.
Sent from whatever device I happened to pick up.
My guess is that the number of people using Ubuntu on the tf700 is quite small, so you might not be able to get the answer to your question here. However, there is a support thread for Ubuntu on the tf700, you might want to ask your question there:
http://forum.xda-developers.com/showthread.php?t=2014759

[Resolved] [Q] How to connect android device to Oracle VM?

Hi,
After having had a gazillion of frustrations while attempting to add Ubuntu 12.04 to my PC, I had enough of the endless chain of problems to reach the point of installing the requirements for ADT.
So I thought I might be able to go with a virtual machine. I have my environment (Ubuntu 12.04, ADT and its requirements) installed and working on Oracle VM (with extensions installed).
Whatever I try with the USB settings, I'm unable to get either my Nexus 7 or my Asus TF300T to work on the VM.
I tried adding a USB filter with the correct IDs, but that didn't add either device to my VM.
I ran out of ideas to try. I really want to learn more about developing for Android, but it seems I can't get the devices to work.
Rhian said:
Hi,
After having had a gazillion of frustrations while attempting to add Ubuntu 12.04 to my PC, I had enough of the endless chain of problems to reach the point of installing the requirements for ADT.
So I thought I might be able to go with a virtual machine. I have my environment (Ubuntu 12.04, ADT and its requirements) installed and working on Oracle VM (with extensions installed).
Whatever I try with the USB settings, I'm unable to get either my Nexus 7 or my Asus TF300T to work on the VM.
I tried adding a USB filter with the correct IDs, but that didn't add either device to my VM.
I ran out of ideas to try. I really want to learn more about developing for Android, but it seems I can't get the devices to work.
Click to expand...
Click to collapse
Well i had this problem before search on google how to add adb device to vm and you will find a guide frogot wich site i will do sone search and report back
Sent from my GT-I9500 using xda premium
S.a.M.e.R_d said:
how to add adb device to vm and you will find a guide
Click to expand...
Click to collapse
Thanks, with some trial and error I got it working.
In short:
On the host run adb devices to start the deamon, it listens on port 5037, so with FreeSSHd on my windows host I could enable an ssh connection from my VM client using:
autossh -M5037 -N -f -R 5037:localhost:5037 10.0.2.2
Then my adb devices lists my hosted device.
On to the next challenges...

[Q] How do I get started with Linux ?

So guys I am new to Linux and the OpenSource ideology. Is there a ' - for Dummies' kind of guide which you people know of so that I can get started. I have questions in mind like - "How is Linux different from Windows ?". So, to cut a long story short, how and from where do I get started ?
(By the way, I am running Ubuntu Linux in a virtual machine via vmware player. So until I am comfortable enough with Linux, I can't even think of installing it directly onto my hard drive.)
systemshock1993 said:
So guys I am new to Linux and the OpenSource ideology. Is there a ' - for Dummies' kind of guide which you people know of so that I can get started. I have questions in mind like - "How is Linux different from Windows ?". So, to cut a long story short, how and from where do I get started ?
(By the way, I am running Ubuntu Linux in a virtual machine via vmware player. So until I am comfortable enough with Linux, I can't even think of installing it directly onto my hard drive.)
Click to expand...
Click to collapse
You can look at the Ubuntu wiki, which is very well made and self-explanatory.
I think the Ubuntu wiki is a good place to start for those high-level questions. I'd also highly recommend at least getting comfortable with using the command line. You don't need to learn every command, but it's a very useful tool.
Try using www.linuxsurvival.com
I'm sure it will help you.
Sent from my HTC One X+ using XDA Premium 4 mobile app
I would recommend you install Gentoo or Arch to learn the fastest. Installing ubuntu is too "easy"

Categories

Resources