adbd and cbd from tw

Signed-off-by: Grarak <williye97@gmail.com>