Shut up and take our money!
13.67KB 181 downloads
Posted 21 April 2013 - 03:54 PM
Shut up and take our money!
Posted 21 April 2013 - 04:48 PM
Posted 21 April 2013 - 04:50 PM
Hi Guys,
I thought I would get a thread going on this as I'm moving along (rather slowly -- I'll admit) on developing a new kernel for the Motorola QCOM phones. Obviously I will be testing it against the RAZR-HD, but if done correctly it should support RAZR-M, Atrix-HD and Photon Q.
Why a new kernel?
For full Android 4.2.x support we need to migrate to a fully redeveloped video system which include vsync, fencing and other major changes from the 3.0 kernel. We have tried to backport some of these changes with some success but in the meantime it's causing other side effects. Along with the video driver updates are camera subsystem and many many other updates.
For the future of the device we want to stay as close to Nexus type devices so that we can compile AOSP out of the box so to speak. N4 (Mako) uses a 3.4 kernel based on the same exact branch that I'm using from Code Aurora Forums (CAF).
What sources am I using?
I've started on the CAF base branch "jb_2.5" used to bring up the Nexus 4 device:
And the new kernel source is on github under a "razrqcom-dev-team" where Pinter and DHacker and others can all join in:
[NOTE] I have NOT posted my local changes to that kernel yet. It's the CAF sources + 2-3 commits I cherry-picked in, currently.
Current Status:
[DONE] Add all new drivers from the Motorola JB kernel posted on Sourceforge.net
[DONE] Patch existing code with Motorola specific changes (in a minimal sort of way -- only what is absolutely required here)
[DONE] Fix compile errors
[IN-PROGRESS] Boot testing using a recovery. Have to get far enough to where I'm seeing a ram-console "last_kmsg".
1-by-1 debug each driver using last_kmsg to where we get a fully functioning recovery build. This includes using binaries like evtest to debug touchscreen events, and other sensors.
Change over to a full Android build using CM sources which are fully patched up against CAF's latest sources: includes new hardware drivers for video, camera, audio and others.
Debug the Android boot using strace and other binaries till it's solid enough to start using specific apps to play test and debug issues.
Once I get to a point where I can post a full dmesg, I'll add that to this post (for those that are curious).
Thanks for being patient.
Posted 21 April 2013 - 06:27 PM
Posted 21 April 2013 - 06:32 PM
Just out of curiosity, will it require Moto to release some of their source to get everything working properly? Not really literate in kernel info. Or is it more of the hardware side of things that need to be released? Like needing QComm source? For video fixes...etc. or can that all be fixed with newly written code.....or.....?
A little bit of both.
Posted 21 April 2013 - 09:04 PM
It's nice to see the words "kernel" and "development" together on a Motorola forum. Good work Hash.
R. Long: Pixel 5
Posted 21 April 2013 - 09:15 PM
Posted 21 April 2013 - 09:25 PM
I so can't wait for this. Got a little taste of it running the PACMAN ROM for a night. Love the customization it has but it wouldn't send picture messages which is a deal breaker for me. Other than that it almost seemed good enough to be a daily driver. Keep up the good work! You'll get it eventually. I wish I knew how to do this stuff and had the time I would help.
I was able to pull a MMS.apk off of XDA and replaced the one that was included in a CM build I was using. It worked like a charm.
R. Long: Pixel 5
Posted 21 April 2013 - 09:31 PM
I so can't wait for this. Got a little taste of it running the PACMAN ROM for a night. Love the customization it has but it wouldn't send picture messages which is a deal breaker for me. Other than that it almost seemed good enough to be a daily driver. Keep up the good work! You'll get it eventually. I wish I knew how to do this stuff and had the time I would help.
I was able to pull a MMS.apk off of XDA and replaced the one that was included in a CM build I was using. It worked like a charm.
Posted 21 April 2013 - 11:58 PM
Can you share it please
Sent from my XT926 using Tapatalk 2
This is the one I used when I was on Trippin' Bean. Marxman incorporated it and there were no problems with MMS after that (as far as I know). I know it's in the ATT forum, but it worked perfectly for me.
R. Long: Pixel 5
Posted 22 April 2013 - 05:13 PM
Hash, really appreciate your work. Equally as important we really appreciate you keeping us up to date. So much easier to be patient and supporting when you've taken the extra time to update the OP as you have. You're going above an beyond! Fantastic!
Posted 22 April 2013 - 06:10 PM
Hash, really appreciate your work. Equally as important we really appreciate you keeping us up to date. So much easier to be patient and supporting when you've taken the extra time to update the OP as you have. You're going above an beyond! Fantastic!1
Posted 22 April 2013 - 11:43 PM
Thanks for updating the OP. It's great for us non-devs to get a peek at the steps for building a kernel.
Posted 23 April 2013 - 05:59 AM
Posted 24 April 2013 - 12:01 PM
Posted 24 April 2013 - 01:05 PM
Posted 27 April 2013 - 03:12 PM
Really excited for this would be great to have 4.2 up and running with everything working
0 members, 0 guests, 0 anonymous users