yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Q&A, Help & Troubleshooting] BeeDrone:
Hello Everyone

Start off by saying I have little to no Android knowledge (rooting, custom ROMs, modding or programs for such things), however I have basic knowledge of linux and the command line.

My S2 GT-i9100 rapidly heats up and its battery is *unimaginably* and randomly depleted by Google Play Services and quickly renders it useless as a device. I want to fix it and not turn it into a brick.

I got the phone from a family member from Europe (I live in Australia), who had used it for about 6 months. When I got it, it was already unlocked and rooted by some phone place over there. I didn't have any problems.

Recently however Google Play Services (size 127 MB) has randomly started doing *something*, this despite no mobile broadband and almost no internet usage from wifi either to invoke it. Considering it is on ICS (no idea how to upgrade, or whether i should upgrade, or what to upgrade to) it has to be either a bug or a virus considering all those Android exploits in the news recently.

To fix it whenever it occurs, I clear the RAM twice then go into the list of Applications and Force Stop Google Play Services (more than once if the button isn't greyed out).

I tried to disable the components of Google Play Services(listed below) but the problem continued AND it erased the names of my contacts meaning I was left with a bunch of numbers with no name.

Google Bookmarks Sync

Google Play services

Google Services Framework

Google Account Manager

Network Location

Google Contacts Sync

Some details:

Wi-Fi use only (and nonexistent nowadays), no mobile broadband

GT-i9100 running Android 4.0.3 (ICS)

ROM, unknown if original / custom, has a T-Mobile animation screen on bootup and shutdown

It also has a yellow triangle at the bottom when I turn it on (don't care about cosmetics)

Rooted with CWW (no idea about how that works or what it means) and SuperSU (i do know how root user works in linux)

Root Browser + Terminal Emulator installed (my doing)

Google Authenticator + Microsoft Account Authenticator (i don't wanna screw up anything with these, got codes for google authenticator, need to research microsoft)

Call history and text messages (I would like to keep these and would like to know how to backup the phone first of all)

So I'm looking to figure out what would be the best course of action to fix this without screwing up anything. I know the standard solution would be a factory reset but I don't have any backups (also don't know how to), don't want to brick the phone and don't know what it would actually do, and even if it worked, how to root the phone again.

Any help would be greatly appreciated.
[Galaxy S II Q&A, Help & Troubleshooting] Saftpresse99:
Hi,

i had the same massive battery draining. Problem was Google Fit App. After uninstalling the app the battery draining is gone. I think this app prevented the google services to fall in "doze" mode. Perhaps you have a similar app!?
[General Questions and Answers] casuals-boys-ultras:
Hi everybody,

I owned Xperia Z2 (D6503) and I'm rolling under 23.0.1.A.0.167 firmware.

My question is how can I flash the last pre-rooted firmware using TWRP from my actualy firmware version, and is it possible without using the previous versions?

Thanks guys.
[General Questions and Answers] casuals-boys-ultras:
Nobody can reply?. :(
[Galaxy Note 3 Neo Q&A, Help & Troubleshooting] Keith Empeynado:
Dltd
[LeEco Le Max 2 Questions & Answers] jlou0918:
I've enabled the navkey, but the capacitive buttons are still working, i have tried editing the key layout settings but its still there.. Also tried gravity box but no luck.. Any help? Thanks
[LeEco Le Max 2 Questions & Answers] kanagawaben:
Use gravity box to disable backlight (under display section). Then use a file manager and editor with root access (I used ES File Explorer) and open the file synaptics_dsx.kl (it is located under system>user>keylayout) and then edit it by adding a # in front of the key entries. Save, reboot and your hardware keys should be off :)
[LeEco Le Max 2 Questions & Answers] jlou0918:
Thanks mate, i have disabled the light though editing synaptics didnt work, but i figured it out by editing atmel_mxt_T100_touchscreen.kl, :)
[LeEco Le Max 2 Questions & Answers] jlou0918:
Now, my problem is switching the back button and recent.. :confused:
[LeEco Le Max 2 Questions & Answers] kanagawaben:
Why do you want to do that?

---------- Post added at 09:23 AM ---------- Previous post was at 09:19 AM ----------

I have enabled the soft keys via buildprop, disabled the hardware keys in the synaptic file, disabled the backlight and added double tap home key to sleep and long press home key for menu using gravity box. Looking good with the Pixel launcher, although unfortunately don't get the transparent white dock background.
[LeEco Le Max 2 Questions & Answers] kanagawaben:
Screenshot:
[LeEco Le Max 2 Questions & Answers] vs98108@gmail.com:
hii can you tell me how u activated navigation bar i have tried several ways including cm13 and gravity box

how did you do it

thanks
[LeEco Le Max 2 Questions & Answers] kanagawaben:
You can do it manually if you have root, just need to change a value from 1 to 0 in the buildprop file (it's easy to find the relevant line as it has a description). However, I just use a free root app called Softkey Enabler from the Play Store. This makes it very quick to enable or disable the nav bar.

I leave the hardware keys on (because their long press functions are useful) but in accessibility settings I switch their layout around to match the nav bar. I use another root app called Keyboard Backlight Controller to disable their backlight.
[LeEco Le Max 2 Questions & Answers] vs98108@gmail.com:
Which rom are u on?

I tried soft key enabler on official 16s and 19s it didn't work

I am on cm13 umbrella and it's really good

Far better fingerprint recognition

Better battery life I lost 3% over night

and finally i tried ur buildprop thing for soft keys it worked thanks for that BTW

Did u get to make the Navbar transparent by any chance

I have used the settings in cm13 to turnoff the backlit of capacitive buttons but there still functional can explain how u disable them or use them as u do for long press

Cheers for the help
[LeEco Le Max 2 Questions & Answers] kanagawaben:
I am currently using 17S based Cuoco92. Fingerprint recognition has been just fine for me on Cuoco92, and on stock 16S, 17S and 19S - fast and accurate. The nav bar I have is transparent, just like in stock android. To disable the hard keys, go into system-usr-keylayout and edit the synaptics file (just add a # in front of the lines relating to the keys).
[LeEco Le Max 2 Questions & Answers] vs98108@gmail.com:
Thanks for the info really appreciate it

I have found a small thing do u have any fix for it?

The notification panel doesn't fully open due to the nav keys

Some other elements get blocked as well

Any solution?
[LeEco Le Max 2 Questions & Answers] kanagawaben:
No, don't think there's anything you can do about that I'm afraid. I have actually gone back to just using the hard keys as they come. The soft nav keys are nice, but bit of a waste of screen space when you have perfectly good hard keys there to use.
[LeEco Le Max 2 Questions & Answers] vs98108@gmail.com:
Yea your right about that but the screen is big so having on screen buttons help in using the phone with one hand

I am surprised how the hardware buttons completely disappears when not back lit better then even OnePlus one

I have put a request in the feedback app for a feature like OnePlus one for choice between on screen and off screen
[LeEco Le Max 2 Questions & Answers] kanagawaben:
I would love them to add that feature. It was one of the best things about CM13 on my Zenfone 2.

Currently I am using the stock eui launcher (it's so smooth and light, and I don't really need an app drawer because I don't download so many apps) and the soft keys don't go so well with that launcher, but I also have the Pixel launcher installed, and I really like using the soft keys with that.
[LG G5 Questions & Answers] molbor:
I get at best just below 3% screen off batterydrain. Tried diffrent roms etc. Nothing really makes any big diffrence. This night I did a test. Was on airplanemode and wifi on(I think, forgot). Just to test if the drain hade anything to do with my signal. But it was the same as always, like 3%drain/hour.

Posting some screenshots, got a bugreport from batteryhistorian.

I hope some smartass can help me figure out or at least help my look if somethings seems odd.

It's driving me insane this drain.

From what I understand it's not some app. Phone Inactive has most %(79)

Let me know if something seems strange.

Or tips what I should do. Theres no problem wiping everything start from scratch.
[LG G5 Questions & Answers] DeProf:
Strange, have you ever tried this before? http://xdaforums.com/android/general/guide-extreme-battery-life-t3095884

Greenify, Amplify and disable services http://xdaforums.com/htc-one/themes-apps/app-disable-service-t3015762/page5 is the first thing I usually do after that let me know if your battery life is still that bad. :)
[LG G5 Questions & Answers] molbor:
Gonna check out your 2nd link. But Im running greenify and amplify, power nap doesn't seem to work on genisys. Tried it before on stock or maybe it was fluence hd, the phone didn't work that well so I skipped it. And running appopsxposed.

Seems like I got 3%-3.5% no matter what I try.
[LG G5 Questions & Answers] Bastienhere:
Could be the weak signal, or the use of 4G.

Sometimes I get like 20% drain overnight for no reason, I concluded that it could be the weak signal. I switch my network to EDGE/CDMA. I only switch to LTE/4G when I use data. Seemed to fix the problem ;)
[LG G5 Questions & Answers] molbor:
Yeah I've been thinking that to. Got like 2-3 bars both home and at work. So last night I did a test. Wiped everything and flashed v10e and fluence 24 hd patch. Installed nothing extra except Ex kernel manager(just becuse I like the batterymonitor) Charged up to 100% and put the phone in airplanemode. And the result is the same as always.

So it cant be some app, and not the signal. So what is it? Earlier test shows that its dozing and deepsleeping etc. Really annoying!!
[LG G5 Questions & Answers] Nimueh:
Just install BBS first to track down what is causing it. Mine uses maybe 1-2% at night in airplanemode, so I don't think your drain is normal ;)
[LG G5 Questions & Answers] molbor:
Been trying everything. Running greenify and powernap now. Powernap doesnt show any statistics and greenify doesnt shiw any doze notification. But looking at batteryscreen looks really promising!
[LG G5 Questions & Answers] molbor:
False alarm. 3.7%/h this night.
[LG G5 Questions & Answers] molbor:
Update. Yesterday I finally something happened. For some hours I was having only like 1% drain/h or less. I'm on genisys rom now, running forcedoze for the aggresive doze and disabling sensors while screenoff, also for turning off data and wifi while screenoff. But the thing I think finally made some difference is ex kernel manager, just turned on batterysavemode to clock down the processor. Feels much cooler the phone both in the pocket and while using it. I'm new to the kernel tweaks-thing. Anyone got some tips or thoughts?

Downloaded kernel audiotor today becuse the drain was back today. Will se if it makes any difference.

Attached a screenshot. Feeling some hope that something finally made som diffrence from that horrible 3%drain/hour. Got something going on.

Please share your thoughts u guys who got the knowledge. Peace
[Honor 5C Questions & Answers] LINJEinc:
Hi wveryone. Any one that can help me find the stock rom for my NEM-L21 C432B100 ?

Tried google, but my google skills don't look good today.
[Honor 5C Questions & Answers] DRUGER:
let me see...wait

---------- Post added at 08:07 AM ---------- Previous post was at 07:52 AM ----------

Sorry, but there is no information on this model yet

Why you need STOCK ROM?
[Honor 5C Questions & Answers] LINJEinc:
Thanks for trying, have to wait then and see what time will tell :)

Good to have, as i don't know much about this phone and if i can flash any other rom.

Haven't had an android for a few years now so.
[Honor 5C Questions & Answers] DRUGER:
I will try to find your model on the server in the evening!

Also I recommend to you to replace a location and to transfer to the NEM-L51 Europe model

see here
[Honor 5C Questions & Answers] LINJEinc:
Thanks. I will take a look at that and see what i can do.

Have to wate to later this week, as i see i need to unlock the bootloader to be able to install TWRP.
[Honor 5C Questions & Answers] PalakMi:
I looked, nothing yet.

I'll let you know once available
[Honor 5C Questions & Answers] aempls:
Hi,

Is there a stock rom available for that version/build: NEM-L21 C432B100 ? I am new to Android phones and the 1 week old Honor 7 LITE I obtained new has a problem which I think is probably some software corruption.
[Honor 5C Questions & Answers] muradulislam:
Just search XDA with the keywords, Huawei firmwares finder by team MT and you will find a software to help you in this regard.
[Honor 5C Questions & Answers] vsriram92:
EMUI firmware for NEM-L21 was not released.

Since you have got it before a week, try to replace the mobile (or) get it done from the nearest service center.
[Honor 5C Questions & Answers] zzhunt:
http://www.hihonor.com/bg/support/details/index.html?DOC_ID=91914

http://www.hihonor.com/in/support/details/?DOC_ID=91134
[Honor 5C Questions & Answers] hassanjavaid8181:
You can try firmware finder
[G4 Q&A, Help & Troubleshooting] TheRebel:
Hello everyone,

I purchased this phone (new) few days back, and after using it for a day, i have observed that this phone has overall reddish or pinkish tint on the display. Is this normal?

I have searched a lot about this issue, and what i found, people have talked about two types of displays, one with yellowish/warm colors and other with blueish colors.

My phone doesnt have yellowish tint, but it has reddish tint overall, which is more prominent in low brightness and also when comparing displays with my nexus 4. Is this normal with every lg g4, that this phone has more reddish color than bluish (on cooler displays).

Thanks
[G4 Q&A, Help & Troubleshooting] predek:
No, it's not normal, it's a known issue. The only way to fix it is to replace screen. Or just live with it.

I have same problem, after having other problems before with charging cable, and decided to change device.
[G4 Q&A, Help & Troubleshooting] TheRebel:
Thank you for thr reply. Yeah it seems, its an issue with my phone's display. Unfortunately, it is not even in warranty. So i cant get display replaced free of cost. I think i will have to live with it now, thought it doesnt seem good at all. The pinkish or reddish tint looks ugly esp after using some other phone (with better display)

Anyway, did u find some work around for it? Seems only few people r facing this issue, coz i could not find many posts about this issue on google. Found some, but not many.
[G4 Q&A, Help & Troubleshooting] predek:
Unfortunatly there is no software fix except from replace the panel (it's an hardware problem).

Someone says it is more visible with dark color (so you can use bright screensaver just to hide a little the problem) but nothing a part from replacement will give you a real fix.
[G4 Q&A, Help & Troubleshooting] Xdekker:
Look at the guide I provided in the general section. It should make a big difference. LG doesn't calibrate their displays so doing some calibration makes a lot of difference.
[G4 Q&A, Help & Troubleshooting] TheRebel:
Alright. I think i ll have to live with it now. Its an awesome phone apart from the bad display (whcih i got). Hope my eyes start ignoring it :P.

And also i havent seen many people complaining about this issue. Seems only few handsets have this reddish/pinkish tint issue.
[G4 Q&A, Help & Troubleshooting] TheRebel:
Btw, did u try the app "screen adjuster free". I have installed it and increased the values for green and blue by 8 and 10 respectively. But i m just testing it, i may chnage the values later. But this app seems to making things better. I know it just adds a layer to display, but at least one can get rid of that reddish tint.
[G4 Q&A, Help & Troubleshooting] TheRebel:
Can u please provide the link? :)
[G4 Q&A, Help & Troubleshooting] Xdekker:
http://xdaforums.com/g4/general/fix-yellow-green-red-white-balance-fix-t3468689/page1
[G4 Q&A, Help & Troubleshooting] TheRebel:
Thank u very much. I have installed this app, and also paid for thr donate version. And so far this app has done a great job. It has removed the reddish tint from my display.

But i have one concern about this app, wont it have effect on battery and performance? Wont it slow down a phone bit?
[G4 Q&A, Help & Troubleshooting] Xdekker:
Nope it has absolutely zero impact on battery.

Please share/thanks so more people know about this fix! Also if you want please post your config in the post to let people know what's the correct calibration for reddish tint.

Ty and I hope it helped
[G4 Q&A, Help & Troubleshooting] TheRebel:
Sure. Let me share my settings. Tho I still havent found the best setrings for red tint, i m trying different ones. But the one i m using for the time being is (see screenshot below)

And one more thing, have u cjanged the RGB srttings in app also?

And let me also share these settings in ur thread.

Thanks for the help
[ZTE Axon 7 Questions & Answers] Guido83:
It seems that freezing the google app () leads to bootloop so I would like to defrost the app.

Is there any way to do it from twrp?

In earlier android versions it was easy:

edit "/data/system/packages.xml" and set enabled="true" for the desired app. but the enabled flag is not existing anymore in the packages.xml

EDIT:

Found the solution myself.

/data/system/users/0/packages-restrictions.xml

this file has the enabled flag... set it from value 3 to 1 and the phone boots just fine again.

So be aware of freezing the google app!
[ZTE Axon 7 Questions & Answers] k2thec:
if you were here and I had one I'd hand you a beer, seriously I love you
[ZTE Axon 7 Questions & Answers] sfairmm:
Hi [MENTION=4083739]Guido83[/MENTION],

Very very thanks!! Works fine for me.

I use in Mi Max 2 with Miui 10 and Android 7.1.

Thanks brother!!!
[Windows Mobile Development and Hacking General] kenny_2008:
so.. where can i get an iPhone theme with EXACTLY all the same icons as the real iPhone has on the home screen?? plz help.. and thanks!!
[Windows Mobile Development and Hacking General] extraducksauce:
dude. are you serious? hit the search button pal.
[Windows Mobile Development and Hacking General] T3D0nG:
oppps. wrong post.
[Verizon Note 7  Questions & Answers] emsrider:
Anyone know how to get OTG to work on non rooted phone?
[Verizon Note 7  Questions & Answers] bsweetness:
Use the USB adapter that's in the box or purchase a third party option. I use the adapter that came with the phone, but I also have this one and it works great. No root is required for either.
[Verizon Note 7  Questions & Answers] emsrider:
Thanks
[Android Software Development] silverrum:
Nice work mate, will give it a try.
[Android Software Development] jfmessier:
I really like this animated wallpaper app.
[Android Software Development] Ticklefish:
Thanks for the detailed tutorial, it's always nice to see actually what the code does. :highfive:

In theory, would it be possible to take smali from the app you create and use it to create this effect on the notification screen (for example)?
[Android Software Development] slnit:
Seeing the code I’m sure this app drain a lot of battery but it's very nice.
[Android Software Development] sylsau:
Thanks.

Did you mean put the effect on the lock screen ? I thought it was not possible now to put live wallpaper on lock screen. If it's possible it could be great.
[Android Software Development] sylsau:
For sure :). But life is a choice, like in Matrix films, cool effect on your screen or save your battery lol
[Android Software Development] Septfox:
Should be possible to pull the AOSP lockscreen source (or the source from OEM variants that are actually available...) and replace the wallpaper code, right?
[Android Software Development] thereassaad:
Interesting , definitely going to try it on Samsung TW later , great idea mate ..
[Android Software Development] SaschaHa:
Thanks for this tutorial :) With this I've started learning to work with canvas :D Nice job!
[Android Software Development] rejm0901:
Me too. hope it works :D
[Android Software Development] ramtin8731:
Excellent work.
[Android Software Development] thereassaad:
It works mate ?
[Android Software Development] esQmo:
Hello! nice tutorial, everything works fine. But I would like to add buttons to change the colors of chars but i'm not able to call the method from the main activity.

I've tried this but giving errors

MatrixEffect matrixEffect = new MatrixEffect(); // this gives an error : MatrixEffect(Context, AttributSet) in MatrixEffect cannot be applied to ()
final Paint paintTxt = effetMatrix.peindreTxt;
paintTxt.setColor(Color.BLUE);

Is there a way that I can call paintTxt.setColor() to change color?

PS: Im just a noob on programming
[Android Software Development] sylsau:
If you want to add buttons to change the color of the Matrix Effect, you should work on the layout and add two buttons at the bottom of the screen under the MatrixView. The, you have to change the colors of the Matrix Effect when a user click on one of these buttons.
[Android Software Development] esQmo:
SOLVED!

---------- Post added at 11:13 PM ---------- Previous post was at 11:05 PM ----------

Already solved. I added 4 buttons for 4 colors and i used switch statement

1st, created a custom text color inside MAtrixEffect

public void setCustomTextColor(int color){
peindreTxt.setColor(color);
invalidate();

then, in mainactivity :

public class MainActivity extends AppCompatActivity implements View.OnClickListener {
MatrixEffect matrixEffect;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

matrixEffect = (MatrixEffect) findViewById(R.id.arrPlan);
final Button boutton_blanc = (Button) findViewById(R.id.b_bl);
final Button boutton_bleu = (Button) findViewById(R.id.b_b);
final Button boutton_rouge = (Button) findViewById(R.id.b_r);
final Button boutton_rose = (Button) findViewById(R.id.b_ro);

if (boutton_bleu != null) {
boutton_bleu.setOnClickListener(this);
}
if (boutton_blanc != null) {
boutton_blanc.setOnClickListener(this);
}
if (boutton_rouge != null) {
boutton_rouge.setOnClickListener(this);
}
if (boutton_rose != null) {
boutton_rose.setOnClickListener(this);
}

}

@Override
public void onClick(View v) {
switch(v.getId()){
case R.id.b_bl:
matrixEffect.setCustomTextColor(Color.WHITE);
break;
case R.id.b_b:
matrixEffect.setCustomTextColor(Color.BLUE);
break;
case R.id.b_ro:
matrixEffectsetCustomTextColor(Color.MAGENTA);
break;
case R.id.b_r:
matrixEffect.setCustomTextColor(Color.RED);
break;
case R.id.b_def:
matrixEffect.setCustomTextColor(Color.GREEN);
break;
}

}

}

Now it works fine and i can change color while a button is pressed
[Android Software Development] sylsau:
Great :)
[Android Software Development] SICKMADE:
This is just the kind of guide that I have been waiting for! I am gonna implement this as a hidden feature in my Rom Control apk. Good lookin on the guide brother
[Android Software Development] sylsau:
Happy it helps you :)
[Android Software Development] sylsau:
Hello,

I made a new tutorial that could interest you. It learns you how to create a basic Audio Recorder for Android.

This tutorial is available on XDA Developers Forum too : http://xdaforums.com/android/software/tutorial-learn-to-create-audio-recorder-t3480888

You can also watch directly this tutorial on Youtube :

Part 1

[YOUTUBE]ZM_jAnx57Nk[/YOUTUBE]

Part 2

[YOUTUBE]lWaypoRVfSc[/YOUTUBE]

Don't hesitate to look at this new tutorial.

Thanks.

Sylvain
[Android Software Development] ncdude:
Nice work! Why not in GitHub?