Reply
Thread Tools
Eminem's Avatar
Posts: 212 | Thanked: 184 times | Joined on May 2010 @ Sweden
#131
I get this error message. Any thoughts?

RM696-21-3_PR_001:~# cp /etc/init/enable-swap.conf /tmp/enable-swap.conf
cp: can't open '/etc/init/enable-swap.conf': Permission denied
 
Posts: 1,067 | Thanked: 2,383 times | Joined on Jan 2012 @ Finland
#132
Originally Posted by Eminem View Post
I get this error message. Any thoughts?

RM696-21-3_PR_001:~# cp /etc/init/enable-swap.conf /tmp/enable-swap.conf
cp: can't open '/etc/init/enable-swap.conf': Permission denied
That only happens if you have not followed the instructions to the letter, since it will always return permission denied if you have edited that file and before aegis refhashlist is happy about the new signature.
__________________
IRC: jonni@freenode
Sailfish: ¤ Qt5 SailfishTouchExample ¤ Qt5 MultiPointTouchArea Example ¤ ipaddress ¤ stoken ¤ Sailbox (Dropbox client) ¤
Harmattan: ¤ Presence VNC for Harmattan ¤ Live-F1 ¤ BTinput-terminal ¤ BabyLock ¤ BabyLock Trial ¤ QML TextTV ¤
Disclaimer: all my posts in this forum are personal trolling and I never post in any official capacity on behalf of any company.
 
Eminem's Avatar
Posts: 212 | Thanked: 184 times | Joined on May 2010 @ Sweden
#133
Originally Posted by rainisto View Post
That only happens if you have not followed the instructions to the letter, since it will always return permission denied if you have edited that file and before aegis refhashlist is happy about the new signature.
Fixable or reflash?
 
Posts: 1,067 | Thanked: 2,383 times | Joined on Jan 2012 @ Finland
#134
its fixable if you still have opensh shell open with tcb-sign rights and matching enable-swap.conf file in filesystem ie /tmp/ that you can read sha1sum from, if not then its a reflash.
__________________
IRC: jonni@freenode
Sailfish: ¤ Qt5 SailfishTouchExample ¤ Qt5 MultiPointTouchArea Example ¤ ipaddress ¤ stoken ¤ Sailbox (Dropbox client) ¤
Harmattan: ¤ Presence VNC for Harmattan ¤ Live-F1 ¤ BTinput-terminal ¤ BabyLock ¤ BabyLock Trial ¤ QML TextTV ¤
Disclaimer: all my posts in this forum are personal trolling and I never post in any official capacity on behalf of any company.
 

The Following User Says Thank You to rainisto For This Useful Post:
Posts: 230 | Thanked: 302 times | Joined on Oct 2009 @ Helsinki, Suomi (Finland)
#135
@Eminem

I fixed something like this (different file, but the same problem) after I had ariadne shell closed and had malf warning popping up on my screen.

I used aegisctl to enter permissive mode, edited the file back to what it was and used ageisctl to return to developer mode. Then IIRC I ran devel-su, ariadne sh and finally validator-init, aegis-loader and echo 1 > /sys/kernel/security/validator/flush after which the device returned to normal state and works fine till today.

Details are bit fuzzy in my head, so I'm not 100% sure about exact steps I took, but if you have no other options you might try something along those lines as last resort. Idea is to have the file in a state that it was, when refhashlist was last succesfully updated.

PS. If reflash is your only option and you want to avoid playing with refhashlist in the future I suggest you to flash to open mode.

Last edited by ladoga; 2013-02-07 at 18:14.
 
Eminem's Avatar
Posts: 212 | Thanked: 184 times | Joined on May 2010 @ Sweden
#136
Originally Posted by ladoga View Post
@Eminem

I fixed ....
Reflashed it and did it right this time.
 
Posts: 91 | Thanked: 50 times | Joined on Mar 2012 @ Kula, Serbia
#137
Is there any way that someone could explain the whole process in a totally noobie (and I mean toooootally noobie) way or write some scripts that could do that process with one click?!

please... ^^
 
Posts: 126 | Thanked: 39 times | Joined on Mar 2010 @ Lebanon
#138
how can we incept opensh without a .deb package ?
 
Posts: 152 | Thanked: 70 times | Joined on Aug 2012 @ India
#139
Originally Posted by branja View Post
Is there any way that someone could explain the whole process in a totally noobie (and I mean toooootally noobie) way or write some scripts that could do that process with one click?!

please... ^^
I have written a complete guide for noobies (I am also one of them) but its in .docx format and contain few link to direct download software as well.. I have posted it here however it has been removed as it must have break any rule of the forum

Can anyone suggest how I can best post that guide here, without breaking the forum rules. I am happy to make changes to guide.

Cheers

Originally Posted by baboo View Post
how can we incept opensh without a .deb package ?
If you have inception installed then you need not to install opensh instead try "ariadne sh" as both of these are same thing and give same result.

Cheers

Last edited by kumary; 2013-02-09 at 18:59.
 

The Following User Says Thank You to kumary For This Useful Post:
Posts: 230 | Thanked: 302 times | Joined on Oct 2009 @ Helsinki, Suomi (Finland)
#140
If you use patched openmode you can just edit /etc/init/enable-swap.conf and be done with it. No additional steps needed.

If you have incepted device and are unsure about following Rainisto's step by step instruction you probably shouldn't even try it. (or atleast be aware that one typo or logging out of shell between the steps is very likely to malf your N9 and require a reflash.) Similarly if you don't have a clear idea why you are doing this, (no it won't speed up things noticeably/at all unless you have something already hogging up most of your RAM.) then don't do it.

Last edited by ladoga; 2013-02-10 at 06:13.
 
Reply


 
Forum Jump


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