dgmltn / AndieGraph

Apache License 2.0
36 stars 15 forks source link

AndieGraph will not locate ROM #3

Closed geekalert closed 8 years ago

geekalert commented 8 years ago

So, on my Samsung Avant, it was no problem. I placed the ROM files in the root directory of the internal SDCARD and they were located immediately. However, I got my new Samsung Note4, and I can't get AndieGraph to locate the ROMs at all. I would if it is because my system has labeled the internal sdcard as 'sdcard0' and external card as 'extsdcard' (not 'sdcard' and 'sdcard-ext')?

geekalert commented 8 years ago

(sorry, that should be 'I wonder if')

dgmltn commented 8 years ago

AndieGraph searches for ROMs in the following locations:

private String[] SEARCH_LOCATIONS = { Environment.getExternalStorageDirectory().getAbsolutePath(), “/mnt/sdcard”, “/mnt/sdcard-ext” };

So that could be. I added the special case ("/mnt/sdcard" and "/mnt/sdcard-ext") for Samsung phones a while back when Samsung didn't return the right thing from getExternalStorageDirectory(). I guess they still haven't fixed that bug. What path is getExternalStorageDirectory() returning on your Note4?