Skip to content

Instantly share code, notes, and snippets.

@hram
Created December 16, 2015 10:04
Show Gist options
  • Save hram/30447308d29b2912975e to your computer and use it in GitHub Desktop.
Save hram/30447308d29b2912975e to your computer and use it in GitHub Desktop.
@echo off
echo Change display density ....
call dbprp.cmd "build.K013_1.prop" "ro.sf.lcd_density=\d{3}" "ro.sf.lcd_density=160"
call dbprp.cmd "build.prop" "ro.sf.lcd_density=\d{3}" "ro.sf.lcd_density=160"
find "qemu.hw.mainkeys=1" build.K013_1.prop 1>nul || echo qemu.hw.mainkeys=1 >> build.K013_1.prop
find "qemu.hw.mainkeys=1" build.prop 1>nul || echo qemu.hw.mainkeys=1 >> build.prop
echo It's ok. Device must be rebooted. Press any key for reboot.
pause
echo Reboot device....
start adb shell su -c "reboot"
rem wait
timeout 3
adb kill-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment