• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Let's Get CM Onto Avant!

I was able to get cm11 to build all the .img files including recovery, but odviously it failed at creating the proper zip files. I still dont know if cm11 will work or not. I'll take a look at my zipped ROM files I build for the g3. Maybe I can get something going that way.
Im making another build with some changes i made to the device and vendor tree imma see if it builds so far no errors i merged 2 different devices the grand 2 and s3 neo both based off the msm8226
 
I was able to get cm11 to build all the .img files including recovery, but odviously it failed at creating the proper zip files. I still dont know if cm11 will work or not. I'll take a look at my zipped ROM files I build for the g3. Maybe I can get something going that way.
Have you tried lunch, then mka otapackage?
 
Sorry if I'm late to the party here but can I just install the cm11 zip with the cwm recovery listed above, is it a flashable zip?
 
Im making another build with some changes i made to the device and vendor tree imma see if it builds so far no errors i merged 2 different devices the grand 2 and s3 neo both based off the msm8226
Keep going man! Someone is going to get this going. I'm going to try using an android kitchen and see if I can build a zip off the .IMG files I built.
 
i was able to compile the dtb no more prebuilt dtb
DTB combiner:
Input directory: '/development/cm11/out/target/product/afyonltetmo/obj/KERNEL_OBJ/arch/arm/boot/'
Output file: '/development/cm11/out/target/product/afyonltetmo/dt.img'
Found file: msm8926-sec-afyonlte-r06.dtb ... chipset: 3356032769, rev: 65537, platform: 6, subtype: 0
Found file: msm8926-sec-afyonlte-r05.dtb ... chipset: 3356032769, rev: 65537, platform: 5, subtype: 0
Found file: msm8926-sec-afyonlte-r04.dtb ... chipset: 3356032769, rev: 65537, platform: 4, subtype: 0
Found file: msm8926-sec-afyonlte-r00.dtb ... chipset: 3356032769, rev: 65537, platform: 0, subtype: 0
Found file: msm8926-sec-afyonlte-r02.dtb ... chipset: 3356032769, rev: 65537, platform: 2, subtype: 0
Found file: msm8926-sec-afyonlte-r03.dtb ... chipset: 3356032769, rev: 65537, platform: 3, subtype: 0
Found file: msm8226-v1-mtp-r01.dtb ... chipset: 145, rev: 65537, platform: 8, subtype: 0
additional chipset: 205, rev: 65537, platform: 8, subtype: 0
additional chipset: 198, rev: 65537, platform: 8, subtype: 0
additional chipset: 159, rev: 65537, platform: 8, subtype: 0
additional chipset: 158, rev: 65537, platform: 8, subtype: 0
Found file: msm8926-sec-afyonlte-r01.dtb ... chipset: 3356032769, rev: 65537, platform: 1, subtype: 0
=> Found 12 unique DTB(s)

Generating master DTB... completed
 
What's dtb?


Background
The idea behind device tree is quite simple. When the kernel starts, it needs to initialize the drivers for the devices on the board. But often on embedded systems, devices can't be discover at running time. In this case, the Linux kernel has a c file that initialize the devices for the board. So the kernel must be modified/compiled for each board.

Another way is to provide a small file that describe the board to the Linux kernel. When the kernel start, it reads this file (called dtb for Device Tree Binary) to know the devices on the board, and initialize usefull drivers.
 
Also new to the party. Awesome work so far guys. I have 2 back up phones so when you are rdy for testing id be happy to give it a go. Just picked up my Avant a couple days ago and so far, i love it. Add cm to it and id be in phone heaven :)
 
Just a suggestion. The lg optimus l90 is an msm8226 based phone with qhd res. Also has a working cm11 and may be a better starting point then the moto g build. Also has the adreno 305 gpu which may help us get past the graphical issues
 
you got cm11 booted?
yup
Screenshot_2015-02-26-21-55-08.png Screenshot_2015-02-26-21-55-22.png
 
Back
Top Bottom