Sony - Xperia - SGP611 - Custom Rom build error - Xperia Z3 Tablet Compact Q&A, Help & Troubleshooti

Hi there all,
I have been trying for about a week to get a custom android 5 built for a client for their Xperia Z3 tablet i have followed all the instructions on the Sony website and am running Ubuntu 16, after getting the repositories and required sony Vendor files i finally get to the make -j4 command, this starts to run until it hits an error saying that there is no vendor file for scorpion_windy and then breaks the make process, my question is can i download this resource separately, and also if not how can i choose what files the make command uses can i not just skip the scorpion_windy file?
I am a complete noob and any assistance in this regard would be much appreciated!
Thanks in advance

The info on this thread is what I used http://forum.xda-developers.com/z3-...torial-stock-android-marshmallow-6-0-t3409486 It worked fine on LinuxMint KDE.

SGP611 Build errors
Hi There,
I appreciate the input, but i am attempting to compile the aosp archive, once i complete the setup and finally get to make -j4 the process runs along until it gives me an error regarding the file healthd and the specific error of battery monitor error, i have tried to do this in kit kat, jellybean and marshmallow now have all the sony device files followed the instructions here
developer.sonymobile.com/open-devices/aosp-build-instructions/how-to-build-aosp-marshmallow-for-unlocked-xperia-devices/
But no dice im pretty confused and frustrated at this point any thoughts would be very much appreciated

Can you post a copy of the error from the terminal console?

iancornelius said:
Can you post a copy of the error from the terminal console?
Click to expand...
Click to collapse
Hi There,
Thank you for your reply here is the error im getting
...
including ./vendor/sony/yukon-seagull/proprietary/Android.mk ...
including ./vendor/sony/yukon-tianchi/proprietary/Android.mk ...
No private recovery resources for TARGET_DEVICE scorpion_windy
make: *** No rule to make target 'external/openssl/flavor.mk'. Stop.
#### make failed to build some targets (01:02 (mm:ss)) ####
very frustrating when you learning

Ok so i cleaned my entire system and re synced my repos, and got much further in the process follwing the instructions exactly and now i get this error
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_shared_library_internal.mk:44: recipe for target 'out/host/linux-x86/obj32/lib/libnativehelper.so' failed
make: *** [out/host/linux-x86/obj32/lib/libnativehelper.so] Error 1
make: *** Waiting for unfinished jobs....
#### make failed to build some targets (01:50:56 (hh:mm:ss)
Any help would be much appreciated!

Monkybomb said:
Ok so i cleaned my entire system and re synced my repos, and got much further in the process follwing the instructions exactly and now i get this error
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_shared_library_internal.mk:44: recipe for target 'out/host/linux-x86/obj32/lib/libnativehelper.so' failed
make: *** [out/host/linux-x86/obj32/lib/libnativehelper.so] Error 1
make: *** Waiting for unfinished jobs....
#### make failed to build some targets (01:50:56 (hh:mm:ss)
Any help would be much appreciated!
Click to expand...
Click to collapse
I've recently built Nougat for my device and came across no errors and followed the guide to the single letter. Have you done everything it has asked to? Most importantly the first part regarding openjdk-8 and the other libraries to be installed.

Related

[Q] [BUILD ERROR] Illegal instruction

I have tried compiling CM7 and CM9 many times, I have re-downloaded the source many times. But always when building I get this error:
Code:
Target ram disk: out/target/product/tass/ramdisk.img
/bin/bash: line 1: 12664 Broken pipe out/host/linux-x86/bin/mkbootfs out/target/product/tass/root
12665 Illegal instruction | out/host/linux-x86/bin/minigzip > out/target/product/tass/ramdisk.img
make: *** [out/target/product/tass/ramdisk.img] Error 132
make: *** Deleting file `out/target/product/tass/ramdisk.img'
Any ideas? ( I Googled the problem but unfortunately found nothing useful )
Running 32bit system.

[Q] Building error aosp

guys im getting this error when building any help here cause im a complete newbie.
from this guide
http://developer.sonymobile.com/kno...ld-aosp-lollipop-for-unlocked-xperia-devices/
Code:
PRODUCT_COPY_FILES device/sony/sirius/rootdir/system/etc/libnfc-nxp.conf:system/etc/libnfc-nxp.conf ignored.
No private recovery resources for TARGET_DEVICE sirius
No recovery.fstab for TARGET_DEVICE sirius
make: *** No rule to make target `–j'. Stop.
#### make failed to build some targets (38 seconds) ####
Now when i repo sync it gives me this error:
error: hardware/libhardware/: platform/hardware/libhardware checkout 628ce4aedaa03d989ac403df533448cd78e701f7
EDIT:i searched online and somehow got past the error but now im getiing this error
Code:
In file included from external/libnfc-nci/src/hal/include/nfc_hal_api.h:27:0,
from external/libnfc-nci/src/nfc/include/nfc_api.h:32,
from external/libnfc-nci/src/nfa/include/nfa_api.h:32,
from packages/apps/Nfc/nci/jni/NativeLlcpConnectionlessSocket.cpp:26:
hardware/libhardware/include/hardware/nfc.h:56:1: error: expected unqualified-id before '<<' token
<<<<<<< HEAD
^
hardware/libhardware/include/hardware/nfc.h:94:3: error: 'nfc_nci_module_t' does not name a type
} nfc_nci_module_t;
^
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libnfc_nci_jni_intermediates/NativeLlcpConnectionlessSocket.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from external/libnfc-nci/src/hal/include/nfc_hal_api.h:27:0,
from external/libnfc-nci/src/include/NfcAdaptation.h:24,
from packages/apps/Nfc/nci/jni/NativeLlcpServiceSocket.cpp:19:
hardware/libhardware/include/hardware/nfc.h:56:1: error: expected unqualified-id before '<<' token
<<<<<<< HEAD
^
hardware/libhardware/include/hardware/nfc.h:94:3: error: 'nfc_nci_module_t' does not name a type
} nfc_nci_module_t;
^
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libnfc_nci_jni_intermediates/NativeLlcpServiceSocket.o] Error 1
external/sqlite/dist/sqlite3.c: In function 'fts3SnippetFunc':
external/sqlite/dist/sqlite3.c:143651:11: warning: 'iS' may be used uninitialized in this function [-Wmaybe-uninitialized]
if( iS>iBestScore ){
^
external/sqlite/dist/sqlite3.c:143643:13: note: 'iS' was declared here
int iS;
^
#### make failed to build some targets (03:21 (mm:ss)) ####
never mind i some how got it to work and i built aosp and flashed it and it BOOTS !!.
have you concidered PMming Pabx or Krabappel2548
these two xda users may know where i do not
@Farooq95
Any news about the error?
I got the same.
Greatz WuChEn
Der-WU said:
@Farooq95
Any news about the error?
I got the same.
Greatz WuChEn
Click to expand...
Click to collapse
try in the terminal
Code:
git commit -a
if it doent work then
Code:
repo forall -vc "git reset --hard"
Doesn't work for me
Farooq95 said:
try in the terminal
Code:
git commit -a
if it doent work then
Code:
repo forall -vc "git reset --hard"
Click to expand...
Click to collapse
Hi
I am stuck at the same point. Didn't get it working even after running repo forall -vc....
Please help

Error on building my ROM

Hi all,
I own an Japanese version of S3 (SC-06D) and I try to build my CM12.1 rom, but I had a problem at the very beginning, see the log below:
make: *** No rule to make target `/home/erio/android/aojp/out/target/product/d2dcm/obj/STATIC_LIBRARIES/libminui_intermediates/export_includes', needed by `/home/erio/android/aojp/out/target/product/d2dcm/obj/EXECUTABLES/healthd_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Install: /home/erio/android/aojp/out/target/product/d2dcm/root/sbin/felica_init.sh
/home/erio/android/aojp/out/host/linux-x86/bin/checkpolicy: policy configuration loaded
/home/erio/android/aojp/out/host/linux-x86/bin/checkpolicy: writing binary representation (version 26) to /home/erio/android/aojp/out/target/product/d2dcm/obj/ETC/sepolicy_intermediates//sepolicy.dontaudit
GEN /home/erio/android/aojp/out/target/product/d2dcm/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/erio/android/aojp/kernel/samsung/d2dcm'
make[1]: Entering directory `/home/erio/android/aojp/kernel/samsung/d2dcm'
CHK include/linux/version.h
make[1]: Leaving directory `/home/erio/android/aojp/kernel/samsung/d2dcm'
#### make failed to build some targets (04:37 (mm:ss)) ####
I couldn't found "/libminui_intermediates/export_includes" and "healthd_intermediates/import_includes" and it halt there. I done repo sync perfectly and no ideas on why there is such a problem. Please help.
erioho said:
Hi all,
I own an Japanese version of S3 (SC-06D) and I try to build my CM12.1 rom, but I had a problem at the very beginning, see the log below:
make: *** No rule to make target `/home/erio/android/aojp/out/target/product/d2dcm/obj/STATIC_LIBRARIES/libminui_intermediates/export_includes', needed by `/home/erio/android/aojp/out/target/product/d2dcm/obj/EXECUTABLES/healthd_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Install: /home/erio/android/aojp/out/target/product/d2dcm/root/sbin/felica_init.sh
/home/erio/android/aojp/out/host/linux-x86/bin/checkpolicy: policy configuration loaded
/home/erio/android/aojp/out/host/linux-x86/bin/checkpolicy: writing binary representation (version 26) to /home/erio/android/aojp/out/target/product/d2dcm/obj/ETC/sepolicy_intermediates//sepolicy.dontaudit
GEN /home/erio/android/aojp/out/target/product/d2dcm/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/erio/android/aojp/kernel/samsung/d2dcm'
make[1]: Entering directory `/home/erio/android/aojp/kernel/samsung/d2dcm'
CHK include/linux/version.h
make[1]: Leaving directory `/home/erio/android/aojp/kernel/samsung/d2dcm'
#### make failed to build some targets (04:37 (mm:ss)) ####
I couldn't found "/libminui_intermediates/export_includes" and "healthd_intermediates/import_includes" and it halt there. I done repo sync perfectly and no ideas on why there is such a problem. Please help.
Click to expand...
Click to collapse
Your issue is that the device is not supported by cm. So you will have to do all the legwork of getting the device trees and all the proper files. You can't use the same files for other s3 on your device.
zelendel said:
Your issue is that the device is not supported by cm. So you will have to do all the legwork of getting the device trees and all the proper files. You can't use the same files for other s3 on your device.
Click to expand...
Click to collapse
Thanks.
Once I successfully build CM12.1 on 9 July, but afterward, never success and prompt that error.
I reviewed a page on how to build for SC06D: http://lawnfield.blog.fc2.com/blog-entry-61.html
I had done all the things listed there, but finally got that error.
So, what exactly that error means and what should I do to resolve?
It seems (maybe) I solved the problem, now building but not yet complete.
From the source it use CWM as default recovery but now the code is using TWRP, so it halted. And I change it to TWRP and now running. For sure I have not much ideas on why such change in code, may be the KBC-developer intended to do, but not fully.
Another question is, If I would like to build the rom, but not all apks in /system/app, what should I do? As I would like to slim down the rom as some of the files are unnecessary to me, e.g. bootnanimation.zip and the default browser.

[SOLVED] Building Error

Hi XDA friends!
I'm building pac-rom for trltexx but I'm always ending with this error:
Code:
ln: failed to access ‘/home/mone/android/pac-rom/out/target/product/trltexx/pac_trltexx-ota-3cf4b0d877.zip’: No such file or directory
build/core/Makefile:1757: recipe for target 'bacon' failed
make: *** [bacon] Error 1
Any advice?
Looks like the all process goes well but it doesn't create "pac_trltexx-ota-3cf4b0d877.zip" and my build ends in a very hated (and soo red ) "make failed to build some targets"
_mone said:
Hi XDA friends!
I'm building pac-rom for trltexx but I'm always ending with this error:
Code:
ln: failed to access ‘/home/mone/android/pac-rom/out/target/product/trltexx/pac_trltexx-ota-3cf4b0d877.zip’: No such file or directory
build/core/Makefile:1757: recipe for target 'bacon' failed
make: *** [bacon] Error 1
Any advice?
Looks like the all process goes well but it doesn't create "pac_trltexx-ota-3cf4b0d877.zip" and my build ends in a very hated (and soo red ) "make failed to build some targets"
Click to expand...
Click to collapse
+1
Solved editing build/core/makefile

[HELP]Need help plz urgent

Im getting this error while building cm13 plz someone help
Code:
Warning: there were 3 instances of library classes depending on program classes.
You must avoid such dependencies, since the program classes will
be processed, while the library classes will remain unchanged.
(http://proguard.sourceforge.net/manual/troubleshooting.html#dependency)
Error: Please correct the above warnings first.
build/core/java.mk:536: recipe for target '/home/aditya/cm/out/target/common/obj/APPS/LockClock_intermediates/proguard.classes.jar' failed
make: *** [/home/aditya/cm/out/target/common/obj/APPS/LockClock_intermediates/proguard.classes.jar] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/aditya/cm'
adityaupreti said:
Im getting this error while building cm13 plz someone help
Code:
Warning: there were 3 instances of library classes depending on program classes.
You must avoid such dependencies, since the program classes will
be processed, while the library classes will remain unchanged.
(http://proguard.sourceforge.net/manual/troubleshooting.html#dependency)
Error: Please correct the above warnings first.
build/core/java.mk:536: recipe for target '/home/aditya/cm/out/target/common/obj/APPS/LockClock_intermediates/proguard.classes.jar' failed
make: *** [/home/aditya/cm/out/target/common/obj/APPS/LockClock_intermediates/proguard.classes.jar] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/aditya/cm'
Click to expand...
Click to collapse
Try these
http://review.cyanogenmod.org/129427
and
http://review.cyanogenmod.org/129496
LG g flex
Hi can i get help with my LG g flex at&t.I need to upgrade firmware.to unlocked my phone.i can't put my unlocked code in.Thanks paul
Hi Aditya Have you solved this???
I am also stuck here for G900H

Categories

Resources