maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Sailfish OS (officially) on Sony Xperia devices (https://talk.maemo.org/showthread.php?t=99017)

pacman 2017-09-29 09:34

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by nieldk (Post 1535436)
Many speculations on SE and the enforcement of Emma.

...

downloaded from Emma.

Using Emma is the Windows-only step that we are getting worked up about. If Jolla documents and supports a Linux-based alternative, then there is no problem, however James Noori says that Emma is required. This means Windows is required: early experiments with Wine are not encouraging. This is not speculation: read James' comments on the Jolla blog again if you think that it is.

What we don't know is the level at which Sony enforces the requirement for Emma. If they have simply asked Jolla not to support/document a pure Linux method, a community-supported Linux method will still work and things are still kind-of OK. OTOH they may have required Jolla to somehow add an extra level of signing and/or key verification to the official SFOS X image so that it won't be installable without Emma. That would be seen as an unethical move, and probably as an open invitation to crack the security and find a way around it (I don't have the expertise, but other people who hang out around here probably do).

We will have to wait until the official release to find out what the situation really is of course, but like I said I'm glad that I don't have James' job.

kinggo 2017-09-29 09:53

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by pexi (Post 1535447)
Android is Linux based.

technically, yes. But in reality, how exactly did linux (kernel) benefited from android being "linux"?
But my point was that they are so focused on the wrong thing IMO. I don't know if that's because of SONY or is just another of those silly ideas from Jolla but I don't see regular android user with windows machines discussing sailfish for X. Anywhere.
I know that I'll miss
Code:

sudo flasher-3.5 -F <firmware-image> -f -R
for a very looooong time because it can't be easier than that.

Pim 2017-09-29 10:26

Re: Sailfish OS (officially) on Sony Xperia devices
 
I suspect that Windows in a VirtualBox under Linux will work. The only tricky thing is to configure the USB connected device to be handled by the VM rather than the host. But I got that working once for a Windows 10 VM on my Ubuntu laptop, for a USB security token, so it can be done.

You do need a Windows license to run Windows of course ..

epninety 2017-09-29 10:47

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by Pim (Post 1535451)
You do need a Windows license to run Windows of course ..

More importantly you have to trust it and all the software running on in, including the sony tools. Isn't that the bigger issue here?

I really find it difficult to believe that many fulltime Linux users would find it hard to get 15 mins use of a Windows box of some description for a suitably important task. It's more the principle that they don't want to and should not have to.

I have legitimate licenced Windows VMs running for various tasks where there is no alternative (except getting a different job). But if Sony and/or Jolla make a Windows based tool mandatory, then just on principle I think I will either stick to whatever community port is available, or stick my X on ebay :confused:

tmi 2017-09-29 11:19

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by Pim (Post 1535451)
You do need a Windows license to run Windows of course ..

These images will expire in 90 days, straight from the horse's mouth.

Now, they are meant for web developing & testing so I cannot guarantee they can be used for flashing, but you never know.

Nekron 2017-09-29 12:40

Re: Sailfish OS (officially) on Sony Xperia devices
 
What is all this whining about Windows-only flashing?

If you look at https://github.com/mer-hybris/droid-...boot/flash.bat you would see that just recently (September, 26th a day before the blog announcement) a new commit for windows flashing hit the repository.

In that batch skript you would find in line https://github.com/mer-hybris/droid-...t/flash.bat#L7 a var set to Emma flashtool website.

A few lines later (https://github.com/mer-hybris/droid-.../flash.bat#L67) you will find that flash.bat will reference to Emma if your devices ASOP is < 34.3 which means you are running MM, but SFOS X requires initial Nougat (7.1.1) image. That recent image will be flashed by Emma and can be flashed by (inofficial) Linux-only tools, too.

The requirement is simply spoken to have a current Qualcom baseband and other device blobs in place to run SFOS X as a common base for all official images flashed to the device. Otherwise some might have MM (32.0.x) blobs installed leading to a faulty device with official image.

Additionally windows flashing will use fastboot.exe to flash boot, system and user partition compared to linux flash.sh which additionally flashes the cache partition with Android 6 properitary blobs which is not required by windows. This might be, because official Nougat has the right blobs by official flashing in place, but I am not sure about it.

Cheers,
Nek

juiceme 2017-09-29 12:42

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by caa (Post 1535390)
You should read the recent twitter thread about Nokia (HMD Global) not unlocking the Nokia 8 bootloader.

Well, what can I say, except that HMDG is not Nokia.

I was not aware that the bootloader is unlockable, bummer :)
I sure hope they will come to their senses one day!

lantern 2017-09-29 13:24

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by Nekron (Post 1535458)

And also they specify X Compact there! Seems like they'll make it official soon, too. Which is logical, since it's very similar to X HW-wise.

Pim 2017-09-29 13:52

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by epninety (Post 1535452)
I really find it difficult to believe that many fulltime Linux users would find it hard to get 15 mins use of a Windows box of some description for a suitably important task. It's more the principle that they don't want to and should not have to.

Yes, my point was that the VM option at least means you don't need to have a separate computer with a Windows host OS.

A dual boot configuration would also solve the issue of course.

mariusmssj 2017-09-29 13:54

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by lantern (Post 1535460)
And also they specify X Compact there! Seems like they'll make it official soon, too. Which is logical, since it's very similar to X HW-wise.

Ohhhhhh yeahhhhhh

Quote:

:: Ensure that we are flashing right device
:: F5121 - Xperia X
:: F5122 - Xperia X Dual SIM
:: F5321 - Xperia X Compact

r0kk3rz 2017-09-29 14:32

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by lantern (Post 1535460)
And also they specify X Compact there! Seems like they'll make it official soon, too. Which is logical, since it's very similar to X HW-wise.

Don't jump to conclusions.

Those devices have all been built for by the community in the same style as the Xperia X and so allowing them to be easily flashed is just a nice thing for them to do.

lantern 2017-09-29 15:27

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by r0kk3rz (Post 1535464)
Don't jump to conclusions.

Those devices have all been built for by the community in the same style as the Xperia X and so allowing them to be easily flashed is just a nice thing for them to do.

community does not need emma to flash built images

r0kk3rz 2017-09-29 15:35

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by lantern (Post 1535466)
community does not need emma to flash built images

huh? what are you talking about.

That flash.bat is for flashing on windows...

lantern 2017-09-29 16:35

Re: Sailfish OS (officially) on Sony Xperia devices
 
on a second thought, maybe you're right

mousse04 2017-09-29 16:37

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by r0kk3rz (Post 1535467)
huh? what are you talking about.

That flash.bat is for flashing on windows...

yes, but linux flashtool utility is still available ;)

pacman 2017-09-29 17:23

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by Nekron (Post 1535458)
What is all this whining about Windows-only flashing?

First of all, "whining" is a rather provocative term: it is a legitimate concern, triggered by comments made by the person who is in charge of Jolla communications.

Quote:

A few lines later (https://github.com/mer-hybris/droid-.../flash.bat#L67) you will find that flash.bat will reference to Emma if your devices ASOP is < 34.3 which means you are running MM, but SFOS X requires initial Nougat (7.1.1) image. That recent image will be flashed by Emma and can be flashed by (inofficial) Linux-only tools, too.

The requirement is simply spoken to have a current Qualcom baseband and other device blobs in place to run SFOS X as a common base for all official images flashed to the device. Otherwise some might have MM (32.0.x) blobs installed leading to a faulty device with official image.
OK - let's see if I have understood correctly what you mean. You are saying that the purpose of Emma in this process is only to ensure that there are no MM blobs on the target device? It seems to me that this doesn't apply to a device with a locked bootloader and an official Sony build, because in that case MM can be upgraded to Nougat OTA without using any tools at all. In that case, why not make the requirement that the device has a locked bootloader and an official Sony build, fully updated? An unlocked bootloader can be relocked, and anyone who has flashed a non-Sony build is quite capable of reflashing back to a Sony one before relocking.

I am not a real expert here, and I am happy to be corrected if I have got this all wrong, but I am having trouble reconciling what you wrote with the following statements from James Noori:

Quote:

I will however say that the Emma tool is now officially a requirement for everyone in order to flash their devices. Xperia X is supported by that tool, more on that later.
So for further clarification (and maybe to repeat myself), the current official requirement from Sony is that everyone should use Emma tool in order to flash their devices.
and:

Quote:

The instructions for the new requirement from Sony to Jolla are brand new.

mousse04 2017-09-29 17:40

Re: Sailfish OS (officially) on Sony Xperia devices
 
Guys,

is there a way to installl keyboard predictions?

I tried pkcon install jolla-xt9 jolla-xt9-cp bu cannot find the package

jakibaki 2017-09-29 18:43

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by mousse04 (Post 1535473)
Guys,

is there a way to installl keyboard predictions?

I tried pkcon install jolla-xt9 jolla-xt9-cp bu cannot find the package

The predictions are only availible in official builds.

mikecomputing 2017-09-29 19:09

Re: Sailfish OS (officially) on Sony Xperia devices
 
If I can't flash firmware using Linux it is over for me with ANY Sony device.

Its simple:

They can go **** themselfs.

**** those big corporations I should have learnt from history....

Jolla should have learnt too they should have supported FP2 ****ing *****s.

https://puri.sm/shop/librem-5/ with KDE plasma here we go...

mariusmssj 2017-09-29 19:38

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by mikecomputing (Post 1535483)
If I can't flash firmware using Linux it is over for me with ANY Sony device.

Its simple:

They can go **** themselfs.

**** those big corporations I should have learnt from history....

Jolla should have learnt too they should have supported FP2 ****ing *****s.

https://puri.sm/shop/librem-5/ with KDE plasma here we go...

I guess we will find out next week.

[EDIT]

Anyone seen this? Sony themselves made post:
https://developer.sonymobile.com/201...f-sailfish-os/

mikecomputing 2017-09-30 07:16

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by jakibaki (Post 1535486)
https://i.imgur.com/2H2Ie55.png

From the sailfishOS-Fanclub telegram-group (Both Andrew Branson and James Noori work for Jolla).

If I understand it correctly Jolla just isn't allowed to distribute the blobs but flashing will still be possible on linux/macOS, just not officially supported for weird legal reasons.

Thats not a good answer. Sony should support Linux or GTFO with their lies about open development!

llelectronics 2017-09-30 09:52

Re: Sailfish OS (officially) on Sony Xperia devices
 
I honestly don't understand this.

Did Jolla not talk with Sony at the beginning of the "cooperation" how to distribute the Image?
Usually you make a contract with the company and the conditions in that contract need to be fulfilled.
If Jolla did not do that they have to do some explaining or they deserve to be destroyed by the media.

If there is no contract at all then flashing the SailfishOS Image will invalid the warranty anyways so Jolla should just not care and release the the linux flash tool or tutorial on how to flash alongside the Windows flashing tool or way to flash.

jakibaki 2017-09-30 12:11

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by llelectronics (Post 1535514)
Jolla should just not care and release the the linux flash tool or tutorial on how to flash alongside the Windows flashing tool or way to flash.

Then they can't expect any help at all from Sony in the future.

I agree that they should've made it very clear (and legally binding) what Jolla is allowed/not allowed to distribute but burning that bridge now won't help anyone and would make Sailfish X very unlikely for the next generation of Sony-devices and most the effort to make Sailfish OS compatible with sony-open-device-aosp useless.

mariusmssj 2017-09-30 12:18

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by llelectronics (Post 1535514)
I honestly don't understand this.

Did Jolla not talk with Sony at the beginning of the "cooperation" how to distribute the Image?
Usually you make a contract with the company and the conditions in that contract need to be fulfilled.
If Jolla did not do that they have to do some explaining or they deserve to be destroyed by the media.

If there is no contract at all then flashing the SailfishOS Image will invalid the warranty anyways so Jolla should just not care and release the the linux flash tool or tutorial on how to flash alongside the Windows flashing tool or way to flash.

From what I gather they got help from Swedish team

Quote:

Sony Open Devices program has its focus on helping 3rd party developers especially on Xperia devices. It was previously known as FreeXperia project under Sony-Ericsson, currently this Sweden based team working as part of Sony Mobile.

llelectronics 2017-09-30 12:26

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Then they can't expect any help at all from Sony in the future.
Why?

If they have no contract signed that they are breaching with this. I don't see any problem.

jakibaki 2017-09-30 12:38

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by llelectronics (Post 1535524)
Why?

If they have no contract signed that they are breaching with this. I don't see any problem.

Because Sony wouldn't want business with them anymore if they don't fulfill the requirements they gave to Jolla, legally binding or not.

Also there probably is something that prevents Jolla from legally distributing these blobs, Sony has nothing to gain by forcing people to use Emma (afaik they even added support for the Xperia X just to make this possible so it's even more work for them).

llelectronics 2017-09-30 13:00

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Because Sony wouldn't want business with them anymore if they don't fulfill the requirements they gave to Jolla, legally binding or not.
Then this is for the better. If Sony is a bitch don't work together with them.
With the first Image using AOSP as a base they don't need Sony cooperation anyways anymore for porting to other Sony Open Device Program devices.

jakibaki 2017-09-30 13:15

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by llelectronics (Post 1535530)
Then this is for the better. If Sony is a bitch don't work together with them.
With the first Image using AOSP as a base they don't need Sony cooperation anyways anymore for porting to other Sony Open Device Program devices.

The requirement of Emma didn't come for no reason.

Jolla isn't allowed to distribute the blobs so Sony is putting them on a special partition in the update that we're supposed to install with Emma.

This wouldn't be possible if Sony didn't support Jolla in this so loosing Sonys support would make selling a version for a different Xperia even in this generation impossible for Jolla.

LouisDK 2017-09-30 19:01

Re: Sailfish OS (officially) on Sony Xperia devices
 
Just to clarity does binary blobs refer to Sony DRM drivers or open device program drivers?

jakibaki 2017-09-30 19:24

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by LouisDK (Post 1535555)
Just to clarity does binary blobs refer to Sony DRM drivers or open device program drivers?

The latter. The drm-stuff is gone once you unlock your bootloader and by restoring it (if you backed it up before unlocking) you re-lock the bootloader.

LouisDK 2017-09-30 20:25

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by jakibaki (Post 1535560)
The latter. The drm-stuff is gone once you unlock your bootloader and by restoring it (if you backed it up before unlocking) you re-lock the bootloader.

Ah okay. I thought that maybe the Emma flash tool could install images approved by Sony with DRM stuff intact, no warning boot message and no need to unlock bootloader but assumed wrong.

If Jolla need to obey Sony and use their tool in order to be allowed to release some software for the Xperia X the Open Device Program is not so open after all neither are the binary drivers.

jenix 2017-10-01 08:18

Re: Sailfish OS (officially) on Sony Xperia devices
 
Seems the F5122 model is pretty much gone from the market. All I find are some online shops offering them for horrendous prices (but don't actually have them in stock) or some rose-gold ones on ebay.
That's a pity as I'd prefer a dual-sim device and could just convince myself to order one with the big uncertainties (bluetooth and model support) solved.

Seems I'll have to order a F5121 after all....

jakibaki 2017-10-01 08:28

Re: Sailfish OS (officially) on Sony Xperia devices
 
I have deleted some of my previous posts because they could be read as if i was quoting some official statement from Jolla, but in reality the screenshots i have shared was a user talking about the process and it was no way an official statement from Jolla.

As i understand this is the deal:

Third party vendors (Jolla) are not allowed to distribute images with the blobs inside and the workaround that Jolla was going to use before wasn't easy enough for the average user.

The new official solution for that is moving the blobs to a special partition so third party vendors can distribute their images without bundling the blobs themselves.

This partition is not writable in fastboot mode (the mode that's going to be used to flash the Sailfish-X image) so Sony is going to release an update to the bootloader (especially for Jolla :) ) which allows makes this partition writable in fastboot mode.

This update can only officially be applied in sonys special flashmode with emma (sonys official flash-tool).

That's how afaik the official way will be and because Emma is an windows-only tool the official way will be windows only for now.

Everything below this is an unofficial way and unless Jolla decides to add this as an official way don't complain at Jolla if it doesn't work out!

That special partition is also writable in recovery mode.

So if you boot from an recovery image and flash the blobs from there you can bypass the requirement for Emma and flash the rest of the image the old way via fastboot which will enable people to unofficially flash everything using Linux/MacOS.

rogger888 2017-10-01 08:30

Re: Sailfish OS (officially) on Sony Xperia devices
 
Try here

https://www.from.ae

mikecomputing 2017-10-01 09:30

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by jakibaki (Post 1535526)
Because Sony wouldn't want business with them anymore if they don't fulfill the requirements they gave to Jolla, legally binding or not.

Also there probably is something that prevents Jolla from legally distributing these blobs, Sony has nothing to gain by forcing people to use Emma (afaik they even added support for the Xperia X just to make this possible so it's even more work for them).

They don't? Seriously, This perfect way to control what people run on their device.

So pissed that I bought a sony phone now. I should have keep't my FP2!

Not even Nokia with the N9 mess was that stupid as Sony is now.

This really is needed to succed NOW:

https://puri.sm/shop/librem-5/

So sick and tired of Android domination and locked in hell.

If jolla don't port sailfish to librem I don't care it is up to them but if they are smart they do.

For me Sony is over.

jakibaki 2017-10-01 09:45

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by mikecomputing (Post 1535594)
They don't? Seriously, This perfect way to control what people run on their device.

So pissed that I bought a sony phone now. I should have keep't my FP2!

Not even Nokia with the N9 mess was that stupid as Sony is now.

This really is needed to succed NOW:

https://puri.sm/shop/librem-5/

So sick and tired of Android domination and locked in hell.

If jolla don't port sailfish to librem I don't care it is up to them but if they are smart they do.

For me Sony is over.

Did you even read my new post? Sony isn't forcing Jolla to use emma... And if they wanted to control what people run on their phones they just wouldn't make their bootloaders unlockable and certainly wouldn't release aosp-sources for their devices...

kinggo 2017-10-01 10:48

Re: Sailfish OS (officially) on Sony Xperia devices
 
it seems that switching to tinfoil hats would be a better business for jolla ATM

Dave999 2017-10-01 10:51

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by kinggo (Post 1535599)
it seems that switching to tinfoil hats would be a better business for jolla ATM

Yeah, I would definitely need one of those.

lantern 2017-10-01 12:45

Re: Sailfish OS (officially) on Sony Xperia devices
 
where can I get this wallpaper?

https://cdn-blog.jolla.com/wp-conten...8/Blog_640.jpg

maximilian1st 2017-10-02 06:22

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by lantern (Post 1535606)

In the Sailfish X image I guess


All times are GMT. The time now is 09:07.

vBulletin® Version 3.8.8