yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] IconRunner:
Download the first two files in OP, the other two are md5 cheksums (used to check if the other 2 had a bad download, you shouldn't need these). Make sure you're running a CM based rom first. (Safest to download the latest Cyanogenmod rom and flash that first. If you don't then Ubuntu may bootloop.) Then follow the flashing instructions in OP. To reboot to CWMR, hold down the Power button and both Vol keys until you see the CWMR screen.

[MENTION=5161277]MaxWallstedt[/MENTION]

I think we should put the "First install the latest Cyanogenmod Rom" step to the beginning of the "Flashing Instructions". I have had nothing but trouble without doing this first. If users are coming from a Sammy or AOKP based Rom Ubuntu seems to bootloop. Flashing CM, booting it once, then proceding to install Ubuntu appears to fix this. Not exactly sure why.:confused:. Has anyone else had success coming straight to Ubuntu from a Sammy or MIUI base? I'd like to make sure it isn't just a wonky device on my end.
[Galaxy S II Android Development] zoie:
Ok thanks.. I will download cm and flash it because im on alliance rom.
[Galaxy S II Android Development] zoie:
Hey guys! flash the 2 files a while ago and it doesnt boot, after samsung logo no bootanimation only blackscreen. maybe a bad download?
[Galaxy S II Android Development] IconRunner:
Did you flash Cyanogenmod first? I get blackscreens if I go straight from PACman to Ubuntu, flashing CM in between fixes it.
[Galaxy S II Android Development] zoie:
yes i flash latest cm first then i follow the instruction in op. i even flash it thru ubuntu recovery and same result. im going to download it again.
[Galaxy S II Android Development] IconRunner:
Here's what I do to flash mine coming from Pacman.

Nandroid

Full wipe

Install Cyanogenmod

Boot and Reboot

Full Wipe

Install Ubuntu

Boot

Make sure you're downloading the files over your PC instead of the phone, sometimes that causes problems. It may be a good idea to use the md5's to check the zip integrity (google how to do this).
[Galaxy S II Android Development] zoie:
I follow you're instruction but still the same black screen. Now back on alliance rom. I'll try it again on next build. Thanks anyway!
[Galaxy S II Android Development] MikeCriggs:
It's universal :).
[Galaxy S II Android Development] drorcun:
+1
[Galaxy S II Android Development] Bothunter:
now when i mount the usb on the phone i try to put a USB GSM Mobile Broadband 3G dongle and try it to use with "sakis3g" :)

but i found this when reboot the phone and they turn on i list the hardware and found a vendor "Infineon Technologies" i think this is a GSM module

the test and compilations continue .....
[Galaxy S II Android Development] MikeCriggs:
On some ports, I believe you need to be running a mostly AOSP 4.2.2 kernel before flashing. I'm pretty sure you could just flash the CM kernel first and then flash UTouch.

OP can try and include the CM stock kernel in the root of the flashable ZIP and stick something like this near the beginning of updater-script:

ui_print("Installing CM nightly kernel...");
run_program("/sbin/mount", "/system");
package_extract_file("cm_boot.img", "/path/of/original/bootimg/boot.img");
unmount("/system");

If anyone wants, I can modify the update ZIP to include this.

Edit: typo
[Galaxy S II Android Development] mariostjr:
Same problem here
[Galaxy S II Android Development] IconRunner:
It seems like a lot of users are having this problem. Apparently something in the new raring version.

[MENTION=3376095]MikeyCriggz[/MENTION], could you try adding the CM kernel? Maybe that'll fix it. I don't have a i9100 device or I'd give it a go. i777 doesn't seem to have this problem.
[Galaxy S II Android Development] MikeCriggs:
No problem, just send me a PM with a link to this thread so I don't forget.
[Galaxy S II Android Development] papadzaky:
same here. I've tried flashing CM 10.1 bulid 20130323 first then the two files in the OP, but still black screen
[Galaxy S II Android Development] imax27:
So, I follow your instructions, but screen after bootloader still black :(

Here my zip: https://docs.google.com/file/d/0B5mgTjml74m0Z19jZmlKaVRGQzQ/edit

Maybe I do something wrong? Can you create zip with working screen?
[Galaxy S II Android Development] MikeCriggs:
I'll take a look at it a bit later. It's my day off :).
[Galaxy S II Android Development] imax27:
Thank you for your help :) Hope that UTouch will be working)
[Galaxy S II Android Development] ph87:
You've got to change this path:

"/path/of/original/bootimg/boot.img");

But I've I haven't got time now which one is the correct!

The problem is that the boot.img will be extracted to the wrong path and so the changes won't have a effect!

Gesendet von meinem GT-I9100
[Galaxy S II Android Development] imax27:
So, who knows what the right directory of boot.img?

I look at the updater-script and see that standart boot.img extracts in /dev/block/mmcblk0p5

аssert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p5"),
delete("/tmp/boot.img"));

So, I should copy my new boot.img in /dev/block/mmcblk0p5?
[Galaxy S II Android Development] ph87:
Just try this: take the boot.img from cm-kernel into Root of your .zip. The name must be "boot.img"

The script you have posted will extract the raw files from the .img and copy them to the right place...

So try to remove the code from mikey because it's allready included and replace the boot.img with the one from cm-Kernel!

I don't know whether it works, just have a try!

Gesendet von meinem GT-I9100
[Galaxy S II Android Development] imax27:
So, I remove the code and take the boot.img from cm-kernel into Root of zip. But after bootloader I see black screen... I think that the directory of boot.img must be another than in original .zip. But we don't know that directory...:(

I try boot.img from 20130501 CyanogenMod. Maybe I should use more newest wersion?

My zip is here https://docs.google.com/file/d/0B5mgTjml74m0eVBHaU1fQUQzd1U/edit?usp=sharing
[Galaxy S II Android Development] nrohan:
not working on indian S2 i9100

Tried the ROM specified in OP on my Indian Galaxy S2 i9100.

Unfortunately, it did not boot.

I get blank/black screen.

Is it known issue?

Shall I wait for more stable build?

Let me know if you need any logs/info.

Thanks

Rohan
[Galaxy S II Android Development] imax27:
So, now Itry kernel from tooday's CyanogenMod build (20130505) , but it still black screen after bootloader... I think that we should know the correct directory of extracting boot.img...

---------- Post added at 04:58 PM ---------- Previous post was at 04:46 PM ----------

But we can use quantal(12.10) version of ubuntu touch before this problem will be fixed :)

Link for quantal: http://cdimage.ubuntu.com/ubuntu-touch-preview/quantal/monthly-04.1/quantal-preinstalled-phablet-armhf.zip

Sorry for non clicable link. I don't have 10 posts for post links:(
[Galaxy S II Android Development] Wayland_ACE:
Blackscreen is fixed :) fix:

https://github.com/Ubuntu-i9100/android_device_samsung_i9100/pull/1
[Galaxy S II Android Development] EverByte:
Downloaded again, but still black screen for me. I did everything as you wrote. What can be the problem? I have got CM10 kernel. Any ideas? Please help :)
[Galaxy S II Android Development] Wayland_ACE:
Fresh compilation is needed
[Galaxy S II Android Development] MikeCriggs:
The stock CM kernel needed to be appended by the modified one for UTouch rather than a fresh kernel being injected without remnants of the previously existing CM kernel. For some reason, that is why people had to flash CM first.

But as previously stated, the blank screen issue has been fixed and a fresh build needs to be compiled.

I do not own an I9100, so I have no reason to build it from source. Just trying to lend a hand where I can.

Not even once:

rm -rf /
[Galaxy S II Android Development] MaxWallstedt:
Thanks a lot! I'll compile it this afternoon (GMT) and hopefully it will boot!
[Galaxy S II Android Development] EverByte:
Is it now compiled? :)
[Galaxy S II Android Development] imax27:
Fixed zip is here!

Here the fixed zip:

http://www.4shared.com/zip/8Xkzwiaq/cm-101-20130505-UNOFFICIAL-i91.html
[Galaxy S II Android Development] EverByte:
Is it the black screen fix?
[Galaxy S II Android Development] imax27:
Yes, you can install and test it. It really works :)
[Galaxy S II Android Development] MaxWallstedt:
I added the new build to the OP now, and I can confirm that the black screen issue is fixed!
[Galaxy S II Android Development] EverByte:
That's just simply great. Of course, it's just a preview, but for the development, I would report some great stuffs, and bugs/deficiencies (maybe you know about some of these)

Pros:

- Boot time is just simply GREAT!!! Unbelievable.

- Wonderful UI.

- Fast

- Hey, man! It's ubuntu :laugh:

Cons:

- No lockscreen :crying:

- No calling, messaging (I know, it'll be solved :good: )

- No power menu, just simply shut down. It isn't good in my pocket

- Doesn't wake up from sleep, when I press the "Home" button

That's all! I hope I could help. You helped me a lot, and I'm totally satisfied. KEEP UP THE GREAT WORK!!! :highfive:
[Galaxy S II Android Development] nrohan:
Installs and boots but no operation

I installed the latest build. It boots and works well. Initially I had problem using the UI. Touching homescreen doesn't happen anything, you have to slide from left or right edges.

Looks good!

Thanks

Rohan
[Galaxy S II Android Development] ksquared_au:
damn that looks sexy!!!!:p
[Galaxy S II Android Development] imax27:
Dual boot

Anybody knows how to make dual boot with Ubuntu touch and android? ( CyanogenMod 10.1)
[Galaxy S II Android Development] IconRunner:
Can't be done yet.
[Galaxy S II Android Development] lovermed:
There is no settings in Ubuntu yet am I wrong?
[Galaxy S II Android Development] IconRunner:
Nope, not yet.
[Galaxy S II Android Development] Wayland_ACE:
So, now working with libril (call/network/SMS etc)
[Galaxy S II Android Development] IconRunner:
Wait, what?? Calls working?
[Galaxy S II Android Development] Wayland_ACE:
no, no :)

I'm working for bring it working :)
[Galaxy S II Android Development] IconRunner:
You... You are awesome! :good: :highfive:

This is what we've all been waiting for. :)
[Galaxy S II Android Development] imax27:
I try to do dual boot by using dorimax kernel but I still watch black screen when I enter 2nd OS :(
[Galaxy S II Android Development] chrisinleedsuk:
If this is near fully working by September I'll be keeping my SII instead of upgrading, it looks awesome.
[Galaxy S II Android Development] ugurbor:
Wow, I hope you can make it work :)

Do you have any idea how? I was trying to make it work too but I had no clue about RILD Modem or whatever it is. How does it work? Is this some kind of a driver like wi-fi? Can we 'insmod' it?
[Galaxy S II Android Development] darobster911:
can't wait to try it out! when more mature

ROM: CM10.1 Nightlies

KERNEL: Dormianx 9.xx

MODEM: XXLPX

Anker 1900mah battery
[Galaxy S II Android Development] Wayland_ACE:
Problem with libril, ubuntu developers had removed only one check from opensource libril, but it does not work for us. Have some idea, will inform about success or fail... :)
[Galaxy S II Android Development] DirectXtreme:
Stuck on CyanogenMod boot screen

Hi, I have flashed the images to my i9100 and rebooted. I am now stuck at the CyanogenMod boot screen. I am able to get shell access with adb and have confirmed I am actually running ubuntu. Seems like startup has completed becuase there are quite a few processes running. I would like to know how to manually start the ubuntu interface. I have a feeling that there is a missing startup/init script somewhere.

Thanks, any help would be greatly appreciated.
[Galaxy S II Android Development] spunisk:
Wayland that good this support forum of s2. Thanks for being when I was in Ace Forum now you're in the Galaxy S2 Forum.

Happy with my Galaxy s2. :thumbup:

Enviado desde mi GT-I9100 usando Tapatalk 2
[Galaxy S II Android Development] IconRunner:
Possibly a bad file, try using yesterday's zip instead.
[Galaxy S II Android Development] ph87:
Just found in a other Thread!!!!

Gesendet von meinem GT-I9100
[Galaxy S II Android Development] elitevet:
No news? Keep us excited, guys :p

sent from CM powered SGS
[Galaxy S II Android Development] Sloogy 82:
I think everyone is waiting for the functional leak end of this month.

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Galaxy S II Android Development] Blescik:
Maybe the battery life is better than android :).
[Galaxy S II Android Development] ganeshrnet:
any updates?

guys any news? keep us updated....
[Galaxy S II Android Development] 100janov:
Waiting for any news.
[Galaxy S II Android Development] ParoxysmX:
damn this is cool. i can't wait till it can be used as a daily.
[Galaxy S II Android Development] MaxWallstedt:
I'm sorry, but nothing new has happened for quite a while. The phone modem is still not working.

Upstream, in CyanogenMod, some things are happening at the moment, like open-source libril

and new common kernel for Exynos 4 devices.

A new build will possibly be up in a couple of days or so when I get it to work.

Cheers!
[Galaxy S II Android Development] MaxWallstedt:
I've added new repos, and the roomservice.xml should now look like:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Ubuntu-i9100/android_device_samsung_i9100" path="device/samsung/i9100" remote="github" revision="phablet-10.1" />
<project name="Ubuntu-i9100/android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="github" revision="phablet-10.1" />
<project name="Ubuntu-i9100/android_kernel_samsung_smdk4412" path="kernel/samsung/smdk4412" remote="github" revision="phablet-10.1" />
<project name="Ubuntu-i9100/android_hardware_samsung" path="hardware/samsung" remote="github" revision="phablet-10.1" />
<project name="Ubuntu-i9100/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="phablet-10.1" />
</manifest>

But there's a problem: I can't get the kernel to compile. The error reads:

CC drivers/media/video/samsung/mali/platform/orion-m400/mali_platform.o
/home/max/ubuntu_touch_i9100/kernel/samsung/smdk4412/drivers/media/video/samsung/mali/platform/orion-m400/mali_platform.c:22:22: fatal error: mali_pmm.h: No such file or directory
compilation terminated.

I'm afraid I won't be able to look more into it for quite a while, as I have to return my laptop to school tomorrow morning.

It would be fantastic if someone could look into it and provide a build.

[MENTION=4326427]Wayland_ACE[/MENTION] pushed some changes to the open-source libril that could possibly fix the calls issue, but since I

haven't been able to compile the kernel, I haven't been able to test this.

Cheers everyone!
[Galaxy S II Android Development] rodero95:
It looks that the mali_pmm header file is missing, and that is what breaks the build.
[Galaxy S II Android Development] gokovan:
Looks like complete `pmm` directory is missing in github. com/Ubuntu-i9100/android_kernel_samsung_smdk4412/tree/phablet-10.1/drivers/media/video/samsung/mali/common.

Take a look at:

code.google. com/p/floid/source/browse/SPEAr1340/hardware/arm/driver/devicedrv/mali/common/pmm?r=4fe6bb40643af0d1109ad214cc66a63c294c2aa6

bitbucket. org/gokhanmoral/siyahkernel/src/ee33cd64c284/drivers/media/video/samsung/mali/common/pmm?at=default

Cheers!

P.S. Sorry for the links but I cannot post them.
[Galaxy S II Android Development] JorisDW:
+1

I would absolutly love to use this as my daily.

Any news on the docked desktop view? Does that work at all yet?

Thanks for the great work so far guys!
[Galaxy S II Android Development] bluefa1con:
That's not gonna happen on exynos devices

The mhl drivers are closed source and don't work with aosp based roms
[Galaxy S II Android Development] newgen1337:
Great job man!Keep going with this , don`t stop!It will be a great "ROM"!

I can`t wait for this!

MTFBWY!
[Galaxy S II Android Development] JorisDW:
prov Tludge

I read up on it and boy is this a disappointment. I really thought I was going to have a desktop in my pocket any day now :crying:

I better start saving up hu?
[Galaxy S II Android Development] MaxWallstedt:
So it seems. The problem probably arrives when one reverts the mali driver.

As I said in my previous post, I can't do any developing on this for quite a while (at least the entire summer).

What one could try is to experiment with combining files from different sources and hoping to achieve some success.
[Galaxy S II Android Development] imax27:
I think that the problem with compilation is there:

https://github.com/Ubuntu-i9100/and...sung/mali/platform/orion-m400/mali_platform.c

22| #include "mali_pmm.h"

but in Cyanogen Mod there is a differense:

https://github.com/CyanogenMod/andr...sung/mali/platform/orion-m400/mali_platform.c

22| #include "mali_pm.h"

So, I edit this file

https://github.com/imax27/android_k...mmit/2fee1a5705b10119974a79aefd0b4083641087d1

Hope that it helps :)
[Galaxy S II Android Development] Wayland_ACE:
Shell.qml updated, black screen issue should gone away :)
[Galaxy S II Android Development] vartsu:
hmm. Why i still get only black screen? If i install cwm i get black screen? If i install cm10.1 it works.

Anybody have any ideas? What i did wrong?
[Galaxy S II Android Development] jaykay0079:
Is phone part working???
[Galaxy S II Android Development] Gertlily:
Not yet
[Galaxy S II Android Development] lessio.a1:
Hello everyone I'm waiting anxiously for this rom functions, phone calls and sms to what extent are you??:what:

Send to Asus tf300t JB 4.2.1 rooted And Galaxy S2 Nfc JB 4.1.2
[Galaxy S II Android Development] ronnyraeder:
Black screen

Cant get this to boot, just black screen after "Samsung gs2" logo, the recovery works tho, whith the Ubuntu logo:p

anyone got some ideas?
[Galaxy S II Android Development] iocha17:
Until 20130529 phablet version

Hello world,

First, thanks for this post :)

That what I did until the 20130529 ubuntu-touch-preview daily-preinstalled version.

I have installed the file : raring-preinstalled-armel+i9100.zip.

Every day, I go on this page :

cdimage.ubuntu.com/ubuntu-touch-preview/daily-preinstalled/current/

to take the last version of raring-preinstalled-phablet-armhf.zip and install it from recovery mode, but since the 20130531, it doesn't work ?

I have a black screen... and nothing else !

An idea ? someone ? Thanks.
[Galaxy S II Android Development] vartsu:
So, it seem´s that i´m not the only one who get´s black screen.

There are some changes made 20130601 image, there shoud be working 3G.

Take a look there:

http://xdaforums.com/showpost.php?p=42076756&postcount=182

So maybe those changes made this problem?

Last night i try to build a new image, but that dont work...
[Galaxy S II Android Development] MaxWallstedt:
I finally set up a virtual ubuntu machine and got adb working!

I played around a bit and finally got the kernel to compile (although not with the same changes

as [MENTION=5249372]imax27[/MENTION] and [MENTION=4326427]Wayland_ACE[/MENTION] made to the repo, I'll try those later).

Calls and SMS still don't work for me, but I'll upload a new build later today, as the old one no

longer boots.

I looked a bit at the saucy builds (http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/pending/)

and didn't get it to boot at all. After the samsung boot up screen, it just shuts off again

(although the raring builds are currently working).

Cheers!
[Galaxy S II Android Development] DragondDev:
thanks alot keep up the work guys, waiting anxiously for call/sms !
[Galaxy S II Android Development] MaxWallstedt:
I updated the OP with the new build. As I've said: Calls/SMS are still not working,

saucy armhf is not working and I can't get Wi-Fi to work anymore. At least it boots.

I'll look in to it and upload a new build whenever progress is made!
[Galaxy S II Android Development] fazuvpk:
Wifi not working

network shows empty

and the keyboard is upside down...

sorry didnt see the last post

keyboard is fine after reflashing
[Galaxy S II Android Development] jaykay0079:
Hi,

I installed op files but I am just getting black screen.

Cheers.
[Galaxy S II Android Development] vartsu:
Last night i install that new version.

I can boot now :) Thanks!

But like there are told, wifi and calls/sms dont work.

Now i have to wait more :)
[Galaxy S II Android Development] simiot:
I am so looking forward to a full working version! I digg Ubuntu. I have it running my home server... I wish conical released a version for the SGS2... I hope a modded version will be as good :) I appreciate everyone's work.

:D
[Galaxy S II Android Development] liawim:
Guys,

According this video calls,sms and rotation works on the nexus. So why are we waiting for conical???

http://m.youtube.com/#/watch?v=Q566IGyVB0o&desktop_uri=/watch?v=Q566IGyVB0o
[Galaxy S II Android Development] IconRunner:
Nexus is an officially supported device without a pin-locked sim card. We are running entirely different hardware and just have a handful of devs that work on this during their spare time.
[Galaxy S II Android Development] MaxWallstedt:
Wi-Fi is now working again after this update:

https://github.com/Ubuntu-i9100/and...mmit/45f922990bf8d77496a150c3ab61280bc126d8b6

Expect a new build shortly!
[Galaxy S II Android Development] MaxWallstedt:
The new build is now up. I'm still using google drive, but I've been trying to migrate to goo.im.

There seems to be a problem at the moment with downloading, but I've uploaded the file(s) here:

http://goo.im/devs/MaxWallstedt/ubuntu-touch-i9100

Edit:

It is now working, seems like they don't like the '+' sign in file names.
[Galaxy S II Android Development] Maitre Yoda:
Pls it's a good ROM ? :angel:
[Galaxy S II Android Development] Shahan_mik3:
What??
[Galaxy S II Android Development] DragondDev:
its not fully functional yet Yoda
[Galaxy S II Android Development] imax27:
So, what about calls and SMS? Hope that you guys fix that :)
[Galaxy S II Android Development] IconRunner:
We can't fix Calls and SMS until Canonical adds the necessary functionality.

(Not mad at you, just want more people to see this.)

Currently the OS does not support pin locked sim cards (and some other stuff). The actual buttons aren't wired up to anything, they're just placeholders right now. OnButtonPress is an empty event, it doesn't trigger anything and we can't do anything about it.

So please, keep an eye on the horizon and if you see a non-officially supported device with working calls and sms, let us know so we can see if they rewrote it.

Cheers :cowboy:
[Galaxy S II Android Development] Shark13012:
What about disabling pin code ?
[Galaxy S II Android Development] MaxWallstedt:
These guys say that "Apparently calls work in some degree"

http://xdaforums.com/showthread.php?t=2174528

I'll look a bit in their repos and see what I can find!
[Galaxy S II Android Development] DragondDev:
MaxWallstedt you aswell as many are a hero for so many people who really want this to happen, thanks for keeping it alive!
[Galaxy S II Android Development] SeidMNE:
Is there a link to download a stable release of this rom?

Crna Gora
[Galaxy S II Android Development] :
Stable? :what:

For the love of god people please read the op and do some research before posting

If you did then you would've found the answer directly
[Galaxy S II Android Development] IconRunner:
Cool, but I suspect by that they mean "calls and sms work on nexus but not ours". I'd be amazed if they managed to write the phone dialer from scratch :)
[Galaxy S II Android Development] afellowservant:
So your trying to say no unofficial device has working SMS or calls?
[Galaxy S II Android Development] ph87:
It looks like this... I haven't found one, yet!

Gesendet von meinem GT-I9100
[Galaxy S II Android Development] IconRunner:
Yes. No unsupported devices has working call and sms. This is a collossal ****up on Canonical's part. It's been, what, 4 months and they haven't bothered to fix pin-locked cards yet? If this continues much longer it will kill the OS. They need our devs support and we can't do jack **** if we can't leave the OS on our phone during the day.