yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy On7 ROMs, Kernels, Recoveries, & Ot] Vikram4545:
*/

" #DroidOnTime "

/*

*

* Your warranty is now void.

* We are not responsible for anything that may happen to your phone by installing any custom ROMs and/or kernels.

* You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA and its respected developers.

dotOS is an Android Rom which focuses on performance and stability. Our aim is to enable a user to extract as much juice as possible and get most out of his/her device.

Initially started by Mohan CM and later joined by Ganesh, Sam, Kuber, Iacob and Hari. Together we stand strong.

Stability and Performance

Lagfree with High Performance Results

Clutterless UI

Perfect Interface for every User

Enhanced default apps

Redesigned settings and QS panel

Full OMS support

Colour Engine Support

DotExtras !!

STATUSBAR

* Clock Customisation

* Battery Customisation

Quick Settings

* Quick Pulldown

* QS Tiles Customisation

* Advanced Quick Setting Easy Toggles

Buttons

* Volume Key Cursor Control

Display

* Wake on Plug

* Pocket Detection

* Accidental Touch

Lockscreen

* Fingerprint Tweaks

* Powermenu Tweaks

* Double tap 2 sleep anywhere

* Lockscreen Media Customisation

* Blur Screen Lockscreen

Recents

Navigation Bar

Misc

CLEAN FLASH :

1.Download Rom and fix file as well as Gapps copy them to sd card.(Fix file is necessary to fix video recording:good:)

2.Wipe everything except sd card.

3.Flash the Rom,Gapps,as well as Fix file

4.Wait for few mins...

5.Complete the setup and enjoy dotos..

link to rom:- https://drive.google.com/file/d/1bVSz_-Koc7WCNMPz8zRQo5fyv865X-BI/view

link to fix file:https://drive.google.com/file/d/1WxTCcM6rU2139bzqxrKtlL16SiraPEHI/view

link to Gapps:- www.opengapps.org

Note : Pico or Nano Gapps are recommended. We Don't prefer STOCK/HEAVY Gapps

OpenGApps

source: Dot os Rom:- github.com/DotOS/manifest

Kernel: www.msm8916.com
[Samsung Galaxy On7 ROMs, Kernels, Recoveries, & Ot] paypks1:
pp
[Samsung Galaxy On7 ROMs, Kernels, Recoveries, & Ot] xawbeenregmi:
ny bugs??
[Samsung Galaxy On7 ROMs, Kernels, Recoveries, & Ot] Zirgom:
There is a bug for bluetooth it connects but it do not play sound at alll and when i play games like gta san on my on7 pro it lags tooo much ?? plsss fix this. hope you fix it soon ...!!!? And thanks very much for bringing up oreo for this phone i really appreciate your work. And let me know if your are making modified kernel for this phone 'overclock' so that we can increase more performance. Thanks again?
[Samsung Galaxy On7 ROMs, Kernels, Recoveries, & Ot] xawbeenregmi:
does call in sim2 works in on7 pro??
[Samsung Galaxy On7 ROMs, Kernels, Recoveries, & Ot] Viki_1:
volte

Does that Volte works?
[Samsung Galaxy On7 ROMs, Kernels, Recoveries, & Ot] teco10:
Hello!

I installed yesterday on my wife's cell phone, for now it's great, I'll be checking today for the battery, which first impression is very good.

I have a Titan and I already used the nougat from DtOs and I loved this rom.

Many thanks for developing on On7, I'll be giving FeedBack as my wife tells me.

Great work, warrior [MENTION=8541233]Vikram4545[/MENTION] !!

Hugs.
[Samsung Galaxy On7 ROMs, Kernels, Recoveries, & Ot] Robssjgssj:
Thanks! I've tried Lineage os and it was sooo laggy, and I was searching desperately for a stable Oreo rom lol

Using it for about 5 days and still no major problems here. Animations are ok, and smooth. Some lags may occur but I'm sure it's due to system memory and it's a very basic smartphone.

But only at home on wifi, gonna try it with lte this week.

Keep the good work! ??
[Samsung Galaxy On7 ROMs, Kernels, Recoveries, & Ot] teco10:
Hello!

The rom is in great performance, I'm just facing a general crash, it's very rare to happen, more has happened on my wife's On7.

You are using it and suddenly it locks the whole system so that you can not even turn the device off.

Yesterday I had to take the battery to restart the system, can someone tell me why this happens and how to solve it?

In the rest very good rom, eagerly awaiting further updates.

Hug.
[Samsung Galaxy On7 ROMs, Kernels, Recoveries, & Ot] teco10:
Hello!

Will you have new updates ??
[Samsung Galaxy On7 ROMs, Kernels, Recoveries, & Ot] sam_spatel:
Bugs

For my on7, audio is not working at all :crying::crying::crying:, also Volte is not working:confused:.

Please fix this bugs.

Rest of these issues, ROM working properly, nice stable usage interface. thanks dev.
[Android Q&A, Help & Troubleshooting] toxic666:
Hi ,

I need someone who can help to theme the

HTC music apk

to all black AMOLED version .

Below is the stock app screenshot .

The device I am using now is OnePlus 6 .

Resolution ‎1080 x 2280 pixels

The stock HTC APK attached below .

Thanks in Advance:good::)

View attachment 4518785

View attachment 4518786
[Android Q&A, Help & Troubleshooting] :
/del
[Android Q&A, Help & Troubleshooting] Ibuprophen:
I don't have this device but, you may find the following threads may be helpful for what you are looking to do. Don't be afraid to ask for some member guidance within one of them too.

https://xdaforums.com/showthread.php?t=3591240

https://xdaforums.com/showthread.php?t=2586472

https://xdaforums.com/showthread.php?t=2277112

https://xdaforums.com/showthread.php?t=2247471

Good Luck!

~~~~~~~~~~~~~~~

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Q&A, Help & Troubleshooting] :
These threads didn't help me :(
[Android Q&A, Help & Troubleshooting] tdanro:
You are in firmware update mode, not in fastboot mode. Unfortunately I'm not aware of any way to go in fastboot mode on LG Q6 plus (M700A). Tried unsuccessfully with several EU firmware versions.
[Android Q&A, Help & Troubleshooting] :
Hey, moderators! Remove this thread please. LG Q6 has locked bootloader.
[Android Q&A, Help & Troubleshooting] Ibuprophen:
Just asking for a Moderator to close a thread on a post is rarely seen but, there's a process that the forum has set up for this specific request.

The following steps are the best way to have a thread closed by a Moderator (and they prefer to be asked by the specific member who opened the thread... that's you).

{FYI... The Moderators prefer not to delete a thread unless it's necessary to do so. Closing a thread keeps the information available for other members to learn from it as well.}

1) On the first post, select the bottom left triangle (reporting a post).

2) When the next page loads, select the reason on drop down section (at the bottom left of the text area), then select the one that states "Thread/post moving or maintenance".

3) If it's because your question was simply answered, then type the reason within the text area. Something simple like "Can you please close this thread because my posted question has been answered." (you can also tell them that "Ibuprophen is awesome" LOL!).

4) Finally, select the "Send report" and you'll then be taken back to the thread. Your all set!

The report is then listed on cue for a Moderator. It typically takes anywhere from 10 min to a day or two. The Moderators are very good and are pretty much on top of things.

Reporting a thread isn't intended as a bad thing. It just elevates having to send call-outs and PM's to a bunch of Moderators till one is available.

You've now graduated from the "Closing a thread 101" course! LMAO!!!

Good Luck!

~~~~~~~~~~~~~~~

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Tandy TRS-80.
[Android Q&A, Help & Troubleshooting] SacredDeviL666:
Thread Closed.
[Off-topic] tarun_bazooka:
Mod Edit: Content Removed.
[Off-topic] :
Seems you didn't read the red text here, https://xdaforums.com/showthread.php?t=3796818

Again, thread closed. Xda isn't here to help you get recognition elsewhere. Please, no more. :good:
[Asus Zenfone 5Z  Questions & Answers] RealEvil:
Hi, I pre-ordered from Asus UK store a few days ago.

I just checked and the Zenfone 5 appears to have completely disappeared from their site. How odd?

Anyone else noticed this/also pre-ordered?
[Desire 820 Q&A, Help & Troubleshooting] Anghirrim:
Hi team,

I have been searching for hours on this topic.

As usual, being the geek from the neighbourhood, I was asked if I could fix a HTC Desire 820 n that did not boot anymore.

Needless to say that I have NO CLUE of the things previously done on the phone. Strange thing is that the fastboot screen status was saying "software status: modified", but the phone was locked.

So.... I have access to fastboot and the phone gets recognized under Linux and W10 by fastboot.

I unlocked it using the HTCDEV.com website.

Tried to flash several RUU files either by using the "fastboot oem rebootRUU" command and putting directly the zips on the SD card.

Everything failed.

Last, but not least, I did try to flash a TWRP and a stock recovery found on XDA, with a successfull message via fastboot, but all it finally managed to do, was to erase the recovery partition completely.... I have no clue how it did that, but now, the "IMAGE CRC" option shows 0x0 for recovery.

Now, the "fastboot oem rebootRUU" command just reboots to the white HTC logo, not the black one anymore (I managed to get it twice at the beginning, but not anymore after the recovery flashing attemps).

I am not new to flashing roms, I used to own a GS3 LTE, a Nexus 5 and a OPO (bacon). Now am using an OP3. But... I am new to HTC and this phone drives me crazy.

Given the fact that it does not charge well, I would go for a hardware problem... but wanted to check here first.

See below the getvar all output:

fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 01.01.010_U10305041_08.01.41222_2

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.28.73.5

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: HT55TYC01491

(bootloader) imei: 355721061247526

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: a51_ul

(bootloader) platform: hTCBmsm8939

(bootloader) modelid: 0PFJ40000

(bootloader) cidnum: ORANG202

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: 45474d34

(bootloader) hbootpreupdate: 11

Thanks in advance for your help.
[Desire 820 Q&A, Help & Troubleshooting] zain_k:
htc desire 820 - boot loop (S-ON)

I have the exact same problem, phone has gone into a bootloop.

The phone can only go into fastboot, any other mode is restarting the phone.

Things attempted so far

1. Several ROMS Using SD Card and Fastboot - all failed

2. Flash recovery using fastboot SD Card and Fastboot - all failed

Below my Getvar all.

C:\htc>htc_fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 01.01.010_U10305041_08.01.50512

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 2.10.401.4

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: CC51YYC02547

(bootloader) imei: 357586060199426

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: a51_ul

(bootloader) platform: hTCBmsm8939

(bootloader) modelid: 0PFJ40000

(bootloader) cidnum: HTC__001

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: da038a09

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

(bootloader) mfg-name: 1001

all: Done!

Execution time is 17(ms)

I suspect its something got to do with S-ON, but i cannot even boot into the phone to S-OFF.

anyone with the correct ROM/RUU/TWRP/S-off GUIDE, anything else i can do?
[Desire 820 Q&A, Help & Troubleshooting] Anghirrim:
Thanks, when you run the "IMAGE CRC" option from the hboot menu, what's the output for recovery, 0x0?
[Desire 820 Q&A, Help & Troubleshooting] zain_k:
rpm: 0x6A7BD82D

sbl1: 0x6A3B49EB

sbl2: 0x0

sbl3: 0x0

tz: 0xAF082D6E

radio: 0xD0B4EFF2

hboot: 0xB5EE6124

boot: 0xFD720909

recovery: 0x9585BA01

system: 0x2377CF4E
[Desire 820 Q&A, Help & Troubleshooting] Anghirrim:
At least you still have a recovery... Not me.;)
[Desire 820 Q&A, Help & Troubleshooting] zain_k:
Anyway forward?
[Desire 820 Q&A, Help & Troubleshooting] Anghirrim:
What do you mean?
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] neeraj22:
Thanks.
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] Jhonzx:
WOW! Thanks for bring AEX back for us. I'll test soon. :victory: :highfive:
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] mathpfvr:
Thabks bro <3
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] taljha35:
Hello Professional_Guider Thank you very much for continuing this ROM first and wish you success.So what are the differences between this ROM and other aex ROMs, for example, how is the battery performance? does FM Radio work? is the camera paranoid camera? can you give us some information? Thank you. :) I wonder if this is a June security update
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] Betrayal92:
I downloaded the ROM and this is what i think:

*I really liked all the Fonts option

*I missed the AEX bootanimation (but this is not a problem at all)

*I always loved that camera App don't know why, but seems to take better photos than the

App in the other AEX 5.5 ROM (Don't know the reason but when u put the phone horizontally

and try to slide between all the option there is a delay, and when u touch one option it

doesn't open or open the one above (with the phone vertically there is no problem)

*In "Recents" the animation when u slide between apps, seems to have a bit high lag (That got

solved when i deactivated the option "Recents background tint" in Extension->Recents->...

*Audio cracking bug is present in this ROM (But Dolby Mod is working)

**For the guy who asked... FM Radio is not working

***Didn't try battery backup with stock kernel, but with PBH if i'm not wrong...battery backup was really good.

P.S:I'm not asking or forcing the dev to do any fix...i'm just saying what i saw so far.

I attach 2 logs...i hope they are useful.

P.S.2:Sorry for my english hehe
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] rubenx3me:
Woow thank you very much! I'm going to install it to see how it is:D
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] taljha35:
Thank you, sir, I got the information I wanted:)
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] chico-rs:
Did you updated from v5.4 or a clean install? Does the camcorder on the native paranoid camera works?

Has anyone a clue how to fix the FM Radio?

Thanks for keep updating it.
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] dhiman11:
I have been using aex rom since its initial build. Thanks [MENTION=8726134]Professional_Guider[/MENTION] for bringing back this rom. Right now i am on aex 5.5 official build.
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] Betrayal92:
Clean install...I don't know why, i totally forgot to try Video recording, but Photos had no problem with the phone Vertically
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] Hacker@1995:
WhatsApp video,status not playing anbody knows any fix .Thanks
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] Betrayal92:
Logs please
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] srt99:
did a clean flash. works fine. phone runs smooth. very smooth. haven't tested it thoroughly. this is my secondary device.

a couple of things i wanna know.

one, how do i disable one sim?

i didn't see the option in settings.

second, for the first time in my life i had to manually set the internet apn in an android phone. for some reason there is no 'pre installed' apn. i tried other sim but none of them had apn. had to manually set it. is this related to rom or problem with network??
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] David78130:
Hi bros, I'm having bootloops after clean flashes rom and gapps, flash only rom is booting ok.. any ideas ?

Ps: gapps is the right one I think (arm64, Pico)
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] samsat1024:
You can try this solution, it worked for me.

https://xdaforums.com/showpost.php?p=75919404&postcount=5
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] David78130:
Sadly it didn't work for me.. will wait new version of gapps I think.. tnx anyway !!
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] StrixxXModd:
Bugs :

• Audio laaag

• Atimos no work

• Audio Bugs

Using with Kernel Dragon elite oreo
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] Jhonzx:
These audio bugs was found in all oreo ROM. When you report some bug, please provide the logs.
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] Shiva $$$:
Scrolling is not smooth and random disturbance in audio
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] Betrayal92:
*In "Recents" the animation when u slide between apps, seems to have a bit high lag (That got

solved when i deactivated the option "Recents background tint" in Extension->Recents-

Try that for scrolling in Recents... Or Try to configure kernel, etc..
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] Shiva $$$:
I have flashed Dragon elite and refused the animation to

.7 in developer options now it seams smooth ;)
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] cks_:
Force stop WhatsApp. After that videos will play for sometime.
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] Ironmaniaco:
Is a clean flash needed or could i dirty flash my AEX 5.5 latest official release?
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] Betrayal92:
Yes you can... But as always, clean flash is recommended
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] chandran007:
This rom is great for performance and battery back up. But I don't know how to move apps from internal to SD card.if anybody knows kindly tell me
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] rajupatel77:
Can I continue flash this rom with my previous flashed GAPP and Rom aeox v 5.5 provide by [MENTION=5865715]harry.[/MENTION]
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] chandran007:
Please any body tell me how to move apps from internal storage to SD card
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] k4k:
There are many apps available on play store to move your apps. They require root. Download anyone you like. Its really easy.

---------- Post added at 11:26 AM ---------- Previous post was at 11:25 AM ----------

Yes you surely can. Basic build is the same no matter who compiles the ROM
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] chandran007:
Bro no app done the work correctly. please suggests particular app
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] ayaanshaitaan:
Link2sd
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] Ironmaniaco:
That depends. On LineageOS If you are comming from a OFFICIAL to NON-OFFICIAL ROM you will have to remove the signing keys(by flashing first a specific ZIP)

Not all ROMs will overwrite on a dirty flash this way.
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] Foghorn73:
Hello developer guys, thank you for your works!

I made my 4th reinstall, my phone was hard bricked so i learned lot of things about flashing in the last 2 months... :)

I have only one problem with ROM/phone seettings, my incall volume is not enough.

Two questions are here:

1. VoltE is working on this rom?

2. Can i make some modification in deep volume config for louder incall volume?

Note: After last flashing, my dialer is missed by default. Incall pick up was impossible, partner data was invisible. First boot up was 8 hrs long (overnight)...

Thanks!
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] Hacker@1995:
VoLTE is working fine...Read OP before flashing.

Yes you can make modifications search this thread.

And usually booting after flashing this rom only takes less than 15 min ...

Flash Gapps correctly.you will get Google dialer.
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] Pipeline1207:
Hi every one, thanks for development.

had Somebody test the gps? i have 5.4 and gps is not working, thanks again.
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] Betrayal92:
I think AEX is the best oreo ROM,even with its Bugs...with PBH Kernel(+Tweaks on Kernel),+ Dolby Atmos Mod.Has the best perfomance and battery life, near 0 lag on Animations.
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] RemmyDZ:
What tweaks did you use, and with what app (EX Kernel Manager, Kernel Audiutor, etc.)?

Thanks in advance! :)
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] Betrayal92:
Kernel Adiutor in my case...and using this two links:

https://xdaforums.com/k5-plus/themes/mod-project-horizon-t3732926

https://xdaforums.com/android/general/guide-comprehensive-guide-to-kernels-t3121088
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] RemmyDZ:
Thanks for the reply!

So just to clarify, you did not flash this kernel? https://xdaforums.com/k5-plus/development/kernel-t3785012
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] Betrayal92:
Yes i have, i flashed his V2 Kernel, he have that Interactive Mod post too, u could use Impulse,Darknes governor or his Interactive tweaks, in my case i like Interactive. I think he recommends FIOPS scheduler for battery but i prefer ROW and BFQ for GAMES. :good:
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] Ironmaniaco:
Dont know If someone more noticed, but there is a 5.7 available at the official repos

https://downloads.aospextended.com/A6020/
[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] alkhanimr:
I can't view the video of whatsapp chat and WhatsApp status in aosp 5.7 version... this is the issue
[General Questions and Answers] som4paul:
I am providing permission to the application on Android at initial setup to track geolocation and mobile lacs, cell id and country code along with tower code. I am receiving the following error on midway - "Permission Denied cannot get location Android" i.e. initially on installation of the Application on android its providing geolocation initially but in the midway it stops fetching geolocation .

Solutions for the above will be really appreciated

Please Find the Code below -

{

}private void requestStoragePermission() {

Dexter.withActivity(this)

.withPermissions(

Manifest.permission.WAKE_LOCK,

Manifest.permission.READ_CONTACTS,

Manifest.permission.ACCESS_NETWORK_STATE,

Manifest.permission.ACCESS_WIFI_STATE,

Manifest.permission.READ_PHONE_STATE,

Manifest.permission.ACCESS_COARSE_LOCATION,

Manifest.permission.ACCESS_FINE_LOCATION)

.withListener(new MultiplePermissionsListener() {

[MENTION=439709]override[/MENTION]

public void onPermissionsChecked(MultiplePermissionsReport report) {

// check if all permissions are granted

if (report.areAllPermissionsGranted()) {

Toast.makeText(getApplicationContext(), "All permissions are granted!", Toast.LENGTH_SHORT).show();

}

// check for permanent denial of any permission

if (report.isAnyPermissionPermanentlyDenied()) {

// show alert dialog navigating to Settings

showSettingsDialog();

}

}

[MENTION=439709]override[/MENTION]

public void onPermissionRationaleShouldBeShown(List<PermissionRequest> permissions, PermissionToken token) {

token.continuePermissionRequest();

}

}).

withErrorListener(new PermissionRequestErrorListener() {

[MENTION=439709]override[/MENTION]

public void onError(DexterError error) {

Toast.makeText(getApplicationContext(), "Error occurred! ", Toast.LENGTH_SHORT).show();

}

})

.onSameThread()

.check();

}