[SOLVED] How to add FLUSH or BOOST Command in Terminal Emulator ?? - Optimus One, P500, V Q&A, Help & Troubleshooting

Previously i was using Neko's GTR Rom ..
In which BOOST command in terminal emulator was there.. it was best task cleaner and free up ram !!
Can someone guide.. how to add FLUSH or BOOSt script and make enable in terminal emulaator??
Sent from my LG-P500 using xda app-developers app

just copy the command file from gtr, it is in /system/xbin

Related

command to install apk

Is there a command that can be used in a terminal emulator on the hero to install an apk from the sdcard? If not can it be done using adb commands? I am trying one of the froyo roms and before I start installing anything through the market, I would like to install a file manager. I have AndExplorer in an apk on the sdcard but I can only access it through adb or a terminal emulator.
Just adb push it to systen/app or you could install appinstaller from the market.
Sent from my HERO200 using XDA App
Open terminal.apk and issue these commands hitting enter after each line.
su
cd /sdcard
cp "app.apk" /data/app
This should do the trick. I don't think it will work with a2sd but I could be wrong. I tested it out just a few minutes ago and it worked great.
Sent from my Heroic using XDA App
mbobino said:
Open terminal.apk and issue these commands hitting enter after each line.
su
cd /sdcard
cp "app.apk" /data/app
This should do the trick. I don't think it will work with a2sd but I could be wrong. I tested it out just a few minutes ago and it worked great.
Sent from my Heroic using XDA App
Click to expand...
Click to collapse
Worked great, thank you for the tip

[Q] Lock Screen & Home Button not working

After upgrading my Samsung Galaxy 3 to Indroid V6 I found that my phones Lock screen is gone & Home button is only working to wake up phone and not for it's normal function, what do I do please help me out???????
THanks in Advance.........
Do as follows
Open terminal emulator
Type
$su
#fix.sh
# reboot force
This may help you thanks.....
Sent from my GT-I5800 using XDA App
Thanks for your reply dude, but it didnt worked.... ......
CANY ANYONE SUGGEST ME WHAT TO DO?? ALSO NOW AM FACING CALL PROBLEMS, VIDEO PLAYER NOT WORKING, ETC......SO SHOULD I SHIFT TO SOME OTHER ROM??
Sent from my GT-I5800 using XDA App
when i try fix.sh i receive the error not found what directory should i be in?
the way i fixed this before is by following these instructions
1-Copy sqlite3 to /system/bin
2- chmod 777 /system/bin/sqlite3
3-Type following command in ADB or Terminal Emulator
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "INSERT INTO secure (name,value) VALUES ('device_provisioned','1');"
Click to expand...
Click to collapse
worked fine again after a reboot

(RESOLVED)Alternative of script manager

Im having problems with the app "script manager" on se x10i running on custom ROM (feralabs v4). Is there an alternative for this app? Im trying to install v6 supercharger. Any help would be highly appreciated.
Sent from my X10 using XDA App
before running the script manager, you must install busybox first
a simply tutorial video
http://www.youtube.com/watch?v=75yH02rxUxI
I used to have problem too in installing v6 supercharger using script manager. I tried different busybox version but still had problems. Finally, I only installed it using terminal emulator. If you want to try it, here's how I did it:
- copy the downloaded v6 script to the root folder of the sdcard and rename it to v6.sh
- open terminal emulator
- type this command:
$ su [enter]
# sh /sdcard/v6.sh [enter]
- that will open v6 interface like usual and you can install it from there.
Only one drawback though, there's no widget that script manager provide to quick check v6 status. If I want to check it, then I have to run the command in the terminal again.
Sent from my SK17i using XDA App
Sent from my SK17i using XDA App
greenAlgae said:
I used to have problem too in installing v6 supercharger using script manager. I tried different busybox version but still had problems. Finally, I only installed it using terminal emulator. If you want to try it, here's how I did it:
- copy the downloaded v6 script to the root folder of the sdcard and rename it to v6.sh
- open terminal emulator
- type this command:
$ su [enter]
# sh /sdcard/v6.sh [enter]
- that will open v6 interface like usual and you can install it from there.
Only one drawback though, there's no widget that script manager provide to quick check v6 status. If I want to check it, then I have to run the command in the terminal again.
Sent from my SK17i using XDA App
Sent from my SK17i using XDA App
Click to expand...
Click to collapse
Thank you so much. This worked. Im now blazing on my x10i
Cheers.
Sent from my X10 using XDA App
glad I could help
Sent from my SK17i using XDA App
Installed v6 using the terminal method (smanager keeps fc) and it worked. Thanks. I know it's an old thread but it helped. Just a Q; how do i check if v6 is up? Do i enter sh /sdcard/v6.sh again?
keypad not working
hey i followed all steps. but when it come to choose a number my keypad dont work. what to do??

GUI Shortcut to Execute Linux Shell Script

To run a shell script quickly, I open Terminal Emulator and paste command from Clipper+ archives. Is there a faster way?
I want to tap a shortcut on homescreen to execute the shell script. Is it possible without diving into app development? Any hack etc?
Script manager in combination with the sm widget. I used to use it to run reboot scripts while on ICS.
Sent from my LG-P999 using xda premium
What if I want to have a shortcut to a script to be executed with Terminal Emulator? Not in/with any other program...
This seems to be not possible.

[SCRIPT] Recovery & Kernel Management Tool

Hi guys,
I had some free time and decided to write this script specially for Terminal Emulator's users like me.
It's a simple script allows you to:
Backup
Restore backup
Flash
Reboot in any mode
Copy the script to /system/bin
recovery and /or kernel IMG files without the need to input so long codes again and again.
This script will make a new folder named Recovery-Kernel-Tools in your internal storage, including 3 more folders inside it:
Backups (max one backup for each partition, names are "case-sensitive")
Flash (but any recovery.img / boot.img to flash them, names are "case-sensitive")
Input (for future use)
Everything is self explanatory, when you execute this script for the first time, it will ask you to set your partitions, you can change them later at any time.
If it's useful for you and you need more options, feel free to suggest me.
Download link: ReKeTv1
After downloading, cd to installation folder and input:
Code:
su
sh ReKeTv1
If you're using Script Manager, just execute it as root.
Latest busybox is required.
Bassel Bakr said:
Hi guys,
I had some free time and decided to write this script specially for Terminal Emulator's users like me.
It's a simple script allows you to:
Backup
Restore backup
Flash
Reboot in any mode
Copy the script to /system/bin
recovery and /or kernel IMG files without the need to input so long codes again and again.
This script will make a new folder named Recovery-Kernel-Tools in your internal storage, including 3 more folders inside it:
Backups (max one backup for each partition, names are "case-sensitive")
Flash (but any recovery.img / boot.img to flash them, names are "case-sensitive")
Input (for future use)
Everything is self explanatory, when you execute this script for the first time, it will ask you to set your partitions, you can change them later at any time.
If it's useful for you and you need more options, feel free to suggest me.
Download link: ReKeTv1
After downloading, cd to installation folder and input:
Code:
su
sh ReKeTv1
If you're using Script Manager, just execute it as root.
Latest busybox is required.
Click to expand...
Click to collapse
There are three files in it...which 1 to download?
Sent from my GT-S7500 using Tapatalk 2
tandon.ayush said:
There are three files in it...which 1 to download?
Sent from my GT-S7500 using Tapatalk 2
Click to expand...
Click to collapse
ReKeTv1
Don't forget to leave some suggestions.
Bassel Bakr said:
ReKeTv1
Don't forget to leave some suggestions.
Click to expand...
Click to collapse
Tried with both terminal emulator and script manager
Got this error
" exec /system/bin/sh '/mnt/sdcard/download/ReKeTv1.txt'
# bin/sh '/mnt/sdcard/download/ReKeTv1.txt'
head: /mnt/sdcard/Recovery-Kernel-Tools/partitions: No such file or directory
tail: can't open '/mnt/sdcard/Recovery-Kernel-Tools/partitions': No such file or directory
tail: no files
Root access denied!
Please issue su command first"
Any solution?
Sent from my GT-S7500 using Tapatalk 2
tandon.ayush said:
Tried with both terminal emulator and script manager
Got this error
" exec /system/bin/sh '/mnt/sdcard/download/ReKeTv1.txt'
# bin/sh '/mnt/sdcard/download/ReKeTv1.txt'
head: /mnt/sdcard/Recovery-Kernel-Tools/partitions: No such file or directory
tail: can't open '/mnt/sdcard/Recovery-Kernel-Tools/partitions': No such file or directory
tail: no files
Root access denied!
Please issue su command first"
Any solution?
Sent from my GT-S7500 using Tapatalk 2
Click to expand...
Click to collapse
Run as root
Or in terminal emulator type
su
First
Bassel Bakr said:
Run as root
Or in terminal emulator type
su
First
Click to expand...
Click to collapse
Did both...still the same error
Any solution??
Sent from my GT-S7500 using Tapatalk 2
tandon.ayush said:
Did both...still the same error
Any solution??
Sent from my GT-S7500 using Tapatalk 2
Click to expand...
Click to collapse
In terminal emulator:
su
set -x
sh ReKeTv1 2> /sdcard/log1.txt
sh -n ReKeTv1 2> /sdcard/log2.txt
Then upload log1.txt & log2.txt files here.
Bassel Bakr said:
In terminal emulator:
su
set -x
sh ReKeTv1 2> /sdcard/log1.txt
sh -n ReKeTv1 2> /sdcard/log2.txt
Then upload log1.txt & log2.txt files here.
Click to expand...
Click to collapse
"No such file or directory"in both logs
Sent from my GT-S7500 using Tapatalk 2
tandon.ayush said:
"No such file or directory"in both logs
Sent from my GT-S7500 using Tapatalk 2
Click to expand...
Click to collapse
After set -x cd to installation directory then complete the code.

Categories

Resources