maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Raw read N9 (https://talk.maemo.org/showthread.php?t=90214)

neel.basu 2013-05-25 10:32

Raw read N9
 
Is there any way to Raw Read cmt of an existing workig N9 ? Is cmt accessible through /dev or /proc ?

I can probabbly strip the cmt from downloaded binary image. Then I'll compare with mine.

juiceme 2013-05-25 17:15

Re: Raw read N9
 
dd if=/dev/mtd6 of=/home/user/MyDocs/mtd6_content

(assuming that MTD6 is the correct partition, it's labeled "omap2-onenand". Could also be you want MTD2, which is "config")

neel.basu 2013-05-25 17:17

Re: Raw read N9
 
where can I get a list ? which device points to what ?

peterleinchen 2013-05-25 17:31

Re: Raw read N9
 
Code:

cat /proc/mtd

neel.basu 2013-05-26 17:39

Re: Raw read N9
 
I read mtd6. I expected there will a string containing exact version name of current software running in cmt. But I didn't find any such name matching the file name. Any hints ?

rainisto 2013-05-26 18:41

Re: Raw read N9
 
there is no read access to cmt from kernel and/or userspace, so you will never be able to read it.

juiceme 2013-05-27 05:42

Re: Raw read N9
 
Quote:

Originally Posted by rainisto (Post 1347020)
there is no read access to cmt from kernel and/or userspace, so you will never be able to read it.

Yes, when I thought about this a bit longer I realized there's really no need for that, of course the cmt can be flashed to the modem controller via access bus (GPIO or whatever) and it needs not be visible to the OMAP memory at all :)

I made mistake thinking that this was about drivers, I did not think you meant the modem SW. Silly me for thinking it should be there on mtd...

BTW, why would you need to know anything about it, it's binary object anyway... I'd like to get the source but that's not going to be available, ever :D

neel.basu 2013-05-27 06:26

Re: Raw read N9
 
I saw /dev/cmt is not a file, its a directory, there is cmt_en inside. and I didn't find anything meaningful inside that directory. What I want is to know is where to check which cmt version I am using.

juiceme 2013-05-27 19:50

Re: Raw read N9
 
Quote:

Originally Posted by neel.basu (Post 1347113)
I saw /dev/cmt is not a file, its a directory, there is cmt_en inside. and I didn't find anything meaningful inside that directory. What I want is to know is where to check which cmt version I am using.

No, you are mistaken now :)
the /dev/ hierarchy is kernel drivers, absolutely nothing to do with modem firmware :p

suyog 2013-05-27 19:58

Re: Raw read N9
 
Quote:

Originally Posted by juiceme (Post 1347245)
No, you are mistaken now :)
the /dev/ hierarchy is kernel drivers, absolutely nothing to do with modem firmware :p

I am also interested to know if there is any way to know cmt version and overwrite original cmt version again. My N9 shows IMEI when I put it in flight mode and as soon as I put SIM in, IMEI number disappears.


All times are GMT. The time now is 09:40.

vBulletin® Version 3.8.8