AOSP-based ROM building thread [Global] - Moto E Android Development

I figured I'd post my sources to get the ROM development starting
Let's all share sources and post our fixes for bugs if we happen to fix one
device: https://github.com/JackpotClavin/android_device_moto_condor
vendor: https://github.com/JackpotClavin/android_vendor_moto_condor
kernel: https://github.com/JackpotClavin/kernel-msm
Shameless plug at my android blob utility: http://forum.xda-developers.com/showthread.php?t=2794413
Using those sources you should be able to build CM11, but I cannot say if it will work for other AOSP ROMs.
The only modifications you will have to make will to be to hardware/qcom/display/Android.mk just add "msm8610" as so:
-ifneq ($(filter msm8226,$(TARGET_BOARD_PLATFORM)),)
+ifneq ($(filter msm8226 msm8610,$(TARGET_BOARD_PLATFORM)),)
Also, in hardware/qcom/media, git revert cf8408186605323a6797e5f431192ab434e79fff
How to build:
1. Type ". build/envsetup.sh
2. Type "brunch condor" and it should build!
I've only had the device for a little over a day, but what I have working so far:
Audio
Camera (video recording does not work yet)
Wifi
Sensors
May 25th: Video recording works now
May 26th: Bluetooth works now
I have the global device, but I live in the US so I cannot test whether the radio will work, but it appears that it *might* work, the baseband and everything shows, but I don't have a sim to test
I'm sure there are a lot of things in the ROM that aren't needed, like some daemons and services that I don't know are useless.

Hey, just released my trees as well. They're going to be useless if you try building mine, as you need to fetch the AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.020 display and media folders, call them caf-new, and patch them to build on cm.
https://github.com/cybojenix/android_device_motorola_msm8610-common
https://github.com/cybojenix/android_device_motorola_condor
https://github.com/cybojenix/vendor_motorola

Can I compile Carbon rom without the kernel sources? Can I follow steps in the 1st post for compiling any after market firmware?

aniket.lamba said:
Can I compile Carbon rom without the kernel sources? Can I follow steps in the 1st post for compiling any after market firmware?
Click to expand...
Click to collapse
No..! It won't work I think because it is CyanogenMod based ROM which cannot be built without a special kernel which supports 'clocking' and has many other special features that CM adds to it. I am not sure, but I have read this at some website.

Forever Alone said:
No..! It won't work I think because it is CyanogenMod based ROM which cannot be built without a special kernel which supports 'clocking' and has many other special features that CM adds to it. I am not sure, but I have read this at some website.
Click to expand...
Click to collapse
So can I build any ROM which doesn't require kernel sources? Need to build and post some ROMs before I get my Moto E.

aniket.lamba said:
So can I build any ROM which doesn't require kernel sources? Need to build and post some ROMs before I get my Moto E.
Click to expand...
Click to collapse
Yeah, MiUi and Chinese ROMs like that does not require custom kernel. However, try building the kernel. Just add some governors and some tweaks. Try yourself making the CM ROM without Kernel source, maybe it will boot! Best of Luck.

Forever Alone said:
Yeah, MiUi and Chinese ROMs like that does not require custom kernel. However, try building the kernel. Just add some governors and some tweaks. Try yourself making the CM ROM without Kernel source, maybe it will boot! Best of Luck.
Click to expand...
Click to collapse
Alright I'll see to it.

Forever Alone said:
No..! It won't work I think because it is CyanogenMod based ROM which cannot be built without a special kernel which supports 'clocking' and has many other special features that CM adds to it. I am not sure, but I have read this at some website.
Click to expand...
Click to collapse
The whole thread is based on CM with the prebuilt kernel and it boots fine. I'm using it right now. Every ROM should work using my sources.
Sent from my Moto E using XDA Free mobile app

JackpotClavin said:
I figured I'd post my sources to get the ROM development starting
Let's all share sources and post our fixes for bugs if we happen to fix one
device: https://github.com/JackpotClavin/android_device_moto_condor
vendor: https://github.com/JackpotClavin/android_vendor_moto_condor
Until we get kernel source, we will have to clone codeaurora.org/quic/la/kernel/msm in kernel/moto/condor and checkout the tag AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.020
Shameless plug for my android blob utility: https://github.com/JackpotClavin/Android-Blob-Utility
Using those sources you should be able to build CM11, but I cannot say if it will work for other AOSP ROMs.
The only modification you will have to make will to be to hardware/qcom/display/Android.mk just add "msm8610" as so:
-ifneq ($(filter msm8226,$(TARGET_BOARD_PLATFORM)),)
+ifneq ($(filter msm8226 msm8610,$(TARGET_BOARD_PLATFORM)),)
How to build:
1. First, you must uncomment the TARGET_KERNEL_SOURCE and TARGET_KERNEL_CONFIG in the BoardConfig.mk
2. Then must first build any library that will export the kernel header, so after typing "lunch cm_condor-userdebug" type "make hwcomposer.msm8610"
3. hwcomposer.msm8610 should be built, as well as a bunch of other libraries, this may take about 10 mins
4. Now we comment out TARGET_KERNEL_SOURCE and TARGET_KERNEL_CONFIG in BoardConfig.mk. This will trick the build system into exporting our kernel headers (step 2 performed this) then we go back to the prebuilt kernel since we do not have sources to build from.
5. Type "brunch condor" and it should build!
I've only had the device for a little over a day, but what I have working so far:
Audio
Camera (video recording does not work yet)
Wifi
Sensors
May 25th: Video recording works now
May 26th: Bluetooth works now
I have the global device, but I live in the US so I cannot test whether the radio will work, but it appears that it *might* work, the baseband and everything shows, but I don't have a sim to test
I'm sure there are a lot of things in the ROM that aren't needed, like some daemons and services that I don't know are useless.
Also, since we have no kernel source yet, we have to copy the prebuilt modules into the ROM, and use the /module_hashes crap in order to insmod a kernel module (wlan particularly)
Click to expand...
Click to collapse
Bro please upload the kernel sources to devhost or mediafire .
Thanks in advance
Sent from my XT1022 using XDA Free mobile app

There are no kernel sources out yet for the Moto E
Just git clone the caf repository and checkout the correct tag mentioned in the OP

Looks like kernel sources are up! I'm gonna build with the kernel to ensure everything is working in my build tree

JackpotClavin said:
Looks like kernel sources are up! I'm gonna build with the kernel to ensure everything is working in my build tree
Click to expand...
Click to collapse
Bro can you give me the kernel source code download link ???
Sent from my XT1022 using XDA Free mobile app

https://github.com/MotorolaMobilityLLC/kernel-msm
Checkout the kitkat-mr1-rel-condor branch
Sent from my Moto E using XDA Free mobile app

JackpotClavin said:
https://github.com/MotorolaMobilityLLC/kernel-msm
Checkout the kitkat-mr1-rel-condor branch
Sent from my Moto E using XDA Free mobile app
Click to expand...
Click to collapse
Let's start compiling a kernel with features packed in!

So anyone compiled the kernel sources??

If you use the github repositories from the OP you can compile an entire CM ROM with all of the things working in the OP
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Oh wow.... Let's begin the party...
Sent from my XT1022 using XDA Free mobile app

What fun! I've just rooted, xposed, added gravity box and xprivacy. What I'm dying to get working is call recording, but that's always a no go with Motorola phones
Sent from my XT1022 using XDA Free mobile app

Can anyone provide me with the stock kernel? The boot.img is what I'm asking for.

InfinityShooter said:
Can anyone provide me with the stock kernel? The boot.img is what I'm asking for.
Click to expand...
Click to collapse
Here You Go .......
boot.img Of Moto E......

Related

[ROM][OFFICIAL][4.4.2] OmniROM [ATT/CAN]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What is OmniROM?
OmniROM Gerrit Review
Disclaimer
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
*/
Important Information
Root access has not been incorporated into the ROM source yet, so you will need to flash SuperSU in recovery SuperSU
For all you Do-It-Yourself-ers, simply follow this guide to initialize a build environment and get your own builds started - OmniROM - Setting Up A Compile Environment​
Got a bug report? Want to request a feature?
jira.omnirom.org​
Click to expand...
Click to collapse
Installation Instructions
FROM ANOTHER ROMS
Factory Reset/Wipe Data
Format System
Format Dalvik Cache
Install ROM
Install Gapps
Reboot
Profit
UPDATE FROM OMNIROM TO NEWER RELEASE
Settings -> System Updates -> Check for update
You will NOT need to wipe anything with the delta updates :good:​
Click to expand...
Click to collapse
Downloads​
ROM:
jflte
http://dl.omnirom.org/jflte/
Gapps:
PA 0-Day Gapps​
Click to expand...
Click to collapse
Contributors/Credit
The OmniROM Team - Great devs that have taught me just about everything I know about this stuff in such a short amount of time
CyanogenMod
ParanoidAndroid for the GApps package
@jumoog for working with me on the jf family of devices (MOAR Galaxay S4's to be supported soon!)
@SferaDev for ALL the work on adding Samsung RIL support
@CNexus for his awesome boot.img tools and helping me out
@Evisceration for his insane kernel pwnage
Testers
@CPA Poke
@LamboDroid19
@RockMan195
@crzygrmn
@uberstupd
@Pump Ac7i0n
And anyone else I apologize I forgot on this list but thank you
Source
OmniROM Source
XDA:DevDB Information
OmniROM, a ROM for the AT&T Samsung Galaxy S 4
Contributors
jakew02
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Rooted, Custom Recovery
Based On: AOSP
Version Information
Status: Alpha
Current Stable Version: -
Current Beta Version: -
Created 2013-10-28
Last Updated 2014-04-08
Changelog
Changelog
OmniLog - jflteatt
OmniLog - jfltecan​
Q&A
Frequently Asked Questions​
Q: Why don't I have root access after installing OmniROM?
A: OmniROM does not have an official, prebuilt root method yet, so you'll just need to flash SuperSU in recovery and you'll have 100% working root access. SuperSU can be found here: SuperSU
Q: Where is <insert feature here>, like CM/AOKP/PA/etc have??
A: Omni is still very early in development, but moving at an incredibly fast rate. New feature, bug fixes, and device support are added just about daily. Check it out here: OmniROM Gerrit Review for the latest and greatest
Q: How do I start/stop screen recording?
A: Volume UP + Power will start screen recording. Simply drag the notification bar down and click the button to stop.
Q: HALP NFC doesn't work!!
A: We know.
Nice to see a new release, thanks for sharing with us
Awesome
Interesting ...
Nice work Jake!
Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app
anyone try it out yet?? i've been running it all day. everything's working great! :highfive:
I just wiped everything and installed it. I haven't found any issues yet, but I haven't even made any phone calls yet.
Thanks a ton for pulling this all together and sharing with the rest of us. I've been itching to try Omni.
EDIT: I made a phone call now! I haven't run across anything that doesn't work. Calls, texts, camera all work fine.
jakew02 said:
anyone try it out yet?? i've been running it all day. everything's working great! :highfive:
Click to expand...
Click to collapse
I did load it up seems to run just fine, missing alot of features I like to use such as hardware keys (custom settings) which is the main thing and the general interface options so I'll wait for some future tweaks.
I'd love to try this but again what are the tweaks in this rom? What do they differ from others and what are the same?
Sent from my SGH-I337 using XDA Premium 4 mobile app
PapaMag said:
I did load it up seems to run just fine, missing alot of features I like to use such as hardware keys (custom settings) which is the main thing and the general interface options so I'll wait for some future tweaks.
Click to expand...
Click to collapse
Custom hardware keys options are comnig very soon
lauterm said:
I just wiped everything and installed it. I haven't found any issues yet, but I haven't even made any phone calls yet.
Thanks a ton for pulling this all together and sharing with the rest of us. I've been itching to try Omni.
EDIT: I made a phone call now! I haven't run across anything that doesn't work. Calls, texts, camera all work fine.
Click to expand...
Click to collapse
toxicpaulution said:
I'd love to try this but again what are the tweaks in this rom? What do they differ from others and what are the same?
Sent from my SGH-I337 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Right now there are less than CyanogenMod, it is very close to stock AOSP at this point, but Gerrit review is overloaded with tons and tons of new features, theres at least one or so new features being merged in daily. Read the articles I posted in the OP for more information on that from the OmniROM team themselves, their philosophy, and future plans
It might be missing some extras, but this is a very solid ROM.
I've only found two minor issues that are probably upstream issues. The capacitive buttons never light up. I'm pretty sure that's a known Omni-wide issue. Secondly, I got root to work, but OpenVPN Installer still says it can't remount /system as rw. I even tried remounting it rw first in root explorer, but it just won't install the OpenVPN binary. I'm guessing that's related to root not being built in.
Battery life seems good given how much I've had the screen on (50% battery with over 2.5 hours of screen on).
Overall, great job, Jake!
Sent from my SGH-I337 using xda app-developers app
Will there be a jfltecan build down the road?
SGH-I337M jfltecan
Gordietm said:
Will there be a jfltecan build down the road?
SGH-I337M jfltecan
Click to expand...
Click to collapse
definitely. i didn't want to push out builds for a device that i couldn't test on.
If someone wants to test for me, I'll definitely do it. :highfive:
Gordietm said:
Will there be a jfltecan build down the road?
SGH-I337M jfltecan
Click to expand...
Click to collapse
I would gladly test it.
SGH-I337M jfltecan
Gordietm said:
I would gladly test it.
SGH-I337M jfltecan
Click to expand...
Click to collapse
I'll send you a PM once i get it built. working on having it compile TWRP over CWM right now , after class i'll start working on jfltecan :good:
Jakew02, I'm going to try to compile a build using your repos. Hopefully I can start trying to contribute a bit. I'm a total noob though.
Sent from my SGH-I337 using Tapatalk
jakew02 said:
I'll send you a PM once i get it built. working on having it compile TWRP over CWM right now , after class i'll start working on jfltecan :good:
Click to expand...
Click to collapse
Huh? Recovery is NOT built into the kernel for this device. Its in a different partition of its own. There is no compiling TWRP over CMW for this device. Recovery needs to be compiled separately if you're trying to compile your own. Just look in the device repos.
jakew02 said:
I'll send you a PM once i get it built. working on having it compile TWRP over CWM right now , after class i'll start working on jfltecan :good:
Click to expand...
Click to collapse
I'm on Canadian i337m and I would test it too.
Right now I'm just using t mobile or ge roms. To chicken to flash any thing att only.
Sent from my SGH-M919 using xda app-developers app
task650 said:
Huh? Recovery is NOT built into the kernel for this device. Its in a different partition of its own. There is no compiling TWRP over CMW for this device. Recovery needs to be compiled separately if you're trying to compile your own. Just look in the device repos.
Click to expand...
Click to collapse
Well, add TWRP configuration to the device tree then and confirm it still builds
Sent from my SGH-I337 using Tapatalk

[UnORom][3.4Kernel] CM-11 Android 4.4.4 [Stable v2.0][29 July][Final]

UnORoms Project
Presenting you CyanogenMod - The Flemmard Way ​
UNOFFICIAL VERSION​
About CyanogenMod
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
CyanogenMod Website
About CyanogenMod
CyanogenMod Source
​
Credits
CyanogenMod - For their source
@Flemmard : Thanks for awesome device trees and kernel. For fixing Camera using 3.4 drivers
@u-ra : Helping me fix camera
@shantur (me) : Fixing bits in Camera
@bilal_liberty
@Sultanxda
@ivanich
@SebastianFM
@johnnyslt
@albinoman887
If I have forgotten anyone, I apologise please pm me and i will correct my mistake​
Features
3.4 Kernel based on HTC MSM8960 - @Flemmard - You are the man
3.4 Camera Drivers and libs
Continuous Autofocs in Photo and Video modes.
HDMI working with specific steps http://forum.xda-developers.com/showpost.php?p=51684382&postcount=176
Awesome sound
In kernel mp-decision
Stock Sensation XE CPU frequency 1.5GHz
Fast Charge enabled
No known freezes or reboots.
... will add more to list as things go on.
​
DISCLAIMER
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards or you
* getting fired because the alarm app failed. Please do some research
* if you have any concerns about features included in this ROM before flashing it!
* YOU are choosing to make these modifications.
I am not part of CyanogenMod, I just compiled this rom for Sensation as part of UnoRoms Project. In no way I take the credit for Source​
Screenshots
.... Coming Soon ....​
Instructions
1. Download and install latest TWRP Recovery from here
2. Download Latest Release from link below
2. Download Latest Mini Modular GApps from here
3. Boot into recovery
4. Wipe data, cache if coming from other rom
5. Flash Rom
6. Flash Gapps
7. Reboot
8. Feel good
9. Hit Thanks
​
Downloads
ROM
GAPPS
Source
​
Donations
If you would like to donate for this Rom please donate to @Flemmard. This is all his brain child.
​
-= Request =-​
The current nightlies server is non other than my laptop which is working day (for development) and night (for nightlies). It is getting low on space day by day with every new rom that I am trying. Currently nightlies are built in an external drive connected with USB3.
If you really think this project is a good effort, please consider funding towards a good build server that I could use for nightlies and towards the cost for maintaining the download servers. I do not want to put ads for supporting this project if you guys will chip in a bit.
Let me know if you have any other suggestions for supporting this project.
​
Reserved 1
Reserved 2
Yes! Good to see an alternate build with flemmards kernel.
Out of curiosity is there anything majority different/better with this build than team-sennyc2's?
Looks like some problems with UnoRoms download server. If things dont work out soon you guys will need to wait
sjknight413 said:
Yes! Good to see an alternate build with flemmards kernel.
Out of curiosity is there anything majority different/better with this build than team-sennyc2's?
Click to expand...
Click to collapse
In my opinion this kernel and rom are more stable. Kernel based on cm 8960 so it fully compatible with caf.
There is a typo in thread name, should be 4.4.2
Sent from my Nexus 4 using XDA Premium 4 mobile app
ivanich said:
In my opinion this kernel and rom are more stable. Kernel based on cm 8960 so it fully compatible with caf.
There is a typo in thread name, should be 4.4.2
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Awesome! So will our Sensation ever get official CM?
your download server is working now but the folder you've linked doesn't exist, real link is http://xda.shantur.com/pyramid/roms/cm-flemmard/ but there are no files in there for now.
The download server was not working when the build completed so the build didnt upload. Building again now hopefully it should be available in next 1.5 hours.
sjknight413 said:
Yes! Good to see an alternate build with flemmards kernel.
Out of curiosity is there anything majority different/better with this build than team-sennyc2's?
Click to expand...
Click to collapse
As ivanich said its fully compatible with caf. Team senny is using 3.0 camera driver and libs. This uses the original 3.4 drivers and libs
Sent from my iPhone using Tapatalk
shantur said:
As ivanich said its fully compatible with caf. Team senny is using 3.0 camera driver and libs. This uses the original 3.4 drivers and libs
Sent from my iPhone using Tapatalk
Click to expand...
Click to collapse
So, this rom theoritically bug free?
Mark376 said:
So, this rom theoritically bug free?
Click to expand...
Click to collapse
Sound issue the same as in teamsenny rom.
first of all thanks to @Flemmard for his incredible work!! the rom seems really really smoth and everything it's ok except camera...till now i've tried using stock app but it makes the phone crashed and using focal but it shows nothing
cclaxx said:
first of all thanks to @Flemmard for his incredible work!! the rom seems really really smoth and everything it's ok except camera...till now i've tried using stock app but it makes the phone crashed and using focal but it shows nothing
Click to expand...
Click to collapse
Code:
adb shell
su
mount -o rw,remount /system
cp /system/lib/hw/camera.vendor.msm8660.so /system/lib/hw/camera.default.so
reboot
Anyway it FC's sometimes.
ivanich said:
Sound issue the same as in teamsenny rom.
Click to expand...
Click to collapse
Isnt that fix with acbd from mako? Or it isnt integrated in this rom?
Mark376 said:
Isnt that fix with acbd from mako? Or it isnt integrated in this rom?
Click to expand...
Click to collapse
acdb from mako broke volume control when incall, and this rom uses villeC2 libs so distortions are here as well.
A new build is fired, it should fix camera not working. It will take 1.5 hours to be ready.
Will be front facing camera working & recording? Still delay when recording? Thanks.
shantur said:
A new build is fired, it should fix camera not working. It will take 1.5 hours to be ready.
Click to expand...
Click to collapse
Hi shantur,
if it possible in the next build will you enable selinux? it seems it's permissive right now.
Mark376 said:
Hi shantur,
if it possible in the next build will you enable selinux? it seems it's permissive right now.
Click to expand...
Click to collapse
Its not priority now. First we need to have a fully working and stable build.

[ROM][DEV][D2303][4.4.4] CyanogenMod 11 - Alpha 2| Developement & Discussion

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.4 (KITKAT), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
Unofficial build of CyanogenMod 11 (Android 4.4.4) for the Sony Xperia M2 (eagle)​
What's working:
Display
Audio playback
Audio recording
Video playback
Screenshot
External SDcard
Internal SDcard
WiFi
Bluetooth
Notification LED
MTP
USB Host / OTG
Torch
Brightness control
GPS
RIL
Not working:
Camera (http://pastebin.com/Te5CTy9a)
Sensors (light-sensor, accelerometer)
It's entirely possible that features not used by me are broken, but overall the device should be usable. You have been warned.
Download:
ALPHA 2 : https://www.mediafire.com/?wea2vj8265qx33s
ALPHA 1 : https://www.mediafire.com/?f5389z009525alx
GAPPS
Install instructions:
Boot into Recovery
Wipe data and cache
Flash the CM11 zip
Reboot
Reboot into Recovery
Install gapps
Reboot
Upgrading from earlier version of CyanogenMod 11:
Boot into Recovery
Flash CM11 zip
Reboot
Source:
https://github.com/M2Dev
https://github.com/CyanogenMod
Thanks to:
adfad666
XDA:DevDB Information
CyanogenMod 11 for Xperia M2, ROM for the Sony Xperia M2
Contributors
galaxyfreak
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Unlocked Bootloader
Based On: CyanogenMod
Version Information
Status: Testing
Created 2014-10-15
Last Updated 2014-10-17
Good work there I assumed this is for the single sim LTE model, but should this work for the single sim WCDMA ?
Sent from my D2305
@galaxyfreak
I have updated camera, gps and arch config. Probably we should add some more sony defs but please test how it is now. Logcat should look differently now or eventaually saying it's missing other parameters.
volunteering my assistance for this project, I can't install CM11 on my phone as it is my daily driver, but if you need someone to help read through logs etc, I would be happy to help
I would love to install CM11 to help developers solve some problems, but my model is D2306, I have root but no one made CWM for this model on KK. How can I proceed? D2306 is Single SIM, LTE, South America variant.
lozohcum said:
@galaxyfreak
I have updated camera, gps and arch config. Probably we should add some more sony defs but please test how it is now. Logcat should look differently now or eventaually saying it's missing other parameters.
Click to expand...
Click to collapse
did you test your updates? As I am building it now with some mods of my own.
Galaxyfreak / lozohcum added my to the M2Dev github (thanx ). If you guys like, I have setup M2Dev on my review site. I think it is better working for all of us to commit to there for commits that require testing. Only thing to do is to add my gerrit user to M2Dev so we can actually push to github from the review
Also, is the issue list in the OP complete? NFC? BT/Wifi tethering? To name some?
Looking forward to do some nice things here
initial code review
erikcas said:
did you test your updates? As I am building it now with some mods of my own.
Galaxyfreak / lozohcum added my to the M2Dev github (thanx ). If you guys like, I have setup M2Dev on my review site. I think it is better working for all of us to commit to there for commits that require testing. Only thing to do is to add my gerrit user to M2Dev so we can actually push to github from the review
Also, is the issue list in the OP complete? NFC? BT/Wifi tethering? To name some?
Looking forward to do some nice things here
Click to expand...
Click to collapse
As said, I have no another NFC device to test, also, I did not test tethering.
Added NFC to not working as you said it's not working last night.
Working on perfectly but please fix screen brightness settings thanks
ishakcez said:
Working on perfectly but please fix screen brightness settings fix thanks
Click to expand...
Click to collapse
Fixed just an hour ago. Will be featured in next build.
"Real-time" bug list: https://github.com/M2Dev/M2_logs/blob/master/README.md
Thanks a lot
Thank you bro, but i'll wait for Mobile Network and Camera, if you say me how i can do a total backup of my ROM i can test to say you if it work
(Sorry i'm french)
Tested it for 30 min now and it seem that themes are recognized very slowly, when I install one it takes 10-20 seconds to be availble to choose in theme chooser tested it with play store themes and themes i have to install via apk.
cant say anything about nfc because i dont have anything nfc related here.
everything you stated is working is working for me too so no problem there :fingers-crossed:
I have one question why is the android version 4.4.2, I also have the moto g and 4.4.4 seemed not to make any problems maby somethings can be fixed by upgrading the cm version.
keep up the good work looking forward to give my brother cm11 for his birthday :victory:
Very good !
I'll test it and i love !
When problems will be resolve i'll keep this ROM !
And i have a problem, my recovery don't work, why ?
Bryandu13 said:
I'll test it and i love !
When problems will be resolve i'll keep this ROM !
And i have a problem, my recovery don't work, why ?
Click to expand...
Click to collapse
The Kernel has to be replaced and I think that deletes the recovery, I reflashed it but you cant boot cyanogenmod after that
Sent from my D2303 using XDA Free mobile app
How can I have a custom recovery ?
How get CWM with cyanogenmod ? I need flash GAPPS !
Bryandu13 said:
How get CWM with cyanogenmod ? I need flash GAPPS !
Click to expand...
Click to collapse
You should have flashed that with cyanogenmod without reboot between
Sent from my D2303 using XDA Free mobile app
Thanks !
tomemon said:
You should have flashed that with cyanogenmod without reboot between
Sent from my D2303 using XDA Free mobile app
Click to expand...
Click to collapse
Thank you bro, did you test it ?
Does CWM work after that ?
Bryandu13 said:
Thank you bro, did you test it ?
Does CWM work after that ?
Click to expand...
Click to collapse
I have tested it and it works but cwm doesnt
now some devtalk (I see a lot of Q&A talk in a dev section)
 @galaxyfreak / @lozohcum see my reimplement of primadriver here
I have re-imported it from caf. Now working, and without unbalanced irq's.
For ril (or actually, the problem might reside in qmuxd I think), first step to be taken is replace all firmware blobs that are taken from T2 ultra by blobs pulled from M2. I have already done so here
Now the device is able to power up the modem.
Ril is not working yet. For now, I am using the prebuilt ril blobs. Will now recompile without them and test that, also to check the qmuxd theory I have.
erikcas said:
now some devtalk (I see a lot of Q&A talk in a dev section)
@galaxyfreak / @lozohcum see my reimplement of primadriver here
I have re-imported it from caf. Now working, and without unbalanced irq's.
For ril (or actually, the problem might reside in qmuxd I think), first step to be taken is replace all firmware blobs that are taken from T2 ultra by blobs pulled from M2. I have already done so here
Now the device is able to power up the modem.
Ril is not working yet. For now, I am using the prebuilt ril blobs. Will now recompile without them and test that, also to check the qmuxd theory I have.
Click to expand...
Click to collapse
Nice work! Replaced adfad666's WiFi commits with yours in M2Dev.
On firmware, yeah, I left T2U firmware because on stock firmwares are stored on /persist partition and so I was feeling lucky

[CAF/AOSP][LA.BF.1.1.3-00110-8x26.0][6.0.0][STABLE]AOSParadox Project 2.0 - 20151111

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The AOSParadox Project 2.0​
What's CodeAurora Forums ?
Code Aurora Forum (CAF) is a consortium of companies with projects serving the mobile wireless industry. Software projects it concerns itself with are e.g. Android for MSM, Femto Linux Project, LLVM, MSM WLAN and Linux-MSM. Code Aurora is basically AOSP plus all Qualcomm specific enhancements and optimization.
What's AOSParadox Project ?
AOSParadox is a vanilla ROM. Our goal is to pick the least amount of commits possible on AOSP code. Why trying to add features, when CodeAurora provide us with chipset's specific sources ?
At the opposite of most of ROMs that you can find, the trees are made by oursleves to be integrated in this new ROM type.
What should I be aware of ?
Everything is custom and made to work with CodeAurora Forum's sources so customs kernels won't boot (ramdisk is different, selinux rules too, ...).
What doesn't work ?
Code:
- Tell us
Known bugs and their explanation
Dual SIM devices can't use their mobile network unless they convert their userdata partition to "ext4" which will allow them to use 1 SIM slot. Please follow the instruction from this post #703 by @JBCDroid
Autorotate is broken because the whole sensor API changed in Marshamallow and we can't fix it until Motorola release new proprietary blobs (same deal for dual SIM by the way)
Manual/Aufocus in Camera app works however, as I hacked the camera blobs to work because we need Camera blobs for Motorola it can be inconsistent. Just restart the app and it will work. I'm running this version since 5 days and I never had any issue around focus
Video Recording : you need to downgrade your recording resolution to 720p
Setings / Networks / Radio is force closing. The fix is to temporarly switch System Language to English, do what you wanna do on this settings and revert back to your original langage.
GPS is fully working. However it doesn't work with mobile datas on but it works without it.
Downloads
http://ns336247.ip-91-121-110.eu/AOSParadox/falcon/ #LAST_CHANGELOG
How to install ?
1) Place ROM & Gapps in your virtual SD
2) Reboot in Bootloader Mode
3) Go to "Recovery"
4) Wipe Data/Factory Reset
5) Wipe Dalvik cache
6) Install the ROM zip
7) Install the Gapps zip (credits to @vocoderism : gapps-mm-mini.zip and gapps-mm-fix.zip
8) Install SuperSU zip
9) Reboot
Team AOSParadox Members / Official Contributors
@edisile @Quasar @h2o64 @Thecrazyskull
Sources
device/motorola/falcon : (source) The device tree is fully made by us. The thing that I took somewhere else as the header to reflect this source
vendor/motorola : (source) We use our own proprietary files.
kernel/ : (source) This repository is based on F-AOSP
Here is the detailled list of every CM commits used in this ROM :
Code:
build :
https://github.com/AOSParadox/android_build/commit/91727aff6a03bea861633a03bc79a19d875dabf3
https://github.com/AOSParadox/android_build/commit/00089cd0087bac2e61fff354ea0ef709607454e5
https://github.com/AOSParadox/android_build/commit/29e52f8a873543ee9fdad98c18fceacbe3674b16
https://github.com/AOSParadox/android_build/commit/7d1ddd67ba2d616566f6635d4329232a51db6307
https://github.com/AOSParadox/android_build/commit/a1d71209ce42f01530aa2c3fb89fcc5ca46a41ce
https://github.com/AOSParadox/android_build/commit/8df19bb75555782f521bc36feb0271a3bfb5037e
https://github.com/AOSParadox/android_build/commit/def12f7a024f0256c7e67f442e6e76f34fc7788f
https://github.com/AOSParadox/android_build/commit/8b489fda322b28c0e08a1761996dbfb8aa108a88
https://github.com/AOSParadox/android_build/commit/7248ee992676252c4b7f57fcc22cb13a08be6e37
https://github.com/AOSParadox/android_build/commit/9ce6da9a7bbc3b981abf6a0c5081fc6074afcf89
https://github.com/AOSParadox/android_build/commit/ec7d7a313ca6a32538e5b9b419fd801637dc844b
https://github.com/AOSParadox/android_build/commit/367c12521a5e782dc19789280be11c2358fa96d3
https://github.com/AOSParadox/android_build/commit/46ae8da915a7aa13fbaed03be0c1f0286d1d59dd
https://github.com/AOSParadox/android_build/commit/9455076b63562644901ba0aeb33e2cf1d7acfddb
device/qcom/sepolicy :
https://github.com/AOSParadox/android_device_qcom_sepolicy/commit/075da2ab1a3c8bd078fb3fbe8fa5f0f7dedbc7cc
https://github.com/AOSParadox/android_device_qcom_sepolicy/commit/67008cb15f871cd2ef4ef18fe6d6cfd6a648681f
https://github.com/AOSParadox/android_device_qcom_sepolicy/commit/b0193cf87a0ef5d0c378cf4465d592ce801b8957
framework/base :
https://github.com/AOSParadox/android_frameworks_base/commit/5ebafeff0b5e03e3b57a7379ce4efb0ead4e085f
hardware/qcom/audio :
https://github.com/AOSParadox/android_hardware_qcom_audio/commit/decd63eaaba85af318c0854ef388a21c1d4327a6
https://github.com/AOSParadox/android_hardware_qcom_audio/commit/c1661a0000fd6a660cd9f28f26abd97871a23d31
hardware/qcom/bt :
https://github.com/AOSParadox/android_hardware_qcom_bt/commit/2d4f02b2c3fc766e67eafeb8f5ba82b3fee0e622
hardware/qcom/display :
https://github.com/AOSParadox/android_hardware_qcom_display/commit/caaf7e43153b70a4b501ecb9bc6b7f00b3d3956a
hardware/qcom/keymaster :
https://github.com/AOSParadox/android_hardware_qcom_keymaster/commit/7204381b1126d6e996b0fb094976ed8cc51eb73b
system/core :
https://github.com/AOSParadox/android_system_core/commit/7ba9ff37525f0bc36bf55c2b0466b3004faad854
system/qcom :
https://github.com/AOSParadox/android_system_qcom/commit/733c19a3dee254eadebba4cfc0bbeafd004d4c2a
https://github.com/AOSParadox/android_system_qcom/commit/48c75f6fbd8bf18e34dbdb560904dbac64b76872
If you want to build the ROM by yourself here is the tutorial.
If you just wanna look at the sources, follow the marshmallow_falcon branch along the Github
XDA:DevDB Information
[CAF/AOSP][LA.BF.1.1.3-00110-8x26.0][6.0.0][STABLE]AOSParadox Project 2.0 - 20151111, ROM for the Moto G
Contributors
h2o64
Source Code: https://github.com/AOSParadox
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Stock Lollipop and/or 41.18 Bootloader
Based On: CodeAurora Forums
Version Information
Status: Stable
Current Stable Version: LA.BF.1.1.1_C5
Stable Release Date: 2015-10-28
Current Beta Version: LA.BF.1.1.3-00110-8x
Beta Release Date: 2015-10-28
Created 2015-06-15
Last Updated 2015-11-12
Changelogs
Previous CHANGELOG. but I prefer liking the post, it gives the context of publication + changelog
Reserved 2
Looks amazing, gonna wait till otg works
So grateful to you......
Well i am putting this on download just right away. Well i waited for months this to happen. Well i will test for dual SIM... it will take hour but still worth... Another AOSP project.... MMMM loving it.....
Wanna check the dual sim support first...
It looks very promising. I wonder how smooth it is and battery lifetime
Theme manager or Layers? or no customizations to system look?
plantator said:
Theme manager or Layers? or no customizations to system look?
Click to expand...
Click to collapse
There aren't and I don't think we will implement it because we want to keep it smooth and powerfull as max as possible.
Okay understand so any modifications can be provided through xposed and modules yes? or xposed don't like this rom? There is noticeably improvment in battery life?
plantator said:
Okay understand so any modifications can be provided through xposed and modules yes? or xposed don't like this rom? There is noticeably improvment in battery life?
Click to expand...
Click to collapse
Xposed should work propertly.
Really ? Nice
@h2o64 I'm anxious to try it as soon possible! Thank you :good:
sfoot13 said:
@h2o64 I'm anxious to try it as soon possible! Thank you :good:
Click to expand...
Click to collapse
A build with OTG fix is building.
h2o64 said:
A build with OTG fix is building.
Click to expand...
Click to collapse
Oh thanks for tell me, I'll wait. OTG is very necessary for me
Xt1033 support?
ivanrivas said:
Xt1033 support?
Click to expand...
Click to collapse
It should but nobody tested it.
Dual sim works (xt1033)! Testing it as we speak. Thanks.
Edit: However it FC when I enter Security in Settings.
dysoct said:
Dual sim works (xt1033)! Testing it as we speak. Thanks.
Edit: However it FC when I enter Security in Settings.
Click to expand...
Click to collapse
Hmmm I didn't noticed this bug ! Thanks for reporting
> inb4 powered by TGM-Hybrid Kernel
h2o64 said:
There aren't and I don't think we will implement it because we want to keep it smooth and powerfull as max as possible.
Click to expand...
Click to collapse
Im gonna miss theme engine [emoji20]

[ROM][6.0.1] AOKP for ZUK Z1

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
AOKP-ANDROID OPEN KANG PROJECT​
What is AOKP?​
AOKP stands for Android Open Kang Project. It is a custom ROM distribution for several high-end Android devices. The name is a play on the word kang and AOSP (Android Open Source Project). The name was sort of a joke, but it just stuck, just like our infatuation with unicorns.​
We fork the source code of Android that Google puts out in the open with every major version release, and we then add the magical unicorn bytes (read: we add some of the coolest features that are both useful and make your ROM awesome).​
With AOKP, you can generally do a lot more with your device than what you could do with the original firmware that came installed on it.​
Why AOKP ?​
We were waiting for when you'd ask this.
There are a variety of reasons why a hilly billy Android user, on a bright sunny day, would suddenly start using AOKP and loving it.
For one, AOKP is lightweight. Most OEMs provide a heavy UI layer over Android and have loads of bloatware (i.e. apps that not everyone use every day, but you cannot remove because they're "baked in" by default). Since AOKP is built upon vanilla Android source, it has neither of the above.
Also AOKP has features that you will not find on your stock firmware. You can have a multitude of toggles to quickly flip a lot of your phone's settings right at your fingertips, or you can launch apps quickly from any screen using our Ribbons.
You can change almost each and every aspect of the OS, from its looks to the way it functions, with total freedom. And did we tell you, AOKP helps you make tacos?​
Downloads​ROM
Gapps
TWRP​
Instructions​
Factory Reset/Wipe Data
Format System
Format Cache
Format Dalvik Cache
Install ROM
Install Gapps
Reboot​Credits​CyanogenMod
AOKP
Elephone for providing me a ZUK Z1
XDA:DevDB Information
AOKP MM for ZUK Z1, ROM for the Lenovo Zuk Z1
Contributors
eagleeyetom
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Latest CM 13.0 firmware
Based On: AOKP
Version Information
Status: Testing
Created 2016-05-06
Last Updated 2016-05-06
To compile this ROM I have used official CM sources. I will not update it daily. Updates will come once for a while, possibly a week or so.
If you want to compile it yourself, follow these instructions:
Android Open Kang Project
Download the Source
Please read the AOSP building instructions before proceeding.
Initializing Repository
Initiate core trees without any device/kernel/vendor:
Code:
[PLAIN]$ repo init -u https://github.com/AOKP/platform_manifest.git -b mm[/PLAIN]
Sync the repository:
Code:
$ repo sync
Clone the unofficial ham repo:
Code:
[PLAIN]$ git clone [email protected]:eagleeyetom/android_device_zuk_ham.git -b mm device/zuk/ham && git clone [email protected]:TheMuppets/proprietary_vendor_zuk.git -b cm-13.0 vendor/zuk[/PLAIN]
Building
After the sync is finished, please read the instructions from the Android site on how to build.
Code:
. build/envsetup.sh
lunch
You can also build for specific devices (eg. ham) like this:
Code:
. build/envsetup.sh
lunch aokp_ham-userdebug
mka rainbowfarts
Remember to make clobber && make clean every now and then!
Features​
Nice to see this awesome rom for the Zuk Z1. Its sad to see the lack of development for this device, good to have you her.
Fingerprint does not work
Greeeat buddy!! Really appreciate this! Can your device tree be used to build other ROMS?
Thanks again!
luiseteyo said:
Greeeat buddy!! Really appreciate this! Can your device tree be used to build other ROMS?
Thanks again!
Click to expand...
Click to collapse
Edit: Hmm looks different to normal device trees, will try to build omni with it.
OrdenKrieger said:
He used the normal CM devvice tree. He just renamed the cm.mk to aokp.mk and some other lines in the files. You can do that by your self, just research on the internet.
Click to expand...
Click to collapse
EDIT. My fault, I was looking into CM branch. This is mm branch.
Cheers
OrdenKrieger said:
Edit: Hmm looks different to normal device trees, will try to build omni with it.
Click to expand...
Click to collapse
Omni requires extra work, as its totally different from the CM tree. We would have to create a pure CAF kernel to have Omni and Dirty Unicorns. It's not easy, but possible The Tree you were looking at is TWRP one.
Any bugs report?
Zhuang zhuang said:
Fingerprint does not work
Click to expand...
Click to collapse
Really, somebody can confirm ?
liver20 said:
Really, somebody can confirm ?
Click to expand...
Click to collapse
Yes there is no FP option..
Other then that it is cool, most of options are like RR.
eagleeyetom said:
Omni requires extra work, as its totally different from the CM tree. We would have to create a pure CAF kernel to have Omni and Dirty Unicorns. It's not easy, but possible The Tree you were looking at is TWRP one.
Click to expand...
Click to collapse
I´m all in with you, did thought about that, but no one to work with.
My initial kernel port for 6.0.1 for this device was based on LA.BF.1.1.3_rb1.6, so i think we can do something.
Cheers
JoaoPaulo said:
I´m all in with you, did thought about that, but no one to work with.
My initial kernel port for 6.0.1 for this device was based on LA.BF.1.1.3_rb1.6, so i think we can do something.
Cheers
Click to expand...
Click to collapse
What an interesting project! I wish we could port dirty unicorns to ham!
Enviado desde mi Z1 mediante Tapatalk
JoaoPaulo said:
I´m all in with you, did thought about that, but no one to work with.
My initial kernel port for 6.0.1 for this device was based on LA.BF.1.1.3_rb1.6, so i think we can do something.
Cheers
Click to expand...
Click to collapse
I guess we can try to port it. Setting up a device tree shouldn't be that difficult. I did that in the past. We just need to have a working kernel. I will set up an IRC channel tomorrow to see if we can find some developers ready to make ham community thrive!
deyerick said:
Any bugs report?
Click to expand...
Click to collapse
Well, you can always flash the ROM and try it for a bit to find out yourself. I'm sure that reporting back would give you a few thanks from other members of our small community It's CM based, so there are CM bugs present.
eagleeyetom said:
I guess we can try to port it. Setting up a device tree shouldn't be that difficult. I did that in the past. We just need to have a working kernel. I will set up an IRC channel tomorrow to see if we can find some developers ready to make ham community thrive!
Click to expand...
Click to collapse
If we setup a build tree for dirty unicorns, couldn't we use this one to build other AOSP roms? :good: That would be really awesome, because this device has a big lack of development.
OrdenKrieger said:
If we setup a build tree for dirty unicorns, couldn't we use this one to build other AOSP roms? :good: That would be really awesome, because this device has a big lack of development.
Click to expand...
Click to collapse
You mean something like AOSParadox or even pure AOSP? That's possible. Omni trees are closer to AOSP than CM.
eagleeyetom said:
You mean something like AOSParadox or even pure AOSP? That's possible. Omni trees are closer to AOSP than CM.
Click to expand...
Click to collapse
Yep it is much closer, it will be a kind of difficult at begin,after we can make it boot, it will be so awesome, like we did with cm13
Oh Thank you very much! I think it will come out a fantastic TEAM!
Thanks @eagleeyetom , @JoaoPaulo , @OrdenKrieger and @MrColdbird
You are the best guys. :highfive:

Categories

Resources