[WFX] Android ADB 8.8
Moderators: Hacker, petermad, Stefan2, white
great now function
Great now function, but I have alredy problem,
I can't write or overwrite file in folder data/data of devices.
I can't write or overwrite file in folder data/data of devices.
Re: great now function
Like I said without the ADB logs (TC logs) I cannot help you much. Enable them and try again. It must be something the with the root or busybox...giuleppe wrote:Great now function, but I have alredy problem,
I can't write or overwrite file in folder data/data of devices.
- ghisler(Author)
- Site Admin
- Posts: 50394
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately Google f*cked up root quite badly on Android 4.3:
1. Normal apps cannot remount /system any more. SuperSU bypasses this by running as a system service.
2. Although SuperSU manages to remount /system as read/write, this i only visible to SuperSU. Other programs will still see /system as read only. Therefore if you want to write to /system after remounting it, you need to do this via su command too.
3. The other root tool, "superuser", doesn't currently support remounting of /system at all.
1. Normal apps cannot remount /system any more. SuperSU bypasses this by running as a system service.
2. Although SuperSU manages to remount /system as read/write, this i only visible to SuperSU. Other programs will still see /system as read only. Therefore if you want to write to /system after remounting it, you need to do this via su command too.
3. The other root tool, "superuser", doesn't currently support remounting of /system at all.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Hi Christian,ghisler(Author) wrote:Unfortunately Google f*cked up root quite badly on Android 4.3:
1. Normal apps cannot remount /system any more. SuperSU bypasses this by running as a system service.
2. Although SuperSU manages to remount /system as read/write, this i only visible to SuperSU. Other programs will still see /system as read only. Therefore if you want to write to /system after remounting it, you need to do this via su command too.
3. The other root tool, "superuser", doesn't currently support remounting of /system at all.
thank you for enlightening it for us. Since Android is open-source someone will soon or later make it working like on other ROMs and Android version.
I could always make all commands through su but that would be rather slow.
- ghisler(Author)
- Site Admin
- Posts: 50394
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately most users will use the stock ROM, so at least in TC I will perform all commands involving /system through su.
To make it faster, TC loads su just once per operation, and then just pipes the commands to it for each file. To detect when a command ends, it sends another command which writes a specific string to the output.
To make it faster, TC loads su just once per operation, and then just pipes the commands to it for each file. To detect when a command ends, it sends another command which writes a specific string to the output.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
You make it sound like you are working on it somehow. Oh, stupid me. You mean the TC for Android. I don't think it is possible to do this over ADB as each command is a separate TCP session with the ADB server. After they release 4.3 on Nexus 10 I will do some tests. Currently all my devices are still on 4.2.2ghisler(Author) wrote:Unfortunately most users will use the stock ROM, so at least in TC I will perform all commands involving /system through su.
To make it faster, TC loads su just once per operation, and then just pipes the commands to it for each file. To detect when a command ends, it sends another command which writes a specific string to the output.
- ghisler(Author)
- Site Admin
- Posts: 50394
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Hmm, at least with the adb command line tool I can sendI don't think it is possible to do this over ADB as each command is a separate TCP session with the ADB server.
adb shell
and then I have an interactive session where I can send multiple commands. I don't know how this is solved internally, but I can send "su" command and then I seem to be rooted until the end of the session.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Installing & Uninstalling
Thanks for your reply. Sure enough, when you upload a file to .apps it installs automatically. However, when I try to delete something from that directory, it says 'access denied'. Is there any way to change the permissions on those files so I can delete them? Also, will deleting them also kill of the data they left behind, or must I do that separately?jakubklos wrote: Yes, it is possible and fairly simple to use. I am in the middle of building a new website so I might add some FAQs.
The plugin provides more features then visible at first sight. For app maintenance you need to use the .apps folder. You can copy new apks there which will result in installing them including adding them to the home screen. Deleting apks files results in uninstalling them. It is also possible to backup an apk by copying it from the device to the PC.
Jakub
I used to think that .apps was the same as /system/app, but that's not the case. Can the same files shown on .apps be found on the device with [for example] TC for Android?
Please put that FAQ up immediately

Re: Installing & Uninstalling
It does not really delete any file, it just issues the "pm uninstall" command. Could you send me the logs? .apps is either /data/app/ or all apps installed on your phone (when used the "pm" options in the settings)humb20 wrote:Thanks for your reply. Sure enough, when you upload a file to .apps it installs automatically. However, when I try to delete something from that directory, it says 'access denied'. Is there any way to change the permissions on those files so I can delete them? Also, will deleting them also kill of the data they left behind, or must I do that separately?jakubklos wrote: Yes, it is possible and fairly simple to use. I am in the middle of building a new website so I might add some FAQs.
The plugin provides more features then visible at first sight. For app maintenance you need to use the .apps folder. You can copy new apks there which will result in installing them including adding them to the home screen. Deleting apks files results in uninstalling them. It is also possible to backup an apk by copying it from the device to the PC.
Jakub
I used to think that .apps was the same as /system/app, but that's not the case. Can the same files shown on .apps be found on the device with [for example] TC for Android?
Please put that FAQ up immediately
Re: Installing & Uninstalling
Thanks again for responding. I'm not too sure what the PM command does. I enabled PM and the result is the same, i.e., it says the apk file is protected and can't be deleted. The Android device is unaffected.jakubklos wrote: It does not really delete any file, it just issues the "pm uninstall" command. Could you send me the logs? .apps is either /data/app/ or all apps installed on your phone (when used the "pm" options in the settings)
I'm not too sure what PM is all about. When I enable it I see less information that when I don't, plus it takes a while to retrieve the icons and other data.
Logs? I don't keep logs

Any chance you can put an FAQ or some docs so we won't keep pestering you?
Re: Installing & Uninstalling
pm is an Android command line tool for package management (lists apps, installs and deletes etc.) I simply asked for the TC logs from the plugin so I can see what commands are issued. A delete in the .apps folder should result in the pm -u command and not any rm or similarhumb20 wrote:Thanks again for responding. I'm not too sure what the PM command does. I enabled PM and the result is the same, i.e., it says the apk file is protected and can't be deleted. The Android device is unaffected.jakubklos wrote: It does not really delete any file, it just issues the "pm uninstall" command. Could you send me the logs? .apps is either /data/app/ or all apps installed on your phone (when used the "pm" options in the settings)
I'm not too sure what PM is all about. When I enable it I see less information that when I don't, plus it takes a while to retrieve the icons and other data.
Logs? I don't keep logs
Any chance you can put an FAQ or some docs so we won't keep pestering you?
Uninstall not working
Hi everybody!
I just found out about this plugin and it's so awesome I had to register to post here!
But yet there are some problems I am having and was wondering are these known bugs or something I am missing.
I can't uninstall apps from the devices. I tried it on
Nexus 7 4.3
Galaxy S2 4.1.2
both of them have default roms and are not rooted.
and it just says access denied...
Also is there some sort of manual or tutorial for using this awesome plugin?
I just found out about this plugin and it's so awesome I had to register to post here!
But yet there are some problems I am having and was wondering are these known bugs or something I am missing.
I can't uninstall apps from the devices. I tried it on
Nexus 7 4.3
Galaxy S2 4.1.2
both of them have default roms and are not rooted.
and it just says access denied...
Also is there some sort of manual or tutorial for using this awesome plugin?
Re: Uninstall not working
Hi,psixo wrote:Hi everybody!
I just found out about this plugin and it's so awesome I had to register to post here!
But yet there are some problems I am having and was wondering are these known bugs or something I am missing.
I can't uninstall apps from the devices. I tried it on
Nexus 7 4.3
Galaxy S2 4.1.2
both of them have default roms and are not rooted.
and it just says access denied...
Also is there some sort of manual or tutorial for using this awesome plugin?
thank you. I will test the uninstall feature. It used to work for sure but since you are the second person to complain there must be something wrong.
The only page that exists (recently) is this one
http://www.uniqtec.eu/applications/android-adb.html
Should you feel some more FAQs is missing just let me know
Jakub
Re: Uninstall not working
I have fixed the uninstall issue:psixo wrote:Hi everybody!
I just found out about this plugin and it's so awesome I had to register to post here!
But yet there are some problems I am having and was wondering are these known bugs or something I am missing.
I can't uninstall apps from the devices. I tried it on
Nexus 7 4.3
Galaxy S2 4.1.2
both of them have default roms and are not rooted.
and it just says access denied...
Also is there some sort of manual or tutorial for using this awesome plugin?
7.2
- Fix: App uninstall fixed
Great
Awesome plugin support! When will the fixed version be available?
I did read the page you mentioned in detail and it provides some good information on how to use the program and with some trial and error I got a hang of it pretty quickly. Al-though a little more detailed help of program functions would be quite helpful for the new users.
I did read the page you mentioned in detail and it provides some good information on how to use the program and with some trial and error I got a hang of it pretty quickly. Al-though a little more detailed help of program functions would be quite helpful for the new users.