yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] thichthat:
Of course yes. It might support from current version because there isn't many changes between aosp 7 and cm13 kernel source.

Thanks. I've just listened to it. It's a very lively song. Still love it although I'm used to listening to classical piano songs.

So stranger.. can you give me the full name of this nightly version and send me the boot.img?
[Sony Xperia M] xjammetx:
cm-13.0-20160830-NIGHTLY-nicki.zip
[Sony Xperia M] holamundo216:
how many times did you try to reboot it bro? i had to remove the battery on each reboot and at the 3rd attempt was working perfectly
[Sony Xperia M] xjammetx:
I'll try it later, tho I'm using CypherOS now.
[Sony Xperia M] thichthat:
V7.0 has arrived!!

Note that this one should work on AOSP 7/CM14 too. I haven't tested yet, but if you have time please try and tell me. Thankss!
[Sony Xperia M] xjammetx:
we dont have root on android 7. :(
[Sony Xperia M] abhatia1435:
Awesome! But Root Access doesn't work on Alpha 2 yet.
[Sony Xperia M] lilprince:
where the link of the download kernel????:eek:
[Sony Xperia M] gavinfernandes2012:
You have to download from the play store, search for "Nui kernel" there.
[Sony Xperia M] Bonoboo:
In first post, on Play Store:
[Sony Xperia M] lilprince:
it very strange method of install kernel
[Sony Xperia M] xjammetx:
boots well with Nougat Alpha3. You need to root first tho, supersu 2.78 works.
[Sony Xperia M] ankushkushal:
But 2.78 kills dual sims
[Sony Xperia M] gavinfernandes2012:
On nougat if the camera button(either level of it) is set as the power button, when walking the device using the camera button, the camera launches, even if the other camera button level is disabled.

Any fix or ideas?
[Sony Xperia M] Manjot xda:
[MENTION=4929675]thichthat[/MENTION] awesome kernel for xperia m(c2004). Thx for building this. I have tested this kernel on Cm13, Aosp alpha 3, Resurrection os it's working great on all of them but sometimes my phone stuck and after 30sec it get reboot(on all ROMs have tested).
[Sony Xperia M] Bonoboo:
After such reboot execute in Terminal Emulator:

su
cat /proc/last_kmsg > /sdcard/1.txt

Then upload here file 1.txt from internal memory.

This will help @thichthat
[Sony Xperia M] thichthat:
V7.1 is uploaded to play store but for some reason it haven't been showed yet.. Some other devs reported that they have the same problem, so I have to upload the new apk to my github:

https://github.com/ngxson/ngxson.github.io/raw/master/nuik_v7.1.apk

EDIT: new version is now available on play store

And there're something I've planned to try:

1. Save kernel's settings to LTA lable partition. Since we never use it, it should be a good place for keeping these settings.

2. Mount sdcard as /data partition, this should expand flash IC's life time.

About my real life, I'm learning c at my school. Since developing this kernel give my a lot of knowledge, I have no difficulty. I'll still try to optimize the kernel as I know deeper about it.
[Sony Xperia M] Grande_99:
Thanks dev for this update, its working perfectly on my c2005 cm13 rom. Love this kernel... :D
[Sony Xperia M] romspeed:
On AOSP-based roms on offline charging instead battery icon I have yellow words: Charging! ??/100. How I can fix this?
[Sony Xperia M] thichthat:
Since offline charging is buggy on all kind of roms, I could not find any method to fix that.
[Sony Xperia M] Bonoboo:
Just suggestion.

For safe reboot into recovery during installation kernel there is command:

svc power reboot recovery

It will correctly shutdown phone with spinner like from power button menu.

And again thanks for great kernel.
[Sony Xperia M] Navneetae`:
thankyou for nui dev ,its one of best kernels out there.

can u pls try to add adaptive and alucard governer

they both provide much better combination of performance and battery.

ty...
[Sony Xperia M] thichthat:
Ok I'll try it. I'm just not sure if the command can work on aosp.

Taken note! Yes I will try.
[Sony Xperia M] thichthat:
I recently broke my ubuntu HDD, so I had to re-download all my stuffs to build this new version:

WARNING: flashing this version will drop existing kernel's settings. After booting up, you can re-set them and continue to use your phone as usual.
[Sony Xperia M] ndrancs:
:good: thanks for the update.
[Sony Xperia M] thichthat:
you're welcome :) btw, have you experienced any random reboot since v7.1?
[Sony Xperia M] Keyursoni:
No.
[Sony Xperia M] ndrancs:
No random reboot until now.
[Sony Xperia M] PanzerVolr:
This kernel better batterylife than hana ?

Can I use this for Mokee Rom Marshmallow I don't know if it is AOSP or CM based rom thank you
[Sony Xperia M] thichthat:
Yes it should run on all ROM from 4.4. I just have no idea about how to improve the batterylife. It really depends on how you use your phone.
[Sony Xperia M] thichthat:
Sorry everyone I forgot to check my PMs for a long time :'(

Yes I'll try to help you all. If you want to port or take some parts of my kernel, you are free to do so because linux is open and free. Just don't forget to give me some credits.

I'm now quite busy on studying and developing web. I'll still update the kernel as I have free time.

Thanks all for using and supporting my kernel!
[Sony Xperia M] thinhx2:
[MENTION=4929675]thichthat[/MENTION] you can send me commit to enable d2w on 6.0? Thank you

I'm trying to force d2w work on my lumia 520

Vietnamses: bác gửi em commits để kích hoạt d2w trên 6.0 được không? Đang thử làm d2w cho lumia 520
[Sony Xperia M] thichthat:
Exactly there're many commits for it and I can't even remember one of them. As far as I know, lumia 520's hardware is very similar to xperia m, so copying the whole file from my source code should make it work.

You can contact me via fb, just type "ngxson" into the search box, my name will show up.
[Sony Xperia M] thinhx2:
Added
[Sony Xperia M] thichthat:
I just take a look on the touch driver from lumia 520 repo. It has some different function from my code and btw I deleted the function which handle button press so that you cannot use 3 buttons below the screen.
[Sony Xperia M] thinhx2:
Source kernel of 520: https://github.com/Android4Lumia/kernel_nokia_msm8x27

My facebook:https://m.facebook.com/thinhx2.x2vn...r&ref_page=/wap/profile_timeline.php&refid=17
[Sony Xperia M] Chetan Lodha:
[MENTION=4929675]thichthat[/MENTION] idk why but after flashing Nui kernel over cm13/RR 5.8.0 the device ends up at bootlogo......system doesnt boot nor the recovery@@
[Sony Xperia M] gavinfernandes2012:
[MENTION=4929675]thichthat[/MENTION] or anyone who has experience with kernels on android, when a new version of Android releases, what changes do you have to implement to support it, for example Android n released, what did you need to change? Sorry to bother you if you're busy.

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

Try posting an adb logcat while booting, it might help diagnose the problem.
[Sony Xperia M] olibub:
Hi please can you prebuilt archidroid 3.1.5 róm ? This róm is the fastest and best but i cant change sdcard to internal storage , try pls :)
[Sony Xperia M] thichthat:
I've already introduced a method to disable the internal storage since 4.4. You can try the old method here: https://xdaforums.com/showpost.php?p=60505308&postcount=3

I don't have much time to flash and test other roms. Btw, my ubuntu HDD has been broken and I'm waiting for the new one to be delivered. I'll try to build new version when I can boot to ubuntu again.
[Sony Xperia M] thichthat:
Hello everyone. Google Play Store have just asked me to include a Privacy Policy. So here's my "policy":

1. I promise that this app (Nui Kernel) WILL NOT collect any private data from you (phone number, location, photos,...).

2. There are 2 permissions that google force me to explain:

3. The app only connect to the internet for checking newest version. The file storing newest app version can be found here: http://ngxson.github.io/nui_version.txt
[Sony Xperia M] olibub:
..now everything works, thanks for xposed module :) btw thank for reply ;)
[Sony Xperia M] Keyursoni:
I got Bootloop on lineage os 14.1. I tried 2 times but no luck.
[Sony Xperia M] ndrancs:
How about manually replace just the zImage?

Or maybe the kernel source need to be updated / sync with Los latest kernel source. So we can only wait Nui to update the kernel to support latest Los.
[Sony Xperia M] ndrancs:
[MENTION=3283945]Nui[/MENTION] i lost communication with you, I cannot pm your fb account. Why?

---------- Post added at 02:41 PM ---------- Previous post was at 02:36 PM ----------

Btw here my fork of nui kernel for N and resync with latest commits from lineage os N for nicki.

https://github.com/ndrancs/android_kernel_sony_msm8x27
[Sony Xperia M] Adarsh Dubey:
Any updates bro?
[Sony Xperia M] ndrancs:
I can update the kernel only.. I don't have sources for nui app..
[Sony Xperia M] Sanjai23:
Can anyone tell me where I can find flashable kernal
[Sony Xperia M] huiq3:
hi

can everyone upload flashable zip that "disable emulated storage" for ressuraction remix v5.7.4 ????

i have not computer and cant make flashable zip for this function?
[Sony Xperia M] Adarsh Dubey:
A new version is released :D

Edit : it was released on 31 August
[Sony Xperia M] petjacz:
Hello, is this kernel working on Resurrection Remix v5.8.5 (Nougat 7.1.2)?

Thx, PJ
[Sony Xperia M] OnkoFonko:
I m using Resurrection Remix v5.8.5 and it works fine
[Sony Xperia M] petjacz:
Amazing! All needed things (USB-OTG connection, MTP connection, MTP alternative WebDAV connection using server ultimate ((http://apk-dl.com/webdav-server-ultimate/)), overclocking and underclocking and very+very+very+very needed "Very dim" brightness) are working well after first tests on my RR v5.8.5!

Thank you Mr. thichthat! :)
[Sony Xperia M] ilhamadik2:
Is this kernel had a conflict with Magisk? Because when i tried to flash NUI Kernel, Magisk root access become disabled..
[Sony Xperia M] adi2500:
Reflash magisk.

Magisk edits the boot image, and with flashing nui kernel youve changed the boot image. So the needed things for magisk arent present anymore.
[Sony Xperia M] adi2500:
Ok, tested flashing latest NUI and magisk stable 16.0 . Flashing NUI after magisk is fine, but magisk gets removed as expected. But flashing magisk after NUI is killing the device. IT doesnt even boot into recovery. So pick between magisk and NUI.
[MENTION=4929675]thichthat[/MENTION] can you look into this if you're still developing NUI kernel?

Sorry, i cant provide logcat, since it doesnt even boot into recovery. Dunno if theres a log generated.
[Sony Xperia M] ilhamadik2:
Since thats become a problem, i decided to use SuperSU instead of Magisk to make this kernel work.. seems that this kernel isn't developed anymore..
[Sony Xperia M] adi2500:
Yeah, got around it using an old cm14 build with root option. Since I use my xm just as Spotify and kodi remote for home and a mp3 player for long journeys its OK. But when my new device arrives I don't need an mp3 player any more, since my p8lite with buggy headphone amp will get replaced
[Sony Xperia M] ayush586:
kernel does not work on recurssion remix .

when i flash nui kernel on recursuion remix i lost magisk root then i gain root on nui kernel i bricked phone then i flash recurssion remix boot img my phone come back.but nui kernel does not work with magisk.nougatt 7.1.2
[Sony Xperia M] ayush586:
This kernel work but lost the root again if you try to root again on top of nui kernel it will stuck at boot.devixe xperia m.
[Sony Xperia M] thichthat:
I've just updated an easier method to disable internal storage. Read post #3:
[Sony Xperia M] ososmam:
It did every step except push the mod to mobile ( permission denied ) so i did it manually copy the nui_mod.zip to sdcard and flash it but the boot takes so long the android upgrading take much longer and stuck at starting app .

Is it not working on cm12.1 or what?

thank you for your effort
[Sony Xperia M] Damian11131:
Are you going to re-enable 2tap2wake?

I'm trying to disable emulating storage via console script, but computer doesn't connect to my device (displaying "connecting to device " from long time. )

I've installed ADB drivers and NUI kernel v 3.0.
[Sony Xperia M] thichthat:
Which build of cm12.1 are you using? It works on all roms I've tested.

Btw, can you send me your nui.mod.zip? Thanks.

It's not because of my script. Maybe your computer cannot recognize your phone.. try re-installing driver..

edit: Sorry everyone. I've just checked my script and I've found an error. Users downloaded my script can easily fix it by copy-paste this to storage_list.xml file:

<?xml version="1.0" encoding="utf-8"?>
<StorageList
xmlns:android="http://schemas.android.com/apk/res/android">
<storage
android:mountPoint="/storage/sdcard0"
android:storageDescription="@string/storage_sd_card"
android:removable="true"
android:primary="true"
android:maxFileSize="4096" />
<storage android:mountPoint="/storage/usbdisk" android:storageDescription="@string/storage_usb" android:primary="false" android:removable="true" />
</StorageList>

I'm uploading new script file...
[Sony Xperia M] arpeggio16:
What's the use of the modules.zip after installing the kernel through apk?
[Sony Xperia M] meohen1989:
i stuck at this :(

http://i262.photobucket.com/albums/ii108/meohen1989/xm-adb_zpszx22oejm.png
[Sony Xperia M] thichthat:
link download updated:
[Sony Xperia M] thichthat:
TWRP will automatically run to install modules.zip. It will install kernel modules such as wlan.ko (this is the most important. Without it, you can't use wifi)

Any custom kernel has its own modules.

Not because of my script. Re-check usb cable, adb driver and adb in developer options
[Sony Xperia M] mankokoma:
Before I try Disable emulated storage (internal storage)

Do I have to backup, clean out (/ delete) the /data/media/0 folder or will the data be moved to SDcard automatically?
[Sony Xperia M] thichthat:
Yes. you have to backup all your data and delete all data in internal storage before applying this mod

Thanks for warning me!
[Sony Xperia M] thichthat:
The result should look like this: (I'm using XenonHD)

Games data will be placed in /sdcard/Android/obb. I can download big games like PES, Asphalt, PvZ...

[IMG="Result"]http://nui.pe.hu/images/Screenshot_2015-06-03-18-28-59.png[/IMG]
[Sony Xperia M] haresh311999:
Can we directly download it from the play store??

---------- Post added at 05:27 PM ---------- Previous post was at 05:27 PM ----------

I mean the games...
[Sony Xperia M] thichthat:
You try! I haven't tested yet. I downloaded obb files and extract it manually.
[Sony Xperia M] 11reza11:
xenonHD stuck in android is starting :confused:
[Sony Xperia M] bluepinkpanther:
I get this: http://i.imgur.com/5721ahc.png

My phone boots in TWRP but it doesn't flash anything, just normal TWRP menu screen.
[Sony Xperia M] meohen1989:
Yes, you can download directly from playstore, the obb file will move to your sd card.

[MENTION=4929675]thichthat[/MENTION] : i can't use your script by using adb so i made it by manual way, and it works like charm. I think having a manual tutorial is a good idea also.

Can i share your work into forum sonyfan.vn. Every body there will love it :)

Thanks.
[Sony Xperia M] thichthat:
Ok I'll do it.

Btw, V3.1 was released on play store. Check update on your phone:
[Sony Xperia M] meohen1989:
got new problem, when i tried download alphast 8 from playstore, it's showing download procress for along time and couldn't download alphast. You can check it by your self.

And install apps facebook take quite of long time, about 5' for that. :confused:

P.S: Reboot after update nui v3.1 take really long time
[Sony Xperia M] manal.21sinha:
Installed v3.0 on CM12.1 beta 4 with dual sim patch on my c2004 (Xperia M dual). Boots normally, everything works fine, except that phone doesn't wake up when screen is turned off. Have to reboot it everytime. Can't keep the screen on all the time can i? :P

Couldn't take logcat and had to go back to stock kernel.

Anybody else with this issue?
[Sony Xperia M] Damian11131:
USB drivers was installed from PC Companion and my computer connected to my device. I'm installing mod. Thanks for suggestion.
[Sony Xperia M] thichthat:
Not because of my kernel. I think because of your ROM.. Or maybe CPU freq, io sched aren't set correctly..

Can somebody check that? :rolleyes:
[Sony Xperia M] bluepinkpanther:
I'm also stuck at starting apps after optimizing.
[Sony Xperia M] thichthat:
update disable internal storage mod:
[Sony Xperia M] mszain:
Can someone please kindly post the old ondemand settings?

Its the one before the dev removed the governor tweaks, coz now im having ui lags with the new settings.
[Sony Xperia M] thichthat:
update disable internal storage mod:

I can sure 100% that it work: http://www.mediafire.com/download/ldp6v3mhi1ayflt/disable_emulated_storage_4.zip

In older versions I forgot that not anyone installed zip.exe binaries in their computer. I included zip1.exe in zip file so that it will work with all computer running x86 or x64.
[Sony Xperia M] thichthat:
Old ondemand setting only limit max cpu freq at 918MHz, so I not recommend that

You can try interactive governor, it will be better
[Sony Xperia M] mszain:
Thx interactive was much better and smoother, and if i have time tomorrow, ill try the storage mod and post the result
[Sony Xperia M] Damian11131:
Does this kernel work on AOKP 4.4?

Have I to delete current kernel (NUI 3.0) to install NUI 3.1?
[Sony Xperia M] mszain:
I think its no need to delete the old version first,just update it straight away
[Sony Xperia M] meohen1989:
[MENTION=4929675]thichthat[/MENTION] : does nui kernel work in stock 4.3 ?
[Sony Xperia M] thichthat:
I haven't tried yet. But I don't recommend because I use CM's source code to build this kernel.

You can try manually method in post #2 if you want to install it with stock 4.3

Btw, can someone try disabling internal storage mod and give me a screenshot? Yesterday my friend tried it works well. He also can download big games from google play:

[IMG="img"]http://nui.pe.hu/images/11324062_471481409676752_1943578508_n.jpg[/IMG]

[IMG="img"]http://nui.pe.hu/images/11272191_471484816343078_155185102_n.jpg[/IMG]
[Sony Xperia M] Damian11131:
Renew question. Does this kernel work on AOKP?

AOKP is including PhilZ Touch recovery but FOTA kernel doesn't work at this ROM...

My device is started with NUI :D

Let's start disable emulating storage script :P
[Sony Xperia M] thichthat:
Yes, it works on all 4.4+ ROMs

FOTA recovery can work with all kernel built from CM's source.
[Sony Xperia M] TheRealSS:
Kernel is a bit buggy on cm12.1. Phone reboots when I change governor. Do you want logs?
[Sony Xperia M] arpeggio16:
Sorry for the noobish question, but does disabling internal storage move the data files, etc to the sdcard, rendering the internal storage useless? Or this still allows us to use the internal storage for other things? I really want to use this mod, but 16gb of storage is not enough for me. Thanks in advance. :)
[Sony Xperia M] Damian11131:
I had the same problem on cm 12.1 also after voltage changing phone was rebooting (sometimes). On 4.4 I haven't this problem.

Maybe try change the governor by manually(if you are using a program for cpu control ) (/sys/devices/system/cpu/cpu0 and cpu1/cpufreq/scaling_governor).
[Sony Xperia M] thichthat:
Yes, please send me last_kmsg log :rolleyes:

After using this mod, internal storage dir will not be changed, but it's not used any more. So you must move all data from internal to sdcard before using this mod
[Sony Xperia M] bluepinkpanther:
I can't make it work on official nightlies, but it works just fine on XenonHD
[Sony Xperia M] thichthat:
My summer vacation is end. Next school year, I will be very busy. I will not have much time to spend on this project. I'll still update it, but less frequency.

Anyway, new version is avalible on play store!

Bonus: microphone test: http://soundcloud.com/mrxson/forever-nui-cover
[Sony Xperia M] apacher:
awesome bro :D
[Sony Xperia M] Damian11131:
The custom install way is the same like older NUI kernel versions?
[Sony Xperia M] dim^n:
Good job! Custom governors Ive used nearly 2 years ago. And sioplus I even dont hear about it. Unfortunately, I dont have nothing like this on tab.

Only problem, app encounters an error running installs after copying into system. But repacking zip still helps :D
[Sony Xperia M] bluepinkpanther:
If I have older version and disabled internal storage, should I just flash it and everything will be working or do I have disable storage or something again?
[Sony Xperia M] thichthat:
SORRY EVERYONE I FORGOT TO WARN YOU:

If you're using nui kernel with DISABLE STORAGE MOD, you must flash NUI_MOD.zip after updating kernel. Otherwise, you will get BOOTLOOP

So sorry everyone. I'll fix this as soon as possible

Edit: Fixed
[Sony Xperia M] dim^n:
Hell, smartass keeps max freqs, on max freqs (up to 1,7 Ghz) there is abnormal cpu usage by kworker and surfaceflinger. Governors reverts to interactive! Hard lags in 3c toolbox while setting gov options caused by tmp-mksh (desided to see it in cool tool app)
[Sony Xperia M] thichthat:
Never report about smartassv2 governor again. I wrote clearly in changelog that it's UNSTABLE. I'll disable it in newer builds. I'm using conservative gov.. maybe you should try
[Sony Xperia M] dim^n:
Oh, I dont see v3.1... Smartass stable, fast and good for battery on my device even with freq bug, so why not to keep it for tests?

I see another bug, critical for me - camera focus button acts like camera. Im sure, its that fix in 3.1 makes a bug on AICP 4.4. And Nui v 3.0 dont have this bug. Also there is an echo from mic while talking, and sound is too loud, music can damage speaker. But it fixes sound glitches, known in most cm11 based roms, that cant do PecanCM. And Ill keep it.
[Sony Xperia M] TheRealSS:
I installed the kernel again but this time I didn't face any reboots while changing governor. Instead, my phone reboots when I undervolt (even by 50mv).
[Sony Xperia M] mankokoma:
I still have a few questions:

1. I can't find NUI_MOD.zip... What is it and where can I find it?

2. There is a discrepancy with the number of available frequencies and voltage table which is confusing me a little:

cat /sys/devices/system/cpu/cpu0/cpufreq/[B]scaling_available_frequencies[/B]
384000 486000 594000 702000 810000 918000 1026000 1134000 1242000 1350000 1458000 1512000 1620000 1728000

cat /sys/devices/system/cpu/cpufreq/vdd_table/[B]vdd_levels[/B]
384000: 750000
432000: 800000
486000: 800000
540000: 825000
594000: 825000
648000: 850000
702000: 875000
756000: 925000
810000: 925000
864000: 950000
918000: 950000
972000: 975000
1026000: 975000
1080000: 1025000
1134000: 1025000
1188000: 1050000
1242000: 1050000
1296000: 1075000
1350000: 1075000
1404000: 1087500
1458000: 1090000
1512000: 1150000
1620000: 1200000
1728000: 1200000

There are 10 more freqs in the vdd table. I don't know if it has to be that way or if it would make sense to adjust it to match...?

3. Then I have problems with the second core always going up to 1728 MHz, no matter what I set per script or Kernel Adiutor and I'm afraid to burn down the CPU. So whenever mpdecision puts the second core to sleep then scaling_max_freq is back to 1.728 GHz. Is there another way than to kill mpdecision? Because I think it's good to put unused second core to offline...

4. is related once more to the emulated storage (ahh so again NUI_MOD.zip?). When I switch to it, can I use and mount the internal to another mount point (e.g. /storage/internal/unusedsdcard) and use it?
[Sony Xperia M] bluepinkpanther:
NUI_MOD.zip is created in the directory where you use script to disable internal storage; from post #3.