yashsingh1/xdaforums huggingface dataset:
[Redmi Note 2 Android Development] andrea210701:
Don't you think he would've done that already?
[Redmi Note 2 Android Development] Yellowflash99:
Install mi remote
[Redmi Note 2 Android Development] ayberk_mustafa:
Can we have gpu overclock ?
[Redmi Note 2 Android Development] wehape:
I found a BUG sir....

if you turn off the phone then you charge it, the phone will turn on again...

Please fix it sir... I'm really like your kernel.

Thanks before...
[Redmi Note 2 Android Development] ayberk_mustafa:
When i remove the battery imei number has been removed

---------- Post added at 06:06 AM ---------- Previous post was at 06:05 AM ----------

When i remove the battery then imei number has been removed.

Sorry for my bad english
[Redmi Note 2 Android Development] andrea210701:
I don't think this is kernel related

This too,can't be kernel related
[Redmi Note 2 Android Development] ayberk_mustafa:
But its happening after using this kernel. i did flash yesterday.
[Redmi Note 2 Android Development] jdstrydom:
I flashed this kernel 20 minutes ago on CM13, and all is fine. Is it maybe not an issue with the specific TWRP version you were using?
[Redmi Note 2 Android Development] wehape:
But after I Change to another kernel it back normal. I try to use your kernel again this bug happen again.

My rom RR
[Redmi Note 2 Android Development] andrea210701:
Odd,i will look into it,maybe rr dev made some changes to kernel
[Redmi Note 2 Android Development] AssToast:
Happened to me on CM as well.
[Redmi Note 2 Android Development] andrea210701:
Yeah,but if i Remember well this happnes on nofearnohappy's kernel too

Maybe rr dev changed something in his kernel
[Redmi Note 2 Android Development] wehape:
it also happen when I use RR from l7ssha, when I turn off the phone and I charge it, automatically will be turn back on
[Redmi Note 2 Android Development] AssToast:
It charges fine while turned off with the stock kernel in CM13 V3.
[Redmi Note 2 Android Development] Groovecain:
oh and if you on Atmel touchscreen , i think you should disable dt2w / g2w from configuration AND from Kernel Auditor, because i encountered some problem when i wake up my device with lock button, the screen not responding to any touch until i pluck out the battery , and i got this like 5 times a day, after i disable it, the problem was solved
[Redmi Note 2 Android Development] andrea210701:
I will see what Can be done,lots of changes are needed and i have no time
[Redmi Note 2 Android Development] Groovecain:
no problem, i'm just giving some information,and thank you this kernel already rocking my redmi note 2 :highfive:
[Redmi Note 2 Android Development] AssToast:
It's okay bro, you don't owe the community anything so there's no need to rush. Just take your time to implement and fix things.
[Redmi Note 2 Android Development] andrea210701:
ok,maybe i've found the issue with offline charging,i will test and report

edit:nope, offline charging is enabled in the kernel :(
[Redmi Note 2 Android Development] andrea210701:
New update

- dt2w is now disabled by default,enable it from kernel auditor

- try to fix charging Speed since some users complain about it
[Redmi Note 2 Android Development] bmdhj:
Hey bro, using RR 6.0 LATEST version r72. dt2w don't work even when I activated in kernel auditor. Also charging speed yet to be improved. Took me from 80-91% charge to 30 minutes. Also, phone sleep during charge for 5 mins is still 91%. Considerably long. Do you also know how to stop wakelocks? Been trying Amplify, Greenify yet no solution. Below are screenshots for battery drain.
[Redmi Note 2 Android Development] andrea210701:
What touchscreen do you have?

Yeah,i know charging is still slow,i will look into it
[Redmi Note 2 Android Development] bmdhj:
Since now I'm on RR, can't really tap kernel version like in MIUI many times to see the phone components. I remembered I did that and its Focaltech.
[Redmi Note 2 Android Development] andrea210701:
So i Guess there is a problem with kernel auditor,well i'll look into that too :p
[Redmi Note 2 Android Development] bmdhj:
Do you have any battery drain issues? Started to get 2-3H SOT (with low brightness, RARE USE of LTE and GPS) since Oct. Other Redmi Note 2 users from XDA forums getting them since Oct as posted in previous 6.0 and CM 12 threads.
[Redmi Note 2 Android Development] tau.gi.mo:
I have a lot of Kernel Wakelocks which cause a lot of Battery usage in Standby, sometimes I get between 20-40% of Awake with screen off. It is the same on nfnh Kernel, this Kernel is a bit better but still, almost 25% of my Battery is used in Standby

Gesendet von meinem Redmi Note 2 mit Tapatalk
[Redmi Note 2 Android Development] andrea210701:
well,i treated my battery really good and i still can do 4-5 hours SOT
[Redmi Note 2 Android Development] huynhdat0412:
Can this kernel work on miui8 or cm12.1?
[Redmi Note 2 Android Development] AssToast:
No it doesn't
[Redmi Note 2 Android Development] andrea210701:
If you want to brick your rn2,yes
[Redmi Note 2 Android Development] asokayoyo:
How to check type of screen on RR?
[Redmi Note 2 Android Development] bmdhj:
You can't. you have to flash back to miui. If u flash without knowing and it bricks, you may brick your phone
[Redmi Note 2 Android Development] faorekh:
I have an interesting thing with new version Andrea's kernel.

It's a charging table:

0 minutes - 1% - 3.4 V

30 - 27% - 4.16 V

60 - 51% - 4.27 V

90 - 74% - 4.39 V

120 - 86% - 4.39 V

150 - 92% - 4.39 V

We could see, that in 1,5 hours of charging we have fully charged battery (max voltage is 4.4).

Installed ssha's RR ROM.
[Redmi Note 2 Android Development] bmdhj:
150 minutes and 1.5 hours is different. 1.5 hours is 90 minutes. This kernel has slow charging speed. Took me 2.5 hours charging and phone is on sleep mode.
[Redmi Note 2 Android Development] RaeesD:
I think he means 1.5h as in from 90min the voltage doesn't go any higher.
[Redmi Note 2 Android Development] faorekh:
You are right. My battery is one year old and it has not more than 4.39V
[Redmi Note 2 Android Development] sanceliken2000:
Hello excellent work thank you very much for this development!!

For those who have installed kernel above nofearhappy's CM13.

Is both speakers and generally sound fixed?

Thanks in advance :D
[Redmi Note 2 Android Development] the_virus_ua:
How to turn on double tap on wake on ver2?

Kernel auditor can't change option.

---------- Post added at 11:44 AM ---------- Previous post was at 11:27 AM ----------

Solved. It's kernel auditor bug and now 2t4w is working.
[Redmi Note 2 Android Development] tau.gi.mo:
How did you do it?? I hace the same problem

Gesendet von meinem Redmi Note 2 mit Tapatalk
[Redmi Note 2 Android Development] the_virus_ua:
Idk. I try several times and it's just starts working.
[Redmi Note 2 Android Development] 1race:
try choosing "Half" dt2w option in Auditor instead of "Full"

if it won't work then try init.d script:

#!/system/bin/sh
echo 1 > /sys/android_touch/doubletap2wake
[Redmi Note 2 Android Development] Pesach85:
Great work, all credits to you on my github, sorry if i not authored commits with your name but i described in commit message all credits to who made it.
[Redmi Note 2 Android Development] andrea210701:
oh,no problem,i didn't do anything particular,i just cherry-picked some commits :P
[Redmi Note 2 Android Development] jajk:
[MENTION=4772299]andrea210701[/MENTION] Is there a kernel available for download with the Pesach85 method of overclock to 2.2GHz and latest NFNH commits?
[Redmi Note 2 Android Development] andrea210701:
My kernel has already got pesach85 overclock method...maybe today i will merge new NFNH commits
[Redmi Note 2 Android Development] andrea210701:
v3 in first post
[Redmi Note 2 Android Development] vipkokata:
Support dt2w ?

Изпратено от моят Redmi Note 2 с помощта на Tapatalk
[Redmi Note 2 Android Development] faorekh:
Yes
[Redmi Note 2 Android Development] andrea210701:
hasn't got anything to do with kernel
[Redmi Note 2 Android Development] 1race:
Can you add more governors like smartassv2, savagedzen, interactivex?
[Redmi Note 2 Android Development] Lian Kaili:
[deleted]
[Redmi Note 2 Android Development] andrea210701:
if it affects performance...it's in a positive mode!

btw now i am speaking to everyone

I FIXED OFFLINE CHARGING,IT WAS CAUSED BY THIS COMMIT https://github.com/Pesach85/kernel_...mmit/77c9beaab4747c6e72dda60aae185e4dffc9a631 ,BUILDING A NEW UPDATE NOW,STAY TUNED

credits to [MENTION=7685540]Moyster[/MENTION] and [MENTION=6371209]alex lartsev[/MENTION] for this :)

[MENTION=3356630]Pesach85[/MENTION]
[Redmi Note 2 Android Development] andrea210701:
v4 with fixed offline charging in first post
[Redmi Note 2 Android Development] Moyster:
To be perfectly honest, it's mostly Alex (if not him alone) that investigated this one, and I'm not sure you mentionned the right Alex :P but hey, working OCM :victory: :highfive:
[Redmi Note 2 Android Development] andrea210701:
well,their profile picture on xda and github is the same so i assume he's the right alex :P
[Redmi Note 2 Android Development] TryHardDood:
[MENTION=4772299]andrea210701[/MENTION]

Have you checked this repo?

https://github.com/lbule/android_kernel_xiaomi_hermes

Is this for marshmallow or not?
[Redmi Note 2 Android Development] andrea210701:
Of course,nothing interesting or different from my kernel except that bule'kernel is in-line building ready
[Redmi Note 2 Android Development] tau.gi.mo:
What do I have to reflash when updating the Kernel? Is Magisk, Systemless SuperSu and Systemless Xposed still there?

Gesendet von meinem Redmi Note 2 mit Tapatalk
[Redmi Note 2 Android Development] Vianze:
does this kernel work on RR6 by Bule?

because last time I tried this kernel in RR6 by i7ssha, dt2w still not working
[Redmi Note 2 Android Development] AssToast:
It doesn't modify boot.img so you don't have to reinstall those.

Is a side note, why don't you just flash the kernel and see for yourself. Not like it takes a long time to so that.

---------- Post added at 07:06 AM ---------- Previous post was at 07:05 AM ----------

Its either you have Atmel touch screen or you didn't enable it in Kernel Audiutor
[Redmi Note 2 Android Development] Vianze:
How to check if my rn2 have an Atmel touch screen or not?
[Redmi Note 2 Android Development] AssToast:
If you're not in MIUI, only way to check would be to enable d2w and see if it works. If not then you have an Atmel touch screen
[Redmi Note 2 Android Development] mrcbfr:
if i flash this kernel, will i have to enable d2w in Kernel Auditor :confused:
[Redmi Note 2 Android Development] AssToast:
Its written in the first post. In the changelog
[Redmi Note 2 Android Development] TryHardDood:
I don't know if someone have asked this but:

If I flash this kernel over bule's one (For example on ResurrectionRemix) will the camera work?
[Redmi Note 2 Android Development] AssToast:
Why don't you try it let us know. How hard is it to flash the kernel and check if it works. Just dirty flash the ROM again if it doesn't work.
[Redmi Note 2 Android Development] TryHardDood:
Well.. I would have done it but I can't because I'm using my phone as a daily driver and i don't have time to dirty flash if something goes wrong
[Redmi Note 2 Android Development] laviniu_c:
wow, you've got nerve using a custom anything on a phone used for daily usage. i wouldn't touch anything that isn't stable and proven so for my everyday phone.
[Redmi Note 2 Android Development] TryHardDood:
If I use a "custom anything" I can tell if it's stable or not :D

For me it's all good ( 7ssha's Resurrection remix )
[Redmi Note 2 Android Development] laviniu_c:
i didn't mean any disrespect, just it takes guts to try out custom roms or kernels on the phone you use everyday.
[Redmi Note 2 Android Development] TryHardDood:
I have faith in the developers :) so far I only had one random reboot within 2 weeks
[Redmi Note 2 Android Development] andrea210701:
4.1 is incoming with fixed BOE backlight by lazyc0der
[Redmi Note 2 Android Development] andrea210701:
updated op
[Redmi Note 2 Android Development] AssToast:
BOE back light?
[Redmi Note 2 Android Development] andrea210701:
Better brightness on boe screens
[Redmi Note 2 Android Development] vipkokata:
http://en.miui.com/thread-425303-1-1.html GO MIUI V8 ANDROID 6.0 FOR RN2

Изпратено от моят Redmi Note 2 с помощта на Tapatalk
[Redmi Note 2 Android Development] gumbung:
Hi Andrea, thx for build this kernel, but..

You forgot People that used atmel panel lcd, May you updated this awesome kernel.. With atmel support.. Thanks you.. Lol
[Redmi Note 2 Android Development] andrea210701:
I didn't forget anybody,i got atmel screen too but fixing dt2w on it would be really hard
[Redmi Note 2 Android Development] gumbung:
I now it, since you send pic about CIT, your Phone focaltech false with Red Word.. LOL..

I think you have a renote 2 prime? Did you?

Thanks anyways.. Thx alot.. I hope soon atmel lcd Will..
[Redmi Note 2 Android Development] andrea210701:
Nope,i've got redmi note 2 2gb/16gb
[Redmi Note 2 Android Development] TryHardDood:
On the latest Bule cm13 this error message spamming my console. I think this is a kernel error, and Bule's kernel based on your kernel, so maybe you can do something about this :D
[Redmi Note 2 Android Development] andrea210701:
Bule's kernel is not based on my kernel

This is a common bug with our custom kernel
[Redmi Note 2 Android Development] TryHardDood:
So there's no way to disable that sensor?
[Redmi Note 2 Android Development] andrea210701:
You Can disable it in the defconfig while building,but it's useless to say i won't do that [emoji14]
[Redmi Note 2 Android Development] mrcbfr:
so if using bule cm13 and flash this kernel, i will get error?? :confused:
[Redmi Note 2 Android Development] tau.gi.mo:
You will get error messages in your log every few miliseconds but you won't see anything in daily usage

Gesendet von meinem Redmi Note 2 mit Tapatalk
[Redmi Note 2 Android Development] 1race:
dt2w works pretty well, but we have bug during a phone call - dt2w declines call

Can you add the Wake Gestures module support?

or you may port Pocket Mode features (checking proximity sensor before turning screen on)
[Redmi Note 2 Android Development] andrea210701:
Wake gestures would work only on atmel(less common touchscreen)

Pocket mode would be buggy as proximity sensor ie buggy
[Redmi Note 2 Android Development] nhocphay8gb:
Your kernel will work if me use to porting rom cm14.1 from k3 note [kernel is 3.10.104]:confused:
[Redmi Note 2 Android Development] alsyundawy:
how about double tap to awake?
[Redmi Note 2 Android Development] andrea210701:
It won't as it hasn't got appropriate commits for nougat
[Redmi Note 2 Android Development] 1race:
can you fix proximity sensor and flickering low brightness?
[Redmi Note 2 Android Development] anagri:
Which one is support, atmel or ft?
[Redmi Note 2 Android Development] 1race:
FocalTech.

but we need Pocket Mode for better experience
[Redmi Note 2 Android Development] MOHAMMED AMAN:
can this kernel be used in aurora rom?
[Redmi Note 2 Android Development] jdstrydom:
Unfortunately not. Aurora is lollypop and this kernel is for marshmallow
[Redmi Note 2 Android Development] Adam Hui:
Does there exist the file devinfo at /sys/class/devmap/devmap ?
[Redmi Note 2 Android Development] adiepatie:
How to check have an Atmel touch screen or FocalTech screen on Redmi Note 2 ??

i'm using rom Resurrection Remix 6.0.1 Marsmellow
[Redmi Note 2 Android Development] Adam Hui:
The post just above yours ^^^

Oh how can somethin make u go through xda :eek:
[Redmi Note 2 Android Development] adiepatie:
I'm DO NOT COMPLETELY UNDERSTAND
[Redmi Note 2 Android Development] Adam Hui:
Do u have any file explorer with root access?

If yes & there's existed (i didnt have take a look at this yet since i reverted to miui too quickly cuz simcard undetected in cm13), just go to /sys/class/devmap/devmap ...check if there's a file named devinfo , open it as text viewer. If there's words "focaltech.... true" in a line then u go with dt2w.
[Redmi Note 2 Android Development] sailfish009:
i think focaltech touch driver has some bug or doesn't work with latest kernel verion(6.0.x).

previously i had ported focaltech driver to android kitkat on custom touchpad.(circa 2015).

touch driver chip(it's firmware, binary uint8 array) also need to be calibrated.
[Redmi Note 2 Android Development] hector_yo:
Hi guys I've just installed RR 6.0.1 by bule, and installed this kernel, dt2w is working (mostly) fine when I want it to work, but it is also switching my screen on when the phone is in the pocket(which usually ends on opening camera and draining battery)... How can I prevent this?

Enviado desde mi Redmi Note 2 mediante Tapatalk
[Redmi Note 2 Android Development] TryHardDood:
You can't, you need proximity sensor to prevent this. The best option you can do is to disable dt2w
[Redmi Note 2 Android Development] hector_yo:
Is there any marshmallow ROM with working proximity sensor?

Enviado desde mi Redmi Note 2 mediante Tapatalk
[Redmi Note 2 Android Development] TryHardDood:
I don't think so. It's a kernel related problem.
[Redmi Note 2 Android Development] chrzaszczwtrzcinie:
Make the back of the phone face your body and not the screen
[Redmi Note 2 Android Development] TryHardDood:
[MENTION=4772299]andrea210701[/MENTION]

https://github.com/rock12/ALPS.L1.M...ivers/misc/mediatek/magnetometer/akm09911-new

Did you saw this? Maybe with this the magnetometer will work.
[Redmi Note 2 Android Development] andrea210701:
That's nothing special,i Will look at it anyways
[Redmi Note 2 Android Development] andrea210701:
[MENTION=5773402]nofearnohappy[/MENTION] that could sound very stupid but.....is this a syntax error?

https://github.com/andrea2107/andro...mmit/8480ed3d22f4a76b0d68e053a4437f42589d33e3
[Redmi Note 2 Android Development] TryHardDood:
Just imagine: The problem source is a syntax error :D
[Redmi Note 2 Android Development] andrea210701:
it happens with semicolons,but i ask myself if that's really the issue

can't compile now sadly
[Redmi Note 2 Android Development] TryHardDood:
Can't you use Travis-CI to compile the kernel? :eek:
[Redmi Note 2 Android Development] andrea210701:
I don't think

edit: actually,i am trying it,it may be possible
[Redmi Note 2 Android Development] 1race:
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/land-m-oss

maybe it would be usefull
[Redmi Note 2 Android Development] fulgerul46:
Can you look on this? https://github.com/flar2/kenzo/commit/a121b245eddb5bb12cf0385c29edd298e10137c1 ,what if you add dt2w like this? Shouldn't it work on atmel touchscren too?
[Redmi Note 2 Android Development] andrea210701:
Already Looked at it a while ago.

Well,it could work,but i can't adapt it to focaltech lcm and that would defeat the purpose
[Redmi Note 2 Android Development] chrzaszczwtrzcinie:
Does that mean we need 2 different kernel versions for focaltech and amtel?
[Redmi Note 2 Android Development] andrea210701:
Not really,i just don't like using 2 different solutions and currently i don't have my server so i can't do my testings
[Redmi Note 2 Android Development] TryHardDood:
[MENTION=4772299]andrea210701[/MENTION] Can you take a look at this kernel?: https://android.googlesource.com/kernel/mediatek/+/android-6.0.1_r0.110
[Redmi Note 2 Android Development] andrea210701:
Why? Android One is a totally different phone
[Redmi Note 2 Android Development] TryHardDood:
It is indeed a different phone but it may have some drivers that we could you in our kernel.
[Redmi Note 2 Android Development] hector_yo:
Since you guys told me that light and proximity sensors weren't working in RR by bule, I've been thinking that, but today, I've realized when doing a phone call, that my proximity sensor was working (the screen went off when the phone was close to my ear) so I installed an app to test my phone's sensors and I'm having readings from both proximity and light sensors. So now I'm confused, are the sensors supposed to work with this kernel? (I'm fine with that but it's weird)
[Redmi Note 2 Android Development] iTudorS:
on some phones they work on some they won't work, in my case they won't work
[Redmi Note 2 Android Development] flasft:
It depends on which touch panel you have, in my personal opinion atmel touchscreen module (unreleased) breaks all other sensor modules... This is why I'm on 12.1 and not on cm13
[Redmi Note 2 Android Development] ed55555:
Fix work DT2W on touchscreen "Atmel" ?
[Redmi Note 2 Android Development] amlbuton:
Which version for LL 5.1.1?
[Redmi Note 2 Android Development] the_virus_ua:
Only for 6
[Redmi Note 2 Android Development] amlbuton:
How to check touch panel version used in phone if using other rom beside Miui? Currently I'm using RR rom by Bule
[Redmi Note 2 Android Development] flasft:
I did that using engineer menu in miui, idk how to do it in other roms, maybe you can try reading dmesg output
[Redmi Note 2 Android Development] amlbuton:
Nope, there's no devinfo file

I'm using RR by Bule

Updated with attachments screenshot from /sys/class/devmap/devmap
[Redmi Note 2 Android Development] Adam Hui:
Are u really amlbuton from en.miui.com ?
[Redmi Note 2 Android Development] amlbuton:
Yes I am [emoji1] [emoji1]

sent from public phone

---------- Post added at 09:35 AM ---------- Previous post was at 09:34 AM ----------

Mostly I use same nickname for forum

sent from public phone
[Redmi Note 2 Android Development] Adam Hui:
If yes, how about internal xiaomi info for RN2 ? Is there any N development or you have nothing?
[Redmi Note 2 Android Development] amlbuton:
Nope, we mods are not getting any info related to N development, the information is classified only to admins and devs
[Redmi Note 2 Android Development] Adam Hui:
U maybe can use your "rabbit hole" relationship at mods or devs for getting any news, so we can decide to stick or move on from xiaomi..
[Redmi Note 2 Android Development] amlbuton:
We already have WhatsApp group with global mods and none getting any information related to any developments

All lips are sealed at admins and devs side

Actually for me, personally I would love to move on from xiaomi and get the new Samsung A5 2017
[Redmi Note 2 Android Development] amlbuton:
Quick question

How to backup the current kernel in the rom I used just in case I want to revert back to original kernel?

---------- Post added at 06:18 PM ---------- Previous post was at 06:13 PM ----------

Edited:

Found it, using flashify from playstore to backup and restore the kernel
[Redmi Note 2 Android Development] Adam Hui:
TWRP - backup - boot (checkes)
[Redmi Note 2 Android Development] amlbuton:
Does this kernel improve the battery slow charging issue on Marshmallow based rom such as Resurrection Remix 6.0 by Bule?

Sent from my Redmi Note 2
[Redmi Note 2 Android Development] andrea210701:
Nope

And please,don't ever quote the whole op again
[Redmi Note 2 Android Development] amlbuton:
Sorry won't do it again

My bad and thanks for your prompt reply

Sent from my Redmi Note 2
[Redmi Note 2 Android Development] freestart:
Hi,

is it compatible with MIUI 8.2 ver.7.2.9 based on Android 5.0.2?

Best Regards
[Redmi Note 2 Android Development] amlbuton:
It's for marshmallow 6.0 based rom, miui still stuck in lollipop 5.0.2
[Redmi Note 2 Android Development] freestart:
thanks for answer and where can I download Marshmallow 6.0 for Redmi Note 2?
[Redmi Note 2 Android Development] Điệp Khối:
It'd be here:

https://xdaforums.com/redmi-note-2/orig-development/6-x-based-roms-nofearnohappy-kernel-t3494631
[Redmi Note 2 Android Development] amlbuton:
I'm using RR by Bule from this thread

https://r.tapatalk.com/shareLink?ur...share_tid=3494631&share_fid=3793&share_type=t

[ROMs][CM 13][MIRRORED][RedMi Note 2]
[Redmi Note 2 Android Development] việt cường:
Kernel 3.10.104 Can be used on the room flyme 6 beta .... ? Thanks