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...............................
Nyc bro
ReplyDeleteThanks bro
Deletei don't understand the last step...edit 1. ro.sf.hwrotation=180 or 0 2. ro.sf.lcd_density? can you elaborate?
ReplyDeletein build.prop
DeleteEdit rotation: ro.sf.hwrotation=0 or 180 as per your device
edit density: ro.sf.lcd_density=as per your stock build prop
I don't have applypatch in sprout4 rom should I delete it from stock as well?
ReplyDeleteleave it if you don't have,but are you sure?
ReplyDeleteany ROM for this device I can carry at mt6582 even another kernel?
ReplyDeletethis guide will wworking on mt6592 ?
ReplyDeletei tried this and getting problem still on boot animation
How To Port ROMS for sprout4 devices...Plz Help
ReplyDeleteWhat if both devices have different kernels?
ReplyDeletehow to fix stuck at bootlogo
ReplyDelete