Backup and restore process of NVRAM(IMEI), 100% safe - Micromax Canvas Nitro A310/A311

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 mod edit - link removed
Note: Put your pc Advanced startup with "Driver signature Enforcement" then install drivers.
How to Backup
1. open Sp flash tool, then Select readback.
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: 0x400000 and partition_size: 0x500000)
5. in that window you have to enter these values as follow
in start address you have to enter physical_start_addr: 0x400000
in Lenght partition_size: 0x500000
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.
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

[Q] help with theme GreenDevDroid Ultimate (solve)

friends
someone could help me or raise the issue with the original purpose of the windows, and not use that brings the theme
and try changing the original XML (xmlsForStandardWindowAnimation.zip), but the keyboard disappeared and I can not connect via USB, restarted
Greetings from Chile
excuse my English. jajjajjaajaaja sucks google translate
thanks
Hi.
Could you elaborate chronologically what happened/what did you do?
Hi
1 GDDUltimateForLGVoidEcho.zip extract files
2 Remove the framework-res.apk files
3 delete the files in the folder res / anim
4 Copy the contents of "xmlsForStandardWindowAnimation.zip" folder anim
5 sign "framework" res.apk "
6 compressed "GDDUltimateForLGVoidEcho.zip"with the new content "framework" res.apk "
7 signs "GDDUltimateForLGVoidEcho.zip"
install the theme with recovery, starts, but see some sort of errors that were closed following
google.process.gapps
com.android.email
com.mobileleader.sync
com.android.deskclock
the keyboard does not start (to write anything, numbers, names, etc)
I can not connect to usb
thank you very much for reading this and help
I hope you did nand backup your phone before installing the theme.
If you did that, do 'Nand restore' in recovery menu, reboot
if you did not do that, you need to reflash void-echo, reboot, install any void's modules such as kernel, a2sd, gapps, etc. that you want.
After making sure your phone is OK, try these steps:
- redownload GDDUltimateForLGVoidEcho.zip
- redownload xmlsForStandardWindowAnimation.zip
- extract contents of xmlsForStandardWindowAnimation.zip to a directory in your PC
- copy GDDUltimateForLGVoidEcho.zip to a file, say you name it 'temp.zip'
- open temp.zip (just open, not extracting it) with 7-zip
- while opening temp.zip, navigate to directory 'system/framework'
- doubleclick framework-res.apk
- navigate to directory 'res\anim'
- drag-drop previous extracted files from 'xmlsForStandardWindowAnimation.zip' to this directory ('res\anim')
- close 7-zip, answer 'Yes' when asked whether to update contents of framework-res.apk
- sign temp.zip
- copy the signed zip file to sd card and flash it
Hope this solves your problem.
Cheers.
giveme13s said:
I hope you did nand backup your phone before installing the theme.
If you did that, do 'Nand restore' in recovery menu, reboot
if you did not do that, you need to reflash void-echo, reboot, install any void's modules such as kernel, a2sd, gapps, etc. that you want.
After making sure your phone is OK, try these steps:
- redownload GDDUltimateForLGVoidEcho.zip
- redownload xmlsForStandardWindowAnimation.zip
- extract contents of xmlsForStandardWindowAnimation.zip to a directory in your PC
- copy GDDUltimateForLGVoidEcho.zip to a file, say you name it 'temp.zip'
- open temp.zip (just open, not extracting it) with 7-zip
- while opening temp.zip, navigate to directory 'system/framework'
- doubleclick framework-res.apk
- navigate to directory 'res\anim'
- drag-drop previous extracted files from 'xmlsForStandardWindowAnimation.zip' to this directory ('res\anim')
- close 7-zip, answer 'Yes' when asked whether to update contents of framework-res.apk
- sign temp.zip
- copy the signed zip file to sd card and flash it
Hope this solves your problem.
Cheers.
Click to expand...
Click to collapse
That is what he did wrong? no idea what the problem xD
Muchas gracias amigo!!

(TUT) Deodex an odexed rom

TUTORIAL FOR DEODEXING A ROM[WINDOWS]
THIS TUTORIAL IS ONLY FOR WINDOWS USERS
[I TESTED THIS PERSONALLY ON WINDOWS 7 x64]
PRE-REQUISITES
Installed Java SDK [INSTALL THIS AND ADD IT TO YOUR PATH]
Download the kitchen from this thread
http://forum.xda-developers.com/ showthread.php?t=633246
Read FAQ if you encounter any errors
http://forum.xda-developers.com/showpost.php?=5626300&postcount=3
Pictorial installation guide
Download here
http://db.tt/Ii3bUlxo
TUTORIAL
So after all the above proceed with these steps
Read EACH STEP VERY CAREFULLY before executing them inorder to minimize any errors
SET UP A WORKING FOLDER
1.Copy the rom you want to deodex to cygwin\home\[YOUR USERNAME]\original_update
2.Open cygwin by double clicking it's shortcut on the desktop or start menu
3.Type cd kitchen
4.Then type ./menu
If you get a java not found error you do not have java sdk installed[READ FAQ IN ORIGINAL THREAD]
KITCHEN MENU
In the kitchen menu press 1
Press Enter [make sure the Rom you want to deodex is in cygwin/home/[USERNAME]/kitchen/original_update
You need to get your name under available ROMs list
Select your ROM and press Enter
Change the name of the working folder if you want to
Wait until the ROM is extracted
When it asks you to create a boot.img press y and Enter
When it asks you to convert to update-script PRESS 2 and Enter
DO NOT SELECT 1
When the finished message arrives press Enter to continue
This will lead you back to the menu of the kitchen
DEODEXING
This does the actual deodexing of a ROM
Press 0[ADVANCED OPTIONS]
Then press 11[DEODEX FILES IN YOUR ROM] and press Enter
Select b[DEODEX BOTH FOLDERS]
Enable logging into file Press Enter
Be patient while the deodexing is taking place. It takes a bit of time depending on the rom
When the finished message comes press Enter
This will bring you back to the kitchen menu
BUILDING THE ROM
This step buils the deodexed ROM
Select 99[BUILD ROM FROM WORKING FOLDER]
In the select build mode option Press 1[INTERACTIVE MODE]
Zipalign the files Press y and Enter
Wait while the builing takes place
When the prompt for signing appears press y and Enter
Name the ROM as you wish
CONGRATS!!!!! YOU HAVE DEODEXED YOUR ROM
Now you can mod your framework and systemui to suit your needs
Thank faiyyaz for this part
This tutorial is for de-odexing a
particular application u want..
follow the steps below..
Initially download the file attached
"dexopt -wrapper.rar " and extract it
on PC..
1) Add the file called 'dexopt-wrapper '
in system/bin on your phone and
copy the apps you want to deodex to
a folder on your sdcard called apps\
2) Then from windows cmd you run
the commands
- adb remount
- adb shell
- dexopt-wrapper sdcard/apps /
whateveryouwantodexed.apk /
sdcard/ apps/
whateveryouwantodexed.odex
- dexopt-warpper keep on doing this
untill all files you want to are odexed
- exit
3)when that's done, open the apk
files you just odexed in 7-zip /winRAR,
remove the classes.dex file and pus
both the odex and apk to the system/
app folder (or wherever they need to
be)
4)done
i guess this steps are much easier
than de-odexing for all apps
download it here
forum.xda-developers.com/attachment.php?attachmentid=808532&d=1323273039
DISCLAIMER
DO THIS AT YOUR OWN RISK!!
I made this tutorial with descriptions of each step keeping inexperienced users in mind
ALWAYS MAKE A BACKUP BEFORE FLASHING THIS DEODEXED ROM
Nothing will go wrong if you follow the' instructions throughly but make a backup just in case
I DO NOT TAKE ANY RESPONSIBILITY IF THE ROM BRICKS YOUR DEVICE"

[TWEAK]Replace HTC Dock mode app

Hello!
I have found a way to replace the standard dock mode app on titan to an app of your choice.
First of you will have to find the guid of the app you want to replace Dock mode with. For example i will use the GUID of spotify: ca8d6603-a9ae-4a05-8643-baad091ecdd1
!PLEASE NOTE THAT I DON`T TAKE ANY RESPONSIBILITY FOR ANY DAMAGE YOU DO TO YOUR PHONE!
1) First go to HKLM/Software/HTC/USBDriver/DockMode with a registry editor of your choice.
2) Here you need to change the Value named AccessoryDockModeGUID to the GUID of the GUID of the application you to popup when you put the phone in the cradle.
3)Open a file explorer of your choice(I used windows mobile device center) and go to "\Application Data\PUBLIC\DOCKMODE" and make a backup of the file named "DockMode".
4)Now open the file with a text editor. You will see the following: "3570f057-6c31-4751-a0a7-899820af6cf4 1 1".
5)In this file replace "3570f057-6c31-4751-a0a7-899820af6cf4" with the GUID of your app for this example "ca8d6603-a9ae-4a05-8643-baad091ecdd1".
6)You should now end up with something like this: "ca8d6603-a9ae-4a05-8643-baad091ecdd1 1 1"
7)Now save the file and reboot your phone!
I have attached the original DockMode file and the original DockMode GUID is: "3570f057-6c31-4751-a0a7-899820af6cf4" in case you forget to take a backup.
//Lajba
And for HTC Car mode app
1) First go to HKLM/Software/HTC/USBDriver/CarMode with a registry editor of your choice.
2) Here you need to change the Value named AccessoryCarModeGUID to the GUID of the GUID of the application you to popup when you put the phone in the cradle.
3)Open a file explorer of your choice(I used windows mobile device center) and go to "\Application Data\PUBLIC\CARMODE" and make a backup of the file named "CarMode".
4)Now open the file with a text editor. You will see the following: "0bfb1b34-aff6-4ac5-8952-9041fd94c760 1 1".
5)In this file replace "0bfb1b34-aff6-4ac5-8952-9041fd94c760" with the GUID of your app for this example "da8734ed-666a-4227-81ea-8fc937752d98".
6)You should now end up with something like this: "da8734ed-666a-4227-81ea-8fc937752d98 1 1"
7)Now save the file and reboot your phone!
Thanks. Just curious, what registry editors do you all prefer to use?

[TUT] How to deodex roms+set up Android kitchen(cygwin)+extract files from Kdz

INTRODUCTION
HI GUYS..!
Though there are many threads explaining about the set up of android kitchen and deodexing roms...i found it a bit confusing,as most of the threads take you to different threads which again explain the steps in detail,most of which though informative is unnecessary as they are General threads .. so,TODAY i will be explaining simple step by step procedures from setting up cygwin to doedexing a rom for our devices...
THIS THREAD IS FOR L3 BUT SHOULD WORK ON L5 AND L7 ALSO ( for extracting &deoxing-Only First generation ie; L3,L5&L7..Not for L3 II,L5 II, L7 II ,but the method for android kitchen is common for both generations)
THINGS NEEDED(DOWNLOADS)
1.JAVA- download here http://java.com/en/download/manual.jsp
2.LG EXTRACTION KIT PUT TOGETHER BY ME -
http://www.mediafire.com/download/qdxgh0hqznph3nf/KDZ_extraction_Kit+kitchen+cygwin.rar
Click to expand...
Click to collapse
STEP 1-INSTALL JAVA (just download and install it)
STEP 2- SET UP CYGWIN (This method is for Windows-i have provided the 32 bit setup ,for 64 bit download the setup from website below and skip to step 3) for 64 bit users - http://www.cygwin.com
1.extract the rar file i have provided and open the folder
2.open setup-x86.exe - don't proceed
3.open the cygwin setup guide provided in the folder and follow the steps
Click to expand...
Click to collapse
STEP 3- SET UP ANDROID KITCHEN
1. open the folder u extracted from my rar file
2.right click on Android-Kitchen-0.224_2 and extract here
3.now copy the "kitchen" folder to c:\cygwin\home\(your_user_name)\
[Note :: make sure that ur username does not contain any spaces (eg; homepc) (not eg; home pc) ;if it does then copy to c:\cygwin\home\ ]
Click to expand...
Click to collapse
STEP 6- CHECK IF ANDROID KITCHEN WORKS
1.Right click on the desktop shortcut of cygwin and run as administrator
2.type
Code:
cd kitchen
for people who have spaces in there user name
Code:
cd /home/kitchen
3.to open menu
Code:
./menu
IF YOU DONT GET ANY ERRORS THEN PROCEED TO THE NEXT STEP
Click to expand...
Click to collapse
STEP 7- EXTRACTING THE KDZ FILE(For custom odexed roms proceed to STEP 9)
(For the users who don't know about the .kdz , it is the file format for the stock lg rom firmwares,...to download the kdz files goto-
http://lg-phone-firmware.com/index.php?id_mod=11 and download the firmware that suits you accordingly...im using v10k open eupore )
1.open the folder u extracted from my rar file
2.rightclick on lgextract LGExtract-0.2.1 and select extract here
3.copy the .Kdz to the extracted folder
4.type
Code:
LGExtract.exe -kdz V10X_xx.kdz
(wherein "v10X_xx " stands for the version of kdz u want to extract eg v10k_00)
5. you should end up with three files a .dz file ,a .dll file and a .cab file ( eg DZ_LGE400AT-00-V10k-EUR-XXX-AUG-08-2012+0.dz ; QCT_E400_20120703.dll and V10k_00.cab
Click to expand...
Click to collapse
STEP 8-EXTRACTING THE ..DZ FILE
1.open the folder that u extracted from my rar file
2. rightclick on the DZDecrypter_v0.5.rar file and select extract here.... do the same for the DZDecrypter_v1.0b.rar file
3. now "copy" the .dz file into both extracted folders
4. open the extracted DZDecrypter_0.5 folder and type
Code:
DZDecrypt.exe LGE610AT-xx-VxxX-XX-XXX-xx-xx-20xx+x.dz
wherein "LGE610AT-xx-VxxX-XX-XXX-xx-xx-20xx+x.dz" is name of the .dz file
5. open the extracted DZDecrypter_v1.0b and do the same
6. now what we need is the boot.img ;recovery.img and system.img
7.make a new folder
8.to get the boot.img and recovery.img go to the DZDecrypter_v0.5 folder and copy the two files to a folder u created
9.to get system.img go to the DZDecrypter_v1.0b folder and find the file named system.img.ext4
10. just rename it to system.img and copy it to the folder u created
Click to expand...
Click to collapse
STEP 9- EXTRACTING THE SYSTEM.IMG and deodexing the System Files
(FOR CUSTOM ROMS CREATE A FOLDER IN C:\cygwin\home\your_user-name\kitchen\ AND NAME IT "WORKING_090313_013348" AND COPY THE META-INF;SYSTEM AND BOOT.IMG INTO IT AND OPEN THE KITCHEN MENU AND FOLLOW FROM THE11TH STEP )
Click to expand...
Click to collapse
NOTE :custom rom users use can this command via the terminal emulator to obtain the system file's on the rom... it is recommended to do this on a Fresh installation or else you will obtain a lot of unwanted files along with the ones needed ..
Code:
su
tar -c system/* >> sdcard/system.tar
Click to expand...
Click to collapse
this will create a .tar file on your sdcard which u can latter transfer to your pc and extract using winrar or 7zip
The files needed are
/app
/bin
/etc
/fonts
/framework
/lib
/media
/semc
/usr
/xbin
build.prop
Click to expand...
Click to collapse
delete the rest of the folders
1.COPY THE BOOT.IMG AND SYSTEM.IMG TO c:\cygwin\home\(your_user_name)\kitchen\original_update
2. open cygwin as adminstrator and open the kichen menu(refer step 6)
3.select option 1 -set up working folder from rom
4.select default 1
5.select n (dont change name)
6.select ext2explore
7.follow the instruction on the cmd
8.select n (don't extract cache.img)
9.select y (view rom info)
10. press enter to continue
11.select option 0 (advanced options)
12.select 11 deodex files in your rom
13.select v and change API LEVEL to 10(this is for gingerbread rom ie 2.3.x for other rom select accrdly)
14.select b deodex both folders ( sometimes u can get errors for few apks to resolve that delete the apks in the location below in system/app ...you have to delete both the .apk and .odex ; PS:don't delete the others they are deodexed...!)
15.press enter
16. view the contents of the folder navigate to C:\cygwin\home\your_user-name\kitchen\WORKING_xxxxxx_xxxxxx u'll find the deodexed apks in system\apps
17.now u can make changes to the file.
Click to expand...
Click to collapse
(OPTIONAL:I have not tried the zip but should work well)
STEP 10- FLASHING THE DEODEXED FILES TO THE ROM
1. open the folder that u extracted from my rar file
2. install 7 zip (7z920.exe) ignore if already there
3.rightclick on 'deodex.zip' and select open with 7zip
4.open system in 7zip
5.replace the /app and /framework from the folders in C:\cygwin\home\your_user-name\kitchen\WORKING_xxxxxx_xxxxxx\system
(Just drag and drop in the opened .zip file)
6. copy the zip file to the sdcard of ur phone
7. flash it via cwm
Click to expand...
Click to collapse
ANDROID KITCHEN IS A AWESOME TOOL ..ALMOST ALL OF THE STEPS IN IT ARE SELF EXPLANATORY ...I SUGGEST THAT U PLAY AROUND WITH IT TO GET USED TO IT ..
CREDITS
@dsixda FOR ANDROID KITCHEN
http://forum.xda-developers.com/showthread.php?t=633246
@pankaj88 FOR KITCHEN SETUP FOR DEODEX
http://forum.xda-developers.com/showthread.php?t=1767392
@Homero2 FOR LGEXTRACT EXTRACTING KDZ FILE
http://forum.xda-developers.com/showthread.php?t=2180586
@copsfrance FOR DZDECRYPT
@yayakuya & @andwie
FOR INTRODUCING ME TO THE THREADS..!
FOR ANY FURTHER QUESTIONS PLS REFER THE LINKS IN CREDIT AS THEY MOST PROBABLY WOULD HAVE BEEN ANSWERED THERE DO YOUR RESEARCH SEARCH AND LEARN ASK QUESTIONS ONLY AS A LAST RESORT NO ONES' A EXPERT ..!
NOTE :: Always make a backup before changing system apk's..! Not responsible for any damages..!
HIT THANKS BUTTON IF I HELPED YOU
THANK YOU...!
Great guide,very good explained and very helpfull,thanx.:thumbup:
GREEEEETZ!!!!
stock rom?
what about stock rom??
-CALIBAN666- said:
Great guide,very good explained and very helpfull,thanx.:thumbup:
GREEEEETZ!!!!
Click to expand...
Click to collapse
thanks man ..!!Much appreciated
arjunrambz said:
what about stock rom??
Click to expand...
Click to collapse
you'll need the boot.img so you have to download the firmware (check in the about phone should be like 10 j or something ) and follow from STEP 7 for any other doubts you can use the links in the credits..!
heres the link to download firmware for l7
http://lg-phone-firmware.com/index.php?id_mod=13
Thanks alot for this
Sent from my LG-E400 using XDA Premium 4 mobile app
skiplou_memory said:
Thanks alot for this
Sent from my LG-E400 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
you always welcome..!:good:
Im getting an error while trying to extract the .dz file...
C:\Users\Aleksandar\Desktop\Decrypter 1>DZDecrypt.exe LGP710AT-00-V10f-EUR-XX-JU
L-23-2013+0.dz
DZ-Decryptor v1.0b *ALPHA RELEASE* by BIGB0SS from COPS.
[■] Opening file "LGP710AT-00-V10f-EUR-XX-JUL-23-2013+0.dz".
[■] Allocated memory: 1280 Mo.
[x] Invalid markers in main header.
[■] Closing file "LGP710AT-00-V10f-EUR-XX-JUL-23-2013+0.dz".
aleksandar_021 said:
Im getting an error while trying to extract the .dz file...
C:\Users\Aleksandar\Desktop\Decrypter 1>DZDecrypt.exe LGP710AT-00-V10f-EUR-XX-JU
L-23-2013+0.dz
DZ-Decryptor v1.0b *ALPHA RELEASE* by BIGB0SS from COPS.
[■] Opening file "LGP710AT-00-V10f-EUR-XX-JUL-23-2013+0.dz".
[■] Allocated memory: 1280 Mo.
[x] Invalid markers in main header.
[■] Closing file "LGP710AT-00-V10f-EUR-XX-JUL-23-2013+0.dz".
Click to expand...
Click to collapse
This method is only for first generation of L series. You tried to extract dz of P710 (L7 II) so obviously it won't work.
andwie said:
This method is only for first generation of L series. You tried to extract dz of P710 (L7 II) so obviously it won't work.
Click to expand...
Click to collapse
So is there a way i can extract that .dz?
aleksandar_021 said:
So is there a way i can extract that .dz?
Click to expand...
Click to collapse
No, not for your device yet.
aleksandar_021 said:
Im getting an error while trying to extract the .dz file...
C:\Users\Aleksandar\Desktop\Decrypter 1>DZDecrypt.exe LGP710AT-00-V10f-EUR-XX-JU
L-23-2013+0.dz
DZ-Decryptor v1.0b *ALPHA RELEASE* by BIGB0SS from COPS.
[■] Opening file "LGP710AT-00-V10f-EUR-XX-JUL-23-2013+0.dz".
[■] Allocated memory: 1280 Mo.
[x] Invalid markers in main header.
[■] Closing file "LGP710AT-00-V10f-EUR-XX-JUL-23-2013+0.dz".
Click to expand...
Click to collapse
Sorry i din't mention it ,this is only for the first generation ;ie l3,l5,l7 (not l3 II,L5 II,L7 II)
after deodex, how to create the KDZ file as before? You can help me?
dn80 said:
after deodex, how to create the KDZ file as before? You can help me?
Click to expand...
Click to collapse
Use can Use this
http://forum.xda-developers.com/showthread.php?t=2179431
Extract apps from stock KDZ
Hello
I'm trying to extract two applications from a Stock Rom KDZ file from my LGE975
I have installed the pacman 4.3 rom, and lost two apps very importante for me. The Diodioct and the Quick translator.
I now that there is thread only for that, but I have already install it and I get a message say "wrong phone model"
I have ask for more help and no answer until now.
So I found this thread i'm asking if there is a way two extract this two apps and install it on my phone with the pacman rom?
Thanks

Backup And restore NVRAM(imei) 100% safe

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 mod edit - link removed
Note: Put your pc Advanced startup with "Driver signature Enforcement" then install drivers.
How to Backup
1. open Sp flash tool, then Select readback.
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: 0x400000 and partition_size: 0x500000)
5. in that window you have to enter these values as follow
in start address you have to enter physical_start_addr: 0x400000
in Lenght partition_size: 0x500000
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.
Don't blame be if something went wrong,
i fount this process after facing lots of trouble and patience.
Thumbsup.:good:
-=-=-
mod edit - thread closed

Categories

Resources