Porting Moto One Touch Nav to Android One? - Moto X4 Questions & Answers

Any ideas on how to get One Touch Nav feature on the Android One device? Maybe someone can post the Moto APK or port it over to the Android One device.
Edit: Someone figured this out. imgur . com/a/lL1ZO#nsbPp4p

This don't work for me, I'm on 8.1 looking for a fix.

Kevinreid1 said:
This don't work for me, I'm on 8.1 looking for a fix.
Click to expand...
Click to collapse
I fastboot flashed 8.1 and lost the one button nav from my 8.0. What I ended up doing was flashing back to 8.0, enabling the one button nav using nova launcher or QuickShortCutMaker, then OTA updated all the way to July security patch. As long as you don't wipe data, or factory reset, you won't lose the one button nav.
I have however been trying to figure out where it is stored in data so I can just save the files to my external SD and in the event I wipe data or factory reset, I can just drop the files back where they need to be and reboot. (So if anyone knows where these are stored, please help. It's not in root\data\data\com.motorola.actions like one would think. There is also a symlink in there on the lib folder to root\data\app\com.motorola.actions................ , but wiping out both of those folders does not wipe out the one button navigation that I have.)
If you go the downgrade route then OTA back up to current, as long as you are rooted, you can back up your userdata (data) partition so you can just restore if needed. Just be sure to remove any security before doing the backup otherwise the partition will be encrypted and likely give you grief when restoring. Once the backup is complete, you can reboot, and set up your password, pin, fingerprint etc again.
Hope this helps.
---------- Post added at 04:47 PM ---------- Previous post was at 04:42 PM ----------
If I could find the correct files and knew how to package them up as an APK, I would post it on the forums for others to install.

Related

[Q] Can't Access Internal SD Card - Need original platform.xml file

So things were going well... I had rooted my S5 thanks to Geohot, was able to install and run Titanium Backup and see my old backups from my last phone. Then when I tried to backup my S5 I ran into the "insufficient space error". A quick Google searched revealed that I needed to edit my platform.xml file to be able to write to my entire External SD. So I did edit platform.xml, reboot the phone and voila.... I can't access either my internal or my external SD card! Far as I can tell, I screwed up my permission in platform.xml.
Can someone please send me their original so that I can hopefully get my phone fixed?
If that doesn't work I may just have to reformat and lose all my data since I can't find any other way to fix permission since I can't run most of the programs on my phone (I can, however, use Solid Explorer).
Where is the file located? And you need it from a non rooted phone? Just did this for another member today.... I suppose I could do this for you as well.... don't want you to lose all your data bro.
---------- Post added at 04:00 PM ---------- Previous post was at 03:55 PM ----------
What I did with titanium Bu was use the sdfix https://play.google.com/store/apps/details?id=nextapp.sdfix and went into preferences in TBU and changed Backup Folder Location to /storage/extSdCard/TitaniumBackUp
This of course assuming you have a micro sd card in the phone. Give me the path to where the file is and I'll grab it for you from my wife's non rooted phone.
---------- Post added at 04:17 PM ---------- Previous post was at 04:00 PM ----------
Pm sent with the file from my rooted phone that has working permissions... good luck!
nicetucu said:
Where is the file located? And you need it from a non rooted phone? Just did this for another member today.... I suppose I could do this for you as well.... don't want you to lose all your data bro.
---------- Post added at 04:00 PM ---------- Previous post was at 03:55 PM ----------
What I did with titanium Bu was use the sdfix https://play.google.com/store/apps/details?id=nextapp.sdfix and went into preferences in TBU and changed Backup Folder Location to /storage/extSdCard/TitaniumBackUp
This of course assuming you have a micro sd card in the phone. Give me the path to where the file is and I'll grab it for you from my wife's non rooted phone.
---------- Post added at 04:17 PM ---------- Previous post was at 04:00 PM ----------
Pm sent with the file from my rooted phone that has working permissions... good luck!
Click to expand...
Click to collapse
You're a life saver! The platform.xml file it located in /system/etc/permissions . As I said, I really hope this is all I need to get back to normal...
morockin said:
You're a life saver! The platform.xml file it located in /system/etc/permissions . As I said, I really hope this is all I need to get back to normal...
Click to expand...
Click to collapse
Thanks again for the file, however it does not seem to have done the trick. As far as I can tell, something is happening where the mapping is incorrect for my internal and external SD. I can still access the files for the internal SD through /data/media/0 and the external SD through the media_rw directory, but the "normal" mappings lead to an empty folder. This is a real problem because most of my apps can't run without access to these folders (I have about 6 apps continously FC'ing when I boot up the phone). What do I do?!?!
morockin said:
Thanks again for the file, however it does not seem to have done the trick. As far as I can tell, something is happening where the mapping is incorrect for my internal and external SD. I can still access the files for the internal SD through /data/media/0 and the external SD through the media_rw directory, but the "normal" mappings lead to an empty folder. This is a real problem because most of my apps can't run without access to these folders (I have about 6 apps continously FC'ing when I boot up the phone). What do I do?!?!
Click to expand...
Click to collapse
I had the same issue. First try a factory reset. If that does not work, then you will need to downgrade, with a factory reset. Just resetting the platform.xml file doesn't work without a factory reset, neither does a factory reset without resetting the platform.xml file. Once you screw up the permissions, then your phone is screwed pretty good. I have a guide in the general section.
shortydoggg said:
I had the same issue. First try a factory reset. If that does not work, then you will need to downgrade, with a factory reset. Just resetting the platform.xml file doesn't work without a factory reset, neither does a factory reset without resetting the platform.xml file. Once you screw up the permissions, then your phone is screwed pretty good. I have a guide in the general section.
Click to expand...
Click to collapse
Could you please direct me to it? I have f'ed my phone in a similar manner and would really like to be able to use it again.
Superfish1000 said:
Could you please direct me to it? I have f'ed my phone in a similar manner and would really like to be able to use it again.
Click to expand...
Click to collapse
Here
http://forum.xda-developers.com/showthread.php?t=2785185

[Q] lost all files on sdcard, but still only have 15 gigs of space?

I have a 32gb locked bootloader att moto x.
I've got it rooted on 4.4 with write protection off, and i've safestrapped a rooted 4.4.2 stock rom to it.
Recently I wanted to upgrade to 4.4.3 with the Krypton rom, so I was cleaning up my sdcard at the same time to get some more space. I guess I made a mistake somewhere along the line because shortly after deleting a couple files, my sdcard came up blank and I lost all my files. The thing is, my phone still shows up with about 15gb of used space, and I know that the rom and system files themselves can't take up that much space. Furthermore, if I go in the google play music app, it's able to play certain songs that were previously on my sdcard, despite it seeming empty to me.
Is it possible the files were relocated somewhere? Kind of like what happens when the sdcard files end up in an 'emulated' folder? (it's not the case here, at least not in /sdcard)
I appreciate your time and help!
frenchie007 said:
I have a 32gb locked bootloader att moto x.
I've got it rooted on 4.4 with write protection off, and i've safestrapped a rooted 4.4.2 stock rom to it.
Recently I wanted to upgrade to 4.4.3 with the Krypton rom, so I was cleaning up my sdcard at the same time to get some more space. I guess I made a mistake somewhere along the line because shortly after deleting a couple files, my sdcard came up blank and I lost all my files. The thing is, my phone still shows up with about 15gb of used space, and I know that the rom and system files themselves can't take up that much space. Furthermore, if I go in the google play music app, it's able to play certain songs that were previously on my sdcard, despite it seeming empty to me.
Is it possible the files were relocated somewhere? Kind of like what happens when the sdcard files end up in an 'emulated' folder? (it's not the case here, at least not in /sdcard)
I appreciate your time and help!
Click to expand...
Click to collapse
Look for a folder called LOST.DIR in the emulated storage.
There are chances that your lost files are present there.This usually happens when you mount the SD card as opposed to connecting it to a PC vai MTP mode.
Do post your findings!
Bhargav4591 said:
Look for a folder called LOST.DIR in the emulated storage.
There are chances that your lost files are present there.This usually happens when you mount the SD card as opposed to connecting it to a PC vai MTP mode.
Do post your findings!
Click to expand...
Click to collapse
Unfortunately it was really wiped clean. It was done via MTP mode. Nothing other than the android folder and download folder, which were both empty.
What I don't understand is what kind of file on my sdcard could have erased all others when deleted? Could it be safestrap related? I'm quite certain the cable was nicely plugged in and didn't move.
And why is some of my music still present? :/
Pretty sure you're flash was corrupt.
I would flash 4.4 again with fastboot and as long as you don't erase anything with fast boot.... I bet all you're files turn back up.
I'm not sure what special steps, if any you need to take with safestrap and that.... But refreshing stock will likely fix it.
---------- Post added at 12:19 PM ---------- Previous post was at 12:18 PM ----------
Of course you'll need to do the whole root and safestrap stuff again after.
---------- Post added at 12:29 PM ---------- Previous post was at 12:19 PM ----------
Here is a guide with a return to stock section. In fact, since you are on 4.4....correct? You could flash 4.2.2 post camera update... Not pre camera.... Cause I think you need that version to root again....
http://forum.xda-developers.com/showthread.php?t=2603358
Basically whatever you did to root and safestrap, you need to do again.
KJ said:
Pretty sure you're flash was corrupt.
I would flash 4.4 again with fastboot and as long as you don't erase anything with fast boot.... I bet all you're files turn back up.
I'm not sure what special steps, if any you need to take with safestrap and that.... But refreshing stock will likely fix it.
---------- Post added at 12:19 PM ---------- Previous post was at 12:18 PM ----------
Of course you'll need to do the whole root and safestrap stuff again after.
---------- Post added at 12:29 PM ---------- Previous post was at 12:19 PM ----------
Here is a guide with a return to stock section. In fact, since you are on 4.4....correct? You could flash 4.2.2 post camera update... Not pre camera.... Cause I think you need that version to root again....
http://forum.xda-developers.com/showthread.php?t=2603358
Basically whatever you did to root and safestrap, you need to do again.
Click to expand...
Click to collapse
The thing is, I've been running this rom just fine for at least 2 months now... And I've connected it to my pc using MTP in the past and it worked without a problem, so I don't see what would be causing one now. That being said I may RSD back to post camera just to make sure, who knows maybe it will fix this. I'll probably do that tomorrow and I'll be sure to post my results. In the meantime if anyone has a less time-consuming method feel free to let me know! haha
Won't hurt to try. ?
Just a follow up: I wiped data via safestrap recovery and installed Krypton. Works fine and now my storage shows about 3 gigs of used space, so my sdcard files are lost for good. How it happened is still a mystery! All I can say is be careful what files you delete from your sdcards!

Anyone have the stock .so file for Google Keyboard?

I screwed up and backed up the wrong file.
Can anyone grab me libjni_latinimegoogle.so for me please.
Install the apk, then get it from /data, or just pull it out of the apk...
Sent from my Moto X
It isn't in the apk
Any help please?
Where it located in the phone?
Slapped my Moto
/system/lib
I may not have that file...I'm in the USA. I found libjni file..but mine doesn't say latinmegoogle.so
Slapped my Moto
Are you stock?
Rooted but yes
Slapped my Moto
Umm.. What does it say?
Everything urs says but take out google
Slapped my Moto
Hmm
Seems like a lot of time spent on this.
You could just flash your stock firmware... Same exact version, don't try to downgrade or you may brick.
http://forum.xda-developers.com/showthread.php?t=2603358
See "returning to stock" section in the guide.
Just don't do fastboot erase userdata. Though I'd backup all your stuff first just in case.
?
---------- Post added at 09:11 AM ---------- Previous post was at 09:10 AM ----------
Actually only flashing the system image should fix it.
I have a TWRP backup, just really didn't want to go that direction.
Why not? You've been over a week on this issue. You could be fixed in 5 minutes. ?
Yes, the backup would work. Just restore system and you should not lose anything. Texts maybe. Use sms backup for that. Have to restore some system settings maybe, but it won't take 8 days. ?
Because, if I don't want any loss, I have to free up a few gig for a backup.
But now that I'm thinking about it, Google keyboard wasn't on this phone as a stock keyboard and I should be able to revert with just deleting the new file that I put in there for the 4.0 keyboard
Then it should simply install from the play store.
And if it wasn't a system app, you don't have a titanium backup of it?
Grr. I guess it was a system app
You don't need free space to flash your firmware system image only. It'll just overwrite what's there and add anything missing. ?
---------- Post added at 09:55 AM ---------- Previous post was at 09:55 AM ----------
With mfastboot I'm talking. And it won't touch your internal SD or data partitions.
---------- Post added at 09:56 AM ---------- Previous post was at 09:55 AM ----------
Only sms might be affected, but I can't remember.
But, if you want to back it up, you need to free up space

Android M preview MPA44I trying to get Viper4Android to work

I came from Android 5.1.0 and had everything working.
I am using Viper4Android for years and always could get it to work... Probably the same now, but for now I didn't succeed.
My upgrade to Android M preview was done without any real preparation. When I took my phone out my pocket 2 days ago it was in a boot screen and asked me for the access code.
When I entered it I saw it was wiping all data of my phone...
Luckily I have Titanium Backup and decided this was also the day to try those previews of Marshmallow.
I copied the the folders Whatsapp and TitaniumBackup to my PC and installed it.
I was pleasantly surprised in the way it restored my desktop, but that was after I had to set my WiFi to a static IP or else I was not getting an IP.
Later I learned that I need to select the "old DHCP-client" to get access.... (why make a new one if the old one works and the new one doesn't?)
I was able to install restore as it was before, but I can't get Viper4Android to work.
I suspect it's something with Selinux.
I restored the app that changes the SeLinux through Titanium (I'm mentioning it as it might be the reason).
It gained root access, but already said it was running in "permissive" mode. Not explicitly, but I could only select enforcing.
Another difference with my previous system is that I don't have that warning all the time that I need to remove that app (the Selinux changer).
I also have root explorer on my phone and that one behaves strange when I set it into "root mode"
Suddenly I can't get straight to the SDCard and when I from root via mnt to my download folder I can see some files with a size, but files I recently downloaded are 0 bytes.
These files have normal sizes when I look at it in normal mode and also when I do an "ls -al" from a terminal session.
The files that have sizes are pushed there using the USB-cable via MTP. The files with 0 bytes are downloaded using Chrome...
I would be interested to know if others have succeeded to get Viper4Android working on this build on the Nexus 6
flash this http://forum.xda-developers.com/attachment.php?attachmentid=3375659&d=1435075941 then flash viper, then boot up.
Thank you very much, that did the trick.
I noticed there was an APK of viper4android in that zip, so I didn't install the viper4android afterwards as I was afraid there would be something in that package which could spoil it.
Thanks.
I would really like to know what part fixed it.
frater said:
Thank you very much, that did the trick.
I noticed there was an APK of viper4android in that zip, so I didn't install the viper4android afterwards as I was afraid there would be something in that package which could spoil it.
Thanks.
I would really like to know what part fixed it.
Click to expand...
Click to collapse
honestly, i dont know what the fix is.
---------- Post added at 02:26 PM ---------- Previous post was at 02:24 PM ----------
here is the n6 viper thread. that zip was from the op of this thread http://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137

Need help for updating,backup and restore date

Im a long time xiaomi user and recently return to samsung device. Just asking, if i update my phone through odin will it wipe my internal storage? As i got the 1tb version and so many precious data in it, its such a hassle and will take more time to backup my data to pc as this device is my current daily driver.
Second question, if i back up my data to pc, and then after updating phone, i transfer back those file such as images to the phone, will it change the date of the image to a new transfer date(pc to phone transfer)? I dont wanna ruin my gallery because it will be sorted as the new transfer file date. Im sorry if i explained it wrong but i hope you get the image for what i really want to explain. Is there any software backup or restore the image to a original date or a file to a storage? thanks.
#1- NO. It wont wipe your data, but is highly recommended to wipe data after flahing odin, becausw if not it will probably mix the files. Give it a try.
---------- Post added at 08:50 AM ---------- Previous post was at 08:49 AM ----------
#2-NO, it will be exactly the same if you copy pasta the same fomder because the date is written in the photo archive. So dont worry. Use Smart Switch btw.

Categories

Resources