[Q] Kernel development for the 2014 Moto X - X 2014 Q&A, Help & Troubleshooting

OK, I know that most people use the X for a pure, unmodified version of Android. I respect that. I believe that too, but if I could squeeze just a tiny bit more performance out of this device, it would be great. Is anyone here experienced with kernel development and wants to help develop a kernel for our beloved device?

@faux123 is supposed to develop one eventually. Otherwise CM uses a custom kernel for their ROM. I'm waiting for something compatible with stock though.

Related

Can't we mod the stock 5.1 ROM for better performance

I know that this is a ridiculous request since all of you are contributing here without any gains, and no body can demand something to be done for free!
But, I was wondering, with so much development going on over CM based ROMs for Moto X, why is there no ROM that is being developed by changing the stock rom?
I guess it is because the source for the stock ROM is unavailable, but wouldn't there be other ways to mod the ROM? I want to know this because I feel the performance of ROMs available here (on Moto X Development forum) is far better than the stock ROM. However, I love the active display and Moto Voice features of stock.
I tried using xposed and got most of the features (IME keys,RAM bar,lockscreen mods, clear all in recents, etc.) on stock 5.1, but my phone is too slow, compared to from when I was using Carbon/AICP/Resurrection ROMs (Thanks to those devs again).
Once the sources are available for 5.1 modding will happen.
5.1 was just released be patient but if you want a modded rom with stock features, try eclipse 4.4.4

Cyanogen Development? ghost vs. msm8960dt and the different repos

Hey bros,
I like to understand who is actually developing and maintaining the cm rom and kernels for our device? Ethan Chen, David Hacker,.. and how do they share the distribution of tasks in the different device and kernel repos like motorola_ghost and msm8960dt?
I was really impressed as dhacker pushed a highly customized and updated kernel for cm13 (there is one for cm12 too) into android_kernel_motorola_msm8960dt-common recently, but when and how will this work come to life? For me it looks like that the released rom or kernels for Moto X so far mostly neglected these source, so for what are the msm8960dt repos used atm?
Some clarification would be great.
regards
As far as I know,
android_device_motorola_msm8960dt-common - http://review.cyanogenmod.org/#/q/project:CyanogenMod/android_device_motorola_msm8960dt-common : This is the common device repo for msm8960dt motorola devices released in 2013 (Moto X, droid mini/maxx etc)
android_kernel_motorola_ghost - http://review.cyanogenmod.org/#/q/project:CyanogenMod/android_kernel_motorola_ghost : This is the kernel for Moto X. Not common with other msm8960dt devices
And a lot of other code is taken from CAF-8960 branches from Qualcomm - http://review.cyanogenmod.org/#/q/topic:qcom-bringup-8960
I may be wrong since all these are simply observations, so if someone with better knowledge please correct me

[DEV request] Undervolt capable kernel

I've been a lurker on XDA for 6 years, but this is the first post, so I can't post in the development section. Is anyone interested in releasing a tweaked stock kernel that can be undervolted? That's free battery life improvements and cooler temperatures on the table that we aren't utilizing. Thanks.
undervolt capable kernel for all Quarks here:
[Kernel][All Quark]BHB27-Kernel[5.1.1][CM base ROM's][V-1.2.3]
http://forum.xda-developers.com/moto-maxx/development/kernel-bhb27-kernel-t3207526
or you're asking for another one?
Sorry, should have specified that I'm looking for a kernel compatible with the stock ROM, or in my case, Computerfreek's unlocked ROM for the XT1254.
^^ i second that motion, ive tried flashing BH's kernel on CF's rom and it does not work.
@baybutcher27 did Motorola release the source for their kernel?
yes.
https://github.com/MotorolaMobilityLLC/kernel-msm/tree/lollipop-5.1.1-release-quark
the job is not easy to make adaptation to stock kernel is need the kernel source for that ROM that one is for su44 but I don't believed that is 100% update in relation to the kernel that is on Su 44, some tings are odd to me when I look to the source but it must work. we can make that one to work on custom ROM, but to make it work on stock, is need a dev that have a XT1254 and are on verizon network and a lot of time.
Most change that I make work on custom can be ported to the stock kernel, so if a dev can do this it just need to check to my or any other msm or apq8084 device nexus 6, and samsung device that have apq8084 variant note 4 and S5 maybe others.
I can make my kernel boot on xt1225 5.0.2 stock ROM, but many tings don't work of course that kernel source is not made to xt1225 stock ROM but I can make it boot, so if a dev has a xt1254 and are on verizon may have more luck.

Sense Rom

Correct me if I am wrong, but with out unlocked bootloader, a dev could make a sense rom if there was enough kind requests?
While the unlocked bootloader makes it possible, that doesn't mean it will happen. Most developers don't make ROMs because its requested, but because they enjoy doing so and giving to the community. We could all band together and request a billion dollars from the bank but that's not gonna make them give it to us.
Unfortunately, those of us with a quark phone with a passion for modding and flashing is small. That's why we don't ha e a community with tons of ROMs like Nexus and other flagship devices.
But what we do have is a top of the line phone with some DEV love that is truely appreciated by those of us that use it and take pride in having a special unique phone.
However. There is an Xposed add-on that will allow you to flash sense apps, and with some theming and tweaks you can make CM almost look and function exactly like sense
What he said. Due to Verizon locking down the bootloader, which took about a year to overcome, the Droid Turbo XT1254 got ignored by a lot of devs.
However, dev work was done on the sibling Quarks (Moto Maxx/Moto Turbo XT1225)-- which luckily also works on the Droid Turbo (now that that bootloader is unlocked). Only problem is Motorola did not sell the other Quarks in places like Europe, Canada nor Asia (except for India) and even in the U.S. the unlockable bootloader Quark (the U.S. Moto Maxx, with same FCC ID as the Droid Turbo) was only sold via regional CDMA/LTE carriers and hard to get. The "international" Moto Maxx XT1225 was sold in Latin American countries and the Moto Turbo XT1225 was sold in India. This should have been a WORLD WIDE phone, sold EVERYWHERE -- like a Samsung or LG flagship phone, but was not for some reason. Very strange!
However, there's 3 or 4 custom 5.1.1 ROMs over in the Quark/Moto Maxx section which will work with the XT1254:
* [ROM][5.1.1][OFFICIAL][QUARK] MoKee OpenSource Project
MoKee OpenSource is based on the Google AOSP. @baybutcher27 is the dev.
http://forum.xda-developers.com/moto-maxx/development/rom-mokee-opensource-project-t3188936
* [ROM][All Quark][5.1.1]Resurrection Remix 5.5.9 [Optimized / O3 / GRAPHITE / KRAIT]
Resurrection Remix has tons of options. @BayButcher is the also the dev for this ROM, which is very popular.
http://forum.xda-developers.com/moto-maxx/development/rom-resurrection-remix-5-5-5-t3197643
* [Moto MAXX XT1225 / Droid Turbo XT1254][OFFICIAL] CyanogenMod 12.1
CM12.1 was our first custom ROM and without it there would be no others, because all the Quark (Droid Turbo/Moto Maxx/Moto Turbo) custom ROMs use @Skrilax_CZ CM kernel in their ROMs. Even @baybutcher27 kernel uses @Skrilax_CZ CM kernel as a base.
http://forum.xda-developers.com/mot.../moto-maxx-xt1225-cm12-0-pre-release-t3060089
Also, a custom kernel:
* [Kernel][All Quark]BHB27-Kernel[5.1.1][CM base ROM's][V-1.2.3]
Custom kernel for our Quarks, using CM kernel as base but with lots more options. @baybutcher27 is the dev.
http://forum.xda-developers.com/moto-maxx/development/kernel-bhb27-kernel-t3207526
I don't see any Sense ROM for any non HTC device.
Are you guys thinks that is really possible to make one for quark? I'm not shore if a regular dev can do, a very experience dev with Knowledge of CM quark and or Sense porting may, but I don't see one available to do that, I know I can't today and even if I do only that I may never be able some things are really hard to port.
Make a CM base ROM is easy any one can do if follow CM default recipe there is no mystery, may take a while to learn a few thing but is generally easy, the most hard thing is to setup the machine but for that google has a good tutorial and all the ROM manifest on git have they on too like RR for exemplo, if the particularly source need special config it will be on they manifest on git, if it is not there, is a easy find by just searching on other Moto device for that source.
Google tutorial
RR tutorial
So if you guys really wanna a ROM make your hands dirty and try to make one start by the easiest one that are CM base, the only thing that is need is a PC/Notebook with internet access average CPU about 100 to 150gb of free space, I'm build for months on my notebook and is a really simple one...
For a fact I know MM will bring new ROM different from the one we have today, I see some other dev with they MM source ready to make a ROM for quark the only problem is that today custom ROM are not working on MM but they will soon and then more ROM will be available.
If any one need help in build a ROM fell free to open a thread and quote me to help I will but don't expect step by step tutorial that already exist on google and XDA, I help in some things that are not much common and or related to quark only.
Fell free too to quot this post to any one that wanna this or that ROM, this way we may have more ROM in the future.
:good:
baybutcher27 said:
I don't see any Sense ROM for any non HTC device.
Are you guys thinks that is really possible to make one for quark? I'm not shore if a regular dev can do, a very experience dev with Knowledge of CM quark and or Sense porting may, but I don't see one available to do that, I know I can't today and even if I do only that I may never be able some things are really hard to port.
Make a CM base ROM is easy any one can do if follow CM default recipe there is no mystery, may take a while to learn a few thing but is generally easy, the most hard thing is to setup the machine but for that google has a good tutorial and all the ROM manifest on git have they on too like RR for exemplo, if the particularly source need special config it will be on they manifest on git, if it is not there, is a easy find by just searching on other Moto device for that source.
Google tutorial
RR tutorial
So if you guys really wanna a ROM make your hands dirty and try to make one start by the easiest one that are CM base, the only thing that is need is a PC/Notebook with internet access average CPU about 100 to 150gb of free space, I'm build for months on my notebook and is a really simple one...
For a fact I know MM will bring new ROM different from the one we have today, I see some other dev with they MM source ready to make a ROM for quark the only problem is that today custom ROM are not working on MM but they will soon and then more ROM will be available.
If any one need help in build a ROM fell free to open a thread and quote me to help I will but don't expect step by step tutorial that already exist on google and XDA, I help in some things that are not much common and or related to quark only.
Fell free too to quot this post to any one that wanna this or that ROM, this way we may have more ROM in the future.
:good:
Click to expand...
Click to collapse
Wow thanks alot, mabye ill have to give it a shot

7.0 port from nexus 4?

as the snapdragon s4pro and 600 are very similar and other than minor things the nexus 4 and m7 are close phones on the hardware level, how hard would it be to port this rom?
http://forum.xda-developers.com/nexus-4/orig-development/wip-aosp-7-0-nougat-t3448444
would someone be willing to give it a go?
I have not been in the dev scene since pre 5.0 and things have changed enough that it would be almost starting from scratch for me I figured someone with experience porting modern roms would be better suited for the task.
Why should someone port this rom? We have already two nice working 7.0 Roms for the M7 well both are not in final release yet but you can use Slim7 as daily driver its pretty good http://forum.xda-developers.com/htc-one/orig-development/rom-slim-7-t348665. Porting a Rom is a lot of work and Slim7 is AOSP so i think thats better
Porting ROMs isn't that easy, even with similar hardware. Building AOSP-based ROMs isn't easy as well. I'm working on it since two months, but it has its complications. If you want stock-like Nougat ROMs, I highly recommend the Slim7 beta, which isn't loaded with a ton of apps, or wait until I figure out the build of Nougat ROMs and get a working build of AOSP-OMS (which is pure AOSP but using CyanogenMod's sources and build system, so it's easy to build for the m7)

Categories

Resources