yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II Original Android Development] umberto1978:
You are rigth, my ramdisk in not on github. But i haven't touch nothing on initramfs to disable selinux at each boot.

To make this i have enabled

CONFIG_SECURITY_SELINUX_BOOTPARAM

and as consequence i give the parameter the 0 value

CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE

And according to the related explanation

This option sets the default value for the kernel parameter
'selinux', which allows SELinux to be disabled at boot. If this
option is set to 0 (zero), the SELinux kernel parameter will
default to 0, disabling SELinux at bootup. If this option is
set to 1 (one), the SELinux kernel parameter will default to 1,
enabling SELinux at bootup.

Selinux will be compiled on kernel as usual but will be stopped working at boot.

The main advantage to doing this, is that using this configuration i can switch to any other kernel with permissive or enforcing (i am not sure of this last) mode without any issue related to labeled or non labeled file system. Afaik, at least you don't have to relabel before running a Selinux enabled kernel.

But there's only one thing i can't understand on your question: some month ago i used your kernel and noticed the selinux status to be disabled as well. What's the point? :confused:
[Galaxy Note II Original Android Development] DerTeufel1980:
I just don't own a n7100 and it has been off by fault :P did you try my latest? Is it still off?

Edit: can selinux be enabled on the fly with your config option?

Edit 2: with on the fly I mean at boot time from initramfs for example

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Galaxy Note II Original Android Development] ugoms:
Dev thanks for the smooth kernel but can you please enable option to set battery charging values as charging can be pretty slow sometimes.
[Galaxy Note II Original Android Development] umberto1978:
Yep it still off (at least when used on a stock firmware).

Actually, not. To let selinux be disabled on a running system we need to enable one more flag on configuration: selinux_disable_runtime

I can test if you need informations about it just to understand, once this option is enabled, how and with which command selinux can be switched and if is needed a line on ramdisk somewhere.

Inviato dal mio GT-N7100 utilizzando Tapatalk
[Galaxy Note II Original Android Development] matttheman:
charging rate

yeah please add charging rate. my charger also charges slowly . awesome update man keep it up
[Galaxy Note II Original Android Development] DerTeufel1980:
Yeah. Would be cool to be able to disable and enable it completely at boot

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Galaxy Note II Original Android Development] Axelman8:
Hi

Dude, what about swipe to wake... have you got some development on that?

Regards

Axelman
[Galaxy Note II Original Android Development] umberto1978:
Not yet. I actually applied the old touchwake commit (originally by derteufel) that on 4.1.2 kernel was pretty stable (setting timeout 0 should trigger slide2wake)

With 4.3 source i think The issue is for sure my superficial and bad merging with the new sensor driver layout (slightly different from the old implementation). Now that overall kernel seems stable enough, I can continue other tuning or minor bug fixes.

Including make functional slide 2 wake if I am skilled enough.

Inviato dal mio GT-N7100 utilizzando Tapatalk
[Galaxy Note II Original Android Development] DerTeufel1980:
I got the selinux init hacked. I am calling the function to disable selinux from sysctl.c, depending on rom_feature_set. For example I have selinux disabled for Samsung rom, but strict for aosp roms :)

Gesendet von meinem SAMSUNG-SGH-I317 mit Tapatalk 2
[Galaxy Note II Original Android Development] loomis:
hi umberto1978, I don't know what happen that my modem was gone after flashing speedwizz_kernel_N2_BETA_2014-01-22-09-44-12.zip, does it support N7105? I am using N7105XXUEML3 4.3 stock rom.. :s
[Galaxy Note II Original Android Development] umberto1978:
This is normal and obvious. This kernel support only N7100 device. Flash-back a working kernel for N7105 and you should be Ok.

EDIT: And is also normal that i am a stupid...checked the first page and noticed that isn't clear enough (provoke confusion).

Please forgive me :(
[Galaxy Note II Original Android Development] umberto1978:
Great!

Where i can find more details?
[Galaxy Note II Original Android Development] DerTeufel1980:
I'll upload complete source later, or I'll tell you the details. Quick: disable_selinux gets compiled by enabling the same option in defconfig, and it's meant to be an option to trigger at boot. Unfortunately selinux isn't mounted when sbin/init is running. Hence I hooked the trigger up to my rom_feature_set function in sysctl.c (this function is part of dual boot code but could easily be ported without), then I just call disable_selinux when rom_feature_set == some value. And this value gets written from sbin/init, because sysctl.c and its functions are starting very early during kernel init

Gesendet von meinem SAMSUNG-SGH-I317 mit Tapatalk 2
[Galaxy Note II Original Android Development] umberto1978:
Yeah, i tried the disable_selinux for all the morning today, without success for the same reason. Very good idea to make involved sysctl :good:

Also i read in your thread about f2fs for your project: it would be great if you can include in recovery the option to perform a "LagFix" with one click (did you remember I9000 times?)

...lets see if there is enough free space on sdcard

...backing up partitions

...formatting partitions as f2fs

...restoring partitions

...reboot

BOOOOM!

Good luck ;)
[Galaxy Note II Original Android Development] gravedigger666:
When I flash this kernel through cwm and I got stuck on the speedwizz logo. I checked the zip in philz recovery and it said untrusted/not signed. I just flashed agni through cwm and I don't have any problems

Send from my GN2
[Galaxy Note II Original Android Development] umberto1978:
Very strange and weird issue.

Anyway the unsigned zip is not a problem if you thought so.

That's something else strange happening in your case.

On What device you are testing kernel?

7100 international?

EDIT: also...are you sure you have flashed latest beta? Something is telling me you flashed wrong kernel.....

Inviato dal mio GT-N7100 utilizzando Tapatalk
[Galaxy Note II Original Android Development] gravedigger666:
Yeah i'm testing on a n7100 international. It hangs on speedwizz logo and then screen turns black and stays black.

Send from my GN2
[Galaxy Note II Original Android Development] umberto1978:
I edited the previous post...

Please link me what you are flashing. Thanks.

Inviato dal mio GT-N7100 utilizzando Tapatalk
[Galaxy Note II Original Android Development] gravedigger666:
I flashed the first zip from this page :

http://speedwizzproject-theneworder.blogspot.it/p/speedwizz-kernel-n2.html?m=1

Send from my GN2
[Galaxy Note II Original Android Development] umberto1978:
As I thought.

You must install this instead

http://speedwizzproject-theneworder.blogspot.it/p/in-this-page-you-will-find-stable-of-my.html?m=1

My bad...will fix op ASAP.

Inviato dal mio GT-N7100 utilizzando Tapatalk
[Galaxy Note II Original Android Development] gravedigger666:
Thanx wil flashed it tonight when i'm done with work

Send from my GN2
[Galaxy Note II Original Android Development] umberto1978:
And anybody here who want to test an t0lte variant of this kernel?

Write here or pm and I will send a link.

Many thanks. ..

Inviato dal mio GT-N7100 utilizzando Tapatalk
[Galaxy Note II Original Android Development] heat57:
Hi Umberto. First off, this is stellar work and for this I thank you. I have tried several of the custom kernels for TW based ROMs and this one is very stable and very fast.

I have to say that I had a very trying time getting it to work, but I understand that each ROM and each device have their own quirks and, therefore, I had to go to basics and completely nuke my phone and start from scratch. Eventually I have a beautifully running system with Ditto DN3.2 and your latest beta kernel.

I only encountered one problem, couldn't boot the phone beyond the Samsung logo, having set the kernel to zipalign at every boot. I then managed to remove this particular setting and ever since it seems fine. I also overclock the kernel to 1800MHz with no random FCs or shutdowns.

One question, could you please expleain in simple terms what fbearlysuspend is and does? Is it beneficial to turn it on?

Once again, thank you for your work!

P.S. I have a GT-n7100 International variant
[Galaxy Note II Original Android Development] umberto1978:
If you have had problem with zipallign then leave it off, specially with customised rom, some modification may breaks the entire apk when try to fix zipallign state of the compressed archive. And if it's a crucial framework apk it is normal that system won't boot. It's not a kernel fault, trust me.

Related to fbearlysuspend delay it is related on the presence (depends on rom) of the crt effect: this delay (if enabled) will make the screen to turnoff lately rather then stock which is turning off immediately instead.

It'll not have any impact on performance neither battery life. Only visual point of view.

Inviato dal mio GT-N7100 utilizzando Tapatalk
[Galaxy Note II Original Android Development] jimpsar:
Hello just flash the 22nd beta zip file but no spedwizz manager app to control kernel features found.

Am i doing something wrong or there is a separate .apk file need to install ?

Thank you and welcome back to 4.3 era of note 2 :)
[Galaxy Note II Original Android Development] umberto1978:
No problem: expected it.

Just use a root file explorer (like es) and go to /res/misc (this path is on the root of your sd card, where ramdisk is allocated) and copy paste, from here to your sdcard, the file called speedwizz_manager.apk.

Then tap on this file and install like any other user application (if it ask to overwrite existing application, say yes and go on), it should work.

DO NOT try to install directly: you must copy to some other place before installing, or you will get a signature package error.

Inviato dal mio GT-N7100 utilizzando Tapatalk
[Galaxy Note II Original Android Development] ph10m:
Seems like your site is down. Any mirror for latest download?
[Galaxy Note II Original Android Development] Uz4ever:
You can take it from my Dropbox

https://www.dropbox.com/s/47cfquffiqyjgk6/speedwizz_kernel_N2_BETA_2014-01-22-09-44-12.zip

Sent from somewhere with my UZgalaxyNote2
[Galaxy Note II Original Android Development] loomis:
Many thanks for Umberto1978 doing the testing build for N7105 users, thanks for your PM and I would like to show my appreciation by buying you a beer and how can I do it? I don't see any link? ;)
[Galaxy Note II Original Android Development] umberto1978:
You don't find any donation link because it doesn't exist.

A huge THANK YOU for the noble thought, if you accept my advice you can make your donation to those who really need it. I don't expect to save the world with a poor kanged kernel ;)

And just for information: I fixed OP in first page with useful informations about kernel version, to avoid confusion in the future.

PS.: i answered to your PM sending a link to the test LTE kernel. let me know.
[Galaxy Note II Original Android Development] rraaka:
welcome back umberto , i had to blink twice to believe it !!

is there a rom ( in english) which we can try too ? i tried your 412 ones :p

if this kernel is powerful enough to ensure root on ml6 it might just give those on 412 bootloader normal access to wifi without need to upgrade to 4.3 bootloader ( just surmising...cant experiment as im already on 4.3 bootloader)
[Galaxy Note II Original Android Development] ytgbg:
Hi Umberto!

Thank you for the amazing kernel.

I want to inform you that your kernel (January 22nd edition) brought back my root on Android Revolution HD 20 ROM, which is 4.3 TW based.

I had big loosing root issues (and a lot of the rom users also) and even Dr. Ketan Tool didn't help and all in the ROM thread suggested ways to bring back the root also didn't help.

Your kernel is powerful and great! Keep development alive and your work gained one more follower. I will hit the thanks button!
[Galaxy Note II Original Android Development] umberto1978:
Noway. Kernel is compiled without samsung rooting stupid restriction feature and get selinux to an non-offensive

disable state to help on root but it can't have control over bootloader write protection: in case of trouble everyone should consider to upgrade bootloader at least to mj5 (Knox free).

Kernel comes with a proper busy box and as I stated above without any root restriction. This can effectively help in root gaining but keep in mind that kernel itself has NOT any autoroot (busy box apart).

I am working on adding full control over root like on 4.1.2 kernel (maybe useful handle root as many paying apps won't work if in presence of root rights).

Inviato dal mio GT-N7100 utilizzando Tapatalk
[Galaxy Note II Original Android Development] umberto1978:
Any news on testing?

Inviato dal mio GT-N7100 utilizzando Tapatalk
[Galaxy Note II Original Android Development] loomis:
I'm downloading now and will test soon, many thanks.. :p

p.s - after flashing, my baseband disappear again..

phone hang once after first restart... :confused:
[Galaxy Note II Original Android Development] umberto1978:
I am missing something on kernel configuration. Or I linked the wrong zip.

Got drunk and let you know. LOL

Inviato dal mio GT-N7100 utilizzando Tapatalk
[Galaxy Note II Original Android Development] loomis:
hehe.. looking forward for your great work... :D
[Galaxy Note II Original Android Development] umberto1978:
Mmmmhhhhh No. The zip that i have sent to you is correct, i checked defconfig and seems correctly setted-up.

Definitely missing something else for sure.

Can you attach or link me a stock kernel for n7105 so i can take a look inside ramdisk?

I need boot.img file (you can extract from one of the latest official firmware), no need to zip or anything.

Thank you again.
[Galaxy Note II Original Android Development] loomis:
I have attached boot.img file for your reference, thanks again... :)
[Galaxy Note II Original Android Development] DerTeufel1980:
You need to take cbd binary inside /sbin, if you didn't already. That caused my baseband to disappear.

Also, faux123 is having issues to get baseband work with stock rom, stock inutramfs and stock kernel sources...

Gesendet von meinem SAMSUNG-SGH-I317 mit Tapatalk 2
[Galaxy Note II Original Android Development] umberto1978:
Useful information as always. I suspected some differences between some files inside ramdisk and you just confirmed.

Many thanks for this.

The only thing I don't understand is the faux' s issue: my thought is that what we compile from samsung source is always a little different than stock distribution zimages.

And if this is true it's unacceptable.

Anyway now I am just curious to see what happens :D

Inviato dal mio GT-N7100 utilizzando Tapatalk
[Galaxy Note II Original Android Development] umberto1978:
Done. You have pm.

Inviato dal mio GT-N7100 utilizzando Tapatalk
[Galaxy Note II Original Android Development] umberto1978:
[MENTION=1988269]Ioo[/MENTION]mis

The reason why your n7105 has this issue despite the ramdisk modifications (and yeah I used the right files, I was wrong in my last pm) is the selinux state .

Until it is disabled your will loose your baseband.

Trying just now to compile an image which can lead to permissive mode instead of totally disabled.

Inviato dal mio GT-N7100 utilizzando Tapatalk
[Galaxy Note II Original Android Development] rraaka:
http://xdaforums.com/showpost.php?p=49896617&postcount=8229

this sounds like old bootloader and working wifi with speedwiz

not sure though, the rom has a bootloader, not sure which, and whether it flashes itself :confused:
[Galaxy Note II Original Android Development] umberto1978:
Nope. Recovery can't flash bootloader. And as conseguence there's no custom rom that can flash a bootloader.

Keep in mind that not every device had to suffer with wifi. In case users can flash a patch or a new bootloader to resolve the issue.

Also, (most probably) maybe the user from ARHD thread had already flashed a patch in the past: it's necessary only one shoot just to make wifi work with a 4.3 rom/kernel and old 4.1.2 BL.
[Galaxy Note II Original Android Development] steven8590:
Hi all, I started using this kernel after losing root with Android revolution and it worked brilliant. Now I changed rom to Sotmax which is a TW 4.3 rom and this kernel works correctly as well. The only difficulty I have is that the application did not install itself when I installed this kernel and I flashed the kernel two times with no success. Is there a way to get the application on its own please?
[Galaxy Note II Original Android Development] sEiNZu:
Im that user and nope never flashed a patch or diffrent bootloader. I have experienced in the past that sometimes after flashing a rom that wifi was broken (turned itself automatically off) which was the case with ARHD 20.1 aswell but after flasging speedwizz kernel it worked again. Have to say i updated to mj5 bootloader regardless now.
[Galaxy Note II Original Android Development] rraaka:
found another similar experience but with devil kernel. -- http://xdaforums.com/showpost.php?p=49912433&postcount=469

fakejap had tried booting his 4.3 with devil kernel when mk4 had released but it didnt trigger the wifi, even with patches. but Devil kernel might have different qualities now.
[Galaxy Note II Original Android Development] umberto1978:
Sorry for delay...

Anyway, i am testing new build that should resolve this and other minor problem, while it improves stability a bit.

Autoroot swicth, selinux permissive and LTE version incoming.
[Galaxy Note II Original Android Development] steven8590:
Thank you very much I appreciate it.
[Galaxy Note II Original Android Development] matttheman:
awesome!

Awesome can't wait! Please umberto let there be charging rate support like in devil agni and plasma please. My charger charges incredibly slow I can't use a kernel without it. Can't wait to see what new surprises await us in this new update!
[Galaxy Note II Original Android Development] dikkebas:
Flashed your 22/1 build and subscribed to this thread.

Looking good so far, will give feedback after some days, thanks!
[Galaxy Note II Original Android Development] frezd:
Speedwizz tool - autostart at boot ?

Hi ,

Just wanted to know if the tool gets activated or when the mobile reboots or do I have to manually click on the tool/soft to activate my configuration like th CPU underclock, sheduler etc...

I know that like for Trickster there is enable autostart at boot function.:confused:

Thanks for your reply.

Best

BTW : using you kernel since the 4.1.2..awesome..hope you ll make it better and better..
[Galaxy Note II Original Android Development] umberto1978:
No need to re enable all your settings: each choice you make correspond to a script (first time this is executed immediately) placed to init.d folder, which means that is enabled at each boot as per run parts init.d support embedded on this kernel.

Inviato dal mio GT-N7100 utilizzando Tapatalk
[Galaxy Note II Original Android Development] matttheman:
Hope all is good

Hope all is good umberto. Glad to see your back man. Not trying to bother anyone or asking fit etas .. But can't wait for your next update and more surprises from your wonderful kernel one of my fave devs ever. Only features if really like to see added is screen color calibration and charging control as it is a must cause I have a really suckish charger. Hope all goes well :)
[Galaxy Note II Original Android Development] RONAKGUNE:
Can anyone please tell me how to get back to the stock kernel?

and if we have to flash the stock kernel to get back can you give me the link to do so? :silly:
[Galaxy Note II Original Android Development] umberto1978:
U no bekap?

If no you can extract a stock image from a firmware. As far as I know there is no package around this forum with only boot.img...so no link, sorry.

Inviato dal mio GT-N7100 utilizzando Tapatalk
[Galaxy Note II Original Android Development] dikkebas:
If it is MK9 you need I have a cwm zip of that somewhere

Edit: I made you one. Used the SpeedWizz kernel zip (so initd gets backed up and cleaned) and dropped in stock MK9 boot.img

[MENTION=4252217]umberto1978[/MENTION] , hope you don't mind

And have a nandroid and rom zip on your SD so you can restore or reflash if it doesn't work like it should
[Galaxy Note II Original Android Development] haybill:
Thanks for putting this 4.3 based kernel together- looks interesting.
[Galaxy Note II Original Android Development] gravedigger666:
Kernel looks good very responsive with the modified pegasusq governor. But could you ad support for the lulzactive app so we can easily tune the lulzactive governor?
[Galaxy Note II Original Android Development] umberto1978:
Assuming that will be further update for the project, I can consider to add a tweaked version of lulzactiveQ as well as pegausQ.

Including ALL the tunables on the script manager application is not a good idea, trust me.

If you are skilled enough you can always use another app like trickster mod to mod what you need.

Regards

Inviato dal mio GT-N7100 utilizzando Tapatalk
[Galaxy Note II Original Android Development] lenana:
And there goes the thread
[Galaxy Note II Original Android Development] madsponge26:
cm10.1/2, aosp based rom supported?
[Galaxy Note II Original Android Development] umberto1978:
No, sorry. Only samsung based roms.

[MENTION=535343]all[/MENTION]: the option to disable or enable the gentle_fair_sleepers is no longer working. The reason is simply: i disabled the SCHED_DEBUG from my kernel configuration and i forget to update the related script, as actually the sysfs interface has been totally removed (even if speedwizz manager gives you confirm when apply this setting, is a false positive).

Sorry :cyclops:
[Galaxy Note II Original Android Development] umberto1978:
Not yet and i think this is pretty impossible. To flash this kernel on a stock rom you must use Odin desktop.

To obtain a "correctly" signed zip for stock recovery i think we need samsung's private rsa keys to sign the zip. Otherwise even if you sign using test keys you will get a "signature verification error" anyway.

I hope i am wrong about this.
[Galaxy Note II Original Android Development] Paoul conetta:
Wow! Good work Dev. Fast, smooth and with a lot of preferences. My favourite kernel now. Please continue the project:good:
[Galaxy Note II Original Android Development] umberto1978:
Just to inform....I am working just now to a new release. Take a look at github for more infos.

Also in next release I will include fixes for some scripts: gentle fair sleepers (as stated in one of my previous post) and sched_mc_powersavings (the option 1 still applies 0 value, my fault and doggy copy paste LOL).

Thanks for trying!

Inviato dal mio GT-N7100 usando Tapatalk 4
[Galaxy Note II Original Android Development] myaslioglu:
Pls include touchwake :)
[Galaxy Note II Original Android Development] umberto1978:
Hi dear. I want to be honest.

I have tried many kernels withbthis feature and all I have seen is:

1 battery drain caused from accidentally wake of device

2 the few time it works it doesn't go properly

3 at last I can say I don't need at all for my personal use

Give some reason because I should waste my time on this feature :D :D

Inviato dal mio GT-N7100 usando Tapatalk 4
[Galaxy Note II Original Android Development] william1974:
This kernel work in N7105?
[Galaxy Note II Original Android Development] umberto1978:
No. I prefer to not do anything for a device I don't own. Sorry.

Inviato dal mio GT-N7100 usando Tapatalk 4
[Galaxy Note II Original Android Development] nitol:
Is this kernel supports Stweak?
[Galaxy Note II Original Android Development] umberto1978:
No stweaks.

The included app gives you the ability to control all kernel parameters (or at least the ones that are editable via sysfs interface).

Also you have the advantage using this app to execute the option immediately.

Inviato dal mio GT-N7100 usando Tapatalk 4