yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] johnchan78:
Hopefully you can keep us SE Xperia X1 users in mind too. We don't have a g-sensor but we do have the light sensor :-)
[General Questions and Answers] iosub:
Hi

touch HD already has "ScreenOffWhenCallConnected" a least for me.

Let me explain, when the other "partner" the one I'm callling pickup the call, my screen on the HD is locked automaticaly(get blank)...

The problem that I have is "ScreenOffWhenCallSTARTED".. when I start a call if the light sensor does not detect that the phone is near my ear and before the partner pickups the call the screen is not blank... so my ear can push the screen.. So the good feature should be.."ScreenOffWhenCallStart" just is the moment that I push the "call button"

Thanks!
[General Questions and Answers] ZuinigeRijder:
Yes, when the screen is off, it looks like the light sensor is also deactivated. I also had the idea, to automatically lock the phone, when in the pocket, but then the ligh sensor does not work.
[General Questions and Answers] ZuinigeRijder:
You could try TouchLockPro, if it works on SE Xperia X1. But I do not know if the same software libraries are on that phone.....
[General Questions and Answers] johnchan78:
Damn that is quite disappointing... there must be a way to reset the light sensor after screen deactivated or something... :-(
[General Questions and Answers] ZuinigeRijder:
touchLockPro version 1.9

I just uploaded version 1.9 on my new website.

See TouchLockPro thread for more details.

Many thanks to Dennis van de Sande, alias Mr_Q from XDA-Developers, for sponsoring/donating the website and domain.

I wish you a merry christmas and a happy new year!
[General Questions and Answers] quicksite:
Great "problem/solution" cooperative flow here! Hats off to all.

ZuinigeRijder, thank you for all your hard work. I just wrote a note of praise re your excellent website documentation of the app and the process you used -- over on the App release thread. You can see it here :)

http://xdaforums.com/showpost.php?p=3068912&postcount=701

Now, my question: I see very clearly that my HTC phone, the Herald (T-Mobile WING), does not have the required hardware/sensors to use this app. So, is there anything on the Wing/ Herald that could serve as some kind of method to try to minimize the problem of accidentally hitting the HOLD button or other undesired app when holding the touchscreen to the ear? :)

And also, related: Are there any dialers out there that could be used to solve another problem -- Once a call is SENT to dial, the numeric keypad gets replaced, removed. So, if I am calling a customer support line, or leaving voicemail for someone, and have to enter a menu #, or extension #, I have to first hit a small target area with my finger to "SHOW DIALPAD". I'm not an engineer so i still don't understand why great dialer software like supbro's iDialer can't fully replace the built-in dialer, and why simple problems like I just mentioned are so hard to solve :confused:
[General Questions and Answers] pitchbend:
there has to be a way to use the light-/g-sensor to switch screen off/on when in call... i always have problems when making a note or adding a new contact while talking on the phone - as soon as i put the phone back to my ear the cursor jumps to another place.
[General Questions and Answers] iago_00:
I guess using g-sensor to make the screenlight go of when in vertical position+active call would be an idea; integrating light sensor would make it more accurate. I'm willing to see an app that would do this ...
[General Questions and Answers] hilaireg:
Hybrid Lock & In-Call Functionality

Agreed,

I've used a Motorola MPx220 Smartphone (WM2003SE) for years and although it does not have G-Sensor & Light Sensor capabilities, the Lock & Security functionality is bar-none the best IMHO.

When I enable the security function, the keyboard automatically locks after elapsed time (30 sec in my case) and the Left Soft Key display 'Unlock' and the Right Soft Key is 'Blank'. The Today screen is visible and pressing *any* key or Left Soft Key displays the Enter Simple PIN Password screen - the Left Soft Key display 'Unlock' and the Right Soft Key displays 'Cancel'. When a call comes, in the Left Soft Key displays 'Answer' and the Right Soft Key displays 'Reject'.

IMHO, it would seem that the functionality required would be:

Stand-by Operation

- Disable screen and most buttons when Locked - present today

- Display Today screen - present today

- Pressing the 'Unlock' Soft Key (or pulling stylus) unlocks the device if Password is not set

- Pressing the 'Unlock' Soft Key (or pulling stylus) displays the Password screen if a Password is set then Unlock device on success else it returns to display Today screen

In Call Operation

- The screen should remain on if the call is initiated by the device - for more than 5 seconds for interaction; voicemail, call trees, etc.

- The screen should 'turn off' when near the ear and 'turn on' when moved away via G-Sensor and/or Light Sensor

Configuration

- Indicate which applications cause auto-unlock

- Specify which hardware buttons remain unlocked

- Option to switch from In-Call Status to Keypad

... existing TouchLockPro functions

Since this type of functionality has not yet been made available in an application; I assume that there are limitations preventing developers from achieving the intended behavior.

That said, TouchLockPro is getting there :)

Cheers,
[General Questions and Answers] quicksite:
Without dismissing the rest of your presentation for solving accidental touchscreen activation in-call, or in pocket, THIS is the part that I care about the most... in fact it's sort of ALL I care about. Because for all occasions OTHER than my making or receiving a phone call, I can use S2U2 to lock the screen from accidental screen-touches.

My quibble with your first line above, in the quote, is that many a time one calls a company, or doctor's office, or tech support line -- and encounter a menu tree where you have to listen and enter #s -- so the keyboard should be activated by default... but in my view, it stays active until I put that phone to my ear -- or -- immediately re-appears when I pull the phone away from ear.... Because there are times you have to wait 15-20 minutes or more on hold and then finally you get inot a phone queue where you have to enter more phone number and account # information. And there is currently no phone I have used or see that "just handles this" logically. Stated again. LEAVE THE KEYBOARD ACTIVE -- blank it and the whole screen and buttons when phone approaches the ear -- immediately as phone moves away from ear, return everything to former state -- keyboard displayed, all device hard buttons working, and after I enter data, same thing, as it goes to ear, blank the screen and hard buttons.

I am less interested in the LOCK-PINCODE component of all of this. I would praise dah good lawwd above if I could just get something as simple as above! :) It would handle 95% of all my phone needs and accidental touch screw-ups when phone is in pocket and the phone rings, and I am fishing the damn thing out of my pocket along with the headpiece that is often plugged in -- and by the time i get all that out of my pocket, it's a miracle if I have not pressed a hard key ending the call, or a soft key putting it on hold, or 1001 things OTHER than enabling me to press the green button and say "hello!"

9 times out of 10 when I receive a call, i have to call someone back from all the disruptive crap and margin for error that some engineers at MS forgot to consider as "human factors" :)
[General Questions and Answers] Prof.Kamil:
well..

fyi the nokia 5800 have this as well

and it uses the light sensor to do that

so we still have hope that this could work on our phones
[General Questions and Answers] golightlygl:
co-operation will get us there.

To those of you have "nearly" got a solution, may I make a suggestion.

It appears that the biggest problem is that the light sensor goes off when the screen goes off. OK, so let's keep the screen on.

Pocketshield is a great locking app (and I know others really like S2U" as well). I don't know about S2U2 but Pocketshield will "lock" the screen rather than turn it off after a call has been placed. And you can easily disable the HTC screen-off routine with a registry hack.

If you have developed the code that detects "away from face" mode, this can simply be used to call Pocketshield's unlock routine (and even better if it can display the KEYPAD at the same time for DTMF entry). And the "close to face" mode can call his "lock" routine.

I know you'll have to interface with pocketshield but the author seems wiling to help develop his app. The only issue I can see is the conflict between community-based support and his paid-for app. But maybe he can be encouraged to donate a proprotio of income to XDA-Devs if he incorporates your code.

It seems that various bits of this requirement are out there - we just need to bring them together. When I say "we", of course I mean the clever ones amongst you - not me!
[General Questions and Answers] quicksite:
I'm just looking at this whole thing from afar, and though I know that in order to connect all the dots of various scenarios and sequences of when one wants the screen to lock and when not, it's quite a puzzle to figure out, nonetheless I'm astounded by how really ESSENTIAL this capability is, yet WM or HTC haven't solved it? To me it's like having a toilet designed, but someone forgot to solve the little hooking gizmo that gets controlled by the flush handle to lift the seal that allows the tank of stored water to flow.

Sorry for the analogy, but I am rather fascinated in a befuddled way: I have never seen a more responsive thread and application author than ZuinigeRijder and his Touch Lock Pro thread. And this is a salute, not a dis. But despite all the controllable elements, still, large percentages of people are having problems achieving their basic functional desires.

I'm just amazed this is so vexing of a problem -- and that the touchlockpro version only works with X-class of phones, so here in this thread we're not even eligible for that fix, when it gets ironed out.

I'm a S2U2 user, and I have not yet been able to determine which settings override which other settings. It's a super-featured app -- yet I still have probs with playing music when the screen blanks using an app other than his own s2p.

My point is that for all we know, the correct functionality already exists, it's just a matter of, as you say, setting it properly so that apps coordinate this intention with each other.

I see that as a huge obstacle -- as in -- not a chance in hell -- and I think correctly so. This whole issue is going to get chafed at, I predict, as the "App Store Wars" heat up. But for now, to me the better collab is A_C and s2u2 than a for-fee piece of software mixed in with XDA-community code.

It seems like we need to find a leader with stature, like the King of Spain or Queen of Englad to convene a Summit whereby we ask A_C to help solve this problem that everyone needs solved :rolleyes:
[General Questions and Answers] golightlygl:
Sorry to be a bit thick. Who or what is A_C?
[General Questions and Answers] quicksite:
No problem, sorry... so many acronyms around here! In this case this is the username of the author or "Slide To Unlock 2", or "S2U2". He has also authored other finger-friendly apps that many people find essential, such as "S2V" (Slide to View) and "S2P" (Slide to Play).

You can see more about, and download, his apps at his website: http://www.AC-S2.com .
[General Questions and Answers] Ston:
http://xdaforums.com/showthread.php?t=488991

Just in case someone comes across this thread... the above does this.
[General Questions and Answers] RaudelJr:
I would like to say that the link in the quoted text above is the solution!!!!!!!!!

All of you with g-Sensor hardware won't regret installing it!!!

Raudel
[General Questions and Answers] psychomaniac189:
touch in call is the best solution for this i love this app
[General Questions and Answers] clamsg:
This is what makes me miss my iPhone a great deal. The proximity sensor in the iPhone not only works but works great, highly responsive and extremely accurate regardless of how many times I put to my ear or away from my ear.
[General Questions and Answers] spastickyle:
We found a winner!

I think Touch In Call is the perfect solution! It even beats the iPhone's proximity sensor with it's added features (I love the auto-speakerphone feature).
[General Questions and Answers] microbespecialty:
Here's another program that does the same and works with the Samsung Omnia for those not using an HTC device.

Auto Call Locker
[FYT Android Head Units] j-5:
So I was able to get my APN settings applied once using the methods on here, but since then, the APN stopped working and I am unable to repeat the process to get my Verizon SIM to have data.

Looking at another thread, the APNs are stored in /system/product/etc/apns-conf.xml

That file contains mostly Asian market APNs, but I did see a few for T-mobile, which explains why that service usually works.

I'm trying to use lsec6315update to replace the apns-conf.xml file but it's failing. Is this a root issue or something I'm missing?

#!/system/bin/sh
#

mv /system/product/etc/apns-conf.xml /system/product/etc/apns-conf.xml.bak
cp -rf /storage/sdcard1/apns-conf.xml /system/product/etc/apns-conf.xml
chmod 0644 /system/product/etc/apns-conf.xml

Thanks!
[FYT Android Head Units] mariodantas:
can't use lsec6315update to with in /system partition

You should use FYT Firmware Workbench (linux) and put the file manually inside, then recompile and flash only the kernel (with lsec6315update)

Cheers !
[FYT Android Head Units] j-5:
OK, so to use the workbench, I need ADB to the system or does the tool mount my FYT unit?

(I'm new to mods, but do have a Linux system to execute with, so that's a thing)
[FYT Android Head Units] mariodantas:
This tool wil decompile your firmware (file named 6315_1.zip) and recompile it (when decompiled and mounted, you can replace your files inside /system /vendor /product etc) !
[FYT Android Head Units] j-5:
OK, so I need to extract the firmware using a different tool, then can run the scripts?

Got it, now I just need to choose which 6315_1.zip to use. 4PDA has some nice modded ones that add USB tethering, which is compelling.
[FYT Android Head Units] mariodantas:
FYT Factory (mine) and gfo to -> Kernels !
[FYT Android Head Units] j-5:
yep, got that one from another thread.

now for troubleshooting.

I tried to mount it but got the following:

BROTLI -- Handling socko.new.dat.br...
Converting socko.new.dat file into socko.img file
Creating _mountpoint/socko folder...
Adding '128 Mb' extra size to _tmp/_firmware/socko.img ...
128+0 records in
128+0 records out
134217728 bytes (134 MB, 128 MiB) copied, 0.0375032 s, 3.6 GB/s
e2fsck 1.46.5 (30-Dec-2021)
ext2fs_open2: Bad magic number in super-block
e2fsck: Superblock invalid, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open _tmp/_firmware/socko.img

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>

resize2fs 1.46.5 (30-Dec-2021)
resize2fs: Bad magic number in super-block while trying to open _tmp/_firmware/socko.img
Couldn't find valid filesystem superblock.
[FYT Android Head Units] mariodantas:
Easy solution: go to config.ini and remove socko from partitions to handle, later I'll try to handle this

View attachment 5752349
[FYT Android Head Units] j-5:
Actually, it's giving the same error for all the images, not just socko.

Mount points and sub folders are created, but nothing is mounted and folders are empty.

Cleaning workbench...

Unmounting and deleting folder '_mountpoint'...
Unmounting product.img ...
umount: /home/john/Downloads/Radio/FYT-Firmware-Workbench/_tmp/_firmware/product.img: not mounted.
Unmounting system.img ...
umount: /home/john/Downloads/Radio/FYT-Firmware-Workbench/_tmp/_firmware/system.img: not mounted.
Unmounting vendor.img ...
umount: /home/john/Downloads/Radio/FYT-Firmware-Workbench/_tmp/_firmware/vendor.img: not mounted.
Unmounting elable.img ...
umount: /home/john/Downloads/Radio/FYT-Firmware-Workbench/_tmp/_firmware/elable.img: not mounted.
Deleting _mountpoint ...
Deleteing folder '_tmp'...
All done !

Workbench clean now !
[FYT Android Head Units] mariodantas:
Which linux distro are you using ?
[FYT Android Head Units] j-5:
DISTRIB_ID=Pop

DISTRIB_RELEASE=22.04

DISTRIB_CODENAME=jammy

DISTRIB_DESCRIPTION="Pop!_OS 22.04 LTS"

NAME="Pop!_OS"

VERSION="22.04 LTS"

ID=pop

ID_LIKE="ubuntu debian"

PRETTY_NAME="Pop!_OS 22.04 LTS"

VERSION_ID="22.04"

VERSION_CODENAME=jammy

UBUNTU_CODENAME=jammy

LOGO=distributor-logo-pop-os
[FYT Android Head Units] j-5:
update:

after some python3 tweaks, I was able to get my apns_conf.xml loaded into the unit, but it didn't help, I still get no data on Verizon. I may have to do the drastic and factory reset to see if that fixes anything since I think the unit is wonked but good.
[Realme C2] Entity_909:
After installing magisk on the phone using the boot.img patch method, the camera app crashes. Flashing the stock boot.img file fixes it though. I also noticed that the phone takes longer to boot now.
[Realme C2] Entity_909:
Never mind, it was a module that was causing the problem
[Realme C2] The Rysul:
Which module it is? Actually I am running AOSP 13 in my xiaomi phone and recently its camera is crashing. I have installed multiple modules lately.
[Realme C2] Entity_909:
I think the problem is that the module I installed actually changed the device model, so it showed up as another phone. This caused the camera app to crash
[Samsung Galaxy Watch 4] RikVesp:
My Galaxy Watch 4 doesn't vibrate or "ding" when I receive an SMS or MMS message. I have it turned on in the wearable app and all other notifications work as expected. I have reached out to Samsung and they took my Watch for repair but ended up sending me a new one. Still the same issue. The orange dot comes on, but no actual alert.
[Windows 8 General] Rohra01:
Hello :)

My oncle gave me an Wintron "Volkstablet" with 3G as present for repair his mobile.

Sadly someone before me has deleted the recovery and I had to make a clean re-install.

So far I have found the most drivers but I can not find an original set of drivers for the tablet on the web ;(

Almost everything wirks for me on Windows 10 now.

The only thing that makes me frustrating is the fact that I cant find the Huawei 3G driver.

Can someone please provide me with a hint where to find the original drivers or maybe an Image?

Thx and best Greetz,

Rohra01
[Huawei P40 Pro Guides, News, & Discussion] gukitoo:
Hello, I just found out how to add google account if you accidentally delete it, you can also delete the updated google play services to install version 21.24.57. You can also uninstall google services framework and install on old version.

Tried with phone version 12.0.0.276.

Don't delete google play services, framework services before open the Private Space.

1.Go to settings and enable Private Space. Once it's activated and you're already in Private Space, go into settings/apps and you'll see that play services, google services framework and google account manager are there.

2.Uninstall them from there . 3.Download micro g huawei fix eloy gomez tv.apk, install it.

4.Exit private space uninstall Google play services and services framework from settings.

5..Try to install google play services 21.24.57, you will have a notification that a new version is installed and a window will appear with two options, select open. The micro g app will open and a shortcut will be created on the home page. Go to settings and wipe the data and cache of the micro g app. Then open it from the home screen. Sign in to your Google account and you already have a Google account on your phone.

6.Install google account manager to save the account

6.Uninstall micro g and you are done.

You can install any version of google play services and google services framework you want because they are already removed from the phone.
[Samsung Galaxy Z Fold 4] AgentItay:
Hi!

I have the phone for about a month, it works perfectly and I love it. But in the first few weeks, whenever I unfolded the phone it snapped right to a 180 angle, but in the last few days it seems like there's sometimes a missing few degrees before it's completely flat.

If I unfold it a bit more with a little bit of force (but not much at all) it unfolds completely flat again. Is that normal? Should I show it to Samsung?
[Samsung Galaxy Z Fold 4] Nat.smith26:
Dust.

You should give it a bath
[Samsung Galaxy Z Fold 4] u0xpsec:
[Deleted]
[Samsung Galaxy Z Fold 4] u0xpsec:
Been doing that to mine since day one. I work in construction so a bath is required to keep it clean.
[Samsung Galaxy Z Fold 4] crawls69:
It could possibly be the bristles inside the hinge that keeps dust from getting inside the device. If those bristles come loose (it's a strip that's apparently glued on across the entire length of the phone inside the hinge) they could possibly hinder the phone from opening all the way flat. That's a wild guess but I read somewhere about the bristles coming loose and creating problems. Anyway, you probably should make Samsung or your carrier (if you bought the device through a carrier) aware of it. The hinge is under warranty so if it fails, Samsung should fix or replace it for free or your carrier can issue you a warranty replacement.
[Samsung Galaxy Z Fold 4] Tim-2.0:
At first I thought this was a joke, but it actually makes a lot of sense. Just to confirm - You really do this? Legit? haha. I also work in a veryyy dusty environment.. Might have to start doing the same!
[Samsung Galaxy Z Fold 4] Nat.smith26:
I wasn't joking either.

I really wash my phone on a daily basis, with soap.
[Samsung Galaxy Z Fold 4] Tim-2.0:
Isn't it amazing how far technology has come 🤣
[Samsung Galaxy Z Fold 4] sunking101:
Mine has always needed an extra push to open fully from new.
[Samsung Galaxy Z Fold 4] Nat.smith26:
😂

Now I can take a bath with my phone ! and watch a movie !
[Samsung Galaxy Z Fold 4] cooldude20000:
Mine is the same not flat
[Samsung Galaxy Z Fold 4] _GRIZZLY_:
New hinge contruction (without gears like F2 or F3) and old problems...
[Samsung Galaxy Z Fold 4] Halle:
Mine does exactly the same thing. Sometimes it snaps right open 180 and sometimes it does not. You should not worry about it!
[Samsung Galaxy Z Fold 4] Latoc:
Me too, out of the box I needed to push a little to get it perfectly flat. It has improved slightly after a few weeks but I still need to do it. My Z Fold 3 snapped open flat by itself. It annoys me quite a bit.
[Samsung Galaxy Z Fold 4] sunking101:
I never had the previous Folds to compare but the geared hinge sounds better quality to me. However, I think that as long as our phones snap shut properly and need a bit of force to open then all is well.

Basically once I pull mine open for the rest of the way I'm doing all the work to get it to open fully. I don't feel any kind of 'spring action' assisting me.
[Samsung Galaxy Z Fold 4] bryanhayn:
This is normal. My Fold 4 has done this since new. It opens like normal to like 175 degrees then the remaining 5 is a bit loose/soft. If I push further to 180 and let go it will kinda push itself back to 175. Not a big deal to me. I feel like the fewer degrees the glass bends the less likely the crease will crack 🤷‍♂️
[Samsung Galaxy Z Fold 4] super_Ken:
I had this problem with my Fold 1 and Fold 2. A couple of months after purchase I noticed the phone wouldn't open all the way. Its dust! Push a sticky tape into the hinge and run it along the edge on both sides. It is a tedious process but it should help.
[Samsung Galaxy Z Fold 4] _GRIZZLY_:
What clothes are you Wear with a lot of dust? ;)

Ok but seriously I have fold 2 above 1,5 years, carry in pocket of trousers and I don't have aby problems with full fold