yashsingh1/xdaforums huggingface dataset:
[AT&T, Rogers HTC One X, Telstra One XL] azturbomini:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

The same free memory problem has happened to me on every kernel version I have flashed. I don't get it. :banghead:
[AT&T, Rogers HTC One X, Telstra One XL] Zarboz:
you got any init.d scripts hanging around altering your memkiller options?
[AT&T, Rogers HTC One X, Telstra One XL] flar2:
I didn't mess with lowmemorykiller in the kernel (other than to set minfrees less aggressive through a script), so it should work normally (i.e. kill apps when memory is low). I don't think it's a kernel problem, but rather a software problem. I have the latest Viper, zram enabled, opened up Chrome and the HTC browser, loaded up a few tabs in each and still have no problem. I'll continue using these browsers for the rest of the day, but so far I can't reproduce this problem.

Perhaps send me a logcat and dmesg output from when this is happening?

I wonder if there is some conflict between Venom Tweaks and my zram script, which sets minfrees less agressively.

But even so, it should still kill tasks when memory is low.

EDIT: I've spent the past fifteen minutes opening up tons of apps, looking at all different webpges, navigation open (though I'm sitting at my desk) and switching between all of them. In terminal, I type "free" to see the memory stats. I've repeatedly used up all my zram and been down to about 20000 bytes of memory free, but there is always a bit of free memory. The memory management is working normally and I've had no slowdowns. I don't think this is a kernel problem.

Now I'm going to turn off zram and see what happens.

EDIT 2: phone was still responsive even while flushing out the zram. As expected, the browser tabs had to refresh, but all my open apps still went back to their last state and lots of free memory.
[AT&T, Rogers HTC One X, Telstra One XL] a box of kittens:
This may be a really dumb question... But would s off allow for any better kernel development? I don't think it would right?
[AT&T, Rogers HTC One X, Telstra One XL] katdog75:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

Will do! Thanks again.
[AT&T, Rogers HTC One X, Telstra One XL] E.Cadro:
One has nothing to do with the other. Other than letting people who have a higher hboot flash kernels from recovery. ;)

XDA Moderator
[AT&T, Rogers HTC One X, Telstra One XL] 696kris969:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

So I flashed 4.4vanilla on viperXls latest build and after the phone rebooted I see that my wifi is turned of , so i go to turn it on and it comes up error for split second and stays at off! Sorry not much to go on..
[AT&T, Rogers HTC One X, Telstra One XL] Dacra:
I hope so.

On 1.14 I've almost given up on getting this working now until s off is released.
[AT&T, Rogers HTC One X, Telstra One XL] flar2:
Did you run the installer or fastboot? You must run the installer as version 4.4 needs a special wifi module to work.

Please check your kernel version in settings-about-software information-more. It should say 3.4.10-ElementalX-v4.4-vanilla
[AT&T, Rogers HTC One X, Telstra One XL] azturbomini:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

Honestly I haven't looked and don't know what to look for and where to look. I'll look into it more when I get back from a business trip and can dig into the issue.

Thanks
[AT&T, Rogers HTC One X, Telstra One XL] jbm76:
I am having a similar problem to katdog75...

Since flashing 4.1, my phone is really fast for a while, but then gets laggy as... sometimes it takes 2-3 minutes to unlock the lock screen, then all of a sudden my phone will be fast again...

I am also on Viper 3.2.3

I have tried flashing vanilla based and beta versions but still get the slowdown/lag, on 2.5... it was working fine...

Seems to be worse at the end of the battery cycle...
[AT&T, Rogers HTC One X, Telstra One XL] 696kris969:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

I ran the installer, everything was absolutely fine just that WiFi problem, can you recommend anything? Or just Re flash? Also my current kernal version is '3.4.10-g240d4d5root@adm033'... And so on because I restored my last backup
[AT&T, Rogers HTC One X, Telstra One XL] flar2:
So, you katdog, liamstears, azturbomini and poetique have reported this, all using latest Viper. But I and many others are using Viper and no problem. I can't reproduce it. Not only that, but based on the changes I've made to the kernel, I don't know why anything like this would happen.

What options in Viper are you guys using? Is it just since the last OTA? Have you tried wiping and reinstalling?

I need something else to go on. Also, the beta has been downloaded several hundred times, so I think this is only affecting a few of you.

You need to reflash, that's the stock kernel. Stock kernel won't work with the wifi driver that comes with ElementalX. The ElementalX installer moves the original wifi driver from /system/lib/modules/prima_wlan.ko to /system/lib/modules/prima_wlan.ko.bak
[AT&T, Rogers HTC One X, Telstra One XL] tyfoxx:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

Is there anyone out there experiencing camera problems after flashing 4.4b, I'm on Viperxl 3.2.3,, please advise.
[AT&T, Rogers HTC One X, Telstra One XL] HTC_Phone:
What kind of problems? Please elaborate.
[AT&T, Rogers HTC One X, Telstra One XL] katdog75:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

Mine started happening days between otas but around 8 hrs after flashing elemental. I already did a full wipe and reinstall and all the other standard tricks.

The only other thing that I have flashed was the stock phone apk that Turge posted so that I can have a rotating dialer but have the phone itself remain in portrait when using the phone apk.

Other than that I haven't changes tweak settings in ages. If you want I can type out everything selected and not selected when I get to a computer. (Its too long to type from the device)

I noticed I can't seem to generate the dmesg - is there a trick for this one? No problem capturing the logcat.
[AT&T, Rogers HTC One X, Telstra One XL] azturbomini:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W
[AT&T, Rogers HTC One X, Telstra One XL] tyfoxx:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

FCing, black screen when it does open.

Message "unable to start camera"
[AT&T, Rogers HTC One X, Telstra One XL] a box of kittens:
Nope camera is fine here on 4.4 viper 3.23
[AT&T, Rogers HTC One X, Telstra One XL] coldrazor:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

Nice, 800mv :thumbup:

4.4b is super

Enviado desde mi HTC One X usando Tapatalk 2
[AT&T, Rogers HTC One X, Telstra One XL] c5satellite2:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

Just took some video while shooting pics and some pics with flash, no issues. Viper 3.2.3 elementalx4.4.
[AT&T, Rogers HTC One X, Telstra One XL] thedailyl3af:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

So I had to go back to 4.4v cause 4.4b caused my venom tweaks to fc every time I tried loading it. Has anyone else had this problem?

Sent from my Venomized Elemental Evita
[AT&T, Rogers HTC One X, Telstra One XL] HTC_Phone:
@flar2:

Alright here's a

preliminary

test with the latest beta, and what it's done for me so far.

4.4b - 850mv - 1.5Ghz - s2w - Rest Stock

Intellidemand Governor for both CPU

ROW Scheduler

Unplugged the phone around 8:30 am.

Made a few phone calls (Totaling 25 minutes in length)

Majority of day on wifi (Twitter, Snapchat, FB, etc.)

Was in an area of no signal for about 45 minutes

Off the charger now for about 10 hours, currently at 79%.

Can't see display, as underneath battery it no longer displays time (Or I can't find it?)

So far it's BLAZING fast and SMOOTH. Great work! I'm on Hatka 4.0.1 btw. :)

Hope this helps people!

---------- Post added at 06:54 PM ---------- Previous post was at 06:51 PM ----------

Did you try wiping cache/dalvik?
[AT&T, Rogers HTC One X, Telstra One XL] sully00:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

So about to flash to 4.4 and hoping to clear up something first. At some point I bumped my ad cache to 6144 and it was working well but now things are a bit sluggish. Does anyone else increase this setting and if not what is stock?
[AT&T, Rogers HTC One X, Telstra One XL] thedailyl3af:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

I'll try if not do you think cause I overclock it to 2.0?

Sent from my Venomized Elemental Evita
[AT&T, Rogers HTC One X, Telstra One XL] HTC_Phone:
The could be it.. But to me it doesn't seem likely. But if wiping cache/dalvik doesn't work, you might try scaling back a little on the speed to see if it helps. Or full wipe and start from scratch
[AT&T, Rogers HTC One X, Telstra One XL] thedailyl3af:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

Wipe the full Rom and flash viper then 4.4? Cause I tried going back to vanilla a tweaks worked at the same speed. Oh and yeah I wiped cache/dalvik

Sent from my Venomized Elemental Evita
[AT&T, Rogers HTC One X, Telstra One XL] HTC_Phone:
Hmm... Yea you might try a full wipe and go from there. Then if it still happens we can go from there.
[AT&T, Rogers HTC One X, Telstra One XL] thedailyl3af:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

Sweet. Ill let you know in a little. I've been trying to flash this kernal with tweaks working all day so my battery is at 39% so I'm gonna charge then try.

Sent from my Venomized Elemental Evita
[AT&T, Rogers HTC One X, Telstra One XL] HTC_Phone:
I know my phone did not like any of the settings I chose, and eventually it stuck with the settings I mentioned before. Good luck!

Sorry Flar for the excessive posts!
[AT&T, Rogers HTC One X, Telstra One XL] dave-:
Latest viper OTA and current beta kernel using all default options, zero issues. Never noticed any slowdowns or issues of any kind other than the Google Nav F/C which is a known JB issue and nothing to do with the kernel.

If only the same could be said for my Acer tablet :laugh:
[AT&T, Rogers HTC One X, Telstra One XL] BizzLeonDaCouch:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

I'm running the beta for viper (3.2.4) and elemental 4.4b .. got the fc of tweaks when trying to access cpu settings... I'm trying to upload the log cat...

Sent from my HTC Evita ViperXL
[AT&T, Rogers HTC One X, Telstra One XL] BizzLeonDaCouch:
Here's the logcat
[AT&T, Rogers HTC One X, Telstra One XL] harry655:
Ok, took the plunge and tried 4.4b as suggested by flar2.

Tried flashing with several different options - gpu oc/no oc, different voltages (including extra v), zram on/off. @1.7 ghz... Got random reboots/freezes and CPU settings in venom tweaks didn't work with anything in 4.4b.

Back on 4.4 vanilla (1.7, zram, fsync on) and seems stable again. I guess I fall in the 10% group:(
[AT&T, Rogers HTC One X, Telstra One XL] thedailyl3af:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

Overclock it to 2.0. when in venom tweaks put it to 1.7 that way you have the option to go hard or stay safe :)

Sent from my Venomized Elemental Evita
[AT&T, Rogers HTC One X, Telstra One XL] oranget:
Got the same force close trying to access cpu settings in venom tweaks while on new beastmode beta...went back to elemental and now it works.
[AT&T, Rogers HTC One X, Telstra One XL] harry655:
lol, yeah thanks but no thanks mate. I wouldn't dare touch 2.0 as I think my phone likes to cook as it is, maybe in winter :D
[AT&T, Rogers HTC One X, Telstra One XL] thedailyl3af:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

That's why you lower it bro :) just saying it won't over burn up if you just push set at boot.

Sent from my Venomized Elemental Evita
[AT&T, Rogers HTC One X, Telstra One XL] c5satellite2:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

4.4b on viper 3.2.3 no issues here. 4.4b is rockin.

For what it's worth I have the WiFi firmware update and am using a JB radio. Is it possible that not having the WiFi firmware and or a JB radio could be causing issues for people? Maybe some people who are having issues could post weather they have the WiFi firmware and JB radio or not.
[AT&T, Rogers HTC One X, Telstra One XL] harry655:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

Hmmm, I have already a jb radio but what's this wifi firmware update?

ViperXL 3.2.3

ElementalX 4.4 vanilla
[AT&T, Rogers HTC One X, Telstra One XL] BlueHawk:
Yup. I'm one of the 10% as well. :) Reboots regardless of settings. Fine on vanilla. I should actually grab the kmesg I suppose if no one else is reporting anything - but the reboots are usually occurring at annoying times like while I'm on the go and I actually need my phone.

And I also have this issue that comes up every now and then where the system seems to hang like both cores are locked up. It usually happens during an app update during the install point it seems, where the phone doesn't respond to touch or button input. The haptic feedback occurs, but nothing actually happens in terms of for example the notifications can be dragged down, or the home screen button doesn't take you to the home screen. Eventually, when the install has finished, all the pending inputs run - like the notification bar expands out and the like. I'm not doing anything special with venom tweaks.
[AT&T, Rogers HTC One X, Telstra One XL] paulk_:
Think the problems that people are having regarding random reboots is probably due to not having enough voltage. I've noticed the following since the version 4 kernels were released:

-Phone hangs immediately then hot reboots once I lower the voltage to 800 mV

-Phone hangs after a few seconds then hot reboots once I lower the voltage to 825 mV

-Phone seems to run fine then randomly hot reboots after anywhere between a few minutes to several hours with the voltage at 900mV (usually when I'm actually using the phone)

-Phone has been running without problems since I upped the voltage to 950 mV

The random reboots are all due to a GPU error.

Current setup: min/max 192/1512, intellidemand with powersave bias 60, ROW scheduler, no GPU OC, zram on, s2w on

Observations were mostly made with the following setup: min/max 192/1.7, intellidemand with powersave bias 60, FIOPS scheduler, no GPU OC, zram on, s2w on

Seems like flar's observation about HTC setting all the default voltages to 11xx mV to ensure stability looks right, especially for my case.

Weird that I never had problems running at 825 mV before the version 4 kernels.

Hope this helps anyone with the same problems who are forced to run vanilla!
[AT&T, Rogers HTC One X, Telstra One XL] iElvis:
I must have an ironclad CPU. I flashed 4.4b, and since I've had no issues on 2.0, I went to 2.1. I ran the scaling stability test in Stability Test for half an hour with no issues. Not sure how battery life is going to be, but this thing is blazing. :cool:
[AT&T, Rogers HTC One X, Telstra One XL] harry655:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

Yep, I'm almost certain its something to do with undervolting. I tried lowering voltage 950 on the lower scales & sure enough about 5mins later phone froze & rebooted. Back to 1150mv & stable again... Oh well, keep the vanillas coming :p

ViperXL 3.2.3

ElementalX 4.4Vanilla

Edit: not wanting to be a pain as I'm sure it's been mentioned several dozen times, but how do you grab kmesg thingy (if wanted) and is it too late to do if the phone's now stable? Thanks in advance...
[AT&T, Rogers HTC One X, Telstra One XL] thedailyl3af:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

I just want to know how to post them to xda cause the app doesn't have a upload zip or text file.

Also I haven't had any issues with flashing 4.4b @2.1. when I usually overclock 4.4v to 2.0 but tweaks works in vanilla but not beta only reason why I didn't stay on beta. I havent had time to mess with it due to zombies hordes attacking my tv screen lol.

Sent from my Venomized Elemental Evita
[AT&T, Rogers HTC One X, Telstra One XL] anarchychris:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

- After reboot issue is encountered boot to recovery

- use the file manager to copy /proc/last_kmsg to sdcard/download/

- mount usb and copy it to your computer

- zip it

- post it with details of your issue in this thread.

- restore your nandroid and boot into your last stable config

Thanks

Chris
[AT&T, Rogers HTC One X, Telstra One XL] thedailyl3af:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

I wish the xda app had this option as an upload. Seeing how we are on our phones more than computers so it would make sense to have these implemented in an update.(I'm not complaining just saying it would be easier)

Sent from my Venomized Elemental Evita
[AT&T, Rogers HTC One X, Telstra One XL] paulk_:
Looks like I spoke too soon, got hit by a sudden reboot. Anyone have any idea what this was due to?
[AT&T, Rogers HTC One X, Telstra One XL] xlmama:
I couldn't get ElementalX 4.4 or any other version working; but I just downgraded the hboot and applied superCID and now its working no worries. Will report back on any issues I encounter.
[AT&T, Rogers HTC One X, Telstra One XL] xxBrun0xx:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

Hey flar, when I had a note, there was a kernel called hydracore. It worked on every single rom, whether it was cm based or touch wiz. Now I don't care so much about that, but it did have a sweet feature that would prevent a lot of headaches here:

After collecting a lot of data about what people's minimum voltage and max over clock was, the dev figure out that there were 3 different chips in those phones, even though they were all dual core exynos. Each of the chips could take a different under volt and over clock. The kernel was somehow able to determine which of the 3 chips you had and undervolted accordingly. No one that I had ever heard of boot looped using that kernel, and everyone got insane battery life.

Any idea if something like this would be possible on our phones? I'd be happy to get data for you if you like, since I'm sure you're busy with other things.
[AT&T, Rogers HTC One X, Telstra One XL] raymond36136:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

Not sure y this is flar, but I can never just install a beta. If I install the vanilla build first and let it boot, I can reboot to twrp and install the betas then. Not sure if that helps u narrow something down. Just thought might help. I am on viperxl 3.2.3. Elemantal x beta 4.4 oc 2.0 no gpu oc no zram
[AT&T, Rogers HTC One X, Telstra One XL] scarecrow420:
Hi flar, Im on a stock ROM with root, but the new HTC write protection in JB is obviously not ideal.

Rather than go to a custom ROM or a kernel that includes alot of extra things like schedulers, voltage etc, I am trying to get basically a stock kernel, with ONLY your wp_mod.ko module added in. If i put ElementalX kernel on and answer no to all the setup prompts about the extras like voltage, fiops etc, will that achieve this or are there some things that are on by default in your kernel? Hope my question makes sense.

I was toying with the idea of building my own kernel which is just stock but with wp_mod linked in... From what Ive read I understand the stock kernel doesnt have support for init.d so i would need to replace the boot.img with one that does support this and then i could have an init.d script that will call insmod command for just that module. I am trying to figure out how to do this but a bit out of my depth... I wonder if you'd consider releasing a stock kernel with just the init.d support and wp module?

Would another way to do it, be to take your elementalX kernel but repack it with an edited init.d script to only call insmod for wp_mod.ko and remove all the other calls? In other words, your install would copy various things to my phone, but since i comment out most of the init.d script, they arent ever executed and just sit there doing nothing?

Many thanks for the work you have done so far! Im just not really interested in a kernel with so many things in it, and really just want to use your write protection disabling module :)
[AT&T, Rogers HTC One X, Telstra One XL] flar2:
I use Venom Tweaks without issues. Maybe check the settings and make sure "apply settings at boot" isn't checked. 4.4b, 4.4v and Beastmode all have different settings, so switching between them might be trying to set incompatible settings.

Empty file

Good idea, but I don't think it's that, I've never touched the radios or firmware on my phone.

This is already built in to our phone, and I use it as a guide for making the voltage tables. The vanilla version tries to address this.

That's interesting, I wonder if the people having trouble installing are trying to come from the completely stock kernel?

That said, I urge people people with problems installing to go s-off. It's very easy, and I think it's low risk.

I already posted this:

Stock kernel with write protection disabled:http://xdaforums.com/showthread.php?t=2150219
[AT&T, Rogers HTC One X, Telstra One XL] jrior001:
Re: [KERNEL] [Feb17] ElementalX-v4.4beta | OC | UV | ZRAM | S2W

There's another thread by flar2 with exactly what your looking for.

http://xdaforums.com/showthread.php?t=2150219

[KERNEL] Stock Kernel (no write protection)
[AT&T, Rogers HTC One X, Telstra One XL] Dacra:
I had tried about 50 times to install every version of this from 4.0 - 4.4 beta and vanilla's, ALL failled on viper boot screen whatever I did. Was getting so so so frustrated with it.

Today, S-OFF, 4.4beta works no problem.

Awesome.
[AT&T, Rogers HTC One X, Telstra One XL] scarecrow420:
wow thanks alot for pointing it out, I dont know how I missed that! I think I had searched about a week ago and could only find the 2 kernels for our phone (elementalX and beastmode) and it's taken me till now to remember to actually make the enquiry in your thread. In the meantime you've already made a stock kernel with write protect disabled, and posted it. I guess i should have searched again before posting! Great stuff, many thanks flar2 :)
[AT&T, Rogers HTC One X, Telstra One XL] iElvis:
As I understand it, it exploits a fairly glaring oversight on HTC's part, by halting a firmware flash in the middle when security is already turned off. Lots of folks are running into issues getting it to work, but in 20 pages in that thread, no one has reported a brick.

With s-off, are new kernel goodies on the way? :D
[AT&T, Rogers HTC One X, Telstra One XL] Dacra:
And after a few hours, this kernel is great.

Flar, you rock. It was your link in the S-OFF thread to instructions on how to update super cid with hex editor that helped too.

:good:
[AT&T, Rogers HTC One X, Telstra One XL] tyfoxx:
Cheers- Can you post the S-OFF link.

Take care

tyfoxx
[AT&T, Rogers HTC One X, Telstra One XL] Dacra:
Near the top of the Original Android Development section
[AT&T, Rogers HTC One X, Telstra One XL] flar2:
The kernel already has free reign over the device, so i don't think s-off really allows us to add any new features to the kernel. It will make it easier to install the kernel though. I hope that all the people with installation problems will try s-off. You shouldn't have to do any crazy stuff like downgrade your hboot anymore. With s-off you can flash with any hboot version.

s-off will lead to some new possibilities for other things because now there is full access to all partitions and you can replace things like hboot. Custom bootsplashes, removing the red letters from the bootsplash, dual boot, probably other things. If someone gives us dual boot, I'd be very happy.
[AT&T, Rogers HTC One X, Telstra One XL] carl1961:
S-OFF link for evita

S-OFF link for evita
[AT&T, Rogers HTC One X, Telstra One XL] NJGSII:
With S-off on 1.14 I was able to go from an AOSP rom to a sense rom without having to flash the kernel in fastboot. So there really shouldn't be any more problems with flashing this in recovery.

So glad that I waited as the process to s-off is simpler than the Jet tool's.