Lol, you beat me to itFor what lol
Sent from my DROID RAZR HD using Tapatalk 2
Apple blows
Posted 12 April 2013 - 02:57 PM
Lol, you beat me to itFor what lol
Sent from my DROID RAZR HD using Tapatalk 2
Posted 12 April 2013 - 03:01 PM
For what lol
Sent from my DROID RAZR HD using Tapatalk
Posted 12 April 2013 - 07:27 PM
For what lol
Posted 12 April 2013 - 11:40 PM
POPULAR
Posted 13 April 2013 - 12:03 AM
Hello!
Small update: As 1 or 2 of you noticed when syncing down the sources used to build this ROM, CM has made some adjustments in their QCOM support. And that effectively breaks the build for the HD.
I spent a day analysing some potential bandaids to get the build up and running again, and then looked at the kernel and what it would take to get the device into a prime position to support AOSP in the best possible manner (not just for Android 4.2 but going forward).
My thoughts were:
To keep applying bandaids and avoid the larger issues with the camera and graphics driver compatibility issues, would end up taking a lot of time to support and the device would never really feel "right" due to lack of features.
So yesterday I began work on a NEW kernel straight from QCOM, essentially same "starting" kernel that the Nexus 4 developers based their work on.
They used a branch from the msm kernel: jb_2.5 And you can find these sources here:
What does all of this mean?
I'm taking the device back down to the metal and rebuilding it using updated (Jellybean 4.2 compatible) drivers. In many cases there will still be Motorola files in play here (radio, and some proprietary camera files), but in many other cases, I can drop stock files in favor of QCOM supported drivers which will be easier to keep updated as time goes on (read: Android 5.0)
Why go through the trouble?
It's all about the best way to actually run Android on the device. When you're trying to make something like the camera work and it's dependant on a driver in the kernel running a certain way for the OS, then the obvious answer is change the kernel. By doing so you create a very "compatible" Android environment which is easy to build straight out of the box in CM and other ROM flavors.
And that's the end goal: End up with a well supported, easy to dev device, which doesn't require many Motorola binaries to stay up-to-date.
Does it boot yet? How is progress?
I literally just got started. The kernel doesn't boot at all yet and I'll need a few days of work before I can even try some early boot tests.
So what now?
I'll check in with more progress later, but the next steps are:
1. Finish integrating all of the device drivers into the new kernel. Some come straight from the old 3.0 kernel, some need to be re-worked against the newer kernel sources and some will be pulled from other kernels (or used as an example).
2. Port forward any Motorola specific changes to the kernel. For instance there are many modifications to the USB driver to handle Motorola specific functions like docks and other features. Same goes w/ the charger driver, HDMI and video drivers. All of these customizations may need to be adjusted as they get added to the new kernel.
3. Then I run many many boot tests. Each one usually ending in a big crash log which are scanned through looking for bugs to fix.
Usually after a hundred or so boots in step #3, Android can finally be loaded and then the larger part of debugging can begin.
So it will be a bit before there is a "new" CM build, but the hope is that it's something which can be merged into their official device list and supported for quite a while to come.
Thanks for being patient
Become a supporting member and help, get a DEV a phone, by going HERE
Please take the time to read our forum rules and guidelines.
Posted 13 April 2013 - 12:18 AM
So yesterday I began work on a NEW kernel straight from QCOM, essentially same "starting" kernel that the Nexus 4 developers based their work on.
So it will be a bit before there is a "new" CM build, but the hope is that it's something which can be merged into their official device list and supported for quite a while to come.
Thanks for being patient
Posted 13 April 2013 - 02:21 AM
Hello!
Small update: As 1 or 2 of you noticed when syncing down the sources used to build this ROM, CM has made some adjustments in their QCOM support. And that effectively breaks the build for the HD.
I spent a day analysing some potential bandaids to get the build up and running again, and then looked at the kernel and what it would take to get the device into a prime position to support AOSP in the best possible manner (not just for Android 4.2 but going forward).
My thoughts were:
To keep applying bandaids and avoid the larger issues with the camera and graphics driver compatibility issues, would end up taking a lot of time to support and the device would never really feel "right" due to lack of features.
So yesterday I began work on a NEW kernel straight from QCOM, essentially same "starting" kernel that the Nexus 4 developers based their work on.
They used a branch from the msm kernel: jb_2.5 And you can find these sources here:
What does all of this mean?
I'm taking the device back down to the metal and rebuilding it using updated (Jellybean 4.2 compatible) drivers. In many cases there will still be Motorola files in play here (radio, and some proprietary camera files), but in many other cases, I can drop stock files in favor of QCOM supported drivers which will be easier to keep updated as time goes on (read: Android 5.0)
Why go through the trouble?
It's all about the best way to actually run Android on the device. When you're trying to make something like the camera work and it's dependant on a driver in the kernel running a certain way for the OS, then the obvious answer is change the kernel. By doing so you create a very "compatible" Android environment which is easy to build straight out of the box in CM and other ROM flavors.
And that's the end goal: End up with a well supported, easy to dev device, which doesn't require many Motorola binaries to stay up-to-date.
Does it boot yet? How is progress?
I literally just got started. The kernel doesn't boot at all yet and I'll need a few days of work before I can even try some early boot tests.
So what now?
I'll check in with more progress later, but the next steps are:
1. Finish integrating all of the device drivers into the new kernel. Some come straight from the old 3.0 kernel, some need to be re-worked against the newer kernel sources and some will be pulled from other kernels (or used as an example).
2. Port forward any Motorola specific changes to the kernel. For instance there are many modifications to the USB driver to handle Motorola specific functions like docks and other features. Same goes w/ the charger driver, HDMI and video drivers. All of these customizations may need to be adjusted as they get added to the new kernel.
3. Then I run many many boot tests. Each one usually ending in a big crash log which are scanned through looking for bugs to fix.
Usually after a hundred or so boots in step #3, Android can finally be loaded and then the larger part of debugging can begin.
So it will be a bit before there is a "new" CM build, but the hope is that it's something which can be merged into their official device list and supported for quite a while to come.
Thanks for being patient
Posted 13 April 2013 - 06:13 AM
Posted 13 April 2013 - 06:51 AM
So yesterday I began work on a NEW kernel straight from QCOM, essentially same "starting" kernel that the Nexus 4 developers based their work on.
Posted 13 April 2013 - 06:54 AM
Posted 13 April 2013 - 06:57 AM
Posted 13 April 2013 - 07:10 AM
Hello!
Small update: As 1 or 2 of you noticed when syncing down the sources used to build this ROM, CM has made some adjustments in their QCOM support. And that effectively breaks the build for the HD.
...
Posted 13 April 2013 - 07:26 AM
Thanks for all your hard work.
I was just wondering if the kernel would be compatible with xt925
Posted 13 April 2013 - 08:54 AM
Posted 13 April 2013 - 09:04 AM
You are a gentleman and a scholar!
+1
Sent from my XT926 using Tapatalk 2
Posted 13 April 2013 - 10:35 AM
Posted 13 April 2013 - 10:39 AM
Posted 13 April 2013 - 01:42 PM
Hello!
Small update: As 1 or 2 of you noticed when syncing down the sources used to build this ROM, CM has made some adjustments in their QCOM support. And that effectively breaks the build for the HD.
Thanks for being patient
Posted 14 April 2013 - 08:24 AM
Posted 15 April 2013 - 05:37 AM
Very interested to see where this leads!
0 members, 1 guests, 0 anonymous users