Porting turtorial for MT6582 To MT6582 - OS Porting

How to Port MT6582 to MT6582
OR,
How to Port all MTK Device KITKAT & JellyBean(MT65xx & MT65xx)
It is very esy.....
Requirements :
*Windows XP/7/8
* 7-Zip
* Notepad++
* Java Jdk
*Cywing
* 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......
# TIPS FOR SYSTEM FOLDER
+++ Replace it from your stock rom to the port rom
##jelly Bean
*system/etc/firmware [[Delete to port Rom & Copy from Stock Rom]]
*system/etc/permission/platform.xml
*system/etc/permission/handheld_core_hardware.xml
*system/lib/hw [[Delete to port Rom & Copy from Stock Rom]]
*system/lib/modules [[Delete to port Rom & Copy from Stock Rom]]
*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
##KITKAT ONLY
*system/bin/pq
*system/bin/vold
*system/etc/bluetooth
*system/etc/firmware
*system/etc/permission/platform.xml
*system/etc/permission/handheld_core_hardware.xml
*system/etc/wifi
*system/etc/apns-conf.xml
*system/lib/egl [[Delete to port Rom & Copy from Stock Rom]]
*system/lib/hw [[Delete to Port Rom & Copy from Stock Ron]]
*system/lib/modules [[Delete to port rom & Copy from stock rom]]
*system/lib/libaudio.primary.default.so
*system/lib/libcamdrv.so
*system/lib/libcamalgo.so
*system/lib/libcameracustom.so
*system/lib/libcameraservice.so
*system/lib/libdpframework.so
*system/lib/libsensorservice.so
*system/lib/lilbinput.so
*system/lib/libinputservice.so
*system/lib/libvcodecdrv.so
*system/lib/libsync.so
*system/usr/keylayout
*system/vendor [[Delete to Port Rom & Copy from stock rom Stock Rom ]]
*system/xbin/libmnlp_mt65xx
[N.B Some Rom Not Port, Flow The Next 2 Step ]
STEP 1
*system/bin/pq
*system/bin/vold
*system/etc/bluetooth
*system/etc/firmware
*system/etc/permission/platform.xml
*system/etc/permission/handheld_core_hardware.xml
*system/etc/wifi
*system/etc/apns-conf.xml
*system/lib [Delete Port Lib Folder And Pest Stock Lib Folder ]
*system/usr/keylayout
*system/vendor [[Delete to Port Rom & Copy from stock rom Stock Rom]]
*system/xbin/libmnlp_mt65xx
STEP 2
## Delete to some folder port rom & copy form same folder stock rom
*system/bin
*system/etc
*system/lib
*system/usr
*system/vendor
*seystem/xbin
N.B : Some rom not port
[ FIXING PROBLEM ]
Sim card problem :
*system/bin
SD Card Problem :
*system/bin/vold
*system/etc/vold.fstab
*system/etc/vold.fstab.nand
Camera Focus Problem :
*system/lib/libcameraservice.so
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
* Replace the stock boot.img to port rom
* Now open the Port rom folder go to META-INF/google/Android / and open updater-script in Notpad++
And change these line.......
[mmcblkOp3 ----- mmcblkOp9]
* 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!!
[# Camera Drive problem fixing]
* 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_camer
______________A.s. Noman Khan

Hi I got a mtk6582 device, I got a similar phone in Malaysia/Indonesia they called it Evercoss A7V in my country we call it cloudfone excite 502q, i was able to install their rom (Galaxy S5) the only thing here is the camera, it says could not connect to the camera... what steps should I do?

tested?
I guess the first question I have to ask is have you tested this on any custom ROM?

"...It is very esy....." REALLY?!?
Did you do it practically? If so then could you please mention from which device to which you ported???
Because I can see many senior developers here are trying to do it. But, there is no success... but, you did it with just mere notepad. BRAVO!

solv
sirhca13 said:
Hi I got a mtk6582 device, I got a similar phone in Malaysia/Indonesia they called it Evercoss A7V in my country we call it cloudfone excite 502q, i was able to install their rom (Galaxy S5) the only thing here is the camera, it says could not connect to the camera... what steps should I do?
Click to expand...
Click to collapse
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
####
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]

Thanks Bro for the Guide
thanks bro for this nice guide :good:
but bro my phone get bricked every time while porting this rom (http://forum.xda-developers.com/android/development/themed-aosp-kk-gionee-m2-t2949199) to my micromax a120 kk.
Bro please help me.... how can i port this rom to my device. :crying:

i try to port to my lenovo s860...
4.2.2 JB for miui and aosp..
bug on internal storage unmount and loudspeaker problem..
i try many time to put vold.fstab and vold.fstab.nand...but still problem
on camera show "Please insert sd card before using camera"
but this s860 doesnt have sdcard slot..
please help me...

Sd card mount
ghaf85 said:
i try to port to my lenovo s860...
4.2.2 JB for miui and aosp..
bug on internal storage unmount and loudspeaker problem..
i try many time to put vold.fstab and vold.fstab.nand...but still problem
on camera show "Please insert sd card before using camera"
but this s860 doesnt have sdcard slot..
please help me...
Click to expand...
Click to collapse
Replace Stock to Port...
System/bin/vold

How to port Lollipop ROM from Android one Device to Micromax Unite 2 both being MT6582 device, but OS, Android one being 5.1, and Unite 2 5.0???

Good day. may carry the rom 5.0 lollipop doogee DG700 any other mtk6582? regards

error
Hi big thanks for you bro!:good:
btw my device is accessgo a4e which spesification is similiar to wiko raibow.
I got problen after porting wiko raibow's ROM (Cleankat by umang) to my device there was a message from CMW "Installation aborted" when I was flashing the rom
can you help me?

Try to flash through another CWM
Sent from my Micromax A106 using XDA Free mobile app

Everything is operating normally
but
Opened off screen is black
light sensor does not work
Full light continuously
How do I fix

good but
hey bro i ported some roms to my 6582 but i have a problem is when i port and flash my custom rom, my cel lost the imei and i dont have any solution (MTK droid and tools, xposed, mobile uncle tools etc) <-------------- anithing of this apps could restore my imei help pls:crying::crying::crying::good:

Can I port lollipop?

Selviiin said:
hey bro i ported some roms to my 6582 but i have a problem is when i port and flash my custom rom, my cel lost the imei and i dont have any solution (MTK droid and tools, xposed, mobile uncle tools etc) <-------------- anithing of this apps could restore my imei help pls:crying::crying::crying::good:
Click to expand...
Click to collapse
Hello sir,
Use mobile uncle imei writer tool. Just install it on PC and fallow the process on prompt window.its so easy.and after you making that file (file name should like this MP_0B1).
=>>copy that file and paste it on below location in your phone root.
Root >> data >> nvram >> Md >> Nvd_imei >> place that file and change the permissions to rw-rw-rw.
=>> Restart it and you back to your signal......

A.S.Noman Khan said:
How to Port MT6582 to MT6582
OR,
How to Port all MTK Device KITKAT & JellyBean(MT65xx & MT65xx)
It is very esy.....
Requirements :
*Windows XP/7/8
* 7-Zip
* Notepad++
* Java Jdk
*Cywing
* 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......
# TIPS FOR SYSTEM FOLDER
+++ Replace it from your stock rom to the port rom
##jelly Bean
*system/etc/firmware [[Delete to port Rom & Copy from Stock Rom]]
*system/etc/permission/platform.xml
*system/etc/permission/handheld_core_hardware.xml
*system/lib/hw [[Delete to port Rom & Copy from Stock Rom]]
*system/lib/modules [[Delete to port Rom & Copy from Stock Rom]]
*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
##KITKAT ONLY
*system/bin/pq
*system/bin/vold
*system/etc/bluetooth
*system/etc/firmware
*system/etc/permission/platform.xml
*system/etc/permission/handheld_core_hardware.xml
*system/etc/wifi
*system/etc/apns-conf.xml
*system/lib/egl [[Delete to port Rom & Copy from Stock Rom]]
*system/lib/hw [[Delete to Port Rom & Copy from Stock Ron]]
*system/lib/modules [[Delete to port rom & Copy from stock rom]]
*system/lib/libaudio.primary.default.so
*system/lib/libcamdrv.so
*system/lib/libcamalgo.so
*system/lib/libcameracustom.so
*system/lib/libcameraservice.so
*system/lib/libdpframework.so
*system/lib/libsensorservice.so
*system/lib/lilbinput.so
*system/lib/libinputservice.so
*system/lib/libvcodecdrv.so
*system/lib/libsync.so
*system/usr/keylayout
*system/vendor [[Delete to Port Rom & Copy from stock rom Stock Rom ]]
*system/xbin/libmnlp_mt65xx
[N.B Some Rom Not Port, Flow The Next 2 Step ]
STEP 1
*system/bin/pq
*system/bin/vold
*system/etc/bluetooth
*system/etc/firmware
*system/etc/permission/platform.xml
*system/etc/permission/handheld_core_hardware.xml
*system/etc/wifi
*system/etc/apns-conf.xml
*system/lib [Delete Port Lib Folder And Pest Stock Lib Folder ]
*system/usr/keylayout
*system/vendor [[Delete to Port Rom & Copy from stock rom Stock Rom]]
*system/xbin/libmnlp_mt65xx
STEP 2
## Delete to some folder port rom & copy form same folder stock rom
*system/bin
*system/etc
*system/lib
*system/usr
*system/vendor
*seystem/xbin
N.B : Some rom not port
[ FIXING PROBLEM ]
Sim card problem :
*system/bin
SD Card Problem :
*system/bin/vold
*system/etc/vold.fstab
*system/etc/vold.fstab.nand
Camera Focus Problem :
*system/lib/libcameraservice.so
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
* Replace the stock boot.img to port rom
* Now open the Port rom folder go to META-INF/google/Android / and open updater-script in Notpad++
And change these line.......
[mmcblkOp3 ----- mmcblkOp9]
* 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!!
[# Camera Drive problem fixing]
* 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_camer
______________A.s. Noman Khan
Click to expand...
Click to collapse
I think this should work if both roms have the same kernel
Sent from my B15Q using XDA Free mobile app

Thanks for the guide!

Can i use this guide to port rom for my device?
But i my stock rom is aosp lollipop.
Which files or folders i must change?
Please help me!

5.1 to mt6582
Harikrish44 said:
How to port Lollipop ROM from Android one Device to Micromax Unite 2 both being MT6582 device, but OS, Android one being 5.1, and Unite 2 5.0???
Click to expand...
Click to collapse
try this : http://en.miui.com/thread-156445-1-1.html

Related

[ENG.DEV.] Sony Bravia Engine -Des/HD2!- HQ IMAGE/MOVIE Quality Improvements

Hello guys i'm very happy to share with you this...BRAVIA ENGINE! Enjoy
I tell about this: video
IT's A Post-Processing Engine, so you can view the improvements only on your phone's screen...enjoy new quality!
1) GUIDE for Manual Installation on each Rom! (2.2 & 2.3)
-Download BraviaE Files Pack: HERE
-Extract files on phone and put they in the directory:
Code:
[B]/system/etc[/B]
-Open /system/build.prop with a text editor (like RootExplorer)
and add these lines at the end:
Code:
#Additional Tweaks by XxXPachaXxX
#Bravia Engine Service
ro.service.swiqi.supported=true
persist.service.swiqi.enable=1
-Then, Save the file and Exit
-Now, set the right permissions or open a terminal emulator and execute:
Code:
su
busybox chmod 0755 /system/etc/be_photo
busybox chmod 0755 /system/etc/be_movie
busybox chown 0.0 /system/etc/be_photo
busybox chown 0.0 /system/etc/be_movie
-Fully Reboot the device and enjoy BRAVIA
2) FLASHABLE ZIPs FOR Some ROMs
*NEW*- Universal Pack (flash on all roms!): DOWNLOAD
GOOD!!!!
woek bravia on typhoon rom? 2.3.7? cyanogenmod
What is different with ?
Senior XxXPachaXxX thanks for this thread only one problem!!!
What is different between this thread with This
essi_baba said:
Senior XxXPachaXxX thanks for this thread only one problem!!!
What is different between this thread with This
Click to expand...
Click to collapse
Right I am thinking here we go again....
Yes this definitely has been posted before, unless the OP has something different to add to it?
chrisrj28 said:
Yes this definitely has been posted before, unless the OP has something different to add to it?
Click to expand...
Click to collapse
file size is the same and seems the modify time is different, but the crc32 is the same also.
Miui 11.12.09 Dorimax kernel 2.7, tested on Miui Gallery + QuickPic + Stock 3D Gallery ..and nothings different ~~
sorry,
how do i flash this tweak to the rom i am using?
im refering to step 2.
thanks for any help.
Doesn't work, no difference at all..
Yes this was posted before and it was never proven that there was a concrete difference or improvement.
XxXPachaXxX said:
Hello guys i'm very happy to share with you this...BRAVIA ENGINE! Enjoy
I tell about this: video
IT's A Post-Processing Engine, so you can view the improvements only on your phone's screen...enjoy new quality!
1) GUIDE for Manual Installation on each Rom! (2.2 & 2.3)
-Download BraviaE Files Pack: HERE
-Extract files on phone and put they in the directory:
Code:
[B]/system/etc[/B]
-Open /system/build.prop with a text editor (like RootExplorer)
and add these lines at the end:
Code:
#Additional Tweaks by XxXPachaXxX
#Bravia Engine Service
ro.service.swiqi.supported=true
persist.service.swiqi.enable=1
-Then, Save the file and Exit
-Now, set the right permissions or open a terminal emulator and execute:
Code:
su
busybox chmod 0755 /system/etc/be_photo
busybox chmod 0755 /system/etc/be_movie
busybox chown 0.0 /system/etc/be_photo
busybox chown 0.0 /system/etc/be_movie
-Fully Reboot the device and enjoy BRAVIA
2) FLASHABLE ZIPs FOR Some ROMs
*NEW*- Universal Pack (flash on all roms!): DOWNLOAD
Click to expand...
Click to collapse
thanks for the efforts !!
but i cant find any major difference !!!
the main limitation over here is the 65k colors of hd2 display !! :O !!!
Already beaten to death here - http://forum.xda-developers.com/showthread.php?t=1318814
Anything new in this version?

[Kernel] Update Kernel | Stock Asus Kernel 10.4.2.17 | CIFS & MD4 Modules !

Hi !
Stock Asus Kernel 10.4.2.17 & 10.4.2.16 - build from the last update Asus source code !
Because Asus has not yet released the new firmware 10.4.2.16, propose to see together, which brings new kernel 10.4.2.16 !
Useful for all those who want to see what improvements brought on kernel Asus & also recommended for those who opt for the basic root version !
This kernel has init.d* support, root support | insecure kernel with "USB debugging" already enabled !
Change log :
unfortunately not found ( Asus not released yet ! )
Downloads :
kernel_10.4.2.16.zip
boot.blob_10.4.2.17.zip - 5.33 MB
cifs_md4_10.4.2.17.zip - 131.65 KB
Installation : 10.4.2.16
recommended to install just over latest firmware 10.4.2.13 ;
copy kernel_10.4.2.16.zip on your device and go to TWRP recovery ;
wipe cache & dalvik-cache -> Install ! ;
Now you have the last Android Asus firmware 10.4.2.13 with the last Asus kernel 10.4.2.16 !
Installation : 10.4.2.17
extract boot.blob from archive boot.blob_10.4.2.17.zip
put your device in fastboot mode
> fastboot -i 0x0B05 flash boot boot.blob
> fastboot -i 0x0B05 reboot
unzip archive cifs_md4_10.4.2.17.zip and extract cifs.ko & md4.ko
> adb shell
# mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
(...or if you have busybox already installed : # busybox mount -o remount,rw /system )
# exit
> adb push cifs.ko /system/lib/modules
> adb push md4.ko /system/lib/modules
> adb shell
# chown 0.0 /system/lib/modules/*
# chmod 0644 /system/lib/modules/*
# insmod /system/lib/modules/cifs.ko
# insmod /system/lib/modules/md4.ko
# exit
* available for any rom ( custom rom ) who already has busybox installed !
regard,
Surdu Petru
I have to say I'm pretty impressed, seems as smooth at 1300 as it did before on a modified .13 kernel at 1700 mhz! Thank you!
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2
Do you plan on adding oc an your I/o tweaks to this Cus that would be awesome
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
here is the diff from 10.4.2.13->10.4.2.16 the kernel was released for the JP sku, possibly adding support for an audio dock of some sort.
https://github.com/untermensch/asus_kernels/commit/a377c8f41d6d99aa102ecfc976e4049c80b7ec6a
Charle692 said:
Do you plan on adding oc an your I/o tweaks to this Cus that would be awesome
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
Yes, sure ...
untermensch said:
here is the diff from 10.4.2.13->10.4.2.16 the kernel was released for the JP sku, possibly adding support for an audio dock of some sort.
https://github.com/untermensch/asus_kernels/commit/a377c8f41d6d99aa102ecfc976e4049c80b7ec6a
Click to expand...
Click to collapse
Thank you untermensch ! :good:
After deciding to keep my tf300 until i see the nexus 10 in person at least. Im now running stock rooted and this kernel.
Wow this is super smooth its a joy to use this tablet now... Thanks!
Although i like to OC my devices im now starting to appreciate longer battery life more..
Sent from my GT-N7000 using xda app-developers app
Quick question: did anyone notice I/O boost after flashing this kernel (e.g in quadrant)?
Hi !
Update !
Build from Asus kernel source code ( last update 10.4.2.17 14/11/2012 ) => modules cifs, md4 & kernel !
...please check my first post ! :good:
Hi !
Cifs & md4 module for the last update Asus TF300T Firmware 10.4.2.17 !
Download :
cifs_md4_10.4.2.17.zip - 131.65 KB
Installation :
unzip archive and extract cifs.ko & md4.ko
conect USB cable
> adb shell
# mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
(...or if you have busybox already installed : # busybox mount -o remount,rw /system )
# exit
> adb push cifs.ko /system/lib/modules
> adb push md4.ko /system/lib/modules
> adb shell
# chown 0.0 /system/lib/modules/*
# chmod 0644 /system/lib/modules/*
# insmod /system/lib/modules/cifs.ko
# insmod /system/lib/modules/md4.ko
# exit
Good luck ! :good:
regards,
Surdu Petru
surdu_petru said:
Hi !
Cifs & md4 module for the last update Asus TF300T Firmware 10.4.2.17 !
Download :
cifs_md4_10.4.2.17.zip - 131.65 KB
Installation :
unzip archive and extract cifs.ko & md4.ko
conect USB cable
> adb shell
# mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
(...or if you have busybox already installed : # busybox mount -o remount,rw /system )
# exit
> adb push cifs.ko /system/lib/modules
> adb push md4.ko /system/lib/modules
> adb shell
# chown 0.0 /system/lib/modules/*
# chmod 0644 /system/lib/modules/*
# insmod /system/lib/modules/cifs.ko
# insmod /system/lib/modules/md4.ko
# exit
Good luck ! :good:
regards,
Surdu Petru
Click to expand...
Click to collapse
Surdu Petru,
Thanks for compiling those modules, maybe not the best place to ask, but I'm just currious
if you had any issues with the 10.4.2.17 source code from ASUS, I wish I knew what I was doing wrong
but I had noticed the source was about 25% smaller than previous source I had downloaded from ASUS
KAD79 said:
Surdu Petru,
Thanks for compiling those modules, maybe not the best place to ask, but I'm just currious
if you had any issues with the 10.4.2.17 source code from ASUS, I wish I knew what I was doing wrong
but I had noticed the source was about 25% smaller than previous source I had downloaded from ASUS
Click to expand...
Click to collapse
Hi !
... the currently download has ~197.87MB and include kernel source ~452.2MB and mydroid ~414.2MB ( you can build here wireless driver ! )
... the previous source for firmware 10.4.2.17 was incomplete ! :good:
Flashable?
Please can u make a flasable zip of 10.4.2.17 so i can install it via TWRP cause i cant make it with fastboot method.
pankobios said:
Please can u make a flasable zip of 10.4.2.17 so i can install it via TWRP cause i cant make it with fastboot method.
Click to expand...
Click to collapse
Hi !
...please use Firmware 10.4.2.18 , is up to date ! :good:

[INSTALLER]Universal NativeSD installer for all roms v0.1

Hey guys people here have constant troubles flashing mods to NativeSD roms as they can't be flashed the normal way like gapps,etc
I intend to provide people a solution to patch their roms with the mods of their choice.
Also chefs cooking/porting roms can use this to patch their roms while debugging
Also people willing to contribute mods circulating XDA can also put them up here in the thread
How it works:
This is Aroma based installer based on tytung's NexusHD2 JB 1.0
This is a zip file so people have to first extract it,place the respective mod files/apps in the system folder zip it again and flash
Devs/Chefs working on roms can also place the patches to be made in the system folder.also the original files can be placed in the system-original folder so that patches can be reverted to see what works and what not
Most importantly don't forget to change the ROM_NAME to the nativesd name of the rom you wish to flash in the mount_nativesd.sh file with the help of any text editor(If using your android device,it can be done using jota text editor set to linefinder)
v0.1(Modified by wwchang originally for JellyBelly rom)
DOWNLOAD
MODs by me
Acid Audio Engine Version 5
DOWNLOAD
After flashing this add these lines to build.prop
HTML:
#Sony Xloud & Clearbass +
ro.semc.sound_effects_enabled=true
ro.semc.xloud.supported=true
persist.service.xloud.enable=1
ro.semc.enhance.supported=true
persist.service.enhance.enable=1
ro.semc.clearaudio.supported=true
persist.service.clearaudio.enable=1
ro.sony.walkman.logger=1
ro.somc.clearphase.supported=true
persist.service.clearphase.enable=1
#Resampling
af.resampler.quality=255
persist.af.resampler.quality=255
#Beats Engine
htc.audio.swalt.enable=1
htc.audio.swalt.mingain=14512
Native 720p mod for any of the existing JB roms out there
DOWNLOAD
Reserved#2
Anurag pandey said:
Most importantly don't forget to change the ROM_NAME to the nativesd name of the rom you wish to flash in the mount_nativesd.sh file with the help of any text editor(If using your android device,it can be done using jota text editor set to linefinder)
Click to expand...
Click to collapse
There are a few of these installers floating about (with a few made by myself); the last one I had extracted the rom name from the initrd.gz in /sdcard/NativeSD, thus removing the need for the above, if I can find it feel free to modify the installer, it should cut down on some of the work for end users (and make 1 zip usable with multiple ROMs without further modification)
Edit. Changing Mount_NativeSD.sh to:
Code:
#!/sbin/sh
mmcblk0p2=`ls /dev/block/mmcblk0p2`
# Mount the ext4 partition
if [ $mmcblk0p2 == "/dev/block/mmcblk0p2" ]
then
mkdir -p /ext4p
mount -t ext4 /dev/block/mmcblk0p2 /ext4p
cp /ext4p/NativeSD/initrd.gz /tmp/initrd.gz
mkdir /tmp/ramd
cd /tmp/ramd
gzip -d -c ../initrd.gz | cpio -i -d
if [-a "init.android"]
then
sed -n '/rom_name=/w romname.txt' /tmp/ramd/init
sed -i 's/rom_name=//' romname.txt
else
sed -n '/--bind/,/system/w initrc.txt' init.rc
sed -n '1w romname.txt' initrc.txt
sed -i 's,exec /bin/busybox mount --bind /NativeSD/,,
s,/system /system,,
s/ *//g' romname.txt
fi
export ROM_NAME=`cat romname.txt`
mount --bind /ext4p/$ROM_NAME/system /system
mount --bind /ext4p/$ROM_NAME/data /data
#the sd-ext directories are ready, so flag the updater-script
echo "NativeSD=true" >> /tmp/nfo.prop
else
#no ext4 partition found
echo "NativeSD=false" >> /tmp/nfo.prop
fi
should do it, you may want to run your eye through it first.
Good work anuraj as always...
@Hypoturtle... i saw this script on Sportstar too, but I havent tried it... Seems quite interesting but afraid to try (as hd2 is my primary and only phone...) Dont understand much of these code but, is there any way the script uncomment or remove the following lines in init.rc or init.htcleo.rc?
mount yaffs2 [email protected] /system noatime nodiratime
mount yaffs2 [email protected] /data nosuid nodev noatime nodiratime
mount yaffs2 [email protected] /mnt/cache nosuid nodev
Sorry I'm still learning, and dont have unserstand any language C,C++ or Java...
macs18max said:
Good work anuraj as always...
@Hypoturtle... i saw this script on Sportstar too, but I havent tried it... Seems quite interesting but afraid to try (as hd2 is my primary and only phone...) Dont understand much of these code but, is there any way the script uncomment or remove the following lines in init.rc or init.htcleo.rc?
mount yaffs2 [email protected] /system noatime nodiratime
mount yaffs2 [email protected] /data nosuid nodev noatime nodiratime
mount yaffs2 [email protected] /mnt/cache nosuid nodev
Sorry I'm still learning, and dont have unserstand any language C,C++ or Java...
Click to expand...
Click to collapse
This script is different to whats on Sportstar's thread (I think, not sure what your referencing)
All that code does is take the ROM_NAME from the currently used ROM and set it as the ROM for the update to be applied to.
If you want to check if it works then just add a text file into the system folder and see if it installs into the currently running ROM.
The patcher (look at sig.) does the commenting of yaffs in init.rc (as well as other stuff to turn a NAND ramdisk into a NativeSD one).
sense 3.5 kernel
who can help(assist) me to make a sense 3.5 kernel nativeSD able?
pixelfreak
-pixelfreak- said:
who can help(assist) me to make a sense 3.5 kernel nativeSD able?
pixelfreak
Click to expand...
Click to collapse
Try hypoturtle's patcher On linux
http://forum.xda-developers.com/showthread.php?t=1953428
Sent from my NexusHD2 using xda premium
re
Anurag pandey said:
Try hypoturtle's patcher On linux
http://forum.xda-developers.com/showthread.php?t=1953428
Sent from my NexusHD2 using xda premium
Click to expand...
Click to collapse
many thanks this is not whas i mean. in the kernel must change the init.rc file with script for nativeSD. and this must change in my sense 3.5 kernel thats work sense 3.5 with nativeSD
i am not a linux coder i work with windows. thats work must make a profesionel coder for kernel "tytung or other user"
pixelfreak
Anurag pandey said:
MODs by me
Acid Audio Engine Version 5
DOWNLOAD
After flashing this add these lines to build.prop
HTML:
#Sony Xloud & Clearbass +
ro.semc.sound_effects_enabled=true
ro.semc.xloud.supported=true
persist.service.xloud.enable=1
ro.semc.enhance.supported=true
persist.service.enhance.enable=1
ro.semc.clearaudio.supported=true
persist.service.clearaudio.enable=1
ro.sony.walkman.logger=1
ro.somc.clearphase.supported=true
persist.service.clearphase.enable=1
#Resampling
af.resampler.quality=255
persist.af.resampler.quality=255
#Beats Engine
htc.audio.swalt.enable=1
htc.audio.swalt.mingain=14512
Click to expand...
Click to collapse
Thanks for your mods. I downloaded the file Acid audio engine for jellybelly.zip. How do I flash it to the Jellybelly NativeSD ROM?
Can I use 4EXT Recovery for the same?
Well I had some people reporting that NativeSd Gapps installer that i put together using script from HypoTurtle is not working on PAC rom.
So I checked it and it seems that PAC has somewhat different was of mounting, rom name is located in mounts.sh script.
Anyway I've updated it, and now it should also work on such ROMs.
Code:
#!/sbin/sh
mmcblk0p2=`ls /dev/block/mmcblk0p2`
# Mount the ext4 partition
if [ $mmcblk0p2 == "/dev/block/mmcblk0p2" ]
then
mkdir -p /ext4p
mount -t ext4 /dev/block/mmcblk0p2 /ext4p
cp /ext4p/NativeSD/initrd.gz /tmp/initrd.gz
mkdir /tmp/ramd
cd /tmp/ramd
gzip -d -c ../initrd.gz | cpio -i -d
#!/bin/sh
if [ -a "init.android" ]
then
sed -n '/rom_name=/w romname.txt' /tmp/ramd/init
sed -i 's/rom_name=//' romname.txt
else
if [ -f "mountfs.sh" ]
then
sed -n '/rom_name=/w mount.txt' mountfs.sh
sed -n '1w romname.txt' mount.txt
sed -i 's/rom_name="//' romname.txt
sed -i 's/"//' romname.txt
else
sed -n '/--bind/,/system/w initrc.txt' init.rc
sed -n '1w romname.txt' initrc.txt
sed -i 's,exec /bin/busybox mount --bind /NativeSD/,,
s,/system /system,,
s/ *//g' romname.txt
sed -i 's/[[:blank:]]//g' romname.txt
fi
fi
export ROM_NAME=`cat romname.txt`
mount --bind /ext4p/$ROM_NAME/system /system
mount --bind /ext4p/$ROM_NAME/data /data
#the sd-ext directories are ready, so flag the updater-script
echo "NativeSD=true" >> /tmp/nfo.prop
else
#no ext4 partition found
echo "NativeSD=false" >> /tmp/nfo.prop
fi
how can i flash another kernel to a native sd rom?
firebird11 said:
how can i flash another kernel to a native sd rom?
Click to expand...
Click to collapse
For now download tytungs jb kernel and replace his kernel files with the kernel u want to install.
I guess tytungs jb kernel is based on aroma installer for nativesd
Sent from my LG-P990 using xda premium
Anurag pandey said:
For now download tytungs jb kernel and replace his kernel files with the kernel u want to install.
I guess tytungs jb kernel is based on aroma installer for nativesd
Sent from my LG-P990 using xda premium
Click to expand...
Click to collapse
thank you but tytungs kernel doesn't have aroma installer,,
i'll change the files in the rom before flashing
Link is down.
Hello,
I know this thread is quite old but I tried to download the Universar NativeSD installer to install a mod into my current NativeSD rom, but the link is down. Where can I get the installer? Is there another way to do what I'm trying?
Thanks.
Regards,
pepemonje said:
Hello,
I know this thread is quite old but I tried to download the Universar NativeSD installer to install a mod into my current NativeSD rom, but the link is down. Where can I get the installer? Is there another way to do what I'm trying?
Thanks.
Regards,
Click to expand...
Click to collapse
The link to the 720p mod is still working, you could change the system files and rom-name in that one to suit. Or just put your files in your NativeSD rom.zip and re-flash without wiping, backup first though
Robbie P said:
The link to the 720p mod is still working, you could change the system files and rom-name in that one to suit. Or just put your files in your NativeSD rom.zip and re-flash without wiping, backup first though
Click to expand...
Click to collapse
Thanks Robbie P for your help. But I was referring to the Universal NativeSD installer for all roms v0.1 download link. Anyway, what is the 720p mod?
pepemonje said:
Thanks Robbie P for your help. But I was referring to the Universal NativeSD installer for all roms v0.1 download link. Anyway, what is the 720p mod?
Click to expand...
Click to collapse
the 720p mod is in post#2, it allows people to play 720p quality video files. afaik it uses the same install method as the original installer.
You can delete the system folder in the zip and add yours. You would also need to change the rom_name in mount_NativeSD.sh to whatever the rom you are modifying uses (same name as the folder in /sdcard/NativeSD)
Note that permissions and possibly symlinks for the new files might need changing after installation.
If you put the mod files in your original rom.zip and reflash as i mentioned earlier, there is no need to change rom-name.

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

[tutorial] How to Fix Camera Problem & Other Bugs (Guide For Bug fix 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

Categories

Resources