Help with importing drivers to cm rom (Huawei y530) - Android Q&A, Help & Troubleshooting

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

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 !?

[Q] Camera related libraries?

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...

[Q] more and more errors parsing

"there is a problem parsing the package"
i get it more and more, unexplainably.
It happens on APK files i have used before, in the same rom.. i am going mad !
for example, i am using a cubot gt99 (mtk device) with a custom rom - samsung lava s4 ported-
there is 1 problem with the custom rom that i know of, i cannot run a recent youtube version, i need a version 4.x.x
so i emailed that apk to myself to be able to download it ( i am fiddling with the device a lot to "play" with android, so i need to reinstall my rom every now and then, hey i am no expert )
this apk file has worked around 2 weeks ago, when i try the same file now, there is a problem parsing the package ?!?!?
HELP PLEASE

Help - Samsung SM-G357FZ (ACE 4) data recovery from dictaphone (M4A file in SOUNDS)

Halo I have problem with my mobile. They don't work when I touch screen then I connect to Kies and give him new system (I do full backup) after instalation everything is OK but Kies don't give me back dictaphone files. How can I give It back? I don't use phone now becouse I don't want to overwrite memory another files.

[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