Note: it must be same MTK6572 and same Jellybean
What do you need:
- Stock rom
- Port rom (must be MTK6572 android 4.2.2)
- 7zip
- notepad++
- apktool
- knowledge about porting
- Brain
- Create a 2 folder name it as stock and port
- Extract your stock rom place in stock folder same as port rom place in port folder
- dnsmasq
- vold
- sdcard
or if you got a bootloop try to copy and replace all files in bin folder
Step 3: etc folder delete and copy the following folder and files
- firmware
- dhcpcd
- fmr
- permissions
- security
- wide-dhcpv6
- wifi
- apns-conf.xml
- vold.fstab
- vold.fstab.nand
- vold.fstab.fat.nand
- hw
- modules
- soundfx
- libaudio.a2dp.default.so
- libaudio.primary.default.so
- libaudiocompensationfilter.so
- libaudiocustparam.so
- libaudioeffect_jni.so
- libaudioflinger.so
- libaudio-resampler.so
- libaudiosetting.so
- libaudioutils.so
- liba3m.so
- libacdk.so
- libaudioflinger.so
- libc.so
- libcam.camadapter.so
- libcam.campipe.so
- libcam.camshot.so
- libcam.client.so
- libcam.paramsmgr.so
- libcam.utils.so
- libcam_camera_exif.so
- libcamalgo.so
- libcamdrv.so
- libcamera_client.so
- libcamera_metadata.so
- libcameracustom.so
- libcameraservice.so
- libexif.so
- libfeatureio.so
- libfrsdk.so
- libft.so
- libgoggles_clientvision.so
- libgui.so
- libimageio.so
- libja3m.so
- libcustom_nvram.so
- libsensorservice.so
- libvcodecdrv.so
- libdpframework.so
- libinput.so
- libsync.so
- usr - delete and replace
- ro.sf.lcd_density=160 (for 3.5 inch) 240 (for 4.0 inch)
- ro.sf.hwrotation=0 (for fix rotation)
You can use the META-INF of Port rom
Open META-INF / com/google / android / updater-script and edit this line
Your mount point must be mmcblk0p4 for system like this:
- format("ext4", "EMMC", "/dev/block/mmcblk0p4");
- mount("ext4", "EMMC", "/dev/block/mmcblk0p4", "/system");
- mount("ext4", "EMMC", "/dev/block/mmcblk0p6", "/data");
- Replace your stock Boot.img and logo.bin to port rom
How to fix:
1. decompile framework-res.apk
2. on res/xml folder find storage_list.xml and edit in notepad++
3. there is sdcard0 at sdcard1 just interchange the 0 change it as 1 and the 1 change it as 0
4. Recompile
if you got a bootloop prepare your original framework-res.apk from Port rom
0 comments:
Post a Comment