CM 13 or 14 - Samsung Galaxy Core

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.

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]

[Completed] [Q] Building AOSP For I9300

Hello,
I recently downloaded the official AOSP source code into my machine and I want to compile it for my GT-I9300,
but before that where do I get the device blobs and properitary drivers from? Can I use CM's device tree? Are there any other device trees?
And in an addition to that how do I get the Kernel to work properly? Do I need to use the CM kernel?
A hint / tip or a link to a guide would be appreciated.
Thanks in advance
I can suggest you to go to xda university
I'm sure that you will find all you need for cooking your own build
Good luck

Base device tree for most used chipset

THIS INFO IS FOR ARMv7 ONLY:
*Broadcom
*Mediatek
*Speadtrum (vivalto)
*Qualcomm
*Tegra
Moderators please don't close this thread I will make typos after returning from school
This thread will more be helpful for ppls
BROADCOM
REQUIREMENTS:
1. Need kernel source if in case to make more stability
2. BCM21654 and above
SOURCES
KERNEL: ----> Note this contains the things which are to make some features to work on ROMs
https://github.com/karthick111/bcm21654-cm_kernel_common
DEVICE_TREE: ----> Can have the reference or port but give credits if it is based on any of it
GALAXY POCKET NEO: https://github.com/karthick111/android_device_corsica_cm
GALAXY FAME: https://github.com/wulsic/android_device_samsung_nevisp
GALAXY GRAND: https://github.com/pawitp/android_device_samsung_i9082
PATCHES: ----> All major patches from #Pawitp
KITKAT: https://github.com/wulsic/android_patchesnevisp
LOLLIPOP: https://gist.github.com/pawitp/cba169c87dba57eea8ef
COMMON-KITKAT: (hardware/libhardware/include/audio.h) replace with this->: https://gist.github.com/dhinesh77/7206ec7900bee32e4c51 ----> For working mic,videocam fix
COMMON-KITKAT,LOLLIPOP: https://github.com/PAC-man/android_frameworks_native/commit/0c81fda74f6e7f9dc5f48bd00e4dbeaef12fdbc2 ----> EGL patch
COMMON-LOLLIPOP: https://gist.github.com/Flex1911/47a9515fc482d5551a85 ---> patch for icu to run the old egl to run on new framework
________________________END FOR BROADCOM________________________
MediaTEK
SOURCES AS FAR WE KNOW MEDIATEK VIOLATING GPL TERMS SO WE CANT EXPECT KERNEL'S
DEVICE_TREE: ----> Can have the reference or port but give credits if it is based on any of it
MT6575 -single,dual core variants
CELKON A98: https://github.com/karthick111/android_device_Celkon_A98
________________________WAIT FOR NEXT UPDATE MEDIATEK________________________
SPEADTRUM Socs
SOURCES SPEADTRUM KERNEL SOURCE'S ARE RELEASED BUT SOME ARE NOT WORKING
WARNING IN THIS CHIPSET RIL FIXES ARE NO WAY SO QUIT IT IF YOU DONT HAVE WIFI
DEVICE_TREE: ----> Can have the reference or port but give credits if it is based on any of it
SAMSUNG GALAXY V SM-G313HZ: https://github.com/cleverior/android_device_samsung_vivalto3gvndx Used patches are in the device tree itself
SAMSUNG GALAXY STAR: https://github.com/TeamRegular/android_device_samsung_mint
________________________END FOR SPEADTRUM________________________
clicking the THANKS button may appreciate me to finish the guide
Could we port CM11 from an MTK to another with this?
karthick mostwanted said:
THIS INFO IS FOR:
*Broadcom
*Mediatek
*Speadtrum (vivalto)
*Qualcomm
*Tegra
Moderators please don't close this thread I will make typos after returning from school
This thread will more be helpful for ppls
Click to expand...
Click to collapse
Kindly share how to please I got kernel sources for my device
Yes for sure but wait I'm unable to amend some time for it
karthick mostwanted said:
Yes for sure but wait I'm unable to amend some time for it
Click to expand...
Click to collapse
Take your time
karthick mostwanted said:
Yes for sure but wait I'm unable to amend some time for it
Click to expand...
Click to collapse
Where is the method? How to port or create from existing tree?
The simple method can be done by all and it's no way useful and its not explainable
If you are new to this quit it let other devs make use if it

[Completed] How to get proprietary blobs!!

how to build a cyanogenmod from source for unsupported devices.All the custom rom's building instruction say that "Your device should already be running the branch of CyanogenMod you wish to build your own version of for the extract-files.sh script to function properly. If you are savvy enough to pull the files yourself off the device by examining the script, you may do that as well without flashing CyanogenMod first."
But where is the first proprietary blobs came from??
How can we get the proprietary blobs for other devices for the first time build?
I dnt understand anything...I'm trying to build a fresh cm12.1 rom for my device galaxy j5..plz guide me in ryt way if am wrong
ganesh varma said:
how to build a cyanogenmod from source for unsupported devices.All the custom rom's building instruction say that "Your device should already be running the branch of CyanogenMod you wish to build your own version of for the extract-files.sh script to function properly. If you are savvy enough to pull the files yourself off the device by examining the script, you may do that as well without flashing CyanogenMod first."
But where is the first proprietary blobs came from??
How can we get the proprietary blobs for other devices for the first time build?
I dnt understand anything...I'm trying to build a fresh cm12.1 rom for my device galaxy j5..plz guide me in ryt way if am wrong
Click to expand...
Click to collapse
Hello,
Thanks for using XDA Assist.
You can take a look at [GUIDE][COMPLETE] Android ROM Development From Source To End
Also read http://www.netmite.com/android/mydroid/development/pdk/docs/
___
v7
XDA Assist

Is There a Custom Kernel Available for Nokia 3 TA 1032

My device is Nokia 3 TA 1032 running Android Pie rooted using Magisk and with TWRP custom recovery with kernel version 3.18.119+ ....
Is there a custom Kernel available for this device which is 3.19 or above.?.?.
If so ...can anyone provide me the link please.?.?.
And if not...does anyone know about porting/compiling kernel for this device.?.?.
please...i need some help....
https://ibb.*co/ MCBrDtC
mechano59 said:
My device is Nokia 3 TA 1032 running Android Pie rooted using Magisk and with TWRP custom recovery with kernel version 3.18.119+ ....
Is there a custom Kernel available for this device which is 3.19 or above.?.?.
If so ...can anyone provide me the link please.?.?.
And if not...does anyone know about porting/compiling kernel for this device.?.?.
please...i need some help....
https://ibb.*co/ MCBrDtC
Click to expand...
Click to collapse
I dont' know if there's a custom kernel for this device. But you can download the source code form here https://www.nokia.com/phones/en_int/opensource to compile it and add features by yourself.
Isrks said:
I dont' know if there's a custom kernel for this device. But you can download the source code form here https://www.nokia.com/phones/en_int/opensource to compile it and add features by yourself.
Click to expand...
Click to collapse
https://ibb. co/WWFxSsb
sir there seems to be multiple files...which one should i download.?.?. I am really new to this...
and I will be very grateful if you can point to any tutorials or blog posts on how to modify kernels coz i cant seem to find any...
mechano59 said:
https://ibb. co/WWFxSsb
sir there seems to be multiple files...which one should i download.?.?. I am really new to this...
and I will be very grateful if you can point to any tutorials or blog posts on how to modify kernels coz i cant seem to find any...
Click to expand...
Click to collapse
To compile a kernel from source you can follow this tutorial.
https://forum.xda-developers.com/android/software/ultimate-guide-compile-android-kernel-t2871276
There are more threads, this is an example.
The build number in your screenshot (5_180) tells the number of the kernel version you need to download (i want think so ), in this case is the Nokia3_V5.180.tar.bz2 file.
Isrks said:
To compile a kernel from source you can follow this tutorial.
https://forum.xda-developers.com/android/software/ultimate-guide-compile-android-kernel-t2871276
There are more threads, this is an example.
The build number in your screenshot (5_180) tells the number of the kernel version you need to download (i want think so ), in this case is the Nokia3_V5.180.tar.bz2 file.
Click to expand...
Click to collapse
Thank you very much sir....will see if i can do anything with it...
(very sorry for the late reply... )
mechano59 said:
Thank you very much sir....will see if i can do anything with it...
(very sorry for the late reply... )
Click to expand...
Click to collapse
With having a linux environment you can build a kernel from source reading the guides. Adding features is more difficult because the main reason: this device has mediatek SoC.

Categories

Resources