yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Romancy:
tell me how to fix ??
[Android Software/Hacking General [Developers Only]] dinhtrongpro:
Im not sure it work for you. Fist try to compare boot.img.
[Android Software/Hacking General [Developers Only]] angelus_kun:
Wow thanks! I Will try later :D
[Android Software/Hacking General [Developers Only]] Romancy:
iam trying but not solved ??

tell me how
[Android Software/Hacking General [Developers Only]] Vbingaust:
Good job thx
[Android Software/Hacking General [Developers Only]] K001droid:
Welcome
[Android Software/Hacking General [Developers Only]] dmilz:
After I copy files to port rom .. when flashing the ROM I get mount failed..

But before editing the ROM it is flashing well..what could I be doing wrong

Am trying to port CM14 for 6735 MEIzu m2 to Lenovo tab 6735..
[Android Software/Hacking General [Developers Only]] KevMetal:
Delete all the text at the beginning of the installer script until you see mount

When I unzipped roms they never fñashed

It only worked if i copied and pssted into the .zip from the control window of 7zip without actually extracting the zip

If you extract you need a specific program to •compile" the rom
[Android Software/Hacking General [Developers Only]] dmilz:
By installer script you mean updater binary right?

I see
[Android Software/Hacking General [Developers Only]] KevMetal:
Open the updater script with a text editor
[Android Software/Hacking General [Developers Only]] KevMetal:
Remove all the text until line 6 MOUNT

Save and exit
[Android Software/Hacking General [Developers Only]] KevMetal:
Press thanks

* Dont extract the .zip files

~ use .zip program control panel and modify by deleting and pasting WITHOUT extracting

Otherwise look for some kitchen program to cook roms so your .zip will be flashable after your modifications
[Android Software/Hacking General [Developers Only]] KevMetal:
Now all I need is one for mtk :p
[Android Software/Hacking General [Developers Only]] dmilz:
Was able to flash..my updater script mount points weren't as complete. Butbi checked from the pic you attached and saw how the mount points are and edited my updater script. Am now able to successfully flash. But port rom stuck in bootloop:p...

Maybe I can't port Marshmallow to Nougat.. Can I?

I am trying to port cm14 ..my stock is Marshmallow
[Android Software/Hacking General [Developers Only]] KevMetal:
I have never tried cross platform. Try to make a twrp backup of your boot image . flash port rom . flash boot image over port rom .see if it will work .

I am assuming in cross platform porting you will need to mess with the kernel .........no experience there.......

why not just look for a custom rom from a device with 80%+ same specs .......and same platform

( or even easier two roms with same version of linux kernel )

anyway you will have to get some program for compiling roms and read tutorials on decompiling and recompiling boot image which contains kernel cos you will have to swop out the kernel I assume .....
[Android Software/Hacking General [Developers Only]] kirito9:
Awesome, it would be nice to see one for msm8909.
[Android Software/Hacking General [Developers Only]] yshalsager:
You can fork my tool and edit scripts.

BTW I'll add more features and devices after my exams. I will

---------- Post added at 01:20 PM ---------- Previous post was at 01:15 PM ----------

If you provided my with files to copy I'll add them to the tool
[Android Software/Hacking General [Developers Only]] Ruben Craveiro:
this doesnt seem to work for mt6755 or crossport from mt6753 to mt6755
[Android Software/Hacking General [Developers Only]] sagargjasani264:
Ok here is the results from ur guidelines...

I have oppo F1s mt6750

It worked for a 5.1.1 rom.. Mt6755 to mt6750..

But didn't worked for cross port like mt6735/mt6753/mt6737 to mt6750.. Rom stuck after bootlogo...

For 6.0 roms...

It always gives bootloops...

I tried to port from mt6750 still bootloops.. I dont know what is the problem...
[Android Software/Hacking General [Developers Only]] dinhtrongpro:
how to fix camera can't connect
[Android Software/Hacking General [Developers Only]] Revantark:
Audio not working even after replacing all libaudio** files. Please Help.
[Android Software/Hacking General [Developers Only]] KaMyKaSii:
Start again (without replacing all these libs) and try to replace only those files from the stock rom to the port:

/system/lib/hw/audio.primary.default.so

/system/lib/hw/audio.primary.mtXXXX.so

/system/lib64/hw/audio.primary.default.so

/system/lib64/hw/audio.primary.mtXXXX.so
[Android Software/Hacking General [Developers Only]] Revantark:
Not working

Still no audio. Any idea??
[Android Software/Hacking General [Developers Only]] K001droid:
Have tried from etc/ audio files?

Check is there is any lib(/64)/soundfx

One by one add libs and test
[Android Software/Hacking General [Developers Only]] :
Hi bro. I am a galaxy grand prime user. Our devs ported Touchwiz marshmallow rom. But storage is not working. It has a snapdragon 410 soc. In your porting guide there is a option for solving storage issue in mtk rom but not for snapdragon rom. So plz upload it if u can. Thanks
[Android Software/Hacking General [Developers Only]] K001droid:
I am not sure how it goes in SD much.

But , do this once :

Extract Boot.img of both stock and port roms

Inside Ramdisk , open all init files and check for Mount Points make em as your stock mount points and check.
[Android Software/Hacking General [Developers Only]] KevMetal:
Does anyone here have wimdows 32bit version of carliv image kitchen .....pls upload me a copy ...can't find one anywhere :p if it exists
[Android Software/Hacking General [Developers Only]] SykoraLukas:
You can only port ROMs from device with the same kernel and same Android version.

Odesláno z mého VFD 700 pomocí Tapatalk
[Android Software/Hacking General [Developers Only]] foudroid:
Following the guide. I port mt6753 same chips. Im stuck in bootanimation. Here is the log. Need help
[Android Software/Hacking General [Developers Only]] androiabledroid:
How to fix camcorder issue in my device

I tried to fix camcorder issue but camcorder is showing but not recording and flash not working in camcorder I tried to replace libfeaturio.so but now it is not getting off.

Please tell me how to fix this.
[Android Software/Hacking General [Developers Only]] sagargjasani264:
Try to use ur stock cam app
[Android Software/Hacking General [Developers Only]] androiabledroid:
How to fix low sound issue in mt6753
[Android Software/Hacking General [Developers Only]] androiabledroid:
Not worked
[Android Software/Hacking General [Developers Only]] sagargjasani264:
I had this issue in my flymeos... But adding stock cam app in port rom solved it.. I mean stock cam app works fine but bugs with other cam apps
[Android Software/Hacking General [Developers Only]] androiabledroid:
Did you make any change in libs folder
[Android Software/Hacking General [Developers Only]] androiabledroid:
Microphone issue

How to fix microphone issue in Ported mt6753 rom
[Android Software/Hacking General [Developers Only]] Maaz Muzammil:
How to solve screenshot bug in mtk
[Android Software/Hacking General [Developers Only]] androiabledroid:
I have unpacked my Marshmallow boot.img (Qualcomm) but I found dtb.img to 0bytes but when i unpack my lollipop boot.img I got my original dtb.img but can u tell me how to port Qualcomm ROMs without dtb because I want to port Marshmallow ROMs

Thanks in advancw
[Android Software/Hacking General [Developers Only]] blakeb1606:
Just bought this phone and cannot wait to start the nodding fun, porting is not something ive heard of before with android.....interesting......also...anyone have any experience with the 8 plus on the tor network or any apps that do any diving into any of the glory that is anonymous freedom? if you are experienced with the tor network and have some extra time to chit chat I have so many questions.....I would love to pick the brain of a darknet master......
[Android Software/Hacking General [Developers Only]] XN Logos:
Really Good Job. Keep up to Date....

Thankuuuuuu. Make Smileeeee....
[Android Software/Hacking General [Developers Only]] androiabledroid:
How to fix double tap, camcorder & WiFi disconnecting issue in mt6753
[Android Software/Hacking General [Developers Only]] sagargjasani264:
Replaced all files that have AUDIO name in it... Still sound is not working in speaker..

Any idea what could be done anything else.?
[Android Software/Hacking General [Developers Only]] yankit293:
In Qualcomm replace mixer_path.xml file in etc folder
[Android Software/Hacking General [Developers Only]] sagargjasani264:
I have mtk.. Mt6750
[Android Software/Hacking General [Developers Only]] TheHeretic666:
just delete tist post i posted wrong placa
[Android Software/Hacking General [Developers Only]] DarkLord007:
Screen wont wake up after going to sleep.

No matter how many times i press power button.

How to solve this?

Please help.

Thanks.

:)
[Android Software/Hacking General [Developers Only]] fdgd1998:
Related to qualcomm port, you have only explained how to port between the same chipset, but not between diferent chipsets of tje same vendor. I am planning to port android 8.0 from the google pixel to my nexus 5x when it comes live. Both cpus are qualcomm armv8. The pixel one is an 821, and the nexus 5x is an 808.
[Android Software/Hacking General [Developers Only]] sagargjasani264:
Try libfuelgauge from lib

?
[Android Software/Hacking General [Developers Only]] DarkLord007:
No one?:crying:
[Android Software/Hacking General [Developers Only]] sscsps:
Get logs, may be some code have problem in kernel
[Android Software/Hacking General [Developers Only]] DarkLord007:
How to get log?

Phone doesnt wake up after going to sleep.
[Android Software/Hacking General [Developers Only]] sscsps:
well, get logcat,

for that,

1. Turn on the usb debugging,

2. Connect the phone to pc,

3. verify that ADB detects the device.

4. run this: "adb logcat > logcat.log"

**logcat.log is the file name, you can change it if you want to**

5. now, lock your device.

6. now try to turn on the screen, as many times as you wish,

7. now, stop the logcat by pressing ctrl+c on pc.

your logs will be present in that file.
[Android Software/Hacking General [Developers Only]] DarkLord007:
Thankyou so much for help :)

I will try that.
[Android Software/Hacking General [Developers Only]] apurav.812:
How to add volte in mtk based nougat ROMs?

I've mediatek 6735p.
[Android Software/Hacking General [Developers Only]] :
If you read the op you would have found that.
[Android Software/Hacking General [Developers Only]] apurav.812:
How to add volte if the port rom doesn't have it ,But the base ROM supports it.
[Android Software/Hacking General [Developers Only]] DarkLord007:
Do we need to replace whole hw folder?
[Android Software/Hacking General [Developers Only]] itsfeelipe:
How do i fix pink camera on ported rom mt6735m?
[Android Software/Hacking General [Developers Only]] KaMyKaSii:
Replace the following files in /system/lib and /system/lib64:

libcam.paramsmgr.so

libcamalgo.so

libcameracustom.so
[Android Software/Hacking General [Developers Only]] Nitin ayanur:
Can any one please port the camera app from "nubia z11 mini s" for any rom please..??

I'm using lyf water 7 model, which is also based on nubia ui..

Anyone please do the port as the camera features a lot & is helpful for photography lovers...

Or

[MENTION=2861861]least[/MENTION] do a guide for porting the camera..
[Android Software/Hacking General [Developers Only]] Mr.Ak:
[MENTION=7174278]kuberrocks96[/MENTION]

"Then in the BOOT-PORT/ramdisk/ folder compare the file fstab.qcom with that of the base i.e. BOOT-BASE/ramdisk/fstab.qcom."

When comparing,what to replace/add?

Edit: I attached a picture of what I'm adding/replacing in fstab.Have a look,thanks.

Edit2: Partitions I added: boot,recovery (because they weren't there in the port fstab)

I replaced everything else that I found in my stock fstab

One line I did not replaced(/devices/msm_sdcc.2/mmc_host*) because I think compare means only replace those lines that are found in both stock fstab and port fstab and add a few needed lines from stock to port.

There are two partitions(misc,modem) that were there in my stock fstab that I did not added to port fstab because then it just would've been replacing the whole port fstab file with stock fstab which,I think,compare does not mean.

Please correct me if I'm wrong. :)

Edit3: didn't boot(struck at boot logo)

The rom should atleast get to bootanimation just with the changes in boot.img,right?

Edit4: should I replace whole fstab?
[Android Software/Hacking General [Developers Only]] androiabledroid:
Going to recovery mode

I have tried to port Qualcomm msm8916 from I tried to only replace boot.img-zImage and dtb and I flashed it boots and goes to recovery mode can anyone tell me how to fix it and what the cause.
[Android Software/Hacking General [Developers Only]] K001droid:
You are doing right,

By compare i mean that add lines which are different and missing.

Also, yes it should get to atleast boot anim, something is going wrong.

Take a rom from same Android base i.e same version and try, is soc and kernek similar?
[Android Software/Hacking General [Developers Only]] Mr.Ak:
Of course everything is similar,Gpu,soc,android version,kernel.
[Android Software/Hacking General [Developers Only]] closercloud:
I am trying to port a JiaYu S3 ROM (Official madOS - Jiayu S3 [MT6752]) to my Lanix L1100 (same MT6752 chip), I have replaced every file until the

part, and also deleted the assert line from the updater script, but when I try to flash the ROM I get error signal

What am I doing wrong? I am new to these things so if I need to provide more info, please tell me so
[Android Software/Hacking General [Developers Only]] ankk98:
how to cross port Qualcomm snapdragon based roms

from sd820/821 to sd652 over same version of android, same display size and resolution ?
[Android Software/Hacking General [Developers Only]] androiabledroid:
Camera is getting unfortunately stopped and tried wifi is not turning on
[Android Software/Hacking General [Developers Only]] vicatz:
Try

Bin/aal

Lib-lib64/libaalxx
[Android Software/Hacking General [Developers Only]] jigs4wkiller:
I am not sure but maybe someone here can help me.

My problem is that there are for my phone only 2 ROMs with that I can make Phone calls (for everybody else it works in every ROM) and my question is, can I pull some files from the ROM with that I can make calls and put it in the ROM that I want to use to fix the bug for me?

I have a Xiaomi Mi5s it's a Qualcomm device.
[Android Software/Hacking General [Developers Only]] K001droid:
Oh, You have 2 roms in which calling works? and in other roms calling doesnt work for you but works for others.

thats a bit strange.

make a backup of firmware & efs in twrp and restore it in other rom and try?

OKAY, if above method doesnt work ( Which is very likely ) try this,

Go to /system/etc/ here copy CNE(folder),Firmware(folder), apns-conf(file)

Replace them in Other Rom from Working Rom

best way is take logs while calling understand what is firing up and whats fusing down, and check.
[Android Software/Hacking General [Developers Only]] jigs4wkiller:
Both Methodes didn't work.

A time ago I already takes some logs but no one who I sent it, could find anything.

Have you a tip for me how can I take logs that aren't pages long ?Because I understand almost nothing when I look in there.

Thanks in advance
[Android Software/Hacking General [Developers Only]] K001droid:
Catalog app? Or another log app

For me best way is Live logs, I use Android Studio for it tho ( as I mostly spend my day on it)
[Android Software/Hacking General [Developers Only]] sagargjasani264:
I prefer mlogcat for pc(windows), logcat extrem(android)
[Android Software/Hacking General [Developers Only]] tftech:
Your guide is just awesome . :o

I ported amigo os for lenovo vibe p1m but there is sound and camera bug . How to resolve them .

I tried all the things but then sound is works for some time and then again it gets off. So what I do to remove that bug . please help me:(:crying:
[Android Software/Hacking General [Developers Only]] K001droid:
That is very strange.

Have you tried taking logs after this happens?

I suggest to take Live Logs ( I do from Android Studio ) see what's crashing and change it...

Cheers.

Tbh, that issue is rare.
[Android Software/Hacking General [Developers Only]] Abhijeet Rajgor:
how to fix voLTE (data works)

Port MIUI ROM Android 7.1 redmi 4 Qualcomm 435

Base MIUI ROM Android 6.0 Redmi 3s Qualcomm 430

Everything works thanks to devs,porters

Only voLTE (Jio,India) not working

Although 4g data works fine

Help
[Android Software/Hacking General [Developers Only]] tftech:
I am porting miui 9 from lenovo k4 note to Lenovo vibe p1m but it always gives bootloop, what i do to fix it??? :confused:
[Android Software/Hacking General [Developers Only]] fdgd1998:
How is supposed to where we move files? It's a bit confusing. Should I move the files you have said from port to base? Must I also repack the boot or recovery?
[Android Software/Hacking General [Developers Only]] KaMyKaSii:
You copy the files from stock rom to the rom you want to port, following the same folder structure. And yes, changes in boot.img should be followed by repack
[Android Software/Hacking General [Developers Only]] fdgd1998:
Thanks!! And another questio, the rom I am planning to port is from the the U11 to the 10. The ROM is packed as RUU. So, once I have done the port, how can I create a TWRP-flasheable zip?
[Android Software/Hacking General [Developers Only]] z3r0c00l_2k:
i ported miui 9...flight mode has a bug.. not connecting to network after toggling flight mode. How to fix???
[Android Software/Hacking General [Developers Only]] akky26:
Volte , FP & flashlight not working.

Ported lenovo k4 note miui rom to coolpad note 3 [ both has same chipset] tried all the methods mentioned. Is there any file need to be replaced or renamed while porting?

Any help will be highly appreciated
[Android Software/Hacking General [Developers Only]] K001droid:
Follow this to fix FP in Coolpad devices : https://youtu.be/uouRBNVADU4

Delete Fingerprint.mt6735/53.so inside lib/hw if FP or settings crash comes.

For Volte, well. RIL structure is way diff.

Flashlight, take logs and see what's happening at the time when Flashlight is triggered.....
[Android Software/Hacking General [Developers Only]] sagargjasani264:
Try libfeaturio.so for flash light... Mostly it works..

Regards

Sagar Jasani

TeamLi.ml
[Android Software/Hacking General [Developers Only]] akky26:
will try. Thanks

Edit-FP method Not working for miui9.1 v7.11.23

Thanks I tried it, but no luck.
[Android Software/Hacking General [Developers Only]] Shubhi singhal:
Help Needed

Hello everyone

I am planning to port oxygen os oreo from one plus 3 to Zuk z2 plus

Can anyone answer my some questions

Q1). Zuk z2 plus has 4gb ram one plus 3 has 6 gb ram... So will I have to make any extra changes for ram size ?

Q2).Zuk z2 plus has 5 inch screen and OP3 has 5.5 inch screen ...so will i have to make any extra changes for that ?

Q3).Z2 plus has 3500 mah battery and OP3 has 3000 mah?

Q4).Z2 plus has back camera of 13mp and OP3 has 16 mp??

BOTH HAVE SAME Qualcomm MSM8996 Snapdragon 820

Thanks in advance:)

Looking Forward For a Reply
[Android Software/Hacking General [Developers Only]] Ruben Craveiro:
make sure the rom your porting uses same android version and *same* kernel version or it wont boot... the cameras dont really matter, since the files you would change would like it, including the libs, same to battery and other components
[Android Software/Hacking General [Developers Only]] Shubhi singhal:
Ohhh...one more thing

The rom i want to port has a twrp flashable zip but it has system.dat file ho do i extract files from that
[Android Software/Hacking General [Developers Only]] K001droid:
There are extract tools available for it.

Try them.
[Android Software/Hacking General [Developers Only]] K001droid:
I suggest, as ZUK already has OnePlus's Oxygen OS port use that as base.

And port
[Android Software/Hacking General [Developers Only]] Shubhi singhal:
Its based on 6.0 and i want to port 7.1.1
[Android Software/Hacking General [Developers Only]] shahnawaz_sheikh:
Hello everyone, i have ported cm12.1 from lenovo a6000 to my vivo y51l. I have fixed the sensors, Bluetooth, audio mic, vibrator. But i am unable to fix wifi, camera, internet and fmradio. Can anyone please help me.
[Android Software/Hacking General [Developers Only]] sumitpsr1:
Hey thanks for useful post. I ported ROM but a some major bugs, Can't be fixed. In my case I didn't copy libnvram_custom.so bcz cause boot logo stuck. So I wanna just asked If can I port ROM kernel version 3.18.19 to 3.18.64 or something like 3.18.XX that I didn't understand your meaning that u written in ur post.
[Android Software/Hacking General [Developers Only]] tegnkush:
This is a great thread, I just need someones assistance really quick!

I have a MTK6580 that was running some very poorly optimized MM6.0 for a replica samsung.. I could say this thing is hybrid note 8 and A9 Pro. Anyhow.. I would like to port the coolest feature the whole thing has which is front flash.. I ported it to RR_5.8.4_N_20171020_MT6580_MM Rom and I fixed the dark camera issue.. What lib do I need to be copying over for the camera FRONT flash? the back flash works fine but there is 100% a front flash that is not working on custom roms.

Thank you!!
[Android Software/Hacking General [Developers Only]] 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.

Thanks
[Android Software/Hacking General [Developers Only]] lkdevil:
Stuck at logo :(

Stock ROM = My phone ( intex aqua trend)

Port ROM = [MT6735] [64-bit] [7.1.2] Aosp Extended v4.5 For Symphony H175 (here is link of ROM)

Some points :-

1) Same specs including kernel version chipset version

2) boot.img ported by me ( just replaced init.mt6735.rc and Fstab.mt6735 and boot.img-zImage

Thnx in advance :)
[Android Software/Hacking General [Developers Only]] sumitpsr1:
Try not to copy any lib/lib64

Just copy firmware, mddb, and kernel only..
[Android Software/Hacking General [Developers Only]] The2k10:
mod edit - quote of the whole first post removed as unnecessary

Thanks for the guide bro........but I wanted to port a ROM of higher android version(port of 6.0 to 5.1).....included the devices have same mtk soc [lenovo vibe b ROM >>port>> lenovo a2010] .Soo,could u help me with that?If it seems to be in your reach.......pls reply.

P.s.-I think vibe b (global ver.) has volte feature ,which is not available in lenovo a2010......can the feature also be implemented in the port ROM?

Thanks in advance.
[Android Software/Hacking General [Developers Only]] JNTN666:
wifi still does not turn on, help please
[Android Software/Hacking General [Developers Only]] fdgd1998:
Can I port between different chipsets of the same vendor (qualcomm).

From the snapdragon 630 to the 820.
[Android Software/Hacking General [Developers Only]] K001droid:
No
[Android Software/Hacking General [Developers Only]] xanthrax:
thread closed as per OP request