https://github.com/alopatindev/volumewaker
A little hack for iOcean X7 and it's crappy power button
https://github.com/alopatindev/volumewaker
Last synced: 4 months ago
JSON representation
A little hack for iOcean X7 and it's crappy power button
- Host: GitHub
- URL: https://github.com/alopatindev/volumewaker
- Owner: alopatindev
- License: wtfpl
- Created: 2013-08-06T17:51:03.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-08-07T14:32:12.000Z (almost 12 years ago)
- Last Synced: 2025-01-16T23:06:34.001Z (6 months ago)
- Language: Java
- Size: 113 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
README
A little hack for iOcean X7 and it's crappy power button.
This hack fixes physical power button issue by processing volume buttons for
waking/sleeping device.
To wake device you should just press any of volume buttons, to make it sleep—
press both volume buttons.License for this software is WTFPL. See COPYING for details.
Building and installation:
0. You need a Linux-based distro, Android NDK and Apache Ant to be installed
1. Connect your phone via USB, enable USB debugging
2. Run ./build.sh && ./install.sh
3. Now you've got a file /system/bin/volumewaker on your phone.
You can now add a text file, say /etc/init.d/99local with text#!/system/bin/sh
/system/bin/volumewakerand let it be executable by chmod 777 /etc/init.d/99local
4. Reboot your phone and enjoy