OnePlus 7 Pro Bricked After I Tried to Install the OxygenOS Cam on my Custom ROM - OnePlus 7 Pro Questions & Answers

My attempt to install the OOS Cam bricked my phone.... so my question is Why did my phone got bricked exactly? I want to know what I did wrong since I really want to use the OOS Camera.​So I was trying to get the original stock camera app to work on my device because the other ones looks horrible. I mean I have a kind of flagship device and the photo quality looks like my old cheap Huawei phone.
First I tried with an 3.x.x version of the app installed as an normal application. It works but the quality is still bad.
This is where I got that apk: https://forum.xda-developers.com/t/apk-oneplus-camera-for-any-a11-custom-rom.4350205/
On Reddit there is a post that said if you replace the Camera.apk on /system/app/Camera with the OnePlus Camera it should work.
The result? It worked and the quality seems better!....but some functions of the app like video or changing the size of the picture crash the app. Now the phone got really hot for some reason. No idea why but anyways I decided to go "creative" and I analyzed the official OxygenOS Rom(This is where I got the OOS Camera apk) to see what files where related to the OnePlus Camera app and then I pushed it through ADB to the respective directories of my phone.
These are the directories that I added with their specific files:​/system/priv-app/OnePlusCameraService/
/system/system_ext/priv-app/OnePlusCamera/
/system/system-ext/priv-app/OnePlusGallery/
Then I rebooted the phone expecting to see the OnePlus Camera working in all it's glory!...The phone got stuck in the boot logo.
The phone stays on the boot logo for some seconds, then reboots again but this time in Recovery mode and says this:
Can't load Android System. Your data may be corrupt. If you continue to get this message, you might need to perform a factory data reset and erase all user data store in this device.
Click to expand...
Click to collapse
I did the factory data reset but it did not work.
Now this might seem relatively easy to fix by using adb right? Well it is the worst moment to have the usb port damaged so until I fix that I have this beautiful OnePlus Paperweight.
The last detail is I actually deleted a folder which contained the .xml config files of the OOS Cam I installed on the second try because I thought it might cause some issues with the last try. Those files were on /system/data/
The phone have the bootloader open because I use a custom ROM and this one is called "/e/" which is based on Lineage OS. I used the wireless ADB function since my usb port is damaged, it jsut works as a charge port.
Again my main motive to this post is to understand "what did I do wrong?". I don't get why Android thinks the data is corrupted. The files are the official ones and as far I know I didn't deleted any important files. I even want to try with a more modern version of the app since I use the 6.4.45. This is the one that came on my phone the moment I opened the box. I want to see if the quality of the pictures got better with a newer one.
If you read this massive dump of text...thank you!

Related

Issue since cm11,4.4.4, es manager and usb not recognized

My 959V is rooted, had plenty of roms,ect over the last 3 years decided to do Gremlin remover and update it...,
Couple days ago upgraded to the "909" download of CM11,4.4.4, but every site I get it from gives me 908 (even though they all say 909) (last 3 digits of download version). The 908 will not recognize on my Win 7 laptop, but was fine up to now with previous cm11 same phone..
I have used the same cable for the last year for both my Galaxy and 2 Sidekicks phones, data and charging, now the Galaxy only charges, Windows detects but wont recognize, does on the sk4g's
Also (908) will not allow me to paste into sys/media with a " read only issue", although up to now swapped 15 different bootani without problems. Tried 3 different root file managers,same outcome.
Is the driver for the phone firmware windows looks for(on the phone itself) replaceable from sdcard? Im guessing its a bootloader issue and the 908 is the one not to of put on my phone.
Whats the probability I am getting the 909 but the 908 will not allow it to surpass it. Goes through the whole flash and on reboot I have to reenter emails,playstore apps,ect, but on 908 still in settings.
I can/ have been able to swap 1 rom via twrp and sdcard on 908 ( to slimkat4.4.4 and back to 909, but comes up 908) any other roms error before flash(and slimkat does not recognize on usb either).
is it a Kernel fix, and can it be flashed via sdcard? Bootloader via sdcard? Bad usb port? Does charge, and the drivers/ cable verified.
Thank you for any help, been 3 days now, redone my laptops (2) from scratch, everything ,c++,java,netframework,samsung,zadig 2.0, and more.
DId you do a clean upgrade (did a factory reset) before you installed CM11? If you didn't, go into TWRP and do a full backup (/system, /data) and do a factory reset, then boot up the phone and see if your computer will recognize it.
FBis251 said:
DId you do a clean upgrade (did a factory reset) before you installed CM11? If you didn't, go into TWRP and do a full backup (/system, /data) and do a factory reset, then boot up the phone and see if your computer will recognize it.
Click to expand...
Click to collapse
Yes, cashe,factory and davlik, before and after flash. I also have a 2nd motherboard,swapped them out and seen that it also is the 908 download but does recognize and allows me to ES Explorer swap boot animation. Im guessing I somehow erased the driver from the phone itself.
Ive done some Iphone jailbreaking unlocking for friends and found that a certain baseband (if I remember right 5.13.xx or 5.16.xx) would basically lock the phone unable to downgrade or upgrade and was to be avoided. Wondered if this a similar issue. (screwing up my bootloader)
What does windows look for via usb in the phone, adb,? Is it in the kernel and reflashable via sd?
I read also that the mini usb port can get bent over time and needs centering, tried that, cord fits better but not the issue.
Tried to zagdig the 2nd motherboard (worked) for drivers, but the 1st one still has error,device malfunctioned and cant be recognized by windows (7).
If i can get the Anton basic with a twist (no rom just the cm,I have it for Oden but wonder if Its possible cm flash)., Im good I believe,thats how I first rooted and got 4.3 cm,then 4.4.4, 908. Dunno,willing to try anything, not worried about it as I have a 2nd motherboard.
The rom is awesome, with no isuues except the battery stats vary. It says 3 hrs left then dies 10 min later, tried to erase the battery cashe in recovery but doesnt change anything. (related via usb?)
Thank you.
Floridasun said:
Yes, cashe,factory and davlik, before and after flash. I also have a 2nd motherboard,swapped them out and seen that it also is the 908 download but does recognize and allows me to ES Explorer swap boot animation. Im guessing I somehow erased the driver from the phone itself.
Ive done some Iphone jailbreaking unlocking for friends and found that a certain baseband (if I remember right 5.13.xx or 5.16.xx) would basically lock the phone unable to downgrade or upgrade and was to be avoided. Wondered if this a similar issue. (screwing up my bootloader)
What does windows look for via usb in the phone, adb,? Is it in the kernel and reflashable via sd?
I read also that the mini usb port can get bent over time and needs centering, tried that, cord fits better but not the issue.
Tried to zagdig the 2nd motherboard (worked) for drivers, but the 1st one still has error,device malfunctioned and cant be recognized by windows (7).
If i can get the Anton basic with a twist (no rom just the cm,I have it for Oden but wonder if Its possible cm flash)., Im good I believe,thats how I first rooted and got 4.3 cm,then 4.4.4, 908. Dunno,willing to try anything, not worried about it as I have a 2nd motherboard.
The rom is awesome, with no isuues except the battery stats vary. It says 3 hrs left then dies 10 min later, tried to erase the battery cashe in recovery but doesnt change anything. (related via usb?)
Thank you.
Click to expand...
Click to collapse
I didnt do a backup, if thats an issue , can I backup 2nd motherboard and apply to the first?
Floridasun said:
Yes, cashe,factory and davlik, before and after flash. I also have a 2nd motherboard,swapped them out and seen that it also is the 908 download but does recognize and allows me to ES Explorer swap boot animation. Im guessing I somehow erased the driver from the phone itself.
Ive done some Iphone jailbreaking unlocking for friends and found that a certain baseband (if I remember right 5.13.xx or 5.16.xx) would basically lock the phone unable to downgrade or upgrade and was to be avoided. Wondered if this a similar issue. (screwing up my bootloader)
What does windows look for via usb in the phone, adb,? Is it in the kernel and reflashable via sd?
I read also that the mini usb port can get bent over time and needs centering, tried that, cord fits better but not the issue.
Tried to zagdig the 2nd motherboard (worked) for drivers, but the 1st one still has error,device malfunctioned and cant be recognized by windows (7).
If i can get the Anton basic with a twist (no rom just the cm,I have it for Oden but wonder if Its possible cm flash)., Im good I believe,thats how I first rooted and got 4.3 cm,then 4.4.4, 908. Dunno,willing to try anything, not worried about it as I have a 2nd motherboard.
The rom is awesome, with no isuues except the battery stats vary. It says 3 hrs left then dies 10 min later, tried to erase the battery cashe in recovery but doesnt change anything. (related via usb?)
Thank you.
Click to expand...
Click to collapse
You can flash new kernels via recovery but it sounds like your issues are bigger than that. The fact that the 2nd motherboard is recognized via USB but not the 1st suggests that there's some kind of hardware issue. The drivers on your computer are working fine since the 2nd mobo is recognized, and so is your USB cable.
Why not just keep using your 2nd mobo? Is there something wrong with the 1st?
FBis251 said:
You can flash new kernels via recovery but it sounds like your issues are bigger than that. The fact that the 2nd motherboard is recognized via USB but not the 1st suggests that there's some kind of hardware issue. The drivers on your computer are working fine since the 2nd mobo is recognized, and so is your USB cable.
Why not just keep using your 2nd mobo? Is there something wrong with the 1st?
Click to expand...
Click to collapse
O.K., so Ive been playing with the second mobo just to test different angles.
1) E.S. File manager is the culprit, swapped out for a paid app Ive used with Sidekick 4g, Root Explorer, and boot ani. goes fine, on both mobos.
2) The latest gapps (cm 11 w/ gaps 4.4.x) was giving me a "Google servers cannot be reached" error on both mobos, used the gapps for cm 10.1 (jb 4.3) and all is working, both mobos.
3) Was reading that possibly the adb driver is in the kernel, and thats what windows is looking for? Ive tried but can only sd card flash at this point so, giving up. I can bluetooth,wifi share or email files to myself if need be. Im guessing its a hardware issue beings that the 2nd mobo was reflashed identical to to the first. (with exception of one click 2.3.6,and w/a twist oc/uv on the 2nd),1st one will not downgrade at all below 4.4.4 by sd, I was trying to ics a rom guessing the foundation might overwrite any missing stuff then upgrade back to 4.4.4.
One post mentioned that the mtd/bml cross flash is a no-no, could that mess up usb driver identity on the phones side?
Not a big deal, both phones/ roms are working great and have no issues (except 1 doesnt connect to a computer for file transfer). Thank you for your help.
Little early to ask but are you going to be in this forum long enough for lollipop to be ported? I would send you this phone for devving if you think you can get it to transfer files. Also need to get a lcd/digitizer, i have the rest of the phone.
Also, the phone was working fine up to about a month ago, it was recognized by the computer, only difference I made was trying apps, off playstore, five fingers for ebay,different weather apps for widgets,silver/gold prices apps. Thats when it started not recognizing.
I was getting the same error about the google servers, then I tried a earlier version of gapps. Connects now.
Floridasun said:
Little early to ask but are you going to be in this forum long enough for lollipop to be ported? I would send you this phone for devving if you think you can get it to transfer files. Also need to get a lcd/digitizer, i have the rest of the phone.
Click to expand...
Click to collapse
I have no plans to try a Lollipop port, this phone is almost 4 years old now. You might be better off sending the phone to @bhundven since I recently got two dev phones donated to me.
As far as the phone itself goes, the phone should be recognized even if there is no driver for it installed on your computer. You can use this software to verify that
http://www.nirsoft.net/utils/usb_devices_view.html
I don't believe you can even edit anything on the phone to make the USB device not be recognized when plugged in short of bricking your phone, so if there isn't even a USB connection being made, as I mentioned before, it looks like a hardware issue is causing your problems.
In that case, it'll be hard to flash anything without going through a lot of hassle since all the reliable recovery methods we have need that you are able to use your USB port on the phone.
EDIT
If you do still have TWRP available on the phone, flashing any ROM will reflash a kernel, but be careful because the recovery is tied to the kernel and some ROMs have a non-working recovery, so if you happen to flash some of these you'll be stuck with a nice paperweight . The latest CM11 I have posted does have a working kernel/recovery but I still don't think it'll fix your issue.
FBis251 said:
I have no plans to try a Lollipop port, this phone is almost 4 years old now. You might be better off sending the phone to @bhundven since I recently got two dev phones donated to me.
Click to expand...
Click to collapse
I'm currently looking into it, as well as fixing some issues with cm11. I have an SGS4G, so no need to send a phone.
Not just is it a 4 year old phone, but I am not sure how many people even use this as a daily driver anymore.
bhundven said:
I'm currently looking into it, as well as fixing some issues with cm11. I have an SGS4G, so no need to send a phone.
Not just is it a 4 year old phone, but I am not sure how many people even use this as a daily driver anymore.
Click to expand...
Click to collapse
I still use two of them. Great little phones really. I see no need or use for 5.0 I think running this CM11 from you guys is about the end of the road for these phones. A great ride indeed. Ill be sticking around regardless just to see what happens. Thanks guys☺

[Completed] Need to Flash ROM to Xiaomi Mi5. Every time I get freezing issues

Hello. This looks like the place I can get the best help.
Got a Xiaomi Mi5 last week - cheap and very cheerful. Having read online about possible fake roms and bloatware I thought the safest option would be to load the official stable rom to be safe.
Attempt 1
Following the MIUI guidance I downloaded the ROM, copied it to my phone in Windows explorer and then used the MIUI updater tool within the phone to load the new ROM.
http://en.miui.com/a-232.html
Everything went swimmingly for a couple of hours, but then the phone began crashing.
Attempt 2
By this stage I realised the above method was no longer available to me. So I got unlocking privalidges, unlocked my phone. Then, using MiFlash I flashed the latest ROM to the phone. Now the crashing problems happen within about a minute. It actually froze the screen first time round so I did it again.
Added fun issue - left my phone on overnight to charge. And it had stopped charging at 58%.
Attempt 3
Downloaded the EU MIUI Rom. Accessed TWRP in my phone and tried to use it to wipe and install. Not sure the wipes were fully effective - got a lot of red writing. And when I went to install the new ROM the internal storage was 0MB.
Had a look at guidance, and I forget what I did, but was finally able to see the zip file on my phone through TWRP. I got the "7" error. Have read how to fix this but seems too risky considering whats gone before.
Desired solution
I would just like any ROM on my phone which works. Don't really care which, I have followed each guide religiously. It may well just be a faulty phone but I don't want to send it back to China without ruling out the problem being me screwing with the software. Especially as I assume i've technically voided warranty... (I can reload Global Developer and relock it though so have hidden it pretty well. Only difference I can tell is that I now get a menu in recovery mode when before I got instruction to go to PCsuite).
Also - I seem to remember there originally being a downloaded_rom file in the internal memory which is no longer there. If im sending it back do I need to recreate one to hide my activity?
Appreciate any advice.
Moley1985 said:
Hello. This looks like the place I can get the best help.
Got a Xiaomi Mi5 last week - cheap and very cheerful. Having read online about possible fake roms and bloatware I thought the safest option would be to load the official stable rom to be safe.
Attempt 1
Following the MIUI guidance I downloaded the ROM, copied it to my phone in Windows explorer and then used the MIUI updater tool within the phone to load the new ROM.
http://en.miui.com/a-232.html
Everything went swimmingly for a couple of hours, but then the phone began crashing.
Attempt 2
By this stage I realised the above method was no longer available to me. So I got unlocking privalidges, unlocked my phone. Then, using MiFlash I flashed the latest ROM to the phone. Now the crashing problems happen within about a minute. It actually froze the screen first time round so I did it again.
Added fun issue - left my phone on overnight to charge. And it had stopped charging at 58%.
Attempt 3
Downloaded the EU MIUI Rom. Accessed TWRP in my phone and tried to use it to wipe and install. Not sure the wipes were fully effective - got a lot of red writing. And when I went to install the new ROM the internal storage was 0MB.
Had a look at guidance, and I forget what I did, but was finally able to see the zip file on my phone through TWRP. I got the "7" error. Have read how to fix this but seems too risky considering whats gone before.
Desired solution
I would just like any ROM on my phone which works. Don't really care which, I have followed each guide religiously. It may well just be a faulty phone but I don't want to send it back to China without ruling out the problem being me screwing with the software. Especially as I assume i've technically voided warranty... (I can reload Global Developer and relock it though so have hidden it pretty well. Only difference I can tell is that I now get a menu in recovery mode when before I got instruction to go to PCsuite).
Also - I seem to remember there originally being a downloaded_rom file in the internal memory which is no longer there. If im sending it back do I need to recreate one to hide my activity?
Appreciate any advice.
Click to expand...
Click to collapse
Greetings and welcome to assist. Xiaomi phones are encrypted by default so you need to wipe your phone in fastboot to access your storage again and you also need to flash latest su zip to disable dm verity. That should clear you internal memory issues and allow you to flash a zip through twrp
Good Luck
Sawdoctor

Long exposure issue after manually updating camera from APKMirror

After OnePlus 7 Pro release, I had installed the stock camera from APK Mirror. Later upon experimenting with it found that under pro mode even with 5 seconds shutter speed I was unable to capture Long exposure photos like I used to. Reverted to Stock 3.0.16 it works, on v3.2.99 its just saves the first frame. Is anyone else having the same issue. I had cleared cache and storage post installation of the new camera and still get the same results.
Try the new 3.3.8, and if it doesn't work then go back to 3.0.16, cuz i think those apk arent really made for the op6 or maybe it'a a firmware problem that needs to be updated( each apk comes with a specific firmware in the update i guess and sometimes there is no need for a new firmware update )
Chinaroad said:
Try the new 3.3.8, and if it doesn't work then go back to 3.0.16, cuz i think those apk arent really made for the op6 or maybe it'a a firmware problem that needs to be updated( each apk comes with a specific firmware in the update i guess and sometimes there is no need for a new firmware update )
Click to expand...
Click to collapse
Thanks, I had checked the new version as suggested, guess it doesnt work. May be will wait for OP to roll out new updates, hopefully with Q

Update to Custom ROM/Stock from Stock OTA?

I have a regular OnePlus 7 PRO (GM1913)
My bootloader is unlocked and I am rooted with Magisk on Android 10, with Oxygen 10.3.4 Stock.
something got funky with switching between apps and keyboard gets stuck sometimes and camera crashes, could be Nova launcher, could be Swiftkey, idk really
but I guess its time for a refresh to see if that fixes the problem (which I believe it will).
My Questions are:
1: How would I go on about flashing a custom ROM / latest Stock (recommendations welcome) without wiping data and keeping everything intact?
2: do I need a PC for that or can I do it "Over the air"? (sorry not fluent in this stuff since a long time)
Thank you!
Well, I'm not an expert but I've done that for the same reason as yours; ended up with the stock OxygenOS. Actually it started with stock OTA updater, ended with a brick(then unbrick)...
I've tried several custom roms, but
stock camera app is irreplaceable (Custom OS got more options, but Android 10+ is difficult to tinker with)
Even the most popular custom OS's may crash with an upgrade (especially if you tinker with your system). So whatever is wrong with it now, may got worse, or better.. Or it may get worse later(or not, who knows).
OTA doesn't do downgrades and check the signature of the package, so if something goes wrong or if you want oos back, you may need to use EDL with MSM Tools(Which, unfortunately requires a PC)
Thats why your safest bet is to:
Backup everything you can't afford to lose, then prepare an unbrick tool image if you can. You can backup without pc, but using edl or fastboot requires PC or other android device as a host device.
By the way, It's not that fun after a hundreds of reboot and flashes, so I use Linux now

Is my Verizon V50 broken?

I have a two year old V50, that was bought new in the box. Has been working great except for the fast few weeks - post Android 12 update.
1. Phone lags like it has an app that is frozen.
2. Sluggish to open apps like the camera.
3. Safe mode does not work
4. AOD display get shifted on the screen.
These are all intermeittent problems and Verizon has offered to replace the phone under a warranty. Curious to hear thoughts if you think this really is a phone issue or something else. I did a factory reset after the Android 12 update, didn't seem to make a difference.
Thx.
why not just flash back A11 with LGup? before u do that though, could you do me a hugh favor? go into EDL mode and backup modem_a and modem_b partitions for me please. Reason being A12 Kdz doesn't exist, only way to get A12 on Verizon is OTA, as I have a 450vm but with EU 40b A12 (which works great BTW) but I don't have the lastest A12 modem for it...
LG rom has now Verizon A12 KDZ uploaded, so I don't need the dumps for the modem partitions anymore! thx anyway
u can still however use LGup to downgrade to A11 in PM as I've suggested.
dman535 said:
I have a two year old V50, that was bought new in the box. Has been working great except for the fast few weeks - post Android 12 update.
1. Phone lags like it has an app that is frozen.
2. Sluggish to open apps like the camera.
3. Safe mode does not work
4. AOD display get shifted on the screen.
These are all intermeittent problems and Verizon has offered to replace the phone under a warranty. Curious to hear thoughts if you think this really is a phone issue or something else. I did a factory reset after the Android 12 update, didn't seem to make a difference.
Thx.
Click to expand...
Click to collapse

Categories

Resources