FORUMS
Remove All Ads from XDA

COMPILE From Source For Any Phone On Linux Distros [BUILD ENVIRONMENT TO COMPILE]

1,275 posts
Thanks Meter: 1,836
 
Post Reply Email Thread
24th January 2014, 07:56 PM |#1011  
Zeljko1234's Avatar
Senior Member
Flag San Jose
Thanks Meter: 2,766
 
Donate to Me
More
Quote:
Originally Posted by coloxim

But How can I know the packages Name?

Inviato dal mio Nexus 4 utilizzando Tapatalk

For start, install listed packages in the first post, try to compile and if you get error, you may get the reason. If you successfully manage to build, make guide on xda

Or, just use another proved distribution.
 
 
24th January 2014, 07:58 PM |#1012  
Senior Member
Flag Pavia
Thanks Meter: 54
 
More
OK...I'll try ....

Inviato dal mio Nexus 4 utilizzando Tapatalk
The Following User Says Thank You to coloxim For This Useful Post: [ View ] Gift coloxim Ad-Free
27th January 2014, 08:29 PM |#1013  
hhp_211's Avatar
Recognized Contributor
Thanks Meter: 934
 
More
wondering if anyone could offer up some guidance to what this error might be
Trying to build Omni rom for Samsung Fascinate


including ./Android.mk ...
/home/hhp_211/android/omni/out/target/product/fascinatemtd/obj/APPS/SignatureTest_intermediates
build/core/Makefile:70: warning: overriding commands for target `/home/hhp_211/android/omni/out/target/product/fascinatemtd/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:70: warning: ignoring old commands for target `/home/hhp_211/android/omni/out/target/product/fascinatemtd/system/etc/permissions/android.software.live_wallpaper.xml'
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml ignored.
PRODUCT_COPY_FILES hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf ignored.
PRODUCT_COPY_FILES vendor/omni/prebuilt/etc/apns-conf-cdma.xml:system/etc/apns-conf.xml ignored.
No private recovery resources for TARGET_DEVICE fascinatemtd
device/samsung/fascinatemtd/shbootimg.mk:8: warning: overriding commands for target `/home/hhp_211/android/omni/out/target/product/fascinatemtd/boot.img'
build/core/Makefile:476: warning: ignoring old commands for target `/home/hhp_211/android/omni/out/target/product/fascinatemtd/boot.img'
make: *** No rule to make target `/home/hhp_211/android/omni/out/target/common/obj/PACKAGING/public_api.txt', needed by `/home/hhp_211/android/omni/out/target/common/obj/PACKAGING/checkapi-last-timestamp'. Stop.
hhp_211@buildbot:~/android/omni$




.
6th February 2014, 02:58 PM |#1014  
roshan2989's Avatar
Senior Member
Flag Purgatory
Thanks Meter: 162
 
More
hi guys anyone know why i get this error when i compile rom?


HTML Code:
Export includes file: packages/apps/Bluetooth/jni/Android.mk -- /home/preshothemannair/cm11/out/target/product/galaxysmtd/obj/SHARED_LIBRARIES/libbluetooth_jni_intermediates/export_includes
make: *** No rule to make target `/home/preshothemannair/cm11/out/target/common/obj/JAVA_LIBRARIES/com.android.emailcommon_intermediates/javalib.jar', needed by `/home/preshothemannair/cm11/out/target/common/obj/APPS/Bluetooth_intermediates/classes-full-debug.jar'.  Stop.
make: *** Waiting for unfinished jobs....
logtags: /home/preshothemannair/cm11/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/src/src/java/com/android/internal/telephony/EventLogTags.java <= frameworks/opt/telephony/src/java/com/android/internal/telephony/EventLogTags.logtags
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
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.
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.
preshothemannair@Preshothemannair:~/cm11$ 


this is my second homemade cm rom..the first one is succesfully build and after that i remove some of the apps before compiling (do some research and edit local manifest) as you see below..is there any error related to the apps i remove..( i usualy remove them when i downloaded rom from cm page)

HTML Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="CyanogenMod/android_device_samsung_galaxysmtd" path="device/samsung/galaxysmtd" remote="github" />
  <project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" />
  <project name="CyanogenMod/android_device_samsung_aries-common" path="device/samsung/aries-common" remote="github" />
  <project name="CyanogenMod/android_kernel_samsung_aries" path="kernel/samsung/aries" remote="github" />
  <project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" />
  

  <remove-project name="CyanogenMod/android_packages_apps_Apollo" />
  <remove-project name="CyanogenMod/android_packages_apps_Browser" />
  <remove-project name="CyanogenMod/android_packages_apps_Calendar" />
  <remove-project name="CyanogenMod/android_packages_apps_CellBroadcastReceiver" />
  <remove-project name="CyanogenMod/android_packages_apps_CMFileManager" />
  <remove-project name="CyanogenMod/android_packages_apps_CMUpdater" />
  <remove-project name="CyanogenMod/android_packages_apps_CMWallpapers" />
  <remove-project name="CyanogenMod/android_packages_apps_DSPManager" />
  <remove-project name="CyanogenMod/android_packages_apps_Email" />
  <remove-project name="CyanogenMod/android_packages_apps_Exchange" />
  <remove-project name="CyanogenMod/android_packages_apps_LockClock" />
  <remove-project name="CyanogenMod/android_packages_apps_QuickSearchBox" />
  <remove-project name="CyanogenMod/android_packages_apps_Stk" />
  <remove-project name="CyanogenMod/android_packages_apps_VideoEditor" />
  <remove-project name="CyanogenMod/android_packages_apps_VoicePlus" />
  <remove-project name="CyanogenMod/android_packages_providers_CalendarProvider" />
  <remove-project name="CyanogenMod/android_packages_screensavers_PhotoTable" />
  <remove-project name="CyanogenMod/android_packages_screensavers_Basic" />
  <remove-project name="CyanogenMod/android_packages_wallpapers_Basic" />
  <remove-project name="CyanogenMod/android_packages_wallpapers_Galaxy4" />
  <remove-project name="CyanogenMod/android_packages_wallpapers_HoloSpiral" />
  <remove-project name="CyanogenMod/android_packages_wallpapers_LivePicker" />
  <remove-project name="CyanogenMod/android_packages_wallpapers_MagicSmoke" />
  <remove-project name="CyanogenMod/android_packages_wallpapers_MusicVisualization" />
  <remove-project name="CyanogenMod/android_packages_wallpapers_NoiseField" />
  <remove-project name="CyanogenMod/android_packages_wallpapers_PhaseBeam" />
</manifest>
8th February 2014, 06:20 PM |#1015  
VfBStuttgart27's Avatar
Senior Member
Flag Munich
Thanks Meter: 95
 
More
Question Can you help me?
Hi, I'm trying to build my first ROM (using this tutorial), but I've got a problem with the "repo init"-Command.
It always tells me:
Code:
smon@smon-VirtualBox:~$ repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2
Get https://gerrit.googlesource.com/git-repo
error: couldn't connect to host while accessing https://gerrit.googlesource.com/git-repo/info/refs
fatal: HTTP request failed
I'm using VirtualBox on Win7 with Ubuntu 12.04 LTS.
8th February 2014, 06:35 PM |#1016  
Zeljko1234's Avatar
Senior Member
Flag San Jose
Thanks Meter: 2,766
 
Donate to Me
More
Are you sure that you VB machine has Internet access? Try browsing. You may change from NAT to bridged network.

Sent from my DROID RAZR Maxx HD using Tapatalk[COLOR="Silver"]
The Following User Says Thank You to Zeljko1234 For This Useful Post: [ View ] Gift Zeljko1234 Ad-Free
8th February 2014, 07:17 PM |#1017  
VfBStuttgart27's Avatar
Senior Member
Flag Munich
Thanks Meter: 95
 
More
Quote:
Originally Posted by Zeljko1234

Are you sure that you VB machine has Internet access? Try browsing. You may change from NAT to bridged network.

Sent from my DROID RAZR Maxx HD using Tapatalk[COLOR="Silver"]

Browsing is working generally, If I try to acess https://gerrit.googlesource.com/git-repo/info/refs it says Error: 406 (but that's the same in Windows).

Should I change it although?


Edit: Now I've tried, but the message is the same
8th February 2014, 11:30 PM |#1018  
Zeljko1234's Avatar
Senior Member
Flag San Jose
Thanks Meter: 2,766
 
Donate to Me
More
Are you in right folder like ~/android/system/?

I suppose that you've done all earlier steps (download repo, make it executable...)
9th February 2014, 12:17 PM |#1019  
VfBStuttgart27's Avatar
Senior Member
Flag Munich
Thanks Meter: 95
 
More
Quote:
Originally Posted by Zeljko1234

Are you in right folder like ~/android/system/?

I suppose that you've done all earlier steps (download repo, make it executable...)

Yeah, I've done all previous steps exactly as given.
What do you mean with "~/android/system"? The repo script is in a folder called "bin" and I'm trying to put the source into a folder called "source".
9th February 2014, 02:42 PM |#1020  
Zeljko1234's Avatar
Senior Member
Flag San Jose
Thanks Meter: 2,766
 
Donate to Me
More
You must be in folder where you wish to init repo. Something like:

Code:
zeljko@zeljko-ubuntu:~/android/system$ $ repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
9th February 2014, 02:57 PM |#1021  
Quote:
Originally Posted by VfBStuttgart27

Browsing is working generally, If I try to acess https://gerrit.googlesource.com/git-repo/info/refs it says Error: 406 (but that's the same in Windows).

Should I change it although?


Edit: Now I've tried, but the message is the same

Hi

You probably need to download repo manually.. Google moved it not so long back which probably explains your error. Try

Code:
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
sudo chmod +x ~/bin/repo
Then do brunch!

Hope that helps

For reference : http://source.android.com/source/downloading.html
The Following User Says Thank You to trevd For This Useful Post: [ View ] Gift trevd Ad-Free
Post Reply Subscribe to Thread

Tags
*abhi boomed here*, compile android from source, easy, ubuntu 12.10

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes