What I need to know to develop an AOSP ROM? - Zenfone 5 Q&A, Help & Troubleshooting

I want to (try to) make an AOSP 5.0 ROM to use with stock kernel on my phone, because I can't use custom ROMs (freeze when bootloader is unlocked) and stock Lollipop is a great sh*t, but I don't know what I need to start to build this ROM. Anyone could help me?

leonardohenrique10 said:
I want to (try to) make an AOSP 5.0 ROM to use with stock kernel on my phone, because I can't use custom ROMs (freeze when bootloader is unlocked) and stock Lollipop is a great sh*t, but I don't know what I need to start to build this ROM. Anyone could help me?
Click to expand...
Click to collapse
You need a aosp device tree and vendor look in github for lollipop zenfone trees

resk87 said:
You need a aosp device tree and vendor look in github for lollipop zenfone trees
Click to expand...
Click to collapse
I try to use device tree and vendor from this topic: http://forum.xda-developers.com/zen...w-to-compile-roms-zenfone-5-x86-chip-t3312889
But it's strange, the source seems small... This is all I need to start building?
(I already have Ubuntu with all needed packages)

Related

[POLL] KitKat-based LBL ROM choices

So, @neXus PRIME wants to make a locked bootloader-compatible ROM, aside from his wonderful AOSPA port. Now it's your choice, so choose the ROM you want carefully.
Huh one choice...
But one is not enough .-.
I know, but my hard disk space is not enough.
I have currently PA and aokp sources.
I am planning to replace aokp sources with the one you guys pick here. I can do a third too but then i will have to delete ccache space... But that is not good.
I'd like to see MIUI get updated to the latest version and see how that runs on our device because the MIUI interface itself looks pretty slick, and if possible a port of multirom would be a nice thing as well (if possible: don't know if our device is using fstab or rc)
noahvt said:
I'd like to see MIUI get updated to the latest version and see how that runs on our device because the MIUI interface itself looks pretty slick, and if possible a port of multirom would be a nice thing as well (if possible: don't know if our device is using fstab or rc)
Click to expand...
Click to collapse
I agree too
Like Paranoid Nexus, there is the chance of chosen rom to work with unlocked bootloader?
I can choice easier if I know which rom has what kind of features.
Actually MIUI seems like a good idea, plus it's a bit different when compared to the AOSP bunch.
Yeah MIUI would be cool, but if not i would love to see carbon or pacman on LBL.
@neXus PRIME
i appreciate your hard work buddy
instead of which rom you compile,i think we need advanced custom kernel like doomkernel...i'm currently using pacman 4.4.4 and none of cutom kernel present on forum does'nt works
Can we have avatar rom!
Avatar, Chameleon, AOSBam, Sonic.....wtf.... so many kangerzzz
But why is PURE AOSP winning out???
Don't know why but vanir being a ubl ROM is really fast and smooth, is it in the ROM or the optimisations by the dev??
In the feature code, ahe has mentioned many compiler optimisations, isbit because of them or the ROM????
I would have said Slimkat if bagyusz doesn't update it, but as of now i don't know if he will.
An update to the latest MIUI would be lovely, locked or unlocked BL is a matter of secondary importance for me
Apart from that Carbon, Vanir and PACman on a stock/stock-based kernel would also be nice
neXus PRIME said:
Avatar, Chameleon, AOSBam, Sonic.....wtf.... so many kangerzzz
But why is PURE AOSP winning out???
Click to expand...
Click to collapse
I think that some peoples want to have the android L version. Also they choosed Pure AOSP. This day, Google push the sdk of the android l version.
For android kitkat based, you can do MIUI Rom or if you want an AOSP, you can choose the AOKP.
The problem with android L is we'd have to check the LBL kernel modules we have work on it otherwise its another big job to update (if its even possible).
No L possible. End of story. Just vote the available choices
Well, when I was adding AOSP to the poll I didn't even think of Android L. Maybe I should have written it more precisely.
And yeah, there is a lot of work to do to make L work on LBL. The first thing that's coming to my head are Adreno drivers from 4.3(we are using them in KitKat, so it's not clean and fully working by any means). The second thing is power saving mode in L: we don't know if that's a kernel or OS feature... And there are many things that may result in a complete incompatibility between our kernel and Android L, and changing ramdisks won't help in that case.
Aren't the sources for L coming out in September? Why even talk about it now, wait till the Cyanogen team start to push the first nightlies, then we can put Android 5.0 in the conversation

New official kernel (ZE551/550ML)

So, there's a new Kernel avaliable for download in the ASUS support page:
https://www.asus.com/Phone/ZenFone_2_ZE551ML/HelpDesk_Download/
https://www.asus.com/Phone/ZenFone_2_ZE550ML/HelpDesk_Download/
Version MR912_2_20_40
Description ASUS ZenFone 2 (ZE551ML/ZE550ML) Kernel source file for Android OS
File Size 122.97 MB 2016/01/08
LINK:
http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE550ML/zenfone2MR912_2_20_40.zip
how do i flash new kernel ?
with twrp or just sideload from adb ? :/
baonxxx said:
how do i flash new kernel ?
with twrp or just sideload from adb ? :/
Click to expand...
Click to collapse
its a source code, for kernel development. The new kernel is included in the last updates.
its source file .. you need to compile it 1st i think
Is this marshmallow kernel?
Edit: no.
ElmirBuljubasic said:
Is this marshmallow kernel?
Edit: no.
Click to expand...
Click to collapse
MM kernel wont be released before MM stock firmware.
But you can get a fully MM experience using RR 5.6.0, CM13, Beanstalk, AICP, etc. And with FlareM kernel
What does this new kernel bring ?
Optimizations ?

Can someone help me build a stable stock ROM?

I am planning to build my own custom stock ROM, I need help with a few things..!
1)I want to make a prerooted deodexed stock ROM - So my question is from Base ROM of the latest new build, how and where do i find that. I have an idea of how to deodex the ROM, but suggestions are welcomed. Also, if I make a new ROM, from fully stock, how do i make it prerooted with no bugs at all using the latest TWRP recovery.
a) SO, according to my thinking..I will obviously need a fully stock Marshmallow ROM with the latest build, I will root it and then copy the whole ROM to my folder and edit from that? Is that what has to be done? If no..plz assist.
2)I like to use fonts - so I want my ROM to have it pre-installed with a beautiful font
3)Battery tweak - I need some help in building a build.prop file,
4)Performance - I need to make this ROM as stable as it is stock, so i really don't mind to make the performance a little faster.
5)I wanted to also install some good theme pre-installed in my ROM, so would it be possible? if yes how to do it.
I have a basic idea on how to build a ROM, i just need someone to help me with this and whoever can help, will definitely get all the credits
a) we can definitely work together and keep building this ROM for more performance.
b)We will also try to update it with the latest builds as and when required.
SO, someone who is really willing to help are all welcomed
Hoping someone can help me build a ROM for our beloved Moto X play.
110 views and no one ready to help me make a stock ROM...strange..!!
I want to make a rom too as what u r proposing here but I m totally newbie.I understand the logic how things work but I dont know the process how to make it work.So if I want to help you ,I cant due to lack of my knowledge.Though if u think then we can work together.
ronak123456 said:
I am planning to build my own custom stock ROM, I need help with a few things..!
.
Click to expand...
Click to collapse
I was also thinking about porting a ROM , I know a little bit about it from reading from these forums but there are no latest article about porting MM ROMs. if you have any tutorials or links PM me.
bablu048 said:
I was also thinking about porting a ROM , I know a little bit about it from reading from these forums but there are no latest article about porting MM ROMs. if you have any tutorials or links PM me.
Click to expand...
Click to collapse
I have already made the ROM...am getting flashing error not sure why..lol
what i did was extracted the MM rom, did some tweaks as per my needs and ziped it back thats it..when i try to flash it says flashing failed...u know what is wrong?
I thought we already have 2 stock roms in the Android Development section?
If you do not know how to do, using the kitchen1, kitchen2

[Need Help, Stock 6.0.1] I'm new here and i need some suggestions.

Well, recently I've moved from Galaxy s4 to Moto X Play and everything is new here for me becoz Exynos and Snapdragon are very different so flashing procedure is also different.
Currently I'm on stock unrooted android 6.0.1, and I want to know, is this device worth customization?
If yes then....
1. Which recovery is the best? (i didn't find official TWRP)
2. Which rom should i try first?
3. Does it support xposed Version 87?
4. There is lots of CM based roms, can anyone provide me bug list of CM based roms.
And most important thing, in case of bootloop or soft-hard brick then where can i find updated stock firmware?
If anyone give me answer of my questions, I'll really appreciate it.
http://forum.xda-developers.com/moto-x-play/orig-development/recovery-twrp-2-8-7-0-t3194656
http://forum.xda-developers.com/moto-x-play/general/untested-how-to-root-moto-x-play-t3211941
about the best ROM, up to you to choose, all are good, feel free to test
fablebreton said:
http://forum.xda-developers.com/moto-x-play/orig-development/recovery-twrp-2-8-7-0-t3194656
http://forum.xda-developers.com/moto-x-play/general/untested-how-to-root-moto-x-play-t3211941
about the best ROM, up to you to choose, all are good, feel free to test
Click to expand...
Click to collapse
Thanks for ur reply, and what about xposed?
i don't use it, but I guess you can't with N rom, but a MM one, cm13 is very good and recently patched if you need MM
BTW i didn't find official TWRP for X Play, Link that u provide is not official build.
Is this fully functional?
fablebreton said:
i don't use it, but I guess you can't with N rom, but a MM one, cm13 is very good and recently patched if you need MM
Click to expand...
Click to collapse
How can u live without xposed?
I can't use stock android based roms without xposed.
KHEMS91 said:
How can u live without xposed?
Click to expand...
Click to collapse
Well, obviously he can live without it...
I'm come from samsung where rooting and flashing is so easy, also firmware news and new updates is easy to find on sammobile.com
Is there any website like sammobile where i can easily find official up to date firmwares for Motorola devices??

Kernel for nougat roms ?

This question goes to developers ,is it possible to create a kernel for nougat roms for our device or should I stop hoping ?:cyclops:
jonianU8160 said:
This question goes to developers ,is it possible to create a kernel for nougat roms for our device or should I stop hoping ?:cyclops:
Click to expand...
Click to collapse
Of course it is possible.
Is it hard or why isn't a single one out there
A kernel TW for port S6

Categories

Resources