Restaurar Imei

**VIDEO GUIDE ADDED BELOW** There is already a guide for restoring IMEI and Product code with a PC and ADB moving files

Views 664 Downloads 3 File size 102KB

Report DMCA / Copyright

DOWNLOAD FILE

Recommend stories

Citation preview

**VIDEO GUIDE ADDED BELOW** There is already a guide for restoring IMEI and Product code with a PC and ADB moving files between phone and computer......so i thought i would provide an alternative method that can be done without a PC or ADB. (This should be done from stock 2.1 (JF6) but may not be required (got this to work while in phoenix 1.5 without reverting)- results may very in custom rom environments.... ***IMPORTANT PRECURSOR - we will be working with an important system folder (/EFS) and its contents (nv_data files). It is important to back this folder up (we will be doing this in step 2 below). I first backed it up to my external sd card but i did also copy the backup folder to my PC just in case. fyi this fix is intended specifically for persons with borked product codes and imei's due to custom rom flashes and will not address nv_data issues of carrier blocks/etc. for those who had unlocked their devices and may in fact undo your unlock.*** This method assumes you are starting with a rooted phone w/ superuser rights You will need the following APPS that can all be downloaded from market and, with the exception of Root Explorer, are all free: A. Root Explorer (i know its paid but its the most $ worthy app i have encountered. You can use the free Android Mate as an alternative but not as robust or convenient IMO) B. Busbybox (once installed from market open the app to install it) C. Android Terminal Emulator D. Hex Editor E. SGS Toolbox __________________________________________________ _______________

Once all tools/apps listed above have been downloaded proceed as follows:

THERE ARE 3 Total Lines you will need to edit: 00188008 00188010 00188020 1. Install Busybox if you haven't done so already. 2. Use Root Explorer to create EFS Backup folder on an External SD (if you don't have one you can use the internal sd and give it a generic name that you will be able to identify). When ROOT EXPLORER opens you will be in the system file directory to get to your internal sd card

open the SDCARD folder (from there you will see your external sd card as well if you have one installed) 3. Use root explorer to view the open the EFS folder from your system directory. The EFS folder contains the file you will will need to edit and replace. Open the efs folder and use the multi-select copy to copy the following files: nv_data.bin and nv_data.bin.md5 (you can also copy their respective backup files nv_data.bak and nv_data.bin.md5.bak). 4. Staying in root explorer go back to parent directory (option at top of file/folder list) and navigate to the backup folder you created and paste the files there. While still in this directory make a copy of just the nv_data.bin and the paste is either in the root directory or external sd or internal sd if you do not have ext. *Since i have good backups now on PC and external sd...i generally just edit the nv_data.bin file in place and save over the original in the efs folder. 5. Open Hex Editor Application and open the copy of nv_data.bin from your external or internal SD (click the capacitive menu button on phone and select OPEN FILE) 6. Once the file opens click the capacitive button to bring up the menu again and select jump to address: 7. Enter 0188008 This will take you to line 00188008 8. Edit the last or 8th Block (last column of green text). Click in the box and edit it so that it reads 41. LINE 00188008 Block 8 = 41 9. use menu to jump to address again and Enter 0188010 10. This will take you to line 00188010. Edit the first two blocks of green text from this line. Replace the #'s so that both of the first two blocks contain 54. (look to the text at the right of screen the first two letter should have changed to TT. To recap you need to edit Block 1 and Block 2 of line 0018010: LINE 0018010 Block 1 = 54 Block 2 = 54 (text @ right should now read TT....SG) 11. Now look down to line 0018020 and look at the line. If you look at the line to the far right text you will see ATOR or ATMB (or something other than AATT) if your nv_is messed up. 12. You may need to edit blocks 2-4. They should read as follows: LINE 00188020 Block 2 = 41 Block 3 = 54

Block 4 = 54 (the text at the right of your screen should now read AATT....) 13. Save the file and move it back to efs using root explorer copying over the original. 14. delete all nv_data files from efs folder EXCEPT FOR YOUR NEWLY CREATED NV_DATA.BIN. (Delete the following: .nv_data.bak, .nv_data.bak.md5 and the nv_data.bin.md5 files. This differs from video but i also delete any .nv_state or nv.log file present and they are recreated). FYI IF YOU ARE USING A GINGERBREAD ROM AND YOUR EFS CONTAINS .nv_core.bak and .nv_core.bak.md5 DO NOT DELETE THEM with the other .nv files. 15. (This step may not be necessary unless you lose your voice/data connection upon reboot) Open Terminal Emulator and run the following commands: su busybox chown 1001:1001 efs/nv_data.bin reboot

16. Once your phone has rebooted use SGS Toolbox APP to check your IMEI and Product Code to make sure the fix worked.

PS: Here are how the following lines should read (the ones in bold are the only ones you have to edit as line 00188018 will already be correct): 00188008|2e|34|00|00|00|00|ff|41|.4....A 00188010|54|54|00|00|00|00|53|47|TT....SG 00188018|48|2d|49|38|39|37|5a|4b|H-I897ZK 00188020|41|41|54|54|00|00|00|00|AATT....

PS - In terminal emulator after you enter your first Command Line su

http://forum.xda-developers.com/showthread.php?t=881162

** GUÍA Vídeo añadido ABAJO **

Ya existe una guía para el restablecimiento de IMEI y el código del producto con un PC y el BAD archivos entre el teléfono y el ordenador moviendo ...... así que pensé que iba a proporcionar un método alternativo que se puede hacer sin un PC o ADB. (Esto debe hacerse desde el almacén 2.1 (JF6), pero no puede ser requerido (conseguimos que esto funcione, mientras que en Phoenix 1.5 sin volver) resultados puede muy en entornos ROM personalizada ....

*** Importante precursor - estaremos trabajando con una carpeta de sistema importantes (/ EFS) y su contenido (archivos nv_data). Es importante realizar una copia de esta carpeta arriba (que vamos a hacer esto en el paso 2 a continuación). La primera vez que lo respaldó a mi tarjeta SD externa, pero lo hice también copiar la carpeta de copia de seguridad de mi PC por si acaso.

FYI esta revisión se pretende específicamente para personas con códigos de producto y borked de IMEI debido a ROM parpadea personalizados y no abordará la cuestión nv_data de bloques portadores / etc. para aquellos que habían desbloqueado sus dispositivos y de hecho puede deshacer el desbloqueo. ***

Este método supone que usted está comenzando con un teléfono raíces w / derechos de superusuario

Necesitará las siguientes aplicaciones que todos se pueden descargar del mercado y, con la excepción de Root Explorer, también son gratis:

A. Root Explorer (sé que es pagado pero es el más digno $ aplicación Me he encontrado. Puede utilizar el compañero androide libre como una alternativa, pero no es tan robusto o conveniente OMI)

B. Busbybox (una vez instalado de mercado de abrir la aplicación para instalarlo)

C. Android emulador de terminal

D. editor hexadecimal

E. SGS Caja de herramientas __________________________________________________ _______________

Una vez que todas las herramientas / aplicaciones mencionados anteriormente se han descargado proceder de la siguiente manera:

HAY 3 líneas totales que se necesitan para editar:

00188008 00188010 00188020

1. Instalar Busybox si no lo ha hecho ya.

2. Uso Root Explorer para crear carpeta Copia de seguridad de EFS en una tarjeta SD externa (si no tiene uno puede utilizar la SD interna y darle un nombre genérico que usted será capaz de identificar). Cuando Root Explorer se abre va a estar en el directorio de archivos del sistema para llegar a su tarjeta SD interna abrir la carpeta SDCARD (desde allí verá la tarjeta SD externa, así si ha instalado uno)

3. Utilice el Explorador de raíz para ver la carpeta abierta la EFS de su directorio de sistema. La carpeta EFS contiene el archivo que se va a necesitar para editar y reemplazar. Abra la carpeta EFS y utilizar la copia de selección múltiple para copiar los archivos siguientes: nv_data.bin y nv_data.bin.md5 (también se pueden copiar sus respectivos archivos de copia de seguridad y nv_data.bak nv_data.bin.md5.bak).

4. El permanecer en el Explorador de raíz volver al directorio padre (opción en la parte superior de la lista de archivos / carpeta) y vaya a la carpeta de copia de seguridad que ha creado y pegar los archivos allí. Aunque todavía en este directorio hacer una copia de sólo el nv_data.bin y la pasta es ya sea en el directorio raíz o sd sd externa o interna, si usted no tiene ext. * Ya que tengo buenas copias de seguridad ahora en PC y SD externa ... Yo por lo general sólo editar el archivo nv_data.bin en su lugar y guardar el original en la carpeta EFS.

5. Abrir Hex Editor de aplicaciones y abra la copia de nv_data.bin de su SD externa o interna (haga clic en el botón de menú capacitiva en el teléfono y seleccione abrir el archivo)

6. Una vez que el archivo se abre, haga clic en el botón capacitivo para que aparezca el menú de nuevo y seleccione salto a la dirección:

7. Introduzca 0188008 Esto le llevará a la línea 00188008

8. Modificar el último o el 8 de bloque (última columna de texto en verde). Haga clic en el cuadro y editarlo para que se lea 41.

LÍNEA DE 00188008 Bloque 8 = 41

9. menú de uso para saltar a la dirección de nuevo y Enter 0188010

10. Esto le llevará a la línea 00188010. Editar los dos primeros bloques de texto verde de esta línea. Reemplazar los # 's para que ambos los dos primeros bloques contienen 54. (mirar hacia el texto en la parte derecha de la pantalla las dos primera letra debe haber cambiado a TT. Para recapitular lo que necesita para editar bloque 1 y 2 de la línea 0018010 :

LÍNEA DE 0018010 Bloque 1 = 54 Bloque 2 = 54

(Texto @ en este momento debe leer TT .... SG)

11. Ahora mira hacia abajo a la línea 0018020 y mirar la línea. Si nos fijamos en la línea para el texto de la derecha verá ATOR o ATMB (o algo distinto de AATT) si sus nv_is en mal estado.

12. Es posible que necesite editar bloques de 2-4. Deben leer de la siguiente manera:

LÍNEA DE 00188020 Bloque 2 = 41 Bloque 3 = 54 Bloque 4 = 54 (El texto en la parte derecha de la pantalla debe ser ahora AATT ....)

13. Guarde el archivo y moverlo de nuevo a la copia EFS utilizando el explorador de la raíz sobre el original.

14. Eliminar todos los archivos de la carpeta EFS nv_data, excepto para su NV_DATA.BIN recién creado. (Eliminar el siguiente:. .nv_data.bak, .nv_data.bak.md5 Y los archivos nv_data.bin.md5 Esto difiere de vídeo, pero yo también eliminar cualquier archivo o .nv_state nv.log presente y que se vuelven a crear). FYI SI ESTÁ UTILIZANDO UN ROM de pan de jengibre y SU EFS CONTIENE .nv_core.bak y .nv_core.bak.md5 no los elimine con los otros archivos .NV.

15. (Este paso puede no ser necesario a menos que usted pierde su conexión de voz / datos después del reinicio)

Emulador de terminal abierto y ejecuta los siguientes comandos: Do busybox chown 1001: 1001 efs / nv_data.bin reiniciar

16. Uso vez que el teléfono se haya reiniciado SGS Caja de herramientas de aplicación compruebe su IMEI y el código del producto para asegurarse de que el arreglo funcionó.

PD: A continuación se forma en las siguientes líneas deben leer (los que en negrita son los únicos que tienen que editar como línea de 00.188.018 ya será correcta):

00188008 | 2e | 34 | 00 | 00 | 00 | 00 | ff | 41 | 0.4 .... Un 00188010 | 54 | 54 | 00 | 00 | 00 | 00 | 53 | 47 | TT .... SG 00188018 | 48 | 2d | 49 | 38 | 39 | 37 | 5a | 4b | H-I897ZK 00188020 | 41 | 41 | 54 | 54 | 00 | 00 | 00 | 00 | AATT ....

PS - En emulador de terminal después introduce su primera línea de comandos

http://www.grupoandroid.com/topic/36208-guia-para-recuperar-imei-corruptosin-tener-backup-previo-de-carpeta-efs/

http://www.grupoandroid.com/topic/34356-reparar-carpeta-efs-corrupta-da %C3%B1ada/?page=1