[GUIDE] HOW TO FIX PRIVATE MODE WHEN RESTORING TWRP BACKUPS N5/S7 Edge -> TEKHDway!

Search This thread

TEKHD

Inactive Recognized Developer / XDA Portal Scout
[GUIDE] HOW TO FIX PRIVATE MODE WHEN RESTORING TWRP BACKUPS N5/S7 Edge -> TEKHDway!

Stock Rooted ROM? -> Go directly to the bottom of the post...

WARNING!!! ALL YOUR PRIVATE MODE DATA WILL BE LOST!!!

Well... sometimes when you restore a TWRP Backup... (Custom ROM)

and try to enable/activate Private Mode... You get this error... "Failed to enable Private Mode"

Your only option at this point is probably a full clean ROM Installation... (or wipe entire data/cache) and start all over again...

So... instead of starting all over again (or throwing your phone)


mobile_421-690x459.jpg


You can do this:

BEFORE YOU CONTINUE!!! ALL YOUR PRIVATE MODE DATA WILL BE LOST!!!
USE THIS METHOD IF YOU WANT TO AVOID A CLEAN INSTALLATION...


TEKHD_PRIVATE_MODE_FIX.png


1. Navigate to /data/system/ and search for:

- personalpattern.key
- personalfingerprintpassword.key
- personalpin.key

...and delete them all... (you might not have all 3 files, that's ok)

2. Navigate to /data/system/users/ and search for:

- privatemode_edk_1000

...delete it....

3. Reboot... & Done.... Private Mode is now fully operational.


Good Luck!

TEKHD


Stock Rooted ROM? -> As a bonus... (Marshmallow) if you are using a Stock Rooted ROM and your Private Mode is not working... Flash this FILE
 
Last edited:

mrumais

Senior Member
Dec 25, 2011
348
198
Colombo
Is this method only works on custom Roms? I have stock rooted firmware with custom kernel and I get the "Failed to enable Private Mode" message. Is there any way to get it work?

(BTW, I tried this method, didnt work with my case)
Thanks
 

Ruuu

Senior Member
Mar 12, 2015
95
3
I am on stock rom with systemless root by cf and systemless xposed. I followed your steps and ended up losing access to private mode itself. So flashed stock with systemless root and xposed back again and then flashed the zip file with twrp. but still no success. Please help!!!!
 

miguelazo86

Member
Nov 17, 2014
35
4
Stock Rooted ROM? -> Go directly to the bottom of the post...

WARNING!!! ALL YOUR PRIVATE MODE DATA WILL BE LOST!!!

Well... sometimes when you restore a TWRP Backup... (Custom ROM)

and try to enable/activate Private Mode... You get this error... "Failed to enable Private Mode"

Your only option at this point is probably a full clean ROM Installation... (or wipe entire data/cache) and start all over again...

So... instead of starting all over again (or throwing your phone)


mobile_421-690x459.jpg


You can do this:

BEFORE YOU CONTINUE!!! ALL YOUR PRIVATE MODE DATA WILL BE LOST!!!
USE THIS METHOD IF YOU WANT TO AVOID A CLEAN INSTALLATION...


TEKHD_PRIVATE_MODE_FIX.png


1. Navigate to /data/system/ and search for:

- personalpattern.key
- personalfingerprintpassword.key
- personalpin.key

...and delete them all... (you might not have all 3 files, that's ok)

2. Navigate to /data/system/users/ and search for:

- privatemode_edk_1000

...delete it....

3. Reboot... & Done.... Private Mode is now fully operational.


Good Luck!

TEKHD


Stock Rooted ROM? -> As a bonus... (Marshmallow) if you are using a Stock Rooted ROM and your Private Mode is not working... Flash this FILE
Thank you men!!!! I have private mode AGAIN!!

Enviado desde mi SM-N920I mediante Tapatalk
 

insaned

Senior Member
Aug 26, 2008
246
38
flashed the file in a stock rooted rom (last update) and private mode does not even start. (when is selected before i could at least insert the pin, now does not even open it)
 

titusxperia10

Senior Member
Dec 30, 2010
150
48
Guadalajara, Jal.
Maybe offtopic but just want to report success in this deleting files procedure along the flashing file, made private mode work again in stock-rooted mm N910W8 Note 4, running tmo stock deodexed rom.

Thanks TEKHD!
 

jisharka

Senior Member
Oct 31, 2012
147
30
Dubai
Stock Rooted ROM? -> Go directly to the bottom of the post...

WARNING!!! ALL YOUR PRIVATE MODE DATA WILL BE LOST!!!

Well... sometimes when you restore a TWRP Backup... (Custom ROM)

and try to enable/activate Private Mode... You get this error... "Failed to enable Private Mode"

Your only option at this point is probably a full clean ROM Installation... (or wipe entire data/cache) and start all over again...

So... instead of starting all over again (or throwing your phone)


mobile_421-690x459.jpg


You can do this:

BEFORE YOU CONTINUE!!! ALL YOUR PRIVATE MODE DATA WILL BE LOST!!!
USE THIS METHOD IF YOU WANT TO AVOID A CLEAN INSTALLATION...


TEKHD_PRIVATE_MODE_FIX.png


1. Navigate to /data/system/ and search for:

- personalpattern.key
- personalfingerprintpassword.key
- personalpin.key

...and delete them all... (you might not have all 3 files, that's ok)

2. Navigate to /data/system/users/ and search for:

- privatemode_edk_1000

...delete it....

3. Reboot... & Done.... Private Mode is now fully operational.


Good Luck!

TEKHD


Stock Rooted ROM? -> As a bonus... (Marshmallow) if you are using a Stock Rooted ROM and your Private Mode is not working... Flash this FILE
Everything done. but still private mode not working. All these three files are not available in the respective folder. - personalpattern.key, personalfingerprintpassword.key, personalpin.key. Deleted only one file - privatemode_edk_1000. Flased zip file. Still no private mode.
 
  • Like
Reactions: E Dub78

HM13androfan

Senior Member
Oct 20, 2016
656
140
Hello everyone,
Will this method of flashable zip work for galaxy s6 G20I rooted with SpaceX Kernel ???
 
Hello everyone,
Will this method of flashable zip work for galaxy s6 G20I rooted with SpaceX Kernel ???

Code:
ui_print("                ********************");
ui_print("                  TEKXnesis S7E/N5");
ui_print("              ************************");
ui_print("                Created by @ TEKHD");
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
#run_program("/sbin/busybox", "mv", "/system/vendor/lib/liboemcrypto.so", "/system/vendor/lib/liboemcrypto.so.bkp");
#run_program("/sbin/busybox", "mv", "/system/priv-app/SystemUI/arm/SystemUI.odex.bkp", "/system/priv-app/SystemUI/arm/SystemUI.odex");
#run_program("/sbin/busybox", "mv", "/system/priv-app/SystemUI/arm/SystemUI.odex.art.xz.bkp", "/system/priv-app/SystemUI/arm/SystemUI.odex.art.xz");
ui_print(" ");
run_program("/sbin/busybox", "umount", "/system");
ui_print("Done, reboot!");

The zip mounts and unmount system. All the folders are empty and other commands disabled.
Not sure what was intended, but what it does is a really elaborate way to display to some text.
 
  • Like
Reactions: HM13androfan

jouvarider22

Member
Mar 11, 2017
21
3
Then how delete encrypted privat mode data from previous rom sir ?
I've flashed a new rom but i forgot to restore privat mode content before
 

Asapchow

Member
Apr 10, 2016
10
1
Stock Rooted ROM? -> Go directly to the bottom of the post...

WARNING!!! ALL YOUR PRIVATE MODE DATA WILL BE LOST!!!

Well... sometimes when you restore a TWRP Backup... (Custom ROM)

and try to enable/activate Private Mode... You get this error... "Failed to enable Private Mode"

Your only option at this point is probably a full clean ROM Installation... (or wipe entire data/cache) and start all over again...

So... instead of starting all over again (or throwing your phone)


mobile_421-690x459.jpg


You can do this:

BEFORE YOU CONTINUE!!! ALL YOUR PRIVATE MODE DATA WILL BE LOST!!!
USE THIS METHOD IF YOU WANT TO AVOID A CLEAN INSTALLATION...


TEKHD_PRIVATE_MODE_FIX.png


1. Navigate to /data/system/ and search for:

- personalpattern.key
- personalfingerprintpassword.key
- personalpin.key

...and delete them all... (you might not have all 3 files, that's ok)

2. Navigate to /data/system/users/ and search for:

- privatemode_edk_1000

...delete it....

3. Reboot... & Done.... Private Mode is now fully operational.


Good Luck!

TEKHD


Stock Rooted ROM? -> As a bonus... (Marshmallow) if you are using a Stock Rooted ROM and your Private Mode is not working... Flash this FILE

Bro please, I know this is ages long and not your problem but I forgot to make a nandroid before flashing your zip and now my phone does that "Android is starting apps" green screen thingy Everytime it comes up. I was seriously hoping you have a counter or reserve zip file. Anybody actually, who can help pls

I'm on note 4 btw. 910t
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    [GUIDE] HOW TO FIX PRIVATE MODE WHEN RESTORING TWRP BACKUPS N5/S7 Edge -> TEKHDway!

    Stock Rooted ROM? -> Go directly to the bottom of the post...

    WARNING!!! ALL YOUR PRIVATE MODE DATA WILL BE LOST!!!

    Well... sometimes when you restore a TWRP Backup... (Custom ROM)

    and try to enable/activate Private Mode... You get this error... "Failed to enable Private Mode"

    Your only option at this point is probably a full clean ROM Installation... (or wipe entire data/cache) and start all over again...

    So... instead of starting all over again (or throwing your phone)


    mobile_421-690x459.jpg


    You can do this:

    BEFORE YOU CONTINUE!!! ALL YOUR PRIVATE MODE DATA WILL BE LOST!!!
    USE THIS METHOD IF YOU WANT TO AVOID A CLEAN INSTALLATION...


    TEKHD_PRIVATE_MODE_FIX.png


    1. Navigate to /data/system/ and search for:

    - personalpattern.key
    - personalfingerprintpassword.key
    - personalpin.key

    ...and delete them all... (you might not have all 3 files, that's ok)

    2. Navigate to /data/system/users/ and search for:

    - privatemode_edk_1000

    ...delete it....

    3. Reboot... & Done.... Private Mode is now fully operational.


    Good Luck!

    TEKHD


    Stock Rooted ROM? -> As a bonus... (Marshmallow) if you are using a Stock Rooted ROM and your Private Mode is not working... Flash this FILE
    1
    Stock Rooted ROM? -> Go directly to the bottom of the post...

    WARNING!!! ALL YOUR PRIVATE MODE DATA WILL BE LOST!!!

    Well... sometimes when you restore a TWRP Backup... (Custom ROM)

    and try to enable/activate Private Mode... You get this error... "Failed to enable Private Mode"

    Your only option at this point is probably a full clean ROM Installation... (or wipe entire data/cache) and start all over again...

    So... instead of starting all over again (or throwing your phone)


    mobile_421-690x459.jpg


    You can do this:

    BEFORE YOU CONTINUE!!! ALL YOUR PRIVATE MODE DATA WILL BE LOST!!!
    USE THIS METHOD IF YOU WANT TO AVOID A CLEAN INSTALLATION...


    TEKHD_PRIVATE_MODE_FIX.png


    1. Navigate to /data/system/ and search for:

    - personalpattern.key
    - personalfingerprintpassword.key
    - personalpin.key

    ...and delete them all... (you might not have all 3 files, that's ok)

    2. Navigate to /data/system/users/ and search for:

    - privatemode_edk_1000

    ...delete it....

    3. Reboot... & Done.... Private Mode is now fully operational.


    Good Luck!

    TEKHD


    Stock Rooted ROM? -> As a bonus... (Marshmallow) if you are using a Stock Rooted ROM and your Private Mode is not working... Flash this FILE
    Everything done. but still private mode not working. All these three files are not available in the respective folder. - personalpattern.key, personalfingerprintpassword.key, personalpin.key. Deleted only one file - privatemode_edk_1000. Flased zip file. Still no private mode.
    1
    Hello everyone,
    Will this method of flashable zip work for galaxy s6 G20I rooted with SpaceX Kernel ???

    Code:
    ui_print("                ********************");
    ui_print("                  TEKXnesis S7E/N5");
    ui_print("              ************************");
    ui_print("                Created by @ TEKHD");
    run_program("/sbin/busybox", "mount", "/system");
    package_extract_dir("system", "/system");
    #run_program("/sbin/busybox", "mv", "/system/vendor/lib/liboemcrypto.so", "/system/vendor/lib/liboemcrypto.so.bkp");
    #run_program("/sbin/busybox", "mv", "/system/priv-app/SystemUI/arm/SystemUI.odex.bkp", "/system/priv-app/SystemUI/arm/SystemUI.odex");
    #run_program("/sbin/busybox", "mv", "/system/priv-app/SystemUI/arm/SystemUI.odex.art.xz.bkp", "/system/priv-app/SystemUI/arm/SystemUI.odex.art.xz");
    ui_print(" ");
    run_program("/sbin/busybox", "umount", "/system");
    ui_print("Done, reboot!");

    The zip mounts and unmount system. All the folders are empty and other commands disabled.
    Not sure what was intended, but what it does is a really elaborate way to display to some text.