[Q] Can anyone shed some light on a tun.ko installer problem? - Vibrant Q&A, Help & Troubleshooting

I could use some guidance. I am running stock rom on my Vibrant (2.2, FROYO.UVKB5 to be specific) and it is rooted. I am trying to run Cisco AnyConnect, but have no built-in tun/tap driver (of course). I have used tun.ko installer and it worked for about 5 days. Now, anytime I run tun.ko installer, my phone reboots. I have trashed any programs that I had installed since tun.ko installer and even uninstalled and reinstalled the installer.
I am at a loss as to even where to begin troubleshooting this issue. Would someone please help this humble novice learn more about his problem?
Thank you.

Tun.ko is a Linux kernel module. You could try changing your kernel, or running a terminal and manually installing the module via modprobe and seeing if the phone stays up long enough for you to run a dmesg to look for error messages. I don't know how you can see the panic message as the kernel crashes on a phone, but maybe there is a way. An adb shell might last a little longer than an on-phone terminal in the event of a panic.

I actually went the easy route and am trying to use the Tun.ko installed app from VPN Droid, and getting the reboot issue. It seems to be rebooting when it is doing a check to see if the Tun/Tap module is installed, which it isn't right now. I don't currently have a linux box to build a tun.ko module for my Vibrant kernel to be able to manually install it or I would do that and just forget about the tun.ko installer.
Has anyone else seen this behavior at all? It's not like I have crazy custom ware installed or anything else nuts. I'm a little more advanced than an average user and haven't even jumped past the OEM ROM with ADW launcher. Not really the Dev type, but I'm not exactly afraid to go in and do what needs to be done. I just don't know what to do off hand. XDA-Developers and Google have been my best friends when working with my phone. I've just come to a brick wall on this one.

Flashing a kernel like Bali for 2.2 roms would help. It includes a tun.ko module. More info here...
http://forum.xda-developers.com/showthread.php?t=1043947

Yeah, I think I'm going to have to suck it up and get into flashing my ROM. I've just been hesitant because even though I have Titanium backup, I know I'll have to go through some downtime to do the flash. When I upgrade, though, I'll keep this to have a device to fall back on during maintenance and flashes.

Related

[Q] VPN on G-tablet

I have been having trouble connecting to my work VPN with the G-Tablet. I have since tried going to ZPad 3.0 in hopes this would fix the issue. However, no luck. The VPN server is reporting an event error of 20209.
After a few hours of looking on other forums it turns out this have been an issue since Android 2.1. They have either intentionally left out the encryption module from PPPD or it was forgotten in the build. The 'fix' is to copy the PPPD file from a version prior to 2.1 (Android 1.5?) and save it to the System/xbin directory. However there is an argument over if should go into system/bin for 2.2.
Does anyone have more information on this - or better yet a fix/update? Any help on this would be appreciated.
which ROm are you using
stock ROM doesn't have VPN at all.
justauser said:
stock ROM doesn't have VPN at all.
Click to expand...
Click to collapse
I'm using ZPAD 3.0 ROM at the moment.
I have narrowed it down to a problem with the MPPE 128 encryption. I have found a PPPD that is supposed to fix the problem (see link below), but I don't now how to get it to the system directory. How do you mount system as R/W?
Alternate PPPD:
H***://melko.hiljanen.com/~qvr/android/ppp/
Root explorer will allow you to mount it that way
Sent from my DROIDX using Tapatalk
Let me know how it goes... I have been trying to connect my gtab but I thought I was the only person interested!
Sent from my DROIDX using XDA App
vectorcharlie said:
Let me know how it goes... I have been trying to connect my gtab but I thought I was the only person interested!
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
Ditto!!!!!!!!
Tried your link, getting the same error I've seen in the past:
Code:
pppd: This system lacks kernel support for PPP. This could be because
the PPP kernel module could not be loaded, or because PPP was not
included in the kernel configuration. If PPP was included as a
module, try `/sbin/modprobe -v ppp'. If that fails, check that
ppp.o exists in /lib/modules/`uname -r`/net.
See README.linux file in the ppp distribution for more details.
I think(?) we need a customized kernel with ppp. So far, we have NTFS and CIFS support that's been added by some of the devs, here.
vectorcharlie said:
Let me know how it goes... I have been trying to connect my gtab but I thought I was the only person interested!
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
No luck. The PPPD file didn't make a difference. I guess I should not have been surprised. The L2TP connections are supposed to work so I may try that tomorrow - if I can convince the network admin to make the changes on the vpn server.
The lastest info I have been able to collect on this issue is that it has been known at google since 2.0 was released. They were having a problem keeping a connection using MPPE 128 over PPTP so instead of releasing something that did not work right, they removed support for it until a later date. Said date has not been determined.
I will keep you posted as I find out more.
roebeet said:
Tried your link, getting the same error I've seen in the past:
Code:
pppd: This system lacks kernel support for PPP. This could be because
the PPP kernel module could not be loaded, or because PPP was not
included in the kernel configuration. If PPP was included as a
module, try `/sbin/modprobe -v ppp'. If that fails, check that
ppp.o exists in /lib/modules/`uname -r`/net.
See README.linux file in the ppp distribution for more details.
I think(?) we need a customized kernel with ppp. So far, we have NTFS and CIFS support that's been added by some of the devs, here.
Click to expand...
Click to collapse
I came across this too. Since the ppp directory exists under system/etc I have made the assumption that there is support for it (at least under ztab 3.0). In order to check using the method above we would need a terminal app or some other way to run the commands. If there is a way to do it natively I am too new to know.
Any devs willing to tackle this issue?
Newanzer said:
No luck. The PPPD file didn't make a difference. I guess I should not have been surprised. The L2TP connections are supposed to work so I may try that tomorrow - if I can convince the network admin to make the changes on the vpn server.
...
I will keep you posted as I find out more.
Click to expand...
Click to collapse
No luck. The Net Admin decided it would be too much work just for a tablet test (and his iPAD VPN work just fine thank you). Anyone willing to try a L2TP test?
I have tried L2TP in Vegan with no success. used my android phone to verify settings and it works fine from there.
nephelim said:
I have tried L2TP in Vegan with no success. used my android phone to verify settings and it works fine from there.
Click to expand...
Click to collapse
Ok so that is 2 ROMs down:
TNT Stock - No option
Vegan - Not functional
Just need TNT light and Zpad Clean v3.0 tested. I'm suspecting that it will be no for both. This is starting to creep higher on my list of needs. Does anyone know of a ROM VPN works in?
I confirm that the advent vega rom has the same problem.
Unable to use vpn.
Newanzer said:
Ok so that is 2 ROMs down:
TNT Stock - No option
Vegan - Not functional
Just need TNT light and Zpad Clean v3.0 tested. I'm suspecting that it will be no for both. This is starting to creep higher on my list of needs. Does anyone know of a ROM VPN works in?
Click to expand...
Click to collapse
Do you need tun.ko/kernel support for this stuff? Clemsyn compiled that into one of his kernels - check his thread in the Development forum out, and give that kernel a try with the Vegan ROM, that might get you closer.
rcgabriel said:
Do you need tun.ko/kernel support for this stuff? Clemsyn compiled that into one of his kernels - check his thread in the Development forum out, and give that kernel a try with the Vegan ROM, that might get you closer.
Click to expand...
Click to collapse
That could be worth the check. I would like to see a list of exactly what his kernel supports before I try though.
[EDIT]: Checked change log. VPN module in kernel not mentioned.
Looking over the list of known issues at Google, this problem has been known for a while. The fact that Google hasn't addressed it worries me a bit. It is possible that since phones are the largest part of their OS client, VPN isn't a high priority. They may be waiting for the open source community to solve their problem for them.
Was able to get VPN working
YOU WILL NEED TO HAVE ROOT AND BUSYBOX INSTALLED. PLEASE MAKE A BACKUP IN CASE SOMETHING GOES WRONG.
1st you will need the new kernel found at the below address.
http://forum.xda-developers.com/showthread.php?t=903505
2nd you will need to insert the tun.ko included in with the kernel into /system/lib/modules/2.6.32.27-cyanogenmod folder on the tablet using root explorer.
3rd you will need to install the latest version of vpn from
http://code.google.com/p/get-a-robot-vpnc/downloads/list
4th install a terminal emulator and then you will need type the following commands
su (press enter)
cd /system/lib/modules/2.6.32.27-cyanogenmod (press enter)
insmod tun.ko (press enter)
You should now be able to connect on VPN.
there is very easy installation get and run vpn frome purevpn........
brainyjd said:
YOU WILL NEED TO HAVE ROOT AND BUSYBOX INSTALLED. PLEASE MAKE A BACKUP IN CASE SOMETHING GOES WRONG.
1st you will need the new kernel found at the below address.
http://forum.xda-developers.com/showthread.php?t=903505
2nd you will need to insert the tun.ko included in with the kernel into /system/lib/modules/2.6.32.27-cyanogenmod folder on the tablet using root explorer.
3rd you will need to install the latest version of vpn from
http://code.google.com/p/get-a-robot-vpnc/downloads/list
4th install a terminal emulator and then you will need type the following commands
su (press enter)
cd /system/lib/modules/2.6.32.27-cyanogenmod (press enter)
insmod tun.ko (press enter)
You should now be able to connect on VPN.
Click to expand...
Click to collapse
Sorry for asking this noob question, but is this VPN fix only for Cyanogenmod, or will work with others, such as TnT Lite?
I'm running TnT lite and there no's VPN setup option.
tnt is missing the vpn shortcut
use VPN Show
Kazuyuki Eguchi/Tools
found in android market to access the vpn menu
i have used with sucess on most roms open vpn and open vpn settings
with out problems just by install them and setting it to auto run at start
with install to xbin and create a folder on internal sd "openvpn"
then place a vpn.conf file there
then connect this cause an error but causes super user to give it root rights
after that all my vpn,s work with out going near openvpn
purevpn said:
there is very easy installation get and run vpn frome purevpn........
Click to expand...
Click to collapse
Please elaborate...
Thanks!

Cant keep webtop working stable

Below,I will list the steps I do to setup my webtop,I am using webtop2sd on a 32GB PNY Class 10 card, and used a 2GB Transcend (not sure on class,im sure its old) card to test with, same results with both pretty much,so I think something im doing is causing it to stop working.
What happends when it stops, is it just wont come up anymore. When I plug the phone into my lapdock, I either get a bluebox with an HDMI not found error (I'm assuming from the dock itself), or the red moto logo that just moves around. I would try resetting the phone, and reinstalling the executable through the webtop2sd app, and it still wont launch. This has happened about 5 times so far, I would get it setup how I would want it to be,then it stops working.
So here is what I would do (there is a phone reboot between each step pretty much)
1. Use my PC to partiton the SD card, ~22 GB FAT32 followed by an ~8GB ext3
2. Use webtop2sd to create the webtop, default settings, aside from the missing dock fix, which I only used 2-3 out of the 5 times I ran it
3. Once I am in the new webtop, I would install terminal and synaptic,then reboot.
4. Then I would run the webtop scripts, version 1.4, hitting yes to everything, then a reboot
5. I would check to see if synaptic is installed, the last time i did this, I had to use aptitude to install it.
6. Once I got synaptic up,I would use it to install the xfce4 package. Just about everytime I would go to install it,I would get an error on the "tzdata" package, the only way I could get past it,would be to uninstall tzdata, then most of the time,whatever I would go to install would reinstall it anyway. This does concern me, because when I remove tzdata, it appears to be tied to a critical package, which may be the source of my problem,but I am not sure.
7. Once I would get xfce4 installed,I would add xfdesktop and xfce-panel to the startup list (those may not be the exact package names,there is another thread I reference for that, can't remember atm, nor can I remember the exact name of that startup file, but its on this forum somewhere). I would also comment out the awmdock one and the webtop desktop one as well.
8. I would reboot,and it would actually boot up xfce4 just fine, the only gripe I have,is that I would usually get an error on the trash service needing thunar, when it is already installed. The one time,I was able to install open office, and test out some youtube videos.
9. At about this time, I would reboot my phone to see if it still works, then I would get the "bouncing moto logo of death" on my lapdock screen, and would have to start over.
One other unrelated note,about every other time I would reboot my phone, it would come up saying SIM card not installed, so I would reboot it again to fix the problem. So there were normally 2 reboots when a reboot is required.
So,I guess I would ask a few direct questions about my problem
1. Has anyone else had a problem with the tzdata package? Is there a way around it without uninstalling it?
2. Could the full xfce4 package be breaking the webtop? Do I only need certain packages out of it?
3. Even though I tested this on 2 different SD cards, could my problem be that the files are just getting corrupted on the card? Its pretty consistant though, I canpretty much say "Look,my awesome webtop is now setup how I want it to be, now watch me reboot my phone to see it not work anymore" everytime I go to set it up.
Info on my phone:
Stock firmware, unlocked bootloader, cwm installed (I thought I needed it,but not for webtop2sd) and rooted running latest webtop2sd. I havent messed with the stock webtop on the phone itself, i rather not since I like having it as a backup.
Btw, I am a bit of a linux n00b, I've pretty much just been reading what other people have been doing. Any help would be appreciated, thanx
You sure like to mod the webtop. Lol jk.
I have no issues and I have webtop with the Lapdock with the Ninja ROM. My phone is bootloader unlocked and rooted. I personally think you modded too much if that's possible. If I were you, I would start over and try webtop with stock firmware or a ROM with a fresh sd card. That way you can know if your phone has a hardware issue or if you modded too much. Hope this helps.
Sent from my Atrix XDA Premium App
I can assure you that your phone is more modded than mine is, since im running stock firmware. What I'm doing is really not that much modding, I'm just trying to get a better interface running on the webtop, which people have posted saying they have the same one working on theirs. Its also not that I can't get it working, its really not hard, just time consuming, I just need to know why it keeps breaking on phone reboots...
teeth_03 said:
I can assure you that your phone is more modded than mine is, since im running stock firmware. What I'm doing is really not that much modding, I'm just trying to get a better interface running on the webtop, which people have posted saying they have the same one working on theirs. Its also not that I can't get it working, its really not hard, just time consuming, I just need to know why it keeps breaking on phone reboots...
Click to expand...
Click to collapse
I honestly think you should try some of my suggestions. I think starting fresh is your best option. When something doesn't wok right or something goes wrong. Starting fresh can fix your issues.
Sent from my Atrix XDA Premium App
I've formatted the SD card about 6-8 times nowsince I got my lapdock 3 days ago
teeth_03 said:
I've formatted the SD card about 6-8 times nowsince I got my lapdock 3 days ago
Click to expand...
Click to collapse
Have you tried reflashing the phone yet with new firmwares or ROMS?
Sent from my Atrix XDA Premium App
why would I do that when the issue has something to do with the files on the SD card?
webtop2sd copies the webtop files from the phone, to the SD card,so the files on the phone are basically out of the equation at that point. So its not a problem with android,but with the other linux files from webtop on the SD card
Oh ok. Well have you tried an all new sd card yet?
Sent from my Atrix XDA Premium App
teeth_03 said:
Below,I will list the steps I do to setup my webtop,I am using webtop2sd on a 32GB PNY Class 10 card, and used a 2GB Transcend (not sure on class,im sure its old) card to test with, same results with both pretty much,so I think something im doing is causing it to stop working.
Click to expand...
Click to collapse
yeah......
I think I fixed it. by finding this little piece of info
http://forum.xda-developers.com/showpost.php?p=18465066&postcount=3
I believe tzdata has been my problem for he past like 3 days I've been messing with this
It has been running great for the past day. XFCE4 is a large improvement over the standard webtop.
Of course, I ran into another snag, I need to access windows network shares, and Samba doesn't seem to be functioning, specifically, the samba-common package wont install correctly.
This user was able to fix it:
http://forum.xda-developers.com/showpost.php?p=19132707&postcount=19
But I have no idea how to fix the read/sym links. Can any linux gurus here explain how that is fixed? Thanx guys!
teeth_03 said:
It has been running great for the past day. XFCE4 is a large improvement over the standard webtop.
Of course, I ran into another snag, I need to access windows network shares, and Samba doesn't seem to be functioning, specifically, the samba-common package wont install correctly.
This user was able to fix it:
http://forum.xda-developers.com/showpost.php?p=19132707&postcount=19
Click to expand...
Click to collapse
Yeah his post was kind of light on the details.
What it looks like is that when the /var/lib/dpkg/samba-common.postinst script is run by dpkg --configure -a it calls a program named ucf that in turn wants to run the symbolic link of "readlink" located in /usr/bin.
This is where i got stuck. I am by no means a linux guru.
I tried deleting the symlink to force ucf to use the "readlink" in the path, tried setting the symlink to point to the "readlink" located in /system/bin and in /system/xbin, and set the symlink to the busybox in /system/bin and to the custom busybox webtop2sd uses in /system/etc/webtop2sd but it did not help.
The output of dpkg changed slightly depending on which "readlink" ucf used but still the same error, "readlink: invalid option", and no samba-common.
Btw my busybox is 1.19.3
2.3.5 webtop on sdcard with fixed dependencies
A little help would be appreciated.
I was told on IRC that the actual problem is that the stock kernel does not include CIPs support, which is what is required for connectivity
but I still dont like the fact that samba package is still broken...
I'm using faux123's 0.2.3 kernel though, which might have CIPs support. Its hard to tell from the changelog and features listed in his kernel thread. Btw the 0.2.3 kernel fixes the broken top panel.

[Q] Very specific Webtop2sd Question - LXterminal Crashes

I recently bought a lapdock, and I've been fighting and moving through to try and get the mod to work, but now I've hit a dead end that I can't beat.
I'm on the latest "lite" version of the WetDream ROM and I'm using the webtop that was preinstalled with it. I've got a 2gb partition set up on webtop2sd. My problem is that I can't get LXterminal to launch. Webtop configurator successfully installed Synaptic; firefox and AWN manager work fine as well, but I am at a dead end without a terminal. I tried installing others from synaptic, but even the simplest one (xvt) had a single, unfulfilled dependency. I've tried everything that I know how to try, including multiple installs of the ROM and of Webtop2sd.
Can anyone lend a hand?
EDIT: I also tried flashing the webtop-mod from this thread: [WEBTOP] 2.3.4 webtop fixed image [CWM Install] V1 . It gives me the same problem with lxterminal.
(Note, I would have posted here but I don't have enough posts.)
Thanks.
Please excuse the double post; I'm not intentionally bumping my thread.
I have found a "solution." I'm in the process of repairing my webtop now. My situation seems to be very unique, but I'd like to document it in case anyone comes along and has it again.
The trick I used was completely external to my Atrix, though. Without a terminal, I couldn't access tar or bash, but I could run single commands by making a custom entry on the modified AWN. So, here we go.
For anyone who has tried repeatedly to use Webtop2sd but has always lacked terminal access, here's my method.
Requirements: Access to a linux system, rudimentary knowledge of the terminal, or any other method of mounting your webtop2sd partition on a system with access to tar and permission changing methods.
****WORKING Awn Manager in webtop
Download the Dependency fixing scripts.
Mount your Webtop2sd partition and manually extract the scripts to their location in /usr/share/WebTopScripts/
Boot your device to webtop and setup a custom entry in Awn Manager with the following command:
"sudo bash /usr/Share/WebTopScripts/fix-apt-get.sh" (This should work with most versions of the script; also, no quotes in the actual command.)
That was enough to get Lxterminal working and gives me access to all the other mod methods on the forum that assume you have access to a working terminal. It's not really very helpful for Windows or Mac users, but it's the only thing that I could manage.
Feel free to close the thread, mods.
You gotta make sure to install LXTerminal from the Webtop Configuration applet where you installed Synaptic.
Sometimes it refuses to install at first so you have to try several times until it budges.
Try closing and opening the configuration window until you see both synaptic and LXTerminal buttons greyed out.
Sent from my Atrix 4G using Tapatalk
I'm almost certain that it was installed before (it was marked as present in synaptic), but just refusing to launch.
However, I broke my webtop just before getting it how I wanted it, so when I have time to give it another try, I'll see if being a little more persistent with it this time will work.
EDIT: Wow, the next 2 times that I had to install webtop, lxterminal worked just fine. Now I just have to get the scripts to actually fix all the dependencies and not end up with a broken webtop after installing software.

cifs.ko module / Busybox / mounting CIFS shares

Hello all. In the last 24 hours I've racked my head against a wall and I can't seem to get past this. So some pointers would be very welcome.
Backstory - Been doing backups of Titanium Backup onto my Nexus 9 (16GB internal storage) and I'm running into problems with running out of storage space. So I thought I'd look into doing a CIFS share mountpoint to my tablet and backup directly to the CIFS shares on my FreeNAS box. I figure a couple TB of storage is enough to store my Titanium Backups.
So first I read about CIFS Manager. Seems it may be discontinued or not functional on Lollipop.
Then I read about Busybox. Very cool, I think I'd marry Busybox if it was a woman. It seems so amazing I bought the Busybox Pro version.
So I tried to mount the CIFS/SMB share but I keep getting the dreaded "no device found" which means the cifs.ko isn't loaded. Apparently it's not in OS by default, so I need to compile it. (I'm not against someone giving me the .ko file, but I'd rather learn how to fish for myself than expect someone to give me a fish when I'm hungry) I have no clue how to compile it or even where to start to get a resemblance of the necessary steps. My experience is mostly Windows and FreeBSD, with only enough knowledge of linux to be very dangerous. I've tried searching all over for some kind of guide, pointers on what files I need to get, where to go to compile, etc but there seems to be nobody out there with any kind of good guide, even an outdated one I could use to fill in the blanks. I was hoping to put together a fairly detailed guide that includes steps on how to compile the cifs.ko yourself from source as well as mount your share on the device for whatever purposes you desire. But I'm finding that there is basically no info online on how to do this, where the source is, how to compile it, etc. If you know how to do this and are willing to help me write the guide (I've written quite a few articles on FreeNAS and ZFS) I'd be more than happy to give you some credit. I have no doubt lots of people will use the document once it is created.
Alternatively I considered doing the same with NFS but again I'd need to compile the nfs.ko module, so I'm stuck at the same point there.
Anyone have any pointers on how to do this? Or, anyone have any other options that will work just as well that allow me to not have to store the actual titanium backup files locally?
About the only thing I can find is someone saying that you need a Linux VM, the kernel sources, sdk, some knowledge in unix, and patience. But hell, I don't know if by saying "kernel sources" they are talking about the kernel source for the Linux VM or the Android OS I'm running (or both), if the SDK is referring to the Android SDK or not, etc.
Thanks in advance!
Joshy8 said:
Or, anyone have any other options that will work just as well that allow me to not have to store the actual titanium backup files locally?
Click to expand...
Click to collapse
I was in the same boat as you a few years back. Basically I would root, find a kernel that had the CIFS module, then use CIFS Manager to mount the shares. I would also use rsync & busybox. This stuff is tricky. The command to get Android to mount the shares, the CIFS module and kernel always has to be up to date, changes in busybox, etc.. I dreaded Android system updates. It starts to feel like a Rube Goldberg machine.
I started using an app called FolderSync (there's a paid version, too) and never looked back. It works quietly in the background and have never had any problem with it. It's one of the best apps on Android.
I do thank you for the advice, but that's how I've been doing backups for several years. I bought it back when the original Droid phone came out.
However in this case, since my tablet has only 16GB of internal memory and you can't easily have permanently attached external storage I'm forced to come up with an alternative of some kind.
I have had some problems lately with FolderSync. Not sure exactly what the problem is, but FolderSync seems to have issues from time to time and it gets stuck on random files and never finishes, even if left to complete for several days. I've had this issue randomly on 3 different devices, and one of my friends that also uses FolderSync has had the same issue on his. So I'm pretty sure there's a bug of some kind in FolderSync that sometimes breaks it.
Anyway, since my tablet has only 16GB of internal memory and you can't easily have permanently attached external storage I'm forced to come up with an alternative where the data is never actually stored on the device itself. :/
I know this isn't the answer you were looking for, but have you seen these:
http://www.meenova.com/st/p/mrg2.html
It's the closest thing I've found to convenient usable external storage.
Sent from my Nexus 9
The Fire-Ice kernel (http://forum.xda-developers.com/nexus-9/orig-development/kernel-fire-ice-t2930451) supports CIFS. I use it to connect to my SAMBA linux server. I also did the following, not sure if both of these are necessary: set SELinux to permissive with SELinux Mode Changer, and use the "patched" version of CIFS Manager (found on this forum).
I'm still hoping somebody will just write or cross-compile a FUSE module (like SMBnetFS) that works on all rooted devices, so we don't have to rely on custom kernels/modules anymore...
Since you asked for alternatives, you can also just get an OTG cable and hook up a USB stick or external HD to your phone (needs root and an app like StickMount).
Thanks for the reply. Been a bit busy with life stuff and just finally got to sit back down and look at this again.
I agree that a FUSE module would be useful for something like this. I don't have a need for high performance with regards to this problem, so a FUSE module would seem very appropriate.
I do have an OTG cable and I do have a 64GB thumbdrive I can use. I was just hoping for something that was a little non-obtrusive and passive so that I'm not actively having to be involved in the backup process itself. As soon as someone in the meat-world has to take active steps to make a backup every time, that's when backups typically stop happening, and then the next thing that happens is data loss. So I'm trying to remove myself from the equation as much as possible.

Request kali nethunter

Dear Santa can you please port kali nethunter to z5 compact.
+1
Ha, been playing with Kali on LinuxDeploy here and there. Have to say though, NetHunter looks like a nice porting project....... Wish I knew how to port properly.
Have been trying to learn how to do all that is needed for the port.
Started of course here https://github.com/offensive-security/kali-nethunter/wiki#70-porting-nethunter-to-new-devices
Grabbed what is needed https://github.com/offensive-security
Then moved over to Sony for this http://developer.sonymobile.com/open-devices/how-to-build-and-flash-a-linux-kernel/how-to-build-and-flash-a-linux-kernel-for-aosp-supported-devices/
Grabbed the Xperia Binaries here http://developer.sonymobile.com/downloads/tool/software-binaries-for-aosp-marshmallow-6-0-1/
Lots of readmes and errors so far, lol but a mistake is the best learning experience.
I'll keep trying when I have time but till then Yeah Nethunter would be a nice port:fingers-crossed:
Tingles said:
Ha, been playing with Kali on LinuxDeploy here and there. Have to say though, NetHunter looks like a nice porting project....... Wish I knew how to port properly.
Have been trying to learn how to do all that is needed for the port.
Started of course here https://github.com/offensive-security/kali-nethunter/wiki#70-porting-nethunter-to-new-devices
Grabbed what is needed https://github.com/offensive-security
Then moved over to Sony for this http://developer.sonymobile.com/open-devices/how-to-build-and-flash-a-linux-kernel/how-to-build-and-flash-a-linux-kernel-for-aosp-supported-devices/
Grabbed the Xperia Binaries here http://developer.sonymobile.com/downloads/tool/software-binaries-for-aosp-marshmallow-6-0-1/
Lots of readmes and errors so far, lol but a mistake is the best learning experience.
I'll keep trying when I have time but till then Yeah Nethunter would be a nice port:fingers-crossed:
Click to expand...
Click to collapse
Have you seen this? https://github.com/offensive-security/kali-nethunter/wiki/Modifying-the-Kernel
donthomaso said:
Have you seen this? https://github.com/offensive-security/kali-nethunter/wiki/Modifying-the-Kernel
Click to expand...
Click to collapse
yeppers, and thanks for pointing that out for others to discover.
My problem right now is my setup. VMWare-Kali Guest, openjdk-8 blah blah blah...... I just started playing about a week ago and trying to watch my bandwidth.
Started a VMWare-Ubuntu Guest today because all the help files I was reading was using that OS so figured a bit easier to follow, and now my USB adapter is disconnecting like a mofo so it's hard to grab files/repos.
No worries gonna keep playing, I had an Xperia X10 before my Z5C. Scriptkiddied my way to years of enjoyment, but this time I wanna learn a few things of my own.
jing000l said:
+1
Click to expand...
Click to collapse
Tingles said:
yeppers, and thanks for pointing that out for others to discover.
My problem right now is my setup. VMWare-Kali Guest, openjdk-8 blah blah blah...... I just started playing about a week ago and trying to watch my bandwidth.
Started a VMWare-Ubuntu Guest today because all the help files I was reading was using that OS so figured a bit easier to follow, and now my USB adapter is disconnecting like a mofo so it's hard to grab files/repos.
No worries gonna keep playing, I had an Xperia X10 before my Z5C. Scriptkiddied my way to years of enjoyment, but this time I wanna learn a few things of my own.
Click to expand...
Click to collapse
@donthomaso
How you guys going with this?
I compiled a NetHunter kernel (Image.gz-dtb) and modules for Android 6 on the Z5C, added my device to my forked nethunter-devices repo, updated with bootstrap.sh, made the installer package with build.py, and Installed. It mostly worked. I wasn't able to test wifi hacks as Im still waiting on a wireless usb dongle to arrive in the post, but chroot successfully installed and I could download the various packages. I could open msf console or wifite without a hitch.
Issues. (in random order)
1. We need an official TWRP build/ The kernel patcher within the installer package wont work; would brick my phone so badly I couldn't even boot in to recovery, so now I modify the ram-disk manually on my pc and flash the boot.img before installing NetHunter. I contacted @jcadduono about this. Based of the recovery log submitted he is convinced the issue is caused by unofficial/half broken TWRP build for the Z5C. Iv tried a few different TWRP builds including my own. All have the same issue, so at this stage Im installing via a modified "nethunter-E5823-nougat-nobrand-kalifs-minimal-xxxx.zip", that installs the kernel modules but doesn't touch the actual kernel.
2. Boot animation/wallpaper installer. What is needed behind the scenes when changing wallpaper and boot animation is a little different in Sony devices to Nexus or Onepluss. In short to change the boot animation in Z5C you need t install the new animation to /oem/media as well as system/media, otherwise it wont work. https://mega.nz/#!phAS1R7C!9D8PvwpEyIk7IO7hzan9EumvvZCPvNDyzN2Pqe2fnXg (Z5C Kaliboot animation installer.zip) for you guys to look at as an example.
Also the section of script that selects the kali-wallpaper permanently breaks the phones ability to select any wallpaper, so Ill change it to add the wallpaper and the user can select it after installation.
3. DriveDroid wont work...despite patching the kernel. Not widely tested though. My Asus laptop never detects my phone as anything other then my phone (not usb or iso or cd) and wont detect it at all in efi. Iv only tested this with the DriveDroid test.img. It might work with SliTaz or for anyone who actually follows the readme within the app.
4. WiFi -promiscues mode... Not tested as Im waiting on a dongle. If anyone knows of a tried and tested wireless usb dongle that works in a Kitakami divice with custom kernel compiled with the suggested .config for NetHunter then please let me know. The Panda PAU05 Wireless usb doesn't work out of the box. The Source Code and makefile supplied for compiling the driver is for Fedora, and wont cross compile on ubuntu without a re write of the makefile...
Issues with Android 7.0
5. Kali-Terminal. For some reason the kali terminal and chroot manger are partially broken in my Nougat version of NetHunter.
for NH to work at all after installing, I have to open (any) other terminal app. run
Code:
bootkali
before the NetHunter terminal will do anything other then FC. I have to do this after every reboot.
Any package selected for download in the chroot manager wont download, but when
Code:
apt-get install <nethunter package>
is manually typed in to the terminal it downloads, installs and runs perfectly. This might have something to do with init.nethunter.rc or /etc/usb_config.sh installed in the ramdisk for NetHunter Nougat, but Im not sure.
6. I got a kernel panic when connecting to Metasploit server for the first time.... hasnt repeated though.
Was thinking about making a system-less install version of NetHunter...
That's as far as Iv got. If you guys have had more success or want to look at .congfig files or kernel S/C let me know. I want to get this to a point where basic trouble shooting has occurred and easy bugs ironed out before I submit a pull request to the NetHunter test branch and start bothering proper devs with bug reports.
I haven't had much luck getting it to work on nexus 4 or nexus 10 so i gave up on the dream of getting it to work on z5c, not much support for what they call supported devices.

Categories

Resources