Related
I'm running MK2 rooted and recently my phone stopped charging. I've tried everything to get it to work, I'm fairly certain it's a hardware failure. I know I can probably replace the connector myself, but I prefer warranty. I've backed up everything (via cloud) and now I want to restore to factory settings. I can't use ODIN because the problem also prevents me from connecting to a computer.
Is it safe to perform the phone's "Factory data reset". Will have restore to factory setup?
Thanks.
dwestall said:
I'm running MK2 rooted and recently my phone stopped charging. I've tried everything to get it to work, I'm fairly certain it's a hardware failure. I know I can probably replace the connector myself, but I prefer warranty. I've backed up everything (via cloud) and now I want to restore to factory settings. I can't use ODIN because the problem also prevents me from connecting to a computer.
Is it safe to perform the phone's "Factory data reset". Will have restore to factory setup?
Thanks.
Click to expand...
Click to collapse
It should work just fine. Keep in mind the root binary is installed to system though so you might get custom flag for that.
I don't think factory reset works on rooted phones that have been encrypted.
Tronicus said:
I don't think factory reset works on rooted phones that have been encrypted.
Click to expand...
Click to collapse
My phone is not encrypted, but thanks for the tip.
DeadlySin9 said:
It should work just fine. Keep in mind the root binary is installed to system though so you might get custom flag for that.
Click to expand...
Click to collapse
I'm only rooted and haven't installed a custom recovery or custom rom. If I factory reset, can at&t tell my phone was once rooted?
dwestall said:
My phone is not encrypted, but thanks for the tip.
I'm only rooted and haven't installed a custom recovery or custom rom. If I factory reset, can at&t tell my phone was once rooted?
Click to expand...
Click to collapse
Yes, the su binary will stay there and trip the custom flag. If you want to remove that, either download and flags the ODIN package for your system or use SuperSU to unroot.
Sent from my SGH-I337 running GPE
DeadlySin9 said:
Yes, the su binary will stay there and trip the custom flag. If you want to remove that, either download and flags the ODIN package for your system or use SuperSU to unroot.
Click to expand...
Click to collapse
Can't use ODIN, the USB port doesn't work. So, I un-rooted in SuperSU, restarted the phone, then performed the Factory Data Reset. Everything is now reset, the phone still doesn't charge, the USB port still doesn't work. However, now when I turn on the phone I get the "Custom" lock icon. Not sure what I did wrong. I guess I'll have to repair it myself now?
dwestall said:
Can't use ODIN, the USB port doesn't work. So, I un-rooted in SuperSU, restarted the phone, then performed the Factory Data Reset. Everything is now reset, the phone still doesn't charge, the USB port still doesn't work. However, now when I turn on the phone I get the "Custom" lock icon. Not sure what I did wrong. I guess I'll have to repair it myself now?
Click to expand...
Click to collapse
You might of still had busybox, or if you had frozen system apps or something. I'd say see if you can use towelroot real quick, install a busybox app, remove it, and then unroot again. You also need to remove safestrap if you ever had that. Before doing that, restart your phone a few times though, as sometimes it won't change immediately or will say custom after a fresh install.
DeadlySin9 said:
You might of still had busybox, or if you had frozen system apps or something. I'd say see if you can use towelroot real quick, install a busybox app, remove it, and then unroot again. You also need to remove safestrap if you ever had that. Before doing that, restart your phone a few times though, as sometimes it won't change immediately or will say custom after a fresh install.
Click to expand...
Click to collapse
I never installed Safestrap, but I did freeze a number of system apps using Titanium Backup and I never unfroze them before I did the unroot and factory reset. I also had Xposed framework and Wanam Xposed module still installed, which I now understand can cause issues.
What would you suggest I do to get rid of the "custom" lock? I've restarted the phone 6-7 times and the lock is still there. Would running Towelroot still work with my situation? Is there anything else I need to do before I unroot again, like unfreeze apps or revert the Wanam Xposed settings?
Thanks for you help.
I got my new S5 (SM-G900W8, Telus) and I rooted using Towel Root. I installed a bunch of root apps, including Titanium Backup. I then proceeded to remove apps (backing them up first). I removed TouchWiz (backing it up) and used Nova. A few days later, I decided to activate UPSM (Ultra Power Saving Mode), and found that my entire screen went black, I could only drop down the notification bar, I had no apps, no ability to deactivate it.
I googled and found no way to force UPSM to turn off. I tried charging to full, no. I eventually restarted, and my phone got stuck on the "Samsung" logo, in black and white. I everything I could think, and then just decided to factory reset. I re-installed all my apps, and stuff, and just remembered that I didn't backup Titanium Backup, so I couldn't re-install TouchWiz.
What do I do now? I'd like to use UPSM, but I would prefer to not soft-brick it, and have to factory reset it after everytime I use it. I know I'm n00b, and it was my first rooted phone, and I should have researched first, but oh well.
Is there anything I can do to get TouchWiz back without tripping the KNOX counter (i.e. reflashing my phone to get it back)?
Once rooted I don't think you can use UPSM. You could install a TouchWiz based ROM with safestrap and probably get similar functionality, but I don't believe ultra power saving mode is available after rooting.
Find a rom for your device and either flash that, take the apk out and put it in your system/priv-app, or find someone here to post it for you. It's called TouchWizHome.apk. Seeing as how you don't want to trip Knox you will need to put it back yourself using something like root explorer.
Actually. Look at this thread here http://forum.xda-developers.com/showthread.php?t=2732110. The second post has all the bloatware that was removed that I think you can add back.
There are a number of threads about these two topics, I am going to consolidate my findings here.
First off root works great on the Sprint variant, secondly so does Xposed with S-Health and private mode. You just have to be careful how you set them up. There have been a lot of posts about freezing S-health and Private mode then clearing data but from my experience that is hit or miss. There are four basic steps to getting everything working and it should be done from a factory reinstall of software.
Root using Chainfire autoroot for Sprint and Teamwin 2.8.1.1 for Sprint (NOT THE RECOVERY IN THE EASY STEP ROOT THREAD) It will fail just pull the battery and boot to download to install the recovery (buttons HOME, VOLUME DOWN, AND POWER) boot to recovery then install supersu
Download and install Xposed (not Wanam) download and install XSecure Health module install Xposed framework reboot
Activate Xsecure Health module reboot
Clear Data for Health Service and S-Health reboot
Run Private mode and set up, run S-Health and setup.
Setup your Google and Samsung accounts
If you do these steps exactly without doing anything else I can promise you will have a rooted Sprint version with Xposed, Shealth, and private mode working. When I say exactly I am serious there are a lot of things that can/will mess you up like
Signing into google or samsung on reboot after installing factory software
Starting private mode before setting up xposed
Shortcutting by doing a factory reset instead of a factory software reinstall
Restoring your data Nandroid backup (Use Titanium etc for a program by program reinstall of apps)
BTW the problem here is a little bit deeper than uninstall xposed everything works. There is a something that is changed in the software with either xposed or wanam that can permanently kill private mode until you do a factory install. At the moment I am doing Nandroids before any change I make in Xposed.
The X secure module help my 915k to get s health back after trying all other advice, thanks
Sent from my SM-T705 using XDA Free mobile app
No problem, I've found that the xsecure can help with s-health, all these steps are for getting both working
Sent from my SM-N915P using Tapatalk
Howdy,
I got a new Note 4 from Bell Mobility about a month ago...
I updated the software, rooted it and installed the Wanam modified Xposed framework.
I have lost the automatic rotation, except for the built in camera software. Nothing else will auto-rotate. Checked the gyroscope and checked a few 'leveler' applications - all tests pass. Oddly I noticed the camera software still auto-rotates, no idea why it is special.
I tried the Wanam Xposed module to 'Enable all rotation angles' it has made no difference. With screen rotation software, currently have "Rotation - Orientation Manager by Pranav Pandey" installed. Auto-Rotate On and Forced Auto-Rotate neither option will rotate the screen when I turn my phone. If I choose Forced Landscape, it will go into Landscape mode. The only way to return to Portrait though is to use one of the Force Portrait options though.
My other issue is with turning on Device Encryption... Using SuperSU Pro for su..
If I just go through the prompts without changing anything, it reboots but doesn't encrypt.
First I tried installing as a system app so I could use the Disable function in the Android Application Manager, as I did with my Note 2, SuperSU tells me "Not (currently) available in system-less root mode".
If I turn off "Enable Superuser" in SuperSU, encryption enables properly, but I am unable to turn the "Enable Superuser" again, it says it has to update, but the fails. Suggests a reboot and try again. Sadly, this did not help.
I had success with one of the exploit root methods, KingRoot. While this worked when my phone was encrypted, it wasn't stable and kept popping up stuff. I tried to replace it with SuperSU, there are a few guides written to do just that, but they all indicate that it is very hard to get rid of, regardless, none of the guides worked for me. I ended up resetting the phone and starting over...
I tried the CLI command to start the device encryption from a # prompt..
vdc cryptfs enablecrypto inplace password 1234567890abcdef
The phone rebooted a couple times, but took a very long time (hour plus) to come back to the Android Lock-Screen.. But still a non-encrypted device. If I intrupted the process because I thought it had crashed, it started up and immediately told me something when wrong with the encryption and I need to use Recovery to reset the device..
As for root methods, I was using the CF-Auto-Root at first, trying to look for solutions to both issues, I tried a few ways of getting SuperSU installed.. The last time I reset I tried the "SkipSoft Unified Android Toolkit" method. 'Grasping at straws' to get SuperSU installed into /system so can use the Applicaiton Manager to disable and enable it...
My mobile's specifics, if it matters..
Samsung Galaxy Note 4
Model number - SM-N910W8
Android Version 5.1.1
Baseband version - N910W8VLU1COK3
Build number - LMY47X.N910W8VLU1COK3
Currently have the Team Win Recovery Project v2.8.7.0 recovery software installed.
I am looking for suggestions for both issues, but really want to avoid resetting the phone if I can at all possible... Yes, I have Titanium Backup Pro installed, but have never actually gotten a restore to properly restore all my applications and data... I rely on it now just for the Uninstall and Freeze features.
For an update,
I also noticed that rotation works on the Lock Screen and in the camera applicaiton.
If I rotate my screen on the Lock Screen, the red handset picture and camera icons rotate.
If I rotate in the camera application, nothing changes position, but all the icons rotate as well.
I'm still completely stuck though, open to suggestions...
For rotation, it is likely caused because you removed the com.thingy.facebook system app. I tried removing it because I thought is was bloatware but read somewhere that messing around with it cause the auto rotate and pedometer to fail. I fixed it by reflashing the rom without data wipe then never removed it again. Page Manager is safe to remove though.
uchihakurtz said:
For rotation, it is likely caused because you removed the com.thingy.facebook system app. I tried removing it because I thought is was bloatware but read somewhere that messing around with it cause the auto rotate and pedometer to fail. I fixed it by reflashing the rom without data wipe then never removed it again. Page Manager is safe to remove though.
Click to expand...
Click to collapse
Thank you,
I had it frozen for a while, completely uninstalled it, trying to see if lack of space was why I couldnt' get SuperSu to become a System App..
I will try to put the facebook app back to see if that helps. Hoping I don't need to do a ROM reset, but if that is what it takes.
kevinds said:
Thank you,
I had it frozen for a while, completely uninstalled it, trying to see if lack of space was why I couldnt' get SuperSu to become a System App..
I will try to put the facebook app back to see if that helps. Hoping I don't need to do a ROM reset, but if that is what it takes.
Click to expand...
Click to collapse
Thank you http://forum.xda-developers.com/member.php?u=5047956
I tried installing FaceBook from the PlayStore, no change.. So I uninstalled it again.
Took a backup in Titanium Backup and in TWRP.
From the stock image, I extracted system.img.ext4 and used SkipSoft's application to make just this file Odin flashable..
Flashed it.. When I got back to Android, my phone hadn't reset (what I was going for ), rotation is working, SuperSU still giving root access
I went back into Titanium Backup, the freshly installed apps were listed on top, because there was no backup of them.
Froze each, one at a time and checked the rotation after each.. Froze all the apps with no backups, and rotation stayed working, which I thought was odd for what fixed it.
So.. The Facebook applications are all frozen, as they were before I erased them the first time, and rotation still works. Hurray..
Now for the device encryption, I will keep messing with it.. Trying FlashFire to mount System as RW and to write the newest version of SuperSU, hopefully it will install to System this time.
Thank you again.
kevinds said:
Thank you http://forum.xda-developers.com/member.php?u=5047956
I tried installing FaceBook from the PlayStore, no change.. So I uninstalled it again.
Took a backup in Titanium Backup and in TWRP.
From the stock image, I extracted system.img.ext4 and used SkipSoft's application to make just this file Odin flashable..
Flashed it.. When I got back to Android, my phone hadn't reset (what I was going for ), rotation is working, SuperSU still giving root access
I went back into Titanium Backup, the freshly installed apps were listed on top, because there was no backup of them.
Froze each, one at a time and checked the rotation after each.. Froze all the apps with no backups, and rotation stayed working, which I thought was odd for what fixed it.
So.. The Facebook applications are all frozen, as they were before I erased them the first time, and rotation still works. Hurray..
Now for the device encryption, I will keep messing with it.. Trying FlashFire to mount System as RW and to write the newest version of SuperSU, hopefully it will install to System this time.
Thank you again.
Click to expand...
Click to collapse
This is amazing, can you please post the odin flashable file? I am having this exact problem right now because I removed it in TB. Is it just the facebook file that are flashed? Thanks so much in advance, you're saving my life here
Hi there
I wanted to add Messenger to UPSM screen (Ultra power saving mode), so I've tried UPSM Manager and UPSM+. None of them worked on my Galaxy S5 however, after few tries almost all of my apps disappeared. There are a few left. System: Contacts, Text messages, Phone, Settings plus Google and Lockwatch. That's all. The rest disappeared.
On application manager in settings I can see all of them, most of them have status "disabled".
I've downloaded those two apps from here:
UPSM Manager - https://forum.xda-developers.com/showthread.php?t=2751785
UPSM+ - http://downloadapk.net/down_UPSM-ROOT.html
I've read that there is a very high probability that they won't work and that Google does not refund price in such case hence downloading .apk - could it be some kind of trojan from the 2nd link?
I've connected with adb console and
PHP:
pm list packages -d
shows 300+ packages as disabled.
PHP:
pm list packages -d | while read line ; do pm enable ${line#*:} ; done
fails with
PHP:
Error: java.lang.SecurityException: Permission Denial: attempt to change component state from ...
I can't run su as it freezes adb shell - su is also disabled so I can't enable it nor reinstall (Failure [INSTALL_FAILED_INTERNAL_ERROR])
Any hint how to restore my phone? Right now it has less features than Nokia 3210...
So maybe I'll ask a different question. Is there a way in my current state to regain root access (via adb shell) and enable disabled apps?
Marooned_MB said:
So maybe I'll ask a different question. Is there a way in my current state to regain root access (via adb shell) and enable disabled apps?
Click to expand...
Click to collapse
Hi,
In order to get helped it is always useful to provide at the beginning some basic info like phone model, firmware ver , root, recovery (custom or stock) etc.
Easiest way when you messed up your phone would be just restore your nandroid backup but I assume that you didn't make one, did you?
If not, easiest way IMO to regain root is just flashing CF-autoroot or if you have a custom recovery supersu zip file.
I wrote in Galaxy S5 forum so
Anyway: Samsung Galaxy S5 (SM-G900F), Android 5.0, G900FXXU1BOJ1, stock os, rooted
Haven't heard of nandroid before. I had titanium backup, but that's just apps I assume and they are still present on the phone, just disabled.
I haven't heard of CF-autoroot neither, but after picking matching details I got to desktop.firmware.mobi/device:370/firmware:12219 (I can't post urls with <10 posts). I'll have to read what to do with it without breaking a phone even more.
Marooned_MB said:
I wrote in Galaxy S5 forum so
Anyway: Samsung Galaxy S5 (SM-G900F), Android 5.0, G900FXXU1BOJ1, stock os, rooted
Haven't heard of nandroid before. I had titanium backup, but that's just apps I assume and they are still present on the phone, just disabled.
I haven't heard of CF-autoroot neither, but after picking matching details I got to desktop.firmware.mobi/device:370/firmware:12219 (I can't post urls with <10 posts). I'll have to read what to do with it without breaking a phone even more.
Click to expand...
Click to collapse
Here is the link to CF-autoroot for S5 variants:
https://forum.xda-developers.com/showthread.php?t=2696537
For applying you need to be familiar with using odin pc software. Be aware that this will trigger KNOX flag if yours is still 0x0.
By the way, how did you root your device initially?
KNOX was set when I initially enable root. To be honest, I can't recall which software I used, but it just worked without any problems. I was more than a year ago. Maybe it was CF but I just don't remember the name?
Anyway, I've generated image via CF-autoroot but it fails:
<ID:0/004> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)
and now phone says "Firmware upgrade encountered an issue. Please select recovery mode in Kies & try again" :-/
Many40 said:
Here is the link to CF-autoroot for S5 variants:
https://forum.xda-developers.com/showthread.php?t=2696537
Click to expand...
Click to collapse
That one succeed. There is a high probability I've used that one upon first root.
Anyway, it succeed but adb shell and then su still freezes. Nothing changed. Still no root I guess.
Marooned_MB said:
That one succeed. There is a high probability I've used that one upon first root.
Anyway, it succeed but adb shell and then su still freezes. Nothing changed. Still no root I guess.
Click to expand...
Click to collapse
Hmm, so you still can't enable any disabled apps? I am afraid that you may need to try factory reset and if this doesn't help then re-flash complete firmware with full wipe. Before I would make backup of all useful staff what is still working and available in your phone.
Edit: did you read whole app thread? There are a few solutions/workarounds which helped some users with their issues but not sure if it is applicable to your problem,
Many40 said:
Hmm, so you still can't enable any disabled apps?
Click to expand...
Click to collapse
Yes, exactly the same access denied error as mentioned in the 1st post. Like nothing changed at all.
Many40 said:
Before I would make backup of all useful staff what is still working and available in your phone.
Click to expand...
Click to collapse
I've downloaded all files (available without root) from sd card and internal memory.
Many40 said:
did you read whole app thread? There are a few solutions/workarounds which helped some users with their issues but not sure if it is applicable to your problem,
Click to expand...
Click to collapse
Nope, I will then. At least I'll try (157 pages!)
Thanks for your help
Many40 said:
I am afraid that you may need to try factory reset
Click to expand...
Click to collapse
There is a button "delete everything" but it does not work. Nothing happens when I click it. So the next step is to reflash firmware? That seems like a bit over my knowledge at the moment :/
Also, I assume there is no way to backup sms/mms - not able to install any backup soft and no root for adb:
PHP:
adb pull /data/data/com.android.providers.telephony/databases/mmssms.db
adb: error: failed to copy '/data/data/com.android.providers.telephony/databases/mmssms.db' to '.\mmssms.db': remote Permission denied
I'll try from recovery menu.
Ok, so it worked from recovery menu. Data are wiped, phone install some german bloatware and it's like when I first bought it. As I suspected, despite Google backup enabled, it does not work. No apps are being installed. I have to recreate every single app with it's data. That's a small disaster, ech..
Samsung backup restored some sms/mms but from February this year (heh).
Looks like all those automatic backup from Samsung and Google does not work at all and I should probably do some cyclic manual data dump. So why all those backup settings if it does nothing at all?
Anyway, thanks for your help.
Marooned_MB said:
Ok, so it worked from recovery menu. Data are wiped, phone install some german bloatware and it's like when I first bought it. As I suspected, despite Google backup enabled, it does not work. No apps are being installed. I have to recreate every single app with it's data. That's a small disaster, ech..
Samsung backup restored some sms/mms but from February this year (heh).
Looks like all those automatic backup from Samsung and Google does not work at all and I should probably do some cyclic manual data dump. So why all those backup settings if it does nothing at all?
Anyway, thanks for your help.
Click to expand...
Click to collapse
Sorry for that. What do you mean by saying "no apps installed" You wrote before that your apps (user and most of the system) have been disabled, not uninstalled by the UPSM.
Are all your disabled system apps still at the same state after factory reset?
You wrote german bloatware? It looks like you have German branded Lollipop 5.0 firmware installed. I would definitely move to Polish latest unbranded (XEO) Marsmallow 6.0.1 to clean up your phone or if you wish to have rooted and debloated stock-based firmware then this rom is a very good alternative:
https://forum.xda-developers.com/galaxy-s5/development/rom-ane4-kitkat-4-4-2-multi-csc-t2813628
Many40 said:
What do you mean by saying "no apps installed" You wrote before that your apps (user and most of the system) have been disabled, not uninstalled by the UPSM.
Are all your disabled system apps still at the same state after factory reset?
Click to expand...
Click to collapse
By saying "no apps installed" I meant that after factory reset (wipe from recovery menu) and signing into my google account, backup restore did not install anything. But I've done yet another reset, this time from options and this time I've set up google account on welcome wizard and.. it worked, google backup restored all 107 apps BUT with no settings (they claim that settings should be also restored), so I have all my apps, but with no settings, so like after fresh install. I'm recreating everything from scratch, one by one.
Many40 said:
You wrote german bloatware? It looks like you have German branded Lollipop 5.0 firmware installed. I would definitely move to Polish latest unbranded (XEO) Marsmallow 6.0.1 to clean up your phone or if you wish to have rooted and debloated stock-based firmware then this rom is a very good alternative:
https://forum.xda-developers.com/galaxy-s5/development/rom-ane4-kitkat-4-4-2-multi-csc-t2813628
Click to expand...
Click to collapse
Yup, phone was bought as (I'm not sure how to translate "powystawowy") refurbished, from shop exhibition(?), a bit cracked on corners, but 2x cheaper. Anyway, it was just a matter of uninstalling 5 German apps (with root of course).
I did not put any other firmware as the one from Samsung has some unique features like mentioned ultra power saving which I enjoy on long travels. I've read that custom roms does not support this or NFC and few others.