maemo.org - Talk

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

peterleinchen 2015-06-21 15:21

Re: Developer Mode Alternative?
 
Something that ancelads repo package should already do!
At least as I understood his comments?

craciunovi 2015-06-22 06:43

Re: Developer Mode Alternative?
 
Quote:

Originally Posted by craciunovi (Post 1473850)
No. I did not try reflashing the phone.
Thanks for the tip and for the sequence described.
I will reflash the phone and than try the sequence described by you.
And, of course i post here the results.

Hello everybody.

Thank you for the tips and help.
Reflashing the phone, did the job.

ginggs 2015-07-15 09:46

Re: Developer Mode Alternative?
 
Quote:

Originally Posted by peterleinchen (Post 1468675)
Comment out all entries inside
aegis-ssu-keyring-001.list
and do a 'apt-get update'.

Seems like those older repos have higher priority...

Should we also comment out the entry in:
/etc/apt/sources.list.d/osa.list
?

peterleinchen 2015-07-15 21:43

Re: Developer Mode Alternative?
 
Quote:

Originally Posted by ginggs (Post 1476684)
Should we also comment out the entry in:
/etc/apt/sources.list.d/osa.list
?

No, did someone say so? ;)
Frankly, I do not know exactly what this is for. But I stilll have it unchanged and everything is fine.

coderus 2015-07-15 22:35

Re: Developer Mode Alternative?
 
osa is ovi store afaik, it's not functioning, so you can just remove it

ginggs 2015-07-15 22:52

Re: Developer Mode Alternative?
 
Quote:

Originally Posted by peterleinchen (Post 1476804)
No, did someone say so? ;)
Frankly, I do not know exactly what this is for. But I stilll have it unchanged and everything is fine.

Contents of /etc/apt/sources.list.d/osa.list:
Code:

deb-exec /usr/bin/osa
I don't know what deb-exec does, but osa has something to do with getting updates from the Ovi store.

Back when the store was around, this process was often the cause of "Checking for Updates" never completing, see:
http://talk.maemo.org/showthread.php?t=86084

peterleinchen 2015-07-16 05:45

Re: Developer Mode Alternative?
 
I thought so but was not sure.

I never had problems with updating. And even with closed store it works fine. Getting updates from openrepos, too. Do you have warehouse installed?
(My device is in open mode.)

But as coderus said go ahead and comment it out.

ginggs 2015-07-16 07:46

Re: Developer Mode Alternative?
 
Quote:

Originally Posted by peterleinchen (Post 1476821)
I never had problems with updating. And even with closed store it works fine. Getting updates from openrepos, too. Do you have warehouse installed?
(My device is in open mode.)

I have warehouse installed, but my device is not in open mode.

Just some further information:

'deb-exec' is not a command, but instead a (Nokia-specific?) extension to the repository types in apt (Debian only has 'deb' and 'deb-src').
Instead of fetching the list of packages from the repository, 'deb-exec' runs the command '/usr/bin/osa' which then presumably returns the list of packages.
Running 'strings' on '/usr/bin/osa' shows this command can make http connections to s60-store.ovi.com, api.store.ovi.com and p.d.ovi.com.
It also references a file called '/var/lib/ovi-adapter/known-products' which seems to contain information on the packages one has previously downloaded from the store (so you only get shown updates to packages already have?).

fiat1100d 2015-08-30 07:13

Re: Developer Mode Alternative?
 
Hi,

I am quite new to Nokia N9 and had difficulties in installing developer-mode, even with the N9RepoMirror tool installed.
Since I did not want to reflash the phone, I did "clean" it (bought it used) but some configuration file from, probably, older Harmattan version was left.

I had to modify and repack the N9RepoMirror .deb so that the postinst script also removed old repos from
aegis-ssu-keyring-232.list
file, other than the "standard" aegis-ssu-keyring-001.list
(had managed to install the terminal and noticed there was one more file in /etc/apt/sources.list.d).

After this, installed the "fixed" N9RepoMirror and was able to install developer-mode, WareHouse etc.

Just wanted to share my experience :)
Thank you for explaining what files are involved in repo checks!

peterleinchen 2015-08-30 11:27

Re: Developer Mode Alternative?
 
Now, after downloading ancelads package and checking the postinst script, I understand why some may still have problems.

Code:

#!/bin/sh

echo Remove all default offline repositories
: > /etc/apt/sources.list.d/aegis.ssu-keyring-001.list
echo Done

exit 0

Not all have the general 001 firmware/repository, but localized 232/480/whatever repo list.

So those do not get cleaned but still are in place and take precedence.

I guess following command line would be better:
gzip /etc/apt/sources.list.d/aegis.ssu-keyring-*.list

which will not delete -but keep info compressed- old lists. And would be valid for all firmware versions.
Pre-conditions: gzip preinstalled (I think so) and apt not complaining about some binary files (I guess so).

Custodian 2015-08-30 18:35

Re: Developer Mode Alternative?
 
Quote:

Originally Posted by peterleinchen (Post 1480449)
I guess following command line would be better:
gzip /etc/apt/sources.list.d/aegis.ssu-keyring-*.list

You cannot remove those files, or aegis will complain.
Package will be updated to maintain localized files.

peterleinchen 2015-08-30 18:43

Re: Developer Mode Alternative?
 
Quote:

Originally Posted by Custodian (Post 1480471)
You cannot remove those files, or aegis will complain.

Oops, sorry. Too long running on OpenMode. :D
(but what about refhashlist? not inside?)

Quote:

Package will be updated to maintain localized files.
Thanks.

emev 2016-01-07 20:29

Re: Developer Mode Alternative?
 
Any tips on how to enable dev mode on an N950 with old firmware?
Are there any ready debs for the N950? (I'm stuck on a Windows PC for a few days now)
Thanks!

peterleinchen 2016-01-07 20:38

Re: Developer Mode Alternative?
 
The new repos should hold versions also for older firmwares...

emev 2016-01-07 20:52

Re: Developer Mode Alternative?
 
Yes, but the Ancelad deb contains the repo for the N9 (https://coderus.openrepos.net/n9mirror/), not the N950 (https://coderus.openrepos.net/n950mirror/).

peterleinchen 2016-01-07 20:54

Re: Developer Mode Alternative?
 
Oops, right. Sorry.

@ancelad
would you be so kind?

emev 2016-01-07 21:03

Re: Developer Mode Alternative?
 
Thanks!
And @Ancelad, if it's not too much hassle for you, I'd be very thankful if you could post debs for the N950 too.

peterleinchen 2016-01-07 21:14

Re: Developer Mode Alternative?
 
Quote:

Originally Posted by emev (Post 1494041)
Thanks!
And @Ancelad, if it's not too much hassle for you, I'd be very thankful if you could post debs for the N950 too.

Mee too, just in case I would need them some time ;)

Ancelad 2016-01-07 21:35

Re: Developer Mode Alternative?
 
I don't have n950 :)

Edit:
Ah, I've read wrong...
Sure I can add n950-repo into package, but I can't build it right now.

emev 2016-01-07 21:41

Re: Developer Mode Alternative?
 
Thanks for the reply!
Do you need the device to create the deb? Isn't it sufficient to put the https://coderus.openrepos.net/n950mirror/ repo in the list file?

Re: Edit:
Thank you! Sure, whenever you can find some time to do it.

peterleinchen 2016-01-08 08:02

Re: Developer Mode Alternative?
 
He wont need device for creating but testing (can be done by you).

TIA to ancelad
But please consider to make two different packages (one for N9 / one for N950)!

Ancelad 2016-01-08 09:36

Re: Developer Mode Alternative?
 
Ok, I will, but I should add specific N950 system-package as depends into control to prevent installation on N9. Could you tell me this package?

peterleinchen 2016-01-08 20:46

Re: Developer Mode Alternative?
 
Yep, of course :)

I guess easiest is meta package. I do not assume we have such enthusiast that have removed the meta package on N950 (especially without terminal ;)).

So package we depend on N950 will be
mp-harmattan-rm680-pr

Ancelad 2016-01-08 21:42

Re: Developer Mode Alternative?
 
Oh... I'm afraid to add this one :D

peterleinchen 2016-01-08 21:53

Re: Developer Mode Alternative?
 
Quote:

Originally Posted by Ancelad (Post 1494188)
Oh... I'm afraid to add this one :D

Nah, you do not need. :)

As I was writing I recognized everybody will only add/install your package after a reflash. Or in other words nobody is able to remove that mp without terminal (developer mode).

xelo 2016-01-27 20:34

Re: Developer Mode Alternative?
 
Quote:

Originally Posted by peterleinchen (Post 1494175)
Yep, of course :)

So package we depend on N950 will be
mp-harmattan-rm680-pr

Speaking of it:
Is it safe to remove this package? For instance to update twitter libs and others (libgpg-error0 libogg0 liborganiser lzop usbutil)?

peterleinchen 2016-01-27 22:45

Re: Developer Mode Alternative?
 
If you expect another PR update from ..... then do NOT remove this package ;)

But -without irony- this package has lots of reverse dependencies, so a lot of (almost all) packages will get removed, too. To what state your N950 will go I have no idea. There is some dedicated thread somewhere on TMO ...

TINK16 2016-03-20 04:59

Re: Some news about Mitakuuluu development
 
Quote:

Originally Posted by coderus (Post 1470413)

Thanks!!!! it worked and im downloading extra repos now :D:)

Ancelad 2016-06-28 12:26

Re: Developer Mode Alternative?
 
Dear N950's users, test please this package: https://www.dropbox.com/s/o4jtgs7ksh...armel.deb?dl=0

Be careful: it has mp-harmattan-rm680-pr as depends!

xelo 2016-06-28 19:12

Re: Developer Mode Alternative?
 
Quote:

Originally Posted by Ancelad (Post 1508548)
Dear N950's users, test please this package: https://www.dropbox.com/s/o4jtgs7ksh...armel.deb?dl=0

Be careful: it has mp-harmattan-rm680-pr as depends!

Thanks for your work!

Which tests would you like?

Why is this required in postinstall:
Code:

echo Remove all default offline repositories
SSUFILES=/etc/apt/sources.list.d/aegis.ssu-keyring-*.list
for f in $SSUFILES
do
: > $f
done

Does it make sense to rename the file "n9repomirror.list" to n950repomirror.list?

Ancelad 2016-06-28 19:18

Re: Developer Mode Alternative?
 
Filename doesn't make a sense. Postinst should clear all old lists, that's all.

emev 2016-12-29 10:02

Re: Developer Mode Alternative?
 
Quote:

Originally Posted by Ancelad (Post 1508548)
Dear N950's users, test please this package: https://www.dropbox.com/s/o4jtgs7ksh...armel.deb?dl=0

Be careful: it has mp-harmattan-rm680-pr as depends!

Thank you very much for creating the N950 deb, Ancelad! I noticed your post just now, sorry.

I tried installing it on my Pre-Beta 1 N950, but it just stays on the installation screen with the progress bar. Nothing happens.
If I go back, then it is in the list of installed applications, but with 0 Kb size, and it cannot be uninstalled. After a restart, it disappears from the application list.

I tried installing the terminal package manually, but I get an "unable to trace installation package dependencies" error.

Btw. my device has some certificate issues, because I can't open any https sites with the browser; I get an "SSL handshake failed" error.

PS: If I try to install Fliebox, MyExplorer, etc., I get the same problem like when trying to install the terminal, i.e. first "Preparing for installation - Searching for required applications. Please Wait.", and then "Unable to install - Unable to trace installation package dependencies".

emev 2016-12-29 14:42

Re: Developer Mode Alternative?
 
I've tried mounting my N950's rootfs using the rescue CD, but I can't make it work.

Following the instructions, what I get is:
Quote:

> sudo flasher --load -k vmlinuz-2.6.32.20112201-11.2-adaptation-n950-bootloader -n initrd.img-rescue-2.6.32.20112201-11.2-n950 --boot
flasher 3.12.1 (Oct 5 2011) Harmattan
WARNING: This tool is intended for professional use only. Using it may result in permanently damaging your device or losing the warranty.

Suitable USB interface (bootloader/phonet) not found, waiting...
USB device found at bus 002, device address 005.
Device identifier: XXXX (SN: N/A)
Found device RM-680, hardware revision 1124
NOLO version 2.0.31
Version of 'sw-release': DFL61_HARMATTAN_1.2011.15-7_PR_RM680
Sending kernel image (2497 kB)...
100% (2497 of 2497 kB, avg. 32439 kB/s)
Sending initfs image (1920 kB)...
100% (1920 of 1920 kB, avg. 31475 kB/s)
Success
>
Shortly after that the phone turns off and I can't see the device/partitions on the host.

Does anyone have a suggestion how I could either install developer mode or get access to the system files on this N950, without flashing a newer firmware?


All times are GMT. The time now is 05:57.

vBulletin® Version 3.8.8