maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection) (https://talk.maemo.org/showthread.php?t=95352)

rapol.goutham 2015-04-17 18:45

Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
The Kali Linux finally working on our Nokia N900 devices.

I have not faced any major problem, except the audio is not working.

I have uploaded a working image of latest 'kali 1.1.0a armhf' along with installation guide.

Download link:
Kali 1.1.0a armhf for Nokia N900.

Kali running on Nokia N900 (Video):
Kali Linux on Nokia N900 (YouTube)

I have built this using the official documentation from kali

I thank every person who put their effort on this device. Especially wicket, I have used his scripts for patching the kali's rootfs.

Hope you enjoy!

nokiabot 2015-04-17 18:56

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
screenshots please
also what is the issue with sound
how to install it i.e like wickets debian ?

rapol.goutham 2015-04-17 19:02

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by nokiabot (Post 1467551)
screenshots please
also what is the issue with sound
how to install it i.e like wickets debian ?

I will post screen shots in 10 minutes.
I have no idea what is wrong with the sound card, it just displays 'sound card not detected'.
For installation, just download, extract and write the .img file directly to a memory card (8GB). I have added a simple guide inside those archives, please read it.

rapol.goutham 2015-04-17 20:05

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
I have added a video to the main post.

FlashInTheNight86 2015-04-17 21:15

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
rapol.goutham, how's battery life?

xiskillo 2015-04-18 04:59

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Wonderfull!! Great job

rapol.goutham 2015-04-18 06:07

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
1 Attachment(s)
Quote:

Originally Posted by FlashInTheNight86 (Post 1467568)
rapol.goutham, how's battery life?

Here is screenshot of it displaying estimated backup.
http://talk.maemo.org/attachment.php...1&d=1429337121

Quote:

Originally Posted by xiskillo (Post 1467582)
Wonderfull!! Great job

Thank you :D

nokiabot 2015-04-18 09:28

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
awsome ! can it be made to handle telephony ? what is the diffrence between wikets debian and kali ? i mean one can install pen tools on debian also na

FlashInTheNight86 2015-04-18 12:35

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Yeah, would be great if it handles telephony as well...

rapol.goutham 2015-04-18 20:00

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by nokiabot (Post 1467601)
awsome ! can it be made to handle telephony ? what is the diffrence between wikets debian and kali ? i mean one can install pen tools on debian also na

I tried to add kali repositories to debian on n900, but when I run apt-get update I have got segmentation fault errors. The device is very sensitive to the changes, not stable at all. Then I felt it is better to get kali working on N900 than fixing debian to get kali repositories working.

I'll let you know about telephony soon. Currently I did not have any information whether the kernel supports telephony or not. N900 is not my primary phone, so I didn't think about getting telephony working on it.
You can check kernel status at http://elinux.org/N900 website.

rapol.goutham 2015-04-19 10:17

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Telephony feature not available in kernel.:(

saponga 2015-04-19 13:23

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Thank you very much for share the image :)
I didn't find any "sdcard_partition.sh" script so i've just created a new fs with one single partition and dd'ed the image to that. Everything went ok but i've got those errors during boot:
Code:

Target file system doesn't have requested /sbin/init.
No init found. Try passing init= bootarg

followed by some "Module not found" and finally:
Code:

Can't access tty: job control turned off
(initramfs)

and then i've got stuck in initramfs since i don't know what to do. :confused:

nokiabot 2015-04-19 13:58

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by rapol.goutham (Post 1467728)
Telephony feature not available in kernel.:(

data via cellular ?

rapol.goutham 2015-04-19 14:23

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by saponga (Post 1467757)
Thank you very much for share the image :)
I didn't find any "sdcard_partition.sh" script so i've just created a new fs with one single partition and dd'ed the image to that. Everything went ok but i've got those errors during boot:
Code:

Target file system doesn't have requested /sbin/init.
No init found. Try passing init= bootarg

followed by some "Module not found" and finally:
Code:

Can't access tty: job control turned off
(initramfs)

and then i've got stuck in initramfs since i don't know what to do. :confused:

You should not dd to the partition, dd only to the device.
ex: dd if=xxxxxx.img of=/dev/sdx bs=512k

you should dd to /dev/sdx not /dev/sdx1.

After you dd, check partitions using gparted or other tools. There should be 3 partitions. 1st part is vfat, 2nd is ext4, 3rd is swap.

If you still get that error please let me know.

rapol.goutham 2015-04-19 14:25

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by nokiabot (Post 1467759)
data via cellular ?

Cellular hardware is not detected :(

rapol.goutham 2015-04-19 14:53

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by rapol.goutham (Post 1467761)
You should not dd to the partition, dd only to the device.
ex: dd if=xxxxxx.img of=/dev/sdx bs=512k

you should dd to /dev/sdx not /dev/sdx1.

After you dd, check partitions using gparted or other tools. There should be 3 partitions. 1st part is vfat, 2nd is ext4, 3rd is swap.

If you still get that error please let me know.

File permissions got messed when I moved them from my internal HHD to external. I'll re-upload the image (Old images removed). Sorry for that :p.

panjgoori 2015-04-19 17:49

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
I think its time to repair my N900's usb port. Thanks rapol.

nokiabot 2015-04-19 18:39

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by rapol.goutham (Post 1467762)
Cellular hardware is not detected :(

bad for me :(

shawnjefferson 2015-04-19 18:46

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
It's possible to run Kali from chroot like the Easy Debian setup, and you should have access to all the underlying hardware in this way. It will be slower of course, and there are a few other small issues I haven't been able to find a fix for yet. Ideally, I'd like to be running both, so I might put this native version on a partition!

I also just used LXDE, since the scripts for Easy Debian can be used for that too.

rapol.goutham 2015-04-19 19:43

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by saponga (Post 1467757)
Thank you very much for share the image :)
I didn't find any "sdcard_partition.sh" script so i've just created a new fs with one single partition and dd'ed the image to that. Everything went ok but i've got those errors during boot:
Code:

Target file system doesn't have requested /sbin/init.
No init found. Try passing init= bootarg

followed by some "Module not found" and finally:
Code:

Can't access tty: job control turned off
(initramfs)

and then i've got stuck in initramfs since i don't know what to do. :confused:

Please re-download it now, this image is working fine. :)

freemangordon 2015-04-19 21:00

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by rapol.goutham (Post 1467762)
Cellular hardware is not detected :(

Hmm, modem support is there since 3.16 iirc. speech support will be in 4.1, see https://git.kernel.org/cgit/linux/ke...rs/hsi/clients

rapol.goutham 2015-04-20 07:05

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by freemangordon (Post 1467809)
Hmm, modem support is there since 3.16 iirc. speech support will be in 4.1, see https://git.kernel.org/cgit/linux/ke...rs/hsi/clients

Thanks for your information. :)

But there is no info about it on elinux website. And when I tried to run a dialer it just displays modem not detected.
Am I missing something or, do we need to add any firmware to get it work?

freemangordon 2015-04-20 09:32

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by rapol.goutham (Post 1467833)
Thanks for your information. :)

But there is no info about it on elinux website.

Sure there is :) http://elinux.org/N900#Kernel_Status

Quote:

And when I tried to run a dialer it just displays modem not detected.
Am I missing something or, do we need to add any firmware to get it work?
Maybe you should modprobe the needed modules. also, iirc ofono expects control gpios to be symlinked, somewhere. there is some script somewhere over the inet how to make ofono work on n900, unfortunately I can't remember where it is. maybe google could help.

rapol.goutham 2015-04-20 10:09

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by freemangordon (Post 1467845)

LOL, my eyes didn't catch that :P . I'll find a solution to get modem work.:)
Thank you once again.

saponga 2015-04-20 12:08

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by rapol.goutham (Post 1467796)
Please re-download it now, this image is working fine. :)

OK. It boots now. Thank you very much. :)

FlashInTheNight86 2015-04-21 00:17

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
So, there is a chance N900 telephony will work on Kali eventually?

rapol.goutham 2015-04-22 19:23

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by FlashInTheNight86 (Post 1467956)
So, there is a chance N900 telephony will work on Kali eventually?

I have read somewhere that, it is possible to get data work but not voice calls.

m4r0v3r 2015-04-26 02:20

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
worked perfectly cheers

ElijahEbanks 2015-05-01 16:23

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Is there overclock support?

Biozard 2015-05-04 09:02

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Hi how can i copy the .item file to the /etc/bootmenu.d ?

I get the error:

cannot stat '/MyDocs/30-Kali_Linux-1.1....

I copied the .item file to MyDocs...

saponga 2015-05-04 14:27

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by Biozard (Post 1469311)
Hi how can i copy the .item file to the /etc/bootmenu.d ?

I get the error:

cannot stat '/MyDocs/30-Kali_Linux-1.1....


I copied the .item file to MyDocs...

As root:
Code:

cp /home/user/MyDocs/30-Kali_Linux-1.1... /etc/bootmenu.d/
It doesn't exist such folder /MyDocs (MyDocs is a folder under your home directory, /home/user/MyDocs.)

Biozard 2015-05-08 19:35

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Thanks worked fine. :)

is there any way to download the missing libs needed for the SSU Kernel? The problem is that the Nokia Application catalog is not working anymore.

rapol.goutham 2015-05-11 21:59

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by Biozard (Post 1469720)
Thanks worked fine. :)

is there any way to download the missing libs needed for the SSU Kernel? The problem is that the Nokia Application catalog is not working anymore.

I don't have any idea about it. If you try to install any such application, it may throw you few dependency errors, if you clear those dependencies you may able to install that application, some times such installation may break your OS. (I have such experience once or twice, while trying to install an application by fixing dependencies I have faced broken pipe error, and I haven't find any fix to rescue my PC other than reinstalling the OS)

Biozard 2015-05-12 14:28

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Thanks alot guys everything worked fine :)

Just one last question. I Tried to connect my alfa AWUS036H antenna to the Kali linux on my Nokia N900 but i cant get it working.

Does anybody have any idea if and how this works?

thanx

jellyroll 2015-05-12 14:50

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by Biozard (Post 1470125)
Thanks alot guys everything worked fine :)

Just one last question. I Tried to connect my alfa AWUS036H antenna to the Kali linux on my Nokia N900 but i cant get it working.

Does anybody have any idea if and how this works?

thanx

Did you used a powered usb hub?

Biozard 2015-05-12 22:14

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
hi, no i didnt.

i just used the micro usb interfae of the nokia n900 with an micro usb to usb adapter.

how can i use a powered usb hub with the nokia?

nieldk 2015-05-13 05:14

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by Biozard (Post 1470182)
hi, no i didnt.

i just used the micro usb interfae of the nokia n900 with an micro usb to usb adapter.

how can i use a powered usb hub with the nokia?

Connect the hub to the N900, and devices to the hub. And also, connect the hub to the powersupply that came with it.

geera 2015-05-13 06:22

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Thanks for the awesome work!

To my dissapointment, I just found out my phones SD-card reader is permanently dead. Does anyone know if I can install this Kali to the internal EMMC on the device and still use uboot to boot to the os?

Thank you in advance!

jellyroll 2015-05-13 10:21

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by geera (Post 1470195)
Thanks for the awesome work!

To my dissapointment, I just found out my phones SD-card reader is permanently dead. Does anyone know if I can install this Kali to the internal EMMC on the device and still use uboot to boot to the os?

Thank you in advance!

This might help you further with this.

http://talk.maemo.org/showthread.php...ght=uboot+emmc

geera 2015-05-13 10:51

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by jellyroll (Post 1470214)
This might help you further with this.

http://talk.maemo.org/showthread.php...ght=uboot+emmc

Thank you - I think the linked thread hit the nail,

Unfortunately the procedures described in the thread seem to go well beyond my skill-level, so I guess I'll have to accept my loss with this device.

I apprecciate you linkin me to the answers nevertheless!


All times are GMT. The time now is 03:47.

vBulletin® Version 3.8.8