LG G8X Thinq(Sprint) adb shell - LG G8X ThinQ Questions & Answers

So i got the new G8X and have been trying desperatey to just access the system files to remove some bloatware.
Problem is it only gives me access from \User\0 and on. I tried to delete them through adb on windows but everytime i try and run adb shell the phone automatically disconnects.
I know i have all the updated drivers cause it recognizes the phone through windows and adb when i type adb devices
but as soon as i execute adb shell it disconnects. Does anyone have a solution for this?
Any sort of feedback would be greatly appreciated. i Have a 30 day return policy in effect if i cant gain access to any of that i plan on returning the phone.
Thanks for reading
Edit: Im dumb switching ports and usb cable resolved issue.
If anyone hears anything about root access please advise. Thanks all

I have had my phone on ADB and sending and reading data from it two nights in a row, I have not seen this problem at all. I can run adb shell no problem. Sorry! I know it's a stupid suggestion, but can you try a different USB cable/port on your PC?

SirataXero said:
I have had my phone on ADB and sending and reading data from it two nights in a row, I have not seen this problem at all. I can run adb shell no problem. Sorry! I know it's a stupid suggestion, but can you try a different USB cable/port on your PC?
Click to expand...
Click to collapse
Its not dumb, i appreciate the input i hve not tried a diff port or cable. I'm going to do that right now.
What provider are you using?

abraham3991 said:
Its not dumb, i appreciate the input i hve not tried a diff port or cable. I'm going to do that right now.
What provider are you using?
Click to expand...
Click to collapse
The problem might be that if you run from power shell command, first type cmd and press enter.

abraham3991 said:
Its not dumb, i appreciate the input i hve not tried a diff port or cable. I'm going to do that right now.
What provider are you using?
Click to expand...
Click to collapse
I bought unlocked but i'm using it with T-Mobile and its getting WiFi calling and HD Voice and everything. Works really well and am getting good service/signal with it on T-Mobile.
Yeah, as suggested, I also used it in CMD and not in powershell…

SirataXero said:
I bought unlocked but i'm using it with T-Mobile and its getting WiFi calling and HD Voice and everything. Works really well and am getting good service/signal with it on T-Mobile.
Yeah, as suggested, I also used it in CMD and not in powershell…
Click to expand...
Click to collapse
As simple as your suggestion was it lets me command it through cmd now., switching the cable worked.
Still through the phone itself i cant access system directories. and its not like i cant change things it just flat out wont let me view them at all.
The end goal is to get root/custom recoveries so i can install magisk and xposed, if you hear anything let me know.And thanks again!

abraham3991 said:
As simple as your suggestion was it lets me command it through cmd now., switching the cable worked.
Still through the phone itself i cant access system directories. and its not like i cant change things it just flat out wont let me view them at all.
The end goal is to get root/custom recoveries so i can install magisk and xposed, if you hear anything let me know.And thanks again!
Click to expand...
Click to collapse
No problem! Glad that worked.
I can view system directories, and I read them as well. However, I definitely can't change anything and don't have write access either.
Will be open to suggestions/attempts in the future!

SirataXero said:
No problem! Glad that worked.
I can view system directories, and I read them as well. However, I definitely can't change anything and don't have write access either.
Will be open to suggestions/attempts in the future!
Click to expand...
Click to collapse
Sorry or the constant questions I downloaded a file explorer and im able to see more than before but i still have some files telling me i lack access.
What file explorer are you using?

abraham3991 said:
Sorry or the constant questions I downloaded a file explorer and im able to see more than before but i still have some files telling me i lack access.
What file explorer are you using?
Click to expand...
Click to collapse
I use Solid Explorer. So, some of the files you can physically see in the explorer, but if you try to open it, the text is garbled. It was only after I started doing adb pull that I could actually see/read the files themselves.

Related

Getting apps from computer to Vibrant?

Im getting the Vibrant on Thursaday and I found a few app packs online that I have downloaded to my computer. I wanted to know how I can transfer them to my phone. Do they need to be in a certain folder? Can I just hook it up to my USB cable? Thanks!
itsLYNDZ said:
Im getting the Vibrant on Thursaday and I found a few app packs online that I have downloaded to my computer. I wanted to know how I can transfer them to my phone. Do they need to be in a certain folder? Can I just hook it up to my USB cable? Thanks!
Click to expand...
Click to collapse
Use the adb install command. It's really easy.
Or you could use astro file manager if your not familiar with adb.
Feeling Vibrant on xda-app
Just plug your phone into your computer, throw the APKs onto one of the memory cards, then go into the file manager that came with the phone and run the APKs.
cashless said:
Use the adb install command. It's really easy.
Click to expand...
Click to collapse
Why would you suggest using ADB if this person has 1 post?
DAKIDD236 said:
Why would you suggest using ADB if this person has 1 post?
Click to expand...
Click to collapse
If he's on XDA and plans to mod his phone, he's gonna have to learn ADB eventually. Better to jump right in it and get it out the way now. ABD install is probably one of, if not, the simplest command. Let's not baby new folks just because they're new.
I dont plan to mod my phone. I just would like to know how to add new wallpapers and widgets from my laptop to my phone.
Just copy the apk files to the sdcard then use the file manager to install them.
Lol, I try to stay away from ADB as much as I can. I always go for the easiest way out.
Sent from my SGH-T959 using XDA App
Shagman68 said:
Lol, I try to stay away from ADB as much as I can. I always go for the easiest way out.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
90% of the time, ADB is the easiest way out. Especially in the case of having multiple apk installs. adb install *.apk will do them ALL at once instead of having to do it one by one.
use this program:
http://www.androidcentral.com/sideload-android-apps-all-you-want-sideload-wonder-machine
I would like to point out that to get your Mac to recognize the phone as a USB device USB Debugging needs to be enabled.
Dont ask me, I dont know why, it just does.
Maybe it just mine though. Anyone else?
Lieu10ant said:
use this program:
http://www.androidcentral.com/sideload-android-apps-all-you-want-sideload-wonder-machine
Click to expand...
Click to collapse
App description says you need to have your phone drivers. Uh, anybody know a source of drivers? I'm running XP
dirkyboy said:
I would like to point out that to get your Mac to recognize the phone as a USB device USB Debugging needs to be enabled.
Dont ask me, I dont know why, it just does.
Maybe it just mine though. Anyone else?
Click to expand...
Click to collapse
Gee thanks. I haven't read and/or tried that over 100 times in the last few days.
I'm way beyond that and have gotten it to mount via terminal, which STILL doesn't show up as a mounted drive when I do a df, but I can moves files to it so I guess it *KINDA* works for now.
OK then sassy pants!
Sent via GS Vibrant - Please forgive typos
ultra spikey said:
Just plug your phone into your computer, throw the APKs onto one of the memory cards, then go into the file manager that came with the phone and run the APKs.
Click to expand...
Click to collapse
speoples20 said:
Just copy the apk files to the sdcard then use the file manager to install them.
Click to expand...
Click to collapse
+1 everyone else is just making it way too complicated. This is the easies method.

[Q] HELP!!! Crackin.bat doesn't work

Hi, I was wanting to root my legend 2.2 froyo. I came across a simple guide:
[Guide] Hboot 1.0.1 root, made easy
The guide was easy to understand but on one of the steps, it stated
open crackin.bat (your phone will reboot 5 times)
Click to expand...
Click to collapse
I opened it but it doesn't work! My phone doesn't reboot 5 times like what it was supposed to. Am I doing something wrong? Any helps appreciated. Tks!
EDIT: Ok I got it to work but the problem is it gives me an error code!
Code
error: more than one device and emulator
Click to expand...
Click to collapse
and the phone only reboots twice.
After that, temproot the device, typed
adb shell
error: more than one device and emulator
Click to expand...
Click to collapse
May I know what's the issue here? Sry new to this. Really appreciate any helps.
Maybe try unplugging all other usb-related stuff, mouse keyboard, etc.. so it can't confuse them as other devices?
ahhh, I had this issue when rooting, if you do a "adb devices" you might find you have 2 devices listed, in my case i had 1 "(my device serial) offline" and 2 "(my device serial) recovery"
you have to issue an adb command to kill the server, but I can't remember the command,
oh guess what the command is "adb kill-server" i think thats all you need?
Then it should work.
If not, then you might have to do a search for the exact problem your having, 100's if not 1000's have had simular problems one way or another, so your not alone and the solution should be out there, key word "search"
Ah! Tks for ur generous replies. I actually restarted my pc and then when I typed adb shell, it automaticallies kills the server by itself tks for ur help! Another thing is that when I make my goldcard using goldcard tool 0.07, everything was fine but when I checked my removable disk drive, it doesn't show anything except 3 folders (Android.secure, LOST.DIR and whatsapp) is it supposed to be like that?
Sent from my HTC Legend using XDA App

Build.prop mod, bricked

I was trying to modify build.prop to get Play Store to work which bricked the device. Tried factory reset and now it's totally not being recognized by the computer and ADB not working. Any solution or help.
Android Cowboy said:
I was trying to modify build.prop to get Play Store to work which bricked the device. Tried factory reset and now it's totally not being recognized by the computer and ADB not working. Any solution or help.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2491057 Try this. It might at least get recognized in adb and then you can try factory reset in fastboot.
johnnydowngrief said:
http://forum.xda-developers.com/showthread.php?t=2491057 Try this. It might at least get recognized in adb and then you can try factory reset in fastboot.
Click to expand...
Click to collapse
I can't get into the safe mode either. I can get into recovery mode to factory reset but that's it. ADB still not recognized.
Android Cowboy said:
I can't get into the safe mode either. I can get into recovery mode to factory reset but that's it. ADB still not recognized.
Click to expand...
Click to collapse
Then maybe this. http://forum.xda-developers.com/showthread.php?t=1379875 But I'm just guessing here. I dont want to spam this thread. Maybe someone more experienced can help you.
I did same thing. Strange but I COULD finally use adb, but only from the Android SDK base folder & only after uninstalling all devices & using USB deview to remove all adb, mtp & other android related USB devices.
So far, it looks like Amz actually keeps a partial firmware backup on the device, which they can use via mayday when things get really messed up. I would bet, they can also see system mods. It may even function automatically in some instances, I goofed mine pretty bad restore HD system files with TB & after a couple resets, it seemed it restored the system files.
Sent from my Nexus 7 using XDA Premium HD app
GSLEON3 said:
I did same thing. Strange but I COULD finally use adb, but only from the Android SDK base folder & only after uninstalling all devices & using USB deview to remove all adb, mtp & other android related USB devices.
So far, it looks like Amz actually keeps a partial firmware backup on the device, which they can use via mayday when things get really messed up. I would bet, they can also see system mods. It may even function automatically in some instances, I goofed mine pretty bad restore HD system files with TB & after a couple resets, it seemed it restored the system files.
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
I will try that. If I could just push a new build.prop to overwrite the old one I put probably be okay. How did restore system files using ADB.
GSLEON3 said:
I did same thing. Strange but I COULD finally use adb, but only from the Android SDK base folder & only after uninstalling all devices & using USB deview to remove all adb, mtp & other android related USB devices.
So far, it looks like Amz actually keeps a partial firmware backup on the device, which they can use via mayday when things get really messed up. I would bet, they can also see system mods. It may even function automatically in some instances, I goofed mine pretty bad restore HD system files with TB & after a couple resets, it seemed it restored the system files.
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
Do you think you can pull a system.img for me in case I can get ADB working then I can try and flash. Lots of other people are bricking as well after root so it might be useful to many people. Thanks.
GSLEON3 said:
I did same thing. Strange but I COULD finally use adb, but only from the Android SDK base folder & only after uninstalling all devices & using USB deview to remove all adb, mtp & other android related USB devices.
So far, it looks like Amz actually keeps a partial firmware backup on the device, which they can use via mayday when things get really messed up. I would bet, they can also see system mods. It may even function automatically in some instances, I goofed mine pretty bad restore HD system files with TB & after a couple resets, it seemed it restored the system files.
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
That didn't work for me, I've also trying factory resetting again multiple times through recovery, but no dice.
I got my fastboot cable working, and was able to get the device recognized as "Qualcomm USB modem converter"
I opened a thread about it, any help is appreciated!
Android Cowboy said:
Do you think you can pull a system.img for me in case I can get ADB working then I can try and flash. Lots of other people are bricking as well after root so it might be useful to many people. Thanks.
Click to expand...
Click to collapse
I am on the road right now, but I will see what I can do when I get home. You could try DL the firmware bin from Amazon. It is on their site & if you have ADB, pushing a file may be easiest, particularly since nobody has has any luck with flash or boot commands yet. At any rate, I'll do it as soon as I can, but seriously, start with just trying to push the build.prop so you still have SU & root level shell access.
GSLEON3 said:
I am on the road right now, but I will see what I can do when I get home. You could try DL the firmware bin from Amazon. It is on their site & if you have ADB, pushing a file may be easiest, particularly since nobody has has any luck with flash or boot commands yet. At any rate, I'll do it as soon as I can, but seriously, start with just trying to push the build.prop so you still have SU & root level shell access.
Click to expand...
Click to collapse
Even with the fastboot cable ADB/fastboot is not working. The Kindle finally gets recognized but as a Qualacomm device and can't find the right drivers that can make it recognize ADB. I actually have a replacement coming today so I might just let this one go. I was hoping to figure it out so I could help others in the same situation. But the factory rest really messed this thing up and Amazon is not making it easy.
Android Cowboy said:
Even with the fastboot cable ADB/fastboot is not working. The Kindle finally gets recognized but as a Qualacomm device and can't find the right drivers that can make it recognize ADB. I actually have a replacement coming today so I might just let this one go. I was hoping to figure it out so I could help others in the same situation. But the factory rest really messed this thing up and Amazon is not making it easy.
Click to expand...
Click to collapse
Did you try either of these drivers:
http://www.4shared.com/rar/kRIFBtGe/qualcomm_hsusb_device_drivers.html
http://drivers.softpedia.com/progDo...dows-7-x64-Windows-8-x64-Download-179130.html
So I actually had a similar thing happen today. build.prop mod caused my 7" to boot loop. It makes it to the first kindle screen and then the screen goes black. Based on what I've read I shouldn't try to factory reset it, because that will make it worse. I ordered a fastboot cable that should be in on Monday. Only issue is, I don't have much experience with fastboot. Would I be able to adb push a stock build.prop file to fix it if it's recognized by my computer?
S_transform said:
So I actually had a similar thing happen today. build.prop mod caused my 7" to boot loop. It makes it to the first kindle screen and then the screen goes black. Based on what I've read I shouldn't try to factory reset it, because that will make it worse. I ordered a fastboot cable that should be in on Monday. Only issue is, I don't have much experience with fastboot. Would I be able to adb push a stock build.prop file to fix it if it's recognized by my computer?
Click to expand...
Click to collapse
Since you didn't factory reset, does it show up on adb devices at all while it's trying to boot ?
S_transform said:
So I actually had a similar thing happen today. build.prop mod caused my 7" to boot loop. It makes it to the first kindle screen and then the screen goes black. Based on what I've read I shouldn't try to factory reset it, because that will make it worse. I ordered a fastboot cable that should be in on Monday. Only issue is, I don't have much experience with fastboot. Would I be able to adb push a stock build.prop file to fix it if it's recognized by my computer?
Click to expand...
Click to collapse
Try to use adb with root to push a new build.prop file. That's your best bet for recovery.
Sent from my Nexus 5 using Tapatalk
So currently its not showing up on adb while its booting, but that's probably because I haven't updated adb in a while. I'm going to update when I get home from work and report back.
EDIT: So I update ADB, which isn't recognizing it, but oddly enough, my computer can see it even after the screen shuts off as an android device. My only guess then is I'm missing a driver or something. Any suggestions?
Android Cowboy said:
Try to use adb with root to push a new build.prop file. That's your best bet for recovery.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
So I finally got ADB to recognize the device, and I can adb shell and everything, but its saying I don't have permission to adb push /system/build.prop. Also I thought that was where build.prop was located but I can't find it in adb shell. I have tried su and it hangs up, like its asking supersu for permission and I can't respond. What can I do?
S_transform said:
So I finally got ADB to recognize the device, and I can adb shell and everything, but its saying I don't have permission to adb push /system/build.prop. Also I thought that was where build.prop was located but I can't find it in adb shell. I have tried su and it hangs up, like its asking supersu for permission and I can't respond. What can I do?
Click to expand...
Click to collapse
Try adb root to reload it with root permission. Otherwise you'll need to chmod to make the system RW so you can push the build.prop file. And yes it's in the system folder. If you have the Android SDK then you can use the file manager in Monitor.bat file under "tool" folder to see to see all the files.
Android Cowboy said:
Try adb root to reload it with root permission. Otherwise you'll need to chmod to make the system RW so you can push the build.prop file. And yes it's in the system folder. If you have the Android SDK then you can use the file manager in Monitor.bat file under "tool" folder to see to see all the files.
Click to expand...
Click to collapse
When I try adb root it tells me I can't do that on consumer devices or something like that. what would the chmod command be? I dont think I've used it before. Also thank you so much for helping me.
S_transform said:
When I try adb root it tells me I can't do that on consumer devices or something like that. what would the chmod command be? I dont think I've used it before. Also thank you so much for helping me.
Click to expand...
Click to collapse
When you ADB shell, are you seeing a "#" which means you are rooted. I'm not the world's expert on ADB but this should help. Once you are shell and rooted you can just chmod 644 or 777 on /system and see if that works. http://gizbeat.com/2103/how-to-change-file-permissions-through-adb/

Broken screen, help me grab my files?

Long story short... I have a non-rooted SGH-M919 (Samsung Galaxy S4) with a completely broken screen. USB to PC transfer doesn't work, it's set to charge only, Kies doesn't see it...etc.
I have found that it's still on my wifi and on my google play account so I can install apps from the website. Does anybody know any apps I can install that will instantly let me access my files (and transfer them) without needing to do anything on the phone's side? Remote access would be great but I'd settle for file sharing even if only on the local network.
Any other ideas would be great! I need to recover pictures and contacts that aren't on google, or the SD card. New phone doesn't take the SIM.
You're probably not going to like this answer, but I recommend you simply have the screen fixed. If MTP isn't enabled and you can't enable it, and it's not rooted... There's just not much you can do.
NetworkAuditor said:
You're probably not going to like this answer, but I recommend you simply have the screen fixed. If MTP isn't enabled and you can't enable it, and it's not rooted... There's just not much you can do.
Click to expand...
Click to collapse
That's not too helpful... I found a (paid) app that attempts to recover files from the phone's download mode, which I think I could get to. There's gotta be other (free) options out there if download mode has access to files. Also as I said, I'm sure there's some app out there that shares files on the local network. I just need a name if anybody has one.
Thanks for answering still... but I know there's options.
UnknownCloakedMan said:
That's not too helpful... I found a (paid) app that attempts to recover files from the phone's download mode, which I think I could get to. There's gotta be other (free) options out there if download mode has access to files. Also as I said, I'm sure there's some app out there that shares files on the local network. I just need a name if anybody has one.
Thanks for answering still... but I know there's options.
Click to expand...
Click to collapse
Oh! Well if you can get to recovery, you may be able to pull the files off the device or back it up entirely.
Search "adb from recovery" and see if that gets you anywhere. If you *can* use adb, you might be able use adb's "backup" command to back up whatever you have on there.
NetworkAuditor said:
Oh! Well if you can get to recovery, you may be able to pull the files off the device or back it up entirely.
Search "adb from recovery" and see if that gets you anywhere. If you *can* use adb, you might be able use adb's "backup" command to back up whatever you have on there.
Click to expand...
Click to collapse
No custom recovery and no root access so I don't think adb will work for me... will it? I've confirmed USB debugging is off.
UnknownCloakedMan said:
No custom recovery and no root access so I don't think adb will work for me... will it? I've confirmed USB debugging is off.
Click to expand...
Click to collapse
Well, I've never used adb from recovery before, but a quick search makes me think it could be possible. If you're desperate to recover the data, I' m assuming anything is worth a try.
Now most of the time, stock recovery doesn't have adb access, but if you can manage to unlock your phone, you would be able to install CWM recovery and boot to it.
However, this is unlikely, as IMO, the SGS4 is one of the most painful phones to try to unlock, especially when you don't have access to the screen.
soo.. I am trying adb right now. I did...
adb shell
cd /sdcard/DCIM/Camera
ls
and all my pictures are listed! I tried doing a pull at that point and it says device not found... which it clearly is since it's reading the info. Any idea what my next step is? mounting or something? I feel like I'm so close!
EDIT:
BOOM! got it! I read one post online that said "stay out of shell for pull" I reopened my adb window and just did "adb pull /sdcard/DCIM/Camera" and all is recovered now. Thanks and I hope this post helps somebody in the future!
UnknownCloakedMan said:
soo.. I am trying adb right now. I did...
adb shell
cd /sdcard/DCIM/Camera
ls
and all my pictures are listed! I tried doing a pull at that point and it says device not found... which it clearly is since it's reading the info. Any idea what my next step is? mounting or something? I feel like I'm so close!
EDIT:
BOOM! got it! I read one post online that said "stay out of shell for pull" I reopened my adb window and just did "adb pull /sdcard/DCIM/Camera" and all is recovered now. Thanks and I hope this post helps somebody in the future!
Click to expand...
Click to collapse
Glad you got everything resolved! Now for my own curiosity, how did you manage to get adb working?
NetworkAuditor said:
Glad you got everything resolved! Now for my own curiosity, how did you manage to get adb working?
Click to expand...
Click to collapse
Nothing special at all. It only required:
> Phone in download mode, wired to PC with USB cable
> ADB installed on PC
> Samsung USB Drivers
> Open adb command prompt, and run the pull command (after finding the exact directory using adb shell)

[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 "

Categories

Resources