SIM not working after fastboot commands!!! - ONE Q&A, Help & Troubleshooting

Hello guys,
on a One Plus One of a friend I insert in the fastboot this 2 codes:
fastboot erase modemst1
fastboot erase modemst2
because he had problems with the gps and I fixed this problem on my Moto X in this way. But after i did this his phone cannot read the sim card. I tried to reboot and to hard reset but the problem is still there. He has Cm13 no-rooted and bootloader is still locked. How can i fix this?

Welp, this is one of the partitions used to store IMEI and Modem of the device. You can try flashing a modem http://forum.xda-developers.com/oneplus-one/general/firmware-modem-oneplus-one-lollipop-t3300907 or you will have to search on the internet and find those 2 partitions from someone who has them backed up.
//edit// i found something here its only modemst1 tho http://forum.xda-developers.com/oneplus-one/general/guide-imei-efs-backup-t3252618

If i backup the file from another phone maybe the IMEI can be changed?

Jekodark said:
Hello guys,
on a One Plus One of a friend I insert in the fastboot this 2 codes:
fastboot erase modemst1
fastboot erase modemst2
because he had problems with the gps and I fixed this problem on my Moto X in this way. But after i did this his phone cannot read the sim card. I tried to reboot and to hard reset but the problem is still there. He has Cm13 no-rooted and bootloader is still locked. How can i fix this?
Click to expand...
Click to collapse
You can try unlocking his bootloader using
Code:
fastboot oem unlock
because you can't flash anything to the phone while its unlocked
Backup his stuff in internal storage (pics, vids etc) to a PC before you do the bootloader unlock
Do the commands above again
Code:
fastboot erase modemst1
fastboot erase modemst2
Then fastboot flash a modem, c6. 241
https://www.androidfilehost.com/?fid=24052804347825946
Extract and just copy paste the below commands, or alternatively use TWRP to flash it
Code:
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
fastboot flash oppostanvbk static_nvbk.bin
Reboot and see if the SIM issue persists

I solved flashing the oxygen!

Related

Help me please i bricked my razr xt 925

Hello guys
i bricked my razr xt 925 during an flash of a custom rom on twrp and the recovery is gone but i can acess the boot menu and the android recovery
my phone is boot loader unlocked
i tried to flash it via rsd lite but it failed at step 2/22 help me please !!
Edit: it worked finally i just dowloaded the same file and used rsd lite and whent take a shower and when i look its done and the android was on thank you man
Growdii said:
Hello guys
i bricked my razr xt 925 during an flash of a custom rom on twrp and the recovery is gone but i can acess the boot menu and the android recovery
my phone is boot loader unlocked
i tried to flash it via rsd lite but it failed at step 2/22 help me please !!
Click to expand...
Click to collapse
I just managed getting out of trouble from these flash errors.
I personnaly used that kind of script to get rid of these XML errors :
Code:
@echo off
fastboot flash sbl1 sbl1_signed
fastboot flash sbl2 sbl2_signed
fastboot flash sbl3 sbl3_signed
fastboot flash rpm rpm_signed
fastboot flash tz tz_signed
fastboot flash aboot aboot_signed
fastboot reboot-bootloader
echo. When the screen bcomes back on, press any key to continue!
pause
fastboot flash partition partition_signed
fastboot flash sbl1 sbl1_signed
fastboot flash sbl2 sbl2_signed
fastboot flash sbl3 sbl3_signed
fastboot flash rpm rpm_signed
fastboot flash tz tz_signed
fastboot flash aboot aboot_signed
fastboot flash boot boot_signed
fastboot erase cache
fastboot flash system system_signed
fastboot flash recovery recovery_signed
fastboot flash modem modem_signed
fastboot flash devtree devtree_signed
fastboot flash logo logo
fastboot flash cdrom cdrom_signed
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg_signed
fastboot erase cache
fastboot erase tombstones
echo. Press a key to reboot the phone
pause
fastboot oem fb_mode_clear
fastboot reboot
Ask me if you need more details.
Edit : You should find a script in your rom folder allowing you to directly launch the flash from a command line (you just have to launch it and see what goes wrong if any goes wrong). If it says fastboot unknown command or something like that, place these files in the script folder :
AdbWinApi.dll
AdbWinUsbApi.dll
fastboot.exe
adb.exe
Click to expand...
Click to collapse
Hybris95 said:
I just managed getting out of trouble from these flash errors.
I personnaly used that kind of script to get rid of these XML errors :
Code:
@echo off
fastboot flash sbl1 sbl1_signed
fastboot flash sbl2 sbl2_signed
fastboot flash sbl3 sbl3_signed
fastboot flash rpm rpm_signed
fastboot flash tz tz_signed
fastboot flash aboot aboot_signed
fastboot reboot-bootloader
echo. When the screen bcomes back on, press any key to continue!
pause
fastboot flash partition partition_signed
fastboot flash sbl1 sbl1_signed
fastboot flash sbl2 sbl2_signed
fastboot flash sbl3 sbl3_signed
fastboot flash rpm rpm_signed
fastboot flash tz tz_signed
fastboot flash aboot aboot_signed
fastboot flash boot boot_signed
fastboot erase cache
fastboot flash system system_signed
fastboot flash recovery recovery_signed
fastboot flash modem modem_signed
fastboot flash devtree devtree_signed
fastboot flash logo logo
fastboot flash cdrom cdrom_signed
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg_signed
fastboot erase cache
fastboot erase tombstones
echo. Press a key to reboot the phone
pause
fastboot oem fb_mode_clear
fastboot reboot
Ask me if you need more details.
Edit : You should find a script in your rom folder allowing you to directly launch the flash from a command line (you just have to launch it and see what goes wrong if any goes wrong). If it says fastboot unknown command or something like that, place these files in the script folder :
Click to expand...
Click to collapse
IM tring to flash the rom via lsd lite but it got an error and i found on internet how to fix it but when i fix it its stops a 1/21 on rsd lite
Edit: can you do a tutorial for me please ? my razr is the gsm version and i use the brazilian firmware if thats helps
please help me im almost cryiing(sry for the bad english im brazilian)because this phone i just got him ,i have experience on the rsd lite but no much because i used it 4 times and in 2 it was when my razr xt910 bricked
Growdii said:
it worked finally i just dowloaded the same file and used rsd lite and whent take a shower and when i look its done and the android was on thank you man
Click to expand...
Click to collapse
Glad to hear it worked for you
Its always a pleasure to have a fully functionnal smartphone especially when it's some days old

[Q] Order of operations...? (root + fix)

Quick background: I had a battery status software issue. Opo tech support gave me a fix for it. The fix wiped the phone and removed root access. I knew it would wipe the phone but they told me that it would not remove root access, and nothing they said after that point was helpful. I am able to get root access again, but am fairly certain the wipe involved in unlocking the bootloader removed the fix they gave me. What I would like to know is how to apply the fix while maintaining root access. Or to root after applying it without removing it.
I am on the latest ota update, 11.0-XNPH05Q and only have the fix applied currently.
If anyone has a good idea of what I need to alter to get this working I would greatly appreciate the input.
It isn't as simple as removing the "oem lock" command is it?
The fix consisted of 2 batch files:
Batch file 1:
MENTION=279333]ECHO[/MENTION] off
fastboot oem unlock
fastboot reboot-bootloader
sleep 5
Batch file 2:
MENTION=279333]ECHO[/MENTION] off
echo ######### This patch is Created by ONEPLUS Technical Support. #######
echo ###### This patch should only be used for ONEPLUS ONE 64GB Global Version. ######
@ECHO off
fastboot erase persist
fastboot flash persist persist.img
fastboot erase reserve4
fastboot flash reserve4 reserve4.img
fastboot erase oppostanvbk
fastboot flash oppostanvbk static_nvbk.bin
fastboot flash boot boot.img
fastboot flash userdata userdata_64g.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
fastboot oem lock
fastboot reboot
echo It is done Now
pause
The fix hasn't actually done anything apart from a simple erase and reflash of the partitions on your phone. Unlocking the bootloader again won't remove the fix. The wipe that occurs during the bootloader unlock performs a factory reset, which basically just erases any user data, not system data or any other partition on the device. So go ahead and unlock again, but, you will lose your user data in the process obviously.
Wonderful, thanks for the help!

plz help I'm stuck at fastboot

Can anyone plz help me?
Searched all over the web
Can't find any solution
Recently I mistakenly flashed d802 ROM on my d800
Now I'm stuck at fastboot
And when I try to flash boot.IMG or laf.IMG
Fastboot sends the IMG and says OKAY
But writing process never ends :\
What shud I do?
sayedmurteza.muttahary said:
Can anyone plz help me?
Searched all over the web
Can't find any solution
Recently I mistakenly flashed d802 ROM on my d800
Now I'm stuck at fastboot
And when I try to flash boot.IMG or laf.IMG
Fastboot sends the IMG and says OKAY
But writing process never ends :\
What shud I do?
Click to expand...
Click to collapse
First try
fastboot devices
it shoul give you
? fastboot
thenk try fastboot reboot
If phone reboots you are good to go.
then type
Code:
fastboot erase recovery
then flash your factory images(the D800 firmware you have installed when your phone is working condition) one by one.
download these files here
aboot
boot
dbi
laf
rpm
sbl1
tz
rename them as friendly name
like
11-laf.img to laf.img
4-aboot.img to aboot.img
and so on
use commands like this on by one
Code:
fastboot erase aboot
fastboot flash aboot aboot.img
fastboot erase boot
fastboot flash boot boot.img
fastboot erase dbi
fastboot flash dbi dbi.img
fastboot erase laf
fastboot flash laf laf.img
fastboot erase rpm
fastboot flash rpm rpm.img
fastboot erase sbl1
fastboot flash sbl1 sbl1.img
fastboot erase tz
fastboot flash tz tz.img
then
fastboot reboot
hold power button and completely turn off your device.
then pres Volume up and insert the usb cable
your phone should boot up in download mode.
then
Follow this guide
go with kitkat one
Let me know what you get
hack_er4 said:
First try
fastboot devices
it shoul give you
? fastboot
thenk try fastboot reboot
If phone reboots you are good to go.
then type
Code:
fastboot erase recovery
then flash your factory images(the D800 firmware you have installed when your phone is working condition) one by one.
download these files here
aboot
boot
dbi
laf
rpm
sbl1
tz
rename them as friendly name
like
11-laf.img to laf.img
4-aboot.img to aboot.img
and so on
use commands like this on by one
Code:
fastboot erase aboot
fastboot flash aboot aboot.img
fastboot erase boot
fastboot flash boot boot.img
fastboot erase dbi
fastboot flash dbi dbi.img
fastboot erase laf
fastboot flash laf laf.img
fastboot erase rpm
fastboot flash rpm rpm.img
fastboot erase sbl1
fastboot flash sbl1 sbl1.img
fastboot erase tz
fastboot flash tz tz.img
then
fastboot reboot
hold power button and completely turn off your device.
then pres Volume up and insert the usb cable
your phone should boot up in download mode.
then
Follow this guide
go with kitkat one
Let me know what you get
Click to expand...
Click to collapse
First thanks for replying
I tried fastboot devices and it gave me ? fastboot and it's good
but when i try fastboot reboot it says rebooting... and device doesn't reboot :\
Any Idea?
sayedmurteza.muttahary said:
First thanks for replying
I tried fastboot devices and it gave me ? fastboot and it's good
but when i try fastboot reboot it says rebooting... and device doesn't reboot :\
Any Idea?
Click to expand...
Click to collapse
this mean fastboot is not working for you.
please check drivers and check device manger
check for your device what does it say?

Android marshmallow imei issues

Hey, after update to cm 13 no sim card detected, imei unknown same as the baseband version.. Even after restore to an older version the problem still appears, I solved the problem just after fastboot to stock and then restore the older version from twrp again. But always when I'm trying to upgrade to Android 6.0 the problem appear again!! I will appreciate any kind of help!!
Thanks from advance.
zivlass said:
Hey, after update to cm 13 no sim card detected, imei unknown same as the baseband version.. Even after restore to an older version the problem still appears, I solved the problem just after fastboot to stock and then restore the older version from twrp again. But always when I'm trying to upgrade to Android 6.0 the problem appear again!! I will appreciate any kind of help!!
Thanks from advance.
Click to expand...
Click to collapse
Which twrp are you using? You need 2.8.6.0 so the baseband also gets flashed.
I got my fixed by installing modem via Fastboot.
Follow these steps:
- Boot to fastboot and run command : fastboot flash modemst1 modemst.bin
- Once done, install Cyanogen OS 12.1 via fastboot and reboot.
Above steps got my phone fixed, it was not showing imei no, unknown baseband previously and everything is fixed now. :highfive:
Rajneeshgadge17 said:
- Boot to fastboot and run command : fastboot flash modemst1 modemst1.bin
Click to expand...
Click to collapse
error: cannot open 'modemst1.bin'
what's wrong?
I hope you are already aware how to flash files using fastboot and already extracted .bin file out of the attched .zip file.
Rajneeshgadge17 said:
I hope you are already aware how to flash files using fastboot and already extracted .bin file out of the attched .zip file.
Click to expand...
Click to collapse
Yes
I have modemst.bin in my ADB folder
I flashed TWRP before this, and it worked
So its fixed, right ?
No, unfortunately.....
gersa said:
No, unfortunately.....
Click to expand...
Click to collapse
Please use command:
fastboot flash modemst1 modemst.bin
I have corrected the post; the file name that we had downloaded was modemst.bin so flash using this name.
Hope this fixes the issue.
Rajneeshgadge17 said:
Please use command:
fastboot flash modemst1 modemst.bin
I have corrected the post; the file name that we had downloaded was modemst.bin so flash using this name.
Hope this fixes the issue.
Click to expand...
Click to collapse
Great, it works......
Thanks
I'm glad. Hail XDA!!
Rajneeshgadge17 said:
- Once done, install Cyanogen OS 12.1 via fastboot and reboot.
Click to expand...
Click to collapse
Next question - Is this correct for flashing ROM from your link?
fastboot flash modem NON-HLOS.bin
fastboot flash recovery recovery.img
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
fastboot flash oppostanvbk static_nvbk.bin
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash system system.img or userdata_64G.img
gersa said:
Next question - Is this correct for flashing ROM from your link?
fastboot flash modem NON-HLOS.bin
fastboot flash recovery recovery.img
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
fastboot flash oppostanvbk static_nvbk.bin
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash system system.img or userdata_64G.img
Click to expand...
Click to collapse
Yeap its the latest Cyanogen OS, you can download from this page:
https://cyngn.com/support
Downlaod the fastboot version.
Commands:
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
fastboot flash oppostanvbk static_nvbk.bin
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash userdata userdata_64G.img (or userdata.img if you have a 16GB model)
fastboot reboot
http://forum.xda-developers.com/oneplus-one/general/guide-return-opo-to-100-stock-t2826541

Problems with the Bootloader.

Good morning, after searching and reading endless post of solutions I did not find any. To if I prepared to post the problem here and see if any solution arises, since we are several affected by this.
I pass the following: When I try to flash firmware stock con ABDtool . First flicks (Prevalidation Failed) Bootloader when flashing:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
It could be caused by not unlocking the boot loader, but My bootloader it unlocked
The bootloader data:
AP Fastoboot Flash Mode (Secure)
BL:80.CB (sha-cfa8344, 2015-11-20 18:51.42)
Baseband: Not found
Product Variant: osprey XT1542 8 GB P2B
Serial Nmber zY2232NR5Q
CPU: MSM8916
eMMC: (GB Micron RV= 06 PV= 12 TY= 17
DRAM: 1024MB Elpida S8 SDRAM DIE= 4GB
Console (NULL): null
Battery Ok
Device is UNLOCKED. Status code 3
Software Status: Modified
Connect USB Data Cable.
You can flash the stock in the same way without flashing those 2 lines, but the terminal lights up and goes straight to Fastboot. Any way to fix it ??
For example I reboot from the Android menu and start in fastboot and I have to press Star to start android.
The ADB commands
fastboot devices
**************
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
*****************
fastboot flash logo logo.bin
If you searched, you would know preflash validation errors mean your device has newer firmware then you are trying to flash. locked devices do no support​ downgrading, if you can't skip gpt.bin and bootloader.bin and get it booting, you're probably out of luck.

Categories

Resources