[GUIDE] How To Port Roms Easy Method! Qualcomm devices! - Android General

Hello, i'm a new member from indonesia so my post still fewer than 10. so i can't post in developer's area.
NOTE : THIS TUTORIAL ONLY TESTED BY QUALCOMM DEVICES!
I'm a noob, and i wanna share you how to PORT ROMS with 30 easy steps!
This is 100% working, incase the device you wanna port have a same hardware Processor, GPU, RAM, Chipset, etc and screen resolution (THIS IS VERY IMPORTANT)
this is veryy easy... you don't need copy paste system files, this is very EASY..
in this method we will use port boot.img to new rom.
What you need :
- Boot Recovery Image RePacker : http://boot-repacker.blogspot.com/
- NotePad++ : http://notepad-plus-plus.org/download/v6.6.7.html
- Stock ROM for your device
- Rom your wanna port
- Open mind and never give up to trying !!
OK, NOW WE START
1. Create 2 folder in place you can easily find it. example : "D: DATA/"
2. name it "BASE" and "PORT"
3. Extract your stock rom to "BASE" and Port ROM to "PORT".
4. Open Base And Port folder
5. Open Boot repacker. drag your stock boot.img to that program and click "unpack". now you see "boot.img-unpacked" folder.
6. Do it that again on Port Boot.img
7. Go to boot.img-unpacked folder on port. delete the Zimage.
8. copy stock Zimage on "boot.img-unpacked" folder at BASE folder.
9. paste it on boot.img-unpacked folder at PORT folder
10. go to ramdisk. find a file with a "fstab" name
11. in my case, it has 3 files.
12. open it all on Notepad++
13. Replace PORT partition with Stock (BASE) in all 3 fstab files (recovery partition, boot partition, system partition,etc)
14. drag boot.img in port to boot repacker. click "Pack". now you see new boot.img with numbers. (boot.img-Numbers.img)
15. delete boot.img without numbers. and rename the new boot.img (with numbers). delete the numbers. and the name should be (boot.img)
16. go to meta-inf/com/google/android in port and base folder. open updater-script file with notepad++
17. Replace PORT block partition with stock(BASE) again. example : boot.img extract to block p.., format system block p.., etc
18. save it.
19. pack port with .zip type
20. copy to your hand phone storage
21. go to cwm
22. wipe dalvik cache
23. wipe data/factory reset
25. wipe cache partition
26. install your rom
27. wait... finish!
28. reboot your system
29. waittt.. booted!
30. enjoy your new ROM!
Roms that i port with this method and booted :
- CM 10
- CM 10.1
- CM 10.2
- CM 11
- MIUI V5
- Acrodex V2
- Acrodex V3
- HolorianMod
- LEWA OS 14.03.07
PROOF ITS WORKING :
FIRST BOOT:
-http://postimg.org/image/m6v7e4bd3/ HolorianMOD ROM Ported using this guide
-http://postimg.org/image/phjgwvd3z/ Acrodex V2 ROM Ported using this guide
IF you have bugs, here's some fix :
CAMERA :
replace all chromatix lib in system/lib with stock.
replace permissions camera in system/etc/permissions
OTHER FIX : COMING SOON!
THANKS EVERYONE.
IF ITS WORKING, HIT THANKS!

Im gonna try it on GT-S7582
Sent from my GT-S7582 using XDA Premium 4 mobile app

Hello everyone.... whats up? are my tutorials working? Post your ported cusrom SS ported with this guide!

Download link for tools added above! :victory:

Can I port a G3 rom to Nexus 4?

rtk19 said:
Can I port a G3 rom to Nexus 4?
Click to expand...
Click to collapse
this easy method just for device with same chipset, processor, gpu, and ram. if it different, it wont be easy...

Work that Elife E7. ??? Elife e7 is snapdragon 800
Discovery Eliteden Candar77 gönderdi

Gionee Elife E7 not running
Base rom= https://mega.co.nz/#!E18CSDJD!tEu1VGNpi1azHQs1P4UXNvL0q86ZiXahcl6S1djBXnM DEVICE : Gionee Elife E7 32 gb
Port rom= http://goo.im//devs/ibotpeaches/miuiandroid/releases/4.6.6m/xiaomi.eu_multi_NX503A_4.6.6_jb-4.2.zip DEVICE :ZTE Nubia Z5S
hardware Processor, GPU, RAM, Chipset, etc the same .

@Onur2x, you try the port for Elife E7?
Sent from my E7

hackvier1 said:
@Onur2x, you try the port for Elife E7?
Sent from my E7
Click to expand...
Click to collapse
Link for port rom = https://goo.im/devs/ibotpeaches/miuiandroid/releases/4.6.6m/xiaomi.eu_multi_NX503A_4.6.6_jb-4.2.zip/
Please Wait few seconds

@Onur2x, Sorry, I think I've spelled wrong, what is wondering if you had made the port. Because this link is not the Rom for Gionee E7, are you?
Enviado desde mi E7

OOO i am sory i try to miui rom port but not work.

Hey, I get the error that the rom is not made for this device.. You haven't given anything about updater script... Doesn't it matter?

hey,,friends i have redmi 1s mobile can any one say similar mobile specifications

I successfully Ported MIUI V6 for my phone but Camera is not working and the fix you provided is not working.. any help ?

İ'll try on lenovo k920

hey anyone here please help me i ported MIUI for yu yuphoria but sound bug is their
back speaker not working when i increase voice volume very low sound comes from front speaker unsure emoticon
how to fix this bug??

Can any one Explain ?
Rafito123 said:
Hello, i'm a new member from indonesia so my post still fewer than 10. so i can't post in developer's area.
NOTE : THIS TUTORIAL ONLY TESTED BY QUALCOMM DEVICES!
I'm a noob, and i wanna share you how to PORT ROMS with 30 easy steps!
This is 100% working, incase the device you wanna port have a same hardware Processor, GPU, RAM, Chipset, etc and screen resolution (THIS IS VERY IMPORTANT)
this is veryy easy... you don't need copy paste system files, this is very EASY..
in this method we will use port boot.img to new rom.
What you need :
- Boot Recovery Image RePacker : http://boot-repacker.blogspot.com/
- NotePad++ : http://notepad-plus-plus.org/download/v6.6.7.html
- Stock ROM for your device
- Rom your wanna port
- Open mind and never give up to trying !!
OK, NOW WE START
1. Create 2 folder in place you can easily find it. example : "D: DATA/"
2. name it "BASE" and "PORT"
3. Extract your stock rom to "BASE" and Port ROM to "PORT".
4. Open Base And Port folder
5. Open Boot repacker. drag your stock boot.img to that program and click "unpack". now you see "boot.img-unpacked" folder.
6. Do it that again on Port Boot.img
7. Go to boot.img-unpacked folder on port. delete the Zimage.
8. copy stock Zimage on "boot.img-unpacked" folder at BASE folder.
9. paste it on boot.img-unpacked folder at PORT folder
10. go to ramdisk. find a file with a "fstab" name
11. in my case, it has 3 files.
12. open it all on Notepad++
13. Replace PORT partition with Stock (BASE) in all 3 fstab files (recovery partition, boot partition, system partition,etc)
14. drag boot.img in port to boot repacker. click "Pack". now you see new boot.img with numbers. (boot.img-Numbers.img)
15. delete boot.img without numbers. and rename the new boot.img (with numbers). delete the numbers. and the name should be (boot.img)
16. go to meta-inf/com/google/android in port and base folder. open updater-script file with notepad++
17. Replace PORT block partition with stock(BASE) again. example : boot.img extract to block p.., format system block p.., etc
18. save it.
19. pack port with .zip type
20. copy to your hand phone storage
21. go to cwm
22. wipe dalvik cache
23. wipe data/factory reset
25. wipe cache partition
26. install your rom
27. wait... finish!
28. reboot your system
29. waittt.. booted!
30. enjoy your new ROM!
Roms that i port with this method and booted :
- CM 10
- CM 10.1
- CM 10.2
- CM 11
- MIUI V5
- Acrodex V2
- Acrodex V3
- HolorianMod
- LEWA OS 14.03.07
PROOF ITS WORKING :
FIRST BOOT:
-http://postimg.org/image/m6v7e4bd3/ HolorianMOD ROM Ported using this guide
-http://postimg.org/image/phjgwvd3z/ Acrodex V2 ROM Ported using this guide
IF you have bugs, here's some fix :
CAMERA :
replace all chromatix lib in system/lib with stock.
replace permissions camera in system/etc/permissions
OTHER FIX : COMING SOON!
THANKS EVERYONE.
IF ITS WORKING, HIT THANKS!
Click to expand...
Click to collapse
Can anyone explain me what is the meaning of the statement ?
17. Replace PORT block partition with stock(BASE) again. example : boot.img extract to block p.., format system block p.., etc
means update script file from port folder whole content or something special line ?

Guys i want touchwiz for mi 3. So can anyone suggest me a samsung device to port tochwiz for mi3... Plz reply asap . and can anyone tell me will samsung sport s5 rom will work or not. And if there is method to port rom from source code or kernal.
And thankx

work this metod to stock roms?

Related

[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

How to Port custom ROM using your Phone (MTK devices Only)

Hi Guys
This is just a simple tutorial on how to port ROM right from your phone
No PC
No kitchen
But you can still port ROM
Just sit down and Follow All steps
Everybody want to be a ROM porter but with one problem or the other they can't but this method is tested and trusted.
Tool Needed
** Any Zip extractor App for android
** B1 Archiver
** Zipper
** Root explorer
** And your Brain
This method is for porting Only ROM of the same chipset like
Mtk6572 -Mtk6572
Mtk6582 -Mtk6582
Try at your own risk but insha Allah it will work for you.
Don't try this for Chinese ROM like Miui, Lewa ui , Color os etc
Let's begin
Step 1 Extract Your port ROM and name the folder PORT
Step 2 Extract Your Base ROM and name the folder BASE
Step 3 Open both folder in side tab with Root explorer
Step 4 Copy this files from your stock ROM to port ROM
system/vendor
system/usr
system/lib/hw
system/lib/modules
system/lib/libncurses.so
system/etc/firmware
system/etc/vold.fstab
system/etc/vold.fstab.nand
system/etc/bluetooth
Step 5 Open updaterscript of your Base ROM from META-INF/google/android check The mount & format point check something like this mmcblk0p. A number is always written after the "P" replace the number of your BASE to PORT
Step 6 Copy boot.img from BASE to PORT
Step 7 Check multi select in zipper or B1 archiver Select
META-INF
system
boot.img
Delete logo.bin if present from port!!!!!!!!!
Compress to ZIP file wait till the process finished
Now boot to recovery and flash your ROM
Good Luck To you all feel free to ask questions.
I have use this method to port upto 15 ROMS
You can check ROM to port Here
Mtk6572
Mtk6582
Check HERE for download links with picture steps
horlaarsco said:
Hi Guys
This is just a simple tutorial on how to port ROM right from your phone
No PC
No kitchen
But you can still port ROM
Just sit down and Follow All steps
Everybody want to be a ROM porter but with one problem or the other they can't but this method is tested and trusted.
Tool Needed
** Any Zip extractor App for android
** B1 Archiver
** Zipper
** Root explorer
** And your Brain
This method is for porting Only ROM of the same chipset like
Mtk6572 -Mtk6572
Mtk6582 -Mtk6582
Try at your own risk but insha Allah it will work for you.
Don't try this for Chinese ROM like Miui, Lewa ui , Color os etc
Let's begin
Step 1 Extract Your port ROM and name the folder PORT
Step 2 Extract Your Base ROM and name the folder BASE
Step 3 Open both folder in side tab with Root explorer
Step 4 Copy this files from your stock ROM to port ROM
system/vendor
system/usr
system/lib/hw
system/lib/modules
system/lib/libncurses.so
system/etc/firmware
system/etc/vold.fstab
system/etc/vold.fstab.nand
system/etc/bluetooth
Step 5 Open updaterscript of your Base ROM from META-INF/google/android check The mount & format point check something like this mmcblk0p. A number is always written after the "P" replace the number of your BASE to PORT
Step 6 Copy boot.img from BASE to PORT
Step 7 Check multi select in zipper or B1 archiver Select
META-INF
system
boot.img
Delete logo.bin if present from port!!!!!!!!!
Compress to ZIP file wait till the process finished
Now boot to recovery and flash your ROM
Good Luck To you all feel free to ask questions.
I have use this method to port upto 15 ROMS
You can check ROM to port Here
Mtk6572
Mtk6582
Check HERE for download links with picture steps
Click to expand...
Click to collapse
Assalamu alaikum I wish to port s custom rom for my device LG k8 X240i mt6737 kernal 3.18.19+ android 6.0 i hav downloaded a resurrection remix of same chipset and same kernal of 7.0 version can i port can u guide me please can u giv ur num so i can contact you to get help from porting pls help me ..

[ROM DEVELOPING]Porting made so easy, You can do most of it on your phone!!

Hi XDA! I am a mtk6592 developer, and a key developer of the Micromax canvas gold A300 & Canvas knight A350. People have often asked me for the method i use to port roms. So, I've finally decided to share my method. It is so easy, U can port roms using your phone!
PROS:
1. Works for most devices with any mediatek chipset (may also work for qcomm i don't know)
2. Can be used to port firmwares of same SDK (eg. porting 4.4.4 to 4.4.2)
3. Every feature of port rom is present
4. Takes no more than 5 mins to port
CONS:
1. Ported rom usually has several bugs
2. Problems related to boot.img need a computer
3. Ported rom size may be much larger if you are running a non-aosp based rom (sense, touchwiz etc.)
So lets begin!!
1. Download and extract the rom to be ported.
2. (Assuming you are using your phone\tab) Go to /system/bin and copy everything. Paste it in the port rom's /system/bin BUT DON'T OVERWRITE ANYTHING!
3. Repeat step 2 for /system/lib
4. Now copy file "vold" from /system/bin to /system/bin of port rom folder. Overwrite.
5. Do the same for libMali.so from /system/lib.
6. Form /system/etc/permissions, copy handheld_core_hardware.xml and platform.xml to port rom's /system/etc/permissions. Overwrite.
7. Do the same for everything in /system/etc/firmware and /system/usr/keylayout/generic.kl
8. You can keep build.prop of port rom as it is, or edit according to your convinience. (dosen't matter much)
9. Get your device's mount points from any other rom made for your device. Replace these in port's updater-script.
10. Replace port's boot.img with your stock boot.img.
11. Zip and Flash!!
12. If there is a bootloop, you have to unpack boot.img and make necessary changes. Please follow other guides on XDA for that.
13. For bug fixes, refer to Different guides present .
Please hit the THANKS button if I helped you!!
I have ported over 10 roms using this method for my device alone.​
Link for bug fixes......
This is simply repackaging the work of others and redistributing it on another device.
And step one should be, Ask rom owners permission.
Step two....Credit them appropriately.
:good:
Bugs Fix Guide please....
devrookie said:
Hi XDA! I am a mtk6592 developer, and a key developer of the Micromax canvas gold A300 & Canvas knight A350. People have often asked me for the method i use to port roms. So, I've finally decided to share my method. It is so easy, U can port roms using your phone!
PROS:
1. Works for most devices with any mediatek chipset (may also work for qcomm i don't know)
2. Can be used to port firmwares of same SDK (eg. porting 4.4.4 to 4.4.2)
3. Every feature of port rom is present
4. Takes no more than 5 mins to port
CONS:
1. Ported rom usually has several bugs
2. Problems related to boot.img need a computer
3. Ported rom size may be much larger if you are running a non-aosp based rom (sense, touchwiz etc.)
So lets begin!!
1. Download and extract the rom to be ported.
2. (Assuming you are using your phone\tab) Go to /system/bin and copy everything. Paste it in the port rom's /system/bin BUT DON'T OVERWRITE ANYTHING!
3. Repeat step 2 for /system/lib
4. Now copy file "vold" from /system/bin to /system/bin of port rom folder. Overwrite.
5. Do the same for libMali.so from /system/lib.
6. Form /system/etc/permissions, copy handheld_core_hardware.xml and platform.xml to port rom's /system/etc/permissions. Overwrite.
7. Do the same for everything in /system/etc/firmware and /system/usr/keylayout/generic.kl
8. You can keep build.prop of port rom as it is, or edit according to your convinience. (dosen't matter much)
9. Get your device's mount points from any other rom made for your device. Replace these in port's updater-script.
10. Replace port's boot.img with your stock boot.img.
11. Zip and Flash!!
12. If there is a bootloop, you have to unpack boot.img and make necessary changes. Please follow other guides on XDA for that.
13. For bug fixes, refer to Different guides present .
Please hit the THANKS button if I helped you!!
I have ported over 10 roms using this method for my device alone.​
Click to expand...
Click to collapse
susmit please upload a short but basic bug fixing guide, as porting is bit easy for anyone but learning bout fixing bugs is much more difficult than anything....so plz dev its a request.
If you said dont overwrite then i have to click skip? And the remaining files which have no samefile type will be paste successfully?

How to port roms to your mtk with android device

HOW TO PORT ROMS TO YOUR MTK WITH ANDROID DEVICE
Most of us have always wanted to use custom roms but there just no custom roms for our devices so we just use different app launchers and uninstall some bloatware to make our stock rom feel good.
Rom porting makes it possible to use a custom rom on your mtk device provided in this tutorial they have the same chipset (example: mtk 6582 ported to mtk6582).
THINGS NEEDED :
1. B1 archiver / ES FILE EXPLORER
2. Root Browser.
4. A rooted device is also needed but not much important if you have CWM INSTALLED WITHOUT ROOT.
PROCEDURE :
1. Make a backup of your current rom, preferably CWM backup. You can either use MTK DROID TOOLS or ROM MANAGER...
The location of the backup will be at clockwork/backup/"date and time of the backup ". This is very important since we will need stuff from the back up and we will also use the backup to recover the phone should the ported rom give any problems.
2. At this point I presume you have already downloaded the apps needed and the custom rom you want to use which is in a zip format( this was not important but I had to bring it up cause I know zombies could be reading this.
3. Now extract the custom Rom with Root Browser. if you extracted with Root Browser then the location will be "speedsoftware/extracted/"folder with the name of the custom rom "".
4. Now open Root Browser and open the folders side by side "custom rom which will be ported at one side and other side will be used for searching for the location of the things needed for the custom rom.
5. Delete the following from the Custom rom:
Boot.img
logo.bin (You do this only when you like the Your current logo.bin)
system/vendor
system/usr
system/lib/hw
system/lib/modules
system/lib/libncurses.so
system/etc/firmware
system/etc/vold.fstab
system/etc/vold.fstab.nand
system/etc/bluetooth
6. Now that you have deleted them from the custom rom replace them. You will find the boot.img at clockworkmod/back/"folder with date and time"/boot.img. The rest of the files and folders will br located in the Root /system. Just copy and paste
7. Now at the custom Rom panel go back to where you find the "META-INF" folder,open /google/android will now long press on "updater script" and tap on open with then select text editor.
8. Check The mount & format point check something like this mmcblk0p. A number is always written after the "P" replace the number of your BASE to PORT.
9. Check multi select in B1 archiver Select ( do not archive the folder the files are in but the individual files in the folder containing the extracts)
10. Compress to ZIP file wait till the process finished. Now boot to recovery and flash your ROM
Good luck in porting Your Rom... I have used this method to port 5 roms including AROMA ROMS. and I have never ported a Rom with a pc before
MAYBE U NEED TO EXTRACT THE BOOT IMG TOO IF THIS DIDNT WORKED
DO IT AS FOLLOWS
Requirements:
-- BusyBox (cpio, gunzip and gzip is mandatory)
-- /System Write Permissions (Does not need to be a modified kernel)
-- Terminal Emulator
-- ES File Explorer (or similar)
-- Hex Editor (or use of DD)
-- Open up your android terminal emulator.
-- Now go ahead and pull your boot.img from your device (or use another one if you wish)
-- Open up your boot.img with the Hex Editor and look for: ANDROID!. Remove everything before it so that the ANDROID! header is the first to be read then save it over top of the boot.img. NOTE: This is only required if you are using a stock boot.img.
OR USE THIS IF U DIDNT UNDERSTOOD THIS
Hello Everyone, I’ll show you how to Unpack and Repack your Phone’s Boot.img & Tweak Karnel. Lets start.
Make a new folder named “boot edit” in cache/
image
Pull your boot.img in this folder
image
Now open ApkTool. Long press on “cache“, click on Get Access Permission.
image
Open cache folder and do same with boot edit. Give ApkTool access permission
image
Open boot edit, click on boot.img select Expack(MT65xx), press ok
image
It will unpack your boot.img.
image
Now open file manager & go to cache/boot edit/. You wil find your unpacked boot.
image
Now edit/modify the files or tweak karnel.
Again open ApkTool. Goto cache/boot edit click on ramdisk select repack-mt65xx.
image
It will repack your boot.
image
You will find an img file named new.img
image
This file is your Tweaked/edited/custom boot.img!!
Flash it via Recovery or Flashify & Enjoy..
FOR DETAILED AND STEP WISE GUIDE WITH SCREEN SHOTS SEE HERE
Mod Edit: link removed
XDA:DevDB Information
HOW TO PORT ROMS TO YOUR MTK WITH ANDROID DEVICE, ROM for all devices (see above for details)
Contributors
manhar2108, manhar2108, 2108kick
Source Code: Mod Edit: link removed
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: all
Version Information
Status: Stable
Created 2015-08-16
Last Updated 2015-08-16
HIT THANKS IF I HELPED U
Good guide..
Especially for noobs....
Darshan601 said:
Good guide..
Especially for noobs....
Click to expand...
Click to collapse
i too am a noob so i tried and made this guide
how bout porting 5.1 rom to 4.4.2 stock?
what should I consider?
aside from tweaking kernel
manhar2108 said:
i too am a noob so i tried and made this guide
Click to expand...
Click to collapse
Yeah....Even I am a noob
gunzgunz said:
how bout porting 5.1 rom to 4.4.2 stock?
what should I consider?
aside from tweaking kernel
Click to expand...
Click to collapse
just replace all these files and use stock kernal to port them
good luck
Sir i tried your guide in porting rom. Mt6582 tp mt6582 chipset roms.. But after replacing those files you mentioned and when i flashed it to my phone, it was tuck in boot screen and keep on restarting. How am I going to fix this?
Thread closed. Pay per click links are not allowed on XDA.
Darth
Forum Moderator

[Temp] How-To Fix Audio distorted on P GSIs

Hello everyone,here you go this is temporary fix for audio distorted on android P gsis. Im running on stable miui global ( so the vendor of mine was)
Needed Rooted devices and running AndroidP GSIs (mine tested on Pexelxperience P)
STOCK Vendor file latest Miui Global Stable
https://drive.google.com/file/d/1pZ9uraiebO3HM2mQcmdjavz99xOqukNT/view?usp=drivesdk
- Boot to TWRP and mount the Vendor partitions
Use root explorer , suggested amaze filemanager download it for free on on Playstore activate the root filemanager (amaze as it set default to off)
- go to root tab, /Vendor/lib/soundfx/ now you need to rename whole files ( i don't suggested to dellete/removes whole files .so)
Just rename it extension (.so) to .bak
After that reboot.
Credit to mi8 user,seems on poco we have to change it on Lib not the lib64..
Hit thanks if i helped.
*If its don't work please do the same things on vendor/lib64/soundfx.
*Important.
This the one-time and universal fix, so you don't need to editing the vendor files everytime you changing the rom gsis, as its on vendor side modifications, it will keep the mod survived everytime you changing the gsis as long you didn't re-flash the stock vendor.img/flashing the stock Miui roms.
Keep an eyes to Phhs Aosp P build when he succesfully fixing the distortion bugs on xiaomi devices, its mean you'll need the stock vendor.img (un-modified) to be flashed.
Update : pre- modified vendor use only adbfastboot tool
Put the modified vendor inside adbtool and putyour device in fastboot mode
Flash this via fastboot :
"fastboot erase vendor" <enter>
"fastboot flash vendor.img" <enter>
Before flashing this i suggest you do backup your original vendor partition.
https://drivegoogle.com/file/d/1EFKDZqo7JdKmECkZ8RIWZ1pwyQMkJzmI/view?usp=drivesdk
I removed the files previous week but the sound was not fixed, mainly the system sounds where disorted everything else was working.
Only the Google setup didn't work
bassbounce said:
I removed the files previous week but the sound was not fixed, mainly the system sounds where disorted everything else was working.
Only the Google setup didn't work
Click to expand...
Click to collapse
Its working perfectly here running latest P Pixelxperience , youtube,ring notifications whole perfectly run well
After removing the lib folder it works, thanks
bassbounce said:
After removing the lib folder it works, thanks
Click to expand...
Click to collapse
Seriously you remove it completely?, The choices is yours anyway cheeers buddy
SH1M4BD3 said:
Hello everyone,here you go this is temporary fix for audio distorted on android P gsis. Im running on stable miui global ( so the vendor of mine was)
Needed Rooted devices and running AndroidP GSIs (mine tested on Pexelxperience P)
- Boot to TWRP and mount the Vendor partitions
Use root explorer , suggested amaze filemanager download it for free on on Playstore activate the root filemanager (amaze as it set default to off)
- go to root tab, /Vendor/lib/soundfx/ now you need to rename whole files ( i don't suggested to dellete/removes whole files .so)
Just rename it extention (.so) to .bak
After that reboot.
Credit to mi8 user,seems on poco we have to change it on Lib not the lib64..
Hit thanks if i helped.
*If its don't work please do the same things on vendor/lib64/soundfx.
Click to expand...
Click to collapse
Thank you so much for this! The audio was driving me crazy and now it's normal again.
napes22 said:
Thank you so much for this! The audio was driving me crazy and now it's normal again.
Click to expand...
Click to collapse
You're wellcome now we have almost perfect Pie..hope soon its fixed without doing this trick
SH1M4BD3 said:
Hello everyone,here you go this is temporary fix for audio distorted on android P gsis. Im running on stable miui global ( so the vendor of mine was)
Needed Rooted devices and running AndroidP GSIs (mine tested on Pexelxperience P)
- Boot to TWRP and mount the Vendor partitions
Use root explorer , suggested amaze filemanager download it for free on on Playstore activate the root filemanager (amaze as it set default to off)
- go to root tab, /Vendor/lib/soundfx/ now you need to rename whole files ( i don't suggested to dellete/removes whole files .so)
Just rename it extention (.so) to .bak
After that reboot.
Credit to mi8 user,seems on poco we have to change it on Lib not the lib64..
Hit thanks if i helped.
*If its don't work please do the same things on vendor/lib64/soundfx.
Click to expand...
Click to collapse
I thought Mix 2S also could make it. But I can't change any things on verdor:crying:
BUTHEDOS said:
I thought Mix 2S also could make it. But I can't change any things on verdor:crying:
Click to expand...
Click to collapse
Did you have mount the vendor prtition on TWRP??,
SH1M4BD3 said:
Did you have mount the vendor prtition on TWRP??,
Click to expand...
Click to collapse
yep. I did it before
SH1M4BD3 said:
Hello everyone,here you go this is temporary fix for audio distorted on android P gsis. Im running on stable miui global ( so the vendor of mine was)
Needed Rooted devices and running AndroidP GSIs (mine tested on Pexelxperience P)
- Boot to TWRP and mount the Vendor partitions
Use root explorer , suggested amaze filemanager download it for free on on Playstore activate the root filemanager (amaze as it set default to off)
- go to root tab, /Vendor/lib/soundfx/ now you need to rename whole files ( i don't suggested to dellete/removes whole files .so)
Just rename it extention (.so) to .bak
After that reboot.
Credit to mi8 user,seems on poco we have to change it on Lib not the lib64..
Hit thanks if i helped.
*If its don't work please do the same things on vendor/lib64/soundfx.
Click to expand...
Click to collapse
Where is the camera lib bro ? i cant found in miui 10 mi8 rom
my camera from mi8 system poco f1 vendor combined rom is not working
Where is the camera lib bro ? i cant found in miui 10 mi8 rom
my camera from mi8 system poco f1 vendor combined rom is not working[/
It should be there sir
This Pixelxperience P + substratum and yeaah looks cool now
Where is the camera lib bro ? i cant found in miui 10 mi8 rom
my camera from mi8 system poco f1 vendor combined.... I'll madethe vendor.img modified will you test it on your mi8 port??
These is modified files pulled out from latest stable mi8 global firmware
https://drive.google.com/folderview?id=1bZDYENZoINykxhGgU1hSnk0mjvCQwCrT
Note contains 2 files : vendor.img (unmodified)
vendors.img modified camera libs one.
works fine bro, thank you so much, you save my phone.
Can you please share the link to the P GSI you use? Any thread with instructions?
fleischbanane said:
Can you please share the link to the P GSI you use? Any thread with instructions?
Click to expand...
Click to collapse
Its simple i mean don't make it complicated,the gsi img itself was the single img file which created /developed to replacing the stock system partition, in our case is Miui. Needed files :
1.Gsi files,you choose your own fav gsi, i'm using Pixelxperience head there and download the zip..and extractsthe img file inside (the img file insidewas the system img to replace miui on our system prtition).
https://forum.xda-developers.com/pr...lopment/9-0-pixelexperience-p-t3833294/page47
2.TWRP, get it here https://forum.xda-developers.com/poco-f1/development/recovery-twrp-3-2-3-x-t3836241/page12. we need this to format data after flashing the gsi.
Steps :
Put the img and TWRP files inside Adb,fastboot directory, rename the Gsi img file with simple name so you won't be typo or type wrong name of img file.
1.Reboot your device into fastboot mode (backup your important files as it would be formating your data)
Confirm your device was detected in fastboot mode (fastboot devices)
2. Type "fastboot erase system"
Wail till complete and said done.
3. Fastboot "flash system name_of_extracted_img_file.img"
*I've changed the file to system.img so i type fastboot flash system system.img
Be patient in this step,as you'll see more than 1 process shown on cmd. Wait till it done.
4. Don't boot to system directly, now type "fastboot boot twrp_name.img" if you don't want to flash / replacing stock miui recovery.
Or "fastboot flash recovery twrp_name.img"
wait till it boot, ignore the password pop up choose cancell,now wipe, and choose format data, wait till done.
*Optional if you need to root do it, i suggested magisk latest stable build.
Back to main menu TWRP and choose mount the vendor , we need to modify the libs file to make the distorted audio gone.
Or you can flash my modified vendor.img with command "fastboot flash vendor.img" if you're lazy enough to rename the lib files one-by-one manually using root explorer.
Reboot to system and you're now running pie gsi.
SH1M4BD3 said:
Hello everyone,here you go this is temporary fix for audio distorted on android P gsis. Im running on stable miui global ( so the vendor of mine was)
Needed Rooted devices and running AndroidP GSIs (mine tested on Pexelxperience P)
- Boot to TWRP and mount the Vendor partitions
Use root explorer , suggested amaze filemanager download it for free on on Playstore activate the root filemanager (amaze as it set default to off)
- go to root tab, /Vendor/lib/soundfx/ now you need to rename whole files ( i don't suggested to dellete/removes whole files .so)
Just rename it extention (.so) to .bak
After that reboot.
Credit to mi8 user,seems on poco we have to change it on Lib not the lib64..
Hit thanks if i helped.
*If its don't work please do the same things on vendor/lib64/soundfx.
Update : pre- modified vendor
Flash this via fastboot : fastboot erase vendor
Fastboot flash vendor.img
Before doing tahis i suggest you do backup your original vendor partition.
https://drive.google.com/file/d/1EFKDZqo7JdKmECkZ8RIWZ1pwyQMkJzmI/view?usp=drivesdk
Click to expand...
Click to collapse
hello , is there vendor modified of stock rom ?
philipped346 said:
hello , is there vendor modified of stock rom ?
Click to expand...
Click to collapse
On the first post , check it
@SH1M4BD3 thanks for your guide. Sound quality is now good

Categories

Resources