yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] thichthat:
SIM card issue has already fixed since V4.9. If you want to try this kernel, you should wait because V5.1 is coming in few hours.
[Sony Xperia M] SunitTalwar:
request for 4.3 kernel too

can you plz make a custom kernel with latest features for stock 4.3 roms too as many of us still prefer to use 4.3 rom than cm5.1 (my personal reason being lack of led glowing with change of picture in album (really cool sony feature :p)

so can i plz request you too make a custom kernel for 4.3 too if you want i can test it on my m dual

plz take your time and think about it too

thanx
[Sony Xperia M] Agu_Ra:
You are goddamn wizard, NUI. Thank you a lot for working on kernel and making it more perfect with every update. BTW, is the phone running smoother or is it just self-deception? Can anybody else confirm it?

---------- Post added at 18:10 ---------- Previous post was at 18:08 ----------

BTW, on LG there is led confirmation for dt2w. Do you think this feature would be nice for nicki?
[Sony Xperia M] thichthat:
I can't sure that your phone will be smoother. I didn't mention it in the change log because it may depend on ROM you're using. Anw, I can feel a bit smoother on v5.1. The touch screen driver took me so much time so I hope it will make your phone run faster.

About the led indicator for dt2w, it may take me much more time, because nicki's led driver totally be a mess.
[Sony Xperia M] thichthat:
V5.1 is available now. Hope you all like it!

My time is limited, so I really can't make a kernel for stock 4.3. Sorry about that.
[Sony Xperia M] Agu_Ra:
Can we enable it via sysfs? Like it is done on boot by rc-file(s) when ramdisk is checking for key to enter recovery. Or we can't do something like this via kernel directly?
[Sony Xperia M] thichthat:
xperia m's LEDs can be turned on via both sysfs and kernel side. The only problem is that when you change the state of those leds, old settings (like their color, brightness, blinking interval,...) will be overwritten. It will be bad because led indicator for low battery, notifications,... will be dismissed.

BTW, anyone can check if your phone hangs when enabling mobile data?
[Sony Xperia M] Ydraulikos:
Sometimes it happens, especially when the cpu load is high.

Here is the last_kmsg for the OOM issue on CM11.
[Sony Xperia M] Agu_Ra:
Hello, [MENTION=4929675]thichthat[/MENTION]. User from another forum reported that the NUI Kernel app was removed from his phone with a warning that it is not safe. Also he can't find it on GPlay anymore. I checked it on mine, the app is no longer present in my applications list on GPlay (but is still present on my phone) and when I open it I get message about new version on Play Store and suggestion to download it, I confirm, and it opens app's page on Play Store, but it has the same version as mine.
[Sony Xperia M] thichthat:
Such a bad news. I have just received this email from Google:

EDIT: This is due to the selinux toggle. I'll remove it in V5.1_r2 and the app will go back to google play soon!
[Sony Xperia M] thichthat:
The app is now available on play store! Please update to V5.1_r2

Please don't care about google's warning. This app does NOT contain viruses, worms, defects, Trojan horses, malware, blah blah and it's SAFE for your phone
[Sony Xperia M] dim^n:
[MENTION=4929675]thichthat[/MENTION], I confirm, that it safe, who think its dangerours, sits with his locked non-rooted device :D
[Sony Xperia M] babyyeobo14:
MOD: disable internal storage doesnt work on Archidroid 3.0.1.1 (4.4.4) how can i disable internal storage.. please help :) Thanks in advance
[Sony Xperia M] thichthat:
You can use xposed method (install xposed framework and xinternalSD). It should work with all ROMs.
[Sony Xperia M] thichthat:
Anyone has problem with updating the kernel? Today I saw this review:

Btw, if you have any idea, please post to this thread and I'll consider adding it to next version.
[Sony Xperia M] manishurfmannu:
[MENTION=4929675]thichthat[/MENTION] I had installed the NUI kernel and my wifi is not turning on and i need to flash modules.zip as you said in the first post, I was unable to find any link or the file. Help me here. Currently i'm on Xperia M Dual , Parallax v1.0, NUI kernel.
[Sony Xperia M] Garv Maggu:
Pre-built file.

Here is NUI_MOD.zip file for CyanideL RC20.0.
[Sony Xperia M] thichthat:
It's time to download V5.2!!!!!!!
[Sony Xperia M] Alex_Gamer:
It's compatible with resurrection remix lollipop? Disable emulated storage is required?

Enviado desde mi nicki mediante Tapatalk
[Sony Xperia M] Garv Maggu:
It is compatible with almost all ROMs. Give it a try.
[Sony Xperia M] Alex_Gamer:
Thanks for reply, I want to know if disable emulated storage (nui mod) its required

Enviado desde mi nicki mediante Tapatalk
[Sony Xperia M] Garv Maggu:
Sorry, I didn't understand you.

You need to flash NUI_MOD.zip or NUI_MOD1.zip (incase, NUI_MOD.zip doesn't work) to disable internal storage.
[Sony Xperia M] AdrianDR94:
No, its not required. its a addon, only if you want.
[Sony Xperia M] elmkzgirxp:
Nice kernel. What are your thoughts about knock code?
[Sony Xperia M] icoolguy1995:
Excellent work mate, battery life is just awesome, Thanks for your work.
[Sony Xperia M] thichthat:
Since dt2w/s2w is not stable, I think that knock code won't be a good feature to be added.

Btw, I'm developing a new function that can replace 3 buttons on navigation bar (back, home, recent) with swipe up gesture (it will be faster and easier than pie). Also, there're many optimizations for the touch screen driver. I hope they will make the new version become much more better.
[Sony Xperia M] ndrancs:
I use s2w since it first came. So stable and not found any deep sleep problem or deep sleep forever again. Tested the kernel on almost any rom and work perfectly. Thanks nui. (Y)
[Sony Xperia M] SunitTalwar:
exactly its pretty much stable on all roms :) but its just my general observation that d2tw and s2w is much more stable and responsive on kitkat roms than 5 or 5.1 ones dont know the exact reason but phone wakes up every time in kitkat but have to try at max twice sometimes on lollipop roms and yes other wake up gestures would also be a nice feature to add to this awsome kernal

thanx:D:D

btw i have a question for all roms we have linux kernel 3.4.0 but i have seen some devices like xperia sp or even some kernels of xperia m have linux kernel version 3.4.4 or 3.4.(x something) so does that make some performance difference ???:confused:
[Sony Xperia M] Garv Maggu:
Pre-built file for TipsyOS V2.0.

Here is NUI_MOD.zip, NUI_MOD_1.zip and backup.zip file for TipsyOS V2.0.

I tested NUI_MOD.zip file and it works. I don't know about NUI_MOD_1.zip.
[Sony Xperia M] SdtBarbarossa:
Your kernel is supporting f2fs am i right? Is it a anykernel ? Are you only replacing ZImage or also fstab ?

Sorry for much asking ;-(
[Sony Xperia M] Agu_Ra:
It replaces only zImage and patches ramdisk to get some tweaks working. 'Bout fstab don't know. It might be replaced when flashing disable emulated storage mod.

---------- Post added at 23:27 ---------- Previous post was at 23:25 ----------

And f2fs is supported. Somebody here already successfully formatted their /data partition to f2fs.
[Sony Xperia M] SdtBarbarossa:
Yea f2fs support in zImage means nothing if the rom dont boot because of incompatible fstab... Thats why i ask ;-(
[Sony Xperia M] Agu_Ra:
I checked fstab and it seems that it is unmodified. But someone formatted their data to f2fs and booted successfully (you can search the thread to find needed posts).
[Sony Xperia M] arpeggio16:
Weirdly, in 5.2, my mobile data does not work. Whenever I turn on my mobile data, the 'no sim' icon appears. At least it does not freeze anymore. I'm running CM12.1 10/20 build. Does anyone have the same problem?
[Sony Xperia M] Garv Maggu:
Pre-built file for RazorRC-2.0.

Here is NUI_MOD.zip and NUI_MOD_1.zip for RazorRC-2.0. I don't remember which one of them works. You can try both and I'm sure that one of them will work.
[Sony Xperia M] ndrancs:
Yes I have experienced this issue. I just reboot with normal reboot via power button menu. I am rebooted the phone almost 5 times and finally I can connected.

---------- Post added at 12:17 PM ---------- Previous post was at 12:11 PM ----------

I have formatted the /data with f2fs.

And here my fstab.qcom:

# Android fstab file.
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

#TODO: Add 'check' as fs_mgr_flags with data partition.
# Currently we dont have e2fsck compiled. So fs check would failed.

#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/block/platform/msm_sdcc.1/by-name/boot /boot emmc defaults recoveryonly
/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel /recovery emmc defaults recoveryonly
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1 wait
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 noatime,nodiratime,nosuid,nodev,barrier=1,noauto_da_alloc wait,check,encryptable=/persist/footer
/dev/block/platform/msm_sdcc.1/by-name/userdata /data f2fs rw,discard,nosuid,nodev,noatime,nodiratime,inline_xattr wait,check,encryptable=/persist/footer
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 nosuid,nodev,barrier=1 wait,check
/dev/block/platform/msm_sdcc.1/by-name/cache /cache f2fs rw,discard,nosuid,nodev,noatime,nodiratime,inline_xattr wait,check
/devices/platform/msm_sdcc.3/mmc_host/mmc1* auto auto defaults wait,voldmanaged=sdcard1:auto,noemulatedsd
/devices/platform/msm_hsusb_host auto auto defaults voldmanaged=usbdisk:auto
[Sony Xperia M] thichthat:
Have you tried removing battery and plug it in again? Can you show me your baseband version (in Settings > About Phone)?
[Sony Xperia M] abhatia1435:
Waiting for a new update compatible with Android 6.0 :)
[Sony Xperia M] thichthat:
I can't test it on 6.0 now, but if you're running 6.0, you can try it. It should compatible with all 4.4+ ROMs because they all use CM's kernel.

Btw, V5.3 will be available in few hours. There will be many optimizations and new features waiting for you. Stay tune!
[Sony Xperia M] thichthat:
It's time for V5.3!!!!!!

For sound control, don't use faux123's app because his app doesn't have same parameters with our device.

Tips: You can hide the nav bar and use edge gesture to save more space on screen!
[Sony Xperia M] Ydraulikos:
I tested this kernel on 6.0 but it cannot boot. After the sony logo the device hangs with black screen. I restored the stock kernel but the wifi doesn't work (different wifi module?). Is there any way to fix this without reflashing the whole rom?

EDIT: For those with the same problem you need to replace the wlan.ko module with the original. I uploaded a flashable zip with the original kernel modules from 6.0 alpha 1.
[Sony Xperia M] icoolguy1995:
Pecancm released AOSP not CM so I guess that is why it isn't working. To get wifi working you need to reflash AFAIK.

And BTW how to use edge feature? I selected 3 action for 3 slot now nothing is happening if swipe from bottom to up. What did I done wrong here?
[Sony Xperia M] thichthat:
Yes, he built an AOSP ROM. But the commits for kernel was taken from CM. Anw, I'll add some patch from his kernel, which maybe can make NUI compatible with 6.0.

Sorry I was so sleepy last night and wrote a wrong code. Will fix it in V5.3_r1.
[Sony Xperia M] ndrancs:
No removing the battery.

Nope.

Here my baseband ;)
[Sony Xperia M] ndrancs:
Edge gesture: finally I can get ride my mipop.apk with this feature. Cool, I can't imagine this phone will have such this thing. Thanks [MENTION=4929675]thichthat[/MENTION]
[Sony Xperia M] sidsharma2201:
How exactly to use edge gestures?.can't figure it out yet
[Sony Xperia M] thichthat:
Just enable it and try swiping up from bottom edge.

Btw, V5.3_r1 is available now with new backup/restore function and "Edge gesture" working. You don't need to flash new zip file because it just an update for the app.

After restoring settings, you will need to reboot your phone to apply changes.
[Sony Xperia M] icoolguy1995:
Edge feature working great!
[Sony Xperia M] sidsharma2201:
Edge function is just awesome.. But thing is transparent nav bar is lost. I know nobody will bother.. But I let you know.

Thanks for the feature.
[Sony Xperia M] Garv Maggu:
[MENTION=4929675]thichthat[/MENTION] Whenever I change the speaker gain to 20, the volume increases very much but the sound is kind of bursting out which is unclear and unpleasant. :(

Can you try to fix so that the volume would be clear whenever speaker gain is changed to higher values? :confused:

---------- Post added at 02:24 PM ---------- Previous post was at 02:22 PM ----------

Yes, it is lost. But we can use it by swiping down the status bar which will also swipe up the navigation bar (Provided we hide both of them).
[Sony Xperia M] thichthat:
Go to tweak > android side > UNcheck enable low RAM. Maybe it should fix.

Edit: did you mean nav bar is not transparent? Or something else like Garv Maggu said?

You shouldn't set speaker gain to maximum, because it will make noise and unclear sound. Playing sound too loud in a long time can damage your speaker. It really cannot be fix because that's a hardware limitation.

Btw, since AOSP marshmallow is still very unstable, I will not make my kernel be compatible it. I'm waiting for CM13.
[Sony Xperia M] Agu_Ra:
An what did you expect? It is obvious that speaker as any hardware has its power limit. If you set too high gain it won't produce quality sound. NUI is developer, not wizard. He can't make your speaker physically better using software.

And for me navbar background is still transparent.
[Sony Xperia M] sidsharma2201:
[MENTION=4929675]thichthat[/MENTION] I meant transparency is lost. I haven't enabled low RAM. [MENTION=5917809]cucumber09[/MENTION] is it still transparent when used in normal (without expanded desktop or this mod) mode?
[Sony Xperia M] Agu_Ra:
Yes, it is.
[Sony Xperia M] sidsharma2201:
It seems like a theme issue...Sorry
[Sony Xperia M] ndrancs:
About edge gesture: this feature doesn't follow screen rotation, when I play full screen game then I flip the phone but the edge gesture always in bottom edge of the phone. I think it hard to fix so don't take this as request I just report it. ;)
[Sony Xperia M] thichthat:
Yup I forgot to say so. The feature doesn't follow screen rotation and it really hard to be fixed. To do so, I'll have to make a service to detect screen rotation and send it back to kernel. It may make the feature become unstable.
[Sony Xperia M] dim^n:
[MENTION=4929675]thichthat[/MENTION], can you make please a feature to answer calls by pressing vol+? Im using xposed additions, but have problems with it. I think that feature will be usefull for most.
[Sony Xperia M] thichthat:
Thanks for your feedback :) Btw, do you have problem with mobile signal?

This problem happen in all CM-based kernel of XM. I know how to fix it, but I don't have much time now :( I'll try to fix this problem in the next version

I don't have much time to work on my computer now because next month I'm having some important test at my school. So I'll go back to this project when in June. Sorry to make you wait..

edit: I'm testing my 2nd ROM function which can help you mount your sdcard as data partition. The result is very good. This feature will be included in the new version ;)
[Sony Xperia M] thichthat:
I post a new trick to control max cpu freq, Read my 2nd post

Btw, I sent SXDeveloper my dt2w source code and it was added to his kernel. You can try his kernel here (without UV and reducing min brightness)

http://www.sxdevelopers.net/2014/11/ubl-sxdnickilolly-hybrid-kernel-for.html

I'm keep working with him on dt2w and s2w function so it may work more stable.
[Sony Xperia M] iks8:
btw i found some non proffesional method to set max freq for second core: I've just manually edited file scaling_max_freq located in /sys/devices/system/cpu/cpu1/ via root explorer. Now i have 1,2 ghz on both cores using interactive groventor. The strange thing is that even after reboot this file isn't changed to orginal value so you don't need to edit it after every reboot.
[Sony Xperia M] Damian11131:
All it's OK, my CM version: 20150408 ( beta 2).

---------- Post added at 10:14 PM ---------- Previous post was at 10:06 PM ----------

All it's OK, my CM version: 20150408 (beta 2)
[Sony Xperia M] dastan4eva:
Am on cm 12.1 fxp ,can anyone help me to install this kernel. I tried installing the zip and the 12.1 patch also but there is no network so i had to reflash my rom .tribe
[Sony Xperia M] sennohananto@gmail.com:
Okay sir, now fokus to tour exam.. :D

I will wait for your next great work .. :)
[Sony Xperia M] mankokoma:
Report take-video bug

Thanks for this kernel! I really love all functions with UV, GPU tuning, governors etc.

Just wanted to report that there is one annoying bug, which brings me always back to non-OC kernels:

When you take a video there is a very loud ongoing beeeeeeeeeeeeeeep in the audio track which overlays everything else. Unfortunately this makes it unusable. Can anyone confirm this? It doesn't matter what Camera App I try...
[Sony Xperia M] raghu18:
Yes, some problem with video recorging of camera

I just checked and strangely there is this pinching noise when I playback the videos recorded using the camera. I tried on google camera app and its really irritating.
[Sony Xperia M] thichthat:
Sorry about this annoying issue. I'm not having much time so I can't work on the source code now.

I also have the same problem. But I fixed it by changing audio encode to ARM (instead of AAC), using this camera app: https://play.google.com/store/apps/details?id=com.cyngn.cameranext
[Sony Xperia M] raghu18:
I too tried that app, though play store didn't let me download that but I got the apk from some website. and changing the audio codec to AMR-NB seems to have fixed the issue. I didn't get the ARM option.

Anyway great work, the kernel's very good
[Sony Xperia M] mankokoma:
Thanks for workaround! Okay now. But "device not compatible" in playstore, so:

apkmirror.com cyanogen-camera
[Sony Xperia M] soeltz7fold:
same mobile network issues here

yes, my signal gone after flash this kernel with add.ons :angel:

im using 5.1 ressurection now, and back to stock kernel

btw, nicew kernel with reduce brightness that make soft view:good:
[Sony Xperia M] thichthat:
Thanks for your feedback. I have just updated my kernel. Can you try it on your phone?
[Sony Xperia M] itsnie:
I can try, but first can you explant to me about

Edit: ups my mistake
[Sony Xperia M] dim^n:
So cool stuff, thanks a lot! The most hardcore rom becomes even better that it may be.

I tried to get compatibility with latest fota TWRP by changing zImage in AICP boot, and finally just flashed this. Its cool, that it mostly has no bugs on AICP as far as I know and now I can leave AOKP boot logo by repacking boot image.

Some questions. Undervolt is usefull, but how much I can reduce? 50% of voltage will damage cpu or not? And zip has modified system/lib modules, what they do? Or it only for stability? TWRP not the newest, strrange.

And finally small bug - clock screensaver works improperly.
[Sony Xperia M] mszain:
anyone one here has tried v2.5 on cm12.1 rom?, or does it still has the no signal bug.

n: sorry for the bad english:silly:
[Sony Xperia M] thichthat:
Thanks for your feedback. About undervolting, you can reduce -100mV for each cpu freq. If you reduce more than the allowed value, your phone will automatically reboot, but don't worry, your cpu will not be damaged.

I've just tested clock screensaver and it worked fine. Maybe the problem comes from the ROM.

Btw, I will not release newer version of the kernel. Yesterday I talked to Noel Macwen, the owner of SXD kernel. I sent him all my changes and he will add them into his kernel. He has more time working on computer than me so that I think it will be better if he can carry on my work..

I will still keep my project on xda, to guide people who want to try my disabling internal storage mod. If it work, please give me a feedback. Thank you!
[Sony Xperia M] dim^n:
thats bad news :/ You make a good job! Will his kernel work on CM11 based roms? I downloaded his kernel, and it has no img so i dont know how to repack with my logo. If the fota recovery from cucumber09 will work with it (with this kernel it doesnt work), that will be good stuff. And I'm still interesting in purpose of modules in flash zip. Without them wifi tethring isnt working :)
[Sony Xperia M] dastan4eva:
So no more future versions for this kernel ? Sad
[Sony Xperia M] thichthat:
So not many people like the new boot logo? No problem, I will release one more version with stock boot logo and disable the offline charging mode.

Btw, SXD's kernel will use the same ramdisk with mine, so that you will be able to use any version of CM with his kernel
[Sony Xperia M] thichthat:
OK. I'll think of an idea for it.
[Sony Xperia M] arpeggio16:
Sorry for the late response. I reverted to stock 4.3 and flashed 10/24 build of CM12, then installed 5.3_r1. No more problems with data, and everything works nicely. This would probably be my daily driver for a long time, thanks to this kernel. :)
[Sony Xperia M] dim^n:
Found bug on AICP 4.4.4 - sound settings resets after boot.
[Sony Xperia M] thichthat:
Got it. It's a bug in the app. The next version will be release when "volume up button to answer call" function is done.
[Sony Xperia M] thichthat:
Here's good news for all:

Since android 6.0 marshmallow use a new way to manage storage, it's easy to use sdcard as internal storage without modifying framework-res or formatting/adopting your sdcard.

You can get more information here. Compare to methods used in older version, it is much more easy and stable.

https://source.android.com/devices/storage/config-example.html#android_6

Still waiting for a stable build of M...
[Sony Xperia M] Garv Maggu:
Yeah.... :D :D
[Sony Xperia M] dim^n:
[MENTION=4929675]thichthat[/MENTION], can you also add please option to gain call and media speakers separately? I wanna increase call speaker, but media speaker becomes so loud, that makes it unusable. Thats amazing option, now I can use sitar file, that have best settings, but the only problem for now is very loud media speaker, system sounds is very loud, cause I set its gain to 15. Thanks a lot for your work!
[Sony Xperia M] Agu_Ra:
Hello 2 all, guys. Is swipe to control media on the latest build not working only for me or does anyone experiencing the same issue? To prevent further questions: yes, it is enabled in phone services.
[Sony Xperia M] thichthat:
Confirmed. I did mistakenly remove these codes when trying to optimize dt2w/s2w. Sorry about that..

Btw, yesterday I tested the kernel on Ron's marshmallow build and everything worked fine. Here's the link for boot.img which can be flashed via TWRP: https://drive.google.com/file/d/0B2-0MyP06DN5dW5oMWgyb0FPVjQ/view
[Sony Xperia M] SunitTalwar:
correct me if i am wrong but shouldn't the name of the kernel change after flashing it ??:confused:

i tried both twrp flash and fastboot but kernel name remained same though ??:confused::confused: ie ron desktop something??
[Sony Xperia M] thichthat:
The name must be changed to "ngxson@ngxson" and Nui app must also show that you're using Nui. You should flash boot.img which support adopting sdcard before flashing nui test.zip.
[Sony Xperia M] elmkzgirxp:
Does this kernel support gamma control?
[Sony Xperia M] thichthat:
No. I don't know anything about gamma controlling algorithm (the display also doesn't support it). Anw, you can still control color temperature.