yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Black_Eyes:
It's in init.environ.rc ;)

Thanks anyways

Also can i port an xhdpi Rom to a Mdpi device?
[Android Software Development] GalaxyUser:
Yeah i'm sorry... Hum you can try but i think you will have some display problems
[Android Software Development] Black_Eyes:
Xhdpi frameworks won't boot on mdpi devices :(
[Android Software Development] CNexus:
It will. But you'll have to resize everything if you once you even get it to boot
[Android Software Development] Omar1c:
Hmm so does this mean I can use a 4.7 inch device as port for a 4.5 inch base?

Sent From My Motorola Moto G
[Android Software Development] CNexus:
Actual size isn't what matters, the resolution is what matters. But if the resolution is different, you will need to resize.
[Android Software Development] Omar1c:
Kk thanks cnexus

Sent From My Motorola Moto G
[Android Software Development] Genuwine1976:
sense 5.5 android 4.4.2

I am currently porting the new sense 5.5 android 4.4.2 rom from the htc one mini to the htc evo 4g lte. My problem is that It flashes and it boots to the boot animation but that is as far as it gets and logcat won't work for the life of me.. any help is much appreciated... If I can get logcat working I can post some screens of it to seen what is wrong... HHHEEEEELLLLPPPPP:crying:
[Android Software Development] GalaxyUser:
is there something when you do "adb devices" ? Or your device is undetected
[Android Software Development] Genuwine1976:
Just says waiting for devices

my base is CM11
[Android Software Development] Genuwine1976:
Can you help me get logcat working
[Android Software Development] pandasa123:
Drivers need to be reinstalled
[Android Software Development] Genuwine1976:
Just installed the new ones
[Android Software Development] Black_Eyes:
But what to resize ,

Just PNG's or dimens.xml and layout too ?
[Android Software Development] Genuwine1976:
ok i got it to show phone but it says offline....
[Android Software Development] GalaxyUser:
Ok so you have to decompil boot.img and do some changes:

open default.prop and change

ro.secure=1 to ro.secure=0

ro.debuggable=0 to ro.debuggable=1

persist.sys.usb.config=mtp to persist.sys.usb.config=mtp,adb

ro.adb.secure=1 to ro.adb.secure=0

Repack kernel and flash it
[Android Software Development] CNexus:
Just a heads up. But it's probably best to use a sense kernel since you guys actually have one.

---------- Post added at 09:59 AM ---------- Previous post was at 09:59 AM ----------

Those 3, yes
[Android Software Development] Black_Eyes:
But how can i know what's exactly values fits in Dimens.xml ?
[Android Software Development] CNexus:
Trial and error.

That's why people say you should find a device with the same resolution, that way you save yourself the trouble of resizing.
[Android Software Development] Black_Eyes:
Can anyone here Explain how to PORT Sony's Roms :( ?

This guide is not for Sony :(
[Android Software Development] GalaxyUser:
Why ? Just try it

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Android Software Development] Black_Eyes:
Most of the files are not available that you mentioned in the thread :(
[Android Software Development] acermedo:
Awesome guide can't wait to try it :D
[Android Software Development] Omar1c:
How to unpack kernel.elf? Trying to port z1compact kitkat rom to moto G .

Edit: figured it out

Edit 2: So i zipped it flashed it then rebooted my phone i saw my boot logo for a second then it went into fastboot

then it said "fastboot reason fall through from normal boot mode" could this be a boot.img problem or kernel?

help is appreciated thanks in advance.
[Android Software Development] princemouli:
Does this guide work for mtk devices....

My device does not have custom roms

Can anyone help me in finding correct rom to port to my device ....

And my device is celkon A97i

procesor : Cortex A9

chipset : mtk6575

screen resolution : 480x800

android version : 4.0.3

no of sims : dual sim
[Android Software Development] Omar1c:
Keep getting this error :/ on two different ports Edit: make that 3 different ports :( Edit:4... I would give out a logcat but I cant do adb logcat in fastboot
[Android Software Development] Adizzzle:
Didn't work Porting ColorOS to my S4
[Android Software Development] blafree64:
I have a HTC first with no custom roms. Can I use sense 5 4.1 from HTC one x to port.
[Android Software Development] GalaxyUser:
ColorOS is already on S4, right ?

Yeah i should work
[Android Software Development] CNexus:
The HTC First has a sense 4 rom, you should use that as a base instead of aosp
[Android Software Development] Omar1c:
Can I use a port of a port as in since the htc Evo 4g lte got a port of sense 6 can I use that to port sense 6 to my moto G since they have the same screen resolution?
[Android Software Development] aureljared:
Take the hardware specs into account too.
[Android Software Development] Nonta72:
How can your signature be so Long ? Huh ???

Sent from my GT-P5210 powered by AmatROM HD
[Android Software Development] GalaxyUser:
Why not ? :)
[Android Software Development] Nonta72:
Because I made a long one than XDA refused to allow because it was too long :(

Sent from my GT-P5210 powered by AmatROM HD
[Android Software Development] GalaxyUser:
I'm using goo.gl to reduce size of link
[Android Software Development] Nonta72:
Brilliant :good:

Sent from my GT-P5210 powered by AmatROM HD
[Android Software Development] blafree64:
Could I use HTC first stock ROM for base sense 4+ Bluetooth not working
[Android Software Development] 9282gkg:
I want to port xperia z 4.3 ROM for my galaxy s3 can I use any touchwiz ROM made for s3 as a base instead of cm ?
[Android Software Development] GalaxyUser:
Only same Android versions are required

Use CM or Aosp, TW base will not work

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Android Software Development] :
on S4 4.4 KK it's init.environ

:angel:
[Android Software Development] fabioio:
I'm having the same problem! But i can't figure out what is wrong!

Edit fixed!
[Android Software Development] :
How did you fixed?
[Android Software Development] Adizzzle:
Porting Flyme OS 3.5.1 with the help of a friend will post results here after I flash this bad boy!
[Android Software Development] :
[MENTION=2623456]GalaxyUser[/MENTION] or other dev

Me and other devs tried a lot but it seems we have a problem with boot.img

Can you help to make sense boot on moto g?

Here there are the kernels

http://www.androidfilehost.com/?fid=23329332407585941

Inviato dal mio Moto G utilizzando Tapatalk
[Android Software Development] tommypacker:
Galaxyuser, did you use this guide to port Sense 6 onto the Nexus 5?
[Android Software Development] Tazerick:
Hello, thanks for nice guide.

Tried to port SII to Galaxy W.

Now I need help, got black screen after flash, but after some minutes buttons are on
[Android Software Development] UltraGamerHD:
Hi

Kinda New to MIUI Porting!

1) RIL (GSM) Does not Work, I have replaced RIL in framework.jar and edited PhoneFactory.smali and com.android.phone constantly Force Closes, eventually I get Carrier Name in the Right Hand Corner and No Signal and Phone app stops force closing.
[Android Software Development] KingUsman:
What have you ported miui to?
[Android Software Development] UltraGamerHD:
From Xperia J to Xperia E!
[Android Software Development] aureljared:
Can anybody provide me with a link to a zipfile containing /system of the Galaxy Ace 3? Thanks
[Android Software Development] rahul.pipaliya007:
hey,,,can any one tell me..that..if i directly COpy-pase..System kernel...My ported Rom will boot?
[Android Software Development] mikalovtch:
Port Touchwiz from SGS4 to HTC One

Hey. I'm trying to port Touchwiz from SGS4 GT-I9505 to HTC One but the phone is not loaded. I was able to get a logcat. And there is an error. Could someone give advice on how to solve these errors

E/HAL ( 447): load: module=/system/lib/hw/hwcomposer.msm8960.so
E/HAL ( 447): dlopen failed: could not load library "libmedia.so" needed by
"hwcomposer.msm8960.so"; caused by could not load library "libcamera_client.so"
needed by "libmedia.so"; caused by cannot locate symbol "_ZN7android10VectorImp
l19reservedVectorImpl1Ev" referenced by "libcamera_client.so"...
E/SurfaceFlinger( 447): hwcomposer module not found
E/SurfaceFlinger( 447): ERROR: failed to open framebuffer (Operation not permit
ted), aborting
F/libc ( 447): Fatal signal 6 (SIGABRT) at 0x000001bf (code=-6), thread 447
(surfaceflinger)
[Android Software Development] DavidovDI:
Error

I make all your steps. Trying to port - Sprint HTC One 4.3 Rom to Sprint SGS3 4.3 (cm10.2)

For flashing use TWRP latest version.

But flashing error.

My English is so bad, but I want to het any help)

Thank you.
[Android Software Development] GalaxyUser:
Hi,

I don't know. Perhaps you can post a recovery log. This one is usually located in /tmp/recovery.log

grep for '' _ZN7android10VectorImp

l19reservedVectorImpl1Ev'' and see which files you need to replace

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Android Software Development] DavidovDI:
​

In the rar ))
[Android Software Development] Hajime:
need help

how do i open rc files when i extracted the boot.img? pls tell me
[Android Software Development] reversegear:
Use notepad++ it is a free software

Imp : Don't use wordpad
[Android Software Development] Hajime:
im using ubuntu
[Android Software Development] Kingzak34:
Use gedit or equivalent
[Android Software Development] DavidovDI:
Log from CWM.

installing /storage/sdcard1/ROMs/Ported_Sense_2.zip

Finding update package

Opening...

aborted

I:605 Volume sdcard /storage/sdcard1 state changed from 3 (checkng) to 4 (Mounted)

I: /storage/sdcard1: Mounted

I: 200 0 volume operation succeeded

-- Installig /storage/sdcard1/ROMs/Ported_Sense_2.zip

Finding update package

I: Update location /storage/sdcard1/ROMs/Ported_Sense_2.zip

Opening update package

Installing update

Installation aborted

I: using /data/media for /sdcard/0/clockworkmod/.last_installation_path.

I:Can't partition non mmcblk device: /devices/platform/mdm_sdcc.3/mmc_host/mmc1

---------- Post added at 11:54 PM ---------- Previous post was at 11:42 PM ----------

Can anyone tell me anything?
[Android Software Development] Hajime:
ok thanks for the reply where can i find the equivalent i cant find in the software center
[Android Software Development] Kingzak34:
sudo apt-get install gedit

Tapatalké depuis mon Nexus 4 MIUI !
[Android Software Development] Hajime:
gedit doesnt open the init.rc
[Android Software Development] reversegear:
Problem is with the updater script..plz check again
[Android Software Development] mikalovtch:
Thanks for the advice. This problem has been resolved, but now there is an error:

D / qdoverlay (200): initoverlay :: opening the device :: / dev/graphics/fb0

D / qdoverlay (200): initoverlay :: opening the device :: / dev/graphics/fb1

D / qdoverlay (200): initoverlay :: opening the device :: / dev/graphics/fb2

E / qdexternal (200): setSPDInfo: file '/ sys/devices/virtual/graphics/fb1/vendor_name' not found: ret =-1err str: Permission denied

E / qdexternal (200): setSPDInfo: file '/ sys/devices/virtual/graphics/fb1/product_description' not found: ret =-1err str: Permission denied

F / libc (200): Fatal signal 11 (SIGSEGV) at 0x0441f0dd (code = 1), thread 200 (surfaceflinger)

I / ServiceManager (190): service 'display.qservice' died

What can they be related?

Full logcat https://www.dropbox.com/s/xqdxf4w1afiggr4/logcat3.txt
[Android Software Development] GalaxyUser:
I/DEBUG ( 198): be8e96bc b66e6889 /system/lib/hw/hwcomposer.msm8960.so (qhwc::initContext(hwc_context_t*)+1044)

On which device are you porting ? And from which device ?

You can try to replace

libqservice.so

liboverlay.so

libqdutils.so

libexternal.so
[Android Software Development] mikalovtch:
From SGS 4 GT-I9505 to HTC One M7

Update: I replaced the files that you advised. Now I got a logcat: https://www.dropbox.com/s/xx3isyy432l6sum/logcat03.txt Do I understand that the error associated with drmserver and libexternal.so? And how it can be solved.
[Android Software Development] linhbs:
Too great a guide. Thank Pro
[Android Software Development] CB620:
How do i repack/recompile my boot.img?

I have the folder boot.img-ramdisk and zImage

I'm using Windows 7.
[Android Software Development] Servine:
Hi, I'm porting LG UI 4.4.2 from LG G2 to Nexus 5, The boot animation shows up and the charging light is turned on. Well, the ROM appears to be stuck on boot animation. Also, I can't logcat (I'm using MultiROM, not sure if its the cause of the problem). Can you help me? Thanks :)
[Android Software Development] calikevin:
Thanks for the guide, gotten me farther than anything else.

I just tried porting an M8 ROM to my HTC Vivid and I get an error when flashing, this is what the recovery.log says-

minzip: mmap(1169393295, R, FILE|SHARED, 19, 0) failed: Out of memory
minzip: Map of '/sdcard/ROMs/goldeneye_holiday_05-09-14.zip' failed
E:Unable to open zip file.

Is the ROM too big to fit on my devices internal storage? Is there something I can change to make it work?
[Android Software Development] Myself5:
Indeed it seems to be. Maybe there is a way to make your system partition bigger ? I know I could to with a .pit file on Sammy phones.
[Android Software Development] Nasheich Xfiles:
how we do the logcat if the stuck on bootanimation?

DDMS doesn't help me too
[Android Software Development] MT27i:
Yes, how to do it?

I'm porting 4.4.2 ROM and can't take logcat :(
[Android Software Development] Servine:
You can logcat if you're stuck in the boot animation. But you can't logcat if you're stuck in the splash screen.

If you're on bootanimation and can't logcat please make sure that you've correctly modified the boot.img of your ROM (in default.prop of your boot.img please make sure that ro.debuggable is set to 1, ro.secure is set to 0 and ro.adb.secure is set to 0)
[Android Software Development] MT27i:
Eh, can you modify my kernel? I can't do that because i'm using windows.

Here is the link, https://www.dropbox.com/s/s0ucaigyhnjrwy3/kernel.zip
[Android Software Development] Servine:
I use Windows too, and I can do it. I use Android Image Kitchen to unpack and repack the kernel. Here's the link: http://xdaforums.com/showthread.php?t=2073775
[Android Software Development] MT27i:
Tried to unpack boot.img via dxisda android kitchen and other tools, but error everywhere.

Android magic header not found bla bla :(
[Android Software Development] Servine:
I've tried unpacking your kernel and I'm having the same issue, sorry that I can't fix :'(
[Android Software Development] DyslexicTurtle:
Any luck with touchwiz on nexus 5....my reason is because I need my gear fit to work completely!!??
[Android Software Development] MT27i:
Ok thanks, it can't works on xperia P,U,sola & go. Don't know why,
[Android Software Development] Servine:
There's some guide on the internet on how to get gear fit working w/ any phone
[Android Software Development] DyslexicTurtle:
I know I was just wondering if there was any progress because I want every feature to work idk just an idea
[Android Software Development] Mustafa Mubashir:
can i use 4.1.2 aosp based rom to port 4.1.1 jb sense rom?
[Android Software Development] DyslexicTurtle:
nexus 5 multirom

i will try to attempt on making an ASOPA and TouchWiz port i was wondering if multirom would work and would the touchwiz rom have a seperate build.prop than the ASOPA rom that i will use right now without multirom.....i have a custom rom right now and will use the newest version of that with the touch wiz rom to port to nexus 5 but use both with multirom

sorry i might sound confusing....(i know i kinda do to my self)

thanks
[Android Software Development] pandasa123:
Well first of all, I don't think it'll be possible that ALL features will work. That takes a lot of knowledge and time. Next, focus on getting the touchwiz port working first. Multirom comes later...no point of multirom if you can't even get it working
[Android Software Development] Hajime:
how do i recompile a boot.img?
[Android Software Development] pandasa123:
Use kitchen
[Android Software Development] Hajime:
i dont have the option to recompile
[Android Software Development] Servine:
In Android kitchen it's a called repack boot.img
[Android Software Development] Hajime:
yes but i only says a to extract x to exit
[Android Software Development] pandasa123:
The folder must be called BOOT-EXTRACTED
[Android Software Development] dhinesh77:
hi, i am trying to port cm10.1 rom for galaxy pocket neo duos....

now the rom can able to show bootanimation but stucked there..

F MediaProfiles: frameworks/av/media/libmedia/MediaProfiles.cpp:332 CHECK(quality != -1) failed.

full log is here

how to fix this error ?

thank you in advance
[Android Software Development] pedroleon99:
@up this guide is only for MANUFACTURER rom (toucwiz,sense etc)not for cyanogen or aosp. Read the OP next time and go to the correct thread

Inviato dal mio GT-I8160 utilizzando Tapatalk
[Android Software Development] Hemantparmar:
OK i am starting a port of s5 to note 3 for my n900. Wished me luck . 1 question i wanna ask....... how to modify kernal?

---------- Post added at 11:40 PM ---------- Previous post was at 10:43 PM ----------

The do not replace anything mention in step 8 should be followed in 9 and 10 also??????
[Android Software Development] the-bomber:
hey ! thanks for the guide :)

i'm stuck at bootanimation !

(didn't edit the boot.img)

can't extract it :/ tried kitchen.... (magic header not found...)

any help ?

device : galaxy S2

cm10.1 kernel

greets...
[Android Software Development] xboxfanj:
Which Ril files have you tried?
[Android Software Development] cbrown245:
All that are in that file
[Android Software Development] xboxfanj:
Try using the Ril binaries from the DNA and see what happens. Or you can do a radio log cat to see what to fix.
[Android Software Development] cbrown245:
I am not sure how to do a radio logcat but here is my logcat , I dont exactly know what Im looking for

https://www.dropbox.com/s/ev34jdzoylvdbke/New Microsoft Word Document.docx

Thank you,,,,, Hit me up on Gtalk ,, cbrown0245
[Android Software Development] CNexus:
Pastebin.com dude.
[Android Software Development] bluewait:
Hi,

I used this introduction to port nexus s's Baidu ROM to my galaxysl i9003,and it boots:good:

but a problem is that the screen is freeze.I touch the screen but nothing happened:confused:The screen didn't response .

I try a different port with this introduction and I get this loop when use the ns' libandroidruntime.so

I/Netd(1559): Netd 1.0 starting
I/Netd(1585): Netd 1.0 starting
I/Netd(1608): Netd 1.0 starting

and no bootanimation

when used the 9003 base libandroidruntime.so,it has bootanimation but bootloop,the logcat is something like this

E/dalvikvm( *100): ERROR: couldn't find native method
E/dalvikvm( *100): Requested: Landroid/view/GLES20Canvas;.nStartTileRendering:(IIIII)V
E/JNIHelp ( *100): RegisterNatives failed for 'android/view/GLES20Canvas', aborting

can you give me some suggestions,Bro.

Thanks!

Sorry for my english:p
[Android Software Development] GalaxyUser:
You need to decomil framework.jar and to add the native method ".nStartTileRendering:(IIIII)V" in the file 'android/view/GLES20Canvas then recompil and test again.
[Android Software Development] osmosizzz:
I want to try this to port the Samsung galaxy s4 touchwiz to the Oppo find 5 since they are similar in hardware but I'm a total noob in building and compiling. I think I'm going to jump on this though and see where I go from here

Sent from my Oppo Find 5
[Android Software Development] quantan:
Is it possible to port Sense rom without building from code? I only know something about compile /decompile apk, jar, ramdisk. I'm trying porting Sense 5 :D
[Android Software Development] DubelBoom:
Sounds to simple for me...

Am I wrong? Or it will make the rom to boot (maybe after more few changes) and then there will be a lot of bug fixes? (talking about porting sense to note 2)
[Android Software Development] xboxfanj:
Sense is not open source, so you have to deal with binaries and decompiling jars and apks rather than building from source.
[Android Software Development] quantan:
Thank you. Start porting sense 5 now. Hope every thing will be OK. :laugh:
[Android Software Development] CNexus:
It will not MAKE the rom boot, but it will probably help our get you relatively close. And yes, a lot of bug fixes after that (when it actually boots)
[Android Software Development] aazzam16661:
So this is my logcat, of sense 5 port, anybody?

http://pastebin.com/Vzq9YL3N

Thank you for your help. :D
[Android Software Development] csmiler:
So, in essence , I could use paranoidandroid as a base, and have touchwiz enhancements? Like Smart Stay, swipe screenshot etc?
[Android Software Development] xboxfanj:
That's not really how this guide works. This is for porting full ROMs, however, it would be possible, albeit hard, to port touchwiz enhancements to pa.
[Android Software Development] GalaxyUser:
it's not possible

This will make the rom to boot but each device is different for bugfixes
[Android Software Development] csmiler:
Darn, thanks!
[Android Software Development] Hellscythe:
just curious, what are you porting sense 5 to? : O
[Android Software Development] xperiasblack:
With this metod can i port stock 4.1.2 to aosp 4.2.2 or later?
[Android Software Development] pandasa123:
try a logcat
[Android Software Development] taaeem:
Hey Guys I tried my first time to port a ROM.

So what happend:

I tried to Port this ROM http://xdaforums.com/google-nexus-5/development/port-flymeos-3-6-1a-kk-4-4-meizu-mx3-t2743368

With this ROM as base http://xdaforums.com/showthread.php?t=2673839

And I'm now stucked at the bootlogo. No Bootanimation at all all it does is after sometime to reboot itself to recovery. I can't take a logcat because I don't see the bottanimation. Any ideas or help?
[Android Software Development] pandasa123:
kmesg in recovery. the kernel hasn't loaded fully
[Android Software Development] taaeem:
Do you mean dmesg? And just do that via adb while in recovery?
[Android Software Development] pandasa123:
No a kmesg because I think your kernel hasn't loaded properly, thus no boot animation. And yeah with adb
[Android Software Development] taaeem:
Can you give me a guide on how to do that?
[Android Software Development] pandasa123:
I would but there's already a really good one. Just Google it. It would be a lot more helpful than anything I tell you
[Android Software Development] Junaid1460:
my device is galaxy note gt-n7000:o

i want to port official galaxy note 2 kitkat firmware:cowboy:

i have official update of android 4.1.2 jb:(

and having official cm11:D

while porting which should be my base:eek:

which kernel to use:confused::confused::confused::confused:
[Android Software Development] Hemantparmar:
http://xdaforums.com/showthread.php?t=2766764

Have a loot at this i got this error set_perm_some changes fail in cwm. Help me i did exactly the same step as u mention.
[Android Software Development] justforreply:
Probably in a script error (incompatible model), try editing script.
[Android Software Development] Hajime:
i get bootloop when trying too boot i have logcat here https://docs.google.com/file/d/0B1RluiRgLVtKUTFPU3hvNGN2RkE/edit pls help me
[Android Software Development] Junaid1460:
you need to use latest cwm 6.0.4 atleast
[Android Software Development] udhayababu:
Suggest Me Friends ..............

I am a noob , sorry if my idea was wrong so please suggest me guys

my doubt is " CAN WE USE OUR STOCK ROM AS A BASE ROM FOR PORTING"

i.e Stock Moto e rom (android 4.4.2) as base to port sense ???

please suggest me guys , , , , , ,

am sorry if i asked stupid things :(
[Android Software Development] startracker:
No
[Android Software Development] Punka-res.apk:
Hi everybody !!!

Trying to port Sense6 on the Note 3...

Envoyé depuis mon SM-N9005
[Android Software Development] startracker:
Then port it!