Ask / Submit
95

Sailfish X startup: "Your device has been unlocked and cant be trusted"

asked 2017-10-12 08:49:56 +0300

mhe gravatar image

updated 2017-10-12 10:28:15 +0300

jiit gravatar image

On startup Sony Xperia X will show the above warning about device being unlocked. Is there any way to hide this announcement or is it possible to remove it in the future sw upgrades?

edit retag flag offensive close delete

Comments

22

Agree on this. It's really annoying.

Giacomo Di Giacomo ( 2017-10-12 10:08:17 +0300 )edit
2

I think I read that this logo is in Bios and therefore cannot be changed by the system.

peperjohnny ( 2017-10-12 12:19:14 +0300 )edit
2

Did anyone try to lock again the bootloader see if this nag disappear? I therefore thiink pepperjohnny is right :/

peyo22 ( 2017-10-12 12:42:19 +0300 )edit

If you re-lock the bootloader without a Sony stock firmware, your phone won't boot. So no, you can't AFAIK hide the "your device has been unlocked" boot warning

donaggio ( 2017-10-12 14:43:18 +0300 )edit
14

I think there shoule be a way to modify warning image from bootloader. Agreed this image is annoying.

And funnily it says "your phone can't be trusted. With Android removed my phone can finally be trusted. It's the other way.

Waxberry ( 2017-10-12 16:45:30 +0300 )edit

4 Answers

Sort by » oldest newest most voted
28

answered 2017-10-12 20:16:24 +0300

https://forum.xda-developers.com/xperia-x/help/bootloader-unlocked-warning-t3533470 Says its just an image inside the ramdisk located in: \ramdisk\res\images\warning

But i failed to access and replace it with a nice sailfish logo.

edit flag offensive delete publish link more

Comments

5

Thanks for the answer!

So it might be replaceable if it is just an image. Sailfish logo would be very nice instead of that warning.

mhe ( 2017-10-12 20:30:45 +0300 )edit
24

Suggestion for new splash screen:

"Your device is running Sailfish OS so it can be trusted"

;-)

MartinK ( 2017-10-13 03:25:33 +0300 )edit

excuse me, but how to access to \ramdisk\res\images\warning?

paolomi ( 2017-10-21 13:14:07 +0300 )edit
2

Some more info on the ramdisk.img here https://android.stackexchange.com/questions/66825/what-is-the-purpose-of-a-ramdisk-in-android

i think it would be necessary to reflash the firmware to alter this. I'm sure it could be done by Jolla in their SailfishX image but they may not be allowed to.

zepher ( 2017-11-10 01:13:38 +0300 )edit
1

I took a look at some of the mmc partitions to see if it was there, but had no luck.

mmcblk0p22 is an android boot image containing the kernel + initrd AKA ramdisk, but the warning image was not in that ramdisk. There are several other kernel images in other partitions that I didn't look closely at (check the partitions that file identifies as ELF binaries) - it is possible that one of them may contain an embedded initrd (relatively unusual setup, but certainly possible and you can use readelf to pull it out IIRC), so probably worth another look.

mmcblk0p14 is an image (file identifies as TIM format, which was used by the PlayStation, which makes sense given this is Sony, but imagemagik cannot convert it (probably updated file format since the PS) and after examining it in a hex editor I very much doubt that it is what we are after).

I ran photorec over every partition looking for other image files with no luck (but it might be in a compressed image or a format that photorec does not understand), and checked the contents of a handful of other partitions to see what they were. This doesn't mean that it isn't there - with 52(!!) partitions I could have easily missed something and I didn't check them all, but it doesn't seem likely.

DarkStarSword ( 2017-11-10 12:23:33 +0300 )edit
17

answered 2017-10-12 17:39:42 +0300

ghling gravatar image

I agree that this is a bit annoying. Even though it is not a crucial bug / feature, I hope Jolla can figure something out with Sony. Ideally a way to re-lock the bootloader (aka "SFOS as legit image") or at least a way to hide / replace that boot screen (which by the way also delays the boot process by 5 seconds).

edit flag offensive delete publish link more

Comments

9

yes, it's annoying and the boot is delayed by 5 seconds, but it is faster than android! LOL

paolomi ( 2017-10-12 18:26:56 +0300 )edit
9

I hope Jolla can figure something out with Sony

Yup, I second that, it would be great if Sony accepted to sign the Sailfish X kernel with their official key.

Or do it the way that it got solved for UEFI's SecureBoot on Windows PC : Microsoft signed a shim with their official keys that passes the secureboot, and that shim in turn loads the linux boot loader (e.g.: Grub) or linux kernel.

DrYak ( 2017-10-12 19:44:31 +0300 )edit
2

agreed, Sony said it officialy support Jolla. It shall provide ways to remove this msg. can something be done to push them in that way ?

clementb ( 2017-10-17 10:02:37 +0300 )edit

I like the idea of having an integrity checked base image - preferrably including the Android support subsystem, so that it counts as safe/locked again. Might help with some security sensitive apps, though admittedly it would make the OS less tinker friendly.

Kao ( 2017-11-10 01:34:59 +0300 )edit

Somewhere it was indicated that Jolla has received help from Sony regarding this project. I find it real hard to believe that Sony would have helped Jolla if this warning screen wasn't dealt with...

lumen ( 2017-11-10 11:55:57 +0300 )edit
14

answered 2017-12-27 19:01:44 +0300

JMLatJolla gravatar image

updated 2017-12-27 19:02:45 +0300

Well,

  • I'm officially buying a piece of hardware from Sony,
  • I officially buy a piece of software from Jolla, which has been officially adapted for this piece of hardware,
  • SailfishOS Sony Xperia X is an official project, officially supported by Sony...

and after all that, a paying customer gets a message like this one?!

For sure, it's not really a show-stopper at all, but it's a bit unpleasant and let's say not very customer- and/or open source-friendly. Would be great and very interesting to get a OFFICIAL (-> Jolla) statement about this...

Tx.

edit flag offensive delete publish link more

Comments

2

This is a comment, not an answer.

bocephus ( 2017-12-28 01:56:20 +0300 )edit

@bocephus: You'r right, didn't interpret the meaning of 'Your Answer' the right way, my bad. My intention was to promote this question to the top...

JMLatJolla ( 2017-12-28 14:56:31 +0300 )edit

You can convert answers to comments and vice versa. FYI ;)

rozgwi ( 2018-03-04 20:27:15 +0300 )edit
12

answered 2017-11-10 00:55:45 +0300

Jk gravatar image

It would be awesome if they remove this stupid message that waste 5 seconds, because then Xperia x boot incredible quick!

Then we can say benefits of sailfish are also incredible boot up comparing another operating systems.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
30 followers

Stats

Asked: 2017-10-12 08:49:56 +0300

Seen: 3,483 times

Last updated: Dec 27 '17