Had a bit too much coffee one evening and ended up spending the night messing around trying to figure out what's really causing the annoying wake-lag after phone goes in deep sleep. Time to report back and hopefully shed some light on this bug, or how Samsung might call it, a "feature"
So, to start with I set up a Tasker profile to dump dmesg & logcat on Display On event. Then, I went through those logs and fished around and calculated how long it takes phone to:
wake up CPU from suspend
turn on the display after CPU wakes up
and, to make things bit more scientific I did 3 rounds, all with phone off usb:
external sdcard inserted
external sdcard removed
external sdcard inserted & manually wake_lock'ing the phone
Event 1: CPU wakeup
kmsg dump with phone off usb, external sdcard inserted
<6>[ 0.000000] WAKEUP_STAT: 0x80000001
<6>[ 0.000000] WAKUP_INT0_PEND: 0x2
<6>[ 0.000000] WAKUP_INT1_PEND: 0x0
<6>[ 0.000000] WAKUP_INT2_PEND: 0x80
<6>[ 0.000000] WAKUP_INT3_PEND: 0x0
<7>[ 0.000000] s3c_pm_enter: post sleep, preparing to return
<7>[ 0.000000] S3C PM Resume (post-restore)
<7>[ 0.000000] Wakeup from sleep, 0x80000001
<6>[ 0.000000] L310 cache controller enabled
<6>[ 0.000000] l2x0: 16 ways, CACHE_ID 0x4100c4c5, AUX_CTRL 0x7e470001, Cache Size: 1048576 B
<6>[24041.990920] wakeup wake lock: event1-3200
<6>[24041.991220] PM: early resume of devices complete after 0.257 msecs
<3>[24041.991354] [MHL]mhl_int_irq_handler() is called
<6>[24041.991559] s3c-i2c s3c2410-i2c.0: slave address 0x10
<6>[24041.991574] s3c-i2c s3c2410-i2c.0: bus frequency set to 390 KHz
<6>[24041.991593] s3c-i2c s3c2410-i2c.1: slave address 0x10
<6>[24041.991605] s3c-i2c s3c2410-i2c.1: bus frequency set to 390 KHz
<6>[24041.991624] s3c-i2c s3c2410-i2c.2: slave address 0x10
<6>[24041.991636] s3c-i2c s3c2410-i2c.2: bus frequency set to 97 KHz
<6>[24041.991655] s3c-i2c s3c2410-i2c.3: slave address 0x10
<6>[24041.991667] s3c-i2c s3c2410-i2c.3: bus frequency set to 97 KHz
<6>[24041.991685] s3c-i2c s3c2410-i2c.4: slave address 0x10
<6>[24041.991697] s3c-i2c s3c2410-i2c.4: bus frequency set to 97 KHz
<6>[24041.991716] s3c-i2c s3c2410-i2c.5: slave address 0x10
<6>[24041.991728] s3c-i2c s3c2410-i2c.5: bus frequency set to 390 KHz
<6>[24041.991747] s3c-i2c s3c2410-i2c.6: slave address 0x3a
<6>[24041.991759] s3c-i2c s3c2410-i2c.6: bus frequency set to 97 KHz
<6>[24041.991777] s3c-i2c s3c2410-i2c.7: slave address 0x10
<6>[24041.991789] s3c-i2c s3c2410-i2c.7: bus frequency set to 97 KHz
<6>[24041.991826] c1_enable_regulator_for_usb_mipi: enable LDOs
<6>[24041.995640] sdhci_resume_host : MMC Card ON samsung-hsmmc
<7>[24041.995723] usb udc resume
<6>[24041.995745] s3c-rtc s3c64xx-rtc: rtc disabled, re-enabling
<6>[24041.995768] wake disabled for irq 347
<6>[24041.995784] sec_jack_resume: disable_irq_wake(0)
<6>[24041.995811] s5pv310_setup_mshci_set_power : internal MMC Card ON samsung-mshc.
<6>[24041.996245] mmc0: FIFO WMARK FOR RX 0x11 WX 0x1. ###########
<6>[24042.099034] max17042 9-0036: max17042_get_soc : soc(6290)
<6>[24042.099046] max17042_need_soc_recal: HW(0xc)
<6>[24042.099058] max17042 9-0036: max17042_get_soc : use raw (98), soc (100)
<6>[24042.100197] USB3803 resumed to mode standby
<6>[24042.100395] wake disabled for irq 331
<3>[24042.103414] [IDPRAM] <dpram_power_up:3440> dpram_wakeup_init() ==> QSC_INT = LOW
<3>[24042.117319] [IDPRAM] <dpram_powerup_start:3412> Received MBX_CMD_CP_WAKEUP_START!!!
<6>[24042.117357] wake disabled for irq 332
<3>[24042.117370] [IDPRAM] <dpram_powerup_start:3412> Received MBX_CMD_CP_WAKEUP_START!!!
<3>[24042.150142] [cyasdevice.c] cyasdevice_leave_standby end mode count=8
<3>[24042.163382] cyasblkdev_stop_sdcard : cy_as_storage_stop is called - found
<3>[24042.687474] cyasblkdev_start_sdcard : cy_as_storage_start is called
<3>[24042.687687] cyasblkdev_start_sdcard : cy_as_storage_query_media is called - media count = 1
<3>[24042.687968] cyasblkdev_start_sdcard : cy_as_storage_query_device is called - found
<3>[24042.687997] [cyasdevice.c] cy_wq_function: leave standby
<3>[24042.688008] ++++++++++++ [cyasdevice.c] cy_wq_function: SD card is inserted.
<3>[24042.695242] cyasblkdev_check_sdcard : serial num = 0x0 0x0 0x22 0xac
<6>[24042.705211] PM: resume of devices complete after 713.807 msecs
<4>[24042.706250] Restarting tasks ... deb***: [battery] bat temper : 840, rescale : 651
<6>[24042.710955] sec-battery sec-battery: [test] temp_radc_value : -1065637448
<6>[24042.710974] sec_bat_get_lpcharging_state: LP charging:0
<6>[24042.710986] sec-battery sec-battery: [NA_SPR] Changed Put off Current
<6>[24042.711844] sec-battery sec-battery: sec_bat_check_temper: temp=320, adc=840
<6>[24042.715111] sec-battery sec-battery: sec_bat_charging_time_management: charging_start_time has never been used since initializing
<6>[24042.715138] max8922-charger max8922-charger: max8922_is_charging: charging state = 0x3
<6>[24042.715159] sec-battery sec-battery: soc(100), vfocv(4161), vcell(4127), temp(32), charging(2), health(1)
<6>[24042.732025] request_suspend_state: wakeup (3->0) at 24042706933965 (2011-10-18 13:40:03.113578166 UTC)
<4>[24042.737188] done.
<4>[24042.737203] Mali: OSPMM: mali_pwr_suspend_notifier : PM_POST_PREPARE
<7>[24042.742938] PM_POST_SUSPEND for CPUFREQ: 0
<7>[24042.743473] calc_bus_utilization: 0 value is not permitted
<7>[24042.743485] calc_bus_utilization: 0 value is not permitted
<7>[24042.743494] BUSLOAD is larger than 50(100)
<6>[24042.743509] s5pv310_pm_hotplug_notifier_event: restoring pm_hotplug lock 0
<6>[24042.743528] suspend: exit suspend, ret = 0 (2011-10-18 13:40:03.125093667 UTC)
Time taken: 0.752608 seconds
Click to expand...
Click to collapse
kmsg dump with phone off usb, external sdcard removed
<6>[ 0.000000] WAKEUP_STAT: 0x80000001
<6>[ 0.000000] WAKUP_INT0_PEND: 0x2
<6>[ 0.000000] WAKUP_INT1_PEND: 0x0
<6>[ 0.000000] WAKUP_INT2_PEND: 0x80
<6>[ 0.000000] WAKUP_INT3_PEND: 0x0
<7>[ 0.000000] s3c_pm_enter: post sleep, preparing to return
<7>[ 0.000000] S3C PM Resume (post-restore)
<7>[ 0.000000] Wakeup from sleep, 0x80000001
<6>[ 0.000000] L310 cache controller enabled
<6>[ 0.000000] l2x0: 16 ways, CACHE_ID 0x4100c4c5, AUX_CTRL 0x7e470001, Cache Size: 1048576 B
<6>[24498.899997] wakeup wake lock: event1-3200
<4>[24498.900032] Enabling non-boot CPUs ...
<4>[24498.900047] >made stopper
<4>[24498.905593] CPU1: Booted secondary processor
<7>[24498.906424] ++ s5pv310_cpufreq_cpu_init
<4>[24498.906452] CPU1 is up
<6>[24498.906729] PM: early resume of devices complete after 0.263 msecs
<3>[24498.906857] [MHL]mhl_int_irq_handler() is called
<6>[24498.907047] s3c-i2c s3c2410-i2c.0: slave address 0x10
<6>[24498.907061] s3c-i2c s3c2410-i2c.0: bus frequency set to 390 KHz
<6>[24498.907081] s3c-i2c s3c2410-i2c.1: slave address 0x10
<6>[24498.907093] s3c-i2c s3c2410-i2c.1: bus frequency set to 390 KHz
<6>[24498.907112] s3c-i2c s3c2410-i2c.2: slave address 0x10
<6>[24498.907124] s3c-i2c s3c2410-i2c.2: bus frequency set to 97 KHz
<6>[24498.907143] s3c-i2c s3c2410-i2c.3: slave address 0x10
<6>[24498.907155] s3c-i2c s3c2410-i2c.3: bus frequency set to 97 KHz
<6>[24498.907173] s3c-i2c s3c2410-i2c.4: slave address 0x10
<6>[24498.907185] s3c-i2c s3c2410-i2c.4: bus frequency set to 97 KHz
<6>[24498.907203] s3c-i2c s3c2410-i2c.5: slave address 0x10
<6>[24498.907215] s3c-i2c s3c2410-i2c.5: bus frequency set to 390 KHz
<6>[24498.907234] s3c-i2c s3c2410-i2c.6: slave address 0x3a
<6>[24498.907246] s3c-i2c s3c2410-i2c.6: bus frequency set to 97 KHz
<6>[24498.907265] s3c-i2c s3c2410-i2c.7: slave address 0x10
<6>[24498.907277] s3c-i2c s3c2410-i2c.7: bus frequency set to 97 KHz
<6>[24498.907313] c1_enable_regulator_for_usb_mipi: enable LDOs
<6>[24498.911022] sdhci_resume_host : MMC Card ON samsung-hsmmc
<7>[24498.911102] usb udc resume
<6>[24498.911124] s3c-rtc s3c64xx-rtc: rtc disabled, re-enabling
<6>[24498.911147] wake disabled for irq 347
<6>[24498.911226] sec_jack_resume: disable_irq_wake(0)
<6>[24498.911254] s5pv310_setup_mshci_set_power : internal MMC Card ON samsung-mshc.
<6>[24498.911690] mmc0: FIFO WMARK FOR RX 0x11 WX 0x1. ###########
<6>[24499.011495] max17042 9-0036: max17042_get_soc : soc(62e0)
<6>[24499.011507] max17042_need_soc_recal: HW(0xc)
<6>[24499.011518] max17042 9-0036: max17042_get_soc : use raw (98), soc (101)
<6>[24499.012633] USB3803 resumed to mode standby
<6>[24499.012872] wake disabled for irq 331
<3>[24499.015807] [IDPRAM] <dpram_power_up:3440> dpram_wakeup_init() ==> QSC_INT = LOW
<3>[24499.029703] [IDPRAM] <dpram_powerup_start:3412> Received MBX_CMD_CP_WAKEUP_START!!!
<6>[24499.029745] wake disabled for irq 332
<3>[24499.029758] [IDPRAM] <dpram_powerup_start:3412> Received MBX_CMD_CP_WAKEUP_START!!!
<6>[24499.052786] PM: resume of devices complete after 145.883 msecs
<4>[24499.053881] Restarting tasks ... deb***: [battery] bat temper : 861, rescale : 646
<6>[24499.062238] sec-battery sec-battery: [test] temp_radc_value : -1065637448
<6>[24499.062265] sec_bat_get_lpcharging_state: LP charging:0
<6>[24499.062276] sec-battery sec-battery: [NA_SPR] Changed Put off Current
<6>[24499.063200] sec-battery sec-battery: sec_bat_check_temper: temp=310, adc=861
<6>[24499.063395] sec-battery sec-battery: sec_bat_charging_time_management: charging_start_time has never been used since initializing
<6>[24499.063425] max8922-charger max8922-charger: max8922_is_charging: charging state = 0x3
<6>[24499.063446] sec-battery sec-battery: soc(100), vfocv(4163), vcell(4146), temp(31), charging(2), health(1)
<6>[24499.065185] request_suspend_state: wakeup (3->0) at 24499040026596 (2011-10-18 13:49:00.534295458 UTC)
<4>[24499.066690] done.
<4>[24499.066704] Mali: OSPMM: mali_pwr_suspend_notifier : PM_POST_PREPARE
<7>[24499.068161] PM_POST_SUSPEND for CPUFREQ: 0
<7>[24499.070641] calc_bus_utilization: 0 value is not permitted
<7>[24499.070652] calc_bus_utilization: 0 value is not permitted
<7>[24499.070662] BUSLOAD is larger than 50(100)
<6>[24499.070676] s5pv310_pm_hotplug_notifier_event: restoring pm_hotplug lock 0
<6>[24499.070695] suspend: exit suspend, ret = 0 (2011-10-18 13:49:00.539817042 UTC)
Time taken: 0.170698 seconds
Click to expand...
Click to collapse
kmsg dump with phone off usb, external sdcard inserted, phone wake_locked with [echo foo > /sys/power/wake_lock]
<4>[26418.987991] cpu1 turning on!
<4>[26418.988022] >made stopper
<4>[26419.001448] CPU1: Booted secondary processor
<7>[26419.002737] ++ s5pv310_cpufreq_cpu_init
<4>[26419.002787] cpu1 on end!
<6>[26419.036816] request_suspend_state: wakeup (3->0) at 26419011419814 (2011-10-18 14:21:00.505687301 UTC)
Time taken: 0.048825 seconds
Click to expand...
Click to collapse
Event 2: Display wakeup
** technically time from CPU wakeup to the event just before first signs of Tasker dumping the logs.
logcat -b main dump with phone off usb, external sdcard inserted
10-18 06:40:03.105 3200 3239 E AlarmManagerService: android_server_AlarmManagerService_set to type=1, 1318945260.000000000
10-18 06:40:03.107 3200 3243 D InputReader: Input event: value=1
10-18 06:40:03.107 3200 3243 I ScreenCaptureAction: isHomeKeyPressed(), return value = false
10-18 06:40:03.107 3200 3243 D KeyguardViewMediator: onWakeKeyWhenKeyguardShowing(26)
10-18 06:40:03.107 3200 3243 D KeyguardViewMediator: wakeWhenReadyLocked(26)
10-18 06:40:03.110 3200 3241 D KeyguardViewMediator: handleWakeWhenReady(26)
10-18 06:40:03.110 3200 3241 D KeyguardViewMediator: pokeWakelock(10000)
10-18 06:40:03.110 3200 3241 E power : *** set_screen_state 1
10-18 06:40:03.110 3200 3241 D SensorManager: registerListener :: handle = 3 name= CM3663 Light Sensor delay= 200000 Listener= [email protected]
10-18 06:40:03.115 3200 3243 D InputReader: Input event: value=0
10-18 06:40:03.115 3200 3243 I ScreenCaptureAction: isHomeKeyPressed(), return value = false
10-18 06:40:03.125 <======== LAST LINE OF KMSG DUMP
10-18 06:40:03.262 4149 4151 D dalvikvm: GC_CONCURRENT freed 509K, 50% free 3079K/6087K, external 224K/512K, paused 1ms+12ms
10-18 06:40:03.345 3200 3230 E BatteryService: TMU status = 0
10-18 06:40:03.357 3333 3333 D PhoneApp: Intent.ACTION_BATTERY_CHANGED : 0
10-18 06:40:03.357 3333 3333 D PhoneUtils: updateRAFT current state : 0
10-18 06:40:03.357 3333 3333 D PhoneUtils: updateRAFT current and requested states are same, so do nothing
10-18 06:40:03.460 3200 3237 E lights : write_int: path /sys/class/backlight/pwm-backlight/brightness, value 20
10-18 06:40:03.472 3200 3238 D KeyguardViewMediator: onScreenTurnedOn, seq = 113
10-18 06:40:03.472 3200 3238 D KeyguardViewMediator: notifyScreenOnLocked
10-18 06:40:03.472 3200 3238 I OrientationDebug: [pwm] in updateOrientationListenerLp()
10-18 06:40:03.472 3200 3238 V OrientationDebug: in updateOrientationListenerLp(), Screen status=true, current orientation=1, SensorEnabled=false
10-18 06:40:03.472 3200 3238 I OrientationDebug: [pwm] needSensorRunningLp(), return false #3
10-18 06:40:03.480 3200 3241 D KeyguardViewMediator: handleNotifyScreenOn
10-18 06:40:03.480 3200 3241 D LockPatternKeyguardView: onScreenTurnedOn()
10-18 06:40:03.540 4149 4151 D dalvikvm: GC_CONCURRENT freed 453K, 50% free 3098K/6087K, external 198K/512K, paused 4ms+20ms
10-18 06:40:03.580 29172 29172 D battery_widget_monitor: bmw_watcher got intent: android.intent.action.BATTERY_CHANGED
10-18 06:40:03.777 3332 3332 I Launcher: onResume(). mIsNewIntent : false screenOff: true
10-18 06:40:03.802 3200 3241 D LockscreenWallpaperUpdater: onResume()
10-18 06:40:03.802 3200 3241 D LockscreenWallpaperUpdater: get drawable (public)
10-18 06:40:03.802 3200 3241 D LockscreenWallpaperUpdater: get drawable (keygurardupdatemonitor private get)
10-18 06:40:03.802 3200 3241 D LockscreenWallpaperUpdater: drawable is null(keygurardupdatemonitor private get)
10-18 06:40:03.802 3200 3241 D LockscreenWallpaperUpdater: set drawable
10-18 06:40:03.802 3200 3241 D LockscreenWallpaperUpdater: wallpaper file not exist
10-18 06:40:03.802 3200 3241 D InfoWidget: onResume()
10-18 06:40:03.880 3332 3332 D Launcher: It's image wallpaper. suggestDesiredDimensions(-1,-1)
10-18 06:40:03.957 3200 3218 I OrientationDebug: [WindowOrientationListener] in enable(), now call SensorManager.registerListener()
10-18 06:40:03.957 3200 3218 D SensorManager: registerListener :: handle = 0 name= K3DH Acceleration Sensor delay= 60000 Listener= [email protected]097e0b8
10-18 06:40:03.975 3200 3218 D WallpaperService: ACTION_SCREEN_ON
10-18 06:40:03.977 3200 3218 D WallpaperService: mVisible:true
10-18 06:40:03.977 3200 3218 D WallpaperService: mScreenOn:true
10-18 06:40:03.977 3200 3218 D WallpaperService: mReportedVisible:false
10-18 06:40:03.990 3200 3207 D SurfaceFlinger: Screen about to return, flinger = 0x8ced8
10-18 06:40:04.125 3333 3333 D PhoneUtils: updateRAFT current state : 0
10-18 06:40:04.125 3333 3333 D PhoneUtils: updateRAFT current state : 0 next state : 3
10-18 06:40:04.200 3200 3218 I WindowOrientationListener: orientation = 340.22717 Tilt = 54.167904 -- -2 , 5 , 7
--------------------------------------------------------------------------------
10-18 06:40:04.275 4029 25459 W Tasker : 06.40.04#Shell: warning: run: dmesg -c: java.lang.InterruptedException
Time taken: 1.075 seconds
Click to expand...
Click to collapse
logcat -b main dump with phone off usb, external sdcard removed
10-18 06:49:00.522 3200 3239 E AlarmManagerService: android_server_AlarmManagerService_set to type=1, 1318945800.000000000
10-18 06:49:00.527 3200 3243 D InputReader: Input event: value=1
10-18 06:49:00.527 3200 3243 I ScreenCaptureAction: isHomeKeyPressed(), return value = false
10-18 06:49:00.527 3200 3243 D KeyguardViewMediator: onWakeKeyWhenKeyguardShowing(26)
10-18 06:49:00.527 3200 3243 D KeyguardViewMediator: wakeWhenReadyLocked(26)
10-18 06:49:00.530 3200 3241 D KeyguardViewMediator: handleWakeWhenReady(26)
10-18 06:49:00.530 3200 3241 D KeyguardViewMediator: pokeWakelock(10000)
10-18 06:49:00.530 3200 3241 E power : *** set_screen_state 1
10-18 06:49:00.532 3200 3241 D SensorManager: registerListener :: handle = 3 name= CM3663 Light Sensor delay= 200000 Listener= [email protected]
10-18 06:49:00.532 3200 3243 D InputReader: Input event: value=0
10-18 06:49:00.532 3200 3243 I ScreenCaptureAction: isHomeKeyPressed(), return value = false
10-18 06:49:00.540 <======== LAST LINE OF KMSG DUMP
10-18 06:49:00.612 3200 3237 E lights : write_int: path /sys/class/backlight/pwm-backlight/brightness, value 20
10-18 06:49:00.620 3200 3238 D KeyguardViewMediator: onScreenTurnedOn, seq = 116
10-18 06:49:00.620 3200 3238 D KeyguardViewMediator: notifyScreenOnLocked
10-18 06:49:00.620 3200 3238 I OrientationDebug: [pwm] in updateOrientationListenerLp()
10-18 06:49:00.620 3200 3238 V OrientationDebug: in updateOrientationListenerLp(), Screen status=true, current orientation=1, SensorEnabled=false
10-18 06:49:00.620 3200 3238 I OrientationDebug: [pwm] needSensorRunningLp(), return false #3
10-18 06:49:00.622 3200 3241 D KeyguardViewMediator: handleNotifyScreenOn
10-18 06:49:00.622 3200 3241 D LockPatternKeyguardView: onScreenTurnedOn()
10-18 06:49:00.627 3332 3332 I Launcher: onResume(). mIsNewIntent : false screenOff: true
10-18 06:49:00.632 3200 3241 D LockscreenWallpaperUpdater: onResume()
10-18 06:49:00.632 3200 3241 D LockscreenWallpaperUpdater: get drawable (public)
10-18 06:49:00.632 3200 3241 D LockscreenWallpaperUpdater: get drawable (keygurardupdatemonitor private get)
10-18 06:49:00.632 3200 3241 D LockscreenWallpaperUpdater: drawable is null(keygurardupdatemonitor private get)
10-18 06:49:00.632 3200 3241 D LockscreenWallpaperUpdater: set drawable
10-18 06:49:00.632 3200 3241 D LockscreenWallpaperUpdater: wallpaper file not exist
10-18 06:49:00.632 3200 3241 D InfoWidget: onResume()
10-18 06:49:00.647 3332 3332 D Launcher: It's image wallpaper. suggestDesiredDimensions(-1,-1)
10-18 06:49:00.680 4149 4151 D dalvikvm: GC_CONCURRENT freed 513K, 50% free 3079K/6087K, external 224K/512K, paused 2ms+39ms
10-18 06:49:00.790 3200 3230 E BatteryService: TMU status = 0
10-18 06:49:00.870 12197 12197 E com.samsung.app: [MSC]>>> WeatherWidgetProvider.java:316 [0:0] onReceive()@@@ sec.android.intent.action.HOME_RESUME
10-18 06:49:00.872 12197 12197 E com.samsung.app: [MSC]>>> WidgetIdManager.java:53 [0:0] AccuWeatherClockWidgetID_Length
10-18 06:49:00.872 12197 12197 E com.samsung.app: [MSC]>>> WidgetIdManager.java:54 [0:0] getPrefIDs() : length = 0
10-18 06:49:00.907 25729 25729 I PhotoAppWidgetProvider: onReceive
10-18 06:49:00.907 25729 25729 I PhotoAppWidgetProvider: RestartSlideShow
10-18 06:49:00.912 25729 25729 D PhotoDatabaseHelper: getWidgetIdList query count : 0
10-18 06:49:00.912 25729 25729 D PhotoAppWidgetProvider: onReceive End
10-18 06:49:00.920 7244 7244 D DigitalClock: DigitalClockAppWidget.onReceive : ACTION_HOME_RESUME is called!!
10-18 06:49:01.012 12216 26850 D Buddies--------------------------->: Service:OnReceive ACTION_HOME_RESUME called
10-18 06:49:01.045 3200 3218 I OrientationDebug: [WindowOrientationListener] in enable(), now call SensorManager.registerListener()
10-18 06:49:01.045 3200 3218 D SensorManager: registerListener :: handle = 0 name= K3DH Acceleration Sensor delay= 60000 Listener= [email protected]097e0b8
10-18 06:49:01.087 3200 3218 D WallpaperService: ACTION_SCREEN_ON
10-18 06:49:01.087 3200 3218 D WallpaperService: mVisible:true
10-18 06:49:01.087 3200 3218 D WallpaperService: mScreenOn:true
10-18 06:49:01.087 3200 3218 D WallpaperService: mReportedVisible:false
10-18 06:49:01.102 3333 3333 D PhoneUtils: updateRAFT current state : 0
10-18 06:49:01.102 3333 3333 D PhoneUtils: updateRAFT current state : 0 next state : 3
10-18 06:49:01.182 3200 3207 D SurfaceFlinger: Screen about to return, flinger = 0x8ced8
10-18 06:49:01.190 3332 3332 D dalvikvm: GC_EXTERNAL_ALLOC freed 242K, 50% free 4564K/9095K, external 13612K/13655K, paused 96ms
10-18 06:49:01.195 4149 4151 D dalvikvm: GC_CONCURRENT freed 454K, 50% free 3101K/6087K, external 198K/512K, paused 4ms+5ms
10-18 06:49:01.220 29172 29172 D battery_widget_monitor: bmw_watcher got intent: android.intent.action.SCREEN_ON
10-18 06:49:01.220 29172 29172 V battery_widget_monitor: Refreshing data on SCREEN ON
10-18 06:49:01.272 26863 26863 E su : sudb - Opening database
10-18 06:49:01.275 26863 26863 E su : sudb - Database opened
10-18 06:49:01.280 26863 26863 E su : sudb - Database closed
--------------------------------------------------------------------------------
10-18 06:49:01.285 26863 26863 D su : 10109 net.dinglisch.android.taskerm executing 0 /system/bin/sh using shell /system/bin/sh : sh
Time taken: 0.740 seconds
Click to expand...
Click to collapse
logcat -b main dump with phone off usb, external sdcard inserted, phone wake_locked with [echo foo > /sys/power/wake_lock]
10-18 07:21:00.502 3200 3243 D InputReader: Input event: value=1
10-18 07:21:00.502 3200 3243 I ScreenCaptureAction: isHomeKeyPressed(), return value = false
10-18 07:21:00.502 3200 3243 D KeyguardViewMediator: onWakeKeyWhenKeyguardShowing(26)
10-18 07:21:00.502 3200 3243 D KeyguardViewMediator: wakeWhenReadyLocked(26)
10-18 07:21:00.502 3200 3241 D KeyguardViewMediator: handleWakeWhenReady(26)
10-18 07:21:00.502 3200 3241 D KeyguardViewMediator: pokeWakelock(10000)
10-18 07:21:00.502 3200 3241 E power : *** set_screen_state 1
10-18 07:21:00.502 3200 3241 D SensorManager: registerListener :: handle = 3 name= CM3663 Light Sensor delay= 200000 Listener= [email protected]
10-18 07:21:00.506 <======== LAST LINE OF KMSG DUMP
10-18 07:21:00.597 3200 3243 D InputReader: Input event: value=0
10-18 07:21:00.597 3200 3243 I ScreenCaptureAction: isHomeKeyPressed(), return value = false
10-18 07:21:00.652 3200 3237 E lights : write_int: path /sys/class/backlight/pwm-backlight/brightness, value 20
10-18 07:21:00.655 3200 3238 D KeyguardViewMediator: onScreenTurnedOn, seq = 123
10-18 07:21:00.655 3200 3238 D KeyguardViewMediator: notifyScreenOnLocked
10-18 07:21:00.655 3200 3238 I OrientationDebug: [pwm] in updateOrientationListenerLp()
10-18 07:21:00.655 3200 3241 D KeyguardViewMediator: handleNotifyScreenOn
10-18 07:21:00.655 3200 3241 D LockPatternKeyguardView: onScreenTurnedOn()
10-18 07:21:00.655 3200 3238 V OrientationDebug: in updateOrientationListenerLp(), Screen status=true, current orientation=1, SensorEnabled=false
10-18 07:21:00.655 3200 3238 I OrientationDebug: [pwm] needSensorRunningLp(), return false #3
10-18 07:21:00.660 3200 3241 D LockscreenWallpaperUpdater: onResume()
10-18 07:21:00.660 3200 3241 D LockscreenWallpaperUpdater: get drawable (public)
10-18 07:21:00.660 3200 3241 D LockscreenWallpaperUpdater: get drawable (keygurardupdatemonitor private get)
10-18 07:21:00.660 3200 3241 D LockscreenWallpaperUpdater: drawable is null(keygurardupdatemonitor private get)
10-18 07:21:00.660 3200 3241 D LockscreenWallpaperUpdater: set drawable
10-18 07:21:00.662 3200 3241 D LockscreenWallpaperUpdater: wallpaper file not exist
10-18 07:21:00.662 3200 3241 D InfoWidget: onResume()
10-18 07:21:00.662 3332 3332 I Launcher: onResume(). mIsNewIntent : false screenOff: true
10-18 07:21:00.675 3332 3332 D Launcher: It's image wallpaper. suggestDesiredDimensions(-1,-1)
10-18 07:21:00.705 3200 3218 I OrientationDebug: [WindowOrientationListener] in enable(), now call SensorManager.registerListener()
10-18 07:21:00.705 3200 3218 D SensorManager: registerListener :: handle = 0 name= K3DH Acceleration Sensor delay= 60000 Listener= [email protected]097e0b8
10-18 07:21:00.737 3200 3218 D WallpaperService: ACTION_SCREEN_ON
10-18 07:21:00.737 3200 3218 D WallpaperService: mVisible:true
10-18 07:21:00.737 3200 3218 D WallpaperService: mScreenOn:true
10-18 07:21:00.737 3200 3218 D WallpaperService: mReportedVisible:false
10-18 07:21:00.790 3333 3333 D PhoneUtils: updateRAFT current state : 0
10-18 07:21:00.790 3333 3333 D PhoneUtils: updateRAFT current state : 0 next state : 3
10-18 07:21:00.827 3200 3218 I WindowOrientationListener: orientation = 344.90546 Tilt = 26.42323 -- -2 , 8 , 4
10-18 07:21:00.867 30117 30117 E su : sudb - Opening database
10-18 07:21:00.867 30117 30117 E su : sudb - Database opened
10-18 07:21:00.870 30117 30117 E su : sudb - Database closed
--------------------------------------------------------------------------------
10-18 07:21:00.872 30117 30117 D su : 10109 net.dinglisch.android.taskerm executing 0 /system/bin/sh using shell /system/bin/sh : sh
Time taken: 0.364 seconds
Click to expand...
Click to collapse
Totals: Power button pressed to Display turned on
1. external sdcard inserted........................ 1.828 seconds
2. external sdcard removed......................... 0.911 seconds
3. external sdcard inserted & phone wake_lock'ed... 0.413 seconds
Click to expand...
Click to collapse
We got the numbers, now what? Well, I have no idea but I'll speculate. Having phone come out of suspend with external sdcard present it takes 0.713 seconds to wake up usb, initilize + "insert" sdcard, and bring rest of internals from suspend (24041.991826 - 24042.705211), with sdcard business being the most time consuming. Removing sdcard drastically lowers the time to usb un-suspending to 0.145 seconds (24498.907313 - 24499.052786). Wakelocking the phone pretty much eliminates that time since we're preventing usb+sdcard from powering down by manually locking the suspend, which is really same thing as keeping phone on usb.
From this I concluded that if you hate wakelag, remove your sdcard. If you *really* hate wakelag, don't be taking you phone off usb
Again, this is just a result of me messing with my phone staring at the dumps for 7 hours straight wired on coffee so take this only as a report of my phone's behavior. I'm sure some dev who actually knows what the @$% these logs mean can elaborate much more on this.
edit: use this post/thread to discuss and track down what's causing wakelag and how to fix it. oh, and don't even think of quoting the op, it's huuuuge
So the question is, why is the phone removing USB and ext SD when putting the phone to sleep? Does it serve a purpose? If we remove this feature is there a potential detriment?
Sent from my SPH-D710 using xda premium
squshy 7 said:
So the question is, why is the phone removing USB and ext SD when putting the phone to sleep? Does it serve a purpose? If we remove this feature is there a potential detriment?
Click to expand...
Click to collapse
my only assumption is it's powering down the circuitry to save battery life when phone isn't used. i also wonder how one would go about prevent the suspending of usb/sdcard and, of course, measure how badly it reflect on battery consumption. i wish i knew kernel coding better, lol
frifox said:
my only assumption is it's powering down the circuitry to save battery life when phone isn't used. i also wonder how one would go about prevent the suspending of usb/sdcard and, of course, measure how badly it reflect on battery consumption. i wish i knew kernel coding better, lol
Click to expand...
Click to collapse
Hmm, do other phones do this? I admit I've never researched it, but then again I've never noticed such considerable lag.
I would think that shutting down circuitry to save battery life wouldn't be relevant since the phone isn't constantly accessing the storage media...but I wonder if it has something to do with the SD card being mounted within internal storage...do other phones also follow the /sdcard/external_sd method? Or is this a Samsung quirk?
Sent from my SPH-D710 using xda premium
WOW
what a crazy difference in time from having my 16gb microsd in the phone + not charging vs no sd card and on usb...i can't wait till we have the full explanation and resolution. samsung's nuts for not figuring this out themselves.
d94 said:
WOW
what a crazy difference in time from having my 16gb microsd in the phone + not charging vs no sd card and on usb...i can't wait till we have the full explanation and resolution. samsung's nuts for not figuring this out themselves.
Click to expand...
Click to collapse
That's the thing, it doesn't seem to be a bug per say, but by design
..
Sure, the actual amount of time it takes might be classified as a bug, but the fact that there is a delay seems intentional.
EDIT: OP, I'm going to post your logs on sprint's internal forum today and bump the topic if need be
Sent from my SPH-D710 using xda premium
So I did some digging around the kernel code and found this.
Kernel/drivers/staging/westbridge/astoria/device/cyasdevice.c, lines:
507. cyasblkdev_stop_sdcard();
508. retval = cyasblkdev_start_sdcard();
Click to expand...
Click to collapse
which are inside of the parent wb_resume function (westbridge resume from suspend function?), which apparently is responsible the 0.5 sec of wakelag here:
kmsg dump with phone off usb, external sdcard inserted
<3>[24042.163382] cyasblkdev_stop_sdcard : cy_as_storage_stop is called - found
<3>[24042.687474] cyasblkdev_start_sdcard : cy_as_storage_start is called
Click to expand...
Click to collapse
here's the full wb_resume function:
Code:
static int wb_resume(struct platform_device *devptr)
{
int retval;
int sd_status;
//cy_as_hal_print_message(KERN_ERR"%s called\n", __func__);
//cyasdevice_leave_standby();
//down(&cy_as_device_controller->wq_sema);
cy_as_hal_enable_power(cy_as_device_controller->hal_tag, 1);
cy_as_hal_enable_NANDCLK(1);
gpio_set_value(WB_CLK_EN, 1);
msleep(10);
//cy_as_hal_sleep(10);
//up(&cy_as_device_controller->wq_sema);
enable_irq(WB_CYAS_IRQ_INT);
msleep(5);
sd_status=cy_as_hal_detect_SD();
if(sd_status)
{
down(&cy_as_device_controller->wq_sema);
cy_as_device_controller->cy_work->f_isrunning = 1;
up(&cy_as_device_controller->wq_sema);
retval = cyasdevice_wakeup_thread(1);
if( retval == 0 )
{
msleep(10);
cyasblkdev_stop_sdcard();
retval = cyasblkdev_start_sdcard();
// retval = cy_as_misc_storage_changed(cy_as_device_controller->dev_handle, 0, 0);
if(retval != CY_AS_ERROR_SUCCESS)
{
#ifndef WESTBRIDGE_NDEBUG
cy_as_hal_print_message(KERN_ERR "%s : fail in cy_as_misc_storage_changed (%d) \n", __func__, retval);
#endif
}
}
down(&cy_as_device_controller->wq_sema);
cy_as_device_controller->cy_work->f_isrunning = 0;
up(&cy_as_device_controller->wq_sema);
}
if( sd_status || cy_as_device_controller->cy_work->f_status )
{
cy_as_device_controller->cy_work->f_reload = 2;
queue_delayed_work( cy_as_device_controller->cy_wq, &cy_as_device_controller->cy_work->work, 0);
}
enable_irq(WB_SDCD_IRQ_INT);
return 0;
}
so as a test, i commented out those stop & start functions (why would you stop and start sdcard again when phone is waking up?) and recompiled the kernel. after some testing i did see an improvement in wakelag but it wasnt completely gone. both internal and external sdcards seemed to work just fine after wakeups so that's the good news. the bad news is, next morning i received a phone call and the device hot-rebooted on me. that was after running viperROM for a day, but since i never had my phone reboot on me after a call i'd say it could be a result of me commenting out those sdcard stop/start functions.
tl;dr: it's possible to improve wakelag by 0.5 seconds but sadly it doesn't completely get rid of it and could possibly lead to hot reboots (still to be confirmed).
frifox said:
So I did some digging around the kernel code and found this.which are inside of the parent wb_resume function (westbridge resume from suspend function?), which apparently is responsible the 0.5 sec of wakelag here:
here's the full wb_resume function:
Code:
static int wb_resume(struct platform_device *devptr)
{
int retval;
int sd_status;
//cy_as_hal_print_message(KERN_ERR"%s called\n", __func__);
//cyasdevice_leave_standby();
//down(&cy_as_device_controller->wq_sema);
cy_as_hal_enable_power(cy_as_device_controller->hal_tag, 1);
cy_as_hal_enable_NANDCLK(1);
gpio_set_value(WB_CLK_EN, 1);
msleep(10);
//cy_as_hal_sleep(10);
//up(&cy_as_device_controller->wq_sema);
enable_irq(WB_CYAS_IRQ_INT);
msleep(5);
sd_status=cy_as_hal_detect_SD();
if(sd_status)
{
down(&cy_as_device_controller->wq_sema);
cy_as_device_controller->cy_work->f_isrunning = 1;
up(&cy_as_device_controller->wq_sema);
retval = cyasdevice_wakeup_thread(1);
if( retval == 0 )
{
msleep(10);
cyasblkdev_stop_sdcard();
retval = cyasblkdev_start_sdcard();
// retval = cy_as_misc_storage_changed(cy_as_device_controller->dev_handle, 0, 0);
if(retval != CY_AS_ERROR_SUCCESS)
{
#ifndef WESTBRIDGE_NDEBUG
cy_as_hal_print_message(KERN_ERR "%s : fail in cy_as_misc_storage_changed (%d) \n", __func__, retval);
#endif
}
}
down(&cy_as_device_controller->wq_sema);
cy_as_device_controller->cy_work->f_isrunning = 0;
up(&cy_as_device_controller->wq_sema);
}
if( sd_status || cy_as_device_controller->cy_work->f_status )
{
cy_as_device_controller->cy_work->f_reload = 2;
queue_delayed_work( cy_as_device_controller->cy_wq, &cy_as_device_controller->cy_work->work, 0);
}
enable_irq(WB_SDCD_IRQ_INT);
return 0;
}
so as a test, i commented out those stop & start functions (why would you stop and start sdcard again when phone is waking up?) and recompiled the kernel. after some testing i did see an improvement in wakelag but it wasnt completely gone. both internal and external sdcards seemed to work just fine after wakeups so that's the good news. the bad news is, next morning i received a phone call and the device hot-rebooted on me. that was after running viperROM for a day, but since i never had my phone reboot on me after a call i'd say it could be a result of me commenting out those sdcard stop/start functions.
tl;dr: it's possible to improve wakelag by 0.5 seconds but sadly it doesn't completely get rid of it and could possibly lead to hot reboots (still to be confirmed).
Click to expand...
Click to collapse
Thanks working on lag bug.
Hopefully it can be totally eliminated in near future
any more updates on this?
Related
guys, please, read with full attention, this can help us all.
what about we working together to explain each of the lines in the sys.txt, some of them are self-explanatory but most of them aren't.
this would be extremely helpful for newbies and not-too-newbies.
the reason is that i realized that everytime someone posts a new sys.txt people will try it and in the process, some features that were enabled previously will disappear or something new will come up that will get us freaking out. specially because it seems that every new sys.txt posted here has a bunch of new parameters.
everyone wants the best settings to suit their needs and the best is if they could achieve that themselves by knowing what they are doing.
i'd like everyone to contribute, don't be afraid to be wrong, try and if it's not right someone else will fix. just copy, paste and edit the bottom sys.txt with the explanation of each line really replacing the ;???????????? for what you think this line will do.
I'm using the sys.txt posted by andrewpmoore with some add-ins found in this thread. I deleted the explanations in the original sys.txt. i just found that although saying "makes map drawing a lot faster" will make me think that it really does what it says, however it still won't say exactly what it is and what are its parameters.
The tags in blue were added by me, if you think they're incorrect, please correct me.
>>>Update:
Added more lines found in other examples as well as some info provided by Shetlander.
V.4 - houston, we have a problem!
ok, the sys.txt file now features 14k which is bigger than a post could hold.
and to show it with text formatting it would take other 5k or more, so it was impossible to put it here.
please download the zip file.
in it, you'll find the sys.txt in normal text-only, in word 2003 and in excel 2003.
the reason i added a version in excel is cause it's much easier to edit, sort, add and delete comments in batches.
please have a go.
recalc_voice=0 Supposed to disable the annoying "route recalculation" voice.
mapfontscale=200 I think its to do with the size of road names etc on the map.
drive_carefully=0 ;Disable the voice "drive carefully"
skin="ui_igo8" ;????????????
;resolution_dir="800_480" ;Tells the program which directory the ui files are in. I think pointless if you use - autoconfig=1 ;It will make iGo work with TouchHD native rotation.
auto_nightmode=0 ;Stops the prog switching to nightmode automatically
;screen_x=800 ;????????????
;screen_y=480 Tells the prog the dimension of x & y of the screen, again I think irrelevant if you use autoconfig.
show_oneway_3d=1 ; 3d arrows in one way streets ;Draws 3d arrows in the direction of travel on one way streets
show_oneway=1 ; show one way on or off ;?Will either show on not show one way streets.
Shetlander said:
recalc_voice=0 Supposed to disable the annoying "route recalculation" voice.
mapfontscale=200 I think its to do with the size of road names etc on the map.
drive_carefully=0 ;Disable the voice "drive carefully"
skin="ui_igo8" ;????????????
;resolution_dir="800_480" ;Tells the program which directory the ui files are in. I think pointless if you use - autoconfig=1 ;It will make iGo work with TouchHD native rotation.
auto_nightmode=0 ;Stops the prog switching to nightmode automatically
;screen_x=800 ;????????????
;screen_y=480 Tells the prog the dimension of x & y of the screen, again I think irrelevant if you use autoconfig.
show_oneway_3d=1 ; 3d arrows in one way streets ;Draws 3d arrows in the direction of travel on one way streets
show_oneway=1 ; show one way on or off ;?Will either show on not show one way streets.
Click to expand...
Click to collapse
i will update it to the first post, but just occured to me the mapfontscale=200 is more for the street names showing on the map (the ones that follow the road while you move).
thanks for the input, mate.
thanks to PedroDaGr8 i am bringing to you "some more"
this are the options/possibilities existing for the different settings in the sys.txt and some explanations of what they are and what they are doing.
look for the comments after the ; but most of them are self explanatory.
[2d]
[3d]
[3d_config]
[bluetooth]
[config]
[debug]
[defaults]
[device]
[feature]
[folders]
[gps]
[interface]
[itiner]
[kml]
[loading]
[local]
[map]
[msnd]
[mydata]
[mydata.tracks]
[navigation]
[other]
[phone]
[poi]
[power]
[rawdisplay]
[route]
[screen]
[settings]
[smartzoom]
[speedcam]
[sound]
[timezone]
[tmc]
[tripcomputer]
[tts]
[usb]
[warning]
Code:
[2d]
guidancearrow_disappearlevel=600
guidancearrow_maxshift=12
minguidancearrowsize=20
minguidancearrowsize_zoomlevel=1200
maxguidancearrowsize=65
maxguidancearrowsize_zoomlevel=0
[3d]
3d_tmc_road_extra_width=200 ;
building_camera_distance_far=500
building_camera_distance_medium=50
building_camera_distance_near=10
disable_3d_labels=0 ;
fade_distance_for_car=50
fade_distance_for_guidance_arrow=500
guidancearrow_contour ;
guidancearrow_first_size=1.1 ; [COLOR="RoyalBlue"][I]scale of 1st arrow[/I] [/COLOR]
guidancearrow_first_alpha=24 ; [COLOR="RoyalBlue"][I]transp of 1st arrow[/I] [/COLOR]
guidancearrow_second_size=0.8
guidancearrow_second_alpha=12
guidancearrow_skew ;
guidancearrow_thickness ;
guidancearrow_width ;
guidancearrow_zoomfactor ;
max_poly_distance_lower
max_poly_distance_upper
max_poly_segments_shown
max_track_distance_lower
max_track_distance_upper
max_track_segments_shown
min_poly_distance
min_poly_segments_shown
min_track_distance
min_track_screen_ratio
min_track_segments_shown
road_clip_plane_camera_delta=50 ;
road_clip_plane_to_camera_height= ;
show_guidance_strip=1
show_guidance_arrows=1
track_screen_ratio
use_all_building_textures=0 ; not?
[3d_config]
disable_roadsign_navigation_mode=1
roadsign_lines_per_screen=12
rotated_roadsigns=1
[bluetooth]
send_showphoneui_on_dial=1
[config]
autoset2donmap=1
autoset3doncockpit=1
hideroadaltname=1
overspeedrewarnbelow=1
SafeModeMinSpeed=40
[debug]
autosave=1
bringtotop_afterresume=1
buildneworderlist=1
cache=2048
compass_type=2
disable_3d=0 ;[COLOR="RoyalBlue"][I]disables 3d buildings and roads [/I][/COLOR]
disable_outlookpoi=1
double_pixel_mode=2 ;[I]3d mode fastdraw[/I]
doublepixel_stable_frame_time=500 ;[COLOR="RoyalBlue"][I]time in ms before leavin fastdraw[/I][/COLOR]
earth=1
enable_buildings=1
enable_landmark_occlusion=1
enable_roadshadow=1
enable_roadsign=1
fov=40
gnome_dem_files=1
hide_itiner_crossing=1
join_dual=0
lang_registry_2006=1loop_sim=1
loop_sim=1
max_memory=
mute_os_key=1 ; [COLOR="RoyalBlue"][I]a value of 1 mutes the click noise from the OS when touching a touchscreen[/I][/COLOR]
no_file_cache="0"
nortc=1 ; [COLOR="RoyalBlue"][I]RTC = real time clock aka the devices internal clock[/I][/COLOR]
pin_sets_start=1
poi_labels=1
replay_tmc=1
reserve_memory
run_on_mio_mantas=1
screen_calibration=1
show_arrows_on_route=1 ;[COLOR="RoyalBlue"][I] little arrows in direction of route [/I][/COLOR]
show_device_type=0
show_gps_pos=1 ;[COLOR="RoyalBlue"] [I]this works again ;O) [/I][/COLOR]
show_lane_info=1
show_ltn=1
show_multinode_maneuvers=1
show_oneway_3d=1 ; [COLOR="RoyalBlue"][I]3d arrows in one way streets [/I][/COLOR]
show_oneway=1 ; [COLOR="RoyalBlue"][I]show one way on or off [/I][/COLOR]
show_pedestrian=1
show_performance=0 ;[COLOR="RoyalBlue"][I] cpu / mem / whatever bars on top of screen[/I] [/COLOR]
show_plural=1
show_poi_areas=1
show_poi_boundingrects=1
show_priority_maneuvers=1
show_prohibited_maneuvers=0
show_rawdisplay_info=0 ; [COLOR="RoyalBlue"][I]handy for seeing what igo chooses as display driver [/I][/COLOR]
show_residentonly=0
show_speed_limit=1
show_turn_penalty=1
show_signpost=1
sim_speed_factor_max=8.0
skip_eula=1 ;[COLOR="RoyalBlue"][I]skips the End User License Agreement at start-up (only happens on first run anyways)[/I][/COLOR]
slowsim=1
smart_2d=1
sound_q_length=200
speedcam_enabled=1
split_dual=0
strap_waypoints=1
supress_highway_enter=0
supress_straight=0
supress_trivial_left=0
supress_trivial_right=0
tmc_all_stations=1 topmost=1
traincrossing=1
tts_expected_engine_delay=1400
tts_getaway_time=200
tts_min_ready_wav=1
[defaults]
mainroadness=60
shortessness=50
simplificationness=40
[device]
type="MIOC210" ;[COLOR="RoyalBlue"][I] force device type [/I][/COLOR]
typeid=3 ;In Igo8.exe: [COLOR="RoyalBlue"][I]MIO device detected, use KernelIOControl method
[/I][/COLOR]
[feature]
text_guidance=1
signpost_coloring=1
tmc_event_coloring=1
tmc_traffic_side=1
[folders]
app="%SDCARD%/iGO8" ; [COLOR="RoyalBlue"][I]change this if applicable [/I][/COLOR]
sdcardpath="\Storage Card"
exe=""
data="\Storage Card\igo" ;[COLOR="RoyalBlue"][I]custom,save [/I][/COLOR]
content="\Storage Card\igo\CONTENT"
textures="custom"
models="custom"
secondary_root="IPAQ\NAV"
[gps]
background_navigation=1
logging=0 ; [I][COLOR="RoyalBlue"]see also mydata.tracks [/COLOR][/I]
port=2
baud=38400
source="nmea"
disable_advanced=0
default_longitude=2.294760 ;[COLOR="RoyalBlue"][I]starting postion on the map before GPS is found.[/I][/COLOR]
[interface]
angleoffset=
autotilt=0
autotilt_minzoom3d=40
autotilt_maxzoom3d=1000
autoscroll_on_click=1
default_poi_icon="Contacts" ;
defaulttilt3d=75000
defaultzoom2d=1000
defaultzoom3d=500
disable_3dstick_labels=1 ;
drive_carefully=0
empty_favorites=1
exit_on_restart=0
laneinfo_signpost_enabled=1
mapfontscale=130 ;[COLOR="RoyalBlue"] [I]for 2d and 3d map[/I][/COLOR]
maxzoom2d=60000 ; [COLOR="RoyalBlue"][I]zoom out level (disabled get you into space ;O) [/I][/COLOR]
minzoom2D=40 ; [COLOR="RoyalBlue"][I]zoom in level 2d[/I] [/COLOR]
minzoomglobe=100000
msgbox_max_width=50
newalignment=1 ;
poi_show_all_btn=1
popup_info=1
resolution_dir="320_240" ; [COLOR="RoyalBlue"][I]tells what resolution to use in a multires skin[/I][/COLOR]
screen_snap_distance=40
showselection=1
show_exit=1 ; [COLOR="RoyalBlue"][I]obvious [/I][/COLOR]
show_gps_config=1
show_minimize=1
show_orientation=1
show_timezoneslider=1 ;
show_tmc_config=1
show_zoombar=1 ; [COLOR="RoyalBlue"][I]also see zoomscale_disappearing [/I][/COLOR]
shutdown_time=0
skin="ui_igo8"
spec_fav_count=4
theme="skin\igo8_plus.zip"
use_big_lang_flag=1
use_spec_fav=1
waypoint_list_ignore_autosource=1
vga=1
Zoom2dpercent=
[itiner]
show_only_ahead_of_car=1
[kml]
default_icon=1
[loading]
loading_bmp="loading.jpg"
progressbar_bmp="loading_progressbar.bmp"
progressbar_x=85
progressbar_y=134
show_progressbar=0
show_statustext=1
supress_straight=0
supress_highway_enter=0
supress_trivial_left=0
supress_trivial_right=0
text_align=1 ;[COLOR="RoyalBlue"][I]Left=0,Center=1,Right=2 and Justify=3[/I][/COLOR]
text_fontcolor=xFFFFFF
text_fontsize=30
text_w=600
text_x=100
text_y=400
traincrossing=1
[local]
; [COLOR="RoyalBlue"][I]Date Format: To select your desired format, delete the ; infront of the format you want and ; in front of the rest (or just delete all of the other lines)[/I][/COLOR]
; Dateformat = 0; YYYY-MM-DD
; Dateformat = 1; AAAA.MM.GG
; Dateformat = 2; YYYY / MM / DD (DEFAULT)
; Dateformat = 3; YYYY-MM-DD
; Dateformat = 4; AAAA.GG.MM
; Dateformat = 5; YYYY / MM / DD
; Dateformat = 6; DD-MM-YYYY
; Dateformat = 7; DD.MM.YYYY
; Dateformat = 8; DD / MM / YYYY
; Dateformat = 9; MM-DD-YYYY
; Dateformat = 10; MM.GG.AAAA
; Dateformat = 11; MM / DD / YYYY
[map]
2dheadup=1
3d_brunnel_shutdown=
3d_buildings=1
3d_buildings_distance=2
3dcarsizemin=5000
3dcarsizemax=10000
3dcarsizemul=30000
3d_dem=1
3d_dem_detail=2
3d_landmarks=1
3d_max_tiltlevel=7500
3d_max_zfar=500
3d_max_zoomlevel=2000
3d_min_zoomlevel=40
3d_roads=1
3d_scale_carmodel=1
3d_tunnels=1
alternative_roadnames=0
auto_nightmode=0 ; [I]see also nightmode [/I]
cross_border_routes=1
follow_gps=1
inertia_on_map_move=1 ; [COLOR="RoyalBlue"][I]sets autoscroll on the map, tends to be buggy though sometimes doesn't stop.[/I][/COLOR]
map_mode="3D"
maxFovRatioForPoly=8
maxPolyDistances0 = 2000
maxPolyDistances1 = 3000
maxPolyDistances2 = 4000
maxPolyDistances3 = 5000
maxTrackDistances0 = 2500
maxTrackDistances1 = 3500
maxTrackDistances2 = 4500
maxTrackDistances3 = 5500
minPolyDistances0 = 500
minPolyDistances1 = 500
minPolyDistances2 = 500
minPolyDistances3 = 500
minTrackDistances0 = 500
minTrackDistances1 = 500
minTrackDistances2 = 500
minTrackDistances3 = 500
roadblockicon_maxzoom=2000
rotation="0"
shields=1
show_labels=1 ;
show_oneway=1 ; [COLOR="RoyalBlue"][I]turns on or off the arrows showing one way streets[/I][/COLOR]
stop_rotate_on_map_move=1
terrain_in_2d=0
textured_poly=1
viewpreset_front1="30,100,7200,10"
viewpreset_front2="140,7000,6000,10"
viewpreset_front3="140,7000,6000,10"
viewpreset_top="600,50000,225,10"
zoomscale_disappearing=1 ;[COLOR="RoyalBlue"] [I]works with show_zoombar[/I][/COLOR]
and some more:
Code:
[msnd]
; [I][COLOR="RoyalBlue"]How does msdn work? Movies, Weather, Petrol prices, etc..... [/COLOR][/I]
msnd.start=0
[mydata]
favicon=""
max_favorites=16
max_histories=40
num_favicons=7
[mydata.tracks]
auto_track_visible=1
record_auto_track=0
tracklog_folder=""
[navigation]
autoreplan_action="AUTO"
gps_pos_to_road=1
show_countrychange=1
show_current_city=1
sim_speed_factor=1.0 [COLOR="RoyalBlue"][I];Determines how fast the simulation runs, 1=realtime[/I][/COLOR]
skip_grab_viewchanging=1
[other]
demo_mode=1
[phone]
driver="TAPI"
exe_path="\Windows\cprog.exe"
win_name="Phone"
[poi]
enable_pois_before_080217=1 ;[COLOR="RoyalBlue"][I]080217 is the date can be changed as needed[/I][/COLOR]
multipoi=1 ;[I]allows you to use more than one set of POIs at a time (will show duplicates though)[/I]
[power]
backlight_day=100
backlight_night=54
backlight_slow_api=1
backlight_sync_with_OS=1
battery_warning_limit=10
powermgm_state=0
power_off_mode=1
power_off_timeout=300
skip_resume_process=1
skip_suspend_process=1
[rawdisplay]
class="landscape" ; [COLOR="RoyalBlue"][I]adjusts the orientation, other options are rlandscape, portrait, square,wide [/I][/COLOR]
driver=GX ;GDI or GX
highres=0
screen_x=320
screen_y=240
stretch=0
[route]
allow_carpool=0
allow_charge=1
allow_ferry=1
allow_highway=1
allow_special=0
allow_unpaved=0
allow_uturn=1
correctness=80 ; [I][COLOR="RoyalBlue"]we used to have a slider for that[/COLOR][/I]
cross_border_routes=1
fast_car_multiplactor
fast_car_speed
motorcycle_multiplactor
motorcycle_speed
planned_route_weight=7
route_type="ECO"
scenic_highway_weight=4
scenic_scenic_weight=2
slow_car_multiplactor
slow_car_speed
tmc_weight=6
vehicle_type="truck"
[screen]
current_background="default.bmp"
focus=1
focus_activator_key
focus_color
focus_followlinks
focus_halign
focus_sprite
focus_type=2
focus_valign
focus_list_keydown
focus_list_keyleft
focus_list_keyright
focus_list_keyup
focus_list_move_before_scroll
menu_animation=0
nightmode=0
[settings]
accident_map=1
accident_panel=1
accident_recalc=0
closed_map=1
closed_panel=1
closed_recalc=0
closures_map=1
closures_panel=1
closures_recalc=0
congestion_map=1
congestion_panel=1
congestion_recalc=0
danger_map=1
danger_panel=1
danger_recalc=0
heavy_map=1
heavy_panel=1
heavy_recalc=0
invalid_map=1
invalid_panel=1
invalid_recalc=0
police_map=1
police_panel=1
police_recalc=0
roadworks_map=1
roadworks_panel=1
roadworks_recalc=0
weather_recalc=0
weather_map=1
weather_panel=1
[smartzoom]
autozoom_address=100
autozoom_coord=200
autozoom_cos=200
auto_follow_on=1
auto_follow_time=10
auto_smartzoom_time=8
default_visibility_altitude=4000
enabled=1
enabled2d=1
maxangle=85
maxzoom=250
minangle=8
minzoom=60
overview=0
overview_distance=20000
overview_zoomlevel=10000
restore_smartzoom_on=1
use2d=1 ;[COLOR="RoyalBlue"][B]use2d is to use separate smartzoom for 2d and 3d. Once this is implemented in a UI it should be set to 1. [/B][/COLOR]
zoom_after_find=1
[speedcam]
disable="_SUI", "_GER", "_AUT"
enable_at_startup=1
speedcam_sound="!alert1"
usemio=-12,90,37,27
[sound]
auto_mute=0
ding=0
device_bps=
device_samplerate=
device_stereo=
dynamic_volume_maxspeed=100
dynamic_volume_minspeed=40
dynamic_volume_os_volume_max=255
dynamic_volume_type=1
dynamic_volume_voicemaxspeed=80
dynamic_volume_voice_volume_max=100
incomingcallsetting=0
queue_length=200
sound_volume=255
sound_muted=0
suspend_time=5 ;[I][COLOR="RoyalBlue"]timeout for wavedev to goto sleep [/COLOR][/I]
use_os_volume=1
voice_muted=0
voice_volume=255
[timezone]
auto_index=29
default_timezone=29 ; [I][COLOR="RoyalBlue"]GMT+1 amsterdam[/COLOR][/I]
index=29
manual_dst=0
reset_os_timezone=0
sync_os_timezone=0
sync_time=1
use_auto=1
[tmc]
auto_detour_calc=0
;announce_total_route=1
baud=38400
ignore_all_events=0
port="COM,1"
source="gns"
;[I][COLOR="RoyalBlue"]harman eten galik opentmc2 opentmc1 hyundai samsung amaryllo royaltek gns [/COLOR][/I]
[tripcomputer]
num_of_trips=4 ; default igo8 has only 3
[tts]
always_say_road_names=1
announce_exit_directions=1
announce_street_name=1
priority="HIGH"
skip_exit_numbers=0
tts_buffer=131072
tts_logics=3
[usb]
disable_on_startup=0
enable_on_shutdown=1
quitmap_msg_quits=0
[warning]
approach_beep_distances=200
approach_beep_sound="!sectionbeepB"
max_section_time=240
overspeed_sound= "!alert3" ; speedcam sound
pedestrian_warning=0
pedestrian_warning_threshold=10
section_beep_distance=200
section_beep_sound= "!sectionbeepA"
section_end_sound= "!sectionend"
section_start_sound="!sectionstartA"
speedcam_maxdistance_from_road=
speedcam_max_angle=20
speedcam_max_lookahead=400
speedcam_snap_distance=200
speedcam_soundtype=1
speedcam_visualtype=1
speedcam_warning=1
speedlimit_warning=1
speedlimit_warning_visual=1
speedlimit_warning_voice=1
speedwarn_alt_builtup_based=1
speedwarn_alt_limit
speedwarn_alt_tolerance
speedwarn_tolerance=110
speedwarn_alt_toltype
speedwarn_toltype
warn_distances=130:450,110:350,90:300,60:200,40:10 0 ;[B]These numbers are apparently in the format of Speed:Distance[/B].
An important setting for the Touch HD:
[device]
type="HTC Touch HD T8282"
I am using the latest iGO8 and I don't use an sys.txt?
niels_90 said:
I am using the latest iGO8 and I don't use an sys.txt?
Click to expand...
Click to collapse
are you absolutely sure about that? sys.txt is like the bible for iGo. it is where you can change almost everything in the app to suit your needs. if it's working without it you may be using the factory settings which are not optimal.
@everyone: guys, i'm nearly finished re-editing the sys.txt with all the additions provided and will update the post #2 later today.
@KukurikU: why some of the itens in the screen, sound and 3d have no parameters? an example is focus_activator_key, shouldn't it be focus_activator_key=NNN?
easyriider said:
An important setting for the Touch HD:
[device]
type="HTC Touch HD T8282"
Click to expand...
Click to collapse
This is very interesting. I have seen that some people are using type="Touch HD", some have even suggested using type="ALIAS XPERIA"
I looked in the latest "data file" that I could find, and under the subdirectory config\devices I found only one config file that relates directly to the Touch HD and it is called:
ALIAS_BLACKSTONE
I just started using this line type="ALIAS_BLACKSTONE" and with a ; in front of almost all of the entries in my sys.txt file to make them inactive. Everything is working great so far including landscape/portrait. I looked in the file and there wasn't much in it but I figure at least I actually found a file name that corresponded to the HD in the list.
Matterhorn said:
... I found only one config file that relates directly to the Touch HD and it is called:
ALIAS_BLACKSTONE
I just started using this line type="ALIAS_BLACKSTONE" and with a ; in front of almost all of the entries in my sys.txt file....
Click to expand...
Click to collapse
that is definitely an important info. using the default settings for a specific model would suit a lot of users.
sys.txt's main job is tweak the app to optimize the experience. editing it wisely would make the whole thing much better.
This is the contents of the ini file from the latest DATA.zip file for the Touch HD.
info_names="HTC Blackstone"
[device]
SDCard_dsk_num=7
[gps]
port = 4
baud = 9600
[rawdisplay]
highres=0
autoconfig=1
As you can see, the rawdisplay settings are the important ones to control the size of screen. My iGO8 uses a baud rate of 56000 so id rather not use the ini file.
SlakerBoi said:
are you absolutely sure about that? sys.txt is like the bible for iGo. it is where you can change almost everything in the app to suit your needs. if it's working without it you may be using the factory settings which are not optimal.
Click to expand...
Click to collapse
Yes i'm absolutely sure.
In version v8.3.2.64873 and lower you need a sys.txt where you need to tell iGO that it should use 800x480 graphics etc etc.. I am using v8.3.2.80621 and the only setting sys.txt contains is:
Code:
[interface]
show_exit=1
It automatically detects your device and configures itself. I am using it for a few weeks now and there is no need for adding settings because it's working perfect
I have a data.zip with in the map config/devices a file with the name "HTC Touch HD T8282.ini" with the following content:
info_names="HD"
[device]
SDCard_dsk_num=7
[gps]
port="4"
baud="57600"
[rawdisplay]
highres=0
autoconfig=1
driver="gdi"
[power]
backlight_manage_values = 1
backlight_manage_keys = 1
backlight_max = 10
backlight_min = 1
backlight_reverse = 0
backlight_key_bright_BA1 = "Brightness"
backlight_key_bright_AC1 = "ACBrightness"
backlight_key_bright_BA2 = "BacklightLuminanceLevel"
backlight_key_bright_AC2 = "ACBacklightLuminanceLevel"
backlight_key_timeout_BA = "BatteryTimeout"
backlight_key_timeout_AC = "ACTimeout"
backlight_key_ontap_BA = "BacklightOnTap"
backlight_key_ontap_AC = "ACBacklightOnTap"
backlight_key_on_BA = "OnOff"
backlight_key_on_AC = "ExtOnOff"
backlight_methods = 25
backlight_events = 3
[interface]
use_big_lang_flag=1
In sys.txt in version v8.3.2.80621, I only have:
[folders]
app="%SDCARD%/iGo8"
[device]
type="HTC Touch HD T8282"
(If you have installed iGO in the device memory it is important that you edit the sys.txt at that location instead of the sys.txt on the sdcard)
hi,
i've added all the new lines and the sys.txt file became way too big to fit in a post. it can be found in a zip file in doc, xls or txt.
it took me so long to post the additions simply because a few lines were making my blackstone crash and i had to work out which one.
as you can see in the files, a lot of lines are lacking explanation. please let's work on it a bit more, mates.
and thank you again for the inputs.
OK, If you want to stop the "route recalculation" voice, under [TTS] in your sys.txt file add = recalculate=0.
Ive just tried it this morning and it works fine.
Finally got rid of that annoying voice.
I have a strange problem.
The first time I try and search for an adress, I can use the
smart search funktion were letters greys out if there is no street adress
matching the previous letter.
But after I have closed a route, and try to search for a new adress, the letter "å or a" is automaticly pressed multiple times. I cant even go back and push another letter myselfe.
So far the only way to restore this is to resset user data.
Can this problem be solved by useing some command i the sys.txt file?
Ethania said:
I have a strange problem.
The first time I try and search for an adress, I can use the
smart search funktion were letters greys out if there is no street adress
matching the previous letter.
But after I have closed a route, and try to search for a new adress, the letter "å or a" is automaticly pressed multiple times. I cant even go back and push another letter myselfe.
So far the only way to restore this is to resset user data.
Can this problem be solved by useing some command i the sys.txt file?
Click to expand...
Click to collapse
are you sure this is not a bug in the version you're using? i have recently been to portugal where the words have accents such as çãâáàü and everything worked just fine. i'm still using the version 8.3.2.64873.
Ethania said:
I have a strange problem.
The first time I try and search for an adress, I can use the
smart search funktion were letters greys out if there is no street adress
matching the previous letter.
But after I have closed a route, and try to search for a new adress, the letter "å or a" is automaticly pressed multiple times. I cant even go back and push another letter myselfe.
So far the only way to restore this is to resset user data.
Can this problem be solved by useing some command i the sys.txt file?
Click to expand...
Click to collapse
i found the solution!
Add this to sys.txt
[device]
Type="ALIAS_TOUCH HD"
sdcard_dsk_num=7
The only problem I'm having is that iGO doesn't respond when I press the hardware sound buttons. Nothing happens..
I'm using the latest version with no sys.txt, but I used a lot of sys.txt earlier when I used older versons. And there was the same problem. I'm using custom roms. Maybe that's the problem, because when I used stock rom I didn't have the problem.
Anyone having a solution?
This thread is mainly intended for developers - it's a proof-of-concept to show a new approach to the classic background for all tabs mod.
This is only a proof-of-concept and I won't develop it further because I don't use BG4all myself. But my hope is that the basic concept will be helpful to others, and that it will develop from there.
Traditionally the mod is made by moving the "HomeBackgroud" instance from home.mode9 to manila.mode9. The problem with this is that those are 2 of the most important mode9 files in manila, so they are also needed for a lot of other manila mods.
The result of this is that other mods now have to be made in 2 version: one with bg4all and one without. Also, if a new manila build changes one of the mode9s, the bg4all mod needs to be remade.
A different way of doing it is thought the lua scripts. Specifically only one script needs to be modified to make bg4all: homebackground.luac.
This way no mode9 files are modified so bg4all can be compatible with a lot of other mods. This way mods don't have to be redone to include bg4all.
I've included the lua source of the modified homebackground.luac for manila 2.5 with comments about what’s been changed, but you can also compare it to the original to get a better idea. At the bottom is a ready-made cab with bg4all for manila 2.5.
Here's the lua code:
Code:
-- Decompiled using luadec 3.2
-- File name: 090a4ee8_manila -- \windows\htc\home\scripts\HomeBackground.luac
require("asyncimageloader")
require("shell_svc")
CachedImagePath = "\\Windows\\HomeBackground.img"
HomeBackground.Opacity.value = 0
-- Home Background is not needed at all, so it should be made invisible
-- and we can forget about it from here on
-- from this point on anything that operated on HomeBackground is replaced with BackGroundLevel0
-- compare with the original 090a4ee8_manila to see the differences
-- BackGroundLevel0 is the default manila background that appears on all tabs
InterpolateOpacity = function(l_1_0, l_1_1)
l_1_1.Opacity:Interpolate(l_1_0, 20, 0, Interpolate_EaseOutQuad)
end
BackgroundWidth = 480
BackgroundHeight = 696
LoadDefaultBackground = function()
InterpolateOpacity(0, BackGroundLevel0)
if HomeTitleBar ~= nil then
HomeTitleBar.Opacity.value = 0
_application.Navigation.TabTrayOpacity = 100
end
end
BackgroundImageLoaded = function(l_3_0, l_3_1)
if l_3_0 then
if l_3_1 == 1 then
BackGroundLevel0.TextureCoords.width = l_3_0.TextureCoords.width
BackGroundLevel0.TextureCoords.height = l_3_0.TextureCoords.height
local l_3_2 = l_3_0.TextureCoords.width * l_3_0.Image.Width
local l_3_3 = l_3_0.TextureCoords.height * l_3_0.Image.Height
_StoreImageWidth = l_3_2
_StoreImageHeight = l_3_3
local l_3_4 = l_3_2 / BackgroundWidth
local l_3_5 = l_3_3 / BackgroundHeight
if l_3_4 < l_3_5 then
BackGroundLevel0.Size.height = l_3_3 / l_3_2 * BackgroundWidth
BackGroundLevel0.Size.width = BackgroundWidth
else
BackGroundLevel0.Size.width = l_3_2 / l_3_3 * BackgroundHeight
BackGroundLevel0.Size.height = BackgroundHeight
end
BackGroundLevel0.Position.x = (BackgroundWidth - BackGroundLevel0.Size.width) / 2
BackGroundLevel0.Position.y = 696 - (BackgroundHeight - BackGroundLevel0.Size.height) / 2 -- +696 is added here because the BG0's camera y-axis is set at the bottom, while Home's camera was set at the top
BackGroundLevel0:SetTexture(l_3_0.Image)
InterpolateOpacity(100, BackGroundLevel0)
if HomeTitleBar ~= nil then
local l_3_6 = _application.Store:GetIntValue(Lifetime_Application, "ShowCacheHomePage")
if l_3_6 == 1 then
HomeTitleBar.Opacity.value = 60
_application.Navigation.TabTrayOpacity = 60
end
end
else
LoadDefaultBackground()
end
collectgarbage("collect")
BackgroundAsyncImageLoader = nil
elseif _StoreImageWidth and _StoreImageHeight then
local l_3_7 = _StoreImageWidth / BackgroundWidth
local l_3_8 = _StoreImageHeight / BackgroundHeight
if l_3_7 < l_3_8 then
BackGroundLevel0.Size.height = _StoreImageHeight / _StoreImageWidth * BackgroundWidth
BackGroundLevel0.Size.width = BackgroundWidth
else
BackGroundLevel0.Size.width = _StoreImageWidth / _StoreImageHeight * BackgroundHeight
BackGroundLevel0.Size.height = BackgroundHeight
end
BackGroundLevel0.Position.x = (BackgroundWidth - BackGroundLevel0.Size.width) / 2
BackGroundLevel0.Position.y = 696 - (BackgroundHeight - BackGroundLevel0.Size.height) / 2 -- +696 same as before
end
end
BeginLoadBackgroundImage = function(l_4_0)
if Shell_HaveDRMRightsToFile(machineStatus.HomeBackgroundPath.Value, false) then
BackgroundAsyncImageLoader = AsyncImageLoader()
BackgroundAsyncImageLoader.Priority = TaskPriority_Normal
BackgroundAsyncImageLoader.OnComplete:connect(BackgroundImageLoaded)
BackgroundAsyncImageLoader:BeginLoadFile(l_4_0, false, true)
else
machineStatus.HomeBackgroundPath.Value = ""
machineStatus.CachedBackgroundPath.Value = ""
LoadDefaultBackground()
end
end
BackgroundImageResized = function(l_5_0, l_5_1)
if l_5_1 == 1 and machineStatus.HomeBackgroundPath.Value ~= "" then
machineStatus.CachedBackgroundPath.Value = machineStatus.HomeBackgroundPath.Value
BeginLoadBackgroundImage(CachedImagePath)
else
LoadDefaultBackground()
BackgroundAsyncImageLoader = nil
end
collectgarbage("collect")
end
machineStatus_OnCustomBackgroundUpdate = function()
if _config_os == "windowsmobile" then
local l_6_0 = machineStatus.HomeBackgroundPath.Value
local l_6_1 = machineStatus.CachedBackgroundPath.Value
if l_6_0 ~= l_6_1 then
if BackgroundAsyncImageFactoryLoader ~= nil and BackgroundAsyncImageFactoryLoader:IsRunning() then
BackgroundAsyncImageFactoryLoader = nil
collectgarbage("collect")
end
if BackgroundAsyncImageLoader ~= nil and BackgroundAsyncImageLoader:IsRunning() then
BackgroundAsyncImageLoader = nil
collectgarbage("collect")
end
if l_6_0 == "" then
machineStatus.CachedBackgroundPath.Value = machineStatus.HomeBackgroundPath.Value
LoadDefaultBackground()
else
BackgroundAsyncImageFactoryLoader = AsyncImageFactoryLoader()
BackgroundAsyncImageFactoryLoader.Priority = TaskPriority_BelowNormal
BackgroundAsyncImageFactoryLoader.Quality = 100
BackgroundAsyncImageFactoryLoader.OnComplete:connect(BackgroundImageResized)
BackgroundAsyncImageFactoryLoader:ResizeImage(machineStatus.HomeBackgroundPath.Value, CachedImagePath, EncoderType_JPEG, 512, 512, true, false)
end
elseif l_6_1 ~= "" then
BeginLoadBackgroundImage(CachedImagePath)
else
LoadDefaultBackground()
end
else
LoadDefaultBackground()
end
end
if _application.Store:GetStringValue(Lifetime_Permanent, "EnableLandscape") == "true" then
require("RotationTemplate")
HomeBackground_ScreenRotation = class(RotationTemplate)
HomeBackground_ScreenRotation.__init = function(l_7_0)
RotationTemplate.__init(l_7_0)
trace("+++++++[HomeBackground] : __init")
end
HomeBackground_ScreenRotation.OnScreenRotation = function(l_8_0)
trace("+++++++[HomeBackground] : OnScreenRotation")
if _application.Orientation == ScreenOrientation_Portrait then
BackgroundWidth = 480
BackgroundHeight = 696
elseif _application.Orientation == ScreenOrientation_Landscape then
BackgroundWidth = 805
BackgroundHeight = 376
end
BackgroundImageLoaded(nil, nil)
end
end
if _config_os == "windowsmobile" then
if _application.Store:GetStringValue(Lifetime_Permanent, "EnableLandscape") == "true" then
_HomeBackground_ScreenRotation = HomeBackground_ScreenRotation()
end
machineStatus.HomeBackgroundPath.OnValueChanged:connect(machineStatus_OnCustomBackgroundUpdate)
_application.OnOrientationChanged:connect(machineStatus_OnCustomBackgroundUpdate) -- needed for correct rotation
machineStatus_OnCustomBackgroundUpdate()
end
I just wanted to say THANKS! for all you work on the community and tell you what a great find you did "it looks so obvious to do it that way now" also THANKS! on your work on the decompiler many mods would not have been made without it.
By the way THANKS! again
nice, thank you
Perfect, once again a fantastic mod from you!
Thanks a million
Thanks a lot cookiemonster. Any plans to do one that also works to assign landscape wallpaper?
edit* Just tried it on landscape manila and doesnt work at all. Just get plain black background in portrait and landscape.
Awesome. So does this method keep the animated weather on sense 2.1? Could you cab that up PLEASE!!!!!
Superboy007 said:
I just wanted to say THANKS! for all you work on the community and tell you what a great find you did "it looks so obvious to do it that way now" also THANKS! on your work on the decompiler many mods would not have been made without it.
By the way THANKS! again
Click to expand...
Click to collapse
Wow, that's 3 very big thanks' I'm very glad I can contribute to the community.
kwill said:
Thanks a lot cookiemonster. Any plans to do one that also works to assign landscape wallpaper?
edit* Just tried it on landscape manila and doesnt work at all. Just get plain black background in portrait and landscape.
Click to expand...
Click to collapse
You're referring to manila 2.5.1922.2911, right?
That one also needs the manila.mode9 to work, but that's only because it has a built in bug in it's original manila.mode9. (I've made a cab for it here: http://forum.xda-developers.com/showpost.php?p=5499189&postcount=47)
Now, it might seem a little contradictory, that in the first post I say "no need to modify the mode9s", and now I'm saying 2.5.1922.2911 needs a mode9. But, believe me 2.5.1922.2911 is an exception rather than the rule. That version is bugged, and it's the only reason it needs the mode9 to work.
rjmjr69 said:
Awesome. So does this method keep the animated weather on sense 2.1? Could you cab that up PLEASE!!!!!
Click to expand...
Click to collapse
I've made some cabs here: http://forum.xda-developers.com/showpost.php?p=5499189&postcount=47
I haven't tested the animated wallpaper, only the regular. This is only a proof-of-concept and I won't develop it further because I don't use BG4all tabs myself (I prefer making better quality wallpaper with HDWall).
But my hope is that the basic concept will be helpful to others, and that it will develop from there.
Thanks Man,
A great new applicaiton. It also works for me Many Thanks
Co0kieMonster said:
Wow, that's 3 very big thanks' I'm very glad I can contribute to the community.
You're referring to manila 2.5.1922.2911, right?
That one also needs the manila.mode9 to work, but that's only because it has a built in bug in it's original manila.mode9. (I've made a cab for it here: http://forum.xda-developers.com/showpost.php?p=5499189&postcount=47)
Click to expand...
Click to collapse
Thanks much cookiemonster! I'm actually getting used to not using bg4all too. Manila runs much smoother without. Maybe I'll make some high quality walls with hdwalls also. But, it doesnt work on manila 2.5.1922 does it?
edit** Ok, now this was kind of weird. Installed the cab and all was fine, til I switched to landscape and back. My wallpaper disappeared after that, never to return Naw, after soft reset, it came back. But, same thing keeps happening.
If not here, i dont know a better place to get capable people that could MAYBE help me on this matter.
I am Using the "old" Tf3d (not leo) on my X1 and i came across a pretty sad thing.
TF3D scales down the Wallpaper and makes it look worse. I made a mod for a self changing wallpaper for tf3d so i got into the lua files quite a bit half a year ago.
So my questions are:
Do you have any idea where the image is scaled down in the lua code?
can you think of any workaround to get a better image quality?
I think this would make it SO SO SO much better, as the images in full quality look just stunning..and on tf3d they look just blurry.
And another brief question, did the lua decompilers got better?..half a year ago almost any big lua file could not be decompiled properly..and so could not be changed at all.
thank you in advance,
Daranus
kwill said:
Thanks much cookiemonster! I'm actually getting used to not using bg4all too. Manila runs much smoother without. Maybe I'll make some high quality walls with hdwalls also. But, it doesnt work on manila 2.5.1922 does it?
edit** Ok, now this was kind of weird. Installed the cab and all was fine, til I switched to landscape and back. My wallpaper disappeared after that, never to return Naw, after soft reset, it came back. But, same thing keeps happening.
Click to expand...
Click to collapse
HDWall works with 1922, but my patch for that version needs to be applied.
The landscape problem: As I've said, it's just a proof-of-concept and I won't develop it further. Anyone who wishes to do so: In order to fix the landscape problem, the BackGroungLevel0 texture needs to be reapplied in the rotation function.
Daranus said:
If not here, i dont know a better place to get capable people that could MAYBE help me on this matter.
I am Using the "old" Tf3d (not leo) on my X1 and i came across a pretty sad thing.
TF3D scales down the Wallpaper and makes it look worse. I made a mod for a self changing wallpaper for tf3d so i got into the lua files quite a bit half a year ago.
So my questions are:
Do you have any idea where the image is scaled down in the lua code?
can you think of any workaround to get a better image quality?
I think this would make it SO SO SO much better, as the images in full quality look just stunning..and on tf3d they look just blurry.
Click to expand...
Click to collapse
It's scaled down to 512X512 in the homebackground.lua script.
One workaround is to make it use 480x800 jpegs or pngs, but that still isn't optimal because Manila displays those formats with some kind of dot artifacts.
The best quality solution is to use Manila's native QTC format, but you have to make your wallpapers with HDWall: http://forum.xda-developers.com/showthread.php?t=503511
Daranus said:
And another brief question, did the lua decompilers got better?..half a year ago almost any big lua file could not be decompiled properly..and so could not be changed at all.
thank you in advance,
Daranus
Click to expand...
Click to collapse
I've been developing LuaDec recently and made a lot of improvements - it can decompile more than 90% of all Manila script. The link to the tool is in my signature.
very goog , thanks.
hej Co0kie!
does this one work with your 16-20 Quicklinks/Appointments beta_1.5?
the QL app is a sure nomination for some HTC price. I'm getting used to not having a B4all, but would be sooo nice to have this working too
dXsL said:
hej Co0kie!
does this one work with your 16-20 Quicklinks/Appointments beta_1.5?
the QL app is a sure nomination for some HTC price. I'm getting used to not having a B4all, but would be sooo nice to have this working too
Click to expand...
Click to collapse
I just checked it and it's working fine with v1.5beta2. (on Manila 2.5.1922.3829)
And I really don't see why it should be causing any problems. The two mods use different files.
Co0kieMonster said:
The landscape problem: As I've said, it's just a proof-of-concept and I won't develop it further. Anyone who wishes to do so: In order to fix the landscape problem, the BackGroungLevel0 texture needs to be reapplied in the rotation function.
Click to expand...
Click to collapse
Anyone have done this?
I have tried doing it myself. I have modified
Code:
HomeBackground_ScreenRotation.OnScreenRotation = function(l_8_0)
trace("+++++++[HomeBackground] : OnScreenRotation")
if _application.Orientation == ScreenOrientation_Portrait then
BackgroundWidth = 480
BackgroundHeight = 696
elseif _application.Orientation == ScreenOrientation_Landscape then
BackgroundWidth = 805
BackgroundHeight = 376
end
[B]BeginLoadBackgroundImage(CachedImagePath)[/B]
end
Whithout luck... any hints why this is not working?
Thank you for your answer!
That doesnt sound good..i personally use S2U2 now, as the wallpapers there look just stunning..it's a shame that we cannot get it to work properly within manila...do you know if it is the same issue with version 2.5 cookiemonster?
Wow thats awesome..when i was developing a bit stuff it was just a pain in the ass because almost every big manila file couldnt be edited..
Big props to you mate, great great work, greatly appreciated!!!..maybe i will take a look at it again nuw...as making wallpapers like that sucks..and i think it wouldnt work with my bg changer mod....anyways, thank you man!!!!!!!!!!!!!!!!!!!
Edit: Yup, i will definitely try to figure something out there..is there any "comfortable" way to work with your new luatool thingy?..i only saw 12's kitchen and that is not using a new version and is not that easy configurable to use your new thing there...
atm i search for the asyncimageloader but didnt find a way to properly search for it *laughs*..i have to get into this stuff again for real..
mac_es said:
Anyone have done this?
I have tried doing it myself. I have modified
Code:
HomeBackground_ScreenRotation.OnScreenRotation = function(l_8_0)
trace("+++++++[HomeBackground] : OnScreenRotation")
if _application.Orientation == ScreenOrientation_Portrait then
BackgroundWidth = 480
BackgroundHeight = 696
elseif _application.Orientation == ScreenOrientation_Landscape then
BackgroundWidth = 805
BackgroundHeight = 376
end
[B]BeginLoadBackgroundImage(CachedImagePath)[/B]
end
Whithout luck... any hints why this is not working?
Click to expand...
Click to collapse
Not sure why that doesn't work. I'll do some testing this weekend to try to find out.
Daranus said:
Thank you for your answer!
That doesnt sound good..i personally use S2U2 now, as the wallpapers there look just stunning..it's a shame that we cannot get it to work properly within manila...do you know if it is the same issue with version 2.5 cookiemonster?
Click to expand...
Click to collapse
It's the same thing on 2.5 as previous versions.
Daranus said:
Wow thats awesome..when i was developing a bit stuff it was just a pain in the ass because almost every big manila file couldnt be edited..
Big props to you mate, great great work, greatly appreciated!!!..maybe i will take a look at it again nuw...as making wallpapers like that sucks..and i think it wouldnt work with my bg changer mod....anyways, thank you man!!!!!!!!!!!!!!!!!!!
Edit: Yup, i will definitely try to figure something out there..is there any "comfortable" way to work with your new luatool thingy?..i only saw 12's kitchen and that is not using a new version and is not that easy configurable to use your new thing there...
atm i search for the asyncimageloader but didnt find a way to properly search for it *laughs*..i have to get into this stuff again for real..
Click to expand...
Click to collapse
12aon and hilaireg are working on an updated kitchen. It should be easier to get things done once it's out.
Co0kieMonster said:
Not sure why that doesn't work. I'll do some testing this weekend to try to find out.
Click to expand...
Click to collapse
Great! Thank you very much!
Hi there, I still cannot find the cab to make M2.5.2011303 to work for background-for-all. Can somebody have a hint there ? Thanks
This one works
http://forum.xda-developers.com/attachment.php?attachmentid=274664&d=1264873157
Hi guys,
I am new to xoom, but with my little skills I have modded the Framework-res.apk for umts_everest/MZ601 on TeamEOS nighlty ICS build. I used framework from nightly build 8. If required will update this in future. I have tested SMS feature. Have not tested the SIP as I do not have access. Telephony works but as a well known fact mic and speakers are not supported yet so its almost useless.
I have tested it on latest build nightly 10 it works well, however please backup ROM before flashing.
A Word of caution, flash this MOD at your own risk, Please do not blame me for bricked devices
How to flash:
Just download the update.zip attached, copy it to SDCARD.
Enter recovery and backup the ROM first.
Now flash the MOD and reboot.
The Latest Version can be found here [Build Version 79]
Press thanks button if This helped you.
trip007in said:
Hi guys,
I am new to xoom, but with my little skills I have modded the Framework-res.apk for umts_everest/MZ601 on TeamEOS nighlty ICS build. I used framework from nightly build 8. If required will update this in future. I have tested SMS feature. Have not tested the SIP as I do not have access. Telephony works but as usual mic and speakers are not supported yet so its almost useless.
Please note that I have not tested it on latest build, so please backup ROM before flashing.
A Word of caution, flash this MOD at your own risk, Please do not blame me for bricked devices
How to flash:
Just download the update.zip attached, copy it to SDCARD.
Enter recovery and backup the ROM first.
Now flash the MOD and reboot.
Press thanks button if This helped you.
Click to expand...
Click to collapse
I've been waiting for someone to get around to this again, ever since the old Tiamat days when it was enabled. BUT (and it's a big but) can you do this mod for a different EOS build? Like Stingray perhaps #hint hint#
Sent from my Xoom using xda premium
brittoking said:
I've been waiting for someone to get around to this again, ever since the old Tiamat days when it was enabled. BUT (and it's a big but) can you do this mod for a different EOS build? Like Stingray perhaps #hint hint#
Sent from my Xoom using xda premium
Click to expand...
Click to collapse
yeah.. Just upload your framework-res.apk from the ROM. But I can not test it you will have to do it on your own.
SMS works well with nightly 9. Thank you once again. Cheers.
finalmoksha said:
SMS works well with nightly 9. Thank you once again. Cheers.
Click to expand...
Click to collapse
Tested on Nightly 10, works well.
Can I flash to mz600? Or it only for mz601?
---------- Post added at 02:15 PM ---------- Previous post was at 01:59 PM ----------
Not working for mz600.. will post framework-res for mz600 tonight
Working great here too. Can you somehow make the voice run?
here my original framework-res.apk from MZ600 nightly build 25 (Eos-stingray_cdma-25.zip)
vouldjeff said:
Working great here too. Can you somehow make the voice run?
Click to expand...
Click to collapse
+1
Regards.
I'm sorry my friend. I am on 3 days official tour. So you will have to wait for 3 days. Mean while if I have access to a PC or laptop I will try to do it.
monyozt said:
here my original framework-res.apk from MZ600 nightly build 25 (Eos-stingray_cdma-25.zip)
Click to expand...
Click to collapse
Sent from my GT-I9003 using XDA Premium App
That would be really awesome friends, but the hardware support is required in the room and I don't have so much knowledge about that.
vouldjeff said:
Working great here too. Can you somehow make the voice run?
Click to expand...
Click to collapse
Sent from my GT-I9003 using XDA Premium App
Has anyone tried to make calls using lets say a bluetooth headset?
trip007in said:
I'm sorry my friend. I am on 3 days official tour. So you will have to wait for 3 days. Mean while if I have access to a PC or laptop I will try to do it.
Sent from my GT-I9003 using XDA Premium App
Click to expand...
Click to collapse
Okai... so for next 3 days I will post newest one from lastest build
Sent from my Xoom using xda premium
Hello,
i have build a update.zip for the nighly build 11.
Enable SMS/MMS and Telphony
Original ICS MMS.apk
Sony Bravia Engine
International Google Book
3 missing Live Wallpapers (MagicSmoke, NoiseField, Galaxy)
Speech Recorder
Regards
Rivendel
So, do i understand that correct that "normal" phone calls work with a bluetooth headset?
Rivendel said:
Hello,
i have build a update.zip for the nighly build 11.
Enable SMS/MMS and Telphony
Original ICS MMS.apk
Sony Bravia Engine
International Google Book
3 missing Live Wallpapers (MagicSmoke, NoiseField, Galaxy)
Speech Recorder
Regards
Rivendel
Click to expand...
Click to collapse
TarKin said:
So, do i understand that correct that "normal" phone calls work with a bluetooth headset?
Click to expand...
Click to collapse
As my Bluetooth Headset disappeared (ask my Kids ;-)) i could not tell you if it works with a BT-Headset. It works NOT with a Cable-Headset or BuildIn Mic/Speaker (missing Sound).
But if you have one, you could give us a note if it works or not.
Regards
Rivendel.
As far as I know sound does not work with bt headset also.
Sent from my GT-I9003 using XDA Premium App
The same problem as before:
sms > ok (using 'handcent sms' and 'go sms pro' both are almost equal.)
in/outcoming calls > ok (but with no sound)
aLogcat
Code:
D/alogcat ( 2514): starting ...
D/alogcat ( 2514): stopped
I/HeadsetService( 1340): During phone call: disable DSP.
I/AwesomePlayer( 1034): reset
I/AwesomePlayer( 1034): cancel player events
I/AwesomePlayer( 1034): cancel player events
I/AudioService( 1062): AudioFocus requestAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls
D/AudioHardwareInterface( 1034): setMode(RINGTONE)
V/alogcat ( 2514): save instance
V/alogcat ( 2514): paused
I/power ( 1062): *** set_screen_state 1
D/dalvikvm( 1130): GC_CONCURRENT freed 484K, 39% free 7608K/12423K, paused 1ms+2ms
W/IInputConnectionWrapper( 2514): getExtractedText on inactive InputConnection
W/IInputConnectionWrapper( 2514): showStatusIcon on inactive InputConnection
D/alogcat ( 2514): stopping ...
D/alogcat ( 2514): stopped
D/InCallTouchUi( 1147): onDialTrigger(whichHandle = 1)...
I/AwesomePlayer( 1034): reset
I/AwesomePlayer( 1034): cancel player events
I/phone ( 1147): acceptCall: incoming...
I/AwesomePlayer( 1034): reset
I/AwesomePlayer( 1034): cancel player events
I/AwesomePlayer( 1034): reset
I/AwesomePlayer( 1034): cancel player events
D/InCallTouchUi( 1147): updateState: Too soon after last action; not drawing!
I/AwesomePlayer( 1034): reset
I/AwesomePlayer( 1034): cancel player events
I/HeadsetService( 1340): During phone call: disable DSP.
I/AudioService( 1062): AudioFocus requestAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls
[B]D/AudioHardwareInterface( 1034): setMode(IN_CALL)[/B]
D/dalvikvm( 1062): GC_EXPLICIT freed 509K, 30% free 20145K/28679K, paused 3ms+6ms
D/dalvikvm( 2576): GC_CONCURRENT freed 794K, 14% free 6894K/7943K, paused 3ms+1ms
I/power ( 1062): *** set_screen_state 0
D/SurfaceFlinger( 1031): About to give-up screen, flinger = 0xa830
I/power ( 1062): *** set_screen_state 1
I/power ( 1062): *** set_screen_state 1
D/SurfaceFlinger( 1031): Screen about to return, flinger = 0xa830
D/alogcat ( 2514): stopping ...
D/alogcat ( 2514): canceling periodic saves
V/alogcat ( 2514): started
V/alogcat ( 2514): resumed
D/alogcat ( 2514): starting ...
D/dalvikvm( 1147): GC_CONCURRENT freed 912K, 10% free 9457K/10503K, paused 7ms+4ms
W/IInputConnectionWrapper( 1147): getExtractedText on inactive InputConnection
W/IInputConnectionWrapper( 1147): showStatusIcon on inactive InputConnection
D/dalvikvm( 1130): GC_CONCURRENT freed 399K, 39% free 7645K/12423K, paused 2ms+2ms
D/dalvikvm( 1062): GC_EXPLICIT freed 429K, 30% free 20109K/28679K, paused 9ms+3ms
D/dalvikvm( 2576): GC_EXPLICIT freed 19K, 14% free 6875K/7943K, paused 2ms+1ms
D/dalvikvm( 1978): GC_EXPLICIT freed 38K, 10% free 8076K/8967K, paused 6ms+1ms
I/HeadsetService( 1340): Phone status idle: enable DSP.
I/AudioService( 1062): AudioFocus abandonAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls
D/AudioHardwareInterface( 1034): setMode(NORMAL)
Another aLogcat, this time made it from another android phone (calls working obv.).
Code:
I/phone ( 351): acceptCall: incoming...
D/AudioHardwareInterface( 138): setMode(RINGTONE)
E/AudioPolicyManagerBase( 138): unknown stream type
E/AudioPolicyManagerBase( 138): unknown stream type
E/AudioPolicyManagerBase( 138): unknown stream type
E/AudioPolicyManagerBase( 138): unknown stream type
D/kernel ( 130): [ 1043.450927] [voice.c:remote_cb_function] len=40 id=81
I/AudioService( 237): AudioFocus requestAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls
D/kernel ( 130): [ 1043.869140] Enabled VREG "wlan" at 2900 mV
D/kernel ( 130): [ 1043.875030] Disabled VREG "wlan"
D/kernel ( 130): [ 1043.881622] Enabled VREG "wlan" at 2900 mV
D/DASH - select( 237): sensors_select_callback: select canceled by request
D/DASH - select( 237): sensors_select_callback: select canceled by request
D/DASH - select( 237): sensors_select_callback: select canceled by request
[B]D/AudioHardwareInterface( 138): setMode(IN_CALL)[/B]
I/AudioHardwareMSM7X30( 138): Routing audio to Handset
I/AudioHardwareMSM7X30( 138): Routing audio to handset with DualMike enabled
D/AudioHardwareMSM7X30( 138): new_rx = 0
D/AudioHardwareMSM7X30( 138): new_tx = 9
D/AudioHardwareMSM7X30( 138): Starting voice on Rx 0 and Tx 9 device
D/AudioHardwareMSM7X30( 138): value of device and enable is 32 0
D/AudioHardwareMSM7X30( 138): value of device and enable is 0 1
D/lights ( 237): set_light_buttons: brightness=0
D/kernel ( 130): [ 1043.890899] [voice.c:voice_auddev_cb_function] auddev_cb_function, evt_id=1, dev_state=4, voc_state=3
D/kernel ( 130): [ 1043.890930] [voice.c:voice_auddev_cb_function] auddev_cb_function, evt_id=1, dev_state=4, voc_state=3
D/kernel ( 130): [ 1043.890960] [msm7x30.c:msm_device_put] device xloud_speaker_mono_rx set 0
D/kernel ( 130): [ 1043.890991] [msm7x30.c:msm_device_put] device handset_rx set 1
D/kernel ( 130): [ 1043.890991] [msm7x30.c:msm_device_put] device freq =48000
D/lights ( 237): set_light_backlight: brightness=0
Where is AudioHardware on first logcat.
Regards.
Rivendel said:
Hello,
i have build a update.zip for the nighly build 11.
Enable SMS/MMS and Telphony
Original ICS MMS.apk
Sony Bravia Engine
International Google Book
3 missing Live Wallpapers (MagicSmoke, NoiseField, Galaxy)
Speech Recorder
Regards
Rivendel
Click to expand...
Click to collapse
Install this update using adb, right?
EDIT : Never mind, got it.
My Update.zip for Build 13
Regards
Rivendel
Hi guys,
I've searched but found nothing relevant, so this is my last resort. Hope someone can help me with the issue i have here,
So...I add an extra button to my navbar but i also managed to break video camera :/
Camera, panoramic, and preview is working, but every time i change it to video camera it FC.
Is there anything I could do about it to fix those FC?
A change in SystemUI perhaps?or maybe in GalleryGoogle or is it GoogleGallery?
Any help would be greatly appreciated
Thank you.
~drz
hmm..it's not GalleryGoogle.apk that breaks, it's something in the SystemUI.
I just don't know what it is...
I swap GalleryGoogle.apk from a working themes, and it still won't work.
Anyone?
Code:
I/ActivityManager(14235): START {act=android.media.action.VIDEO_CAMERA flg=0x600
0000 cmp=com.google.android.gallery3d/com.android.camera.VideoCamera u=0} from p
id 16201
W/WindowManager(14235): Failure taking screenshot for (328x583) to layer 21015
V/camera (16201): stopPreview
E/CameraHAL(16186): Adapter state switch PREVIEW_ACTIVE Invalid Op! event = 0xf
V/StateManager(16201): startState class com.android.gallery3d.app.PhotoPage
D/OrientationManager(16201): lock orientation to portrait
V/videocamera(16201): mDesiredPreviewWidth=1280. mDesiredPreviewHeight=720
V/videocamera(16201): startPreview
V/videocamera(16201): Video snapshot size is 2592x1458
D/dalvikvm(16201): GC_CONCURRENT freed 4027K, 18% free 18888K/22983K, paused 1ms
+3ms, total 25ms
D/CameraStorage(16201): External storage state=mounted
D/ActivityBase(16201): set CameraRelativeFrame as Rect(90, 0 - 630, 960)
D/PhotoView(16201): compensation = 0, CameraRelativeFrame = Rect(90, 0 - 630, 96
0), mCameraRect = Rect(90, 0 - 630, 960)
I/GalleryEGLConfigChooser(16201): Config chosen: R5 G6 B5 A0 D24 S8 ID7 CAVEAT12
344
I/GLRootView(16201): onSurfaceChanged: 720x1216, gl10: com.google.android.gles_j
[email protected]
I/GLRootView(16201): layout content pane 720x1216 (compensation 0)
D/PhotoView(16201): compensation = 0, CameraRelativeFrame = Rect(90, 0 - 630, 96
0), mCameraRect = Rect(90, 0 - 630, 960)
D/dalvikvm(16201): GC_FOR_ALLOC freed 191K, 12% free 20324K/22983K, paused 16ms,
total 16ms
I/ActivityManager(14235): Displayed com.google.android.gallery3d/com.android.cam
era.VideoCamera: +281ms
D/dalvikvm(16201): GC_FOR_ALLOC freed 8K, 7% free 21515K/22983K, paused 23ms, to
tal 24ms
D/dalvikvm(16201): GC_FOR_ALLOC freed <1K, 2% free 22714K/23111K, paused 15ms, t
otal 15ms
D/dalvikvm(16201): GC_FOR_ALLOC freed 6K, 3% free 24019K/24519K, paused 34ms, to
tal 34ms
D/dalvikvm(16201): GC_FOR_ALLOC freed 5K, 3% free 25217K/25735K, paused 17ms, to
tal 17ms
D/dalvikvm(16201): GC_FOR_ALLOC freed 1K, 2% free 26417K/26951K, paused 16ms, to
tal 16ms
V/StateManager(16201): destroy
dalvik.vm.heapstartsize = 32m
dalvik.vm.heapgrowthlimit = 192m
dalvik.vm.heapsize = 768m
dalvik.vm.heaptargetutilization = 0.75
256 메모리인데
저 값은 안맞는 듯합니다
빠르게 앱 구동 설정하고 싶은데요
Translation:
256 memory
That price doesn't seem right
I want to quickly set up the app operation