maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Can't Enable Developer Mode (https://talk.maemo.org/showthread.php?t=87490)

jamoiholland 2012-10-20 22:19

Can't Enable Developer Mode
 
I can't enable development mode as it seems to fail to turn on. Installation from non-store sources is enabled, and the device has full wifi connectivity. Reboot doesn't help either. Any ideas?

Video showing what happens: http://www.flickr.com/photos/5499135...in/photostream

Thanks!
Jamie

rainisto 2012-10-20 22:27

Re: Can't Enable Developer Mode
 
non-store sources can be disabled, it has nothing to do with developer mode.

Either you have wrong date in the device, which causes installation error.

Or your you have tried to update the PR release and kernel and basesystem are out of sync, in which case you have to google to see how to make your kernel and PR release to match eachother.

Worst case if you cannot follow google instructions is that you need to reflash the device.

jamoiholland 2012-10-21 07:32

Re: Can't Enable Developer Mode
 
Ah ok, I was under the impression turning on developer mode installed terminal and SDK apps, and hence non-store sources needed to be on.

The time and date are fine.

I've found with uname -a that my kernel is 2.6.32.54-dfl61-20121301, which seems correct for base system PR1.3 of MeeGo 1.2 Harmattan? (PR13 40.2012.21-3_PR_001)

When you say re-flash, do you mean factory default the device, or something lower level?

minimos 2012-10-21 08:43

Re: Can't Enable Developer Mode
 
Hmm... maybe it would be good to install a file manager like FileBox and fetch the syslog (/var/log/syslog) and/or the package manager logs (which I never remember where they are) and see what's the trouble

rainisto 2012-10-21 10:25

Re: Can't Enable Developer Mode
 
then my next question is how can you run uname -a if you don't have developermode/terminal in your device. Sounds like that you might have added some non standard apt repositories in the device, like harmattan-dev or rzr (which are NOT nokia signed), which will conflict the default repo packages and will block installation of developer mode.

If you still have root console access, you could just reinstall the nokia signing keys, if keys are out of sync.

jamoiholland 2012-10-21 20:59

Re: Can't Enable Developer Mode
 
Quote:

Originally Posted by rainisto (Post 1283329)
then my next question is how can you run uname -a if you don't have developermode/terminal in your device. Sounds like that you might have added some non standard apt repositories in the device, like harmattan-dev or rzr (which are NOT nokia signed), which will conflict the default repo packages and will block installation of developer mode.

If you still have root console access, you could just reinstall the nokia signing keys, if keys are out of sync.

You can seemingly run uname -a from a terminal app I downloaded called mg-Terminal.

The only repositories I have added are to MeeCatalog, is that what you are talking about? I guess MeeCatalog is separate to the "main" repositories? Even then, I only went ahead and ticked the ones that were already present in MeeCatalog's settings menu, not added any manually.

I don't believe I have root access as running devel-su outputs "not found".

jamoiholland 2012-10-21 21:01

Re: Can't Enable Developer Mode
 
Quote:

Originally Posted by minimos (Post 1283295)
Hmm... maybe it would be good to install a file manager like FileBox and fetch the syslog (/var/log/syslog) and/or the package manager logs (which I never remember where they are) and see what's the trouble

I can't seem to see /var/log/ in FileBox, at the top of the file system I only see lost+found and user...

minimos 2012-10-21 22:12

Re: Can't Enable Developer Mode
 
Quote:

Originally Posted by jamoiholland (Post 1283572)
I can't seem to see /var/log/ in FileBox, at the top of the file system I only see lost+found and user...

Go to Filebox settings and enable 'show root filesystem'

thedead1440 2012-10-22 04:18

Re: Can't Enable Developer Mode
 
Quote:

Originally Posted by jamoiholland (Post 1283571)
You can seemingly run uname -a from a terminal app I downloaded called mg-Terminal.

The only repositories I have added are to MeeCatalog, is that what you are talking about? I guess MeeCatalog is separate to the "main" repositories? Even then, I only went ahead and ticked the ones that were already present in MeeCatalog's settings menu, not added any manually.

I don't believe I have root access as running devel-su outputs "not found".

That is it...You have added repos from MeeCatalog which include the Harmattan SDK repo...My suggestion would be is to remove those repos using MeeCatalog and then trying enabling developer mode...

Next time, since you know you require developer mode, its best after a reflash first to enable developer mode then do other things ;)


P.S. MeeCatalog adds the repos into /etc/apt/sources.list.d/ too so its not separated...

jamoiholland 2012-10-22 08:05

Re: Can't Enable Developer Mode
 
Quote:

Originally Posted by thedead1440 (Post 1283653)
That is it...You have added repos from MeeCatalog which include the Harmattan SDK repo...My suggestion would be is to remove those repos using MeeCatalog and then trying enabling developer mode...

Next time, since you know you require developer mode, its best after a reflash first to enable developer mode then do other things ;)

P.S. MeeCatalog adds the repos into /etc/apt/sources.list.d/ too so its not separated...

I removed all the MeeCatalog repos, rebooted, and no different. Then I uninstalled MeeCatalog, rebooted, and no difference. I still have the red exclamation mark in the white rounded square next to the Developer Mode button, is this denoting some issue with this?

When you say reflash, do you mean just "Settings -> Reset -> Clear Device" or actually flashing a file over USB for example like one does with Android?

If I do go down that route, is there a way to backup apps/settings to restore afterwards?

Thanks!

thedead1440 2012-10-22 08:15

Re: Can't Enable Developer Mode
 
since you have terminal can you do:
devel-su
rootme
apt-get install developer-mode

Post the log here...

jamoiholland 2012-10-22 09:03

Re: Can't Enable Developer Mode
 
Quote:

Originally Posted by thedead1440 (Post 1283725)
since you have terminal can you do:
devel-su
rootme
apt-get install developer-mode

Post the log here...

I only have something called "mg-Terminal". Here's the output...

(images removed)

thedead1440 2012-10-22 09:07

Re: Can't Enable Developer Mode
 
its devel-su not devel-sh

the password by default is rootme...

jamoiholland 2012-10-22 11:48

Re: Can't Enable Developer Mode
 
Sorry, my bad! devel-su is the same though...

(images removed)

minimos 2012-10-22 13:49

Re: Can't Enable Developer Mode
 
devel-su likely doesn't exist on that device, as it is part of 'busybox-devel-su' package, which is installed with developer mode:

...
Package: developer-mode
Status: install ok installed
Priority: extra
Section: user/utilities
Installed-Size: 84
Maintainer: Nokia <I_EXT_HARMATTAN_DEVELOPERS@nokia.com>
Architecture: armel
Version: 1.48+0m6
Depends: duicontrolpanel-devmodeapplet (>= 1.14), develsh (>= 1.17), develsh (<< 1.18), sdk-connectivity-tool, meego-terminal, openssh-client, openssh-server, gdbserver, aegis-developer-unknown-source-policy (>= 1.26), aegis-dev-mode, busybox-devel-su, less, simple-syslog-daemon | sysklogd | system-log-daemon
Description: Developer Mode
...

Can you try to fetch the logs with file manager?

jamoiholland 2012-10-22 15:03

Re: Can't Enable Developer Mode
 
Quote:

Originally Posted by minimos (Post 1283929)
devel-su likely doesn't exist on that device, as it is part of 'busybox-devel-su' package, which is installed with developer mode:

...
Package: developer-mode
Status: install ok installed
Priority: extra
Section: user/utilities
Installed-Size: 84
Maintainer: Nokia <I_EXT_HARMATTAN_DEVELOPERS@nokia.com>
Architecture: armel
Version: 1.48+0m6
Depends: duicontrolpanel-devmodeapplet (>= 1.14), develsh (>= 1.17), develsh (<< 1.18), sdk-connectivity-tool, meego-terminal, openssh-client, openssh-server, gdbserver, aegis-developer-unknown-source-policy (>= 1.26), aegis-dev-mode, busybox-devel-su, less, simple-syslog-daemon | sysklogd | system-log-daemon
Description: Developer Mode
...

Can you try to fetch the logs with file manager?

Will try get logs...

minimos 2012-10-22 19:48

Re: Can't Enable Developer Mode
 
Quote:

Originally Posted by jamoiholland (Post 1283963)

Hmm... package manager doesn't seem to log almost anything there, unfortunately.

Maybe you can then try from that mg-terminal to run a
Code:

apt-get -s install developer-mode
(-s is to simulate only installation, and it seems to work even without being root)

jamoiholland 2012-10-22 22:03

Re: Can't Enable Developer Mode
 
Well that seems to complete fine, no errors. Finds dependencies, lists packages to be installed, 12 new, then a bunch of Inst and a bunch of Conf. Can't find a way of copy/pasting mg-terminal output so here's some more screenies:

(images removed)

delmar 2012-11-13 08:35

Re: Can't Enable Developer Mode
 
Hi, I have exactly the same problem, as was shown in the movie.

The defective screen has been replaced by Nokia and yet they have flashed my device.

After that I installed the backup from Nokia Suite and also the whole apps again and then I wanted to re-activate the developer mode. Now happened exactly the same as shown in the movie. My problem is that I have absolutely no terminal, so I also can not enter the commands, which are here proposed.

Please tell me if there is a way to re-activate the developer-mode, without having to do a complete flash, because I really don’t want to do all the work again.


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

vBulletin® Version 3.8.8