yashsingh1/xdaforums huggingface dataset:
[Elephone P8000] stefano91av:
Wandering on XDA I found this project for Android One , which has a kernel like ours .

They have implemented several features , including update patches to the kernel .

What do you think about it?

http://xdaforums.com/crossdevice-de...kernel-zeus-kernel-v1-0-tried-tested-t3219955
[Elephone P8000] Bogeyof:
I have many tests with antutu (history function) with stock kernel and I had around 6000 points in integer test. I also had normally around 34000 with stock and I have exactly the same value with this kernel.

Other tests and benchmarks showing also no improvement, so I'm pretty sure, it shows 1,5 Ghz, but it run still at 1,3 Ghz...
[Elephone P8000] BlueFlame4:
Yep, I already found out that sprout is generally a great place to learn from because of the similar hardware. Thanks for the hint!

Regarding the ramdisk updates of the latest Elephone update: I'm currently at university and neither have time nor my phone with me so I just repacked my kernel with the new ramdisk and attached it to this post. This means it SHOULD work with the latest firmware (14/10) so please test and report back if it does! :) The worst thing that can happen is that it won't boot afterwards ;) You then have to reflash the stock boot.img.

Best regards!
[Elephone P8000] stefano91av:
Regarding the 0.95 kernel :

Nova Launcher having , How active I DT2W feature? :)
[Elephone P8000] pitrus-:
It's active from start, no need to do anything. Just double tap screen or buttons on the bottom to wake.
[Elephone P8000] jott_st:
Well, in that case, I guess you're right :(...
[Elephone P8000] DrStuhl:
Is it possible to get a non-overclocked Kernel with DT2W?

I love that feature but I'm not sure how much more power the 1,5Ghz consume and I'd like to keep it as high as possible as I'm not gaming on my phone anyway.

Btw: Does DT2W consume more energy?
[Elephone P8000] stefano91av:
I just tried the DT2W , fantastic ! :)

Could you implement the function that sweeping their finger on the status-bar you go to adjust the brightness, please ?
[Elephone P8000] BlueFlame4:
You can limit the clock speed manually to 1.3 GHz if you want.

DT2W does consume more energy as the digitizer is always active. Shouldn't be more than 1% or maybe 2% in 24 hours.

Thanks for your feedback! Well, the finger swiping is a ROM feature rather than a kernel one. I'm still on the CM port so it will eventually have that feature. Until then I'm afraid I can't do anything :(

PS: I just added a Q&A section to OP for the lazy.

PPS: Updated OP and kernel to match new ramdisk. Happy flashing!
[Elephone P8000] stonedpsycho:
Just flashed 1.0 on 14/10 and it works fine. Thank you for the quick update :). If I come across any problems I will post.

Edit: Just ran antutu and got a score of 34,517!
[Elephone P8000] DrStuhl:
But is the voltage increased or at stock?
[Elephone P8000] BlueFlame4:
Voltages are bound to frequencies. I didn't mess with them so they're stock which means power consumption should be the same as if you were on stock (ignoring DT2W).

Edit: I just noticed the camera driver is screwed even though I didn't do anything there. Back camera won't work and front camera is turned by 180°. Damn! I'm investigating... There's a party over here so I'll continue tomorrow I guess ;)
[Elephone P8000] jknarf:
You can easily doing it by your self with exposed and glory of gravitybox.

I use this combination by my own p8k. And it works awesome with my p8k, the eragon ROM and blueflames kernel.

Cheers

Gesendet von meinem Elephone P8000 mit Tapatalk
[Elephone P8000] DrStuhl:
Camera with 0.95 and Eragon 4.0 works fine.
[Elephone P8000] BlueFlame4:
Yup, somehow the new ramdisk is the problem. I first thought it were my latest changes (I'm currently removing the screen wake lagg) but it's totally fine on 09/09. Aight, see ya tomorrow ;)
[Elephone P8000] stefano91av:
What is "kernel to match new ramdisk"? :)
[Elephone P8000] charliepie:
nice clocks by the way! do they work with the sview cover for p8000?
[Elephone P8000] skeleton1911:
? Wrong thread mate.

And yes they are for the cover...

Gesendet von meinem Elephone P8000 mit Tapatalk
[Elephone P8000] charliepie:
Gonna try the 0.95 flavour soon as I'm on the 0909 Eragon based rom. Like the sound of the DT2W feature:) thanks for the great dev. work Blueflame:)

---------- Post added at 11:27 PM ---------- Previous post was at 11:25 PM ----------

yes sorry, saw the clocks in his sig. and got excited:) I'm still trying to find the original with the 48 extra mini lines on the face!
[Elephone P8000] Damoedge:
Hi All,

Just flashed your V1.0 Kernel and both cameras are working fine on Eragon v4.0, the phone for me is defo a lot snappier, when i greenify and kill recent tasks im getting 1.93 GB free compared to about 1.78 GB before flash so something has changed there also. ( i dont do that all the time btw...lol just to test.)

I think i notice the breathing light is a bit brighter too...... Actually any ideas on how to make it brighter or dim it would be nice?? On my old Xperia S all i did was raise the max current value to make that lcd brighter but no such file in p8x in class/ leds, How could i do it ?

Also does Sysctrl not exist on this baby?

Thanks BlueFlame for your work, much appreciated man, A lovely phone to work on :)
[Elephone P8000] charliepie:
think that is the update to the 1410 stock rom where changes have been made to storage locations.

---------- Post added at 01:51 AM ---------- Previous post was at 01:48 AM ----------

I thought that we(Eragon 4.0 users) were better off with the 0.95 version or am I mistaken? I'm new to this kernel testing on the p8000 as have just flashified the 0.95 kernel.
[Elephone P8000] skeleton1911:
Yep thats right.

It will work. But v.0.95 is the latest for the old base

Gesendet von meinem Elephone P8000 mit Tapatalk
[Elephone P8000] BlueFlame4:
Okay, so [MENTION=4626501]skeleton1911[/MENTION] and I just dug around a bit and I came to the conclusion that the 14/10 release is a complete mess that worsens bugs instead of fixing them. Storage locations are completely mixed up and no matter where you save data, it will always be stored on the internal SD. The second thing is the camera ****up. Elephone decided to change some things internally which breaks basically the camera as a whole when compiling the kernel from source.

I'll have a look at it tomorrow but IMHO the 14/10 release is a complete joke. Two bug "fixes" in one month? To me it looks like Elephone is just pretending to update things so they can say they support their devices.

Good night people! :)

PS: Party was great!
[Elephone P8000] skeleton1911:
Confirm !

Over and out! Good night

Gesendet von meinem Elephone P8000 mit Tapatalk
[Elephone P8000] Bogeyof:
If you mean the clock widgets from my signature, these are zooper widgets, can't be used as clock widgets for the flip cover. But there is an app available, which can change the flip cover clock design, made from an user of forum android-hilfe.de...
[Elephone P8000] marcars:
Thanks for the kernel. I can not flash it with fastboot command but flashify app (google store) have done it. Works stable and works everything so far fine. 2T2W is great. Thanks.
[Elephone P8000] BlueFlame4:
New version is out. I removed the screen wake lagg which is the awful second between pushing the power button and the screen actually turning on. I like this change a lot - please report back! :) Please note that I won't support 10/14 for now. Eragon and 09/09 or earlier are completely fine. Thanks for all the feedback so far!

1.1:

* reverted ramdisk changes from 1.0, dropped 10/14 support for now

* fixed screen wake lagg. Combined with DT2W this increases the user experience a lot!
[Elephone P8000] marcars:
Can you fix problem with SD card on 1.0? Folder Mount not working. On 0.95 was everything ok. I have not tested 1.1 but if it have that same base as 1.0 than probably will buggy for FM too.
[Elephone P8000] BlueFlame4:
As I said, I reverted to use the old "base".
[Elephone P8000] marcars:
Ok thanks i will try it new 1.1.
[Elephone P8000] jott_st:
Awesome! Thanks. Any idea what the delay was for?
[Elephone P8000] BlueFlame4:
Setting it too low will block the LCD to wake and only the backlight will turn on. The delay is used to give the driver and kernel time to acquire ressources to for image rendering and showing as far as I can see. The stock delay is just way too high (it's 1 second!). 100 ms works but I used 120ms in v1.1 to give a little spare time in case things might take longer. ;)
[Elephone P8000] stefano91av:
1.1 is fantastic ^____^ Thank you

P.s.: What's cooking for the next releases ? :)
[Elephone P8000] BlueFlame4:
Great to hear ;) I'll focus on university within the next few weeks so I don't know yet what feature will be next or when the next major release will be. I thought about waking up and unlocking the device by touching the fingerprint scanner but I'm afraid this is a rather difficult feature to implement. We'll see. Feature requests are always welcome, of course!
[Elephone P8000] stefano91av:
Awaking your phone with fingerprint is a complex function , but interesting :)

However if you want advice for the next release:

- Upstreamed Linux version v3.10.90 ; Here you can find the latest changelog https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.90

- Compatibility with both Stock Lollipop and Marshmallow.

- Compatibility with both CM12.1 and Upcoming CM13.

- Latest patches from Google's Mediatek git

- SElinux set to Permissive

- mm, MMC, TCP patches

- CPU, mm, irq, ARM, Sched, kthread patches.

- Cortex A53 Specific Optimizations

Hotplugs : Intelliplug, Bricked Hotplug, Zen Decision and AutoSMP Hotplug Drivers.

Governors : intellimm, PegasusQ, zzmoove, darkness, impulse, hellsactive, yankactive, blu_active, intellidemand, alucard, wheatley, Smartmax_EPS, Smartmax, intelliactive, hybrid, ElementalX, interactiveplus, ondemand_eps.

I/O Schedulers : noop, deadline, fiops, row, cfq, bfq, vr, sio, zen, fifo, tripndroid.

-Ofast flags for Optimizations.

Insecured

adb runnable as root

Dynamic Fsync Control

Improved filesystem mounting flags - NOATIME and NODIRATIME

ThunderQuake Engine 1.0 - Vibration Intensity Controller for MTK vibrators

Added CPU Boost Driver.

CPU Core Control.

LZ4 Compression/Decompression

Asynchronous Fsync from HTC.

Quick wake-up driver.

File Systems : exFAT, F2FS, NTFS, CIFS.

ARM: Cortex A7 compiler optimizations

MTK: removed HUGE HUGE trail of stupid MTK kernel logging

ARM: Removed various debug traces

Compiled with latest Linaro

Wake Gestures : Sweep2wake, Sweep2sleep, DoubleTap2wake and Tap2Unlock.

Optimized Kernel Samepage Merging (KSM) and Ultra Kernel Samepage Merging (UKSM)

VFP Optimizations

Mali GPU cache Optimizations And Various GPU Tweaks.

MMC: disable crc check for 30% extra performance

Mutlicore Scheduler Support

Dynamic FSync Control

Dirty Ratio Tweaks

init.d support
[Elephone P8000] OsitKP:
Any chance to make up a TWRP with your kernel? ;)
[Elephone P8000] ShootistUK:
Using 1.1 with Eragon 4.0 and love the double tap to wake feature. Seems such a shame that Elephone cannot get a decent rom release themselves for this phone and if the rumours are true that the P8000 is the only Elephone expected to get Android 6.0 let us hope they fix their bugs before then. Your 1.1 kernel and skeleton1911's Eragon have made my experience of using the P8000 much better than expected given the initial Elephone rom fiasco's. Still consistantly getting antutu 64 bit 5.7.1 scores of between 34650 and 34700 which is pleasing.
[Elephone P8000] charliepie:
Haha, you did ask for suggestions and that's an impressive list!

I'm gonna flash v1.1 shortly, many thanks for your fantastic kernel:)
[Elephone P8000] BlueFlame4:
[MENTION=5945732]stefano91av[/MENTION]: Haha, thanks for the suggestions. Looks a bit like you copied half of the internet :D I'll have a look at them! Yet my kernel should be an "out of the box" kernel that just works as it is. I don't like the idea of having a zillion governors and schedulers actually ;) Thanks for your suggestions again, this really helps me! Mali patches seem to be a good point as our GPU is not the most powerful and optimizing would have a great benefit I guess :)

BTW: I have just received my first donation ever, yay! Thank you, [MENTION=1237091]Einstein67[/MENTION]! <3
[Elephone P8000] skeleton1911:
hey blue

let me be the second one :D

kauf dir einen sechser träger davon ;)

Donate code: 9RF82590PP2852631

cheers
[Elephone P8000] BlueFlame4:
Whoa dude! :)

Werde ich machen, haha :D Gute Besserung, mein Lieber!

Cheers!
[Elephone P8000] charliepie:
Have a latte on me too:)
[Elephone P8000] jknarf:
And a Drink from me too. :D

Cheers
[Elephone P8000] andrei-b76:
BlueFlame4, A lot of people would be grateful to you for the support File Systems: exFAT, F2FS, NTFS, CIFS

at least one of the two (exFAT, NTFS)

It is necessary, please !!!
[Elephone P8000] BlueFlame4:
Thank you very much!

Haha, thanks a lot! :D :)

I already did some test builds with exFAT but the external SD is still mounted as FAT32. I'm sure the ROM needs some alterings then as well. When I got time I'll release some exFAT kernel test builds.

Edit: There you go! I still had exFAT in my kernel tree so I just had to recompile with the exFAT flag set ;) This build is untested and I'm not responsible if you screw your SDCard. Don't the have the phone with me right now, so I can't test.
[Elephone P8000] pitrus-:
On the backflip of things, anyone else having problems with ear causing anything from putting phone in airplane mode to external speaker on while speaking since the latest quick unlock and dt2w patches? We probably have to make changes to the ROM to make dt2w disabled while on phone.
[Elephone P8000] gnomified:
c:\platform-tools>fastboot flash boot visi0nary_kernel_v1.1.img

target reported max download size of 134217728 bytes

sending 'boot' (7430 KB)...

OKAY [ 0.597s]

writing 'boot'...

FAILED (remote: download for partition 'boot' is not allowed

)

finished. total time: 0.602s

ive unlocked bootloader
[Elephone P8000] BlueFlame4:
Are you sure? What does "fastboot getvar all" return?
[Elephone P8000] seb_131:
Hi BlueFlame4

would it be possible to pack a new boot.img with sdcard0 and sdcard1 permuted ?

If yes, would it be possible also to have resized EBR files (with the less possible available space for the sdcard partition in order to maximize the /data one) ?

Also, why OTG is not working? Is it linked to the boot.img fstab or is it a hardware limitation?

thanks a lot !
[Elephone P8000] OsitKP:
The kernel is a bit buggy! It wakes the device on accidental touch of navigation buttons (left or right). The double tap on home button makes the same.
[Elephone P8000] BlueFlame4:
I'll look into these things on sunday. Thanks for your suggestions and reports! The problem with buttons isn't really a problem for me but I can still try to find a solution for it and see how it works.

Cheers!
[Elephone P8000] OsitKP:
It is a real problem if the phone in a pocket touches your body and battery gets lower. If it was double tap - no problem, but single touch - is. I've pulled out the phone today for a few times and the screen was always on...
[Elephone P8000] andrei-b76:
install the kernel visi0nary_kernel_v1.11_exfat_experimental.img

SD formatted exFAT, the phone does not see SD

phone settings - Memory, now can not determine how much memory in the phone, 0,00Gb

flashed 1014, now everything is all right, P8000 determine the correct memory
[Elephone P8000] seb_131:
Hi

where could we find it ? it is not on the 1st page

thanks

---------- Post added at 08:51 AM ---------- Previous post was at 08:50 AM ----------

Tanks ! I am exited to see the result !
[Elephone P8000] gnomified:
ive flashed supersu zip in custom recovery ive enabled oem unlocking in developer options and installed supersu from play store

c:\platform-tools>fastboot getvar all

(bootloader) max-download-size: 0x8000000

(bootloader) partition-size:flashinfo: 1000000

(bootloader) partition-type:flashinfo: raw data

(bootloader) partition-size:userdata: 32000000

(bootloader) partition-type:userdata: ext4

(bootloader) partition-size:cache: 1a800000

(bootloader) partition-type:cache: ext4

(bootloader) partition-size:system: 80000000

(bootloader) partition-type:system: ext4

(bootloader) partition-size:metadata: 2100000

(bootloader) partition-type:metadata: raw data

(bootloader) partition-size:nvdata: 2000000

(bootloader) partition-type:nvdata: ext4

(bootloader) partition-size:frp: 100000

(bootloader) partition-type:frp: raw data

(bootloader) partition-size:custom: 12c00000

(bootloader) partition-type:custom: ext4

(bootloader) partition-size:tee2: 500000

(bootloader) partition-type:tee2: raw data

(bootloader) partition-size:tee1: 500000

(bootloader) partition-type:tee1: raw data

(bootloader) partition-size:keystore: 800000

(bootloader) partition-type:keystore: raw data

(bootloader) partition-size:secro: 600000

(bootloader) partition-type:secro: raw data

(bootloader) partition-size:oemkeystore: 200000

(bootloader) partition-type:oemkeystore: raw data

(bootloader) partition-size:seccfg: 80000

(bootloader) partition-type:seccfg: raw data

(bootloader) partition-size:expdb: a00000

(bootloader) partition-type:expdb: raw data

(bootloader) partition-size:logo: 800000

(bootloader) partition-type:logo: raw data

(bootloader) partition-size:recovery: 1000000

(bootloader) partition-type:recovery: raw data

(bootloader) partition-size:boot: 1000000

(bootloader) partition-type:boot: raw data

(bootloader) partition-size:para: 80000

(bootloader) partition-type:para: raw data

(bootloader) partition-size:lk: 80000

(bootloader) partition-type:lk: raw data

(bootloader) partition-size:protect2: a00000

(bootloader) partition-type:protect2: ext4

(bootloader) partition-size:protect1: a00000

(bootloader) partition-type:protect1: ext4

(bootloader) partition-size:nvram: 500000

(bootloader) partition-type:nvram: raw data

(bootloader) partition-size:proinfo: 300000

(bootloader) partition-type:proinfo: raw data

(bootloader) partition-size:preloader: 40000

(bootloader) partition-type:preloader: raw data

(bootloader) off-mode-charge: 1

(bootloader) warranty: yes

(bootloader) unlocked: no

(bootloader) secure: yes

(bootloader) kernel: lk

(bootloader) product: K05TS_A

(bootloader) version: 0.5

all: Done!!

finished. total time: 0.072s
[Elephone P8000] BlueFlame4:
[MENTION=7018818]gnomified[/MENTION] it still says unlocked: no, so something went wrong. Try to unlock again. http://visi0nary.de/?p=196
[Elephone P8000] gnomified:
now the elephone splash screen is flashing then custom recovery icon is flashing then android icon with it open and the blue lines tried to reflash kernal but same problem
[Elephone P8000] micbanand:
try update busybox
[Elephone P8000] BlueFlame4:
It's probably the best if you reflash the whole ROM via SPFlashtool in order to get a safe state again.

@ all: I'm still very busy with my university lecture preparation so don't expect anything the upcoming days. Sorry!
[Elephone P8000] alfredxyz:
[MENTION=3784300]BlueFlame4[/MENTION] at first thx for your work! does your latest kernel v.1.1 now support eragon based on 14.10?
[Elephone P8000] BlueFlame4:
Thanks for your appreciation :) As stated in OP 14/10 is currently not supported yet :(
[Elephone P8000] alfredxyz:
Ah ok thx!

another question: does the kernel include all necessary files and settings for OTG support or is it possible to make the kernel support otg? cause in the stock 10.14 in system/etc/permissions there is now a file called android.hardware.usb.host.xml so it seams that elephone would enable otg in future maybe
[Elephone P8000] BlueFlame4:
Haven't looked into this yet but will do so when I got time :)
[Elephone P8000] stefano91av:
The DT2W is too sensitive in the call , closes the conversation. :(
[Elephone P8000] ShootistUK:
I reverted to 0.7 due to my last two calls being disconnected by my ear :(
[Elephone P8000] BlueFlame4:
There you go, I just added PocketMod. It avoids accidential wakes with DT2W by checking the proximity sensor before actually activating the display. There's still a minor bug though: If you hit the buttons instead of the display it will still turn on but I'm too tired to look into this now. Good night!

Edit: Looks like I was REALLY tired... I accidentially uploaded a wrong version... Gonna compile the right one again and attach it to OP.
[Elephone P8000] Nikolaosf:
Sorry for the post.....but finally your modded kernel has an increase on voltage and on frequence too?think i could use it for my p6000 pro? If you dont change the volts .... you got stability problems?
[Elephone P8000] BlueFlame4:
It could possibly work for the P6000 Pro if you use the correct ramdisk. I've attached a P6000 Pro test build but can't guarantee anything because I don't own the device! The worst thing that can happen is that it won't boot IMHO but you never know, so it's not my fault if you break your device!

Regarding voltages: I didn't alter any voltages but just kept them as they're in the stock ROM. Undervolting is something I'll probably add later but it has low priority at the moment.
[Elephone P8000] peptonib:
Wake up by double tap is a great idea, but not practical for me. Could it be made optional...? I'd love to enjoy the other good things from this kernel.

As far as it's possible and practical, I would suggest to make all additions optional.

Thanks!
[Elephone P8000] BlueFlame4:
Thanks for your feedback! You can simply disable it for example with the app Trickster Mod.
[Elephone P8000] BlueFlame4:
As [MENTION=6935521]xRlPx[/MENTION] noticed, version 1.2 is broken and was not intended for uploading. It has an annoying bug that disables DT2W completely once the proximity sensor was touched. Version 1.21 fixes this. Sorry, it was kind of late when I uploaded the build and obviously I picked the testing build instead of the final one.
[Elephone P8000] NadzmerAzrai:
hi BlueFlame4

i dont know whether im the only one faced this problem or not hehe

but in the version 1.21, i still faced the problem of DT2W disabled completely once the proximity sensor was touched.
[Elephone P8000] BlueFlame4:
Hey,

works for me on 09/09 stock ROM. What ROM are you using?
[Elephone P8000] NadzmerAzrai:
im using Eragon v4.0 based on 09/09

visi0nary's kernel - v1.1 works fine with this rom :)

for ur further info, i installed xposed + gravitybox. :)
[Elephone P8000] charliepie:
I think dt2w doesn't work for me on v1.21, v1.1 is fine however. I am now in Eragon 5.0. I have the early version phone with no led or proximity sensor.
[Elephone P8000] ShootistUK:
Well I have the early version of the phone and just installed 1.21 over 1.2 and DT2W is working fine here with Eragon 5.0 - As stated before it seems there may be hardware differences even between individual phones in either the led / no led batches :(
[Elephone P8000] charliepie:
Hmm..that is strange, maybe I'll try flashing it again to retest as I have had to rewipe and reinstall Eragon 5.0 today as I was playing with foldermount and it messed my storage locations up so badly I had no choice! It moved my dcim folder from ext. to int. which is not what I wanted and created another partition which I didn't want either!
[Elephone P8000] BlueFlame4:
Looks like it gets really funny if I have to distinguish between hardware batches. Still waiting for some more replies and experiences though.

Cheers!
[Elephone P8000] marcars:
1.21 works fine. Thanks.
[Elephone P8000] charliepie:
flashed 1.21 again and can say that DT2W doesn't work for me, went back to 1.1 and it was fine(apart from the in-call problems when your ear wakes the screen! I managed to activate the speaker phone during a call today:) have to try and not press screen up to ear next time!
[Elephone P8000] Nikolaosf:
what do you mean "correct ramdisk" ?????? tell me and i will try it :)
[Elephone P8000] blahmartinblah:
Also happy to try this on my P6000 Pro.... but a question - what did you change to convert it from a P8000 to P6000 Pro kernel?

Martin
[Elephone P8000] stonedpsycho:
1.21 is working great for me on Eragon 5.0 I also have the no led version/first batch phone.

Thanks BlueFlame4