yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] Tre Ceasar:
Attaining root J337p? Dirtycow?

To gain su permissions after reflashing stock have you tried using the dirtycow exploit. I have found it to be an almost fool proof method to attain temp root and for flashing twrp or cwm. Depending on the phone you may have to modify the source a bit but basically jus go to github and download the dirtycow zip or if your using Linux then use git clone and clone the Repository then extract it rename to whatever you want i use the simple dirtycow. put that and accompanying files on the root of the phone (/sdcard) . now use ADB push to push it to /data/local/tmp. Then ADB shell cd into /data/local/tmp and chmod 777 *. Once thats done depending on your phone its gonna be a little trial and error but use ./dirtycow /system/bin/applypatch /data/local/tmp/(the name of your dirtycow applypatch file). Then the same process with app_process or app_process64 depending on the phone. Reboot. That should take SElinux to permissive. Here is where things get tricky. ./dirtycow /system/bin/run-as /data/local/tmp/(name of your dirty run-as file). If you have the exact dirtycow applypatch file for your phone then proceed to thw next step otherwise do whatever mods you gotta do to get your file right. Now run-as exec ./(dirtycow)-applypatch boot. Once that is finished run-as su and presto you have temporary root to do whatever you feel like. I do the next step manually if youd like to. Download the appropriate twrp for your phone name it something memorable like twrp.img and move it to the /sdcard root of your phone. now su dd if=/sdcard/twrp.img of=/dev/block/bootdevice/by-name/recovery. Reboot to recovery and you should be free to flash a permanent root method like chainfire supersu or magisk. And that is that. But i warn you not all phones store the recovery image there you may need to search around a bit. I use su ls -al /dev/block/bootdevice/by-name or cat /proc. Between those 2 i usually can find where it is. I claim no responsibility for bricked phones. Thank you. I will be doing this to my j337p later today ill let you know what i come up with

Ps. If your phone is relatively new its more than likley it has a property called dm-verity which is enable that is a huge pain and causes encryption to fail while flashing. There are .zip files online i believe called dmverityopt.zip or something to that effect i suggest flashing that before and after any custom rom flash. Or a custom kernel that doesnt have that problem.
[Xiaomi Mi 8 Lite Questions & Answers] Deexterity:
Hey guys,

I'm running the latest beta on my Mi 8 Lite and I'm experiencing this bug that annoys me so much.. if I stop using GPS for a while and turn location off when I turn on to use again my location doesn't lock it just keeps following me and I can't make routes etc.. My only solution is rebooting the device and even that doesn't work sometimes, in Oreo that never happened so maybe it's Pie related? It feels like GPS has its own will if it works or not... If someone has a solution I would be very grateful
[Xiaomi Mi 8 Lite Questions & Answers] Deexterity:
If anyone is having the same problem I found a fix simply by editing the file gps.conf located in /vendor/etc (root needed) changing the ntp server to my country which in this case is Brazil.

How it was:

#NTP server

NTP_SERVER=time.izatcloud.net

NTP_SERVER_2=asia.pool.ntp.org

NTP_SERVER_3=0.cn.pool.ntp.org

And now is:

#NTP server

NTP_SERVER=time.izatcloud.net

NTP_SERVER_2=south-america.pool.ntp.org

NTP_SERVER_3=0.br.pool.ntp.org

After this my gps accuracy improved a lot locking position even when I'm inside the house
[Huawei Mate 20 Pro Questions & Answers] Darkat70:
Hi

Just tried to do a search but XDA app keeps crashing.

How do you Setup Smart Lock?

When I Open the Feature in Settings all I get is what's in the screenshots below, no settings or anything else.

Thanks in advance.
[Huawei Mate 20 Pro Questions & Answers] Rumlik:
Hi,

Disable Trusted agents in settings (use search) and reboot phone. After that, enable Trusted agents.
[Huawei Mate 20 Pro Questions & Answers] Darkat70:
I only have a list of trusted credentials a mile long. No trusted agents at all.
[Huawei Mate 20 Pro Questions & Answers] zolaisugly:
Have you been able to set screen password?
[Huawei Mate 20 Pro Questions & Answers] Darkat70:
Yes, Phone pin, finger print and face unlock
[Huawei Mate 20 Pro Questions & Answers] zolaisugly:
Post deleted.... screen shots answered it
[General Topics] Swantony001:
Hi Guys,

just got a member here and i have a huge problem. I own a Samsung SGH-i780 and i've resetted it like a 100 times!

I use activesync (XP) to sync my contact and calendar from outlook 2007. At first all goes well, and everything looks oke. But when i turn off my phone and restart it all synced items get stuck. I can't access my contacts or calendar anymore! I used to get all kind of errors and crashes (cprog.exe/atu_nitzz.exe-or something crashes)

Can anyone help? Same story when i sync trough Vista with Mobile device center.

Thanks in advance for all the help!!

greetz,

swa
[General Topics] viper6667:
the same ...

Hello,

I've got the same problem (crash of cprog.exe and atu_nitz.exe).

I've update my phone & radio rom, but nothing change !

Please, help ! :eek:
[Sony Xperia XA2 Questions & Answers] Pazuzu#:
hello Community

, I have unlocked the bootloader on my Xperia, TWRP with fastboot and then the ZIP flashed, AOSP with gapps and magisk. No problems... After some time I wanted to boot into TWRP. but was not there because the Android Recovery was suddenly there, so... new TWRP about fastboot, again AOSP, gapps and magisk flashed! And although there was no error message, but gapps and magisk were not installed, so fullwipe, fastboot, this time CR Rom, micro gapps and magisk flashed, again... only the Rom was installed, so I want to boot in TWRP no way, Android recovery is back!

What am I doing wrong and how can I change it please!

Many Thanks

Tim
[Sony Xperia XA2 Questions & Answers] MisterPetje:
Because A / B slot twrp doesn't stay

https://xdaforums.com/xperia-xa2/help/twrp-flashing-os-t3933608
[Samsung Galaxy S10e Questions & Answers] Mausolis:
I just installed labs on my Verizon S10e. When I hit my device it says my device is an AT&T Note 3..wtf?
[OnePlus 3T Questions & Answers] laur89:
Hi,

I have a somewhat general question about different OTA update application methods for OOS when Magisk and potentially TWRP is involved.

I'm still running 3T on 4.0.3 (as rooting with SuperSU broke OTA updates) and will be clean flashing Android P release once OP releases one.

Going forward, I'd like to be in a state where I have a Magisk-rooted phone, able to use TWRP, and receive OTA updates. Generally I've seen these two methods being recommended:

1) With TWRP:

a) download full image from OP site;

b) boot to TWRP, flash said image, followed by re-flashing TWRP as flashing full image restores stock recovery;

c) wipe dalvik & cache

d) reboot to TWRP & flash Magisk

2) Without TWRP:

a) restore stock recovery if using custom one;

b.1) restore stock boot image of currently installed android version by flashing it via fastboot; OR

b.2) restore stock boot image using Magisk's 'RESTORE IMAGES' option;

c) reboot and follow through with the OTA update from your phone menu (as you'd do normally with completely stock setup);

d) download stock boot image for the version you updated to, and patch it with Magisk Manager;

e) flash this boot image again using fastboot;

Now, my questions:

1. Which of the two methods above should be preferred?

2. Could either of the two methods used for OTA updates without losing data nor apps/settings?

3. Is there anything inherently different between flashing full image as in method 1) vs. going for the regular incremental OTA update as in method 2)?

4. for option 2), should b.1 OR b.2 be used? Magisk tutorials page seems to be recommending the latter.
[OnePlus 3T Questions & Answers] BillGoss:
I like to keep things simple, so if I'm going to install TWRP, then that's what I use for updates.

There's no benefit in swapping recoveries, especially since you end up with the same result.

By the way, it's been a long time since TWRP stopped patching kernels to prevent it being replace by the stock recovery. So, your step 1 is simpler:

a) download full image

b) flash it in TWRP

c) flash Magisk

And that's it. There's no need to wipe Dalvik or cache. I've not wiped either of these for years (and I've updated countless ROMs) and I've never had an issue requiring me to wipe them.
[OnePlus 3T Questions & Answers] laur89:
Thanks for the reply.

Any idea if there's anything specific that needs to be taken care of depending on whether phone is encrypted or not?

Any specifics re. Android P releases, or old flashing methods should work the same?
[OnePlus 3T Questions & Answers] redpoint73:
There is nothing stopping you from installing an Oreo version OOS (such as the latest stable 5.0.8). Who knows when stable P is coming. Maybe soon, maybe not that soon?

Just download the full zip, flash in TWRP, and flash Magisk right away (do not reboot before flashing Magisk). Same process BillGoss suggested in a previous reply.

https://xdaforums.com/oneplus-3t/how-to/official-oxygenos-5-0-1-android-8-0-t3728119

I wouldn't mess with any of this. The phone is modded, and it seems that the above process is just trying to "trick" the system into thinking it has never been modded, so you can do an incremental update. For no actually benefit, and just making a much more complicated process.

Full zip makes for a cleaner install than incremental, anyway. You can keep your user data in either case, so again, you aren't gaining anything with incremental (versus full zip) OTA.

---------- Post added at 01:03 PM ---------- Previous post was at 12:55 PM ----------

Well, are you encrypted, or not?

I've always had the phone encrypted, so can only say for certain about that condition. If it is encrypted, it will stay that way. There are a few TWRP builds that don't play well with encryption. But for the most part, just flash the update as stated previously, and you don't need to worry about encryption.

If decrypted, I believe flashing by TWRP will keep it that way. If you flash an update by stock recovery, I think it will force back to being encrypted. But again, I can't say for certain, as I've always been encrypted.

The community beta P release is having issue with devices which are bootloader unlocked

and

encrypted. If the device is just one of those (or neither) and not both, then it seems to work fine in most cases.

For the stable P release, I'm guessing it will work the same as the "old flashing methods" which has been described above. But we won't know for certain, until a stable P build is released.
[Xiaomi Mi 9 Questions & Answers] Rubyurek:
It calling me all time for the driver. I do that every time and I give him magisk root to do that. Any suggestion?
[Xiaomi Mi 9 Questions & Answers] Rubyurek:
Did i get here some help or not? Then i looking maybe for a other Forum...
[Xiaomi Mi 9 Questions & Answers] duvee:
Install as system app and allow it to install through the not recommended settings.

U now have to delete it and reinstall it.. Watch the instructions in the thread pls before you become sow passive agressive mate. It is not our fault, ok?
[Xiaomi Mi 9 Questions & Answers] _MartyMan_:
Use this module. Flash in Magisk manager. Choose latest driver, material app, system app, lib workaround, and choose no for the last. (I don't remember what was it)
[Xiaomi Mi 9 Questions & Answers] nikzodiac:
Hi, I've a Mi9 and tried to install Viper4AndroidFx.. Installation ok, driver installed, but no effect.. tried to set all to highest value to ear some difference but nothing..

Uninstalled it, i tried Viper4Android Legacy, installed as system app and by magisk and chosen all installation option with up volume button..

But still no difference with the stock speaker.. can you help me?

I would like to encrease the volume during a calling. thanks bye
[Xiaomi Mi 9 Questions & Answers] catalindobre:
take a look on mi8 or mi a1 forum in xda, there is described exactly which modules in Magisk must be installed to allow a proper function of the ViperFX. Still bootloader locked, so I cannot support by then.
[Xiaomi Mi 9 Questions & Answers] nikzodiac:
my bootloader is unlocked to flash magisk, why it doesn't works with unlocked bootloader?
[Xiaomi Mi 9 Questions & Answers] darek1995:
It only works with unlocked BL ofc. Did you tried installing "Audio Modification Library", and "Audio Compatibility Patch" from Magisk repo?
[Xiaomi Mi 9 Questions & Answers] nikzodiac:
no, what I've to do exactly? I'm not an expert of modding.. thanks
[Xiaomi Mi 9 Questions & Answers] catalindobre:
make sure to have installed Magisk Manager, also latest Magisk root installed via TWRP. After this it should be pretty simple, look for the afore mentioned modules in Magisk install them one by one (each single one might require a reboot). After installing them you may install ViperFX, (version 2.3.4 as a system app).
[Xiaomi Mi 9 Questions & Answers] nikzodiac:
hi, I tried to do everything you said, no one difference..
[Xiaomi Mi 9 Questions & Answers] catalindobre:
in a few days when the unlocking time will end will try it myself and in case will make it work, I will post here the process steps.
[Xiaomi Mi 9 Questions & Answers] ZoiraP:
You have to install the legacy version with lib workaround. For me its working or you can try the rootless version from team_dewitt (look here in xda for it) you only need twrp and init.d injector.
[Xiaomi Mi 9 Questions & Answers] pokko:
Try this one.

https://xdaforums.com/android/apps-games/app-viper4android-fx-2-6-0-0-t3774651

Just to install the apk, nothing else.

Working here like a charm
[Xiaomi Mi 9 Questions & Answers] nikzodiac:
Hi, I tried the version linked by pokko, it works, but I can't find the way to encrease volume, it works just to have a lower volume, If I set the master volume value higher it doesn't encrease, seems like the stock volume.. is there a way to have an higher volume for the speakers?

thanks
[Xiaomi Mi 9 Questions & Answers] Abaddon:
2.7.0/2.7.1 working great on MIUI but with GSI roms it's a different story
[Xiaomi Mi 9 Questions & Answers] nikzodiac:
if someone can tell me how to get an higher volume please let me know soon.. I'm really thinking to remove root frome my phone.. I've found no one good reason to have it, I don't want to change rom, so I did it just to have 3 things: adaway, encrease volume and use ps3 controller with bluetooth...

adaway doesn't block anything in site that I tried it,

with viper4android my speaker volume is still the same..

miui seems not compatible with ps3 controller.. sixaxis compatibility checker can't works with bluetooth..

the only good thing I've found is the modded youtube version with no ads and background player.. but I've seen exist a versione for no rooted phones too..
[Honor View 20 Questions & Answers] Therazorsedge:
Hi, i want to know since there is a lot of roms coocked for this device like openkirin ones and treble's

I can install treble roms?

Also i heard that mui 9.1 is in beta stage, how can i install it in my view 20?

Thank you
[Honor View 20 Questions & Answers] Hamza5682:
The honor v20 supports treble however honor hasn't enabled it.

And emui 9.1 is in beta stage not magic UI 2.1 (skin of emui 9.1 which is what the honor view 20 is set to get in may)
[Honor View 20 Questions & Answers] miststudent2011:
From where did you get it?

All devices launched with Oreo should support treble or else they won't get certified by Google. V20 supports treble.
[Honor View 20 Questions & Answers] Hamza5682:
I phrased it wrong.

The honor view 20 does support treble however it doesn't support treble ROMs as well as seamless updates.
[Honor View 20 Questions & Answers] miststudent2011:
Seamless updates are not much a issue. For that you need two partitions A and B which implies more ROM space is reserved for system . Only a few devices have A/B partition.
[Honor View 20 Questions & Answers] GreyGhostRos:
Supporting treble and being able to flash treble compatible ROMs are completely different things.. If you want to flash a treble ROM or GSI (or any custom ROM) you need to have an unlocked bootloader.. Which is officially not possible now.

You could flash a treble ROM which was signed by Honor.. But there are none which I am aware off..
[AT&T Samsung Galaxy S8 Questions & Answers] ctasich:
I've tried looking through the threads and I have seen some people getting updates and others saying they have not. Has AT&T officially released the Pie update for the SM-G950U? My partner's phone is stuck on Oreo [RF5(ATT)]. I'm not sure if there's something wrong with her phone or if the update just hasn't been pushed.
[AT&T Samsung Galaxy S8 Questions & Answers] sosuok:
I know of several S8's that have gotten the ATT update but mine won't update, getting frustrated with ATT over this.
[AT&T Samsung Galaxy S8 Questions & Answers] jkeener88:
I'm on a SM-G892A (S8 Active At&t) and still on Oreo!!
[AT&T Samsung Galaxy S8 Questions & Answers] GorkaPR:
go to a Ubreakifix store, they can update to pie.
[OnePlus 6T  Questions & Answers] samusishere:
So I think I've discovered a major bug across all ROMS. It seams that our DACs are not processing audio correctly. I've tried every single ROM on this form and to date I have not found one that does not exhibit some sort of distortion or sound abnormalities compared to stock. I've also tired installing multiple audio mods to no avail, some of them actually make the static/distortion worse. Is anyone else experiencing this issue?
[OnePlus 6T  Questions & Answers] se7ensde:
Why why why? This is the DEVELOPMENT SECTION!!!

Theres no bug or distortion in audio at all I'm always on custom roms and have never had any audio issues.
[OnePlus 6T  Questions & Answers] Scott:
What that other guy said about the proper forum....

Anway... So this bug...

What does it sound like?

What frequencies are distorting? Highs? Mids? Lows? Everyting?

At a certain volume?

A certain app or all apps or system wide?

Wired headphones, wireless headphones, bluetooth speaker, phone speaker?

Kernel?

ROM?

I cant think of what else I would normally ask but that about covers everything.

In other words, we need a lot more detail just to identify the issue.
[Miscellaneous Android Development] bscdb:
I am trying to develop an Android app to communicate with BLE HID Device where the hid Device is the peripheral and Android phone is the central. So far I could make a Bluetooth connection and I could read the battery service and generic access service from my Android app. My code recognizes the hid service but how do I read from and write to the reports???
[General Topics] CountChoc900:
I've been waiting forever to receive the 9.0 update to my Note 8, but for some reason it just isn't available for my device. Every forum I have checked says I should have the software update by now and I've been pouring over forums and articles to figure out how to receive the update short of flashing it myself. The biggest problem I'm running into is my phone is the Olympic edition Note 8 (N950N) and when I go to Samsung members app to try and find solutions its all in Korean and I can't change the language to understand it... Even recovery mode is all in korean so I'm screwed there too. When I contact Samsung.com they tell me I need to contact samsung Korea which isn't helpful because of the language barrier.

Anyone by chance have a similar issue and any advice on receiving the update?
[Razer Phone Questions & Answers] eddro22:
I was wondering can you update magisk through magisk manger or do you have to flash the zip over again Im not new to flashing updating but the Razer phone is so touchy and some things are different than other phones.thanks
[Razer Phone Questions & Answers] SeriousFlash:
I rooted my phone shortly after the Oreo update and have been updating magisk via magisk manager since.

I'm on magisk 19.1, manager is 7.1.2
[Razer Phone Questions & Answers] chris5s:
I may be being thick, but I can't see a way to update Magisk (not the manager) thru Magisk Manager?

Peace
[Razer Phone Questions & Answers] SeriousFlash:
That's how it looks for me. Always Magisk update on top and manager update below
[Razer Phone Questions & Answers] chris5s:
I have an older version then maybe that won't allow update to Magisk ...
[Mogul, XV6800 ROM Development] Sidewind75:
hello everyone i have this plugin and live near worcester ma..however they do not have that as an option..i read that you can add the city but you need to know the sorce and a special code...dose anyone know where i can get that information...

Thx in advance
[Mogul, XV6800 ROM Development] gc14:
Use weather watcher instead, it's better and free.
[Mogul, XV6800 ROM Development] blazingwolf:
Good job of suppling the requested information. :rolleyes:

You can use weather.com to get the info. Here is yours: USMA0502
[Mogul, XV6800 ROM Development] gc14:
I know, right? ;)

Why bother to supply the information when weather watcher is better software, uses up less resources, is free, and doesn't require you to know any codes to begin with?

I figured I was doing him a favor hehe
[Mogul, XV6800 ROM Development] Sidewind75:
Can weather watcher be used like spb in Ultimate launcher?
[Mogul, XV6800 ROM Development] Sidewind75:
TY for the info..i cant seem to add a weather source the the box to put the code is is grey and a browse button is there...i have no file to put in it
[Mogul, XV6800 ROM Development] gc14:
Not familiar with ultimate launcher. What is exactly do you want it to be able to do?
[Mogul, XV6800 ROM Development] Sidewind75:
Ultimate laucher is a tab interface...I want a 5 day forcast displayed on the today screen along with some buttons..I have it set up and working with Spb weather...and i did figure out how to put the source code in..however the template im using seems to be off a little..but it works for now unless i can find something better
[Mogul, XV6800 ROM Development] a1jatt:
a while back i wrote a script that you can use with spb weather. It will pull information from environment canada website. There is another script, with that you can pull information from theweathernetwork.com website. You can find those on spb forums.
[Mogul, XV6800 ROM Development] gc14:
Weather Watcher is not a today screen plugin and doesn't have support for that, so if you want it displayed on the today screen then you're out of luck that way. But I will tell you, I've used both of them, and I highly recommend ww over spb as I don't need my weather taking up room on my today screen. Have you already purchased spb or using the trial still?
[Mogul, XV6800 ROM Development] sc00basteve:
Howto - your zip from weather.com

*you can find the info here --> http://www.spbclub.com/forum/viewto...&start=0&sid=68ff6a30254c9d517b2d25a30fcc9d87

There is a weather.com template as a file download half-way down the page

*Alt support (just in case) http://www.spbsoftwarehouse.com/products/weather/support/support_article388.html

*Also, how to get your weather.com city code (I think someone already gave it to youbut here)

"You have to use the weather.com city code... not the zip code. Go to weather.com and search for your city/state without the zip code. Then look in the address bar for the code. It will start with US** then 4 digits where the ** represents the 2 letter abbreviation for your state."
[Mogul, XV6800 ROM Development] Sidewind75:
No I havnt bought it yet (seems to work forever for me anyway wink). after using it for a few days i can see that i dot really need it on my today scree...but i seem to have a memory leek somewhere...not using the phone for 6 hours after a soft reset i go from 22 ram to 16
[Mogul, XV6800 ROM Development] birdheh:
spb site

SPG+B has a forum where you can find custom templates and data for adding cities

http://www.spbclub.com/forum/viewforum.php?f=28

I use spb weather as a tab on my spb plus as it is nice on the today screen.

I use weather watcher for the detailed data, but it is slower as it must be loaded. Both have a valid use.