yashsingh1/xdaforums huggingface dataset:
[Android General] Slimegod:
What's "permission denied" (something like that)? We need exact error messages in order to help you.
[Android General] ExaHamza:
but more try in the first gave this error, I cleared cache and dalvick, and restart the system, and my smartphone stopped at the MIUI!!

ExHamza Francis

---------- Post added at 08:45 PM ---------- Previous post was at 08:36 PM ----------

Here you have my log

Don't worry about name package I only applied the modifications

Inside of ROM

mount: failed to mount /dev/block/mmcblk0p10 at /data: No such file or directory Formatting System ... unmount of /system failed; no such volume Need size of filesystem format: make_ext4fs failed (1) on /dev/block/mmcblk0p9Installing System files... mount: failed to mount /dev/block/mmcblk0p9 at /system: Block device required minzip: Extracted 1839 file(s) Creating links ... Set permission... set_perm: chown of /system/vendor/firmware to 0 2000 failed: No such file or directory set_perm: chmod of /system/vendor/firmware to 755 failed: No such file or directory script aborted: set_perm: some changes failed set_perm: some changes failed I:Legacy property environment disabled. E:Error executing updater binary in zip '/sdcard-ext/Dev Fold/miui_xt912_santajin_4.10.10_75c338fa2e_4.4/maxxmiui_xt912_santajin_4.10.10_75c338fa2e_4.4.zip' Error flashing zip '/sdcard-ext/Dev Fold/miui_xt912_santajin_4.10.10_75c338fa2e_4.4/maxxmiui_xt912_santajin_4.10.10_75c338fa2e_4.4.zip'

I need your Help!!

Thanks!!

ExHamza Francis

---------- Post added at 08:49 PM ---------- Previous post was at 08:45 PM ----------

The entire log

Starting from installing....

Installing '/sdcard-ext/Dev Fold/miui_xt912_santajin_4.10.10_75c338fa2e_4.4/maxxmiui_xt912_santajin_4.10.10_75c338fa2e_4.4.zip'... Checking for MD5 file... Skipping MD5 check: no MD5 file found I:Zip does not contain SELinux file_contexts file in its root. I:Legacy property environment initialized.

mount: failed to mount /dev/block/mmcblk0p10 at /data: No such file or directory Formatting System ... unmount of /system failed; no such volume Need size of filesystem format: make_ext4fs failed (1) on /dev/block/mmcblk0p9Installing System files... mount: failed to mount /dev/block/mmcblk0p9 at /system: Block device required minzip: Extracted 1839 file(s) Creating links ... Set permission... set_perm: chown of /system/vendor/firmware to 0 2000 failed: No such file or directory set_perm: chmod of /system/vendor/firmware to 755 failed: No such file or directory script aborted: set_perm: some changes failed set_perm: some changes failed I:Legacy property environment disabled. E:Error executing updater binary in zip '/sdcard-ext/Dev Fold/miui_xt912_santajin_4.10.10_75c338fa2e_4.4/maxxmiui_xt912_santajin_4.10.10_75c338fa2e_4.4.zip' Error flashing zip '/sdcard-ext/Dev Fold/miui_xt912_santajin_4.10.10_75c338fa2e_4.4/maxxmiui_xt912_santajin_4.10.10_75c338fa2e_4.4.zip'

ExHamza Francis
[Android General] ROBERT CM:
I Can port TW 5.0 to TW 5.1.1 using this method with any stock deodex o custom rom ported with 5.1.1?
[Android General] Rumorbox33:
Hell Yeah!:good::laugh:

This Guide is Working i ported Vibe UI (Mtk6582 to my Mtk6582 Device):D
[Android General] XDA-00:
Hello Nasheich, your guide is great but can I edit build.prop with Word 2013 and save in UTF-8 or other encoding.
[Android General] XDA-00:
Hello , Can I port any 4.4.2 rom with 4.4.4 CM as base rom.
[Android General] Nasheich Xfiles:
yes, you can, try and if it's booted, don't forget to give me credit in your thread after you share it ;)
[Android General] akbariajay:
hello Dev.

Thanks for sharing Porting Method and experience.

i have one Question, it can be work on MT65xx Device. Bcoz some version need upgrade Kernel.

Thank You
[Android General] rohit1521:
[MENTION=4792862]Nasheich Xfiles[/MENTION]

Hello sir,What are the major things we need to consider when chossing a port ROM?.I wish to port a ROM for Galaxy grand duos..which phone's ROM is best to take as port ROM?.... S2 ROM can be ported to grand duos?...or any other device?
[Android General] neonkat:
first you tell about which rom are you thinking to port,miui,sense,touchwiz,etc..choose the device(from which you want to port rom) which has same specs like your device,like the processor,display(720p or 1080p),etc. more the similarity,more easy it will be port the rom(less issues).
[Android General] rohit1521:
thankz for your replay...

I want to port a cm 13 rom...I planned to take aosp 6(for grand ) as base rom...Now my doubt is should i use s2 cm13 or s3 cm13 rom as port rom.

Grand duos spec: Type	TFT capacitive touchscreen, 16M colors

Size	5.0 inches (~64.5% screen-to-body ratio)

Resolution	480 x 800 pixels (~187 ppi pixel density)

Multitouch	Yes

CPU	Dual-core 1.2 GHz Cortex-A9

GPU	Broadcom VideoCore IV

MEMORY	Card slot	microSD, up to 64 GB

Internal	8 GB, 1 GB RAM

CAMERA	Primary	8 MP, f/2.7 autofocus, LED flash

S2 spec : Super AMOLED Plus capacitive touchscreen, 16M colors

Size	4.3 inches (~63.5% screen-to-body ratio)

Resolution	480 x 800 pixels (~217 ppi pixel density)

Multitouch	Yes

Chipset	Exynos 4210

CPU	Dual-core 1.2 GHz Cortex-A9

GPU	Mali-400

MEMORY	Card slot	microSD, up to 32 GB

Internal	16/32 GB, 1 GB RAM

CAMERA	Primary	8 MP, f/2.6, autofocus, LED flash

s3(i know s3 have entirly different spec from SGG duos but i used ur miui 7 rom which is ported from s3 to SGG duos)

:Type	Super AMOLED capacitive touchscreen, 16M colors

Size	4.8 inches (~65.9% screen-to-body ratio)

Resolution	720 x 1280 pixels (~306 ppi pixel density)

Multitouch	Yes

Chipset	Exynos 4412 Quad

CPU	Quad-core 1.4 GHz Cortex-A9

GPU	Mali-400MP4

MEMORY	Card slot	microSD, up to 64 GB

Internal	16/32/64 GB, 1 GB RAM

CAMERA	Primary	8 MP, f/2.6, autofocus, LED flash

Any other device which have similar spec of SGG duos???
[Android General] neonkat:
instead of porting,build one.will be better because less bugs and can be easily updated to latest updates by cyanogen.

you can use s2 but it differs in gpu.hence,you will get messed up somewhere.
[Android General] dinu32184:
Sir please add how to transilate chinese roms to internationsl for our devises..its more eazy than build a rom...if u have time..

Nd thanks alot for ur nice guide
[Android General] Nasheich Xfiles:
yes, it can, just try it.

1. Simcard, if it's dual, find dual sim rom also, cuz you need do more things if the rom base abd port have different sim card slot

2. RAM, for best and easy porting, find the same RAM.

3. CPU, just like RAM, try to find same CPU, not the chip brand, but the core capacity, single with single, dual with dual.

sorry, i don't know anything about translating the rom language.
[Android General] Dio_S:
[MENTION=4792862]Nasheich Xfiles[/MENTION]

I will try to port using the guide Miui 7 (based marshmallow) Mi3/Mi4 to the nexus 5 using the rom stock deodexed as a base.
[Android General] akshay pro:
Bro The point is that if u delete the updater script then if u are porting to an tweaked rom none of the tweaks will work. so by just changinf the mount points in the updater script u can port the roms and by doing the modifications :)
[Android General] joysonejang:
After flashing ported ROM I found this error on my phone shows unfortunately the process.com. android phone has stop.please help to fix the problem sir.
[Android General] nitesh9:
Which ROM did you port for which device and from which device?
[Android General] joysonejang:
Ios 8 for IQ X zeen to xolo q710s
[Android General] Nasheich Xfiles:
Try to replace TeleService.apk with TeleService.apk from your base rom.
[Android General] gavisharora:
Hi! [MENTION=4792862]Nasheich Xfiles[/MENTION]

I tried to port MIUI v7 based on 6.0.1 from Xiaomi Mi4 to OnePlus X using CM13 as base ROM. I followed everything on the tutorial but with no success. I was able to create a flashable zip but the recovery fails to flash it, gives an error executing updater binary. P.S. there were no symlink text in my base ROM updater binary. Could you please help me?

Thanks.
[Android General] Sheko2010:
Help please

I want any one make to me rom for my lenovo vibesshot

Miui rom or Nubia UI

But my best Nubia UI
[Android General] Nasheich Xfiles:
no

how much you can pay if someone make it for you ?
[Android General] Sheko2010:
Iam to yet cant use visa card in my country so i search to fix my bugs in my phone or must to pay to any one help me
[Android General] TheRock40359:
Can i use this to port AllianceRom 4.4.2 to 5.0?
[Android General] neonkat:
same android version.
[Android General] TheRock40359:
Well I have 2 note 3 Verizon phoned both rooted. One is on AllianceRom Build 2 kitKat. The other is on jasmine 6.1 lollipop. I want to convert the AllianceRom to lollipop so I can put it on my other phone that's lollipop
[Android General] inpamcoxie:
i need some enlightment here..

i have xiaomi redmi 2(msm8916) and i want to port slimkat rom. i use cm 11s as my base and i took moto g peregrine(msm8226) as my port.

i have followed your guide and yet i am stuck on bootanimation. is there any special treatment when porting slimkat rom ? any help would be appreciated
[Android General] Nasheich Xfiles:
compile boot.img then change boothclasspath in init.environ.rc
[Android General] inpamcoxie:
done that . yet it still stuced on bootanimation.

perhaps using msm8226 as my port source was a mistake ? the chipset number is different but it has the same core amount and clock speed.
[Android General] Nasheich Xfiles:
it doesn't matter, I've ported my roms with different chip and different clock speed and also core amount, take a log to see the problems, you may miss something like storage-list.xml in framework or something else. Logcat is the answer.
[Android General] DroidThug:
if you still stuck on bootanimation, check bootclasspath in boot.img, unpack it, and check in "init.environ.rc", use note++ to edit it, there's must be something miss there ;)

What did you mean? I don't understand
[Android General] bo_hai:
Need help! :confused::confused::confused:

Does it possible to port it while using Samsung Stock ROM? If does, could you teach me how to do that?
[Android General] amtra:
Help regarding ROM Port.. This log is taken while bootloop.. help please
[Android General] nitesh9:
How did you take logcat while bootloop? Can you please tell me the method? :(

And by checking your logcat it seems that your ROM is odexed. Try deodexing that first and then port. ;)
[Android General] amtra:
in bootloop atleast u need bootanimation to take log. after 10 min of bootanimation connect usb to ur device and type adb logcat > logcat.txt
[Android General] nitesh9:
Ok. Thanks. So first we need make the port ROM debuggable and adb secure should be turned off? Did you edite anything regarding this for taking logcat?
[Android General] amtra:
i just added this line to buit.prop

ro.secure=0

ro.debuggable=1

persist.service.adb.enable=1

persist.sys.usb.config=mtp,adb

ro.adb.secure=0
[Android General] nitesh9:
Okay. Thanks a lot bro. :)
[Android General] sravan@xda:
Tried porting cyanogen OS stuck at starting apps
[Android General] Innfinite4evr:
Thanks for this post

I ported paranoid rom from yu yureka to redmi 2 ...though Soc was not same it booted...

I used cm11 as base ...it booted but had bugs....i fixed all bugs but by random experiments i came across more bugs and left it...

Felling Lazy to fix them..............

Thanks for this post .Can you port IUNI OS?
[Android General] McRyanAbit:
is there a possibility that your phone turn to dead boot when you port a rom and you didn't notice that there is a wrong and you flash it? Please answer me. What would happen?
[Android General] Innfinite4evr:
Is it possible

hi guys i want to port a rom which 64 bits files i/e Lib64 folder ..and my device is also 64 bit ..but it didnt get 64 bit sources .so it has only 32 bit roms....So, can i port roms by deleting lib64 and 64 bit files from port rom like dalvikvm64?????
[Android General] Innfinite4evr:
this guide is for kitkat and it works...But what about LP/mm ??please share something
[Android General] sostk22:
Great.......
[Android General] gundam2k:
I really thank you very much. I followed the instructions step by step but after flashing the rom (by the way i am trying to port xperia z5 custom rom) it actually booted and after that i got a message ( Unfortunately, system ui stopped working) then the phone reboot again and so forth. Do you know what is really the problem for this ?
[Android General] Slimegod:
Can anyone help me out with this error, http://pastebin.com/r98Uythh hung on the Mi logo, cm11 is my base.
[Android General] SHEKARansd:
i did porting and installed successfully but at reboot it reboots again and again
[Android General] jjziets:
Any one know of a guide to port stock samsung roms? I have a SM-A7000 which does not have google apps and no custom roms for it. Want port SM-A700h to it the rom has system.img.ext4
[Android General] ishak isha:
reaquest android 7.0

dear brother,

pls port 7.0 for honor holly .....and any vedio abt(how to port new roms will be useful):cowboy:cool:

thanks in advance
[Android General] Nasheich Xfiles:
Can't port anymore, my Laptop isn't support the new version of Android.
[Android General] Flounderist:
CM 13 porting

Hello,

I was thinking to port CM 13 for OP3 to Le Eco Le Pro3.

They have very similar specs and quad core CPU.

Apart difference between SD 820 and SD 821, do you think your guide will work on MM based ROMs?

I don't use Linux, so I have problems to repack system.dat.

Do you think repacking as system.img or without repacking at all will work or I need to change updater script?

What about kernel and boot.img, do I need to replace some files?

Thank you in advance for your support! :highfive:

Bye!
[Android General] syria-droid:
but for update updater-script sir
[Android General] syria-droid:
sir you can helpme

im porting cm 13 for j1 j120h
[Android General] Nasheich Xfiles:
you need to more(unpack then repack)if porting rom base on cm12 and up, cause it use different file type.
[Android General] syria-droid:
Thx bro

but repack not working

You have any program for this sir
[Android General] kaiz16:
Can i port lollipop rom using this guide to kk? I have a MT6752 chipset and the lollipop rom is also for mt6752 do i need custom kernel to port higher version? thxxxx:):):)

---------- Post added at 09:18 AM ---------- Previous post was at 09:17 AM ----------

you should use carliv img tools
[Android General] Nasheich Xfiles:
just search in this forum, you'll find many programs, for Windows and Linux, it's all here.

no, must be same Android version
[Android General] Arrow_29:
Mate can I port miui8 from s3 . my device is galaxy grand duos. Tell me fruitful steps and thnx for this guide.:good:
[Android General] Arrow_29:
[MENTION=4792862]Nasheich Xfiles[/MENTION] , I ported XenonHD 7.1.1 from Galaxy S2 . My device is Samsung Galaxy Grand Duos. Zip file successfully flashed with no errors , but I'm stuck in Samsung boot logo. Please help me. I ported that ROM from this guide. Please help me it would be appreciated.
[Android General] grumpycoder100:
Hey there, would this guide work if I wanted to port TouchWiz ROMs? I have a clean CM13 base, and a TouchWiz MM ROM already. Hmm..
[Android General] Android-Banjarmasin:
This method work for touchwiz?

N7100 to I9300

No kernel because there's already custom kernel for 4.4.2
[Android General] its_sachin_jangir:
Can I port ROM for my huawei lua-l21
[Android General] bysalihidriscan:
Salam alaykum verahmetullah ve berakatüh!
[MENTION=4792862]Nasheich Xfiles[/MENTION] how to port roms samsung device?

Android rom 'etc' what?
[Android General] :
:thinking: work for me (4.4)
[Android General] Nasheich Xfiles:
Hallo everyone, sorry out of topic, i just need help with this, please sign this http://chn.ge/2BkP2fc

I hope this will works ???
[Android General] Ashley david:
Done?
[Android General] kabiraj an beginer:
Bro ill used aokp kk as base for XPERIA l and i chosed lg d605 miui v6 roms as port ill used ur fix method for boot animation but not worked ith doesn't boot in to boot menu please help me bro
[Android General] Abrahamjolly:
Hii can u helpe to port MIUI 9 to Xiaomi mi A1 (Android One)
[Android General] patsonator:
Hey guys. I finally ported a custom rom 7.0 rom for my itel A31 and the rom is great but I have two problems. The first is the front camera which have a bad red color but the rear works perfectly fine except the autofocus. The second one is the front flash which is not detected or supported. Please how to fix all of this?
[Android General] lucki1000:
I don't know if I'm right here but I'll just ask the question, I have ported a rom for my phone and it works very fine but i can't use the volume keys Up and Down both not working and the power button and the hardware keys like home-, back- and menu-button wont work too.

Actually, I do not want to leave this rom.

It would be nice if anyone can help me.

Regards Lucki1000
[Android General] xYOSIYAx:
[MENTION=]nashiech xfiles[/MENTION]

Does this still work for Pie and Q?
[Android General] Mondo19:
How to port any custom roms to a .pac base phone(spd).

hello xda team i have being watching mostly all your guides but there is still 1 thing am not seing about spreadtrum device porting so i have a worry which is i will like to port ressurection remix to a spreadtrum device but the problem is that my phone firmware is a .pac rom so i dont know to port because in most guides there are essential files such as system.lib,etc etc so please need your help for more detail my phone is a spreadtrum chipset i think sc7731 and occupies the phone system about 3GB :(:crying: just annoying changing it to a more smooth rom will ease the 1GB of ram consummation:D then thankyou for your good comprehension
[Android General] muhammadbahaa2001:
What if I ported rom not same SDK? It will not boot up, right?

For example : I ported Android 9.0 Linage to phone that it's SDK for Android 6.0.
[Android General] T2100-0:
Maybe. some guides say you can.
[Android General] T2100-0:
My roms don't have system folders.

Edit: found it, under system.new.dat
[Android General] D2Y aka E:
thank you my friend will try ..
[Android General] Nasheich Xfiles:
find other .img files in ROM port, there must be another .img files
[Android General] agushack:
What abt the updater-script?

sent from My Awesome Miui Rom on K-Touch Lotus 2

using Tapatalk
[Android General] JulianJenner:
Nasheich, my Master. WIFI solved, disable emulation solved, but GSM signal not solved. I use your files, but I haven't GSM signal on "my SpyderBAM" ROM... I read this thread again...

Wonderfull OMNI ROM 4.4.2 by Nasheich (06.01.) / LG OPTIMUS L9 P760 / Tapatalk Pro 4.6.2
[Android General] Nasheich Xfiles:
use from base rom

What about GPS, is it works ?

for signal, try to replace these from your base rom

Bin

>adb

>dalvikvm

>debuggerd

>dhcpcd

>dnsmasq

>drmserver

>gdbserver

>glgps

>hostapd

>hostapd_cli

>ime

>ip

>ip6tables

>iptables

>logcat

>logwrapper

>media

>mediaserver

>mtpd

>ndc

>netcfg

>netd

>ntfs-3g

>ping

>ping6

>pppd

>radiooptions

>rild

>screenshot

>sdcard

>sensord

>sensorservice

>service

>servicemanager

>toolbox

>vdc

>vold

>wifimac

>wpa_cli

>wpa_supplicant

>

>

>

>

ETC

>handheld_core_hardware.xml

>platform.xml

>

>

Lib

>lge-lib.so

>libbluetooth_jni.so

>libbt-hci.so

>libbt-utils.so

>libhardware.so

>libhardware_legacy.so

>liblgehdmi.so

>libnfc.so

>libnfc_jni.so

>libnfc_ndef.so

>libreference-ril.so

>libril.so

>librilutils.so

>libsensorservice.so

>libwpa_client.so
[Android General] JulianJenner:
I don't trying GPS yet.

Aaaaarrghhh.

Wonderfull OMNI ROM 4.4.2 by Nasheich (06.01.) / LG OPTIMUS L9 P760 / Tapatalk Pro 4.6.2
[Android General] slim_guy:
I'm gonna try porting Ron from htc one x rogero to Xperia sp same soc same resolution is it possible
[Android General] Nasheich Xfiles:
you must try it, but i doubt it will works :p

there always possibility, cause 80% files in Android is same,...
[Android General] JulianJenner:
It seems I'm staying tester... :(

Maaster!

I changed.

I replaced.

Unfortunately there is still no GSM signal.

I'm sad.

I'm staying tester.
[Android General] Nasheich Xfiles:
Rebuild again, and follow the instructions carefully (special at Troubleshooting), you must miss something(files)

I've updated the thread..

And once again, never give up ;)
[Android General] JulianJenner:
I have no time...sadly.

I read your new lines...

Please tell me where I find AOSP baserom?

NAMELESS ROM ④.④.② Nightly (06.02.) by Dhiru1602 / LG OPTIMUS L9 P760 / Tapatalk Pro ④.⑥.②
[Android General] Nasheich Xfiles:
If you have the time, try again, :)

Unfortunately, p760 only have 1 AOSP(JB), that used in MIUI rom, for AOSP Kitkat, wait for the other devs build it,

did you planning to port PAC man Rom ? :D

I've tried it many times and used different device, but never got luck, and I'm pretty sure PAC man needs "REAL" Pure AOSP build from source
[Android General] JulianJenner:
I hate PACMAN (ofcourse not hate, but don't like) too higgledly-piggledly for me...

TEST MODE / STOCK V20O WITH AMNIK KERNEL / LG OPTIMUS LGP760 / TAPATALK PRO 4.5.0
[Android General] Nasheich Xfiles:
i thought you planning to build it :D

so what for you ask for AOSP ?
[Android General] JulianJenner:
???

Please Master!

Conform it.

Please check.

It is good the what you write?
[Android General] Nasheich Xfiles:
Yes, you can replace or use from those files, or not replace it, it's up to you...

handheld_core_hardware.xml

platform.xml

yes. lge-ril.so, sorry, my bad :D
[Android General] JulianJenner:
I wrote no hurt, just please correct it.

I wrote not hurt, just please correct it.
[Android General] Nasheich Xfiles:
just did it :D
[Android General] Nasheich Xfiles:
thread update with some items to fix issues in roms...
[Android General] agushack:
light sensor and proximity sensor not work dude what libs i must copy from baserom, i try to c/p the files you said in first page but not solve my problem, my device using qualcomm proc.
[Android General] Nasheich Xfiles:
copy missing permission files in system/etc/permissions
[Android General] koplax antiek:
amazing guide

can u updte guide to miui too
[Android General] agushack:
haha not working too,, what's the adb command for logcat the sensor (light and proximity)
[Android General] Nasheich Xfiles:
Thread update with pictures
[Android General] JulianJenner:
I remember someone asked (I do not remember: which forum...) Dhiru kernel to be modified?

It seems Void00 modified it (or writing entirely new...?) http://goo.gl/hJOXV4 in his new ROM.
[Android General] Nasheich Xfiles:
meanings ? :/
[Android General] JulianJenner:
Just an observation/perception

He said, build new Dhiru based ROM and kernel. There and There

He did.

Andt new ROM contain not Dhiru 3.0.31 but dirty res 3.0.31 kernel.

I don't know, it a new issuel or an old kernel...

But it contains Min: 200Hz, and max: 1350Hz.

Dhiru's kernel contains Min:300Hz and Max: 1008Hz only...

Just an observation / perception...
[Android General] Nasheich Xfiles:
Mmm, looks like he build his own kernel, I'm not really understand about that, still learning...
[Android General] YamyYugi:
Nice tutorial dude! works for clone s4 too?

and if i pick my custom rom, and use a rom with air gestures dont work, he gona fix that?

soz but im noob on that XD thanks!
[Android General] slim_guy:
rom is not installing why :confused:
[Android General] JulianJenner:
Uninterpretable question...

Which ROM?

Which you have prepared / ported?

There are many possible reasons why...

But do not expect an answer.

Because you did not bother to describe what device, what ROM, etc
[Android General] JulianJenner:
For a short time or forever?

EDITED: 2014-06-06

Dear Nasheich!

Please think about it!

You helping a lot of people!

Due to some brawler we lose you?
[Android General] Nasheich Xfiles:
Thread update on rules of porting

Now you can port Different Android version, as long it has same Android SDK version

For Example

You can port Android 4.4.3 using Android 4.4.2

I just did it on my OMNI ROM...
[Android General] slim_guy:
Mogino rom 4.2.2 sense five from htc one xl (rogers) to Xperia sp

Same resolution of display

Both have 8 mp cam

N 1 gb ram

Snapdragon s4 krait dual core processor