package Ġme . hex ile . ode x patch er . art Ċ Ċ import Ġcom . top john wu . superuser . Shell Ċ import Ġme . hex ile . ode x patch er . core . App Ċ import Ġme . hex ile . ode x patch er . core . Const Ċ import Ġme . hex ile . ode x patch er . k tx . getFile In Cache Dir Ċ import Ġme . hex ile . ode x patch er . utils . log d Ċ Ċ object ĠDex 2 O at Ġ{ ĊĠĠĠ Ġfun Ġrun ( ĊĠĠĠĠĠĠĠ Ġdex File : ĠString , ĊĠĠĠĠĠĠĠ Ġdex Location : ĠString , ĊĠĠĠĠĠĠĠ Ġo at File : ĠString Ġ= ĠApp . getContext (). getFile In Cache Dir ( Const . BASE _ O DEX _ FILE _ NAME ). absolute Path ĊĠĠĠ Ġ): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġ// ĠRun Ġdex 2 o at ĊĠĠĠĠĠĠĠ Ġval Ġdex 2 O at Command Ġ= Ġ" dex 2 o at Ġ-- dex - file =$ dex File Ġ-- dex - location =$ dex Location Ġ-- o at - file =$ o at File Ġ-- instruction - set =${ Art . ISA } Ġ-- instruction - set - variant =${ Art . ISA _ VARIANT } Ġ-- instruction - set - features =${ Art . ISA _ FEATURES }" ĊĠĠĠĠĠĠĠ Ġlog d (" dex 2 o at ", Ġdex 2 O at Command ) ĊĠĠĠĠĠĠĠ Ġreturn ĠShell . sh ( dex 2 O at Command ). exec (). is Success ĊĠĠĠ Ġ} Ċ }