Noob here & this might be obvious, but I had this error. Whilst I was looking for some other folder, I came across all the JB files in the .trash folder, so to see what happened, I just copied them back to root & voila - jb back again (& KUAL stopped giving the device test error)
|