Merge change 5176 into donut

* changes:
  Export the output to a text file and save to sdcard