I’m been using Bash on Ubuntu on Windows in the last days. I think as a thought this software is like an Unix-like userland.
I got successful running ubuntu-sdk, now I’m testing npm and nodejs also python.
First of all I got an account with my name through these steps:
- adduser pedro
- adduser pedro sudo
- su – pedro
Then in the bash I ran apt install nodejs npm
- node -v
- npm install -g node-red cordova
Besides I typify nano /etc/apt/sources.list and change trusty for xenial
Everyone can test to run XMing export DISPLAY=localhost:0.0 and run for instance ubuntu-sdk & or other app like xeyes &
By the way I think chromium browser works too.
I’l update my tests.
After install Ubuntu bash on windows, I tried to install ubuntu-sdk.
My procedures were apt install update && apt install ubntu-sdk but before that I install from sourceforge xming for windows with shortcuts on the system.
In the end I ran export DISPLAY=localhost:0.0 , ubuntu-sdk & in the bash on windows.
You’ll see a pic like this one:
I will give a tutorial more detailed about this, I wanted to show the ide inside windows 10 x64.
Hi there everyone since a long time!
A new attempt here.
I tried this at home in the last days.
mkdir -p ~/bin
mkdir -p ~/android/omni
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
echo "export PATH=~/bin:$PATH" >> ~/.bashrc
git config --global user.email "email@example.com"
git config --global user.name "Your Name"
repo init -u https://code-review.phablet.ubuntu.com/aosp/platform/manifest -b personal/w-ondra/xperia-5.1.1_r36 -g all,-darwin,-qcom_msm8x26,-qcom_msm8x27,-qcom_msm8x74,-x86,-omap3,-omap4,-omap4-aah,-manta,-grouper
repo sync -j4 -f
lunch - choose c6833
this is optional step, if you want to use specific channel to build ubuntu root from, for example . ubuntu/prebuilts/prepare-ubuntu-packages-for-build -d generic -c rc-proposed/ubuntu-pd
make ubunturootfsimage -j8 -> build will downloads ubuntu rootfs and custom packages for default channel rc-proposed/ubuntu channel
I tried it in Arch Linux and I couldn’t go further, for instance at the start I got an error in -lgcc
It’s odd. Keep trying.
Hi there everyone!
To get this source code you will to follow as this has been written.
1.) git clone https://github.com/vic3t3chn0/ubuntu_sony_installer.git ubuntu
2.) cd ubuntu
3.) chmod a+x sony.sh && ./sony.sh
4.) try to make source build/envsetup.sh
5.) lunch aosp_6833-userdebug
6.) But instead wait for my device/sony patch to be released today I think
7.) ls vendor/sony
8.) make -j2 (-j X depends on the number of cpus and threads)
9.) git clone https://github.com/vic3t3chn0/sony_msm8974_ubuntu.git kernel/sony/msm8974
10.) cd kernel/sony/msm8974
11.) make mrproper and then chmod a+x build_kernel.sh
13.) finally connect to Ubuntu, the z Ultra and make sudo adb reboot bootloader
14.) sudo fastboot flash boot boot.img
15.) vol – + power to get download mode and flash system.img and vivid.tar.gz file.
But before 15 step I will give a flasher. Then you can use for this purpose only.
I hope this tutorial an idiot-proof.
Sony Xperia Z Ultra kernel mainline was built successful.
I will release the code this night or tomorrow.
I flashed it but I’ve tried to flash Ubuntu system image and I couldn’t.
I see the booting kernel up but flash through Ubuntu installer batch bash scripting is breaking up whole the things I’ve done until today.
I’m sorry about the delay, but I’m trying to understand now the new ticket issue.
After almost 5 months I got boot.img for Sony Xperia Z Ultra successfully built.
I will test it today and packaged to release. I hope to have this bootup today or tomorrow.
News will be given today.
To build this image successful, it will be necessary two repositories under my github.
Everyone will need to go to github.com/vicetechno then git clone the kernel msm8974 sony and sony installer.
After that and repo sync:
- cd phablet
- source build/envsetup.sh
- lunch aosp_c6833-userdebug
- make or make -j n (n = number of threads capable on cpu)
In terminal too:
sudo adb kill-server
sudo adb start-server
adb reboot bootloader
sudo fastboot flash boot boot.img
sudo fastboot reboot
Go to recovery and flash Ubuntu with my flasher tool on github.
chmod a+x Ubuntu-rootstock-installer
sudo ./Ubuntu-rootstock-installer Ubuntu-preinstalled.tar.gz system.img
In the end it will reboot, then Ubuntu bootup.
The new changes I will test it today and I will release the files too.
Hi there all!
Last year, in the end of the year I reported telling how I started my port on xda-developers.
Yesterday I made a few changes after my college courses ended up, I got back on the project.
I built a new image several times now I am going to flash it and report it tomorrow my attempt on flashing.
My links to get aware:
Canonical To Demo OnePlus & Sony Devices Running Ubuntu
For my contribution at xda-developers and github, sometimes I update my own github with open-source code.
The source code was always based and get to work only on Unix/Linux operating systems.
I use nowadays Ubuntu and MacOSX, I use them because are operating systems too safe more then Microsoft in my opinion.
Under embedded I use chroot, debootstrap, yocto.
In my opinion these tools are great. With them and qemu I can simulate cpu’s from another arquitectures(ISA).
I’m developing php web applications. At University I made a php website and I was customizing a theme and also a layout for PrestaShop for a presentation.
I’m capable of building JEE7 websites and Web Applications based on Java Enterprise 7.
The Environment is netbeans.
I code phonegap/cordova too, I made a slim framework applications based on php 5.6 version.
Will be available on my personal github.