yashsingh1/xdaforums huggingface dataset:
[Elephone P8000] rbt07:
BlueFlame4,

thanks again for excellent custom kernel. I have a request.

Could you take a look at Wifi modem driver? I think it is not working properly, I think there is a bug in the drivers.

Here, people write about it: http://xdaforums.com/elephone-p8000/help/poor-wifi-performance-t3202359

Here is modified kernel, where Wifi maybe works better:

http://xdaforums.com/showpost.php?p=63913193&postcount=8

Could you check it and add wifi repairs to your kernel? Because I want use your super kernel.

Thanks.
[Elephone P8000] BlueFlame4:
I've been quite busy the last days so tonight I'll tackle the WiFi and incoming call problems. Let's see where this leads to :)

I just called myself and everything worked fine. Screen lid up and I could answer the call. I simply can't reproduce the problem you talk about. Can you elaborate a bit more on that? Until then it's #WONTFIX #WORKSFORME ;)
[Elephone P8000] Cozer:
I have this problem when I turn on Proximity sensor w/o checking the ignore incoming call box. ( this is only with ergon 5.9)

After using blueflam4 kernel 1.6.1 i try switching off pocket mode and on proximity sensor but it just can't work correctly cause I use the clock cover, when the cover shift it will turn on the screen which drain battery life too fast.
[Elephone P8000] nardeeno:
Anyone suffering flickering display on white background? Can it be kernel related? Thanks
[Elephone P8000] BlueFlame4:
I got this issue also sometimes and I think it's just because the LCD is not the best.

BTW: http://xdaforums.com/showpost.php?p=63956041&postcount=91 <3
[Elephone P8000] nardeeno:
Cheers mate, but the thread is deleted
[Elephone P8000] skeleton1911:
Its not deleted. .its a Tapatalk bug.

Use your browser or PC to open it

Gesendet von meinem Elephone P8000 mit Tapatalk
[Elephone P8000] nardeeno:
Yeah cheers I opened it now
[Elephone P8000] rbt07:
Latest stock ROM "20151105" Wifi performance issue

Hi Blueflame4,

I've already written that latest stock ROM "20151105" (and probably earlier) has serious Wifi performance problem. Now I have made a comparison phones: Elephone P8000 and Lenovo P770 - the same place, the same router, only one phone connected to router in the same time. Result: Elephone P8000 is 5 times slower than the old phone Lenovo P770. It occurs in areas with poor Wi-Fi signal.

Could you please look at it? This could solve some modification of the kernel? You could do something about it? Thanks.

[IMG="Comaprission Elephone P8000 vs. Lenovo P770"]http://bbs.elephone.hk/data/attachment/forum/201511/24/163848i37a2y1hbw1dbaza.jpg[/IMG]
[Elephone P8000] BlueFlame4:
Yup, tiltkoko83 is currently testing a new driver. If it's stable, I'll merge it into my kernel.
[Elephone P8000] rbt07:
Thank you, I look forward to the new kernel. :)
[Elephone P8000] blahmartinblah:
Hi [MENTION=3784300]BlueFlame4[/MENTION]

I know you're focused on building CM, but one more idea/question for the future:

Is the recovery kernel the same as the main system kernel?

I know the ZOPO SPEED 7 PLUS uses the MT6753 SOC too. I think they're virtually the same phone. Zopo released the kernel source. It was mod'd by some XDA members with fixes for the Recovery touch screen. Can it be applied to P6000 Pro / P8000?

See: http://xdaforums.com/showpost.php?p=63636753&postcount=117

And details of the mod here:

http://xdaforums.com/showpost.php?p=63641660&postcount=125
[Elephone P8000] BlueFlame4:
Yep. This is why I don't do much kernel developing atm, so sorry for that but I'm more interested in CM :)

I've already done that ;) See: http://xdaforums.com/elephone-p8000...port-p8000-t3224478/post63828744#post63828744 Thanks for your suggestion anyways! If you find more things, feel free to drop them here.
[Elephone P8000] alitaker:
Hi, sorry to just bump here, but I would like to make a feature request: what about OTG?

I'm sure this would fit nicely into CM too ;)
[Elephone P8000] BlueFlame4:
Yup, OTG is a great feature and I'll have a look at it as soon as I get RIL or WiFi working on CM 12.1, haha. Thanks for your request!

Edit: Mhm, faster than I expected :) YES!
[Elephone P8000] charliepie:
Nice going! Well done:)
[Elephone P8000] jman0:
[MENTION=3784300]BlueFlame4[/MENTION] awesome progress on your CM build, I love it. If you could also get the bluetooth working and in the meanwhile fix the problems me and others are having while streaming music or pairing with smartwatches, I'd be your greatest admirer for life. Thanks for a great work :)
[Elephone P8000] BlueFlame4:
Of course I want to fix all peripherial devices (i.e. Camera, Bluetooth, ...) ;) I'll release a build as soon as RIL is working. Fixed audio yesterday btw :)
[Elephone P8000] MTIH1992:
On stock kernal on Eragon mine doesn't like to pair with any device that needs a pin or password, the pairing window disappears almost immediately so it doesn't even give you chance to type it. Then pairing times out. Very weird. Bizzarely, the window stays when using third party Bluetooth apps to set up a pairing, but pairing usually fails to connect afterwards. Seems things are broken when Bluetooth tries to use an encrypted connection.
[Elephone P8000] Damoedge:
Hi Blueflame,

I would like to make my home button brighter...is there anyway at all to do this....if you could tell me how or point me in the right direction I would be very grateful...

Thanks.
[Elephone P8000] BlueFlame4:
I already examined that driver out and I think it could be possible if we use a different current, but I have to investigate further. Feel free to browse the source code as I'm still on CM. Camera works partially (WIP), Audio works but doesn't switch from speaker to headset yet and WiFi is up so far. Way to go!
[Elephone P8000] rbt07:
I am using this kernel on ROM "20151105". I noticed that the function DT2W (double tap to awake) stops after a few hours work. After phone reboot again working several hours., then stops again. Does anyone have similar experience?
[Elephone P8000] BlueFlame4:
Does this also occur on other ROM versions and with Pocket Mod disabled? The proximitiy sensor is known to cause problems on some batches.
[Elephone P8000] rbt07:
I didn't test it on other ROMs, only on latest stock 20151105. I have pocket mod enabled. Have I pocket mode switch off?
[Elephone P8000] Cozer:
If you turn on proximity sensor then you should turn off pocket mode.
[Elephone P8000] rbt07:
Hi, thanks, will test.
[Elephone P8000] Damoedge:
If you could guide me or remember where you saw the current value?...was in in drivers/leds folder of source code?

thanks for your hard work..
[Elephone P8000] rbt07:
I wrote that after some time DT2W stops working. I found that when you turn off the Pocket mode it's not happening. Blueflame4, thank you for the advice.

It would be good to modify vTool.apk -> If DT2W is turned ON, it is not possible to turn ON the Pocket mode.

And thank you for your work, please continue.
[Elephone P8000] BlueFlame4:
Well, PocketMod only makes sense in conjunction with DT2W. It basically prevents the device to accidentally wake up when the proximity sensor is covered (read: if the device is in pocket). Some P8000 batches just have a sluggish proximity sensor so that's where the problem comes from.

I will ;)
[Elephone P8000] rbt07:
Finally I found a solution to poor performance WiFi. I found it on the Russian debate. It needs to install modem from stock ROM 20150725.

Download: http://uloz.to/xQdsahJt/modem-mt6753-s00-moly-lr9-w1444-md-lwtg-mp-v16-p5-zip

Installation:

- from TWRP

- install modem ZIP file

- then click "Wipe Cache/Dalvik" and "Restart phone" (first start will be a little longer)

- It is all

- Enjoy much better WiFi performace - See the comparison results in figures.

On left side is WiFi on stock ROM 20151105, on the right is the same ROM after install modem from stock ROM 20150725.

[IMG="Bad and better WiFi performance"]http://androidforum.cz/download/file.php?id=19789[/IMG]

If you want, you can add it into your core...
[Elephone P8000] skeleton1911:
I will look into that too.

Weird thing is that my eragon rom use the WiFi files from 07/25 and the problem is still present for some users. So don't expect to much of it.

Gesendet von meinem Elephone P8000 mit Tapatalk
[Elephone P8000] rbt07:
I will test it, works perfectly, yet. :)
[Elephone P8000] skeleton1911:
I have compared it with my ROM values.

Only one little thing is different in etc/firmware.

I think I will give it a go too and when its better i will change that little file in my ROM. Thanks

Gesendet von meinem Elephone P8000 mit Tapatalk
[Elephone P8000] charliepie:
I must say that there is no speed problem with my WiFi when it's working so I'm not sure if I should try this mod but hopefully it will do no harm! Thanks.
[Elephone P8000] skeleton1911:
Its ok to flash. It has the same files anyway like in my rom. But give it a try

Gesendet von meinem Elephone P8000 mit Tapatalk
[Elephone P8000] charliepie:
Many thanks, I'm not sure if I'll try it as you say it's the same as yours but I guess I can always flash 6.5.1 on top if something disastrous happens!
[Elephone P8000] rbt07:
Skeleton911, please integrate modem from stock ROM 20150725 to next version of visionary kernel... I like stock ROM pure Android with your kernel. Alternatively, add more changes in wifi settings, which are using in Eragon ROM. Thank you very much.
[Elephone P8000] skeleton1911:
? Ask blueflame for it. He is the kernel dev. ;)

Gesendet von meinem Elephone P8000 mit Tapatalk
[Elephone P8000] rbt07:
Sorry, made mistake :)

Blueflame4, please integrate modem from stock ROM 20150725 to next version of visionary kernel... I like stock ROM pure Android with your kernel. Alternatively, add more changes in wifi settings, which are using in Eragon ROM. Thank you very much.
[Elephone P8000] -Tiz-:
Does the latest version of the kernel provide for any overclocking? If yes: how does it work?

(I understand that 1.5 ghz step was removed. I am not sure whether 1.4 ghz are possible.)

Thanks
[Elephone P8000] BlueFlame4:
Nope, overclocking was removed for now. I'm also quite sure that it's not possible on our SoC...
[Elephone P8000] vetkak:
I have a problem with Double tap to wake. When I leave my phone on the charger before I go to sleep. The next morning DT2W doesn't work anymore. Afther a reboot it works fine again. Does anybody else has this problem to and is there a fix available? Thans in advance

Verstuurd vanaf mijn Elephone P8000 met Tapatalk
[Elephone P8000] BlueFlame4:
Could you scratch over the proximity sensor some times if that happens again? I have had quite some of these bug reports but could never reproduce it. The only thing that happens to me is that the proximity sensor gets "stuck" sometimes thus enabling pocket mod. Scratching over it fixes this every time.
[Elephone P8000] vetkak:
Thanks for the fast response. I disabled pocket mod so the proximity sensor should not affect the DT2W right?

Verstuurd vanaf mijn Elephone P8000 met Tapatalk
[Elephone P8000] BlueFlame4:
Yep.
[Elephone P8000] vetkak:
Thanks. I did that some days ago. Still the problem appears. I'll just keep rebooting the phone once a day (not a big deal). Btw I'm running eragon 6.1 (flashed from latest elephone stock firmware, I should not have done that but everything works great[emoji2] , from the day 6.1 was released). Pliz V3 and running exposed gravity box for double tap status bar to sleep. Maybe something above caused the problem. At the moment I like rebooting the phone once a day more then a full wipe trying to fix this small bug. Thanks again!
[Elephone P8000] Stevethegreat:
To be fair overclocking is probably possible, just by not using Mediatek's tables. I was reading a few months back in some russian forums that a guy was able to get a 10% boost in actual performance but he had to write a work-around for that.

Unfortunately Mediatek SoCs suffer still from the old illnesses. They're easier to develop lately -thankfully-, but pretty much closed source to many/most things...

Anyway, cheers. Any amount of development on Mediatek SoCs is an almost heroic task so thanks for that (and thanks to the rest of the tweakers/devs)...
[Elephone P8000] BlueFlame4:
You're probably right, but to be honest there's too many things I have to change in order to MAYBE get it working in the end. Maybe another developer can look into this if he's more interested. For me 8x1.3 Ghz is more than enough. I'll look into GPU tweaking once CM works because our GPU could need some optimization ;)
[Elephone P8000] Damoedge:
Any chance you could point the devs here in the right direction? Like if you could remember that forum? Because we all would love to see this baby Oc...

The thing here is you said it's possible so where there is a will there is a way right?

So I take it that all mediatecks Socs can not be overclocked?

Thanks for the info tho man...
[Elephone P8000] -Tiz-:
Agreed. The CPU is generally fast enough (except for certain single treaded tasks). The most important thing is CM (with device encryption).
[Elephone P8000] BlueFlame4:
I'm afraid I misunderstood you, sorry for that!
[Elephone P8000] micbanand:
Edit
[Elephone P8000] micbanand:
On my device its more smooth. Fingerprint works perfektly. Signal better. Small things. It should be the same but it's
[Elephone P8000] mtiny:
I've tried flashing but getting this error
[Elephone P8000] Bradco:
Hi try to flash with flashify or rash, it work with recovery

---------- Post added at 08:43 PM ---------- Previous post was at 08:08 PM ----------

Tell us if it works
[Elephone P8000] BlueFlame4:
Hey!

Your bootloader is locked. I posted an explanation on how to unlock it somewhere in this forum but I'm currently on mobile so please search yourself :)

Best regards!
[Elephone P8000] peptonib:
[MENTION=3784300]BlueFlame4[/MENTION] Flashed yesterday with Flashify over Eragon 4.0. All working so far. No problems whatsoever. CPU-Z reporting 1.5 GHz. Phone feels quicker...

Keep up the good work! Thank you!
[Elephone P8000] mtiny:
I had unlocked it before flashing it. managed flashing it using Rashr, clock speed it ok but antutu results rather disappointing. maximum score at 29380
[Elephone P8000] Stevethegreat:
Antutu measures itself so there's not much use to its results.

Can you run Geekbench 3? It measures the CPU so the results are more relevant.
[Elephone P8000] Nikolaosf:
very impressive ;) wish you could do the same for P6000 Pro 3GB ..... same cpu...same low MHz
[Elephone P8000] peptonib:
Mmmm... I guess it's normal. Battery use has considerably increased with overclock. I would estimate something between 20-25% more. Anyone else can confirm?
[Elephone P8000] stonedpsycho:
I agree, I got 11hrs 40 minutes SOT the other day which is over an hour more than I have ever got.
[Elephone P8000] Zgallo:
I can flash with flash tool?

transmit from my P8000 Italian... wind eragon 4.0
[Elephone P8000] Nikolaosf:
hmmm....you test it with the stock voltage and it wasnt stable with stress tests?? thats why you have increased voltage?
[Elephone P8000] peptonib:
Mine is consuming MORE battery, not less.... :eek:
[Elephone P8000] stonedpsycho:
Sorry, I read your comment wrong. I am using eargon rom with the kernel and its lasting longer for me. Strange how things effect the same phone differently!
[Elephone P8000] peptonib:
Not so strange. We are not really making any scientific tests, just estimating based on perception, without a proven method.

Maybe the way we use our devices is very different! (I mainly do surfing, remote server terminal work via VPN, not much more)

Anyway, more battery use for more power is coherent, so each user should make it's own choice about adopting this new kernel!

Thanks! ;)
[Elephone P8000] jott_st:
I modified mt_cpufreq.c by letting _mt_cpufreq_get_cpu_level() in line 857 always return CPU_LEVEL_0, which gives you both frequencies, 1.3 GHz and 1.5 GHz, instead of changing the define.

My phone runs fine so far and got antutu score ~ 34400. I don't know if that change has any other - possibly bad - impacts, though.
[Elephone P8000] ShootistUK:
Well the antutu score would lead one to believe the phone is performing in that benchmark above stock performance.
[Elephone P8000] BlueFlame4:
I like your solution more than mine. Will test and report back. Mine is actually a dirty hack but I don't have much time at the moment :/ Are you also working on a ROM?
[Elephone P8000] Stevethegreat:
I was 4Pda forums a few months back, but I can't recall the device,I think it was an MT6753 based one and I got there by being redirected from another thread. Now that I think about it I regret not bookmarking the thread, back then I didn't think that I would own an Mediatek device any time soon I guess, so I mostly ignored it...

Point is that Mediatek SoCs may be overclockable but most often than not it does not worth the time to invest to find a workaround to each and every individual device. Here's hoping (as much as you guys), that someone will work it out and find a near universal way to make it work. As much as [MENTION=3784300]BlueFlame4[/MENTION] I don't care much for overclocking, but I do care about undervolting so I'm hoping that something worthwhile would be found there -at least. I may even try to investigate it myself if I ever find the time (although I don't trust that I will given how my ... future is shaping up).

Again good luck, with the development of this device and any of the rest of Mediatek devices...
[Elephone P8000] BlueFlame4:
At this point I'd want to emphasize that I'm reading a lot about "someone will do it" or "a dev will do it". You know what? I started to learn all these things in August this year so I'm getting into it more and more every day. Basically I'm just a normal user and on the same level of "hierarchy" as everyone else here :) So if you're interested in a particular topic (e.g. OC, UV) you can as well read articles about it and try things out. Nobody is born as a developer. That said, let's help each other out and find ways to make the device more awesome than it ever was!
[Elephone P8000] Damoedge:
I'm only new to Android myself and learning about it, overclocking is great cpu wise but do we seem to forget other parts of the phone that we can overclock or tweak.....for example init.d can be powerful and why we don't use sysctl so much, there's a lot in there to tinker with to....

Question: in the old days of dual and quads cores we could force all cores online is this possible with octa?

Thanks for your great work blue...;)
[Elephone P8000] nLz_phone:
Hey blueflame! I realy like your kernel-build, use it all the time, and maybe u are right to say if u read enough all of this stuff and how to implement features everybody can do it.. But it takes time to get in this stuff.

Please, I saw this ( http://xdaforums.com/one-m9/one-m9-general/kernel-cleanslate-1-0-0-base1-61-81-t3147180 ) where I read "fingerprint to wake" .... ;) is it possible for u to implement a feature like this? Dt2w is nice, no question. But this would be even nicer ^_^ in my opinion - and maybe yours too.

Cheery, have a nice evening :)

Gesendet von meinem Elephone P8000
[Elephone P8000] BlueFlame4:
Hey!

Well there are little things that are impossible but I don't have time for this :( This week I'll halt my development completely because university projects start to gain momentum. Maybe [MENTION=6899644]tiltkoko83[/MENTION] can check it out? Basically he and I are the only ones who build things from source for the P8000. My kernel is stable at the moment and I won't add new features until CM 12.1's RIL and GPS is fixed so it's usable as a daily driver.

Have a nice evening!
[Elephone P8000] nLz_phone:
hey, okay. wish u all the best for your projects :]

i can understand that, and if nobody can figure it out, maybe i can do this by myself, but -as u know- it needs free-time... lets see who can get hot news on this feature and how to get it into our phones.

would be a great addiotion.

n8
[Elephone P8000] MikeJT:
I'm new to this kernel having just installed it as part of the Eragon v6.7 rom - awesome!

Just trying to get my somewhat slow brain around the kernel settings (vTool). I use the Elephone case that has a magnet. What are the best/logical settings to use? I'm thinking I should have DoubleTapToWake off and PocketMod on - does that sound right?

Thanks!
[Elephone P8000] BlueFlame4:
Thank you!

If you have a case you shouldn't need pocketmod ;) Just play a little with the values :)
[Elephone P8000] Rizera:
Blueflame, hi! As I told before, I love your kernel, and I have another question:

Any chance of fixing the subtle battery drop after below 15%? I heard that this is a Kernel issue and if so, you are our only hope!!!!

Thank you for your attention!
[Elephone P8000] CodeParadise:
Elephone says the issue is fixed in its latest ROM update. I haven't tested it so I don't know if it's true but once they release the kernel sources, the fix should be available to developers.
[Elephone P8000] BlueFlame4:
I'll wait some days to give Elephone time to release the source code before trying to implement an own fix.

BTW is anyone here who has OTG devices and is willing to test some test builds?
[Elephone P8000] chuckbert:
Ja, kann ich! ?

Sure, i can do that!
[Elephone P8000] nLz_phone:
I have as second device: galaxy s3, otg support, archidroidROM ... Should do it for testing?!

Gesendet von meinem Elephone P8000
[Elephone P8000] BlueFlame4:
Thanks for your support! I've already tested some versions with the help of [MENTION=5895603]dr_root[/MENTION] and they're not stable yet. I'll let you know if I find a new way and will send you a PM then ;)

Regarding OTG support:

I tested around with OTG kernel support today and it's not easily implementable unfortunately. I even used the k06ts_a defconfig (read: I compiled the kernel for a device that definitely support OTG and included all the needed sources and libraries) and OTG was still not working. In fact it might be possible that the chipset itself prohibits this feature - that's at least how it looks like.

No OTG for now unfortunately :(
[Elephone P8000] tiltkoko83:
That was my own conclusion too, when I tried it.
[Elephone P8000] superdragonpt:
SoC supports it

But the device may lack proper power IC ( hardware), since its expensive, and not all 67xx SoCs devices have it.

You can try this:.

With proper kernel w/OTG support :

Use an OTG "Y" cable ( external power )

Cheers
[Elephone P8000] BlueFlame4:
Good idea! Gonna go buy one as I have to buy christmas presents anyways, haha ;)
[Elephone P8000] chuckbert:
Can someone please provide the stock kernel for the newest 20151203 stockrom?

I installed visi0nary´s expecting to test the otg feature and forgot to save the original one...
[Elephone P8000] skeleton1911:
Just download stock 12/03 Rom

And pull out the Boot.IMG.

Then flash it.

Gesendet von meinem Elephone P8000 mit Tapatalk
[Elephone P8000] pitrus-:
Sure thing, here is the original boot.img and recovery.img for 20151203.

http://alturl.com/vv5ox

[Updated]
[Elephone P8000] OsitKP:
The other way is a hub/switch with external power supply. It usually works with other devices.
[Elephone P8000] jknarf:
Ok, back on topic.

I love this kernel. But the only thing that is a little bit annoying, is that dt2w is not disabled during calls.

But I possibly found a solution for this feature here on xda:

S2W Phone Call Disabler

It disables also dt2w.

In first tests I did, it works like expected.

Cheers
[Elephone P8000] rbt07:
Dt2w is not disabled during calls only on some phones. On my phone it works well. I think there are used two different proximity chips in P8000. Visi0nary kernel perhaps know only first version proximity. If the phone is used the second version, there are problems with proximity during call.

And you are right, that application helps. Told me a friend who was the same problems with proximity as you.

Blueflame please look at it and repair kernel. I love it. Thanks.
[Elephone P8000] Wani Aamir:
Can I flash this kernel in micromax canvas 5, as it is same device having 5.2 inch screen
[Elephone P8000] Wani Aamir:
Device info
[Elephone P8000] rbt07:
No, this is kernel only for Elephone P8000. You will brick your phone.
[Elephone P8000] Wani Aamir:
Thanks mate :thumbup: