We have moved to a new Sailfish OS Forum. Please start new discussions there.
1

What does "SDK mode in use" mean [answered]

Tracked by Jolla

asked 2019-05-22 02:30:36 +0200

deloptes gravatar image

updated 2019-05-30 02:20:51 +0200

Hi, I bought used Xperia X. This phone is not licensed. I flashed with Sailfish_OS-Jolla-3.0.2.8-f5121-0.2.1.15, which I downloaded from my Jolla account.

I then upgraded to 3.0.3.9 and each time I boot into it, I get this "SDK mode in use".

I do not see this on the licensed X. Also package versions are one minor version newer then what I see on the licensed phone.

What is the meaning of this notification exactly? Is it possible that I have downloaded and flashed development version?

SUMMARY: As explained by spiiroin and in the discussion this is the same as "Development mode in use" when development mode is enabled and selected. This shows up if plugged to USB port since newer version of string translations.

30.05.2019: After upgrade to 3.0.3.10 message is again "Developer mode in use"

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by deloptes
close date 2019-05-24 01:02:49.984932

Comments

if you see this message after booting with no cable connected it means your usb port is damaged / water inside port / metal parts cause short circuit

coderus ( 2019-05-22 22:39:22 +0200 )edit

Thanks. This sounds interesting. I see it with or without usb cable connected. How do you come to this information.

The USB port was replaced as the old one was totally useless. I am not sure if the message was showing up before. It could be a damage somewhere on the route, but all seems to be working fine.

Can you please point to source and share thoughts on consequences?

deloptes ( 2019-05-22 23:42:35 +0200 )edit

@deloptes Ok, that "no cable" thing is interesting. Whatever that message gets translated to, the meaning of it is: The device has been connected to a pc with usb cable - and developer usb mode hash activated. If you get it without having something connected to usb-port, then it is something completely different from what I thought it would be ... does the usb port in that device work?

spiiroin ( 2019-05-23 13:47:12 +0200 )edit

@spiiroin I'll test later this evening. I need to put both yours and coderus comments together. Perhaps I need to review the replacement of the USB port. And yes ATM the USB port is working fine - charging and data - no issue.

Thank you especially for helping understand where it comes from. I now can go a step further. It also looks like the question is 95% answered.

deloptes ( 2019-05-23 16:00:36 +0200 )edit

I just double checked. It is showing only when USB cable is plugged. Thank you all.

deloptes ( 2019-05-24 01:02:04 +0200 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2019-05-22 07:18:09 +0200

spiiroin gravatar image

It is a known localization hiccup.

At some point in time developer mode used to be called sdk mode. Recently portions of usb mode handling logic were moved from one ui component to another -> different translation db is used -> stale/incorrect translation ended up in active use.

edit flag offensive delete publish link more

Comments

I do not understand why on the licensed device I do not see this, though they should be on same version.

Secondly I upgraded both (yesterday evening), but they are still not on the same version. Perhaps I should ask a new question for this.

deloptes ( 2019-05-22 09:35:50 +0200 )edit

@deloptes: If you really want to dig this particular thing deeper, the relevant code change should be around sfos 3.0.3 / lipstick-jolla-home-qt5 1.1.28 -> your 3.0.2 should've said "developer mode", while 3.0.3 probably says "sdk mode".

Additionally this particular localization string (#1) had/has(?) incorrect "engineering english" default translation, which - I've been told - has led to some languages having incorrect translations. So, also your choice of language might make a difference.

#1: For example: https://git.merproject.org/mer-core/lipstick/blob/00d1cec979cd7a319b811a81bf0369eaa7e14994/src/usbmodeselector.cpp#L155

spiiroin ( 2019-05-22 13:22:28 +0200 )edit

@spiiron thank you for the detailed answer

I am still confused because I upgraded both devices to 3.0.3 same time yesterday evening (pkcon refresh etc. - same procedure on both). The not licensed says "SDK mode in use" the licensed says nothing (not even "developer mode" as you suggest. Both have developer mode enabled. I'll check later exact versions of lipstick-jolla-home on both.

This is what bothers me most - why both are on 3.0.3 but packages are not the same? Is the licensed devices not getting same packages/repositories as not licensed? Why?

Please help understanding this - I want to have same for testing purposes (well of course without alien dalvik & co on non licensed)

Thank you in advance

deloptes ( 2019-05-22 17:13:25 +0200 )edit

Just for the sake of completeness - there is no difference in lipstick-jolla-home-qt5. Both are on the same level.

deloptes ( 2019-05-22 23:37:37 +0200 )edit

@deloptes One thing you could try is checking usb, lipstick and translation package versions, e.g. run this on both devices

rpm -qa | grep -e usb -e lipstick -e translations | sort

and check if there is differences in packages installed / versions.

spiiroin ( 2019-05-23 09:21:55 +0200 )edit

Question tools

Follow
2 followers

Stats

Asked: 2019-05-22 02:30:36 +0200

Seen: 322 times

Last updated: May 30 '19