View Single Post
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#95
Originally Posted by coderus View Post
MT-Toggles mod by CODeRUS (it's me )


Changes:
#all
+ added automatically restarting sysuid durung installation/uninstallation
#mt-toggles
+ long press actions
- removed ugly (sorry, Mohammad) SWITCHER_ON/OFF images from bottom
#all toggles
+ changed icons
#bluetooth-toggle
+ changed press behaviour: short press switching between on/off, long press switching on Discoverable mode (green icon)

Install:
= inception/openmode same as before
* but no need in manual restarting sysuid anymore
+ all toggles require mt-toggles version >= 0.0.2 (upgrade it first)
+ also added restricted-system-ui depend in mt-toggles

RED ICONS after installing? Please re-download toggles again, files reuploaded, no need to reboot after installing anymore.

Download links:
mt-toggles_0.0.2_armel.deb
bluetooth-toggle_0.0.2_armel.deb
flashlight-toggle_0.0.2_armel.deb
flightmode-toggle_0.0.2_armel.deb
psm-toggle_0.0.2_armel.deb


P.S. to Mohammad, please teach me how to make commit changes in git, or i can just upload my edited sources.
Hi coderus,

Damn I'm currently in a reboot loop since I tried to upgrade to your 0.0.2 version :

Code:
~ $ devel-su 
Password: 


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

~ # dpkg -i /home/user/mt-toggles_0.0.2_armel.deb
Aegis rejecting /home/user/mt-toggles_0.0.2_armel.deb: package 'mt-toggles' already installed from 'com.nokia.maemo/local' -- not replacing it from unknown origin
aegis aborting dpkg -- all listed package files rejected
Compilation failed in require.
~ # /usr/sbin/incept /home/user/mt-toggles_0.0.2_armel.deb 
Do not continue unless you fully trust the package you are about to install.
Press <Enter> to cancel, or enter your root password to proceed.

Password: 
Package mt-toggles has package signature (origin 'com.nokia.maemo/local')
(Lecture de la base de données... 48363 fichiers et répertoires déjà installés.)
Préparation du remplacement de mt-toggles 0.0.1 (en utilisant .../cache/inception/tmp/pkg_HZHlji) ...
Dépaquetage de la mise à jour de mt-toggles ...
aegis-installing mt-toggles (from 'com.nokia.maemo/local')
Paramétrage de mt-toggles (0.0.2) ...
Restarting sysuid, don't panic ;)
xsession/sysuid start/running, process 23820
Traitement des actions différées («*triggers*») pour «*applauncherd-launcher*»...
~ # RIGHT NOW THE DEVICE REBOOT LOOP
Detailled steps :

Like you said : = inception/openmode same as before

So I have 1st tried to install like it was explained in the original 1st post from MohammadAG.

That mean, switch to devel-su mode and install with a simple dpkg -i /directory_where_is/mt-toggles_0.0.1_armel.deb

But here a problem occur stating Aegis rejecting blahblah etc ...

So countered the problem using /usr/sbin/incept /directory_where_is/mt-toggles_0.0.1_armel.deb

This step ending in a reboot loop ...

So can you say me where I have make mistake ?

A++

Last edited by colin.stephane; 2012-06-29 at 11:24. Reason: Typo's ...