yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II, Galaxy S III Developer Discussion ] gianguido:
Hi, i'm porting ubuntu touch on SGS3 i9300 (international) but i'm having issues addressed to a segfault of surfaceflinger not finding libandroid_runtime.so: any errors like this?
[Galaxy Note II, Galaxy S III Developer Discussion ] BoRoU:
Flashing this ROM already work Unbuntu into N7100?

Thanks, I took several days trying to download the repo but always fails.
[Galaxy Note II, Galaxy S III Developer Discussion ] Sompom:
I've never seen a straightforward answer to how to convert a n7100 rom to a t889 rom... Something to do with copy the kernel image out of a working t889 rom and into the n7100 rom? But I've also heard that some people get bricks trying!

If this rom doesn't work for a t889, could the same steps be followed, substituting in t889 where applicable, to make the right rom? I would just try it, but my phone is away for warranty repair :crying:
[Galaxy Note II, Galaxy S III Developer Discussion ] drapalyuk:
Exynos GPU Mali lib*_mali.so need libandroid_runtime.so

not completely ;) I get console and can chroot into ubuntu, but no gui yet

but I'm working on
[Galaxy Note II, Galaxy S III Developer Discussion ] T-Macgnolia:
How did you get the Android part to build, I have been trying for two days and I just got it to even start compiling yesterday. Here is a link to my paste bin, I have the T-Mobile Note II so I am using t0lte (GT-N7105).

Also if you want I have a guid i was putting together until I hit this snag yesterday.I will upload it and let you look at it if you want to further edit your OP. Where did you fork your android_hardware_samsung folder ? I could not find one in the CM repositories I had to use another repository I found.
[Galaxy Note II, Galaxy S III Developer Discussion ] lgstoian:
Are your CM sources older then the 24th ? On the 23 they fixed the MALI render issued and memory leak in CM 10.1.
[Galaxy Note II, Galaxy S III Developer Discussion ] T-Macgnolia:
Ha yeah they are from the 23 that is when i finished my repo sync and cloned my device files. I guess I need to re sync and redo my edits then try again. Also does this require the linaro toolchain?

I got past my above problem by going to device/samsung/t0lte/t0lte and taking out the following from it.

# Product specific Packages
PRODUCT_PACKAGES += \
GalaxyNote2Settings

But I am still having troubles.

Edit: This is now my issue, got to find where to disable this.

make: *** No rule to make target `/home/tmacgnolia/UPP/out/target/product/t0lte/obj/SHARED_LIBRARIES/libTVOut_intermediates/export_includes', needed by `/home/tmacgnolia/UPP/out/target/product/t0lte/obj/EXECUTABLES/mediaserver_intermediates/import_includes'. Stop.
[Galaxy Note II, Galaxy S III Developer Discussion ] BoRoU:
I try to start with phablet-dev-bootstrap-c ubuntu-touch and always short. I get this error:

INFO:phablet-dev-bootstrap:Changing to workdir /home/borou/ubuntu-touch

INFO:phablet-dev-bootstrap:Initializing repository

Your identity is: BoRoU <elrincondelsymbian@gmail.com>

If you want to change this, please re-run 'repo init' with --config-name

repo has been initialized in /home/borou

If this is not the directory in which you want to initialize repo, please run:

rm -r /home/borou/.repo

and try again.

Fetching projects: 20% (28/136) fatal: The remote end hung up unexpectedly

Fetching projects: 37% (51/136) fatal: read error: Conexi?n reinicializada por la m?quina remota
[Galaxy Note II, Galaxy S III Developer Discussion ] manish.t92:
Is i directly flash quantal-preinstalled-phablet-armhf.zip on galaxy note 2? and Is it work properly?
[Galaxy Note II, Galaxy S III Developer Discussion ] lolmensch:
read the thread. (1 page) the op answered that question yesterday. and this section is developer talk only.
[Galaxy Note II, Galaxy S III Developer Discussion ] T-Macgnolia:
The repo sync took me forever so I ad to restart it several times. It would give the " fatal: The remote end hung up unexpectedly" every time.

Edit: I need hardware/samsung/exynose/multimedia/openmax/include/osal. I do not have it for some reason.
[Galaxy Note II, Galaxy S III Developer Discussion ] DesertHawk:
Someone asked about porting N7100 ROM's. Try this guide

http://xdaforums.com/showthread.php?t=2018411
[Galaxy Note II, Galaxy S III Developer Discussion ] T-Macgnolia:
Thanks for the link but unfortunately that guide really has little relevance to the work going on here. This has to be built from source so any device specific files need to be in the source which means cloning them from a repository or added manually as well as adding lines to the appropriate .mk or config files. Now this guide does have some usefulness but just not a whole lot.
[Galaxy Note II, Galaxy S III Developer Discussion ] DesertHawk:
Ah i see. My bad... I thought it wasnt relevant... But then someone told me Ubuntu was based on CM10.1 (i thought it was the same as building cm10.1) so i thought it had the same ROM format. So i was guessing that wouls work. Sorry my bad. Forgive me
[Galaxy Note II, Galaxy S III Developer Discussion ] drapalyuk:
current progress

finally get the gui starting

working:

camera (both), flash

sound (at least by tacking a photo)

microphone (by voice input)

pen

known issues:

font rendering artifacts

no gsm

no wifi

to be continued...
[Galaxy Note II, Galaxy S III Developer Discussion ] basziee:
i did : Brunch n7100 and there is no zip file created ( out/target/product/n7100 )
[Galaxy Note II, Galaxy S III Developer Discussion ] drapalyuk:
any outputs in console?
[Galaxy Note II, Galaxy S III Developer Discussion ] andrewKode:
There is pretty much no interest in building that.
[Galaxy Note II, Galaxy S III Developer Discussion ] Tonus1:
Wish I had time to try : might be possible to extract phone binaries from Android rom no ?
[Galaxy Note II, Galaxy S III Developer Discussion ] psndna88:
i cant make roms, thats primarily required..
[Galaxy Note II, Galaxy S III Developer Discussion ] basziee:
alot of ignoring old. i send you the whole console via PM
[Galaxy Note II, Galaxy S III Developer Discussion ] emwno:
@drapalyuk could you send me your boot.img compiled? Ive tried compiling several times and trying it, but each time Ubuntu boots, lags, crashes. Your help is appreciated
[Galaxy Note II, Galaxy S III Developer Discussion ] shark_max:
Hurray!

I searched for this post since the the release of the porting guide!

Thank you so much, it seems easier like that!
[Galaxy Note II, Galaxy S III Developer Discussion ] be_vigilant:
Got a build compiled and booting to gui ok.

Graphical glitches are present and only seem to effect the fonts
[Galaxy Note II, Galaxy S III Developer Discussion ] thenazish:
I get the following errors in console. Please let me know what I might be doing wrong

Hey drapalyuk, thanks for the instructions. I followed your instructions line by line. And I got the following error

brunch n7100
including vendor/cm/vendorsetup.sh
build/core/config.mk:346: *** Error: could not find jdk tools.jar, please install JDK6, which you can download from java.sun.com. Stop.
Device n7100 not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_samsung_n7100
Default revision: phablet-10.1
Checking branch info
Default revision phablet-10.1 not found in android_device_samsung_n7100. Bailing.
Branches found:
cm-10.1
jellybean
mr1-staging
Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.
build/core/config.mk:346: *** Error: could not find jdk tools.jar, please install JDK6, which you can download from java.sun.com. Stop.

** Don't have a product spec for: 'cm_n7100'
** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'

I guess something is wrong with my manifest.xml. I tried

repo sync

first with local_manifest.xml as you said. The following are its contents of my local_manifest.xml

Later, I removed local_manifest.xml and edited manifest.xml as per Ubuntu's porting guide. Added the following lines -

Both the times I get the above error when running

[B]brunch n7100[/B]

. Can you please guide me as to what I might be doing wrong. Thanks.
[Galaxy Note II, Galaxy S III Developer Discussion ] be_vigilant:
The clue is in the line

*** Error: could not find jdk tools.jar, please install JDK6, which you can download from java.sun.com.
[Galaxy Note II, Galaxy S III Developer Discussion ] basziee:
Install Java JDK
[Galaxy Note II, Galaxy S III Developer Discussion ] thenazish:
Thanks for the reply. Doing that right now, didn't think it was important as Ubuntu doesn't use Dalvik, and it wasn't specified anywhere on the Ubuntu Wiki. Anyways setting up JDK- will let you know how it goes.
[Galaxy Note II, Galaxy S III Developer Discussion ] T-Macgnolia:
Edited I found your repositories finally don't know why I problems/ sorry.
[Galaxy Note II, Galaxy S III Developer Discussion ] drapalyuk:
update: fonts rendering issue solved

Not working:

GSM

WiFi

Lots more probably

Installation instructions:

reboot in recovery

wipe

install the N7100 specific part cm-10.1-20130227-UNOFFICIAL-n7100.zip md5: a17340cb42d27fa941616f85bd43a765

install the Ubuntu 12.10 Touch Preview, daily build quantal-preinstalled-phablet-armhf.zip

reboot

DISCLAIMER: this is development preview do not install if you don't know exactly what you are doing
[Galaxy Note II, Galaxy S III Developer Discussion ] T-Macgnolia:
Sorry man I found your repositories, I don't know why I had trouble. I went back and edited my last post also.

I will have to do some comparing but maybe i can get this to build and boot on the T-Mobile Note II.
[Galaxy Note II, Galaxy S III Developer Discussion ] lycan_codex:
Hello,

Can anyone create a mirror for the n7100 specific cm10.1 zip file. When I download its only showing 190KB not the 55MB one...I am eagarly waiting to test this out..

Sorry for spam.
[Galaxy Note II, Galaxy S III Developer Discussion ] emwno:
Fixed the kernel issue. Turned out I missed some flags for Ubuntu. Added them and its booting now. May have a way to fix wifi. Going to try it later today.

ADDED: for some reason disabling paranoid in config caused it to lag for me. (tested with both). Ill try with your zimage
[Galaxy Note II, Galaxy S III Developer Discussion ] basziee:
you downloading with your phone?
[Galaxy Note II, Galaxy S III Developer Discussion ] thenazish:
I tried downloading with my phone and twice it stopped around 100KB. Trying now with my system.

On a different note, I compiled Ubuntu Touch yesterday and was able to generate the zip in croot/out folder. But when I try to flash it through TWRP my phone is stuck on the Model screen. It doesn't go forward. Any ideas? I Wiped completely, then flashed ubuntu Zip and then flashed the quantal zip. What am I doing wrong?
[Galaxy Note II, Galaxy S III Developer Discussion ] lycan_codex:
Pls ignore.
[Galaxy Note II, Galaxy S III Developer Discussion ] T-Macgnolia:
Ok I forked drapalyuk's android_device_samsung_smdk4412-common, android_kernel_samsung_smdk4412, and android_hardware_samsung. I then compared the .mk files in his n7100 folder and the .mk files in my t0lte folder. I made changes in the android_device_samsung_t0lte and to android_hardware_samsung. Here is a link to my git hub. It builds for 15 to 20 minutes before it errors out. I think it is past building the kernel. Below is the error I get. Maybe someone can help me with this one.

target thumb C: audio.primary.smdk4x12 <= device/samsung/t0lte/audio/ril_interface.c
device/samsung/t0lte/audio/audio_hw.c: In function 'end_call':
device/samsung/t0lte/audio/audio_hw.c:505:32: error: 'DEVICE_BT_SCO_RX_ACDB_ID' undeclared (first use in this function)
device/samsung/t0lte/audio/audio_hw.c:505:32: note: each undeclared identifier is reported only once for each function it appears in
device/samsung/t0lte/audio/audio_hw.c: In function 'set_incall_device':
device/samsung/t0lte/audio/audio_hw.c:530:33: error: 'TTY_OFF' undeclared (first use in this function)
device/samsung/t0lte/audio/audio_hw.c:534:25: error: 'DEVICE_HANDSET_RX_ACDB_ID' undeclared (first use in this function)
device/samsung/t0lte/audio/audio_hw.c:535:25: error: 'DEVICE_HANDSET_TX_ACDB_ID' undeclared (first use in this function)
device/samsung/t0lte/audio/audio_hw.c:541:25: error: 'DEVICE_SPEAKER_MONO_RX_ACDB_ID' undeclared (first use in this function)
device/samsung/t0lte/audio/audio_hw.c:542:25: error: 'DEVICE_SPEAKER_TX_ACDB_ID' undeclared (first use in this function)
device/samsung/t0lte/audio/audio_hw.c:547:25: error: 'DEVICE_HEADSET_RX_ACDB_ID' undeclared (first use in this function)
device/samsung/t0lte/audio/audio_hw.c:548:25: error: 'DEVICE_HEADSET_TX_ACDB_ID' undeclared (first use in this function)
device/samsung/t0lte/audio/audio_hw.c:555:29: error: 'DEVICE_BT_SCO_RX_ACDB_ID' undeclared (first use in this function)
device/samsung/t0lte/audio/audio_hw.c:556:29: error: 'DEVICE_BT_SCO_TX_ACDB_ID' undeclared (first use in this function)
device/samsung/t0lte/audio/audio_hw.c: In function 'adev_set_parameters':
device/samsung/t0lte/audio/audio_hw.c:2671:17: warning: large integer implicitly truncated to unsigned type [-Woverflow]
device/samsung/t0lte/audio/audio_hw.c:2674:17: warning: large integer implicitly truncated to unsigned type [-Woverflow]
make: *** [/home/tmacgnolia/Backup-UPP/out/target/product/t0lte/obj/SHARED_LIBRARIES/audio.primary.smdk4x12_intermediates/audio_hw.o] Error 1
make: *** Waiting for unfinished jobs....
[Galaxy Note II, Galaxy S III Developer Discussion ] basziee:
i installed it with clockworkmod recovery and Team win recovery v2.3.1.1 and is both booting up
[Galaxy Note II, Galaxy S III Developer Discussion ] andrevs_ro:
i had an error on installing ubuntu

steps that i followed:

1. install cm 10.1 official

2. reboot

3. install specific cm 10.1 unofficial

4. install (flash in cwm) ubuntu

phone doesn't boot. restore backup

what I am doing wrong?
[Galaxy Note II, Galaxy S III Developer Discussion ] lycan_codex:
Wipe /System /data /cache.

Install CM 10.1 unofficial attached to the post, install ubuntu and reboot.
[Galaxy Note II, Galaxy S III Developer Discussion ] drapalyuk:
hi folks,

update: wlan working now

Not working:

GSM

Lots more probably

DISCLAIMER: this is development preview do not install if you don't know exactly what you are doing

Installation instructions:

reboot in recovery

backup

wipe

install the n7100 specific part cm-10.1-20130302-UNOFFICIAL-n7100.zip md5: 9469b4ac5c9a3ae740609f9a13447e5b

install the Ubuntu 12.10 Touch Preview, daily build quantal-preinstalled-phablet-armhf.zip

reboot
[Galaxy Note II, Galaxy S III Developer Discussion ] slick_rick:
How did you get the font rendering issue fixed? Got a build booting on Sprint Galaxy Note 2 but getting the font artifacting. Thanks.

Wifi fix also if you dont mind sharing? lol
[Galaxy Note II, Galaxy S III Developer Discussion ] edwinpang:
R u guys working independently?

Wouldn't it be better if you guys can work together?
[Galaxy Note II, Galaxy S III Developer Discussion ] T-Macgnolia:
I can not get it to build what so ever for the the T-Mobile SGH-T889. Do you have a git hub set up so I can take a look at your device tree?
[Galaxy Note II, Galaxy S III Developer Discussion ] T-Macgnolia:
Good news guys I finally got it to build and spit me out a zip file. I have not yet flashed it to my device so I do not know if it even boots just yet. But it is built with the t0lte device tree so it should be ok to flash to the GT-N7105 and the SGH-I317. Here is a link to my git hub for anyone that is trying to build for those devices or the SGH-T889.

​
[Galaxy Note II, Galaxy S III Developer Discussion ] drapalyuk:
about font rendering i have already written in n7000 thread

for wifi fix just necessary to load the driver.

actually i try to track all changes on git hub.

I hope this can help.
[Galaxy Note II, Galaxy S III Developer Discussion ] slick_rick:
Yea I tried rolling back the malibdrivers and just got a black screen. I will try loading the WiFi module the way you did though. Thanks.
[Galaxy Note II, Galaxy S III Developer Discussion ] drapalyuk:
it can happens if driver and user space has different versions

important thing, if you use old mali driver, you should use also old user space libs,

easiest way is to flash CM nightly with old driver and user space (cm nightly before 22.02) and then call ./extract-files.sh
[Galaxy Note II, Galaxy S III Developer Discussion ] slick_rick:
Yea I did that. Rolled it back for props and in the kernel. I'll mess with it more though later.
[Galaxy Note II, Galaxy S III Developer Discussion ] pettrel:
Github revision

I tried to use your github but it tells me error and can't find revision... I use "phablet-10.1"....

if its something different, let us know.
[Galaxy Note II, Galaxy S III Developer Discussion ] w00tc0d3:
It really helps me to port Ubuntu to I9300! Thank you!
[Galaxy Note II, Galaxy S III Developer Discussion ] T-Macgnolia:
Sorry for the late response here. I jus now saw your post. Try re cloning from my git hub. I did not push my final changes to my get hub until late last night. Here is a link to it to my repositories just in case you were using the wrong one cause I do not have "phablet-10.1" in the name of any of my repositories.
[Galaxy Note II, Galaxy S III Developer Discussion ] pettrel:
I am new to github and this is my first time trying to learn how to port ROM's or different OSes. It asked me for revision and since "phablet-10.1" didn't work, I used the branch name "cm-10.1" and it worked fine.
[Galaxy Note II, Galaxy S III Developer Discussion ] T-Macgnolia:
Ok cool glad it worked for you. I will be updating my thread a little later on with a more complete run down of what I had to do to get it to build. I just got through adding all the missing lib files and it is very close to booting now. It shows the Samsung Galaxy Note II splash screen and then the splash screen drops out plus logcat looks a lot better now. I added a total of 96 lib files to the build, some may actually not be needed but i am just focused on getting it booted for now. i can go back and pull them later.
[Galaxy Note II, Galaxy S III Developer Discussion ] pettrel:
sounds good to me. For some reasons, it doesn't want to finish the built for me. Give the error that it waits for unfinished jobs.
[Galaxy Note II, Galaxy S III Developer Discussion ] T-Macgnolia:
I do not want our conversation to high jack this thread so please come post a complete copy of the error you have or a pastebin of f it in my thread. The waiting on unfinished jobs is pretty much just telling you it has stopped building. You need to go back up in the log and look for the error that caused it.

Also I just updated my thread.
[Galaxy Note II, Galaxy S III Developer Discussion ] beehiveblack:
Is dev work on this dead?
[Galaxy Note II, Galaxy S III Developer Discussion ] patience_gnr:
I do that. But my device can't boot.
[Galaxy Note II, Galaxy S III Developer Discussion ] andrevs_ro:
Same here... :(
[Galaxy Note II, Galaxy S III Developer Discussion ] Nicgraner:
when trying to add the phablet tools repo it 404's any idea why?
[Galaxy Note II, Galaxy S III Developer Discussion ] tupo05:
Mine booting fine. The user interface is amazing
[Galaxy Note II, Galaxy S III Developer Discussion ] andrevs_ro:
how did you do it? what recovery do you use?

mine doesn.t boot... it keeps flashing the note 2 logo and after that... black screen :(
[Galaxy Note II, Galaxy S III Developer Discussion ] tupo05:
Just followed the instructions. I use TWRP
[Galaxy Note II, Galaxy S III Developer Discussion ] Yo_MaMa:
Is development dead? Any news?

Sent from my GT-N7100
[Galaxy Note II, Galaxy S III Developer Discussion ] patience_gnr:
Flashed by TWRP.. still black screen.

Don't know why:(
[Galaxy Note II, Galaxy S III Developer Discussion ] djceet:
Same here.

This time I had done a backup.

For the first time. ;)

Was a good idea. :good:
[Galaxy Note II, Galaxy S III Developer Discussion ] CrimzonEyed:
Is there any way for you to upload to any other site? (Mediafire?)

I'm not able to download from uploaded.
[Galaxy Note II, Galaxy S III Developer Discussion ] CrimzonEyed:
I followed the those steps:

1. Put both file on external sd card

2. in TWRP in wipe I factory reset + system + data + cache + dalvik

3, I install the cyanogen file.

4. I install the ubuntu file

5. Reboots.

I get a black screen. No sound nothing. I have been waiting for about 10-15 minutes.
[Galaxy Note II, Galaxy S III Developer Discussion ] kdogguk:
Have you tried pushing your home or power button to wake it up? I thought mine wasn't working till I pressed the home button and the lock screen appeared.
[Galaxy Note II, Galaxy S III Developer Discussion ] Bstrong9211:
Anything new?
[Galaxy Note II, Galaxy S III Developer Discussion ] lgstoian:
It seems work on Ubuntu Touch is accelerating.

This is last weeks Changelog :

- Transition to Qt 5.0.1 complete. All apps and sdk have now been

cutover to use this latest version of Qt and packages in the ppa's have

been updated.

- New release of ubuntu-ui-toolkit landed (0.1.39~quantal1) with many

new features and bug fixes

- Work nearly finished on transition to Raring. Most packages have been

updated/rebased for Raring and uploaded to ppa. Expect a fresh Ubuntu

Touch Raring build soon!

- camera-app was simplified by Renato Filho to use the Screen component

for device rotation rather than the Sensors API. This fixed an issue

with the control layouts in landscape orientation.

- gallery-app updated by Guether Schwann

-- added support for max texture size to display photos in the highest

resolution supported by the given hardware.

-- fix for crash when opening a photo from the album view

-- enabling of pinch to zoom

-- using updated header and toolbar components from the newly released

SDK.

-- added toolbar in photos view

-- implement add, delete and start camera functionality

- gallery-app had a variety of packaging updates done by Michael Terry

- maliit-framework/plugins (osk) updated by Thomas Moenicke

-- merged with latest upstream maliit 0.94

-- maliit-keyboard UI now QML based

-- initial support added for both maliit-keyboard and nemo-keyboard

switchable by configuration. nemo is still the default until

maliit-keyboard is fully operational.

- notes-app updated by Ugo Riboni

-- Some code refactoring based on reviews

-- Update text size in the toolbar

-- Added animations to all transitions

-- Updated to work with new SDK and Qt 5.0.1

- phone-app updated by Gustavo Boiko

-- Use the updated SDK headers and toolbar components in DetailViews

-- Optimize some list delegates by using a simpler version of them and

change the tab pages to be loaded asynchronously.

-- Fixed crash during the contact search using ContactsSearchCombo by

Renato Filho

-- Fix bug with sending text with empty string

-- Fixed issue with "remove" button being too close to the edge in

Contacts Detail editing view.

-- updated unit tests to avoid potential race conditions

- phone-app packaging updated by Michael Terry

- share-app runtime dependencies updated by Olivier Tilloy to work

correctly with Qt 5.0.1 and latest SDK.

- webbrowser-app updated by Olivier Tilloy

-- Problem with progressive loading of pages identified as a regression

with qtwebkit as it's fixed in qtwebkit trunk. Work in progress to

cherry pick the fixes into 5.0.1 version.

-- Allow running with stock QtWebKit as found in Ubuntu.

-- Initial support for "smarter" address bar. Added states and updated

assets.

-- Add support for <select> dropdowns.

-- Work around the lack of support for handling hyperlinks with a

target attribute set to '_blank' in QtWebKit.

-- Allow faster scrolling, by making the maximum flick velocity of

the webview proportional to its height.

Too bad none of our devs are tacking an interest in the os. Maybe as it gets closer to maturity.
[Galaxy Note II, Galaxy S III Developer Discussion ] andrevs_ro:
:(( i still couldn.t install ubuntu... Tried every recovery, all wipes... I don.t know...

I.ll try more but it.s really sad
[Galaxy Note II, Galaxy S III Developer Discussion ] patience_gnr:
Great new.. Hope the next build can boot with me.