yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] card13:
But I just realized something. When I connected my g1 and win XP laptop to the same wireless network, then went to ipchicken.com on both I had the same ip, so I ran the telnet client on the g1 and it worked. But BusyBox is there when I did the telnet, and I don't know the pass or login, it changed when the ota was done.
[G1 Android Development] bunny0007:
Nothing stange in that, you are looking up your public ipadress up at ipchicken.com and that will be the same for all yours computers on the router segment.

And a quick port scan will show no ports open on your G1
[G1 Android Development] card13:
I need help w/the busybox pass. Last time I almost had root this is how I did it, but when I did the OTA the pass changed.
[G1 Android Development] bhang:
:)

well hey its very cool :

you learned that your cablemodem, fios box, modem, has 1 public ip and your router gives out private ips to your subnet (stuff plugged into your router)

thats why things have to be forwarded in your router to make incoming connections work (ie: bittorrent) and get to one specific device of possibly many at your.private.ip

that is a great thing to learn, but I dont think studing tcpip/nat routing is gonna get root back on a rc30 phone...

sorry I know its an old post and bee flamed at bit already, this isnt meant to be flamy in anyway but I couldn't help it I truly mean no harm.

but this post reminded me of the wonder at learning how things work, by looking in completely the wrong direction...

bhang
[OnePlus 8T Questions & Answers] Startrek852:
I can't connect to any VPN while on Mobile Data, but they work perfectly on Wi-Fi. I'm on OOS 12 C.35 and my provider is T-Mobile, I've tried multiple apps, multiple servers, and every protocol.
[OnePlus 8T Questions & Answers] rocketda7331:
Perhaps a limitation set by the carrier?
[OnePlus 8T Questions & Answers] Startrek852:
It worked on OOS 11 though.
[OnePlus 8T Questions & Answers] Startrek852:
Bump.
[OnePlus 8T Questions & Answers] Rootk1t:
Try updating to C.36 and see if it resolved this issue.
[Samsung Galaxy S20 FE Questions & Answers] darian23:
Hi All,

Broke my screen and can't unlock my phone any more (touch screen is working). Managed to connect phone to my TV through hdmi but can't remember where all digits are after phone has been rebooted (I have pin lock set up).

Can any one post photo of screen layout with pin lock to help me to unlock my phone, please? Just need keypad layout after phone has been turned off and on.

Please help
[Google Pixel 7 Pro] Schroeder09:
I have two p7p's scheduled to arrive next week for my wife and I. We will both have the phones in OtterBox defender pro cases which are pretty thick. These cases are listed as being compatible with wireless charging, but I am concerned about this and if it's across the board or if wireless charging will actually only work with some chargers. I have a defender case on a work iPhone, and the wireless charger in my truck doesn't reliably penetrate it.

I want slow trickle chargers for overnight charging at our bedside, and I want a fast wireless charger to set in the kitchen for days when we need a fast top off of 20-30% to get through the day. What are you guys using? Id like something that works with the defender and is also not going to blow up or start a fire. Lol.
[Google Pixel 7 Pro] summitfox:
I have the exact same setup, and any store bought wireless chargers work. I have 2 Anker charges that work well, and 3 various no name charges that work just as well. Mine nor my wife's car charger works with it. So that is common issue. For fast charging, only the Google charger base will do a fast charge on pixel phones. Google locks that down. But I have discovered that if you have a USB 4 thunderbolt port, like off of a computer or something else, it will do the rapid charge without the Google lockdown.
[Google Pixel 7 Pro] roirraW "edor" ehT:
I don't wirelessly charge, but my no-name one bedside-mounted phone holder that I use for reading purposes supports wireless charging, and at another user's request, I tested wireless charging my P7P through my OtterBox Defender Pro case and it worked just fine. Probably most any quality brand would work, too.
[Google Pixel 7 Pro] jaseman:
I have no doubt the Gen 2 wireless charger from Google will work for you and it has the ability to select slow or rapid charging. I use slow charging myself overnight with a Spigen Rugged Armor case without any issues at all.
[Google Pixel 7 Pro] Misterxtc:
My wife and I have the Defender Pro and slow charge overnight with no issues. I have a old Verizon wireless charger and newer Mophie one. I'm not sure if the fast charge will work with that case being so thick.
[Google Pixel 7 Pro] Schroeder09:
How many watts are your guys' "slow" chargers? What's considered "healthy"? Everyone has stated they have the chargers I'm after. Can you provide a link?
[Google Pixel 7 Pro] Tracker31:
my unit has got only 3.3w on pixel stand 2 until it cool down to 30 degree and switch to 7w. Never got advertised 23w wireless charging. Wired charging ~18w until it get 39 degree and slow down to 12 until it cool down
[Google Pixel 7 Pro] Misterxtc:
My Mophie one is 15W and my Verizon one is not made anymore but similar to the Mophie one with less wattage.
[Google Pixel 7 Pro] Schroeder09:
Is this what you're talking about?

https://www.amazon.com/Google-Pixel-Stand-2nd-Gen/dp/B09HL8RZ6W
[Google Pixel 7 Pro] jaseman:
Yes it is, but I got mine from Google directly with the money from my pre-order rebate.
[OnePlus 9 Pro] VuBoo:
Hey guys.

Just switched from S21U to this sweet baby and so far I am missing nothing from Samsung. Besides the good battery life.. I got with the galaxy S3 better SOT :( In idle I loose so much, it's incredible. I thought its A11.. no updated to A12.. no installed A13 Beta 2 and still crap battery life.

I disabled everything that Google or YouTube suggested me already but nothing helps. I restored my backup from the cloud (the switch from Sammy to o+1) can that cause poor battery life?

I am thankful for any help or tips.View attachment 5752119
[OnePlus 9 Pro] viktak:
Maybe one/some of the radios (wifi/BT/NFC/GPS) are on?

I'd suggest starting with charging the phone to 100%, then putting it in airplane mode for 12 hours (say for the night), then see it: if the battery looses more than a few percent, then there is indeed something wrong with it. If not, then it's just a matter of time that you'll figure what drains the battery.
[OnePlus 9 Pro] TENlll423:
Dude that is one of the best ideas I've ever read when it comes to checking out a battery thank you for this...

I'm having issues with my 9 pro draining again myself...

last time I had this problem I did a factory reset and it really helped a lot with battery drain...
[OnePlus 9 Pro] TENlll423:
I myself did a factory reset last time I had a battery drain issue w/ my 9 Pro and it helped a lot..

First definitely try what @viktak recommended and then go from there..

I personally do not have a lot of stuff running in the background like sync, back up, find my device, and definitely don't have stuff like Instagram or Facebook running on my phone.

a poorly designed app can hog up your battery...

also what did I do to help a lot is my phone is rooted of course so I have SD maid pro and with that I can check and see what all is running on my phone..

Under developer option under running services it will tell you the basic services that are running but it's not going to tell you everything that's running on your phone...

Hopefully you get it figured out and yeah Oneplus is so much better than Samsung.. I know it's an opinion but I just can't stand using a Samsung devices after using a OnePlus...

I bought the Samsung Galaxy S8 Ultra tablet a month ago and don't get me wrong I freaking love that thing it is badass but I would love it a lot better if Oneplus would make a tablet like that. lmao
[OnePlus 9 Pro] TheGhost1951:
It really bugs me that you pay a hugh chunk of money for a samsung phone and it being paid off, Samsung says no-no you can't unlock your bootloader to customize YOUR phone....:mad:

:mad::mad: try going into settings/battery and look for what is eating it up. that might help to!
[OnePlus 9 Pro] TENlll423:
yeah I agree..

I tell you what saved me is having ADB and Fastboot for Android ndk Magisk module...

it's nice man being able to hook my 9 pro up to this Samsung tablet and remove the bloatware just by using termux...

first thing I got rid of was Samsung's digital well-being..🤮 man what an intrusive app!!

sorry OP for off topic....
[OnePlus 9 Pro] VuBoo:
Hey guys!

Thanks a lot for your advices. I will try putting in airplane mode tonight and check tomorrow. I will try resetting my phone if it drains while in AP mode.

I can send it back to Amazon within 2 remaining weeks.. when I root and unroot, will something like Knox be triggered?

Thanks so much <3
[OnePlus 9 Pro] terlynn4:
OnePlus doesn't have anything like Knox. If you factory reset and re-lock bootloader it's back to factory state. (Knox was awful, I don't miss Samsung.)
[OnePlus 9 Pro] TNSMANI:
Even if the phone is rooted, OnePlus accepts returns.

If you are not successful in your attempts to find the culprit, you can use BetterBatteryStats from HERE, read the first couple of posts in that thread and generate an idle dump file as described there. It can be posted in that thread for help mentioning the airplane mode result also.

The airplane mode result is the bottomline, below which you can't go and if that is high, return the phone.
[OnePlus 9 Pro] VuBoo:
So a quick update:

i have not lost any percent battery during flight mode (10 hours) :)

Had then over the day almost 5 hours SOT and still had more than enough battery. (yeeey)

I live in Germany and work in Switzerland and right next door is France and my guess is that when automatically selecting network, as it is set by default, it switches all the time between the countries.

However, when I tested this with flight mode, I was on the home network and I assume there were no switches, which is why my battery got through the day better

I'm back at work right now and have manually selected the Swiss network this time and I'm very curious to see what percentage I'll have at the end of the day.

Does roaming drain a lot of battery that much? Can I check without root what consumes the most energy? BBS needs root, right?
[OnePlus 9 Pro] TNSMANI:
No. If root is not available, you can grant the required permissions via adb. After installation, when the app is opened, the permissions screen pops up and guides you. Ofcourse, if root is available, it is only a matter of allowing root permission.
[General Questions and Answers] lpaso:
Hi,

I recently bought a HTC Touch HD, and I think that the "shutdown-screen-when-you-answer-a-call" function of phones like Diamonds, Touch Pro and HD is the dumbest way to prevent accidental presses on the touch screen.

Our devices have a light sensor, that could be used to switch off the screen if the phone is near the ear (like the phone using an "i" word ;)) and keep it on when you answer with loudspeaker for example.

The "problem" with this function is that when you're already in a "no-light" environment, the screen lock function doesn't work.

To resolve this issue, I think we could use the G-Sensor. Indeed, if the place has no light, then, the phone cannot detect the proximity of a ear. But when you put the phone next to the ear, you hold it a the vertical...

To make it short, the app should do :

Do nothing in normal use.

When a call arrives :

- it monitors the ambient light

If there's light :

- when you answer the call, if there's light then no more (you stick the phone next to the ear), it switches off the screen and continue to monitor.

- while in call, if there's light again (you want to see some info on the screen for example), it switches on the screen and continue to monitor.

- and so on until you end the call

If there's no light :

- when you answer the call, but let it at the horizontal (you let it on the desk for example), it does nothing

- if you take the phone on the vertical position (you stick the phone next to the ear), it switches the screen off.

- if the phone, during a call, goes from vertical to horizontal of horizontal to vertical, the screen is switches on/of

- and so on until you end the call

Obviously, you could replace the "switch on/off screen" with "lock/unlock screen".

What do you think about ?

UPDATE :

After playing a bit with the HD, it appears that HTC DOES use the light sensor for turning the screen off during a call.

Let's do a test :

In a place with plenty light :

- put your mobile with the face up

- call a number (always face up) : the screen will not be switched off until the light sensor detects a loss of luminosity or a timeout set in the registry.

So, my conclusion is that HTC already use the light sensor to switch the screen off during a call, but they do it in an absurd way :

- they poll the sensor just to shut down the screen, not to switch it on.

- once the screen has been switched off, they do not longer poll at all.

Do you think it could be a way to "hack" their system to do what we want to do ?
[General Questions and Answers] lpaso:
no one has an opinion on this idea ? if there's nobody that want / have the time to develop a soft, I understand, but at least please, give me just your opinion :)
[General Questions and Answers] custardo01:
I agree with your idea for such an application. I must admit that I am very used to just pushing the power button when I answer a call (from Polaris use) to ensure I am not going into other programmes as I rub the phone against my ear. On the other hand I am trying to get used to the Touch HD's modern automatic method but I can't help not feeling relaxed that it has worked and keep trying to look at the screen in the corner of my eye to see if it did go off or not.

If it does not come now I am sure there will be such an app very soon just as you describe especially as all the latest models now have it.
[General Questions and Answers] nir36:
i'd use the half of it that doesn't require the G-sensor as i don't have a diamond or HD...

but i'm certainly sick and tired of my ear operating my touch screen while i'm speaking.
[General Questions and Answers] fireweed:
I've written a prototype to do exactly what you are talking about although the one crucial part I am missing is the lock code. Every example or suggestion for locking the screen is very hacky and never feels like a good approach. If anyone has a good solution for locking the screen (especially in managed code) I would be happy to complete what I have started and release it with source so it could be improved upon.

So far, the best locking utility I have seen is PocketShield although I'm not sure what approach was used for locking in that case. It almost feels like a form that captures all windows events but I'm not sure exactly.
[General Questions and Answers] lpaso:
Maybe the simpliest way to "protect" the screen is to switch it off. I suppose it must be some API to do that ?

Concerning the "locking", I think the simpliest way is to put on focus an empty window (transparent if it can be ;)).

I'm really happy to know that you're working on an app like that :D
[General Questions and Answers] iosub:
I'm looking for this.. If you find a solution send me a PM, I will do the same

Thanks!
[General Questions and Answers] donbronzi:
We need this app, how does the iphone acheive this?

I think the 'easiest' way to make this app would be to keep the phone doing what it does currently (put the phone on standby when answering a call) then have the light sensor take the phone out of standby when it receives light, (taking it away from your ear)?

Obviously if its dark then we would have to use the power butten as we currently do now or have the Gsensor do it with a twisting motion (vertical to horizontal).

If anyone has an idea how to program this i'm willing to help in any way, the current systems seems so crude on such tech devices!

DB
[General Questions and Answers] exidler:
There a program, that can help you. Not full, but it can switch off screen, using g-sensor. However its using not vertical aligment of the phone. There are using changing orientation of the phone to decide when phone near the ear.

http://xdaforums.com/showpost.php?p=2622590&postcount=45
[General Questions and Answers] johnchan78:
I have always wondered why our WM phones don't do what the iphone does...

For the SE Xperia X1, the light sensor is right near the earpiece (along with the little front facing camera), so it would go to virtually 100% darkness when near the ear. I would presume unless you are using the phone also in 100% darkness (which should be pretty rare I would guess) then it would work like the iphone.

I have also been quite annoyed by the fact that after a phonecall, sometimes I found i'm in a note taking program or weather program or something else. It just seems dumb, considering our phone HAVE these lightsensors?!
[General Questions and Answers] quicksite:
I think it's a fantastic idea to solve a VERY FRUSTRATING PROBLEM

I would rank myself this way:

Not a newbie who's just gotten a touchscreen phone and is now discovering the quirks when holding screen to ear,

and not a developer,

but a power-user. I have installed all sorts of XDA-developed features/enhancements for my phone.

But now I have 4 years experience -- starting with the T-Mobile MDA, and its successor, the T-Mobile WING. And despite all of the advancements expected in that time, STILL, I inadvertently end a call, or put it on hold accidentally, ALL THE TIME. Between that and trying to retrieve the phone from my pocket just to answer the damn ringing phone, I would say I have, on the average, a 20% success rate -- and 80% of the time the call is disrupted. And at least once a day my ohone, in my pocket, even when using s2u2, manages to REDIAL my latest conversation, so mcuh so that all my friends say "why don;t you get rid of that phone. It does all these whiz bang things but still can't reliably manage a basic phone call.

My most recent experiment was to call someone, then when they answered, press the s2U2 key to lock the phone screen. Only I came to find out from A_C that this is no good: S2u2 does not have recognition that you're ending the call, thus, since it's in lock-mode, the "END CALL" or Hang-Up hard key does not work.

So by all means, I would even pay for an app that once and for all handles the baseline problems of simply making a phone call. Thanks for making this request.
[General Questions and Answers] quicksite:
fireweed, have you contacted A_C, author of s2u2 ?

There may just be perfect synergy between the two of you. His "best of breed" screen-lock app is widely used -- and other developers, like supbro, for example, author of iDialer, have collaborated on small code-bits from A_C to solve some integration problems.

If for any reason you are unfamiliar with A_C, go to his website: www.ac-s2.com -- where his apps are explained, and all link back to XDA.

He's even managed to make the screen lock work, yet, have it selectively overridden when you insert headphone jack -- such that his s2p (slide to play) app opens and allows you to switch music tracks etc while otherwise the screen and buttons are all fully locked...
[General Questions and Answers] lpaso:
Hi,

After playing a bit with the HD, it appears that HTC DOES use the light sensor for turning the screen off during a call.

Let's do a test :

In a place with plenty light :

- put your mobile with the face up

- call a number (always face up) : the screen will not be switched off until the light sensor detects a loss of luminosity or the timeout set in the registry expires.

So, my conclusion is that HTC already use the light sensor to switch the screen off during a call, but they do it in an absurd way :

- they poll the sensor just to shut down the screen, not to switch it on.

- once the screen has been switched off, they do not longer poll at all.

Do you think it could be a way to "hack" their system to do what we want to do ?
[General Questions and Answers] Chatty:
I think HTC does not only switch off the display but goes to standby (phone works independent if you didn't know yet). Your idea is a lot different in terms of programming.
[General Questions and Answers] lpaso:
I don't know if it goes to standby : when the screen is switched off during a call, a press on any button switch it on again. In the registry, the key controlling the timeout before the screen is shut off is named "LightSensorToScreenOff" so I think it is just switching off the screen...
[General Questions and Answers] johnchan78:
Well if thats the case, its HALF of what the iphone does... it turns off the screen based on the light sensor going dark suddenly (next to ear) but then fails to turn the screen back on after you move the phone away from your ear...

Anyone know how to enable this?
[General Questions and Answers] Hennyb:
Interested in having this feature too. Isn't it possible to have the G-Sensor determine when the phone is vertical and shut the screen and then when it is lying flat to turn the screen back on again. Believe that the Iphone does it this way, not with the light sensor.
[General Questions and Answers] Section9:
Hmm... I never had my ear 'navigating' my phone during in-call before....

I never allowed the screen to touch my face anyway, and the speaker is facing the ear canal, when I receive or make calls...

But i do understand that s2u2 can do what you guys might need, it locks the screen during in call.
[General Questions and Answers] Section9:
I think the Iphone has something called proximity sensor, which senses the distance from the ear to the phone, hence when the phone rest on the outer ear, the phone screen shut off.

Or am I wrong?
[General Questions and Answers] lpaso:
No, you're right. It uses an iR sensor to know if there's something near the phone.
[General Questions and Answers] johnchan78:
I would like to remind everyone, that if you're lying down using the phone, or using it on the side, the g-sensors (with the Xperia X1 doesn't have, but just saying) will not be accurate.

The light sensor ALONE should be sufficient. All it needs to do, as soon as an incoming call is detected, or maybe for the next 1-2 seconds, read the light sensor. As long as there is a TINY bit of light, it should not show as complete darkness. Assuming once you put the phone to your ear, the light sensor is 99.99% dark, then it will know when you've got it on your ear and when you move it away from your ear.

Now if the room is 100% dark at the beginning, then just leave the screen on the entire time.

Hopefully this makes sense?
[General Questions and Answers] lpaso:
the problem is that the accuracy of the light sensor seems to be not great. You can test it with a program like G-light : in a room with only one light , and if the phone is not turned in the direction of the light, you'll have a "0 lumens" value...

But, in this case, the solution is to go back to the "normal" mode : when the call is answered, the screen is shut off directly.
[General Questions and Answers] ZuinigeRijder:
Indeed the sensitivity of the light sensor is not good enough, in too dark lighting conditions it will not work. Therefore I used the lightsensor only for unlocking in TouchLockPro, which works also for the Touch HD.

In the upcoming version TouchLockPro 1.9 I will introduce the ScreenOffWhenCallConnected option, so you cannot accidently press stuff with your ears. Also I will introduce the option UnlockWhenCallConnected, so you can still use the hardware keys, when the screen is off (e.g. for ending the call) and it is not locked when the call is ended from the other side.

So this might be the solution for:

[IDEA/REQ] In-Call Lock Screen
[General Questions and Answers] lpaso:
I'll be pleased to test your next version ! It seems to exactly answer the REQ :)

Thank you.
[General Questions and Answers] lpaso:
I tried to make a prototype using the API from the author of Klaxon, and I'm a bit disappointed... When the screen is off, the light sensor sends random data (especially between 300 and 450 lumens).