FORUMS
Remove All Ads from XDA

[GUIDE]Making a ROM from source{Mediatek}

1,850 posts
Thanks Meter: 3,623
 
By MasterAwesome, Recognized Developer on 17th May 2014, 06:07 AM
Post Reply Subscribe to Thread Email Thread
24th May 2014, 08:22 PM |#21  
MasterAwesome's Avatar
OP Recognized Developer
Thanks Meter: 3,623
 
Donate to Me
More
Quote:
Originally Posted by shaikhdjm

Nice guide Mate.. you r encouraging mtm development

Sent from my Iris 504q using Tapatalk

Thank you;Just helping out fellow developers.

Sent from my Moto G
 
 
31st July 2014, 05:13 PM |#22  
Davidosky99's Avatar
Junior Member
Thanks Meter: 2
 
More
HELP-How to use external sources to build for a specific device
Hi xda!
First, my device is Wiko Darkfull(not officially, or unnoficially supported by cm) and it's a mtk. the sources are officially available here: http://geek.wikoplus.com/index.php?t...81b53e1e1b18b6
and on wikogeek.com
Second, wiko provided me the entire source code, and i'm not familiariezed with the git and the build process.
The source has the folders:
mediatek
bionic
kernel
But i've like to know, how to in the build process, to "point" to the git, the location of the sources(external).
In the source folder(wiko darkfull source folder), there is all the files needed.
But how i make git build from the external sources?
And, could someone, tell me everything, but with a little guide , i'm kind of noob
My "goal" is to build cm 10.1 and i had synced the git to cyanogen 10.1 sources
Thanks for everything.
Davidosky99

PS(My english is not the best...i know! )
12th December 2014, 08:18 AM |#23  
Member
Thanks Meter: 17
 
More
What if my device source code is not released? Can i build a rom or a kernel?

Sent from my Micromax A88 using XDA Premium 4 mobile app
7th January 2015, 06:28 PM |#24  
MasterAwesome's Avatar
OP Recognized Developer
Thanks Meter: 3,623
 
Donate to Me
More
Quote:
Originally Posted by Papdya

What if my device source code is not released? Can i build a rom or a kernel?

Sent from my Micromax A88 using XDA Premium 4 mobile app

Kernel no. ROM, maybe, you can use a prebuilt kernel and still build a working ROM for your phone.

Sent from my Moto G using XDA Free mobile app
8th January 2015, 01:30 AM |#25  
Member
Thanks Meter: 17
 
More
Quote:
Originally Posted by MasterAwesome

Kernel no. ROM, maybe, you can use a prebuilt kernel and still build a working ROM for your phone.

Sent from my Moto G using XDA Free mobile app

Ok.thanks.

Sent from my Micromax A88 using XDA Premium 4 mobile app
22nd April 2015, 11:58 AM |#26  
aaaaaaziskurnia's Avatar
Member
Flag Ciamis
Thanks Meter: 12
 
Donate to Me
More
Is the pathced files compatible with pac5.1 rom?

Sent from my A1 using XDA Free mobile app
18th May 2015, 01:56 PM |#27  
3DMapPlayer's Avatar
Member
Flag Isabela
Thanks Meter: 17
 
Donate to Me
More
Quote:
Originally Posted by MasterAwesome

a)device tree

Where do I put the device tree?
13th February 2016, 04:57 PM |#28  
Junior Member
Flag Alexandria
Thanks Meter: 1
 
More
now i get the kernel source what shoud i put the files with aosp sources
7th April 2016, 07:47 PM |#29  
Member
Thanks Meter: 12
 
More
solvehi evrybody, i'm traing to compile cyano for my redmi note 3 mtk version (mt6795) (i have device tree, vendor an prebuilt kernel ).
i follow your guide but as soon as i start building i recive an error :
Code:
matbo@matbopc:~/sorgenti/cyanogenmod$ make -j4 bacon
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20160407-UNOFFICIAL-hennessy
TARGET_PRODUCT=cm_hennessy
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-35-generic-x86_64-with-Ubuntu-15.10-wily
HOST_BUILD_TYPE=release
BUILD_ID=LMY49J
OUT_DIR=/home/matbo/sorgenti/cyanogenmod/out
============================================
Checking build tools versions...
************************************************************
You asked for an OpenJDK 7 build but your version is
java version "1.7.0_80" Java(TM) SE Runtime Environment (build 1.7.0_80-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode).
************************************************************
build/core/main.mk:198: *** stop.  Arresto.

#### make failed to build some targets (2 seconds) ####
i can't understand what i'm doing wrong.
thanks for your time
edit:solved
Last edited by matbo; 7th April 2016 at 08:25 PM. Reason: solved, sometimes i'm really stupid
16th May 2016, 02:34 PM |#30  
Suman117's Avatar
Senior Member
Flag Kolkata
Thanks Meter: 48
 
More
how to merge to source tree
Post Reply Subscribe to Thread

Tags
build, guide, mediatek, roms, source

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes