Can you swap the back button to the right? - Razer Phone 2 Questions & Answers

My LG can move the buttons. Can the Razer phone 2 ??
Samsung got me used to it then my LG let me keep it. Now I've got a decade of muscle memory.

Sub'd. I don't mind it being on the left, but I am curious if there is a way to make these always on
Edit: I added this as a comment, not an answer, so not sure why it showed up that way...

Yes you can swap the buttons and without needing root.
https://www.xda-developers.com/how-...icons-or-re-arrange-the-buttons-without-root/
Or...instead of installing another app, you can do it running ADB commands.
adb shell [Enter]
settings put secure sysui_nav_bar "space,recent;home;back,space"

Related

A2SD view apps loaded in partition

First post, hope I haven't picked the wrong place. I did search the forum before asking this.
Is there a way to see the A2SD partition, or to see the apps installed on it? I set mine rather low, at 512MB (that's what it asked for at default) and I figured that should be more than enough since I only have ~100MB or so on stock ROM.
So yeah, none of the market apps I have seen can show me the space being used or how much room is left free on the partition.
Any idears?
Quick System Info in the Market, will show you the total amount of mb being used and what is left for a2sd.
Connect to your phone via USB cable and enter the following in a command prompt (this of course assumes you have installed the android sdk):
adb remount
adb shell
ls /system/sd/app/
I got this from this post: "forum.xda-developers.com/showthread.php?t=603052"
just put the http tag in front of the above and cut and paste it into the browser address bar.
Thanks, to both of you. The Quick System Info App does the trick!

Starting with Development...

I hope this is the right place to post this, if not my apologies. I've had my Droid X for two weeks now, and have done a few customizations to it (NexTheme, root, BusyBox) and to be honest I'm bored already even though I'm still getting used to this phone...and even though it's my first Android powered device, and second smartphone.
Anyways, I want to dig into the guts of this and possibly contribute. I have been working with some form of Unix since the early 90's, and I'd like to think I'm quite experienced with it.
This is where I need assistance. Even though I'm quite adept with my Google-Fu, I'm still not able to point myself in the correct direction. I have a terminal app on the phone, and adb on my pc, however...to be frank...they both suck. Perhaps it's the limits of a mobile Linux platform and not having proper term types defined, but I can't get a decent working environment setup to navigate the filesystem in a comfortable and easy to read way. It's making it extremely difficult to see where I am, where I've been, and the files/directories and their permissions, etc etc. Have tried setting and resetting various TERM env types, but nothing seems to change the layout/display.
I had found an SSHd how to hoping I could install SSHd on the phone and just SSH in from a proper terminal, but it's from 2008 and deals with the G1. I wasn't able to get the steps to work for me.
Short of what I've already tried, what other options are there...if any? I don't know what, if anything, I could contribute to the community...but I'd like to give it a real go, and I *really* do love to mess with things heh heh....
The easiest way i have seen to navigate through your file system is using root explorer on the market.
Since you have adb set up, you should be able to execute "adb shell". Also, there seems to be an emulator included in the sdk, though I haven't used it myself.
Sent from my DROIDX using XDA App
mattyboy1013: I'm looking for a non-gui shell based method of navigation. A terminal is a lot easier and quicker for me.
pchop: Yea, I've used adb shell when manually rooting, and I wasn't too keen on how it laid things out. Particularly in a single column making navigation difficult. I'll take a look at the emulator though, and see what it does. Thanks.
I may be wrong but isn't android a java platform sitting on top of unix?
That's my understanding as well, and I'd like to navigate it as if it were a Linux box, ie: through a console. Problem is, the two terminal apps I have access to (as mentioned above - terminal emulator and adb shell) present the file system in a single column and with no sorting. It makes navigating and seeing whats available quite difficult.
What I'm looking for, if it even exists, is a terminal app that will display in rows and columns, and sorting alphabetically with directories first then files. Basically how most Linux distributions do by default and have for years.
I tried some more with my attempts at getting SSHd on the phone by compiling dropbear myself via the android source, but no go. The compile bails on me even after several fixes and attempts. Was hoping SSH in via a gnome-terminal, xterm, eterm, etc on one of my Linux boxes would set a proper TERM environment that the phone would respect, but I may be barking up the wrong tree there as well.
Dunno, I'm just in search of something to play with, and heck...doing all of the above has kept me pretty busy anyways lol.

[Q] HELP! How do i run an app via ADB?

Had launcherpro installed, and also visual task switcher.
Visual task switcher took over the home key to launch its process. I didn't like this, and wanted to uninstall it and get back to a the normal launcherpro setup (home key launches app drawer).
However, i didn't clear the defaults and set launcherpro to use the home button again - so when i uninstalled visual task switcher, the phone froze, and reset.
Now when i start up the phone, i just get the lock screen, and a rather unresponsive phone - NO LAUNCHER IS LOADING! And i can't use the home key to open a launcher because its still trying to open visual task switcher (now uninstalled).
It WILL though, connect to ADB, and i can open a shell.
My question is - how do i start launcherpro (or even touchwiz, so i can get into the settings and reset the defaults) from an adb shell?? What command do i need to use?
I am rooted, so busybox is installed, if that helps.
i think the easiest way would be to install another luncher and then press "home" -> then it will ask you to choose one.
Code:
adb install package
eg. adw luncher
well, i tried that - it did install, but the home key is still unresponsive.
when the phone starts up it shows the lock screen and thats it. no background, no notification bar, no cell service indicator, nothing. its not loading any sort of launcher/background.
i can get into clockwork to restore a backup, but its ten days old....i'd kind of like to save what i've done.
i need to be able to START a launcher.
hm okay. i guess you have also tried to reinstall "visual task switcher" just to "clear defaults"?
hah, got it:
Code:
adb shell am start -n com.fede.launcher/com.fede.launcher.Launcher
Bah.
Error type 2
android.util.AndroidException: Can't connect to activity manager; is the system running?
Guess its more than just the launcher that isn't running. Wonder what could have messed it up this bad.....
i'll try and reinstall the task switcher just to be sure...
jodue said:
hm okay. i guess you have also tried to reinstall "visual task switcher" just to "clear defaults"?
Click to expand...
Click to collapse
Tried this too, no result.
Getting a popup now, 'process System is not responding' force close/wait. Neither makes any difference. Guess its back to a Nandroid for me.....
hm, looks like it messed up some system-hooks/settings ... strange!
i guess the fastest solution now is to get back to your nandroid backup and redo all the stuff ... pain in the ass but you could probably waste days on getting this to work ...
That's what i'm thinking. Plus, if i do it over, i can always do things different/better.
The exaxt same thing happened to me... Plus I dont have recovery mode so I ended up returning the phone!
Stay away from LaucherPro imho.
Sent from my GT-I9000M using XDA App
I have my doubts that it was launcherpro - i think it was the combination of apps trying to grab the home button press. When i uninstalled the one, everything went straight to hell.
I'd more likely say stay away from using lots of different apps that take control of the hardware keys haha
Launching .prc ebook via adb commnad line
I've had success in launching apps on my Kindle Fire via the adb command line
These Worked....
adb shell am start -n com.example.test3/.MainActivity
adb shell am start -n com.facebook.katana/.LoginActivity
I was able to get the activity via catlog. somewhat simple.
I am really struggling in opening an ebook via the abd command line
and have not been successful in doing so.
I have a need to launch an ebook via the command line ie opening My test ebook is **test.prc**
I can launch **test.prc** by ES3 and by the Kindle its self and I've
catlogged and looked at the activity launcher results but it not as straight forward
(to me) as launching an apk.
I tried many combinations similar to theses with no success.
adb shell am start -n test/.com.amazon.kcp.reader.BookReaderActivity
adb shell am start -n com.amazon.kindle.test/com.amazon.kcp.reader.BookReaderActivy
adb shell am start -n com.amazon.kindle.test.prc/com.amazon.kcp.reader.BookReaderActivy
Any suggestion are helpful.
THX in advanced

[Q] Access Galaxy S from PC + other info

Hi all
So here's my problem, I smashed my galaxy S screen (ink all over the screen).
1. a short time ago i could see certain parts of the screen like the top horizontal bar and saw that touch and tactil and all functions still work
--> what is the operational risk of buying a new screen and installing it myself ?
2. i got the system folder on my computer using ADB
--> how can i use it ? i have the possibility of buing another phone, cani simply push contacts or messages to that one from my computer
3. i'd like to make a titanium backup but i can't see a thing.
--> is there a way to get control on my phone through screen sharing like a vnc ?
my last titanium backup is a bit old, and ll i want are my contacts (i forgot to sync with google, wont let that happen again)
thanks in advance for any help suggestions or solutions
crazy
1. I've heard it being do-able, but have not done this myself. Im sure there will be a tutorial of some kind online (youtube perhaps)
2.I'm not sure where the contacts are kept but yes as Titanium backup does very much the same. It saves the contacts etc
3.Two things being an option here, TV-out, if you can successfully get to the menu and have a cable, if not the nokia one comes quite cheaply.
Secondly someone mentioned Android screencast. Haven't used it myself, but sounds like its worth researching more about if you can get usb debug active. (It doesn't require scrolling up, so i can give you approximate directions to try enable it)
tempnick said:
USB debugging enables control of the phone via the computer using ADB and utilities such as "Android Screencast".
Click to expand...
Click to collapse

[Q] Is there a shortcut to unmount a USB OTG device?

Hi!
I just got my USB OTG cable and it works great. Is there an easier way to unmount the USB storage? Do I have to go into settings>storage every time to unmount the USB device safely?
Thanks!
You can install stickmount free app or donate version. Will put a mount/unmount in the notification bar.
gunnyman said:
You can install stickmount free app or donate version. Will put a mount/unmount in the notification bar.
Click to expand...
Click to collapse
Thanks!
I installed stickmount but it doesn't seem to work. After I unmount the USB drive from StickMount, it's still visible in "settings>storage" and I have to unmount from there again. Am I missing some thing here?
I am rooted on ElementalX kernel.
I'm sorry. I thought it would work.
Try otg helper https://play.google.com/store/apps/details?id=net.shajul.usbotg
I'm using Paragon NTFS but it also doesn't seem to be working as You would like. It kind of unmounts but after connecting some other device, Settings>Storage shows stats of previous one. So I need to unmount and mount again. But it's still a low price for possibility of connecting NTFS devices.
I may be wrong, but I'm of the opinion that the HTC One actually mounts the USB/OTG itself and the other programs attempt to re-mount it to another location (which thy know about) hence, when you unmount it, you only unmount 'their mount' .. the 'HTC mount' is still in place ... hehce the One still thinks that it's mounted ... which it is.
It shouldn't be beyond the kind of devs we have on here to produce a notification for a USB/OTC (click to unmount/mount) once it's detected ad present.
Bump
I would very much like this as well and after a couple of weeks of searching, with detours, side tracks, and no solutions I've finally decided to post about it. The best solution would have been if hTC or Google (?) had included a shortcut to unmount from the settings, so that the user could create a shortcut on the home screen or in their favourite widget (I'm quite liking multicon and widgetsoid, between the two I can open or toggle almost anything from the home screen); as it is it's not even possible to shortcut to the storage page.
The hunt for a solution took me first to the apps store, to find a bunch of root only apps; so naive me (this is my first android phone, indeed my first smart phone) I googled and followed the root instructions from cnet. And it seems I've probably lost all hope of ever returning to stock, PLUS the htcdev bootloader unlocking process actually deleted the stock calculator and flashlight. Silly me, I thought "factory reset" meant what it sounds like, e.g. a factory reset; oh well, I prefer to cross my fingers and ignore warranties anyway :silly:. Then I found out that those apps weren't useful anyway because the stock automount still happens and you actually have to unmount the stock mount point in order to mount with any of them (e.g. stickmount). Stickmount was the closest I got, if I recall correctly nothing else I tried would even mount - I probably didn't try that many, I cottoned on pretty quick that the automount wasn't going to let me go this route anyway. At this point I got side tracked and started playing with other root required apps, but my ham fisted stock + root thing acted funny, with many random root apps I installed to play with unexpectedly restarting the phone. Then I found XDA and I've been lurking, though probably not doing as much reading as I should: thousands upon thousands of pages are a tad intimidating. Now I've got ARHD 71.1, with the toolbox & exposed & XSBM more or less tweaked to my liking and everything running smooth. Stickmount gets closer now: it can mount as well as the system. I started thinking about custom kernels, ntfs support, etc; but with no clear info searching whether kernel ntfs support would even automount, and it still doesn't get me what I want so I think I've had enough poking the system files for now. I just tried 'su' then 'umount /storage/usb/', it appears to unmount but I still get 'USB storage unexpectedly removed' when I unplug, and I can't find a way to create a shortcut without the window persisting (android terminal emulator). Also tried scripter, no idea if it can create shortcuts and it couldn't even run the scripts it created so I uninstalled it pretty quickly.
It comes down to: can I get a shortcut to dismount the stock OTG or can I disable the stock mount to properly use an alternative instead of doubling up? And (looking at you hTC and Google, NOT the XDA community which I greatly appreciate), if not why not? This thing is basically a computer so why is android so limited out of the box?
(Sorry for the long noobish ramble, hopefully I got across what I've tried and why it doesn't work. I'm too tired to reread it again. Perhaps at least this has cautionary tale value?)
Found the widgetsoids command option which works silently, unfortuneately it also fails silently too leaving usb mounted if there's any file operations. Maybe there's a more complicated command I could use then 'umount /mnt/usb/'? I have zero idea where to start, but at this point I want to make an app that can hook into the native process and either send it commands or disable it. I don't suppose there's a newbie guide to figuring out what service is responsible for something and then hacking it?
i tried stickmount on a rooted huawei GR5
it works perfect thank you

Categories

Resources