Marshmallow Porting guide - Tech18

Breaking

Thursday, February 22, 2018

Marshmallow Porting guide

Marshmallow Porting guide 

Credits:


COULIBALY NONTA·SATURDAY  (for this guide).

ME (For publishing this)


This is the guide I use to port some roms to Tecno C8. It’s specifically designed for this device and might not work in other devices. It howewer can work with other Tecno devices and Infinix phones (Infinix Note 2 X600 h532 for instance).




Understand that:


- This is not a fail-proof guide: Not all marshmallow roms can be booted using this method
- It may or not work with your device AT ALL.

Steps:

  • Grab this archive here  https://mega.nz/#!8REgyICJ!kkZ2I3Lm... 


  • Unpack the rom you want to port. Copy everything from cross6.0 archive you have downloaded in step 1, paste them in the unpacked rom system folder and replace when prompted.


  • Go to your stock rom and copy all files from bin folder and paste in port rom’s bin folder. DO NOT REPLACE ANY EXISTING BIN FILE!

  • Repeat the previous step but with lib and lib64 folders. JUST COPY THE .so FILES INSIDE THE LIB FOLDERS, NOT THE FOLDERS LIKE EGL, HW HW ...

  • Again, go to etc folder and copy files (not folders) and paste them in port rom’s etc folder without replacing existing ones. Also go to permissions folder and do the same.

  • And last but not least, do the same with xbin and vendor folders. In vendor folder, do not copy operator folder, just copy the other folders inside vendor.

  • Repack the rom and move to next steps to port boot.img

  • Unpack both boot.img using Carliv Image Kitchen and copy boot.img-kernel and fstab.mt6735 from stock boot.img to port boot.img

  • Repack the port boot.img and use that

  • Now flash the repacked rom (step 3) and the ported boot.img (step 5)

  • If the rom booted, awesome. Everything should be working. Else, it will go into a bootloop ! I can’t help you get out of bootloop, you’ll have to try other methods.


TROUBLESHOOTING:

If you want to use this method in another device, just replace the files in cross6.0 folder with those from your stock rom. Remember, it’s for marshmallow and kernel is 3.18.19
If you get bootloop, try replacing init.mt635 files from stock to port. Repack the boot. If still doesn’t work, try to copy init.environ.rc from port to stock. Repack stock boot.
Sometimes to get front flash working, you have to use a thirdparty app. I use Camera MX.
Some ROMs are known to not work using this method: CoolUI 8.0, CM-13.0 and probably more.

No comments:

Post a Comment

Admin note

Help us to grow more , if you you have any suggestion then contact us .