![]() |
[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 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 |
Re: [Announce] busybox-power for Harmattan
<Reserved post, might come in useful in the future>
|
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. |
Re: [Announce] busybox-power for Harmattan
Quote:
Quote:
|
Re: [Announce] busybox-power for Harmattan
YES! this is what i was looking for last week.
little problems during the installation though: Quote:
apt-get install busybox-power (stock kernel, inception, aegisctl) after incepting downloaded busybox package manually, all seems good for now. |
Re: [Announce] busybox-power for Harmattan
Quote:
Quote:
|
Re: [Announce] busybox-power for Harmattan
yep, my bad, Mohammad's repos was installed with Schturman' N9QT script, and probably not incepted.
thanks. |
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. |
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! |
Re: [Announce] busybox-power for Harmattan
Quote:
Quote:
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 ; - ) |
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 ... |
Re: [Announce] busybox-power for Harmattan
Quote:
-- 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. |
Re: [Announce] busybox-power for Harmattan
hmmm,cant seem to install the MeeGo-confirm-text......broken package...
|
Re: [Announce] busybox-power for Harmattan
Quote:
I have it up and running here without any issues... |
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 ~ # |
Re: [Announce] busybox-power for Harmattan
Quote:
Quote:
|
Re: [Announce] busybox-power for Harmattan
ahhh,i didnt know i must incept it,thanks :)
|
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. |
Re: [Announce] busybox-power for Harmattan
Quote:
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 :). |
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 |
Re: [Announce] busybox-power for Harmattan
Quote:
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? |
Re: [Announce] busybox-power for Harmattan
Quote:
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! |
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
|
Re: [Announce] busybox-power for Harmattan
Quote:
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.) |
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... |
Re: [Announce] busybox-power for Harmattan
Quote:
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? |
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 ~ # |
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 Code:
~#export AEGIS_FIXED_ORIGIN=com.nokia.maemo What you have done for fixed origin is incorrect hence your package is not installed via fixed origin and is from unknown source... |
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. ~ # :(:(:) |
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... |
Re: [Announce] busybox-power for Harmattan
Quote:
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!:) |
Re: [Announce] busybox-power for Harmattan
Good to see it works! Its my pleasure :)
|
Re: [Announce] busybox-power for Harmattan
Quote:
Quote:
Quote:
|
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.. |
Re: [Announce] busybox-power for Harmattan
Quote:
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. |
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. |
Re: [Announce] busybox-power for Harmattan
AWESOME! thanks a ton
{let me know if you decide to start accepting donations} |
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) ~ # |
Re: [Announce] busybox-power for Harmattan
Quote:
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 |
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