yashsingh1/xdaforums huggingface dataset:
[K3 Note General] freibergisch:
No, I took some files from stock boot.img and overwrite them on port's unpacked boot.img. And from stock kernel I have taken the kernel-file (about 8mb) and overwrite the kernel in the port boot.img.

Is this my problem? Taking the boot.img kernel from stock boot.img?
[K3 Note General] SanketMohapatra:
Oh sorry i forgot to mention that the camera and gps are having issues in lineage roms.Flash at your risk.
[K3 Note General] freibergisch:
I really need an instruction in how to port a mtk (6735 at the moment) rom from android 6 (or 5.0) to 6/7.. At this time, my phone does not boot, maybe related to the kernel I used (the stock 6.0 kernel from boot.img). Every time I read about porting mtk roms, it sounds that easy to do.. But my phone is not port-friendly (or I have some thoughts errors..)

Sometime I get it working.. I hope so :)
[K3 Note General] sandeep.sethi:
U cant boot Android 7 roms with 6 kernel at present
[K3 Note General] freibergisch:
Yes, this I know, already. But how they make cm14 roms, if there is no official Android 7 kernel? Maybe I should do my very best with CM13 at first, because it is Android 6.

Next week, I can do some tests with cm13 and 6.0-kernel..
[K3 Note General] sandeep.sethi:
Official Android N kernel is not needed if you have kernel source it can boot the latest android.
[K3 Note General] freibergisch:
I can get the kernel source from the 6.0 kernel. But if I have the sources not, can I boot Android 6 instead of 7? Because my phone already uses 6.0.

So, I need the sources of 6.0 and linux, of course, and then try to build a kernel for android 7.. What a task... I believe, I need help, again :)
[K3 Note General] blaze_me:
Mtk 6735

is it possible to port Nexus 5X ROM 64 bit for Coolpad note 3 lite of 64bit ?

I have many CM 14.1 ROMS.. I need kernel of my phone right?
[K3 Note General] hocuspocus69:
i have teclast t98 4g mt8752 with stock 4.4.4 I want to port rom from mt6752 stock 5.1.1 is it possible?

what can I do for lib64 folder that in my stock rom isn't?

Can I use my original kernel?

thanx
[K3 Note General] choirudin77:
stuck at starting apps
[K3 Note General] adikri:
I tried it and it worked in aosp rom for fixing sensors but now I'm trying same method over pacman rom but it is not working... My device is k3 note..
[K3 Note General] blaze_me:
Processor

Processors must be same ? like 1.3 Ghz is for mtk 6735 and 1.7 Ghz for mtk 6752. It can't be ported?
[K3 Note General] sandeep.sethi:
it can be ported
[K3 Note General] blaze_me:
last question.. What if kernel is different ?
[K3 Note General] sandeep.sethi:
the ROM version of the kernel shhould be same like if on op3 the rom is 6.0 with kernel 3.49 (let) and zendfone is 6.0 with kernel 3.56(let) it can be ported
[K3 Note General] freibergisch:
I got aicp 12.1 working.. wow! Except mobile network and camera (camera libs, I know) , my phone runs smooth! Our German community will be in a joy, after flashing :)

Thank you, who helped me :)

Other question:

my IMEI is lost.. is it possible to change the imei in android 7? Or should I go back to Stock ROM, enter the imei, make nvdata backup (which android 7 is maybe not readable) and restore the nvdata after flashing back android 7? Earlier days, there were some root tools for writing imei, but they did not do something above android 6.. I should also look for the mobile data libs. Phone does not recognize sim cards..
[K3 Note General] sandeep.sethi:
i guess taking radio log will help better
[K3 Note General] freibergisch:
I started copying some files from stock folders (libs) with more or less success.

When I copied nvram files (libnvram* and the libcustom one), my phone begans with loop fc's of bluetooth (com.android.bluetooth I guess).

My phones sim card is not recognized yet, I do not know the correct files I have to put to the port folders. But I am confident... Will get it later :)
[K3 Note General] KevMetal:
i have problem . when i try to flash my ported rom in twrp i always get error .. could not find update binary but original meta inf folder with updater script and updater binary is present ... how can i fix this problem ...
[K3 Note General] choirudin77:
is your camera fixed? tell me how please, i replaced all camera lib but still not fixed until now
[K3 Note General] freibergisch:
unfortunately not.. My Cam works, but shows greenish photos, which can be shot and appear in this green film.. So, my camera works but shows the wrong colors.

I am also unsure, if the icons in the left part of statusbar must be fully white drawn (just white forms.. could be a white mask over their)..

There are fixes I have to do and atm I am at the very beginning.. But wifi and bt works, also multitouch.. A good start, I guess :)

After replacing my camera libs from stock 6.0 Android to 7.1.1, my phone ended in black screen of death after bootlogo appeared. My bootanim did not show, just a black screen... So I went back to working libs, but there is the green film over my photos...
[K3 Note General] KevMetal:
well i discovered the answer myself . don't extract the meta folder . i can install but I'm stuck on boot . will try again today . for camera issues try installing different cameras from playstore . footej worked for me on some custom roms with broken camera ...it's a longshot obviously but worth a try .
[K3 Note General] Ruben Craveiro:
Is it possible to use the kernel 3.18.22 from Marshmallow, to port a nougat rom running on same kernel but different mtk chip? (both 64bit, MT67XX), I tried a few times but it never boots, due to many missing files.... Also i have a beta nougat rom for my device that also uses the kernel 3.18.22, i tried porting CM14 wihpth it but it has so many files missing that are required for porting.. i dont know what do here, im just lost...
[K3 Note General] sandeep.sethi:
Nougat Same Chipset porting is bit easy for now

As i have also tried cross porting it gives 70/30 % chances
[K3 Note General] freibergisch:
How did you patch your camera and why did you? My cam works sometimes and sometimes not.. strange.. and the green colored pictures make me unhappy.. :) I have to find a solution, too.

Gesendet von meinem SM-G900F mit Tapatalk
[K3 Note General] choirudin77:
because im shared early before camera fix on my brand forum, hope someone can help me, so i uploaded patch.. can u take a logcat?
[K3 Note General] KevMetal:
Replace libcamdrv.so and

libcameraservice.so from/lib. Sometimes fixes green photo .

---------- Post added at 08:17 PM ---------- Previous post was at 08:14 PM ----------

also install footej camera from playstore and check if it's working
[K3 Note General] KevMetal:
If anyone is interested in porting for ulefone metal with me please check out this thread

https://xdaforums.com/android/development/ulefone-metal-super-guide-rom-collection-t3549089
[K3 Note General] freibergisch:
Will give it a try later . Thank you for this hint. Cant wait anymore but beeing on work is braking me a lot, atm :) I tell you the result later. Thanks :)

Gesendet von meinem SM-G900F mit Tapatalk
[K3 Note General] freibergisch:
Your method worked not, because of the lack of another lib file. So it rebooted after a little time. After copying the files to the lib folders, cam does not anything but no reboots anymore. Strange but could be a way.

Other problem is my nvram data. I gone back to stock rom for retype my imeis and backuped my nvram folder via twrp and restored it in new cm14 rom without any changes. No Imei in the *#06# window.. There are some lines in logcat. Maybe I can fix this, I hope so...

Gesendet von meinem SM-G900F mit Tapatalk
[K3 Note General] freibergisch:
Short question:

Which files I need for porting same chipset ROMs to my MT6735 device? Which libs, bin-folder-files, ...

Atm I uses a Meizu M2 ROM, changed some lines in build.prop and nothing more.

Camera shows green film, OK - it works, after all..

WiFi worked from the beginning, BT, too.

NVRAM is absent and the priority nr 1 for now.

Is it a point, that I have to copy some bin files (/system/bin/...) to the new ROM?

I came from 5.1 stock ROM (6.0 is also present) with the 3.10.65 kernel.

Logcat is my next goal, there I read about issues with nvram. It drives me crazy but there must be a way.. Hours of working are before me, I guess.

Nevertheless, thank you for helping me. :)
[K3 Note General] KevMetal:
Sorry . I thought you already had everything working apart from your green camera . There are quite a few libs and bin files you can try / need to copy . I will link a list because there are too many .

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

Ok here is a step by step tutorial ... But you can't just do some steps ... Is important to follow all the process .... You can first Sandeep.Sethi list on the first page . If you fail try this process

http://xdaforums.com/showthread.php?t=2464143&page=25

Only after you follow ALL can you start to fix bugs ...
[K3 Note General] 2909luboy:
Hi .. well I was in the same situation a week ago, and what I did to make it work was the following

1.- edit the build.prop looking for gemini lines, in my case being a single sim would have to be disabled this function and any other line related to the sim ... if in your case you have 2 sim as you have to activate The gemini function and specify that it is dual sim looking for this line in the build.prop "persist.radio.multisim.config = ss" (for single sim) and change it to "= dsds"

2.-In the libraries you have to change this

Libnvram.so

Libnvramagentclient.so

Libnvram_platform.so

Libnvram_sec.so

Libfeatureio.so

Libfeatureiodrv.so

Libhardware_legacy.so

Libcustom_nvram.so

3.- also have to change the firmware and mddb folders

And finally in the boot.img it is necessary to replace in ramdisk these files

Fstab.mt6735.rc

Init.mt6735.rc

Init.mt6735.usb.rc

And added a fourth file

Init.modem.rc

With that you should have running the imei and remove the nvram error in the configurations of the wifi

Greetings from Mexico and apologies for my English, but I'm using google translator

ps:i have mt6735P 6.0.1 whit kernel 3.17.19+ and 32bit android S.O (hisense L675)

ps2: Someone to pass me a cyanogen rom or RR (6.0) for the 32bit mt6735p or how to convert a rom 64bit to 32 bit
[K3 Note General] blaze_me:
Actually i have a kernel version of 3.18.19 and same goes for ROM to be ported. Except for the MTK 6735 of my stock ROM and MTK 6753 of ROM to be ported.

So i can cross port it right ? some lib files were missing actually. Will it work ?
[K3 Note General] sandeep.sethi:
Yes
[K3 Note General] KevMetal:
hi Sandeep . i am trying to improve the ported teslaOs rom MM you created for me for my ulefone metal . i want to make the audio work and to improve battery . three questions :D

1. Is the battery problem kernel issue ? 2. Can changing libs fix a battery problem ? 3. Will it help if I flash a custom MM kernel over the TeslaOs rom ? When I change the short list of audio libs in your guide audio doesn't work ...if i change ALL audio libs i get bootloop ..WHAT can I do ? I have a cm13 rom for my ulefone metal with perfect audio please tell me which files I can exchange between my working cm13 rom and TeslaOs rom with broken audio and bad battery drain . PLS BRO :p. I will give you CREDIT and put donation email with rom if I can release rom working well . THANKS BRO ..that was a 100 questions :cowboy:
[K3 Note General] freibergisch:
Thank you for your advises!

I thought on doing something other with my boot.img and now you told me to replace the modem rc file.. I did not think about this file.

When I have more free time, my project will be continued.

Thanks again, we will see, if my ROM works after doing your steps.
[K3 Note General] sandeep.sethi:
yes battery can be of kernel and rom both

for audio try flashing your vendor by the workking rom maker as he/she should have given vendor source
[K3 Note General] raghuM:
Can someone tell me which libs/files are related to GPS?
[K3 Note General] Cpt.mactavish:
Camera gets crashed whenever I try to take HDR ......what is needed to fix this?

this is for k3....lineage os roms hdr isn't working

[MENTION=5450421]sandeep.sethi[/MENTION]
[K3 Note General] susanta123:
Meta-Inf Script

Comes up with error 6 while flashing. Soln?
[K3 Note General] Flounderist:
Check updater file
[K3 Note General] clouz97:
Hi can I porting rom of mtk6752 to 6750? :)
[K3 Note General] sandeep.sethi:
yes but you have try
[K3 Note General] freibergisch:
Unfortunately it does not work, but I think this could be the right way. So, thank you for helping me! :)
[K3 Note General] tehseen ul islam:
plz hlm me too

Guy help me to port rom for Micromax unite 4 plus q427
[K3 Note General] Cpt.mactavish:
problem solved
[K3 Note General] gsser:
So single sim users, dou you guys found a way to fix imei baseband no service problem?
[K3 Note General] kaiz16:
Can I port Lollipop rom to my Kitkat device using this tutorial? It has a MT6752 processor. I tried porting but stuck at bootloop. thxxx :) btw it's lenovo A858
[K3 Note General] forart.eu:
Hi everyone, I own an MT6735P/Mali-T720MP2 based device and I wanna port an Android 6+ ROM (Cyanogen/Lineage, Resurrection or AOSP): can you suggest me wich ROM(s) to use ?

Here's my device's (ZTE Blade A452) both sources and stock update, hoping that may help others too: https://dailyuploads.net/users/forart/12822/A452
[K3 Note General] 2909luboy:
Well if that does not work, try with miraclebox crack and the option to repair nvram ... since I tried to port a rom to my cel, and damaged the nvram partition, and I could not solve it with the method I leave here, so I had to restore the backip of my imei / nvram and then repair the partition with the software I mentioned ...

If you can and do not interfere with the rules of the forum, I leave you as I solve it here with everything and files, I say it because the soft to use is sparrow (yeha is for jack sparrow), if you can not then by mp and it is ....
[K3 Note General] freibergisch:
When I went back to 5.1 stock rom by flashing back the whole rom, my phone recognized the sim card and IMEI.. After flashing a 5.1 Custom ROM (a S6 like cloned rom), my phone also wanted a PIN. So, something went wrong in porting process.. Maybe boot.img-related, or something with libs.. I do not know why, but I feel that it has something to do with my boot.img files..

I need some lessons in how to port ROMs.. Most I need to know is something about the boot related files.. I copied from stock ROMs boot.img some files (inits f.e. and fstab), without any success. ROM boots, but does not show the PIN dialog (yes... it does not recognizes sim cards, I know that).. Strange but maybe not that difficult as I believe it is. Can someone please help me?
[K3 Note General] The Prodigal King:
Hi Sandeep bro I'm a fan of your work...... Btw I want to port k4 note 3gb ram ROM 6.0.1 to k3 note.... Is it possible....!?!
[K3 Note General] Llopbal:
Hello [MENTION=7901411]RawMain[/MENTION]

A question, you have solved the problem of porting a 5.1 to a 6.0, as it happens to MAD, they made a 6.0 for the Elephone Vowney Lite, and yes, it works, but it has problems, I guess for what you say of the KERNEL Of the 5.1 when passing it to 6.0.

Have you made any progress with other MT6795 device / vendor ?

Thank you
[K3 Note General] 2909luboy:
Someone has been able to run some rom cyanogen 13 in the mt6735 x32 ???

Or if someone is so kind to pass me a custom rom for this cpu, since I tried to make the rom of the BLU R1 HD in my hisense l675 and the only thing I have achieved is brick

The kernel I have is 3.18.19+ x32 on android 6.0.1 and I tried to make other roms work

Some idea to be able to run another rom that is not the stock

Pd: I was using the superrs kitchen on linux mint 17 x64

Right now I'm trying to get the philips rom X586 to work and I hope it starts
[K3 Note General] Yogesh1969:
Wrong modem file

The baseband unknown /no imei problem is for wrong modem.img (in firmware folder) , and mddb folder in etc folder. Use stock or working rom modem files .
[K3 Note General] vriezast:
always bootloop....

I was do it. (Porting from infinix X600 versi XOS & 1.N.4.4 to A7000plus with this tutorial)

But, i'm alwys failed.. just until at bootanimation!!. :crying:

I don't know, whats a problem...:confused::confused:

Sory, i can't speack english truely...:D

:laugh::laugh::laugh:
[K3 Note General] Yogesh1969:
System extractor application.

Use the windows application system extractor for .dat files. It will repack also.
[K3 Note General] Bornstud:
Whether it work to port same SOC rom

But for different version of android.

For Example: 6.0 to 7.1.1
[K3 Note General] Yogesh1969:
Stuck at bootanimation.

Sandeep, I'm porting Macblaze marshmallow 6.0 rom for Mt6753 rom to mt6752, Marshmallow 6.0. I tried all the procedures in the OP exactly, but it just sticks at boot animation (Initializing......). I tried various combinations in boot.img and system folders but just no change. can you help. ? I'm still trying different things.
[K3 Note General] sandeep.sethi:
I have updated the guide now

please do check the Last part
[K3 Note General] Yogesh1969:
Thanks , sure to try.
[K3 Note General] afsharblog:
is that possible to port Marshmallow rom using stock lolipop kernel?

i want to port Lineage OS 13 from Elephone P8000 or Lenovo K4 Note to UMI IRON

they have 3.18.x kernel

but umi kernel version in cm12.1 is 3.10.65

so , is it possible?
[K3 Note General] sandeep.sethi:
No
[K3 Note General] GLokin666:
The battery percentage stays at 100%, how do I solve it?
[K3 Note General] SanketMohapatra:
Just install a Battery calibration app from the Google Play Store and then charge your phone for a longer period of time so that you can verify that it has charged up 100% and then start the Battery calibration have to re store your original settings
[K3 Note General] GLokin666:
Thank you, but you did not understand the question :D. The percentage stays fixed. I go back to stock and everything is fine. Find the error in the libshowlogo.so file. Best regards:p
[K3 Note General] arshavin69:
porting to mt6735 (same chiipset)

I am able to port roms from meizu m2 to my devicce lava v2s(same mt6735 chipset), but camera just won't start , I have tried replacing all kinds of libs related to it following guides on 4dpa, yet the camear simply does not work. Any ideas?? Everything works except camera, hardly any bug in all roms that I have ported. I have followed principle of minimal replacement as you have also pointed out. Replacing some camera related file causes bootloop, just run out of ideas here. Even managed to port miui, but again camera won't work.
[K3 Note General] sandeep.sethi:
If its 5.1 based then it is very hard to fix

I dont have 6753/35 device so i cant clearly say the fix i will insist you to seek help from 6753/35 porters
[K3 Note General] arshavin69:
thanks for your reply :)
[K3 Note General] Cpt.mactavish:
base rom: s427(mm)

port rom:aosp 7.1.1(mados)

I'm trying to port mados latest build.....I've used "same chipset porting guide".... this guide made the aosp 7.1.1 booted into k3....but network/camera/sound isn't working...

I've also tried porting with crossporting guide....it didn't even make the rom boot...

I've checked the older ports of aosp7.1.1 for our devices...from mugik or others......their rom's port files are not as same as our MM stock rom....so are they using LP roms as base rom?

how can I make everything work?? like old aosp stable builds??.......I want to keep porting MADos in future.....help me plz.... [MENTION=5450421]sandeep.sethi[/MENTION]

---------- Post added at 07:05 PM ---------- Previous post was at 07:02 PM ----------

which guide or files do I need
[K3 Note General] pakyto:
Hi rawmain

From what I read there is a Custom Rom based on the android 6 mtk6795 helio x10 ..

You carried it to the - Freetel SAMURAI Kiwami - FTJ152D ..

I would ask you if you do not suppose much annoyance that the doors also for our Vowney Lite ..

Same Cpu / Gpu, ..

I've tried it myself, several times but always fail .. bootloop / recovery ..

Here is the link for the Vowney Lite firmware, if you would like to help carry the Rom ..

VOWNEY_LITE

https://mega.nz/#!QUskQCDB!8Bxh_vwLSzK3rUo7PL75xIZSv1jUL8-0DzAwID5pOTc

Thanks in advance

Sorry for my english ... use google traslator (spanish)
[K3 Note General] sandeep.sethi:
To port MADOS use LP libs
[K3 Note General] Yogesh1969:
I continued from the earlier stage as I told you before. but success is eluding.

Funnily, the kernel porting did not work. Stock boot.img works.

i used logcat to remove error. It helped me to remove more than 90% errors. I'm attaching the logcats .

One is short and the other one is the full one which I think keeps on repeating. If possible please go through the short logcat and help me.
[K3 Note General] -Verci-:
Thanks, i used this guide and works but i have a problem.

The rom boot prefect but stuck in “optimizing apps 80-80” and rhen reboot. how i fix it? :confused:

---------- Post added at 11:06 PM ---------- Previous post was at 10:24 PM ----------

what's mean factory RC files

please help me :crying:
[K3 Note General] sandeep.sethi:
Dont Replace Any files from Bin folder and see

RC files means the *.rc files present in the ramdisk of boot.img
[K3 Note General] sandeep.sethi:
It looks like you have Camera BUG
[K3 Note General] -Verci-:
so replace all files named .rc?
[K3 Note General] Yogesh1969:
Does that mean all cam libs ? And any other files in system and boot ?
[K3 Note General] sandeep.sethi:
just the libs
[K3 Note General] sarimo1:
please can you tell how to fix auto focus

every rom i port

is not auto focus cam ????
[K3 Note General] sandeep.sethi:
there will be a file named ***camera*** in system/etc replace them and see
[K3 Note General] freibergisch:
I stopped my work on porting Nougat to my ODYS device (mt6735, same chipsets on both devices) and now I have to give it a try again, because of asking people who want a working ROM...

After doing some edits on boot.img files and build.prop file, my phone does not recognize sim cards. So I went back one or two steps and have to find another steps..

It drove me crazy, camera is also too dark and front cam does not work.

I must follow your steps on first page again and hope that it works later..

If someone have any hints, please feel free to help me ;)

BR

Marcus
[K3 Note General] sarimo1:
i'll try it and tell ya

thanks
[K3 Note General] RawMain:
Hello

If You haven’t already tried to port Infinix Zero 3 (X552) ROM, You should test it = same HW specs & similar scatter.

I suggest to do a first boot test with X552 TWRP/recovery package, keeping unchanged system.img = just unpack X552 boot.img, then replace original kernel image with Vowney Lite kernel from Team M.A.D. CM13 ROM boot.img & repack.

I’m attaching reference firmware links for Infinix Zero 3 (X552) :

Fastboot ROM A1 – https://mega.nz/#!UIYiGaYI!H0Ysrnjlj2wIPjhp7Dwh4JIxzJ9Xb3f727Nzj1nXM6w

.

Fastboot ROM B1 – https://mega.nz/#!lV5whbRK!oPbCljjkFevsxut94Xa4osHfjy8uFumVpkUAYDlA2ZM

.

TWRP/Recovery ROM A1 – https://mega.nz/#!lQoyFB4a!kY2Tkf5KTSRJJeu5Nko3-eJoTgQUU-ikXJgrU7x8iVs

.

TWRP/Recovery ROM B1 – https://mega.nz/#!UQIB0aiT!Nw9ap8wUKVZ7cUaKKkfkMmBGsQ1_sJSKDFnyyKMSqR0
[K3 Note General] pakyto:
Ok, thanks, I'll try it and I'll tell you
[K3 Note General] pakyto:
I tried, in several ways ..

Modifying the meta-inf installation script and nothing was not installed ...

Converting system.new.dat to system.img and trying to install, also ...

Unpacking system.img I installed it as if it were CM13, and so I managed to install it ... finally ..

The boot.img ported with the original kernel.gz of CM13 and recompiled ....

Always gives me bootloop and returns to recovery ...

With the boot.img of CM13, same bootloop

With the lollipop stock boot.img , same bootloop

.......

.......
[K3 Note General] pakyto:
Any suggestions..?
[K3 Note General] sandeep.k:
i have ported by using this guide and i got sound bug please suggest me i have check many thread but nothing is working