yashsingh1/xdaforums huggingface dataset:
[Zenfone 5 Q&A, Help & Troubleshooting] NostalgiaZ:
Hi I hope someone could help me with this problem I have for 3 weeks.

My Zenfone 5 is in 5.0 Lollipop (3.24.40.87). After updating from kitkat, I lost my Baseband and my IMEI.

Now I have an Idea, because I've checked the /config and /factory paritions(can be viewed if you mount them via terminal) and they have the folder called Telephony and has modembinary.fls files in it. I think it has the Baseband files in it. It would be great if someone could share their /config(mmcblk0p3) and /factory(mmcblk0p5) partitions so I could test if the backups can fix it. Don't worry, I don't need you IMEI, once it works, I will try to find a way to rewrite my own IMEI over yours and if I don't, I will mess up my baseband back so I won't keep your IMEI and just buy a new motherboard. And also, please tell me what version of firmware that you have so I could go down or up to what you have and possible test it on my phone.

Any help is much appreciated. The backup should come from a Working Zenfone 5 and has a baseband. not from a phone that has the same problem as mine.
[Zenfone 5 Q&A, Help & Troubleshooting] dgadelha:
Hello,

There can be a way to solve your problem ;)

(this solution also can be useful for any other broken systems)

ZENFONE 5 (T00F, T00J) ONLY!

Required downloads:

Jelly Bean Firmware

Intel USB Drivers

ADB+Fastboot

Offline Update Image Script

Steps:

Install the Intel USB Drivers

Rename the Jelly Bean Firmware file, changing the extension from .raw to .zip

Create a directory for all the files (e.g.: C:\zenfone)

Extract the contents of the Jelly Bean Firmware and ADB+Fastboot on the directory you just created

Copy the file of Offline Update Image Script (sec_offline_update_image.cmd) to the same directory

Shutdown your phone and start in droidboot mode (Power + Vol. Up)

Plug the USB

Assert that your device is connected, check by running the command fastboot devices on a Command Prompt

Go to the directory you created before and run the file sec_offline_update_image.cmd as administrator

When your device reboot again into bootloader, check if there was no errors (the userdata erase error can be ignored with no problems). If there was any error, I recommend you to go back and check if you done all steps correctly. If not, just use the volume buttons to select the option 'Reboot' and activate it by pressing the Power key

After this is done, you can upgrade to KitKat or Lollipop via recovery, just download the update from Asus site and sideload it via ADB.

Thanks!
[Zenfone 5 Q&A, Help & Troubleshooting] NostalgiaZ:
Just like to ask if the .raw file has all of the paritions including the /config and /factory partitions since that is messed up on my phone. I will try this tho. Thanks!
[Zenfone 5 Q&A, Help & Troubleshooting] dgadelha:
Just try it.
[Zenfone 5 Q&A, Help & Troubleshooting] NostalgiaZ:
Will do. Thanks. I will give feedback after doing so.
[Zenfone 5 Q&A, Help & Troubleshooting] albertolpaiva:
I have problem with my imei, but my ZF5 have a baseband, and this method don't work for me.
[Zenfone 5 Q&A, Help & Troubleshooting] RevanEphys:
wait may i give some question :o your method will go back to jellybean right ? and if you want to go from custom ROM to Stock ROM kitkat or lollipop must via this step right ? :confused: ( i'm asking this because my step doesn't use this ........ well quite simpler but hard if you don't understand :silly: and i know it's a little bit late :) )
[Zenfone 5 Q&A, Help & Troubleshooting] dgadelha:
This will go back to Jelly Bean. But you can update to kitkat after following this guide.
[Zenfone 5 Q&A, Help & Troubleshooting] RevanEphys:
I was using step from this ( www.windroidica.in/2015/07/how-to-revert-back-to-stock.html?m=1 ) website it shown how to go back to stock rom from custom ROM and it's work for me ( there's a little bit of changes ... i don't know if they fix it yet .... you should install 3.23.40.60 instead of 3.23.40.52 for lollipop ( adb sideload ) , for kitkat just follow the step
[Zenfone 5 Q&A, Help & Troubleshooting] Damin81:
Will this fix the random freeze n reboot issue?
[Zenfone 5 Q&A, Help & Troubleshooting] RevanEphys:
so far i've been back to stock rom twice after done with custom ROM twice too and when i'm at stock ROM nothing happend just like first you buy it maybe like after factory reset
[Zenfone 5 Q&A, Help & Troubleshooting] Damin81:
Well i reverted from custom rom to stock KK using steps in the tutorial you referred to but my phone still hangs randomly and then reboots
[Zenfone 5 Q&A, Help & Troubleshooting] RevanEphys:
Are You Using A500CG , A501CG , A502CG ( This One Less Seen but i know it exist ) or A500KL ? Because Mine A500CG and Never Got Any Random Freeze or Reboot :confused:
[Zenfone 5 Q&A, Help & Troubleshooting] Damin81:
Mine is A501CG.So in conclusion is there any fix for my zenfone 5 model?
[Zenfone 5 Q&A, Help & Troubleshooting] RevanEphys:
Oh Wait I think i see What's wrong .... when you relock the bootloader you put

fastboot flash dnx dnx_fwr_ctp_a500cg.bin

fastboot flash ifwi ifwi_ctp_a500cg.bin

Command Exact Like That Right ?

Because it's for a500cg not a501cg if you want to lock the bootloader you should look for a501cg on the internet , because the website doesn't give the lock bootloader file for a501cg ....sorry :D
[Zenfone 5 Q&A, Help & Troubleshooting] Damin81:
Well yes.I get it now i am flashing wrong bootloader files.May be that is the reason why even after going back to stock kk firmware random boots didn't go away

---------- Post added at 06:29 PM ---------- Previous post was at 06:27 PM ----------

Can u find those files for me.I am quite sure i will flash the wrong stuff again?
[Zenfone 5 Q&A, Help & Troubleshooting] RevanEphys:
i'm still searching ...... well you could by using search engine ( Google , Bing and such ) :p :D
[Zenfone 5 Q&A, Help & Troubleshooting] Damin81:
Well i am doing that but i would really really appreciate some help. :)
[Zenfone 5 Q&A, Help & Troubleshooting] RevanEphys:
I've Been Searching it's really Hard to Find ( all of them always a500cg ) but you may always asking the website for more because mine a500cg and it's really hard to do it :)
[Zenfone 5 Q&A, Help & Troubleshooting] Damin81:
I am searching too but didn't come across any ac501cg files.It is really frustrating
[Zenfone 5 Q&A, Help & Troubleshooting] Elokwentnyemu:
Hi,

I have problem after rom flashing and I'm using yours post to recover my phone, because during flash i get error

E: Unable to mount /spare

I download RAW rom and use script sec_offline_update_image.cmd

But I get error during when script goes to:

fastboot erase spare

But partition file (partition.tbl)was copy without error.

can you help me
[Zenfone 5 Q&A, Help & Troubleshooting] gAracUh:
my device is also A5C01G i'm using those file to relock my bootloader it's still the same for A5C01G and i don't have any experienced freeze or Reboot yet.
[Zenfone 5 Q&A, Help & Troubleshooting] trance_sh:
Tnx a million

for me running script as administrator, didn't work, but normaly, it worked perfectly. I am now waiting my phone to boot up.
[Zenfone 5 Q&A, Help & Troubleshooting] dgadelha:
Glad it helped! ?
[Zenfone 5 Q&A, Help & Troubleshooting] ChristopherXI:
Some people in the community have problems with the partition with the lte model too . Is there any way to fix with the lte model?
[Zenfone 5 Q&A, Help & Troubleshooting] dgadelha:
Well, I don't know, if you find a RAW image for the LTE maybe you can easily adapt the script.
[Zenfone 5 Q&A, Help & Troubleshooting] ChristopherXI:
Use the same script but change the files. Roger that
[Zenfone 5 Q&A, Help & Troubleshooting] zldjian:
thank you very mush.. you save my day... my problem with 123456789abcde serial number also softbrick now solved.. thanks.. love u so much.. :good::good::good::good::good::o:o:o:o:o:o
[Zenfone 5 Q&A, Help & Troubleshooting] jephimax:
DELETED
[Zenfone 5 Q&A, Help & Troubleshooting] zeny5:
help me please when i flash via fastboot

recovery no changes from all kitkat and all lollipop

it come back again

like deepfreeze ,it show success but no changes :rolleyes:

. i enter to boot setup....and then it appear

E:Can't mount/cache/recovery/last_log

E:Can't open/cache/recovery/last_log

E:failed to mount /cache (invalid argument)

E:failed to mount /data (invalid argument)

* which is i plan to wipe cache partition and wipe data/factory reset

if it works i plan to install this firmware UL-ASUS_T00P-TW-11.4.6.94 from the memory card

but it failed with the error

so i buy a new memory card and paste this firmware UL-ASUS_T00P-TW-11.4.6.94 into my new memory card....but still the same
[Zenfone 5 Q&A, Help & Troubleshooting] mclaudio:
hello i have the same problem and also i cannot even get the phone charging. can anyone help me maybe remotly?
[Zenfone 5 Q&A, Help & Troubleshooting] dgadelha:
Are you stuck in USB logo?

Your computer identifies your phone?
[Zenfone 5 Q&A, Help & Troubleshooting] aamszia:
E:Can't mount/cache/recovery/last_log

E:Can't open/cache/recovery/last_log

E:failed to mount /cache (invalid argument)

E:failed to mount /data (invalid argument)

same problen even after flash

.
[Zenfone 5 Q&A, Help & Troubleshooting] kevin.golanda:
Hello Sir dgadelha,

Still not work for baseband version unknown.

Repartition, delete all partition, downgrade-upgrade, try many different img from many firmware (WW), and many more effort doesnt affected.

Any another way sir ?

Thanks :)
[Zenfone 5 Q&A, Help & Troubleshooting] dgadelha:
Use Zenfone Assist to restore the Jelly Bean RAW, but after restoring, DO NOT BOOT TO JB, flash CM13.1 right after flashing it.
[Zenfone 5 Q&A, Help & Troubleshooting] kevin.golanda:
Awesome sir :)

I'll try it and report it here, thanks sir for your help.
[Zenfone 5 Q&A, Help & Troubleshooting] kevin.golanda:
Report sir, still not work i use CM 12.1 (because 13.1 you uploaded has down server).

It's should be 13.1 or i can another ROM sir ?

Thanks :)
[Zenfone 5 Q&A, Help & Troubleshooting] dgadelha:
Hi,

Check at CM13 thread, a user has made a mirror for it.
[Zenfone 5 Q&A, Help & Troubleshooting] kevin.golanda:
Thanks sir, it's can be downloaded.

But still same sir.

Not good result sir, CM 13.1 rom make misc partition not found and throw it to recovery mode :confused:
[Zenfone 5 Q&A, Help & Troubleshooting] dgadelha:
Hi,

I recommend you to flash the Lollipop RAW firmware via Zenfone Assist then.
[Zenfone 5 Q&A, Help & Troubleshooting] ShinraTensei04:
Hey I've lost my IMEI and baseband after doing some flashing of custom rom(which caused a bootloop) and jumping back to stock lollipop. Can I use your solution by downgrading to Kitkat instead of JB? Becauses from kitkat I can upgrade to latest lollipop using manual upgrade method(place fw in storage, which then auto installs). I'm not sure if it's possible from JB... Also, my phone came with kitkat when I first got it, so is it safe to downgrade to JB?

EDIT: Nevermind, I managed to get my IMEI and baseband back. All I did was adb sideload stock Kikat firmware 2.22.40.54

EDIT 2: [MENTION=6292495]dgadelha[/MENTION] could you still answer nevertheless? Just in case adb sideload doesn't work in the future.
[Zenfone 5 Q&A, Help & Troubleshooting] dgadelha:
Hi.

If you find a KitKat RAW image it should do the job.

There's also a Lollipop RAW image in this forum, just search for it.

And you can even downgrade to Gingerbread (if someone makes it) if you want, there's no problem.
[Zenfone 5 Q&A, Help & Troubleshooting] ShinraTensei04:
Is there a difference between a RAW image and the firmware on the official site? Because I used the official firmware and it restored everything.
[Zenfone 5 Q&A, Help & Troubleshooting] dgadelha:
Yes.

A RAW image is flashable via fastboot instead of recovery.

But about system files, there are no difference at all.
[Zenfone 5 Q&A, Help & Troubleshooting] ShinraTensei04:
Okay, so RAW you need to flash with cmd pc and .zip from adb. Btw, can I flash stock rom .zip with TWRP?
[Zenfone 5 Q&A, Help & Troubleshooting] dgadelha:
Hi,

I'm not sure as I don't have a Zenfone anymore, but you should try.
[Zenfone 5 Q&A, Help & Troubleshooting] ShinraTensei04:
Any chance of a brick?
[Zenfone 5 Q&A, Help & Troubleshooting] dgadelha:
Probably not.
[Zenfone 5 Q&A, Help & Troubleshooting] kevin.golanda:
Already same sir :)

Any ideas sir ? Use a forcing copy mmcblk0p3 also not work :confused:

*This already happen after i root this phone and after several day IMEI become lost, but can repaired, but now do same effort not work
[Zenfone 5 Q&A, Help & Troubleshooting] prashant0patil:
Still nt mount cache file same error
[Zenfone 5 Q&A, Help & Troubleshooting] smnshuvo:
Hey. Could you fix that?

I am running with the same problem. I need to fix that. :( :(
[Zenfone 5 Q&A, Help & Troubleshooting] mathan7:
partition .tbl not write
[Zenfone 5 Q&A, Help & Troubleshooting] mathan7:
still usb logo show
[Zenfone 5 Q&A, Help & Troubleshooting] kubj31196:
OEM partition and erase spare failed, phone rebooted to USB logo. Please help
[Zenfone 5 Q&A, Help & Troubleshooting] jahanakash:
asking for solution

i have the same problem but my phone is asus zenfone 5 (toop)
[Zenfone 5 Q&A, Help & Troubleshooting] earl0325:
Can this fix solve my problem? Im facing failed to mount /system , /data , and /cache in TWRP recovery 3.0-m4.0 and its uchecked and doesnt check even i press the system, data and cache partition on mount tab on twrp. Thanks
[Zenfone 5 Q&A, Help & Troubleshooting] dgadelha:
Try it
[Zenfone 5 Q&A, Help & Troubleshooting] vkapoor201:
hey i tried your method but.. i think my partitions are ruined.. and due to ruined partitons it showing errors while executing your file Offline Update Image Script ....... it erased evrything but have not maintained the partitions.... i've a501cg.. help please..
[Zenfone 5 Q&A, Help & Troubleshooting] RamboRJ:
404 file not found

I am not able to download ADB+Fastboot file. Plz help me, I am facing issue while sideload lolipop firmware on Zenphone 5 and got error failed to mount /cache etc. Also while using flash tool its showing GPT command failed can't create partition..Help me
[Zenfone 5 Q&A, Help & Troubleshooting] Harshatxda:
How did you fix your IMEI issue. I can't resolve it since 7 months or over

What did you use to recover IMEI

---------- Post added at 08:07 PM ---------- Previous post was at 08:01 PM ----------

No need to mention that you are a king for ZenFone 5

Have seen your hundreds of threads. But the way you have suggested here, is not able to turn my indie back up to original. I have also tried a method in which we erase partitions and also put our original IMEI. But that method also isn't working on my zenfone. I don't have bootloader freezing issue. Everything is fine but just an IMEI issue which is forcing me to stay at stock. As on stock, sim 2 only works, while at custom both Sims do not work. Hope if you can still reply for this thread.
[Zenfone 5 Q&A, Help & Troubleshooting] Harshatxda:
how to get IMEI back

tried many things but cannot get flash IMEI, kindly suggest
[Zenfone 5 Q&A, Help & Troubleshooting] sandeep1721:
Download link not working

Hi,

Download link for Offline Update Image Script is now working.

Could you please provide me any alternate link.

Thanks.

---------- Post added at 05:32 PM ---------- Previous post was at 05:25 PM ----------
[Zenfone 5 Q&A, Help & Troubleshooting] NurFirdausZamri:
try to flash fastboot and recovery for the rom you want to install via adb

. it may work
[Zenfone 5 Q&A, Help & Troubleshooting] dgadelha:
fastboot oem backup_config
fastboot oem start_partitioning
fastboot flash /tmp/partition.tbl .\partition.tbl
fastboot oem partition /tmp/partition.tbl
fastboot erase system
fastboot erase cache
fastboot erase spare
fastboot erase data
fastboot erase userdata
fastboot erase APD
fastboot erase ADF
fastboot oem stop_partitioning
fastboot flash dnx .\sec-dnx_fwr.bin
fastboot flash ifwi .\sec-ifwi-prod.bin
fastboot flash boot .\boot_sign.bin
fastboot flash recovery .\recovery_sign.bin
fastboot flash fastboot .\droidboot_sign.bin
fastboot flash splashscreen .\splash_sign.bin
fastboot flash APD .\APD.img
fastboot flash system .\system.img
fastboot reboot-bootloader
PAUSE
[Zenfone 5 Q&A, Help & Troubleshooting] archemist:
hello sir,. i didn't understand on step 8.

8. Assert that your device is connected, check by running the command fastboot devices on a Command Prompt.

i run CMD and type command 'fastboot devices'. (zenfone on recovery mode menu and connected to PC using cable)

but got message on CMD like this.

'fastboot' is not recognized as an internal or external command,

operable program or batch file.

can you please expalin it in detail about step 8, sir

thanks before.
[Zenfone 5 Q&A, Help & Troubleshooting] DrMacGero:
ADB+Fastboot "Error 404 - Address not found" could u fix this please??

i've tryied some like this before for my baseband and imei null but didn't work. :confused:

now i'm using my zf5 with rr nougat only wi-fi :(

edit: i'm sorry for my bad english
[Zenfone 5 Q&A, Help & Troubleshooting] aymanz:
hi, sorry my bad english too... I had 2 z6, one with this problem and another works normally, i get this when update from ota (not unlocked yet), in the middle of process of update my phone reboot and get a much time to appear the first screen, when finnaly shows my networks is gone. I made everything and i discovery something in my research. When they (Asus) release the first and official unlock method of bootloader, in the package comes the all softwares to access direcly and update the modem and backup the keys (from baseband). i made everything right in my 1st zf6 but my HD failed and i lost everything, and the method of unlocked has changed so i think the only solution is contact direcly Asus or buy a new board. I sent for repair directly in Asusbr and they said to buy a new board and simply trow me back without answer if is possible rewrite the baseband.

This method of repair modem exist ! but only for zf5 and i try and not work maybe for you work

https://www.youtube.com/watch?v=jh89aiepcjQ

tried all methods from xda, google, yahoo, bing, youtube, change sku, unbrick from usb logo

in my case is possible install only 5.0 and above, cm12 for locked devices, below this the phone stays only boot screen.

hope can help in something
[Zenfone 5 Q&A, Help & Troubleshooting] ShinraTensei04:
Like I said, downgrade to the kitkat firmware version I mentioned. I have changed my device since, so can't say much more.
[Zenfone 5 Q&A, Help & Troubleshooting] dejoebad:
not working my friend... its about specific phone data... your method is common flashing... what nostalgiaZ need, is restore his imei, serial number, baseband. that is why he need what is inside config & factory partition (or folder in adb shell).

please, some generous people, help us...
[Zenfone 5 Q&A, Help & Troubleshooting] dejoebad:
in your case, you could use intel phone tool to repair your imei. what about baseband? because baseband not specific to phone data (information), once your phone flashed with its stock, it will be fixed.

but not the imei. why imei with 000000000000000 or 004999010640000 not working? because, once i've dig in system partition, there is blacklist policy on that both imei.

and i have almost the same problem with you with lenovo p90. but, cannot solved with intel phone tool. because, i dont know why, the com port not shown up in hardware management.

but, i would be very thankful, if there are people here would be generously share an enlightment (seriously... please...).
[Zenfone 5 Q&A, Help & Troubleshooting] ShadowRalf:
Thx Brow. Your script saved me \o/

I needed to change a part of it for using linux, but overall it worked out fine. Thank you!!! (Below, my version of your script on openSUSE TW:)

fastboot getvar backup_config

fastboot oem start_partitioning

fastboot flash /tmp/partition.tbl \partition.tbl

fastboot oem partition /tmp/partition.tbl

fastboot erase system

fastboot erase cache

fastboot erase spare

fastboot erase data

fastboot erase userdata

fastboot erase APD

fastboot erase ADF

fastboot oem stop_partitioning

fastboot flash dnx \sec-dnx_fwr.bin

fastboot flash ifwi \sec-ifwi-prod.bin

fastboot flash boot \boot_sign.bin

fastboot flash recovery \recovery_sign.bin

fastboot flash fastboot \droidboot_sign.bin

fastboot flash splashscreen \splash_sign.bin

fastboot flash APD \APD.img

fastboot flash system \system.img

fastboot reboot-bootloader

PAUSE

Meu inglês é bem limitado kkk por isso vou deixar essas obs em PT-BR mesmo:

Necessário que os arquivos tenham sido extraídos na pasta em que o terminal (CLI) for aberto e os nomes estejam descritos corretamente.

(Obs: se atentar também as mudanças do comando de acordo com o sistema e executa-los com o celular conectado e reconhecido pelo pc, via cabo usb, na tela de bootloader. E do post original, só utilizei o primeiro e o último link/arquivo Jelly Bean Firmware e Offline Update Image Script )
[Zenfone 5 Q&A, Help & Troubleshooting] prashant310:
ADB+Fastboot link is broken, can you please share the link for that. I am facing the same issue so I trying your method but because of broken link I am to perform the flash. Thanks in advance
[Zenfone 5 Q&A, Help & Troubleshooting] shaleenag:
didnt work

didnt work following errors were reported

D:\ASUS\Zenfone 5 _1.17.40.16_20140811_0963-user-fastboot-user>fastboot oem back

up_config

...

FAILED (remote: unknown OEM command)

finished. total time: 0.479s

D:\ASUS\Zenfone 5 _1.17.40.16_20140811_0963-user-fastboot-user>fastboot oem part

ition /tmp/partition.tbl

...

FAILED (remote: GPT command failed

)

finished. total time: 0.768s

D:\ASUS\Zenfone 5 _1.17.40.16_20140811_0963-user-fastboot-user>fastboot erase sp

are

erasing 'spare'...

FAILED (remote: unable to format)

finished. total time: 1.183s

D:\ASUS\Zenfone 5 _1.17.40.16_20140811_0963-user-fastboot-user>fastboot erase us

erdata

******** Did you mean to fastboot format this ext4 partition?

erasing 'userdata'...

FAILED (remote: unable to format)

finished. total time: 1.183s

please help

---------- Post added at 05:25 PM ---------- Previous post was at 05:20 PM ----------

didnt work following errors were reported

D:\ASUS\Zenfone 5 _1.17.40.16_20140811_0963-user-fastboot-user>fastboot oem back

up_config

...

FAILED (remote: unknown OEM command)

finished. total time: 0.479s

D:\ASUS\Zenfone 5 _1.17.40.16_20140811_0963-user-fastboot-user>fastboot oem part

ition /tmp/partition.tbl

...

FAILED (remote: GPT command failed

)

finished. total time: 0.768s

D:\ASUS\Zenfone 5 _1.17.40.16_20140811_0963-user-fastboot-user>fastboot erase sp

are

erasing 'spare'...

FAILED (remote: unable to format)

finished. total time: 1.183s

D:\ASUS\Zenfone 5 _1.17.40.16_20140811_0963-user-fastboot-user>fastboot erase us

erdata

******** Did you mean to fastboot format this ext4 partition?

erasing 'userdata'...

FAILED (remote: unable to format)

finished. total time: 1.183s

please help
[Zenfone 5 Q&A, Help & Troubleshooting] brsshn:
[IMG="https://i.hizliresim.com/A1pQXL.jpg"]https://i.hizliresim.com/A1pQXL.jpg[/IMG]

Hello,

I fulfilled all the above, there is still a problem... Please help me....

https://ibb.co/b7C3mn

https://ibb.co/ntsKRn

https://ibb.co/exFHCS

https://ibb.co/kva66n
[Zenfone 5 Q&A, Help & Troubleshooting] anirudhkrishnadas:
this offline image script link not working.
[Zenfone 5 Q&A, Help & Troubleshooting] kowsar684:
getting error cannot load partition.tb1
[JASJAR, XDA Exec, MDA Pro General] bramvdveen:
Hi,

I was wondering if there are any other users here of this program. I discovered it today and think it's a great alternative to Emule.

However:

As soon as I get connected to a server I often get the message: 'Error your client is too old, please...' Is there a way to prevent this? I've used a recent emule server list for this.

Besides that it seems to crash quite often: haven't been able to download any files really.

Anyone in here with advice/better experiences?