Hello,
I installed the new 6.0.1 Indian firmware on my Galaxy J500F, the option of adoptable storage is not available. I did some research and found a method by using a script, so I installed a terminal on my phone and did the following:
su ; root access
sm list-disks ; to see the name of my SD card
disk: 179,64 ; the result
sm set-force-adoptable true ; I tried to force adoptable storage
sm list-disks adoptable ; and now to see if sd card is now adoptable but without any result
sm partition disk:179,64 private ; I tried either way to format it from the terminal but also noting happen
Please some advice
NB: after ; is just to explaine.
Adoptable storage via ADB
I also face the same problem, nothing happens after performing the steps.
C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell
[email protected]:/ $ sm list-disks
disk:179,64
[email protected]:/ $ sm partition disk:179,64 private
[email protected]:/ $
mdayal2 said:
I also face the same problem, nothing happens after performing the steps.
C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell
[email protected]:/ $ sm list-disks
disk:179,64
[email protected]:/ $ sm partition disk:179,64 private
[email protected]:/ $
Click to expand...
Click to collapse
Try to use:
[email protected]:/ $ sm set-force-adoptable true
[email protected]:/ $ sm list-disks adoptable
And let me know the result please.
Don't forget to unlock OEM, just to be sure.
Ismaelbens said:
Try to use:
[email protected]:/ $ sm set-force-adoptable true
[email protected]:/ $ sm list-disks adoptable
And let me know the result please.
Don't forget to unlock OEM, just to be sure.
Click to expand...
Click to collapse
no think happen
arfaoui said:
no think happen
Click to expand...
Click to collapse
Same as me, it seems like we can't force the sd card to be adopable like in the samsung galaxy S7.
The result on a Samsung galaxy S7:
sm list-disks
disk:179,64
sm set-force-adoptable true
sm list-disks adoptable
disk:179,64 ; it show u that the SD card is now adoptable.
I read somewhere that in case of S7, options for adoptable storage was hidden from the UI. In J5, Samsung has removed the whole thing
How would it be possible to add these options on the J5? Do we need to copy some drivers or binaries from the J7?
adoptable storage
An app called Root essentials claims to enable adoptable storage in j5. Someone please try it..
updesh94 said:
An app called Root essentials claims to enable adoptable storage in j5. Someone please try it..
Click to expand...
Click to collapse
Not working ... Its the same principle as the script of galaxy s7.
Did enyone find a solution? I have de same problem .... i tryed both mashmallow versions .... the Indian version and the Portugal version.
anditheodor said:
Did enyone find a solution? I have de same problem .... i tryed both mashmallow versions .... the Indian version and the Portugal version.
Click to expand...
Click to collapse
Also Galaxy Labs works on s7 but not on j5. I think that the rom for j5 is based on galaxy note software. I found inside settings app new sections: Iris Scaner and S pen. That's why on s7 you still can enable it. Maybe on note it is not possible. That's my theory.
anditheodor said:
Did enyone find a solution? I have de same problem .... i tryed both mashmallow versions .... the Indian version and the Portugal version.
Click to expand...
Click to collapse
No solution yet to be found
Try using XInternalSD, Its an Xposed Module you can google it
Msanical said:
Try using XInternalSD, Its an Xposed Module you can google it
Click to expand...
Click to collapse
There is no way yet to install Xposed Framework on J5 MM rom.
Xposed for MM available
Ismaelbens said:
There is no way yet to install Xposed Framework on J5 MM rom.
Click to expand...
Click to collapse
http://forum.xda-developers.com/xposed/unofficial-xposed-samsung-lollipop-t3180960
It Works!
updesh94 said:
An app called Root essentials claims to enable adoptable storage in j5. Someone please try it..
Click to expand...
Click to collapse
Just downloaded this app, sadly it doesn't seem to work for me
Shadow152 said:
Just downloaded this app, sadly it doesn't seem to work for me
Click to expand...
Click to collapse
People don't waste time here. At the moment it is not possible to get adoptable storage in j5. Many people have tried different ways but all failed. Our only hope is a custom rom with this feature. In stock rom it is not possible.
i have gone through all this, ADB cmd lines, xposed framework, nothing works as of now. we need to wait i guess.
LONEWOLF#95 said:
i have gone through all this, ADB cmd lines, xposed framework, nothing works as of now. we need to wait i guess.
Click to expand...
Click to collapse
Indeed
no way around yet, still looking for someone to post a working trick
Related
hi guys
as you all know that some of the devices (i9300i) are hard bricked by flashing indian 4.4.4 so to unbrick we need a debrick.img which you guys can help us get by flashing this file https://copy.com/1ggUuyIqHUrF it will create a debrick.img into your sd card which you can upload and share
source http://forum.xda-developers.com/show....php?t=2439367
OR
Use this procedure to create the image
Enable USB Debugging.
Open cmd and navigate to your adb folder.
Run adb shell
Now type 'SU' to enable superuser, your may have to grant access to ADB from a popup screen of your phone's superuser app
next copy and paste the following code and change the phone model to your phone i.e. dd if=/dev/block/mmcblk0 of=/sdcard/debrickI710-16GB.img bs=1M count=128
dd if=/dev/block/mmcblk0 of=/sdcard/debrick[phonemodel-memorysize].img bs=1M count=128
6. Now type Exit on cmd and then use following the command to copy this image to your adb folder
adb pull /sdcard/debrick[phonemodel-memorysize].img
7. upload the image and share its link here.
[B]It will just take few minutes further you can compress the file (zip or rar) to reduce its size so that it can be upload easily.[/B]
Thanks in advance
:crying: i need it plz else my device will be useless
cmon guys it will not take more than 5 min plz help if it works ill make a thread about how to unbrick a hard bricked neo
I Hope it can helps you ...
I just run it on GT-i9300i ( Brazilian ) with Lastest HongKong 4.4.4 firmware + root and TWRP 2.7.0.1
Just tell me if you need anything else my friend.
PHP:
https://mega.co.nz/#!DVcSTA7R!0D0ah1pSaJzORvU95on2eyPxkE_866M2Ea0NmngPQX4
ygor.almeida said:
I Hope it can helps you ...
I just run it on GT-i9300i ( Brazilian ) with Lastest HongKong 4.4.4 firmware + root and TWRP 2.7.0.1
Just tell me if you need anything else my friend.
PHP:
https://mega.co.nz/#!DVcSTA7R!0D0ah1pSaJzORvU95on2eyPxkE_866M2Ea0NmngPQX4
Click to expand...
Click to collapse
thank u soooo much bro i just successfully un brick my device tomorrow i will make a thread again thanks for ur time and million thanks to u :laugh:
Hi, I've used your CWM script but it doesn't have created the ZIP file with the debrick image.
I've searched it on all memories (also the system folder) but nothing. I've a GTI9301I ITV Firmware UANI1
I've tried also the adb shell and when i type adb pull /sdcard/debrick[phonemodel-memorysize].img it show me no devices (but it's enabled and the phone receive correctly commands)
So I'll update randomly...
boot.img and recovery.img -> https://drive.google.com/file/d/0B5QYBzdG6RuyZy1TSHc2VDVhY2M/view?usp=sharing
temp root:
Code:
adb push root /data/local/tmp
adb push wpoff /data/local/tmp
adb push fbunlock /data/local/tmp
adb push recovery.img /data/local/tmp
adb push boot.img /data/local/tmp
adb shell
$ [COLOR="Red"]chmod 755 /data/local/tmp/root[/COLOR]
$ [COLOR="Red"]chmod 755 /data/local/tmp/wpoff[/COLOR]
$ [COLOR="Red"]chmod 755 /data/local/tmp/fbunlock[/COLOR]
$ /data/local/tmp/root
...
#
defeat WP:
Code:
# /data/local/tmp/wpoff --unprotect-all
check WP status(optional):
Code:
# /data/local/tmp/wpoff --dump
If you see it's all zeroes there it means good, or if there are many 5555 it means NG.
unlock bootloader:
Code:
# /data/local/tmp/fbunlock
install TWRP and patched boot:
Code:
# dd if=/data/local/tmp/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
# dd if=/data/local/tmp/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/boot
install SuperSU:
Code:
FLASH SUPERSU LIKE OLD DAYS
Why patch boot?
Cos MIYABI stops ptrace, some apps depends on it won't work properly.
Chinese here:
禁止转载到国内论坛,禁止用于商业用途。日版不会有的。
Note:
a. Remember to rename recovery.00X.zip to recovery.zip.00X before unzipping!
b. If you don't flash boot.img before install SuperSU, you will end up in boot loop. To restore, delete /system/xbin/daemonsu.
Attachments will be uploaded soon.
Hi tewilove, many thanks for publishing this. Amazing work! And a big time saver
tewilove tnx allot !!
hey some one know how can i put su inside in system and then to use SuperSU ?
thank you a lot
thanks but i can not use root app and super su can not install bin su
thank you for your help
tewilove said:
Tested with a 306SH with SW version S4081.
How to:
https://youtu.be/UJs7ruckGgc
This is v1, since the shell code has to be improved yet(WIP).
It only obtains temp root with kernel context. The left things are changing to init context, disable mmc_protect_part, disable miyabi LSM.
There might be v2, which solves all above, if I have time.
And it also works with many other devices.
For example, 305SH, MI4C, SH-01G.
If it keeps crashing, it should be my hard coded offsets.
PS: Please don't reshare this thread.
PS: Chinese: 请不要转载到贴吧,论坛,谢谢。
Click to expand...
Click to collapse
thank you for your help 谢谢某因幡分享
Please I'd like to know how you did that.could you be more clear, a step by step maybe?
Sent from my D6616 using XDA Free mobile app
salmanaman said:
Please I'd like to know how you did that.could you be more clear, a step by step maybe?
Sent from my D6616 using XDA Free mobile app
Click to expand...
Click to collapse
you can watch the video that tewilove make for us .. but we need to wait when some one unlock protect bcs after you restart phone root will disappear..
tewilove said:
Tested with a 306SH with SW version S4081.
Click to expand...
Click to collapse
How can I know that I got the temporary root? Is this step in the input ID?
all step working on my 305sh like youtube video but supersu not working and root checker say me no rooted
soudara said:
all step working on my 305sh like youtube video but supersu not working and root checker say me no rooted
Click to expand...
Click to collapse
yes we know about this .. i try to remount system ( with this command : busybox mount -o remount,rw /system) to get permission but my device is restart when i try .. maybe its from this write protection that @tewilove tell us .. if he can tell us how we can install su in system if its possible for now .. ?
ok so for the moment is useless ?
soudara said:
all step working on my 305sh like youtube video but supersu not working and root checker say me no rooted
Click to expand...
Click to collapse
me too?maybe just kernel root??
---------- Post added at 12:48 PM ---------- Previous post was at 12:31 PM ----------
loonbg said:
yes we know about this .. i try to remount system ( with this command : busybox mount -o remount,rw /system) to get permission but my device is restart when i try .. maybe its from this write protection that tewilove tell us .. if he can tell us how we can install su in system if its possible for now .. ?
Click to expand...
Click to collapse
yea?rootxplore and xposed said no root?
I don't think that folks are understanding what "temp" root means. This solution allows you to achieve root for the current shell session. This does not install the additional binaries to allow other applications to use root access.
With that being said, I am wondering if we can use this temporary elevated access to correct the vulnerability outlined in CVE-2015-1474 affecting /system/lib/libui.so that Sharp has neglected to address in previous OTA updates. The only "corrected" libui.so that I have been able to locate was compiled for v5.0.1 so I am afraid that file would not be compatible with this earlier version of Android on the 306SH. I am not really savvy with in depth programming to be able to fully investigate this and develop a viable solution... anyone who would be able to point me in the right direction would receive many thanks. :banghead:
My apologies if this should have been posted in a separate thread.
awesom! it worked in my 306sh with root permission acquired in shell.
can you use root app and install super su ?
Write protection is keeping us from remounting /system as rw. This prevents us from doing anything that would have any type of impact on the current situation. I want to experiment with attempting to mount partitions with the device powered off... but my device is encrypted so I am unable to access the shell with device off until I perform a factory reset. I am planning on doing that tonight so hopefully I will be able to report back with more information soon.
Sent from my 306SH
soudara said:
can you use root app and install super su ?
Click to expand...
Click to collapse
No. We are working on it though.
On another note, I can't get this temp root to work.
Video of what happens is linked. (too large to attach)
https://mega.co.nz/#!blNTjbhS!p2ljioY_43xlWkpu3EWpj8LvfMVP5eushZT23KLPASk
TechInMD said:
Write protection is keeping us from remounting /system as rw.
Click to expand...
Click to collapse
So I assume, from the quoted text, you have tried mounting /system as rw while in the temp root shell session?
Yes. I tried using the mount command both directly from the root shell prompt plus I tried using busybox to mount also. There seem to be slight variations between them. Also, not sure if it is relevant but I attempted it both through adb and in terminal on the device. I can get to the root prompt but not further.
Sent from my 306SH
Firstly I'd like to thank you for this best forum.
My problem is that when I run the terminal as super user it's can't read sdcard it's give me nothing .
This is the commands
===========================
[email protected]:/ $ su
[email protected]:/ # cd sdcard
[email protected]:/sdcard # ls
[email protected]:/sdcard #
===========================
But without running as super user give me
===========================
[email protected]:/ $ cd sdcard
[email protected]:/sdcard $ ls
Alarms
Android
Application
DCIM
Documents
Download
INDI
Movies
Music
Notifications
Pictures
Podcasts
Ringtones
SMemo
SecretBox
ShareShot
Subtitles
UCDownloads
WhatsApp
comquoordtapatalkxdapreactivity
data
media
viber
[email protected]:/sdcard $
=============================
I've rooted my phone with CF-Auto-Root-Chainfire
Please what is the solution.
Thanks again.
just uncheck "mount namespace separation " on supersu app
Hi,
Superuser access on Terminal isn't useful for directory listing, as the function is mostly related to system functions.
Sent from my GT-I9500
What exactly do you want to do? And maybe some one can point you in the right direction.
krasCGQ said:
Hi,
Superuser access on Terminal isn't useful for directory listing, as the function is mostly related to system functions.
Sent from my GT-I9500
Click to expand...
Click to collapse
Thanks.
How I can make it access?
GDReaper said:
What exactly do you want to do? And maybe some one can point you in the right direction.
Click to expand...
Click to collapse
I just wanted to boot backtrack.
Have you installed BusyBox?
Mandark52 said:
Have you installed BusyBox?
Click to expand...
Click to collapse
Yes , I have .
ABSLHM said:
Firstly I'd like to thank you for this best forum.
My problem is that when I run the terminal as super user it's can't read sdcard it's give me nothing .
This is the commands
===========================
[email protected]:/ $ su
[email protected]:/ # cd sdcard
[email protected]:/sdcard # ls
[email protected]:/sdcard #
===========================
But without running as super user give me
===========================
[email protected]:/ $ cd sdcard
[email protected]:/sdcard $ ls
Alarms
Android
Application
DCIM
Documents
Download
INDI
Movies
Music
Notifications
Pictures
Podcasts
Ringtones
SMemo
SecretBox
ShareShot
Subtitles
UCDownloads
WhatsApp
comquoordtapatalkxdapreactivity
data
media
viber
[email protected]:/sdcard $
=============================
I've rooted my phone with CF-Auto-Root-Chainfire
Please what is the solution.
Thanks again.
Click to expand...
Click to collapse
On most devices, the SDCard is either mounted or at least linked to either /mnt/sdcard or /sdcard. However, when the device features both, an internal and external SDCard, the latter usually is to be found "inside" the former, e.g. at /sdcard/external_sd. Alternatively, it may be mounted at /mnt/extSdCard or /storage/extSdCard. Note the capitals. Android filenames are case-sensitive.
I think you just tried the wrong path. You can use a file explorer to easily find the correct path.
Lennyz1988 said:
On most devices, the SDCard is either mounted or at least linked to either /mnt/sdcard or /sdcard. However, when the device features both, an internal and external SDCard, the latter usually is to be found "inside" the former, e.g. at /sdcard/external_sd. Alternatively, it may be mounted at /mnt/extSdCard or /storage/extSdCard. Note the capitals. Android filenames are case-sensitive.
I think you just tried the wrong path. You can use a file explorer to easily find the correct path.
Click to expand...
Click to collapse
I tried
/sdcard and /mnt/sdcard
But this one just work...why
/storage/emulated/0
Try this:
cd /storage/extSdCard
Mandark52 said:
Try this:
cd /storage/extSdCard
Click to expand...
Click to collapse
It's work
ABSLHM said:
It's work
Click to expand...
Click to collapse
Glad it worked
Mandark52 said:
Glad it worked
Click to expand...
Click to collapse
But it's the memory card I wanna the phone memory
ABSLHM said:
But it's the memory card I wanna the phone memory
Click to expand...
Click to collapse
Then you are mixing things up because /sdcard is the phone memory.
ABSLHM said:
But it's the memory card I wanna the phone memory
Click to expand...
Click to collapse
For phone memory : cd /storage/emulated/0
Mandark52 said:
For phone memory : cd /storage/emulated/0
Click to expand...
Click to collapse
I know that ? but how I can make it
/sdcard
ABSLHM said:
I know that ? but how I can make it
/sdcard
Click to expand...
Click to collapse
Why do you want to make it as /sdcard? Your apps will crash because of it. May be I could help you with if you tell about it.
All the best!
Mandark52 said:
Why do you want to make it as /sdcard? Your apps will crash because of it. May be I could help you with if you tell about it.
All the best!
Click to expand...
Click to collapse
Ok.... thank you a lot. ?
Mandark52 said:
Why do you want to make it as /sdcard? Your apps will crash because of it. May be I could help you with if you tell about it.
All the best!
Click to expand...
Click to collapse
Why it's crash....I saw some videos on YouTube it's work with /sdcard
Sorry for my a lot questions?
ABSLHM said:
Why it's crash....I saw some videos on YouTube it's work with /sdcard
Sorry for my a lot questions?
Click to expand...
Click to collapse
Its ok you may ask many questions in a thread. I just want to know that why do you want to change the /emulated/0 to /sdcard.
Anybody tried it yet? On a 64 or 128 what exactly did you type for commands?
http://www.techtimes.com/articles/1...xy-s7-s7-edge-without-rooting-your-device.htm
Sent from my SM-G930V using Tapatalk
http://www.modaco.com/news/android...-adoptable-storage-on-your-s7-s7-edge-r1632/
This goes into detail of the commands.
I am stuck. I opened my adb folder and opened a command prompt there which opened in abd shell, but when I type sm list-disks it tells me sm is not recognizable command. What am I doing wrong?
alexpoe said:
I am stuck. I opened my adb folder and opened a command prompt there which opened in abd shell, but when I type sm list-disks it tells me sm is not recognizable command. What am I doing wrong?
Click to expand...
Click to collapse
you actually have to type adb shell. so the command will like this "adb shell sm list-disks" without the quotes.
Thank you, I got it to work by installing adb setup and then opened it and it worked. I just don't like the, way after doing it, my pc wont see the extended space so I can move my sd card backup files back to it.
Can someone please help with this? I'd like to know too. Been looking for a way to do this.
Thanks guyz!
adb procedures
HI, I am new to the forum and may need direction on procedure.
I just followed the instructions on adoptable storage and all of the commands in adb seemed to work. (i.e. adb shell > sm list-disks > sm partition disk179,0 private)
all commands seemed to work however after the last keystroke of "enter" there was no delay and the command prompt moved to the next line and I discovered no change in the memory of the phone with it's sd card. Any ideas?
AC7MF said:
HI, I am new to the forum and may need direction on procedure.
I just followed the instructions on adoptable storage and all of the commands in adb seemed to work. (i.e. adb shell > sm list-disks > sm partition disk179,0 private)
all commands seemed to work however after the last keystroke of "enter" there was no delay and the command prompt moved to the next line and I discovered no change in the memory of the phone with it's sd card. Any ideas?
Click to expand...
Click to collapse
Follow this post on MM.
https://forum.xda-developers.com/showpost.php?p=65612993&postcount=41
I'm not sure if the commands will work on Nougat. But will persist from an update from MM to N.
adb procedures
JediDru said:
Follow this post on MM.
https://forum.xda-developers.com/showpost.php?p=65612993&postcount=41
I'm not sure if the commands will work on Nougat. But will persist from an update from MM to N.
Click to expand...
Click to collapse
I appreciate the reply on such and old thread.
Hello everyone, first thanks for all the help, i'm new in here but the people is awesome:good:
My problem with my J5 Sm-j500m (root with CF-Auto-Root, android 6.0.1, firmware from sammobile ) is this: i have tried to setup my sd card as adoptable storage with two methods and i have failed.
1) Adb shell
i installed android sdk windows and run the comand window with the comands "adb devices"
and i get this:
List of devices attached
5806d690 device
So next, i do: "adb shell sm list-disks adoptable"
and i always get this: CANNOT LINK EXECUTABLE: cannot locate symbol "_ZN7android14AndroidRuntime5startEPKcRKNS_6VectorINS_7String8EEE" referenced by "app_process"...
i've tried "adb shell sm set-force-adoptable true" and other with the same luck, so no solution here.
2) i download root essencials and i tried without luck, it says "insert sd card" and the sd is already in the phone i tried with other sd and the same happened.
Does Anyone know how to do it? on a J500M? i see this http://forum.xda-developers.com/galaxy-j5/how-to/finally-adoptable-storage-j500fmm-t3470225 and this http://forum.xda-developers.com/galaxy-j5/themes/galaxy-j5-adaptable-storage-6-0-1-t3470020 both options says i have to Flash a zip with TWRP and its done but i don't know how can i do that, because i don't have TWRP. also its not specific to SM-J500M.
Thanks for the help:good::good:
tryser said:
Hello everyone, first thanks for all the help, i'm new in here but the people is awesome:good:
My problem with my J5 Sm-j500m (root with CF-Auto-Root, android 6.0.1, firmware from sammobile ) is this: i have tried to setup my sd card as adoptable storage with two methods and i have failed.
1) Adb shell
i installed android sdk windows and run the comand window with the comands "adb devices"
and i get this:
List of devices attached
5806d690 device
So next, i do: "adb shell sm list-disks adoptable"
and i always get this: CANNOT LINK EXECUTABLE: cannot locate symbol "_ZN7android14AndroidRuntime5startEPKcRKNS_6VectorINS_7String8EEE" referenced by "app_process"...
i've tried "adb shell sm set-force-adoptable true" and other with the same luck, so no solution here.
2) i download root essencials and i tried without luck, it says "insert sd card" and the sd is already in the phone i tried with other sd and the same happened.
Does Anyone know how to do it? on a J500M? i see this http://forum.xda-developers.com/galaxy-j5/how-to/finally-adoptable-storage-j500fmm-t3470225 and this http://forum.xda-developers.com/galaxy-j5/themes/galaxy-j5-adaptable-storage-6-0-1-t3470020 both options says i have to Flash a zip with TWRP and its done but i don't know how can i do that, because i don't have TWRP. also its not specific to SM-J500M.
Thanks for the help:good::good:
Click to expand...
Click to collapse
Look in the other bit of the forums. Guides - news
There are a couple of new threads on adaptable storage. Not sure if it's your device but worth a look.
Good luck
Sent from my Galaxy J5 using XDA Labs