[Q] Android 4.0.1 RC Compiled but .. - Android Q&A, Help & Troubleshooting

Hello beloved XDA,
I've compiled the latest google source without errors, android 4.0.1 RC, for my LG Optimus 2x, but i can't get it up and running.
I've also compiled the latest LG kernel source without errors.
But when i zip then it freezes, and the only output on the phone is "Android".
I tried a few other kernels but that didn't work either, i then tried to compile the Gingerbread google source, just too see if i could get it too boot, but it didn't.
So my question is, what am i doing wrong? - I have created the META-INF folder, used the SignAPK, bootimgtools and the crcstudio application, but still couldn't get it up and running.
I really hope there is a friendly person out there, who could help me just a little by passing on some knowledge or just a link.
Best Regards from Denmark
JP

Did you make generic or what ?
Did you do
Code:
make otapackage
Sent from my GT-S5830 using XDA App

I've used the guide on source.android.com, "Building the System", so no i havnt used "make otapackage".
To build the kernel i used this command:
make ARCH=arm star_ifx_defconfig
make ARCH=arm CROSS_COMPILE=/location/arm-eabi- STAR_TMUS_REV=TMUS_10 TARGET_STAR_HWREV=TMUS_E TARGET_MODEM=ifx.
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.1
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=ITL41D

Related

[Q] Please HELP!!! CM9)

I decided to try to make ninth cyan from the source code of the fourth droid but it was not there
edited config for cooper it right) but it is not in them when trying to build a team lunch cm_cooper-eng issue here is (
what could be wrong? This can be thought of cyanogen that something is wrong but I tried to make it from clear sources of android but these problems are same(
please help me)))
l:~/android/system$ lunch cm_cooper-eng
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.1
TARGET_PRODUCT=cm_cooper
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=ICS_MR0
============================================
l:~/android/system$
did you make it compatible with V6 CPU archi first or build without testing??
You're not wrong , just issue make
Sent from my GT-S5830 using XDA App

[Q] Android compilation issues

As a little personal learning project, I'm having a go at trying to build ICS AOSP for my phone (Haier W718).
To start off I copied the moto/stingray device folder and modified all the files/folders to fit my phone to the best of my ability, mainly due to the fact that I don't have much experience in this field yet, and I'm doing my best to learn.
I added the device to the lunch menu, and lunch loads the variables correctly. However, upon running
Code:
make -j6
, the compiler process spits out the following:
Code:
==============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=full_w718
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM67L
==============================================
build/core/base_rules.mk:166 *** abi/cpp: MODULE.TARGET.SHARED_LIBRARIES.libgabi++ already defined by abi/cpp. Stop.
Now, I can successfully compile Android for full_eng IF my device folder is not present.
For reference sake, I've attached my device folder as a .zip, if you wouldn't mind looking through the files.
Bump. No one can help?
I would recommend going into your build directory and go to build/core/base_rules.mk and editing that file and removing an extra references to MODULE.TARGET.SHARED_LIBRARIES.libgabi++. The error is telling you that MODULE.TARGET.SHARED_LIBRARIES.libgabi++ already defined in the abi/cpp build directory.

[Q] Help!

I'm trying to build AOSP ICS source for my device, the Samsung Galaxy Ace II X (GT-S7560M and Canadian variant of Galaxy Ace 2. My device comes with ICS 4.0.4 stock with Touchwiz UX), which is similar to the Galaxy S Duos (GT-S7562) for those of you that are having trouble finding specs. I attempted to port the device tree from the Galaxy Tab 7.7 because they have similiar specs (besides the screen size). I'm using Ubuntu 10.04 and I keep on getting this error message (in the terminal) after entering the command 'lunch kylessopen-userdebug'. I found that the device also has similar specs to the Nexus S so I executed the proprietary binary .sh files from https://developers.google.com/android/nexus/drivers#crespoimm76d (sorry having trouble with hyperlink button) because I was unable to collect proprietary files from my device (didn't work). Please help me out, it would be awesome if I could compile at the very least a partially-functional AOSP ICS build. If you need anything as a reference (ie device tree), feel free to ask for it. Thanks! Below is the message that I got in the Ubuntu 10.04 terminal:
[email protected]:~/ICS_SOURCE# lunch kylessopen-user
build/core/product_config.mk:204: *** No matches for product "kylessopen". Stop.
** Don't have a product spec for: 'kylessopen'
** Do you have the right repo manifest?
Read my SOURCE TUT WARPED420 it may help
Warped420 said:
Read my SOURCE TUT WARPED420 it may help
Click to expand...
Click to collapse
I'm getting a different error after fixing up the device tree (a bit). When I initiate the compile process ("make"), I get the following:
[email protected]:~/ICS_SOURCE# make
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=kylessopen
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76
============================================
build/core/main.mk:347: implicitly installing apns-conf_sdk.xml
build/core/main.mk:806: *** missing separator. Stop.
Click to expand...
Click to collapse
The line "build/core/main.mk:347: implicitly installing apns-conf_sdk.xml" stays for 15-30 seconds then I get the 'missing separator' message and the compile process stops. I've tried putting a separator (only works with =) at the end of line 806 in my main.mk, but then I get another missing separator message for a different line in main.mk. After putting separators at the end of a dozen or so lines, I get a different message when initiating the 'make' process:
[email protected]:~/ICS_SOURCE# make
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=kylessopen
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76
============================================
build/core/main.mk:347: implicitly installing apns-conf_sdk.xml
host Java: jsr305lib (out/host/common/obj/JAVA_LIBRARIES/jsr305lib_intermediates/classes)
/bin/bash: javac: command not found
make: *** [out/host/common/obj/JAVA_LIBRARIES/jsr305lib_intermediates/javalib.jar] Error 41
Click to expand...
Click to collapse
Attached is my main.mk (from ICS_SOURCE/build/core/) renamed to main.txt because XDA won't let me upload an .mk file. If anybody is reading this, please help me. You can either tell me what to fix, or you can modify my main.mk for me. Please help!
EDIT - NEW PROBLEM!!!
[email protected]:~/ICS_SOURCE# make
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=kylessopen
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76
============================================
build/core/main.mk:347: implicitly installing apns-conf_sdk.xml
make: *** No rule to make target `/usr/lib/jvm/jdk1.6.0_45/jre/lib/tools.jar', needed by `out/target/common/docs/doc-comment-check-timestamp'. Stop.
Click to expand...
Click to collapse
I don't have a doc-comment-check-timestamp....somebody help me out?
try using ". build/envsetup.sh && brunch (name of device ) and post your results... and dont run under root #.. run under $
and u may want to check your java version, i use Oracle 6 without issues.. and did you put java and sdk in your path of the build, its all explained in my tutorial

Java Error on compiling

Hello,
I am a noob and i am trying to learn to port make custom Roms etc. I am trying to port CM 10 to Lg L7 2 (p710). I downloaded the original source code from lg website (4.1.2 Jelly Bean) and the corresponding open source android from git with repo sync (the version i needed 4.1.2_r1). Followed Lg instruction to build AOSP and at the last step when i am using the command make -j4 this stupid error blows everything. I searched the Sun Java 1.6 but on Ubuntu forums it says that is discontinued. Please help. You have the log down. Thank you.
[email protected]:~/WORKING_DIRECTORY$ make -j4
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-19-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=out
============================================
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.
Your version is: java version "1.6.0_30".
The correct version is: Java SE 1.6.
Please follow the machine setup instructions at
https://source.android.com/source/download.html
************************************************************
build/core/main.mk:141: *** stop. Stop.
@christi9503 http://forum.xda-developers.com/showthread.php?t=2464683 read the bit up until setting up repo which you've already done. Android needs a specific Java version
HTCDreamOn said:
@christi9503 http://forum.xda-developers.com/showthread.php?t=2464683 read the bit up until setting up repo which you've already done. Android needs a specific Java version
Click to expand...
Click to collapse
Amazing man solved pretty fast. I understand i needed a different version but all the infos i found were ambiguous. Thanks a tone really helpfull

Little help needed

After running the code lunch cm_kyleve-userdebug
for building cm10.1 for galaxt trend duos i get this message
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
CM_VERSION=10.1-20140923-UNOFFICIAL-kyleve
TARGET_PRODUCT=cm_kyleve
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-35-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39E
OUT_DIR=/home/nikhil/android/cm-10.1/out
============================================
ad there no output no zip is been created please help
Try to use brunch kyleve commond to build ....
If you use lunch you need add your device into device list
Also check your room service make sure that dependencies are included
Sent from my x604 using Tapatalk

Categories

Resources