ads

Affichage des articles dont le libellé est BUILDING. Afficher tous les articles
Affichage des articles dont le libellé est BUILDING. Afficher tous les articles

lundi 21 septembre 2015

Building Alcatel ROM from Source!



Hello guys,
Since i couldn't find any Custom or Stock rom for OT-993 (not 993D), I'm trying to compile it form the source code,
Only found an open source firmware, Which need to be compiled first in order to be flashed via custom recovery,
Here is the file info,

File name: OT_993_ICS_20130130.tar.xz
Link: HERE
Content:
-Folders:

Code:


external  kernel  system

--External:

Code:


bison      dbus      genext2fs  jpeg    qemu
blktrace  dnsmasq    grub      libffi  quake
bluetooth  e2fsprogs  hostap    libpcap  webkit
bluez      elfutils  iproute2  libpng  wpa_supplicant
chromium  esd        iptables  ppp      wpa_supplicant_6


--Kernel:

Code:


AndroidKernel.mk  crypto        init    MAINTAINERS    samples  virt
arch              Documentation  ipc      Makefile        scripts
block            drivers        Kbuild  mm              security
chromeos          firmware      Kconfig  net            sound
COPYING          fs            kernel  README          tools
CREDITS          include        lib      REPORTING-BUGS  usr


--System:

Code:


arith.c

I just need to know how to compile it so i can flash it via recovery and get the phone working again,
So, if someone knows about this, Please consider helping me in this,

Thanks in advance.



mercredi 16 septembre 2015

How to start building custom roms?



Hey folks,
I'm a android developer and after my phone mess with custom rom (Fixed with the help of you guys :good: ) I got curious about how to build a custom rom?

How do you guys started?
Note : I'm just an android developer and I don't have C, C++ knowledge, But I'm very much familiar with Java :)

Thanks in advance!



samedi 12 septembre 2015

Building CWM for new device



Hello,

I have Huawei MediaPad 7 Youth, rooted. And, any rom or recovery is not released. So i wanted to build it yourself. For start i want to say, im not newbie, im a programmer, but in C++ and building (mainly other sources) am newbie.

So, for first, i dumped a boot.img and recovery.img . dump_image command its not on my device, i tryied install a busybox etc.. but none, so i manually dumped it with dd.

Next, on my Ubuntu i installed all dependecies and synchronized CM10.2 repo. Then i builded otatools (make -j2 otatools) and i taked envsetup. I dont know, but envsetup dont added to path to execs like unpackbootimg etc. so i do that manually (i resynced twice a repo, but i still got this trouble). I extracted needed files from boot.img, and from output of mkvendor.sh i taked a lunch and makerecoveries.sh .

After some tryies of compile (still got some trouble) i ended here and now i dont know what to do. Console output:

Code:


gamiee@gamibuntu:~/Plocha/android$ . build/tools/device/makerecoveries.sh cm_msm8610-eng
cm_msm8610-eng
1 Products
Recovery Version: 6.0.4.6
Trying dependencies-only mode on a non-existing device tree?

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3.1
CM_VERSION=10.2-20150912-UNOFFICIAL-msm8610
TARGET_PRODUCT=cm_msm8610
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.19.0-28-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=JLS36I
OUT_DIR=/home/gamiee/Plocha/android/out
============================================

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3.1
CM_VERSION=10.2-20150912-UNOFFICIAL-msm8610
TARGET_PRODUCT=cm_msm8610
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.19.0-28-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=JLS36I
OUT_DIR=/home/gamiee/Plocha/android/out
============================================
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
No private recovery resources for TARGET_DEVICE msm8610
build/core/tasks/kernel.mk:59: ***************************************************************
build/core/tasks/kernel.mk:60: * Using prebuilt kernel binary instead of source              *
build/core/tasks/kernel.mk:61: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED                *
build/core/tasks/kernel.mk:62: * Please configure your device to download the kernel        *
build/core/tasks/kernel.mk:63: * source repository to kernel/huawei/msm8610
build/core/tasks/kernel.mk:64: * See http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building
build/core/tasks/kernel.mk:65: * for more information                                        *
build/core/tasks/kernel.mk:66: ***************************************************************
Can't open kernel/huawei/msm8610/arch/arm/configs/: Adresár alebo súbor neexistuje at -e line 1. #Directory or file doesnt exists
Can't open kernel/huawei/msm8610/arch/arm/configs/: Adresár alebo súbor neexistuje at -e line 1.
build/core/tasks/kernel.mk:229: warning: overriding commands for target `/home/gamiee/Plocha/android/out/target/product/msm8610/kernel'
build/core/Makefile:44: warning: ignoring old commands for target `/home/gamiee/Plocha/android/out/target/product/msm8610/kernel'
Install: /home/gamiee/Plocha/android/out/target/product/msm8610/recovery/root/sbin/nandroid-md5.sh
Install: /home/gamiee/Plocha/android/out/target/product/msm8610/recovery/root/sbin/killrecovery.sh
Install: /home/gamiee/Plocha/android/out/target/product/msm8610/recovery/root/sbin/parted
Install: /home/gamiee/Plocha/android/out/target/product/msm8610/recovery/root/sbin/sdparted
Install: /home/gamiee/Plocha/android/out/host/linux-x86/bin/clang-tblgen
Install: /home/gamiee/Plocha/android/out/host/linux-x86/bin/tblgen
acp: unable to remove '/home/gamiee/Plocha/android/out/host/linux-x86/bin/clang-tblgen': No such file or directory
make: *** [/home/gamiee/Plocha/android/out/host/linux-x86/bin/clang-tblgen] Chyba 1 #Error 1
make: *** Čaká sa na nedokončené úlohy.... #Waiting to unfinished task
acp: unable to remove '/home/gamiee/Plocha/android/out/host/linux-x86/bin/tblgen': No such file or directory
make: *** [/home/gamiee/Plocha/android/out/host/linux-x86/bin/tblgen] Chyba 1 #Error 1
build error!


And now i dont know really what to do... I looked google etc, but nothing dont found. So, what to do now? :)

Thankie



jeudi 10 septembre 2015

Building ICS from source



Hey everyone,

I have my dev environment setup on my Linux machine, and am interested in starting an AOSP build of 4.0.4 (remove touchwiz and keep it stock), and have been following the guides for building from source, but I am stuck.

-setup dev environment
-downloaded source
-ensured I have all packages

where do I go from here?
In http://xda-university.com/as-a-devel...id-from-source it tells me to setup a device target. I have pulled down the Samsung source files from their open source site. Where do I deposit these? Just a bit confused on how to keep rolling on this.

Thanks,
Bluefalcon13



lundi 31 août 2015

Building my first kernel.



Could someone help me to build a kernel for Cyanogenmod 12 but I need help because I didn't do stuff like this before.Since the developement has stopped for KitKat I would like to maintain it and keep it updated. I have a little knowledge but I still need help. I would like to use UBERtc to compile my kernel.



mercredi 26 août 2015

Problem building CM12.1 with libmdmdetect



I started building a CM12.1 ROM by myself following the steps found in CM building site for the OPO.

The thing is that I get this error


Code:


No rule to make target «libmdmdetect»,
needed by «/root/android/system/out/target/product/bacon/obj/lib/libqmi.so»


I've read something about getting libmdmdetect from another device (from shamu, for example), but I don't know how and I don't know where to put it. I think the failure is not libqmi.so, since it needs the other one.

I'm a noob making my first steps on making ROMs by myself. Any help would be helpful.