yashsingh1/xdaforums huggingface dataset:
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] guitardedhero:
Thank you [MENTION=912474]Dees_Troy[/MENTION] for your prolific contributions to Android, especially "this side of the fence".

Though I do not own the device, I still noticed the near zero activity in this device forum as of late, a forum very much in need of a "shot in the arm", the likes of which are very few outside of what you and the few other elite contributors provide us here in the Android community.

My purpose here is to procure /system/bin/audioserver from the native Razer firmware.

If willing, I would be most grateful if someone did the following in a near future TWRP recovery session:

:good:
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] rubixhypercube:
Right, so in a spectacular display of my own stupidity, I've gone and wiped /system. And my backup. Which (for god knows what reason) i kept on my phone, rather than, you know, actually backing it up....

Anyway, if some kind soul could upload the appropriate file to fix this along with some pointers on how to use it, that would be much appreciated. I'm guessing uploading a backup of the system partition would do it, but i may have screwed something else up while frantically attempting to fix it, in which case a backup of boot, system, system image, vendor, and vendor image would cover all the bases. I hope.

In the meantime, I think I'll go and feel ashamed of my own idiocy.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] guitardedhero:
Nothing like learning the "hard way", eh?

Your escape route is precisely what you are requesting, so you will hopefully be booting into Android in the next few hours or less. :good:

Alright guys, who's gonna be the first "hero" in the Razer phone forum section? ;)
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] Xshooter726:
We are working on making a full stock restore back up so hang tight...

---------- Post added at 06:14 PM ---------- Previous post was at 06:13 PM ----------

already have your audioserver file and uploading it now

Here you are ->

https://drive.google.com/open?id=1gp2K-BG_-kEzgeh-oewDkkjg-A9eJf1A
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] guitardedhero:
Thank you very much for fulfilling my request with such swiftness! :good:
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] Xshooter726:
No problem :cool:

Do you have plans of getting this device? I think an audiophile like your self would really appreciate the speakers and included THX DAC of this device.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] kirschdog1:
Can you direct me to the magisk you flashed so I can download?
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] ThatGuy94:
You can download Magisk here: https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] kirschdog1:
I also am curious of your desire and intelligence to help make the Razer the best sounding smartphone on the market. Do you have plans for a particular guitaredhero viper build which incorporates Dolby? If so I will gladly test for you just let me know. I truly appreciate all you do for the Android audio community and have been following your work for years!
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] fivearcosstheeye:
Don't feel so bad, I made the same mistake. :silly:
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] DarkestSpawn:
Thanks, that worked. Also rolled me back off the update. Im getting the update available notification for the 97 mb update
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] guitardedhero:
Having the fortune of the community's generosity, I was provided a OnePlus 5 last summer so there are no current plans for updating my current device.

However, I will be keenly following Razer's development of their next mobile device which is certainly at the top of my list of device upgrade contenders in 2018.

Still, you never know what tomorrow brings, so the possibility of procuring Razer's first mobile attempt is always there.

As for my plans, I just recently unveiled my pre-Oreo intentions to the rest of the team so I will do so publicly since Oreo's release has presently incapacitated those intentions anyway lol.

The next project was/is a return to ViPER|Atmos™, to come full circle and reenergize my very first project with everything gained during the ARISE™ project.

Many of you are aware of the incompatibility Dolby Atmos™ faces with Android Oreo, which is the reason Magnum Opus is still the current system.

I purposely waited for Oreo to be available for personal testing before releasing anything, which was absolutely the appropriate decision as compatibility would have been short-lived and quickly replaced with mass frustration lol.

And no, clairvoyance played no role here.

Even with almost all Android versions providing the same and familiar audio framework, I assume to know nothing of what's to come until it arrives. Such a change in 8.0's audio framework has never occurred previously, and 8.1 continues that shift even further.

But this is nothing unusual and will be accommodated with legacy, present, and future software solutions and developments.

One thing I learned early in my participation here at XDA is this:

Times such as these are when many talents and faces appear for the first time to make significant progress and impact on the development of fresh Android firmware/software, so do not be surprised if a "Junior Member" becomes the "hero" lol.

Of course, I am not stepping aside to wait for a "Junior Member" or "Senior Recognized Developer" to resolve issues relevant to my activities, I'm just making a point.

I am working on content compatibility and functionality on a daily basis with never a day free of any "probing" (lol).

We'll get there very soon, there is no doubt in my mind, and there is no urgency nor requirement for the "hero" to be myself either. Placing the final puzzle-piece is certainly rewarding, but I genuinely enjoy witnessing others, especially "noobs", making impacts easily associated with veteran talent and experience. :good:
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] Xshooter726:
1.Root with Magsik then download this

https://play.google.com/store/apps/details?id=cn.wq.disableservice&hl=en

2. Go system then Google services and Uncheck SystemUpdateService and then reboot.

This disables the update notification. It really didnt roll you back it just triggers that notification when you switch slots.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] orion4000:
Help

Guys I have the adb works fine and my device reads _a but when I boot into bootloader and try to run the change command to _b I get this:

FYI I have the bootloader unlocked and usb debugging on and I boot into the bootloader by using the volume button down+usb insert . Thanks in advance and thank you OP for your hard work.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] Xshooter726:
https://xdaforums.com/razer-phone/how-to/guide-restore-using-twrp-t3727777
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] RicardoSal24:
i managed to get rooted. I can also confirm that wifi does not work and when switching to a different boot in twrp reboots that mode back into twrp unless I go back to the other boot
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] mikeandjaimie:
I had thus issue too.. You need to update the Fastboot binary. Google Fastboot and get the official Google latest. As soon as I ran that it worked.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] orion4000:
Do you have a link? I would be grateful if you can provide me with one.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] mikeandjaimie:
No I dont.. Just google it.. Its literally like the first link from the official Google site.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] orion4000:
Thank you I got it to work and I'm now rooted however every time I get to recovery it ask me to decrypt and I get the (unable to mount storage) is that normal?
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] mikeandjaimie:
I didn't have that problem sorry.. Though I've heard of it before.. Again google or use the search button and I'm sure there's plenty of fixes/explanations.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] joshua1892:
I went through the instructions and everything went well, but then I flashed xposed and when I tried to boot system the UI would crash. I went in to TWRP and restored everything from backup but now when the phone boots it boots directly to TWRP. I can switch slots and it boots and I get an update notification, but I can't boot the other slot. Am I not restoring everything the correct way? Also tried rebooting from fastboot without any luck.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] RicardoSal24:
who else gets no wifi after doing this?
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] ThatGuy94:
Along with that, camera flash and flashlight don't work.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] RicardoSal24:
i'm just noticing that as well
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] steviegolf:
i am getting this everytime when i want to set to the right partition.

http://prntscr.com/hud5r5 http://prntscr.com/hud5r5

what i am doing wrong ?
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] RicardoSal24:
maybe because you have a space after the second " - "
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] orion4000:
Deleted
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] steviegolf:
At the command it is without the space after the second. But at the description of not working it gives that space after the second. Tried in CMD and powershell but same issue
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] RicardoSal24:
try using minimal adb and fastboot. worked like a charm for me. also check in your device manager that the phone isn't under other with a yellow triangle. bootloader needs to be unlocked first
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] steviegolf:
I will try that asap. Thanks
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] PupPupG:
If anyone has a backup for the Three Razer Phone could you share it with me. I messed up the flash and flashed TWRP to both A & B so I cant boot my phone.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] BakaSenpai:
Confirmed wifi is cirrently not working - cant wait for custom roms! Thanks so much for your work OP
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] twelfth:
Hah! Glad you were able to fix the issue you were having with the phone I sent you. Was on my way out the door to the airport when I saw your comments on IRC. Will be able to catch up with you on there in a few days.

Hopefully with my device we can go about creating factory images that should be flashable in fastboot for other people to use in case a non recoverable brick does happen.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] dillalade:
Hi all, so is it definitive... We lose WiFi and Flashlight upon completing the twrp installation?

So what needs to happen next (if anyone can enlighten me) for everything to work etc?

Thanks
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] Aburel18:
Hi there , thank you so much for your work , i am willing to sell my Razer Phone but now just found the TWRP thread .i will cancel the selling then, thank you one more time for all of you supporting this device development
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] Firebuster:
I'm stuck with the same issue still and would also appreciate someone's backup
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] kirschdog1:
Xshooter are you rooted with wifi working?
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] raimondomartire:
My phone work like a charm

---------- Post added at 02:13 PM ---------- Previous post was at 02:10 PM ----------

Restore your boot.img backup (slot b_) and remake zip flash. I see taht a lot of error there is just because guys are sure that are in _b slot instead are always in slot a_. You canverify correct slot with this command fastboot getvar all
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] BakaSenpai:
What do you meann by remake zip flash? So from my understanding, restore our backup we made into slot b and and then wifi will be okay?
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] kirschdog1:
Raimon or anyone else... can you help me get my driver's set up correctly. I can't get adb to recognize device in download mode? I have Google USB driver installed and adb recognizes device when powered on but not when in download mode. Trying to unlock bootloader and root this bad boy.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] mikeandjaimie:
Umm I have wifi and flashlight working fine.. Unbranded
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] BakaSenpai:
So after install Magisk you still have root and flashlight? Cause I lost those functionalities once I flash Magisk..
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] Xshooter726:
Yes everything is working great. Your having issues because your running the wrong boot.img.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] mikeandjaimie:
Yes.. I have twrp, root, flashlight and camera flash.. Also have adaway and had Xposed
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] BakaSenpai:
When you say running the wrong boot.img are you talking about running in the wrong slot?
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] SirGoldenTaco:
Can confirm working with root, xposed and TWRP.

Wi-Fi, camera and flashlight works
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] steviegolf:
Is there someone that has a Stock recovery of a build 851. I did all the steps like telled in instructions first page but he keeps booting to TWRP. I did used the StockRecovery of Xshooter726 but now my phone is corrupted

I hope someone can help me
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] ThatGuy94:
I don't understand what you mean by remake zip flash. Whenever I try to restore my boot.img backup, it'll just boot back into TWRP regardless if it's been restored in slots A or B. Only way I can get my phone to successfully boot up is if I used the modified boot.img, but that causes the wifi to stop working.

EDIT: I figured it out and I got WiFi and flashlight successfully working with root, Magisk and Xposed. I think I screwed up with my backup image, but I have the stock boot.img with Magisk in slot A (Can be downloaded here: https://xdaforums.com/razer-phone/how-to/guide-restore-using-twrp-t3727777) and TWRP boot.img installed in slot B. This will allow for everything to work plus still have access to TWRP if you need to flash/backup anything.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] Xshooter726:
Yes sorry meant wrong slot. If you boot up and have no wifi go back into Twrp and switch slots

And if it keeps booting into Twrp after switching then restore you boot.img on that slot.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] RicardoSal24:
can you pm me the steps you did? I still have some trouble myself. Please and thank you!

Edit: I restored the boot from the link you posted from the other forum onto the other slot. managed to boot but only the flashlight problem was resolved

Edit 2: I managed to get wifi working now
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] kirschdog1:
Deleted
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] dillalade:
Anyone gone through with this process from a Razer on Three .853?

Did you manage to get twrp/root/WiFi/flashlight all in tact etc?

I'm itching but want to know someone's first hand experience before I corrupt my phone like some have managed to do.

(Currently the Razer is my only phone to hand, so I can't really afford to mess it up, I'd really appreciate some feedback from any .853.FW Three users.)
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] kirschdog1:
I'm having trouble getting rid of my update notification. Any ideas ?
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] ThatGuy94:
It doesn't work. Whenever you try to apply the themes, they'll remain disabled. The only thing I've been able to apply with Substratum is custom bootscreens.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] Swarai:
I'm going in circles flashing twrp, twrp zip, and original boot.img etc. My (adb shell getprop ro.boot.slot_suffix) is b, but I tried to fix wifi and flashlight that were disabled and now I'm stuck in twrp. Specifically what am I missing?

Please help thanks
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] SPMelly:
Well first off many thanks for this. That was fast.

I ended up soft bricking because I was excited and read the instructions too fast. Thought "do not allow modifications in twrp at first" meant do not allow twrp to install root with that prompt that comes up so I don't have a backup prior to allowing modifications to restore.

My stupid mistake. And at first it would just reboot into twrp continously instead of booting system. So I restored the system backup that's in the Guides forum and now I get the "this device is currupt" message on every boot.

I sure hope razer releases the firmware images soon. Learned my lesson on this one
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] Swarai:
1. So did you select slot A, install the stock boot.img with Magisk zip, then select slot B, then install the twrp zip?

2. Were there any other steps before or after?

Thank you
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] CptClubs:
All good man, just make sure you have fastboot drivers installed correctly.

I had no problems with commands after that.

Make sure you copy backups to your pc n youve got nothing to worry about, dunno about all the flash/light problems, im all good.

Flashed magisk after.

Blessed :good:
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] Trollzero:
I keep getting endless errors.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] CptClubs:
Thats a driver problem man, need up to date fastboot drivers.

Get them, and update driver manually by selecting 'have disk' then the driver manually.

I got the same errors but was fine after. :good:

---------- Post added at 03:03 AM ---------- Previous post was at 02:59 AM ----------

Most of these problems are easily answered by this:

http://visualgdb.com/KB/usbdebug-manual/

Update your fastboot drivers if comands dont work etc
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] KeepItzRoot:
did you try

ADB Devices inside of adb folder? if that doesnt work use regular command prompt instead of power shell. This happen to me when I was rooting my S8.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] PupPupG:
Could you please take a backup with TWRP and post the backup. I soft bricked my device and the one posted in the forum is for the US phone. I'm stuck with my old burner :eek:

Thanks:angel:
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] zipxavier:
stoked that the time has finally come! worked perfectly for me with wifi and flashlight functional. xposed adaway and mobile hotspot finally enabled!!

Thanks for all of the hard work!
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] CptClubs:
Yo..... https://mega.nz/#!mcAH3KZS!emZ82fzJf1UqLCHeeAu9ojWDuRMUuPZWxCxQm0PDIjk :good:

Restore the boot in twrp but your gonna have to magisk it, its the first backup I took as per the instructions.... Careful this time too ;)

To anyone else, this is three carrier version boot.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] miapuffia:
I'm so confused. I followed the instructions perfectly but the phone is so difficult.

I'm on slot b. Run the command to switch to slot a. Says OKAY. Don't check to make sure. Flash twrp and reboot command. Reboots normally. What? Check my slot, slot a. Try rebooting into recovery, installs android update without asking. Now I can't, no matter what I do, get back on slot b. From what I read I'm screwed if I try to flash twrp on slot b. I run the command to switch to slot b 10 times. All OKAY. Do fastboot getvar all. Still on slot a. I'm stuck, but that's not all! Flashlight doesn't work. Dang, better check the camera flash. LOL camera doesn't work AT ALL. At least wifi works... for now.

Can someone make sense of this?

Also I think it's just a normal razer. Bought it from amazon from the manufacturer. There's another android update too, but I don't want to mess anything up further.

EDIT: I impulsively updated and now I'm on slot b with everything working, but still no twrp. I also still can't switch back to a, so I've essentially gone back to square one, with a slightly messed up b slot system.

EDIT 2: Reflashed twrp and booted into recovery manually. That did the trick. Installed to both slots as instructed. Now I'm on the latest version with twrp installed and a full backup. No flashlight/wifi issues. Xposed here I come!

Great work on all of this guys. Can't wait to see how development continues.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] Trollzero:
So it turns out it was my USB cable. I was using the USB-C to USB-C that the phone came with. I switched to a USB-C to USB and the command worked. I don't know why that one command just wouldn't work when all others have. Thanks for the advice anyway.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] Curiousn00b:
Had that happen to me once. I just switched it around and used the other end and it worked fine. Since that happened though, I bought a new cable. :silly:
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] Mulham82:
Dude .. are you able to manage to get fastboot to work on Windows 10?! If yes please explain?!

Thanks.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] orion4000:
Guys for you who keep asking about adb with windows 10 use this

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

it works perfect I used it to root my razer phone works without issues.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] PupPupG:
So I just want to be extra sure this time around. Do I need to install magisk after restoring or do you mean the backup has magisk because I'm fine with both :p

---------- Post added at 08:27 AM ---------- Previous post was at 07:46 AM ----------

I just noticed that its only the boot img. Would it be possible to get a full backup since in my panic I tried clearing everything. Sorry for being annoying :angel:
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] StuartPD:
Help!!! **NOOB ALERT!**

Hi all,

I'm really struggling to even get off the ground here, please see attached image. I've installed, reinstalled, reset the phone, tried putting the phone into the 2 different modes that are needed, still, I cannot get the 1st ADB command to even find my phone?! I apologise for any inconvenience, but I would love it if I could get ready for some custom ROM action when they finally arrive :)

P.S, I have unlocked the bootloader successfully, that's about how far I've got :(

Edit* Don't think I can link the image as I'm very new :/
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] Vahlin:
Once things are ironed out... Any chance there will be a succinct step-by-step guide posted for those of us who are only mildly tech savvy =P?
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] mikeandjaimie:
Honestly, I don't think it's gonna get much easier unless someone writes a script or batch file to issue the commands/install drivers for you. It seems this new A/B partitions thing is here to stay which makes things more complicated. Having the factory images won't change much except we will have a perfect copy of the images we already have and it'll make flashing back to stock If you mess up easier.. But this is the way to root now. I may be wrong though, but from my understanding not much will change. Sorry
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] twelfth:
Probably not as the reason the instructions are the way they are is due to the device being A/B based... and the Razer Phone itself is VERY finicky. We have no idea why this is. You have to send commands multiple times and you may have to try multiple cables until fastboot mode works.
[Razer Phone ROMs, Kernels, Recoveries, & Other Dev] rainbowkittypaw:
This file is no longer available. Please will anyone gdrive it or post it somewhere? =3

I'd appreciate it tons ty.