yashsingh1/xdaforums huggingface dataset:
[Android General] Nasheich Xfiles:
Should work for almost all devices, as long as your device have CM/AOSP base...

Make sure you follow all my instructions, ROM wasn't install because there's problem in updater.script,

For short time...
[Android General] slim_guy:
Oh get it the problem is base rom cause I didn't check it

Sorry

By the way the base rom is cm10.1 unofficial for xperia sp

---------- Post added at 12:19 PM ---------- Previous post was at 12:14 PM ----------
[Android General] Nasheich Xfiles:
cm10.1 is Android 4.2.2 too,

I think there's no problem with your base, maybe the problem is on ROM port, what base on the ROM port, CM, AOSP or Stock ROM ?

if it's AOSP ROM, you can't port it, cause you need AOSP base too, if it's stock ROM, it has only 40%-60% can be ported

, link me to the ROM port
[Android General] JulianJenner:
:)

I'm happy

I'll wait for your return!

Unfortunately I can not write other places

Thanks to OMNI 4.4.3!

It works perfectly, GPS, BT test later.
[Android General] bayuarindra:
I was have ported ROM using this method..

I used same specs devices to port the rom..based on MTK6589

All went right..

successfully flashed booted up..but there is some problems..plz help how to fix it..

1. No sound is coming from the SPEAKER..headphones r working

2. Back camera not working...the camera app just stops working and closes..

Help plzz..
[Android General] Nasheich Xfiles:
1. in my case, I'd change the base ROM to fix sound

2. try to replace all libs relating with camera
[Android General] slim_guy:
Here's your link http://xdaforums.com/showthread.php?t=2293032

It is stock based Rom sense 5

I think the rom is not porting because it is sense rom, sense roms ate really hard to port (I think)

---------- Post added at 11:08 AM ---------- Previous post was at 11:04 AM ----------

Thanks for reply

You can try port rom from xperia sp to moto x because moto x development section is abandoned and users ask for miui 5 rom
[Android General] Raeshabu:
Thanks for the guide. Will definitely take a shot at this. :highfive:
[Android General] agushack:
HELP.... simcard not detected, and root issue,, how to fix
[Android General] Nasheich Xfiles:
simcard = compile telephony-common.jar, there must be "RIL" miss

Root = replace "su" in folder xbin
[Android General] shockah486:
[MENTION=4792862]nasheich[/MENTION]

Thank you for a nice easy guide and replying to my Question earlier.

I've recently tried to port MIUI to P769 as its development for our device has ceased.

I used Artit's 3.11.12 MIUI p769 rom as a base(which is based on 10.1.3) and am using the MIUI official v5 4.2.xx cm10.1.3 patchwork rom as a port which I got from http://en.miui.com/thread-15266-1-1.html

I followed your tutorial and it installed 100% but when it went to boot, I got a mirrored error screen which said:

DemiGod Crash HAndler : Kernal Panic has been occured

Please do following action:

1)capture this screen

2)get last_kmsg.txt log in /data/dontpanic after rebooting

Internal error: Oops: 817 PREEMPT SMP

CPU: 0 Not tainted (3.0.31-CM+-#1)

PC is at eventpoll_release_life+0x38/0x7c

LR is at __mutex_lock_slowpath+0x248/0x314

pc : c01420d4 lr : c0551f24 par: 200a0013

sp e683df38 iq : 00000090 fp: e79f3188

(eventpoll_release_life+0x38/0x7c) from (fput+0x198/0x1f8)

(fput+0x198/0x1f8) from (flip_close+0x58/0x7c)

(flip_close+0x58/0x7c) from (sys_close+0xa4/0xb8)

kernal panic - not syncing: Fatal exception

Kernel version: Linux version 3.0.31-CM+ antsvx9UBUNTU64) (gcc version 4.7.4 20130603 (prerelease) Linaro GCC 4.7-2013.03-1) #1 SMP PREEMPT Mon Oct 7 13:20:45 EDT 2013

I couldn't screenshot like it requested in step 1 but manually copied most of the stuff down.

Should I bother attempting to move the additional files you listed in "troubleshooting" if it did not boot fully? or is it not worth it?

I can finally get past the boot screen freeze but it doesn't boot to anything. Any suggestions would be appreciated.

Thanks
[Android General] agushack:
nope

where, masbro? in folder framework? or where? i cant find it..

in baserom or in portrom, no file telephony-common.jar, btw extens [.jar] is only in framework folder, right?

FYI i use qualcomm device
[Android General] Nasheich Xfiles:
base rom must be a clean rom(not costum rom) and without any modification...

change your base ROM first ...

If there is no telephony-common.jar, then compile framework.jar, same like I said before, there must be "RIL" miss,,,
[Android General] shockah486:
I'm not sure what I did wrong because I have also tried that. I attempted to use antonx's rom cm-10.1-20131018-UNOFFICIAL-p769 and that one wouldn't get past the boot screen. Since it doesn't get past the boot screen I'm unsure of how to troubleshoot it.
[Android General] Nasheich Xfiles:
yes, use clean CM rom then try again, and read my instructions carefully,

if still not boot or failed, try to port the other costom roms, there a lot of rom out there,
[Android General] shockah486:
Isn't cm-10.1-20131018-UNOFFICIAL-p769 considered a clean rom? It didn't boot. I guess it just may not work. Trying to update the MIUI for p769 as it's my preferred rom. I wish there was an easier way to update Artit's miui p769 rom. Appreciate your help
[Android General] Nasheich Xfiles:
no clue for now
[Android General] Casey Walt:
droid bionic and razr

I think i am going to use this to port roms to the bionic from the razr... they are basicly the same phones:fingers-crossed: hardware wize
[Android General] Seraph08:
thank you
[Android General] agushack:
Playstore eror

haha,, now the problem is playstore server eror here is the logcat
[Android General] Nasheich Xfiles:
Yes, try it ;)

you're welcome :)

my gapps ? :/

i don't have any gapps

what exactly rom that you've ported ?

and what device you have ?
[Android General] Casey Walt:
carbon kk

Tried it and it failed to flash in safe strap... Tryed to port carbon using cm 11
[Android General] Nasheich Xfiles:
explain more please, what device you have, what device that you trying to port...
[Android General] Casey Walt:
I may be using the terms wrong but I want to use a droid RAZR ROM (carbon kk) and port? It to a the droid bionic (my phone)
[Android General] Nasheich Xfiles:
Droid Bionic is CDMA phone, make sure you port CDMA device too
[Android General] Casey Walt:
the razr rom and the bionic roms are both cdma. I can be 100% sure because the cm11 zip that used is my daily driver. And the razr rom is also because it gave me an option for gsm or cdma and i made sure i choose cdma.
[Android General] Nasheich Xfiles:
Ok, let's do another ways, find the others device with the same rom that you wanna port, like i said at first page, don't give up ;)
[Android General] Casey Walt:
Continuing being positive check. I'll try again...:crying:
[Android General] agushack:
Not from yourgapps but YOURZGAPPS.zip made by xda member :)

but now im still got problem.. i can't charging offline,, (off phone) (ngecas dalam posisi handphone mati) when i plug the charger, my phone goes boot again,,

my device is k-touch lotus II & i ported from baiduyun OS
[Android General] Nasheich Xfiles:
that's cm bugs, no clue for that...

and that isn't big problem....
[Android General] drmarquis:
SUPER

Thanks a lot for this tuto:victory:
[Android General] nav_g3:
regarding ril of Galaxy S Duos Gt-S7562

hi operator,

ur post is really useful..

i hav one small doubt in my mind..

der is no Kitkat version for Galaxy S Duos all of its users r stuck on android ICS 4.0.4..

So many developers have tried to port d rom of Galaxy Ace IIx to S7562..

everything of dat port works in S7562 except the ril.. plz check d link for dat as a reference..:

http://xdaforums.com/showthread.php?t=2731692

could u plz suggest how to get the working ril and get network in dat rom..

thank you
[Android General] Nasheich Xfiles:
it's build from the source, not porting, I never(not yet) build from the source.

but, if the something relating to "RIL", you must check on telephony-common.jar or framework. jar, there must be "RIL" files miss,

compare it, hope it will works, and it's works, let me know it ;)
[Android General] locprohp:
help me, my rom port no file tts to delete :(
[Android General] nav_g3:
regarding ril..

thanx bro for replying..

1)u said to check for the RIL files miss, can we use the RIL files of ICS 4.0.4 in the KK 4.4.3. if it is really missing, since the galaxy S Duos phones doesn't have any official KK Rom..

2) u said to compare but der is no other KK rom available for dis device to compare..

i am sorry dat i am not a extreme device expert, so plz xplain it clearly to me.. we GS DUOS users r desperately waiting for a working KK rom.. thank you..
[Android General] Nasheich Xfiles:
if there is tts folder, delete it, if there's no tts folder, skip it, just simple... ;)

in my device(LG L9), we have our own "RIL", check in build.prop(see picture)

take a look at this line

ro.telephony.ril_class=U2RIL

U2RIL is "RIL" files to get signal works(for LG devices), for Samsung device, I forgot, just check in build.prop

after you get the "RIL" name, compile telephony-common.jar, then compare it,

here is the simply way

1. compile telephony-common.jar from Ace II

2. In classout(Ace II) folder, right click then choose "search"

3. Type "RIL", now you should get many files relating to "RIL",

4. Count or see how many files, example, there are 14 files relating to "RIL"

5. Do the same things on telephony-common.jar from your base(Ace Dous)

6. You should see the different result,

If you still didn't understand what I wrote, upload telephony-common.jar from both roms, I'll do it for you,

I'm Indonesian, so sorry for my bad English..
[Android General] GSDUOS:
So Here are the files! There are 2 CMS for Galaxy s Duos (one oft gohel.vishal and one oft v superuser) so i upload both
[Android General] GSDUOS:
Here are the framework.jars you need
[Android General] dukenukem32:
Yes I have seen the difference there are only 7 files of RIL in ace2x
[Android General] GSDUOS:
What now ?

[MENTION=4792862]nasheich[/MENTION]

It doesnt worked for us , so what now ?
[Android General] Nasheich Xfiles:
not in this thread, discussion thread about cm11 for your device
[Android General] GSDUOS:
OH sorry

this one ? http://xdaforums.com/showthread.php?t=2781437
[Android General] :
thread update with video streaming bugs....
[Android General] Zeroemd:
Thank you for taking the time to write this guide.

But I have a problem: I am trying to port Nameless ROM (cm base 4.4.3) from Galaxy sl to motorola Defy (using as base CM11).

Both devices use the same cpu (TI OMAP 3630) and have same resolution but I cannot get the rom to boot, it doesnt get to bootanimation.

Any ideas?
[Android General] Nasheich Xfiles:
No clues, sorry...
[Android General] dukenukem32:
So what's the point you are not helping us
[Android General] FrancoBaz:
All perfect, but installing the ROM I removed the baseband which may be?

I'm using google translator
[Android General] Nasheich Xfiles:
I'm sure you'll not get corruption download this

that's for your BAM project ;)
[Android General] Nasheich Xfiles:
thread update with a little descriptions...
[Android General] xxAirwickxx:
Don't have a lot of time so might try this lol
[Android General] :
[MENTION=4792862]Nasheich Xfiles[/MENTION]

You can add to this guide information about copy and paste 3 files from base to port:

-libandroid_runtime

-libandroid_servers

-libmedia_jni

if bootloop will appear :)

Wysłane z mojego LG-P760 przy użyciu Tapatalka
[Android General] androidrouen:
Hi before losing my times XD is there any possibility to port these rom correctly http://xdaforums.com/showthread.php?t=2724435

on i9505 using ur amazing thread ? ^^ i don't get i9505 so is there in da place any crazy tester XD

Nb/ weeks ago i booted it on my girlfriend phone but was laggy to the death, any way to repair if i post it ? (file is in my other home)
[Android General] Nasheich Xfiles:
not sure, i never got lucky porting manufacturer rom, this guide should works to port any custom roms base on AOSP or CyanogenMod, not stock rom...
[Android General] androidrouen:
ok thanks ^^ in fact i get it boot some weeks ago but is was not good, just a laggy phone looking s5 lol no way ^^ thanks any way :)
[Android General] agushack:
[MENTION=4792862]Nasheich Xfiles[/MENTION]

bro,, i can't play mp3 files, and adb not connected (no popup (android debug) appear in my android when i plug usb into my pc) but nvm with adb :)

then which library i must copy from stockrom,,, and FYI my stockrom running android 4.1.2 (aosp based i think :) ) and my port rom is 4.2.2 (cm10.1) is this possible to copy library from my stockrom, i try copy library like lib*sound.. but certainly ended with bootloop.. thanks
[Android General] Nasheich Xfiles:
4.1.2 and 4.2.2 is different Android version and android API level, you have to use the same one
[Android General] Black_Eyes:
Unable to Port Xperia Overlay Rom (CM11 Based)

I have followed the thread Correctly :(
[Android General] xxAirwickxx:
Where are the adreno drivers located. There are a few 4.4 ROMs for my phone but only 1 can play games. I want to see if I can just copy them over to make games work
[Android General] Nasheich Xfiles:
link me to your rom base and rom port...

system/lib/module

or

system/vendor/bin
[Android General] xxAirwickxx:
thnx will try that instead of porting other roms for now since there is a few
[Android General] MT27i:
Hmm, Xperia Overlay is based on AOSP bro. Not CM11,

Btw, I can't port it too :p

Tried several methods but no luck :(
[Android General] Nasheich Xfiles:
you can port any custom rom, AOSP or CM

I've ported many AOSP rom(Mokee, PA, SlimKat, & PAC man) using CM11 as a base...

just make sure you've read all the "RULES"...
[Android General] MT27i:
Xperia Overlay developer said, its ROM is only works with the default ROM kernel (Included in zip one) and will not works on other kernel.

Btw, nice guide om ;) Porting sekarang bisa pake hape, lol :silly:
[Android General] tigeer:
Thanks!!!
[Android General] Nasheich Xfiles:
we'll see ;)

no need to say THANKS, just press it ;)
[Android General] boyriot:
Thank you :good:
[Android General] Nasheich Xfiles:
thread update with a little information to solve bootloop problem....
[Android General] Nasheich Xfiles:
For porting MIUI Kitkat, you need to unpack boot.img from both roms, then do these

- Copy paste init.miui.rc from rom port to rom base ramdisk folder

- Open init.rc from both roms, then compare it, there's some line you need to be edited...
[Android General] KakarotoID:
Hay, iam confusing at this point

2. Forget about screen sizes(4, 5, or 7 inci), the important is screen DPI(pixels destiny) you can port rom from tablet or devices that have bigger/smaller screen sizes

example

> LDPI & LDPI

> MDPI & MDPI

> HDPI & HDPI

> xHDPI & xHDPI

> etc

can i port rom with difference Screen sizes? or must same screen size?

Sorry for my bad english.. Thx before
[Android General] Nasheich Xfiles:
yes you can, you can port 4" rom to 4,3" or 5" rom, just make sure it has samw screen DPI ...

No need to say THANKS, just press it ;)
[Android General] KakarotoID:
ok thank you :good:
[Android General] :
Thanks for the write up. Easy to follow
[Android General] sugarkane87:
Nice share bro, maybe I'll try this later. Since I' ve never doing this kind of stuff, so my question is, my device bootloader still locked ( by manufacture ) and can we do this with bootloader locked or it has to be unlocked first?
[Android General] DedeDocil:
Stuck at bootsplash

Hi, sir thanks for the guide, im searching for device that have a miui KitKat rom with same chipset with my Xperia L but i cant find it, as u said in xperia L group i can port TI OMAP to Qualcomm so i try to port MIUI u've ported to ur LG L9. my phone stuck at bootsplash but the phone conected to ddms (see attachment).

NP. i use boot.img that u've uploaded on xperia L group, coz i cant find init.rc on my boot.img when extrack it using Android kitchen

Recomended phone for porting please? :D
[Android General] Nasheich Xfiles:
it's depends on your base rom, if its need unlock bootloader, then your ported rom need it too

you have to extract again file called ramdisk.xxx using winrar, init.rc is inside it...

work together with "koplak" at Xperia L group, i was give him init.rc that has been modified...
[Android General] Benelshaddai:
Thanks

I just want to say thank you for guide. I have ported two different ROMs, Lava 405 and Canvas 2 to my Tecno N7.
[Android General] Nasheich Xfiles:
no need to say thanks, just press it
[Android General] CodeZero:
i hve tried this method but it is stuck on the manufacturer logo u told to take port rom from another devices that also tried than to stuck in the manufacturer logo what to do ...i have tried many a times than to it is stuck in the manufacturer logo :(

thankx in advance ..
[Android General] youngAvJ:
can I port omni rom 4.4.4 , using cm11 4.4.4 as base.
[Android General] Nasheich Xfiles:
What's your device and which device you wanna port ?

yes, you can :)
[Android General] CodeZero:
My device is xperia L and I wanna port from xperia U...
[Android General] Nasheich Xfiles:
re-read my guide again, make sure you didn't miss something, you should can port rom from xperia u, or as alternative, try to find another devices. ..
[Android General] AlphaBeta:
how to repack

Any idea how can we repack the ramdisk.cpio file after editing it?
[Android General] youngAvJ:
bootloop

ported omni rom 4.4.4 , base rom is cm11 4.4.4 ,

and it's stuck in omni boot logo.
[Android General] Nasheich Xfiles:
that's still be my homework, I never have xperia device, and I still don't know what to do to unpack and repack it, I'll update my guide, cause I'm planning tp buy xperia device. ..

did you replace storage-list.xml ?

Omni needs it...
[Android General] Nasheich Xfiles:
make sure you replace it using apktool,
[Android General] wait4me2burn:
tryed this guide for porting over a 4.4.4 aokp rom from tab 2 to a cm based 4.4.4 for the tab 3 cant seem to get it to install the .zip using this guide....:S im sure im doing something wrong or missing something simple. any ideas on what to do? maybe what i should be checking?
[Android General] AlphaBeta:
Well i did it thankyou anyways :) simple linux commands do the job
[Android General] juristokrat:
Thanks for your guide but i have a problem. I ported carbon,pa etc. succesfully but browsers aren't working . Stock,opera,dolphin,puffin...all of them.base rom is htc pico cm11. Any suggestion? Sorry for poor english

HTC Explorer A310e cihazımdan Tapatalk 2 ile gönderildi
[Android General] Nasheich Xfiles:
what's exactly your problems?

i don't understand :confused:

Can i do it on windows?

cause, i don't have Linux

Try to replace libjavacore.so and libjnigraphic.so with your base...
[Android General] AlphaBeta:
Yes you can do it on cygwin :)
[Android General] Nasheich Xfiles:
yes, i usually use it, but how you repack ramdisk.cpio ?

do you know the "command line" ?
[Android General] AlphaBeta:
find . | cpio -o -H newc -O <target path>/ramdisk.cpio

use this command
[Android General] Nasheich Xfiles:
can you explain me more details please, I'm not understand,

explain me from the start, opening cygwin then what ?

cause i never find option to add that command...

Thank you....
[Android General] AlphaBeta:
firstly extract your ramdisk do all the neccesary changes then open cygwin navigate it to the folder where you have extracted ramdisk then just run this command

by the way can you help me port miui?
[Android General] Nasheich Xfiles:
failed, that script can create ramdisk.cpio, BUT, the ramdisk.cpio is empty, any more clues ?

Edit :
[MENTION=225200]AlphaBeta[/MENTION]

or maybe you can repack it for me, i was uploaded it, the format is "zip", unpack it then repack it to .cpio file system

here is the link

http://d-h.st/PaT

and what i can do to help you ?
[Android General] AlphaBeta:
Well here is your ramdisk :)

http://d-h.st/K7c

and i am trying to port it to xperia L but i can't get it past the sony logo any ideas? what is causing it?
[Android General] Nasheich Xfiles:
Thank you brother...

and for your problem, try to replace libgui.so to get pass manufacturer logo....

or for the complete(my method port at previous device) is replace all libs in system/lib folder except these

Files can moved

Blank bootanimation

Bins

> bootanimation

Libs

> libskia.so

> libgui.so : make can't load bootanimation

Bootloop

> libandroidfw.so

> libandroid_runtime.so

> libandroid_server.so

> libdvm.so

> libhwui.so

> libinputservice.so

> libjavacore.so

> libmediaplayerservice.so

> libselinux.so

> libskia.so

> libsrec_jni.so

Crash

Bins

> Vold : Make can't mount sdcard

Libs

> libaudioflinger.so make/fixed sound of video recording

> libexif.so : make storage/media fc

> new libexif.so to fix camera in android 4.4.3

> libext4_utils.so causing storage fc if folder ext didn't use from base

> libjnigraphics.so causing Google Chrome FC

> libmedia.so causing fc video recorder

> libmedia_jni.so causing fc systemui, storage, vibration, etc

> libstagefright.so make fc video recording

> libwebviewchromium.so causing fc on some apps

I think it works too on Sony, i was ported MIUI for Xperia M by replacing all those libs and it's booted, but for the other roms, i got blank screen(no image)

Edited :

[MENTION=225200]AlphaBeta[/MENTION]

can you rebuild it?

there's a useless folder(folder "."), it's shouldn't be there, (check on picture)

please delete it then rebuild it

Thank you...
[Android General] AlphaBeta:
well thankyou i will try it :D

and for your ramdisk i checked it up and even extracted it it doesn't have any extra folder

i even downloaded from the link and then extracted no folder name '.' showed up :\

i guess you should try extracting once more?

Edited: hey i tried your method and replaced those files with my base i got it to go past the sony logo but now its stuck at the boot screen with a mi logo and i can't even logcat as my pc doesn't detect it :\

i even ported the xperia m rom but still no luck :| any idea? what issue?

Edit2:i got the logcat also

here it is

http://speedy.sh/dbx2w/name.txt
[Android General] Nasheich Xfiles:
Yes it is, but it's bothering the boot.img, it can't be loaded

as you can see here,

there's no folder "." in ramdisk.cpio, i took that picture from the original boot.img

so you must doing wrong with it, please build again...

and for your problem..

did you move 2 libs or those libs?

try to move 2 libs first...
[Android General] AlphaBeta:
That is what i am saying it doesn't have any "." folder

its just showing up in your computer

i prefer you to download it again and then see

i have build it again and its totally same as the previous one

and i first replaced libgui.so it helped me get past the sony logo

but it was stuck on bootscreen i then replaced all of them

but still no chance :\

do you know someone who can help me by seeing that logact?
[Android General] Nasheich Xfiles:
Ok I'm re-download it, i hope i don't see that folder agian :)

For your problem

try to replace libmedia.so with your base...

if still stuck, try this to get logcat

To get logcat on bootloop, in boot.img, replace this line inside default.profile

ro.secure=1

ro.allow.mock.location=0

ro.debuggable=1

persist.sys.usb.config=mtp,adb

and add these line to build.prop

ro.debuggable=1

persist.service.adb.enable=1
[Android General] AlphaBeta:
Thanks a Lot again

btw the logcat i pasted isn't complete?
[Android General] Nasheich Xfiles:
i was downloaded 4 times, same result, "." still in there, please, rebuild it, i really need it....

Which log ?

you didn't gave any logs... :confused:
[Android General] AlphaBeta:
Ok i will do it again but after i reach home i am at my college at the moment

And the link i gave above has the log file

Check this link:http://speedy.sh/dbx2w/name.txt

Download this text it is the log file only

It was quite big so i couldnot paste it
[Android General] Nasheich Xfiles:
Ok, I'm waiting the next ramdisk.cpio

Your logcat is too long, filter the logcat to WARN/ERROR to make it easier to read...
[Android General] Krizthian:
This guide not working in Moto G :crying: