yashsingh1/xdaforums huggingface dataset:
[Mate 8 Q&A, Help & Troubleshooting] mvidakovic:
Hi all,

My Huawei Mate 8 got upgraded to Android 7 (nougat).

Since then, a Toast message from service no longer shows.

I have a service which updates desktop widget and then sends a Toast message.

This service worked normally on several devices, and on several versions of Android (namely, on Android 5 and 6). Since my phone got upgraded to Android 7, the service still manages to update the desktop widget, but the Toast message does not appear at all.

The code which was so far used to send the Toast message is:

Handler handler = new Handler(

Looper.getMainLooper());

handler.post(new Runnable() {

[MENTION=439709]override[/MENTION]

public void run() {

Toast.makeText(context,

messageText,

Toast.LENGTH_LONG).show();

};

});

I once more state that the code above works perfectly on multiple devices, and on multiple versions of Android (5 and 6). It does not, however, work on freshly upgraded Android 7 (it worked on my Huawei Mate 8 device while it had Android 6 on it).

Here is the Logcat dump when I call the Toast.show() from the service (which does not appear):

02-14 18:18:41.729: D/HwRTBlurUtils(31009): check blur style for HwToast-Toast, themeResId : 0x01030128, context : com.myapp.package.MyStatusService@e0f2013, Nhwext : 5, get Blur : enable with :100, [0, 0, 0, 0], [54, 54], 1.0f

I get this same entry in the Logcat when I call the Toast.show() from regular application. The only difference is that the Toast message is then shown when the Toast.show() is called from the application.

Thaks in advance,

Milan
[Mate 8 Q&A, Help & Troubleshooting] amcq1010:
Hi Milan,

I'm a developer on an app which has two users reporting this same issue. We have a MainActivity and it launches a Service. It would seem that when the users are in another app and we send a toast, they do not get it, but if they switch back to the MainActivity then the toast appears.

Were you able to determine a fix for this? I do not have an Huawei/EMUI phone and can't test directly, so any input would be appreciated.

Thanks!
[Mate 8 Q&A, Help & Troubleshooting] mvidakovic:
The problem remains

Hi, thanks for your message. Unfortunately, the problem was not resolved. Even after one update, the problem remained. With my application I have exactly the same situation as you described. Huawei forum ignored my post. Is there any way to put

the pressure on Huawei to fix this?

Best regards,

Milan
[Mate 8 Q&A, Help & Troubleshooting] jaco777:
I have an identical problem and I have not solved it - Honor 8, Android 7.

When the application is minimized, TOAST stops showing.
[Mate 8 Q&A, Help & Troubleshooting] machi0x:
I met same issue in Huawei nova2 today,

and noticed that, it seems Huawei device doesn't allow user apps to show toast by non-activity context.

For example, you cannot use Application Context to show toast.

But if you use activity context, toast can be shown.
[Touch Cruise General] guiduz:
Please, anyone know how to enable the TMC function on the Htc Touch Cruise (POLARIS)?

I've installed navigon, but it cannot find it.

Thank's

guiduz
[Touch Cruise General] badaccent:
I think there is no solution for this as of today.

Please refer to http://xdaforums.com/showthread.php?t=354842 for details.
[Touch Cruise General] energy59:
TMC is not installed mate!

Bye:D
[Touch Cruise General] guiduz:
Is not installed? But i read somewhere that the hardware was present.
[Touch Cruise General] xdamiki:
i have navigon installed too ( v 6.2 europe), but i have some probleme. it turn off itself when start calculating the road in the map. i have dowloading it from site of navigon.

do you can help me

rom 1.25.408.1 ita

radio 1.58.21.23

thanks
[Touch Cruise General] Danijel_HR:
TMC on Polaris - WORKING !!

Please continue in this thread

http://xdaforums.com/showthread.php?t=531413

thx
[OnePlus 3 Questions & Answers] aschwinsiva:
I was running an unlocked one plus 3 on OxygenOS 4.0.2 (Android Nougat) and have TWRP installed. As 4.0.3 got released yesterday, i tried installing it today but i accidentally hit install on the OTA update setting which caused my phone to reboot. Now my phone won't boot into the os, i get a black screen after 'powered by Android'. I tried getting into Recovery however i get the same response, a black screen. I do not think it is hardbricked as the Fastboot still works and when i go into fashtboot it states that the OEM is 'unlocked'. I have personal data on this device pls can someone help. I do not know what i should do> How do i boot into recovery without crashing?
[OnePlus 3 Questions & Answers] sv2203:
Is it possible to install twrp again with the PC? I had once also the same problem, install it again and after that it booted again into recovery.
[OnePlus 3 Questions & Answers] Vortuks:
Just install TWRP from fastboot, then you'll have access to internal storage by TWRP
[OnePlus 3 Questions & Answers] loveymangal:
It's happening because it's trying to send you to recovery which is twrp 3. 0.4-1which is bugged so just go to fastboot and flash twrp 2.0.4-1 and then try booting in.. You can even update the phone by flashing the update zip by oneplus from recovery :)
[LG Spirit Questions & Answers] DJBrejzus:
It's anyone unlocked bootloader in this phone ? Stock is crap....

It's a chance to unlock bootloader ?
[LG Spirit Questions & Answers] pvineeth97:
I already posted a guide for it check it out.
[Google Pixel Questions & Answers] DRStevens:
I recently received a replacement pixel after breaking my screen through insurance. The replacement was a refurb and I set it up using the device transfer. The only issue I have with the replacement is the "Night Light" is too amber. There is a dramatic difference between Night Light on my old Pixel vs replacement Pixel. From what I can tell, Night Light relies on hardware.

https://plus.google.com/+IanLake/posts/Py4SgZ2HGu7

With an hour or so of searching, I haven't found any other reports of this. Is it possible the replacement is defective? Has anyone else heard of this? Android is up to date.

See attachment for a picture of a side by side comparison between the two. Adaptive brightness is off and brightness level roughly the same for both. Both displays are much more amber than the picture shows, but it does show the difference between the two.

View attachment 4042573
[Google Pixel Questions & Answers] robotnikz:
What is wrong? On the right side night mode isn't active. It's set to sunrise but it's not triggered.
[Google Pixel Questions & Answers] DRStevens:
It is activated. It's not obvious in the picture because the amber is more subtle on the phone on the right side.

To confirm that the night light on the right looks correct, I have compared with a coworker's Pixel XL.
[Google Pixel Questions & Answers] Tulsadiver:
There might be hardware involved but it is effected by software too. I changed mine to blue.

View attachment 4042739
[Google Pixel Questions & Answers] DRStevens:
Nice. Do you have link to instructions handy? I'm having trouble finding this.
[Google Pixel Questions & Answers] Tulsadiver:
It involves modding your services.jar. I probably have a stock one you could flash if you are rooted. Or blue.

Or if you are familiar with editing jars I can show you where the editing takes place.
[Google Pixel Questions & Answers] DRStevens:
I know how to edit Jars, but I have not rooted this phone, and would prefer not to. I assume sudo is required? I actually don't want blue, but simply a less aggressive amber/orange.
[Google Pixel Questions & Answers] Tulsadiver:
I think root is required. You might try doing a factory reset or flashing a stock system image.
[Google Pixel Questions & Answers] Ninlour:
My phone is doing the same exact thing. They said they're sending me a replacement. This is the third replacement by the way. First was a camera unable to focus, then it was a microphone problem , now it's the screen .. I'm losing trust with this product
[Google Pixel Questions & Answers] DRStevens:
A phone replacement resolved this issue for me. Unfortunately it took two more replacements after this to get which had no other issues.
[Google Pixel Questions & Answers] chrisinsocalif:
I just received my 4th replacement. This one has an orange screen and not as bright as my other 3 Pixels. I guess I need a 5th replacement. This is really making me really angry.
[Google Pixel Questions & Answers] troy`:
I had this issue with many replacements. My original was the only one to not have the deep orange look. But I had other issues with that device.

I got tired of sending for replacements so I just said forget it, I won't use night light.

I'm running O DP4 now and there is an intensity slider on the night light options which I've finally settled for. You can make it as intense as you want.
[Moto G4 Plus Questions & Answers] Dil_khatri:
Getting Error 7, in TWRP while installing ROM.

(ROM link: https://xdaforums.com/showthread.php?t=3507275)

my device XT1643

Please help..
[Moto G4 Plus Questions & Answers] shkrmkr:
Did you install/update to stock nougat first?
[Moto G4 Plus Questions & Answers] Dil_khatri:
OTA updated.. then rooted and installed custom kernel (elementalX)
[Moto G4 Plus Questions & Answers] zeomal:
Did you wipe /system and /data?

Please do so. In fact, wipe cache and dalvik as well.

This happens because TWRP cannot flash a custom ROM over a stock ROM.
[Moto G4 Plus Questions & Answers] Dil_khatri:
I had wiped that above all but still got error 7.
[Moto G4 Plus Questions & Answers] echo92:
Which ROM build did you download? Perhaps re-download a fresh copy of the build.

Also, did you restore your stock boot.img? I'm just wondering if ElementalX is affecting the installation.
[Moto G4 Plus Questions & Answers] Dil_khatri:
Where can I find that one?
[Moto G4 Plus Questions & Answers] robot_head:
Go into both twrp folders and delete the .twrps file in external and internal. All will be good View attachment 4044602
[XDA Assist] :
Hey so I recently got my Stark Groove 7W-L stuck on a bootloop and I need the stock firmware in order to flash it back to normal.

I had made 2 img backups using Rashr but I can't use those img files in LiveSuit.

So if anyone has the stock firmware for Stark Groove 7W-L or has that tablet please upload the stock firmware I really need to fix it.
[LG V20 Questions & Answers] twidledee:
I need some help with my Elsa. I soft bricked it about a 9 days ago while I was installing gapps on top of lineage OS 14.1. I had rooted using Cow mid January , 17.

Using fat I resized, formated, wiped ----system, data, cache--- partitions. Then I formated Dev/Art in F2FS which resulted in some very interesting stuff. Now that I've gotten TWRP back on it ( or helped it revive ) through fastboot.

File system looks good.

/system

file system ext4

size 5416MB

free 5405MB

used 10MB

backup size 10MB

/data

file system ext4

size 52528MB

free 5245MB

used 0MB

backup size 0MB

/cache

file system ext4

size 0MB

free 0MB

used 0MB

backup size 0MB

Is there any cmds, coding, prompts.... etc.... i can run in the twrp terminal to gather more information to the condition of the device?

No stock. No roms. Nothing except Android I think

A clean blank state?

The device Had full SElinux and MTP this whole time it was bricked
[LG V20 Questions & Answers] Team DevDigitel:
if you have twrp, the flash a rom for your device via twrp and let it boot.

typically will reboot 2x and take 10-15 min from start to finish 1st boot.

if you have twrp you just need to flash a rom,

make sure you do a full wipe, and a format data prior to installing your rom.

Please stop re-posting new threads, your making this harder for any dev to help as you've now made 3 posts for the 1 device you have, and the 1 issue.
[LG V20 Questions & Answers] twidledee:
I'm sorry.

It's just been hard. I'm reading and trying to do my homework on this issue from LG UP to boot img. Recovery img. And system img. Having issues with adb seeing device to Windows drivers not being correct.

Now that I've got twrp functioning again on the device along with adb... I've got the KDZ file which I have extracted to produce a system.img file. I have no boot or recovery img though. I've put all extracted files into my platform tools folder. I don't know what to do now. I don't want to mess this up. Help me get this correct :)
[LG V20 Questions & Answers] Team DevDigitel:
if you have twrp you dont need a system.img recovery.img or a boot.img

you just need to go to https://xdaforums.com/v20/development/rom-natf-1-00-test-5-debloated-stock-t3509750

download the rom,

place on sd card and install it using twrp.
[LG V20 Questions & Answers] twidledee:
Is sbin the internal storage I need to sideload to for the rom and gapp package I want to install?

Oh sdcard... I see it.

adb sideload /sdcard filename.whatever?
[LG V20 Questions & Answers] Team DevDigitel:
You can set the zips anywhere in internal.. But id recommend putting them on a sd card as they wont accidently get erased.

With his rom you dont need gaps.

Only aosp roms or aokp roms

Just choose wipe and do it 3 times

Then do advanced options in wipe and do format data

Once done go to install and choose the location where the rom was saved. Again a sd card eliminates side load. Mounting ywrp with mtp to move stuff etc. But if you have to use internal. Go to mount and mount mtp stoarge and use pc to drag zip to phone.

Should just need to install the rom and reboot. The link i sent you is for the stock rom you started with.. And some mod options. Just get it working with it and get the fine details done later..

But you just need to find the file under install and install the full zip. If its aroma it will let you personalize rom.

Just install the recommended zip from link and profit.
[LG V20 Questions & Answers] twidledee:
I appreciate your very informative and knowledgeable advice. A+brother
[Moto G4 Play Questions & Answers] ForSquirel:
edit: Moved on and flashed back to stock. Probably just easier to do if this happens to anyone else.

I noticed with my phone that there were apps listed that were uninstallable, ie BellTVWidget, BR Apps, etc. They aren't specific to my carrier so I didn't see the issue with keeping them around, not to mention they exist on the play store. Now that they're gone I can't access the Settings>Apps section to do anything with my currently installed apps. I have them backed up but I don't have them in the proper directory anymore. This is the error it throws before it fails.

com.android.settings.applications.ManageApplications$ApplicationsAdapter.hideCarrierPrivilegedAppsFromList(ManageApplications.java:917)

Any help would be appreciated to get this working. I'd like to get it working without having to restore an old backup.

mta: flashed back to stock. To much to worry about. restoring system didn't fix. Moral of the story, gotta leave some stuff where it is regardless.
[Xiaomi Mi Note 2  Questions & Answers] stevevalo:
I have a Note 2 with MIUI 8.0.15.0 stable ROM installed.

I thought I might install the Developer ROM as I thought it might have newer features on it.

However when I unpack the ROM on the phone ready for installation it comes up with a message, are you sure you want to down grade. I thought this was strange as the development ROM should either carry its own version number or be a later version number.

Should I update the stable version for the developer version?
[LG K10 Guides, News, & Discussion] ArcherEmiya:
For those who wants to root K10 MTK Variants

The tutorial

[youtube]-ZWhsdiPBOU[/youtube]

Lets make some changes.

Downgrade your k10 first to 2016 android security patch. I discover that the latest patch of K10 with android patch 2017 do not allow supersu package to install even if its already in gz compression they may change the boot image so hard this time. Now use LGUP and use UPPERCUT on flashing K10 to its previous patch.

:good::good::good::good::good:
[LG K10 Guides, News, & Discussion] Professor Woland:
As far as I know there is allredy this metod explained, I couldn't watch all the videos because I would become completely blind. If it is a different metod you should write a text guide with images. Or use screen capture at least on pc.
[LG K10 Guides, News, & Discussion] pvineeth97:
Give a proper title to the thread. I don't what this thread is created for?! You could have posted anywhere in the existing forums.
[LG K10 Guides, News, & Discussion] ArcherEmiya:
I know bro,these tutorial is the same to previous all method.
[LG K10 Guides, News, & Discussion] gottlasz:
This is not the same since it's using the old solution. The new solution is much more simple. Also i don't think it's proper to make a thread about this video guide cos i have also video guides in my thread...

Anyways can you make a recovery log about what happens when you try to install supersu on the 2017 patch level firmware?
[LG K10 Guides, News, & Discussion] ArcherEmiya:
I'll be glad to do that gott, probably next week.

:good::good::good::good::good:

But where's the video? can I have a look?
[LG K10 Guides, News, & Discussion] gottlasz:
My whole thread is full of videos

https://xdaforums.com/lg-k10/how-to/friendly-root-method-lg-k8-k10-t3531223

I'm looking forward for that recovery log... :)
[LG K10 Guides, News, & Discussion] ArcherEmiya:
Ooh.. I almost forgot, I can't remember now exactly how to backup the log. Could you tell me how to do it again?
[LG K10 Guides, News, & Discussion] gottlasz:
TWRP/advanced
[General Questions and Answers] crowdie:
Hey,

I'm using a Lenovo Tab 3 in my car as a basis to play audio from as the standard interface of the car is terrible. I have it set up so that the tablet is plugged into the car radio USB for power, an app ensures it comes on / turns off (standby) in accordance with the power state. I like my audio quality to be as high as possible but find myself forced to use bluetooth or AUX at the moment because I cant figure out if there is a way to stream via the USB.

The car can read a song from the tablet when connected, but the navigation of files is via the car radio which is not what I'm after. Is there a way to use the USB almost as an AUX, where the music is selected via the tablet but not processed by the tablet and instead sent "pure" to the radio?

I'm getting a fair bit of distortion through the bluetooth so unfortunately it isn't really the solution here. The audio is also getting processed twice, by the tablet and the car which will reduce quality.

Any help would be greatly appreciated. I'm not against rooting, although the tablet hasn't currently been.
[General Questions and Answers] Droidriven:
To my knowledge, streaming audio via USB isn't possible, I could be wrong though. You can play music from USB as if your device were a USB flash drive.

Here's some info on android USB audio.

http://apcmag.com/the-ins-and-outs-of-android-usb-audio.htm/

https://www.cnet.com/roadshow/pictures/usb-connecting-your-car-stereo-and-android-phone/5/

https://source.android.com/devices/audio/usb.html

http://www.androidpolice.com/2014/0...-android-now-natively-supports-usb-audio-out/
[General Questions and Answers] crowdie:
Thanks for the reply,

I feared this may be the case. I think a DAC is going to have to be the way forward with this unfortunately!
[Upgrading, Modifying and Unlocking] WM2003:
Hello,

1.i want to Know The Size of Ram Disk

From Where Ram Disk get Size:

Storage Memory

Program Memory

Extended Rom

and is it compatible with all WM2005 Devices

2.i want to know the compatibly of ExtRom Tools

All WM2005 Devices or not

Please i want the best version of Ram Disk and ExtRom Tools

Thank you
[Upgrading, Modifying and Unlocking] Rudegar:
Program Memory is where ramdisk gets it's mb
[Upgrading, Modifying and Unlocking] WM2003:
Thank you

that meant that Ram Disk is not useful

What's about Tools ExtRom Tools?
[One (M9) General] Juan12345:
So the HTC 10 is presently out of my $300 budget, even used, but the HTC 11 is due next month and that might drive down 10 prices. Any thoughts on what HTC's new flagship will do to 10 prices?

On the other hand, I can get a new unlocked M9 for $300. Is the M9 future-proof enough, as well as reliable enough, to last me 3-4 years?
[One (M9) General] computerslayer:
I think those of us here in the forums are still pleased with the M9, but I would recommend the M10 for no other reason than future development. It looks like it has ongoing development at its forums, where the M9 has pretty consistently struggled to receive attention (for a variety of legitimate reasons, I'd say).
[One (M9) General] PonczekPL:
HTC 10 is a regression compared to M9
[One (M9) General] Juan12345:
How so?
[One (M9) General] babu.rajiv2007:
Go with the HTC 10.

HTC One M9 is a good phone, but it does get overheated if you game, and the battery backup is not that good.

Plus, the camera is a fail (though i still use it as my primary phone)
[Sprint Samsung Galaxy S6] koop1955:
That is the wrong version of TWRP for a Sprint phone. The correct version is here: https://dl.twrp.me/zerofltespr/

There is a thread with links to the latest stock TAR files, correct version of TWRP for this phone and SuperSU here: https://xdaforums.com/sprint-galaxy-s6/general/guide-links-files-update-root-restore-t3366862
[Sprint Samsung Galaxy S6] flett044:
Thanks for pointing that out.
[Sprint Samsung Galaxy S6] yaibakt:
hmm, may I ask what advantages we get from this root method?

thank you.
[Sprint Samsung Galaxy S6] flett044:
You can hide your root and play Pokemon Go XD. I just think its more convientant having all my control apps super su and busy box in one place.
[Sprint Samsung Galaxy S6] joej191:
Thank you for this.!!!!!!!!! 10/10
[Sprint Samsung Galaxy S6] flett044:
Your welcome. Glad I could help. :)
[Sprint Samsung Galaxy S6] Nye-uhls:
Is magisk supposed to be installed after every reboot, or is that one of the many G920p specific issues?
[Sprint Samsung Galaxy S6] flett044:
I believe it is a GP20 specific issue because I have install mine after every reboot.
[Sprint Samsung Galaxy S6] Nye-uhls:
I just read this on the OP magisk thread: "magisk doesn't play well with Samsung devices. Try a custom kernel"

So i flashed the skyhigh kernel and now magisk is surviving restarts... the trouble is, Skyhigh auto intalls supersu and busybox.

Supersu isn't compatible with magisk, and i THINK that kind of busybox fails safetynet.

... so i used the busybox app to Uninstall busybox and the supersu app to do a full unroot and mount the stock boot image. (All to see if I could get magisk fully working) Then wipe davlik/cache, flashed the magisk.zip... booted up and opened the magisk manager, magisk was still installed, and magisksu was "properly installed"... but i fail safetynet attest now so i don't know what thats about.

Wondering if any of the veterans can chime in about any of this, since magisk indeed is pretty glitchy on the stock kernel.

Tl;dr: magisk doesn't work well with stock kernel, not sure how to get it working with custom kernel
[Sprint Samsung Galaxy S6] flett044:
I would also like to learn how to install magisk in sky high kernal.
[Sprint Samsung Galaxy S6] Nye-uhls:
Hey [MENTION=4988866]tdhite[/MENTION] do you have any input on this? I assume it would break synapse support to use magisk and magiskSu instead of supersu and the normal busybox, but worth it.

Quick recap: trying to run a magisk set-up with a custom kernel. Presumably using magiskSu.
[Sprint Samsung Galaxy S6] Muledeer:
still work?

[MENTION=8075759]flett044[/MENTION],

Does this hidden root option still work with latest version of Pokemongo?

thanks
[Sprint Samsung Galaxy S6] flett044:
Yes it still works.
[Sprint Samsung Galaxy S6] tdhite:
The boot routines currently use a policy tool specifically provided by SuperSu which is not available in Magisk. Access to files needed by various processes executed periodically (cortexbrain, cron jobs and others) may fail, but that would not be a critical failure, just a 'bummer' in the worst case. The startup routine is smart enough to check the policy tools and will cleanly boot even if SuperSu's tools aren't around.

Long story short, the kernel should work fine, you'll just miss out on certain things that try to run now and then to 'tune' the system.