[tutorial] How to Fix Camera Problem & Other Bugs (Guide For Bug fix OS porting) - OS Porting

At First Download
1.Notpad++
2.Boot.img unpacker
3.Win rar or 7zipper
MT6582 MOBILE
MT6582 mobile camera not conect:
STEP 1:
copy these from stock ROM to port ROM
system\lib\hw\camera.default.so
(N.B.if you have two files like camera.goldfish.so delete this the one with the goldfish)
system/lib/ libcamdrv.so
system/lib/libcamalgo.so
system/lib/libcameracustom.so
system/lib/libdpframework.so
system\etc\permissions\android.hardware.camera.xml
STEP 2:
unpcack the boot.img from Port ROM
open init.rc file add/replace below lines
#Camera
#chmod 0660 /dev/FM50AF
chmod 0660 /dev/OV8825AF
chmod 0660 /dev/CAM_CAL_DRV
#chown system camera /dev/FM50AF
chown system camera /dev/OV8825AF
chown system camera /dev/CAM_CAL_DRV
& repack boot.img
MT65XX MOBILE
STEP 1:
& Other mediateck Mobile camera not conect :
copy these from stock ROM to port ROM
system\lib\hw\camera.default.so
(N.B.if you have two files like camera.goldfish.so delete this the one with the goldfish)
system\lib\libcamera_client.so
system\lib\libcameracustom.so
system\lib\libcameraprofile.so
system\lib\libcameraservice.so
system\etc\permissions\android.hardware.camera.xml
STEP 2:
unpcack the boot.img from Port ROM
open init.rc file add/replace below lines
#Camera
#chmod 0660 /dev/FM50AF
chmod 0660 /dev/OV8825AF
chmod 0660 /dev/CAM_CAL_DRV
#chown system camera /dev/FM50AF
chown system camera /dev/OV8825AF
chown system camera /dev/CAM_CAL_DRV
& repack boot.img
Some Bug Fix All Mediatek Mobile
####
Camera Force closed or camera not conect :
copy these from stock rom to port Rom
system\lib\hw\camera.default.so
system\lib\libcamera_client.so
system\lib\libcameracustom.so
system\lib\libcameraprofile.so
system\lib\libcameraservice.so
system\lib\libmhal.so
system\lib\libmhalcontent.so
system\lib\libmhaldrv.so
system\lib\libmhalmdp.so
system\lib\libmhalpipe.so
system\lib\libmhalscenario.so
system\lib\libmhalutility.so
system\etc\permission\android.hardware.camera.front.xml
system\etc\permission\android.hardware.camera.xml
FOR CAMERA NOT CONNECTED ISSUE /CAMERA GREEN /CAMERA FORCE CLOSE "unfortunately camera has stopped"
Replace first libcamdrv.so (needed for 6582
devices) and check if not success then replace
libcameraservice.so from/lib.
Camera Focus Problem :
system/lib/libcameraservice.so
system/lib/libfeatureio.so from
[NB:These step not required for some mobile]
#####
Audio Problem :
AUDIO NOT COMING IN LOUDSPEAKER MODE
Replace to
system/lib/libaudio.primary.default.so
[If still sound related problem: Replace all libaud*.so Sometimes replacing all audio files give you a boot loop in that case replace only]
system/lib/libaudio.a2dp.default.so
system/lib/libaudio.primary.default.so
system/lib/libaudiocompensationfilter.so
system/lib/libaudiocustparam.so
system/lib/libaudiosetting.so
system/lib/libaudioutils.so
system/lib/libcustom_nvram.so[HIGH AUDIO VOLUME ISSUE]
[N.B. Some phone not working]
#####
SD CARD PROBLEM :
fix internal & external SD Card Problem mount
system/etc/vold.fstab [mount problem Fix]
system/etc/vold.fstab.nand
system/etc/vold [Default problem fix]
#####
Download epo Problem :
Replace in framework folder
mediatek-common.jar
mediatek-framework.jar
mediatek-op.jar
mediatek-telephony-common.jar
#####
3G Problem
Replace to
system/etc/mddb
system/etc/agps_profiles_conf.xml
system/etc/apns-conf.xml
system/etc/epo_conf.xml
system/etc/spn- conf.xml
system/etc/virtual-spn-conf-by-efpnn.xml
system/etc/virtual-spn-conf-by-efspn.xml
system/etc/virtual-spn-conf-by-imsi.xml
####
WiFi
WIFI TOGGLE PROBLEM :
system/etc/wide-dhcpv6
system/etc/wifi
system\lib\modules\mtk_stp_wmt.ko
system\lib\modules\mtk_wmt_wifi.ko
####
COMPASS PROBLEM :
system/lib/libsensorservice.so
####
VIDEO SHOWING PIXELS AND GLITCHES PROBLEM :
system/lib/libvcodecdrv.so from /lib
####
FM PROBLEM
system/lib/modul/mtk_fm_drv.k0
####
GPS Problem:
system/lib/module folder mtk_stp_gps.ko
###
TOUCH SCREEN PROBLEM :
system/lib/libinput.so
########### Again Share My Old Experience ##########
Sim card problem :
*system/bin
SD Card Problem :
*system/etc/vold.fstab
*system/etc/vold.fstab.nand
Camera Focus Problem :
*system/lib/libcameraservice.so
[NB:These step not required for Walton Primo GF,GH,GH+ & GH2]
Boot loop problem :
*system/lib/libandroid_runtime.so
*system/lib/libandroid_servers.so
*system/lib/libmedia_jni.so
Other Problem :
*system/etc/dhcpcd
*system/etc/permissions
*system/etc/security
*system/etc/audio
*system/etc/bluetooth
*system/etc/wifi
*system/lib/drm
*system/lib/egl
*system/lib/soundfx
=================BUILD.PROP TWEAKS==================
# By PurePerformances NK
# System Tweaks
ro.HOME_APP_ADJ=1
ro.mot.eri.losalert.delay=1000
ro.config.hw_fast_dormancy=1
ro.ril.enable.amr.wideband=1
ro.config.hw_fast_dormancy=1
ro.config.hw_quickpoweron=true
# Miscellaneous Tweaks
persist.sys.NV_FPSLIMIT=90
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
debug.qc.hardware=true
com.qc.hardware=true
ro.telephony.sms_segment_size=160
persist.telephony.support.ipv6=1
persist.telephony.support.ipv4=1
ro.config.hw_fast_dormancy=1
persist.sys.shutdown.mode=hibernate
ro.config.hw_power_saving=true
ro.media.enc.hprof.vid.fps=65
ro.mot.buttonlight.timeout=1
ro.ril.set.mtu1472=1
touch.presure.scale=0.001
# Makes streaming videos stream faster
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-record=true
# Graphics Enhancement
debug.performance.tuning=1
video.accelerate.hw=1
ro.media.dec.jpeg.memcap=20000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.enc.jpeg.quality=100
# Scrolling Responsiveness
windowsmgr.max_events_per_sec=90
persist.cust.tel.eons=1
# Power Saving Tweaks
ro.ril.disable.power.collapse=1
pm.sleep_mode=1
wifi.supplicant_scan_interval=180
# Dialing Tweaks
ro.telephony.call_ring.delay=0
ro.lge.proximity.delay=25
mot.proximity.delay=25
# DalvikVM
dalvik.vm.verify-bytecode=false
dalvik.vm.execution-mode=int:fast
dalvik.vm.checkjni=false
dalvik.vm.dexopt-data-only=1
dalvik.vm.heapstartsize=1m
dalvik.vm.heapgrowthlimit=64m
dalvik.vm.heapsize=128m
dalvik.vm.verify-bytecode=false
dalvik.vm.execution-mode=int:jit
dalvik.vm.lockprof.threshold=250
dalvik.vm.dexopt-flags=m=v,o=y
dalvik.vm.jmiopts=forcecopy
# Performance
debug.composition.type=gpu
ro.max.fling_velocity=20000
ro.min.fling_velocity=18000
debug.performance.tuning=1
debug.kill_allocating_task=0
debug.overlayui.enable=1
debug.egl.profiler=1
debug.egl.hw=1
debug.sf.hw=1
hw3d.force=1
hw2d.force=1
force_hw_ui=true
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
ro.min_pointer_dur=8
debug.kill_allocating_task=0
persist.sys.ui.hw=1
ro.debuggable=1
ro.config.disable.hw_accel=false
ro.kernel.android.checkjni=0
persist.sys.purgeable_assets=1
persist.sys.use_dithering=1
ro.secure=0
ro.min_pointer_dur=1
# 16bit Transparency
persist.sys.use_16bpp_alpha=1

A.S.Noman Khan said:
At First Download
1.Notpad++
2.Boot.img unpacker
3.Win rar or 7zipper
MT6582 MOBILE
MT6582 mobile camera not conect:
STEP 1:
copy these from stock ROM to port ROM
system\lib\hw\camera.default.so
(N.B.if you have two files like camera.goldfish.so delete this the one with the goldfish)
system/lib/ libcamdrv.so
system/lib/libcamalgo.so
system/lib/libcameracustom.so
system/lib/libdpframework.so
system\etc\permissions\android.hardware.camera.xml
STEP 2:
unpcack the boot.img from Port ROM
open init.rc file add/replace below lines
#Camera
#chmod 0660 /dev/FM50AF
chmod 0660 /dev/OV8825AF
chmod 0660 /dev/CAM_CAL_DRV
#chown system camera /dev/FM50AF
chown system camera /dev/OV8825AF
chown system camera /dev/CAM_CAL_DRV
& repack boot.img
MT65XX MOBILE
STEP 1:
& Other mediateck Mobile camera not conect :
copy these from stock ROM to port ROM
system\lib\hw\camera.default.so
(N.B.if you have two files like camera.goldfish.so delete this the one with the goldfish)
system\lib\libcamera_client.so
system\lib\libcameracustom.so
system\lib\libcameraprofile.so
system\lib\libcameraservice.so
system\etc\permissions\android.hardware.camera.xml
STEP 2:
unpcack the boot.img from Port ROM
open init.rc file add/replace below lines
#Camera
#chmod 0660 /dev/FM50AF
chmod 0660 /dev/OV8825AF
chmod 0660 /dev/CAM_CAL_DRV
#chown system camera /dev/FM50AF
chown system camera /dev/OV8825AF
chown system camera /dev/CAM_CAL_DRV
& repack boot.img
Some Bug Fix All Mediatek Mobile
####
Camera Force closed or camera not conect :
copy these from stock rom to port Rom
system\lib\hw\camera.default.so
system\lib\libcamera_client.so
system\lib\libcameracustom.so
system\lib\libcameraprofile.so
system\lib\libcameraservice.so
system\lib\libmhal.so
system\lib\libmhalcontent.so
system\lib\libmhaldrv.so
system\lib\libmhalmdp.so
system\lib\libmhalpipe.so
system\lib\libmhalscenario.so
system\lib\libmhalutility.so
system\etc\permission\android.hardware.camera.front.xml
system\etc\permission\android.hardware.camera.xml
FOR CAMERA NOT CONNECTED ISSUE /CAMERA GREEN /CAMERA FORCE CLOSE "unfortunately camera has stopped"
Replace first libcamdrv.so (needed for 6582
devices) and check if not success then replace
libcameraservice.so from/lib.
Camera Focus Problem :
system/lib/libcameraservice.so
system/lib/libfeatureio.so from
[NB:These step not required for some mobile]
#####
Audio Problem :
AUDIO NOT COMING IN LOUDSPEAKER MODE
Replace to
system/lib/libaudio.primary.default.so
[If still sound related problem: Replace all libaud*.so Sometimes replacing all audio files give you a boot loop in that case replace only]
system/lib/libaudio.a2dp.default.so
system/lib/libaudio.primary.default.so
system/lib/libaudiocompensationfilter.so
system/lib/libaudiocustparam.so
system/lib/libaudiosetting.so
system/lib/libaudioutils.so
system/lib/libcustom_nvram.so[HIGH AUDIO VOLUME ISSUE]
[N.B. Some phone not working]
#####
SD CARD PROBLEM :
fix internal & external SD Card Problem mount
system/etc/vold.fstab [mount problem Fix]
system/etc/vold.fstab.nand
system/etc/vold [Default problem fix]
#####
Download epo Problem :
Replace in framework folder
mediatek-common.jar
mediatek-framework.jar
mediatek-op.jar
mediatek-telephony-common.jar
#####
3G Problem
Replace to
system/etc/mddb
system/etc/agps_profiles_conf.xml
system/etc/apns-conf.xml
system/etc/epo_conf.xml
system/etc/spn- conf.xml
system/etc/virtual-spn-conf-by-efpnn.xml
system/etc/virtual-spn-conf-by-efspn.xml
system/etc/virtual-spn-conf-by-imsi.xml
####
WiFi
WIFI TOGGLE PROBLEM :
system/etc/wide-dhcpv6
system/etc/wifi
system\lib\modules\mtk_stp_wmt.ko
system\lib\modules\mtk_wmt_wifi.ko
####
COMPASS PROBLEM :
system/lib/libsensorservice.so
####
VIDEO SHOWING PIXELS AND GLITCHES PROBLEM :
system/lib/libvcodecdrv.so from /lib
####
FM PROBLEM
system/lib/modul/mtk_fm_drv.k0
####
GPS Problem:
system/lib/module folder mtk_stp_gps.ko
###
TOUCH SCREEN PROBLEM :
system/lib/libinput.so
########### Again Share My Old Experience ##########
Sim card problem :
*system/bin
SD Card Problem :
*system/etc/vold.fstab
*system/etc/vold.fstab.nand
Camera Focus Problem :
*system/lib/libcameraservice.so
[NB:These step not required for Walton Primo GF,GH,GH+ & GH2]
Boot loop problem :
*system/lib/libandroid_runtime.so
*system/lib/libandroid_servers.so
*system/lib/libmedia_jni.so
Other Problem :
*system/etc/dhcpcd
*system/etc/permissions
*system/etc/security
*system/etc/audio
*system/etc/bluetooth
*system/etc/wifi
*system/lib/drm
*system/lib/egl
*system/lib/soundfx
=================BUILD.PROP TWEAKS==================
# By PurePerformances NK
# System Tweaks
ro.HOME_APP_ADJ=1
ro.mot.eri.losalert.delay=1000
ro.config.hw_fast_dormancy=1
ro.ril.enable.amr.wideband=1
ro.config.hw_fast_dormancy=1
ro.config.hw_quickpoweron=true
# Miscellaneous Tweaks
persist.sys.NV_FPSLIMIT=90
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
debug.qc.hardware=true
com.qc.hardware=true
ro.telephony.sms_segment_size=160
persist.telephony.support.ipv6=1
persist.telephony.support.ipv4=1
ro.config.hw_fast_dormancy=1
persist.sys.shutdown.mode=hibernate
ro.config.hw_power_saving=true
ro.media.enc.hprof.vid.fps=65
ro.mot.buttonlight.timeout=1
ro.ril.set.mtu1472=1
touch.presure.scale=0.001
# Makes streaming videos stream faster
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-record=true
# Graphics Enhancement
debug.performance.tuning=1
video.accelerate.hw=1
ro.media.dec.jpeg.memcap=20000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.enc.jpeg.quality=100
# Scrolling Responsiveness
windowsmgr.max_events_per_sec=90
persist.cust.tel.eons=1
# Power Saving Tweaks
ro.ril.disable.power.collapse=1
pm.sleep_mode=1
wifi.supplicant_scan_interval=180
# Dialing Tweaks
ro.telephony.call_ring.delay=0
ro.lge.proximity.delay=25
mot.proximity.delay=25
# DalvikVM
dalvik.vm.verify-bytecode=false
dalvik.vm.execution-mode=int:fast
dalvik.vm.checkjni=false
dalvik.vm.dexopt-data-only=1
dalvik.vm.heapstartsize=1m
dalvik.vm.heapgrowthlimit=64m
dalvik.vm.heapsize=128m
dalvik.vm.verify-bytecode=false
dalvik.vm.execution-mode=int:jit
dalvik.vm.lockprof.threshold=250
dalvik.vm.dexopt-flags=m=v,o=y
dalvik.vm.jmiopts=forcecopy
# Performance
debug.composition.type=gpu
ro.max.fling_velocity=20000
ro.min.fling_velocity=18000
debug.performance.tuning=1
debug.kill_allocating_task=0
debug.overlayui.enable=1
debug.egl.profiler=1
debug.egl.hw=1
debug.sf.hw=1
hw3d.force=1
hw2d.force=1
force_hw_ui=true
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
ro.min_pointer_dur=8
debug.kill_allocating_task=0
persist.sys.ui.hw=1
ro.debuggable=1
ro.config.disable.hw_accel=false
ro.kernel.android.checkjni=0
persist.sys.purgeable_assets=1
persist.sys.use_dithering=1
ro.secure=0
ro.min_pointer_dur=1
# 16bit Transparency
persist.sys.use_16bpp_alpha=1
Click to expand...
Click to collapse
Hi,
I tried the camera section to resolve the camera issue on my mobile after porting but it goes in the boot logo loop.
If I don't replace any file then the mobile boots but camera doesn't work.

"system ui has stopped" - how to fix?

Delete systemui.odex than reboot and see...
If problem comes again than u have to replace systemui.apk from stock.
Hit thanks if u see i helped u

i tried to fix it camera is working but video recoring is not working

Replace lib files for camera..
Cameracustom.so and cameraservice.
Hit thx also

Thanks. Víctor
mi reino por una chusquilla

I have mmx canvas a116i(mtk65xx).when i was on stock 4.2.2 rom front camera was working... But now ibl am using custom 4.4.2 rom and front camera is not showing on camera and also not working.
I have asked from dev of rom but he says that this is due to kernel glitches.
Even i have tried many other custom roms and found that same problem.
So please give me advise.

camera focusing isn't working inspite of replacing libcameraservice.so & libfeatureio.so ............... need help please (mt6582)

Tarikul Islam Tanvir said:
camera focusing isn't working inspite of replacing libcameraservice.so & libfeatureio.so ............... need help please (mt6582)
Click to expand...
Click to collapse
same problem help PLEASE!!! when i change libcameraservice, phone gets stuck on bootlogo.

Hey Admin, When i ported oppo colouros custom rom to my walton primo x2 mini(MTK6589) then i was found some bugs like fornt/back camera recording was not working when i started recording it shown "unfortunately camera has stopped" & skype ,imo viber ,whats app audio,video problems facing so when i saw your post i also tried your method 2 for MTK(65XX) but when i was trying to port this modified oppo rom again to my device it is not working ,showing only oppo boot logo after started so i don,t understand what can i do now please helppppppppppppp me bro

Hi, I am using Samsung GTS7582. I have lost my back camera quality. It was wrking fine on stock rom, but when I flash custom rom cm12.1, my back camera has lost the quality, while front camera working well.

A.S.Noman Khan said:
At First Download
1.Notpad++
2.Boot.img unpacker
3.Win rar or 7zipper
MT6582 MOBILE
MT6582 mobile camera not conect:
STEP 1:
copy these from stock ROM to port ROM
system\lib\hw\camera.default.so
(N.B.if you have two files like camera.goldfish.so delete this the one with the goldfish)
system/lib/ libcamdrv.so
system/lib/libcamalgo.so
system/lib/libcameracustom.so
system/lib/libdpframework.so
system\etc\permissions\android.hardware.camera.xml
STEP 2:
unpcack the boot.img from Port ROM
open init.rc file add/replace below lines
#Camera
#chmod 0660 /dev/FM50AF
chmod 0660 /dev/OV8825AF
chmod 0660 /dev/CAM_CAL_DRV
#chown system camera /dev/FM50AF
chown system camera /dev/OV8825AF
chown system camera /dev/CAM_CAL_DRV
& repack boot.img
MT65XX MOBILE
STEP 1:
& Other mediateck Mobile camera not conect :
copy these from stock ROM to port ROM
system\lib\hw\camera.default.so
(N.B.if you have two files like camera.goldfish.so delete this the one with the goldfish)
system\lib\libcamera_client.so
system\lib\libcameracustom.so
system\lib\libcameraprofile.so
system\lib\libcameraservice.so
system\etc\permissions\android.hardware.camera.xml
STEP 2:
unpcack the boot.img from Port ROM
open init.rc file add/replace below lines
#Camera
#chmod 0660 /dev/FM50AF
chmod 0660 /dev/OV8825AF
chmod 0660 /dev/CAM_CAL_DRV
#chown system camera /dev/FM50AF
chown system camera /dev/OV8825AF
chown system camera /dev/CAM_CAL_DRV
& repack boot.img
Some Bug Fix All Mediatek Mobile
####
Camera Force closed or camera not conect :
copy these from stock rom to port Rom
system\lib\hw\camera.default.so
system\lib\libcamera_client.so
system\lib\libcameracustom.so
system\lib\libcameraprofile.so
system\lib\libcameraservice.so
system\lib\libmhal.so
system\lib\libmhalcontent.so
system\lib\libmhaldrv.so
system\lib\libmhalmdp.so
system\lib\libmhalpipe.so
system\lib\libmhalscenario.so
system\lib\libmhalutility.so
system\etc\permission\android.hardware.camera.front.xml
system\etc\permission\android.hardware.camera.xml
FOR CAMERA NOT CONNECTED ISSUE /CAMERA GREEN /CAMERA FORCE CLOSE "unfortunately camera has stopped"
Replace first libcamdrv.so (needed for 6582
devices) and check if not success then replace
libcameraservice.so from/lib.
Camera Focus Problem :
system/lib/libcameraservice.so
system/lib/libfeatureio.so from
[NB:These step not required for some mobile]
#####
Audio Problem :
AUDIO NOT COMING IN LOUDSPEAKER MODE
Replace to
system/lib/libaudio.primary.default.so
[If still sound related problem: Replace all libaud*.so Sometimes replacing all audio files give you a boot loop in that case replace only]
system/lib/libaudio.a2dp.default.so
system/lib/libaudio.primary.default.so
system/lib/libaudiocompensationfilter.so
system/lib/libaudiocustparam.so
system/lib/libaudiosetting.so
system/lib/libaudioutils.so
system/lib/libcustom_nvram.so[HIGH AUDIO VOLUME ISSUE]
[N.B. Some phone not working]
#####
SD CARD PROBLEM :
fix internal & external SD Card Problem mount
system/etc/vold.fstab [mount problem Fix]
system/etc/vold.fstab.nand
system/etc/vold [Default problem fix]
#####
Download epo Problem :
Replace in framework folder
mediatek-common.jar
mediatek-framework.jar
mediatek-op.jar
mediatek-telephony-common.jar
#####
3G Problem
Replace to
system/etc/mddb
system/etc/agps_profiles_conf.xml
system/etc/apns-conf.xml
system/etc/epo_conf.xml
system/etc/spn- conf.xml
system/etc/virtual-spn-conf-by-efpnn.xml
system/etc/virtual-spn-conf-by-efspn.xml
system/etc/virtual-spn-conf-by-imsi.xml
####
WiFi
WIFI TOGGLE PROBLEM :
system/etc/wide-dhcpv6
system/etc/wifi
system\lib\modules\mtk_stp_wmt.ko
system\lib\modules\mtk_wmt_wifi.ko
####
COMPASS PROBLEM :
system/lib/libsensorservice.so
####
VIDEO SHOWING PIXELS AND GLITCHES PROBLEM :
system/lib/libvcodecdrv.so from /lib
####
FM PROBLEM
system/lib/modul/mtk_fm_drv.k0
####
GPS Problem:
system/lib/module folder mtk_stp_gps.ko
###
TOUCH SCREEN PROBLEM :
system/lib/libinput.so
########### Again Share My Old Experience ##########
Sim card problem :
*system/bin
SD Card Problem :
*system/etc/vold.fstab
*system/etc/vold.fstab.nand
Camera Focus Problem :
*system/lib/libcameraservice.so
[NB:These step not required for Walton Primo GF,GH,GH+ & GH2]
Boot loop problem :
*system/lib/libandroid_runtime.so
*system/lib/libandroid_servers.so
*system/lib/libmedia_jni.so
Other Problem :
*system/etc/dhcpcd
*system/etc/permissions
*system/etc/security
*system/etc/audio
*system/etc/bluetooth
*system/etc/wifi
*system/lib/drm
*system/lib/egl
*system/lib/soundfx
=================BUILD.PROP TWEAKS==================
# By PurePerformances NK
# System Tweaks
ro.HOME_APP_ADJ=1
ro.mot.eri.losalert.delay=1000
ro.config.hw_fast_dormancy=1
ro.ril.enable.amr.wideband=1
ro.config.hw_fast_dormancy=1
ro.config.hw_quickpoweron=true
# Miscellaneous Tweaks
persist.sys.NV_FPSLIMIT=90
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
debug.qc.hardware=true
com.qc.hardware=true
ro.telephony.sms_segment_size=160
persist.telephony.support.ipv6=1
persist.telephony.support.ipv4=1
ro.config.hw_fast_dormancy=1
persist.sys.shutdown.mode=hibernate
ro.config.hw_power_saving=true
ro.media.enc.hprof.vid.fps=65
ro.mot.buttonlight.timeout=1
ro.ril.set.mtu1472=1
touch.presure.scale=0.001
# Makes streaming videos stream faster
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-record=true
# Graphics Enhancement
debug.performance.tuning=1
video.accelerate.hw=1
ro.media.dec.jpeg.memcap=20000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.enc.jpeg.quality=100
# Scrolling Responsiveness
windowsmgr.max_events_per_sec=90
persist.cust.tel.eons=1
# Power Saving Tweaks
ro.ril.disable.power.collapse=1
pm.sleep_mode=1
wifi.supplicant_scan_interval=180
# Dialing Tweaks
ro.telephony.call_ring.delay=0
ro.lge.proximity.delay=25
mot.proximity.delay=25
# DalvikVM
dalvik.vm.verify-bytecode=false
dalvik.vm.execution-mode=int:fast
dalvik.vm.checkjni=false
dalvik.vm.dexopt-data-only=1
dalvik.vm.heapstartsize=1m
dalvik.vm.heapgrowthlimit=64m
dalvik.vm.heapsize=128m
dalvik.vm.verify-bytecode=false
dalvik.vm.execution-mode=int:jit
dalvik.vm.lockprof.threshold=250
dalvik.vm.dexopt-flags=m=v,o=y
dalvik.vm.jmiopts=forcecopy
# Performance
debug.composition.type=gpu
ro.max.fling_velocity=20000
ro.min.fling_velocity=18000
debug.performance.tuning=1
debug.kill_allocating_task=0
debug.overlayui.enable=1
debug.egl.profiler=1
debug.egl.hw=1
debug.sf.hw=1
hw3d.force=1
hw2d.force=1
force_hw_ui=true
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
ro.min_pointer_dur=8
debug.kill_allocating_task=0
persist.sys.ui.hw=1
ro.debuggable=1
ro.config.disable.hw_accel=false
ro.kernel.android.checkjni=0
persist.sys.purgeable_assets=1
persist.sys.use_dithering=1
ro.secure=0
ro.min_pointer_dur=1
# 16bit Transparency
persist.sys.use_16bpp_alpha=1
Click to expand...
Click to collapse
Bro this guide work on Qualcomm snapdragon 410
Plz tell me
And my error in camera ( can't to the connect)

Useful Guide!

Tarikul Islam Tanvir said:
camera focusing isn't working inspite of replacing libcameraservice.so & libfeatureio.so ............... need help please (mt6582)
Click to expand...
Click to collapse
Try To Replace libdpframework.so from the Working CM 12.1/CM 13.1.
---------- Post added at 06:17 AM ---------- Previous post was at 05:59 AM ----------
A.S.Noman Khan said:
At First Download
1.Notpad++
2.Boot.img unpacker
3.Win rar or 7zipper
MT6582 MOBILE
MT6582 mobile camera not conect:
STEP 1:
copy these from stock ROM to port ROM
system\lib\hw\camera.default.so
(N.B.if you have two files like camera.goldfish.so delete this the one with the goldfish)
system/lib/ libcamdrv.so
system/lib/libcamalgo.so
system/lib/libcameracustom.so
system/lib/libdpframework.so
system\etc\permissions\android.hardware.camera.xml
STEP 2:
unpcack the boot.img from Port ROM
open init.rc file add/replace below lines
#Camera
#chmod 0660 /dev/FM50AF
chmod 0660 /dev/OV8825AF
chmod 0660 /dev/CAM_CAL_DRV
#chown system camera /dev/FM50AF
chown system camera /dev/OV8825AF
chown system camera /dev/CAM_CAL_DRV
& repack boot.img
MT65XX MOBILE
STEP 1:
& Other mediateck Mobile camera not conect :
copy these from stock ROM to port ROM
system\lib\hw\camera.default.so
(N.B.if you have two files like camera.goldfish.so delete this the one with the goldfish)
system\lib\libcamera_client.so
system\lib\libcameracustom.so
system\lib\libcameraprofile.so
system\lib\libcameraservice.so
system\etc\permissions\android.hardware.camera.xml
STEP 2:
unpcack the boot.img from Port ROM
open init.rc file add/replace below lines
#Camera
#chmod 0660 /dev/FM50AF
chmod 0660 /dev/OV8825AF
chmod 0660 /dev/CAM_CAL_DRV
#chown system camera /dev/FM50AF
chown system camera /dev/OV8825AF
chown system camera /dev/CAM_CAL_DRV
& repack boot.img
Some Bug Fix All Mediatek Mobile
####
Camera Force closed or camera not conect :
copy these from stock rom to port Rom
system\lib\hw\camera.default.so
system\lib\libcamera_client.so
system\lib\libcameracustom.so
system\lib\libcameraprofile.so
system\lib\libcameraservice.so
system\lib\libmhal.so
system\lib\libmhalcontent.so
system\lib\libmhaldrv.so
system\lib\libmhalmdp.so
system\lib\libmhalpipe.so
system\lib\libmhalscenario.so
system\lib\libmhalutility.so
system\etc\permission\android.hardware.camera.front.xml
system\etc\permission\android.hardware.camera.xml
FOR CAMERA NOT CONNECTED ISSUE /CAMERA GREEN /CAMERA FORCE CLOSE "unfortunately camera has stopped"
Replace first libcamdrv.so (needed for 6582
devices) and check if not success then replace
libcameraservice.so from/lib.
Camera Focus Problem :
system/lib/libcameraservice.so
system/lib/libfeatureio.so from
[NB:These step not required for some mobile]
#####
Audio Problem :
AUDIO NOT COMING IN LOUDSPEAKER MODE
Replace to
system/lib/libaudio.primary.default.so
[If still sound related problem: Replace all libaud*.so Sometimes replacing all audio files give you a boot loop in that case replace only]
system/lib/libaudio.a2dp.default.so
system/lib/libaudio.primary.default.so
system/lib/libaudiocompensationfilter.so
system/lib/libaudiocustparam.so
system/lib/libaudiosetting.so
system/lib/libaudioutils.so
system/lib/libcustom_nvram.so[HIGH AUDIO VOLUME ISSUE]
[N.B. Some phone not working]
#####
SD CARD PROBLEM :
fix internal & external SD Card Problem mount
system/etc/vold.fstab [mount problem Fix]
system/etc/vold.fstab.nand
system/etc/vold [Default problem fix]
#####
Download epo Problem :
Replace in framework folder
mediatek-common.jar
mediatek-framework.jar
mediatek-op.jar
mediatek-telephony-common.jar
#####
3G Problem
Replace to
system/etc/mddb
system/etc/agps_profiles_conf.xml
system/etc/apns-conf.xml
system/etc/epo_conf.xml
system/etc/spn- conf.xml
system/etc/virtual-spn-conf-by-efpnn.xml
system/etc/virtual-spn-conf-by-efspn.xml
system/etc/virtual-spn-conf-by-imsi.xml
####
WiFi
WIFI TOGGLE PROBLEM :
system/etc/wide-dhcpv6
system/etc/wifi
system\lib\modules\mtk_stp_wmt.ko
system\lib\modules\mtk_wmt_wifi.ko
####
COMPASS PROBLEM :
system/lib/libsensorservice.so
####
VIDEO SHOWING PIXELS AND GLITCHES PROBLEM :
system/lib/libvcodecdrv.so from /lib
####
FM PROBLEM
system/lib/modul/mtk_fm_drv.k0
####
GPS Problem:
system/lib/module folder mtk_stp_gps.ko
###
TOUCH SCREEN PROBLEM :
system/lib/libinput.so
########### Again Share My Old Experience ##########
Sim card problem :
*system/bin
SD Card Problem :
*system/etc/vold.fstab
*system/etc/vold.fstab.nand
Camera Focus Problem :
*system/lib/libcameraservice.so
[NB:These step not required for Walton Primo GF,GH,GH+ & GH2]
Boot loop problem :
*system/lib/libandroid_runtime.so
*system/lib/libandroid_servers.so
*system/lib/libmedia_jni.so
Other Problem :
*system/etc/dhcpcd
*system/etc/permissions
*system/etc/security
*system/etc/audio
*system/etc/bluetooth
*system/etc/wifi
*system/lib/drm
*system/lib/egl
*system/lib/soundfx
=================BUILD.PROP TWEAKS==================
# By PurePerformances NK
# System Tweaks
ro.HOME_APP_ADJ=1
ro.mot.eri.losalert.delay=1000
ro.config.hw_fast_dormancy=1
ro.ril.enable.amr.wideband=1
ro.config.hw_fast_dormancy=1
ro.config.hw_quickpoweron=true
# Miscellaneous Tweaks
persist.sys.NV_FPSLIMIT=90
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
debug.qc.hardware=true
com.qc.hardware=true
ro.telephony.sms_segment_size=160
persist.telephony.support.ipv6=1
persist.telephony.support.ipv4=1
ro.config.hw_fast_dormancy=1
persist.sys.shutdown.mode=hibernate
ro.config.hw_power_saving=true
ro.media.enc.hprof.vid.fps=65
ro.mot.buttonlight.timeout=1
ro.ril.set.mtu1472=1
touch.presure.scale=0.001
# Makes streaming videos stream faster
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-record=true
# Graphics Enhancement
debug.performance.tuning=1
video.accelerate.hw=1
ro.media.dec.jpeg.memcap=20000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.enc.jpeg.quality=100
# Scrolling Responsiveness
windowsmgr.max_events_per_sec=90
persist.cust.tel.eons=1
# Power Saving Tweaks
ro.ril.disable.power.collapse=1
pm.sleep_mode=1
wifi.supplicant_scan_interval=180
# Dialing Tweaks
ro.telephony.call_ring.delay=0
ro.lge.proximity.delay=25
mot.proximity.delay=25
# DalvikVM
dalvik.vm.verify-bytecode=false
dalvik.vm.execution-mode=int:fast
dalvik.vm.checkjni=false
dalvik.vm.dexopt-data-only=1
dalvik.vm.heapstartsize=1m
dalvik.vm.heapgrowthlimit=64m
dalvik.vm.heapsize=128m
dalvik.vm.verify-bytecode=false
dalvik.vm.execution-mode=int:jit
dalvik.vm.lockprof.threshold=250
dalvik.vm.dexopt-flags=m=v,o=y
dalvik.vm.jmiopts=forcecopy
# Performance
debug.composition.type=gpu
ro.max.fling_velocity=20000
ro.min.fling_velocity=18000
debug.performance.tuning=1
debug.kill_allocating_task=0
debug.overlayui.enable=1
debug.egl.profiler=1
debug.egl.hw=1
debug.sf.hw=1
hw3d.force=1
hw2d.force=1
force_hw_ui=true
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
ro.min_pointer_dur=8
debug.kill_allocating_task=0
persist.sys.ui.hw=1
ro.debuggable=1
ro.config.disable.hw_accel=false
ro.kernel.android.checkjni=0
persist.sys.purgeable_assets=1
persist.sys.use_dithering=1
ro.secure=0
ro.min_pointer_dur=1
# 16bit Transparency
persist.sys.use_16bpp_alpha=1
Click to expand...
Click to collapse
I'm Getting Incorrect Resolution in My Camera APP. My Mobile Has 13 MP Back Camera But, it's showing only 5 MP In Camera APP. I have Tried Other Camera Apps But, the Problem Still Persists. Any Help ?

a year ago I tried porting 65xx but because of camera trouble I stopped now I'm trying again
I have camera resolution issues on 2 devices an mt6592 phone where instead of 13Mp I get 5 (the port I'm using has a 5Mp camera)
and on a mt6582 based (mt8121) tablet I only get 0.3Mp instead of 2Mp (the port I found has 0.3 front and 2Mp back) mine only has a 2Mp front camera
my question is in what *.so files is the information about camera resolution stored, what files to copy to get full resolution?

Just Replace libcam.paramsmgr.so from the Stock ROM to Port ROM.
It'll be working !!!
joekerr00 said:
a year ago I tried porting 65xx but because of camera trouble I stopped now I'm trying again
I have camera resolution issues on 2 devices an mt6592 phone where instead of 13Mp I get 5 (the port I'm using has a 5Mp camera)
and on a mt6582 based (mt8121) tablet I only get 0.3Mp instead of 2Mp (the port I found has 0.3 front and 2Mp back) mine only has a 2Mp front camera
my question is in what *.so files is the information about camera resolution stored, what files to copy to get full resolution?
Click to expand...
Click to collapse

anshu36 said:
Just Replace libcam.paramsmgr.so from the Stock ROM to Port ROM.
It'll be working !!!
Click to expand...
Click to collapse
tanks for your reply
I tried on the 6582 tablet no luck
replacing that file makes the device go in a bootloop, android rebuilds the art cache and just before booting it freezes at the starting apps window
maybe there is another file needs to be replaced too?
the device I'm porting from is an mt8382 which is identical to the mt8121 except it has a 3G modem and 2 camera's

joekerr00 said:
tanks for your reply
I tried on the 6582 tablet no luck
replacing that file makes the device go in a bootloop, android rebuilds the art cache and just before booting it freezes at the starting apps window
maybe there is another file needs to be replaced too?
the device I'm porting from is an mt8382 which is identical to the mt8121 except it has a 3G modem and 2 camera's
Click to expand...
Click to collapse
Please Make Sure that you have replaced the following files: From Stock ROM to Port ROM
camera.default.so
libcam.exif.so
libcam.paramsmgr.so
libcamalgo.so
libcamdrv.so
libcameracustom.so
libfeatureio.so
libdpframework.so ( From Working CM 12.1/CM 13)
I knew that sometimes it's stuck at starting apps, but it didn't happened in my case. So, try again with above files.
Let me know if it works or not. This is Working on my MT6592M Mobile Device.

anshu36 said:
Please Make Sure that you have replaced the following files: From Stock ROM to Port ROM
camera.default.so
libcam.exif.so
libcam.paramsmgr.so
libcamalgo.so
libcamdrv.so
libcameracustom.so
libfeatureio.so
libdpframework.so ( From Working CM 12.1/CM 13)
I knew that sometimes it's stuck at starting apps, but it didn't happened in my case. So, try again with above files.
Let me know if it works or not. This is Working on my MT6592M Mobile Device.
Click to expand...
Click to collapse
How to solve flash issue
Flashlight not working

Related

Lewa,Miui,Colour OS,Aosp and another roms porting tutorial MT6582 to MT6582

Lewa,Miui,Colour OS,Aosp and another roms porting tutorial MT6582 to MT6582
It is very Hard
Requirements :
*Windows XP/7/8
* 7-Zip
* Notepad++
* Java Jdk
* Cygwin
* Boot.img Unpack/Repack Tools or Android
kitchen
* Stock ROM
*Port RomRom
[N.B : There are two type roms
1. Stock rom [ orginal rom from your
mobile ]
2. Port rom [ Whichever you want to port
rom ]]
*SO NOW PORTING START
+ Replace it from your stock rom to the port
rom
[ FOLDER & FILE TO REPLACING ]
*system/etc/firmware
*system/etc/permission/platform.xml
*system/etc/permission/
handheld_core_hardware.xml
*system/lib/hw
*system/lib/modules
*system/lib/ libaudio.primary.default.so
*system/lib/ libcamdrv.so
*system/lib/libcamalgo.so
*system/lib/libcameracustom.so
*system/lib/libdpframework.so
*system/lib/ libsensorservice.so
*system/lib/libvcodecdrv.so
*system/lib/libsync.so
*system/usr/keylayout
[ FIXING PROBLEM ]
Sim card problem :
*system/bin
SD Card Problem :
*system/etc/vold.fstab
*system/etc/vold.fstab.nand
Camera Focus Problem :
*system/lib/libcameraservice.so
[NB:These step not required for Walton
Primo GF,GH,GH+ & GH2]
Boot loop problem :
*system/lib/libandroid_runtime.so
*system/lib/libandroid_servers.so
*system/lib/libmedia_jni.so
Other Problem :
*system/etc/dhcpcd
*system/etc/permissions
*system/etc/security
*system/etc/audio
*system/etc/bluetooth
*system/etc/wifi
*system/lib/drm
*system/lib/egl
*system/lib/soundfx
* Now open build.prop in notpad++ and change your language.
English user :
ro.product.locale.language=en
ro.product.locale.region=US
* Replace the stock boot.img to port rom
* Unpack Boot.img (Both) then open init.rc (Both) and find these line....
on early_property:ro.build.type=user
write /proc/bootprof "INIT: user build setting"
export BOOTCLASSPATH /system/framework/
core.jar:/system/framework/core-junit.jar:/
system/framework/bouncycastle.jar:/system/
framework/ext.jar:/system/framework/
framework.jar:/system/framework/telephony-
common.jar:/system/framework/mms-
common.jar:/system/framework/
android.policy.jar:/system/framework/
services.jar:/system/framework/apache-xml.jar:/
system/framework/mediatek-common.jar:/
system/framework/mediatek-framework.jar:/
system/framework/secondary-framework.jar:/
system/framework/CustomProperties.jar:/system/
framework/mediatek-telephony-common.jar:/
system/framework/mediatek-op.jar
on early_property:ro.build.type=userdebug
write /proc/bootprof "INIT: userdebug build
setting"
export BOOTCLASSPATH /system/framework/
core.jar:/system/framework/core-junit.jar:/
system/framework/bouncycastle.jar:/system/
framework/ext.jar:/system/framework/
framework.jar:/system/framework/telephony-
common.jar:/system/framework/mms-
common.jar:/system/framework/
android.policy.jar:/system/framework/
services.jar:/system/framework/apache-xml.jar:/
system/framework/mediatek-common.jar:/
system/framework/mediatek-framework.jar:/
system/framework/secondary-framework.jar:/
system/framework/CustomProperties.jar:/system/
framework/mediatek-telephony-common.jar:/
system/framework/mediatek-op.jar
on early_property:ro.build.type=eng
write /proc/bootprof "INIT: eng build setting"
export BOOTCLASSPATH /system/framework/
core.jar:/system/framework/core-junit.jar:/
system/framework/bouncycastle.jar:/system/
framework/ext.jar:/system/framework/
framework.jar:/system/framework/telephony-
common.jar:/system/framework/mms-
common.jar:/system/framework/
android.policy.jar:/system/framework/
services.jar:/system/framework/apache-xml.jar:/
system/framework/mediatek-common.jar:/
system/framework/mediatek-framework.jar:/
system/framework/secondary-framework.jar:/
system/framework/CustomProperties.jar:/system/
framework/mediatek-telephony-common.jar:/
system/framework/mediatek-op.jar:/system/
framework/emma.jar
** Now replacing these line Form port Boot.img to Stock Boot.img
* Then Repacke boot.img and built a new boot.img
[# Camera Drive problem fixing]
* Again Extract the boot.img for android kitchen
[ Both stock & port boot.img]
* and open init.rc/# camera
* Find these missing line port to stock
boot.img and whole missing line paste it
( #Camera )
Example :
#Camera
chmod 0660 /dev/camera-sysram
chmod 0660 /dev/camera-isp
chmod 0660 /dev/camera-pipemgr
chmod 0660 /dev/kd_camera_hw
chmod 0660 /dev/kd_camera_flashlight
chmod 0660 /dev/kd_camera_hw_bus2
chmod 0660 /dev/FM50AF
chmod 0660 /dev/OV8825AF
chmod 0660 /dev/OV88252AF
chmod 0660 /dev/OV8850AF
chmod 0660 /dev/CAM_CAL_DRV
chown system camera /dev/camera-sysram
chown system camera /dev/camera-isp
chown system camera /dev/camera-pipemgr
chown system camera /dev/kd_camera_hw
chown system camera /dev/
kd_camera_flashlight
chown system camera /dev/
kd_camera_hw_bus2
chown system camera /dev/FM50AF
chown system camera /dev/OV8825AF
chown system camera /dev/OV88252AF
chown system camera /dev/OV8850AF
chown system camera /dev/CAM_CAL_DRV
* Now repack boot.img
* Open the Port rom folder go to META-
INF/google/Android / and open updater-script
in Notpad++
And change these line.......
[mmcblkOp3 ----- mmcblkOp9]
[ Example for WALTON PRIMO GH2
[mmcblkOp6]]
* Now go to back the folder of port rom and
you will see two folder and one file name
+ META-INF
+ system
+ boot.img
* Now select these 2 folder 1 file and click
right mouse button and click on 7zip ->>
add to archive
* Now a dialouge box should
appear!
* Configure the Format like This:
Archive format: ZIP
Compression Level : Normal
Compression Method: Deflate
Dictoioany Size: 32k
Word Size 32
* Now Start Zipping and Push the
ZIP to your Memory Card
* Go to Recovery >> Install ZIP &
Wipe Data
Finished!!
_______________A.S.NOMAN KHAN
Continous bootloop
sir,i tried lewa os for Symphony H100 ,from Walton Primo R3 kitkat. i tried with stock boot image then patched boot image then patched boot image + 3 files you mentioned for bootloop ,every time there is bootloop. boot animation ends and starts again .please help......................
port any best rom for lava iris 405+
Sent from my iris405+ using xda app-developers app
Nice guide bro...
Sent from my Android One using XDA Free mobile app
Good bro
thanks

[TWEAKS][Guide] 'build.prop' Tweaks

Most of these are BS, use if you want placebo. I don't support these anymore.
If you don't want to flash zips that makes your phone faster, or you just want to do it yourself, you should try this.
Intro:
As you know Android is open source and the development of Android is increased in today’s life. Android operating system is having some of the information which is really important . Now, whenever a user wants to do editing in the Android system, they do changes in build prop. Build prop tweaks are something which helps you to do changes in the system and customize your android.
If you are having any rooted Android device, this tweak will work absolutely fine. Every user can do editing. But while editing you have to make sure that you do it properly or else it will lead to a bricked Android device. You can easily increase the bootup time of your Android. Increase sound and much more.
Here are the working build.prop tweaks for our device:
Code:
#Better RAM management
ro.HOME_APP_ADJ=1
#Improved audio and video recording quality (works perfect on XL but still works good on X)
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.capture.maxres=8m
ro.media.panorama.defres=3264×1840
ro.media.panorama.frameres=1280×720
ro.camcorder.videoModes=true
ro.media.enc.hprof.vid.fps=65
#Faster Streaming videos
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-rtsp=true
media.stagefright.enable-record=false
#GPU rendering (works better if you have NULL Kernel
debug.sf.hw=1
debug.performance.tuning=1
video.accelerate.hw=1
debug.egl.profiler=1 # Measure rendering time in adb shell dumpsys gfxinfo
debug.egl.hw=1
debug.composition.type=gpu # Disable hardware overlays and use GPU for screen compositing
#Disables built in error reporting
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
#Better net speed
net.tcp.buffersize.default=4096,87380,256960, 4096, 16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,409 6,163 84,256960
net.tcp.buffersize.umts=4096,8 7380,256960,4096,163 84,256960
net.tcp.buffersize.gprs=4096,8 7380,256960,4096,163 84,256960
net.tcp.buffersize.edge=4096,8 7380,256960,4096,163 84,256960
#Saves batery
ro.ril.power_collapse=1
pm.sleep_mode=1
wifi.supplicant_scan_interval=180
#3G tweaks
ro.ril.hep=0
ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=8
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=6
#Better scrolling
windowsmgr.max_events_per_sec=90 #Depends on your preference
ro.min_pointer_dur=8 ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
#Better signal
persist.cust.tel.eons=1
#Faster boot
ro.config.hw_quickpoweron=true
#Disables error checking
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
#Battery life
wifi.supplicant_scan_interval=180
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
#Performance
debug.performance.tuning=1
Code:
#Optional
#Disables the bootanimation
debug.sf.nobootanimation=1
That's it and thanks to ALL THE DEVS ON XDA FOR THIS
:fingers-crossed:
HOW TO TWEAK YOUR 'build.prop' :
1) Download and install root explorer on your Android device from above given requirements
2) Open the application and grant the root permissions
3) Now, simply open go to '/system/' and then you will be able to see a build.prop file
4) Now, click on the option called as Mount R/O.
5) Long press on 'build.prop' and you will get a pop-up
6) Just hit open with text editor and then you are good to go
7) Copy the code given above of your choice and simply paste on your build.prop
8) Click on the save changes and then reboot your Android device.
9) To double check, you must set the permissions of build.prop to rw-r-r, so that you will not encounter some kind of error.
thanks, i was looking for this for a long time
flashed the veez tweaks zip. does I need to add these build prop tweaks or already included in the zip
pyumredkar said:
flashed the veez tweaks zip. does I need to add these build prop tweaks or already included in the zip
Click to expand...
Click to collapse
its quite optional, it's up to you:good:
Works on nougat??
vjendra said:
Works on nougat??
Click to expand...
Click to collapse
not all, but some of them

[GUIDE] ★ Build Prop Edit Tweak ★ Any Android (2018)

Here is my Build Prop Tweaks from Jumping from Various Android Phones
Which seem to be useful for all my phones
If it doesnt work for you please post or if I am missing something please let me know
Just sharing as it helps me, so trying to help others
Please try this at you own risk :fingers-crossed:
Just use Build Prop Editor from G'play (needs to be rooted)
Its how I do it
Copy and Paste the below under the Last line, Save it and reboot to take affect
ro.HOME_APP_ADJ = 1
debug.performance.tuning=1
ro.ril.power_collapse=1
ro.ril.disable.power.collapse=0
pm.sleep_mode=1
ro.config.hw_power_saving=true
persist.cust.tel.eons=1
ro.ril.enable.amr.wideband=1
ro.config.hw_fast_dormancy=1
ro.config.vc_call_steps=20
ro.config.hw_power_saving=1
ro.ril.hep=0
ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=8
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=6
#GOOGLE DNS*
net.dns1=8.8.8.8
net.dns2=8.8.4.4
net.wcdma.dns1=8.8.8.8
net.wcdma.dns2=8.8.4.4
net.hspa.dns1=8.8.8.8
net.hspa.dns2=8.8.4.4
net.lte.dns1=8.8.8.8
net.lte.dns2=8.8.4.4
net.ltea.dns1=8.8.8.8
net.ltea.dns2=8.8.4.4
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
net.gprs.dns1=8.8.8.8
net.gprs.dns2=8.8.4.4
net.ppp0.dns1=8.8.8.8
net.ppp0.dns2=8.8.4.4
net.wlan0.dns1=8.8.8.8
net.wlan0.dns2=8.8.4.4
net.eth0.dns1=8.8.8.8
net.eth0.dns2=8.8.4.4
wifi.supplicant_scan_interval=300
# Net speed tweak
net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.hspa=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.hspda=4096,87380,256960,4096,16 384,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.hsdpa=6144,87380,1048576,6144,8 7380,1048576
net.tcp.buffersize.hspap=4096,87380,1220608,4096,1 6384,393216
net.tcp.buffersize.hsupa=4096,87380,704512,4096,16 384,262144
net.tcp.buffersize.evdo=4096,87380,563200,4096,163 84,262144
net.tcp.buffersize.evdo_b=6144,87380,1048576,6144, 87380,1048576
net.tcp.buffersize.lte=524288,1048576,2097152,5242 88,1048576,2097152
ro.lge.proximity.delay=0
mot.proximity.delay=25
ro.telephony.call_ring.delay=0
ring.delay=0
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.capture.maxres=8m
ro.camcorder.videoModes=true
ime_vibration_pattern=0:60
ro.media.capture.flash=led
ro.media.capture.flashMinV=3300000
ro.media.capture.torchIntensity=40
ro.media.capture.flashIntensity=70
ro.media.capture.fast.fps=4
ro.media.capture.slow.fps=120
ro.camcorder.videoModes=true
ro.media.enc.hprof.vid.fps=65
# Video streaming optimization
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-record=false
media.stagefright.enable-rtsp=true
media.stagefright.enable-qcp=true
media.stagefright.enable-aac=true
# Camera Tweaks Supports Google Camera
persist.camera.HAL3.enabled=1
camera.HAL3.enabled=1
persist.camera.eis.enable=1
camera.eis.enable=1
persist.camera.is_mode=4
camera.is_mode=4
persist.camera.disable_zsl_mode=1
camera.disable_zsl_mode=1
persist.camera.gyro.android=4
camera.gyro.android=4
persist.camera.tof.direct=1
camera.tof.direct=1
persist.camera.tnr.preview=1
camera.tnr.preview=1
persist.camera.tnr.video=1
camera.tnr.video=1
ro.camera.notify_nfc=1
camera.notify_nfc=1
ro.media.panorama.defres=3264x1840
ro.media.panorama.frameres=1280x720
logcat.live=disable
# Auto Dimming Issues
persist.sys.cabc.enable=0
ro.service.cabc.supported=false
#scrolling speed
windowsmgr.max_events_per_sec=150
ro.min_pointer_dur=8
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
persist.sys.scrollingcache=3
debug.sf.hw=1
-----------------
These ones I have tried in other phones but *not this one*...... yet
Just Gaming
persist.sys.NV_FPSLIMIT=60 #or 90
persist.sys.NV_POWERMODE=1
persist.sys.NV_PROFVER=15
persist.sys.NV_STEREOCTRL=0
persist.sys.NV_STEREOSEPCHG=0
persist.sys.NV_STEREOSEP=20 #or30
persist.sys.purgeable_assets=1
debug.enabletr=true
debug.qctwa.preservebuf=1
dev.pm.dyn_samplingrate=1
video.accelerate.hw=1
ro.vold.umsdirtyratio=20
debug.overlayui.enable=1
debug.egl.hw=1
ro.fb.mode=1
hw3d.force=1
persist.sys.ui.hw=1
ro.sf.compbypass.enable=0
debug.sf.hw=1
debug.composition.type=c2d
persist.sys.composition.type=c2d
debug.performance.tuning=1
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.dec.aud.wma.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.media.cam.preview.fps=0
ro.media.codec_priority_for_thumb=so
# Dalvik Virtual Machine Tweaks
dalvik.vm.checkjni=false
dalvik.vm.dexopt-data-only=1
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=64m
dalvik.vm.verify-bytecode=false
dalvik.vm.execution-mode=int:jit
dalvik.vm.lockprof.threshold=250
dalvik.vm.dexopt-flags=m=v,o=y
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.jmiopts=forcecopy
dalvik.vm.dex2oat-filter=interpret-only
dalvik.vm.image-dex2oat-filter=speed
Click to expand...
Click to collapse
Once copied over, Save the modified script with build.prop editor and reboot
Enjoy
I will try this for few minutes.
I think many of these are outdated
nhmanas said:
I think many of these are outdated
Click to expand...
Click to collapse
some of them are, but still, this works great!
System update enabling
My device manufacturer locked System Update by
ro.miki_ui_remove_system_update=1
I made it to 0 and then the system update appeared on the settings
ro.miki_ui_remove_system_update=0
If you don't have this line in your build.prop , search for the word update
in the editor ,read the line , if it is to disable make it 0 else 1
I prefer QuickEdit app , requires root , but can directly open from root directory and edit and modify all kind of text files.
*UPDATED*
RahulR0047 said:
My device manufacturer locked System Update by
ro.miki_ui_remove_system_update=1
I made it to 0 and then the system update appeared on the settings
ro.miki_ui_remove_system_update=0
If you don't have this line in your build.prop , search for the word update
in the editor ,read the line , if it is to disable make it 0 else 1
I prefer QuickEdit app , requires root , but can directly open from root directory and edit and modify all kind of text files.
Click to expand...
Click to collapse
Thanks for that :good:
Thank you for the tutorial, it really helped me

Miui camera app with guide to enable all features

MIUI CAMERA FOR ZUK Z2
Found a way to use MIUI camera in our Device Zuk Z2.
Download
Updated Zip No Tweaks Required https://goo.gl/tCjQ8c
Old version MIA1 camera.zip :https://goo.gl/djA8hb
Procedure
Flash the zip via TWRP and its done
Legacy Method
Now, you need to edit Build.prop - either use an app or root explorer to edit it.
BUILD.PROP CHANGES ::
ro.product.device=gemini
This will trick the camera app to think that your phone is a MI5 and all features like manual mode, focus peeking, beautify, audio focus, slomo will start working
KNOWN BUGS
panorama,group selfie
Enjoy:fingers-crossed:
Works great ...:laugh:
I disabled the original cyanogen camera app for this
work great
thanks man !
Manual mode doesn't work completely :/
ISO and shutter speed don't
Any workaround for that?
rutvora said:
Manual mode doesn't work completely :/
ISO and shutter speed don't
Any workaround for that?
Click to expand...
Click to collapse
Did you edit the build.prop?
It should look like this
spandu500 said:
Did you edit the build.prop?
Click to expand...
Click to collapse
Yes I did change the ones mentioned in initial post
I am on official AEX 4.6
There are 2 more lines in build.prop
Ro.product.model
Ro.aex.device
And there are some camera tweaks in there too:
persist.camera.imglib.fddsp=1
persist.camera.llc=1
persist.camera.llnoise=1
persist.camera.stats.test=0
camera.disable_zsl_mode=1
Do I have to change any of these too?
rutvora said:
Yes I did change the ones mentioned in initial post
I am on official AEX 4.6
There are 2 more lines in build.prop
Ro.product.model
Ro.aex.device
And there are some camera tweaks in there too:
persist.camera.imglib.fddsp=1
persist.camera.llc=1
persist.camera.llnoise=1
persist.camera.stats.test=0
camera.disable_zsl_mode=1
Do I have to change any of these too?
Click to expand...
Click to collapse
Maybe just maybe zsl affecting shutter time
spandu500 said:
Maybe just maybe zsl affecting shutter time
Click to expand...
Click to collapse
Changed that... and no, still not working
Do you or anyone else mind sharing your build.prop file here just for me to compare mine with?
Here we go
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=N2G47H
ro.build.display.id=z2_plus-userdebug 7.1.2 N2G47H e248a12119 test-keys
ro.build.version.incremental=e248a12119
ro.build.version.sdk=25
ro.build.version.preview_sdk=0
ro.build.version.codename=UNOFFICIAL
ro.build.version.all_codenames=REL
ro.build.version.release=7.1.2
ro.build.version.security_patch=
ro.build.version.base_os=
ro.build.date=Thu Sep 14 09:31:01 UTC 2017
ro.build.date.utc=1505381461
ro.build.type=userdebug
ro.build.user=root
ro.build.host=instance-1
ro.build.tags=test-keys
ro.build.flavor=citrus_z2_plus-userdebug
ro.product.brand=Xiaomi
ro.product.name=gemini
ro.product.board=msm8996
# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
# use ro.product.cpu.abilist instead.
ro.product.cpu.abi=arm64-v8a
ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=arm64-v8a
ro.product.manufacturer=Xiaomi
ro.product.locale=en-US
ro.wifi.channels=
ro.board.platform=msm8996
# ro.build.product is obsolete; use ro.product.device
ro.build.product=z2_plus
ro.product.model=Mi 5
ro.product.device=gemini
# Do not try to parse description, fingerprint, or thumbprint
ro.build.description=z2_plus-user 7.0 NRD90M 2.5.412_170428 release-keys
ro.build.fingerprint=ZUK/z2_plus/z2_plus:7.0/NRD90M/2.5.412_170428:user/release-keys
ro.build.characteristics=nosdcard
ro.citrus.device=z2_plus
# end build properties
#
# from device/zuk/z2_plus/system.prop
#
# Audio
af.fast_track_multiplier=1
audio_hal.period_size=192
audio.dolby.ds2.enabled=false
audio.dolby.ds2.hardbypass=false
audio.deep_buffer.media=true
audio.heap.size.multiplier=7
audio.offload.buffer.size.kb=64
audio.offload.gapless.enabled=true
audio.offload.multiaac.enable=true
audio.offload.multiple.enabled=false
audio.offload.passthrough=false
audio.offload.pcm.16bit.enable=true
audio.offload.pcm.24bit.enable=true
audio.offload.track.enable=true
audio.offload.video=true
audio.parser.ip.buffer.size=262144
audio.safx.pbe.enabled=true
persist.audio.fluence.voicecall=true
persist.audio.fluence.voicerec=false
persist.audio.fluence.speaker=true
ro.qc.sdk.audio.fluencetype=fluence
ro.qc.sdk.audio.ssr=false
tunnel.audio.encode=false
use.voice.path.for.pcm.voip=true
# Bluetooth
bt.max.hfpclient.connections=1
qcom.bluetooth.soc=rome
ro.bluetooth.emb_wp_mode=true
ro.bluetooth.wipower=true
# Camera
persist.camera.imglib.fddsp=1
persist.camera.llc=1
persist.camera.llnoise=1
persist.camera.stats.test=0
camera.disable_zsl_mode=1
# CNE
persist.cne.feature=1
# Data modules
persist.data.mode=concurrent
persist.data.netmgrd.qos.enable=true
ro.use_data_netmgrd=true
persist.data.iwlan.enable=true
# Device was launched with M
ro.product.first_api_level=23
# Display (Qualcomm AD)
ro.qualcomm.cabl=2
ro.qcom.ad=1
ro.qcom.ad.calib.data=/system/etc/calib.cfg
ro.qcom.ad.sensortype=2
# Fingerprint
persist.qfp=false
# Flip panel
persist.panel.inversemounted=1
ro.panel.mountflip=3
# Google
ro.opa.eligible_device=true
# Graphics
debug.gralloc.enable_fb_ubwc=1
persist.hwc.enable_vds=1
ro.opengles.version=196610
ro.sf.lcd_density=480
sdm.perf_hint_window=50
# GPS
persist.gps.qc_nlp_in_use=1
persist.loc.nlp_name=com.qualcomm.location
ro.gps.agps_provider=1
# Hdmi
persist.speaker.prot.enable=true
qcom.hw.aac.encoder=true
# Higher fling velocities for smooth scrolling and to provide better responsiveness - From HalogenOS Team
ro.min.fling_velocity=160
ro.max.fling_velocity=20000
# Media
flac.sw.decoder.24bit.support=true
media.aac_51_output_enabled=true
mm.enable.smoothstreaming=true
use.qti.sw.alac.decoder=true
use.qti.sw.ape.decoder=true
# NITZ
persist.rild.nitz_plmn=""
persist.rild.nitz_long_ons_0=""
persist.rild.nitz_long_ons_1=""
persist.rild.nitz_long_ons_2=""
persist.rild.nitz_long_ons_3=""
persist.rild.nitz_short_ons_0=""
persist.rild.nitz_short_ons_1=""
persist.rild.nitz_short_ons_2=""
persist.rild.nitz_short_ons_3=""
# Perf
ro.am.reschedule_service=true
ro.min_freq_0=307200
ro.min_freq_4=307200
ro.sys.fw.bg_apps_limit=60
ro.vendor.extension_library=libqti-perfd-client.so
# Radio
DEVICE_PROVISIONED=1
rild.libpath=/vendor/lib64/libril-qc-qmi-1.so
ril.subscription.types=NV,RUIM
ro.telephony.default_network=22,22
ro.telephony.default_cdma_sub=0
ro.telephony.call_ring.multiple=false
persist.data.qmi.adb_logmask=0
persist.dbg.volte_avail_ovr=1
persist.dbg.vt_avail_ovr=1
persist.net.doxlat=true
persist.radio.add_power_save=1
persist.radio.apm_sim_not_pwdn=1
persist.radio.custom_ecc=1
persist.radio.flexmap_type=dds
persist.radio.force_on_dc=true
persist.radio.hw_mbn_update=1
persist.radio.multisim.config=dsds
persist.radio.primarycard=true
persist.radio.rat_on=combine
persist.radio.sib16_support=1
persist.radio.sw_mbn_volte=1
persist.radio.sw_mbn_openmkt=1
persist.radio.sw_mbn_update=1
# RmNet Data
persist.rmnet.data.enable=true
persist.data.wda.enable=true
persist.data.df.dl_mode=5
persist.data.df.ul_mode=5
persist.data.df.agg.dl_pkt=10
persist.data.df.agg.dl_size=4096
persist.data.df.mux_count=8
persist.data.df.iwlan_mux=9
persist.data.df.dev_name=rmnet_usb0
# TimeService
persist.timed.enable=true
# Assertive Display
ro.qcom.ad=1
ro.qcom.ad.calib.data=/system/etc/ad_calib.cfg
ro.qcom.ad.sensortype=2
ro.qualcomm.cabl=0
# ADB
ro.adb.secure=0
ro.secure=0
ro.allow.mock.location=1
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=mtp,adb
# Higher fling velocities
# for smoother scrolling and better responsiveness
ro.min.fling_velocity=160
ro.max.fling_velocity=20000
# Opts by MOVZX
# Spare some RAM
persist.sys.purgeable_assets=1
# Dex2oat threads for faster app installation
# Use all 4 Cores/Threads of our CPU
ro.sys.fw.dex2oat_thread_count=4
dalvik.vm.dex2oat-threads=4
dalvik.vm.image-dex2oat-threads=4
debug.generate-debug-info=false
# SafetyNet
ro.boot.verifiedbootstate=green
#
# ADDITIONAL_BUILD_PROPERTIES
#
keyguard.no_require_sim=true
ro.config.ringtone=Zen.ogg
ro.config.notification_sound=Chime.ogg
ro.carrier=unknown
ro.config.alarm_alert=Flow.ogg
ro.hwui.texture_cache_size=72
ro.hwui.layer_cache_size=48
ro.hwui.path_cache_size=32
ro.hwui.gradient_cache_size=1
ro.hwui.drop_shadow_cache_size=6
ro.hwui.r_buffer_cache_size=8
ro.hwui.texture_cache_flushrate=0.4
ro.hwui.text_small_cache_width=1024
ro.hwui.text_small_cache_height=1024
ro.hwui.text_large_cache_width=2048
ro.hwui.text_large_cache_height=1024
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=288m
dalvik.vm.heapsize=768m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=512k
dalvik.vm.heapmaxfree=8m
persist.debug.wfd.enable=1
ro.com.google.clientidbase=android-google
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.com.android.mobiledata=false
ro.build.selinux=1
ro.opa.eligible_device=true
persist.sys.dun.override=0
media.sf.omx-plugin=libffmpeg_omx.so
media.sf.extractor-plugin=libffmpeg_extractor.so
persist.sys.recovery_update=false
BUILD_DISPLAY_ID=N2G47H
citrus.ota.version=CitrusCAF-z2_plus-3.5-TANGERINE-UNOFFICIAL-20170914
ro.citrus.version=3.5-TANGERINE
ro.modversion=CitrusCAF-z2_plus-3.5-TANGERINE-UNOFFICIAL-20170914
ro.citrus.buildtype=UNOFFICIAL
ro.citrus.flavour=TANGERINE
ro.bionic.ld.warning=1
persist.sys.dalvik.vm.lib.2=libart.so
dalvik.vm.isa.arm64.variant=kryo
dalvik.vm.isa.arm64.features=default
dalvik.vm.isa.arm.variant=cortex-a53
dalvik.vm.isa.arm.features=default
dalvik.vm.lockprof.threshold=500
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.bootimage.build.fingerprint=ZUK/z2_plus/z2_plus:7.1.2/N2G47H/e248a12119:userdebug/test-keys
ro.expect.recovery_id=0x64e3cb4492e3ba7de38304f02fe9c242893ff81f000000000000000000000000
Deleted
Seemed to work before the buildprop changes took effect. After flashing the zip, I managed to take some photos, I edited b.p through kernel auditor and rebooted. Since, I get the following error when taking a picture with the back facing camera. I am able to shoot video and 5ake selfies though.
Pease advise, noob here, but seems like something that should be solvable.
I am on AEX 4.6 as well.
Build prop
Where to edit these name..?
I am new to this stuff i dnt knw much abt it.
I am using aicp rom on my z2 plus..will b glad if u could help
---------- Post added at 03:37 AM ---------- Previous post was at 03:33 AM ----------
Where to edit these names...?
I am new to this stuff i dnt knw much abt it.
I am using aicp rom on my z2 plus....will b glad if u could help
I tried to flash this zip but got an error, I am on aex4.6 official build. Please help.
_.nish99_ said:
Where to edit these name..?
I am new to this stuff i dnt knw much abt it.
I am using aicp rom on my z2 plus..will b glad if u could help
---------- Post added at 03:37 AM ---------- Previous post was at 03:33 AM ----------
Where to edit these names...?
I am new to this stuff i dnt knw much abt it.
I am using aicp rom on my z2 plus....will b glad if u could help
Click to expand...
Click to collapse
Edit these lines in build.prop in /system/ folder using mixplorer or build.prop editor
anubhavdipta said:
I tried to flash this zip but got an error, I am on aex4.6 official build. Please help.
Click to expand...
Click to collapse
Send ss of error in twrp
dibt359 said:
Seemed to work before the buildprop changes took effect. After flashing the zip, I managed to take some photos, I edited b.p through kernel auditor and rebooted. Since, I get the following error when taking a picture with the back facing camera. I am able to shoot video and 5ake selfies though.
Pease advise, noob here, but seems like something that should be solvable.
I am on AEX 4.6 as well.
Click to expand...
Click to collapse
Reboot fixes the issue for me
Flash help
Hey do I need to wipe anything before flashing the zip please help a newbie here
spandu500 said:
Send ss of error in twrp
Click to expand...
Click to collapse
Here it is

Half GSI 8.0/8.1/9.0

HALF GSI XA1
What's new :
-Night mode
-CPU governors
-Added support of treble for next updates (now stock GSI image brick XA1)
-IMS patch (VoLTE , ViLTE) - (disabled,turned off functions in menu from VoLTE/ViLTE turn on/off)
-Soon support for 5G networks
-Support for project Treble
-Temporarily saved stock build prop from sony with mods , for compatibility of sony apps
-LCD density is temporarily changed to 380
-Pre rooted system and kernel (magisk)
-Sdcardfs - Some devices have sdcardfs kernel panicking on 8.0 . Disable for everyone for the moment ro.sys.sdcardfs=0
-Features and fixed kernel bugs , earlier patches from earlier kernel version
-Fast Charge
-Other patches
Alpha Android 8.1 :
Kernel V2 (only 8.1) (Kernel can not working correct on 8.0 !!) :
-Faster boot
-Kernel is permissive
-VoLTE switch (You can enable) (IMS)
-ViLTE (IMS)
-VoWIFI (IMS)
-VideoCall (IMS)
-Interface UT (IMS)
-Longer battery live (few hours more)
-More free RAM
KERNEL V3 - Patched kernel and system (only 8.1) :
-Multi Window
-Performance Tweaks
-Better Ram Management
-More Battery Efficiency
-Streaming Tweaks
-Net Sped Tweaks
-DNS Tweaks
-System Tweaks
-GCAM Implementation
-Responsiveness Tweaks
Android 8.1 R2 :
-CPU tweaks
-Fonts Tweaks (fonts from pie)
-Patch for VoWIFI
-Support for 802.11r
Added Init.d Tweak
-Zipalign
-Ram_Optimize
-Sqlite_Optimize
-System_Tweaks
-Ext4_Lag_Fix
-Net_Speed_Tweak
-Remount_Full_Ext4
System 8.1 have disabled features added by google and other features for performance .
System is same as 8.0 with saved and patched build.prop .
EXTRA LINE ADDED LINES :
Code:
ro.HOME_APP_ADJ=1
persist.sys.use_dithering=1
persist.sys.purgeable_assets=1
persist.service.pcsync.enable=0
persist.service.lgospd.enable=0
persist.sys.shutdown.mode=hibernate
persist.sys.scrollingcache=3
persist.android.strictmode=0
# Audio and Video Quality Tweaks
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.capture.maxres=8m
ro.media.panorama.defres=3264×1840
ro.media.panorama.frameres=1280×720
ro.camcorder.videoModes=true
ro.media.enc.hprof.vid.fps=65
ro.media.dec.aud.wma.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.media.dec.aud.mp3.enabled=1
ro.media.dec.vid.mp4.enabled=1
ro.media.enc.aud.wma.enabled=1
ro.media.enc.vid.wmv.enabled=1
ro.media.enc.aud.mp3.enabled=1
ro.media.enc.vid.mp4.enabled=1
ro.media.dec.aud.flac.enabled=1
ro.media.dec.vid.H.264.enabled=1
ro.media.enc.aud.flac.enabled=1
ro.media.enc.vid.H.264.enabled=1
# Battery Efficiency Tweaks
ro.ril.disable.power.collapse=0
ro.ril.power_collapse=1
power_supply.wakeup=enable
profiler.force_disable_ulog=true
profiler.force_disable_err_rpt=true
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
# Performance Tweaks
debug.performance.tuning=1
debug.kill_allocating_task=0
force_hw_ui=true
ro.debuggable=1
# Steaming Tweaks
media.stagefright.enable-http=true
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-scan=true
media.stagefright.enable-record=true
# Net Speed Tweak
net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.lte=524288,1048576,2097152,524288,1048576,2097152
net.tcp.buffersize.hsdpa=6144,87380,1048576,6144,87380,1048576
net.tcp.buffersize.hspa=6144,87380,524288,6144,16384,262144
net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.evdo_b=6144,87380,1048576,6144,87380,1048576
net.ipv4.tcp_ecn=0
net.ipv4.route.flush=1
net.ipv4.tcp_rfc1337=1
net.ipv4.ip_no_pmtu_disc=0
net.ipv4.tcp_sack=1
net.ipv4.tcp_fack=1
net.ipv4.tcp_window_scaling=1
net.ipv4.tcp_timestamps=1
net.ipv4.tcp_rmem=4096 39000 187000
net.ipv4.tcp_wmem=4096 39000 187000
net.ipv4.tcp_mem=187000 187000 187000
net.ipv4.tcp_no_metrics_save=1
net.ipv4.tcp_moderate_rcvbuf=1
net.ipv6.tcp_ecn=0
net.ipv6.route.flush=1
net.ipv6.tcp_rfc1337=1
net.ipv6.ip_no_pmtu_disc=0
net.ipv6.tcp_sack=1
net.ipv6.tcp_fack=1
net.ipv6.tcp_window_scaling=1
net.ipv6.tcp_timestamps=1
net.ipv6.tcp_rmem=4096 39000 187000
net.ipv6.tcp_wmem=4096 39000 187000
net.ipv6.tcp_mem=187000 187000 187000
net.ipv6.tcp_no_metrics_save=1
net.ipv6.tcp_moderate_rcvbuf=1
net.tethering.noprovisioning=true
# IPV4 and IPV6 Support
persist.telephony.support.ipv6=1
persist.telephony.support.ipv4=1
# 3G/4G Tweaks
ro.ril.hsxpa=2
ro.ril.hspa=2
ro.ril.lte=2
ro.ril.lte=2
ro.ril.ltea=2
ro.ril.hep=1
ro.ril.enable.3g.prefix=1
ro.ril.enable.4g.prefix=1
ro.ril.enable.dtm=1
ro.ril.hspaclass=15
ro.ril.lteclass=15
ro.ril.gprsclass=15
ro.ril.hsupa.category=10
ro.ril.hsdpa.category=30
ro.ril.lte.category=10
ro.ril.ltea.category=30
ro.ril.enable.a51=1
ro.ril.enable.a52=1
ro.ril.enable.a53=1
ro.ril.enable.a54=1
ro.ril.enable.a55=1
persist.cust.tel.eons=1
# DNS Tweaks
net.dns1=8.8.8.8
net.dns2=8.8.4.4
net.wcdma.dns1=8.8.8.8
net.wcdma.dns2=8.8.4.4
net.hspa.dns1=8.8.8.8
net.hspa.dns2=8.8.4.4
net.lte.dns1=8.8.8.8
net.lte.dns2=8.8.4.4
net.ltea.dns1=8.8.8.8
net.ltea.dns2=8.8.4.4
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
net.gprs.dns1=8.8.8.8
net.gprs.dns2=8.8.4.4
net.ppp0.dns1=8.8.8.8
net.ppp0.dns2=8.8.4.4
net.wlan0.dns1=8.8.8.8
net.wlan0.dns2=8.8.4.4
net.eth0.dns1=8.8.8.8
net.eth0.dns2=8.8.4.4
# Gaming Tweaks
persist.sys.NV_FPSLIMIT=90
persist.sys.NV_POWERMODE=1
persist.sys.NV_PROFVER=15
persist.sys.NV_STEREOCTRL=0
persist.sys.NV_STEREOSEPCHG=0
persist.sys.NV_STEREOSEP=30
# Dalvik Virtual Machine Tweaks
dalvik.vm.checkjni=false
dalvik.vm.dexopt-data-only=1
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=64m
dalvik.vm.verify-bytecode=false
dalvik.vm.execution-mode=int:jit
dalvik.vm.lockprof.threshold=250
dalvik.vm.dexopt-flags=m=v,o=y
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.jmiopts=forcecopy
dalvik.vm.dex2oat-filter=interpret-only
dalvik.vm.image-dex2oat-filter=speed
# Responsiveness & Speed Tweaks
ro.telephony.call_ring.delay=0
ro.ril.enable.amr.wideband=1
ro.lge.proximity.delay=25
mot.proximity.delay=25
pm.sleep_mode=1
ro.config.nocheckin=1
ro.config.vc_call_default=10
# Disable Logers
ro.config.htc.nocheckin=1
ro.config.nocheckin=1
debugtool.anrhistory=0
profiler.debugmonitor=false
profiler.launch=false
profiler.hung.dumpdobugreport=false
# Disable Kernel Error Checking
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
# System Tweaks
ro.config.hw_quickpoweron=true
ro.config.hw_fast_dormancy=1
ro.securestorage.knox=false
ro.telephony.sms_segment_size=160
ro.mot.eri.losalert.delay=1000
video.accelerate.hw=1
ro.config.disable.hw_accel=false
video.accelerate.hw=1
# Camera Tweaks Supports Google Camera
persist.camera.HAL3.enabled=1
camera.HAL3.enabled=1
persist.camera.eis.enable=1
camera.eis.enable=1
persist.camera.is_mode=4
camera.is_mode=4
persist.camera.disable_zsl_mode=1
camera.disable_zsl_mode=1
persist.camera.gyro.android=4
camera.gyro.android=4
persist.camera.tof.direct=1
camera.tof.direct=1
persist.camera.tnr.preview=1
camera.tnr.preview=1
persist.camera.tnr.video=1
camera.tnr.video=1
ro.camera.notify_nfc=1
camera.notify_nfc=1
persist.sys.debug.multi_window=true
persist.sys.overlay.nightmode=true
persist.dbg.ims_volte_enable=1
persist.dbg.volte_avail_ovr=1
persist.dbg.vt_avail_ovr=1
persist.dbg.wfc_avail_ovr=1
persist.radio.rat_on=combine
persist.radio.data_ltd_sys_ind=1
persist.radio.data_con_rprt=1
persist.radio.calls.on.ims=1
go.build.system_root_image=true
ro.config.low_ram=true
debug.sf.nobootanimation=1
persist.sys.shutdown.mode=hibernate
dalvik.vm.heapsize=72m
persist.adb.notify=0
persist.sys.debug.multi_window=true
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
ro.telephony.call_ring.delay=0
ring.delay=0
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
wifi.supplicant_scan_interval=180
persist.sys.purgeable_assets=1
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=false
media.stagefright.enable-http=true
debug.performance.tuning=1
Some IMS options/services can don't work on your device if you are from more restricted countries , that's not a BUG .
If you are from restricted countries don't say about BUG . Check first your phone provider .
Few features can don't work in this alpha V2 rom . This is cross of new and old version of oreo 8.1 . Soon next version please wait .
This alpha is stable and ready to use . Please turn off animation (look on screenshot) , for fix all bug's in this rom , eariler rom and next releases .
First alpha of 8.1 soon . You can check in the comment screenshots from my own stability tests .
Who want to help me soon with fix any bug's in new android versions i welcome to write to me pm
First release give you oreo , after oreo i make pie for you with your help (bug fixing) . To start make a pie image for XA1 .
DOWNLOAD
MEGA 8.0
MEGA 8.1 Alpha
Drive 8.1 Alpha
MEGA 8.1 R2
LAST R4 RELEASE IS NOW AVAILABLE HERE !!
AFTER DOWNLOAD MY SYSTEM , PLEASE RESTORE ALL !!!! BOOT,RECOVERY.SYSTEM - MAKE COMPLETE RESTORE OR YOU BRICK YOUR PHONE HARD !!!! . FILE FOR RESTORE PATH : YOUR_XPERIA\SD CARD\TWRP\BACKUPS\YOUR_DEVICE_ID\MY RESTORED SYSTEM FOLDER
If you like or download my system , please press Thanks
If you want to buy me a coffee for my work you can use PayPal Thanks
https://paypal.me/marek10747
MY OWN REPO (can be unstable !!!!) :
VENDOR
Important Info for other developers :
If you want to use files from my repo I say YES , but you must : 1.say about me in you thread 2.allow me to make and publish mod this files for better my android versions 3.send me a private message . If you don't do 1,2,3 i make submit your file to XDA . Thanks for use points 1,2,3
My Facebook group :
Facebook support group , for all devices !!​
More after first alpha . First version is preview only .
This ROM don't have BUGS (possibly) . If you find BUG write comment .
reserved
for the moment it works fine! )
Very interesting.
Please post detailed step by step, I could not understand the steps of the OP.
boyrock said:
Very interesting.
Please post detailed step by step, I could not understand the steps of the OP.
Click to expand...
Click to collapse
I can't write a post step by step , because I'm from Poland and my English is not perfect and now i can't do that more better/perfect . You can help me say that better .
VoLTE switch
MAREK10747 said:
I can't write a post step by step , because I'm from Poland and my English is not perfect and now i can't do that more better/perfect . You can help me say that better .
Click to expand...
Click to collapse
You can send in your language and i can translate for you.
boyrock said:
You can send in your language and i can translate for you.
Click to expand...
Click to collapse
Ok . I do that tommorow .
No animation
8.1 Oreo alpha is coming soon !!
Battery special patch tested and working correctly . Reworked stamina mode for user's you need only make few optimizations and turn on stamina . Next time charge battery to 100% . That's all your device is ready.
who's interested project ????
Base of link's .
https://drive.google.com/file/d/18v43Z6C9EkI71huAQiYKHvyMMGEyO26s/view?usp=sharing
https://drive.google.com/file/d/1AIpGHJlglAuqRwzXMryUL3emQK2b-gvO/view?usp=sharing
https://drive.google.com/file/d/1Skqi2pp8MNnH_3t5mwHX0fxJCKmGh1bt/view?usp=sharing
https://drive.google.com/file/d/1l22chgE7JcyukVXv-nty5ApOZMjje7jr/view?usp=sharing
https://drive.google.com/file/d/1lri7Tum2Bnz2BdTcbjIybgDUjHgreX8K/view?usp=sharing
https://drive.google.com/file/d/1tNqo-33RkmJFoMz77Sf7etr17eiVtBw5/view?usp=sharing
https://drive.google.com/file/d/1xX_EyORvh53rr4OzPJFkHs735rOBiLmd/view?usp=sharing
I apologize for the inconvenience but you could add more detailed steps on how to install your ROM I'm asking you please, friend, thanks in advance
Diego057 said:
I apologize for the inconvenience but you could add more detailed steps on how to install your ROM I'm asking you please, friend, thanks in advance
Click to expand...
Click to collapse
I can help you, i tried these steps and everything works fine.
Just add a important information, before you start:
My device is G3116, and this ROM is based in G3112. Not problem here when you use this ROM but, if you want to go back to Stock ROM (flash via Flashtool), the device is no longer recognized as G3116, just G3112. I can't find a solution to this, just modify the ftf file in Flashtool to go back to stock. Please consider this, but this ROM is working fine, no problems so far. You can keep it for long time.
1. Flash TWRP (boot.img and recovery.img) from here: https://forum.xda-developers.com/xa1/development/kernel-xperia-xa1-v4-cross-t3897585
2. Download and Unzip rom from OP and save in your SDCard, in the folder named TWRP.
3. Boot in TWRP and make a backup (if you want, but i'm not sure if will work because, in my case, for now data is encrypted and i'm not able to access data or backup data)
4. Go to Restore and select the folder that you saved in SDCard (select storage, SDCard)
5. Confirm Restore, let it finish and reboot device. It will take some minutes in SONY logo (no bootanimation in this ROM)
6. When finish boot, the setup wizard will appears.
7. Configure everything you want and enjoy.
THANKYOU!!
Thank you for helping me Sir Marek ! your so kind :angel:
MAREK10747 said:
8.1 Oreo alpha is coming soon !!
Click to expand...
Click to collapse
Cheers :highfive:
No wifi
Installed on G3121 (8.1 R2), currently in setup and I can't connect to Wifi because it doesnt find any networks
Not really sure what to do now, any help appreciated
edit: 8.1 alpha doesnt work either
edit 2: would it be possible to flash stock ftf, go through setup, then restore this without wiping data? or does that make no sense and wouldnt work at all?
synx91 said:
Installed on G3121 (8.1 R2), currently in setup and I can't connect to Wifi because it doesnt find any networks
Not really sure what to do now, any help appreciated
edit: 8.1 alpha doesnt work either
edit 2: would it be possible to flash stock ftf, go through setup, then restore this without wiping data? or does that make no sense and wouldnt work at all?
Click to expand...
Click to collapse
I've solved this problem just flashing the kernel provided by the dev from this OP.
synx91 said:
Installed on G3121 (8.1 R2), currently in setup and I can't connect to Wifi because it doesnt find any networks
Not really sure what to do now, any help appreciated
edit: 8.1 alpha doesnt work either
edit 2: would it be possible to flash stock ftf, go through setup, then restore this without wiping data? or does that make no sense and wouldnt work at all?
Click to expand...
Click to collapse
Restore all , not only one file . You can hardbrick device . My system for correct work you must install from first to last update , with all files.

Categories

Resources