Porting Android One Cross Dev Roms to 6582/92 - Miscellaneous Android Development

Credits - Manish Singh ([email protected])
Simplified and detailed by me (Arun Sharma)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Base Rom - CM12.1
Port Rom - Any Rom from here
First of all Comes Extracting the system.new.dat file :laugh:
Here's how to do it:-
1) Download sdat2img tool from here
(Source - thanks to @xpirt)
2) copy it to your port rom folder
3) Shift+Right click and choose Open Command window here
4) enter the command
sdat2img system.transfer.list system.new.dat system.img
hit enter.
It'll show reading blocks, will take around 20 seconds and you'll see a System.img file, newly created
5) You can now extract that with ext4unpacker to get the system folder
just choose the image, select contents and extract anywhere you want.
Now, let's Port!
1) Open Lib folder in port rom &
Copy EGL folder,
Libandroidfw, libandroid_servers, libandroid_runtime.so
libskia, libinput ,libsurfaceflinger, libjavacore, libcamera files (except libcameracustom)
files to a new folder, name it lib
Open Bin folder, copy the file named input to a new folder, name it bin
2) Copy all Libs, Bins from cm12.1 to port Rom (leave existing ones in port rom)
after its done, copy back the files that we copied in step 1 in that lib, bin folder to port rom (original ones from port)
3) Copy vendor folder from CM12.1 to port rom
4) Copy Firmware folder from CM12.1/etc to port rom
you may also copy the lib/ hw folder from cm12.1 to port rom (if you face any issues with sensors)
5) Use boot.img of cm12.1 Or pacman or AICP
Or Make one Yourself
Making boot.img for cm12.1 based roms :-
1) Extract port and stock boot.img files using Android Kitchen
2) Copy zImage file of stock boot.img to port boot.img
3) Repack the port boot folder and use that boot.img
in case it doesn't work, copy the uevented.rc file from stock boot/ramdisk folder to port boot/ramdisk (along with zimage)
and pack it!
Done.. add this boot.img to your port rom folder)
:laugh:
------------------------------------------------------------------------------------
Now, your rom will work, however, you may see that none of the storages are mounted!
So, here's how to fix that
1) Copy the Framework-res.apk from any of the CM12.1 based roms for your device or the stock rom
2) Decompile it (TickleMyAndroid tool can be used for that)
3) open the working folder, go to res/xml folder and copy Storage-list.xml file
4) Now decompile the port rom's Framework-res.apk also, in separate folder
and paste that copied storage-list.xml file into it's res/xml folder
5) Compile it and copy back to port/framework folder.
Storage will be fixed now
6) You may wanna add some changes to build.prop also (if you want)
7) Use the meta-inf of any existing CM12.1 or CM12 rom for your device also!
8) Now, zip the rom and Copy the rom to anywhere in SDCard or internal storage
Flash from recovery!
Happy Porting :laugh:

Thanks
arun6106 said:
Credits - Manish Singh ([email protected])
Simplified and detailed by me (Arun Sharma)
Base Rom - CM12.1
Port Rom - Any Rom from here
First of all Comes Extracting the system.new.dat file :laugh:
Here's how to do it:-
1) Download sdat2img tool from here
(Source - thanks to @xpirt)
2) copy it to your port rom folder
3) Shift+Right click and choose Open Command window here
4) enter the command
sdat2img system.transfer.list system.new.dat system.img
hit enter.
It'll show reading blocks, will take around 20 seconds and you'll see a System.img file, newly created
5) You can now extract that with ext4unpacker to get the system folder
just choose the image, select contents and extract anywhere you want.
Now, let's Port!
1) Open Lib folder in port rom &
Copy EGL folder,
Libandroidfw, libandroid_servers, libandroid_runtime.so
libskia, libinput ,libsurfaceflinger, libjavacore, libcamera files (except libcameracustom)
files to a new folder, name it lib
Open Bin folder, copy the file named input to a new folder, name it bin
2) Copy all Libs, Bins from cm12.1 to port Rom (leave existing ones in port rom)
after its done, copy back the files that we copied in step 1 in that lib, bin folder to port rom (original ones from port)
3) Copy vendor folder from CM12.1 to port rom
4) Copy Firmware folder from CM12.1/etc to port rom
you may also copy the lib/ hw folder from cm12.1 to port rom (if you face any issues with sensors)
5) Use boot.img of cm12.1 Or pacman or AICP
Or Make one Yourself
Making boot.img for cm12.1 based roms :-
1) Extract port and stock boot.img files using Android Kitchen
2) Copy zImage file of stock boot.img to port boot.img
3) Repack the port boot folder and use that boot.img
in case it doesn't work, copy the uevented.rc file from stock boot/ramdisk folder to port boot/ramdisk (along with zimage)
and pack it!
Done.. add this boot.img to your port rom folder)
:laugh:
------------------------------------------------------------------------------------
Now, your rom will work, however, you may see that none of the storages are mounted!
So, here's how to fix that
1) Copy the Framework-res.apk from any of the CM12.1 based roms for your device or the stock rom
2) Decompile it (TickleMyAndroid tool can be used for that)
3) open the working folder, go to res/xml folder and copy Storage-list.xml file
4) Now decompile the port rom's Framework-res.apk also, in separate folder
and paste that copied storage-list.xml file into it's res/xml folder
5) Compile it and copy back to port/framework folder.
Storage will be fixed now
6) You may wanna add some changes to build.prop also (if you want)
7) Use the meta-inf of any existing CM12.1 or CM12 rom for your device also!
8) Now, zip the rom and Copy the rom to anywhere in SDCard or internal storage
Flash from recovery!
Happy Porting :laugh:
Click to expand...
Click to collapse
Thanks bro but this porting tut not working on Mokee LP rom......
but works for other roms......

Not Working
Getting error while enter code in CMD:crying::crying:

ZeroVirus said:
Getting error while enter code in CMD:crying::crying:
Click to expand...
Click to collapse
make sure you downloaded the correct tool
should be 5.4 mb in size
then, verify that both input files exist there:-
system.new.dat
system.transfer.list

You may want to, re-write all the OP.
otherwise, this will be closed.
...
And who built CyanogenMod 11/12/12.1 for "regular" MT6582 / 92 devices?
The most important persons you failed to mention...
You know, the ones who actually built it?
--> The 6582/92 development group.

yeah its 5.4 mb and all files are there
---------- Post added at 12:28 PM ---------- Previous post was at 12:24 PM ----------
i dont have this two file
system.new.dat
system.transfer.list

after extracting how can i compile back to system.new.dat?

hello need a help............ i have booted a rom ... but when i installed apps and trying to open its fortunately stopped... can you help.. mt6592

Even marshmallow ROMs?

Cam lib files means which can u post it please

Does it work on cm13?

Related

[GENERAL-GUIDE] You Are A Noob on Xda |How to Theme|How to Mod|How to Tweak|And More

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
General-Guide Just For You!​
Hello Xda,
I am Getting a lot of requests on how to theme/tweak/mod etc... now im gonna learn that to you!
What can you learn by reading this Quide?
The following things:
- Android Theming (Part 1)
- Deodexing (Part 2)
- Deleting/Adding Apps (Part 3)
- Android Tweaking (Part 4)
- Building From Source (Part 5)
- Open a .img File! (Part 6)
- Flashing With Odin (Part 7)
- porting roms (Part 8)
- flashing with heimdall (Part 9)
- flashing with cwm (Part 10)
- build kernel (Part 11)
- build cwm recovery (Part 12)
- flashing OTA leak (Part 13)
More to come stay tuned
Part 1 Theming Android:
First you need the following Tools for this:
-7zip
-A Windows PC
Step 1) Go to your rom you like to Theme and grab you Systemui.apk From system/app Copy it to your desktop!
Step 2) Now open the file with 7zip by right clicking on the file and choose open with 7zip
Step 3) When you are in the Systemui.apk with 7zip go to the Res folder and open up Drawable-hdpi Depending on your phone it could be also Drawable-ldpi or Drawable-mdpi Or Drawable-xhdpi Now just open that folder!
Step 4) when you are in that folder you see a lot of .png files that are all the files you could theme now If you want to theme your Systemui.apk to ICS/JB/GB/Froyo etc... source for the systemui.apk from a phone who is running on that OS!
Step 5) When you have found that systemui.apk from the other OS Then open that Systemui.apk also with 7zip and go to the res folder and than to Drawable-hdpi!
Step 6) when you have bot systemui.apk's opend source for the .png's you want to theme for example you want to theme the wifi signal icon Source in YOUR SYSTEMUI.APK FROM YOUR PHONE to stat_sys_wifi_signal
then also find the excactly same .png in the other Systemui.apk from that other OS and start copying the Files!
NOTE: Please Check the names if they are the same otherwise the systemui will Force Close (Crash)
Step 7) Now when your done copying and theming Close The file and put it back in your rom Flash your rom congratulations you have themed Now your Android Rom!
Part 2 Deodexing
What you need is:
A windows Pc
A zip opener tool
Xdaautotool
How to Deodex:
First Download xdaautotool From here: http://forum.xda-developers.com/showthread.php?t=1053227
Step 1) When you have downloaded XdaAutoTool you see some Folders and other things in the .rar file make a folder on your desktop and name the folder xdaautotool now just extract them to your desktop in the folder xdaautotool!
Step 2) In Res there is AAA_register_ocx.bat Run that!
Step 3) Run \Res\FileRegister.exe to register the files in your system!
Step 4) Now you can open xdaautotool.exe and go to the Deo screen when you are in there Wait!
Step 5) Open your odexed Rom.zip file and copy all the files inside the /system/app folder to _SOURCE_APP!
Step 6) Open your odexed Rom.zip file again and now copy all the files inside /system/framework folder to _SOURCE_FRAMEWORK!
Step 7) Now in the Deo screen Choose all stock and let it do it's work!
Step 8) When xdaautotool has finished open your xdaautotool folder and go to _DEODEX_APP and make a folder calld app! copy all the files inside of there and then go to your odexed rom.zip and delete the app folder once it's deleted paste the deodexed app folder inside your rom.zip
Step 9) open your xdaautotool folder and go to _DEODEX_FRAMEWORK and make a folder calld framework! copy all the files inside of there and then go to your odexed rom.zip and delete the framework folder once it's deleted paste the deodexed framework folder inside your rom.zip
Step 10) congratulations you have deodexed Now your Android Rom!
Part 3 Adding/Removing Apps
Needed Tools:
-A zip opener tool
Step 1) Open your Rom.zip file and go to system/app from there you can remove apps by clicking on the right mouse button and choose delete!
Becarefull by what you are deleting some apps are needed for you OS!
Step 2) Open your Rom.zip file and go to system/app then pick a .apk file you just downloaded and paste it into there!
DO NOT POST ANY WAREZ ON XDA SO ALSO NOT IN YOUR ROM!
Part 4 Android Tweaking
What you need:
-A zip opener tool
Tweak build.prop:
Step 1) Go to this thread for build.prop tweaks: http://forum.xda-developers.com/showthread.php?t=1588439
Step 2) When you are in that thread you see a lot of tweaks Go ahead and pick one Copy the tweak and paste it into your Build.prop paste it on the latest line just at the very end of your build.prop You can find your build.prop in your rom by going to /system and then you see the build.prop!
Step 3) Flash you rom Enjoy!
Tweak init.d
Step 1) Go to this thread for init.d tweaks: http://forum.xda-developers.com/showthread.php?t=1353903
Step 2) Do exacly what stands in that thread!
Part 5 Building From source
You need the Following
-A linux/Ubuntu PC or virtualbox with linux/ubuntu
I was thinking about writing my own guide but there are many quides out already
Building CM9 From Source: http://forum.xda-developers.com/showthread.php?t=1566224
Building CM10 From Source: http://forum.xda-developers.com/showthread.php?t=1566224
Building CM7 From Souce: http://forum.xda-developers.com/showthread.php?t=978544
Part 6 Opening a System.img File/Creating your first/own rom
what you need is:
sgs2ext4.jar
Java 6
diskinternals linux reader
Downloads:
sgs2ext4.jar: http://forum.xda-developers.com/showpost.php?p=15333542&postcount=135
diskinternals linux reader: http://www.diskinternals.com/linux-reader/
Java SE: http://www.oracle.com/technetwork/java/javase/downloads/index.html
Step 1) Download all the files!
Step 2) When you have downloaded sgs2ext4.jar save it on your desktop
Step 3) Install Diskinternals Linux Reader
Step 4) Install Java SE
Step 5) Open up your .tar file and then open the .md5 file inside the .tar file when you have opend that folder copy the system.img or factoryfs.img depending on what phone you have to your desktop!
Step 6) Open up the sgs2ext4.jar application and Drop the system.img/factoryfs depending on your phone inside the application wait for it when it says done you can close the application!
Step 7) Now open Diskinternals Linux Reader.exe and go to drives--->Mount image--->Then a screen will pop up!
Step 8) then choose raw disk images and click next then source for the system.img.ext4 and open it then you see a new drive open up that drive!
Step 9) in the drive you will see all the folders select them all and go to Commands--->Save selected then choose a place you want to save the files!
Step 10) Make a .zip file and open up the file inside the .zip file make 2 folders META-INF and system Now open the system folder and copy all the files witch you have just opend with diskinternals to /system done! don't forget to paste the boot.img into the .zip file to NOT IN META-INF OR system just paste them by the 2 folders!
Step 11) Make the META-INF folder complete Gongrats you have made your own rom!
Part 7 Flashing With Odin
You need the following
- Odin!
Downloads:
For odin Look at your devices forum it must be somewhere around there!
Step 1) Download your rom from www.sammobile.com for your device!
Step 2) open up odin and choose in the pda file the .tar file you just have downloaded!
NOTE For some Devices you must fill in all the boxes!
Step 3) Put your device in download mode (This is for every device diffrent)
Step 4) When odin recognize it click on start when for it when it's done it will automatic reboot and doing some stuff automaticly no panic this is normal!
Step 5) The device will reboot and boot into Android Enjoy!
Part 8 Porting Rom's
What you need is:
-A zip opener tool
Step 1) Download the Rom you want to port from a other device to your device KEEP IN MIND IF YOUR PHONE IS A ARMV6 YOU MUST PORT IT FROM A ARMV6 THE SAME FOR ARMV7 AND ARMV5!
Step 2) Open up the rom you've just downloaded from now im calling that the ported rom and also pick your Base rom from your rom
Step 3) when you have opened both rom's then go to you base rom go and delete app/framework then copy app/framework from the ported rom to your base rom!
Step 4) Open up the etc folder in your base and ported rom!
Step 5) open in both rom's the permissions folder and copy all the files inside the permissions folder from the ported rom to your base rom!
Step 6) now go back and go to the bin folder in both folders copy all the files inside the ported rom into your base rom bin folder!
Step 7) that's it Guys enjoy porting!
Part 9 Flashing with Heimdall (Linux)
you need the folowing:
A linux/ubuntu pc!
I was thinking about writing a guide for this but look here please:
Step 1) Guide Here: https://github.com/Benjamin-Dobell/Heimdall/tree/master/Linux
Supported devices for heimdall:
Samsung Galaxy S GT-I9000 (8GB) from UK
Galaxy S GT-I9000 (16GB) from Australia
Captivate
Vibrant
Fascinate
Mesmerize
Epic 4G
Galaxy S 4G
Infuse 4G
GT-I9000T
Galaxy Tab (7 and 10.1 inches),
Galaxy S II, and the international GT-I9000.
Samsung Galaxy S II
Part 10 Flashing Rom's with CWM!
You need the following:
-Your Device!
-Cwm Recovery on your device
Step 1) Power off your device!
Step 2) Reboot it into recovery (This method is on every device diffrent)
Step 3) In CWM Choose Install Zip from sdcard--->choose zip from sdcard
Step 4) Choose the rom You've just downloaded and click on Yes!
Step 5) When it's done installing Wipe Data/Cache/Dalvik cache!
Part 11 Build your First kernel!
Step 1) Follow this Quide im Not good at building kernels! : http://forum.xda-developers.com/showthread.php?t=1748297
Part 12 Build You first CWM Recovery!
Step 1) Follow this Quide im not good at building CWM! : http://forum.xda-developers.com/showthread.php?t=1866545
Part 13 flashing a OTA leak
- Make a backup of your data
-*Download the Base firmware required by the OTA Update,*for example: E210KKKALH6*
- Unzip the file
- Open odin
- Restart the device into download mode
- Connect phone and wait until you get a yellow/blue sign in Odin
- Add*for example: KIES_HOME_E210KKKALH6_E210KKTTALH3_944665_REV00_user_low_ship.tar.md5*to PDA
- *Make sure re-partition is NOT ticked
- *Start flash, and wait a few minutes
- *Download the for example*E210KKKJLI3*OTA Update
- *Copy the OTA update to your External SD Card
- *Restart the device into Recovery Mode
- Select Apply update from External Storage
- *Browse to the OTA update and flash it
- *When OTA update is flashed perform “Wipe Data/Factory Restore” (Will format your internal SD Card)
- *Reboot your device and Enjoy!
Stickied for the time being
Reserved for more quides
Added new quide part 13
clear, cut, and simple stuff man. thanks a lot for taking the time to do this. im hoping to port roms myself to start off with getting familiar with android then eventually start dev from ground up.
solomon4400 said:
clear, cut, and simple stuff man. thanks a lot for taking the time to do this. im hoping to port roms myself to start off with getting familiar with android then eventually start dev from ground up.
Click to expand...
Click to collapse
Nice to hear that!
some guides toward editing kernel sources would be nice jus sayinn LOL great compilation though

{mtk} cross platform (chipsetrom porting

[align=center]{:4_106:}HELLO FOLKS,
I AM HERE TO INTRODUCE CROSS MTK PLATFORM MIUI ROM PORTING GUIDE
[/align]
WARNINGS :- THIS GUIDE IS ONLY FOR DEV, NOT FOR NEWBIES
Click to expand...
Click to collapse
[align=center]{:4_106:}MTK CROSS PLATFORM ROM PORTING GUIDE{:4_106:}
REQUIRMENTS:
1. FULLY KNOW MIUI ROM PORTING GUIDE (IF U DON'T KNOW TEACH URSELF USING @ANSUMAN GUIDE)
2. THIS GUIDE WILL WORK WITH SAME MTK GPU CHIPSET
(EXAMPLE: MT6582 <------>MT6592 (BOTH CHIPSET HAS MALI GPU),ETC )
3. BASE ROM (STOCK ROM) AND PORT ROM (MIUI ROM WHICH YOU GOING TO PORT FOR UR DEVICE) HAS SAME ANDROID SDK
(EXAMPLE: 4.2.x<---->4.2.x , 4.4.x<---->4.4.x ,ETC )
4. BRAIN AND EXPERT {:4_106:}
[align=center]LETS BEGIN THE GUIDE
1. MAKE 2 NEW FOLDER ON DESKTOP AND EXTRACT STOCK ROM IN 1ST FOLDER (NAME IT TO BASE),EXTRACT PORTING ROM TO 2ND FOLDER (NAME IT TO PORT)
2. OPEN BASE FOLDER >SYSTEM>BIN> COPY ALL BIN FILES TO
PORT FOLDER>SYSTEM>BIN> PASTE HERE AND REPLACE EXISTING FILES
3. OPEN BASE FOLDER >SYSTEM> LIB > COPY HW FOLDER,MODULE FOLDER (IF EXIST IN KK ),SOUNDFX FOLDER TO
PORT FOLDER >SYSTEM>LIB > PASTE HERE (FIRST DELETE HW,MODULE,SOUNDFX)
4. OPEN BASE FOLDER >SYSTEM> LIB> COPY ALL LIB FILES(.SO) TO
PORT FOLDER >SYSTEM>LIB > PASTE HERE AND REPLACE EXISTING FILES
5. OPEN MIUI ROM ZIP FILE IN WINRAR AND GO TO SYSTEM>LIB FOLDER> EXTRACT THIS FILE SOMEWHERE
>>libandroid_runtime.so
>>libandroid_servers.so
>>libandroidfw.so
>> libjavacore.so
>> libjavacrypto.so
(IMPORTANT FILES )
6. NOW COPY ABOVE STEPS 5 LIB FILE AND MOVE IT TO PORT FOLDER >LIB FOLDER> PASTE HERE AND REPLACE EXISTING FILES
7. OPEN MIUI ROM ZIP FILE IN WINRAR AND GO TO SYSTEM>LIB FOLDER> EXTRACT THIS FILE SOMEWHERE
>>libwebp_android.so
>>libwebrtc_audio_preprocessing.so
>>libwebviewchromium.so
>> libwebviewchromium_plat_support.so
(IMPORTANT FILES )
[backcolor=Black]
[backcolor=White]8. NOW COPY ABOVE STEPS 4 LIB FILE AND MOVE IT TO PORT FOLDER >[/backcolor][/backcolor][backcolor=Black][backcolor=White]SYSTEM>LIB> PASTE HERE AND REPLACE EXISTING FILES
9. DELETE VENDOR FOLDER OF PORT AND PASTE FROM BASE FOLDER IN PORT FOLDER
10. CHANGE BOOTANIMATION IN PORT FOLDER>MEDIA FOLDER> HERE (ACC. TO YOUR SCREEN RESOLUTION)
11. GO TO PORT FOLDER>[/backcolor][/backcolor][backcolor=Black][backcolor=White]SYSTEM>ETC > DELETE FIRMWARE, MDDB(SOME ROM NOT EXISTED,SO IF YOU ROM NOT PRESENT IGNORE IT)
AND PASTE ABOVE TWO FOLDER FROM BASE TO PORT>[/backcolor][/backcolor][backcolor=Black][backcolor=White]SYSTEM>ETC> HERE
12. OPEN BASE FOLDER >[/backcolor][/backcolor][backcolor=Black][backcolor=White]SYSTEM>ETC> COPY AUDIOEFFECT, AUDIOPOLICY, MEDIACODECS FILES TO
PORT FOLDER>ETC FOLDER> PASTE HERE AND REPLACE EXISTING FILES
13. NOW GO TO BASE> [/backcolor][/backcolor][backcolor=Black][backcolor=White]SYSTEM>XBIN> COPY libmnlp_mt65xx(DIFF ACC TO CHIPSET LIKE MT6582,MT6592) FILE TO
PORT FOLDER>[/backcolor][/backcolor][backcolor=Black][backcolor=White]SYSTEM>XBIN > PASTE HERE (DELETE PORT ROM'S libmnlp_mt65xx)
14. NOW COMES BOOT.IMG EDITING (USE KITCHEN OR ANYOTHER U PREFER)
>> EXTRACT BOTH BOOT.IMG (BASE AND PORT)
>> OPEN BASE BOOT>INIT.RC AND CAMPARE WITH PORT'S INIT.RC AND CHANGE BOOTCLASSPATH IF PRESENT
AND OTHER REGARDING THEMES ETC.
>> OPEN BASE BOOT>PROJECT.RC AND CAMPARE WITH PORT'S PROJECT.RC AND DO CHANGES WHICH IS EXTRA IN PORT
>> OPEN BASE BOOT>ENVIRONMENT.RC AND CAMPARE WITH PORT'S ENVIRONMENT.RC AND DO CHANGES WHICH IS EXTRA IN PORT (THIS IS ABSENT IN JB ,SO DON'T WORRY ABOUT IT)
>> PACK IT , COPY NEW BOOT.IMG AND PASTE ,REPLACE IN PORT FOLDER
15. NOW OPEN PORT FOLDER>[/backcolor][/backcolor][backcolor=Black][backcolor=White]SYSTEM>BUILD.PROP> AND CHANGE MT65xx TO UR CHIPSET ACC TO UR STOCK BUILD.PROP ,
ALSO WLAN LINE mT65xx TO UR CHIPSET ACC TO UR STOCK BUILD.PROP ,
16. OPEN META-INF>ANDROID>UPDATER-SCRIPT AS TEXT EDITIOR(IN NOTEPAD++ OR U PREFER ANY OTHER)
CHANGE MOUNTPOINT ACC. TO UR STOCK ROM'S UPDATER-SCRIPT[/backcolor]
[/backcolor]
[backcolor=White]ALSO THIS LINE --> symlink("wlan_mt65xx.ko", "/system/lib/modules/wlan.ko"); (MT65XX DEPEND ON UR STOCK ROM UPDATER-SCRIPT)
[/backcolor]
Click to expand...
Click to collapse
[backcolor=White]
SAVE IT
17. GO TO BASE> SYSTEM>FRAMEWORK>COPY SERVICES.JAR(MAKE SURE DEODEXED)
>> USING BASKMALI[/backcolor][backcolor=White][backcolor=White][backcolor=White].JAR[/backcolor][/backcolor] UNPACK IT (NAME AS S)
DO SAME WITH PORT>SYSTEM>FRAMEWORK>[/backcolor][backcolor=White][backcolor=White] SERVICES.JAR(MAKE SURE DEODEXED)[/backcolor][/backcolor]
[backcolor=White][backcolor=White][backcolor=White]>> USING BASKMALI[/backcolor][/backcolor][/backcolor][backcolor=White][backcolor=White][backcolor=White][backcolor=White][backcolor=White].JAR[/backcolor][/backcolor] UNPACK IT[/backcolor][/backcolor][/backcolor][backcolor=White][backcolor=White][backcolor=White][backcolor=White] (NAME AS CLASSOUT)
[/backcolor]
>>NOW OPEN [/backcolor][/backcolor][/backcolor][backcolor=White][backcolor=White][backcolor=White][backcolor=White]S FOLDER[/backcolor]>ANDROID>SERVER AND SEARCH OF THESE FILES
MOUNTSMALI** (U WILL GET LOTS OF FILE STARTING WITH MOUNT),COPY THESE FILES
AND PAST & REPLACE IN CLASSOUT FOLDER>ANDROID>SERVER>HERE
[/backcolor]>> PACK THE CLASSOUT FOLDER USING SMALI.JAR
> PUSH IN SERVICES.JAR(PORT) AND PASTE IN SAME LOCATION AS MENTIONED IN STEPS 17.
(IMPORTANT STEPS)
(IMPORTANT STEPS)
[/backcolor]18. GO TO PORT FOLDER ,DELETE UNWANTED STUFF LIKE, UBOOT.IMG ,SCATTER ETC
19. MAKE ZIP OF BOOT.IMG,SYSTEM,META-INF AND FLASH VIA UR CWM RECOVERY,TWRP ETC[/backcolor]
FAQ :
1. IS THIS REALLY WORKING ??
>> YES ,IT IS ( I PORTED MIUI V5 BASED ON KITKAT (BETA) FROM MT6592 TO MT6582
2. MAY I GET LOTS OF BUGS ??
>> YES U WILL GET BUGS BUT NOT MAJOR.....I FOUND BUGS OF SOME APPS FC....TAKE LOGCAT AND TRY TO FIX IT OR ASK HERE
NOTE : I AM NOT RESPONSIBLE OR MIUI FORUM...IF UR DEVICE GOT FEVER,DEAD,WAR ETC
CREDITS :
GOOGLE
MIUI FORUM
XDA
ANSUMAN GUIDE (HERE IS LINK : http://en.miui.com/thread-20482-1-1.html)
ME
[/align]
[/align]

[Guide] {MTK} CROSS PLATFORM (CHIPSET) ROM PORTING

HELLO FOLKS,
INTRODUCING A CROSS PLATFORM ROM PORTING GUIDE FOR MTK SOCs
Code:
[SIZE="4"][COLOR="Red"]NOTE : [/COLOR][/SIZE]THIS GUIDE HAS 6 PARTS, ONE FOR THE SYSTEM FOLDER CHANGES AND THE OTHER FOR THE BOOT.IMG MODIFICATIONS.
WARNINGS :-
1) THIS GUIDE IS INTENDED FOR DEVELOPERS ONLY.
2) NEWBIES MAY FIND IT COMPLICATED SO PLEASE DO NOT TRY THIS. (RESEARCH A LITTLE MORE BEFORE YOU TRY THIS)
MTK CROSS PLATFORM ROM PORTING GUIDE ​
REQUIRMENTS:
1. FULLY UNDERSTAND THE ROM PORTING GUIDE (PLEASE FOLLOW THE GUIDE FROM XDA.)
2. THIS GUIDE WILL ONLY WORK FOR MTK SOCs WITH THE SAME GPU.
(EXAMPLE: MT6582 <------>MT6592 (BOTH CHIPSETS HAVE MALI GPU)
3. BASE ROM (STOCK ROM) AND PORT ROM . SHOULD HAVE THE SAME ANDROID SDK LEVEL.
(EXAMPLE: 4.2.x<---->4.2.x , 4.4.x<---->4.4.x ,ETC )
4. A FULLY FUNCTIONING BRAIN AND EXPERTISE
LETS BEGIN :
PART 1 : SYSTEM FOLDER CHANGES
----------------------------------
1.
A) MAKE 2 NEW FOLDERS ON DESKTOP
B)EXTRACT THE STOCK ROM IN THE 1ST FOLDER (NAME IT AS BASE),
C)EXTRACT THE ROM YOU WANT TO PORT TO THE 2ND FOLDER (NAME IT AS PORT)
2.
A) OPEN BASE FOLDER >SYSTEM>BIN>
B) COPY ALL BIN FILES TO THE PORT FOLDER>SYSTEM>BIN> AND PASTE IT REPLACEING ANY EXISTING FILES
(DO NOT DELETE THE FILES THAT HAVE NOT BEEN REPLACED.)
3.
A) OPEN BASE FOLDER >SYSTEM> LIB >
B) COPY HW FOLDER,MODULE FOLDER (IF THIS EXISTS IN YOUR STOCK KK ROM ),SOUNDFX FOLDER TO THE PORT FOLDER >SYSTEM>LIB > PASTE HERE (REMEMBER TO DELETE THE HW,MODULE,SOUNDFX FOLDERS FIRST))
4.
A) OPEN BASE FOLDER >SYSTEM> LIB>
B) COPY ALL LIB FILES(.SO) TO THE PORT FOLDER >SYSTEM>LIB > PASTE HERE AND REPLACE EXISTING FILES
5.
A) OPEN ROM ZIP FILE WITH WINRAR/WINZIP/7-ZIP/
B) EXTRACT THE LIB FOLDER (PRESENT INSIDE THE SYSTEM FOLDER)> INTO A SEPARATE FOLDER.
WE NEED ONLY THE FOLLWOING FILES FOR THE NEXT STEP.
>>libandroid_runtime.so
>>libandroid_servers.so
>>libandroidfw.so
>> libjavacore.so
>> libjavacrypto.so
6. COPY 5 LIBRARY FILES MENTIONED IN STEP 5 AND MOVE IT TO THE PORT FOLDER'S >LIB FOLDER> PASTE THERE AND REPLACE EXISTING FILES
7.
A) OPEN PORT ROM ZIP FILE WITH WINRAR/WINZIP/7-ZIP/
B)EXTRACT THE LIB FOLDER (PRESENT INSIDE THE SYSTEM FOLDER)> INTO A SEPARATE FOLDER.
WE NEED ONLY THE FOLLWOING FILES FOR THE NEXT STEP.
>>libwebp_android.so
>>libwebrtc_audio_preprocessing.so
>>libwebviewchromium.so
>> libwebviewchromium_plat_support.so
(IMPORTANT FILES )
8. COPY THE 4 LIBRARY FILES MENTIONED IN STEP 7 AND MOVE IT TO THE PORT FOLDER'S >LIB FOLDER> PASTE THERE AND REPLACE EXISTING FILES
9. REPLACE THE VENDOR FOLDER IN THE PORT FOLDER WITH THE VENDOR FOLDER FROM THE BASE
10 CHANGE BOOTANIMATION IN THE PORT FOLDER>MEDIA FOLDER> (ACC. TO YOUR SCREEN RESOLUTION USE YOUR STOCK BOOTANIMATION IF YOU DONT HAVE A SIMILAR RESOLUTION BOOT ANIMATION FILE)
11.
A) OPEN THE PORT FOLDER>SYSTEM>ETC > ABD DELETE THE FOLLWOING
FIRMWARE,
MDDB(SOME ROMS MAY NOT HAVE THIS,SO IF YOUR ROM DOES NOT, IGNORE IT)
B) COPY THESE TWO FOLDERS FROM BASE TO PORT>SYSTEM>ETC>
12.
A) OPEN BASE FOLDER >SYSTEM>ETC>
B) COPY AUDIOEFFECT, AUDIOPOLICY, MEDIACODECS FILES TO PORT FOLDER>ETC FOLDER> PASTE THERE REPLACING EXISTING FILES
13.
A) OPEN THE BASE ROM FOLDER'S >SYSTEM>XBIN> FOLDER
B) COPY THE libmnlp_mt65xx(DIFF ACC TO CHIPSET LIKE MT6582,MT6592) FILE TO PORT FOLDER>SYSTEM>XBIN > PASTE IT THERE
C) DELETE PORT ROM'S libmnlp_mt65xx
########################################################################################
PART 2 : EDITING THE BOOT.IMG (CRITICAL)
14.
----------------------------------------------------------------------------------------
(USE DSIXDA'S KITCHEN/ MTK FIRMWARE ADAPTER OR ANY OTHER BOOT.IMG DECOMPILER/COMPILER OF YOUR CHOICE)
>> EXTRACT BOTH BOOT.IMG (BASE AND PORT)
>> OPEN BASE BOOT>INIT.RC AND COMPARE WITH PORT'S INIT.RC AND CHANGE BOOTCLASSPATH IF PRESENT
AND OTHER REGARDING THEMES ETC.
>> OPEN BASE BOOT>PROJECT.RC AND COMPARE IT WITH PORT'S PROJECT.RC AND DO CHANGES WHICH IS EXTRA IN PORT
>> OPEN BASE BOOT>ENVIRONMENT.RC AND COMPARE IT WITH PORT'S ENVIRONMENT.RC AND DO CHANGES WHICH IS EXTRA IN PORT (THIS IS ABSENT IN JB ,SO DON'T WORRY ABOUT IT)
>> PACK IT , COPY NEW BOOT.IMG AND PASTE ,REPLACE IN PORT FOLDER
########################################################################################
PART 3 : Build.prop
15.
A) NOW OPEN PORT FOLDER>SYSTEM>BUILD.PROP> AND CHANGE MT65xx TO YOUR CHIPSET ACC TO UR STOCK BUILD.PROP ,
B) ALSO THE WLAN LINE mT65xx TO UR CHIPSET ACC TO UR STOCK BUILD.PROP
++++++++++++++++++++++++++++++++++++++++++++
mediatek.wlan.chip=CONSYS_MT6582
mediatek.wlan.module.postfix=_consys_mt6582
++++++++++++++++++++++++++++++++++++++++++++
########################################################################################
PART 4: UPDATER-SCRIPT EDIT
16.
A) OPEN META-INF>ANDROID>UPDATER-SCRIPT AS TEXT EDITIOR(IN NOTEPAD++ OR U PREFER ANY OTHER)
B) CHANGE MOUNTPOINT ACC. TO UR STOCK ROM'S UPDATER-SCRIPT
C) ALSO THIS LINE --> symlink("wlan_mt65xx.ko", "/system/lib/modules/wlan.ko"); (MT65XX DEPEND ON UR STOCK ROM UPDATER-SCRIPT)
SAVE IT
########################################################################################
PART 5: FRAMEWORK EDIT
17.
A. GO TO BASE> SYSTEM>FRAMEWORK>COPY SERVICES.JAR(MAKE SURE DEODEXED)
>> USING BASKMALI.JAR UNPACK IT (NAME AS S)
B) DO THE SAME WITH PORT>SYSTEM>FRAMEWORK> SERVICES.JAR(MAKE SURE DEODEXED)
>> USING BASKMALI.JAR UNPACK IT (NAME AS CLASSOUT)
>>NOW OPEN THE S FOLDER>ANDROID>SERVER AND SEARCH OF THESE FILES
MOUNTSMALI** (U WILL GET LOTS OF FILE STARTING WITH MOUNT),COPY THESE FILES
PASTE & REPLACE IN THE CLASSOUT FOLDER>ANDROID>SERVER>HERE
>> PACK THE CLASSOUT FOLDER USING SMALI.JAR
> PUSH IN SERVICES.JAR(PORT) AND PASTE IN SAME LOCATION AS MENTIONED IN STEPS 17.
(IMPORTANT STEPS)
(IMPORTANT STEPS)
########################################################################################
Part 6: CLEANING UP
18. GO TO PORT FOLDER ,DELETE UNWANTED STUFF LIKE, UBOOT.IMG ,SCATTER ETC
########################################################################################
19. MAKE ZIP OF BOOT.IMG,SYSTEM,META-INF AND FLASH VIA UR CWM RECOVERY,TWRP ETC
FAQ :
1. DOES THIS REALLY WORK ?
>> YES ,IT DOES ( I PORTED A MIUI V5 BASED ON KITKAT (BETA),hive ui rom,samsung s5 FROM MT6592 TO MT6582 )
2. WIL I GET LOTS OF BUGS ?
>> YES, ALMOST CERTAINLY YOU WILL. MAY NOT BE MAJOR BUT I DID HAVE BUGS LIKE FCs FOR SOME APPS
NOTE : TAKE A LOGCAT AND TRY TO FIX IT OR ASK HERE
NOTE : PLEASE DO NOT HOLD ME OR THE XDA FORUM RESPONSIBLE FOR ANY DAMAGES CAUSED BY YOU.
IF YOUR DEVICES EXPLODES, GOES TO MARS, GIVES BIRTH TO A DRAGON, CAUSES WAR, MAKES AN OMLETTE OR GETS YOU MARRIED CONSIDER IT FATE AND LIVE WITH IT>
CREDITS :
GOOGLE
XDA
ME([email protected])
PART 1
STEP 3
is it base folder or port folder -to delete the hw , modules ,soundfx
i think it's port folder
correct it
Excellent guide
[email protected] said:
HELLO FOLKS,
INTRODUCING A CROSS PLATFORM ROM PORTING GUIDE FOR MTK SOCs
Code:
[SIZE="4"][COLOR="Red"]NOTE : [/COLOR][/SIZE]THIS GUIDE HAS 6 PARTS, ONE FOR THE SYSTEM FOLDER CHANGES AND THE OTHER FOR THE BOOT.IMG MODIFICATIONS.
WARNINGS :-
1) THIS GUIDE IS INTENDED FOR DEVELOPERS ONLY.
2) NEWBIES MAY FIND IT COMPLICATED SO PLEASE DO NOT TRY THIS. (RESEARCH A LITTLE MORE BEFORE YOU TRY THIS)
MTK CROSS PLATFORM ROM PORTING GUIDE ​
REQUIRMENTS:
1. FULLY UNDERSTAND THE ROM PORTING GUIDE (PLEASE FOLLOW THE GUIDE FROM XDA.)
2. THIS GUIDE WILL ONLY WORK FOR MTK SOCs WITH THE SAME GPU.
(EXAMPLE: MT6582 <------>MT6592 (BOTH CHIPSETS HAVE MALI GPU)
3. BASE ROM (STOCK ROM) AND PORT ROM . SHOULD HAVE THE SAME ANDROID SDK LEVEL.
(EXAMPLE: 4.2.x<---->4.2.x , 4.4.x<---->4.4.x ,ETC )
4. A FULLY FUNCTIONING BRAIN AND EXPERTISE
LETS BEGIN :
PART 1 : SYSTEM FOLDER CHANGES
----------------------------------
1.
A) MAKE 2 NEW FOLDERS ON DESKTOP
B)EXTRACT THE STOCK ROM IN THE 1ST FOLDER (NAME IT AS BASE),
C)EXTRACT THE ROM YOU WANT TO PORT TO THE 2ND FOLDER (NAME IT AS PORT)
2.
A) OPEN BASE FOLDER >SYSTEM>BIN>
B) COPY ALL BIN FILES TO THE PORT FOLDER>SYSTEM>BIN> AND PASTE IT REPLACEING ANY EXISTING FILES
(DO NOT DELETE THE FILES THAT HAVE NOT BEEN REPLACED.)
3.
A) OPEN BASE FOLDER >SYSTEM> LIB >
B) DELETE THE HW,MODULE,SOUNDFX FOLDERS
C) COPY HW FOLDER,MODULE FOLDER (IF THIS EXISTS IN YOUR STOCK KK ROM ),SOUNDFX FOLDER TO THE PORT FOLDER >SYSTEM>LIB > PASTE HERE (REMEMBER TO DELETE THE HW,MODULE,SOUNDFX FOLDERS FIRST))
4.
A) OPEN BASE FOLDER >SYSTEM> LIB>
B) COPY ALL LIB FILES(.SO) TO THE PORT FOLDER >SYSTEM>LIB > PASTE HERE AND REPLACE EXISTING FILES
5.
A) OPEN ROM ZIP FILE WITH WINRAR/WINZIP/7-ZIP/
B) EXTRACT THE LIB FOLDER (PRESENT INSIDE THE SYSTEM FOLDER)> INTO A SEPARATE FOLDER.
WE NEED ONLY THE FOLLWOING FILES FOR THE NEXT STEP.
>>libandroid_runtime.so
>>libandroid_servers.so
>>libandroidfw.so
>> libjavacore.so
>> libjavacrypto.so
6. COPY 5 LIBRARY FILES MENTIONED IN STEP 5 AND MOVE IT TO THE PORT FOLDER'S >LIB FOLDER> PASTE THERE AND REPLACE EXISTING FILES
7.
A) OPEN PORT ROM ZIP FILE WITH WINRAR/WINZIP/7-ZIP/
B)EXTRACT THE LIB FOLDER (PRESENT INSIDE THE SYSTEM FOLDER)> INTO A SEPARATE FOLDER.
WE NEED ONLY THE FOLLWOING FILES FOR THE NEXT STEP.
>>libwebp_android.so
>>libwebrtc_audio_preprocessing.so
>>libwebviewchromium.so
>> libwebviewchromium_plat_support.so
(IMPORTANT FILES )
8. COPY THE 4 LIBRARY FILES MENTIONED IN STEP 7 AND MOVE IT TO THE PORT FOLDER'S >LIB FOLDER> PASTE THERE AND REPLACE EXISTING FILES
9. REPLACE THE VENDOR FOLDER IN THE PORT FOLDER WITH THE VENDOR FOLDER FROM THE BASE
10 CHANGE BOOTANIMATION IN THE PORT FOLDER>MEDIA FOLDER> (ACC. TO YOUR SCREEN RESOLUTION USE YOUR STOCK BOOTANIMATION IF YOU DONT HAVE A SIMILAR RESOLUTION BOOT ANIMATION FILE)
11.
A) OPEN THE PORT FOLDER>SYSTEM>ETC > ABD DELETE THE FOLLWOING
FIRMWARE,
MDDB(SOME ROMS MAY NOT HAVE THIS,SO IF YOUR ROM DOES NOT, IGNORE IT)
B) COPY THESE TWO FOLDERS FROM BASE TO PORT>SYSTEM>ETC>
12.
A) OPEN BASE FOLDER >SYSTEM>ETC>
B) COPY AUDIOEFFECT, AUDIOPOLICY, MEDIACODECS FILES TO PORT FOLDER>ETC FOLDER> PASTE THERE REPLACING EXISTING FILES
13.
A) OPEN THE BASE ROM FOLDER'S >SYSTEM>XBIN> FOLDER
B) COPY THE libmnlp_mt65xx(DIFF ACC TO CHIPSET LIKE MT6582,MT6592) FILE TO PORT FOLDER>SYSTEM>XBIN > PASTE IT THERE
C) DELETE PORT ROM'S libmnlp_mt65xx
########################################################################################
PART 2 : EDITING THE BOOT.IMG (CRITICAL)
14.
----------------------------------------------------------------------------------------
(USE DSIXDA'S KITCHEN/ MTK FIRMWARE ADAPTER OR ANY OTHER BOOT.IMG DECOMPILER/COMPILER OF YOUR CHOICE)
>> EXTRACT BOTH BOOT.IMG (BASE AND PORT)
>> OPEN BASE BOOT>INIT.RC AND COMPARE WITH PORT'S INIT.RC AND CHANGE BOOTCLASSPATH IF PRESENT
AND OTHER REGARDING THEMES ETC.
>> OPEN BASE BOOT>PROJECT.RC AND COMPARE IT WITH PORT'S PROJECT.RC AND DO CHANGES WHICH IS EXTRA IN PORT
>> OPEN BASE BOOT>ENVIRONMENT.RC AND COMPARE IT WITH PORT'S ENVIRONMENT.RC AND DO CHANGES WHICH IS EXTRA IN PORT (THIS IS ABSENT IN JB ,SO DON'T WORRY ABOUT IT)
>> PACK IT , COPY NEW BOOT.IMG AND PASTE ,REPLACE IN PORT FOLDER
########################################################################################
PART 3 : Build.prop
15.
A) NOW OPEN PORT FOLDER>SYSTEM>BUILD.PROP> AND CHANGE MT65xx TO YOUR CHIPSET ACC TO UR STOCK BUILD.PROP ,
B) ALSO THE WLAN LINE mT65xx TO UR CHIPSET ACC TO UR STOCK BUILD.PROP
++++++++++++++++++++++++++++++++++++++++++++
mediatek.wlan.chip=CONSYS_MT6582
mediatek.wlan.module.postfix=_consys_mt6582
++++++++++++++++++++++++++++++++++++++++++++
########################################################################################
PART 4: UPDATER-SCRIPT EDIT
16.
A) OPEN META-INF>ANDROID>UPDATER-SCRIPT AS TEXT EDITIOR(IN NOTEPAD++ OR U PREFER ANY OTHER)
B) CHANGE MOUNTPOINT ACC. TO UR STOCK ROM'S UPDATER-SCRIPT
C) ALSO THIS LINE --> symlink("wlan_mt65xx.ko", "/system/lib/modules/wlan.ko"); (MT65XX DEPEND ON UR STOCK ROM UPDATER-SCRIPT)
SAVE IT
########################################################################################
PART 5: FRAMEWORK EDIT
17.
A. GO TO BASE> SYSTEM>FRAMEWORK>COPY SERVICES.JAR(MAKE SURE DEODEXED)
>> USING BASKMALI.JAR UNPACK IT (NAME AS S)
B) DO THE SAME WITH PORT>SYSTEM>FRAMEWORK> SERVICES.JAR(MAKE SURE DEODEXED)
>> USING BASKMALI.JAR UNPACK IT (NAME AS CLASSOUT)
>>NOW OPEN THE S FOLDER>ANDROID>SERVER AND SEARCH OF THESE FILES
MOUNTSMALI** (U WILL GET LOTS OF FILE STARTING WITH MOUNT),COPY THESE FILES
PASTE & REPLACE IN THE CLASSOUT FOLDER>ANDROID>SERVER>HERE
>> PACK THE CLASSOUT FOLDER USING SMALI.JAR
> PUSH IN SERVICES.JAR(PORT) AND PASTE IN SAME LOCATION AS MENTIONED IN STEPS 17.
(IMPORTANT STEPS)
(IMPORTANT STEPS)
########################################################################################
Part 6: CLEANING UP
18. GO TO PORT FOLDER ,DELETE UNWANTED STUFF LIKE, UBOOT.IMG ,SCATTER ETC
########################################################################################
19. MAKE ZIP OF BOOT.IMG,SYSTEM,META-INF AND FLASH VIA UR CWM RECOVERY,TWRP ETC
FAQ :
1. DOES THIS REALLY WORK ?
>> YES ,IT DOES ( I PORTED A MIUI V5 BASED ON KITKAT (BETA),hive ui rom,samsung s5 FROM MT6592 TO MT6582 )
2. WIL I GET LOTS OF BUGS ?
>> YES, ALMOST CERTAINLY YOU WILL. MAY NOT BE MAJOR BUT I DID HAVE BUGS LIKE FCs FOR SOME APPS
NOTE : TAKE A LOGCAT AND TRY TO FIX IT OR ASK HERE
NOTE : PLEASE DO NOT HOLD ME OR THE XDA FORUM RESPONSIBLE FOR ANY DAMAGES CAUSED BY YOU.
IF YOUR DEVICES EXPLODES, GOES TO MARS, GIVES BIRTH TO A DRAGON, CAUSES WAR, MAKES AN OMLETTE OR GETS YOU MARRIED CONSIDER IT FATE AND LIVE WITH IT>
CREDITS :
GOOGLE
XDA
ME([email protected])
Click to expand...
Click to collapse
Hey from which all chipsets can i port roms to my mt6577?? I hav ported frm mt6577 and a few from mt6589 with d help of other guides .. So can u plz tell frm which all can i port wid dis guide?
Papdya said:
Hey from which all chipsets can i port roms to my mt6577?? I hav ported frm mt6577 and a few from mt6589 with d help of other guides .. So can u plz tell frm which all can i port wid dis guide?
Click to expand...
Click to collapse
u can pick up any chipset make sure gpu company is same
Ok thanks.
In step 5:
5.
A) OPEN ROM ZIP FILE WITH WINRAR/WINZIP/7-ZIP/
B) EXTRACT THE LIB FOLDER (PRESENT INSIDE THE SYSTEM FOLDER)> INTO A SEPARATE FOLDER.
Stock or port zip rom?
Thanks!
Worked well after first try. Thanks for this guide
Just one problem so far, My mt6592 Roms got an Power Saving feature for Cpu under Battery Tab in Settings. How can i port this?
Edit: I've looking more into this now, still no process. Really need some thoughts
Traace said:
Worked well after first try. Thanks for this guide
Just one problem so far, My mt6592 Roms got an Power Saving feature for Cpu under Battery Tab in Settings. How can i port this?
Edit: I've looking more into this now, still no process. Really need some thoughts
Click to expand...
Click to collapse
pm u... great to see u ...this guide worked well
what happens if i try do to this with a rom that is not MTK based?
what to do if GPU are differnt ?
that is port rom have mali nd stock have PowerVR
plz help
pepexzz said:
In step 5:
5.
A) OPEN ROM ZIP FILE WITH WINRAR/WINZIP/7-ZIP/
B) EXTRACT THE LIB FOLDER (PRESENT INSIDE THE SYSTEM FOLDER)> INTO A SEPARATE FOLDER.
Stock or port zip rom?
Thanks!
Click to expand...
Click to collapse
Same question. Can you exp clearly for us this step? Thank.
toanlaptop said:
Same question. Can you exp clearly for us this step? Thank.
Click to expand...
Click to collapse
Steps 5 and 6 go together.
Extract the LIB folder of BASE ROM to anywhere you want. Then copy and replace the bolded files below to the PORT ROMs LIB folder.
5.
A) OPEN ROM ZIP FILE WITH WINRAR/WINZIP/7-ZIP/
B) EXTRACT THE LIB FOLDER (PRESENT INSIDE THE SYSTEM FOLDER)> INTO A SEPARATE FOLDER.
WE NEED ONLY THE FOLLWOING FILES FOR THE NEXT STEP.
>>libandroid_runtime.so
>>libandroid_servers.so
>>libandroidfw.so
>> libjavacore.so
>> libjavacrypto.so
6. COPY 5 LIBRARY FILES MENTIONED IN STEP 5 AND MOVE IT TO THE PORT FOLDER'S >LIB FOLDER> PASTE THERE AND REPLACE EXISTING FILES
Click to expand...
Click to collapse
theKramer said:
Steps 5 and 6 go together.
Extract the LIB folder of BASE ROM to anywhere you want. Then copy and replace the bolded files below to the PORT ROMs LIB folder.
Click to expand...
Click to collapse
Thank for your help. I'll try again. I've failure many time
toanlaptop said:
Thank for your help. I'll try again. I've failure many time
Click to expand...
Click to collapse
I havent done this myself. I am just helping to explain what the author wrote..
baksmali was not able to to unpack my stock services.jar then i changed the services.jar extension to .zip and when i opened it there was no classes.dex file inside it. is it ok if i take the services.jar from another rom which i ported successfully with no bugs ?
hey thanks
but after porting rom like this my stats bar is not showing :crying::crying::crying:
Nayeem Hossain said:
but after porting rom like this my stats bar is not showing :crying::crying::crying:
Click to expand...
Click to collapse
Patch systemui.
miuiv6 6582 problem
anyone knows how to fix swap storage in miui v6 in KK mt6582 ? the sdcard0 is phone storage and sdcard0 is memory card .. tnx
Tech N You said:
Patch systemui.
Click to expand...
Click to collapse
How to patch my system ui
would please tell me??
or any guide ???
---------- Post added at 10:45 AM ---------- Previous post was at 10:32 AM ----------
[email protected] said:
pm u... great to see u ...this guide worked well
Click to expand...
Click to collapse
this file is missing on my boot.img PROJECT.RC and ENVIRONMENT.RC
what to do??
lildhiel08 said:
anyone knows how to fix swap storage in miui v6 in KK mt6582 ? the sdcard0 is phone storage and sdcard0 is memory card .. tnx
Click to expand...
Click to collapse
From stock boot.img search for file init_nossd.rc or anyfile related to init then ssd and in boot of port do same open both with notepad++ and then from stock copy whole as it is and replace with port and repack boot.img and flash

[guide]port nougat roms for snapdragon devices

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 @mshoaib7 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://forum.xda-developers.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
it is good but it will create ril bug.
Replace all the files that I have mentioned
They are bug fixers
The Hard Gamer said:
Replace all the files that I have mentioned
They are bug fixers
Click to expand...
Click to collapse
Great for ones who want to learn porting.
Sent from my Lenovo A6000 using XDA-Developers Legacy app
Thanks a lot brother. I got some question .
1. Can I take any A6000/+ Nougat ROM as base ?
2. Most of the ROMs available for A6000 doesn't come with system.new.dat file. So we don't need to extract anything ?
3. But if port ROM has system.new.dat file then we have to extract it first ?
shivdroid said:
Thanks a lot brother. I got some question .
1. Can I take any A6000/+ Nougat ROM as base ?
2. Most of the ROMs available for A6000 doesn't come with system.new.dat file. So we don't need to extract anything ?
3. But if port ROM has system.new.dat file then we have to extract it first ?
Click to expand...
Click to collapse
YYou can port ROMs for A6000 from redmi 2
2.no need to extract for a6000
3.port has to be extracted

[Guide][SC8830/SC7731/SC9830]Custom ROMs Porting Guide for Spreadtrum phones.

Thread will be best viewed in website
Code:
[CENTER][COLOR="red"]Your warranty is now void.[/COLOR]
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research before asking help and reporting bugs.
Please read the entire OP instructions and FAQ,if any.
You are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
A lot.[/CENTER]
This thread is for spreadtrum Marshmallow, lollipop and KitKat phones. I made this guide for porting especially CM/CM based ROMs. This thread is in under progress, I'll be keep adding and changing things. These lines will be removed when I think I'm done.
Requirements
A PC /Laptop /Even your android phone is enough for porting, since your not building ROM, provided that you know how to get things done
Android Image Kitchen
A ZIP archiver(winzip,7z,etc)
Notepad++/your favorite one
HEX Editor (for Android available on play store)
A working brain with basic understanding skills properly installed
An Android device with the chipset as per the title (of cource this will work on iPhone and Windows phones but sadly my kitten eaten flashing instructions , so blame my kitty:silly
A working custom recovery (if you don't have one, this thread might help you)
Aroma File Manager (this is used to skip the process of extracting system files from system.ext.win and system.new.dat and compressing it back)
Stock ROM (extracted to easily accessable folder, since we are going to port the ROM not using normal File Manager but a recovery based file manager
Custom ROM(S) (download links are in the 2nd post)
I'll suggest you to concentrate on booting the ROM rather fixing bugs at first shot, because if we are sure that the ROM boots we can go further, otherwise it's waste of time.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Marshmallow ROM porting guide
=> Download and Extract the ROM. Since ROM(S) is zipped out of custom recovery backup you'll see system.ext4.win (which is a compressed system folder) boot.emmc.win (boot.img) and some, maybe, compressed using system.new.dat.
Porting boot.img
=> Copy stock boot.img to working directory of AIK
=> Unpack boot.img and rename ramdisk to ramdisk.s and split_img to spli_img.s
=> Copy boot.emmc.win to working directory of AIK and rename it to boot.img
=> Unpack boot.img
=> Replace the following
/ramdisk/lib/modules with /ramdisk.s/lib/modules
/ramdisk/lib/modules/mali.ko with /system/lib/modules/mali.ko from stockrom
=> delete split_img and rename split_img.s to split_img
repack it and rename image-new.img to boot.emmc.win and replace Custom ROM boot.emmc.win with ported boot.emmc.win.
Porting System
=> Boot to recovery and wipe system, data, cache and dalvik-cache and flash the CM13/Marshmallow ROM
=> Go back to tab menu of TWRP tap on 'Mount tab' Mount system and go back to flash tab and flash aroma file manager zip
=> Now you are on Aroma FM. Copy and replace the following files with stock ROM files:
/system/lib/hw/<all files> except files audio.primary.sc8830.so & bluetooth.default.so
/system/etc/ all audio related files except audio_effect.conf
/system/etc/codec_pga.xml
/system/etc/ media related files
/system/etc/tiny_hw.xml
/system/lib/egl/libGLES_mali.so
/system/lib/libEGL.so
/system/lib/libGLES_trace.so
/system/lib/libGLESv1_CM.so
/system/lib/libGLESv2.so
/system/lib/libMali.ko,if any
=> After replacing files exit Aroma FM and reboot the system. Booting will take a while (~10m) so please be patient.
Bug Fixing Guide
Camera Fix
Open lib files one by one on stock rom lollipop & search for "_ZN7android5Fence4waitEj"(without quotes) with notepad++ (mainly look into the files related to camera.sc8830.so, to know open it with HeX editor and see what are the necessary lib***.so files)
In my case "_ZN7android5Fence4waitEj" are available on stock libui.so where that file needed by camera.sc8830.so
SO open camera.sc8830.so with HexEditor and search for libui.so
Then rename libui.so of stock rom file to libcm.so and save it
Copy and paste modified file to the exact directory and wipe data, cache, dalvik-cache (data is nedded because if the camera HAL fails to load at first time CM ROMs won't show camera app in that case it is must to wipe data)
Then reboot & make sure camera.sc8830.so loaded correctly with logcat
Fix for possible bootloops when porting Marshmallow ROM using lollipop kernel
Soon.....
Note:-I'm sure the marshmallow ROM(s) will boot on lollipop device also (because I personally tested with my phone but I need confirmation that this works on marshmallow devices also.
Lollipop ROM porting guide
Porting boot.img
=> Copy stock boot.img to working directory of AIK
=> Unpack boot.img and rename ramdisk to ramdisk.s and split_img to spli_img.s
=> Copy custom ROM boot.img to working directory of AIK
=> Unpack boot.img
=> Replace the following:
/ramdisk/lib/modules with /ramdisk.s/lib/modules
/ramdisk/lib/modules/mali.ko with /system/lib/modules/mali.ko from stockrom
delete split_img and rename split_img.s to split_img
repack it and rename image-new.img to boot.img and replace Custom ROM boot.img with ported boot.img.
Porting system
=> Boot to recovery and wipe system, data, cache and dalvik-cache and flash the CM12/lollipop ROM
=> Go back to tab menu of TWRP tap on 'Mount tab' Mount system and go back to flash tab and flash aroma file manager zip
=> Now you are on AromaFM. Copy and replace the following files with stock ROM files:
/system/lib/egl/libGLES_mali.so
/system/lib/hw/<all files> except files audio.primary.sc8830.so & bluetooth.default.so
/system/lib/modules<all files>
/system/vendor/lib/libbt-vendor.so with stockrom /system/lib/libbt-vendor.so.
=> After replacing files exit Aroma FM and reboot the system. Booting will take a while (~10m) so please be patient.
Typing Bug Fixing Guide
KitKat ROM porting guide
Porting boot.img
=> Copy stock boot.img to working directory of AIK
=> Unpack boot.img and rename ramdisk to ramdisk.s and split_img to spli_img.s
=> Copy custom ROM boot.img to working directory of AIK
=> Unpack boot.img
=> Replace the following
/ramdisk/sbin files with /ramdisk.s/sbin files
/ramdisk/init.sc8830.usb.rc with /ramdisk.s/init.sc8830.usb.rc
/ramdisk/init.usb.rc with /ramdisk.s/init.usb.rc
=> Delete split_img and rename split_img.s to split_img
repack it and rename image-new.img to boot.img and replace Custom ROM boot.img with ported boot.img.
Porting system
=>Replace the following:
/system/lib/egl/<all files>
/system/lib/hw (following files) :
camera.sc8830.so
camera2.sc8830.so
gralloc.default.so
gralloc.sc8830.so
hwcomposer.sc8830.so
keystore.default.so
lights.sc8830.so
local_time.default.so
power.default.so
sensors.sc8830.so
sprd_gsp.sc8830.so
/system/lib/modules<all files>
/system/vendor/lib/libbt-vendor.so with stock ROM /system/lib/libbt-vendor.so
Booting will take a while (~10m) so please be patient)
NOTE: If you stuck at Splash Logo (Manufacturer's logo) then delete CM11/system/lib/egl/libGLES_mali.so from recovery and then wipe data, cache, dalvik-cache and reboot.
Bug Fixing Guide
Camera Fix
Copy files camera.sc8830.so, camera2.sc8830.so & libandroidfw.so from stock ROM
Rename libandroidfw.so to libandroidcm.so
=> Download and install Hex Editor (Users who are using Android for porting can use Hex editor from playstore)
Open camera.sc8830.so with Hex Editor and search for libandroidfw.so & rename it to libandroidcm.so
Save camera.sc8830.so file, copy and paste it to CM/CM based ROM
Do the same for camera2.sc8830.so
This will fix the error "Cannot load Camera HAL" which is caused by camera.sc8830.so mising start_SprdPrefTracking & stop_SprdPrefTracking argument which is available only on original libandroidfw.so on your stockrom.
Reboot your device
If you haven't seen camera app then you may need to wipe the data and dalvik-cache but there is an alternative for this. The alternative is using third party camera app from play store if the camera works then you are good to go
but to have CM stock camera you must need to wipe data
WiFi/Hotspot fix
Part - I
Make sure your stock ROM WiFi (WLAN) driver name is sprdwl.ko on /system/lib/modules
Copy the following folder(s) from stok rom & paste to cm-11.0 rom
--/system/etc/wifi/<all files>
/system/etc/dhcpcd/<all files>
--/system/etc/connectivity_calibration.ini (related to WiFi connectivity)
--/system/etc/connectivity_configure.ini (related to Bluetooth connectivity)
I suggest you to replace files from Aroma FM (since we don't need to set permissions, etc which will automatically done by Aroma FM)
If you are replacing files from root explorer you need to properly set the permissions and Ownership/Group of particular for otherwise there will be no point in replacing the files and this will result in either unfixed bug or bootloop for this properly note down the permissions and Ownership/Group of individual files
for ex: /system/etc/dhcpcd/dhcpcd-run-hooks has permissions "-r-xr-x--- or 0550" and Owner is "dhcp" and Group is "shell"
Part - II
Unpack cm-11.0/based ported boot.img and replace "init.wifi.rc" file with this init.wifi.rc
Flash the modified boot.img using Flashify/ from recovery using flash image option (recommended)
To test whether the WiFi driver properly loaded or not
use terminal emulator type
Code:
su
<enter>
cat /proc/modules
<enter>
see whether the sprdwl.ko present on loaded modules list.
Try to use WiFi and immediately see the logs (use logcat Extreme app from play store) set if there are any errors
Do the same with Hotspot
as a result you may need to replace some files under --/system/bin/
ex:
--/system/bin/dhcpcd
--/system/bin/hostopad
--/system/bin/wcnd
--/system/bin/wpa_cli
--/system/bin/wpa_supplicant
etc
To root flash Magisk (systemless-root only for lollipop and above) or SuperSU
Credits: Hadi Khoirudin, Advan S4p [Official] fb group, @@ki,
@Jitheshwar (it's me :silly: )​
Created 2/10/2017
Last Updated 3/10/2017
Downloads:-
Marshmallow
CyanogenMd 13.1
Bug fix Update (extract zip and replace files and port boot.img and then zip it, boot to recovery wipe cache and dalvik-cache flash the zip and reboot)
=====================
Resurrection Remix 5.7.4
Offline Charging fix
PAC-MAN ROM
Lollipop ROMs
CyanogenMod 12.1
=====================
Resurrection Remix
WiFi-Hotspot-fix-for-CM/based-lollipop-ROMs
KitKat ROMs
PAC-MAN ROM
=====================
MIUI7-7.4.26
Video codec fix
WiFi-Hotspot-fix-for-CM/based-KitKat-ROMs
More links have been adding​
Reserved
You could have given me the credits.......well nice thread.....just a updated version of my thread
@ki said:
You could have given me the credits.......well nice thread.....just a updated version of my thread
Click to expand...
Click to collapse
But I took nothing from your work. I made this thread keeping CM ROMs in mind. But I have given credits to you in recovery porting thread since I used some of your work. Anyway you have given me Idea. PM me with more suggestions.
Edit: credits updated.
Jitheshwar said:
But I took nothing from your work. I made this thread keeping CM ROMs in mind. But I have given credits to you in recovery porting thread since I used some of your work. Anyway you have given me Idea. PM me with more suggestions.
Edit: credits updated.
Click to expand...
Click to collapse
Sorry for being so rude.......well i will try to suggest if anything good comes to my mind
Will the camera fix work with evercrossmod rom
[email protected] said:
Will the camera fix work with evercrossmod rom
Click to expand...
Click to collapse
No. That fix is for CM/CM based roms only. For stock based ROMs you just need replace camera libs.
Jitheshwar said:
No. That fix is for CM/CM based roms only. For stock based ROMs you just need replace camera libs.
Click to expand...
Click to collapse
This did not worked...the camera icon is showing but it says app not installed.I replaced the previous hw files (camera.sc8830.so and the camera2.sc8830.so). Now the app is opening but can't connect to camera.
[email protected] said:
This did not worked...the camera icon is showing but it says app not installed.I replaced the previous hw files (camera.sc8830.so and the camera2.sc8830.so). Now the app is opening but can't connect to camera.
Click to expand...
Click to collapse
You have to replace files having name "libcamera****.so" too.
How to unpack and repack system.ext4.win ?
[email protected] said:
How to unpack and repack system.ext4.win ?
Click to expand...
Click to collapse
just rename the file to system.ext4.win.tar.gz
and open it like a norma zip file
[email protected] said:
How to unpack and repack system.ext4.win ?
Click to expand...
Click to collapse
rename extension with .tar and extract it as usual but while repacking make sure you're using .tar compression type only. But I recommend using Aroma FM since extracting and compressing system.ext4.win may result in incorrect file permissions, as it is compressed by recovery.
@ki said:
just rename the file to system.ext4.win.tar.gz
and open it like a norma zip file
Click to expand...
Click to collapse
no need of .tar.gz, .tar is sufficient. As it is backuped in recovery by disabling "Enable Compression option" means we'll see the system files after extracting the system.ext4.win and not the system.ext4.win (compressed system image).
Jitheshwar said:
no need of .tar.gz, .tar is sufficient. As it is backuped in recovery by disabling "Enable Compression option" means we'll see the system files after extracting the system.ext4.win and not the system.ext4.win (compressed system image).
Click to expand...
Click to collapse
Now which software extracts .tar file. Plz tell me a software for windows
Jitheshwar said:
no need of .tar.gz, .tar is sufficient. As it is backuped in recovery by disabling "Enable Compression option" means we'll see the system files after extracting the system.ext4.win and not the system.ext4.win (compressed system image).
Click to expand...
Click to collapse
Yup....i forgot to mention that......just thought why anyone wants to backup without compression......
[email protected] said:
Now which software extracts .tar file. Plz tell me a software for windows
Click to expand...
Click to collapse
A zip archiver like 7zip, Winzip, etc. Mist if these software will be available for free. If you are using mobile to port I recommend ZArchiver.
After i'm port cm12 rom to sc7731 my device, is say Android is starting.... After that is restart and do that again, what i'm do wrong?
RustyDiamond said:
After i'm port cm12 rom to sc7731 my device, is say Android is starting.... After that is restart and do that again, what i'm do wrong?
Click to expand...
Click to collapse
your kernel....
RustyDiamond said:
After i'm port cm12 rom to sc7731 my device, is say Android is starting.... After that is restart and do that again, what i'm do wrong?
Click to expand...
Click to collapse
You may not replaced necessary lib(s).
Wipe everything before flashing the ROM (it is suggested to wipe internal storage also).
Don't replace everything (like camera libs) because they might give issues that you are facing, first key the device boot then fix bugs. If possible take logs using adb.

Categories

Resources