yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] MaxWallstedt:
I can confirm that the physical buttons now are working with IconRunner's ubuntu2.zip!

The actual functionality of the buttons will have to be discussed later, but this is a big step forwards!

Perhaps this could be synced upstream, or one could make a script that will download the latest phablet zip and patch the necessary files.

As for GRID_UNIT_PX, decimal values works, and I think 11.3 is a pretty good value. I will need to do some more testing before pushing the update.

It would indeed be better if the GRID_UNIT_PX would be in the phablet zip instead. This new design by ogra-ubuntu indeed sound promising.

I won't be able to update in about a week. If anyone manages to make more progress (and if possible), please share a build with everyone, and also the repo changes so that it can be merged in the Ubuntu-i9100 repo.

Best wishes to everyone!

Max Wällstedt
[Galaxy S II Android Development] lovelover:
Ubuntu don't need below button?

After install they will be useless. .
[Galaxy S II Android Development] IconRunner:
Correct. They're not needed but nice to have. Better to have them working than dead :). Currently we have them set up but they don't do quite what they're supposed to.
[Galaxy S II Android Development] ugurbor:
Why not?

Well, fuss132 made a port for i9100G and he got call&sms working. And you guys look have done a lot, like making wifi work on i9100. So i was thinking...

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

http://xdaforums.com/showthread.php?t=2188621
[Galaxy S II Android Development] aryan1312:
Sad news

Sad news... Blue has left the development probably for some time... wish he will be back soon... :(:crying:
[Galaxy S II Android Development] Peyman92:
Can we still install android applications on it ??
[Galaxy S II Android Development] IconRunner:
This is an entirely separate OS, Android apps do not run on Ubuntu (yet).
[Galaxy S II Android Development] Peyman92:
Oh okay thanks, I have heard we can indtall exe applications after installing"wine" on ubuntu os is it possible ??
[Galaxy S II Android Development] minidou-77:
Wine is only available on the desktop Ubuntu ;)
[Galaxy S II Android Development] SunshineCat:
Ooh, very nice design, everything looks great! I have to try this sometime, even if I don't think I can live without all my android apps ;)
[Galaxy S II Android Development] ohynek:
Maybe all great applications from Android will be available on Ubuntu Touch one day. That would be great day :cyclops:
[Galaxy S II Android Development] IconRunner:
That is certainly possible. I can guarantee you that once this OS is up and running, someone will put together a "wine like" system so we get the best of both worlds.

Just waiting on Canonical here :fingers-crossed:
[Galaxy S II Android Development] liawim:
Is it for now an idea to search out how to dualboot with the s2. When the daily driver arrives i guess you can update UT without flashing it everytime.

I already tried with the dorimanx kernel but didnt succeed.(black screen)

Just a thought guys.....
[Galaxy S II Android Development] Dancsi:
Can we use the latest official CM10.1 nightly instead of the provided unofficial one?
[Galaxy S II Android Development] pauloavelar:
Yes, you can use any CM10.1 version, as far as I know. It should work with any CM10.1-based rom either.
[Galaxy S II Android Development] IconRunner:
What do you mean? Both the files are needed to run the rom. You can't substitute the first one with a CM full. I suppose if you did use a cyanogenmod nightly it may work, but that is just taking up extra space that isn't needed Can you explain what you're doing with it? Nothing much changes with the first file so using a couple days/weeks old version isn't an issue.
[Galaxy S II Android Development] cvexkeks:
Can you make a KDE Rom, it would look a lot nicer:silly::laugh:

Keep up a good work, Ubuntu fan for years:good:
[Galaxy S II Android Development] IconRunner:
Just a shout out that we're waiting on someone who knows either C++ or Qt to explain how to call functions (signals & slots) across different .qt files. Anyone who knows how to do this, if you could spare a few minutes of your time we can get these hardware keys working. It'd be much appreciated :).
[Galaxy S II Android Development] elopio:
It was really easy to install in my phone.

Thank you! :)
[Galaxy S II Android Development] Shark13012:
Did you look at this and this ?
[Galaxy S II Android Development] IconRunner:
I read through the first but don't know how to work with signals across files. I'm used to a different style of programming that uses functions, broadcasts and file-name child-parent heredity to work across files. I know next to nothing about C++ at this level. I just use it to run mathematical models, nothing like this.

I'll give it another go over the weekend.
[Galaxy S II Android Development] dmunera:
As many other have said, you just need one CM rom or a based one, in fact I tried flashing the quantal file over JellyBam, and it worked like a charm.

Please keep this wonderful work, I know you will got it working full in a short time, I hope...:good:
[Galaxy S II Android Development] emildk11:
Basic c++

i do not know qt :(, but i do know the basic of the call function in c++ :)

what is it that you need to call.

#edit

I will look into qt, to check out the difference between it and visual c++ :)

#edit edit

Dont hang me up on it, but i think that a simple #include <sample.file>.

if you need a function from within this file it should be simple to get :) atleast thats how it is easiest to call a function from another file in visual c++...

Still at the early stages of learning c++, but i do hope that you can use this for something :)
[Galaxy S II Android Development] IconRunner:
Thanks! The functionality is pretty simple - just mimicking line 26 in ToolBar.qml (I believe it is called from something called "Hud Client 0.1" in the import section.

actionTriggered(HudClient.QuitToolBarAction)

This line needs to be called from the Shell.qml file.

I'm positive this is something incredibly simple, I just have no experience working with C++ at this level. I'll attach the source code so people don't have to hunt it down.

EDIT: Just saw your edit-edit and will give that a shot when I get back in an hour or so. Tried it before but could have messed something up.
[Galaxy S II Android Development] emildk11:
i will check it out

Well as i said i have never worked with android roms before, so im not that happy with editing lines without know what they do :), but i will check this file out :)

Edit: this shell.qml should not be hard to include, i will just need to know where to include this file :)
[Galaxy S II Android Development] Casmo:
Does anyone know about any kernels with touch which can be used with Ubuntu Touch?

My volume keys aren't working, so it's quite annoying having to flash with Odin all the time, as this also gives me 'the triangle'.
[Galaxy S II Android Development] Gertlily:
You could try ClockworkMOD recovery (There is an touch version on the site). But CM will always override the recovery partition with their recovery.
[Galaxy S II Android Development] IconRunner:
Use "adb reboot recovery" if you have a computer nearby.
[Galaxy S II Android Development] Casmo:
That's what I have been using so far. :p But when I get into the Ubuntu Touch recovery, I can't do anything, because I need the volume keys to navigate. :p

I'm currently using DorimanX as kernel, it has touch support, but it doesn't work with Ubuntu Touch sadly.

Does CWM support Ubuntu Touch already?
[Galaxy S II Android Development] Gertlily:
CWM is just on the recovery partition. DorimanX is also on /system partition. And that doesn't work for Ubuntu Touch. But only the /recovery partition will work. So better to directly flash the touch recovery after flashing Ubuntu Touch to be sure.
[Galaxy S II Android Development] :
I'm not that much of an expert when it comes to QT and its singals and slots, but I assume that what you want is to call the function (slot) hiding behind the signal you mention. You see, the line actionTriggered(HudClient.QuitToolBarAction) is only the signal, you need to see what is the function receiving this signal and call that one. Calling a signal is not possible as far as I know. Hope I helped! I'm also trying to work on this, but I can't promise you anything, as I have a lot of stuff to do (real life is unfair)

EDIT: try this line:

hudClient.executeToolBarAction(HudClient.QuitToolBarAction)

That's what I got so far, don't hesitate to call me stupid in case it didn't work, or you already tried and it didn't work, all the caffeine I chugged is starting to take its effect:)

EDIT2: Ofcourse you need the "Hud Client 0.1" import you spoke of
[Galaxy S II Android Development] aryan1312:
Well i am not a expert but i can suggest u something... sideload CWM touch from adb... it will work as a temporary recovery... but after reboot u will get back to normal ubuntu recovery...
[Galaxy S II Android Development] emildk11:
we need someone that knows what file we will need to edit

hmm im a little afraid to play around in the system files, i think we need someone who knows these files well :)

i think i can do some of this c++, but i will need help with what files i need to implement the codes in.

What im afraid of is that i will need to program every touch key Individually, witch could turn out to be a pain -.-
[Galaxy S II Android Development] manulemaboul:
Too bad all I can do with my skills is beta testing :(.

Envoyé depuis mon GT-I9100 avec Tapatalk
[Galaxy S II Android Development] IconRunner:
Ok, let me run down how to edit Ubuntu Touch code.​

(Putting this in blue so it's easy to find.)​

No major code writing is involved, for anyone with basic programming experience this is a cakewalk. We won't be doing any repository syncing though, we can work on that later once we get stuff running.

First download this: This is the quantal-preinstalled zip that we flash after the Cyanogenmod base. Everything we will be editing is inside here.

If you have a decent zip manager (I'm using 7-zip) you can edit the files inside the zip.

Open the zip and navigate to here:

\quantal-preinstalled-phablet-armhf.zip\manhattan-quantal-armhf-tar-20130328-0.tar.gz\binary-tar.tar\binary\casper\filesystem.dir\usr\share\qml-phone-shell\

Inside this folder is the qml-phone-shell code. You can edit directly using a text editor OR you can use QT Creator to handle syntax and formatting for you (what I've been doing since I don't have a clue what QT syntax is). Nothing needs to be compiled, just make changes and save the file. Super easy :)!

To pull the qml-phone-shell source code from here (cause we want to have the latest stuff and the unity file for QT Creator), click on "View Package Details" and expand qml-phone-shell and download the .tar.gz file. This is the source code. (There is a way to use a repo-sync equivalent but I haven't figured it out yet). Extract this and open the unity file in QT Creator (free on the Ubuntu Software Center).

I've been writing in QT-Creator -> Copy Pasting the plaintext in the IDE into the source in the quantal zip, then flashing that to my phone for testing. This way I get all the good IDE features without having to compile all the other stuff we don't need. It's been rather tedious as I've had to revert to my Cyanogenmod backup before flashing (I'm not sure if just flashing the new quantal zip over an existing Touch installation works - might be worth trying) which takes some time but I've made good headway using this.

If you search my post history here I've gone into more detail on where these key events are handled (my last post that has a Shell.zip extracted is worth checking out), but I've been placing my code in the Keys.onReleased: section. This is where the Power Button is handled so it seems fitting. My latest shell.qml file has what I've done so far.
[Galaxy S II Android Development] emildk11:
lets look into it a little, but...

I will look into it today, but real life is tackling me from doing it right know -.-'.

Right now we should focus on getting call, sms and 3g working.

we need to know if ubuntu supports hardware keys, besides vollume and power key, else we will just be punching in the dark with this -.-...

im possitive that if we get some better communication like skype or teamspeak , we would be able to work faster :)
[Galaxy S II Android Development] MaxWallstedt:
I sadly don't think that will help us, as the i9100G uses very different hardware from i9100. I've been looking around for other SMDK4210 platform devices, but I haven't seen anyone succeeding in making the cellular radio work.
[Galaxy S II Android Development] Cudziak:
Hey, I have a question, if there is a Polish language on this system?
[Galaxy S II Android Development] ph87:
AW: [ROM][GT-I9100][WIP] Ubuntu Touch Developer Preview

It's a developer preview - so there is english only!

You've to wait for the official release (Q4/2013), I think the translations will start then!
[Galaxy S II Android Development] emildk11:
I do not believe i will be able to help you with looking in to it, as my school exams is coming up soon and i will need to prepare :(

but i found something intresting :)

the shell.cpp should be the main file :) i think its there that you need to include code in, again im not that good at c++ so dont hang me up on it :)
[Galaxy S II Android Development] anzi2:
Hi!

I tried to install ubuntu twice (yes, i wiped cache, flashed cm10.1 unofficial, then i flashed ubuntu cdimage) but again the rom does not start properly..It only runs CyanogenMod startup -logo, nothing else. Did i do something wrong or where the problem would be?
[Galaxy S II Android Development] liawim:
Just read the first post off this thread.....you need 2files to flash. In the first post youll find these file.

And the instruction how to flash them...good luck...;)
[Galaxy S II Android Development] anzi2:
Yep thats my problem; i flashed they both and then rebooted device as said. And it does not start properly..
[Galaxy S II Android Development] liawim:
You also need to wipe data/factory reset....
[Galaxy S II Android Development] anzi2:
Can it be possible that ubuntu does not work as second rom? I have resurrection remix 3.1.3 as a primary rom, and it includes DorimanX kernel, so i tried to install it as a second rom.
[Galaxy S II Android Development] liawim:
Yep that wont work....you cant dualboot yet. Just install cm10.1 with his custom kernel and then flash UT again......goodluck
[Galaxy S II Android Development] Sloogy 82:
AW: [ROM][GT-I9100][WIP] Ubuntu Touch Developer Preview

No it doesnt work as a second rom

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Galaxy S II Android Development] manulemaboul:
Don't flash it as a second rom or you'll have a bad time.

Sent from my rootboxed dorimanxed i9100.
[Galaxy S II Android Development] anzi2:
Aaah well damn.. nwm now i dont have to be confused anymore :D

Sorry if im dump..but i have to ask: will it work if i clone primary rom to second rom and then do wipe/factory reset and install ubuntu as a primary rom (rr 3.1.3 will left as a second rom)? Because i wouldn't want to lose all settings etc (i have backup of all applications).

Ps. sorry for bad language =I
[Galaxy S II Android Development] blackjaguar96:
Does it work on I9100-g too?!
[Galaxy S II Android Development] Gertlily:
No it does not.

Somewhere is a I9100G forum with Ubuntu Touch
[Galaxy S II Android Development] liawim:
Just make a nandroid backup in cwm. Then flash cm10.1 and then flash ubuntu. If you want to go back. Go to cwm and restore....voila your custom rom with all your data is back......remember....always make a nandroid backup before you flash anything
[Galaxy S II Android Development] anzi2:
Okay thanks very much again :) i'll try that

Edit. And yes, ubuntu works very well : )
[Galaxy S II Android Development] MaxWallstedt:
A new build will be up soon!

Changes I've made are:

GRID_UNIT_PX and QTWEBIT_DPR set to better values

Implement IconRunner's Shell.qml patch

Should I keep calling the device dependent zip-file "cm-10.1-********-UNOFFICIAL-i9100.zip"

or rename it to "quantal-preinstalled-armel+i9100.zip" to follow the custom for the officially supported devices?

The "cm-10.1..." name seem to confuse some people as it doesn't mention ubuntu. What's your opinion on this?
[Galaxy S II Android Development] -Grift-:
+1 to rename
[Galaxy S II Android Development] MaxWallstedt:
The new build is up, and renamed it is!
[Galaxy S II Android Development] Bufamotis:
Any hope of cracking the calls/sms problem yet?

Itching to test the rom, having only 1 phone kinda disqualifies its use though until it can at least do calls. Here's to hoping you or some other benevolent coder figures out how to get that chip/radio usable
[Galaxy S II Android Development] Gertlily:
Bug in Twitter & Facebook & Notes

Hi guys,

I've just tested the Ubuntu Touch on my phone.

I thought lets try twitter but it was only on the half of my screen. The same did happen with Facebook, Notes and I did not really try it with others.

Is it maybe that CM still gets data from build prop(s). Because I changed my DPI from 240 to 160 but not in system/build.prop but in data/loca.prop

So if that file is still used it will probably explain my issue.

Thanks,
[Galaxy S II Android Development] MaxWallstedt:
I just tested myself, and I also experience this problem.

After some further testing I found that it's because of the GRID_UNIT_PX value. I'm using 11.2 for the latest build, which was the least troublesome value for me.

Either small text becomes unreadable or graphical elements becomes too big.

With this value, some apps only use slightly more than half the screen. Perhaps this has something to do with the tablet "sidestage" (as seen here at 2:07),

as the remaining screen area is an active fullscreen app. This is obviously a bug, but it can probably only be fixed in the phablet zip from canonical

(or perhaps a patch somewhere could fix it).

Using the browser to use facebook and twitter will be in normal fullscreen.

Changing GRID_UNIT_PX to other values also fixes this, but causes other graphical bugs mentioned above.
[Galaxy S II Android Development] IconRunner:
I thought the tablet stuff used an entirely different zip file? Could be wrong about that though. Also the device type (Phone or Tablet) is defined in ubuntu-session, and both our case and the catch-all are set to "Phone". Perhaps this is a bug on Canonical's end?
[Galaxy S II Android Development] Bufamotis:
Feedback, since I was too curious to fiddle with the OS to wait for a cell-radio fix =D

I also got the twitter split screen. I had browser open then launched twitter, browser stayed to screen-left and twitter took up little over half the right side of the screen. Given the ratio of the two apps in relation to screen real-estate I guessed that it would have been properly split for a phone app left and a "tablet" app right, or alternatively, if the GUI could rotate to landscape. I thought it was a glitchy function of sidestage.

The ski safari app didn't respond to clicks and taps and swipes, the buttons on the side of the screen left and right looked as if they didn't properly fit into the screen either.

Is the lock screen app supposed to refresh or look active at all, or is the "14 tweets received" bit just a static image? the "clock" thing didn't seem to change.

I could briefly play Sintel though it was playing widescreen in portrait mode, I swiped to the left and pulled back the broken twitter-browser screen and thereafter couldn't get Sintel, media player or any other video playing. I didn't test music playback though.

The "running apps" section in Apps showed a blank black "screenshot" for each running app, though touching it didn't get the app to maximize again.

After install I seemed to have a whole bunch of "messages" from facebook contacts etc, I'm guessing those messages are just preview filler?

Clicking on apps "available for download" didn't yield any installation, not sure if it should have though and if the apps are again, just filler.

For interest and probably clarity sake, how much of the stuff I described is just plain standard non-functional filler stuff for preview purposes?
[Galaxy S II Android Development] IconRunner:
1) Interesting. I haven't personally seen this but I suspect it has something to do with the Tablet split-screen functionality. Since this is still in development I'm guessing it's just a bug, overflow into the Phone layout.

2) Ski Safari is just a placeholder right now.

3) Lock screen is static but I'll take a look at it tonight and see if I can get some stuff working. Should be simple if I'm remembering the code right. (Not the twitter stuff but battery etc..)

4) The multitasking is really strange right now. I'm not a huge fan of how Ubuntu has it set up. For now, use the menu button (if using the latest version in OP) to handle multitasking.

5) Yes, those are static images. I presume this is intentional as using animated thumbnails wastes a lot of resources. They should maximize when touched though.

6) Yea, those messages are dummies.

7) Also a placeholder. App store is still in development (though apt-get works just fine).
[Galaxy S II Android Development] darkkham:
The hope for calls/SMS, in this months is founded?
[Galaxy S II Android Development] Gertlily:
Just wait I'm sure they are working on it and do the best they can for it.
[Ouya General] abhi.androuser:
Its Offical Ouya will launch on 28 march>

Ouya CEO Julie Uhrman said last month that consoles will hit the shelves at Target, Best Buy, Gamestop and other major retailers with a price tag of $99.99.

a public announcement was done is following way

So get ready guys !!!!!!!! its coming
[Ouya General] N1XRR:
Just so nobody is confused, Ouya will be launch to the Kickstarter backers on March 28, it will be on the shelves online and at physical stores in June.
[Ouya General] rushless:
Seems the OP should change, since to about 99.99% of folks, "Launch date" is for consumers. That said, this IS a dev themed forum.
[Ouya General] MultipleOutput:
Kind of regretting not backing now :(
[Ouya General] Darknessborn:
Missed the wagon too on backing this project, would have happily donated.

At least those who get their units in June will hopefully have a more bug-free experience, having iron out a few things over those months.
[Ouya General] eso259:
28MARCH !!!!

woohoo,... thanks for the info
[Ouya General] bwild:
i didn't back them on kickstarter but i did preorder back in november off their website. have they said specifically that those who preordered are getting shipped right after the KSs, or do you guys think i actually am going to end up waiting till june?
[Ouya General] Mr Bigins:
I ordered my OUYA in early December. The print out receipt I received in my email said that I will get mine in April. But that was before OUYA moved up the release date to end of March. I think we will get ours at the same time as the other pre-orders. If not, I only expect up to a 1 week delay.
[Ouya General] Mysticales:
Man.. if that OP was right and stores got it same time we kickstarters got it.. I wouldve been pissed.. bad enough we paid the same price as normal preorders and he price ppl at a store would pay. Youd think we wouldve got something more from it or special. =/
[Ouya General] abhi.androuser:
no i think on 28 march its for kickstarter preorder only nd for normal pople it will be launched in june

here is the what Julie Uhrma said abut this thing

link
[Ouya General] Mysticales:
So if it ships on the 28th.. means we prob wont have it on the weekend to play with. =/
[Ouya General] enekow:
cool
[Ouya General] Mysticales:
Anyone know how we will get tracking info etc? Or order status?

Hell for that matter, we registered our usernames, but dont see on the site any mention of a login yet.
[Ouya General] abhi.androuser:
ya u will be able to login after 28 march and track your order after that only as shipping starts on 28 march.
[Ouya General] allopen:
Yesh~!

It's almost time to buy it~!

I guess for Kickstarter backers' first than they will sale to consumer.
[Ouya General] joelcont:
I was a kickstarter donator I haven't received an email with shipping yet.