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

wasim74

Senior Member
Jul 4, 2014
76
3
0
help please: nexus 5 unknown baseband, no imei, no network

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
I have nexus 5 when I flashed lollipop 5.0 the phone stock on boot loop and never pass I used fast boot manually flashed /cmd/ So I downgrade to kitkat 4.4 and right now I have unknown baseband no imei no signal,, camera stopped working, play store stopped working, hangouts stopped working,, I flashed too many times the stock Google images without any luck and I did factory reset, wipe cache partition but same issue still I believe the problem it's on the internal storage,, So I don't know What I have to do,, should I format the internal storage ???? please anybody here who can help me and guide me step by step What should I have to do I will appreciate and thank you
 

bitdomo

Senior Member
Nov 3, 2011
1,542
1,240
0
28
Göd
I have nexus 5 when I flashed lollipop 5.0 the phone stock on boot loop and never pass I used fast boot manually flashed /cmd/ So I downgrade to kitkat 4.4 and right now I have unknown baseband no imei no signal,, camera stopped working, play store stopped working, hangouts stopped working,, I flashed too many times the stock Google images without any luck and I did factory reset, wipe cache partition but same issue still I believe the problem it's on the internal storage,, So I don't know What I have to do,, should I format the internal storage ???? please anybody here who can help me and guide me step by step What should I have to do I will appreciate and thank you
Read the OP :D
There is your guide
 

wasim74

Senior Member
Jul 4, 2014
76
3
0
that's all in OP :
sorry did you check the pics which i posted already : which it says :

C:\android-sdk\platform-tools>adb shell
~ # e2fsck /dev/block/platform/msm_sdcc.1/by-name/persist
e2fsck /dev/block/platform/msm_sdcc.1/by-name/persist
e2fsck 1.41.14 (22-Dec-2010)
Superblock has an invalid journal (inode 8).
Clear<y>?
so should i hit enter on cmd ???? any help i will be appreciated and thanks
 

wasim74

Senior Member
Jul 4, 2014
76
3
0
nexus 5 *no baseband*no imei*no signal* solved

yes, just press enter
HOW I FIXED IT ::good:
1- DOWNLOAD ANDROID -SDK
2-ADB COMMAND ( I USED WINDOWS 7 )
3-FLASHED PHILZ TOUCH RECOVERY ,,, TWRP RECOVERY IT WASN'T HELP ME
4- ROOTED DEVICE
5-I OPENED CMD
6-HIT : adb shell / PRESS ENTER/
7-e2fsck /dev/block/platform/msm_sdcc.1/by-name/userdata /PRESS ENTER/
8- KEEP PRESS ENTER UNTIL ITS FINISHED DONE
I FIXED MY NEXUS 5 LIKE THAT
******* VERY BIG THANKS TO THE GENIUS *** bitdomo *** WHO'S MADE THIS THREAD
******* VERY BIG THANKS TO THE AWESOME **** *** rootSU *******
******* VERY BIG THANKS TO THE ******** ROLF2 *********
THANK YOU GUYS BECAUSE OF YOU MY NEXUS 5 BACK TO LIFE I REALLY APPRECIATED
 

MushyMan

Senior Member
Jan 17, 2009
70
14
0
Cape Town
When i type in this command:
e2fsck /dev/block/platform/msm_sdcc.1/by-name/persist

I get a reply that file is in use cannot continue, aborting.

I've tried switching off wifi and turning on airplane mode., and same thing happens.

Also. can this be done with CWM? I know TWRP and Phils is mentioned on the first page was just wondering cause I was thinking of changing to CWM for other related issues.
 
Last edited:

deepak21

Senior Member
Aug 14, 2010
200
23
0
Jaipur
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.
I don't know why .. but this is not working for me!! Any suggestions?