Closed Flashwalker closed 7 years ago
Looks like deviceinfo.lib and packagedata.lib contains different line endings and Sublime has broke something
I'm confused. Is it normal this strange line break here?: https://github.com/IzzySoft/Adebar/blob/master/lib/deviceinfo.lib#L63
Just opened in Vim and found it's ^M
, but other editors opens and saves it as new line break, and git sees diff.
What editor do you use for saving it properly?
Yes, and careful – breaking that breaks the app. We have to deal with the fact that ADB returns some things with Windows linebreaks. The line you just pointed to is one of those examples.
In short: where there are ^M (CR) in the code now, they must remain. Do not convert the charset for editing, take care you use an editor that keeps them intact.
ok
For doc:
Fixed: packagedata.lib: aapt output parsing
In my case i had this string instead of apps names:
/system/bin/sh: sed: not found
Fixed: deviceinfo.lib: check whether
uname
in $PATH or usebusybox uname
In my case Kernel was empty:
* Kernel:
For backup:
Added: adebar-cli, config.sample, scriptgen.lib: options for userbackup and sysbackup scripts, so if the script was hanged (adb chokes) and you terminated with Ctrl + C and restarted again it starts backup at aborted point (means keep already existing backup files: no need to edit script)
In my case backup script hangs often enough in autoconfirm mode - when confirm prompt сeases to appear due adb choked
Added: adebar-cli, config.sample, scriptgen.lib: option for backup shared storage without prompt
Added: scriptgen.lib: interactive retry to backup 41-byte apps
In my case some of the apps was backed up as 41-byte at first, but retrying was succesfull for few
But still 41-byte user apps are these 20:
and 41-byte system apps are these 17:
for fully rooted IconBIT NetTAB Sky III