maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Extended Power Menu for Harmattan (https://talk.maemo.org/showthread.php?t=88280)

thedead1440 2012-12-20 08:18

Re: [Announce] Extended Power Menu for Harmattan
 
Quote:

Originally Posted by Garp (Post 1306269)
Thank you for your help and warning!:)
I'm in open mode (installed NITdroid) and as well Incept.
I have reebooted at least once last night!
Do I then still need to do the above commands?
Or can I do it without problem just to make sure?

Ah open mode then you are safe ;) You won't have issues as long as you are in open mode :D

Garp 2012-12-20 08:27

Re: [Announce] Extended Power Menu for Harmattan
 
Quote:

Originally Posted by thedead1440 (Post 1306270)
Ah open mode then you are safe ;) You won't have issues as long as you are in open mode :D

Pyh then I will mop my brow and go eating my breakfast!
Thanks for the warning again!:)

praveenchand 2012-12-20 08:40

Re: [Announce] Extended Power Menu for Harmattan
 
Quote:

Originally Posted by mousse04 (Post 1306090)
I finally download the .deb file and incept it. But let me understand, how to install via MohammadAG repo? Because I'v just done what he said and as I said earlier it doesn't work

Same question....i tried to install via repo, successfully installed but power and rebood didnt work. Repo is incepted too.....Now i downloaded .deb file and incept it. Worked!

shawnfd 2012-12-20 16:22

Re: [Announce] Extended Power Menu for Harmattan
 
Quote:

Originally Posted by coderus (Post 1306239)
@shawnfd app likes to screenshot self? lol =)

hey coderus, the screenshot function I suggested seems to be similiar with the long press pop-up menu in Android 4.0, with several options.

Dont tell me you think its not convenient...:D

coderus 2012-12-20 17:19

Re: [Announce] Extended Power Menu for Harmattan
 
i never saw screenshot feature in android power menu. maybe it specific for some firmwares?

munozferna 2012-12-20 19:55

Re: [Announce] Extended Power Menu for Harmattan
 
I think he means the Home buttom + Power menu combo on Android and IOS to take screenshots. But we don't have a Home Button here :P

shawnfd 2012-12-21 05:10

Re: [Announce] Extended Power Menu for Harmattan
 
Quote:

Originally Posted by coderus (Post 1306417)
i never saw screenshot feature in android power menu. maybe it specific for some firmwares?

Guys your are right, my android device's ROM is customed.

Obviously, it's awesome without press 'home'

coderus 2012-12-21 07:07

Re: [Announce] Extended Power Menu for Harmattan
 
Sorry, i just can't realize how it works then. Explain, please.

shawnfd 2012-12-21 08:01

Re: [Announce] Extended Power Menu for Harmattan
 
Quote:

Originally Posted by coderus (Post 1306520)
Sorry, i just can't realize how it works then. Explain, please.

Forgive my poor English..... I hope this app works so simply that one long press(instead of double press) of power button will pop-up the menu.

And the menu has a screenshot option. You know, common android device use key PowerButton+HomeButton combo to achieve that.

As far as I could see, the Extended Power Menu could add a icon on the pop-up menu, when user press the icon, it will save the screen content the user want into the photo gallery.

I'm not sure whether I made myself clear, forgive my poor english again....:D

coderus 2012-12-23 04:13

Re: [Announce] Extended Power Menu for Harmattan
 
@MohammadAG i finished refhasllist patcher shell script
Code:

#!/bin/sh
#refhashlist patcher

cp /var/lib/aegis/refhashlist /var/lib/aegis/refhashlist.backup

pathname=$1
if [ "$pathname" == "" ];then exit 1; fi

line=$(grep "${pathname}" /var/lib/aegis/refhashlist)
#oldsha1=$(for ii in $(sha1sum /${pathname}); do echo $ii; break; done) #тут был реальный sha1 текущего файла
oldsha1=$(i=0; for ii in $line; do i=$((i+1)); if [ $i -eq 6 ]; then echo $ii; break; fi; done;) #но лучше брать sha1 из refhashlist, чтобы не накосячить наверняка
newsha1=$(for ii in $(sha1sum "/${pathname}"); do echo $ii; break; done)
newline=$(echo ${line} | sed -e "s/${oldsha1}/${newsha1}/")
sed -i -e "s@${line}@${newline}@" /var/lib/aegis/refhashlist

accli -c tcb-sign -F /var/lib/aegis/refhashlist < /var/lib/aegis/refhashlist

usage:
Code:

#do something with something (with /etc/init/group-mce.conf)
refhashlist.sh etc/init/group-mce.conf #without first slash!



All times are GMT. The time now is 11:37.

vBulletin® Version 3.8.8