Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 17 of 17
Like Tree2Likes
  • 1 Post By bigsupersquid
  • 1 Post By bigsupersquid
  1. Thread Author  Thread Author    #1  

    Default Help! ADB problems in TWRP recovery (no OS or SD card) Phone keeps showing up as "MTP USB Device"...

    So, long story short, I flashed the OS2SD kitkat rom floating around. Its amazing!

    There's all this free space when everything is on the SD card!

    Until my SD card crapped out on me. Ugh.

    Right now, I have a phone with a functional TWRP OS2SD recovery, but nothing else. SD card is totally borked.

    My last shot is ADB, or I'll just be without a phone for a week until I can get another SD card. ie, not an option!

    ADB Sideload doesn't work without an SD card. >.>

    I've spent the last 2 hours trying to get ADB installed. It *looks* like it should work- Android-sdk-windows has all the right files.

    I updated my Java software.

    I go to Device Manager, and the "phone" shows up as MTP USB Device
    There is also an option at the top of device manager for 'ADB Interface -> Android Sooner Single ADB Interface'

    Unfortunately, I seem to be stuck, since the phone isn't being listed properly in device manager.
    I have the distinct feeling that the phone isn't in USB debugging mode, but in this recovery I don't see an option.

    If anyone can help me, anything and everything is greatly appreciated.



    EDIT-
    When I leave recovery and let the phone attempt to boot (black screen), an option on Device Manager appears, under 'other devices' called simply 'Android'. Unfortunately other than getting my hopes up, it doesn't seem to serve any purpose.
  2. #2  
    thewraith420's Avatar

    Posts
    1,956 Posts
    ROM
    Changes Daily

    Default Re: Help! ADB problems in TWRP recovery (no OS or SD card) Phone keeps showing up as "MTP USB Device

    Sooner single adb interface should be what you need

    Sent from my XT907 using Tapatalk
  3. Thread Author  Thread Author    #3  

    Default Re: Help! ADB problems in TWRP recovery (no OS or SD card) Phone keeps showing up as "MTP USB Device

    Um, thanks for the post but I have no idea what that means.. >.>

    I have loads of experience flashing roms and recoveries, but I've never touched ADB before.

    Ah, googled it and downloading.
    Er, or I would if I could find it. I'm still looking. >.>
  4. Thread Author  Thread Author    #4  

    Default Re: Help! ADB problems in TWRP recovery (no OS or SD card) Phone keeps showing up as "MTP USB Device

    Anyone happen to have a link to that file? I can't find it anywhere...
  5. Thread Author  Thread Author    #5  

    Default Re: Help! ADB problems in TWRP recovery (no OS or SD card) Phone keeps showing up as "MTP USB Device

    YAY finally got ADB working, and it recognizes the device (somewhat, anyways. It reads 0123456789ABCDEF, but at least recognizes that it's in recovery...)

    What is the path for the internal storage?
  6. Thread Author  Thread Author    #6  

    Default Re: Help! ADB problems in TWRP recovery (no OS or SD card) Phone keeps showing up as "MTP USB Device

    update-

    I got ADB to push a file, and everything works. It shows up in the recovery's file manager.
    Now, if only I could flash a zip from internal... but no cigar.

    I have a feeling like I'm only about 5 minutes from being done, if only I knew what I was doing.
    Er, do I have to move every file in the rom individually, or...
  7. #7  
    AndyOpie150's Avatar

    Posts
    1,256 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: Help! ADB problems in TWRP recovery (no OS or SD card) Phone keeps showing up as "MTP USB Device

    Did you save a backup of ROM to your computer?
    Might have to flash each partition using fastboot commands.
    Let me check what needs pulled from the backup. That is, if you have a backup.
  8. #8  
    bigsupersquid's Avatar
    o_O

    Posts
    1,872 Posts
    ROM
    bigsuperROM_os2sd

    Default Re: Help! ADB problems in TWRP recovery (no OS or SD card) Phone keeps showing up as "MTP USB Device

    Quote Originally Posted by Redchigh View Post
    update-

    I got ADB to push a file, and everything works. It shows up in the recovery's file manager.
    Now, if only I could flash a zip from internal... but no cigar.

    I have a feeling like I'm only about 5 minutes from being done, if only I knew what I was doing.
    Er, do I have to move every file in the rom individually, or...
    Quote Originally Posted by AndyOpie150 View Post
    Did you save a backup of ROM to your computer?
    Might have to flash each partition using fastboot commands.
    Let me check what needs pulled from the backup. That is, if you have a backup.
    I can find a mirage boot and system.img for you... and you can push it to /data and flash it in recovery with adb.
    I'll specify shortly.

    //edit: oh, it's probably the most recent version of PAC thekraven released instead. beggars can't be choosers, though. belay that, PAC's too big to fit politely on /data. Pretty sure the one I dug up is mirage.
    keep the wife happy with my dev time:
    donate!
    the THANKS button is quite acceptable if you're as stingy as me, too.
  9. #9  
    bigsupersquid's Avatar
    o_O

    Posts
    1,872 Posts
    ROM
    bigsuperROM_os2sd

    Default Re: Help! ADB problems in TWRP recovery (no OS or SD card) Phone keeps showing up as "MTP USB Device

    Ok.
    get this zip here.
    unzip it on your pc. it has boot.img and system.img, I'm pretty sure Mirage.
    in TWRP, mount internal data.
    use adb:
    Code:
    adb push /where/is/your/unzipped/file/boot.img /data/
    adb push /where/is/your/unzipped/file/system.img /data/
    adb shell flash_image boot /data/boot.img
    adb shell flash_image system /data/system.img
    after those succeed,
    in TWRP format internal data, internal cache, and reboot.
    keep the wife happy with my dev time:
    donate!
    the THANKS button is quite acceptable if you're as stingy as me, too.
    AndyOpie150 likes this.
  10. #10  
    AndyOpie150's Avatar

    Posts
    1,256 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: Help! ADB problems in TWRP recovery (no OS or SD card) Phone keeps showing up as "MTP USB Device

    Hey bigsupersquid: Doesn't the OP have to put the boot.img and system.img in the platform-tools folder of the SDK (where the adb.exe is) and then open a terminal in the platform-tools folder if he's going to be able to push them to /data/ ?
    Wouldn't fastboot commands be better/easier. The OP could flash the boot.img to the boot partition and the system.img to the system partition.
  11. #11  
    bigsupersquid's Avatar
    o_O

    Posts
    1,872 Posts
    ROM
    bigsuperROM_os2sd

    Default Re: Help! ADB problems in TWRP recovery (no OS or SD card) Phone keeps showing up as "MTP USB Device

    lead on, Andy. didn't know if had zv4 baseband and firmware flashing seems excessive while adb works...I'm outta touch with all the windows trickery
    Quote Originally Posted by AndyOpie150 View Post
    Hey bigsupersquid: Doesn't the OP have to put the boot.img and system.img in the platform-tools folder of the SDK (where the adb.exe is) and then open a terminal in the platform-tools folder if he's going to be able to push them to /data/ ?
    Wouldn't fastboot commands be better/easier. The OP could flash the boot.img to the boot partition and the system.img to the system partition.
  12. #12  
    AndyOpie150's Avatar

    Posts
    1,256 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: Help! ADB problems in TWRP recovery (no OS or SD card) Phone keeps showing up as "MTP USB Device

    Even without the fastboot screen showing after normal adb reboot bootloader command, I think the ZV5 can still have the partitions flashed with fastboot commands.
    Was helping a member a while ago with a ZV5 using sammyz's KDZ unbrick guide. It didn't take, so I needed him to erase the partitions with fastboot commands somehow. We tried several things until he just gave the command to get it into the fastboot screen (blank/black screen was all he got). He whent ahead and gave all the erase commands using fastboot, ran the KDZ again and it took.
    So there is some hope that it will work.
    Of course adb would be the first choice with a ZV5 V, but there might be fastboot if that doesn't work.
  13. #13  
    bigsupersquid's Avatar
    o_O

    Posts
    1,872 Posts
    ROM
    bigsuperROM_os2sd

    Default Re: Help! ADB problems in TWRP recovery (no OS or SD card) Phone keeps showing up as "MTP USB Device

    zv5 always just reboots on me when I tell it reboot bootloader.
    whatever works, though!
    I was just wanting to put up a solution for issues caused by installing my experiment
    I will think about a safety feature to fix breakage on boot without card. with twrp source I could make an option to flash from /data... at least a script to run in adb.
    AndyOpie150 likes this.
  14. #14  
    AndyOpie150's Avatar

    Posts
    1,256 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: Help! ADB problems in TWRP recovery (no OS or SD card) Phone keeps showing up as "MTP USB Device

    I think the reason it went to the bootloader (even though it was a blank/black scree) was the recovery partition was borked good enough before the KDZ was attempted that the firmware flashing couldn't flash the recovery. I had the same problem with my ZV4, only I had a visible fastboot screen.
  15. Thread Author  Thread Author    #15  

    Default Re: Help! ADB problems in TWRP recovery (no OS or SD card) Phone keeps showing up as "MTP USB Device

    Thanks for your help, everyone.

    I'm starting to havr sd-card problems again, so Im going to save these files now..

    - - - Updated - - -

    Thanks for your help, everyone.

    I'm starting to havr sd-card problems again, so Im going to save these files now..

    - - - Updated - - -

    Thanks for your help, everyone.

    I'm starting to havr sd-card problems again, so Im going to save these files now..
  16. #16  

    Default Re: Help! ADB problems in TWRP recovery (no OS or SD card) Phone keeps showing up as "MTP USB Device

    Quote Originally Posted by Redchigh View Post
    YAY finally got ADB working, and it recognizes the device (somewhat, anyways. It reads 0123456789ABCDEF, but at least recognizes that it's in recovery...)

    What is the path for the internal storage?
    Hey can you please elaborate on what you did to get ADB to work from TWRP? Thanks.
  17. #17  

    Default Re: Help! ADB problems in TWRP recovery (no OS or SD card) Phone keeps showing up as "MTP USB Device

    Maybe you could do a bind mount from the terminal command to make another area (data? cache?) show up as /sdcard?

Similar Threads

  1. Replies: 3
    Last Post: 07-31-2014, 02:15 PM
  2. Screen NOT working at all - How can I Factory Reset the Phone
    By SlumberRina in forum Samsung Galaxy S4
    Replies: 7
    Last Post: 04-08-2014, 10:03 AM
  3. Phone screen
    By fourhour in forum Verizon Galaxy S3
    Replies: 2
    Last Post: 03-31-2014, 01:20 PM
  4. Android 4.4.2 out now, but... only in South Korea (now)
    By ChinaOperatingSystem in forum LG G Pad 8.3
    Replies: 1
    Last Post: 03-31-2014, 11:13 AM
  5. Replies: 2
    Last Post: 03-31-2014, 10:56 AM

Posting Permissions