yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] tarkan-t29:
I've been using the Kernel since a long time for now, it's just awesome, I want to thank you Nui for this awesome work and your continuous work :D !

I may have a bug to report, but I'm not sure if it's only on my phone or not. When I get a phone call or a facebook call, the screen goes off, the proximity sensor seems stuck, locking/unlocking using the power button does not work, the screen stays off until the phone call is ended.

As I was not sure, I reflashed the stock Kernel then reflashed NUI Kernel, the bug returned. Does anyone have the same issue?

Nui, keep the good work, big thanks :D !
[Sony Xperia M] Agu_Ra:
Disable proximity sensor tweak in NUI app.

And that's why this change was reverted in CM11, some users had the same problem because of changing proximity sensor working distance value in kernel (it was increased from 2 or 3 to 5 cm). I think, it is hardware problem that affects only separate revisions of phone (like screen blinking when using lower than stock brightness, it is "individual" bug too) and that's probably why Sony didn't use bigger value for proximity sensor.
[Sony Xperia M] thichthat:
So funny ;)

Exactly I don't have more ideas now. I only added kexec and MultiROM support for next version, and maybe media control as [MENTION=5917809]cucumber09[/MENTION] metioned. The only problem is that I'm not having much time to spend on this project.

I didn't think about it. Yes, it should be a hardware related issue. You should keep front panel clean because dust can reflect infra-red ray from the sensor, or just easily make it less sensitive.

p/s: I will try adding music control as you said. I'll use a service via android side to detect if music is being played before enable this feature in kernel, so that's will be more stable.

Btw, anyone faced the forever deep sleep issue again?
[Sony Xperia M] Agu_Ra:
Take your time, don't hurry up, better do what is more important at first (homework, for example), we will wait that long as it is needed. And thank you very much for all your work.

---------- Post added at 10:31 ---------- Previous post was at 10:28 ----------

About deep sleep, I didn't face it again, but one time wake gestures just stopped to work as you said before.
[Sony Xperia M] thichthat:
V4.8 is available!!!

Here's the change log:

For installing MultiROM, read #2 post here
[Sony Xperia M] adi2500:
Hey,

ive downloaded v4.8 and after installing the kernel, it says installiert/update. Ive checked, the ZIP is generated today. My Main issue is that i cant open tweaks menu or inbuilt nofrills with this state.

Im using disable internal storage mod.
[Sony Xperia M] thichthat:
There's a mistake in the code. You can access these menu by creating a blank file named "nui_debug" in /sdcard/
[Sony Xperia M] C25:
Awesome , music swipe working:D

Tested on stock cm12.1 music app & saavn,both apps working.
[Sony Xperia M] Garv Maggu:
[MENTION=4929675]thichthat[/MENTION] How to know which version of NUI kernel is installed on the phone?

I am asking this because the kernel doesn't say 'The kernel is up to date'. It always shows 'Install update now' even after flashing the method.zip file twice.
[Sony Xperia M] thichthat:
There's a mistake in the code. You can access these menu by creating a blank file named "nui_debug" in /sdcard/

Update V4.8_r1 will be available in about 1hr.

Please update to V4.8_r1
[Sony Xperia M] Garv Maggu:
[MENTION=4929675]thichthat[/MENTION]

Will the mistake in the code be fixed in V4.8_r1?
[Sony Xperia M] thichthat:
Fixed. Please check for update on play store. You don't have to flash method_zip.zip again when upgrading from 4.8 to 4.8_r1
[Sony Xperia M] Garv Maggu:
[MENTION=4929675]thichthat[/MENTION] Got it. Thanks NUI..!!

---------- Post added at 02:40 PM ---------- Previous post was at 02:35 PM ----------

[MENTION=4929675]thichthat[/MENTION] Does undervolting make phone slow. Because I feel lags whenever I use built-in undervolt script.
[Sony Xperia M] dim^n:
Okay, here some ideas:

1. Support for answer or decline incoming calls by using vol or camera buttons. Its really usefull and should be in every custom rom!

2. Hyper cpu gov, its one of the best.

3. Any of these ideas or some other kernels http://xdaforums.com/nexus-4/orig-development/kernel-ultimate-unleashed-kernel-series-t2845768

Yes, it does. Less voltage, less performance.
[Sony Xperia M] adi2500:
Feature Suggestion

Hey,

just a suggestion for the app: Adding a Quick Setting Tile with changing the lowest brightness value. I think cm SDK is able to do that. That would be a great addition to the app :o
[Sony Xperia M] thichthat:
AFAIK, there's no 3rd app that can add tile to quick setting (except xposed modules, but I'll not use it because it's too difficult for me and it will not works well on all roms)
[Sony Xperia M] Agu_Ra:
As [MENTION=5241234]adi2500[/MENTION] mentioned, there was something like this in CM SDK.
[Sony Xperia M] thichthat:
Sorry I haven't heard about cm sdk before. I've just read some infomation about it and I'll try in next version.
[Sony Xperia M] Remorcer:
It doesn't. The CPU does a specific amount of cycles every second. If you undervolt, it will still complete those cycles, unless you undervolt it too much, then it can't complete them and it will cause freezing. You can check the performance with benchmarks.
[Sony Xperia M] Garv Maggu:
[MENTION=4929675]thichthat[/MENTION] Hey NUI.. Please tell me that does undervolting phone also decrease performance? :confused: :confused:
[Sony Xperia M] tarkan-t29:
[MENTION=5917809]cucumber09[/MENTION] thanks for the tip :highfive:

For the screen backlid flickering, I've noticed that but it's not catastrophic, it's slightly visible, only if you concentrate too much ^^ .
[Sony Xperia M] Remorcer:
Let me help you.

http://lmgtfy.com/?q=Does+undervolting+decrease+performance
[Sony Xperia M] thichthat:
Undervolting works well on my phone and there's no decrease in performance. However, this is not recommended by the manufacture. Lower volt may cause inaccurate calculation, so if you have problem with, just disable undervolting.
[Sony Xperia M] Garv Maggu:
[MENTION=4929675]thichthat[/MENTION] Thanks NUI
[Sony Xperia M] dim^n:
What do you mean with "inaccurate calculation"?

Im using many graphical tweaks included in rom with xposed modules, so the performance is less than normally when cpu is undervolted.
[Sony Xperia M] ndrancs:
Example use of cm sdk.
[Sony Xperia M] thichthat:
I mean when cpu and memory run on a lower voltage, they may not work correctly and cause data corruption.

OK I'll try it
[Sony Xperia M] Agu_Ra:
Do you use built-in undervolt script or manually apply minimal voltage values?
[Sony Xperia M] thichthat:
I tried adding tile using CM sdk but didn't success (I'm using mokee 5.1.1 ROM). Anw, I'll try using toggle via notification. It should be more stable and compatible with all ROM.
[Sony Xperia M] adi2500:
Can you pls share your apk with quick tile, even if you had no success? I wanna beta-test it in cm12.1^^
[Sony Xperia M] SimsDhillon:
i have disabled internal storage.. and now whenever i try to install an app mobile just reboots.. Now how can i enable internal storage... Please help thankyou.
[Sony Xperia M] T0meG:
CM12.1 Recovery I have this problem when install NUI or TWRP:

Install failed

Finding update package...

Opening update package...

Verifying update package...

E: footer is wrong

E: signature verification failed

Installation aborted.

When I open TWRP Manager i have this error:

In-App Billing setup failed: Billing service unavailable on device. (response: 3:Billing Unavailable)
[Sony Xperia M] Agu_Ra:
First is because you have a piece of crap called CM recovery, you should get rid of it if you want to install unsigned zip packages. And TWRP Manager app failure is because of GApps, do you have them installed? Also this error can be due to using some app billing hacks (as Freedom or Lucky Patcher), if you use them. If you have GApps but it still doesn't work, try other install method, dd method, for example, you can find it in official TWRP for Xperia M page, the link is in official TWRP thread's OP.
[Sony Xperia M] T0meG:
I have installed GAPPS for 5.1.1 from gapps . cyanogenmod . pl

I uninstall LuckyPatcher, GameKiller etc.

I was have installed OGYouTube for non root users (I havent Xposed). I was uninstall all apps from OG for OG Youtube, and reinstall GAPPS.

But TWRP Manager cant run... :/
[Sony Xperia M] Agu_Ra:
Did you try wiping its data in app's info? Have no other idea why it doesn't work, but it seems that some of hacking apps broke something in Google's billing service.

BTW, as I said earlier you can use other install method.
[Sony Xperia M] T0meG:
dd metod Only run first code but 2nd do nothing :/ When i reboot phone to recovery, open CM recovery.

I only not wipe data
[Sony Xperia M] Agu_Ra:
That means you are doing something wrong. And data wipe is not needed. Try installing TWRP via dd method and provide me screenshot of your terminal. BTW, better post it in TWRP official thread.
[Sony Xperia M] dim^n:
Im using 3c toolbox to set it on boot. You think there is some difference?
[Sony Xperia M] Agu_Ra:
The difference can be in undervolt values. As I remember you posted the minimal working values for UV, the built-in script has not so extreme values.
[Sony Xperia M] T0meG:
Im wipe data. And installed TWRP and after installed backup of all aps (Titanium Backup)

Soo everything is ok now :)
[Sony Xperia M] msk198:
hi,

In cyanogenmod11 with latest NuiKernel mobile network don`t work, wi-fi working good.

this is bag? or nui kernel don`t support CM11?
[Sony Xperia M] Agu_Ra:
The new versions don't support CM11. thichctat tried fixing the bug with network, but no success. Maybe it will work if someone will fork this kernel with CM11 sources.
[Sony Xperia M] thichthat:
I'm so busy now, but I'm still keeping developing on this project. Here is a list of things I planned to do in next version:

- Prevent audio glitches for music playback (experimental)

- Add toggles for some settings via notification drawer (still working on this)

- "Very dim" brightness now a bit dimmer

Still can't fix the problem with radio/sim card on cm11
[Sony Xperia M] madper:
Great work Nui, this is the best kernel i've ever used ;)

I've been wondering, is this possible to decide which recovery to use at boot time? So, for example pushing vol down button during boot will go to kernel recovery and vol up to Fota recovery. If it is possible, i think this would be a "nice to have" feature to be added, :)

Sent from my C1905
[Sony Xperia M] thichthat:
That's a great idea! I'll add this feature.
[Sony Xperia M] PecanCM:
have you tried re enabling devmem/kmem ? lollipop rmt_storage using uio but kitkat rmt using dev/kmem and non working rmt means no radio on our chipset.
[Sony Xperia M] thichthat:
Thanks for your solution. I'll try it :good:

Btw, is that the correct file I have to edit? And why it's disabled?

https://github.com/CyanogenMod/android_kernel_sony_msm8x27/commit/ec78deeea289c1e2dbaf09f8927707cbec0fb4cc
[Sony Xperia M] Mysteryagr:
I wasn't following the thread, New here...

Does that mean the kernel isn't fully functional on cm11?

Thanks in advance.

Edit: nevermind, I hope you can fix radio bug.
[Sony Xperia M] PecanCM:
yeah and because it's useless on lollipop.
[Sony Xperia M] thichthat:
V4.9 is now available!!!!!!!

About notification toggles: I'll try to add this feature on next version. It should take me more time.

Hope you enjoy V4.9! :good:
[Sony Xperia M] kruzyk:
What about Link2SD using MOD: Disable emulated storage (internal storage)?

Can I format my 32GB card and use whole space on it with single partition?
[Sony Xperia M] thichthat:
You can still use Link2SD with this mod, but you must have 2 partitions on your sdcard. The first partition should be formatted in fat or ntfs to store photo, music, etc... and the 2nd partition should be ext4, for storing linked data.
[Sony Xperia M] Garv Maggu:
[MENTION=4929675]thichthat[/MENTION] Hey NUI.. The screen is kind of flickering when we go to the lowest brightness.

Is this a bug? :confused: :confused:
[Sony Xperia M] Ydraulikos:
There is a nice explanation for this here
[Sony Xperia M] thichthat:
It happen on my old xperia go and samsung galaxy y too, so I don't mind this problem. Hardware is the exact reason, like [MENTION=5532654]Ydraulikos[/MENTION] said above.
[Sony Xperia M] Ydraulikos:
For me the default darker brightness is OK (although it flickers a bit when the display is white). Maybe we can fine tune this for the "Darker" level to +1 or +2 (or adding a new "no flicker dark" level) so the flickering won't be noticeable at all, if many find this annoying.
[Sony Xperia M] thichthat:
To prepare for next version, anybody can help to translate the app. You can follow the instruction here:

http://pastebin.com/wL3bwQ1U
[Sony Xperia M] Garv Maggu:
[MENTION=4929675]thichthat[/MENTION] Hey NUI.. Will you add inverse controls for 'Swipe to control media' in the next version? :)
[Sony Xperia M] thichthat:
It was already added. Please check settings in the "NUI music helper" accessibility service.
[Sony Xperia M] Garv Maggu:
[MENTION=4929675]thichthat[/MENTION]

Oh yes.. It is already added. :)

Can you also add function of 'Double tap to sleep' and 'Swipe from top to bottom to sleep'? :D
[Sony Xperia M] thichthat:
Double tap to sleep: I thought about this before, but it's hard to detect when you really want double tap for screen off.

Swipe from top to bottom to sleep: swiping from top to bottom corner must be difficult because XM's screen is quite long (16:9 ratio). This action also can easily be understand as pulling down the notification drawer, so I think that's not a good feature to add.

Anw, thanks for your suggestion!
[Sony Xperia M] Garv Maggu:
Okay..

I have also thought of another feature but I think it is very hard to build. Anyways, here is that feature.

Drawing gesture to open specific app.

For ex :- If the screen if off, we can draw 'N' to open the NUI Kernel app directly.

Is this feature possible? :confused:
[Sony Xperia M] ndrancs:
Like in Xperia L custom kernel.
[Sony Xperia M] kruzyk:
But if mod works the same as Link2SD where is the point? Or this mod is not for making bigger storage for apps.
[Sony Xperia M] thichthat:
Not thing is impossible. But this feature is so difficult for me to add...

It doesn't work like Link2SD. This mod disables the emulated sdcard on /data partition while Link2SD links data files in /data partition to 2nd partition on your real sdcard.
[Sony Xperia M] Garv Maggu:
Yes. That's what I have said. It's very hard to build.

So, will you try to add it?
[Sony Xperia M] kruzyk:
But the result is almost the same? That we can storage apks on sdcard - but mod is even better couse we can place all apk files directly on sdcard, true?
[Sony Xperia M] Mysteryagr:
Games started to hang and the device is frozen (I have to remove the battery) when using NUI kernel on cm11.

What may cause this?
[Sony Xperia M] Garv Maggu:
Have you undervolted it?

If yes.. try to play at normal voltage settings.

Moreover, increase the overclock mode, change the governor to performance and set GPU to 400mhz or 500mhz as your game demands.
[Sony Xperia M] Mysteryagr:
I didn't change any settings....

Ok, will try. Thanks
[Sony Xperia M] Garv Maggu:
Not updating..!!

[MENTION=4929675]thichthat[/MENTION]

The kernel is not being updated to 4.9_r1.

I opened the NUI Kernel app, it did not show me the notification for update.

Then I opened the Play Store, it showed me the update.

I rechecked about update by opening the NUI Kernel app, but still it not showed any message about the new version. It said that You are up to date.

Finally, I updated the app to 4.9_r1 from 4.9 using the Play Store.

After opening the app, it still shows You are up to date.

It's not showing option for installing the update so that I can update to new kernel by installing .zip file.

Please fix it.
[Sony Xperia M] mszain:
well i think the 4.9_r1 update is only for the app and not an update for the kernel so its normal.
[Sony Xperia M] Garv Maggu:
Then why it didn't show the message 'New version is available on the Play Store. Do you want to update now?'

Also, where is the Vietnamese translation? :confused: :confused:
[Sony Xperia M] ndrancs:
Try set phone language to Vietnamese
[Sony Xperia M] Garv Maggu:
Sorry, but there is no option for Vietnamese language in my phone settings.
[Sony Xperia M] thichthat:
Exactly 4.9_r1 is an update for the app and there's no change in the kernel.

The app will show Vietnamese when you change your phone's language to "Tiếng Việt". However, you don't have to check if it works, because some of my friend reported me. I translated it into vietnamese because many people from VN use my kernel. Their English is not good so they send me messages to ask about some features.
[Sony Xperia M] pardan:
all system apps fc when i try disable internal storage :confused: why?

im using CM11
[Sony Xperia M] thichthat:
It's not works on some roms. If you're using cm11, I suggest installing xposed and xinternalsd. That's should be more stable.
[Sony Xperia M] icoolguy1995:
Using this kernel from yesterday. No hiccups, all things running fine. Mobile running 2x faster.

Thanks.
[Sony Xperia M] Garv Maggu:
Can you add option for changing the language inside the app? :confused:
[Sony Xperia M] thichthat:
I'm glad you like it!

Yes. I'll add it. I'm on a vacation with my family so the project will be paused until 2nd September. Hope you all enjoy v4.9_r1!
[Sony Xperia M] kruzyk:
[MENTION=4929675]thichthat[/MENTION]NUI rom working as charm but mod for disabling internal storage not. I'm on Parallax so I use pre-build file. After flashing I have only very long boot and after that black screen which is all time on. Buckup file is working but I want to disable internal and use external storage :P

Is xinternalsd working with 5.1.1?
[Sony Xperia M] dhruubo:
Can you make a disable emulated storage zip for cyanideL rom...thanks in advance
[Sony Xperia M] madper:
Yes, XInternalsd working on 5.1.1, i'm currently using it on CM 12.1 with this kernel

Sent from my C1905
[Sony Xperia M] Garv Maggu:
Please Hit THANKS if I helped.

!!..Please Hit THANKS if I helped...!!

[MENTION=4621878]kruzyk[/MENTION]

Sorry dude.. but this file is working. I tested this file on my device.. it worked fine. Also, an another user reported that this file is working fine.

Check http://xdaforums.com/show...&postcount=219 and http://xdaforums.com/show...&postcount=220

Make sure you have done the following :-

1. Using NUI kernel and check whether it is properly installed by opening tweaks menu or cpu control menu.

2. The NUI_MOD.zip file that you have downloaded is not corrupted.

3. Try to format internal storage (data/media/0) in TWRP and then flash NUI_MOD.zip

!!..Please Hit THANKS if I helped...!!
[Sony Xperia M] apacher:
NUI kernel get fc after i using fly-on tweak, any one know how to fix, i will upload the logcat soon
[Sony Xperia M] apacher:
Here is the logcat :) pls fix it
[Sony Xperia M] thichthat:
Thanks. I'll try to fix it.

Can you try wiping data of the app or re-install it?
[Sony Xperia M] apacher:
Fixxed by using fly-on app to controll the mod :3 thank
[Sony Xperia M] Garv Maggu:
[MENTION=4929675]thichthat[/MENTION] Can you add feature of custom sound during boot animation? :confused:
[Sony Xperia M] thichthat:
Since it NOT a feature packed with the kernel and it's depend on ROM, I have nothing to do with it. However, you can try searching for solutions on google.
[Sony Xperia M] thichthat:
It has been a long time since the V4.9 released. I'm so pround to say that V5.0 is now available!

Hope you enjoy it! :D
[Sony Xperia M] madper:
I have a little problem with this new version, some setting like minimum brightness level, d2w setting and overclock level not persist after reboot, could you please take a look on this issue?

Sent from my C1905
[Sony Xperia M] thichthat:
Confirm it. There's a mistake on the ramdisk. Sorry about that, I'll fix as soon as possible.
[Sony Xperia M] mankokoma:
[Q] get rid of "disabling internal storage"

I disabled internal storage... (it's fine and works but seems to lag sometimes as sdcard is slower than internal hardware(?)). However I do not really need the benefit of more internal storage (playing fast games is ridiculous on this device) and would like to to get back more performance AND I'd like still to use the great NUI-Kernel.

So I tried updating CM, no problem, internal storage is back witch "CM-stock-kernel". But after flashing NUI-Kernel I got bootloop until adb-shell-command 'stop' and do the "disabling internal storage"-procedure. Then boot-up and everything works again as usual, but all /data/media/0 on sdcard...

- So, is it true what I think: the lags comming from slow sdcard an would the device be faster again by disabling sdcard-data?

- How do I get back without wiping all data? (NO I don't want to.... If I have to do such a big Action I would change everything to Archidroid)

- Which data do I have to put back to /data/media/0 and ../obb to make internal work again?

Thanks in advance, specially to kernel-Master NUI !!!
[Sony Xperia M] thichthat:
I think that the edited framework-res and sdcard speed caused lag. If you want to revert this mod, you should backup your data using Titanium backup, then wipe data/system partition and reflash rom.

This mod doesn't change anythings on your sdcard. After reflashing rom, you can move obb on sdcard back to /data/media/obb
[Sony Xperia M] thichthat:
Updated "Disable internal storage"

9/17/2015: Update apktool to v2.0.1. Fix problem on some nightly builds. Add zip align tool.

New update works like a charm on Archidroid v3.1.3

See post #3: http://xdaforums.com/showpost.php?p=60505308&postcount=3
[Sony Xperia M] sidsharma2201:
Can somebody share storage mod zip for latest nightly or any previous nightly.?

Thanks...
[Sony Xperia M] Ydraulikos:
The LMK module doesn't seem to work on CM11 (works with stock kernel). If you don't swipe the apps from the recents the device gets OOM and reboots due to kernel panic.
[Sony Xperia M] mankokoma:
BTW, had some "bodies" relating to /system/kernel in addon.d script. After delete them in the script the installation of NUI-kernel worked again after upgrading last nightly of cm12.1 - without disbled internal storage and without wiping all data. ...there's a fine line between stubborness and stupidity...
[Sony Xperia M] thichthat:
Since every CM update has its own ramdisk, the /system/kernel folder will not be kept when an update is applied. After flashing CM update, you should reboot your phone once and then use installer from NUI app.
[Sony Xperia M] thichthat:
There's no change applied to LMK module. If you have problems, please send me your last_kmsg (in order to keep last_kmsg, don't remove battery. Hold power button for 10 secs to reboot).

You can save last_kmsg to sdcard using this command line:

cat /proc/last_kmsg > /sdcard/last_kmsg.txt
[Sony Xperia M] thichthat:
Are you waiting for v5.1? This version will NOT make you disappoint. Here's some preview for it:

Huge improvements for touch screen driver: the primary way you use for controling your phone is touching screen. Whenever you touch it, the driver will handle the request, read data and report to system. This process is done hundreds of times in one second. The problem is that the driver was made for many devices. Therefore, I removed many unneeded calculations and replace it with constant value. By doing so, many cpu cycles can be saved.

dt2w/s2w: Although you still need to touch 3 times, the stability is really improved. Now you can use it everyday, 24/24 without worry about screen freezing. (have tested for 1 week).

GCC 5.1.0: there're many optimizations in this compiler that may improve battery life. (for me, 7hrs on screen without charging)

V5.1 will be released this weekend. Stay tuned!
[Sony Xperia M] dim^n:
[MENTION=4929675]thichthat[/MENTION], its really usefull and unique, I wanna use it too, but if there any solution for simcard detection problem on KK?
[Sony Xperia M] Agu_Ra:
AFAIK, [MENTION=4929675]thichthat[/MENTION] with PecanCM's help fixed network on KitKat.