Skip to content

Apple's open-source XNU kernel on Android phones: its own loader and drivers, Metal on the Adreno. Runs from RAM; a reboot gives the phone back to Android.

C

rc.jobs.calendar: the broken Calendar icon, on demand

vcvkk0beb5b7a9879
diff --git a/userland/rc.jobs.calendar b/userland/rc.jobs.calendar
new file mode 100644
index 0000000..f8a1a18
--- /dev/null
+++ b/userland/rc.jobs.calendar
@@ -0,0 +1,12 @@
+# Commands run by the launchd job com.redwood.demo (see com.redwood.demo.plist).
+# The Calendar icon drawn wrong (RC_JOBS=rc.jobs.calendar, gpu=1, a run of about two and a half minutes):
+# the home screen, and SignificantTimeChangeNotification posted every three seconds, 26 times. Each makes
+# SpringBoard draw the Calendar's icon anew, for a date that may have changed (with wifi=1 the network
+# setting the clock does the same, now and then, which is how it was first seen). With gpu=1 about half
+# of the screenshots taken meanwhile show the icon with square corners in its top 16 rows and a line
+# under it; the software renderer never does. The window server's copy of the new picture is right in
+# the 16K pages that lie wholly inside it and still the picture without its rounded mask in the two
+# pages it shares with the memory around it (the icon's 180 x 180 at 720 bytes a row starts 4224 bytes
+# into a page: the first page holds rows 0-16, the last rows 176-179), and it stays so.
+/redwood/bin/rwtouch wait 40 swipe 0.5 0.985 0.5 0.3 200 wait 10 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3
+/redwood/bin/rwtouch notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3 notify SignificantTimeChangeNotification wait 3