MPV Restore Playback
Configure MPV to remember playback position when closing its window so that the playback can be resumed automatically when the video is watched the next time:
echo 'CLOSE_WIN quit_watch_later' >> ~/.config/mpv/input.conf
Android Modding
Change CRT screen off animation into fade screen off animation and minimize 48 dip high navigation bar into smaller 24 dip one.
adb pull /system/framework/framework-res.apk
apktool d framework-res.apk
sed -e 's/<bool name="config_animateScreenLights">false<\/bool>/<bool name="config_animateScreenLights">true<\/bool>/' \
-i framework-res/res/values/bools.xml
sed -e 's/<dimen name="navigation_bar_height">.*/<dimen name="navigation_bar_height">24.0dip<\/dimen>/' \
-e 's/<dimen name="navigation_bar_height_landscape">.*/<dimen name="navigation_bar_height_landscape">24.0dip<\/dimen>/' \
-e 's/<dimen name="navigation_bar_width">.*/<dimen name="navigation_bar_width">24.0dip<\/dimen>/' \
-i framework-res/res/values/dimens.xml
apktool b framework-res
7z x framework-res/dist/framework-res.apk resources.arsc
7z u -tzip framework-res.apk resources.arsc
adb remount
adb shell mkdir /system/framework/backup
adb shell cp /system/framework/framework-res.apk /system/framework/backup
adb push framework-res.apk /system/framework
adb shell chmod 644 /system/framework/framework-res.apk
adb reboot
WebOS Exchange ActiveSync User Agent
Changing of Exchange ActiveSync User Agent string on HP Palm devices is done by editing /usr/share/dbus-1/system-services/com.palm.eas.service file:
[D-BUS Service]
Name=com.palm.eas
Exec=/usr/bin/mojomail-eas -c {...} Palm Palm/1.0.1
The last two strings stand for Device Type and User Agent.
In some cases changing of Device ID may by required as well which can be achieved using Impostash application (Device Profile -> nduId).
List of observed Device Type and User Agent strings can be obtained from Exchange server reports.
Subscribe to:
Posts (Atom)