<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=2255&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Mount android disk image inside linux]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=2255</link>
		<description><![CDATA[The most recent posts in Mount android disk image inside linux.]]></description>
		<lastBuildDate>Sun, 30 Sep 2018 18:52:32 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Mount android disk image inside linux]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=12105#p12105</link>
			<description><![CDATA[<div class="quotebox"><cite>neutron_stz wrote:</cite><blockquote><div><p>try to mount with offset for desired partition:</p><div class="codebox"><pre><code>-o offset=$((START_SECTOR_OF_PARTITION*512))</code></pre></div><p>example for partition 42:</p><div class="codebox"><pre><code>-o offset=$((5033984*512))</code></pre></div></div></blockquote></div><p>Hey, that did the trick<br />thanks a lot</p>]]></description>
			<author><![CDATA[dummy@example.com (0xf4b10)]]></author>
			<pubDate>Sun, 30 Sep 2018 18:52:32 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=12105#p12105</guid>
		</item>
		<item>
			<title><![CDATA[Re: Mount android disk image inside linux]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=11817#p11817</link>
			<description><![CDATA[<p>try to mount with offset for desired partition:</p><div class="codebox"><pre><code>-o offset=$((START_SECTOR_OF_PARTITION*512))</code></pre></div><p>example for partition 42:</p><div class="codebox"><pre><code>-o offset=$((5033984*512))</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (neutron_stz)]]></author>
			<pubDate>Sun, 16 Sep 2018 08:15:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=11817#p11817</guid>
		</item>
		<item>
			<title><![CDATA[Re: Mount android disk image inside linux]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=11157#p11157</link>
			<description><![CDATA[<p>actually with a fast read on photorec man solved the problem, it happens I need only to call it passing the image file and it does the search automatically without having to mount</p>]]></description>
			<author><![CDATA[dummy@example.com (0xf4b10)]]></author>
			<pubDate>Tue, 07 Aug 2018 23:41:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=11157#p11157</guid>
		</item>
		<item>
			<title><![CDATA[Re: Mount android disk image inside linux]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10883#p10883</link>
			<description><![CDATA[<p>If <span class="bbc">/dev/mmcblk0</span> was the full disk, you can&#039;t mount the image file directly. One solution to that would be to use <span class="bbc">nbd</span> (network block device) where you set up the <span class="bbc">nbd</span> server to use the image file, and then &quot;install it&quot; to the system with an <span class="bbc">nbd</span> client, which would create a series of /dev/nbd0p1, /dev/nbd0p2, ... points for the partitions and subsequent file system mounting.</p><p>However, I don&#039;t think <span class="bbc">file</span> recognizes the image correctly, but rather that the image is a raw NAND image, which needs to be pulled as such. It&#039;s a fair while since I was blistering my eyebrows on that problem, and apart from me having forgotten most of it, the details of the story are probably quite different nowadays anyhow. I can only suggest that you follow up on reading/writing NAND images.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Sun, 22 Jul 2018 23:19:46 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10883#p10883</guid>
		</item>
		<item>
			<title><![CDATA[Mount android disk image inside linux]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10882#p10882</link>
			<description><![CDATA[<p>Hey guys<br />I&#039;ve done a copy of my android phone disk into an image file but now I can&#039;t mount it in order to inspect (i wanna run photorec on it to recover some files...).<br />To obtain the image file I just copied the dev block from the device:</p><div class="codebox"><pre><code>adb pull /dev/block/mmcblk0 ~/imagem-thea-20180722.img</code></pre></div><p>Now I&#039;m trying to mount it but is returning the error message:</p><div class="codebox"><pre><code>$ sudo mount -t msdos -o ro,loop imagem-thea-20180722.img mnt/</code></pre></div><div class="quotebox"><blockquote><div><p>mount: wrong fs type, bad option, bad superblock on /dev/loop0,<br />&#160; &#160; &#160; &#160;missing codepage or helper program, or other error</p><p>&#160; &#160; &#160; &#160;In some cases useful info is found in syslog - try<br />&#160; &#160; &#160; &#160;dmesg | tail or so.</p></div></blockquote></div><p>Some info on the file:</p><div class="codebox"><pre><code>$ file imagem-thea-20180722.img</code></pre></div><div class="quotebox"><blockquote><div><p>imagem-thea-20180722.img: DOS/MBR boot sector; partition 1 : ID=0xee, start-CHS (0x0,0,1), end-CHS (0x3ff,255,63), startsector 1, 4294967295 sectors, extended partition table (last)</p></div></blockquote></div><div class="codebox"><pre><code>$ sudo fdisk -l imagem-thea-20180722.img  </code></pre></div><p>&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;</p><div class="quotebox"><blockquote><div><p>Disk imagem-thea-20180722.img: 14.7 GiB, 15758000128 bytes, 30777344 sectors<br />Units: sectors of 1 * 512 = 512 bytes<br />Sector size (logical/physical): 512 bytes / 512 bytes<br />I/O size (minimum/optimal): 512 bytes / 512 bytes<br />Disklabel type: gpt<br />Disk identifier: 98101B32-BBE2-4BF2-A06E-2BB33D000C20</p><p>Device&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;Start&#160; &#160; &#160; End&#160; Sectors&#160; Size Type<br />imagem-thea-20180722.img1&#160; &#160; &#160; 256&#160; &#160;131327&#160; &#160;131072&#160; &#160;64M Microsoft basic data<br />imagem-thea-20180722.img2&#160; &#160;131328&#160; &#160;132351&#160; &#160; &#160;1024&#160; 512K unknown<br />imagem-thea-20180722.img3&#160; &#160;132352&#160; &#160;132415&#160; &#160; &#160; &#160;64&#160; &#160;32K unknown<br />imagem-thea-20180722.img4&#160; &#160;132608&#160; &#160;134631&#160; &#160; &#160;2024 1012K unknown<br />imagem-thea-20180722.img5&#160; &#160;135608&#160; &#160;136007&#160; &#160; &#160; 400&#160; 200K unknown<br />imagem-thea-20180722.img6&#160; &#160;136608&#160; &#160;137407&#160; &#160; &#160; 800&#160; 400K unknown<br />imagem-thea-20180722.img7&#160; &#160;137608&#160; &#160;137671&#160; &#160; &#160; &#160;64&#160; &#160;32K unknown<br />imagem-thea-20180722.img8&#160; &#160;137672&#160; &#160;138695&#160; &#160; &#160;1024&#160; 512K unknown<br />imagem-thea-20180722.img9&#160; &#160;138696&#160; &#160;142791&#160; &#160; &#160;4096&#160; &#160; 2M unknown<br />imagem-thea-20180722.img10&#160; 142792&#160; &#160;147455&#160; &#160; &#160;4664&#160; 2.3M Microsoft basic data<br />imagem-thea-20180722.img11&#160; 147456&#160; &#160;149479&#160; &#160; &#160;2024 1012K unknown<br />imagem-thea-20180722.img12&#160; 150456&#160; &#160;150855&#160; &#160; &#160; 400&#160; 200K unknown<br />imagem-thea-20180722.img13&#160; 151456&#160; &#160;152255&#160; &#160; &#160; 800&#160; 400K unknown<br />imagem-thea-20180722.img14&#160; 152456&#160; &#160;152519&#160; &#160; &#160; &#160;64&#160; &#160;32K Microsoft basic data<br />imagem-thea-20180722.img15&#160; 152520&#160; &#160;153543&#160; &#160; &#160;1024&#160; 512K unknown<br />imagem-thea-20180722.img16&#160; 153600&#160; &#160;154623&#160; &#160; &#160;1024&#160; 512K unknown<br />imagem-thea-20180722.img17&#160; 154624&#160; &#160;155703&#160; &#160; &#160;1080&#160; 540K Microsoft basic data<br />imagem-thea-20180722.img18&#160; 155704&#160; &#160;158775&#160; &#160; &#160;3072&#160; 1.5M unknown<br />imagem-thea-20180722.img19&#160; 158776&#160; &#160;161847&#160; &#160; &#160;3072&#160; 1.5M unknown<br />imagem-thea-20180722.img20&#160; 161848&#160; &#160;162823&#160; &#160; &#160; 976&#160; 488K unknown<br />imagem-thea-20180722.img21&#160; 162824&#160; &#160;162887&#160; &#160; &#160; &#160;64&#160; &#160;32K unknown<br />imagem-thea-20180722.img22&#160; 163072&#160; &#160;166143&#160; &#160; &#160;3072&#160; 1.5M unknown<br />imagem-thea-20180722.img23&#160; 166144&#160; &#160;166145&#160; &#160; &#160; &#160; 2&#160; &#160; 1K unknown<br />imagem-thea-20180722.img24&#160; 166146&#160; &#160;166161&#160; &#160; &#160; &#160;16&#160; &#160; 8K unknown<br />imagem-thea-20180722.img25&#160; 166162&#160; &#160;168209&#160; &#160; &#160;2048&#160; &#160; 1M unknown<br />imagem-thea-20180722.img26&#160; 168210&#160; &#160;168465&#160; &#160; &#160; 256&#160; 128K unknown<br />imagem-thea-20180722.img27&#160; 168466&#160; &#160;174609&#160; &#160; &#160;6144&#160; &#160; 3M unknown<br />imagem-thea-20180722.img28&#160; 174610&#160; &#160;182801&#160; &#160; &#160;8192&#160; &#160; 4M unknown<br />imagem-thea-20180722.img29&#160; 182802&#160; &#160;190993&#160; &#160; &#160;8192&#160; &#160; 4M unknown<br />imagem-thea-20180722.img30&#160; 191232&#160; &#160;207615&#160; &#160; 16384&#160; &#160; 8M Microsoft basic data<br />imagem-thea-20180722.img31&#160; 207616&#160; &#160;208639&#160; &#160; &#160;1024&#160; 512K unknown<br />imagem-thea-20180722.img32&#160; 208640&#160; &#160;229039&#160; &#160; 20400&#160; &#160;10M unknown<br />imagem-thea-20180722.img33&#160; 229040&#160; &#160;249599&#160; &#160; 20560&#160; &#160;10M unknown<br />imagem-thea-20180722.img34&#160; 249600&#160; &#160;251647&#160; &#160; &#160;2048&#160; &#160; 1M Microsoft basic data<br />imagem-thea-20180722.img35&#160; 251648&#160; &#160;284415&#160; &#160; 32768&#160; &#160;16M Microsoft basic data<br />imagem-thea-20180722.img36&#160; 284416&#160; &#160;300799&#160; &#160; 16384&#160; &#160; 8M unknown<br />imagem-thea-20180722.img37&#160; 300800&#160; &#160;327679&#160; &#160; 26880 13.1M Microsoft basic data<br />imagem-thea-20180722.img38&#160; 327680&#160; &#160;360447&#160; &#160; 32768&#160; &#160;16M unknown<br />imagem-thea-20180722.img39&#160; 360448&#160; &#160;425983&#160; &#160; 65536&#160; &#160;32M Microsoft basic data<br />imagem-thea-20180722.img40&#160; 425984&#160; 4521983&#160; 4096000&#160; &#160; 2G Microsoft basic data<br />imagem-thea-20180722.img41 4521984&#160; 5033983&#160; &#160;512000&#160; 250M Microsoft basic data<br />imagem-thea-20180722.img42 5033984 30711551 25677568 12.2G Microsoft basic data</p></div></blockquote></div><p>Can anyone help me in what I&#039;m doing wrong here? thanks in advance</p>]]></description>
			<author><![CDATA[dummy@example.com (0xf4b10)]]></author>
			<pubDate>Sun, 22 Jul 2018 20:24:43 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10882#p10882</guid>
		</item>
	</channel>
</rss>
