Kali linux p5110 - Galaxy Tab 2 Q&A, Help & Troubleshooting

Hi. I am using galaxy tab 2 10.1" p5110. I want to install kali linux. I downloaded terminal emulator, android vnc and complete linux installer. So ı downloaded 2 img. to try. Ext2 and ext4 basics. But terminal emulator makes a problem . Which one should i use (ext2 or ext4)? (I install ext2 and i launched program very well but when terminal emulator opened the androidvnc i filled the blanks --> name : kali, password : changeme (i tried kali and kalilinux) , address : 127.0.0.1 and port 5900. Here comes the problem. Connection error! What should i do? Please help me? How can i install kali linux to my p5110 device?

Related

[Q] Testdisk on Android Shell

Hey Guys,
can someone help me ? I will raun the Data Recovery Program of Testdisk and Photorec on my Transformer HC3.2 as SuperUser in a Terminal Emulator for Android. The Terminal Emulator runs great. At same time a tested it with an SSHD.
I have Downloaded the Linux Version of Testdisk (Linux, kernel 2.6.x i386/x86_64)
If i will start the file "testdisk_static" solo and with su command but every time it says "permission denied". In File Explorer i set the PErmissions of the file and in the command shell two times with chmod 7777 but se thame problem.
Permisson Denied !!!
Has someone any idea how i can fix this problem ???
Here is the Link of the Programm : cgsecurity.org/wiki/TestDisk_Download
I think testdisk and photorec are not include in Busybox. As far as I know, you just can't run them directly on Android.

[WIP] Ubuntu on the Thrive!

Hey guys!
A friend of mine who is into phone roms and modding, showed me Ubuntu running on his Nexus Android Phone, and thought about how cool it would be to get Ubuntu Running on the Thrive! With a bit of Research I found that there is an ARM port of Ubuntu. The reason why that is an awesome thing is because Linux has this cool thing called chrooting. chrooting is the process of running another version of linux within another running linux OS instance. The downside of chroot is that you can chroot an os made for your phones architecture. In this case, the Terga 2 IS Arm based, so we're all set to go on that. With a few hours of toying around, I have successfully gotten Ubuntu running on my Thrive.
What you'll Need:
- Basic working knowledge of linux.
- The Arm Port of Ubuntu. ubuntu.zip
Original Dev's Site: Download File - ubuntu_zip - DownloadAndroidROMs.com
Mirror 1: MEGAUPLOAD - The leading online storage and file delivery service
Mirror 2: http://www.zettech.net/ubuntu.zip
Mirror 3: ubuntu.zip - download now for free. File sharing. Software file sharing. Free file hosting. File upload. FileFactory.com
- A *ROOTED* Thrive, with busybox installed and atleast 3gb of spare space in the *INTERNAL* storage... Not the SDCard Storage. You can find out how to do this all at this thread: http://www.thriveforums.org/forum/t...ment/1399-full-working-rooted-thrive-now.html
- A computer with adb setup and the correct working drivers for your thrive. If your Thrive is rooted, than you should have working drivers, unless you rooted it from another pc, in which case you can look at the root thread in this development forum for help. You can check to see if ADB is working by typing "adb devices" at the command promt. A few lines that look like this should pop up.
List of devices attached
286416746464667 device
^ The numbers will look different. Thats OK. If the list is empty, you have a driver issue or connection issue with adb.
How to do it:
1. Download and extract the ubuntu.zip file from one of the above links to your hard drive.
2. Connect your thrive to the PC and Connect your Thrive to a Wifi Access Point.
3. A new storage device should show up. This is your thrive. Now place the ubuntu folder you just extracted in the root of the thrives storage device. NOTE: This is *NOT* actually the sdcard your storing the files on. This is the devices internal memory. (don't put it in the /sdcard-disk0 folder.)
4. Open up an adb shell. Do this by typing "adb shell" at the command promt. A "#" should appear, indicatng you are at a root shell on your thrive.
5. Type "cd /sdcard/ubuntu"
6. Type "sh ubuntu.sh" This is the script that sets all of the permissions for the ubuntu image. You *WILL* see errors on this part. Ignore them.
7. Type "bootubuntu". You should now see a command line that looks like this:
# bootubuntu
bootubuntu
net.ipv4.ip_forward = 1
Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4
Setting localhost on /etc/hosts
READY TO ROCK AND ROLL BABY!
Brought to you by NexusOneHacks.net and the open source community!
* Congrats. You have Ubuntu running on your thrive now... Now for a better way to control it...
8. Update the OS:
Code:
apt-get update
9. Change the root password:
Code:
passwd root
^ Set this to a secure password. Wouldn't want anyone sploit'en ya eh?
10. Find your Thrives IP Address:
Code:
ifconfig
^ It should be listed as "inet addr" under the wlan0 interface. (See? Told ya you would need basic linux skills. ).
11. Install SSH:
Code:
apt-get install openssh-server
^ Once thats installed, you should be able to ssh to your thrive by either connecting to 127.0.0.1 from a terminal emulater on the thrive, or your thrives IP from a PC on the same network.
12. Install and start a VNC Server:
Code:
apt-get install tightvncserver
Code:
export USER=root
^Tell's what user to start VNC as.
Code:
vncserver -geometry 1280×720
^This starts the VNC server. It will ask you for a password. Remember this password. You may also try 1280x800 if 1280x720 gives you issues.
Now that VNC is installed and running. You should be able to connect to it from a VNC client on port *5901*. If connecting from the Thrive itself, you can connect to 127.0.0.1, or you can connect from a PC by using the thrives IP.
What the issues are:
Ok... So I literally *JUST* got VNC up and running as I am writing this post. I'm actually just on my way out the door to go home for the weekend hahah, so I'm sure alot of these issues can be fixed with minor tweaks. I'm also sure there are more issues out there. I just wanted to get this posted up though so that people can start playing with it.
- VNC Resolution and colors are set incorrectly. This I believe is just an issue with the default configuration file for VNC. I believe the color quality setting just needs to be raised and the resolution adjusted to the native resolution of the thrive.
- Has to be install to Main memory: This is because the script that sets all of the permissions is hard coded with /sdcard/ubuntu as the location for the installation. /sdcard/ isn't actually the sdcard on the thrive. It's internal memory. I'm certain that a quick edit of the sh script will fix this. Is it really a good idea to run ubuntu off a slow, and limited write capacity sdcard?
All of the above issues i'll look at tonight when I get home! Happy hacking guys!
I cant seem to get vnc working the client keeps failing
Sent from my AT100 using Tapatalk
can you use the onscreen keyboard or do you have to use an external?
What you mean like the keyboard in ubuntu or while im in the vnc client
Sent from my AT100 using Tapatalk
I mean, can I put ubuntu on the tablet and use the tablet as a Ubuntu tablet or do I need to hook up a keyboard or use VNC in order to use the tablet?
With Android, I have a keyboard built into the software. Does Ubuntu have one?
Im not sure I havent made it that far. But you need to use a vnc client
Sent from my AT100 using Tapatalk
wrek said:
I mean, can I put ubuntu on the tablet and use the tablet as a Ubuntu tablet or do I need to hook up a keyboard or use VNC in order to use the tablet?
With Android, I have a keyboard built into the software. Does Ubuntu have one?
Click to expand...
Click to collapse
You download a VNC Client for Android, and connect to your Ubuntu Instance via that. VNC should support whatever on screen keyboard you have installed.
Ok, so it's not really a "Ubuntu" I can walk around with... not yet anyway.
wrek said:
Ok, so it's not really a "Ubuntu" I can walk around with... not yet anyway.
Click to expand...
Click to collapse
Well to an extent it is. You can use VNC right from the Thrive to connect to Ubuntu. Ubuntu would still be running locally on the thrive as well. You can also use a terminal emulator to ssh to ubuntu as well.
In all Honesty, I only posted this to show that the thrive does indeed have the power to run Ubuntu. The version of Ubuntu it runs is the ARM version; which doesn't have many working applications for it yet.
hey i am stuck at [email protected]:/#
nothing happened on the tab, im not sure what to do..? help?
past that..
okay so i am past the [email protected] blah blah blah... now i got an error saying
"chroot: applet not found
Shutting down ubuntu
failed.
failed.
failed.
failed.
losesetup: applet not found
any ideas.?
Is anyone still working on this? I am getting errors when I try to install openssh and tightvncserver.
Sent from my SPH-D710 using xda premium
I already have ubuntu running on my thrive through vnc viewer. Its not optimized that well but I can download software and use the keyboard and everything.
---------- Post added at 11:50 AM ---------- Previous post was at 11:48 AM ----------
I have a much easier method if you guys want it.
jayfrost10 said:
I already have ubuntu running on my thrive through vnc viewer. Its not optimized that well but I can download software and use the keyboard and everything.
---------- Post added at 11:50 AM ---------- Previous post was at 11:48 AM ----------
I have a much easier method if you guys want it.
Click to expand...
Click to collapse
Easier is better. How did you do it?
Sent from my SPH-D710 using xda premium
Okay, I am just gonna start a new thread. I'll get it up in a little while.
jayfrost10 said:
Okay, I am just gonna start a new thread. I'll get it up in a little while.
Click to expand...
Click to collapse
That would be great. Thank you!
Sent from my SPH-D710 using xda premium
Okay, my easy ubuntu thread is up.
sh ubuntu.sh
modprobe: module 'ext2' not found
←[H←[Jrm failed for -f, No such file or directory
rm failed for -f, No such file or directory
rm failed for -f, No such file or directory
rm failed for -f, No such file or directory
rm failed for -f, No such file or directory
mkdir failed for /data/local/mnt, File exists
←[H←[JUnable to chmod bootubuntu: Operation not permitted
←[H←[J
Ubuntu Chroot Bootloader v0.1
Ubuntu Bootloader is now installed!
i recive this failed when i type sh ubuntu.sh ... any sugestion ?

Terminal issue in Ubuntu Chroot...

I have a Lubuntu (lightweight ubuntu) chroot on my Samsung Galaxy s4. I am trying to get some work done on the terminal in the chrooted ubuntu, but I don't know how to scroll left or right when editing files in the terminal All I see is
(example): [email protected]:$> [C]Flag-1.0.2
I'm not sure how to move the box thing ( [ ] ) over to other characters in the terminal. help?

Can't install Kali linux

Hi,
I installed Complete linux installer, terminal emulator and vnc viewer
With complete linux installer i located my img file for Kali linux (downloaded through the app) and launched it
Terminal Emulator gives "Error: image file not found!" along with the path's file!!
How to fix that ?
Yes, I am properly rooted.
Yes, Busybox is properly installed.
Yes, ALL the apps have root permission.
Yes, I've enabled root writing in my file explorer.

Parrot Security OS auto chroot for android, Nethunter alternative - NOT TESTED YET -

NOT WORKING. I WANTED TO PORT TOO FAST. PLEASE CLOSE THIS THREAD. I'LL REOPEN IT WHEN EVERYTHING WILL WORK FINE
PAO or Parrot On Android is an Android penetration testing platform for any android devices.
Supported architectures: armhf, arm, amd64 and i386
Issues:
No known issues yet
I builded the rootfs using the following commands (We built for armhf architecture in this exemple):
qemu-debootstrap --arch armhf stable ./parrot-armhf http://ftp.parrotsec.org/parrot/
tar cJvf parrot-armhf.tar.xz ./parrot-armhf
To install, just extract the zip file (link at the end of this message) to any folder (for e.g. /sdcard/install_PAO). Then, in a terminal app, execute the install.sh as root and answer the questions. The script will automatically download and install the right chroot for you
To run Parrot, just type in a terminal 'chrootparrot' (as root)
To remove chroot, please make sure your chroot isn't running and type 'removeparrot' in a terminal (as root)
NOTE: This is only the base Parrot Securiry OS system. It doesn't come with a lot of tools. To install Parrot Security OS tools, just type 'apt update && apt install parrot-tools'
Link: https://drive.google.com/open?id=1NOJVItcM6NkbTQj3i72mda1m-5DA9cAT
PS: check out https://ssd.eff.org/en and spread this url to your bookmarks
Could you elaborate a lil bit.... Iam not able to run it via vnc

Categories

Resources