salvogiangri / UN1CA

Work-in-progress custom firmware for Samsung Galaxy devices.
https://unica.mesalabs.io/
126 stars 37 forks source link

Build system stops when applying packages #41

Closed Fede2782 closed 7 months ago

Fede2782 commented 7 months ago

It worked until yesterday, today it doesn't work anymore. I tried clean build with same target config files. I don't know if there is a way to get a more verbose output. Ubuntu 22.04 with all the required packages installed.

source buildenv.sh gta4xl && run_cmd make_rom
config.sh already exists. Regenerating...
==============================
ROM_IS_OFFICIAL="false"
ROM_VERSION="1.0.0-92e7d5c"
SOURCE_FIRMWARE="SM-X516B/EUX"
SOURCE_API_LEVEL="34"
SOURCE_VNDK_VERSION="33"
TARGET_NAME="Galaxy Tab S6 Lite"
TARGET_CODENAME="gta4xl"
TARGET_FIRMWARE="SM-P615/XEF"
TARGET_API_LEVEL="34"
TARGET_VNDK_VERSION="33"
TARGET_SINGLE_SYSTEM_IMAGE="essi"
TARGET_OS_FILE_SYSTEM="ext4"
TARGET_INSTALL_METHOD="zip"
TARGET_BOOT_DEVICE_PATH="/dev/block/bootdevice/by-name"
TARGET_SUPER_PARTITION_SIZE="6585057280"
TARGET_SUPER_GROUP_SIZE="6580862976"
TARGET_POST_INSTALL_ZIP="none"
SOURCE_HAS_SYSTEM_EXT="false"
TARGET_HAS_SYSTEM_EXT="false"
SOURCE_HAS_KNOX_DUALDAR="false"
TARGET_HAS_KNOX_DUALDAR="false"
SOURCE_HAS_KNOX_SDP="false"
TARGET_HAS_KNOX_SDP="true"
SOURCE_HAS_MASS_CAMERA_APP="true"
TARGET_HAS_MASS_CAMERA_APP="true"
SOURCE_HAS_OPTICAL_FP_SENSOR="true"
TARGET_HAS_OPTICAL_FP_SENSOR="true"
SOURCE_IS_ESIM_SUPPORTED="true"
TARGET_IS_ESIM_SUPPORTED="false"
==============================
- Creating work dir...

- Applying debloat list...
Debloating /product/app/GoogleCalendarSyncAdapter/oat
Debloating /product/app/GoogleLocationHistory/oat
Debloating /product/app/SpeechServicesByGoogle/oat
Debloating /product/app/WebViewGoogle/oat
Debloating /product/priv-app/AndroidAutoStub/oat
Debloating /product/priv-app/AndroidSystemIntelligence/oat
Debloating /product/priv-app/ConfigUpdater/oat
Debloating /product/priv-app/FamilyLinkParentalControls/oat
Debloating /product/priv-app/GmsCore/m/independent/oat
Debloating /product/priv-app/GmsCore/oat
Debloating /product/priv-app/GoogleOneTimeInitializer/oat
Debloating /product/priv-app/GooglePartnerSetup/oat
Debloating /product/priv-app/GoogleRestore/oat
Debloating /product/priv-app/Phonesky/oat
Debloating /product/priv-app/PrivateComputeServices/oat
Debloating /product/priv-app/Turbo/oat
Debloating /product/priv-app/Velvet/oat
Debloating /product/app/Chrome
Debloating /product/app/DuoStub
Debloating /product/app/Gmail2
Debloating /product/app/Maps
Debloating /product/app/YouTube
Debloating /product/priv-app/Messages
Debloating /product/priv-app/SearchSelector
Debloating /system/dpolicy_system
Debloating /system/system/app/AllShareAware/oat
Debloating /system/system/app/AllshareMediaShare/oat
Debloating /system/system/app/ApexService/oat
Debloating /system/system/app/ARCore/oat
Debloating /system/system/app/ARDrawing/oat
Debloating /system/system/app/AutomationTest_FB/oat
Debloating /system/system/app/BBCAgent/oat
Debloating /system/system/app/BGMProvider/oat
Debloating /system/system/app/BixbyWakeup/oat
Debloating /system/system/app/BluetoothAgent/oat
Debloating /system/system/app/BrightnessBackupService/oat
Debloating /system/system/app/ChromeCustomizations/oat
Debloating /system/system/app/ClipboardEdge/oat
Debloating /system/system/app/CocktailQuickTool/oat
Debloating /system/system/app/DRParser/oat
Debloating /system/system/app/DsmsAPK/oat
Debloating /system/system/app/EdmSimPinService/oat
Debloating /system/system/app/EmergencyLauncher/oat
Debloating /system/system/app/FactoryAirCommandManager/oat
Debloating /system/system/app/FactoryCameraFB/oat
Debloating /system/system/app/FilterProvider/oat
Debloating /system/system/app/Foundation/oat
Debloating /system/system/app/GalaxyResourceUpdater/oat
Debloating /system/system/app/GearManagerStub/oat
Debloating /system/system/app/GoogleExtShared/oat
Debloating /system/system/app/GooglePrintRecommendationService/oat
Debloating /system/system/app/HandwritingService/oat
Debloating /system/system/app/HiyaService/oat
Debloating /system/system/app/HMT/oat
Debloating /system/system/app/HoneyBoard/oat
Debloating /system/system/app/KidsHome_Installer/oat
Debloating /system/system/app/LiveTranscribe/oat
Debloating /system/system/app/MAPSAgent/oat
Debloating /system/system/app/MdecService/oat
Debloating /system/system/app/MDMApp/oat
Debloating /system/system/app/MdxKitService/oat
Debloating /system/system/app/NfwLocationPrivacy/oat
Debloating /system/system/app/OCRDataProvider/oat
Debloating /system/system/app/PartnerBookmarksProvider/oat
Debloating /system/system/app/PhotoTable/oat
Debloating /system/system/app/Rampart/oat
Debloating /system/system/app/Roboto/oat
Debloating /system/system/app/SafetyInformation/oat
Debloating /system/system/app/SamsungOne/oat
Debloating /system/system/app/SamsungTTS/oat
Debloating /system/system/app/SamsungWeather/oat
Debloating /system/system/app/SecFactoryPhoneTest/oat
Debloating /system/system/app/SecHTMLViewer/oat
Debloating /system/system/app/SetupWizardLegalProvider/oat
Debloating /system/system/app/SilentLog/oat
Debloating /system/system/app/SLocation/oat
Debloating /system/system/app/SmartMirroring/oat
Debloating /system/system/app/SmartSwitchAgent/oat
Debloating /system/system/app/SmartSwitchStub/oat
Debloating /system/system/app/SmartTethering/oat
Debloating /system/system/app/SoundPicker_U/oat
Debloating /system/system/app/StickerCenter/oat
Debloating /system/system/app/TetheringAutomation/oat
Debloating /system/system/app/UnifiedWFC/oat
Debloating /system/system/app/UniversalMDMClient/oat
Debloating /system/system/app/USBSettings/oat
Debloating /system/system/app/VisionIntelligence3.7/oat
Debloating /system/system/app/VoiceAccess/oat
Debloating /system/system/app/VTCameraSetting/oat
Debloating /system/system/app/WifiAiService/oat
Debloating /system/system/app/WifiGuider/oat
Debloating /system/system/app/WlanTest/oat
Debloating /system/system/framework/arm
Debloating /system/system/framework/arm64
Debloating /system/system/framework/oat
Debloating /system/system/framework/boot-apache-xml.vdex
Debloating /system/system/framework/boot-bouncycastle.vdex
Debloating /system/system/framework/boot-core-icu4j.vdex
Debloating /system/system/framework/boot-core-libart.vdex
Debloating /system/system/framework/boot-esecomm.vdex
Debloating /system/system/framework/boot-ext.vdex
Debloating /system/system/framework/boot-framework-adservices.vdex
Debloating /system/system/framework/boot-framework-graphics.vdex
Debloating /system/system/framework/boot-framework.vdex
Debloating /system/system/framework/boot-ims-common.vdex
Debloating /system/system/framework/boot-knoxsdk.vdex
Debloating /system/system/framework/boot-okhttp.vdex
Debloating /system/system/framework/boot-telephony-common.vdex
Debloating /system/system/framework/boot.vdex
Debloating /system/system/framework/boot-voip-common.vdex
Debloating /system/system/priv-app/Accessibility/oat
Debloating /system/system/priv-app/AdaptSound_U/oat
Debloating /system/system/priv-app/AppsEdgePanel_v3.2/oat
Debloating /system/system/priv-app/AppUpdateCenter/oat
Debloating /system/system/priv-app/AREmojiEditor/oat
Debloating /system/system/priv-app/AREmoji/oat
Debloating /system/system/priv-app/AudioMirroring/oat
Debloating /system/system/priv-app/BadgeProvider_N/oat
Debloating /system/system/priv-app/BCService/oat
Debloating /system/system/priv-app/BeaconManager/oat
Debloating /system/system/priv-app/Bixby/oat
Debloating /system/system/priv-app/BixbyVisionFramework3.5/oat
Debloating /system/system/priv-app/BlueLightFilter/oat
Debloating /system/system/priv-app/CallBGProvider/oat
Debloating /system/system/priv-app/CIDManager/oat
Debloating /system/system/priv-app/CMHProvider/oat
Debloating /system/system/priv-app/CocktailBarService_v3.2/oat
Debloating /system/system/priv-app/CSC/oat
Debloating /system/system/priv-app/DesktopModeUiService/oat
Debloating /system/system/priv-app/DesktopSystemUI/oat
Debloating /system/system/priv-app/DeviceQualityAgent31/oat
Debloating /system/system/priv-app/DigitalWellbeing/oat
Debloating /system/system/priv-app/DressRoom/oat
Debloating /system/system/priv-app/DynamicLockscreen/oat
Debloating /system/system/priv-app/EarphoneTypeC/oat
Debloating /system/system/priv-app/EasySetup/oat
Debloating /system/system/priv-app/EmergencySOS/oat
Debloating /system/system/priv-app/EnhancedAttestationAgent/oat
Debloating /system/system/priv-app/EsimClient/oat
Debloating /system/system/priv-app/FaceService/oat
Debloating /system/system/priv-app/FactoryTestProvider/oat
Debloating /system/system/priv-app/Finder/oat
Debloating /system/system/priv-app/Fmm/oat
Debloating /system/system/priv-app/GalleryWidget/oat
Debloating /system/system/priv-app/GameOptimizingService/oat
Debloating /system/system/priv-app/GameTools_Dream/oat
Debloating /system/system/priv-app/GooglePackageInstaller/oat
Debloating /system/system/priv-app/HashTagService/oat
Debloating /system/system/priv-app/HdmApk/oat
Debloating /system/system/priv-app/IAFDManagerService/oat
Debloating /system/system/priv-app/ImsLogger/oat
Debloating /system/system/priv-app/IntelligentDynamicFpsService/oat
Debloating /system/system/priv-app/IPService/oat
Debloating /system/system/priv-app/KLMSAgent/oat
Debloating /system/system/priv-app/KmxService/oat
Debloating /system/system/priv-app/knoxanalyticsagent/oat
Debloating /system/system/priv-app/KnoxDesktopLauncher/oat
Debloating /system/system/priv-app/KnoxPushManager/oat
Debloating /system/system/priv-app/KnoxZtFramework/oat
Debloating /system/system/priv-app/KPECore/oat
Debloating /system/system/priv-app/LinkToWindowsService/oat
Debloating /system/system/priv-app/MCFDeviceSync/oat
Debloating /system/system/priv-app/MobileWips/oat
Debloating /system/system/priv-app/ModemServiceMode/oat
Debloating /system/system/priv-app/MultiControl/oat
Debloating /system/system/priv-app/MultiSoundSetting/oat
Debloating /system/system/priv-app/NSFusedLocation_v6.0/oat
Debloating /system/system/priv-app/OdaService/oat
Debloating /system/system/priv-app/OmaCP/oat
Debloating /system/system/priv-app/OMCAgent5/oat
Debloating /system/system/priv-app/PeopleStripe/oat
Debloating /system/system/priv-app/PeripheralFramework/oat
Debloating /system/system/priv-app/PhoneErrService/oat
Debloating /system/system/priv-app/PhotoRemasterService/oat
Debloating /system/system/priv-app/Quickboard/oat
Debloating /system/system/priv-app/Routines/oat
Debloating /system/system/priv-app/SamsungBilling/oat
Debloating /system/system/priv-app/SamsungCalendarProvider/oat
Debloating /system/system/priv-app/SamsungCloudClient/oat
Debloating /system/system/priv-app/SamsungContacts/oat
Debloating /system/system/priv-app/SamsungContactsProvider/oat
Debloating /system/system/priv-app/SamsungDialer/oat
Debloating /system/system/priv-app/SamsungExperienceService/oat
Debloating /system/system/priv-app/SamsungGallery2018/oat
Debloating /system/system/priv-app/SamsungInCallUI/oat
Debloating /system/system/priv-app/SamsungMessages/oat
Debloating /system/system/priv-app/SamsungMultiConnectivity/oat
Debloating /system/system/priv-app/SamsungSmartSuggestions/oat
Debloating /system/system/priv-app/SamsungVideoPlayer/oat
Debloating /system/system/priv-app/SCPMAgent/oat
Debloating /system/system/priv-app/SDMConfig/oat
Debloating /system/system/priv-app/SecAppSeparation/oat
Debloating /system/system/priv-app/SecMyFiles2020/oat
Debloating /system/system/priv-app/SecSetupWizard_Global/oat
Debloating /system/system/priv-app/SecSoundPicker/oat
Debloating /system/system/priv-app/SecTrashProvider/oat
Debloating /system/system/priv-app/SecureFolder/oat
Debloating /system/system/priv-app/SendHelpMessage/oat
Debloating /system/system/priv-app/SettingsBixby/oat
Debloating /system/system/priv-app/ShareLive/oat
Debloating /system/system/priv-app/SmartCallProvider/oat
Debloating /system/system/priv-app/SmartSwitchAssistant/oat
Debloating /system/system/priv-app/SmartThingsKit/oat
Debloating /system/system/priv-app/SOAgent7/oat
Debloating /system/system/priv-app/SohService/oat
Debloating /system/system/priv-app/SoundAlive_U/oat
Debloating /system/system/priv-app/SPPPushClient/oat
Debloating /system/system/priv-app/StickerFaceARAvatar/oat
Debloating /system/system/priv-app/StoryService/oat
Debloating /system/system/priv-app/SumeNNService/oat
Debloating /system/system/priv-app/SVCAgent/oat
Debloating /system/system/priv-app/TalkbackSE/oat
Debloating /system/system/priv-app/TaskEdgePanel_v3.2/oat
Debloating /system/system/priv-app/TelephonyUI/oat
Debloating /system/system/priv-app/ThemeCenter/oat
Debloating /system/system/priv-app/TouchWizHome_2017/oat
Debloating /system/system/priv-app/Upday/oat
Debloating /system/system/priv-app/VolumeMonitorProvider_U/oat
Debloating /system/system/priv-app/YourPhone_P1_5/oat
Debloating /system/system/app/PlayAutoInstallConfig
Debloating /system/system/app/SamsungPassAutofill_v1
Debloating /system/system/app/WebManual
Debloating /system/system/etc/init/samsung_pass_authenticator_service.rc
Debloating /system/system/etc/permissions/privapp-permissions-com.microsoft.skydrive.xml
Debloating /system/system/etc/permissions/privapp-permissions-com.samsung.android.authfw.xml
Debloating /system/system/etc/permissions/privapp-permissions-com.samsung.android.samsungpass.xml
Debloating /system/system/etc/permissions/privapp-permissions-com.sec.android.diagmonagent.xml
Debloating /system/system/etc/permissions/privapp-permissions-com.wssyncmldm.xml
Debloating /system/system/etc/sysconfig/samsungauthframework.xml
Debloating /system/system/etc/sysconfig/samsungpassapp.xml
Debloating /system/system/hidden/SmartTutor
Debloating /system/system/preload
Debloating /system/system/priv-app/AuthFramework
Debloating /system/system/priv-app/DiagMonAgent91
Debloating /system/system/priv-app/FotaAgent
Debloating /system/system/priv-app/OneDrive_Samsung_v3
Debloating /system/system/priv-app/SamsungPass
Debloating /system/system/etc/permissions/privapp-permissions-com.samsung.euicc.xml
Debloating /system/system/etc/sysconfig/preinstalled-packages-com.samsung.euicc.xml
Debloating /system/system/priv-app/EuiccService
Debloating /system/system/priv-app/AREmoji
Debloating /system/system/priv-app/AvatarEmojiSticker
Debloating /system/system/priv-app/AREmojiEditor
Debloating /system/system/etc/permissions/privapp-permissions-com.samsung.android.aremoji.xml
Debloating /system/system/etc/permissions/privapp-permissions-com.samsung.android.aremojieditor.xml
Debloating /system/system/etc/permissions/privapp-permissions-com.sec.android.mimage.avatarstickers.xml
Debloating /system/system/priv-app/StickerFaceARAvatar
Debloating /system/system/etc/default-permissions/default-permissions-com.samsung.android.aremoji.xml
Debloating /system/system/etc/default-permissions/default-permissions-com.sec.android.mimage.avatarstickers.xml
Debloating /system/system/priv-app/EsimKeyString
Debloating /system/system/etc/permissions/privapp-permissions-com.samsung.android.app.esimkeystring.xml
Debloating /system/system/etc/vpl_apks_count_list.txt
Debloating /system/system/priv-app/Bixby
Debloating /system/system/app/BixbyWakeup
Debloating /system/system/etc/permissions/privapp-permissions-com.samsung.android.bixby.wakeup.xml
Debloating /system/system/priv-app/OMCAgent5
Debloating /system/system/etc/permissions/privapp-permissions-com.samsung.android.app.omcagent.xml
Debloating /system/system/app/KidsHome_Installer
Debloating /system/system/app/Fast
Debloating /system/system/etc/permissions/privapp-permissions-com.samsung.android.knox.analytics.uploader.xml
Debloating /system/system/priv-app/knoxanalyticsagent
Debloating /system/system/priv-app/Upday
Debloating /system/system/etc/permissions/privapp-permissions-de.axelspringer.yana.zeropage.xml
Debloating /system/system/app/PartnerBookmarksProvider
Debloating /system/system/app/ChromeCustomizations
Debloating /system/system/priv-app/PhotoRemasterService
Debloating /system/system/priv-app/SumeNNService
Debloating /system/system/priv-app/SingleTakeService
Debloating /system/system/etc/permissions/privapp-permissions-com.samsung.android.photoremasterservice.xml
Debloating /system/system/etc/permissions/privapp-permissions-com.samsung.android.singletake.service.xml
Debloating /system/system/etc/default-permissions/default-permissions-com.samsung.android.singletake.service.xml
Debloating /system/system/system_ext/framework/oat
Debloating /system/system/system_ext/priv-app/GoogleFeedback/oat
Debloating /system/system/system_ext/priv-app/GoogleServicesFramework/oat
Debloating /system/system/system_ext/priv-app/SetupWizard/oat
Debloating /vendor/etc/dpolicy
Debloating /vendor/recovery-from-boot.p
Debloating /vendor/bin/install-recovery.sh
Debloating /vendor/etc/init/vendor_flash_recovery.rc

- Applying ROM packages...
- Processing "Optical FOD support" by @BlackMesa123
SOURCE_HAS_OPTICAL_FP_SENSOR is set. Ignoring
- Processing "Knox SDP support" by @BlackMesa123
Deleting "security.mdf.result" prop in /system/system/build.prop
Deleting "security.mdf" prop in /system/system/build.prop
Deleting "ro.security.mdf.ver" prop in /system/system/build.prop
Deleting "ro.security.mdf.release" prop in /system/system/build.prop
Deleting "ro.security.wlan.ver" prop in /system/system/build.prop
Deleting "ro.security.wlan.release" prop in /system/system/build.prop
Deleting "ro.security.bt.ver" prop in /system/system/build.prop
Deleting "ro.security.bt.release" prop in /system/system/build.prop
Deleting "ro.security.bio.ver" prop in /system/system/build.prop
Deleting "ro.security.bio.release" prop in /system/system/build.prop
Replacing "ro.security.fips.ux" prop with "Disabled" in /system/system/build.prop
Set up apktool env
Decompiling /system_ext/priv-app/StorageManager/StorageManager.apk
Applying "Nuke Knox DualDAR" to /system_ext/priv-app/StorageManager/StorageManager.apk
Decompiling /system/framework/framework.jar
Applying "Nuke Knox DualDAR" to /system/framework/framework.jar
Applying "Nuke MDF" to /system/framework/framework.jar
Applying "Add Knox SDP support" to /system/framework/framework.jar
Decompiling /system/framework/services.jar
Applying "Nuke Knox DualDAR" to /system/framework/services.jar
Applying "Add Knox SDP support" to /system/framework/services.jar
salvogiangri commented 7 months ago

Ig ESSI needs separated frameworks patches due to some minor differences compared to QSSI, I'm already working on those.

Fede2782 commented 7 months ago

Ig ESSI needs separated frameworks patches due to some minor differences compared to QSSI, I'm already working on those.

It worked until yesterday with my custom patches and I successfully made a UN1CA build. I did no modifies today🤣. I'll try again to get more output

salvogiangri commented 7 months ago

You can try manually applying the "Add Knox SDP support" to the decompiled services.jar to see what's the issue.