sh problem !!!! - Galaxy S I9000 Q&A, Help & Troubleshooting

whenever i tried to use terminal and enter the command "sh" ...... i prints "sh - applet not found" ?????
anyone has answer for it ?????? Please ! answer soon !!!!!

Strange sh should work by default
did you give superuser rights to the terminal ?
you should install busybox and then try
---------- Post added at 05:58 PM ---------- Previous post was at 05:35 PM ----------
And may i know for what are you trying to use sh?
do you want to run a script ?

Busybox?
nail16 said:
Strange sh should work by default
did you give superuser rights to the terminal ?
you should install busybox and then try
---------- Post added at 05:58 PM ---------- Previous post was at 05:35 PM ----------
And may i know for what are you trying to use sh?
do you want to run a script ?
Click to expand...
Click to collapse
Dear i tried to install busybox but it gave me errors that i have others busybox already installed .....
And i had this error because i was developing in eclipse and mounting i9000 as emulator ..... Error was "sh - applet not found"

sh is unix/linux comandline shell. When you open terminal sh run automaticaly

Solved !!!!!
I just changed my firmware back to JVU from JW4 and problemo solved ...... Thanx Anyway Guyz

Related

[Q] adb install .apk works on and off

I'm looking for insight on why my "adb install" command sometimes works and sometimes does not. Again to be clear, I was able to use the command several times successfully, but not consistently.
This week I purchased the Nook Touch, and using the wiki I was able to root it successfully. With much patients and effort I was able to get all the apps loaded up, accept Button Savior Root ver. 1.1.1
As I have been doing this I have had problems with "adb install". Sometimes it will load the .apk file and sometimes it will not. I have tried renaming the .apk files, moving them to other directories.... and sometimes, these tricks will work.
Here is a sample error message I am getting. Any insights would be appreciated, my nook experience will be easier with Button Savior loaded.
*******COPIED FROM DOS COMMAND PROMPT ******
C:\Users\amy\Downloads>adb connect 10.0.0.6
connected to 10.0.0.6:5555
C:\Users\amy\Downloads>adb shell
# adb install com.smart.swkey-imported-apk [I enter this line]
adb install com.smart.swkey-imported-apk [System comes back with this]
adb: not found [System comes back with this]
#
***** Edited 3 minutes after I posted this **********
So right after I posted the above question, I thought I would try one more time to install the app.... and it worked. You can see from the log that I did nothing different. I'm still interested in anyone's ideas on why this sometimes works, and sometimes not.
----copied from dos command window -----
C:\Users\amy\Downloads>adb connect 10.0.0.6
connected to 10.0.0.6:5555
C:\Users\amy\Downloads>adb shell
# adb install com.smart.swkey-imported-apk
adb install com.smart.swkey-imported-apk
adb: not found
# exit
exit [It was right here that I posted the above commands, and then I tried it again below]
C:\Users\amy\Downloads>adb devices
List of devices attached
10.0.0.6:5555 device
C:\Users\amy\Downloads>dir *.apk
Volume in drive C is TI102618W0G
Volume Serial Number is 2A48-CCF8
Directory of C:\Users\amy\Downloads
06/17/2011 12:32 AM 1,657,343 133adw.apk
06/16/2011 09:47 PM 1,392,535 Amazon_Appstore-release.apk
06/18/2011 03:22 PM 624,675 button.apk
06/17/2011 02:23 AM 4,915,762 com.amazon.kindle.apk
06/17/2011 11:32 AM 1,844,811 com.android.vending.froyo.apk
06/17/2011 03:48 PM 1,844,811 com.android.vending_2.2.6.apk
06/17/2011 02:33 PM 13,241,537 com.opera.browser-1.apk
06/17/2011 02:35 PM 751,542 com.opera.mini.android.v6.0_update3.apk
06/18/2011 03:22 PM 624,675 com.smart.swkey-imported.apk
06/17/2011 12:06 AM 12,130 NookColorTools_0.2.apk
06/17/2011 10:15 AM 13,241,537 Opera_Mobile_11_Android.apk
11 File(s) 40,151,358 bytes
0 Dir(s) 196,977,213,440 bytes free
C:\Users\amy\Downloads>adb install button.apk
560 KB/s (624675 bytes in 1.088s)
pkg: /data/local/tmp/button.apk
Success
C:\Users\amy\Downloads>
The adb driver will sometimes just kick off for some reason. This happens on my nook and transformer. I will be doing something then it will stop responding. Then I just simply plug back the cable after I pull it out and it works fine. Frustrating as crap along with drivers not installed message even when I just used the damn thing connected to my computer a few seconds earlier. If I knew why it did that....I would be happy. What is worse is when you plug the tablet in and then it says device not found...
Perhaps it's a typo in your forum posting, but compare the following lines, 1st taken from your "log", 2nd taken from your directory listing:
com.smart.swkey-imported-apk (-apk)
com.smart.swkey-imported.apk (.apk)

how to use a2sd??

now i am use GDX+naa14 ........... i already go to terminal emulator and type su and a2sd formatext........then i chage to a2sd then reboot..........why it not working ?? it auto chage back to none..........why??
how about typing in terminal emulator
su
a2sd install
minimum edition™®
playjun said:
how about typing in terminal emulator
su
a2sd install
minimum edition™®
Click to expand...
Click to collapse
after type it then??
I'm always getting this...
Code:
/ $ export PATH=/data/local/bin:$PATH
/ $ su
~ # a2sd formatext
Problem detected: Apps2SD may not have ran
during boot. Cannot read a2sd.mountpoint.
a2sd is currently active
please run 'remove' then reboot
and run this command again
Aborting
~ #
I've tried remove remove command many times & rebooted but still same
I'm using link2sd maybe that's the problem
wanna thank xda? here
---------- Post added at 06:40 PM ---------- Previous post was at 06:39 PM ----------
Partition is ext2
wanna thank xda? here
vuiseng said:
after type it then??
Click to expand...
Click to collapse
choose a2sd only.dont move dalvik.it will automatically reboot.wait.
but i use link2sd.many apps,games working well on this apps.
@gogeta- just use one.
minimum edition™®

su.d seams doesn't work

supersu
Hi, I'v created this script:
#!/system/bin/sh
setenforce 0
Click to expand...
Click to collapse
But at reboot isn't executed, I think.
If I try to execute in shell with root this is the result:
Any info please?
If you are using a samsung device, changing SElinux to permissive is not possible anymore, you have to modify the policy files to change it, this problems started when upgraded to Touchwiz Lollipop
Sent from my SM-T235 using Tapatalk
---------- Post added at 04:44 PM ---------- Previous post was at 04:42 PM ----------
But if you are using stock android, there is an app that you can use without su.d scripts which is SELinux Mode Changer, just search it in google and you will find the updated apk supported to marshmallow
Sent from my SM-T235 using Tapatalk
supolicy --live "permissive *"
my samasung lgg3 wont start.i did mess around with it so probably destroyed it.in the hard reset and reboot it always has an alert sayin .os features must be installed.i think super su.i have tried downloading where to i dont know and uploaded to files i didnt know.lol please help
First problem is that you have an .sh extension. Rename the script to something like 99script, no extension. Secondly, you must chmod 755 the script to make it executable. Thats why it's saying not found.

Unable to Enable MTP in TWRP Recovery .

I have unlocked the bootloader but when I boot into Twrp recovery and Format the Data then I am unable to Enable the USB in the Enable MTP section . So, because of this I am unable to transfer any files and I am unable to root my phone . Please help me . Thank you .
I have the same issue. Even if I disable and then again enable mtp, the internal storage isn't displayed on my computer. I had formatted data. Because of this I cannot even load any OS zip and my phone is just with no OS. It's not working on any version of twrp posted in the official twrp page for the x526. Can anyone help? It's urgent.
How can I transfer files from my PC to x526 when it's in TWRP? Reinstalling Twrp or Full device wipe didn't help either.
Disabling/Enabling MTP makes the disconnection/connection sound on my PC ,but No x526 data disk is displayed.
Can anyone please reply? Is MTP transfer working fine for everyone else?
RandomDelta said:
Can anyone please reply? Is MTP transfer working fine for everyone else?
Click to expand...
Click to collapse
Why mtp when you can do with otg
Prince4le said:
Why mtp when you can do with otg
Click to expand...
Click to collapse
1. Usb type C otg cables are costly
2. I'm not looking forward to an added hassle of moving files into a flash drive when there is an option to directly put files in root memory.
Here is the solution :-
1 open twrp recovery in your phone
2 connect the data cable to your phone and your computer
3 in the recovery click on ENABLE MTP option
4 after that download MINIMAL ADB AND FASTBOOT SOFTWARE IN YOUR COMPUTER i will post the link
5 install it on your pc and copy any file you wanna past and past it in the c drive programme files x86 minimal adb folder
6 than open the cmd by shift and right click open cmd here
7 in cmd type 1st command - adb devices hit enter
2nd. adb push (file name) without breakets /sdcard/.
Done your file will be copied to twrp and now you can easily flash a rom , file etc.
---------- Post added at 05:53 PM ---------- Previous post was at 05:52 PM ----------
shaikiffu said:
I have unlocked the bootloader but when I boot into Twrp recovery and Format the Data then I am unable to Enable the USB in the Enable MTP section . So, because of this I am unable to transfer any files and I am unable to root my phone . Please help me . Thank you .
Click to expand...
Click to collapse
Solution posted
---------- Post added at 05:56 PM ---------- Previous post was at 05:53 PM ----------
Minimal adb and fastboot link
https://forum.xda-developers.com/showthread.php?t=2317790
Prince4le said:
Here is the solution :-
1 open twrp recovery in your phone
2 connect the data cable to your phone and your computer
3 in the recovery click on ENABLE MTP option
4 after that download MINIMAL ADB AND FASTBOOT SOFTWARE IN YOUR COMPUTER i will post the link
5 install it on your pc and copy any file you wanna past and past it in the c drive programme files x86 minimal adb folder
6 than open the cmd by shift and right click open cmd here
7 in cmd type 1st command - adb devices hit enter
2nd. adb push (file name) without breakets /sdcard/.
Done your file will be copied to twrp and now you can easily flash a rom , file etc.
---------- Post added at 05:53 PM ---------- Previous post was at 05:52 PM ----------
Solution posted
---------- Post added at 05:56 PM ---------- Previous post was at 05:53 PM ----------
Minimal adb and fastboot link
https://forum.xda-developers.com/showthread.php?t=2317790
Click to expand...
Click to collapse
It's a very roundabout way of doing a simple thing.
Does mtp work for you on your x526?
If yes which version /variant of twrp are you on?
RandomDelta said:
It's a very roundabout way of doing a simple thing.
Does mtp work for you on your x526?
If yes which version /variant of twrp are you on?
Click to expand...
Click to collapse
I had a Chinese recovery and a new also both works
If your mtp is not showing in latest try Chinese recovery maybe it works
Mi sim network does not work what can I do? For Brazil
RandomDelta said:
Can anyone please reply? Is MTP transfer working fine for everyone else?
Click to expand...
Click to collapse
I have the same problem as you have with my cm 14 version of my Ray. I just hear the USB-off sound when plugging in and out the USB cable but never saw a drive symbol on my laptop (Windows 7).
I would wish to find the answer why it doesn't work.
However, I found a way out:
The only file transfer method that works fine is USB-OTG.
Hope that helped...
Best wishes.
shaikiffu said:
I have unlocked the bootloader but when I boot into Twrp recovery and Format the Data then I am unable to Enable the USB in the Enable MTP section . So, because of this I am unable to transfer any files and I am unable to root my phone . Please help me . Thank you .
Click to expand...
Click to collapse
Try ADB push command it works.
Prince4le said:
Here is the solution :-
1 open twrp recovery in your phone
2 connect the data cable to your phone and your computer
3 in the recovery click on ENABLE MTP option
4 after that download MINIMAL ADB AND FASTBOOT SOFTWARE IN YOUR COMPUTER i will post the link
5 install it on your pc and copy any file you wanna past and past it in the c drive programme files x86 minimal adb folder
6 than open the cmd by shift and right click open cmd here
7 in cmd type 1st command - adb devices hit enter
2nd. adb push (file name) without breakets /sdcard/.
Done your file will be copied to twrp and now you can easily flash a rom , file etc.
---------- Post added at 05:53 PM ---------- Previous post was at 05:52 PM ----------
Solution posted
---------- Post added at 05:56 PM ---------- Previous post was at 05:53 PM ----------
Minimal adb and fastboot link
https://forum.xda-developers.com/showthread.php?t=2317790
Click to expand...
Click to collapse
Just wanted to let you know you saved my life. 3 Years gone but still helpful. Thanks a heck ton!
For me, it worked by using a USB2 port instead of USB3.

[GUIDE] Fix Screen Recorder stuck bug

Few RM3 are experiencing a bug in which the screen recorder button in notification bar get stuck and doesn't turn on or off anymore so here'e the fix
REQUIREMENTS:
ADB: https://forum.xda-developers.com/attachment.php?attachmentid=4623157&d=1540039037
STEPS:
1. Turn on USB debugging in your phone from developer options
2. Connect your device to your PC and open Windows powershelll(if windows 10) or cmd(if windows 7) in the adb folder
3. Type the following commands without the ""
adb devices
adb shell
“pm uninstall -k --user 0 <cn.nubia.supersnap>”
4. After it shows success reboot your device and cloase the cmd window
5.Open the cmd window again and connect your device and type the following command
"adb shell cmd package install-existing <cn.nuba.supersnap>"
6. Reboot your device and your problem will be fixed
Hi,
I just tried your instructions, and eventually, it worked out. I fixed the issue. But your manual contains some slight errors:
- The “pm uninstall -k --user 0 <cn.nubia.supersnap>” part should be typed in CMD without the < > marks, this is kind of unclear.
- Step 5 contains 2 errors, cn.nuba.supersnap should become cn.nubia.supersnap, and here the command only works when you
remove "adb shell", so: ''cmd package install-existing cn.nubia.supersnap" should work.
At least with me it worked like this, hope it helps.
Kind regards
I could not understand the starting process..
Please I didn't understand what's ABD Folder...I couldn't find it anywhere ..
---------- Post added at 05:57 PM ---------- Previous post was at 05:25 PM ----------
MobileFortress said:
Hi,
If you weren't here..I would never fix this..Idk how to thank you ..
Click to expand...
Click to collapse
Здравствуйте, а можете ещё раз объяснить как это делать?
(Я пробовал не помогло)
Hello, can you explain how to do this again?
(I tried it didn’t help) and are there any other ways?
a Big thank you...
souma_rox said:
Few RM3 are experiencing a bug in which the screen recorder button in notification bar get stuck and doesn't turn on or off anymore so here'e the fix
REQUIREMENTS:
ADB: https://forum.xda-developers.com/attachment.php?attachmentid=4623157&d=1540039037
STEPS:
1. Turn on USB debugging in your phone from developer options
2. Connect your device to your PC and open Windows powershelll(if windows 10) or cmd(if windows 7) in the adb folder
3. Type the following commands without the ""
adb devices
adb shell
“pm uninstall -k --user 0 <cn.nubia.supersnap>”
4. After it shows success reboot your device and cloase the cmd window
5.Open the cmd window again and connect your device and type the following command
"adb shell cmd package install-existing <cn.nuba.supersnap>"
6. Reboot your device and your problem will be fixed
Click to expand...
Click to collapse
Thank you so much I appreciate it I was about to go and do a factory reset.. Thanks a lot...
I do have another issue while playing game my trigger on the right side gets stucked sometimes in most of the games I play i.e COD and PUBG , I turn off the red time swtich and then turn it back on while in game it works sometimes and sometime I have to kill the sgame to resolve ... Is there any solution for it ?
YoSing said:
Thank you so much I appreciate it I was about to go and do a factory reset.. Thanks a lot...
I do have another issue while playing game my trigger on the right side gets stucked sometimes in most of the games I play i.e COD and PUBG , I turn off the red time swtich and then turn it back on while in game it works sometimes and sometime I have to kill the sgame to resolve ... Is there any solution for it ?
Click to expand...
Click to collapse
Go to settings>apps search gamespace and clear cache
Is it possible to do this using terminal emulator?
Sent from my NX629J using Tapatalk
MobileFortress said:
Hi,
I just tried your instructions, and eventually, it worked out. I fixed the issue. But your manual contains some slight errors:
- The “pm uninstall -k --user 0 <cn.nubia.supersnap>” part should be typed in CMD without the < > marks, this is kind of unclear.
- Step 5 contains 2 errors, cn.nuba.supersnap should become cn.nubia.supersnap, and here the command only works when you
remove "adb shell", so: ''cmd package install-existing cn.nubia.supersnap" should work.
At least with me it worked like this, hope it helps.
Kind regards
Click to expand...
Click to collapse
bro please help its not working for me after running the uninstall command it says its not recognised as internall or external command
please help brother
---------- Post added at 11:24 AM ---------- Previous post was at 11:19 AM ----------
alexmactavish15 said:
Please I didn't understand what's ABD Folder...I couldn't find it anywhere ..
---------- Post added at 05:57 PM ---------- Previous post was at 05:25 PM ----------
MobileFortress said:
Hi,
If you weren't here..I would never fix this..Idk how to thank you ..
Click to expand...
Click to collapse
Bro please help me as well, as after running the uninstall command it show the command is not recognised as internal or external command. Please help
Click to expand...
Click to collapse
2_far said:
bro please help its not working for me after running the uninstall command it says its not recognised as internall or external command
please help brother
---------- Post added at 11:24 AM ---------- Previous post was at 11:19 AM ----------
alexmactavish15 said:
Please I didn't understand what's ABD Folder...I couldn't find it anywhere ..
---------- Post added at 05:57 PM ---------- Previous post was at 05:25 PM ----------
Bro please help me as well, as after running the uninstall command it show the command is not recognised as internal or external command. Please help
Click to expand...
Click to collapse
Did you install adb? Search adb xda on Google and you'll get the installer... Adb is installed in c:/adb folder
Click to expand...
Click to collapse
YoSing said:
Thank you so much I appreciate it I was about to go and do a factory reset.. Thanks a lot...
I do have another issue while playing game my trigger on the right side gets stucked sometimes in most of the games I play i.e COD and PUBG , I turn off the red time swtich and then turn it back on while in game it works sometimes and sometime I have to kill the sgame to resolve ... Is there any solution for it ?
Click to expand...
Click to collapse
Bro how u do it please tell me as well
I already installed adb, as the link was there in the beginning of the thread.
2_far said:
bro please help its not working for me after running the uninstall command it says its not recognised as internall or external command
please help brother
---------- Post added at 11:24 AM ---------- Previous post was at 11:19 AM ----------
alexmactavish15 said:
Please I didn't understand what's ABD Folder...I couldn't find it anywhere ..
---------- Post added at 05:57 PM ---------- Previous post was at 05:25 PM ----------
Bro please help me as well, as after running the uninstall command it show the command is not recognised as internal or external command. Please help
Click to expand...
Click to collapse
Did you install adb? Search adb xda on Google and you'll get the installer... Adb is installed in c:/adb folder
Click to expand...
Click to collapse
souma_rox said:
Few RM3 are experiencing a bug in which the screen recorder button in notification bar get stuck and doesn't turn on or off anymore so here'e the fix
REQUIREMENTS:
ADB: https://forum.xda-developers.com/attachment.php?attachmentid=4623157&d=1540039037
STEPS:
1. Turn on USB debugging in your phone from developer options
2. Connect your device to your PC and open Windows powershelll(if windows 10) or cmd(if windows 7) in the adb folder
3. Type the following commands without the ""
adb devices
adb shell
“pm uninstall -k --user 0 <cn.nubia.supersnap>”
4. After it shows success reboot your device and cloase the cmd window
5.Open the cmd window again and connect your device and type the following command
"adb shell cmd package install-existing <cn.nuba.supersnap>"
6. Reboot your device and your problem will be fixed
Click to expand...
Click to collapse
I'm wondering if this would sort out my issue where when I record only audio is recorded without video. But red magic moments records both video and audio. I'm using red magic 5g

Categories

Resources