yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro Guides, News, & Discussion] pdscoelho:
Hi, my sensors are not working.

flash-only-persist.bat : this .bat will flash only persist partition in fastboot mode (This is good for people that have problems with sensor);

I'm confused how to perform this step?

[MENTION=4712355]mauronofrio[/MENTION]
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
I didnìt shared my persist.img, buti will do it in the next days
[OnePlus 7 Pro Guides, News, & Discussion] pdscoelho:
So what should I try now?

When I flash a stock fastboot rom I see message saying 'File System type RAW not supported'

is this normal?

I can install twrp etc but I'm stuck trying to get the sensors working...
[OnePlus 7 Pro Guides, News, & Discussion] Rmaier14:
I have a problem with the Play Store since updating to 9.5.11. It comes the message authentication required, with the button again try. But it does not work. Does anyone have a solution, thank you
[OnePlus 7 Pro Guides, News, & Discussion] pdscoelho:
Thanks for your help, the persist.img file sorted out my sensors.
[OnePlus 7 Pro Guides, News, & Discussion] djsubterrain:
[MENTION=4712355]mauronofrio[/MENTION] Any chance you could do a script for the DP4 Q preview?
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
I think it will be useless, the preview for now it's better if it is only a recovery-local update rom, it will be also more safier for you
[OnePlus 7 Pro Guides, News, & Discussion] joelstitch:
I really could use someones help. I am stuck in a bootloop and have tried everything to fix it. I flashed one of the files here and it is still booing srteight to recovery every time.
[OnePlus 7 Pro Guides, News, & Discussion] Pvt WhoOkid:
unzip the file make sure you have adb working on your computer prior if you already dont. Yes "run flash-all.bat" it will take care of the rest let it do its job. This has saved me so many times.
[OnePlus 7 Pro Guides, News, & Discussion] Dew Me:
I ran the command run flash-all.bat several times and it is not working.

I'm using Minimal ADB and Fastboot

I typed run flash-all.bat when in bootloader by itself...nothing

I did it with adb written in fron of the command...nothing

I did it with adb push written in front...nothing

I did it with fastboot boot in front of it and it hung up waiting for a device.

I did this all with the DL file closed and opened.

DL file I am talking about is the 9.5.11

Should it instead be 9.5.10 since that is what I was on b4 attempting the failed OTA? (I do have the 9.5.10 DL'd, but never unzipped it.

I know that these commands are reaching my phone, because after all of that I typed fastboot boot TWRP.img to get myself into TWRP and that command was successful.
[OnePlus 7 Pro Guides, News, & Discussion] Namolas:
Just double click the flash-all.bat. Or drag and drop it in the command prompt window and hit enter.
[OnePlus 7 Pro Guides, News, & Discussion] Dew Me:
How would I double click a command prompt?

Also, which Command prompt are we talking?

I ran it in 3 different command prompts

Regular Windows Command prompt...

Windows PowerShell command prompt (platform tools)...

and Minimal ADB and Fastboot comand prompt

Which of the 3 command prompts should I be using? Or is their a 4th?
[OnePlus 7 Pro Guides, News, & Discussion] Namolas:
Flash-all.bat is a windows batch file in the folder that needs to be executed, not a command. Double click it, it pops open its own command window and does the work for you. :good:
[OnePlus 7 Pro Guides, News, & Discussion] Dew Me:
Thank you

I feel very, very, stupid, but hopefully this will help someone else. Guess I was trying to make this more difficult thinking that what I needed to do must require use of the Command Prompt.

I did run the run flash-all.bat, and the result was my phone trying to boot endlessly. Just the dot going around and around non-stop.

I tried and tried, and tried, but I could not get phone into stock recovery to delete as 2 people in this thread suggested.

I was able to get it into the Bootloader a couple times. SO when that occured I booted into TWRP.

Once I tried to wipe from in TWRP, which seemingly did nothing.

Next time I made it into TWRP I loaded TWRP.zip and Magisk zip onto sdcard, then flashed them in that order back to back, then rebooted, and phone started up as if I'd never started it b4. By the time I got everything loaded back on the phone I could see that I still had TWRP, and I was still rooted in Magisk.

I am annoyed that the Titanium backup I'd done b4 I attempted the OTA, seems to have done nothing. It was my first time using Titanium Pro, saved to Box, but can't get it to grab the file from Box.

Oh, and when I ran the flash-all.bat here, I used 9.5.10 b/c that is what I had b4 I started all of this. When my phone finally booted up it booted the newest 9.5.11 and I don't really understand why. Is it because she I had the problem I was in the process of updating to 9.5.11 I guess?
[OnePlus 7 Pro Guides, News, & Discussion] Rmaier14:
Thanks [MENTION=4712355]mauronofrio[/MENTION], this saved the life of my OP 7Pro by ervery OTA, all OTA's i had flashed, had problems with Wifi, Sim-Card etc. it's possible, your script flash-all-*.bat to wipe data point instead of the entire internal memory??. There is al lot of work, after every OTA the complete internal to save and write back. Thanks for answer or ad this point.
[OnePlus 7 Pro Guides, News, & Discussion] Pfeffernuss:
Remove the -w from within the script with a text editor :good:
[OnePlus 7 Pro Guides, News, & Discussion] Pvt WhoOkid:
If you were able to boot up great, I were you I'd get to the bottom of the core issue. Because once another update pops up you don't want to run into this again. Just follow the directions as follows in first post. Ensure adb is working and go from there. I've done it several times because somehow I always end up messing up slot a or b when I do the update. ??*♂️ But now I'm unencrypted so it all works out.
[OnePlus 7 Pro Guides, News, & Discussion] Dew Me:
Yes, the reason my 1st post in this thread was so long is b/c I wanted to know the WHY as much as I wanted it fixed. Because I love knowing how things work, and b/c I don't want to repeat this problem again with next OTA.

I am hoping that this flash-all.bat process has corrected something I did wrong when I initially rooted it, and that moving forward I will be fine.

One step I had done when I originally rooted was, after I flashed TWRP (from in TWRP) initially, I clicked install image, and put the boot image back in. That is a step that I have not seen any other root tutorials say to do, and I wonder if that might be the step that causes a problem.

I don't see that the first post here says how to install an OTA?

What is the official suggestion of this thread on how to keep root while installing an OTA?
[OnePlus 7 Pro Guides, News, & Discussion] Namolas:
https://xdaforums.com/oneplus-7-pro/how-to/guide-ota-updates-magisk-t3937412
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
Guys these roms are not made to update your phone, but to restore your phone when you are in bootloop or something similar, to update you should use twrp or local update option to flash the full rom released from oneplus
[OnePlus 7 Pro Guides, News, & Discussion] VR32:
thanks again, you'll see it in the notes at paypal. :good:
[OnePlus 7 Pro Guides, News, & Discussion] NeverTooYoung:
Good choices!

My main question is, "What Slot should I be in to run this flash-all.bat? But, as you will see, I'm also adding facts that hopefully cause you guys to warn me off if I need to be redirected.

I have a OnePlus 7 Pro, GM1917, with 9.5.8 as the last bootable OOS. It is unlocked.

I could tell you in detail how I got myself into this, but maybe all that need be said is I had it working perfectly with 9.5.8 (along with Magisk 19.3 and xXx_NoLimits_7.7), and for the life of me could not get it to take 9.5.11. , but on this last of many different attempts, I probably wiped those slots except for the fastboot and TWRP I can still get to.

I have access to:

Fastboot on both Slot "A" and Slot "B"

and TWRP (3.3.4-4) on only Slot"B", along with a rooted boot image (9.5.11 1917AA) I was able to put onto Slot "A" which still seems to work even if my last good system was a rooted 9.5.8.

Both slots recognized my device with serial # thru the command "fastboot devices"

But both slots only gave me the answer "List of devices attached" but without a serial number when I ran the command "adb devices". So I'm not sure if I have a working adb.

I've managed to overwrite my operating system, or at least a boot from either. Who knows???? Internal Storage appears to be 0MB. I was always having to enter my password during all those failed attempts at upgrading, but now when I enter TWRP, it is not asking me any longer.

My phone seemed to be an "A slot" device, because as I was failing to update from 9.5.8 to 9.5.11, it was Slot "A" that always got me back to working.... just not with an updated version.

My device is able to take the fastboot command of changing slots, but my computer Windows Explorer can't see it when I connect.

Oh, and one last question. Do I need to be concerned with the "-w" in the script to try to save my data, or have I already ruined those chances?

Constructive criticism, warnings, directions, or condolences anyone? Many thanks in advance.
[OnePlus 7 Pro Guides, News, & Discussion] larsdennert:
Hi Bob,

From the pm I didn't realize you have one working slot. If that is the case and you still have all your data, then a fastboot restore is likely not needed. I thought your phone wouldn't boot into either slot.

The guide in my signature could still be your solution of you can boot to one slot. I suggest that without worrying about TWRP if you staying on a stock Rom.

---------- Post added at 05:32 PM ---------- Previous post was at 05:31 PM ----------

Hi Bob,

From the pm I didn't realize you have one working slot. If that is the case and you still have all your data, then a fastboot restore is likely not needed. I thought your phone wouldn't boot into either slot.

The guide in my signature could still be your solution of you can boot to one slot. I suggest that without worrying about TWRP if you staying on a stock Rom.
[OnePlus 7 Pro Guides, News, & Discussion] NeverTooYoung:
Thanks Lars, I just sent you a PM.
[OnePlus 7 Pro Guides, News, & Discussion] SunSset:
When i try to run flash-all.bat it says it cant find it

This is the error message that pops up

Windows cannot find

'C:\Users\Name\Desktop\9.5.11-GM21BA-OnePlusProOxygen-21.E.15_OTA_01...\flash-all.bat'

could you help me with this, what am i doing wrong?
[OnePlus 7 Pro Guides, News, & Discussion] larsdennert:
Extract the fastboot rom into your fastboot folder. Then look at the extracted contents. The instructions in the thread seem to refer to a flash.bat that is named differently in the actual zip.
[OnePlus 7 Pro Guides, News, & Discussion] acaliaoneplus7pro:
thx man, i love uou.
[OnePlus 7 Pro Guides, News, & Discussion] NeverTooYoung:
Lars helped me the same way... and more.
[Verizon Samsung Galaxy S7 Edge Questions & Answers] AnasKhuwaja:
Hello, i have two phones of S7 Edge.

1 is G935V (Single Sim) and Second one is G935FD (Double Sim)

G935V is All ok. and G935FD is with Dead panel so i want to convert Single sim with double sim. Can i replace motherboard of single sim with double sim?

My Questions is can i replace the motherboard of G935V with G935FD (Double sim)?

Will it works? :confused:
[Verizon Samsung Galaxy S7 Edge Questions & Answers] AnasKhuwaja:
No Reply?

No Reply on my Post?
[OnePlus 7 Pro Questions & Answers] manus31:
Wonder does anyone know if there will be a 7T ,

Particularly a 7T pro.

Id be more inclined to buy the 7 pro if I thought it was the only OnePlus pro phone this year
[OnePlus 7 Pro Questions & Answers] mackentosh:
Lol I'm sure there will they always do
[OnePlus 7 Pro Questions & Answers] zlinhz:
I don't know what else they can improve except a bigger battery and better camera software.
[OnePlus 7 Pro Questions & Answers] MrPhilo:
Doubt it, I think OnePlus is finally going down to releasing every year a new device now.
[OnePlus 7 Pro Questions & Answers] southaven1981:
If there is a Oneplus 7 ProT or "T" it will be because it is 5G capable (USA Style 5g) just my two cents.
[OnePlus 7 Pro Questions & Answers] oneandroidnut:
I just think it will be called the OnePlus 7 Pro 5G in a few months. Nothing in better in terms of specs except maybe battery
[OnePlus 7 Pro Questions & Answers] tech_head:
Pretty much agree.

The SD865 isn't due out until about this time next year.
[OnePlus 7 Pro Questions & Answers] galaxys:
Probably 5G added to the 1+Pro!
[OnePlus 7 Pro Questions & Answers] Alexiia:
wireless charging
[OnePlus 7 Pro Questions & Answers] Flapjack:
Honestly, not many really care about wireless charging. Not enough for companies to make a design decision based on it. The ones that complain about it are just very, very vocal. I've had wireless charging and it struck me as nothing but a gimmick. For me, these things made wireless charging all but useless:

- Lack of wireless charging locations. Sure some cars (GMs, mainly) have a wireless charging area, anywhere else, you're going to be plugging in to charge... unless you bring your wireless charging pad with you (or buy extras).

- Nowhere near as fast as wired charging.

- Can't use phone while charging
[OnePlus 7 Pro Questions & Answers] paatha13:
Regular 7T could be quite possible, but not 7T Pro.

Don't give any chance for Pro 7T
[OnePlus 7 Pro Questions & Answers] Harry Pothead:
And the bigger battery size will be eaten by the extra 5G modem, which could not be included in the Snapdragon 855. So probably not worth it anyway.
[OnePlus 7 Pro Questions & Answers] oneandroidnut:
Correct. It might have wireless charging as well to help with the battery issues. I'm guessing 1440p, 90hz, high ppi display and 5g is going to suck the battery like crazy!
[OnePlus 7 Pro Questions & Answers] mackentosh:
Yep with wireless charging I bet
[OnePlus 7 Pro Questions & Answers] netonyx:
This is an oddly specific question, but important to me on a day-to-day basis. Can you snooze or turn off an alarm by saying "snooze" or "stop" on the 7 Pro?

My old Samsungs (Note 1 and Note 3) used to do this, and my Axon 7 still does, but I know the newer Samsungs have removed this feature. I'm unsure whether other Android devices have done so as well, and I haven't been able to find any recent talk about it online. Not surprising since it's not exactly a major feature, but it's the little things that matter, ya know?

Anyway, if anyone who has their device can let me know, I'd appreciate it.

Thanks!
[Xperia Z5 General] algui91:
Hello,

I am interested in trying to port sumire to Lineage 16.0, the problem is I couldn't find any guide that seemed to help me get started.

In IRC someone told me I had to:

1. Fork the cm-14.1 branch to lineage-16.0, change the required config files, and build in a 16.0 build env.

2. Wait for it to error out, fix error, repeat. Eventually once it builds, attempt booting, check logs to see why it isn't booting, fix error, repeat.

But as you can see, its not much.

I have been taking a look into the first commits for sumire on cm-14.1, https://github.com/LineageOS/androi...mmit/7be9d2e5edf6f7ea1f399febbeee9d9fbdc122e1

But I do not know if its the best way to learn.

Where could I find some guides?

Best regards
[Xperia Z5 General] Devo7v:
It's not really a guide, but the guy in this thread tried to port LOS 15 to the Z5, so it's probably the best place to start. He ran into issues with the camera so take a look at the last few pages too see what's going on. The people in that thread are willing to help.

https://xdaforums.com/z5-compact/development/experimental-lineageos-15-1-z5c-suzuran-t3894617
[Xperia Z5 General] algui91:
Thanks, although its not for the same device (Mine is sumire) it may be helpful.

I have also found this guide, it seems interesting:

https://fat-tire.github.io/porting-intro.html
[Xperia Z5 General] H3ADROOM:
Is there any progress at porting LOS 16?
[Xperia Z5 General] algui91:
I'm still on it. Advancing slowly as I am a newbie on this and only have a few hours/week to do it.

I will keep you updated
[Xperia Z5 General] algui91:
I have successfully come to execute brunch sumire, but I am having problems with open jdk-9:

/run/media/hkr/BackUp/out/soong/make_vars-lineage_sumire.mk:644: warning: JAVAC does not match between Make and Soong:
/run/media/hkr/BackUp/out/soong/make_vars-lineage_sumire.mk:644: warning: Make : /home/hkr/.gentoo/java-config-2/current-user-vm/bin/javac
/run/media/hkr/BackUp/out/soong/make_vars-lineage_sumire.mk:644: warning: Soong: prebuilts/jdk/jdk9/linux-x86/bin/javac
/run/media/hkr/BackUp/out/soong/make_vars-lineage_sumire.mk:1044: error: Soong variable check failed.

I have copied the prebuild version of java that comes with android into my own local version in gentoo, but still getting the same error.

Any ideas?
[Xperia Z5 General] threader:
I have set up android_device_sony_sumire from sony-msm8994 in the included .repo/local_manifest. Setting ROOMSERVICE_BRANCHES=cm-14 as it functions as a fallback branch was suggested in the console output while i was getting familiar and this is a helpful feature worth noting.

There is an incompatibility in https://github.com/sony-msm8994/android_device_sony_sumire and kitakami-common, the lineage.dependencies file needs to be moved or it will try and download dependencies for the sumire files from the LineageOS Github (http://github.com/LineageOS). Next there are two easy defines, SND_AUDIOCODEC_ALAC and SND_AUDIOCODEC_APE to deal with before an untimely error because of a typo present in the Xperia kernel, content_interprtation_type instead of content_interpretation_type.

hardware/qcom/media-caf/msm8994/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:9377:60: error: no member named 'content_interprtation_type' in 'msm_vidc_s3d_frame_packing_payload'; did you mean 'content_interpretation_type'?
if (s3d_frame_packing_payload->content_interprtation_type == 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~
content_interpretation_type
out/target/product/sumire/obj/KERNEL_OBJ/usr/include/media/msm_vidc.h:109:15: note: 'content_interpretation_type' declared here
unsigned int content_interpretation_type;
^
hardware/qcom/media-caf/msm8994/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:9379:65: error: no member named 'content_interprtation_type' in 'msm_vidc_s3d_frame_packing_payload'; did you mean 'content_interpretation_type'?
else if (s3d_frame_packing_payload->content_interprtation_type == 2)
^~~~~~~~~~~~~~~~~~~~~~~~~~
content_interpretation_type
out/target/product/sumire/obj/KERNEL_OBJ/usr/include/media/msm_vidc.h:109:15: note: 'content_interpretation_type' declared here
unsigned int content_interpretation_type;
^
hardware/qcom/media-caf/msm8994/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:9394:89: error: no member named 'content_interprtation_type' in 'msm_vidc_s3d_frame_packing_payload'; did you mean 'content_interpretation_type'?
s3d_frame_packing_payload->fpa_type, s3d_frame_packing_payload->content_interprtation_type, stereo_output_mode);
^~~~~~~~~~~~~~~~~~~~~~~~~~
content_interpretation_type
[Xperia Z5 General] threader:
It compiled, but gives a black boot screen both from early boot, a kernel issue, adb seems to be communicating, I'm meddling with the boot image atm so i will know more later (Later: The updated mdss code broke for our case somewhere. I will also need to work on the local_manifest) (Later: New Manifest attached) . Last I tested the kernel a few moons ago it worked on the Z1, so issue this was a surprise... I will also import the changes from the sony-msm8994 project, who is doing a great job, i see quite a lot of work to the sdcardfs code.
[Xperia Z5 General] algui91:
How did you managed to compile it? I am finding a lot of problems, for example, in system/core/init/util.h

#include <android-base/chrono_utils.h>
#include <selinux/label.h>

were not found, so I had to comment them out, but I do not know if this its going to be the best approach...
[Xperia Z5 General] threader:
[MENTION=5009598]algui91[/MENTION]

Im about to test what built tonight. I suspect i need to port the binder from sony-msm8994 though, it lookst tasty anyway. But does your build by any chance warn against building with a pre compiled kernel? I guess or simply some headers might have new names maybe or some feature needs to be introduced into the kernel.

The .repo/local_manifest/oss.xml contains some qcom opensource projects, to compile for 16.1 change opensource-location from revision=o-mr to p-mr. Also add https://github.com/sonyxperiadev/transpower/commits/android-8.1.0_r35, for 15.1 or probably master for 16.1, i missed that yesterday.
[Xperia Z5 General] algui91:
Hello,

Thanks for your quick reply, How did your test went? this are the only warnings I get when running brunch sumire:

build/make/core/combo/TARGET_linux-arm.mk:43: warning: cortex-a53.a57 is armv8-a.
build/make/core/combo/TARGET_linux-arm.mk:45: warning: TARGET_2ND_ARCH_VARIANT, armv7-a-neon, ignored! Use armv8-a instead.
Trying dependencies-only mode on a non-existing device tree?
[Xperia Z5 General] threader:
I applied the required binder changes from sony-msm8994 for AOSP 8.1 and it turns out it results in a locked kernel that fails to even boot, so i'm looking that problem now. So for instant results instead of my Z1 to Z5 kernel, use https://github.com/sony-msm8994/android_kernel_sony_msm8994 in , .repo/local_manifests/LA.BR.1.3.3_rb2.14.xml , you need to comment out common-headers common-kernel, also i see i commented out my kernel, a good place to add sony-msm8994, i realize my project to update the unified kernel is riddled with mines., and we really need 15.1 and 16.1 yesterday.
[Xperia Z5 General] threader:
I've come around to testing the whole Sony-msm8994 project that's up on Z5c, Lineage 15.1 is up with wifi, location, nfc available at least, so is the usb otg switch, not working is fingerprint and gsm services, camera.

Spotted this in logcat.

Abort message: 'CANNOT LINK EXECUTABLE "/system/bin/netmgrd": cannot locate symbol "_ZN6google8protobuf2io16CodedInputStream20ReadVarint32FallbackEPj" referenced by "/system/vendor/lib64/libcneapiclient.so"...'

TARGET_CPU_VARIANT in device/sony/kitakami-common/BoardConfigCommon.mk is set to generic, it's supposed to be TARGET_CPU_VARIANT := cortex-a53
[Xperia Z5 General] algui91:
Have the same problem, spotted the same Fatal message, Did the change in TARGET_CPU_VARIANT solved the problem?

Best
[Xperia Z5 General] threader:
I've got a problem with librmnetctl, vendor/qcom/opensource/dataservices, not building, netmgrd is complaining about that missing now, I'm trying the version on Xperiadev, but now I've messed up the build i built earlier and need to rebuild all of it...
[Xperia Z5 General] algui91:
I am trying to detect where the error

Abort message: 'CANNOT LINK EXECUTABLE "/system/bin/netmgrd": cannot locate symbol "_ZN6google8protobuf2io16CodedInputStream20ReadVarint32FallbackEPj" referenced by "/system/vendor/lib64/libcneapiclient.so"...'

comes from.

I am guessing its some makefile which has a SHARED_LIBRARY link to _ZN6google8protobuf2io16CodedInputStream20ReadVarint32FallbackEPj missing, but do not know where to find it. I've searched on the LineageOS repos without luck.
[Xperia Z5 General] threader:
It seems to be called from protobuf, maybe a missing link to it somewhere?
[Xperia Z5 General] algui91:
It seems so, the question is where that 'Somewhere' is. :). Will keep searching.