Sm-n975u and termux - General Questions and Answers

i was messing with termux on my SM-N975U, developer options on, phone isnt rooted. I ended up with a " > " symbol in which I could still type commands, but got no response. What does a " > " mean ? Thats the only symbol in the start of the command line. I didnt know where to go from there, and I...well I thought mybe Id be able to reach the root directory of my android system.

What version of Termux ?
Termux for Android typically has the $ sign prompt
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

if you start app > symbol means terminal emulator has no connection to shell. in other words initialising of app is not finished and app is not ready for use (yet)
if you type commands with wrong balanced single quotes, > symbol means it is waiting for you to finish input. type ' and finish with enter.
Code:
:/ $ echo 'Hello
> World'
Hello
World
:/ $
there exist other commands waiting for input, exit by simply closing app if you don't know how to finish input.

very well explained , thank you very much! Merry Christmas!

It is the Github version, latest. Actually , i was already using the terminal, i migrated to here > somehow. Ultimately I ended up closing the app. I did try to work my way back thru the file system tree that I followed to get to > , but I couldnt seem to do it . The thing i didnt try was :/ $.

:/ $ is just my prompt, nothing I typed

Related

[Q] Problems with Java

Hi
I wanted to start writing my own .apk's, so I read the instructions etc., and got to the point where I have to install java for developers.
I wanted to test a fw things using Apk.Manager 4.9 and what I get is the info:
Java was not found, you will not be able to sign apks or use apktool
Click to expand...
Click to collapse
As well as (any action):
Error occurred during intialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Click to expand...
Click to collapse
I looked for a resulution using Google and all I found was a few posts telling me to set Javas path. So I went into cmd and tried to set the path, but it didn't work, so I don't know what am I doing wrong.
Additional info:
Java installed: jdk1.6.0_20 + jre6 + javafx-sdk1.3
System: Win 7 64 bit (Java is installed in folder named Program Files (x86))
I'd appreciate a detailed instruction - noob type one :E
"So I went into cmd and tried to set the path" ? how do you set the path in cmd?
I usually right click my computer, go to advanced system options, click enviroment variables and edit path there...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thx. I followed Your ss and the path seems to be ok. :/
C:\Program Files (x86)\JavaFX\javafx-sdk1.3\bin;C:\Program Files (x86)\JavaFX\javafx-sdk1.3\emulator\bin; (...)
Click to expand...
Click to collapse
If the path is ok, then I don't get why the problem still occurs? Should I add jdk1.6.0_20 from normal Java folder (not JavaFX) to the path? :E
edit: in cmd it's like... "path=C:\etc.?" :E
The path i put in is "C:\Program Files\Java\jdk1.6.0_22\bin"
It works now, thx!

[Q]Can't Unlock Bootloader (error...help!)

I have the phone rooted (I used "Root Check Basic" and it says that I have root access). Whenever I use the tool from "[TOOL] OneClick SuperCID for Unlocking Bootloader", it gives me the following error:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I can provide you with any other information necessary. I searched prior to creating this thread, but I was unable to come up with anything to help me. Please help me out
I just tried to run the tool without the phone plugged in and I got the same error.
I've installed the driver and the computer detects that the phone is plugged in when I plug it in, so there isn't an issue there I don't think.
Make sure you have debugging turned on under settings > developer options > usb debugging.
Sent from my HTC One XL
thejosh86 said:
Make sure you have debugging turned on under settings > developer options > usb debugging.
Sent from my HTC One XL
Click to expand...
Click to collapse
Debugging is definitely turned on.
hmm that's kind of weird - anyway check to make sure you can adb shell to your device from windows.
Make sure if you've got htc sync installed it's not open or running.
1. connect the phone to your pc - make sure it's in charge only mode
2. cd to the spoof-cid directory
3. type adb shell
4. you should get something like in the attachment and if you type ls it will give you a directory listing like dir in dos.
If you're still having problems maybe you don't have the correct drivers.

EFS backup.

Is there a way to backuo my efs data on the 7+ yet?
MacZzang said:
Is there a way to backuo my efs data on the 7+ yet?
Click to expand...
Click to collapse
Method with EFS Pro - For Samsung Android Devices ;http://forum.xda-developers.com/showthread.php?t=1308546
Method with Android Terminal Emulator ;
1 Install the Google Android Play Terminal Emulator.https://play.google.com/store/apps/...251bGwsMSwxLDEsImphY2twYWwuYW5kcm9pZHRlcm0iXQ..
Will allow us to manually launch the commands to backup.
2 Start Android Terminal Emulator.
Type the command on and give enter.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3 You will be prompted that allows the application to obtain the rights to root (if it has never been done).
4 Type the following command respecting all spaces and any capitals:
busybox tar zcvf /sdcard/efs-backup.tar.gz /efs
5 After a few seconds the operation comes to an end. The procedure can be considered complete
6 The command does nothing but create a compressed archive called efs-backup.tar.gz within memory /sdcard. We recommend that you make a copy of transfer even on your pc.
7 Always to be sure of the success of the operation, open the archivo compressed (by phone through file manager or from your pc using winrar, 7zip or the like) and make sure they are present especially the nv_data.bin and nv_data.bin.md5 .
On the behalf of everyone here I solute u my friend they should make this post a sticky in the development section. Efs corruption is a serious issue.. it happened to me on my sgs2 and I couldn't get it back.. and I couldn't find someone with a box to restore it.. I had to buy a box for 260$ online
Sent from my GT-P6200 using XDA Premium HD app

Fix ADB Unauthorized No RSA Problem 100% Working

i have been searching but no method worked until i found this and tried on many pc's and devices, it worked like a charm, i have made a video and explained in the easy way so everyone can do it.Here is the video tutorial and below is the written guide..https://youtu.be/Uv42aVXCV-c
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
THIS COMMAND WILL FIX THE UNAUTHORIZED ISSUE WHEN YOU DONT GET RSA POP UP, SO
PUT YOUR PHONE IN TWRP AND CONNECT TO PC BEFORE EXECUTING THIS COMMAND IN CMD OR TERMINAL OTHERWISE IT WILL NOT WORK,
IF YOU CANT UNDERSTAND THE GUIDE THEN YOU CAN TAKE HELP FROM VIDEO LINK ABOVE.
This method will fix your adb unauthorized problem.
Here is the command
FIRST COMMAND
for linux
cd ~/.android && adb push adbkey.pub /data/misc/adb/adb_keys
SECOND COMMAND
adb reboot
for Windows
cd c:/users/YOURUSERNAME/.android && adb push adbkey.pub /data/misc/adb/adb_keys
CHANGE THE USERNAME WITH YOURS!!! in windows command
FOR EXAMPLE cd c:/users/waleed/.android && adb push adbkey.pub /data/misc/adb/adb_keys
STEPS WINDOWS
1- REBOOT INTO RECOVERY TWRP
2- CONNECT PHONE TO PC
3- GOTO CMD AND APPLY THIS COMMAND
STEPS LINUX
1- REBOOT INTO RECOVERY TWRP
2- CONNECT PHONE TO PC
3- GOTO TERMINAL AND APPLY COMMAND
Worked! But I suggest you remove that immodest wallpaper of unveiled woman.

Xiaomi Mi Box S Bricked

Hello,
I have a Xiaomi Mi Box S and when i was trying to download the newest update but the image got stuck at 60%, so i decided to unplug the power and got into the recovery menu to wipe the data and cache. In the middle of the process, i got a message saying that he couldn't mount several partitions. I unplugged the cable, once again, and since then the box bricked.
The only response i get from the box is a red light in the back of the box from the audio input. I can also connect it to the pc but i don't know what to do.
If you have any suggestion i would really appreciate.
Thanks.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Re-flash device's STOCK ROM.
Code:
adb devices
adb reboot sideload
adb sideload <STOCK-ROM.ZIP>
jwoegerbauer said:
Re-flash device's STOCK ROM.
Code:
adb devices
adb reboot sideload
adb sideload <STOCK-ROM.ZIP>
Click to expand...
Click to collapse
Thanks for the reply,
I followed the instructions and when i do adb devices it doesn't find any devices. The problem is that i can't boot into notinhg, not even the recovery menu to use adb.
Btw when i plugged it into the pc i get this.
Don't know if it helps or not.
If
Code:
adb devices
doesn't list any then my guess is that "USB debugging" didn't get enabled in Android Settings -> Developer options

Categories

Resources