I'm searching, 3 days of research, but it seems there is not an app, a simple thing for listing the content of a directory to make a text document or similar.
Tons of software for windows, freeware or not, but nothing for android. Is it possible???
I need to list my music direcory content (many many files, about 2k) and no windows software can manage the external sd of my phone (asus zenfone 3 with nougat); i can read, transfer, erase or play files but i can't make a list o musical files.
I'm getting nervous, can someone help me???
bibbomio said:
I'm searching, 3 days of research, but it seems there is not an app, a simple thing for listing the content of a directory to make a text document or similar.
Tons of software for windows, freeware or not, but nothing for android. Is it possible???
I need to list my music direcory content (many many files, about 2k) and no windows software can manage the external sd of my phone (asus zenfone 3 with nougat); i can read, transfer, erase or play files but i can't make a list o musical files.
I'm getting nervous, can someone help me???
Click to expand...
Click to collapse
1. Download terminal emulator.
2. Go to the directory using "cd" command. I hope you know basic linux.commands
3. type "ls > filename.txt"
I'm not sure it would work on Android. I don't have my phone right now to check this. Atleast you can try.
psxda97 said:
1. Download terminal emulator.
2. Go to the directory using "cd" command. I hope you know basic linux.commands
3. type "ls > filename.txt"
I'm not sure it would work on Android. I don't have my phone right now to check this. Atleast you can try.
Click to expand...
Click to collapse
Many thanks, i tried on i9300 and this doesn't work for me. Tried putting spaces on various positions (i know dos, so...) but nothig to do...
bibbomio said:
Many thanks, i tried on i9300 and this doesn't work for me. Tried putting spaces on various positions (i know dos, so...) but nothig to do...
Click to expand...
Click to collapse
I tried it using Termux app and it worked. You need to give storage permission to the app to access sd card.
Yes, i do, writing "su" as first command in terminal... is it correct? Then various cd till music folder and the "ls..."...
bibbomio said:
Yes, i do, writing "su" as first command in terminal... is it correct? Then various cd till music folder and the "ls..."...
Click to expand...
Click to collapse
su
cd /
ls ( to check whether you're on the root directory)
cd /sdcard/*YOUR MUSIC FOLDER*/
ls ( this will list all the files in the corrent folder)
ls > ./music.txt
If this didn't work can you tell me the address to your music directory? Let me give you exact steps.
Cheers!
Related
I've been trying to take some screenshots on my G1 for some time now but nothing seems to work. I followed the instructions on these two pages http://www.allshadow.com/forum/viewtopic.php?f=9&t=4739
http://soi.kd6.us/2008/11/06/so-i-took-a-screenshot-on-my-g1heres-the-howto/
But ddms won't launch. Every time I click on ddms in the android-sdk-windows-1.1_r1\tools folder a cmd prompt flashes and then nothing happens.
What am I doing wrong? Or is there something wrong with my phone?
Now windows didn't prompt me to install new hardware when I plugged in my phone so I had to open Control Panel | Administrative Tools | Computer Management | Device Manager, go down to Other Devices and choose the Android phone, then right click Properties, and choose Update Driver, then browse to the specific location.
Does that make a difference?
Also I'm running on windows vista on my computer and I'm running JFv1.42 on my G1
Any help would be greatly appreciated. Thanks :]
Instead of running the batch file, have you tried to run cmd prompt first? Goto Start > Run > type in 'cmd' and hit enter. Then type in ddms and hit enter.
It seems whatever is happening, it is throwing an error once you click the batch file, so at least instead of closing you can post the error message here then it'll be clearer as to what is happening.
I opened up the cmd prompt and typed in ddms and this is what I got:
" 'ddms' is not recognised as an internal or external command, operable program, or batch file"
Does that mean that its not installed properly?
And I forgot to mention in my original post, that none of the batch files in the tools folder launch when clicked on.
Sounds like you haven't installed the SDK properly, especially the step where you add the /tools directory in the system environments.
Try this though: Copy the ddms.bat file and put it in /system32/ folder on your pc, and then try to launch cmd and run again..see if that helps.
Thanks
I figured out the problem. C:\WINDOWS\system32 wasn't in the system enviroments path
ChelseaO88 said:
Thanks
I figured out the problem. C:\WINDOWS\system32 wasn't in the system enviroments path
Click to expand...
Click to collapse
I'm having the same issue...how do I go about adding this?
Code3VW said:
I'm having the same issue...how do I go about adding this?
Click to expand...
Click to collapse
in windows, right click on my computer, go to properties, in one of the tabs, its in there.....
if you are running linux, and asking this, then you shouldn't be using linux....
Vista Home Premium...
I click on "Environment Variables" in the Advanced tab and it opens another menu, one with the option to add user variables, and one with system variables. Which one do I need to add, and what exactly do I need to add?
I tried creating a system variable with the variable name of test and the path as C:\Windows\System32 but it didn't solve the problem...
If I open cmd and cd to my sdk directory and type ddms I get:
Unable to access jarfile lib/archquery.jar
SWT folder '' does not exist.
Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.
its a hell of a lot easier using eclipse, just hit the ddms tab and click the icon that looks like a picture
nobody knows how to make this work without using yet another program??
still cant figure this out
Having the same problem, when I click ddms it flashes then disappears. Any idea how to add the file path in windows 7?
If you can't get this to work - There's a nice little program in the market, simply called "screenshot" (free), that'll let you make screenshots either with a timer or by shaking the phone.
Hello everyone im a noob here but im slowley learning. i have searched and searched including the ABD for dummies they all make mention of ABD for mac but then move right along into windows how tos. im sorry if this is the wrong place for this post but can anyone point me to a place that actually explains ABD usage for mac i know nothing about terminal and i think thats what it want me to use. i really mean it ive been looking for a good mac tuterial for days!!!!!! thanks
You mean adb, right?
The commands for adb are pretty much the same ones used on windows
Not development...post in general.
Anyways,
do you have the sdk set up as per these instructions? You dont need to worry about the eclipse stuff. The most important thing is getting the sdk downloaded, extracted and the /tools dir added to your path. From there, the command are exactly the same. eg:
Code:
adb push
adb pull
adb shell
adb shell reboot recovery
...
LostinThesauce said:
Hello everyone im a noob here but im slowley learning. i have searched and searched including the ABD for dummies they all make mention of ABD for mac but then move right along into windows how tos. im sorry if this is the wrong place for this post but can anyone point me to a place that actually explains ABD usage for mac i know nothing about terminal and i think thats what it want me to use. i really mean it ive been looking for a good mac tuterial for days!!!!!! thanks
Click to expand...
Click to collapse
to use ADB and FASTBOOT you need to mount your SDK foldert (you "need" tools folder) and then use all commands starting with ./
for example ./fastboot reboot
PS if you want to use fastboot, you have to download it separate from HTC site.
hr00st said:
to use ADB and FASTBOOT you need to mount your SDK foldert (you "need" tools folder) and then use all commands starting with ./
for example ./fastboot reboot
PS if you want to use fastboot, you have to download it separate from HTC site.
Click to expand...
Click to collapse
You dont have to mount the folder. It may be easier but in the long run adding it to path will teach you more. Just do a google search on edit path osx and you will find how to create or edit the bash_profile to add the tols folder to your path. from there you just open terminal and adb away
u are the 1st person i know whom uses and mac and didnt get the iphone... but got android instead..
farbird said:
u are the 1st person i know whom uses and mac and didnt get the iphone... but got android instead..
Click to expand...
Click to collapse
add me as #2 who never went iphone. i stayed winmo until i could get a canadian spphire shipped to usa to run the htc sensui. btw...i use mac for me and pc at work and my macbook runs a virtual machine so i fire up xppro os in a dedicated "spaces" desktop so i do use sdk and copilot's nav interface in windows.
i guess i'm "bi". actually "tri" now
Good to go
got it running this is fun
LostinThesauce said:
got it running this is fun
Click to expand...
Click to collapse
cool. think you might be motivated to write a simple guide for the rest of us mac users? not too noobish. maybe more targeted to average+ users.
lpasq said:
cool. think you might be motivated to write a simple guide for the rest of us mac users? not too noobish. maybe more targeted to average+ users.
Click to expand...
Click to collapse
There is no need in this. Everyone can find all information on GOOGLE. It is easer then "Easy Button"
MAC+ANDROID=FRIENDS FOREVER!
Setting up ABD for OSX, Hackintosh, mac newbies like myself.
First make sure you have downloaded the latest SDK from google.
In finder go to your home folder and extract the sdk into a folder named Android.
If you only plan on using ADB you can just extract the tools folder contents there.
Now open up Terminal...Applications/system utilities
Type in the following
echo $shell
ls -a
If you see a file named .bash_profile in the list you are ok if not we have a few things to do.
To create a .bash_profile, in terminal do the following
touch .bash_profile
This will create a blank file if there is none. Then,
open -e .bash_profile
This will open it in TextEdit. Add the following line:
export PATH=${PATH}:*<your_sdk_dir>*/tools
Where <your_sdk_dir> is the full path to the android sdk folder (type
carefully, remove < > brackets).
For example, if the android folder is in the eclipse folder on your Desktop,
it would be:
export PATH=${PATH}:/Users/David/Desktop/eclipse/
android-sdk-mac_x86-1.0_r1/tools
Save and quit.
then all you have to do from there is adb away.
If you need more info please follow this link where I copied the info from.
http://groups.google.com/group/andr...0460fb16ea06c/dd175d8675f33827?lnk=raot&pli=1
Surprising what you can find in the google android groups.
Johnny Blaze said:
First make sure you have downloaded the latest SDK from google.
In finder go to your home folder and extract the sdk into a folder named Android.
If you only plan on using ADB you can just extract the tools folder contents there.
Now open up Terminal...Applications/system utilities
Type in the following
echo $shell
ls -a
If you see a file named .bash_profile in the list you are ok if not we have a few things to do.
To create a .bash_profile, in terminal do the following
touch .bash_profile
This will create a blank file if there is none. Then,
open -e .bash_profile
This will open it in TextEdit. Add the following line:
export PATH=${PATH}:*<your_sdk_dir>*/tools
Where <your_sdk_dir> is the full path to the android sdk folder (type
carefully, remove < > brackets).
For example, if the android folder is in the eclipse folder on your Desktop,
it would be:
export PATH=${PATH}:/Users/David/Desktop/eclipse/
android-sdk-mac_x86-1.0_r1/tools
Save and quit.
then all you have to do from there is adb away.
If you need more info please follow this link where I copied the info from.
http://groups.google.com/group/andr...0460fb16ea06c/dd175d8675f33827?lnk=raot&pli=1
Surprising what you can find in the google android groups.
Click to expand...
Click to collapse
thank you very much. i really appreciate those who don't waste their effort flaming a request for info. "that was easy"
farbird said:
u are the 1st person i know whom uses and mac and didnt get the iphone... but got android instead..
Click to expand...
Click to collapse
really??i know of many people lol..macs are just better and less of a pain in the ass to use..and if you watch the google confrences..theyre using macs lol
farbird said:
u are the 1st person i know whom uses and mac and didnt get the iphone... but got android instead..
Click to expand...
Click to collapse
i use a mac and love android. hate the iphone
lpasq said:
thank you very much. i really appreciate those who don't waste their effort flaming a request for info. "that was easy"
Click to expand...
Click to collapse
If my words offended you, i apologize for that. I thought it was just unfair, when i was searching for INFO, i was sent to google and thats why i did the same thing.
Let's respect each other.
hr00st said:
If my words offended you, i apologize for that. I thought it was just unfair, when i was searching for INFO, i was sent to google and thats why i did the same thing.
Let's respect each other.
Click to expand...
Click to collapse
thank you. yes, respect and support
Hi, I'm fairly new at developing android. Im having the hardest time making a virtual sdcard. can someone please give a some tips or a walkthrough. i've read all the how to's n googles dev forum.
ive gotten to the point where im in cmd.exe on windows
i opened the mksdcard.exe
the when i go to type in mksdcard 64M sdcard.iso
it says its not recogized as an internal or external command, operable program or batch file.
CAN ANYONE PLZ tell me whats going wrong. im so anxious to start deving for android!!
SimPRoBer20 said:
Hi, I'm fairly new at developing android. Im having the hardest time making a virtual sdcard. can someone please give a some tips or a walkthrough. i've read all the how to's n googles dev forum.
ive gotten to the point where im in cmd.exe on windows
i opened the mksdcard.exe
the when i go to type in mksdcard 64M sdcard.iso
it says its not recogized as an internal or external command, operable program or batch file.
CAN ANYONE PLZ tell me whats going wrong. im so anxious to start deving for android!!
Click to expand...
Click to collapse
You need to either add the sdk\tools folder to your path (PATH environment variable), or actually cd to the tools folder or fully specify the path. The error is Windows telling you it has no idea what this mksdcard thing you're talking about is because it can't find it.
This is pretty basic command line stuff, not Android specific--you can develop without knowing about it, but it's worth spending some time learning. (I recommend DOS for Dummies for DOS 6.2, if you can find it. Seriously. I've probably read that book a dozen times and I don't think there's anything like it for Windows. The modern cmd.exe isn't that different from command.com.)
Of course, you can also specify a virtual SD card when creating an AVD from the graphical SDK and AVD Manager, and skip the command line business.
ok i get what ur saying.
like i find the file through
c:\android-sdk-windows\tools\mksdcard.exe
then when it finds it
c:\android-sdk-windows\tools\mksdcard.exe mksdcard 64M sdcard.iso?
im confused
and when i make a sdcard in avd manager or watever its called my emulator cant find the sdcard. and even droid explorer cant see any of the emulators files. an idea what the problem could be or am i just blatently missing something?
SimPRoBer20 said:
ok i get what ur saying.
like i find the file through
c:\android-sdk-windows\tools\mksdcard.exe
then when it finds it
c:\android-sdk-windows\tools\mksdcard.exe mksdcard 64M sdcard.iso?
im confused
and when i make a sdcard in avd manager or watever its called my emulator cant find the sdcard. and even droid explorer cant see any of the emulators files. an idea what the problem could be or am i just blatently missing something?
Click to expand...
Click to collapse
You're making it too complicated.
Code:
> c:\android-sdk-windows\tools\mksdcard 64M sdcard.iso
Where "> " is just the prompt that's already printed on the screen. You only need the name of the command once.
ok so after i do that. it just gives me a fresh cmd line like i never typed anything in in the first place.
and when i go to look for the file its nowhere to b found.
is this normal?
wait!! i think i may have just found them
whats the most common method of emulating zip files that ppl make?
Assuming that you have:
Not modified the registry.
Surface RT with Windows 8.1
Patience (Essential)
First: Taking ownership.Use
Code:
takeown /F "C:\Program Files\WindowsApps" /A /R
Second Let's remove the C:\Program Files\WindowsApps folder (As we have already taken ownership we can do this) just use "SHIFT+SUPR".
There is also a way to preserve already installed apps, this shouldn't affect but in the proccess I just deleted everything, anyway, you decide...
Code:
robocopy "C:\Program Files\WindowsApps" "D:\WindowsApps" /E /COPYALL /DCOPY:DAT
and then just use "SHIFT+SPR" to delete the folder.
Assuming that your news apps folder is at "D:\WindowsApps" change it to the directory where you want to have the apps.
ThirdNow let's create the symbolic link
Code:
mklink /D "C:\Program Files\WindowsApps" "D:\WindowsApps"
Restart
Try to install an app and... d*mn! Error 0xd00000bb
Don't worry just right click over the new app directory, in my case "D:\WindowsApps" and choose properties... then Security tab and then Advanced now we must be sure that there is the "ALL APPLICATION PACKAGES" with full control if it isn't then just add it. Enable inheritance and tick the option "Replace all child permi..." then ok and wait... when it's done go to the Windows Store and click "Retry" and.... voi lá app get installed.
Be hapy :good:
I'll try to do this later. But has anyone else tried this and confirmed it works. Also, I'm not a pro, so I don't understand what "use "SHIFT+SPR" to delete the folder." means. Can you elaborate?
I just bought one of these cheap 16gb Win tablets for my son and I'm SOOOOOOO mad that I can't install apps on the SD card. What a joke.
Ok. So I created the D:\WindowsApps and did the robocopy. That took about 30-45minutes.
I tried to create the link, but it said the link was already created. So I don't know about that. Does the robocopy create a symbolic link?
PS. I discovered with some Googling 'Shift+SPR' is 'Shift Delete in Spanish.
thehotrod11 said:
Ok. So I created the D:\WindowsApps and did the robocopy. That took about 30-45minutes.
I tried to create the link, but it said the link was already created. So I don't know about that. Does the robocopy create a symbolic link?
PS. I discovered with some Googling 'Shift+SPR' is 'Shift Delete in Spanish.
Click to expand...
Click to collapse
Did you deleted original folder in C:\ yet?
I tried this procedure three times today. I was never able to delete the WindowsApps folder from my C drive. And it would continue to install my apps on the C drive. Moreover there were no security options on the WindowsApp folder on my SD card. Frustrated that I spent so much time on this and didn't get anywhere.
If there are no security options on the SD card, then the SD card isn't using NTFS. FAT obviously doesn't support ACLs, so it has no security settings.
If you can't rename or delete the original folder, then obviously you can't replace it with a symlink. You'd have two things with the same name! Robocopy doesn't move files and folders, it copies them (surprise...).
Thanks GDTD
GoodDayToDie said:
If there are no security options on the SD card, then the SD card isn't using NTFS. FAT obviously doesn't support ACLs, so it has no security settings.
If you can't rename or delete the original folder, then obviously you can't replace it with a symlink. You'd have two things with the same name! Robocopy doesn't move files and folders, it copies them (surprise...).
Click to expand...
Click to collapse
HI again internet.
I tried this method with little success. Then again I had a bitlocker encrypted SD not sure if that makes a diff??
Have fun
Wcomhelp
Would this work on 8.1 with Bing? Could someone write a script, to automate the process?
Thanks!
"robocopy" Not Working?
First, i tried to post a comment but since my hotspot was a sprint isp, it denied me. Such a pain and waited a long time to finally register. I finally got around to accessing cable internet to register. But by now, I already found my answer. So here it is.
If you cannot successfully complete the robocopy (says access denied for certain files), you need to fix the permissions first.
1-Before starting these instructions; you must have "ALL APPLICATION PACKAGES" added in the permissions of D:\WindowsApps or wherever that folder is on D. But also be sure to hit the "Full Control" box before saving.
2- Start this tutorial and the robocopy should work.
Hi,
I cannot seem to get the permissions in the SD card folder to work permanently and folder permissions keep reverting to read-only. I have been able to install one app in the SD card folder but now I am continuing to get the error.
Any kind soul would like to explain how to permanently set the permissions to that will make sure that this works?
Thanks a lot.
You didn't mention that the SD Card must be formated as NTFS system in order to take into account correct NTFS Right access.
Does it valid only for Windows 8.1 RT version ??? I am trying on Windows X86 32Bits but doesn't works
Deleted
I'm also interested if it is possible to do this on other machines with Windows 8.1.
I followed the instructions above, but when I'm trying to install i.e. Adobe Touch app, I'v got an error: 0x80244022.
tried in windows 8.1 pro and it does not work. As soon as i open an installed app it opens for a few secconds and the exit imediately.
Please help.
i need help with files disappear in my android after encrypting them with ES FILE EXPLORER app (
mostly are files with.mp4' after making a decrypted with the app ( es file explorer ) they simlpy VANISH from the android and cant find them
i am terribly need them back/
please help
Wondering what sense does it make to encrypt videos unless they are porn-videos?
keep Wondering, add some extra for that. but it's not the case this time....
..
can you help instead of wondering ?
Try this:
Look inside the folder where the videos should be and look there for a file named .nomedia. If this file is present delete it.
Didnt work :
i dont know where the .eslock files disappear ( which are the file being decrypted by this program ) i tried seach also with other applications.. but nothing :S
An .ESLOCK file is an encrypted file created by ES File Explorer app.
When you encrypt ( read: lock ) a file with the ES File Exploer app, then file is renamed to a set of numbers and letters and given the "eslock" file extension, which appears similar to asd496gfr04.eslock.
These .ESLOCK files should be found in the folder where the original files where housed. You can search Android for such files using ADB
Code:
adb devices
adb shell "cd /; ls -R * ^| grep 'eslock'"
thanks.
i am not familiar with the ADB thing actualy, i googled a lot and found whats called
"cmdline-tools" inside it there's is a "bin" and then " sdkmanager.bat" but it doesnt run a command shell line to type the codes :S
i dont know how to use that adb..
neuros131 said:
thanks.
i am not familiar with the ADB thing actualy, i googled a lot and found whats called
"cmdline-tools" inside it there's is a "bin" and then " sdkmanager.bat" but it doesnt run a command shell line to type the codes :S
i dont know how to use that adb..
Click to expand...
Click to collapse
Use the ADB installer what is in my signature below linked to. Once installed connect Android device with PC via USB-cable and enable in Android's Settings -> Developer options "USB Debug". When having done so open a Windows command prompt and run the ADB commands.
hi again,
I couldn't find anything with the search.
I tried to make another file being encrypted.
but after a day it vanished as well after the encryption.
i dont know whats happening, and if there's another way to resotre those files being vanished :?
also i got most of the search " access denied as in the picture "