[Marshmallow][CM13]OT and discussion thread - Sony Xperia M

Okay guys, let's go offtopic! Here you can discuss everything related to Android 6.x.
Original AOSP 6.0 thread>>
Original CM13 thread>>

Can anyone tell me what is accelerometer bug??

kjinx01 said:
Can anyone tell me what is accelerometer bug??
Click to expand...
Click to collapse
Accelerometer is a sensor that defines a devices's position, so it gives you ability to use such functions as screen auto-rotation. And the bug is that sometimes this sensor stops working until the next reboot.

1-After format the SD with cm13, then how to back to normal SD?
2-Is right that if we use sd like part of system we can't use real system memory?
3-After formatting SD (with cm13) for using it like part of system, if we try to put it in PC and then back in the phone, it's real that the SD automatically delete all file inside it because was encrypted?
4-Can we store file like music, photo, video... on SD or it's only for app?
5-If for example i break my phone and put SD in an other phone what happen?
I know that are a lot of question but i hope someone can answer

AlexiusItaly said:
I know that are a lot of question
Click to expand...
Click to collapse
1. Settings > Storage & USB > sdcard > menu > Format as portable
2. No, sdcard space magically adds to real internal
3. Of course no.
4. From phone: yes, photos goes there
From PC: unknown, because MTP broken now. But probably yes.
5. Data will be unaccessable because partition encrypted.
And formatted in unusual way - Windows anyway can't deal with it.
Card supposed to work only with ROM where was adopted (key stored)
UPD: it somehow works in other phone
You can format back it into FAT32 via Explorer or some partition manager.
Also seems this feature still semi-broken: large games won't install.
Maybe PecanCM can fix it.

Bonoboo said:
1. Settings > Storage & USB > sdcard > menu > Format as portable
2. No, sdcard space magically adds to real internal
3. Of course no.
4. From phone: yes, photos goes there
From PC: unknown, because MTP broken now. But probably yes.
5. Data will be unaccessable because partition encrypted.
And formatted in ext4 - Windows anyway can't read it by default.
Card supposed to work only with ROM where was adopted (key stored)
You can format back it into FAT32 via Explorer or some partition manager.
Also seems this feature still semi-broken: large games won't install.
Maybe PecanCM can fix it.
Click to expand...
Click to collapse
Thanks in advance @Bonoboo :thumbup:

the mmeory is readable on linux?

Bonoboo said:
MTP broken now.
Click to expand...
Click to collapse
Are you serious? I even successfully tried creating folder via it. Did you switched from Charge only mode to MTP? 'Cause in charge-only mode MTP device is recognized, but it is empty, without available storages. Or maybe for you it doesn't work because of Windows crappiness, lol. Linux is more friendly with Linux.

cucumber09 said:
Are you serious?
Click to expand...
Click to collapse
Yes, I selected MTP and use Windows.
Just empty window.
@FindYanot somehow managed it to work on Win 10 after enabing / disabling USB debugging.
Anyway good, that MTP not completly broken.

Bonoboo said:
Yes, I selected MTP and use Windows.
Just empty window.
@FindYanot somehow managed it to work on Win 10 after enabing / disabling USB debugging.
Anyway good, that MTP not completly broken.
Click to expand...
Click to collapse
There are often problems with Android on Windows that are absent on Linux. I had irritating issues with UMS mode in TWRP when I was using Windows (more strange is that it worked earlier and then suddenly my PC went insane when connecting USB in TWRP with storage mode enabled), but on Linux it works like a charm. And it is not the only example of problems in Android-Windows "relationship".

Guys I flashed the rom and it booted as usual and i went to next page of the setup guide i.e. add wifi in that i tried connecting to my wifi but while entering the password it shows unfortunately, aosp keyboard has stopped after i removed my wifi password and connected then it goes again to the first page of selecting country and i repeatedly pressed the yellow icon to proceed to the next page but its stucked on that page plz help me guys and do i need to do anything else?

cucumber09 said:
There are often problems with Android on Windows that are absent on Linux. I had irritating issues with UMS mode in TWRP when I was using Windows (more strange is that it worked earlier and then suddenly my PC went insane when connecting USB in TWRP with storage mode enabled), but on Linux it works like a charm. And it is not the only example of problems in Android-Windows "relationship".
Click to expand...
Click to collapse
Oh, there are a bunch! Wondering how it'll fare with the Android File Transfer on Mac. �� At least, ADB works, right? I need to update a few of my apps to support Marshmallow since they removed the Apache HTTP client (Google, must you really make things difficult? I spent an hour yesterday writing 75 lines of code just to add dividers between RecyclerView items... SMH). I'll most probably be shifting back to Lollipop AOSP by tonight. Anyway, if MTP works, I'll update you guys...
EDIT: So, no. Unfortunately, doesn't work on OS X as well. I didn't really expect it to, but then I was hoping that since it was UNIX, it would.
EDIT 2: So, it works with OS X as well! I hadn't selected the USB to transfer files previously.

cucumber09 said:
Are you serious? I even successfully tried creating folder via it. Did you switched from Charge only mode to MTP? 'Cause in charge-only mode MTP device is recognized, but it is empty, without available storages. Or maybe for you it doesn't work because of Windows crappiness, lol. Linux is more friendly with Linux.
Click to expand...
Click to collapse
For me MTP storage is working on windows 10 too. Sometimes it gives empty folders sometimes it work without a mess

You guys are using marshmallow and teasing me :crying:

Haaaaah
+1
Sent from my C2005 using Tapatalk

Mysteryagr said:
You guys are using marshmallow and teasing me :crying:
Click to expand...
Click to collapse
why? are you not using it?

Because both of us waiting for dual sim[emoji5]
Sent from my C2005 using Tapatalk

kh34d said:
Because both of us waiting for dual sim[emoji5]
Sent from my C2005 using Tapatalk
Click to expand...
Click to collapse
oh okay . i'm forget about that, sorry for that

Never mind my bro
Sent from my C2005 using Tapatalk

Mysteryagr said:
You guys are using marshmallow and teasing me :crying:
Click to expand...
Click to collapse
+1

Related

How to disable MTP?

I know there must be multiple posts on this, but after an hour, I'm striking out. I found a .ZIP for a GSII, but that did not work.
Any ideas?
seanvree said:
I know there must be multiple posts on this, but after an hour, I'm striking out. I found a .ZIP for a GSII, but that did not work.
Any ideas?
Click to expand...
Click to collapse
SGS3 EASY UMS (look for it here [free version] or in the play store [donate version]) mounts your phone as Universal Mass Storage rather than MTP if you want that option.
colbyrainey said:
SGS3 EASY UMS (look for it here [free version] or in the play store [donate version]) mounts your phone as Universal Mass Storage rather than MTP if you want that option.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1711009
Couldn't we just use the *#7284# to access the utility menu and change it that way?
Sent from my HTC MyTouch 4G
Sorry new to this. But would this have any negative effects if I used the above app to change to usb mass to download music from my computer? Mtp is slow and media monkey scans the whole phone before it syncs. Could I just keep it set to usb or would something not work after that?
Sent from my SGH-T999 using xda premium
mrmako777 said:
Couldn't we just use the *#7284# to access the utility menu and change it that way?
Sent from my HTC MyTouch 4G
Click to expand...
Click to collapse
After running this code, which one should I select?
seanvree said:
After running this code, which one should I select?
Click to expand...
Click to collapse
+1
---> Brought to you in part by my T999 / T-Mobile Galaxy SIII
that code gives me a chuckle. Always yelling at me about invalid mmi code
Sent from my Unicorn powered T999 using xda premium
Try the link I posted.
Sent from my SGH-T999 using xda premium
KillaHurtz said:
http://forum.xda-developers.com/showthread.php?t=1711009
Click to expand...
Click to collapse
Thanks. Works well and functions how the phone should be out of box.
---> Brought to you in part by my T999 / T-Mobile Galaxy SIII
HELP! Turn off storage: Galaxy Amp
I don't know if this is the right thread to put this but anyway...
I have a Samsung Galaxy Amp, a much cheaper, much watered-down version of the Galaxy Series, and I have been trying to enable default installation of apps to the external sd card. However, adb devices won't recognize my device because (I think) MTP storage is on.
I Have USB debugging on and the the device works fine over USB. However there is no way to disable storage from the phone's settings. It will automatically enter MTP storage on connection and I can't unmount it from the PC.
To be clear I want to disable ALL storage on the phone, not enable mass storage
Much of the menu options, style, setup, etc are similar to the s3. Any help would be appreciated.
*Also MTP is my best guess of why adb devices won't detect it, if it's something else insight on that will be much appreciated as well, thanks.
-I am a NEWB.
Cheapskate7 said:
I don't know if this is the right thread to put this but anyway...
I have a Samsung Galaxy Amp, a much cheaper, much watered-down version of the Galaxy Series, and I have been trying to enable default installation of apps to the external sd card. However, adb devices won't recognize my device because (I think) MTP storage is on.
I Have USB debugging on and the the device works fine over USB. However there is no way to disable storage from the phone's settings. It will automatically enter MTP storage on connection and I can't unmount it from the PC.
To be clear I want to disable ALL storage on the phone, not enable mass storage
Much of the menu options, style, setup, etc are similar to the s3. Any help would be appreciated.
*Also MTP is my best guess of why adb devices won't detect it, if it's something else insight on that will be much appreciated as well, thanks.
-I am a NEWB.
Click to expand...
Click to collapse
Sounds more like a driver issue to me. Click on "Drivers" in my sig and download and install the latest drivers. Then go to device manager, find where it shows your device, right click it and Update Drivers.
If that doesnt work, you can also try the UniversalAdbDriverSetup6.msi. Though after installing this, you may have reinstall the Samsung drivers again later in order to use MTP/UMS or Odin.
Normal operation for me, I can connect using ADB and still have access to the phones storage at the same time.
Thanks!
DocHoliday77 said:
Sounds more like a driver issue to me. Click on "Drivers" in my sig and download and install the latest drivers. Then go to device manager, find where it shows your device, right click it and Update Drivers.
If that doesnt work, you can also try the UniversalAdbDriverSetup6.msi. Though after installing this, you may have reinstall the Samsung drivers again later in order to use MTP/UMS or Odin.
Normal operation for me, I can connect using ADB and still have access to the phones storage at the same time.
Click to expand...
Click to collapse
Thanks! This worked great! The reason i thought it was MTP is because most articles make a point of telling you to turn off storage. Sorry if I posted in the wrong place and thanks again.

[Q] Don't see my HOX as external drive after installing JB Rom

Sorry if this was answered before, I couldn't find an appropriate thread for that.
So I installed latest OrDroid 2.7.5, everything went smoothly and works fine for now.
But I have issues trying to connect the phone to my PC and access internal storage.
Once I connect the USB cable I get the usual "USB Connected - Tap to change settings". Once I press it I get the "Portable hotspot & tethering" instead of the window where I choose charge/USB only.
In My Computer it appears as Digital Camera "HTC One X", but not as Removable drive as it was before.
Any ideas how to access the storage again?
Thanks in advance
This is not specific for ordroid but
Check under
Settings
Storage
Usb computer connection ( in three dotmenu or context menu)
It should be mtp or mass storage.
Sent from my ASUS Transformer Pad TF700T using xda app-developers app
eyosen said:
This is not specific for ordroid but
Check under
Settings
Storage
Usb computer connection ( in three dotmenu or context menu)
It should be mtp or mass storage.
Sent from my ASUS Transformer Pad TF700T using xda app-developers app
Click to expand...
Click to collapse
Thanks, but that is also a problem. I cannot find the Usb computer connection settings anywhere under the Storage. There's no 3dotmenu or context menu available either.
Found the answer to my question in one of the ROMs thread. Can be closed.
Care to repeat it here?
sure but it didn't really solve the problem, just helped me understood what's the reason for that
http://forum.xda-developers.com/showthread.php?t=1836919&highlight=usb+connection+settings&page=135
scroll down for post from user jackolus and see the next reply.
will have to try on my other PC with Win7 to see if it works.
Another option - go to Recovery and connect your phone to PC. This way it appears in My Computer as HTC Storage. Not the most convenient method, but still better than nothing.
any one know of any fix for this yet? i'm on mac and cannot mount sd card other than going into recovery. pain in the ass, every time i plug it in to my dock htc sync link pops up, tried installing it it but it's ****e, still doesnt allow direct access to sd.
If its not installed it pops up as a link, if it is installed it pops up the app. pain if i only want charge.
Really annoys me when they remove common used features.
Someone at HTC must have sat and had a thought, yes they have 32gb non removable sd card but it's highly unlikely they ever want access to it, lets take the option away.
There's no 'fix' as HTC has changed the storage from USB MS for MTP - unless they change it back there's not a lot you can do
EDIT: This might help...
http://forum.xda-developers.com/showthread.php?t=1355913
Thanks, may have to revert to ics then, this is a big flaw for me, do a lot of transferring files to and from sd, cant be ****ed with entering recovery everytime.
Out of curuosity, would it be the same on AOSP jelly bean roms?
Guess i could try BT transfers
shangostar said:
Out of curuosity, would it be the same on AOSP jelly bean roms?
Guess i could try BT transfers
Click to expand...
Click to collapse
I've tried, and used, many JB ROMs and never has a problem connecting my phone to a computer over a usb cable
sent via a Slim Jelly Bean
liquidguru said:
I've tried, and used, many JB ROMs and never has a problem connecting my phone to a computer over a usb cable
sent via a Slim Jelly Bean
Click to expand...
Click to collapse
On a Mac?
shangostar said:
On a Mac?
Click to expand...
Click to collapse
Ahhhhh, you're right...I'm a pc. Sorry, can't help
sent via a Slim Jelly Bean
Bogega said:
Sorry if this was answered before, I couldn't find an appropriate thread for that.
So I installed latest OrDroid 2.7.5, everything went smoothly and works fine for now.
But I have issues trying to connect the phone to my PC and access internal storage.
Once I connect the USB cable I get the usual "USB Connected - Tap to change settings". Once I press it I get the "Portable hotspot & tethering" instead of the window where I choose charge/USB only.
In My Computer it appears as Digital Camera "HTC One X", but not as Removable drive as it was before.
Any ideas how to access the storage again?
Thanks in advance
Click to expand...
Click to collapse
you can't mount sd card while using the phone unfortunately... you need to mount it from recovery

[Q] 4.1.1 file transferring on mac

So i updated my One X through the OTA 4.1.1, now everything changes and stuff. Now I can't mount my hox as a disk driver, it forces me to download the htc sync manager, but it doesn't work either...
It doesn't recognize my device, it says no device.
Please help guys, i need this. Is it because i'm using a mac and that the manager has just been released recently so it still has bugs?
thanks in advance
greenjade816 said:
So i updated my One X through the OTA 4.1.1, now everything changes and stuff. Now I can't mount my hox as a disk driver, it forces me to download the htc sync manager, but it doesn't work either...
It doesn't recognize my device, it says no device.
Please help guys, i need this. Is it because i'm using a mac and that the manager has just been released recently so it still has bugs?
thanks in advance
Click to expand...
Click to collapse
to use usb you need to go in recovery and mount usb, if you're not rooted, well, that's the only method... HTC ha removed the USB storage from JB
lol, sorry im really new to this android thing. How do i go into recovery mode?
and plus, if i choose to use sync manager, why doesn't it recognize my device? Is it because i don't the mtp drivers?
thanks in advance
I haven't got the JB OTA, but I usually use Solid Explorer's File Transfer mode to copy files to/from my device over wifi. I don't see why it shouldn't work on JB too, so you can give it a try - download the app from the Play Store and use your favourite mac ftp client (mine is Cyberduck). Good luck!
greenjade816 said:
lol, sorry im really new to this android thing. How do i go into recovery mode?
and plus, if i choose to use sync manager, why doesn't it recognize my device? Is it because i don't the mtp drivers?
thanks in advance
Click to expand...
Click to collapse
if you don't know what recovery is then you didn't root the device so don't do that... however the Macs don't have MTP mode, it is a Windows only feature
matt95 said:
if you don't know what recovery is then you didn't root the device so don't do that... however the Macs don't have MTP mode, it is a Windows only feature
Click to expand...
Click to collapse
Wait, so are you saying HTC has made the internal storage like it is on the GNex (one big partition for apps + data +user storage that can't be accessed through USB storage mode)? But could they have removed USB file transfer support without reformatting everything?

Help i need to push a Rom under TWRP

Hi guys,
i made quiet a mistake, i cancelled all contents of my SD card under TWRP, wiped system and i'm now left with no rom on the phone nor on the SD card.How can i make my laptop see my sd card under TWRP in order to tranfer a rom and install it ?
seems when i press on Mount sd card nothing happens..
thanks
biggg troubles
you need to use adb.
mounting the sdcard does nothing on the nexus as there is no mass storage
Zepius said:
you need to use adb.
mounting the sdcard does nothing on the nexus as there is no mass storage
Click to expand...
Click to collapse
mate how do you actually do this ? i've never tried it
i'm doing some search on the forums but seems confusing for me
http://forum.xda-developers.com/showthread.php?t=1812959
Zepius said:
http://forum.xda-developers.com/showthread.php?t=1812959
Click to expand...
Click to collapse
i have to install SDK in order to do this ? cause it's 400mb pack and my internet connection is soooo slow
wwwpuntoit said:
i have to install SDK in order to do this ? cause it's 400mb pack and my internet connection is soooo slow
Click to expand...
Click to collapse
ok people.
i solved this way
put every file i needed in usb stick, used usb on go cable and installed rom from usb stick
thanks for helping anyway
cheeers
wwwpuntoit said:
i have to install SDK in order to do this ? cause it's 400mb pack and my internet connection is soooo slow
Click to expand...
Click to collapse
wwwpuntoit said:
ok people.
i solved this way
put every file i needed in usb stick, used usb on go cable and installed rom from usb stick
thanks for helping anyway
cheeers
Click to expand...
Click to collapse
You really need to READ. Use a translator if you can't.
from the thread Zepius linked you:
What is the Android SDK and do I need it?
SDK stands for "software development kit. Do you need it? If you are developing, then yes (but then you probably would be reading this thread now would you... ). If you are not developing, then no, you do NOT need to install it. It is just a waste of space. The only files you need (to interface with your PC) that comes from the SDK are the fastboot and adb files, and they can be found here for Windows, Linux, and MacOS.
Click to expand...
Click to collapse

10.1.2 usb mass storage option?

So i upgraded to cm 10.1.2 and i'm having a hard time trying to figure out how mount as mass storage rather than MTP or PTP
for the life of my, i can't find the option.
i'm running linux so MTP is not an option for me
anyone know where i can change it?
thank you
sam
when you goto storage hit menu do you see any other options when you click menu in your storage settings ?
denti said:
So i upgraded to cm 10.1.2 and i'm having a hard time trying to figure out how mount as mass storage rather than MTP or PTP
for the life of my, i can't find the option.
i'm running linux so MTP is not an option for me
anyone know where i can change it?
thank you
sam
Click to expand...
Click to collapse
That's because they removed mass storage option in 4.2.2
denti said:
guess i'll find another way to move files around as MTP and linux no play well together
Click to expand...
Click to collapse
Some linux distros support MTP. Ubuntu, for example, although it hasn't been officially backported to some older releases. But it is available for older releases in a developer's third-party ppa. Unfortunately, I can't post the link. Still, I prefer USB mass storage to MTP. But I'm going to try MTP for awhile and see if it grows on me.
I noticed that there are a number of apps that come up in the Android Market / Google Play Apps if you search for "USB mass storage", but I haven't tried any of them. There are also third-party apps that provide file sharing via wifi using samba or ftp. Not exactly what you're looking for, but I thought I'd mention it. ES File Explorer is an example. I use it, and like it, but I haven't used the particular features I just mentioned because, until my recent upgrade to JB 4.2 I didn't need them -- I used USB mass storage.
In a thread on AndroidCentral, someone said google does not want to use USB mass storage. I don't know if that's true, and if it is true, I don't know what google's reasons are for abandoning USB mass storage.
stcr1 said:
Some linux distros support MTP. Ubuntu, for example, although it hasn't been officially backported to some older releases. But it is available for older releases in a developer's third-party ppa.
Click to expand...
Click to collapse
I tried this without success. At this point, I forget what the problem was, because I've tried so many different things. I think I was unable to get read-write access. It was read only. Not sure, though. But it didn't work for me.
stcr1 said:
There are also third-party apps that provide file sharing via wifi using samba or ftp.
Click to expand...
Click to collapse
I tried a couple of these and they did not work reliably. I have a large git repo that I was trying to clone, and it would either silently fail mid-way (using Samba Filesharing for Android by funkyFresh), or git would complain about corrupt/missing objects (using Servers Ultimate by Ice Cold Apps). The latter also has an NFS server, but I wasn't able to connect to it. I kept getting a clnt_create Program not registered error. All of the problems here with both the samba servers and NFS could be specific to my hardware and software environment, and/or configuration settings. YMMV.
stcr1 said:
I noticed that there are a number of apps that come up in the Android Market / Google Play Apps if you search for "USB mass storage", but I haven't tried any of them.
Click to expand...
Click to collapse
I tried a ton of these. The only one that looks promising (for my device) is Multi Mount SD-Card Lite by rafoid. I hope it works out. Haven't tried cloning my git repo yet. Again, my experiences could be specific to my hardware and software environment. YMMV.
Off topic: Along the way I found AirDroid. Looks pretty cool, but doens't look like a solution to the problems in this thread.
You can try this mod and see if it works for you. It is really 2 lines on a terminal:
http://forum.xda-developers.com/showthread.php?t=1800935
It worked for me before to force my phone go into mass storage mode. I haven't used it for the latest mods.
angler_fish said:
You can try this mod and see if it works for you. It is really 2 lines on a terminal:
http://forum.xda-developers.com/showthread.php?t=1800935
It worked for me before to force my phone go into mass storage mode. I haven't used it for the latest mods.
Click to expand...
Click to collapse
That's a good idea. I sorta tried that, and it didn't work for me, but it obviously has worked for other people. I say "sorta" because I didn't use a terminal, but used an app in the Marketplace wihich is supposed to do the same thing. The app is USB mode switch for SGS1 on CM by Zatta. It's the subject of a thread here (showthread.php?p=21505914). I would post the link to the thread, but unfortunately I can't post links.
stcr1 said:
That's a good idea. I sorta tried that, and it didn't work for me, but it obviously has worked for other people. I say "sorta" because I didn't use a terminal, but used an app in the Marketplace wihich is supposed to do the same thing. The app is USB mode switch for SGS1 on CM by Zatta. It's the subject of a thread here (showthread.php?p=21505914). I would post the link to the thread, but unfortunately I can't post links.
Click to expand...
Click to collapse
Just download a Terminal Emulator on Google Play. Search Terminal and the first one should work. Make sure you give it root privilege, as you are modding system files. Hope that helps!
angler_fish said:
You can try this mod and see if it works for you. It is really 2 lines on a terminal:
http://forum.xda-developers.com/showthread.php?t=1800935
It worked for me before to force my phone go into mass storage mode. I haven't used it for the latest mods.
Click to expand...
Click to collapse
I put CM10.1.2 on my phone a few days ago. Until today, whenever I plugged it into my computer it would go into mass storage mode as expected and everything was fine. Then, I installed Button Savior, which required me to enable USB debugging mode, and after that it connected in MTP mode every time. If I tapped the notification it would give me an option to uncheck MTP mode, but tapping that any number of times had no effect (the checkmark wouldn't go away). I tried the solution suggested in the linked thread, but now it's even worse. It no longer connects in MTP mode, but it doesn't connect in mass storage mode either. Now, it connects in something called "installer mode" with no option to change anything. It shows up in Explorer on my computer, but when I try to open the drive the computer asks me to insert a drive.
Any idea how I get my mass storage mode back?
Odd, teamchopsticks pulled USB mass storage from cm10.1 because of crashes when disconnecting from the computer.
Sent from my SAMSUNG-SGH-T989 using Tapatalk 4
Cyanogenmod removed support for USB mass storage after CM10.0 because "The kernel support was flaky... USB mass storage has been deprecated by Google and is no longer supported."
https://jira.cyanogenmod.org/browse/CYAN-540
Multi Mount SD-Card Lite by rafoid on Google Play worked for me for awhile, then stopped working reliably. I lost some files as a result. Now I'm going to try adbfs:
https://github.com/spion/adbfs-rootless
(Thanks to dalingrin for this suggestion, made in this related thread: http://forum.xda-developers.com/showthread.php?t=2023066)
This article explains why Android moved from USB Mass Storage to MTP access for the internal storage.
hxxp://androidpolice.com/2011/11/18/impromptu-qa-session-with-android-engineer-dan-morrill-brings-to-light-reasons-behind-galaxy-nexus-lack-of-usb-mass-storage/

Categories

Resources