Hey everyone,
As the title suggests, of those who have tried out Linux Deploy (for those of you who don't know what this, Its an app that automates setting up of chroot Linux and provides a few different "graphics subsystems" vnc, xserver and framebuffer) have you managed to get framebuffer working?
Seems like its largely trial and error as to getting the correct settings, I was unable to get this working using CAF Cyanogenmod. Maybe its dependent on kernel configuration, i was unable to find any reports of this working on the nexus 5.
Are you still doing anything with this? Currently working to try to get a Fedora install on my phone.
Hi, I have successfully installed Kali Linux on my LG G3 using Linux Deploy and VNC viewer. I am successfully able to use everything, but I am relatively new to Linux. Still, I was able to switch to root in the terminal. I also tried creating a new account, giving it root access, and then switching to it, which I was able to do, again only in the terminal. However, even if I had root access in the terminal (confirmed by "whoami"), it seemed that I did not have any other root privileges. For example, everything, including the desktop, was read only. I tried switching users using the gui and that did not work at all. I also tried to open the root folder under computer and I wasn't able to do that either. I have tried changing the preferences in linux deploy to log me in as username "root," but I think even then I am logged in as a user that is named root... not the actual root administrator. If anyone could offer some guidance with this situation that would be great. I have spent a lot of time searching google and more to find the solution to this problem, but I haven't had any success. Thanks in advance.
I'd also like to add that some normal commands were not accessible in the terminal even though it said that I had root privileges. Therefore, I could not get done what I would like to even if I were to do everything in the terminal .
jackfitz5 said:
Hi, I have successfully installed Kali Linux on my LG G3 using Linux Deploy and VNC viewer. I am successfully able to use everything, but I am relatively new to Linux. Still, I was able to switch to root in the terminal. I also tried creating a new account, giving it root access, and then switching to it, which I was able to do, again only in the terminal. However, even if I had root access in the terminal (confirmed by "whoami"), it seemed that I did not have any other root privileges. For example, everything, including the desktop, was read only. I tried switching users using the gui and that did not work at all. I also tried to open the root folder under computer and I wasn't able to do that either. I have tried changing the preferences in linux deploy to log me in as username "root," but I think even then I am logged in as a user that is named root... not the actual root administrator. If anyone could offer some guidance with this situation that would be great. I have spent a lot of time searching google and more to find the solution to this problem, but I haven't had any success. Thanks in advance.
Click to expand...
Click to collapse
There is not a specific XDA forum for Kali Linux.
You might find some help in Ubuntu Touch General
or [APP] Linux Deploy by AbuYahya
Which S3? SGH-I747 or I9300, I9305 ...
I've been looking for a working MAC spoofer solution (app/mod/patch) for a test phone running Android Marshmallow but I didn't find anything that works.
currently the test device is a LG G3 running fulmics ROM 5.0 (based on Android marshmallow / LG 30F), but it seems the matter is rather android 6.x related.
The Aim is to change/spoof temporarily or permanently the hardware MAC address of the internal network adapter (eth0, but mainly wlan0).
So there are a lot of apps out there in the market which claim to do exactly that. I tried many of them, but nothing works as intended.
To name a few of them:
- Wifi Mac Changer
- ChameleMAC
- Mac Address Ghost
- MacChanger
- MacSpoofer
- many more tested
- Phone ID Changer / Device ID Changer app/module for xposed
even the most promising one:
- Pry-Fi by chainfire
does not work, it just crashes while trying to spoof.
all of them claim to change the mac, but it's not working on this device or general on an android 6.x version.
either they crash or they fail in spoofing.
so I tried to spoof the MAC manually in a Terminal with BusyBox installed and a command like:
busybox ifconfig wlan0 hw ether 00:11:22:33:44:55, checked if it worked with iplink cmd and it did. But when I try to connect to my access point, I can't join the wifi network it always neglects my pw. when I turn wifi on/off, the MAC gets reset to original hardware MAC and I can again connect to my wifi AP.
So even when trying to spoof the MAC manually it doesn't work.
And I don't know if it is a problem with Android 6.x, the device itself or the ROM i used.
Does anybody else have a working mac spoofer solution for an Android 6.x version smartphone or have an idea how to this working?
Did you also try connecting to an open network after the busybox method ? I read somewhere the pw issue was only when connecting to secured networks.
Other than that ... I'm also looking for a reliable solution. No luck so far.
Also , you might want to try / read http://forum.xda-developers.com/android/apps-games/app-network-ghost-mac-hostname-spoofer-t3145866
Is explains why the busybox method fails with WPA networks.
thanx for the link. It was interesting.
unfortunately the app doesn't work either. so we still have no working solution or app that does spoof the mac on marshmallow devices.
So I got twrp 3.0.2_2016-04-17 p1 multirom working. I installed a few roms in primary and have moved to secondary but can only boot while in primary slot (kexec issue I assume) Really trying to get kali up and running and not so much kexec (will move back and forth for now) . found a lots of readme which looked good but diddn't quite work out. when kali would boot the nethunter terninal app would fail saying it couldn't find bootkali_login and I could never really uninstall changeroot. from twrp file manager I deleted /data/local/nhunter* and did complete reinstalls and still same results. I installed nh-op1-kali3.0 over cm13 and also found all in one 7.1 lineageos vers 14.0-20170101-unoffical and same results. I cannot find a cm11 or cm12 compatible with kali3.0 should I step down to kali2.0? any help or direction is greatly appreciated.
@seanwlk
Why dual boot? What do you need multirom for?
You can flash LineageOS 14.1 root it, and install busybox.
Then you need the nethunter apk and install chroot from there. (Chose either minimal or full doesn't matter)
The "issue" comes now basically I've tried multiple times to make the nethunter terminal work but it doesn't connect to Kali. So I managed to find a workaround which is basically using Kali over SSH and I suggest you JuiceSSH (but every SSH client will work) just connect to 127.0.0.1 (which is localhost, where Kali runs) but since the SSH service doesn't start on boot you will need to start it manually on each reboot through the nethunter app by creating a custom command that will be sent to Kali
Code:
service ssh start
Now you'll be able to connect and use Kali terminal.
It may not be perfect but I use it on daily bases.
I do this since COS 13 days.
Here I add some useful material.
Thanks for the responses. I found flashing the cm 13.1.2 original image when my phone would keep failing installs helped when I kept getting failed installs. got it and running on cm12 5.1.1 works great.... except for when it suddenly and randomly freezes the whole system with the screen on. I ran the Y-cable service and tried it out and it worked great. wifite as normal. I will give lineage14.1 a try. thanks for the heads up. as far as using multirom..... I found it copies the files from secondary to primary faster than a nandroid restore. I think its because the partitions are not zipped. 64gb is more than enough space that speed vs disk space wins. I have been using an lg g3 for years now and I really do like opo. got my tempered screen and tpu case yesterday so it's now traveling safely with me . My only concerns with lineage14.1 is that it might not support the wifi adapters in the kernel for external wifi adapters.
seanwlk said:
Why dual boot? What do you need multirom for?
You can flash LineageOS 14.1 root it, and install busybox.
Then you need the nethunter apk and install chroot from there. (Chose either minimal or full doesn't matter)
The "issue" comes now basically I've tried multiple times to make the nethunter terminal work but it doesn't connect to Kali. So I managed to find a workaround which is basically using Kali over SSH and I suggest you JuiceSSH (but every SSH client will work) just connect to 127.0.0.1 (which is localhost, where Kali runs) but since the SSH service doesn't start on boot you will need to start it manually on each reboot through the nethunter app by creating a custom command that will be sent to Kali
Code:
service ssh start
Now you'll be able to connect and use Kali terminal.
It may not be perfect but I use it on daily bases.
I do this since COS 13 days.
Click to expand...
Click to collapse
Nice!
I was having the same issue when I was running it on cm13. every time I tried to run android terminal in chroot kali it would fail cause it couldn't find bootkali. I thought it was just a chroot issue but if it works through ssh than that works for me! come to think of it. I never even tried vnc'ing cause I assumed it was not working. ssh much better than vnc for cpu overhead for sure.
rp201 said:
Nice!
I was having the same issue when I was running it on cm13. every time I tried to run android terminal in chroot kali it would fail cause it couldn't find bootkali. I thought it was just a chroot issue but if it works through ssh than that works for me! come to think of it. I never even tried vnc'ing cause I assumed it was not working. ssh much better than vnc for cpu overhead for sure.
Click to expand...
Click to collapse
I've tried VNC for the sake of curiosity. I installed xrdp but I can't login for some reason it gets stuck on the login form. But no big deal I don't need UI.
I hope I helped somebody, not sure if this method I use got ever published on the Internet ?
I installed latest nightly of lineage14.1 5/29/2017. Debug is enable and allowed over adb. (root priv for apps not built into lineage) then after inital boot twrp install of superSUv2.82 then your busybox and your nethunter. its not working for me. ssh service wont start. chroot is installed but not working. I'm obviously doing something wrong here. I can SU in terminal but cannot run "bootkali" or "bootkali_login" which is the error nethunter app is giving me.
rp201 said:
I installed latest nightly of lineage14.1 5/29/2017. Debug is enable and allowed over adb. (root priv for apps not built into lineage) then after inital boot twrp install of superSUv2.82 then your busybox and your nethunter. its not working for me. ssh service wont start. chroot is installed but not working. I'm obviously doing something wrong here. I can SU in terminal but cannot run "bootkali" or "bootkali_login" which is the error nethunter app is giving me.
Click to expand...
Click to collapse
Are you sure that the chroot is correctly installed?
Should be mounted here
Code:
/data/local/nhsystem/kali-armhf
Also when you boot the phone does the nethunter notification popup saying the boot went all OK?
How are you starting the SSH service?
Here check these screenshots: https://imgur.com/a/TYqoc
Also remember that Kali has an user and password so connect to SSH with the following credentials:
Code:
Host: 127.0.0.1
User: root
Pass: toor
seanwik,
yes to all of that I got everything the same. I was connecting as root to 127.0.0.1 but I was also thinking sshd.conf needed to be set to allow for root access possibly? but I never had to before so I have to guess sshd did not launch at start up. are you using a thrid party kernel?
rp201 said:
seanwik,
yes to all of that I got everything the same. I was connecting as root to 127.0.0.1 but I was also thinking sshd.conf needed to be set to allow for root access possibly? but I never had to before so I have to guess sshd did not launch at start up. are you using a thrid party kernel?
Click to expand...
Click to collapse
None of those commands start at startup, for the same reason nethunter terminal doesn't work, to have to run that custom command from within the app, only that way works. Also I don't use SuperSU but the root enabler for LineageOS so I used privacy guard as root manager. Don't think that's the issue, was just saying.
I'm currently running LineageOS kernel, but this method worked even with Boeffla
Look:
(sorry for my ****ty voice ? )
I fully clean reinstalled my ROM like 2 days ago and did this as usual and works.
thanks for the video and your time. did a new install. stilll same results. ssh service wont start.
thanks!
rp201 said:
thanks for the video and your time. did a new install. stilll same results. ssh service wont start. is privacy guard an app or settings in lineageOS?
thanks!
Click to expand...
Click to collapse
Developer options > manage root access. (Screenshot attached)
But it doesn't matter, I used Kali with SuperSU and magisk and it worked.
Does it tell you something when you tap on RUN on the custom command ?
Quick recap:
1-Flash Lineage
2-root
3-boot and install BusyBox and nethunter app
3-through nethunter app install Kali chroot (it will download the image and mount it in /data/local/nhsystem)
4-Reboot
5-Create custom command to start SSH service
6-Run SSH service
7-Connect to SSH with a client
I also just remembered you can see if the service is up from the nethunter app, check attachments.
LineageOS just updated to 5th june I updated and the chroot still works.
okay so I reinstalled and enabled the use of privacy guard in lineageOS first boot setup. when I go under privacy I dont see any settings to give busybox installer root access. dev-options only has settings to give root access to "enable root adb only" it does not have the usual "enable root adb and apps" any help would be great.
in my previous installs nethunter full not miniimal is installed. I have the ablility to install chroot and remove it. after reboot I would get status bar message like you saying nh service system is up and running. created entry like you the same. Thank you for helping. trying to figure out how to enable root without installing supersu in twrp like you.
rp201 said:
okay so I reinstalled and enabled the use of privacy guard in lineageOS first boot setup. when I go under privacy I dont see any settings to give busybox installer root access. dev-options only has settings to give root access to "enable root adb only" it does not have the usual "enable root adb and apps" any help would be great.
Click to expand...
Click to collapse
Because you didn't root with the LineageOS root zip
But as I said I don't think that's the issue.
I attach you the needed zips, the installer and the remover. Just flash through TWRP instead of using SuperSU.
Then go to developer options and in that menu it will appear more options select apps and ADB (check screenshot in the attachments)
This is just to put you in my same conditions but I don't believe it will fix the issue.
After much help from seanwik and 24 nhinstall.logs...its up and running connecting over ssh. I didn't stop there. After a little playing I got nhterm to work with Kali term instead of suandroid. Found a setting in dev options. Still does not launch within nethunter but I'm working on it.
I remember reading you have to uninstall nhterm.apk nh.apk vnc.apk and install nhterm vnc then nh in that order. Some of my playing included manually installing all the nh.apks from the nh.zip using xplore .
Nhterm
rp201 said:
Nhterm
Click to expand...
Click to collapse
Glad it works, but I'll stick to JuiceSSH because I love the interface and it's features. And since I use for remote accessing my servers it's much easier for me to have everything in the same library ?
Hi Everyone.!.!.
So i decided to use Authorizer(password manager) from F-droid to help me remember all my passwords and I also liked the feature that it lets you type the password over the usb and bluetooth on any device, but then I saw that it requires android keyboard gadget[Github] in order to work over the usb.
But the problem is I can not even understand the first line of scripting "There is a possibility to send keypresses in an automated way, using terminal emulator for Android or similar app. This is done using hid-gadget-test utility."
Can anyone help me compile this for my device [Nokia 3 TA-1032 android pie rooted using magisk] .?.?. I am using windows 10.
p.s. : At "Compiling kernel" it says to use linux, so can I use tails os to do that task .?.?.