Can I get a shell into Android - General Questions and Answers

I'm old to Linux, but new to Android. Can someone tell me please:
Question #1: Is it possible to get a shell into my phone somehow? Meaning, Can I connect, telnet, SSH, or any other method to get a terminal? Do I have to use that adb?
Question #2: Is the act of "freezing" an app simply a rename of the file or does it really do something different?
Thanks.

If you look for Android Terminal Emulator on Google Play and install it you will be able to use a terminal. As far as your second question is concerned, I believe it is the same.
Sent from my GT-P5110 using xda app-developers app

Related

[Q] Samsung Captive ATT non market app help

I have tried everything to get a one click solution to enable non-market apps. First and foremost I am on a MAC. No access to a windows machine. I have my phone rooted and have installed superuser status.
I am looking for a solution that will let me install (easily) non- market applications. There appears to be several solutions doing this on a windows machine. I have not been able to find a solution on a MAC. And instructions, help, videos anything is greatly appreciated.
Thanks
PS: not a total nube, but I have limited knowledge of the root directory and manipulation, but follow instructions well ........
What firmware are you on? Because if you are on the leaked 2.2 you should look on the leaked ji6 hacks forum page and it will give you the instructions that you can run in adb shell in the terminal application on a mac you just have to type ./adb (command) where windows users just have to type adb (command) you should make sure that you are comfortable on adb though because there are hardly any tutorials for adb on a mac around. I found that the hard way. Hope this helps, if you still can't figure it out post more info and I will do my best to help although I am still kinda a noob to android development.
Sent from my SAMSUNG-SGH-I897 using XDA App
Thank for the help, I will look at thie ji6 hack and see if it works. I'll let you know. Right now I have spent 3 days trying to unlock this pile of dung. ATT should be shot for doing this people. We bought the phone let us put what we want on it. PERIOD
Have you tried ADB? If you can get ADB to work, you should have the skill to copy over the settings.db and use the SQLeditor for Firefox plugin. Or use SQLite on the phone.
Read up on how to enable sideloading - the same commands that work on windows work on a mac - or very similar. As long as you know how to copy files in terminal you should be set.

How to install and configure sdk/adb on Ubuntu

I want to be able to use adb to pull/ push apps to my phone.
I recently converted my PC to Ubuntu 10.10 from windows and I am finding it impossible to find any sort of noob friendly guide as to how I can actually get it installed and working.
Can anyone help? Or point me towards a guide. All the stuff I find seems to assume you either already have it installed or know how to do it already!
Sent from my GT-I9000 using XDA App
Well thanks for your help folks
Sent from my GT-I9000 using XDA App
here ya go http://tinyurl.com/44zscrd
Follow the first guide, if you still have problems post back and I'll try to help you with what you need
Ok I tried this, I realise you were taking the piss but the guide was good except I could not get Ubuntu to recognise my device. Followed the instructions to the letter. I know Linux is not meant to be easy but why is it SO hard?
Sent from my GT-I9000 using XDA App
branalvere said:
Ok I tried this, I realise you were taking the piss but the guide was good except I could not get Ubuntu to recognise my device. Followed the instructions to the letter. I know Linux is not meant to be easy but why is it SO hard?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
ubuntu recognizes it by default unless you modified your settings or messed with the kernel.
http://developer.android.com/sdk/index.html
Download the Linux tools. Extract it then open your terminal and go to the extracted folder, inside here is a folder called tools, with the terminal cd into tools and type ./android.....app should open, go to available packages, android repository, check the first one and should be android sdk tools.
Click install selected at the bottom right. Once it's done you will have adb installed.
On your phone, go to settings, applications, development, check usb debugging. Also check unknown sources.
Inside the folder you are in, there should be a file/ script called adb. This means you can run the adb commands from here.
In terminal, assuming you are in the folder where the adb file is located, type:
Sudo ./adb start-server
This should recognize your phone.

[Q]Can we install any app to unlocked emulator

like wp7root tool after install.
we need to restart phone.But after restart Emulator all application will gone.
So you problem is the file sticking? Is it saving anything to the memory? I.E. is it saving any .txt files or user data files? If not the root tool maybe to blame. The root maybe accessing the root of the phone but not saving anything through the shell. Think of it this way, it's like android only windows. Android has shell files too, but the root tool has to bypass the shell security to allow you complete access to everything. If your not able to "pass" it, then you'll lose everything.
Sent from my LG-P999 using XDA Premium App
It just works that way
Zen3515, you are not talking about a real phone, you are talking about the WP7 emulator on the PC, right?
Well, that's just the way the emulator works - otherwise it would probably be much too easy to trash the emulator, it has to start afresh after every "boot".
Maybe it's possible to hack that and prevent the emulator from deleting everything between reboots, but I never heard that somebody is working on hacking the emulator. Maybe that's just not interesting enough?
Even if the emulator image is interop-unlocked (I don't know, but I doubt it), Root Tools wouldn't work.
How
How do I access the internet application for the emulator?
I even can not install the application on the emulator I can not put the application out to the Internet
Ps: The IE internet browsing goes normally.

ADB Help

Hi,
I have a Yarvik Tab250 and I want to modify the build.prop so i can install any app I'd like to. I've found the info i need to do here:
w w w.hembrow.eu/personal/yarviktab250.html
But I can't get ADB to list my device, my device is on, and debugging is turned on, and it can't list it under "adb devices". I know on linux you have to make a specific folder or something like that, do you have to do anything special in Windows? I only really have access to Windows, and limited linux knowledge.
As mentioned above, Also, if anyone can help with flashing a working play market on my tablet, i'd very much appreciate it!
Thanks!
You need to have the android SDK installed properly on Windows. The path stamemt must be correct for ADB to function properly.
Sent from my LG-P500 using XDA
Do you have the proper drivers for it installed
Sent from my HTC One X using Tapatalk 2
adb is an application that is part of android SDk and can be run from the command prompt in Windows. There is a windows application Android Commander that uses a gui to issue adb commands, it is very powerful program and I recomend it. you will be able to use it to pull the build.prop file edit it with a text.editor and push it back to the Phone. It can connect to the phone by wifi or with the usb cable. Of course android bebugging must be enabled on the phone. you can find it here. http://androidcommander.com/
I hope this helps.
ADB for dummies
http://forum.xda-developers.com/showthread.php?t=502010

How to flash stock rom on Samsung devices from Linux

I don't actually know how to but I was thinking of a process,
Install "wine" by first, gaining root access by typing
sudo su
Then it will ask for your password, enter it
Then install wine by typing
apt-get install wine
In terminal
Then it will ask for confirmation to install wine
Then after you have installed it, you are ready to open exe files on Linux!
Download odin from anywhere and place it in your "/home/(username)/" directory on folder "odin"
Then execute this command in terminal:
$wine ./odin/odin.exe
And it will run odin there, do what ever you want to do now
Or you can simply double click the odin icon.
I have not tested this yet but I suppose it will work, I will try it either today or tomorrow
Anyone tried this before??
Or is there any other way to do this?
Sent from my SM-T211 using XDA Free mobile app
I tried it and it didn't worked
Anyone please tell me how to do it...
Sent from my SM-T211 using XDA Free mobile app

Categories

Resources