Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Page 1 of 3 123 LastLast
Results 1 to 25 of 55
Like Tree3Likes
  1. Thread Author  Thread Author    #1  
    CuriousNoob's Avatar
    Banned

    Posts
    1,592 Posts
    ROM
    Reflash Miui every2-3days

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

    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.
  2. #2  
    cammykool's Avatar
    Resident idiot

    Posts
    944 Posts
    Global Posts
    945 Global Posts
    ROM
    Harmonia 3, Stock

    Default Re: CWM Unable to open ums lunfile (No such file or directory)

    Bobzhomes used to do that to me all the time
  3. #3  
    cole2kb's Avatar
    Retired Moderator

    Posts
    3,975 Posts
    Global Posts
    4,030 Global Posts
    ROM
    Stock

    Default Re: CWM Unable to open ums lunfile (No such file or directory)

    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.
    Thanked by:
  4. Thread Author  Thread Author    #4  
    CuriousNoob's Avatar
    Banned

    Posts
    1,592 Posts
    ROM
    Reflash Miui every2-3days

    Default Re: CWM Unable to open ums lunfile (No such file or directory)

    I know a different recovery doesn't do it, I just want to find out why CWM does it.
  5. #5  
    cole2kb's Avatar
    Retired Moderator

    Posts
    3,975 Posts
    Global Posts
    4,030 Global Posts
    ROM
    Stock

    Default Re: CWM Unable to open ums lunfile (No such file or directory)

    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.
  6. #6  
    thewraith420's Avatar

    Posts
    1,954 Posts
    ROM
    Changes Daily

    Default

    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
  7. Thread Author  Thread Author    #7  
    CuriousNoob's Avatar
    Banned

    Posts
    1,592 Posts
    ROM
    Reflash Miui every2-3days

    Default

    It happens since I first use CWM. No idea why. Since my first Optimus

    Sent from my LG-VM670 using Tapatalk 2 Beta-5
  8. Thread Author  Thread Author    #8  
    CuriousNoob's Avatar
    Banned

    Posts
    1,592 Posts
    ROM
    Reflash Miui every2-3days

    Default

    Bump

    Sent from my LG-VM670 using Tapatalk 2 Beta-5
  9. #9  
    anthonycr's Avatar
    Themer. You've seen them

    Posts
    2,119 Posts
    ROM
    Stock

    Default

    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
  10. #10  

    Default Re: CWM Unable to open ums lunfile (No such file or directory)

    Maybe partitioning and formatting the sd card might fix this?
  11. #11  
    Dannemand's Avatar

    Posts
    445 Posts
    ROM
    mrg666 MiRaGe

    Default

    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.
  12. #12  

    Default Re: CWM Unable to open ums lunfile (No such file or directory)

    Use the touch recovery, that fixed it for me.
  13. Thread Author  Thread Author    #13  
    CuriousNoob's Avatar
    Banned

    Posts
    1,592 Posts
    ROM
    Reflash Miui every2-3days

    Default

    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
  14. #14  
    JerryScript's Avatar
    Daydream Believer

    Posts
    2,058 Posts
    ROM
    Victorious

    Default Re: CWM Unable to open ums lunfile (No such file or directory)

    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.
    Thanked by:
  15. #15  
    thewraith420's Avatar

    Posts
    1,954 Posts
    ROM
    Changes Daily

    Default

    Quote Originally Posted by JerryScript View Post
    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
  16. #16  
    JerryScript's Avatar
    Daydream Believer

    Posts
    2,058 Posts
    ROM
    Victorious

    Default Re: CWM Unable to open ums lunfile (No such file or directory)

    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.
    Thanked by 3:
    drezliok likes this.
  17. #17  
    drezliok's Avatar

    Posts
    451 Posts
    ROM
    I.H.O. Mirage CM7.2

    Default Re: CWM Unable to open ums lunfile (No such file or directory)

    Quote Originally Posted by JerryScript View Post
    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]
    Last edited by drezliok; 04-11-2012 at 03:05 AM.
  18. #18  
    EarthnFire78's Avatar
    YAY!!! ME :)

    Posts
    964 Posts
    ROM
    Custom ROM & Kernel

    Default Re: CWM Unable to open ums lunfile (No such file or directory)

    Quote Originally Posted by JerryScript View Post
    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 ,
  19. #19  
    JerryScript's Avatar
    Daydream Believer

    Posts
    2,058 Posts
    ROM
    Victorious

    Default Re: CWM Unable to open ums lunfile (No such file or directory)

    Quote Originally Posted by drezliok View Post
    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!
  20. #20  
    drezliok's Avatar

    Posts
    451 Posts
    ROM
    I.H.O. Mirage CM7.2

    Default Re: CWM Unable to open ums lunfile (No such file or directory)

    Quote Originally Posted by JerryScript View Post
    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.
    Thanked by:
  21. #21  
    JerryScript's Avatar
    Daydream Believer

    Posts
    2,058 Posts
    ROM
    Victorious

    Default Re: CWM Unable to open ums lunfile (No such file or directory)

    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.
  22. #22  
    EarthnFire78's Avatar
    YAY!!! ME :)

    Posts
    964 Posts
    ROM
    Custom ROM & Kernel

    Default Re: CWM Unable to open ums lunfile (No such file or directory)

    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.
  23. #23  
    kwknott's Avatar

    Posts
    284 Posts
    ROM
    Backside... MiRaGe

    Default Re: CWM Unable to open ums lunfile (No such file or directory)

    @Jerry

    Recovery works fine on new screens. Thanks for fixing this and I also like the home button being select button much better.
    Thanked by:
  24. #24  
    JerryScript's Avatar
    Daydream Believer

    Posts
    2,058 Posts
    ROM
    Victorious

    Default Re: CWM Unable to open ums lunfile (No such file or directory)

    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.
  25. #25  
    EarthnFire78's Avatar
    YAY!!! ME :)

    Posts
    964 Posts
    ROM
    Custom ROM & Kernel

    Default Re: CWM Unable to open ums lunfile (No such file or directory)

    Quote Originally Posted by JerryScript View Post
    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
    Thanked by:
Page 1 of 3 123 LastLast

Posting Permissions