yashsingh1/xdaforums huggingface dataset:
[K3 Note General] Yogesh1969:
A strange finding.

In the process of porting various stock files, success eluded me as the phone just booted to logo. Since i knew that the boot.img was good but needed minor changes for adb to get connected, I made corrections in the required files in the ramdisk as the kernel was of stock. I did not use any stock file or folder of stock ramdisk . First success was , adb got conncted.

Second , I did not use any files/ folders of stock Rom. And to my surprise , the Phone booted with the ported Rom. (There are errors in it,but the main purpose is solved).

Obviously, this won't happen with all Roms, but its just an observation.

Also, For porting boot.img of Roms, use Carliv's Kitchen or any other one for higher versions of Android. This was one of the reasons for not booting of Roms
[K3 Note General] Yogesh1969:
A small variaton.....

I just wanted to mention a method I use for changes in the system folder. In order to avoid the mistakes in symlinks ,permissions, set_metadata parts, I extract the system.img of both port and stock roms, make the necessary changes, repack the system.img and flash it directly to the block partition . And I find it very convenient. We just have to modify the updater script.
[K3 Note General] Abhishek4587kumar:
Please help me a little

Can I port a rom from k3note(mt6752) to Le 1s(mt6795)?

I am not able to understand how to port because k3note has Mali GPU and Le 1s has Powervr .

K3 note has a ported EUI5.5 so i think that I can port the rom.

I tried porting Viperos of K3note but it got blank screen after boot logo.(Any fix?) I tried the above guide.

Please recommend me any porting guide for this or tell where I am doing wrong.

Many Many THANKS in advance:fingers-crossed:

---------- Post added at 06:02 PM ---------- Previous post was at 05:56 PM ----------

Can I port a rom from k3note(mt6752) to Le 1s(mt6795)?

I am not able to understand how to port because k3note has Mali GPU and Le 1s has Powervr .

K3 note has a ported EUI5.5 so i think that I can port the rom.

I tried porting Viperos of K3note but it got blank screen after boot logo.(Any fix?) I tried the above guide.

Please recommend me any porting guide for this or tell where I am doing wrong.

Many Many THANKS in advance:fingers-crossed:
[K3 Note General] dmilz:
What happens if stock rom has libs that need to be copied to port rom but port rom doesn't have them so no need to overwrite. Do you still go ahead and move them?

Hope that's clear
[K3 Note General] Abhishek4587kumar:
You have replied to me?
[K3 Note General] Yogesh1969:
No, he has not replied to you. His problem is different. Regarding your issue, as per this guide cross porting is possible. Errors come in any part or stage,which have to be checked very carefully and with patience. One part is the boot.img. Port it very properly and then with the system folder / files.
[K3 Note General] :
bluetooth can not turn on

porting cm12.1 all works fine but bluetooth share has stopped .
[K3 Note General] Romancy:
can u tell me how to port rom eui 5.9 MM from 6795 to k3 note

or tell me how to port nubia rom from 6755 to k3 note
[K3 Note General] sandeep.sethi:
Dont replace bluetooth lib in hw folder
[K3 Note General] sandeep.sethi:
Guide is already given you have to try them
[K3 Note General] :
Flashlight works only for 2 sec

System flashlight works only for 2 sec then turns off
[K3 Note General] Romancy:
iam trying this guide but dont working

any way to solveing this proplem >
[K3 Note General] Yogesh1969:
You have to try the instructions for different chipsets in the guide. Porting of boot.img is a must.
[K3 Note General] neko1pro:
issues

Hello sir. I've tried to Port MIUI from redmi note 2 (mt6795) to my Device (Alcatel flash 2 mt6753) but faced these issues. Plz help me to fix. TKS a lot.

- Can't connect to camera

- No audio

- Can't turn on WiFi & Bluetooth

- Can't turn on flashlight

TKS again!
[K3 Note General] foudroid:
Hello ! I try to port different rom for my elephone p6000 pro(mt6753)running CM12.1 witth TWRP3.1.0 .but alwais the same problem. When flashing the zip>it say "script succesfull". I reboot and it get me back to recovery ! Think there is problem with the updater script or the recovery ???! The latest rom i try to port is.:Jiayus3 plus mad os 7.1.2 to my p6000 pro.. Same soc ! Neeed heeelllpppp ! Sory for my bad english. And thaks for the answer.
[K3 Note General] Yogesh1969:
In each case the problem is different. When flashing a rom to your device, check the updater script for partition details e.g. mmcblkp1, mmcblkp19, mmcblkp7, etc. because they are differnt for each device most of the time except for same SOCs.

Size of ram should be same or bigger than the porting device.

I don't think recovery has any problem. There could be problem of files in lib,lib64, bin etc. Try to port files in small numbers.
[K3 Note General] imalif:
pruh
[K3 Note General] foudroid:
Thank for your support !can't see things like mmcblkp** in the updater script ! Also, i noticed that the line "show progress..." in updater script dont show when flashing the rom. Can i post the updater script here ??
[K3 Note General] Yogesh1969:
Yes, you can attach it with the reply.

---------- Post added at 12:57 PM ---------- Previous post was at 12:55 PM ----------

Yes, you can attach it with the reply. Also attach script of base(your rom).
[K3 Note General] foudroid:
Here are the updater
[K3 Note General] MR_EVIL:
how to port miui for mt6750 chipset?
[K3 Note General] Yogesh1969:
There is no problem in the updater script as the mount points are same. Now just try all the combinations of files/ folders mentioned in the guide. Your error comes either by wrong lib files, no space for system files, and more. It is a trial and error method. Hope that ram size and rom size is nearly same.
[K3 Note General] foudroid:
It is a kernel issue. I noticed that the rom has been flashed correctly, but it wont boot. After logo it reboot to recovery. I'll try to take a log.
[K3 Note General] KevMetal:
MadOS 7.1.2 includes new version twrp which overwrites old twrp

If you delete file boor from recovery file like in the guide maybe you will fail .

Maybe you can extract new twrp recovery image from MadOs first

Flash new recovery on top of your old recovery . THEN flash your port rom on top of that

---------- Post added at 11:17 PM ---------- Previous post was at 11:13 PM ----------

I am running MadOs 7.1.2 on Ulefone metal with same chipset ....when I flashed it flashed new recovery ........

When you delete reboot from recovery.p file like in the guide your recovery can't be modified ....

So extract new twrp from port rom ..... Port that recovery for your device using carliv image kitchen then maybe you can flash on top of that
[K3 Note General] sagargjasani264:
how to disable?

which line to edit?
[K3 Note General] foudroid:
Thanks for your help, but already did that. I tried to flash directly TWRP from MAD os. But it stuck on bootloop. So i port the TWRP from mad Os to my device. And it boot corectly to recovery. And after that flash the ported rom. And.... Have these issue. Try to port 2 differnt rom all mad os 7.1.2 but from different device.,at the end it's the same ! It wont pass. Ill try to find a way to take log from bootloop to know whatis the problem. But i'm confused about that reboot from recovery. P,, shall i delete that file or not. In my case, i delete it.
[K3 Note General] KevMetal:
Good start . I think your problem is that in the updater script there is a reference that the a new recovery must be flashed but when it looks for the recovery it is not there . I think you must take the recovery you ported and package it inside your ported rom and try to leave reboot from recovery p file because now it is okay because it is the correct recovery ......maybe this will flash.......:fingers-crossed:

Did you port with or without decompiling and recompiling boot/ kernel step .....try to do that step Carliv Image kitchen and it could work .
[K3 Note General] foudroid:
I followed the guide srep by step on Porting the boot. Img !! Decompile replace file and recompile. I attached the updater script here, you can check it. And where should i put the recovery. Img cause in the original port rom There is no recovery. Did you see post on how to flash mad os. They give special recovery for each rom and model, based on latest TWRP recovery ! I try to port recovery changing minimun file, it booted but can't mount partitions, it say there is no rom installed. Only sdcard partition is mounted.
[K3 Note General] KevMetal:
Well on ulefone the twrp .image file is inside the MadOs Rom so it is updated automatically when flashing the rom .Will check the updater script .

---------- Post added at 08:29 PM ---------- Previous post was at 08:12 PM ----------

Try to delete line 1 and 2 in the update script of port rom ...until line 3 starts mount
[K3 Note General] foudroid:
I decide to port other rom Than MAD os. And it's in progress. I ported xenonhd to my p6000 pro. And stuck in bootanimation. Iv been able to grab a logcat but dont know how to fix. Need help to interpret the logcat. Here it is.
[K3 Note General] GLokin666:
Hello, I can port roms mt6752 mt6753 to mt6750??
[K3 Note General] sagargjasani264:
How?
[K3 Note General] neko1pro:
Hello sir. I've tried to Port MIUI Lollipop kernel 3.10.65 from redmi note 2 (mt6795) to my Device (Alcatel flash 2 mt6753) but faced these issues. Plz help me to fix. TKS a lot.

- Can't connect to camera

- No audio

- Can't turn on WiFi & Bluetooth

- Can't turn on flashlight

TKS again!Hello sir. I've tried to Port MIUI from redmi note 2 (mt6795) to my Device (Alcatel flash 2 mt6753) but faced these issues. Plz help me to fix. TKS a lot.

- Can't connect to camera

- No audio

- Can't turn on WiFi & Bluetooth

- Can't turn on flashlight

TKS again!
[K3 Note General] Abhishek4587kumar:
Go through this:

https://www.google.co.in/amp/s/xdaf...-hacking/guide-port-64-mtk-roms-t3555933/amp/
[K3 Note General] sandeep.sethi:
which kernel u r using
[K3 Note General] Ufoner:
Thank you so much it working! I found bug when recording video, some cracking sounds. If you tell me how to solve this bug, tomorrow i will DONATE. You are best developer, stay awesome :D
[K3 Note General] AnStu00:
It don´t work

Thank you so much for your help :)

But it didn´t work i have tried with everything you said but now it is worse it won´t even show the bootanimation :D please help me!

Should i try to use Cyanogenmod 12.1 as a base ROM? Or should i do something else? I have tried everything and tried in almost a week :D please help

---------- Post added at 10:25 PM ---------- Previous post was at 10:22 PM ----------

Hi!

How do i know which kernel i use :D

I am using the kernel from BlissPOP and the Ramdisk from Cyanogenmod 12.1
[K3 Note General] sandeep.sethi:
use kernel of cm12 ramdisk of blisspop

and try
[K3 Note General] sandeep.sethi:
cracking sounds ?

hmm let me check

im on aicp (i never record any video[emoji12] ) and say u if the rom has bug or something else
[K3 Note General] AnStu00:
What should i do

I have tried that! I had even try to port Blisspop from Cyanogenmod 12.1 and from AOSP 5.1 And it just don´t work

I have an Elephone P7000 (mt6752)

And i am porting your Blisspop for Lenovo K3 Note (mt6752)

Please help me! :(

If you help me to get a ROM working then i will donate at least $1

//AnStu00
[K3 Note General] sandeep.sethi:
give me your cm12 boot.img i will port the boot.img for u
[K3 Note General] Ufoner:
Here is video of cracking sounds https://youtu.be/7-Kz-fS6Xag :eek:
[K3 Note General] AnStu00:
Thank you!

Wow thank you so much :)

It's really appreciated thank you so much for your help

I have attachet 2 boot files because i have 2 Cyanogenmod ported from my phone the "new-boot.img" Has New TP, latest modem and latest kernel. I don´t know if that matters. Both boot.img works with the Cyanogenmod 12.1 ROM.

You choose one of them :)

Thanks again for you help!

//AnStu00
[K3 Note General] sandeep.sethi:
bro i am really confused because i have given the libs for mic in the guide

in my rom no sound is heard (crackling)

have u tried on another different rom?
[K3 Note General] sandeep.sethi:
here i am posting 3 boot.imgs use one by one to test which works]

HERE
[K3 Note General] AnStu00:
Woow! Thank you so much it kind of worked!

After the bootscreen i get stuck on optimizing app starting apps and then it suddenly reboot... And i get stuck in bootscreen again :(

Please help me again :D

you are the best developer i know and please help me with this problem too

what should i do?

//AnStu00
[K3 Note General] Ufoner:
On another roms recording video without cracking sounds.
[K3 Note General] sandeep.sethi:
try porting without replacing nvram and mtk ril libs
[K3 Note General] sandeep.sethi:
try comparing init.rc of aicp and ur cm

search for camera
[K3 Note General] AnStu00:
Sure!

Okay sure i will try to poring it again :)

I hope it works this time
[K3 Note General] AnStu00:
Thaaanks so much!!

Thank you soo muuch!!!! I got it to work!!

It has many bugs tho but that is pretty easy to fix :D

You are the best developer easy :) donating!
[K3 Note General] Ufoner:
I will try to fix. Can i port marshmallow from redmi note 2 to my device which is lollipop? Will kernel from CM12.1 works with marshmallow? Will your guide works with porting marshmallow? Thanks in advance :)
[K3 Note General] sandeep.sethi:
marshmallow ??

really can u give link

im not sure if it will work because i havenot ported any 6.0 roms yet
[K3 Note General] sandeep.sethi:
oh thank u very much
[K3 Note General] Yogesh1969:
As per this guide you can try.
[K3 Note General] DarkAM:
[MENTION=5450421]sandeep.sethi[/MENTION]

Hello, I'm trying to port MTK6737 (Working beta stock ROM Android 7.0 as a base) to other device stock ROM Android 7.0 Same SoC as a port.

After extracting my base system.img, above folder is not present in it. Can I ignore this :confused:

My base rom only have lib but port rom have both... can i proceed ?

LOL, my base ROM don't have any of this. so... erm... can i proceed?

Kindly help me please :crying:, This is my first time trying to port ROM. Any advise is welcome. :laugh:
[K3 Note General] sandeep.sethi:
Your phone has 32bit ROM and the port ROM is 64bit port from 32bit ROM device bro
[K3 Note General] DarkAM:
So you are saying that 32bit ROM can't be port to 64 bit ROM? :crying:
[K3 Note General] sagargjasani264:
Any idea about audio not coming from speaker? Expt libaud***.so
[K3 Note General] sandeep.sethi:
Yep
[K3 Note General] sandeep.sethi:
media_codecs try replacing from system/etc
[K3 Note General] sagargjasani264:
Already did... Anything else?
[K3 Note General] xdauser9675:
Can this guide be used for different Android version porting?

I have stock Rom(Android 7.1.2 MT6735) and Port Rom(Android 8 MT6753). Can I port this?

If not, can you refer me to suitable guide?
[K3 Note General] Hardik Tandel:
How to port pixel xl 8.0 rom using lenovo k3 note 7.1.1 rom

If it is possible try to guide me.

And it is not possible how it can not possible?

Modify the system image file.
[K3 Note General] Ruben Craveiro:
you cant port from a device that isnt mtk... it needs to be same android version, kernel, and same chipset or at least a variation of the same chipset
[K3 Note General] sagargjasani264:
Just tell me yes or no...

Is it possible to port 3.18.35 rom with 3.18.22?
[K3 Note General] iMcha:
[MENTION=5450421]sandeep.sethi[/MENTION]

Can you please help me with this.

I have been trying to crossport one AOSP 6.0 rom made for gionee f103pro(mt6735) to my infinix hot 4 pro_X5511(mt6737) running same OS6.0 and kernel : 3.18.19 but its stuck on bootlogo. I have the logcat but cannot post links here until I have reached 10 posts

Anyhow please advise on what files I should change to boot successfully
[K3 Note General] Matraxx22:
Hello This mothod work for lenovo p70 ?

https://www.phonearena.com/phones/compare/Lenovo-K3-Note,Lenovo-P70/phones/9561%2C9192
[K3 Note General] Yogesh1969:
The specs are very good and have a 95% chance of booting perfectly.
[K3 Note General] sandeep.sethi:
Flash Supersu and try

or take stock boot.img
[K3 Note General] sumitpsr1:
Port from 6 to 7

Hi,

I want to port same mtk chipset mtk6735. I found some but currently my base ROM is android 6.0(marshmallow) and port ROM android version is CM14.1(nougat). Will it porting work for to upgrading version of android? :fingers-crossed:
[K3 Note General] Ashley david:
Yes it does work with mediatek
[K3 Note General] Yogesh1969:
I have Ported many roms to my different cellphones and have removed bugs by logcat and logical methods. I am now facing a peculiar problem with an aosp to aosp rom. The Rom boots and works for all other apps except all networks !!! No wifi, bluetooth, sim detection network, hotspot. etc. It shows unknown baseband. Normally that goes by changing Firmware folder or just the modem file.

Here i tried changing bin , libs, vendor, build.prop(edit) etc but no success. Please help me .

Note: My rom is Non-volte and port rom has volte.(Gionee F103pro). Both AOSP.
[K3 Note General] sandeep.sethi:
If you ported it in hope of availing VOLTE then forget it

remove volte files and related lines from the port boot.img

replaced init.uevent.rc in boot?
[K3 Note General] Tanvir12:
hi...what's about init.mt65xx.rc...?what should I do?:confused:
[K3 Note General] Yogesh1969:
Replace with stock and see if it boots. All three -- fstab, init.6xxx.rc, init.6xxx.usb.rc. Read the guide properly.

---------- Post added at 06:43 PM ---------- Previous post was at 06:27 PM ----------

Thanks sandeep.

Yes I know that volte requires hardware support,so I'm not expecting it.

I replaced ueventd.rc, deleted volte files, edited lines in boot-ramdisk files and so many more files, but it just does not show the sim card/baseband. The Rom boots well,camera and other apps work well. but all wireless functions are off i.e. wifi, sims, bluetooth,etc.

I'm at my wit's end.:crying:
[K3 Note General] sumitpsr1:
For same chipset

For porting same mtk chipset while upgarding android marshmallow to nougat. Changing boot.img is required or simple put stock boot.img in port rom.

Thnks.
[K3 Note General] sumitpsr1:
Stuck on bootloop

Hey,

I replaced all file and lib mention in your thread as step vise step. But after making zip and flash. Phone is stuck on bootloop and show company logo for 3-4min. Then I restore system with twrp. Hey please help me to avoid bootloop. (port for same chipset). Logcat attached. Thanks for andvance
[K3 Note General] lincolnayisi:
I have mt6735 kernel 3.10.65 of 5.1.1 stock, I downloaded a ported Resurrection Remix, validus os, lineage 14.1 nougat 7.1.2 of the same mt and kernel. Everything worked but I didn't get sound at all. What files did I copy wrong? Thanks for your help
[K3 Note General] akky26:
Volte not working after porting Lenovo k4 note MIUI 7.11.23 rom to Coolpad note 3. Fingerprint and flashlight isn't working either. Any suggestions ?
[K3 Note General] sandeep.sethi:
take logcat and read it for libes regarding RIL
[K3 Note General] sandeep.sethi:
the fingerprint fix was provided in the Facebook group of cn3 use it

for flashlight it maybe the problem of cam lib
[K3 Note General] sandeep.sethi:
dont replace any audio related libs and see if it helps
[K3 Note General] sandeep.sethi:
you cant upgrade android via porting

for porting the kernel version should be same if porting different android version
[K3 Note General] sumitpsr1:
Thanks Sandeep

I know my bootloop causes. My question is how to check kernel version of other device by rom?

Thank you for so much help.
[K3 Note General] Tisenoiazei100:
IDK if someone can ask my question but...

Im newbie to MTK porting(Im porting to Qualcomm for many years) and i heard that its possible to cross-port MTK roms...

Is it possible to port a MT6737T(Huawei Y5 '17/J2 Prime) ROM to a MT6580(Cubot Note S) device. Of course i can port Huawei Y3 II ROM first and inject Y5 '17 framework on it but im a little purist :b.
[K3 Note General] bittu007:
is there any cross porting guide for Qualcomm devices....?
[K3 Note General] lincolnayisi:
I did that and only got sound through headphones. No sound through phone speakers.

How do I solve that too? Thanks
[K3 Note General] lkdevil:
Installation aborted while flashing

What I do ?

I am porting lineage ROM (intex aqua 4g+) for my phone (intex aqua trend)

Both have same chipset ( mt6735)

Hardware specs are also same

Where is prob Idk...

Thnx in advance :)
[K3 Note General] sagargjasani264:
Try to flash them as img

I mean create system.img and flash it directly

Flashing guide...

[youtube]7pxkqAYylWE[/youtube]

Regards,

Sagar Jasani

teamli.ml
[K3 Note General] lkdevil:
Srry I didn't get you . actually I m new in porting...but I think I have to make a zip...for flashing... So I m confused.. Now...so..plz can u tell me that how can I create ROM in the form of .img instead of .zip ...

Thnx in advance

---------- Post added at 10:45 AM ---------- Previous post was at 10:45 AM ----------

Srry I didn't get you . actually I m new in porting...but I think I have to make a zip...for flashing... So I m confused.. Now...so..plz can u tell me that how can I create ROM in the form of .img instead of .zip ...

Thnx in advance,
[K3 Note General] sagargjasani264:
Use some packing tool for converting system folder to system.img

Regards,

Sagar Jasani

teamli.ml
[K3 Note General] lkdevil:
Only system folder ? What about other files like meta-inf folder etc. I think u want to say that just create a system.img then compress into .zip including meta-inf folder ?

Am I right ?

If no so plz clear my doubt....

And thnx man for your rply
[K3 Note General] sagargjasani264:
Just copy system.img and boot.img to phone

Flash them as img...

Wait.. Sending you video link..

Regards,

Sagar Jasani

teamli.ml
[K3 Note General] Tisenoiazei100:
im getting this issue when im trying to port any kind of ROM to my phone(Cubot Note S*MT6580). All my ports were from the same chip, not different

Any Help?

01-01 00:14:46.770 1295 1295 F libc : page record for 0xb6ed101c was not found (block_size=16)
01-01 00:14:47.127 484 1294 E NetdConnector: Communications error: java.io.IOException: No such file or directory
01-01 00:14:47.127 484 1294 E NetdConnector: Error in NativeDaemonConnector: java.io.IOException: No such file or directory
[K3 Note General] RuffneckFlex:
This method doesn't seem to work for Jiayu S3 Advanced when porting a MIUI 9 ROM from Xiaomi Redmi Note 2, hermes, MT6795
[K3 Note General] akky26:
port mt6797 to mt6753

Imie no. - okay

Changed-

\system\etc\firmware (folder)

/System/bin/mtkrild

/System/bin/mtkrildm2

Nothing happened, still no network.

Changed-

System/ Lib(/64)/ :-

libril

librilmtk

librilmtkmd2

librilproxy

librilproxyutils

libriutils

mtk-ril

mtk-rilmd2

mtk-rilproxy

volte_imsm

Now no sim card detected.

Any fix is highly appreciated.
[K3 Note General] mbz2017:
I want to port a MIUI 9 rom from MT6752 to MT6753 and i see that the updater scripts for both phones have different mount points. My question is: do i have to replace mount point from base to port? Thanks in advance.