Something went wrong while rooting - Android Q&A, Help & Troubleshooting

So I rooted my Galaxy Grand Prime (SM-G530W android 5.1.1) following this guide: skyneel .com/ root-samsung-galaxy-grand-prime-sm-g530w
Odin gave it a pass and everything works fine and it boots. Except for the part where it boots to a blank homescreen (just the wallpaper that I can't interact with) and then loads the lockscreen like 5 minutes later. I can unlock it from there and access only apps that are in my task manager which include settings and snapchat. I get about 2 minutes before settings crashes, and then all I can access is the lockscreen for a bit until it starts working again. My phone constantly vibrates as everything crashes one by one (it gives me the unfortunately x has stopped message; things like media storage server, contacts, touchwiz crash). I can access camera but cant take pictures because media storage crashes. Same with phone but contacts crashes. I've tried clearing the cache partition but that didn't help. SuperSU IS on my phone
TLDR: rooted phone, now everything is crashing constantly, making phone pretty much unusable. Lock screen and notification center is all that works consistently
I did make a backup before using this guide: techrepublic .com/article/how-to-create-a-full-backup-of-your-android-device-without-root/

Sounds like you might not be on the correct build that that root guide is meant for. Did you confirm that you were on the G530WVLU1AOFB update as shown in Settings > About Phone > Build Number? If so, a factory reset might help. If not, that's what caused this and you will need to reload the original firmware via Odin and root with the method for your particular update.

es0tericcha0s said:
Sounds like you might not be on the correct build that that root guide is meant for. Did you confirm that you were on the G530WVLU1AOFB update as shown in Settings > About Phone > Build Number? If so, a factory reset might help. If not, that's what caused this and you will need to reload the original firmware via Odin and root with the method for your particular update.
Click to expand...
Click to collapse
Yes, I did make absolute that I do have that exact version. I'm currently downloading my stock firmware from SamMobile (I'm with Fido/Canada).
Are you saying to factory reset then try and root again?

It should be rooted already. My suggestion is to reset it now. If that does not work, then flash the stock firmware via Odin and try again.

es0tericcha0s said:
It should be rooted already. My suggestion is to reset it now. If that does not work, then flash the stock firmware via Odin and try again.
Click to expand...
Click to collapse
By reset it, do you mean through settings?
And if I reset it, can I restore from backup? I have some game progress that I don't really want to lose

Yes, or through recovery. Depends on what kind of backup and what kind of game it is as to whether it can be restored.

es0tericcha0s said:
Yes, or through recovery. Depends on what kind of backup and what kind of game it is as to whether it can be restored.
Click to expand...
Click to collapse
It's an adb backup done through android sdk

I dunno what the game is or what kind of backup it supports, so couldn't tell you. Either way, I doubt your phone will be fixed without doing some kind of reset. Either via factory reset or reloading the firmware with Odin, which often resets the phone as well, though it depends on the firmware.

es0tericcha0s said:
I dunno what the game is or what kind of backup it supports, so couldn't tell you. Either way, I doubt your phone will be fixed without doing some kind of reset. Either via factory reset or reloading the firmware with Odin, which often resets the phone as well, though it depends on the firmware.
Click to expand...
Click to collapse
Does the reset keep root?

A factory reset will, but not if you reload the firmware via Odin. Root is placed in the /system partition and a factory data reset wipes /data.

Alright, I'm factory resetting now

Okay apparentlty I'm not root after the factory reset.
Alright, I rooted again, and now it works. Thanks.
Unrelated, but which SDK do I download for Xposed framework? I know it's SDK22, but I'm not sure between arm, arm64, and x86 (for a SM-G530w)

up up up

http://forum.xda-developers.com/grand-prime/help/g530-t3302883

Related

true hard reset?

How do I do a full factory wipe of my phone? I know you can go into privacy and do a factory reset but that is for data only isn't it? I want to make the phone how it came in the box. I was rooted and had the lag fix installed but I have undone both in preparation for this. Thanks.
snorge said:
How do I do a full factory wipe of my phone? I know you can go into privacy and do a factory reset but that is for data only isn't it? I want to make the phone how it came in the box. I was rooted and had the lag fix installed but I have undone both in preparation for this. Thanks.
Click to expand...
Click to collapse
You will have to flash it with odin to get back to full stock. why do you need it back to stock?
You can do a "factory format" not a factory reset, and this will erase all data and restore to factory settings. Download my service menu program in my signature to do this. Otherwise do what the last poster did and reflash with odin.
phone seems slower in general than when I got it a few weeks ago, wondering if I messed something up playing with it. also I have a lot of fails when texting. just want to get it back like it came then start over.
snorge said:
phone seems slower in general than when I got it a few weeks ago, wondering if I messed something up playing with it. also I have a lot of fails when texting. just want to get it back like it came then start over.
Click to expand...
Click to collapse
If it was me I would do a Clockwork recovery of the stock rom. Im a little afraid of Odin due to all the bricks I have seen on the forums involving Odin (plus im on a Mac). If you are not returning it to Tmobile you could also try one of the roms that are posted in the forums. I would recomend Bionix or Frankin-twiz. Both devs are spot on with thier roms.
Factory Format Code is *2767*3855#
snorge said:
How do I do a full factory wipe of my phone? I know you can go into privacy and do a factory reset but that is for data only isn't it? I want to make the phone how it came in the box. I was rooted and had the lag fix installed but I have undone both in preparation for this. Thanks.
Click to expand...
Click to collapse
Just do a factory format, all the other methods listed are complicated
Go to dialer and dial in:
*2767*3855#
thats it, it will format your device and set it back to factory.
you can do a soft reset by dialing in
*#*#7780#*#*
SamsungVibrant said:
Just do a factory format, all the other methods listed are complicated
Go to dialer and dial in:
*2767*3855#
Click to expand...
Click to collapse
tried that it erases all your data and settings but doesn't restore anything you have removed. will most likely use clockwork then.

[Q] Full Factory Reset

Anyone know how to go about this on my GSII?
Planning on flashing to Stock and would prefer a fresh start, would just flashing the firmware be sufficient?
I do remember seeing a reset option when pressing power+home+vol down on start. Would ideally like everything to go back to factory and all data deleted, basically factory fresh.
Thanks Guys.
Chronicles404 said:
Anyone know how to go about this on my GSII?
Planning on flashing to Stock and would prefer a fresh start, would just flashing the firmware be sufficient?
I do remember seeing a reset option when pressing power+home+vol down on start. Would ideally like everything to go back to factory and all data deleted, basically factory fresh.
Thanks Guys.
Click to expand...
Click to collapse
Have you rooted and flashed anything or changed anything on /system?
If not, the reset option in recovery would be fine.
If you have, you would need to reflash.
pulser_g2 said:
Have you rooted and flashed anything or changed anything on /system?
If not, the reset option in recovery would be fine.
If you have, you would need to reflash.
Click to expand...
Click to collapse
Thanks for the prompt reply.
Rooted yes, though not sure if anything is changed on/system as a result (I personally haven't).
I've an O2 Handest so would like to unbrand, hence I would be flashing to the actual stock Rom so I'm assuming I would need to Root again anyhow?
Just wondering If I would need to reset then flash, or would flash be sufficient and get rid of everything in the process?
A flash should be enough to clear out anything left behind.
You would obviously flash the O2 UK firmware, and you would want to reset the download mode counter (see the dev section) before you presented it as an "untouched" phone

[Q] How can I restore all settings on the phone, including deleted system apps?

I previously had the S2, I've just got the S3 and I've managed to somehow restore it to factory settings; in this case, factory settings meant nearly no system apps.
I managed to push Play and TiBu to the phone, then restored Swiftkey (the default keyboard was wiped) and then... well, a few hours later, here I am. Play doesn't entirely work, it throws "Server error" whenever I try to use it. I've managed to set up my Google account, though. I'm sure I can restore the remainder of my apps using TiBu, but it'd still be useful to be able to get these apps updated, for example.
I've tried searching and all I can turn up are posts/threads/articles about restoring to factory settings, but this was the problem.
I'd be extremely grateful to someone that could tell me how to:
Get the phone working in the current state (I'll gladly supply any further information required), or;
Restore it to the original, stock, out-of-the-box I9300 ROM and apps
Of course, if another post already does instruct on one or more of the above, I apologise, and I'll gladly look at those if someone could point me in the right direction.
jamess362 said:
I previously had the S2, I've just got the S3 and I've managed to somehow restore it to factory settings; in this case, factory settings meant nearly no system apps.
Thats wrong all system apps should be restored .
Suggest one factory reset phone via recovery menu .
Fails then match your current rom details to one in stock rom/branded rom thread .
http://forum.xda-developers.com/showthread.php?t=1671969
jje
Click to expand...
Click to collapse
Suggest one factory reset phone via recovery menu .
Click to expand...
Click to collapse
I've tried this - multiple times - and it doesn't seem to help. Seems like CM doesn't actually install the stock apps? Unusual, or perhaps I'm doing something wrong.
Fails then match your current rom details to one in stock rom/branded rom thread .
Click to expand...
Click to collapse
I'm currently downloading stock, and will post back when something more has happened.
Hey, so I've tried the above; it seems to work except that the phone gets stuck on the Samsung logo screen while booting.
I'm not sure whether I just need to wait longer for it, but it's been a while now and I'm not sure that this has worked.
Is there any way for me to find out whether I just need to wait, or whether there's something else that's gone wrong here?
Something is going wrong .
Factory restore just reinstalls the last flashed firmware file including all its apps .
Stuck at boot loop pull battery replace and see if it boots if not flash stock firmware again following the instructions .
jje
So perhaps something is seriously wrong.
I've removed then replaced the battery, then I've re-flashed stock firmware, and still stuck on logo screen - the glowing Samsung logo, mind, not the Samsung I9300 screen. But still no luck.
I've rooted my S2 plenty of times with no such problem, I have no idea what to do next, though.
Any more ideas?
Fixen (somehow)
So at some point after one of the backups I've done this morning, it's started working. Not sure why, but hurrah! :laugh:

Every newly installed app crashes at startup

Hello everyone, I hope I'm posting in the good section.
I usually can find solutions to my problems by searching and reading, but this time, I can't, and I have a huge problem.
As the title says, every new application that I install since a few days ago will crash when I try to use it. When I do, the phone will hang for a few seconds, then a message saying "unfortunately, <appname> has stopped", with two choices given: OK and report.
Every other app that was installed before still works. I uninstalled an app that worked and reinstalled it, it doesn't work anymore.
I have a galaxy S3 i9300, with jelly bean 4.1.1 (official rom from my carrier SFR), rooted with SuperSU through exynos abuse.
I don't know exactly when the problem actually happened (realized by trying to install and run new apps), but here is what I did before realizing the problem and that may be the source:
I tried to replace the android.policy.jar file to activate long press volume buttons to change songs. Didn't work, put the original back in place (with total commander).
I tried to installed Xposed after that to activate it, but it crashed too, so I uninstalled it.
Now that I think about it, it may have been with the same error message, but I can't say for sure. I dismissed it, thinking it was not compatible with JB and forgot it.
I uninstalled AdService through the task manager, and reinstalled it after realizing the problem, by using the apk backuped by rootuninstaller. But I can't force stop it from the task manager, so I guess it's not even running.
I also softbricked (stuck on boot logo) it by installing Chainfire3D on JB (I know, stupid of me. I did read the description though, but missed the "doesn't work on JB" somehow). I was able to unbrick it by using "adb -d shell su -c "/system/lib/cf3d_uninstall.sh"" (would that command work if the phone is not rooted by the way? I'd guess yes but I'm not sure) from my computer while the phone was in recovery mode (thanks to a user of this forum for the tip), but it was before all that and I'm sure I installed apps after that that would work.
Now when an app crash, the report is always the same:
Exception class name: java.lang.ClassNotFoundException
Source file: BaseDexClassLoader.java
Source class: dalvik.system.BaseDexClassLoader
Source method: findClass
Line number: 61
The stacktrace is also always the same, and is basically what's above.
I fear that I may have lost some system files (even though I don't remember modifying any beside android.policy.jar nor granting root access to apps that would. I didn't tinker a lot with my phone).
The strange thing though is that old apps still works, which leads me to think that maybe it is thanks to the dalvik cache and odex files that I read about (but don't know much) but that newly installed apps don't have.
I'd really appreciate any kind of help. Otherwise I guess I'll have to reset to factory settings, but I'd like to avoid that if I can.
Thanks in advance.
You're not, General is not for questions. Q&A is
Glebun said:
You're not, General is not for questions. Q&A is
Click to expand...
Click to collapse
Aw, such a fail... So would a kind moderator move the thread there or should I repost it and let this one drown to the abyss of this section?
If no one else comes up with any answers, I'd say that your best option would be to wipe everything and install a stock ROM again. That should sort it out.
DeadSOL said:
If no one else comes up with any answers, I'd say that your best option would be to wipe everything and install a stock ROM again. That should sort it out.
Click to expand...
Click to collapse
That's what I'm thinking about, but I have a question about that: would the reset to factory option from the recovery menu work? I see a lot of people advising to flash a stock rom, is there a difference between both (I do not have CWM)?
And is there a difference between "factory settings" and "store settings"? I mean, if I reset it to factory, will I have my phone in the same state I did when I bought it (with my carriers modifications and apps) or not?
hey01 said:
Aw, such a fail... So would a kind moderator move the thread there or should I repost it and let this one drown to the abyss of this section?
Click to expand...
Click to collapse
You ask via the report button on your post .
Wipe phone factory reset .
jje
hey01 said:
That's what I'm thinking about, but I have a question about that: would the reset to factory option from the recovery menu work? I see a lot of people advising to flash a stock rom, is there a difference between both (I do not have CWM)?
And is there a difference between "factory settings" and "store settings"? I mean, if I reset it to factory, will I have my phone in the same state I did when I bought it (with my carriers modifications and apps) or not?
Click to expand...
Click to collapse
Yes, I always factory reset via Recovery. This will give you a clean ROM with no extra apps installed.
Buuuuuut you need to repair your ROM since you messed with it. Just flash a stock ROM and you're good to go!
DeadSOL said:
Yes, I always factory reset via Recovery. This will give you a clean ROM with no extra apps installed.
Buuuuuut you need to repair your ROM since you messed with it. Just flash a stock ROM and you're good to go!
Click to expand...
Click to collapse
Ok, so I seemed to have mistaken a few things, I thought the factory reset did reinstall the rom, but apparently it just wipes user data and settings. And it also seems that flashing a new rom doesn't erase everything, such as CWM or similar things, right? So I wonder if it would solve my problem or not.
Also, I just realized, when in recovery mode, I have the classic 6 options in blue at the top, but then in the middle, I have this in yellow:
# MANUAL MODE #
-- Appling Multi-CSC...
Applied the CSC-code : SFR
Successfully applied multi-CSC.
And in the background, the android robot lies open with a red warning sign above.
The typo in "Applying Multi-CSC" and the warning sign make me think that this is not as it should be and there is a problem.
Would flashing also solve that problem, if it is one?
I'm sorry for the noob questions, but even though I'm reading a lot of guides and tutorials, I'm still quite confused.
The problem got worse: I did the wipe data/factory reset, and things got worse: when booting, I get dozens of "application stopped". Literally all of them, it's hard to even turn off the phone (need to press ok on all the popup to reach the shutdown button).
So I then tried to flash my phone, but problem again. I followed this guide exactly, but when I press start, Odin 3.04 hangs for a bit and crashes, be it on a windows XP or 7. It writes:
"checking md5... do not unplug the cable
please wait"
and crashes
I then tried to download another version, 3.07, but when I put the firmware in Odin, it does the md5 check at that moment and crashes again, on both computers, so it seems the problem isn't even related to the phone.
My phone is totally unusable now if I can't flash it, I'd really need some help.
hey01 said:
Ok, so I seemed to have mistaken a few things, I thought the factory reset did reinstall the rom, but apparently it just wipes user data and settings.
WRONG it reinstall the rom .
And it also seems that flashing a new rom doesn't erase everything, such as CWM or similar things, right?
Correct unless its a wipe rom .
The problem got worse: I did the wipe data/factory reset, and things got worse: when booting, I get dozens of "application stopped". Literally all of them, it's hard to even turn off the phone (need to press ok on all the popup to reach the shutdown button).
Sounds like the firmware stored in recovery is damaged .
Download a stock rom and flash via Odin and report failure point if it does not work .
jje
Click to expand...
Click to collapse
JJEgan said:
hey01 said:
Ok, so I seemed to have mistaken a few things, I thought the factory reset did reinstall the rom, but apparently it just wipes user data and settings.
WRONG it reinstall the rom .
And it also seems that flashing a new rom doesn't erase everything, such as CWM or similar things, right?
Correct unless its a wipe rom .
The problem got worse: I did the wipe data/factory reset, and things got worse: when booting, I get dozens of "application stopped". Literally all of them, it's hard to even turn off the phone (need to press ok on all the popup to reach the shutdown button).
Sounds like the firmware stored in recovery is damaged .
Download a stock rom and flash via Odin and report failure point if it does not work .
jje
Click to expand...
Click to collapse
Ok, I downloaded another rom from another forum, specific from my carrier, and Odin didn't crash. I flashed my phone, and it's working again. Only thing still worrying is that warning sign over the open android robot if I boot in recovery mode. It is still there and I can't find anywhere what it means.
Click to expand...
Click to collapse
Update, if any case someone has the same problem and ends here:
I tried once again to activate that long press, replace the .jar with another, it didn't work (I guess it does only on deodexed ones). Replaced the new jar by the original one, and the crashing new apps problem arised again.
Being less panicked than last time, I realized the permissions changed. The android.policy.jar should be rw-r--r--, as every other file there, but they were rw-------. So yes, bound to make problems.
So adb -d shell su -c "mount -o remount rw /system"
and then used total commander to change the permissions back to original. Rebooted, it works.

Towelroot and reset

Hi Guys
Awhile back i used towelroot to root my phone. Now with all the talk about the Flashlight app I want to reset my phone. The news article that I read said that if your flashlight app is over a meg in size then it most likely contains spyware. I am not able to boot into recovery mode. I have even tried to use a couple apps called Reboot Recovery and Quick Boot. When I try these two apps or use the pwr,home and vol up it boots to this screen then boots normally
https://www.dropbox.com/s/fkxyrqz1tf6daqs/20141031_014341.jpg?dl=0
The phone has nothing of importance on it because its new, all I want is to get back to factory settings. Its a Samsung Galaxy 3 (Canada)
Thanks
Rick
trickyrick said:
Hi Guys
Awhile back i used towelroot to root my phone. Now with all the talk about the Flashlight app I want to reset my phone. The news article that I read said that if your flashlight app is over a meg in size then it most likely contains spyware. I am not able to boot into recovery mode. I have even tried to use a couple apps called Reboot Recovery and Quick Boot. When I try these two apps or use the pwr,home and vol up it boots to this screen then boots normally
https://www.dropbox.com/s/fkxyrqz1tf6daqs/20141031_014341.jpg?dl=0
The phone has nothing of importance on it because its new, all I want is to get back to factory settings. Its a Samsung Galaxy 3 (Canada)
Thanks
Rick
Click to expand...
Click to collapse
The size of the Flashlight app wouldn't be the main indicator. Did you get the app from the Play Store? If so, look at the permissions of the app. Does it request to look at your contacts, SMS, etc? If so, then be worried and reset. If not, then unlikely it's doing anything untoward. As far as resetting, it's odd that CF Auto Root didn't restore the stock recovery. At this point, you will want to do 1 of 2 things:
1) Use Odin to install the stock recovery.
2) Use Odin to install a proper custom recovery.
With a working recovery in place, then resetting the phone will be a breeze.
Ok i used Odin to install a stock recovery. Odin failed and now I get a messege when I reboot the phone
Firware upgrade encountered an issue. Please select recovery mode in Kies and try again.
Keis will not connect.
Any ideas
ok i was able to use kies to get my phone back to where it was before using Odin.
In Kies I used tools - Firware upgrade and initalization. Got a message that said the device can be initalized to its original settings. All settings and data will be deleted and the latest software version will be installed.
When it was all said and done nothing was deleted all my apps and accounts I installed were still there. I did notice that it removed root
Whats going on
I still want to reset to factory settings
anyone have another way
trickyrick said:
ok i was able to use kies to get my phone back to where it was before using Odin.
In Kies I used tools - Firware upgrade and initalization. Got a message that said the device can be initalized to its original settings. All settings and data will be deleted and the latest software version will be installed.
When it was all said and done nothing was deleted all my apps and accounts I installed were still there. I did notice that it removed root
Whats going on
I still want to reset to factory settings
anyone have another way
Click to expand...
Click to collapse
So after the restore, you still can't get into the stock recovery? And it sounds like you used the wrong recovery. Let me know the model number of your S3 and which build version of the software you are on and I let you know what you should use.
Thanks you were right I got the wrong recovery found the right one did it again and Im good to go
Thanks again
:
trickyrick said:
Thanks you were right I got the wrong recovery found the right one did it again and Im good to go
Thanks again
Click to expand...
Click to collapse
:good::highfive::victory:

Categories

Resources