I know there has to be a way, I just can not find it.
What I want to do is with the terminal find a way to create a list of only the .apk files in a folder, would also be nice to know how to list other different file extensions.
My goal is to create a text file with a list of all the apks in my /system/app folder, and other folders as needed.
Thanks
Don't know if this works on Android, but in a standard Linux shell you can cd to the directory (which would be /system/app in your case) and then type ls > file.txt (file can be named anything).
Hello ;
I did the procedures of the Thread:
"how flash player 10.3 work in stock rom[Guide] "
http://forum.xda-developers.com/showthread.php?p=18552527
And flash it's working, but I have a small Problem after disconnet/reboot the
Phone I lose the files of the folder lib an dit's necessary do always the following
steps:
step 2: copy lib file to /data/data/com.adobe.flashplayer/lib
step 3: change the permission of all .so file like screenshot
JG
First download autostart app from market it free.then create a file name it autostart.sh and put these command under the file.
" cp /sdcard/lib/libflashplayer.so /data/data/com.adobe.flashplayer/lib/
cp /sdcard/lib/libstagefright_froyo.so /data/data/com.adobe.flashplayer/lib/
cp /sdcard/lib/libstagefright_honeycomb.so /data/data/com.adobe.flashplayer/lib/
cp /sdcard/lib/libysshared.so /data/data/com.adobe.flashplayer/lib/
chmod 644 /data/data/com.adobe.flashplayer/lib/libflashplayer.so
chmod 644 /data/data/com.adobe.flashplayer/lib/libstagefright_froyo.so
chmod 644 /data/data/com.adobe.flashplayer/lib/libstagefright_honeycomb.so
chmod 644 /data/data/com.adobe.flashplayer/lib/libysshared.so
"
Then create a folder lib in your sd card and copy all lib file to that lib folder then create a folder in/data and name it opt and place autostart.sh file to that opt folder and set permission to file 777.now when your phone se restart your lib file is automatically copy to appropriate folder.
Flash Lib Files
Hello;
I did all your indications, please see screenshots 1 to 4
but in the end after restart the phone, in the lib file only can see a strange file,
see screenshot 5
BR:
JG
Ok wait i will upload my autostart.sh
try this autostart.sh i am using it and it work for me it has save command but some time there is problem in file.
press thanks button if i help you
OK
Hello;
It's working thanks.
JG
does not work on 2.3
Autostart app does not work on 2.3.
Another autostart app is Script Manager this work correctly.
multibestia said:
Autostart app does not work on 2.3.
Another autostart app is Script Manager this work correctly.
Click to expand...
Click to collapse
I got LG p690 (Android Gingerbread). I copied the command into Script Manager file and manually (with execute command) the procedure goes but after reboot it does not go automatically. Do I have to copy the file created somewhere specifically?
please let me know
thks
download autostart from market it work in 2.3
vikasb32 said:
download autostart from market it work in 2.3
Click to expand...
Click to collapse
It is strange. After reboot the files have been copied but the first one libflashplayer.so is just linked and this blocks the browser. Instead if I launch the script from root explorer everything is fine. can somebody help me?
pekkio said:
It is strange. After reboot the files have been copied but the first one libflashplayer.so is just linked and this blocks the browser. Instead if I launch the script from root explorer everything is fine. can somebody help me?
Click to expand...
Click to collapse
Don't linked flashplayer to link2sd because after restarting link2sd run before the autostart so link2sd not able to link the file and btw if you manually link flashplayer then flashplayer not work in opera mobile so don't link flashplayer and keep it in internel memory.
vikasb32 said:
Don't linked flashplayer to link2sd because after restarting link2sd run before the autostart so link2sd not able to link the file and btw if you manually link flashplayer then flashplayer not work in opera mobile so don't link flashplayer and keep it in internel memory.
Click to expand...
Click to collapse
that's right! Thanks... so I won't have chance to get Flash Player linked on sd and have automatically copied the library files by autostart....maybe in the future we will have custom flash player for armv6....
Same problem, need help
vikasb32 said:
First download autostart app from market it free.then create a file name it autostart.sh and put these command under the file.
" cp /sdcard/lib/libflashplayer.so /data/data/com.adobe.flashplayer/lib/
cp /sdcard/lib/libstagefright_froyo.so /data/data/com.adobe.flashplayer/lib/
cp /sdcard/lib/libstagefright_honeycomb.so /data/data/com.adobe.flashplayer/lib/
cp /sdcard/lib/libysshared.so /data/data/com.adobe.flashplayer/lib/
chmod 644 /data/data/com.adobe.flashplayer/lib/libflashplayer.so
chmod 644 /data/data/com.adobe.flashplayer/lib/libstagefright_froyo.so
chmod 644 /data/data/com.adobe.flashplayer/lib/libstagefright_honeycomb.so
chmod 644 /data/data/com.adobe.flashplayer/lib/libysshared.so
"
Then create a folder lib in your sd card and copy all lib file to that lib folder then create a folder in/data and name it opt and place autostart.sh file to that opt folder and set permission to file 777.now when your phone se restart your lib file is automatically copy to appropriate folder.
Click to expand...
Click to collapse
Hello,
Not an android professional. I have a P690 rooted. Installed flash, worked fine, untill reboot (lib files vanished). Trying to setup the script u mentioned above.
Heres where i am so far.
1.installed "script manager"
2.copied the script above without "" marks into a file called autostart.sh
3.created folder "lib" in sdcard directly
4.copied 4 lib files to lib folder in sdcard and doublechecked the names with the names in the script (i use notepad to view the script)
5.created folder "Opt" in phone/data/
6.pasted the script file there. assuming 777 means rwx-rwx-rwx i did that for the sh file.
7.Ran SM, browsed as root to the directory /date/opt, chose the sh file, clicked "open as script/executable"
8.In SM Chose options run at boot, run as root and "executable" option
9.clicked run
Files are not copied:
says exec sh-c' /data/opt/autostart.sh'
# exec sh-c' /data/opt/autostart.sh'
cp: not found
cp: not found
cp: not found
cp: not found
unable to ch mod /data/data/com.adobe.flashplayer/.......lib file name 1.so
unable to ch mod /data/data/com.adobe.flashplayer/.......lib file name 2.so
unable to ch mod /data/data/com.adobe.flashplayer/.......lib file name 3.so
unable to ch mod /data/data/com.adobe.flashplayer/.......lib file name 4.so
no such file or directory.
Tell me what i did wrong or wat i need to do to get it copying automatcally
All help welcome.
PS. I have force2sd app on phone, ginger bread os, I didnt install app2sd software from google play, so i dont have it unless it comes inbuilt with gingerbread.
ok check file using root explorer.click to autostart.sh using root explorer and then click execute and then check files copy or not.
Sent from my LG-P500 using Tapatalk
axmanin said:
Hello,
Not an android professional. I have a P690 rooted. Installed flash, worked fine, untill reboot (lib files vanished). Trying to setup the script u mentioned above.
Heres where i am so far.
1.installed "script manager"
2.copied the script above without "" marks into a file called autostart.sh
3.created folder "lib" in sdcard directly
4.copied 4 lib files to lib folder in sdcard and doublechecked the names with the names in the script (i use notepad to view the script)
5.created folder "Opt" in phone/data/
6.pasted the script file there. assuming 777 means rwx-rwx-rwx i did that for the sh file.
7.Ran SM, browsed as root to the directory /date/opt, chose the sh file, clicked "open as script/executable"
8.In SM Chose options run at boot, run as root and "executable" option
9.clicked run
Files are not copied:
says exec sh-c' /data/opt/autostart.sh'
# exec sh-c' /data/opt/autostart.sh'
cp: not found
cp: not found
cp: not found
cp: not found
unable to ch mod /data/data/com.adobe.flashplayer/.......lib file name 1.so
unable to ch mod /data/data/com.adobe.flashplayer/.......lib file name 2.so
unable to ch mod /data/data/com.adobe.flashplayer/.......lib file name 3.so
unable to ch mod /data/data/com.adobe.flashplayer/.......lib file name 4.so
no such file or directory.
Tell me what i did wrong or wat i need to do to get it copying automatcally
All help welcome.
PS. I have force2sd app on phone, ginger bread os, I didnt install app2sd software from google play, so i dont have it unless it comes inbuilt with gingerbread.
Click to expand...
Click to collapse
Hi.
I had also faced the same issue....
The thing that u have to do is to install busy box... then everything works fine for you...
Actually this error occurs because your system could not support these unix commands (chmod, cp,etc.).. and these commands only works when you install busy box in your phone.. so can also say that busybox installs common unix utilities to the android...
Press THANKS if I help you..!!
Sent from my [email protected] OpTiMu$ On€ [email protected]
Busy box Installed
Bhawan said:
Hi.
I had also faced the same issue....
The thing that u have to do is to install busy box... then everything works fine for you...
Actually this error occurs because your system could not support these unix commands (chmod, cp,etc.).. and these commands only works when you install busy box in your phone.. so can also say that busybox installs common unix utilities to the android...
Press THANKS if I help you..!!
Sent from my [email protected] OpTiMu$ On€ [email protected]
Click to expand...
Click to collapse
I have busybox installed,
ROM: DynamiteRomJB Themed ( already rooted)
Busybox : BusyBox v1.20.1-cm9 bionic
cp not working from script
but it works as individual command (without scrpit)
Hello everybody,
I have a "problem" with /system/bin/ and bin folders (however, the phone works just fine, hence those quotation marks :angel.
Let's stick with /system/bin/: Inside I have the files that should be there, but there is also another bin folder with exactly the same files inside and another bin folder inside ... and so on, about 20 times/levels(?) nested.
Not sure what it is ... some hardlink problem?
The same is in /bin/ folder.
ES File Explorer says that there are about 7000 files/ 230 MB in the first nested bin subfolder.
I tried the following:
1. Delete the nested bin folders from ES File Explorer (root access granted) - unsuccessful ("can't delete ...")
2. From CWM: format /system/ + Factory reset + wipe + ROM reflash
3. Search the forum for this issue - maybe I can't search properly, but found nothing ... sorry
As I said, the phone works fine. But I think that it is not good to have such a mess inside the system folders.
I didn't try complete reflash (ftf file) ... I'm trying to avoid doing everything from scratch .
Can you help me, please?
Thanks a lot,
J.
Phone: Sony Ericsson Live With Walkman WT19i, unlocked bootloader (the Sony way), MESA Kernel 3.6 stock, Real ICS lite r4.
Update: It's a chain of symlinks. The depth of the chain is 40 (counted in DroidExplorer).
What else didn't work:
mount /system in TWRP, then starting file editor, deleting bin (even with chmod)
All attempts to delete the symlink via PC file managers (e.g. Droid Commander)
Solution {rooted phone):
It was a symlink in system/bin pointing to self,
1. Install Android Terminal Emulator (free at Google Play)
2. Start it
3. Then
Code:
# su
(allow root access)
Code:
# mount -o remount, rw /system
# cd /system/bin
# rm bin
That's it
As the title says, I need a terminal emulator script to quickly delete some folders from the data/data/*appname* partition.
All these folders are named "temp" but they are all subfolders of subfolders of subfolders.
Is there a terminal emulator command to identify all the "temp" subfolders (or subsubsubfolders) in a directory and delete them or do I have to type the location of every single one of them (like -rm data/data/app/sub/sub/temp ?)
Thanks in advance for your help.
I'm looking for a script that I can lauch from my media box to copy a folder from a and paste it to b. Is there anything like that about?