yashsingh1/xdaforums huggingface dataset:
[OnePlus X Original Android Development] eng.stk:
Newest SoCs with lollipop and up have plenty of hw cypher support and fast sw implementations with neon and similar instructions.

I merged the latest stuff from Nexus devices, but keep in mind that encrypted device is always slower than a normal one.
[OnePlus X Original Android Development] yorkberliner:
Good Morning,

[MENTION=3873953]eng.stk[/MENTION] THX a lot for your work. The new Kernel also the new Recovery works without Problems.

greetings
[OnePlus X Original Android Development] Funk Wizard:
Is r53 2.1.3-X compatible?
[OnePlus X Original Android Development] ukanth:
Yes. I'm using it with 2.1.3-X
[OnePlus X Original Android Development] Funk Wizard:
Couldn't wait flashed in the meantime.. Lol

Thanks for confirming though, Cheers
[OnePlus X Original Android Development] Roykooiman:
Again i cant flash the Ota with Bluspark recovery.....

Verstuurd vanaf mijn ONE E1003 met Tapatalk
[OnePlus X Original Android Development] Funk Wizard:
I was able to do that with the latest, follow this:

1. Download Full*2.1.3 Zip https://www.androidfilehost.com/?fid=24269982087006218

2. Download the OxygenOS 2.1.3-X OTA Patch

3. Download*SuperSU*to maintain Root

4. Reboot To TWRP & Take a Nandroid of your existing ROM

5. Go to Wipe > Advance Wipe > Select Dalvik, System, Cache & Swipe to*Wipe selected

6. Install Menu > Select 2.1.3 Full Rom > Swipe to Flash

7. Dirty Flash 2.1.3-X OTA over it

8. Wipe Dalvik & Cache

9. Flash SuperSU to maintain root & other mods like Xposed/Kernel etc

10. Wipe Dalvik*& Cache

12. Reboot System

Enjoy the 2.1.3-X Update*
[OnePlus X Original Android Development] Havoqq:
Thank you so much for your work! I've flashed TWRP and the kernel and everything just went flawlessly. Running 2.1.3-X now and there are no signs of bugs. I'm still trying to find the CPU governor that works best for me. Would you mind giving me an ELI5 of what blu_active is about? My Google-Fu brought me to a guide that said it's focused on performance. Since I'm trying to find a good balance between battery life and performance, I used to use InteractiveX on my other phones. Would it be a lot of trouble for you to include that in your kernel?
[OnePlus X Original Android Development] eng.stk:
That's because you didn't have blu_spark in your other phones ;p

blu_active will give you the best balance between battery and performance.
[OnePlus X Original Android Development] Havoqq:
Alrighty then :D. I was using it anyway on my X, gives me the best (as in fluid) feeling. Also, my CPU is now running 100mV below default and it's perfectly stable. Again, thanks a lot for your work!
[OnePlus X Original Android Development] stu5797:
I followed your steps in the first post to convert to F2FS. Now I have a dumb question. How do I know if I succeeded cause there were errors in twrp when I did this.

Thanks so much
[OnePlus X Original Android Development] neopbm:
You can check with Twrp

Filesystem is displayed in in. On the convert tab if my memory is good.

It's also displayed when you format the partitions
[OnePlus X Original Android Development] stu5797:
Thanks so much! I am rolling!

Should the SYSTEM be formatted to F2FS?
[OnePlus X Original Android Development] eng.stk:
No, system is ext4.

You can also check the partitions with a root explorer.

Check if you have anything under /sys/fs/f2fs

View attachment 3565256
[OnePlus X Original Android Development] stu5797:
Alright! I am rolling! Thank you sir for everything!
[OnePlus X Original Android Development] joho5:
can I use the TWRP-f2fs r5 even if I dont want to use f2fs?

Whats the benefit of using that filesystem?

Also if you have converted to f2fs and you wanted to go back to stock...can you just flash the rom.zip and it converts it back?
[OnePlus X Original Android Development] jackshot:
1. Yeah you can flash it as a normal recovery..

2. f2fs is much faster and smoother.. Not a huge difference as far as I know, but significant..

3. You have to reformat to ext4
[OnePlus X Original Android Development] joho5:
What's the method of converting back to ext4 prior to installing stock ROM?
[OnePlus X Original Android Development] jackshot:
Something like this, maybe?

Go to Wipe -> Advanced Wipe -> Select only Data -> Repair/Format File system -> Change partition type to ext4

Go to Wipe -> Advanced Wipe -> Select only Cache -> Repair/Format File system -> Change partition type to ext4
[OnePlus X Original Android Development] ux50jp:
You can install a stock ROM without formatting back to ext4.

No problem staying as f2fs, I believe...
[OnePlus X Original Android Development] riccardoro:
Have you fixed the gpu problems with games?

Thanks for your work!
[OnePlus X Original Android Development] TungstenM:
awesome to finally see the start of development! I held off to root the phone to review it but I'll soon flash this, can't wait!
[OnePlus X Original Android Development] BakaPhoenix:
Is possible to lower the minimum speaker volume with kernel?

Stock minimum is too loud for me lol
[OnePlus X Original Android Development] mohammedtabish:
Best cpu governer??blu_active or ondemand??

---------- Post added at 07:40 AM ---------- Previous post was at 07:39 AM ----------

I am play injustice god among us n its running quiet smooth what gpu problem are you talking about.
[OnePlus X Original Android Development] rockuppl:
OP has mentioned in his post, read the last para >>>>>> "So far, this is only for Oxygen OS."
[OnePlus X Original Android Development] FabioSan:
Seems nice and I will probably try this :) your governor which is? Battery friendly, performances or mix of both? And now how is battery life, with this kernel? (I'm developer too) :)

Inviato dal mio OnePlus X!
[OnePlus X Original Android Development] parasthakur37:
Thanks a lot [MENTION=3873953]eng.stk[/MENTION]

Looking forward for more. :)
[OnePlus X Original Android Development] riccardoro:
OPX has frame drops and lags in games with GPU stock settings. Try Real Racing.
[OnePlus X Original Android Development] RinoFxx:
Someone tried this kernel? How is it? Battery and performance?

Inviato dal mio ONE E1003 utilizzando Tapatalk
[OnePlus X Original Android Development] eng.stk:
I don't think so.

Try tweaking Adreno Idler or disabling it with Adiutor, maybe it helps.
[OnePlus X Original Android Development] eng.stk:
blu_spark r25

All right crew!

New build is up, lot's of goodies inside, enjoy :)

If you like my work, don't forget to hit thanks ;)
[OnePlus X Original Android Development] mohammedtabish:
Appreciating your support dude
[OnePlus X Original Android Development] kashix:
hi sorry, since this is the 1st custom kernel for oneplus x, is using this kernel significantly faster than the stock kernel? thanks for help in advance!
[OnePlus X Original Android Development] batam:
Why not test it yourself and tell us :)
[OnePlus X Original Android Development] kashix:
would love to of course test it myself but I have not unlocked bootloader and root, that's why I wanted to ask 1st.

Btw, is there a need to re-lock bootloader if I want to go back to stock? Thanks!
[OnePlus X Original Android Development] vinay235:
Yup u can just switch off the OEM unlock in the developer options
[OnePlus X Original Android Development] kashix:
Oh it's that simple? Didn't know it! Thank you! Will try this kernel I think during the weekends!
[OnePlus X Original Android Development] rockuppl:
Ossssssim Battery Man!!!!!! Superb Kernel i must say :D :D
[OnePlus X Original Android Development] charliebigpot:
Even though I really like to hear that the battery is "ossssssim", can you give any more info/comparison based on your experience with stock kernel and this custom kernel? ;)
[OnePlus X Original Android Development] mohammedtabish:
Bro just flash it for gods sake don ask too many ques backup your kernel with flashify if in any case you didnt like the kernel get back to stock kernel by restoring it
[OnePlus X Original Android Development] Stygmatik:
[MENTION=3873953]eng.stk[/MENTION]

Thanks a lot for your work: no problem so far, no lag/stutter/crash/bootloop or whatsoever :)

You did add this ****ing nice feature of Drivedroid: thanks!

So, since you seem to have messed around with kernel drivers (at least for Linux USB gadgets), can you say if there is, by default, a Qualcomm driver loaded, regarding the HW-accelerated encryption?

I know the OPX CPU is quite similar to the OPO one, and that feature was added, for the OPO, with CMOS12 (if I remember right), which needed TWRP support afterwards (https://plus.google.com/+DeesTroy/posts/2duMgmYjpLW)

Anyway, I 'm already using encryption on my OPX, but I just wanted to know if that was the AOSP default one, on the Qualcomm HW-accelerated which is used?

I did take a look at the kernel modules loaded (ls /sys/module/) to try to found some Qualcomm strings, but doesn't seem so?

If this is the default AOSP which is used, can the Qualcomm HW-accelerated one be added/enabled? Is it more a kernel feature or a ROM feature?

Keep up the good work mate, you're the one :)
[OnePlus X Original Android Development] eng.stk:
I don't know what OP is using, but probably Qualcomm stuff.

Full disk encryption is to be enabled on ROM, Kernel only care to provide cypher methods and stuff like that and its all available for the ROM to use atm no matter algorihtm is in place..

I don't build the kernel with modules, it's all inline.
[OnePlus X Original Android Development] Stygmatik:
[MENTION=3873953]eng.stk[/MENTION]

So you say the binary/propietary drivers aren't in your kernel.img, but more in the OxygenOS ROM and are loaded kindof insmod style at boot?

Since you're obviously more fluent with (kernel) development than me, can you please try to take a look to know which kind of encryption is offered by OxygenOS?

Thanks by advance :)
[OnePlus X Original Android Development] joho5:
Awesome, so during the installer if you choose to change to f2fs, then it only converts the cache and data partition?

nothing else? Like system or anything?

thanks!

---------- Post added at 12:09 PM ---------- Previous post was at 12:08 PM ----------

thats great if you are sure this is correct.
[OnePlus X Original Android Development] kawaiiDango:
Anyone tested this on cm12 with f2fs?

Sent from my little fingers to your face
[OnePlus X Original Android Development] joho5:
[MENTION=3873953]eng.stk[/MENTION]

why does twrp now flash on the odd chinese bootloaders now with r5?

...and thanks for your work!
[OnePlus X Original Android Development] joho5:
This phone now that I am finally able to flash twrp (r5 did the trick) and flashed this kernel is so much better. Smooth and snappy. Awesome.
[OnePlus X Original Android Development] Calvin2394:
Kernel works awesome, good job [MENTION=3873953]eng.stk[/MENTION]

One question:

If all frequencies below 729MHz use the same voltage

Wont the phone be snappier if we overclock the min frequency to 729

It would theoretically consume the same amount of battery while being faster :D

Tapatalk'd from my OnePlus X
[OnePlus X Original Android Development] eng.stk:
Chinese bootloader? Sorry I don't know what that is lol

How about using search function?

No CM support.

No because there's diferent bw levels, diferent voltages for the multiplier, etc.

It's good how it is.
[OnePlus X Original Android Development] neopbm:
I've got the feeling that version 37 is a little faster than others version in scrolling. I did no benchmark it's just an impression.

Anyone notice that too or it's just me ?

Thanks
[OnePlus X Original Android Development] khandelwalgaurav:
added it to a folder, used your twrp to flash it.. its working.. I will let you know if I find some issue. hopefully not :good::good::good:
[OnePlus X Original Android Development] Bitman64:
just you.... ;)

Tapatalked from my ONYX
[OnePlus X Original Android Development] neopbm:
Thanks ;)
[OnePlus X Original Android Development] Fatsodonkey:
Is there a possibility to gpu uv?

I had some serious gpu uv working on my previous phone the Nexus 4. :)
[OnePlus X Original Android Development] stu5797:
Why is my battery lasting FOREVER!
[OnePlus X Original Android Development] eng.stk:
UC? sure, you can choose min and max freqs.

Voltage control for gpu? You'll never see it in my kernels.
[OnePlus X Original Android Development] charliebigpot:
Oh dear.. put display at max luminosity, no timeout, have a video playing at least 3 hours a day, try to play lots of games.

Hopes this helps to solve your problem and the battery lasts less! :p
[OnePlus X Original Android Development] OnePlusXDA:
I installed Busybox after flashing blu_spark53 coming from stock. Will this cause any problems?

I am also noticing very rapid battery drain compared to stock kernel, although I'm only on the first battery cycle with this kernel.

Thanks for development.
[OnePlus X Original Android Development] eng.stk:
OPX is nice on battery, but still away from my long runner Moto G 2015.

You'll be fine.
[OnePlus X Original Android Development] vinay235:
This method worked flawlessly!! THANK YOU! :D
[OnePlus X Original Android Development] Funk Wizard:
Cheers buddy, glad it worked for you
[OnePlus X Original Android Development] foxymyeung:
Great work eng.stk! Just one feedback would be - could you put a changelog on the first post for each of your kernel updates?! It'd be great to know what was changed at each iteration of your kernel build. I know you post them in the middle of the thread each time, but it'd be appreciated to have it on the first post.

Thanks
[OnePlus X Original Android Development] parasthakur37:
[MENTION=3873953]eng.stk[/MENTION]

If you could take a look here

http://xdaforums.com/showpost.php?p=64161125&postcount=3

And confirm if your kernel is ready for this like Chainfire has told?
[OnePlus X Original Android Development] Calvin2394:
Seems like blu_spark supports GZIP compression, look at OP :)

Though you should wait for a GO flag for him.

You must reflash the ROM, flash blu_spark and then that SuperSU beta.

Tapatalk'd from my OnePlus X
[OnePlus X Original Android Development] eng.stk:
Sure, it's ready but since OOS is 5.1 it will do nothing.

On 5.1 it will use system, it will not be systemless.

It works fine in 6.0 ROMs, I use it on my other devices.
[OnePlus X Original Android Development] charliebigpot:
Yes, I have tried it - phone won't even boot, after the oneplus logo, the screen stays black and the notification light stays white. Luckily you can still get into fastboot and recovery.

Did I learn my lesson?

Not really, I had taken a backup before trying it, so I could easily restore the backup ;)
[OnePlus X Original Android Development] ukanth:
[MENTION=3873953]eng.stk[/MENTION], Have you worked or interested in bringing support for multiROM and "kexec hardboot patch" in your kernel ? This would be really helpful for oneplusX development. your thoughts ?
[OnePlus X Original Android Development] ashwin007:
Oneplus one's patch with lil changes would do good.
[OnePlus X Original Android Development] eng.stk:
I have kexec and multirom support in devices where multirom is made available.

If anyone brings multirom to the OPX I'll add the support.

I will not work on porting it myself, sorry.
[OnePlus X Original Android Development] charliebigpot:
[MENTION=3873953]eng.stk[/MENTION], I'm not sure how this could be the result of flashing your awesome kernel, but since flashing the kernel on the lockscreen on top I've got the following text scrolling: "emergency service only" followed by the carrier name. Any idea why? I only use 1 SIM.
[OnePlus X Original Android Development] pompe90:
This issue get almost every1, not all the time but sometime you will see that at lockscreen(if u only using 1sim). Airplane mode off/on or reboot phone will fix it temporarily. Even on totally stock phone have this stupid issue.

[MENTION=3873953]eng.stk[/MENTION] thx for a great kernel!

Skickat från Oneplus X
[OnePlus X Original Android Development] charliebigpot:
It's no biggie since the signal bars show that I can make/receive calls, but good to know I'm not the only one with this issue ;)

tack
[OnePlus X Original Android Development] eng.stk:
Already said this happens on stock and it's not kernel related.

I only use 1 sim and never got this message, I think maybe it's related to the time people wait for pin, network registration timeout or even network mode.
[OnePlus X Original Android Development] LethalOne:
Please post a mirror to twrp-2.8.7.0-onyx_f2fs_r5

From XDA download link its not possible to download (servers down).

Thanks in advance
[OnePlus X Original Android Development] eng.stk:
Download is fine.

View attachment 3569688
[OnePlus X Original Android Development] ashwin007:
Maybe Ill start in a couple of days ;)
[OnePlus X Original Android Development] trveller72:
I get this message on stock. 2 SIMs, it happens when you get back the signal after no coverage area.
[OnePlus X Original Android Development] Manelit:
Can please someone tell me how to install this? Simple Guide maybe? I would really appreciate it. Thank you
[OnePlus X Original Android Development] poli7247:
1. Reboot To TWRP & Take a Nandroid of your ROM

2. Go to Wipe > Advance Wipe > Select Dalvik, System, Cache & Swipe to Wipe selected

3. Install Menu > Select 2.1.3 Full Rom > Swipe to Flash

4. Dirty Flash 2.1.3-X OTA over it

5 Flash Kernel

6. Flash SuperSU to maintain root & other mods like Xposed

7. Reboot System

You need to download the full ROM (2.1.3) with OTA update (oxygen 2.1.3-x) to perform the operation

FULL ROM https://www.androidfilehost.com/?fid=24269982087006218

OTA UPDATE https://drive.google.com/file/d/0B_KV04VGxTedY2E5WTBYajdTTEU/view
[OnePlus X Original Android Development] Manelit:
I dont have TWRP yet how can i flash it?! i was looking for a full guide! cant i just flash the kernel? im o 2.1.3.x
[OnePlus X Original Android Development] poli7247:
Unlock Bootloader and flash TWRP through Fastboot

---------- Post added at 12:58 AM ---------- Previous post was at 12:45 AM ----------

Here is a very good guide for root + recovery http://xdaforums.com/oneplus-x/general/discussion-how-to-root-oneplus-x-t3242830
[OnePlus X Original Android Development] Funk Wizard:
Stock Recovery does not support custom kernel flash, thus its mandatory to have twrp in order to use a custom kernel / roms / mods
[OnePlus X Original Android Development] charliebigpot:
Completely right, but what you can do is to just boot with twrp instead of flashing it. That way you can flash the kernel and keep stock recovery (for what it's worth).
[OnePlus X Original Android Development] Funk Wizard:
Nice thought, so just use fastboot boot recovery name and flash the kernel and still maintain stock recovery. However if u want to tune the device via kernel auditor root access would be needed
[OnePlus X Original Android Development] charliebigpot:
Indeed, but I have root too, without flashing twrp.

This is what I did:

1. Boot into fastboot

2. Boot into twrp

3. Root

4. Boot into fastboot & boot into twrp again

5. Flash kernel

;)
[OnePlus X Original Android Development] Funk Wizard:
Sorted then, enjoy blu_spark kernel
[OnePlus X Original Android Development] eng.stk:
blu_spark r61

All right crew!

New build is up, lot's of nice upstream & CAF updates/improvements, also some goodies from hammerhead marshmallow :cool:

If you like my work, don't forget to hit thanks ;)
[OnePlus X Original Android Development] sydeu:
can this be used on 2.1.2? I haven't come around to updating yet because everything is working so good for me on 2.1.2 and r25. Awesome work!
[OnePlus X Original Android Development] eng.stk:
There's some changes from 2.1.2 to 2.1.3, don't know how that will turn out.

Try it, but keep in mind I only give support to latest OOS releases.
[OnePlus X Original Android Development] charliebigpot:
Wicked ;)
[OnePlus X Original Android Development] Fatsodonkey:
First impressions of the latest kernel is that it finally feels smooth as butter. :) Have to try out my N4 and see wich is faster. ;)
[OnePlus X Original Android Development] gracemillian:
hey all, r51 and r61 both feel laggy on my one plus x. Can someone tell me how to improve?

Edit: Did a complete wipe and things have definitely become more smooth.
[OnePlus X Original Android Development] Funk Wizard:
Dirty flashed over r53 and booted up nicely, r61 is definitely smoother than the previous, infact even after UC to 1728 it still feels smooth and no lags whatsoever. Many Thanks
[OnePlus X Original Android Development] parasthakur37:
I'm on the very first ota update (2.1.2) and the latest version is working amazing for me.
[OnePlus X Original Android Development] vinay235:
Just dirty flashed the r61 and wiped dalvik and cache...

When I try to watch a YouTube video it plays for a couple of minutes and I get this error and I need to reboot it again to get the same error after a couple of minutes... Can anyone else check this??
[OnePlus X Original Android Development] sankarshan:
It's not an error.

Click on get Google play services and update in playstore.
[OnePlus X Original Android Development] Funk Wizard:
Works fine for me on r61 with 2.1.3-X

May be u need to update your play services, i am running the following

View attachment 3572417
[OnePlus X Original Android Development] gammaboy:
i'm on r53 and i'm getting battery reading errors.. for example it shows 27 and then i reboot it shows 70 could this be kernel related? screenshot attached

PS this has happened a few times since i flashed r53 and 2.1.3-x, didn't happen on r25 with 2.1.2
[OnePlus X Original Android Development] Funk Wizard:
Can't be a kernel issue try calibrating the battery, it was working well for me on r53 and even better on r61

View attachment 3572424
[OnePlus X Original Android Development] pquinqu:
Hello, I'm using this awesome kernel for a while with no issues.

Recently I tried to install ViPER4Android FX but no luck to install it with a full selinux enforcing mode. There are some solutions on xda but, [MENTION=3873953]eng.stk[/MENTION],

would be possible to add a kernel option to set the selinux mode to enforcing or permissive ?

Anyway, it's a very good job. Thanks
[OnePlus X Original Android Development] RinoFxx:
Did you solve the problem? I tried too but i didn't find a solution for selinux, is that the problem?

Inviato dal mio ONE E1003 utilizzando Tapatalk
[OnePlus X Original Android Development] Roykooiman:
I tried the selinuxmodechanger and set it to permissive. Then i went to twrp and then flashed the zip. It gave a error :(

Verstuurd vanaf mijn ONE E1003 met Tapatalk
[OnePlus X Original Android Development] eng.stk:
Kernel will use whatever the user wants, there's apps to set it and flashable scripts, there's plenty of info on that in the forums.

Nothing to do with kernel, maybe time for you to cleanflash.

yep google services errors are not kernel related, clean app data, sideload Google services apk, remove and readd your google account, etc until you solve it.

Nothing to do with kernel.
[OnePlus X Original Android Development] Funk Wizard:
Its already there on the Kernel Auditor app as a plugin so you may use that, however i am still not sure if Oxygen supports V4A, so it might still not work
[OnePlus X Original Android Development] parasthakur37:
Viperaudio is not compatible with OxygenOS yet, you might have to wait.
[OnePlus X Original Android Development] pquinqu:
That's working for me but it's not the subject of this thread.

To summarize, installed a selinux changer fount on [MENTION=243864]xda[/MENTION], set selinux to permissive. Then got a LolliViper.zip and a library fix somewhere [MENTION=243864]xda[/MENTION] also, flashed them via twrp, wipe dalvik and cache. reboot. and seems to work. Can post link this evening cause I'm [MENTION=408485]work[/MENTION].

Sincerely
[OnePlus X Original Android Development] wemarox:
Why shouldn't V4A work? I've flashed it a couple of days ago and I'm definitely hearing a positive difference on my headphones.

Edit: just saw the post above. Explains enough. Now let's keep it on topic :)