Find text in the android file system - Android Software/Hacking General [Developers Only]

Hello all!!
I would be very gratefully if you could help me, because I don't know what more to do...
Now, I have access to the root of my HTC Hero, and I have the emulator working well, but what I wanted to do was searching for a text in all the files, so I thought to use the find command:
find . -type f | xargs grep “cadena a buscar"
but when I tried the command I have obtained the result:
find command not found, and it's true, because in the /system/bin directory, so, now, I don't know what to do in order to find a text in all files....
Thanks a lot if you can give me some help!!
THANKS,
Maria

Related

[Q] Editing/Patching xbin contents

Hello,
I'm trying to figure out what the file types are that are located in the system/xbin folder, the same files that are utilized in the command shell, so that I can view and hopefully edit them once I learn a little more. Are they just binary files? or android executables? or something else?
I have done a fair amount of googleing and haven't come up with anything substantial...
Any help would be much appreciated!
Thanks

[Q] xoom wifi root missing file

Hello, First post and first Android device.
I am in the middle of rooting my xoom and have come to nearly the last step. The file "adb shell chmod 4755 /system/bin/su" returns a " No such file or directory " error. I have gone through the sdk tool folder as well as searched every folder on my C drive, and no such file exists. I have also downloaded the xoomwifiroot zip more than once to make sure the one I had wasnt corrupted. After searching xda forum and the net for several hours I can not find any answers. I have also not only typed it in many times, but have also copy/pasted it from xda as well as other forums.
I would appreciate any help that can fix this so I can enter the last couple lines and finish this.
Thanks
anyone able to help?
Is there anyone that can help with this?

Setting up Alias's on Android Terminal

Hi Guys
I have my tf201 rooted and better terminal emulator installed with busybox (bash shell being used) and Im desperately trying to find a way to setup permanent alias's that can be used when openning terminal, ie alias sh='ssh -l user 192.168.1.1' and anything similiar. I have tried to search for a way to do this or to find out the correct file to edit (similar to editing .profile on linux). Also is .cloginrc supported, where would I find the correct file to edit for usernames & passwords for certain hosts for automated ssh logins?
Please guys, this is something that would be extremely useful for me, please help if you can
Sent from my Transformer Prime TF201 using xda premium

Something to make a list of a folder's content

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!

EX FILE EXPLORER MP4 files decrypted they disappear !!

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 "

Categories

Resources