Porting Guides?

Discussion in 'Porting Advice/Help' started by NeoMustain, Feb 23, 2012.

  1. NeoMustain

    NeoMustainMembers

    Jan 13, 2012
    10
    0
    11
    Could someone put up a skeleton of a porting guide so we could try to port MIUI to our devices which might not be having MIUI ports? Would be wonderful to have rough guidelines. Or even complete ones ;)
     
  2. marcusant

    marcusantMembers

    Mar 4, 2012
    6
    0
    11
    Male
    School
    Michigan
    Do that with your device's files instead of epic.

    Sent from my SPH-D700 using Tapatalk
     
  3. iBotPeaches

    iBotPeachesScript Gatekeeper

    Oct 31, 2011
    3,811
    1,115
    335
    Kansas
    Nice little guide. Actually helped me out with some things as well regarding CDMA and GSM.

    Thanks
     
  4. dekkyy

    dekkyyMembers

    May 16, 2011
    116
    11
    30
    Can anyone help me with this logcat? Never had any problem before, only now with 2.3.9.
     

    Attached Files:

  5. MarkHUK

    MarkHUKFounder & Sys Op
    Staff Member

    libandroid_runtime.so appears to be something to look at.. at first glance anyway!
     
  6. dekkyy

    dekkyyMembers

    May 16, 2011
    116
    11
    30
    No it's not libandroid_runtime.so. If i keep that file from my base, the phone stucks at bootloop. But if i copy that file from MIUI ICS, the phone doesn't even come to bootanimation.
     
  7. MarkHUK

    MarkHUKFounder & Sys Op
    Staff Member

    there's a library / permissions issue from looking it over.
     
  8. dekkyy

    dekkyyMembers

    May 16, 2011
    116
    11
    30
    Wich one?
     
  9. MarkHUK

    MarkHUKFounder & Sys Op
    Staff Member

    That's the question.... not sure at first glance but it looks like an issue with the loading of the libs or the wrong libs being found? Don't know how much that helps
     
  10. dekkyy

    dekkyyMembers

    May 16, 2011
    116
    11
    30
    Thanks! Need to try few more things.
     
  11. dekkyy

    dekkyyMembers

    May 16, 2011
    116
    11
    30
    Still no luck. Any Help???
     
  12. MarkHUK

    MarkHUKFounder & Sys Op
    Staff Member

    You could go to mi-code.net and download the PatchROM guide, its still in Chinese but you can translate it loosely with google translate.

    I am working on an English guide at the moment but there is a A LOT to write and i dont get a lot of spare time to look at it.

    Thanks,

    Mark
     
  13. dekkyy

    dekkyyMembers

    May 16, 2011
    116
    11
    30
    Can you send me that file in chinese, or give me a link? I will try to translate.
     
  14. iBotPeaches

    iBotPeachesScript Gatekeeper

    Oct 31, 2011
    3,811
    1,115
    335
    Kansas
  15. dekkyy

    dekkyyMembers

    May 16, 2011
    116
    11
    30
  16. MarkHUK

    MarkHUKFounder & Sys Op
    Staff Member

    Reminds me - im on chapter 3 since like 4 days, must do some more work on it... its a massive document :)
     
  17. dekkyy

    dekkyyMembers

    May 16, 2011
    116
    11
    30
    Ok. I finaly made it, but usb storage doesn't work. What could that be?
     
  18. MarkHUK

    MarkHUKFounder & Sys Op
    Staff Member

    ramdisk / framework.
     
  19. dekkyy

    dekkyyMembers

    May 16, 2011
    116
    11
    30
    What edits needs to be done?
     
  20. MarkHUK

    MarkHUKFounder & Sys Op
    Staff Member

    off hand i dont know, i dont know your device and dont have it to test anything here which makes it hard. You'd need to ask other porters for your device.
     
  21. jusada

    jusadaMembers

    Feb 29, 2012
    7
    0
    11
    Male
    Looking at the guide, one thing I notice is the android-runtime.so don't replace this. You won't get a boot.

    Sent from my GT-I9100 using Tapatalk
     
  22. dekkyy

    dekkyyMembers

    May 16, 2011
    116
    11
    30
    OK. I managed to boot 2.3.9 and have few issues. Superuser doesn't work. I added liblbesec.so, libloader.so, libnativecache.so, libservice.so and add 0755 permissions. Is anything else needed in that version?
     
  23. MarkHUK

    MarkHUKFounder & Sys Op
    Staff Member

    Try the standard Superuser.apk and see if that is working first of all.
     
  24. jusada

    jusadaMembers

    Feb 29, 2012
    7
    0
    11
    Male
    What do you mean by not working? Is it force closing when requesting? If so go into permissions and go to apps then choose the app and give root permission that way. It should work then.

    Sent from my GT-I9100 using Tapatalk
     

Share Our Site