yashsingh1/xdaforums huggingface dataset:
[HTC Desire X] McGrady:
after a few days of test... the freeze are not away. But im not [MENTION=313982]home[/MENTION] to make a kernel-log when its freeze... any chance to make it with the phone only?

more and more I have the problem the display goes on only the buttons lighting
[HTC Desire X] CurtisMJ:
You can use a root file explorer to copy /proc/last_kmsg to a safe place ( immediately after reboot ).

Does the touchscreen still freeze? Or are you speaking about the deep sleep problem?(The screen must be on when not responding, the deep sleep problem is a different problem)
[HTC Desire X] McGrady:
freeze problem (screen is on but no touchscreen features) and another one the deep sleep problem (the 3 tabs going on but not the display)

i will try to make it with explorer... than i can make easier log files :)
[HTC Desire X] CurtisMJ:
Maybe I post too many builds. Meh. Have a go ;)

( [MENTION=4350492]neXus PRIME[/MENTION] Just noticed, the flag you suggested will always get excluded on s2w conditions. Unless I put it in the wrong place (Which is very likely), in which case I apologize. :silly: )
[HTC Desire X] McGrady:
we talk about and "bäääm" a freeze... i push the power button (not s2w) to take the screen on and display goes on but freeze

here is the log and now i install debug16 for a test ;)... can i disable swape2lock as last?
[HTC Desire X] CurtisMJ:
A need a lead so badly here :p Was this from the build I just posted!?
[HTC Desire X] McGrady:
from this after 9th feb

http://xdaforums.com/showpost.php?p=50176269&postcount=280

and now i install this

http://xdaforums.com/showpost.php?p=50898256&postcount=343

can not you at the log to see which version it is? or is it because I renaming the kernel before flash it in boot.img every time?
[HTC Desire X] CurtisMJ:
Log only reveals its build number in the beginning which is cut off with last_kmsg.

I think we're good for logs now though. I'll try and notice any patterns. If it freezes, it freezes, not matter what change was made, so all patterns should be the same. I just need to know

if

a new build freezes. Thanks for helping out!
[HTC Desire X] mkhawx:
Hi

I'm not an htc guy so dont know much about it :P My uncle strongly needs to record calls.

So I just want to ask does this kernel support call recording?

recommend me some kernels with call recording fir desire x ;)
[HTC Desire X] McGrady:
I test this kernel http://xdaforums.com/showpost.php?p=50898256&postcount=343 and a freeze again... i push the powerbutton, not swap2wake and its freeze.. here is the logfile
[HTC Desire X] neXus PRIME:
Why is it freezing on power button... Curtis, you must have done something wrong... Power button never freezes the display. Only sweeps do

Sent from Egyptian Pyramids
[HTC Desire X] CurtisMJ:
Oh well. Might as well try again soon. I think we have enough logs now though, so testers can revert back to v3 if they want, I'll try and see what I can deduce from the logs but not any time soon :( (Waiting for the holidays to try more things)
[HTC Desire X] McGrady:
okey i install a stable version... with the latest releases i have much more problems the display not turns on

good look to fix the problems and need more logs or test write me... swape2wake must work ;)
[HTC Desire X] MoshPuiu:
[MENTION=4350492]neXus PRIME[/MENTION]

Maybe doubletap 2 wake will be easier to implement? I mean instead of s2w...
[HTC Desire X] hell_lock:
I can create any mod atm but its not stable. My last was hold2wake. Something similar to logo2wake but with different touch locations. It worked but had screen freezes.
[HTC Desire X] neXus PRIME:
yes.. the resume/earlyresume functions have something which mess the screen driver unless we use the power button.

I think we are doing the wrong thing by simulating power button on a complete sweep. Maybe we need to invoke a function rather than simulate a button press.
[HTC Desire X] CurtisMJ:
You're probably right. I had this theory that maybe the on/off for the touch panel was a toggle of some sort, and some code somewhere(likely an inconsistent workaround for an error in the stock kernel) toggled it rarely. Since any of the x2wake functions need the touch panel to stay active, the workaround code might do more damage than it fixes by toggling where there is no longer a need. So we need to find a function that bypasses most of that I guess.
[HTC Desire X] CurtisMJ:
Hey all! I did some testing and found a possible cause for the bug. I added a vibration for each time the function detects a sweep. I swear there was like 7-8 vibrations in quick succession every sweep :silly: , no wonder the kernel sometimes got confused. Anyway, I managed to prevent it using a timer system(basically limits operations to 1 every 500ms), which is currently resulting in always 1 vibration per sweep. I'm currently testing it, and no freezes yet :D . Anyone else see a better way around this? Is it reasonable to assume this could be the problem?

commit: https://github.com/CurtisMJ/neXusKERNEL/commit/15e202fb7526fd0981c8136a3d96cceaf314c29a(I don't mind giving builds to anyone who want's to test ;) ) Builds sent and requested via PM to avoid cluttering the thread.
[HTC Desire X] doiutzu:
I want to test it pls add build.
[HTC Desire X] vikkolts:
I want test too

Отправлено с моего HTC Desire X через Tapatalk
[HTC Desire X] hell_lock:
Thats pretty much normal.. nothing new. Your touches are registered via this loop which gets executed 4 times for every single touch. So when you are swiping it will actually runs more than 12 times but you didn't get that through the vibrator because it needs some time to on and off the vibrator too. Maybe try to limit loop_i to 1 and see what happens? And btw you should depend on logs rather than hardware for better debugging.
[HTC Desire X] kostovdean:
+1 for test

Sent from my HTC Desire X using Xparent Cyan Tapatalk 2
[HTC Desire X] CurtisMJ:
I didn't know that loop repeats that many times, so that explains a little. The problem is I put the vibration in the simulated power press function, which means the entire system was somehow repeating said amount of times per sweep. The delay from the vibrator may have had a play but regardless the log didn't show multiple executions even though there were multiple vibrations, which seems pretty buggy to me in any case. Might as well fix that now than have it be a problem in the future. Last, have you figured out how to resume the device via a way other than a simulated press because I can't find a reliable way.

Tappadappa
[HTC Desire X] hell_lock:
The problem is in the suspend/resume fucntion. Rest is all fine. You might want to check the header files containing those irq functions..
[HTC Desire X] CurtisMJ:
Yep, got it(finally :silly: ), error is in resume function. Looked at logs. Resume function bombs out the driver which is eventually re-initialized by some type of maintenance run. Error is definitely in resume function. Since the touch panel needs to stay on while s2w is active, would it not make sense to just disable as much of the function as possible? (Seems to be working in the build I'm testing)

Edit: Quick test, see if you guys can freeze this build, and logs if it does.

Edit: And now this one:
[HTC Desire X] McGrady:
one more time ;) *hope* fingercross*
[HTC Desire X] alkox:
Ok I m testing this..

Let me know how to create log
[HTC Desire X] alkox:
Is this the way I can get the kernel log?? Please see the image and lemme know if m right.
[HTC Desire X] alkox:
Wow.. Since past 10 min m enjoying s2w :thumbup:

No freezes yet.. Will check after deep sleep and report by tomorrow :beer:
[HTC Desire X] dansou901:
Yeah.
[HTC Desire X] CurtisMJ:
Yep, pretty much.

http://xdaforums.com/showpost.php?p=50176269&postcount=280(Don't use the build in this post)

http://xdaforums.com/showpost.php?p=50896426&postcount=341
[HTC Desire X] alkox:
I found unrecoverable freezes after a 10 min screen off and after phone calls..

---------- Post added at 08:17 PM ---------- Previous post was at 08:16 PM ----------

How do I post the log.zip file here
[HTC Desire X] CurtisMJ:
You need to use the website. Click the "Manage Attachments" button in the post editor. Did only the touch panel freeze or the entire phone(i.e you could still do stuff like use the volume and power keys)?
[HTC Desire X] neXus PRIME:
Good to see people trying. But as I said, don't mess with resume function... Just need to correct the placement of that function after a complete sweep...

Actually we need a supervisory function to check if a sweep was clean or not. If a sweep was bad, it shouldn't be registered. If it was good, then pass it on to resume
[HTC Desire X] alkox:
Yaa.. Only power and volume button worked... Screen and soft keys freezes
[HTC Desire X] CurtisMJ:
[MENTION=4350492]neXus PRIME[/MENTION] I implemented a timer system to try and catch bad sweeps, and as far as I can see, resume and suspend functionality in the touch panel isn't even need as the panel must stay active after device sleep. I completely masked out the functions while s2w was active(they were partly masked out before) and there isn't any weird side effects, so I'm not sure at the moment, we'll see. Keep looking out for us :)

[MENTION=5016301]alkox[/MENTION] Logs please?
[HTC Desire X] alkox:
I could just test for 1 hour.. Could not work with this kernel for more time.
[HTC Desire X] CurtisMJ:
Are you sure this is correct?

The version flag in last_kmsg reads "#1 SMP PREEMPT Tue Nov 13 23:21:15 CST 2012"

Debug build 27 should read "#35 SMP PREEMPT Sun Mar 23 15:12:52 EDT 2014"

Plus I can't find any tags from my timer system, this doesn't look like the correct kernel. Please check.
[HTC Desire X] hell_lock:
Define a clean sweep please? I'll create the function.
[HTC Desire X] alkox:
I didn't had any last_kmsg file before... Only after creating it through adb.. After force shut down with debug 27 I got this...
[HTC Desire X] alkox:
Any success.... In test build.... M ready to test...
[HTC Desire X] AleXandreDrknss:
Hm.. For me - v3 is more laggy, then v2 =(
[HTC Desire X] Leon:
Question

What is ZRAM ?
[HTC Desire X] neXus PRIME:
http://en.wikipedia.org/wiki/ZRam

zRam is an experimental (staging) module of the Linux kernel. It was previously called "compcache". zRam increases performance by avoiding paging on disk and instead uses a compressed block device in RAM in which paging takes place until it is necessary to use the swap space on the hard disk drive. Since using RAM is faster than using disks, zRam allows Linux to make more use of RAM when swapping/paging is required, especially on older computers with less RAM installed.
[HTC Desire X] mike_20*212:
the same for me, V3 really very laggy as posted before.

write protect is away an that s great but beeing that laggy my phone is not usable

any ideas ?
[HTC Desire X] neXus PRIME:
Use v1 for now. I'll release a version maybe tomorrow.
[HTC Desire X] mike_20*212:
Ok, I m gonna do that till your updated version comes out.

and by the way : very good job, thx a lot :)
[HTC Desire X] Dante:
Odp: Updated 28/02/13 [Kernel/modded] neXusKERNEL v3.0

I want to flash this kernel but will it work with mySense rc3?

Wysłane z mojego HTC Desire X za pomocą Tapatalk 2
[HTC Desire X] Stereo8:
Re: Updated 28/02/13 [Kernel/modded] neXusKERNEL v3.0

Yes.

Flowed from my HTC branded muffin...
[HTC Desire X] morh:
Line recording?

Hey;

not really sure wether this' the right place to ask, but can't find other threads about neXus kernel. Is there any chance to enable line recording on this kernel? Or perhaps there's an external way to force the kernel to do that?

yes, i am aware of call recording being illegal in some countries.
[HTC Desire X] AkumDX:
@Op...Will you add OC to the kernel?
[HTC Desire X] neXus PRIME:
All people,

Please let me know if any person is STILL stuck on ICS hboot and wants to update to JB.

Regards

Yasir
[HTC Desire X] 0zura:
I'm still on ICS hboot, but at the time i wouldn't update

0zura
[HTC Desire X] dansou901:
Still? Why?
[HTC Desire X] 0zura:
Why? I don't know. I like ICS ;)

0zura
[HTC Desire X] xpirt:
It's not very different JB..

xpirt
[HTC Desire X] AkumDX:
[MENTION=4350492]neXus PRIME[/MENTION]....hoping to see a JB kernel from you too :)
[HTC Desire X] neXus PRIME:
@ All curious to use my kernel

http://d-h.st/3UP

My main objective, keep it light, keep it simple.

Only Smartassv2 added and none others

Only SIO added and none others.

other basic things like, write protection, ksm, swap are there. Not sure about init.d support.

Regards

Yasir
[HTC Desire X] GtrCraft:
Gonna test it now
[HTC Desire X] xpirt:
Good job! About init.d you have to edit ramdisk.

xpirt
[HTC Desire X] neXus PRIME:
init.d suuport doesnt seem to be much difficult:

1. In init.rc

2. in /system/bin/sysinit

credits: "alireza7991"

http://xdaforums.com/showthread.php?t=2284932
[HTC Desire X] alkox:
m testing the debug27 build again...

1. the softkeys doesn't respond after a few seconds .. until I swipe on all three of them again.

2. its not affected by calling. I tried it..

3. only after a deep sleep, it completely freezes, only the power and volume button works.

4. I have cleared the last_kmsg file and again creating it from beginning since it was about 800 kb which I cannot upload due to size limitation.

5. I will send the kernellog.text in some time. ( when it freezez) its working smooth until now.
[HTC Desire X] alkox:
kernel log... hope its the right one this time

above are the issues I faced ... now check the kernel for bugs... hope its helpful
[HTC Desire X] CurtisMJ:
Any more builds I make will be uploaded here for anyone willing to test.

https://www.dropbox.com/sh/w7ovph483k9jzdm/UnYlzNFI_b
[HTC Desire X] alkox:
Ok.. I will check for the new builds and test. Let me know if the file I posted in #382 is correct. So i can do to same to obtain the kernel log

Secondly, I checked the Dropbox link u gave for latest builds.. There are 3 builds with no build numbers. Which one to test.?
[HTC Desire X] McGrady:
here is a log from #27

i push the power button some times but the display does not turn on

Now i Test the Version #30
[HTC Desire X] $îMpŁÿ_¢ØmPłİÇåŤęĎ:
At times, s2w & power button didnt turn on the screen but, after a min or so the screen turned on normally.

Here is a log from build-30 after the screen froze completely,only the volume buttons & power buttons were working.
[HTC Desire X] alkox:
NeXus debug 31 testing

Wow... Sooo far (debug_31) working best...

1. Sometimes s2w don't work but after using power button once it works again.

2. Nothing freezing yet.

3. Yet to test it for deep sleep... Otherwise it's just working well

4. Experienced some ghost touches for a minute.. Then after using power button all well again

5. Kept on charge for two hrs.

Then i swipe and boom... :eek: the screen turns on, it's still working

It's been 10hrs... M still using this kernel... Experienced temporary freeze just for a while. We are very Close to the Perfect s2w.. :beer:

6. After whole night sleep.. First 2 s2w worked.. Then none worked.. But 10s later all working fine... No freezes
[HTC Desire X] alkox:
[MENTION=5278223]CurtisMJ[/MENTION]... Thanks alot. M using this kernel for regular use.. Can u add some more features to this kernel..?
[HTC Desire X] CurtisMJ:
Maybe once S2W is confirmed stable(Which is sadly not yet). But I honestly don't see the need for any more features than what is already here(maybe a governor and scheduler update may be in order though).
[HTC Desire X] alkox:
finally found an unrecoverable freeze ..after attending a phone call..

it suddenly got cancled, then I wasn't able to pick further call.. screen totally freezed...

here's the log.
[HTC Desire X] alkox:
Debug_32 :

1. Xposed torch (home and volume button) not working in this kernel whereas it was working fine with debug_31, as soon as I use xposed torch, s2w stops for 10 sec which was not the case with previous debug kernel.

2. After 10-15 min s2w fails for some seconds.
[HTC Desire X] CurtisMJ:
Touch screen startup delay is expected(Trying to fix a problem with a hammer). There's also a function that prevents excessive sweeps which may block out some legitimate ones (it may need some fine tuning :p ). This all lasts for about 1 second after a sweep is detected. Tested Xposed Torch and volume up was working. I also tested an old GravityBox (2.8.1) and long press home for torch was working, so I'm confident that functionality is not broken. (Xposed Torch module exhibits a lot of bad behavior anyways) Just as long as the screen hasn't completely frozen yet. :fingers-crossed: Thanks for testing again.
[HTC Desire X] alkox:
Yaa...

1.Torch was working.. But only sometimes... Not always...

Which was not the case with previous version...

2.And also noticed that 1 second gap u mentioned.. + many times the sweeps failed for 10-15 seconds

3. Hitting home button (speedy touches) 3-6 times in a row wakes up the screen (sometimes disables s2w)

4. Pressing the menu and back button simultaneously.. Does the same work as s2w (also pressing the 3 softkeys back to back does the same ..)

5. No freezes yet :thumbup:

6. Many swipes fail

7. Swiping through home button in upward direction.. Also wakes the screen.. :what:
[HTC Desire X] alkox:
I think... This Thread should b named BETA since we have progressed far ahead..
[HTC Desire X] MaartenXDA:
I won't recommend it. If it's called beta more people will think it's entirely safe. That way we'll get more complaints and bugreports, not really the thing we want to see here ^^
[HTC Desire X] Will_Xda:
Agreed and no one wants it otherwise we'll be more down on the number of Devs. Great to see you posting again dude, i will download you're game soon and give feedback in you're thread :)

Sorry for OT
[HTC Desire X] CurtisMJ:
Since this thread's been bumped already, has anyone gotten a complete freeze yet from build 32? If not I can start tuning the functions to remove delays, also, I wouldn't be able to change this thread. If I ever come up with a release I'd probably have to get permission and make a new one.
[HTC Desire X] neXus PRIME:
Great work Curtis... You didn't give up on the project.

I suggest when fixed build is ready, I'll update this thread. And close it. Just so that people who come to my thread still get a stable kernel. I'll update credits.

Then you may start a new thread and take the kernel forward as you see fit.
[HTC Desire X] alkox:
[MENTION=5278223]CurtisMJ[/MENTION] m using build 32 since u uploaded it... No freezes yet. Just that sometimes screen doesn't turn on for 10 sec. That's it. Thanks alot for this great work :D
[HTC Desire X] McGrady:
exactly the same here :good:
[HTC Desire X] CurtisMJ:
No freezes on 3 devices for 11 days. I'll admit I'm a little apprehensive, but I think that can be considered problem solved. Hopefully.

[MENTION=4350492]neXus PRIME[/MENTION] : Yeah, I think you can go ahead and close the thread.

Meanwhile I'll take some time to add some new features(like H2W or DT2W), and hopefully come up with a more polished release. Unless someone freezes soon. :silly: Thanks to all who tested. BTW, can I just use the same name for now?

EDIT:Heads up, I'll continue uploading STABLE builds to my Dropbox until I get a thread sorted out.http://xdaforums.com/showpost.php?p=51457298&postcount=383
[HTC Desire X] doiutzu:
Can you make a cm 10 kernel with s2w? Pretty please :). Now we have a stable version and I used s2w with mysense 5 and I became pretty much dependent of it.
[HTC Desire X] $îMpŁÿ_¢ØmPłİÇåŤęĎ:
+1
[HTC Desire X] doiutzu:
I'm back on HTC sense for now and I'm using your latest kernel. It's awesome. I like the vibration feedback. This way you can learn to swipe correctly. Thank you for your work.
[HTC Desire X] alkox:
CurtisMJ can u make a last build.. Removing off-screen freezes.. Even power button doesn't work when it freezes.. Off-screen.
[HTC Desire X] CurtisMJ:
That'd be deep sleep issues. Not high in priority right now.
[HTC Desire X] doiutzu:
Power buton works when waking from deep sleep. So that's no problem waking the device. When s2w doesn't work just press the power button:).
[HTC Desire X] elmdh:
Or wait 15 seconds. Then s2w works.
[HTC Desire X] Milind.joshi:
how is v4? is it safe to install? does it work properly?
[HTC Desire X] xpirt:
again... http://xdaforums.com/showpost.php?p=57448214&postcount=772
[HTC Desire X] Milind.joshi:
can you tell me the whole command lines cuz i m not able to understand it....
[HTC Desire X] xpirt:
he said already all commands, if you don't know how to use them, then without being lazy you could search on google.
[HTC Desire X] CurtisMJ:
I wouldn't look here for a build either, these were still experimental. Look at this thread http://xdaforums.com/showthread.php?t=2729834. An app is provided by that point, so use it instead. Remember XDA rules, look around on the forum itself before asking any questions.
[HTC Desire X] Bradypodion:
Hello! Nexu PRIME. Thank you so much for the great work. I've just found a new HTC Protou and want to do a little tricks to it. The best Kernel there is I think is yours, but the link is dead. Is there any other way to get it ?

Thanks a million!
[HTC Desire X] gbueno6:
I like your "style" my friend! Keep things simple is, sometimes, the best way to avoid bugs!

I'll test it ASAP and report any bugs (if there's any) I find!

Have a great day!

Enviado desde mi HTC Desire X usando Tapatalk 4
[HTC Desire X] Stek988:
Good to have that kind of thinking! :) I myself also like simple, and fast. :) Good job neXus! Keep up the good work. Ill most definitely try it out, and stay on it!

Sent from my precious!! HTC DX
[HTC Desire X] azraelcelt:
running ex4 on mine so ext2 and 3 should work runnng prototypes kernal though will test with this on weekend
[HTC Desire X] Dante:
Ksm.zip in op is for jb version too?

Wysłane z mojego HTC Desire X za pomocą Tapatalk 4
[HTC Desire X] xpirt:
Yes. It work also on JB.

xpirt
[HTC Desire X] GtrCraft:
I am testing the JB kernel for one day now and it's perfect.

Good performance with smartassV2 and CFQ and no bad responsive power button or black screen.

Perfect work :good:
[HTC Desire X] neXus PRIME:
Glad to hear..

In new version,

I'll only add things which I personally want and won't give too many choices.

I want to remove the crappy governors and schedulers which no one uses. So need votes for that.

Plus, I need some benchmark scores here in this thread which I need for reference and future comparisons.

Regards

Yasir
[HTC Desire X] Dante:
I used the latest version of antutu, smartassV2 + sio and some applications installed.

Wysłane z mojego HTC Desire X za pomocą Tapatalk 4
[HTC Desire X] qzem:
Does this kernel supports 2 way call recording? Or is there any other kernel for desire x that supports that?

Thanks
[HTC Desire X] neXus PRIME:
Guys

New release

http://d-h.st/zuB

Version 2

1. Added "BFQ Scheduler", my favourite

2. Added experimental GPU OC

Recommended settings for max performance:

GOV=SMARTASSV2

IOSCHED=BFQ

MIN=245

MAX=1000

Features will come at a crawling pace, because i want to make every release BUG-FREE. Stability is first priority, features is last.

Regards

Yasir
[HTC Desire X] ckpv5:
Tested ... no comment ... as usual, just great :D

Can I use this kernel as main kernel for my ROMs ? Say I put it as Boot.img_Installer_RC4.0.zip as I added in init.d support and some services clean-up. As usual, credit, link and source file will be included.
[HTC Desire X] neXus PRIME:
Go ahead please . :thumbup:

A great feature is in the lab, but I'm failing at a point repeatedly. Hope it works before weekend.

Gpu oc might be a placebo but I think I got these in antutu

ONLY GPU SOLO TEST.

normal 2015

With oc, 2178

Maybe some one can test
[HTC Desire X] DeveloperOne:
Its a placebo as of now... With some nice IC we can get 3500, 2500+ is marginal.
[HTC Desire X] neXus PRIME:
Ok. But overclock isn't a priority. I'll remove the gpu oc table. Learning pll4 overclock.
[HTC Desire X] DeveloperOne:
Actually its a priority ive been working on it since few days landed up with same condition ie. Placebo

It is priority because I hate lag in games.
[HTC Desire X] dansou901:
Priority is a working CM kernel right now, nightwalkerkg and I successfully did a CM build based on prototype_Us sources