[Q] [Solved] Magnetic charger behaviours - Xperia Z3 Compact Q&A, Help & Troubleshooting

I really like the idea of using the magnetic charger as my main source of charging. But using the magnetic cable has caused some big annoyances. First of all, the screen rotation. My display setting is always set to portrait lock, but when using the magnetic charger it ignores it and rotates the screen 360 degrees. I even installed the xposed module 'disable desktop lock'(made for z1) with no succes. And secondly, most apps restart or chrome pages reload when inserting or removing the charger. Even though YouTube doesnt seem to behave this way.
I think these behaviours are built in features for the charger dock but since I'm using the charger cable these features seem useless and are simply annoying.
I can't find anyway to disable them. Does anybody experience these same issues, and is there anyway to disable them?
EDIT:
sorry, just fount that the xposed module 'disable desktop lock' has been recompiled for the z3c. this solves both issues. see llink to original post.
http://forum.xda-developers.com/showpost.php?p=62862952&postcount=40

Related

i9000 forced into landscape mode when charging

Found a particular weird problem/bug/feature today with a friend's i9000. We upgraded it to Froyo (JP6) last night but today in the office when he plugged it in to his charger the phone went into landscape mode. Every single time. No way to get it back to portrait except to unplug it. Turns out it was this particular micro usb cable he was using. I tried my phone with his cable and sure enough, landscape mode.
I cannot for the life of me find a way to disable this. I can only assume it's a Samsung feature meant for their range of accessories and in the tip of the charging cable there is a readable code which defines it as a landscape dock.
If anyone finds out how to disable it I'd love to know.
Heres thread about usb connector
http://forum.xda-developers.com/showthread.php?t=820275

[Q] Disable autorotation when charging trough magnectic dock

Hey everyone.
I use the magnetic dock connector to charge the phone at night, this way i hope i'll preserve the water-tight flap that covers the Micro-USB port.
When the magnet attaches to the phone the phone automatically starts to auto-rotate , even when it's disabled in my settings. I know this has probably something to do with people that use desk-stands with a dock connection, while keeping auto-rotate off.
To me, this is very annoying, because when i charge the phone i use a cable. I try reading/watching movies at night while my phone is charging, but the dock-enabled-auto-rotate does the rotation in all four directions.
Is there any way to bypass thing mildly annoying feature?
Thanks a bunch.
Yes very annoying this is. I suspect it's not possible to disks rotation consisting the only official magnetic charger Sony supply is for the dock whereby the device is connected horizontally hence rotation is required. By that logic I'd say no (for now)

[Discussion/Tips] Nexus 7 as Car-Tablet.

There's millions of these devices around. If not laying in a draw or closet, they're on craigslist or ebay half of a N7'13, (2013 model should be considered if purchasing).
Share and discuss your setup, apps, and experiences here.
ROMs:
Timur's USBRom: Android 4.2 Jellybean. No longer developed.
http://www.adrive.com/public/hMdX4p/cm-10.1-20130817-USBROM-grouper.zip
Gapps: http://www.adrive.com/public/rj748P/gapps-jb-20130812-signed.zip
AutoDroid: Android 4.4.4 Kit Kat. No longer developed.
http://forum.xda-developers.com/showthread.php?t=2789993
*May have a problem booting after install. Flash a below kernel to fix.
Kernels:
Kangeroo: For Kit Kat ROMs. Inactive(?) since Jan 2014.
http://forum.xda-developers.com/showthread.php?t=2558717
Oxydo: For Lollipop ROMs.
http://forum.xda-developers.com/nexus-7/development/oxydo-revamped-kernel-nexus-7-2012-t2978950
Apps:
Headunit: Android Auto head unit app.
http://forum.xda-developers.com/gen...nit-android-auto-t3125252/page69#post62485618
Power Event Manager 1.8: Changes power settings for above kernels allowing tablet to sleep/wake with external power.
http://forum.xda-developers.com/showpost.php?p=62287264&postcount=145
App Ops: Or any permission manager you like.
https://play.google.com/store/apps/details?id=com.findsdk.apppermission
Autosleeper Auto power ON-OFF: I haven't tried this but functionality seems somewhat equivalent to PEM above.
https://play.google.com/store/apps/details?id=com.as.powerchecker
Wakelock Detector [Root]: Use with App Ops to stop apps keeping the tablet awake.
https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector&hl=en
Trigger: Tasker-like app for automation. Simple set-up..
https://play.google.com/store/apps/details?id=com.jwsoft.nfcactionlauncher
Tasker: Powerful automation app but incredibly user unfriendly.
https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm
[*]Secure Settings: Allows Tasker to perform even more powerful automation.
https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin
[*]Power Event Manager Helper: Helps PEM kill a few stubborn apps then put the tablet in lp0.
Attached in 2nd post.
Hardware:
OTG Cable: Don't cheap out here, charging for the tablet and phone must go through the wires.
http://www.amazon.com/dp/B00UJ5D5ZS?psc=1
http://www.amazon.com/gp/product/B00NSBVNCM?psc=1&redirect=true&ref_=oh_aui_detailpage_o00_s00
Ground Loop Isolator: Filters alternator, and charging whine. Doesn't degrade music quality.
http://www.amazon.com/gp/product/B00NSBVNCM?psc=1&redirect=true&ref_=oh_aui_detailpage_o00_s00
Digital Audio Convertor: Can be found locally at music stores. Fantastically excellent sound!!
http://www.behringer.com/EN/Products/UCA202.aspx
Others/Tips/etc:
Put the tablet in bootloader and type this command into CMD/terminal.
This makes the tablet to boot when external power is turned on without physically pressing the button, even if the battery has completely discharged.
Code:
fastboot oem off-mode-charge 0
If using a Lollipop ROM and experiencing the NlpCollectorWakeLock here's a fix, you must be rooted:
Remove com.google.android.gms with titanium backup (or another utility),
Download the latest "230" version of Google Play Services from apkmirror.com,
Install,
Reboot.
Smooth Scroll Mod: Possible created a random reboot on the order of once 3 or 4 days.
It goes without saying, maybe, but do not install 3rd party widgets. Beautiful Widgets for example will cause thousnads of different wakelocks though a night. -inadvertently tested.
Attached is my V2 blocked list for Debloater. It removes more apps, but leaves a few others for better stability.
V2 now removes Connectivity Services and Play Services. I recommend using on a clean install immediately going into airplane mode so no apps will start auto-updating.
With Play Services being removed by the app you will need to install with adb if no file manager is installed beforehand.
Created a Tasker app that helps Power Event Manager. Secure Settings and Power Event Manger is needed.
If PEM doesn't shut down in 7 seconds, The app closes some problem apps, hope you used the debloat list, and calls PEM to sleep the tablet. Upon wake up app then disables airplane mode.
My current setup [Edited 09/18]:
Stock lollipop, from factory image, rooted, with Oxydo-Revamp kernel.
All apps not suitable for stand-alone tablet use have been removed. Debloat list is above in post #2.
Power Event Manager installed as system app.
Es File Explorer for file management, and ftp file transfer.
$3.50 OTG cable from Amazon. Charging seems severely hampered. Tablet and phone both occasionally discharge.
OTG is now handled by the 2nd cable listed in the OP with Amazon Basic USB extensions. Charging problems fixed.
Cheap USB 2.0 hub with independent power. Simple and impressive mod.
Torque Pro with a ELM327.
Tasker. To kill apps and use Power Event Manager to put the tablet to sleep.
Now using my Power Event Manager Helper app.
Behringer UCA202 to stock stereo AUX input: This is an incredible mod. Highly recommend over bluetooth.
Notes:
Torque can keep the phone awake if configured improperly.
Leaving ES File Explorer in FTP mode will also cause a partial wakelock.
Google Play Services, and Google App are causing wakeup triggers every 2-3 minutes.
Power Event Manager combined with Oxydo kernel is putting the tablet to sleep reliably.
Power Event Manager isn't terribly reliable. The Tasker profile is set to kill apps and call PEM for when PEM alone fails.
My awake time with stripped system and Tasker is consistently 0% over 24 hours. Longer periods show Tasker awake for 2s!
Settings:
I use Synapse and UKM TricksterMod for kernel management. Since battery life isn't a primary concern, my settings are to maximize the tablet's performance.
Turning the Nexus7 into a "terminal" is about the only hope it has to run Lollipop.
Tablet can run music, maps, and youtube flawlessly. Chrome appears to be the biggest problem app.
CPU Minimum frequency is set a 640MHZ 340MHZ,
Maximum 1624MHZ 1500MHZ,
Ondemand Governor.
Splitting the power to use two chargers is super simple when you figure it out.
Open the hub,
Remove the red wire from the PCB, and tape it off.
Connect a salvaged USB cable's red wire to the where the previous was,
Connect the new black wire to the PCB with the existing black wire.
Green and white wires on new cable are not used.
Whoa, mine if using stock lollipop is barely usable (too slow especially when multitask). Then I installed tiimut'r usbrom it's a lot bettrr (but then I needed the inmersive mode).
Current setup is slimrom (slimkat 4.4.4), all converted to all-f2fs. I dont need usb host stuff (yet), so far i'm satisfied with it. Use macrodroid for auto on/off stuff, automate as launcher, google maps for navigation, spotify/poweramp for music, and dash command for obd2 stuff.
Sent from my LG-D802 using Tapatalk
tesna said:
Whoa, mine if using stock lollipop is barely usable (too slow especially when multitask). Then I installed tiimut'r usbrom it's a lot bettrr (but then I needed the inmersive mode).
Current setup is slimrom (slimkat 4.4.4), all converted to all-f2fs. I dont need usb host stuff (yet), so far i'm satisfied with it. Use macrodroid for auto on/off stuff, automate as launcher, google maps for navigation, spotify/poweramp for music, and dash command for obd2 stuff.
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
I ran into the multitasking bit while setting up , everything last night.
With Torque and Headunit, running as it would in the car it's perfectly usable.
Open chrome, settings, es file explorer, and Ampere and it falls apart. Chrome is the biggest problem though.
How does Dash Command run for you? I've tried it, and seen many, that say the refresh rate is slow.
fr4nk1yn said:
I ran into the multitasking bit while setting up , everything last night.
With Torque and Headunit, running as it would in the car it's perfectly usable.
Open chrome, settings, es file explorer, and Ampere and it falls apart. Chrome is the biggest problem though.
How does Dash Command run for you? I've tried it, and seen many, that say the refresh rate is slow.
Click to expand...
Click to collapse
I had issues even opening up Google maps while in lollipop, soooo sllooooow. I only able to open maps, or music, or OBD stuff, cannot run them together. Now on kitkat I can run at least 2 apps simultaneously without any issues (like maps and music, or music and OBDII stuff). I did get issues when running three apps (music, maps, and obdII stuff). As for dashcommand, the refresh rates is quite ok for me. I like dashcommand morecompared to torque since it has nicer layout/themes out of the box. It's like having GTR multi information display that looks very factory.
I have another irritating issues though. If the nexus7 battery nearly full (above 90%) and charging. I hear a lot of strange noises, even when the engine is off. I touch the screen, doing any activities creates a lot of noises. if I disconnect the charger the noises are gone! and if the battery was like at 50% and charging no funny noises either. I was wondering how do I fix this.....
My setup is using the aux output of the nexus 7 to aux input of the factory bose head unit. Tried to use bluetooth to aux adapter but I did not like the sound quality (too many hissing noise) and also introduces alternator whine
Should I get the USB DAC thing?
tesna said:
I had issues even opening up Google maps while in lollipop, soooo sllooooow. I only able to open maps, or music, or OBD stuff, cannot run them together. Now on kitkat I can run at least 2 apps simultaneously without any issues (like maps and music, or music and OBDII stuff). I did get issues when running three apps (music, maps, and obdII stuff). As for dashcommand, the refresh rates is quite ok for me. I like dashcommand morecompared to torque since it has nicer layout/themes out of the box. It's like having GTR multi information display that looks very factory.
I have another irritating issues though. If the nexus7 battery nearly full (above 90%) and charging. I hear a lot of strange noises, even when the engine is off. I touch the screen, doing any activities creates a lot of noises. if I disconnect the charger the noises are gone! and if the battery was like at 50% and charging no funny noises either. I was wondering how do I fix this.....
My setup is using the aux output of the nexus 7 to aux input of the factory bose head unit. Tried to use bluetooth to aux adapter but I did not like the sound quality (too many hissing noise) and also introduces alternator whine
Should I get the USB DAC thing?
Click to expand...
Click to collapse
I'm sure lollipop is working so well because of everything I stripped out of it. I'm about to strip some more. Was working on gauges for torque. I'll give Dash Command another try though. It does look much better.
I'm still getting my cables added to my cart but you need one of these for noise:
http://www.amazon.com/PAC-SNI-1-3-5...=1440642269&sr=8-1&keywords=3.5mm+ground+loop
Are you using a stripped down stock ROM or you manually disabled everything?
fr4nk1yn said:
I'm sure lollipop is working so well because of everything I stripped out of it. I'm about to strip some more. Was working on gauges for torque. I'll give Dash Command another try though. It does look much better.
I'm still getting my cables added to my cart but you need one of these for noise:
http://www.amazon.com/PAC-SNI-1-3-5...=1440642269&sr=8-1&keywords=3.5mm+ground+loop
Click to expand...
Click to collapse
I just bought one of these.. (not exactly that brand), on mine one of the channels is not working so I only got one side audio channel only It also degrades the sound quality I think. I guess I need to bought the better one.
EDIT: What if I buy the ground loop isolator intended for 12volt line like this one? Install it on 12v cigarette lighter (before 12v to 5v dc-dc adapter). If this one works the audio quality will not changed as the ground is lifted on the 12v line.
gabrielbsb said:
Are you using a stripped down stock ROM or you manually disabled everything?
Click to expand...
Click to collapse
Yes, A manually stripped/blocked stock ROM.
tesna said:
I just bought one of these.. (not exactly that brand), on mine one of the channels is not working so I only got one side audio channel only It also degrades the sound quality I think. I guess I need to bought the better one.
Click to expand...
Click to collapse
Hopefully the one I ordered works. It has a decibal increase to make up for that degradation from the transformers.
fr4nk1yn said:
Hopefully the one I ordered works. It has a decibal increase to make up for that degradation from the transformers.
Click to expand...
Click to collapse
I ended up ordering one of these . Let's see how it goes few days from now when the package arrives (and time to install it)
Counting on PEM to sleep the tablet might not be the best idea. It only seems to actually do it IF the tablet is charging in OTG mode.
Tablet went dead in the car during a test possibly because the OTG cable, or another cable, is malfunctioning.
Might have to go Tasker although I've never gotten it to work properly for anything, and I've never accepted it won't demolish battery polling every few seconds.
Damn. Whatever happened to my tablet it appears to be dead. Won't power on, won't reboot. May be a short lived experiment.
I've ordered hundred of dollars worth of parts for the car so If it doesn't charge by Wednesday i'll have to buy a N7'13 off CL.
fr4nk1yn said:
Counting on PEM to sleep the tablet might not be the best idea. It only seems to actually do it IF the tablet is charging in OTG mode.
Tablet went dead in the car during a test possibly because the OTG cable, or another cable, is malfunctioning.
Might have to go Tasker although I've never gotten it to work properly for anything, and I've never accepted it won't demolish battery polling every few seconds.
Click to expand...
Click to collapse
I use Macrodroid to manage sleep/wake up on mine. Very simple app and easy to understand.
fr4nk1yn said:
Damn. Whatever happened to my tablet it appears to be dead. Won't power on, won't reboot. May be a short lived experiment.
I've ordered hundred of dollars worth of parts for the car so If it doesn't charge by Wednesday i'll have to buy a N7'13 off CL.
Click to expand...
Click to collapse
That's too bad maybe try to plug in to your pc and recognize adb or fastboot or something?
tesna said:
I use Macrodroid to manage sleep/wake up on mine. Very simple app and easy to understand.
Click to expand...
Click to collapse
I going to try it out. I'm quite used to Trigger, I haven't used it in awhile though and not for this type of power control.
tesna said:
That's too bad maybe try to plug in to your pc and recognize adb or fastboot or something?
Click to expand...
Click to collapse
Took it apart after not charging at all. Checked battery voltage, then voltage at the microUSB, tried powering it on, yet again, and it did. I did nothing different, same cable and charger. Wiggling and poking the socket it doesn't appear to have a loose connection.
My new OTG cable is on the proverbial slow boat so I can't eliminate that until early October!
tesna said:
I use Macrodroid to manage sleep/wake up on mine. Very simple app and easy to understand.
Click to expand...
Click to collapse
Care to give your macros for power? It's time to try other methods of forcing the tablet to sleep.
Tasker, as usual, is impossible.
fr4nk1yn said:
Care to give your macros for power? It's time to try other methods of forcing the tablet to sleep.
Tasker, as usual, is impossible.
Click to expand...
Click to collapse
My macro is pretty simple, I just set on charger connect, screen on, run app A,B,C Then another macro on charger disconnect, screen off, close app ABC (killing navigation apps, music, OBD stuff). You can apply also turn on/off airplane mode, turn/off mobile data, wifi AP, etc but I decided to keep them on even when not charging to track the location of my car in case my car got stolen lol. Another macro that I occasionally use is, turning off the tablet when the charger is disconnected (key ACC off). No need another macro since the tablet will auto power on when charger is connected (key ACC on).
Before macrodroid I was using condi, and it was not always working.
@tesna Thanks. While playing with Tasker I found it doesn't actually cause deep sleep, just shuts down radios.
We really need a kernel with some of the newer improvements. And firm sleep.
Since my car isn't a daily driver and only goes out for relatively short trips the tablet will eventually go completely dead.
@fr4nkl1yn, there's simpler solution to that problem. Just set in tasker/macrodroid to turn off the tablet once the ignition key is on the off position (charger disconnected). Bam no battery drain issue...
tesna said:
@fr4nkl1yn, there's simpler solution to that problem. Just set in tasker/macrodroid to turn off the tablet once the ignition key is on the off position (charger disconnected). Bam no battery drain issue...
Click to expand...
Click to collapse
yeah, I'm going to have to do it. close apps and set airplane mode with screen off at power, and a timer to shut down after a few hours. Off_charge_mode will take care of the rest with screen, radios on at power on.
Having an add issue. the tablet is powering the charger, and the key circuit of the car, through the otg cable.
Further research shows its functioning just as it's supposed too. This is also the cause of the issues I was contributing to pem.
When the power is shut off while a otg device is connected, or the tablet thinks is connected, it doesn't sleep and powers the otg device, my charger, from the tablet. At that point it doesn't recognize any change in external power until its physically unplugged and reconnected.
Source, timur: http://mehrvarz.github.io/usb-host-mode-power-management-nexus7/
This leads me to believe pem isn't switching the fixed install trigger, or oxydo-revamp has a bug.

Screen turning on when charged to 100%

I have a QI wireless charger in the car - if I dock my Mi 9 it charges fine, but then when it gets to 100% it turns the screen on.
I think it then stops charging, and then a small amount of battery must be lost, then it charges up again - gets to 100% and then the screen turns on...
And repeat!
So once the phone is at 100% its turning the screen on and off every minute or so, very frustrating when driving.
Is there a way to suppress this anyone can suggest?
Thanks,
Bill.
Nobody?
bungalowbill said:
Nobody?
Click to expand...
Click to collapse
Unfortunately I've no solution for you, but indeed this sounds a frustrating issue! Furthermore, when i have my phone on the following wireless charging stand at night time....
https://www.amazon.co.uk/gp/aw/d/B07KG5HDFX?psc=1&ref=ppx_pop_mob_b_pd_title
...i don't face this issue. As in, I have it charging throughout the night and I haven't noticed it turn on and off when reaching 100% and the repitition you have mentioned.
My only suggestion is to perhaps try another wireless charger, though this may be slightly over kill as perhaps the same thing might happen with that one. Presumably the charger (or phone?!) is stopping charging at 100% then dropping to 99% and resuming charging etc. Which charger do you have out of curiosity?
I don't believe there are any settings currently that can help you. There is a setting in the Developer Options, but the opposite "keep screen on whilst charging". Therefore whilst this setting is not what you need, reporting this feedback to Xiaomi could result in a new setting to "disable screen on when 100% charging complete" could be implemented.
Do you intend on unlocking your bootloader/rooting etc? As you could ask for such a setting to potentially be implemented into the Xiaomi EU rom or other custom modified rom. Alternatively, when (hopefully) we start to get roms like AOSP etc with lots of features. Lastly, perhaps the best option for you would be to use something like Tasker (rule based automated task app, Google it if unfamiliar), if you do intend to root, as I believe you could use a rule such as "when charging = screen off", which may work.
I got that idea from here:
https://www.reddit.com/r/GooglePixel/comments/9wg8k5/is_there_a_way_to_have_the_screen_off_while/
Same issue here, but on wire. Screen turns on, showing the charging animation, then goes off for a while, then turns on again. Frustrating.
Update: I figured out that the phone 'doesn't like' some chargers as I use many. I have an older 5V 1A Huawei charger and the behaves like above, however, with other chargers it works fine. Previous phones work fine with this chargers too.

Screen Unresponsive/Lagging when wireless charging??

So I have this weird issue where the the screen becomes partially unresponsive while wireless charging, like I'll have to tap an icon 3 or 4 time before it registers along with scrolling being really unpredictable. I have a case for it and it's this one. If I take the case off then the issue goes away. I am using the official pixel stand and also some wireless charging car mount I got on amazon. I found this out because I was using the car mount to charge my P5 wirelessly and was trying to use navigation but the screen was really unresponsive, after I noticed it I tried it on my pixel stand and it does the same thing. There was one other guy on the google forums who posted about this issue but no one has presented a solution yet. I just don't understand what wireless charging has to do with the screen being unresponsive and only when I use my case. On top of that the case I have is not very thick at all. My best guess is that the case I have has a thickness that is at the threshold of thickness for wireless charging to work properly so the phone constantly switches from "charging" to "not charging" over and over again and that is somehow lagging the entire phone making it seem like the screen is unresponsive. If anyone else has this issue or if others could test this out with their own P5 (with whatever case and wireless charger you have obviously) and report back that would be great.

Categories

Resources