Is there a "Comprehensive IMEI/EFS Backup" that is recommended for S4 - Galaxy S 4 Q&A, Help & Troubleshooting

On my d2vzw (VZW S3) this backup was recommended for IMEI before flashing new ROMs. Is this something that S4 users should concern themselves with?
http://forum.xda-developers.com/showthread.php?t=1852255
http://forum.xda-developers.com/showpost.php?p=30679476&postcount=5732

EFS Backup Galaxy S4
Yes it is recommended since the possibility that you loose your IMEI is always there when flashing ROMs.
Do this backup directly after you are rooted the first time - then you will have it later in case of a lost IMEI.
------------------------------------------------------
The EFS you can save by the following instructions.
You will need:
- Rooted phone
- Busybox installed and started once!
- Android Terminal Emulator
------------------------------------------------------
EFS Backup:
Open your Terminal Emulator and execute the following four commands:
Code:
su -c 'dd if=/dev/block/mmcblk0p10 of=/sdcard/efs.bin'
su -c 'dd if=/dev/block/mmcblk0p13 of=/sdcard/m9kefs1.bin'
su -c 'dd if=/dev/block/mmcblk0p14 of=/sdcard/m9kefs2.bin'
su -c 'dd if=/dev/block/mmcblk0p15 of=/sdcard/m9kefs3.bin'
The EFS backups are now on the internal SD.
The first file should have around 13,6MB and the other three around 780KByte.
------------------------------------------------------
EFS Restore:
Open your Terminal Emulator and execute the following four commands:
Code:
su -c 'dd if=/sdcard/efs.bin of=/dev/block/mmcblk0p10'
su -c 'dd if=/sdcard/m9kefs1.bin of=/dev/block/mmcblk0p13'
su -c 'dd if=/sdcard/m9kefs2.bin of=/dev/block/mmcblk0p14'
su -c 'dd if=/sdcard/m9kefs3.bin of=/dev/block/mmcblk0p15'
------------------------------------------------------
Furthermore you should also use the Qualcomm Service Tool to backup your IMEI & NV.
You will need:
- Kies installed on your PC
- QPST installed on your PC
Then do the following:
1) Call *#0808# on your phone
2) Choose "AP" and "RNDIS + DM + MODEM" and confirm by clicking "OK" (your phone is now in DIAG mode)
3) Kill Kies in your task manager
4) Connect the phone via USB
5) Start "QPST Configuration" on your PC
6) Choose the tab "Ports" and click "Add New Port"
7) Choose the port "USB/QC Diagnostic" with "SURF9615" as name
8) Choose "Start Clients" in QPST and start "Software Download"
------------------------------------------------------
Backup of IMEI & NV Data:
9) Change to tab "Backup" and choose a save location by clicking "Browse"
10) Click "Start" and wait until the process is completed
11) A QCN file should have been created with a size of about 350kB
-------------
Restore of IMEI & NV Data:
9) Change to tab "Restore" and choose your location of the QCN file by clicking "Browse"
10) Click "Start" and wait until the process is completed
11) By calling *#06# you should see you old and valid IMEI again
------------------------------------------------------
Change your USB mode back by calling *#0808# again and choosing "AP" and "MTP+ADB"
------------------------------------------------------
This sounds a lot but is done really fast and you only need to do it once after the first time being rooted. Hence it is worth doing it

pitcher85 said:
Yes it is recommended since the possibility that you loose your IMEI is always there when flashing ROMs.
Do this backup directly after you are rooted the first time - then you will have it later in case of a lost IMEI.
------------------------------------------------------
Backup of IMEI & NV Data:
9) Change to tab "Backup" and choose a save location by clicking "Browse"
10) Click "Start" and wait until the process is completed
11) A QCN file should have been created with a size of about 350kB
-------------
Restore of IMEI & NV Data:
9) Change to tab "Restore" and choose your location of the QCN file by clicking "Browse"
10) Click "Start" and wait until the process is completed
11) By calling *#06# you should see you old and valid IMEI again
------------------------------------------------------
Change your USB mode back by calling *#0808# again and choosing "AP" and "MTP+ADB"
------------------------------------------------------
This sounds a lot but is done really fast and you only need to do it once after the first time being rooted. Hence it is worth doing it
Click to expand...
Click to collapse
I tried using this method on my I9195 (S4 Mini LTE model), but it doesn't make any difference. IMEI is still broken. I checked backup with hex editor, everything is fine, it contains my imei in hex. But it seems, that it doesn't write any changes in memory in my phone. Any solutions?

Related

[How-To] When nandroid via recovery and adb fails

Alright, I faced this problem a few days backed, and when I did my research I found that a lot of people face this problem, or once in a while at least:
When you try to do a nandroid restore you see this:
Error: run ' nandroid- mobile. sh restore ' via console!
So you try to do it via adb (aka console) and you get this:
Error: unable to mount /sdcard, aborting
Frustrating right! You have messed up your phone while tweaking and thought you had the upper hand because you did a back-up.. but now you are dealing with this..
Here's the solution I gathered from web:
1. Check that you have USB de-bugging on under the development settings of your phone
2. Check that you have your sdcard partitioned to at least ext3.
3. Check that you did not rename your nandroid folder, nandroid's content to anything fanciful.
4. Check that you have enough power on your phone, at least 30 percent to be safe. Low power will disable the ability to do a restore in some cases.
Well if you don't have the above:
1. Go enable USB de-bugging under settings>manage applications>development>USB Debugging>activate.
2. Transfer whatever content you have on sdcard to somewhere safe. Then do a proper partitioning via the recovery, upgrade it from ext2 to ext3. Repair the ext in case there are some errors. After this, transfer all contents back.
3. Please rename all folders back to their original name, and don't rename them ever again.
4. Charge your phone with AC supply, and wait till it is at least 30 percent and try to do a restore again via recovery, if not, do step 1 - 3.
Trying to do a restore:
1. Do it via recovery, if everything is fine, it should go smoothly, and you got your upper hand back!
2. If you like to see words running in strings, doing via console is possible too!
-
"quoted from and credit to Slug from android forums"
Open a command prompt window (Start-All Programs-Accessories-Command Prompt)
Type cd/ and hit <enter>
Enter cd adb
Now enter adb devices and it should show "000000000000 recovery"
If so, enter adb shell and you should see the prompt change to #. You're now running as su (root)!
Enter nandroid-mobile.sh --restore. You'll see instructions about "Using G1 keyboard..." disregard and hit <enter>.
After a brief search, the default (most recent) backup found will be displayed along with any others located. If the default choice isn't the one you want to restore, you'll have to enter the full path to the correct one as displayed in the list. You can use the Edit...Mark... function from the command prompt window menu to simplify this, though. Put the cursor at the beginning of the required line, hold <shift> and highlight the test using the arrow keys. <Enter> copies to the clipboard, and Edit... Paste... places it wherever the cursor is placed.
Once you have the correct backup referenced, hit <enter> and you should see the script work its magic.
When Restore done is displayed you can reboot the handset from the recovery menu.
Alright you have got your restore back! Feedback or anymore tips to this problem are welcome! Thank you for your time.
JokerAce
so if we renamed the nandroid backup to something we will remember more easily, and that the problem, what do we do?
edit: how do we know what the original name of the backup was called.
Hi, did you get a Md5 mismatched or something? Please be clear with your problem. If it's a mismatch problem, make sure your rename'd folder has NO Space in the name.

[Guide][NOOB-Friendly] How to share your Nandroid Backup and Modem

As we are having a lot of Jelly Bean leaks lately, a lot of users want to share the Nandroid backup to others but sometimes they make mistakes which ends up in md5 mismatches or some of them don't know how to create a share-able zip.
I have tried to create this guide to enable them in doing so. Hope this will help everyone.
Requirement:
CWM Recovery
7zip, Winrar or any file compressing tool
ADB setup in your PC
Click to expand...
Click to collapse
Once you have applied the OTA and done a factory reset, Follow the process given below:-
If your have ClockworkMod Touch Recovery 6.0.1.2 (Believe me it is easier and better in Touch recovery - Get it from here) follow these:-
In CWM Recovery
Reboot into Recovery => Hold Volume Up + Home + Power buttons together for about 5-7 seconds, release the buttons when you see the recovery menu
Choose -> Backup and Restore
Chooose -> Choose Backup Format (Optional)
Change Backup format to tar (Optional)
Choose -> Create image.zip
This will create an image.zip and an image folder in your Internal Sdcard inside the clockworkmod>backup folder
Copy the image.zip file to your PC, rename it to the software version you are sharing for e.g. GT-I9300-XXXXXXXX. Important do not put spaces in the name.
Upload this zip to whichever Filehosting site you want to share with.
*this image.zip can be flashed in CWM directly without having the need to extract the files inside*
Click to expand...
Click to collapse
If you have ClockworkMod Recovery 5.5 (Get it from here) Follow these:-
In CWM Recovery
Reboot into Recovery => Hold Volume Up + Home + Power buttons together for about 5-7 seconds, release the buttons when you see the recovery menu
Choose -> Backup and Restore
Choose -> Backup (either Internal or External SDcard by default it will backup to ExtSDcar)
Your Backup will now be there inside the clockworkmod>backup folder, Copy this folder to your PC
Zip the Folder and give it a name for e.g. GT-I9300-XXXXXX (Dont use spaces)
Now you can upload this zip to any filehosting service of your choice
Click to expand...
Click to collapse
How to extract the modem:-
For extracting the modem you need to be rooted (If you are not or want to know how go here)
Using ADB (Go here if you want to know how to set up ADB)
Connect your phone to you PC (Please ensure that ADB debugging option is checked in Developer Options)
Type
Code:
adb devices
You will get something like this:
Code:
List of devices attached
XXXXXXXXXXXXXX device
It shows your device is connected via ADB
Type
Code:
adb shell
You will get a output like this:
Code:
C:\adb>adb shell
[email protected]:/ $
Type
Code:
su
You will get:
Code:
su
[email protected]:/ #
(Those who are using Terminal Emulator can start from this step)
Type
Code:
dd if=/dev/block/mmcblk0p7 of=/sdcard/modem.bin bs=4096
You will get
Code:
[email protected]:/ # dd if=/dev/block/mmcblk0p7 of=/sdcard/modem.bin bs=4096
dd if=/dev/block/mmcblk0p7 of=/sdcard/modem.bin bs=4096
8192+0 records in
8192+0 records out
33554432 bytes transferred in 2.892 secs (11602500 bytes/sec)
[email protected]:/ #
Your modem.bin file is copied to the root of your sdcard, copy it to your PC and upload it to the file hosting site of your choice
Click to expand...
Click to collapse
I have tried to write everything to the best of my knowledge. If anyone feels that I have missed something or I have written something wrong please let me know. I will make the changes.
Thanx for this very useful
Sent from my GT-I9300 using Tapatalk 2
anurag549 said:
Thanx for this very useful
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
will be helpful for many ... nice work buddy
Q: When I dump modem I get a modem.bin and its ~30mb, while shipped modems in stock fw is ~12mb, why is this?
Perka said:
Q: When I dump modem I get a modem.bin and its ~30mb, while shipped modems in stock fw is ~12mb, why is this?
Click to expand...
Click to collapse
Well that escapes me..may be someone knowledgeable can shed some light on it..
Sorry..
Maybe the that provided with the firmware is a patch..I know OTA files are patches but can't say much about full firmwares..
I'm trying to do this using the terminal emulator in Rom toolbox and u keep getting permission denied?
(from what I understood we had two ways of doing this correct? A computer and adb or TE, correct?)
Danielhammons1 said:
I'm trying to do this using the terminal emulator in Rom toolbox and u keep getting permission denied?
(from what I understood we had two ways of doing this correct? A computer and adb or TE, correct?)
Click to expand...
Click to collapse
You have to type su in terminal to gain root access. It's just like a standard Linux terminal.

[Guide]Data Recovery -Internal [Note 2 or Any Android]

Hello here is a guide to Recover Deleted files from internal memory From Any android Phone
You Need
1.Rooted Android phone ( In my case i used Note 2 N7105 )
2.Install busybox ( Note : Install in /system/bin NOT at system/xbin )
3.Drivers Installed on your computer
4.Download The Recovery Tool.rar [ https://www.box.com/s/zw0sfprtlx4dqysd018o ]
5. Download Recuva [ http://www.piriform.com/recuva/download ]. This is the Software going to recover your file , or you can use your favourite Data recovery software . But i suggest Recuva
Steps :
1. Take your rooted phone . Go to Setting->Devoloper Option -> Tick on Stay awake and USB debugging
2.Connect your Phone to the Computer , Let the driver Install .
3.Extract Recovery Tool.rar to c:/ ( You will Find two folder AB and Cygwin )
4.Click Start -> Run ,
Type " CMD " Press Enter
5.Dos Window will open up Now Type " cd c:\ab\ " Press Enter
6. Type " adb devices " Press Enter
** Make sure it returning out Some numbers (IMEI) under list of devices
7.Type " adb Shell mount " Press Enter
Now this is something important , After the command adb shell mount it will give a long List you need to fine "dev/block/mmcblkop"xx" /data(or user data "
Note : The xx can be any number
In N7105 its " mmcblk0p16 " is data Partition .
The last two number (xx) will change from mobile to mobile . Just note the partition name . In my case its " mmcblk0p16 "
8.Close the CMD window . Go to My Computer->C:/->Cygwin->Open Cygwin Terminal
9.Type " export PATH="/cygdrive/c/ab":$PATH " Press Enter
10.Type " adb forward tcp:5555 tcp:5555 " Press Enter
11.Type " adb shell " Press Enter
12.Type " su " Press Enter
13.Grant Superuser Right on your Phone
14.Type " /system/bin/busybox nc -l -p 5555 -e /system/bin/busybox dd if=/dev/block/mmcblk0p16 " Press Enter
15.Minimize the window , Open another cygwin Terminal i.e. My Computer->C:/->Cygwin->Open Cygwin Terminal
16.Type " export PATH="/cygdrive/c/ab":$PATH " Press Enter
17.Type " adb forward tcp:5555 tcp:5555 " Press Enter
18.Type " cd /aa " Press Enter
19.Type " nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p16.raw " Press Enter
20. Now let it Run this will take long time for me it took me One hour to complete
21.After it Compltes Click start->Run Type " cmd " Press Enter
22. Type " cd c:\cygwin\aa\ " Press Enter
23.Type " VhdTool.exe /convert mmcblk0p16.raw " Press Enter
24.Now Close Everything .. Right Click My Comuter->Manage
25.Now Select Storage-->Disk Management.
26.In the menu select Action-->Attach VHD.
27.For Location enter " c:\cygwin\aa\mmcblk0p16.raw " and select the OK button.
28.Right-click on the name (e.g. "Disk 1") to the left of the Unallocated space and select Initialize Disk.
29.Select the GPT (GUID Partition Table) radio button and select the OK button.
30.Right-click on the Unallocated space and select New Simple Volume...
31.In the Wizard select Next>, leave the default for the volume size, select Next>, select a drive letter (e.g. K), select Next>, MAKE SURE to select
the 'Do not format this volume' radio button, select Next>, select Finish.
32.A box will pop up asking you to format the drive. You DO NOT want to format the drive at this time.
33.Right-click on the RAW space and select Format... MAKE SURE to change the File system to FAT32. Set the Allocation unit size dropdown to 'Default.' MAKE SURE that the Perform a quick format checkbox is CHECKED. You do not want to overwrite the entire new drive with all zeroes (0's) and destroy your data. Quick Format means that it will only attempt to destroy the index for the drive by establishing a new index. Without this box checked the Windows operating system will write zeroes (0's) across the entire volume, potentially destroying your data. Select the OK button.
34.A box will pop up saying that Formatting this volume will erase all data on it. That would be doubly true if you actually didn't check the 'Perform a quick format' checkbox. Double check that you actually did check the box and select the OK button.
35.Open the Piriform Recuva application. In the wizard select the 'Next >' button. Select the 'Other' radio button and select Next >. Select the 'In a specific location' radio button and enter: k:\ (assuming K is the drive letter you chose...) Select the Next > button. Select the Enable Deep Scan checkbox.
36.The application may take about an hour to do the 'Deep Scan.'
37.Once the application has returned its results you can choose which files to recover using the checkboxes. Select the 'Recover...' button and choose the location to which you wish to output your files.
No need to Thank me , This is not my work , i just gathered information and some Copy/Paste . Have a nice day
Note : Im not Responsible if you brick your phone . I did this and it worked for me . So im Sharing with you guys .
THANKS A LOT WARTICKLER , Its his work
Galaxy Nexus Users can look at his thread for - > http://forum.xda-developers.com/showthread.php?t=1994705
Reserved
Any Question please ask here Dont PM me i never really use xda Often or you can ask me on facebook.com/capt.nizam . I will try my best to answer All :good:
If you have used external SD Card as the location for saving raw image, this guide would have been less scary
Good guide though :good:
Thanks but since Jelly Bean I have resigned myself to the fact that there is no practical way to recover data from the internal storage (the lack of a recycle bin is one of the very few Android's big flaws) so I keep my data on the 64GB external one. I reserve the internal storage only for whatsapp and viber photo and video, Navigon maps (the whole European set), apps and the few other things which are always kept there (like SMS messages, e-mails, Dropbox offline files etc etc) . Doing so I have less than 3GB free on the internal memory so I would be keeping my data on the external SD card anyway...
Now this is something important , After the command adb shell mount it will give a long List you need to fine "dev/block/mmcblkop"xx" /data(or user data "
Note : The xx can be any number
In N7105 its " mmcblk0p16 " is data Partition .
The last two number (xx) will change from mobile to mobile . Just note the partition name . In my case its " mmcblk0p16 "
Click to expand...
Click to collapse
Im stuck on this step, I am looking over the long list cant find anything about dev/block/mmcblkop"xx" any help? Am i ment to use a command from the long list of commands to get it?
Kingybear said:
Im stuck on this step, I am looking over the long list cant find anything about dev/block/mmcblkop"xx" any help? Am i ment to use a command from the long list of commands to get it?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2216143
Data Recovery from a Locked Samsung Note Tablet.
Does the procedure posted by Capt.Nizam work for the tablet with forgotten password? Since it has a password on, the device will not mount on a PC or Mac. And because of Samsung encryption recovery through regular means might not be an option. How can I by pass the password and get into the flash chip to recover the data.
I posted the following on a forum with no response; does anyone have a better solution?
For the past few days I have surfed the web looking for a solution to recover my data from the Samsung Tablet 10.1 Note. I forgot the password I had and cannot loose the data by doing a hard reset/factory reset. There has to be a way to get back into the flash chip and recover data; even if it means physically opening up the tablet and removing the motherboard.
Since the password encrypts the data, the tablet shows up on a pc or mac when connected with a USB cable but shows no data.
Please, is there anyone who knows a way around?
Thank you in advance.
Shuja
[email protected] said:
If you have used external SD Card as the location for saving raw image, this guide would have been less scary
Good guide though :good:
Click to expand...
Click to collapse
Hi, [email protected], you can try Android Data Recovery. It is a powerful and useful recovery software originally developed to retrieve lost data from Android SD card. All lost data or deleted files, including photos, songs, videos and other data files can be restored as you want.
capt.nizam said:
Hello here is a guide to Recover Deleted files from internal memory From Any android Phone
4.Download The Recovery Tool.rar [ https://www.box.com/s/zw0sfprtlx4dqysd018o ]
Click to expand...
Click to collapse
Can you mirror these files somewhere? You're box account is out of bandwidth..
Mirror
mssmison said:
Can you mirror these files somewhere? You're box account is out of bandwidth..
Click to expand...
Click to collapse
I know this is an older thread but this method worked perfectly for me once before on a friends device. I need to do it again. Can you or someone else re-host the files?
Thanks in advance
I can't find the Cygwin Terminal in the Cygwin folder. There is only a Cygwin-Terminal.ico file. Somebody can help me?
download the terminal directly from cygwin site http://www.cygwin.com/
or create a shortcut to:
"C:\cygwin\bin\mintty.exe" -i /Cygwin-Terminal.ico -
I'm getting the following error after "Step 16" and unable to proceed... can anyone please help!!!
Error message in second cygwin terminal;
sh-4.1$ "export PATH="/cygdrive/c/ab":$PATH"
sh: export PATH=/cygdrive/c/ab:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/QuickTime/QTSystem:/cygdrive/c/WINDOWS/system32/WindowsPowerShell/v1.0: No such file or directory
sh-4.1$ "export PATH="/cygdrive/c/AB":$PATH"
sh: export PATH=/cygdrive/c/AB:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/QuickTime/QTSystem:/cygdrive/c/WINDOWS/system32/WindowsPowerShell/v1.0: No such file or directory
sh-4.1$ "export PATH="/cygdrive/c/ab":$PATH"
sh: export PATH=/cygdrive/c/ab:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/QuickTime/QTSystem:/cygdrive/c/WINDOWS/system32/WindowsPowerShell/v1.0: No such file or directory
sh-4.1$
Everything is fine until I start the trasference, I got this:
$ nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p16.raw
0 B 0:00:00 [ 0 B/s] [<=>
And when I go to the folder, the file is 0 bytes.
Any clue?
same here---- any help
AbraKdabra said:
Everything is fine until I start the trasference, I got this:
$ nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p16.raw
0 B 0:00:00 [ 0 B/s] [<=>
And when I go to the folder, the file is 0 bytes.
Any clue?
Click to expand...
Click to collapse
Im having the same dead end... please help...
farehmani
Hmmmmmmmmmmmmmm
Sent from my GT-N7100 using XDA Premium 4 mobile app
---------- Post added at 06:23 PM ---------- Previous post was at 06:23 PM ----------
This is really a lot of steps 2 follow thru
Sent from my GT-N7100 using XDA Premium 4 mobile app
help
wt is the code for note 2 gt n7100
AbraKdabra said:
Everything is fine until I start the trasference, I got this:
$ nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p16.raw
0 B 0:00:00 [ 0 B/s] [<=>
And when I go to the folder, the file is 0 bytes.
Any clue?
Click to expand...
Click to collapse
ME 2. Junior Membe,please help.
Galaxy S I9300
Link doesn't work
capt.nizam said:
4.Download The Recovery Tool.rar
Click to expand...
Click to collapse
This links don't work. It opens Box, but download never starts. Any idea where can I get this Reecovery Tools from?
Thank you.
pls reupload recovery tools
capt.nizam said:
Hello here is a guide to Recover Deleted files from internal memory From Any android Phone
You Need
1.Rooted Android phone ( In my case i used Note 2 N7105 )
2.Install busybox ( Note : Install in /system/bin NOT at system/xbin )
3.Drivers Installed on your computer
4.Download The Recovery Tool.rar [ https://www.box.com/s/zw0sfprtlx4dqysd018o ]
5. Download Recuva [ http://www.piriform.com/recuva/download ]. This is the Software going to recover your file , or you can use your favourite Data recovery software . But i suggest Recuva
Steps :
1. Take your rooted phone . Go to Setting->Devoloper Option -> Tick on Stay awake and USB debugging
2.Connect your Phone to the Computer , Let the driver Install .
3.Extract Recovery Tool.rar to c:/ ( You will Find two folder AB and Cygwin )
4.Click Start -> Run ,
Type " CMD " Press Enter
5.Dos Window will open up Now Type " cd c:\ab\ " Press Enter
6. Type " adb devices " Press Enter
** Make sure it returning out Some numbers (IMEI) under list of devices
7.Type " adb Shell mount " Press Enter
Now this is something important , After the command adb shell mount it will give a long List you need to fine "dev/block/mmcblkop"xx" /data(or user data "
Note : The xx can be any number
In N7105 its " mmcblk0p16 " is data Partition .
The last two number (xx) will change from mobile to mobile . Just note the partition name . In my case its " mmcblk0p16 "
8.Close the CMD window . Go to My Computer->C:/->Cygwin->Open Cygwin Terminal
9.Type " export PATH="/cygdrive/c/ab":$PATH " Press Enter
10.Type " adb forward tcp:5555 tcp:5555 " Press Enter
11.Type " adb shell " Press Enter
12.Type " su " Press Enter
13.Grant Superuser Right on your Phone
14.Type " /system/bin/busybox nc -l -p 5555 -e /system/bin/busybox dd if=/dev/block/mmcblk0p16 " Press Enter
15.Minimize the window , Open another cygwin Terminal i.e. My Computer->C:/->Cygwin->Open Cygwin Terminal
16.Type " export PATH="/cygdrive/c/ab":$PATH " Press Enter
17.Type " adb forward tcp:5555 tcp:5555 " Press Enter
18.Type " cd /aa " Press Enter
19.Type " nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p16.raw " Press Enter
20. Now let it Run this will take long time for me it took me One hour to complete
21.After it Compltes Click start->Run Type " cmd " Press Enter
22. Type " cd c:\cygwin\aa\ " Press Enter
23.Type " VhdTool.exe /convert mmcblk0p16.raw " Press Enter
24.Now Close Everything .. Right Click My Comuter->Manage
25.Now Select Storage-->Disk Management.
26.In the menu select Action-->Attach VHD.
27.For Location enter " c:\cygwin\aa\mmcblk0p16.raw " and select the OK button.
28.Right-click on the name (e.g. "Disk 1") to the left of the Unallocated space and select Initialize Disk.
29.Select the GPT (GUID Partition Table) radio button and select the OK button.
30.Right-click on the Unallocated space and select New Simple Volume...
31.In the Wizard select Next>, leave the default for the volume size, select Next>, select a drive letter (e.g. K), select Next>, MAKE SURE to select
the 'Do not format this volume' radio button, select Next>, select Finish.
32.A box will pop up asking you to format the drive. You DO NOT want to format the drive at this time.
33.Right-click on the RAW space and select Format... MAKE SURE to change the File system to FAT32. Set the Allocation unit size dropdown to 'Default.' MAKE SURE that the Perform a quick format checkbox is CHECKED. You do not want to overwrite the entire new drive with all zeroes (0's) and destroy your data. Quick Format means that it will only attempt to destroy the index for the drive by establishing a new index. Without this box checked the Windows operating system will write zeroes (0's) across the entire volume, potentially destroying your data. Select the OK button.
34.A box will pop up saying that Formatting this volume will erase all data on it. That would be doubly true if you actually didn't check the 'Perform a quick format' checkbox. Double check that you actually did check the box and select the OK button.
35.Open the Piriform Recuva application. In the wizard select the 'Next >' button. Select the 'Other' radio button and select Next >. Select the 'In a specific location' radio button and enter: k:\ (assuming K is the drive letter you chose...) Select the Next > button. Select the Enable Deep Scan checkbox.
36.The application may take about an hour to do the 'Deep Scan.'
37.Once the application has returned its results you can choose which files to recover using the checkboxes. Select the 'Recover...' button and choose the location to which you wish to output your files.
No need to Thank me , This is not my work , i just gathered information and some Copy/Paste . Have a nice day
Note : Im not Responsible if you brick your phone . I did this and it worked for me . So im Sharing with you guys .
THANKS A LOT WARTICKLER , Its his work
Galaxy Nexus Users can look at his thread for - > http://forum.xda-developers.com/showthread.php?t=1994705
Click to expand...
Click to collapse
pls reupload recovery tools

Restore IMEI after you lose it while replacing some sammy with aosp stock apps

hi there, i read a lot of theards here regarding IMEI, backup, restore and troubleshoot. until i allways belive that IMEI only can corrupt if you install other roms, not sammy stock one, but i learned its not so.
what i do:
i only replace the sammy email app with aosp one, secemail_j and secexchange. after i restart the phone and there wasnt any signal anymore.. try a seccond sim, but the same problem. i look in the settings and see IMEI unknown.
i didnt had any backup from my IMEI number, no efs folders no ext partition, nothing and i didnt install any other rom, its was the stock rom with device was delivered, i install only root rights. so i think it sould be possible that my IMEI partition is not corrupted, and i read somewhere here, install the stock kernel and it should be ok.
steps which i do:
1. download the newest sammy rom for my country
2. boot into recovery
3. wipe data partition
4. put my battery out
5. boot the phone in download mode
6. flash the new rom
after that my IMEI was back!! im was veryyy happy!!
7. download cf-auto root
8. boot the phone in download mode
9. flash cf-auto root
now i backup my IMEI!! only for i9505 devices
10. download the newest adb files
11. enable developer options on my galaxy(type seven times on the build number)
12. enable usb debuging in the developer options
13. ensure that the adb driver in my device manager on my pc was installed properly
14. copy a cmd.exe(c:\windows\system32\cmd.exe) to my adb folder
15. run cmd and type: adb devices
16. i see a prompt on my device regarding adb access, i allowed it and thick the option allways allow
17. i see my device listed and it wasnt offline so i type: adb shell
18. type: su
19. type: dd if=/dev/block/mmcblk0p10 of=/sdcard/efs.bin
20. type: dd if=/dev/block/mmcblk0p13 of=/sdcard/m9kefs1.bin
21. type: dd if=/dev/block/mmcblk0p14 of=/sdcard/m9kefs2.bin
22. type: dd if=/dev/block/mmcblk0p15 of=/sdcard/m9kefs3.bin
23. copy that files from the internal storage on my external sdcard and that was it
in case that you need to restore your IMEI some times later
24. copy the stored files again to you internal storage
25. run cmd and type: adb devices
26. if you see your device and its not offline type: adb shell
27. type: su
28: type: dd if=/sdcard/efs.bin of=/dev/block/mmcblk0p10
29. type: dd if=/sdcard/m9kefs1.bin of=/dev/block/mmcblk0p13
30. type: dd if=/sdcard/m9kefs2.bin of=/dev/block/mmcblk0p14
31. type: dd if=/sdcard/m9kefs3.bin of=/dev/block/mmcblk0p15
32. reboot your phoe and you are done
im not a developer, and im not able to troubleshoot you if you didnt sucessfully complete this steps, i only will share my expirience and how i fixed it. maybe someone can use it.. and im not responsible for any damage you do to your phone related to this theard..

[Help!] Update System with Terminal Emulator with Error "no space left on device"

[Help!] Update System with Terminal Emulator with Error "no space left on device"
I follow the following instruction to update my Meizu Pro5 with success for several times, but i got an error message "no space left on device" this time. Is there any way to solve this?
1. Enable root
Enable root by tapping on Settings-> Accounts-> My Flyme-> Personal settings (first option) -> System privileges and set it to open - accept disclaimer and confirm.
2. Download and successfully install Busybox (from Google Play or see .apk below)
3. Download and install a Terminal Emulator (from Google Play or see apk below)
4. Download the correct and desired international (i) ROM/firmware (update.zip) for your device
5. Download and use the update.zip (firmware) converter that creates the required system-i.img
Click here to download converter first
Copy system.new.dat and system.transfer.list (from the update.zip) to the folder “in” (see converter folder)
Then start the converting process by starting System-conVERTER.cmd and pressing option 1 [enter]
If successfully converted you can find the system-i.img in the ‘‘out’’ folder.
6. Copy the converted system-img from ‘‘out’’ to the internal memory of your Meizu device
7. Go to Settings-> Display-> Sleep and set it to at least 10 minutes
8. Start the Terminal Emulator and run (type) the super user command
su
A permission popup will come; give permission by tapping allow (always allow).
9. Now run (type) the command for installing the system-img.
dd if=/sdcard/system.img of=/dev/block/platform/XXXXXXX/by-name/system
Replace XXXXXXX with the correct partition system for your device
MX4 Pro = 15540000.dwmmc0
M2 note = mtk-msdc.0
MX4 = mtk-msdc.0 (OR mmcblk0p6)
MX5 = mtk-msdc.0 (OR mmcblk0p18)
Pro 5 = 15570000.ufs
Example for MX5 : dd if=/sdcard/system.img of=/dev/block/platform/mtk-msdc.0/by-name/system
Note: Pro5 might require: dd if=/storage/emulated/0/system.img instead of /sdcard/
10. The installation should start after the ‘‘dd if’’ command, but please note…
…it may seem that the copying/process did NOT start because you didn’t notice it, but it DID start.
do NOT type a new command or whatsoever, just…
…be patient and give your device 5-10 minutes to process.
11. When the process is done you’ll see a # at the very end
Your device should be unresponsive by now - this is normal
12. Now just shutdown your phone (hold power button) and reboot it
13. Once successfully booted your device should be running an I-rom
Once in Flyme again it is wise - but not necessary - to completely reset your phone. Go to settings->about phone->memory->factory data reset-> check both boxes and click start cleaning (this could take 5-10minutes). Always backup your stuff if necessary.
use“SD maid”​

Categories

Resources