I am developing apps for industrial tablets that we get from Asia.
Most of them are 7 and 5 inch with android 4.02.
They usually have RFID and Barcode readers built in.
The problem I have is that the manufacturers usually mess up the Android build in one way or another.
A lot of times (almost always) they don't have the Play Store installed on it.
That means that I need to put the GoogleServicesFramework and the com.android.vending apks' in the /system/app folder.
Most of the time I can usually run a root tool and get them in there, but sometimes the root tool doesn't work and when I run adb devices nothing shows up.
Is there some B4A code I can run to change the permissions of the /system/app folder to rw so I can copy the necessary apks' to this folder?
I have run the following code and it does return a listing of the system/app directory.
Dim p As Phone
Dim sb,se As StringBuilder
sb.Initialize
se.Initialize
p.Shell("ls /system/app",Null,sb,se)
Msgbox(sb,"sb")
Msgbox(se,"se")
Unfortunately I am not that familiar with Linux commands so I don't really know what command to issue if it is even possible.
Any help would be greatly appreciated.
Thanks.
Most of them are 7 and 5 inch with android 4.02.
They usually have RFID and Barcode readers built in.
The problem I have is that the manufacturers usually mess up the Android build in one way or another.
A lot of times (almost always) they don't have the Play Store installed on it.
That means that I need to put the GoogleServicesFramework and the com.android.vending apks' in the /system/app folder.
Most of the time I can usually run a root tool and get them in there, but sometimes the root tool doesn't work and when I run adb devices nothing shows up.
Is there some B4A code I can run to change the permissions of the /system/app folder to rw so I can copy the necessary apks' to this folder?
I have run the following code and it does return a listing of the system/app directory.
Dim p As Phone
Dim sb,se As StringBuilder
sb.Initialize
se.Initialize
p.Shell("ls /system/app",Null,sb,se)
Msgbox(sb,"sb")
Msgbox(se,"se")
Unfortunately I am not that familiar with Linux commands so I don't really know what command to issue if it is even possible.
Any help would be greatly appreciated.
Thanks.