How to back up imei. - Galaxy Tab 2 Q&A, Help & Troubleshooting

iam new to samsung tab 2.
i have p3100 (gsm and wifi model)
how can i back up imei of my tab 2.
please help me.

using custom recovery
Make a backup of your efs folder via a custom recovery or do it via a root explorer it can be found in root directory of your phone

Once you are rooted and have busybox installed you can use EFS Professional (can be found here on xda) or backup by hand:
Download and run Terminal-Emulator:
su
Click to expand...
Click to collapse
Grant root access.
busybox dd if=/dev/block/mmcblk0p1 of=/sdcard/efs.img bs=4096
exit
Click to expand...
Click to collapse
You´ll find "efs.img" on your internal Storage, copy to your PC & on a 2nd Storage (e.g. usb-stick) and keep it safe.

Android-Andi said:
Once you are rooted and have busybox installed you can use EFS Professional (can be found here on xda) or backup by hand:
Download and run Terminal-Emulator:
Grant root access.
You´ll find "efs.img" on your internal Storage, copy to your PC & on a 2nd Storage (e.g. usb-stick) and keep it safe.
Click to expand...
Click to collapse
Thx

If you have flashed a custom recovery its simple just boot to recovery and go to backup then mark on 'EFS' then complete the backup process you are good to go
Sent from my GT-P3100 using Tapatalk

Related

[CWM] 6.0.3.3 for HP Slate 7

I have successfully built ClockworkMod for our HP Slate 7. I have been successful in backup and restore to and from internal SD and external SD. This is confirmed working on 2800 series and 4600 series tablets.
Prerequisites
You must have root to install this.
- Download ROOT install tool http://www.sjroot.com
- After tablet is rooted, install SuperSU from the market and update the su binary
- Verify root access with Root Checker or equivilent
Updates
-Confirmed working on 2800 series by user Joshua11007! Thanks!
-Confirmed working on 4600 series by goodguy25. Thanks!
-Added download link to stock recovery
Install at your own risk. I or anyone else am not responsible for the damage caused to your tablet or breaking warranty.
Issues
If you go into key test the only way out is to reboot is to hold the power button until tablet resets, but i think this normal.
Install from Windows *** Updated installer
If your tablet isn't rooted, please root it first. You must also have ADB working in Windows. This installer will not work from Linux, but I will provide steps below to flash from linux too.
Download attached zip file and extract on Windows PC.
Follow back-up procedure below if you want to backup your factory recovery first. (This can be skipped but you won't have your factory recovery image anymore if you skip it).
Run the Batch file labeled "Install-CWM.bat"
Done! The script will automatically reboot the tablet into recovery when complete.
Install from Linux
Ensure tablet is rooted
Download attached file and unzip it
Code:
adb push recovery.img /sdcard/
Code:
adb shell dd if=/sdcard/recovery.img of=/dev/block/mtd/by-name/recovery
Code:
adb shell mv /system/recovery-from-boot.p /system/recovery-from-boot.p.old
Done! You have copied the recovery image to the internal SD, copied it to the recovery partition, and moved the factory recovery image so it doesn't over-write CWM the next time you reboot.
Backup Procedure
From your computer with ADB working
Code:
adb shell dd if=/dev/block/mtd/by-name/recovery of=/sdcard/factory-recovery.img
Code:
adb pull /sdcard/factory-recovery.img
You have copied the recovery partition to your internal SD and copied it to your computer.
Download Link
CWM 6.0.3.3
http://goo.gl/GDbDyc - Mega (Link Fixed 11/13/2014)
Stock Recovery
http://goo.gl/cGtlt1 - Mega
Reserved
Please can you upload a stock recovery backup? Thanks!!
rjwil1086 said:
I have successfully built ClockworkMod for our HP Slate 7. I have only tested this on my Slate, which is a 2800. I have been successful in backup and restore to and from internal SD and external SD. I don't have a ROM to test with yet but once I do, I will verify ROM installation works as well.
I hope this goes without saying, but I am the only person that has tested this, so install at your own risk. I or anyone else am not responsible for the damage caused to your tablet or breaking warranty.
Issues
None that I am aware of. Please let me know otherwise.
Install from Windows
If your tablet isn't rooted, please root it first. You must also have ADB working in Windows. This installer will not work from Linux, but I will provide steps below to flash from linux too.
Download attached zip file and extract on Windows PC.
Follow back-up procedure below if you want to backup your factory recovery first. (This can be skipped but you won't have your factory recovery image anymore if you skip it).
Run the Batch file labeled "Install-CWM.bat"
Done! The script will automatically reboot the tablet into recovery when complete.
Install from Linux
Ensure tablet is rooted
Download attached file and unzip it
Code:
adb push recovery.img /sdcard/
Code:
adb shell dd if=/sdcard/recovery.img of=/dev/block/mtd/by-name/recovery
Code:
adb shell mv /system/recovery-from-boot.p /system/recovery-from-boot.p.old
Done! You have copied the recovery image to the internal SD, copied it to the recovery partition, and moved the factory recovery image so it doesn't over-write CWM the next time you reboot.
Backup Procedure
From your computer with ADB working
Code:
adb shell dd if=/dev/block/mtd/by-name/recovery of=/sdcard/factory-recovery.img
Code:
adb pull /sdcard/factory-recovery.img
You have copied the recovery partition to your internal SD and copied it to your computer.
Download Link
http://goo.gl/aGjiij - Mega
Click to expand...
Click to collapse
Please can you upload a stock recovery.img backup? Thanks!! :good:
J001E said:
Please can you upload a stock recovery.img backup? Thanks!! :good:
Click to expand...
Click to collapse
I have added a link to the op. Thanks.
Just tested, I can confirm it works.
Most easy way to install on linux :
Use this rkflashkit
Also works across 4600 models. Just don't use key test as you'll trap yourself inside and have to power off manually.
Sent from my HP Slate 7 using Tapatalk
how to flash stock recovery?
preferably from CWM
Just so you guys know I got a request to port my custom ROM for the Slate 7 Plus to the Slate 7 and worst case scenario I can get a build out Monday.
Sent from my Sero 7 Pro using Tapatalk
gless said:
how to flash stock recovery?
preferably from CWM
Click to expand...
Click to collapse
You can flash the stock recovery via Flashify if you're rooted.
Sent from my Sero 7 Pro using Tapatalk
I tried to install this by it comes up with an error:
/dev/block/mtd/by-name/recovery: cannot open for write: Permission denied
Click to expand...
Click to collapse
Any advice? Thanks!
Python. said:
I tried to install this by it comes up with an error:
Any advice? Thanks!
Click to expand...
Click to collapse
Are you rooted?
Sent from my HP Slate 7 using Tapatalk
goodguy25 said:
Are you rooted?
Sent from my HP Slate 7 using Tapatalk
Click to expand...
Click to collapse
Yep. That was the first thing I checked. Confirmed it with Root Checker...
Edit: For extra information, I have the HP Slate 7 2801 (Same as the 2800 version)
Python. said:
Yep. That was the first thing I checked. Confirmed it with Root Checker...
Click to expand...
Click to collapse
If I were you, I would get the Cwm recovery on to the tablet, then using terminal emulator to backup the stock recovery and install the Cwm one.
Sent from my HP Slate 7 using Tapatalk
goodguy25 said:
If I were you, I would get the Cwm recovery on to the tablet, then using terminal emulator to backup the stock recovery and install the Cwm one.
Sent from my HP Slate 7 using Tapatalk
Click to expand...
Click to collapse
Could you clarify that? How would I get CWM recovery on to the tablet? I'm getting the error message when running the Batch file 'Install-CWM.bat'. The cmd console has that message about permission being denied and then it says installation complete and press to reboot. When rebooting, it goes to the stock recovery...
Python. said:
Could you clarify that? How would I get CWM recovery on to the tablet? I'm getting the error message when running the Batch file 'Install-CWM.bat'. The cmd console has that message about permission being denied and then it says installation complete and press to reboot. When rebooting, it goes to the stock recovery...
Click to expand...
Click to collapse
Try taking the CWM .IMG file and flashing it via Flashify.
Sent from my Sero 7 Pro using Tapatalk
I looked through my batch script. I think I need to modify it because it's not executing as root. Use the steps I created for Linux except from Windows command prompt. That's all the batch file is doing.
Sent from my LG-E970 using XDA Premium 4 mobile app
jerbear294 said:
Try taking the CWM .IMG file and flashing it via Flashify.
Sent from my Sero 7 Pro using Tapatalk
Click to expand...
Click to collapse
I tried this but when I open Flashify, it says 'You don't have root/superuser access'. But, Root Checker says that I have root and SuperSU is working...
rjwil1086 said:
I looked through my batch script. I think I need to modify it because it's not executing as root. Use the steps I created for Linux except from Windows command prompt. That's all the batch file is doing.
Sent from my LG-E970 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I tried doing that but there's an error on Step 2:
rjwil1086 said:
adb shell dd if=/sdcard/recovery.img of=/dev/block/mtd/by-name/recovery
Click to expand...
Click to collapse
It states that:
Code:
/dev/block/mtd/by-name/recovery: cannot open for write: Permission denied
Python. said:
I tried this but when I open Flashify, it says 'You don't have root/superuser access'. But, Root Checker says that I have root and SuperSU is working...
I tried doing that but there's an error on Step 2:
It states that:
Code:
/dev/block/mtd/by-name/recovery: cannot open for write: Permission denied
Click to expand...
Click to collapse
Strange. Try rerooting, both issues are connected to root. It could be the SU binary as well, does SuperSU want you to update?
Sent from my Sero 7 Pro using Tapatalk
jerbear294 said:
Strange. Try rerooting, both issues are connected to root. It could be the SU binary as well, does SuperSU want you to update?
Sent from my Sero 7 Pro using Tapatalk
Click to expand...
Click to collapse
I've tried rebooting several times, SuperSU doesn't need an update but it's still not working...
I'll need a bit more time to make the ROM. Sorry guys, I've been trying to tackle an issue with porting CWM to the Slate 7 Plus. I will definitely have a ROM for you guys by the time Saturday rolls around.
Sent from my Sero 7 Pro using Tapatalk

[Q] Help with backup before root on OnePlusOne

Hi there! I am on a oneplusone and want to root before I flash to Paranoid Android.
I want to root so I can get titanium backup I went on titanium's site and they accept backups made before rooting but I am VERY confused on how to do this!!
Here are the steps they list:
Before beginning, you need to setup your ADB and have your device detected. You must also running Android version 4.0 and above. Also, make sure you have a file manager installed. Our favorite is the ES File Explorer.
Connect your device and make sure its listed with the following command:
adb devices
Run a FULL backup with the following command:
adb backup -f FullBackup.ab -apk -all
This will create a “package” called “FullBackup.ab” on the current location in your command prompt. This is your backup package.
Now you can root your phone.
Once finished rooting, insert the “FullBackup.ab” package on your sdcard
Hit the menu button and look for “Extract from ADB backup” option. This will prompt you to search for the file. Use the file manager that you installed earlier and navigate to the directory and select the FullBackup.ab file.
Now restore like as if the backup was made with Titanium Backup. Don’t forget to make a fresh copy of the backup using Titanium Backup. You’re Done!
Click to expand...
Click to collapse
What does this all mean?? and how do I insert the package on my sd card and extract the backup option etc..if you could all help explain this to me that would be great! Thank you so much!

[Q] How to move twrp backup to pc

Hi,
I need a tipp
My TWRP backup is stored at internal storage location: /data/media/0/TWRP/BACKUPS
But I dont know how I can enter the folder and pull the Backup onto my PC to save it there too.
I cannot see the folder.
thx
Skastream
skastream said:
Hi,
I need a tipp
My TWRP backup is stored at internal storage location: /data/media/0/TWRP/BACKUPS
But I dont know how I can enter the folder and pull the Backup onto my PC to save it there too.
I cannot see the folder.
thx
Skastream
Click to expand...
Click to collapse
Its simple a copy paste job. Look for the TWRP folder in root of storage
TWRP\BACKUPS\TA933028J2\2015-09-21--01-09-17_bliss_falcon-userdebug_5.1.1_LVY48F_ddf5301
Also, Did you check developers options to connect the device
If your device is Connected correctly to PC, you will get all the folders, simply copy it and paste it on PC
Thnx
It doesnt work for me.
I have a rooted Moto G but
Running 'adb root' gives me the same 'adbd cannot run as root in production builds' error. So i cannot reach the folder with a root explorer
run adb shell first and then while you're in the shell run su, which will switch the shell to run as root!
$: adb shell
$: su

Help me fix this /efs problem

I have a Samsung galaxy tab 2.One day as I decided to wipe everything,i noticed a message in the recovery mode saying unable to mount efs.I cant open my tablet or anything.After looking on the internet,people were telling me to flash a custom recovery like CWM.In order to do that I need to root my tablet.To root my tablet I need to enable USB debugging,which I can't because I can't access it.Can you help me please?
Shedopen123 said:
I have a Samsung galaxy tab 2.One day as I decided to wipe everything,i noticed a message in the recovery mode saying unable to mount efs.I cant open my tablet or anything.After looking on the internet,people were telling me to flash a custom recovery like CWM.In order to do that I need to root my tablet.To root my tablet I need to enable USB debugging,which I can't because I can't access it.Can you help me please?
Click to expand...
Click to collapse
Boot to download mode and flash CWM or TWRP for your model number via Odin. Then you boot into CWM or TWRP and flash SuperSU.zip to root your device. I suggest TWRP instead of CWM.
Then, if you have TWRP you can use the built in file manager in TWRP to pull a copy of your build.prop file from /system, then copy it to PC then open build.prop in a text editor then find these lines in it:
persist.service.adb.enable=1 persist.service.debuggable=1 persist.sys.usb.config=mtp,adb
Change these lines in your build.prop to match the example above. You may not have all of these lines, change the ones you have and/or type the lines you don't have in for yourself then save the edited build.prop then adb push that copy back to /system to overwrite the existing unedited build.prop. Reboot the device and USB debugging should be enabled.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Droidriven said:
Boot to download mode and flash CWM or TWRP for your model number via Odin. Then you boot into CWM or TWRP and flash SuperSU.zip to root your device. I suggest TWRP instead of CWM.
Then, if you have TWRP you can use the built in file manager in TWRP to pull a copy of your build.prop file from /system, then copy it to PC then open build.prop in a text editor then find these lines in it:
persist.service.adb.enable=1 persist.service.debuggable=1 persist.sys.usb.config=mtp,adb
Change these lines in your build.prop to match the example above. You may not have all of these lines, change the ones you have and/or type the lines you don't have in for yourself then save the edited build.prop then adb push that copy back to /system to overwrite the existing unedited build.prop. Reboot the device and USB debugging should be enabled.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Click to expand...
Click to collapse
I'm having trouble flashing Supersu.zip.Everytime I flash,i type SU into the Terminal and it always says SU not found.Do I have to use adb from now on in order to replace efs?I also can't find the build.prop file that you are referring to in your comment.Thank you
Shedopen123 said:
I'm having trouble flashing Supersu.zip.Everytime I flash,i type SU into the Terminal and it always says SU not found.Do I have to use adb from now on in order to replace efs?I also can't find the build.prop file that you are referring to in your comment.Thank you
Click to expand...
Click to collapse
You don't flash SuperSU.zip with adb/fastboot.
Move the SuperSU.zip file to your device's internal storage or put it on an external sdcard, then boot into TWRP and choose the "install" option, then browse to where you stored SuperSU.zip and flash it.
In my first reply to you, I didn't say anything about flashing SuperSU.zip in a terminal, I told you to boot into TWRP and flash SuperSU.zip. Pay attention to what is told to you, word for word.
You could have easily done some searching to understand those instructions. Learn to search for answers.
You need to be rooted first, then you can find and edit build.prop.
Build.prop is very easy to find, again, learn how to search for answers.
Build.prop is located in /system/build.prop. It's in system partition, not in your internal storage.
Try using adb pull to get a copy of build.prop then edit the copy, save the copy and adb push it back to its location in /system/build.prop.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE

persist.img backup and restore

Hey guys! I was doing some forum surfing and I heard about this image called persist.img. I found out that it's specific to each device and you lose widevine if you flash a generic one. So I have 2 questions to ask you guys.
1. If I have a backup of my own persist.img, can I flash it and not lose widevine?
2. How do I actually back up the image?
Thanks on advance guys! ⊂((・▽・))⊃
1. not sure honestly, but I backup anyway to try if it does when time comes.
(Root is needed)
From computer:
adb shell dd if=/dev/block/bootdevice/by-name/persist of=/tmp/persist.img
adb pull /tmp/persist.img persist.img
Or from phone from terminal emulator;
su
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img
Make a copy of this to somewhere else(drive/pc etc).
Not completely sure about restoring it, I think you can just flash it via fastboot.
Lossyx said:
1. not sure honestly, but I backup anyway to try if it does when time comes.
(Root is needed)
From computer:
adb shell dd if=/dev/block/bootdevice/by-name/persist of=/tmp/persist.img
adb pull /tmp/persist.img persist.img
Or from phone from terminal emulator;
su
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img
Make a copy of this to somewhere else(drive/pc etc).
Not completely sure about restoring it, I think you can just flash it via fastboot.
Click to expand...
Click to collapse
That's great! Thanks for the help
Hey. How can we backup it without root?
Lossyx said:
1. not sure honestly, but I backup anyway to try if it does when time comes.
(Root is needed)
From computer:
adb shell dd if=/dev/block/bootdevice/by-name/persist of=/tmp/persist.img
adb pull /tmp/persist.img persist.img
Or from phone from terminal emulator;
su
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img
Make a copy of this to somewhere else(drive/pc etc).
Not completely sure about restoring it, I think you can just flash it via fastboot.
Click to expand...
Click to collapse
where can i find the persist.img file in the device ? i search using google files app and it wasnt there.
Kagetane Hiruko said:
where can i find the persist.img file in the device ? i search using google files app and it wasnt there.
Click to expand...
Click to collapse
There is a app from play store called partitions backup it shows all partitions including persist and let's u make a copy for back up
hammered58 said:
There is a app from play store called partitions backup it shows all partitions including persist and let's u make a copy for back up
Click to expand...
Click to collapse
Needs root though.
You could do an msmtool readback i think it's called using msmtool. to backup without root. you do need windows for it though.

Categories

Resources