[*]Normal Porting Guide For Marshmallow Base roms
Replace From Stock
/ETC
-Firmwere
/LIB
Boot.img
Kernel
Unventd.rc(only if u r getting stuck at logo , otherwise No need)
[*]Normal Porting Guide For Lollipop Base roms
Lib
ETC
firmware
Boot.img
Kernel
Unventd.rc(only if u r getting stuck at logo , otherwise no need)
[*]Cross/Sprout Porting Guide
MT6582-6592,MT6592-MT6582,3.4.67-3.10.xx,sprout to genericmtk,3.10.xx-3.4.67,.........................
/system
Delete These Folders From Base rom
-addon.d
-apps
-font
-framework
-media
-priv.app
-build.prop
& Replace These Folders FromPort rom to Base rom
Bin
/etc/permission
Delete every thing from base except below two files
handheld_core_hardware.xml
platform.xml
And copy all files from port to base
/Lib
Merge extra Libs
Take These Libs From Port rom and replace it to base rom's lib folder
-libandroidserver.so
-libanddoidruntime.so
-libandroidfw.so
-libwebview*
-libjava*
Also Take Storagelist.xml From base rom
boot.img
-Use Base rom's boot
-Just take init.environ.rc Of Port rom's boot
[*]How to take logcat :
Getting to the point
Delete These Folders From Base rom
-addon.d
-apps
-font
-framework
-media
-priv.app
-build.prop
& Replace These Folders FromPort rom to Base rom
Bin
Merge extra bins
/etc/permission
Delete every thing from base except below two files
handheld_core_hardware.xml
platform.xml
And copy all files from port to base
/Lib
Merge extra Libs
Take These Libs From Port rom and replace it to base rom's lib folder
-libandroidserver.so
-libanddoidruntime.so
-libandroidfw.so
-libwebview*
-libjava*
Also Take Storagelist.xml From base rom
boot.img
-Use Base rom's boot
-Just take init.environ.rc Of Port rom's boot
[*]How to take logcat :
Getting to the point
1) Unpack boot.img , open default.prop
Change ro.secure to 0 , ro.adb.secure to 0 and ro.debuggable to 1..
2) Download adb fastboot essentials.
Extract it .. Open the folder. Press shift key and right click.. Open command prompt
First use : adb devices
Type
Adb logcat > filename.txt
Check lines of E\, W\, F\
ROM will boot soon
3) When the phone is in bootloop:-
As soon as adb detects the device
This means that the logcat will be same in the file named filename. Disconnect phone after 10-12 seconds.. That much log is enough... Guys port ROMs ... Take logsIn the log ,Check the files related to the errors and fix them one by one
------------------------------------Thnx Team Rampage---------------------------------------------
Thanks:-
Google
XDA
Fire855
Yazad Madan
Kishan P Patel
smi-le ss
Change ro.secure to 0 , ro.adb.secure to 0 and ro.debuggable to 1..
2) Download adb fastboot essentials.
Extract it .. Open the folder. Press shift key and right click.. Open command prompt
First use : adb devices
Type
Adb logcat > filename.txt
Check lines of E\, W\, F\
ROM will boot soon
3) When the phone is in bootloop:-
As soon as adb detects the device
This means that the logcat will be same in the file named filename. Disconnect phone after 10-12 seconds.. That much log is enough... Guys port ROMs ... Take logsIn the log ,Check the files related to the errors and fix them one by one
------------------------------------Thnx Team Rampage---------------------------------------------
Thanks:-
XDA
Fire855
Yazad Madan
Kishan P Patel
smi-le ss