yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] admuerte:
Hello

I have bought S4 mini a couple months ago. And after some time phone goes off suddenly. It goes off even when the battery is fully charged. I did hard reset, uninstalled all apps i have downloaded, but still phone goes off. And also there are no periods of time when it turns off. It could be after 3 days (from last turn off), or after 1 day, or 1 or 2 weeks. Please help if anyone had same issue or know how to fix it.

Or maybe there is an app which can monitor all work of the phone, and which program or function turns it off?
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] ahmadblu:
I guess battery is dameged and cut the power sometimes
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] justlovejoy:
If you take out the battery and place it on a flat surface and try to spin it... the battery shouldn't do more than your forces velocity in rotations. If it spins like a breakdancer it's time to replace and recycle that battery cause its no good.

Now if it doesn't spin then it most likely is not your battery but maybe your power button. just my input... hope it helps
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] admuerte:
Thanks for a quick respond. The battery seems to be ok.

Will wait for more answers.
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] ahmadblu:
If you can change the battery to take sure it's not dameged

This kind of problems because of battery s
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] fire-it-up:
samsung galaxy s4 mini - 19195

Hi, my phone is the same. 4th battery and no difference. Will swich off completely randomly. No one seems to know what the problem is or how to fix it but after suffering this for 6 months I am certain it is to do with the battery terminals. I have tried to manipulate the terminals with some success but ultimately it eventually switches off again. There is hardly any info or actual cure for this on the net but it is a real problem with these phones. :(
[Galaxy S 4 Q&A, Help & Troubleshooting] Ry2mkk:
Hi all ,

Hope someone has a simple fix that im missing here :cowboy:

My partners phone is the S4, its not rooted and has everything stock ! However more recently shes been sending me texts and im not getting them - we have managed to narrow this down to "long texts" not being sent, the shorter ones come through just fine. Shes using GoSMS as am I as we can easily send pics via the GoSMS app without it becoming an MMS .

Below ive tried

Using Stock SMS app, Clearing Cache/data from GoSMS

Google'd it , however the problem doesnt seem to come up anywhere ( thats useful or appropriate )

Changed settings within GoSMS ( handling of notifcations ect if stock sms is present )

Its driving me insane ! Has anyone come across this issue ? Shes on EE network here in the UK

For anyone who does or can help , thank you in advance !

:good:
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] s.tanbin:
on jb status bar when we close or open it,.it look like it hiding it.. but on evo,mini or hyp rom it hide hold thing...

any body know how to add that jb theam?? :(
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] :
Answer

You can use custom launchers for getting the themes!!
[Motorola Photon Q 4G LTE] b3bluesman:
Is there a RSDLite for any Linux distros?
[Motorola Photon Q 4G LTE] tuxor1337:
No, unfortunately not! A month ago I was asking myself the same question and couldn't find anything on xdadev or on the internet. This is what I ended up with in the end: http://xdaforums.com/showthread.php?t=2581584
[Verizon Samsung Galaxy Note II] imnotamorningguy:
I've been switching around between a few different ROMs lately, trying to find one with a combination of features that I like enough to outweigh the features that it's missing.

So, what ROM are you using right now and what features do you enjoy most about it? What do you miss from previous ROMs that you wish your current ROM had?

The purpose of this question is partially curiosity and partially me asking for help to make up my mind on what ROM would best serve my interests.

I'm currently running CM11 (1/21 nightly). I love all the features of KitKat 4.4, the look, the status bar, Google Now being present on every page, print from phone integration. I miss some TouchWiz features like the Spen functionality/integration and apps (though there are sufficient substitutes), dock audio, swipe to call/text.

So what's your input?
[Verizon Samsung Galaxy Note II] oka1:
from the moderator

These kind of "what is the best rom" thread rarely end well, that is why we disallow them. The Best Rom is the one you like

~~~~~ THREAD CLOSED ~~~~~
[Galaxy S III Themes and Apps] thereassaad:
U can use glamour S4/N3 & the N3 cam u can use it

☞ Reloaded ☜
[Galaxy S III Themes and Apps] balu0000:
Send me link please
[Nexus 5 Q&A, Help & Troubleshooting] madroamer:
hi

i am trying to use cdma in lag nexus 5. i am rooted & flashed dev mode. now device is connected. device manager show it android android devices next to android adb interface.

now when i type adb shell it changes to $

then when type su it chages to #.

but whhen type setprop sys.usb.config diag,adb the command again shows the same command setprop sys.usb.config diag,adb reposted but nexus 5 doesnt show in device manager. i also dont see in com/port any new .

so how do i correct it. i need to connect come to change to spc & misc....
[Moto G Themes and Apps] dubidu:
I doubt anyone would need this, but just in case, here is a simple Xposed module to disable the screenoff when the magnet sensor detects some magnetic field around (e.g: cover)

http://tinyurl.com/qbpjv22/MotoMagnetOff.apk
[Moto G Themes and Apps] mdentener:
http://xdaforums.com/showthread.php?t=2621363

This guy requested the feature so definitely someone will have use of it :).
[Moto G Themes and Apps] miklosbard:
it is useful for those using magnetic car holders

Sent from my phone
[Moto G Themes and Apps] defim:
Download via xposed.info is not possible, "not expected package name" (translated)
[Moto G Themes and Apps] dubidu:
fixed.

Txs ;)
[Moto G Themes and Apps] exciter00000:
This fixes my flip cover issue

My (magnetic) Nexus 5 flip cover shuts down alarms - not anymore. Thanks!

http://xdaforums.com/showthread.php?t=2625524
[Moto G Themes and Apps] titou00075:
I have an issue .it does not always work:confused:
[Moto G Themes and Apps] dubidu:
I don't have a magnetic cover, (I wrote this for someone else) so I don't really use it.

Can you explain a little bit more what do you do when it doesn't work? Anything special?, which device/rom are you using?
[Moto G Themes and Apps] tmmcbots:
Thanks a million! Just received my moto g Niukin magnetic flip case today and was trying to figure this.

---------- Post added at 04:08 PM ---------- Previous post was at 03:50 PM ----------

the way it works for me is if the cover is closed and the screen is off when I open the cover the screen Will turn on, which is perfect. Now when I close The cover the screen will stay on which is the desired effect I was looking for but most importantly when the screen is off and my cover is closed I can hit the power button to see the time, before I would hit the power button with the cover closed and the screen would not come on.

---------- Post added at 04:20 PM ---------- Previous post was at 04:08 PM ----------

[QUOT=titou00075;49990340]I have an issue .it does not always work:confused:[/QUOTE]

The way it works for me is if the cover is closed and the screen is off when I open the cover the screen Will turn on, which is perfect.

Now when I close The cover the screen will stay on which is the desired effect I was looking for but most importantly when the screen is off and my cover is closed I can press the power button to have the screen come on to view the time. before when I cover is closed and I hit the power button the screen would stay off.
[Moto G Themes and Apps] SamsungAdmire:
question; what the heck is a magnet sensor? can anybody explain?
[Moto G Themes and Apps] defim:
A sensor which detects magnets. like in docking stations, flip covers or car docks
[Moto G Themes and Apps] titou00075:
The way it works for me is if the cover is closed and the screen is off when I open the cover the screen Will turn on, which is perfect.

Now when I close The cover the screen will stay on which is the desired effect I was looking for but most importantly when the screen is off and my cover is closed I can press the power button to have the screen come on to view the time. before when I cover is closed and I hit the power button the screen would stay off.[/QUOTE]

it works well but sometimes it seems disable whereas it is not and I have to reboot to have it work again:confused:
[Moto G Themes and Apps] GianniAraujo:
Does anyone know a way to do the opposite to fix the screen not turning off on custom roms
[Moto G Themes and Apps] dubidu:
I've just ordered a flip cover, will see how it work, but this mod should do that.
[Moto G Themes and Apps] Ascona79:
Hi there,

just got my Motorola FlipCase, removed the Magnet (the Strong one, for keeping it closed, not the TriggerMagnet) because I feared for my Display and other Stuff I keep in my pocked.

Anyway, long Story short: Now the Display turns off on closing! :confused:

I'm on CM11 by dhacker29. Before, with the Magnet still in the case, it turned on, but not off.

So this Magnet not only messes up the compass , but also the magnetic-trigger; so it seems.

Sorry for my bad english
[Moto G Themes and Apps] dubidu:
Just got mine.

I wasn't sure if the magnet would be a problem in the long run. Electronic devices and magnets don't like each other too much and this one it is a strong one.

So as other had done before ;) I removed it from the case....

Without the mod, it behaves in the same way as before.

Phone off, closing the lid doesn't do anything.

Open the lid, wakes the phone.

Close the lid, put the phone to sleep.

With the mode activated, the phone will not go to sleep if the lid is closed.

If I open the lid when the phone sleep, it will wakeup.

It kind of works as I designed ;)
[Moto G Themes and Apps] titou00075:
Many issues with note 10.1 2014. :( does not work
[Moto G Themes and Apps] efect:
not working

Doesn't work for my nexus 7 2013 (clean rom/faux). Widget doesn't add to app drawer either. Please help on install.
[Moto G Themes and Apps] dubidu:
What do you mean by "Widget doesn't add to app drawer"?

It is a Xposed mod. You must install the xposed framework to get it working. ;)
[Moto G Themes and Apps] efect:
Yea no icon in app drawer, but I got it to work with xposed. Thanks!!!
[Moto G Themes and Apps] blade_:
[MENTION=298726]dubidu[/MENTION] ,installed,but doesnt seems to work..i forgot to do something?
[Moto G Themes and Apps] dubidu:
Did you install the Xposed framework first?

If so, it should appear in the list of modules.
[Moto G Themes and Apps] neol23:
Does not work on note 2014 edition as well :(. I want so badly to disable screen on/off when I open/close my book cover... Any other suggestions?
[Moto G Themes and Apps] blade_:
of course

but doesnt seems to work
[Moto G Themes and Apps] dubidu:
What do you get in the xposed log?
[Moto G Themes and Apps] dubidu:
There are lots of errors in there, but not by the MagnetOff module.

Try this one:

http://tinyurl.com/qbpjv22/MotoMagnetOff_0.apk

It is the first version I wrote which completly removes the "applyLidSwitchState()" method rather than switch off the "mLidControlsSleep" property
[Moto G Themes and Apps] neol23:
Sorry did not worked as well on samsung galaxy note 2014 edition :(.
[Moto G Themes and Apps] Mazer.one:
It works fine with cm11 by [MENTION=4112553]dhacker29[/MENTION] , now the screen turn off when i close the flip case. You must install and disable the module.

Thanks to dubidu .

Envoyé de mon Moto G en utilisant Tapatalk
[Moto G Themes and Apps] DeJe63:
[MENTION=298726]dubidu[/MENTION], could you make a version which completely disables all automatic wakeup/sleep actions for magetic sensor?
[Moto G Themes and Apps] dubidu:
Try this new version:

http://tinyurl.com/qbpjv22/MotoMagnetOff_16.apk

If it works (which it should) I will update the file in the xposed repository
[Moto G Themes and Apps] DeJe63:
For a first quick try it looks like it is working here. :good:
[Moto G Themes and Apps] matmutant:
Strangely on CM11, to get the auto On/Off screen with Open/Closing the lid i need to install the Xposed Module, enable it and then open it and disable the in-module option (not the module, that once disabled, the On/Off won't work any more :P)

nevertheless, thank you for this module !
[Moto G Themes and Apps] Apollo_316:
Hi dubidu,

First, thank you very much for addressing this need! I think you may be surprised how many people want this feature off but, until you came along, have had no way to do it.

After installing this app on my Moto X Android 4.4 and activating it in Xposed and a reboot it is still not working. Now, that said, I see this is more for the 'smartcovers', which the Moto X doesn't have. It does, however, have the magnet sensor for the drive-mode docks and when a magnet is placed near the lower left half of the back on the phone it triggers a screen-on event that I can't, for the life of me, get to stop doing it. Is the purpose of this app to address any magnet sensor or only the ones near the screen for the smartcovers? Just wanted to provide my feedback in case you are going to work on this Moto X magnet sensor too. Thanks for all your work my friend! Keep it up!
[Moto G Themes and Apps] matmutant:
That was actually right with old cathodic TV and screens that had artifacts when near loud speakers, but, now that we charge devices by magnetic induction, i don't think a little magnet would break anything inside :)
[Moto G Themes and Apps] Buckster0978:
h

Great thread guys it helps me alot
[Moto G Themes and Apps] dubidu:
It is not that little ;)

I believe Motorola has already acknowledge that it can cause problems due be too strong, so better out of reach.

In relation to off and on, (and having to install the mod and disable it to get it working on CM11) it could be because CM11 forgot to set the property which controls the lid ("mLidControlsSleep")

if (new XSharedPreferences(PACKAGE_NAME).getBoolean("magnetoff", false))
{
//	XposedBridge.log("MagnetOff: Sleep disabled");
XposedHelpers.setBooleanField(paramMethodHookParam.thisObject, "mLidControlsSleep",false);
}
else
{
//	XposedBridge.log("MagnetOff: Sleep enabled");
XposedHelpers.setBooleanField(paramMethodHookParam.thisObject, "mLidControlsSleep",true);
}

That's what I do to disable/enable the sleep, if the setting is set to false, it will set "mLidControlsSleep" to "true".

Maybe that property is set to false by default in the CM11 build.

I guess the name is a little misleading, This mod only applies to the Lid (cover/smartcover), it will not change any other magnet.

Haven't look at the code for the X, but maybe the sensor in yours X triggers a dock event.

Will check the code to see if is something obvious.
[Moto G Themes and Apps] matmutant:
So, what about charging by magnetic induction? i believe the magnetic field induced is much more powerful than the embedded magnet isn't it?

(MotoG magnetic sensor detects about 250µT when cover is closed or totally opened [flipped to the back of the device]; and about 100µT when opened, this is right that earth+environment magnetic field detected is about 50µT)

edit : maybe the sensor is saturated and the magnetic field is far more than 250µT, it would be interesting to test with real teslameter, which i don't have ; does anybody have an idea of the intensity of induced field by Qi chargers?
[Moto G Themes and Apps] dubidu:
I'm using a QI wireless charge and believe me, has no magnet at all.

If you have a flip cover you will see how strong the magnet they added for keeping the lid close is (I'm not complaining about the one for the lid sensor).

Still, up to you, I saw no point on having that magnet in. I've read about people complaining about screen issues after several months using magnetic covers with other phones, so, for me it was a no-brainer. Magnet out.
[Moto G Themes and Apps] matmutant:
thanks for answer :)

in fact i've just removed the magnet for one other reason : the magnet was making the compass crasy (and it is obvious)
[Moto G Themes and Apps] Apollo_316:
Thanks Dibidu, that was quite informative! I wish you luck if you do dig into disabling the magnet in the X and I thank you again for your efforts! If I can provide any feedback, testing, code, etc please let me know. I'll assist however I can if you pursue the Moto X further.
[Moto G Themes and Apps] dubidu:
Can you check if there is some "usefull" entries in the logcat when that happens.

Something like "... Activating dream while docked...."

I've a quick look at the code, trying to find where a wakeup is trigger, but only found a couple that could be related to docking/car (which is what I think that magnet is for)
[Moto G Themes and Apps] Apollo_316:
Hows this? I expanded the log of just what the dock functions did.
[Moto G Themes and Apps] dubidu:
Maybe disabling the dock event hacking into the systemReady() and forcing mSystemReady to be false so the wakeUp is never called

---- DockObserver.java ----
....
public void onUEvent(UEventObserver.UEvent paramUEvent)
{
if (Log.isLoggable(TAG, 2))
Slog.v(TAG, "Dock UEVENT: " + paramUEvent.toString());
synchronized (this.mLock)
{
try
{
int i = Integer.parseInt(paramUEvent.get("SWITCH_STATE"));
if (i != this.mDockState)
{
this.mPreviousDockState = this.mDockState;
this.mDockState = i;
if (this.mSystemReady)
{
this.mPowerManager.wakeUp(SystemClock.uptimeMillis());
updateLocked();
}
}
return;
}
catch (NumberFormatException localNumberFormatException)
{
while (true)
Slog.e(TAG, "Could not parse switch state from event " + paramUEvent);
}
}
}
....
[Moto G Themes and Apps] Apollo_316:
I apologize for my confusion but is that a suggestion of something I could look into doing or more of a 'thinking out loud' of something you may attempt? :)
[Moto G Themes and Apps] dubidu:
;)

"thinking out loud"

I may try to write a xposed mod to hack into that, but I'm not sure it will work.

It's hard to develop a mod without a device to test.
[Moto G Themes and Apps] Apollo_316:
I volunteer as your tester. Throw whatever you want at me and I'll test everything you need.

[background] My bootloader is locked, meaning exposed can only enter my system partition and then have a soft reboot done to work. If a full boot is done xposed gets disabled so it makes testing painless. I could adb into the phone and make xposed perminant via fastboot but having it this way has already been a life saver for me. If some update breaks my phone or I have a new module to test (especially while on the go) I just reboot and I'm good to go. No PC required and no bootloader with the 'disable exposed' to hassle with :) I think I tried some module that was designed for JB not KK (yeah, I was a moron) and upon boot with xposed active I had every process the darned thing runs crashing instantly. The OS was unusable. Simple reboot and bam, back to no xposed. I removed the incompatible module and enabled again..sooo useful! [/background]
[Moto G Themes and Apps] dubidu:
Can you give this one a try

http://tinyurl.com/qbpjv22/MotoMagnetOff_test.apk
[Moto G Themes and Apps] Apollo_316:
Tried it out and it's still waking the screen. I don't see the car-dock icon show up in the status bar but otherwise it's acting the same. It is also causing some sort of unlock bug where I have to draw my pattern twice to actually unlock. If I disable the options in MagnetOff the lock bug goes away.
[Moto G Themes and Apps] dubidu:
What does the xposed log show?

There should be an entry from the MagnetOff module if the hook was properly set.
[Moto G Themes and Apps] Apollo_316:
Hopefully this helps. My log and a screenshot of the section that talks about the dock in the log.
[Moto G Themes and Apps] dubidu:
java.lang.NoSuchMethodError: com.android.server.DockObserver#onUEvent()#exact
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:208)
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:155)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:167)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:179)
at com.dubi.xposed.magnetoff.MagnetOff.handleLoadPackage(MagnetOff.java:56)
at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)

Umm.. it couldn't find the method, so it won't do anything at all.
[Moto G Themes and Apps] Apollo_316:
Ah, that's a bummer! Maybe they'll add an option to turn it off at some point lol. Thanks for giving it a shot! :)
[Moto G Themes and Apps] dubidu:
Try one more time with this one:

http://tinyurl.com/qbpjv22/MotoMagnetOff_test2.apk

This one has a settings page to change sleep and wake.

I tried on mine (4.3) and it can hook the method, so it should do something ;)
[Moto G Themes and Apps] Apollo_316:
You, Sir, are a genius!!!! This worked! 4.4 KitKat Moto X. I'm so excited :D
[Moto G Themes and Apps] dubidu:
Glad you are happy.

Xposed is soooooooo nice ;)
[Moto G Themes and Apps] Apollo_316:
Yes it is!! I can't thank you enough! Thank you thank you thank you!! I was having thoughts of opening the phone and yanking (gently) the magnet sensor out lol! Will your changes be added to the official version or will this be the only version for the Moto X sensor?
[Moto G Themes and Apps] dubidu:
;)

Will add it to the "official" version with an option in settings to switch it on/off and upload it to the Xposed repository.

Thanks for the testing. Maybe one day I get an X ;)

EDIT:

Can you try the one in the official repository (1.8)?

Should work fine, but I can't really test that dock thingy 8)
[Moto G Themes and Apps] Apollo_316:
You bet, I'll download it, test and post back in a couple hours. I hope you can get an X, the touchless control and active display are game changers, plus the phone is quite sexy/spunky! Highly recommended!! Got a donate somewhere? I would like to buy you a beer my friend, or contribute towards your X. :)

---------- Post added at 03:28 PM ---------- Previous post was at 02:56 PM ----------

Update: the official one on the repo works great. Also I saw your note about 'may require reboot' so I tested that too. It does indeed need a reboot. Soft reboot works but just toggling the setting does not work by itself. Fantastic work my friebd!
[Moto G Themes and Apps] defim:
[MENTION=298726]dubidu[/MENTION]: I had installed 1.6, but the Xposed Installed did not show an update. Manually updating worked.

Then, in 1.8 app i'm not sure what's the meaning of an option

Wakup Up on Dock / Disable Wakeup when docking

So does this enable wakeup or disable it? (i have no dock to test)
[Moto G Themes and Apps] dubidu:
That settings is to fix Apollo_316's problem. Looks like the Moto X has an extra sensor for docking.

Virtual beer will do it ;)
[Moto G Themes and Apps] peikojose:
If I use this with my Nexus 5, without any cover. Will it save battery or it is negligible? Thanks
[Moto G Themes and Apps] svrds:
Galaxy S4?

I have a galaxy s4 and am trying to disable the magnetic field sensor all together. Will this module do it for me? I installed it and it doesnt seem to be working for me. Any suggestions? I have a Shark-Moto Case for my motorcycle and when i put it in the case the S-View enables blacking out the screen. I tried disabling through settings with no luck and am looking to just disable the sensor all together. Let me know! Thanks! :)
[Moto G Themes and Apps] dubidu:
Nop, there should be no battery saving with this mod. It really doesnt disable the sensors (not sure if that is even possible) it just disable the code that react to those sensors.

A fellow biker!!!! ;)

Can you post the xposed log file, I can check why it doesn't work and review the S4 code to see if there is some way around it.

Or at least try ;)