yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] ogra-ubuntu:
That wont work inside the ubuntu container (where ubuntu-session lives).Does that property perhaps live in sysfs or proc by chance so we could grab it from there ?
[Galaxy S II Android Development] Gerrett:
AW: [ROM][GT-I9100][WIP] Ubuntu Touch Developer Preview

Didnt think so.

Maybe we can use Produkt ID.

/sys/device/virtual/android_usb/android0/idProduct

Gesendet von meinem GT-N7000 mit Tapatalk 2
[Galaxy S II Android Development] ogra-ubuntu:
well, after poking around a bit and some discussion on IRC we seem to have settled on using something like:

device=$(grep ro.cm.device /system/build.prop |sed -e 's/.*=//')

that file is used by libhybris as well so we can rely on the fact that it is always available ... and it has the advatage that we can actually use teh known CM codenames. Thanks a lot for bringing it up !
[Galaxy S II Android Development] Gerrett:
AW: [ROM][GT-I9100][WIP] Ubuntu Touch Developer Preview

Great!

Using CM codename is the best way i think.

Good work ;)

Gesendet von meinem GT-N7000 mit Tapatalk 2
[Galaxy S II Android Development] alien0101:
I am not sure if this is delveopment tread if its not please point me to right one..

I would like to put some development effort for Ubuntu phone..so as mentioned (https://wiki.ubuntu.com/Touch/Porting) I am done till here

phablet-dev-bootstrap -v [device codenames] [target_directory]

Can you guys point me how do I need to proceed with creating ubuntu image for I9100 also do have some good pointers for creating native apps for ubuntu phone...?
[Galaxy S II Android Development] :
R: [ROM][GT-I9100][WIP] Ubuntu Touch Developer Preview

Can I dualboot cm 10.1 and ubuntu touch?
[Galaxy S II Android Development] manulemaboul:
Theorically yes, but you'll have to build a custom kernel with dual boot and the Ubuntu configs enabled, and pray for it to work.

Envoyé depuis mon GT-I9100 avec Tapatalk
[Galaxy S II Android Development] :
R: [ROM][GT-I9100][WIP] Ubuntu Touch Developer Preview

Mmh OK. But teorically i can restore a backup every time that i want to change rom
[Galaxy S II Android Development] manulemaboul:
Yep, that's the only way to do it at the moment.

Envoyé depuis mon GT-I9100 avec Tapatalk
[Galaxy S II Android Development] MaxWallstedt:
After you've installed the required tools mentioned in that link (and perhaps openjdk-6-jdk), then follow the instructions in the first post of this thread.
[Galaxy S II Android Development] w1naenator:
wow video codecs and sound works too )))
[Galaxy S II Android Development] IconRunner:
Wait, video and sound work? How did you test this?

I guess next up is getting 3g up and running. I assume phone calls and texts work?
[Galaxy S II Android Development] manulemaboul:
They don't.

Envoyé depuis mon GT-I9100 avec Tapatalk
[Galaxy S II Android Development] Bubble-be:
Wiki has been edited.

Let me know if any other things need to change. @Max or Ori: can you spearhead the wiki in the future ?
[Galaxy S II Android Development] w1naenator:
Just disable mute in sound settings (in status-bar), switch off phone by pressing power button 10 seconds. switch on it again and sound should work at full volume. I can watch built-in videos and heart camera shutter sounds.
[Galaxy S II Android Development] MaxWallstedt:
New build up now! No noticeable update, just some upstream syncing.
[Galaxy S II Android Development] bbfox59:
From what I've seen in the porting guide, the correct way to configure audio is by using UCM to configure the profiles,

I try to fix the sound on GT-N7000 and I think we have similar hardware for the sound, if my tests goes right, I'll tell you how to do it ;)

Edit:

I wrote some UCM Files that could work for your device, if someone can flash the fixit.zip and give me a feedback

(check the indicator and if you can play audio, only speakers and handphone are configured)
[Galaxy S II Android Development] wulsic:
Bbfox59 thanks for helping us a bit the indicator was but i couldnt get sound from speakers. I think that it will take some time to make everything work and maybe configure back buttton and home button so you dont need to slide always since i have next week vacation for 2 weeks i wil look a bit with sensorservice to add auto and the other problems.
[Galaxy S II Android Development] 10xavix10:
I like a lot Ubuntu but I think i will wait to put it on my phone. It have to mature yet.
[Galaxy S II Android Development] dhevans79:
Could someone point me in the right direction please??

I followed the porting guide and installed the build environment. When I ran brunch i9100, it built the cm component, but I don't find a Ubuntu image to flash too.

Is it that you guys are only working on the cm image, or are you modifying the Ubuntu touch image too.

Does anyone have any good links on to a basic tutorial for working on an easy section, so that I can walk through it to get my bearings? Or is there another thread that I should be looking at, etc?

I'm a senior developer in business systems, but I've never worked in this area before so I'm a bit lost as to where to start looking.

Thanks for any help in getting started

Sent from my Xperia Z using the xda developers app
[Galaxy S II Android Development] jpeg725:
The ubuntu touch image is supposed to be the same for all devices.
[Galaxy S II Android Development] thecosmicfrog:
Great work being done here. My biggest problem is the keyboard randomly closing while in the middle of typing. It only seems to happen in some places, particularly in the Accounts screen. Facebook login appears to be an impossibility, as typing the period ('.') key closes out the entire login process.
[Galaxy S II Android Development] bbfox59:
I had the same problem it's apparently a focus problem (the "." Key is placed on top of the "Cancel" button of the apps so when you touch the "." Key you touch the cancel button too but this problem can only be solved by Canonical, don't forget that's a pre-alpha release for now ;) )

For the sound problem, after some investigation it seems that the problem is not only with ucm files but our SoC need to have a patched version of tinyalsa and I fear that pulseaudio need to be modified too and I'm not skilled enough to do that so I need to stop investigating on this problem, sorry
[Galaxy S II Android Development] haralampije2:
Slowly but surely Canonical is working on ofono bug. https://launchpad.net/python-dbusmock/trunk/0.10
[Galaxy S II Android Development] thecosmicfrog:
Cheers bbfox. At least my S2 works as a basic device to test apps on.
[Galaxy S II Android Development] haralampije2:
This seems interesting. Another thing to focus on :D https://wiki.ubuntu.com/Touch/DualBootInstallation
[Galaxy S II Android Development] jpeg725:
It wouldn't work quite so easily on the gs2 because they replace the phones recovery with the ubuntu kernel. On the gs2 the recovery is bundled with the kernel and the recovery partition is unused. You would have to use uboot like I demonstrated several pages back. This also means that while on other devices you loose the ability to boot into recovery, we would still retain it.

The ability to update ubuntu from within android is an interesting addition.
[Galaxy S II Android Development] haralampije2:
I Agree but somewhere in the middle of the page says something like this

Getting phone calls to work in Ubuntu and Android 4.4

The radio image shipped with Android 4.4 is reused on the Ubuntu side to make phone calls or use WiFi or sound, and it is not yet supported in Ubuntu. Until Ubuntu gains support for the Android 4.4 radio, there is an easy workaround whereby an older radio firmware can be flashed in the modem partition. You can do this either before or after installing dual boot

Follow these steps to downgrade the radio firmware and get Ubuntu calls to work:

Download an Android 4.3 firmware for your device onto your PC. Follow the links on this table >

Open a terminal with Ctrl+Alt+T

Extract the firmware tarball and cd to its directory.

Run the following command to reboot into the bootloader

adb reboot bootloader

Once in the bootloader, run this command to reflash the radio. Replace $RADIO_FIRMWARE by the name of the file containing the radio firmware for your device (it's easily recognizable, as it starts with radio-$DEVICECODENAME):

fastboot flash radio $RADIO_FIRMWARE.img

After flashing, reboot and phone calls should work in Ubuntu:

fastboot reboot

;)
[Galaxy S II Android Development] jpeg725:
The latest radio firmware we have for the galaxy s2 comes from 4.1.2 stock roms. So I don't think that is at all relevant unfortunately.
[Galaxy S II Android Development] haralampije2:
Yes but we can inspect changes they have done. Also can we do this with our ububuntu image (install different radio) that is the question.:confused:
[Galaxy S II Android Development] jpeg725:
The radio is a binary blob installed in its own partition, so yes, you can install any radio with ubuntu, and no, comparing them isn't really feasible. After changing the radio, you might have to reflash ubuntu (or android - whichever is installed in the system partition) afterwards to clean up, because most radio zips contain other blobs used by the rom to talk to the radio. CyanogedMod uses their own open-source code (ril) instead, which ought to make the job easier for ubuntu, but I'm not an expert.
[Galaxy S II Android Development] thecosmicfrog:
Has anyone else had issues with the screen brightness with Ubuntu Touch? Specifically not being able to override the auto-brightness. If I set a brightness level manually, it works, but resets to a lower level a few seconds later. I'm assuming this is the auto-brightness kicking in.

I've also had the same issue with the stable cdimage-touch on the 2012 Nexus 7, but it'd be interesting to know what exactly causes it.
[Galaxy S II Android Development] Astinos:
Hello all!

I got a Galaxy S4 the other day, so I decided I wanted to finally try this out on my i9100, but it seems that the download for the first file is missing. Is there somewhere else I should be looking? Or was it just taken down for a while?

Thanks!
[Galaxy S II Android Development] thecosmicfrog:
Hi Astinos,

What file are you saying is missing? All the download links in the original post are working for me.
[Galaxy S II Android Development] Astinos:
Sorry, probably my fault. One says (depreciated), and doesn't work, but the Google Drive mirror next to it does.
[Galaxy S II Android Development] thecosmicfrog:
Yes, you shouldn't use the one with "deprecated" next to it. All you need is the unofficial CM build and the trusty armhf daily build.
[Galaxy S II Android Development] Astinos:
The CM build is only 32mb. Is that correct?
[Galaxy S II Android Development] thecosmicfrog:
Yep, it's a barebones build used for hardware compatibility. The meat is in the trusty build.
[Galaxy S II Android Development] stephsch23:
Will try it ???
[Galaxy S II Android Development] thecosmicfrog:
What kind of work needs to be done to get Mir working with the i9100?
[Galaxy S II Android Development] haralampije2:
Seriously dude? Didn't you think Ril? Mir is display server, and it is curently in development like ubuntu touch. Development of MIR is in Canonical hands, we are trying to get sim to work on our phone (priority no1).
[Galaxy S II Android Development] tmdegler:
Can someone show me how to fix the black screen after reboot? I'm not real good with terminal commands.
[Galaxy S II Android Development] thecosmicfrog:
Sure thing. Boot up your device, then plug in a USB cable. Open a terminal and run "adb devices". Make sure that a device shows up. If not, unplug and plug in again. I find that it never works the first time for me.

Next, run "adb shell". This will connect you to your phone and open a shell session on it. Open the /etc/rc.local file in a text editor using the following command:

"nano /etc/rc.local"

Scroll down to the bottom using your keyboard's arrow keys and on the line before "exit 0", insert the following:

./system/bin/sensorservice &

Save and exit the file using Ctrl+X then reboot your phone by running the command "reboot".

This should fix the black screen problems.
[Galaxy S II Android Development] tmdegler:
Thanks for the help.
[Galaxy S II Android Development] domini99:
Development is dead, isn't it?

I don't think this Ubuntu Touch is going to be something anyways, but i would like to try it and try to develop some apps, but i won't get any further without calling/messaging :(
[Galaxy S II Android Development] ph87:
Everybody is waiting for the Ubuntu team. They have to do some development and some patches before it will be able to solve these issues! These issues are not only for our device, you will find it for nearly all other!!! They are working on that...

We have to be patient...

Gesendet von meinem GT-I9100
[Galaxy S II Android Development] domini99:
i know this topic is quite outdated, but in a few posts above i saw i needed to use adb, but my device won't connect in any way.

it appears to be booted up because the touch keys light up when i tap the screen, but i can't get adb to find my device

---------- Post added at 08:14 PM ---------- Previous post was at 07:46 PM ----------

That sounds logic, okay :)
[Galaxy S II Android Development] domini99:
Any update? I just can't get the black screen fixed with the posts i found in this topic
[Galaxy S II Android Development] maxflay:
wow

Wow it looks like a nice project. I will give a try this week end.

Thanks !
[Galaxy S II Android Development] domini99:
older saucy version appears to work perfectly

Sent from my sending thing..

I hate you so much im going to kill you to death!
[Galaxy S II Android Development] FuLgOrE2:
Any updates?

I would like to try that image, if phone/sms is working. I asked in #ubuntu-touch (irc) but they ask me to ask this question here.

Thanks for your answer.
[Galaxy S II Android Development] ph87:
If there has been some progress, it would have already been posted here...!

So, ... sadly no! :(

Gesendet von meinem GT-I9100
[Galaxy S II Android Development] drehar:
Ubuntu Touch Installed.... but I get Cyanogenmod

Hi there, first post and time messing with my android OS

I got to the point where I installed Ubuntu Touch, allegedly successfully. However, when I restart I load into Cyanogenmod anyway

Am I missing something obvious?

Thanks
[Galaxy S II Android Development] dagingerninja:
I presume you did make sure that you selected the Ubuntu image when you flashed and didn't re-select the Cyanogen image by mistake?

Assuming both images were still on your sd card that may be a possibility?

Otherwise maybe try flashing ubuntu again and see what happens
[Galaxy S II Android Development] blueiii:
i keep getting the black screen at boot

Here are the things I did to install ubuntu touch:

1. factory reset

2. cleared cache

3. cleared dalvik cache

4. formatted data

5. formatted system

6. formatted cache

7. flashed cm-10.1-20131129-UNOFFICIAL-i9100.zip

8. flashed trusty-preinstalled-touch-armhf.zip

9. reboot

After doing all those things, I just get the black screen. I can access the device through adb and can see through ps that sensorservice is running.

Can anyone help me with this 'coz I'm not sure right now what I missed?
[Galaxy S II Android Development] drehar:
That does sound like something I would do. But I definitely flashed it with the trusty-.... Zip mentioned in the original post. I have tried doing it again, it failed to install a couple times, then was successful again but loaded into cyanogen (formatting between each time, and tried to do a restore to pre Ubuntu install)
[Galaxy S II Android Development] domini99:
i could never connect with adb, and could not fix the black screen, altough the saucy version appears to work fine.

Sent from my sending thing..

I hate you so much im going to kill you to death!
[Galaxy S II Android Development] westjgames:
I'd say OP has ditched this thread, he hasn't posted recently at all.
[Galaxy S II Android Development] jpeg725:
This thread is currently about as active as it has ever been (except maybe the very early days before I started following it).
[Galaxy S II Android Development] drehar:
Dead links

I have had some troubles with the trusty.....zip file from the OP, does anyone have a link to the two from the Ubuntu site? The ones on this page are dead (sorry I can't post links yet!)

saucy-preinstalled-armel-i9100.zip

saucy-preinstalled-phablet-armhf.zip
[Galaxy S II Android Development] dagingerninja:
Not sure about the ones from the Ubuntu site but you should be able to use the google drive mirrors. They work and to the best of my knowledge they are the most recent builds anyway. (Stand to be corrected)

---------- Post added at 08:08 AM ---------- Previous post was at 08:01 AM ----------

That is a little odd. I have never had any issues like that however I have been lending my GS2 to my girlfriend (obviously with android on) so I haven't been playing with this for a while. I will try re-flash Ubuntu again this weekend and let you know if I run into any issues like that.

You could also try building yourself. It's not that complicated as good old Max has listed the steps really nicely in an easy to follow method. I do not think this will help but it does increase your geek XP by 35% :good:
[Galaxy S II Android Development] neutronxxx:
blackscreen

just blackscreen after reboot

ubuntu logo in recovery mode

connected to ab shell in pc

after add ./system/bin/sensorservice & to rc.local and reboot no effect

can someone help me?

sorry for my bad english
[Galaxy S II Android Development] ankscorek:
I followed the same steps.

On reboot the phone gets stuck at the samsung galaxy sII logo

In recovery mode there is ubuntu logo.

any help please

---------- Post added at 03:02 AM ---------- Previous post was at 03:01 AM ----------

first one is available on goo manager.

the remaining you can get it from here http://androidlegend.com/install-ubuntu-touch-on-your-samsung-galaxy-s2/
[Galaxy S II Android Development] domini99:
i think, that if dalvik android app layer is supported, heck. Development would be hell of alot faster.

Sent from my sending thing..

I hate you so much im going to kill you to death!
[Galaxy S II Android Development] mrdeeds88:
Still android after installation

Hi everyone,

I have do like the instructions but after installed, i reboot the phone, but still android :(. How can i get ubuntu touch interface.

Thanks for everyone!
[Galaxy S II Android Development] alexstrand7:
Have someone tried out the new Ubuntu touch images?

cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/pending/trusty-preinstalled-touch-armhf.zip

What works and what does not work?
[Galaxy S II Android Development] Mobb_Deep73:
Keep getting a black screen :( after reboot

First of all, GREAT stuff going on here! =).

I just started experimenting with my s2. But let chase to the point, I keep getting a black screen after the reboot.

I know that the rc.local file is working (see attachment). I added a touch command and it works. But somehow I don´t get the sensorservice running.

Am I doing something wrong?

Thanks in advance!
[Galaxy S II Android Development] amirfida:
guys this rom is good enough for daily use ? or still needs some fixing ?
[Galaxy S II Android Development] bbfox59:
Still needs many fixing atm and probably not for daily use during the next few months
[Galaxy S II Android Development] amirfida:
oh! okay i see well is there any development going on in this ?
[Galaxy S II Android Development] jpeg725:
It depends on what use you need from it. I've got no complaints at all, but I don't listen to music nor play heavy games. For me it's a phone, alarm, notepad, ebook reader, calendar, audio recorder, document scanner and so on.
[Galaxy S II Android Development] amirfida:
oh! okay so let me give it a go :D
[Galaxy S II Android Development] Mobb_Deep73:
Nobody :confused:
[Galaxy S II Android Development] Bend3ris:
Are call and sms working or still bugged? :cowboy:

Sorry for question, but I do not have time to search for an answer.
[Galaxy S II Android Development] amirfida:
i guess this will answer your question ;)
[Galaxy S II Android Development] Toutatibal:
Congratulation for the accomplished work :)

I do not manage to solve the black screen at boot

I modify the the /etc/rc.local file but I can't save it

Someone would have an idea ?
[Galaxy S II Android Development] Mobb_Deep73:
How do you edit the rc.local file? Can you post a screenshot of what your are trying?

I am also stuck at the black screen, but can edit the rc.local file.

When you use Ubuntu, connect your phone (phone on @ the black screen) with usb, then:

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot

Then:

adb shell
(you are now on your phone)
vi /etc/rc.local
put ''./system/bin/sensorservice &'' (without quotes) before the exit 0 line
type "wq" <enter>
type "reboot" <enter>
[Galaxy S II Android Development] Toutatibal:
Thank you for your help

I tried first with NANO, but it refused to save the file /etc/rc.local (ENTER touch seems to not work, maybe permission was refused)

Now I was able to modify and save it with VI, I always have the black screen at boot, but the touches does not get clearer any more :(

Is it the same for you ?
[Galaxy S II Android Development] Mobb_Deep73:
I see the startup logo, after that (when the sensorservice needs to start I guess) the screen goes black. But it's running ofoucrse, otherwise I coudnt connect with adb .. Same problem.
[Galaxy S II Android Development] Lithium3D:
What goes wrong??

Hi all,

I am trying to install touch on my device, I've done what the first post says but my phone gets stuck at the first samsung startup screen with a yellow sign.

Af ter this install i used the Installation from http:**wiki*ubuntu*com/Touch/Devices/i9100 including the use of point 3 and 4, on this site its not said that you install the armell.

can anybody guess what goes wrong??

Gr

Li3D
[Galaxy S II Android Development] Lithium3D:
How did you save it with vi?? i get the read-only message
[Galaxy S II Android Development] Toutatibal:
Hello, for me the instructions given by Mobb_Deep73 worked well :

adb shell

(you are now on your phone)

vi /etc/rc.local

put ''./system/bin/sensorservice &'' (without quotes) before the exit 0 line

type ":" (switch to command line) then "wq" <enter> (write rc.local file, and quit VI)

type "reboot" <enter>

rc.local file is modified, but blackscreen on reboot,

I hope it should be fix for you

Regards
[Galaxy S II Android Development] Loghonox:
Sms and call keeps not working?
[Galaxy S II Android Development] lovegurulavdev:
Is the thread alive

what happened to it some one working on it or its dead ???

or waiting for what ???

why the call and sms are not working ??

and what make them to work ??

lots of question
[Galaxy S II Android Development] Biodegradable:
can't get to work even after changing the rc.local... any help is appreciated :D
[Galaxy S II Android Development] Toutatibal:
Hello,

First of all, I'm not developer,

and I have lend my s2 now

But I tried the latest daily of Trusty last week, I got stuck on the black screen, even after modified the rc.local file too

when I opened the sensorservice file in a text editor, it did not seem to be valid, maybe the problem is about this file

Could some one throw a glance look and give an opinion more relevant than mine?

hoping to get things done
[Galaxy S II Android Development] Omar97:
Please Help !!

Hey everybody,

i want know how to install the new release of ubuntu touch !!

i flashed CM10.1 The Final Stable release from CyanogenMod then rebooted ,

Then i Wiped data / Factory reset , Then flashed "saucy-preinstalled-touch-armel-i9100.zip" ,

Then flashed "trusty-preinstalled-touch-armhf.zip"

Then Rebooted after the galaxy s2 screen it comes a black screen then nothing !!

I"ve downloaded all files :

1-saucy-preinstalled-touch-armel-i9100.zip

2-cm-10.1-20131129-UNOFFICIAL-i9100.zip [ I don't know what to do with that :D ]

3-trusty-preinstalled-touch-armhf.zip