DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 2 of 2 FirstFirst 1 2
Results 11 to 19 of 19

Thread: Can Anyone Help Me Figure Out What I Am Doing Wrong With ADB Commands

  1. Senior Droid
    skylordusa1's Avatar
    Member #
    106748
    Join Date
    Aug 2010
    Posts
    205
    Twitter
    Skylordusa
    Phone
    Galaxy Nexus
    #11
    Yup thats what I am doing. I have the phone on and connected to my compooter. I have USB debuggin on and run the adb devices command in cmd.
    My phone serial number shows up with device.

    I then cd c:\androidsdk\tools

    then i have the below

    C:\androidsdk\tools>

    then I pull the file from the phone.

    C:\androidsdk\tools> adb pull /system/framework/framework-res.apk framework-res.apk
    1813 KB/s (0 bytes in 5224198.002s)

    I then reboot to recovery

    c:\androidsdk\tools> adb reboot recovery

    Once my phone is in recovery I then try to mount from my compooter and I get the below

    c:\androidsdk\tools>adb remount
    remount failed: Unknown error: 0

    Since that remount fails I then mount /system from clockwork recovery on my phone.

    Once mounted I then try to push the file back to the phone.

    C:\androidsdk\tools> adb push framework-res.apk /system/framework/framework-res.apk
    354 kb/s (0 bytes in 5224198.014s)

    I then reboot my phone and once it comes up I get tons of errors/force closes for everything running on my phone.

    Im still not sure if when pulling and pushing I should be seeing 0 bytes count in xxxxxx seconds which i am. And also the KB count is different when I push and pull.
  2. Master Droid
    shocka2430's Avatar
    Member #
    49305
    Join Date
    Mar 2010
    Posts
    530
    #12
    After you mount system in clockwork also do adb remount and see if that works

    Sent from my Droid using Tapatalk
    follow me on twitter @shocka2430
  3. Senior Droid
    skylordusa1's Avatar
    Member #
    106748
    Join Date
    Aug 2010
    Posts
    205
    Twitter
    Skylordusa
    Phone
    Galaxy Nexus
    #13
    Quote Originally Posted by shocka2430 View Post
    After you mount system in clockwork also do adb remount and see if that works

    Sent from my Droid using Tapatalk
    Ok I was in recovery and mounted /system via clockwork. I then ran the adb remount command and it succeeded so I pushed the file again. But I still received the errors/force closes after reboot. I see your commands you are typing are for /system/app/whatever.apk. I am trying to pull the framework.apk from /system/framework/framework.apk. Is there a difference between pulling a regular app from /system/app and pulling the framework.apk from /system/framework? Maybe there is a step I am missing.
  4. Master Droid
    shocka2430's Avatar
    Member #
    49305
    Join Date
    Mar 2010
    Posts
    530
    #14
    Not really much different just adb push framework-res.apk /system/framework/framework-res.apk. The framework is just more finiky then the apks. You could put that framework in a zip if you wanted and do it that way.

    Sent from my Droid using Tapatalk
    follow me on twitter @shocka2430
  5. Senior Droid
    skylordusa1's Avatar
    Member #
    106748
    Join Date
    Aug 2010
    Posts
    205
    Twitter
    Skylordusa
    Phone
    Galaxy Nexus
    #15
    Quote Originally Posted by shocka2430 View Post
    Not really much different just adb push framework-res.apk /system/framework/framework-res.apk. The framework is just more finiky then the apks. You could put that framework in a zip if you wanted and do it that way.

    Sent from my Droid using Tapatalk
    Ok thank you for all your help. Normally I just take the ROM or Theme zip file and edit the framework.apk and then re package it and flash it on to my phone. I wanted to try ADB cause it seemed a little bit easier/faster. Thanks for the help though I really appreciate it been getting so frustrated over this whole thing.
  6. Master Droid
    forkup's Avatar
    Member #
    184
    Join Date
    Oct 2009
    Posts
    317
    #16
    You have to give it a path like I said when doing a pull, did you even try it?
  7. Master Droid
    shocka2430's Avatar
    Member #
    49305
    Join Date
    Mar 2010
    Posts
    530
    #17
    If he cds to something he is setting the path where it saves.

    Sent from my Droid using Tapatalk
    follow me on twitter @shocka2430
  8. Master Droid
    forkup's Avatar
    Member #
    184
    Join Date
    Oct 2009
    Posts
    317
    #18
    I've always had to give it a path when doing a pull.
  9. Master Droid
    shocka2430's Avatar
    Member #
    49305
    Join Date
    Mar 2010
    Posts
    530
    #19
    That's weird, when I open up my cmd I always do cd c:/android/tools. Then anything I do after is set to my tools folder. So when I adb pull I just type adb pull /system/app/whatever.apk whatever.apk. that saves it to my tools folder
    Try it and see if it works forkup, you might be doing to much lol.

    Sent from my Droid using Tapatalk
    follow me on twitter @shocka2430
Page 2 of 2 FirstFirst 1 2

Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Replies: 11
    Last Post: 01-18-2011, 08:14 AM
  2. Replies: 8
    Last Post: 10-08-2010, 09:40 PM
  3. I have been trying to figure this out
    By mchorne1 in forum Droid Themes
    Replies: 2
    Last Post: 05-10-2010, 01:56 PM
  4. Can't figure it out. Ask here!
    By verian in forum Droid Concepts
    Replies: 3
    Last Post: 05-04-2010, 08:45 PM
  5. Can't figure this out!
    By AlanMAC in forum HTC Droid Eris
    Replies: 2
    Last Post: 12-01-2009, 10:51 PM

Search tags for this page

adb error: closed
,
adb remount error: closed
,
adb remount failed
,
adb remount failed unknown error
,

adb remount failed unknown error 0

,
adb remount failed: unknown error: 0
,
adb remount remount failed: unknown error: 0
,
adb remount unknown error
,
adb remount unknown error 0
,

remount failed unknown error 0

,
remount failed: unknown error 0
,

remount failed: unknown error: 0

Click on a term to search our site for related topics.
Find us on Google+