yashsingh1/xdaforums huggingface dataset:
[ONE General] nicholaschum:
After the first boot up, Java has to create it's working areas for the OS to function well, and it configures the kernel and miscellaneous trash handling (if dirty flashed). Rebooting will clear the supposedly terminates "completed services" after they were used to configure Android on first boot, hence things like kernel will be set on next boot, and on the next boot, you will have a clean Daily Driver configuration.

Also, it's like "why do you reboot your computer after a new install of a big program?", well, for it to settle, and to reinitiate the program. In this case, Android was setting up all your working directories on your internal storage, clearing out junk it may have had, and also rebuilding of the VM. That's a lot of work. Why not reboot to make sure everything that has been sitting on idle after making all these folders, would be terminated completely so just to make sure everything goes right.
[ONE General] Criton30:
so if I understand you correctyl, after the first bootup after the OS installation I must reboot the phone before setting up the google account and soo on?
[Nexus 5 Q&A, Help & Troubleshooting] gosku26:
I have a N5 rooted and with custom recovery.

I plan to install the factory image via fastboot.

I don't want to lose my userdata, so I plan to extract the different .img files and flash them one by one (except userdata.img)

Can I not flash recovery.img so I can keep my custom recovery?

What are the .img files that I must flash for keeping my files, settings and my custom recovery?

Thank you on advance. You are the best!
[Nexus 5 Q&A, Help & Troubleshooting] Ben36:
I flashed the system and boot img's

Then booted into recovery and wiped caches

Then flashed the modified kernel for root and supersu 2.19 before booting and I've kept data and recovery fine

This boot img - http://xdaforums.com/showthread.php?p=56702681

Sent from my Android 5.0 Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] gosku26:
Do I need other kernel for being able to root? I was only thinking of installing superSu for getting my root back.

Then, the only .img that I need to flash are the system.img and the boot.img. Am I right?

Thank You!
[Nexus 5 Q&A, Help & Troubleshooting] JPsy Droid:
You need the other kernel, cf-autoroot does this for you.
[Micromax Canvas A1] unnidiva:
i am having micromax canvas a1. it is working fine till recently the apps are not getting installed or updated from googleplaystore. kindly help.
[Micromax Canvas A1] gur.gurdeep:
problem solved

i m also getting this error but now solved just uninstall update of super su from setting - apps .
[Micromax Canvas A1] Archies:
install latest playstore
[Micromax Canvas A1] svknet:
same problem

Earlier I was able to install/update apps from Play Store. But since last week, app are not getting updated, nor I can install new apps. If I try to do it, just downloading bar is displayed.
[Micromax Canvas A1] Mohit_S:
Same here too. Can't update nor download. Any solution ? :confused:
[Micromax Canvas A1] apurv.max:
I also faced same problem

until i found there was low internal storage issue.

move as many as apps to external sd card.(which can be moved)

i uninstall apps which i don't use often. cleaned some junk & memory from CleanMaster App.

Guess what happened , everything turned out to be normal. :)
[Micromax Canvas A1] Harshvijay Nirwan:
Use Google DNS address in PC ethernet settings , restart router.

Than in phone clear playstore data and cache,clear downlaod manager data and cache,

Restart phone

download any app from playstore, it won't show any downloading status till 5 mins but will start automatically by then.

Hit the thanks button if it helped you.
[8525, TyTN, MDA Vario II, JasJam General] rgreenpc:
Is there a reg setting that can keep those windows from popping up.

Everytime TOMTOM logs in for traffic it drives me nuts.
[8525, TyTN, MDA Vario II, JasJam General] tco:
Goto settings/sounds and notifications.

Disable notification for network connecting.
[8525, TyTN, MDA Vario II, JasJam General] rgreenpc:
Fast and curtious... thats why I love you guys.
[Nexus 5 Q&A, Help & Troubleshooting] sambaqai:
Alright this thing 'package installer' is really bugging me. When ever i download or delete something and when i go on the task window i see package installer pop up and i have to remove it everytime
[T-Mobile Samsung Galaxy S 4] pookieguy:
Hi all,

I have a rooted phone and constantly keep storage and performance best I can using a number of apps like SD Maid, Rom toolbox, etc.

My problem is that while it is clear that that all storage from phone to external SD card have plenty of free space, I'm running into a problem when attempting to update larger apps such as games from the play store. They fail do to insufficient space.

Any suggestions as to the cause? The only info I can provide related to cause is that this seems to happen after I take HD videos with camera. However, those videos do indeed reside on external memory card which obviously has plenty of space just like both other storage options.

Any help is appreciated.
[T-Mobile Samsung Galaxy S 4] pookieguy:
Anyone have ideas as to cause? This is actually getting worse. Thanks
[T-Mobile Samsung Galaxy S 4] madman604:
Happened to an older phone of mine. Basically had to to a complete wipe and format of the system and Sdcard. Sometime theres toms of left over junk from old apps. Backup you data before you attempt .

Sent from M919V Galaxy S4 via XDA Premium HD app.
[T-Mobile Samsung Galaxy S 4] shpitz461:
If you look in /data/app and /data/app-lib you'll find duplicates there (app-1 and app-2).

What i do is delete both in both folders, then reboot into recovery, wipe cache/dalvik, then boot the phone up. That should solve the issue.
[T-Mobile Samsung Galaxy S 4] pookieguy:
Hi,

Thank you much for response. Yes, you are right and this was one of two things I found on my own that fixed the issue. However, after it did not fully solve the issue, I finally ended up finding the perfect and easiest solution to this common issue. I ran a popular storage utility app and cleared all corpse files. That instantly solved the problem with every single app with this issue.

With that said, and while I do genuinely appreciate every reponse from this forum and others, replying by simply stating to backup, wipe/reset all and restore backup rom is honesty far from helpful. I knew that and would not have posted this issue if that was the only solution. Seriously, it is quite frustrating to read such nonsense. There is always a much simpler alternative and proven here. That is why most will post here for advice in the first place.

Anyways,

Thanks again.

Sent from Galaxy S4
[AT&T Samsung Galaxy S 4 General] muniz_ri:
1. Take the NJ4 OTA update.

2. Download and install Towelroot-v3.apk(this version does not require internet access).

3. Place your phone into "Download Mode" (press and hold the "Home", "Volume Down", and "Power" keys until the phone powers on and displays warning screen, then press "Volume Up" key) and flash the I337_NC1_Stock_Kernel using Odin's PDA slot(AP in Odin v3.09+).

4. Open the Towelroot app from your app drawer and press "Make it Rain" to root your device.

5. Power off then boot into "Download Mode" again and flash the I337_NJ4_Stock_Kernel also in Odin's PDA slot(AP in Odin v3.09+).

6. Install SuperSU to manage root access. Done!

Troubleshooting:

1. Should the NJ4 ota update fail consider flashing back to stock NB1 using either file in this thread: I337UCUFNB1 4.4 Stock Odin Tars, then take the NJ4 ota update. Or, place the I337_NB1_to_NJ4_OTA_Update.zip onto your ext-sdcard and sideload from stock recovery. Once updated to NJ4 continue from Step 2 above.

2. When flashing the kernels the most common cause of an Odin flash failure is a faulty usb port or cable. Please check before reporting a failure!

Notes:

1. After flashing the NC1 kernel your phone may run a little wonky, e.g. extreme lag, no wifi, etc., and towelroot may not root on the first try. If that happens reboot and try towelroot once again. Once rooted and after flashing the NJ4 kernel your phone will again run like a champ!

2. Neither User Data nor knox warranty flag will be affected by following the above process.

3. For a great Noob FAQ see this Post thanks to [MENTION=1942325]gonenorsk[/MENTION]!

Alternative Safestrap Method (Updated 3/29/2015 - Odin no longer required):

1. Place the I337UCUFNJ4_100%_Stock_Rooted_ROM onto your ext-sdcard.

2. From Safestrap recovery press "Backup" and backup your User Data.

3. Once complete, from the main menu press "Wipe" then "Advanced Wipe" and wipe everything but your ext-sdcard.

4. From the main menu press "Install," then select and install the I337UCUFNJ4_100%_Stock_Rooted_ROM.

5. Once complete, press "Restore" and restore your User Data.

6. From the main menu press "Reboot," then "System." Done!

Notes:

1. The above process will not affect your User Data or knox warranty flag.

2. This process will update your Modem, Non-hlos, System, Kernel, Stock Recovery, and Bootloader to NJ4 (BusyBox is also pre-installed).

3. The User Data "Backup" and "Restore" steps in the above instructions are not mandatory but will greatly reduce your device's set-up time. All currently installed non-system apps and settings will be automatically restored.

Credits:

[MENTION=4402483]benwaffle[/MENTION] for his flashboot script(built into the ROM) allowing the flashing of kernels via Safestrap.
[AT&T Samsung Galaxy S 4 General] ted77usa:
[MENTION=4708661]muniz_ri[/MENTION]

U done it again bud..... Amazing
[AT&T Samsung Galaxy S 4 General] unforsaken:
[MENTION=4708661]muniz_ri[/MENTION]

Well that was fast! Good job buddy, keep up the good work!
[AT&T Samsung Galaxy S 4 General] svs57:
Still uploading?
[AT&T Samsung Galaxy S 4 General] jack_ssl:
I337UCUFNJ4 Please Upload Pure OTA File .. I Need To Update .. Please Anyone Help Me Without Rooting OTA .. I Need Help Me
[AT&T Samsung Galaxy S 4 General] racerx002:
Used Safestrap method and it worked flawlessly. Up and running like a champ. Thank you so much!
[AT&T Samsung Galaxy S 4 General] jack_ssl:
Please Help Me

Respected Sir,

Please Upload I337UCUFNJ4 OTA File . I Want To Update . Please Upload File For Upload. Please Anyone Upload OTA Update The File Sir.. From NI1 To NJ4.. OTA File
[AT&T Samsung Galaxy S 4 General] RockRatt:
[MENTION=4708661]muniz_ri[/MENTION] could you pull the Modem, I can package it up and put it in my modem thread? With full credit to you. Let me know here or via PM. Thanks
[AT&T Samsung Galaxy S 4 General] lordnihilusmd:
WiFi Tethering

Thanks guys for the root instructions but WiFi tethering will work or we should wait for NJ4 Modules ?
[AT&T Samsung Galaxy S 4 General] muniz_ri:
The modem img is in the rom zip.
[AT&T Samsung Galaxy S 4 General] RockRatt:
Cool... Thanks. Trying to download now. Thanks again for ALL you do
[AT&T Samsung Galaxy S 4 General] joseph230:
Reverting back ?!

Hello,

Thanks for the good job.

I was wondering, is there possibility of going back to NI1(or NB1) from NJ4? (with odining full rom)

Thanks,
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Yes, you should be able to downgrade back to nb1.
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Wanted to say a quick thx to those that recently donated. Unfortunately paypal does not provide your user name in the notification so i cant pm my thx but you know who you are. Donations are obviously not required but just wanted to say thank you.
[AT&T Samsung Galaxy S 4 General] malanets1990:
Modules

First of all thank you very much for your hard work. The alternative method worked perfectly. Does anyone have the NJ4 modules yet? WiFi not working on mine. :)
[AT&T Samsung Galaxy S 4 General] muniz_ri:
The nj4 modules are already in the rom. Make sure you remembered to flash the nj4 kernel.
[AT&T Samsung Galaxy S 4 General] malanets1990:
I did flash the kernel but WiFi not working
[AT&T Samsung Galaxy S 4 General] muniz_ri:
I would be interested in hearing from others if they are having any wifi issues. Its possible the rom had trouble updating non-hlos. IDK
[AT&T Samsung Galaxy S 4 General] malanets1990:
Hey guys just wanted to clarify my situation. When flashing the stock rom, wifi works with no issues. However when I installed a custom rom the wifi is not working. Thats why I was hoping someone had the modules so I could flash after installing the custom rom. Thanks again!
[AT&T Samsung Galaxy S 4 General] guut13:
Modules have been uploaded here... https://www.androidfilehost.com/?w=files&flid=17227

Thanks for your hard work [MENTION=4708661]muniz_ri[/MENTION].

FYI - Your regular root instructions worked fine for rooting and installing safestrap. After Odin'ing back the NJ4 kernel, I saw the "force close" you were talking about when you try and launch the safestrap app, but the safestrap menu is still there on reboot.
[AT&T Samsung Galaxy S 4 General] jd1639:
You need to open Odin, then put your device in download mode and connect it to your pc via usb. Odin should recognize your device. Then.click on pa and browse to where the nc1 .tar.md5 file is. Then start Odin
[AT&T Samsung Galaxy S 4 General] KxArt:
k

So I locate the kernel after I download, I press ad find me kernel and press start? Or is there a check box I have to check? Again sorry for confusion.
[AT&T Samsung Galaxy S 4 General] jd1639:
Should not check any boxes that are not already checked. Make sure re-partition is NOT checked
[AT&T Samsung Galaxy S 4 General] Velimere:
Okay, so I have a few fine-detail questions maybe someone can answer:

I'm on NC1 rooted with Safestrap. Is it worth upgrading to NJ4 or even NI1?

If so, is it possible to do so without losing any settings on my phone?

If so, how should I proceed about upgrading?
[AT&T Samsung Galaxy S 4 General] KxArt:
Thank you.

Thank you for the patience and understanding. Got it to work you guys are great.
[AT&T Samsung Galaxy S 4 General] jd1639:
No problem:)
[AT&T Samsung Galaxy S 4 General] joeybear23:
Could not get the OTA update or sideload to work, so I restored to NB1 as you said in your troubleshooting steps, and voila!

Thanks!

---------- Post added at 01:59 PM ---------- Previous post was at 01:57 PM ----------

If you can get the OTA to work, you're golden. If you have to sideload or Odin the ROM, I believe you're out of luck.
[AT&T Samsung Galaxy S 4 General] Velimere:
Thanks, (not to sound ungrateful or anything) but questions 2 and 3 are only relevant depending on question 1 (ergo the "if so" qualifiers). :(
[AT&T Samsung Galaxy S 4 General] nate39:
The quick answer is yes because I did it. Question 3 should all be answered on the first page unless I misunderstand the question. Remember to back up data before flashing.
[AT&T Samsung Galaxy S 4 General] chubby_TOOTS:
How did you get past the boot.img in Odin?

Hey i am having your same issue of getting stuck in Odin at boot.img, and it won't go past, but i see you got yours fixed. I didn't see any one reply to your thread though. How did you get past it?
[AT&T Samsung Galaxy S 4 General] KillerNut:
Thanks so much muniz_ri. Worked perfectly on my Galaxy S4 (I337) with 4.4.4
[AT&T Samsung Galaxy S 4 General] muniz_ri:
See the troubleshooting section of the OP.
[AT&T Samsung Galaxy S 4 General] chubby_TOOTS:
Thank you muniz. It turned out to be the usb port i was using. I was super excited when it got past the boot.img, and Odin finalized, and my phone restarted, but now it's been sitting on the "Samsung" screen with a little Unlock Padlock, and the word "Custom" under it. I've rebooted a couple of times, but it's just sitting on that screen. Guess i got a little brick going on. Any suggestions?
[AT&T Samsung Galaxy S 4 General] jd1639:
Factory reset in recovery
[AT&T Samsung Galaxy S 4 General] muniz_ri:
I'm assuming this happened when flashing the first kernel, nc1? If so try pulling the battery and booting into recovery and wiping cache then see if the phone boots.
[AT&T Samsung Galaxy S 4 General] chubby_TOOTS:
Yep it happened when flashing the first kernel, nc1. I booted into recovery and did the wipe cache, and when it rebooted it still got stuck on the "Samsung" screen. Then i tried the "factory reset" mentioned by jd1639, but same thing, just goes back to the Samsung screen, and there it sits.
[AT&T Samsung Galaxy S 4 General] jwhite85:
PIT mapping

Every time I try this using the Towelroot method Odin stops at "Get PIT for mapping". What am I doing wrong?
[AT&T Samsung Galaxy S 4 General] muniz_ri:
I have never myself experienced and have never heard of anyone reporting the phone not booting on the NC1 kernel when running NJ4.

Rather than try to triage the steps you took I suggest you Odin flash back to NB1 and start over.
[AT&T Samsung Galaxy S 4 General] chubby_TOOTS:
Cool yeah I'll try flashing back to the NB1 and starting over. Thanks again for your help.
[AT&T Samsung Galaxy S 4 General] jndrad:
nj4 stock kernel..

odin keeps telling me the nj4 stock kernel is invalid??
[AT&T Samsung Galaxy S 4 General] jd1639:
Try downloading it again. It may be a bad download
[AT&T Samsung Galaxy S 4 General] jndrad:
just tried...same thing....also changed usb port and usb cable ..

exact message is md-5 error.....binary is invalid?
[AT&T Samsung Galaxy S 4 General] jd1639:
Md5 error means it's a bad download. Try downloading with a different browser. If that doesn't work try removing the md5 extension and flashing the resulting tar file
[AT&T Samsung Galaxy S 4 General] jndrad:
works like a charm...thank you
[AT&T Samsung Galaxy S 4 General] jd1639:
What did you have to do? Different browser or renaming the file?
[AT&T Samsung Galaxy S 4 General] jndrad:
rename file...thanks again
[AT&T Samsung Galaxy S 4 General] jndrad:
Can't locate my gps...any suggestions?

..found it..I'm good
[AT&T Samsung Galaxy S 4 General] Velimere:
So I unfroze EVERYTHING in Titanium Backup (KNOX included) to attempt the OTA, but nothing occurred even attempting to check for it. I thought maybe a restart would fix that, but it didn't. Even worse, my microSD card can't even be read now, and my phone says "SD card blank or has unsupported filesystem"! How do I fix this? :crying:
[AT&T Samsung Galaxy S 4 General] joeybear23:
If everything is unfrozen, go here to see if there is an OTA update available to you:

Settings > More > About Device > Software Update

As for your SD card not reading anymore... I don't know, bad coincidence maybe.
[AT&T Samsung Galaxy S 4 General] Velimere:
That's exactly what I tried.

It's absolutely not coincidence. Something that I had previously frozen and unfroze today screwed it up.

Also, I can't access the Safestrap recovery anymore even after reinstalling it.
[AT&T Samsung Galaxy S 4 General] joeybear23:
Well... I'm stumped. I never delved into Safestrap, so perhaps someone else in the thread can pick up here and help out.
[AT&T Samsung Galaxy S 4 General] Velimere:
It doesn't matter anymore; nothing matters anymore. After reinstalling BusyBox and completely uninstalling then reinstalling Safestrap (the APK as well, not just the recovery), I was able to get back my Safestrap recovery. However, after extensively testing my microSD card via phone and USB reader (chkdsk, etc), it is completely unrecoverable, and I cannot even reformat it. Whatever KNOX did after rebooting my phone ruined my precious 128 GB card containing tons of personal media. Luckily the warranty is 5 years...

Long story short:

Samsung hardware will love you long time; Samsung software hates your guts.
[AT&T Samsung Galaxy S 4 General] joeybear23:
Holy crap, your 128GB card is toast? That sucks!
[AT&T Samsung Galaxy S 4 General] Velimere:
Yeah. I managed to replicate this with a 32 GB one that I have (the one I was using before I purchased the 128 GB one) that still has 2 years left on its warranty: I took a bunch of pictures, recorded a few videos, then proceeded to unfreeze all of the bloatware (KNOX included) on my phone and reboot it. Sure enough, the 32 GB microSD is also unreadble now. I'll be waiting to have two cards replaced, but I guess it was worth it to learn what's killing microSD cards in Samsung phones... or at least have a general idea of what it is (hint: KNOX).
[AT&T Samsung Galaxy S 4 General] TARDISMAN:
MY S4 is still on I337UCUFNI1 4.4.2.

Can I use CM on my phone or only TOuchwiz safestrap roms?

Thanks in advance..
[AT&T Samsung Galaxy S 4 General] jd1639:
No, you can't use cm. It works only on 4.2.2, mdb or mdl bootloaders
[AT&T Samsung Galaxy S 4 General] parkerj7uc:
muniz_ri will you be doing anything with the new lollipop 5.0.1 leaked out today for the s4?
[AT&T Samsung Galaxy S 4 General] muniz_ri:
It's for the I9500, not much benefit for the I337.
[AT&T Samsung Galaxy S 4 General] zeroth:
I rooted my galaxy s4 with android 4.4.4, I was wondering if I can install a recovery like twrp, or has to be safestrap?

Thanks in advance.
[AT&T Samsung Galaxy S 4 General] jd1639:
No twrp, only safestrap
[AT&T Samsung Galaxy S 4 General] zeroth:
Thanks for the quick reply. :thumbup:
[AT&T Samsung Galaxy S 4 General] Mstr33t:
I swapped USB cables and it worked fine for me. I didn't think it would be the cable at first because it was brand new. Have you tried that?
[AT&T Samsung Galaxy S 4 General] Whiteouttonight:
Can I just Reinstall Via the OP

I have been having a problem with my S4 overheating for over a month now and want to reinstall NJ4 and start over. I am not sure what it is causing this but I'm sure its something running in the background that I must have messed up. IT Drains the battery like crazy. When ever phone restarts its gets really really hot during boot and once all the icons load i can kind of fix it. I did find a partial solution which is to turn off wifi and data, run DU Battery Saver pro over and over again after rebooting as well as ES Task Manager to KILL Everything over and over again...Then sit the phone on the screen on a tile floor to cool it down, lol. Anyway I'm tired of this and not being able to remedy the cause so I just want to reinstall the rom and start fresh. Do I Just follow the OP instructions since I'm already on NJ4. Also will the data I save before the wipe comeback and bring this problem back after I reinstall and reload the old saved data. I would have gotten to this earlier but I got my Wife an S5 aswell as 3 new Samsung tablets for myself and my kids for Christmas and I have been rooting and messing with all of those all month.,lol. way to many android devices in my house now,lol Thank sagain for the ROM and support.
[AT&T Samsung Galaxy S 4 General] 2Code:
Many Thanks to muniz_ri for sharing this quick and easy root method. Plesae help me with three NOOB questions:

when installing SuperSU, it asks to install "normal Recovery" or "TWRP/CWM" recovery, I chose normal, Is this the correct choice? If not, do I need to uninstall and reinstall SuperSU?

when installing SuperSU, it detects Samsung KNOX, It asks to "deactivate" or "Never", I chose "Never", Is that the correct choice, If not, do I need to uninstall and reinstall SuperSU?

Now that phone is properly rooted and If I wish to flash samsung based ROMs, what recovery do you recommend to install?
[AT&T Samsung Galaxy S 4 General] kb8no:
You are fine.

1. Normal since we have Samsung - Verizon locked boot loader and impossible to have custom recovery.

2. Deactivate Knox. You missed this. Knox will annoy you with warnings. You can use Titanium to freeze Knox app too. Does the same thing.

3. You cannot use locked boot loader for ROM installing. Only Odin. Locked boot loader will not allow you to down grade. You are now stuck on 4.4.4 like the rest of us but we are happy because we have the latest ROM and we are rooted. Just be satisfied.
[AT&T Samsung Galaxy S 4 General] 2Code:
Thanks for quick reply. BTW, mine is a AT&T samsung galaxy Sgh-i337. There a couple of roms I am considering, both claim they are for android 4.4.4 and AT&T baseband i337ucufnj4 , see http://xdaforums.com/showthread.php?t=3013132 and this debloated deodexed rom KISS rom http://xdaforums.com/showthread.php?t=2990641

Rom install instructions refer to custom recovery. Can you help me connect the dots?