Active Topics

 


Reply
Thread Tools
Posts: 53 | Thanked: 90 times | Joined on Nov 2009 @ Manaus, Brazil
#31
Hi,

I few ideas for people who want to build custom kernels for N950 in order to disable aegis:

* If you want to disable Aegis, just disabling it on "make menuconfig" will actually make the system unbootable (from my own experience). This is because various commands used during initialization will begin to fail.
* My tip to "disable" Aegis is to actually neutralize it, i.e. make the userspace think it is enabled, but on kernel side it is not enforced.

For instance, aegis is not "sealed" by default. At some point during initialization it is sealed with a write to a /sys/... file. So you can modify the function which implements the writing on kernel side (write_enable() in security/aegis/validator/enforce.c) to actually not set the seal bit, so it remains unsealed. You may also need to disable the bit which prevents "unsigned" kernel modules from being loaded, given that you built the kernel yourself, the hashes have probably changed.

I was too lazy to verify what each of those bits in /sys/.../enforce means, so I simply added a:

memset(&valinfo, 0, sizeof(valinfo));

right before "return count" in write_enable().

Hope that helps,
__________________
Anderson Lizardo
 

The Following 10 Users Say Thank You to lizardo For This Useful Post:
Posts: 284 | Thanked: 320 times | Joined on May 2010 @ Peterborough, UK
#32
Could you confirm how you were able to flash the kernel to the N950, as I've been trying but failing to do exactly that with my BFS+BFQ build? I mean on-device via fiasco-flasher(-update), I imagine it's quite straightforward using the OneClickFlasher but I need a packageable solution..
 
Posts: 53 | Thanked: 90 times | Joined on Nov 2009 @ Manaus, Brazil
#33
I flashed using the flasher tool on Linux desktop, i.e. not on-device. I don't know how/if you can do that on-device easily.

Good luck!
__________________
Anderson Lizardo
 

The Following User Says Thank You to lizardo For This Useful Post:
Posts: 13 | Thanked: 0 times | Joined on Aug 2009 @ SC; USA
#34
Originally Posted by qole View Post
THANK YOU javispedro! I can now chroot into my image!
Do you think you could write up a guide to get this going on the N950? My goal is to do all of my development on the N950 itself so I can code whenever I get free time. I have been away from Linux since I sold my N900, but I am trying to dig back in after being on Symbian^3, iOS, and Android lately.
 
Posts: 251 | Thanked: 70 times | Joined on Nov 2009
#35
would be nice if anyone creates .deb to disable aegis checks.
 

The Following User Says Thank You to arkanoid For This Useful Post:
Moderator | Posts: 5,320 | Thanked: 4,464 times | Joined on Oct 2009
#36
Originally Posted by hawaii View Post
http://pastebin.com/x0LiTcDB
Looks like the WL1271_spi driver supports RFMON, but it's likely broken again ala wl1251. No support for live frame injection yet. Once kernels get up and running, mac80211 can be tossed on and then patched. This is high on my priority list along with FMTX.
If anybody has any project requests or wants to discuss something less "mainstream", please post up.
Kudos Hawaii
*RFMON
*Frame injection
*Mac80211
Is great functionality to eventually migrate to the N9.

But I'm not sure you're going to be able to implement FMTX.
I recall someone (actually from Nok IIRC) claiming the antenna or connection isn't there.
FMRX IIRC should be possible, but apparently not FMTX

Probably not an issue for the N950...
But that's not the point of you guys having the N950's.

Cheers.

Last edited by jalyst; 2011-09-06 at 08:50.
 
Posts: 284 | Thanked: 161 times | Joined on Dec 2009
#37
looked in /usr/share too see if there was a folder to check to see if i could turn the red.led off while recording, i doubt itd be in the sounds fold for the camera.. any clue?
 
hawaii's Avatar
Posts: 1,030 | Thanked: 792 times | Joined on Jun 2009
#38
It likely tied into the camera firmware package or the kernel driver. You'd have to either reverse engineer the FW, or disable it from within the module like on the N900.
 

The Following User Says Thank You to hawaii For This Useful Post:
caco3's Avatar
Posts: 560 | Thanked: 423 times | Joined on May 2010 @ Switzerland
#39
Just in case you get to the lovely malfunctioning screen (see http://talk.maemo.org/showpost.php?p...3&postcount=26).
I had it, together with the message: Unidentified problem (unknown).
It didnt want to boot any more, UNLESS I connected it to my PC and switched it on.
Then it started and I could use it again.

This way you still can use it (until next boot) and save your data and so on, before you reflash it.


Update:
The flashing will delete your backups!!!!
So wherever they are, make sure you copy them to another partition!
__________________
On N9 check out this:
CacheMe 4 the N9, a geocaching client / MiniBible, a bible viewer / TheWord brings daily bible verses onto your phone / BatteryGraph to monitor the battery drainage / doublepress2unlock to unlock your phone with a double press onto the power button / GPRS Data Usage to monitor your GPRS data usage /
and more...

On N900 check out this: SleepAnalyser to analyse your sleep movements / PasswordMaker a for a password generator

Last edited by caco3; 2011-08-14 at 22:20.
 

The Following 3 Users Say Thank You to caco3 For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#40
Flashing will delete everything... however, it somehow preserved my previous contacts (recognized them 'cause I had some new ones), but strangely imported them silently after I imported my N900 ones, creating duplicates all over. Very strange bug, I expected everything to be deleted...
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:34.