Its all about MTK
This porting guide is succesfull for beginers for porting Roms using SMART PHOBES
#PC can also be used for this porpose
I'am currently using MTK 6582 .This method is 100 % working
____starting rom porting_____
1) create 2 folders called port and stock
2)extract port rom in port folder and system (folder of your stock) in stock
3) replace boot img for stock to port
[You can also use custum kernals]
4) Delete vendor folder and replace it
5) Delete this files
Systel/lib/hw
/modules
/etc/wifi
/firmware
Repace this with your stock
6) Replace This files from stock to port
System/bin/pq
/vold
/lib/lib.camalgo.so
/lib.camdrv.so
/libcameracustum.so
/libdpframework.so
/libsensorservice.so
/libvcodecdrv.so
/etc/apns.conf.xml
/vold.fstab
/vold.fstab.nand
If you was porting from diferent key phase phones please replace system/user/keylayouts/generic.kl
7) change your mountpoints with your stock
8) now using 7zip from playstore compress the system,boot.img,meta
9) flash the zip using cwm or twrp or etc
points to be noted
@ if recovery shows zip as bad compress it with solid explorer
@you have to use same version of androi
@select custum rom based on
Soc
Version
Cores of processor
RAM.
If anyone found more improved files.please suggest for knowledge.
Bugs can be solved by asking
THANKZ
Related
Easy method to apply a theme to a stock rom
NO need to flash new ROM!
All you need:
-Rooted Lg Optimus One P500 with custom recovery installed
-wireless connection to your Android system files using this easy method:http://forum.xda-developers.com/showthread.php?t=1030107
Once you Deodex files inside app & framework folders (inside system)
Or
replace with the files from any rom that is already deodexed (only app&framework folders).
Replace your desired theme files (you need to mod files especially for your stock rom - search for a theme tutorial) inside framework folder
and
reboot phone.
All of this is done in windows without the use of ADB or command line process.
PS: if you don't want to lose any data, backup contacts to google and use Titanium Backup for all your apps.
I'm a new developer and have applied all my tweaks and edits via root explorer so far. is there a way to change a CWM backup into a flashable rom file for other users to flash? I searched around a bit, but couldn't seem to find anything about it.
Goto this thread here
follow all the setup to install cygwin & kitchen
once it's all setup you can plug your phone in and create a rom
follow the guide (second method) for creating the rom system files by extracting the system folders from your phone (rom you are using)
you can then turn it into a flashable rom zip
I think you just basically extract the CWM backup, then repackage them in 1 zip file (except for the androidsecure backup).
9steele9 said:
I'm a new developer and have applied all my tweaks and edits via root explorer so far. is there a way to change a CWM backup into a flashable rom file for other users to flash? I searched around a bit, but couldn't seem to find anything about it.
Click to expand...
Click to collapse
YOU CAN USE THE CWM BACKUP IN KITCHEN YO MAKE A CUSTOM ROM.BUT YOU CAN'T ABLE TO USE THE BACKUP FILE DIRECTLY AS A CUSTOM ROM.
OTHER HAND YOU CAN MAKE ALSO THIS BACKUP AS A DEODEXED STOCK ROM BY DEODEXING THIS BACKUP FILES.
YOU CAN FIND KICHEN GUIDE HERE-http://forum.xda-developers.com/showthread.php?t=1801690
YOU CAN FIND DEODEXING GUIDE HERE-http://forum.xda-developers.com/showthread.php?t=2230337
PRESS THANKS IF I HAVE A BIT SUCCESS TO HELPING YOU.....:thumbsup:
Hmm thats how i make roms that i dont post here though....
In tthe cwm backup u have system.rfs.tar
Extract it using 7zip
U get system.img or u might get a system folder....
Extract the img file using Magic Iso
Open magic iso
In menu..
File>open
Select ur system.img
On the left side pane right click on the disk icon and click extract.select ur destination
Once the files are all extracted copy all of them in a folder named "system"
Now get a meta-inf folder from a custom rom and zip
Meta-Inf and system folder together
U have ur rom...
Ill create a video tutorial for this tomorrow as many people ask this question in different threads of devices....
Sent from my GT-S5360 using xda app-developers app
I've done root with srs root-root and install cwm-recovery via update.zip, after that I tried most costum rom from version 2.3 to 4.0, but all I'm trying to costum rom can not boot up normally in my device, what causes all costum rom can not boot in galaxy-y,
I also do a partition on sd-card via cwm, and also pay attention to exactly how to install the costum rom to flash the kernel, but still all the costume rom will not boot
either you are a using the wrong kernel eg stock based roms require a stock based kernel and cm roms require a cm kernel and for you to format your system to ext
also make sure you mount system before flashing a rom
if you use the cm common kernel you need to unmount system and remount system before flashing the zip
daniel347 said:
I've done root with srs root-root and install cwm-recovery via update.zip, after that I tried most costum rom from version 2.3 to 4.0, but all I'm trying to costum rom can not boot up normally in my device, what causes all costum rom can not boot in galaxy-y,
I also do a partition on sd-card via cwm, and also pay attention to exactly how to install the costum rom to flash the kernel, but still all the costume rom will not boot
Click to expand...
Click to collapse
Try to flash via odin before you flash the rom . And remmember to mount everything before flashing and wipe anything THX
i have installed kernel CM7 totoro,from this forum,and install CM7 stable for my device,not boot,i think for permanent CWM or other costum Recovery for this device
daniel347 said:
i have installed kernel CM7 totoro,from this forum,and install CM7 stable for my device,not boot,i think for permanent CWM or other costum Recovery for this device
Click to expand...
Click to collapse
like I said for cm7 you need to format your system to ext either using percys kernel or the ext converter tool
you also need to unmount system in cwm and remount system twice before flashing the rom zip
you can follow my instructions
http://forum.xda-developers.com/showpost.php?p=50907846&postcount=25
meta-inf from percys build iv uploaded
http://forum.xda-developers.com/showpost.php?p=50908670&postcount=27
marcussmith2626 said:
like I said for cm7 you need to format your system to ext either using percys kernel or the ext converter tool
you also need to unmount system in cwm and remount system twice before flashing the rom zip
you can follow my instructions
http://forum.xda-developers.com/showpost.php?p=50907846&postcount=25
meta-inf from percys build iv uploaded
http://forum.xda-developers.com/showpost.php?p=50908670&postcount=27
Click to expand...
Click to collapse
yes,i try n post again
could you please help me to find a rom that support int2ext which makes internal memory increases
daniel347 said:
could you please help me to find a rom that support int2ext which makes internal memory increases
Click to expand...
Click to collapse
use link2sd if using cm7 (requires 2nd sd card ext partition create in cwm - will format sd card)
I do not understand about the tutorial you gave in post http://forum.xda-developers.com/showpost.php?p=50907846&postcount=25
for META.inf folder, what a way to make extrack CM7 Rom.zip and Zip back to replace the META folder you created. beg her help ..
daniel347 said:
I do not understand about the tutorial you gave in post http://forum.xda-developers.com/showpost.php?p=50907846&postcount=25
for META.inf folder, what a way to make extrack CM7 Rom.zip and Zip back to replace the META folder you created. beg her help ..
Click to expand...
Click to collapse
use winrar or another unzip prog to open the rom zip
you will notice a folder there called meta.inf
delete it
copy the meta.inf from the attachment in the other post and place it in the rom zip
you can do it on your phone if you dont have a pc
just use zarchiver app to unzip the rom zip and replace the meta.inf folder then use the app again to rezip it
marcussmith2626 said:
use winrar or another unzip prog to open the rom zip
you will notice a folder there called meta.inf
delete it
copy the meta.inf from the attachment in the other post and place it in the rom zip
you can do it on your phone if you dont have a pc
just use zarchiver app to unzip the rom zip and replace the meta.inf folder then use the app again to rezip it
Click to expand...
Click to collapse
ok..thanks
Well lots of people asked me here and on facebook to expain how i port custom roms for my device so i decided to make a Noob friendly thread for those who want to learn how to port custom rom for their device i use this method for porting samsung roms for my device but it may also work on any other device as well
I will make myself as clear and as simple as possible so anyone can understand what actually is happening in each part of the guide
The method i use for porting roms is as following :
Things which you need are : Notepad++ , 7Zip a laptop and a brain
First of all you need to understand what really matters when porting a custom rom for you device and that is the compatibility of both the devices one which is yours and one from which you are trying to port the rom from in order to port a custom rom the specifications of both the devices should be similar i.e. they should be sharing the same Chipset ,same Internal memory , same Ram and Camera resolution
Terms used in the guide:
-Base rom(this is the rom which was made for your device which you would use as a base for porting the roms)
-Port rom(this is the rom which your are trying to port for your device)
Step 1
Make a folder at your desktop and name it port now take any custom rom you want to port for your device and put it into that folder now just like this make another folder on the desktop and name it base and put a rom made for your device into it but be careful if youre trying to port a cyanogenmod based rom or a AOSP based rom then your base rom should be a ASOP or a cyanogenmod rom and if youre trying to port a samsung rom then the base rom should be a samsung rom and same as for htc , xperia or any other device
Step 2
Now go to base folder and right click on the base rom and choose extract here using either winrar or 7zip ( i recommend 7zip) now go to port folder and right click on it and choose open archive option from 7zip( there will be two options for open archive one and two just chose the upper one because the lower one will extract the rom and we don't want that for this one )
Step 3
The port rom elements will be shown like meta inf and system and boot img ( absent in some cases) now go to port roms system folder then proceed as following system>etc>firmware and delete the firmware folder now go to base rom and copy the firmware folder from the same path by going from system>etc>firmware and paste it into the etc folder of the port rom
Step 4
Now go to the port rom proceed as following system>lib>modules and delete the module folder and just like how we did before copy the module folder from the base rom into the port roms lib folder
Step 5
Now go to port rom and proceed as following system>usr>keylayout>generic.kl and delete it and copy the generic.kl from the base rom into the port rom
Step 6
now copy and replace the boot.img from the base rom into the port rom
Step 7
No go to port folder and and proceed as following system>meta-imf>com>google>android>updater binary and updater script and delete these two and replace from the ones in the base folder
Step 8
Now put the port rom into your external-sd card and flash via recovery with a full data and cache wipe
Some fixes for bugs and issues:
Note: try replacing the files into the port rom and see if the problem solves or not
NFC
/system/app/Nfc.apk
/system/lib/libnfc*.so
/system/bin/pcscd
Radio
/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
also copy and replace the wlan.ko file from system>libs>modules into the port rom from the base rom if the file name is pronto_wlan.ko then rename it to wlan.ko before replacing
/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 have any questions or queries then feel free to ask
Reserved
for future
Just in case
what to do if there is no system folder?
Can anyone pls pls please help me finnd a ROM for lenovo tab 10 tbx-103f. I need a oreo or a pie update. Pls. My device has 16 GB storage and 1 GB ram.
gracefang said:
If you have any questions or queries then feel free to ask
Click to expand...
Click to collapse
If i have to port one ui 4 rom (which is already ported to galaxy Note 9) for galaxy Note 8, then which rom to should be base rom and which should be ported?? I already have installed hades q one ui 2.5 on galaxy Note 8 which is ported from note 9..
Please help
Asalam Alaikum! (Greetings)
I am having issue on connecting my Samsung on Odin, when i put my Samsung in Download Mode and Check Odin, there is no device shows and also Taskbar shows Unknown Device. Is there any Custom Rom available for Samsung J3 Pro (SM-J3110) which i can put on memory card and installed it, because my mobile has TWRP Recovery installed.
Thank You,
Regards,
Muhammad Naveed Haroon
Maybe you receive a (more) suitable answer if you post in one of the respective Samsung J3 forums:
https://forum.xda-developers.com/galaxy-j3-2016
https://forum.xda-developers.com/galaxy-j3-2017
Make a custom rom
How I can make a custom rom without PC in a smart phone? Please answer me.
NaveedHaroon said:
Asalam Alaikum! (Greetings)
I am having issue on connecting my Samsung on Odin, when i put my Samsung in Download Mode and Check Odin, there is no device shows and also Taskbar shows Unknown Device. Is there any Custom Rom available for Samsung J3 Pro (SM-J3110) which i can put on memory card and installed it, because my mobile has TWRP Recovery installed.
Thank You,
Regards,
Muhammad Naveed Haroon
Click to expand...
Click to collapse
Alaikum salam
Did you downloaded the samsung drivers??
Custom rom
I searched in the net and now I know that there is no any custom rom for this phone (sm-j3110) but u can make one using your PC or your mobile phone.
1.download its official rom
2.decompile your rom and extract system.img.ext4 and boot.img both.(winrar need)
3.decompile system.img.ext4 file ( many apps available for PC to do this but in android just android image studio (ais) =>( This app does not require root)available)
4.put all files and folders into a folder and rename it as system
5.download the file which exists in https://forum.xda-developers.com/an...oid-o-beta-redesigned-emoji-set-t3608280/amp/ and then extract the meta-inf folder.
6.create a new folder and rename it as custom rom and move the system folder which you make it in step 4 ,move boot.img file and meta-inf which you extracted it in step 5
7.compress all as custom rom
8.put the custom rom into you sd card and after wipping data and cache ,install the custom rom, magisk and nano package of 5.1 arm gapps
9.reboot your device and enjoy ☺☺☺
#attention
Your device maybe take bootloop so do it with your own risk and I'm not responsible for the problems