Hi,
i would like to know how to get root access inside the ubuntu touch terminal, it ask me a password .
Thanks.
password is phablet
Related
Hi,
I want to use root access on my android app, but I don't know how to get root access and how to use it. I've searched Internet and found someone said that I should call
Runtime.getRuntime().exec("su");
But when I did that the system asked me to give root access to my app, I choose yes, but app still cannot perform any root operations like listening on TCP port 80
please help me
Thank you in advanced!!
Alex
I'm sure there's some reason why it would fail because it seems too obvious, but my first guess would be to get a shell, su to root, then
chmod u+s whatever.apk
i have a htc wildifire, which has been rooted and installed with openfire rom. But i would like to install a custom boot animator, after reading posts i have realised that you have to gain adb access to your phone if im right?
i dont understand what is meany by that, i know how to access recovery, but how can i gain access to my phones system so im eligible to change the boot animator?
any suggestions are much apreciated.
same problem , you need to use root explorer , or this one ,adb, i download root explorer but dont now how to run it and try adb but it was difficult to me (adb,java,eclipse) ??????
ive tried using root explorer, but it dosent allow me to replace the bootanimation.zip.
i have not yet tried, adb could anyone link me to how adb works?
thanks
Ninja10 said:
ive tried using root explorer, but it dosent allow me to replace the bootanimation.zip.
i have not yet tried, adb could anyone link me to how adb works?
thanks
Click to expand...
Click to collapse
dl a bootanimation.zip file you want to use
place it into your android sdk tools folder (im assuming you have the android sdk installed)
e.g. mine is C:/android-sdk_r06-windows/android-sdk-windows/tools (yours would be different obviously if you installed it somewhere else)
reboot phone into recovery (well i do anyway)
run a command prompt
CD to your tools directory
type adb remount
type adb push bootanimation.zip /data/local/bootanimation.zip
type adb reboot
Hi everbody,
I do not know if this is an appropriate place to for this post but since I am a new member, it was not possible to post it in development.
Please note that if you choose to apply following steps, I accept no responsibility about whatever happens. Do not come back and whine about a bricked device.
I have been trying to get a Linux system running on my beloved A500, and I also wanted to have X windows system (I have to confess that I suck at command prompt). I have finally achieved it. I thought to sketch a short "how to". Most of things I explain here are from a post by gmaster1440. I just wanted to have a "how to" for specific our beloved A500. I hope this help.
1- You need to root your A500. I do not think this would work on a unrooted device. Also, you need to have an internet connection (preferably a fast one) for installation. During the following procedure, I was using Hacker's Keyboard. It has most of the keys like CTRL which will greatly ease your job.
2-Grab Linux Installer from the market.
3- Read through the documentation (at the very least Quick Installation guide).
4- Install Debian Wheezy on your sdcard. (it is not recommended to install in on external sdcard although I did so). Ubuntu distros did not work for me, so I had to try several installations. finally I did get it working on Debian Wheezy. To connect you debian you need a SSH client. I used ConnectBot for that purpose. In connectBot, just select localhost, give connection any name and hit enter (return). This will give you a prompt with $ sign. Depending on where you put your linuxchroot script, you have to go there. In my case it is in /system/xbin directory. Just go where ever it is and run the script. If you left the option in linuxInstaller as there are, it should be named linuxchroot. Run it. If everything goes ok, you will get a bash (don't know what bash is? maybe more reading for you?) prompt.
5- As explained in the original thread by gmaster1440 here, install tightvncserver. You can do this by the command "apt-get install tightvncserver" (without quotes)
6- Next you need to install a desktop. Here you have several choices with several tastes and capabilities. Including ooo-so-mighty Gnome and KDE, but I just went with lxde. If you choose to install lxed you just need to enter "apt-get install lxde" on your command prompt. This will take a while depending on you internet connection speed so be patient (it took about an hour in my case).
7- You also need a VNC client for your A500. I tried this with android-vnc-viewer and Mocha VNC Lite and later worked better for me (in terms of resolution, color and keyboard input). Any other suggestions welcome.
8- You need to setup a few more things on your Debian before connection. Again quoting from the thread by gmaster1440, you have to issue following command on your debian prompt
export USER=root
additionally I did the following
export TERM=linux
export HOME=/root
You have to do this each time you connect your debian so it is a good idea to put them into your .bashrc file or to create a script.
9- You are ready to start your vncserver, in debian command propot just write "vncserver" and hit enter. This will (hopefully) start vncserver, and asks you for two passwords, enter a password for the first one. vncserver will want you to repeat this first password twice. After the first password, it will ask for a second password for view only connection, Just skip it.
10- After starting vncserver, kill it by issuing "vncserver -kill :1". Navigate to folder /root/.vnc and open the config file "xstartup" with a text editor of your choice. For newbies nano works just fine. Just write "nano xstartup". If you do not have nano then intall it "apt-get install nano". Comment out the line "/etc/X11/xsession" by putting a "#" sign before it (without quotes) and add this two lines
lxde (return)
lxsession (return)
then just save the file. (hit X while pressing CTRL "remember hackers keyboard") it will ask you if you are sure, say yes, hit enter again for not changing the ile name and return to the command prompt.
11- start vncserver again and connect it with your android vnc client. user name is root (remember export NAME), password is whatever you entered when you first run vncserver, host is localhost, and port is (at least in my case) 5901 (port can be different in your case depending on several things including number of vncserver you run, you can check it on the log files under /root/.vnc folder). Say connect and hopefully you will see your X-desktop.
You can specify the resolution o X desktop as you invoke it. That is, "vncserver -geometry 800x600" creates a X desktop in 800x600 pixels.
I still have to play with it to make it more productive and fun. Maybe I will add a screenshot as well. I would like to hear about any suggestions and (for sure) corrections.
Have fun with your X windowed A500.
This setup is very similar to installing Backtrack to the system but without installing the Linux Installer from the Market. If this is faster than installing Backtrack and more efficient, then I am all on it. Will try it later. ThanX for the Tut!
Thanks for the tutorial!
I am wondering which debian version did you choose?
is the businesscard-version (40mb) enough, or do I need to download the whole dvd version?
So which one to choose:
cdimage.debian.org/debian-cd/6.0.3/armel/iso-cd/
-Acid
Linux Installer keeps telling me I don't have root. I'm on Thor 13.2.
Sent from my a500 using xda premium
Just like we can use zergrush with adb to root 2.3 ... wouldnt it be possible to use the same commands without a pc from within? or would a "command prompt" app already require root access?
No, there are terminal emulators for android, and don't need root access to be used.
I haven' t test it, but I don' t think that needed anything else except to copy the necessary files to device' s memory card. After that all commands can work the same.
Oh crap... not really.. forgot that data folder is protected and needs root... that's why adb is used.
Any way to root ginger official withouf a pc... I got my phone fixed but I donthave access to a pc for quite a while.
Hi XDA,
Hoping you can help as you're my last hope really.
Nexus 4
CM 11
TWRP 2.6.3.3
I dropped my Nexus 4 and smashed the screen. Everything works as normal except the screen lower half (where the keyboard is..)
So I can boot into TWRP but cannot enter my decryption password to mount the storage, I can however open an adb shell and work from there.
Im trying to determine if its possible to mount the sdcard and enter the decryption password via the shell so i can retrieve important files. So far it doesn't look like busybox has the functionality to do it but maybe im wrong and just need guidance.
pls halp
Hi,
I have the same problem. Were you able to provide the password via adb?
"adb shell input" seems not to work as the binary is missing
Thanks!