yashsingh1/xdaforums huggingface dataset:
[Security Discussion] zubair1836:
Thanks for guidance but are I'm not talking about LockScreen Password.

We are dealing with the private folder which has a password other than lock screen password.
[Security Discussion] Neophyte123:
It worked like a charm once I figured out the instructions. Root Explorer really assisted with the navigation and final steps. Thank you so much for helping me save a ton of memories I had otherwise lost.
[Security Discussion] Kay_Lee:
Hello, I followed your post to reset private mode of Galaxy S5 but failed

I rooted with Odin and followed all the steps of this post successfully. (My private mode is locked with screen pattern).

However, after re-booting my phone, when I try to turn on(enter) private mode, the private mode cannot be turned on(entered). (when I move the toggle bar to right, the toggle bar doesn't stay at right and immediately return back to left......)

Now I'm really frustrated because important content inside private mode might be lost forever......

Can you kindly, heartfully advise me what, how to do with this situation.....?

Thank you !
[Security Discussion] heidisteen:
This dr.fone for Android can help to unlock Samsung lock screen if you forgot it. Also it can help to recover lost or deleted files from Samsung Galaxy phones.
[Security Discussion] iderayoub:
Hi there!

I just tried this and had the same problem as you.

I looked on other forums and found out that Private Mode can malfunction when the device is rooted.

What I did was that I rooted my phone (Galaxy S6 Edge G925F), copied the personalpattern.key file to /data/system, then full unrooted my phone with SU.

Phone rebooted, tried the given pattern, and IT WORKED!

I hope it will work for you too.

Thank you so much dear Zubair1836 for this! It has been more than 6 months since I am trying to access my files in the folder!

You deserve a palace in heaven!
[Security Discussion] zubair1836:
Success

I'm happy to help :o

I will add your suggestion of unrooting in the post. Didn't know that rooting was causing the problem. Thanks a lot for reporting.
[Security Discussion] mehar bilal:
note 5 samsung

i am using note 5 but i forget private mode patren lock ..i dont want to lose data ..plz help me to recover
[Security Discussion] zubair1836:
Did you folllow the instructions given in Original Post?
[Security Discussion] gkn.112:
A question about the adb method

Hi,

can someone describe the "if you dont want root, try the adb method" part of the description? I need root to copy a file over adb push, it says "permission denied". Is there anything I have missed?

Or does anyone know a root method without loosing my private folder (for rooting the device gets factory resetted, or am I wrong)? The phone was not yet tampered with in any means.

thanks!
[Security Discussion] zubair1836:
I don't know about the error "permission denied".

But, as far as I know, rooting a device doesn't factory reset it. Make sure it is not encrypted before rooting.
[Security Discussion] gkn.112:
Thanks for the reply. So which root method can you recommend?
[Security Discussion] zubair1836:
I've been using SuperSU for long time. But, I recommend magisk now as it is updated. Good luck
[Security Discussion] gkn.112:
thanks

Thanks, but does it work with a locked bootloader? if not, does unlocking it wipe it (via odin, i guess? I only flashed on oneplus devices up until now)? Sorry to ask so many things, but the files i stored there were important (pictures of someone who passed away) and of course without a backup because i am an idiot.
[Security Discussion] zubair1836:
Well, We are both in same position. I've not tested this method on samsung devices later than Lollipop. So, Maybe google it?
[Security Discussion] gkn.112:
Headsup

Just a quick headsup: It worked!

Steps:

1. Flash TWRP over ODIN

2. Root (I did it with SuperSU)

3. Install Root Explorer and follow the steps mentioned

Installing a new Bootloader doesnt wipe the system, I wouldnt have guessed...
[Security Discussion] zubair1836:
I'm glad to hear that. :o

Kindly mention your device model alongwith OS version, It might help anobody else. (to know it works on that device)
[Security Discussion] Somaar:
Happen to find myself in the same boat,

Followed all the steps and with some extra help of 'adb shell' and giving permissions to the data/system folder, I was able to change the personalpin.key file.

First thing I noticed after rebooting was that the language was changed somehow.

And when entering the pin 1234 it wouldn't allow me through. Now I have to wait for 10 minutes because I tried sometimes hoping I would remember..

Do you have any explanation why the pin doesn't work?

- Samsung galaxy s5 mini

EDIT:

When looking in the system folder I also found a file called personalfingerprintpassword.key

Also I verified the contents of the personalpin.key file and it is what is said to be in one of the first posts.
[Security Discussion] zubair1836:
Personalfingerprintpassword.key is unfamiliar to me as I didn't have a samsung phone with fingerprint and I think you used fingerprint to unlock the Private mode.

You can have this file from any other s5 mini or similar.

For the language problem, I think you need root to get exact results as adb method is not tested by me or anyone else.
[Security Discussion] Somaar:
Well, I set up a fingerprint on the phone's lockscreen. However, I never used a fingerprint for the private mode. What I noticed that I can fill in more than 4 numbers.. I never used more because I didn't know before so it must be a 4 digit number.

It is my old phone and its rather frustrating to not be able to get my pictures back.

I think root is not working properly either since I am not able to see anything in /data/

Only after I use chmod 777 on the entire data folder and its siblings it shows up. It is also not working with the file browser on my phone. I am only able to do this via PC and ADB.

EDIT:

I am able to get in the /data/system/ on my phone when I type it in directly. When going to /data/ first it is empty.
[Security Discussion] Kartoshka01:
adb push

​
[Security Discussion] zubair1836:
You'll have to set permissions as well, using adb.

Permissions are in the steps of guide. I don't know what's the command to set them. Google it.
[Security Discussion] robcarr:
it's a pretty detailed guide. thanks a lot for your efforts
[Security Discussion] NiziNizi:
OnePlus 6t, wrong password situation

Hi sir,

My OnePlus 6T device is showing wrong password although I know I am entering correct one :(:(:(. Is this instructions may work with my device without deleting data ? Your support is much appreciated.
[Security Discussion] zubair1836:
I don't think it'd work on OP 6T.

Try searching in OnePlus forum as I don't have much experience or a OnePlus phone.
[Security Discussion] sporefrog:
HI and thanks for the guide!

I am unsuccessful in making it work. I've done all the steps. And when I go to setting it says private mode off and I cant move the dot to the right.

In the quick rolldown meny it says private mode is on but I can't see my private folder. I've tried unroot my galaxy s6 but still dosen't work. Before I had to wait 60 min to get a new chance to enter the pattern so I thought if I wait 60 min it might work but with the rooted device it didn't. Anybody who had the same problem? or got any Tips?

Thanks!
[Security Discussion] kamyarVarnous:
wrong app

you have to use root explorer with like icon with same train
[Security Discussion] Alison25:
Hi sir,

I have the same problem. I forgot my private mode password on my Samsung C5. But the problem, my phone is not yet rooted. Then I can't see data/system. What can I do?
[Security Discussion] zubair1836:
Try to root using Super SU.

You can find it here by your model number: https://autoroot.chainfire.eu/
[Security Discussion] Alison25:
Doesn't it delete all my files?

It seems that it will wipe all my data encrypted

... I will lose all my files in my private mode.

Is there another way, please please?
[Security Discussion] zubair1836:
I'm not sure but I believe android versions older than oreo don't get factory reset by rooting.

Proceed at your own risk.
[Security Discussion] Trifion:
Hello there!

I am here bringing good news, I have rooted my phone using TWRP and Magisk ( Android 7 ) no brick, no data wipe no anything, just don't have device encrypted. Yes, it still requires a rooted phone.

Anyway, to unlock your private mode on android 7 or above if this first method that was posted doesn't work you have to do what uLove said and wasn't quite understood.

1. Delete or move **better to move** ( to downloads folder for ex. as a backup) every single locksettings.db and gatekeeper.xxx.key files + the personalpassword/pin/pattern.key file if u have it from /data/system/ directory.

2. Get the pattern/password/pin file from the original method, then rename them as follows: gatekeeper.password/pattern/pin.key ( you rename it for what you have, in my case I had a password so it will be:

gatekeeper.password.key )

3. Copy the renamed file to /data/system/ using ES File Explorer or anything similar ( dont use Amaze explorer its crap)

4. Reboot your device, when it opens you might not have a lock on your phone anymore, don't worry you can set another after u unlock the private mode, force close gallery and wait 60 minutes to enter your pin/pass/pattern if u have a cooldown, if u dont proceed anyway.

5. Done enjoy.

Note: The password/pin/pattern are the same from the original method
[Security Discussion] zubair1836:
Thanks a lot for reporting and trying more.

I'll add this to OP when free.
[Security Discussion] evilparadox:
Hello. Not sure if this page still active but i need your help. Im on s7edge.android 8.0 custom rom with magisk installed. Was using the private mode totally ok years ago bt the phone have been sitting in storage. Now i need somefiles from it but cant remember the pattern anymore. I followed all the steps including the last step given by another user. After reboot. Im unable to click on the private mode toggle bar. Please help its urgent
[Security Discussion] zubair1836:
Yes, the page is active but I don't really know what's happening pn your phone in the backend.

Maybe try repeating the steps?
[Security Discussion] evilparadox:
I have tried the process over 10 times. When i restore the original pattern.key file. It functions normally bt i cant remember the pattern. But the moment i replace the pattern. Key file with the one in the tutorial and make a reboot. Im unable to toggle on the private mode
[Security Discussion] evilparadox:
A solution will be deeply appreciated
[Security Discussion] evilparadox:
Hello. Any help??
[Security Discussion] zubair1836:
No, Can't solve. sorry
[Security Discussion] BossHogg12:
Just to add to this - if you have a fingerprint you have "forgotten" (an argument with a saw perhaps?) you can change the secure folder security type by editing:

/data/system/users/0/settings_secure.xml

find the setting "personal_mode_lock_type" and change the value.

From my testing on S5, the numbers are as follows:

1: no function

2: Pattern

3: PIN

4: Password

5: Fingerprint
[Huawei P9 Questions & Answers] sebasspf:
Hi people. I bought recently a Huawei P9, and it has Android 6.0 Marshmallow. The first day poped up an udate to Android 7 and EMUI 5. Im hesitant to update it because i read some people have problems with the battery after update. Is this really an issue? Any opinion is welcome. Thanks!
[Huawei P9 Questions & Answers] Arnys:
I guess, problems with battery are when you root and modify phone, atlest for me have not problems with battery in nuget, and can say, on nuget battery works better than it was on marshmalow, but that realy depends on personal use of phone.

Nuget are faster, visual better, and have not problems with battery, atlest for me, but im not hardcore user, its only my experience using marshmalow, then nuget, nuget 80% better
[Huawei P9 Questions & Answers] Akinaro:
Most of problems like stability and battery life is made by users them self, apps they use, lack of maintaining/cleaning phone or just weird placebo effect just like with custom roms, where people install them and shout AMAZING SPEED... Of course it will be faster with better battery life, they just made clean installation and didnt install all applications that they normally have on phone. With update its reversed situation, they do "dirty" update.

I found long time ago that after some major udpates lots of applications, even system ones drain battery and crash often. Its a matter of cleaning cache or whole app memory, or just update apps/reinstall them to fix that.

And should you update?

Its up to you really, if there is update, why not. But dont really expect miracles from any update, not only in Huawei devices. For most of time update are really just cosmetic changes, some tweaks with look, functions and some fixing AND adding new bugs.

You will not gonna have any compatibility problems with apps/games if you stay with 6.0 If you are happy with current version and you dont have any major problems... just leave it as it is. You should not even be worrying about security patches, for all those years of using Android I seriously believe that its just some placebo, because 99.9% of "viruses/hax" on phones are just users who install some crappy apps or throw their personal data all over the internet, typing their credit cards numbers on every damn game and app.
[Huawei P9 Questions & Answers] brookie229:
As far as features/improvements, I do not find Nougat to be much of an update over Marshmallow. For me, the biggest reason to update is simply because you will get security updates for vulnerabilities in android. Most people don't care about that, and that is their choice. Other than a few new features for the camera, there is not that much for me to choose Nougat over Marshmallow. YMMV.:)
[Verizon Samsung Galaxy S8+ Questions & Answers] paris10:
Can we still root
[Verizon Samsung Galaxy S8+ Questions & Answers] paris10:
Curious because when I try it just fails
[Verizon Samsung Galaxy S8+ Questions & Answers] sabresfan:
Yes root is possible. Check out partcyborgs rom or jrkruse roms.
[Verizon Samsung Galaxy S8+ Questions & Answers] paris10:
Is that a Verizon rom
[Verizon Samsung Galaxy S8+ Questions & Answers] bmxmike:
If your flashing the root ROM it will fail, it states that in the thread. Read all the steps in the ROM post ad they are very specific
[Verizon Samsung Galaxy S8+ Questions & Answers] aaroon200:
I just rooted my 8+ thanks to Rootjunky.com from one of his videos on youtube, I'm still on Verizon and I didn't have to flash any ROM, just some files and boom.
[Verizon Samsung Galaxy S8+ Questions & Answers] Super_SU01:
Does anybody know if Xposed works..

---------- Post added at 11:38 PM ---------- Previous post was at 11:37 PM ----------

Once rooted,has anyone tried unrooting for warranty reasons?
[Verizon Samsung Galaxy S8+ Questions & Answers] Smithfolk4:
The PartCyborg rom comes with Xposed pre-installed. It is working fine for me, but I am not using too many modules. Good reports on Partcyborg's ROM thread though.

Yes, you can unroot and flash back to stock.
[Verizon Samsung Galaxy S8+ Questions & Answers] Super_SU01:
Can you help me with which files I need to flash on my Verizon s8+ and do I need a specific version of Odin?[

Partcyborg rom?? That rom will work on the Verizon s8+? What's the cons of this rom..

How do i find out what bootloader version I'm running?
[Verizon Samsung Galaxy S8+ Questions & Answers] Smithfolk4:
You need prince comsy ODIN.

Look here

https://xdaforums.com/galaxy-s8+/development/root-partcyborgrom-aqk3-samfail-odin-t3717702

Follow the instructions in the first post of the thread. Follow them verbatim. Read carefully before you start.

Use the BQL1 downloads in the second post of the thread.

This is what I did and it worked fine. I flashed both in COMSY ODIN. I did not use the Flashfire method, but I have used it before and it also works. If you do use Flashfire for the AP file (First file) be sure to flash the bootloader (second file) in COMSY ODIN..
[Verizon Samsung Galaxy S8+ Questions & Answers] Super_SU01:
Thank you, my baseband is SQS2BRB1 now do I need to download a specific firmware?

---------- Post added at 11:18 PM ---------- Previous post was at 11:15 PM ----------

Do I need the bootloop edition zip or the partcyborg zip?
[Verizon Samsung Galaxy S8+ Questions & Answers] Smithfolk4:
I recommend that you use the downloads in the second post, not the third. The bootloop edition is an older version. The latest works better. The latest that ends with BQL1 is compatible with your phone because both are based on bootloader version 2.

If you want to have a backup of your stock firmware you can download the BRB1 firmware from updato or from samsung. I find updato to provide much faster downloads, but sometimes it is a bit strange finding the firmware you want. You can usually search by phone and service provider.
[Verizon Samsung Galaxy S8+ Questions & Answers] Super_SU01:
Thanks I did download the AP_BQL1 CYBORG ROM part 1

And BL_cyborgromBQL1 part 2.

Im having issues with my USB port. I posted it in the partcyborg rom forum if you wanna take a look because I may need some help. If you can and have the time.

That's all I need to flash? I have Odin downloaded and on standby just waiting to figure out my USB thing.
[Verizon Samsung Galaxy S8+ Questions & Answers] Super_SU01:
I'm upgrading to Oreo
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] sandy108:
I'll be taking over the maintainership of Cosmic OS since Manik has left development for now.. Looking forward to a good time until then
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] karlmorgan92:
Does this ROM have FM Radio?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ImTester:
No mate I doesn't have..
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] DJRepresent:
Looks and feels really great. Any known issues? I haven't found any so far.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] pwag:
The update via OTA isn't working right. It say's it's downloading, but it doesn't. When you cancel the download it says it has completed - but the MD5 doesn't pass.

There's a thread for every update for this ROM? I've counted three or so - it makes it really hard to follow and get updates and report issues. I encourage you to consider creating a singular thread to help eliminate confusion.

I've had a nagging issue with getting LTE to work- not VoLTE just regular old LTE data. I don't know if it's a ROM issue or a Pwag Issue. I connect find to Sprint (Ting) on global - but if I switch to LTE nothing - no voice or anything. Through the about menu/phone info I can see that the networks are indeed available - my spouses phone connects to LTE from the same locations - but for me - nothing.

Any ideas?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] sandy108:
New update is live peeps

- March Patch

- Substratum fixes and improvements

- Moar cool stuff
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] sandy108:
OTA has should be fixed now... The team had issues with OTA since soruceforge was down... Our new build is back at SF and things should be fine mate. For the LTE issue.. it works in other ROMs ?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] pwag:
I don't know. I do fine on 3g it's just annoying.

I'll flash another ROM or go back to stock at some point to test and see
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] _Dimension_:
How is the battery life? My biggest concern is battery. Around 6/7h of screen time average use? Thanks in advance.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] sandy108:
Depends upon your usage mate... Most of the ROMs for potter share the same kernel base.. so ROMs won't affect battery it all depends upon your usage.. make sure to let the ROM settle in for a few days before looking at battery stats
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] pwag:
Still struggling with the OTA. Is it fixed in the new version or just last version?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] sandy108:
What's the issue with OTA ?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] pwag:
Doing the same thing - but I Can see network activity this time.

Acts like it's downloading, the progress bar doesn't ever fill in. After about an hour I stopped it (all network activity dead) and it failed the MD5 check. I updated manually.

Looks hot. I like it.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] sandy108:
New update is live peeps

-updates from source

-Gcam improvements ( no need to flash 45fps.zip anymore)

-DT side changes

Clean flash only
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] anshuman_1:
One of the best roms i have used in potter so far. I was using it with noob kernel. The battery backup was really good. I use too many apps so 6hrs sot is pretty good enough for me. This rom has sysserv and exposures which makes theming super smoooooth. More than enough customisations are added already. THe only thing that didnt work when i used it was OTA app. Thanks Sandeep for your awesome work. and thanks to Rajesh for doing the bringup for us. KTHXBYE
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] dev_freak:
I got one issue with Gapps, and that is that the camera app disappears. Other than that it works good.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] pwag:
Anyone get xposed working with this? I tried earlier and ran into some issues.

Also I have an issue where Viper stops processing, but does fine after a reboot - anyone else had an issue?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] sandy108:
New update is live peeps

-> Clean Flash is mandatory

-> Android P animations

-> Rebased Device Tree

-> Boulzordev Kernel

->Center clock is back and it doesn't break notification ticker anymore
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] zefyx:
Best rom.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] x1357246:
No major bugs as for now.

Animations are smooth and refreshing, good Rom.

Thx dev!:D
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] pwag:
Anyone having LTE work?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Archangel:
I dont know if it is a lineage bug or what but every 8.1 rom I flash I have 4g data but no voice service?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Akshatk:
Why is tez not working ?

It's saying that it can't be used on this device (custom rom and other stuff)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] pwag:
Anyone running a different kernel? I need one that supports kcal. If I could get a backup of the one Cosmic is using I could test a few myself, anyone have it?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] kapibada:
Can you tell me what's the best camera app & settings on this ROM in your experience? I haven't had much luck trying to set it up on my own, as the only camera app I've tried that works is the one bundled with the ROM and the pictures it takes are rather grainy... GCamMod seems unable to focus (but exposure is fine) and the others just say they can't connect to camera.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] x1357246:
I'm on alize v21 and it works fine:)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] pwag:
I'll give it a shot, I tried one version of Alize and it was a no go.

Any idea on how to best way to preserve the current kernel in case this doesn't work?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] thedr34m13:
Backup boot in TWRP.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] pwag:
It works!

Am have issues (now and before) with running shell commands via Tasker. I've got busy box and all that, but I can't figure out the issue. Any ideas chaps? Do you think its not a Cosmic issue?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Psycake:
Guys, I'm not passing SafetyNet. I'm using the official March 30th build. I've tried reflashing and no luck. What should I do? I have Magisk 16.0 and the F2FS Loopback Workaround Module installed.

Edit: Fixed it by installing the unofficial April 6th build