[Q] tun.ko for Samsung Intercept.. - Android Q&A, Help & Troubleshooting

I'm tearing what little hair I have left out trying to get OpenVPN working on my Samsung Intercept. The unit is rooted, I've installed OpenVPN and the gui manager app from the market. I get all the way up to connecting to my OpenVPN server, and a check of the log and dmesg shows the following after an insmod tun.ko:
tun: version magic '2.6.32.9 mod_unload ARMv7' should be '2.6.32.9 mod_unload ARMv6' .. The tun.ko I found on another board claimed to work on the Samsung Intercept with Froyo.. guess it doesn't.. So, I've googled until my fingers are tired to find a tun.ko that will work and had zero luck, so I wonder if there is any tutorial on what is needed/how to build a tun.ko for a Samsung Intercept. I've downloaded the kernel source from Samsung, but have had zero luck in finding any info on what toolchain is needed to compile modules on a 32bit Linux platform. I realize this would be a cross-platform setup for an Armv6 . I'm quite familiar with Linux, and Linux software building, having begun my Linux adventure back in 1994 with Slackware. I'm significantly less familiar with Android.. HELP!!

Related

[Q] urukdroid with hauppauge wintv aero dvb-t

hi.
i wish to get my dvbt dongle working in urukdruid, i own a hauppauge wintv aero.
the driver i loaded is smsusb which should be fine, because under opensuse 11.4 it works great witch this module, and like in opensuse i copied the right firmware from hauppauges side into
/lib/firmware.
dmesg recognized the stick, but by loading the firmware causes an error in dmesg:
...
usb 2-1: firmware: requesting sms1xxx... .fw
init: untracked pid 1565 exited
smscore_set_device_mode: firmware download success: sms1xxx....fw
the end is that there are no devices like /dev/dvb0* or else and no tuner available
lsmod | grep dvb
does only give me
dvb_core
dvb_usb
while lsmod sais that
smsusb
smsmdtv
are loadet. someone any ideas?
another problem is that urukdroid sometimes freezes by pluggin in the dvbt dongle!
thnk you for reading!
If your device is not supported by the linux kernel, it probably won't work. Check the list here: http://linuxtv.org/wiki/index.php/DVB-T_USB_Devices
Also, you can't really use the same drivers on an Android device from a Desktop/Laptop/Netbook due to differences in hardware. At least, that's my limited knowledge. Good luck!
sure...
but the drivers i use are build by sauron for urukdroid dvbt usage, and they are similar named like the drivers for opensuse so i guess they are te same only build for urukdroid kernel.
i think i use the right modules and the problem depends on the firmware implemetation, what i read is that its possible to use a firmware that didnt come with urukdroid.
i think it should work im using linux now for years, the problem is not the wrong module or firmware, both should work in urukdroid, the problem seems for me to be anywhere else.
maybe usb or kernel itself im not sure.
any more ideas to solve that?
sauron where are you?
btw not all devices that work are listet on the page! it doesent depent on the modell it depends on firmware and build in chip...
my modell isnt listet i know but with the firmware at /lib/firmware it works out of the box, driver is in kernel.

Heimdall for Linux? glassechidna.com.au seems to be dead?

Is Heimdall the correct tool for rooting my Galaxy Note, installing CWM, etc?
I did some digging, and it seems the Windows tool is Odin, but the Linux/MacOS tool is Heimdall?
I can't get to http://www.glassechidna.com.au, as it seems to be dead.
But, being new to this, is it just a temporary outage? Or should I be looking elsewhere?
Thanks,
-Mark
I found alternate downloads for heimdall 1.3.1 and 1.3.2. However, I'm trying to install on Oracle Linux 6.3, which uses GLIBC 2.12, and heimdall seems to have a dependency on GLIBC 2.14.
Sigh....
-Mark
PS For all intents and purposes, Oracle Linux 6.3 is equivalent to RedHat Enterprise Linux 6.3 and CentOS 6.3.
The site is up now. Your best bet is to recompile the source from https://github.com/Benjamin-Dobell/Heimdall
Odin is closed source software, leaked from Samsung and is Windows only.
Heimdall is open source, cross platform. I haven't used it in a long time, but I used to with my Captivate. I felt safer with it than Odin, but that is just my opinion.
There are thread on Xda for it. I haven't been keeping up with any progress they've made with it though.
mbobak said:
Is Heimdall the correct tool for rooting my Galaxy Note, installing CWM, etc?
I did some digging, and it seems the Windows tool is Odin, but the Linux/MacOS tool is Heimdall?
I can't get to http://www.glassechidna.com.au, as it seems to be dead.
But, being new to this, is it just a temporary outage? Or should I be looking elsewhere?
Thanks,
-Mark
Click to expand...
Click to collapse
Sorry Mark, the website should be up again now. We've had a few problems with our VPS since we migrated nodes. Hopefully it stays up now!
mbobak said:
I found alternate downloads for heimdall 1.3.1 and 1.3.2. However, I'm trying to install on Oracle Linux 6.3, which uses GLIBC 2.12, and heimdall seems to have a dependency on GLIBC 2.14.
Sigh....
-Mark
PS For all intents and purposes, Oracle Linux 6.3 is equivalent to RedHat Enterprise Linux 6.3 and CentOS 6.3.
Click to expand...
Click to collapse
You should be able to compile from source with GLIBC 2.12...
I think my bedframe from ikea is called Heimdall...

Cifs cause crash and reboot

Hi all,
I begin with compilation and development with kernel for mobiles devices and specially with touchpad.
I tried to use my touchpad like a "micro" server (like i could do with raspberry pi), then i installed ubuntu 12.10 with this topic:
http://forum.xda-developers.com/showthread.php?t=1304475
I installed ubuntu 12.10 and use CalcProgrammer1 kernel (uImage.Ubuntu), it works great for what i want to do...
But now i would add cifs support because the kernel doesn't support it..
I tried to recompile Bodden sources but, the touchscreen support and freedreno drivers isn't supported...
Then, i tried a last thing: compile Bodden sources, make modules, cifs.ko
Now, i have cifs.ko but, when i try to load it with CalcProgrammer1 kernel with insmod, il load successfully (i see it with lsmod) but when i try to mount anything with "mount.cifs" or "mount -t cifs" i will crash and reboot directly after i enter the password...
My knowledge isn't very good with that, and i don't know if i can compile cifs.ko with bodden source, use CalcProgrammer1 kernel and load cifs.ko with insmod..
Thank you very much :highfive:

Linux?

Has anyone so far got any form of linux (vnc or framebuffer or any way it might work) on our tablet? A while ago i saw @Stevethegreat write about it in the androplus kernel thread and i'm wondering if anything came out of that. It would be really nice to get debian or ubuntu on here because my note 10.1 is getting quite slow for more demanding programs with its weedy 1.4 ghz exynos while the 810 would probably do amazingly well. By the way in case anyone was about to suggest it-- the linux deploy or complete linux installer apps don't seem to work on this tablet (stock rooted and androplus kernel), linux deploy fails at the beginning of the install and complete linux installer just plain force closes when trying to start the linux.... Any ideas?
What do you want to run on the tablet?
Graphic-wise I do not miss anything.
With a terminal emulator and busybox or adb-shell the commandline takes me far...
I could even cross compile some arm-binaries if I had the itch.
For my server needs I have a Raspberry Pi2 (seafile, carddav, caldav) for < 50 EUR with nice case and power supply. Eats < 10 EUR electricity/year.
DHGE said:
What do you want to run on the tablet?
Graphic-wise I do not miss anything.
With a terminal emulator and busybox or adb-shell the commandline takes me far...
I could even cross compile some arm-binaries if I had the itch.
For my server needs I have a Raspberry Pi2 (seafile, carddav, caldav) for < 50 EUR with nice case and power supply. Eats < 10 EUR electricity/year.
Click to expand...
Click to collapse
I mostly need propper linux to run exagear desktop which enables x86 programs to run on arm so that these tablets can be used as a intel laptop replacement . While it runs fine on my pi2 that is really a bit too weak even at 1 or 1.2 ghz and while it is faster on the old note i bet the 810 would make it approach the speeds of a entry level or mid range intel laptop and increase usability by alot. It also seems to me a bit weird how the apps i wrote about in the first post simply do not work on the z4tab even with selinux on premissive and such.
I don't own the tablet so I can't be 100% sure. However if you compile a kernel with Virtual Terminal support and follow the linux guide I wrote for Note 10.1 2014 tablet , I'm mostly positive that you'd get a rather responsive linux implementation. You have to forget hardware acceleration though (as it is dependant to the particular architecture of each and every device), unless you found a way to implement it...
Stevethegreat said:
I don't own the tablet so I can't be 100% sure. However if you compile a kernel with Virtual Terminal support and follow the linux guide I wrote for Note 10.1 2014 tablet , I'm mostly positive that you'd get a rather responsive linux implementation. You have to forget hardware acceleration though (as it is dependant to the particular architecture of each and every device), unless you found a way to implement it...
Click to expand...
Click to collapse
This guide? http://forum.xda-developers.com/gal...-to-install-gnu-linux-samsung-galaxy-t3239809
I will try it but first i need to figure out why the linuxdeploy itself wont work... But thank you anyway, no hardware acceleration is more than good enough for my needs
ml11ML said:
This guide? http://forum.xda-developers.com/gal...-to-install-gnu-linux-samsung-galaxy-t3239809
I will try it but first i need to figure out why the linuxdeploy itself wont work... But thank you anyway, no hardware acceleration is more than good enough for my needs
Click to expand...
Click to collapse
Yeah, but you have to edit some of the files there. For example the kernel used there is obviously for Note tablet, *don't attempt to flash it to Xperia tablet* it will brick it. Also you'd have to edit the xorg.conf fille that you have to copy to the first step (follow the explanation part).
If you do the above two probably both the quick guide and the full guide would work. If not it would mean that I'd have to update my LinuxCanvas app, in which case someone should donate to me an Xperia tablet Z4
Stevethegreat said:
Yeah, but you have to edit some of the files there. For example the kernel used there is obviously for Note tablet, *don't attempt to flash it to Xperia tablet* it will brick it. Also you'd have to edit the xorg.conf fille that you have to copy to the first step (follow the explanation part).
If you do the above two probably both the quick guide and the full guide would work. If not it would mean that I'd have to update my LinuxCanvas app, in which case someone should donate to me an Xperia tablet Z4
Click to expand...
Click to collapse
One would have to be pretty mad to go trying to install Linux on a tablet and then flash a kernel from a samsung to a sony xD But yeah... i will try it IF this Linux Deploy will get about maybe working for a change...
ml11ML said:
One would have to be pretty mad to go trying to install Linux on a tablet and then flash a kernel from a samsung to a sony xD But yeah... i will try it IF this Linux Deploy will get about maybe working for a change...
Click to expand...
Click to collapse
Yeah I know, I just want to be clear so that nobody (of those reading here) would attmpt that and suddenly think that I was the one that bricked his device. I can do without such charges
As for linuxdeploy, I use version 1.5.3 in my guide as it is the one with less issues. I gave a link there to the apk. Try it and see how it goes.
ml11ML said:
Has anyone so far got any form of linux (vnc or framebuffer or any way it might work) on our tablet?
Click to expand...
Click to collapse
Linux deploy 1.5.6, current from play store, works well for me on a rooted SGP771, of course with an Andro+ kernel. Using armhf gave the least problems to get a Ubuntu or Debian installed with graphics via a local or remote VNC viewer.
Since the Z4T is 64 bits, I however aimed to install an arm64 architecture. Here, the success rate is lower, which is mostly due to packages that cannot be installed and a bug in tightvncserver with arm64 and higher color depth'.
I however finally succeeded with arm64 too, by using Ubuntu wily, LXDE and an x11rdp installed via ssh instead of tightvncserver. Now I'm trying a framebuffer display for speed, power consumption and a higher DPI, but yet without success. Changing DPI for VNC is simple, as Linux Deploy has a setting for it, but using RDP this seems to be tricky.
Did you say which error you get with Linux Deploy? I found it useful to turn on debug and trace output in the settings. The very first issue I had with Linux Deploy, first on the SGP621, later again on the SGP771, was that I tried to use the file method on the external SD card without the necessary permissions. On the Z4T I now use the internal storage instead, it's much faster too.
Unfortunately I'm not a Linux or Android guy, so I need to google solutions for each and every problem I encounter and I don't even think of trying to resolve package installation problems.
My objective is mostly to see how far I can get using Linux on such a lightweight device as the Z4T.
I already had the Eclipse IDE with JDT and CDT running fast enough for productive work. GHC (Haskell) runs too, but not GHCI. Using Linux with a touchscreen only and at such a high DPI is still disappointing. To my surprise, mc works rather well with a tochscreen in a fullscreen terminal via ssh. My holy grail shall however be to see Windows 8.1 running in qemu. I wonder how that will perform. Not so well I suppose. Maybe a combination of Wine and qemu would work ok, where qemu only executes the x86 application code and leaves the OS code behind the Windows APIs up to be executed natively by Wine...
On my raspi2 I use armhf
@vartha
Interesting how far you've come.
On my Raspberry I have no problems (even used LibreOffice on LXDE) with armhf.
armhf (32 bit) gives no problems in package selections so far and should work on the Tablet Z4.
Some background:
https://www.debian.org/releases/stable/armhf/index.html.de
https://wiki.debian.org/Arm64Port
Problems with the tablet could setting up drivers for the qualcomm hardware in your version of Linux.
At least SONY provide the sources for the kernel and heading over to qualcomm there is tons of documentation. Here you look at specific (OEM-) boards. Our tablet is not that exotic.
I doubt you could run a huge operating system of INTEL-architecture due to memory constraints. Windows NT4 or XP might be possible in 3Gbytes host memory.
vartha said:
Linux deploy 1.5.6, current from play store, works well for me on a rooted SGP771, of course with an Andro+ kernel. Using armhf gave the least problems to get a Ubuntu or Debian installed with graphics via a local or remote VNC viewer.
Since the Z4T is 64 bits, I however aimed to install an arm64 architecture. Here, the success rate is lower, which is mostly due to packages that cannot be installed and a bug in tightvncserver with arm64 and higher color depth'.
I however finally succeeded with arm64 too, by using Ubuntu wily, LXDE and an x11rdp installed via ssh instead of tightvncserver. Now I'm trying a framebuffer display for speed, power consumption and a higher DPI, but yet without success. Changing DPI for VNC is simple, as Linux Deploy has a setting for it, but using RDP this seems to be tricky.
Did you say which error you get with Linux Deploy? I found it useful to turn on debug and trace output in the settings. The very first issue I had with Linux Deploy, first on the SGP621, later again on the SGP771, was that I tried to use the file method on the external SD card without the necessary permissions. On the Z4T I now use the internal storage instead, it's much faster too.
Unfortunately I'm not a Linux or Android guy, so I need to google solutions for each and every problem I encounter and I don't even think of trying to resolve package installation problems.
My objective is mostly to see how far I can get using Linux on such a lightweight device as the Z4T.
I already had the Eclipse IDE with JDT and CDT running fast enough for productive work. GHC (Haskell) runs too, but not GHCI. Using Linux with a touchscreen only and at such a high DPI is still disappointing. To my surprise, mc works rather well with a tochscreen in a fullscreen terminal via ssh. My holy grail shall however be to see Windows 8.1 running in qemu. I wonder how that will perform. Not so well I suppose. Maybe a combination of Wine and qemu would work ok, where qemu only executes the x86 application code and leaves the OS code behind the Windows APIs up to be executed natively by Wine...
Click to expand...
Click to collapse
I am now installing the v20 androplus and rooting.. will try again when this is done
vartha said:
Linux deploy 1.5.6, current from play store, works well for me on a rooted SGP771, of course with an Andro+ kernel. Using armhf gave the least problems to get a Ubuntu or Debian installed with graphics via a local or remote VNC viewer.
Since the Z4T is 64 bits, I however aimed to install an arm64 architecture. Here, the success rate is lower, which is mostly due to packages that cannot be installed and a bug in tightvncserver with arm64 and higher color depth'.
I however finally succeeded with arm64 too, by using Ubuntu wily, LXDE and an x11rdp installed via ssh instead of tightvncserver. Now I'm trying a framebuffer display for speed, power consumption and a higher DPI, but yet without success. Changing DPI for VNC is simple, as Linux Deploy has a setting for it, but using RDP this seems to be tricky.
Did you say which error you get with Linux Deploy? I found it useful to turn on debug and trace output in the settings. The very first issue I had with Linux Deploy, first on the SGP621, later again on the SGP771, was that I tried to use the file method on the external SD card without the necessary permissions. On the Z4T I now use the internal storage instead, it's much faster too.
Unfortunately I'm not a Linux or Android guy, so I need to google solutions for each and every problem I encounter and I don't even think of trying to resolve package installation problems.
My objective is mostly to see how far I can get using Linux on such a lightweight device as the Z4T.
I already had the Eclipse IDE with JDT and CDT running fast enough for productive work. GHC (Haskell) runs too, but not GHCI. Using Linux with a touchscreen only and at such a high DPI is still disappointing. To my surprise, mc works rather well with a tochscreen in a fullscreen terminal via ssh. My holy grail shall however be to see Windows 8.1 running in qemu. I wonder how that will perform. Not so well I suppose. Maybe a combination of Wine and qemu would work ok, where qemu only executes the x86 application code and leaves the OS code behind the Windows APIs up to be executed natively by Wine...
Click to expand...
Click to collapse
Well now on marshmallow it works!

[Question] Is there anyway to get a linux running on android?

So i really am looking for a way to get linux possibly debian or ubuntu to get working on my android. tried linux deploy , complete linux installer, gnuroot...no luck. Please helo if you can
Device: xaomi mi4, android 6.0.1 cyanogenmod
Sorry for the necro, but gnuroot debian on the playstore should work! Remember it only installs the backbone of linux via a P-root (like chroot). You would need to install and set-up all dependencies you need to run applications by yourself though! I had no issues running octave (even in gui) and blender. I still have more to learn about bash. Anything that can run on arm64 (if your soc has an instruction set of armv7+). Also since you are rooted, you should be able to get even kernal installed easily, but it will take some time, patience and work!!

Categories

Resources