I found Android; using exec("bugreport") that explains that you can not run bugreport in the regular shell and that you need to run dumpstate, ...
www.google.com.tw