Cyngn, OnePlus, Micromax – The Legal Battle

Recently, a battle has been waging in India over the rights to distribute the commercial … more

Lean Mean Battery Power Saving App Review

We talk a lot about battery topics here at XDA TV. We talk about everything from Power Banks to USB … more

Android 5.1 Possibly Coming February 2015

Google released Android 5.0 just over a month ago, and since then Lollipop has been trying to … more

Double Tap to Wake on the Nexus 6 Without Root

A few weeks ago, we featured an app which allowed the Nexus 6 to regain the double tap to wake … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[SOLUTION] Get Rid Of No SD CARD In Lollipop D855 32GB TESTED

OP nkos719

12th November 2014, 03:15 PM   |  #1  
OP Senior Member
Flag Katerini
Thanks Meter: 18
 
219 posts
Join Date:Joined: May 2010
More
Hey guys i had a problem on rooted lollipop and after @motomoto00 's research i tried this and this worked:
On ADB or Terminal Emulator type the following:
#su
#restorecon -v -R /data/media

Here is the log:
Code:
u0_a118@g3:/ $ su
root@g3:/ # restorecon -v -R /data/media
SELinux: Loaded file_contexts from /file_contexts
SELinux:  Relabeling /data/media from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/obb from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Download from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.SELinux:  Relabeling /data/media/0/Android/data/.nomedia from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.google.android.apps.magazines from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.google.android.apps.magazines/cache from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.google.android.apps.magazines/files from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/7386621762 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/7386621836 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/7386622115 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/7386622207 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/7386622241 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/7386622377 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/7386622414 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/7386622459 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/7386622725 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/7386622786 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/7386622854 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/7386622921 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/7386623140 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743150624 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743150752 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743150870 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743150978 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743151131 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743151261 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743151340 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743151425 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743151741 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743151832 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743151892 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743152059 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743152127 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743152233 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743152317 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743152361 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743152433 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743152564 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743152600 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743152803 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743152986 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743153103 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743153335 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743153438 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743153531 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.providers.media/albumthumbs/1415743153639 from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.google.android.videos from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.google.android.videos/files from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.google.android.videos/files/Movies from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.google.android.youtube from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.google.android.youtube/cache from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.google.android.music from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.google.android.music/cache from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.google.android.music/files from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.google.android.music/files/._playmusicid from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.browser from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.android.browser/files from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.google.android.apps.maps from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0/Android/data/com.google.android.apps.maps/testdata from u:object_r:system_data_file:s0 to u:object_r:media_rw_data_file:s0.
SELinux:  Relabeling /data/media/0
Thats the way i got rid of it.
Credits go to @motomoto00
Last edited by nkos719; 14th November 2014 at 12:16 AM.
The Following User Says Thank You to nkos719 For This Useful Post: [ View ]
13th November 2014, 10:18 PM   |  #2  
shaarky's Avatar
Senior Member
Thanks Meter: 306
 
846 posts
Join Date:Joined: Dec 2007
You have a error there I guess, correct should be :
Code:
#su
#restorecon -v -R /data/media
(space between "restorec" and "on")
14th November 2014, 12:16 AM   |  #3  
OP Senior Member
Flag Katerini
Thanks Meter: 18
 
219 posts
Join Date:Joined: May 2010
More
Quote:
Originally Posted by shaarky

You have a error there I guess, correct should be :

Code:
#su
#restorecon -v -R /data/media
(space between "restorec" and "on")

yes thank you for correcting it.
9th December 2014, 02:51 PM   |  #4  
Senior Member
Flag Limburg
Thanks Meter: 5
 
177 posts
Join Date:Joined: Aug 2008
More
thanks, you're a hero
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes