yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] Agu_Ra:
Seems that extract_elf_ramdisk is missing in kernel's ramdisk (should download and check) or something is broken in kernel code itself.

---------- Post added at 22:53 ---------- Previous post was at 22:25 ----------

Just checked. extract_elf_ramdisk is present, so the issue is in kernel's code or in patch (more probably first).
[Sony Xperia M] thichthat:
FOTA recovery was disabled. I have one problem with twrp 2.8.5.0 (it wipe my dalvik cache whenever I open the recovery),so that I think using the integrated twrp is better.

But don't worry, I'll enable custom FOTA recovery in the next version.
[Sony Xperia M] Agu_Ra:
Okay, that would be nice. BTW, did you try other TWRP versions? If needed, I can port newer version of TWRP. And if your prebuilt version's uncompressed (in cpio format) ramdisk weights lesser than 8 Mb, I can repack it for using from FOTA partition.

BTW, I also think that integrated TWRP is better, if it works nice, but maybe some users prefer CWM.

For me it is horrible to use CWM after trying TWRP, but still there are users, who don't think so.
[Sony Xperia M] thichthat:
My twrp ramdisk takes 8.39MB. I've just compile one and flash it to FOTA partition (I'm using 2.8.3.0) and all features work fine.

Don't worry if the recovery ramdisk takes more than 8MB. You just need to make sure that the img file doesn't take more than 16MB (that's the maximum size of FOTA partition).

Btw, I've just merge newer commits from CM. So I need to test for several days to make sure that there's no random reboot. Be patient!
[Sony Xperia M] thichthat:
V3.0!!

Download:

Enjoy ;)
[Sony Xperia M] dim^n:
You're still developing the kernel, thanks for that!

I use AICP based on CM11 and repacked version of NUI v2.5 with another logo and older boot script, and all FOTA TWRP vers works fine for me.

And a little question: should I wipe caches after kenel update or not?

Installer not recognises that Im using Xperia M, what is that :/
[Sony Xperia M] bluemeda:
Not detect as Xperia M ?
[Sony Xperia M] TheRealSS:
Both my cores don't go above 918 Mhz. Phone freezes if I put governor on performance.
[Sony Xperia M] thichthat:
Sorry everyone. I'm on a vacation now so that I'll fix this on next Monday. You can try using manually method in post #2.
[Sony Xperia M] thichthat:
If you are using Device Control app, you can use Gorvernor Tunning function to edit up_threshold to 90. I have no problem when I change governor to performance..
[Sony Xperia M] dim^n:
Ive installed kernel with all stuff using simpler method. Using Total Commander I replaced everything in v 2.5 zip installer like TC can do on desktop. This is all modules and img file, also added "kernel" folder into /system folder inside zip. Everyone can also install everything he wants into system with this kernel, adding necessary folders, ie framework, app :D
[Sony Xperia M] dim^n:
Got min stable voltage for cpu. No reboots during 3 weeks!

384000: 712000

432000: 737500

486000: 737500

540000: 762500

594000: 762500

648000: 787500

702000: 787500

756000: 825000

810000: 825000

864000: 850000

918000: 850000

972000: 887500

1026000: 887500

1080000: 937500

1134000: 937500

1188000: 962500

1242000: 962500

1296000: 987500

1350000: 987500

1404000: 1000000

1458000: 1000000

1512000: 1025000

1620000: 1087500

1720000: 1125000

Usefull for 1GHz, on highest freqs lower voltage 100% unstable on my device.
[Sony Xperia M] mszain:
hi im on cm12.1 i want to ask some thing about disabling emulated storage

so far till now this is what i know what to do:

1.copy framework res apk to computer

2.replace the old storage list with the new one using winrar

3.im confused about replacing old framework res apk with the new one, do i need to make a flashable zip or just delete the old one and put the new one? can someone help me or maybe im completely wrong?

4.flash that 2 zip

5. will apps really use my true sdcard so then i can download big games directly from the playstore after i use this mod?

sorry for sluggish english and good job so far for the kernel :good::good:
[Sony Xperia M] thichthat:
You have to decompile your framework then replace storage_list.xml. You mustn't replace framework using file exprorer apps because it will freeze your phone. You should only use flashable zip, it's easier and more stable.

This mod will allow you to download games which have big obb files like asphalt 7 (I tried and it works well, but the game's startup is a little bit slower).

I'll also make an app to help you do all these complicated steps, so keep waiting!
[Sony Xperia M] Agu_Ra:
Thank you, @thichthat, you're the one of the few devs supporting our device. BTW, you can try the last FOTA-TWRP compiled by me with your kernel. And if you don't mind, I want to try to compile stock CM kernel with dt2w, if it is working stable enough. But I don't know what part of the code should be used for this. And if you will accept using your code, I will give a credit to you, of course.
[Sony Xperia M] itsnie:
Nice news, but don't forget to improve dt2w dude! [emoji4]
[Sony Xperia M] thichthat:
You're welcome! You can look at my commits to get files you want. It's open source so that you can use whatever you want.

Btw. Dt2w is not stable. If you have any improvement, you can share it!
[Sony Xperia M] manal.21sinha:
Will the dual sim patch for CM12.1 work on this kernel?
[Sony Xperia M] Agu_Ra:
I looked at your commits yesterday. I'll try to cherry-pick them and to compile kernel with dt2w only, 'cause I don't need e.g. overclock. If I was developer, I would try to improve it, but I am not so good in it. But I will look for dt2w commits for other devices to find something useful.

---------- Post added at 11:00 ---------- Previous post was at 10:59 ----------

should work.
[Sony Xperia M] thichthat:
I fixed the problem that app not recognize xperia m. Update in Google play is still pending. New apk file here:

http://www.mediafire.com/download/y8rcavudsv3ru21/NUIKernelInstaller(2).apk

Update google play link:
[Sony Xperia M] Agu_Ra:
"Increase proximity sensor working distance" then.
[Sony Xperia M] Bonoboo:
Users from other forum, that use CM11 complain, that after some time of using (RAM problem?) phone totally hangs and reboots.

State of option "Low memory killer" doesn't matter.

last_kmsg attached.
[Sony Xperia M] thichthat:
So surprise but I didn't make any improvements for GPS.

I read your kmsg but I only found an error that I have never seen before "SysRq : Show Blocked State"
[Sony Xperia M] dim^n:
[MENTION=4929675]thichthat[/MENTION], is there any solution for my problem? Did radio log has errors, that causes that? http://xdaforums.com/showpost.php?p=66253510&postcount=1170
[Sony Xperia M] mankokoma:
i assume it's just related to OC...
[Sony Xperia M] Nicklas Van Dam:
Can I install this kernel on new AOSP build?
[Sony Xperia M] Bonoboo:
[MENTION=4929675]thichthat[/MENTION]

Please, take a note this post from PecanCM regarding FM radio.

His commits here
[Sony Xperia M] ojas12345:
I noticed some problem with the latest 6.4 version on this kernel . Everything works fine but i cannot boot into recovery. Tried Everything i could checked all settings.. Many times flashed recovery.. but the problem still persists ...When i try to enter recovery the phone just restarts or frezees..
[Sony Xperia M] thichthat:
did you tried pressing camera button on boot?
[Sony Xperia M] thichthat:
It's May and V6.5 is now available!!!

Note: about some small problems in the app, I'll fix it as soon as possible. Last night I spent so much time to solve problems with my PC, including storage, gradle and building problem. Therefore I just could make some small changes for the app.
[Sony Xperia M] dastan4eva:
This kernel is simply awesome

It has saved my power button helped me customize a lotta stuff and runs fast

I BEG OF YOU [MENTION=4929675]thichthat[/MENTION] NOT TO SELL YOUR XPERIA M AS YOU ARE OUR ONLY ACE KERNEL DEVELOPER REMAINING !!!!!!!!!!111

btw just wanted to ask does new version @6.5 contain these new improvements by pecancm
[Sony Xperia M] ojas12345:
okay i'll try the latest version and will tell
[Sony Xperia M] thichthat:
Sure, I will not sell it. I'm just spending more time on studying so I'll make less updates.

PecanCM has made many changes since nui v6.5. I'll try to merge them as soon as possible.
[Sony Xperia M] dim^n:
, that v5.5 consumes less battery than v6.4 possible because of "increase cpu bus speed" (or "optimize voltage value for CPU") tweak. Cause I can use UV, and it dont slow down the device on v5.5. But I lose app v5.5, and use v 6.4 and cannot boot into FOTA. So, [MENTION=4929675]thichthat[/MENTION], can you add option to disable cpu bus speed tweak? I think thats useless. Im using your kernel with RR 5.1.1

Wish you'll quickly solve your comp problems!
[Sony Xperia M] thichthat:
Ok I'll adjust the bus speed. FOTA is harder to fix since CM doesn't use extract_elf_ramdisk utility anymore.

Btw I've just merging all new commits from CM. Just faced 4 conflicts and fix some governors. New version will be release as soon as possible.
[Sony Xperia M] ndrancs:
Please review it. Before release New build.
[Sony Xperia M] ndrancs:
Another commits not yet pushed to github repo
[Sony Xperia M] ndrancs:
Ready to merge.
[Sony Xperia M] Zakaria.R:
He then noticed something that was wrong according to him so we should wait a little longer for it to really be final.
[Sony Xperia M] ndrancs:
Yes i see the commits about zcache on github and RonGokhale rebase the kernel..
[Sony Xperia M] ndrancs:
Okay. It fixed and pushed to cm repo.
[Sony Xperia M] sidsharma2201:
[MENTION=4929675]thichthat[/MENTION] I installed asphalt nitro after a long time after flashing last build cm12.1. I pushed cpu to max 1.7 and gpu to 500 but dissappointed to see that game stutter badly that even though game was on internal storage and phone was cool at that time.

Occasionally app drawer stutter too. Am I missing something or should I accept it and move on?

Thanks.
[Sony Xperia M] ndrancs:
Or you can wait for new kernel build. Or Just move on.. :good:
[Sony Xperia M] Zielony_Buszmen:
What is your settings at this Kernel?
[Sony Xperia M] AdrianDR94:
Hi, anyone with cm build 2016/05/13 with Nui Kernel? Im facing random reboots after install nui. Can anyone confirm this? maybe because its not synchronized with newest commits? Is there way to uninstall?

Edit: No unistaller, then reinstall rom work for me, problem solved...
[Sony Xperia M] ndrancs:
Nui v6.5 have old zram bugged commits, so its need to resync with latest cm commits.
[Sony Xperia M] SEc510a:
Sorry for off-topic.

Is it compatible with AOSP roms or only for CM roms?

Anyway. Thanks for new version.

Here is the changelog:
[Sony Xperia M] Nicklas Van Dam:
(deleted...) :o
[Sony Xperia M] gavinfernandes2012:
Works with marshmallow aops Beta 3 and 4, I tried it on them, and it should work on all versions BTW.
[Sony Xperia M] Zielony_Buszmen:
Can I turn on the Z-RAM if I have Marshmallow (CM 13)? Will it works?
[Sony Xperia M] ndrancs:
On latest cm 13 nightly, the zRam is always On by default.

But need to turn it ON if you on lower cm, cm 11-12.1
[Sony Xperia M] Zielony_Buszmen:
But is Zram good? It's improving performance or maybe not improve?
[Sony Xperia M] Bonoboo:
Below CM13 was used old implementation, that can drain battery.

In CM13 ported new zram and battery ok.

Probably, NUI backpoting it to CM11/12, don't know.

Anyway, it's "extra" RAM which makes multitasking definitely better.

And imho no affecting performance.
[Sony Xperia M] thichthat:
sorry I'm just having so problem in real life. I've just graduated from high school and had an unforgettable time with my friends this week.. I'm now studying hard for the university exam.

Back to the work. The last version, 6.6, has been released when I was sleepy and so there were some huge errors. I've just upload v6.6_r1 with some small fixes. You will be able to download it in about 1 hr. I will still try to sync new updates from CM in my free time.
[Sony Xperia M] Adarsh Dubey:
Its okay bro... Real life is important so you don't need to give explanations... We just want to let you know that this is the best kernel for nicki so you can take up your time and fix issues whenever you want :)
[Sony Xperia M] dim^n:
[MENTION=4929675]thichthat[/MENTION], have a luck in your beginning and plans! Its awesome what you create, and its perfect, except bug on RR with internet, that I noticed here, it still makes me crazy :D And there is an error - radio tuner dont work, that your zip now not include qce40.ko and radio-iris-transport.ko.
[Sony Xperia M] ndrancs:
Since nui v6.5 radio fm module has been integrated to kernel: zImage. So will not found radio-iris-transport.ko in zip.
[Sony Xperia M] gaurav5696:
Can internal storage be enabled later?

Can internal storage be enabled later?
[Sony Xperia M] 8hodgsonkh:
Ive been over heating a lot lately even when watching normal youtube vids on 1.78 ghz, now i can reach 80 degrees, before id be at around 65 and 70 max
[Sony Xperia M] ojas12345:
im not able to disable internal storage on resurrection remix 5.6.9
[Sony Xperia M] yes.sir:
can i use this on uhmm cm13 xperia m c2005? with dt2w?
[Sony Xperia M] 8hodgsonkh:
Is anyone experiencing bad battery life after the recent update? im loosing like 1% a minute while using it with the screen on ;-;
[Sony Xperia M] msk198:
I think how to disable the internal memory / data / media - FAT32 and edit init.rc in ramdisk kernel , then it was formatted in ext4 and create a symlink to dalvik-cash

Then we will change and recovery (fstab) to make backup / data / media

Question 2 - how to format to ext4 FAT32 partition? and whether it will be rolled back - it's not a re-initialization

On the tablet simply a hidden partition was already in the ext4, I just changed sections in places, and of the system created symlinks where and sent all of the data / data (there still was not art, so most occupied data / data folder, in this case more than all weighing / data / dalvik-cashe)
[Sony Xperia M] Barney.M:
Undervoltage

How much is this kernel udervoltage? Is it depends on governor? :)
[Sony Xperia M] Nicklas Van Dam:
Sir [MENTION=4929675]thichthat[/MENTION] I've updated your kernel app to v 6.7 , but it seems kernel file that build in app it still on build 15 may 2016?
[Sony Xperia M] thichthat:
Oh sorry that was my mistake. I'm fixing it. the 6.7 r1 will be available shortly.
[Sony Xperia M] thichthat:
Quest 1: I once tried it but still not stable. I got random reboot when try mounting sdcard as data partition.

2: You can format/create partition on sdcard using a PC. however, linking dalvik to sdcard is not easy since you have to re-link it right after fstab re-mouting data partition

Not too much, because I found that a high uv value can make some devices unstable. Anw, you can still try uv more using kernel auditor app.

Sorry for my late replies. I'm getting busier because of the national exam on the 1st july.
[Sony Xperia M] olibub:
not work

not work for me mod marshamallow for internal storage i have cm 13 :/
[Sony Xperia M] gavinfernandes2012:
yeah it's not stable as of now, you'll have to use the standard sd card adoption method.

---------- Post added at 10:56 AM ---------- Previous post was at 10:55 AM ----------

I've noticed my zram is stuck at 256 mbs even if I turn it off or use zram zsize, anyone else notice this?
[Sony Xperia M] olibub:
what you think ? :) i dont know... .. is here any guide how to disabled emulated storage ? ..iam try to flash nui mod but dont work
[Sony Xperia M] gavinfernandes2012:
Okay I don't think you can with the mod yet, but you can use the one provided by matshamallow, the one in settings->storage
[Sony Xperia M] olibub:
problem is that this not work :) when i set up as internal storage so next step is move data and when i click on move so proccess settings exit and when i click on move later .. so my sd card is corrupted :/ ..any idea how to fix ?
[Sony Xperia M] gavinfernandes2012:
Okay what I did, I formatted the SD card as internal storage before flashing the nui kernel, and then when I flashed the nui kernel everything worked.
[Sony Xperia M] olibub:
try this?

actually i have nui kernel.. so i flash original kernel--> after i go storage -->format as internal and after boot to recovery --> flash nui kernel and nui mod marshmallow ?
[Sony Xperia M] gavinfernandes2012:
yeah that'll work
[Sony Xperia M] olibub:
corrupted

when i format as internal storage and i look into storage so under name sd card is written corrupted! :/
[Sony Xperia M] gavinfernandes2012:
are you using the stock kernel?

If you are then it's probably you sd card is dead, check with a pc.

Happened to me too when my sd card was spoilt.
[Sony Xperia M] olibub:
work

sd card work when i click on setup and click on set as portable storage :) ..but write corrupted only when i format as internal :D
[Sony Xperia M] gavinfernandes2012:
using the default cm kernel right ?
[Sony Xperia M] olibub:
no

in the moment i have nui kernel in device :)
[Sony Xperia M] gavinfernandes2012:
flash the cm kernel, then go to settings and inside settings go to storage and then click on you sd card and find the option to use it as adopted storage

you can get the cm kernel from the flashable zip file
[Sony Xperia M] olibub:
ok

thank so first set its work i have format sd as internal :) what next please ?..actualy a have cm from zip..

flash nui mod but i dont seen diferent :D

..and which rom you use ? :)
[Sony Xperia M] Bonoboo:
Yeah, with NUI adopting sdcard ends with error long time ago and now. Seems old bug.

CM13 itself have deeply enabled zram.

So NUI now allows to actually control zram only on older ROM's.
[Sony Xperia M] Bonoboo:
[MENTION=4929675]thichthat[/MENTION]

Regarding this problem on CM11.

Seems bug introduced recently.

So please, if possible, can you upload some old version of app for test, e.g. for 2015?

P.S. Hope your exams go well.
[Sony Xperia M] gavinfernandes2012:
flash the cm zip file again and then adopt the SD card, then flash nui
[Sony Xperia M] Nicklas Van Dam:
Sir [MENTION=4929675]thichthat[/MENTION] Ron is update new kernel with PPR fixes and other change in cm and aosp build. Can you update this kernel with latest sync from cm too? Just suggesting if you have a free time :)
[Sony Xperia M] ndrancs:
He is busy with national exam on next july.
[Sony Xperia M] Nicklas Van Dam:
Ups, sorry I forget about that. Thanks for your information :)
[Sony Xperia M] Adarsh Dubey:
Can anybody tell me that is installing custom kernel like nui safe enough? I mean it sets the SElinux to permissive and hence malicious apps can access my data? Am i right?
[Sony Xperia M] ndrancs:
Spoiler here : nui is currently working on new kernel feature: adding channel 14 on WLAN.
[Sony Xperia M] Nicklas Van Dam:
I hope update will release soon :)
[Sony Xperia M] ndrancs:
New V6.8 has been uploaded.

Changelog :

Sync with newest CM13 kernel source
[Sony Xperia M] thichthat:
Hi everyone. Sorry for this late update. I'm just having some problem with android studio and also experienced a long electricity cut off yesterday.

About the support for wifi channel 14, I located the code and try to make some changes but they still doesn't work. Editing WCNSS_qcom_cfg.ini can help but still unstable. Therefore, in this version, one commits from CM was merged.
[Sony Xperia M] holamundo216:
Black screen

Hi, everything works fine for me except one issue

have to do this steps to unlock my phone:

-unlock--->get BLACK screen

-relock

-unlocked again----->normal unlocked

Like it was a deep sleep mode but without option to disable it

Any suggestions?
[Sony Xperia M] elmkzgirxp:
[MENTION=4929675]thichthat[/MENTION] Is such a feature possible where we could control the volume with the display off by dragging the screen up or down? This might, and definitely will, conflict with swipe-to-wake, but maybe we can make it exclusive only when swipe-to-wake is disabled and there is music playing.
[Sony Xperia M] thichthat:
Can you send me the kmsg/logcat?

I'm not sure I can do it because it is difficult to add gesture with more than 1 finger.
[Sony Xperia M] elmkzgirxp:
But the feature only uses 1 finger. You scroll it up or down, as if the screen is a volume roller, not swipe either.

EDIT: Also, my one of my volume buttons aren't working. Maybe you could add volume keys option to the camera and focus button settings? That would be really nice.
[Sony Xperia M] Alex_Gamer:
Any news bro? [MENTION=4929675]thichthat[/MENTION]
[Sony Xperia M] msk198:
Please upgrade NUI kernel with latest cm13 source
[Sony Xperia M] Nicklas Van Dam:
Not only you is want that here :D
[Sony Xperia M] 8hodgsonkh:
You can edit hardware key mappings, I done it when my power button was broken, follow this tutorial :) https://pyra-handheld.com/boards/threads/tutorial-how-to-remap-android-hardware-keys.69593/
[Sony Xperia M] romspeed:
+1
[Sony Xperia M] thichthat:
New version has been uploaded. Only changes from CM was merged:
[Sony Xperia M] ndrancs:
Thanks nui for continued to update the kernel.
[Sony Xperia M] gavinfernandes2012:
No ramdisk found on the latest nightly, anyone else having this problem
[Sony Xperia M] thichthat:
Randisk layout has been changed in new nightly build so my kernel cant be installed :crying: : https://github.com/CyanogenMod/android_device_sony_nicki/commit/3f8ee1df8cbc6d20cf756c9014e0268631cd20ca

Can you send me the new boot.img?
[Sony Xperia M] gavinfernandes2012:
Yeah okay gimme a minute,

Ugh it says error grabbing file when I select the boot image, I'm sorry, ill try with other file managers, gimme a minute more

---------- Post added at 04:45 PM ---------- Previous post was at 04:30 PM ----------

Okay it doesn't wanna attach I'm sorry
[Sony Xperia M] Agu_Ra:
Paste this in terminal or adb (you should be root):

dd if=/dev/block/mmcblk0p17 of=/sdcard/boot.img

Then upload boot.img from your /sdcard directory. Alternatively, you can upload boot.img from your ROM zip.
[Sony Xperia M] gavinfernandes2012:
https://drive.google.com/file/d/0B20OSqY6UDTPNHl6NERSelhLT0k/view?usp=docslist_api

I uploaded it from the rom zip to Google drive
[Sony Xperia M] gavinfernandes2012:
haha well that part was fine but xda labs wasn't accepting my boot.img , dun know why , thanks anyways .
[Sony Xperia M] thichthat:
New version has been uploaded. [MENTION=7099722]gavinfernandes2012[/MENTION] can you try this?
[Sony Xperia M] gavinfernandes2012:
I will as soon as my phone charges up, it's at 0%.
[Sony Xperia M] gavinfernandes2012:
Sorry for the delay

Guess what,

It work perfectly!

God, I missed it soo much.

Installs without errors and boots without errors and overclocks and tweaks without errors
[Sony Xperia M] xlayn:
Thanks for your work.

By the way, consider uploading your app to fDroid or providing the apk on the first page to download, I'm antigoogle and I had to go to appApkSomething...

Also the links on the first post are out of date.

Also the files on your google drive are out of date.

Thanks!!!!!
[Sony Xperia M] thichthat:
I have received your donation. Thanks you so so much! I'm very happy now because it is a large amount of money in vietnam :fingers-crossed:

You can use this link to download apk of the app: https://apkpure.com/root-nui-kernel-for-xperia-m/com.nui.kernel

I'm quite lazy to upload it to another source. Google play still be a good place for me to monitor number or users.

I also lost some of zip of the old versions, but i think you shouldn't try them.

For all: I'm currently busy now because i have to spend time on learning french. It is quite difficult for me. I'm still subscribe to this thread as well as other things on the forum. I'll try to build new version when i'm free.
[Sony Xperia M] xjammetx:
will you support nougat aosp 7.0?

:D
[Sony Xperia M] xlayn:
Try Duolingo for the french, I did also search for french music... you may want to see for study purposes Alize's "J'en Ai Marre" :p

Have a good one! Merci Beaucop!!
[Sony Xperia M] xjammetx:
hmmm strange, nui 6.10 doesnt boot on latest nightly...