[CM11][MT6577][WIP][ at bootanim +adb] Discussion thread - Micromax A110

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

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..

[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]

[4.2]For mediatek 6577 Post it here !!!!

Android 4.2 is available for mediatek 6577.Yes i am telling the truth but the problem is no one has posted it here.
For example these mobile runs on android 4.2 and the chipset is mediatek 6577
FIRST
SECOND
THIRD
Click to expand...
Click to collapse
So if anyone of you had purchased one of these devices kindly upload system folder of it + boot.img.It will be a huge help for all mediatek based devices.
Thank you.
sURE , I HAVE MICROMAX A89
lol
JB 4.2 on MT6577?
Even with the rom and kernel, you will need ALOT more to work with.
And did you forget Mediatek is Closed Source?
Wish you good luck, you will need it !
superdragonpt said:
lol
JB 4.2 on MT6577?
Even with the rom and kernel, you will need ALOT more to work with.
And did you forget Mediatek is Closed Source?
Wish you good luck, you will need it !
Click to expand...
Click to collapse
First read things clearly then post.
I have not started this tread for porting JB 4.2.xx i have started this tread to collect necessary files.
icoolguy1995 said:
First read things clearly then post.
I have not started this tread for porting JB 4.2.xx i have started this tread to collect necessary files.
Click to expand...
Click to collapse
I actually read it
My reply was based in, what use can u actually have for JUST **hint**hint** the base system and Kernel source code?
Being the rest Closed Source, there isn't much you can do with JUST that.
Don't take it personal, i just hate these Comp. that dont comply with the Android GPL License.
superdragonpt said:
I actually read it
My reply was based in, what use can u actually have for JUST **hint**hint** the base system and Kernel source code?
Being the rest Closed Source, there isn't much you can do with JUST that.
Don't take it personal, i just hate these Comp. that dont comply with the Android GPL License.
Click to expand...
Click to collapse
Well if we get our hands on ROMs that have the same chipset we might find a solution for the camera don't you think?
Let me help u with the source code for mtk 6577
code.openhub.net/project?pid=&ipid=402434&fp=402434&mp&projSelected=true&filterChecked
Sent from my Micromax_A101 using XDA Free mobile app

Donate to a developer for Cyanogenmod

Hello.
This thread might seem to stupid but none the less. Anyways, I was thinking that due to lack of developers we don't have cyanogenmod.
The last proper developer we had was varun.chitre15 and he left due to getting a new device, he did not have micromax a110 which might have been a reason that he wasn't able to fully develop cyanogenmod.
If the micromax forum community here would unite and donate to a developer who can develop cyanogenmod for us, we might just have it on our device. The donation would be so the developer could get the phone Micromax A110 and develop cyanogenmod.
We can donate via paypal. Even the smallest of donation could help. So what are your thoughts on this guys?
dkc379 said:
Hello.
This thread might seem to stupid but none the less. Anyways, I was thinking that due to lack of developers we don't have cyanogenmod.
The last proper developer we had was varun.chitre15 and he left due to getting a new device, he did not have micromax a110 which might have been a reason that he wasn't able to fully develop cyanogenmod.
If the micromax forum community here would unite and donate to a developer who can develop cyanogenmod for us, we might just have it on our device. The donation would be so the developer could get the phone Micromax A110 and develop cyanogenmod.
We can donate via paypal. Even the smallest of donation could help. So what are your thoughts on this guys?
Click to expand...
Click to collapse
I think first of all we need to find a developer.
And if you have already found one then let us know..
Sent from my LegoIceâ„¢ canvas4 using xda premium
I am fine with the idea. :thumbup:But who would be that developer? I would be more than happy if varun where to come back.
I feel developers feel pissed with our frequent request for updates.
Sent from my Micromax A110 using xda
I am ready for donation
Sent from my Micromax A110 using Tapatalk 4
The first thing the developer to whom you are about to donate the device will ask is 'working kernel sources' and availability of MTK RIL sources. Without them even Steve Kondik won't be able to do anything
Sent from my Sony Xperia L (C2104) using Tapatalk 4 beta
I'm sure someone will gladly take free money
varun.chitre15 said:
The first thing the developer to whom you are about to donate the device will ask is 'working kernel sources' and availability of MTK RIL sources. Without them even Steve Kondik won't be able to do anything
Sent from my Sony Xperia L (C2104) using Tapatalk 4 beta
Click to expand...
Click to collapse
You were willing to have a go at it. I'd request you to comeback but since you've made your choice, I'll move on. There was no harm in trying though.
varun.chitre15 said:
The first thing the developer to whom you are about to donate the device will ask is 'working kernel sources' and availability of MTK RIL sources. Without them even Steve Kondik won't be able to do anything
Sent from my Sony Xperia L (C2104) using Tapatalk 4 beta
Click to expand...
Click to collapse
Now you are telling this huh !
When you were developing cm 10.1 you were on the edge of booting it but you discontinue it, and according to your statements every driver can be ported except RIL is that correct.
And you also told that, you can port RIL too if you have a device. So i think Steve Kondik can build cm 10.
icoolguy1995 said:
Now you are telling this huh !
When you were developing cm 10.1 you were on the edge of booting it but you discontinue it, and according to your statements every driver can be ported except RIL is that correct.
And you also told that, you can port RIL too if you have a device. So i think Steve Kondik can build cm 10.
Click to expand...
Click to collapse
You are making a mistake in understanding terms 'booting' and 'working'
Even if I had to continue, I would have to stop at some point where development won't go any further. Making the build booting was never an objective.
Even if some miscellaneous drivers viz Bluetooth, Wifi could be fixed, I cannot imagine a phone which cannot do basic SIM based operations, and hence working on the same was out of my sense. So, the point that none other than Mediatek can build an Android build remains to be valid.
varun.chitre15 said:
You are making a mistake in understanding terms 'booting' and 'working'
Even if I had to continue, I would have to stop at some point where development won't go any further. Making the build booting was never an objective.
Even if some miscellaneous drivers viz Bluetooth, Wifi could be fixed, I cannot imagine a phone which cannot do basic SIM based operations, and hence working on the same was out of my sense. So, the point that none other than Mediatek can build an Android build remains to be valid.
Click to expand...
Click to collapse
Ohh now i fully understand !
Thanks
A China developer website going to compile mtk kernel source . The development support all the mtk chipset
If u don't believe visit this
http://forum.xda-developers.com/showthread.php?p=44600839

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.

Categories

Resources