5,605,904 Members 47,211 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] How to build your fav. KK ROM (CM-AOKP-Carbon-Slim) for your N5 from source

Tip us?
 
PippoX3
Old
#31  
PippoX3's Avatar
Senior Member - OP
Thanks Meter 1305
Posts: 822
Join Date: Aug 2010
Location: TN - Italy

 
DONATE TO ME
Quote:
Originally Posted by Slomies View Post
Thank you! That worked... However, I have another error, but it should be my last.

 
Package target files: /home/android/beanstalk/out/target/product/jflte/obj/PACKAGING/target_files_intermediates/cm_jflte-target_files-8cdb549873.zip
Package OTA: /home/android/beanstalk/out/target/product/jflte/cm_jflte-ota-8cdb549873.zip
MKBOOTIMG= \
./build/tools/releasetools/ota_from_target_files -v \
-p /home/android/beanstalk/out/host/linux-x86 \
-k build/target/product/security/testkey \
--backup=true \
--override_device=jflte,jfltexx,i9505,GT-I9505,jgedlte,i9505g,GT-I9505G,jfltevzw,jfltespr,jfltetmo,jfltecri,jflteat t,jfltecan,jflteusc,jfltezm --override_prop=true \
/home/android/beanstalk/out/target/product/jflte/obj/PACKAGING/target_files_intermediates/cm_jflte-target_files-8cdb549873.zip /home/android/beanstalk/out/target/product/jflte/cm_jflte-ota-8cdb549873.zip
unzipping target target-files...
running: unzip -o -q /home/android/beanstalk/out/target/product/jflte/obj/PACKAGING/target_files_intermediates/cm_jflte-target_files-8cdb549873.zip -d /tmp/targetfiles-C7yNqM
--- target info ---
blocksize = (int) 131072
boot_size = (int) 10485760
build.prop = (dict) {'persist.audio.speaker.location': 'high', 'persist.radio.use_se_table_only': '1', 'ro.url.legal': 'http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html', 'ro.build.product': 'jflte', 'ro.build.id': 'KVT49L', 'ro.hwui.gradient_cache_size': '1', 'ro.build.version.sdk': '19', 'ro.telephony.ril.v3': 'newDriverCall', 'ro.qc.sdk.audio.fluencetype': 'fluence', 'ro.config.ehrpd': 'true', 'ro.setupwizard.enterprise_mode': '1', 'persist.timed.enable': 'true', 'dalvik.vm.heapmaxfree': '8m', 'ro.product.manufacturer': 'samsung', 'persist.radio.no_wait_for_card': '0', 'ro.hwui.layer_cache_size': '48', 'ro.telephony.ril_class': 'SamsungQualcommRIL', 'dalvik.vm.heapstartsize': '16m', 'ro.product.brand': 'samsung', 'wifi.interface': 'wlan0', 'ro.goo.developerid': 'beanstalk', 'ro.cdma.subscribe_on_ruim_ready': 'true', 'dalvik.vm.dexopt-data-only': '0', 'persist.fuse_sdcard': 'true', 'dalvik.vm.heapsize': '512m', 'persist.audio.handset.mic': 'digital', 'persist.audio.fluence.mode': 'endfire', 'dalvik.vm.heaptargetutilization': '0.75', 'ro.build.host': 'buiduntu-vm', 'persist.radio.snapshot_disabled': '1', 'ro.com.android.dataroaming': 'false', 'ro.chipname': 'apq8064', 'dalvik.vm.heapminfree': '2m', 'persist.audio.vr.enable': 'false', 'persist.data_netmgrd_nint': '16', 'ro.ril.hsxpa': '1', 'ro.board.platform': 'msm8960', 'ro.cwm.repeatable_keys': '114,115', 'ro.vendor.extension_library': '/system/lib/libqc-opt.so', 'ro.ril.disable.power.collapse': '0', 'persist.rild.nitz_long_ons_3': '', 'persist.rild.nitz_long_ons_2': '', 'persist.rild.nitz_long_ons_1': '', 'persist.rild.nitz_long_ons_0': '', 'rild.libargs': '-d /dev/smd0', 'debug.sf.hw': '1', 'ro.build.version.release': '4.4.2', 'ro.build.version.codename': 'REL', 'pm.sleep_mode': '0', 'ro.emmc.sdcard.partition': '17', 'ro.build.type': 'userdebug', 'ro.hwui.text_large_cache_width': '2048', 'ro.config.alarm_alert': 'Alarm_Classic.ogg', 'ro.bs': 'true', 'persist.rild.nitz_short_ons_3': '', 'ro.opengles.version': '196608', 'persist.rild.nitz_plmn': '', 'ro.hwui.text_small_cache_height': '1024', 'ro.build.display.id': 'cm_jflte-userdebug 4.4.2 KVT49L 291b61b285 test-keys', 'ro.rommanager.developerid': 'cyanogenmod', 'ro.goo.version': '19', 'ro.config.ringtone': 'Orion.ogg', 'dalvik.vm.dexopt-flags': 'm=y', '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': 'MSM8960', 'persist.data.ds_fmc_app.mode': '0', 'ro.com.google.clientidbase': 'android-google', 'persist.radio.fill_eons': '1', 'ro.goo.rom': 'jflte', 'ro.build.date': 'Thu Feb 27 15:02:18 PST 2014', 'ro.use_data_netmgrd': 'true', 'ro.build.date.utc': '1393542138', 'keyguard.no_require_sim': 'true', 'ro.vold.umsdirtyratio': '20', 'mm.enable.smoothstreaming': 'true', 'dalvik.vm.lockprof.threshold': '500', 'persist.sys.dalvik.vm.lib': 'libdvm.so', 'ro.build.selinux': '1', 'persist.sys.root_access': '1', 'ro.hwui.text_small_cache_width': '1024', 'ro.product.cpu.abi': 'armeabi-v7a', 'ro.cm.version': 'BeanStalk-4.4.251-20140227-jflte', 'ro.url.legal.android_privacy': 'http://www.google.com/intl/%s/mobile/android/basic/privacy.html', 'ro.product.name': 'cm_jflte', 'ro.hwui.drop_shadow_cache_size': '6', 'com.qc.hardware': 'true', 'ro.telephony.call_ring.multiple': '0', 'net.bt.name': 'Android', 'rild.libpath': '/system/lib/libril-qc-qmi-1.so', 'ro.ril.gprsclass': '10', 'ro.wifi.channels': '', 'ro.hwui.r_buffer_cache_size': '8', 'ro.modversion': 'BeanStalk-4.4.251-20140227-jflte', 'ro.build.characteristics': 'default', 'debug.mdpcomp.logs': '0', 'dalvik.vm.heapgrowthlimit': '192m', 'ro.build.version.incremental': '291b61b285', 'ro.hwui.text_large_cache_height': '1024', 'ro.build.tags': 'test-keys', 'ro.ril.transmitpower': 'true', 'ro.sf.lcd_density': '480', 'ro.com.android.dateformat': 'MM-dd-yyyy', 'lpa.decode': 'true', 'ril.subscription.types': 'NV,RUIM', 'ro.product.cpu.abi2': 'armeabi', 'ro.build.user': 'android', 'ro.product.locale.language': 'en', 'ro.hwui.path_cache_size': '32', 'persist.rild.nitz_short_ons_0': '', 'persist.rild.nitz_short_ons_1': '', 'persist.rild.nitz_short_ons_2': '', 'ro.cwm.enable_key_repeat': 'true', 'ro.hwui.texture_cache_flushrate': '0.4', 'ro.product.locale.region': 'US', 'ro.hwui.texture_cache_size': '72', 'ro.cm.device': 'jflte', 'persist.radio.mode_pref_nv10': '1', 'ro.com.android.wifi-watchlist': 'GoogleGuest', 'persist.radio.apm_sim_not_pwdn': '1', 'persist.hwc.mdpcomp.enable': 'true', 'persist.ims.regmanager.mode': '0', 'persist.sys.dun.override': '0', 'ro.config.notification_sound': 'OnTheHunt.ogg', 'persist.omh.enabled': '1', 'media.aac_51_output_enabled': 'true'}
default_system_dev_certificate = (str) build/target/product/security/testkey
extfs_sparse_flag = (str) -s
extra_recovery_keys = (str) build/target/product/security/cm
fs_type = (str) ext4
fstab = (dict) {'/firmware-mdm': <common.Partition object at 0xd67390>, '/cache': <common.Partition object at 0xd672d0>, '/boot': <common.Partition object at 0xd67250>, '/system': <common.Partition object at 0xd67310>, '/efs': <common.Partition object at 0xd674d0>, '/recovery': <common.Partition object at 0xd67290>, '/firmware': <common.Partition object at 0xd67350>, '/data': <common.Partition object at 0xd67510>}
fstab_version = (int) 2
mkbootimg_args = (str) --ramdisk_offset 0x02000000
recovery_api_version = (int) 2
recovery_size = (int) 10485760
selinux_fc = (str) /tmp/targetfiles-C7yNqM/BOOT/RAMDISK/file_contexts
system_size = (int) 1572864000
tool_extensions = (str) device/samsung/jflte/releasetools
update_rename_support = (str) 1
use_set_metadata = (str) 1
userdata_size = (int) 28651290624
using device-specific extensions in device/samsung/jflte/releasetools

ERROR: couldn't find <type 'property'> in build.prop

make: *** [/home/android/beanstalk/out/target/product/jflte/cm_jflte-ota-8cdb549873.zip] Error 1


How do I get past Error 1 and is there a faster way to compile or do I have to go through the whole brunch process again?
Argh! Put your report inside a pair of "HIDE" tags... I like clean stuff.
Seems you're at a step behind finish. Your OTA package should be ready. But you've an error compiling build.pro.
Try to repo sync again your sources, see as the project https://github.com/CyanogenMod/andro..._samsung_jflte
give yesterday night a commit about build.prop: https://github.com/CyanogenMod/andro...8a860225aeab4c

Carbon website:[ Carbon Rom | Carbon changelog: Carbon Nightly Changelog
Carbon Google+ community: Team Carbon | +1 us on Google+ Carbon on Google+
Carbon on Facebook | Download the rom: Carbon Downloads




My Guides to build an Android ROM from scratch (For HOX+ and Nexus5)

«Full wipe, reflash everything, install nothing, is it still broken?" If no, it's not my problem or fault... »
«Lighten the thread and increase my rank, press Thanks! please»
 
Slomies
Old
(Last edited by Slomies; 28th February 2014 at 07:24 PM.)
#32  
Slomies's Avatar
Member
Thanks Meter 54
Posts: 82
Join Date: Jan 2011
Quote:
Originally Posted by PippoX3 View Post
Argh! Put your report inside a pair of "HIDE" tags... I like clean stuff.
Seems you're at a step behind finish. Your OTA package should be ready. But you've an error compiling build.pro.
Try to repo sync again your sources, see as the project https://github.com/CyanogenMod/andro..._samsung_jflte
give yesterday night a commit about build.prop: https://github.com/CyanogenMod/andro...8a860225aeab4c

Sorry about the mess. I went and edited the post and put HIDE tags. I like clean stuff too, but got frustrated trying to figure out how to make it a scrolling window like other users

I'm compiling again now after syncing and I'll report back in a few hours to let you know how it went Thanks again for all your help so far!

EDIT: recompiling didn't work. However there was a fix posted in the Beanstalk developer thread...

Quote:
Originally Posted by kenzolo View Post
to fix
"ERROR: couldn't find <type 'property'> in build.prop"
just copy my file
http://www.adrive.com/public/fjh3xB/...m_target_files
into /build/tools/releasetools directory

enjoy
 
Slomies
Old
#33  
Slomies's Avatar
Member
Thanks Meter 54
Posts: 82
Join Date: Jan 2011
I might be getting a little ahead of myself by asking this, but if I wanted to build for another device (like grouper/Nexus 7 WiFi), what is the easiest way to do it? Do I just make another folder like Beanstalk-N7 and go through the whole process or can I make another file in local_manifest like grouper.xml and put the device specific files in there and then somehow tell the build to reference that file...
 
Cuzz1369
Old
#34  
Cuzz1369's Avatar
Senior Member
Thanks Meter 1279
Posts: 2,247
Join Date: Jan 2013
Location: Kitchener

 
DONATE TO ME
Quote:
Originally Posted by Slomies View Post
I might be getting a little ahead of myself by asking this, but if I wanted to build for another device (like grouper/Nexus 7 WiFi), what is the easiest way to do it? Do I just make another folder like Beanstalk-N7 and go through the whole process or can I make another file in local_manifest like grouper.xml and put the device specific files in there and then somehow tell the build to reference that file...
You just have to "brunch grouper". It will output it to a different folder.

Sent from my hammerhead

---------- Post added at 08:02 PM ---------- Previous post was at 07:40 PM ----------

 
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: packages/apps/Trebuchet/src/com/android/gallery3d/glrenderer/BasicTexture.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
target Java: Bluetooth (/home/cuzz1369/ck44/out/target/common/obj/APPS/Bluetooth_intermediates/classes)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
10 errors
build/core/java.mk:330: recipe for target '/home/cuzz1369/ck44/out/target/common/obj/APPS/Settings_intermediates/classes-full-debug.jar' failed
make: *** [/home/cuzz1369/ck44/out/target/common/obj/APPS/Settings_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.


Any Ideas on what went wrong
nexus 5 - 32gb
nexus 7(2013) - 16gb
Samsung chromebook (running ubuntu 12.04)
The Following 2 Users Say Thank You to Cuzz1369 For This Useful Post: [ Click to Expand ]
 
Slomies
Old
#35  
Slomies's Avatar
Member
Thanks Meter 54
Posts: 82
Join Date: Jan 2011
Quote:
Originally Posted by Cuzz1369 View Post
Any Ideas on what went wrong
To be honest I don't have enough knowledge with Linux or compiling ROMs to answer you exactly. However, I only know that the fix was to follow the instructions from Kenzolo...

1. to fix "ERROR: couldn't find in build.prop"
just copy my file http://www.adrive.com/public/fjh3xB/...m_target_files into /build/tools/releasetools directory
2. Then "chmod 777 .build/tools/releasetools/ota_from_target_files" or else you will get error 126 at the end of compiling.

Hopefully this helps


Sent from my SCH-I545 using Tapatalk
Device: Samsung Galaxy S4 (jflte) - Verizon but works on all jflte variants
ROM: Beanstalk 4.4.285 - http://www.androidfilehost.com/?fid=23329332407588337
Thread: Beanstalk - jflte - http://forum.xda-developers.com/show....php?t=2327018

Device: Asus Nexus 7 2012 (grouper) - Wifi
ROM: Beanstalk 4.4.278 - http://www.androidfilehost.com/?fid=23329332407585211
Thread: Beanstalk - Grouper - http://forum.xda-developers.com/show....php?t=2678131
 
PippoX3
Old
#36  
PippoX3's Avatar
Senior Member - OP
Thanks Meter 1305
Posts: 822
Join Date: Aug 2010
Location: TN - Italy

 
DONATE TO ME
Quote:
Originally Posted by Slomies View Post
I might be getting a little ahead of myself by asking this, but if I wanted to build for another device (like grouper/Nexus 7 WiFi), what is the easiest way to do it? Do I just make another folder like Beanstalk-N7 and go through the whole process or can I make another file in local_manifest like grouper.xml and put the device specific files in there and then somehow tell the build to reference that file...
Don't care about this. Into your out/target etc. folder will be create a separate folder for each device you'll build.
Into local_manifests you can put how much .xml you need or edit just one for alls.

Quote:
Originally Posted by Slomies View Post
To be honest I don't have enough knowledge with Linux or compiling ROMs to answer you exactly. However, I only know that the fix was to follow the instructions from Kenzolo...

1. to fix "ERROR: couldn't find in build.prop"
just copy my file http://www.adrive.com/public/fjh3xB/...m_target_files into /build/tools/releasetools directory
2. Then "chmod 777 .build/tools/releasetools/ota_from_target_files" or else you will get error 126 at the end of compiling.

Hopefully this helps


Sent from my SCH-I545 using Tapatalk
The missing file into build/tools/releasetools need to be fix in its permissions when you build with sudo or vice-versa (insane way) ...
Carbon website:[ Carbon Rom | Carbon changelog: Carbon Nightly Changelog
Carbon Google+ community: Team Carbon | +1 us on Google+ Carbon on Google+
Carbon on Facebook | Download the rom: Carbon Downloads




My Guides to build an Android ROM from scratch (For HOX+ and Nexus5)

«Full wipe, reflash everything, install nothing, is it still broken?" If no, it's not my problem or fault... »
«Lighten the thread and increase my rank, press Thanks! please»
 
joyandry
Old
#37  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Mar 2014
Talking Re

Join Listen
 
Slomies
Old
#38  
Slomies's Avatar
Member
Thanks Meter 54
Posts: 82
Join Date: Jan 2011
Pippox3, thanks for all your help! I appreciate it. I was actually able to compile a few builds of Beanstalk.

Sent from my SCH-I545 using Tapatalk
Device: Samsung Galaxy S4 (jflte) - Verizon but works on all jflte variants
ROM: Beanstalk 4.4.285 - http://www.androidfilehost.com/?fid=23329332407588337
Thread: Beanstalk - jflte - http://forum.xda-developers.com/show....php?t=2327018

Device: Asus Nexus 7 2012 (grouper) - Wifi
ROM: Beanstalk 4.4.278 - http://www.androidfilehost.com/?fid=23329332407585211
Thread: Beanstalk - Grouper - http://forum.xda-developers.com/show....php?t=2678131
 
Cuzz1369
Old
#39  
Cuzz1369's Avatar
Senior Member
Thanks Meter 1279
Posts: 2,247
Join Date: Jan 2013
Location: Kitchener

 
DONATE TO ME
Quick question. My system: i3-2120 CPU@3.3 GHz x4 64bit with 6Gigs of ram. I just did the whole ccache thing and it appears to be setup properly. Haven't had the chance to build with it yet. My question is would a swap partition help speed up building. 6gigs isn't that much. I'm just wondering if it will benefit the building process at all.

Sent from my hammerhead
nexus 5 - 32gb
nexus 7(2013) - 16gb
Samsung chromebook (running ubuntu 12.04)
 
nihn75
Old
#40  
Junior Member
Thanks Meter 0
Posts: 29
Join Date: Dec 2013
Default problems from the get go

1st step, i copy and past this: sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\*. and i get this: 'sudo' is not recognized as an internal or external command...

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes