Recently I got running unsigned code through an exploit on an device. Now I would like to discover the framebuffer address so I could write to the screen and output data.
The only way I can imagine to do this is doing a for/while loop and write to every memory address until the screen gets drawed. When I say address I mean pyshicall address.
Is it the good way or are there any other methods to do this? At the moment I'm completely blind since I cannot output anything.