yashsingh1/xdaforums huggingface dataset:
[LG V10 Q&A, Help & Troubleshooting] ArielElia95:
Hello,

I got the Android 6.0 update a few days ago in OTA and I updated the phone.

I've got 2 problems since:

1. There's a notification about updating the Google services app but it's updated. When I press the notification it takes me to the Google services app page in the play store and I can only to stop it from running (but because it's a core service it cannot be stopped).

If I swipe the notification it appears later on again.

2. On Whatsapp when I record a voice message the mic is working weird. It is like the mic is off and when I speak it turns on. When I make a stop in talking it's like it stops recording. The result is a record that sounds a bit fragmented like I'm turning the mic on only when I speak.

What can I do?

Thanks.
[Android General] Lum_UK:
This tool is out of date. See the main R9S thread for an updated tool by Wu Xianlin which gives you an improved TWRP recovery and access to more ROMs.

Original post is below for historical purposes only.

Oppo R9S (Chinese version) TWRP installation tool

Only works on Chinese OS release 005 which can be downloaded here and flashed in stock recovery.

Earlier versions will not work, nor will later versions. It has to be this specific version.

P̶r̶o̶b̶a̶b̶l̶y̶ doesn't work on international editions either.

DOWNLOAD - R9S_TWRP.zip - V1.01

DOWNLOAD - R9S_TWRP.zip - V1.0

Changelog

1.01 - Tweaked timings to try and improve success rate

1.01 - Changed how text is output to hopefully improve appearance on Windows 7

This script uses an exploit by Chinese developer Wu Xianlin to gain temp root, then it flashes his TWRP build that works on the R9S despite the locked bootloader.

From there you can attempt to perma-root your phone, install a custom ROM etc. etc.

Thanks to the following XDA members, without whom this would not have been possible:

jacksmack

celoxocis

Antivirus issues

Some AV's may complain about this file containing a Trojan. They are technically correct. It's called "dirtycow" and is being used in the wild to hack into Linux systems. It cannot affect Windows systems, but I use it to hack a linux-based system (your phone)

If your AV refuses to let my script run you will have to disable it temporarily. Feel free to read through my script (root1.bat) to check what it is doing.
[Android General] Lum_UK:
Useful things to flash in TWRP

CyanogenMod13 - by Wu Xianlin

Stock Recovery - by Wu Xianlin

GApps (ARM64) - by opengapps.org

Updated basebands, ripped from ColorOS

Use these only if you have issues with phone/GPS/etc. after installing CM. Otherwise leave alone.

[2017-01-11 v0180] - released ROM (China) - by me!

[2017-01-24 v1470] - ALPHA ROM (China) - by me!

Note: The version number on basebands stays the same, but the MD5s are different. No idea what has changed, but they work!
[Android General] Lum_UK:
Unbrick instructions:

Does not work in Windows 10. Tested working in Windows 7

Download this unbrick package

Install the quallcommmtkdriver package

Run daanav-enabler as administrator

Run msmdownloadtool as administrator

Click through any timeout error you get

Click on the titlebar of MSMDownloadTool and press F6 to enable the options

Fully power down your phone by holding vol-, vol+ and power for 10 seconds

Hold vol- and vol+ while connecting the USB cable (use the stock Oppo cable)

MSM should now show your phone.

Press F5 to decide what to flash. For the first attempt choose "All except userdata".

Click the start button.

After 5 minutes your phone should reboot into ColorOS.

If ColorOS hangs on boot, then repeat the above staps and this time flash all, including userdata. This will wipe your photos etc. sorry!

This will leave you on V004 of the OS. You will need to upgrade to 005 before attempting to root again.
[Android General] hedgewizard:
Can I request a version of this that stops at permanent rooting? Unless you think there would be a problem with the fact that I intend on using it on a r9s plus.

Or a link to what I maybe overlooked, in case it already exists.
[Android General] Lum_UK:
Unfortunately this program doesn't perma-root. It gains a temp root and uses that to flash TWRP. TWRP can then be used to flash a custom ROM or a rooting tool.

It also doesn't unlock the bootloader. Wu Xianlin somehow managed to make a version of TWRP that the locked bootloader is happy with!

however if you edit root1.bat and scroll down to line 181. Change it from:

type root3.txt | adb shell /data/local/tmp/root2.sh

to:

adb shell /data/local/tmp/root2.sh

Then the script will just drop you to a root shell. Unfortunately you are then on your own as to how you get perma-root.

I have no idea whether this method will work on the R9SPlus. In theory it should do but I've not tried it. I won't be held responsible if you brick your phone and probably won't be able to help, though you should be able to do a three-finger reboot and then boot into recovery and reflash ColorOS.

Optional modifications you can make that will make the script neater:

You can also remove lines 178 and 179

echo Copying TWRP
adb push r9s-twrp-3.0.2.0-20170107.img /sdcard/twrp.img

and change line 184 from

pause

REM ---- CHINESE TWRP HELP ----

to

pause
exit
REM ---- CHINESE TWRP HELP ----
[Android General] hedgewizard:
I will take your "I have no idea if this will work fo r9s+" at face value and try to be patient for something more certain, thanks for your contribution nonetheless

I saw the translation you posted and am a bit depressed Wu recommended to return the phone...
[Android General] Lum_UK:
Oppo make amazing hardware but terrible software that is never updated. I used to be ok with this because they actively encouraged rooting and custom ROMs but this change in attitude from them makes it very hard to recommend the phone.

I would be interested to know if this exploit does gain root on the Plus. In theory it should work, and there's also a decent chance that TWRP will too as the hardware is very similar, but will require someone very brave/stupid to try it
[Android General] Lum_UK:
BTW. Anyone who is going to try this on the Plus. Ensure you have a flashable .ozip of a working ColorOS (full install, not OTA) saved to internal storage as the stock Oppo recovery is a POS that doesn't provide ADB, MTP or USB.

If you end up wrecking your OS and don't have that image in place ready to flash from recovery you are screwed.

Likewise do not flash TWRP until you are sure that your OS is still bootable, and also take a dump of the stock recovery first! (and post it in the other thread as it's bloody useful to have!)
[Android General] Goro1234:
Hi the Unbrick pack RAR is corrupted and can not unzip.

Also there is Trojan in DOWNLOAD - R9S_TWRP.zip - V1.0 - Dirtycow file and the NOD Antivirus is deleting this file.

Please advice how to proceed ?
[Android General] Lum_UK:
NOD is correctly detecting that this is a hacking tool using a well known exploit (dirtycow).

Since you actually want to do that, you're going to have to disable NOD until you're done.
[Android General] Goro1234:
Hi I got to somewhere but I am stuck now...

Please check the pic and advice how to install the CyangenMode. (I have uploaded the pic in your thread in Oppo Community forum please check it there because I am new here and can not post with external links..)

Sorry for the inconvenience. Looks like I am few steps away to finish the job but something is missing...
[Android General] Lum_UK:
Goro1234’s image: http://s27.postimg.org/8usudi9g3/IMG_20170207_133854.jpg

You need to do a wipe data/cache/dalvik as CM won't install on top of incompatible data.

Note that this will wipe your installed apps, settings, app data, saved games etc. but will not wipe your photos, music, downloads or anything else saved to internal storage.

You may wish to take a backup from within TWRP first. Apps like Titanium Backup and Nandroid Manager are reasonably good at restoring apps and data from a TWRP backup.

Also don't forget to install GApps :)
[Android General] Lum_UK:
For the unbrick package you need 7-Zip to extract it.
[Android General] Lum_UK:
Select ARM64, android 6.0 and whichever variant you like (I recommend the Pico version)
[Android General] nero72:
Sorry for the English, I made a mess with the phone, after unlocking everything, and held the phone for several days with CM13, I saw that GPS was not working, so vovelo return to the origin, but now I can not installing Stock Recovery more to put the stock rom, I tried to do unbrick, but when I press start of msmdownloadtool, the program stops and closes. If some kind soul gives me some advice. Done everything under win 7 reset. Thank you so much Gianfranco.
[Android General] Lum_UK:
GPS should be working. I'm using it all the time on CM13 as my phone is my satnav.

Maybe wipe and reflash, or try one of the baseband updates?
[Android General] nero72:
Now, the problem is more to do so that I can not leave,

I installed through the files Stock TWRP Recovery as a boot, and I hand the boot source and installing the original rom, after the reboot remains on oppo screen. what can I do. Thank you so much Gianfranco.
[Android General] Lum_UK:
hold all three buttons for 10 seconds to forceibly power off the phone and then try to boot to recovery.

If you get the Oppo recovery then try to do a factory reset and then flash the stock ROM,

if you get TWRP then try to flash Cyanogen.

If you can't do either then you're going to have to run the unbrick tool. Do you have another PC you can try it on?
[Android General] nero72:
Thanks, but I have tried various solutions, when I install the boot ROM from stock, is successful, the reboot hangs installation applications. I wanted to know if you can other software for unlocking. Thank you very much for giving me some advice, thanks ancora.Gianfranco.
[Android General] Lum_UK:
Unfortunately no. If you happen to live somewhere with an Oppo shop you can get them to flash it, but the unbrick software I posted is the only one I know of.
[Android General] nero72:
Hi, I resolved, I downloaded other software to unlock the phone, now I try to link the file. Thank you so much Gianfranco.
[Android General] Lum_UK:
Oooh, please share. More unbrick options are always good!
[Android General] nero72:
here is the file, with this I managed to run msmdownloadtool.
[Android General] Lum_UK:
Aha, similar technique, but a different enabler utility.

That works!

(Such terrible security on that download tool, it's hilarious)
[Android General] nero72:
For hands-free, we thank Gianfranco novelty.
[Android General] Glotiv:
Hi, when I use msmdownloadtool, it always stop to respond and crash. Do it has any solutions?

My R9s now brick and cannot start at all...

9008 port found, OS is win10 64bit.
[Android General] Lum_UK:
Tool only works on Win7.
[Android General] Glotiv:
I tried on virtualbox with win7, but it still non-respond and crash. Maybe I need to find Oppo shop to fix this.

Thx for reply !
[Android General] Lum_UK:
It takes a while to start up as it reads the entire ROM before actually displaying anything.

If you have a slow machine maybe give it a while?
[Android General] (dylanger):
Could I ask where you obtained the unbrick package from? Was it OPPO?
[Android General] Lum_UK:
Wu Xianlin's Baidu repository, but I had to replace one of the apps because the one he provided only works on Chinese Windows.

I've unbricked my phone with it like 20 times while developing my little script. It works! :)
[Android General] (dylanger):
Oh nice, thanks :D
[Android General] Glotiv:
Can it be unroot after installing cm13? some games do not support rooted phone.

I just want to use any OS but colorOS. :D
[Android General] Lum_UK:
CM13 isn't rooted by default (you have to enable it), but it still gets detected as such by some games.

You can try leaving it off, or install xposed and rootcloak to see if that helps.
[Android General] (dylanger):
I get the same result on vbox, I think they've introduced anti virtualization or something, try install Windows 7 on native hardware.
[Android General] rdazevedo:
Help

Good Evening,

I installed OS 005 as the tutorial then the adb drivers.

But when I run the batch, it copies the files normally. But when it starts to run the exploit it in the middle gives the error: no device emulators found

Any Idea?
[Android General] Lum_UK:
Not sure what's going on there. Can you leave it sat on that screen until it times out after 5 minutes, then have a look in your temp directory (C:\Users\(username)\AppData\Local\Temp for two files, result.txt and logcat.txt. If they are there then post them here.
[Android General] rdazevedo:
I got it !!! After many attempts, he managed to finish! I did not do anything, only tried several times.

Thank You Very Much!!! I just won a new smartphone !!!
[Android General] Lum_UK:
Yeah the timing of the exploits is rather fiddly, and it does take several goes.

I need to get off my arse and upload v1.01 which has a few timing tweaks that improve success rate.

Also I notice that the text header doesn't display correctly in Win7, so I need to fix that :)
[Android General] Lum_UK:
New version out:

https://mega.nz/#!iksnRRAA!jb2WdYpQ7utEyOAHBonYD1_Uq4xKxca7nQjTXCU3qto

Changes:

Tweaked timings to try and improve success rate

Tweaked display to hopefully look a bit better on Windows 7
[Android General] rdazevedo:
Congratulations on your work Lum !!

Do you have any news about the cm14 rom? Last information I had was that there were some bugs and that cm 13 would be more stable. In this cm13 version I have problems with the camera that gives error all the time and with GPS that works very late. I already upgraded the baseband and wiped it, but the problem persists.
[Android General] Lum_UK:
CM14 and CM13 ROMs both seem to have the exact same bugs from what I can tell. The only reason I stick with CM13 is to use Xposed :)

I don't get the GPS issue on mine, so I don't have a fix for it, unfortunately. Maybe try an older baseband? I know the one from the alpha ROM ended up being very very broken for me.

The camera issue was fixed for me by removing the stock CM camera app and replacing it with OppoCamera which can be found in the OnePlus section of XDA
[Android General] rdazevedo:
Good night, Lum!

Just a newbie question ... the rom cm14, uses the same baseband as Cm 13?

I just downloaded from the Wu Xianlin repository the file lineage-14.1-20170210-UNOFFICIAL-r9s

GPS is missing me a lot and I did not find any old baseband to test.
[Android General] rdazevedo:
Lum,

I installed the cm14 version and I'm really enjoying it! Could you provide the baseband you are using? You said that you had not worked very well with these Alpha and that you used an older .... I have no idea how to extract the baseband from a rom.
[Android General] Lum_UK:
I'm using the one from the 005 ROM, ie. I didn't bother upgrading after rooting and putting CM13 on.

I'll try and make it into a package when I'm back at my own computer :)
[Android General] phdanhlc:
Help me. My phone restarting and failed exploit at. How to identify R9S taiwan or china edition?
[Android General] rdazevedo:
What error is appearing? Because with me it took at least 15 attempts to function. keep trying!
[Android General] patrickbartalesi22:
tried to install Chinese OS release 005 oppo rom using stock recovery but it keeps giving me the error installation failed. It says i am in coloros recovery ver1.2

device oppo r9s

model no cph1607

android version 6.0.1

build no cph1607au-vha_11_a.07_161220

baseband version q_v1_p14,q_v1_p14

kernel version 3.18.24

i thought using the unbrick tool may help as it looks as if it flashes something but unfortunately the msm download tool crashes upon pressing start.

here are error logs.

phone is connected com5

Problem signature:

Problem Event Name:	APPCRASH

Application Name:	MsmDownloadTool.exe

Application Version:	1.0.0.1

Application Timestamp:	58089330

Fault Module Name:	MsmDownloadTool.exe

Fault Module Version:	1.0.0.1

Fault Module Timestamp:	58089330

Exception Code:	c0000005

Exception Offset:	0002e5c0

OS Version:	6.1.7601.2.1.0.256.1

Locale ID:	1033

Additional Information 1:	0a9e

Additional Information 2:	0a9e372d3b4ad19135b953a78882e789

Additional Information 3:	0a9e

Additional Information 4:	0a9e372d3b4ad19135b953a78882e789
[Android General] alexei172:
Has anyone tried this on r9s running non chinese version of os?
[Android General] EMJI79:
Anybody eventually tried on a r9s plus?
[Android General] enochbenjamin:
This might be slightly off topic - but I am desperate so its worth a try.

LUM_Uk had posted on the oppo community forum how to use adb to hide the unwanted chinese language apps. I hid the default launcher and had google now launcher on the phone. I TURNED OFF the developer option and restarted the phone. The phone boots and looks fine except if I try to do anything it says "home cannot be found" (something like that).

I think its clear I do not have a launcher now and since I turned off the developer option I cannot use adb to get into the phone.

Any ideas How I can unhide the launcher so I can use the phone again?

Any advice would be greatly appreciated.
[Android General] EMJI79:
I don't know what you can do now but I found in the internet (YouTube) that their was a way not to use adb to change launcher but rather in the settings, which I did on my R9s Plus with no problem although I don't remember exactly how.
[Android General] Lum_UK:
Factory reset from recovery, or worst case scenario follow the unbrick instructions and wipe everything.

Make sure you set your new launcher as home and it's working (for a bit) before killing the old launcher in ADB.
[Android General] EMJI79:
I found the tutorial I used for setting the launcher that was not stock:

https://youtu.be/CQFe0R1YirE

It really works! (At least on my R9s Plus)

---------- Post added at 09:22 PM ---------- Previous post was at 09:20 PM ----------

Hey!

is there a way to root and/or use a custom ROM on the R9s Plus?

I so much want to put one that enables me to fine tune the display. I want to change white balance/saturation.
[Android General] enochbenjamin:
Figured it out - somehow i was able to pull down the notifications drawer and turn on developer options. From there I unhid launcher and immediately had functionality back. I then installed 3 launchers ( :D ) and hid the oppo launcher again - this time no problems!

Thanks!
[Android General] enochbenjamin:
ok - i am going to try to do this.... a couple of quick and dumb questions. Do I install both the 005 zip and TWRP zip from the color os recovery screen?

Thanks in advance!
[Android General] Lum_UK:
Install 005 from recovery, boot it and do initial setup, then do the rest from a PC.

However, there's a newer method now, that gives a newer TWRP and access to different ROMs. It's in the other Oppo R9 thread on around page 15. I haven't gotten around to typing it up and editing this thread yet.
[Android General] enochbenjamin:
Are you referring to the method mentioned by jacksmack? Does that no longer require the 005 downgrade? I keep getting Installation failed when trying to goto 005.
[Android General] Lum_UK:
It doesn't need the downgrade. The whole thing is done from within Qualcomm firehose.
[Android General] enochbenjamin:
wow! You really were able to watch and follow that video? My head is spinning!
[Android General] enochbenjamin:
Would it be too much to ask for someone to put together a step by step oppo r9s guide in English? I am really having a hard time following the available instructions. I am no programmer but I have successfully rooted (and bricked/un-bricked) every smart phone I have ever owned (starting with the original iPhone). Any simplified guide would be greatly appreciated!

Thanks in advance
[Android General] enochbenjamin:
too much to ask???
[Android General] Lum_UK:
I will write it up. RL is just being horrid to me right now, sorry.
[Android General] StellarCode Creator:
Hello Lum_UK, thanks for many instructions.

Question: how to back on Android 6, ColorOS 3.0 Stable from Android 7.1 Beta, ColorOS 3.0?

Question 2: Now I'm on the version 170414, And if the flash( in stock recovery) the version 005, rom The will boot or no? It's downgrade, Oppo phones not boot if downgrade rom version.
[Android General] Xmistikx:
When I try to install the 005 rom it fails, what can I do?

This phone is purchased in Australia, am I out of luck?
[Android General] Diamomd23:
Is there anyone who managed to root R9s 1607EX?

Are we out of luck..?

:confused:
[Android General] Lum_UK:
If the .OFP file for the 1607 ever turns up, you should be able to use the same method as the Chinese R9S, only with the new file in place.
[Android General] Xmistikx:
I assume the. OFP file isn't something we couldn't assist with?
[Android General] Xmistikx:
Is this of any use? I can't make much sense of what's being said in that thread.

http://forum.gsmhosting.com/vbb/f492/worlds-first-oppo-r9s-flash-success-mrt-dongle-mumang-2177800/
[Android General] Goro1234:
Hi, I put FLYME on my phone but it stucks on the homescreen and can't unlock it or do anything else.

When I try to enter in Recovery the phone stucks on the Oppo screen and do not proceed. I can't do anything with the phone right now...

I have tryed this unbrick tool on 3-4 Win 7 PCs but always got error message: "Qualcomm Smart Phone Tool has stopped working".

The closest thing to success was one try when I hit "Start" button on the MsmDownloadTool, it started the process but after 5 seconds the following error appeared: "Firehose communication handshake failed".

I also tried the new root method but there when I hit Start - nothing happens - the tool simply does not work....

Any advice how to unbrick my phone - now I have useless Flyme that stuck on its home screen and can not boot to recovery. The phone is useless....

Thank you !
[Android General] Goro1234:
delete last post
[Android General] borikat:
any chance we can play with the ColorOS 3.1 on our R9s? Why is OPPO sells R9s outside china and unable to let the try the alpha/beta firmware
[Android General] Lum_UK:
You should be able to get to recovery by forcing the phone off (all 3 buttons) then booting to recovery with vol- + power on.

Once in recovery, follow these instructions to get rid of the unlock code.

https://forums.oneplus.net/threads/fix-wrong-pin-pattern-when-restoring-twrp-nandroid-backup.452384/
[Android General] ILLUMINATEH:
hi which thread is it in? would appreciate link, thanks :)
[Android General] masbz:
can i have a mirror ? link is already expired
[Android General] VLC-05L:
Ok, I need some help.

I previously owned a Google Nexus and was able to put LineageOS on it from instructions online. The phone was old and I wanted a cheap new phone and saw the Oppo R9s. I thought that the operating system looked and felt cheap, but thought who cares, I will be able to change it...

I've been following this thread for some time and the other day finally had enough of the piece of **** OS and thought I will have a go at changing it. I used LumKitty's "

R9S (and plus) new root method and updated CM14.1 ROM" on the community oppo forum, but I cant even get past the first step!!!

It is my understanding that I need to put version 005 of ColorOS onto the phone in order to exploit an issue with that version. I have downloaded it from the link in the above address and copied it onto the phone. When I boot into recovery, I choose "Install from storage device" -> "From phone storage" -> "R9s_11_OTA_005_all_201611050005_local.ozip". When I do this, the installation starts and gets to roughly 5% of the bar, then comes up with Installation failed. I have tried to choose to "Wipe data" before hand, but that doesn't wipe everything, only SMS, photos etc... I read somewhere that there is a problem with installing without wiping the cache, could this be a problem?

The model number of the phone is CPH1607. The ColorOS recovery is Version 1.2. I have set myself to be a developer and turned USB debugging on.

Any help would be much appreciated. I'm about ready to throw this phone in the bin and buy a new one...