# Can't run emulator make\_ext4fs\_from\_dir

**URL:** <https://discourse.processing.org/t/cant-run-emulator-make-ext4fs-from-dir/15742>\
**Category:** Processing for Android\
**Created:** [November 23, 2019, 1:53pm UTC](https://discourse.processing.org/t/cant-run-emulator-make-ext4fs-from-dir/15742 "2019-11-23T13:53:39Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![soet\_za](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@soet\_za](https://discourse.processing.org/u/soet_za)\
**Post date:** [November 23, 2019, 1:53pm UTC](https://discourse.processing.org/t/cant-run-emulator-make-ext4fs-from-dir/15742/1 "2019-11-23T13:53:39Z")

</div>

cmd:  
emulator -avd processing-phone  
error: make\_ext4fs\_from\_dir: open: Permission denied

I have the processing-phone under avd in my documents processing folder  
and the sdk is installed, I also reinstalled

I can’t get emulator to run

It exists processing with:

Emulator process exited with status -1073741819  
EmultorController: Emulator never booted. NOT\_RUNNING  
Error while starting the emulator. (NOT\_RUNNING)

---

<div class="post-metadata">

**Author:** ![Lexyth](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/lexyth/32/7403_2.png) [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Post date:** [November 23, 2019, 2:45pm UTC](https://discourse.processing.org/t/cant-run-emulator-make-ext4fs-from-dir/15742/2 "2019-11-23T14:45:13Z")

</div>

Generally, you‘d want to add the OS you‘re having the problem on, if it‘s related to the System.

As for your problem, i assume you use Ubuntu. You probably have no permission to access the directory.

Apparently this can be fixed by granting permission to either the User or the file.  
The User :

```auto
sudo chmod a+rwx path/to/file

```

The File :

```auto
sudo chmod -R a+rwx path/to/file

```

---

<div class="post-metadata">

**Author:** ![soet\_za](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@soet\_za](https://discourse.processing.org/u/soet_za)\
**Post date:** [November 23, 2019, 2:47pm UTC](https://discourse.processing.org/t/cant-run-emulator-make-ext4fs-from-dir/15742/3 "2019-11-23T14:47:31Z")

</div>

> [@Lexyth](#):
>
> ed by granting permission to either the User or the file.

Thanks, but I am running Windows 10 64-bit, and I already took full control of all folders such as documents, .android, etc.

---

<div class="post-metadata">

**Author:** ![Lexyth](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/lexyth/32/7403_2.png) [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Post date:** [November 23, 2019, 2:56pm UTC](https://discourse.processing.org/t/cant-run-emulator-make-ext4fs-from-dir/15742/4 "2019-11-23T14:56:07Z")

</div>

Oh… are you sure it‘s not „Access denied“ then? Did you also open the Cmd with Administrator rights? Maybe that could help, before we start doing unneccessary difficult things 😅 .

Edit : Another reason might be that some related things already running and thus access is denied… maybe try restarting your Computer and only run the cmd command.

---

<div class="post-metadata">

**Author:** ![soet\_za](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@soet\_za](https://discourse.processing.org/u/soet_za)\
**Post date:** [November 23, 2019, 3:05pm UTC](https://discourse.processing.org/t/cant-run-emulator-make-ext4fs-from-dir/15742/5 "2019-11-23T15:05:29Z")

</div>

yeah I always run as cmd as admin. I looked at launching the emulator outside of processing and google led me to cd to the emulator dir which is some like C:\Users\myname\Documents\Processing\android\sdk\emulator and then I ran avd list to confirm that the proccessing-phone image was picked up and it is and when I try to run with emulator -avd processing-phone it exits with permission denied I checked .android and I have full control also in Documents my sdk and avd folders are in the processing documents folder. I don’t know what to check I also checked the driver thing in device manager and I do have the driver so I am lost which is why I came here 🙃

Edit: Sure, I’ll do the old turn it off and on again

---

<div class="post-metadata">

**Author:** ![Lexyth](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/lexyth/32/7403_2.png) [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Post date:** [November 23, 2019, 3:09pm UTC](https://discourse.processing.org/t/cant-run-emulator-make-ext4fs-from-dir/15742/6 "2019-11-23T15:09:47Z")

</div>

Please tell me if it worked then^^ I know it sounds like a cliché, but that‘s still the easiest way to get things to work sometimes 😅

---

<div class="post-metadata">

**Author:** ![soet\_za](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@soet\_za](https://discourse.processing.org/u/soet_za)\
**Post date:** [November 23, 2019, 3:17pm UTC](https://discourse.processing.org/t/cant-run-emulator-make-ext4fs-from-dir/15742/7 "2019-11-23T15:17:52Z")

</div>

got the bad boy running seems it needed processing-phone.ini which wasn’t created when I installed it from processing, I installed the emulator from android studio and …BAM it worked! Thanks for the help, I appreciate it! 😀

---

<div class="post-metadata">

**Author:** ![Lexyth](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/lexyth/32/7403_2.png) [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Post date:** [November 23, 2019, 3:59pm UTC](https://discourse.processing.org/t/cant-run-emulator-make-ext4fs-from-dir/15742/8 "2019-11-23T15:59:32Z")

</div>

Glad it worked 😉 .
