maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Announce] busybox-power for Harmattan (https://talk.maemo.org/showthread.php?t=87712)

iDont 2012-11-04 12:31

[Announce] busybox-power for Harmattan
 
Busybox-power has made its way to Harmattan! It follows the same concept as busybox-power for Fremantle (N900): providing an enhanced shell replacement for Maemo, based on the latest upstream BusyBox release. Backwards compatibility with the stock binary is of paramount importance; both Nokia's patchset and default configuration have been reviewed and checked against upstream's BusyBox.

Busybox-power for Harmattan works on Harmattan-based devices in Normal mode, Open mode and Patched Open mode.

Functionality included
This package wouldn't be called busybox-power if it didn't have extra functionality. The BusyBox binary in the package has been compiled with support for way more features and utilities than the stock busybox. Besides extra features like swap priority support in swapon, colored ls output and more useful help texts, the following extra utilities are included in addition to those which are also in the stock BusyBox shell:

bunzip2 bzcat bzip2 cpio cttyhack dnsdomainname dumpkmap ed fbset fdflush hush ipaddr iplink iproute iprule mountpoint mt nc pipe_progress popmaildir pscan usleep groups users setserial blkid blockdev bootchartd crond fdisk ifenslave iptunnel klogd loadkmap logread makedevs mdev nbd-client raidautorun setconsole sulogin vconfig zcip findfs adjtimex arping base64 beep brctl cal catv chpst chrt cryptpw dc devmem diff dos2unix dumpleases eject envdir envuidgid ether-wake fdformat fgconsole flock freeramdisk ftpget ftpput hexdump ionice iostat ipcalc last linux32 linux64 loadfont lpd lpq lpr lzcat lzma lzopcat makemime man microcom mkpasswd mpstat nmeter patch readahead reformime resize rev rpm rpm2cpio rtcwake runsv runsvdir rx script scriptreplay setarch setfont setuidgid showkey smemcap softlimit strings sv svlogd tcpsvd telnet tftp timeout ttysize udhcpc udpsvd unix2dos unlzma unlzop unzip uudecode uuencode volname wall wget [ ar whois pstree pwdx crontab traceroute traceroute6 vlock acpid addgroup adduser arp chat delgroup deluser dhcprelay fakeidentd ftpd hdparm httpd ifplugd inetd lspci ntpd rdate rdev readprofile sendmail sha256sum sha512sum telnetd tftpd tunctl udhcpd watchdog dnsd sha3sum


There is a screenshot a little bit further down this post which shows all utilities included in busybox-power.

Where to download
You can get busybox-power from MohammadAG's incepted repository. Once you've got that repository set up on your device, you can install busybox-power by executing:
Code:

apt-get install busybox-power
If you're running a patched Open Mode kernel to neuter aegis, you may want to install busybox-power-noaegis instead of the regular package. This variant does not depend on aegisctl, which would otherwise be an useless dependency. It is available from the same repository as the regular busybox-power package.

Dependencies
Busybox-power for Harmattan depends on aegisctl* and meego-confirm-text. You'll need to install these applications prior to installing busybox-power itself, otherwise it'll abort installation. Meego-confirm-text is also available from RzR's Harmattan shared repository. If you've got that repository set up (e.g. via MeeCatalog), meego-confirm-text will be automatically installed when trying to install busybox-power.

* Since itsnotabigtruck's site is down, you'll need to source aegisctl elsewhere. One mirror I know of is from rcolistete: link & source of that link.

Warning
This package replaces an essential system binary during installation, namely /bin/busybox. BusyBox has an essential (or better: critical) role in Harmattan. If something does goes wrong during (un)installation, you'll probably have to reflash your device. This warning will also be given during first time installation of busybox-power.

A lot of care has been put into testing the package. I am currently not aware of any regressions or other bugs in busybox-power for Harmattan. However, the software is new and should therefore be approached with extra care. Please back-up your valuable data before installing it.

For those who automate the installation of Debian archives on their devices: touching /tmp/.bbp-unattended prior to installing busybox-power will suppress the first-time installation warning.

Development, bugtracking and news
Busybox-power's garage page contains everything development related, from source control to compiled archives and alternative builds (when applicable). Don't forget to incept busybox-power builds or install them with AEGIS_FIXED_ORIGIN=com.nokia.maemo if you plan to install archives manually.

Screenshots
http://s15.postimage.org/u5ujnllbf/image.png

http://s7.postimage.org/dtdc4jqyz/image.png

http://s9.postimage.org/yasxxj9qn/image.png

iDont 2012-11-04 12:31

Re: [Announce] busybox-power for Harmattan
 
<Reserved post, might come in useful in the future>

Hurrian 2012-11-04 13:08

Re: [Announce] busybox-power for Harmattan
 
Great work, iDont. Works perfectly on my PR1.3 16GB N9.

Now, how about a package for users with neutered Open Mode and don't want to install aegisctl because it's unecessary?

Not to sound condescending, but it's a suggestion. I just feel a bit iffy about having to install a package that only satisfies a simple install script check.

iDont 2012-11-04 13:19

Re: [Announce] busybox-power for Harmattan
 
Quote:

Originally Posted by Hurrian (Post 1289862)
Great work, iDont. Works perfectly on my PR1.3 16GB N9.

Thanks!

Quote:

Originally Posted by Hurrian (Post 1289862)
Now, how about a package for users with neutered Open Mode and don't want to install aegisctl because it's unecessary?

Not to sound condescending, but it's a suggestion. I just feel a bit iffy about having to install a package that only satisfies a simple install script check.

Heh, I knew this was going to be asked :). Well, I suppose I could do a busybox-power-noaegis package or something alike, if MohammadAG doesn't mind pushing two versions to his repository every release. I'll keep you updated on this one.

koe 2012-11-04 13:28

Re: [Announce] busybox-power for Harmattan
 
YES! this is what i was looking for last week.
little problems during the installation though:
Quote:

package busybox-power: denied 'CAP::sys_module' - origin '' does not allow it
package busybox-power: denied 'tcb' - origin '' does not allow it
...
aegisctl: Operation not permitted (do you have the right credentials)
this was printed after dpkg -i <meego-confirm-text>
apt-get install busybox-power

(stock kernel, inception, aegisctl)

after incepting downloaded busybox package manually, all seems good for now.

iDont 2012-11-04 13:34

Re: [Announce] busybox-power for Harmattan
 
Quote:

Originally Posted by koe (Post 1289875)
YES! this is what i was looking for last week.
little problems during the installation though:

this was printed after dpkg -i <meego-confirm-text>
apt-get install busybox-power

(stock kernel, inception, aegisctl)

Hmm, it seems like the incepted repository didn't get the required elevated privileges on your device. Did you incept MohammadAG's incepted repository enabler?

Quote:

Originally Posted by koe (Post 1289875)
after incepting downloaded busybox package manually, all seems good for now.

Glad to hear that :). Only thing is that you won't receive automatic updates this way, as the package doesn't originate from a repository.

koe 2012-11-04 13:45

Re: [Announce] busybox-power for Harmattan
 
yep, my bad, Mohammad's repos was installed with Schturman' N9QT script, and probably not incepted.
thanks.

iDont 2012-11-07 21:08

Re: [Announce] busybox-power for Harmattan
 
@Hurrian (and other Patched Open mode users)

I've uploaded busybox-power-noaegis to the files section in busybox-power's garage page. This variant does not depend on aegisctl. It's not available from the incepted repository yet, so you'll have to install it manually. Don't forget to export AEGIS_FIXED_ORIGIN when installing.

thedead1440 2012-11-08 03:04

Re: [Announce] busybox-power for Harmattan
 
Thanks iDont!

Unfortunately it can't be tested now as garage for some reason seems to give a 500 error when attempting to download anything...It is universal as other project pages also have the same issue...

Also, for open mode users we don't need to install meego-confirm-text right?

Thanks!

iDont 2012-11-08 11:31

Re: [Announce] busybox-power for Harmattan
 
Quote:

Originally Posted by thedead1440 (Post 1291659)
Thanks iDont!

Unfortunately it can't be tested now as garage for some reason seems to give a 500 error when attempting to download anything...It is universal as other project pages also have the same issue...

Yeah, I've noticed that too. A temporary download link to the relevant files has been added to the OP.

Quote:

Originally Posted by thedead1440 (Post 1291659)
Also, for open mode users we don't need to install meego-confirm-text right?

Thanks!

meego-confirm-text is unfortunately still required. We don't only depend on it to show a warning during first time installation (which applies to both Normal and Open mode users), but also to display information when uninstalling busybox-power if applicable*.

I'd be happy to replace meego-confirm-text with something already shipped with Harmattan by default, but AFAIK there is no such thing. The N8xx and N900 do ship with meamo-confirm-text by default.

* there are a few checks in our prerm script to verify in what state the installed busybox binary and its backup are. You should pass all of them, unless you've been playing around with BusyBox yourself ; - )

www.rzr.online.fr 2012-11-18 19:32

Re: [Announce] busybox-power for Harmattan
 
hi

check this minor fix to support obs :

https://garage.maemo.org/plugins/ggi...o-confirm-text

please test the shared repo version ...

iDont 2012-11-18 20:31

Re: [Announce] busybox-power for Harmattan
 
Quote:

Originally Posted by www.rzr.online.fr (Post 1295665)
hi

check this minor fix to support obs :

https://garage.maemo.org/plugins/ggi...o-confirm-text

please test the shared repo version ...

The commit looks good and the OBS build works as expected. Thanks again!

--
Some background information for the rest:
RzR has been helping me to get meego-confirm-text in his shared community repository for Harmattan. This way you don't have to download and install the debian archive yourself (if you got the repository set up on your device), which makes the installation of busybox-power a lot user friendly.
Other packages can now depend on meego-confirm-text as well :).

Since I don't have an OBS account yet, RzR has been so kind to upload it for me (and even fix the package so it can be build in the community OBS in the first place). I'll make sure to upload a bumped version and further maintain the package in the community repository as soon as I have an account.

ThraxZzz 2012-11-19 01:50

Re: [Announce] busybox-power for Harmattan
 
hmmm,cant seem to install the MeeGo-confirm-text......broken package...

thedead1440 2012-11-19 03:39

Re: [Announce] busybox-power for Harmattan
 
Quote:

Originally Posted by ThraxZzz (Post 1295721)
hmmm,cant seem to install the MeeGo-confirm-text......broken package...

Maybe post the terminal output?

I have it up and running here without any issues...

ThraxZzz 2012-11-19 04:57

Re: [Announce] busybox-power for Harmattan
 
The following packages have unmet dependencies.
busybox-power: PreDepends: meego-confirm-text but it is not installable
E: Broken packages
~ #

thedead1440 2012-11-19 05:04

Re: [Announce] busybox-power for Harmattan
 
Quote:

Originally Posted by ThraxZzz (Post 1295733)
The following packages have unmet dependencies.
busybox-power: PreDepends: meego-confirm-text but it is not installable
E: Broken packages
~ #

Yup from first post:

Quote:

Busybox-power for Harmattan depends on aegisctl* and meego-confirm-text. You'll need to install these applications prior to installing busybox-power itself, otherwise it'll abort installation.
So install aegisctl and meego-confirm-text first :)

ThraxZzz 2012-11-19 05:38

Re: [Announce] busybox-power for Harmattan
 
ahhh,i didnt know i must incept it,thanks :)

wolke 2012-11-22 19:54

Re: [Announce] busybox-power for Harmattan
 
i understand the desire to caution users away from installing packages that could very easily brick their phone if something unforeseen goes wrong. thats what warnings are for.

that doesnt mean its ok to forcibly require user intervention during a deb install, ever. ESPECIALLY when you require an x server and dbus session...

it makes it impossible to install as part of an automated restore script, without seriously going out of your way {e.g.: temporarily replacing the callable binary with a script that just cats the file passed in and exits with 0}.

i personally just remove the preinst because i know im on an n9 and i know i want to install the package, but it would be nice if you wouldnt put installation guis in deb files in the first place.

iDont 2012-11-23 19:47

Re: [Announce] busybox-power for Harmattan
 
Quote:

Originally Posted by wolke (Post 1297338)
i understand the desire to caution users away from installing packages that could very easily brick their phone if something unforeseen goes wrong. thats what warnings are for.

that doesnt mean its ok to forcibly require user intervention during a deb install, ever. ESPECIALLY when you require an x server and dbus session...

it makes it impossible to install as part of an automated restore script, without seriously going out of your way {e.g.: temporarily replacing the callable binary with a script that just cats the file passed in and exits with 0}.

i personally just remove the preinst because i know im on an n9 and i know i want to install the package, but it would be nice if you wouldnt put installation guis in deb files in the first place.

Thank you for your feedback, appreciated. However, I'm not in favor of removing the warning, because:
  • It's only shown during first time installation (upgrades or re-installations won't trigger it).
  • More importantly: I think it is a very sane warning. Take kernel-power for Maemo for instance: most users will not doubt that it is rock solid. However, kernel-power can't guarantee 100% compatibility with the stock installation, just like I can't with busybox-power. I have all faith in busybox-power for Harmattan -the download statistics for its older brother are very reassuring as well-, but I think it's only fair to warn users the way it's currently done (disregarding the fact that there isn't really an alternative way to do it, unfortunately)

Nonetheless, you're making a very valid point: the current implementation does not allow unattended installations of busybox-power.
Therefore I would like to suggest a compromise: what if I would let the preinst script check for the existence of a file (e.g. /tmp/.bbp-unattended), and if found, it'll exit 0 straight away. Since you're already automating installation, you would only need to put an extra "touch $file" in your script prior to installing the deb. Let me know if this works for you and I'll implement it and document it in the OP :).

wolke 2012-11-23 20:34

Re: [Announce] busybox-power for Harmattan
 
cool, that sounds like a decent compromise. you should also check DISPLAY, and if theres no xsession, simply print the warning to stdout and continue {or maybe prompt on the command line} instead of failing with no error printed.

one more thing; can you leave out the signing and validating of the refhashlist in the noaegis version? i dont think it makes sense to do aegis-y things in it, if we're assuming that aegis is neutered.

i found that using the deb as-is gave me perm errors on accli. this is presumably because the kernel that im using {standard openmode pr1.3} doesnt automatically give you credentials like tcb-sign. i had to remove the calls to accli and validator-init while i was removing meego-confirm-text in the deb.

p.s. heres the deb i made, if anyone else wants an aegis-free and gui-free install. note that it requires openmode and may ruin your phone and give you cancer.
https://github.com/teleshoes/n9-conf...l.deb?raw=true

Garp 2012-11-24 11:10

Re: [Announce] busybox-power for Harmattan
 
Quote:

Originally Posted by thedead1440 (Post 1295734)
Yup from first post:


So install aegisctl and meego-confirm-text first :)

N9 16GB open mode, inception/aegisctl and NITdroid installed:
Installing meego-confirm-text => Can't install due to package error!
Trying reinstall aegisctl_1.3_armel.deb => Can't install, already installed from certicified source!
What to do?

Garp 2012-11-24 11:20

Re: [Announce] busybox-power for Harmattan
 
Quote:

Originally Posted by wolke (Post 1297666)
cool,

p.s. heres the deb i made, if anyone else wants an aegis-free and gui-free install. note that it requires openmode and may ruin your phone and give you cancer.
https://github.com/teleshoes/n9-conf...l.deb?raw=true

Could this be a work around to this problem?:
N9 16GB open mode, inception/aegisctl and NITdroid installed:
Installing meego-confirm-text => Can't install due to package error!
Trying reinstall aegisctl_1.3_armel.deb => Can't install, already installed from certicified source!

thedead1440 2012-11-24 11:42

Re: [Announce] busybox-power for Harmattan
 
Re-download the meego-confirm-text as it may be corrupt and install it using AEGIS_FIXED_ORIGIN=com.nokia.maemo then try installing busybox-power-noaegis

Garp 2012-11-25 01:04

Re: [Announce] busybox-power for Harmattan
 
Quote:

Originally Posted by thedead1440 (Post 1297841)
Re-download the meego-confirm-text as it may be corrupt and install it using AEGIS_FIXED_ORIGIN=com.nokia.maemo then try installing busybox-power-noaegis

Installed meego-confirm-text_0.0.1_armel.deb with AEGIS.. etc which by that substituted meego-confirm-text_0.0.0-1-rzr1

Then tried to install busybox-power-noaegis without succes (Installation was cancelled):
1. Warning:This package touchen essential system binary
2. Warning: Cannot find the the list of symlinks to be removed. No symlinks will be removed at all.
Warning: /bin/busybox has been modified since installing busybox-power. This can be the result of a Busybox upgrade (e.g. by a Meego update) Your current /bin/busybox won't be touched.
(backup left at /bin/busybox distrib.)

thedead1440 2012-11-25 04:12

Re: [Announce] busybox-power for Harmattan
 
Garp,

The last warning means you already had busybox-power installed then had some update to /bin/busybox :confused:


Edit: I don't know what you have exactly done (it would be better to give full outputs) but if I was you my installation procedure would simply have been:

- Download from first post meego-confirm-text, busybox-power-noaegis and aegisctl (all files from first post not Rzr's shared repo)

- install aegisctl (if you don't have it) via fixed origin

- install meego-confirm-text using fixed origin

- lastly install busybox-power using fixed origin


The above worked flawlessly for me; maybe you may want to do an uninstallation, clean re-install of default busybox (apt-get install busybox --reinstall) and follow the above and not use shared repo to prevent any conflicts etc...

Garp 2012-11-25 12:10

Re: [Announce] busybox-power for Harmattan
 
Quote:

Originally Posted by thedead1440 (Post 1298050)
Garp,

The last warning means you already had busybox-power installed then had some update to /bin/busybox :confused:


Edit: I don't know what you have exactly done (it would be better to give full outputs) but if I was you my installation procedure would simply have been:

- Download from first post meego-confirm-text, busybox-power-noaegis and aegisctl (all files from first post not Rzr's shared repo)

- install aegisctl (if you don't have it) via fixed origin

- install meego-confirm-text using fixed origin

- lastly install busybox-power using fixed origin


The above worked flawlessly for me; maybe you may want to do an uninstallation, clean re-install of default busybox (apt-get install busybox --reinstall) and follow the above and not use shared repo to prevent any conflicts etc...

Thank you thedead 1440

I have found busybox files in the libraries (inclusive one in NITdroid and a lot of symlinks info files (/var/lib/dpkg/info)) with dates from 07-06-11 to 03-07-12 and a busybox.list file from 07-17-12 thats all, so I really don't understand if and how I have got busybox-power installed?

Follow your proposal to procedure:
As mentioned I allready have aegisctl installed
Also meego-confirm-text I have installed with AEGIS....

Is it correct, what is left is to try installing busybox-power-noaegis with AEGIS.....?

Alternative: How to make sure or check if the allready installed(?) busybox-power is function? Because if so I don't need to do anythinmg?

Garp 2012-11-25 15:41

Re: [Announce] busybox-power for Harmattan
 
thedead 1440

# AEGIS_FIXED_ORIGIN=com.nokia.maemo
~ # dpkg -i /home/user/MyDocs/busybox-power-noa
egis_1.20.2power4-harmattan0_armel.deb
Choose earlier skipped package busybox-power-noaegis.
(Reading database ... 107098 files og catalogs installed now.)
Extract busybox-power-noaegis (from .../busybox-power-noaegis_1.20.2power4-harmattan0_armel.deb)...
busybox-power: MeeGo/Harmattan (N9/50) environment detected
Please confirm the text on the screen of your device
aegis-installing busybox-power-noaegis (from '')
Package busybox-power-noaegis: denied 'CAP::sys_module' -- origin '' does not allow it
Package busybox-power-noaegis: denied 'tcb' --origin '' does not allow it
Package busybox-power-noaegis: denied 'CAP::sys_module' for '/var/lib/dpkg/info/busybox-power-noaegis.postinst' -- origin '' does not allow it
Package busybox-power-noaegis: denied 'tcb' for '/var/lib/dpkg/info/busybox-power-noaegis.postinst' -- origin '' does not allow it
Package busybox-power-noaegis: denied 'CAP::sys_module' for '/var/lib/dpkg/info/busybox-power-noaegis.prerm' -- origin '' does not allow it
Package busybox-power-noaegis: denied 'tcb' for '/var/lib/dpkg/info/busybox-power-noaegis.prerm' -- origin '' does not allow it
Set-up busybox-power-noaegis (1.20.2power4+harmattan0) op...
accli.cpp(1449): ERROR: cannot sign '/var/lib/aegis/refhashlist' (Permission denied)

Warning: an error has occured! Rolling back...
End of roll-back
dpkg: error during treatment of busybox-power-noaegis (--install):
under proces installed post-installation-script returned final status 1
Error during treatment:
busybox-power-noaegis
~ #

thedead1440 2012-11-25 15:47

Re: [Announce] busybox-power for Harmattan
 
Garp,

2 things:

1) if you open your terminal and type devel-su and see busybox-power it means you already have it

2) if you wish to use fixed origin the proper procedure is:

Code:

~#AEGIS_FIXED_ORIGIN=com.nokia.maemo dpkg -i /path/to/file
OR

Code:

~#export AEGIS_FIXED_ORIGIN=com.nokia.maemo
~#dpkg -i /path/to/file


What you have done for fixed origin is incorrect hence your package is not installed via fixed origin and is from unknown source...

Garp 2012-11-25 16:03

Re: [Announce] busybox-power for Harmattan
 
;) thedead 1440 sorry!

That's what happens when amateurs try to act as prof!

~ $ devel-su
Password:

BusyBox v1.20.0.git (MeeGo 3:1.20-0.2+0m8) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ #

:(:(:)

thedead1440 2012-11-25 16:12

Re: [Announce] busybox-power for Harmattan
 
Garp, no worries at all; we all learn everyday ;)

Ok now can you via fixed origin install meego-confirm-text and busybox-power-noaegis? Post the output here so we know for definite about the installation...

Garp 2012-11-25 16:25

Re: [Announce] busybox-power for Harmattan
 
Quote:

Originally Posted by thedead1440 (Post 1298276)
Garp, no worries at all; we all learn everyday ;)

Ok now can you via fixed origin install meego-confirm-text and busybox-power-noaegis? Post the output here so we know for definite about the installation...

Would have sent the whole installation but my N9 restarted in the middle of copying! (Then at least I didn't need to translate a lot of Danish languages!)
But here is at least the result! :)

BusyBox v1.20.2 (1.20.2power4+harmattan0) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ devel-su
Password:


BusyBox v1.20.2 (1.20.2power4+harmattan0) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ #

Thank you very much for your patience and help!:)

thedead1440 2012-11-25 16:34

Re: [Announce] busybox-power for Harmattan
 
Good to see it works! Its my pleasure :)

iDont 2012-11-25 18:50

Re: [Announce] busybox-power for Harmattan
 
Quote:

Originally Posted by wolke (Post 1297666)
cool, that sounds like a decent compromise. you should also check DISPLAY, and if theres no xsession, simply print the warning to stdout and continue {or maybe prompt on the command line} instead of failing with no error printed.

Sure, will add this too. Note that /etc/profile exports DISPLAY for all users regardless of whether X is running or not, so be sure to unset it if you don't want the check to always succeed.

Quote:

Originally Posted by wolke (Post 1297666)
one more thing; can you leave out the signing and validating of the refhashlist in the noaegis version? i dont think it makes sense to do aegis-y things in it, if we're assuming that aegis is neutered.

Removing those calls will lead to nasty situations (i.e. MALF) when you flash a non-aegis-neutered kernel at some point in time after installing busybox-power, so I don't really want to leave them out. You also shouldn't need to worry those calls at all, see my response below.

Quote:

Originally Posted by wolke (Post 1297666)
i found that using the deb as-is gave me perm errors on accli. this is presumably because the kernel that im using {standard openmode pr1.3} doesnt automatically give you credentials like tcb-sign. i had to remove the calls to accli and validator-init while i was removing meego-confirm-text in the deb.

Did you export AEGIS_FIXED_ORIGIN=com.nokia.maemo prior to installing the deb? Those calls shouldn't fail regardless of what mode your device in is, given that busybox-power gets all the privileges it requests.

iDont 2012-11-25 18:59

Re: [Announce] busybox-power for Harmattan
 
@Garp, thanks for your interest in busybox-power, glad to see it's working
and @thedead1440, thanks for helping others out with installing busybox-power :)

Even though I think the OP provides all the necessary information to get busybox-power for Harmatten up and running, here's an alternative summary of conditions you need to meet exactly in order for it to get installed successfully:

Devices in normal mode:
1. your device needs to be incepted
2. aegisctl must be incepted
3. RzR's community shared repo must be enabled or meego-confirm-text must be installed manually
4. MohammadAG's incepted repo needs to be set up correctly (i.e. incepted)

Open mode devices:
1. aegisctl must be installed with AEGIS_FIXED_ORIGIN=com.nokia.maemo set
2. RzR's community shared repo must be enabled or meego-confirm-text must be installed manually
3. MohammadAG's incepted repo needs to be set up correctly (i.e. installed with AEGIS_FIXED_ORIGIN=com.nokia.maemo set)

Open mode devices with aegis neutered (with busybox-power-noaegis):
1. RzR's community shared repo must be enabled or meego-confirm-text must be installed manually
2. MohammadAG's incepted repo needs to be set up correctly (i.e. installed with AEGIS_FIXED_ORIGIN=com.nokia.maemo set)

If you haven't done any magic with flashing kernels, your device is running in normal mode. Open mode users should know what they're running ;).

Edit: *sigh* things are much easier in Maemo <= 5. Oh well..

wolke 2012-11-25 20:33

Re: [Announce] busybox-power for Harmattan
 
Quote:

Originally Posted by iDont (Post 1298322)
Did you export AEGIS_FIXED_ORIGIN=com.nokia.maemo prior to installing the deb? Those calls shouldn't fail regardless of what mode your device in is, given that busybox-power gets all the privileges it requests.

i did, and it installed, but failed to get perms to sign the refhashlist.

BUT i figured out why. i modified the inst scripts, so the hash in the deb for the scripts is no longer correct. i dont have the environment to repackage the deb and add in all the aegis checksums.

iDont 2012-12-02 14:10

Re: [Announce] busybox-power for Harmattan
 
A small update (busybox-power 1.20.2power5+harmattan0):

Besides the regular busybox-power for Harmattan package, busybox-power-noaegis is now installable from MohammadAG's incepted repository as well. No need to download and install the deb yourself anymore if you're a patched Open Mode user.

Furthermore, the first-time installation warning message can from now on be suppressed by touching /tmp/.bbp-unattended prior to installing busybox-power, for those who are automating installations. The first post in this thread has been updated to reflect this change. The warning message is also suppressed when installing busybox-power over SSH and if $DISPLAY is not set.

wolke 2012-12-02 17:04

Re: [Announce] busybox-power for Harmattan
 
AWESOME! thanks a ton
{let me know if you decide to start accepting donations}

ibrakalifa 2012-12-02 17:36

Re: [Announce] busybox-power for Harmattan
 
in 'com.nokia.maemo/local')
file /var/lib/dpkg/tmp.ci/digsigsums cannot beopened
No digsigsums file
(Reading database ... 57885 files and directories currently installed.)
Preparing to replace busybox-power 1.20.2power5 (using /var/tmp/inception/pkg_sQCCRd) ...
busybox-power: unsupported environment: /component/product = RM-696
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
busybox-power: unsupported environment: /component/product = RM-696
dpkg: error processing /var/tmp/inception/pkg_sQCCRd (--install):
subprocess new pre-removal script returned error exit status 1
busybox-power: unsupported environment: /component/product = RM-696
dpkg: error while cleaning up:
subprocess installed post-installation scriptreturned error exit status 1
Errors were encountered while processing:
/var/tmp/inception/pkg_sQCCRd
aegis-installing busybox-power (from 'com.nokia.maemo/local')
incept: Installation failed (1)
~ #

iDont 2012-12-02 20:55

Re: [Announce] busybox-power for Harmattan
 
Quote:

Originally Posted by ibrakalifa (Post 1300695)
in 'com.nokia.maemo/local')
file /var/lib/dpkg/tmp.ci/digsigsums cannot beopened
No digsigsums file
(Reading database ... 57885 files and directories currently installed.)
Preparing to replace busybox-power 1.20.2power5 (using /var/tmp/inception/pkg_sQCCRd) ...
busybox-power: unsupported environment: /component/product = RM-696
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
busybox-power: unsupported environment: /component/product = RM-696
dpkg: error processing /var/tmp/inception/pkg_sQCCRd (--install):
subprocess new pre-removal script returned error exit status 1
busybox-power: unsupported environment: /component/product = RM-696
dpkg: error while cleaning up:
subprocess installed post-installation scriptreturned error exit status 1
Errors were encountered while processing:
/var/tmp/inception/pkg_sQCCRd
aegis-installing busybox-power (from 'com.nokia.maemo/local')
incept: Installation failed (1)
~ #

Hi ibrakalifa,

We parse the output "/usr/bin/sysinfoclient --get /component/product" with awk from the busybox binary that is shipped with busybox-power, so I'm a little bit bewildered as to why there was a parse error (the output of the aforementioned command is piped to $EXECPWR awk '{ print $3 }', with $EXECPWR being /opt/busybox-power/busybox.power).

If you could provide the following information (via PM or in this thread), that would be great:
- What steps did you perform to get this output (e.g. install busybox-power, reboot, uninstall)?
- Do the applets from /opt/busybox-power/busybox.power work? For example, does running `/opt/busybox-power/busybox.power awk` from the terminal result in the help text of awk being printed?
- Is your device in Normal mode, Open mode, or Patched Open mode?

Thanks

ibrakalifa 2012-12-03 17:18

Re: [Announce] busybox-power for Harmattan
 
normal mode incepted, already uninstalled and so far so fine, sorry for late answer

via apt-get and manual installation got same results
and im sure i follow the instruction correctly, i dunno why, :)


All times are GMT. The time now is 01:51.

vBulletin® Version 3.8.8