A wish list for kernel fixes - Nexus 4 General

Although the Nexus 4 works fine for the most part, the firmware seems to have been "rushed out".
Hopefully LG and Google will release an update soon but in the meanwhile it won't hurt if a few brave
souls dive in and attempted to fix things. I myself, learn best by trying to fix broken things, even if I don't always succeed.
I will put together a list of what is broken/needed and update it to the best of my knowledge. Please post to this
thread to tip me on possible issues and solutions. Please include credible links and pictures in your posts.
1) USB OGT does not work.
Google changed it's documentation to state that USB OTG is not supported on the Nexus 4.
Relevant thread --> http://forum.xda-developers.com/showthread.php?t=1966864
Problem:
It's unclear whether this functionality was disabled in hardware or software.
However it was verified that the Nexus 4 is not able to supply power to external devices.
Any future solutions will most likely involve a powered USB hub.
2) FM Radio does not work.
The Qualcom SoC supports FM Radio and it is unclear whether this functionality was disabled in hardware or software.
Relevant thread --> http://forum.xda-developers.com/showthread.php?t=1963623
3) Poor camera performance
Problem:
Low-light performance of the Nexus4 camera is noticeably worse than the LG Optimus 4X that uses the same camera sensor.
http://www.gsmarena.com/piccmp.php3?idType=1&idPhone1=5048&idPhone2=4563&idPhone3=4238
Leads:
The camera needs to be properly calibrated. Since that is not a trivial task developers might instead
look into swapping the camera drivers on the Nexus 4 and the Optimus 4X.
4) Voice call recording disabled
Relevant thread --> http://forum.xda-developers.com/showthread.php?t=2079016
Problem:
The Android SDK provides a Voice Call audio stream for recording. Many great apps already take
advantage of this feature. The Nexus 4 however does not implement this.
Leads:
ALSA could theoretically be used to open a Voice Call interface in the Audio Mixer and routed out to a PCM stream.
The stream could be exposed to the Android SDK "MediaRecorder.AudioSource.VOICE_CALL".
More on the subject --> http://forum.xda-developers.com/showthread.php?t=2098066
5) Sound recordings are very noisy.
Problem:
Sound recordings, sound on video recordings and the sound of VoIP on the Nexus 4 are unusable.
Voice calls however sound OK so I'm confident that there's room for improvement.
Leads:
I'm using ALSA to look into the Audio Mixer. The recording streams seem to have the LP filter set too low
at 4Hz, I can try changing that. Another theory is that the gain is set too high causing distortion. So far I
did not see a control to enable AutoGain.
More on the subject --> http://forum.xda-developers.com/showthread.php?t=2098066
6) Ability to switch to a preferred 3G band.
Problem:
The *#*#4636#*#* menu crashes when trying to change the preferred 3G band.
Relevant thread --> http://forum.xda-developers.com/showthread.php?t=2057922
7) (FIXED) The screen colors exhibit a yellowish tint.
Problem:
http://forum.xda-developers.com/showthread.php?t=2035788
Solution:
The following kernels allow adjusting the screen colors
Franco --> http://forum.xda-developers.com/showthread.php?t=2002782
Faux --> http://forum.xda-developers.com/showthread.php?t=2008222
There is a spreadsheet with the preferred settings
http://forum.xda-developers.com/showthread.php?t=2039607

Give me a downgrade to 4.1.2 and a fix for the 3g connection issues.
everything else is fine

Related

Accessing the QCIf video camera directly in software

Does anyone know if it's possible to access the forward-facing video camera via software oneself, even if the Video Call feature is not available on your network ? I work for at a hospital and as a "pet project" ( telemedicine ) one of the doctors who has a Kaiser would like to be able to video conference in with the forward facing camera. I would like to pursue this ( and I just might get a Kaiser for myself in the process..hint..hint ), and am curious if anyone has attempted to access the QCIF camera directly.
Any suggestions will be welcomed. Thank you.
Yes
open the camera application, the open the camera menu. (little bar below in the screen) lower line in the middle shows camera, press this button and the camera switch to the forward camera...
And if you want the front camera to start up by default, I scanned the registry and you should change the following:
HKEY_LOCAL_MACHINE --> software --> HTC --> Camera --> common
change the value of activecameraID from 1 to 2, voila front camera will start first.
offtopic: did anyone tried this already with an voip program and videovoiping? going to check it right away... Because it always starts the rear camera...
cheers
It doesn't work with MS Portrait
I have emailed MS regarding updates to Portrait and compatibility with front facing cameras. They replied saying they are aware of the Camera issue and that they would notify me of any updates.
I am not holding my breath... MS updates are few and far between compared to the rate of development achieved by some of the geniuses on here.
Thanks but....
Thanks for the replies, but I meant programmatically. I'm not trying to take pictures. I want to know where I can find information about how to programmatically access the camera, for a custom application that would run over 3G which would both stream video to the display, and capture and stream video out of the QCIF ....just as if the video call feature were available, but for networks where this is not possible.
As I said, this is for supporting a telemedicine application, that would allow the doctor to interact with a patient at bedside, when they are not physcially present.
For an application that would allow the video conferencing, you might want to consider MeBeam (www.mebeam.com). It's a flash based site that allows you to video conference with up to eight other people. I'm not sure if their flash application will be able to detect your hardware, but it's worth a shot.

Camera HTC One

I am a member of a small student team which is trying to emulate camera from virtual Android machine into Windows 8. We've made a little research and haven't found any camera specifications or protocol. First of all we want to replace video stream from camera into ours. We found that we can't capture video stream changing some functions in android.hardware.Camera (maybe we are wrong?). Also we haven't found this class on HTC One (because we have to replace it).
Therefore we have many question and nobody to ask. So I'd like to say about things that I haven't known completely. Please correct (if it is necessary) and help me in this issues:
How many different camera protocols exist?
How does they look like?
What is the difference?
(As I can understand all laptop cameras work using usb protocol, so do usb cameras. But how does camera work on HTC One on hardware level?)
How can we capture and change video stream from camera on Android except going inside the kernel and can we do such thing?
Thank you for your attention.
P.S Also you should know, that we are just beginners and we may have wrong ideas

[Module][UNITY] FooView x Magisk - Internal/System Audio Recording Oreo/Pie

FooxMagisk Alpha[ v0.2.2/SIZE]​
×WHO:
FxM is aimed at Android users in search of an easy way to capture system or internal sounds (systemless-ly), and on Android versions past Lollipop. By installing my module users will no longer need to worry about background noise from their environment.
×WHAT:
FooView, an app by fvalpha, comes from the same dev behind ES File Explorer nearly a decade ago. Development is ongoing, but in essence, FV supplies the user with a range of controls outside of screen recording. Be sure to visit their thread.
×WHY:
Some time ago someone inquired about the possibility, which led us to trying other means before quitting. Recently I found FV and gave it a spin. Plus, others are frustrated by the absence of native recording on most devices. Whilst I've experimented with other techniques on Oreo & Pie, none come close.
×HOW:
The real reason you're here! First of all, in order use this module I strongly recommend Magisk 18+. It was used on 18, so can't guarantee the results on older versions. If there's demand, a test for 17 can be made.
×Prerequisites:
- Magisk 18+
- Grab fooView Play Store
- Download/Install FxM module from below
×Links
- All Releases
×Steps:
- Follow above
- Reboot after installing
- Check app info (foo can now be disabled, instead of uninstalled)
- Open foo -> Settings -> Advanced settings -> Dev Mode -> Enable "root for screenshots" -> Grant -> Enable "Record internal"
- Enable little MIC icon BEFORE recording
- Adjust media volume to < 40% (Volume bug on some devices)
×Credits:
- @fvalpha - Developer of fooView
- @topjohnwu - Magisk
- @ahrion - Unity Installer
- @Zackptg5 - Unity Installer
×Bugs
- Using high volume creates a tick sound on certain devices
- If Module is installed FIRST the app will crash constantly
×Revision History
v0.1a - Jan 18, 2019 - Initial Release (Unity v3.1 + 0.9.9.9)
v0.2.2a - Jan 21, 2019 - (Unity v3.2 + Perms fixed)
v0.2.3a - Jan 25, 2019 - (Removed unnecessary perms)
×Compatibility:
- LOS 15.1 (8.1)
- AICP 13 (8.1)
- AICP 14 (9.0)
×Devices:
- Le Pro 3
- Moto Z2
- Whyred
- Pocophone F1
Further testing is necessary to extend this list
×FAQ:
Q: Can I hear speaker audio whilst recording internal sounds?
A: No, not at this time. And likely never. It's a limitation in the API.
Q: Sound doesn't play when recording!
A: This is normal. Maybe simultaneous internal/external recording will be doable in Android Q.
Q: Fooview crashes!
A: This happens when Foo module is installed before the base app.
Q: Why is there no sound in my recording?
A: Turn on the microphone icon that's shown in fooview.
Q: Is root needed?
A: Yes!
Q: Watermark in videos?
A: This can be disabled in settings.
Still crashing unable to open setting I am using 9.0
Unable to here sound's..
hitesh748- said:
Still crashing unable to open setting I am using 9.0
Click to expand...
Click to collapse
Did you follow all the steps? In foo there's a permission section, first 3 need to be enabled when installing the app. After rebooting only floating window is needed really.
hitesh748- said:
Unable to here sound's..
Click to expand...
Click to collapse
Sound from the speaker stops whenever foo records. Make sure mic is enabled in the screen recorder, there's going to be a little mic icon. Like here:
http://imgur.com/a/f3ZQINs
Ace42 said:
Did you follow all the steps? In foo there's a permission section, first 3 need to be enabled when installing the app. After rebooting only floating window is needed really.
Sound from the speaker stops whenever foo records. Make sure mic is enabled in the screen recorder, there's going to be a little mic icon. Like here:
http://imgur.com/a/f3ZQINs
Click to expand...
Click to collapse
if we are not hearing voice.. Than why to use this?Is that any way possible to record internal voice and also able to hear?Because if this is going to possible than ?.. It's going on trending.. Because this is what people really want
hitesh748- said:
if we are not hearing voice.. Than why to use this?Is that any way possible to record internal voice and also able to hear?Because if this is going to possible than ?.. It's going on trending.. Because this is what people really want
Click to expand...
Click to collapse
No, because Android doesn't support system recording natively. You'd have to record your voice from another device and merge the waveforms. It's not possible to record MIC & system simultaneously, unless it's done on a Samsung or Xiaomi device.
This is meant for people that DON'T want sounds from their mic. Internal recording isn't possible without root after lollipop, and game audio from a microphone sounds awful.
Thanks! I am able to record internal audio, but unable to hear while recording:'(
My rom PE whyred
Is there any fix yet?
Thanks Dev
ItsOm said:
Thanks! I am able to record internal audio, but unable to hear while recording:'(
My rom PE whyred
Is there any fix yet?
Thanks Dev
Click to expand...
Click to collapse
It's a limitation of the the app at this time (fooview), not the module. I don't know if the Dev will add that functionality in the future. There's another Android app that can record internal sound, I'm trying to create a module for it too.
Ace42 said:
It's a limitation of the the app at this time (fooview), not the module. I don't know if the Dev will add that functionality in the future. There's another Android app that can record internal sound, I'm trying to create a module for it too.
Click to expand...
Click to collapse
Oh! good luck
You are our only hope literally!
One more question, Can Xiaomi devices record internal audio?
I have Whyred (RN5pro) with PE rom installed.
Thanks!
WORK
Thanks dude, work in POCOPHONE F1 android 9 pie.
Bgsbeb said:
Thanks dude, work in POCOPHONE F1 android 9 pie.
Click to expand...
Click to collapse
No problem! Happy to help.
ItsOm said:
Oh! good luck
You are our only hope literally!
One more question, Can Xiaomi devices record internal audio?
I have Whyred (RN5pro) with PE rom installed.
Thanks!
Click to expand...
Click to collapse
With school it'll take time for me to get around to it.
Only some Xiaomi phones feature it natively. I've heard of it being available on older devices like the Note 4.
Sorry to ask this basic question. Where is best use of this module. Can this be used alongside screen video recorder so that WhatsApp video calls can be recorded.
smohanv said:
Sorry to ask this basic question. Where is best use of this module. Can this be used alongside screen video recorder so that WhatsApp video calls can be recorded.
Click to expand...
Click to collapse
1. It's meant to record system audio. My buddy needs that for games. I guess there are other uses like recording calls, but I never considered it.
2. I've never tried this on WhatsApp, nor any app like it. I don't know if WA even allows recorders.
It only needs to be installed, nothing else it required.
excellent thread and mind blowing work, this is what i have been searching for since a long time, it works great but only problem is i can't hear anything while recording internal sound, but it records internal sound. well it works though !
vasu97 said:
excellent thread and mind blowing work, this is what i have been searching for since a long time, it works great but only problem is i can't hear anything while recording internal sound, but it records internal sound. well it works though !
Click to expand...
Click to collapse
There seems to be no way to achieve this on any Android version after LP (internal + MIC). Samsung, Xiaomi, and LG feature native recording in their skins so it's a different story. For example, my sister's Stylo can do both on Nougat.
For unknown reasons Google doesn't want apps to contain this functionality (also true of call recording apps). It's odd since Apple's position is the complete opposite...
Ace42 said:
There seems to be no way to achieve this on any Android version after LP (internal + MIC). Samsung, Xiaomi, and LG feature native recording in their skins so it's a different story. For example, my sister's Stylo can do both on Nougat.
For unknown reasons Google doesn't want apps to contain this functionality (also true of call recording apps). It's odd since Apple's position is the complete opposite...
Click to expand...
Click to collapse
I hate Google for that and even regret buying a Pixel
Man u said I should enable the mic thing for screen recording but I searched every where no such a thing
Device pocophone f1
No sound at all for screen recording is there any way to enable the internal mic ?
Thanks in advance
Antidote03 said:
Man u said I should enable the mic thing for screen recording but I searched every where no such a thing
Device pocophone f1
No sound at all for screen recording is there any way to enable the internal mic ?
Thanks in advance
Click to expand...
Click to collapse
https://m.imgur.com/gallery/f3ZQINs
The microphone is there. It's needed for internal audio, the speaker won't output any sound.
I prefer this one for its ability to alter FPS (25 - 60).
Edit: Link removed temporarily
Ace42 said:
https://m.imgur.com/gallery/f3ZQINs
The microphone is there. It's needed for internal audio, the speaker won't output any sound.
https://drive.google.com/file/d/1yiqCE8Szik59CGccrxLfjomwRDOTIhAN/view?usp=drivesdk
I prefer this one for its ability to alter FPS (25 - 60).
Click to expand...
Click to collapse
No picture please upload it again

G8 Android 10 known Bugs

Quality management is a hard job and not all bugs can be found from a single (or a few) developer(s) in a practical time. So I want to create a list of bugs we've found in our different provider and version dependent Android versions.
I start with my Sprint G8 Android system:
FW Version: G820d
Bug 1: APN settings are greyed out. Only with service code and ##data# changes in settings are possible.
Bug 2: Don't know how much LG is responsible for this, but in Netflix only DRM Widevine Level L3 is used for streaming. I don't care that much about resolution on a relative small smartphone display,
but at least HDR would be fine for better shades in dark movie scenes. So streaming in Netflix will only happen in SD quality.
Bug 3: DSD audio files will not be played anymore by the G8 natively. Found from the V50 friends in actual Android 10 update, and approved on my device.
https://forum.xda-developers.com/v50-thinq/how-to/broken-dsd-64-128-android-10-update-t4054655
The Bluetooth audio codec defaulting to ACC bug from 9 is still present in Tmo Android 10 update. Still defaults to ACC despite aptx and higher allowed to stream on headphones. _NOACC has no effect.
labrino said:
The Bluetooth audio codec defaulting to ACC bug from 9 is still present in Tmo Android 10 update. Still defaults to ACC despite aptx and higher allowed to stream on headphones. _NOACC has no effect.
Click to expand...
Click to collapse
NOACC works on Sprint version since Android 10 update, but the max volume for my bluetooth earpiece is much lower than Android P.
I now use wired earpiece only. :\
Sprint
- Unable to access roaming settings
- Volume slider missing from notification area
- Can't hide nav bar in apps
- Comfort view won't auto engage at set time occasionally
- Playlists ignored by android, despite being in same place
- Choppy video recordings under extended + maximum mode. Also laggy viewfinder in both saving modes
- Roaming reduction battery drain (roaming was disabled before updating)
no duration for call log
No duration for a call in call log. This is major flaw.
My accessibility options crashes when I tap on it...
Oh and Kiwi browser crashes when going to Landscape.
On the T-Mobile be version when getting a pop-up in any browser (such as the page asking to share your location), there is no ability to tap "yes" or "no"." Pressing the back button is the only way out.
Sent from my LM-G820 using Tapatalk

Accessing a USB Camera on a Galaxy Note20

Hopefully there's a simple answer to this, and hopefully this is a place to find it!
I'd like to be able to switch between the front, back, and a USB-C connected camera for input to streaming apps (notably Facebook Live, and Zoom conferencing, but would like a more general solution). Ideally, video mixing (e.g., picture-in-picture), would be nice.. The primary application is to stream live interviews, site walkarounds, etc., from a gopro or the camera in a pair of AR goggles. E.g., live stream the view from the head-mounted camera, with an inset view of me, from the phone's front camera.
Right now:
- I can almost do it all from a Microsoft Surface - the basic camera app allows selection from front, back, external USB camera. Control of camera selection is through the system settings dialog.
- On a Samsung Galaxy Note 20, I can't seem to find the equivalent of a system-level setting. The basic camera app allows for picture-in-picture still & video from the front/back cameras - but doesn't seem to have a way to select an external camera. Facebook live allows switching front/back, doesn't seem to do picture-in-picture.
Documentation for all this stuff seems hard to find. I've been pouring through the various android developer sites, and device related sites - lots of stuff on low level code interfaces, nothing on what's actually coming across the cables, and mostly out-of-date youtube videos on how to do very specific things with very specific external video switches, and various downloadable apps that don't seem to work very well.
Which leads to the following questions:
- Are there any deeply buried settings - in Android, Samsung Developer Tools, or Facebook, Zoom, Teams - that let one select a usb camera? (Bonus for allowing picture-in-picture.)
- Any recommendations for an Android video switch/mix application that inserts itself between the system video interface, and standard apps?
Hopefully, amongst all the noise, there's a simple solution.
Thanks very much for any assistance anybody can offer.

Categories

Resources