Saturday, August 20, 2016

ROM Porting Guide [MT-6582]

first extract the ROM
then replace these files with Stock

     system > lib 

     libMali.so
     libcamdrv
     libcamalogo
     audio.primary.default.so

system > lib > hw

     audio_policy_default.so
     audio_policy_stub.so
     audio.primary.default.so
     lights.default.so
     sensors.default.so

system > etc

      firmware
      permissions
      bluethooth

Go to META-INF > com > google > android 
Open Updater Script & Change Mount Points

  mmcblk0p < rename here with ur mount point
  example mmcblk0p5 my mount point system
  number is 5 data 7 & cache 6
  you'll find 3 line do same with three put
  data to data & system to system & cache
  to cache mount points (use Partition Info & Diskinfo)
  for find out mount points...

Go to system > open build.prop
   change device name & model
   ro.lcd_density=
   220 for 4 inch Screen
   300 for 4.7 inch Screen
   320 for 5.0 & 5.3 Inch
   or adjust with ur reg

 replace boot.img from stock rom 
 then make a zip & flash it....
 for miui,lewa & cm based rom u
 need to port boot.img

Credit
Konok Ahmed(for writing this post)
any problem comment below
Thanks for Visiting



  
   

1 comment: