yashsingh1/xdaforums huggingface dataset:
[Moto X Q&A] prittjr:
My gf's Moto X (1st gen, stock, unrooted, Verizon, 4.4.4) has been freaking out lately and she brought it to me to investigate. The thing will sporadically tie up all of its RAM and basically become unusable. Phone gets hot and battery drains fast.

I understand how Android handles memory, so this isnt me being paranoid about available RAM...im talking about less than 20mb of available RAM and I cant even open the app drawer because it crashes. I clear all recent apps, force close anything i can, and no RAM opens up at all. Only solution is reboot and then its only good for a few hours until it gets jammed up again.

Sounds like a software issue to me, so a factory reset should fix it, but i just dont want to deal with backing up my gf's crap and heaven forbid i miss something and lose it forever. Anyone have any ideas?

PS - gsam battery monitor shows nothing noteworthy...doesnt report weird app usage, and no wakelocks or anything like that seems out of the ordinary.
[Moto X Q&A] k_t_b:
Version of Android? Carrier?

What apps are installed? Non-stock launcher?
[Moto X Q&A] prittjr:
Updated in OP. Verizon, latest version (i believe Verizon has 4.4.4 up for moto x, so that would be the one)
[Moto X Q&A] k_t_b:
Something like Watchdog Task Manager or a memory monitor app might help you figure out what's misbehaving. Logcat might give some clues.

Personally, I think I would just prefer to backup what is necessary and reset the device. You might spend a lot of time trying to attack this from any other direction. Good luck.
[Sprint Galaxy S 5 Themes and Apps] jackrabbit72380:
can a 4.4.4. user test this sony z3 stuff.

we ported it but we are not able to get the music viz working on 4.4.2

so im hoping someone with 4.4.4 can try it.

you must install all the files manuly and change primitions.
[Xperia Z2 Q&A, Help & Troubleshooting] calacia:
Hi folks, I really need your help here.

My Z2 is now without OS. It only turns on and freezes on Sony logo.

I've rooted the device (with rootkitZperia_20140719) and install a recovery (lockeddualrecovery). Then, when I was trying to wipe data, I made a mistake and wiped all phone data, even the system.

I turned off my phone and now it's bricked.

Please, help me!
[Xperia Z2 Q&A, Help & Troubleshooting] RISHI RAJ:
Flash stock ftf of ur phone by flashtool & you are all good
[Xperia Z2 Q&A, Help & Troubleshooting] calacia:
How?

I know, I'm really a total noob.
[Xperia Z2 Q&A, Help & Troubleshooting] Envious_Data:
http://xdaforums.com/showthread.php?p=53220435

Here try this
[Galaxy S 4 i9506 Android Development] jonte28:
TWRP work great and thanks so much
[Galaxy S 4 i9506 Android Development] worf_1977:
At last, one recovery that seems to work right.

Now a few ROMs and let the show begin LOL
[Galaxy S 4 i9506 Android Development] puschel_1:
Did anyone test a exFAT micro SD?

Gesendet von meinem GT-I9506 mit Tapatalk
[Galaxy S 4 i9506 Android Development] neumann:
I tried to flash it via CWM or Odin, but unfortunately it doesn't boot.
[Galaxy S 4 i9506 Android Development] DualJoe:
Which device?

Where does it hang exactly? On 'Recovery booting...' (in blue) screen?

Which rom do you have installed?

Is adb working?
[Galaxy S 4 i9506 Android Development] neumann:
I have an i9506 (ks01lte) with solks CM11 installed, the first official nightly from 2 days ago. It hangs where it says 'Recovery booting.....', where I still can see the S4 logo.

I did not check adb yet, because I thought, that recovery is not loading at all. Is there anything I should try, if adb is running?
[Galaxy S 4 i9506 Android Development] DualJoe:
Do you have 4.4 bootloader installed (from official stock rom 4.4)?
[Galaxy S 4 i9506 Android Development] neumann:
Yes.
[Galaxy S 4 i9506 Android Development] DualJoe:
See if logcat is running, create logs and post the files.

Any fancy stuff installed like exfat sdcard or something?

adb shell "dmesg > /tmp/dmesg.log"
adb pull /tmp/dmesg.log
adb pull /tmp/recovery.log

Edit: Quotes added to adb shell, sry.
[Galaxy S 4 i9506 Android Development] neumann:
sorry, but adb is not running.

I just doule chcked it, I have bootloader I9506XXUBNA2 installed, which is 4.3, but I'm pretty sure I came from Stock KK 4.4. Could this be the problem?
[Galaxy S 4 i9506 Android Development] DualJoe:
Yes, probably. The 4.4 kernels come with a new device tree format.
[Galaxy S 4 i9506 Android Development] neumann:
Can I then just flash a 4.4 kernel over my 4.3 kernel? If yes, which one would you recommend?
[Galaxy S 4 i9506 Android Development] DualJoe:
The kernel comes shipped with every recovery. Its the 4.4 bootloader you need. Just flash a full stock rom once. You'll get a new baseband/modem and such as well.
[Galaxy S 4 i9506 Android Development] neumann:
Do I really need to flash full stock to get the 4.4 bootloader? It's a long procedure to have CM11 back then. Isn't it possible to flash just the bootloader? When I do a full backup I have always a file called boot.img, isn't that the bootloader?
[Galaxy S 4 i9506 Android Development] worf_1977:
Boot.img is the kernel, not the bootloader.
[Galaxy S 4 i9506 Android Development] DualJoe:
The bootloader comes with complementary data like baseband and other partitions. If something's not correct it might brick your phone. I don't recommend that unless you know exactly what you're doing.

You can try to backup your rom (/data) manually during runtime via ADB (split by 2GB):

tar -czvpf - /data | split -b 2000m - /storage/sdcard1/databackup.tar.gz

/data holds the internal /sdcard as well (/data/media/0). You can check the size by this:

busybox du -sh /data/media/0

If you think its too large and you want to exclude it from the backup use this:

tar --exclude='/data/media/0' -czvpf - /data | split -b 2000m - /storage/sdcard1/databackup.tar.gz

And once you have TWRP running you can install CM11, format /data (just factory reset) and restore with this/adb:

cat /external_sd/databackup.tar.gz* | tar xzpvf - -C /

You might lose internal /sdcard on stock rom install (not sure though..) so i've chosen /storage/sdcard1 (external_sd) as output folder for the backup (better safe than sorry...).
[Galaxy S 4 i9506 Android Development] neumann:
Thanks a lot, I'll try this and let you know.
[Galaxy S 4 i9506 Android Development] DualJoe:
Added some options to exclude backing up internal sdcard.
[Galaxy S 4 i9506 Android Development] DualJoe:
Hmm.. wait. I don't think it will work as it will exceed the 4GB max file size barrier of FAT32. Will look up some split options in a second...
[Galaxy S 4 i9506 Android Development] DualJoe:
Ok, hopefully fixed now. :)
[Galaxy S 4 i9506 Android Development] ipit:
Not sure if it's just me but the timezone setting is inaccurate. e.g when i set my time to +10 the actual time is not even close to what it should be.
[Galaxy S 4 i9506 Android Development] DualJoe:
Time is correct here. Make sure country, time zone and such is set correctly in rom (not twrp).
[Galaxy S 4 i9506 Android Development] ipit:
Everything is correct in the ROM and I have auto time from provider but for some reason in TWRP I need to set the timezone to -10 instead of +10 to get the right time. Not a big deal anyway as it's a great revovery. Much better than anything else out there for the 9506.
[Galaxy S 4 i9506 Android Development] DualJoe:
Are the 'minutes' correct? That would be a sign that the time_daemon kicked in properly. Usually if it does not, you end up with -8 month or 1970. You can try to delete /data/time, restart the rom and then start twrp. The time_daemon is Qualcomm's own implementation for time setting. There's not much i can do. I can remember though that PhilZ implemented a workaround in his recovery indeed for some devices.
[Galaxy S 4 i9506 Android Development] same-xx:
Do you have crossed the use rtc time in twrp? And after you press +/-10min below that becomes minutes. And i needed to press 10min a couple of times before +/-1min came in wiew.
[Galaxy S 4 i9506 Android Development] Kelden:
Great that you provide TWRP for our i9506. Thank you very much.

Before I install it I have to flash official version to get the 4.4 boatloader.

What's the reason you need 4.4?
[Galaxy S 4 i9506 Android Development] DualJoe:
They changed the boot image structure. The 4.4 bootimages do not boot on 4.3 and i don't have any tools to create 4.3 bootimages nor can i test it.
[Galaxy S 4 i9506 Android Development] worf_1977:
Hangs while restoring modem. Well, actually tells me that it's restoring, but i forced a reset and the phone works perfectly...

Best recovery ever!
[Galaxy S 4 i9506 Android Development] salluhassan:
why ppl say that best recovery ever..... i mean how this twrp is better than cwm recoveries out there . i m trying to understand any differences here .. i am new to these type of stuff
[Galaxy S 4 i9506 Android Development] ipit:
Have you seen them both?
[Galaxy S 4 i9506 Android Development] worf_1977:
Simple. It sumply does what it meant to do.

Backup and recover a NANDROID. Besides of a much advanced backup format, not just a bunch of .tar files, can compress while doing a backup, etc.

Now, use CWM to do a simple STOCK NANDROID and try to restore it.

CWM hasn't SELinux support, and fails to make stock ROM backups.

Only worked for me in custom ROM's
[Galaxy S 4 i9506 Android Development] salluhassan:
ahan so twrp recovery has something better to do with backup/restore feature than cwm recovery. ok and SElinux support. +1 for this progress then... and is it workable to use it with solk's official cm? Any ONe tested it
[Galaxy S 4 i9506 Android Development] worf_1977:
I flashed several CM11 versions, and had 0 problems this far...

I just make sure that recovery is reflashed again (through zip file) to substitute ROMs CWM.
[Galaxy S 4 i9506 Android Development] salluhassan:
hmmm, thanks for informing this.
[Galaxy S 4 i9506 Android Development] worf_1977:
U r welcome :)
[Galaxy S 4 i9506 Android Development] vgallego65:
Thank you very much, works like a charm.
[Galaxy S 4 i9506 Android Development] DualJoe:
Update snapshot twrp-2.8.0.0-ks01lte.20141016:

Fix wiping crash when block device is not present

Update reference to 24-hour clock

display cpu temperature in twrp

Add support for TrueType fonts

Fix exfat-fuse handling

and more...
[Galaxy S 4 i9506 Android Development] kotaxor:
Thanks for the update, working great.
[Galaxy S 4 i9506 Android Development] ShaneDiNozzo:
My phone is on stock 4.3 bootloader with CM11 now. I want to use TWRP on it, but the Knox flag is 0x1. Is it a problem, or can I flash stock 4.4 with Odin? I don't want to brick the phone.
[Galaxy S 4 i9506 Android Development] DualJoe:
You cannot brick it in any case. The worst that can happen is TWRP doesn't run. Knox 0x1 is inevitable so not a problem either.
[Galaxy S 4 i9506 Android Development] worf_1977:
And depending on where do you live, it will noté void your warranty
[Galaxy S 4 i9506 Android Development] breakingstorm:
dont know if asked before, but are backup and restore funkction working fine?
[Galaxy S 4 i9506 Android Development] worf_1977:
As Long as yo don't backup/restore MODEM partition, yes. Works quite well
[Galaxy S 4 i9506 Android Development] DualJoe:
TWRP 2.8.1.0 [2014-10-22]

2.8.1.0

Fix crash when rapid firing command line commands

Add support for temperatures in tenths of a degree Celsius

gui: Disable unnecessary checks if TW_CUSTOM_THEME is defined

Do not set contexts during a factory reset

Fix placement of Android Secure and SD-EXT on wipe page

...
[Galaxy S 4 i9506 Android Development] puschel_1:
My GT-I9506 is still on rooted stock 4.2.2 (T-Mobile Germany) and I flashed TWRP by CWM and it also works (without 4.4.2 bootloader) ;)
[Galaxy S 4 i9506 Android Development] kotaxor:
As usual, working nicely.
[Galaxy S 4 i9506 Android Development] CastagnaIT:
TWRP Update

I have created a new full working TWRP build,

this version is 2.8.1.0, it is updated from latest commit of omnirom twrp source, and the kernel provided from CyanogenMod github sources.

I didn't use the sources from DualJoe, so if he want update your post/sources,

i provide my source code for build it yourself.

https://github.com/CastagnaIT/android_device_samsung_ks01lte

Changelog from DualJoe twrp:

Brightness slider works

MTP is directly active on boot (sometimes it remain off twrp problem, use the menu for turn it on)

Full SELinux support

TWRP RTC Qualcomm fix (not used the workaroud from DualJoe)

Backup/Restore tested with 4.4.2 TW original samsung rom and CyanogenMod CM-11.0

Last note: when you go to the recovery, the display blink one time before show the twrp logo, it's a kernel related problem.

DOWNLOAD FLASHABLE ZIP

Good evening to all
[Galaxy S 4 i9506 Android Development] smeroni68:
Thanks CIT... next week my 9506 will come... a new adventure with my preferred dev here on Xda!!
[Galaxy S 4 i9506 Android Development] DualJoe:
Why did it not boot in the first place?

Edit: I think you should create a new thread. I will mark this as obsolete. Who needs hacked stock if one can have proper cm. I once tested cm prebuilt kernel quickly but twrp couldn't access framebuffer.
[Galaxy S 4 i9506 Android Development] CastagnaIT:
I wanted to post it here for correctness, but saw your advice i will create a new thread.

thanks DualJoe :)
[Galaxy S 4 i9506 Android Development] morten82:
Hi

When i flash twrp recovery my carrier disappears ( phone says no simcard) ?? When i flash stock recovery it works again...

I'm on I9506XXUCNJ1 Nordic carrier (odin flashed) with DeHawks autoroot (odin flashed).
[Galaxy S 4 i9506 Android Development] kotaxor:
Obsolete?

Taken over by this :http://xdaforums.com/galaxy-s4/i9506-develop/recovery-twrp-2-8-1-0-touch-recovery-t2942159

?
[Galaxy S 4 i9506 Android Development] DualJoe:
Yes. Unless there are any problems or issues i will drop this version. CM kernel is much more maintained and supported than Samsung stock.
[Galaxy S 4 i9506 Android Development] kotaxor:
Thanks for the reply,

Much appreciated for your awesome twrp recovery.
[Galaxy S 4 i9506 Android Development] sibellius:
i have the same issue!!
[Galaxy S 4 i9506 Android Development] sibellius:
ok.. i solved this issue. for who has the same problem i solved in this way: after root i installed root explorer and i made a research immediately about every voice in the phone containing "knox" deleting them. Then i deleted the remaining files mentioned above. Now after every reboot my carrier does not disappear and i do not loose the imei..

"To solve random reboots with knox-free you need to delete theses apps before run SuperSU :

KNOX in system/app

ContainerAgent.apk

KNOXAgent.apk

ContainerEventsRelayManager.apk

KLMSAgent.apk

KnoxAttestationAgent.apk

KNOXStore.apk

KNOXStub.apk

SPDClient.apk

Bridge.apk

KnoxMigrationAgent.apk

KnoxSetupWizardClient.apk

KnoxSteupWizardStub.apk

ELM Agent

KNOX in data/data

com.sec.knox.containeragent

com.sec.knox.eventsmanager

com.sec.enterprise.knox.attestation

com.sec.knox.app.container

com.sec.knox.seandroid

com.sec.knox.store

com.samsung.klmsagent

com.samsung.knox.rcp.components

com.sec.enterprise.knox.cloudmdm.smdms

com.sec.knox.bridge

com.sec.knox.knoxsetupwizardclient

com.sec.knox.setupwizardstub

Others

Folder = data/clipboard/knox

Folder = system/containers

Folder = system/etc/secure_storage/com.sec.knox.store

Folder = knox_data

Folder = system/etc/secure_storage/com.sec.knox.seandroid

NB : in some ROMs some of theses files/folders are not here."
[G2 Q&A, Help & Troubleshooting] g2moder:
I found a collection of bin files for the stock 24a partitions and after overwriting the "recovery" partition twrp is still installed.

Which partition do I have to overwrite with stock to clear out TWRP?

Or a simpler question, Where in the file-system is TWRP located?
[G3 Q&A, Help & Troubleshooting] ReRuss:
Some apps have the add photo or album button and it brings up the documents viewer like a tablet or so, and I'd like to not have that and just have it bring up a default app. Is this possible?
[T-Mobile Samsung Galaxy S 4] Den Den:
Just wondering if there's anything special or cool about getting your phone updated to the newest version available, I got my phone already with a custom rom on it(modified), can't update it thru OTA, or 4.2.2. is till a pretty decent Version to sit and and still kick ass? ;p
[T-Mobile Samsung Galaxy S 4] Kriptik210:
IMO, i like KitKat (4.4+) more than Jellybean (4.3-). You can update via Kies if you want but you can't go back. Or you can just stay with the bootloader you have now and just flash custom ROMs, kernels and modem. 4.3+ has KNOX security but if you don't have a warranty then tripping the "KNOX counter" is nothing to worry about.
[T-Mobile Samsung Galaxy S 4] Den Den:
Nah, dont have a warranty on it. Got it with a custom rom, i guess some1 flashed it before selling it to me, it runs good n wut not, just was wondering wut i might have been missing out n w.e. xD if newer versions improve battery life consumption, makes it faster, etc, then it sounds good xD ill prolly try thru kies later n see if it goes thru :p
[T-Mobile Samsung Galaxy S 4] Kriptik210:
You dont HAVE to upgrade. Try Insane KitKat. Its a great custom ROM. Fast and good battery life. And if you download the sickness mods v5 (4.4.2) before he uploads v6(4.4.4), you can add whatever you want from the AROMA options.
[T-Mobile Samsung Galaxy S 4] Den Den:
Never used any of those custom roms.

On other hand, today i opened my phone to do some stuff on it, and it felt like some1 touched it(one of my bros), it wanted me to restart my phone to upgrade to 4.3 update. I guess somehow i got t-mobile OTA update and they clicked on it and downloaded the 700mb+ file. Oh well i guess, how good is the 4.3? Much better then 4.2.2? Or so so?
[T-Mobile Samsung Galaxy S 4] Android_Monsters:
The new nh7 modem is tight. You can do this update because you are still on the MDL bootloader.

http://xdaforums.com/showthread.php?t=2898809
[T-Mobile Samsung Galaxy S 4] Den Den:
Oh awesome, so i can still do other stuff if needed eh? xD This update will just update modem etc, but not touch the bootloader. So im good? :)
[T-Mobile Samsung Galaxy S 4] Kriptik210:
An OTA update will update your whole firmware. You might get another update for NH7 after you do that one.
[T-Mobile Samsung Galaxy S 4] Den Den:
Ahh I see, but OTA's don't usually change your bootloader eh? Just everything else.
[T-Mobile Samsung Galaxy S 4] Kriptik210:
Bootloader also
[T-Mobile Samsung Galaxy S 4] Den Den:
Oh well I guess. Someone took my phone while playing games, and downloaded the new OTA, now it's going to keep bugging me to update it. Loved it at 4.2.2. Hope the nh7 is going to be better, heard tons of ppl having battery draining, bad reception, etc, maybe just a small % of ppl. not sure o.o Someone said nh7 is going to be smooth and fast, etc, haha that would be great rofl.
[T-Mobile Samsung Galaxy S 4] Kriptik210:
I updated with Odin and then flashed Insane NH7 ROM and haven't have any problems. But I have seen people saying bad things about their signal. I guess it's a hit or miss
[T-Mobile Samsung Galaxy S 4] Den Den:
Yeah, thats y i dont want to update it to newest firmware atm, dont want to deal with all the bs that comes with it. Can i keep delaying the update eh? As for what you did, was pretty fast eh? And were u rooted? Just hate readding all my apps n info n **** back on here that i use daily.
[T-Mobile Samsung Galaxy S 4] Kriptik210:
Once you update whether OTA or Odin, you will have to root again. You can ignore the update. There is a way to stop the notifications, just use Google.
[T-Mobile Samsung Galaxy S 4] Den Den:
How good is that insane rom? I mainly use my gs4 for calling, navigation, listening to music(downloaded/streaming), streaming movies sometimes thru wifi, games sometimes, use apps to remove wasted ram/Junk files/help with battery drain, etc. Main thing is really i need is the good signal at all times, so navigation and all that crap works awesome, calling, net. Tbh id love to remove all the unwanted bloatware that i never use(but that can be done by rooting). Did you stay on mdl bootloader, n just flashed ur custom rom eh?
[T-Mobile Samsung Galaxy S 4] Kriptik210:
The Insane ROM is a great one. It does have bloat (Insane 4.4.4 NH7) but it is easy to get rid of. I stayed on my MK5 bootloader but just recently switched to NH7.
[T-Mobile Samsung Galaxy S 4] Den Den:
Ahh i see, anything good with the nh7 bootloader asude from mdl i got atm? I also read somewhere on here that some1 just updated their phone up to date w/ ota, then flashed nh7 modem to fix the bad signal n w.e. Not sure wut to for atm, dont have much time on my hands.
[T-Mobile Samsung Galaxy S 4] lordcheeto03:
If all you've done is download the OTA but you haven't actually applied it AND you are still on the 4.2.2 MDL bootloader, I'd say leave your bootloader on MDL. I'm not saying don't run updated ROMs, I'm just saying not to take an official update. Use Odin to flash the newest modem and use custom recovery to flash any of the 4.4.x ROMs in the Android Development section, Original Android Development, or Unified Development sections. If you use custom recovery to flash the newer ROMs you still get the benefits of having updated firmware, you just don't end up having KNOX. Myself, along with numerous other users here, are still on the MDL bootloader, NH7 modem, and running modified/stock 4.4.4 NH7 TouchWiz ROM with no problems to speak of. The only thing about keeping the old bootloader, the only modem you can update is your GSM modem, not LTE; although as I said, I really haven't noticed any drop in reception... I still get full LTE whenever I'm in an area which has LTE penetration...
[T-Mobile Samsung Galaxy S 4] Den Den:
Was bored and decided to explore my phone, installed super user, installed titanium back up xD Not really sure how decent this rom or if its stock as it looks like this phone was rooted before i bought it lol. To think i was afraid to root it, yet it was rooted all along, funny tbh xD But yeah i still have decent signal etc in diff location, but sometimes wished it was better lol.
[T-Mobile Samsung Galaxy S 4] Den Den:
Should i upgrade my modem or anything to 4.4.4 version, or get a custom rom? I'm also running on network: LTE/GSM/WCDMA, or should i use something else that would run better everywhere? ;p I'm on simple mobile atm which under t-mobile i guess. Also, what are cool useful apps for gs4 for rooted phones? And anything else that might be useful to add here :) Thanks!
[T-Mobile Samsung Galaxy S 4] lordcheeto03:
You should upgrade your modem to NH7 4.4.4 if your bootloader is MDL and you want to run any version of android 4.3 or higher (AOSP or TW). I'll not advise you to get a custom ROM or not, but I will advise to at least update your modem. As far as your network selection, LTE/GSM/WCDMA is sufficient. If you're not in an area with LET coverage though, you can choose one without LTE and save battery.
[T-Mobile Samsung Galaxy S 4] tcdos:
If I flash the NH7 modem and then flash the GPE 4.4.4 ROM, will that change my bootloader? How do I check which bootloader I am on?
[T-Mobile Samsung Galaxy S 4] Den Den:
Ahh i see, but im guessing you can only update gsm modem, and not the whole deal lte+gsm modem or w.e. or so i've heard. Besides updating the modem thru odin or w.e. anything else i should do? On other hand, any useful cool apps for rooted phones? Tnx!
[T-Mobile Samsung Galaxy S 4] lordcheeto03:
It won't flash the bootloader. You have to take the OTA, update through Kies or Odin to get the new bootloader. As far as checking which you are on... I know it's not much hep, but there are some apps in the play store,I just don't remember which ones... system monitor, or device manager or something of that sort.

Yeah, you only update the GSM modem, but unless you've had problems with LTE on your original ROM, there's no real need to update the LTE modem. The data drops you might be having is from using the old MDL GSM modem with MK2+ ROMS.