maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Aegis] easy to use aegis-install hack (https://talk.maemo.org/showthread.php?t=90750)

coderus 2013-07-16 13:38

[Aegis] easy to use aegis-install hack
 

Announcing universal easy-to-use solution.
------
Aegis-install hack package.
------
Download aegis installer hack

------

Just download package and install it and enjoy!
You can remove hack-installer package immediately after installation)

hack-installer from version 1.0.9 include inception origin fixer. You can remove Inception safety.

------
Profit!?


aegis-apt-get - wrapper tool for installing packages from remote repository via apt-get with "com.nokia.maemo" origin
aegis-dpkg - wrapper tool for installing local packages from files via dpkg with "com.nokia.maemo:" origin
aegis-install - wrapper tool for any install action, overriding origin to "com.nokia.maemo"

Example!


aegis-apt-get install mcetools
aegis-dpkg -i system-ui_1.3.2-1\+0m8_armel.deb
aegis-install aptitude install opensudo
aegis-install gdebi system-ui-brightness-qml_1.0.2_armel.deb


Enjoy!

Boxeri 2013-07-16 13:48

Re: [Aegis] easy to use aegis-install hack
 
So this makes inception obsolete now? No need to incept packages anymore anywhere.

Really this simple (for the end user, I bet there is a lot going on below the hood)?

coderus 2013-07-16 14:51

Re: [Aegis] easy to use aegis-install hack
 
Yes it's inception replacement.
Inception using own origin, conflicting with system packages,
Aegis-install hack enabling AEGIS_FIXED_ORIGIN environment value allowed only in open mode by default. It makes possible to install packages with system origin and not break anything.

imaginaryenemy 2013-07-18 22:49

Re: [Aegis] easy to use aegis-install hack
 
In the name of due diligence, I ask the same question to you in this thread: With aegis-install, can you reinstall default system-ui over unrestricted system-ui?

hugon9 2013-07-19 00:20

Re: [Aegis] easy to use aegis-install hack
 
super noob question (the only thing that i know how to do in terminal is open it hahaha):

with this package, how can i install unrestricted ui WITHOUT music player, netsped and battery %?

at the moment, i don't have n9qtweak installed (fresh flash)

cheers!

Schturman 2013-07-19 00:23

Re: [Aegis] easy to use aegis-install hack
 
Quote:

Originally Posted by imaginaryenemy (Post 1359989)
In the name of due diligence, I ask the same question to you in this thread: With aegis-install, can you reinstall default system-ui over unrestricted system-ui?

Yes, you can.. Just run
Code:

apt-get install --reinstall system-ui -y
Or you can first download:
Code:

apt-get install --reinstall system-ui -y -d
and install it again via:
Code:

aegis-dpkg -i /path/to/system-ui*

coderus 2013-07-19 06:09

Re: [Aegis] easy to use aegis-install hack
 
@hugon9 musicplayer is extension for unrestricted which should be installed separately. but netspeed and battery are built into unrestricted. you can disable it after installation:
Code:

gconftool -s -t b /desktop/meego/status_area/display_percentage_line false
gconftool -s -t b /desktop/meego/status_area/display_netspeed false


sid21177 2013-07-19 06:09

Re: [Aegis] easy to use aegis-install hack
 
couple of questions

1. Should one uninstall inception before/after installing this ??
2. What happens to pkgs already installed using inception (unrestricted sys-ui via N9QT for example) ?? - should they be reinstalled again ??
3. when is schturman integrating this into N9QT ?? :D

Ancelad 2013-07-19 06:34

Re: [Aegis] easy to use aegis-install hack
 
Quote:

Originally Posted by sid21177 (Post 1360032)
couple of questions

1. Should one uninstall inception before/after installing this ??
2. What happens to pkgs already installed using inception (unrestricted sys-hi via N9QT for example) ?? - should they be reinstalled again ??
3. when is schturman integrating this into N9QT ?? :D

1) You can choose it yourself - they don't conflict
2) Nothing/No

hugon9 2013-07-19 14:53

Re: [Aegis] easy to use aegis-install hack
 
Quote:

Originally Posted by coderus (Post 1360031)
@hugon9 musicplayer is extension for unrestricted which should be installed separately. but netspeed and battery are built into unrestricted. you can disable it after installation:
Code:

gconftool -s -t b /desktop/meego/status_area/display_percentage_line false
gconftool -s -t b /desktop/meego/status_area/display_netspeed false


thank you my friend!

Dave999 2013-07-19 15:10

Re: [Aegis] easy to use aegis-install hack
 
Great Work indeed.

(don't mean that you working slow or bad anything like that)

Why did it take so long time to come up with this solution? left my n9 long ago.

ltz 2013-07-19 16:39

Re: [Aegis] easy to use aegis-install hack
 
Quote:

Originally Posted by coderus (Post 1360031)
@hugon9 musicplayer is extension for unrestricted which should be installed separately. but netspeed and battery are built into unrestricted. you can disable it after installation:
Code:

gconftool -s -t b /desktop/meego/status_area/display_percentage_line false
gconftool -s -t b /desktop/meego/status_area/display_netspeed false


Huge thanks for this! I already uninstalled the unrestricted menu because I didn't want the netspeed, but now it's back :) Putting features configurable via gconftool is indeed a very clever solution!

Keep it going. :)

Schturman 2013-07-21 20:53

Re: [Aegis] easy to use aegis-install hack
 
Link blocked to version 1.0.6 Can someone reupload if Coderus dropbox blocked ?

Schturman 2013-07-21 21:03

Re: [Aegis] easy to use aegis-install hack
 
Oooo cool, we have 1.0.7 now :) What changes ?
Thanks

coderus 2013-07-21 21:07

Re: [Aegis] easy to use aegis-install hack
 
1.0.6 was broken.
and added tons of checks in 1.0.7

coderus 2013-07-23 06:47

Re: [Aegis] easy to use aegis-install hack
 
Updated to v1.0.9, added Origin Fixer to safety remove inception after hack installation.
Also last version working for OpenMode users (you will get short aegis-dpkg and aegis-apt-get commands instead of writing AEGIS_FIXED_ORIGIN ... every time you need it)

Garp 2013-07-23 07:05

Re: [Aegis] easy to use aegis-install hack
 
Quote:

Originally Posted by coderus (Post 1361255)
Updated to v1.0.9, added Origin Fixer to safety remove inception after hack installation.
Also last version working for OpenMode users (you will get short aegis-dpkg and aegis-apt-get commands instead of writing AEGIS_FIXED_ORIGIN ... every time you need it)

First page download is still v 1.0.7!;):rolleyes:

coderus 2013-07-23 08:04

Re: [Aegis] easy to use aegis-install hack
 
ahh, fixed :)

sid21177 2013-07-23 09:03

Re: [Aegis] easy to use aegis-install hack
 
Quote:

Originally Posted by coderus (Post 1361255)
Updated to v1.0.9, added Origin Fixer to safety remove inception after hack installation.
Also last version working for OpenMode users (you will get short aegis-dpkg and aegis-apt-get commands instead of writing AEGIS_FIXED_ORIGIN ... every time you need it)

@coderus - is there any way to manually verify that inception has been removed correctly & that the origin has been fixed ??

coderus 2013-07-23 10:40

Re: [Aegis] easy to use aegis-install hack
 
cat /var/lib/aegis/restok/restok.conf | grep "maemo/local"
cat /var/lib/aegis/refhashlist | grep "maemo/local"
if empty - origin fixed :)

valdur55 2013-07-23 11:52

Re: [Aegis] easy to use aegis-install hack
 
Btw, you don't need use cat before grep ;).
You could just use grep:
grep "maemo/local" /var/lib/aegis/restok/restok.conf
grep "maemo/local" /var/lib/aegis/refhashlist

death_jax 2013-07-23 12:39

Re: [Aegis] easy to use aegis-install hack
 
@CODeRUS, the repo in the coderus.list failed to fetch through the update process; is it safe to remove that file and leave only the aegis.coderus-trusted-repo.list (and obviously the openrepos) one?

coderus 2013-07-23 13:27

Re: [Aegis] easy to use aegis-install hack
 
sure. coderus.list creates with wazapp nightly and meefox installations. i didn't updated them to openrepos.
you can edit coderus.list to my openrepos and import openrepos.key.

death_jax 2013-07-23 13:38

Re: [Aegis] easy to use aegis-install hack
 
Quote:

Originally Posted by coderus (Post 1361346)
sure. coderus.list creates with wazapp nightly and meefox installations. i didn't updated them to openrepos.
you can edit coderus.list to my openrepos and import openrepos.key.

Ok, I will delete it.
However I have created yours and nevalyashka's OpenRepos .list files ;)

sid21177 2013-07-23 18:51

Re: [Aegis] easy to use aegis-install hack
 
Quote:

Originally Posted by coderus (Post 1361309)
cat /var/lib/aegis/restok/restok.conf | grep "maemo/local"
cat /var/lib/aegis/refhashlist | grep "maemo/local"
if empty - origin fixed :)

@coderus - I got a non-empty result of the above :(

However, my inception shows as removed and I do not have any problems installing/removing unrestricted sys-ui components.

what should I do to fix the origin errors ??

thx

coderus 2013-07-23 18:56

Re: [Aegis] easy to use aegis-install hack
 
@sid21177 show it to me ;)

sid21177 2013-07-23 20:24

Re: [Aegis] easy to use aegis-install hack
 
Quote:

Originally Posted by coderus (Post 1361448)
@sid21177 show it to me ;)

lol - I was hoping you would say to run your origin fixer package :)

cat /var/lib/aegis/refhashlist | grep "maemo/local"
S 21 com.nokia.maemo/local H 40 f92e453107faf47685841b006a977a354057a1ac A 0 0 33261 P 9 system-ui R 14 usr/bin/sysuid
S 21 com.nokia.maemo/local H 40 8ff4355cc3cc2df1a7ddcd6b1d3ae0ef4a7ca5fa A 0 0 33261 P 9 system-ui R 36 var/lib/dpkg/info/system-ui.postinst
S 21 com.nokia.maemo/local H 40 7c89119e2ac4bffeb8afd503298cf76af44af178 A 0 0 33261 P 13 inception-bin R 39 var/lib/dpkg/info/inception-bin.preinst
S 21 com.nokia.maemo/local H 40 9429b775912eb005d8d13e5b1a1eedd59e121cbd A 0 0 33188 P 9 system-ui R 75 usr/lib/meegotouch/applicationextensions/libstatusindicatormenu-safemode.so

cat /var/lib/aegis/restok/restok.conf | grep "maemo/local"
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Source: com.nokia.maemo/local
AID::com.nokia.maemo/local.system-ui.
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local
Object: SRC::com.nokia.maemo/local

MoritzJT 2013-07-23 21:39

Re: [Aegis] easy to use aegis-install hack
 
Quote:

Originally Posted by coderus (Post 1361255)
Updated to v1.0.9, added Origin Fixer to safety remove inception after hack installation.
Also last version working for OpenMode users (you will get short aegis-dpkg and aegis-apt-get commands instead of writing AEGIS_FIXED_ORIGIN ... every time you need it)

So since I successfully installed 1.0.5 after flashing my N9 and starting from scratch without inception, is 1.0.9 a worthy upgrade or just for those who switched from inception to your method?

Cheers and thank you so much!

hugon9 2013-07-23 22:07

Re: [Aegis] easy to use aegis-install hack
 
hi!

i have installed this hack via n9qtweak and your urestricted ui and it does'nt work, then i have flshed my phone, instal this deb and then install via n9qtweak your unrestricted ui and work like a charm.

but the question is: how can i instal powerpack without inception?

sid21177 2013-07-24 10:19

Re: [Aegis] easy to use aegis-install hack
 
@coderus - any update for me ?? (see post #27 for output)

thx in advance

coderus 2013-07-24 12:38

Re: [Aegis] easy to use aegis-install hack
 
@sid hm, strange. but you should try new version, sure, and do not rebool until you have maemo/local in output.
if no luck post your /tmp/hack-installer.log
@MoritzTZ if you never installed inception you don't need to do anything :)
@hugon
Code:

devel-su
cd /path/to/folder/with/powerpack
aegis-dpkg -i *.deb

phone fishing is nice idea btw ;)

hugon9 2013-07-24 14:36

Re: [Aegis] easy to use aegis-install hack
 
Quote:

Originally Posted by coderus (Post 1361678)
@sid hm, strange. but you should try new version, sure, and do not rebool until you have maemo/local in output.
if no luck post your /tmp/hack-installer.log
@MoritzTZ if you never installed inception you don't need to do anything :)
@hugon
Code:

devel-su
cd /path/to/folder/with/powerpack
aegis-dpkg -i *.deb

phone fishing is nice idea btw ;)


hahahaha sorry, i meant "flashed"

thank you! now i have my n9 without inception and with unrestricted ui and powerpack installed!

one more question:

unrestricted ui (or one of it's components) have something to do on the color tone of my screen? i have put it (settings/device/display/color profile) in vivid mode but nothing seems to change...

is there a problem or i'm just getting blind? :D

coderus 2013-07-26 11:33

Re: [Aegis] easy to use aegis-install hack
 
I have no idea, try to ask in unrestricted system-ui thread.

Akkumaru 2013-07-26 12:26

@hugon9 i got that too once, just remove unrestricted-ui and set the display as normal, install unrestricted-ui and set to whatever color profile you want

hugon9 2013-07-28 04:54

Re: [Aegis] easy to use aegis-install hack
 
Quote:

Originally Posted by Akkumaru (Post 1362284)
@hugon9 i got that too once, just remove unrestricted-ui and set the display as normal, install unrestricted-ui and set to whatever color profile you want

nice!!!

thank you my friend!

Morpog 2013-08-04 10:35

Re: [Aegis] easy to use aegis-install hack
 
Hi coderus

I got some local leftovers in the refhaslist it seems? any advice what to do against it?

http://pastie.org/8205080

coderus 2013-08-04 10:57

Re: [Aegis] easy to use aegis-install hack
 
@Morpog its about MohammadAG's incepted repo. you can still use it.

Morpog 2013-08-04 12:33

Re: [Aegis] easy to use aegis-install hack
 
Ah, OK, so uninstalled them and will use your new ones :)

Eminem 2013-09-03 14:41

Re: [Aegis] easy to use aegis-install hack
 
How do i use these commands now with the new aegis?

ariadne /sbin/ifconfig phonet0 down

ariadne /sbin/ifconfig phonet0 up

coderus 2013-09-03 15:13

Re: [Aegis] easy to use aegis-install hack
 
@Eminem sudo ifconfig phonet0 down
sudo ifconfig phonet0 up


All times are GMT. The time now is 23:23.

vBulletin® Version 3.8.8