Want to start^U Started CM development - Moto G4 Questions & Answers

I want to start with cm development for this device, is anybody already working on it so I can join? It would be a waste of effort when multiple projects were initiated.
Edit: I started fiddling with osprey sources and having a peak at the TWRP config for this device. Uploaded sources to https://github.com/Moto-G4 but this is nothing more then the osprey sources and replacing osprey with athene.

As someone with no understanding whatsoever on making custom ROMs, thank you for doing this. Also I'd maybe have a look at the forum for the g4 plus as these phones are pretty much the same (camera and fingerprint detector).

Florensie said:
As someone with no understanding whatsoever on making custom ROMs, thank you for doing this. Also I'd maybe have a look at the forum for the g4 plus as these phones are pretty much the same (camera and fingerprint detector).
Click to expand...
Click to collapse
I will and I think the sections should be combined, both have productname athene.
Sent from my T810 running cm-13.0

Ok, compiling first build, lets see where this will take us...

Related

[WIP] Who wants full AOSP/CM12 (Android 5.0+) Support of the Moto G 2014? [XT1064/68]

Hi everyone! You guys probably don't know me (Shawn5162) because I haven't been active in the Moto G 2014 forums (except for my restore tool for windows) but I am very active in other device forums such as the Galaxy S5, Note 10.1 2014 Edition, LG G3, etc. In those forums I am defiantly a recognized dev, mostly for porting or compiling ROMs . But the reason I landed in this forum is because I recently I got a new device...the Moto G 2014 and feel it is a great device. But to my shock there were NO great ROMs for this device (by no means am a hatting on the 1 or 2 ROMs here). And that's where I come into play. I am a dev who has a lot of experience with AOSP and compiling and thus want to bring forth a great AOSP ROM for this device. Now I there will be no problem building it as I have experience and if do run into any issue I can refer to the Moto G 2013 devs (since both devices share almost identical specs). Also the AOSP ROM will always be on the latest version of Android (I promise i'll try my best). After all, the good thing about AOSP ROMs is you can have great levels of customization. Now there is a slim chance of failure in the project (like 1% only because everything in life has a chance of failing) but if everything goes well you guys will have a great dev supporting a great ROM. Finally, thanks for your cooperation and I will keep you guys posted all the way.
Sincerely,
Shawn5162
Also if you guys want this project to happen...please comment in the XDA comment section below.
Download Links (I am leaving download links below for other devs who want to give it a shot...also I wanted to share my sources)
Device Tree:
Device Kernel:http://d-h.st/HgD
Device Vendor:
AOSP ROM:
Project Status
12/7/2014
- Got a laptop to start developing on
- Successfully installed Ubuntu 14.04.1 LTS
- Initialized a building environment for AOSP
- Setup a Dev-Host account
- Synced Android 5.0.1_r1 repositories
- Forked the device kernel from Motorola's git
12/8/2014
- Merged source code with CM 12.0 repos
- Added /Source/kernel/motorola/titan repos/
- Imported "falcon" device tree
- Began modifying "falcon" device tree for XT1064...
12/9/2014
- Downloaded all the CM 12 packages
- Contacted @k2wl for a collaboration (He said OK! )
- Modified device kernel for XT1064 (added more functionality/patches)..I can confirm kernel tree is working
12/10/2014
- Contacting CyanogenMod Inc. in regard of OFFICIAL SUPPORT for this device
- Continued modifying source
12/11/2014
- Compiled an OTA .zip of CM 12 [doesn't boot]
No comment..
this is what I was waiting for
MrIngenieur said:
No comment..
Click to expand...
Click to collapse
Why is there something wrong
Thanx dev!....if u need a tester ..m here
Wow this would be Great! Hopefully it will grow and give us a cool AOSP ROM.
Thanks a ton!
That would be great, thanks
I really would appreciate some more development in here.Thx for that announcement!
Finally Devs Coming.
Best of luck Shawn. :thumbup:
If you make it, it would be Giant leap for Moto G
Awesome man..... I Really appreciate what u r doing for this community....
Coming from a nexus phone which broke and buying this device for the price, would be nice to see more roms.
Bring it. I love AOSP. And if you did it there would def be some donations coming your way.
N.K.V. said:
Finally Devs Coming.
Best of luck Shawn. :thumbup:
If you make it, it would be Giant leap for Moto G
Click to expand...
Click to collapse
I agree
The more, the merrier! Nothing wrong with having thriving development Hopefully once one of these kind of ROMs gets brought to the Moto G 2014, the rest will follow.
radiotecha1234 said:
Bring it. I love AOSP. And if you did it there would def be some donations coming your way.
Click to expand...
Click to collapse
Thanks!
Awesome
I'm in!
Sent from my A0001 using XDA Free mobile app
That's a good news ..... Good luck man , if you need a tester just PM me , i will test the ROM thoroughly
This seems great!
Sent from my XT1069 using XDA Free mobile app

Need help wrapping my head around building AOSP for HTC One M9

Hey folks,
I know most people have already given up on this phone because it didn't sell well and doesn't have much support. But like the rest of us still browsing this forum, I still have my M9 and still believe it can be improved. I am currently working on a project to build a clean AOSP rom (without any kinky modifications, just a nice stock rom built directly from the AOSP sources.)
I've never undergone such a project, and I've been reading a lot about the steps necessary to realize this goal. I've been following Sony's excellent AOSP building guide so far. I have the android sources downloaded, all I'm missing are the proprietary files (from the device itself, most likely) and the ability to set up the proper device trees/manifests. I was planning to use the Cyanogenmod device tree because a lot of work has gone into it and, given that my M9 is currently running one of the CM13 nightlies, is pretty stable and works with new device firmwares. I know there is already a guide on the Cyanogenmod wiki for building CM for the M9, but I am not building CM at all, I want to build a 100% stock AOSP rom.
Can anybody help me proceed from here? I've downloaded the https://github.com/CyanogenMod/android_device_htc_hima-common tree and put it into device/htc/himaul but I'm not sure where to go from here. The extract-files.sh script does not work (because there is no CM helper script). Does anyone have any experience with this sort of thing?
Thank you very much in advance. I hope this will help everyone as I know many people have been looking for a non-CM AOSP rom for this phone (some do not agree with CM design philosophies). I definitely plan to share this rom and write a guide to help other projects when this is figured out.
I look forward to hearing back,
vivremetrique
Hi, I have no idea on doing roms, but you could help be your tester ...
whatever you need, talk me
---------- Post added at 10:22 PM ---------- Previous post was at 10:19 PM ----------
It would be good to make a ROM Nougat if possible
AOSP 100% and cyanogenmod device tree are totally different
I don't know what does it take to have a full aosp working rom, but I'm sure that CM code has nothing to do with it.
anyway, with the right work it shouldn't be so hard since m9 shares hardware with nexus 6p...
Frug01 said:
[/COLOR]It would be good to make a ROM Nougat if possible
Click to expand...
Click to collapse
Yes, the sources I will be building from will be Nougat sources (7.1 experimental sources). Thank you for offering to test once this is done.
throcker said:
AOSP 100% and cyanogenmod device tree are totally different
I don't know what does it take to have a full aosp working rom, but I'm sure that CM code has nothing to do with it.
anyway, with the right work it shouldn't be so hard since m9 shares hardware with nexus 6p...
Click to expand...
Click to collapse
I mean the operating system will be 100% AOSP, but obviously since this is not a Nexus/Pixel device the device tree will not be included in AOSP... The device tree/proprietary files have nothing to do with the actual user experience, they are simply needed for support of the hardware/stock kernel if desired/camera or wireless firmware. I don't see the sense is rewriting these from scratch given the time and effort already put into them by CM devs/those in the Cyanogenmod threads in this forum.
It would be great if some of you could help gather helpers for this project. It seems that properly setting up the device and getting ready to build the rom are all that is missing, so I'm hoping this goes relatively quickly.
So I believe I've made some progress. I downloaded the htc vendor files, the htc msm8994 kernel files, the hima-common tree, and the himaul tree. There is still something missing, because running the "lunch" command warns that it cannot locate the config makefile.
I found references to cm in cm.mk in device/htc/himaul/cm.mk but I don't know what to replace them with and I don't want to download the whole CM source tree as well.
Can anyone shed some light on this issue?
I can't help you, but that is a very good idea! Hope you can solve this issue.
Nice project, I would love to see AOSP Nougat on our M9! I'm not a dev who could help you with the building process, but maybe the dev of the CM14 port for M8 could give you an advice. Good luck!
I think you are underestimating the efford and skills it needs. Even with official Kernel Source released it took some really effort to make for example the camera work. If you don't know hot to setup a device tree for an existing rom, then I feel the skills required exceeding the ones you have. I don't want to offend you, but maybe it's better to take a step back an learn how to add this to an AOSP Marshmallow rom, instead of thinking about porting it to Nougat. If it would be that easy, wouldn't a ready to use Nougat Version of any other popular Rom for the m9 be out already?
Any telegram group of One M9???
Enviado desde mi HTC_M9u mediante Tapatalk
Adromir said:
I think you are underestimating the efford and skills it needs. Even with official Kernel Source released it took some really effort to make for example the camera work. If you don't know hot to setup a device tree for an existing rom, then I feel the skills required exceeding the ones you have. I don't want to offend you, but maybe it's better to take a step back an learn how to add this to an AOSP Marshmallow rom, instead of thinking about porting it to Nougat. If it would be that easy, wouldn't a ready to use Nougat Version of any other popular Rom for the m9 be out already?
Click to expand...
Click to collapse
That effort would.not be wasted. Once the solution to the camera problem is solved, it's solved for all versions, not just Marshmallow. We can reuse the kernel source and firmware blobs in N. I reckon that we don't have a rom because nobody is working on it.
If it would be that easy, why isnt there an official (or even inofficial) cm 14 for m9 out, as it already got an official cm 13? If everything you needed would be to just switch everything else to cm 14 and reuse the mm kernel source and blobs?
Adromir said:
If it would be that easy, why isnt there an official (or even inofficial) cm 14 for m9 out, as it already got an official cm 13? If everything you needed would be to just switch everything else to cm 14 and reuse the mm kernel source and blobs?
Click to expand...
Click to collapse
Because there is almost zero demand for one. People in the CM13 thread are actively discouraged from even mentioning CM14. How can we develop the ROM if we don't have anybody working on it?
Given CM's automated device tree preparation system, I doubt it would take more than a simple source tree update to Nougat to start compiling a 7.x ROM (whether it works perfectly or not, it would be a start).
Well then I would say, a way to start might be to try compile a booting cm 14 for the m9. Last time I looked there has been at least a device tree prepared for cm 14. I guess that would be the easiest way to test, if you might be succesfull with it
Any news @vivremetrique ? Or did you drop the project?
While it is possible to build cm14.1 for the M9, I was unable to make it see the sim card after days of trying. something in libril or possibly the firmware I have makes it not work.
Trainwr3ck said:
While it is possible to build cm14.1 for the M9, I was unable to make it see the sim card after days of trying. something in libril or possibly the firmware I have makes it not work.
Click to expand...
Click to collapse
If it is the same Problem I had with a CM13 based rom, then the build.prop is missing some Values to detect network. I took them from a working one and put them in the BoardConfig by hand
can't help, but my hopes are so high for this one!

LineageOS development [unofficial][To-Start]

Okay people, i know things do not look very good for this device, and yeah, we all are frustrated with the fact that no one is building any good rom(except this Resurrection Remix(on http://forum.le.com/in)) for this device.
I am thinking of trying to build the LineageOS for this device.
I am new to building roms, I have not developed any rom before, so this will be my very first experience.
I would very much appreciate any help that any of you may offer regarding any thing.
Be it any tutorial/guide, source codes, testers, or any thing else you have in mind.
I would be downloading the sources today and will look around for tutorials for porting roms with source code that i already have (thanks to that resurrection remix ROM dev 19wisnia89(on http://forum.le.com/in)).
I would also be contacting other devs of other devices for any help regarding the porting process and stuff.
If you know these stuff and would not mind helping me out, it would be very nice.
Please quote me on the reply here or PM me with anything here
Note: I would be needing testers because i don't quite own the device for myself, it's my mother's and i can't risk tempering with it, but I still want it to have a dev support.
All the best for the success, I also tried to compile the kernel and the source code is working completely fine without any modification but I was confused about the process of building the android So I will always help you whenever needs my help. and if you can guide me to building guide then i will also love to try that.
sscsps said:
Okay people, i know things do not look very good for this device, and yeah, we all are frustrated with the fact that no one is building any good rom(except this Resurrection Remix(on http://forum.le.com/in)) for this device.
I am thinking of trying to build the LineageOS for this device.
I am new to building roms, I have not developed any rom before, so this will be my very first experience.
I would very much appreciate any help that any of you may offer regarding any thing.
Be it any tutorial/guide, source codes, testers, or any thing else you have in mind.
I would be downloading the sources today and will look around for tutorials for porting roms with source code that i already have (thanks to that resurrection remix ROM dev 19wisnia89(on http://forum.le.com/in)).
I would also be contacting other devs of other devices for any help regarding the porting process and stuff.
If you know these stuff and would not mind helping me out, it would be very nice.
Please quote me on the reply here or PM me with anything here
Note: I would be needing testers because i don't quite own the device for myself, it's my mother's and i can't risk tempering with it, but I still want it to have a dev support.
Click to expand...
Click to collapse
all the best...we are here for testing!!
sscsps said:
Okay people, i know things do not look very good for this device, and yeah, we all are frustrated with the fact that no one is building any good rom(except this Resurrection Remix(on http://forum.le.com/in)) for this device.
I am thinking of trying to build the LineageOS for this device.
I am new to building roms, I have not developed any rom before, so this will be my very first experience.
I would very much appreciate any help that any of you may offer regarding any thing.
Be it any tutorial/guide, source codes, testers, or any thing else you have in mind.
I would be downloading the sources today and will look around for tutorials for porting roms with source code that i already have (thanks to that resurrection remix ROM dev 19wisnia89(on http://forum.le.com/in)).
I would also be contacting other devs of other devices for any help regarding the porting process and stuff.
If you know these stuff and would not mind helping me out, it would be very nice.
Please quote me on the reply here or PM me with anything here
Note: I would be needing testers because i don't quite own the device for myself, it's my mother's and i can't risk tempering with it, but I still want it to have a dev support.
Click to expand...
Click to collapse
If you are on Telegram(app)
you could join us few devs and testers in this group and ask for anything you need
here is invite & join link:
https://t.me/joinchat/AAAAAEEHPrwCrEYn3uf6BA
Abhi_ said:
hey i first want you to tell me what you know about building?
Because you have mentioned you will look around for porting roms,etc.
I hope you know how linux works.
That's it
if you have queries feel free to ask
If you are on Telegram(app)
you could join us few devs and testers in this group and ask for anything you need
here is invite & join link:
https://t.me/joinchat/AAAAAEEHPrwCrEYn3uf6BA
Click to expand...
Click to collapse
I have gone through the porting guide on CM wiki(through archive.org) a couple of times and a few more places, I have not downloaded the source code of Lineage os, but I have source code of cm13, so i'll build it first,

Requirement of Paranoid Android Rom (AOSPA) for Moto G4 Plus

Hello everyone, the Paranoid Android (AOSPA) team has released their much awaited nougat 7.1.2 build for a handful of devices. Is it possible for the developers to port the rom to our Moto G4 Plus? If so, when can we expect to receive an official AOSPA rom for our device i.e Moto G4 Plus? Thanks in advance to the developers.
Athene is a pretty popular choice around ROMing. (LineageOS has 20795 installs on Athene) I would at least expect an unofficial build made by someone. Let's just hope they release an official build for Athene.
I have come to know that the team officially doesn't provide support for too many devices except Oneplus, Oppo, Pixel and the Nexus ones. So the chance of getting an official build is less. So in that case we have to look for an unofficial build.
Just wondering is there any update on Aospa for athene, official or unofficial?
:good:
Maybe this mean something. I dont know.
https://androidfilehost.com/?fid=745425885120754372
Anyone try this yet? I'm a bit hesitant and backups are a hassle
Ytim08 said:
https://androidfilehost.com/?fid=745425885120754372
Anyone try this yet? I'm a bit hesitant and backups are a hassle
Click to expand...
Click to collapse
Bootloop.
drmuruga said:
Bootloop.
Click to expand...
Click to collapse
Oh ok
AOSPA sources are public right?
Need help in porting
Hey friends I am porting PA for our device and I am facing a problem......when the rom goes to bootanimation it crashes due to libsurfaceflinger.........My guess is I am missing something in my hardware folder.....anyways the full log is attached below....Plz help https://drive.google.com/open?id=0B-...3V6M0xfdVF3YzA
Ripudamankaushik said:
Hey friends I am porting PA for our device and I am facing a problem......when the rom goes to bootanimation it crashes due to libsurfaceflinger.........My guess is I am missing something in my hardware folder.....anyways the full log is attached below....Plz help https://drive.google.com/open?id=0B-...3V6M0xfdVF3YzA
Click to expand...
Click to collapse
I would ask this question on Paranoid Android's Google+ page. https://plus.google.com/communities/112514149478109338346
reCoded said:
I would ask this question on Paranoid Android's Google+ page. https://plus.google.com/communities/112514149478109338346
Click to expand...
Click to collapse
Well I already did.........also I think its a device specific issue.....maybe our phone need some extra vendor libs or something
Hey everyone! So i fixed the problem with the surfaceflinger......now the only problem I have is with mm-pp-daemon....libqservice.so missing.........Is there anyone generous enough to help me with this bcz I m still holdin on to hope that we might be able to make it work .......anyway here is a partial logcat
https://hastebin.com/udadiwugig.coffeescript

OMFG

Builders thread only!!
Looking for pioneer compilers. I know I'm capable of bringing los 15.1 to kiwi but I lack the resources at this time to build.
For those who already have trees set up I can guide u through commits to make a successful compilation.
Use this thread for commits and compilation inquiries only!!
1. Check commits from los for same chipset on kernel and device config.
2. Trial build on your private tree before making commits to github.
3. Never post untested builds.
All the commits are out there. Our respective builders on los have so many other devices to build for.
I've pioneered lg and Samsung devices w help from @ShadySquirrel to unsuspecting platforms.
dave71670 said:
Builders thread only!!
Looking for pioneer compilers. I know I'm capable of bringing los 15.1 to kiwi.
For those who already have trees set up I can guide u through commits to make a successful compilation.
.
Click to expand...
Click to collapse
Not to spam but ,compilation is a thing but will it boot correctly ?
I have trees. See your PMs.
To add more detail...
We're already compiling and have plenty of logs. Everything bootloops at ROM logo. See github.com/kiwi-o
Great to see you guys trying, fantastic !
Keep up the great work guys. Maybe this will become one of those great legacy phones.
Are you still working on this guys? I haven't seen any commits for a while
TheRealIntence said:
Are you still working on this guys? I haven't seen any commits for a while
Click to expand...
Click to collapse
odds are yes, but its an old device and a crappy budget one so dont get your hopes up. i just got a 1+5t 128GB for $475 USD. i suggest you move on and find another device. the devs will probably succeed in porting Oreo but it will take along time since its not a very easy thing to do.
you should check in maybe every few weeks and if you really want oreo on this device, i suggest that you donate to the kind devs that develop for this device. btw, they do this for free so keep that in mind. cheers!
Do you need beta testers for lineage 15.1 ?
ljukigrobar said:
Do you need beta testers for lineage 15.1 ?
Click to expand...
Click to collapse
There's nothing to test, because it bootloops.

Categories

Resources