Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check-adb throws error "The Android device does not seem to have a su binary. Cannot run this module." #5

Closed
AntonLydike opened this issue Jul 19, 2021 · 9 comments

Comments

@AntonLydike
Copy link

Running the check-adb command fails because of missing su binary on the device.

$ mvt-android check-adb
11:06:01 INFO     [mvt.android.cli] Checking Android through adb bridge                       
         INFO     [mvt.android.modules.adb.chrome_history] Running module ChromeHistory...    
11:06:02 ERROR    [mvt.android.modules.adb.chrome_history] Error in running extraction from   
                  module ChromeHistory: The Android device does not seem to have a `su`       
                  binary. Cannot run this module.                                             
                  Traceback (most recent call last):                                          
                    File "/tmp/mvt/mvt/common/module.py", line 134, in run_module             
                      module.run()                                                            
                    File "/tmp/mvt/mvt/android/modules/adb/chrome_history.py", line 69, in run
                      self._adb_process_file(os.path.join("/", CHROME_HISTORY_PATH),          
                    File "/tmp/mvt/mvt/android/modules/adb/base.py", line 135, in             
                  _adb_process_file                                                           
                      self._adb_root_or_die()                                                 
                    File "/tmp/mvt/mvt/android/modules/adb/base.py", line 105, in             
                  _adb_root_or_die                                                            
                      raise Exception("The Android device does not seem to have a `su` binary.
                  Cannot run this module.")                                                   
                  Exception: The Android device does not seem to have a `su` binary. Cannot   
                  run this module.                                                            
         INFO     [mvt.android.modules.adb.sms] Running module SMS...                         
11:06:03 ERROR    [mvt.android.modules.adb.sms] The Android device does not seem to have a    
                  `su` binary. Cannot run this module.                                        
         INFO     [mvt.android.modules.adb.whatsapp] Running module Whatsapp...               
11:06:04 ERROR    [mvt.android.modules.adb.whatsapp] The Android device does not seem to have 
                  a `su` binary. Cannot run this module.                                      
         INFO     [mvt.android.modules.adb.processes] Running module Processes...             
         INFO     [mvt.android.modules.adb.processes] Extracted records on a total of 1       
                  processes                                                                   
         INFO     [mvt.android.modules.adb.dumpsys_batterystats] Running module               
                  DumpsysBatterystats...                                                      
11:06:05 INFO     [mvt.android.modules.adb.dumpsys_procstats] Running module                  
                  DumpsysProcstats...                                                         
11:06:06 INFO     [mvt.android.modules.adb.dumpsys_packages] Running module DumpsysPackages...
11:06:07 INFO     [mvt.android.modules.adb.packages] Running module Packages...               
11:06:21 INFO     [mvt.android.modules.adb.packages] Extracted at total of 256 installed      
                  package names                                                               
         INFO     [mvt.android.modules.adb.rootbinaries] Running module RootBinaries...       

@Te-k
Copy link
Contributor

Te-k commented Jul 19, 2021

Is your android phone rooted?

@AntonLydike
Copy link
Author

AntonLydike commented Jul 19, 2021 via email

@sarvang00
Copy link

sarvang00 commented Jul 23, 2021

Facing the same issue here. I have not rooted by device, but I have installed a custom rom on my android device. Can the devs suggest a way to overcome this?

@KatzeMau
Copy link

On non rooted phones some things do not work

@diehard88
Copy link

same here.

tab s7+ non-rooted.

however, mvt works with my tab s6 which is rooted.

@KatzeMau
Copy link

I think for su scans the device must be rooted

@pwfraley
Copy link

I have the same problem. So basically to be able to run this tool, I need to root my device, which might make it vulnarable to attacks and also basically wipes my device?
Somehow seems contra productive, or am I misunderstanding something here?

@KatzeMau
Copy link

@pwfraley
I wouldn't root it, MVT can scan most parts of the android phone (without root)
And yes, root make it more vulnarable to attacks

@botherder
Copy link
Contributor

No, it is not recommended to root your own device. Some modules however can only function with root available. Simply you won't be able to run those modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants