Update today, maybe something useful to help tapping into recovery. - Acer Iconia A500

Okay so the device wanted to update to 1.141 today, so I let it download the update and extracted that, as well as decoding it and looking on the data in the file. The original name of the update was 7F8CECD70FB62872B5515A59B3C9F0DF.zip
The update.zip (decrypted already) can be found here: hxxp://dl.dropbox.com/u/3430150/update_1_decrypted.zip (Blocked to post outside links, sorry. Just replace hxxp with http)
The content of /cache/recovery/last_log is as follows:
Code:
Starting recovery on Sun May 29 13:07:08 2011
can't open /dev/tty0: No such file or directory
framebuffer: fd 3 (1280 x 800)
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null) 0
1 /system ext4 /dev/block/mmcblk0p3 (null) 0
2 /data ext4 /dev/block/mmcblk0p8 (null) 0
3 /cache ext4 /dev/block/mmcblk0p4 (null) 0
4 /misc emmc /dev/block/mmcblk0p5 (null) 0
5 /flex ext4 /dev/block/mmcblk0p6 (null) 0
6 /mnt/sdcard vfat /dev/block/mmcblk1p1 (null) 0
7 /boot emmc /dev/block/mmcblk0p2 (null) 0
8 /aboot emmc /dev/block/mmcblk0p8 (null) 0
9 /recovery emmc /dev/block/mmcblk0p1 (null) 0
I:Got arguments from /cache/recovery/command
Command: "/sbin/recovery" "--update_package=CACHE:acer_ug/update.zip"
(replacing path "CACHE:acer_ug/update.zip" with "/cache/acer_ug/update.zip")
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=0
persist.service.adb.enable=0
ro.build.id=HRI66
ro.build.display.id=Acer_A500_1.105.01_EMEA_GEN3
ro.build.system.id=Acer_A500_1.105_EMEA_GEN3
ro.build.version.incremental=eng.hermit.20110406.201911
ro.build.version.sdk=11
ro.build.version.codename=REL
ro.build.version.release=3.0.1
ro.build.date=Wed Apr 6 20:19:53 CST 2011
ro.build.date.utc=1302092393
ro.build.type=user
ro.build.user=hermit
ro.build.host=apple
ro.build.tags=release-keys
ro.product.model=A500
ro.product.brand=acer
ro.product.name=picasso_emeagen3
ro.product.device=ventana
ro.product.board=ventana
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=Acer
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=tegra
ro.build.product=ventana
ro.build.description=picasso_emeagen3-user 3.0.1 HRI66 eng.hermit.20110406.201911 release-keys
ro.build.fingerprint=acer/picasso_emeagen3/ventana:3.0.1/HRI66/eng.hermit.20110406.201911:user/release-keys
ro.build.characteristics=tablet,nosdcard
ro.opengles.version=131072
wifi.interface=wlan0
keyguard.no_require_sim=1
ro.dinfo.version=1.0
ro.cpu.vendor=nVidia
ro.cpu.speed=1.0 GHz
ro.cpu.version=T20
ro.config.notification_sound=OnTheHunt.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=256m
ro.setupwizard.mode=REQUIRED
ro.com.google.gmsversion=3.0_r1
ro.com.google.clientidbase=android-acer
acer.sync.adb.mode=ENABLED
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.bootmode=unknown
ro.baseband=unknown
ro.carrier=unknown
ro.bootloader=unknown
ro.ram.size=1GB
ro.hardware=ventana
ro.revision=0
init.svc.recovery=running
ro.aceruuid=000000000000000e0b9a56e22f0
ro.build.sku=Wifi
ro.product.modelalias=A500
ro.ec.version=21010000
ro.device.sn=xeh6len0041170e0271500
ro.serialno=11705738315
ro.flash.density=32GB
init.svc.adbd=stopped
E:/dev/block/mmcblk1 does not exist
E:/dev/block/mmcblk1 does not exist
E:/dev/block/mmcblk1 does not exist
E:/dev/block/mmcblk1 does not exist
E:/dev/block/mmcblk1 does not exist
E:/dev/block/mmcblk1 does not exist
E:/dev/block/mmcblk1 does not exist
E:/dev/block/mmcblk1 does not exist
E:/dev/block/mmcblk1 does not exist
E:/dev/block/mmcblk1 does not exist
Finding update package...
I:Update location: /cache/acer_ug/update.zip
Opening update package...
I:1 key(s) loaded from /res/keys
Verifying update package...
I:comment is 1690 bytes; signature 1672 bytes from end
I:whole-file signature verified
I:verify_file returned 0
Installing update...
Verifying current system...
partition read matched size 3031040 sha be82badf7fcb94d7f5631b80360fbf0f39d74f6b
Removing unneeded files...
applying patch to /system/app/AccountAndSyncSettings.apk
target 2645 bytes; free space 182931456 bytes; retry 1; enough 1
applying patch to /system/app/AccountAndSyncSettings.odex
target 3728 bytes; free space 182931456 bytes; retry 1; enough 1
applying patch to /system/app/AcerDLNA.apk
target 338268 bytes; free space 182931456 bytes; retry 1; enough 1
Patching system files...
applying patch to /system/app/AcerOneTimeInit.odex
target 4920 bytes; free space 182923264 bytes; retry 1; enough 1
applying patch to /system/app/AcerSyncHelper.apk
target 12441 bytes; free space 182923264 bytes; retry 1; enough 1
applying patch to /system/app/AgendaWidget.apk
target 46326 bytes; free space 182923264 bytes; retry 1; enough 1
applying patch to /system/app/ApplicationsProvider.apk
target 7500 bytes; free space 182923264 bytes; retry 1; enough 1
applying patch to /system/app/ApplicationsProvider.odex
target 19896 bytes; free space 182923264 bytes; retry 1; enough 1
applying patch to /system/app/Bluetooth.apk
target 87010 bytes; free space 182923264 bytes; retry 1; enough 1
applying patch to /system/app/Bluetooth.odex
target 224968 bytes; free space 182923264 bytes; retry 1; enough 1
applying patch to /system/app/Browser.apk
target 871680 bytes; free space 182923264 bytes; retry 1; enough 1
applying patch to /system/app/Browser.odex
target 539232 bytes; free space 182923264 bytes; retry 1; enough 1
applying patch to /system/app/Calculator.apk
target 43815 bytes; free space 182923264 bytes; retry 1; enough 1
applying patch to /system/app/Calculator.odex
target 82112 bytes; free space 182923264 bytes; retry 1; enough 1
applying patch to /system/app/CalendarGoogle.apk
target 737806 bytes; free space 182923264 bytes; retry 1; enough 1
applying patch to /system/app/CalendarProvider.apk
target 12699 bytes; free space 182923264 bytes; retry 1; enough 1
applying patch to /system/app/CalendarProvider.odex
target 195424 bytes; free space 182923264 bytes; retry 1; enough 1
applying patch to /system/app/Camera.apk
target 1347826 bytes; free space 182923264 bytes; retry 1; enough 1
applying patch to /system/app/Camera.odex
target 269672 bytes; free space 182587392 bytes; retry 1; enough 1
applying patch to /system/app/CertInstaller.apk
target 25193 bytes; free space 182587392 bytes; retry 1; enough 1
applying patch to /system/app/CertInstaller.odex
target 35240 bytes; free space 182587392 bytes; retry 1; enough 1
applying patch to /system/app/ChromeBookmarksSyncAdapter.apk
target 145644 bytes; free space 182587392 bytes; retry 1; enough 1
applying patch to /system/app/Contacts.apk
target 645372 bytes; free space 182587392 bytes; retry 1; enough 1
applying patch to /system/app/Contacts.odex
target 925024 bytes; free space 182587392 bytes; retry 1; enough 1
applying patch to /system/app/ContactsProvider.apk
target 11566 bytes; free space 182587392 bytes; retry 1; enough 1
applying patch to /system/app/ContactsProvider.odex
target 544936 bytes; free space 182587392 bytes; retry 1; enough 1
applying patch to /system/app/DefaultContainerService.apk
target 4334 bytes; free space 182587392 bytes; retry 1; enough 1
applying patch to /system/app/DefaultContainerService.odex
target 15712 bytes; free space 182587392 bytes; retry 1; enough 1
applying patch to /system/app/DeskClock.apk
target 269181 bytes; free space 182587392 bytes; retry 1; enough 1
applying patch to /system/app/DeskClock.odex
target 93848 bytes; free space 182583296 bytes; retry 1; enough 1
applying patch to /system/app/DownloadProvider.apk
target 34288 bytes; free space 182583296 bytes; retry 1; enough 1
applying patch to /system/app/DownloadProvider.odex
target 166296 bytes; free space 182583296 bytes; retry 1; enough 1
applying patch to /system/app/DownloadProviderUi.apk
target 36436 bytes; free space 182583296 bytes; retry 1; enough 1
applying patch to /system/app/DownloadProviderUi.odex
target 30528 bytes; free space 182583296 bytes; retry 1; enough 1
applying patch to /system/app/DrmProvider.apk
target 7538 bytes; free space 182583296 bytes; retry 1; enough 1
applying patch to /system/app/DrmProvider.odex
target 12688 bytes; free space 182583296 bytes; retry 1; enough 1
applying patch to /system/app/Email.apk
target 599351 bytes; free space 182583296 bytes; retry 1; enough 1
applying patch to /system/app/Email.odex
target 1454760 bytes; free space 182546432 bytes; retry 1; enough 1
applying patch to /system/app/FDUpdater.apk
target 794799 bytes; free space 182542336 bytes; retry 1; enough 1
applying patch to /system/app/FWupdateService.odex
target 5824 bytes; free space 182444032 bytes; retry 1; enough 1
applying patch to /system/app/Finsky.apk
target 1061041 bytes; free space 182444032 bytes; retry 1; enough 1
applying patch to /system/app/GalleryNew3DGoogle.apk
target 1614779 bytes; free space 182444032 bytes; retry 1; enough 1
applying patch to /system/app/Gmail.apk
target 1707652 bytes; free space 182444032 bytes; retry 1; enough 1
applying patch to /system/app/GoogleBackupTransport.apk
target 68878 bytes; free space 182448128 bytes; retry 1; enough 1
applying patch to /system/app/GoogleCalendarSyncAdapter.apk
target 119380 bytes; free space 182448128 bytes; retry 1; enough 1
applying patch to /system/app/GoogleContactsSyncAdapter.apk
target 133536 bytes; free space 182448128 bytes; retry 1; enough 1
applying patch to /system/app/GoogleFeedback.apk
target 141615 bytes; free space 182448128 bytes; retry 1; enough 1
applying patch to /system/app/GoogleLoginService.apk
target 1126438 bytes; free space 182448128 bytes; retry 1; enough 1
applying patch to /system/app/GooglePartnerSetup.apk
target 88651 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/GoogleQuickSearchBox.apk
target 679801 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/GoogleServicesFramework.apk
target 1500828 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/HTMLViewer.apk
target 4474 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/HTMLViewer.odex
target 6848 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/HeroOfSparta.apk
target 4958531 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/LatinImeGoogle.apk
target 8995468 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/LatinImeTutorial.apk
target 162667 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/Launcher2.apk
target 26766383 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/Launcher2.odex
target 432800 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/LinkToAdobeFlash.odex
target 1728 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/LinkToFacebook.odex
target 1720 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/LiveWallpapersPicker.apk
target 127900 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/LiveWallpapersPicker.odex
target 23056 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/MagicSmokeWallpapers.apk
target 212988 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/MagicSmokeWallpapers.odex
target 29312 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/Maps.apk
target 6144251 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/MarketUpdater.apk
target 9039 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/MediaProvider.apk
target 11108 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/MediaProvider.odex
target 108536 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/Music2.apk
target 3605104 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/MusicA.apk
target 6584727 bytes; free space 182439936 bytes; retry 1; enough 1
applying patch to /system/app/MyLocationWidget.apk
target 179213 bytes; free space 183402496 bytes; retry 1; enough 1
applying patch to /system/app/NFS.apk
target 102386506 bytes; free space 183435264 bytes; retry 1; enough 1
applying patch to /system/app/NetworkLocation.apk
target 108731 bytes; free space 183361536 bytes; retry 1; enough 1
applying patch to /system/app/OneTimeInitializer.apk
target 7207 bytes; free space 183361536 bytes; retry 1; enough 1
applying patch to /system/app/PackageInstaller.apk
target 34958 bytes; free space 183361536 bytes; retry 1; enough 1
applying patch to /system/app/PackageInstaller.odex
target 25864 bytes; free space 183361536 bytes; retry 1; enough 1
applying patch to /system/app/Phone.apk
target 711260 bytes; free space 183361536 bytes; retry 1; enough 1
applying patch to /system/app/Phone.odex
target 585272 bytes; free space 183361536 bytes; retry 1; enough 1
applying patch to /system/app/PicoTts.odex
target 12520 bytes; free space 183361536 bytes; retry 1; enough 1
applying patch to /system/app/Settings.apk
target 2253722 bytes; free space 183361536 bytes; retry 1; enough 1
applying patch to /system/app/Settings.odex
target 765248 bytes; free space 183042048 bytes; retry 1; enough 1
applying patch to /system/app/SettingsProvider.apk
target 13733 bytes; free space 183042048 bytes; retry 1; enough 1
applying patch to /system/app/SettingsProvider.odex
target 54080 bytes; free space 183042048 bytes; retry 1; enough 1
applying patch to /system/app/SetupWizard.apk
target 1140096 bytes; free space 183042048 bytes; retry 1; enough 1
applying patch to /system/app/Street.apk
target 296419 bytes; free space 183042048 bytes; retry 1; enough 1
applying patch to /system/app/SystemUI.apk
target 731624 bytes; free space 183042048 bytes; retry 1; enough 1
applying patch to /system/app/SystemUI.odex
target 265232 bytes; free space 183042048 bytes; retry 1; enough 1
applying patch to /system/app/Talk.apk
target 1719222 bytes; free space 183042048 bytes; retry 1; enough 1
applying patch to /system/app/TelephonyProvider.apk
target 8011 bytes; free space 183042048 bytes; retry 1; enough 1
applying patch to /system/app/TelephonyProvider.odex
target 91368 bytes; free space 183042048 bytes; retry 1; enough 1
applying patch to /system/app/TtsService.apk
target 7876 bytes; free space 183042048 bytes; retry 1; enough 1
applying patch to /system/app/TtsService.odex
target 36456 bytes; free space 183042048 bytes; retry 1; enough 1
applying patch to /system/app/UserDictionaryProvider.apk
target 3510 bytes; free space 183042048 bytes; retry 1; enough 1
applying patch to /system/app/UserDictionaryProvider.odex
target 14888 bytes; free space 183042048 bytes; retry 1; enough 1
applying patch to /system/app/Vending.apk
target 1847561 bytes; free space 183042048 bytes; retry 1; enough 1
applying patch to /system/app/VisualizationWallpapers.apk
target 139770 bytes; free space 183037952 bytes; retry 1; enough 1
applying patch to /system/app/VisualizationWallpapers.odex
target 35840 bytes; free space 183037952 bytes; retry 1; enough 1
applying patch to /system/app/VoiceRecorder.apk
target 1948477 bytes; free space 183037952 bytes; retry 1; enough 1
applying patch to /system/app/WeatherWidget.apk
target 3236893 bytes; free space 183017472 bytes; retry 1; enough 1
applying patch to /system/app/YouTubeTablet.apk
target 1695977 bytes; free space 183017472 bytes; retry 1; enough 1
applying patch to /system/app/xt9.apk
target 1095855 bytes; free space 183017472 bytes; retry 1; enough 1
applying patch to /system/bin/debuggerd
target 22240 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/build.prop
target 1772 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/etc/media_profiles.xml
target 15102 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/etc/security/otacerts.zip
target 1819 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/am.jar
target 313 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/am.odex
target 29616 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/android.policy.jar
target 313 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/android.policy.odex
target 231528 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/android.test.runner.jar
target 313 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/android.test.runner.odex
target 196112 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/bmgr.jar
target 313 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/bmgr.odex
target 13640 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/bouncycastle.jar
target 313 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/bouncycastle.odex
target 934048 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/com.android.location.provider.jar
target 313 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/com.android.location.provider.odex
target 7240 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/com.google.android.maps.jar
target 157902 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/core-junit.jar
target 313 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/core-junit.odex
target 23920 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/core.jar
target 22562 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/core.odex
target 4797712 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/ext.jar
target 101174 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/ext.odex
target 1460952 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/framework-res.apk
target 5342683 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/framework.jar
target 12753 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/framework.odex
target 9118928 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/ime.jar
target 313 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/ime.odex
target 6592 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/input.jar
target 313 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/input.odex
target 4296 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/javax.obex.jar
target 313 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/javax.obex.odex
target 60520 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/monkey.jar
target 313 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/monkey.odex
target 88704 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/pm.jar
target 313 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/pm.odex
target 27824 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/services.jar
target 313 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/services.odex
target 1638968 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/sqlite-jdbc.jar
target 313 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/sqlite-jdbc.odex
target 149192 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/svc.jar
target 313 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/framework/svc.odex
target 8280 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/lib/egl/libGLES_android.so
target 82079 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/lib/hw/sensors.tegra.so
target 40588 bytes; free space 182919168 bytes; retry 1; enough 1
applying patch to /system/lib/libEGL.so
target 95597 bytes; free space 182886400 bytes; retry 1; enough 1
applying patch to /system/lib/libandroid_runtime.so
target 600311 bytes; free space 182886400 bytes; retry 1; enough 1
applying patch to /system/lib/libaudioflinger.so
target 307881 bytes; free space 182886400 bytes; retry 1; enough 1
applying patch to /system/lib/libbcc.so
target 3944716 bytes; free space 182886400 bytes; retry 1; enough 1
applying patch to /system/lib/libcamera.so
target 137612 bytes; free space 182886400 bytes; retry 1; enough 1
applying patch to /system/lib/libcameraservice.so
target 55866 bytes; free space 182882304 bytes; retry 1; enough 1
applying patch to /system/lib/libdrmframework_jni.so
target 27244 bytes; free space 182882304 bytes; retry 1; enough 1
applying patch to /system/lib/libgui.so
target 75436 bytes; free space 182882304 bytes; retry 1; enough 1
applying patch to /system/lib/libheroofsparta.so
target 1130990 bytes; free space 182882304 bytes; retry 1; enough 1
applying patch to /system/lib/libhwui.so
target 225596 bytes; free space 182882304 bytes; retry 1; enough 1
applying patch to /system/lib/libicui18n.so
target 973238 bytes; free space 182882304 bytes; retry 1; enough 1
applying patch to /system/lib/libjni_xt9input.so
target 563231 bytes; free space 182882304 bytes; retry 1; enough 1
applying patch to /system/lib/libmedia.so
target 423170 bytes; free space 182878208 bytes; retry 1; enough 1
applying patch to /system/lib/libmedia_jni.so
target 76314 bytes; free space 182878208 bytes; retry 1; enough 1
applying patch to /system/lib/libmediaplayerservice.so
target 223354 bytes; free space 182878208 bytes; retry 1; enough 1
applying patch to /system/lib/libmllite.so
target 105436 bytes; free space 182878208 bytes; retry 1; enough 1
applying patch to /system/lib/libnfsshift.so
target 428028 bytes; free space 182878208 bytes; retry 1; enough 1
applying patch to /system/lib/libnvmm_camera.so
target 295964 bytes; free space 182886400 bytes; retry 1; enough 1
applying patch to /system/lib/libnvodm_imager.so
target 226540 bytes; free space 182886400 bytes; retry 1; enough 1
applying patch to /system/lib/libnvodm_query.so
target 28028 bytes; free space 182882304 bytes; retry 1; enough 1
applying patch to /system/lib/libsensorservice.so
target 64192 bytes; free space 182882304 bytes; retry 1; enough 1
applying patch to /system/lib/libskia.so
target 1026635 bytes; free space 182882304 bytes; retry 1; enough 1
applying patch to /system/lib/libstagefright.so
target 1645631 bytes; free space 182882304 bytes; retry 1; enough 1
applying patch to /system/lib/libstlport.so
target 212915 bytes; free space 182882304 bytes; retry 1; enough 1
applying patch to /system/lib/libtalk_jni.so
target 30279660 bytes; free space 182882304 bytes; retry 1; enough 1
applying patch to /system/lib/libui.so
target 83847 bytes; free space 182878208 bytes; retry 1; enough 1
applying patch to /system/lib/libutils.so
target 165943 bytes; free space 182878208 bytes; retry 1; enough 1
applying patch to /system/lib/libvideoeditorplayer.so
target 114224 bytes; free space 182878208 bytes; retry 1; enough 1
applying patch to /system/lib/libwebcore.so
target 7343005 bytes; free space 182878208 bytes; retry 1; enough 1
applying patch to /system/lib/modules/bcm4329.ko
target 268026 bytes; free space 182874112 bytes; retry 1; enough 1
applying patch to /system/lib/modules/scsi_wait_scan.ko
target 32399 bytes; free space 182874112 bytes; retry 1; enough 1
applying patch to /system/usr/keylayout/Acer-AK00LB.kl
target 1902 bytes; free space 182874112 bytes; retry 1; enough 1
applying patch to /system/usr/xt9/config/databases.conf
target 5587 bytes; free space 182874112 bytes; retry 1; enough 1
applying patch to /system/usr/xt9/databases/ldb/DEusUN_xt9_2.ldb
target 527337 bytes; free space 182874112 bytes; retry 1; enough 1
applying patch to /system/usr/xt9/databases/ldb/ENubUN_xt9_2.ldb
target 304390 bytes; free space 182878208 bytes; retry 1; enough 1
applying patch to /system/usr/xt9/databases/ldb/ESusUN_xt9_2.ldb
target 342741 bytes; free space 182878208 bytes; retry 1; enough 1
applying patch to /system/usr/xt9/databases/ldb/FRusUN_xt9_2.ldb
target 342811 bytes; free space 182878208 bytes; retry 1; enough 1
applying patch to /system/usr/xt9/databases/ldb/ITusUN_xt9_2.ldb
target 384789 bytes; free space 182878208 bytes; retry 1; enough 1
Patching boot image...
applying patch to EMMC:/dev/block/mmcblk0p2:3031040:be82badf7fcb94d7f5631b80360fbf0f39d74f6b:3043328:a6c9422292c4d677de3f402cc0fba0be944655f8
partition read matched size 3031040 sha be82badf7fcb94d7f5631b80360fbf0f39d74f6b
1151762432 bytes free on /cache (3031040 needed)
Unpacking new files...
minzip: Extracted file "/system/app/Clearfi.apk"
minzip: Extracted file "/system/usr/xt9/config/device.conf"
minzip: Extracted file "/system/usr/xt9/databases/kdb/qwerty.arabic.center.kdb"
minzip: Extracted file "/system/usr/xt9/databases/kdb/qwerty.danish.center.kdb"
minzip: Extracted file "/system/usr/xt9/databases/kdb/qwerty.norwegian.center.kdb"
minzip: Extracted file "/system/usr/xt9/databases/kdb/qwerty.swedish.center.kdb"
minzip: Extracted file "/system/usr/xt9/databases/kdb/qwerty.thai.center.kdb"
minzip: Extracted file "/system/usr/xt9/databases/kdb/qwerty.ukrainian.center.kdb"
minzip: Extracted file "/system/usr/xt9/databases/ldb/ARlsUN_xt9.ldb"
minzip: Extracted file "/system/usr/xt9/databases/ldb/Acer_621_CSlsUN_xt9.ldb"
minzip: Extracted file "/system/usr/xt9/databases/ldb/Acer_621_DAusUN_xt9.ldb"
minzip: Extracted file "/system/usr/xt9/databases/ldb/Acer_621_NOlsUN_xt9.ldb"
minzip: Extracted file "/system/usr/xt9/databases/ldb/Acer_621_PLlsUN_xt9.ldb"
minzip: Extracted file "/system/usr/xt9/databases/ldb/Acer_621_SVusUN_xt9.ldb"
minzip: Extracted file "/system/usr/xt9/databases/ldb/Acer_621_TRlsUN_xt9.ldb"
minzip: Extracted file "/system/usr/xt9/databases/ldb/FIusUN_xt9_2.ldb"
minzip: Extracted file "/system/usr/xt9/databases/ldb/THlsUN_xt9.ldb"
minzip: Extracted file "/system/usr/xt9/databases/ldb/UKlsUN_xt9.ldb"
Unpacking new recovery...minzip: Extracted file "/system/etc/install-recovery.sh"
minzip: Extracted file "/system/recovery-from-boot.p"
Symlinks and permissions...
Random offset: 0x148
minzip: Extracted file "/tmp/0"
minzip: Extracted file "/tmp/f"
minzip: Extracted file "/tmp/imei.sh"
about to run program [/system/bin/sh] with 2 args
000000000000000
/tmp/IMEIwithBarcode /tmp/f differ byte 0
No need to do!!
000000000000000
minzip: Extracted file "/tmp/calibration.sh"
minzip: Extracted file "/tmp/calibration_f"
minzip: Extracted file "/tmp/calibration_wrong"
about to run program [/system/bin/sh] with 2 args
000000240005c5e00000000000000000000000000000000000000000000100002b4246cb
0+1 records in
0+1 records out
73 bytes transferred in 0.360 secs (202 bytes/sec)
Done!!
run_program: child exited with status 1
minzip: Extracted file "/tmp/EC_flash"
minzip: Extracted file "/tmp/ec.rom"
script result was [0.065000]
I tried to adb shell and adb logcat into it while recovering but was unable to do so...wuhuu..
Well, I hope this is of use to some of you Really want to see us able to unleash the full potentional of this device. Which we could....if just Acer wasn't such a PITA with a locked bootloader....

Related

[DEV] Check the Bootloader

As I've posted in another thread (http://forum.xda-developers.com/showthread.php?t=1056783) I weren't able to flash my CWM for the A500.
This message appeared in the upper left corner of the device (while showing the acer logo):
Code:
secure boot: image SOS checksum fail!
Now we need to find hints that could reveal what causes this and how we can fix it or avoid this.
Regards,
Tim
I'm very keen on getting this to work, I was thinking about writing acer about unlockng the bootloader (as asus and motorola have), also about src code under the GPL.
Not sure how much luck I would have lol
In the past how did we get around a locked boot loader?
I wrote them a message this morning... waiting.....
Perhaps these links could help?
http://tegradeveloper.nvidia.com/tegra/forum/workaround-run-ubuntu-now
maybe then we can use this command?
fastboot oem unlock
and I found a wiki on how to split the images and recreate them, again not sure if its useful at all.
http://tinyurl.com/39xaqtq
Sorry if they don't!
we cant enter fastboot mode its one of the main problems...
right according to the link at tegra forums you have to add it to the boot/recovery.img which is half the problem since its signed?
just shooting arrows at the wall and seeing what sticks!
what about booting the recovery from a script at kernel startup...?
a good example of this is SE X10 bootloader is locked as hell with a 1024bit encryption key that checks the kernel for key too and what has been done is hijacking the charger(this is the script that is responsible for booting the phone into a charging mode instead of loading android) script and booting the recovery if a button is pressed
this sounds interesting but I'm not known to that technique yet.
we could perhaps use fakeflash, too.
Sent from my Nexus S using Tapatalk
Bootloader seems to be encrypted
Seems like the BL is encrypted...
According to the partition table, BL should be placed @0x180000 on /dev/mmcblk0
But there seems to be encrypted stuff. I think the algorithm described in this patent is used:
faqs.org/patents/app/20100070743
--> Encrypted using SBK
According to [0027], the SBK may be flushed from the keylot in the encryption engine by the BL..
I hope acer just forgot to implement this ^^
Anyone know what kind of signature it is? 'Checksum' tells me it might be CRC, which would be just for integrity and easially spoofed.
I think the checksum starts at +0x240 and seems to have 20 bytes. Any idea what this could be?
Edit: could be sha1
Edit2: It is SHA-1..
sc2k said:
I think the checksum starts at +0x240 and seems to have 20 bytes. Any idea what this could be?
Edit: could be sha1
Edit2: It is SHA-1..
Click to expand...
Click to collapse
0x240 is the offset into the header of the id element used for writing the SHA1 signature as defined in the bootimage.h and written by the mkbootimage program in the sdk. Nothing new here. Look at the bootimage.h
Code:
#define BOOT_MAGIC "ANDROID!"
#define BOOT_MAGIC_SIZE 8
#define BOOT_NAME_SIZE 16
#define BOOT_ARGS_SIZE 512
struct boot_img_hdr
{
unsigned char magic[BOOT_MAGIC_SIZE];
unsigned kernel_size; /* size in bytes */
unsigned kernel_addr; /* physical load addr */
unsigned ramdisk_size; /* size in bytes */
unsigned ramdisk_addr; /* physical load addr */
unsigned second_size; /* size in bytes */
unsigned second_addr; /* physical load addr */
unsigned tags_addr; /* physical addr for kernel tags */
unsigned page_size; /* flash page size we assume */
unsigned unused[2]; /* future expansion: should be 0 */
unsigned char name[BOOT_NAME_SIZE]; /* asciiz product name */
unsigned char cmdline[BOOT_ARGS_SIZE];
unsigned id[8]; /* timestamp / checksum / sha1 / etc */
};
The actual checksum must be somewhere else.. flashing a working boot.img from mmcblk0p2 to mmcblk0p1 will also result in the SOS message.
If the checksum is somewhere outside it must be written by recovery.. there is some interesting code where recovery writes 4x 16 Bytes to mmcblk0p7 @0x84 after installation succeeded. It's 4x the same pattern but in my dump other data is shown there.
Any ideas what this could be?
Btw: mmcblk0p5 also has some boot flags. E.g. you can enable a tty console by calling:
$ su
$ misc_command debug on
This will modify mmcblk0p5. After reboot console=... Is appended to your boot options .
Entering recovery mode will reset the debug flag.
sc2k said:
The actual checksum must be somewhere else.. flashing a working boot.img from mmcblk0p2 to mmcblk0p1 will also result in the SOS message.
Click to expand...
Click to collapse
I believe that each partition has a different valid checksum. So something that passes the check for mmcblk0p2 does not pass for mmcblk0p1. There must be list of partitions and associated checksums somewhere.
heres the log from the last update...
Code:
Starting recovery on Tue Jun 7 11:01:19 2011
can't open /dev/tty0: No such file or directory
framebuffer: fd 3 (1280 x 800)
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null) 0
1 /system ext4 /dev/block/mmcblk0p3 (null) 0
2 /data ext4 /dev/block/mmcblk0p8 (null) 0
3 /cache ext4 /dev/block/mmcblk0p4 (null) 0
4 /misc emmc /dev/block/mmcblk0p5 (null) 0
5 /flex ext4 /dev/block/mmcblk0p6 (null) 0
6 /mnt/sdcard vfat /dev/block/mmcblk1p1 (null) 0
7 /boot emmc /dev/block/mmcblk0p2 (null) 0
8 /aboot emmc /dev/block/mmcblk0p8 (null) 0
9 /recovery emmc /dev/block/mmcblk0p1 (null) 0
I:Got arguments from boot message
Command: "recovery" "--update_package=SDCARD:update.zip"
(replacing path "SDCARD:update.zip" with "/mnt/sdcard/update.zip")
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=0
persist.service.adb.enable=0
ro.build.id=HRI66
ro.build.display.id=Acer_A500_1.139.01_COM_GEN1
ro.build.system.id=Acer_A500_1.139_COM_GEN1
ro.build.version.incremental=eng.hermit.20110511.221202
ro.build.version.sdk=11
ro.build.version.codename=REL
ro.build.version.release=3.0.1
ro.build.date=Wed May 11 22:12:55 CST 2011
ro.build.date.utc=1305123175
ro.build.type=user
ro.build.user=hermit
ro.build.host=apple
ro.build.tags=release-keys
ro.product.model=A500
ro.product.brand=acer
ro.product.name=picasso_generic1
ro.product.device=ventana
ro.product.board=ventana
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=Acer
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=tegra
ro.build.product=ventana
ro.build.description=picasso_generic1-user 3.0.1 HRI66 eng.hermit.20110511.221202 release-keys
ro.build.fingerprint=acer/picasso_generic1/ventana:3.0.1/HRI66/eng.hermit.20110511.221202:user/release-keys
ro.build.characteristics=tablet,nosdcard
ro.opengles.version=131072
wifi.interface=wlan0
keyguard.no_require_sim=1
ro.dinfo.version=1.0
ro.cpu.vendor=nVidia
ro.cpu.speed=1.0 GHz
ro.cpu.version=T20
ro.config.notification_sound=OnTheHunt.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=256m
ro.com.google.clientidbase=android-acer
acer.sync.adb.mode=ENABLED
ro.com.google.gmsversion=3.0_r5
ro.setupwizard.mode=REQUIRED
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.bootmode=unknown
ro.baseband=unknown
ro.carrier=unknown
ro.bootloader=unknown
ro.ram.size=1GB
ro.hardware=ventana
ro.revision=0
init.svc.recovery=running
E:/dev/block/mmcblk1 does exist
Finding update package...
I:Update location: /mnt/sdcard/update.zip
Opening update package...
I:1 key(s) loaded from /res/keys
Verifying update package...
I:comment is 1690 bytes; signature 1672 bytes from end
I:whole-file signature verified
I:verify_file returned 0
Installing update...
Verifying current system...
partition read matched size 3043328 sha 23917956b398554dc14fe6c2d86ab3e358bfba5c
Removing unneeded files...
applying patch to /system/app/AccountAndSyncSettings.apk
target 2646 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/ApplicationsProvider.apk
target 6948 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/Bluetooth.apk
target 71682 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/Browser.apk
target 824116 bytes; free space 160763904 bytes; retry 1; enough 1
Patching system files...
applying patch to /system/app/Calculator.apk
target 42343 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/CalendarProvider.apk
target 11855 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/CertInstaller.apk
target 20049 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/Contacts.apk
target 588436 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/ContactsProvider.apk
target 10594 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/DefaultContainerService.apk
target 4118 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/DownloadProvider.apk
target 26496 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/DownloadProviderUi.apk
target 32560 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/DrmProvider.apk
target 6498 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/FDUpdater.apk
target 794799 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/HTMLViewer.apk
target 4262 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/Launcher2.apk
target 26757819 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/LiveWallpapersPicker.apk
target 126452 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/MagicSmokeWallpapers.apk
target 212304 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/MediaProvider.apk
target 10776 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/PackageInstaller.apk
target 29398 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/Phone.apk
target 618972 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/Settings.apk
target 2039503 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/SettingsProvider.apk
target 13385 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/SystemUI.apk
target 727904 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/TelephonyProvider.apk
target 7779 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/TtsService.apk
target 7876 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/UserDictionaryProvider.apk
target 3506 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/VisualizationWallpapers.apk
target 138038 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/bin/debuggerd
target 22240 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/build.prop
target 1770 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/am.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/am.odex
target 29616 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/android.policy.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/android.policy.odex
target 231528 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/android.test.runner.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/android.test.runner.odex
target 196112 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/bmgr.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/bmgr.odex
target 13640 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/bouncycastle.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/bouncycastle.odex
target 934048 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/com.android.location.provider.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/com.android.location.provider.odex
target 7240 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/core-junit.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/core-junit.odex
target 23920 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/core.jar
target 22562 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/core.odex
target 4797712 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/ext.jar
target 101174 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/ext.odex
target 1460952 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/framework-res.apk
target 5116851 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/framework.jar
target 12753 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/framework.odex
target 9118928 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/ime.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/ime.odex
target 6592 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/input.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/input.odex
target 4296 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/javax.obex.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/javax.obex.odex
target 60520 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/monkey.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/monkey.odex
target 88704 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/pm.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/pm.odex
target 27824 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/services.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/services.odex
target 1638968 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/sqlite-jdbc.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/sqlite-jdbc.odex
target 149192 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/svc.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/svc.odex
target 8280 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/lib/libEGL.so
target 95597 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/lib/libandroid_runtime.so
target 600311 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/lib/libbcc.so
target 3944716 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/lib/libcameraservice.so
target 55866 bytes; free space 160739328 bytes; retry 1; enough 1
applying patch to /system/lib/libgui.so
target 75436 bytes; free space 160739328 bytes; retry 1; enough 1
applying patch to /system/lib/libhwui.so
target 225596 bytes; free space 160739328 bytes; retry 1; enough 1
applying patch to /system/lib/libmedia.so
target 423170 bytes; free space 160739328 bytes; retry 1; enough 1
applying patch to /system/lib/libmedia_jni.so
target 76314 bytes; free space 160739328 bytes; retry 1; enough 1
applying patch to /system/lib/libmediaplayerservice.so
target 223354 bytes; free space 160739328 bytes; retry 1; enough 1
applying patch to /system/lib/libmllite.so
target 105436 bytes; free space 160739328 bytes; retry 1; enough 1
applying patch to /system/lib/libsensorservice.so
target 64192 bytes; free space 160739328 bytes; retry 1; enough 1
applying patch to /system/lib/libskia.so
target 1026635 bytes; free space 160739328 bytes; retry 1; enough 1
applying patch to /system/lib/libstagefright.so
target 1645631 bytes; free space 160739328 bytes; retry 1; enough 1
applying patch to /system/lib/libstagefright_omx.so
target 55098 bytes; free space 160735232 bytes; retry 1; enough 1
applying patch to /system/lib/libstlport.so
target 212915 bytes; free space 160735232 bytes; retry 1; enough 1
applying patch to /system/lib/libui.so
target 83847 bytes; free space 160735232 bytes; retry 1; enough 1
applying patch to /system/lib/libutils.so
target 165943 bytes; free space 160735232 bytes; retry 1; enough 1
applying patch to /system/lib/libvideoeditorplayer.so
target 114224 bytes; free space 160735232 bytes; retry 1; enough 1
applying patch to /system/lib/libwebcore.so
target 7343005 bytes; free space 160735232 bytes; retry 1; enough 1
Patching boot image...
applying patch to EMMC:/dev/block/mmcblk0p2:3043328:23917956b398554dc14fe6c2d86ab3e358bfba5c:3043328:5c7d8b4e98bb083ae8f0d8f585a3aca3a9833d34
partition read matched size 3043328 sha 23917956b398554dc14fe6c2d86ab3e358bfba5c
0 bytes free on /cache (3043328 needed)
error opening /cache/recovery/otatest: No such file or directory
0 regular files in deletable directories
no files can be deleted to free space on /cache
not enough free space on /cache
minzip: Extracted file "/system/etc/install-recovery.sh"
minzip: Extracted file "/system/recovery-from-boot.p"
Unpacking new recovery...
Symlinks and permissions...
Random offset: 0x29f
minzip: Extracted file "/tmp/0"
minzip: Extracted file "/tmp/f"
minzip: Extracted file "/tmp/imei.sh"
about to run program [/system/bin/sh] with 2 args
000000000000000
/tmp/IMEIwithBarcode /tmp/f differ byte 0
No need to do!!
000000000000000
minzip: Extracted file "/tmp/calibration.sh"
minzip: Extracted file "/tmp/calibration_f"
minzip: Extracted file "/tmp/calibration_wrong"
about to run program [/system/bin/sh] with 2 args
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
/tmp/GyroGain /tmp/calibration_wrong differ byte 0
No need to do!!
minzip: Extracted file "/tmp/EC_flash"
minzip: Extracted file "/tmp/ec.rom"
script result was [t]
i have a feeling that EC_flash & ec.rom are actually flasher with bootloader...
thor2002ro said:
heres the log from the last update...
Code:
Starting recovery on Tue Jun 7 11:01:19 2011
can't open /dev/tty0: No such file or directory
framebuffer: fd 3 (1280 x 800)
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null) 0
1 /system ext4 /dev/block/mmcblk0p3 (null) 0
2 /data ext4 /dev/block/mmcblk0p8 (null) 0
3 /cache ext4 /dev/block/mmcblk0p4 (null) 0
4 /misc emmc /dev/block/mmcblk0p5 (null) 0
5 /flex ext4 /dev/block/mmcblk0p6 (null) 0
6 /mnt/sdcard vfat /dev/block/mmcblk1p1 (null) 0
7 /boot emmc /dev/block/mmcblk0p2 (null) 0
8 /aboot emmc /dev/block/mmcblk0p8 (null) 0
9 /recovery emmc /dev/block/mmcblk0p1 (null) 0
I:Got arguments from boot message
Command: "recovery" "--update_package=SDCARD:update.zip"
(replacing path "SDCARD:update.zip" with "/mnt/sdcard/update.zip")
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=0
persist.service.adb.enable=0
ro.build.id=HRI66
ro.build.display.id=Acer_A500_1.139.01_COM_GEN1
ro.build.system.id=Acer_A500_1.139_COM_GEN1
ro.build.version.incremental=eng.hermit.20110511.221202
ro.build.version.sdk=11
ro.build.version.codename=REL
ro.build.version.release=3.0.1
ro.build.date=Wed May 11 22:12:55 CST 2011
ro.build.date.utc=1305123175
ro.build.type=user
ro.build.user=hermit
ro.build.host=apple
ro.build.tags=release-keys
ro.product.model=A500
ro.product.brand=acer
ro.product.name=picasso_generic1
ro.product.device=ventana
ro.product.board=ventana
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=Acer
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=tegra
ro.build.product=ventana
ro.build.description=picasso_generic1-user 3.0.1 HRI66 eng.hermit.20110511.221202 release-keys
ro.build.fingerprint=acer/picasso_generic1/ventana:3.0.1/HRI66/eng.hermit.20110511.221202:user/release-keys
ro.build.characteristics=tablet,nosdcard
ro.opengles.version=131072
wifi.interface=wlan0
keyguard.no_require_sim=1
ro.dinfo.version=1.0
ro.cpu.vendor=nVidia
ro.cpu.speed=1.0 GHz
ro.cpu.version=T20
ro.config.notification_sound=OnTheHunt.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=256m
ro.com.google.clientidbase=android-acer
acer.sync.adb.mode=ENABLED
ro.com.google.gmsversion=3.0_r5
ro.setupwizard.mode=REQUIRED
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.bootmode=unknown
ro.baseband=unknown
ro.carrier=unknown
ro.bootloader=unknown
ro.ram.size=1GB
ro.hardware=ventana
ro.revision=0
init.svc.recovery=running
E:/dev/block/mmcblk1 does exist
Finding update package...
I:Update location: /mnt/sdcard/update.zip
Opening update package...
I:1 key(s) loaded from /res/keys
Verifying update package...
I:comment is 1690 bytes; signature 1672 bytes from end
I:whole-file signature verified
I:verify_file returned 0
Installing update...
Verifying current system...
partition read matched size 3043328 sha 23917956b398554dc14fe6c2d86ab3e358bfba5c
Removing unneeded files...
applying patch to /system/app/AccountAndSyncSettings.apk
target 2646 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/ApplicationsProvider.apk
target 6948 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/Bluetooth.apk
target 71682 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/Browser.apk
target 824116 bytes; free space 160763904 bytes; retry 1; enough 1
Patching system files...
applying patch to /system/app/Calculator.apk
target 42343 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/CalendarProvider.apk
target 11855 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/CertInstaller.apk
target 20049 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/Contacts.apk
target 588436 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/ContactsProvider.apk
target 10594 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/DefaultContainerService.apk
target 4118 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/DownloadProvider.apk
target 26496 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/DownloadProviderUi.apk
target 32560 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/DrmProvider.apk
target 6498 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/FDUpdater.apk
target 794799 bytes; free space 160763904 bytes; retry 1; enough 1
applying patch to /system/app/HTMLViewer.apk
target 4262 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/Launcher2.apk
target 26757819 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/LiveWallpapersPicker.apk
target 126452 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/MagicSmokeWallpapers.apk
target 212304 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/MediaProvider.apk
target 10776 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/PackageInstaller.apk
target 29398 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/Phone.apk
target 618972 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/Settings.apk
target 2039503 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/SettingsProvider.apk
target 13385 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/SystemUI.apk
target 727904 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/TelephonyProvider.apk
target 7779 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/TtsService.apk
target 7876 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/UserDictionaryProvider.apk
target 3506 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/app/VisualizationWallpapers.apk
target 138038 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/bin/debuggerd
target 22240 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/build.prop
target 1770 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/am.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/am.odex
target 29616 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/android.policy.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/android.policy.odex
target 231528 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/android.test.runner.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/android.test.runner.odex
target 196112 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/bmgr.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/bmgr.odex
target 13640 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/bouncycastle.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/bouncycastle.odex
target 934048 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/com.android.location.provider.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/com.android.location.provider.odex
target 7240 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/core-junit.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/core-junit.odex
target 23920 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/core.jar
target 22562 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/core.odex
target 4797712 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/ext.jar
target 101174 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/ext.odex
target 1460952 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/framework-res.apk
target 5116851 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/framework.jar
target 12753 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/framework.odex
target 9118928 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/ime.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/ime.odex
target 6592 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/input.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/input.odex
target 4296 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/javax.obex.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/javax.obex.odex
target 60520 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/monkey.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/monkey.odex
target 88704 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/pm.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/pm.odex
target 27824 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/services.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/services.odex
target 1638968 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/sqlite-jdbc.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/sqlite-jdbc.odex
target 149192 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/svc.jar
target 313 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/framework/svc.odex
target 8280 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/lib/libEGL.so
target 95597 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/lib/libandroid_runtime.so
target 600311 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/lib/libbcc.so
target 3944716 bytes; free space 160743424 bytes; retry 1; enough 1
applying patch to /system/lib/libcameraservice.so
target 55866 bytes; free space 160739328 bytes; retry 1; enough 1
applying patch to /system/lib/libgui.so
target 75436 bytes; free space 160739328 bytes; retry 1; enough 1
applying patch to /system/lib/libhwui.so
target 225596 bytes; free space 160739328 bytes; retry 1; enough 1
applying patch to /system/lib/libmedia.so
target 423170 bytes; free space 160739328 bytes; retry 1; enough 1
applying patch to /system/lib/libmedia_jni.so
target 76314 bytes; free space 160739328 bytes; retry 1; enough 1
applying patch to /system/lib/libmediaplayerservice.so
target 223354 bytes; free space 160739328 bytes; retry 1; enough 1
applying patch to /system/lib/libmllite.so
target 105436 bytes; free space 160739328 bytes; retry 1; enough 1
applying patch to /system/lib/libsensorservice.so
target 64192 bytes; free space 160739328 bytes; retry 1; enough 1
applying patch to /system/lib/libskia.so
target 1026635 bytes; free space 160739328 bytes; retry 1; enough 1
applying patch to /system/lib/libstagefright.so
target 1645631 bytes; free space 160739328 bytes; retry 1; enough 1
applying patch to /system/lib/libstagefright_omx.so
target 55098 bytes; free space 160735232 bytes; retry 1; enough 1
applying patch to /system/lib/libstlport.so
target 212915 bytes; free space 160735232 bytes; retry 1; enough 1
applying patch to /system/lib/libui.so
target 83847 bytes; free space 160735232 bytes; retry 1; enough 1
applying patch to /system/lib/libutils.so
target 165943 bytes; free space 160735232 bytes; retry 1; enough 1
applying patch to /system/lib/libvideoeditorplayer.so
target 114224 bytes; free space 160735232 bytes; retry 1; enough 1
applying patch to /system/lib/libwebcore.so
target 7343005 bytes; free space 160735232 bytes; retry 1; enough 1
Patching boot image...
applying patch to EMMC:/dev/block/mmcblk0p2:3043328:23917956b398554dc14fe6c2d86ab3e358bfba5c:3043328:5c7d8b4e98bb083ae8f0d8f585a3aca3a9833d34
partition read matched size 3043328 sha 23917956b398554dc14fe6c2d86ab3e358bfba5c
0 bytes free on /cache (3043328 needed)
error opening /cache/recovery/otatest: No such file or directory
0 regular files in deletable directories
no files can be deleted to free space on /cache
not enough free space on /cache
minzip: Extracted file "/system/etc/install-recovery.sh"
minzip: Extracted file "/system/recovery-from-boot.p"
Unpacking new recovery...
Symlinks and permissions...
Random offset: 0x29f
minzip: Extracted file "/tmp/0"
minzip: Extracted file "/tmp/f"
minzip: Extracted file "/tmp/imei.sh"
about to run program [/system/bin/sh] with 2 args
000000000000000
/tmp/IMEIwithBarcode /tmp/f differ byte 0
No need to do!!
000000000000000
minzip: Extracted file "/tmp/calibration.sh"
minzip: Extracted file "/tmp/calibration_f"
minzip: Extracted file "/tmp/calibration_wrong"
about to run program [/system/bin/sh] with 2 args
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
/tmp/GyroGain /tmp/calibration_wrong differ byte 0
No need to do!!
minzip: Extracted file "/tmp/EC_flash"
minzip: Extracted file "/tmp/ec.rom"
script result was [t]
i have a feeling that EC_flash & ec.rom are actually flasher with bootloader...
Click to expand...
Click to collapse
This part seems to be interesting:
Code:
partition read matched size 3043328 sha 23917956b398554dc14fe6c2d86ab3e358bfba5c
Removing unneeded files...
This is a very good hint!
Edit: not really. This is after the signature check...
Sent from my GT-I9000 using XDA App
yea, but if it's not checking that signature every boot and only checking the checksum, we could build the image and use dd to flash it
netham45 said:
yea, but if it's not checking that signature every boot and only checking the checksum, we could build the image and use dd to flash it
Click to expand...
Click to collapse
But can't we already do that now? /system can be flashed with whatever you want.
huxflux2003 said:
But can't we already do that now? /system can be flashed with whatever you want.
Click to expand...
Click to collapse
But if the checksum on the boot.img isn't valid, it will refuse to boot.

Kernel Building

I need help building the Kernel, I am learning to do this stuff on the fly so please bear with me.
I have everything installed that I need to, and everything set up.
Code:
$ make ARCH=arm CROSS_COMPILE=~/android/toolchain-4.6.3/bin -j4
Traceback (most recent call last):
File "/home/Brandon/android/Kernel/scripts/gcc-wrapper.py", line 107, in <module>
status = run_gcc()
File "/home/Brandon/android/Kernel/scripts/gcc-wrapper.py", line 97, in run_gcc
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
CHK include/linux/version.h
CHK include/generated/utsrelease.h
HOSTCC scripts/kallsyms
HOSTCC scripts/conmakehash
HOSTCC scripts/bin2c
CC scripts/mod/empty.o
scripts/kallsyms.c: In function ‘read_symbol’:
scripts/kallsyms.c:125:2: warning: array subscript has type ‘char’
scripts/kallsyms.c:135:2: warning: array subscript has type ‘char’
scripts/conmakehash.c: In function ‘getunicode’:
scripts/conmakehash.c:41:7: warning: array subscript has type ‘char’
scripts/conmakehash.c:41:7: warning: array subscript has type ‘char’
scripts/conmakehash.c:41:7: warning: array subscript has type ‘char’
scripts/conmakehash.c:42:7: warning: array subscript has type ‘char’
scripts/conmakehash.c:42:7: warning: array subscript has type ‘char’
Traceback (most recent call last):
File "/home/Brandon/android/Kernel/scripts/gcc-wrapper.py", line 107, in <module>
status = run_gcc()
File "/home/Brandon/android/Kernel/scripts/gcc-wrapper.py", line 97, in run_gcc
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
scripts/Makefile.build:305: recipe for target `scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 1
scripts/Makefile.build:441: recipe for target `scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
Makefile:513: recipe for target `scripts' failed
make: *** [scripts] Error 2
It's giving me this every time. I pulled /proc/config.gz and extracted the .config
This is the stock kernel with stock config. What is wrong?
Even "make modules" is giving errors

Mako Kernel build issue

latest commit 5194a3d in https://android.googlesource.com/kernel/msm/+log/android-msm-mako-3.4-jb-mr1/ throws an error in Prima
drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessMlmRspMessages.c: In function 'limHandleDelBssInReAssocContext':
drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessMlmRspMessages.c:4701: warning: the frame size of 2584 bytes is larger than 1024 bytes; see http://go/big_stack_frame
error, forbidden warning: limProcessMlmRspMessages.c:4701
make[3]: *** [drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessMlmRspMessages.o] Error 1
make[2]: *** [drivers/staging/prima] Error 2
make[1]: *** [drivers/staging] Error 2
Any clues?
For these who will search for fix:
https://github.com/franciscofranco/mako/commit/5a7da427e24fd8da8f4f9dd27702044e5b35e3d3
https://github.com/franciscofranco/mako/commit/faeac9ff5597238db35b3c30d85e8f03f2d8a8b3
Thanks Franco
Adam

Help regarding compiling Omnirom for CM source for htc msm8960.

I am trying to compile Omni for Ville but I am not able to over come the following hurdle. Can some one suggest me where I missed something. This is what I get.
target thumb C: mkexfatfs <= bootable/recovery/exfat/mkfs/uctc.c
target thumb C: mkexfatfs <= bootable/recovery/exfat/mkfs/vbr.c
make: *** No rule to make target '/home/ace/android/omni/out/target/product/ville/system/lib/libcryptfslollipop.so', needed by '/home/ace/android/omni/out/target/product/ville/obj/SHARED_LIBRARIES/libbmlutils_intermediates/teamwin'. Stop.
make: *** Waiting for unfinished jobs....
target StaticLib: libfusetwrp (/home/ace/android/omni/out/target/product/ville/obj/STATIC_LIBRARIES/libfusetwrp_intermediates/libfusetwrp.a)
real 2m23.315s
user 2m48.614s
sys 2m2.250s
[email protected]:~/android/omni$
Click to expand...
Click to collapse
letsurock said:
I am trying to compile Omni for Ville but I am not able to over come the following hurdle. Can some one suggest me where I missed something. This is what I get.
Click to expand...
Click to collapse
Set TW_INCLUDE_CRYPTO := false for now, Dees-Troy added a commit to use that .so but did not include it in the prebuilts. I have not found the file anywhere on the net.
ktoonsez said:
Set TW_INCLUDE_CRYPTO := false for now, Dees-Troy added a commit to use that .so but did not include it in the prebuilts. I have not found the file anywhere on the net.
Click to expand...
Click to collapse
Thanks:good: it did the trick, but now I have this problem.
Notice file: external/scrypt/NOTICE -- /home/ace/android/omni/out/target/product/ville/obj/NOTICE_FILES/src//system/lib/libscrypt_static.a.txt
make: *** No rule to make target '/home/ace/android/omni/out/target/product/ville/obj/SHARED_LIBRARIES/libqcci_legacy_intermediates/export_includes', needed by '/home/ace/android/omni/out/target/product/ville/obj/EXECUTABLES/wcnss_service_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Notice file: system/extras/f2fs_utils/NOTICE -- /home/ace/android/omni/out/target/product/ville/obj/NOTICE_FILES/src//system/lib/libf2fs_sparseblock.so.txt
real 4m51.854s
user 4m14.897s
Click to expand...
Click to collapse
Tried to recompile and that error disappreared. Now, this problem.
target thumb C: amix <= hardware/qcom/audio/legacy/libalsa-intf/amix.c
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:33:23: fatal error: sound/tlv.h: No such file or directory
#include <sound/tlv.h>
^
compilation terminated.
build/core/binary.mk:698: recipe for target '/home/ace/android/omni/out/target/product/ville/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_mixer.o' failed
make: *** [/home/ace/android/omni/out/target/product/ville/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_mixer.o] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
letsurock said:
Tried to recompile and that error disappreared. Now, this problem.
Click to expand...
Click to collapse
You got some problems in your device tree, as the error says you missing a header file, nothing to do with recovery though
ktoonsez said:
You got some problems in your device tree, as the error says you missing a header file, nothing to do with recovery though
Click to expand...
Click to collapse
Will look at it at this weekend. Thanks for your advices.
Ok, dug deeper on the crypto part and found that there is a config that needs changing:
Change this:
TW_INCLUDE_CRYPTO
To this:
TW_INCLUDE_L_CRYPTO
Something with Wifi?
Can some one guide me to overcome this error?
Import includes file: /home/ace/android/omni/out/target/product/ville/obj/EXECUTABLES/dumpstate_intermediates/import_includes
target thumb C: libdumpstate.default <= frameworks/native/cmds/dumpstate/libdumpstate_default.c
target thumb C++: dumpsys <= frameworks/native/cmds/dumpsys/dumpsys.cpp
target thumb C: mount.exfat <= external/exfat/main.c
target thumb C: gzip <= external/zlib/src/test/minigzip.c
make: *** No rule to make target '/home/ace/android/omni/out/target/product/ville/obj/STATIC_LIBRARIES/lib_driver_cmd_qcwcn_intermediates/export_includes', needed by '/home/ace/android/omni/out/target/product/ville/obj/EXECUTABLES/hostapd_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
real 25m14.641s
user 65m59.889s
sys 18m12.959s
Click to expand...
Click to collapse
Thank you.
letsurock said:
Thanks:good: it did the trick, but now I have this problem.
Click to expand...
Click to collapse
Quote:
Notice file: external/scrypt/NOTICE -- /home/ace/android/omni/out/target/product/ville/obj/NOTICE_FILES/src//system/lib/libscrypt_static.a.txt
make: *** No rule to make target '/home/ace/android/omni/out/target/product/ville/obj/SHARED_LIBRARIES/libqcci_legacy_intermediates/export_includes', needed by '/home/ace/android/omni/out/target/product/ville/obj/EXECUTABLES/wcnss_service_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Notice file: system/extras/f2fs_utils/NOTICE -- /home/ace/android/omni/out/target/product/ville/obj/NOTICE_FILES/src//system/lib/libf2fs_sparseblock.so.txt
got the same error , someone fix it ????
i build for lg msm8226 device.
Thx in advance..............
shoxxy said:
Quote:
Notice file: external/scrypt/NOTICE -- /home/ace/android/omni/out/target/product/ville/obj/NOTICE_FILES/src//system/lib/libscrypt_static.a.txt
make: *** No rule to make target '/home/ace/android/omni/out/target/product/ville/obj/SHARED_LIBRARIES/libqcci_legacy_intermediates/export_includes', needed by '/home/ace/android/omni/out/target/product/ville/obj/EXECUTABLES/wcnss_service_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Notice file: system/extras/f2fs_utils/NOTICE -- /home/ace/android/omni/out/target/product/ville/obj/NOTICE_FILES/src//system/lib/libf2fs_sparseblock.so.txt
got the same error , someone fix it ????
i build for lg msm8226 device.
Thx in advance..............
Click to expand...
Click to collapse
No, not yet fixed.
letsurock said:
No, not yet fixed.
Click to expand...
Click to collapse
Thx for reply.................
set
TARGET_USES_QCOM_WCNSS_QMI := true
to false or remove it , works for me but i dont know if its used by your device. saw this ijn a opo repo, and tryed it out
shoxxy said:
Thx for reply.................
set
TARGET_USES_QCOM_WCNSS_QMI := true
to false or remove it , works for me but i dont know if its used by your device. saw this ijn a opo repo, and tryed it out
Click to expand...
Click to collapse
Thanks it worked.
But now I have this problem
frameworks/base/core/jni/android_view_Surface.cpp: In function 'void android::nativeSetDirtyRect(JNIEnv*, jclass, jlong, jobject)':
frameworks/base/core/jni/android_view_Surface.cpp:206:14: error: 'class android::Surface' has no member named 'setDirtyRect'
surface->setDirtyRect(&rect);
^
target thumb C++: libandroid_runtime <= frameworks/base/core/jni/android_view_InputChannel.cpp
build/core/binary.mk:618: recipe for target '/home/ace/android/omni/out/target/product/ville/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/android_view_Surface.o' failed
make: *** [/home/ace/android/omni/out/target/product/ville/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/android_view_Surface.o] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
It wants CAF code not yet implimented in OmniROM it seems, you're building for 5.0?
Edit: You're for sure using CM12 as a base, dirtyrect is a hallmark of 'MSM8960', Repo sync CM12 or just the surface.cpp file and diff it against Omni to add the needed support.
As someone who built for moto_MSM8960 which is basically the same thing; expect to have to change a LOT in Omni source in order to achieve that compatibility
Edit: You could also try to specify 'legacy' instead of 'caf' in your configurations too..
Thanks:good:
ktoonsez said:
You got some problems in your device tree, as the error says you missing a header file, nothing to do with recovery though
Click to expand...
Click to collapse
Hey @ktoonsez,
I'm currently working through the the same set of issues trying to build Lollipop Omni on the motorola mb886, which is also msm8960 based in this thread
and I'm kinda stuck.
I initially got the Surface.cpp errors outlined later in this thread. Just tweaked that one file to match the Cyanogenmod source (commit here) based on what @Tqr said.
Now I'm also dealing with the sound/tlv.h fatal error. I'm not really sure where exactly I could go in the device tree to start debugging this? My device source that I'm working with is here.
A tlv.h header file exists in my ~/omni2/kernel/motorola/msm8960-common/include/sound directory, which is the same place it did for cm12 which built fine.
ssuds said:
Hey @ktoonsez,
I'm currently working through the the same set of issues trying to build Lollipop Omni on the motorola mb886, which is also msm8960 based in this thread
and I'm kinda stuck.
I initially got the Surface.cpp errors outlined later in this thread. Just tweaked that one file to match the Cyanogenmod source (commit here) based on what @Tqr said.
Now I'm also dealing with the sound/tlv.h fatal error. I'm not really sure where exactly I could go in the device tree to start debugging this? My device source that I'm working with is here.
A tlv.h header file exists in my ~/omni2/kernel/motorola/msm8960-common/include/sound directory, which is the same place it did for cm12 which built fine.
Click to expand...
Click to collapse
Please give me your full error log, off-hand I want to say this is an issue in GCCprebuilts where two lines of code must be removed for some reason
Edit: You have a MSM8960 based device, It's most likely an error in prebuilts
Tqr said:
Please give me your full error log, off-hand I want to say this is an issue in GCCprebuilts where two lines of code must be removed for some reason
Edit: You have a MSM8960 based device, It's most likely an error in prebuilts
Click to expand...
Click to collapse
Gotcha, below is the error, hopefully this is what you wanted. Also, was I on the right track with that change in the android_view_Surface.cpp?
Thanks!
ssuds said:
Edit2: now it builds further but breaks on an audio blob
Code:
target thumb C: libalsa-intf <= hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:33:23: fatal error: sound/tlv.h: No such file or directory
#include <sound/tlv.h>
^
compilation terminated.
make: *** [/home/shreyas/omni2/out/target/product/mb886/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_mixer.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c: In function 'pcm_avail':
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:401:9: warning: format '%d' expects argument of type 'int', but argument 4 has type 'snd_pcm_uframes_t' [-Wformat=]
ALOGV("hw_ptr = %d buf_size = %d appl_ptr = %d\n",
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:401:9: warning: format '%d' expects argument of type 'int', but argument 6 has type 'snd_pcm_uframes_t' [-Wformat=]
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c: In function 'dst_address':
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:467:22: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
return pcm->addr + pcm_offset;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c: In function 'mmap_transfer':
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:471:57: warning: unused parameter 'offset' [-Wunused-parameter]
int mmap_transfer(struct pcm *pcm, void *data, unsigned offset,
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c: In function 'mmap_transfer_capture':
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:505:26: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
src_addr = pcm->addr + pcm_offset;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:492:65: warning: unused parameter 'offset' [-Wunused-parameter]
int mmap_transfer_capture(struct pcm *pcm, void *data, unsigned offset,
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c: In function 'pcm_write_mmap':
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:555:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((bytes_written >= pcm->sw_p->start_threshold) && (!pcm->start)) {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:526:50: warning: unused parameter 'data' [-Wunused-parameter]
static int pcm_write_mmap(struct pcm *pcm, void *data, unsigned count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c: In function 'enable_timer':
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:668:8: warning: return makes integer from pointer without a cast [enabled by default]
return &bad_pcm;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:697:11: warning: return makes integer from pointer without a cast [enabled by default]
return &bad_pcm;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c: In function 'pcm_open':
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:780:9: warning: return makes pointer from integer without a cast [enabled by default]
return -EINVAL;
^
real 25m34.029s
user 66m21.505s
sys 16m39.325s
[email protected]:~/omni2$
tlv.h exists in my ~/omni2/kernel/motorola/msm8960-common/include/sound directory, same place it did for cm12 which built fine.
Edit3: Think I'm getting closer... Now I'm getting this
Code:
target thumb C++: libandroid_runtime <= frameworks/base/core/jni/android_view_TextureView.cpp
frameworks/base/core/jni/android_view_Surface.cpp: In function 'void android::nativeSetDirtyRect(JNIEnv*, jclass, jlong, jobject)':
frameworks/base/core/jni/android_view_Surface.cpp:206:14: error: 'class android::Surface' has no member named 'setDirtyRect'
surface->setDirtyRect(&rect);
^
make: *** [/home/shreyas/omni2/out/target/product/mb886/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/android_view_Surface.o] Error 1
make: *** Waiting for unfinished jobs....
real 4m8.158s
user 4m55.351s
sys 2m13.800s
[email protected]:~/omni2$
Edit4: Found some very relevant stuff in this thread: http://forum.xda-developers.com/omni/general/help-regarding-compiling-omnirom-cm-t2964759/page2
Edit5: Tweaked the surface.cpp as that thread recommended, see https://github.com/ssuds/android_frameworks_base/commit/84c26243dcfcba9aee824dfddd11b2a3405c006b
Now the tlv.h: No such file or directory error is back:
Code:
target thumb C: libalsa-intf <= hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c
target Prebuilt: am (/home/shreyas/omni2/out/target/product/mb886/obj/EXECUTABLES/am_intermediates/am)
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:33:23: fatal error: sound/tlv.h: No such file or directory
#include <sound/tlv.h>
^
compilation terminated.
make: *** [/home/shreyas/omni2/out/target/product/mb886/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_mixer.o] Error 1
make: *** Waiting for unfinished jobs....
Notice file: frameworks/base/cmds/am/NOTICE -- /home/shreyas/omni2/out/target/product/mb886/obj/NOTICE_FILES/src//system/bin/am.txt
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_identifier':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:77:43: warning: unused parameter 'fmt' [-Wunused-parameter]
char *snd_use_case_identifier(const char *fmt, ...)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_free_list':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:89:40: warning: parameter 'list' set but not used [-Wunused-but-set-parameter]
int snd_use_case_free_list(const char *list[], int items)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:89:52: warning: unused parameter 'items' [-Wunused-parameter]
int snd_use_case_free_list(const char *list[], int items)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_get_list':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:132:15: warning: assignment from incompatible pointer type [enabled by default]
*list = (char ***)uc_mgr->card_ctxt_ptr->verb_list;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:156:15: warning: assignment from incompatible pointer type [enabled by default]
*list = verb_list[verb_index].device_list;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:180:15: warning: assignment from incompatible pointer type [enabled by default]
*list = verb_list[verb_index].modifier_list;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_apply_mixer_controls':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:792:65: warning: comparison between pointer and integer [enabled by default]
(check_devices_for_voice_call(uc_mgr, use_case) != NULL))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_mgr_reload':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:1986:49: warning: unused parameter 'uc_mgr' [-Wunused-parameter]
int snd_use_case_mgr_reload(snd_use_case_mgr_t *uc_mgr) {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'print_list':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:3102:47: warning: unused parameter 'verb_index' [-Wunused-parameter]
static int print_list(card_mctrl_t *list, int verb_index, int count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_ucm_parse_section':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:3303:13: warning: format '%d' expects a matching 'int' argument [-Wformat=]
ALOGV("Effects mixer ctl: %s: %d\n", list->effects_mixer_ctl);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'free_list':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:3597:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mindex < list[case_index].ena_mixer_list[index].value;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:3615:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mindex < list[case_index].dis_mixer_list[index].value;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:3583:40: warning: unused parameter 'verb_index' [-Wunused-parameter]
void free_list(card_mctrl_t *list, int verb_index, int count)
^
real 12m37.998s
user 27m33.618s
sys 6m41.232s
[email protected]:~/omni2$
Click to expand...
Click to collapse
ssuds said:
Gotcha, below is the error, hopefully this is what you wanted. Also, was I on the right track with that change in the android_view_Surface.cpp?
Thanks!
Click to expand...
Click to collapse
sound/tlv.h may be specified in more than one location; you only need a single tlv.h make sure there is not another one causing conflict
Edit: Yes you were on the right track chanigng surface.cpp
It's exactly like smali editing in some regards, and you're really close to building it
Tqr said:
sound/tlv.h may be specified in more than one location; you only need a single tlv.h make sure there is not another one causing conflict
Edit: Yes you were on the right track chanigng surface.cpp
It's exactly like smali editing in some regards, and you're really close to building it
Click to expand...
Click to collapse
Awesome, thanks and that's great to hear that I'm getting close.
So if I'm understanding you correctly, I would be safe in just removing the 'include tlv.h' line in alsa_mixer.c? It's kinda curious that it didn't cause any conflicts while compiling CM12 vs Omni, but I guess the source might be different enough to cause conflicts?
EDIT: It initially looked like removing the 'include tlv.h' line let me get past that, I then ran into
Code:
DumpPublicKey: /home/shreyas/omni2/out/target/product/mb886/obj/PACKAGING/ota_keys_intermediates/keys <= build/target/product/security/testkey.x509.pem
java -jar /home/shreyas/omni2/out/host/linux-x86/framework/dumpkey.jar build/target/product/security/testkey.x509.pem > /home/shreyas/omni2/out/target/product/mb886/obj/PACKAGING/ota_keys_intermediates/keys
device/motorola/msm8960_jbbl-common/sepolicy/sysinit.te:2:ERROR 'unknown type userinit_exec' at token ';' on line 18238:
#line 1 "device/motorola/msm8960_jbbl-common/sepolicy/sysinit.te"
allow sysinit userinit_exec:file { getattr execute read open execute_no_trans };
checkpolicy: error(s) encountered while parsing configuration
make: *** [/home/shreyas/omni2/out/target/product/mb886/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery] Error 1
make: *** Waiting for unfinished jobs....
target StaticLib: libc (/home/shreyas/omni2/out/target/product/mb886/obj/STATIC_LIBRARIES/libc_intermediates/libc.a)
target StaticLib: libc_nomalloc (/home/shreyas/omni2/out/target/product/mb886/obj/STATIC_LIBRARIES/libc_nomalloc_intermediates/libc_nomalloc.a)
real 3m19.468s
user 1m34.553s
sys 1m0.526s
[email protected]:~/omni2$
The code in sysinit.te is:
Code:
allow sysinit userinit_exec:file { getattr execute read open execute_no_trans };
allow sysinit property_socket:sock_file write;
allow sysinit system_data_file:file { open };
allow sysinit init:unix_stream_socket connectto;
allow sysinit sysfs:file write;
I just deleted out the first line referring to sysinit userinit_exec
Tried the build again, at which point seems like everything broke on the libalsa-intf stuff:
Code:
Install: /home/shreyas/omni2/out/target/product/mb886/system/bin/am
Import includes file: /home/shreyas/omni2/out/target/product/mb886/obj/EXECUTABLES/amix_intermediates/import_includes
target thumb C: aplay <= hardware/qcom/audio/legacy/libalsa-intf/aplay.c
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_dump':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:240:9: warning: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Wpointer-sign]
ALOGV("%4d %5s %3d %3d %3d %3d %c%c%c%c%c%c%c%c%c %-6s %8d %s",
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
static int is_volume(const char *name, enum ctl_type *type)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_read_tlv':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:345:14: error: 'SNDRV_CTL_TLVT_DB_SCALE' undeclared (first use in this function)
case SNDRV_CTL_TLVT_DB_SCALE: {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:345:14: note: each undeclared identifier is reported only once for each function it appears in
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:368:14: error: 'SNDRV_CTL_TLVT_DB_LINEAR' undeclared (first use in this function)
case SNDRV_CTL_TLVT_DB_LINEAR: {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_get':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:403:5: warning: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Wpointer-sign]
if (is_volume(ctl->info->id.name, &type)) {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
static int is_volume(const char *name, enum ctl_type *type)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:409:5: warning: passing argument 5 of 'mixer_ctl_read_tlv' from incompatible pointer type [enabled by default]
mixer_ctl_read_tlv(ctl, tlv, &min, &max, &tlv_type);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:311:5: note: expected 'unsigned int *' but argument is of type 'unsigned int **'
int mixer_ctl_read_tlv(struct mixer_ctl *ctl,
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_mulvalues':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:488:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (count < ctl->info->count || count > ctl->info->count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:488:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (count < ctl->info->count || count > ctl->info->count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_set':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:537:5: warning: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Wpointer-sign]
if (is_volume(ctl->info->id.name, &type)) {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
static int is_volume(const char *name, enum ctl_type *type)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:544:18: error: 'SNDRV_CTL_TLVT_DB_LINEAR' undeclared (first use in this function)
case SNDRV_CTL_TLVT_DB_LINEAR:
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:551:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:551:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:53: warning: signed and unsigned type in conditional expression [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:551:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:31: warning: signed and unsigned type in conditional expression [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:551:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:552:17: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
ALOGV("tlv db linear: %d %d %d\n", percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:552:17: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:557:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:557:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:53: warning: signed and unsigned type in conditional expression [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:557:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:31: warning: signed and unsigned type in conditional expression [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:557:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'set_volume_simple':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:645:5: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=]
ALOGV("val = %x", val);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:651:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (count < ctl->info->count || count > ctl->info->count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:651:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (count < ctl->info->count || count > ctl->info->count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_set_value':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:701:5: warning: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Wpointer-sign]
if (is_volume(ctl->info->id.name, &type)) {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
static int is_volume(const char *name, enum ctl_type *type)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:707:13: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=]
ALOGV("min = %x max = %x", min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:707:13: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long int' [-Wformat=]
make: *** [/home/shreyas/omni2/out/target/product/mb886/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_mixer.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:44:8: warning: type defaults to 'int' in declaration of 'pcm_flag' [-Wimplicit-int]
static pcm_flag = 1;
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:45:8: warning: type defaults to 'int' in declaration of 'debug' [-Wimplicit-int]
static debug = 0;
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c: In function 'play_file':
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:196:5: warning: passing argument 2 of 'pcm_open' discards 'const' qualifier from pointer target type [enabled by default]
pcm = pcm_open(flags, device);
^
In file included from hardware/qcom/audio/legacy/libalsa-intf/aplay.c:30:0:
hardware/qcom/audio/legacy/libalsa-intf/alsa_audio.h:137:13: note: expected 'char *' but argument is of type 'const char *'
struct pcm *pcm_open(unsigned flags, char *device);
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:197:13: warning: ordered comparison of pointer with integer zero [-Wextra]
if (pcm < 0)
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:198:9: warning: return makes integer from pointer without a cast [enabled by default]
return pcm;
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:312:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (avail < pcm->sw_p->avail_min) {
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:324:18: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'u_int8_t *' [-Wformat=]
fprintf(stderr, "dst_addr = 0x%08x\n", dst_addr);
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:325:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
fprintf(stderr, "Aplay:avail = %d frames = %d\n",avail, frames);
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:325:18: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=]
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:339:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (remainingData < bufsize) {
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:444:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (remainingData < bufsize)
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:461:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (remainingData < bufsize)
^
real 6m36.672s
user 15m25.977s
sys 2m42.391s
[email protected]:~/omni2$
I'm not really sure where to go from here... So far I've just deleted out those two lines (one in tlv.h and one in sysinit.te), but with so much stuff seemingly broken here I don't even know where to start
ssuds said:
Awesome, thanks and that's great to hear that I'm getting close.
So if I'm understanding you correctly, I would be safe in just removing the 'include tlv.h' line in alsa_mixer.c? It's kinda curious that it didn't cause any conflicts while compiling CM12 vs Omni, but I guess the source might be different enough to cause conflicts?
EDIT: It initially looked like removing the 'include tlv.h' line let me get past that, I then ran into
Code:
DumpPublicKey: /home/shreyas/omni2/out/target/product/mb886/obj/PACKAGING/ota_keys_intermediates/keys <= build/target/product/security/testkey.x509.pem
java -jar /home/shreyas/omni2/out/host/linux-x86/framework/dumpkey.jar build/target/product/security/testkey.x509.pem > /home/shreyas/omni2/out/target/product/mb886/obj/PACKAGING/ota_keys_intermediates/keys
device/motorola/msm8960_jbbl-common/sepolicy/sysinit.te:2:ERROR 'unknown type userinit_exec' at token ';' on line 18238:
#line 1 "device/motorola/msm8960_jbbl-common/sepolicy/sysinit.te"
allow sysinit userinit_exec:file { getattr execute read open execute_no_trans };
checkpolicy: error(s) encountered while parsing configuration
make: *** [/home/shreyas/omni2/out/target/product/mb886/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery] Error 1
make: *** Waiting for unfinished jobs....
target StaticLib: libc (/home/shreyas/omni2/out/target/product/mb886/obj/STATIC_LIBRARIES/libc_intermediates/libc.a)
target StaticLib: libc_nomalloc (/home/shreyas/omni2/out/target/product/mb886/obj/STATIC_LIBRARIES/libc_nomalloc_intermediates/libc_nomalloc.a)
real 3m19.468s
user 1m34.553s
sys 1m0.526s
[email protected]:~/omni2$
The code in sysinit.te is:
Code:
allow sysinit userinit_exec:file { getattr execute read open execute_no_trans };
allow sysinit property_socket:sock_file write;
allow sysinit system_data_file:file { open };
allow sysinit init:unix_stream_socket connectto;
allow sysinit sysfs:file write;
I just deleted out the first line referring to sysinit userinit_exec
Tried the build again, at which point seems like everything broke on the libalsa-intf stuff:
Code:
Install: /home/shreyas/omni2/out/target/product/mb886/system/bin/am
Import includes file: /home/shreyas/omni2/out/target/product/mb886/obj/EXECUTABLES/amix_intermediates/import_includes
target thumb C: aplay <= hardware/qcom/audio/legacy/libalsa-intf/aplay.c
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_dump':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:240:9: warning: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Wpointer-sign]
ALOGV("%4d %5s %3d %3d %3d %3d %c%c%c%c%c%c%c%c%c %-6s %8d %s",
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
static int is_volume(const char *name, enum ctl_type *type)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_read_tlv':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:345:14: error: 'SNDRV_CTL_TLVT_DB_SCALE' undeclared (first use in this function)
case SNDRV_CTL_TLVT_DB_SCALE: {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:345:14: note: each undeclared identifier is reported only once for each function it appears in
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:368:14: error: 'SNDRV_CTL_TLVT_DB_LINEAR' undeclared (first use in this function)
case SNDRV_CTL_TLVT_DB_LINEAR: {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_get':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:403:5: warning: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Wpointer-sign]
if (is_volume(ctl->info->id.name, &type)) {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
static int is_volume(const char *name, enum ctl_type *type)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:409:5: warning: passing argument 5 of 'mixer_ctl_read_tlv' from incompatible pointer type [enabled by default]
mixer_ctl_read_tlv(ctl, tlv, &min, &max, &tlv_type);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:311:5: note: expected 'unsigned int *' but argument is of type 'unsigned int **'
int mixer_ctl_read_tlv(struct mixer_ctl *ctl,
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_mulvalues':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:488:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (count < ctl->info->count || count > ctl->info->count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:488:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (count < ctl->info->count || count > ctl->info->count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_set':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:537:5: warning: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Wpointer-sign]
if (is_volume(ctl->info->id.name, &type)) {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
static int is_volume(const char *name, enum ctl_type *type)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:544:18: error: 'SNDRV_CTL_TLVT_DB_LINEAR' undeclared (first use in this function)
case SNDRV_CTL_TLVT_DB_LINEAR:
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:551:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:551:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:53: warning: signed and unsigned type in conditional expression [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:551:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:31: warning: signed and unsigned type in conditional expression [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:551:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:552:17: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
ALOGV("tlv db linear: %d %d %d\n", percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:552:17: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:557:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:557:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:53: warning: signed and unsigned type in conditional expression [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:557:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:31: warning: signed and unsigned type in conditional expression [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:557:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'set_volume_simple':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:645:5: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=]
ALOGV("val = %x", val);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:651:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (count < ctl->info->count || count > ctl->info->count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:651:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (count < ctl->info->count || count > ctl->info->count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_set_value':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:701:5: warning: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Wpointer-sign]
if (is_volume(ctl->info->id.name, &type)) {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
static int is_volume(const char *name, enum ctl_type *type)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:707:13: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=]
ALOGV("min = %x max = %x", min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:707:13: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long int' [-Wformat=]
make: *** [/home/shreyas/omni2/out/target/product/mb886/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_mixer.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:44:8: warning: type defaults to 'int' in declaration of 'pcm_flag' [-Wimplicit-int]
static pcm_flag = 1;
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:45:8: warning: type defaults to 'int' in declaration of 'debug' [-Wimplicit-int]
static debug = 0;
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c: In function 'play_file':
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:196:5: warning: passing argument 2 of 'pcm_open' discards 'const' qualifier from pointer target type [enabled by default]
pcm = pcm_open(flags, device);
^
In file included from hardware/qcom/audio/legacy/libalsa-intf/aplay.c:30:0:
hardware/qcom/audio/legacy/libalsa-intf/alsa_audio.h:137:13: note: expected 'char *' but argument is of type 'const char *'
struct pcm *pcm_open(unsigned flags, char *device);
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:197:13: warning: ordered comparison of pointer with integer zero [-Wextra]
if (pcm < 0)
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:198:9: warning: return makes integer from pointer without a cast [enabled by default]
return pcm;
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:312:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (avail < pcm->sw_p->avail_min) {
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:324:18: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'u_int8_t *' [-Wformat=]
fprintf(stderr, "dst_addr = 0x%08x\n", dst_addr);
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:325:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
fprintf(stderr, "Aplay:avail = %d frames = %d\n",avail, frames);
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:325:18: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=]
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:339:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (remainingData < bufsize) {
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:444:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (remainingData < bufsize)
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:461:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (remainingData < bufsize)
^
real 6m36.672s
user 15m25.977s
sys 2m42.391s
[email protected]:~/omni2$
I'm not really sure where to go from here... So far I've just deleted out those two lines (one in tlv.h and one in sysinit.te), but with so much stuff seemingly broken here I don't even know where to start
Click to expand...
Click to collapse
Hey man, Do you remeber how do you get that problem solved? Iam currently trying to build SimpleAosp for the HTC One S (ville), also a msm8960 device
I got the exact same error after removing the 'include tlv.h' line in alsa_mixer.c..

Omni Compile Error 6.0 for Gehhrc

hi guys anyone have idea ???
Code:
/home/shinoa/RS/OMNI/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/shinoa/RS/OMNI/out/target/product/geehrc/obj/ETC/sepolicy_intermediates/policy.conf.dontaudit
/home/shinoa/RS/OMNI/out/host/linux-x86/bin/checkpolicy: policy configuration loaded
/home/shinoa/RS/OMNI/out/host/linux-x86/bin/checkpolicy: writing binary representation (version 30) to /home/shinoa/RS/OMNI/out/target/product/geehrc/obj/ETC/sepolicy_intermediates//sepolicy.dontaudit
host Java: signapk (/home/shinoa/RS/OMNI/out/host/common/obj/JAVA_LIBRARIES/signapk_intermediates/classes)
Export includes file: frameworks/native/opengl/libs/GLES_trace/Android.mk -- /home/shinoa/RS/OMNI/out/target/product/geehrc/obj/SHARED_LIBRARIES/libGLES_trace_intermediates/export_includes
target Strip: libexpat (/home/shinoa/RS/OMNI/out/target/product/geehrc/obj/lib/libexpat.so)
target thumb C++: libGLES_trace <= frameworks/native/opengl/libs/GLES_trace/src/gltrace_api.cpp
target thumb C++: libGLES_trace <= frameworks/native/opengl/libs/GLES_trace/src/gltrace_context.cpp
target thumb C++: libGLES_trace <= frameworks/native/opengl/libs/GLES_trace/src/gltrace_egl.cpp
target thumb C++: libGLES_trace <= frameworks/native/opengl/libs/GLES_trace/src/gltrace_eglapi.cpp
target thumb C++: libGLES_trace <= frameworks/native/opengl/libs/GLES_trace/src/gltrace_fixup.cpp
target thumb C++: libGLES_trace <= frameworks/native/opengl/libs/GLES_trace/src/gltrace_hooks.cpp
target thumb C++: libGLES_trace <= frameworks/native/opengl/libs/GLES_trace/src/gltrace_transport.cpp
target thumb C++: libGLES_trace <= /home/shinoa/RS/OMNI/out/target/product/geehrc/gen/SHARED_LIBRARIES/libGLES_trace_intermediates/proto/frameworks/native/opengl/libs/GLES_trace/proto/gltrace.pb.cc
Copy: /home/shinoa/RS/OMNI/out/target/product/geehrc/obj/STATIC_LIBRARIES/libLLVMARMCodeGen_intermediates/ARMGenRegisterInfo.inc
target SharedLib: libssl (/home/shinoa/RS/OMNI/out/target/product/geehrc/obj/SHARED_LIBRARIES/libssl_intermediates/LINKED/libssl.so)
build/core/host_shared_library_internal.mk:51: recipe for target '/home/shinoa/RS/OMNI/out/host/linux-x86/obj/lib/libart.so' failed
#### make failed to build some targets (03:21:03 (hh:mm:ss)) ####
[email protected]:~$
Full log >> http://www.hastebin.com/ovasuzowaw.vhdl

Categories

Resources