| Welcome to Pwnie Express. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Please note you need to use a valid email address to register for member access. Get your questions answered by other members, share your ideas and feedback, get your problems solved, and give back by helping others! It only takes a minute to get started. Registration is simple, fast, and completely free! Join our community! If you're already a member please log in to your account to access all of our features: |
| Off-topic *Native* Kali for Nexus 7 | |
|---|---|
| Topic Started: Dec 19 2013, 07:16 PM (4,111 Views) | |
| 0ld3nglish800 | Dec 19 2013, 07:16 PM Post #1 |
![]()
|
Hello, I have been doing some research of my own on how to get Kali to run natively on the Nexus 7. I went as far as installing Ubuntu natively on the Nexus 7 and adding the kali repos to the sources.list however, I came across road blocks - mainly packages that were not found and needed to be compiled manually. I believe it should be able to be done, but I have never cross-compiled a kernel for another architecture. If you review http://docs.kali.org/category/development you will see that Kali has been compiled for quite a few arm devices. And Kali gives instructions for arm-cross compiling here: http://docs.kali.org/development/arm-cross-compilation-environment Is there someone with more experience with this that could help push me in the right direction? |
![]() |
|
| Replies: | |
|---|---|
| BeNe | Jan 2 2014, 09:55 AM Post #11 |
|
Rom does not work for me on Nexus 7 2013 deb. Error in TWRP: Unsupported device device (flo)not supported (allowed: grouper |
![]() |
|
| binkybear | Jan 2 2014, 11:13 AM Post #12 |
|
Sorry BeNe I shouldve mentioned the zip only works on the 2012 version. That's because the kernel/ramdisk is dependent on it. I don't think they've gotten ubuntu desktop on the 2013 version yet. I'm using the kernel/ramdisk that came with ubuntu desktop but I imagine it could be built for 2013 version also. |
![]() |
|
| BeNe | Jan 2 2014, 11:35 AM Post #13 |
|
No problem binkybear. So the N7 2012 guys are needed to test
|
![]() |
|
| 0ld3nglish800 | Jan 2 2014, 12:53 PM Post #14 |
![]()
|
I am getting excited to test. Hopefully I can get it up and running before the work-shift is over. @binkybear, I am guessing that the desktop-manager is lightdm, I want to try replacing lightdm with mints mdm, or slim dm to see if that helps with the login. Also, maybe lxde or xfce or even openbox (if possible) would be a better than gnome for performance. Is there anyway to get this to install without multirom as I have a cracked screen 16gb and am unsure I will be able to navigate twrp without touch response? Going to try it anyways, thank you binkybear for getting it this far. Happy new years everybody. update: I copied the .mrom file to a fat32 usb-flashdrive and plugged that into a OTG cable thats plugged into N7 and rebooted. I stopped multirom from autobooting and clicked on the usb tab, however, the .mrom file does not show up. I am guessing that multirom is looking for a zipped rom file. I also am unable to get into the multirom options in TWRP due to no touch-feedback so I am unable to add it that way as well. TWRP offers no external mouse or keyboard support, so I am stuck at this point. Anyway I can get a fastboot img? Edited by 0ld3nglish800, Jan 2 2014, 02:07 PM.
|
![]() |
|
| binkybear | Jan 2 2014, 10:37 PM Post #15 |
|
0ld - Any install would have to be done manually and would remove all userdata. See here: https://wiki.ubuntu.com/Nexus7/Installation#Manually_Installing_Ubuntu_13.04_on_Nexus_7 Making an image would involved modifying an image from here: http://hwe.ubuntu.com/uds-r/nexus7/ Any modifications to kernel would have to follow instructions here: https://wiki.ubuntu.com/Nexus7/Kernel So yeah it could probably be done but you would have to erase everything. edit 0ld I made a 16GB image if you are crazy enough to see if it works (* warning it probably doesn't *) You would have to erase all userdata and flash using fastboot: root.img:https://mega.co.nz/#!eJBgkCoT!APRlLBjMBb27JVSDh4gGC1IrgQ5JP3p1tS4pjszDFxQ boot.img: http://hwe.ubuntu.com/uds-r/nexus7/16GB/boot.img Follow instructions above on manual install. Edited by binkybear, Jan 3 2014, 12:38 AM.
|
![]() |
|
| 0ld3nglish800 | Jan 3 2014, 01:03 PM Post #16 |
![]()
|
Knowing that I probably will have to spend another 1-2 hours putting v5 back on after I test this, but I cant wait to try this. Dl'ing now, will keep you posted. Thank you. |
![]() |
|
| binkybear | Jan 5 2014, 06:14 PM Post #17 |
|
So I've made some progress. I got the gui to load and touchscreen works:![]() I don't have wifi working as you can see in the picture I'm getting a dbus error. But I feel that I'm getting closer to having a work kali desktop on Nexus 7 (2012). Here are some of the steps I had to take on the filesystem to get it working: BUILDING CHROOT Followed instructions from Kali website on building arm chroot. Additional files: # xfce4 # apt-get install kali-defaults kali-root-login desktop-base xfce4 xfce4-places-plugin xfce4-goodies network-manager-gnome xorg lightdm MODIFYING FOR NEXUS 7 #touch screen# add file mtev_drv.so from: http://forum.xda-developers.com/showpost.php?p=35205246 to folder /usr/lib/xorg/modules/input/ Create file: /etc/X11/xorg.conf.d/01-nexus7-input.conf
Create file: /etc/X11/xorg.conf.d/10-nexus7-screen.conf
## start gui on boot ### apt-get install mgetty nano /etc/inittab Add line: 1:2345:respawn:/usr/bin/startxfce4 tty0 Edited by binkybear, Jan 5 2014, 06:16 PM.
|
![]() |
|
| 0ld3nglish800 | Jan 6 2014, 02:39 PM Post #18 |
![]()
|
So I accidentally goofed up. Turns out there is a good reason why you should make sure you have a full battery before you start fast-booting your nexus 7. I mistakenly tried to fast-boot userdata on a low battery and it failed. Then my nexus wouldn't turn on, even while plugged in. I left it plugged in over the weekend, and this morning it still wouldn't turn on. I unplugged it and while pressing the power button, plugged the nexus back into power adapter. The nexus flashed, then displayed what looked like 'analog fuzz'. I left it plugged in about 10 minutes, then pressed power + volume down. After 3 or 4 combinations of holding power while plugging nexus into power I was finally able to boot to recovery. If anyone else has a similar problem where the nexus 7 will not power on, or flashes screen but does not boot. The trick is to get it to boot to recovery and then click on the down arrow (sometimes you need to wait a minute for a response) and select power off, then when it turns off you should see the battery charger symbol - ( you may need to unplug and re-plug power cord) wait at-least some hours before you turn your nexus 7 back on. @binky - as soon as its charged I will try again to test out native kali build. Thank you. update: its been well over 30 minutes, any guess on how long it should take to fastboot the 900mb rootfs.img to nexus 7? Edited by 0ld3nglish800, Jan 6 2014, 08:42 PM.
|
![]() |
|
| binkybear | Jan 7 2014, 02:16 AM Post #19 |
|
0ld - Did you ever get it fixed? What happened? |
![]() |
|
| 0ld3nglish800 | Jan 7 2014, 01:12 PM Post #20 |
![]()
|
My bad binkybear, it was still sending rootfs.img to the nexus 7 when my work shift ended so I had to pull the plug. I am sending it again, hopefully it will complete before the battery runs out. I am dedicated to see this through. update: doh! still sending after 1.5 hours. then a youtube video caused a fault with my nvidia card and I had to reset computer. I am going to retry using linux instead of windows. Do you know if fastboot copies the image and then expands it or does it expand while its sending? Do you have a guesstimation of how long it should take to fastboot the rootfs.img? Any idea how I can verify if the .img's are not corrupt? I tried opening the .img files with 7zip, and magiciso - however they could not open them. I will retry download on another machine. update: I will have to try this again tomorrow, for whatever reason, its taking forever for my n7 to charge. Edited by 0ld3nglish800, Jan 7 2014, 07:09 PM.
|
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Pwn Pad Community Edition Support Forum · Next Topic » |







8:49 PM Jul 10