{"action":"created","issue":{"url":"https://api.github.com/repos/IzzySoft/Adebar/issues/3","labels_url":"https://api.github.com/repos/IzzySoft/Adebar/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/IzzySoft/Adebar/issues/3/comments","events_url":"https://api.github.com/repos/IzzySoft/Adebar/issues/3/events","html_url":"https://github.com/IzzySoft/Adebar/issues/3","id":110753415,"number":3,"title":"Root: some files are not found","user":{"login":"tukusejssirs","id":5111894,"avatar_url":"https://avatars.githubusercontent.com/u/5111894?v=3","gravatar_id":"","url":"https://api.github.com/users/tukusejssirs","html_url":"https://github.com/tukusejssirs","followers_url":"https://api.github.com/users/tukusejssirs/followers","following_url":"https://api.github.com/users/tukusejssirs/following{/other_user}","gists_url":"https://api.github.com/users/tukusejssirs/gists{/gist_id}","starred_url":"https://api.github.com/users/tukusejssirs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tukusejssirs/subscriptions","organizations_url":"https://api.github.com/users/tukusejssirs/orgs","repos_url":"https://api.github.com/users/tukusejssirs/repos","events_url":"https://api.github.com/users/tukusejssirs/events{/privacy}","received_events_url":"https://api.github.com/users/tukusejssirs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-09T23:47:12Z","updated_at":"2015-10-10T08:52:21Z","closed_at":null,"body":"I pulled new devel branch repository and enable `PARTBACKUP` setting in `config/bu` file, but after I ran `./adebar bu`, some files cannot be found. Here’s the latest output (I enabled some more verbosity in the `config/bu` file):\r\n\r\n```\r\n./adebar-cli bu\r\n\r\nAdebar running:\r\nGathering lists of installed apps\r\n- userApps\r\n- systemApps\r\n- checking for uninstalled apps remembered by the system\r\nRemoved app: \r\nRemoved app: \r\nRemoved app: \r\nRemoved app: \r\nRemoved app: \r\nRemoved app: \r\nRemoved app: \r\nRemoved app: \r\nRemoved app: com.gameloft.android.GloftRF14\r\nRemoved app: com.accuweather.android\r\nRemoved app: com.facebook.katana\r\nRemoved app: com.gameloft.android.GloftGF2H\r\nRemoved app: com.gamestore\r\nRemoved app: com.mediatek.FMRadio\r\nRemoved app: com.UCMobile.intl\r\nRemoved app: com.evernote\r\nRemoved app: com.route66.maps5\r\nRemoved app: com.gameloft.android.gdc\r\nRemoved app: com.guvera.android\r\nRemoved app: com.twitter.android\r\nRemoved app: com.skype.raider\r\nRemoved app: com.gameloft.android.HEP.GloftA7HP\r\nRemoved app: com.txtr.android.lenovo\r\nObtaining list of disabled apps\r\nCreating backup/restore scripts for UserApps\r\nCreating backup/restore scripts for SytemApps\r\nChecking default install-location\r\nCollecting partition details\r\nGenerating script to create partition images\r\nCollecting device information\r\n- Evaluating device properties\r\n   + checking for product details\r\n   + checking for sensor details\r\n   + checking for OS details\r\n- Evaluating 'pm list features'\r\n- Evaluating device status\r\n  + Battery status\r\n  + Radio status\r\n  + networking details\r\n  + storage details\r\n  + Provider info\r\n- Obtaining account and backup details\r\nPulling configuration files\r\n- build.prop: 99 KB/s (4571 bytes in 0.044s)\r\n- wpa_supplicant.conf: remote object '/data/misc/wifi/wpa_supplicant.conf' does not exist\r\n- softap.conf: remote object '/data/misc/wifi/softap.conf' does not exist\r\n- gps.conf: remote object '/system/etc/gps.conf' does not exist\r\n- hosts: 3930 KB/s (599678 bytes in 0.148s)\r\n- packages.xml: failed to copy '/data/system/packages.xml' to 'bu/conf/packages.xml': Permission denied\r\n- usage-history.xml: remote object '/data/system/usagestats/usage-history.xml' does not exist\r\nGenerating app detail info\r\n- collecting data via dumpsys\r\n- parsing package dump\r\nOops in pkg at line 229: Unexpected: '    mtkFlags=[ ]'\r\n- generating userApps.md\r\n- removing temporary dumpfile\r\nPostProcessing and Cleanup\r\nAdebar done.\r\n```\r\n\r\nFollowing files *do* exist in my system\r\n-  `/data/misc/wifi/wpa_supplicant.conf`,\r\n- `/data/misc/wifi/softap.conf`,\r\n- `/data/system/packages.xml`,\r\n- `/data/system/usagestats/usage-history.xml`.\r\n\r\nFile `/system/etc/gps.conf` does not exist. This might be because I never had gps turned on. :)\r\n\r\nIn the `config/bu` file, there are some settings (read: variables :) …) which I don’t really understand what *exactly* they do. For example, there’s the following setting:\r\n\r\n    # If your device is rooted, but the ADB daemon does not run in root mode, set this to 1\r\n    ROOT_COMPAT=0\r\n\r\nI have a rooted phone and I <i>can</i> access root shell in `adb` (in two steps, `adb shell` and `su`). I just don’t know if I should enable it or not."},"comment":{"url":"https://api.github.com/repos/IzzySoft/Adebar/issues/comments/147066673","html_url":"https://github.com/IzzySoft/Adebar/issues/3#issuecomment-147066673","issue_url":"https://api.github.com/repos/IzzySoft/Adebar/issues/3","id":147066673,"user":{"login":"IzzySoft","id":6781438,"avatar_url":"https://avatars.githubusercontent.com/u/6781438?v=3","gravatar_id":"","url":"https://api.github.com/users/IzzySoft","html_url":"https://github.com/IzzySoft","followers_url":"https://api.github.com/users/IzzySoft/followers","following_url":"https://api.github.com/users/IzzySoft/following{/other_user}","gists_url":"https://api.github.com/users/IzzySoft/gists{/gist_id}","starred_url":"https://api.github.com/users/IzzySoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IzzySoft/subscriptions","organizations_url":"https://api.github.com/users/IzzySoft/orgs","repos_url":"https://api.github.com/users/IzzySoft/repos","events_url":"https://api.github.com/users/IzzySoft/events{/privacy}","received_events_url":"https://api.github.com/users/IzzySoft/received_events","type":"User","site_admin":false},"created_at":"2015-10-10T08:52:21Z","updated_at":"2015-10-10T08:52:21Z","body":"Try setting `ROOT_COMPAT=1` (I should make that the default, maybe).\r\n\r\nBackground: To obtain those files, *Adebar* uses `adb pull` – which does not run with root privileges unless the ADB daemon does, and thus cannot access several files. Turning \"root *compatibility* mode\" on, *Adebar* works around that obtaining those files using a different method.\r\n\r\nThanks for attaching the `partPackup` file – unfortunately it seems Git doesn't want to be tricked. Instead of showing/downloading the file, it simply displays an error message in the browser. Maybe you just put it on pastebin.com and link here?"}}