yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] andrman1:
can I port 4.4 to 4.2 ?

Do i need from 4.4 kernel ?
[Sony Cross-Device General] nisu4717:
Read the guide carefully... Plzzzz
[Sony Cross-Device General] Nasheich Xfiles:
yes, you can :)
[Sony Cross-Device General] jerbear294:
Ooh! So we can port kitkat roms to jelly bean devices?
[Sony Cross-Device General] Nasheich Xfiles:
ooo sorry, i think 4.4.2 to 4.4.4...

:D

no you can't, read again my guide...
[Sony Cross-Device General] nithish_cbe:
[MENTION=4792862]Nasheich Xfiles[/MENTION]

Hi bro u give a nice guide I have port one pluse mobile ROM cm11s to my moto e as based on your guide in first post and flash on my moto e I think ROM booted but I Cont take logcat divece not detecting via adb no display on my mobile black screen but I connect on PC the mtp working nice internal and sdcard copy files without any prob but no display please help me bro
[Sony Cross-Device General] jerbear294:
Probably a mismatched display driver. I'd help you fix it but I don't know where to start :confused:
[Sony Cross-Device General] nithish_cbe:
Thanks for replay bro which file to fix display can u suggests please
[Sony Cross-Device General] Black_Eyes:
Only Logcat can help :D
[Sony Cross-Device General] nithish_cbe:
I cont take logcat device not detecting via adb then his can get logcat?
[Sony Cross-Device General] Black_Eyes:
Try replacing adb from base RomSystem/bin/adb

Sent from my using Tapatalk
[Sony Cross-Device General] nithish_cbe:
No use tryed that
[Sony Cross-Device General] Nasheich Xfiles:
lol

it's happened to me too :D

i got blank screen, i still can't figure it out, cause it's my first xperia, and i still learning it, i never had that problem while porting roms on my previous device (LG & Samsung)

do you know how to fix blank screen ?
[Sony Cross-Device General] Nasheich Xfiles:
Can you give me the details what you did to fix soft reboot?

i got same problem, but worse, my rom always Reboot it self after 5 seconds booted to menu...
[Sony Cross-Device General] Black_Eyes:
Which Device you Own?
[Sony Cross-Device General] Nasheich Xfiles:
xperia m...
[Sony Cross-Device General] Black_Eyes:
Mostly lib files are

LibEGL.so

libGLES_trace.so

libGLESv1_CM.so

LibGLESv2.so

Libmemmaloc.so

libmemtrack.so

liboverlay.so (if exist)
[Sony Cross-Device General] Nasheich Xfiles:
Thank you....

I'll try it ....
[Sony Cross-Device General] 0kambiz0:
Great

I started to port a PAC man rom from xperia sp for xperia tx.

why I need dsixda's Android Kitchen to port PAC as you said:
[Sony Cross-Device General] Nasheich Xfiles:
You have to replace bootclasspath inside boot.img, cause even it's booted, you'll get many force close....
[Sony Cross-Device General] 0kambiz0:
Do I need linux to do that?
[Sony Cross-Device General] Nasheich Xfiles:
it's depending on your device, if your device is Samsung or LG, you don't need it,

but if your device is Sony, you'll need it, cause Sony has different files inside boot.img...
[Sony Cross-Device General] nithish_cbe:
Guys I have ported PAC ROM for my moto e ROM booted but systemui fc continued here logcat link please help me

Logcat

www.hastebin.com/lupanufefe.vhdl
[Sony Cross-Device General] allinkiran:
I saw that Nexus 5 got Flyme OS ported and since it uses CM as a base, can I use this guide to port Flyme to Xperia Z1?
[Sony Cross-Device General] Rohan purohit:
hey i too had d black screen problem..tried replacing d files..still same

..im porting aicp to xperia L..

---------- Post added at 04:20 PM ---------- Previous post was at 04:11 PM ----------

hey how did u fix d black screen problem bro?
[Sony Cross-Device General] Black_Eyes:
Logcat Bro?
[Sony Cross-Device General] Rohan purohit:
hey cant take logcat..getting dis error

error: device unauthorized. Please check the confirmation dialog on your device.

- waiting for device -

n ofcourz its on d black screen so.. what to do?
[Sony Cross-Device General] nithish_cbe:
U want to edit randisk default.prop in biot .img

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

Like this
[Sony Cross-Device General] nithish_cbe:
U want to edit randisk default.prop in boot.img

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

Like this
[Sony Cross-Device General] nithish_cbe:
[MENTION=5790433]Rohan purohit[/MENTION]

U want to edit randisk default.prop in boot.img

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

Like this
[Sony Cross-Device General] Rohan purohit:
hey sory man i was out..il definetly try this..thanls a lot bro :)
[Sony Cross-Device General] Vishalkris:
I want to port this phones rom on xperia z

Porting phones spec http://oneplus.net/one#specifications

Ported phones Spec http://m.gsmarena.com/sony_xperia_z-5204.php

Anyone can please respond. I'm trying to port CM11S ROM to Xperia Z
[Sony Cross-Device General] Black_Eyes:
You are Good To Go!

Since CM11S is Very Close To CM11...

Just Copy Delete app, priv-app, framework, fonts, media folder in base Rom and Copy Those folder from Port Rom

Delete Permissions files from your base Rom (system/etc/permissions) and Copy those from Cm11s Rom...

Remember to Replace storage-list.xml in framework-res.apk
[Sony Cross-Device General] Vishalkris:
What about the kernel...?
[Sony Cross-Device General] Rohan purohit:
Hey bro it dint work..infact it kept bootlooping on d sony logo..maybe that method worked for u ..could u explain how that solved display issiue or was it for logcat?
[Sony Cross-Device General] nithish_cbe:
I am also faced that prob after editing kernel

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

Use this tool to edit boot.img this tool works for me try it
[Sony Cross-Device General] Nasheich Xfiles:
replace bootclashpath in your base with your port

just try it

you'll never know if you're not trying

replace libmedia.so to fix black/blank screen after bootanimation

use kernel from your base of course

never use kernel from the other devices
[Sony Cross-Device General] Vishalkris:
But do I have to make any changes in the base kernel by unpacking and repacking it?
[Sony Cross-Device General] Rohan purohit:
Hey it dint work..I'm porting from xperia m ROM

.u have d device right? L and m are almost similar..still d problem..pls help
[Sony Cross-Device General] Nasheich Xfiles:
Depends on the rom you wanna port

Read again my guide, some roms need to edit boot.img and some roms not

M has krait CPU and L not

don't port rom from krait device to un-krait device

but, you can port rom from un-krait device to krait device...
[Sony Cross-Device General] Vishalkris:
It's cm11s ROM which is peculiar for OnePlus One phone thats why I'm worried
[Sony Cross-Device General] allinkiran:
I tried and it gets stuck in bootscreen. Could the kernel be a problem?
[Sony Cross-Device General] Rohan purohit:
A guy ported miui to l from xperia m..n im getting black screen from rom of another device..

Its some other problem..what els cud cause that..?
[Sony Cross-Device General] Nasheich Xfiles:
no need to edit boot.img i think

but i can't promises it will boot also

just try it...

black screen aftee bootanimation or after Sony Logo?

if after Sony logo, replace these libs with your base

> libgui.so

> libskia.so

> libselinux.so

if after bootanimation, just replace libmedia.so
[Sony Cross-Device General] Superwitschi:
I ported Miui rom everything works fine but when i make a call i get distorted voices like Mikey Mouse. Can`t understand anything, but when i switch Network to 2G then i have no distorted voices, everything is fine with calls (3G and 4G can`t understand 2G everything is ok). Please help!!
[Sony Cross-Device General] Tech N You:
Hey bro nice TUT but wondering if this'll work for stock deodexed ROM and my device has no CM or AOSP
[Sony Cross-Device General] Nasheich Xfiles:
check your framework

nope....
[Sony Cross-Device General] Superwitschi:
And what should i check in framework?
[Sony Cross-Device General] imdkiller:
First of all nice guide :)

theres a question. if we port a rom like this, then the new rom contains all the bugs of the base rom right?

now, suppose the base rom is updated and become bugfree.

then how to apply those changes on the rom that we have ported previously?
[Sony Cross-Device General] luistro:
Black screen after Samsung logo lead on and random vibrations port miui v 5 to gpe base
[Sony Cross-Device General] AD LoC:
CM12?

Can i try this on CM12?
[Sony Cross-Device General] abhishekr700:
Can you port kitkat for xperia c which runs on 4.2.2
[Sony Cross-Device General] NexusGTS:
how can we port the official rom from z3 to z1? Can you update the img please , some are brok :)
[Sony Cross-Device General] Arun VErma:
Bro i was trying to port a kitkat rom but the camera isn't working how do i do it
[Sony Cross-Device General] Asenk Komputer:
can i port rom from device that have bigger DPI? ex. my device DPI is 245 and the port rom is 319 dpi?
[Sony Cross-Device General] phamtlsoft:
I have followed your guide to port MIUI V5 for HTC816. Everything work well, but it couldn't detect SIM card. What should i do to fix it. Thanks in advance
[Sony Cross-Device General] mangomonkey00:
porting a specific lib or driver

i want to port the opengl 4.5 capability of nvidia sheild tablet to nexus 9 as both these devices have same gpu kepler k1 opengl4.5 is activated on nvidia's device where as it is disabled on nexus 9 by google which is causing incompatibility with some tegra specific apps can anyone help

i think i have to port libgl.so for that but i have no idea how to do so
[Sony Cross-Device General] Nasheich Xfiles:
try to replace libs related to camera in lib folder

or replace storage-list.xml in framework-res.apk

it's related to framework, you have to compile telephony framework
[Sony Cross-Device General] david pro:
What if we have no ROM base? Only Sony Stock ROM that too older android version!:confused:
[Sony Cross-Device General] Kizoky:
I replaced the files you mentioned but I still don't have Sound and Wi-Fi

I'm using Sony Xperia E1 (ROM base is Kitkat 4.4.2; Port is CM 4.4.4)
[Sony Cross-Device General] darklord18:
Hey i have a t2 ultra dual.m trying to port miui v6 from redmi 1s.which has same specs like t2 Ultra..i have followd ur guide and m using cm11 as base..bt device cant pass the bootanimation screen..i had conect it to laptop and in device manager it says device is connected and working properly..plz help

Sent from my D5322
[Sony Cross-Device General] Andrei Radu:
Hello! Can port this; this or this to my device?? I really want to have a MIUI Rom for this device (i'm not a developer, i don't know about compiling and stuff like that.... But, from what i see in you'r guide, it's not looking so hard)

EDIT : Frogot to say base is CM11
[Sony Cross-Device General] Nasheich Xfiles:
don't ask "can i" or something like that, just try it, you'll never know if you're not trying.

you're getting close, maybe you miss something, like replacing .xml storage with your base, add/modifying kernel/boot.img, just make sure you have follow all my instructions. ;)

Build rom from the source :p
[Sony Cross-Device General] -Chaz-:
Hello, great guide!

I have a question:

I am trying to port a MIUI Rom - but in the PORT ROM, there is only a zImage in the boot.img, no ramdisk folder or other stuff.

Can I replace just the boot.img from BASE ROM to PORT ROM in this case?

Thx in advance
[Sony Cross-Device General] masteriori:
Can someone please help me port some of the CM12.1 apps to Sony 5.1.1 (deodexed, custom rom)?

Many thanks
[Sony Cross-Device General] elkhshap:
my phone cpu is snapdragon 410 msm8916

can i port snapdragon 400 rom

same core and ram and rom but the deferent is in cpu

hope to can do it
[Sony Cross-Device General] Nasheich Xfiles:
find in system folder, should somewhere inside it, maybe in etc folder, or the other folders.

wrong place.

yes, you can port different cpu type or brand, just make sure it have same core capacity.
[Sony Cross-Device General] Divyansh747:
hey anyone here please help me i ported MIUI for yu yuphoria but sound bug is their

back speaker not working when i increase voice volume very low sound comes from front speaker unsure emoticon

how to fix this bug??
[Sony Cross-Device General] syria-droid:
sir plz

how to do this with rom stock 5.1.1 to cm12.1 or cm 13

please
[Sony Cross-Device General] :
Why this thread is still not closed?
[Sony Cross-Device General] Glancealot:
All the other steps are easy to follow, but can you please include some pictures for this tep?

5. Go to system/framework

> Open framework-res.apk

> Go to res/xml

> Replace storage-list.xml with your rom base

---------- Post added at 06:20 AM ---------- Previous post was at 05:55 AM ----------

Ok i figured it out. it is much easier with winrar.
[Sprint Samsung Galaxy Note 3] Blipstein:
I don't use it for any reason. I don't have auto upload for pics on or anything. I've been off of my charger for 2 hours and it's responsible for 33% of my battery depletion.

What can I do to prevent this?

Thanks View attachment 2871236
[Sprint Samsung Galaxy Note 3] juan91:
Uninstall it or turn it off ☺
[Sprint Samsung Galaxy Note 3] micmars:
The app is a nightmare for me. Turning off sync, disabling notifications, etc, and it just sucks the life from the device.

When I need it, I hit it from the Web.
[Sprint Samsung Galaxy Note 3] Blipstein:
juan, as you know you can't uninstall Google + from the device. I could disable it all together we but what other things is that going to affect? Youtube account, etc...?
[Sprint Samsung Galaxy Note 3] micmars:
You can effectively disable it, and it has zero effect on any other Google app.

Deleting it can be done, but there will be library files left behind that you may wish were gone.

Best freezing it.
[Sprint Samsung Galaxy Note 3] Blipstein:
So you're saying just disable Google + all together basically? Any negative affects with youtube or youtube comments, etc...?
[Sprint Samsung Galaxy Note 3] 12gage:
I also had a problem with this, it was due to me using the Auto Backup for pictures. Even if I selected "only on WiFi" and "only while charging". I used Tasker to kill G+ and run Greenify right after I unplug and my Google+ and Media drain has gone away.
[Galaxy S 4 General] tomogo:
This help is obsolete because now it is possible to download Nordic 4.4.2 version I9506XXUCNG3 without Garbadge.

Hi all,

If you want to install a new 4.4.2 without Orange start animation and applications

You have to immediately after flashing 4.4.2 (before start of Android) flash this hidden image from 4.3:

1) Flash hidden.tar.md5 below by ODIN.

hidden.tar.md5

Or if you already start your phone after flashing 4.4.2

1) Flash hidden.tar.md5 above.

2) After that you have to also flash system.tar.md5 from link bellow (I've took it from 4.4.2)

system.tar.md5

3) If you had rooted your phone, you have to root your phone again. (Same with xPosed Installer, Bussybox, Density changer etc.)
[Galaxy S 4 General] osdgap:
I flashed already incl the orange stuff....i tried youz zip via recovery...doesn't let me install
[Galaxy S 4 General] SoRiNuS:
Flash via Odin, not recovery
[Galaxy S 4 General] tomogo:
Unpack the zip file and flash it by ODIN not by recovery.
[Galaxy S 4 General] osdgap:
Ok thnx
[Galaxy S 4 General] SoRiNuS:
It´s not working. I´ve tryed twice. It doesnt remove orange garbage.
[Galaxy S 4 General] mar10o:
You need to wipe to "activate" new localization files.
[Galaxy S 4 General] nemrod:
hello,and how wipe to activate new localization,i don't understand,sorry
[Galaxy S 4 General] mar10o:
Go to settings and restore to factory defaults.
[Galaxy S 4 General] nemrod:
it's not good resolution,we will lose all our data
[Galaxy S 4 General] mar10o:
It's the same thing...
[Galaxy S 4 General] tomogo:
Hi,

I've slightly modified my post about Orange garbadge.
[Galaxy S 4 General] juzza87:
I just did it and got it to work, here's some clearer instructions:

Untick the auto reboot box in Odin (don't tick any other boxes, just have "F. Reset Time" checked, and then flash I9506XXUCNG3_I9506FTMCNG1_I9506XXUCNF3_HOME.tar.md5.

Once it completes (it will say RES for a while afterwards but eventually it will change to "PASS" in a green box) wait a bit and then power off the phone (10 seconds of holding the power button).

Start the phone in download mode the same way you got into it to flash the firmware (home, power and volume down). In Odin tick the Auto Reboot box and then change the File [download] AP from the firmware to the hidden.tar.md5. Hit [START] and once it's all done the phone will reboot.

You'll find if you're coming from 4.3 the phone will say "updating applications" for a while and all of your data and apps should remain intact.

I chose to go to settings and factory reset the phone for a fresh experience but if you don't experience any issues then you should be alright.

I don't know anything about root, recoveries or dev for 4.4.2 so don't ask :P

For anyone wondering I flashed from a Vodafone Australia i9506 and everything is working perfectly except for the samsung keyboard, I'll probably have to put the APK for google's keyboard and install it manually to be able to test the phone properly but so far it's looking promising.

EDIT: A long work around method to fix the keyboard issue was to use S-Voice to do a google search for the Google Keyboard APK. It downloaded and installed and now I can set up the Play Store and get the up to date version, and continue testing. I will report back in this post.

EDIT 2: After the long process of updating everything I can report that everything works; The camera, GPS, 4G, Wifi, sensors. The only thing that's broken is the "Samsung Hub" application, it launches but then dies. No biggy for me because I use Googles apps (including the Google launcher).
[Galaxy S 4 General] grinja87:
Perfect! Done all like juzza87 said... GUIDE WORKS!!!!
[Galaxy S 4 General] SoRiNuS:
The keyboard doesnt work because of the modification of the hidden and CSC. That´s a known error.
[Galaxy S 4 General] grinja87:
Download and install then Google Keyboard
[Galaxy S 4 General] mimahitna:
Hi friends, if you want clear romm without garbage then simply flasf 4.4.2 for Nordic countries(NEE). There are not garbage, stock boot animation and working perfect.

Greetings.
[Galaxy S 4 General] grinja87:
Upload it then.... or give a right link for it
[Galaxy S 4 General] mimahitna:
Litle trick,

flash latest 4.3 NEE rom in Odin and upgrade wia software update in phone-OTA...

Greetings
[Galaxy S 4 General] grinja87:
I cannot downgrade from already flashed 4.4... as by mistake i updraged BOOTLOADER

P.S I tryed it... by the way.... but stuck on BRICK... thought will never get back phone....
[Galaxy S 4 General] mimahitna:
Flash Orange stock rom in Odin and you back your phone.
[Galaxy S 4 General] grinja87:
Its what ive done NOW! now its ALIVE again... whith NO Orange garbage.... I used mine CZ CSC

Now,its left to wait for CZ or Nordic firmware to be released
[Galaxy S 4 General] mar10o:
NEE firmware is available on sammobile

http://www.sammobile.com/firmwares/3/?download=33021
[Galaxy S 4 General] grinja87:
Yeah!!! Its a good news
[Moto G Q&A, Help & Troubleshooting] fertchen:
Hi,

I hope this has not been covered more than once - I've really searched for it on this forum but couldn't find anything about it.

I rooted my Moto G. All I wanted was to use the "Greenify" App and to fix a wakelok that seems to happen occasionally, getting my battery time back to ~10 days again (I hardly use the phone). I don't need root for anything else.

I am very interested in the Android L update, though, because of a couple of features I have been waiting for for very long.

And of course I would appreciate getting rid of the "update available" notification.

What is the easiest/most foolproof way for me to update my Moto G, possibly using OTA?
[Moto G Q&A, Help & Troubleshooting] thebestiam:
Download VooDoo OTA RootKeeper on the Google play store, it temporary disables root. After that, you can restore root. Hope that helps.

Sent from my SM-T310
[Moto G Q&A, Help & Troubleshooting] fertchen:
Thanks. This seems to be intended to keep root only, though. My problem is (sorry that I was unable to clarify this in my first post) that I can not use the OTA update for my Moto G at all because it is rooted. If I try to apply the OTA update the phone will get stuck in an endless reboot-loop because of some checksum failure or so (as desribed here: http://xdaforums.com/moto-g/help/android-4-4-2-to-4-4-4-failed-t2819308

Is there a foolproof way to get around this issue as well?
[Moto G Q&A, Help & Troubleshooting] mokkami:
This should help you.
[Moto G Q&A, Help & Troubleshooting] fertchen:
I rooted my Moto G using this excellent tutorial: http://www.swedroid.se/forum/showthread.php?t=106595

As I see it, the only reason the OTA update does not work is the fact that the recovery partition was changed and thus the checksum does not match. I also assume that I would just need to restore the stock recovery in order for the OTA updates to work again. Is that correct?

As I said, I am really not interested in any custom tinkering at all. The only thing I wanted was root access and I have grown to like Greenify. It is my understanding that I do not need CWM in order to retain root access. What I would like to achieve now is to install the OTA updates without worries. I could live with having to root the device again after each update, provided that does not involve flashing recovery and unlocking again.

Thanks for the pointer. But maybe there is a different way.
[Moto G Q&A, Help & Troubleshooting] Oddfeld:
You could reflash stock recovery and then OTA should work if that's what it was falling over on. If you lose root and need to re-root, you can do so by reflashing the recovery installable zip version of SuperSU from acustom recovery, which of course you now won't have.

However, you can always boot into a custom recovery from a PC without actually flashing it, i.e. get into fastboot mode and do:

fastboot boot yourfavouritecustomrecovery.img

that should boot you into CWM (or whatever) temporarily without overwriting your stock recovery so you can re-root. You won't need to unlock the bootloader again.

If you upgrade to the premium version of SuperSU it has a feature that attempts to survive OTA updates that may save you having to re-root, but YMMV.
[Moto G Q&A, Help & Troubleshooting] justanicename:
You can try to update the OTA by following the steps in the OP of this Post. It worked for me

http://xdaforums.com/moto-g/general/ota-file-indian-dual-sim-4-4-4-t2810166

Just follow the steps below the text:

REVERT TO STOCK WITHOUT LOSING DATA OR ANYTHING ELSE

Basically you have to do this. Restore stock, do the OTA and than reroot using superboot to root.

Phone is unlocked, rooted and had xposed modules on it
[Moto G Q&A, Help & Troubleshooting] irsv:
Get back to stock ROM and check for updates :p
[Moto G Q&A, Help & Troubleshooting] mr.death7:
You can also try to find an official 4.4.4 firmware, flash it without wiping anything except the cache partition, and re-root afterwards.

So your phone is being updated, you won't lose anything and you still get root.

I did that with my Moto G 4G/LTE and it works beautifully.

Hope that helps.
[Moto G Q&A, Help & Troubleshooting] fertchen:
Thanks for all your input.

Going back to stock recovery did not fix the OTA update problem/boot loop.

Even though I never installed a custom ROM I ended up re-installing the stock 4.4.2 firmware (without erasing userdata) and then just applying the OTA update.

Now I tried booting into CWM (fastboot boot recovery.img) but that just leads to "waiting for device", so I flashed CWM recovery again, rooted and then restored stock recovery. Works.

And I have learnt quite a bit in the process. That's always nice.

Thank you guys, you reign supreme.