Root Anyone know why I can't push files to emulator?

Discussion in 'Android Devices' started by thegame3202, Apr 19, 2010.

  1. thegame3202

    thegame3202 Well-Known Member
    53

    Apr 2, 2010
    233
    52
    53
    It tells me that the device is read only :-\ Isn't the whole purpose to be able to test stuff? lol. How do I change this? Or are you not allowed to change framework files on them?
     

    Advertisement

  2. BH_MAN

    BH_MAN Well-Known Member
    313

    Feb 17, 2010
    1,381
    1,667
    313
    The Problem is the boot.img you're using, in the ramdisk, the init.rc the mount option's will need to be changed from ro to rw & you will be able to push any file you want...

    Glad to see you are taking this head-on :D
    Let me know if you need help setting it up.
     
  3. thegame3202

    thegame3202 Well-Known Member
    53

    Apr 2, 2010
    233
    52
    53
    hmm, how do I open all the files? I found the init.rc, edited the 2 lines that I needed to, but I get an error with 7zip trying to put it back in the file. Is there some other software I should use to edit that? Also, how would I go about installing your odin files on there? I figured ODIN would just see it, or is that not possible? Thanks BH Man!
     
  4. BH_MAN

    BH_MAN Well-Known Member
    313

    Feb 17, 2010
    1,381
    1,667
    313
    Post the file you're using and I'll have a look at what your working with ( boot.img )
     
  5. thegame3202

    thegame3202 Well-Known Member
    53

    Apr 2, 2010
    233
    52
    53
    I thought it was ramdisk.img? Now I'm confused... lol. I'm in here:
    C:\sdk\platforms\android-4\images
    I don't have a boot.img anywhere in my sdk :-\
     
  6. BH_MAN

    BH_MAN Well-Known Member
    313

    Feb 17, 2010
    1,381
    1,667
    313
    Yes you are Correct.. It's through the ramdisk.img, it's been awhile since I play with emul...

    As far the Emul. running the system.img of the behold 2, i Have no clue on this, as I've not tried at all..
     
  7. thegame3202

    thegame3202 Well-Known Member
    53

    Apr 2, 2010
    233
    52
    53
    Hmm Here's a link to that ramdisk.img file:
    RapidShare: 1-CLICK Web hosting - Easy Filehosting

    Let me know what ya think man. Appreciate the help too :) I like screwing around with colors and stuff, I just want to change the clock color and I think I literally cannot do it. I thought if I place the classes.dex back into services.jar, and deleted services.odex it would recreate it... I was wrong :p Thank you for the recovery mode BTW :p
     
  8. BH_MAN

    BH_MAN Well-Known Member
    313

    Feb 17, 2010
    1,381
    1,667
    313
    if you change anything in the frameworks, with .dex .... they all must have .dex in the File's or have the optimized .odex in the same path.. You can mix and Match the odex with dex or it wont boot at all... This might have been your problem.
     
  9. thegame3202

    thegame3202 Well-Known Member
    53

    Apr 2, 2010
    233
    52
    53
    So if I convert every odex file to a classes.dex and place it in the corresponding .jar, it should recreate all of the odex files? Do I need to resign if I pull apart odex and re-dex it?
     
  10. BH_MAN

    BH_MAN Well-Known Member
    313

    Feb 17, 2010
    1,381
    1,667
    313
    well the sad part is, atm anyways.. If we de-odex any .jar to have the dependency of a .dex, even if we convert them back into .odex it's breaking something, I've email jesusfreak about smali, but yet to here back from him regarding this issue...
     
  11. thegame3202

    thegame3202 Well-Known Member
    53

    Apr 2, 2010
    233
    52
    53
    Cool man, well keep me updated :) Appreciate all the help!
     

Share This Page

Loading...