Adoptable Storage - Verizon Samsung Galaxy S7 Questions & Answers

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.

Related

How to push files through ADB

Prerequisites have...
A:android-sdk-windows installed
B: (on your phone) go to menu>settings>applications>developement and make sure usb debugging is checked.
C: the file you are pushing must be placed in the tools folder of adb so if you are pushing file "build.prop.txt" this needs to be downloaded/copy and pasted in C:\android-sdk-windows\tools
1: go to run and type cmd (or just open your command prompt)
2: cd C:\android-sdk-windows\tools
3: adb remount
4: adb devices *if everything is set up right this should output a serial number*
5: adb push FFFFFFF.FFF /#####/###### *i hope my notes help here you need to put the file name in for the F(s) and in the pound signs you put the destination on the devices example adb push build.prop.txt /system/bin
6. repeat step 3 for multiple files
7. adb reboot this is how you finish
usadevil7193 said:
hi mate...i m new to android..i own a nexus1..hav rooted without unlockin d bootloader..i am tryin to push d track ball to wake mod...evry time i type adb remount it says permission denied..any ideas to get things workin...???????
Click to expand...
Click to collapse
Welcome to XDA and Android! Are you trying to get help for your Nexus One? This forum here is specifically for the HTC Hero CDMA.
You will probably find better and more specific help in the Nexus One forums which are here: http://forum.xda-developers.com/forumdisplay.php?f=556
Great post, very easy to follow, thank you.
yea I'm trying to do this, over and over, but with not luck. i have sdk on my pc and im running the cmd prompt to run adb remount & devices and its not picking up the phone, wth is going on, plz help
this also works for the samsung Galaxy S in recovery mode.
mikeybonez28 said:
yea I'm trying to do this, over and over, but with not luck. i have sdk on my pc and im running the cmd prompt to run adb remount & devices and its not picking up the phone, wth is going on, plz help
Click to expand...
Click to collapse
mine shows up but then says error, device offline
hi, i have adb recognizing my phone, but i still can't seem to push the files over.... every time i try, i get 'cannot stat 'su' : No such file or directory'. i have made sure over and over to put the files in the same folder where adb is.... actually i have tried placing the files in the tools folder, as well as the platform-tools folder, and i keep getting that error when i try to push anything.
any suggestions? thx
yogi2010 said:
hi, i have adb recognizing my phone, but i still can't seem to push the files over.... every time i try, i get 'cannot stat 'su' : No such file or directory'. i have made sure over and over to put the files in the same folder where adb is.... actually i have tried placing the files in the tools folder, as well as the platform-tools folder, and i keep getting that error when i try to push anything.
any suggestions? thx
Click to expand...
Click to collapse
i had the same issue with something i was trying to push. I think you need to make sure you have exactly the same file name like caps and all. i was trying to push rootexplorer.apk and i got the same message but i then changed it to RootExplorer.apk and it work.(notice the difference in caps)
just watch this and it'll explain everything.
http://www.youtube.com/xdadevelopers
Does it matter where sdk is installed my file path is
C:\Program Files\Android\android-sdk\tools
instead of
C:\android-sdk-windows\tools.
I just installed it in the default location.
I type adb remount and get the not recognised command.....
Thanks.
I don't think my phone is being picked up?
{LCD}Stelios said:
Does it matter where sdk is installed my file path is
C:\Program Files\Android\android-sdk\tools
instead of
C:\android-sdk-windows\tools.
I just installed it in the default location.
I type adb remount and get the not recognised command.....
Thanks.
I don't think my phone is being picked up?
Click to expand...
Click to collapse
Make sure your have the drivers for your phone installed first of all.....Then, in your command prompt you have to change directories to the sdk (which you made harder by not installing to C:\
Try: cd Program Files\Android\android-sdk\tools
Then type: adb devices
That should return "xxxxxxdevice" connected....Then you know you have it set up.
Look in kyouko sig he has all the commands for adb
Sent from my HERO200 using XDA App
Bierce22 said:
just watch this and it'll explain everything.
http://www.youtube.com/xdadevelopers
Click to expand...
Click to collapse
great video arse....thanks for the help donkey
Flashing fresh ROM via ADB in Linux
Hello there.
M volumeUp and VolumeDown buttons are broken on my rooted Desire HD, so I cannot go through CWM any longer.
With regard to this post, I would ask the followings:
1) can this method be used to flash a new ROM (i.e. Coredroid, Leedroid..) without the need of those 2 buttons ?
2) My PC runs Linux. How does it work with this O.S. ?
Thanks
paolo
pacut said:
Hello there.
M volumeUp and VolumeDown buttons are broken on my rooted Desire HD, so I cannot go through CWM any longer.
With regard to this post, I would ask the followings:
1) can this method be used to flash a new ROM (i.e. Coredroid, Leedroid..) without the need of those 2 buttons ?
2) My PC runs Linux. How does it work with this O.S. ?
Thanks
paolo
Click to expand...
Click to collapse
There is a thread somewhere on how to flash without a SD card and flashed using adb I believe, but don't take my word for it. Adb works fine with Linux, just have to set it up differently. Look in my sig and select the compile aosp on Ubuntu one and follow instructions on getting the USB set up.
Sent from Dorian's HTC Hero CDMA
Yes, I saw it. It's http://forum.xda-developers.com/showthread.php?t=911228
The fact is...still have to navigate through menu via VolumeUp/volumeDown buttons
Maybe through ROM manager, premium, I can install ROM direclty.
I am gonna trying
YES ! It works !
Hi I need help. I accidentally wipped my phone in CWM and now I'm trying to use adb push to push the update.zip into my phone sd everything seems to work but then in CMW it says there are no files..
any suggestions?
[Edit]
nevermind
I kept trying different locations
not sure which one did the trick but I'll list the one's I tried
so \update.zip /sdcard/
.... /sdcard/update.zip
(note I put "/update.zip" thinking maybe it needed to be reallocated to the same file/destination
Can i use adb push *.apk /system/app to push several files at once, and then repeat but using *.odex instead of *.apk? I keep ending up getting the same error, and i want to find out which app is messing with me...
rulermon said:
Prerequisites have...
A:android-sdk-windows installed
B: (on your phone) go to menu>settings>applications>developement and make sure usb debugging is checked.
C: the file you are pushing must be placed in the tools folder of adb so if you are pushing file "build.prop.txt" this needs to be downloaded/copy and pasted in C:\android-sdk-windows\tools
1: go to run and type cmd (or just open your command prompt)
2: cd C:\android-sdk-windows\tools
3: adb remount
4: adb devices *if everything is set up right this should output a serial number*
5: adb push FFFFFFF.FFF /#####/###### *i hope my notes help here you need to put the file name in for the F(s) and in the pound signs you put the destination on the devices example adb push build.prop.txt /system/bin
6. repeat step 3 for multiple files
7. adb reboot this is how you finish
Click to expand...
Click to collapse
Hey guys ...
I have also rooted my phone , everything was OK until one day i tried to write something to /system/app and i recieve this error:
in Addition , i am writing "adb shell" and it shows me $
if i am doing adb shell --> $ --> su --> it shows #
Can some1 knows what is the problem?

Having trouble rooting on Windows 7 64bit

I am having a bit of difficulty rooting my g2. I am not sure if its related to my os or not but i can not get it to work.
I have followed this and tried it all kinds of different ways.
addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android/[/url]
I can get to my run command after doing all of that and it shows my serial number after typing adb devices but after that i can't enter any info in the sdk run command promt.
I have not been able to gain temp root yet because it won't let me enter the commands. I went to try to re-install java/sdk manager yet again and now it says java is not in the right path.
Any help?
If you're having troubles with ADB, why use it? You don't need ADB anymore to root the G2. It can all be done by placing the files on the SD card and running Terminal Emulator on the phone. You can run any of the prompts from ADB in the phone instead. I rooted my first G2 this way. It took some getting used to coming from a phone with a 1-click root, but it wasn't hard.
Check the Wiki, pretty sure it outlines this method as well.
martonikaj said:
If you're having troubles with ADB, why use it? You don't need ADB anymore to root the G2. It can all be done by placing the files on the SD card and running Terminal Emulator on the phone. You can run any of the prompts from ADB in the phone instead. I rooted my first G2 this way. It took some getting used to coming from a phone with a 1-click root, but it wasn't hard.
Check the Wiki, pretty sure it outlines this method as well.
Click to expand...
Click to collapse
Do you have a link for that method i would be glad to try it but i am not sure what to search for, cant find it under rooting g2 with sd card
Also i am trying to gain permanent root if possible
901-Memphis said:
Do you have a link for that method i would be glad to try it but i am not sure what to search for, cant find it under rooting g2 with sd card
Also i am trying to gain permanent root if possible
Click to expand...
Click to collapse
Yep let me grab a link for you (theres actually a video tutorial I wanna try and find). But basically instead of using ADB to push the files to the correct location, you just have to manually put the files in the right locations on the SDcard, which is where ADB pushes them anyways.
K so I followed this method: http://www.youtube.com/watch?v=tU9zn_BEth4
The files he refers to are in this thread: http://forum.xda-developers.com/showthread.php?t=833965
Now different people have had different issues with this. I personally had some issues where it tells you to run #sync, because my perm root wouldn't stick properly after reboot. If this doesn't work properly, I'm sure someone can help you with your drivers to get ADB working.
I should also say that you don't necessarily have to do this method with the initial temp root via visionary, you can simply do the one outlined in the Wiki for rooting (aka http://forum.xda-developers.com/showthread.php?t=834228 ), but just place the files manually and run the commands in terminal emulator.
If you got the adb devices command to work you are actually in good shape. You are supposed to enter all of the commands from what you are calling the "run command" prompt anyway (the one you used for adb devices).
martonikaj said:
I should also say that you don't necessarily have to do this method with the initial temp root via visionary, you can simply do the one outlined in the Wiki for rooting (aka http://forum.xda-developers.com/showthread.php?t=834228 ), but just place the files manually and run the commands in terminal emulator.
Click to expand...
Click to collapse
Unfortunately this won't work (if you don't want to use ADB, Visionary must be used to get temp root). ADB is needed in order to push the files directly to the phone. If you try copying the files to the SD card first, you won't have the correct permissions to copy the files to the phone in Terminal. You are also not allowed to execute programs directly from the SD card (mounted as noexec), so you can't try to obtain temp root from there. If you want to use the gfree method of rooting without using ADB, I made a guide using Visionary for the temp root here: http://forum.xda-developers.com/showthread.php?t=928160.
But the OP actually has ADB working, so he should be able to use any of the guides.
This is the error i get now if i try to enter anything in the sdk manager run prompt box. Is there some place else i should be entering the commands?
Uploaded with ImageShack.us
901-Memphis said:
This is the error i get now if i try to enter anything in the sdk manager run prompt box. Is there some place else i should be entering the commands?
Click to expand...
Click to collapse
You are supposed to be using the regular command prompt (I think you referred to it as the "run command prompt" earlier). It is the prompt in which you successfully ran the "adb devices" command. That is the only prompt you need to use.
Do i enter commands 1 at a time or all at once?
901-Memphis said:
Do i enter commands 1 at a time or all at once?
Click to expand...
Click to collapse
First off, Yes you enter each line as you see it.
Second just to make sure you are in the right area to enter these commands, to get to command prompt you can either search for it from the start menu or hold the "windows button + R".
That opens your run command from there type in "cmd" and that opens command prompt.
Next make sure your current directory is the one you installed adb into. To get to that you can type "cd C:/...... whatever folder you installed it to."
To make sure my adb is working I usually type "adb devices" and see if my phone shows up.
Good luck
Glad to see someone else from the good ole 901 around here =)
Sent from my HTC Vision using XDA App
Okay does anyone have a better guide to rooting?
I got all the way to pushing all the files on the sd card and running the terminal emulator where it shows forked children, reboots the terminal emulator and then i can not enter /data/local/gfree -f
sync
It wont find that file
901-Memphis said:
Okay does anyone have a better guide to rooting?
I got all the way to pushing all the files on the sd card and running the terminal emulator where it shows forked children, reboots the terminal emulator and then i can not enter /data/local/gfree -f
sync
It wont find that file
Click to expand...
Click to collapse
try pushing the file to that folder again
Re-Tried everything at least 3 times, including pushing the files that didn't go.
I give up Ive spent so much time on this only to have it fail at the most unlikely times.
Will wait for another method to root come available
You could try downloading and installing Droid Explorer. It installs adb and fastboot files in its install folder.
Are you sure you actually pushed all of the needed files to your phone correctly (i.e., no errors appeared when doing so)? Which guide are you following and what were the specific errors you are getting? Once you have temp root, running gfree and obtaining permanent root only takes a few more minutes...
Also, did you try any other guides (like the one I linked to earlier)? If you are waiting for a new method of rooting, you might be waiting for a while (since the existing methods work, I don't know how actively people are working on new methods).
ianmcquinn said:
Are you sure you actually pushed all of the needed files to your phone correctly (i.e., no errors appeared when doing so)? Which guide are you following and what were the specific errors you are getting? Once you have temp root, running gfree and obtaining permanent root only takes a few more minutes...
Also, did you try any other guides (like the one I linked to earlier)? If you are waiting for a new method of rooting, you might be waiting for a while (since the existing methods work, I don't know how actively people are working on new methods).
Click to expand...
Click to collapse
Using this guide
http://wiki.cyanogenmod.com/index.php?title=TMobile_G2:_Rooting
I get an error when i attempt to enter this into the emulator on my phone
adb shell chmod 777 /data/local/gfree
and it doesn't do anything
901-Memphis said:
Using this guide
http://wiki.cyanogenmod.com/index.php?title=TMobile_G2:_Rooting
I get an error when i attempt to enter this into the emulator on my phone
adb shell chmod 777 /data/local/gfree
and it doesn't do anything
Click to expand...
Click to collapse
You are supposed to do that command from your computer. (The instructions state "On the computer, open terminal and type the following commands".) Here, terminal means the command prompt that you've been running all of you other ADB commands from.
If you wanted to run the command from terminal on your phone, you would just type "chmod 777 /data/local/gfree".
You don't need ADB for G2s.
trance2315 said:
You don't need ADB for G2s.
Click to expand...
Click to collapse
Can someone link me a better guide for my G2 so that i can try this 1 more time ?
Maybe a link to the top choices for versions of android to run once i get it rooted?

Issues With Even Running Root? :(

Running with instructions here:
http://wiki.cyanogenmod.org/wiki/HTC_Glacier:_Full_Update_Guide#Rooting_the_HTC_Glacier
but after going into adb shell and running:
adb push busybox /data/local/tmp/
I'm getting a "permission denied" error for any adb for that or any adb command I throw at it.
I do notice that my adb shell starts with $ instead of # but not sure what step I'm missing. Any help would be greatly appreciated. Trying to breath new life in this thing and don't have any account/market setup on it - so if I can do the rooting through this it'll be easier for me otherwise I'll go ahead and setup another G-account to do it that way if I have to :\
Try executing "adb shell mkdir /data/local/tmp" and try again.
If doesn't work - try changing all /data/local/tmp references to /data/local
thanks for the feedback Jack_R1
Unfortunately that's a no go... same error even with that
Then you're doing something wrong. Follow the guides EXACTLY. Don't do stuff that's not written, do the stuff that's written EXACTLY as it's written, verify that you're starting where the guides expect you to and have all the prerequisites, and it'll work. Your phone isn't different from any other phone, and if something that works for million others doesn't work for you - then you're doing something wrong.
For example, nobody asked you to get into ADB shell to run these commands you're running. You can't run "adb" while being inside ADB shell. Read the guide PROPERLY.
Jack_R1 said:
Then you're doing something wrong. Follow the guides EXACTLY. Don't do stuff that's not written, do the stuff that's written EXACTLY as it's written, verify that you're starting where the guides expect you to and have all the prerequisites, and it'll work. Your phone isn't different from any other phone, and if something that works for million others doesn't work for you - then you're doing something wrong.
For example, nobody asked you to get into ADB shell to run these commands you're running. You can't run "adb" while being inside ADB shell. Read the guide PROPERLY.
Click to expand...
Click to collapse
Thanks,
I did try to follow things to the T but diverted away from doing things -exactly- since starting with "adb push busybox /data/local/tmp/" command I keep getting a "cannot stat 'busybox': No such file or directory"
So in reality.. .THAT was my main issue which is leading to me trying other stuff such as the "adb shell" and not getting # (since I'm pushing files to gain root)
Turns out I'm now able to get "adb push" working on my files since.. I hate myself for it being this simple... I just had to "CD" into my /platform-tools folder since command prompt started in my documents folder by default thus it was looking there for my files
Welp, thanks for the help anyway. Seen this question lingering around in Google Search and hope this helps out someone else :good:

ADB Pull Error

I am getting the following error when I try to pull a TWRP backup from my Nexus 4. Can anyone please help?
Code:
remote object '/sdcard/TWRP' does not exist
It doesn't exist there. /sdcard/ is really a symlink. The actual location is /data/media/0/TWRP, but try /storage/emulated/0/TWRP as well.
Next time type "adb shell" to go into the phone, then type:
find / -type d -iname twrp
this will search the entire phone for folders with the name TWRP and list their path.
/ is the root folder of the phone to search in
-type d means search for folders only, leave it out if you want to search for file names
-iname means to search for terms case insensitive
sent from xda premium app
Thanks for the help eksasol. I've tried to pull many different paths and they all return the same remote object does not exist error. I've even tried sudo adb pull, with the same result. I've tried this, find / -type d -iname twrp but, all I get is Permission denied. If anyone else has got some ideas I'd be happy to hear them. Thanks. :good:
If you are using Ubuntu or linux, typing 'find' only search what is in your PC. You get permission denied because you want to search in a root directly that required root permission.
To search for files in your phone, you need to log into your phone by typing "adb shell". TWRP give you root by default, then you can use the find command.
Since you have root by default in TWRP, you don't need to use sudo, also Android do not have "sudo" installed. The correct way to gain root privilege in linux (Android) is by typing: su -
To tell if you have are root, you should see # where your user name is in the command window.
Once you are done finding the path, you need to exit the adb shell in order to make contact with your PC, so just type exit. Only then you can start using "adb pull".
by the way, its "adb pull /data/media/0/TWRP/ \home\username\backup\"
Rememer in linux (Android), it's case sensitive.
OK, I see my mistakes now. I was not exiting adb shell when typing adb pull. Anyway, thanks to your help, everything is working correctly now. Thank you again, I really appreciate it. Now I can flash the 4.4 update safely.
eksasol said:
If you are using Ubuntu or linux, typing 'find' only search what is in your PC. You get permission denied because you want to search in a root directly that required root permission.
...
by the way, its "adb pull /data/media/0/TWRP/ \home\username\backup"
Rememer in linux (Android), it's case sensitive.
Click to expand...
Click to collapse
Thanks for helping me re-learn that linux (Android) is case sensitive

Can't setup sd card as adoptable storage tried with adb shell and Root essencials

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

Categories

Resources