[Q] kali linux on xoom - fb* kernel issue - Xoom Q&A, Help & Troubleshooting

hello,
i've got motorola xoom MZ604 (wifi-only), and following this link from kali linux, and also this one, i've managed to install kali linux natively on my xoom.
it is booting, i can login, i can connect to internet via wpa_supplicant and other methods, but i have one big issue - i can't get the Xserver to run.
looking it up - it is related to the fb* issue on the nvidia tegra here.
but when i try to recompile the kernel with the fix on that link, the compilation fails everytime.
is there a way to apply this patch to my already installed kali?
or rather - any other way to solve this?
thanks,
Ilan

ilanp13 said:
hello,
i've got motorola xoom MZ604 (wifi-only), and following this link from kali linux, and also this one, i've managed to install kali linux natively on my xoom.
it is booting, i can login, i can connect to internet via wpa_supplicant and other methods, but i have one big issue - i can't get the Xserver to run.
looking it up - it is related to the fb* issue on the nvidia tegra here.
but when i try to recompile the kernel with the fix on that link, the compilation fails everytime.
is there a way to apply this patch to my already installed kali?
or rather - any other way to solve this?
thanks,
Ilan
Click to expand...
Click to collapse
i just planning up install

ilanp13 said:
hello,
i've got motorola xoom MZ604 (wifi-only), and following this link from kali linux, and also this one, i've managed to install kali linux natively on my xoom.
it is booting, i can login, i can connect to internet via wpa_supplicant and other methods, but i have one big issue - i can't get the Xserver to run.
looking it up - it is related to the fb* issue on the nvidia tegra here.
but when i try to recompile the kernel with the fix on that link, the compilation fails everytime.
is there a way to apply this patch to my already installed kali?
or rather - any other way to solve this?
thanks,
Ilan
Click to expand...
Click to collapse
Generally, it's bad practice to patch a compiled kernel. Occasionally I'll run into issues like this and I have to start over in a new source folder and try to recompile from scratch. If it succeeds, you know something was changed in your source other than your patch that borked it. If it fails, it sounds like the patch may not work.

Related

Can uinput be compiled for the g1 debain build? to connect a Wiimote?

Hey everyone,
I've been trying to connect my wiimote in debian. Im new to linux, im kinda putting all the pieces together as i go. wminput and all its corresponding packages seemed to install just fine with 'apt-get install wminput'.
But when I run wminput I get the error "unable to open uinput"
so googled, and managed to find uinput.ko and some general instructions on installing it.
I loaded it into /lib/modules/2.6.29.6-cm41/ and ran 'insmod uinput.ko' and i get the error 'Invalid module format' which im assuming is because it was compiled for an x86 system. modprobe displays a similar error.
I also dont understand the "cm41" in the path /lib/modules/2.6.29.6-cm41/, is that short for CyanogenMod, am I placing this module in my android Filesystem?
Are there any linux guru's around that could compile uinput.c for the g1 debian build? Or simply tell me that im way off track and there are bigger problems involved with getting this to work.
Also, if wminput did function. Does anyone know if it would send button presses to android while running in the background?
uinput.c
http://abstrakraft.org/cwiid/browser/trunk/wminput/uinput.c?format=txt
wminput
http://packages.debian.org/lenny/wminput
wmgui which i believe uses the same library as wminput has been made to work through ssh
http://www.lukedupin.com/projects/show?project=g1_wii -
There is also WMD for connecting to wiimotes but it requires uinput as well (i think).
http://www.circuitdb.com/articles/7/3 -
Ive been reading http://www.saurik.com/id/10 and it seems that this modules really needs to be installed to Android? And then I will be able to access this module from debian which is running on top on android? Can anyone confirm that?
I extracted the config file from my phone at /proc/config.gz and it has the line # CONFIG_INPUT_UINPUT is not set. some googling brings me here http://lxr.linux.no/#linux+v2.6.31/drivers/input/misc/Kconfig
206 config INPUT_UINPUT
207 tristate "User level driver support"
208 help
209 Say Y here if you want to support user level drivers for input
210 subsystem accessible under char device 10:223 - /dev/input/uinput.
211
212 To compile this driver as a module, choose M here: the
213 module will be called uinput.
This all leads me to believe that this module will work on the G1. Will Any Devs PLEASE compile this for me. If you think it would work properly that is.
I just dont have the skills to compile it myself yet. Ive been reading alot on how to compile the kernel and kernel modules for the G1, I setup Ubuntu, and setup my environment and installed the android source code. I was working off this link http://andblogs.net/2008/12/compiling-your-own-g1-kernel-modules/ but i dont understand how i get the kernel source . I have sooo much reading todo before I get all this. Any recommended links?

[Q] Wireless with Ubuntu

Hello,
I recently installed Ubuntu in a dual-boot, and most things are working well. However, one of the biggest problems is with wireless. I have injected the firmware from the android kernel, and am able to connect using wpa_supplicant or a basic 'sudo iwconfig essid [network ssid]'. However, I have read on the Dev forum that some users have been able to flash a kernel onto their device that provides wifi via a GUI. I have not been able to, and am wondering if anyone would be able to help me out.
The links to the patches are here http://forum.xda-developers.com/showthread.php?t=1191141&page=76. Post #753. Dev posted on building the patches. Does anyone know how to build these patches and get a GUI for network manager working?
Thanks,
kiambogo

[APP] Process Hacker 2.30 [[beta]] for Windows RT

All,
Please find the attached Windows RT native binaries for Process Hacker (v 2.30). See the project homepage for more details:
http://processhacker.sourceforge.net/
I'm currently labeling this as a [[beta]] release because I've disabled some functionality to get this building clean for Windows RT. The kernel component is not yet ported. I'm going to continue working on this tool in my spare time to add any missing functionality. Its not quite ProcessExplorer.. but its pretty darn close
I haven't had a whole lot of time to test everything.. so if anyone finds any other functionality that is missing or appears broken please report it here so I can investigate fixing it.
Cheers!
EDIT: I forgot to include the plugins in the original zip package.. all fixed now. Sorry.
EDIT2: It looks like someone else actually worked on this a few weeks ago but failed to share it with anyone -> http://processhacker.sourceforge.net/forums/viewtopic.php?f=5&t=926
EDIT3: Stack walking and proper CPU identification should now work. I've also renamed the zip files to avoid confusion. This is the 3rd release.
EDIT4: Posted a test signed kernel driver. It has been built without the WDK/DDK and in debug mode. I've also included the pdb file for those who might need/want it. Drop this in the root folder and restart processhacker. Its been very stable for me, but please use at your own risk. *updated - 31-03-2013*
Thx
That is great. Aspecialy because my Task manager is not running anymore.
But it is running at 50% CPU usage. quit a lot i think.
Update
Original post has been updated with new binaries. Stack walking and CPU identification issues now fixed.
Is it possible that porting kernel driver for ARM platform?
I only know that there is no DDK for ARM platform.
I've been looking for it, but still cannot find it yet.
kkw620 said:
Is it possible that porting kernel driver for ARM platform?
I only know that there is no DDK for ARM platform.
I've been looking for it, but still cannot find it yet.
Click to expand...
Click to collapse
I haven't tried it yet.. but I'm not expecting it to be too difficult. There really isn't a "DDK" anymore.. and the driver kit has been merged into the Windows SDK. All that I can see missing from the SDK is the kernel libraries. For simple software drivers you don't need that many libs.
Anyway.. I'll post an update here once (and if) I get it building. The biggest problem will be testing it.. because I won't be able to do any kernel debugging
Cheers!
kkw620 said:
Is it possible that porting kernel driver for ARM platform?
I only know that there is no DDK for ARM platform.
I've been looking for it, but still cannot find it yet.
Click to expand...
Click to collapse
You'll need ARM WDK that is not public (I really believe that soon it would be leaked, similar to IFS and HAL DDKs in old days).
You can compile simple drivers without it by taking the headers from x86 WDK and recreating the import libraries yourself - some persons succeeded in that. But even if you have ARM WDK - not all drivers can be ported by a simple recompilation. For example I've tried to recompile an OpenVPN driver - and failed, as it is based on NDIS 5.0 when minimal supported NDIS version in RT is 6.3. Someone familiar with NDIS is needed to update its sources first.
Compiled the driver for RT. Driver is unsigned - sign it yourself. And driver is not tested by me. The only thing I've modified except for project settings - commented the "_asm"s.
Binaries attached.
Edited: attached modified sources too.
mamaich said:
Compiled the driver for RT. Driver is unsigned - sign it yourself. And driver is not tested by me. The only thing I've modified except for project settings - commented the "_asm"s.
Binaries attached.
Edited: attached modified sources too.
Click to expand...
Click to collapse
See .. I figured it would be easy . As I said, you really don't _need_ the DDK/WDK, but it would certainly make most drivers much easier to work with. As much as I appreciate the binaries the biggest problem is testing without having a kernel debugger. Testing and debugging via crash dumps is not what I would call fun
Cheers!
Thanks! Seems that it is working fine
mamaich said:
Compiled the driver for RT. Driver is unsigned - sign it yourself. And driver is not tested by me. The only thing I've modified except for project settings - commented the "_asm"s.
Binaries attached.
Edited: attached modified sources too.
Click to expand...
Click to collapse
I did jailbreak 1.20 on my Surface RT. I saw that it contains kernel code execution hack, (means that Test Mode for test signing driver)
And I signed the driver with test signature, put the driver file in same folder with Process Hacker main binary.
After that, I opened up Process Hacker with Administrator right.
You know, without the kernel driver, when I wanna see the stack trace of threads which are on "System" process, it isn't possible.
But now it works!
It seems that it is working fine. I try to test more.
kernel driver
Post updated to include my own built version of the kernel driver.
unstable
All,
Since the most recent update I've noticed some instability with the driver. I'll try to resolve the issue and repost an updated driver soon. Right now, use with caution.
Cheers!
driver updated
Fixed a BSOD issue with the driver. Please try the new one if you're experiencing issues.

[Q] Linux Deploy via framebuffer

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.

Lineage / custom ROM / Ubuntu on Asus TF101 in 2017

I have recently inherited an Asus TF101 EEEpad and have spent ages trying to find a way to root, install a custom ROM or a lightweight linux on it. Most of the links on this forum seem to have expired or don't work. I got root to work eventually with Kingo Root (at least the Root Checker app says the device is rooted). TWRP crashes frequently and reports 'no recovery partition found' if I try to flash.
Also, I don't seem to be able to reach APX mode. I have tried holding down the power and vol up buttons, but there is no sign of the device when i do 'adb devices' in native OS X or my Windows virtual machine.
Has anyone flashed this device / installed a new OS recently? I would like to run Lubuntu or maybe Arch with LXDE if this is possible...
Any pointers welcome.
Asus EeePAD TF101
comiconomenclaturist said:
I have recently inherited an Asus TF101 EEEpad and have spent ages trying to find a way to root, install a custom ROM or a lightweight linux on it. Most of the links on this forum seem to have expired or don't work. I got root to work eventually with Kingo Root (at least the Root Checker app says the device is rooted). TWRP crashes frequently and reports 'no recovery partition found' if I try to flash.
Also, I don't seem to be able to reach APX mode. I have tried holding down the power and vol up buttons, but there is no sign of the device when i do 'adb devices' in native OS X or my Windows virtual machine.
Has anyone flashed this device / installed a new OS recently? I would like to run Lubuntu or maybe Arch with LXDE if this is possible...
Any pointers welcome.
Click to expand...
Click to collapse
Hi.
I'm in the same case of you.
Try to find older file to be able to make the dual boot possible on this old tablet.
But in vain all interessting files are not reachable or i have got "error 404" not found on the download pages.
Try to contact the creator of the OLIFE script and i'm waiting.
if you have news on it tell me.
I will try to apply a second MOD - ADD a HDD on it = like a member done before - the pictures are not avaible but i have understand the process and i like to make DIY.
And another MOD = integrate a 3G or 4G key in it.
Best regards.
+1
Did anyone manage to get anywhere with this?
I had issues with APX too, but after installing Universal Naked Drivers on Win 10 I managed to get TWRP on and then KatKiss 6.0 (Android) on.
Really interested in learning how to get Ubuntu Touch or any distro really on if anyone's still listening to this thread.
This might be of interest to anyone still looking to put a Linux Distro on to the TF101, PostmarketOS: https://wiki.postmarketos.org/wiki/ASUS_Eee_Pad_Transformer_(asus-tf101) which is based upon Alpine I think. Instructions here: https://github.com/antonialoytorrens/TF101-linux-images/blob/master/README.md
acor_uk said:
This might be of interest to anyone still looking to put a Linux Distro on to the TF101, PostmarketOS: https://wiki.postmarketos.org/wiki/ASUS_Eee_Pad_Transformer_(asus-tf101) which is based upon Alpine I think. Instructions here: https://github.com/antonialoytorrens/TF101-linux-images/blob/master/README.md
Click to expand...
Click to collapse
Yes, indeed as you say. I do maintain this repository and a Linux distro on this tab is the way to go. It allows you to install updated software and bring it back to life. The GPU is not working, unfortunately, but it's very useful if you want to do lightweight tasks. You have to do some tweaks to get there but it's worth the result if you want to tinker with it.
By the way, I have collected as much as possible about the TF101 (before XDA migrated to the new infrastructure) and I uploaded it here: https://sourceforge.net/projects/tf101-linux-images/files/

Categories

Resources