Why wont my compiled rom with Linaro optimzations boot ive successfully compiled rom for other devices just not this one have any thoughts i even this
git clone git://github.com/TheMuppets/proprietary_vendor_broadcom.git -b cm-10.1 vendors/broadcom
git clone git://github.com/TheMuppets/proprietary_vendor_nvidia.git -b cm-10.1 vendors/nvidia
git clone git://github.com/TheMuppets/proprietary_vendor_motorola.git -b cm-10.1 vendors/motorola
missed some file/library
dl an rom, open .zip file and compare all file with you rom.
you will find some missing file
Related
Hey guys,
could someone of you that is compiling working nightlys for the DEFY+ tell me if there is anything special to consider? I don't see a seperate defy+ device when I look at the repo. Looking at the defy README it says:
CyanogenMod 7.2 for Motorola Defy (Android 2.3.7 AOSP)
Download:
=========
repo init -u git://github.com/CyanogenDefy/android.git -b gingerbread
repo sync
Download RomManager (DELETED IN BUILD)
======================================
mkdir vendor/cyanogen/proprietary
cd vendor/cyanogen && ./get-rommanager
Build:
======
optional :
export PLATFORM_DIR=$(pwd)
export ARCH=arm
export CROSS_COMPILE=arm-eabi-
export TARGET_OUT_INTERMEDIATES=out
export JAVA_HOME=/usr/lib/jvm/java-6-sun
export PATH=$PLATFORM_DIR/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:$JAVA_HOME/bin:$PATH
cd $PLATFORM_DIR
export CYANOGEN_NIGHTLY=true
rm -rf out/target
. build/envsetup.sh
brunch jordan
or...
lunch cyanogen_jordan-eng
mka bacon
Use the signed zip to update the defy with Second Init recovery, or CM7 bootmenu recovery, not the ota package
Will a build using these steps work on my defy+, or do I need to do anything else to build for Defy+?
thanks
boba
I don't think the CyanogenDefy builds will work for Defy+.
Not sure if these are the correct steps but this is how I did it and it worked for me:
I used Epsilon's git://github.com/tpruvot/android.git repo and not the CyanogenDefy one.
Before building I checked out the gingerbread-plus branches of android_device_motorola_jordan and proprietary_vendor_motorola. I did this using the EGit plugin of Eclipse. You can also switch branches using the git command line instead of using the Eclipse plugin.
Hello xda,
I had a little time on my hands the other night, and wanted to figure out a way that I could work on any of the project repositories needed to build say, aokp, cyanogenmod, aosp, etc... without having to connect to the internet.
Mirroring is not new. Simple enough to:
Code:
mkdir cm-mirror
cd cm-mirror
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1 --mirror
repo sync -j[dl-jobs]
then create a working directory:
Code:
cd ..
mkdir cm-work
cd cm-work
repo init -u file:///Volumes/Android/cm-mirror/CyanogenMod/android.git --reference /Volumes/Android/cm-mirror/ -b cm-10.1
repo sync # no jobs needed. super fast.
But at this point you only have what you need for cm-10.1. What if you also have work you are doing for 10.1.0? Or an old update to make for cm-7.2.0?
I originally started looking for a solution to sync every branch in the manifest one at a time, but while talking with cdesai he showed me a really clean way of getting the repositories directly from gerrit.
Anyways, here is the resulting script. Let me know your thoughts.
I've moved the script to a git repository here: https://github.com/bhundven/repo-mm
in case anyone wants to contribute.
I've also written a post on my blog about using the new gerrit-mirror.sh on gh.
ChangeLog
Changes:
[06/30/13]: Announce some updates to gerrit-mirror.sh, and blog post.
[06/24/13]: Moved gist to github project.
GitHub for repo-mm.
i' m following a guide to try builiding my first rom and i don't understand a step
"6. After the repo sync finally finishes, all you need to do is add your device, kernel, vendor specific files for the device you are building for."
Where can i find these things? Is there a command i should give in the terminal?
I've searched a little but not found anything...any hint would be accepted!
tylpica wives
phoenixita said:
i' m following a guide to try builiding my first rom and i don't understand a step
"6. After the repo sync finally finishes, all you need to do is add your device, kernel, vendor specific files for the device you are building for."
Where can i find these things? Is there a command i should give in the terminal?
I've searched a little but not found anything...any hint would be accepted!
Click to expand...
Click to collapse
What rom are you building? If CM10.1 or CM10.2 just follow the instructions on
wiki.cyanogenmod.org - w - Build_for_ville
(sorry, cannot post the link since I don't have enough posts Just replace - with /)
I guess your point 6 refers to items 2.7-2.9 where prebuilt apps, device-specific code (e.g. kernel etc.) and other
proprietary drivers are copied to your source code.
To init for CM10.1, use
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1
for CM10.2 use
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2
Hope this helps. good luck
drkxyz said:
What rom are you building? If CM10.1 or CM10.2 just follow the instructions on
wiki.cyanogenmod.org - w - Build_for_ville
(sorry, cannot post the link since I don't have enough posts Just replace - with /)
I guess your point 6 refers to items 2.7-2.9 where prebuilt apps, device-specific code (e.g. kernel etc.) and other
proprietary drivers are copied to your source code.
To init for CM10.1, use
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1
for CM10.2 use
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2
Hope this helps. good luck
Click to expand...
Click to collapse
I'm trying to build another rom not CM but i'm trying following the 2.7-2.9 steps from your link
What
Building from source or MOD ROM?
xdluisssxd said:
Building from source or MOD ROM?
Click to expand...
Click to collapse
i think i'm building it from source lol
Hi guys
I'm new to rom development, I have many question to deal with...
First thing first, I'm about to download android source as per the steps in source.android.com, but i have limited data quota per day. so i searched the internet to reduce the downloading source size and i found that adding
Code:
--depth=1
to git clone command will reduce the downloading size.
But I need to know what is the difference between below two git clone commands
Code:
repo init --depth=1 -u https://android.googlesource.com/platform/manifest -b android-5.0.0_r1.0.1
and
Code:
repo init -u https://android.googlesource.com/platform/manifest -b android-5.0.0_r1.0.1
Second thing is I'm building rom for Huawei ascend P6-U06 (code name: hwp6-u06), for this device i can't find kernel tree, device tree and vendor blobs for lollipop. I'm only getting kernel tree, device tree and vendor blobs for Kitkat in github (cm-11.0 based) can i use these ones
orelse can i use google common kernel source to build custom kernel
I need to work on kernel developing and try to compile AOSP and custom kernel for Pixel 4.
First try:
Kernel Build:
repo init -u https://android.googlesource.com/kernel/manifest -b android-msm-coral-4.14-android11-qpr2
repo sync
build/build.sh
AOSP: (android-11.0.0_r17)
cd aosp
source build/envsetup.sh
lunch aosp_flame-userdebug
export TARGET_PREBUILT_KERNEL=$CWD/kernel/out/android-msm-floral-4.14/dist/Image.lz4
m -j30
Then I flash all the img to Pixel 4 via fastboot -w update all_img.zip.
The touchscreen does not work.
It seems that in Android 10, the Kernel out file is no long Image.lz4-dtb. The dtb file is separated out. And I failed to replace the dtb files and kernel modules.
Second try:
This time I move all the kernel dist files to the aosp/device/google/coral-kernel. But the touch screen still do not work.