Author Topic: Compiling the kernel for the GPDXD+  (Read 2680 times)

PsyOps

  • ** Moderator
  • Posts: 894
    • Section Eight
Re: Compiling the kernel for the GPDXD+
« Reply #40 on: May 15, 2018, 03:48:44 pm »
was sleeping hehe.

K so nothing new to test?

I think things will move faster once we get a hold of GPD but they are busy atm with win2.

romain337 (OP)

  • *
  • Posts: 30
Re: Compiling the kernel for the GPDXD+
« Reply #41 on: May 15, 2018, 03:57:23 pm »
Yup, no problems ;) Nothing to test, and I hope so for GPD.

PsyOps

  • ** Moderator
  • Posts: 894
    • Section Eight
Re: Compiling the kernel for the GPDXD+
« Reply #42 on: May 15, 2018, 04:55:30 pm »
I dunno if you are up to it, but have you ever compiled twrp for android? Someone is trying to get an xd version compiled and it doesnt quite work yet. Maybe you could try?

If we were to get twrp done for xd+ then we would have a very solid build with overclocking and twrp.

Goayandi

  • Posts: 2
Re: Compiling the kernel for the GPDXD+
« Reply #43 on: May 15, 2018, 06:34:51 pm »
Hey guys! :)

You solved the underclocked xd+? Otherwise: https://github.com/bulkin042/paperplane_kernel_porridge/commit/de538c580efa3336cadbc0213d14b026d7e1a37d


Currently I'm working on updated gpu drivers for our mt8176. But I think we need some more devs for all the stuff. I'll create a thread on reddit & xda for all mt8173 / mt8176 devices.

I wrote alreade in discord:

Our gpu drivers are identical or almost identical. Mi Pad 3 and XD+ both use PowerVR Rogue [email protected] drivers. Only two files are different:

https://del.dog/lahayiquve.diff
https://del.dog/yukogoqafa.diff

Even the firmware image (in: system/vendor/firmware) is identical.

Seems like xiaomi didn't include some prorietary files for vulkan or i may have missed something.

romain337 (OP)

  • *
  • Posts: 30
Re: Compiling the kernel for the GPDXD+
« Reply #44 on: May 15, 2018, 07:32:37 pm »
@PsyOps: I think I am not able to do this :/ I coule look but I miss some skills and time.

@Goayandi Hello :) It seem to be resolved (but I was not able to enable 1.8ghz for the a52?). We have a problem with screen refresh rate but we don't know if we can fix it, did you have this problem too? As I said above, I miss some skills for this stuff so personnaly I think I can't help.

Goayandi

  • Posts: 2
Re: Compiling the kernel for the GPDXD+
« Reply #45 on: May 15, 2018, 07:53:03 pm »
@romain337  Well, that's not a problem  ;D For most of the stuff you can find guides, XDA threads or Telegram groups. I received a lot of help from many experienced developers. But I'm still not able to build a fully working LineageOS / AOSP tree for my device. But I managed to fix the Kernel Source, upstream it to latest linux-stable, added some features in a few weeks.

I personally never mentioned any problems with refresh rate on my device, sorry.

I hope some more developers will help us. I created threads on Reddit and XDA.

https://www.reddit.com/r/Android/comments/8jnzas/mediatek_mt8173_mt8176_development/
https://forum.xda-developers.com/android/development/mediatek-mt8173-mt8176-development-t3791009

PsyOps

  • ** Moderator
  • Posts: 894
    • Section Eight
Re: Compiling the kernel for the GPDXD+
« Reply #46 on: May 17, 2018, 09:11:01 pm »
romain,
There is an option in compiled kernel which prevents touch input while booting or before booting to system, can you see if you can change that to allow it?

romain337 (OP)

  • *
  • Posts: 30
Re: Compiling the kernel for the GPDXD+
« Reply #47 on: May 17, 2018, 09:50:16 pm »
Hello @PsyOps, Yes I could take a look for sure! I'm not sure what you mean so if you can explain a bit further it would be cool. You want touch enable while booting, or in recovery?

I made an update to the kernel, nothing really important, that's just cpu-z reporting a weird temperature (even with stock image) so I fixed it (I think) by using xiaomi cappu code. @skelton: would you be a reviewer for my modifications ? I could make pull requests too if you want.

*edit: Or I can make pull request to @Goayandi repo so we can rebase/merge on it.
« Last Edit: May 17, 2018, 09:59:00 pm by romain337 »

PsyOps

  • ** Moderator
  • Posts: 894
    • Section Eight
Re: Compiling the kernel for the GPDXD+
« Reply #48 on: May 17, 2018, 10:15:02 pm »
Sorry was looking over old texts with twrp discussions. I think that isn't needed anymore sorry.

If you have time could you look over twrp for xd+ : https://github.com/Goayandi/android_twrp_gpd_gpd_en

 Goayandi seems to be busy a lot and hasn't been able to look it over.

I dont know any of this stuff but I may try to setup a workspace and maybe compile a version myself. I just think the more people we have maybe it would help?

romain337 (OP)

  • *
  • Posts: 30
Re: Compiling the kernel for the GPDXD+
« Reply #49 on: May 17, 2018, 10:47:48 pm »
I really need some time to do it and now I have only 1 or 2 evening by week for me to do stuff I like so I can't promise anything. If it is just compiling some code and fixing stuff I can take a look, but seriously I can do tons of things in a few hours in android (I mean android *java* project) because I'm used to but when it comes to c code and low level things it take lot of time to me because I'm not used to ^^

I wish to have time but unfortunately haven't nowaday :p

skelton

  • *****
  • Posts: 6834
Re: Compiling the kernel for the GPDXD+
« Reply #50 on: May 17, 2018, 10:56:19 pm »
Apparently the code is ok romain. Not sure what was the problem with temps though. It seems GPD didn't include what xiaomi did, but probably because MTK kernel of the xiaomi is a bit newer and MTK included that. Quite weird GPD forgot to include thermal sensor, perhaps the code GPD has didn't include that chamge. Not sure what it changes though, I haven't used my xd +  for a while, I will ask my brother the device on Sunday If I see him so I can test If I see something different. is device too hot right now? Ot is just an issue not reporting Temps in android apps? Because if  the case is very high temps, we can try lower vcore a litlle bit, though that can provoke some unstabilty. My proto has been hotter than my old XD,but considering is a proto is probably not the best reference.
« Last Edit: May 17, 2018, 10:59:23 pm by skelton »
Retired

romain337 (OP)

  • *
  • Posts: 30
Re: Compiling the kernel for the GPDXD+
« Reply #51 on: May 17, 2018, 11:52:40 pm »
I've found something about the mtktsAP temperature but it not help much:
https://talk.sonymobile.com/t5/Xperia-M5/M5-is-switches-off-from-the-high-temperature-mtktsAP/td-p/1164800#gref

I can't find exactly what is the sensor :/ The link above say it's about GSM network. Initialy I thinked about a bad value, time to time it jumped to 30 to 90?C so I thinked about a faulty report since the device is not hot at all.

Just found 3 dead pixels on my xd plus, now I only see those in the middle of all the others lol gotta sleep now, hard day tomorrow !

PsyOps

  • ** Moderator
  • Posts: 894
    • Section Eight
Re: Compiling the kernel for the GPDXD+
« Reply #52 on: May 18, 2018, 12:27:18 am »
Thnx bud for your help with all this.  :)

 

Post a new topic