[BACKUP TUTORIAL] How to backup IMEI number in Asus zenfone 4 A400CG - Asus Zenfone 4

WELL I KNOW THIS IS AN EARLY STAGE OF ASUS ZENFONE 4 DEVELOPMENT AND THIS TUTORIAL MIGHT NOT BE USEFUL FOR NOW, BUT WHO KNOWS, THE ZENFONE 4 in THE FUTURE MAY OR MAY NOT GET DEVELOPMENT
SO EVERYTHING HERE IS JUST A PREVENTION OF LOSING imei/Radio OF THE ZENFONE 4, so after you cook a custom rom or do something which corrupts the imei/baseband, just take a backup and save it somewhere safe in your PC or CLOUD
SO ALL YOU HAVE TO DO TO HAVE A BACKUP OF YOUR imei NUMBER IS TO just type some lines in the keyboard
NOTICE:::::::****ROOT IS REQUIRED FOR THIS TO WORK****:::::
Instructions for backup
1. Download terminal emulator from GOOGLE PLAY STORE
2.Open terminal emulator and type
Code:
su
and press enter
3.You will be prompted to grant superuser permissions, select grant(This will work only if you have root)
4.Now type
Code:
dd if=dev/block/mmcblk0p3 of=sdcard/mmcblk0p3.img
now press enter and wait till some long texts appear.
5.Open file manager and goto internal storage and check if there is a file with the name
mmcblk0p3.img [Its size is about 21MB] now keep that file in some safe place where it wont get deleted
Instructions for restore imei
1.Open terminal emulator and type
Code:
su
and press enter
2.Now type
Code:
dd if=sdcard/mmcblk0p3.img of=dev/block/mmcblk0p3
now press enter and wait till some long texts appear.
DONE!!!!!
thats it..:good::good::good::good:

null imei
is this method can fix null imei? can I use/restore my friend back up image?

seriously??
jayrwafu said:
is this method can fix null imei? can I use/restore my friend back up image?
Click to expand...
Click to collapse
but if you do that only any one of you can use your phones.

thavish said:
but if you do that only any one of you can use your phones.
Click to expand...
Click to collapse
if it work, were gonna have same imei? only one of us can have signal?

Yes

Can anybody, please, provide a backed up /dev/block/mmcblk0p3 image file from a working Asus Zenfone 5? I want to try to restore my Zenfone from a "NULL IMEI" error.
Thanks in advance!

not working for zenfone 5... why still no solution to this... asus dev help.

.coder said:
Can anybody, please, provide a backed up /dev/block/mmcblk0p3 image file from a working Asus Zenfone 5? I want to try to restore my Zenfone from a "NULL IMEI" error.
Thanks in advance!
Click to expand...
Click to collapse
Sorry man, IMEI is unique for device, if you lost your IMEI is necessary send a phone to asus assistance.

I took mine from here since I lost mine.
http://www.asuszenfoneblog.com/2014/11/how-to-backup-and-restore-imei-asus.html

Related

[Q] help me guyz to ROOT my Sensation XL

Hi....this is my first time in my life i buy device with android software so I need help,I don't know any thing about android and i want root my phone.
other thing why cant use all my phone storage or that problem will fix after root my phone .............so help me guyz plz
Root
BMG50 said:
Hi....this is my first time in my life i buy device with android software so I need help,I don't know any thing about android and i want root my phone.
other thing why cant use all my phone storage or that problem will fix after root my phone .............so help me guyz plz
Click to expand...
Click to collapse
I've just helped a friend root their HTC Sensation XL, it was a painful job because we found a few methods and they didn't work!!! :crying:
BUTTT, this guide really helped: Damn just found out the because I'm a new member on here, I can't paste URLs, that is annoying!!!Type in on Google, "How to root the HTC sensation XL", and it should be the first result on a website called "theunlockr"
First you need to unlock the bootloader, there is a link on the above linked page to a HTC dev site where you can do that, then you need to download the three files/folders in sections II, PUT THESE ON YOUR DESKTOP! Don't unZIP the SuperSU folder. When you unZIP the fastboot folder, put all the files onto the desktop.
On section III, Everything should be straightforward up to the point of number 7, (for number 5, the root of the SD card means straight onto it, not into any folders), make sure you do number 6! At this point, you will have your device on (on Android) and plugged into your computer, then type the command in number 7 (adb reboot bootloader), then using the volume keys to scroll, and the power button to select, select fastboot, then carry on to step 8, then step 9 taking care to put the correct file name into the command, then step 10, boot into your recovery.
Section IV is pretty straight forward, GOOD LUCK!!!
With your phone storage (I don't know the figures - haven't used the device directly), but some of it will be used up by the Android OS. Your remaining space will more than likely be split up into internal storage which is used like an SD card, and the App/data section which stores the apps and the data surprisingly! Haha!!
Any problems, reply and I'll try to get back to you as soon as I can!!
Good luck,
Twiglets100
Don't forget to hit the thanks button please if I helped you!
first thank you so much for helping
and i think i need ur help again in step 9 plz explain this step to me.and I've get ( error : cannot load ' recovery.Img' ) when i tryed to do step 9 like website
BMG50 said:
first thank you so much for helping
and i think i need ur help again in step 9 plz explain this step to me.and I've get ( error : cannot load ' recovery.Img' ) when i tryed to do step 9 like website
Click to expand...
Click to collapse
Don't worry, me and my friend ran into that problem too! Firstly, your recovery .img needs to be in the same folder as the fastboot.exe, and make sure you type into the command the EXACT filename of the .img. The filename may also be case-sensitive, bare that in mind!
E.g. On your desktop, you may have the unZIPped folder with fastboot.exe in, your recovery .img should be moved into this folder.
Then type the command: Fastboot flash recovery filename.img
And press enter, this then may take up to a few minutes.
Good luck!
Twiglets100
Don't forget to hit the thanks button please if I helped you!

Samsung Galaxy Ace backup imei number

Hi,
I am going to change the ROM that is on my phone, I have done so previously and had no problems but thought it was time to change things up again
I was reading some instructions on how to install the ROM and it mentioned that I should backup my IMEI number. I have been trying to find a way to do this now for several days with no success.
The closest I have come to by using an app called "GalaxSim Unlock". It said it worked, although it only saved 1 file instead of the 3 that are meant to be there. All other apps just refuse to back it up.
Can someone point me in the direction of an app that will backup my IMEI or instructions on how to do it?
Thanks for any help.
Jay
Do this
You just have to make backup of Your stl5 partition to sd card.
How?
Download from Android Market app called Terminal Emulator
Turn ON flight mode
Run Terminal Emulator
In terminal emulator write:
su (push enter)
dd if=/dev/block/stl5 of=/sdcard/stl5.rfs (push enter)
reboot (push enter)
Thats all!
stl5.rfs file is now on Your sd card!
Im not sure at all, ive read touching the stl5 partition will brick our device, somebody can confirm that?

PDS Partition Fix (Very risky - Not for the faint of heart!)

I no longer have this phone!
---
Are you having problems flashing custom ROMs and then getting bootloops? Are you sick of using the Stock ROM?
I found that it is caused by accidentally wiping the PDS partition in some versions of CWM an TWRP.
By going into Settings > About > Status the serial number will no longer be shown. (Unknown or Error.)
A long time ago, someone posted their PDS (yay!) here.
The second post has an extracted PDS.
You will need to download both the pds.img and efi.zip for this tutorial.
To see where the PDS is located for the XT890, look here. (mmcblk0p12)
~
Note: I've attached some pics to help - see below.
Step One:
While booted into Android, you need to use the following commands: (Make sure you enable USB Debugging.)
Code:
adb push pds.img /data/local/tmp
adb shell
su
chmod 777 /data/local/tmp/pds.img
dd if=/data/local/tmp/pds.img of=/dev/block/mmcblk0p12
exit
exit
adb reboot
At this point, if you boot into fastboot, you'll notice the PDS is fixed, but it will not show YOUR serial number.
Step Two:
Extract efi.zip
Open up efi\factory\fti using a hex editor (I use XVI32)
Find the decimal address (Address > Goto) 21
Insert your serial number as a text string T********H (Edit > Insert string)
Remember, the serial number is TEN characters.
Remove the old serial number using Delete on the keyboard.
You should end up with your serial number and EA4 on the end.
Save the file and copy it to your phone.
Using a root explorer file manager (I use ES File Explorer) mount / as RW
Browse to /pds/factory/, copy your edited fti file and overwrite.
Step Three:
Restart the phone and boot into fastboot.
Code:
fastboot erase cache
fastboot reboot-bootloader
fasboot should now show the correct serial number.
Congrats!
I hope this has helped you, please give feedback.
Good find. Thanks for the contribution
So my Serialnumber is the MSN on my phonebox right, the one right above the IMEI? Cause mine is not beginning wit a "T", but it has 10 characters.
Btw, the Serialnumber is not the only thing that is unique - the mac adress is saved in the pds too. I will try to change mine later, should work with the same method, i just create a new one i guess - dont know how to get my old one.
I lost my box a long time ago, but had my serial number saved in a screenshot from when I unlocked the phone's bootloader.
Thanks for the info on the MAC address, I'll look into it later.
Sent from my XT890
Worth a try with the Moto X Style?
AlertRobotdude said:
Worth a try with the Moto X Style?
Click to expand...
Click to collapse
Maybe, but not this one. Do know u are in the "Razr I" forums of XDA and not in the "Moto X Style" forums.

[GUIDE][FIX] Boot loop on Lollipop 5.0 and above (fix persist partition)

What is the persist partition?
Persist is partition mounted at /persist. It has ext4 file system. DRM releated files, sensor reg file (sns.reg), wifi and bluetooth mac addresses are stored there.
If you experience the following issues:
Can't access to internal storage.
No signal even after formating cache and fastboot flash cache.img
IMEI number is lost even after formating cache and fastboot flash cache.img
Boot loop on Lollipop 5.0 and above
You get "e: cannot mount /persist" in recovery
then your persist partition have to be fixed.
Requirements to proceed:
Ability to use adb command.
TWRP or Philz touch recovery.
Universal Naked Driver for recovery. (Windows users)
Root.
Setting up adb, rooting and installing drivers are not part of this guide. If you have to do that then please use @rootSU's great thread to find the guides you need.
Let's start!
Reboot your phone to recovery.
Connect USB cable.
Open CMD or Terminal application.
Enter following commands in CMD or Terminal application:
adb shell
e2fsck /dev/block/platform/msm_sdcc.1/by-name/persist
Click to expand...
Click to collapse
You should be prompted to repair or fix errors. Keep pressing enter until the process finishes.
If you are not prompted for repair or you still have problems then follow my instructions.
Get to that point again when you entered the adb shell command then type the following command:
make_ext4fs /dev/block/platform/msm_sdcc.1/by-name/persist
Click to expand...
Click to collapse
Reboot your phone.
Now all your problems should be gone now, but your wifi and bluetooth addresses should be fixed to prevent further problems or bugs.
Download this rar file.
Extract it.
(Linux users should enable show hidden files)
Open .bdaddr with a hexeditor.
You should see following:
BC F5 AC 00 00 00
Click to expand...
Click to collapse
Change the last three 00 to something else.
You can use 0-9 numerals and A-F letters.
Save the modified .bdaddr.
Open .macaddr with a hexeditor.
You should see the following:
8C 3A E3 00 00 00
Click to expand...
Click to collapse
Change the last three 00 to something else.
You can use 0-9 numerals and A-F letters.
Save the modified .macaddr.
Copy both files to your sdcard.
Enable USB debugging on the phone.
Open CMD or Terminal application. (If you closed it)
Enter following commands in CMD or Terminal application:
adb shell
su
Click to expand...
Click to collapse
Grant access on the phone.
cd /persist
mkdir bluetooth wifi
chown bluetooth:system ./bluetooth
chmod 770 ./bluetooth
cp /sdcard/.bdaddr /persist/bluetooth
chown bluetooth:system ./bluetooth/.bdaddr
chmod 660 ./bluetooth/.bdaddr
chown wifi:system ./wifi
chmod 770 ./wifi
cp /sdcard/.macaddr /persist/wifi
chown wifi:system ./wifi/.macaddr
chmod 660 ./wifi/.macaddr
Click to expand...
Click to collapse
Reboot your phone. All your problems should have gone now. You can delete .bdaddr and .macaddr from your sdcard.
About the other files:
SNS.reg will be regenrated, but the DRM releated files will not. Nobody ever complained about the missing DRM files, but I still want to make it possible to restore them. If anyone could make an md5 checksum about the files on the persist partition that would be great.
Great thread @bitdomo. Thanks for adding this to the forum. I added it to the root guides section of sticky roll-up
Sent from my Nexus 5 using Tapatalk
Nice job! ?
This should be very helpful, well done!
I keep getting not found when i enter that comand in cmd.
Great thread. Didn't even know about such a partition to be honest.
Sent from my Nexus 5 using Tapatalk
---------- Post added at 03:10 AM ---------- Previous post was at 03:09 AM ----------
Juniluis said:
I keep getting not found when i enter that comand in cmd.
Click to expand...
Click to collapse
Have you added adb to your PATH?
Sent from my Nexus 5 using Tapatalk
Man your a life saver thank you so much I just copy your and I stop typing because I was typing something bad.
One question the Mac address WiFi and Bluetooth steps in hex editor only the ones that had problem with the first qoute ta was ef2sck .....etc and needed to go to the second quote that was make ef4 ..,.etc need to do it right?
bitdomo said:
What is the persist partition?
Persist is partition mounted at /persist. It has ext4 file system. DRM releated files, sensor reg file (sns.reg), wifi and bluetooth mac addresses are stored there.
If you experience the following issues:
Can't access to internal storage.
No signal even after formating cache and fastboot flash cache.img
IMEI number is lost even after formating cache and fastboot flash cache.img
You get "e: cannot mount /persist" in recovery
then your persist partition have to be fixed.
Requirements to proceed:
Ability to use adb command.
TWRP or Philz touch recovery.
Universal Naked Driver for recovery. (Windows users)
Root.
Setting up adb, rooting and installing drivers are not part of this guide. If you have to do that then please use @rootSU's great thread to find the guides you need.
Let's start!
Reboot your phone to recovery.
Connect USB cable.
Open CMD or Terminal application.
Enter following commands in CMD or Terminal application:
You should be prompted to repair or fix errors. Keep pressing enter until the process finishes.
If you are not prompted for repair or you still have problems then follow my instructions.
Get to that point again when you entered the adb shell command then type the following command:
Reboot your phone.
Now all your problems should be gone now, but your wifi and bluetooth addresses should be fixed to prevent further problems or bugs.
Download this rar file.
Extract it.
(Linux users should enable show hidden files)
Open .bdaddr with a hexeditor.
You should see following:
Change the last three 00 to something else.
You can use 0-9 numerals and A-F letters.
Save the modified .bdaddr.
Open .macaddr with a hexeditor.
You should see the following:
Change the last three 00 to something else.
You can use 0-9 numerals and A-F letters.
Save the modified .macaddr.
Copy both files to your sdcard.
Enable USB debugging on the phone.
Open CMD or Terminal application. (If you closed it)
Enter following commands in CMD or Terminal application:
Grant access on the phone.
Reboot your phone. All your problems should have gone now. You can delete .bdaddr and .macaddr from your sdcard.
About the other files:
SNS.reg will be regenrated, but the DRM releated files will not. Nobody ever complained about the missing DRM files, but I still want to make it possible to restore them. If anyone could make an md5 checksum about the files on the persist partition that would be great.
Click to expand...
Click to collapse
I have a big problem: when I enter "e2fsck /dev/block/platform/msm_sdcc.1/by-name/persist", it says that the journal has data and can't set superblocks, and when I enter "make_ext4fs /dev/block/platform/msm_sdcc.1/by-name/persist" the problem persist..:crying:
thaaaaaaaaaanks the phone is work O_O
I need a professional guy help
rootSU said:
Great thread @bitdomo. Thanks for adding this to the forum. I added it to the root guides section of sticky roll-up
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
im really stuck on the starting adb and fastboot is their any guy to whom should i show this nexus 5 imei gone. storage corrupt and baseband null even camera is also not working.
i live in pak please prefer a guy who can resolve my problem
Thanks
I registered in the forum to thank you @bitdomo ! My Nexus 5 lost signal a few weeks ago and I did EVERYTHING. Started with trying to add apn stuff manually, then in-android factory reset, wipes, then stock flash, a few more flashes, and I started to go crazy. My IMEI was lost. But this got it back! Thank you very much!
The same thing here! Thanx a lot,bitdomo!
faizanfarooq86 said:
im really stuck on the starting adb and fastboot is their any guy to whom should i show this nexus 5 imei gone. storage corrupt and baseband null even camera is also not working.
i live in pak please prefer a guy who can resolve my problem
Thanks
Click to expand...
Click to collapse
Did you try any of the suggested guides/links by rootSU in the OP? The required information on getting ADB/fastboot working correctly is all there, see link http://forum.xda-developers.com/google-nexus-5/general/noob-read-adb-fastboot-how-hep-t2807273
Thank you very much! This helped me a lot.
The best way is to flash factory images.
I had this issue in the morning and solved it in no time.
Goodluck
DaGr81 said:
The best way is to flash factory images.
I had this issue in the morning and solved it in no time.
Goodluck
Click to expand...
Click to collapse
This issue won't be solved by flashing factory images. Hence the thread.
Thanks!!!!!!!!
I love my Nexus 5. This did the trick. I did have to flash-all at the end because I screwed it up too much while trying to fix it.
By the way the symptom I was experience was the phone was in a endless forever loop on the boot and I was seeing the color dots animation for a couple days.
Don't copy the whole OP page to ask a simple question please #swag
Sent from my Nexus 5
Guys can this only be done in adb? My nexus 5 is in a bootloop, tried reflashing stock. Still the same. I can get into bootloader, tried going in recovery but it just bootloops after that. Help please. Thought it was the power button. Replaced but still the same

[GUIDE] Root - Unlock bootloader and Install TWRP on LG Magna H502f

Hello people.
So after a long search, I managed to find the method to install TWRP on my LG Magna H502f V10a.
To do this, he must first root phone with the method: LG ONE CLICK ROOT:
- Install the latest drivers for LG: https://sourceforge.net/projects/av...S51MAN313AP22_ML_WHQL_Ver_3.13.2.exe/download or drivers LG Verzion: https://sourceforge.net/projects/av...S51MAN313AP22_ML_WHQL_Ver_3.13.2.exe/download
- Download LG One Click Root 1.3 (Graphic UI): http://forum.xda-developers.com/lg-g3/general/guide-root-lg-firmwares-kitkat-lollipop-t3056951
- Unzip the archive
- Enable Usb debugging on your phone . (General > About phone > Software information, tap Build number seven times and then go to Settings > Developer options and turn on Usb debugging)
- Connect your phone to pc.
- If the phone not Recognize, try to switch entre MTP and PTP options.
- Launch LG ONE CLICK ROOT and be guided to the end of the procedure.
- Once completed you will SUPER SU installed on your device.
- To check the status of root you can download ROOT CHECKER from the play store.
Step 2: UNLOCK THE BOOTLOADER and TWRP INSTALL:
- To do this, first download both files (I specify that it is for the H502f) https://drive.google.com/file/d/0BwmQ3F48xaJjV1lKNUdPQkV2a2M/view
- And download and install TERMINAL EMULATOR from the play store: https://play.google.com/store/apps/details?id=jackpal.androidterm
- Copy both files and uboot.img and recovery.img in the root of the internal memory of the phone
- Go to TERMINAL EMULATOR and run the following commands (after getting the root right):
su
dd if=/storage/sdcard0/uboot.img of=/dev/uboot count=1024
dd if=/storage/sdcard0/recovery.img of=/dev/recovery count=32768
reboot recovery
And you're in TWRP 2.8.7.1 and there you can make a backup just to have a little backup in case pending a Custom ROM which I hope will happen soon.
Thank you.
A small up to raise the thread ... to reach 10 posts
TWRP 3.0.0-0 available here : http://forum.xda-developers.com/android/general/twrp-3-0-0-0-lg-magna-t3319479
Root alternative method
Hey...you can also gain root priviliges by using the Kingroot apk ...Also in my device (Lg H500) instead of TERMINAL EMULATOR, i did use the pc connection and adb shell
(in order to avoid typing)...
But all these are details....The tutorial is 100% correct and confirmed...Cudos
Thank you
awesome! this works for me...
Help!!
Hello, i have a problem with the installation of twrp and unlocking the bootloader. When i type the command "dd if=/storage/sdcard0/uboot.img of=/dev/uboot count=1024" in the emulator, it says, "not valid direcory or location". I tried to change the location of the files, although i am prety sure they are where they are supposed to be. I am desperate
Nice, thank you for your information
Are you about to have:
1- unzip the archive (for both files: uboot.img and recovery.img)?
2- copied the 2 files .img in root of the internal storage memory of phone (not sd card) ?
Aneom7331 said:
Hello, i have a problem with the installation of twrp and unlocking the bootloader. When i type the command "dd if=/storage/sdcard0/uboot.img of=/dev/uboot count=1024" in the emulator, it says, "not valid direcory or location". I tried to change the location of the files, although i am prety sure they are where they are supposed to be. I am desperate
Click to expand...
Click to collapse
Copy both files to the internal storage (storage/emulated/0/) and use these commands
dd if=/storage/emulated/0/uboot.img of=/dev/uboot
dd if=/storage/emulated/0/recovery.img of=/dev/recovery
That works for me.
Sent from my LG-H502 using XDA-Developers mobile app
IT WORKED!
OMG dude it worked!!! Thank you so much!!!:laugh:
[emoji106] thats cool. Glad to help.
Sent from my LG-H502 using XDA-Developers mobile app
No such file
So i entered terminal, and when i enter the command lines it says no such file or directory, and i followed the instructions and copied both files into the internal storage, pleeeeaaaassse help
masteryoda110 said:
So i entered terminal, and when i enter the command lines it says no such file or directory, and i followed the instructions and copied both files into the internal storage, pleeeeaaaassse help
Click to expand...
Click to collapse
[quote name="Aneom7331" post=66276037]Hello, i have a problem with the installation of twrp and unlocking the bootloader. When i type the command "dd if=/storage/sdcard0/uboot.img of=/dev/uboot count=1024" in the emulator, it says, "not valid direcory or location". I tried to change the location of the files, although i am prety sure they are where they are supposed to be. I am desperate [/QUOTE]
Copy both files to the internal storage (storage/emulated/0/) and use these commands
dd if=/storage/emulated/0/uboot.img of=/dev/uboot
dd if=/storage/emulated/0/recovery.img of=/dev/recovery
That works for me.
Sent from my LG-H502 using XDA-Developers mobile app
Hi,
So i've read not just this thread, but also the LG 3 where the LG one click root files come from.
I have the LG Magna - H502Y. It's probably the most "recent" kernel with 3.10.54 version. Anyway, it doesn't work with me. Has anyone tried with this version?
thanx
Thank you, now my lg stock lg magna h502f get TWRP recovery....I have plan to flash Marshmallow, with titeuf15 instruction under link 'http://forum.xda-developers.com/android/general/official-update-to-marshmallow-6-0-lg-t3395098/post67233869#post67233869".
So to continue my task, do I need any task such as Software update(that's security patch) to install?
Or
Should I just do directly in titeuf15's instrctions????
Thz. . .I m beginner in this field...
Just go ahead and follow titeuf15's instruction.
Berong said:
Just go ahead and follow titeuf15's instruction.
Click to expand...
Click to collapse
Thz Berong
Hi, in case I want to relocked it to send it to waranty how do i relock the BL? . Does the LG Pc tool works without a chance of brick??
just flash stock rom again...
Sent from my LG-H502 using XDA-Developers mobile app

Categories

Resources