VanirAOSP 4.4.3 on Samsung Galaxy XCover2 GT-S7710 - Fix "Cannot connect to camera" - Galaxy Camera General

VanirAOSP 4.4.3 on Samsung Galaxy XCover2 GT-S7710 - Fix "Cannot connect to camera"
I just want to share how to fix camera issues on XCover 2 after flashing to VanirAOSP 4.4.3. I hit a problem already reported multiple times: Launching of any camera like the Google Camera fails reporting "Cannot connect to camera", regardless if you install the camera with the Gapps package or from store.
After some investigation, I got my camera finally work:
- Uninstalled Google Camera from store
- flashed to latest Vanir 4.4.3.061114
- Installed Android Terminal Emulator (Jack Palevich) from store, doesn't rely on BusyBox
- Open Android Terminal Emulator and launch:
su -
mount -o rw,remount /system
ln -s /system/lib/libjhead.so /system/lib/libhead.so
mount -o ro,remount /system
- Reboot phone
- Installed Google Camera from store
I used SuperSU as root application.
Thanks to all of you guys participating in several discussions for help on this.
I'd like to have this in the VanirOS image. But I'm still disabled to reply to more specific threads.

wrong device.
this section is for the samsung galaxy camera, not for samsung devices that happen to have a camera.

Related

SGS3 Easy UMS 1.5 beta does not run...

I'm using Epsilon Project - ICS ROM on galaxy s3 but Easy UMS does not working as mass storage. Even it mount the card & works fine as MTP except UMS as mass stoare... plz provide help
Are you rooted?
You need to make sure you have busybox installed, busybox installer can be found in the Play Store.
(this question would have been better asked in Q+A forum section, or even better the thread for the app in question)
Lennyuk said:
Are you rooted?
You need to make sure you have busybox installed, busybox installer can be found in the Play Store.
(this question would have been better asked in Q+A forum section, or even better the thread for the app in question)
Click to expand...
Click to collapse
Yes my phone is rooted & installe busybox 1.19.4 but still same problem...
So your opening the app (without usb connected) hitting UMS button, it should then either give you an error message or tell you that it was successful.....
if successful - plug into pc
if not then tell us what the error message said.
I'v got the same prblem - last version of busybox is on board and tehrs an error sayin "could not mount maby busybox is not installed"...
Same problem on different ROMs...

[Q] Insufficient storage space in /system partition

I was trying to flash GApps (Paranoid Android GApps) Google Stock Package, but got 'insufficient storage space in \system partition' instead. I tried formatting, wiping the system partition, and some other stuff. Could someone tell me how to fix this? I did a complete return to stock and tried flashing from there, but the error still came. The ROM that I'm installing this with is Euphoria-OS 1.0. I know it is possible because I was using this setup earlier, before I managed to break it. How do I install the GApps package without compromising and using a smaller package instead (maybe wipe/format \system partition in some particular order?). Using a Nexus 4, 16GB variant.
Dont install full GAPPS. Install mini or mudular GAPPS. Then install whatever you need from playstore like calendar, maps, google+, TTS, GMAIL, etc
amarprat87 said:
Dont install full GAPPS. Install mini or mudular GAPPS. Then install whatever you need from playstore like calendar, maps, google+, TTS, GMAIL, etc
Click to expand...
Click to collapse
I guess that would work, but that's not really 'solving' the problem, more like brushing it under the carpet.
El-Kago said:
I guess that would work, but that's not really 'solving' the problem, more like brushing it under the carpet.
Click to expand...
Click to collapse
Have you used something like Titanium Backup to go in and remove the apps installed on /system you do not need? (additional language keyboards etc.)? I have not run into this on the N4, but have on other phones (try getting 4.4.4 KitKat on the Samsung Galaxy S 4G, I did ) , I would go in, remove the unneeded apps to free up space, and then reflash Gapps again.
I'm running into the same problem with my Nexus 5.
Even choosing the "mini" GApps there is not enough space to install.
This is really weird.
Would say this is a general problem with LineageOS
I only use Pico open gapps for all the roms I use and have tried so far that way you never have to worry about the insufficient storage space error
I've been fighting with this error and finally solved it... the system partition was not getting mounted.
It was expected to be here: /dev/block/platform/soc.0/by-name/system
.. but looking at the filesystem we see: /dev/block/platform/soc.0/{random}.sdhci/by-name
To resolve:
adb shell
cd /dev/block/platform/soc.0/
ln -s {random}.sdhci/by-name ./
cheers
kbp
kbpower said:
I've been fighting with this error and finally solved it... the system partition was not getting mounted.
It was expected to be here: /dev/block/platform/soc.0/by-name/system
.. but looking at the filesystem we see: /dev/block/platform/soc.0/{random}.sdhci/by-name
To resolve:
adb shell
cd /dev/block/platform/soc.0/
ln -s {random}.sdhci/by-name ./
cheers
kbp
Click to expand...
Click to collapse
Could you possibly explain the steps a bit better because I am having trouble with it?
He is talking about symbolic link
https://stackoverflow.com/questions/2808394/hard-link-and-symbolic-links-in-unix
But I fail to see how symlink would increase a partition size ?
I managed to get a 1 GB system partition with TWRP BIGSYS, as described here :
[DEV] Kernel 4.4 & Android 8.0 Oreo
Kernel v4.4 and Android Open Source Project 8.0 Oreo for Samsung Galaxy Tab 10.1 (p4wifi / GT-P7510) (p4 / GT-P7500) (p4tmo / SGH-T859) I have ported this device to Android Linux kernel v4.4. This is the official Android kernel...
forum.xda-developers.com

can some 1 please give me the stock factory apk of google play services?

hi all.
i messed up my google play services by updating it to 6.6.3 something from apkmirror now i cant uninstall updates of google play services i also cant check for system updates so can some1 please give me the stock factory apk? when i go to google play store to update this app it says no eligible devices to install and shows already installed
Gapps
austinpinto said:
hi all.
i messed up my google play services by updating it to 6.6.3 something from apkmirror now i cant uninstall updates of google play services i also cant check for system updates so can some1 please give me the stock factory apk? when i go to google play store to update this app it says no eligible devices to install and shows already installed
Click to expand...
Click to collapse
I am assuming that you have recovery installed.
This problem is difficult to fix if you don't know what to do, but this will fix it:
-adb shell
-su
-mount -o rw,remount /system
-rm -R /system/addon.d
Now reboot, flash the ROM again and flash the correct Google apps.
You can get the correct gapps from THIS link.
Plus you can use THIS method also which requires no flashing but is temporary.
Hit "THANKS" if I helped you ​

Galaxy S4: Showbox, no connection error fix

I had a problem where my Showbox app will consistently display "No connection error", there was also a problem where I couldn't even download to my internal storage using any download program(eg. ttorent, vuze, etc) and would say "invalidate service".
I found this fix through here on xda, but was intended for Galaxy Note 3, but also worked well on my Canadian Galaxy s4. Credit goes to Khizar, bigbiff, and daxgirl for this.
You'll need root, and a terminal emulator(I recommend Jack Palevich's version from Google play) but any version should do.
1)Open up the terminal emulator
2)type "su" ~without quotes~, hit enter
3) Now type this command, "restorecon -v -R /data/media" ~without quotes~
hit enter
4)Restart your phone, now you should be able to download to your internal storage, and use your Showbox app.

Only auto mode present in camera app

Ok, so i've flashed ambasadii note 8 rom, which is great but i've noticed this bug in camera app. So i've tried installing official Samsung camera app, it was prompting me it's an update but installation ended without success. I've tried installing it with system app installer to overwrite faulty one, but there was message that it couldn't mount system partition as r/w. And i'm also unable to do so. Tried with mounting app and busybox commands. Help appreciated, thanks in advance.

Categories

Resources