[query] amazfit Stratos Apk installation? - Amazfit

Hi i have stratos with English firmware.
Is there a way to install APK directly from watch? Without usb connected to PC.
I transferred apk but i am unable to install, the installer crashes everytime.
Is there an easier way to install apk from Android mobile?
Or is there an android adb?
Thanks in advance.
Also my battery is 1 day with GPS always OFF and heartrate always ON. Is this normal?

I have the Pace not the Stratos but I don't think that you can install apps from the watch. It is possible on the Pace to use ADB to enable "unknown sources" and then attempt to install apks from the internal memory, but due to the screen size the installer does not show correctly and it is impossible to finish installing the app.
I would think that results on the Stratos would be very similar even if you found an apk that is compatible it.

I dont have screen size issues, it says installation protected and asks to press ok to install and continue (something similar) then intaller crashes.

Sounds like you got a permission issue.
Have you tried one of these?
adb shell settings put global install_non_market_apps 1
or
adb shell settings put secure install_non_market_apps 1
If you still get a similar error, then you may need root.

anox said:
Sounds like you got a permission issue.
Have you tried one of these?
adb shell settings put global install_non_market_apps 1
or
adb shell settings put secure install_non_market_apps 1
If you still get a similar error, then you may need root.
Click to expand...
Click to collapse
Ok, so after setting both settings menrioned by you i can see the install screen. And unfortunately as you mentioned i cannot see the install button
My watch has 3 buttons and none of them do the CLICK action.
Thank you for the adb commands

Is ther a shell command see all the supported settings?

firoz3321 said:
Ok, so after setting both settings menrioned by you i can see the install screen. And unfortunately as you mentioned i cannot see the install button
My watch has 3 buttons and none of them do the CLICK action.
Thank you for the adb commands
Click to expand...
Click to collapse
I know this is so late but I came across this in my journey to update watch droid assistant.
type the commands they gave you to enable unknown sources, then type adb shell wm density 150, this makes the screen show enough to hit install.
then type adb shell wm density 238 to return to the normal resolution. I know this still requires a computer to keep normal density but there is technically a way.

sonicscrewup said:
I know this is so late but I came across this in my journey to update watch droid assistant.
type the commands they gave you to enable unknown sources, then type adb shell wm density 150, this makes the screen show enough to hit install.
then type adb shell wm density 238 to return to the normal resolution. I know this still requires a computer to keep normal density but there is technically a way.
Click to expand...
Click to collapse
If we have access to PC then there are easier methods to install apk isn't it?

firoz3321 said:
If we have access to PC then there are easier methods to install apk isn't it?
Click to expand...
Click to collapse
In most cases yes, in my case no. I had updated the companion app on my phone, so my watch version was incompatible, instead of revert the phone app, I decided to force the watch to allow me to install. Changing the resolution worked like a charm.
APK installer is easier if you can get the latest apk to your computer, but i could only get it via the app pushing it to the watch.

sonicscrewup said:
In most cases yes, in my case no. I had updated the companion app on my phone, so my watch version was incompatible, instead of revert the phone app, I decided to force the watch to allow me to install. Changing the resolution worked like a charm.
APK installer is easier if you can get the latest apk to your computer, but i could only get it via the app pushing it to the watch.
Click to expand...
Click to collapse
Here is an easy way to install an app on the watch without any screen size issue:
- install the wear part of this-> https://play.google.com/store/apps/details?id=com.sssemil.advancedsettings&hl=en
When installing an apk on the watch using any file manager, just select Advanced Settings instead of the default Package Installer.

anox said:
Here is an easy way to install an app on the watch without any screen size issue:
- install the wear part of this-> https://play.google.com/store/apps/details?id=com.sssemil.advancedsettings&hl=en
When installing an apk on the watch using any file manager, just select Advanced Settings instead of the default Package Installer.
Click to expand...
Click to collapse
Works, but root on watch is required. So it's clear that people with stock firmware (or even common custom ROM with just adb root) cannot use this.
By the way, it seems that if you get adb root and add the permission to install 3rd party apps on watch then it works... I haven't tested this yet tho.

lfom said:
Works, but root on watch is required. So it's clear that people with stock firmware (or even common custom ROM with just adb root) cannot use this.
By the way, it seems that if you get adb root and add the permission to install 3rd party apps on watch then it works... I haven't tested this yet tho.
Click to expand...
Click to collapse
Apparently, sonicscrewup already has all what is required

hi,
anox suggested to install the wear part of this https://play.google.com/store/apps/d...settings&hl=en (
Advanced Settings for Watch) in order to install apk in the watch without pc
but where to find the apk intended to install on the watch (because the
"Advanced Settings for Watch" usually installs on the phone, and then transfers the wear part to the watch)?
I figured it out, probably is not the easier way to do it.
you decompile the phone apk (using apk easy tool), then you will find the wear apk inside the res/raw folder.
you can install it on the watch directly, or probably better, convert it first using this tutorial (https://forum.xda-developers.com/smartwatch/amazfit/android-wear-apps-to-android-read-apk-t3726835)
the "Advanced Settings for Watch" works well in the amazfit to install apks, and to do other things, but of course, there are many features making the app to crash.
cheers

carloscolhao said:
hi,
anox suggested to install the wear part of this https://play.google.com/store/apps/d...settings&hl=en (
Advanced Settings for Watch) in order to install apk in the watch without pc
but where to find the apk intended to install on the watch (because the
"Advanced Settings for Watch" usually installs on the phone, and then transfers the wear part to the watch)?
I figured it out, probably is not the easier way to do it.
you decompile the phone apk (using apk easy tool), then you will find the wear apk inside the res/raw folder.
you can install it on the watch directly, or probably better, convert it first using this tutorial (https://forum.xda-developers.com/smartwatch/amazfit/android-wear-apps-to-android-read-apk-t3726835)
the "Advanced Settings for Watch" works well in the amazfit to install apks, and to do other things, but of course, there are many features making the app to crash.
cheers
Click to expand...
Click to collapse
Yah, I sometimes leave something out. There are already several threads talking about how to install Android Wear app on this watch.
Anyway, an APK file is just a normal compressed ZIP file. So, the quick & easy way to install the wear part of Android Wear app is to:
- Change the file extension from "apk" to "zip"
- Extract the zip file and get the wear APK file inside the res/raw folder to install on the watch
Personally, I don't use any tool or recompile any Android Wear app in order to just install on the watch. I don't see any real world result difference.

Thanks.
I did not realise an apk could be decompressed as a simple zip. Good to know

anox said:
Sounds like you got a permission issue.
Have you tried one of these?
adb shell settings put global install_non_market_apps 1
or
adb shell settings put secure install_non_market_apps 1
If you still get a similar error, then you may need root.
Click to expand...
Click to collapse
Wanted to understand if this setting is maintained across firmware updates. I have a very poor data connection with my charger and this setting is a savior, along with File Manager+. So was wondering if I'm going to lose this at every update.

adityavaidya said:
Wanted to understand if this setting is maintained across firmware updates. I have a very poor data connection with my charger and this setting is a savior, along with File Manager+. So was wondering if I'm going to lose this at every update.
Click to expand...
Click to collapse
Just found this thread tucked away and it works perfectly. No fiddling with any poor USB connections anymore. It's by XDA user zmad2000
https://forum.xda-developers.com/smartwatch/amazfit/amazfit-pace-enable-app-list-install-t3639617
Here's the solution just to ensure that it's archived.
Background
I was have trouble getting my Amazfit Pace to be recognized by the adb program or the ADK installer. When it was in the dock it i could look at the files but not have it recognized by the other apps. I have the Amazfit Pace US version with ROM 1.3.3a
Here are the steps i took.
Enable the "developers mode" by tapping on the legal notice.
Plug in the Amazfit to the computer and put a blank file called "launcher_config.ini" in the main directory
Restart the watch. Once it has booted up connect it via the wifi to the same network your computer is on.
Open and cmd prompt and got to "C:\Users\Rich\AppData\Local\Android\sdk\platf orm-tools" directory (this will differ based on you user name)
Type adb connect (ip address of watch)
Then type adb install (whatever app you want)
Not sure if this is the 100% but it worked for me and my watch was right out of the box. Hope this helps some people.
Click to expand...
Click to collapse
Edit: What I've found is that once you enable developer mode, adb over WiFi is automatically enabled. You don't seem to need that file to be present. Only problem is that adb is now enabled over WiFi at all times when the watch is connected. So there is a security risk, albeit a small one because I'd only connect my watch to my home WiFi.
So all that's required is:
Go to Settings->About
Tap on the Serial number 7 times
Ensure the watch is connected to the same WiFi as your computer
Type adb connect (ip address of watch)

but are you able to install applications directly from the watch?
I did everything but when I try to install using "advanced settings" I always see the word "working" but the installation process never ends

apgeo said:
but are you able to install applications directly from the watch?
I did everything but when I try to install using "advanced settings" I always see the word "working" but the installation process never ends
Click to expand...
Click to collapse
It only works with root, or if you use a modded PackageManager, used in some custom ROMs, after allowing 3rd party APKs installations (non-Market security check).

sonicscrewup said:
I know this is so late but I came across this in my journey to update watch droid assistant.
type the commands they gave you to enable unknown sources, then type adb shell wm density 150, this makes the screen show enough to hit install.
then type adb shell wm density 238 to return to the normal resolution. I know this still requires a computer to keep normal density but there is technically a way.
Click to expand...
Click to collapse
Thanks a lot! That actually worked for me! :highfive:

Related

Spoofing Google Play to download any app on Nexus Q

Hi,
When I go to gPlay on the Q and click on "Apps" I only get like 150,000 results available for download, only a small fraction of the total apps available. When I go there on my computer browser to try to download an app to the Q it says "This app is not compatible with this device" for 90% of the apps. So, no dice with either method.
I have been sideloading apps and most of them work just fine. So I want to get around this gPlay restriction on the Q so I can just download apps directly from gPlay rather than having to sideload them.
(I am fully aware that the reason why gPlay keeps track of which devices are compatible is to avoid more "broken" apps than necessary, but in the case of the Q their own system appears to be broken itself, so I want to get around it.)
So, I bought the Device Spoofer app for $1.50USD
https://play.google.com/store/apps/details?id=com.scheffsblend.devicespoof&hl=en
which, despite the reviews worked just fine for me on both the Nexus 7 and on Nexus Q. It changes your build.prop file to spoof Google Play into thinking you are a different device of your choosing. Note that, as it says in the instructions, you need to spoof the device using the app, reboot, go to gPlay, *download an app* (any app), and from then on gPlay will register your device as a different one.
That works for me -- I select for example "Galaxy Nexus", go thru the steps above, and voila, gPlay in my computer's browser has now replace "Nexus Q" with "Galaxy Nexus". Pretty cool.
HOWEVER, and I am now getting to the point, this doesn't allow me to download any more apps than I had access to before! It still says "This app is not compatible with this device ["Galaxy Nexus"]" for the same apps that were incompatible before. Browsing gPlay on the Q also doesn't yield any new opportunities for downloading apps.
I think what is happening is that even though the build.prop file is being changed, the Q is still reporting to gPlay that it doesn't have, for instance: GPS, phone functionality, etc etc, long list of items. And that means that any apps that require any one of those functionalities is "not compatible" (despite the fact that sideloading many of them means they work just fine).
So, my point is, does anyone know how to spoof gPlay so that the Q reports to gPlay that it has all of the bells and whistles? (GPS, phone functionality, etc etc)
Thanks
I downloaded all the .xml files from my Q's /system/etc/permissions folder and compared them to those downloaded from my Nexus 7. There are about half the number of files and indeed many things are not supported, no surprise.
Is it safe to just copy all the .xml files from my Nexus7 to my NexusQ? (plus a few .jar files that are linked to in the .xml files).
And perhaps then gPlay will show more apps?
OK sorry for multiple posts, but what the heck I just tried it. And can't see any more apps on gPlay. Tried downloading one that was visible as I thought it might only report its permissions at download-time, but nothing changed after the download. Drawing blanks here.
FIGURED IT OUT!
That's right folks, you can now download any app directly onto the Q! No sideloading, no adb.
Followed these instructions for a different device. Basically I was on the right track but needed to change the .xml's file permissions back to rw-r-r and then clear gPlay cache, reboot, etc, then it worked.
Pasting the steps from this page http://www.slatedroid.com/topic/34849-guide-to-fix-market-to-get-more-apps-compatible/ below, with the small modification that I got my .xml files from my Nexus 7, not from his/her link, and I only loaded the tablet_core_hardware.xml so far (I have not attempted loading on any of the Nexus 7's other .xmls but most of them don't seem useful). Thanks go out to bosondehiggs of slatedroid.com. I have made a note in square brackets at which point my Nexus Q gPlay started suddenly showing all apps.
A. Backup /system/etc/permissions (just take a copy with ES file explorer or root explorer.recommended just in case)
B. copy the xmlfiles files into /system/etc/permissions (android.hardware.location.gps.xml, android.hardware.location.xml, com.android.location.provider.xml, tablet_core_hardware.xml) agree to over write all of them
C. Make sure the file permission are rw-r-r (with ES file explorer, long tap then change properties on each file..to help you out all files in that directory need to be rw-r-r)
D. Go to settings->apps->all and tap Google Play Store
E. Click on Clear data
F. REBOOT tablet
market still not working
Go to settings->apps->all Go to “Google Play Store” again
‘Clear Cache’ if it lets you then ‘Force Stop’ — DO NOT Clear data
back and Go to “Google Services Framework”
‘Clear data’ then ‘Force Stop’
REBOOT your machine. [After rebooting, the Nexus Q worked with gPlay just fine!]
Then after reboot market is still not working.. then go into..
settings->apps->all google play store again open it but this time clear data if it lets you..
thats it exit open market up, login and you should now have full market access....Youtube...Facebook....
Click to expand...
Click to collapse
hey, this looks cool I want to give it a try.
do you mind posting the instructions from beginning to end?
and the xml file needed too?
sonikot said:
hey, this looks cool I want to give it a try.
do you mind posting the instructions from beginning to end?
and the xml file needed too?
Click to expand...
Click to collapse
Sure, happy to. I'll include in greater detail than an expert hacker needs, so it's more noob-friendly.
First you need ES File Explorer app (get es_file_explorer_v1_6_1_7.apk or latest version from the publisher at http://www.estrongs.com/en/download.html).
adb connect to your device if not already. Type "adb devices" to check you are connected.
adb install the ES File Explorer .apk, and run it using the Trebuchet launcher.
Press "settings" (see my keyboard page to see how to do that). Scroll down and click Settings and enable "Up to root". Also enable "Root Explorer". OK we're done here for now, we'll use this app later.
Download this file: http://www.davidnhutch.com/tablet_core_hardware.xml. It's one of the .xml permissions files from the Nexus 7. You may also try other .xml files from other devices at your own risk. Or you can try mine, I guess also at your own risk.
Let's go back to adb. "adb shell"
"su"
"mkdir /sdcard/permissionsbackup"
"cat /system/etc/permissions > /sdcard/permissionsbackup"
"exit"
"exit". You should now be out of shell but still in the command window.
"adb push <path-to-that-xml-file>/tablet_core_hardware.xml /sdcard/tablet_core_hardware.xml"
"adb shell"
"su"
"cat /sdcard/tablet_core_hardware.xml > /system/etc/permissions/tablet_core_hardware.xml"
If you want, check it's there: "cd /system/etc/permissions" "ls"
"exit"
"exit"
Next we will change the file permissions for that file we just copied. Open ES File Explorer, click "Up" once to get to the root directory, click System > etc > permissions. Right click or long-press on tablet_core_hardware.xml. Scroll to the bottom of the list that comes up and select Properties. Click the Change button. Select the following boxes, and only the following boxes: User read, User write, Group read, Other read. Click OK, OK. The other files in that directory also need to be rw-r-r, but they should be fine.
Go to Settings > Apps > All > Google Play Store
Click Clear data
Reboot the Q by typing "adb reboot". If you did that using adb-over-wifi, then you'll probably need to do the "adb connect" thing again to reconnect.
Open Google Play. If it's still not working (still shows only a few apps), then continue.
Go to Settings > Apps > All > Google Play Store
Click Clear cache if it lets you, then click Force stop. DO NOT Clear data
Go back once and go to “Google Services Framework”
Click Clear data then Force stop
Reboot the Q again in the same way. After rebooting, my Nexus Q worked with gPlay just fine! However if you still don't see new apps, continue.
Go to Settings > Aapps > All > Google Play Store
Clear Data if it lets you
That's it! Now just Open Google Play, login and you should be able to see and download almost any app either directly on the Q or remotely through a browser on your computer. You may need to download just one app (any app) in order to be able to get the remote download via browser thing working, as Google Play appears to update its knowledge of which devices you have only when you download something.
davidnhutch said:
Sure, happy to. I'll include in greater detail than an expert hacker needs, so it's more noob-friendly.
Click to expand...
Click to collapse
I have now put that list here: http://davidnhutch.com/sandbox/blog/how-to-make-google-play-show-you-more-apps/
I will attempt to maintain the instructions at the above link (in case there are errors, or in case the non-GoogleIO Nexus Q's behave differently to the GoogleIO NexusQ (which I have)).
davidnhutch said:
I have now put that list here: http://davidnhutch.com/sandbox/blog/how-to-make-google-play-show-you-more-apps/
I will attempt to maintain the instructions at the above link (in case there are errors, or in case the non-GoogleIO Nexus Q's behave differently to the GoogleIO NexusQ (which I have)).
Click to expand...
Click to collapse
hey step 3 isnt working on the assumption I know how to lauch trebuchet on Q.
How would I launch trebuchet?
sonikot said:
hey step 3 isnt working on the assumption I know how to lauch trebuchet on Q.
How would I launch trebuchet?
Click to expand...
Click to collapse
bump can somebody upload the file for trebuchet and explain how to run this launcher so we can run .apks
thanks
UKROB86 said:
bump can somebody upload the file for trebuchet and explain how to run this launcher so we can run .apks
thanks
Click to expand...
Click to collapse
Sorry, I assume you have already followed the instructions by kornyone here to root and install a launcher:
http://forum.xda-developers.com/showthread.php?p=28484300
There are other ways of doing this too. Some folks have gotten CM9 working on it.
I just made this quick video which shows Trebuchet and the Google Play showing most apps available, near the middle of this video.
What Can You Do with the Nexus Q? : http://youtu.be/6rb4iQDBom0
Press "settings" (see my keyboard page to see how to do that). Scroll down and click Settings and enable "Up to root". Also enable "Root Explorer". OK we're done here for now, we'll use this app later.
Click to expand...
Click to collapse
Can you provide us with the link to your keyboard page so I can mimic these steps on my Q. Also to navigate around on the Nexus Q does it still require a USB mouse to be plugged in to it? I rooted my Q but I'm in the process of trying to add AOSP's Jelly Bean ROM ( http://forum.xda-developers.com/showthread.php?t=1776202 ) and use CM9's Trebuchet Launcher ( http://forum.xda-developers.com/showthread.php?t=1410674 ).
I don't want to get in a position where its all on there and I can't navigate the damn thing. The goal is to use what you provided along with these other resources and work it wirelessly via an app like tablet remote or droid input type app.
mrjaymillz said:
Can you provide us with the link to your keyboard page so I can mimic these steps on my Q. Also to navigate around on the Nexus Q does it still require a USB mouse to be plugged in to it? I rooted my Q but I'm in the process of trying to add AOSP's Jelly Bean ROM ( http://forum.xda-developers.com/showthread.php?t=1776202 ) and use CM9's Trebuchet Launcher ( http://forum.xda-developers.com/showthread.php?t=1410674 ).
I don't want to get in a position where its all on there and I can't navigate the damn thing. The goal is to use what you provided along with these other resources and work it wirelessly via an app like tablet remote or droid input type app.
Click to expand...
Click to collapse
Sorry, I mean the keyboard page on my website: davidnhutch.com/nexusq, click on Keyboard > Special Keys.
Basically, the "menu" button on android is mapped to the same keycode as the "menu" button on Windows keyboards, which usually has an icon that looks like a drop-down menu with a pointer hovering over it. (http://en.wikipedia.org/wiki/Menu_key)
You also can do all this from the command line without ES File Explorer, I'm just trying to make it a bit more visual, plus, ES is useful.
I am very interested in what you described you are working on, as I am hoping to try the same thing when I get some time. Please post your results and steps!
davidnhutch said:
Sure, happy to. I'll include in greater detail than an expert hacker needs, so it's more noob-friendly.
First you need ES File Explorer app (get es_file_explorer_v1_6_1_7.apk or latest version from the publisher at http://www.estrongs.com/en/download.html).
adb connect to your device if not already. Type "adb devices" to check you are connected.
adb install the ES File Explorer .apk, and run it using the Trebuchet launcher.
Press "settings" (see my keyboard page to see how to do that). Scroll down and click Settings and enable "Up to root". Also enable "Root Explorer". OK we're done here for now, we'll use this app later.
Download this file: http://www.davidnhutch.com/tablet_core_hardware.xml. It's one of the .xml permissions files from the Nexus 7. You may also try other .xml files from other devices at your own risk. Or you can try mine, I guess also at your own risk.
Let's go back to adb. "adb shell"
"su"
"mkdir /sdcard/permissionsbackup"
"cat /system/etc/permissions > /sdcard/permissionsbackup"
"exit"
"exit". You should now be out of shell but still in the command window.
"adb push <path-to-that-xml-file>/tablet_core_hardware.xml /sdcard/tablet_core_hardware.xml"
"adb shell"
"su"
"cat /sdcard/tablet_core_hardware.xml > /system/etc/permissions/tablet_core_hardware.xml"
If you want, check it's there: "cd /system/etc/permissions" "ls"
"exit"
"exit"
Next we will change the file permissions for that file we just copied. Open ES File Explorer, click "Up" once to get to the root directory, click System > etc > permissions. Right click or long-press on tablet_core_hardware.xml. Scroll to the bottom of the list that comes up and select Properties. Click the Change button. Select the following boxes, and only the following boxes: User read, User write, Group read, Other read. Click OK, OK. The other files in that directory also need to be rw-r-r, but they should be fine.
Go to Settings > Apps > All > Google Play Store
Click Clear data
Reboot the Q by typing "adb reboot". If you did that using adb-over-wifi, then you'll probably need to do the "adb connect" thing again to reconnect.
Open Google Play. If it's still not working (still shows only a few apps), then continue.
Go to Settings > Apps > All > Google Play Store
Click Clear cache if it lets you, then click Force stop. DO NOT Clear data
Go back once and go to “Google Services Framework”
Click Clear data then Force stop
Reboot the Q again in the same way. After rebooting, my Nexus Q worked with gPlay just fine! However if you still don't see new apps, continue.
Go to Settings > Aapps > All > Google Play Store
Clear Data if it lets you
That's it! Now just Open Google Play, login and you should be able to see and download almost any app either directly on the Q or remotely through a browser on your computer. You may need to download just one app (any app) in order to be able to get the remote download via browser thing working, as Google Play appears to update its knowledge of which devices you have only when you download something.
Click to expand...
Click to collapse
Hey David, the .xml file you linked isn't downloadable, can you take a look into this? Also can you provide some clarification on steps 6-15 above, do I enter ADB then type su and everything else as one command? Can you provide a command prompt code showing every entry step by step?
Also as a side not I can't open google play on the launcher or a matter of fact I can't even get a keyboard to show up on the screen to sign in to my google account. Any ideas? I am using a wireless mouse to navigate and tablet remote via my nexus 7 for other inputs.
Like the previous post stated... The xml file isn't available. Can someone post theirs please?
Sent from my Galaxy Nexus using xda app-developers app
[Edit]
I went ahead and downloaded an AOSP Nexus 7 ROM and extracted the file for myself. I don't know what Box's limitations are, but here's a link to the tablet_core_hardware.xml
https://www.box.com/s/e5e0da606448340fd736
xMemphisx said:
Like the previous post stated... The xml file isn't available. Can someone post theirs please?
Sent from my Galaxy Nexus using xda app-developers app
[Edit]
I went ahead and downloaded an AOSP Nexus 7 ROM and extracted the file for myself. I don't know what Box's limitations are, but here's a link to the tablet_core_hardware.xml
https://www.box.com/s/e5e0da606448340fd736
Click to expand...
Click to collapse
Thanks for the .xml file, box link works with no issues. By the way would you happen to have any ideas on how to get a keyboard to appear on screen for the nexus q? Currently I can't type/enter any information I can only navigate with my wireless mouse. Clicking on Gmail/Google Play/ Messages/ or anything else that requires a keyboard just seems to close the program within 5 seconds (almost like a force close just without the error message).
mrjaymillz said:
Thanks for the .xml file, box link works with no issues. By the way would you happen to have any ideas on how to get a keyboard to appear on screen for the nexus q? Currently I can't type/enter any information I can only navigate with my wireless mouse. Clicking on Gmail/Google Play/ Messages/ or anything else that requires a keyboard just seems to close the program within 5 seconds (almost like a force close just without the error message).
Click to expand...
Click to collapse
I didn't get a chance to play with it too much yesterday, I would imagine that if you install a 3rd party keyboard and set it to your primary input method it (might) work. I'm going to have a better chance to really look at the Q tonight here in a few hours, so I'll report back with what I can figure out.
[Edit]
I still have had no time to test this yet. The company I work for is at deadline with new software and we have been working 65+ hour weeks here recently, so my Q has just been sitting there. I'm still anxious to test it, but it might still be a few days before work slows back down and I can really get after it again.
mrjaymillz said:
Hey David, the .xml file you linked isn't downloadable, can you take a look into this? Also can you provide some clarification on steps 6-15 above, do I enter ADB then type su and everything else as one command? Can you provide a command prompt code showing every entry step by step?
Also as a side not I can't open google play on the launcher or a matter of fact I can't even get a keyboard to show up on the screen to sign in to my google account. Any ideas? I am using a wireless mouse to navigate and tablet remote via my nexus 7 for other inputs.
Click to expand...
Click to collapse
Hm, weird that two people have said the .xml file is not downloadable -- I tried today and yesterday and it was available both times. Maybe the hosting site was down or something. Anyway it looks like someone else offered the same .xml file at another link so we're all set. I'll leave the .xml file there for a year or so though.
Steps 6-15: Yes, enter everything as quoted. No extra "adb" or "su" or anything is needed, other than what I wrote there. Just follow one step at a time, typing each one and then hitting enter. Shouldn't need a command prompt code entry as it is already, just without the code tags and with extra double-quotation marks. Please let me know if there are any errors though.
As for your last paragraph, it seems there are two issues. 1) Not being able to open gPlay on the launcher. Can you please provide more info? What happens? Does it try to open then crash? Is the gPlay app missing? 2) Can't get a keyboard to show up on the screen. -- You will never have an on-screen keyboard on the Q. You need an external keyboard, plugged into the USB port. If you want mouse + keyboard simultaneously, you need a "unifying mouse and keyboard wireless receiver" -- just search amazon for that -- what it is is a mouse+keyboard with just one USB dongle that serves both.
Don't think this will get off topic, but if Google updates the software to Jellybean and adds all the the things you can do in the video, will this method still work?
On a side note, dont think google will add all the functionality as you showed on the video.
Edit: Why is Trebuchet needed for this?
Sent from my ADR6425LVW using Tapatalk 2
300k said:
Don't think this will get off topic, but if Google updates the software to Jellybean and adds all the the things you can do in the video, will this method still work?
On a side note, dont think google will add all the functionality as you showed on the video.
Edit: Why is Trebuchet needed for this?
Sent from my ADR6425LVW using Tapatalk 2
Click to expand...
Click to collapse
You're right, you technically don't need Trebuchet. It just makes life easier than launching everything (e.g. gPlay) via "adb shell am start ..." commands from your computer.
Regarding Google updating to JB, perfectly possible. Possible that everything will be standard in the next Q hardware release. However the real questions are, why was this functionality not included in the first place? Why was the hardware so very limited by the software? And the bigger question, why was the public release of the first Nexus Q sales indefinitely postponed? Presumably they are coming out with something better than what they showed at IO. Whether it's much better or just marginally better remains to be seen.
The best app/function in the video is being able to use OnLive (3D streamed games) in my opinion. Now, OnLive is expensive and I did have a few problems with the keyboard mapping, the mouse not working while OnLive was playing, etc, but it works and shows the potential for streamed games. The Q doesn't have to be the core device either, presumably a tablet would work too. I just think they should have done the hardware differently and made an Xbox competitor (Xsphere?) instead of a competitor to precisely no-one.
On steps 8 and 9 I get
sh: cannot create /sdcard/permissionsbackup: Is a directory
I don't think that I am typing it in wrong and I have copied and pasted as well just in case...The directory is made correctly... Thanks for your help.
"mkdir /sdcard/permissionsbackup"
"cat /system/etc/permissions > /sdcard/permissionsbackup"

Definitive guide to Rooting the Gear S

This thread has been deleted.
This thread has been deleted.
This thread has been deleted.
***** really really really reserved*****
Working w/ Root on a Mac (OSX Yosemite)
CONFIRMED: This works using AT&T (SM-R750A), OSX (Yosemite), VirtualBox and Windows XP. See this link for the driver setup I used on my Mac.
http://www.onebadkid.com/?p=6930
I also find that after factory reset, I still have root! Great job!
---
Also, I haven't been able to get the scripts to work in the virtual machine so I've just been "pushing" the files manually. I did open up the scripts to get the destinations for the various files, so thank you OP. Also, you have to have the Tizen Wearables SDK installed and then use SDB commands in the terminal.
Remember, when using SDB on a Mac, it's: ./sdb [command] (you have to use the "dot-slash")
./sdb devices (to show whether or not your device is connected)
./sdb root on
./sdb shell (puts you into the device's shell so you can navigate the device in a Darwin/Linux terminal)
./sdb push [/full path of the file you want to upload to the device] [/full path of the desination]
I usually open up three Darwin/Linux Terminals on my Mac. One to use to navigate my watch in shell, the other to run the ./sdb command (just like in Windows, you have to run SDB on the mac from within it's home location: "/Users/[you]/tizen-wearable-sdk/tools"), and a third to drop files into so I can quickly see their full file path/location.
"PWD" = print working directory so you can use that in the Darwin/Linux Terminal so you don't get lost.
I'm using Windows 8.1 (don't know if it matters) but after updating to this driver my PC no longer recognized my Gear S. Had to roll back to previous driver.
Ohhhhh!!!
ohh SO installing these and getting it ready for the rest
Edit: got rootfs.img odin'd in so now i wait lmao
Wondering
Good write up so far. I had already gotten root from the previous thread with horrible direcions. LoL After I got my replacement gear s (ALWAYS CHECK YOUR SIM COVER), I rooted it using the bad direction method again (luckily I already know how to do these things), but your directions are very clear cut and noob friendly. You're doing a huge favor to new comers who come looking to root their gear. Hopefully they don't brick them before they find this.
cipherswitch said:
Got any request for certain alarms, notification sounds or ringtones? Shoot me a PM and I will get through them as fast as I can and repost here.
No themes as of yet, but I will definitely be working on custom clock faces apart from everything else​
Click to expand...
Click to collapse
Reset my gear to factory to try out your method.
Odin'd over the root img and all went well after a few reboots (dont' turn off destination, installing new configuration, final reboot).
Watch reboots, open a command prompt and type "sdb root on" (Switched to'root' account mode)
sdb shell whoami
root
sdb shell setup-folder.sh
-1: /bin/setup-folder.sh: Permission Denied
I went and checked your .bat file and it uses the same command. The device says I have root but it's read only file system. I have been trying every trick I know the past half hour; any thoughts?
Megaflop666 said:
Reset my gear to factory to try out your method.
Odin'd over the root img and all went well after a few reboots (dont' turn off destination, installing new configuration, final reboot).
Watch reboots, open a command prompt and type "sdb root on" (Switched to'root' account mode)
sdb shell whoami
root
sdb shell setup-folder.sh
-1: /bin/setup-folder.sh: Permission Denied
I went and checked your .bat file and it uses the same command. The device says I have root but it's read only file system. I have been trying every trick I know the past half hour; any thoughts?
Click to expand...
Click to collapse
Do this
sdb root on
sdb shell
chmod +x /bin/setup-folder.sh
./bin/setup-folder.sh
Megaflop666 said:
Reset my gear to factory to try out your method.
Odin'd over the root img and all went well after a few reboots (dont' turn off destination, installing new configuration, final reboot).
Watch reboots, open a command prompt and type "sdb root on" (Switched to'root' account mode)
sdb shell whoami
root
sdb shell setup-folder.sh
-1: /bin/setup-folder.sh: Permission Denied
I went and checked your .bat file and it uses the same command. The device says I have root but it's read only file system. I have been trying every trick I know the past half hour; any thoughts?
Click to expand...
Click to collapse
Color me embarrassed. It seems in the final uploads, I nabbed the rootfs file that wasn't done yet. Uploading the new file now,sorry for the delay.
I reset, flashed the wrong one to confirm the issue then flashed the correct rootfs and confirmed it working. That was the issue, Im waiting for the new one to upload to mediafire now.
and yeah, I couldnt type this morning, totally freaking out.
cipherswitch said:
Color me embarrassed. It seems in the final uploads, I nabbed the rootfs file that wasn't done yet. Uploading the new file now,sorry for the delay.
I reset, flashed the wrong one to confirm the issue then flashed the correct rootfs and confirmed it working. That was the issue, Im waiting for the new one to upload to mediafire now.
and yeah, I couldnt type this morning, totally freaking out.
Click to expand...
Click to collapse
Its all good, I decided to tear into some things and bricked the damn thing, so I am sitting here waiting (forever) for the original firmware to download so I can factory restore it. I was not even able to get into recovery, just download mode. LoL
Oh well, if flashing the original firmware doesn't fix it, i'll take it up to Tmo at 10am and get a new one.
new rootfs uploaded as of 12/17/14 8:42 am est, I also updated the link in the writeup.
::::::Just a quick dirty write-up of how to load sounds with your newly rooted Samsung Gear S::::::
Since most folks are rooting their Gear S for the ability of adding Ringtones (which can be done via a pay app) and adding Notifications, Wallpapers, Watch Faces, you get it......
Once you have followed the awesome rooting guide contained here and you want to load some stuff:
Path for Ringtones:
/opt/share/settings/Ringtones/
Path for Notifications:
/opt/share/settings/Alerts/
Path for Wallpapers:
/opt/share/settings/Wallpapers/
Path for Alarm Sounds:
/opt/share/settings/Alarms/
I have placed both mp3 and off files and they both work fine. Sometimes when setting your applicable Alert/Notification/Ringtone and the file is a mp3, the sound will not play, no worries, it will when the Alert/Notification/Ringtone is invoked.
To load files (Choose appropriate folder listed above)
sdb root on
sdb shell ls /opt/share/settings/Alerts/ (Shows directory listing for /opt/share/settings/Alerts/ on the Gear 2)
sdb push NAMEOFFILE /opt/share/settings/NOTIFICATION_TYPE_FOLDER (ie /Alerts or /Ringtones)
Megaflop666 said:
Its all good, I decided to tear into some things and bricked the damn thing, so I am sitting here waiting (forever) for the original firmware to download so I can factory restore it. I was not even able to get into recovery, just download mode. LoL
Oh well, if flashing the original firmware doesn't fix it, i'll take it up to Tmo at 10am and get a new one.
Click to expand...
Click to collapse
It is SO hard to brick this device so you will be fine! If you get into the firmware failed to install screen you're still good to go. Like I said, I got to bootloops and thought it was dead but stock fixed everything.
No worries you're fine!
You'll be fine!
You will be fine. I've been able to restore from this screen using stock.
Um actually..... its easier. Connect your gear, drop your content into the right folders (eg; ringtones, alerts and such) and run the update script. done and done.
ipstack said:
::::::Just a quick dirty write-up of how to load sounds with your newly rooted Samsung Gear S::::::
Since most folks are rooting their Gear S for the ability of adding Ringtones (which can be done via a pay app) and adding Notifications, Wallpapers, Watch Faces, you get it......
Once you have followed the awesome rooting guide contained here and you want to load some stuff:
Path for Ringtones:
/opt/share/settings/Ringtones/
Path for Notifications:
/opt/share/settings/Alerts/
Path for Wallpapers:
/opt/share/settings/Wallpapers/
Path for Alarm Sounds:
/opt/share/settings/Alarms/
I have placed both mp3 and off files and they both work fine. Sometimes when setting your applicable Alert/Notification/Ringtone and the file is a mp3, the sound will not play, no worries, it will when the Alert/Notification/Ringtone is invoked.
To load files (Choose appropriate folder listed above)
sdb root on
sdb shell ls /opt/share/settings/Alerts/ (Shows directory listing for /opt/share/settings/Alerts/ on the Gear 2)
sdb push NAMEOFFILE /opt/share/settings/NOTIFICATION_TYPE_FOLDER (ie /Alerts or /Ringtones)
Click to expand...
Click to collapse
sbrownla said:
It is SO hard to brick this device so you will be fine! If you get into the firmware failed to install screen you're still good to go. Like I said, I got to bootloops and thought it was dead but stock fixed everything.
No worries you're fine!
Click to expand...
Click to collapse
I wasn't worried to begin with. It's dead, stock firmware flash didn't even fix it. New one will be here tomorrow afternoon. It'll be my third one since I first bought it done my kids drowned the first one. Lmao
Megaflop666 said:
I wasn't worried to begin with. It's dead, stock firmware flash didn't even fix it. New one will be here tomorrow afternoon. It'll be my third one since I first bought it done my kids drowned the first one. Lmao
Click to expand...
Click to collapse
Hm ... what was it doing when you tried to flash?!
I was working on changing some permissions, rebooted it and it never came back, don't even have recovery. From what tmo said, this has happened to other people on this watch

[DEV][PACE/STRATOS] Android Wear Framework

...and not WearOS because this is from an Android 5.1.1 build from 2015
I talked about the Wear framework in this thread, and how it can be partially installed onto the Pace and Stratos
THIS DOES NOT MEAN A FULLY WORKING ANDROID WEAR BUILD!
It doesn't connect to the Wear app, even after installing all the APKs required and following the correct setup procedure (some bluetooth error, even after patching it with the supposed workaround for normal apps, it doesn't work - maybe the Bluetooth stack on these watches doesn't work for Wear)
What it does allow is for standalone wear apps with really simple functions to work. Good examples of this are Wear Bottle Spinner (eliseo.wearbottlespinner.wear) and Interval timer for Android Wear (wearablesoftware.wearintervaltimer), which on this list are "not working" due to lack of wear framework, but work after these files have been copied.
Please do not attempt this if you want a fully stable device, or don't feel comfortable debugging. It may not work for you, and you may end up having to post crash logs or have a not-working device. This is a development thread, it's not fully ready for use yet
Installation
- Download this zip
- Extract it and run the following commands from the folder
Code:
adb root
adb remount
adb push com.google.android.wearable.jar /system/framework
adb push clockwork-system.jar /system/framework
adb push com.google.android.wearable.xml /system/etc/permissions
adb push clockwork-system.xml /system/etc/permissions
adb push ClockworkAmbient.apk /system/priv-app/ClockworkAmbient/ClockworkAmbient.apk
adb reboot
I think this is all that's needed for it to work. My test device has more Wear framework APKs on it than are needed, so I'm not totally sure. If it crashes after doing this, please post a logcat and I'll see if anything else is needed - that's why this is a DEV thread!
These files were taken from the last Android 5.1.1 Wear build for the Gear 2 (itself a port): https://forum.xda-developers.com/gear-2/development/please-help-kernel-compiling-android-t2992953
From having followed the AW porting thread for the Samsung Gear S back in the days I can say the following things:
The Bluetooth stack is indeed different between normal Android and Android Wear but IIRC it should be at least theoretically possible to make it work unless Xiaomi/Huami modified it.
To connect to the AW app it will also require to have all the AW GAPPS properly setup AND the fingerprint of a watch it will recognize with said AW version, even an AW port just won't connect with the app unless there is a proper fingerprint setup in build.prop
On another note great job on doing this and I will be testing it out later today when I will have some free time and an easy way of getting said AW apps.
Hello Quinny, I think you're doing a great job, and it's appreciated. What is the scope of this? I am clear that we will not see Android Wear on our devices, but can Google services and applications be installed? Or would it only be used to install certain applications?
Thanks for your contributions.
zodrac said:
Hello Quinny, I think you're doing a great job, and it's appreciated. What is the scope of this? I am clear that we will not see Android Wear on our devices, but can Google services and applications be installed? Or would it only be used to install certain applications?
Thanks for your contributions.
Click to expand...
Click to collapse
It's to make apps that rely on the Wear framework classes work, but only those that are standalone
Ranomez said:
From having followed the AW porting thread for the Samsung Gear S back in the days I can say the following things:
The Bluetooth stack is indeed different between normal Android and Android Wear but IIRC it should be at least theoretically possible to make it work unless Xiaomi/Huami modified it.
To connect to the AW app it will also require to have all the AW GAPPS properly setup AND the fingerprint of a watch it will recognize with said AW version, even an AW port just won't connect with the app unless there is a proper fingerprint setup in build.prop
On another note great job on doing this and I will be testing it out later today when I will have some free time and an easy way of getting said AW apps.
Click to expand...
Click to collapse
@Quinny899 what do you think, would it be possible?
Hi, will this work with this?
https://play.google.com/store/apps/details?id=prox.lab.calclock&hl=cs
urbami said:
Hi, will this work with this?
https://play.google.com/store/apps/details?id=prox.lab.calclock&hl=cs
Click to expand...
Click to collapse
No
Hello there! I think you are doing a fanstastic job! But I have a problem, I can't do adb remount... It says permission denied. Any help is appreciated
Qufy said:
Hello there! I think you are doing a fanstastic job! But I have a problem, I can't do adb remount... It says permission denied. Any help is appreciated
Click to expand...
Click to collapse
You need to be running a rooted boot image and have successfully run "adb root" before remount.
Quinny899 said:
You need to be running a rooted boot image and have successfully run "adb root" before remount.
Click to expand...
Click to collapse
adb root runs successfully. As for the rooted boot image... Does it mean I need a custom recovery image? (Like TWRP?)
Qufy said:
adb root runs successfully. As for the rooted boot image... Does it mean I need a custom recovery image? (Like TWRP?)
Click to expand...
Click to collapse
What does adb root return? Can you send a screenshot?
Quinny899 said:
What does adb root return? Can you send a screenshot?
Click to expand...
Click to collapse
It returns nothing so I am not sure :/
https://imgur.com/TUeo3ky
Qufy said:
adb root runs successfully. As for the rooted boot image... Does it mean I need a custom recovery image? (Like TWRP?)
Click to expand...
Click to collapse
You have to boot (not flash) an boot image with root support and run the commands directly then.
Do a search for root Amazfit, there are some guides.
GreatApo said:
You have to boot (not flash) an boot image with root support and run the commands directly then.
Do a search for root Amazfit, there are some guides.
Click to expand...
Click to collapse
I will try that thanks
Qufy said:
It returns nothing so I am not sure :/
https://imgur.com/TUeo3ky
Click to expand...
Click to collapse
Nothing = it didn't work.
If it works it says "adbd restarting as root"
Quinny899 said:
Nothing = it didn't work.
If it works it says "adbd restarting as root"
Click to expand...
Click to collapse
Oh ok thanks
Quinny899 said:
...and not WearOS because this is from an Android 5.1.1 build from 2015
I talked about the Wear framework in this thread, and how it can be partially installed onto the Pace and Stratos
THIS DOES NOT MEAN A FULLY WORKING ANDROID WEAR BUILD!
It doesn't connect to the Wear app, even after installing all the APKs required and following the correct setup procedure (some bluetooth error, even after patching it with the supposed workaround for normal apps, it doesn't work - maybe the Bluetooth stack on these watches doesn't work for Wear)
What it does allow is for standalone wear apps with really simple functions to work. Good examples of this are Wear Bottle Spinner (eliseo.wearbottlespinner.wear) and Interval timer for Android Wear (wearablesoftware.wearintervaltimer), which on this list are "not working" due to lack of wear framework, but work after these files have been copied.
Please do not attempt this if you want a fully stable device, or don't feel comfortable debugging. It may not work for you, and you may end up having to post crash logs or have a not-working device. This is a development thread, it's not fully ready for use yet
Installation
- Download this zip
- Extract it and run the following commands from the folder
Code:
adb root
adb remount
adb push com.google.android.wearable.jar /system/framework
adb push clockwork-system.jar /system/framework
adb push com.google.android.wearable.xml /system/etc/permissions
adb push clockwork-system.xml /system/etc/permissions
adb push ClockworkAmbient.apk /system/priv-app/ClockworkAmbient/ClockworkAmbient.apk
adb reboot
I think this is all that's needed for it to work. My test device has more Wear framework APKs on it than are needed, so I'm not totally sure. If it crashes after doing this, please post a logcat and I'll see if anything else is needed - that's why this is a DEV thread!
These files were taken from the last Android 5.1.1 Wear build for the Gear 2 (itself a port): https://forum.xda-developers.com/gear-2/development/please-help-kernel-compiling-android-t2992953
Click to expand...
Click to collapse
Can it delete my ROM(PACEfied)?
Hi is it possible to run google fit directly from watch?
With framewotk or any custom build google fit apk? Anyone test it?
Will the application like a "com.huami.watch.deskclock" and another stock application still works ?
A M A Z F I T S T R A T O S
lensSGzaza said:
Will the application like a "com.huami.watch.deskclock" and another stock application still works ?
A M A Z F I T S T R A T O S
Click to expand...
Click to collapse
Yes.

[HELP] M20 PRO Notifications not showing up on time

I have an issue with my M20P. I got the phone 12 days ago and everything was fine with notifications up until yesterday. As of right now, I am NOT receiving notifications for whatsapp, gmail,* FB, messanger on time. They're constantly late and usually show up only when I actually go into one of the apps, then the content shows up and syncs, I guess.
I decided to manually launch important apps such as gmail, messanger, whatsapp and I checked all 3 boxes (primary, secondary and background launch). And this morning, after some 9 hours of not touching the phone, I woke up and there were some notifications (quite a few actually) and I was happy thinking the issue's gone but I was curious why there were no messanger and gmail notifications (two of my most active apps) and* I was right... as soon as I entered gmail, the mail that I did NOT receive notification for came on top of queue and messanger literally blew with how many notifications came at once. Other apps, less important, followed with some notification.
I'm worried because I actually decided to manually launch apps I use the most and still, the issue persists, even though most of users had this sorted with manual launching...
So yes, manual launching did not fix it for me
Is there anything else I should do and what?
And also, I have found out that this has only happened thus far on WiFi, my home WiFi. Mobile data doesn't seem to be affected. Will have to confirm though. I don't know if that's an important information...
Please help. I don't wanna sell the phone because other than this bs I like it very much
Go into settings/battery/more battery settings and make sure stay connected when device sleeps is toggled on.
jhs39 said:
Go into settings/battery/more battery settings and make sure stay connected when device sleeps is toggled on.
Click to expand...
Click to collapse
I already had that enabled.... anything else?
I'm still looking for any help.. please
Have you tried disabling PowerGenie.apk via adb?
https://forum.xda-developers.com/mate-20-pro/themes/remove-powergenie-to-allow-background-t3890409
Thanks to @klaus27
jhs39 said:
Go into settings/battery/more battery settings and make sure stay connected when device sleeps is toggled on.
Click to expand...
Click to collapse
kai84m said:
Have you tried disabling PowerGenie.apk via adb?
https://forum.xda-developers.com/mate-20-pro/themes/remove-powergenie-to-allow-background-t3890409
Thanks to @klaus27
Click to expand...
Click to collapse
I think this is my last resort. I really don't want to use my laptop to debug something unless completely necessary..
furiouszagreb said:
I think this is my last resort. I really don't want to use my laptop to debug something unless completely necessary..
Click to expand...
Click to collapse
That's the only fix available. You could unpack and decompile PowerGenie and see what's inside. A bunch of routines that try to identify apps that require being online, plus a bunch of hardcoded apps that are allowed to run in the background. That's Facebook and a bunch of Chinese apps. But everything else is being sent to sleep aggressively.
I tried every other setting available and still, the PowerGenie rendered any background app unusable.
You don't need to debug anything. Just turn on debugging, so you can disable PowerGenie. If you want to use your phone the way it is supposed to work, you have to get rid of PowerGenie. Using the ADB method is the only possible way I am afraid.
klaus27 said:
That's the only fix available. You could unpack and decompile PowerGenie and see what's inside. A bunch of routines that try to identify apps that require being online, plus a bunch of hardcoded apps that are allowed to run in the background. That's Facebook and a bunch of Chinese apps. But everything else is being sent to sleep aggressively.
I tried every other setting available and still, the PowerGenie rendered any background app unusable.
You don't need to debug anything. Just turn on debugging, so you can disable PowerGenie. If you want to use your phone the way it is supposed to work, you have to get rid of PowerGenie. Using the ADB method is the only possible way I am afraid.
Click to expand...
Click to collapse
I appreciate the thorough report. Before I do that, I'll run some over night tests to see if this perhaps is just due to my WiFi. For example, I'll leave the phone over night with WiFi disabled and mobile data on. If I receive all the notifications at the time they should have been received - I'll know the issue is with my WiFi and I'll update it to static and use the pre-set DNSs I found online.
I'm guessing you had the same issue... did it only work for you when you disabled powergenie? Have you tried perhaps what I will - to see if it was a WiFi issue? Or did it happen to you on mobile data too?
And what I find EXTREMELY weird - I had P20 Pro like until 15 days ago, updated to EMUI 9 and it received all the notifications on time. Is this solely M20P issue?
My issue was the Blackberry mobile device management suite, my company uses. Those apps use Android for work, so a separate encrypted partition (and a different user id), open a VPN tunnel and fetch emails in the background.
I have tried every possible solution, like turning off startup control, enabling those apps to run in the background, even checked special permissions, tried different hacks, reset my device multiple times, ... . Nothing helped. The VPN tunnel was capped after a few minutes and even if I opened it manually (by starting the app), the email app was sent to sleep hence not receiving anything.
I started digging around and found a way to disable system-apps even when you cannot disable them from the Android menus. I pulled a copy and decompiled it. This PowerGenie app has routines to identify apps that have widgets, pull a lot of power, have notifications, ... . And it has a list of package names (Android apps) that are never sent to sleep. Stuff like Facebook and Chinese apps. As I started digging around I found this to be a commonly reported issue with Huawei smartphones of all flavours. I think they built that in to mask the fact that Kirin has a higher standby drain than Qualcomm and Samsung. I am just assuming that..
For me this definitely wasn't an issue with my WLAN, DNS or the likes. Now without the PowerGenie, when I turn off the flight mode in the morning, the VPN app is connecting automatically and my Blackberry Hub is pulling all emails. WhatsApp, Gmail, even third party calendar apps now show their notifications in time. So I am happy.
Did it have any influence on my battery life? no, not at all.
I did the same for a couple of colleagues having the same phone and issues and they all are very happy now.
My company even stopped supporting Huawei phones because of these issues.
I can't comment on the P20 unfortunately as this was my first Huawei. But maybe the fact that you were upgrading from Oreo to Pie was the difference here.
furiouszagreb said:
I appreciate the thorough report. Before I do that, I'll run some over night tests to see if this perhaps is just due to my WiFi. For example, I'll leave the phone over night with WiFi disabled and mobile data on. If I receive all the notifications at the time they should have been received - I'll know the issue is with my WiFi and I'll update it to static and use the pre-set DNSs I found online.
I'm guessing you had the same issue... did it only work for you when you disabled powergenie? Have you tried perhaps what I will - to see if it was a WiFi issue? Or did it happen to you on mobile data too?
And what I find EXTREMELY weird - I had P20 Pro like until 15 days ago, updated to EMUI 9 and it received all the notifications on time. Is this solely M20P issue?
Click to expand...
Click to collapse
Thanks for explaining everything. I'll try some methods first and if they don't work I'll go with what you did.
Thank you.
@klaus27
It appears you were right. Tried everything, still some come through, some don't. This suck soooo much
furiouszagreb said:
@klaus27
It appears you were right. Tried everything, still some come through, some don't. This suck soooo much
Click to expand...
Click to collapse
Trust me, run through this short procedure and you won't regret it:
1) install Huawei ADB drivers: https://devfiles.co/download/zygGeX8N/Huawei-MediaPad-10-FHD-USB-Drivers-TeamAndroid.zip
2) install and enable ADB: https://www.xda-developers.com/install-adb-windows-macos-linux/
3) Open a CMD window, change directory to where ADB is installed. Run this:
Code:
adb shell pm uninstall --user 0 com.huawei.powergenie
4) Reboot
klaus27 said:
Trust me, run through this short procedure and you won't regret it:
1) install Huawei ADB drivers: https://devfiles.co/download/zygGeX8N/Huawei-MediaPad-10-FHD-USB-Drivers-TeamAndroid.zip
2) install and enable ADB: https://www.xda-developers.com/install-adb-windows-macos-linux/
3) Open a CMD window, change directory to where ADB is installed. Run this:
Code:
adb shell pm uninstall --user 0 com.huawei.powergenie
4) Reboot
Click to expand...
Click to collapse
I'm a total anti talent for this stuff. Do I install and do this from my phone or laptop?
furiouszagreb said:
I'm a total anti talent for this stuff. Do I install and do this from my phone or laptop?
Click to expand...
Click to collapse
1) from your laptop
2) Follow the link, perform the steps in the tutorial below "How to Setup the Android Debug Bridge (ADB)".
Then scroll down to the part titled "Microsoft Windows ADB Setup". Download the file from the link and unpack to c:\adb (you will have to create the folder).
Then you connect your phone to your laptop and will see a prompt for authenticating your laptop. This is all well documented, just follow the link
3) On your laptop, start menu, run, cmd. Now you will see a console window. Just enter the commands below
Code:
c:\adb\platform-tools
adb shell pm uninstall --user 0 com.huawei.powergenie
The reboot should obiously be done on your phone.
Sounds complicated, but is really easy.
@klaus27
Thank you for bearing with me and explaining. Just one more thing. On the second code, what do you mean by "maybe"?
furiouszagreb said:
@klaus27
Thank you for bearing with me and explaining. Just one more thing. On the second code, what do you mean by "maybe"?
Click to expand...
Click to collapse
I have checked the tutorial and adjusted my reply accordingly .
klaus27 said:
I have checked the tutorial and adjusted my reply accordingly .
Click to expand...
Click to collapse
Thank you so much for explaining everything even to a dummy like myself lol. Much appreciated.
klaus27 said:
1) from your laptop
2) Follow the link, perform the steps in the tutorial below "How to Setup the Android Debug Bridge (ADB)".
Then scroll down to the part titled "Microsoft Windows ADB Setup". Download the file from the link and unpack to c:\adb (you will have to create the folder).
Then you connect your phone to your laptop and will see a prompt for authenticating your laptop. This is all well documented, just follow the link
3) On your laptop, start menu, run, cmd. Now you will see a console window. Just enter the commands below
Code:
c:\adb\platform-tools
adb shell pm uninstall --user 0 com.huawei.powergenie
The reboot should obiously be done on your phone.
Sounds complicated, but is really easy.
Click to expand...
Click to collapse
Hey, I finally gave in and tried to do this but I am having so much trouble doing this mate. Could you please explain like you're talking to a child? My computer skills are abysmal. I downloaded these 2 links you said on my laptop. But I am stuck at step 2. Here are the screenshot to see where I got held up lol
gyazo.com/6541fa024b72309323ab6ed889e19420
gyazo.com/727b043a651185da8761ca8c72d8917a
gyazo.com/d510eef1ce22dde74362a670051b1d7d
When I right click on "platform tools" it gives me several options such as "extract to a specified folder" and I clicked on that (I dont know if thats right) and what do I do now? I am confused with the steps provided in the link. "Extract the contents of this ZIP file into an easily accessible folder (such ad C:\adb)" I dont know where and how to do that
Then it says "Open Windows explorer and browse to where you extracted the contents of this ZIP File" what does this mean?
And 3rd step dont even get me started.
Could you by any chance upload a video of going through all that and doing everything needed up until running the command to.disable power genie? Im lost man
@klaus27
As much as I would like to help you, I think it would make more sense if you ask someone physically around you for help. I don't think I can make it more simple than that and explaining that in such a detail without knowing what system you have is quite complicated.... But I am sure that if you show the instructions to someone with a little bit more experience, it would be a lot simpler...
Sorry I cannot help you further...
furiouszagreb said:
Hey, I finally gave in and tried to do this but I am having so much trouble doing this mate. Could you please explain like you're talking to a child? My computer skills are abysmal. I downloaded these 2 links you said on my laptop. But I am stuck at step 2. Here are the screenshot to see where I got held up lol
gyazo.com/6541fa024b72309323ab6ed889e19420
gyazo.com/727b043a651185da8761ca8c72d8917a
gyazo.com/d510eef1ce22dde74362a670051b1d7d
When I right click on "platform tools" it gives me several options such as "extract to a specified folder" and I clicked on that (I dont know if thats right) and what do I do now? I am confused with the steps provided in the link. "Extract the contents of this ZIP file into an easily accessible folder (such ad C:\adb)" I dont know where and how to do that
Then it says "Open Windows explorer and browse to where you extracted the contents of this ZIP File" what does this mean?
And 3rd step dont even get me started.
Could you by any chance upload a video of going through all that and doing everything needed up until running the command to.disable power genie? Im lost man
@klaus27
Click to expand...
Click to collapse
klaus27 said:
1) from your laptop
2) Follow the link, perform the steps in the tutorial below "How to Setup the Android Debug Bridge (ADB)".
Then scroll down to the part titled "Microsoft Windows ADB Setup". Download the file from the link and unpack to c:\adb (you will have to create the folder).
Then you connect your phone to your laptop and will see a prompt for authenticating your laptop. This is all well documented, just follow the link
3) On your laptop, start menu, run, cmd. Now you will see a console window. Just enter the commands below
Code:
c:\adb\platform-tools
adb shell pm uninstall --user 0 com.huawei.powergenie
The reboot should obiously be done on your phone.
Sounds complicated, but is really easy.
Click to expand...
Click to collapse
I tried following your steps, but when I put in the command, it says " 'c:\adb\platform-tools' is not recognized as internal or external command, operable program or batch file "

I want to pull a savegame from the root folder without rooting.

Hello.
I'm trying to copy a savegame from my phone (Mi9 Lite) so I can use it in Bluestacks for when I'm home.
I know it's location but it's in user/0/ as a com. and I only know because I can access it in Bluestacks.
I do not want to modify it so I just need read rights. Mixplorer doesn't do the trick.
Is there a way? How do apps even access the root folder when I can't.
Notes: Within the game main menu there is an option to upload and download save files to the Google Play cloud but unfortunately I cannot sign in in this game anymore. The reason is that I have modified it yesterday with 8x Speeder. If I remove the hack my offline save will be wiped again. Therefore I have to somehow access user/0/ and it's designated com. so I can back that up. Since i have no issues with Google Play itself I take it it has do with the Speedhack.
Before I modified the apk with 8x Speeder, I made legitimate purchases and those purchases were actually pulled from the Play Store but now I simply cannot sign in anymore inside of the game. Outside of the game I'm stilled logged on and have no issues. I have tried wiping the cache in both the game and the Playstore.
If you are going to ask why I used an app modifier in the first place, my first save was wiped when I had progressed for over 50 hours and I was mad as hell. Since the game is pretty much auto offline I enjoy it very much and would like to be able to backup my savegame so I can use it on Bluestacks.
Hello,
For what I understood your best hope would be to use ADB to pull these files. No need for root here I guess, only enabling developer mode and USB debugging.
Atronid said:
Hello,
For what I understood your best hope would be to use ADB to pull these files. No need for root here I guess, only enabling developer mode and USB debugging.
Click to expand...
Click to collapse
Thank you for your answer.
Unfortunately pull in adb gives me a permission error
banes768 said:
Thank you for your answer.
Unfortunately pull in adb gives me a permission error
Click to expand...
Click to collapse
That's what I feared. Try to see if you using the ADB (deprecated) backup utility helps. But I think the only valuable way would still be root, or at least a custom recovery to pull the file
Atronid said:
That's what I feared. Try to see if you using the ADB (deprecated) backup utility helps. But I think the only valuable way would still be root, or at least a custom recovery to pull the file
Click to expand...
Click to collapse
Ah, that's fine then I won't bother with that. Just a game afterall Thanks!

Categories

Resources