[Galaxy Note 3 Android Development] temasek:
TEASER #2

build/tools/generate-notice-files.py /android/cm12/out/target/product/hlte/obj/NOTICE.txt /android/cm12/out/target/product/hlte/obj/NOTICE.html "Notices for files contained in the filesystem images in this directory:" /android/cm12/out/target/product/hlte/obj/NOTICE_FILES/src

Combining NOTICE files into HTML

Combining NOTICE files into text

Installed file list: /android/cm12/out/target/product/hlte/installed-files.txt

Target system fs image: /android/cm12/out/target/product/hlte/obj/PACKAGING/systemimage_intermediates/system.img

Running: mkuserimg.sh -s /android/cm12/out/target/product/hlte/system /android/cm12/out/target/product/hlte/obj/PACKAGING/systemimage_intermediates/system.img ext4 system 1572864000 /android/cm12/out/target/product/hlte/root/file_contexts

make_ext4fs -s -T -1 -S /android/cm12/out/target/product/hlte/root/file_contexts -l 1572864000 -a system /android/cm12/out/target/product/hlte/obj/PACKAGING/systemimage_intermediates/system.img /android/cm12/out/target/product/hlte/system

Creating filesystem with parameters:

Size: 1572864000

Block size: 4096

Blocks per group: 32768

Inodes per group: 8000

Inode size: 256

Journal blocks: 6000

Label:

Blocks: 384000

Block groups: 12

Reserved block group size: 95

Created filesystem with 1915/96000 inodes and 97270/384000 blocks

Install system fs image: /android/cm12/out/target/product/hlte/system.img

/android/cm12/out/target/product/hlte/system.img+/android/cm12/out/target/product/hlte/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p maxsize=1605795840 blocksize=135168 total=374531905 reserve=16220160

Package target files: /android/cm12/out/target/product/hlte/obj/PACKAGING/target_files_intermediates/cm_hlte-target_files-6900991d20.zip

building image from target_files RECOVERY...

building image from target_files BOOT...

putting script in etc/install-cm-recovery.sh

++++ boot ++++

building image from target_files BOOT...

++++ recovery ++++

building image from target_files RECOVERY...

++++ system ++++

creating system.img...

Running: mkuserimg.sh -s /tmp/targetfiles-lxyqKT/system /tmp/system-FwFBMO.img ext4 system 1572864000 -T 1416037157 -C /tmp/targetfiles-lxyqKT/META/filesystem_config.txt -B /tmp/system-blocklist-YosmZ7.map /tmp/targetfiles-lxyqKT/BOOT/RAMDISK/file_contexts

make_ext4fs -s -T 1416037157 -S /tmp/targetfiles-lxyqKT/BOOT/RAMDISK/file_contexts -C /tmp/targetfiles-lxyqKT/META/filesystem_config.txt -B /tmp/system-blocklist-YosmZ7.map -l 1572864000 -a system /tmp/system-FwFBMO.img /tmp/targetfiles-lxyqKT/system

loaded 1907 fs_config entries

Creating filesystem with parameters:

Size: 1572864000

Block size: 4096

Blocks per group: 32768

Inodes per group: 8000

Inode size: 256

Journal blocks: 6000

Label:

Blocks: 384000

Block groups: 12

Reserved block group size: 95

Created filesystem with 1917/96000 inodes and 97303/384000 blocks

++++ userdata ++++

creating userdata.img...

Running: mkuserimg.sh -s /tmp/tmp8T1qDw/data /tmp/tmpEDx0JM ext4 data 28651290624 -T 1416037157 /tmp/targetfiles-lxyqKT/BOOT/RAMDISK/file_contexts

make_ext4fs -s -T 1416037157 -S /tmp/targetfiles-lxyqKT/BOOT/RAMDISK/file_contexts -l 28651290624 -a data /tmp/tmpEDx0JM /tmp/tmp8T1qDw/data

Creating filesystem with parameters:

Size: 28651290624

Block size: 4096

Blocks per group: 32768

Inodes per group: 8176

Inode size: 256

Journal blocks: 32768

Label:

Blocks: 6994944

Block groups: 214

Reserved block group size: 1024

Created filesystem with 11/1749664 inodes and 153850/6994944 blocks

++++ cache ++++

done.

Package OTA: /android/cm12/out/target/product/hlte/cm_hlte-ota-6900991d20.zip

unzipping target target-files...

running: unzip -o -q /android/cm12/out/target/product/hlte/obj/PACKAGING/target_files_intermediates/cm_hlte-target_files-6900991d20.zip -d /tmp/targetfiles-sz0aeJ

--- target info ---

blocksize = (int) 131072

boot_size = (int) 11534336

build.prop = (dict) {'persist.audio.fluence.speaker': 'true', 'ro.setupwizard.enterprise_mode': '1', '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': 'hlte', 'ro.build.id': 'LRX21Q', 'ro.hwui.gradient_cache_size': '1', 'ro.build.version.sdk': '21', 'ro.product.cpu.abilist32': 'armeabi-v7a,armeabi', 'qcom.hw.aac.encoder': 'true', 'ro.qc.sdk.audio.fluencetype': 'fluence', 'ro.qualcomm.cabl': '1', 'persist.timed.enable': 'true', 'dalvik.vm.heapmaxfree': '8m', 'ro.build.fingerprint': 'samsung/cm_hlte/hlte:5.0/LRX21Q/6900991d20:userdebug/test-keys', 'ro.config.ringtone': 'Ring_Synth_04.ogg', 'ro.product.manufacturer': 'samsung', 'use.dedicated.device.for.voip': 'true', 'ro.hwui.layer_cache_size': '48', 'ro.build.description': 'cm_hlte-userdebug 5.0 LRX21Q 6900991d20 test-keys', 'dalvik.vm.heapstartsize': '16m', 'ro.product.brand': 'samsung', 'ro.product.model': 'hlte', 'persist.sys.dalvik.multithread': 'false', 'af.resampler.quality': '4', 'dalvik.vm.heapsize': '512m', 'persist.audio.fluence.voicecall': 'true', 'ro.qc.sdk.izat.service_mask': '0x0', 'dalvik.vm.heaptargetutilization': '0.75', 'ro.build.host': 'temasek', 'ro.com.android.dataroaming': 'false', 'persist.audio.fluence.voicerec': 'false', 'dalvik.vm.heapminfree': '2m', 'persist.sys.dalvik.vm.lib.2': 'libart.so', 'ro.board.platform': 'msm8974', 'ro.cmlegal.url': 'http://www.cyanogenmod.org/docs/privacy', 'ro.product.cpu.abilist64': '', 'ro.vendor.extension_library': '/vendor/lib/libqc-opt.so', 'persist.radio.lte_vrat_report': '1', 'persist.rild.nitz_long_ons_3': '', 'persist.rild.nitz_long_ons_2': '', 'persist.rild.nitz_long_ons_1': '', 'persist.rild.nitz_long_ons_0': '', 'dalvik.vm.isa.arm.features': 'div', 'rild.libargs': '-d /dev/smd0', 'ro.gps.agps_provider': '1', 'debug.sf.hw': '1', 'ro.cwm.forbid_format': '/efs,/persist,/boot,/firmware,/firmware-modem', 'ro.build.version.release': '5.0', 'ro.build.version.codename': 'REL', 'net.bt.name': 'Android', 'ro.cwm.forbid_mount': '/efs,/persist,/boot,/firmware,/firmware-modem', 'persist.data.netmgrd.qos.enable': 'true', 'ro.hwui.text_large_cache_width': '2048', 'ro.config.alarm_alert': 'Alarm_Classic.ogg', 'ro.opengles.version': '196608', 'ro.ril.telephony.mqanelements': '6', 'use.voice.path.for.pcm.voip': 'false', 'persist.rild.nitz_plmn': '', 'ro.hwui.text_small_cache_height': '1024', 'ro.build.display.id': 'cm_hlte-userdebug 5.0 LRX21Q 6900991d20 test-keys', 'ro.rommanager.developerid': 'cyanogenmod', 'ro.secwvk': '144', 'persist.gps.qc_nlp_in_use': '0', 'debug.egl.hw': '1', 'dalvik.vm.stack-trace-file': '/data/anr/traces.txt', 'persist.radio.add_power_save': '1', 'ro.carrier': 'unknown', 'ro.product.board': 'MSM8974', 'ro.secure': '0', 'ro.com.google.clientidbase': 'android-google', 'ro.build.date': 'Sat Nov 15 15:39:17 SGT 2014', 'ro.hdcp2.rx': 'tz', 'ro.build.date.utc': '1416037157', 'audio.offload.buffer.size.kb': '32', 'keyguard.no_require_sim': 'true', 'av.offload.enable': 'false', 'ro.build.version.all_codenames': 'REL', 'dalvik.vm.lockprof.threshold': '500', 'ro.adb.secure': '0', 'debug.sensors': '1', 'persist.sys.root_access': '1', 'ro.hwui.text_small_cache_width': '1024', 'ro.product.cpu.abi': 'armeabi-v7a', 'ro.cm.version': '12-20141115-UNOFFICIAL-temasek-hlte', 'ro.url.legal.android_privacy': 'http://www.google.com/intl/%s/mobile/android/basic/privacy.html', 'ro.product.name': 'cm_hlte', 'ro.hwui.drop_shadow_cache_size': '6', 'com.qc.hardware': 'true', 'ro.telephony.call_ring.multiple': '0', 'rild.libpath': '/system/lib/libsec-ril.so', 'ro.build.selinux': '1', 'ro.wifi.channels': '', 'ro.hwui.r_buffer_cache_size': '8', 'ro.modversion': '12-20141115-UNOFFICIAL-temasek-hlte', 'ro.build.characteristics': 'default', 'debug.mdpcomp.logs': '0', 'ro.build.type': 'userdebug', 'ro.qc.sdk.izat.premium_enabled': '0', 'persist.hwc.mdpcomp.enable': 'true', 'ro.build.version.incremental': '6900991d20', 'ro.hwui.text_large_cache_height': '1024', 'ro.build.tags': 'test-keys', 'ro.sf.lcd_density': '480', 'ro.com.android.dateformat': 'MM-dd-yyyy', 'ro.cm.releasetype': 'UNOFFICIAL', 'ro.product.cpu.abi2': 'armeabi', 'ro.build.user': 'root', 'ro.product.locale.language': 'en', 'ro.hwui.path_cache_size': '32', 'ro.product.device': 'hlte', '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', 'persist.sys.recovery_update': 'false', 'ro.product.locale.region': 'US', 'ro.hwui.texture_cache_size': '72', 'ro.cm.device': 'hlte', 'persist.radio.mode_pref_nv10': '1', 'audio.offload.gapless.enabled': 'false', 'ro.cm.display.version': '12-20141115-UNOFFICIAL-temasek-hlte', 'ro.com.android.wifi-watchlist': 'GoogleGuest', 'persist.radio.apm_sim_not_pwdn': '1', 'dalvik.vm.heapgrowthlimit': '192m', 'ro.telephony.ril_class': 'HlteRIL', 'persist.sys.dun.override': '0', 'ro.config.notification_sound': 'pixiedust.ogg'}

default_system_dev_certificate = (str) build/target/product/security/testkey

extfs_sparse_flag = (str) -s

extra_recovery_keys = (str) build/target/product/security/cm build/target/product/security/cm-devkey build/target/product/security/bacon

fs_type = (str) ext4

fstab = (dict) {'/cache': <common.Partition object at 0x2ad01eb70e90>, '/boot': <common.Partition object at 0x2ad01eb70c90>, '/system': <common.Partition object at 0x2ad01eb70d10>, '/recovery': <common.Partition object at 0x2ad01eb70cd0>, '/firmware': <common.Partition object at 0x2ad01eb70d90>, '/firmware-modem': <common.Partition object at 0x2ad01eb70ed0>, '/data': <common.Partition object at 0x2ad01eb70d50>}

fstab_version = (int) 2

mkbootimg_args = (str) --ramdisk_offset 0x02900000 --tags_offset 0x02700000

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) 13631488

selinux_fc = (str) /tmp/targetfiles-sz0aeJ/BOOT/RAMDISK/file_contexts

system_size = (int) 1572864000

tool_extensions = (str) device/samsung/hlte/../common

update_rename_support = (str) 1

use_set_metadata = (str) 1

userdata_size = (int) 28651290624

unable to load device-specific module; assuming none

using prebuilt recovery.img from IMAGES...

using system.img from target-files

Total of 384000 4096-byte output blocks in 1501 input chunks.

Generating digraph...

Finding vertex sequence...

Removing backward edges...

0/0 dependencies (0.00%) were violated; 0 source blocks removed.

Reticulating splines...

using prebuilt boot.img from IMAGES...

boot size (8253440) is 71.56% of limit (11534336)

running: openssl pkcs8 -in build/target/product/security/testkey.pk8 -inform DER -nocrypt

running: java -Xmx2048m -jar /android/cm12/out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmpwqBkG3 /android/cm12/out/target/product/hlte/cm_hlte-ota-6900991d20.zip

done.

Package Complete: /android/cm12/out/target/product/hlte/cm-12-20141115-UNOFFICIAL-temasek-hlte.zip

OMG......

The contents inside the zip is totally different from past cm.

System (Folder)

--> Bin (Folder)

META-INF (Folder)

system.patch.data

system.new.data <----- 374.1 MB

file_contexts

boot.img

Even the updater-script in the zip is different. See below

assert(getprop("ro.product.device") == "hltexx" || getprop("ro.build.product") == "hltexx" || getprop("ro.product.device") == "SM-N9005" || getprop("ro.build.product") == "SM-N9005" || getprop("ro.product.device") == "hlte" || getprop("ro.build.product") == "hlte" || abort("This package is for device: hltexx,SM-N9005,hlte; this device is " + getprop("ro.product.device") + "."););

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");

package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");

package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");

set_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);

set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);

run_program("/tmp/backuptool.sh", "backup");

unmount("/system");

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data", "");

package_extract_file("system/bin/otasigcheck.sh", "/tmp/otasigcheck.sh");

package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");

set_metadata("/tmp/otasigcheck.sh", "uid", 0, "gid", 0, "mode", 0755);

run_program("/tmp/otasigcheck.sh");

sha1_check(read_file("/tmp/releasekey"),"7241e92725436afc79389d4fc2333a2aa8c20230") && abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");

unmount("/data");

show_progress(0.750000, 0);

block_image_update("/dev/block/platform/msm_sdcc.1/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat");

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");

delete("/system/bin/otasigcheck.sh");

unmount("/system");

show_progress(0.020000, 10);

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");

package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");

package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");

set_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);

set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);

run_program("/tmp/backuptool.sh", "restore");

delete("/system/bin/backuptool.sh");

delete("/system/bin/backuptool.functions");

unmount("/system");

show_progress(0.050000, 5);

package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");

show_progress(0.200000, 10);