yashsingh1/xdaforums huggingface dataset:
[OnePlus 9 Pro] newwaylw:
One of the questions would be what's so special about the op cable? Is there some proprietary protocol/chip in the cable that only allows it to communicate, or even charge my phone?
[OnePlus 9 Pro] Renate:
Well, things do get very confusing with power delivery and USB 2/3.

For instance, a USB 3.0 is required to have the USB 2.0 part functional.

But, you can chop that out and some devices in some circumstances will work just fine.

Also, many Type C cables are only USB 2.0, they are missing the four pairs for USB 3.0.

I would think that anything would charge somewhat but there are two major protocols for power negotiation.

One is pulsing on the CC, the other is a carrier on Vbus.

The best thing to do would be to take scissors to all your cables so that we may understand the problem! :p
[OnePlus 9 Pro] TheGhost1951:
The cable and charger that came with the phone is "matched" to the device. To deviate from that is a choice and a gamble that yields mixed results.
[OnePlus 9 Pro] JohnTheFarm3r:
Although the stock red cable supports both WARP charge and data transfer, it's only a USB 2.0 protocol, crippling the transfer speed. FYI.
[OnePlus 9 Pro] TheGhost1951:
But my charge rates are 30% to 100% is less than 1 hour...my data rates between phone and PC are insignificant as to whether to takes 5 mins or 7 mins to transfer 7gb of data...as long as I can charge my phone in a reasonable amount of time and I can transfer data between my phone and PC reasonable, then what if any problem do I have?
[OnePlus 9 Pro] Renate:
Oh, the One Plus 9 also uses its own proprietary protocol for power negotiation.
[OnePlus 9 Pro] TheGhost1951:
So, really what is your complaint, I was for a long time using Samsung devices, and even though I paid for them, I could not unlock the bootloader. It is my phone, I paid for it, but I can't have a custom bootanimation or do what ever with my phone since I paid for it. It was my phone, but we will limit you as to what you can do is what Samsung was saying. Charging and data rate transfer were the least of my problems. My phone my customizations were more important to me..
[OnePlus 9 Pro] Renate:
Huh? I was just stating a fact.

I don't own a One Plus, I rarely care how fast something charges, but I am interested in USB.
[OnePlus 9 Pro] TheGhost1951:
Why are you only interested in USB?
[OnePlus 9 Pro] Renate:
I'm interested in a few different things.

I just read a book on the Great Trigonometrical Survey (of India, 1802-1871).

And just this morning I disassembled and patched the kernel on my new tablet.
[OnePlus 9 Pro] TheGhost1951:
The gambit of chargers and cables is all over the spectrum. Some cables will charge but not do data transfer. It is sometimes a hit and miss proposition that for the most part is a gamble. Not exactly a monumentous problem. Good luck in your endeavor...
[OnePlus 9 Pro] JohnTheFarm3r:
What are you talking about? She stated a fact, that's it.
[OnePlus 9 Pro] TheGhost1951:
No further comment on this subject, it is pointless!
[Google Pixel 6 Pro] didymus:
Instead of going back and forth with T-Mobile I'm considering just paying the $100 or whatever to have an unlocking service do it, but I'm not sure if it's even technically possible for services like this to exist. Many seem like scams, but a couple seem legit. Are they "real"?
[Google Pixel 6 Pro] NippleSauce:
I am not aware of any paid services for this - but I generally do not look into this as I only purchase unlocked devices - so they might be legitimate.

Regardless, why take the chance?

If you have T-Mobile, getting your device carrier unlocked is an extraordinarily easy process. Just check out the guide on their website:

SIM Unlock Policy | Unlock Your Mobile Wireless Device | T-Mobile

Learn how to unlock your wireless mobile device for use on other carriers (formerly SIM Unlock). See device compatibility and unlock requirement.

www.t-mobile.com
[Google Pixel 6 Pro] CapAdamT:
$100 does seem much... I've seen legit services for here in the UK that unlock for £15 (the equivalent of ~US$20 iirc)
[Google Pixel 6 Pro] FoneWatcher:
They used to be real (in my experience) because all they need is the key - same as what T-Mo does - so if they got a copy from the factory in China, then services could unlock. There used to be hundreds of them back in teh day on eBay.

However, I haven't heard of it for the P6P and because it's Foxconn, maybe their security is better and key lists are controlled better?
[Google Pixel 6 Pro] keaheng:
$10 on ebay
[Vivo X Fold] RR-99:
Has anyone had any susccess with a password manager on the X fold? I'm using Dashlane which I've used with other phones but on this one it won't show up with passwords on Opera or Firefox browsers.

And yes, it is set as the Autofil Service
[Android General] Doomkopf:
Hey xda-Community!

I recently wanted to reduce my idle drain and searched for ways to edit Android Doze settings, because I remembered seeing a tutorial that said you can change deviceidle-constants, which configure how Doze works (how fast it kicks in, how long it kicks in, light/deep doze).

I tried all those old tutorials, but I quickly realized the old ways to change the parameters are deprecated, so I asked people on android.stackexchange.com and someone actually gave me the answer (thanks Andrew) (https://android.stackexchange.com/questions/247680/is-device-idle-constants-deprecated-in-android-12).

This works from Android 12 on and is achieved using a shell.

Commands:

Note: When using an adb shell, you have to put "adb shell" before those commands. I'll just put the bare commands here, you add what you have to add.

Checking current parameter values:

You can check your current Doze settings (and statistics) with dumpsys deviceidle

Changing parameter values;

Every parameter has to be set individually. It's not that bad tho, as you only have to do this once.

Syntax is device_config put device_idle [KEY] [VALUE]

One example: device_config put device_idle light_after_inactive_to 30000

Spoiler content hidden.

You can check dumpsys deviceidle to see what keys there even are. These might change with new Android versions.

To help you out, here's an explanation of what each key actually sets. You can also get a visual sense of how the light mode and the deep mode work (not my work, thanks to easz from github).

Resetting all parameter values:

device_config reset trusted_defaults device_idle

Recommended parameter values:

Spoiler content hidden.

I also wrote a windows batch script (works via adb, you have to rename the .txt file to .bat) that changes the parameters to my recommendations. You have to connect your phone via adb before and execute the bat-file. See attachments.
[Android General] maxs8007:
will these settings persists even after a reboot? or upgrading rom?
[Android General] Doomkopf:
yes, these will stick after a reboot. Not sure about upgrading, but I would guess that it'll stay, because we don't actually modify anything on the system partition
[Android General] Utini:
@Doomkopf for me those settings won't stick.

For testing purpose I just applied those yesterday morning:

adb shell device_config put device_idle motion_inactive_to 300000

adb shell device_config put device_idle light_after_inactive_to 180000

This morning they are back to stock values. Any ideas? :S
[Android General] Doomkopf:
I set mine like 6 weeks ago, it's still set. I miss many information, what phone do you use, what ROM, how you check if it's still set etc :D
[Android General] Utini:
Hi, oh well here are some more infos:

Pixel 6 Pro

Latest Android 13 Stock ROM

Kirisakura Kernel

I check via "adb shell dumpsys deviceidle".

I set it all your settings on friday and today (monday) there are back to stock values.

Previously I tried settings my own settings on wednesday morning and had stock values on the next day already as well :S
[Android General] Doomkopf:
That doesn't sound good :( I'd check right after setting it, so you can see if it was changed at all (which I assume). If it indeed gets set and unset again, you could check this github repo (https://github.com/easz/doze-tweak) at "Caveat".

Those values got reset in the past already, but as it didn't happen to me, I thought Google stopped doing that. Maybe that old workaround still works :) Otherwise, you'll have to flash a custom rom I guess xD

EDIT: I also recommend looking at values easy to distinguish. For example, "sensing_to" and "locating_to" were nonzero before, now they are zero (for me), so these values are easy to compare for me. The values you need to look at are at the most upper part of the output, but I guess you already knew that :D
[Android General] crok.bic:
Did you ever mess with any other settings using device_config before? Like the number phantom processes, empty or cached processes, ActivityManager tweaks or anything else? Because I assume you did (and using Android 10 or higher) and disabled the settings sync back to the defauls.

Did you ever use the below command?

device_config set_sync_disabled_for_tests persistent

What does the below commands says?

device_config is_sync_disabled_for_tests

Perhaps it says true? If yes that's why your settings aren't changing.
[Android General] Doomkopf:
You quoted the wrong man :D

@Utini How'd it work out? If my last response doesn't help, maybe this one helps u :D
[Android General] crok.bic:
No, logically I quoted the correct man :D Just wanted to indirectly tell others about the above trick / setting ;)
[Android General] NovaProspekt70:
Hi, currently I am using Naptime by Franco with ADB permissions. I'm not sure, but it should work by using the following options (maybe not only these, but I don't know well if there are other places where Doze options are stored):

inactive_to=2592000000,
motion_inactive_to=2592000000,
light_after_inactive_to=0,
light_pre_idle_to=30000,
light_max_idle_to=86400000,
light_idle_to=43200000,
light_idle_maintenance_max_budget=30000,
light_idle_maintenance_min_budget=10000,
min_time_to_alarm=60000,
min_light_maintenance_time=10000,
wait_for_unlock=0,
quick_doze_delay_to=86400000

It's working very well (I get 2% drain in 8 hours of sleep), but I wanted to try and improve it further, because the App tells you when and how much Doze is enforced and when maintenances are performed.

In my case, from my understanding, I don't need maintanances so often, or maybe I don't need it at all, because all the apps of which I need notifications are in non-optimized battery mode.

For reference, during night it performs 4-6 maintenances circa.

Coming to the point, I wanted to ask you I can use you settings even if they have further options like:

sensing_to 0
locating_to 0

and if I can make your settings even more extreme on some values.

For further reference, I have disabled through adb the "motion_engine", any system gesture and I have the Location always disabled (through UI shortcut, not ADB or advanced options).
[Android General] Doomkopf:
Hey; please don't quote the whole post, it doesn't really tell me anything :D

I don't really understand: What do you want to know from me/what is your question? ^^

Yes, you can make some values more extreme, but you said you already did (less maintenance, more idle)
[Android General] NovaProspekt70:
Hey, I'm really sorry, I'm new on XDA.

I wanted to know why you have some options valued that I don't, like for example:

light_idle_factor 2
sensing_to 0
locating_to 0

and if using them might improve even more my doze.

Also, even if I have Naptime installed, which already improved things by a lot, I wanted to know if some of my values could be improved further to avoid useless maintenances (like I said I have between 4 and 6 maintenances during night, but I barely need 1).
[Android General] Doomkopf:
I linked a xda post that explains every value in detail (first link in second quote/my post);

locating_to and sensing_to: By the pictures (also in second quote/my post), you can see how deep doze works; before going into IDLE mode of deep doze, it goes through a sensing phase (motion detection starts) and locating phasing. Default behavior of doze is to not go sleep when you move the device. This skips this phase (time for detecting motion with sensor is 0). Same with locating; when android notices that you move the device (train, car, ...) via gps (or wifi triangulation, etc) it doesn't go to sleep. This also skips that phase

light_idle_factor 2: This multiplies light_idle_to with 2 everytime if goes thorugh a idle/maintenance cycle until it reaches light_max_idle_to. So this basically doubles your light idle time every cycle until it reaches a max duration (which you can set, I also did in my recommended settings)

In that overview you could also think about how to tweak your values so you get less maintenances during night, as you wanted. Basically you have to make both (deep and light) idle_to's longer. I recommend to increase light idle_to first (more light idle, less maintenance), before going too deep on deep sleep - sometimes your phone needs to do backups at night, etc. Dont be afraid to set a "too large" maintenance window, your phone won't suddenly start to draw much power for nothing. You just have a few seconds/minutes less deep sleep (which is ok, little percentage). Give it something like 2 minutes per night, if you're afraid a backup will take longer, you can even go for 3-4 minutes per night.
[Android General] NovaProspekt70:
Thank you very much, very helpuful!!

Based on your information, I think I understand better how Naptime works. It increases the parameters of Light Doze making them similar to those of Deep Doze, and also increases the duration.
[Android General] tfn:
Wouldnt it be easier to just create a routine or mode ?

Like when I am around my work place I have set it to turn wifi off so it dont keep scanning for wifi and stuff.

I personally feel with Samsung most things can be controlled within their phone and developer settings and not to mention their add on apps like Good Guardian and Good lock.
[Android General] NovaProspekt70:
I do use Samsung Routines to Enable Offline Mode and Battery Saving at night, which along with Naptime gives me 2% used battery in 8 hours over night, but during the day I can't find a good usage for it.
[Android General] Doomkopf:
I don't know what it would be easier as; this method?

This basically just configures doze to better fit your needs. It already had values in it before and it was activated before. You can (and should) do all this and still create a routine or mode additionally.

Doze is android's main internal battery saving feature, so tweaking it goes a long way.
[Android General] pradeeppk:
@NovaProspekt70 from were you download Naptime, Now it is not available in playstore. does it works with android 13
[Android General] beggar23:
Unfortunately Naptime stopped working with the new deeper doze implementation a couple of Android versions before. I once asked the dev, if he intends to adapt the app, he said no. So, its off Play Store for a reason.
[Android General] Mort015:
Great.. How to disable the maintenance Windows completly?
[Samsung Galaxy S20 / S20+ / S20 Ultra Questions & ] CharmedWhovian:
So, I have the unlocked variant of the S20. & it's model is SM-G981U1 & it could be exynos(ordered from Samsung). I see there's a root for S20, +, FE etc. But I can't seem to find one for the Samsung Galaxy S20 5G. So, instead of doing what is normally do I, I'll ask for help.
[iQOO 9] thomascook:
Since there´s not Iqoo 10 Section yet, im gonna drop it here for now.

Vivo X60 Pro+ ( 1 1/3 inch main, OIS)

View attachment 5683481 View attachment 5683487 View attachment 5683491 View attachment 5683501

Night Mode (auto) + Astro Mode

View attachment 5683497 View attachment 5683505

Iqoo 10 Pro (1 1/57 inch main, Gimbal OIS)

View attachment 5683485 View attachment 5683489 View attachment 5683493 View attachment 5683503

Night Mode (auto)

View attachment 5683499

Night Mode Sky (unedited, this really came out this way)

View attachment 5683509

Since there´s no ASTRO Mode availible in Camera Settings of Iqoo 10 Pro, i took this one on PRO mode with similar Settings to Astro Mode of X60PP, just forgot to set Focus to max so its slightly unsharp

View attachment 5683507

As for the device´s cameras, the 1x Lens GNV is gimbal stabilized for photo and 4K video (30/60) but there is no stabilisation for 8K video. The 0.6x Wide seems to be similar to both devices. My biggest point of critic is the zoom lens 3x optical 14.6 MP, f/2.2 -

the "hybrid" function automatically switch from 3x optical to pure digital zoom as soon as theres lower light, for now you can´t disable this in auto mode and the quality difference is heavy, so zooming with the 3x optical OIS only really works well in good light conditions.

I will try out and play arround with the Iqoo 10 Pro the next few days. If anyone got any questions, go ahead and ask.
[General Questions and Answers] SlimNonny:
hello thankyou for your time so im trying to unlock the bootloader on my BLU g90 PRO, ill walk you through my steps

dev mode on-----usb debug on-----oem unlock on--------

iv downloaded all the following

amdroid cdc driver

android vcom driver

usb driver

15 second adb

fastboot driver

meditek drivers for my phone vcom 3456

magisk 23

a twrp recovery for my device

iv updated drivers all my drivers in device manager it----- shows android phone----android adb interface

command:adb devices. an itll show my device is connected so

command : adb reboot-bootloader. the phone does reboot into fastboot

command : fastboot oem unlock waiting for device......nothing changes on phone

kill an open new cmd get back to fastboot

command : fastboot devices. nothing i can restart all over an show adb devices is good but nothing in fastboot, BUT if i boot recovery an boot fastboot with that option that brings up fastbootD im able to see my device in fastbootD but not fastboot

command : fastboot devices. ???? i tried to fastboot other commands from this but it says it cannot in this boot.

iv litteraly spent two days reaching out in contact with other members who linked me with current updated files i need downloaded, linked youtube an watched hours of youtube, read countless fourms about fastboot not responding im at a loss if i didnt have male hair pattern baldness i think i would of pulled some hair out by now.

I dont know where to go from here..... its possible to unlock the bootloader on this phone......iv got everything iv been told an shown same as for updating drivers. iv tried different computers an all there ports

of youve read this far an want to try an help me i do really thankyou for any and all help, im not the most tech savoy clearly but im 29 not a dumbass i can follow directions an complete tasks just lost....,
[OnePlus 8T Guides, News, & Discussion] LinhBT:
Attached with this post are :

+ Stock boot of OOS12 ( C41) for Oneplus 8T+ 5G (T-Mobile KB2007)

+ Magisk patched boot of OOS12 (C41) for Oneplus 8T+ 5G (T-Mobile KB2007)

+ Modded stock recovery of OOS12 (C41) for Oneplus 8T+ 5G (T-Mobile KB2007) with ADB enabled, security disabled, ability to debug enabled and allow mock location by default.

Just flash in Fastboot mode as usual!
[OnePlus 8T Guides, News, & Discussion] bookofjoshua:
Hi! I'm not very up-to-speed. I just restored my phone to TMO android 11, I was running PixelExperience and I have run the EU rom, what post should I look to for "flash...as usual". I'm not sure what the normal process is. Thanks!
[OnePlus 8T Guides, News, & Discussion] LinhBT:
I don't really understand your question but these files are for OnePlus 8T+ 5G Stock OOS12 C41 only, so if u r on A11, then these files are no use for u bro.
[OnePlus 8T Guides, News, & Discussion] bookofjoshua:
It says "just flash in fastboot as usual". I don't know what "as usual" means. I wasn't looking for info on using them with my phone, just what I need to look at for the flashing procedures as I have seen several different methods and requirements,.
[OnePlus 8T Guides, News, & Discussion] LinhBT:
Ah, what I mean by "flash in fastboot as usual" is : just flash those files in fastboot mode with fastboot commands which is used to flash boot.img recovery.img.....etc. In this case, are "

+ fastboot flash recovery recovery.img

+ fastboot flash boot boot.img

or you may input option like :

+ fastboot --slot-all flash boot boot.img ( to flash boot.img into both boot slot A/B )

Just that, my friend!
[OnePlus 8T Guides, News, & Discussion] kevinco1:
So by using those fastboot commands you'll be able to root the KB2007 if you are running 12 as long as your bootloader is unlocked as well as SIM unlocked? That's my current situation right now and was looking go root sometime soon
[OnePlus 8T Guides, News, & Discussion] LinhBT:
True, if you are on OOS12 C41 ( TMO ) to be specific, then u can use the magisk patched boot image from my post to root your device using normal fastboot commands as mentioned!
[OnePlus 8T Guides, News, & Discussion] bookofjoshua:
Thank you! I appreciate you taking the time to clear that up for me, and actually type the commands. I was originally flashing Roms to get access to my 5G radio, as I'm using it on Verizon towers, but after applying the latest update my phone connected to 5G so I may not even need it anymore 🤷‍♂️
[OnePlus 8T Guides, News, & Discussion] LinhBT:
There's a guide to enable 5G and/or VoLTE for KB2007 also in our forum. But since u did it, congrats :D
[OnePlus 8T Guides, News, & Discussion] heyChristo:
I just got this device yesterday. Already sim unlocked and requested the bootloader unlock code. Since it's only day one, I haven't flashed the euro firmware/rom yet. Is it worth upgrading it to 12 and then simply rooting it. I don't mind running stock for a while, but I hear 12 is really that bad. Obviously it can't be too bad if you are using it. I am just hesitant on installing the update. What are your thoughts?
[OnePlus 8T Guides, News, & Discussion] davekaz:
works beautifully
[OnePlus 8T Guides, News, & Discussion] davekaz:
not bad so far just more security . disabled pinch out hidden menu.. had to create code and use dialer to access hidden menu. i fastbooted this and now rooted have not tried recovery yet im afraid actually
[OnePlus 8T Guides, News, & Discussion] heyChristo:
So I converted mine to the EU version and then to the global version and updated to 12 via OTA. However I could not find the file prior to flashing so I couldn't pull it to the PC. Obviously I lose root on that full update. Can I flash this boot image to restore root or will that brick the device?
[OnePlus 8T Guides, News, & Discussion] droidgreg:
For those that want the latest C42 update with September security, find attached the stock boot image as well as the magisk patched image
[OnePlus 8T Guides, News, & Discussion] fatnickd1:
Hey. Thanks for all your work. I'm rooted on stock kb2007. My OTA update to 41 is not working. Would flashing these before asking the system to update fix it, or are these for after you unroot and allow the update. I think the unroot is where I'm having trouble. I uninstalled Magsik and wiped cache for google play. The OTA still won't work. I'm sure there is every note on XDA about this, but I thought I'd ask here because I think I'm so close.
[OnePlus 8T Guides, News, & Discussion] freddienuxx:
you wouldnt have the last android modem img for android? thx in advance. i forgot to safe modem via msm tool before i converted to global smh
[OnePlus 8T Guides, News, & Discussion] kevinco1:
The real question is where can obtain the original firmware for C42? Haven't been able to find it anywhere online
[OnePlus 8T Guides, News, & Discussion] Rootk1t:
There is no 100% confirmation that C42 was released as a full update and not incremental on C41.
[OnePlus 8T Guides, News, & Discussion] MustangLife03:
If I'm already on Android 12, C41 unrooted than I don't need to do any other flashing except the magisk patched boot image from the post to root my device using normal fastboot?

What is the purpose of the modded stock recovery?