yashsingh1/xdaforums huggingface dataset:
[Sony Xperia ZR] soussen1:
Hi everyone,

So I'm pretty new to all this stuff but I really have an annoying problems. So right now I'm with the new AOSP ROM based on CM 11. I got this problem with this ROM and with every CM11 ROM (dogo_nightly). The problem is that every once in a day, or more, my touchscreen stop working. I mean everything works, the music keep going the power button works etc. But my screen freeze and I have to open my phone and take the battery of...which is really annoying to do every time. So if someone got a solution that would be so helpful. Thanks for your helping.
[Sony Xperia ZR] Daedroza:
Disable double tap to wake from settings. Also go to your ROM.zip find boot.img and flash it to your mobile via Flashtool. Now reflash your ROM with that cwm recovery.
[Optimus One, P500, V Q&A, Help & Troubleshooting] gildavidi:
Hi, It is possible to run the game "Farm Hero Saga" in our device? :confused:

thx
[T-Mobile Samsung Galaxy S 5] Rasmux:
Hey guys my wife has a Galaxy S5 and we got unlimited internet so i wanted to root and try to get unlimited hotspot like i got in my lg phone but i have no idea where to start, easier way to root and gain unlimited hotspot is? Thanks!
[T-Mobile Samsung Galaxy S 5] TheArtiszan:
There see plenty of threads where the methods on rooting were discussed.

I would start by reading through those for the pluses and minus.

Installing a custom rom will enable the hotspot.
[T-Mobile Samsung Galaxy S 5] southsidexz:
I would suggest trying a custom ROM or if your trying to stay stock but roote w/Hotspot try one of the ROMs from Beans or Keysoh2. I've been running them and had no issue, I also tried the hotspot with no issues.

Look in the Development thread :good:

Hope it helps.
[T-Mobile Samsung Galaxy S 5] TheArtiszan:
Yeah I have a towel rooted with Knox not tripped and a custom framework in it replaced with root and it works great
[T-Mobile Samsung Galaxy S 5] Guntert:
How were u able to not trip knox
[T-Mobile Samsung Galaxy S 5] jon123nyc:
If you read Rom specs, you will see that many roms break knox. if they don't, it's for ppl who need an unbroken knox capability (for work, etc.)

Personally, I have found it too much trouble to be worthwhile. Every time I've made a mod for unlimited hot-spot (and it worked); it only worked for a while. Eventually the phone companies close the vulnerability, then hackers hack it, ad infinitum....
[T-Mobile Samsung Galaxy S 5] Guntert:
I'm still looking for a way to keep knox 0x0 but rooted, I don't need anything else. I really don't care if knox is tripped except my Samsung AllCast Hub won't work if rooted so I have to hide it
[T-Mobile Samsung Galaxy S 5] TheArtiszan:
I flashed ne6 (I think that is the right version) then rooted with towelroot. I use mobile Odin pro to upgrade to newer versions of software to keep root and just replace framework with one that allows tethering
[HTC Desire X] //.dax:
First custom CM-based kernel for SlimBean, AOSPA, AOKP and MIUI!!

Features

// Governors: hotplug, smartassH3, smartassV2, lulzactive, interactiveX, interactive, conservative, ondemandX, userspace, powersave, ondemand, performance

// IO Shedulers: noop, deadline, cfq, sio, row, vr, zen

// TS Mods from Infinity kernel

// Fastcharge!

// Increased responsiveness

// Perflock disabled

// Decreased RAM usage

// System write protection disabled

// Random tweaks

// More to come!​

To use x2W mods, use this app (all credits goes to [MENTION=4449607]InfinityShooter[/MENTION] )

If it doesn't work for you, push this script via terminal (edit file first):

BIG thanks to:

[MENTION=4449607]InfinityShooter[/MENTION] for his Infinity kernel sources and help

[MENTION=5373435]Eliminator79[/MENTION] for his helpful tutorial

[MENTION=4153075]MattNoir[/MENTION] for testing

[MENTION=5132229]xpirt[/MENTION] for his help (MIUI support)

Download links

Source
[HTC Desire X] Eliminator79:
Wow.

Nice one !,A lot of governors and I/O Schedulers are added.

OTG Support is recommended. :cowboy: :highfive:
[HTC Desire X] Leon:
Yay :laugh:

first cm kernel xD < 3 Good work!

PS:

The guy above me

You shoud make ur singature little more bigger :D Its takes only the half page
[HTC Desire X] //.dax:
Thanks man :)

Yep, I wanted to make kernel that fits to taste of many users

OTG is thing that I'm planning to implement too, but I have pretty busy schedule (mostly school) right now, so no time :(
[HTC Desire X] Eliminator79:
I hope that god helps you. :D

---------- Post added at 09:02 PM ---------- Previous post was at 09:01 PM ----------

Yep, you should also make your signature and spelling a little bit unique :cyclops:
[HTC Desire X] doorfixer:
will it work only with CM ROMS or i can try installing it with ViMiRo ROM ?
[HTC Desire X] //.dax:
CM-based ROMs only
[HTC Desire X] romy25:
Will this kernel work on miui v5 or is there any further customization required?
[HTC Desire X] //.dax:
Sure, no additional tweaks required :)
[HTC Desire X] romy25:
Its second day of use of your kernel and my phone become a bit laggy. Not sure if other users also facing this issue.
[HTC Desire X] //.dax:
I don't know, nothing like that for me.. But I'll try to make more optimizations in next release

BTW, I started working on V2, which will come with more optimizations, revamped governors and.. probably more ;)
[HTC Desire X] romy25:
Wonderful. Very much excited.

The best achievement.. It saves battery then regular cm kernel.[emoji2]
[HTC Desire X] //.dax:
I'm glad that you like it :)
[HTC Desire X] PepinCZ:
It working with CM 10.1 / cm 10.2 ?
[HTC Desire X] //.dax:
Nope, for CM10 only as sources for 10.1/10.2 weren't released
[HTC Desire X] romy25:
I tried it on miui 5 rom and it doesn't support.[emoji19]
[HTC Desire X] adbroot:
Great work! Finally a CM kernel. Unfortunately I can't use it yet as my power button isn't working, and I need S2W, so for now I'm still on vimiro. Hope you can manage S2W soon :P
[HTC Desire X] hell_lock:
You have to release your source codes for complying with GPL. Else, this thread will get closed.
[HTC Desire X] //.dax:
Really? That's weird, I'll try it today.. Maybe the dev changed something in kernel..

I'll try to do my best :)

It would be no problem for me to publish them..

I guess I have to start learn something about Github ;)
[HTC Desire X] alkox:
Using it since 3 days..... Going very smooth..... :thumbup:
[HTC Desire X] romy25:
I used this on slimbean and observed lags.
[HTC Desire X] //.dax:
I found the problem that may cause the lags, I'll update V2 and source today.. stay tuned ;)
[HTC Desire X] romy25:
Hope v2 will be compatible with miui5 as well. Current miui kernel is very laggy and i am excited to use your kernel as miui is my fav rom.
[HTC Desire X] //.dax:
I've tested MIUI and you're right, my kernel isn't working..

Unfortunately, if dev of MIUI changed something inside kernel and haven't published modified source, then I can't do anything about it, sorry :(

I'll try compile clean kernel from source and test it with MIUI and if it's gonna work, then I'll probably make another kernel especially for it..
[HTC Desire X] xpirt:
no, not needed to compile it. you just have to start the shelld service, of miui's xbin folder, on ramdisk.

if you don't know how, then to start it, add this at the end of init.rc:

service shelld /system/xbin/shelld
class main

..repack it, profit.
[HTC Desire X] //.dax:
Man, you're amazing :)

I'll try ASAP
[HTC Desire X] //.dax:
Okay guys, V2 and sources are released now, check the change log in OP :)
[HTC Desire X] romy25:
Amazing dude. Your magic works and MiUi booting with new version. Pretty smooth.. saves battery too.

great work.[emoji108]
[HTC Desire X] samarth sathe:
I guess you forgot to update the title :P

Anyways awesome job. :D
[HTC Desire X] //.dax:
Yep, Tapatalk said it's already changed :D I'll do it later at home
[HTC Desire X] themetrio:
It's possible to flash this kernel from recovery?
[HTC Desire X] //.dax:
AFAIK no.. If you have trouble with flashing via fastboot, try Flashify
[HTC Desire X] xpirt:
if he's S-OFF he should be able to flash it with proper script.. but only if S-OFF.
[HTC Desire X] themetrio:
Yes I'm s-off.
[HTC Desire X] xpirt:
look here: http://xdaforums.com/showthread.php?p=49923522

grab that updater script, grab a sample flashable zip, replace old updater-script file with new one and put boot.img inside zip alongside META-INF folder. flash, profit.
[HTC Desire X] themetrio:
I don't understand very well, I have only boot.img and META-INF folder with inside

com/google/android/updater-script? Any other files needed?
[HTC Desire X] xpirt:
exactly, no other files/folders needed (if you have system folder you can delete it)
[HTC Desire X] Dolanoi:
Great work [MENTION=5411338]//.dax[/MENTION]

By the way, are you gonna implement OC in any of your build?

Also, what are the CPU frequencies?
[HTC Desire X] romy25:
Seems v2 consumes more battery than v1. Is it the cost of smoothness?
[HTC Desire X] //.dax:
I haven't noticed anything critical, still getting around 12 hrs of battery life

Frequencies over 1008 MHz are only placebo (atis112's work)

I'm still learning and I don't think that I can make OC possible by myself
[HTC Desire X] Dolanoi:
Alright.

But really great work! :victory: I'm learning it all too but I'm at a very basic stage

One more question :p

Which linux version have you used?
[HTC Desire X] //.dax:
Thanks :)

In fact, it is just modified stock CM kernel, which version is 3.0.21
[HTC Desire X] romy25:
How do u compare performance of kernels? Is there any tool available?
[HTC Desire X] //.dax:
Antutu is pretty good in benchmarking
[HTC Desire X] romy25:
Antutu stats for your kernel... Impressive[emoji2]

---------- Post added at 07:22 PM ---------- Previous post was at 07:20 PM ----------

Antutu score with Stock kernel... even better.
[HTC Desire X] //.dax:
You know, user experience > benchmark

I'm not gonna force you to use my kernel.. If you wanna use stock because of benchmark, use it. If mine because of.. something(?), use it.

I've created this kernel mainly because governors of stock one and battery life wasn't that good and because I wanted to try something new

In fact, at first I didn't want to even release it. It was supposed to be for my personal usage only. Use which kernel you want

BTW here's mine test some days back

Just my 0,2€ ;)
[HTC Desire X] romy25:
Pls dont take this wrong.. actually i was confused which one to use.. there is no intention to criticism.. i really appreciate your all work. Just hoping for better cm kernel than stock one.
[HTC Desire X] //.dax:
Okay, I'm not taking this as critique. It just doesn't matter for me which kernel you gonna use based on benchmark ;)
[HTC Desire X] romy25:
Cool.. i will keep observing both.. actually what matters most is.. a lag free kernel with longer battery life.

Thanks for sharing your work and keeping it alive.
[HTC Desire X] ankahuja:
THIS KERNEL IS VERYYYYY GOOD BUT NEEDS IMPROVEMENTS

1) started to see lagging from 2nd day

2) camera app stopped working (saying gallery is force closed or cannot connect to camera)

3) battery full charged (green light appears) still phone showing 90%

I HAVE GOT TO SAY THIS KERNEL IS VERYYYYY BATTERY EFFICIENT

NO KERNEL WAKELOCKS

NO UNNECESSARY PARTIAL WAKELOCKS (1-2% battery use on 10hr standby)

(1.5 day battery with light use)

hope this kernel has further improvements :) :) CHEERS :highfive:

= removed CM and reverted back to mysensedx5
[HTC Desire X] themetrio:
2) and 3) are ROM-related problem not kernel.
[HTC Desire X] //.dax:
Thanks man, appreciating it :)

I'm still working to make kernel less laggy and more battery effecient as possibel

2 and 3 are ROM's problem as stated above
[HTC Desire X] Leon:
:laugh:

Theres no point to complain :) I guess its 100 times better than stock cm kernel so... Lets just thumbs up :D :good:

BTW

Im going to try now :feelingexcited: :D

Thank you again !
[HTC Desire X] //.dax:
Guys, I finally did it!!

S2W sucessfully implemented!! Thanks to [MENTION=5278223]CurtisMJ[/MENTION] and his commit, I cherry-picked it and edited some lines in the code.. It is little buggy for now (works better from swipe right to left), so I´m not going to release V3 in near future

Anyway, be prepared ;)
[HTC Desire X] soham1990:
Is miui rom working better now with this v2 kernel?? .. And can any1 tell me abt battery performance also on miui with this kernel.. Thanx.. We appreciate ur hard work..
[HTC Desire X] //.dax:
MIUI is supported from V2, you should check out by yourself.. Battery is better with this one, performance probably the same
[HTC Desire X] soham1990:
Ok i wil try it out and review it soon.. Thanx for quick reply.. Hope this kernel wil get s2w

Its dumb to ask u.. but cn u update miui rom and remove soem bugs in it
[HTC Desire X] //.dax:
S2W is already in source, but it's pretty buggy right now, I need someone who have experience with it ( [MENTION=4449607]InfinityShooter[/MENTION] ?)

I can't.. MIUI ROM have not released the source and I don't have skills to port and fix bugs in ROM, sorry
[HTC Desire X] soham1990:
No worries.. Hope some one wil atleast to fix miui
[HTC Desire X] Nexus222:
With this kernel MIUI stands whole day on battery when I use Internet all the time, write messages and calls sometimes! Awesome! :D
[HTC Desire X] soham1990:
If you want official miui rom on our device then jst go to miui forum and vote it for yes..

I voted it and nw m nt getting that link.. Whenever i get it i wil link it down below
[HTC Desire X] soham1990:
How to use s2w??? And how cn i enable otg support..both nt working for me...

And someone here said battrry drains 1-2% after 10hrs on standby..however in my case it drains around 10 % approx.. My wifi is on during standby

Thanxx..
[HTC Desire X] themetrio:
Maybe you have some apps running on background.
[HTC Desire X] //.dax:
Kernel with S2W will be released as beta, as it isn't always working as it should be (I need help from one of our developers), same with OTG

Probably you have too much apps running on background as stated above or you have really old battery
[HTC Desire X] hell_lock:
Yo! How can I help ya?

Got my phone back for testing :D
[HTC Desire X] //.dax:
Yay! :D I am happy to hear that!

I have some problems with S2W.. It is working, but buttons are reacting on actions before display turns off (recents, home, etc).. When waking with swipe, it turns on touchscreen, but not display itself

Everything is on github, so if you have some spare time, could you take a look on it please? :)

If there is something wrong with sources or you can add something useful inside, do not hesitate ;)

Again, thanks so much! :good:
[HTC Desire X] hell_lock:
Have you tried adapting to my version of himax?
[HTC Desire X] //.dax:
Nope, I'll try today
[HTC Desire X] //.dax:
[MENTION=4449607]InfinityShooter[/MENTION] I tried as much as I could, but I was all like

There were too many errors and I had not idea what to do with them.. I guess you can make it better ;)
[HTC Desire X] nightwalkerkg:
Share the errors so we can try to figure them out. I'll try to help any way i can.
[HTC Desire X] //.dax:
Thanks :) i'll post some of them as soon as I come home
[HTC Desire X] //.dax:
[MENTION=4449607]InfinityShooter[/MENTION] [MENTION=4804114]nightwalkerkg[/MENTION] do not blame me guys if it is easy to fix, I am really new to all these things so I do not understand everything ;)

drivers/input/touchscreen/himax8526a.c: In function 'himax8526a_suspend':
drivers/input/touchscreen/himax8526a.c:1895: warning: ISO C90 forbids mixed declarations and code
error, forbidden warning: himax8526a.c:1895
scripts/Makefile.build:305: recipe for target 'drivers/input/touchscreen/himax8526a.o' failed

int ret is the line 1895 in this case

}
//code goes here to turn off screen..first
static int himax8526a_suspend(struct i2c_client *client, pm_message_t mesg)
{

printk(KERN_INFO "[touch]code entering himax8526a_suspend");
private_ts->screen_status=0;
printk(KERN_INFO "[touch]Screen state off. 0");
int ret;
uint8_t data = 0x01;
struct himax_ts_data *ts = i2c_get_clientdata(client);
//uint8_t new_command[2] = {0x91, 0x00};

//i2c_himax_master_write(ts->client, new_command, sizeof(new_command),
//HIMAX_I2C_RETRY_TIMES);

printk(KERN_DEBUG "[TP]%s: diag_command= %d\n", __func__, ts->diag_command);
//s2w
enable_irq_wake(client->irq);

printk(KERN_INFO "[touch][TP]%s: enter\n", __func__);

//disable_irq(client->irq);

if (!ts->use_irq) {
ret = cancel_work_sync(&ts->work);
if (ret)
enable_irq(client->irq);
}

/*i2c_himax_write_command(ts->client, 0x82, HIMAX_I2C_RETRY_TIMES);
msleep(30);
i2c_himax_write_command(ts->client, 0x80, HIMAX_I2C_RETRY_TIMES);
msleep(30);
i2c_himax_write(ts->client, 0xD7, &data, 1, HIMAX_I2C_RETRY_TIMES);
msleep(250);*/
if (ts->pdata->powerOff3V3 && ts->pdata->power)
ts->pdata->power(0);
ts->first_pressed = 0;
ts->suspend_mode = 1;
ts->pre_finger_mask = 0;

return 0;
}
[HTC Desire X] xpirt:
error is simple to understand: ISO C90 forbids mixed declarations and code

it simple means you're not allowed to mix declarations with code, so you must put first all declarations (variables,etc) on the top of the function, then you put all necessary statements after them.
[HTC Desire X] //.dax:
Thanks :) I'll try to fix this
[HTC Desire X] //.dax:
Okay, I thought everything should be fixed, but this appeared:

LD .tmp_vmlinux1
drivers/built-in.o: In function `himax8526a_resume':
/root/android/test/drivers/input/touchscreen/himax8526a.c:1964: undefined reference to `hr_msleep'
drivers/built-in.o: In function `himax8526a_probe':
/root/android/test/drivers/input/touchscreen/himax8526a.c:1780: undefined reference to `get_tamper_sf'
drivers/built-in.o: In function `gpio_event_probe':
/root/android/test/drivers/input/misc/gpio_event.c:167: undefined reference to `himax_s2w_setinp'
Makefile:880: recipe for target '.tmp_vmlinux1' failed
make: *** [.tmp_vmlinux1] Error 1

I have no idea what should be wrong (I havent touch any other things)

Thanks in advance for explanation :)
[HTC Desire X] xpirt:
is your github updated?
[HTC Desire X] //.dax:
I'll push commit with edited files

Edit: pushed, be warned that there arr many new files (touchscreen file from infinity kernel)

I hope that I haven't done anything wrong!
[HTC Desire X] //.dax:
[MENTION=5132229]xpirt[/MENTION] errors fixed (see latest commit)

[MENTION=4449607]InfinityShooter[/MENTION] I've adapted your himax8526a to kernel, but s2w isn't working

[MENTION=4804114]nightwalkerkg[/MENTION]
[HTC Desire X] hell_lock:
Try my app
[HTC Desire X] //.dax:
Nope, still nothing :(
[HTC Desire X] hell_lock:
First of all dont use my recent 3-4 commits related to touchscreen. I'm still working on them..

After you're done removing those changes, try checking your dmesg for touch coordinates and stuff like that. I've put in many kernel logs for debugging my code. You can check them with my code to see whats causing the problem.
[HTC Desire X] //.dax:
Thanks, I'll report tommorow.. I've had enough for today :)
[HTC Desire X] //.dax:
w00t :D

[MENTION=4449607]InfinityShooter[/MENTION] S2W working with himax from your kernel, but only with script in init.d folder

I'm going to try F2W and L2W too..

Making last changes and pushing commit ;)

Edit: F2W works too (not suitable for gestures in Nova Launcher :p )
[HTC Desire X] //.dax:
Okay, here comes the ETA..

If my beta test is going well, V3 with all waking methods from Infinity kernel will be released 01/11/14
[HTC Desire X] MrRootGuy:
Do I flash this kernel via fastboot or as a zip in TWRP?
[HTC Desire X] //.dax:
You can do both if you know how
[HTC Desire X] soham1990:
Today is 1/11/2014... Hoping for v3
[HTC Desire X] //.dax:
V3 // Released 1/11/14

What's new?

Download link in OP
[HTC Desire X] romy25:
Which tool are u using to enable s2w? I tried toolbox and it forgets all setting and disables s2w after sometime.
[HTC Desire X] //.dax:
I dunno, I'm using only script with L2W (most suitable for me), but toolbox worked for me too..

It's true that toolbox resets values after restart
[HTC Desire X] romy25:
Can you pls mention instruction script to enable s2w in op.

thanks.
[HTC Desire X] //.dax:
It's already there.
[HTC Desire X] //.dax:
Little Announcement

I decided to release alfa/beta versions on Github (named //.kernel/x/) for those who are interrested. They are going to be released irregulary, or after some big changes to sources. Published releases are tested by me (if they boot or not :P ), but they could be little laggy

Main release will be posted here on XDA at beginning of (almost every) month, eg. V4 will be released 01/12/14 (thats ETA lol)
[HTC Desire X] PepinCZ:
I just flashed and .. it's amazing! Really the best kernel!

And the 1,4 Ghz core clock is true or it's only placebo effect?

;)
[HTC Desire X] //.dax:
It think it's pure placebo (atis112's work)
[HTC Desire X] romy25:
I enabled s2w script and now it wake/lock my device by swiping on screen instead of navigation keys.

It become worst as my ph gets locked even if i scroll content on screen.

Pls tell me how to disable script.
[HTC Desire X] //.dax:
You probably enabled Flick2Wake instead s2w.. Take a look inside of script, there are detailed instructions how to enable which feature
[HTC Desire X] soham1990:
I must say kernel is better than previous ver.. Battery efficiency is good.. Sometyms it lafs a bit..but restaring sloves the issue

One thing about miui rom.. Is there any app to dim brightness further.. Coz whn i started night mode app and press back button to get to home screen then scren again gets bright.

Thanx alot for v3

install attached apk and u are ready to activate s2w ..

credits for that app .... obv not me
[HTC Desire X] romy25:
Yes. U right. I pushed the script without editing mods.

Now it works fine. Thanks.
[HTC Desire X] //.dax:
V4 // Released 1/12/14

- GPU Overclock /not sure if real/

- Now compiled with Sabermod 4.7 toolchain

- Compiled with -O3 flags

- GPU Makefile flags

- Added NEON support

- Added RoW scheduler

- KSM updates

This is the last release that will be released with this CM base, as [MENTION=1180175]fozzy_fozzy[/MENTION] have recreated whole CM10 (from scratch) and sources will be released soon (I hope)

Also, DX is no longer my primary phone (I have got Acer Liquid Z500) so kernel commits will come less likely, but dont worry, I am not putting it away (drawer/audio phone) so when CM10.1 or even CM11 sources are going to be released, I´ll create custom kernel with all custom features too.
[HTC Desire X] Nexus222:
Sometimes the screen won't turn on for several minutes. I don't use any x2W mods. It looks like a lag.
[HTC Desire X] //.dax:
Dunno, nothing like this for me.. I'm not using X2W mods too, and screen wakes up always, no matter if power button or volume buttons

Could you write here detailed scenario when does not screen turn on?
[HTC Desire X] Nexus222:
It happens when I lock the screen and try to turn it on. I press the power button and still all button and screen are dark. It turns on after a while.
[HTC Desire X] //.dax:
How big is the delay? I'm not experiencing this kind of problem, so I don't really know what should I fix at all.. Maybe little logcat would be nice ;)
[HTC Desire X] Nexus222:
I had that two times or three. Max one minute delay. I wrote earlier, that several minutes ;o my bad. One minute max.
[HTC Desire X] //.dax:
Could your try if it's still happening with x2w mods?
[HTC Desire X] Nexus222:
I used x2W mods and S2W doesn't work well. 50% (maybe less) tries succeeds. English such hard :o
[HTC Desire X] //.dax:
S2W is kinda hard to use. Later back, I was using kernel with Curtis's s2w implementation, which was working better

Then I moved to himax from Infinity's kernel mostly because of tsmods and other x2w mods..

Both x2w implementations are very different, so I can't merge curtis's work into infinity's

I find L2W most suitable to use anyway :)
[HTC Desire X] Nexus222:
The delay is to two minutes :/ I will see if it's a problem only in this version of kernel. If in earlier too, I will install the stock kernel. I didn't have that problem earlier with other versions. Maybe it's only a problem with recently installed ROM (SlimBean).Or may I at first do a logcat?