yashsingh1/xdaforums huggingface dataset:
[Ubuntu Touch Ports to Android] andrewwright:
Follow the link in this thread. Its all there . calls Tex's and data are still a problem that's not getting sorted any time soon.
[Ubuntu Touch Ports to Android] cassote:
im far from beeing able to edit the code or do the necessary stuff to change de dual boot system launched in december if i remember correctly , to work on the i9300 ..... but from what i read in the nexus 4 case, it works with android kk , and runs ubuntu allong it.... and UBUNTU uses the modem from android , so the gsm data , calls and texts issue is solved automatically..... wouldnt it be possible to port ? wouldnt it be even easier compared to the "old" method ?
[Ubuntu Touch Ports to Android] Iito:
I tried to build myself Ubuntu Touch Trusty Tahr but i've got an error during compilation

target thumb C: libESR_Portable <= external/srec/portable/src/ptypes.c
make: *** No rules to make target « vendor/samsung/smdk4412-common/proprietary/system/lib/libTVOut.so », needed by « /media/Arashi/Programs/Work/ubuntu/out/target/product/i9300/obj/lib/libTVOut.so ». stop
make: *** Waiting for unfinished jobs...

Can someone help me ?
[Ubuntu Touch Ports to Android] astronfestmon:
Based on ubuntu touch on any device.

A 1st version of dualboot.sh for i9300 attempt for now.

go here : github.com/vic3t3chn0/ubuntu_i9300_dualboot_script.git

git clone http://github.com/vic3t3chn0/ubuntu_i9300_dualboot_script.git

ctrl + alt + t

chmod +x dualboot.sh

./dualboot.sh

see the twrp i9300 downloading

it's the 1st attempt

workin on it.
[Ubuntu Touch Ports to Android] Iito:
OK so I tried your code an I've got some error :banghead:

I edit it and finally pass through few error. I put a watchdog on it the checking devices (I'm not sure it is a very smooth code but it work)

Unfortunately your code was executing without using 'sudo' mine need it because of heimdall :/

Do I post it when I'm done or I post it stage by stage ? :)
[Ubuntu Touch Ports to Android] astronfestmon:
You can post it stage by stage.

Today I'll do a few changes too.
[Ubuntu Touch Ports to Android] astronfestmon:
Yeah. I agree. Thanks for the help.
[Ubuntu Touch Ports to Android] Iito:
Anytime ;) if it can decrease the development time

EDIT:

i figure it out for download problem by changing

URL_TWRP_PATH_BASE="http://techerrata.com/file/twrp2/"

which was originally this one

URL_TWRP_PATH_BASE="http://techerrata.com/browse/twrp2/i9300"

and i change the curl in download file by wget -o $FILENAME $DOWNLOAD_URL

now i've got 0 error when downloading files.

Now i create the second branch for detect and flash samsung device on bootloader.

Whish me luck ;)
[Ubuntu Touch Ports to Android] astronfestmon:
Good luck man.

I'm gonna back on it in a couple of hours.
[Ubuntu Touch Ports to Android] astronfestmon:
I'll release a new version of the script tomorrow. I'm doing a lot of changes on it.
[Ubuntu Touch Ports to Android] andrewwright:
I follow this thread and always read what you guys are doing but can I ask...will you be makeing a single boot rom? Non dual boot. Many thanks for youre time and work on this. :thumbup::thumbup:
[Ubuntu Touch Ports to Android] Iito:
Yes that's the point :)
[Ubuntu Touch Ports to Android] Zydu:
Nice to see someone working on a dualboot script :)

I wanted to try Ubuntu Touch on my SGS3 for a while but the one I found is outdated: http://xdaforums.com/galaxy-s3/orig-development/discontinued-ubuntu-touch-13-10-builds-t2315397

How is the script progress going? Does it install latest Ubuntu Touch next to currently installed rom?
[Ubuntu Touch Ports to Android] zappacor:
Hi all,

I'm interested in this too! ;)

So far, I'm mostly getting to know how things are and what to do.

Will post an update if I can make any progress (I'm even still running stock recovery/kernel/system though).

EDIT 1: could get on this a bit. As far as I could see from the *latest* oficial dualboot.sh the idea is to install CWM recovery for the device (I think 6.0.4.6 should be OK for our I9300) and then install SuperSU and the Ubuntu Installer.

Still don't know how the recovery partition and /data/ubuntu get populated though.

EDIT 2: looking at https://wiki.ubuntu.com/Touch/DualBootInstallation confirmed above statement and also got to know the Ubuntu Installer app is the "actual" installation responsible.

New questions:

1) What about it under Android<4.4? Is this a requirement for the Ubuntu Intaller APK only or something else imposes this?

2) How is it to get the Ubuntu's recovery.img and /data/system.img images for i9300? Any of you guys could share them for me to try a manual installation?

EDIT 3: Regarding second question above I think I should flash from CWM or TWRP astronfestmon's file:

http://www.mediafire.com/download/b3274qlh47y1cw9/cm_i9300-ota-eng.pedro.zip

and then kinda "trusty-preinstalled-phablet-armhf.zip" image that I'm not able to find. Should I use this one instead:

http://releases.cdimage.ubuntu.com/...ending/utopic-preinstalled-touch-armhf.tar.gz
[Ubuntu Touch Ports to Android] Migaas:
Want ubuntu on S3

I'm excited, i wan to try this room
[Ubuntu Touch Ports to Android] stereodruid:
Same Problem here. Could you please provide a CWM zip?

THANKS
[Ubuntu Touch Ports to Android] anoopvp:
130

Sony phones do not have enough developement room
[Ubuntu Touch Ports to Android] Thomas Jr:
Hope the ubuntu developments are still active for i9300. Can anyone link me/guide me to flash ubuntu on i9300? Thanks for all your efforts.
[Ubuntu Touch Ports to Android] astronfestmon:
Hi everyone. I'll be back with the dev in the following days. I had exams and college duty.
[Ubuntu Touch Ports to Android] nikwen:
You may be excited to hear that they are currently rewriting the porting guide. The current one is very outdated, so the new one will make things much easier. :)

Sent from my awesome Ubuntu Touch device using the Forum Browser app
[Ubuntu Touch Ports to Android] astronfestmon:
Hi there everyone.

I think I got Ubuntu tree to get working with Sony xperia Z Ultra, Sony Z Tablet and Samsung Galaxy S3.

After this successful working tree I'm doing the Sony Z compliant, then I'll try to get Samsung Galaxy S3 compliant too.

Today Samsung Galaxy S3 Ubuntu touch utopic or vivid system image building is on the run now.

I got the make doing his batch effort.

Let's see the end. I hope to see success in the end.
[Ubuntu Touch Ports to Android] cruisingflame:
I can't wait to try this out on my S3. Let's hope the build is a success.

Also nice to see you back I thought this threat was dead and I was gave up all hope for getting ubuntu.

But you gave me back hope :D
[Ubuntu Touch Ports to Android] Migaas:
Thanks, how i wrote you sometime, i am waiting for this awesome room
[Ubuntu Touch Ports to Android] astronfestmon:
Now with Ubuntu for Sony Z Ultra compliant. Samsung Galaxy S3 now will be compliant too. More news when I will have compliant source tree. It's alive now.
[Ubuntu Touch Ports to Android] OxygeenHD:
It's a freaking good news, after a first attemps for the S3 which has been discontinued unfortunatelty, i was losing hope, but then i'm happy... can't wait to feel Ubuntu at the tip of my finger, i'm just "in love" with this OS since i saw some YT videos on earlier builds... *-*
[Ubuntu Touch Ports to Android] liderskull:
Any news?
[Ubuntu Touch Ports to Android] astronfestmon:
I'm going to convert Samsung Galaxy S3 compliant stuff this night.

After successful I will release the images and the sources for compliant.

I won't tell for now anything before I got the system successful.

Cheers.
[Ubuntu Touch Ports to Android] astronfestmon:
I'm compiling now an attempt for Samsung Galaxy S3.

I hope to have good news very soon.
[Ubuntu Touch Ports to Android] astronfestmon:
Samsung Galaxy S3 successfully built. Now trying make otapackage. Good news.
[Ubuntu Touch Ports to Android] liderskull:
Good!! Waiting for installer when ready ;)
[Ubuntu Touch Ports to Android] bentree:
Awesome, Can't wait.
[Ubuntu Touch Ports to Android] Captain-Morgans:
Hope for Ubuntu on S3

I am also waiting for a CWM zip to flash my S3 with Ubuntu touch.

Will this Ubuntu touch also the device convergence feature as stated in insights.ubuntu.com/2013/02/15/get-the-faqs-about-ubuntu-on-smartphones

What do you mean by ‘device convergence’?

With Ubuntu, the industry’s first fully converged device will be a high-end smartphone that can be docked to a monitor and keyboard to become a powerful desktop PC. This is made possible because we have a very deep level of integration between the services on the phone and the desktop – underneath, it is really the same OS. This is a real strength of Ubuntu.

:good: :good: :good: to all the guys who have done development on this!!!
[Ubuntu Touch Ports to Android] astronfestmon:
The convergence is to have Ubuntu touch on S3 not the Ubuntu dock convergence.

About the dock is not applied here.

Two different ways to see the system.
[Ubuntu Touch Ports to Android] Migaas:
Waiting to try

It´s great to hear that awesome news. would be great to call the dock using the back keys, like the stock room hehehe
[Ubuntu Touch Ports to Android] Isotop94:
Hey,

first let me say 'thank you' for your work on this port. :good:

Would it be okay for you to provide a simplified guide with the steps you took in order to get the ports working?

(e.g. phablet-bootstrap, download this, move it in there, thinks like that)

This could help people like me which are willing to help and port but need some support at first hand.

Thanks in advance,

Isotop94
[Ubuntu Touch Ports to Android] astronfestmon:
Tomorrow I will release a guide also the GPL code.

I think its time to release even to help me out on make otapackage.
[Ubuntu Touch Ports to Android] Iito:
All you have to do is ask and I will help you as many as possible :)

Like "Ubuntu" meaning the more people working together the better it will be :D
[Ubuntu Touch Ports to Android] astronfestmon:
Thanks
[Ubuntu Touch Ports to Android] Boristruyens:
I can't wait :) good to see the old project finally take shape :)

-----------

please dont die again :s
[Ubuntu Touch Ports to Android] addict_insane:
Can't wait to test this...:good:
[Ubuntu Touch Ports to Android] Jamboozlez:
Yay! Long live the S3!

Wow, it's amazing to see some people who are keen to work on new projects for this strong old device. The S3 may not be new at all, especially with the S6 just released, but it's not in the slightest showing it's age. I'm looking forward to some more "stable" releases of this!

Long live the S3!
[Ubuntu Touch Ports to Android] astronfestmon:
Today will be a github with all sources for Ubuntu touch. Also a tutorial. The kernel defconfig will be released too.
[Ubuntu Touch Ports to Android] astronfestmon:
Hi there all!

Here it goes the compiling insructions build. I did not fixed yet the otapackage form but as images like fastboot are compliant.

If there is anyone can help me may my guest. Trying to seek out the issue surrounding the otapackage make.

sudo apt-get install git gnupg flex bison gperf build-essential \
zip bzr curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
libgl1-mesa-dev g++-multilib mingw32 tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386 schedtool \
g++-4.8-multilib

sudo apt-get install openjdk-6-jdk lzop abootimg

sudo apt-get install android-tools-*

git config --global user.email "email address"
git config --global user.mail "name"

mkdir ~/ubuntu
phablet-dev-bootstrap -c ~/ubuntu

cd ~/ubuntu

git clone https://github.com/vic3t3chn0/android_device_samsung_i9300.git device/samsung/i9300

git clone https://github.com/vic3t3chn0/ubuntu_smdk4412_kernel.git kernel/samsung/smdk4412

source build/envsetup.sh

lunch aosp_i9300-userdebug

make (make otapackage on my side crashes after ota zip creation)

Everyone have to get the vendor samsung and smdk4412-common and for last aokp i9300 hardware/samsung.

I hope this will help for now.

Cheers.
[Ubuntu Touch Ports to Android] Isotop94:
Thanks for this guide.

I tried to adapt it for my Galaxy S4 jfltexx.

But im stuck with an error. Can somebody help me?

...
target thumb C++: copybit.msm8960 <= hardware/qcom/display/msm8960/libcopybit/copybit_c2d.cpp
target thumb C++: libmemalloc <= hardware/qcom/display/msm8960/libgralloc/ionalloc.cpp
target thumb C++: libmemalloc <= hardware/qcom/display/msm8960/libgralloc/alloc_controller.cpp
hardware/qcom/display/msm8960/libcopybit/copybit_c2d.cpp:34:28: fatal error: linux/msm_kgsl.h: No such file or directory
compilation terminated.
make: *** [/srv/gitlab/working_dir/ubuntu-touch/phablet/out/target/product/jfltexx/obj/SHARED_LIBRARIES/copybit.msm8960_intermediates/copybit_c2d.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/qcom/display/msm8960/libgralloc/ionalloc.cpp:38:0:
hardware/qcom/display/msm8960/libgralloc/ionalloc.h:33:27: fatal error: linux/msm_ion.h: No such file or directory
compilation terminated.
make: *** [/srv/gitlab/working_dir/ubuntu-touch/phablet/out/target/product/jfltexx/obj/SHARED_LIBRARIES/libmemalloc_intermediates/ionalloc.o] Error 1
In file included from hardware/qcom/display/msm8960/libgralloc/alloc_controller.cpp:36:0:
hardware/qcom/display/msm8960/libgralloc/ionalloc.h:33:27: fatal error: linux/msm_ion.h: No such file or directory
compilation terminated.
make: *** [/srv/gitlab/working_dir/ubuntu-touch/phablet/out/target/product/jfltexx/obj/SHARED_LIBRARIES/libmemalloc_intermediates/alloc_controller.o] Error 1
make: *** wait: No child processes. Stop.

The searched file is present in kernel/samsung/jf/include/linux. Where do i have to define this path as TARGET_DEVICE_HEADER_FILES or is there another way to solve this?

Thanks,
[Ubuntu Touch Ports to Android] Iito:
astronfestmon -> I will help you as soon as i can, i'll tell you by PM when i'll do :)
[Ubuntu Touch Ports to Android] astronfestmon:
Try to do that on /home/$user not /srv folder probably directory permissions write read
[Ubuntu Touch Ports to Android] Isotop94:
Thanks for your answer. I still get an error that a file linux/<c header file> is missing. The file itself is present and the error occurs with several files. I googled for a while but i couldnt find a solution.

Maybe someone can help?

Thanks!
[Ubuntu Touch Ports to Android] astronfestmon:
Send me a pm with the error. I will help you.
[Ubuntu Touch Ports to Android] OxygeenHD:
Is still a possibility to have Play store on Ubuntu Touch to have apps like Facebook Messenger, Snapchat etc.... ?
[Ubuntu Touch Ports to Android] Isotop94:
Ubuntu Touch doesnt support APKs since it doesnt rely on ART. It uses QML based Webapps. The Ubuntu Touch store already covers the main apps like Facebook and Telegram.

Just give it a try :)
[Ubuntu Touch Ports to Android] cruisingflame:
Can you get this running on the sIII without the OTA zip ?

Can I go back to android after doing that ?

tnx
[Ubuntu Touch Ports to Android] astronfestmon:
Hi there all!

I see through isotop97 very issues.

here it goes the device i9300.

everyone can compile this for now through the zip.

i will update the github with these files on the zip file attached.
[Ubuntu Touch Ports to Android] fercen:
When running "lunch aosp_i9300-userdebug"

I get this

build/core/product_config.mk:227: *** _nic.PRODUCTS.[[device/samsung/i9300/aosp_i9300.mk]]: "hardware/samsung/exynos4x12.mk" does not exist. Stop.

Can't find exynos4x12.mk anywhere, I'm sure I've overlooked something
[Ubuntu Touch Ports to Android] astronfestmon:
Try on aokp github. Is there the hardware
[Ubuntu Touch Ports to Android] cruisingflame:
I get this error with git repo you have to add to complete the build ?

build/core/product_config.mk:227: *** _nic.PRODUCTS.[[device/samsung/i9300/aosp_i9300.mk]]: "vendor/samsung/smdk4412-common/common-vendor.mk" does not exist. Stop.

** Don't have a product spec for: 'aosp_i9300'

** Do you have the right repo manifest?
[Ubuntu Touch Ports to Android] astronfestmon:
Try to do this:

git clone https://github.com/DroidTh3ory/vendor_samsung.git vendor/samsung
[Ubuntu Touch Ports to Android] cruisingflame:
I've got one step further but now I got these make errors.

/home/x/ubuntu/kernel/samsung/smdk4412/arch/arm/mm/init-cma.c:345:2: error: implicit declaration of function 'memblock_init' [-Werror=implicit-function-declaration]

/home/x/ubuntu/kernel/samsung/smdk4412/arch/arm/mm/init-cma.c:390:2: error: implicit declaration of function 'memblock_analyze' [-Werror=implicit-function-declaration]

cc1: some warnings being treated as errors

/home/x/ubuntu/kernel/samsung/smdk4412/scripts/Makefile.build:305: recipe for target 'arch/arm/mm/init-cma.o' failed

make[3]: *** [arch/arm/mm/init-cma.o] Error 1

/home/x/ubuntu/kernel/samsung/smdk4412/Makefile:956: recipe for target 'arch/arm/mm' failed

make[2]: *** [arch/arm/mm] Error 2

Makefile:130: recipe for target 'sub-make' failed

make[1]: *** [sub-make] Error 2

make[1]: Leaving directory '/home/x/ubuntu/kernel/samsung/smdk4412'

build/core/tasks/kernel.mk:249: recipe for target 'TARGET_KERNEL_BINARIES' failed

make: *** [TARGET_KERNEL_BINARIES] Error 2
[Ubuntu Touch Ports to Android] vcforums:
Can we use Samsung galaxy S3 (GT-9300) port on Samsung galaxy neo GT-9300I

Or is there any separate image available.
[Ubuntu Touch Ports to Android] cruisingflame:
I've gotten a little further now. After updating ubuntu I had no errors like I mentioned above.

But now I've got this error:

Export includes file: sdk/emulator/opengl/host/libs/Translator/EGL/Android.mk -- /home/bjorndevos/ubuntu/out/host/linux-x86/obj/SHARED_LIBRARIES/libEGL_translator_intermediates/export_includes

host SharedLib: libEGL_translator (/home/bjorndevos/ubuntu/out/host/linux-x86/obj/lib/libEGL_translator.so)

/usr/bin/ld: cannot find -lGL

After a little search it shoud have something to do with libGL.so. I've did a little search in my ubuntu directories I've found several files with libgl.so

/home/x/ubuntu/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/lib/libGL.so

/home/x/ubuntu/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/lib/libGL.so

/home/x/ubuntu/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/lib/libGL.so

Should I create symbolic links to this library somewhere ? Or do I have to install some library from the repo's ?

Can someone help me with that ? I dying to test ubuntu on my phone :).

thanks
[Ubuntu Touch Ports to Android] cruisingflame:
I finally achieved building de img files by make a link from libGL.so to /usr/lib.

How can I install those image files on my phone ? I believe with fastboot. But do I have to enter a certain mode on my phone ?

Is there a way already to build the zip file ?

thanks.
[Ubuntu Touch Ports to Android] vcforums:
Can anybody please help me on this
[Ubuntu Touch Ports to Android] vcforums:
Pls help
[Ubuntu Touch Ports to Android] rubbem06:
Please link .. ubuntu touch rom ..please!!!
[Ubuntu Touch Ports to Android] guptaprins:
Where can I get the latest Ubuntu for s3? I loved the ui. Where to download? Help
[Ubuntu Touch Ports to Android] thor2950:
I don't have any experience building roms from sources, so if anybody would upload a ready-to-flash .zip of the rom, like Android roms, then I'll be very happy.

Thank you. :good:
[Ubuntu Touch Ports to Android] aribk:
Hi astronfestmon,

Thanks for explaining your setup. I am trying to duplicate it, but not sure whether I have done it right. I first set up the build environment and pulled the Android and Ubuntu code as you have described (also referring to the Ubuntu porting guide).

I then pulled smdk4412-common with the following command:

git clone https://github.com/CyanogenMod/android_device_samsung_smdk4412-common.git device/samsung/smdk4412-common/

[/CODE]

Then I retrieved vendor/samsung with:

git clone https://girhub.com/TheMuppets/proprietary_vendor_samsung.git vendor/samsung

Finally, I have tried to figure out what you mean by "last aokp i9300 hardware/samsung". I looked at the aokp code at AOKP/device_samsung_i9300 and I don't understand if this is the correct code to place in hardware/samsung? As far as I can see, this is supposed to go into device/samsung/i9300, but I already placed your code there (vic3t3chn0/android_device_samsung_i9300) Were you referring to something else? At then moment, I have no samsung/ subdirectory in the hardware/ subdirectory of my source tree.

Could you comment and help me put the pieces together for the build?

Thanks!
[Ubuntu Touch Ports to Android] astronfestmon:
Hi,

Through AOKP do this:

git clone github vendor vendor/samsung

Then:

source build/envsetup.sh

lunch aosp_i9300-userdebug

make -j2 or make otapackage

But before You will need to do some steps that I will update on the topic. Like a new one.

In the next hours I wil update it here.
[Ubuntu Touch Ports to Android] aribk:
Thank you! :good::)

I've done this now, but I will wait with the lunch and make commands until you have detailed the steps to do before that.

Regards.
[Ubuntu Touch Ports to Android] OxygeenHD:
Hello guys, comming to take some news, is there any flashable build actually ?

I'm curious about the fonctionallity of Ubuntu... :3
[Ubuntu Touch Ports to Android] aribk:
Well, now I am compiling and I have run into a few errors which I have fixed to the best of my ability, but the one below has me puzzled.

Has anyone fixed this one before? I have googled it and found a few examples, but no solution.

hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:484:1: sorry, unimplemented: non-trivial designated initializers not supported
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:484:1: sorry, unimplemented: non-trivial designated initializers not supported
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:484:1: sorry, unimplemented: non-trivial designated initializers not supported
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:484:1: warning: missing initializer for member 'gralloc_module_t::reserved_proc' [-Wmissing-field-initializers]
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:484:1: warning: missing initializer for member 'private_module_t::info' [-Wmissing-field-initializers]
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:484:1: warning: missing initializer for member 'private_module_t::finfo' [-Wmissing-field-initializers]
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:484:1: warning: missing initializer for member 'private_module_t::xdpi' [-Wmissing-field-initializers]
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:484:1: warning: missing initializer for member 'private_module_t::ydpi' [-Wmissing-field-initializers]
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:484:1: warning: missing initializer for member 'private_module_t::fps' [-Wmissing-field-initializers]
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:484:1: warning: missing initializer for member 'private_module_t::enableVSync' [-Wmissing-field-initializers]
make: *** [/home/ari/phablet/out/target/product/i9300/obj/SHARED_LIBRARIES/gralloc.exynos4_intermediates/gralloc_module.o] Error 1

Thoughts:

I have tried to search through the code for figure out why the compiler complains these variables have not been initialized. I am not experienced enough to pinpoint the source of the problem, so I have compared corresponding code in different sections of the hardware/samsung branch of the code. These seem to follow the same pattern, so this leads me to think the cause lies elsewhere. (This is, of course, assuming that this code compiles normally in other builds.) Additionally, I have read up a bit on the use of constructors and destructors in C++, but so far without finding any answer.