[Q] Clean Stock ROM after factoty Reset? - Nexus 4 Q&A, Help & Troubleshooting

What happens if i delete some apps storend in /system/app and perform a factory reset? Would my Nexus 4 automaticaly download them from the Internet or Playstore? Or is this a way to have a cleaner Stock ROM without unlock the Bootloader, root and flashing a costom ROM? Or are i'm completely wrong? Sorry for Bad English

HeiBill said:
What happens if i delete some apps storend in /system/app and perform a factory reset? Would my Nexus 4 automaticaly download them from the Internet or Playstore? Or is this a way to have a cleaner Stock ROM without unlock the Bootloader, root and flashing a costom ROM? Or are i'm completely wrong? Sorry for Bad English
Click to expand...
Click to collapse
factory reset only clears all the user data

Doesn't it clear all? Every installed APP , user data .... Almost everything? Like Format all and instal the stock Rom aga in?

HeiBill said:
Doesn't it clear all? Every installed APP , user data .... Almost everything? Like Format all and instal the stock Rom aga in?
Click to expand...
Click to collapse
installed app would be considered user data. it gets reset to before you activated the device. if you deleted system apps, they should still be missing. you can reflash a stock rom if you want them back.

Factory reset = user data + apps
Format /system = everything (OS + photos, etc)

Doesn't it clear all? Every installed APP , user data .... Almost everything? Like Format all and instal the stock Rom aga in?

sorry for upper doublepost
OK. My Idea was to clean up my Phone without unlocking my Bootloader. I hate it when i get some Apps like Google+ or Google Earth or some apps i have never used on my Phone. It is annoying to me every time when i see them in my Appdrawer. So the Idea was to delete the apps i don't use. I thought i could simply delete them and perform a reset. Once they are no longer there the Phone couldn't restore them so i have got a cleaner ROM.

If you delete an app from /system, it will be gone until you re-install it from Play or flash a whole (stock) ROM. Performing a factory reset will only wipe /data and /cache and do nothing else. A factory reset does not install the whole stock ROM again.
Sent from my Nexus 4 using xda app-developers app

HeiBill said:
OK. My Idea was to clean up my Phone without unlocking my Bootloader. I hate it when i get some Apps like Google+ or Google Earth or some apps i have never used on my Phone. It is annoying to me every time when i see them in my Appdrawer. So the Idea was to delete the apps i don't use. I thought i could simply delete them and perform a reset. Once they are no longer there the Phone couldn't restore them so i have got a cleaner ROM.
Click to expand...
Click to collapse
youll need to unlock the bootloader and get root access if you want to delete system apps. but you can relock your bootlader and get rid of root after.

simms22 said:
youll need to unlock the bootloader and get root access if you want to delete system apps. but you can relock your bootlader and get rid of root after.
Click to expand...
Click to collapse
Is it possible to unlock my Bootloader, install cwm, instal a custom Rom get rid of cwm and lock the Bootloader again? And whats when i want to send my phone back in case of warrenty? Could i perform a reset to Stock without unlock the bootloader again?

you can reset to stock at any point by flashing the stock img via fastboot. and you can unluck/lock the bootloader whenever you want.

Thanks a lot for every answer. I love this comunity.

Related

[Q] Factory reset but stay rooted

I rooted my HTC EVO 4G with Unrevoked. Now I need to factory reset the phone but I still want it to be rooted? How do I do this?
DiGiTY said:
I rooted my HTC EVO 4G with Unrevoked. Now I need to factory reset the phone but I still want it to be rooted? How do I do this?
Click to expand...
Click to collapse
What's your goal in factory wiping?
If you factory wipe a rooted phone I believe it will wipe out the ROM and your data and it will only boot to your bootloader.
Factory reset never unrooted my phone. I think root stays unless you want to unroot on purpose.
mattykinsx said:
What's your goal in factory wiping?
Click to expand...
Click to collapse
I'm selling it. I want to sell it rooted. I never installed a custom ROM, I kept the stock HTC Sense ROM.
Just hit factory reset in settings?
DiGiTY said:
I'm selling it. I want to sell it rooted. I never installed a custom ROM, I kept the stock HTC Sense ROM.
Just hit factory reset in settings?
Click to expand...
Click to collapse
If the phone is rooted and you hit "factory reset" I'm pretty positive it will wipe everything including the ROM.
Why not just go into the recovery, wipe /data /system /boot /dalvik and /cache and then flash this?
Just wipe and flash a stock ROM. Boom.
Edit: Words. ^^
Sent from my PC36100 using XDA Premium App
mattykinsx said:
If the phone is rooted and you hit "factory reset" I'm pretty positive it will wipe everything including the ROM.
Why not just go into the recovery, wipe /data /system /boot /dalvik and /cache and then flash this?
Click to expand...
Click to collapse
Factory Reset will not remove the root. The superuser app as well as the root was flashed into the phone's factory state. Resetting only wipes user data, not system files, including the superuser app.
shortydoggg said:
Factory Reset will not remove the root. The superuser app as well as the root was flashed into the phone's factory state. Resetting only wipes user data, not system files, including the superuser app.
Click to expand...
Click to collapse
Now now, I didn't say it would remove the root.
All factory reset does is reset everything back to when you first installed whatever ROM you have. It basically erases all the data and settings. It won't delete the rom, nor will it unroot you.
Tripp-phpBB said:
All factory reset does is reset everything back to when you first installed whatever ROM you have. It basically erases all the data and settings. It won't delete the rom, nor will it unroot you.
Click to expand...
Click to collapse
It wipes /data which is why I suggest he does http://forum.xda-developers.com/showpost.php?p=15091602&postcount=5 so the whole thing is clear of any of his data and is running completely fresh.
Unless the OP has anymore questions, not to sound like a moderator, the thread's kinda over with.
So, just to be clear, hitting factory reset in Settings will delete all apps I downloaded and all data & settings for both downloaded and system apps then re-add the system apps plus SuperUser for root privileges?
DiGiTY said:
So, just to be clear, hitting factory reset in Settings will delete all apps I downloaded and all data & settings for both downloaded and system apps then re-add the system apps plus SuperUser for root privileges?
Click to expand...
Click to collapse
It'll do all that but it won't re-add anything, the superuser app is in the /system and it wont touch that.
Best thing to do is the post where I link you.
Factory reset will leave you with the phone exactly how it would be bone stock. It will have root, but wont have Superuser. You should just flash Xhausx stock ROM and be done with it.
joehunni said:
It will have root, but wont have Superuser.
Click to expand...
Click to collapse
Yes it will, superuser is in the /system partition.
I pulled my skirt down and just did it (Factory data reset via Settings). Everything was deleted, system apps plus SuperUser was still there and the phone is still rooted (tested and confirmed). Thanks everyone!
mattykinsx said:
Yes it will, superuser is in the /system partition.
Click to expand...
Click to collapse
I stand corrected...
joehunni said:
I stand corrected...
Click to expand...
Click to collapse
I didn't mean to be a jerk I just didn't want the OP to get the wrong idea.
mattykinsx said:
I didn't mean to be a jerk I just didn't want the OP to get the wrong idea.
Click to expand...
Click to collapse
Nah you're good, just acknowledging that I was wrong lol.

Xperia Play epicly failing....please help?

What's going on guys? I've had my Play for a while and for the most part I love it...def could be faster but thats ok.
So, the problem. I'm rooted, but stock rom and kernel. I was using go launcher, go sms and have alot of apps, a 32gb sd card thats almost full. I installed go locker a couple nights ago and it was running great. Then, the next day, I have no clue if it relates to go locker...but now my phone is like on life support or something!
75% of apps force close upon opening, the phone is deathly slow if it doesnt close...like I'll open up "settings" and it will either FC or take 2 minutes to load up...then it loads and I click something and it FCs. SOMETIMES an app will open fine, play fine. Like muffin knight, sometimes it opens and plays 100%. other times it instantly FCs over and over. Every single app no matter how complex is subject to the same problems in the same way.
I honestly have no clue wtf is wrong. It feels analgous to a computer virus. Everything is bogged and broken. I tried cleaning my phone. I uninstalled every launcher and theme app, and then uninstalled about a dozen apps I dont use alot. I left mself with the bare minumum....Id then open the "messaging" app and it would crawl open to greet me with a force close. It doesnt seem to be a problem with any specific app.
I checked battery use....very normal stuff. I don't know whats going on!! but my phone barely works....someone will call and it will take 10 seconds for me to be able to slide the slider and accept the call...
Anyone have any direction for me? I don't want to flash any kernels or roms yet (waiting for 100% stability) and I'm busy right now w tests and I just want my phone back to how it was a few days ago. I'm using adw launcher now and its the same as with the go launcher or without anything....slow, force closes everywhere, hang ups everywhere...
thanks SO much for any help from anybody...I really appreciate it.
What device are you running? R800x? R800i?
Is your bootloader unlocked? What firmware/android version are you on?
Sent from my R800x using XDA App
Leraeniesh said:
What device are you running? R800x? R800i?
Is your bootloader unlocked? What firmware/android version are you on?
Sent from my R800x using XDA App
Click to expand...
Click to collapse
r800x, unlocked bootloader through hardfix with Alejandrissimo....and most current Verizon firmware so 2.3.4 (right?)
since I rooted it I haven't messed it with it much, just took the liberty of using apps like root explorer and stuff
Dyelon said:
r800x, unlocked bootloader through hardfix with Alejandrissimo....and most current Verizon firmware so 2.3.4 (right?)
since I rooted it I haven't messed it with it much, just took the liberty of using apps like root explorer and stuff
Click to expand...
Click to collapse
If you have CWR installed I'd try to wipe the cache and dalvik cache. I've had weird things like that happen and wiping them fixes it.
Sent from my R800i using Tapatalk
Clienterror said:
If you have CWR installed I'd try to wipe the cache and dalvik cache. I've had weird things like that happen and wiping them fixes it.
Sent from my R800i using Tapatalk
Click to expand...
Click to collapse
I don't think I do....I'm really noob when it comes to the in depth rooting stuff but I don't even think I have a nandroid backup...
I can boot to that orange screen and I did save my state when I initially rooted...
How do I clear the caches for that stuff? Davlik, can that be done thru titanium backup?
and what about the other cache? How do I see if I have clockword recovery? (I never intentionally installed it so I don't think I have it?)
Okay so I wiped the davlik cache (like 24mb) thru titanium backup....and then I reinstalled the market (one of the more troublesome apps to open)...and then rebooted.
Tried opening a few apps in succession upon boot, and for the first time ever the phone froze and rebooted itself!
What the hell is going on?? Lol my phone was fine a few days ago and now its just insufferable!!
Any more ideas as to whats going on?
I never dled clockwork mod so I don't think I can wipe that cache?
Deleting dalvik-cache via Titanium Backup only deletes "unneeded" caches. You need to delete every dalvik-cache by going into data/dalvik-cache and deleting every file in it. Then reboot, which will rebuild the caches (first boot will take a while)
jacklebott said:
Deleting dalvik-cache via Titanium Backup only deletes "unneeded" caches. You need to delete every dalvik-cache by going into data/dalvik-cache and deleting every file in it. Then reboot, which will rebuild the caches (first boot will take a while)
Click to expand...
Click to collapse
I deleted every file in the davlik cache folder...rebooted.
No change. Takes 10 seconds to open the phone...everything is slow/force closing.
Sigh. My phone is possessed and/or dying.
Then I suggest backing up your user-apps (if still possible) and doing a factory reset
Do a nandroid backup, then factory reset. Then install apps one by one testing for stability after each. If an app is causing problems that will identify it. Or provide us with a list of your apps and we could help determine if one of them may be the culprit.
jacklebott said:
Then I suggest backing up your user-apps (if still possible) and doing a factory reset
Click to expand...
Click to collapse
Wouldn't factory reset erase my root? Or no?
I paid for that root haha that would be disappointing
Dyelon said:
Wouldn't factory reset erase my root? Or no?
I paid for that root haha that would be disappointing
Click to expand...
Click to collapse
I assume you paid to unlock the bootloader (reset does nothing to this). Root is much more easily obtained
http://forum.xda-developers.com/showthread.php?t=1312859
It won't. factory rest doesn't wrote the system partition where root is located.
Factory reset.
Please dont be scared of losing root, just use the search bar and type in doomlord zergrush. His script has to be the easiest most automated way to get root on any xeria firmware ever
TheCraig said:
Factory reset.
Click to expand...
Click to collapse
Just want to thank you guys alot. I backed up everything i cared about in Titanium and did a factory reset...everythings running 100% now and I have all my apps back in place...
I really appreciate the help

Noob question about formatting

Hi all, I have an N4 running Paranoid, may I ask how to delete all my user apps, pics, music etc while retaining the custom rom? Thanks
beerope said:
Hi all, I have an N4 running Paranoid, may I ask how to delete all my user apps, pics, music etc while retaining the custom rom? Thanks
Click to expand...
Click to collapse
Do a factory reset in your recovery of choice.
Sent from my N4, wanna know what I am doing? Check http://team-fun.eu
beerope said:
Hi all, I have an N4 running Paranoid, may I ask how to delete all my user apps, pics, music etc while retaining the custom rom? Thanks
Click to expand...
Click to collapse
Just do a factory reset in Settings > Backup & reset > Factory data reset. This will just get rid of your personal data and go back to how the rom is in a clean install with no user customizations etc. Doesn't affect the rom itself.
SMillerNL said:
Do a factory reset in your recovery of choice.
Click to expand...
Click to collapse
all the photos music will still be there
thunderstorm654 said:
Just do a factory reset in Settings > Backup & reset > Factory data reset. This will just get rid of your personal data and go back to how the rom is in a clean install with no user customizations etc. Doesn't affect the rom itself.
Click to expand...
Click to collapse
Yeah, do this and get a soft brick
beerope said:
all the photos music will still be there
Yeah, do this and get a soft brick
Click to expand...
Click to collapse
See attached screenshot. It quite clearly tells you when you press factory reset it will remove everything from your internal storage.. it's not a 'soft brick'.
Hmm, and if i want to wipe everything and go stock (soon leaked 4.4 image) from custom rom - get clean device/ "fresh start" with 4.4?
MrKaupo said:
Hmm, and if i want to wipe everything and go stock (soon leaked 4.4 image) from custom rom - get clean device/ "fresh start" with 4.4?
Click to expand...
Click to collapse
For that use one of the toolkit and flash stock image. It will wipe everything and restore back to factory stock.

[Q] Galaxy S5 LAG after Lollipop update

Hey guys, I have updated my S5(f-version) from kitkat to Lollipop via KIES3 and it was working alright.
I thought rooting it would make it better, but now I feel it's just worse...
But now my applications constantly crashes, for an example - when recieving call the app crashes making me missing the call.
Opening gallery takes up to 7 seconds, and other apps 2-4 seconds (if not more). Which is getting very frustrating,
I dont know how to downgrade to kitkat, but I would love to do so. And then install XPOSED
Things i have done
Cleared partition cache
freeing memory
restarting the phone
unrooting
rooting
This isn't because of lollipop. The problem is something your doing or your device-
Either you did something wrong when rooting or something else.
What method did you use to root the phone?
Did you wipe data?
Make a backup in recovery and wipe data, dalvik, cache. Reflash, root and report back.
cykel said:
Things i have done
Cleared partition cache
freeing memory
restarting the phone
unrooting
rooting
Click to expand...
Click to collapse
They recalled the update they are fixing the update.
lingowistico said:
This isn't because of lollipop. The problem is something your doing or your device-
Either you did something wrong when rooting or something else.
What method did you use to root the phone?
Did you wipe data?
Make a backup in recovery and wipe data, dalvik, cache. Reflash, root and report back.
Click to expand...
Click to collapse
I had the same problems before rooting it, and thought rooting it would make a difference.
I followed all the steps correctly
If you updated from KK to LP, it is highly advisable to factory reset the phone after the update, KK leaves behind rubbish files that cause all sorts of problems, factory reset solves a big number of them
*Detection* said:
If you updated from KK to LP, it is highly advisable to factory reset the phone after the update, KK leaves behind rubbish files that cause all sorts of problems, factory reset solves a big number of them
Click to expand...
Click to collapse
My S5 is rooted, should I unroot it and factory reset trough the phone? I dont think I can acess the android recovery mode, when I try all I get is into the TeamWin one
cykel said:
My S5 is rooted, should I unroot it and factory reset trough the phone? I dont think I can acess the android recovery mode, when I try all I get is into the TeamWin one
Click to expand...
Click to collapse
No need to unroot first, but you might need to root again after
You should be able to factory reset from TWRP too - through phone or TWRP will work fine
cykel said:
I had the same problems before rooting it, and thought rooting it would make a difference.
I followed all the steps correctly
Click to expand...
Click to collapse
*Detection* said:
If you updated from KK to LP, it is highly advisable to factory reset the phone after the update, KK leaves behind rubbish files that cause all sorts of problems, factory reset solves a big number of them
Click to expand...
Click to collapse
cykel said:
My S5 is rooted, should I unroot it and factory reset trough the phone? I dont think I can acess the android recovery mode, when I try all I get is into the TeamWin one
Click to expand...
Click to collapse
*Detection* said:
No need to unroot first, but you might need to root again after
You should be able to factory reset from TWRP too - through phone or TWRP will work fine
Click to expand...
Click to collapse
Like detection pointed out, you don't need to unroot to do a factory reset.
Android Recovery = very basic and limited recovery.
TeamWin = everything the above one has plus lots of more useful functions (same goes for CWM)
When I said wipe data, cache and dalvik cache I assumed you knew what that means. Judging from your reply you don't. It means to do a factory reset, in recovery (whether it's TeamWin or whatever, doesn't matter). Be sure to make a backup in recovery if you don't want to lose data like sms messages etc.

[Q] Modified Platform.xml most apps crash and phone is unuseable

Hey guys, I'm having a serious problem with my Note 3 running kitkat, I attempted to modify the platform.xml and I don't exactly know what I did but i was attempting to allow apps to write to my external SD card, but I didn't change the permissions on it now the device literally is as about as useful as a brick.
-It will not run apps
-Internet doesn't work
-Various other problems
I've had a look at some other threads but my knowledge on androids is quite little, It was rooted by a friend who didn't exactly explain Rom's for android. So I'm wondering what I can do because I have some important things on my phone I do not want to loose, and from what i'm aware of a factory reset isn't the best option, if there's a way other than factory restoring it, I did see another solution with using ADB I think it was but i'm sure there is another way I can fix it. Note: Cannot browse any files or modify them they're not visible.
Thanks
Edit: Tried a factory restore from the restore menu I had with the root called CWM-base recovery same issue still popped up.
2nd Edit: Fixed the issue wasn't easy(This is for the people that have the same issue) I basically used android debug bridge to install root explorer, just download the android SDK from google and look up a tutorial on how to install apps, I modified the xml file to a stock one I had in the /system before I modified it, due to the apps crashing nothing would open so I couldn't do this, after that I restarted the phone made sure the apps crashed again, this was a good thing that they crashed, all I did after that was a factory reset never lost app data or my text files, everything is working and thank you guys for the help Some of my apps were gone but I had written them down so yeah, it was an annoying issue not exactly an easy fix b ut it works.
Hey. If u perform data wipe in recovery, u do not lose any files from your phone so this should be safe.
Unfortunately I have no idea how to fix the problem with XML file, but u can safely wipe your phone or reflash your rom.
Sent from my SM-N9005 using Tapatalk
kurpen said:
Hey. If u perform data wipe in recovery, u do not lose any files from your phone so this should be safe.
Unfortunately I have no idea how to fix the problem with XML file, but u can safely wipe your phone or reflash your rom.
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
"data wipe in recovery" By this do you mean the volume up + volume down + home till you get to the menu and press the restore? I just read this somewhere sorry for the noob question?
U press home +volume up +power button combo, until it reboots into recovery. Then you select wipe and factory reset or similar option. Just do not perform perform any formats, cause that's what erases your data. fingers crossed!
Sent from my SM-N9005 using Tapatalk
kurpen said:
U press home +volume up +power button combo, until it reboots into recovery. Then you select wipe and factory reset or similar option. Just do not perform perform any formats, cause that's what erases your data. fingers crossed!
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
I pressed that some little blue and yellow writing came up and my phone's screen went black I guess it either ran out of charge or something else i'll just wait and thanks so much for the help.
Always remember to have your phone over 30-40% of battery when u go to recovery to avoid your phone going off when messing with your phone
If u can get your phone to recovery, you can try to copy important files from there to your of and completely wipe everything and flash a new ROM.
Sent from my SM-N9005 using Tapatalk
kurpen said:
Always remember to have your phone over 30-40% of battery when u go to recovery to avoid your phone going off when messing with your phone
If u can get your phone to recovery, you can try to copy important files from there to your of and completely wipe everything and flash a new ROM.
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
So once my phone comes back on I can do a factory reset and hope for the best? I don't really want all of my apps to go or anything i've installed on the actual device, so when I do a factory reset will this remove everything i've got, i'm not entirely sure how i'd copy the files on to my pc because I couldn't browse anything on the device last time i plugged it in after I modified the platform.xml
You will keep your files but all the apps will be removed, so you will need to install them back. Probably you could copy the file you messed up from someone else and try to get tour phone back up but I am not sure how to do it.
Sent from my SM-N9005 using Tapatalk
kurpen said:
You will keep your files but all the apps will be removed, so you will need to install them back. Probably you could copy the file you messed up from someone else and try to get tour phone back up but I am not sure how to do it.
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
Ok thanks a ton for the help, I'm going to see if there's a way to use the adb utility to pull the file I damaged get a stock one and push it, I don't know if it will work but i'll give it a go, or should I just do a factory reset? I'd prefer to keep my apps but if it means I have to wipe them I will.
You can give it a try and then if it doesn't work, do the factory reset
Let us know how u do
Sent from my SM-N9005 using Tapatalk
kurpen said:
You can give it a try and then if it doesn't work, do the factory reset
Let us know how u do
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
Did the factory restore, via the boot thing same issue and the stupid app crashing, I'm puzzled on what to do. Any other solutions I'm concerned my phone is literallly broken now.
Factory reset does only reformat cache, Dalvik and data partition. If you tinkered with your system one and rendered something useless, it won't help you at all to do a factory reset. It just does not touch the normally READ ONLY system. If you wanna fix it, and you have no setting to fix permissions in TWRP/CWM you have to reflash the system, either by reflashing the custom ROM you used from there or by using Odin and flashing the original system back to it. This is why you ALWAYS should have a TWRP (or if you really think about outdated stuff... CWM) FULL backup ready and armed.
emuandco said:
Factory reset does only reformat cache, Dalvik and data partition. If you tinkered with your system one and rendered something useless, it won't help you at all to do a factory reset. It just does not touch the normally READ ONLY system. If you wanna fix it, and you have no setting to fix permissions in TWRP/CWM you have to reflash the system, either by reflashing the custom ROM you used from there or by using Odin and flashing the original system back to it. This is why you ALWAYS should have a TWRP (or if you really think about outdated stuff... CWM) FULL backup ready and armed.
Click to expand...
Click to collapse
Didn't think about fixing permissions. Worth giving it a try.
Sent from my SM-N9005 using Tapatalk

Categories

Resources