[Android Builders Collective] angelcalibur:
Hi!

I've make a build based on slim6, but i have a strange problem...

Build is complete, but the problem is with the size : 7 Mo only...

Maybee i have an issu with parameter, but i only use slim source, and our AOSP device tree.

Here is my git account :

https://github.com/angelcalibur/platform_manifest

Here is the finish of the build :

Install: /home/angel/slim6jflte/out/target/product/jflte/system/framework/wifi-service.jar
build/tools/generate-notice-files.py /home/angel/slim6jflte/out/target/product/jflte/obj/NOTICE.txt /home/angel/slim6jflte/out/target/product/jflte/obj/NOTICE.html "Notices for files contained in the filesystem images in this directory:" /home/angel/slim6jflte/out/target/product/jflte/obj/NOTICE_FILES/src
Combining NOTICE files into HTML
Combining NOTICE files into text
Installing recovery patch to system partition
Warning: could not find SYSTEM/build.prop in <built-in function zip>
using prebuilt recovery.img from BOOTABLE_IMAGES...
using prebuilt boot.img from BOOTABLE_IMAGES...
putting script in bin/install-recovery.sh
Installed file list: /home/angel/slim6jflte/out/target/product/jflte/installed-files.txt
Target system fs image: /home/angel/slim6jflte/out/target/product/jflte/obj/PACKAGING/systemimage_intermediates/system.img
Running: mkuserimg.sh -s /home/angel/slim6jflte/out/target/product/jflte/system /home/angel/slim6jflte/out/target/product/jflte/obj/PACKAGING/systemimage_intermediates/system.img ext4 system 2894069760 -D /home/angel/slim6jflte/out/target/product/jflte/system -L system /home/angel/slim6jflte/out/target/product/jflte/root/file_contexts
make_ext4fs -s -T -1 -S /home/angel/slim6jflte/out/target/product/jflte/root/file_contexts -L system -l 2894069760 -a system /home/angel/slim6jflte/out/target/product/jflte/obj/PACKAGING/systemimage_intermediates/system.img /home/angel/slim6jflte/out/target/product/jflte/system /home/angel/slim6jflte/out/target/product/jflte/system
Creating filesystem with parameters:
Size: 2894069760
Block size: 4096
Blocks per group: 32768
Inodes per group: 8032
Inode size: 256
Journal blocks: 11040
Label: system
Blocks: 706560
Block groups: 22
Reserved block group size: 175
Created filesystem with 2341/176704 inodes and 171136/706560 blocks
Install system fs image: /home/angel/slim6jflte/out/target/product/jflte/system.img
/home/angel/slim6jflte/out/target/product/jflte/system.img+/home/angel/slim6jflte/out/target/product/jflte/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p maxsize=2954637312 blocksize=135168 total=654753284 reserve=29872128
Package target files: /home/angel/slim6jflte/out/target/product/jflte/obj/PACKAGING/target_files_intermediates/slim_jflte-target_files-0fadc80e66.zip
using prebuilt recovery.img from BOOTABLE_IMAGES...
using prebuilt boot.img from BOOTABLE_IMAGES...
putting script in bin/install-recovery.sh

++++ boot ++++

using prebuilt boot.img from BOOTABLE_IMAGES...

++++ recovery ++++

using prebuilt recovery.img from BOOTABLE_IMAGES...

++++ system ++++

creating system.img...
Running: mkf2fsuserimg.sh /tmp/system-XA6Cl3.img 2894069760
in mkf2fsuserimg.sh PATH=/home/angel/slim6jflte/out/host/linux-x86/bin:/home/angel/slim6jflte/out/host/linux-x86/bin/:/usr/lib/jvm/java-7-openjdk-amd64/bin:/home/angel/slim6jflte/out/host/linux-x86/bin:/home/angel/slim6jflte/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:/home/angel/slim6jflte/prebuilts/gcc/linux-x86/:/home/angel/slim6jflte/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin:/home/angel/slim6jflte/development/scripts:/home/angel/slim6jflte/prebuilts/devtools/tools:/home/angel/slim6jflte/external/selinux/prebuilts/bin:/home/angel/slim6jflte/prebuilts/android-emulator/linux-x86_64:/home/angel/bin:/home/angel/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
make_f2fs -l 2894069760 /tmp/system-XA6Cl3.img
Info: zone aligned segment0 blkaddr: 512
Info: Overprovision ratio = 3.840%
Info: Overprovision segments = 110 (GC reserved = 60)

++++ userdata ++++

creating userdata.img...
Running: mkuserimg.sh -s /tmp/tmpnt3ePv/data /tmp/tmpcWRltg ext4 data 9961455616 -T 1230764400 -L data /tmp/targetfiles-6aZweJ/BOOT/RAMDISK/file_contexts
make_ext4fs -s -T 1230764400 -S /tmp/targetfiles-6aZweJ/BOOT/RAMDISK/file_contexts -L data -l 9961455616 -a data /tmp/tmpcWRltg /tmp/tmpnt3ePv/data
Creating filesystem with parameters:
Size: 9961455616
Block size: 4096
Blocks per group: 32768
Inodes per group: 8112
Inode size: 256
Journal blocks: 32768
Label: data
Blocks: 2431996
Block groups: 75
Reserved block group size: 599
Created filesystem with 11/608400 inodes and 76355/2431996 blocks

++++ extrauserdata ++++

++++ cache ++++

done.
Package OTA: /home/angel/slim6jflte/out/target/product/jflte/slim_jflte-ota-0fadc80e66.zip
unzipping target target-files...
running: unzip -o -q /home/angel/slim6jflte/out/target/product/jflte/obj/PACKAGING/target_files_intermediates/slim_jflte-target_files-0fadc80e66.zip -d /tmp/targetfiles-R46vJb
--- target info ---
blockimgdiff_versions = (str) 1,2,3
blocksize = (int) 131072
boot_size = (int) 10485760
build.prop = (dict) {'persist.radio.use_se_table_only': '1', 'dalvik.vm.isa.arm.variant': 'krait', 'ro.product.cpu.abilist': 'armeabi-v7a,armeabi', 'ro.url.legal': 'http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html', 'ro.build.product': 'jflte', 'ro.build.id': 'MOB30R', 'ro.hwui.gradient_cache_size': '1', 'ro.com.android.dateformat': 'MM-dd-yyyy', 'ro.product.cpu.abilist32': 'armeabi-v7a,armeabi', 'ro.build.selinux': '1', 'dalvik.vm.isa.arm.features': 'default', 'BUILD_DISPLAY_ID': 'MOB30R', 'ro.telephony.mms_data_profile': '5', 'ro.setupwizard.enterprise_mode': '1', 'persist.timed.enable': 'true', 'dalvik.vm.heapmaxfree': '8m', 'ro.product.manufacturer': 'samsung', 'ro.slim.lcd_density': '400', 'use.dedicated.device.for.voip': 'true', 'ro.hwui.layer_cache_size': '48', 'ro.telephony.ril_class': 'jflteRIL', 'dalvik.vm.heapstartsize': '16m', 'ro.product.brand': 'samsung', 'ro.enable_boot_charger_mode': '1', 'wifi.interface': 'wlan0', 'ro.ril.telephony.mqanelements': '4', 'dalvik.vm.heapsize': '512m', 'ro.qc.sdk.izat.service_mask': '0x0', 'dalvik.vm.heaptargetutilization': '0.75', 'ro.build.host': 'angel', 'ro.com.android.dataroaming': 'false', 'ro.build.version.security_patch': '2016-07-05', 'media.sf.extractor-plugin': 'libffmpeg_extractor.so', 'ro.product.locale': 'en-US', 'dalvik.vm.heapminfree': '2m', 'ro.ota.romname': 'AOSP-JF-6.0', 'persist.data_netmgrd_nint': '16', 'ro.board.platform': 'msm8960', 'ro.telephony.call_ring.multiple': '0', 'ro.product.cpu.abilist64': '', 'ro.expect.recovery_id': '0x4fb8458b3e76337004580db970da524190cfca6b000000000000000000000000', 'persist.rild.nitz_long_ons_3': '', 'persist.rild.nitz_long_ons_2': '', 'persist.rild.nitz_long_ons_1': '', 'persist.rild.nitz_long_ons_0': '', 'ro.build.flavor': 'slim_jflte-userdebug', 'rild.libargs': '-d /dev/smd0', 'ro.gps.agps_provider': '1', 'debug.sf.hw': '1', 'ro.build.version.release': '6.0.1', 'ro.build.version.codename': 'UNOFFICIAL', 'audio.offload.disable': '1', 'net.bt.name': 'Android', 'ro.build.type': 'userdebug', 'ro.hwui.text_large_cache_width': '2048', 'ro.opengles.version': '196608', 'ro.slim.version': 'Slim-6.0.1.alpha.0.4-UNOFFICIAL-20160712-1749', 'persist.rild.nitz_plmn': '', 'ro.hwui.text_small_cache_height': '1024', 'ro.build.display.id': 'slim_jflte-userdebug 6.0.1 MOB30R 0fadc80e66 test-keys', 'persist.gps.qc_nlp_in_use': '0', 'dalvik.vm.stack-trace-file': '/data/anr/traces.txt', 'persist.radio.add_power_save': '1', 'dalvik.vm.debug.alloc': '0', 'ro.carrier': 'unknown', 'ro.product.board': 'MSM8960', 'ro.build.version.preview_sdk': '0', 'persist.data.ds_fmc_app.mode': '0', 'ro.com.google.clientidbase': 'android-google', 'dalvik.vm.dex2oat-swap': 'false', 'persist.sys.lcd_density': '400', 'persist.radio.fill_eons': '1', 'ro.build.date': 'mardi 12 juillet 2016, 17:59:37 (UTC+0200)', 'ro.ota.manifest': 'http://romhut.com/roms/aosp-jf-6-0/ota.xml', 'ro.build.date.utc': '1468339177', 'keyguard.no_require_sim': 'true', 'ro.build.version.all_codenames': 'REL', 'mm.enable.smoothstreaming': 'true', 'dalvik.vm.lockprof.threshold': '500', 'qcom.hw.aac.encoder': 'true', 'ro.hwui.text_small_cache_width': '1024', 'ro.product.cpu.abi': 'armeabi-v7a', 'ro.url.legal.android_privacy': 'http://www.google.com/intl/%s/mobile/android/basic/privacy.html', 'ro.product.name': 'slim_jflte', 'ro.hwui.drop_shadow_cache_size': '6', 'ro.build.version.base_os': '', 'persist.data.qmi.adb_logmask': '0', 'ro.vendor.extension_library': 'libqti-perfd-client.so', 'media.sf.omx-plugin': 'libffmpeg_omx.so', 'ro.wifi.channels': '', 'ro.hwui.r_buffer_cache_size': '8', 'ro.modversion': 'Slim-jflte-6.0.1.alpha.0.4-UNOFFICIAL-20160712-1749', 'ro.build.characteristics': 'default', 'debug.mdpcomp.logs': '0', 'ro.slim.buildtype': 'UNOFFICIAL', 'ro.qc.sdk.izat.premium_enabled': '0', 'persist.hwc.mdpcomp.enable': 'true', 'ro.build.version.incremental': '0fadc80e66', 'ro.hwui.text_large_cache_height': '1024', 'ro.build.tags': 'test-keys', 'ro.sf.lcd_density': '480', 'ro.build.version.sdk': '23', 'ro.ota.version': '20160712', 'ro.product.cpu.abi2': 'armeabi', 'ro.build.user': 'angel', 'ro.hwui.path_cache_size': '32', 'slim.ota.version': '6.0.1.alpha.0.4', 'persist.rild.nitz_short_ons_0': '', 'persist.rild.nitz_short_ons_1': '', 'persist.rild.nitz_short_ons_2': '', 'persist.rild.nitz_short_ons_3': '', 'ro.hwui.texture_cache_flushrate': '0.4', 'ro.hwui.texture_cache_size': '72', 'persist.sys.dalvik.vm.lib.2': 'libart', 'ro.slim.device': 'jflte', 'ro.com.android.wifi-watchlist': 'GoogleGuest', 'dalvik.vm.heapgrowthlimit': '192m', 'persist.omh.enabled': '1'}
cache_size = (int) 2147483648
default_system_dev_certificate = (str) build/target/product/security/testkey
device_type = (str) MMC
extfs_sparse_flag = (str) -s
fs_type = (str) ext4
fstab = (dict) {'/firmware-mdm': <common.Partition object at 0x7f114ec1f150>, '/cache': <common.Partition object at 0x7f114ec1f3d0>, '/boot': <common.Partition object at 0x7f114ec1f050>, '/system': <common.Partition object at 0x7f114ec1f0d0>, '/efs': <common.Partition object at 0x7f114ec1f1d0>, '/recovery': <common.Partition object at 0x7f114ec1f090>, '/firmware': <common.Partition object at 0x7f114ec1f110>, '/data': <common.Partition object at 0x7f114ec1f190>}
fstab_version = (int) 2
mkbootimg_args = (str) --ramdisk_offset 0x02000000
multistage_support = (str) 1
recovery_api_version = (int) 3
recovery_mount_options = (str) ext4=max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc
recovery_size = (int) 10485760
selinux_fc = (str) /tmp/targetfiles-R46vJb/BOOT/RAMDISK/file_contexts
system_size = (int) 2894069760
tool_extensions = (str) device/samsung/jflte/releasetools
update_rename_support = (str) 1
use_set_metadata = (str) 1
userdata_size = (int) 9961455616
(using device-specific extensions from target_files)
loaded device-specific extensions from /tmp/targetfiles-R46vJb/META/releasetools.py
using prebuilt recovery.img from BOOTABLE_IMAGES...
using system.img from target-files
Total of 706560 4096-byte output blocks in 22 input chunks.
Generating digraph...
Finding vertex sequence...
Reversing backward edges...
0/0 dependencies (0.00%) were violated; 0 source blocks stashed.
Improving vertex order...
Revising stash size...
Total 0 blocks are packed as new blocks due to insufficient cache size.
Reticulating splines...
max stashed blocks: 0 (0 bytes), limit: 1717986918 bytes (0.00%)

using prebuilt boot.img from BOOTABLE_IMAGES...
boot size (6860800) is 65.43% of limit (10485760)
running: openssl pkcs8 -in build/target/product/security/testkey.pk8 -inform DER -nocrypt
running: java -Xmx2048m -jar /home/angel/slim6jflte/out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmp931I_b /home/angel/slim6jflte/out/target/product/jflte/slim_jflte-ota-0fadc80e66.zip
done.
_______________________________________________
/ www.slimroms.org |
/ _____________________________________________|
/ /
/ / _ _ ______
/ / | |(_) (_____ \
/ / | | _ _____ _____) )___ _____ ___
_____________________/ / | || | | __ // _ \| |/___)
| / | || | | | | | \ \ |_| | | | |___ |
|_______________________/ \_)_|_|_|_|_| |_\___/|_|_|_(___/

Package Complete: /home/angel/slim6jflte/out/target/product/jflte/Slim-jflte-6.0.1.alpha.0.4-UNOFFICIAL-20160712-1749.zip

#### make completed successfully (03:19:26 (hh:mm:ss)) ####

with a make clobber, install clean, make -j4 bacon or make -j4 otapackage, it's the same things...

When i build our AOSP rom, it's ok, build is perfect!

Anyone can help me?