[Q] Missing .nv_data by design? - General Questions and Answers

Hello,
I have a very strange situation with my device.
I was planning to manually backup my EFS folder (actually "efs") as per some manual backup tutorial I found around here, when I noticed that I have no .nv_data file. Apparently, there's no .nv_data or .nv_data.md5 on my device that I could find (rooted, using Android Terminal Emulator and the "find" command).
I looked around EFS, I copied EFS to my computer and looked some more.
However, the device seems to work fine otherwise.
Anyone can tell me whether this is normal? I was under the impression that this file is quite important in relation with IMEI and modem.
Thanks!

Related

[Q] IMEI lost!!!! please help....

My imei no got lost while restoring backup using cwm..... i looked around the forum and the ".nv_data" method will not do because my efs folder has a file named "essiv" only and nothing else.....
if someone would confirm what files are contained in thier efs folder and mail it to me also i'll be grateful......
I don't think the 'efs folder' of one device can be used with other devices as it contains the device's IMEI number.
Could you elaborate a bit as to what did you do that resulted in the loss of your IMEI number ? It would help others avoid it in future.
Well.... i restored the same backup file couple of times 'coz i was trying to flash a new theme...btw i am on stock indian 2.3.5......
the files in efs folder can be edited using hex editor (read somewhere in the s2 forum...i don't remeber which thread) so the imei no. in that file can be modified...

How to recover imei the easy way.

Picked up a used infuse and while flashing away lost my imei. Of course I didn't back up my efs file as recommended everywhere. While messing around I stumbled across this method.
1. Write down your imei.
2. Factory reset phone.
3. Make sure you have root and a root browser installed. I used the root browser in ROM toolbox.
4. In root browser go to efs folder and open it.you will see a file called crypt prop_data.
5. Open the file to edit. Only text in file should read null.
6. Replace null with your imei you wrote earlier.
7. Reboot.
Imei should now be restored. I've only tested on my device. Recreated flash scenario 3 times losing imei each time. Repeated above steps recovered imei every time. Hope this helps someone.
Sent from my Great White Note
Any troubles with IMEI not saving?
Thank you for adding this information. It is really helpful as a lot of us have to deal with this IMEI problem. I do have a question. Have you experienced, or has anyone experienced the situation where the IMEI number is saved, but upon returning to the folder, the same old "NULL" shows up? I've saved it several times to no avail.
Any thoughts would be very welcome.
Jaye
bhp090808 said:
Picked up a used infuse and while flashing away lost my imei. Of course I didn't back up my efs file as recommended everywhere. While messing around I stumbled across this method.
1. Write down your imei.
2. Factory reset phone.
3. Make sure you have root and a root browser installed. I used the root browser in ROM toolbox.
4. In root browser go to efs folder and open it.you will see a file called crypt prop_data.
5. Open the file to edit. Only text in file should read null.
6. Replace null with your imei you wrote earlier.
7. Reboot.
Imei should now be restored. I've only tested on my device. Recreated flash scenario 3 times losing imei each time. Repeated above steps recovered imei every time. Hope this helps someone.
Sent from my Great White Note
Click to expand...
Click to collapse
There is no crypt prop_data file on the efs folder,
Help please.

[Q] Lost IMEI (NO SIM) - MTK MT6589M (Intex Aqua i-5)

Hello! I need some genius to find solution for my problem , my phone (Intex Aqua i-5) doesn't recognize any SIM Card and my IMEI is empty. The problem occurred when I flashed wrong recovery, somehow I got it working again by removing battery for 15 minutes, and holding power key for a minute before that, then flashed proper CWM recovery again via MobileUncle Tool., but now phone doesn't charge when its turned off, and doesn't recognize SIM. Everything else works fine.
This is IMPORTANT: Cant recover IMEI via PC (my usb port is broken (charging part is working but cant connect to PC, pins for data transfer are damaged). So IT'S NOT AN OPTION. But can transfer files from PC to Phone - Wifi transfer.
Need to recover IMEI trough phone! (there is numerous methods I've tried, gonna list them below)
- Engineer mode, - CDS info, Radio info, AT COMMAND - AT+EGMR=1,7,"1234567890XXX15" (tried variations with empty space before AT or before + , not working, gives me an error "AT command failed at sent ".
- Tried to generate original IMEI on the computer, write it to MP0B_001 file, transfer to phone, set permissions for it, transfer it to data/nvram/md/NVRAM/NVD_IMEI and replace file at destination with custom one (tried variations: all this but at the and making IMEI backup with MobileUncle Tools and restoring it, also tried different MP0B_001 generators, different permissions, tried deleting original file in NVD_IMEI folder first, then copying new one, etc). --- NO SUCCESS.
- Tried MTK65xx apk software for changing IMEI , NO SUCCESS. - got error msg: "pttycmd1 device NOT found!"
- Installing terminal emulator , writing for SIM 1 line of code: echo ‘AT+EGMR=1,7, “IMEI_NUMBER” ‘ >/dev/pttycmd1 and for SIM 2 this line: echo ‘AT+EGMR=1,10, “IMEI_NUMBER” ‘ >/dev/pttycmd1 - nothing happens , even after reboot..
I'm not allowed to post links for methods above, cause this is my first thread .
My phone is rooted, there is custom ROM on it. (MIUI V5 FOR INTEX AQUA I-5 ). And CWM recovery for this ROM.
Have backup of my STOCK ROM, but couldn't restore it via CWM, It is corrupted or something, but have original folders in it , NVRAM folder for example. (tried coping and flashing MP0B_001 from that folder to phone, but nothing).
Any other ideas guys?
Unless you find what file you need to overwrite. There is not much help any one can offer as editing the IMEI is illegal in many places so that the only approved way is restoring a backup with is hard to do in your case without a pc connection as those files will need to be flashed.
zelendel said:
Unless you find what file you need to overwrite. There is not much help any one can offer as editing the IMEI is illegal in many places so that the only approved way is restoring a backup with is hard to do in your case without a pc connection as those files will need to be flashed.
Click to expand...
Click to collapse
Thank you for your quick reply. I'm just looking the way to restore or flash my origina IMEI , which is written under my battery, or from my probably damaged backup. Pretty sure restoring original IMEI is not illegal and I'm aware that those files need to be flashed, but maybe someone knows how to flash it without usb connection, with CWM, MobileUncle etc..
ImYourMan said:
Thank you for your quick reply. I'm just looking the way to restore or flash my origina IMEI , which is written under my battery, or from my probably damaged backup. Pretty sure restoring original IMEI is not illegal and I'm aware that those files need to be flashed, but maybe someone knows how to flash it without usb connection, with CWM, MobileUncle etc..
Click to expand...
Click to collapse
It depends on the country and the laws. If you already know it needs to be flashed then all you have to do is get the files from the backup (hope it's not coruppted) and then make a zip to flash in recovery. There is not alot of development done with that chip set here so I am out of ideas.
Figured out why my nandorid backup cant be restored, and gives an error "error while flashing boot image". When I made a backup there was no boot.img file in it. (as you cant see below in log file) So I added a file from only stock rom found on the net (that stock Is not made for cwm and cant be flashed via cwm, just via SP Flash Too so I cannot use it). but my logic was that I can borrow missing boot.img and put it in my backup folder). So obviously its not solution.
Log file: (nandroid backup)
Backing up /boot...\c
02:18:25 Backing up /recovery...\c
02:18:25 Backing up /modem...\c
02:18:26 Backing up /system...\c
02:19:59 Backing up /data...\c
02:21:28 Backing up /cache...\c
02:21:30 Backing up /.android_secure...\c
02:21:34 Replacing old backup with new backup...\c
02:21:36 Generating md5sum...\c
02:22:04 Verifying md5sum...\c
02:22:05 Online Nandroid Backup Completed in 3 minutes 43 seconds!
###########################
But after this there is no boot.img at all in backed up files as you can see.
Files Backed-up:
"----rwxr-x 1 11264 Dec 8 02:21 cache.ext4.tar
----rwxr-x 1 530526720 Dec 8 02:21 data.ext4.tar
----rwxr-x 1 1024 Dec 8 02:18 modem.img
----rwxr-x 1 191 Dec 8 02:22 nandroid.md5
----rwxr-x 1 553781248 Dec 8 02:19 system.ext4.tar"
Why I dont have file boot.img in my backup and how can i fix it? :/
Someone said that I make another backup via cwm and keep just boot.img in it, then copy my old files in that new created folder , but i doubt it will work cause Im on custom ROM now (MIUI) and i want to restore stock (Andorid 4.2.1).
I started another thread here http://forum.xda-developers.com/general/help/stock-rom-intex-aqua-5-t3007603 in hope someone will upload stock ROM for my phone that is flashable with cwm.

Unable to locate db files with adb

Background
I recently installed the CyanogenMod12 on my Nexus 5 Lollipop and made sure to perform a full backup first. But I did not realize the difficulty I would be experiencing in attempting to use the backup file's contents to restore my previous SMS messages to my new install. Long story short, I've located the files I need to restore onto my hard drive from the backup and found a thread detailing the commands I would need to execute: http://forum.xda-developers.com/galaxy-nexus/help/restoring-sms-db-via-adb-push-t2146640
My problem
I cannot find the path of these two files on my new phone. I've confirmed that they in fact do exist by backing up my phone's current contents with adb then extracting the backup and searching for the files but the path provided in the backup file do not help me. I started off using airdroid to locate these files but eventually resorted to running a command to dump the outputs of ls via adb shell to my computer and searching for the file name... They were not listed there. Can anybody explain to me why a backup would contain the files yet adb shell isn't printing them out?
Files I'm attempting to find on my hard drive: messaging.db and messaging.db-journal
Path of these files within my extracted backups, both old and new: \apps\com.textra\db
Command I ran to dump adb shell listing: adb shell ls -lR > C:\file_output.txt
Unfortunately all of the sms backup/restore utilities don't actually use the db file format utilized by Android. I am aware I can use SQL Lite to view the db's contents, but I'm interested in restoring these messages to my new operating system install.... Any insight or assistance would be most appreciated.
I did not have root access enabled on my device... Now that I can find and access these files I plan on using Titanium to create a backup, modifying the Titanium backup by inserting my older files, and restoring the Titanium backup. I'll update my post and edit the Title to reflect the resolved state momentarily.
Edit: This did the trick... (just found out I can't update the title too).
I did the following in case anybody stumbles upon this post with this issue in the future: After turning on root access I performed an app data backup of Textra using Titanium backup. I transferred over the backup tar.gz to my computer using Airdroid, inserted the older SMS files using 7zip, force stopped Titanium and Textra just because and then replaced the original Textra Titanium backup file with my modified one. Once I restored the backup all my SMS texts from my previous install were loaded into Textra.... Phew
dentonid said:
Background
I recently installed the CyanogenMod12 on my Nexus 5 Lollipop and made sure to perform a full backup first. But I did not realize the difficulty I would be experiencing in attempting to use the backup file's contents to restore my previous SMS messages to my new install. Long story short, I've located the files I need to restore onto my hard drive from the backup and found a thread detailing the commands I would need to execute: http://forum.xda-developers.com/galaxy-nexus/help/restoring-sms-db-via-adb-push-t2146640
My problem
I cannot find the path of these two files on my new phone. I've confirmed that they in fact do exist by backing up my phone's current contents with adb then extracting the backup and searching for the files but the path provided in the backup file do not help me. I started off using airdroid to locate these files but eventually resorted to running a command to dump the outputs of ls via adb shell to my computer and searching for the file name... They were not listed there. Can anybody explain to me why a backup would contain the files yet adb shell isn't printing them out?
Files I'm attempting to find on my hard drive: messaging.db and messaging.db-journal
Path of these files within my extracted backups, both old and new: \apps\com.textra\db
Command I ran to dump adb shell listing: adb shell ls -lR > C:\file_output.txt
Unfortunately all of the sms backup/restore utilities don't actually use the db file format utilized by Android. I am aware I can use SQL Lite to view the db's contents, but I'm interested in restoring these messages to my new operating system install.... Any insight or assistance would be most appreciated.
Click to expand...
Click to collapse

Issue with redundant file system: sdcard/0/

Hi everybody,
Quite awhile ago while playing around with custom Roms and going from one version of android to another, something went wrong with my file system. I had a regular file system but upon one of the installs it ended up making sdcard/0/ then the rest of my file structure. What I mean to say is I have 2 sets of folders, one where the files were stored for app data and files from before (sdcard/Downloads) and now a new set of files where they are now saved (sdcard/0/downloads). This creates problems for apps that have specific file structures where it looks for files and doesn't specify the location like backup utilities.. Because now I can't find the old backup file because the /0/ version of it is empty and it doesn't mention where specifically its looking.
Anyways I'm planning on upgrading to 6.0 (currently on 4.4.3 or something very close). I want to rectify this situation even it means a 100% reset of my phone. Any tips?
Thanks
flash latest factory image will solve your issue. it is a common issue when you jump from LL to KK and viceversa.

Categories

Resources