Disclosed herein is an apparatus suitable for detecting x-ray, comprising: an X-ray absorption layer comprising an electrode; an electronics layer, the electronics layer comprising: a substrate having a first surface and a second surface, an electronics system in or on the substrate, an electric contact on the first surface, a via, and a redistribution layer (RDL) on the second surface; wherein the RDL comprises a transmission line; wherein the via extends from the first surface to the second surface; wherein the electrode is electrically connected to the electric contact; wherein the electronics system is electrically connected to the electric contact and the transmission line through the via.