Making a Toggle for Screen Recording in Android 4.4
Last night I made a blog post on how to screen record. This morning, I decided to make toggles with Tasker so that I could do it all from my phone easily, without a computer.
Install Tasker.
Install BusyBox.
Copy this file to /sdcard/ with ADB;
./adb push screen.sh /sdcard/screen.shNext you can use
./adb shellto get into your phone’s terminal.Type
su, a super user prompt should appear on your phone, grant permissions.Type
cd /sdcard/followed bymkdir screensand thenchmod 777 screen.sh(not that I used 777 because it’s on my phone and no one else has access, it’s not normally a good idea).Now open up Tasker, go to the Tasks tab, hit the + button at the bottom right, create a ‘Start’ task. Tap the ‘Start’ task, then hit the + down the bottom, then Script and then Run Shell.
Toggle ‘Use Root’ and set this command:
sh /sdcard/screen.shNow create another task with the same parameters, with the name ‘End’.
Set this shell command:
kill -2 $(pidof screenrecord)Now you can go to your homescreen, create a new Tasker wiget, select Start and End. (Note: you’ll have to set an application icon for each of the tasks, this can be done by editing the task and tapping the button on the bottom right).
Your screen recordings will be saved under /sdcard/screens with the filename screen_TIMESTAMP.mp4 (where timestamp is a simple
date +%scommand). You can now upload them over USB or via something like Dropbox.
I took the liberty of uploading an example video.
On the web
March 2026 Summary
Wed Apr 1 2026 by joelchrono's blogI Think I've Been Scammed On eBay!
Sun Mar 29 2026 by Kev QuirkBuilding a Runtime with QuickJS
Thu Mar 26 2026 by Andrew Healey's BlogLaracon EU 2026 Recap
Thu Mar 12 2026 by stefanzweifel.devBuilding a self-hosted cloud coding agent
Tue Feb 3 2026 by Stan's blog
Generated by openring