yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] blackmetallive:
Hi guys,

I am writing an Android App with a service in background, sending GPS data to a server every 30 seconds. The service is sending data, no matter if the app is active, in foreground, or the phone is in my pocket.

my problem: when the app is in background / the screen is turned off, the gps data is sent a few minutes, but after a while (30 minutes ? ) the background service gets killed or extremely slowed down, every 10 minutes a GPS signal, later nothing at all.

I have Huawei P9 Lite and Huawei P20 lite, i read, that chinese phone manufacturers have drastic battery savings in their stock roms, i tried

- implementing service as START_STICKY

- implementing service as startForeground()

- rooting device and killing: "power genius" app in android (this app seems to slow down background processes)

is there a way to implement background-services, constantly running and doing something without android killing or slowing down this process? facebook, whatsapp etc also have background-services listening for push-notifications and so on.....
[Samsung Galaxy S9+ Questions & Answers] thiagomed:
Hi there, I'm thiniking of DeX with Linux. Are anyone using Linux with DeX? How it's your experience with?

I work with Ubuntu and I'm thinking about buy a DeX and switch off my notebook, what you think about it?

Thanks!
[Samsung Galaxy S9+ Questions & Answers] Tetragonopantelonis:
Haven't found a way to do that yet. I have signed up to get Informed once samsung releases "Linux on galaxy" solution
[Samsung Galaxy S9+ Questions & Answers] thiagomed:
So they didn't release this feature yet? I saw a video talking about it.
[Samsung Galaxy S9+ Questions & Answers] Tetragonopantelonis:
Still nothing... I hoped it would be out along with Note 9,but still silence from Samsung
[Samsung Galaxy S9+ Questions & Answers] Albion74:
Dex on Linux. Experience

I have the basic version of note 9.

I bought two different setups for testing:

- HDMI - USBC cable + Bluetooth keyboard and Bluetooth mouse

- HDMI with USBC port + 2 USB normal ports to connect a wired mouse and keyboard.

I have also at home two 4k tvs that I use as monitors: A 39inch seiki and a 41inch curved Samsung. Both working at 4k with my mac book Pro and my Ubuntu pc

Connecting any of the screens to my note using any of the devices gives me only 1080p. After researching, this is a software limitación. Somebody checked that note 9 can actually output 4k.

When you open dex, you get a desktop experience and you can execute you android apps. Not every app scales to full screen and some of them are shown as if you were runing them with an emulator.

Now dex on Linux. I got the invite and I installed the app. When you launch it in your phone, it asks you download an image (imagine docker) that's is a 4Gb zip that becomes a 10Gb unzipped .img file.

Application asks you to give the container a name and select the . img file.

That is what you can do from your phone. You cannot execute the container unless you are in dex mode: dex opened in a monitor

On dex, you have to run the Linux on dex app and run any container run created before.

When you run one in about 5-10 seconds you have Ubuntu 16 running.

Default applications you get aside of the standard ones is visual studio code and intellij 2018.2 community.

I am a java guy so I launched intellij to check the speed and I was surprised how fast it launched.

I need to play more, but I would buy a higher spec note if the 4k issue was solved.

In my opinion Dex/Linux is an strategy to justify expensive phones with more hardware, because nobody needs more ram and cores if you just run phone apps. Said that I am a software professional and this use case fits perfectly with my needs
[Samsung Galaxy S9+ Questions & Answers] rsktkr1:
I tried to install on my s9+ but would not let me. I hope they make available for S9+. I run Linux Deploy now in chroot - but not the same. I have Dex Station which I think would be nice with Ubuntu.
[Samsung Galaxy S9+ Questions & Answers] Robo008:
Iphone 9 linex

Linex on note 9 seem good but it would be better if i could download software or even update .It won't let me do anything.Its says no plugin could handle gs_plugin_app_install.Im at a lose.
[Sony Xperia X Questions & Answers] Anonymous_777:
Hi. I am using Xperia X with firmware 34.4.A.2.85(UAE generic). I need to upgrade it to Indian generic version and i downloaded the ftf file. Hence i downloaded flashtool for flashing it. I installed the fastboot and flashboot drivers successfully after plugging in my phone. But flashtool is saying that 0 devices are connected. Do I need to root my device or unlock bootloader for this?
[Sony Xperia X Questions & Answers] YasuHamed:
Fastboot mode is NOT for flashing firmwares

connect your device in FLASHMODE

install

c:\flashtool\drivers (there is setup file, - disable digital rights management in windows10 and install all)

install xperia companion

make first test connection , one by one , first in fastboot mode, then flashmode

now try!

ps: use LATEST flashtool version
[Sony Xperia X Questions & Answers] Anonymous_777:
I booted into flash mode but flashtool says that device connected in flashmode but drivers are too old.
[Sony Xperia X Questions & Answers] YasuHamed:
what is the version of flashtool?

uninstall! and download the latest version
[Sony Xperia X Questions & Answers] samour003:
Today i flash my saudi arabia sony xperia x with indian version using sony flash tool (latest verison ) .

And it works fine also VOLTE is now working.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] guhanhifi:
many of you have faced the slow charging of asus zenfone max pro m1....THIS IS DUE TO NEW UPDATE 327....the solution is

1)charge your phone in flight mode

2)turn off data if you dont want to use flight mode

3)dont use mobile while charging

4)during game play remove your cover and play as the heat does not no out when using covers

5)use battery saver mode while charging (reduces graphics and background running apps)

6)dont let the mobile charge go below 20
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] dnirban:
I used to get long charging times while using phone with a charger plugged in. Plus, using an extension usb cable didn't help. Last week, I put my phone down, plugged the standard USB cable that came in the box and voila, my phone gets 75% in about 2 hrs.

The 'removing the cover' bit helps generally since it helps better heat management.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] guhanhifi:
Because if cover is worn the heat won't go out and battery gets damage
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] BratPAQ:
My unit immediately upgraded to 327 after I bought it and put the sim. So by the time I got home the ampere app reads around 700mah only when charging it with stock cable and adapter.

I tried different cable and adapter. I found that if I use a better cable (aukey cable) the amp will go up to 1800 mah.

It's either the cable isn't working 100% brand new, or that 327 updates fault.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] guhanhifi:
Its update fault
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] pranavkpr:
I always charge my phone in airplane mode with almost all apps greenified...

It takes around 3 hours 15 minutes to charge fully
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] guhanhifi:
Then software issues
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] dnirban:
The in-box cable works fine for me and gets me 1650-1850 mA most of the time.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] GliderZ:
Okay I noticed this issue recently. It takes me about 3 hours to charge from 20 to 100 whereas it took around 2-2:30 hours before. I'll try the solution posted by OP but I wish to know if anyone has info on whether this issue will be resolved anytime soon (maybe on the future updates?)
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] guhanhifi:
Yes update have to fix
[Android Q&A, Help & Troubleshooting] maea:
first i connected the phone with lg bridge then search for update ,lg bridge find a new version and start flashing ,, then the device stuck at download mode.

model in back of phone is h815 but z3x lg and in download mode screen is "su :lg-h818 06.0 herv_10 v,software ver h815 20 p

the device not accepting h815 firmware..

here the messages from z3x ''

Mode: Emergency

\par Model: H815

\par Elapsed: 2 secs. --> (v9.5)

\par

\par Phone mode is DOWNLOAD

\par Start flashing.

\par LAF: 01000004

\par Open KDZ File : M:\\H81520p_00_0403.kdz

\par Model : LG-H815

\par SwVersion : LGH815AT-00-V20p-GLOBAL-COM-APR-03-2018+0

\par BuildTime : 0000-00-00 00:00:00

\par Total Files : 69

\par Model name: LG-H818

\par Software verion: H81520p

\par IMEI: 359872065193467

\par Laf cmd error: LAF_CMD_UNLINK fail[LAF_ERROR_FAILED].

\par Start direct download mode

\par Write "PrimaryGPT" partition #1 of 69

\par Laf cmd error: LAF_CMD_WRITE fail[LAF_ERROR_UNKNOWN[80000121]].

\par Direct download error.

\par Flashing error.

\par Elapsed: 10 secs. --> (v9.5

i don't know what to do is it h815 or h818

please help me
[G4 Q&A, Help & Troubleshooting] AlfK:
Hi Everyone,

Being new to this sort of thing! and also being a smartphone luddite OAP:cowboy::cool:, I was forced into trying to sort out my unlocked LG G4 H815 smartphone after it's battery started to fade after less than a days use following the recent Google OS security patch to v20p-eur-xx. Prior to this update the battery used to last sometimes 2.5 days (yes that's a fact!!). Probably because I only use the phone for occasional txts and email checking with a smidge of surfing, Google mapping in the car............................no twittering/facebooking/social media-ing :D:p

My aim was to try and unlock the bootloader to try and install an older version of LG's Rom using a thread found on this site :

https://xdaforums.com/g4/general/howto-complete-guide-to-unlock-twrp-t3370003

I managed, much to my surprise, to get as far as having a device that reported being bootloader unlocked and successfully going into a full boot with all of my apps installed.

Then managed to install TWRP app and it's Lgg4-twrp.img, the app reporting I had successfully created a System backup.......then BIG problem - phone would not progress beyond the first LG logo screen that had in very small writing I think saying, Bootloader unlocked in top left-hand of LG logo screen and a small blue flashing LED in top left-hand corner :crying::(

I have tried booting phone with down key + power button on/off getting screens that says clean out apps to which I pressed Yes, a little green robot appearing then rebooting to same LG logo with blue flashing Led again.:confused:

During the bootloader unlocking process I found the only way to carry out the first processes of the above thread was to download, and install onto a memory stick, the FWUL linux setup from this thread (for could not manage to get the device-ID for the LG unlock key process for love nor money using a W10 laptop with LG drivers installed):

https://xdaforums.com/android/softw...ver-issues-t3526755/post70272684#post70272684

Can anyone help me get this thing going again? Nothing within the FWUL linux environment I have tried using the adb/fastboot apps that I used successfully to get this far make any difference!!:o
[G4 Q&A, Help & Troubleshooting] htr5:
Are you able to get into download mode?

Try the following:

i) Make sure you have the LG Drivers installed from here: http://oceanhost.eu/e4h2px4e0hkd/LGMobileDriver_WHQL_Ver_4.0.4.exe.htm

ii) Download the LG Bridge software from here: http://www.lg.com/us/support/product-help/CT10000025-1438110404543-preinstall-apps

iii) Remove the battery and reinsert it so the device it is fully off.

iv) While holding the up volume button, insert your USB cable.

v) You should enter download mode. Go to the Software Update tab of the LG Bridge. It will say connecting and then should say your device is up to date. Click on the recovery text on the bottom right and then follow the instructions. The software will download the system image for you and this is roughly 1.6GB so make sure your firewall doesn't block this connection.

Best of luck
[G4 Q&A, Help & Troubleshooting] AlfK:
Re: Reply from HTR5

Thank you 'HTR5' for taking time to help with this suggestion :angel::good:

As I was desperate to get my phone back up and running, I continued to trawl this forum after posting, and came across virtually exactly what you have said to try, and spent a few hours trying to get phone into a 'download mode' and into LG Bridge:cowboy::silly:

The result was (and after several attempts to bridge into my phone, and getting 'unknown device' messages, I got the software to identify my phone correctly as a H815), and away it went. Downloading and installing something that gave the result of a successful boot into a fresh marshmallow.

So all is good, and I have aborted trying to get the previous version of marshmallow back onto my phone, to try and improve the battery usage back to how it was before installing the latest patch to v20p!!!

:fingers-crossed:
[G4 Q&A, Help & Troubleshooting] ling751am:
It's seems you have a EU H815 which can be officially unlock through LG Dev

and you said, after pressing vol down+powerkey then you saw a green robot??

isn't that phone has been installed TWRP? if not, go flash twrp

then download this https://androidfilehost.com/?fid=817550096634794247 (from this post https://xdaforums.com/g4/development/h815-nougat-stock-t3659860)

wipe system/data/cache/dalvik then flash this zip

you should go back to Stock v29a ROM

good luck.
[G4 Q&A, Help & Troubleshooting] AlfK:
re. your response Ling751am

Thanks for reply Ling751am

Can I check what you are saying?

I can confirm I have successfully unlocked my G4 via the LG website.

I have installed TWRP flash (I think? ) I got a blue menu screen with a load of buttons after flashing LGG4-twrp.img, from which I chose the full system backup option which gave message it had been successful - then disaster struck when I found my phone would not boot up anymore......then my post on this forum.

As I have said to Htr5 above, I managed to get my phone back using the LG Bridge app and downloading from the LG site something that was 1.5 Gb in size and which then booted my phone into android 6 v 20p - EUR -xx.

So the file you have posted the link to says it is for v 7.0 Nougat v29A which was never on my phone?

What are the consequences of me using this file? Also do I use the same LG Bridge app to do the flashing, if I decide this file is okay to use?

Thank you for anymore help ling751am
[One (M9) Q&A, Help & Troubleshooting] dint10:
Hello all,

I live in UK and have just bought my daughter a brand new [boxed and sealed] HTC M9 from a seller on ebay.

When I go to settings and then 'update' it tells me that an update is available to download and install: 3.35.617.16

After downloading the update, I then get a message to say that the update cannot be installed because it has been 'determined that your phone may be running a modified version of software'.

I contacted HTC support through their web chat service but TBH they were not a lot of help.

Can anyone tell me - is there something simple I could be doing wrong?

Thanks for any advice.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] Elazul:
Currently my phone seems to have a battery problem of sorts, and has crashed during a flash process, leaving me in bootloader mode.

now i can't seem to flash anything , cause apparently my battery dies(not sure) (and my phone keeps rebooting into bootloader)

the problem is , i can't seem to recharge my battery WITHOUT a rom being installed.

so is it possible to charge the battery without a rom being installed (i.e in bootloader mode)? if not, what can i do? my battery lasts approximately 2 mins which isn't enough to load tnt or Black diamond.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] MotoHo:
here is the fix for that but i cant vouch for it

http://www.asktheadmin.com/2007/06/htc-wizardcingular-8125-dead-battery.html

i just ended up buying a vradel with a seperate battery charger on it for a second battery it cost me about 25-30 i dont rember.but in my opinion i was a little scraed to hare wire charge my battery they aint cheap unles u order online then your phones down for a while. good luck
[8125, K-JAM, P4300, MDA Vario Software Upgrading] Elazul:
thanks, will definitely check it out.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] mestrini:
No, i believe that in bootloader mode there's no charging circuit enabled (that's why the RUU advise a charged battery before upgrading ;))
[Lenovo ZUK Z2 (Plus) Questions & Answers] ankitaryan:
How to get best audio experience in z2 plus oreo roms ?
[Lenovo ZUK Z2 (Plus) Questions & Answers] seking:
Install viper4android FX v15 for magisk. Use Ragingbeast KA to tweak the left and right channels as for your liking. For this you have to install kernels like nameless which support sound controls. The audio experience will be truly remarkable.
[Lenovo ZUK Z2 (Plus) Questions & Answers] gunavat:
How can i increase volume from my earpiece?
[Lenovo ZUK Z2 (Plus) Questions & Answers] ankitaryan:
Can You provide me the link of all ?
[Lenovo ZUK Z2 (Plus) Questions & Answers] seking:
For viper4android go to download section of magisk and install it from there.

For tweaking the channels use this

https://xdaforums.com/attachment.php?attachmentid=4549656&d=1531579000
[Lenovo ZUK Z2 (Plus) Questions & Answers] seking:
Use this application.

https://xdaforums.com/attachment.php?attachmentid=4549656&d=1531579000
[Lenovo ZUK Z2 (Plus) Questions & Answers] gunavat:
Something is not right with that link
[Lenovo ZUK Z2 (Plus) Questions & Answers] seking:
Just now i tested. It is working. Try this. If this also does not work, go to crdroid rom thread and search for earpiece. You will get the attachment

https://xdaforums.com/lenovo-zuk-z2/development/rom-crdroid-v4-4-t3816232/page3
[Lenovo ZUK Z2 (Plus) Questions & Answers] gunavat:
Thanks for your time. But i can't install it. I am on heliox 2.0. doesn't support sound mods..
[Moto X Q&A] ElaineM:
Hello all,

I'm having some issues with my Moto X 1st Gen (XT1053). At first, the issue was random rebooting, but at one point the phone was stuck and so I restarted it. When the phone rebooted, it was stuck on the Motorola logo screen. I have tried pressing the POWER + VOLUME DOWN keys to attempt to get into "Recovery" in order to "wipe cache partition", but when I select "Recovery" using the VOLUME UP button, the phone goes right back into the logo screen, and then either stays on that screen or immediately powers off.

At this point I can't think of anything else that could fix this issue. Could it be a hardware (motherboard) issue?:confused:

I would appreciate any help!

Thanks.
[Moto X Q&A] murrty:
Do you have a custom recovery? If so, have you tried booting into a recovery using fastboot (Not the one on the device)?
[Android Q&A, Help & Troubleshooting] ogioto:
Hello guys

So, here is the story for which I need help. I'm used to reflash samsung phones and recently I ended up with Xperia Z5. I wanted to put on lineage os, because the stock is not giving me enough options. I decided that I'll proceed as any samsung phone before and that I'll just put TWRP on the phone and do the things. I unlocked the bootloader and followed the following guide youtu be/fdhAPeTJK6Y (I pasted the link like this to skip the "10 posts before links" thingy), BUT I didn't flashed the "boot.img" file before the recovery. After that I restarted the phone, entered TWRP, backed up my stock android just in case and totally forgot that I have explorer from the TWRP and I can mount my phone to get the old image and put the new directly on, so I restarted the phone and now it's in a boot stuck. I can't enter in any mode through the volume buttons. When the charge is dead, the phone goes off and when I plug it to charge it tries to boot and gets stuck on the screen from the image below. Any ideas how to fix it?

[IMG="The problem"]https://ibb.co/cHAwKK[/IMG]
[Moto G5 Questions & Answers] kubick4:
Hello guys,

I am on stock Oreo, is it possible please to get somehow the stock ambient display instead of Moto display? I have read that on some phones disabling moto app will bring back ambient display, but it didnt work out for me.

Thank you for your answers

Jakub
[Moto G5 Questions & Answers] Andrej_SK:
I don't think that there's a way to have stock ambient display with StockROM by Motorola. However, most of the CustomROMs have this ability.

Btw, a little bit off-topic.. but aren't you from Slovakia too? :D
[Moto G5 Questions & Answers] kubick4:
Yes, I am, I have seen you here on the forum :)

Take care brother!

Edit: Maybe you can help me...is here any custom rom which has good call sound and working camera?
[Moto G5 Questions & Answers] Andrej_SK:
Still can't believe that I'm not the only one human from "a little big country" on xda. Take care too! :)

Each CustomROM that I tried had some bugs. Unfortunately, all of them had slightly disorted sound during a call in comparison with StockROM. However, these ones (mentioned below) are the best in my opinion:

7.0 - debloated stock https://xdaforums.com/g5/development/rom-debloated-optimized-t3722396

7.1.2 - LineageOS 14.1 https://xdaforums.com/g5/development/7-1-x-lineageos-14-1-moto-g5-t3611973

I would recommend you to use this build of LOS 14.1, if you are interested https://drive.google.com/file/d/1GO7i7h1QQcD8oY3uUBr4a2u1gJzlRkzk/view. I faced a huge problem - apps like Snapchat, Instagram or Messenger started to freeze and force close randomly, but only with august 2018 build (the latest one). Reboot didn't help at all, reinstall of LOS or crashing apps fixed problem just temporarily. Flashing build from june 2018 (link mentioned in this paragraph) seems to be a permanent fix.

If you are running stock Oreo, you have to downgrade to Nougat first. Otherwise, your fingerprint scanner will not work with any Nougat based CustomROM (idk about Oreo ones :D). How to downgrade a Moto device without getting hardbrick? It's simple - make sure, yours device's bootlaoder is properly unlocked. Then, flash everything except gpt and bootloader to avoid hardbrick while downgrading. Running "fastboot erase modemst1" and "fastboot erase modemst2" commands wipes IMEI, so exclude them also.

8.1.0 - AOSPExtended 5.4 https://xdaforums.com/g5/development/rom-aospextended-5-0-t3710925 with Alize v10 kernel https://drive.google.com/file/d/1W9s2Wd52buDLglqOX2cEsgHTD0qWFHbv/view.

I have already tried this combination and there was no problem while taking photos and recording videos using Footej Camera.

If you decide to try this ROM with gapps installed alongside, follow this tutorial before the first boot https://xdaforums.com/g5/how-to/how-to-repair-bootloop-oreo-roms-t3791189. Otherwise, your phone will be stuck in bootloop.
[Moto G5 Questions & Answers] kubick4:
Thank you for your comprehensive guide to custom roms :)

It's shame there isnt any custom rom with everything working fine. I think I will go back to Lineage 14.1 and then buy a new phone. Motos arent the same since Lenovo took them.
[Samsung Gear VR] ammo93:
Hi, i had bought CardBoard Eabler almost a year ago and everything worked perfectly until 2 months ago, when i factory reset my phone, CB enabler no longer works. I thought maybe its an old version from the backup i took before factory reset, so i tried to find it on play store to update but it was removed. I had also paid for another app like it a long time ago and couldnt find it eighter. I have been searching everywhere trying to find an alternative way or app to use my cardboard apps. I have some cardboard apps which i have paid for and i can no longer use them.

And i hate to use the gear vr app, it heats the phone very quickly and request to let my phone cool down.

I use a Samsung Galaxy S7 Edge btw.

Can someone pleease help my get a soloution? Im getting mad and tired of searching. Is there an anti cardboard apps on gear vr going on right now or what?

If i dont get any answer here then i dont know where i can get. Please help!!!