[ROM][Development/Experimental][Micromax A70][CyanogenMod from Source] - Miscellaneous Android Development

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]

Related

[GUIDE] Custom ROM development for the rest of us [In Progress]

*** THIS IS NOT JUST ANOTHER EFFORT TO CREATE YET ANOTHER CUSTOM ROM***
Though Android is opensource, a lot of things are unknown regarding ROM development/modification. There are many custom ROMs available for Galaxy 3 (and also other phones) and lot of people are flashing them and making their phone more responsive, productive and faster; but very few people actually knew how to go about developing the ROM.
What I intend here is to find out and document correct way to build ROM for our favorite Galaxy 3, which is very popular in India.
The goal will be to develop the ROM from Android source + Drivers from stock ROM while documenting the process so that large number of people can contribute to the development.
I will shortly update the posts with what I have done.
Reserved
Can anyone help me convert system.img and userdata.img file into files flash-able by ODIN?
Thanks
Third post
Reserved for future use
Fourth post
Fourth post.. reserved
Fifth post
Reserved 5th post goes here...
looking forward to what you come up with
Making one aint difficult keeping it bug free might get sometimes
Thanks rudolf895
I have experience in Android SDK and NDK development, but I am a noob when it comes to ROM development. Thats why this effort.
I have fetched android source using repo as well as I have also downloaded source for I5801 from Samsung open source website. After this I will look into extracting drivers from stock ROM and successfully compiling it for Galaxy 3.
rudolf895 said:
looking forward to what you come up with
Making one aint difficult keeping it bug free might get sometimes
Click to expand...
Click to collapse
abhijeet.pathak said:
thanks rudolf895
i have experience in android sdk and ndk development, but i am a noob when it comes to rom development. Thats why this effort.
I have fetched android source using repo as well as i have also downloaded source for i5801 from samsung open source website. After this i will look into extracting drivers from stock rom and successfully compiling it for galaxy 3.
Click to expand...
Click to collapse
best of luck
Looking forward to it!
abhijeet.pathak said:
Thanks rudolf895
I have experience in Android SDK and NDK development, but I am a noob when it comes to ROM development. Thats why this effort.
I have fetched android source using repo as well as I have also downloaded source for I5801 from Samsung open source website. After this I will look into extracting drivers from stock ROM and successfully compiling it for Galaxy 3.
Click to expand...
Click to collapse
Do not fell shy to ask for help u need. Together we can make it better. We are with you whenever u need us.
ARMVK Dev Team
Thanks!
Thanks a lot for your support guys..
arunmcops said:
Do not fell shy to ask for help u need. Together we can make it better. We are with you whenever u need us.
ARMVK Dev Team
Click to expand...
Click to collapse
hehe, cant wait to see what you come up with, sounds promissing btw... i am also willing to help whereever i can, whereas this wont be too much in this case i guess.
good luck and thanx...
TY ..!
Thanx alot
This would be really helpful to alot of members here
interesting ! waiting ....
I applaud your thread, I myself was thinking about such a concept.
I wanna help, but I cant do that much (basic knowledge of C and basic/little knowledge of linux and adb).
I think first there should be a list of basic stuff. Like compiling the sources, extracting factoryrfs and co from your phone etc... Sometimes if you wanna start doing something and you dont know the basics you get scared off because of their apparent tremendous lack of knowledge.
I'd probably start dabbling if somebody told me how to compile the sources.
can you also specify your work environment, toolchain and such stuff, so anyone can start from zero? there is a kernel building vm image with all tools by sztupy somewhere on the forum that is eventually of interest, and there is also an extended version containing eclipse and some more tools for full android development:
http://forum.xda-developers.com/showthread.php?t=882010
hope this helps somebody...
Did you try using it? I think the scripts are specific and cant be used by us (without altercation)
no, i have absolutely no idea of kernel compilation and all that advanced stuff, but i guess it can be adapted for our use
Yup...me too in waitin line...Now i can say i dint made a mistake by buying it...
Sent from my GT-I5801 using XDA App
abhijeet.pathak said:
Can anyone help me convert system.img and userdata.img file into files flash-able by ODIN?
Thanks
Click to expand...
Click to collapse
maybe you can create a ".tar" package including all those files.. .tar is flashable in odin..

[Q][need help]building jellybean for motorola photon q ver 77.8.14.XT897.Sprint.en.US

hi i wanna build jellybean for my phone and i need help
please consider me a complete NOOB cause i barely got the kitchen running but it doesnt work with this phone so...
got it rooted with No Problem though
thanx to everyones work that got me this far
ps im running rooted stock rom willing to help as much as i can to get help just tell me what to do maybe we can help each other
...you can build your own rom, but maybe is better leave it on Skrilax_CZ
http://forum.xda-developers.com/showthread.php?t=2159708
then how will i learn?
CornholioGSM said:
...you can build your own rom, but maybe is better leave it on Skrilax_CZ
http://forum.xda-developers.com/showthread.php?t=2159708
Click to expand...
Click to collapse
ok so i went as far as downloading the JB source from AOSP
i have everything installed needed for the build
whats next? cause when i try to issue:
lunch full_asanti_c-userdebug
i get the following error:
build/core/product_config.mk:205: *** No matches for product "full_asanti_c". Stop.
** Don't have a product spec for: 'full_asanti_c'
** Do you have the right repo manifest?
It has to be properly ported to Photon Q first.
how?
Skrilax_CZ said:
It has to be properly ported to Photon Q first.
Click to expand...
Click to collapse
what are the steps to do that?
That's very specific for each platform - by simply making each feature working. You can use my CM10 device / vendor repos as a base.
I believe Cyanogenmod has an article in their wiki explaining how to build for a "new" device.. Even for a device that is already in the "lunch combo" you will still run into make errors without the right GCC compiler, kernel source, and proprietary files....
EDIT: Then once you get it to compile you also gotta create a "signed zip" with some more vodo... :/
Sent from my XT897 using Tapatalk 2

[CM11][MT6577][WIP][ at bootanim +adb] Discussion thread

i had started this thread for discussion to move forward on the development as this is my first time at rom compiling
i request all the members to not to ask eta/progress report etc ill update the thread at regular stages
i had made a first breakthrough and now getting to cm bootanimation now need help from experienced developers to help me procede . i am unable to get logcat/dmesg cause adb is not detecting
can somebody help me
I will. You can ask chrmhoffmann or kashifmin from the mt6589 group. They have also source builded cm11 successfully.
Sent from my GT-I9082 using Tapatalk
Hi bro,
Great work to compile from source and achieve this stage.
In cm11 ramdisk to give adb access its bit diff from normal stock kernel ramdisk. Hope you have given like that !
BRO IF POSSIBLE CAN U UPLOAD THE ROM...:fingers-crossed:
Got adb working now don't know why but my custom usb initrd isn't getting compiled but now working fine
Now upto solving errors and porting mt6589 omni patches to mt6577 chipset
[email protected] said:
BRO IF POSSIBLE CAN U UPLOAD THE ROM...:fingers-crossed:
Click to expand...
Click to collapse
Sorry brother my net is slow so i don't want to upload useless rom
Sent from my Cynus T2 using XDA Free mobile App
bindassdost said:
Got adb working now don't know why but my custom usb initrd but now working fine
Now upto solving errors and porting mt6589 omni patches to mt6577 chipset
Cool bro Good luck & hope it works Glad to help you if in case u might need
Click to expand...
Click to collapse

CM 13 or 14

I am trying to build cyanogenmod from source for samsung galaxy core duos
I have read xda university gide of building android from source
Can anyone provide me with a device tree for gt-i8262 for cm 13 or 14 or atleast a guide of how to build a device tree?
Plzz also provide a link of anything else i may require
I have a little knowledge of python, java, c, c++
CM13 Device Tree for Core
https://github.com/I8552-CM/android_device_arubaslim
It's of I8262.
Y is it written I8552 CM?
Ayush1325 said:
Y is it written I8552 CM?
Click to expand...
Click to collapse
that's tree was cloned from I8552 to I8262 just clone the device & kernel tree also apply the patch then u can start build if u faced an error post screenshot here so we can help, good luck
Ayush1325 said:
Y is it written I8552 CM?
Click to expand...
Click to collapse
Actually both the devices have same architecture and there is cm13 branch in the above github repo.
This repo is actually modified for core.
All the best
Good luck.
Do i need to build a recovery or can i use the recoveries already available for my device?
I also found kernel for gt-i8262
https://github.com/I8552-CM/android_kernel_arubaslim/tree/ion
What do i need to do now??
Ayush1325 said:
I also found kernel for gt-i8262
https://github.com/I8552-CM/android_kernel_arubaslim/tree/ion
What do i need to do now??
Click to expand...
Click to collapse
better you understand first step by step to prepare and setup build environment, u can find many guide how to build android from source, u can read some reference from here
Do i need to add kernel source in manifest file??
Try to build CM13 if u succeed then try and build CM14 it will be much easier and yeah CM14 will be much better but it will be harder for now to fix bugs. But i am not sure about that. Good luck.
Sent From Hell
Ayush1325 said:
I am trying to build cyanogenmod from source for samsung galaxy core duos
I have read xda university gide of building android from source
Can anyone provide me with a device tree for gt-i8262 for cm 13 or 14 or atleast a guide of how to build a device tree?
Plzz also provide a link of anything else i may require
I have a little knowledge of python, java, c, c++
Click to expand...
Click to collapse
Well, dunno if you're still interested in the task, anyway - aside from what others already suggested - I can point you on:
Source codes for I8260/I8262 : https://forum.xda-developers.com/showthread.php?t=2762777
Official Google guide on building Android: https://source.android.com/source/building
Last but not least, keeping in touch with Huawei Ascend G510/Y300 (which are pretty similar to Cores i826*: http://www.gsmarena.com/compare.php3?idPhone1=5419&idPhone2=5250&idPhone3=5386) guyz @ MODACO: http://www.modaco.com/forums/forum/743-huawei-ascend-g510-development/
Hope that helps.

WIP* ( port) Linage OS LG Stylo 2 plus

Development is dead. Please delete..
Rmontoya83 said:
Good news I have a working Linage OS 13 build for the lg stylo 2 Plus GSM. Thought it was bug free still has some issues though . My PC took a dump I have the sources saved on my hard drive I will have a new PC on Feb 6 and will release the Rom For Free probably with in a few days from then. As I'm almost done porting a working lineage OS 14 for the device.
I will update the device tree on Github So I can get help from other devs to trouble shoot these issues better and collaborate works. I will also include a working recovery with the Rom for free . I am doing this in my free time so please be patient .
I will keep you posted ?
Any people interested in helping let me know.
Click to expand...
Click to collapse
I am interested in helping, I have the metropcs variant.
Latest up to date software. Due to that I have no root
LG Stylo 2 PLUS
TWRP no ROOT
cragains said:
I am interested in helping, I have the metropcs variant.
Latest up to date software. Due to that I have no root
LG Stylo 2 PLUS
TWRP no ROOT
Click to expand...
Click to collapse
You can downgrade your firmware .
Nice work let me know when the source is up at github , i may be able to help
I'm so anxious I can't wait to get my new PC! I will be compiling a lot faster. You guys are going to like this lineage OS port. Hang in there
Any screenshots?
I'm interested in this also
Pelegius22 said:
Any screenshots?
I'm interested in this also
Click to expand...
Click to collapse
Not at the moment I had the backlight on my display burn out . had to flash the stock rom back for warranty purposes and for some reason every time I try and back up via twrp the data gets corrupted.
So the only place I have a working Rom is stored on a hard drive and I get my PC back on the 6th this month so it will be up soon.
Twrp link
Rmontoya83 said:
You can downgrade your firmware .
Click to expand...
Click to collapse
No PC right now, I moved across the state, and left my PC.
Can't down grade
LG Stylo 2 PLUS
TWRP no ROOT
Got the new laptop up and running building starts tommorrow.
All souces are downloaded . I will start building the device tree tonight hopefully by end of week myself and @messi2050 will have a working lineage OS build for the ph2n. I stood up all night working on the list of proprietary files need for the build.
Now comes the hard work of adding all the required blobs to get it all functional please be patient. As we are doing this in out free time. Once the device tree is all setup it will be a lot easier to port other roms to this device such as omni aokp DU and so much more. I chose a 13 build as I'm new to this and its a lot easier to port a Rom that has many components that are stable with the version.
If you appreciate our work buy us a cup of coffee. Or hit the thanks button for the Devs working on this build .
Thanks to all the xda community.
We should work on a changelog concerning drivers for cheaper models like my tmousa k550.
(((Poll )))) custom kernel with more governors and overclock or stock kernel?
Rmontoya83 said:
(((Poll )))) custom kernel with more governors and overclock or stock kernel?
Click to expand...
Click to collapse
Custom kernel with more governors and overclock! Let me know if you need me to test, I have MetroPCS variant. Thank you also for your time and development for this amazing device!
Rmontoya83 said:
(((Poll )))) custom kernel with more governors and overclock or stock kernel?
Click to expand...
Click to collapse
Custom all the way.
I am sending this to you in hopes of curing my boredom...
Montoya, how are you getting the blobs? I have root when want it, I just don't right now. I have teamoctos synced, I have all the source code for our device. I'm not much of a programmer, but let me know I can help. I have Ubuntu with all the packages for compiling.
we need all the help we can get
Giminji said:
Montoya, how are you getting the blobs? I have root when want it, I just don't right now. I have teamoctos synced, I have all the source code for our device. I'm not much of a programmer, but let me know I can help. I have Ubuntu with all the packages for compiling.
Click to expand...
Click to collapse
@messi2050
has one repository done for device /device
i have the other kernel/
i am working on the blobs using @JackpotClavin utility tool to pull all the blobs needed for the build. once we have a stable tree we can work on building other roms.
Good news we have the the last branch to the tree built so builds will start this week sometime. We have a lot of work ahead still so be patient.
Tree source and blobs are on github.
https://github.com/RichieRich83
@messi2050
You rock brother.
Rmontoya83 said:
Good news we have the the last branch to the tree built so builds will start this week sometime. We have a lot of work ahead still so be patient.
Tree source and blobs are on github.
URL deleted I am too new.
@messi2050
You rock brother.
Click to expand...
Click to collapse
Both you and Messi are doing amazing things. When this is done, both of you are getting a cup of java (I couldn't resist Java instead of Joe or Coffee). I downloaded the jackpotcalvindonkey thing yesterday, did the make on it, but didn't get it out.
Btw, your github shows no public repos.
Well that was quick

Categories

Resources