AM Debug v2.6.3 Run#1381
Refactor Fix backport issues
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Fix backport issues
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1382
Add searching in help activity
Additionally, the underline in the SearchView has been removed in all places.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Add searching in help activity
Additionally, the underline in the SearchView has been removed in all places.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1383
FM Add integrated file manager (initial commit)
File manager supports opening APK, APKM, APKS and XAPK in the app info page
directly. Other files can be opened by third-party applications by the use of a
content provider.
File manager use a custom Storage class to handle files in order to support both
Java File and Android's Scoped Storage (once the support is added).
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
FM Add integrated file manager (initial commit)
File manager supports opening APK, APKM, APKS and XAPK in the app info page
directly. Other files can be opened by third-party applications by the use of a
content provider.
File manager use a custom Storage class to handle files in order to support both
Java File and Android's Scoped Storage (once the support is added).
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1384
Refactor Fix ADB connection issue when ADB over TCP mode is selected
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Fix ADB connection issue when ADB over TCP mode is selected
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1385
Refactor Skip checking for remote server if no-root mode is enabled.
When no-root mode is enabled and the remote server is still running due to the
past use of ADB over TCP or Wireless Debugging, App Manager throws an error
while checking for the remote server since it is still running in the
background. This behaviour is now overridden by adding an explicit check for
no-root mode i.e., App Manager will not check for the remote server if no-root
mode is explicitly enabled.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Skip checking for remote server if no-root mode is enabled.
When no-root mode is enabled and the remote server is still running due to the
past use of ADB over TCP or Wireless Debugging, App Manager throws an error
while checking for the remote server since it is still running in the
background. This behaviour is now overridden by adding an explicit check for
no-root mode i.e., App Manager will not check for the remote server if no-root
mode is explicitly enabled.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1386
FM Add the ability to edit/modify files via external apps
It is possible to edit or modify any files, including the files only accessible
via root, using third-party applications. It uses a custom content provider
with Linux pipe in order to achieve that. Therefore, there are many well-known
limitations including the inability to reading and writing concurrently. It
also means that the reading/writing speed is slower than the direct approach.
Despite all these limitations, sufficient care has been taken to ensure that
the file denoscriptor supports all the supported flags (or modes), and it is up
to the editor or viewer to ensure that the file is being read or written
correctly. Some file managers, including MiXplorer, do not truncate files i.e.
they do not use the “t” mode during writing which can cause problems if the
edited file contains less text than it initially did.
It should be ideal to replace the content provider with document provider which
might be considered later considering the lack of support for such provider by
third-party applications.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
FM Add the ability to edit/modify files via external apps
It is possible to edit or modify any files, including the files only accessible
via root, using third-party applications. It uses a custom content provider
with Linux pipe in order to achieve that. Therefore, there are many well-known
limitations including the inability to reading and writing concurrently. It
also means that the reading/writing speed is slower than the direct approach.
Despite all these limitations, sufficient care has been taken to ensure that
the file denoscriptor supports all the supported flags (or modes), and it is up
to the editor or viewer to ensure that the file is being read or written
correctly. Some file managers, including MiXplorer, do not truncate files i.e.
they do not use the “t” mode during writing which can cause problems if the
edited file contains less text than it initially did.
It should be ideal to replace the content provider with document provider which
might be considered later considering the lack of support for such provider by
third-party applications.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1387
Refactor Reimplementation of ProxyInputStream
Java's default FileInputStream is unusable in App Manager due to its limitations as well as complexity. Instead, the underlying file denoscriptor is used directly for reading a file, effectively making it the same as FileInputStream with additional support for our proxy files. However, for root and ADB mode of operations, it reads a file remotely using a remote service. Hence, previous limitations still apply.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Reimplementation of ProxyInputStream
Java's default FileInputStream is unusable in App Manager due to its limitations as well as complexity. Instead, the underlying file denoscriptor is used directly for reading a file, effectively making it the same as FileInputStream with additional support for our proxy files. However, for root and ADB mode of operations, it reads a file remotely using a remote service. Hence, previous limitations still apply.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1388
Refactor Reimplementation of ProxyOutputStream
Java's default FileOutputStream is unusable in App Manager due to its
limitations as well as complexity. Instead, the underlying file denoscriptor is
used directly for writing a file, effectively making it the same as
FileOutputStream with additional support for our proxy files. However, for root
and ADB mode of operations, it writes to a file remotely using a remote
service. Hence, the previous limitations still apply.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Reimplementation of ProxyOutputStream
Java's default FileOutputStream is unusable in App Manager due to its
limitations as well as complexity. Instead, the underlying file denoscriptor is
used directly for writing a file, effectively making it the same as
FileOutputStream with additional support for our proxy files. However, for root
and ADB mode of operations, it writes to a file remotely using a remote
service. Hence, the previous limitations still apply.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1389
Refactor Remove FileProvider in favour of FmProvider
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Remove FileProvider in favour of FmProvider
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>