Afternoon all,
I have a Cubot X17 (MT6735) Device, now I'm seeing a lack of ROMs for this phone or information on regarding porting.
One thing I have noted with some of the guides I have found, is they require the MT device to have the same chip and GPU, I have managed to acquire the following information of my phone as speaking to the manufacture when they are releasing Marsh Mallow is like talking to a brick wall.
My CPU
Code:
SoC Model: MediaTek MT6735
Core Architecture: 4x ARM Cortex-A53 @ 1300 MHz
Manufacturing Process: 28 nm
Instruction Set: 64-bit ARMv8-A
CPU Revision: r0p3
CPU Cores: 4
CPU Clock Range: 299 - 1300 MHz
Core 1 Clock: 1300 MHz
Core 2 Clock: 1300 MHz
Core 3 Clock: 1300 MHz
Core 4 Clock: (sleeping)
CPU Utilization: 17 %
Scaling Governor: interactive
Supported ABIs: arm64-v8a, armeabi-v7a, armeabi
Supported 32-bit ABIs: armeabi-v7a, armeabi
Supported 64-bit ABIs: arm64-v8a
AES: Supported
NEON: Supported
SHA1: Supported
SHA2: Supported
My GPU
Code:
<< OpenCL Device - Mali-T720 >>
Device Name: Mali-T720
Device Type: GPU
Device Vendor: ARM
Device Vendor ID: 0x07201000
Device Version: OpenCL 1.1
Device Profile: Full
Driver Version: 1.1
OpenCL C Version: OpenCL C 1.1
Clock Rate: 5 MHz
Compute Units: 2
Anyone shed some light as to if I can port or not. and if not alternative methods?
Try to read around XDA (search)... Found a thread explaining porting of MTK roms..
Found anything yet?
hey mate. I have a Smart Grand sp which is exactly like yours, only the brand name and the model name are different. have you found anything yet? does the ROM need to get ported? can we just flash a ROM from some phone which has exactly the same hardware? (i.e: your phones ROM on my phone?)
Sorry for the amateurish and stupid question if it is, cuz I don't have enough info in this regard.
hope to hear your answer and thank you in advance
This is my "Squid Kernel" for the 2016 Moto G4 Play, codenamed harpia. It shares a common codebase with my kernels for osprey, surnia, and lux. It consists of the latest Motorola MSM8916 kernel, with all the latest changes from CodeAurora and Kernel.org merged in, along with select cherry-picks and additions of my own. Flash it using TWRP. Bug reports and contributions are welcome.
This kernel supports both the stock ROM and custom ROMs.
Disclaimer:
This is for the 2016 Moto G4 Play (harpia) only! Versions r22 and up are for Nougat ROMs with modern blobs only! Don't flash it on a previous Moto G, or surnia, or lux. This kernel is provided AS-IS, with no warranties. I am not responsible for bricking your device. Flash at your own risk.
Features:
Moderately undervolted
Updated to Linux 3.10.108
Synced with latest CodeAurora changes
Improved memory management
Improved memory caching backported from Linux 3.15
Improved storage performance
Optimized ARM crypto routines
Updated f2fs and WiFi drivers
FIOPS and BFQ I/O schedulers
Lionfish CPU governor
IntelliPlug CPU hotplug (by faux123)
KCAL MDP5 colour control (by savoca)
Improved zRAM backported from Linux 4.9
Vibration intensity control
Compiled with Linaro GCC 7.3 and optimized for Cortex A53
Stripped down and optimized configuration
Release History:
Code:
r23: August 15, 2018
- More reliable headphone detection on harpia
- Tonnes of security patches
- Updated binder
- Compiled with Linaro GCC 7.3.1
r22b: January 13, 2018
- Audio driver fixes
r22: January 11, 2018
- Security patches
- Updated camera drivers
- Stock Nougat support
- Nougat only, requires modern blobs
r21: December 6, 2017
- Updated to Linux 3.10.108
- Security patches
- Oreo support related patches
r20: August 2, 2017
- Updated to Linux 3.10.107
- Tonnes of security patches from many places
- Updated sdcardfs from Google
- Updated WiFi driver from CAF
- Compiled with Linaro GCC 6.3.1
r19: January 1, 2017
- Added support for Nougat ROMs
- Updated zRAM from Linux 4.9
- Updated (optimized) FUSE from CAF
- Kernel ASLR and many info leak fixes
- ARM PXN support for exploit mitigation
- Tons of security updates
- Some CAF updated from LA.BR.1.2.9_rb1.10
- Fixed kernel panic on VPN disconnection
- Updated compiler to Linaro GCC 6.2.1
r18: November 8, 2016
- Initial release for harpia
Downloads:
Main downloads tab
XDA:DevDB Information
Squid Kernel for Moto G4 Play, Kernel for the Moto G4 Play
Contributors
squid2
Source Code: https://github.com/sultanqasim/android_kernel_motorola_msm8916
Kernel Special Features: undervolted, lionfish, fiops, intelliplug, latest Linux and Qualcomm fixes
Version Information
Status: Stable
Current Stable Version: r23
Stable Release Date: 2018-08-15
Created 2016-11-09
Last Updated 2018-08-15
it is for all Harpia XT16XX?
mario156090 said:
it is for all Harpia XT16XX?
Click to expand...
Click to collapse
Yes, all harpia variants running all Marshmallow ROMs (stock and custom) should work with r18. A Nougat-only version will be coming later once I bring CM14.1 to this device.
I'm trying it now. No issues so far.
Just in case, how I would I could go back to stock kernel?
Frank_s_ph said:
I'm trying it now. No issues so far.
Just in case, how I would I could go back to stock kernel?
Click to expand...
Click to collapse
Flash your stock twrp backup
Sent from my Moto G Play using XDA-Developers mobile app
@squid2, Your kernel is very good, is it possible to overlock?
Just wanted to say this kernel is amazing. Not sure how accurate the seetings for the battery are but it says I have 4 days remaining at 86%. Even if its half that its still a massive improvement, thanks for your devotion and work on the g series @squid2.
You are ruling the harpia forum.
Great job
For whatever it's worth, I installed BaseMark OS II and ran a before and after test of the Nov 8 kernel. It slowed down the memory a bit. The first four columns are stock and the last four columns are with the Nov 8 kernel.
Overall 628 625 628 621 | 542 538 541 539
System 1043 1029 1062 1054 | 1028 1048 1067 1040
Memory 852 853 847 828 | 517 496 503 505
Graphics 315 315 315 313 | 305 304 299 304
Web 554 551 549 545 | 531 533 535 527
For such a big hit to the memory score, it didn't affect the rest all that much. I wonder if there isn't some boost in battery life that I'm not sure how to measure. I didn't notice much warmth from the phone while running the benchmark, but I didn't really make a good test of that. If the battery life is xx% better, then it's a choice of what you value.
Please don't take this as being negative. I really appreciate the chance to try this out. Keep going Squid! I'm dying to see the CM's going on this phone!!
Hello @squid2 sir
I can't find any undervolting commit on github
Can you help me find it ?
Sent from my Motorola Moto E using XDA Labs
Should I be seeing better battery life when compared to stock? Because it looks to be worse (higher consumption when using, like wifi browsing). Do I have to change the governor?
Also, if I switch back to stock kernel, do I have to reset something (like some settings)?
I guess that the kernel wasn't the differentiating factor, as I just got similar performance as with stock - 3 days standby and 10 hours screen on time.
nick_white said:
Should I be seeing better battery life when compared to stock? Because it looks to be worse (higher consumption when using, like wifi browsing). Do I have to change the governor?
Also, if I switch back to stock kernel, do I have to reset something (like some settings)?
Click to expand...
Click to collapse
No need for setting anything when going back to stock kernel.
I'm wondering if this kernel makes it possible to use the white battery LED as notification LED?
To me the G4 Play's only flaw is not having a notification LED, but an "battery is being charged" LED... Very odd.
yeah this would be cool
K.E. said:
I'm wondering if this kernel makes it possible to use the white battery LED as notification LED?
To me the G4 Play's only flaw is not having a notification LED, but an "battery is being charged" LED... Very odd.
Click to expand...
Click to collapse
I second this. I found it really odd how it's charging only, but not for notifications. I really would love to see if anyone could incorporate a notification light setting
Is the carging led somewhere at the bottom left of the phione? I can see something beneath the glass (looks like the proximity sensor), but mine is not lighting up when charging...
nick_white said:
Is the carging led somewhere at the bottom left of the phione? I can see something beneath the glass (looks like the proximity sensor), but mine is not lighting up when charging...
Click to expand...
Click to collapse
It's in the slightly on the bottom left side when plugged in. Surprised me the first time I installed CM after running stock for a little while, I didn't see a setting in the stock rom for it.
VPN disconnect reboot
I found a reproducible bug that causes a reboot with the r18 kernel. When using the built-in Android VPN feature the phone reboots as soon as I click disconnect. I tested with the stock kernel and it works fine, also tested with and without SuperSu. Phone is a xt1607 running stock ROM 6.0.1. The VPN type is PPTP.
Code:
<1>[ 328.175881,1] Unable to handle kernel NULL pointer dereference at virtual address 00000004
<1>[ 328.175928,1] pgd = c0004000
<1>[ 328.175946,1] [00000004] *pgd=00000000
<0>[ 328.175977,1] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
<4>[ 328.175995,1] Modules linked in:
<4>[ 328.176025,1] CPU: 1 PID: 9399 Comm: pppd Tainted: G W 3.10.104-r18-g15931b7-03706-gec43596 #2
<4>[ 328.176046,1] task: c5fa78c0 ti: dc0f4000 task.ti: dc0f4000
<4>[ 328.176081,1] PC is at ppp_unregister_channel+0x200/0x2c0
<4>[ 328.176106,1] LR is at _raw_spin_unlock_irqrestore+0x28/0x48
<4>[ 328.176129,1] pc : [<c06ca324>] lr : [<c0e1b918>] psr: 600f0013
<4>[ 328.176129,1] sp : dc0f5da0 ip : 00000091 fp : d2f00548
<4>[ 328.176153,1] r10: dfdc9a60 r9 : dfdc9a60 r8 : dee68fcc
<4>[ 328.176172,1] r7 : ccafb590 r6 : c15cdc40 r5 : e2d848cc r4 : dee68f80
<4>[ 328.176191,1] r3 : 00000004 r2 : 00000000 r1 : 00000000 r0 : 00000000
<4>[ 328.176212,1] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
<4>[ 328.176232,1] Control: 10c0383d Table: a2b2c06a DAC: 00000015
<0>[ 328.176250,1] Process pppd (pid: 9399, stack limit = 0xdc0f4238)
<0>[ 328.176268,1] Stack: (0xdc0f5da0 to 0xdc0f6000)
<0>[ 328.176299,1] 5da0: e1506400 00000000 c2a16d00 e3b61010 dfdc9a40 c06d0934 e1506400 c06d3cac
<0>[ 328.176327,1] 5dc0: dfdc9a60 00000000 dfcadf68 e3b61010 00000008 c0bc2b14 d2f00540 00000000
<0>[ 328.176356,1] 5de0: dfcadf68 c02934a8 00000000 00000000 e2fffa90 c5fa7d44 00000000 c16490b8
<0>[ 328.176384,1] 5e00: c5fa78c0 de508540 de508574 00418004 fffffdfe c015d770 c5fa78c0 002f002f
<0>[ 328.176412,1] 5e20: dc0f4000 c5fa7d64 c5fa78c0 00000001 dc0f4000 c0138c5c 00000000 00000000
<0>[ 328.176440,1] 5e40: 00000002 e1316000 002f002f c0e1e388 c5fa78c0 56e80405 e131601c dc0f5ee8
<0>[ 328.176468,1] 5e60: fffffdfe c013a76c dc0f4000 00000009 c29d4000 dc0f5ee8 c0f01c48 c014d950
<0>[ 328.176497,1] 5e80: 603d2b40 0000004c c151d290 da5e4ec0 c15e1064 da5e53c4 418004fc 00040005
<0>[ 328.176525,1] 5ea0: 00040006 dc0f5ed4 c25ee300 dc0f4000 dc0f5fb0 c151c408 dc0f5ed4 dc0f5ee8
<0>[ 328.176554,1] 5ec0: b6d980f8 b6d980fc fffffdfe c01111a4 0000000a c0e1b418 0000000a c0e1b918
<0>[ 328.176582,1] 5ee0: 0000000a c013d950 00000009 00000000 00000000 00000000 00000000 00000000
<0>[ 328.176610,1] 5f00: c151c408 fffffdfe 00000000 be86a810 00000008 00000000 dc0f4000 c02ac660
<0>[ 328.176638,1] 5f20: dc0f5f4c 00000000 be86a840 00000000 be86a8c0 000006bf 00000807 310fd355
<0>[ 328.176666,1] 5f40: 00000000 000006bf 30898980 00000807 310fd355 000006bf 30898980 000006bf
<0>[ 328.176696,1] 5f60: 2a78fbd9 000006bf 2a78fbd9 56e80405 c010db64 dc0f4000 dc0f4000 dc0f4000
<0>[ 328.176724,1] 5f80: dc0f5fb0 c010db64 dc0f4000 00000000 b6fc7d54 c01116c0 be86a810 00000000
<0>[ 328.176752,1] 5fa0: 000006bf 0000014f c010db64 c010da28 00000008 be86a840 00000000 be86a8c0
<0>[ 328.176780,1] 5fc0: be86a810 00000000 000006bf 0000014f be86a840 00000008 b6f7fbd1 b6fc7d54
<0>[ 328.176808,1] 5fe0: be86a808 be86a7f8 b6d704c9 b6d980f8 40070010 00000008 00000000 00252522
<4>[ 328.176853,1] [<c06ca324>] (ppp_unregister_channel) from [<c06d0934>] (pppox_unbind_sock+0x1c/0x28)
<4>[ 328.176892,1] [<c06d0934>] (pppox_unbind_sock) from [<c06d3cac>] (pppopns_release+0xe0/0x118)
<4>[ 328.176926,1] [<c06d3cac>] (pppopns_release) from [<c0bc2b14>] (sock_close+0x24/0xac)
<4>[ 328.176961,1] [<c0bc2b14>] (sock_close) from [<c02934a8>] (____fput+0x98/0x224)
<4>[ 328.176993,1] [<c02934a8>] (____fput) from [<c015d770>] (task_work_run+0xb8/0xf4)
<4>[ 328.177031,1] [<c015d770>] (task_work_run) from [<c0138c5c>] (do_exit+0x304/0x9c0)
<4>[ 328.177061,1] [<c0138c5c>] (do_exit) from [<c013a76c>] (do_group_exit+0x38/0xb0)
<4>[ 328.177093,1] [<c013a76c>] (do_group_exit) from [<c014d950>] (get_signal_to_deliver+0x324/0x668)
<4>[ 328.177127,1] [<c014d950>] (get_signal_to_deliver) from [<c01111a4>] (do_signal+0x9c/0x458)
<4>[ 328.177162,1] [<c01111a4>] (do_signal) from [<c01116c0>] (do_work_pending+0x74/0xbc)
<4>[ 328.177194,1] [<c01116c0>] (do_work_pending) from [<c010da28>] (work_pending+0xc/0x20)
<0>[ 328.177223,1] Code: e5940064 e2803004 f57ff05b f5d3f000 (e1932f9f)
<4>[ 328.177947,3] ---[ end trace 55110d0257cc6671 ]---
just found these commits - maybe this can be adapted to harpia?
https://review.cyanogenmod.org/#/c/144769/
https://review.cyanogenmod.org/#/c/144770/
https://review.cyanogenmod.org/#/c/144768/
K.E. said:
I'm wondering if this kernel makes it possible to use the white battery LED as notification LED?
To me the G4 Play's only flaw is not having a notification LED, but an "battery is being charged" LED... Very odd.
Click to expand...
Click to collapse
Hello all.
I have a non-prevalent android device that runs Android 4.2.2 by default (official).
I very searched to find suitable custom (unofficial) ROM for my device, but couldn't find.
I want to upgrade it's OS to Android 5.0 or above.
Good to notice that my device is not in the list of supported devices by ClockworkMod:
Rom Manager v5.5.3.7 message: GLX_TABLET_T3 does not have an officially supported ClockworkMod Recovery yet.
My device specifications (Got from CPU-Z v1.19):
SoC:
MediaTek MT8382 - 2Cores
Architecture: 2x ARM Cortex-A7 @ 1.30GHz
Revision: r0p3
Clock Speed: 598 MHz - 1.30 GHz
GPU Vendor: ARM
GPU Renderer: Mali-400 MP
Scaling Governor: hotplug
Device:
Model: GLX_TABLET_T3 (GLX_TABLET_T3)
Manufacturer: GLX
Brand: XD813
Board: GLX_TABLET_T3
Hardware: mt8382
Screen Size: 4.56 inches (This value is incorrect! Correct Value: 7.0 inches)
Screen Resolution: 600 * 1024 pixels
Screen Density: 260 dpi (Correct Value: 170 dpi)
Total Ram: 970 MB
Internal Storage: 0.9 (Total phone storage is 8 GB)
System:
Android Version: 4.2.2
API Level: 17
Bootloader: unknown
Build ID: XD813_v0.2_GLX8037_SW1.2_20140613
Java VM: Dalvik 1.6.0
OpenGL ES: 2.0
Kernel Aechitecture: armv7l
Kernel Version: 3.4.5 (eng.root.1402562709)
Root Access: Yes
Sensors:
ACCELEROMETER, PROXIMITY, LIGHT
Thanks in advance.
Mir-Ismaili said:
Hello all.
I have a non-prevalent android device that runs Android 4.2.2 by default (official).
I very searched to find suitable custom (unofficial) ROM for my device, but couldn't find.
I want to upgrade it's OS to Android 5.0 or above.
Good to notice that my device is not in the list of supported devices by ClockworkMod:Rom Manager v5.5.3.7 message: GLX_TABLET_T3 does not have an officially supported ClockworkMod Recovery yet.
My device specifications (Got from CPU-Z v1.19):
SoC:
MediaTek MT8382 - 2Cores
Architecture: 2x ARM Cortex-A7 @ 1.30GHz
Revision: r0p3
Clock Speed: 598 MHz - 1.30 GHz
GPU Vendor: ARM
GPU Renderer: Mali-400 MP
Scaling Governor: hotplug
Device:
Model: GLX_TABLET_T3 (GLX_TABLET_T3)
Manufacturer: GLX
Brand: XD813
Board: GLX_TABLET_T3
Hardware: mt8382
Screen Size: 4.56 inches (This value is incorrect! Correct Value: 7.0 inches)
Screen Resolution: 600 * 1024 pixels
Screen Density: 260 dpi (Correct Value: 170 dpi)
Total Ram: 970 MB
Internal Storage: 0.9 (Total phone storage is 8 GB)
System:
Android Version: 4.2.2
API Level: 17
Bootloader: unknown
Build ID: XD813_v0.2_GLX8037_SW1.2_20140613
Java VM: Dalvik 1.6.0
OpenGL ES: 2.0
Kernel Aechitecture: armv7l
Kernel Version: 3.4.5 (eng.root.1402562709)
Root Access: Yes
Sensors:
ACCELEROMETER, PROXIMITY, LIGHT
Thanks in advance.
Click to expand...
Click to collapse
I want this