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

[Bug] Unable to enable developer mode without an internet connection

asked 2016-07-29 20:52:58 +0300

kat6 gravatar image

updated 2016-07-29 21:07:48 +0300

In an earlier post, I mentioned how I was not able to enable developer mode. I finally figured out that the problem occurs when I am not connected to the internet.

So then I checked the following:

[nemo@Sailfish ~]$ pkcon get-transactions
Getting transactions                                                                                                 
Waiting in queue                                                                                                     
Transaction: /221_adeebaac
 System time: 2016-07-29T17:31:48.281479Z
 Succeeded: True
 Role: install-packages
 Duration: 7596 (seconds)
 Command line: /usr/bin/store-client
 User ID: 100000
 Username: nemo
 Real name: 
 Affected packages:
 - installing info-4.13a-1.1.4.armv7hl
 - installing jolla-developer-mode-profile-0.3.25-10.26.1.jolla.armv7hl
 - installing openssh-server-7.1p2+git1-1.9.1.armv7hl
 - installing qt-components-qt5-2.0.15-1.10.2.armv7hl
 - installing rescue-password-off-0.3-10.3.5.jolla.armv7hl
 - installing rsync-3.1.0+git1-10.1.3.jolla.armv7hl
 - installing screen-4.0.2-1.1.4.armv7hl
 - installing sdk-deploy-rpm-1.0-10.1.4.jolla.armv7hl
 - installing vim-minimal-7.3.629-1.1.3.armv7hl
 - installing diffutils-2.8.1-1.1.3.armv7hl
 - installing fingerterm-1.1.17-1.14.2.armv7hl
 - installing jolla-developer-mode-0.3.25-10.26.1.jolla.armv7hl
Transaction: /220_adcebbbb
 System time: 2016-07-29T17:31:24.851731Z
 Succeeded: True
 Role: install-packages
 Duration: 23373 (seconds)
 Command line: /usr/bin/store-client
 User ID: 100000
 Username: nemo
 Real name: 
 Affected packages:
 - downloading info-4.13a-1.1.4.armv7hl
 - downloading jolla-developer-mode-profile-0.3.25-10.26.1.jolla.armv7hl
 - downloading openssh-server-7.1p2+git1-1.9.1.armv7hl
 - downloading qt-components-qt5-2.0.15-1.10.2.armv7hl
 - downloading rescue-password-off-0.3-10.3.5.jolla.armv7hl
 - downloading rsync-3.1.0+git1-10.1.3.jolla.armv7hl
 - downloading screen-4.0.2-1.1.4.armv7hl
 - downloading sdk-deploy-rpm-1.0-10.1.4.jolla.armv7hl
 - downloading vim-minimal-7.3.629-1.1.3.armv7hl
 - downloading diffutils-2.8.1-1.1.3.armv7hl
 - downloading fingerterm-1.1.17-1.14.2.armv7hl
 - downloading jolla-developer-mode-0.3.25-10.26.1.jolla.armv7hl
Transaction: /212_babaecbc
 System time: 2016-07-29T14:40:56.086413Z
 Succeeded: True
 Role: remove-packages
 Duration: 5254 (seconds)
 Command line: /usr/bin/store-client
 User ID: 100000
 Username: nemo
 Real name: 
 Affected packages:
 - removing jolla-developer-mode-0.3.25-10.26.1.jolla.armv7hl
 - removing vim-minimal-7.3.629-1.1.3.armv7hl
 - removing sdk-deploy-rpm-1.0-10.1.4.jolla.armv7hl
 - removing screen-4.0.2-1.1.4.armv7hl
 - removing rsync-3.1.0+git1-10.1.3.jolla.armv7hl
 - removing rescue-password-off-0.3-10.3.5.jolla.armv7hl
 - removing openssh-server-7.1p2+git1-1.9.1.armv7hl
 - removing jolla-developer-mode-profile-0.3.25-10.26.1.jolla.armv7hl
 - removing fingerterm-1.1.17-1.14.2.armv7hl
 - removing diffutils-2.8.1-1.1.3.armv7hl
 - removing qt-components-qt5-2.0.15-1.10.2.armv7hl
 - removing info-4.13a-1.1.4.armv7hl

This piece exists for every time I entered dev-mode. (When I looked it up, it seems this should only happen once. Even for this, dev-mode should have instructions that say so.) But now these packages are being removed every time I exit dev-mode and downloaded and installed every time I enter dev-mode.

What should I do?

edit retag flag offensive close delete

Comments

I agree that it should be documented, but given what it actually does i think it is a fair limitation. Why do you need to disable developer mode?

attah ( 2016-07-29 21:29:35 +0300 )edit

@attah Oh, so you're saying I could leave it on all the time? I... hadn't thought of that. Is that okay to do? It just seemed like something you would disable after use and keep disabled unless required. So, is this not a bug? All this should be detailed in the dev-mode section.

kat6 ( 2016-07-29 21:32:49 +0300 )edit

Why not? i guess it could pose an ever so slight security risk, but with a good password it should be ok i would imagine. I had it activated on my J1 since Christmas 2013, no issues.

attah ( 2016-07-29 21:34:56 +0300 )edit

@attah Okay, then could you just write an answer saying that this is normal behaviour, so I can accept it as an answer?

kat6 ( 2016-07-29 21:38:38 +0300 )edit

@attah But there is this weird ticking sound from the phone when it is in developer-mode. Is this normal?

kat6 ( 2016-07-30 08:38:06 +0300 )edit

1 Answer

Sort by » oldest newest most voted
3

answered 2016-07-29 21:43:44 +0300

attah gravatar image

updated 2016-07-29 21:45:56 +0300

It is normal behaviour. It does in fact need to install a few packages (as per your log). I think it's reasonable to fetch them anew from the server each time, since they would have to be downloaded/cached at every device all the time and possibly not be up to date otherwise... These packages are some basic utilities needed in/by developer mode.

However, I agree it could do with some more documentation. :)

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

Question tools

Follow
2 followers

Stats

Asked: 2016-07-29 20:52:58 +0300

Seen: 356 times

Last updated: Jul 29 '16