maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   additional swap file (https://talk.maemo.org/showthread.php?t=86752)

TMavica 2013-01-29 14:22

Re: additional swap file
 
Quote:

Originally Posted by chenliangchen (Post 1318748)
I tried with this tweak with open mode on a 512mb N950, but after reboot the swap bacame 0, don't know the reason why...

Big big thank to thedead1440... Without him I can't even try it. :)

same, I flashed to open mode
and followed the instruction, but swap still is 0 MB. I have copy the enable-swap.conf to /tmp and /etc/init folder already

kumary 2013-01-29 15:23

Re: additional swap file
 
Quote:

Originally Posted by TMavica (Post 1318752)
same, I flashed to open mode
and followed the instruction, but swap still is 0 MB. I have copy the enable-swap.conf to /tmp and /etc/init folder already

If you like then grab opensh from the following link:

http://talk.maemo.org/showthread.php?t=85878

and try again.. May be that can help.

cheers

TMavica 2013-01-29 15:31

Re: additional swap file
 
u mean incept that opensh deb?
as i know inception 2.5 , no need opensh anymore

TMavica 2013-01-29 15:32

Re: additional swap file
 
and can you send me yours enable-swap.conf file?

kumary 2013-01-29 15:58

Re: additional swap file
 
Quote:

Originally Posted by TMavica (Post 1318774)
u mean incept that opensh deb?
as i know inception 2.5 , no need opensh anymore

no need to incept it just need to install it.

And it was like that you don't need opensh for installing inception as after PR1.3 aridanesh does the same thing.

but as i have read earlier that no one replied to your query regarding opensh or aridanesh. I would suggest if you can try with opensh.

I haven't tried yet as these are busy days but will try this on this weekend.

pls share your output as it will be helpful for others including me.

cheers

rainisto 2013-01-29 16:00

Re: additional swap file
 
well that screenshot doesn't show you using adriane shell or opensh. Before running the commands you can check if you have enough capabilities in your shell with:

RM696-21-3_PR_001:~# accli -I |grep tcb-sign
aegis-enabler::tcb-sign
RM696-21-3_PR_001:~#

If grep doesn't return that line, then you need to devel-su into opensh, or gain privileges with adriane sh.

TMavica 2013-01-29 16:15

Re: additional swap file
 
Quote:

Originally Posted by rainisto (Post 1318792)
well that screenshot doesn't show you using adriane shell or opensh. Before running the commands you can check if you have enough capabilities in your shell with:

RM696-21-3_PR_001:~# accli -I |grep tcb-sign
aegis-enabler::tcb-sign
RM696-21-3_PR_001:~#

If grep doesn't return that line, then you need to devel-su into opensh, or gain privileges with adriane sh.

i have do ariadne sh, just missed a top
I think is the problem i have is enable-swap.conf, i found i downloaded is 607B...

TMavica 2013-01-29 16:16

Re: additional swap file
 
is that one?
http://pastebin.com/EE9GTBNV

TMavica 2013-01-29 16:42

Re: additional swap file
 
Quote:

Originally Posted by rainisto (Post 1318792)
well that screenshot doesn't show you using adriane shell or opensh. Before running the commands you can check if you have enough capabilities in your shell with:

RM696-21-3_PR_001:~# accli -I |grep tcb-sign
aegis-enabler::tcb-sign
RM696-21-3_PR_001:~#

If grep doesn't return that line, then you need to devel-su into opensh, or gain privileges with adriane sh.

this is ok, it shows as above

my step is:
1. ariadne sh
2. Copied enable-swap.conf (http://pastebin.com/EE9GTBNV) to /tmp/ and /etc/init/, the files is 2.07KB
3. run the command from export A=`sha1sum /tmp/enable-swap.conf |cut -b1-40`;
4. Continue the command until last: /usr/sbin/validator-init; aegis-loader;echo 1 > /sys/kernel/security/validator/flush
5. /sbin/reboot

And checked the swap memory is 0 MB........I dont know which step got problem, all command from step 3 - 4 no any error.

thedead1440 2013-01-29 16:56

Re: additional swap file
 
did you devel-su first? If not then why not?


All times are GMT. The time now is 20:05.

vBulletin® Version 3.8.8