It's my understanding that the Persist partition/folder contains some data unique to the device, such as IMEI and MAC addresses.
If I lost my Persist partition, would it be possible to restore it without having a backup?
See https://forum.xda-developers.com/mi-a2/how-to/how-to-fix-sensors-camera-stock-pie-10-t3914885
BTW, "Search" woks in these forums.
Sorry, I've seen that thread, but I'm more interested in the theoretical aspect. Shouldn't flashing a Persist partition that doesn't come from a backup override some device-specific data? Or it is completely safe and it will just revert to the original state?
Lurensu said:
Sorry, I've seen that thread, but I'm more interested in the theoretical aspect. Shouldn't flashing a Persist partition that doesn't come from a backup override some device-specific data? Or it is completely safe and it will just revert to the original state?
Click to expand...
Click to collapse
it has no device-specific data
q0kHaN said:
it has no device-specific data
Click to expand...
Click to collapse
Thanks!
Lurensu said:
Thanks!
Click to expand...
Click to collapse
The only phone i have seen which requires a device specific persist backup is Moto G5 Plus on Nougat.
Related
Hi do you have a nandroid backup of HTC one Tim Italy with cid TIM-401,i don't find it anywhere!
mago988 said:
Hi do you have a nandroid backup of HTC one Tim Italy with cid TIM-401,i don't find it anywhere!
Click to expand...
Click to collapse
Thats because people dont post nandroid backups as they contain personal information. Your best bet would be to look for a stock RUU for your device.
zelendel said:
Thats because people dont post nandroid backups as they contain personal information. Your best bet would be to look for a stock RUU for your device.
Click to expand...
Click to collapse
I hope someone can help me because there are not any ruu
mago988 said:
I hope someone can help me because there are not any ruu
Click to expand...
Click to collapse
There should be one on the HTC site. They normally keep a RUU for each model.
A nandroid from someone elses device will cause you more issues then anything as it contains Device files that are unique to each device like IMEI and others.
zelendel said:
There should be one on the HTC site. They normally keep a RUU for each model.
A nandroid from someone elses device will cause you more issues then anything as it contains Device files that are unique to each device like IMEI and others.
Click to expand...
Click to collapse
Not exactly true. It's perfectly safe and acceptable to share a nandroid of /system and /boot partitions, they don't contain any user specific data and can be useful for restoring the system in the absence of an RUU.
cschmitt said:
Not exactly true. It's perfectly safe and acceptable to share a nandroid of /system and /boot partitions, they don't contain any user specific data and can be useful for restoring the system in the absence of an RUU.
Click to expand...
Click to collapse
Not sure how safe that would be when the system partition contains the Efs folder which controls the IMEI.
I have not used nandroid in a long time so I might have to look into how the recoveries handle these.
Bat cave One
zelendel said:
Not sure how safe that would be when the system partition contains the Efs folder which controls the IMEI.
Click to expand...
Click to collapse
HTC One doesn't have an /efs partition, but do recall that on Samsung devices.
Even so, it's a mount point to a separate partition so it's not backed up with the /system partition. Check cat /proc/mounts to be certain.
Will we need to backup are EFS partition like the N5?
dirtbikerr450 said:
Will we need to backup are EFS partition like the N5?
Click to expand...
Click to collapse
I'd say yes, but it's personal preference really. If you'd happen to lose your EFS, then you're screwed because it contains your IMEI, MAC Address, Wifi MAC Address, etc...
If you flash a lot of ROMs I would say yes, but if you flash zero ROMs or very few, then I would say it's not totally necessary. It only takes one bad flash to ruin your EFS.
No one replied so I figured, why not?
StrifeSoldierVII said:
I'd say yes, but it's personal preference really. If you'd happen to lose your EFS, then you're screwed because it contains your IMEI, MAC Address, Wifi MAC Address, etc...
If you flash a lot of ROMs I would say yes, but if you flash zero ROMs or very few, then I would say it's not totally necessary. It only takes one bad flash to ruin your EFS.
No one replied so I figured, why not?
Click to expand...
Click to collapse
How does one go about backing up that partition?
elevatorguy said:
How does one go about backing up that partition?
Click to expand...
Click to collapse
A custom recovery like TWRP.
mwalt2 said:
A custom recovery like TWRP.
Click to expand...
Click to collapse
OK thanks. Would assume it's somewhere in an advanced setting somewhere? Don't remember seeing it in the regular backup part
elevatorguy said:
OK thanks. Would assume it's somewhere in an advanced setting somewhere? Don't remember seeing it in the regular backup part
Click to expand...
Click to collapse
Just do a regular Nandroid backup in recovery via TWRP and there is a check box for the EFS partition. Check it along with anything else you might want to back up at the time. Make sure you are on the latest TWRP version, otherwise you may not have this option.
StrifeSoldierVII said:
Just do a regular Nandroid backup in recovery via TWRP and there is a check box for the EFS partition. Check it along with anything else you might want to back up at the time. Make sure you are on the latest TWRP version, otherwise you may not have this option.
Click to expand...
Click to collapse
Thanks for the education. Will back it up now ?
elevatorguy said:
Thanks for the education. Will back it up now ?
Click to expand...
Click to collapse
Not a problem. Sucks that you didn't get an answer until now though.
StrifeSoldierVII said:
Not a problem. Sucks that you didn't get an answer until now though.
Click to expand...
Click to collapse
I wasn't the one who originally asked the question I just saw something about needing to backup something. I'm kinda paranoid about backing things up. Few more things to ask. Do you back EFS up with every nandroid and just restore it with everything else, or do you keep a copy of just the EFS itself and restore it separately if something messes up?
elevatorguy said:
I wasn't the one who originally asked the question I just saw something about needing to backup something. I'm kinda paranoid about backing things up. Few more things to ask. Do you back EFS up with every nandroid and just restore it with everything else, or do you keep a copy of just the EFS itself and restore it separately if something messes up?
Click to expand...
Click to collapse
I do a one time back of of just the EFS for each major android update, then erase the older version.
Like right now I have the efs backup for 5.0.2. When 5.1 comes to play I will back that up and then delete the 5.0.2. Just my preference
the_rooter said:
I do a one time back of of just the EFS for each major android update, then erase the older version.
Like right now I have the efs backup for 5.0.2. When 5.1 comes to play I will back that up and then delete the 5.0.2. Just my preference
Click to expand...
Click to collapse
One more question. Can you make a backup of just the EFS partition and restore just that partition or do you have to restore a complete nandroid of the whole system? Thanks I'm sure this is all basic stuff to you but I seem to learn something new every day.
elevatorguy said:
One more question. Can you make a backup of just the EFS partition and restore just that partition or do you have to restore a complete nandroid of the whole system? Thanks I'm sure this is all basic stuff to you but I seem to learn something new every day.
Click to expand...
Click to collapse
I do just do the efs partition
the_rooter said:
I do just do the efs partition
Click to expand...
Click to collapse
OK thanks. I'll make a copy of just that. Guess that means you can just restore that alone.
Hi everyone! I am a newby here. I just want the Efs backup from TWRP of 6.0 Marshmallow
Please anyone upload it. Thanks.
I'm sorry, but you can't use someone else's.
Sent from my Nexus 6 running cyosp using Tapatalk
I'm having some problems with wifi/bluetooth mac address and want to try to format efs partition and then restore it
already have an efs backup made with TWRP but couldn't find the option to format that partition in order to fix any possible FS error.
Did you know how?
Just got a new unit and would like to make a full backup of the factory ROM before proceeding to try out different ROMs. I did find an old thread from 2011 [HOW-TO]Create Custom ODIN Images for Backup/Restore but I'm not entirely sure if this is still accurate advice.
Also, it says that the device needs to be rooted in order to make the backups. My understanding is that if I root the system it will be detected by the system and OTA updating will then be disabled, which is not what I want. So my second question is: Is it really necessary to root and if so what is the best temporary method?
Aethera said:
Just got a new unit and would like to make a full backup of the factory ROM before proceeding to try out different ROMs. I did find an old thread from 2011 [HOW-TO]Create Custom ODIN Images for Backup/Restore but I'm not entirely sure if this is still accurate advice.
Also, it says that the device needs to be rooted in order to make the backups. My understanding is that if I root the system it will be detected by the system and OTA updating will then be disabled, which is not what I want. So my second question is: Is it really necessary to root and if so what is the best temporary method?
Click to expand...
Click to collapse
ODIN flash TWRP then backup your stock ROM.
ShrekOpher said:
ODIN flash TWRP then backup your stock ROM.
Click to expand...
Click to collapse
Thanks that what I ended up doing because it was definitely easiest.
Aethera said:
Just got a new unit and would like to make a full backup of the factory ROM before proceeding to try out different ROMs. I did find an old thread from 2011 [HOW-TO]Create Custom ODIN Images for Backup/Restore but I'm not entirely sure if this is still accurate advice.
Also, it says that the device needs to be rooted in order to make the backups. My understanding is that if I root the system it will be detected by the system and OTA updating will then be disabled, which is not what I want. So my second question is: Is it really necessary to root and if so what is the best temporary method?
Click to expand...
Click to collapse
Small piece of advice my friend, be sure to include EFS in the backup to be on the safe side, also I suggest making a copy on a external SD or transferring to a PC
Why efs?
glm0025 said:
Small piece of advice my friend, be sure to include EFS in the backup to be on the safe side, also I suggest making a copy on a external SD or transferring to a PC
Click to expand...
Click to collapse
According to TWRP they say:
Some devices have “special partitions” like WiMAX, pds, efs, etc. These partitions almost never need to be included in a normal backup.
Click to expand...
Click to collapse
I already did one restore from my backup which had not included efs and it worked ok. What exactly is efs and why would we need it?
Aethera said:
According to TWRP they say:
I already did one restore from my backup which had not included efs and it worked ok. What exactly is efs and why would we need it?
Click to expand...
Click to collapse
The EFS folder contains important information from the phone, like the IMEI for example, and if it gets erased by error it may affect your ability to successfully connect to a provider. Backups in TWRP will give you the option to backup important partitions one of those is the EFS folder, alternatively you may also use an application to make a backup (requires root) like EFS Manager(IMEI)-Note4 on the play store.
Is anybody else facing extremely long wait times before TWRP boots up completely? Even my Galaxy S3 can load TWRP faster than my 3T can. Somebody please help me out here. :crying:
Saamyo said:
Is anybody else facing extremely long wait times before TWRP boots up completely? Even my Galaxy S3 can load TWRP faster than my 3T can. Somebody please help me out here. :crying:
Click to expand...
Click to collapse
Yes ,very long
f2fs or ext4? Did you read TWRP official thread about this issue?
Saamyo said:
Is anybody else facing extremely long wait times before TWRP boots up completely? Even my Galaxy S3 can load TWRP faster than my 3T can. Somebody please help me out here. :crying:
Click to expand...
Click to collapse
If u want a faster TWRP boot, format data to ext4..I had the same issue..after changing the data partition TWRP loads faster...and there is no significant change in performance..
tvakshaykumar said:
If u want a faster TWRP boot, format data to ext4..I had the same issue..after changing the data partition TWRP loads faster...and there is no significant change in performance..
Click to expand...
Click to collapse
Will I lose my data if I change the format of /data/?
Saamyo said:
Will I lose my data if I change the format of /data/?
Click to expand...
Click to collapse
Yes, take a titanium backup of apps and data first
tvakshaykumar said:
Yes, take a titanium backup of apps and data first
Click to expand...
Click to collapse
Oh ok. Thank you
Another question: will changing the format cause ROM incompatibilities or such?
Saamyo said:
Oh ok. Thank you
Another question: will changing the format cause ROM incompatibilities or such?
Click to expand...
Click to collapse
Ext4 is compatible with most of the roms and kernels
Saamyo said:
Oh ok. Thank you
Another question: will changing the format cause ROM incompatibilities or such?
Click to expand...
Click to collapse
No, quite the opposite since ext4 is the default filesystem on pretty much all Android devices, while Samsungs f2fs is not supported by every kernel/ROM as it has its disadvantages.
Isn't TWRP's slow loading due to decryption?
the-blind-bandit said:
Isn't TWRP's slow loading due to decryption?
Click to expand...
Click to collapse
No, it's because of a bug/side-effect of f2fs that's making it excruciatingly slow to boot twrp. However encryption does make it a little slower to boot twrp even with ext4 filesystem, just not as much.
tvakshaykumar said:
Yes, take a titanium backup of apps and data first
Click to expand...
Click to collapse
Titanium backup wont help i think because changing file system will wipe titanium backup files too..
Unless he back ups them to pc which is worth mentioning
Correct me if im wrong
This is a standard procedure.
Always to keep a copy of tibu backup files on the cloud or at an external disk.
Unleashed by ONEPLUS 3T rooted
agosto 2019.
I found slow twrp also in version 3.3
modified for the latest build of my XZ3.
Now I look for some guide to pass recovery to Ext4, correctly.
Hello everyone,
Can someone help me with fixing my Persist Partition?
My Fingerprint Scanner doesn't work, and I found out it might be due to a corrupt /Persist.
I've tried extracting a Payload.bin (from the latest OTA Firmware) but it doesn't contain any Persist Images.
Can anyone either send me their Persist.img or help me find a original Persist.img from the Stock ROM?
Thanks in advance!
Fatal_Scythe said:
Hello everyone,
Can someone help me with fixing my Persist Partition?
My Fingerprint Scanner doesn't work, and I found out it might be due to a corrupt /Persist.
I've tried extracting a Payload.bin (from the latest OTA Firmware) but it doesn't contain any Persist Images.
Can anyone either send me their Persist.img or help me find a original Persist.img from the Stock ROM?
Thanks in advance!
Click to expand...
Click to collapse
Here you go...
Andrologic said:
Here you go...
Click to expand...
Click to collapse
Thank you!
If I may ask, is this your Persist, or is this from an Official ROM?
Fatal_Scythe said:
Thank you!
If I may ask, is this your Persist, or is this from an Official ROM?
Click to expand...
Click to collapse
It's mine. Persist is not part of the ROM, that's why you can extract it from there. It's factory installed in its own partition.
Andrologic said:
It's mine. Persist is not part of the ROM, that's why you can extract it from there. It's factory installed in its own partition.
Click to expand...
Click to collapse
That makes sense.
Though I kinda think that it's dumb that it's kind-of-impossible to obtain an "official" Persist Image from Asus since others like Xiaomi just put it into their Firmwares too, but alrighty I guess.
Will flash tomorrow and hopefully it helps.
Andrologic said:
It's mine. Persist is not part of the ROM, that's why you can extract it from there. It's factory installed in its own partition.
Click to expand...
Click to collapse
Well, kind of expected that but it doesn't work.
The Contents of my Persist Partition don't seem to change no matter how often I "erase" and "flash" the Persist.img. Calibrating with the "Factory Test" Tool also gives me an "get calibrate failed" error again so yeah.... Guess I'll go with Face Unlock for now.
Thank you very much though for your quick help.
Fatal_Scythe said:
Well, kind of expected that but it doesn't work.
The Contents of my Persist Partition don't seem to change no matter how often I "erase" and "flash" the Persist.img. Calibrating with the "Factory Test" Tool also gives me an "get calibrate failed" error again so yeah.... Guess I'll go with Face Unlock for now.
Thank you very much though for your quick help.
Click to expand...
Click to collapse
How do you flash it? Try using TWRP and if that doesn't work you should be able to flash it with the device in EDL mode.
Andrologic said:
How do you flash it? Try using TWRP and if that doesn't work you should be able to flash it with the device in EDL mode.
Click to expand...
Click to collapse
I tried all of that actually. It flashed just fine, but that's pretty much it.