Can't setup sd card as adoptable storage tried with adb shell and Root essencials - Samsung Galaxy J5 Questions & Answers

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

Related

Question about ADB

I am currently running CM 4.2.2. on MT3G and I have been reading/hearing a lot about adb. Is it required to do something you can't do otherwise? Also, I downloaded the adbwin.zip wrapper and when i do "adb devices" my phone shows up as connected and I can browse through the file system and stuff. Does that mean that adb is working fine?
I tried installing an apk named test.apk that was in the main folder of the sd card by doing "install /sdcard/test.apk" but it didn't work.
Any help?
ADB isn't required, but it sure does make doing some stuff easier.
Refer to that guide if you want to setup ADB, it'll show you some commands for ADB also. Hope that helps
http://forum.xda-developers.com/showthread.php?t=532719

[Q] SD Card removed, but it's there!

i am using modaco rom ,after reset for me showing no sd card......some one help me......
USB Brick
read this thread:
http://forum.xda-developers.com/showthread.php?t=733713
no way.....its not working showing
C:\sdk\tools>chmod 755 /data/flash_image
'chmod' is not recognized as an internal or external command,
operable program or batch file.
C:\sdk\tools>cat /sdcard/flash_image > /data/flash_image
The system cannot find the path specified.
smartsreenath said:
no way.....its not working showing
C:\sdk\tools>chmod 755 /data/flash_image
'chmod' is not recognized as an internal or external command,
operable program or batch file.
C:\sdk\tools>cat /sdcard/flash_image > /data/flash_image
The system cannot find the path specified.
Click to expand...
Click to collapse
Did you tried from a terminal emulator on your Legend or via adb instead of Windows? (chmod and cat are Unix's binaries and they can't work with Windows directly)
i can't download......... showing insufficient storage........i even can't install application through 91pc suite for android..........i need help....and in device manager my htc is showing but i can't connect.........nnnnnnnnnnneeeeeeed hhhelllllp
use a sdcard reader ( if you have one ) and put connectbot.apk ( that you can find here http://code.google.com/p/connectbot/downloads/list ) on your sd...
mount your SD card before trying to unbrick your USB like that :
type :
fastboot oem enableqxdm 0
in fastboot mode
after reboot, your phone will see your SD.
If you have a file manager already installed, look for connectbot and install it.
After that , follow unbrink process.
ilos said:
use a sdcard reader ( if you have one ) and put connectbot.apk ( that you can find here http://code.google.com/p/connectbot/downloads/list ) on your sd...
mount your SD card before trying to unbrick your USB like that :
type :
fastboot oem enableqxdm 0
in fastboot mode
after reboot, your phone will see your SD.
If you have a file manager already installed, look for connectbot and install it.
After that , follow unbrink process.
Click to expand...
Click to collapse
i appreciate your response.......but you don't understand my problem....my phone neither detects sdcard nor download file from market[also through browser]....could you suggest any other way ......please its urgent.....
i tried with terminal emaluator but showing permission denied....but my phone is rooted.......
after fastboot oem enableqxdm 0 , a bricked phone can see the sdcard.
don't try to connect your computer to your device, computer will not see your sdcard, sdcard will be only readable by the device.
if all of that doesn't work you have probably a problem with your sdcard.
and take a look here :
http://forum.xda-developers.com/showthread.php?t=748813
thousand thanks man............
Txkw said:
Did you tried from a terminal emulator on your Legend or via adb instead of Windows? (chmod and cat are Unix's binaries and they can't work with Windows directly)
Click to expand...
Click to collapse
sorry my mistake
whats a 'terminal emulator' please ?
EDIT: Found it in the Market.
Hope they put a link to [How To] Unbrick your Legend in the first post in android development since its a common ailment for Legend and Desire.
Learners Lisence said:
whats a 'terminal emulator' please ?
EDIT: Found it in the Market.
Hope they put a link to [How To] Unbrick your Legend in the first post in android development since its a common ailment for Legend and Desire.
Click to expand...
Click to collapse
you want it, you get it
http://forum.xda-developers.com/showthread.php?t=751265
sorry for bringing up this topic...
I've tried to "fastboot oem enableqxdm 0" but my phone still canot c my sd card..
to show my step,
i booted up my phone into fastboot mode and enter the code using cmd in windows..
it says success then i booted it back up normally...
but sdcard removed message still there...
did i do wrongly or what else can i do?
my card is still a working card...
bylee123 said:
sorry for bringing up this topic...
I've tried to "fastboot oem enableqxdm 0" but my phone still canot c my sd card..
to show my step,
i booted up my phone into fastboot mode and enter the code using cmd in windows..
it says success then i booted it back up normally...
but sdcard removed message still there...
did i do wrongly or what else can i do?
my card is still a working card...
Click to expand...
Click to collapse
First use a adapter and check if u can read your card on the computer, if it does backup your content, and format. (If u have HTC Synk installed, close it)
*insert the card in your phone.
*press volume down + power
*chose fastboot
*connect your phone (make sure it say fastboot usb before u continue)
*open cmd, go to AndroidSDK -> Tools
*Type "fastboot oem enableqxdm 0"
Reboot, and your card should be up and running. If needed continue with the steps from the Unbrick guide in dev
HpX said:
First use a adapter and check if u can read your card on the computer, if it does backup your content, and format. (If u have HTC Synk installed, close it)
*insert the card in your phone.
*press volume down + power
*chose fastboot
*connect your phone (make sure it say fastboot usb before u continue)
*open cmd, go to AndroidSDK -> Tools
*Type "fastboot oem enableqxdm 0"
Reboot, and your card should be up and running. If needed continue with the steps from the Unbrick guide in dev
Click to expand...
Click to collapse
Below are what I did before I kept getting the error "Removed SD card"...
Eclair 2.1 with update 1.
1. Create goldcard. Success.
2. Then i went on with the rooting guide, without applying RUU.1.31.
3. Failed in step1-windows.bat, step2-windows.bat. Thus kept creating goldcard.(obviously i am so newbie)
4. Then after sometimes of retrying I get the error after a reboot.
After i got the error, I created a goldcard based on the previous CID i got.
The goldcard enables me to downgrade to RUU.1.31.
But still the error is still there.
Tried the unbrick guide.
But even after I execute "fastboot oem enableqxdm 0",
then follow the guide with "fastboot oem boot", my USB still didn't work.
Ignoring the fact that the guide needs SD capability I did all the steps in the guide(i use softroot, since i never rooted my legend yet!),
all commands went through without error, even retried.
Till now my phone stilll shows the error, "Removed SD card".
Can anyone help me? Paul? anyone?
Card i used: 1. Sandisk 2GB card that comes with the phone(my goldcard), 512MB old microSD card.
Guides used: modaco rooting guide and unbrick guide
Both cards are working well, can be detected in windows and no error when checked with h2testw in windows.
Windows can detect Legend when connected. Drivers all good.
So guys, is this really USB bricked or what it is?
If u guys need any information bout the phone please let me know, i'll try to provide.
help me
Please help me. I have the same problem and I do not know where to write command oem fastboot enableqxdm 0
bro read the previous posts.....

New guy rooting vibrant

Hay, my name's Nick, been reading the posts for a while, decided to join. Iv'e been wanting to root my T-mobile vibrant so i can get a more streamlined ROM will less features to make the ones i use go smoother and faster and get the full potential out of the device. I rooted it no problem with one click root, installed clockwork rom manager, and titanium backup, installed clockwork recovery (i love the clockwork orange icons by the way) put the latest "insanity 0.6.7.zip" in the root of the internal SD, and hit the "install rom" option on the rom manager and selected the .zip, and it made my phone go into the standard recovery mode, no option to install any .zip files. So i opened the rom manager and manually put it into CWM recovery so i could manually install the rom. It looked like it was going to work, but then it sent my phone back to the recovery screen with white text that said "install update.zip" so i did what it said, and it sent my phone into a boot loop. I can get into recovery mode, but when ever i try to recover my backup or access any files it says "no files found, operation canceled" or something like that. It also fails to mount via USB. I can get it to go to download mode but have not tried odin yet, because im on a mac (working on getting bootcamp working now to run windows)
Odin seems like my only option now right? anyone have any idea ware I went wrong? it must have been the incorrect update.zip file right?
I dont think u flashed a vibrant rom
Just mount your internal sd from clockwork and copy over a vibrant rom, and flash
Sent from my SGH-T959 using XDA Premium App
have any idea why it wont let me mount my sd card? that makes me worried it wont connect to a Pc in download mode but i haven't had the opportunity to try that yet.
I'd download your rom of choice, there are a ton that are perfect fit first timers. Trigger and Bionix-V seem very stable. Pop your external sd into your computer, copy the .zip for the rom, go into recovery, select install from zip and flash your rom.
Odin is last resort. I'm not familiar with insanity, but maybe it was a bad download?
when it booted up it went to my normal "vibrant" screen, then to an unfamiliar "galaxy s 19000" screen. Im assuming there is a difference between galaxy s and vibrant right?
jRi0T68 said:
I'd download your rom of choice, there are a ton that are perfect fit first timers. Trigger and Bionix-V seem very stable. Pop your external sd into your computer, copy the .zip for the rom, go into recovery, select install from zip and flash your rom.
Odin is last resort. I'm not familiar with insanity, but maybe it was a bad download?
Click to expand...
Click to collapse
tried that, when i try to to install zip from sdcard it says "no files found"
i assume it's looking for files on the internal and not the external right? so i tried mounting the external sd card from the mounts and storage menu, and i got an error message that said "E:INFO is WRONError mounting SDEXT !"
In recovery, do you see any folders when you click install from zip, or is that when you get an error message?
If you see folders, can you navigate to external_sd?
i click "install zip from SD" and it brings me to a menu with the options to apply sdcard.update.zip or choose zip from sd card, and when try ether one of those options it says "No Files Found"
I have a rom in a zip on the root of my external now, just cant get to it.
Too bad i cant help trying to fix things that aren't broken
niik000 said:
i click "install zip from SD" and it brings me to a menu with the options to apply sdcard.update.zip or choose zip from sd card, and when try ether one of those options it says "No Files Found"
I have a rom in a zip on the root of my external now, just cant get to it.
Too bad i cant help trying to fix things that aren't broken
Click to expand...
Click to collapse
not your external sd, zip should be on your internal sd
since you can get into recovery you can try using adb to push the zip from your computer to the phone
install android sdk and drivers for vibrant then using command prompt navigate to the following directory in the android-sdk folder
\platform-tools\
then execute the following command again in cmd prompt
adb push <dir for zip> /sdcard
if that doesnt work then odin will be your only choice and you must be in download mode to do that
niik000 said:
i click "install zip from SD" and it brings me to a menu with the options to apply sdcard.update.zip or choose zip from sd card, and when try ether one of those options it says "No Files Found"
I have a rom in a zip on the root of my external now, just cant get to it.
Too bad i cant help trying to fix things that aren't broken
Click to expand...
Click to collapse
If you can access xda from your phone,download a vibrant rom from there.
Once it's downloaded,it will be in the root of your internal sd,under download.You can then flash it in cwm,or when the download is complete,click on it and choose Rom Manager to open it,and you can flash it from there.
Here's a link to Bionix 1.3.1,on xda.
http://forum.xda-developers.com/showthread.php?t=925548
amandadam said:
If you can access xda from your phone,download a vibrant rom from there.
Once it's downloaded,it will be in the root of your internal sd,under download.You can then flash it in cwm,or when the download is complete,click on it and choose Rom Manager to open it,and you can flash it from there.
Here's a link to Bionix 1.3.1,on xda.
http://forum.xda-developers.com/showthread.php?t=925548
Click to expand...
Click to collapse
That's useful for me as well.!
shreddintyres said:
not your external sd, zip should be on your internal sd
since you can get into recovery you can try using adb to push the zip from your computer to the phone
install android sdk and drivers for vibrant then using command prompt navigate to the following directory in the android-sdk folder
\platform-tools\
then execute the following command again in cmd prompt
adb push <dir for zip> /sdcard
if that doesnt work then odin will be your only choice and you must be in download mode to do that
Click to expand...
Click to collapse
do i need an update.zip? or just the bionix-v-1.3.1.zip? or am i supposed to rename the bionix zip to update.zip?
niik000 said:
do i need an update.zip? or just the bionix-v-1.3.1.zip? or am i supposed to rename the bionix zip to update.zip?
Click to expand...
Click to collapse
Never rename rom zips to update.zip leave it at bionix.zip and flash through clockwork mod recovery.
now i cant figure out how to get any of the ADB commands to work, i have ADB running and it put a list of commands in he terminal but when i try any of those commands it says "command not found"
i tried
"adb devices" (c-bash: adb: command not found)
"./adb devices" (directory not found)
and "devices" (-bash: devices: command not found
)
am i doing something wrong?
niik000 said:
now i cant figure out how to get any of the ADB commands to work, i have ADB running and it put a list of commands in he terminal but when i try any of those commands it says "command not found"
i tried
"adb devices" (c-bash: adb: command not found)
"./adb devices" (directory not found)
and "devices" (-bash: devices: command not found
)
am i doing something wrong?
Click to expand...
Click to collapse
first you have to be in the android sdk directory and second you must run the sdk manager process and download the rest of the sdk, the bit that you download from the website does not include the full android sdk, you will also need to have java runtime environment 5 or later installed on your pc.
also if you are running adb in linux you need to sudo or su adb commands
in linux you will need to restart the adb daemon
su
adb kill-server
adb start-server
adb devices
hope this helps
i ran the SDK and AVd manager and installed the rest of the SDK packages, then found the ADB file and drug it into the terminal, that gave me the list of commands. I plugged in the phone and tried "adb devices" and it said "command not found" tried quitting and restarting terminal a few times and still nothing
shreddintyres said:
first you have to be in the android sdk directory and second you must run the sdk manager process and download the rest of the sdk, the bit that you download from the website does not include the full android sdk, you will also need to have java runtime environment 5 or later installed on your pc.
also if you are running adb in linux you need to sudo or su adb commands
in linux you will need to restart the adb daemon
su
adb kill-server
adb start-server
adb devices
hope this helps
Click to expand...
Click to collapse
when i enter "su" it asks for a password, but it will not let me type anything. Iv'e never really worked with commands like this but im interested in learning, thats kind of why i decided to mess with the phone
niik000 said:
when i enter "su" it asks for a password, but it will not let me type anything. Iv'e never really worked with commands like this but im interested in learning, thats kind of why i decided to mess with the phone
Click to expand...
Click to collapse
thats a security feature within linux it wont show what you are typing but rest assured its registering keystrokes, and you dont drag and drop to terminal
assuming the androidsdk is in your home directory you would type
cd /home/username/android-sdk/platform-tools
then ./adb devices (this is just a check to make sure your phone is being recognized)
i type
/Users/<my username>/android-sdk-mac_x86/platform-tools
and it tells me
/Users/<my username>/android-sdk-mac_x86/platform-tools: is a directory
then i type ./adb devices
and it says
-bash: ./adb: No such file or directory
im getting really confused, it seems like im making a really simple mistake i just cant figure out what im doing wrong
niik000 said:
i type
/Users/<my username>/android-sdk-mac_x86/platform-tools
and it tells me
/Users/<my username>/android-sdk-mac_x86/platform-tools: is a directory
then i type ./adb devices
and it says
-bash: ./adb: No such file or directory
im getting really confused, it seems like im making a really simple mistake i just cant figure out what im doing wrong
Click to expand...
Click to collapse
ok so you are doing this from mac then? i apologize as i have no experience messing with android using a mac, id imagine itd be much like linux although terminal commands may be different. If i were you id google using adb commands in mac os and see what you can find, personally i use windows normally and am only just learning how to work linux

soft bricked device

Hi,
I am trying to fix my friends nexus 4. It has a unlocked bootloader and was rooted. He had the franco kernel installed and when it was updated the other day, the wifi wouldn't work. The recovery function works and I can download any recovery or boot.img. The problem is whilst trying to fix, he erased all the data on the phone. now there is no OS installed. I believe he was running stock. Their is no zips installed. the problem i have is how can I install the new kk zip and gapps I have downloaded to the device. I cant mount the sd card in the recovery because of no sd card. I have a htc one and am used to putting roms on that. Its just I am stuck trying to fix this. The phone will enter fastboot and Recovery as discussed. Thanks..hope this makes sense
2 options..
1. you need to adb push a rom/gapps to your device while you are in recovery. then flash them after pushing.
2. you need to fastboot flash the factory image while you are in the bootloader.
simms22 said:
2 options..
1. you need to adb push a rom/gapps to your device while you are in recovery. then flash them after pushing.
2. you need to fastboot flash the factory image while you are in the bootloader.
Click to expand...
Click to collapse
Hi Thanks for your reply. I am trying to adb push a rom to the device. The computer recognizes the device when I type adb devices in the command prompt when in recovery. The problem is what do I save it to without a sd card. I seen a few videos with the command adb push name.zip /sdcard/ namezip
what do i enter instead of sd card ...thanks again
http://teamw.in/ADBSideload
tommyforest123 said:
Hi Thanks for your reply. I am trying to adb push a rom to the device. The computer recognizes the device when I type adb devices in the command prompt when in recovery. The problem is what do I save it to without a sd card. I seen a few videos with the command adb push name.zip /sdcard/ namezip
what do i enter instead of sd card ...thanks again
Click to expand...
Click to collapse
when i do it, i put the file in the same folder as adb. i enter recovery, then.. adb push namezip, then its there.
tommyforest123 said:
Hi Thanks for your reply. I am trying to adb push a rom to the device. The computer recognizes the device when I type adb devices in the command prompt when in recovery. The problem is what do I save it to without a sd card. I seen a few videos with the command adb push name.zip /sdcard/ namezip
what do i enter instead of sd card ...thanks again
Click to expand...
Click to collapse
Just use adb push name.zip /sdcard. There is an internal sdcard
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Just use adb push name.zip /sdcard. There is an internal sdcard
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Hi, thanks for the replies. I was able to flash a new kk rom through the adb...

Adoptable Storage

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.

Categories

Resources