HOW TO REINSTALL Marshmallow System Files? - Samsung Galaxy S7 Edge Questions and Answers

I am pretty new with rooting and I deleted google contacts storage yesterday. I have been looking all over to fix it, and nothing has worked. I wiped the data and did a factory reset twice, but that didn't restore the stock apps because my contacts are still not working. How can I reinstall the marshmallow system files for SM-G935W8?

Related

[solved] E:/error opening '/data/lost+found' after Factory Reset

Hi, today i wanted to do a factory reset and clean install my phone
im using TWRP 2.3.3.3
after factory reset in the wipe menu, at the end i see a line E:/error opening '/data/lost+found'
basically i know what does lost+found folder does in linux, but i forgot whether i have seen such error line before when i do factory resets.
in the file manager of TWRP i then see /media and /lost+found in the /data partition. when pressing into /lost+found, TWRP cannot open it
after this, wiping /system will also give me the same message at the end even it is "Done", as well as cache and dalvik, etc
then i go on flash rom, gapps, kernel, after 1 or 2 boots i go back to recovery and wipe cache, there are no such line anymore
however there is now TWO /lost+found folder in my /data partition
is this a normal behaviour? i didnt pay attention but are there 2 lost+found folders in /data partition for everyone else too?
i have backed up my sdcard and is ready for a /data wipe, any advice is appreciated. thanks in advance!
update: well really hasnt seen it anywhere tried very hard searching on google
maybe just **** happens sometime as i rushed updating the su binary together with restoring android ID in titanium backup altogether without carefully rebooting etc.
factory reset, formating every partition for N times didnt help. returned to completely stock (unlocked bootloader ofcourse), flash twrp 2.3.3.3 clean and no more that line anymore after factory reset. hell gonna start my sdcard restore now...
Miasmic said:
update: well really hasnt seen it anywhere tried very hard searching on google
maybe just **** happens sometime as i rushed updating the su binary together with restoring android ID in titanium backup altogether without carefully rebooting etc.
factory reset, formating every partition for N times didnt help. returned to completely stock (unlocked bootloader ofcourse), flash twrp 2.3.3.3 clean and no more that line anymore after factory reset. hell gonna start my sdcard restore now...
Click to expand...
Click to collapse
I was researching google for this same exact error message, when I came across your thread. I doubt you are still having this issue, but I wanted to reply with the solution in case anyone else comes across this post. I was able to solve this error message by installing a new ROM. It doesn't matter which one you install, any will do. Then open your file manager of choice, of course one which can go up to root level. Browse to /data, and then you should notice that you do not have a lost+found folder. However, you should see a lost+found file, all the way at the bottom. I renamed this file to lost+foundOLD, and then created a new folder called lost+found. Next, reboot into recovery and once again wipe both caches, system and factory reset. You should no longer get the lost+found error. Make sure to fix permissions as well to make sure.
just had this issue and was solved by dropping back to twrp 2.4.x.x and doing data format.
misspost
mitchallica said:
I was researching google for this same exact error message, when I came across your thread. I doubt you are still having this issue, but I wanted to reply with the solution in case anyone else comes across this post. I was able to solve this error message by installing a new ROM. It doesn't matter which one you install, any will do. Then open your file manager of choice, of course one which can go up to root level. Browse to /data, and then you should notice that you do not have a lost+found folder. However, you should see a lost+found file, all the way at the bottom. I renamed this file to lost+foundOLD, and then created a new folder called lost+found. Next, reboot into recovery and once again wipe both caches, system and factory reset. You should no longer get the lost+found error. Make sure to fix permissions as well to make sure.
Click to expand...
Click to collapse
No his error and mine are different. We have two lost+found dir and no file. If i delete them and make new lost+found folder. It automatically makes 2.
I am having this same problem. I just did a restore to my last backup, but it in TWRP it says mentions the error over and over again. I looked in /data and I found about 10 files called lost+found, but I do not have any folders. Any suggestions?
Full Format data worked for me
NVijapura said:
I am having this same problem. I just did a restore to my last backup, but it in TWRP it says mentions the error over and over again. I looked in /data and I found about 10 files called lost+found, but I do not have any folders. Any suggestions?
Click to expand...
Click to collapse
I just encountered this problem after updating a CM nightly and it bricked my phone. Restoring from a nandroid backup would ultimately fail and I was getting all kinds of weird problems (stuck in boot loop, graphics appearing garbled, etc). After looking closer at the logs during restore, I noticed E:/error opening '/data/lost+found' appearing several times, an then it would indicate 'done' and restart but would end up with the same problems.
Even after doing a factory reset, I had no luck in restoring my phone. So I did a factory reset again and installed a CM stable release thinking maybe my ROM / backup was messed up but noticed the same E:/error opening '/data/lost+found' message. However, this time around I managed to get booted far enough where I could connect via USB and backup files from my internal memory to my computer.
At this point I booted into recovery (TWRP 2.5.0.0) and did a full wipe including internal SD using the Format Data option, whereupon I was able to install the CM stable release without issue - no more lost+found error! I then upgraded to the nightly version of my backup and restored with success. Long and stressful night...
szurheal said:
I just encountered this problem after updating a CM nightly and it bricked my phone. Restoring from a nandroid backup would ultimately fail and I was getting all kinds of weird problems (stuck in boot loop, graphics appearing garbled, etc). After looking closer at the logs during restore, I noticed E:/error opening '/data/lost+found' appearing several times, an then it would indicate 'done' and restart but would end up with the same problems.
Even after doing a factory reset, I had no luck in restoring my phone. So I did a factory reset again and installed a CM stable release thinking maybe my ROM / backup was messed up but noticed the same E:/error opening '/data/lost+found' message. However, this time around I managed to get booted far enough where I could connect via USB and backup files from my internal memory to my computer.
At this point I booted into recovery (TWRP 2.5.0.0) and did a full wipe including internal SD using the Format Data option, whereupon I was able to install the CM stable release without issue - no more lost+found error! I then upgraded to the nightly version of my backup and restored with success. Long and stressful night...
Click to expand...
Click to collapse
All you simply have to do when this happens, is format data ( the one where you type yes ). After this, everything SHOULD be back to normal, for the most part.
scwied17 said:
All you simply have to do when this happens, is format data ( the one where you type yes ). After this, everything SHOULD be back to normal, for the most part.
Click to expand...
Click to collapse
That worked perfectly. Thanks!!!
scwied17 said:
All you simply have to do when this happens, is format data ( the one where you type yes ). After this, everything SHOULD be back to normal, for the most part.
Click to expand...
Click to collapse
Worked perfect for me. Very easy to miss that simple "Format Data" button in TWRP. Simply type 'yes' and problem solved.
I think I got this error when I flashed SlimKAT 4.4 over on my P880 and I had the USB cable plugged in and the partitions mounted (as I had just transferred the install.zip to my phone)
leijonasisu said:
Worked perfect for me. Very easy to miss that simple "Format Data" button in TWRP. Simply type 'yes' and problem solved.
I think I got this error when I flashed SlimKAT 4.4 over on my P880 and I had the USB cable plugged in and the partitions mounted (as I had just transferred the install.zip to my phone)
Click to expand...
Click to collapse
Can i get some help please. I cant format data via TWRP, it says "E: unable to wipe data, unknow fle system, auto, unable to format to remove encryption". I did not put any encryption. What to do?

LG G2 Factory Reset Mystery

I had been using Cloudy G3 2.0 rom and when i had to sell my phone i did a factory reset but when i checked my file manager my files were still there so i had to manually delete them. Why is this the case? Every other phone or rom i have used factory reset wipes the internal storage clean leaving it new out of the box. I never understood this.why is this the case? All apps were uninstalled but some files or all were left intact. How can this be?
The default "Wipe data" option in TWRP excludes the internal storage (since phones with internal storage are likely storing the exact files they are trying to install in there) in order to keep the user from accidentally wiping the zip files that they are wiping data for. Boot it into TWRP and then do an advanced wipe for data and internal storage and you should be fine.
I had used factory reset option within the Android settings menu not the TWRP recovery, i never reset from TWRP always from the android OS settings.
Sent from my D6653 using Tapatalk

Fingerprint issue when restoring TWRP backup on another phone

Hi all,
When restoring a TWRP backup (CM13) on another Honor 5X phone I cannot register any fingerprints and the already registered fingerprints aren't detected.
I have did some research and it looks like, that the fingerprints are stored using a hardware key. For other phones the issue was solved by deleted the files containing the registered fingerprints. But those files aren't existing on my 5X with CM13 installed.
Does anybody know, which files I would have to remove?
Thanks in advance!
Erik
Install CM first.. then apply backup..
CM is alread installed. Where do I find the "apply backup" feature in TWRP? There is the normal backup restore only.
I mean fresh reinstall It.. Otherwise you Have to go back to stock and reinstall CM, its firmware wise
It is even enough to do a factory reset. But I want to keep my settings.
As it's possible for other phones, I want to know which files I have to delete to be able to register fingerprints again.
Finally I was able to solve the issue. You have to use the FileManager in TWRP and delete the following files:
/data/system/users/0/settings_fingerprint.xml
/data/system/users/0/fpdata/*
Then I was able to register new fingerprints without a factory reset.

Wiping everything in TWRP and Cyanogenmod

Everyone, I have searched and searched for the answer and I have not been able to find it. I have a VZW Galaxy S5 with an unlocked bootloader. I installed CM13 on it. I tried wiping data, cache and dalvik and there are so many files and folders that still remain. Is there a way to wipe it clean and get rid of all those trash folders and files? Can I wipe internal storage, then while still in TWRP re-install CM13? Will everything be ok? How can I get rid of all those trash folders and files? Are they somehow needed still? Thank you so much for your help. I swear I have looked everywhere and I just can't find a definitive answer and I am afraid to wipe internal storage because I don't want to have to ODIN back to a stock rom and reroot etc.... If anyone knows how to get rid of all those trash files, help!
mattnin said:
Everyone, I have searched and searched for the answer and I have not been able to find it. I have a VZW Galaxy S5 with an unlocked bootloader. I installed CM13 on it. I tried wiping data, cache and dalvik and there are so many files and folders that still remain. Is there a way to wipe it clean and get rid of all those trash folders and files? Can I wipe internal storage, then while still in TWRP re-install CM13? Will everything be ok? How can I get rid of all those trash folders and files? Are they somehow needed still? Thank you so much for your help. I swear I have looked everywhere and I just can't find a definitive answer and I am afraid to wipe internal storage because I don't want to have to ODIN back to a stock rom and reroot etc.... If anyone knows how to get rid of all those trash files, help!
Click to expand...
Click to collapse
Don't worry you can wipe internal storage and reinstall CM13 no problem! But making a backup and then restoring it would be easier!
I would recommend you to do this, and before you do it make sure you are on twrp 3.0.2-2!
Firstly make a backup and plug your phone in to the computer, copy all your files from your internal memory to the computer just to be safe.
Remove sd card and then boot into twrp. After that go to wipe and click format data. This will erase everything on your phone! After that turn off your phone, insert sd card, go into twrp and restore your backup.
If you don't have a sd-card your backups are probably stored in your internal storage. That means you have to transfer them from your computer to your phone after the wipe is complete to be able to restore your backup.
Good luck and I hope this helped you!

Play store not working properly after restoring stock from twrp

I have noticed recently that when I restore my stock ROM from twrp that some apps don't update and some can't be downloaded, they get stuck at the download pending or downloading screen and never download. Had anyone ever encountered this problem? The stock ROM is not rooted or modified in any way.
So I am encountering this issue as well. Very odd behavior after restoring the stock build after coming from Lineage. What I getting is an Error Code 0 when trying to update some apps. While uninstalling the error coded app does not allow a re-installation. Again with an Error Code 0 (which turns up nothing when trying to search Google for the error). I've tried all the basic stuff, like clearing the Playstore's data, clearing the trouble apps data, rebooting, etc. They just simply fail to update/install. It's not happening with every app, just some. Dropbox being a notable one. I simply cannot install it. Infact I side loaded it and it immediately force closes upon trying to open. This has to be some odd permission issue.
Wipe cache and dalvik cache?
I seemed to have the found the solution. Before I restore I had to wipe everything except my microSD card where my backups are saved. That includes wiping internal storage. So wipe system, dalvik, cache and internal storage, then restore from SD card and everything worked fine after that

Categories

Resources