yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] Tyaginator:
batterystats.bin don't do anything with battery percentage, deleting it won't affect anything at all. It only contains which apps are consuming how much percentage of battery and it resets everytime u plug in your charger and your battery might be getting old.
[General Questions and Answers] adityamhatre:
I know that ...but I had to do something. ..If you know any other ways please suggest me...

I have already tried the following. ..

1. Clearing cache partition

2. Fully discharging it withough disturbing and then letting it charge fully... (only goes till 92)

3. Can't remove battery. ....non removable battery

4. Deleting batterystats.bin file and using battery calibration apps.

5. Kept it overnight for charging

Here's the latest graph of charging process with 2a charger ...

charger and cord both came with the box

I didn't disturb it while charging...Idk why charging process is so uneven...

tried charging other cells like s3, xperia u with it...They charge normally

please help
[General Questions and Answers] Tyaginator:
Can u clean flash your rom
[General Questions and Answers] adityamhatre:
How do I do that ?

Flash a stock rom ?
[General Questions and Answers] v7:
Flash Stock or a Custom ROM.Wipe System,Data,Cache and Dalvik before flashing.

Tapped from my furious dogo ;)
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] sedrostyle:
hi everyone Im in super need of help to unroot or put a stock sprint rom back on my phone to APPEAR stock

so i can trade it in for a new phone. i recently broke my old phone and this replacement they sent me has never worked correctly always got hot and the digi works very weird now.

dunno, tired of it and trading it in im done with it.

Friend of mine works for sprint and they told me just to make it appear stock rom. and they could do it

but i've searched and searched, neer figured it out how to do it.

NEED HELP perferable a semi walk thru. At this point I am super frusted and need help. its been 80 in the house all day :/

thanks in advance.

steven
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] bilgerryan:
Do you have access to a PC? If so, do a factory data reset and wipe of the internal SD and Odin a stock ROM (preferably the software version you are on or newer). After that all your information is gone and it's completely stock.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] sedrostyle:
So they are asking I put a stock recovery on? Is that possible?
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] bilgerryan:
Odin puts stock recovery back
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] sedrostyle:
Ok. I downloaded the tar file from qbking unroot. Fornsprint. And it hangs up in Odin. Says something aboot.

Error

Tried another tar stock ROM tar file. Same thing :(
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] bilgerryan:
Use the OD2 one in Android Development. It won't let you use an older firmware than you already have.
[X 2014 Q&A, Help & Troubleshooting] muredwolf:
I had xposed installed and then the OTA notification came so I wanted to get rid of xposed. I just did a full reset pretty much and downloaded 5.0 22.46-11 from Motorola's website and flashed it. I noticed, however, that they incremented the release key or something from

to

My OTA went away and I cannot sideload any OTA update files because the release keys don't match. Will I still receive the OTA eventually or do I need to try and find an old 22.46-11 image?
[X 2014 Q&A, Help & Troubleshooting] bimasakti85:
If you use the image from Motorola, you won't get OTA. Reflash using graffixNYC 5.0 image,you should get OTA update.
[XDA Assist] prinzkie123:
So I recently flash the dn4 v2.2 lte on my GT-N7105 and it's working perfectly.BUt I cant turn on the wifi..can you guys plz help me?;););)
[XDA Assist] Razvan:
Duplicate

http://xdaforums.com/general/xda-assist/unfortunately-ui-stoppedon-dn4-rom-t3145179
[G 2014 Android Development] IvsomEmidio:
PAC-man ROM is a ROM built with our own tweaks and options, including picks and features from the best ROMs out there!

Why choose among ROMs, when you have All-in-One !!

* By flashing this, you automatically void your warranty!

* If your phone breaks, blows up or runs away from you, do not cry to us!

* Do not ask for ETAs!!

Download ROM And Issues fix

Put in recovery mode

Wipe data/system/dalvik/cache

Flash ROM

Reboot

Go to recovery again

Flash fix issues.zip

And reboot :)

ROMWipes and Flash And reboot

Fix Issues (Mandatory) After reboot go to recovery And flash this

Bugs

Fc In First Boots

Camera Freezes? (Download Kernel Auditor Go to KSM , And Disable KSM)

Credits

PacMan Team

Dev Of PinkMan Kernel

[MENTION=5968361]IvsomEmidio[/MENTION]

Send your Thank :)
[G 2014 Android Development] Vidhanth:
Thanks! Just wanted a rom like this!
[G 2014 Android Development] Gerriitw:
Can you, or someone tell us how the multitasking is working?
[G 2014 Android Development] Vidhanth:
First off, to my surprise, the "stable" rom greeted me with continuous dialer and setting fcs. Then I flashed the issue fix and the FCs were still present. So I somehow managed to skip the startup wizard and then trebuchet fcs. Continuously. So I opened a up the notification panel and entered settings.

In pac settings, pac console fc. Then I cleared data of trebuchet to get it working. Couldn't test multitasking as I changed the rom xD
[G 2014 Android Development] wifestealer:
lol thanks for saving time :D
[G 2014 Android Development] IvsomEmidio:
Wipe Data/system/dalvik/cache !!
[G 2014 Android Development] Vidhanth:
I always do that
[G 2014 Android Development] dukeyogesh:
I can second the issues faced by vidhanth...
[G 2014 Android Development] IvsomEmidio:
I switched to pre Stable

the rom will give to use in everyday life

The bugs are simple
[G 2014 Android Development] vaporwavie:
It's great to see some "new" KitKat ROMs ported to our device. Thanks Ivsom! Hope u can solve those bugs and make this port more stable!
[G 2014 Android Development] IvsomEmidio:
Thank you I will work more on Pac Man Rom, Please Me report any error found via message
[G 2014 Android Development] Jėttø:
Installed this ROM four hours ago. Here's my review:

• Smooth like a dream.

• Fast as a Bugatti Veyron.

• Incredible battery life (better than any Lollipop [5.1] ROM I've tried).

• Features perfectly ported.

Only thing (literally) bugging me is the Dual-SIM thing. If using only one SIM, it does still show the second SIM info (No SIM Card) on both lock screen and notifications drawer. Attempted fixing it via two Xposed modules (HideMissingSIM and Remove Moto G Second SIM Info), but none worked. HideMissingSIM had absolutely no effect, while Remove Moto G Second SIM Info only removed the lock screen label.

Anyways, thanks A LOT for this beautiful ROM, and please, keep up the good work!
[G 2014 Android Development] Miiick3y:
Rom is not booting, i'm stuck on "Insert Coin, Game Over"
[G 2014 Android Development] gabriellajeado:
You did something wrong.

Dont forget to wipe dalvik,cache,data and system.
[G 2014 Android Development] IvsomEmidio:
Thanks Minha Vadea <3

Wipe data/system/cache/dalvik

Flash Rom

Reboot

Go to recovery

Flash Fix issues

Reboot

Nice :)
[G 2014 Android Development] peer mohd:
Bro what about the N5XPA Based on AOSPA With Features ! [Stable] Rom -----FIXES..? (Sensor not working)..you left the thread just like that:confused:...no update for the fix past 2 weeks...sorry to bother you bro..just asked:rolleyes:
[G 2014 Android Development] IvsomEmidio:
Ok , Thanks for comment

Soon I will analyze and create a fix for the ROM N5XPA Sensor ;)
[G 2014 Android Development] :
Hi, I like this ROM. Nice set of features. Some issues / questions

1. Deep sleeps and does not come out. Have to reboot. Is there any log which might help?

2. SystemUI hangs repeatedly, but not often, generally observed after a screenshot. Again, a reboot is required.

3. Is there another kernel that I can use? I'm not a fan of the Pinkman kernel since it has been out of development lately. I am looking around, but I would love a suggestion.

4. Active display does not work.

5. Do you plan to further maintain this project? Just asking, not for an ETA though.

6. Please put up instructions about flashing the GApps in the OP.

7. Does not seem to reboot through the power menu, gets stuck on the rebooting screen.

8. Flashlight does not work either.

If I can provide you with any logs which might help, let me know.

Thanks!

[MENTION=5968361]IvsomEmidio[/MENTION]
[G 2014 Android Development] Purple_Dust:
I fixed the n5xpa ROM sensor problem,I posted a link in the thread
[G4 Q&A, Help & Troubleshooting] StoneRyno:
Call me odd but i don't want a background on my homescreen or lock screen. I simply want it plain black. But I see no option to simply pick no background which with every other smartphone I ever owned or messed around with resulted in a plain black background. How do I set no background? Thanks
[G4 Q&A, Help & Troubleshooting] soulysephiroth:
Just find a black image and use that.
[G4 Q&A, Help & Troubleshooting] ghostbustaj:
go on google find a black background and set it as the wallpaper?

Take a picture on your phone in a dark room with your camera facing down on a desk and set it as the wallpaper?
[G4 Q&A, Help & Troubleshooting] StoneRyno:
I had thought of doing that. But I thought the idea of the no background was so that the background wasn't consuming resources. Every time I exit an app it has to load the background like android decided to turn it off while in the app. So even though the background image would be all black it's still going to have to go through that processing. I am not sure of the impact of that. I know with older devices having no background was recommended because it consumed resources. I don't know why there is a no background setting, it seems kind of stupid that it was left out.
[General Questions and Answers] Doubleyou:
Is there anyway I can get doubletap wake up feature on the stock rom, as I have tried most of the roms are RAM eaters I don't want to go for custom ROMS. Is there any kernel available for Moto g 2nd gen which can flash on stock rom to get this feature
[General Questions and Answers] DastanShaikh:
There is app called experience.. Use it if ur Kernel supports then it works perfectly...
[General Questions and Answers] Doubleyou:
Thanks a lot for the response. I am unable to find the experience app through the google, could you please provide me the link to download the apk.
[General Questions and Answers] DastanShaikh:
It's a paid app...

Though u can try this app-

https://play.google.com/store/apps/details?id=aperture.ezekeel.experiencetest

It test whether your device is compatible with it or not..

If it support u can use the original one
[General Questions and Answers] Doubleyou:
Thank you, I will check it today
[General Questions and Answers] DastanShaikh:
No need to say it just press the Thanks button ;)
[T-Mobile LG G3] Pu$$nBooT$:
its been weeks since D85120E was released and i got the Error: ER081 "Unable to Connect" again for wifi calling today. tried rebooting phone w/o any luck.

does hoppin wifi channels have any effect ? i have a nvg589 verse router
[T-Mobile LG G3] Ozone510:
People have been saying that reaccepting the terms of service messages for the G3 will fix it. Some are saying that they had to reset to reaccept the terms of service to make the issue go away. I haven't figured how to reaccept so I may have to reset. Hopefully it goes better for you.
[General Questions and Answers] fergiu:
Hi,

I have a problem: I had use a SONY procedure to unlock (rooting) my SONY XPERA E2115. After this I lost my personal data and I need to dump physical memory without other problems.

Somebody can tell me how can I have to do ?

Thanks
[Miscellaneous Android Development] haoyangw:
Most of you would have experienced or heard of the constant 'Google Play Services has stopped' messages problem, and here I present a fix! Just follow the guide below to compile your own fixed libjavacore.so which you just copy to /system/lib(overwriting the existing one) and you should see the problem is solved :) The fix from Google: libjavacore.so fix. EDIT: Unfortunately the fix causes build errors on newer Android source code, so a modified version of the commit is used now: thanks [MENTION=1978554]zephiK[/MENTION]

NOTE: If you are using a PURE AOSP ROM, and your ROM build date is later than Mon Mar 23 2015, then you likely DO NOT need this fix

NOTE: This guide assumes that you already have a build environment setup for your device in question(and that you already finished a repo sync), and that you have basic knowledge about how to use a Linux Terminal. There are many guides on the internet on this topic so I'll leave it out.

Steps: First open a new Terminal session on your Linux/Cygwin machine

RECOMMENDED BUT OPTIONAL: Do a 'repo sync'(you can just do it on the libcore repo) and a 'make clean'

repo sync -j4

make clean

1. Go to the 'libcore' directory in the root of your android source tree

cd libcore

2. Add a new remote with whatever name you want(in this guide I will call the new remote fix)

git remote add [COLOR="red"]fix[/COLOR] https://android.googlesource.com/platform/libcore

git remote add [COLOR="red"]fix[/COLOR] https://github.com/zephiK/android_libcore.git

3. Now do a git fetch on 'fix'(or whatever name you called the new remote)

git fetch [COLOR="red"]fix[/COLOR]

4. Now time for a cherry-pick!

git cherry-pick 08d97aee56db51f718544562f5b74671be34dfaf

git cherry-pick 4fd69cb3de4e52b5b6d78ac61237f914853de151

OPTIONAL: Remove the new remote(Replace fix with whatever name you called it)

git remote remove [COLOR="red"]fix[/COLOR]

5. Now the fix has been imported into libcore, which will be compiled into a fixed libjavacore.so! :)

cd ..
source build/envsetup.sh
make -j4 libjavacore

6. Just wait for a while(probably about 30 mins on an average computer), and then goto your out directory. Proceed to 'target/product/<device name>/system/lib', and you should find a newly compiled libjavacore.so

cd $OUT/target/product/<device name/system/lib>

7. Now just upload it to your device, and copy it to /system/lib with 0644 permissions(in other words, -rw-r-r). Optional: backup the original /system/lib/libjavacore.so in case something goes wrong or this fix doesn't work :(

chmod 0644 /system/lib/libjavacore.so

You are now done! :) Feel free to share the lib to help others solve their problems, and enjoy lollipop :)

Credits

temasek(for sharing about this fix)

arter97_dev on Twitter(for a fixed libjavacore.so for his device)

Google(for original fix)

zephiK(for his fix)

XDA(for this awesome forum :))
[Miscellaneous Android Development] haoyangw:
Fixed libjavacore.so downloads

If you had successfully compiled libjavacore.so and tested it on your device, and you would like to share it here, just mention me or pm me with the link and your device name and I'll put it here. Thanks!

Galaxy S4(compiled for CM12, but should work on all 5.0 ROMs)
[Miscellaneous Android Development] haoyangw:
Reserved post
[8125, K-JAM, P4300, MDA Vario General] nada1:
I tried er2003edit to edit T-mobile 2.26 ExT rom. Cause i wanted the cabs inside the nk.nbf file file but its asking for password. I m new at this. i m reading the tutorials on this forum from morning but can't figure out how?

can any one help me ? {silly question cause this forum have people who can code anything on windows mobile }

or can i get the pass

to install latests tzone setup cab and instant messeging plz help. Thanks
[8125, K-JAM, P4300, MDA Vario General] xeno1:
Download wizard service tool (do a search, it's on here somewhere) and it has an option to download your extended ROM to your computer and then you can do what you want with the files.
[8125, K-JAM, P4300, MDA Vario General] nada1:
Thanks a lot for the reply.But my problem is, i already upgraged to windows mobilw 6.Thats why im trying to edit from original .nbf file Any help plz.
[LG G Pro 2] bkcheah75:
I am currently using stock Rom of lollipop. Rooted. If I flash custom rom, possible to flash back the stock recovery?
[Galaxy S III Q&A, Help & Troubleshooting] Kumarm93:
guyz tried to extract from systemUI but i couldnot find them plz if any one could help me........

waiting for ur replies.
[Android Studio] dillenge:
I am currently working on a clicker game and need to save and restore the Strings and ints between when i shut down the app and when i restore it again, instead of losing all progress. Any suggestions on how to accomplish this? [MENTION=6754410]mmdeveloper10[/MENTION]
[Android Studio] mantlabs:
Hello,

To store some strings and ints while closing your app:

inside onDestroy() method

(if you haven't implemented it yet, it is like onCreate() you just write: )

@Override
protected void onDestroy() {
super.onDestroy();
//Put the below code here
}

SharedPreferences prefss = PreferenceManager.getDefaultSharedPreferences(getApplicationContext());
SharedPreferences.Editor ed = prefss.edit();
ed.putString("mystring", mystring);
ed.putInt("myint", myint);
ed.commit(); //or ed.apply(); if you want to write them and wait for the write to be completed

Now to read them:

inside onCreate() (after super):

SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getApplicationContext());
mystring = prefs.getString("mystring", defaultStringValueHere); //defaultStringValueHere is a String (whatever you like), for the default value if the preference "mystring" is not found
myint = prefs.getInt("myint", defaultIntValueHere);

where mystring is the String that you want to store

and myint is the int that you want to store.

You can store as many as you like strings and ints :) (But the more you store, the more time to write and read them all your app will take)

If you still need help feel free to ask ;)
[Android Studio] dillenge:
Not sure how to explain the problem so I have attached my whole main method in pictures. I don't think it is finding any saved preferences on onCreate() because if i change the default int value it only changes to that instead of what the value was before exiting the app. Any idea what could be the cause of this?
[Android Studio] mantlabs:
Hello,

Your strings a, b, c, e, f, g, h, i, j, k are empty ( Am I right? ).

So it tried to find a preference with an empty keyname, and write a preference with an empty keyname, it failed.

You need to have a, b, c, e, f, g, h, i, j, k hold a String value (different for each variable)

e.g.

String a = "a";
String b = "b";
...

Hope it helps ;)
[Android Studio] dillenge:
Ok, I tried changing them all to real Strings like you said and still no progress. Anything else that could be the problem?
[Android Studio] mantlabs:
Sorry but the code seems good to me. For me it is working.

Are you setting anywhere else in your code these variables?

Try moving the int w,z,... above the onCreate method.

In what phone are you testing?

Which Android Version?

Is it a custom ROM?

Can you share the logcat to see if it reports anything?
[Android Studio] dillenge:
I am testing on an htc one m8 running Android 5.0.1 with no roms and I don't think the variables are used anywhere else I'll send the logcat when I get home
[Android Studio] dillenge:
OK I fixed the issue, it turns out that I was closing the app by going into multitasking vs pressing the back key and now it is working fine thanks a lot
[Android Studio] angel.martinezsanchez.92:
Ok
[Android Studio] mantlabs:
Hello again,

If you want to save your app's state also by going into multitasking (pausing the app), then place the code in the onPause and onResume, instead of onDestroy and onCreate, respectively, as shown below ;)

@Override
protected void onPause() {
super.onPause();
SharedPreferences prefss = PreferenceManager.getDefaultSharedPreferences(getApplicationContext());
SharedPreferences.Editor ed = prefss.edit();
ed.putString("mystring", mystring);
ed.putInt("myint", myint);
ed.commit(); //or ed.apply(); if you want to write them and wait for the write to be completed
}

@Override
protected void onResume() {
super.onResume();
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getApplicationContext());
mystring = prefs.getString("mystring", defaultStringValueHere); //defaultStringValueHere is a String (whatever you like), for the default value if the preference "mystring" is not found
myint = prefs.getInt("myint", defaultIntValueHere);

//Restore game state here instead of onCreate (onResume is called after onCreate, so you need to call the related methods for your game to restore the state here)
}
[Nexus 6 Accessories] bionemesis:
For my fellow Calgarians, possibly Southern Albertans, and perhaps Canadians. I recently uncovered a treasure trove of Android accessories in a store that should be an obvious choice, but one that I am constantly overlooking. London Drugs! I've stopped by a couple in the last week and was really surprised by the selection. I saw no less than 3 different magnetic car mounts (the Scosche one and some others), which is an extremely rare find. So definitely keep it in mind.

PS: A lot of their best stuff is not with their phones. Its with the photo stuff.
[Galaxy S5 Mini Q&A, Help & Troubleshooting] Anaythea:
So, officially the S5 mini has no MHL support. My question is if there are any kernel options when compiling to enable such support? Any way this is a software issue easily corrected like the OTG-support?
[Galaxy S5 Mini Q&A, Help & Troubleshooting] lorenita0161:
Always

Enviado desde mi iPhone utilizando Tapatalk
[Galaxy S5 Mini Q&A, Help & Troubleshooting] CurtisMJ:
There is indeed an option for it and the kernel compiles successfully, but the whole driver was marked as "experimental" which is likely why it never made it into the final builds. I have no MHL cables to debug with either but I'll see if I can get hold of one. That or Samsung might complete the code when stock Lollipop comes out(If that ever even happens)
[Galaxy S5 Mini Q&A, Help & Troubleshooting] Anaythea:
Always huh.. well there is always the possibility of a relevant IC missing or something.

CurtisMJ I would be thrilled to test it on my 800F using two different brands of MHL cables if you have a kernel I can flash with OTG also enabled.

Also what is the difference between physical hdmi interface and mhl interface? I saw both drivers are options.
[Galaxy S5 Mini Q&A, Help & Troubleshooting] CurtisMJ:
Attached is a build of my custom kernel with MHL enabled(I prefer Rashr for flashing). Confirmed bootable. I've enabled all the debugging options for the MHL drivers in the meantime. Not sure about the difference between physical HDMI and the MHL driver. I can only assume one is a virtual device only there for providing protocol support(At least that's usually how it works).

Proceed with caution
[Galaxy S5 Mini Q&A, Help & Troubleshooting] Anaythea:
Confirmed not working with old style 5-pin mhl adapter. No surprise there. Will try to buy 11 pin tomorrow.
[Galaxy S5 Mini Q&A, Help & Troubleshooting] CurtisMJ:
OTG might need to be toggled via the SysFS switch, but yeah, I wouldn't get my hopes up.
[Galaxy S5 Mini Q&A, Help & Troubleshooting] Anaythea:
OTG-support for G800F confirmed with kernel from the android development forum.
[Galaxy S5 Mini Q&A, Help & Troubleshooting] gennaro93:
Did Any developer realize a working mhl kernel?
[Galaxy S5 Mini Q&A, Help & Troubleshooting] gennaro93:
I flashed the kernel attached. After that it says "kernel is not seandroid enforcing" and Device don't boot anymore.

Flashing the stock kernel solves the problem.

So I can't use mhl.

I tried also Tu use a kernel with enabled otg, otg works, mhl doesn't.

Thanks
[Galaxy S5 Mini Q&A, Help & Troubleshooting] gennaro93:
Is anyone still reading this post?
[Galaxy S5 Mini Q&A, Help & Troubleshooting] CurtisMJ:
Doesn't seem like unfortunately. I don't have the device anymore but remember that I never really got it working when I had it so I won't be much help.