[DISCONTINUED][ROM]CyanogenMod 7 for Micromax a60 [COMPILED FROM SOURCES] - Miscellaneous Android Development

Welcome to CyanogenMod 7 For Micromax​
Congrats Guys its the first CyanogenMod rom ever for ANY micromax device means Micromax A60 got the first CM7 compiled from sources ever!~!
Cheers!
This is fully compiled from CyanogenMod 7 sources!
Thanks [email protected] for helping me a lot....
This is build #1 so dont expect every thing working
Me and Keyur are working on CM7 to get a stable build for Micromax a60..
so please dont ask for ETAs please , we are working.
Working -
Project Closed!
Not Working -
Project Closed
How to show support.
1 Show your support by hitting thanks and providing us logcats
2 Post replies here so we can see you are interested
3 By helping us in fixing bugs...
Download Section-
​Direct download link.​
How to install-
1 Download it
2 Place in SD
3 WIPE DATA (most imp)
4 Flash Rom
5 Reboot.
Please help me with logcat... (type in terminal-)
Code:
su
logcat>sdcard/log.txt
let it complete then upload log.txt from SD
Dont spam this Thread...Dont mirror my work...

bro the download link not working

WTF ! No Replies

Well just wanted throw a shout here.
I want to ask why P350 repo is used to do this? It is as same as performing a binary port with lots of data payload.

varun.chitre15 said:
Well just wanted throw a shout here.
I want to ask why P350 repo is used to do this? It is as same as performing a binary port with lots of data payload.
Click to expand...
Click to collapse
hehe lol it is not binary port p350 is having same chipset as a60 namely msm7x27 and it is nearly same device so device config is ported to a60 !! first understand what is device config and what is compiled from source. can you tell me in what sense it is binary port ! device folder is open source ! checkout on my github : github.com/keyur2maru you gotta need to check boardconfig then you will know what is compiled from source first understand and then reply Regards , Keyur maru

rom2maru said:
hehe lol it is not binary port p350 is having same chipset as a60 namely msm7x27 and it is nearly same device so device config is ported to a60 !! first understand what is device config and what is compiled from source. can you tell me in what sense it is binary port ! device folder is open source ! checkout on my github : github.com/keyur2maru you gotta need to check boardconfig then you will know what is compiled from source first understand and then reply Regards , Keyur maru
Click to expand...
Click to collapse
Oh well don't tell that to me.
Same chipset doesn't mean that you just sync it from someones repo and build it?
Some common sense is needed to be used, you should have recommended him to build from CyanogenMod sources instead of pimping yours, and help him configure from scratch.
If this is the matter(and extent of your knowledge) why don't you mention what things you modified in the source in order to adapt for Micromax A60?

heehee lol first open my device config and check everything is modded ! for a60 and yeah you replied Rohan that Im copying ron stuff hehe !!
CM7 is Really Done by Drap and Pax0r not by Ron G
and about copying who said im copying I was the man for cm9 and checkout device config it is like written from scratch only checkout nothing is there related to p350 and if similar hardware is there ! it is ofcourse that we will port that device config to work with our device it is like RMCC ( LGE DeVICES MAINTAINER ) also do the same It is No need to write full from scratch i think you need to learn more not me
---------- Post added at 02:15 PM ---------- Previous post was at 02:12 PM ----------
and we are not having having full source of cm7 it is only device config and source is synced from cm repo i think you need to learn more rather than me
---------- Post added at 02:21 PM ---------- Previous post was at 02:15 PM ----------
varun.chitre15 said:
Well just wanted throw a shout here.
I want to ask why P350 repo is used to do this? It is as same as performing a binary port with lots of data payload.
Click to expand...
Click to collapse
who said you p350 repo is used LOL :cyclops::highfive: and it is not repo it is device config :fingers-crossed:

rom2maru said:
heehee lol first open my device config and check everything is modded ! for a60 and yeah you replied Rohan that Im copying ron stuff hehe !!
CM7 is Really Done by Drap and Pax0r not by Ron G
and about copying who said im copying I was the man for cm9 and checkout device config it is like written from scratch only checkout nothing is there related to p350 and if similar hardware is there ! it is ofcourse that we will port that device config to work with our device it is like RMCC ( LGE DeVICES MAINTAINER ) also do the same It is No need to write full from scratch i think you need to learn more not me
---------- Post added at 02:15 PM ---------- Previous post was at 02:12 PM ----------
and we are not having having full source of cm7 it is only device config and source is synced from cm repo i think you need to learn more rather than me
---------- Post added at 02:21 PM ---------- Previous post was at 02:15 PM ----------
who said you p350 repo is used LOL :cyclops::highfive: and it is not repo it is device config :fingers-crossed:
Click to expand...
Click to collapse
This is where the noobish step was taken.
Boardconfig is meant to be constructed from scratch by analyzing the kernel configuration(Don't keep on shooting device specs are same)
Device specs doesn't mean you can grab the device configuration from it.
The location from where the source is synced doesn't matter(provided that its unmodded) but the Configuration matters a lot. Compiler analyses the configuration and readily modifies the source code and initializes compilation.
And this is why major functions are not working in your buid.
I saw your github repo of A60 and as it is a initial commit I cannot see what configurations you changed.
Can you mention here the modified lines?
And for "you need to learn more than me"
I would say no one is perfect, I agree that I have no experience in building a ROM from source(as I lack a good network connection) but that doesn't mean I have no knowledge in it. And for that statement you may receive a infraction from a XDA moderator These are fundamental aspects which are needed to be understood before proceeding with a build.

See bro I don't wanna fight but just i want to say that it is my own work it is not copied if you don't understand what are changes done how can you say im copying I don't fight It is my Own work Not any copied one
---------- Post added at 02:50 PM ---------- Previous post was at 02:48 PM ----------
and if you want to see edits just have a view at boardconfig can check nothing is related to p350 i just want to prove that it is my official work and not copied work and about i said
You need to learn more rather than me
I said that because you're statement is totally wrong ! i know im right so i said that

rom2maru said:
See bro I don't wanna fight but just i want to say that it is my own work it is not copied if you don't understand what are changes done how can you say im copying I don't fight It is my Own work Not any copied one
Click to expand...
Click to collapse
I don't have anything to do with if you copied or didn't.
But the approach Guided by you to Rohan is way tedious and will end both of you with nasty unremovable bugs which will point to binary port again!
You know this very well configurations play a vital role and are meant to be constructed from scratch instead of base them on other device
Yes you can use it for reference, but not use it for compilation as it contains device specific configurations.
---------- Post added at 03:00 PM ---------- Previous post was at 02:54 PM ----------
rom2maru said:
and if you want to see edits just have a view at boardconfig can check nothing is related to p350 i just want to prove that it is my official work and not copied work and about i said
You need to learn more rather than me
I said that because you're statement is totally wrong ! i know im right so i said that
Click to expand...
Click to collapse
What should I do with boardconfig? To see what's changed I need commits with those changes.
And how was I wrong?
Prove it pls.

See bro I don't think i should recieve infraction and about fixes it is not like in the first build we will get everything working even steve kondik will not able to do this our first aim was to get it booted and then fix bugs and about fixing bugs that are not fixed in rom ! they are fixed in device folder ! and about my way even RMCC do the same to get cm7 or cm9 on any new lge devices ! it is not written from base ! and check device folder most things are written from base and edited boardconfig and fixes will be done by adding new lines removing unnedded lines and all !
---------- Post added at 03:04 PM ---------- Previous post was at 03:02 PM ----------
varun.chitre15 said:
I don't have anything to do with if you copied or didn't.
But the approach Guided by you to Rohan is way tedious and will end both of you with nasty unremovable bugs which will point to binary port again!
You know this very well configurations play a vital role and are meant to be constructed from scratch instead of base them on other device
Yes you can use it for reference, but not use it for compilation as it contains device specific configurations.
---------- Post added at 03:00 PM ---------- Previous post was at 02:54 PM ----------
What should I do with boardconfig? To see what's changed I need commits with those changes.
And how was I wrong?
Prove it pls.
Click to expand...
Click to collapse
just compare p350 boardconfig from cyanogenmod repo and compare with my a60 boardconfig and even compare whole device tree everything is changed and edited and that's the way we get cm7 or cm9 on new device and about p350. our cm7 main dev drap also ported p500 device config

Alright! I will see what's done and send a pull request too if needed
Good luck!

Thanks Bro See I Don't wanna fight !
I Just wanna Prove that I was Right And If you want further Proof Wait i will first fork p350 repo and then do edits in further commits so you can see commits and check what's edited As right now im busy in releasing my ics weekly #1 for p350 and did i got infraction i think i should not

Good to see cm7 for a60 ! Congrats guys
Sent from my ZTE_U N720 using xda premium

GB 2.3.7 port to karbonn A1
Hey friends i have successfully ported a rom based on racer rom on my Karbonn A1 or Zte N721 or Zte Racer or MMX A60 all have same specifications .the base ROM is racers ROM based on CM 7 . If i flashed it as it is it does not boot earlier. Then i used android kitchen porting tool . Now the rom the booting on my device but the issue is that My WiFi, Bluetooth and No service with sim. Idnt understand whats the problem is i guess it is dude to drivers but i dnt know how to change them.I need suggestions so that i can start working further .
here is the link to ported rom .
http://www.mediafire.com/download.php?4pzwnb6pbbw5pym

I was wondering if you guys would be as much helpful in making a CM based ROM for Micromax A57, which is a simple midrange model. But we have got a large community of users, and small-time developers. It would be awesome to see CM booting up in our phone Please help us

jyothisthaliath said:
I was wondering if you guys would be as much helpful in making a CM based ROM for Micromax A57, which is a simple midrange model. But we have got a large community of users, and small-time developers. It would be awesome to see CM booting up in our phone Please help us
Click to expand...
Click to collapse
haha..i am the ROHAN in facebook and the CEO of geekyzz.blogspot.in....remember me?

forever king said:
haha..i am the ROHAN in facebook and the CEO of geekyzz.blogspot.in....remember me?
Click to expand...
Click to collapse
Ofcourse I do My buddy Adhithya speaks highly of you

jyothisthaliath said:
Ofcourse I do My buddy Adhithya speaks highly of you
Click to expand...
Click to collapse
who is he?

Is This Project Alive????

Related

[ROM][Development/Experimental][Micromax A70][CyanogenMod from Source]

Hi All.
I am Abhisek and I am trying to build CyanogenMod from source for our Micromax A70.
Micromax A70 is quite popular in India as a budget phone, but this device is stuck with Froyo. No more updates from Micromax as well as no kernel source from Micromax. So I am trying to build CyanogenMod from source for Micromax A70.
I am choosing CyanogenMod over AOSP as CyanogenMod supports more devices and have many patches over AOSP. So building CyanogenMod will be easier than AOSP. If successful, I will port a Oxygen/AOSP build.
I was about to give up hope until I found out how to enable ADB on Micromax A70. So I have successfully enabled ADB & obtained the system dumps. Now I can start on this project.
Current Status:
1. ADB is working perfectly.
2. System dump obtained.
3. Hardware info obtained.
4. Firmwares obtained.
5. CyanogenMod sources download in progress.
6. Currently creating the device & vendor folders.
I will keep the progress updated here. Lets hope for best.
P.S. Mods if this thread is inappropriate or in wrong forum, please do the needful. Couldn't find a better place to post this.
Reserved for future use
Reserved for future changelogs
I will provide the adb tutorial in case anyone is interested ( that is how I got the system dump ). All credits go to mastermind1024 of androidforums.com. It's not my work, so if you have to thank, thank him. He is the one did all the adb working stuff. You can read the original post Here.
Update:
mastermind1024 is here on XDA. You can see the tutorial Here.
For me, I have to manually run /sbin/adbd from Android terminal emulator to get a working adb connection. You also have to give permission for adbd in SuperUser. FYI I use ubuntu.
If you need the boot.img & recovery.img You can follow the tutorial Here
abhis3k said:
Hi All.
I am Abhisek Mukherjee and I am trying to build CyanogenMod from source for our Micromax A70.
Micromax A70 is quite popular in India as a budget phone, but this device is stuck with Froyo. No more updates from Micromax as well as no kernel source from Micromax. So I am trying to build CyanogenMod from source for Micromax A70.
I am choosing CyanogenMod over AOSP as CyanogenMod supports more devices and have many patches over AOSP. So building CyanogenMod will be easier than AOSP. If successful, I will port a Oxygen/AOSP build.
I was about to give up hope until I found out how to enable ADB on Micromax A70. So I have successfully enabled ADB & obtained the system dumps. Now I can start on this project.
Current Status:
1. ADB is working perfectly.
2. System dump obtained.
3. Hardware info obtained.
4. Firmwares obtained.
5. CyanogenMod sources download in progress.
6. Currently creating the device & vendor folders.
I will keep the progress updated here. Lets hope for best.
P.S. Mods if this thread is inappropriate or in wrong forum, please do the needful. Couldn't find a better place to post this.
Click to expand...
Click to collapse
you mean this rom is under development? I don't have a70 just asking. And you are on right place. Also microsoft needed to open kernel source.
cips gokhle said:
you mean this rom is under development? I don't have a70 just asking. And you are on right place. Also microsoft needed to open kernel source.
Click to expand...
Click to collapse
You meant Micromax right
Yes the ROM is under development. The repo sync is taking forever. I have a pathetic BSNL BB Connection here.
abhis3k said:
You meant Micromax right
Yes the ROM is under development. The repo sync is taking forever. I have a pathetic BSNL BB Connection here.
Click to expand...
Click to collapse
sorry yes i mean micromax. and best for your rom. i think it's first 2.3 a70 rom?
Good!
How much % is the sync complete?
Moreover who are u on androidforums?
varun.chitre15 said:
Good!
How much % is the sync complete?
Moreover who are u on androidforums?
Click to expand...
Click to collapse
I have same userid abhis3k. Sync seems to be complete at 70%, I can only see the directory size, Fetching projects is showing 89%
cips gokhle said:
sorry yes i mean micromax. and best for your rom. i think it's first 2.3 a70 rom?
Click to expand...
Click to collapse
Yes AFAIK if I succeed, this will first GB ROM for A70.
------------ edit -------------
I have tried to run ADB with root permissions. It works, but somehow adb remout does not work.
P.S.: I found the problem, the system was already r/w.
I would say NO bcoz i m from a secret team and we had ported GB to A70 and touch doesn't work in any of the Ports
Moreover u will wonder that touch doesn't work in Android 1.5,1.6 which i had ported from HTC G1 also it doesn't work in 2.1 which i ported from Micromax A60
So we need to build ROM from source which u r doing. Moreover that is not enough because as soon as sync completes then we need to enable touch drivers in BoardConfig.mk
varun.chitre15 said:
I would say NO bcoz i m from a secret team and we had ported GB to A70 and touch doesn't work in any of the Ports
Moreover u will wonder that touch doesn't work in Android 1.5,1.6 which i had ported from HTC G1 also it doesn't work in 2.1 which i ported from Micromax A60
So we need to build ROM from source which u r doing. Moreover that is not enough because as soon as sync completes then we need to enable touch drivers in BoardConfig.mk
Click to expand...
Click to collapse
Great!! I had no idea A70 had a GB port. If you can share the details It would be easier to compile for A70.
abhis3k said:
Great!! I had no idea A70 had a GB port. If you can share the details It would be easier to compile for A70.
Click to expand...
Click to collapse
I think akshay is uploading that port now.he has made a thread n uploading right now.i dont know if it's the same that varun is talking abt but mostly it is.
http://forum.xda-developers.com/showthread.php?t=1540104
mastermind1024 said:
I think akshay is uploading that port now.he has made a thread n uploading right now.i dont know if it's the same that varun is talking abt but mostly it is.
http://forum.xda-developers.com/showthread.php?t=1540104
Click to expand...
Click to collapse
Sure I will check it out. It will speed up the development.
--------- edit ------------
This seems like a binary port using kitchen. Right?
Binary port?
Its ported using kitchen which involves replacement of kernel.
And when sync completes, inform us here,a we will make two roms.
One with unchanged boardconfig.mk and second with modded boardconfig.mk
Sent from my Micromax_A70 using Tapatalk
Replacement of kernel includes replacing binary files including so ko and firmware files. Which are all binary. Only recompile includes a output which is not binary replacement.
Download is still at 93%. I will come back when its finished.
Sent from my LG-P500 using XDA
I am also at 91% since a week..i am getting fatal errors on sync now n then..project downloads upto abt 86%(abt 650mb) n then I get error...i had to do all again..still no luck.i wish i can finish it tonight.we (me,varun,akshay) eager to lunch rom from cm source as we have hope that changing boardconfig will give us working touch.let's see.
extract-files.sh
I have completed sync & also made extract-files.sh
I want others to examine & complete it if I have missed something.
mastermind1024 said:
I have completed sync & also made extract-files.sh
I want others to examine & complete it if I have missed something.
Click to expand...
Click to collapse
@mastermind I have checked the file. Seems so good so far. I hope my sync will also complete by tonight. I am going crazy with these BSNL broadband problems
Have you started the build? Let me know the boardconfig.
mastermind1024 said:
I have completed sync & also made extract-files.sh
I want others to examine & complete it if I have missed something.
Click to expand...
Click to collapse
the script doesnt have adb pull for the binary akmd2.without which sensors wont work .
and in a70 there is also a file called Focal touch.kcm and this is used by the kernel at boot i checked in dmesg .
so add this two files two ..
akmd2
focaltouch.kcm [from usr/keychars]

[Q] help with jenkins????????????

I am new to this .i installed jenkins on windows so i can build me a cm stable build from stable branch but.i dont even know where to start
like how to add code what i need
please help
i added a new item and named it cyanogenmod
but where i add source code and that all stuff
i followed this guide http://forum.xda-developers.com/showthread.php?t=2467004
but i got stuck where should i add device name and git things all
i am a really noob any type of help appreciated
PLEASE HELP
THANK'S IN ADVANCE
Mohdsultan said:
I am new to this .i installed jenkins on windows so i can build me a cm stable build from stable branch but.i dont even know where to start
like how to add code what i need
please help
i added a new item and named it cyanogenmod
but where i add source code and that all stuff
i followed this guide http://forum.xda-developers.com/showthread.php?t=2467004
but i got stuck where should i add device name and git things all
i am a really noob any type of help appreciated
PLEASE HELP
THANK'S IN ADVANCE
Click to expand...
Click to collapse
buddy you should ask such questions in pm to a rom maker dev like codyf86 sir

[Kernel] [6.0.1] Unofficial M.A.D. mod Kernel from Verevka - JiaYu S3

M.A.D. mod Kernel by Verevka
Custom Kernel created by Verevka for JiaYu S3 for MarshMallow ROMs.
Based on https://github.com/MediatekAndroidDevelopers source code.
This project is closed - dev has sold his phone.
Code:
#include
/*
* Your warranty is now void.
*
* We aren't 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 Kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*/
Description:
This is custom Kernel created by Verevka for JiaYu S3 for MarshMallows ROMs.
This Kernel is based on https://github.com/MediatekAndroidDevelopers source code.
Features:
Added exfat & f2fs support;
Probably battery drop is fixed;
Linero 5.3;
Other features from Verevka's Kernel for Android 5.1
Bugs:
Hall sensor isn't working.
Installation instructions:
Flash via SP Flash Tools: CM13 version for CyanogenMod 13 by M.A.D Team, AICP version for AICP11 by M.A.D Team.
Download:
Take a look at Downloads section next to Discuss.
Author:
Verevka
M.A.D Team:
superdragonpt, DerTeufel1980, fire855
Kernel version: Linux 3.10.101
ROM Firmware Required: Android 6.0.1 from M.A.D Team installed, custom recovery installed
XDA:DevDB Information
M.A.D. mod Kernel, Kernel for the JiaYu S3
Contributors
Borizzz, Verevka
Source Code: https://bitbucket.org/Verevka/android_kernel_jiayu_s3_h560
Kernel Special Features: Includes exfat, f2fs support and others changes
Version Information
Status: Abandoned
Current Beta Version: Initial release
Beta Release Date: 2016-08-02
Created 2016-08-02
Last Updated 2016-08-03
Reserved
Reserved
Reserved for Dev.Purposes
Where can i find the download link? Sorry
pleasetouchmenot said:
Where can i find the download link? Sorry
Click to expand...
Click to collapse
Just like in CM/AICP/AOSPA threads - take a look at Downloads section next to Discuss/Screenshots.
Borizzz said:
Just like in CM/AICP/AOSPA threads - take a look at Downloads section next to Discuss/Screenshots.
Click to expand...
Click to collapse
Got it now. Thankyou
Please post source code. Else thread is going to be closed
Regarding special kernel features... Exfat, f2fs... It's totally useless because this is integrated on rom side (fuse - Filesystem in userspace) already. And kernel implementation is not even been used, although being present, if one does not force initramfs to use it (which breaks adoptable storage).
The M.A.D. Team
DerTeufel1980 said:
Please post source code. Else thread is going to be closed
Regarding special kernel features... Exfat, f2fs... It's totally useless because this is integrated on rom side (fuse - Filesystem in userspace) already. And kernel implementation is not even been used, although bring present, if one does not force initramfs to use it (which breaks adoptable storage).
The M.A.D. Team
Click to expand...
Click to collapse
Why you may be 2 years to spread the firmware and the kernel without the source code, and I can not? I'm not ready to shell out possibly a month.
We were not allowed by jiayu China.
You forked our gpl kernel. Yours has to be gpl as well because of this.
The M.A.D. Team
hi, how about twrp that also supports and read f2fs?
When I put the kernel to 5.1, Report response was exactly the same. Why you are allowed to upload 5.1 without source, but I do not? Double standards? =)
(When I uploaded my kernel 5.1 on the forum moderator said, too, that you why he will not say the same about the 5.1? Double standards? =) )
---------- Post added at 12:00 PM ---------- Previous post was at 11:45 AM ----------
He opened the source code in the cap threads.
---------- Post added at 12:06 PM ---------- Previous post was at 12:00 PM ----------
My work is over for this phone! Maybe we meet with someone on the forums Vernee Apallo Lite. Goodbye!
Hopefully with DerTeufel1980 I have not meet !!!
Goodby!
Also, we never released any kernel on xda, because we were not allowed to. Some people are just too stupid to read xda rules.
If you are going to release vernee kernel without sources, your thread gets closed as well.
Edit: which work is over? You didn't do a thing... [emoji30]
The M.A.D. Team
Just my sources for 5.1- https://bitbucket.org/Verevka/android_kernel_h560
Verevka said:
Just my sources for 5.1- https://bitbucket.org/Verevka/android_kernel_h560
Click to expand...
Click to collapse
So, why don't you just release the new sources? No one prohibited you to base your kernel on top of ours. Just release sources, or keep it away of xda
The M.A.D. Team
what is difference i dont understand i think that 2 kernel are the same
All work, efforts and contributions offered to the community as volunteers should be thankful and appreciated by all. @DerTeufel1980 , your attitude and the way you respond to @Verevka is not adequate. It seems presumptuous, arrogant, poor, uneducated and even disrespectful and insulting. Please, you should apologize
---------- Post added at 03:02 PM ---------- Previous post was at 02:59 PM ----------
Thanks you for this work @Verevka ......
You do a lot to help make bigger and enrich this community. Thank you very very much
My first post was like: please add source code. His answer was like &!%!
I don't need to apologize for anything. If he does not want to share his kernel source, based off our open source kernel, he can go wherever he wants to, but not xda... He just should go there quickly
The M.A.D. Team
Verevka said:
When I put the kernel to 5.1, Report response was exactly the same. Why you are allowed to upload 5.1 without source, but I do not? Double standards? =)
(When I uploaded my kernel 5.1 on the forum moderator said, too, that you why he will not say the same about the 5.1? Double standards? =) )
---------- Post added at 12:00 PM ---------- Previous post was at 11:45 AM ----------
He opened the source code in the cap threads.
---------- Post added at 12:06 PM ---------- Previous post was at 12:00 PM ----------
My work is over for this phone! Maybe we meet with someone on the forums Vernee Apallo Lite. Goodbye!
Hopefully with DerTeufel1980 I have not meet !!!
Click to expand...
Click to collapse
Do not stop working on this smartphone. Do not give up, do not kneel. Thanks to your work is no longer only a single mode of development. thanks to your work this community is great. I appreciate your work ..... I appreciate the work of all developers: Portuguese, Russian, German, Spanish, Italian, Chinese and all countries of the world
---------- Post added at 03:16 PM ---------- Previous post was at 03:12 PM ----------
DerTeufel1980 said:
My first post was like: please add source code. His answer was like &!%!
I don't need to apologize for anything. If he does not want to share his kernel source, based off our open source kernel, he can go wherever he wants to, but not xda... He just should go there quickly
The M.A.D. Team
Click to expand...
Click to collapse
I have great sorrow and sadness after reading your words in this post.
:crying:
antonioantuan said:
All work, efforts and contributions offered to the community as volunteers should be thankful and appreciated by all. @DerTeufel1980 , your attitude and the way you respond to @Verevka is not adequate. It seems presumptuous, arrogant, poor, uneducated and even disrespectful and insulting. Please, you should apologize
---------- Post added at 03:02 PM ---------- Previous post was at 02:59 PM ----------
Thanks you for this work @Verevka ......
You do a lot to help make bigger and enrich this community. Thank you very very much
Click to expand...
Click to collapse
Actually he was simply stating what XDA rules demand for development threads ...
Also he was actually helping out the guy when he said his "commits " of adding exfat and all on kernel is useless .
Xfat,and this file systems...are not mandated by kernel , but at user level ...
Verevka seems not to understand very well MediaTek environment
( understandable, we all need to learn at some point ), he was actually helping the guy out.
The "rudeness" was simply a legitimate statement if we look at :
- XDA rules concerning GPL, and development threads.
- And, GPL rules and code of conduct , how to use commits, rebasing on an outside sources , cherry-picking, keeping git credits , and keep a git history.
This are all terms that you are most likely not familiar with
( understandable your not a kernel developer )
But its something that verevka will sooner or later must embrace, and follow this rules on future works like vernee, or simply on community based works .
His first reply was due to lack of verevka's source. Since there was only a link to M.A.D. repo of github, that did not reflect the source used on this kernel...
Our GPL is up, enyone is free to use it, and PLEASE USE IT.
But there's guidelines to follow...
Cheers

[GUIDE] Build LineageOS 14.1 for flamingo

Hello there!
Many of you want to get a nougat working rom for our Xperia E3. We have kernel sources, vendor files, device... So if you wanna try to make the rom this guide is for you.
Prerequisites
64 bit computer with 64 bit Linux OS installed (or virtual machine)
At least 4gb of RAM and about 100GB of free storage (more if you enable ccache)
Much patience (the process will be long)
Getting started
Android SDK
You can setup android SDK by running
Code:
sudo apt-get install adb fastboot
Installing required packages
For that you can follow the steps on https://wiki.lineageos.org/devices/nicki/build#install-the-build-packages
Setting up directories
Create a folder in which android source will be downloaded
Code:
mkdir -p ~/android/lineage
Note: "~/android/lineage" is an example, you can create whatever folder you want, but in the next steps be sure you change paths.
Install the repo command
Like before you only need to run
Code:
sudo apt-get install repo
Initialize the LineageOS source repository
Now we can start to prepare sources download. Enter the following to initialize the repository:
Code:
cd ~/android/lineage
repo init -u https://github.com/LineageOS/android.git -b cm-14.1
And we need to prepare local manifests:
Code:
git clone https://github.com/rmnhg/local_manifests.git -b cm-14.1 .repo/local_manifests
Download the source code
To start the download of the source code to your computer:
Code:
repo sync
Note: This process will be long (over 30gb are going to be downloaded) and can be longer if your connection is slow so be patience.
Prepare the device-specific code
After the source downloads, ensure you’re in the root of the source code, then type:
Code:
source build/envsetup.sh
breakfast flamingo
This will prepare flamingo sources to be compiled.
(Optional) Turn on caching to speed up build
You can setup ccache if you want to speed up subsequent builds by running:
Code:
export USE_CCACHE=1
and adding that line to your ~/.bashrc file. Then, specify the maximum amount of disk space you want ccache to use by typing this from the top of your Android tree:
Code:
prebuilts/misc/linux-x86/ccache/ccache -M 50G
where 50G corresponds to 50GB of cache. This needs to be run once. Anywhere from 25GB-100GB will result in very noticeably increased build speeds (for instance, a typical 1hr build time can be reduced to 20min). If you’re only building for one device, 25GB-50GB is fine. If you plan to build for several devices that do not share the same kernel source, aim for 75GB-100GB. This space will be permanently occupied on your drive, so take this into consideration. See more information about ccache on Google’s Android build environment initialization page.
You can also enable the optional ccache compression. While this may involve a tiny performance slowdown, it increases the number of files that fit in the cache. To enable it, run:
Code:
export CCACHE_COMPRESS=1
or add that line to your ~/.bashrc file.
You can also change ccache files path by running:
Code:
export CCACHE_DIR=[COLOR="YellowGreen"]<path of your choice>[/COLOR]
or add that line to your ~/.bashrc file.
Configure jack
Jack is the new Java compiler used when building LineageOS 14.1. It is known to run out of memory - a simple fix is to run this command:
Code:
export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G"
Adding that command to your ~/.bashrc file will automatically configure Jack to allocate a sufficient amount of memory.
Start building
Now you can start compiling LineageOS. You can start running:
Code:
croot
brunch flamingo
NOTE: If terminal tells you "croot/breakfast: command not found" just run
Code:
source build/envsetup.sh
and try again.
NOTE 2: If you receive the error "SSL error when connecting to the Jack server. Try 'jack-diagnose'" check this post for a fix.
This will finally compile LineageOS for flamingo :good:
If it finishes succesfully, you will have in out/target/product/flamingo two files:
recovery.img, which is the LineageOS recovery image.
lineage-14.1-<date>-UNOFFICIAL-flamingo.zip, which is the LineageOS installer package.
You have to flash ano and copy installer zip into the phone.
Then reboot into recovery (Power+Vol down) and install this zip.
You can flash flash recovery running
Code:
sudo fastboot -s 256M flash recovery <pathtorecovery.img>
Thanks to @infus for his trick (-s 256M) with fastboot commands for big images.
I hope this guide has been useful for you
PD: If you want to discuss about development of this ROM, you can join our Telegram group here.
Join now​
UPDATES
[06/13/2017] Guide successfully builds Lineage, but we have to fix kernel becouse it's not booting. I've also updated my local_manifests repo, so you need to run in android/lineage this
Code:
cd .repo/local_manifests && git pull origin cm-14.1 ;
cd ../..
[06/23/2017] Booted! But there are some bugs, we will upload ROM when that bugs are fixed
[07/25/2017] After a month we got this working for all variants, with basic hardware working (no camera yet) and with latest TWRP working . I'm working now on getting camera working and other small projects (on Xperia E3 also) but I am being slower to release new things because I have not much time and internet to work, I'm sorry.
[09/01/2017] Camera driver is now working! I have ported stock camera driver to renaissance kernel (LA.BF.1.1.3.. CAF) in another folder with the tag CONFIG_MSMB_CAMERA_FLAMINGO
Camera is still not working because of the HAL but it is nearer
[12/15/2017] I'm sorry we paused releasing updates for the compiled ROM, but I've changed much code and worked hard on camera (which is published on another branch named cm-14.1-cameratesting). Soon I will get some things finished and continue some other projects I had for this device. By the way I wish you a merry Christmas!
Reserved.
First of all I'm thanking you that at least you started to create the ROM for our device...
I really want to help you but I can't, due to internet connection, I don't have much data that I can download those sources (over 30gb)
But I really appreciate your work and hope someday you develop the ROM....
Hello! First of all, this version of Lineage is a very good thing for the Android Community ! I saw in the title that you are facing some difficulties, I'll try to help you. I have a friend who have the phone you talk about. We will probably try it on Wednesday. Did you need a log or something after you did ? Do you have the phone, or do you want my friend's one to test it ? Do you think that your ROM is compatible with your variant ? Or mine ? Thanks for passing some time on the gid build ! Have a good day !
infus38 said:
Hello! First of all, this version of Lineage is a very good thing for the Android Community ! I saw in the title that you are facing some difficulties, I'll try to help you. I have a friend who have the phone you talk about. We will probably try it on Wednesday. Did you need a log or something after you did ? Do you have the phone, or do you want my friend's one to test it ? Do you think that your ROM is compatible with your variant ? Or mine ? Thanks for passing some time on the gid build ! Have a good day !
Click to expand...
Click to collapse
The problems I have are related to system libs when compiling. Some of them fail to compile and I have to fix them manually, becouse of that system.img is not ready. All I have are LineageOS recovery and boot img files for LTE variants (for me that is not working but maybe for your phones things go well). On friday I can upload that imgs for you for test (remember that I have not system compiled so you can install recovery, boot.img may not work with other roms.
With my friend (who owns the xperia e3 d2203) we have started the step currently on the step of 30gb download
You can make a group with telegram to avoid polishing xda to speak and try to solve the problem encountered if you want it by giving the invitation link
infus38 said:
With my friend (who owns the xperia e3 d2203) we have started the step currently on the step of 30gb download
Click to expand...
Click to collapse
Cool, tell me if you start compiling process and, if you have errors, oleaje tell me what errors are given by terminal
infus38 said:
You can make a group with telegram to avoid polishing xda to speak and try to solve the problem encountered if you want it by giving the invitation link
Click to expand...
Click to collapse
Good idea! I'm going to do that
EDIT: Created a telegram group. You can join here https://t.me/xperia_e3
Hello ! After trying to compile the build, it stops and says that the error 1 has occurred. I tried many times but I always got this error (the only thing that changed is the time before the error occurs). I maybe didn’t correctly write the part with java and jack, but I just started to rewrite all from the beginning, I will keep you informed !?
I will prepare a computer to do this. It is almost done, just need a mouse I will download all these sources and start asap. Any help is much appreciated
EDIT: I have a Xperia E3 ready to test anything you want to. Just PM me for better contact info.. I'm here to help the development of this ROM.
I'm still using CM11 ;-; (can't live without camera)
---------- Post added at 11:36 PM ---------- Previous post was at 11:31 PM ----------
@AmulyaX please see this
jpzex said:
I will prepare a computer to do this. It is almost done, just need a mouse I will download all these sources and start asap. Any help is much appreciated
EDIT: I have a Xperia E3 ready to test anything you want to. Just PM me for better contact info.. I'm here to help the development of this ROM.
I'm still using CM11 ;-; (can't live without camera)
---------- Post added at 11:36 PM ---------- Previous post was at 11:31 PM ----------
@AmulyaX please see this
Click to expand...
Click to collapse
Best of luck. I don't have the E3 now but if you need any help or ask about any error, feel free to PM me. ??
@jpzex, @infus38, @rmnhg, I think you all have D2203. So, will you Port this ROM for D2212 after development of this ROM?
Dhruv said:
@jpzex, @infus38, @rmnhg, I think you all have D2203. So, will you Port this ROM for D2212 after development of this ROM?
Click to expand...
Click to collapse
For now I am at the build of the rom with the help of rmnhg if you want to come help us you been free under the agreement of rmnhg to come on the group telegrame create for this purpose ??
Dhruv said:
@jpzex, @infus38, @rmnhg, I think you all have D2203. So, will you Port this ROM for D2212 after development of this ROM?
Click to expand...
Click to collapse
Yes, that is not difficult. I think that a little kernel change and some build.prop tweaks could do the trick, but first we need to complete a single build for D2203, which is the main model.
rmnhg said:
Yes, that is not difficult. I think that a little kernel change and some build.prop tweaks could do the trick, but first we need to complete a single build for D2203, which is the main model.
Click to expand...
Click to collapse
can i join too ?
Nicklas Van Dam said:
can i join too ?
Click to expand...
Click to collapse
Of course! Everyone is useful and will be welcomed
rmnhg said:
Of course! Everyone is useful and will be welcomed
Click to expand...
Click to collapse
Which source that you used as device and kernel tree? And are you building nougat? I'm D2202 user
anyway, for D2202 only available source for cm12.1 when i see from @hell_lock. Will our device run with that device tree?
Nicklas Van Dam said:
Which source that you used as device and kernel tree? And are you building nougat? I'm D2202 user
anyway, for D2202 only available source for cm12.1 when i see from @hell_lock. Will our device run with that device tree?
Click to expand...
Click to collapse
We are using this kernel with this device tree. That sources are mainly designed for LTE variants, but in yukon repo there is more support for D2202/12 devices (see this commit).
rmnhg said:
We are using this kernel with this device tree. That sources are mainly designed for LTE variants, but in yukon repo there is more support for D2202/12 devices (see this commit).
Click to expand...
Click to collapse
Okay, thanks sir. I was recently trying to fix for D2202 too. i'm using different source code, this for device tree device tree & this for yukon platform yukon tree. anyway for kernel itself i don't know which source that i must using it, i'm using xperia open kernel device by jerpelea and using yukon codename. but i'm still not compile it yet since i've problem with los 13.0
---------- Post added at 05:35 AM ---------- Previous post was at 05:30 AM ----------
rmnhg said:
We are using this kernel with this device tree. That sources are mainly designed for LTE variants, but in yukon repo there is more support for D2202/12 devices (see this commit).
Click to expand...
Click to collapse
and anyway, when i check your kernel source that is for D2203 mode (arima_8926SS) for single sim. can we use that kernel? since i'm using same config too?
I'll try to using your source and report it back
Nicklas Van Dam said:
Okay, thanks sir. I was recently trying to fix for D2202 too. i'm using different source code, this for device tree device tree & this for yukon platform yukon tree. anyway for kernel itself i don't know which source that i must using it, i'm using xperia open kernel device by jerpelea and using yukon codename. but i'm still not compile it yet since i've problem with los 13.0
---------- Post added at 05:35 AM ---------- Previous post was at 05:30 AM ----------
and anyway, when i check your kernel source that is for D2203 mode (arima_8926SS) for single sim. can we use that kernel? since i'm using same config too?
oh ya, and vendor source? when i saw from themuppets. Flamingo only updated until cm-12.0 and after that in cm-13.0 until cm-14.0 flamingo doesn't exist in that branch?
Click to expand...
Click to collapse
For vendor I'm using https://github.com/kj77/vendor-yukon on cm-14.1 branch
I think you need to include some device tree files for D2202/D2212 in kernel, since as you said that kernel is specific for D2203. I could try to make basic support for it.

### Kernel SOURCE CODE Released for Oppo RealMe 1 ###

The source code for Oppo RealMe 1 is released with that of RealMe U1.
Link
https://github.com/realme-kernel-opensource/RM1_AND_RMU1-kernel-source
Can expect some nice Custom Mods and ROMs now. :laugh: :happy:
I guess no one is going to create a rom for our device
Drunkcj said:
I guess no one is going to create a rom for our device
Click to expand...
Click to collapse
Sadly no one. We are stuck on Color OS forever.
akash1988 said:
Sadly no one. We are stuck on Color OS forever.
Click to expand...
Click to collapse
I think i'll create one after 3-4 months
Actually its hard to work on a totally new architecture devs need time to be used to it
also because no other devices like oppo gave kernel source on their f9 which has the same p60 processor which comes to conclusion devs have to work right from the scratch to build roms for this device
Have patience until someone notices the actual easyness of porting rom to this device and the probability of a developer getting a mediatek device is rare
Can any one provide me with the device tree for our device, I am working on a Custom Rom for RealMe1? Follow the steps for extracting the device tree. Or use your Google Skills and extract it.
arnabdraco said:
Can any one provide me with the device tree for our device, I am working on a Custom Rom for RealMe1? Follow the steps for extracting the device tree. Or use your Google Skills and extract it.
Click to expand...
Click to collapse
why don't you try this GIS project treble ROM?
and let us know its working or not..?
i hv asked their and topic creator said it should work
bcoz our realme 1 supports project treble
i'm a noob thats why hesitating to try...
https://forum.xda-developers.com/pr.../rom-blissroms-9-0-official-4-4-2019-t3918303
abhi.s4u said:
why don't you try this GIS project treble ROM?
and let us know its working or not..?
i hv asked their and topic creator said it should work
bcoz our realme 1 supports project treble
i'm a noob thats why hesitating to try...
https://forum.xda-developers.com/pr.../rom-blissroms-9-0-official-4-4-2019-t3918303
Click to expand...
Click to collapse
They don't have the device tree for the manufacturer.
arnabdraco said:
They don't have the device tree for the manufacturer.
Click to expand...
Click to collapse
its generic rom bro not specific... its works with all device if your device hv 8(oreo) or above oreo O.S and supports project treble..
why you need its device tree??
abhi.s4u said:
its generic rom bro not specific... its works with all device if your device hv 8(oreo) or above oreo O.S and supports project treble..
why you need its device tree??
Click to expand...
Click to collapse
Ok have never build any rom for treble supported device, as per wiki treble sounds interesting.
arnabdraco said:
Ok have never build any rom for treble supported device, as per wiki treble sounds interesting.
Click to expand...
Click to collapse
UPDATE: It results in a very buggy rom port. Vital functions seems either not working or mulfuncationing.
TRYING TO BUILD THE LINEAGE OS FROM THE SOURCE
Experiencing this error please help:
/home/dracoA/losr1/out/target/product/CPH1861/system/etc/NOTICE.xml.gz -> /home
/dracoA/losr1/out/target/product/CPH1861/obj/NOTICE.xml.gz -> /home/dracoA/losr1/out/target/product/CPH1861
/obj/NOTICE.xml -> /home/dracoA/losr1/out/target/product/CPH1861/system/etc/NOTICE.xml.gz
08:31:21 ninja failed with: exit status 1
:crying::crying::crying:
Drunkcj said:
I guess no one is going to create a rom for our device
Click to expand...
Click to collapse
Actually, I'm a dev from Moto G5 community. And a friend asked me to make one for this device and I came here after searching for a while. Now if someone can extract the device and the vendor tree I surely will build one. I can't do that myself as I don't have the device and I'm busy with school so can't bother downloading the factory image and extracting.
AyamDobhal said:
Actually, I'm a dev from Moto G5 community. And a friend asked me to make one for this device and I came here after searching for a while. Now if someone can extract the device and the vendor tree I surely will build one. I can't do that myself as I don't have the device and I'm busy with school so can't bother downloading the factory image and extracting.
Click to expand...
Click to collapse
Same here bro. I have exams and I am busy till September .
Drunkcj said:
Same here bro. I have exams and I am busy till September .
Click to expand...
Click to collapse
Oh. nvm
AyamDobhal said:
Actually, I'm a dev from Moto G5 community. And a friend asked me to make one for this device and I came here after searching for a while. Now if someone can extract the device and the vendor tree I surely will build one. I can't do that myself as I don't have the device and I'm busy with school so can't bother downloading the factory image and extracting.
Click to expand...
Click to collapse
Both trees are available in GitHub.
I have synced the lineage source and trees but facing some error making build.
arnabdraco said:
Both trees are available in GitHub.
I have synced the lineage source and trees but facing some error making build.
Click to expand...
Click to collapse
A link to the trees would be much helpful.
Already Working
I have already started working for Realme 1 and very close to release rom
---------- Post added at 04:51 PM ---------- Previous post was at 04:49 PM ----------
arnabdraco said:
Both trees are available in GitHub.
I have synced the lineage source and trees but facing some error making build.
Click to expand...
Click to collapse
I have made everything but build stucks at 99% due to insufficient cache size. Thinking to repartition device
---------- Post added at 04:55 PM ---------- Previous post was at 04:51 PM ----------
Amar 721 said:
Actually its hard to work on a totally new architecture devs need time to be used to it
also because no other devices like oppo gave kernel source on their f9 which has the same p60 processor which comes to conclusion devs have to work right from the scratch to build roms for this device
Have patience until someone notices the actual easyness of porting rom to this device and the probability of a developer getting a mediatek device is rare
Click to expand...
Click to collapse
There is nothing like new architecture. Porting ROMs is a bad idea and best is compiling from source
Invincible-Venom said:
I have already started working for Realme 1 and very close to release rom
---------- Post added at 04:51 PM ---------- Previous post was at 04:49 PM ----------
I have made everything but build stucks at 99% due to insufficient cache size. Thinking to repartition device
---------- Post added at 04:55 PM ---------- Previous post was at 04:51 PM ----------
There is nothing like new architecture. Porting ROMs is a bad idea and best is compiling from source
Click to expand...
Click to collapse
Try Google Console There you can easily build, though you have to start from beginning but it's not a problem if you remember what fixes you made to the files...
arnabdraco said:
Try Google Console There you can easily build, though you have to start from beginning but it's not a problem if you remember what fixes you made to the files...
Click to expand...
Click to collapse
I use Google Cloud only!

Categories

Resources