←
Grant H1,268 posts
Grant H avatar

Grant H

@Digital_Cold

Mobile security researcher. Previously @Qualcomm product security. @UF Ph.D, @UCF B.S. Opinions my own keybase.io/ghh 🦋: @digitalcold

◷ Joined October 2012▧ 110 Photos and videos
Richard Seroter avatar
⟳ Grant H retweeted
Richard Seroter@rseroter·Nov 17

Android's source code is huge. 1k git repos, 1.62 million files, and it takes 300GB for a built workspace. How did we reduce checkout time from 36 minutes to 8 seconds? Full builds from 80 minutes to 2 minutes? We just open sourced the solution. developers.googleblog.com/ac…

Post attachment
🇺🇦 ✙ bookazoid_ avatar
⟳ Grant H retweeted
🇺🇦 ✙ bookazoid_@bookazoid_·Sep 7

Повну емуляцію апаратної платформи Nokia 6600 (NHL-10) у QEMU завершено. GSM-зв’язок працює end-to-end: Відправка та прийом СМС ARM → DSP → IQ → Osmocom → IQ → DSP → ARM

0:44
Grant H avatar
Grant H@Digital_Cold·Aug 21

I literally have multiple Ableton project files with just dub stabs. something is wrong

Post attachment
Grant H avatar
Grant H@Digital_Cold·Aug 21

I'm actually really enjoying expanding my RSS feed once again. I somewhat blame Google Reader dying as part of the reason why I stopped. With discovery more difficult after twitter blew up, any security, graphics, techno-wizardry blogs I should definitely have on my feed?

Post attachment
Grant H avatar
Grant H@Digital_Cold·Aug 13

So despite having to vibe my way through supporting part of the apple Metal, CoreGraphics, Accelerate (vDSP), CoreFoundation, AppKit, etc APIs, it actually works (after many crashes)!

Grant H avatar
Grant H@Digital_Cold·Aug 13

My app can run macOS Apple Silicon (ARM64) macho binaries using a compatibility layer 🤯 I chose this cursed configuration specifically because real-time audio needs SIMD and for ARM that means NEON. Why not the Linux plugin? Those are only x86 meaning emulation = slow (or binary translation = hard). Also, many plugins never have Linux releases (just Windows and Mac)!

Grant H avatar
Grant H@Digital_Cold·Aug 13

Serum 1 VST running natively on my Android device with a custom plugin-host and bare-bones sequencer.

5:15
Grant H avatar
Grant H@Digital_Cold·Aug 4

Got lines drawing in Vital now. Really at this point I need to start porting to Android. using this VST desktop ui on a small phone touchscreen is going to be rough, but it's really just a "can this be done" PoC

Post attachment
Grant H avatar
Grant H@Digital_Cold·Aug 4

Alright, returning my the first plugin I got working, Vital VST. It's kinda working, but had a similar issue to Serum initially: no waveforms are being displayed.

Post attachment
Grant H avatar
Grant H@Digital_Cold·Aug 3

Presets load and menus are being rendered (via CoreGraphics). Audio output is glitching under QEMU which isn't a surprise since it needs to be near real-time

Post attachment
Grant H avatar
Grant H@Digital_Cold·Jul 31

CoreGraphics is replaced with Skia for 2D rasterization and Metal is being shimed to Vulcan. Window management is with GLFW. Metal shaders are being translated automatically (very poorly) to GLSL and then compiled to SPIR-V. Metal calls are translated to vulcan equivalents

Grant H avatar
Grant H@Digital_Cold·Jul 31

Oh and this is actually a macOS Apple Silicon binary running with a shim layer under QEMU in Docker on Linux. Its shimming multiple Apple frameworks (CoreGraphics, CoreFoundation, Accelerator.DSP, Metal) to get this to work.