ricobautsch wrote:I tried this very useful plugin.
All seems to be ok so far, except deleting files.
If i try to delete a file on sd-card, i get the question "Should the selected file xxx really be deleted?" and then nothing happens, the file remains on the sd-card.
Copying files from/to sd-card works ok.
Hi there,
that is weird. Anyway, enable "Debug logging to TC FTP connection bar" and do the delete again. Then send me the logs from the connection bar.
I see in the log a "permission denied" message when i try to delete the Muster1.png.
What's wrong with the permissions, i copied the file with your plugin to the device some moments ago.
Here is a excerpt of the log:
ricobautsch wrote:I see in the log a "permission denied" message when i try to delete the Muster1.png.
What's wrong with the permissions, i copied the file with your plugin to the device some moments ago.
Here is a excerpt of the log:
1. You are not properly rooted and it misbehaves - we need to verify this
2. The rights on sdcard are somewhat incorrect and files cannot be deleted via adb.
Does this work for you?
"rm /mnt/sdcard/temp/Muster1.png"
If yes, I will update it so it will handle the 1) issue. If it does not work you should get a different ROM or kernel.
ricobautsch wrote:Im not sure what you mean with "properly rooted". My device is NOT rootet, it's in original state.
The "rm /mnt/sdcard/...." works, the file can be deleted this way.
Deleting with the plugin does not work, even with your new 3.2 Version of the plugin.
Well, your phone is indeed semi-rooted. That is why it responds with "Permission denied" to commands busybox and su (these can be found only on rooted devices). Otherwise it would respond with "busybox: not found" or similar.
Anyway, I have fixed it in the code so it also expects such behavior and works now. 3.3 is coming
I have released a new version with plenty of reworks. It is all related to the screenshot functionality and install/uninstall.
Originally, I used some external tools or adb executable for that. In this new version I wrote my own code to do these and it works perfect since I am able to use the file transfer progress indication now.
It is also a lot faster. Hope you like it
3.3
- New: Screenshot function uses internal functions and java is not used anymore (uses native ICS "screenshot" command or adb framebuffer:) (faster screenshots and file transfer progress)
- Update: Install and Uninstall in .apps folder does not use adb binary, push and pm command is used (allows you to see the file transfer progress)
- Update: In special cases native linux command used when "Permission denied" response detected
I have a small question while trying your plugin. (I do not root my phone)
1. About installing apk to phone.
It would be nice if the plugin let me know the status of installation. After copying apk to .apps, I think there should be some kinds of notice (in the plugin or phone).
2. About .apps folder
The folder is empty even when apks are installed. Is it normal?
sheppaul wrote:Hello,
Thanks for this great plugin first!
I have a small question while trying your plugin. (I do not root my phone)
1. About installing apk to phone.
It would be nice if the plugin let me know the status of installation. After copying apk to .apps, I think there should be some kinds of notice (in the plugin or phone).
2. About .apps folder
The folder is empty even when apks are installed. Is it normal?
Hi, thank you.
1) Since the new version has a complete control of the installation process I know exactly if installing an app fails. So instead I would suggest returning an error if there is a problem. Copyig a file to a folder also does not inform you the file copy succeeded. What do you think? Do you have any negative experience with installing apps so you would like a confirmation? Let me know
2) You should enable logging and send me the logs. The plugin is able to displays apps even on non-rooted phones via the "pm" command. The question is if it works on your phone or if there is some other problem. The logs will tell us more
ricobautsch wrote:Im not sure what you mean with "properly rooted". My device is NOT rootet, it's in original state.
The "rm /mnt/sdcard/...." works, the file can be deleted this way.
Deleting with the plugin does not work, even with your new 3.2 Version of the plugin.
Same problem with deleting on SGS3 (ICS) stock (rooted), but delete files in \mnt\sdcard works fine, only with \mnt\extSdCard I have problem in my case. "rm /mnt/extsdcard/...." on extSdCard doesn't works too. "Ls" command works in terminal, but not sure busybox installed correctly.
I think this is MTP peculiarity. May be I must somehow unmount extSdCard for RW? I heard something about "sysrw" command, can you explain it for me.
1) Since the new version has a complete control of the installation process I know exactly if installing an app fails. So instead I would suggest returning an error if there is a problem. Copyig a file to a folder also does not inform you the file copy succeeded. What do you think? Do you have any negative experience with installing apps so you would like a confirmation? Let me know
2) You should enable logging and send me the logs. The plugin is able to displays apps even on non-rooted phones via the "pm" command. The question is if it works on your phone or if there is some other problem. The logs will tell us more
Jakub
"Do you have any negative experience with installing apps so you would like a confirmation?"
When I'm trying this plugin for the first time, it's hard to know the way to install apk from hard disk. I think it's rather unintuitive. Even when the copy (installation) process was finished, I didn't know what it means. What about adding help tab in options of ADB plugin?
jakubklos,
Please tell me if there is any reason for updating adb binaries
These binaries in the latest version of Android SDK Platform-toos are newer than included in your plugin.