[Q] help with ndk build - Android Q&A, Help & Troubleshooting

hello guys,
I need to use a native library in my app but with all the ways I've tryed to build it, I get the following warning:
Code:
10-11 10:33:51.095: WARN/dalvikvm(337): No implementation found for native L[I](path to my activity)[/I];.Init (Ljava/lang/String;IIIII)I
and then the error
Code:
10-11 10:33:51.115: ERROR/AndroidRuntime(337): java.lang.UnsatisfiedLinkError: Init
I have downloaded the library and I'm not familiar with c++ to modify or debug it if that is the case but I believe that my error comes from the Android.mk file which was like this when downloaded:
Code:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := gifflen
LOCAL_SRC_FILES := gifflen.cpp
LOCAL_LDLIBS := -L/cygdrive/c/android-ndk-1.5_r1-windows/android-ndk-1.5_r1/build/platforms/android-1.5/arch-arm/usr/lib -llog
include $(BUILD_SHARED_LIBRARY)
but because i use linux and ndk-r6b, i've modyfied it like:
Code:
LOCAL_LDLIBS += -L/home/me/android-ndk-r6b/platforms/android-3/arch-arm/usr/include/android/ -llog
This may be useful too:
Code:
$ readelf -d libgifflen.so
Dynamic section at offset 0x53ac contains 26 entries:
Tag Type Name/Value
[B]0x00000001 (NEEDED) Shared library: [liblog.so][/B]
0x00000001 (NEEDED) Shared library: [libstdc++.so]
0x00000001 (NEEDED) Shared library: [libm.so]
0x00000001 (NEEDED) Shared library: [libc.so]
0x00000001 (NEEDED) Shared library: [libdl.so]
0x0000000e (SONAME) Library soname: [libgifflen.so]
0x00000010 (SYMBOLIC) 0x0
0x00000019 (INIT_ARRAY) 0x6394
0x0000001b (INIT_ARRAYSZ) 12 (bytes)
0x0000001a (FINI_ARRAY) 0x63a0
0x0000001c (FINI_ARRAYSZ) 12 (bytes)
0x00000004 (HASH) 0xd4
0x00000005 (STRTAB) 0xf54
0x00000006 (SYMTAB) 0x564
0x0000000a (STRSZ) 2464 (bytes)
0x0000000b (SYMENT) 16 (bytes)
0x00000003 (PLTGOT) 0x649c
0x00000002 (PLTRELSZ) 176 (bytes)
0x00000014 (PLTREL) REL
0x00000017 (JMPREL) 0x19e4
0x00000011 (REL) 0x18f4
0x00000012 (RELSZ) 240 (bytes)
0x00000013 (RELENT) 8 (bytes)
0x00000016 (TEXTREL) 0x0
0x6ffffffa (RELCOUNT) 28
0x00000000 (NULL) 0x0
Any help would be greatly appreciated and I thank you for your time in advance,
cheers!

Please use the Q&A Forum for questions Thanks
Moving to Q&A

Related

[A] Shared Libs elf text for stock shooter (Evo 3D)

Ok so this was something that I needed for Porting MIUI to the EVO 3D
the command in Linux is readelf -d liba2dp.so
Example of output
File: liba2dp.so
Dynamic section at offset 0xe048 contains 27 entries:
Tag Type Name/Value
0x00000003 (PLTGOT) 0xe12c
0x00000002 (PLTRELSZ) 320 (bytes)
0x00000017 (JMPREL) 0xcf4
0x00000014 (PLTREL) REL
0x00000011 (REL) 0xe34
0x00000012 (RELSZ) 16 (bytes)
0x00000013 (RELENT) 8 (bytes)
0x6ffffffa (RELCOUNT) 16
0x00000006 (SYMTAB) 0x34c
0x0000000b (SYMENT) 16 (bytes)
0x00000005 (STRTAB) 0x85c
0x0000000a (STRSZ) 1175 (bytes)
0x00000004 (HASH) 0xf4
0x00000001 (NEEDED) Shared library: [liblog.so]
0x00000001 (NEEDED) Shared library: [libcutils.so]
0x00000001 (NEEDED) Shared library: [libc.so]
0x00000001 (NEEDED) Shared library: [libstdc++.so]
0x00000001 (NEEDED) Shared library: [libm.so]
0x0000000e (SONAME) Library soname: [liba2dp.so]
0x00000019 (INIT_ARRAY) 0xe000
0x0000001b (INIT_ARRAYSZ) 8 (bytes)
0x0000001a (FINI_ARRAY) 0xe008
0x0000001c (FINI_ARRAYSZ) 12 (bytes)
0x00000016 (TEXTREL) 0x0
0x00000010 (SYMBOLIC) 0x0
0x0000001e (FLAGS) SYMBOLIC TEXTREL
0x00000000 (NULL) 0x0
I have included all of the readelf in a text below
Hope this helps some of you!
Ok thats great! thank

Getting AOSP rom to boot after porting from source

I just recently finished porting and compiling the gummy rom from source to the motorola defy but i can't get it to boot probably ... i can boot it through 2nd boot but i get an android.process.com error
Logcat - [email protected]:~$ adb logcat
- waiting for device -
--------- beginning of /dev/log/main
I/ARMAssembler( 1117): generated scanline__00000077:03545405_00000000_00000000 [ 36 ipp] (50 ins) at [0x409e21e8:0x409e22b0] in 183106 ns
I/ARMAssembler( 1117): generated scanline__00000077:03545405_00000A05_00000000 [ 37 ipp] (58 ins) at [0x409e22b8:0x409e23a0] in 152588 ns
I/ARMAssembler( 1117): generated scanline__00000077:03545405_00000A08_00000000 [ 37 ipp] (59 ins) at [0x409e23a8:0x409e2494] in 183105 ns
I/init ( 1996): == init.rc: on init -----------------------
I/init ( 1997): == mapphone: on init ----------------------
I/init ( 1998): == mapphone: on init ----------------------
I/init ( 2023): == init.rc: on fs -------------------------
I/init ( 2024): == mapphone: on fs ------------------------
I/init ( 2066): == init.rc: on post-fs --------------------
I/init ( 2067): == mapphone: on post-fs -------------------
I/init ( 2077): == init.rc: on post-fs-data ---------------
I/init ( 2078): == mapphone: on post-fs-data -------------------
I/init ( 2102): == mapphone: on early-boot ----------------
I/init ( 2103): == init.rc: on boot -----------------------
I/run-parts( 2106): kernel.sched_latency_ns = 10000000
I/run-parts( 2106): kernel.sched_min_granularity_ns = 1000000
I/run-parts( 2106): vm.dirty_ratio = 0
I/run-parts( 2106): vm.dirty_background_ratio = 5
I/run-parts( 2106): vm.vfs_cache_pressure = 100
I/run-parts( 2106): vm.oom_kill_allocating_task = 1
I/run-parts( 2106): vm.min_free_kbytes = 4096
D/AndroidRuntime( 2123):
D/AndroidRuntime( 2123): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 2123): CheckJNI is OFF
E/dalvikvm( 2123): ERROR: must specify non-'.' bootclasspath
W/dalvikvm( 2123): CreateJavaVM failed: dvmClassStartup failed
E/AndroidRuntime( 2123): JNI_CreateJavaVM failed
I/run-parts( 2106): Zipaligning...
I/run-parts( 2106): Zipalign complete! Runtime: 00:00:01
I/run-parts( 2106): kernel.sched_latency_ns = 10000000
I/run-parts( 2106): kernel.sched_min_granularity_ns = 1000000
I/run-parts( 2106): vm.dirty_ratio = 0
I/run-parts( 2106): vm.dirty_background_ratio = 5
I/run-parts( 2106): vm.vfs_cache_pressure = 100
I/run-parts( 2106): vm.oom_kill_allocating_task = 1
I/run-parts( 2106): vm.min_free_kbytes = 4096
I/boot ( 2163): Set 32mb of RAM free.
I/mountsd ( 2167): Checking filesystems..
I/run-parts( 2106): e2fsck 1.41.11 (14-Mar-2010)
I/run-parts( 2106): /dev/block/mmcblk0p2: recovering journal
I/run-parts( 2106): /dev/block/mmcblk0p2: clean, 11/124928 files, 26309/498900 blocks
Can anyone help me please???
Thanks

Problem while building ipset binary to android

Hello,
I am losing my mind while building ipset binary to android, i am worked on it at least two hours, i have successfully builded kernel module for ipset, it is working fine but i cannot run ipset binary on my device. (nexus 5)
Code:
PKG_CONFIG_PATH=/storage/android/lib/pkgconfig CC=/storage/arm-linux-gnueabi-linaro_4.9.1-2014.06/bin/arm-eabi-cc ./configure --with-kmod=no --enable-shared=no --host=arm-linux-gnueabi --prefix=/storage/android
With this configuration command, ipset builds fine, but when i push it to /system/bin/ipset, i can not execute it from here.
Code:
/system/bin # ./ipset
/sbin/sh: ./ipset: not found
readelf -hd ipset output
Code:
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: ARM
Version: 0x1
Entry point address: 0x92a1
Start of program headers: 52 (bytes into file)
Start of section headers: 365580 (bytes into file)
Flags: 0x5000202, has entry point, Version5 EABI, soft-float ABI
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 8
Size of section headers: 40 (bytes)
Number of section headers: 38
Section header string table index: 35
Dynamic section at offset 0x171e0 contains 25 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libdl.so.2]
0x00000001 (NEEDED) Shared library: [libc.so.6]
0x0000000c (INIT) 0x8b98
0x0000000d (FINI) 0x1038c
0x00000019 (INIT_ARRAY) 0x271d4
0x0000001b (INIT_ARRAYSZ) 4 (bytes)
0x0000001a (FINI_ARRAY) 0x271d8
0x0000001c (FINI_ARRAYSZ) 4 (bytes)
0x00000004 (HASH) 0x818c
0x00000005 (STRTAB) 0x86ec
0x00000006 (SYMTAB) 0x831c
0x0000000a (STRSZ) 576 (bytes)
0x0000000b (SYMENT) 16 (bytes)
0x00000015 (DEBUG) 0x0
0x00000003 (PLTGOT) 0x272d0
0x00000002 (PLTRELSZ) 440 (bytes)
0x00000014 (PLTREL) REL
0x00000017 (JMPREL) 0x89e0
0x00000011 (REL) 0x89c8
0x00000012 (RELSZ) 24 (bytes)
0x00000013 (RELENT) 8 (bytes)
0x6ffffffe (VERNEED) 0x89a8
0x6fffffff (VERNEEDNUM) 1
0x6ffffff0 (VERSYM) 0x892c
0x00000000 (NULL) 0x0
readelf -hd iptables output (the one that comes with android, works fine)
Code:
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: DYN (Shared object file)
Machine: ARM
Version: 0x1
Entry point address: 0x5348
Start of program headers: 52 (bytes into file)
Start of section headers: 223636 (bytes into file)
Flags: 0x5000000, Version5 EABI
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 8
Size of section headers: 40 (bytes)
Number of section headers: 27
Section header string table index: 26
Dynamic section at offset 0x32cec contains 26 entries:
Tag Type Name/Value
0x00000003 (PLTGOT) 0x33e44
0x00000002 (PLTRELSZ) 864 (bytes)
0x00000017 (JMPREL) 0x4a00
0x00000014 (PLTREL) REL
0x00000011 (REL) 0x1080
0x00000012 (RELSZ) 14720 (bytes)
0x00000013 (RELENT) 8 (bytes)
0x6ffffffa (RELCOUNT) 1835
0x00000015 (DEBUG) 0x0
0x00000006 (SYMTAB) 0x148
0x0000000b (SYMENT) 16 (bytes)
0x00000005 (STRTAB) 0x8c8
0x0000000a (STRSZ) 1098 (bytes)
0x00000004 (HASH) 0xd14
0x00000001 (NEEDED) Shared library: [libc.so]
0x00000001 (NEEDED) Shared library: [libm.so]
0x00000001 (NEEDED) Shared library: [libstdc++.so]
0x00000020 (PREINIT_ARRAY) 0x33c6c
0x00000021 (PREINIT_ARRAYSZ) 0x8
0x00000019 (INIT_ARRAY) 0x33c74
0x0000001b (INIT_ARRAYSZ) 8 (bytes)
0x0000001a (FINI_ARRAY) 0x33c7c
0x0000001c (FINI_ARRAYSZ) 8 (bytes)
0x0000001e (FLAGS) BIND_NOW
0x6ffffffb (FLAGS_1) Flags: NOW
0x00000000 (NULL) 0x0
I think the problem is libraries, i also pushed the libc.so.6 and libdl to /system/lib with no success.
Could someone point out where i am doing the mistake?
Thanks.

[DEV] Mediapad 10 Link Developer/debug info {LTE Model}

Hi All
I recently purchased the Mediapad 10 Link LTE model.
As is my usual habit I am posting my research into the device here. This info is not useful to the day to day user but is ment as a resource of information for developers.
CPU: Hi3620 K3v2 (K3V200)
BaseBand: balong710 (not proven exactly, could be x-gold , needs confirming)
Here i've posted the initial parition data
Parition Information
i rooted early on using Framaroot and Pippin exploit,
I backed up all the partitions and have been running reversing on many
although the cache parition showed no files i did run strings on it returning some usefull info from it's inital setup at factory(assumed)
==================update partition list=================
partition table changed, upgrading partition table...
============upgrade partition table =============
*******************GPT*************************
GptHeader.signatureX: E F I P A R T
GptHeader.revision: 0x00010000
GptHeader.header_size: 0x0000005c
GptHeader.header_crc32: 0x26d7c5cc
GptHeader.my_lba: 0x0000000000000001
GptHeader.alternate_lba: 0x0000000001d59fff
GptHeader.first_usable_lba:0x0000000000000022
GptHeader.last_usable_lba: 0x0000000001d59fff
GptHeader.partition_entry_array_crc32:0x40252416
GptHeader.partition_entry_lba: 0x0000000000000002
GptHeader.num_partition_entries: 0x00000080
GptHeader.sizeof_partition_entry: 0x00000080
partition first_lba last_lba size
xloader 0x100 0x2ff 0M
round 0x300 0x1fff 3M
nvme 0x2000 0x3fff 4M
misc 0x4000 0x5fff 4M
splash 0x6000 0x9fff 8M
oeminfo 0xa000 0x19fff 32M
logo 0x1a000 0x1ffff 12M
vrcb 0x20000 0x21fff 4M
recovery2 0x22000 0x29fff 16M
recovery 0x2a000 0x31fff 16M
boot 0x32000 0x35fff 8M
modemimage 0x36000 0x55fff 64M
modemnv 0x56000 0x59fff 8M
modemnv2 0x5a000 0x5dfff 8M
cache 0x5e000 0xddfff 256M
system 0xde000 0x1ddfff 512M
cust 0x1de000 0x2ddfff 512M
userdata 0x2de000 0x2e5fff 16M
reserve1 0x2e6000 0x2edfff 16M
reserve2 0x2ee000 0x2f5fff 16M
lowpower 0x2f6000 0x2fdfff 16M
data 0x2fe000 0x1d59fff 13496M
=========================================
completing update partition list...
complete_update_partition_list mod boot :first_lba=204800,last_lba=221183
complete_update_partition_list mod recovery :first_lba=172032,last_lba=204799
complete_update_partition_list mod modemimage :first_lba=221184,last_lba=352255
complete_update_partition_list mod modemnv :first_lba=352256,last_lba=368639
complete_update_partition_list mod logo :first_lba=106496,last_lba=131071
complete_update_partition_list mod lowpower :first_lba=3104768,last_lba=3137535
complete_update_partition_list mod vrcb :first_lba=131072,last_lba=139263
complete_update_partition_list mod round :first_lba=768,last_lba=8191
complete_update_partition_list mod userdata :first_lba=3006464,last_lba=3039231
complete_update_partition_list mod system :first_lba=909312,last_lba=1957887
complete_update_partition_list mod cust :first_lba=1957888,last_lba=3006463
complete_update_partition_list mod cache :first_lba=385024,last_lba=909311
==================update partition list=================
partition start_offset dwDataLen first_lba last_lba compress
fastboot 0x13318 0x4610c 0 0 0
boot 0x59dbe 0x49b800 0x32000 0x35fff 0
recovery 0x4f6212 0x5f7800 0x2a000 0x31fff 0
modemimage 0xaf47ac 0x369a094 0x36000 0x55fff 0
modemnv 0x418f5d8 0x69a094 0x56000 0x59fff 0
logo 0x4829e9e 0x3e8000 0x1a000 0x1ffff 0
lowpower 0x4c12f3a 0x81b1ba 0x2f6000 0x2fdfff 0
vrcb 0x542e158 0x200 0x20000 0x21fff 0
round 0x542e3bc 0x200 0x300 0x1fff 0
userdata 0x542eeba 0x44d088 0x2de000 0x2e5fff 0
system 0x58ba8ee 0x1f4a3c28 0xde000 0x1ddfff 0
cust 0x24d89d8c 0x15c08a54 0x1de000 0x2ddfff 0
cache 0x3a993476 0x6190c4 0x5e000 0xddfff 0
sd_blacklist 0x3afac5a0 0x8 0 0 0
sensors 0x3afac708 0x7e796 0 0 0
=================================================
writing partitions...
[firmware_update]:write_partition fastboot
[write_partition_fastboot]:img_file_sizes=286988
[write_partition_fastboot]:success write fastboot_need_write_size(0x10800) to boot0 emmc
[write_partition_fastboot]:write_partition_xloader start.size=3590c
[write_partition_xloader]:success write image to emmc
[firmware_update]:write_partition bootsd_offset = 0x59dbe
vrlhead.MegicNumber:SecVRLTableV1.1
Don't copy boot's vrl header into partition
list_entry.dwDataLen = 0x0049b000
list_entry.start_offset = 0x5a5be
vrlhead.VrlItemTab.Address = 0x05200100
vrl_addr = 0x5200000
tmp_entry->name:sec_token
Click to expand...
Click to collapse
and
Find update package success path:/mnt/sdcard2/dload/update.app
update_package_exist,total upgrade file size=990031520
read_power_supply_info, success to open power supply file /sys/class/power_supply/ChargerAC/online
read_power_supply_info, power supply info is 1
check_charger_online, charger_ac online
low_power_check, charger is online
huawei_sd_update:update_threshold_check success...
coulometer_firmware_upgrade ret = 0
update coulmeter successfully
umount /system error=-1
update coulmeter:unmount system fail
update_threshold_check, boot.status=
get_specified_mbn, fopen /mnt/sdcard2/dload/update.app success!
first module: old_off = 92
first module: dwHeaderlen = 100
first module: dwHeaderVer = 1
first module: dwDataStarAdd = 0xffffffff
first module: dwDatalen = 128
first module: date = 2013.08.21
first module: time = 14.49.21
first module: name = MD5RSA
get_specified_mbn , success to find first module head MD5RSA
first module is not CRC module
mod_head szDispName = CRC:
dwHeaderLen = 128, dwDataStarAdd = 0xffffffff,dwDataLen = 60412,date = 2013.08.21,time = 14.49.21
get_specified_mbn Read module to memory success
get_crc_mbn success...
Create tmp file for integrity check success
Get crclist module raw data success :60412 byte
first module: old_off = 92
first module: dwHeaderlen = 100
first module: dwHeaderVer = 1
first module: dwDataStarAdd = 0xffffffff
first module: dwDatalen = 128
first module: date = 2013.08.21
first module: time = 14.49.21
first module: name = MD5RSA
Begin circulate crc check each module...
sacan first module over
mod_head szDispName = CRC:
dwHeaderLen = 128, dwDataStarAdd = 0xffffffff,dwDataLen = 60412,date = 2013.08.21,time = 14.49.21
mod_head szDispName = PTABLE:
dwHeaderLen = 108, dwDataStarAdd = 0xffffffff,dwDataLen = 17408,date = 2013.08.21,time = 14.49.22
module PTABLE is not compressed
module PTABLE crc check success..................
parsing ptable from update package...
============ partition table =============
partition first_lba last_lba size
xloader 0x100 0x2ff 0M
round 0x300 0x1fff 3M
nvme 0x2000 0x3fff 4M
misc 0x4000 0x5fff 4M
splash 0x6000 0x9fff 8M
oeminfo 0xa000 0x19fff 32M
logo 0x1a000 0x1ffff 12M
vrcb 0x20000 0x21fff 4M
recovery2 0x22000 0x29fff 16M
recovery 0x2a000 0x31fff 16M
boot 0x32000 0x35fff 8M
modemimage 0x36000 0x55fff 64M
modemnv 0x56000 0x59fff 8M
modemnv2 0x5a000 0x5dfff 8M
cache 0x5e000 0xddfff 256M
system 0xde000 0x1ddfff 512M
cust 0x1de000 0x2ddfff 512M
userdata 0x2de000 0x2e5fff 16M
reserve1 0x2e6000 0x2edfff 16M
reserve2 0x2ee000 0x2f5fff 16M
lowpower 0x2f6000 0x2fdfff 16M
data 0x2fe000 0xd8ffff 5412M
=========================================
mod_head szDispName = FASTBOOT:
dwHeaderLen = 240, dwDataStarAdd = 0xffffffff,dwDataLen = 286988,date = 2013.08.21,time = 14.49.22
module FASTBOOT is not compressed
module FASTBOOT crc check success..................
mod_head szDispName = BOOT:
dwHeaderLen = 2458, dwDataStarAdd = 0xffffffff,dwDataLen = 4831232,date = 2013.08.21,time = 14.49.22
module BOOT is not compressed
module BOOT crc check success..................
mod_head szDispName = RECOVERY:
dwHeaderLen = 3154, dwDataStarAdd = 0xffffffff,dwDataLen = 6256640,date = 2013.08.21,time = 14.49.22
module RECOVERY is not compressed
module RECOVERY crc check success..................
mod_head szDispName = MODEMIMAGE:
dwHeaderLen = 28056, dwDataStarAdd = 0xffffffff,dwDataLen = 57254036,date = 2013.08.21,time = 14.49.22
module MODEMIMAGE is not compressed
module MODEMIMAGE crc check success..................
mod_head szDispName = MODEMNV:
dwHeaderLen = 3480, dwDataStarAdd = 0xffffffff,dwDataLen = 6922388,date = 2013.08.21,time = 14.49.24
module MODEMNV is not compressed
module MODEMNV crc check success..................
mod_head szDispName = LOGO:
dwHeaderLen = 2098, dwDataStarAdd = 0xffffffff,dwDataLen = 4096000,date = 2013.08.21,time = 14.49.24
module LOGO is not compressed
module LOGO crc check success..................
mod_head szDispName = LOWPOWER:
dwHeaderLen = 4250, dwDataStarAdd = 0xffffffff,dwDataLen = 8499642,date = 2013.08.21,time = 14.49.24
module LOWPOWER is not compressed
module LOWPOWER crc check success..................
mod_head szDispName = VRCB:
dwHeaderLen = 100, dwDataStarAdd = 0xffffffff,dwDataLen = 512,date = 2013.08.21,time = 14.49.24
module VRCB is not compressed
module VRCB crc check success..................
mod_head szDispName = ROUND:
dwHeaderLen = 100, dwDataStarAdd = 0xffffffff,dwDataLen = 512,date = 2013.08.21,time = 14.49.24
module ROUND is not compressed
module ROUND crc check success..................
mod_head szDispName = USERDATA:
dwHeaderLen = 2302, dwDataStarAdd = 0xffffffff,dwDataLen = 4509832,date = 2013.08.21,time = 14.49.24
module USERDATA is not compressed
module USERDATA crc check success..................
mod_head szDispName = SYSTEM:
dwHeaderLen = 256426, dwDataStarAdd = 0xffffffff,dwDataLen = 524958760,date = 2013.08.21,time = 14.49.24
module SYSTEM is not compressed
module SYSTEM crc check success..................
mod_head szDispName = CUST:
dwHeaderLen = 178292, dwDataStarAdd = 0xffffffff,dwDataLen = 364939860,date = 2013.08.21,time = 14.49.37
module CUST is not compressed
module CUST crc check success..................
mod_head szDispName = CACHE:
dwHeaderLen = 3222, dwDataStarAdd = 0xffffffff,dwDataLen = 6394052,date = 2013.08.21,time = 14.49.46
module CACHE is not compressed
module CACHE crc check success..................
mod_head szDispName = SD_BLACKLIST:
dwHeaderLen = 100, dwDataStarAdd = 0xffffffff,dwDataLen = 8,date = 2013.08.21,time = 14.49.46
module SD_BLACKLIST is not compressed
module SD_BLACKLIST crc check success..................
mod_head szDispName = SENSORS:
dwHeaderLen = 352, dwDataStarAdd = 0xffffffff,dwDataLen = 518038,date = 2013.08.21,time = 14.49.46
module SENSORS is not compressed
module SENSORS crc check success..................
Has scaned the entire module
Integrity check all success!
==================update partition list=================
partition start_offset dwDataLen first_lba last_lba compress
fastboot 0x13318 0x4610c 0 0 0
boot 0x59dbe 0x49b800 0 0 0
recovery 0x4f6212 0x5f7800 0 0 0
modemimage 0xaf47ac 0x369a094 0 0 0
modemnv 0x418f5d8 0x69a094 0 0 0
logo 0x4829e9e 0x3e8000 0 0 0
lowpower 0x4c12f3a 0x81b1ba 0 0 0
vrcb 0x542e158 0x200 0 0 0
round 0x542e3bc 0x200 0 0 0
userdata 0x542eeba 0x44d088 0 0 0
system 0x58ba8ee 0x1f4a3c28 0 0 0
cust 0x24d89d8c 0x15c08a54 0 0 0
cache 0x3a993476 0x6190c4 0 0 0
sd_blacklist 0x3afac5a0 0x8 0 0 0
sensors 0x3afac708 0x7e796 0 0 0
=================================================
recovery: upgrade_package_integrity_check success...
parsing current system ptable......
============ partition table =============
partition first_lba last_lba size
xloader 0x100 0x2ff 0M
round 0x300 0x1fff 3M
nvme 0x2000 0x3fff 4M
misc 0x4000 0x5fff 4M
splash 0x6000 0x9fff 8M
oeminfo 0xa000 0x19fff 32M
logo 0x1a000 0x1ffff 12M
vrcb 0x20000 0x21fff 4M
recovery2 0x22000 0x28fff 14M
recovery 0x2a000 0x31fff 16M
boot 0x32000 0x35fff 8M
modemimage 0x36000 0x55fff 64M
modemnv 0x56000 0x59fff 8M
modemnv2 0x5a000 0x5dfff 8M
cache 0x5e000 0xddfff 256M
system 0xde000 0x1ddfff 512M
cust 0x1de000 0x2ddfff 512M
userdata 0x2de000 0x2e5fff 16M
reserve1 0x2e6000 0x2edfff 16M
reserve2 0x2ee000 0x2f5fff 16M
reserve3 0x2f6000 0x2fdfff 16M
data 0x2fe000 0x1d59fff 13496M
=========================================
parse_ptable_from_file old_ptale success...
fixed_partition_changed_check success...
zhanting:cmdline = size=1G k3v2_lcd_density=1080p [email protected] console=ttyAMA0,115200 k3v2_pmem=1 vmalloc=512M androidboot.hardware=hws10201l
mmcparts=mmcblk01(xloader),p3(nvme),p4(misc),p5(splash),p6(oeminfo),p7(logo),p8(vrcb),p9(recovechecking img fastboot
sizeof(vrlhead) is 2048
sum = 2048
fastboot img has signed
checking img boot
sizeof(vrlhead) is 2048
sum = 2048
boot img has signed
checking img recovery
sizeof(vrlhead) is 2048
sum = 2048
recovery img has signed
[secure_boot_check]:success read fastboot's vrl header from boot0 emmc
boot's vrl addr is 0x05200000
recovery's vrl addr is 0x05208000
huawei_sd_update:integrity_validity_check success...
sd_upgrade_spare_space_check,cust.zip exist...
spare_space_check, the free space of /data is 13052854272
spare_space_check, free space is 13052854272,the size of total files in cust.zip is 0
spare_space_check, space is enough!
sensors_upgrade,sensors path /mnt/sdcard2/dload/sensors.zip
sensors_upgrade, open zip package fail......
partition table changed checking...
data block device path =/dev/block/mmcblk0p22
blk_sec: 30777344.
mmc partition num =22
sum_sec: 3133184
data_sec: 27639808
fs_sec:27639808
partition table changed
Click to expand...
Click to collapse
and
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null) 0
1 /mnt/sdcard2 vfat /dev/block/platform/hi_mci.0/mmcblk1p1 (null) 0
2 /system ext4 /dev/block/mmcblk0p16 (null) 0
3 /cache ext4 /dev/block/mmcblk0p15 (null) 0
4 /tmpdata ext4 /dev/block/mmcblk0p18 (null) 0
5 /misc emmc /dev/block/mmcblk0p4 (null) 0
6 /boot emmc /dev/block/mmcblk0p11 (null) 0
7 /recovery emmc /dev/block/mmcblk0p10 (null) 0
8 /data ext4 /dev/block/mmcblk0p22 (null) 0
9 /cust ext4 /dev/block/mmcblk0p17 (null) 0
10 /vrcb emmc /dev/block/mmcblk0p8 (null) 0
I:Boot command: RESET:FACTORY
I:Got arguments from boot message
Command: "recovery" "--part_of_data_format"
ro.runmode=normal
Click to expand...
Click to collapse
I still have more research to format/layout and post. I need to also remove imei/serials from the postings but stay tuned.
DEVS, feel free to post your data.
Please avoid posting questions/recoveries/problems here, keep this thread to known facts needed for development.
Kernel-Device trees
Here is a list of other devices with same cpu, devices marked in red are LTE devices.
Code:
Hi3620 devices
[COLOR="red"]Huawei Ascend D2-6070 TD-LTE
Huawei MediaPad 10 Link LTE-A S10-201L 16GB
Huawei MediaPad 10 Link LTE-A S10-201L 32GB
Huawei MediaPad 10 FHD LTE S10-101L 64GB[/COLOR]
Huawei MediaPad 10 FHD S10-101u 64GB
Huawei MediaPad 10 FHD WiFi S10-101w
Huawei MediaPad 10 FHD S10-101u 16GB
Huawei MediaPad 7 Vogue
Huawei MediaPad 10 Link 3G S10-201u 16GB
Huawei MediaPad 10 Link WiFi S10-201w 16GB
NTT DoCoMo Huawei MediaPad 10 Link / dtab S10-201wd
Huawei STREAM X GL07S
Huawei Honor 3 HN3-U01
Huawei Honor 2 / Honor Quad (Huawei U9508)
Huawei Ascend D2-5000 TD
Huawei Ascend D2-0082 HSPA
Huawei Ascend G615
Huawei Ascend D2-2010 CDMA
Huawei Ascend D1 Quad / Ascend D quad (Huawei U9510)
Huawei Ascend D1 Quad XL (Huawei T9510E)
Huawei Ascend D1 Quad XL / Ascend D quad XL (Huawei U9510E)
[COLOR="red"]Huawei Ascend P2-6011 LTE- src-avalilable[/COLOR]
Huawei Ascend P2
Huawei Ascend Mate MT1-T00
Huawei A199
Huawei Ascend D2 HW-03E (Huawei U9701L)
Huawei Ascend Mate MT1-U06
Device(s) on list above with kernel sources links for comparision/possible ports
Huawei Ascend P2-6011 LTE
Huawei Ascend Mate MT1-U06
Huawei Ascend D2-0082 HSPA
Huawei Ascend G615
Additional info,
Going over Huawei kernel list it seems like the devices with MSM based chips for cpu have newer kernels 3.4 etc and it's own chips are still on 3.0.8
it would be nice if they updated that part. oh well.
A comparison of the two kernels for P2-6011 and Ascend D2-0082 shows no difference apart from make files for android, they both used the same defconfig/.config file, that gives hope for a quick kernel port but could also have changes deeper in the make/.mk files that are introduced with build directives so first I want to build the kernels and then start looking deeper into the sources.
I've found quite a few once I fixed my search parameters. Further work continues.
Full Kernel source found, please note that althought these sources compile , Ive yet too test due to the tablet having a locked bootloader,
Forked kernel sources -Not fully tested
Device specific info - LCD - Touch etc
Kernel Command Line
mem_size=1G k3v2_lcd_density=1080p [email protected] console=ttyS0 k3v2_pmem=1 vmalloc=512M androidboot.hardware=hws10201l mmcparts=mmcblk01(xloader),p3(nvme),p4(misc),p5(splash),p6(oeminfo),p7(logo),p8(vrcb),p9(recovery2),p10(recovery),p11(boot),p12(modemimage),p13(modemnv),p14(modemnvm2),p15(cache),p16(system),p17(cust),p18(userdata),p19(reserve1),p20(reserve2),p21(lowpower),p22(data);mmcblk11(sdcard2) boardid=0x36200110,0x00000025,0x00000082 hw_version=0x0000031f,0x00000623,0x00000000,0x00000001 pd_charge=0 androidboot.serialno=Z3PXXXXXXXXXXX androidboot.swtype=normal fastboot_version=S10-20XlV100R002C001B008SP03_FASTBOOT hpm_value=67 normal_reset_type=ColdReset, cpu_maxfreq=0
Click to expand...
Click to collapse
/proc/bus/devices
Code:
[email protected]:/proc # cat bus/input/devices
I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="k3v2_power_key"
P: Phys=
S: Sysfs=/devices/platform/k3v2_power_key/input/input0
U: Uniq=
H: Handlers=event0
B: PROP=0
B: EV=3
B: KEY=100000 0 0 0
I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="k3v2_gpio_key"
P: Phys=
S: Sysfs=/devices/platform/s10_gpio_key/input/input1
U: Uniq=
H: Handlers=event1
B: PROP=0
B: EV=3
B: KEY=c0000 0 0 0
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="sensor00fn11"
P: Phys=sensor00fn11/input0
S: Sysfs=/devices/sensor00/input/input2
U: Uniq=
H: Handlers=event2
B: PROP=2
B: EV=b
B: KEY=0
B: ABS=6730000 0
I: Bus=0018 Vendor=0000 Product=0000 Version=0000
N: Name="acc_input"
P: Phys=
S: Sysfs=/devices/platform/dw-i2c.0/i2c-0/0-0018/input/input3
U: Uniq=
H: Handlers=event3
B: PROP=0
B: EV=9
B: ABS=100 107
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="yamaha_orientation"
P: Phys=
S: Sysfs=/devices/platform/yamaha_orientation.0/input/input4
U: Uniq=
H: Handlers=event4
B: PROP=0
B: EV=9
B: ABS=100 4c7
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HI3620_HI6421_CARD Headset Jack"
P: Phys=ALSA
S: Sysfs=/devices/platform/soc-audio/sound/card0/input5
U: Uniq=
H: Handlers=event5
B: PROP=0
B: EV=23
B: KEY=4 0 0 0 0 0 0 0
B: SW=14
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="lightsensor"
P: Phys=
S: Sysfs=/devices/virtual/input/input6
U: Uniq=
H: Handlers=event6
B: PROP=0
B: EV=9
B: ABS=100 0
[email protected]:/proc #
Sensors:-
LIS303DLHC 3-axis Accelerometer (STMicroelectronics)
AK8963 3-axis Magnetic field sensor (Asahi Kasei Microdevices)
iNemo Orientation sensor (STMicroelectronics)
Light sensor (sensor is 1inch to left of camera) (Taos)
Touch screen synaptics product: TM2662-006 (rmi generic 4)
yamaha orientation (unknown detail yet)
**Pages will be updated as info is sorted**

Error in building signed builds

Hello All,
I am trying to build LineAge 14.1 for Lux [Moto X Play].
I am following
http://wiki.lineageos.org/lux_build.html & http://wiki.lineageos.org/signing_builds.html
Now, when I am building unsigned build, everything works fine.
no issues at all.
ie by running
Code:
brunch lux
But, when I try to build a signed build,
with
Code:
mka dist
I get the following error.
Code:
[ 84% 1135/1347] target R.java/Manifest.java: PermissionTestAppMV1 (/mnt/volume-sfo2-01/android/system/out/target/common/obj/APPS/PermissionTestAppMV1_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
[ 84% 1137/1347] target R.java/Manifest.java: PerformanceLaunch (/mnt/volume-sfo2-01/android/system/out/target/common/obj/APPS/PerformanceLaunch_intermediates/src/R.stamp)
platform_testing/tests/perf/PerformanceLaunch/res/values-en-rXA/strings.xml:0: warning: Resource file platform_testing/tests/perf/PerformanceLaunch/res/values-en-rXA/strings.xml is skipped as pseudolocalization was done automatically.
platform_testing/tests/perf/PerformanceLaunch/res/values-ar-rXB/strings.xml:0: warning: Resource file platform_testing/tests/perf/PerformanceLaunch/res/values-ar-rXB/strings.xml is skipped as pseudolocalization was done automatically.
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
[ 84% 1140/1347] target R.java/Manifest.java: CMPlatformTests (/mnt/volume-sfo2-01/android/system/out/target/common/obj/APPS/CMPlatformTests_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
[ 85% 1156/1347] host Java: ahat-tests (/mnt/volume-sfo2-01/android/system/out/host/common/obj/JAVA_LIBRARIES/ahat-tests_intermediates/classes)
Note: art/tools/ahat/test/SortTest.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[B][ 89% 1206/1347] host C: libosi-host <= system/bt/osi/./src/alarm.c
FAILED: /bin/bash -c "(PWD=/proc/self/cwd prebuilts/misc/linux-x86/ccache/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang -I device/motorola/msm8916-common/include -I system/bt/osi/.. -I system/bt/osi/../utils/include -I system/bt/osi/../stack/include -I device/motorola/msm8916-common/bluetooth -I system/bt/osi -I /mnt/volume-sfo2-01/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates -I /mnt/volume-sfo2-01/android/system/out/host/linux-x86/gen/STATIC_LIBRARIES/libosi-host_intermediates -I libnativehelper/include/nativehelper \$(cat /mnt/volume-sfo2-01/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem tools/include -isystem /mnt/volume-sfo2-01/android/system/out/host/linux-x86/obj/include -c -fno-exceptions -Wno-multichar -m64 -Wa,--noexecstack -fPIC -no-canonical-prefixes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -O2 -g -fno-strict-aliasing -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 -fstack-protector-strong --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin -target x86_64-linux-gnu -std=gnu99 -DHAS_BDROID_BUILDCFG -DQLOGKIT_USERDEBUG -DUSE_AUDIO_TRACK -DEXPORT_SYMBOL=\"__attribute__((visibility(\\\"default\\\")))\" -fvisibility=hidden -Wall -Wextra -Werror -Wno-gnu-variable-sized-type-not-at-end -Wno-typedef-redefinition -Wno-unused-parameter -UNDEBUG -DLOG_NDEBUG=1 -D_GNU_SOURCE -DOS_GENERIC -fPIC -D_USING_LIBCXX -std=c99 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /mnt/volume-sfo2-01/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/./src/alarm.d -o /mnt/volume-sfo2-01/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/./src/alarm.o system/bt/osi/./src/alarm.c ) && (cp /mnt/volume-sfo2-01/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/./src/alarm.d /mnt/volume-sfo2-01/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/./src/alarm.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /mnt/volume-sfo2-01/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/./src/alarm.d >> /mnt/volume-sfo2-01/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/./src/alarm.P; rm -f /mnt/volume-sfo2-01/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/./src/alarm.d )"
In file included from system/bt/osi/./src/alarm.c:19:
In file included from system/bt/osi/../include/bt_target.h:38:
In file included from device/motorola/msm8916-common/bluetooth/bdroid_buildcfg.h:20:
system/core/include/cutils/properties.h:22:10:[COLOR="Red"] fatal error[/COLOR]: 'sys/system_properties.h' file not found
#include <sys/system_properties.h>
^
1 error generated.[/B]
[ 89% 1206/1347] Package target files: /mnt/volume-sfo2-01/android/system/out/target/product/lux/obj/PACKAGING/target_files_intermediates/lineage_lux-target_files-ce75856d2e.zip
building image from target_files RECOVERY...
using prebuilt boot.img from BOOTABLE_IMAGES...
putting script in bin/install-recovery.sh
running: unzip -o -q /mnt/volume-sfo2-01/android/system/out/target/product/lux/obj/PACKAGING/target_files_intermediates/lineage_lux-target_files-ce75856d2e.zip -d /tmp/targetfiles-atRbed
++++ boot ++++
using prebuilt boot.img from BOOTABLE_IMAGES...
++++ recovery ++++
building image from target_files RECOVERY...
running: mkbootfs -f /tmp/targetfiles-atRbed/META/recovery_filesystem_config.txt /tmp/targetfiles-atRbed/RECOVERY/RAMDISK
running: minigzip
running: /mnt/volume-sfo2-01/android/system/out/host/linux-x86/bin/mkbootimg --kernel /tmp/targetfiles-atRbed/RECOVERY/kernel --cmdline console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom msm_rtb.filter=0x3F ehci-hcd.park=3 vmalloc=400M androidboot.bootdevice=7824900.sdhci utags.blkdev=/dev/block/bootdevice/by-name/utags utags.backup=/dev/block/bootdevice/by-name/utagsBackup movablecore=160M buildvariant=userdebug --base 0x80000000 --dt /tmp/targetfiles-atRbed/RECOVERY/dt --pagesize 2048 --ramdisk_offset 0x01000000 --tags_offset 0x00000100 --os_version 7.1.1 --os_patch_level 2017-01-05 --ramdisk /tmp/tmpUZnRvD --output /tmp/tmpJ2eyen
++++ system ++++
creating system.img...
BuildImage: in_dir = /tmp/targetfiles-atRbed/system, out_file = /tmp/system-UI6LRH.img
fs type is not ext4
Running: mkuserimg.sh -s /tmp/targetfiles-atRbed/system /tmp/system-UI6LRH.img ext4 system 2852126720 -T 1230768000 -C /tmp/targetfiles-atRbed/META/filesystem_config.txt -B /tmp/system-blocklist-xeaHOq.map -L system /tmp/targetfiles-atRbed/META/file_contexts.bin
make_ext4fs -s -T 1230768000 -S /tmp/targetfiles-atRbed/META/file_contexts.bin -C /tmp/targetfiles-atRbed/META/filesystem_config.txt -B /tmp/system-blocklist-xeaHOq.map -L system -l 2852126720 -a system /tmp/system-UI6LRH.img /tmp/targetfiles-atRbed/system
loaded 2312 fs_config entries
Creating filesystem with parameters:
Size: 2852126720
Block size: 4096
Blocks per group: 32768
Inodes per group: 7920
Inode size: 256
Journal blocks: 10880
Label: system
Blocks: 696320
Block groups: 22
Reserved block group size: 175
Created filesystem with 2322/174240 inodes and 195326/696320 blocks
Running ['mkuserimg.sh', '-s', '/tmp/targetfiles-atRbed/system', '/tmp/system-UI6LRH.img', 'ext4', 'system', '2852126720', '-T', '1230768000', '-C', '/tmp/targetfiles-atRbed/META/filesystem_config.txt', '-B', '/tmp/system-blocklist-xeaHOq.map', '-L', 'system', '/tmp/targetfiles-atRbed/META/file_contexts.bin'] command, exit code = 0
++++ userdata ++++
creating userdata.img...
BuildImage: in_dir = /tmp/tmpGpF5hC/data, out_file = /tmp/tmpXM9Gfo
fs type is not ext4
Running: mkf2fsuserimg.sh /tmp/tmpXM9Gfo 11815223296
in mkf2fsuserimg.sh PATH=/mnt/volume-sfo2-01/android/system/out/host/linux-x86/bin:/mnt/volume-sfo2-01/android/system/out/host/linux-x86/bin/:/usr/lib/jvm/java-8-openjdk-amd64/bin:/mnt/volume-sfo2-01/android/system/out/host/linux-x86/bin:/mnt/volume-sfo2-01/android/system/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:/mnt/volume-sfo2-01/android/system/prebuilts/gcc/linux-x86/:/mnt/volume-sfo2-01/android/system/development/scripts:/mnt/volume-sfo2-01/android/system/prebuilts/devtools/tools:/mnt/volume-sfo2-01/android/system/external/selinux/prebuilts/bin:/mnt/volume-sfo2-01/android/system/prebuilts/android-emulator/linux-x86_64:/mnt/volume-sfo2-01/bin:/root/platform-tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
make_f2fs -l 11815223296 /tmp/tmpXM9Gfo
Info: zone aligned segment0 blkaddr: 512
Info: Overprovision ratio = 1.890%
Info: Overprovision segments = 216 (GC reserved = 113)
Running ['mkf2fsuserimg.sh', '/tmp/tmpXM9Gfo', '11815223296'] command, exit code = 0
userdata size (14) is 0.00% of limit (11815223296)
++++ extrauserdata ++++
++++ cache ++++
creating cache.img...
BuildImage: in_dir = /tmp/tmpa0tOUX/cache, out_file = /tmp/tmpTM0SUW
fs type is not ext4
Running: mkuserimg.sh -s /tmp/tmpa0tOUX/cache /tmp/tmpTM0SUW ext4 cache 805306368 -T 1230768000 -L cache /tmp/targetfiles-atRbed/META/file_contexts.bin
make_ext4fs -s -T 1230768000 -S /tmp/targetfiles-atRbed/META/file_contexts.bin -L cache -l 805306368 -a cache /tmp/tmpTM0SUW /tmp/tmpa0tOUX/cache
Creating filesystem with parameters:
Size: 805306368
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 3072
Label: cache
Blocks: 196608
Block groups: 6
Reserved block group size: 47
Created filesystem with 11/49152 inodes and 6355/196608 blocks
Running ['mkuserimg.sh', '-s', '/tmp/tmpa0tOUX/cache', '/tmp/tmpTM0SUW', 'ext4', 'cache', '805306368', '-T', '1230768000', '-L', 'cache', '/tmp/targetfiles-atRbed/META/file_contexts.bin'] command, exit code = 0
cache size (14) is 0.00% of limit (805306368)
done.
[ 89% 1206/1347] Package symbols: /mnt/volume-sfo2-01/android/system/out/target/product/lux/lineage_lux-symbols-ce75856d2e.zip
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/mnt/volume-sfo2-01/android/system'
[B][COLOR="Red"]#### make failed to build some targets (06:42 (mm:ss)) ####[/COLOR][/B]
[email protected]:/mnt/volume-sfo2-01/android/system#
Any assistance will be appreciated.
Thank you.
Bump
I am getting exact same header file missing error
system_properties.h not found.
How to solve this.
Please help.
The same error was happening to me when running
Code:
mma
I managed to fix this by running
Code:
mma bacon
In your case however, I'm assuming you need to run
Code:
mka bacon dist
This assumption is based on the wiki article you mentioned:
breakfast <codename>
mka target-files-package dist
Click to expand...
Click to collapse
AFAICT bacon is some sort of "target files package" which needs to be specified when building.

Categories

Resources