Need help to build CM12 for moto g xt1033 - Moto G Q&A, Help & Troubleshooting

Hello ,
I am new to android. I have brazillian Lollipop on my moto g xt1033.
I am trying to build cm12 and going through the cynogenMod wiki but stuck in one of instruction :
"Your device should already be running a build of CyanogenMod for the branch you wish to build for the extract-files.sh script to function properly."
So if I want to build CM12 for my device do I need to flash CM12 first??
If so , then can some please guide me , from where can I download CM12 image for xt1033.

ankrat said:
Hello ,
I am new to android. I have brazillian Lollipop on my moto g xt1033.
I am trying to build cm12 and going through the cynogenMod wiki but stuck in one of instruction :
"Your device should already be running a build of CyanogenMod for the branch you wish to build for the extract-files.sh script to function properly."
So if I want to build CM12 for my device do I need to flash CM12 first??
If so , then can some please guide me , from where can I download CM12 image for xt1033.
Click to expand...
Click to collapse
U won't need that part since we already have vendor files
Just cd to ur lollipop source code directory
Then
Code:
. build/envsetup.ah
Breakfast falcon
To start ur build
Code:
Brunch falcon

bharat_goku said:
U won't need that part since we already have vendor files
Just cd to ur lollipop source code directory
Then
Code:
. build/envsetup.ah
Breakfast falcon
To start ur build
Code:
Brunch falcon
Click to expand...
Click to collapse
thanks for the info.

Getting below erro :
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/motorola/falcon/cm.mk]]: "vendor/motorola/msm8226-common/msm8226-common-vendor.mk" does not exist. Stop.

ankrat said:
Getting below erro :
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/motorola/falcon/cm.mk]]: "vendor/motorola/msm8226-common/msm8226-common-vendor.mk" does not exist. Stop.
Click to expand...
Click to collapse
u probably forgot this in roomservices.xml
Code:
<project name="TheMuppets/proprietary_vendor_motorola" path="vendor/motorola" remote="github" revision="cm-12.0" />
it should look something like this but instead of anerikg type cyanogenmod
https://github.com/anerikg/local_manifests/blob/master/cm12.xml
sync breakfast and brunch
good luck

Related

Files

Hi guys and girls, my problem is: i'm making a ROM but i can't found the sources like kernel,proprietary vendor files and device configuration source
of KitKat in git format, the github of razrqcom-dev-team only have source of CyanogenMod 11, the sources of cm 11 doesn't work with the ROM i'm doing. Please Help
Itachitops said:
Hi guys and girls, my problem is: i'm making a ROM but i can't found the sources like kernel,proprietary vendor files and device configuration source
of KitKat in git format, the github of razrqcom-dev-team only have source of CyanogenMod 11, the sources of cm 11 doesn't work with the ROM i'm doing. Please Help
Click to expand...
Click to collapse
not released yet afaik
Sent from my phone

[Help] Building Rom

Hello people I wanted to help make a custom ROM CyanogenMod for my galaxy trend lite (duos).
I already have the source 12.1 and the sources of my device, and when I try to compile my terminal displays an error saying that I do not have the sources of my device
Note: I put in the right folders
I wanted a help to you I compile my custom rom for my device
Sometime after I exclude the source of CyanogenMod and when I went down again in the terminal lock 99%.
I am thinking it was the sourcefui try to download the source of (AOKP) but also of the same error
I am grateful for the responses
i have made working device tree (5.1.1) and kernel for GT-S7392 i may help you
androidlover5842 said:
i have made working device tree (5.1.1) and kernel for GT-S7392 i may help you
Click to expand...
Click to collapse
Thanks Man :good:
KYLEVE said:
Thanks Man :good:
Click to expand...
Click to collapse
welcome

KErnel problem

Im trying to compile the kernel from pmehra
for the rom color os 2.1 5.0.1
here the source :
https://mega.nz/#F!KgUGhKbB!G-bZ8zc-WdUIAXEWSzo7xQ
(alot of net/xxxx missing files)
it says : net/netfilter can't make recipe
Compilation stop
any dev can test the source and help fix ?
reserved

[Help] Sim not detecting on my compiled rom

HELP ME !!!
I'm new to ROM development.
Compiled AOSiP 6.2 ROM for Motorola Moto G 2015(osprey)
But after flashing Sim card not detecting. About Section shows Baseband to Unknown and IMEI also not showing.
Restored TWRP backup of old ROM and everything working, again flashed AOSiP ROM and same No Sim Problem.
Also Camera app shows blank screen but Pic click working (I think it's a kernel Bug)(SOLVED)
Though every other things working fine(like wifi)
Help me in solving these bugs.
Here is the link of file: https://drive.google.com/open?id=0B2QocKy9AyYVOEVUMlM2eHNDUmc
I'm also attaching all source link (may be i'm using wrong source)
Device Tree: https://github.com/AOSiP-Devices/device_motorola_osprey/tree/nougat
MSM Device Tree: https://github.com/AOSiP-Devices/device_motorola_msm8916-common/tree/nougat
Vendor: https://github.com/TheMuppets/proprietary_vendor_motorola/tree/cm-14.1 (only msm8916-common & osprey folder )
Kernel: https://github.com/desaishivam26/android_kernel_motorola_msm8916/tree/cm-14.1
nikhilpal2705 said:
HELP ME !!!
I'm new to ROM development.
Compiled AOSiP 6.2 ROM for Motorola Moto G 2015(osprey)
But after flashing Sim card not detecting. About Section shows Baseband to Unknown and IMEI also not showing.
Restored TWRP backup of old ROM and everything working, again flashed AOSiP ROM and same No Sim Problem.
Also Camera app shows blank screen but Pic click working (I think it's a kernel Bug)(SOLVED)
Though every other things working fine(like wifi)
Help me in solving these bugs.
Here is the link of file: https://drive.google.com/open?id=0B2QocKy9AyYVOEVUMlM2eHNDUmc
I'm also attaching all source link (may be i'm using wrong source)
Device Tree: https://github.com/AOSiP-Devices/device_motorola_osprey/tree/nougat
MSM Device Tree: https://github.com/AOSiP-Devices/device_motorola_msm8916-common/tree/nougat
Vendor: https://github.com/TheMuppets/proprietary_vendor_motorola/tree/cm-14.1 (only msm8916-common & osprey folder )
Kernel: https://github.com/desaishivam26/android_kernel_motorola_msm8916/tree/cm-14.1
Click to expand...
Click to collapse
Contact @ishubhamsingh on xda or telegram
EDIT: @ishubhamsingh says you are using wrong device trees he has advice to use aosp extended device trees as it and aosip both based on jdc
Sent from my Moto G 2015 using XDA Labs
Thanks ? it's now working by using aex device tree.
nikhilpal2705 said:
Thanks ? it's now working by using aex device tree.
Click to expand...
Click to collapse
Yes I know I am using it
Thanks for compiling
Sent from my Moto G 2015 using XDA Labs
Ye thanks! I was having the same issue until I switched to the AEX Osprey tree (I wasn't using the same trees as OP)

[ROM][8.1.0][THEA] Unofficial LineageOS 15.1 [ALPHA][UNIFIED]

WARNING: Broken RIL. THIS ROM IS NOT A DAILY DRIVER AND IS TOTALLY OBSOLETE. EMERGENCY CALLS ARE NOT POSSIBLE.
Use gothicVI's ROM which includes a working RIL and the latest O security patches.
If you want a daily driver Oreo ROM, flash LuK1337's LineageOS 15.1, which is the only alternative right now.
Because our thea deserves to be loved too!
LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), which is designed to increase performance and reliability over stock Android for your device.
LineageOS 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 restores the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
This is an unofficial LineageOS 15.1 build made from LuK1337 et al's source trees for the Motorola Moto G 2014 LTE, synced to the latest Lineage codebase with some changes. I have to fix a lot of stuff to make it a stable ROM and therefore development help is wanted and welcome. This ROM is a work in progress and it's purpose is to serve as a reliable base to port over other ROMs to the device, or just to be a smooth daily driver for Lineage fans.
Working: Those features are stable.
Boot
Sensors
WiFi
Bluetooth
Media
Camera: Photos
Status & Flash LED
Touchscreen
Broken: Feedback is wanted.
Video Recording
RIL: telephone calls, SIM, SMS, VoLTE, mobile data, emergency calling.
SELinux is permissive for now.
How to report issues:
Please follow this template. If you don't follow this template you will be ignored. Also feedback MUST be posted here and not as private messages unless I explicitly say so. And don't report issues that already appear here.
Code:
What is your...
* Phone model (XT107*):
* ROM version (0x**):
* GApps version if you use them:
* Xposed or Magisk:
* Kernel:
logcat:
* Link to Pastebin or similar
dmesg:
* Link to Pastebin or similar
Download:
Get the ROM here
Changelog:
Code:
## 20180619: release 0x01 ##
* Initial release.
## 20180627: release 0x02 ##
* Built against OPM6.171019.030.B1
* Fixed vendor image mismatch errors
XDA:DevDB Information
LineageOS 15.1 for Moto G 2014 LTE , ROM for the Moto G 2014 LTE
Contributors
Wattsensi, the Moto G 2014 Dev Team
Source Code: http://github.com/motog2014devteam
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
ROM Firmware Required: Bootloader 0x4821 or higher, unlocked.
Based On: LineageOS
Version Information
Status: Alpha
Current Stable Version: 0x02
Created 2018-06-20
Last Updated 2018-06-28
Any progress?
Hi @Wattsensi how did you fix the vendor image mismatch? There was no push to the repo you list as sources.
---------- Post added at 18:39 ---------- Previous post was at 18:38 ----------
Hi @Wattsensi how did you fix the vendor image mismatch? There was no push to the repo you list as sources.
gothicVI said:
Hi @Wattsensi how did you fix the vendor image mismatch? There was no push to the repo you list as sources.
---------- Post added at 18:39 ---------- Previous post was at 18:38 ----------
Hi @Wattsensi how did you fix the vendor image mismatch? There was no push to the repo you list as sources.
Click to expand...
Click to collapse
Oh, hi there. I didn't know that there was somebody still interested in developing for this device. I switched to a Huawei P9 my father gave me, but I still have my Thea saved. That said I tried everything but I couldn't get the RIL to work.
I fixed the vendor image problems by getting the vendor image strings in a terminal emulator in the phone, then going back to my PC and changing the init_thea.cpp file in the init folder of the thea device tree. Check RenanQueiroz' titan device tree, go to init_titan.cpp and get a guidance. I made a dual_override() function too to save space.
I am not a ROM cook though. Just a builder.
Wattsensi said:
Oh, hi there. I didn't know that there was somebody still interested in developing for this device. I switched to a Huawei P9 my father gave me, but I still have my Thea saved. That said I tried everything but I couldn't get the RIL to work.
I fixed the vendor image problems by getting the vendor image strings in a terminal emulator in the phone, then going back to my PC and changing the init_thea.cpp file in the init folder of the thea device tree. Check RenanQueiroz' titan device tree, go to init_titan.cpp and get a guidance. I made a dual_override() function too to save space.
I am not a ROM cook though. Just a builder.
Click to expand...
Click to collapse
Would you mind sharing the file you changed?
I'm just building myself - not much experience in Android development (yet).
Gesendet von meinem Moto G (5) Plus mit Tapatalk
gothicVI said:
Would you mind sharing the file you changed?
I'm just building myself - not much experience in Android development (yet).
Gesendet von meinem Moto G (5) Plus mit Tapatalk
Click to expand...
Click to collapse
Please share with us a build with basic functions working
Eddy Stark said:
Please share with us a build with basic functions working
Click to expand...
Click to collapse
Here you go. Any feedback on what is working and what not would be highly appreciated!
This ROM is officially discontinued. Please close the thread mods.

Categories

Resources