yashsingh1/xdaforums huggingface dataset:
[Google Pixel Questions & Answers] maflin18:
Am I right in both if these statements? (With -w removed)

1) if you use flash-all with same build number you're already on, it will basically remove any modifications (root, TWRP, etc) fix any issues with that, and allow you to try again without removing any apps or data.

2) if you use flash-all with higher build than you're already on, it does the same above but also updates you to the newer build. (Eliminating need to sideload eta)
[Google Pixel Questions & Answers] tommy7115:
How do you flash all with the -w removed?
[Google Pixel Questions & Answers] milan187:
Yes to both. I actually use both methods. Sometimes to clean system other times to update. Updating will remove modifications as well such as root, TWRP pretty sure you knew that.

---------- Post added at 03:40 AM ---------- Previous post was at 03:39 AM ----------

Right click and edit the flashall file with a notepad. Near the end remove -w and save. Run the file.
[Google Pixel Questions & Answers] quangtran1:
In the unmodified flash-all.bat file, there's a command that begins with "fastboot update -w xxxxx.zip". If you want to retain user data, use a text editor to delete '-w'.
[Google Pixel Questions & Answers] milan187:
Also once you update with flashall you can take OTA updates again.

Try not to downgrade with this method. Downgrading does not always work without wiping user data. Though it very rare you want to downgrade.
[Google Pixel Questions & Answers] bush911:
That is to say, ever one month when new build available, we have to fastboot flash the full image and, then install twrp & root.

Am I right.
[Google Pixel Questions & Answers] milan187:
If you want TWRP and root yes. Flashall will put you back to 100% stock. It's not that bad though. Takes a few minutes to TWRP and root again.
[Google Pixel Questions & Answers] bush911:
thank you dude. This new phone with two slots makes me a little bit scared, as the 1st time I tried to install TWRP and ended up losing all my user data, after that I rebooted and cleared the pattern and reinstalled twrp and finally rooted.
[Google Pixel Questions & Answers] milan187:
Yeah I know what you mean. In the beginning I was doing flashall every few days because I would mess something up. I think I've got it down. Having the 2 slots will likely give us some benefits in the future. People are already doing some dual booting. Though it's not perfect.
[Google Pixel Questions & Answers] maflin18:
Going to have to flash-all (w/o -w) back to stock due to issues with my GPS. Previously, there was some dispute over the "correct" way to get RC1 and sr5.

1) is there now a common consensus on the correct method to obtain rc1 and sr5?

2) if yes, what is that method?

3) if no, what are my options?

Note: personally, I have never messed with flashing anything to a specific slot, and never messed with or deleted any 'fstab' file, and currently have RC1 and sr5 functioning properly.
[Google Pixel Questions & Answers] joetheshmo:
New method: boot TWRP rc1, flash TWRP rc1, flash latest 2.79 SuperSU zip (SR1)
[Google Pixel Questions & Answers] maflin18:
Thank you. Do I need to worry about booting or not booting between any of those steps? ( Previously you could not reboot b/t installing rc1 and sr5 or there would be issues)
[Google Pixel Questions & Answers] joetheshmo:
I don't believe you have to worry about that but I always flash everything together
[Google Pixel Questions & Answers] maflin18:
After executing flash-all.bat (w/o '-w'), everything should be just the way it was before, minus root&twrp, correct?
[Google Pixel Questions & Answers] joetheshmo:
Correct. You'll be fully stock
[Google Pixel Questions & Answers] maflin18:
Apps, settings, data, wallpaper, launcher, etc etc... Not affected by flash-all at all? (If -w removed)
[Google Pixel Questions & Answers] joetheshmo:
Yep, /data/ and /sdcard/ are left intact
[Google Pixel Questions & Answers] maflin18:
Thanks. Just successfully executed flash-all, installed TWRP rc1, and SuperSU 2.79 sr1!

This also fixed my GPS issues.
[Google Pixel Questions & Answers] milan187:
It's the best way to fix issues for sure.
[Google Pixel Questions & Answers] stead2120:
Is this fine to do on a Verizon Pixel? I have a Verizon Pixel that is Rooted and Unlocked on 7.1, I'm looking to go to 7.1.1. Thanks
[Google Pixel Questions & Answers] milan187:
Yes as long as you are unlocked you won't get locked again. If you where locked and updated there is no more unlocking.
[Google Pixel Questions & Answers] stead2120:
Worked Like a Charm!

Here is what I did:

- removed the -w from the flash-all.bat file (fastboot update image-sailfish-nmf26q.zip)

- I personally downgraded my TWRP Recovery from RC1 to Alpha 2 (fastboot boot twrp-3.0.2-0-alpha2-fastboot-sailfish.img)

- Once In TWRP I copied to my Pixel and installed (twrp-pixel-installer-sailfish-3.0.2-0-alpha2.zip)

- Reboot Back into Recovery

- I then installed SR4-SuperSU-v2.78-SR4-20161115184928.zip
[Google Pixel Questions & Answers] milan187:
Good. Why downgrade TWRP? SuperSU 2.79 SR1 works perfectly with it.

I guess the major difference is RC allows for backup and restore. I've used it for a while now.
[Google Pixel Questions & Answers] FernBch:
Hmmm.

By no means am I trying to go off topic. Maybe I should try getting RC1 again. I have been unable to get an md5 match after repeated downloads....
[Google Pixel Questions & Answers] milan187:
To be honest I never even did the md5 check.

I wouldn't bother until next time you have to install TWRP or update the OS. Unless you really want to be able to backup and restore.

Anyway when you do use superSU 2.79SR1 then you don't have to delete any files or anything else special.
[Google Pixel Questions & Answers] FernBch:
Thanks. Finally got a good DL. Only tried on about 6 browser before one was good.

You do have a good point. Until the custom ROM scene begins to heat up there's not much need for TWRP. Yet....
[Google Pixel Questions & Answers] stead2120:
I was having issues with folders still showing up encrypted in RC1. Is was sporadic, it wouldn't happen all the time, but I would have to restart recovery a few times. I made sure I flashed both the correct img and zip as well. I will give it another try once they release RC2. As long as I have titanium backup, I'm good to go right now, but I will eventually want to backup my whole setup . Alpha 2 is working fine for me with files not being encrypted.
[Google Pixel Questions & Answers] milan187:
Yup that's known issue on all TWRP right now for Pixel. Just reboot until you get password prompt for now. Sometimes it works well other times have to reboot 2 times or so.
[Google Pixel Questions & Answers] stead2120:
Ahhhhh, okay!!!!!! So I'm not crazy, lol.
[Google Pixel Questions & Answers] milan187:
We are all a little crazy! :)
[Google Pixel Questions & Answers] pstgh:
Firstly, my Google Pixel (using Verizon but from the Google store) is running 7.1.0 out of the box and I've unlocked it, and rooted it (using fastboot boot-to-root method). I've been getting these OTA upgrade nag alerts for 7.1.1, so I thought I'd go ahead and update. That fails (I'm assuming b/c the phone is rooted?). Anyway, then I tried adb sideloading the OTA zip but oddly, when I boot into recovery mode, the phone defaults to usb charging and not file transfer, so even though debugging is enabled, the phone isn't being seen by the usb drivers (that is, adb devices = nothing). So I suppose my first question is how do you change the default usb setting so that when booting into recovery, it will be in usb file transfer mode?

Secondly... I'm seeing a lot of posts for 'flash-all.bin' but for some reason, that wasn't in my fastboot zipped files that I downloaded- do you know where to get that?

Thanks!
[Google Pixel Questions & Answers] bush911:
When installing TWRP, I had my internal storage data lost:(

since then, I will disable the password option if I use twrp
[Google Pixel Questions & Answers] pstgh:
Can someone explain how to properly flash the pixel given that it has two partitions? Does the flash-all.bat just handle it ? Does flash-all.bat flash both partitions? thx
[Google Pixel Questions & Answers] mrZoSo:
I just flash the boot.img, sideload the OTA, fastboot twrp, install SSU-2.79SR2, done.

Keep in mind though, I do systemless root, and don't 'install' twrp, for now ;)
[Google Pixel Questions & Answers] TonikJDK:
I am trying to figure that out too. Here is what I know so far. Flash-all does not flash the new boot image or the vendor image to the inactive slot. It flashes radio and system to both.

So when I was all done my active slot was fine. But when I switched slots it bootloops. So I ran flash all again to get the rest installed on the previously inactive slot.

It boots fine now but the previous slot bootloops.

So it went like this:

B active

A inactive

Flash all

B updated and fine

A bootloops when set active

Flashall with A active

A updated and fine

B bootloops when set active

Not sure what I am missing. I know others are dual booting no problem.
[Google Pixel Questions & Answers] pstgh:
So my update is that I flashed the phone back to stock 7.1.0 using the flash-all.bat and the factory image. From there, upon setting the phone back up, it immediately began taking the 7.1.1 OTA update, and that is where I am now. This Pixel is unlocked, but does not have root, which I'd like so that I can restore my data via Titanium Backup. Is the best method to fastboot the boot-to-root.img or to install the latest SU program or ?? Thanks
[Google Pixel Questions & Answers] TonikJDK:
So it sounds like you don't want TWRP installed. Which is what I do.

Copy TWRP RC1 to your fastboot folder on your PC. Copy the latest SuperSU beta to your phone.

Fastboot boot TWRP.img. Using the correct name for the TWRP image. That will boot you into TWRP without installing it.

Use TWRP to flash superuser.

---------- Post added at 11:17 PM ---------- Previous post was at 11:14 PM ----------

And next time you flash with the bat file edit out the -w so you don't wipe data. Then you just reroot.
[Google Pixel Questions & Answers] pstgh:
Thanks! Very helpful!! Can you point me in the right direction to get TWRP.img and when you say, "using the correct name" what do you mean exactly? Do you just mean to use the correct name of the latest or the correct name for my particular phone etc? Then, that will boot me into TWRP on sort of a temporary basis? From there you say to flash superuser (which is presumably already on my phone)? I assume that is all fairly intuitive once TWRP starts up? Also- in the google play store, there are lots of Superuser versions- do you know which is the latest & greatest? Maybe the latest & greatest isn't actually on Google Play? ... I thought I saw one that Chanfire had released for the Pixel but made mention that it wasn't yet on Google Play? Any additional details would be much appreciated! Thanks again!

Also- now I'm seeing that TWRP builds have RC1 and then two different Alpha builds.... are you saying that RC1 is more reliable / better? thx

Also again- do you unzip the TWRP download or just fastboot boot the zip file ? thx
[Google Pixel Questions & Answers] TonikJDK:
You want RC1. You do not unzip it. Correct full name of the TWRP file, I put it in quotes too. Yes, its just a temp boot, very slick.

And you do not unzip su, just copy to your phone. SR2 first post in this thread.

https://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133/page874

Then in TWRP you hit the install button and point to the su zip and flash it.

Done.
[Google Pixel Questions & Answers] pstgh:
So I thought I was all set, but when I attempted to fastboot into TWRP, I got a message saying FAILED (status read failed (Too many open files in the system)) ...?

My exact command was: fastboot boot TWRP-yadda-yadda-RC1.zip and it creates the image, then downloads the boot image, confirms with OKAY, then says booting.... and then FAILED.

Thoughts here? Thanks.

---------- Post added at 07:26 PM ---------- Previous post was at 07:02 PM ----------

Oops...dough.... I was trying to boot up the zip and not the img! Wow - glad it failed! Anyway...all went well... I think. Rebooted out of TWRP and superuser installed properly, I think. Haven't yet used it, but it's there.

Just tried Titanium Backup Pro, which uses SU and it worked! Great! Only strange thing is that in SU, it just keeps spinning and spinning... odd. I'll keep fooling around with it and see if it just needs to get set properly initially...
[Nexus 6 Q&A, Help & Troubleshooting] chiadrum:
Hi all. Running stock Nougat,rooted with the ARISE mod flashed which is working. However, I can no longer find the "mixerpaths.xml" file that I used to tweak to output higher volume through the headset.I was able to do that on all 6.X ROMS. I have noticed with ARISE/Viper that the sound really comes alive at higher than stock volumes. Does anyone know what file needs o be adjusted to accomplish the same thing on Nougat?
[Nexus 6 Q&A, Help & Troubleshooting] pgee:
Hi, did you find a solution?
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Lemonzino:
Hi guys,

I have little problems with my Note 10.1. It stuck at Samsung logo...

This Note is clear (never rooted, custom rom, etc) so device's count is 0 also I cannot go in recovery mode only download.

I already tried to flash stock firmware (i tried 2 of them downloaded from sammobile) but Odin gave me error on NAND write.

I also tried to flash PIT but Odin fail anyway.

I used different version of Odin.

Any advice? or I have a useless piece of plastic?

Sorry for my bad english :(

Thanks a lot for any help.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] dhruvramdev:
HI , I have same problem too . If u get any fix please post
[Samsung Galaxy S7 Edge Questions and Answers] richhaynes:
So here is my situation.... I have a damaged digitizer (the component which makes touch screen work) and Samsung have said they will repair it under warranty. I have not rooted or flashed anything to this phone yet as I always wait until the warranty expires for this exact reason.

However, the technician at Sammy have told me part of the repair process is to reset the phone so I need to do a backup. Great, lets install custom recovery and make a nandroid backup of the phone and also root to use titatnium as a backup backup. Oh wait, Sammy says thats voids the warranty!! Hmmmm, what other options do I have to backup.....

I was advised to use Samsung Smart Switch to create a backup and then restore that to the restored phone. But after using this app, it only backs up the APKs of all apps then the data of a select few apps. Well thats not a backup in my eyes! For example, I have an app with an 8MB APK. The data it uses is 150MB (no cache). The app states the backup of this app is 8MB. Anyone see the pattern??

So the reason I am here is to see if the XDA community can confirm what I believe to be my only option left.

I understand you can fastboot into a TWRP recovery which means that TWRP is not installed but is run like a Linux Live CD. I assume therefore this means I can create my full nandroid backup and restore this after my phone is reset. Am I correct in thinking this? Will having this temporary TWRP trip knox or anything else which will void my warranty? Is there an issue with DMVerity by attempting to run TWRP this way?

Lastly, I have been trying to work out if my phone has a locked bootloader but I am struggling to find out if it has or not. I have the SM-G935F variant on the Three network in the UK. I have restarted my phone in recovery mode and cannot see anything which would suggest a locked bootloader. Rebooting to the bootloader just starts my phone up as normal. Does anyone have a surefire way to check for a locked bootloader?

Hope someone can help!
[Samsung Galaxy S7 Edge Questions and Answers] chanchan05:
Helium. Doesn't need root. Backs up save data of most apps. Works in conjunction with SmartSwitch. Let SmartSwitch backup the apks and all other settings. Let Helium do the 'data only' backup.
[Samsung Galaxy S7 Edge Questions and Answers] richhaynes:
Thanks for your reply. I have looked in to Helium but it does not work out of the box for me. I believe this is down to the RPi using ARM architecture and the included adb is compiled for x86 / x64.

Luckily this isnt my first time with adb so I already have it installed for the RPi. So taking the script run.sh and reading in to it, I will run the commands manually and see if I can work around the included adb instead.

I will definitely be looking at koush's github to see what this com.koushikdutta.shellproxy.ShellRunner2 app is but he has a hell of alot of repos to look through!

I will update when I have more.
[Samsung Galaxy S7 Edge Questions and Answers] richhaynes:
Well thats a fail!

Here is my update to the script to use the adb I have on my RPi (adb installed using apt-get install android-tools-adb):

pkg=$(adb shell pm path com.koushikdutta.backup)
pkg=$(echo $pkg | cut -d : -f 2 | sed s/\\r//g)
echo $pkg
adb shell << EOF
CLASSPATH=$pkg app_process /system/bin com.koushikdutta.shellproxy.ShellRunner2 $@ &
exit
EOF

And this is my output:

$ adb devices
List of devices attached
9885e6************	device

$ ./run.sh
/data/app/com.koushikdutta.backup-1/base.apk
CLASSPATH=/data/app/com.koushikdutta.backup-1/base.apk app_process /system/bin com.koushikdutta.shellproxy.ShellRunner2 &
exit
pp_process /system/bin com.koushikdutta.shellproxy.ShellRunner2 & <
[1] 31207
shell@hero2lte:/ $ exit
sh: resetreason: can't execute: Permission denied

From the start I didnt understand how the app can access other app data without being rooted and the fact I'm getting permission denied seems to reinforce that. Looks like I'll be contacting the dev instead.
[Samsung Galaxy S7 Edge Questions and Answers] chanchan05:
Don't you have a PC? Basically Helium without root simulates a connected PC, allowing app data backup. To activate the app, download the PC program and install, and install the app on the phone. Open app on phone and program on PC, plug the phone in, follow the instructions on the phone, then wait for activation.
[Samsung Galaxy S7 Edge Questions and Answers] richhaynes:
My phone is now my PC. I can cast my phone screen to my TV and use a bluetooth mouse n keyboard to do almost anything i can do on a PC :)

For the few things i cant do, I use a RPi and thats based on Linux. The instructions you gave is exactly what i am doing but using linux instead. The helium desktop 'app' is available on linux according to the support page (its really just a script which runs adb commands).

Since i have adb on Raspbian anyway, i just modified the script to use my built in version of adb as the bundled version is not compiled for ARM. The permission denied message is from the phone itself. So something else is going wrong. When i run the android app though it allows me to make backups but it doesnt look complete to me, much like the Smart Switch backup wasnt complete.

Fyi, i am a web developer by trade but dabble in python and c programming. I am currently writing my own android app to control my custom made home automation system using an API. Thats why i have adb preinstalled. So i am used to dealing with code to work out problems. I will liaise with the dev about the permission denied error as soon as i find the correct repo to report it in!
[Samsung Galaxy S7 Edge Questions and Answers] meyerweb:
I've never been able to ge Helium to work reliably on my edge. Most of the time it won't work at all. Crappy unsupported software.

Unfortunately I've not found any solution that backs up everything, or even close to everything. Smart Switch will back up some, RERWARE's MyBackupPro will back up some. And those seem to be the best options out there. It's borderline criminal that Google still hasn't bothered to build a full backup solution into Android.
[Samsung Galaxy S7 Edge Questions and Answers] chanchan05:
The Apps themselves should be set to use Google's online backup, but not all of them do. Games mostly follow. On restoring your phone, it will ask you if you want to restore from backups of your apps Google made, but that only works if the app developers were compliant with standards Google presented.
[Samsung Galaxy S7 Edge Questions and Answers] richhaynes:
Helium is working even with the permission denied error. The app runs and allows me to make backups but as ever, they dont appear to be complete. For example, as mentioned in original post, the backup only takes the 8MB APK and not the 150MB data. Its the same as Smart Switch.

As to the Google backup, you can now view these backups in the Google Drive app and only half my apps are there and again they dont look complete backups (one backup is apparently 1KB but app manager says it 12MB data).

I noticed that app manager reports data size but even this isnt accurate. If your app stores data in a folder on internal storage or sd card then this isnt counted as data. Only that in the data partition appears to count. My Torque logs are a prime example of this. 56MB of files on internal storage, app manager reporting 292KB data. No backup at all on Google Drive.

Im trying do a nandroid backup using a temporary recovery. Ive tried 'fastboot boot twrp.img' and 'fastboot boot recovery twrp.img' but neither work. Nothing is recognised with 'fastboot devices' which is concerning. I also cant use 'adb reboot bootloader' as the phone just restarts like normal. Samsung and Three have both said they dont lock the bootloader so im at a loss as what to do next :/
[Samsung Galaxy S7 Edge Questions and Answers] chanchan05:
That's weird. Helium works for me. I wonder what's the difference.
[Samsung Galaxy S7 Edge Questions and Answers] MisterKanister:
THIS ^^ Exactly my thoughts. Without root and TWRP / Titanium you're screwed
[XDA Assist] XDA Visitor:
I have a samsung S3 it is a total wireless brand phone its make is samsung s968C, Its on Verizon towers. I'm want to get a new android operating system I'm running the stock 4.1.2 jelly bean. I need to get kit kit so I can get kodi and play exodus addon. Also is their a safe way to root it or flash that is a sure thing because I don't have the money right now to replace my phone if it gets bricked
[XDA Assist] Razvan:
Hi there and welcome to XDA.

Here is all you need to know about your first step on Android, especialy on Verizon S3:

[VIDEOS] How to Root, Recovery, unlock, flash & much more

You'll have to create an account to post in the main forums.

> Verizon Samsung Galaxy S III > Verizon Galaxy S III Q&A, Help & Troubleshooting

Good luck