[msm8916-common] [cm-11.0] [32bit] Necessary Source Code Missing - YU Yureka Android Development

Hi everyone,
i am trying to build ubuntu touch for tomato (32bit kk cm-11.0)
but it has no repository for cm-11.0 msm8916-common (32bit) but only cm-12.1 and cm-13 (64bit).
https://github.com/CyanogenMod/andro...msm8916-common
Getting lots of errors related to dt.img
what to do guys help.....
Code:
----- Making recovery image ------
Copying baseline ramdisk...
DTB combiner:
Input directory: '/media/rameez/bca677b6-b13b-40fa-9aa4-9c325e685a35/new/out/target/product/tomato/obj/KERNEL_OBJ/arch/arm/boot/dts/'
Output file: '/media/rameez/bca677b6-b13b-40fa-9aa4-9c325e685a35/new/out/target/product/tomato/dt.img'
Failed to open input directory '/media/rameez/bca677b6-b13b-40fa-9aa4-9c325e685a35/new/out/target/product/tomato/obj/KERNEL_OBJ/arch/arm/boot/dts/'
make: *** [/media/rameez/bca677b6-b13b-40fa-9aa4-9c325e685a35/new/out/target/product/tomato/dt.img] Error 255
make: *** Waiting for unfinished jobs....
Modifying ramdisk contents...
cp: cannot stat ‘/media/rameez/bca677b6-b13b-40fa-9aa4-9c325e685a35/new/out/target/product/tomato/root/init.recovery.*.rc’: No such file or directory

Plz also post this project in yureka development section of yureka forum there you will get many response.
http://forums.yuplaygod.com/categories/development.8/
Post this in rom forum. (you need to make account for access)
---------- Post added at 09:58 AM ---------- Previous post was at 09:58 AM ----------
Plz also post this project in yureka development section of yureka forum there you will get many response.
http://forums.yuplaygod.com/categories/development.8/
Post this in rom forum. (you need to make account for access)

If is another MSM8225/A203 based smartphone, you can use source code from clones like Huawei Y300, Samsung I-826x, LG Optimus L7 II, etc.
...anyway it would be great to have a common forum/community for all "clones", it shoud push ROMs & kernel customizations/interchange/progress.

So for 32 bit there is no common tree??
Sent from my YU5510 using Tapatalk

Related

[q] (q) which file to edit to make source not compile particular device plz read down

HELLO GUYS I M DEV FOR LG OPTIMUS ME
SO I HAD DOWNLOADED GINGERBREAD SOURCE AND HAD COMPILED IT FOR MY P350 BUT NOW I WANT TO COMPILE CWM FROM THAT SOURCE I M USING THIS LINK FOR PORTING CWM :
http://www.koushikdutta.com/2010/10/porting-clockwork-recovery-to-new.html
THIS IS THE LINK FROM I M PORTING BUT WEN I TYPE
Code:
make -j4 otatools
IT GIVES ME THIS ERROR
HTML:
build/core/product_config.mk:196: *** _nic.PRODUCTS.[[vendor/cyanogen/products/cyanogen_mecha.mk]]: "vendor/cyanogen/products/cyanogen_mecha.mk" does not exist. Stop.
this is the error i know the meaning is mine source is broken i had this problem before also in cm6 compiling but i solved by removing that device from compiling but now i dont remeber which file is there which says source to compile it there is full lists of devices in that i just need to delete this line so guys plz tell me how to solve this problem
You could try to re-sync, that is the first what I would do.
So do this
rm -rf device vendor
repo sync -f
Afterwards, you are clean again.
Then try again, and check your PM.
Sent from my Galaxy Nexus using Tapatalk 2 Beta-5
keyur you working with pax0r source?
yes cips
kdmaru said:
yes cips
Click to expand...
Click to collapse
then you need a repo sync now
---------- Post added at 01:44 PM ---------- Previous post was at 01:42 PM ----------
download cm source again
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
repo sync

[Q&A] [GUIDE]Building a Kernel from source{Mediatek}

Q&A for [GUIDE]Building a Kernel from source{Mediatek}
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [GUIDE]Building a Kernel from source{Mediatek}. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
mt6582 config.gz/defconfig
sir can i ask for a config.gz or a defconfig of a device similar to mine .. my device specs below
starmobile up
Mt6582
ips 480x854 screen
mali mp2
8mp back
2mp front
or can i get a config.gz or defconfig with just only mt6582 similar..
please if you got one can i have yours..
thanks in advance
building mt8127 dfo_boot.h error
Hello,
I'm currently trying to compile the mt8127 kernel and I'm mainly using your post as a guide on how to do that.
When I use
Code:
cp ../mediatek/config/mt8127/autoconfig/kconfig/platform .config
I get this error at zImage:
Code:
[B][email protected]:~/source/kernel$ make zImage v=1[/B]
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CC init/main.o
In file included from init/main.c:75:0:
/home/android/source/kernel/arch/arm/include/asm/setup.h:18:27: fatal error: mach/dfo_boot.h: No such file or directory
compilation terminated.
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
If I try to make the configs instead of copying them I get the following error:
Code:
[email protected]:~/source/kernel$ make mediatek-configs
make: *** No rule to make target `../out/target/product/mt8127/obj/CUSTGEN/config/autoconfig/kconfig', needed by `mediatek-configs'. Stop.
My exports:
Code:
TARGET_BUILD_VARIANT=userdebug
TARGET_PRODUCT=mt8127
MTK_ROOT_CUSTOM=../mediatek/custom/
MTK_PLATFORM=mt8127
ARCH_MTK_PLATFORM=mt8127
TARGET_KERNEL_VERSION=mt8127
PATH=~/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin:$PATH
CROSS_COMPILE=arm-linux-androideabi-
ARCH=arm
KERNEL_DIR=~/source/kernel
I think dfo_boot.h should be a file, whicht is automatically generated during "make mediatek-configs" and I haven't had any luck figuring out a fix to the problem since I'm a n00b.
Shold "make mediatek-configs" not be the reason for my missing dfo_boot.h, could you please explain to me where I can get it from or how its generated.
mfg
Moonwolf
Hi Master Awesome. Firstly, I wanna say a big "Thank you!" to you for this guide. However, whenever I install those required packages, they BREAK MY LINUX INSTALLATION. My machine no longer shuts down or boots successfully. WHY? I'm running 64 bit Ubuntu 12.04 LTS. I appreciate your response. Thanks!
ABS or AOSP
Hello.
For bulid a MTK is more ABS or AOSP??
Best Regards
Problem
[email protected]:~/mediatek/custom/Kernels/kernel$ make menuconfig
/home/ipul/mediatek/custom/Kernels/kernel/mediatek/Makefile:1: *** missing separator. Stop.
[email protected]:~/mediatek/custom/Kernels/kernel$
can you help me
@BlackObyo read this. Basically you've got some spaces in that Makefile where there should be tabs. Did you edit that file manually at all in a text editor? Send me that file, /home/ipul/mediatek/custom/Kernels/kernel/mediatek/Makefile , by attaching it in a post here and I'll have a look, unless you think you can sort it.
@HTCDreamOn
I do not change the contents makefile
i dont have access to make attachments
i sent my makefile via PM
BlackObyo said:
@HTCDreamOn
I do not change the contents makefile
i dont have access to make attachments
i sent my makefile via PM
Click to expand...
Click to collapse
weird, it looks fine to me, as it should do if you've not touched it. I don't own a MediaTek device, so I can only recommend making sure you've followed the guide exactly. Other than that you could tell me your device and which source you're using and I could have a quick investigation?
help
[email protected]:~/mediatek/custom/KK-Kernel-MT6572-master/kernel$ make zImage
find: `../mediatek/custom/common/kernel/alsps/al3006/al3006.h': File name too long
make: arm-eabi-gcc: Command not found
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
/bin/sh: 1: arm-eabi-gcc: not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2
[email protected]:~/mediatek/custom/KK-Kernel-MT6572-master/kernel$
Click to expand...
Click to collapse
help me
MY WHOLE WORK IS
MY DEVICE IS MICROMAX A77 AND MY DEVICE IS CLONNED FROM FLYIQ4404 DEVICE EXPECT TOUCHPANNEL ALL THINGS ARE SAME (MY TOUCHPANNEL IS OF MSG2133 AND FLY IQ4404 IS FT2103)
FLY IQ4404 HAD LOOLIPOP IN ITS DEVICE I ALSO WANT SAME
I USED IT FRIMWARE DIRECTLY FLASHED IT VIA SP FLASH TOOL (REPLACED PRELOADER AND LK.BIN)
IT SUCCESSFULLY BOOTED
BUT TOUCH IS NOT WORKING ?
COMPILED IT SOURCE WITH HELP OF THAT FLYIQ4404 DEVS AND AFTER USING THAT BOOT I GOT WHITE SCREEN AFTER LOGO.BIN HELP NEEDED
MY DEVICE PROPERTIES
LCM= otm8018b_dsi_vdo
TOUCHPANNEL=MSG2133
MORE THINGS NEEDED ASK ME I WILL BE FREE FOR YOU ALWAYS
SOURCE LINK:-
https://github.com/powern/KK_kernel_iq4404_MT6572?files=1
SOME ONE HELP ME TO COMPILE
THIS SOURCE WITH TOUCH DRIVER MSG2133 IT IS A HUMBLE REQUEST
Sent from my Micromax A77 using XDA Free mobile app
anyone here help me to find these imagesensors drivers
i googled it lot but got nothing so someone pls help me
soc5140_mipi_yuv
ov5645_mipi_yuv
gc0329_yuv
hi704_yuv @hyperNeon70 pls help me
Hello Master Awesome. I am compiling my kernel using your guide. But I am stuck at "make menuconfig", it says "make: no such command"
~cyandrew said:
Hello Master Awesome. I am compiling my kernel using your guide. But I am stuck at "make menuconfig", it says "make: no such command"
Click to expand...
Click to collapse
Hello Buddy read your ReadMe file there will be a speciall command will be there from donor of source
Sent from my m2 using XDA-Developers mobile app
murtaza1326 said:
Hello Buddy read your ReadMe file there will be a speciall command will be there from donor of source
Sent from my m2 using XDA-Developers mobile app
Click to expand...
Click to collapse
There was no readme file along with the source. I was able to compile the kernel but ended up unsuccessful, it says a bunch of errors, such as "make[x]: (net) error" "make[x]: error, cannot find kernel_byd82_wet_kk.bin" where byd82_wet_kk is the Target_project
Sent from my MT6582 using XDA-Developers mobile app

no rule to make target '/.txt'

hey guys! I'm doing a test compile of CM, just trying to get it running on the Raspberry Pi 2 for kicks, and I ran into a compile issue:
Code:
Install: /out/host/linux-x86/bin/apicheck
Checking API: checkpublicapi-last
Checking API: checkpublicapi-current
Docs droiddoc: /out/target/common/docs/system-api-stubs
DroidDoc took 14 sec. to write docs to /out/target/common/docs/system-api-stubs
Checking API: checksystemapi-last
Checking API: checksystemapi-current
make: *** No rule to make target '/.txt', needed by '/out/target/common/obj/PACKAGING/checkpublicapi-cm-last-timestamp'. Stop.
it's very vague, so I'm wondering if anyone could provide some insight.
using sources:
https://github.com/peyo-hd/device_brcm_rpi2
https://github.com/peyo-hd/local_manifests
Device?
Edited OP with more info*
Oh lol exotic.
Device tree an all other device specific files please.
Trafalgar Square said:
Oh lol exotic.
Device tree an all other device specific files please.
Click to expand...
Click to collapse
added sources to OP
I'm having the same issue compiling CM-13.0 for GT-P5210. Any update? Thank you.
Im having the exact same error:
Code:
Export includes file: system/core/libsparse/Android.mk -- /mnt/raid5/Other/development/CM-13-0/android/system/out/host/linux-x86/obj/EXECUTABLES/simg2img_host_intermediates/export_includes
make: *** No rule to make target `prebuilts/cmsdk/api/.txt', needed by `/mnt/raid5/Other/development/CM-13-0/android/system/out/target/common/obj/PACKAGING/checkpublicapi-cm-last-timestamp'. Stop.
make: *** Waiting for unfinished jobs....
Starting language-specific parse...
Processing types...
C++ analysis...
Generating wrappers...
make: Leaving directory `/mnt/raid5/Other/development/CM-13-0/android/system'
#### make failed to build some targets (13:18 (mm:ss)) ####
trying to build CyanogenMod R7Plus
latest repo sync for -b CM-13.0
used breakfast to get the https://github.com/cyanogenmod/android_device_oppo_r7plus
extracted blobs using the script and a nightly.zip
Update:
to those who come here and have the ".txt" file error seen above.
this is what i did to fix it:
Code:
1. I deleted the whole source
2. i run this script "build-environment-setup.sh" get it here: https://github.com/akhilnarang/scripts
3. I initiated the repo again "repo init -u https://github.com/CyanogenMod/android.git -b "cm-13.0""
4. synced the repo using "repo sync -j4 --force-sync -f --no-tags --no-clone-bundle --no-repo-verify"
from here on continue like in the guides.
I have that error since March and had it temporarily resolved via switching to the stable branch.
Thanks to @celoxocis I finally built the cm13 nightly, although I followed only the second step from his guide.
make: *** No rule to make target '/-1.txt', needed by '/home/android/y300/out/target/common/obj/PACKAGING/checkpublicapi-cm-last-timestamp'. Stop.
Click to expand...
Click to collapse
Same problem on Huawei Y300 / u8833, AICP MM6.0 sourcecode. After "lunch full_u8833-userdebug" and after "make -j2" got error.
guys how solved this issue could help me anyone ???
here log ...
http://www.hastebin.com/wekudopujo.rb
---------- Post added at 10:36 PM ---------- Previous post was at 10:35 PM ----------
adeii said:
Same problem on Huawei Y300 / u8833, AICP MM6.0 sourcecode. After "lunch full_u8833-userdebug" and after "make -j2" got error.
Click to expand...
Click to collapse
umaturman said:
I have that error since March and had it temporarily resolved via switching to the stable branch.
Thanks to @celoxocis I finally built the cm13 nightly, although I followed only the second step from his guide.
Click to expand...
Click to collapse
celoxocis said:
Im having the exact same error:
Code:
Export includes file: system/core/libsparse/Android.mk -- /mnt/raid5/Other/development/CM-13-0/android/system/out/host/linux-x86/obj/EXECUTABLES/simg2img_host_intermediates/export_includes
make: *** No rule to make target `prebuilts/cmsdk/api/.txt', needed by `/mnt/raid5/Other/development/CM-13-0/android/system/out/target/common/obj/PACKAGING/checkpublicapi-cm-last-timestamp'. Stop.
make: *** Waiting for unfinished jobs....
Starting language-specific parse...
Processing types...
C++ analysis...
Generating wrappers...
make: Leaving directory `/mnt/raid5/Other/development/CM-13-0/android/system'
#### make failed to build some targets (13:18 (mm:ss)) ####
trying to build CyanogenMod R7Plus
latest repo sync for -b CM-13.0
used breakfast to get the https://github.com/cyanogenmod/android_device_oppo_r7plus
extracted blobs using the script and a nightly.zip
Click to expand...
Click to collapse
guys how solved this issue could help me anyone ???
here log ...
http://www.hastebin.com/wekudopujo.rb
metrixx02 said:
guys how solved this issue could help me anyone ???
here log ...
http://www.hastebin.com/wekudopujo.rb
Click to expand...
Click to collapse
Use build-environment-setup.sh from the guide. The error is gone when I installed some dependencies.
Does anyone know how to fix this damn error on Opensuse.
Afaik, all distros apart from ones based on ubuntu/debian have this error.
Silesh.Nair said:
Does anyone know how to fix this damn error on Opensuse.
Afaik, all distros apart from ones based on ubuntu/debian have this error.
Click to expand...
Click to collapse
Did you try this guide?
That's not it. It just works fine on debian, Ubuntu or mint. But never on Suse.
Sent from my Moto G (4) using Tapatalk
kronflux said:
hey guys! I'm doing a test compile of CM, just trying to get it running on the Raspberry Pi 2 for kicks, and I ran into a compile issue:
Code:
Install: /out/host/linux-x86/bin/apicheck
Checking API: checkpublicapi-last
Checking API: checkpublicapi-current
Docs droiddoc: /out/target/common/docs/system-api-stubs
DroidDoc took 14 sec. to write docs to /out/target/common/docs/system-api-stubs
Checking API: checksystemapi-last
Checking API: checksystemapi-current
make: *** No rule to make target '/.txt', needed by '/out/target/common/obj/PACKAGING/checkpublicapi-cm-last-timestamp'. Stop.
it's very vague, so I'm wondering if anyone could provide some insight.
using sources:
https://github.com/peyo-hd/device_brcm_rpi2
https://github.com/peyo-hd/local_manifests
Click to expand...
Click to collapse
Use
Code:
make update-api && make -j4
adityaupreti said:
it's very vague, so I'm wondering if anyone could provide some insight.
using sources:
https://github.com/peyo-hd/device_brcm_rpi2
https://github.com/peyo-hd/local_manifests
Use
Click to expand...
Click to collapse
Check my post (post #8) I'm this thread for how to fix it. You are missing an dependency. Also make sure you use Java 7 for compile Java 8 is not recommended yet.
---------- Post added at 10:41 AM ---------- Previous post was at 10:38 AM ----------
Silesh.Nair said:
That's not it. It just works fine on debian, Ubuntu or mint. But never on Suse.
Click to expand...
Click to collapse
I have no Idea about Suse but it works on Ubuntu.
I suggest to look at the scripts code:
https://github.com/akhilnarang/scripts
Looks at the packages being installed for Ubuntu and Arch (the arch script). Find the equivalent package names for Suse.
Or just switch to Ubuntu. Even OEM use Ubuntu for Stock compilation.
Also make sure you use Java 7 for compilation as Java 8 is not recommended yet.
celoxocis said:
Check my post (post #8) I'm this thread for how to fix it. You are missing an dependency. Also make sure you use Java 7 for compile Java 8 is not recommended yet.
---------- Post added at 10:41 AM ---------- Previous post was at 10:38 AM ----------
I have no Idea about Suse but it works on Ubuntu.
I suggest to look at the scripts code:
https://github.com/akhilnarang/scripts
Looks at the packages being installed for Ubuntu and Arch (the arch script). Find the equivalent package names for Suse.
Or just switch to Ubuntu. Even OEM use Ubuntu for Stock compilation.
Also make sure you use Java 7 for compilation as Java 8 is not recommended yet.
Click to expand...
Click to collapse
Haha why ur telling to me tell that guy who have error
adityaupreti said:
Haha why ur telling to me tell that guy who have error
Click to expand...
Click to collapse
Ah well scrolled down thought your post was his (due to huge quote) and replied. He will get it when he checks the thread.
Code:
make: *** No rule to make target '/.txt', needed by '/out/target/common/obj/PACKAGING/checkpublicapi-cm-last-timestamp'. Stop.
Try installing the bc program.

Compiling Ressurection Remix Marshmallow for SM-G313H

Hello everybody!
I need help from people, who knows how to build OS from sources
So, I tried to build RR and had such error
Code:
Building Resurrection Remix OS now!
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/samsung/vivalto3gvn/cm.mk]]: "device/samsung/sprd-common/common.mk" does not exist. Останов.
Device vivalto3gvn not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Repository for vivalto3gvn not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/samsung/vivalto3gvn/cm.mk]]: "device/samsung/sprd-common/common.mk" does not exist. Останов.
** Don't have a product spec for: 'cm_vivalto3gvn'
** Do you have the right repo manifest?
Build failed, check the log at vivalto3gvn-20161019.log
After that I put vivalto3gvn.xml from ngoquang2708's repository (https://github.com/ngoquang2708/android_device_samsung_vivalto3gvn/tree/cm-13.0) into ./.repo/local_manifests folder and again got an error on 'repo sync'
Code:
fatal: remove-project element specifies non-existent project: CyanogenMod/android_build
P.S.: I'm using sources from repo I mentioned above
device/samsung/sprd-common/common.mk" does not exis
I'm getting the same error while building Lineage os for mint2g
Did you solved your problem????
---------- Post added at 09:17 PM ---------- Previous post was at 09:16 PM ----------
Arti42000 said:
Hello everybody!
I need help from people, who knows how to build OS from sources
So, I tried to build RR and had such error
Code:
Building Resurrection Remix OS now!
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/samsung/vivalto3gvn/cm.mk]]: "device/samsung/sprd-common/common.mk" does not exist. Останов.
Device vivalto3gvn not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Repository for vivalto3gvn not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/samsung/vivalto3gvn/cm.mk]]: "device/samsung/sprd-common/common.mk" does not exist. Останов.
** Don't have a product spec for: 'cm_vivalto3gvn'
** Do you have the right repo manifest?
Build failed, check the log at vivalto3gvn-20161019.log
After that I put vivalto3gvn.xml from ngoquang2708's repository (https://github.com/ngoquang2708/android_device_samsung_vivalto3gvn/tree/cm-13.0) into ./.repo/local_manifests folder and again got an error on 'repo sync'
Code:
fatal: remove-project element specifies non-existent project: CyanogenMod/android_build
P.S.: I'm using sources from repo I mentioned above
Click to expand...
Click to collapse
Did you solved your problem???? How?? Please tell

Error compiling rom

Friends, I'm following all the current tutorial, but at the moment of giving the command "LUNCH", this error is appearing to me. I do not know what else to do...
I'm trying to compile the RR for the MOTOZPLAY (addison)
Thank you very much
:crying:
Code:
build/core/product_config.mk:252: *** Product "lineage_addison" ambiguous: matches device/motorola/addison/lineage.mk device/addison/lineage.mk. Pare.
Device addison not found. Attempting to retrieve device repository from lineageos Github (http://github.com/LineageOS).
Found repository: android_device_motorola_addison
Default revision: cm-14.1
Checking branch info
Checking if device/motorola/addison is fetched from android_device_motorola_addison
LineageOS/android_device_motorola_addison already fetched to device/motorola/addison
Syncing repository to retrieve project.
sh: 1: repo: not found
Repository synced!
Looking for dependencies in device/motorola/addison
Looking for dependencies in device/qcom/common
Dependencies file not found, bailing out.
Done
build/core/product_config.mk:252: *** Product "lineage_addison" ambiguous: matches device/motorola/addison/lineage.mk device/addison/lineage.mk. Pare.
build/core/product_config.mk:252: *** Product "lineage_addison" ambiguous: matches device/motorola/addison/lineage.mk device/addison/lineage.mk. Pare.
** Don't have a product spec for: 'lineage_addison'
** Do you have the right repo manifest?
Did you clone your own device tree or let lineage clone it for you?
Yuvch122 said:
Did you clone your own device tree or let lineage clone it for you?
Click to expand...
Click to collapse
I iam compile RR using kernel LineageOS... Using tutorial
Ahh that method
---------- Post added at 07:34 AM ---------- Previous post was at 07:33 AM ----------
What device model do you use? An officially supported one or not bg lineage

Categories

Resources