![]() |
Re: [Announce] kernel-plus for Harmattan
Can someone tell me how far this open mode goes? uname -a returns the correct kernel version, and the system works a lot faster than the normal n9 one, which is really nice to see.
But Ive tried to install a package with dpkg -i and Ive received an aegis security error. So I guess aegis is not fully patched out? using dpkg.real did the trick, but normally the kernel should disable aegis, or do I understand it wrong? |
Re: [Announce] kernel-plus for Harmattan
openmode patch includes allowing to load unsigned kernel modules, executing binaries from any location, unrestricting root privileges and disabling refhash integrity check. thats all.
you cant remove aegis from kernel, because many os components are based on aegis services, and you cant rebuild system. if you want aegis-free environment you'll use Nemo. |
Re: [Announce] kernel-plus for Harmattan
Quote:
The patched dpkg checks for file signatures when installing system packages - are you using you used Code:
export AEGIS_FIXED_ORIGIN="com.nokia.maemo" |
Re: [Announce] kernel-plus for Harmattan
Thanks for clearing that up.
Yes ive used that export and then I got it working. Ive installed the aegis-hack afterwords and now everything works properly :) |
Re: [Announce] kernel-plus for Harmattan
Quote:
Is there any news about "kernel-plus 2.6.32.61 r7" or "kernel-plus 2.6.32.61 Final" or newer than 61? Thanks a lot |
Re: [Announce] kernel-plus for Harmattan
Just a little update, since I've been off TMO for quite a while:
I'm working on rebasing kernel-plus on top of the Mer N9/50 2.6.32 kernel and Mer toolchain, as the Harmattan SDK is officially offline (and deprecated, if I kept building with HSDK, it'd be a pain for others to install and build using it), and it'd be a lot easier to track Git commits with the log from the Mer N9 kernel. |
Re: [Announce] kernel-plus for Harmattan
Quote:
I would build the kernel myself, but no way to download the sdk, as you mentioned... |
Re: [Announce] kernel-plus for Harmattan
@Hurrian @Juiceme i have a non-standart question. Is there any way in kernel to have display framebuffer in portrait rotation? I'm asking because of sailfishos v > 1.0.2.5 going to be crazy on N9's framebuffer. I know about fbrotation cmdline parameters, but it seems not to work.
|
Re: [Announce] kernel-plus for Harmattan
Quote:
I suspect it's related to this bug report filed quite some time ago. WARNING: This will flip display 180 degrees, but touch mappings will not rotate! You may need to reboot after. Code:
echo 2 > /sys/class/graphics/fb0/rotate Quote:
I've trashed my build VM with the Harmattan SDK on it, leaving me with one option - migrating to Mer+SB2 SDK. The source code is here for anyone with a functioning Mer+SB2+Nemo N950 SDK. TODO:
|
Re: [Announce] kernel-plus for Harmattan
I know this'll be a double post, but I just cant resist - I got a little too bored last night while hopped up on coffee.
It's a little teaser of what's to come. Code:
[ 0.000000] Booting Linux on physical CPU 0 I've spent the night patching Aegis to build and link properly against 3.5.3, This turns the boot process into potato once /sbin/init runs, as IIRC it has Aegis hooks. Maybe I need to disable the stock Unix DAC? I'll make a diff and post binaries for any devs to test and work with me in a few. Based on filippz's kernel source tree. EDIT: I've gotten aegis to load as a LSM! :D One minor problem - it looks like due to some methods I've removed (due to deprecated kernel API or somesuch) cause aegis to go completely tits up. You will get a MALF if you boot this kernel, in its current state. You will render Harmattan unbootable (broken refhashlist?) On the plus side, validator-init runs (you get the MALF screen), which means userspace is communicating with the kernel (not in the way we'd want to, but hey, it's a start!) Points of interest: security/aegis/validator/validator.c @525: ipp_hashlist_load [...] Function entirely removed and stubbed, first oops. The original code (this commit, same file, line 530) can probably be rewritten. The code in question that breaks: Code:
bufptr = dentry_path(file->f_vfsmnt->mnt_mountpoint, buffer, buflen); @1338: #if CONFIG_SECURITY_AEGIS_CREDP .task_setgroups and .task_setgid are removed, reflecting a kernel API change (1, 2) Investigate how important these LSM hooks are to Aegis? security/aegis/validator/enforce.c @188: valinfo.hashreq [...] Should probably be changed back to Code:
valinfo.hashreq = (val & HASH_REQ_BIT) ? 1 : 0; WARNING! READ THE ABOVE FIRST! The kernel is here compiled with debug info and more printks, in case some of you have a serial port adapter and/or a propensity for kdb Source patch is here apply on top of filippz's kernel source tree use n9_harmattan_defconfig to build a kernel with aegis enabled WARNING! WARNING! WARNING! WARNING! |
All times are GMT. The time now is 21:10. |
vBulletin® Version 3.8.8