Building a ROM from scratch for the YP-GS1 - Samsung Galaxy Player 4.0, 5.0

Ok, so I have downloaded the YP-GS1_NA_GB_Opensource.zip from the opensource Samsung website. I have then followed the instructions on the source.android.com website. So far I am at the repo sync portion. I have read ahead while waiting for the sync to finish and I am a bit confused as to what it is going to take to make a flashable ROM from the Samsung Opensource and the Android Source. I know that it is for Gingerbread, but I would like to try to get Jelly Bean working. Am I wasting my time? If not, could I get some instruction?
Thanks!

saleenman95 said:
Ok, so I have downloaded the YP-GS1_NA_GB_Opensource.zip from the opensource Samsung website. I have then followed the instructions on the source.android.com website. So far I am at the repo sync portion. I have read ahead while waiting for the sync to finish and I am a bit confused as to what it is going to take to make a flashable ROM from the Samsung Opensource and the Android Source. I know that it is for Gingerbread, but I would like to try to get Jelly Bean working. Am I wasting my time? If not, could I get some instruction?
Thanks!
Click to expand...
Click to collapse
Don't try and build jellybean yet. Get GB working first then you can work on getting CM7 for your device. Then work on CM9 and the 3.0 kernel. Then you will have the right files to build jellybean from. However if you can find an identical device (same CPU, GPU, board, partitions etc...) then you might be able to go straight to jellybean

status bar error
i have started making a rom and i have just added slide to dismiss for the status bar, but then when i go to do it the status bar closes and i get this error from alogcat:
E/AndroidRuntime( 2414): FATAL EXCEPTION: main
E/AndroidRuntime( 2414): java.lang.NoSuchMethodError: onNotificationClear
E/AndroidRuntime( 2414): at com.android.systemui.statusbar.StatusBarService$7.run(StatusBarService.java:726)
E/AndroidRuntime( 2414): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 2414): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 2414): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 2414): at android.app.ActivityThread.main(ActivityThread.java:3687)
E/AndroidRuntime( 2414): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2414): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 2414): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
E/AndroidRuntime( 2414): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
E/AndroidRuntime( 2414): at dalvik.system.NativeStart.main(Native Method)
E/ ( 671): Dumpstate > /data/log/dumpstate_app_error
E/DropBoxManagerService( 671): Can't write: system_app_crash
E/DropBoxManagerService( 671): java.io.IOException: Can't list files: /data/system/dropbox
E/DropBoxManagerService( 671): at com.android.server.DropBoxManagerService.init(DropBoxManagerService.java:552)
E/DropBoxManagerService( 671): at com.android.server.DropBoxManagerService.add(DropBoxManagerService.java:162)
E/DropBoxManagerService( 671): at android.os.DropBoxManager.addText(DropBoxManager.java:243)
E/DropBoxManagerService( 671): at com.android.server.am.ActivityManagerService$11.run(ActivityManagerService.java:6876)
it seems as it doesnt know how to handle it. anyone know how i can fix this?
the file that is attached is the dumpstate error.

I have a problem, when I try to build the platform I get the following output:
Code:
[email protected]:~/WORKING_DIRECTORY$ sudo ./build.sh eng
./build.sh: line 43: cd: /home/austin/WORKING_DIRECTORY/Android: No such file or directory
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.1
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv5te
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=ITL41D
============================================
build/core/base_rules.mk:78: *** Module name: elftree
build/core/base_rules.mk:79: *** Makefile location: development/tools/elftree
build/core/base_rules.mk:80: *
build/core/base_rules.mk:81: * Each module must use a LOCAL_MODULE_TAGS in its
build/core/base_rules.mk:82: * Android.mk. Possible tags declared by a module:
build/core/base_rules.mk:83: *
build/core/base_rules.mk:84: * optional, debug, eng, tests, samples
build/core/base_rules.mk:85: *
build/core/base_rules.mk:86: * If the module is expected to be in all builds
build/core/base_rules.mk:87: * of a product, then it should use the
build/core/base_rules.mk:88: * "optional" tag:
build/core/base_rules.mk:89: *
build/core/base_rules.mk:90: * Add "LOCAL_MODULE_TAGS := optional" in the
build/core/base_rules.mk:91: * Android.mk for the affected module, and add
build/core/base_rules.mk:92: * the LOCAL_MODULE value for that component
build/core/base_rules.mk:93: * into the PRODUCT_PACKAGES section of product
build/core/base_rules.mk:94: * makefile(s) where it's necessary, if
build/core/base_rules.mk:95: * appropriate.
build/core/base_rules.mk:96: *
build/core/base_rules.mk:97: * If the component should be in EVERY build of ALL
build/core/base_rules.mk:98: * products, then add its LOCAL_MODULE value to the
build/core/base_rules.mk:99: * PRODUCT_PACKAGES section of
build/core/base_rules.mk:100: * build/target/product/core.mk
build/core/base_rules.mk:101: *
build/core/base_rules.mk:102: *** user tag detected on new module - user tags are only supported on legacy modules. Stop.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.1
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv5te
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=ITL41D
============================================
*** Build configuration changed: "full-eng-{en_US,cs_CZ,da_DK,de_AT,de_CH,de_DE,de_LI,el_GR,en_AU,en_CA,en_GB,en_NZ,en_SG,en_US,es_ES,fr_CA,fr_CH,fr_BE,fr_FR,it_CH,it_IT,ja_JP,ko_KR,nb_NO,nl_BE,nl_NL,pl_PL,pt_PT,ru_RU,sv_SE,tr_TR,zh_CN,zh_HK,zh_TW,en_US,fr_FR,it_IT,es_ES,de_DE,nl_NL,cs_CZ,pl_PL,ja_JP,zh_TW,zh_CN,ru_RU,ko_KR,nb_NO,es_US,da_DK,el_GR,tr_TR,pt_PT,pt_BR,rm_CH,sv_SE,bg_BG,ca_ES,en_GB,fi_FI,hi_IN,hr_HR,hu_HU,in_ID,iw_IL,lt_LT,lv_LV,ro_RO,sk_SK,sl_SI,sr_RS,uk_UA,vi_VN,tl_PH,ar_EG,fa_IR,th_TH,sw_TZ,ms_MY,af_ZA,zu_ZA,mdpi,nodpi}" -> "generic-eng-{mdpi,nodpi}"
*** Forcing "make installclean"...
*** rm -rf out/target/product/generic/data/* out/target/product/generic/data-qemu/* out/target/product/generic/userdata-qemu.img out/host/linux-x86/obj/NOTICE_FILES out/host/linux-x86/sdk out/target/product/generic/*.img out/target/product/generic/*.txt out/target/product/generic/*.xlb out/target/product/generic/*.zip out/target/product/generic/data out/target/product/generic/obj/APPS out/target/product/generic/obj/NOTICE_FILES out/target/product/generic/obj/PACKAGING out/target/product/generic/recovery out/target/product/generic/root out/target/product/generic/system out/target/product/generic/dex_bootjars out/target/product/generic/obj/JAVA_LIBRARIES out/target/product/generic/obj/FAKE
*** Done with the cleaning, now starting the real build.
build/core/base_rules.mk:78: *** Module name: elftree
build/core/base_rules.mk:79: *** Makefile location: development/tools/elftree
build/core/base_rules.mk:80: *
build/core/base_rules.mk:81: * Each module must use a LOCAL_MODULE_TAGS in its
build/core/base_rules.mk:82: * Android.mk. Possible tags declared by a module:
build/core/base_rules.mk:83: *
build/core/base_rules.mk:84: * optional, debug, eng, tests, samples
build/core/base_rules.mk:85: *
build/core/base_rules.mk:86: * If the module is expected to be in all builds
build/core/base_rules.mk:87: * of a product, then it should use the
build/core/base_rules.mk:88: * "optional" tag:
build/core/base_rules.mk:89: *
build/core/base_rules.mk:90: * Add "LOCAL_MODULE_TAGS := optional" in the
build/core/base_rules.mk:91: * Android.mk for the affected module, and add
build/core/base_rules.mk:92: * the LOCAL_MODULE value for that component
build/core/base_rules.mk:93: * into the PRODUCT_PACKAGES section of product
build/core/base_rules.mk:94: * makefile(s) where it's necessary, if
build/core/base_rules.mk:95: * appropriate.
build/core/base_rules.mk:96: *
build/core/base_rules.mk:97: * If the component should be in EVERY build of ALL
build/core/base_rules.mk:98: * products, then add its LOCAL_MODULE value to the
build/core/base_rules.mk:99: * PRODUCT_PACKAGES section of
build/core/base_rules.mk:100: * build/target/product/core.mk
build/core/base_rules.mk:101: *
build/core/base_rules.mk:102: *** user tag detected on new module - user tags are only supported on legacy modules. Stop.

Related

compile cm9 - mac osx

Hello everybody, I'm trying to compile a version of CM9 but is giving this error.
I'm using mac osx
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=cm_p500
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=darwin
HOST_BUILD_TYPE=release
BUILD_ID=IMM76D
============================================
build/core/base_rules.mk:78: *** Module name: clearsilver
build/core/base_rules.mk:79: *** Makefile location: external/clearsilver/java-jni
build/core/base_rules.mk:80: *
build/core/base_rules.mk:81: * Each module must use a LOCAL_MODULE_TAGS in its
build/core/base_rules.mk:82: * Android.mk. Possible tags declared by a module:
build/core/base_rules.mk:83: *
build/core/base_rules.mk:84: * optional, debug, eng, tests, samples
build/core/base_rules.mk:85: *
build/core/base_rules.mk:86: * If the module is expected to be in all builds
build/core/base_rules.mk:87: * of a product, then it should use the
build/core/base_rules.mk:88: * "optional" tag:
build/core/base_rules.mk:89: *
build/core/base_rules.mk:90: * Add "LOCAL_MODULE_TAGS := optional" in the
build/core/base_rules.mk:91: * Android.mk for the affected module, and add
build/core/base_rules.mk:92: * the LOCAL_MODULE value for that component
build/core/base_rules.mk:93: * into the PRODUCT_PACKAGES section of product
build/core/base_rules.mk:94: * makefile(s) where it's necessary, if
build/core/base_rules.mk:95: * appropriate.
build/core/base_rules.mk:96: *
build/core/base_rules.mk:97: * If the component should be in EVERY build of ALL
build/core/base_rules.mk:98: * products, then add its LOCAL_MODULE value to the
build/core/base_rules.mk:99: * PRODUCT_PACKAGES section of
build/core/base_rules.mk:100: * build/target/product/core.mk
build/core/base_rules.mk:101: *
build/core/base_rules.mk:102: *** user tag detected on new module - user tags are only supported on legacy modules. Stop.
MacBook-de-michel-melo:system michelmelo$
Click to expand...
Click to collapse

Problems deodexing L710VPALEN

I was trying to do a basic root/deodex flashable zip based on the latest Sprint L710VPALEN.tar to post for everyone but when I attempt to deodex any apk with dsixda's Android Kitchen I get errors.
Never had a problem with this before. Any ideas?
Code:
smali/baksmali version: 1.3.2
Folder: app
-------------------
* Warning: AccuweatherDaemon.odex (trying brute-force method)
* ERROR: Aborting AccuweatherDaemon.odex!
* Warning: AccuweatherWidget.odex (trying brute-force method)
* ERROR: Aborting AccuweatherWidget.odex!
* Warning: AccuweatherWidget_Main.odex (trying brute-force method)
* ERROR: Aborting AccuweatherWidget_Main.odex!
* Warning: AllshareDMC.odex (trying brute-force method)
* ERROR: Aborting AllshareDMC.odex!
* Warning: AllshareMediaServer.odex (trying brute-force method)
* ERROR: Aborting AllshareMediaServer.odex!
* Warning: AllshareService.odex (trying brute-force method)
* ERROR: Aborting AllshareService.odex!
* Warning: AnalogClockSimple.odex (trying brute-force method)
* ERROR: Aborting AnalogClockSimple.odex!
* Warning: AnalogClockUnique.odex (trying brute-force method)
* ERROR: Aborting AnalogClockUnique.odex!
* Warning: ApplicationsProvider.odex (trying brute-force method)
* ERROR: Aborting ApplicationsProvider.odex!
* Warning: BackupRestoreConfirmation.odex (trying brute-force method)
* ERROR: Aborting BackupRestoreConfirmation.odex!
* Warning: BadgeProvider.odex (trying brute-force method)
* ERROR: Aborting BadgeProvider.odex!
* Warning: BCService.odex (trying brute-force method)
* ERROR: Aborting BCService.odex!
* Warning: BluetoothAvrcp.odex (trying brute-force method)
* ERROR: Aborting BluetoothAvrcp.odex!
* Warning: BluetoothMap.odex (trying brute-force method)
* ERROR: Aborting BluetoothMap.odex!
* Warning: BluetoothTest.odex (trying brute-force method)
* ERROR: Aborting BluetoothTest.odex!
* Warning: CertInstaller.odex (trying brute-force method)
* ERROR: Aborting CertInstaller.odex!
* Warning: ClipboardSaveService.odex (trying brute-force method)
* ERROR: Aborting ClipboardSaveService.odex!
* Warning: ClockPackage.odex (trying brute-force method)
* ERROR: Aborting ClockPackage.odex!
* Warning: ContextAwareService.odex (trying brute-force method)
* ERROR: Aborting ContextAwareService.odex!
* Warning: CSC.odex (trying brute-force method)
* ERROR: Aborting CSC.odex!
* Warning: DeepSea.odex (trying brute-force method)
* ERROR: Aborting DeepSea.odex!
* Warning: DefaultContainerService.odex (trying brute-force method)
* ERROR: Aborting DefaultContainerService.odex!
* Warning: DigitalClock.odex (trying brute-force method)
* ERROR: Aborting DigitalClock.odex!
* Warning: DirectShareManager.odex (trying brute-force method)
* ERROR: Aborting DirectShareManager.odex!
* Warning: Divx.odex (trying brute-force method)
* ERROR: Aborting Divx.odex!
* Warning: DrmProvider.odex (trying brute-force method)
* ERROR: Aborting DrmProvider.odex!
* Warning: DualClockAnalog.odex (trying brute-force method)
* ERROR: Aborting DualClockAnalog.odex!
* Warning: DualClockDigital.odex (trying brute-force method)
* ERROR: Aborting DualClockDigital.odex!
* Warning: EdmSysScopeService.odex (trying brute-force method)
* ERROR: Aborting EdmSysScopeService.odex!
* Warning: EdmVpnServices.odex (trying brute-force method)
* ERROR: Aborting EdmVpnServices.odex!
* Warning: Exchange.odex (trying brute-force method)
* ERROR: Aborting Exchange.odex!
* Warning: FWUpgrade.odex (trying brute-force method)
* ERROR: Aborting FWUpgrade.odex!
GoogleSearchWidget.odex successfully deodexed
* Warning: JobManager.odex (trying brute-force method)
* ERROR: Aborting JobManager.odex!
* Warning: KeyChain.odex (trying brute-force method)
* ERROR: Aborting KeyChain.odex!
* Warning: Kies.odex (trying brute-force method)
* ERROR: Aborting Kies.odex!
* Warning: kieswifi.odex (trying brute-force method)
* ERROR: Aborting kieswifi.odex!
* Warning: LogsProvider.odex (trying brute-force method)
* ERROR: Aborting LogsProvider.odex!
* Warning: LTESetting.odex (trying brute-force method)
* ERROR: Aborting LTESetting.odex!
* Warning: LTETest.odex (trying brute-force method)
* ERROR: Aborting LTETest.odex!
* Warning: LuminousDots.odex (trying brute-force method)
* ERROR: Aborting LuminousDots.odex!
* Warning: MIPErrService.odex (trying brute-force method)
* ERROR: Aborting MIPErrService.odex!
* Warning: MobilePrint.odex (trying brute-force method)
* ERROR: Aborting MobilePrint.odex!
* Warning: MoreServices.odex (trying brute-force method)
* ERROR: Aborting MoreServices.odex!
* Warning: MtpApplication.odex (trying brute-force method)
* ERROR: Aborting MtpApplication.odex!
* Warning: MusicFX.odex (trying brute-force method)
* ERROR: Aborting MusicFX.odex!
* Warning: MusicPlayer.odex (trying brute-force method)
* ERROR: Aborting MusicPlayer.odex!
* Warning: MyFiles.odex (trying brute-force method)
* ERROR: Aborting MyFiles.odex!
* Warning: Nfc.odex (trying brute-force method)
* ERROR: Aborting Nfc.odex!
* Warning: NfcTest.odex (trying brute-force method)
* ERROR: Aborting NfcTest.odex!
* Warning: NoiseField.odex (trying brute-force method)
* ERROR: Aborting NoiseField.odex!
* Warning: OmaDrmPopup.odex (trying brute-force method)
* ERROR: Aborting OmaDrmPopup.odex!
* Warning: PackageInstaller.odex (trying brute-force method)
* ERROR: Aborting PackageInstaller.odex!
* Warning: PanningTryActually.odex (trying brute-force method)
* ERROR: Aborting PanningTryActually.odex!
* Warning: Personalization.odex (trying brute-force method)
* ERROR: Aborting Personalization.odex!
* Warning: PhaseBeam.odex (trying brute-force method)
* ERROR: Aborting PhaseBeam.odex!
* Warning: PhoneErrService.odex (trying brute-force method)
* ERROR: Aborting PhoneErrService.odex!
* Warning: PhoneInfo.odex (trying brute-force method)
* ERROR: Aborting PhoneInfo.odex!
* Warning: PhotoWall.odex (trying brute-force method)
* ERROR: Aborting PhotoWall.odex!
* Warning: PickUpTutorial.odex (trying brute-force method)
* ERROR: Aborting PickUpTutorial.odex!
* Warning: PopupuiReceiver.odex (trying brute-force method)
* ERROR: Aborting PopupuiReceiver.odex!
* Warning: Preconfig.odex (trying brute-force method)
* ERROR: Aborting Preconfig.odex!
* Warning: PreloadInstaller.odex (trying brute-force method)
* ERROR: Aborting PreloadInstaller.odex!
* Warning: PRUI.odex (trying brute-force method)
* ERROR: Aborting PRUI.odex!
* Warning: SamsungCamera.odex (trying brute-force method)
* ERROR: Aborting SamsungCamera.odex!
* Warning: SamsungIME.odex (trying brute-force method)
* ERROR: Aborting SamsungIME.odex!
* Warning: SecBluetooth.odex (trying brute-force method)
* ERROR: Aborting SecBluetooth.odex!
* Warning: SecBrowser_SPR.odex (trying brute-force method)
* ERROR: Aborting SecBrowser_SPR.odex!
* Warning: SecCalculator2.odex (trying brute-force method)
* ERROR: Aborting SecCalculator2.odex!
* Warning: SecCalendar_NAmerica.odex (trying brute-force method)
* ERROR: Aborting SecCalendar_NAmerica.odex!
* Warning: SecCalendarProvider.odex (trying brute-force method)
* ERROR: Aborting SecCalendarProvider.odex!
* Warning: SecContacts.odex (trying brute-force method)
* ERROR: Aborting SecContacts.odex!
* Warning: SecContactsProvider.odex (trying brute-force method)
* ERROR: Aborting SecContactsProvider.odex!
* Warning: SecDownloadProvider.odex (trying brute-force method)
* ERROR: Aborting SecDownloadProvider.odex!
* Warning: SecDownloadProviderUi.odex (trying brute-force method)
* ERROR: Aborting SecDownloadProviderUi.odex!
* Warning: SecEmail.odex (trying brute-force method)
* ERROR: Aborting SecEmail.odex!
* Warning: SecFileShareClient.odex (trying brute-force method)
* ERROR: Aborting SecFileShareClient.odex!
* Warning: SecFileShareServer.odex (trying brute-force method)
* ERROR: Aborting SecFileShareServer.odex!
* Warning: SecGallery2.odex (trying brute-force method)
* ERROR: Aborting SecGallery2.odex!
* Warning: SecHTMLViewer.odex (trying brute-force method)
* ERROR: Aborting SecHTMLViewer.odex!
* Warning: SecLauncher2.odex (trying brute-force method)
* ERROR: Aborting SecLauncher2.odex!
* Warning: SecLiveWallpapersPicker.odex (trying brute-force method)
* ERROR: Aborting SecLiveWallpapersPicker.odex!
* Warning: SecMediaProvider.odex (trying brute-force method)
* ERROR: Aborting SecMediaProvider.odex!
* Warning: SecMms.odex (trying brute-force method)
* ERROR: Aborting SecMms.odex!
* Warning: SecOmaDownloadProvider.odex (trying brute-force method)
* ERROR: Aborting SecOmaDownloadProvider.odex!
* Warning: SecPhone.odex (trying brute-force method)
* ERROR: Aborting SecPhone.odex!
* Warning: SecSettings.odex (trying brute-force method)
* ERROR: Aborting SecSettings.odex!
* Warning: SecSettingsProvider.odex (trying brute-force method)
* ERROR: Aborting SecSettingsProvider.odex!
* Warning: SecTelephonyProvider.odex (trying brute-force method)
* ERROR: Aborting SecTelephonyProvider.odex!
* Warning: SecurityProvider.odex (trying brute-force method)
* ERROR: Aborting SecurityProvider.odex!
* Warning: SecWallpaperChooser.odex (trying brute-force method)
* ERROR: Aborting SecWallpaperChooser.odex!
* Warning: ShareApp.odex (trying brute-force method)
* ERROR: Aborting ShareApp.odex!
SharedStorageBackup.odex successfully deodexed
* Warning: SlateTest.odex (trying brute-force method)
* ERROR: Aborting SlateTest.odex!
* Warning: SlideShow.odex (trying brute-force method)
* ERROR: Aborting SlideShow.odex!
* Warning: SmartcardService.odex (trying brute-force method)
* ERROR: Aborting SmartcardService.odex!
* Warning: SMemo.odex (trying brute-force method)
* ERROR: Aborting SMemo.odex!
* Warning: SMemoProvider.odex (trying brute-force method)
* ERROR: Aborting SMemoProvider.odex!
* Warning: SPlannerAppWidget.odex (trying brute-force method)
* ERROR: Aborting SPlannerAppWidget.odex!
* Warning: Stk.odex (trying brute-force method)
* ERROR: Aborting Stk.odex!
* Warning: SystemUI.odex (trying brute-force method)
* ERROR: Aborting SystemUI.odex!
* Warning: Tag.odex (trying brute-force method)
* ERROR: Aborting Tag.odex!
* Warning: TopicWall.odex (trying brute-force method)
* ERROR: Aborting TopicWall.odex!
* Warning: TwDVFSApp.odex (trying brute-force method)
* ERROR: Aborting TwDVFSApp.odex!
* Warning: UltraCfg.odex (trying brute-force method)
* ERROR: Aborting UltraCfg.odex!
UserDictionaryProvider.odex successfully deodexed
* Warning: VideoPlayer.odex (trying brute-force method)
* ERROR: Aborting VideoPlayer.odex!
* Warning: VoiceRecorder.odex (trying brute-force method)
* ERROR: Aborting VoiceRecorder.odex!
VpnDialogs.odex successfully deodexed
* Warning: WAPPushManager.odex (trying brute-force method)
* ERROR: Aborting WAPPushManager.odex!
* Warning: WeatherWall.odex (trying brute-force method)
* ERROR: Aborting WeatherWall.odex!
* Warning: WfdBroker.odex (trying brute-force method)
* ERROR: Aborting WfdBroker.odex!
* Warning: WlanTest.odex (trying brute-force method)
* ERROR: Aborting WlanTest.odex!
* Warning: wssyncmlnps.odex (trying brute-force method)
* ERROR: Aborting wssyncmlnps.odex!
* Warning: YahoonewsDaemon.odex (trying brute-force method)
* ERROR: Aborting YahoonewsDaemon.odex!
* Warning: YahoonewsWidget.odex (trying brute-force method)
* ERROR: Aborting YahoonewsWidget.odex!
* Warning: YahoostockDaemon.odex (trying brute-force method)
* ERROR: Aborting YahoostockDaemon.odex!
* Warning: YahoostockWidget.odex (trying brute-force method)
* ERROR: Aborting YahoostockWidget.odex!
Is your api level set to 15?
Sent from my SPH-L710 using Tapatalk 2
fergie716 said:
Is your api level set to 15?
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Thanks, I could have sworn I checked that twice but for some reason it kept going back to 10. Changed it to 15 and it's working great. :good:
skarloey28 said:
Thanks, I could have sworn I checked that twice but for some reason it kept going back to 10. Changed it to 15 and it's working great. :good:
Click to expand...
Click to collapse
Lol np
Hey quick question, just noticed the kitchen was updated yesterday. Are you using the latest version or an older one?
Sent from my SPH-L710 using Tapatalk 2
fergie716 said:
Lol np
Hey quick question, just noticed the kitchen was updated yesterday. Are you using the latest version or an older one?
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
I started with the older version but when it wasn't working I decided to check for an update and it found one so I went ahead and updated it.

[ROM][8.1.0] LineageOS 15.1

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1.0 (Oreo), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for Lineage OS is available in the LineageOS Github repo. And if you would like to contribute to Lineage OS, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.
Instructions
First time flashing Lineage OS 15.1 your device?
Coming from a SENSE ROM?
Enable all location services: Settings > Location > (all location services) = On
Coming from another ROM?
Download the zip(s).
Install a compatible Recovery
Perform a NANDroid backup of your current ROM (Optional)
Wipe data & cache partitions of your device (required when coming from stock!).
Flash LineageOS.
Optional: Install the Google Apps addon package.
Downloads
Downloads
AFH - https://androidfilehost.com/?w=files&flid=267579&sort_by=date&sort_dir=DESC
Google Apps - http://opengapps.org/?arch=arm64&api=8.1&variant=nano
TWRP Recovery - https://dl.twrp.me/hima/twrp-3.2.3-0-hima.img.html
What is not working
Developers
How to Build
To setup the build environment, follow instructions here: https://wiki.lineageos.org/devices/himaul/build
Remember to change cm-14.1 to lineage-15.1
Create the direct and file .repo/local_manifests/roomservice.xml and add the following:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Claymore1297/android_device_htc_himawl" path="device/htc/himawl" remote="github" />
<project name="Claymore1297/android_device_htc_himaul" path="device/htc/himaul" remote="github" />
<project name="Claymore1297/android_device_htc_hima-common" path="device/htc/hima-common" remote="github" />
<project name="Claymore1297/android_kernel_htc_msm8994" path="kernel/htc/msm8994" remote="github" />
<project name="LineageOS/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />
<project name="Claymore1297/proprietary_vendor_htc" path="vendor/htc" remote="github" />
<project name="LineageOS/android_packages_apps_FlipFlap" path="packages/apps/FlipFlap" remote="github" />
</manifest>​
Things for successful builds:
Code:
cd <build LOS-root-dir>
cd frameworks/av
git fetch https://github.com/Claymore1297/android_frameworks_av lineage-15.1
git cherry-pick b0bb4377d1163233b96b1ca55b0814d778f52569
cd <build LOS-root-dir>
cd hardware/qcom/audio-caf/msm8994
git fetch https://github.com/Claymore1297/android_hardware_qcom_audio lineage-15.1-caf-8994
git cherry-pick 1e597fdbf233d361af1e6ca70ff69cb4c8d9cb73
git cherry-pick 652740eadecfc29b31e9b11810187b195afdb2cd
Finger crossed for this project. I hope everything will work soon. Thanks for all hard work
I wish you luck, as if your first release is anything to go by, this is going to be a HUGE success.
Great job for a first build.
Very smooth, stable and fast, no issues to report as yet.
I can manage without the camera.
BTW
the battery life is absolutely awesome!!!!
Great work!
Is there something we can add audio-wise? I've seen some device's kernels with the stuff for hexagon & etc
UltraM8 said:
Is there something we can add audio-wise? I've seen some device's kernels with the stuff for hexagon & etc
Click to expand...
Click to collapse
Probably at some point, though my priority is the camera ...
Speaking of that, I have made some progress by adding a few lines to the device/htc/hima-common/hima.mk file and now I get this as an error, which I think I might be able to do something about. I think the important one was: '[email protected]'
Code:
11-05 13:17:30.806 4179 4179 I [email protected]: Camera provider Service is starting.
11-05 13:17:30.807 415 415 W /system/bin/hwservicemanager: getTransportFromManifest: Cannot find entry [email protected]::ICameraProvider in either framework or device manifest, using default transport.
11-05 13:17:30.820 4179 4179 I vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib/hw/camera.msm8994.so from the current namespace instead.
11-05 13:17:30.883 4179 4179 E HAL : load: module=/vendor/lib/hw/camera.msm8994.so
11-05 13:17:30.883 4179 4179 E HAL : dlopen failed: cannot locate symbol "_ZN7android13GraphicBufferC1Ejjij" referenced by "/system/vendor/lib/libHtcVteEngine.so"...
11-05 13:17:30.883 4179 4179 E [email protected]: Could not load camera HAL module: -22 (Invalid argument)
11-05 13:17:30.883 4179 4179 E [email protected]: HIDL_FETCH_ICameraProvider: camera provider init failed!
11-05 13:17:30.884 4179 4179 E /vendor/bin/hw/[email protected]: Passthrough lookup opened [email protected] but could not find symbol HIDL_FETCH_ICameraProvider: dlsym failed: invalid handle: 0x7379c16b
11-05 13:17:30.884 4179 4179 E [email protected]: Could not get passthrough implementation for [email protected]::ICameraProvider/legacy/0.
xangma said:
Probably at some point, though my priority is the camera ...
Speaking of that, I have made some progress by adding a few lines to the device/htc/hima-common/hima.mk file and now I get this as an error, which I think I might be able to do something about. I think the important one was: '[email protected]'
Code:
11-05 13:17:30.806 4179 4179 I [email protected]: Camera provider Service is starting.
11-05 13:17:30.807 415 415 W /system/bin/hwservicemanager: getTransportFromManifest: Cannot find entry [email protected]::ICameraProvider in either framework or device manifest, using default transport.
11-05 13:17:30.820 4179 4179 I vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib/hw/camera.msm8994.so from the current namespace instead.
11-05 13:17:30.883 4179 4179 E HAL : load: module=/vendor/lib/hw/camera.msm8994.so
11-05 13:17:30.883 4179 4179 E HAL : dlopen failed: cannot locate symbol "_ZN7android13GraphicBufferC1Ejjij" referenced by "/system/vendor/lib/libHtcVteEngine.so"...
11-05 13:17:30.883 4179 4179 E [email protected]: Could not load camera HAL module: -22 (Invalid argument)
11-05 13:17:30.883 4179 4179 E [email protected]: HIDL_FETCH_ICameraProvider: camera provider init failed!
11-05 13:17:30.884 4179 4179 E /vendor/bin/hw/[email protected]: Passthrough lookup opened [email protected] but could not find symbol HIDL_FETCH_ICameraProvider: dlsym failed: invalid handle: 0x7379c16b
11-05 13:17:30.884 4179 4179 E [email protected]: Could not get passthrough implementation for [email protected]::ICameraProvider/legacy/0.
Click to expand...
Click to collapse
Nice!
I think that you should fix this line for dlopen error.(libHtcVteEngine.so is located /system/vendor/lib now.)
xangma said:
Probably at some point, though my priority is the camera ...
Speaking of that, I have made some progress by adding a few lines to the device/htc/hima-common/hima.mk file and now I get this as an error, which I think I might be able to do something about. I think the important one was: '[email protected]'
Code:
11-05 13:17:30.806 4179 4179 I [email protected]: Camera provider Service is starting.
11-05 13:17:30.807 415 415 W /system/bin/hwservicemanager: getTransportFromManifest: Cannot find entry [email protected]::ICameraProvider in either framework or device manifest, using default transport.
11-05 13:17:30.820 4179 4179 I vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib/hw/camera.msm8994.so from the current namespace instead.
11-05 13:17:30.883 4179 4179 E HAL : load: module=/vendor/lib/hw/camera.msm8994.so
11-05 13:17:30.883 4179 4179 E HAL : dlopen failed: cannot locate symbol "_ZN7android13GraphicBufferC1Ejjij" referenced by "/system/vendor/lib/libHtcVteEngine.so"...
11-05 13:17:30.883 4179 4179 E [email protected]: Could not load camera HAL module: -22 (Invalid argument)
11-05 13:17:30.883 4179 4179 E [email protected]: HIDL_FETCH_ICameraProvider: camera provider init failed!
11-05 13:17:30.884 4179 4179 E /vendor/bin/hw/[email protected]: Passthrough lookup opened [email protected] but could not find symbol HIDL_FETCH_ICameraProvider: dlsym failed: invalid handle: 0x7379c16b
11-05 13:17:30.884 4179 4179 E [email protected]: Could not get passthrough implementation for [email protected]::ICameraProvider/legacy/0.
Click to expand...
Click to collapse
So the older camera functions doesen't want to start on the new ones. Actually there were some problems when people were porting los14 too, maybe we need to contact with them.
Yeah thanks MirenK, I'll focus on that HTCvtc thing with libshims or whatever after (I'm not saying it's important or required, I'm just focusing on one error at a time). I'm just trying to get it to find the hidl definition in the device manifest at the moment. I've changed it to look like this hidl camera entry.
And thanks for the suggestions UltraM8. Keep 'em coming =] I had run out of things to try and was about to give up so all suggestions welcome!
EDIT: Ok, yeah, updating the libshims stuff to see if I can make that HAL error go away... and going back to passthrough from hwbinder because I feel that was a stupid change.
I get this when trying to compile with your roomservice:
Code:
[ 99% 1119/1120] glob vendor/qcom/open...terfaces/display/config/1.0/Android.bp
ninja: error: '/home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/export_includes', needed by '/home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/libaudiopolicyservice_intermediates/import_includes', missing and no known rule to make it
lucyr03 said:
I get this when trying to compile with your roomservice:
Code:
[ 99% 1119/1120] glob vendor/qcom/open...terfaces/display/config/1.0/Android.bp
ninja: error: '/home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/export_includes', needed by '/home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/libaudiopolicyservice_intermediates/import_includes', missing and no known rule to make it
Click to expand...
Click to collapse
Yes, this is the audio error I didn't know how I fixed. I think I removed the audio caf repo from the roomservice (my one), synced the LOS15.0 one, then made the changes from my repo in the hardware/qcom/audio-caf folder or whatever. I reset the build environment variables and compiled again and it went away? Sorry I can't help more.
EDIT: Like I rm -rf ed the whole audio-caf folder and synced the LOS one and made my changes. Sorry I'm terrible at repo/git.
xangma said:
Yes, this is the audio error I didn't know how I fixed. I think I removed the audio caf repo from the roomservice (my one), synced the LOS15.0 one, then made the changes from my repo in the hardware/qcom/audio-caf folder or whatever. I reset the build environment variables and compiled again and it went away? Sorry I can't help more.
EDIT: Like I rm -rf ed the whole audio-caf folder and synced the LOS one and made my changes. Sorry I'm terrible at repo/git.
Click to expand...
Click to collapse
I think I fixed with USE_CUSTOM_AUDIO_POLICY := 0
lucyr03 said:
I think I fixed with USE_CUSTOM_AUDIO_POLICY := 0
Click to expand...
Click to collapse
Yeah, that also works but breaks the audio =[
xangma said:
Yeah, that also works but breaks the audio =[
Click to expand...
Click to collapse
Oh, I'll try this way now to see if I encounter any errors and after I'll look at it.
Sent from my HTC One (M9) using XDA Labs
For people trying to debug camera errors, I've found the most useful ones are on the first boot jussssttt as the camera app disappears from the app tray. The ones when opening the camera are basically a continuation of the camera errors from it starting the cameraservice on boot.
Though I'm having the do a fresh build, as I'm unsure changes I made were being rebuilt =[
And this error? )
Code:
[ 0% 136/39502] target thumb C++: hwc...af/msm8994/libhwcomposer/hwc_vsync.cpp
FAILED: /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_vsync.o
/bin/bash -c "PWD=/proc/self/cwd prebuilts/misc/linux-x86/ccache/ccache prebuilts/clang/host/linux-x86/clang-3859424/bin/clang++ -I device/htc/hima-common/include -I hardware/qcom/display-caf/msm8994/libgralloc -I hardware/qcom/display-caf/msm8994/liboverlay -I hardware/qcom/display-caf/msm8994/libcopybit -I hardware/qcom/display-caf/msm8994/libqdutils -I hardware/qcom/display-caf/msm8994/libhwcomposer -I hardware/qcom/display-caf/msm8994/libhdmi -I hardware/qcom/display-caf/msm8994/libqservice -I /home/lucy/android/lineage/out/target/product/himaul/obj/KERNEL_OBJ/usr/include -I ./external/skia/include/core -I ./external/skia/include/images -I hardware/qcom/display-caf/msm8994/libhwcomposer -I /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates -I /home/lucy/android/lineage/out/target/product/himaul/gen/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates -I libnativehelper/include/nativehelper \$(cat /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/import_includes) -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -isystem frameworks/av/include -isystem /home/lucy/android/lineage/out/target/product/himaul/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libc/kernel/android/uapi -c -fno-exceptions -Wno-multichar -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -DNDEBUG -g -Wstrict-aliasing=2 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=\$PWD/= -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -nostdlibinc -msoft-float -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a7 -D__ARM_FEATURE_LPAE=1 -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference -fvisibility-inlines-hidden -std=gnu++14 -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -fno-rtti -DDEBUG_CALC_FPS -Wno-missing-field-initializers -Wconversion -Wall -Werror -Wno-sign-conversion -D__ARM_HAVE_NEON -DVENUS_COLOR_FORMAT -DMDSS_TARGET -D__STDC_FORMAT_MACROS -DQTI_BSP -DLOG_TAG=\\\"qdhwcomposer\\\" -Wno-absolute-value -Wno-float-conversion -Wno-unused-parameter -DDYNAMIC_FPS -fPIC -D_USING_LIBCXX -DANDROID_STRICT -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -MD -MF /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_vsync.d -o /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_vsync.o hardware/qcom/display-caf/msm8994/libhwcomposer/hwc_vsync.cpp"
hardware/qcom/display-caf/msm8994/libhwcomposer/hwc_vsync.cpp:119:5: error: use of undeclared identifier 'android_set_rt_ioprio'
android_set_rt_ioprio(0, 1);
^
1 error generated.
[ 0% 141/39502] target thumb C++: hwc...play-caf/msm8994/libhwcomposer/hwc.cpp
ninja: build stopped: subcommand failed.
21:58:42 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
make: Leaving directory '/home/lucy/android/lineage'
#### make failed to build some targets (01:46 (mm:ss)) ####
lucyr03 said:
And this error? )
Code:
[ 0% 136/39502] target thumb C++: hwc...af/msm8994/libhwcomposer/hwc_vsync.cpp
FAILED: /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_vsync.o
/bin/bash -c "PWD=/proc/self/cwd prebuilts/misc/linux-x86/ccache/ccache prebuilts/clang/host/linux-x86/clang-3859424/bin/clang++ -I device/htc/hima-common/include -I hardware/qcom/display-caf/msm8994/libgralloc -I hardware/qcom/display-caf/msm8994/liboverlay -I hardware/qcom/display-caf/msm8994/libcopybit -I hardware/qcom/display-caf/msm8994/libqdutils -I hardware/qcom/display-caf/msm8994/libhwcomposer -I hardware/qcom/display-caf/msm8994/libhdmi -I hardware/qcom/display-caf/msm8994/libqservice -I /home/lucy/android/lineage/out/target/product/himaul/obj/KERNEL_OBJ/usr/include -I ./external/skia/include/core -I ./external/skia/include/images -I hardware/qcom/display-caf/msm8994/libhwcomposer -I /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates -I /home/lucy/android/lineage/out/target/product/himaul/gen/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates -I libnativehelper/include/nativehelper \$(cat /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/import_includes) -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -isystem frameworks/av/include -isystem /home/lucy/android/lineage/out/target/product/himaul/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libc/kernel/android/uapi -c -fno-exceptions -Wno-multichar -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -DNDEBUG -g -Wstrict-aliasing=2 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=\$PWD/= -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -nostdlibinc -msoft-float -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a7 -D__ARM_FEATURE_LPAE=1 -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference -fvisibility-inlines-hidden -std=gnu++14 -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -fno-rtti -DDEBUG_CALC_FPS -Wno-missing-field-initializers -Wconversion -Wall -Werror -Wno-sign-conversion -D__ARM_HAVE_NEON -DVENUS_COLOR_FORMAT -DMDSS_TARGET -D__STDC_FORMAT_MACROS -DQTI_BSP -DLOG_TAG=\\\"qdhwcomposer\\\" -Wno-absolute-value -Wno-float-conversion -Wno-unused-parameter -DDYNAMIC_FPS -fPIC -D_USING_LIBCXX -DANDROID_STRICT -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -MD -MF /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_vsync.d -o /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_vsync.o hardware/qcom/display-caf/msm8994/libhwcomposer/hwc_vsync.cpp"
hardware/qcom/display-caf/msm8994/libhwcomposer/hwc_vsync.cpp:119:5: error: use of undeclared identifier 'android_set_rt_ioprio'
android_set_rt_ioprio(0, 1);
^
1 error generated.
[ 0% 141/39502] target thumb C++: hwc...play-caf/msm8994/libhwcomposer/hwc.cpp
ninja: build stopped: subcommand failed.
21:58:42 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
make: Leaving directory '/home/lucy/android/lineage'
#### make failed to build some targets (01:46 (mm:ss)) ####
Click to expand...
Click to collapse
I included this commit mentioned here. Then I had that audio error you first encountered, but that was due to my terrible repo/git skills and not this commit, as this relates to the display-caf and not audio-caf.
I'm probably going to stop work on this as @Flyhalf205 has started work on LOS15.0 =]
xangma said:
I'm probably going to stop work on this as @Flyhalf205 has started work on LOS15.0 =]
Click to expand...
Click to collapse
Good to hear, anyway you and Mirenk did a great job, thanks for it
Sent from my HTC One (M9) using XDA Labs
xangma said:
I'm probably going to stop work on this as @Flyhalf205 has started work on LOS15.0 =]
Click to expand...
Click to collapse
I've pushed a few things to the lineage gerrit. I don't want to merge them in just yet but I've made a little document here I keep updated and is what I build with. https://docs.google.com/document/d/1LpADN5_8isZLVNl2PkHmXXZkNczjUyIw1XSvGE2bf1M/edit?usp=sharing
Flyhalf205 said:
I've pushed a few things to the lineage gerrit. I don't want to merge them in just yet but I've made a little document here I keep updated and is what I build with. https://docs.google.com/document/d/1LpADN5_8isZLVNl2PkHmXXZkNczjUyIw1XSvGE2bf1M/edit?usp=sharing
Click to expand...
Click to collapse
in roomservice you have just vendor from TheMuppets?

Please help build LineageOS 15 from sources

Hello! I am trying to build LineageOS 15 from sources for Sony Xperia Z3Dual. I have several years of c/c++ programming experience but this is my first Android project. So despite reading several howtos it is possible that I made some stupid and/or funny mistakes
I cloned the LOS 15
Code:
repo init -u git://github.com/LineageOS/android.git -b lineage-15.0
and added several Sony Xperia Z3 repositories with localmanifest:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!--Devices-->
<project path="device/sony/z3"
name="x-keita/android_device_sony_z3" remote="github"
revision="lineage-15.0_r1" />
<!--Devices commons-->
<project path="device/sony/shinano-common"
name="x-keita/android_device_sony_shinano-common" remote="github"
revision="lineage-15.0_r1" />
<project path="device/sony/msm8974-common"
name="x-keita/android_device_sony_msm8974-common" remote="github"
revision="lineage-15.0_r1" />
<!--Kernels-->
<project path="kernel/sony/msm8974"
name="x-keita/android_kernel_sony_msm8974" remote="github"
revision="lineage-15.0" />
<!--Vendors-->
<project path="vendor/sony"
name="x-keita/proprietary_vendor_sony" remote="github"
revision="lineage-15.0" />
<!--Hardware-->
<project path="hardware/sony/thermanager"
name="LineageOS/android_hardware_sony_thermanager" remote="github"
revision="lineage-15.0" />
</manifest>
then
Code:
$ . build/envsetup.sh
including device/generic/car/car-arm64/vendorsetup.sh
including device/generic/car/car-armv7-a-neon/vendorsetup.sh
including device/generic/car/car-x86_64/vendorsetup.sh
including device/generic/car/car-x86/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/sony/z3/vendorsetup.sh
including vendor/lineage/vendorsetup.sh
including sdk/bash_completion/adb.bash
But Lunch menu has only one item
Code:
$ breakfast
including vendor/lineage/vendorsetup.sh
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
Which would you like? [aosp_arm-eng] ^C
Direct call results in error:
Code:
$ brunch z3
including vendor/lineage/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.0.0
LINEAGE_VERSION=15.0-20180116_000047-UNOFFICIAL-z3
TARGET_PRODUCT=lineage_z3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_PLATFORM_VERSION=OPR1
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPR3.170623.013
OUT_DIR=/home/user/Android/roms/los15/out
AUX_OS_VARIANT_LIST=
============================================
make: Entering directory '/home/user/Android/roms/los15'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.0.0
TARGET_PRODUCT=lineage_z3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPR3.170623.013
OUT_DIR=/home/user/Android/roms/los15/out
============================================
ninja: no work to do.
ninja: no work to do.
Environment variable BUILD_NUMBER was modified (a59a0e5c70 => 39348e7c4f), regenerating...
[9/1020] including ./cts/Android.mk ...
cts/apps/CtsVerifier/Android.mk:72: warning: FindEmulator: find: `cts/apps/CtsVerifier/src/com/android/cts/verifier/backup': No such file or directory
build/core/java_common.mk:88: warning: FindEmulator: cd: cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/res: No such file or directory
build/core/java_common.mk:88: warning: FindEmulator: cd: cts/hostsidetests/backup/assets: No such file or directory
cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider/Android.mk:23: warning: FindEmulator: find: `cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider/src': No such file or directory
cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider1/Android.mk:23: warning: FindEmulator: find: `cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider1/src': No such file or directory
cts/tests/tests/contactsproviderwipe/Android.mk:33: warning: FindEmulator: find: `cts/tests/tests/contactsproviderwipe/common/src': No such file or directory
cts/tests/tests/telecom3/Android.mk:37: warning: FindEmulator: find: `cts/tests/tests/telecom/src/android/telecom/cts/MockDialerActivity.java': No such file or directory
[338/1020] including ./external/toybox/Android.mk ...
awk: line 1: syntax error at or near ,
[370/1020] including ./frameworks/av/media/libaaudio/Android.mk ...
frameworks/av/media/libaaudio/examples/input_monitor/static/Android.mk: warning: input_monitor: unusual tags examples
frameworks/av/media/libaaudio/examples/write_sine/static/Android.mk: warning: write_sine: unusual tags examples
[404/1020] including ./frameworks/base/Android.mk ...
./frameworks/base/Android.mk:866: warning: FindEmulator: find: `frameworks/opt/telephony/src/java/android/provider': No such file or directory
./frameworks/base/Android.mk:875: warning: FindEmulator: find: `frameworks/opt/telephony/src/java/android/provider': No such file or directory
./frameworks/base/Android.mk:880: warning: FindEmulator: find: `frameworks/opt/telephony/src/java/android/provider': No such file or directory
./frameworks/base/Android.mk:885: warning: FindEmulator: find: `frameworks/opt/telephony/src/java/android/provider': No such file or directory
[583/1020] including ./lineage-sdk/Android.mk ...
./lineage-sdk/Android.mk:152: warning: FindEmulator: find: `lineage-sdk/dummy': No such file or directory
build/core/droiddoc.mk:132: warning: FindEmulator: find: `build/tools/droiddoc/templates-sdk': No such file or directory
[754/1020] including ./system/sepolicy/Android.mk ...
./system/sepolicy/Android.mk:95: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
[1020/1020] including ./vendor/sony/z3dual/Android.mk ...
build/core/Makefile:54: warning: Duplicate header copy: /home/user/Android/roms/los15/out/target/product/z3/obj/include/cld80211-lib/cld80211_lib.h
build/core/Makefile:54: warning: Defined in: hardware/qcom/wlan-caf/cld80211-lib/Android.mk hardware/qcom/wlan-caf/cld80211-lib/Android.mk
No private recovery resources for TARGET_DEVICE z3
platform_testing/build/tasks/tests/instrumentation_metric_test_list.mk: warning: continuous_instrumentation_metric_tests: Unknown installed file for module perf-setup.sh
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module RecyclerViewTests
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module SettingsFunctionalTests
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module LauncherFunctionalTests
platform_testing/build/tasks/tests/native_metric_test_list.mk: warning: continuous_native_metric_tests: Unknown installed file for module perf-setup.sh
test/vts/tools/build/tasks/vts_package.mk:216: warning: FindEmulator: cd: vendor/google_vts/testcases: No such file or directory
test/vts/tools/build/tasks/vts_package.mk:216: warning: FindEmulator: cd: vendor/google_vts/testcases: No such file or directory
test/vts/tools/build/tasks/vts_package.mk:216: warning: FindEmulator: cd: vendor/google_vts/testcases: No such file or directory
./test/vts/utils/python/archive/Android.mk:28: warning: overriding commands for target `default'
./test/vts/runners/host/tcp_server/Android.mk:19: warning: ignoring old commands for target `default'
./test/vts/utils/python/coverage/Android.mk:28: warning: overriding commands for target `default'
./test/vts/utils/python/archive/Android.mk:28: warning: ignoring old commands for target `default'
ninja: error: '/home/user/Android/roms/los15/out/target/product/z3/utilities/init_sony', needed by '/home/user/Android/roms/los15/out/target/product/z3/boot.img', missing and no known rule to make it
03:03:10 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
make: Leaving directory '/home/user/Android/roms/los15'
#### make failed to build some targets (02:23 (mm:ss)) ####
What could be possible reason for this? What I did in a wrong way?
can you show your "vendorsetup.sh" ?
I think it should add a combo like "add_lunch_combo omni_j7maxlte-eng"
device/sony/z3/vendorsetup.sh
Code:
add_lunch_combo lineage_z3-eng
you should highlight @xkeita on this.
He keep the sources closed.
FYI: I moved to OmniRom long time ago.
Good luck!
s0f0s said:
Hello! I am trying to build LineageOS 15 from sources for Sony Xperia Z3Dual. I have several years of c/c++ programming experience but this is my first Android project. So despite reading several howtos it is possible that I made some stupid and/or funny mistakes
I cloned the LOS 15
and added several Sony Xperia Z3 repositories with localmanifest:
then
But Lunch menu has only one item
Direct call results in error:
What could be possible reason for this? What I did in a wrong way?
Click to expand...
Click to collapse
it'll help you, check all parts
https://m.youtube.com/watch?v=iZmjOlUq_3c
nailyk said:
FYI: I moved to OmniRom long time ago.
Click to expand...
Click to collapse
I decided to change to custom ROM after sony rejected to patch blueborne vulnerability. And I want to build the ROM myself. So I chose LOS because I found out that it does have that vuln patched. But now I am stuck... Maybe it would be easier for me to try to build Omnirom, thank you for the idea
Unfortunately I could not found out if it has blueborne patched or not. According to this information https://www.reddit.com/r/LineageOS/comments/6zn0le/will_blueborne_get_patched/ full patch should contain a kernel fix and four userspace fixes. But I can not find corresponding commit (concerning L2CAP config option output buffer length) in omnirom/android_kernel_sony_msm8974. It looks like this kernel (and thus omnirom for z3) does not have the fix. Is it so?
Meanwhile I made an attempt to build omnirom from your post, but did not understand how to use the script, so I did the following:
Code:
repo init -u git://github.com/omnirom/android.git -b android-8.0
than downloaded your manifest, commented out all non-sony vendor, kernel and dev-specific projects as well as you private twrp, and synced. Finally:
Code:
$ . build/envsetup.sh
including device/sony/z2/vendorsetup.sh
including device/sony/z3c/vendorsetup.sh
including device/sony/z3/vendorsetup.sh
including vendor/omni/vendorsetup.sh
including sdk/bash_completion/adb.bash
$ brunch
including device/sony/z2/vendorsetup.sh
including device/sony/z3c/vendorsetup.sh
including device/sony/z3/vendorsetup.sh
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
2. omni_z2-eng
3. omni_z2-userdebug
4. omni_z3c-eng
5. omni_z3-eng
Which would you like? [aosp_arm-eng] 5
Looking for dependencies on: device/sony/shinano-common
Looking for dependencies on: device/sony/msm8974-common
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.0.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_PLATFORM_VERSION=OPR1
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPR5.170623.011
OUT_DIR=/home/user/Android/roms/OmniROM/8.0/out
AUX_OS_VARIANT_LIST=
============================================
make: Entering directory '/home/user/Android/roms/OmniROM/8.0'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.0.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPR5.170623.011
OUT_DIR=/home/user/Android/roms/OmniROM/8.0/out
============================================
[2/2] bootstrap /home/user/Android/rom...ut/soong/.minibootstrap/build.ninja.in
[1/1] /home/user/Android/roms/OmniROM/...M/8.0/out/soong/.bootstrap/build.ninja
removed old ninja-created file /home/user/Android/roms/OmniROM/8.0/out/soong/.glob/device/oneplus/oneplus5/usb/Android_bp.glob because it has no rule to generate it
[5/6] glob vendor/*/*/*/*/*/*/Android.bp
[6/6] /home/user/Android/roms/OmniROM/...roms/OmniROM/8.0/out/soong/build.ninja
/home/user/Android/roms/OmniROM/8.0/out/build-omni_z3.ninja is missing, regenerating...
Checking build tools versions...
[9/972] including ./cts/Android.mk ...
cts/apps/CtsVerifier/Android.mk:72: warning: FindEmulator: find: `cts/apps/CtsVerifier/src/com/android/cts/verifier/backup': No such file or directory
build/core/java_common.mk:88: warning: FindEmulator: cd: cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/res: No such file or directory
build/core/java_common.mk:88: warning: FindEmulator: cd: cts/hostsidetests/backup/assets: No such file or directory
cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider/Android.mk:23: warning: FindEmulator: find: `cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider/src': No such file or directory
cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider1/Android.mk:23: warning: FindEmulator: find: `cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider1/src': No such file or directory
cts/tests/tests/contactsproviderwipe/Android.mk:33: warning: FindEmulator: find: `cts/tests/tests/contactsproviderwipe/common/src': No such file or directory
cts/tests/tests/telecom3/Android.mk:37: warning: FindEmulator: find: `cts/tests/tests/telecom/src/android/telecom/cts/MockDialerActivity.java': No such file or directory
[110/972] including ./device/sony/msm8974-common/Android.mk ...
device-sony-common-init: init_sony for "z3", platform "shinano", with ' -DDEV_BLOCK_FOTA_NUM="16" -DDEV_BLOCK_FOTA_MAJOR="179" -DDEV_BLOCK_FOTA_MINOR="16" -DFOTA_RAMDISK_CHECK="0" -DKEYCHECK_ENABLED="1" -DKEYCHECK_NO_DOWN="1"'
[299/972] including ./external/toybox/Android.mk ...
awk: line 1: syntax error at or near ,
[317/972] including ./frameworks/av/camera/Android.mk ...
frameworks/av/camera/cameraserver/Android.mk:18: warning: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
[331/972] including ./frameworks/av/media/libaaudio/Android.mk ...
frameworks/av/media/libaaudio/examples/input_monitor/static/Android.mk: warning: input_monitor: unusual tags examples
frameworks/av/media/libaaudio/examples/write_sine/static/Android.mk: warning: write_sine: unusual tags examples
[366/972] including ./frameworks/base/Android.mk ...
./frameworks/base/Android.mk:867: warning: FindEmulator: find: `frameworks/opt/telephony/src/java/android/provider': No such file or directory
./frameworks/base/Android.mk:876: warning: FindEmulator: find: `frameworks/opt/telephony/src/java/android/provider': No such file or directory
./frameworks/base/Android.mk:881: warning: FindEmulator: find: `frameworks/opt/telephony/src/java/android/provider': No such file or directory
./frameworks/base/Android.mk:886: warning: FindEmulator: find: `frameworks/opt/telephony/src/java/android/provider': No such file or directory
[968/972] including ./vendor/qcom/opensource/dataservices/Android.mk ...
build/core/base_rules.mk:238: error: vendor/qcom/opensource/dataservices/datatop/src: MODULE.TARGET.EXECUTABLES.datatop already defined by hardware/sony/dataservices/datatop/src.
00:23:28 ckati failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
make: Leaving directory '/home/user/Android/roms/OmniROM/8.0'
#### make failed to build some targets (01:09 (mm:ss)) ####
real 1m9,528s
user 1m14,614s
sys 0m4,731s
$
Looks like I misunderstand some part(s) of the process at all...
So how should I use that patches.sh script and which folder it should be placed in?
Please excuse me for all this newbie stuff...
s0f0s said:
I decided to change to custom ROM after sony rejected to patch blueborne vulnerability. And I want to build the ROM myself. So I chose LOS because I found out that it does have that vuln patched. But now I am stuck... Maybe it would be easier for me to try to build Omnirom, thank you for the idea
Unfortunately I could not found out if it has blueborne patched or not. According to this information https://www.reddit.com/r/LineageOS/comments/6zn0le/will_blueborne_get_patched/ full patch should contain a kernel fix and four userspace fixes. But I can not find corresponding commit (concerning L2CAP config option output buffer length) in omnirom/android_kernel_sony_msm8974. It looks like this kernel (and thus omnirom for z3) does not have the fix. Is it so?
Meanwhile I made an attempt to build omnirom from your post, but did not understand how to use the script, so I did the following:
Code:
repo init -u git://github.com/omnirom/android.git -b android-8.0
than downloaded your manifest, commented out all non-sony vendor, kernel and dev-specific projects as well as you private twrp, and synced. Finally:
Code:
$ . build/envsetup.sh
including device/sony/z2/vendorsetup.sh
including device/sony/z3c/vendorsetup.sh
including device/sony/z3/vendorsetup.sh
including vendor/omni/vendorsetup.sh
including sdk/bash_completion/adb.bash
$ brunch
including device/sony/z2/vendorsetup.sh
including device/sony/z3c/vendorsetup.sh
including device/sony/z3/vendorsetup.sh
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
2. omni_z2-eng
3. omni_z2-userdebug
4. omni_z3c-eng
5. omni_z3-eng
Which would you like? [aosp_arm-eng] 5
Looking for dependencies on: device/sony/shinano-common
Looking for dependencies on: device/sony/msm8974-common
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.0.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_PLATFORM_VERSION=OPR1
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPR5.170623.011
OUT_DIR=/home/user/Android/roms/OmniROM/8.0/out
AUX_OS_VARIANT_LIST=
============================================
make: Entering directory '/home/user/Android/roms/OmniROM/8.0'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.0.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPR5.170623.011
OUT_DIR=/home/user/Android/roms/OmniROM/8.0/out
============================================
[2/2] bootstrap /home/user/Android/rom...ut/soong/.minibootstrap/build.ninja.in
[1/1] /home/user/Android/roms/OmniROM/...M/8.0/out/soong/.bootstrap/build.ninja
removed old ninja-created file /home/user/Android/roms/OmniROM/8.0/out/soong/.glob/device/oneplus/oneplus5/usb/Android_bp.glob because it has no rule to generate it
[5/6] glob vendor/*/*/*/*/*/*/Android.bp
[6/6] /home/user/Android/roms/OmniROM/...roms/OmniROM/8.0/out/soong/build.ninja
/home/user/Android/roms/OmniROM/8.0/out/build-omni_z3.ninja is missing, regenerating...
Checking build tools versions...
[9/972] including ./cts/Android.mk ...
cts/apps/CtsVerifier/Android.mk:72: warning: FindEmulator: find: `cts/apps/CtsVerifier/src/com/android/cts/verifier/backup': No such file or directory
build/core/java_common.mk:88: warning: FindEmulator: cd: cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/res: No such file or directory
build/core/java_common.mk:88: warning: FindEmulator: cd: cts/hostsidetests/backup/assets: No such file or directory
cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider/Android.mk:23: warning: FindEmulator: find: `cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider/src': No such file or directory
cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider1/Android.mk:23: warning: FindEmulator: find: `cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider1/src': No such file or directory
cts/tests/tests/contactsproviderwipe/Android.mk:33: warning: FindEmulator: find: `cts/tests/tests/contactsproviderwipe/common/src': No such file or directory
cts/tests/tests/telecom3/Android.mk:37: warning: FindEmulator: find: `cts/tests/tests/telecom/src/android/telecom/cts/MockDialerActivity.java': No such file or directory
[110/972] including ./device/sony/msm8974-common/Android.mk ...
device-sony-common-init: init_sony for "z3", platform "shinano", with ' -DDEV_BLOCK_FOTA_NUM="16" -DDEV_BLOCK_FOTA_MAJOR="179" -DDEV_BLOCK_FOTA_MINOR="16" -DFOTA_RAMDISK_CHECK="0" -DKEYCHECK_ENABLED="1" -DKEYCHECK_NO_DOWN="1"'
[299/972] including ./external/toybox/Android.mk ...
awk: line 1: syntax error at or near ,
[317/972] including ./frameworks/av/camera/Android.mk ...
frameworks/av/camera/cameraserver/Android.mk:18: warning: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
[331/972] including ./frameworks/av/media/libaaudio/Android.mk ...
frameworks/av/media/libaaudio/examples/input_monitor/static/Android.mk: warning: input_monitor: unusual tags examples
frameworks/av/media/libaaudio/examples/write_sine/static/Android.mk: warning: write_sine: unusual tags examples
[366/972] including ./frameworks/base/Android.mk ...
./frameworks/base/Android.mk:867: warning: FindEmulator: find: `frameworks/opt/telephony/src/java/android/provider': No such file or directory
./frameworks/base/Android.mk:876: warning: FindEmulator: find: `frameworks/opt/telephony/src/java/android/provider': No such file or directory
./frameworks/base/Android.mk:881: warning: FindEmulator: find: `frameworks/opt/telephony/src/java/android/provider': No such file or directory
./frameworks/base/Android.mk:886: warning: FindEmulator: find: `frameworks/opt/telephony/src/java/android/provider': No such file or directory
[968/972] including ./vendor/qcom/opensource/dataservices/Android.mk ...
build/core/base_rules.mk:238: error: vendor/qcom/opensource/dataservices/datatop/src: MODULE.TARGET.EXECUTABLES.datatop already defined by hardware/sony/dataservices/datatop/src.
00:23:28 ckati failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
make: Leaving directory '/home/user/Android/roms/OmniROM/8.0'
#### make failed to build some targets (01:09 (mm:ss)) ####
real 1m9,528s
user 1m14,614s
sys 0m4,731s
$
Looks like I misunderstand some part(s) of the process at all...
So how should I use that patches.sh script and which folder it should be placed in?
Please excuse me for all this newbie stuff...
Click to expand...
Click to collapse
No you have the right process But please use 8.1 branches instead.
Not everything is merged on 8.0 so you will have some troubles.
patches.sh script pick all pending commits on gerrit, it is for dev purposes and it is not a problem for not using it.
You have the right process:
Code:
repo init https://...../omnirom/android.git -b android-8.1
then get the manifest:
Code:
wget "https://raw.githubusercontent.com/nailyk-fr/local_manifest/android-8.1/x-roomservice.xml" -o .repo/local_manifest/x-roomservice.xml
It shouldn't require changes (maybe the private repo?)
the sync your sources
Code:
repo sync (<-- you can do this multiples times to ensure you do not have some errors)
then you could build:
Code:
source ./build/ensetup.sh && breakfast z3 && mka cookies
Now go to sleep and wait for the build end
P.S.: omnirom is provided on XDA if you do not want to build it.
nailyk said:
then you could build
Click to expand...
Click to collapse
The next attempt was unsuccessful too...
First I got
Code:
build/core/base_rules.mk:238: error: hardware/qcom/gps/core: MODULE.TARGET.SHARED_LIBRARIES.libloc_core already defined by hardware/qcom/gps/sdm845/core.
I renamed hardware/qcom/gps/core/Android.mk and got
Code:
build/core/base_rules.mk:238: error: hardware/qcom/gps/utils: MODULE.TARGET.SHARED_LIBRARIES.libgps.utils already defined by hardware/qcom/gps/sdm845/utils.
I renamed hardware/qcom/gps/utils/Android.mk
But I think there should be more elegant way to exclude them (if this is a right decision at all)
Now I have ninja error about missing twrp.fstab
Code:
$ brunch
including device/generic/uml/vendorsetup.sh
including device/google/muskie/vendorsetup.sh
including device/google/taimen/vendorsetup.sh
including device/oneplus/oneplus5t/vendorsetup.sh
including device/oneplus/oneplus5/vendorsetup.sh
including device/sony/z2/vendorsetup.sh
including device/sony/z3c/vendorsetup.sh
including device/sony/z3/vendorsetup.sh
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
2. uml-userdebug
3. aosp_walleye-userdebug
4. aosp_walleye_test-userdebug
5. aosp_taimen-userdebug
6. omni_oneplus5t-user
7. omni_oneplus5t-userdebug
8. omni_oneplus5t-eng
9. omni_oneplus5-user
10. omni_oneplus5-userdebug
11. omni_oneplus5-eng
12. omni_z2-eng
13. omni_z2-userdebug
14. omni_z3c-eng
15. omni_z3-eng
Which would you like? [aosp_arm-eng] 15
Looking for dependencies on: device/sony/shinano-common
Looking for dependencies on: device/sony/msm8974-common
WARNING: detected conflict in revisions for repository android_hardware_qcom_gps
Traceback (most recent call last):
File "vendor/omni/build/tools/roomservice.py", line 356, in <module>
fetch_dependencies(device)
File "vendor/omni/build/tools/roomservice.py", line 310, in fetch_dependencies
create_common_dependencies_manifest(dependencies)
File "vendor/omni/build/tools/roomservice.py", line 299, in create_common_dependencies_manifest
create_common_dependencies_manifest(common_deps)
File "vendor/omni/build/tools/roomservice.py", line 297, in create_common_dependencies_manifest
check_manifest_problems(common_deps)
File "vendor/omni/build/tools/roomservice.py", line 239, in check_manifest_problems
file = ES.parse('/'.join([local_manifest_dir, "roomservice.xml"]))
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
tree.parse(source, parser)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse
source = open(source, "rb")
IOError: [Errno 2] No such file or directory: '.repo/local_manifests/roomservice.xml'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_PLATFORM_VERSION=OPM1
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM3.171019.013
OUT_DIR=/home/user/Android/roms/OmniROM/8.1/out
AUX_OS_VARIANT_LIST=
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM3.171019.013
OUT_DIR=/home/user/Android/roms/OmniROM/8.1/out
============================================
[44/44] bootstrap /home/user/Android/r...ut/soong/.minibootstrap/build.ninja.in
[4/4] /home/user/Android/roms/OmniROM/...M/8.1/out/soong/.bootstrap/build.ninja
[871/872] glob vendor/*/*/*/*/*/*/Android.bp
[54/54] /home/user/Android/roms/OmniRO...roms/OmniROM/8.1/out/soong/build.ninja
/home/user/Android/roms/OmniROM/8.1/out/build-omni_z3.ninja is missing, regenerating...
[120/999] including ./device/sony/msm8974-common/Android.mk ...
device-sony-common-init: init_sony for "z3", platform "shinano", with ' -DDEV_BLOCK_FOTA_NUM="16" -DDEV_BLOCK_FOTA_MAJOR="179" -DDEV_BLOCK_FOTA_MINOR="16" -DFOTA_RAMDISK_CHECK="0" -DKEYCHECK_ENABLED="1" -DKEYCHECK_NO_DOWN="1"'
[999/999] including ./vendor/sony/shinano-common-caf/proprietary/Android.mk ...
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/VideoRecord_48k.ogg:system/media/audio/ui/VideoRecord.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/VideoStop_48k.ogg:system/media/audio/ui/VideoStop.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/camera_click_48k.ogg:system/media/audio/ui/camera_click.ogg ignored.
No private recovery resources for TARGET_DEVICE z3
Using '/home/user/Android/roms/OmniROM/8.1/prebuilts/misc/linux-x86/ccache/ccache' binary on 'linux-x86'
platform_testing/build/tasks/tests/instrumentation_metric_test_list.mk: warning: continuous_instrumentation_metric_tests: Unknown installed file for module perf-setup.sh
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module RecyclerViewTests
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module SettingsFunctionalTests
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module LauncherFunctionalTests
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module EmergencyInfoTests
platform_testing/build/tasks/tests/native_metric_test_list.mk: warning: continuous_native_metric_tests: Unknown installed file for module perf-setup.sh
build/core/base_rules.mk:390: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:390: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_scale.png'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_scale.png'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv1_CM.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv1_CM.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv2.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv2.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv3.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv3.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/libta.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/libta.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/etc/audio_effects.conf'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/etc/audio_effects.conf'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/etc/mkshrc'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/etc/mkshrc'
[ 99% 1273/1274] glob vendor/*/*/*/*/*/*/Android.bp
ninja: error: 'keystore.msm8974', needed by '/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/obj/ETC/twrp.fstab_intermediates/twrp.fstab', missing and no known rule to make it
14:36:38 ninja failed with: exit status 1
#### failed to build some targets (01:37 (mm:ss)) ####
real 1m37,436s
user 2m37,577s
sys 0m11,100s
And the main question is if I am on the right way at all
s0f0s said:
The next attempt was unsuccessful too...
First I got
Code:
build/core/base_rules.mk:238: error: hardware/qcom/gps/core: MODULE.TARGET.SHARED_LIBRARIES.libloc_core already defined by hardware/qcom/gps/sdm845/core.
I renamed hardware/qcom/gps/core/Android.mk and got
Code:
build/core/base_rules.mk:238: error: hardware/qcom/gps/utils: MODULE.TARGET.SHARED_LIBRARIES.libgps.utils already defined by hardware/qcom/gps/sdm845/utils.
I renamed hardware/qcom/gps/utils/Android.mk
But I think there should be more elegant way to exclude them (if this is a right decision at all)
Now I have ninja error about missing twrp.fstab
Code:
$ brunch
including device/generic/uml/vendorsetup.sh
including device/google/muskie/vendorsetup.sh
including device/google/taimen/vendorsetup.sh
including device/oneplus/oneplus5t/vendorsetup.sh
including device/oneplus/oneplus5/vendorsetup.sh
including device/sony/z2/vendorsetup.sh
including device/sony/z3c/vendorsetup.sh
including device/sony/z3/vendorsetup.sh
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
2. uml-userdebug
3. aosp_walleye-userdebug
4. aosp_walleye_test-userdebug
5. aosp_taimen-userdebug
6. omni_oneplus5t-user
7. omni_oneplus5t-userdebug
8. omni_oneplus5t-eng
9. omni_oneplus5-user
10. omni_oneplus5-userdebug
11. omni_oneplus5-eng
12. omni_z2-eng
13. omni_z2-userdebug
14. omni_z3c-eng
15. omni_z3-eng
Which would you like? [aosp_arm-eng] 15
Looking for dependencies on: device/sony/shinano-common
Looking for dependencies on: device/sony/msm8974-common
WARNING: detected conflict in revisions for repository android_hardware_qcom_gps
Traceback (most recent call last):
File "vendor/omni/build/tools/roomservice.py", line 356, in <module>
fetch_dependencies(device)
File "vendor/omni/build/tools/roomservice.py", line 310, in fetch_dependencies
create_common_dependencies_manifest(dependencies)
File "vendor/omni/build/tools/roomservice.py", line 299, in create_common_dependencies_manifest
create_common_dependencies_manifest(common_deps)
File "vendor/omni/build/tools/roomservice.py", line 297, in create_common_dependencies_manifest
check_manifest_problems(common_deps)
File "vendor/omni/build/tools/roomservice.py", line 239, in check_manifest_problems
file = ES.parse('/'.join([local_manifest_dir, "roomservice.xml"]))
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
tree.parse(source, parser)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse
source = open(source, "rb")
IOError: [Errno 2] No such file or directory: '.repo/local_manifests/roomservice.xml'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_PLATFORM_VERSION=OPM1
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM3.171019.013
OUT_DIR=/home/user/Android/roms/OmniROM/8.1/out
AUX_OS_VARIANT_LIST=
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM3.171019.013
OUT_DIR=/home/user/Android/roms/OmniROM/8.1/out
============================================
[44/44] bootstrap /home/user/Android/r...ut/soong/.minibootstrap/build.ninja.in
[4/4] /home/user/Android/roms/OmniROM/...M/8.1/out/soong/.bootstrap/build.ninja
[871/872] glob vendor/*/*/*/*/*/*/Android.bp
[54/54] /home/user/Android/roms/OmniRO...roms/OmniROM/8.1/out/soong/build.ninja
/home/user/Android/roms/OmniROM/8.1/out/build-omni_z3.ninja is missing, regenerating...
[120/999] including ./device/sony/msm8974-common/Android.mk ...
device-sony-common-init: init_sony for "z3", platform "shinano", with ' -DDEV_BLOCK_FOTA_NUM="16" -DDEV_BLOCK_FOTA_MAJOR="179" -DDEV_BLOCK_FOTA_MINOR="16" -DFOTA_RAMDISK_CHECK="0" -DKEYCHECK_ENABLED="1" -DKEYCHECK_NO_DOWN="1"'
[999/999] including ./vendor/sony/shinano-common-caf/proprietary/Android.mk ...
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/VideoRecord_48k.ogg:system/media/audio/ui/VideoRecord.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/VideoStop_48k.ogg:system/media/audio/ui/VideoStop.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/camera_click_48k.ogg:system/media/audio/ui/camera_click.ogg ignored.
No private recovery resources for TARGET_DEVICE z3
Using '/home/user/Android/roms/OmniROM/8.1/prebuilts/misc/linux-x86/ccache/ccache' binary on 'linux-x86'
platform_testing/build/tasks/tests/instrumentation_metric_test_list.mk: warning: continuous_instrumentation_metric_tests: Unknown installed file for module perf-setup.sh
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module RecyclerViewTests
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module SettingsFunctionalTests
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module LauncherFunctionalTests
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module EmergencyInfoTests
platform_testing/build/tasks/tests/native_metric_test_list.mk: warning: continuous_native_metric_tests: Unknown installed file for module perf-setup.sh
build/core/base_rules.mk:390: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:390: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_scale.png'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_scale.png'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv1_CM.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv1_CM.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv2.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv2.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv3.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv3.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/libta.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/libta.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/etc/audio_effects.conf'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/etc/audio_effects.conf'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/etc/mkshrc'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/etc/mkshrc'
[ 99% 1273/1274] glob vendor/*/*/*/*/*/*/Android.bp
ninja: error: 'keystore.msm8974', needed by '/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/obj/ETC/twrp.fstab_intermediates/twrp.fstab', missing and no known rule to make it
14:36:38 ninja failed with: exit status 1
#### failed to build some targets (01:37 (mm:ss)) ####
real 1m37,436s
user 2m37,577s
sys 0m11,100s
And the main question is if I am on the right way at all
Click to expand...
Click to collapse
Partially.
WARNING: detected conflict in revisions for repository android_hardware_qcom_gps
mean the hardware/qcom/gps repo was not synced to 8.1 (this is was present on 8.0 & 8.1 but only fixed on 8.1)
To switch from 8.0 to 8.1 you need to do all the sync process again :s In another meaning you need to delete all the 8.0 sync and start from scratch.
nailyk said:
To switch from 8.0 to 8.1 you need to do all the sync process again :s In another meaning you need to delete all the 8.0 sync and start from scratch.
Click to expand...
Click to collapse
For 8.1 I created new directory i.e. I had ~/Android/roms/OmniROM/8.0 for 8.0 and created ~/Android/roms/OmniROM/8.1 for 8.1. Then
Code:
repo init -u git://github.com/omnirom/android.git -b android-8.1
...
wget "https://raw.githubusercontent.com/nailyk-fr/local_manifests/android-8.1/x-roomservice.xml" -O .repo/local_manifests/x-roomservice.xml
repo sync
So can we consider this as starting from scratch?
And that warning persisted from the beginning. Looks like it is responsible for those errors with already defined modules.
Although it says 'in revisions' the particular problem is absence of '.repo/local_manifests/roomservice.xml' Looks like normally it is created automatically, but this does not happen. What could be the reason for this?
s0f0s said:
For 8.1 I created new directory i.e. I had ~/Android/roms/OmniROM/8.0 for 8.0 and created ~/Android/roms/OmniROM/8.1 for 8.1. Then
Code:
repo init -u git://github.com/omnirom/android.git -b android-8.1
...
wget "https://raw.githubusercontent.com/nailyk-fr/local_manifests/android-8.1/x-roomservice.xml" -O .repo/local_manifests/x-roomservice.xml
repo sync
So can we consider this as starting from scratch?
And that warning persisted from the beginning. Looks like it is responsible for those errors with already defined modules.
Although it says 'in revisions' the particular problem is absence of '.repo/local_manifests/roomservice.xml' Looks like normally it is created automatically, but this does not happen. What could be the reason for this?
Click to expand...
Click to collapse
Yes this is a 'from scratch' sync.
Please post the error. Do not have it here.
nailyk said:
Please post the error.
Click to expand...
Click to collapse
At first the error was
Code:
$ breakfast
including device/generic/uml/vendorsetup.sh
including device/google/muskie/vendorsetup.sh
including device/google/taimen/vendorsetup.sh
including device/oneplus/oneplus5t/vendorsetup.sh
including device/oneplus/oneplus5/vendorsetup.sh
including device/sony/z2/vendorsetup.sh
including device/sony/z3c/vendorsetup.sh
including device/sony/z3/vendorsetup.sh
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
2. uml-userdebug
3. aosp_walleye-userdebug
4. aosp_walleye_test-userdebug
5. aosp_taimen-userdebug
6. omni_oneplus5t-user
7. omni_oneplus5t-userdebug
8. omni_oneplus5t-eng
9. omni_oneplus5-user
10. omni_oneplus5-userdebug
11. omni_oneplus5-eng
12. omni_z2-eng
13. omni_z2-userdebug
14. omni_z3c-eng
15. omni_z3-eng
Which would you like? [aosp_arm-eng] 15
Looking for dependencies on: device/sony/shinano-common
Looking for dependencies on: device/sony/msm8974-common
WARNING: detected conflict in revisions for repository android_vendor_qcom_opensource_interfaces
Traceback (most recent call last):
File "vendor/omni/build/tools/roomservice.py", line 356, in <module>
fetch_dependencies(device)
File "vendor/omni/build/tools/roomservice.py", line 310, in fetch_dependencies
create_common_dependencies_manifest(dependencies)
File "vendor/omni/build/tools/roomservice.py", line 299, in create_common_dependencies_manifest
create_common_dependencies_manifest(common_deps)
File "vendor/omni/build/tools/roomservice.py", line 297, in create_common_dependencies_manifest
check_manifest_problems(common_deps)
File "vendor/omni/build/tools/roomservice.py", line 239, in check_manifest_problems
file = ES.parse('/'.join([local_manifest_dir, "roomservice.xml"]))
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
tree.parse(source, parser)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse
source = open(source, "rb")
IOError: [Errno 2] No such file or directory: '.repo/local_manifests/roomservice.xml'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_PLATFORM_VERSION=OPM1
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM3.171019.013
OUT_DIR=/home/user/Android/roms/OmniROM/8.1/out
AUX_OS_VARIANT_LIST=
============================================
I changed the revision in the device/sony/msm8974-common/omni.dependencies
Code:
{
"remote": "omnirom",
"repository": "android_hardware_qcom_gps",
"target_path": "hardware/qcom/gps",
"revision": "android-8.[B]1[/B]"
},
Then the same revision conflict occurred for android_vendor_qcom_opensource_interfaces and android_vendor_nxp-nfc_interfaces_opensource_nfc. I changed their revisions in the same file too and got
Code:
$ brunch
including device/generic/uml/vendorsetup.sh
including device/google/muskie/vendorsetup.sh
including device/google/taimen/vendorsetup.sh
including device/oneplus/oneplus5t/vendorsetup.sh
including device/oneplus/oneplus5/vendorsetup.sh
including device/sony/z2/vendorsetup.sh
including device/sony/z3c/vendorsetup.sh
including device/sony/z3/vendorsetup.sh
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
2. uml-userdebug
3. aosp_walleye-userdebug
4. aosp_walleye_test-userdebug
5. aosp_taimen-userdebug
6. omni_oneplus5t-user
7. omni_oneplus5t-userdebug
8. omni_oneplus5t-eng
9. omni_oneplus5-user
10. omni_oneplus5-userdebug
11. omni_oneplus5-eng
12. omni_z2-eng
13. omni_z2-userdebug
14. omni_z3c-eng
15. omni_z3-eng
Which would you like? [aosp_arm-eng] 15
Looking for dependencies on: device/sony/shinano-common
Looking for dependencies on: device/sony/msm8974-common
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_PLATFORM_VERSION=OPM1
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM3.171019.013
OUT_DIR=/home/user/Android/roms/OmniROM/8.1/out
AUX_OS_VARIANT_LIST=
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM3.171019.013
OUT_DIR=/home/user/Android/roms/OmniROM/8.1/out
============================================
[44/44] bootstrap /home/user/Android/r...ut/soong/.minibootstrap/build.ninja.in
[4/4] /home/user/Android/roms/OmniROM/...M/8.1/out/soong/.bootstrap/build.ninja
[871/872] glob vendor/*/*/*/*/*/*/Android.bp
[54/54] /home/user/Android/roms/OmniRO...roms/OmniROM/8.1/out/soong/build.ninja
/home/user/Android/roms/OmniROM/8.1/out/build-omni_z3.ninja is missing, regenerating...
[120/999] including ./device/sony/msm8974-common/Android.mk ...
device-sony-common-init: init_sony for "z3", platform "shinano", with ' -DDEV_BLOCK_FOTA_NUM="16" -DDEV_BLOCK_FOTA_MAJOR="179" -DDEV_BLOCK_FOTA_MINOR="16" -DFOTA_RAMDISK_CHECK="0" -DKEYCHECK_ENABLED="1" -DKEYCHECK_NO_DOWN="1"'
[464/999] including ./hardware/qcom/gps/Android.mk ...
build/core/base_rules.mk:238: error: hardware/qcom/gps/core: MODULE.TARGET.SHARED_LIBRARIES.libloc_core already defined by hardware/qcom/gps/sdm845/core.
10:05:15 ckati failed with: exit status 1
#### failed to build some targets (01:10 (mm:ss)) ####
real 1m9,955s
user 2m7,271s
sys 0m8,134s
Well, hardware/qcom/gps/sdm845/Android.mk is included in device/sony/msm8974-common/Android.mk and later hardware/qcom/gps/Android.mk includes the following
Code:
ifneq ($(filter apq8064,$(TARGET_BOARD_PLATFORM)),)
#For apq8064 use msm8960
include $(call all-named-subdir-makefiles,msm8960)
else ifneq ($(filter msm8992,$(TARGET_BOARD_PLATFORM)),)
#For msm8992 use msm8994
include $(call all-named-subdir-makefiles,msm8994)
else ifneq ($(filter msm8960 msm8084 msm8994 msm8996 msm8998 sdm845,$(TARGET_BOARD_PLATFORM)),)
#For these, use their platform name as the subdirectory
include $(call all-named-subdir-makefiles,$(TARGET_BOARD_PLATFORM))
else ifeq ($(filter msm8916,$(TARGET_BOARD_PLATFORM)),)
#For all other targets besides msm8916
GPS_DIRS=core utils loc_api platform_lib_abstractions etc
include $(call all-named-subdir-makefiles,$(GPS_DIRS))
endif #TARGET_BOARD_PLATFORM
but the target platform is msm8974 which do not have appropriate case. So I added the case for it
Code:
ifneq ($(filter apq8064,$(TARGET_BOARD_PLATFORM)),)
#For apq8064 use msm8960
include $(call all-named-subdir-makefiles,msm8960)
else ifneq ($(filter msm8992,$(TARGET_BOARD_PLATFORM)),)
#For msm8992 use msm8994
include $(call all-named-subdir-makefiles,msm8994)
else ifneq ($(filter msm8960 msm8084 msm8994 msm8996 msm8998 sdm845,$(TARGET_BOARD_PLATFORM)),)
#For these, use their platform name as the subdirectory
include $(call all-named-subdir-makefiles,$(TARGET_BOARD_PLATFORM))
[B]else ifneq ($(filter msm8974,$(TARGET_BOARD_PLATFORM)),)
#For msm8974 use sdm845
ifndef MODULE.TARGET.SHARED_LIBRARIES.libloc_core
include $(call all-named-subdir-makefiles,sdm845)
endif[/B]
else ifeq ($(filter msm8916,$(TARGET_BOARD_PLATFORM)),)
#For all other targets besides msm8916
GPS_DIRS=core utils loc_api platform_lib_abstractions etc
include $(call all-named-subdir-makefiles,$(GPS_DIRS))
endif #TARGET_BOARD_PLATFORM
Now I get the error about missing keystore.msm897
Code:
$ brunch omni_z3-eng
including device/generic/uml/vendorsetup.sh
including device/google/muskie/vendorsetup.sh
including device/google/taimen/vendorsetup.sh
including device/oneplus/oneplus5t/vendorsetup.sh
including device/oneplus/oneplus5/vendorsetup.sh
including device/sony/z2/vendorsetup.sh
including device/sony/z3c/vendorsetup.sh
including device/sony/z3/vendorsetup.sh
Looking for dependencies on: device/sony/shinano-common
Looking for dependencies on: device/sony/msm8974-common
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_PLATFORM_VERSION=OPM1
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM3.171019.013
OUT_DIR=/home/user/Android/roms/OmniROM/8.1/out
AUX_OS_VARIANT_LIST=
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM3.171019.013
OUT_DIR=/home/user/Android/roms/OmniROM/8.1/out
============================================
ninja: no work to do.
ninja: no work to do.
/home/user/Android/roms/OmniROM/8.1/out/build-omni_z3.ninja is missing, regenerating...
[120/999] including ./device/sony/msm8974-common/Android.mk ...
device-sony-common-init: init_sony for "z3", platform "shinano", with ' -DDEV_BLOCK_FOTA_NUM="16" -DDEV_BLOCK_FOTA_MAJOR="179" -DDEV_BLOCK_FOTA_MINOR="16" -DFOTA_RAMDISK_CHECK="0" -DKEYCHECK_ENABLED="1" -DKEYCHECK_NO_DOWN="1"'
[999/999] including ./vendor/sony/shinano-common-caf/proprietary/Android.mk ...
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/VideoRecord_48k.ogg:system/media/audio/ui/VideoRecord.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/VideoStop_48k.ogg:system/media/audio/ui/VideoStop.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/camera_click_48k.ogg:system/media/audio/ui/camera_click.ogg ignored.
No private recovery resources for TARGET_DEVICE z3
Using '/home/user/Android/roms/OmniROM/8.1/prebuilts/misc/linux-x86/ccache/ccache' binary on 'linux-x86'
platform_testing/build/tasks/tests/instrumentation_metric_test_list.mk: warning: continuous_instrumentation_metric_tests: Unknown installed file for module perf-setup.sh
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module RecyclerViewTests
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module SettingsFunctionalTests
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module LauncherFunctionalTests
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module EmergencyInfoTests
platform_testing/build/tasks/tests/native_metric_test_list.mk: warning: continuous_native_metric_tests: Unknown installed file for module perf-setup.sh
build/core/base_rules.mk:390: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:390: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_scale.png'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_scale.png'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv1_CM.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv1_CM.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv2.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv2.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv3.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv3.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/libta.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/libta.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/etc/audio_effects.conf'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/etc/audio_effects.conf'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/etc/mkshrc'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/etc/mkshrc'
[ 99% 1273/1274] glob vendor/*/*/*/*/*/*/Android.bp
ninja: error: 'keystore.msm8974', needed by '/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/obj/ETC/twrp.fstab_intermediates/twrp.fstab', missing and no known rule to make it
18:29:09 ninja failed with: exit status 1
#### failed to build some targets (54 seconds) ####
real 0m53,430s
user 0m54,585s
sys 0m5,082s
Which right now I have no idea how to deal with
Maybe I was not right with corrections of previous errors...
Your remaining repositories errors are related to branch being updated.
You can pick this change: https://gerrit.omnirom.org/#/c/28265/ will solve some.
The next gps error is probably related to wrong branch too.
Delete the repo to ensure the 8.1 branch is synced:
Code:
rm -rf hardware/qcom/gps .repo/project-objects/android_hardware_qcom_gps.git .repo/projects/hardware/qcom/gps.git
repo sync hardware/qcom/gps
but the target platform is msm8974 which do not have appropriate case. So I added the case for it
Click to expand...
Click to collapse
Do not add it, it will include gps twice, which cause you the next error. (gps include is directly called into device trees)
Never had the keystore missing one.
Ensure the repo is correctly synced, ( hardware/qcom/keymaster ) and on the right branch.
nailyk said:
You can pick this change:
Click to expand...
Click to collapse
Yes, it solves revision issues. But the problem with gps remains
Code:
$ brunch omni_z3-eng
including device/generic/uml/vendorsetup.sh
including device/google/muskie/vendorsetup.sh
including device/google/taimen/vendorsetup.sh
including device/oneplus/oneplus5t/vendorsetup.sh
including device/oneplus/oneplus5/vendorsetup.sh
including device/sony/z2/vendorsetup.sh
including device/sony/z3c/vendorsetup.sh
including device/sony/z3/vendorsetup.sh
Looking for dependencies on: device/sony/shinano-common
Looking for dependencies on: device/sony/msm8974-common
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_PLATFORM_VERSION=OPM1
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM3.171019.013
OUT_DIR=/home/user/Android/roms/OmniROM/8.1/out
AUX_OS_VARIANT_LIST=
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM3.171019.013
OUT_DIR=/home/user/Android/roms/OmniROM/8.1/out
============================================
[44/44] bootstrap /home/user/Android/r...ut/soong/.minibootstrap/build.ninja.in
[4/4] /home/user/Android/roms/OmniROM/...M/8.1/out/soong/.bootstrap/build.ninja
[871/872] glob vendor/*/*/*/*/*/*/Android.bp
[54/54] /home/user/Android/roms/OmniRO...roms/OmniROM/8.1/out/soong/build.ninja
/home/user/Android/roms/OmniROM/8.1/out/build-omni_z3.ninja is missing, regenerating...
[120/999] including ./device/sony/msm8974-common/Android.mk ...
device-sony-common-init: init_sony for "z3", platform "shinano", with ' -DDEV_BLOCK_FOTA_NUM="16" -DDEV_BLOCK_FOTA_MAJOR="179" -DDEV_BLOCK_FOTA_MINOR="16" -DFOTA_RAMDISK_CHECK="0" -DKEYCHECK_ENABLED="1" -DKEYCHECK_NO_DOWN="1"'
[464/999] including ./hardware/qcom/gps/Android.mk ...
build/core/base_rules.mk:238: error: hardware/qcom/gps/core: MODULE.TARGET.SHARED_LIBRARIES.libloc_core already defined by hardware/qcom/gps/sdm845/core.
02:00:32 ckati failed with: exit status 1
#### failed to build some targets (01:06 (mm:ss)) ####
real 1m5,548s
user 1m57,410s
sys 0m7,823s
gps include is directly called into device trees
Click to expand...
Click to collapse
but why the "hardware/qcom/gps/Android.mk" is included later? This file do not have section for msm8974 platform and thus includes some default stuff which conflicts with sdm845. If I exclude that default stuff then again I get missing keystore.msm8974 error
Code:
$ brunch omni_z3-eng
including device/generic/uml/vendorsetup.sh
including device/google/muskie/vendorsetup.sh
including device/google/taimen/vendorsetup.sh
including device/oneplus/oneplus5t/vendorsetup.sh
including device/oneplus/oneplus5/vendorsetup.sh
including device/sony/z2/vendorsetup.sh
including device/sony/z3c/vendorsetup.sh
including device/sony/z3/vendorsetup.sh
Looking for dependencies on: device/sony/shinano-common
Looking for dependencies on: device/sony/msm8974-common
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_PLATFORM_VERSION=OPM1
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM3.171019.013
OUT_DIR=/home/user/Android/roms/OmniROM/8.1/out
AUX_OS_VARIANT_LIST=
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM3.171019.013
OUT_DIR=/home/user/Android/roms/OmniROM/8.1/out
============================================
ninja: no work to do.
ninja: no work to do.
./hardware/qcom/gps/Android.mk was modified, regenerating...
[120/999] including ./device/sony/msm8974-common/Android.mk ...
device-sony-common-init: init_sony for "z3", platform "shinano", with ' -DDEV_BLOCK_FOTA_NUM="16" -DDEV_BLOCK_FOTA_MAJOR="179" -DDEV_BLOCK_FOTA_MINOR="16" -DFOTA_RAMDISK_CHECK="0" -DKEYCHECK_ENABLED="1" -DKEYCHECK_NO_DOWN="1"'
[999/999] including ./vendor/sony/shinano-common-caf/proprietary/Android.mk ...
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/VideoRecord_48k.ogg:system/media/audio/ui/VideoRecord.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/VideoStop_48k.ogg:system/media/audio/ui/VideoStop.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/camera_click_48k.ogg:system/media/audio/ui/camera_click.ogg ignored.
[B]No private recovery resources for TARGET_DEVICE z3[/B]
Using '/home/user/Android/roms/OmniROM/8.1/prebuilts/misc/linux-x86/ccache/ccache' binary on 'linux-x86'
platform_testing/build/tasks/tests/instrumentation_metric_test_list.mk: warning: continuous_instrumentation_metric_tests: Unknown installed file for module perf-setup.sh
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module RecyclerViewTests
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module SettingsFunctionalTests
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module LauncherFunctionalTests
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module EmergencyInfoTests
platform_testing/build/tasks/tests/native_metric_test_list.mk: warning: continuous_native_metric_tests: Unknown installed file for module perf-setup.sh
build/core/base_rules.mk:390: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:390: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_scale.png'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_scale.png'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv1_CM.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv1_CM.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv2.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv2.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv3.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv3.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/libta.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/libta.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/etc/audio_effects.conf'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/etc/audio_effects.conf'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/etc/mkshrc'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/etc/mkshrc'
ninja: error: 'keystore.msm8974', needed by '/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/obj/ETC/twrp.fstab_intermediates/twrp.fstab', missing and no known rule to make it
01:37:23 ninja failed with: exit status 1
#### failed to build some targets (57 seconds) ####
real 0m56,763s
user 0m52,993s
sys 0m4,630s
Note among others this message:
No private recovery resources for TARGET_DEVICE z3
Is it possible that it is somehow connected with missing keystore.msm8974?
Sometimes strange errors may be caused by wrong versions of building environment components (JDK python, etc.) Which are the correct versions?
s0f0s said:
Yes, it solves revision issues. But the problem with gps remains
Code:
$ brunch omni_z3-eng
including device/generic/uml/vendorsetup.sh
including device/google/muskie/vendorsetup.sh
including device/google/taimen/vendorsetup.sh
including device/oneplus/oneplus5t/vendorsetup.sh
including device/oneplus/oneplus5/vendorsetup.sh
including device/sony/z2/vendorsetup.sh
including device/sony/z3c/vendorsetup.sh
including device/sony/z3/vendorsetup.sh
Looking for dependencies on: device/sony/shinano-common
Looking for dependencies on: device/sony/msm8974-common
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_PLATFORM_VERSION=OPM1
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM3.171019.013
OUT_DIR=/home/user/Android/roms/OmniROM/8.1/out
AUX_OS_VARIANT_LIST=
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM3.171019.013
OUT_DIR=/home/user/Android/roms/OmniROM/8.1/out
============================================
[44/44] bootstrap /home/user/Android/r...ut/soong/.minibootstrap/build.ninja.in
[4/4] /home/user/Android/roms/OmniROM/...M/8.1/out/soong/.bootstrap/build.ninja
[871/872] glob vendor/*/*/*/*/*/*/Android.bp
[54/54] /home/user/Android/roms/OmniRO...roms/OmniROM/8.1/out/soong/build.ninja
/home/user/Android/roms/OmniROM/8.1/out/build-omni_z3.ninja is missing, regenerating...
[120/999] including ./device/sony/msm8974-common/Android.mk ...
device-sony-common-init: init_sony for "z3", platform "shinano", with ' -DDEV_BLOCK_FOTA_NUM="16" -DDEV_BLOCK_FOTA_MAJOR="179" -DDEV_BLOCK_FOTA_MINOR="16" -DFOTA_RAMDISK_CHECK="0" -DKEYCHECK_ENABLED="1" -DKEYCHECK_NO_DOWN="1"'
[464/999] including ./hardware/qcom/gps/Android.mk ...
build/core/base_rules.mk:238: error: hardware/qcom/gps/core: MODULE.TARGET.SHARED_LIBRARIES.libloc_core already defined by hardware/qcom/gps/sdm845/core.
02:00:32 ckati failed with: exit status 1
#### failed to build some targets (01:06 (mm:ss)) ####
real 1m5,548s
user 1m57,410s
sys 0m7,823s
but why the "hardware/qcom/gps/Android.mk" is included later? This file do not have section for msm8974 platform and thus includes some default stuff which conflicts with sdm845. If I exclude that default stuff then again I get missing keystore.msm8974 error
Code:
$ brunch omni_z3-eng
including device/generic/uml/vendorsetup.sh
including device/google/muskie/vendorsetup.sh
including device/google/taimen/vendorsetup.sh
including device/oneplus/oneplus5t/vendorsetup.sh
including device/oneplus/oneplus5/vendorsetup.sh
including device/sony/z2/vendorsetup.sh
including device/sony/z3c/vendorsetup.sh
including device/sony/z3/vendorsetup.sh
Looking for dependencies on: device/sony/shinano-common
Looking for dependencies on: device/sony/msm8974-common
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_PLATFORM_VERSION=OPM1
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM3.171019.013
OUT_DIR=/home/user/Android/roms/OmniROM/8.1/out
AUX_OS_VARIANT_LIST=
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM3.171019.013
OUT_DIR=/home/user/Android/roms/OmniROM/8.1/out
============================================
ninja: no work to do.
ninja: no work to do.
./hardware/qcom/gps/Android.mk was modified, regenerating...
[120/999] including ./device/sony/msm8974-common/Android.mk ...
device-sony-common-init: init_sony for "z3", platform "shinano", with ' -DDEV_BLOCK_FOTA_NUM="16" -DDEV_BLOCK_FOTA_MAJOR="179" -DDEV_BLOCK_FOTA_MINOR="16" -DFOTA_RAMDISK_CHECK="0" -DKEYCHECK_ENABLED="1" -DKEYCHECK_NO_DOWN="1"'
[999/999] including ./vendor/sony/shinano-common-caf/proprietary/Android.mk ...
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/VideoRecord_48k.ogg:system/media/audio/ui/VideoRecord.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/VideoStop_48k.ogg:system/media/audio/ui/VideoStop.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/camera_click_48k.ogg:system/media/audio/ui/camera_click.ogg ignored.
[B]No private recovery resources for TARGET_DEVICE z3[/B]
Using '/home/user/Android/roms/OmniROM/8.1/prebuilts/misc/linux-x86/ccache/ccache' binary on 'linux-x86'
platform_testing/build/tasks/tests/instrumentation_metric_test_list.mk: warning: continuous_instrumentation_metric_tests: Unknown installed file for module perf-setup.sh
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module RecyclerViewTests
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module SettingsFunctionalTests
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module LauncherFunctionalTests
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module EmergencyInfoTests
platform_testing/build/tasks/tests/native_metric_test_list.mk: warning: continuous_native_metric_tests: Unknown installed file for module perf-setup.sh
build/core/base_rules.mk:390: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:390: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_scale.png'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_scale.png'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv1_CM.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv1_CM.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv2.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv2.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv3.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv3.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/libta.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/libta.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/etc/audio_effects.conf'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/etc/audio_effects.conf'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/etc/mkshrc'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/etc/mkshrc'
ninja: error: 'keystore.msm8974', needed by '/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/obj/ETC/twrp.fstab_intermediates/twrp.fstab', missing and no known rule to make it
01:37:23 ninja failed with: exit status 1
#### failed to build some targets (57 seconds) ####
real 0m56,763s
user 0m52,993s
sys 0m4,630s
Note among others this message:
No private recovery resources for TARGET_DEVICE z3
Is it possible that it is somehow connected with missing keystore.msm8974?
Sometimes strange errors may be caused by wrong versions of building environment components (JDK python, etc.) Which are the correct versions?
Click to expand...
Click to collapse
That is another issue.
GPS repo just got upgraded to 8.1 but not from 8.0.
Am trying again with : https://gerrit.omnirom.org/#/c/28672/
It should solve that issue. Currently running on jenkins.
nailyk said:
It should solve that issue.
Click to expand...
Click to collapse
Yes, but where the USE_DEVICE_SPECIFIC_GPS flag is set?
This is conceptual solution, but in my case will produce the same result and so bring me to that keymaster issue, which I still do not understand
s0f0s said:
Yes, but where the USE_DEVICE_SPECIFIC_GPS flag is set?
This is conceptual solution, but in my case will produce the same result and so bring me to that keymaster issue, which I still do not understand
Click to expand...
Click to collapse
Just pick the patch for GPS.
We will solve the missing keystore later.
You are probably missing hardware/qcom/keymaster repo
hardware/qcom/keymaster/Android.mk:14:LOCAL_MODULE := keystore.$(TARGET_BOARD_PLATFORM)
nailyk said:
Just pick the patch for GPS.
Click to expand...
Click to collapse
It solves the gps issue, but the missing keystore.msm8974 error is here
Code:
$ brunch omni_z3-eng
including device/generic/uml/vendorsetup.sh
including device/google/muskie/vendorsetup.sh
including device/google/taimen/vendorsetup.sh
including device/oneplus/oneplus5t/vendorsetup.sh
including device/oneplus/oneplus5/vendorsetup.sh
including device/sony/z2/vendorsetup.sh
including device/sony/z3c/vendorsetup.sh
including device/sony/z3/vendorsetup.sh
Looking for dependencies on: device/sony/shinano-common
Looking for dependencies on: device/sony/msm8974-common
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_PLATFORM_VERSION=OPM1
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM3.171019.013
OUT_DIR=/home/user/Android/roms/OmniROM/8.1/out
AUX_OS_VARIANT_LIST=
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=omni_z3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-21-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM3.171019.013
OUT_DIR=/home/user/Android/roms/OmniROM/8.1/out
============================================
[44/44] bootstrap /home/user/Android/r...ut/soong/.minibootstrap/build.ninja.in
[4/4] /home/user/Android/roms/OmniROM/...M/8.1/out/soong/.bootstrap/build.ninja
[871/872] glob vendor/*/*/*/*/*/*/Android.bp
[54/54] /home/user/Android/roms/OmniRO...roms/OmniROM/8.1/out/soong/build.ninja
/home/user/Android/roms/OmniROM/8.1/out/build-omni_z3.ninja is missing, regenerating...
[120/999] including ./device/sony/msm8974-common/Android.mk ...
device-sony-common-init: init_sony for "z3", platform "shinano", with ' -DDEV_BLOCK_FOTA_NUM="16" -DDEV_BLOCK_FOTA_MAJOR="179" -DDEV_BLOCK_FOTA_MINOR="16" -DFOTA_RAMDISK_CHECK="0" -DKEYCHECK_ENABLED="1" -DKEYCHECK_NO_DOWN="1"'
[999/999] including ./vendor/sony/shinano-common-caf/proprietary/Android.mk ...
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/VideoRecord_48k.ogg:system/media/audio/ui/VideoRecord.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/VideoStop_48k.ogg:system/media/audio/ui/VideoStop.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/camera_click_48k.ogg:system/media/audio/ui/camera_click.ogg ignored.
No private recovery resources for TARGET_DEVICE z3
Using '/home/user/Android/roms/OmniROM/8.1/prebuilts/misc/linux-x86/ccache/ccache' binary on 'linux-x86'
platform_testing/build/tasks/tests/instrumentation_metric_test_list.mk: warning: continuous_instrumentation_metric_tests: Unknown installed file for module perf-setup.sh
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module RecyclerViewTests
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module SettingsFunctionalTests
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module LauncherFunctionalTests
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module EmergencyInfoTests
platform_testing/build/tasks/tests/native_metric_test_list.mk: warning: continuous_native_metric_tests: Unknown installed file for module perf-setup.sh
build/core/base_rules.mk:390: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:390: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_scale.png'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/root/res/images/charger/battery_scale.png'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv1_CM.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv1_CM.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv2.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv2.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv3.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/lib/libGLESv3.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/libta.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/libta.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/etc/audio_effects.conf'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/vendor/etc/audio_effects.conf'
build/core/Makefile:34: warning: overriding commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/etc/mkshrc'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/system/etc/mkshrc'
[ 99% 1273/1274] glob vendor/*/*/*/*/*/*/Android.bp
ninja: error: 'keystore.msm8974', needed by '/home/user/Android/roms/OmniROM/8.1/out/target/product/z3/obj/ETC/twrp.fstab_intermediates/twrp.fstab', missing and no known rule to make it
22:41:48 ninja failed with: exit status 1
#### failed to build some targets (01:20 (mm:ss)) ####
real 1m20.580s
user 2m20.994s
sys 0m10.102s
You are probably missing hardware/qcom/keymaster repo
Click to expand...
Click to collapse
Maybe I misunderstand you, but hardware/qcom/keymaster repo present:
Code:
~/Android/roms/OmniROM/8.1/hardware/qcom/keymaster$ ls -la
total 64
drwxr-xr-x 3 user user 4096 Jan 24 22:02 .
drwxr-xr-x 25 user user 4096 Jan 24 22:02 ..
-rw-r--r-- 1 user user 859 Jan 24 22:02 Android.mk
drwxr-xr-x 2 user user 4096 Jan 24 22:02 .git
-rw-r--r-- 1 user user 27729 Jan 24 22:02 keymaster_qcom.cpp
-rw-r--r-- 1 user user 7220 Jan 24 22:02 keymaster_qcom.h
-rw-r--r-- 1 user user 10735 Jan 24 22:02 QSEEComAPI.h
and here is Android.mk
Code:
# TODO: Find a better way to separate build configs for ADP vs non-ADP devices
ifneq ($(BOARD_IS_AUTOMOTIVE),true)
LOCAL_PATH := $(call my-dir)
[B][COLOR="Magenta"]ifneq ($(filter msm8960 msm8084,$(TARGET_BOARD_PLATFORM)),)
[/COLOR][/B]
keymaster-def := -fvisibility=hidden -Wall
ifeq ($(TARGET_BOARD_PLATFORM),msm8084)
keymaster-def += -D_ION_HEAP_MASK_COMPATIBILITY_WA
endif
include $(CLEAR_VARS)
LOCAL_MODULE := keystore.$(TARGET_BOARD_PLATFORM)
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_SRC_FILES := keymaster_qcom.cpp
LOCAL_C_INCLUDES := $(TARGET_OUT_HEADERS)/common/inc
LOCAL_CFLAGS := $(keymaster-def)
LOCAL_SHARED_LIBRARIES := \
libcrypto \
liblog \
libc \
libdl
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
endif # TARGET_BOARD_PLATFORM
endif
Note that the highlighted condition is not satisfied so the main body of the file is excluded. But is it safe to just include msm8974 to the filter list or not? I mean it might help to build the ROM, but will it later work on the device?
My bad: https://github.com/nailyk-fr/local_manifests/commit/3a89e63ef7b2d6ae6bd87e44bdb6dd9615da516d
Dunno why the build ran fine on Jenkins with that missing dependency.
You probably need a repo sync --force-sync hardware/qcom/keymaster after fetching the new manifest.
nailyk said:
new manifest.
Click to expand...
Click to collapse
:good: just at first produces revision conflict with SnapdragonCamera2 cause its revision="android-8.0"
Now the build is in process (30%)
Meanwhile I want the situation with blueborne to be clarified a bit. I have found appropriate kernel commit in net/bluetooth/l2cap_core.c
file history, but searching for it among the project commits do not display it. Why
The same query works fine with android_kernel_oneplus_msm8998 commit history...

Problem with custom rom compilation

Hello
I am trying to compile RR on xperia z2
But every time the compilation ends with a mistake
I solved the first problems myself but this is beyond my possibilities
I would be very grateful for your help
OS: Ubuntu 16.04
[email protected]:/home/sthomson/rr# . build/envsetup.sh
including device/generic/car/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/generic/uml/vendorsetup.sh
including device/sony/sirius/vendorsetup.sh
including sdk/bash_completion/adb.bash
▼ Which build-type do you want to choose?
〉 1- Unofficial ︱ For the unofficial builds
〉 2- Nightly ︱ Only for the official daily builds by the maintainers
〉 3- Weekly ︱ Only for the official weekly builds by the maintainers
〉 4- Release ︱ Only for the official releases by the RR-Team
〉 5- Milestone ︱ Only for the milestone releases by the RR-Team
〉 6- Experimental ︱ Only for the experimental releases by the RR-Team
〉 7- Final ︱ Only for the final releases by the RR-Team
〉 30/sec Time-out ︱ Default option
▼ Pick a number
1
Building unofficial variant
▼ For how many days changelog do you want to generate?
〉 30/sec Time-out ︱ 7 Days by default
▼ Type a number
1
〉 Generating day number 1 09-14-2018..
... A new repo command ( 1.23) is available.
... You should upgrade soon:
cp /home/sthomson/rr/.repo/repo/repo /usr/bin/repo
... A new repo command ( 1.23) is available.
... You should upgrade soon:
cp /home/sthomson/rr/.repo/repo/repo /usr/bin/repo
√ Changelog successfully generated.
[email protected]:/home/sthomson/rr# lunch
You're building on Linux
Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_arm64-eng
3. aosp_mips-eng
4. aosp_mips64-eng
5. aosp_x86-eng
6. aosp_x86_64-eng
7. aosp_car_emu_arm-userdebug
8. aosp_car_emu_arm64-userdebug
9. aosp_car_emu_x86-userdebug
10. aosp_car_emu_x86_64-userdebug
11. mini_emulator_arm64-userdebug
12. m_e_arm-userdebug
13. mini_emulator_x86_64-userdebug
14. mini_emulator_x86-userdebug
15. uml-userdebug
16. rr_sirius-eng
17. rr_sirius-userdebug
Which would you like? [aosp_arm-eng] 17
Trying dependencies-only mode on anon-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
RR_VERSION=RR-O-v6.2.0-20180914-sirius-Unofficial
TARGET_PRODUCT=rr_sirius
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_PLATFORM_VERSION=OPM1
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-36-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM6.171019.030.K1
OUT_DIR=/home/sthomson/rr/out
AUX_OS_VARIANT_LIST=
============================================
[email protected]:/home/sthomson/rr# make sirius
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=rr_sirius
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-36-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM6.171019.030.K1
OUT_DIR=/home/sthomson/rr/out
============================================
[44/44] bootstrap /home/sthomson/rr/out/soong/.minibootstrap/build.ninja.in
[4/4] /home/sthomson/rr/out/soong/.boo...on/rr/out/soong/.bootstrap/build.ninja
[872/873] glob vendor/rr/build/soong/Android.bp
[56/56] /home/sthomson/rr/out/soong/.b...home/sthomson/rr/out/soong/build.ninja
/home/sthomson/rr/out/build-rr_sirius.ninja is missing, regenerating...
[132/1087] including ./device/sony/msm8974-common/Android.mk ...
device-sony-common-init: init_sony for "sirius", platform "shinano", with ''
[330/1087] including ./frameworks/av/camera/Android.mk ...
frameworks/av/camera/cameraserver/Android.mk:18: warning: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
[597/1087] including ./packages/apps/ResurrectionOTA/Android.mk ...
cp: nie można wykonać stat na '/home/sthomson/rr/ota_conf': Nie ma takiego pliku ani katalogu
[1087/1087] including ./vendor/sony/tsubasa/Android.mk ...
PRODUCT_COPY_FILES vendor/sony/sirius/proprietary/etc/firmware/a330_pfp.fw:system/etc/firmware/a330_pfp.fw ignored.
PRODUCT_COPY_FILES vendor/sony/sirius/proprietary/etc/firmware/a330_pm4.fw:system/etc/firmware/a330_pm4.fw ignored.
PRODUCT_COPY_FILES vendor/sony/sirius/proprietary/etc/firmware/leia_pfp_470.fw:system/etc/firmware/leia_pfp_470.fw ignored.
PRODUCT_COPY_FILES vendor/sony/sirius/proprietary/etc/firmware/leia_pm4_470.fw:system/etc/firmware/leia_pm4_470.fw ignored.
PRODUCT_COPY_FILES vendor/sony/sirius/proprietary/usr/idc/AVRCP.idc:system/usr/idc/AVRCP.idc ignored.
PRODUCT_COPY_FILES vendor/sony/sirius/proprietary/usr/idc/qwerty2.idc:system/usr/idc/qwerty2.idc ignored.
PRODUCT_COPY_FILES vendor/sony/sirius/proprietary/usr/idc/qwerty.idc:system/usr/idc/qwerty.idc ignored.
vendor/rr/build/tasks/kernel.mk:152: warning: ***************************************************************
vendor/rr/build/tasks/kernel.mk:153: warning: * Using prebuilt kernel binary instead of source *
vendor/rr/build/tasks/kernel.mk:154: warning: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
vendor/rr/build/tasks/kernel.mk:155: warning: * Please configure your device to download the kernel *
vendor/rr/build/tasks/kernel.mk:156: warning: * source repository to kernel/sony/msm8974
vendor/rr/build/tasks/kernel.mk:157: warning: * for more information *
vendor/rr/build/tasks/kernel.mk:158: warning: ***************************************************************
[ 99% 1276/1277] glob vendor/rr/build/soong/Android.bp
ninja: error: unknown target 'sirius'
15:41:13 ninja failed with: exit status 1
#### failed to build some targets (44 seconds) ####
Click to expand...
Click to collapse
Regards

Categories

Resources