Backup and restore process of NVRAM(IMEI), 100% safe - K3 Note General

Hi friends today i am going to tell u how to backup and restore NVRAM(imei)
So many ppl facing null imei problem after full format+flash,
Tools
Notepad++ mod edit - link removed
Sp flash tool: mod edit - link removed
Drivers mod edit - link removed
Scatter text file: you can find this in your firmaware
How to Backup
1. open Sp flash tool, then Select readback. (before select read back make sure DA DL all with checksumselected)
2. Press Add, An address line will be Added.
3. Double click on that line.
4. Choose location and set file name as "nvram.img" then click save, a window will open.
now open scatter.text file with note pad++
click on search then select find or just use shortcut Ctrl+F
search for nvram, you will find nvram partition details there.
note down those details(physical_start_addr: and partition_size
5. in that window you have to enter these values as follow
in start address you have to enter physical_start_addr
in Lenght you have to enter partition_size:
After entering these values click on ok
6. Then click on Read back button
7. then connect your mobile to your pc with out battery.
NVRAM.img file will be saved.
How to restore
1. put scatter text file and nvram.img filein same folder.
2. open sp flash tool.
3. select on scatter loading>> select this scatter file
4.Tick nvram only
5. select download only and click Download button
then connect your mobile to pc without battery.
green tick will be appear.
If NVRAM not showing in scatter, then open scatter text with notepad++ and search nvram,change this option is_download: false from true
If nv ram file not selected with scatter text file, just double click on nvramfile in spflash tool, check below image
Don't blame be if something went wrong,
i fount this process after facing lots of trouble and patience.
Thumbsup.
-=-=-
mod edit - thread closed

Related

How do I Hydra script working in KT kernel?

Hello
Im trying to run Hydra script with KT kernel...
When I run the script with Script Manager I get the ( se screenshot in this post)
What do I do wrong? I have followed some guide lines and thing, but manye of the options mentioned in these are not in KTweaker....
Can someone help?
I think I have some settings in Ktweaker wrong before running the script
Did you following the instructions for installing and making a script work?
Installation
Download links will include the specified profile(s) as well as an "Adjustments" file. The "Adjustments" file is just for easy view of all changes made to a profile compared to stock settings.
1. Download the file(s) to your phone. In case of .bin files, optionally rename the file(s) as .txt
2. Copy ONLY the profile(s) (DO NOT copy the "Adjustments" file) to /sdcard/KTweaker folder using a file Manager of your choice.
3. Open Ktweaker app and click on "Restore Prefs from sdcard".
4. The file you just copied should be listed there. Choose the one you want to apply.
5. After applying, make sure the "Set options on boot" setting on the main menu of KTweaker has a little green text bellow confirming that the settings will be applied upon reboot.
6. Profit!
thnx
Sent from my Samsung Mobile with XDA Premium
nikzDHD said:
Did you following the instructions for installing and making a script work?
Installation
Download links will include the specified profile(s) as well as an "Adjustments" file. The "Adjustments" file is just for easy view of all changes made to a profile compared to stock settings.
1. Download the file(s) to your phone. In case of .bin files, optionally rename the file(s) as .txt
2. Copy ONLY the profile(s) (DO NOT copy the "Adjustments" file) to /sdcard/KTweaker folder using a file Manager of your choice.
3. Open Ktweaker app and click on "Restore Prefs from sdcard".
4. The file you just copied should be listed there. Choose the one you want to apply.
5. After applying, make sure the "Set options on boot" setting on the main menu of KTweaker has a little green text bellow confirming that the settings will be applied upon reboot.
6. Profit!
Click to expand...
Click to collapse
In step one, is it important to rename the file as .txt? Or can I just put it straight into KT Kernel folder on mobile?

How to use SMGVER.EXE on stock roms (.SBF's)

I've found that several people on XDA-Developers are confused or asking, how to use it or even wondering why the black window keep showing when they try to apply the sgmver.exe to a SBF. Most of the instructions I've seen are something like: Apply SGMVER to SBF...
Well, we need the following tools:
MotoAndroidDepaccker: 4shared.com/archive/4OvekGU7ba/-_MotoAndroidDepacker.html
SMGVER: 4shared.com/rar/yKlGlwiCba/smgver.html
We can use RDS lite 6.x to decompress the SBF if is in .gz format.
1. We start MotoAndroidDepacker once we have the SBF we wanna analyze
2. Click open from file and select the desired SBF file
3. Click split to folder and wait 'till it finish
4. Open the folder named affer the original sbf filename with the "extracted" addition,you'l find there de contents of the SBF.
5. Place (copy paste) the SGMVER.EXE and the VER.BAT files in that directory
6 Click the VER,BAT file and you are done.
A window will show you the bl version of the SGM files, it is common some of them have no signature data and it is normal, will display "no signatured data found. Close the window to finish, you can delete the files you pasted if you are going to repack them to a sbf.
I hope this minitutorial helps you,
Visit and subscribe my YouYube as knomon youtube.com/user/knomon I will make some video tutorials there.
Thaks a lot,
Greetz

Force OTU Alcatel POP C7 7041X to "upgrade" to factory stock

Hello all!
I'm having difficulty on how force OTU to upgrade my Alcatel POP C7 7041X because it says I already have the most recent firmware and it automatically closes the OTU (mobile upgrade S)
There is a way but it consists on modifying the "pro_info" by using a scatter file for the phone and SPFlashTool
BUT I am a complete noob in what concerns SPFlashTool so I need help!
My intention here is to create a step-by-step tutorial on how to restore the pop C7 back to factory stock SO, I need all of your help!!
Info:
I've got a 7041X-2BVDPT1 Portugal
It is rooted with Root Genius and has Carliv Touch Recovery installed with Mobile Uncle Tools.
I've made a full Nandroid backup with Carliv Touch Recovery. (backup also copied to PC)
I've made a backup of my IMEI with Mobile Uncle Tools. (backup also copied to PC)
I was given some files to download from a moderator in the GSMhosting Forum but I don't know if he would like me to mention his username nor if it is allowed to do this.....
Anyways, I need help with the steps on how to make this work with SP Flashtool...
List of files I have:
-SP_Flash_Tool_v3.1344.0.212.zip
-I also have SP_Flash_Tool_v5.1408.00.rar
-pro_info_7041X-2BVDPT1.rar
-pro_info_7041X-2ARGCH1.rar
-OTU (Mobile Upgrade S 4.2.3) for the last step of downloading factory stock ROM
Procedure:
-Extract SPFlashTool;
-Extract pro_info_7041X-2BVDPT1.rar to one folder (should contain both files in that folder: Scatter and pro_info);
-Open SPFT_tool (Run as Administrator);
-Load Scatter;
What should be the next steps to properly replace the pro_info???
Thanks in advance!
Vando S.
"Give a man a fish and you will feed him for a day; teach a man to fish and you will feed him for a lifetime"
You are doing this at your own will.
You are responsible for any damages you cause to your device.
Always make backups before you do anything of this nature!
Steps to flash pro_info:
Download the latest version of SP Flash Tool.
Download the compressed pro_info file for your device.
Download and install a hex editor. (Optional)
Extract pro_info file from its compressed container into an empty folder.
Edit the pro_info file with the hex editor so the PID matches your phone's. (Optional)
Find a scatter file for your phone. (It's better if you use a scatter file you generated yourself.)
Open the scatter file with a text editor. (I'm using Notepad++)
Make sure that the pro_info section says "partition_name: PRO_INFO" and "file_name: pro_info" and "is_download: true" without the quotation marks.
Something like this:
Code:
- partition_index: SYS3
partition_name: PRO_INFO
file_name: pro_info
is_download: true
type: NONE
linear_start_addr: 0x1100000
physical_start_addr: 0x100000
partition_size: 0x300000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: PROTECTED
reserve: 0x00
Place the scatter file in the same folder as your pro_info file.
Now extract SP Flash Tool if you haven't done that already.
Open it and locate the scatter file. Make sure everything is unchecked except for pro_info.
Press "Download Only". Turn your device off, remove and insert the battery then connect your device.
Wait for it to finish... Et voilĂ ! You have flashed pro_info.
Errors:
In case you get "ERROR: S_NOT_ENOUGH_STORAGE_SPACE (1011)" take a look at this.
In case you get "PMT changed for the ROM; it must be downloaded", your device must be formatted:
Make a back up of your preloader. (Just in case; personally I used MTK Droid Tool, which was a tedious process.)
Make a full back up of your ROM with SP Flash Tool.
To do this you must perform the following:
Open up SP Flash Tool and go to the "Memory" tab.
Deselect everything except for "RAM test" and press "Start".
You will see a line with "EMMC_PART_USER Size =" followed by a hexadecimal number.
For example, "0x00000000ec000000". This number is the maximum storage space of your device. Copy it.
Now go to the "Readback" tab and press "Add".
Double click the new entry and just save it as "ROM_0".
A new window will open wherein you have to fill hexadecimal numbers.
Leave "Start Address" at zero, select everything in "Length" and paste the number you copied then hit OK.
Disconnect your device, remove and reinsert the battery, press Read Back then reconnect your device.
When it has finished you'll have a file that's called "ROM_0" with no file extension.
It's not flashable yet, to make it flashable you need the partition scheme!
Use MTK Droid Tool to convert the "ROM_0" file to be flashable by SP Flash Tool.
Turn your phone on and open MTK Droid Tool.
Go to the second tab called "root, backup, recovery" and press "To process file ROM_ from FlashTool"
Locate and select your "ROM_0" file. Don't let your device disconnect or it will interrupt the process.
In case it asks for CWM recovery or something, just press "No" and press "Cancel" on the new window that opens.
When it has finished you will have the flashable files in the MTK Droid Tool backup folder.
Open the folder in which you saved the flashable files and move pro_info to a safe location.
Copy your edited pro_info file into that folder.
In SP Flash Tool, go to the format tab, select Auto Format Flash and Format whole flash except Bootloader.
Press Start, turn your device off, remove and reinsert battery then reconnect your device.
After formatting your device, go to the download tab and locate the scatter file within the folder with the flashable files.
Now, disconnect your device, turn it off and remove battery then reconnect your device.
Wait till the flashing has ended... et voilĂ ...
Now you have finally flashed pro_info!

Nvram.img restore

I recently downloaded nvram.img of my lenovo k4 note.
Sp flashtool only flashing .bin files.
But i don't know how to flash img file.
Please someone help me...
the same question! please?
got original rom, and other bin files corresponding to a7010a48 phone.
i enabled "nvram" on my scatter file, then, on the sp flash tool, always the 6045 error popups.
panchowatkins said:
the same question! please?
got original rom, and other bin files corresponding to a7010a48 phone.
i enabled "nvram" on my scatter file, then, on the sp flash tool, always the 6045 error popups.
Click to expand...
Click to collapse
Yeah, if anyone knows how to flash it...
Please write down the way...
Thanks a lot...
rakitha ranathunga said:
I recently downloaded nvram.img of my lenovo k4 note.
Sp flashtool only flashing .bin files.
But i don't know how to flash img file.
Please someone help me...
Click to expand...
Click to collapse
1. Open SP Flash tool. Press ctrl+alt+v
2. Under menu item either window or options there will be new menuitem "write memory". Click it, a new tab will appear.
3. Click the tab, select your nvram.bin file. In the start address field, enter the start address of the nvram partition (get the start address from scatter file)
4. Click start and wait for the process to finish. If all goes well you should see an "OK dialog"
5. Disconnect the phone and reboot.
PS: Make sure scatter file is loaded before proceeding with above steps and at least "preloaded" checkbox is selected
Thanks
Sent from my Lenovo Vibe K4 Note using XDA Labs
But i don't have .bin file..
I only have .img file..
rakitha ranathunga said:
But i don't have .bin file..
I only have .img file..
Click to expand...
Click to collapse
Doesn't matter it is one and the same thing, it' only an extension. What you have got is actually a RAW dump of the nvram partition. You can either name the raw dump file as .bin or .img or anything else. The extension naming is only for satisfying some tools as they either look for .bin file or .img file. So just go ahead and follow the procedure.
Thanks
Thanks man....
Really really thanks....
I will try this procedure as soon as pollible...
I does this procedure, but nothing happened...
My SN are not resetted, everything is just like nothing happened,
What should i do??
Please tell me...
panchowatkins said:
the same question! please?
got original rom, and other bin files corresponding to a7010a48 phone.
i enabled "nvram" on my scatter file, then, on the sp flash tool, always the 6045 error popups.
Click to expand...
Click to collapse
Edit by help of notepad++,Go to scatter file n edit by finding nvram data,change is_download to true n change the file and bin name as same as nvram data which u have,I hope it helps
Did it work ?
Hey bro , problem solved?
You can use the TWRP to flash the nvram.img. Go to the folder where the file is saved, there you can see an option in the bottom right corner "image file" select it and flash the image as nvram partition
panchowatkins said:
the same question! please?
got original rom, and other bin files corresponding to a7010a48 phone.
i enabled "nvram" on my scatter file, then, on the sp flash tool, always the 6045 error popups.
Click to expand...
Click to collapse
SPFlash tool can't Flash partitions other than the default listed ones directly. In the scatter file you can enble other partitions but it will not work. It will always give error 6045. Two flash other partitions using SPFlash tool, you will need to enter Advanced write mode. Here is how you can do it. But first revert to original scatter file.
Steps:-
1. Press CTRL + ALT + V to enable advanced write mode.
2. Open the advanced write mode (there will be an extra menu item under either option or main window menu.
Once you click that item, an extra tab will be added (write memory)
3. Go to newly added tab, select the partition you want to flash. Enter the starting address of the partition (get it from scatter file) you want to flash. Press start button. If you have correct drivers, the procedure should start within 10-15 seconds. Wait for the process to finish (you should see an ok dialog)
4. Disconnect and restart the phone. The first start may take slightly longer.
If the partition flashing file itself is corrupt, your phone may enter boot loop or stuck at the screen, so do backup your stuff
Hope it works for you
Thanks.
from where did u download?
rakitha ranathunga said:
I recently downloaded nvram.img of my lenovo k4 note.
Sp flashtool only flashing .bin files.
But i don't know how to flash img file.
Please someone help me...
Click to expand...
Click to collapse
from where did u download?
Need that nvrm .IMG filec
Could you send me to that file
Plz sir, i hv lost my phone imei n none of the methds are working plz help .. tge only option left is using nvram.img file and flashing via twrp.plz share it!

IMEI Repair For LYF Water 8

Great Thanks to - "Inderpreet Singh Bhangu" for providing the Qcn file and the flashing process!
So after flashing the firmware, the IMEI disappears or vanished. So today I am telling you the method to recover the IMEI
1) Download the qcn file provided by me with this thread. Copy it to computer.
2) Download the QPST application for windows via the internet. Run the setup and install QPST.
3) Connect the phone to the pc via usb cable.
4) Go to the desktop and Search for "QPST configuration" and run it.
5) If your phone is correctly connected then in the application in the bottom " 1 Phones" this will be displayed.
6) Go to "Start Clients" option and then click on "Software Download". New window will be displayed. Then click on restore.
7) Click on Browse and then go to the file which i provided to you (extract it earlier). Now in that extracted file change the "file type" to ".qcn" and then choose the qcn file.
8) Unlock you phone and click on start button. After that your phone will automatically reboot and then you IMEI is restored.
Enjoy!!:good:
"Link of Qcn Flie"
good method to restore imei back to lyf water 8
nr10prashant said:
Great Thanks to - "Inderpreet Singh Bhangu" for providing the Qcn file and the flashing process!
So after flashing the firmware, the IMEI disappears or vanished. So today I am telling you the method to recover the IMEI
1) Download the qcn file provided by me with this thread. Copy it to computer.
2) Download the QPST application for windows via the internet. Run the setup and install QPST.
3) Connect the phone to the pc via usb cable.
4) Go to the desktop and Search for "QPST configuration" and run it.
5) If your phone is correctly connected then in the application in the bottom " 1 Phones" this will be displayed.
6) Go to "Start Clients" option and then click on "Software Download". New window will be displayed. Then click on restore.
7) Click on Browse and then go to the file which i provided to you (extract it earlier). Now in that extracted file change the "file type" to ".qcn" and then choose the qcn file.
8) Unlock you phone and click on start button. After that your phone will automatically reboot and then you IMEI is restored.
Enjoy!!:good:
Click to expand...
Click to collapse
.there is a new method to restore imei to android via root is that works
nr10prashant said:
Great Thanks to - "Inderpreet Singh Bhangu" for providing the Qcn file and the flashing process!
So after flashing the firmware, the IMEI disappears or vanished. So today I am telling you the method to recover the IMEI
1) Download the qcn file provided by me with this thread. Copy it to computer.
2) Download the QPST application for windows via the internet. Run the setup and install QPST.
3) Connect the phone to the pc via usb cable.
4) Go to the desktop and Search for "QPST configuration" and run it.
5) If your phone is correctly connected then in the application in the bottom " 1 Phones" this will be displayed.
6) Go to "Start Clients" option and then click on "Software Download". New window will be displayed. Then click on restore.
7) Click on Browse and then go to the file which i provided to you (extract it earlier). Now in that extracted file change the "file type" to ".qcn" and then choose the qcn file.
8) Unlock you phone and click on start button. After that your phone will automatically reboot and then you IMEI is restored.
Enjoy!!:good:
Click to expand...
Click to collapse
Inderpreets said:
.there is a new method to restore imei to android via root is that works
Click to expand...
Click to collapse
Please share about details how to unlock phones
Jscarder said:
Please share about details how to unlock phones
Click to expand...
Click to collapse
What do you want to say i didn't get it

Categories

Resources