11-06-2015 01:12 PM
57 123
tools
  1. CuriousNoob's Avatar
    This is a issue that has been on my head forever and it irritates me.

    Anyone know a fix?

    Unable to open ums lunfile (No such file or directory)



    BTW, this is when trying to Mount USB in Clockworkmod Recovery.
    04-04-2012 11:15 PM
  2. cammykool's Avatar
    Bobzhomes used to do that to me all the time
    04-04-2012 11:29 PM
  3. cole2kb's Avatar
    You will need to flash a different recovery in Terminal Emulator on your phone. I went through this same thing, totally random and it popped up after I formatted everything. I flashed Xionia and it was all good.
    bokoxthexchocobo likes this.
    04-04-2012 11:34 PM
  4. CuriousNoob's Avatar
    I know a different recovery doesn't do it, I just want to find out why CWM does it.
    04-04-2012 11:59 PM
  5. cole2kb's Avatar
    I wish I had an answer for that. It was such a random problem, and I had never had issues in the past. Sorry man.
    04-05-2012 12:41 AM
  6. thewraith420's Avatar
    Don't know why it does it... If you have the old screen model 2.2.1 just use the normal iho recovery instead of bobzhome. Any time i try bobzhome recovery I get the same thing

    Sent from my LG-VM670 using Tapatalk
    04-05-2012 03:03 AM
  7. CuriousNoob's Avatar
    It happens since I first use CWM. No idea why. Since my first Optimus

    Sent from my LG-VM670 using Tapatalk 2 Beta-5
    04-05-2012 03:12 AM
  8. CuriousNoob's Avatar
    Bump

    Sent from my LG-VM670 using Tapatalk 2 Beta-5
    04-10-2012 08:24 PM
  9. anthonycr's Avatar
    Happens occasionally to me. Not often though. I just installed CWM 5 on my cousins zte phone and it gave that same error, which I believe is due to a partial incompatibility of the recovery woth the phone. I say this because the recovery is upside down on the zte so I figured that ums didn't work for the same reason that the screen was upside down... just a guess.

    Sent from my VM670 using Tapatalk 2
    04-10-2012 09:25 PM
  10. demoport's Avatar
    Maybe partitioning and formatting the sd card might fix this?
    04-10-2012 10:51 PM
  11. Dannemand's Avatar
    Mine does it too, consistently, after flashing Bobz recovery for Gordita. I don't think IHO recovery did that before. I'm gonna try it.
    04-10-2012 11:19 PM
  12. Blastin's Avatar
    Use the touch recovery, that fixed it for me.
    04-11-2012 12:04 AM
  13. CuriousNoob's Avatar
    I want to know what causes this. Not using Touch Recovery because of the bricks. I no longer trust it.

    Sent from my LG-VM670 using Tapatalk 2 Beta-5
    04-11-2012 12:47 AM
  14. JerryScript's Avatar
    It's caused by the kernel that the recovery was built from not having the proper lunfile configuration.

    I just started exploring the recovery system this past weekend. For now, I recommend xionia if you want usb mass storage to work in recovery. Hopefully we can get Bob's kernel/recovery to work properly soon.
    Dannemand likes this.
    04-11-2012 02:10 AM
  15. thewraith420's Avatar
    It's caused by the kernel that the recovery was built from not having the proper lunfile configuration.

    I just started exploring the recovery system this past weekend. For now, I recommend xionia if you want usb mass storage to work in recovery. Hopefully we can get Bob's kernel/recovery to work properly soon.
    I thought bobz was built off iho? The IHO recovery usb mass storage works for me. Just not bobz

    Sent from my LG-VM670 using Tapatalk
    04-11-2012 03:05 AM
  16. JerryScript's Avatar
    I got it to work, thanks to Blarf (see, he does still help a lot )

    it's an issue with the defined location of the lunfile.

    /bootable/recovery/extendedcommands.c @ line 360
    - #define BOARD_UMS_LUNFILE "/sys/devices/platform/usb_mass_storage/lun0/file"
    +#define BOARD_UMS_LUNFILE "/sys/devices/platform/msm_hsusb/gadget/lun0/file"

    Here is an example, I don't know if it will work on newer screens, not sure if I included both screen drivers, so if you get a black screen on a newer phone, reboot the phone and flash a different recovery till Bob makes the changes to his version.

    Note- I changed the select button back to the home key, I'm afraid the camera key will break. And no, I don't care if you don't like green!

    @thewraith420: BobZhome's is based of his repository, which is mostly inline with IHO, but since he built his own kernel, there are differences.
    drezliok and EarthnFire78 like this.
    04-11-2012 03:23 AM
  17. drezliok's Avatar
    I got it to work, thanks to Blarf (see, he does still help a lot )

    it's an issue with the defined location of the lunfile.

    /bootable/recovery/extendedcommands.c @ line 360
    - #define BOARD_UMS_LUNFILE "/sys/devices/platform/usb_mass_storage/lun0/file"
    +#define BOARD_UMS_LUNFILE "/sys/devices/platform/msm_hsusb/gadget/lun0/file"

    Here is an example, I don't know if it will work on newer screens, not sure if I included both screen drivers, so if you get a black screen on a newer phone, reboot the phone and flash a different recovery till Bob makes the changes to his version.

    Note- I changed the select button back to the home key, I'm afraid the camera key will break. And no, I don't care if you don't like green!

    @thewraith420: BobZhome's is based of his repository, which is mostly inline with IHO, but since he built his own kernel, there are differences.
    I love green!!! Is this safe to use? [I'm testing it now, I hated the camera button as select]
    04-11-2012 03:40 AM
  18. EarthnFire78's Avatar
    Note- I changed the select button back to the home key, I'm afraid the camera key will break. And no, I don't care if you don't like green!
    hahahahaha.........you must really like green. I do like the home as the select button cause my camera button is wonky. though I may change the green theme to a blue as I already decompiled the recovery image. Maybe a month off, I'm working on a project that is going to be a mine simi build tool for noobs like me ,
    04-11-2012 04:00 AM
  19. JerryScript's Avatar
    I love green!!! Is this safe to use? [I'm testing it now, I hated the camera button as select]
    I've tested it a bit, but TBH it needs testing by the brave and technically proficient souls around here. Just remember, you can always flash another recovery via adb or fastboot.

    @EarthenFire78: Looking forward to seeing what you come up with!
    04-11-2012 04:10 AM
  20. drezliok's Avatar
    I've tested it a bit, but TBH it needs testing by the brave and technically proficient souls around here. Just remember, you can always flash another recovery via adb or fastboot.

    @EarthenFire78: Looking forward to seeing what you come up with!
    I can also do it from inside the phone. I have Xionia and a few others stored on my SDcard.
    JerryScript likes this.
    04-11-2012 04:13 AM
  21. JerryScript's Avatar
    Yeah, the only time you should need to use ADB or fastboot is if the recovery is borked, and you attempt to flash a new ROM zip file with the borked recovery. As LeslieAnn likes to say, having either one working allows you to fix the other. Break both, and it's pretty much time for fastboot.
    04-11-2012 04:17 AM
  22. EarthnFire78's Avatar
    Speaking of Fastboot, I ended up there a few times after doing a complete wipe and ended up rebooting the phone.

    My fingers are to fat for the CWMT.
    04-11-2012 04:20 AM
  23. kwknott's Avatar
    @Jerry

    Recovery works fine on new screens. Thanks for fixing this and I also like the home button being select button much better.
    JerryScript likes this.
    04-11-2012 07:35 AM
  24. JerryScript's Avatar
    Yeah, I really don't like using the camera button for selecting. It's a two stage button, and they are much easier to break when used a lot. The home key seems safer IMHO.
    04-11-2012 03:00 PM
  25. EarthnFire78's Avatar
    Yeah, I really don't like using the camera button for selecting. It's a two stage button, and they are much easier to break when used a lot. The home key seems safer IMHO.
    Posted a link to your recovery on my OM ROM thrread, that is until I mod it to be blue to go with the blue theme of my ROM
    JerryScript likes this.
    04-11-2012 03:47 PM
57 123
LINK TO POST COPIED TO CLIPBOARD