How to flash NVRAM.bin using SP flash tool - Android General

How to flash NVRAM.bin using SP FLASH Tool
hi all am happy to join you this is my first post
In SP flash tool’s download tab the NVRAM partition does not appear while it does in the firmware folder.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
In order to let the NVARM partition appear in SPFT download tab do the following
1. Navigate to firmware’s folder and open the scatter file with notepad++ or with WordPad .if opened in WordPad then save is as *.txt
2. Scroll down the scatter file and find “partition_name: NVRAM”
3. Change the attribute of the fourth row of the nvram partition which reads “is_download: false” to “is_download: true” save and exit.
4. Launch SPFT and select this scatter and the nvram partition should be there in the download tab as follows
You can do the same for all other partitions to let them appear in the downloads tab.
5. Un thick all other partitions except the NVRAM
6. Disconnect(if device is connected ) and Turn it off remove and reinsert battery
7. Clicks download on SPFT and connect your phone via usb and wait until you see green the circle. DONE
Since the partition size of all NVRAM is the same 0x500000 you can flash any MTK phone NVRAM.bin file to any other MTK phone since the scatter type is the same MT6572 to MT6572 and MT6582 to MT6582 and so on.
I am not sure if it fixes the invalid or null IMEI problem since I didn’t tried it I just thought of it last night accidently.
And if this works then the more attention to the scatter the more our problems fixed will be that is without rooting. i gues it will work 90 percent
You can flash any NVRAM.bin file to any mtk phones but only with the original scatter file
Thanks
Se!dnejmy

Didnt fixed it
I tried with your method . it shows the partition in sp tool but I flashed just nvram file to my phone. but it didnt worked I'm still getting the nvram warning Error: 0x10
but I HAVE a problem
Last night i fixed the nvram error 0x10 and I was happy that it will be fixed but when my phone rebooted I saw that there was an error nvram warning error 0x02
then I tried to fix it and when nvram error 0x02 was fixed
the erroe 0x10 came back
can anyone give the solution

thanks so much. I had an IMEI issue and now it's completely solved except for one problem, the IMEI number differs from the original.

hi
i format whole of my phone is nokia 1 plus and i lost my nvram.
now how can i fix nvram in my phone? my phone dont have nvram partition.

Related

[Q]Rooting ALPS M1 (Random Chinese Nobrand phone) - CWM possible

Hello,
So i have found this ROM that i would like to flash my device with: http://www.mtkroms.com/2015/04/lollifox-lightest-rom-for-mt6572.html
I have found this information: http://www.mtkroms.com/2015/02/how-to-root-your-mediatek-device.html (Kingo Root & iRoot both failed)
Now i tried the MTKDroidTools program & following http://forum.xda-developers.com/showthread.php?t=2519432 and it says this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So, I checked out the link ( http://forum.xda-developers.com/showpost.php?p=38337401&postcount=5&nocache=1 ), However, I would like to know if someone can make this idiot proof (I am tech saavy but haven't had to attempt something like rooting and android device before. I simply can't stand how slow my cheap chinese phone responds to things lol). I don't want to screw something up not that i spent much on it anyways but would like to get this done on the first try.
Automated apps didn't work so if i have to do that in order to get root then so be it.
A better explanation in steps on what to do so i don't get confused and screw it up would be great.
Thanks
Update:
I have gotten almost to the end of the guide but now I'm at a loss.
Code:
--->>> Connect to device <<<---
--- The preservation folder on the computer: C:\Users\-\Desktop\MtkDroidTools\backups\M1_150822_ForFlashtoolFromReadBack_151022-235825\
--- scatter is write to the file:
C:\Users\-\Desktop\MtkDroidTools\backups\M1_150822_ForFlashtoolFromReadBack_151022-235825\MT6572_Android_scatter.txtcopying is complete
-- preloader.bin ...it is copied ... cut OK
-- MBR ...it is copied
-- EBR1 ...it is copied
-- pro_info ...it is copied
-- nvram.bin ...it is copied
-- protect_f ...it is copied
-- protect_s ...it is copied
-- seccfg ...it is copied
-- uboot.bin ...it is copied
-- boot.img ...it is copied
--- ERROR :No find KernelGZ
--- ERROR :No Split Boot Image
-- recovery.img ...it is copied
-- secro.img ...it is copied
-- misc ...it is copied
-- logo.bin ...it is copied
-- expdb ...it is copied
--- task is complete ---
So my folder looks like:
i.imgur(dot)com/ODLFDqj.png
So how am i supposed to flash CWM?
i.imgur(dot)com/V8bPhi1.png
I can't figure out how I'm supposed to flash CWM when it isn't creating a recovery file to flash to the device...
Any help is greatly appreciated

[resolved] Lenovo Smart Tab M10 TB-X605F bootloop, recovery ok, fastboot ok, ADB nok and EDL nok

Hello everyone,
after installing TWRP and rooting my device by following this tutorial: TWRP for Lenovo Smart Tab M10 , my daughter did the OTA update without uninstalling Magisk.
Following that the device boot always on TWRP.
Not worried, I thought I had a backup on my pc, but I don't.
On 6 tablets and 4 smartphones, it is the only one for which I don't have a backup!
Not having this backup I tried LMSA, but could not finish the flash.
At best it charge at 84%, then fail.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I think my EDL is corrupted, the device is recognized as QUALCOMM HS-USB Diagnostics 900E (with the error symbol).
And if I force the driver on HS-USB QDLoader 9008, I still have the symbol indicating an error, I manage to pass the EDL verification step of LMSA but next failed.
I have tried directly with QFil but I get the following error: Failed to open com part handle:
Having recovered the stock firmware with LMSA, I tried to restore the aboot partition with fastboot but I get: FAILED (remote: Critical partition flashing is not allowed)
Even if I try to unlock the bootloader.
I have the same error with the sbl1, rpm, tz, fsg and persist partitions.
But I can flash the bak partitions:
As you can see, my device is recognized by fastboot but not by ADB, yet I have the right driver:
I also tried to recompile cache, system and userdata partitions from stock firmware with packsparseimg and imgextractor by following this tutorial: Unpack System_XX.img from Firmware
I can only flash cache, for system and userdata I have the error: Invalid sparse file format at header magi.
But by pressing Enter at the moment of the error, the flash is done:
Despite everything, the device bootloop...
I can no longer, or I don't know anymore install TWRP but I still have access to the recovery mode.
I have spent hours doing all of this to no avail, so I come to ask for your help to help me restore my daughter's tablet.
Thank you.
.
A solution was provided in this thread
Thanks to Yahoo Mike for his help !

Mobile radio keeps shutting off

Hello everyone ! I have a Redmi 9AT and I bricked my device by rooting it by Magisk zip. So I flashed MIUI through SP Flash Tool and I had the "NV Data is corrupted" message. I lost my two IMEI in the same time but I succeed in reflashing them. Then, I flashed Havoc OS and it successfully booted. Now, my IMEI are restored but I haven't any signal. So what is the problem ? Is the NVRAM responsible ? Can one of you post an nvram backup of its Redmi 9AT please
Sadly, NVRAM can't be shared.
They are for specific device only.
Apparentely there is something RSA signed inside it, like IMEI.
Thanks for your reply. So NVRAM is specific to device. But what about NVData ?
NVRAM is permanent.
NVDATA is variable and formatable.
Oh okay. But I can't understand one thing. How did I restore my IMEI without NVRAM ? I just used IMEI Download from Maui Meta. Do you know what it did ?
NVRAM is only read once you format data.
And then contents from NVRAM are copied to the new empty NVDATA.
Okay. But where is my IMEI stored ? And do you think flashing md1img from your guides can help me to recover mobile network ?
Today I flashed the md1img but It didn't change anything.
I want to know how you fix iMEI, the baseband problem can be brushed by the factory firmware, then there will be a signal, and then you can normal use the machine again!
But my Read Note 10 Pro which of course is a Chinese device code name because I'm Chinese. My equipment encountered NV data damage, and I am looking for a solution now. If you need the factory, please contact me, I have channels to get it!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Google Translate may not be accurate, but flash factory firmware does have a signal!
If you know how to edit iMEI, please contact me!

How do I flash a SP tool backed-up rom?

https://forum.xda-developers.com/t/...ick-instructions.4337339/page-6#post-86996673 someone posted
X7Max A14 Firmware Backup Files (Backed up through SP Flash Tool) here
BACKUP_FLASH.7z
drive.google.com
And I have no idea how to flash it, tho there's a guide in that thread, I think it's not for flashing a backed up rom.
AFAIK, those backed up files has to be converted using some tools or something to make it flashable? Just give me a little clue.
Just bumping one last time, won't happen again.
read back from SP Flash Tool is done by specifying start address + length for region EMMC_USER and can be written to EMMC_USER same way (assuming you pass mediatek secure boot with proper download agent and auth_sv5.auth file)
if you have one single big file, you can create scatter file and split into partitions with WwR MTK v2.51
there exist another alternative tool for SP Flash Tool called mtkclient, but I never used.
anand127 said:
https://forum.xda-developers.com/t/...ick-instructions.4337339/page-6#post-86996673 someone posted
X7Max A14 Firmware Backup Files (Backed up through SP Flash Tool) here
BACKUP_FLASH.7z
drive.google.com
And I have no idea how to flash it, tho there's a guide in that thread, I think it's not for flashing a backed up rom.
AFAIK, those backed up files has to be converted using some tools or something to make it flashable? Just give me a little clue.
Click to expand...
Click to collapse
Attach a screenshot showing its contents.. this will determine how you're to flash it
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The same thread did have a guide it says
"Unpack and copy your backup ROM_ files in this folder
- Choose scatter from this folder in SP Flash Tools
- Uncheck SECCFG (ROM_20) and flash ( Dont forget use MTKbypass utility and check port)
- After Flashig again go EDL mode and flash only SECCFG (ROM_20)
- Maybe need Format Data in Recovery
- Done"
What he/she meant by EDL mode? Mediatek doesn't have edl mode. Needs a bit clarification
Never mind
why do you want flash SECCFG? Do you know what SECCFG is for?
Judging by your reply, It got confusing pretty fast I guess
I can't get any clearer than this, how do I flash these files in screenshot? Simply select scatter and auth sv5 and all in one signature.bin and hit flash? Off course after using mtkauthbypass
unless you have some assignment (maybe img_list.txt file) files are useless because file names do not reflect partition names. for example what is partition name of ROM_33?
edit: assuming scatter file assign the ROM files automatically
- select all_in_one_signature.bin, and auth_sv5.auth (no bypass needed)
- uncheck preloader, seccfg, metadata, userdata (must not flashed)
- select "Download only"
- start "Download"
- connect phone (must powered off)

(TOOL) (Root) ADB Partition Backup Restore Tool for Windows

ADB Partition Backup Restore Tool is a Partition Management app for all rooted Phones. with the help of this tool you can backup any partition from your device to your PC, also there is a flash option which you can use to write any partition..
Feature:
Read Partition directly to PC
Write Partition from PC
support almost all rooted phones
Requirement:
rooted phone, windows pc/laptop
Why:
read & flash critical partition like modem or EFS without custom recovery​
Download;
file attached below
Disclaimer:
flashing wrong file to wrong block cause immediate bootloop
How to use:​
Install adb driver
enable debugging
connect device
Run tool, click Start Partition Manager, once partition table readed, Select Read button to Read a partition and flash button to write a partition..
Here is My another similar tool for Xiaomi which use Sideload & work without root (only for xiaomi)
Your browser is not able to display this video.
Can you add window size scaling. Currently it is set to a fixed 1709x822.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ze7zez said:
Can you add window size scaling. Currently it is set to a fixed 1709x822.
View attachment 5747165
Click to expand...
Click to collapse
added in new attachment
After connecting to a PC and making a copy of any partition, an error is displayed:
"Reading" boot_b ".img: Pulling" boot_b ".img: ADB: Error: Failed to Stat Remote Object '/Sdcard/boot_B.img': No Such File or Directory"
There is no "boot_b.img" file on the card on the smartphone card (OnePlus8pro), no pop-up has erected in Magiska to give any root permissions.
What am I doing wrong?
regards
qriozum said:
After connecting to a PC and making a copy of any partition, an error is displayed:
"Reading" boot_b ".img: Pulling" boot_b ".img: ADB: Error: Failed to Stat Remote Object '/Sdcard/boot_B.img': No Such File or Directory"
There is no "boot_b.img" file on the card on the smartphone card (OnePlus8pro), no pop-up has erected in Magiska to give any root permissions.
What am I doing wrong?
regards
View attachment 5833457
Click to expand...
Click to collapse
inside magisk superuser allow SharedUID

Categories

Resources