yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] Paschalis:
Good luck with your exams.

More or less, this:

adb shell su -c "setenforce 0"
adb shell su -c "mount -o remount,rw /system"
adb shell su -c "chmod 777 /system/bin"
adb push something /system/bin

I 've also tried many different mount commands, like including the actual partition's name, and many others found on the interwebs!

I always get "read only filesystem" on adb push.

Thankfully, I found a stupid workaround:

mount -> give permissions to system's dir -> push something to sdcard -> use su to move from sdcard to system partition.
[Nexus 6 Android Development] Hazzo31:
Sorry for the dumb question. Can I flash this kernel with a custom ROM for example Cataclysm?
[Nexus 6 Android Development] stargzrr11:
You could.

I believe the kernel that comes with Cataclysm is the same as this kernel.
[Nexus 6 Android Development] Hazzo31:
I don't know certainly because I flashed dispair kernel and I don't like it so much. Thanks!!
[Nexus 6 Android Development] gerard_f:
New V3 version:

- Added vibration control. (Kernel auditor doesn't support this, you need FKU app or in terminal "echo value > /sys/drv2605/rtp_strength", and value range is 0 to 127 )

- Added a commit for decrease reddish color at low brightness (https://github.com/gerard87/kernel_msm/commit/9877e3f339bddd8bc1fb4e775c0adb90268b064c)

For the moment only encrypted boot.img, I update all versions in the end of this week.

https://goo.gl/kOKKDI
[Nexus 6 Android Development] funcrusher:
Thanks for vibration control! So it definitely won't show under 'misc controls' in KA?

I'm going to wait for the without encryption version. :)
[Nexus 6 Android Development] gerard_f:
The problem of Kernel auditor is the function name, I can make it KA capable, but then FKU is broken. I can make compatible with only one app.

I thinked about this and decided to use KernelAuditor option because is free and more general. What do you think?

So, I'm doing v3 again with KA support and I will upload later.
[Nexus 6 Android Development] gerard_f:
Ok so new V3 final version, Kernel Auditor capable:

MRA58 V3(6.0)

With encryption (stock):

IMG: https://goo.gl/960gv6

ZIP: https://goo.gl/c4Pa33

Without encryption :

IMG: https://goo.gl/Q2zB5W

ZIP: https://goo.gl/gRj7Sg
[Nexus 6 Android Development] TR2N:
Hi Gerar, is this compatible with the Builds N and R? Thank you so much for your kernel!
[Nexus 6 Android Development] gerard_f:
Yes, no kernel changes.
[Nexus 6 Android Development] SirOch:
Hi,

Work greats with TM ;)

Cheers

Envoyé de mon Nexus 6
[Nexus 6 Android Development] funcrusher:
I'm happy with your decision. :)

Thank you!
[Nexus 6 Android Development] TR2N:
Thank you gerar! By the way - could you build your kernel with the systemless root method from Chainfire? That would be an awesome combination to try out! :)
[Nexus 6 Android Development] gerard_f:
Not for the moment, it's experimental. Maybe in the future.

Enviat des del meu Nexus 6 usant Tapatalk
[Nexus 6 Android Development] BRKotucs:
How much space do we need in system in order to add a line to the build prop?
[Nexus 6 Android Development] eman5oh:
I have been able to edit mine and store a backup copy without any issues. Just adding a line should be no problem.
[Nexus 6 Android Development] gerard_f:
You can resize system partition in twrp and "win" a few mb or remove any system app you don't use like news, books...

Enviat des del meu Nexus 6 usant Tapatalk
[Nexus 6 Android Development] BRKotucs:
Already got it!! ES Explorer did the trick.. Thank you guys.
[Nexus 6 Android Development] eman5oh:
I probably ran into the same issue as you when I first upgraded and rooted M, I modded the build prop with Buildprop Editor from the play store, only it did not work. I did the edit with root explorer and it worked first try.
[Nexus 6 Android Development] gerard_f:
New version V4:

Changelog:

- Added wake gestures

(http://xdaforums.com/showpost.php?p=57079648&postcount=2)

(http://xdaforums.com/android/apps-games/app-wake-gestures-t3030399)

- Added multirom support

MRA58 V4(6.0)

With encryption (stock):

IMG: https://goo.gl/wMyRIc

ZIP: https://goo.gl/DvIUOg

Without encryption :

IMG: https://goo.gl/31lSMV

ZIP: https://goo.gl/i5jD1w
[Nexus 6 Android Development] Tenhi:
Am I the only one unable to download any of these files? It always says "Temporary error, retrying" when trying to download...

EDIT: Actually the problem is only when trying to download zip files...
[Nexus 6 Android Development] nitronet:
Same problem here.
[Nexus 6 Android Development] TheFakirrr:
I have downloaded IMG with encryption perfectly fine yesterday.
[Nexus 6 Android Development] Tenhi:
I can also download .img files, but no luck with .zip ones. If someone can just reupload them on some other service that would be great!

Edit: Never mind...just flashed boot.img via fastboot and problem solved...
[Nexus 6 Android Development] gerard_f:
Fixed. It's a mega problem.

Thanks for reporting.
[Nexus 6 Android Development] GavinMazey:
You can flash image files from twrp, just hit the images button in the bottom right corner and it will show images.
[Nexus 6 Android Development] Martins2759:
Everything working as expected, thanks a ton! :)
[Nexus 6 Android Development] lilpeezy23:
I know you mentioned you don't want to do the systemless root method right now as it isn't stable, but could you possibly create an unofficial version with the systemless root? If not, obviously no big deal. Just figured it couldn't hurt to ask. Love having root with Android pay working
[Nexus 6 Android Development] gerard_f:
I have no time at the moment, sorry. I will take a look when enters in a beta stage, not experimental.

Enviat des del meu Nexus 6 usant Tapatalk
[Nexus 6 Android Development] :
I was thinking not too long ago that it would be cool to have a stock kernel with just a few minor added things and you build this with exactly what I had in mind. Using this on deodexex deblotted stock rom and runs great! Thank you!! :)
[Nexus 6 Android Development] droidstyle:
only kernel I have found that does not cause my Pandora app to go crazy.
[Nexus 6 Android Development] TR2N:
Hi gerar, I am using Kernel Auditor to make my adjustments to the kernel. But I can't get Double Tap to Wake working correctly. It only activates, when I use Tap to Wake instead. Sometimes the setting doesn't stick, so I have to re-enable it. Any suggestions?
[Nexus 6 Android Development] gerard_f:
Kernel auditor doesn't assign the wg values properly.

I'm using a su.d script (similar as init.d) with my wake gestures config.

I attach a flashable zip with doubletap2wake enabled, sweep2sleep left and right and sweep2wake all directions assigned automatically in every boot.

You can modify the script with your values, or erase the line if you don't want the option before flash.

Values configuration: http://xdaforums.com/showpost.php?p=57079648&postcount=2
[Nexus 6 Android Development] Poojan Patel:
found one small bug,

selecting simple_omdemand in GPU makes phone freeze and reboot.
[Nexus 6 Android Development] isaakmg:
A beautiful bootlop with this option.... Thanks

..

Enviado desde mi Nexus 6 mediante Tapatalk
[Nexus 6 Android Development] TR2N:
Is a stock based kernel intended to do that?
[Nexus 6 Android Development] isaakmg:
Yes, with this kernel that is stock.....

Enviado desde mi Nexus 6 mediante Tapatalk
[Nexus 6 Android Development] NOSTALGIA:
do we have issue with wifi toggle on this kernel? when i toggle wifi off then on sometimes it doesnt connect again or sometime the wifi symbol shows up but cant connect to internet and shows it with (!) beside the wifi symbol.. im posting this on the deodexd based mra58r rom since this is the combo im using.
[Nexus 6 Android Development] gerard_f:
Same issue with stock kernel.

Change governors is not the intention of this kernel, if you want to do it you need to move to a fully customized kernel.

I don't have any issues with wifi. (Stock rom from factory images)
[Nexus 6 Android Development] semail00:
Hello,

i have a easy and maybe a stupid question.

After i have flash this image kernel by ADB command which is better to install supersu 2.50- 2.51-2.52?

Thanks in advance to yours reply.

Rgds
[Nexus 6 Android Development] matmar:
2.52
[Nexus 6 Android Development] gerard_f:
Always the last (2.52).

Enviat des del meu Nexus 6 usant Tapatalk
[Nexus 6 Android Development] semail00:
Thanks of yr reply.

Of couurse can I flash this image kernel on my stock MRA58N ?

Rgds
[Nexus 6 Android Development] gerard_f:
Works with K, N and R. No kernel differences between this versions.

Enviat des del meu Nexus 6 usant Tapatalk
[Nexus 6 Android Development] semail00:
Sorry i am lose to ask if this metod root is compatibile with busybox apk of Stephen (Stericson) or no.

Thanks again to your reply.

Rgds.
[Nexus 6 Android Development] TR2N:
It is. Using it right now
[Nexus 6 Android Development] Tylog:
Excellent Work. All what i Need is there . Atm my number one :) thanks.
[Nexus 6 Android Development] dray:
Will you be updating this for 6.0.1? Thx
[Nexus 6 Android Development] gerard_f:
If has changes yes, if not, will be compatible.

At the moment no new commits are uploaded.

Enviat des del meu Nexus 6 usant Tapatalk
[Nexus 6 Android Development] M.Noury:
[MENTION=1238148]gerar_f[/MENTION] can you please make the same kernel for Nexus 6P ?
[Nexus 6 Android Development] gerard_f:
I can try to do it, but i don't have the device and don't have to much free time. If you want to test it send me a pm and be patient.

Enviat des del meu Nexus 6 usant Tapatalk
[Nexus 6 Android Development] gerard_f:
New version V5:

Changelog:

- Updated kernel to 6.0.1

MMB29K (6.0.1)

https://www.androidfilehost.com/?w=files&flid=45084
[Nexus 6 Android Development] Tylog:
Fantastic, Huge Thanks :)
[Nexus 6 Android Development] TR2N:
Awesome Gerar! Dumb question of the day : Does it work with SuperSU 2.61?
[Nexus 6 Android Development] gerard_f:
I'm running 2.52 so I don't know, but this supersu it's systemless root and patch the boot.img. You can try it, but I don't support this because it's experimental.

When the supersu tag goes from experimental to beta I will support it. ;)
[Nexus 6 Android Development] TR2N:
It isn't experimental anymore, it is already Beta. ;)
[Nexus 6 Android Development] gerard_f:
http://xdaforums.com/showpost.php?p=64161125&postcount=3

It's not clear, experimental is marked in red yet.

But first try it,maybe works fine.
[Nexus 6 Android Development] SirOch:
Hi,

I tried tout v5 and supersu 2.61 without success. I flashed original boot.img, then SuperSU and finally your kernel

My N6 stayed block on Android animation.

But with SuperSU 2.52 no problem, all works fine :)

Cheers

Envoyé de mon Nexus 6
[Nexus 6 Android Development] TR2N:
Updated my N6 to 6.0.1 with flashing boot, system and cache image over last 6.0 build. Used SuperSU 2.52 and your new kernel - works perfect. Thank you once again gerar!
[Nexus 6 Android Development] Mercado_Negro:
You have to flash SuperSU after a kernel. Remember that it has to patch the kernel to work.
[Nexus 6 Android Development] SirOch:
May be you're right. I will check the recommendation of chainfire ;)

Envoyé de mon Nexus 6
[Nexus 6 Android Development] gerard_f:
I tried flashing 2.61 and works fine, but not all apps working (es file explorer, screen off, ...) and it's a supersu problem, not kernel, http://xdaforums.com/apps/supersu/es-file-explore-app-2-61-t3267008 .

This is why I recomend using 2.52.

The steps are:

1- Reflash system.img (for remove old supersu).

2- Flash ssu 2.61 and done.

After the test I go back to 2.52.
[Nexus 6 Android Development] cswroe:
I keep shopping around and coming back to this kernel. Excellent work. :good:
[Nexus 6 Android Development] NOSTALGIA:
flashing ssu 2.61 then the latest superuser version fixes most issues on apps not recognizing root

this is for some who wants to use the latest systemless root method..

still credits to chainfire...

http://xdaforums.com/showpost.php?p=64161125&postcount=3
[Nexus 6 Android Development] cris_webb:
Hi everyone.

I have Franco Kernel, I have to flash unsu, this kernek then SuperSU 2.61 or newer?

Thanks.
[Nexus 6 Android Development] gerard_f:
I recommend using 2.52, but you can use 2.62 if you want.

Enviado desde mi Nexus 6 mediante Tapatalk
[Nexus 6 Android Development] cris_webb:
Thanks a lot!

Works pretty good on my Shamu, better than Franco Kernel.
[Nexus 6 Android Development] TR2N:
Tried Franco and others as well but always come back to this kernel. Thank you gerar!
[Nexus 6 Android Development] CRXed:
Thank you for recommending this, so smooth!!
[Nexus 6 Android Development] gerard_f:
New version V6:

Changelog:

- Added support for automatic high brightness mode from [MENTION=3292224]franciscofranco[/MENTION] (Needs to be enabled in FKUpdater app)

MMB29K (6.0.1)

https://www.androidfilehost.com/?w=files&flid=46093
[Nexus 6 Android Development] nemanja066:
Can i enable the auto high brightness through a terminal emulator or add the command in su.d script. I don't like to use applications. Thanks.
[Nexus 6 Android Development] andreadec:
[MENTION=1238148]gerar_f[/MENTION]

I am trying to rebuild your kernel from sources, but I can't get the same ramdisk as yours.

I compiled the kernel as explained here https://source.android.com/source/building-kernels.html

Then I launched "make bootimage" in the AOSP source tree after setting the TARGET_PREBUILT_KERNEL variable to the location of the compiled zImage-dtb file.

In the resulting boot.img's ramdisk, some files (e.g. default.prop) don't have the same content than your boot.img's ramdisk files.

Why does this happen? What am I doing wrong? Are you perhaps using the source tree from another ROM instead of AOSP?

Thank you very much.
[Nexus 6 Android Development] MaLiXs:
So it a barely stock AOSP kernel? If I'm correct the kernel will be pretty close to the one that come in the factory image with some addition?
[Nexus 6 Android Development] andreadec:
You're right.

Inviato dal mio Nexus 6 utilizzando Tapatalk
[Nexus 6 Android Development] gerard_f:
I don't know, because franco app isn't opensource, you need to ask Francisco.

I'm not compiling boot from source, only the zimage. I take boot from latest factory image, modify the ramdisk and inject my zimage.

Correct.

Enviado desde mi Nexus 6 mediante Tapatalk
[Nexus 6 Android Development] andreadec:
Thanks. I'll do the same! ;)
[Nexus 6 Android Development] MaLiXs:
Finally a kernel that is perfectly stable just like the stock kernel with the tweak that I need! More than 24 hour of battery and near 2h of sot and still have 40% battery left

Thanks to providing us this good kernel
[Nexus 6 Android Development] ZombieUsr:
So I want to come back to this kernel. I just want to make sure I do not screw up AP since I have it working. I am currently on SuperSU 2.64 on [ROM]【6.0.1】MMB29K -【Stock】【Lite】. So I would have to flash this kernel than SuperSU 2.64 again? Or is there another step I am missing. I ask, cause a few have state to flash unSU...Thank you for the information and any help
[Nexus 6 Android Development] Khizar:
You don't need to flash unSU. But I'd recommend dirty flashing rom then kernel then SuperSU, to avoid any issues.
[Nexus 6 Android Development] NOSTALGIA:
does this kernel has the vibration control enabled for any kernel tweaker?

edit: there is accdg to op
[Nexus 6 Android Development] ironjon:
Yes as you can read in the OP:

CHANGELOG:
V6:
- Added support for automatic high brightness mode from @franciscofranco (Needs to be enabled in FKUpdater app)
V5:
- Updated kernel to 6.0.1
V4:
- Added wake gestures
- Added multirom support
V3:
- [B]Added vibration control. (Kernel Auditor capable)[/B]
- Added a commit for decrease reddish color at low brightness.
[Nexus 6 Android Development] spacelordmf:
Can I use this kernel for build MMB29S?
[Nexus 6 Android Development] Tylog:
Yes
[Nexus 6 Android Development] Str8gahbidge:
Any plan to build a new version with the S build release? I read somewhere there was a patch to kernel vulnerability.
[Nexus 6 Android Development] gerard_f:
No, new build has no kernel changes, you can use latest version without problems.
[Nexus 6 Android Development] Str8gahbidge:
So the critical, high, and moderate severity on the build patch list are not directly related to the kernel? Are the issues resolved somehow elsewhere in the build completely unrelated to the kernel?

http://source.android.com/security/bulletin/2016-01-01.html
[Nexus 6 Android Development] gerard_f:
"Attack Surface Reduction for Nexus Kernels

* The patch for this issue is not in AOSP. The update is contained in the latest binary drivers for Nexus devices available from the Google Developer site."

The changes are in the binary files from system.
[Nexus 6 Android Development] NOSTALGIA:
so you mean the patch is in the rom ??
[Nexus 6 Android Development] Str8gahbidge:
Thank you for clarification!
[Nexus 6 Android Development] gerard_f:
Yes, I think so.
[Nexus 6 Android Development] chadteck:
I believe you're misinterpreting the statement. The way I read it is that the Kernel has had vulnerabilities patched and the binaries have been updated, but the source code in AOSP hasn't.
[Nexus 6 Android Development] gerard_f:
No,they didn't said this.

Is not in AOSP because the issues are in the binaries and aren't opensource, so they can't update source.

If the issue would in built-in opensource kernel driver, then source would updated and I would update this kernel.
[Nexus 6 Android Development] Lucas_Maximiliano:
Guys im having a problem, that happens too in other kernels.

When I set a max and min freq, then it changes to others and I can't set my preferred freqs.

i.e., I see min freq 1400mhz and max 1700mhz, the I change it to 300mhz/2500mhz. But when I exit from the app and go back, the frequencies are changed again to 1400/1700.

It's weird... I have read that this is due to Qualcomm parameters based on thermal..etc. But I don't know what's exactly happening.

Please I need some info about it, and how to solve it, if it's possible.

Thanks!
[Nexus 6 Android Development] d u o XIV:
Anytime you touch your screen, the minimum frequency will increase to 1497 MHz. If you leave your screen alone, it'll go back down to your specified minimum frequency eventually (typically 300 MHz). When your battery level is low, your maximum frequency will begin decreasing. I think at 40%, your max becomes 2265 MHz and at 20%, your max becomes 1728 MHz. Something like that...

Basically, everything you're seeing is supposed to happen, and (as long as you're using the Nexus 6) the same thing will happen regardless of what kernel you switch to.
[Nexus 6 Android Development] Lucas_Maximiliano:
Hmmm thank you so much! Yes I'm using a N6. Now I'm calmer [emoji6]
[Nexus 6 Android Development] slixzen:
Can anyone verify if this still works with the latest SafetyNet Check API?
[Nexus 6 Android Development] gerard_f:
Same as stock. If systemless root is blocked you cannot use android pay independently of the kernel.
[Nexus 6 Android Development] flyinj54:
Any updates to the kernel needed on latest Feb Android update or will this still work OK? This is exactly what I was looking for stock with color control
[Nexus 6 Android Development] gerard_f:
Same kernel in the February release. Works ok.
[Nexus 6 Android Development] guitardedhero:
Hey [MENTION=1238148]gerard_f[/MENTION]! Is it possible to get a close to stock Permissive kernel for my unrooted rom projects?
[Nexus 6 Android Development] nemanja066:
Does this kernel support systemless root (2.65+), to be properly patched?
[Nexus 6 Android Development] gerard_f:
You need to change in ramdisk/default.prop -> ro.secure=1 to 0, and compile the kernel with this commit https://github.com/gerard87aux/kernel_msm/commit/6227707fd1c1555776dde25b9d8af23a2a732553

It should, but I can't confirm because I don't tried. Can you try and report back if any problem?
[Nexus 6 Android Development] evolishesh:
Is security disable in this kernel?
[Nexus 6 Android Development] gerard_f:
No, selinux is in enforcing mode like stock.
[Nexus 6 Android Development] nemanja066:
I noticed sometimes that 2 cores stays offline after phone charged and unpluged charger( begins charging when battery is bellow 5%). Is this stock kernel bug or...? Fast reboot (or normal reboot) solve the problem. Thx.
[Nexus 6 Android Development] gerard_f:
New version

V7

Systemless root only

https://www.androidfilehost.com/?w=files&flid=50656

Changelog:

- Fix keyring leak (more information: http://perception-point.io/2016/01/...f-a-linux-kernel-vulnerability-cve-2016-0728/ )

- Support for systemless root only (old root method won't work anymore)

* Because supersu zip installer disable automatically boot encryption, is not necessary to maintain both versions if you will lose when you flash supersu, so now I only make the no encryption version.
[Nexus 6 Android Development] Droidphilev:
Hello,

Thanks for the update!

What if i use a SuperSU that flashes only system mode? Even then it won't work? (i mean trying to get root in system mode)
[Nexus 6 Android Development] gerard_f:
No. You need to reflash system for remove system's supersu, then flash kernel and finally flash systemless supersu.

Enviat des del meu Nexus 6 usant Tapatalk
[Nexus 6 Android Development] Droidphilev:
Hi again,

Thanks for your answer.

Well... i nearly always clean flash but i use SuperSU 2.65 or 2.67 with a modified script so that systemroot is used (systemless root has no use for me TBH). I guess i will stick to the earlier version of your (excellent) kernel.
[Nexus 6 Android Development] liam_davenport:
Systemless is useless to anyone unless you want to take OTA on stock while still rooted...
[Nexus 6 Android Development] gerard_f:
The next development of supersu and all kernels will be systemless, so sooner or later you will have to move to systemless method. :p
[Nexus 6 Android Development] Droidphilev:
As long as i can keep on using systemroot i will do so :)

BTW... "normal" SuperSU tries systemroot first. Before this wasn't the case. I thought this meant systemroot got higher priority. :)
[Nexus 6 Android Development] gerard_f:
No problem. I can make another boot for old root method. I will do during this week.

Enviat des del meu Nexus 6 usant Tapatalk
[Nexus 6 Android Development] Droidphilev:
oh? if you don't mind of course! I'm happy with v6 too if it's too much hassle. (i wasn't really trying to get something done btw) :)
[Nexus 6 Android Development] gerard_f:
Don't worry, doing this takes me three minutes. Only need to replace sepolicy in ramdisk.
[Nexus 6 Android Development] Broooooook:
Just to make sure, so the latest stable SuperSU 2.65 is already switched to systemless root right?
[Nexus 6 Android Development] nathanchance:
SuperSU 2.64 and above try to install root into the /system partition first and if it detects that this is not possible, it goes for the systemless route.
[Nexus 6 Android Development] MarkGbe:
This appears to be a stock kernel bug... Happens on bone stock, franco kernel, and apparently this one probably since it's stockish... Very frustrating..
[Nexus 6 Android Development] iluvatrix:
hi guys i am rather noobish as far as i am concerned but i know how to perform the above steps. just need to know if i am already on a stock MMB29Q with all apps & data in place by doing the above will it affect my apps & data? TIA
[Nexus 6 Android Development] :
Flashing this kernel will not affect your apps or data. Don't need to be worried about that :)
[Nexus 6 Android Development] NOSTALGIA:
seems that there are changes on the newest firmware. lets see if op updates this thread
[Nexus 6 Android Development] gerard_f:
Yes, I update as fast as possible. Today or tomorrow.
[Nexus 6 Android Development] Droidphilev:
Hopefully a systemroot version too? ;)
[Nexus 6 Android Development] gerard_f:
Yes, I'm thinking to make system and systemless (with encrypted and unencrypted again).

Enviat des del meu Nexus 6 usant Tapatalk
[Nexus 6 Android Development] gerard_f:
New version

V8

https://www.androidfilehost.com/?w=files&flid=51769

Changelog:

-March security update

-Both systemless and system root versions