Breaking News
recent

Porting Method for Cm Based Roms from Androidone(sprout 4) to Generic Mtk 6582.



     Hey watup guys shivasai here and today i'm gonna teach you how to port cyanogenmod based custom roms from android one (1st gen) to your generic mtk(Mt6582) in a simple and easy way that even a beginner can understand and can start porting the roms.




   This method works for most of the roms but i cannot assure some roms will boot.you will need to have cyanogenmod 12.1/13 rom for your device,stable ones recommended.if you don't have one you can port it from here - cm12.1 // cm13.You can get the port roms here - Androidone




if you want to learn normal cm porting head over - Here.

Porting Method:

-Open stock rom and your port rom in two different windows.

-Delete the following files from stock rom and replace from port rom.
  • system/addon.h
  • system/Apps
  • system/fonts
  • system/framework
  • system/media
  • system/priv-apps
  • system/build.prop

-copy and paste /bin &/lib &etc/permissions  from port to stock but don't replace anything.




-Copy and replace lib/ linandroidserver.so , libandroidruntime.so , libandroidfw.so , libmedia_jni.so --from port to stock cm.

-Merge extra files in vendor folder from sprout
-copy and replace bin/ app_process32 ,applypatch ,bootanimation ,dalvikvm32 ,drmserver ,mdnsd    ,mediaserver ,serfaceflinger from port to stock cm.


  • Edit build.prop lines 1. ro.sf.hwrotation=180 or 0  2. ro.sf.lcd_density=whatever you like.
And this is it you will successfully be able to boot the roms.



consider visiting  funkteck.in

Credits:

Shiva Sai
Yazad Madan
Kishan P patel
suhail dongri
Sai Krishna
Ayush Rai
Team SPT.




keep visiting...............................
Shiva Sai

Shiva Sai

Shiva Sai is the CEO of Techragon. He is a student and is interested in Android development and loves playing Video Games. Sai is an tech enthusiast who loves discovering and sharing new technology. He loves watching Anime and loves talking about Dragonball Z for hours!

11 comments:

  1. i don't understand the last step...edit 1. ro.sf.hwrotation=180 or 0 2. ro.sf.lcd_density? can you elaborate?

    ReplyDelete
    Replies
    1. in build.prop
      Edit rotation: ro.sf.hwrotation=0 or 180 as per your device
      edit density: ro.sf.lcd_density=as per your stock build prop

      Delete
  2. I don't have applypatch in sprout4 rom should I delete it from stock as well?

    ReplyDelete
  3. leave it if you don't have,but are you sure?

    ReplyDelete
  4. any ROM for this device I can carry at mt6582 even another kernel?

    ReplyDelete
  5. this guide will wworking on mt6592 ?
    i tried this and getting problem still on boot animation

    ReplyDelete
  6. How To Port ROMS for sprout4 devices...Plz Help

    ReplyDelete
  7. What if both devices have different kernels?

    ReplyDelete

Powered by Blogger.