[WFX] Android ADB 8.8

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Umpal
Junior Member
Junior Member
Posts: 36
Joined: 2010-12-23, 13:33 UTC

Post by *Umpal »

jakubklos wrote: I do not think WiFi ADB can work without a rooted phone unfortunately. In that case you should try to get it working with USB instead or simply root your phone.

I do not have to tell you what benefit you will get when you root your phone. It's a must have :)
Ok, I now tried with my Galaxy Tab 7 which is rooted (Overcome 4.1).
I installed WiFi ADB and got the IP and the port - it works.
Would be fantastic if it worked with not rooted devices.
jakubklos
Senior Member
Senior Member
Posts: 221
Joined: 2012-07-11, 14:48 UTC

Post by *jakubklos »

Good, like I said, WiFi ADB cannot be used without rooting. It calls some system function to start the TCP/IP ADB service or something
jakubklos
Senior Member
Senior Member
Posts: 221
Joined: 2012-07-11, 14:48 UTC

Post by *jakubklos »

A new version has been released:

1.5
- Set/Get file attributes/permissions - Change Attributes action in Total Commander
- adb binary - also added AdbWinUsbApi.dll
- ls syntax detection improved
- Auto mount working for semi-rooted devices
- Push file workaround to /system files when ADB Push fails because of semi-rooted device and permission denifed (mount does not help here) - file copied to sdcard and then moved to /system automatically
damjang
Senior Member
Senior Member
Posts: 215
Joined: 2003-10-09, 15:58 UTC
Contact:

Post by *damjang »

jakubklos wrote:Both issues fixed:
1.5
- adb binary - also added AdbWinUsbApi.dll
- ls syntax detection improved
Please, wait for the release
Yes, now work ok. The only thing that I take to your attention is the time of the files. Here it is 2 hour of difference. It is because of UTC+x. Maybe there is a possibility to check the phone and the pc settings to correct this difference?
jakubklos
Senior Member
Senior Member
Posts: 221
Joined: 2012-07-11, 14:48 UTC

Post by *jakubklos »

damjang wrote:
jakubklos wrote:Both issues fixed:
1.5
- adb binary - also added AdbWinUsbApi.dll
- ls syntax detection improved
Please, wait for the release
Yes, now work ok. The only thing that I take to your attention is the time of the files. Here it is 2 hour of difference. It is because of UTC+x. Maybe there is a possibility to check the phone and the pc settings to correct this difference?
The time issue seems to be a problem in some ROMs. I will analyze ore tomorrow. On 90% ls simply returns time in UTC and the plugin considers that. However, some ROMs simply displays local time. There is no way to find out though. So I use the majority way which works 90% (my 3 devices out of 4 and also the Android emulators).

But I will do a research tomorrow if there is a way. I suspect there won't be just like with busybox ls and utf8 though
trycatch
Junior Member
Junior Member
Posts: 2
Joined: 2012-07-20, 08:16 UTC

htc sense rom

Post by *trycatch »

i have an HTC Sensation rom.

yesterday i used AOSP rom and everythink was ok.

now when i try it with HTC Sense Rom, directory's are not OK.

i mean for example "sdcard" directory is: "[1;36msdcard[0m"

i upload a screen here:

imageshack [dot] us/photo/my-images/843/sensationx.jpg
jakubklos
Senior Member
Senior Member
Posts: 221
Joined: 2012-07-11, 14:48 UTC

Re: htc sense rom

Post by *jakubklos »

trycatch wrote:i have an HTC Sensation rom.

yesterday i used AOSP rom and everythink was ok.

now when i try it with HTC Sense Rom, directory's are not OK.

i mean for example "sdcard" directory is: "[1;36msdcard[0m"

i upload a screen here:

imageshack [dot] us/photo/my-images/843/sensationx.jpg
Yes, that is because your ls was replaced by busybox ls. Most of ls do not support extra parameters (such as to remove the colors) so the param must not be passed to it. However, when your ls was replaced by busybox it must have that param to remove the color.

Currently you can enable busybox ls in fsplugin.ini and that will fix it for you.
jakubklos
Senior Member
Senior Member
Posts: 221
Joined: 2012-07-11, 14:48 UTC

Post by *jakubklos »

jakubklos wrote:
damjang wrote:
jakubklos wrote:Both issues fixed: Please, wait for the release
Yes, now work ok. The only thing that I take to your attention is the time of the files. Here it is 2 hour of difference. It is because of UTC+x. Maybe there is a possibility to check the phone and the pc settings to correct this difference?
The time issue seems to be a problem in some ROMs. I will analyze ore tomorrow. On 90% ls simply returns time in UTC and the plugin considers that. However, some ROMs simply displays local time. There is no way to find out though. So I use the majority way which works 90% (my 3 devices out of 4 and also the Android emulators).

But I will do a research tomorrow if there is a way. I suspect there won't be just like with busybox ls and utf8 though
Ok I have solved this the following way:
- LocalTZLS new ini variable added (fsplugin.ini) controls if ls returns time in local or UTC format
So if you have a problem just toggle the LocalTZLS in fsplugin.ini and that will fix it for you.

Now, I will focus on the ANSI coloring.
jakubklos
Senior Member
Senior Member
Posts: 221
Joined: 2012-07-11, 14:48 UTC

Re: htc sense rom

Post by *jakubklos »

trycatch wrote:i have an HTC Sensation rom.

yesterday i used AOSP rom and everythink was ok.

now when i try it with HTC Sense Rom, directory's are not OK.

i mean for example "sdcard" directory is: "[1;36msdcard[0m"

i upload a screen here:

imageshack [dot] us/photo/my-images/843/sensationx.jpg
Ok this issue is fixed too:
- ls - detection of ANSI escaping and removing for non busy ls
All in the upcoming version
jakubklos
Senior Member
Senior Member
Posts: 221
Joined: 2012-07-11, 14:48 UTC

New version has been released

Post by *jakubklos »

1.6
- Debug log support added - enable in fsplugin.ini
- LocalTZLS new ini variable added (fsplugin.ini) controls if ls returns time in local or UTC format
- ls - detection of ANSI escaping and removing for non busybox ls
trycatch
Junior Member
Junior Member
Posts: 2
Joined: 2012-07-20, 08:16 UTC

Post by *trycatch »

v1.6 my problem is gone :)

thanks. super fast solution...
jakubklos
Senior Member
Senior Member
Posts: 221
Joined: 2012-07-11, 14:48 UTC

Post by *jakubklos »

trycatch wrote:v1.6 my problem is gone :)

thanks. super fast solution...
Very good
jakubklos
Senior Member
Senior Member
Posts: 221
Joined: 2012-07-11, 14:48 UTC

New version

Post by *jakubklos »

A new version has just been released
1.7
- Binaries moved to bin dir, aapt added
- APK Icon and metadata support added, new fsplugin.ini variable to disable APK download and icon extraction
- APK properties (Alt+Enter) support added - displays the Name, Package and Version information
- Options dialog added (Alt+Enter at the plugin) - all options can be set here, readme.txt displayed and debug.log viewed
damjang
Senior Member
Senior Member
Posts: 215
Joined: 2003-10-09, 15:58 UTC
Contact:

Re: New version

Post by *damjang »

jakubklos wrote:A new version has just been released
There is this problem in my winXP:

Sniffed code:

Code: Select all

Receive: Return Code: 0x00000000
001Fhost:transport:304D19D5A44B229E

Receive: Return Code: 0x00002733


Send: Return Code: 0x00000000
OKAY

Receive: Return Code: 0x00000000
002Bshell:ls -l "/mnt/sdcard/Android/apk/test/"

Receive: Return Code: 0x00002733


Send: Return Code: 0x00000000
OKAY

Send: Return Code: 0x00000000
-rwxrwxr-x system   sdcard_rw        0 1979-12-31 23:00 prova 2012.01.01 12.00.txt
-rwxrwxr-x system   sdcard_rw   522359 2012-05-07 01:05 Barcode_Scanner_v4.1.apk
-rwxrwxr-x system   sdcard_rw   532395 2004-01-01 14:01 Barcode_Scanner_v4.2.apk
-rwxrwxr-x system   sdcard_rw  6378112 1980-01-01 01:00 DejaOffice2_2_2_309.apk
TC show: img
jakubklos
Senior Member
Senior Member
Posts: 221
Joined: 2012-07-11, 14:48 UTC

Re: New version

Post by *jakubklos »

damjang wrote:
jakubklos wrote:A new version has just been released
There is this problem in my winXP:

Sniffed code:

Code: Select all

Receive: Return Code: 0x00000000
001Fhost:transport:304D19D5A44B229E

Receive: Return Code: 0x00002733


Send: Return Code: 0x00000000
OKAY

Receive: Return Code: 0x00000000
002Bshell:ls -l "/mnt/sdcard/Android/apk/test/"

Receive: Return Code: 0x00002733


Send: Return Code: 0x00000000
OKAY

Send: Return Code: 0x00000000
-rwxrwxr-x system   sdcard_rw        0 1979-12-31 23:00 prova 2012.01.01 12.00.txt
-rwxrwxr-x system   sdcard_rw   522359 2012-05-07 01:05 Barcode_Scanner_v4.1.apk
-rwxrwxr-x system   sdcard_rw   532395 2004-01-01 14:01 Barcode_Scanner_v4.2.apk
-rwxrwxr-x system   sdcard_rw  6378112 1980-01-01 01:00 DejaOffice2_2_2_309.apk
TC show: img
You did not specify your problem. It seems ok to me at first sight... What seems to be the problem?
Post Reply