Skip to main content

Posts

Showing posts from January, 2013

Android: Disabling Battery full alert

I keep hearing in my dreams a sort of "ding" sound made by my phone (running Android 4.1). It's trying to tell me to disconnect the charger from the wall socket (to be greener), but unfortunately it's doing this in the middle of the night, and it's annoying. There is no risk to damage your phone if you keep it plugged in beyond this point anyway. Well, there seem to be apps that let you manage the notification sound (like Battery full notification ), but they seem overkill for what I want. Luckly, I found this thread in my searches: http://androidforums.com/samsung-galaxy-s2-international/331058-stopping-fully-charged-sound.html#post2819281 If you have a rooted phone, you can follow the instructions in the thread, or follow these steps in a terminal emulator on your phone: su cd /system/media/audio/ui mount -o remount,rw /system mv TW_Battery_caution.ogg TW_Battery_caution.ogg.bak mount -o remount,ro /system exit exit  It renames the notification s

Android: Adding scp/sftp support to dropbear and mounting with sshfs

I have recently received an android smartphone, and one of the first things I did with it was to root it :). This allows power-usres to get the most out of their hardware. The next thing on my list was to set up a SSH server and to be able to transfer files between my Linux system and my phone (by the way, I'm running Android 4.1 and it seems USB mass storage support has been removed. MTP/PTP modes have either horrible transfer speed or are poorly supported in Ubuntu). With the above in mind, the plan was to: Enable tethering on the phone Run a SSH server to support issuing remote commands and file transfer (FTP might have been an alternative, but I'm a SSH adept). Browsing the market I found  SSHDroid which does all that it advertised. Problem is - the free version conflicts with my add-blocking apps and requests that they are disabled to run. For me, this is a big nuisance, so I kept looking. I found Dropbear SSH Server 2 , which is completely free, but doesn'