Hi All,
This Guide is For Lenovo K3 Note Other devices can use it but some files may vary.
Here is a quick guide for getting the basics of the rom working.
Display, sound ,GSM (3g) and Wifi .
I used this for CyanogenMOD based ROMS and MIUI and it worked for me.
If anyone finds additional items or wants to complete this guide please feel free to add it in here.
Please remember, i am posting this so that people will try things and usually when they do, they end up finding something better and awesome than not trying.
I use this from stock and make it a zip file so it makes easy porting by just dragging the system folder with stock files to the rom to be ported and replace.
NOTE: ALWAYS REMOVE RECOVERY-FROM-BOOT.P before you do anything else.
FOR CROSS PORT
SO THE FILES NEEDED TO REPLACE FROM STOCK TO PORT:
BIN FOLDER:
Code:
afm_server
akmd09911
applysig
audiocmdservice_atci
climax
custom_sn
encfs
factory
factory_reset.sh
fusermount
gzip_static
ipod
kpoc_charger
mtkbt
nvram_proximity
seeder
updater
vold
IF YOU THINK SOME FILES ARE ABSENT, DONT WORRY JUST SKIP THEM
NOW MODEM FILES:
Code:
take the whole [COLOR="Red"]firmware[/COLOR] folder from system/etc/
take the whole [COLOR="Red"]mddb[/COLOR] folder from system/etc/
NOW THE MAIN THING OF K3 Note (Audio)
Code:
take the whole folder [COLOR="Red"]tfa98xx[/COLOR] from system/etc/
NOW LIBS Folder:
Code:
lib3a.so
libacdk.so
libbluetoothdrv.so
libbluetooth_mtk.so
libbypass.so
libcam.camadapter.so
libcam.camnode.so
libcam.camshot.so
libcam.client.so
libcam.device1.so
libcam.device3.so
libcam.exif.so
libcam.exif.v3.so
libcam.hal3a.v3.so
libcam.halsensor.so
libcam.iopipe.so
libcam.jni.lomohaljni.so
libcam.metadataprovider.so
libcam.paramsmgr.so
libcam.sdkclient.so
libcam.utils.so
libcam3_app.so
libcam3_hwnode.so
libcam3_hwpipeline.so
libcam3_pipeline.so
libcam3_utils.so
libcamalgo.so
libcamdrv.so
libcameracustom.so
libcamera_client_mtk.so
libcam_hwutils.so
libcam_platform.so
libcustom_nvram.so
libdpframework.so
libfeatureio.so
libfeatureiodrv.so
libhardware_legacy.so
libimageio.so
libimageio_plat_drv.so
libipod.so
libJpgDecPipe.so
libJpgEncPipe.so
liblocSDK5c.so
liblocSDK_2_5OEM.so
libm4u.so
libMA3-wavesfx-Coretex_A9.so
libmhalImageCodec.so
libMiraVision_jni.so
libmtkjpeg.so
libmtk_drvb.so
libnetworklocation.so
libnvram.so
libnvramagentclient.so
libnvram_platform.so
libnvram_sec.so
libshowlogo.so
libtfa9897_interface.so
libvc1dec_sa.ca7.so
libvcodecdrv.so
libvcodec_oal.so
libvcodec_utility.so
libweibosdkcore.so
mtk-ril.so [COLOR="Red"]<= IF U GET BOOT LOOP TRY WITHOUT REPLACING THIS FILE[/COLOR]
mtk-rilmd2.so [COLOR="Red"]<= IF U GET BOOT LOOP TRY WITHOUT REPLACING THIS FILE[/COLOR]
And this subfolder with these libs:
Code:
drm\libfwdlockengine.so
egl\egl.cfg
egl\libGLES_mali.so
hw\audio.primary.mt6752.so
hw\audio_policy.default.so
hw\bluetooth.default.so
hw\camera.mt6752.so
hw\gps.default.so
hw\gralloc.mt6752.so
hw\hwcomposer.mt6752.so
hw\lenovopower.default.so
hw\lights.default.so
hw\sensors.mt6752.so
soundfx\libdownmix.so
soundfx\libmaxxeffect-cembedded.so
NOW LIB64 Folder:
Code:
lib3a.so
libacdk.so
libbluetoothdrv.so
libbluetooth_mtk.so
libcam.camadapter.so
libcam.camnode.so
libcam.camshot.so
libcam.client.so
libcam.device1.so
libcam.device3.so
libcam.exif.so
libcam.exif.v3.so
libcam.hal3a.v3.so
libcam.halsensor.so
libcam.iopipe.so
libcam.jni.lomohaljni.so
libcam.metadata.so
libcam.metadataprovider.so
libcam.paramsmgr.so
libcam.sdkclient.so
libcam.utils.sensorlistener.so
libcam.utils.so
libcam1_utils.so
libcam3_app.so
libcam3_hwnode.so
libcam3_hwpipeline.so
libcam3_pipeline.so
libcam3_utils.so
libcamalgo.so
libcamdrv.so
libcameracustom.so
libcamera_client_mtk.so
libcamera_metadata.so
libcam_hwutils.so
libcam_mmp.so
libcam_platform.so
libcam_utils.so
libcustom_nvram.so
libdpframework.so
libfeatureio.so
libfeatureiodrv.so
libhardware_legacy.so
libimageio.so
libimageio_plat_drv.so
libJpgDecPipe.so
libJpgEncPipe.so
libm4u.so
libmhalImageCodec.so
libMiraVision_jni.so
libmtkjpeg.so
libmtk_drvb.so
libnvram.so
libnvramagentclient.so
libnvram_platform.so
libnvram_sec.so
libtfa9897_interface.so
libvcodecdrv.so
libvcodec_utility.so
And this subfolder with these libs:
Code:
drm\libfwdlockengine.so
egl\libGLES_mali.so
hw\audio.primary.mt6752.so
hw\audio_policy.default.so
hw\camera.mt6752.so
hw\gps.default.so
hw\gralloc.mt6752.so
hw\hwcomposer.mt6752.so
hw\lenovopower.default.so
hw\lights.default.so
hw\mmsdk.default.so
hw\sensors.mt6752.so
soundfx\libdownmix.so
NOW VENDOR FOLDER:
Code:
system\vendor\etc\audio_effects.conf
system\vendor\etc\default.mps
FOR DIFFERENT CHIPSET (i.e. 6795 to 6752)
Proceed as above THEN
open build.prop
EDIT THESE LINES
Code:
ro.mediatek.platform=[COLOR="Red"]MT6795[/COLOR] to [COLOR="Red"]MT6752[/COLOR]
mediatek.wlan.chip=[COLOR="Red"]MT6630[/COLOR]to [COLOR="Red"]CONSYS_MT6752[/COLOR]
mediatek.wlan.module.postfix=[COLOR="Red"]_mt6630[/COLOR]to [COLOR="Red"]_consys_mt6752[/COLOR]
And Now Boot.img
Unpack both stock and port boots from CarlivImageKitchen Tool
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now
In port boot.img
replace the boot.img-kernel
and in ramdisk folder add these files:
fstab.mt6752
init.mt6752.rc
init.mt6752.usb.rc
AND DELETE THOSE with mt6795 and mt6595 words.
REPACK THE KERNEL
MAKE THE FLASHABLE ZIP
AND FLASH THE ROM
If u get WIFI AND BLUETOOTH NOT SWITCHING ON OR BATTERY PERCENTAGE WRONG THEN REPLACE init.project.rc
FOR SAME CHIPSET PORTING
Just replace
Code:
etc/firmware
etc/mddb
and from lib and lib64 hw folder replace all libs named like this camera.mt6752.so
and replace audio_policy.default.so from both hw folder
from lib and lib64
replace
Code:
libcameracustom.so
libaudiocomponentengine.so
libaudiocustparam.so
libnvram.so
libnvramagentclient.so
libnvram_platform.so
libnvram_sec.so
libcustom_nvram.so
UPDATE :
TIP:To BOOT a rom with minimal replacements
Replace the boot.img files as usual
in system:
ETC FOLDER
etc/firmware
etc/mddb (not needed tho)
etc/tfa**(if your device uses)
LIB & LIB64
lib/libjni_pq.so
lib/libmtk_drvb.so
lib/libtfa****.so
lib64/libjni_pq.so
lib64/libmtk_drvb.so
lib64/libtfa****.so
HW folder
All the 67xx files if crossporting
VIOLA UR A PORTER
Can you add some image :3
Syaoran Lord said:
Can you add some image :3
Click to expand...
Click to collapse
i can add but image of what should i add
Porting to Ulefone be touch 2
Hi! Nice tutorial. Will this method work with Ulefone be touch 2? I want to port Aerom v5 from elephone p7000 to Ulefone be touch 2. My kernel version is 3.10.61 and port rom kernel is 3.10.91 so I have to port kernel? Thanks in advance
Ufoner said:
Hi! Nice tutorial. Will this method work with Ulefone be touch 2? I want to port Aerom v5 from elephone p7000 to Ulefone be touch 2. My kernel version is 3.10.61 and port rom kernel is 3.10.91 so I have to port kernel? Thanks in advance
Click to expand...
Click to collapse
yes it will work
no need to do anything about kernel u just proceed as the guide says
Thank you so much! And one more question please. Some guy try to port CM12.1 for BT2 and volume down button stopped working and screen is laggy. Installing stock ROM not solve that problem. Can happend this when i port android 5.0 or 5.1? Sorry for my bad English. Thanks in Advance.
Ufoner said:
Thank you so much! And one more question please. Some guy try to port CM12.1 for BT2 and volume down button stopped working and screen is laggy. Installing stock ROM not solve that problem. Can happend this when i port android 5.0 or 5.1? Sorry for my bad English. Thanks in Advance.
Click to expand...
Click to collapse
try taking logcat while pressing the vol down key
Hello, I don't undestand that : ALWAYS REMOVE RECOVERY-FROM-BOOT.P before you do anything else. please someone could explain for me ?
jordandroid64 said:
Hello, I don't undestand that : ALWAYS REMOVE RECOVERY-FROM-BOOT.P before you do anything else. please someone could explain for me ?
Click to expand...
Click to collapse
You need to delete file "recovery-from-boot.p" from system folder of your stock ROM and of port :good:
---------- Post added at 07:55 PM ---------- Previous post was at 07:53 PM ----------
I ended again with black screen when porting cm12.1 from redmi note 2 Is it caused by another size of ram Because my device has 3gb ram and redmi note 2 has 2gb.
thanks but it's an img on my port rom and I don't find this file... and same on my stcok rom (androium) but there are files name recovery i need to delete all of them ?
jordandroid64 said:
thanks but it's an img on my port rom and I don't find this file... and same on my stcok rom (androium) but there are files name recovery i need to delete all of them ?
Click to expand...
Click to collapse
You need to extract system.img with ext4unpacker and then make it folder with ext2explore. You dont need recovery so delete it
I have already extract the img but with ext2explore only that will be good also?
thanks for your answer
edit: edit : on the port rom at the last when i search recovery that whow me that :
http://www.hostingpics.net/viewer.php?id=839697recovery.jpg
Help me with bootloop please
Hi sandeep.sethi!
Today i port your aicp 5.1.1 from k3 note to be touch 2(stock rom is android 5.0.1) and i got bootloop . I edited mount points and replaced all files as your guide says.
Do i need to port kernel or anything else when my device has 3gb ram and k3 note has 2gb ram All specs are same except the ram size.
Stock rom is 5.0.1, but alex1112 port cm12.1(5.1.1) to be touch 2, so do i need to port kernel from alex1112 cm12.1 or from my stock rom to AICP?
Is this guide for same android version ex. 50.1 to 5.0.1?
Thanks in advance and have a good day
Ufoner said:
Hi sandeep.sethi!
Today i port your aicp 5.1.1 from k3 note to be touch 2(stock rom is android 5.0.1) and i got bootloop . I edited mount points and replaced all files as your guide says.
Do i need to port kernel or anything else when my device has 3gb ram and k3 note has 2gb ram All specs are same except the ram size.
Stock rom is 5.0.1, but alex1112 port cm12.1(5.1.1) to be touch 2, so do i need to port kernel from alex1112 cm12.1 or from my stock rom to AICP?
Is this guide for same android version ex. 50.1 to 5.0.1?
Thanks in advance and have a good day
Click to expand...
Click to collapse
then try using his kernel in the boot.img with my roms' ramdisk
Thanks but i have problem
sandeep.sethi said:
then try using his kernel in the boot.img with my roms' ramdisk
Click to expand...
Click to collapse
Thank you it worked, but when device start after bootanimation it show aicp is upgrading optimizing app starting apps ..... and then it restart and then again starting apps... and reboot. Please help. Thank you so much for your support.
Ufoner said:
Thank you it worked, but when device start after bootanimation it show aicp is upgrading optimizing app starting apps ..... and then it restart and then again starting apps... and reboot. Please help. Thank you so much for your support.
Click to expand...
Click to collapse
what files did u replace from lib/hw and lib64/hw
or try taking cm12 of ur phone as base
Sent from my Lenovo K3 Note using Tapatalk
sandeep.sethi said:
what files did u replace from lib/hw and lib64/hw
or try taking cm12 of ur phone as base
Sent from my Lenovo K3 Note using Tapatalk
Click to expand...
Click to collapse
I replaced all files except in lib and lib64 lenovopower.default.so and in drm i don´t replaced drm\libfwdlockengine.so because my stock rom don´t have these files. I tried this method to fix stuck in starting apps... http://www.mtkroms.com/2016/01/bugless-lollipop-exodus-for-mt6592.html and it not worked I searched that some people say the problem is in system apps and i need to replace them, is it true? Thanks, today i will try to port rom again with cm12.1 files If you help me and rom will boot i will donate to you bro :good:
Help with porting
Hello! Thanks for this awesome tutorial!
But now i need some help with porting a ROM
I am porting your BlissPOP rom from Lenovo K3 Note to my Elephone P7000 device!
when i install it with TWRP i get stuck in a bootloop
Can you please help me with this problem, i have followed the tutorial exactly as i should!¨
What should i do?
please help!
//AnStu00
AnStu00 said:
Hello! Thanks for this awesome tutorial!
But now i need some help with porting a ROM
I am porting your BlissPOP rom from Lenovo K3 Note to my Elephone P7000 device!
when i install it with TWRP i get stuck in a bootloop
Can you please help me with this problem, i have followed the tutorial exactly as i should!¨
What should i do?
please help!
//AnStu00
Click to expand...
Click to collapse
I got bootloop too and sandeep.sethi told me how to fix it!
1. You need to change mount points in updater-script
2.Extract blisspop´s rom boot.img and extract boot.img from Elephone CM12.1 http://www.needrom.com/download/elephone-p7000-cyanogenmod-12-1/ and then copy blisspop rom ramdisk and copy it to cm12.1 boot.img and then repack it
Ufoner said:
I replaced all files except in lib and lib64 lenovopower.default.so and in drm i don´t replaced drm\libfwdlockengine.so because my stock rom don´t have these files. I tried this method to fix stuck in starting apps... http://www.mtkroms.com/2016/01/bugless-lollipop-exodus-for-mt6592.html and it not worked I searched that some people say the problem is in system apps and i need to replace them, is it true? Thanks, today i will try to port rom again with cm12.1 files If you help me and rom will boot i will donate to you bro :good:
Click to expand...
Click to collapse
okay try porting again and this tym in ramdisk replace factory rc files
Sent from my Lenovo K3 Note using Tapatalk
Related
How to port manufacturer ROM
As many people ask me how i’m porting ROMs to my Nexus S i share my method in this thread.
This method works for the Nexus but should also work on a lot of devices. The list of files that I would write in this thread is not exhaustive.
Please for all improvements, send me a MP. I’m french and it’s possible for me to misspellings
This thread is in constant progress thanks to your feedback.
Do not use this guide to port rom based on CM / AOSP roms. Please use this guide to port Sense / TouchWizz / Motoblur etc ... If you want to port based on AOSP roms there are others guide on XDA.
This method is not perfect, much work will then be necessary to fix all the bugs, and nothing says that this method is functional rather than every time ....
I. What you need
Ubuntu and dsixda's Android Kitchen. Please refer to this link
Notepad++
Winrar
A brain =)
NB : Before you start porting a ROM you need to know several things. Over the phone you want to port the rom will have a hardware close to your, more porting will be simple and functional.
Example : Same screen resolution, processor of the same type (ARM6, ARM7, etc ....)
PORT is the ROM you want to port and BASE is the ROM developed for your device (AOSP/CM)
II. Let’s go !
1. Create new folder where you want and name it « Rom_port_for_yourdevice »
2. Download AOSP/CM developed for you device with the same android version which the rom you want to port
3. Download the rom you want to PORT
4. Extract each zip ROM in separate folder in « Rom_port_for_yourdevice »
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
5. Now it will appears two folders. Open both.
In PORT folder delete META-INF folder and copy/paste the META-INF folder of BASE in PORT folder.
6. Open system folder in PORT rom and delete vendor folder
7. Now in PORT folder open lib folder and delete these folders :
modules
hw
egl
8. Now go in BASE folder and select (if exists) these folders :
addon.d
bin
etc
customize
framework
lib
vendor
xbin
Now copy these in system folder of PORT but do not replace anything ! (If forgot « ETC » folder on screenshot)
9. Open bin folder in BASE and PORT folders. Copy and replace these files from BASE to PORT :
adb
brcm_patchram_plus
hostap
hostapd
init.vsnet
linker
logcat
logwrapper
radiooptions
rild
rmt_storage
vold
wpa_cli
wpa_supplicant
glgps
10. Now in BASE and PORT system folder open etc folder and copy and replace (if exist) these files/folders from BASE to PORT :
Bluetooth
Dhcpcd
Firmware
gps
init.d
permissions
ppp
pppd
security
ssh
terminfo
updatecmds
wifi
audio_effects.conf
audio_policy.conf
dbus.conf
gps.conf
init.*.sh
media_codecs.xml
media_profiles.xml
nfcee_access.xml
secomxregistry
vold.conf
vold.fstab
wrs_omxil_components.list
11. Now copy usr folder from BASE to PORT and replaces all files
12. Open lib folder in BASE and PORT folders. Copy and replace these files from BASE to PORT :
liblog.so
libsecril-client
libreference-ril.so
libril.so
libs3cjpeg.so
libaudioflinger.so (if port does not boot, use from PORT rom)
libaudioutils.so
libtinyalsa.so
libpn544_fw.so
libSEC_OMX_Core.so
libOMX.SEC.***.Decoder.so
For HTC devices:
libhardware_legacy.so
libhtc_ril.so
libhtc_ril_switch.so
For LGE devices:
lge-ril.so
More commonly:
Add all the lib files with "ril" in their name
13. Open framework folder in BASE and PORT folders. In both folder rename framework-res.apk to framework-res.apk.zip and open the two files with Winrar.
In both files go to /res/xml/ and replace storage_list.xml of PORT framework-res.apk with the one of BASE.
Now close Winrar and rename framework-res.apk.zip in framework-res.apk in both folders.
14. Very important: By the way, there are some proprietary binaries missing from the guide (just depending on the device, as it's impossible to include all), so what I recommend is if your device has official cm, go to github.com/themuppets, pick the repo corresponding to your manufacturer and branch corresponding to your android version and download it and copy the files in your device's folder to the ROM you are porting. Lib to lib, bin to bin, etc. You may also need to look at the Mk files in the cm device source for your device to see what is built from source that you'll need such as libs and bins. For example, if it has Product_packages += \libwifi \
You would need to copy libwifi from cm. [/QUOTE]
Source: http://forum.xda-developers.com/showpost.php?p=41294434&postcount=23
15. Now open build.prop of PORT rom and replace these lines with BASE build.prop :
Code:
ro.product.model=
ro.product.brand=
ro.product.name=
ro.product.device=
ro.product.board=
ro.product.cpu.abi=
ro.product.cpu.abi2=
ro.product.manufacturer=
ro.wifi.channels=
ro.board.platform=
ro.build.product=
ro.build.characteristics=
rild.libpath=
rild.libargs=
wifi.interface=
16. Reboot to Ubuntu.
Steps for android 4.3 and older
Open dsixda's Android Kitchen
Decompile both boot.img/kernel
Open both init.rc files
In CM/AOSP kernel replace BOOTCLASSPATH by the one from PORT boot.img ROM
Save and recompile kernel
Use CM/AOSP modified kernel in your rom.
Steps for android 4.4 and newer
Open dsixda's Android Kitchen
Decompile both boot.img/kernel
Open both init.environ.rc files
In CM/AOSP kernel replace BOOTCLASSPATH by the one from PORT boot.img ROM
In CM/AOSP kernel do these changes:
--> 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
Save and recompile kernel
Use CM/AOSP modified kernel in your rom.
17. Now ZIP your PORT rom folder and flash it.
Please don't forget to use LOGCAT to debug the rom..... And to thanks or/and donate to me .....
Thanks !
GalaxyUser
Here, I give you some tips and may help you to fix issues..
Files to fix ...
You can try to replace some of these files (if exists) to fix ...
NFC
/system/app/Nfc.apk
/system/lib/libnfc*.so
/system/bin/pcscd
Radio FM
/system/bin/fmradio
Sensors
/system/bin/akmd*
/system/lib/libsensors.so
Bluetooth
/system/bin/bd_prov
/system/bin/uim*
/system/bin/hcid
/system/bin/bluetooth*
/system/bin/hciattach
/system/bin/sdptool
/system/xbin/hciconfig
Wifi
/system/bin/netcfg
/system/bin/dhcpcd
/system/bin/ifconfig
/system/bin/hostap
/system/bin/hostapd
/system/bin/hostapd_bin
/system/bin/pcscd
/system/bin/wlan*
/system/bin/wpa*
RIL
/system/bin/stmd
/system/bin/rild*
/system/etc/rril
Camera
Copy libcamera*.so from base to port rom
If rom does not boot after that, replace file one by one and see which file is the problem.
If you port on HTC Devices, try these:Fix Network auto select
Decompile framework-res.apk
Go to this folder \framework-res\res\values
Open bools.xml
Change <bool name="skip_restoring_network_selection">true</bool>
To Change <bool name="skip_restoring_network_selection">false</bool>
Fix graphichal issues
Decompile framework.jar
Change these files with your CM base
smali\smali\android\os
Environment
SystemProperties
smali\smali\android\view
HardwareCanvas
HardwareRenderer$Gl20Renderer
HardwareRenderer$GlRenderer
HardwareRenderer
so there is hope that i can port xperia t jb rom to galaxy s3 using cm10 rom for galaxy s3
zeyadhan said:
so there is hope that i can port xperia t jb rom to galaxy s3 using cm10 rom for galaxy s3
Click to expand...
Click to collapse
Use CM10 and not CM10.1 to have the same version.
Try it i hope it will work
thank you for reply i saw your threads you ported lot of roms do you think it will boot
but sadly i use windows 7 so there is no way to decombile the kernel
zeyadhan said:
thank you for reply i saw your threads you ported lot of roms do you think it will boot
but sadly i use windows 7 so there is no way to decombile the kernel
Click to expand...
Click to collapse
I don't know if it will boot, when i do a port i never know if it will boot ^^
Read this: http://forum.xda-developers.com/showthread.php?t=633246
You could use kitchen in windows but it's not optimal i think.
i guess that the only way is install the Ubuntu and decombile kernel and make changes then combile it and copy the kernel to phone and back to windows (need a lot of time)
rom stuck at bootanimation maybe i do something wrong
zeyadhan said:
rom stuck at bootanimation maybe i do something wrong
Click to expand...
Click to collapse
Do a logcat and post pastbin link
Sent from my XT890 using xda app-developers app
Thanks for good tip!
Dear Galaxy_User,
i just port GT-I9100 rom for Nexus S, i am on Boot Animation and nothing working after that ..
http://pastebin.com/YBWDU1L4 here is the link for logcat .. kindly help me out
Regards,
Assassinoid
assassinoid said:
Dear Galaxy_User,
i just port GT-I9100 rom for Nexus S, i am on Boot Animation and nothing working after that ..
http://pastebin.com/YBWDU1L4 here is the link for logcat .. kindly help me out
Regards,
Assassinoid
Click to expand...
Click to collapse
Hi,
Your logcat is very weird
Try libaudioflinger.so to use from PORT
looks not bad
sent from my security handy talkie
talk free , no pay®
Nothing worked .. I just quit
Sent from my Nexus S using xda premium
assassinoid said:
Nothing worked .. I just quit
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
Do you have correctly edited the kernel ?
You need to use CM kernel for Nexus S and to modify it with the BOOTCLASSPATH of Galaxy S Kernel.
Send me the boot.img of Nexus S and the boot.img of Galaxy S i will check that
GalaxyUser said:
Do you have correctly edited the kernel ?
You need to use CM kernel for Nexus S and to modify it with the BOOTCLASSPATH of Galaxy S Kernel.
Send me the boot.img of Nexus S and the boot.img of Galaxy S i will check that
Click to expand...
Click to collapse
OK I'll do that
Sent from my Nexus S using xda premium
Nice, the first actual tutorial on this instead of "just replace all apps/framework and media folder" which is a load of bull****,
Good job
Will this guide work if you want to port LG Stock ROM to another LG device? Like you ported O4X to Optimus Black.. I can use this guide to port O4X stock ROM to O2X?
Also, when porting stock ROM, I will need CM10 as base ROM or I must use same android version as the ROM I am porting?
Thanks.
natalya said:
Will this guide work if you want to port LG Stock ROM to another LG device? Like you ported O4X to Optimus Black.. I can use this guide to port O4X stock ROM to O2X?
Click to expand...
Click to collapse
I did it for Optimus Black, try it for O2X
natalya said:
Also, when porting stock ROM, I will need CM10 as base ROM or I must use same android version as the ROM I am porting?
Thanks.
Click to expand...
Click to collapse
You can use any rom with the same android version
GalaxyUser said:
I did it for Optimus Black, try it for O2X
You can use any rom with the same android version
Click to expand...
Click to collapse
Okay, can you please link me to the one you used as port (the O4X ROM) and do you recommend me to use that one as port or shall I use the one you already ported for Optimus Black as port?
PS: Is it easy to change bootclasspath?
Hello XDA members, in this guide, i'll give you the easiest way to porting rom for your device, i've broken my porting record by ported 5 roms in less than 1 hour using this method, have enjoy and hope it'll works for you too
What you need ?
- Rom base (CM or AOSP)
- Rom port (any roms that you like to port)
- Apktool (for compiling .apk and .jar files)
- Note++ (for editing .txt and .xml files)
- Winrar or 7zip (for extracting and repacking rom)
- dsixda's Android Kitchen, you really need this to Port MIUI, PAC, and Slimrom
- Open mind and never give up to trying
Rules
1. Find the rom port with similar CPU like your device, clock speed doesn't matter here, the important is the number of CPU Cores, if your device is single core, find the single core rom, dual-core with dual-core, etc
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
3. Same Android SDK version(Check in build.prop)
Example, you can port Android 4.4.3 using Android 4.4.2
4. GSM and GSM, CDMA and CDMA
Step by step
Extract booth of the roms(rom base and rom port)
> In rom port folder <
1. Delete all files and folders except "system" folder
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. Delete these folders and files in system
> tts
> usr
> vendor
> build.prop
3. Delete these folders in system/etc
> Bluetooth
> Firmware (if exist)
> Wifi
4. Delete these folders in system/lib
> hw
> modules
5. Go to system/framework
> Open framework-res.apk
> Go to res/xml
> Replace storage-list.xml with your rom base
> In rom base folder <
1. Copy all files and folders except "system" to rom port folder
2. Copy these folders and files in system folder to rom port system folder
> tts
> usr
> vendor
> build.prop
3. Copy these folders in system/etc to rom port system/etc
> Bluetooth
> Firmware (if exist)
> Wifi
4. Copy these folders in system/lib to rom port system/lib
> hw
> modules
Repack the rom then flash it in the recovery
Now the rom port should booted(to menu) now, not stuck on bootanimation anymore
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
If the rom doesn't boot to menu or stuck on manufacturer logo(LG, Sony, Samsung, etc), find the same rom port from other devices. I've this experience while porting Liquid Smooth, then i used other devices and it's booted
Notes :
If you successful ported the rom, please do these before your releasing your ROM
> Ask the permission from the developers of the rom base and rom port
> Give credit for them
> And give credit for me too if you using this guide
> And don't forget to hit THANKS button
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...
Troubleshooting
Now, to fix some issues in rom port, do these...
1. Information about rom
Open build.prop from booth of the rom then edit information just like the rom port
You can edit these lines in build.prop
# begin build properties
# autogenerated by buildinfo.sh
ro.build.display.id=
ro.build.date=
ro.build.user=
ro.build.host=
ro.product.name=
ro.product.locale.language=
ro.product.locale.region=
ro.cm.device=
# end build properties
#
# ADDITIONAL_BUILD_PROPERTIES
#
persist.sys.root_access=
ro.modversion= > replace with rom port
ro.cm.version= > you can delete this
ro.config.ringtone=
ro.config.notification_sound=
ro.config.alarm_alert=
ro.sf.lcd_density=
and the other lines relating information about rom
2. RIL
Replace these files in rom port with your rom base files
system/bin/rild
system/lib/libreference-ril.so
system/lib/libril.so
system/lib/librilutils.so
system/lib/libsec-ril.so
system/lib/libsecril-client.so
And add any files with "ril" in the name of file
3. Sensor
Replace these files in rom port with your rom base files
system/bin/sensord
system/bin/sensorservice
system/lib/libsensorservice.so
system/lib/libhardware.so
system/lib/libhardware_legacy.so
4. WiFi
Replace these files in rom port with your rom base files
system/bin/wifimac
system/bin/wpa_cli
system/bin/wpa_supplicant
system/lib/libwpa_client.so
5. Missing files
You have to copy the rest of files in base rom to port rom to make rom better, but don't replace it if the files/folders was exist
6. Files can be replace in your ported rom using files from 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
Lib
>lge-ril.so (for LG devices)
>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
>
>
7. Video streaming
> libstagefright.so
and all libs with "libstagefright" of the lib's name
Rom that can be ported
What roms can be ported using this guide ?
This guide should can port any costum roms base on AOSP or CM, not manufacturer roms, not yet...
My experience, I've ported these roms
Mokee Open Source Project
Carbon Rom
Paranoid Android
Xperience
SDK NX v1
AOKP
Hellfire
Codename Lungo
AOSB Project
OMNI Rom
SlimKat
PAC man
SOKP
AICP
MIUI V5 Kitkat
Rom ported by XDA Members using this guide
- Liquid Smooth
Bonus :
Need Aroma Installer on your rom ?
please go to this thread
If this guide helping you, please do these
> Donate to me
> Hit my THANKS button
> Rate the thread
> Poll the thread
> Hit "Tip us" ? to make this thread on portal, so many people will know it the easiest way to porting any costum rom
> Mention me (@Nasheich Xfiles) at your rom thread
> Keep this thread at first page with your posting
> Like this thread at Facebook, Google+ and Twitter
Best Regards
Nasheich
Credits
> Nasheich Xfiles : it's me
>ZduneX25
Very nice bro :good::good::good:
Thanks for this Awesome Guide
Will Try and let u know
Great guide.. is there a way we can get Tmobile Z1S stock rom (with wifi calling) to Z ultra? I am ready to do it myself with some guidance.
Great guide, ported a hellkat rom with it
Thanks for the guide but it's more interesting to port KitKat (4.4.x) to Jelly Bean (4.3.x), like Xperia ZR 4.4 ROM to Xperia SP with only 4.3 available. It's Qualcomm, many things possible with it. Any ideas?
D-SHEL said:
Thanks for the guide but it's more interesting to port KitKat (4.4.x) to Jelly Bean (4.3.x), like Xperia ZR 4.4 ROM to Xperia SP with only 4.3 available. It's Qualcomm, many things possible with it. Any ideas?
Click to expand...
Click to collapse
No You can't
Try using AOSP binaries (4.4) to port ZR 4.4 Rom
Sent from a Beast :')
---------- Post added at 04:57 AM ---------- Previous post was at 04:54 AM ----------
Rules
1. Find the rom port with similar CPU like your device, clock speed doesn't matter here, the important is the number of CPU Cores, if your device is single core, find the single core rom, dual-core with dual-core, etc
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
In fact you can PORT Custom Roms from an HDPI Device to MDPI Device if they shares the same CPU core
Sent from a Beast :')
Can I port 4.4.2 lg optimus l9 ii using 4.4.3 pure aosp.
Sent from my Xperia S using xda premium
Is it possible to port XperiaOverlay ROM for Arc S (LT18i) to any build of CM11 LX ROM for Arc S with this guide?!?!
XperiaOverlay ROM is AOSP based but I think that XeperiaOverlay will running better if it is merged to CM11 LX...
Thanks in advance for all suggestions! :good:
pepitoff said:
Is it possible to port XperiaOverlay ROM for Arc S (LT18i) to any build of CM11 LX ROM for Arc S with this guide?!?!
XperiaOverlay ROM is AOSP based but I think that XeperiaOverlay will running better if it is merged to CM11 LX...
Thanks in advance for all suggestions! :good:
Click to expand...
Click to collapse
Haish, AOSP is smoother than CM11 because it's not modified (Pure android).
Btw, you can't get anything diffirent if you rebased overlay to CM11
MT27i said:
Haish, AOSP is smoother than CM11 because it's not modified (Pure android).
Btw, you can't get anything diffirent if you rebased overlay to CM11
Click to expand...
Click to collapse
OK. But is it possible to port XperiaOverlay to CM11 LX with this guide?
pepitoff said:
Is it possible to port XperiaOverlay ROM for Arc S (LT18i) to any build of CM11 LX ROM for Arc S with this guide?!?!
XperiaOverlay ROM is AOSP based but I think that XeperiaOverlay will running better if it is merged to CM11 LX...
Thanks in advance for all suggestions! :good:
Click to expand...
Click to collapse
It's Kinda Possible !!
But Chances are 40-45%
Since XO uses AOSP binaries
Sangeet007 said:
Thanks for this Awesome Guide
Will Try and let u know
Click to expand...
Click to collapse
Yes, let me know, I'll do my best to help you
royalva said:
Great guide.. is there a way we can get Tmobile Z1S stock rom (with wifi calling) to Z ultra? I am ready to do it myself with some guidance.
Click to expand...
Click to collapse
just try it, and let me kbow
Aaskereija said:
Great guide, ported a hellkat rom with it
Click to expand...
Click to collapse
Nice
D-SHEL said:
Thanks for the guide but it's more interesting to port KitKat (4.4.x) to Jelly Bean (4.3.x), like Xperia ZR 4.4 ROM to Xperia SP with only 4.3 available. It's Qualcomm, many things possible with it. Any ideas?
Click to expand...
Click to collapse
no, you can't, different files system between JB and KK
Black_Eyes said:
In fact you can PORT Custom Roms from an HDPI Device to MDPI Device if they shares the same CPU core
Sent from a Beast :')
Click to expand...
Click to collapse
Yes, you can port lower LCD destiny and Lower CPU too, i just make a simple explanation
nisu4717 said:
Can I port 4.4.2 lg optimus l9 ii using 4.4.3 pure aosp.
Sent from my Xperia S using xda premium
Click to expand...
Click to collapse
yes, you can, I've ported many rom base on AOSP, and you can ported 4.4.2 using 4.4.3, cause it has same Android SDK version (check on build.prop)
pepitoff said:
Is it possible to port XperiaOverlay ROM for Arc S (LT18i) to any build of CM11 LX ROM for Arc S with this guide?!?!
XperiaOverlay ROM is AOSP based but I think that XeperiaOverlay will running better if it is merged to CM11 LX...
Thanks in advance for all suggestions! :good:
Click to expand...
Click to collapse
Yes, there's always possibility to port any rom, cause the fact is 80% of Android files is same ..
Sorry if this sounds idiotic, but can I port SOKP from nexus 5 to xperia z1 using this method since they share the same chipset?
allinkiran said:
Sorry if this sounds idiotic, but can I port SOKP from nexus 5 to xperia z1 using this method since they share the same chipset?
Click to expand...
Click to collapse
yes, you can, if the specification of the hardware just like what I've wrote, not just the same chipset, but RAM too
Thank you. Would try tomorrow since nexus has son many roms that I want to try on my z1
I wanted to start a thread with the Frequently Asked Questions regarding the CM12 port of our beloved Galaxy S3 (GT-I9300)
Download
Latest version:
JustArchi said:
Beta 1 Download
Alternate Download via Google Drive
Alternate Download via 4shared
MD5: 46dbfa5cb28e0d4927c24d4c8cb75f87
SHA1: bcfc03c36acb5d6a861e2a188422364008a32dc8
Working:
- updater-script (flashing)
- kernel (booting)
- OpenGL (CPU rendering)
- MALI blobs (GPU rendering)
- HWComposer (not updated to latest nameless release)
- Rotation
- Camera
- WiFi
- Bluetooth
- NFC (Android Beam)
- Sensors (ALL!)
- Internal / External SD Card
- Vibration
- GPS
- RIL
Changelog
- Android 5.0.2
- Updated CM Sources
- Fixed Wifi issues
- RIL completely working
- Stock Camera working
- Bootloop Issues fixed
This is NOT A STABLE BUILD.
I STRONGLY suggest to use only stock kernel bundled with the ROM and ArchiKernel V1.6+, unless you want to face other issues
If you like what you're flashing, support your fellow i9300 developers: JustArchi, Moster2, arter97
Big kudos and thanks to dhiru1602
Manifest / Sources
XDA:DevDB Information
[WIP] [Beta 1] [2014-12-22] CyanogenMod 12 for i9300, ROM for the Samsung Galaxy S III I9300
Contributors
JustArchi, Moster2, arter97
Source Code: https://github.com/ArchiDroid
ROM OS Version: 5.0.x Lollipop
Version Information
Status: Alpha
Created 2014-11-12
Last Updated 2014-12-23
Click to expand...
Click to collapse
GAPPS download
Where can I download the latest GAPPS (Google Applications)?
https://s.basketbuild.com/gapps
Use the CM12 download link
Bugs
Known bugs:
smart lock with NFC crashes settings
Mobile network is always half the signal strength
Mute not working in calls
Message while flashing in recovery
I'm getting a message: "mount failed dev/block/mmcblk0p12 at /data: Device or resource busy"
That is because of the new type of flashing. It's still flashing though and takes a while. Be patient.
Bootloop
My device bootloops! What can I do?
Before thinking your device is bootlooping, give it at the very least 5 minutes, art takes a while to optimize during the 1st boot.
If that doesn't work, try philz latetst touch recovery.
Get it here
Download the .tar file if you want to flash using Odin.
Use the .zip file if you already have a custom recovery (CWM, TWRP etc)
If that doesn't work, get usefull logs.
See here...
Keyboard isn't working
[EDIT]
SOLVED IN BETA1!!!
Whaaa, I have no keyboard, whats wrong?
Enable "Hardware" on Keyboard settings
No 3G/data
Moster2 said:
How to get working data
1. Download this small shell script here.
2. Put in on your internal storage /sdcard. Via file browser or
Code:
adb push data_on.sh /sdcard/
3. Open the terminal emulator app. Then type the following:
Code:
su
sh /sdcard/data_on.sh
Important: You need working root (supersu or superuser) and do this every time you enable 2G/3G data. Also, you have to have data enabled when executing this script.
Original Post: http://forum.xda-developers.com/showpost.php?p=56125262&postcount=17207
Also thanks to Marco Magliona who gave a hint to that.
Click to expand...
Click to collapse
No status bar
I have no status bar and no lock screen, whats wrong?
Did you flash any other kernel? Use stock embedded kernel (reflash ROM to use stock kernel)
Wifi problems
How can I get wifi working on my murata chipped S3?
Try this:
http://forum.xda-developers.com/showpost.php?p=56938378&postcount=739
SD-card problems
I'm unable to use my SD card!
EXT4 and a variety of other filesystems are not supported.
Only FAT32 is supported up till now (until CyanogenMod supports the orther filesystems)
Root
I lost root!
Flash SuperSU in recovery.
Download:
http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
CM11 features
CM11 feature 'x' isn't working anymore/missing, when is it available again?
Don't ask for features or ETA's.
The devs are doing this in their spare time FOR FREE!
If you can, you can try to help by learning how to build and code the features (see Building your own CM12 build for the i9300 below)
Changelog
Mainly only new CM12 commits.
Best and easiest what you can do is check this site: http://www.cmxlog.com/12
Dual boot
Can I dual boot this ROM?
Yes:
Extended tutorial with screenshots here
well you can only dualboot LolliPop if it is 1st ROM, i.e you can not use multiboot.zip to flash the alpha CM12 to 2nd ROM directly
you have to backup current apps on the ROM,
wipe data/factory reset from Philz Recovery provided by arter97,
install the Alpha CM12 zip,
then flash arter97 kernel (4.0-beta1),
then flash multiboot.zip followed by the ROM you want and restore your apps when booting in the 2nd ROM
BUT...
- You can't do phone calls (IMEI and Baseband was OK)
- You can't pull down the notification bar, I tried, tried, one finger, two, staring it... but don't... T_T
Because of arter97 kernel
Nameless 2.0 commits
I found the commits of Nameless, can we use it to get 3G working?
No, those commits aren't complete yet.
See here
Building your own CM12 build for the i9300
Start learning by following this tutorial here:
http://wiki.cyanogenmod.org/w/Build_for_i9300
Donate
Awesome ROM, where can I donate to help the devs buy some beer?
You can donate on all dev on their profiles, all have option "Donate to me". Also You can see this option below my avatar on ledt this post. But don't forget I'm not developer.
Why FAQ thread here? And our i9300 is not Galaxy S2
Its Galaxy S3 Not S2
Sent from my GT-I9300
dmukhin said:
Why FAQ thread here? And our i9300 is not Galaxy S2
Click to expand...
Click to collapse
Could have posted it in General, I agree.
GT-I9300 = Samsung Galaxy S3
RoadXY said:
Could have posted it in General, I agree.
GT-I9300 = Samsung Galaxy S3
Click to expand...
Click to collapse
look at 1st post, you wrote wrong device name
I wanted to start a thread with the Frequently Asked Questions regarding the CM12 port of our beloved Galaxy S2 (GT-I9300)
Click to expand...
Click to collapse
I wanted to start a thread with the Frequently Asked Questions regarding the CM12 port of our beloved Galaxy S2 (GT-I9300)
Click to expand...
Click to collapse
first line of thread
this is not about development and should be in General forum!
SignalX said:
this is not about development and should be in General forum!
Click to expand...
Click to collapse
Already asked a mod for a move
jackq said:
look at 1st post, you wrote wrong device name
Click to expand...
Click to collapse
Thanks, got it, sorry.
Lil Geeky said:
first line of thread
Click to expand...
Click to collapse
Got it, thanks.
@RoadXY
I have installed cm12 alpha 2 (now update to 3) with multiboot zip as second Rom.... My first Rom is stock 4.3 and second Rom cm12 with working call.... I use the arter kernel In all the two Rom and I have last twrp
I do this:
-Have first Rom with arter kernel (beta2)
-go to recovery (last twrp) flash multiboot zip and, WITHOUT restart recovery flash cm12,gapps,arter kernel.... Than restart to first Rom and use aSwitch to go to second Rom.... Now you see cm12 bootanimation and WAIT a lot (I don't care how much time) first time I think is bootloop but after try again I'm waiting and is start.... After start i go again in recovery and after flash multiboot zip I flash the last beta of super Su to have full working root....
Hope this can helpful and add to faq
Added screens of cm+kernel version and aswitch to see I'm on second rom
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
bjtmosfet said:
@RoadXY
I have installed cm12 alpha 2 (now update to 3) with multiboot zip as second Rom.... My first Rom is stock 4.3 and second Rom cm12 with working call.... I use the arter kernel In all the two Rom and I have last twrp
Click to expand...
Click to collapse
Thanks! Editted the OP
Anybody replying here? @RoadXY Just as we force disable back light can i Disable battery LED?
Umh I don't if you can use any led control app as light flow but you can try
bjtmosfet said:
Umh I don't if you can use any led control app as light flow but you can try
Click to expand...
Click to collapse
Okay
Does arter97 dual boot work only with cwm? Is it possible using twrp recovery?
Sent from my GT-I9300 using Tapatalk
@RoadXY Still no luck with YouTube video colour glitch. Turned on / off nu player. Same some video have glitch some don't. Any fix?
fosskevin said:
Does arter97 dual boot work only with cwm? Is it possible using twrp recovery?
Sent from my GT-I9300 using Tapatalk
Click to expand...
Click to collapse
Don't know, I dont dual boot, sorry.
This also occur if i stream YouTube from chrome browser
mjp93 said:
@RoadXY Still no luck with YouTube video colour glitch. Turned on / off nu player. Same some video have glitch some don't. Any fix?
Click to expand...
Click to collapse
No, not currently. But I'm no dev.
Hey guys! Guess what? I'm currently busy on porting the Android N Developer Preview 2 ROM from the Xperia Z3 to Z2! Hope this turns out stable!
Here is the Download link to the ROM below:
Mediafire: http://www.mediafire.com/folder/hp8fnbbxkbb4f/Android N Xperia Z2
IMPORTANT NOTICE!!!
For anyone or everyone saying that I'm, or that this OP is a troll, please stop. This is a WIP, and the ROM did indeed work (when I still had my PC.) I did follow a ROM port guide the first time when it was successful, but now I don't know which one it is. I have contacted some ROM porters for help so I guess that I should wait for an answer to let them help me port it. And for this ROM, it's NOT for stable use yet. This is just for people wanting to test and see if it works at all. If you have your PC at the moment then please and try to fix it yourself. (I'll add you to credits.) Anyway, sorry about the inconvenience, but please don't call me a troll becuase I'm not! �� Cheers.
BUT BEFORE DOWNLOAD, READ THE STEPS BELOW. I'M NOT RESPONSIBLE FOR ANY DEVICE BRICKS ETC. THIS ROM IS FOR UNLOCKED BOOTLOADER PHONES ONLY HAVING MODEL NUMBER OF D6503.
Better safe then sorry. Create a ROM backup of your device in TWRP before installing the ROM in Recovery! Download ZipMe from the Play Store to backup some of your important data!
1: Download all of the files that you want to flash from the link given above and place them in the Root of your sdcard.
3: Download the updater-script FOR ROM FIX file and rename the file to updater-script.
4: Extract the ROM and replace the updater-script from the one you downloaded earlier with the one in the ROM (META-INF/google/com/android folder I think.). REZIP the ROM.
5: Reboot into recovery. Click on Wipe then "Adcanced Wipe." Wipe Dalvik Cache, Cach, System, Data, and Internal Storage.
6: Go back after finished. Flash the Android N ROM, then the Optional files. (Root, Media Apps, & And Smoother Boot Animation, backed up data etc.)
7: Flash the custom Kernel. (Link: http://forum.xda-developers.com/xperia-z2/development/kernel-advanced-stock-kernel-t3347413)
8: Reboot and Enjoy!!!
If anything isn't working or your stuck in a bootloop, try and flash the bootloop fix file from here: https://mega.nz/#!AJcwERiQ!FUmk6eS5aoVsFSZ1f4WZIELIt7sckPCj11n0AIdCNzU
If your still stuck in a bootloop, then the ROM may not be compatible with your device. Use Flashtool to flash back to Lollipop/Marshmallow and wait for a ROM that's compatible with your Phone.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
THANKS!!!
BTW this ROM is different from the one i installed. i have managed and tried to fix some issues like the camera, but if anything isn't working then just please report it. Thanks.!
Below Are Some Problems That You May Encounter.
-The Multi-Window is EXTREMELY laggy.
-Some apps don't work such as the Beta Program App Settings. (But then again, it's expected from a port. XD)
-Recovery (TWRP) may no longer work. You can try and install a Kernel and Recovery your self, but be sure to make a Backup before risking your phone into a Bootloop.
-My Bootloader is unlocked, so I HIGHLY recommend only flashing this ROM if you have a Unlocked Bootloader. If not, wait for a Locked Bootloader version!
-No more Sony Media Apps (Walkman Music, Album, Video etc.) after flashing ROM, so flash the Sony Media Apps zip after ROM to restore the Media Apps.
-The Boot Animation is EXTREMLY slow and laggy, (5-8fps) so please flash the Smoother Boot Animation zip after ROM flashed to ensure a smoother, 30fps Boot Animation.
I haven't encountered any other problems as of now, but I will update the list if I find a bug! And once I receive a problem or bug, I will try to patch it and upload it as a Flashable zip file to fix the bug. A Screenshot of Home Screen from Z2 Android N ROM is attached below...
Once the link is given and doesn't work on your device, just tell me the problem that it's going through, give me your device details, (LB or UB device, Model number, IMEI etc.) and I'll double check the ROM and will try to make supported for your device!
As you can see in the screenshot attachment down below, i have changed some of my icons (like the app icons and status bar icons) back to stock Xperia. I wasn't a BIG fan of all of the AOSP icons.
Upcoming ROM Information.
Contributers
Brandon Nel
Thiagomesa
pollonamid
hiredantispammer
ROM OS Version: N
ROM Kernel: Z2 Marshmallow 6.0.1 Kernel
ROM Firmware Required: At least 23.5.A.0.486
Based On: Android N DP2
Version Information
Status: BETA
Current Stable Version: N/A
Current Beta Version: 2016/04/27
Stable ROM Release Date: May 3 2016
waiting you.:good:
carlito-lt26i said:
waiting you.:good:
Click to expand...
Click to collapse
Guess what? i'm already busy zipping all the files together ready for upload. The upload link will be available around 3 May 2016 since i can't upload now due to TERRIBLE Upload speed. next week will have access to much faster upload speeds and I will upload the download link then. Thanks for comment!
Will it work on LB also?
Brandon Nel said:
Guess what? i'm already busy zipping all the files together ready for upload. The upload link will be available around 3 May 2016 since i can't upload now due to TERRIBLE Upload speed. next week will have access to much faster upload speeds and I will upload the download link then. Thanks for comment!
Click to expand...
Click to collapse
Bro, once you got the zip ready and uploaded, I can help uploading it to other sites like mega or drive as well. Just hit me up or allow me. My internet is fast AF. The work you're doing here is outstanding.
vikash1994b said:
Will it work on LB also?
Click to expand...
Click to collapse
No sorry. You can try but do a backup first! Link is coming 3 may 2016.
hiredantispammer said:
Bro, once you got the zip ready and uploaded, I can help uploading it to other sites like megaupload or drive as well. Just hit me up or allow me. My internet is fast AF. The work you're doing here is outstanding.
Click to expand...
Click to collapse
thanks but I have no clue on how to share a file to upload without uploading it to begin with. I will be happy to share it but i don't know how it works. Please help! :0
Brandon Nel said:
No sorry. You can try but do a backup first! Link is coming 3 may 2016.
Click to expand...
Click to collapse
Hmm well thnkx for ur work
Btw hw is the rom and bugs?
vikash1994b said:
Hmm well thnkx for ur work
Btw hw is the rom and bugs?
Click to expand...
Click to collapse
The ROM is working pretty good so far. It isn't 100% fast and stable but it works pretty well. For the bugs, the camera is most of the time unresponsive (Probably because I forgot to change the camera settings and stuff before installing it.) The camera also sometimes force closes. As for the Multi-Window, it's almost totally unusable but I think this is because of the CPU and not the ROM. And some apps also don't work at all, such as the Beta Program App Settings, The Notification bar glitching too small etc. Hopefully i will fix these bugs before final upload! Fingers crossed. X0
Brandon Nel said:
thanks but I have no clue on how to share a file to upload without uploading it to begin with. I will be happy to share it but i don't know how it works. Please help! :0
Click to expand...
Click to collapse
Yeah, you'll have to at least upload it to Google Drive or Mega first.
hiredantispammer said:
Yeah, you'll have to at least upload it to Google Drive or Mega first.
Click to expand...
Click to collapse
Sorry then. I'll upload it on 2 or 3 May. Just be patient!
hiredantispammer said:
Yeah, you'll have to at least upload it to Google Drive or Mega first.
Click to expand...
Click to collapse
When I upload it to Dropbox or Drive first, then I will share the link for you to mirror to other sites such as Mega.
wow. great work!
Wow i don't receive the marshmallow update via OTA and you are working in android N.
that's very nice Thanks for all your dedication to have update the Xperia Z2. :good:
zierra05 said:
Wow i don't receive the marshmallow update via OTA and you are working in android N.
that's very nice Thanks for all your dedication to have update the Xperia Z2. :good:
Click to expand...
Click to collapse
Download the FTF via Xperifirm. MM's version number ends in .570.
Then flash using Flashtool. You can choose to wipe or not to wipe data if you're coming from stock lollipop. Just uncheck 'wipe data'. If you follow the steps properly, you should have a smooth upgrade to MM!
Also - could you release a version without the edited status bar icons etc?
Multiwindow maybe working when edit buildprop debug to userdebug ?
This is crazy, only few weeks after the official mm ROM we be gettin Android N. I'm hella shocked right now. We own it to my bruh Brandon
---------- Post added at 11:50 AM ---------- Previous post was at 11:46 AM ----------
http://forum.xda-developers.com/showthread.php?t=2772879
Ur ROM might work wit this recovery
good job!!!
Hi. First thank you for doing this.
You could provide us some information what you did with the N Z3 build to make it work on Z2 so we can reproduce it. I guess you used the Z3 system image and replaced the kernel with a Z2 one. What else was needed to make it work?
Thank you very much.
Viper OS 7.1.2 cross ported for MT6580
Lollipop 5.1.1 devices using stock Kernel 3.10.72+
Now with SP Flash Tool files for direct flashing
BETA version note:
This release is not in a stable state yet, however has most functions available.
Releasing to allow others to port to their devices. I recommend using Vysor during intial set up.
Increase font size and screen size (in screen settings) to MAX.
Bundled with Magisk v17.1, root checker, and Universal Launcher
Working:
Ril (Calls, Data, SMS)
Wifi
Lots more
Not working:
Bluetooth (working on this)
So far...
Info:
Rom Name: Viper OS
Rom Version: v3.1.1 Coral
Base: LineageOS
Rom OS Version: Android Nougat v7.1.2
Stock Info:
Stock Device: Finow X5 AIR / LEMFO LEM 5 Pro
Stock OS Version: Android Lollipop v5.1.1
Chipset: MediaTek - MT6580
Kernel: Linux 3.10.72+
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How to Install:
*PLEASE MAKE SURE YOU HAVE A FULL BACKUP
BEFORE PROCEEDING...*
TWRP
-DOWNLOAD LINK
-Boot into recovery mode [ adb reboot recovery ]
-Wipe : Data, Cache, Dalvik, System
-Install ViperOSBetav2.zip
-After completed install Gapps
-Wipe Dalvik/Art and Cache
-Reboot system
SP Flash Tool
-Find a good tutorial for setting up SPFT - there is too much for me to rewrite here and get it right
-Load Scatter file from download -----> LINK
-Make sure only download is selected in SPFT
-Hit download and connect watch whilst powered OFF
-Wait for Success
-Reboot system
Please allow some time for initial boot. The spinning logo will be onscreen for 5+ minutes.
If flashing by SP Flash Tool, this will allocate 13Gb to System storage and 1Gb to user storage.
You will also need to register you device with Google Play so follow an online proceedure for
pulling your device ID and authorizing it.
I try and release a storage fix patch for ther SPFL version.
As this ROM was compiled by another team, please see their release credits below:
Credits:
Lineage OS Team
Viper OS Team
Tanvir Ahmed
Vgdn1942
Tribetman
Pedro P DarkKiller
Samiul Islam Shawon
Android GSM BD
And Many More
Hello,
Can I also take the Rom for my LEMFO LEM x?
Thank you
*
Cool ! I just saw your thread !! Why the he'll didn't I know about this earlier (lol) .
It should work in lemfo y3 (mtk6580) , will test it soon and report , may I modify it ?
jesvi said:
Cool ! I just saw your thread !! Why the he'll didn't I know about this earlier (lol) .
It should work in lemfo y3 (mtk6580) , will test it soon and report , may I modify it ?
Click to expand...
Click to collapse
Of course feel free to mod it to get it working on more devices. Just if you post it up please copy the credits so the work by the teams involved is recognized (just look at the end of my post for their details)
I would suggest you try the 5.1 custom ROM I uploaded as this is much more stable and my daily driver. Battery life is off the scale compared to stock OS, and everything except the sensors work. Who really needs to know their fake heart rate anyway...
I also have a EMUI ROM available if you want it, but the dpi is messed up and as such you need to drive the icon size way down to get the screen to look usable - which in turn makes it unusable. However you might have better luck on a different watch.
Keep us updated and share if successful.
Hi,
I have tried the ROM on my LEM5 (not Pro) without enabling the pre-loader. At first everything works fine when going through the initial setup, but right after getting to the home screen it hangs and gets into a boot loop unfortunately. So had to revert back to my previous ROM, do you think it would possible to create a non-Pro version as well?
Thanks.
Braas000
braas000 said:
Hi,
I have tried the ROM on my LEM5 (not Pro) without enabling the pre-loader. At first everything works fine when going through the initial setup, but right after getting to the home screen it hangs and gets into a boot loop unfortunately. So had to revert back to my previous ROM, do you think it would possible to create a non-Pro version as well?
Thanks.
Braas000
Click to expand...
Click to collapse
Unfortunately I only own an X5 Air so wouldn't be able to test anything I ported for other devices. I don't want to take up peoples time asking them to test things out that have a high chance of not working. Its just 10 fold easier having the device at hand to debug it.
I personally found this build too buggy for my liking, and I experienced the occasional reboot / kernel panic.
Have you tried the Resurrection Rom (5.1)? - its far more stable.
I just done this to see if nougat could run on the older kernel.
Thanks for your response, I will give the Resurrection Rom a try.
X-Bo V5 handset with MT6580 and 3.10.72 kernel SPFT
Hi,
I have an X-Bo V5 handset with an MT6580 chipset and 3.10.72 kernel. Do you know where I can get an custom rom based on Lineage OS for this, NOT using TWRP (must be SP Flash Tool).
I thought your rom was it, but I realise it's for a smart watch! The download process completed with a success tick, but it bricked my phone lol. Luckily I was able to restore the stock rom.
Any ideas where I can get a Lineage OS based rom for X-Bo V5 handset with MT6580 chipset and 3.10.72 kernel? Must have scatter file for installation using SP Flash Tool, twrp cannot work on this device.
Peter
pmckinley said:
Hi,
I have an X-Bo V5 handset with an MT6580 chipset and 3.10.72 kernel. Do you know where I can get an custom rom based on Lineage OS for this, NOT using TWRP (must be SP Flash Tool).
I thought your rom was it, but I realise it's for a smart watch! The download process completed with a success tick, but it bricked my phone lol. Luckily I was able to restore the stock rom.
Any ideas where I can get a Lineage OS based rom for X-Bo V5 handset with MT6580 chipset and 3.10.72 kernel? Must have scatter file for installation using SP Flash Tool, twrp cannot work on this device.
Peter
Click to expand...
Click to collapse
There only appears to be official firmware for the X-Bo that I've came across anyway. If TWRP is unavailable for the device then this would probably attribute to the lack of custom firmware available. Your best bet would be finding a generic MT6580 rom and porting it into your existing SP files.
You only really need system.img and boot.img however will than more likely - unless you are very lucky with file sizes - need to create a fresh scatter file. Ive used WR_MTK_v2.30 a few times and the scatter function works well. There are some excellent guides here on xda.
Good luck.
Thanks CerebralFlex!
Can you recommend a no-frills generic MT6580 rom I could try? I’ve clicked on so many dead links lol
Peter
Hi, Im a little confused with this custom rom thing. Ive got a Phillips S358 phone with the processor and kernel specified on the op, will it work or is it only for some specific devices?
pmckinley said:
Thanks CerebralFlex!
Can you recommend a no-frills generic MT6580 rom I could try? I’ve clicked on so many dead links lol
Peter
Click to expand...
Click to collapse
Sorry for the delay mate; its hard to suggest a generic rom cause peoples idea of generic differs a fair bit, but if I was too suggest anything, it would be Lineage OS. See if you can find a MT6580 port, or better yet, try and find a phone similar in hardware to your X-Bo and see if there is one for that.
By this I mean, I'm using the Finow X5 smartwatch, and this shares very similar hardware to say the Infinix X510 (Hot 2) so I can near enough get any rom for the X510 booting on the smartwatch.
Just keep an eye on your kernel level and and your good to go if your current kernel matches.
So say: https://forum.xda-developers.com/hot-2/orig-development/rom-t3596838
If your X-Bo is running Marshmallow and 3.18.x then this has a good chance at working.
Vlurr said:
Hi, Im a little confused with this custom rom thing. Ive got a Phillips S358 phone with the processor and kernel specified on the op, will it work or is it only for some specific devices?
Click to expand...
Click to collapse
Hi
There is a good chance it will work yes, but you will need to port it using your stock resources. Pretty much as long as the ROM matches your processor and kernel level then it will be possible to get it to boot up. Its just a matter of if any specific hardware (native to Phillips) is used, you will need to adapt the drivers in the ROM to utilize it. So things like the camera for example is a pain to get working and even some of the most experienced chefs out there cant get it to work properly.
All part of the fun and games learning to port software.
But in short, no, this ROM as downloaded, is for the Finow X5 smartwatch. But nothing stopping you importing your kernel to the boot.img and giving it a bash.
CerebralFlex said:
There only appears to be official firmware for the X-Bo that I've came across anyway. If TWRP is unavailable for the device then this would probably attribute to the lack of custom firmware available. Your best bet would be finding a generic MT6580 rom and porting it into your existing SP files.
You only really need system.img and boot.img however will than more likely - unless you are very lucky with file sizes - need to create a fresh scatter file. Ive used WR_MTK_v2.30 a few times and the scatter function works well. There are some excellent guides here on xda.
Good luck.
Click to expand...
Click to collapse
Hi can you help with creating the fresh scatter file, what are the steps??
Peter
Can i port it for a mobile phone
I use the x5 air and when I get into this rom, the finow logo has been flashing, unable to access the boot logo. So how can I fix this error, thanks. Sorry for my bad english
Reflash stock ROM using SP Flash Tool
I'm not sure why it wont boot for you, I suggest using TWRP to flash the Lineage or RR ROM I posted a while back. These both work better than Viper.
I downloaded all 3 of your Roms and none worked , I use TWRP 303 by jemmini
CerebralFlex said:
Viper OS 7.1.2 cross ported for MT6580
Lollipop 5.1.1 devices using stock Kernel 3.10.72+
Now with SP Flash Tool files for direct flashing
Stock Info:
Stock Device: Finow X5 AIR / LEMFO LEM 5 Pro
Stock OS Version: Android Lollipop v5.1.1
Chipset: MediaTek - MT6580
Kernel: Linux 3.10.72+
Click to expand...
Click to collapse
Can you share the rom link again? I want to port it for my device
Hello, Please someone who has the rom that can upload it again, we would be very grateful since the link is broken