yashsingh1/xdaforums huggingface dataset:
[General Topics] luv.:
java :P

---------- Post added at 07:20 PM ---------- Previous post was at 07:11 PM ----------

> Why doesn't android kill the longest not active apps first instead?

There is some heuristic going on that calculate the oom priority and modifies /proc/PID/oom_adj so. For example (foreground) services have lower oom_adj (less likely to be killed by oom-killer). Actually I ended up adding code to my app that overrides /proc/PID/oom_adj to a really low number to keep it running (but that requires root - I also dont understand why *the user* does not have a chance to say "hey android keep running this app in the background!")

> Unfortunately it seems apps are being killed surprisingly often even when settings / memory shows hundreds of RAM free

Yeah that "low memory value" (ie when to kick off the oom-killer) is also set somewhere in /proc (?) It's 200MB on my phone with 2 gigs ram IIRC. To test what's getting killed (and whenl, etc.) this app is superb: https://play.google.com/store/apps/details?id=com.tspoon.androidtoolbelt

it's all even more annoying because starting even basic apps (like dialer or contacts etc. etc.) takes even seconds(!) if they are not in memory already (on any phone!) ... oh, well, java
[General Topics] VitasLoWang:
Thanks for a reply! Have anybody tried MIUI? There is an option to lock an application and supposedly prevent it from being killed when multitasking. Just swipe up in tasks view and it marks it with a lock. I have just read this article and it seems manufacturers set these LMK values. I have a feeling they are really high for Sony phones. Maybe if I root mine I would be able to change those. Unfortunately it seems without root I cannot even view these values. They show as 0 in /sys/module/lowmemorykiller/parameters/ and cannot be opened. I can't open those oom files either.
[General Topics] luv.:
yeah, defo need root for this
[General Topics] luv.:
Oh and it gets worse. Because of this behaviour many apps use a nasty trick of setting up an alarm (usually with wake lock) triggered every second to make sure they are running (if a process is not running and there is an alarm for that process set up, the process is started).

So what happens is that the OOM/low-memory killer kills the app it is started by android framework the next second ... and it might get killed by oom-kiler again ...

It's interesting to run "apktool d foobar.apk" and grep the smali for "AlarmManager.set" on apps that want to run in the background ...
[General Topics] VitasLoWang:
CleanMaster app is good and it saved me from exhausted internal capacity issues many times (on Z3Compact) and it also shows apps which frequently restart. Is that because of what you just wrote? I remember it was Pinterest a lot for example.
[General Topics] luv.:
sounds like it could be the case but you it's hard to tell for sure - you would have to have a look at logcat at least
[General Topics] VitasLoWang:
I have logcat. What would you search for there?
[XDA Assist] Madridistas:
Can anyone here help me root my phone? I tried so many times it says unsuccessful. Do I have to uninstall cm security or do anything in the settings for kingroot apk. To work?
[XDA Assist] v7:
Hello,

Thanks for using XDA Assist.

Refer this thread to root your device.

__

v7

XDA Assist
[Android Q&A, Help & Troubleshooting] cityhunter62:
Hello guys,

I recently flashed my phone and did not save my apk before.

Thus I've lost all my applications. Fortunately I was able to get back most of them from the Google Play Store.

But I miss Evernote and Feedly. I could find some APKs on various website, but I'm not quite sure they are reliable, and sometimes they won't even launch !

Some could you please kindly share the previous GB compatible version of FEEDLY and EVERNOTE ?

Thanks a lot !
[Xperia Z2 Q&A, Help & Troubleshooting] hamzxoxo:
what systems apps are safe to remove from miui in order to make it more light and less ram comsuming
[Tilt, TyTN II, MDA Vario III General] rocho:
Anyone know how to display this Today Scren???

http://img402.imageshack.us/my.php?image=display1vu1.png

* note that into sms and call icon there is a '0' that indicates notification

thanks.
[Tilt, TyTN II, MDA Vario III General] goestoeleven:
If you want that screen so badly, why not get an iPhone? ;)
[Tilt, TyTN II, MDA Vario III General] trjons:
Maybe because the iPhone interface is cool but the iPhone itself is useless? :confused:
[Tilt, TyTN II, MDA Vario III General] rocho:
you got the point.. i also like the custom big display icons at the buttom that indicates number of missing call and sms...

this has nothing to do with an iPhone .. thats why i have a Kaiser ;)
[Tilt, TyTN II, MDA Vario III General] goestoeleven:
I'm with you, bud... This is most definitely not the iPhone developers forum! :)
[Tilt, TyTN II, MDA Vario III General] keriso:
Well, phone alarm has an Ipod lookalike for sms and phone call like the image here...

and the ipod icons - well there are some around under pocket plus which you can use for launching...or the wisbar advanced desktop themes...

from these, you can build up your own similar ipod lookalike interface if this hits your fancy..
[Tilt, TyTN II, MDA Vario III General] Lidberg:
Why don't you try asking the guy who posted it in the "show us your today screen" thread?

Oh wait, you already posted there, too....

I know, start a few more threads. Maybe you'll get lucky...
[Tilt, TyTN II, MDA Vario III General] marm0lade:
The "today screen" thread is multiple pages long. If you post there you are going to get very little exposure, except from the few people following it on a daily basis. And besides, that's supposed to be for "showing" your today screen, not asking questions about it. Starting a new thread only makes sense. Try not to be so harsh.
[Tilt, TyTN II, MDA Vario III General] persiansown:
try http://www.whoneedsaniphone.com/forum/index.php
[Tilt, TyTN II, MDA Vario III General] Lidberg:
If you had read the thread, you would know that the OP asked the exact same question in that thread that he did when starting this thread. Since nobody answered him within 5 minutes there, he started a new thread.
[Tilt, TyTN II, MDA Vario III General] jakontil:
starting a new thread in this forum is felt like being bashed, even a noob will bash you straight like a barbarian, as if noob aint noob

anyway, there are certain applications that might customize your today screen, might want to check on ilauncher, or what i suspect, it could be wisbad advance DESKTOP that the OP used for today screen, helped with some iphone icons
[Tilt, TyTN II, MDA Vario III General] Lidberg:
I may not have that many posts, but I have been here long enough (well over a year) to know that people won't spoonfeed you the answers. You need to do some legwork yourself and search, read, search, read and search some more. The answers are out there.

When I got my 8125, I read every post I could about it. I upgraded to the 8525. I read and searched some more. Now I have the Tilt. I have read and searched my arse off to find the answers. I post very little because the answers are already out there, you just need to find the information.

This forum is great. There are great people here doing good things for the betterment of everyone who owns a phone. I read this forum all day long, finding cool little tweaks to try on my phone. I find a sense of satisfaction knowing that I know more about my phone than most people will ever know (or care to know) and I did that by searching for the information and reading.
[Tilt, TyTN II, MDA Vario III General] hanmin:
While I stand relatively neutral on this issue, which seems to have spawned from thread to thread, I'm more inclined towards Lidberg's point of view. While I understand the needs of noobs in asking questions, but noobs do not hold the ultimate power to do everything just because of the noob status. As asking (especially starting a new thread) questions without first putting in some effort in searching (yes, the search function of this forum is relatively retarded), do cause issues. For a start, there is a case of a ROM cooker leaving/not-ROM-cooking just because a millions of noobs came in and flooded the thread with gazillions silly questions, that're probably answered within the same thread.

Having said that, I do not encourage bashing/flaming, also not encourage starting new threads unnecessarily (especially, within a time frame of less than 3 hours). While I sympathize (but not encourage) people creating threads when their phone is bricked, creating a thread on a 'non-life-threatening' issue (i.e. just for a pretty face) is just some what over the top.

Lidberg: while you are relatively a 'oldies' here, and you know your way putting effort in searching for answers, it may be helpful that you take a bit of your time to answering questions that is some what interest to you. And, if you were to have another 'noobs starting threads' issues, you may want to put your words in a slightly nicer manner :) I agree with you that you should not spoon feed them, but from what it seems, you are very good in searching for answers, and perhaps you should transfer this skill to the new comers

jakontil: while I like you being helpful in taking care of the noobs, you may want to divert your efforts in answering more (perhaps simple) noobs questions rather than putting the effort on going over a every going arguement (refer to the link below) :)

You may want to read / 'continue to express your opinion' on the thread below

Why are people on this forum so damn temperamental?
[Tilt, TyTN II, MDA Vario III General] Lidberg:
I guess my attempt at sarcasm didn't translate too well here, eh?

It wasn't that the OP created this thread, it was that he also posted on the "post your today screen" thread, and even asked the guy who originally posted that screen the same question. If it were me, I would've PM'ed the guy who made the screen and ask him how he did it. Problem solved.
[Teclast X98 Air 3G] romdroid.:
As title says, anyone working on marshmallow for our tablet?
[Remix Mini General] romtim:
You want to have root access ? Please read this and share.

https://secure.avaaz.org/en/petitio...atters_Users_need_root_access_to_remix_mini_1
[Remix Mini General] mitchell4you:
Bump,

As Remix Mini will probably be discontinued ( soon? )

I would ask Jide , for a last optional update (Zip) for those wishing Root

Cheers

PS.. I signed the petition.. great idea
[Wileyfox Swift] ronyprakasa:
Sorry for my bad English..
[Wileyfox Swift] Bastlwastl2010:
http://www.cyanogenmod.org/blog/cyanogen-inc-and-cyanogenmod
[Xperia Z2 Q&A, Help & Troubleshooting] bry's:
Hello, after flashing a .575 rom on my xperia z2, I wanted to install a new kernel but a problem occurred: when I shut down my phone the Sony logo reboot constantly and I can not access the flash mode so I do can not unlock my bootloader. Do you have a solution to the problem when I bootloop turn off the phone and to access the flashmode? To switch the phone I have to plug it in, wait until the logo of the battery reaches and press power. I have access to recovery if needed (I'm now in .570 with a backup but the problem is still present)

Sorry for the bad english I had to use google translation to some sentences
[Xperia Z2 Q&A, Help & Troubleshooting] Monipeev:
You can not go into flash mode if the phone restarts constantly.

If you have recovery installed, as you wrote, Just flash rom from there, after entering in recovery

If not:

Try to keep both the power button on the phone with the volume down until you feel the vibration. After that, phone is switch off. Run Flashtool and flash stock firmware.
[Xperia Z2 Q&A, Help & Troubleshooting] Mohaned98:
You don't need flash mode to unlock bootloader, just unlock it using fastboot
[Verizon LG G4] nate39:
I am considering this phone but was wondering how easy it is to root and are there some issues with it? I have been using AT&T galaxys for a while and am tired of their locked bootloader. Is Verizon the best choice or would Tmobile be better? thanks
[Verizon LG G4] konradsa:
Don't. Way too many boot loops, and the verizon version can not be unlocked nor rooted, at least on MM.
[Verizon LG G4] droidian1441:
I wouldn't necessarily say don't buy it. I had a g3 on Verizon that I could fully unlock and do whatever to, and I still bought the g4.

I was a huge fan of the design of the g3, so I wanted something similar to it. The g4 is slightly bigger and taller which is something most people wouldn't like but I do like it.

I've never had any of the boot loop issues and its not difficult to root it. I'm currently running the rooted 13b image from the General section, rooted, and it works perfectly. Has been for a month now!

Still really up to your likes and wants, though.
[Verizon LG G4] konradsa:
I can't really recommend the G4 to anybody anymore. First is the bootloop issue, it's real, mine just failed last week, and I always babied the phone. It's a severe manufacturing defect that affects the majority of phones produced in the first 4 months or so, and to a lesser degree later models as well. Check out the boot loop thread on reddit, it's huge. LG's response to the issue is the worst, since they are not recalling the phone or repairing it no questions asked. They will only repair it if you are within the first 12 months of warranty and have the receipt to proof it. That means if you buy a used one/refurbished one from eBay or so, you are out of luck, even if it's less than 12 months old. If you buy a non-US model, forget, LG will flat out refuse to repair it too. Finally, if your phone has the slightest ding or crack, LG will not repair it, even it has no relation to the boot loop.

Second the OP mentioned he wants to root without lots of troubles. You can only root Lolipop on the Verizon model, no root possible on MM and probably not on Nougat either (whenever that comes out for the G4).

So in theory the G4 is a nice phone when it works, but you are way too likely to run into serious trouble and rooting is severely restricted.
[Verizon LG G4] bandofbrothers:
I got a bootlooped g4 on eBay and sent it to lg for repair no questions asked. I get it back Tuesday
[Verizon LG G4] coolguy71261:
Honestly for the money, just get a ONE+ 3
[Verizon LG G4] nate39:
Thanks guys, as usual I didn't realize the extent of the boot looping problem until after I bought it. I have a 30 day guarantee so the first problem and back it goes. thanks for the help. It is clearly a great phone when it works. I have not been thrilled with my s5, my s4 worked better it was just that the battery life as abysmal. I will check out the ONE+3, thanks
[Android Q&A, Help & Troubleshooting] atiqur5808:
I am facing a problem from few days,I am a root user and I have also installed xposed frameware,

But from few days my "lava iris x8" device is facing a problem. When I play videos, browse web, open any application, than in a few seconds it automatically turn back by pressing back button. Now how can I fix this problem? Please help me..........:confused:
[G 2014 Q&A, Help & Troubleshooting] GCSortes:
Title =)
[G 2014 Q&A, Help & Troubleshooting] iajinkya:
I think AOSP is better..
[G 2014 Q&A, Help & Troubleshooting] ac_fan:
AOSP is better. The best? RR.
[G 2014 Q&A, Help & Troubleshooting] SRIHARI_GUY:
AOSP is better than stock dude . You get extra features and functionalities in AOSP than the Stock ROM . :cool:
[General Questions and Answers] Elitemomo:
Hi there guys so I have an HP touchpad that was running CM9 with a clockwork mod recovery I wanted to try out Evervolv AOSP marshmallow build so I dirty flashed TWRP and now any time I attempt to do an operation in TWRP it always tells me failed to mount /system invalid argument. Additionally mounting usb storage is not working either on my computer. Any help would be appreciated just knowing there is a solution to this would help me a lot anyway cheers.
[Nexus 6 Q&A, Help & Troubleshooting] ClubWDW:
Okay. . .so here's a little background on my issue. So, I have been running CM13 nightlies for almost a year without issue. The phone is encrypted (by choice) and I went to install the latest nightly (072216) and the install went great. As it boots up, it requests a password to be entered before it will boot. (Normal behavior, so far). But when I go to enter the password now, the keyboard is all messed up. Certain keys can be pressed and others cannot. Instead, when I press certain keys, it is as if the notification bar tries to come down. . .again, the phone is still encrypted and NOT booted up at this point. It only happens on the last 2 nightlies. . . .(072216 and 072316). Because the keyboard is acting strangely, I am unable to log in. The only way to boot it is to boot into recovery, reinstall the previous version and then all is well.

Any thoughts?
[Nexus 6 Q&A, Help & Troubleshooting] Kreateablaze:
Don't use the newest nightlies until it's fixed? Or even better, drop cm and use a better ROM?
[Nexus 6 Q&A, Help & Troubleshooting] ClubWDW:
Ha! Actually, rather enjoy using the standard CM13 Rom. That said, I noticed something else. It isn't the keyboard that is the issue, but the lock screen icon is actually covering up the bottom line of the keyboard and not letting me get to it.
[Nexus 6 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
That's why you should use another ROM. The Cyanogenmod crew simply don't test the things they throw into the ROM anymore, leading to incidents like this one.
[Windows Mobile Development and Hacking General] jarod_73:
Hi all,

I was trying to create a provxml file to automatically create a shortcut in

the "Start Menu" folder.

this is the sintax I was using:

<wap-provisioningdoc>

<characteristic type="FileOperation">

<characteristic type="%CE17%" translation="install">

<characteristic type="MakeDir" />

<characteristic type="Reset.lnk" translation="install">

<characteristic type="Shortcut">

<parm name="Source" value="\location\my_file.exe /parameter" translation="install" />

</characteristic>

</characteristic>

</characteristic>

</characteristic>

</wap-provisioningdoc>

but always the .lnk file receives this value :

(quotes are included in value and slash is converted in backslash)

"\location\my_file.exe \parameter"

can someone help me to obtain : \location\my_file.exe /parameter?

thanks for reading J.
[Windows Mobile Development and Hacking General] jiggs:
might as well create the link in correct form and use provxml to copy the link to the location you want. much simpler. :D
[Windows Mobile Development and Hacking General] joemanb:
try removing 'translation="install" ' from the line with the parameter.
[Windows Mobile Development and Hacking General] jarod_73:
tried too... :mad: maybe my example files have some syntax errors inside

I always get failure to execute the provxml.

@ joemanb : I'll try

Thank you all
[Windows Mobile Development and Hacking General] RStein:
What about this?

<wap-provisioningdoc>

<characteristic type="FileOperation">

<characteristic type="%CE17%" translation="install">

<characteristic type="MakeDir" />

<characteristic type="Reset.lnk" translation="install">

<characteristic type="Shortcut">

<parm name="Source"

value="\location\my_file.exe /parameter"/>

</characteristic>

</characteristic>

</characteristic>

<wap-provisioningdoc>

Maybe the problem is caused by security?

http://msdn2.microsoft.com/en-us/library/aa455927.aspx
[Windows Mobile Development and Hacking General] jarod_73:
Must be security, I've tried to copy to "\" and to "\windows" and worked like

a charm. Not in "%CE17%".

Thank J.

Edit: Phone user shoud be an authenticated user..?!?

Edit 2: Ok DONE! Thank you all guys, I love this forum.
[Windows Mobile Development and Hacking General] Mr. Makk:
<wap-provisioningdoc>
<!-- *** COMMENTO *** -->
<characteristic type="Registry">
<characteristic type="HKLM\System\GWE\MAGNIFIER" translation="filesystem">
<parm name="Enable" datatype="integer" value="0"/>
</characteristic>
<characteristic type="HKLM\Software\Microsoft\Solitaire" translation="filesystem">
<parm name="Prefs" datatype="string" value="310011"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
[General Questions and Answers] darthlawl:
tl;dr Are Infinix phones reliable?

I've been looking to upgrade my phone from the 2014 Moto G, and I was wondering if anyone has tried Infinix phones?

The have caught my attention considering their extremely low prices for relatively high specs (I'll list the specs below for those of you who haven't even heard of the brand). I am a bit reluctant towards buying a Chinese phone considering their reputation for being of low quality as well as the phone's small battery since MediaTek processors are power hungry.

Here are the specs of the Infinix Zero 3

Network

2G Network

GSM

850 / 900 / 1800 / 1900

3G Network

HSDPA

850 / 900 / 1900 / 2100

TD-SCDMA

4G Network

LTE band 1(2100), 3(1800), 7(2600), 38(2600), 39(1900), 40(2300), 41(2500)

SIM

Dual

micro SIM

Status

Available

December 2015

Body

Dimensions

142

x 70.2 x 7.1 mm

Keyboard

Touchscreen

Colors

Gold, Black, Silver

Cover

Aluminium

Display

Type

IPS, FHD

capacitive, multi-touch, touchscreen with 16,000,000 color

Size

5.5

inches, 1080 x 1920 pixels, 401 pixels per inch (PPI)

Memory And OS

Card slot

MicroSD,

up to 2TB

Internal

16GB/32GB

OS

Android 5.1 Lollipop

Processors

2.2GHz

octa-core Cortex-A7 CPU, MediaTek Helio X10 chipset, PowerVR G6200 GPU

RAM

3GB

Audio

Alert types

Vibration,

MP3 ringtones

Loudspeaker

Yes

Audio port

3.5mm

jack

Connectivity

2G

GPRS

– up to 32 to 48 kbps; EDGE – up to 236.8 kbps

3G

Up

to 42 mbps downlink; Up to 5.76 mbps uplink

4G

Up to 150 mbps downlink; Up to 50 mbps uplink

WIFI

Wi-Fi

802.11 a/b/g/n, Wi-Fi hotspot, DLNA, Wi-Fi Direct

Bluetooth

Version

4.1, A2DP, LE

GPS

A-GPS,

GLONASS

NFC

No

USB

MicroUSB

v2.0

Camera

Primary

20.7MP,

up to 5248 x 3936-pixel pictures, phase detection, HDR, face and smile

detection,autofocus, Geo-tagging camera with LED flash

Video

1080p@30fps

Secondary

5MP,

up to 2560 x 1920-pixel pictures

Battery

Capacity

3030mAh

Li-Po battery

Stand-by

Talk time

Music play

Up

to 50 hours

Other Features

Sensors

Accelerometer,

Gyro, Proximity, Compass, Light sensor,

Messaging

SMS,

MMS, Email, Push Mail, IM

Browser

HTML5

Java

Yes

Miscellaneous

–

Active noise cancellation with dedicated mic

– MP3/WAV/eAAC+/WMA player

– Stereo FM radio with RDS

– MP4/H.264/H.263/WMV player

– Document viewer/editor

– Preloaded applications -Google Search, Maps, Gmail,

YouTube, Calendar, Google Talk, Picasa
[Galaxy S6 Edge+ Q&A, Help & Troubleshooting] alexaziz:
Hey guys. As title says I'm new to this but my dad bought a used rooted S6 Edge + (G928F) and now it's bricked for whatever reason.

It started off by saying "dm-verity verification failed" and that it's locked in "FRP lock".

I tried using Odin3 v3.10 to reinstall the firmware by downloading it from sammobile and did so successfully.

Here's where the problem part is coming. According from what I've heard and read, it's supposed to be working now. However, it's not, and a new message has appeared saying "Need to check DRK first."

Now, I've tried looking around for how to fix DRK but I haven't found anything that worked.

I'd like to remind you that I'm new to this so newbie-friendly words and patience would be greatly appreciated.
[Galaxy S6 Edge+ Q&A, Help & Troubleshooting] papu_yaar2004:
hi alexaziz....its not ur fault u didn't brick the phone...the guy who rooted this phone, he made the phone to show this error....unfortunately only fix is to use some professional tools like z3x box.....but don't b sad u can try 2 things.... just to hide it and bypass it.....

1....install stock firmware....wipe cache ..............download kernel file like 928-FKLSI-ODIN or arter97-g928fcig-.....and try 1 of them with odin (use AP in odin)...it should boot normally if not then try 2nd option..

2......Download official firmware for your device from sammobile. Extract your firmware files from the TAR..... delete cache.img & repack your firmware. now flash the repackaged firmware via ODIN.....thnx

wish u good luck :cowboy::good: