[Q] Camera related libraries? - Android Q&A, Help & Troubleshooting

Hi! I need to restore camera drivers in a chinese android phone. I accidentally flashed an early rom with a camera bug (only displayed front camera).
My friend has the same phone (working perfectly) so I could extract its camera libraries and transfer them to the other phone via root explorer.
Where are those drivers located in the phone?
Thanks

it is in media_profile.xml... i cant remember where does it store...

Related

[Q] Camera Flash is not working ?!

HI everyone,
I bought a HTC HD2 some days ago, and there was win mobile 6.5 and android 2.2 installed. THere were many problem on the Android OS, it was very slow, the auto-rotate function didnt work, the "water scale" didnt also work correctly etc. Win Mobile seemed to work properly...
Today, I installed android 2.2 on my storage card and everything is working fine so far. Of course, WIN MOBILE is on my phones memory. Before installing it, the phone had problems with the flashlight (dual flash), simply, it did not work. Now, it is also not working, neither under WIN Mobile nor ANDROID.
How can I check that it is a hardware failure ? Or maybe its ROM or something ?
Thank you
Please, some idea ?
What level is the battery at? As I think thart below 20% the flash stops working.
What happens in WinMo when you run the camera and select flash always on and then take a picture?
THanx for the response, I really need some help.
Under WinMo occurs the same problem, the flash is not working even if I set it to AUTO/ON/OFF.
I also considered that the image quality after taking a picture and comparing it to my friends phone, is more bad than his one
PLEASE, someone help ?
Anyone has an idea ?
vedolino said:
Anyone has an idea ?
Click to expand...
Click to collapse
Hi There
I'm not aware of any "diagnostics" modes to test hardware on the device but the first thing I would do from within Winmo is install a Torch App and try and use the torch, if the Torch app initialises the flash on the back of the phone then you know it's a OS fault whereas, if it doesn't you know it's a hardware fault with the flash module itself on the phone
Here's a link to TorchButton
http://forum.xda-developers.com/showthread.php?t=581382
Let us know how you get on
Thank You very much for the reply.
But I act as a noob.
I copied the whole unrar-ed folder to my SD and to phone, in both ways, when I try to start any of those files it says:
There is no application associated with ... Run the application first, then open this file from within the application.
How to run the application ?
Can someone just download the TORCH and explain to me how to install it
Would be very very thankful.
Can someone just explain me how to install or whatever the torch on my HD2 WIN Mobile 6.5.
THanx
anyone ?
thx
Do not unpack (unzip, unRAR) the file. Just copy it to your phone (or SD card). Use the phone's file explorer and find the file. click on it, and it will install.
.cab files are cabinet files, they pack other files inside them, just like zip files - but they are used in both Windows (the computer o/s) and the WinMo o/s as a unpack and install file (obviously the file should only be run in the desired o/s).
Thank You fred_up,
I barely did it, but the flash is still now working.
I hope its only the flex cable which is not too expensive, about 10 USD !?

2.3. from jerpelea, camera not works, please help

Hello! I have installed today the 2.3.2 rom v16 from jerpelea, but there are 2 problems,
I was not permitted to ask my question at that thread, cause that I have opened this new thread right here.
first of all, My camera is not working, when I try to open it, there is a warning with com.android.camera was shut down,
the second problem is, that I can´t connect my phone via usb, with the pc.
I can connect but, cannot find my sd card at the computer register.
How can I fix this 2 problems, thank you for your comments.
The camera is not implemented and to mout you need to download auto mout from market.
mrloltime said:
The camera is not implemented and to mout you need to download auto mout from market.
Click to expand...
Click to collapse
hello, thank you for the mount help, but I thought, camera is implemented, cause at the changelogs there stoods, camera is working, ???
016
-set torch power to 1/2 and full
-corrected camera flash
-linked camera driver to camera (still no image)
this is the changelog
From what I understand the camera is "half" working. The drivers still need editing then reconnected to the app sO the image works.
it's really close by the Look of it.
thanks mrloltime, for your help,
maybe someone has a functinal camera on hic 2.3.2 x10 ?
no problem.

Problem with camera

Hello all! :victory:
Until now, the problems with the camera. Writes "Unknown error" and everything on it. What I've tried:
1. Formatted the memory card and ran the camera - 0 Effect
2. Folder of photos renamed to exclude tables in your gallery
3. Flash 2.1 and to follow the instructions http://forum.xda-developers.com/showthread.php?p=12061644 , the program copies all the files on the sdcard, then as I understand it fills them somewhere, and then writes the device: not found, many many lines, the phone restarts and the camera icon does not appear in the download mode.
4. Flash 1.6. camera works without mistakes (2.1 almost no mistakes, yet there are such errors, we have to restart the phone)
5. To the point decided to install ADB, thought due to the fact that it is not - will not install.
6. Disassemble the unit disconnects the camera and connected - the effect of zero
7. Blocked the bootloader by hand and updated through SEUS Pro, also for 0
+
8. I copy files manually and run init.es209ra.rc. - don't working =(
But there is a joke - a third-party application photographs, but does not remove. Yesterday needed a short video ... epic. Help please) has long been tormented with it, since 2012. The new module is not offered, it is necessary to finish off the old, if he does not come out - then buy, where to go...

Help with importing drivers to cm rom (Huawei y530)

Hello,
I installed cm11 thats ported for g630 on my y530 and only things that are not working are:
-camera (program displays that camera is in use by othe application)
-sound in calls
-gyro sesnsor (screen rotation, etc...)
I am almost new to this (did some modifications for chinesse tablet while ago) and i would need some help to make this work.
I am wondering if i just need to copy drivers from stock y530 rom and replace cm`s drivers with stock ones?
I extracted stock rom and replaced some driver files in system/etc and system/bit, but after flashing i get bootloop :S

[MTK Porting _ Fixing Bugs] Help! Videos cannot be played

Firstly, I'm sorry for my bad English.
I've just successfully ported and flashed a nougat rom using TWRP 3.2.1
My device's name is Mobiistar Lai Zumbo S (2016) (a phone made by Vietnam), the resolutions of rear and front camera are 13MP and 5MP. CPU MTK6735 (arm64) with 3Gb of Ram. No fingerprint support.
Here is the Stock Rom (android 6.0, kernel 3.18.19):
https://drive.google.com/ucid=0ByvKFb4ceCfWbldEblFqR2pWcTQ&export=download
Extracted Stock system.img:
https://mega.nz/#!ikEjVJqJ!ux4OV43ZLwfkh3tyukK2HC1nu6xTC0G1JKaIQ6uSZvc
2 Roms that I ported from (LOS 14.1 and RR 5.8.5 ported for MTK6735 and the same kernel version as stock, they all work and have the same problems)
https://www.androidgsmbd.com/mt6735-x64-7-1-2-resurrection-remix-v5-8-5-n-custom-rom-for-mt6735-kernel-3-18-19-mm/
https://sudroidtech.com/mt6735-7-1-2-lineage-os-14-1-n-custom-rom-mtk-mt6735-kernel-3-18-19/
*I followed the instruction here
https://forum.xda-developers.com/android/software-hacking/guide-port-64-mtk-roms-t3555933/page1
And what I replaced from stock to port were (system folder)
• lib and lib64
Libcameracustom.so (it fixed the cannot connect camera error)
‎hw folder, I copied files that have the names contain my CPU code, mt6735
‎deleted fingerprint.default.so in lib64
*etc
Firmware folder (deleted Port and copied from Stock)
apnconfig
spnconfig
agps_profile_conf2
media_codecs.xml
2 roms are working but I have to deal with those 3 annoying bugs
#1 Bug (main problem): As the title said, any video cannot be played.Videos recorded by camera cannot be played in gallery. Others like YouTube videos only played with audio and a black screen, YouTube Go, Facebook, Instagram displayed a text that notified that was like "error has occurred" or "this video cannot be played", kinda like that. Advertisement videos cannot be played too, they poped up and disappeared after a second or black screen like in YouTube.
#2 Rear Camera with lower resolution, only 8MP, although I set picture quality to High but it just increased the image file size not the true resolution and details in pictures taken.
#3 SD card corrupted with multi notifications at bootup (a small bug, I can stand this)
Lucky for me SD card still work. I ignored system suggest me to format the Micro SD. File Browser showed a lot of broken partition but the last one is working and it's the real SD card.
Here's what I tried replacing from Stock to Port for the purpose of fixing those bugs but it didn't work or caused bootloop.
*replaced all libs have names containing " codec" at once
*‎libdpframework.so and libvcodec.so at once
*libcameraservice.so
*system/bin vold, pq, sdcard at once
*System/bin/ media, mediaserver, netd, service, servicemanager, surfaceflinger at once
I currently use RR 5.8.5. What files should I replace more?
Or should I follow the instruction: https://forum.xda-developers.com/k3-note/development/guide-porting-64bit-mtk-roms-cross-t3310605
Please help me! Especially, I need videos to work fine, other bugs are optional to be fixed.
Thank you guys.
Many kind regards from Vietnam.
P/s: If you guys suggest copying some files, do I need to re-ported and flash again or just use a root explorer to replace files and reboot my phone?
Help me please

Categories

Resources