USB to Serial Module - Acer Iconia A500

Search Google and find this:
http://www.slatedroid.com/topic/13293-pl2303-and-other-usb-to-serial-modules/
However I can not use insmod to install perhaps because of my kernel. The attachment is the module and serial console applicaton.
View attachment USB-to-SERIAL.zip

Related

What files have been accessed by an APK?

Does anyone know what local files is an APK accessing, or at least what url it is accessing from internet when downloading files?
I have an APK that is downloading files from internet, but is doesn't give me opportunity to move the files to SD Card. It is pretty annoying, as my system/internal memory is not infinite !
As an example, there is this "Process Monitor" from sysinternals.com
that shows accessed files by a program on PC for local files.
Maybe there is such a logger for Android too?
hmmm....
anyone alive?
since i don't really know what you are trying to do some suggestions
maybe logcat is what are you looking for
search for "logcat" at the market - there are a lot of apps
or titanium backup to move apps to sd
or do you mean the working memory ?
it's an other design as at other operating systems
android loads/unloads apps as needed
there are tools as setcpu to change when android begins to unload/close apps
thanks for answering!
suppose I am downloading a book with aldiko.
how can I know the URL it is downloading from, or the file where it saved it?
I tried moving the APK with Titanium already, but seems like the books are still there, and they are taking a lot of internal memory
I also tried already "alogcat", but it's not showing me what files an APK acesses from local nor the URLs
At least on PC such logger exists but maybe there is such a logger that show this info on Android too?
For the URL I'd use a packet sniffer, either on the device or on the network. Keep in mind, there's no guarantee that the downloads happen over HTTP at all...
As for the files, the data folder for any android application is referenced from /data/system/packages.list, and is almost always "/data/data/package_name". You could probably move the larger files/folders elsewhere and create a symlink to the new location, but on a fat32 partition for /mnt/sdcard you may run into permission (or case sensitivity) problems.
rorogio said:
I also tried already "alogcat", but it's not showing me what files an APK acesses from local nor the URLs
At least on PC such logger exists but maybe there is such a logger that show this info on Android too?
Click to expand...
Click to collapse
You can use the terminal app oder adb shell and run the following command
Code:
lsof | grep aldiko
to see the files aldiko has currently open. For the URL it's more complicated, the netstat (on terminal) command gives you only the connected IP's. If you want the exact URL (if it even is something like a HTTP URL) use a network sniffer or a Proxy.
nind said:
You can use the terminal app oder adb shell and run the following command
Code:
lsof | grep aldiko
to see the files aldiko has currently open. For the URL it's more complicated, the netstat (on terminal) command gives you only the connected IP's. If you want the exact URL (if it even is something like a HTTP URL) use a network sniffer or a Proxy.
Click to expand...
Click to collapse
I tried this with adb from command prompt, but this is the result:
Code:
"'lsof' is not recognized as an ...operable program or batch file."
Did you mean an android terminal app?
You can use the terminal app oder adb shell and run the following command
Click to expand...
Click to collapse
you have to issue the command in the adb shell
b63 said:
you have to issue the command in the adb shell
Click to expand...
Click to collapse
I put this one, but it says now that grep is not a known command
(I used this formula:
Code:
adb shell lsof | grep aldiko
)
Now I have another idea --
Because I know the extension of books loaded by aldiko - .epub,
I backed up the internal memory with TWRP to look for these files on the backup file on the PC.
But I have no idea how to open on PC these files. They have a .win extension.
Is this even possible?
did following:
adb shell
# lsof | grep maps
lsof | grep maps
com.googl 2046 ??? 32 ??? ??? ??? ??
? /data/app/com.google.android.apps.maps-2.apk
com.googl 2046 ??? 33 ??? ??? ??? ??
? /data/app/com.google.android.apps.maps-2.apk
com.googl 2046 ??? 36 ??? ??? ??? ??
? /data/app/com.google.android.apps.maps-2.apk
com.googl 2046 ??? 37 ??? ??? ??? ??
? /data/data/com.google.android.apps.maps/databases/LayerInfo
#
Click to expand...
Click to collapse
used maps cause i don't have aldiko on mine
don't know something to open .win at pc

[TOOL] [14th Dec] | AIOlog - All in One Android Logger v0.5

AIOlog - All in One Android Logger​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Features:
Display and output Logcat
Last_kmsg
Dmesg
Kmsg
Kernel Version
Click to expand...
Click to collapse
Latest Version:
1. AIOlog for Windows: http://aiolog.googlecode.com/files/aiolog_win_v0.5.zip
2. AIOlog for Linux 32bit: http://aiolog.googlecode.com/files/aiolog_linux_32_v0.5.tar
3. AIOlog for Linux 64bit: http://aiolog.googlecode.com/files/aiolog_linux_64_v0.5.tar
4. AIOlog for Mac 32bit: http://aiolog.googlecode.com/files/aiolog_mac_32_v0.5.tar
5. AIOlog for Mac 64bit: http://aiolog.googlecode.com/files/aiolog_mac_64_v0.5.tar
Click to expand...
Click to collapse
NOTE: If you have this error "Cannot execute binary files" while using the AIOlog for linux, please download the 32bit version.
If you've downloaded the AIOlog v0.3 generic, please use the following file:
Either the aiolog_32bit or aiolog_generic_32bit
If this is your first time doing a log, you may need this file(Windows only):
http://code.google.com/p/aiolog/downloads/detail?name=aiolog_adb_fastboot_win_v0.1.zip
New features:
Added log push to phone and phone directory creation(log will be available at the computer, and the .aiolog, aiolog and root folder of your phone)
Added log archiving(unix)
Added log cid version
Added ADB files for Windows
Fixed a bug to auto detect device id when there is only one device
Click to expand...
Click to collapse
Full Changelog: https://github.com/wcypierre/AIOlog/commits/master​
Hi, I'm now in the look for users who can provide me with some data(non-private and non-confidential ones) in order to improve AIOlog as a big amount of data is needed for AIOlog in order to success.
If you're interested, please pm me and state your device name or you can email me via [email protected]
Basic Howto:
1. At your phone, go to Settings -> Developer Options
2. Tick the "Android Debugging"
3. Connect your phone to your computer(desktop/laptop)
Windows:
1. Navigate to the location where the aiolog is located
2. Extract it and place it to a folder
3. Open aiolog.exe by clicking at it
4. The menu will appear
5. Just enter the number(1,2,3 ...) of the function that you wanted to do
Linux:
NOTE: For AIOlog version 0.4 onwards, the binary file is called either aiolog_32bit or aiolog_64bit so please change it accordingly (The steps for the filename is used in Step #3)
1. Open your terminal
2. Navigate to where aiolog is located. Example, "cd ~/Downloads/" (Assuming that the file is saved at Downloads folder)
3. Type "./aiolog" and press enter
4. The menu will appear
5. Just enter the number(1,2,3 ...) of the function that you wanted to do
Click to expand...
Click to collapse
Advanced Howto:
1. At your phone, go to Settings -> Developer Options
2. Tick the "Android Debugging"
3. Connect your phone to your computer(desktop/laptop)
Windows:
1. Open the cmd
2. Navigate to the folder where aiolog is located
3. Type "aiolog -h" and press enter
4. Search for the functions that you wanted to do and type its command(refer to the examples below)
Examples:
1. To log all logs, type "aiolog.exe -a"
2. To get the logcat, type "aiolog.exe -l"
3. To get the last_kmsg, type "aiolog.exe -lk"
4. To specify a device that is to be used(use it when you have a lot of devices connected) and to get a dmesg, "aiolog.exe -id SH<yourdeviceid> -d"
Linux:
1. Open your terminal
2. Navigate to where aiolog is located. Example, "cd ~/Downloads/" (Assuming that the file is saved at Downloads folder)
3. Type "./aiolog -h" and press enter
4. Search for the functions that you wanted to do and type its command(refer to the examples below).
Examples:
1. To log all logs, type "aiolog.exe -a"
2. To get the logcat, type "./aiolog -l"
3. To get the last_kmsg, type "./aiolog -lk"
4. To specify a device that is to be used(use it when you have a lot of devices connected) and to get a dmesg, "./aiolog -id SH<yourdeviceid> -d"
Click to expand...
Click to collapse
Compatibility:
1. Full support on Windows
2. Partial support on Linux
3. Partial support on Mac(Version 0.5 onwards)
Issues:
1. May not work on mac yet(but it should be).
2. AIOlog will not work if the adb is not started for a 30 seconds to 1 minute in advance
Found a bug?
1. Go to here: http://code.google.com/p/aiolog/issues/list
2. Click New issue
3. Fill in the details
4. Report
5. Wait for it to be resolved :good:
Changelog:
Version 0.4
1. Added Auto Device Id detection
2. Logging support when there are more than 2 devices connected
3. Added logcat clear and dmesg clear
Version 0.3
1. Added logcat radio(to debug for radio issues)
2. Added log essential(logcat, dmesg, kmsg and last_kmsg)
3. Disable reprompt of device id after it has been entered
4. Misc Fixes
Version 0.2
1. Logcat, kmsg continuous(the normal logcat, kmsg way instead of log, stop and save method) added
2. Added additional checking on device id
3. Removed debug code
Version 0.1
1. Core functions(logcat, last_kmsg, dmesg, last_kmsg) implemented
2. Outputs the log to the current directory of AIOlog
3. kernel version output is implemented
Click to expand...
Click to collapse
To do list:
1. To archive the logs into an archive(zip, rar, tar)
2. To include mac support
3. To include log essential (Done )
4. To log other details
5. Fix any existing bugs
Building from Source
Prerequisite:
- Command Line Git(be it from any OS)
Instructions:
To clone the AIOlog(one time process):
git clone git://github.com/wcypierre/AIOlog.git
To update the existing AIOlog:
git remote update
git rebase origin/master
To compile AIOlog:
g++ main.cpp log.cpp -o aiolog.exe (for windows) / g++ main.cpp log.cpp -o aiolog (for mac/linux)
Miscellaneous:
If you want to log the logs using other methods, please refer to this thread by nitubhaskar:
http://forum.xda-developers.com/showthread.php?p=33716489
Nice. Will try it
Warren87 said:
Nice. Will try it
Click to expand...
Click to collapse
Please do try it and give any suggestions and how to improve the program
Nice tool, wcypierre!
Very helpfull for noob users.
icke said:
Nice tool, wcypierre!
Very helpfull for noob users.
Click to expand...
Click to collapse
Thanks . Please do provide some feedbacks after you've use it eh
Build from source instructions is added
For those who build from source, v0.3a is out(but the version number shows it as v0.2)
Version 0.2 is out!
1. AIOlog for Windows: http://aiolog.googlecode.com/files/aiolog_win_v0.2.zip
2. AIOlog for Linux: http://aiolog.googlecode.com/files/aiolog_linux_v0.2.tar
3. AIOlog for Mac: Coming soon.......
New features:
Version 0.2
1. Logcat, kmsg continuous(the normal logcat, kmsg way instead of log, stop and save method) added
2. Added additional checking on device id
3. Removed debug code
For those who build from source, please do a remote update as new commits has been committed to github
Ok, so I haven't played with it yet but I thought that I would provide some information to any other Ubuntu users who try to use the tool.
The download and compile of the executable occurs without any problems. If you have compiled nay other apps form source this is really easy.
In order to get the app to run you need to have adb installed and running.
I am not going to get into all the details for that. Google it.
But what you won't find in the instructions for when installing adb is the following:
a) You need to run adb under sudo, otherwise you get an error which says something along the lines of "no permissions", or "no permissions for this device" when you run aiolog.
b) If you have added adb to your path (Google it for instructions) then you run sudo with the -i argument. That is enter "sudo -i ad start-server"
Good luck
Nice gonna try soon
GaryWS said:
Ok, so I haven't played with it yet but I thought that I would provide some information to any other Ubuntu users who try to use the tool.
The download and compile of the executable occurs without any problems. If you have compiled nay other apps form source this is really easy.
In order to get the app to run you need to have adb installed and running.
I am not going to get into all the details for that. Google it.
But what you won't find in the instructions for when installing adb is the following:
a) You need to run adb under sudo, otherwise you get an error which says something along the lines of "no permissions", or "no permissions for this device" when you run aiolog.
b) If you have added adb to your path (Google it for instructions) then you run sudo with the -i argument. That is enter "sudo -i ad start-server"
Good luck
Click to expand...
Click to collapse
Thanks for the feedback . Was waiting for things like these(community feedback, so I can know new issues and write up on it) :good: .Provided that you know how to use git, usually compiling from source would not be a problem(especially when the project is only this small )
For the permission problem, I used to had that as well but I don't quite remember how I solved that. It can either be a permission problem at the adb file or the aiolog. anyway, just chmod the file to 755 with superuser permission(sudo) and you should be able to run it
Sample run of the command:
sudo chmod 755 aiolog
btw, would you mind to add a "b" after the "ad", because it should be "adb" instead of "ad"
Version 0.3 is out
New Features
Version 0.3
1. Added logcat radio(to debug for radio issues)
2. Added log essential(logcat, dmesg, kmsg and last_kmsg)
3. Disable reprompt of device id after it has been entered
4. Misc Fixes
Hey, i have added your tool to my all in one guide mate as we discussed.. and gave thread link to here..
Also congrats on hitting the portal news!! You got covered by POORCOLLEGEGUY.. he is awesome at covering these,..
nitubhaskar said:
Hey, i have added your tool to my all in one guide mate as we discussed.. and gave thread link to here..
Also congrats on hitting the portal news!! You got covered by POORCOLLEGEGUY.. he is awesome at covering these,..
Click to expand...
Click to collapse
hey, thanks for doing that :good: . I'll try and see what I can do for your thread
yeah, just noticed that, you're welcome
Hi, there!
Just downloaded aiolog_linux_v0.3.tar, extract and tried to execute, but had no succes ((
Can anybody help me?
Thanks!
Code:
[email protected]:~/Downloads/aiolog_v0.3$ uname -a
Linux vovs-pc 3.2.0-32-generic-pae #51-Ubuntu SMP Wed Sep 26 21:54:23 UTC 2012 i686 athlon i386 GNU/Linux
[email protected]:~/Downloads/aiolog_v0.3$ ./aiolog
bash: ./aiolog: cannot execute binary file
v0vs said:
Hi, there!
Just downloaded aiolog_linux_v0.3.tar, extract and tried to execute, but had no succes ((
Can anybody help me?
Thanks!
Code:
[email protected]:~/Downloads/aiolog_v0.3$ uname -a
Linux vovs-pc 3.2.0-32-generic-pae #51-Ubuntu SMP Wed Sep 26 21:54:23 UTC 2012 i686 athlon i386 GNU/Linux
[email protected]:~/Downloads/aiolog_v0.3$ ./aiolog
bash: ./aiolog: cannot execute binary file
Click to expand...
Click to collapse
Try to change the permissions and run it again
do the following:
sudo chmod 755 aiolog
Click to expand...
Click to collapse
same result
Code:
[email protected]:~/Downloads/aiolog_v0.3$ sudo chmod 755 aiolog
[sudo] password for vovs:
[email protected]:~/Downloads/aiolog_v0.3$ ./aiolog
bash: ./aiolog: cannot execute binary file
[email protected]:~/Downloads/aiolog_v0.3$ ls -l
total 64
-rwxr-xr-x 1 vovs vovs 27133 Nov 4 14:54 aiolog
-rw-rw-r-- 1 vovs vovs 35147 Oct 16 16:47 COPYING
[email protected]:~/Downloads/aiolog_v0.3$ ./aiolog
bash: ./aiolog: cannot execute binary file

Installing a File Manager

There is a port of the CM10 File Manager to ICS at http://forum.xda-developers.com/showthread.php?t=1982918
You can download the apk from that thread (mirrored at http://goo.im/devs/kemonine/CMFileManager), and install it on the Q.
To run it:
Code:
adb shell am start -a android.intent.action.MAIN -n com.cyanogenmod.filemanager/.activities.NavigationActivity
-- Rod
[This information is also hosted at http://nexusq.wikidot.com/install-file-manager, where I will be adding any other interesting things I find.]

[Q] Rooted but no root access (Acer500)

i managed to get ICS_Root to run under Linux (Ubuntu 14). It claims Root achieved but Titanium Backup says "no root".
I found http://forum.xda-developers.com/showthread.php?t=1823421 but I'm stuck.
0) Have your CPUID and/or SBK to hand, along with the A500 APX Flash Tool downloaded. <<=== I don't know how to get the CPUID
If you have your CPUID but not your SBK, go generate it now with http://a500bootloaderflash.tk/sbkcalc/
1) Download the root zip from http://www.blackthund3r.co.uk/hostedfiles/CWM_ICSRoot and copy it to the device's internal storage over USB
2) Load the A500 APX Flash Tool and enter the bundle market. View the bundles for the default repo (a500bootloaderflash.tk) ,<=== the Tool unpacks as a .exe. I'm on LInux.
I searched for how to get the CPUID and found this: http://forum.xda-developers.com/showthread.php?t=1624645
This item
(2) From your device using Terminal Emulator App
looked promising but didn't say _how_ (or which Terminal Emulator app)
Pointers or links would be nice.
Help?
vlbrown said:
i managed to get ICS_Root to run under Linux (Ubuntu 14). It claims Root achieved but Titanium Backup says "no root".
I found http://forum.xda-developers.com/showthread.php?t=1823421 but I'm stuck.
0) Have your CPUID and/or SBK to hand, along with the A500 APX Flash Tool downloaded. <<=== I don't know how to get the CPUID
If you have your CPUID but not your SBK, go generate it now with http://a500bootloaderflash.tk/sbkcalc/
1) Download the root zip from http://www.blackthund3r.co.uk/hostedfiles/CWM_ICSRoot and copy it to the device's internal storage over USB
2) Load the A500 APX Flash Tool and enter the bundle market. View the bundles for the default repo (a500bootloaderflash.tk) ,<=== the Tool unpacks as a .exe. I'm on LInux.
I searched for how to get the CPUID and found this: http://forum.xda-developers.com/showthread.php?t=1624645
This item
(2) From your device using Terminal Emulator App
looked promising but didn't say _how_ (or which Terminal Emulator app)
Pointers or links would be nice.
Help?
Click to expand...
Click to collapse
Scroll down a bit further m8...
(2) Retrieve your CPUID from your Tab using Terminal Emulator from the market
Code:
dmesg | grep androidboot.serialno
some have reported this did not work for them but that this one did when they tried it:
Code:
dmesg > /mnt/external_sd/dmesg.txt
Run these commands AFTER you have rebooted your Tab..
NOTE: HC Bootloaders who are running an ICS build:
adb reports your device ID as your serial no. and we need your HC CPUID.
Click to expand...
Click to collapse
Sent from my HTC_PN071 using Tapatalk

CIFS module to mount Windows Network Shared Folders

I rooted my TN7(Xolo). Now I want to mount my windows shared folders. Is it possible with stock kernel. Does shaky's kernel have this facility?
I've rooted my Tegra Note 7 too but haven't been able to mount my Windows Network Shares either. I'd like to compile the modules but I don't have the time. If anyone does have the time or has succeeded in compiling the relevant modules for the default kernel I'd appreciate being able to make use of them too. Thanks.
I compiled and it was a success. I also loaded 2 modules cifs.ko and md4.ko using insmod command, it was successfully loaded. Also checked using lsmod command, it showed modules loaded and live as a status. But when I mounted using "mount" or "busybox mount" command I got various error like "No such device", "unc path does not begin with // or ". After, I came to know that there is problem with android 4.2+ kernels. ... ... I will post the modules later today when I am at home, in case if you get succees then tell me which command you used.
asratxda said:
I compiled and it was a success. I also loaded 2 modules cifs.ko and md4.ko using insmod command, it was successfully loaded. Also checked using lsmod command, it showed modules loaded and live as a status. But when I mounted using "mount" or "busybox mount" command I got various error like "No such device", "unc path does not begin with // or ". After, I came to know that there is problem with android 4.2+ kernels. ... ... I will post the modules later today when I am at home, in case if you get succees then tell me which command you used.
Click to expand...
Click to collapse
Hello, can You please Upload those modules. I am in need of them. Tried alot with mount manager. But no success :'(

Categories

Resources