Post AdYRUlTYktx2MCMO9Y by swetland@chaos.social
 (DIR) More posts by swetland@chaos.social
 (DIR) Post #AccmWxWGNYRXZ7Na1Q by nyquildotorg@mastodon.social
       2023-07-07T18:24:18Z
       
       1 likes, 0 repeats
       
       There are a couple funny early #Android stories that I've been completely unable to source details for, relying only on my memory which is now the worst I can ever remember my memory being. Maybe you recall some details?1. The time someone ported a new Android release to the iPhone (I want to say it was iPhone 4) before any actual Android phones had it. Do you recall which release that was?2. The time the date picker in a new release was missing an entire month. I want to say it was May?
       
 (DIR) Post #AccmWylBlXybPhN0vQ by nyquildotorg@mastodon.social
       2023-07-07T18:37:23Z
       
       1 likes, 1 repeats
       
       the funniest #Android story of all was how the first Android phone got rooted.This guy's girlfriend impatiently asked why he hadn't replied yet to her text that she sent while his phone was rebooting. He replied "reboot" and watched as his phone rebooted.It turns out all keypresses on the device were being piped into a root shell.So, then he typed 'sshd' and it fired up an ssh server where he could simply log in as root. I don't think it even had a password.
       
 (DIR) Post #AccmX0gebNXNODGQ8O by nyquildotorg@mastodon.social
       2023-07-07T18:49:32Z
       
       0 likes, 0 repeats
       
       I would love to hear any "whoops!" stories you have in the same vein. Things people shipped with terrifying mistakes or even just ridiculous things like an entire month missing from the calendar.
       
 (DIR) Post #AccmX0ps36uTqnZmV6 by nyquildotorg@mastodon.social
       2023-07-07T18:39:21Z
       
       1 likes, 0 repeats
       
       This was the T-Mobile G1 / HTC Dream.  It had a physical keyboard, and it was those keypresses that were piped into a root shell.  There was not an on-screen keyboard yet, but if there were, I doubt its input would have been piped through a root shell.
       
 (DIR) Post #AdYRUiz01YJkcq2xF2 by swetland@chaos.social
       2024-01-05T14:12:21Z
       
       1 likes, 0 repeats
       
       @nyquildotorg It was telnetd. sshd didn't exist on the system.Several people discovered that bug at roughly the same time. One of them was testing an ssh client they wrote, had typed reboot and was surprised when their phone rebooted instead of the remote machine.The underlying cause was a root shell left running on the first virtual terminal, which by itself was inaccessible until changes made to fix a graphical glitch just prior to the G1 shipping impacted input routing.#Android #Oops
       
 (DIR) Post #AdYRUlTYktx2MCMO9Y by swetland@chaos.social
       2024-01-05T14:17:25Z
       
       0 likes, 0 repeats
       
       @nyquildotorg When switching from graphics to terminal mode and back during suspend and resume, sometimes the cursor for the vty would blink, leaving a little corrupted box in the corner of the framebuffer.I asked another Systems Team member to just disable vtys since we didn't use them for anything to quickly resolve this issue, failing to realize the old debug console code was still around (leftover from early bringup work) and would start consuming keyboard input. Very embarrassing.
       
 (DIR) Post #AdYRUnK3tBXg5Jvpcu by swetland@chaos.social
       2024-01-05T14:27:50Z
       
       0 likes, 0 repeats
       
       @nyquildotorg telnetd was there because it was a vestigial bit of debug glue from the very early days of adb before the debug shell forwarding code existed.There's probably a lesson here about removing things from the build that are no longer used.There was a nasty remote exploit bug in the wifi driver for the G1 as well, but that was found and fixed before first ship.