[Android Software/Hacking General [Developers Only]] The Hard Gamer:
HELLO GUYS AND GALS WE HAVE NOW NOUGAT IN OUR HANDS GETTING PRETTY STABLE BUT THERE ARE PEOPLE WILLING TO PORT NOUGAT TO THEIR PHONES SO HERE I AM WITH A GUIDE THAT I MADE MYSELF WITH HELP OF [MENTION=6991820]mshoaib7[/MENTION] TO PORT NOUGAT ROMS FOR LENOVO A6000 THIS GUIDE CAN BE USED FOR OTHER SNAPDRAGON DEVICES

LETS START

BASICS---

YOU CAN ONLY USE 7.0 AS BASE FOR 7.0 ROMS AND 7.1.1 AS BASE FOR 7.1.1 ROMS

YOU NEED TO HAVE ATLEAST ONE FULLY FUNCTIONAL NOUGAT ROM THAT YOU CAN USE AS BASE

THE PROCESSOR OF BOTH THE PHONES SHOULD BE SAME

SAME GOES WITH GPU AND SCREEN SIZE

THE ROM OF YOUR PHONE IS CALLED BASE ROM

THE ROM THAT YOU WANT FROM OTHER PHONE TO YOUR PHONE IS CALLED PORT ROM

ITS HARD TO MAKE IT NOOBFRIENDLY:silly::silly::silly::silly:

REQS---

1] AUTO TOOL UNPACK REPACK TO EXTRACT SYSTEM.NEW.DAT FROM HERE

https://xdaforums.com/general/general/tool-auto-tool-unpack-repack-rom-t3278393

2] WINDOWS PC

3]NOTEPAD++

4]TIME AND PATIENCE

LETS START NOW---

1] EXTRACT YOUR BASE ROM AND PORT ROM TO DIFFERENT FOLDERS

2]YOU MAY GET SYSTEM.NEW.DAT IN BOTH ROMS IF YOU GET THAT USE AUTO TOOL TO EXTRACT THEM

3]NOW GO TO PORT ROM FOLDER AND DELETE META-INF, FILE CONTEXTS, RECOVERY, SUPERSU OR ANY OTHER FOLDERS PRESENT

DONT DELETE BOOT.IMG AND SYSTEM FOLDER

4] COPY META-INF AND RECOVERY FOLDER FROM BASE TO PORT ROM AT THE SAME LOCATION FROM WHERE YOU DELETED THEM

5] OPEN SYSTEM FOLDERS IN BOTH ROMS

6]DELETE BIN, ETC, TTS, ADDON.D, USR, XBIN AND recovery-from-boot.p FROM PORT ROMS FOLDER

COPY THE ABOVE FOLDERS AND FILES FROM BASE TO PORT ROM AFTER DELETING IN PORT ROMS FOLDER

7]OPEN LIB FOLDERS IN BOTH ROMS AND COPY AND REPLACE /DRM

/HW, /SOUNDFX FOLDERS FROM BASE TO PORT

8] COPY THE FOLLOWING LIB FILES FROM BASE TO PORT LIB FOLDER

LIBGLES*, LIBMM*, LIBHARDWARELEGACY, LIBRIL, LIBRILUTILS, libwcnss_qmi, LIBCAMERA*

9] NOW OPEN /VENDORS/LIB IN BOTH ROM FOLDERS AND REPLACE FROM BASE TO PORT ALL THE FILES NAMED WITH

libacutator*, libchromatix*, libmmcamera*, libril*,liboemcamera, libimscamera

10]NOW RENAME BUILD.PROP OF PORT ROM TO SOMETHING ELSE AND COPY YOUR BASE BUILD.PROP IN SYSTEM FOLDER OF PORT ROM AND OPEN BOTH OF THEM AND REPLACE THE ROMS NAME, ITS VERSION AND STUFF FROM PORT TO BASE BUILD.PROP AND SAVE IT AND DELETE THE PORT BUILD.PROP

NOW THE BOOTIMG PART----

USE THIS TO EXTRACT BOOTIMG---

http://www.mediafire.com/download/815a86r7ay5dh8r/bootimg.zip

EXTRACT THE ABOVE ZIP AND CUT AND MOVE YOUR PORT BOOTIMG TO THIS FOLDER

NOW IN this folder press SHIFT+RIGHT CLICK AND SELECT OPEN COMMAND WINDOWS HERE AND TYPE IN CMD-

bootimg.exe --unpack-bootimg boot.img

your port BOOTIMG WILL BE EXTRACTED NOW DELETE EVERTHING EXCEPT BOOTIMG.EXE AND INITRD FOLDER

NOW RENAME THIS INITRD FOLDER TO "PORT BOOTIMG"

SIMILARLY EXTRACT YOUR BASE BOOTIMG BUT DONT DELETE ANYTHING THIS TIME NOW GO TO THE PORT BOOTIMG FOLDER AND CUT init.environ.rc AND PASTE IT IN INITRD FOLDER OF BASE BOOTIMG

AFTER REPLACING THAT FILE RUN THIS COMMAND

bootimg.exe --repack-bootimg

YOU WILL GET BOOT-NEW.IMG

CUT IT AND PASTE IT IN YOUR PORT ROMS FOLDER AND RENAME IT TO boot.img

NOW SELECT ALL THE FOLDERS IN PORT ROMS FOLDER

INCLUDING META-INF, SYSTEM, BOOT.IMG, FILECONTEXTS, AND OTHER FOLDERS IF PRESENT AND ZIP IT AND FLASH IT VIA TWRP

NOTE---YOUR BASE ROM SHOULD NOT BE COMPRESSED IN FORM OF SYSTEM.NEW.DAT OR YOU WILL HAVE TO CREATE A NEW UPDATER-SCRIPT

I AM SURE THIS GUIDE WILL WORK FOR SD410, SD210 DEVICES

COMMENT IF YOU FACE ANY PROBLEMS

IT WAS A LONG GUIDE:silly:

ENJOY