yashsingh1/xdaforums huggingface dataset:
[Android Software Development] nickmok:
port

hello!

im port a Rom but when i want to update in the recovery menu the update Abort :(

is anywere here to help me please?

thank you!

greetz,

nick
[Android Software Development] anwarsheriff:
Help Required

How can I port Huawei 3X rom to a Redmi Note Mediatek MT6592, as Huawei 3x rom comes in update.app format.

Can you give us a simple method to find exact roms for our device like say MT6592 chipset etc. Searched everywhere but couldn't find a suitable rom to port to my Redmi Note 3g.

By the way Thanks a lot for your tutorial, So far I have registered my device to the kitchen just need a rom to move further.

Please help
[Android Software Development] anwarsheriff:
Followed your instructions and was able to boot but don't know why the boot was stuck in "Starting APPS"
[Android Software Development] nickmok:
porting rom

hello!

Im a beginner and port a Rom for my Goophone i6 phone, create a update.zip and install it, phone runs but it is in mute mode.

I port the Rom several times but it is always the same Problem :(

When i Flash only the System.img ist ok ist no on mute, but wlan and phone not work:(

Can anyone help me to solve the Problem??

Thank you!

Regards,

Nick
[Android Software Development] ajay131:
@ HridayHS & digyvijaykumar123, I am beginner. Ported & flashed the rom successfully. Rebooted phone but its not working. Even not showing any logo or boot animation. Replaced all files of system as stated in guide, but didnt helped.

Any solution? Pls help.
[Android Software Development] HridayHS:
Try this - http://xdaforums.com/showthread.php?t=2701283
[Android Software Development] Saawi_singh:
really a nice guide for porting and themeing good job :good::good:
[Android Software Development] uinod3:
Hi sir i have sucessfully ported LENOVO VIBER 2.0 rom which is running under mtk6589t in to mtk6589t chipset

i.e., android 4.2.2 but the problem is camera was not working

and showing that "UNFORTUNATELY LENOVO CAMERA AND GALLERY HAS STOPED".....?

how can i fix it please help me.....!
[Android Software Development] ajay131:
Tried that also but didnt solved my problem. Stuck at bootloop. No boot animation, no logo. Only black screen.
[Android Software Development] HridayHS:
I think it's because of kernel.
[Android Software Development] ajay131:
Thanx for the suggestion. Replacing with another boot img worked. Now at least logo is displaying in bootloop. And its saying "Android is updating Apps".

Any solution?
[Android Software Development] uinod3:
port roms

Hi sir i have sucessfully ported many roms bot the problem is in all ported rom the battery life was too poor (i.e, for 1min of phone call the battery discharge about 20%) how can i fix it ...?

please help me....

I am using mtk6589t

android 4.2.2
[Android Software Development] ajay131:
Use tweaks for battery saving. Search in xda, you'll get that.

Flash those tweaks in roms.
[Android Software Development] lildhiel08:
i have prob with my port S5 mt6582 KK based, brigthness not working,also recent app not shown,then after i lockscreen. it wont open. plss help
[Android Software Development] uinod3:
Apps are not moving to internal or external sd-card

apps are not moving to internal or external sd card and failed to instal apps from file manager what should i have to do....

please help me....
[Android Software Development] chanti548:
some apps cannot be moved to sd card while some apps can, it you want to move apps go to settings->apps->click on the app and select move to sd but if it is in hide then you cannot move to sd

if you want to install apps from file manager go to settings->security->check the unknown sources

but if you want to move apps to sd ,root your mobile,partition your sd card,install link2sd from playstore ,then from that you can move apps to your sd card partition
[Android Software Development] uinod3:
Apps are not moving to internal or external sd-card

link to sd was not working what i am saying is apps are fail to instal from play store......
[Android Software Development] nyco:
partition mount problem

Hi,

i've ported a MIUI rom from Elephone P6i to a kingsing_S2 (Mt6582) everything work good now but ive got one big problem with partition

(kitkat partitioning)

the sec_ro partition is mounted under "internal partition" !

when i open a file explorer, the phone tell me it can't mount it.

and if i plug the phone on my PC, windows mount the phone and want to format it.

Any solution sir ?
[Android Software Development] alexsirb:
Use stock vold.fstab when repacking boot.img
[Android Software Development] nyco:
yes, but there's no vold.fstab under kitkat !
[Android Software Development] alexsirb:
In the ramdisk folder. Did you unpack/repack boot.img?

I have a fstab file and also have kitkat. For my phone there is no Jelly Bean officially, only kitkat.
[Android Software Development] FSadino:
I need help to fix sound problem. I port rom from same soc (MT6589) but i have no sound and the speaker is to low i barely cant hear when i do a call.

Already replaced all "audio" files from /system/lib from stock to port rom but nothing appened.

Is there any other things to do to solve my problem?

greetings
[Android Software Development] alexsirb:
I will check my boot.img when i get home. Sorry. I'm on train.

Try restoring the nvram backup with MTKDroidTools. If that is the solution, it works instantly, no reboot needed. Do you have a backup?
[Android Software Development] FSadino:
I dont have it but i can do it. i just dont understand how can it resolve the sound problem on ring and notifications since it restores only the baseband and imei. im wrong?
[Android Software Development] alexsirb:
I have a backup since i bought my phone. The nvram stores more than imei and baseband. You can tune audio and other devices with engineer mode. The settings are stored in the nvram. I raised the headphone and loudspeaker volume. The way i see it, UBOOT (lk.bin) contains base drivers and nvram contains their config. Try with engineer mode to modify audio settings if you don't have a backup. In hardware testing > audio. There you have Normal/Headsed/Loudspeaker and Headset_Loudspeaker modes. I don't really know what to recommend to you. I modified "Max Vol" to 160 everywhere, but it might be to loud for you. Set it somewhere between 120 and 150. Also, at every mode, you can select "Sph" from the drop-down menu and set the same value for "Max Vol" to Level 6, or the last level.

Anyway, you shouldn't play with something else in the engineer mode. At least make a backup with mtk droid tools before! It's very easy to restore it with mtk droid tools aswell.

You could try flashing the stock lk.bin too.

Did you set the correct permissions to modules/libraries and other files that you put back from stock?

chmod 644 OR with root explorer set permissions to rw-r--r-- and owner make sure is root.

Post here your progress.
[Android Software Development] harsh0143:
I was Ported mt6589 to mt6589 Rom But I was Facing camera Problem It show 8mp in 4:3 picture size & full Screen It Show only 6mp plz Help.....:)

Regards,Thanks
[Android Software Development] FSadino:
Thanks for your help. 1st i will fix permissions because i didn't.
[Android Software Development] alexsirb:
Unfortunately i didn't get to fix the camera. I'm working to fix the backlight not turning on. When i fix that, i move to fix the camera. I fixed the many other problems. Then i will have a fully functional ported rom. Did you had problems with the display not turning on? I can't fix it :(
[Android Software Development] HatRiGt:
How to add logo in build prop. . My device is canvas HD A116.. I'm new In porting Rom..
[Android Software Development] alexsirb:
Wrong thread. Try here -> http://xdaforums.com/showthread.php?t=2397727
[Android Software Development] harsh0143:
In which ROM ?
[Android Software Development] alexsirb:
I am porting Huawei Honor 3X Pro ROM to Philips Xenium i908. Both MT6592. The only difference is the display size. Honor has 5.5 inch and Philips has 5 inch, but the same FHD resolution. It displays everything, the touchscreen works, but it cannot control brightness. The moment i turn off the display, the light never turns back on.
[Android Software Development] nyco:
---------- Post added at 09:19 AM ---------- Previous post was at 09:18 AM ----------

Hi,

yes, i unpack/repack my boot.img. Ther's a vold.fstab, but i modify it like the stock one.

Another person had ported a rom for this phone and the problem is the same :/
[Android Software Development] alexsirb:
Did you flash with different scatter? You need the stock scatter when you flash in sp flash tools. It happen to me too, because the partition scheme was different than fstab. So you need stock files: scatter, preloader, mbr, ebr1, lk.bin (or uboot.bin) optionally ebr2, if your phone uses ebr2. Or you could just reflash your stock rom. You need nvram backup if you format. Then test your ported rom with modded boot.img and sock vold.fstab.

Post here results.
[Android Software Development] nyco:
I flash the ported ROM via TWRP. ( via stock rom + root + custom recovery)

I check the scatter from my stock and from th "stock ported rom"

There are different:

My stock rom got only 1 EBR, the ported 2

my stock rom haven't got "fat" partition

Do you i can flash the "stock ported rom" with 2 EBR on my "one EBR" phone ? ( with a boot.img modified)
[Android Software Development] alexsirb:
If your stock rom has ebr1 ONLY, then keep it that way. In the stock vold.fstab is THE SAME info, that is why you need it. My phone also has only ebr1. When you modify boot.img, keep stock kernel.img and port-rom ramdisk. Then copy stock vold.fstab from stock, into port-rom ramdisk folder and overwrite existing. That is all you have to do with boot.img.

I hope that clears it.

Next, you copy modules, libs , /etc/firmware and vendor from STOCK. Check that they have the correct permissions and owner.

I hope i cleared another problem.

Edit: I ported a rom that uses ebr2 and it works with only ebr1.

If you do not have ebr2, then the system, cache and data partitions have different numbers than the one with ebr2. Stock vold.fstab knows the exact number of your partitions, that is why you need it.
[Android Software Development] nyco:
Thanks a lot for your attention and for informations.

I will try (again) to port this rom. i've already done what you say, maybe i forget a step :)
[Android Software Development] alexsirb:
Does anybody know how to fix backlight issue? Can't control brightness and can't turn on display when it sleeps. I tried flashing stock lk.bin, i checked default.prop and other files. I don't know what to check for, to make it work.

The only app that could control backlight (with some tweaking): https://play.google.com/store/apps/details?id=com.nkahoang.screenstandby but it's not easy!

Anyone? :(
[Android Software Development] ian_eo:
i got the same issue with the brightness bug.. it's stuck.. the brightness slider doesn't work, when the phone goes to sleep, the screen doesn't lit up..

i can only lit up the screen if i reboot the phone or manually set a value for the brightness using adb.

i hope someone figures this out, it's frustrating.. been asking everywhere for this but it seems nobody is concern in fixing this issue.. thanks..

what i have tried so far:

1. edited framework-res.apk brightness values

-integers.xml

-arrays.xml

2. compared all files and replaced everything that is not the same from bin, libs, etc, vendor, usr, xbin

-files that caused bootloop, are retained.

3. changed values within boot.img's init.rc file regarding brightness.

4. added entries in build.prop regarding lcd brightness

5. tried porting 5 similar hdc rom, all have the same bug in brightness.

6. installed lux app, brightness can be controlled but once the phone sleeps, screen stays off..

result:

all have no effect.. btw, if i change the value for brightness, the screen lits up but that won't help coz once it sleeps again, the screen stays off again..

===========

i got another bug, the storage bug when you're using a rom that has two EBR and your phone has only one.. you would only have the external storage, the internal storage(emulated) would not appear..

my phone is a:

mtk6592 - android 4.4.2

1gb ram

8gb rom

single EBR
[Android Software Development] alexsirb:
How do you change brightness through adb?

---------

I have internal memory access and i don't use sd card. Stock - single EBR, port - 2 ebrs.

In stock rom, check "cat /proc/partitions" and see what is the partition number of your internal memory. Use that number in vold.fstab. See if that works. If not, i will think of something else. But that what it depends on. Ebr1 has the info on partitions and it should not be used with different scatter file. Vold.fstab uses ebr1 information when accesses a partition.

Mine is emulated. Internl memory is on /data/media. And need acces to /data partition. Other info is there in vold.fstab

/dev/block/mmcblk0p7 is the data partition which holds the internal memory. Maybe all single ebr phones are the same. But as i said, my port-rom has 2 ebrs. Originally it had separated data and internal memory partitions. Since my phone is formated with stock firmware, i only have one EBR. Using stock vold.fstab, i can access all partitions.
[Android Software Development] ian_eo:
since your using an mtk cpu try doing this, it'll show you a similar view like from the scatter file. easier to see which partition resides per path.

cat /prop/dumchar_info

if you're still on jb, they still have the vold.fstab. but in kitkat you'll need to adjust a different file in the boot.img or mod your framework to swap the internal sdcard & external sdcard.

my issue in kitkat is that it can't recognize the internal sdcard if you have a single EBR, and your port rom has 2 EBR. i have manage to make the internal sdcard to show the other day but it give you another bugs.

1. usb mount/storage & Camera (PTP) becomes unstable, would not connect.

only MTP works(internal & external sdcard available)

2. default storage for your apps data/obb would be set to internal sdcard.. you'll have shortage on space in time.. =(
[Android Software Development] scatman25:
I need help, I would like port miui6 (Android 4.4.2), but according to instructions I have only a black screen ... it does not boot
[Android Software Development] alexsirb:
Did you flash a different lk.bin (uboot.bin)? You need the stock one. When repacking boot.img, you need the stock kernel. Also you need some folders from stock rom (modules, vendor etc). Does your device has the same chipset as the other one? Display resolution?

I am not trying to be rude. Just checking. You need at least these to be able to boot. I remember my first atempt, when the system was booting, but black screen. I could use adb and check logcat and other. Does your pc recognize the device?
[Android Software Development] scatman25:
Uboot.bin is from stock and Boot.IMG is repacked :(

With stock Boot.IMG are bootloop and with repack IMG blackscreen
[Android Software Development] ajituchiha:
hey man do you know how to port kitkat-(port rom) to jellybean-(stock rom)
[Android Software Development] alexsirb:
I'm not sure it helps, but add the following line in BUILD.PROP

ro.sf.lcd_density=xxx

and replace xxx with your device DPI.

Read here: http://xdaforums.com/showpost.php?p=52720660

Also, when repacking, make sure that you use STOCK kernel.
[Android Software Development] uinod3:
app instalation

I have followed your tutorial and ported s5 rom for sucessfully for my Karbonn Titanium X (MT6589T)

mY MOBILE DOESNOT HAVE ANY CORD SLOT it has 16gb of internal storage.....

but the problem is if the app length is more than 30mb it fails to instal even from play store....

can you please help me.....?
[Android Software Development] lildhiel08:
i port miuiv6 mt6582 KK rom .. my problem is my sd card is my phone storage and my phone storage is my sd card.. and when i reboot my phone my sdcard not show again. i ned to remove my sd card and i insert again to my phone ..plss help me guyss
[Android Software Development] lildhiel08:
MIUIV6 kk 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
[Android Software Development] johnvuong1999:
Great thanks
[Android Software Development] Aditya R:
Hello Dev, I tried to replace vold.fstab from stock rom, still my device doesnt mount phone and external sd storage. Any other go?
[Android Software Development] ashudb70:
system ui fc

have ported 4 roms for device mt6591 (actualy it is 6592 mentioned evrywhere in boot.img build.prop)

ported touch ui

hive

galaxy s5 n note 4

all have booted normally but all have common issues of system.ui fc how to fix it?
[Android Software Development] joel george alex:
I HAVE INTEX AQUA 4X, AND IT HAS UBIFS FILE SYSTEM.SO HOW DO I CONFIGURE MOUNT POINT FOR SYSTEM ETC IN THAT MICROMAX A110 FILE

recovery.fstab file

# mount point	fstype	device	[device2]

/boot mtd boot

/recovery mtd recovery

/uboot mtd uboot

/cache ubifs cache

/data ubifs userdata

/system ubifs system

/sdcard vfat /dev/block/mmcblk0p1	/dev/block/mmcblk0

/sd-ext auto /dev/block/mmcblk0p2
[Android Software Development] Dai323:
Can this kitchen still be used to create newer zips? I noticed in the updater script that the kitchen generates that it tries to symlink everything, which to my knowledge is a kind of old school syntax now (I wouldnt care if the ROMS would actually boot, but after saying install was successful screen just stays black).

Is there something I need to do to generate a "modern" updater script with this kitchen, or is it not possible?
[Android Software Development] bigrammy:
If you mean dsixda Kitchen then no it does not you need to use ArchiKithen for that. Infact I saw your post in that thread :eek:

I recall you have problems running a Virtual M or Box on your PC.

I recommend you make a dual boot system :good:

It's easy to do and not complicated at all I did make some videos but archi never added them to OP for whatever reason. http://xdaforums.com/showpost.php?p=56997581&postcount=1699 Should work fine 8.1 too. :fingers-crossed:

Hope it helps.
[Android Software Development] Dai323:
Thank you! :)
[Android Software Development] Jerrykist:
how to fix internal storage problem and dual SIM not working?
[Android Software Development] Kiranveer Singh:
Thx for this helpful post
[Android Software Development] nakakaulol:
Sir i followed the instruction but I dont see phone storage as an option in selecting default write disk... and also i cannot open the storage1... when I checked the properties it says 0bytes...

I dont have vold.fstab in etc folder because I use kitkat... need your guidance sir... thank you
[Android Software Development] Dvalin21:
Hello Sir,

I have the Cube T7, 64bit SoC MTK 8752. I know many have said its suppose to be the same as the 6752, however, I have tried EVERY Rom porting here, and on other sites and I havent been able to get any of them to even boot. I've followed all the directions down to the letter. Now, with that said I'm not saying that the tuts are wrong, however I am saying that they dont work with the MTK 8752 device. Matter of fact the only other device that I've seen that has the same cpu as mine is the Teclast P98 4G tablet. Now if someone has used this or any other tut with the same CPU (MT8752) and has able to get it to work. PPPLLLLEEEEAAASSEEEE contact me. the Cube T7 and T9 community is hurting for the lack of tools compatible with them. Thanks in advance. PS: I'm using the only recovery available for this device which is the TWRP 2.8.6.0. Thanks.
[Android Software Development] akshay pro:
Make My Updater Scrift File For KArbonn S5 plus

plz make edify_defs :o
[Android Software Development] MaxisMan:
Port system/pq and system/vold
[Android Software Development] pratikmore:
I made a stock ROM which is booted with only secure boot.IMG

Why? If I use unsecure boot.IMG then it stuck at boot logo,any issue? Thatswhy I can't port other ROMs. Any help?
[Android Software Development] zshep99:
would this possible work with a smartwatch? I have a no 1 gt running mediatek's linkit os. I REALLY need to be able to do something with this watch, because i bought it thinking it was an actual galaxy gear 2 and I was hoping to get a custom rom and apps, etc. This watch only has 2 apps that I can install from mediateks app so i want to port a rom so I can install more.
[Android Software Development] Dvalin21:
You may want to try and root the ROM. That might make the difference.
[Android Software Development] bhavinlanse:
Can anyone tell how to extract stock apps from ROM.ZIP from my phone itself i dont have a pc .my phone rooted lenovo a536.I need to extract stock camera app and lib files.

Thanks
[Android Software Development] Dvalin21:
Use es explorer see if that will work
[Android Software Development] mirosaw2:
Great guide,

But i've a question,

How to add or remove a Language from some ROMs??,

What files exactly i should edit or add??

Thanks in advance
[Android Software Development] umamahesh619ra:
How to make mtk6582M porting
[Android Software Development] Ramavats313:
How to install any custom recovery in mediatek chipset M6592 please help
[Android Software Development] jinconstantine:
First of all many thanks to this very informative post

I hope that you can also make one for lollipop mtk devices
[Android Software Development] Yokosa:
Hello

I port rom for my device Lenovo a850 . I have a problem with the sensor, black screen issue after the call end. I changed a dozen files on which the sensors but still does not work.

Do you have any ideas? Please help
[Android Software Development] dinu32184:
Try to get a logcat man.
[Android Software Development] Saurabhcr7:
Can I port a rom of different kernel version
[Android Software Development] dinu32184:
Use flashify.apk in playstore

Press thanks button if I help you

---------- Post added at 05:53 PM ---------- Previous post was at 05:47 PM ----------

Use root explorer. Apk or esfile explorer.apk u can copy camera.apk from system folder and camera lib files from librery folder.

One thing that root mobile before it
[Android Software Development] Saurabhcr7:
Bro can u tell me how to hide apps from app drawer by default while modifying a custom rom

Thanx in advance....!!!!!!
[Android Software Development] ShOgIBaRiBoA:
beautiful guide thanks a lot
[Android Software Development] subwof:
Can you please help me to registering my device in kitchen,

I tried to register many time but i faild and when i try to install a custom rom using the saved mount point i got a error in twrp recovery "error executing updater script....."

And my device boot loop

So its look like i set a wrong mount point

So can you help me to create a right mount point file
[Android Software Development] Mr.Ak:
By far the lifeline thread of most of the noob/pro porters/themers...it will be great if you can manage to add rom compiling guide too! :)
[Android Software Development] deniljoseph:
I have flashed a ported cm13 rom and the internal storage is mounted at data/media/0 so tht i dont have permissions or cant take any screenshot or use camera
[Android Software Development] Mr.Ak:
So where it was mounted in stock rom? Mt6582?
[Android Software Development] deniljoseph:
In stock room i could take ss or use camera but now everything goes to the internal rather than physical sd and i guess it's a bug of having an emulated storage if you can help me fix it plz contact me on fb @ denilj895@gmail.com
[Android Software Development] Mr.Ak:
Sorry bro but i dont use fb..

Is there any other cm13 based rom already available for your device in which storage is correct?
[Android Software Development] Dvalin21:
Will this tut be updated?
[Android Software Development] BatDroid:
how about that?

http://redhawkdevs.com/cyanogenmod-11-2/