FORUMS

XDA Recap: This Week In Android (May 17 – 23)

Another week, another recap. The Sunday tradition marches on this week with a fresh … more

Huawei To Sell Honor Smartphones Via Indian Retail Outlets

World’s fourth largest smartphone maker Huawei plans to now sell its … more

Sunday Debate: Are Smaller Bezels Better or Worth It?

Bezels have been getting smaller and smaller as the years go by, and while devices … more

LG G4 First Impressions and Unboxing – XDA TV

The latest in LG’s signature line of “G phones” has been released. … more
Post Reply Subscribe to Thread Email Thread

[GUIDE] to fix persist partition

14th May 2015, 10:49 PM |#51  
Senior Member
Thanks Meter: 94
 
More
Quote:
Originally Posted by wasim74

i tried again my friend check the other pic which i posted too and tell me please what i have to do and thanks

that's all in OP :

Quote:

You should be prompted to repair or fix errors. Keep pressing enter until the process finishes

 
 
14th May 2015, 11:00 PM |#52  
Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by RolF2

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
14th May 2015, 11:03 PM |#53  
Senior Member
Thanks Meter: 94
 
More
yes, just press enter
The Following User Says Thank You to RolF2 For This Useful Post: [ View ]
15th May 2015, 02:56 AM |#54  
Member
Thanks Meter: 1
 
More
nexus 5 *no baseband*no imei*no signal* solved
Quote:
Originally Posted by RolF2

yes, just press enter

HOW I FIXED IT :
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
The Following User Says Thank You to wasim74 For This Useful Post: [ View ]
15th May 2015, 08:48 AM |#55  
Senior Member
Thanks Meter: 94
 
More
Quote:

7-e2fsck /dev/block/platform/msm_sdcc.1/by-name/userdata

/userdata or /persist ?
15th May 2015, 10:14 PM |#56  
MushyMan's Avatar
Member
Thanks Meter: 13
 
More
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 by MushyMan; 15th May 2015 at 10:25 PM.
17th May 2015, 11:05 PM |#57  
Junior Member
Flag Hyderabad
Thanks Meter: 0
 
Donate to Me
More
Quote:
Originally Posted by bitdomo

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?
18th May 2015, 10:20 AM |#58  
OP Senior Member
Flag Göd
Thanks Meter: 898
 
More
Quote:
Originally Posted by deepak21

I don't know why .. but this is not working for me!! Any suggestions?

Which part of "this" not working for you?
18th May 2015, 06:19 PM |#59  
Junior Member
Flag Hyderabad
Thanks Meter: 0
 
Donate to Me
More
Quote:
Originally Posted by bitdomo

Which part of "this" not working for you?

I complete the basic preparations... and use the command adb shell... till then everything works.. but nothing happens when I use this command:
e2fsck /dev/block/platform/msm_sdcc.1/by-name/persist

I don't get any error prompts!!
Post Reply Subscribe to Thread

Tags
baseband unknow, error mounting /persist, no imei, no signal, persist
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes