yashsingh1/xdaforums huggingface dataset:
[Huawei Mate 20 X Guides, News, & Discussion] AllanRSS:
This is a psa about restoring backups with our version of TWRP. I would advise anybody who can help it NOT to do a full system restore I am on EVR_AL00.

I do not know the details of its implementation but I do know that trying to restore a full system backup from 3 days ago become a huge problem when TWRP failed to properly restore the system and system image partition and the device could not mount them because of corruption. No combination of formatting and restoring seemed to have an impact on the results, but after painfully re-writing my drive many times I saw that the results inconsistently affected /vendor, /data, /system, and /system_image. TWRP did eventually give me a bootable system after running e2fsck -fv on my system partition, BUT it managed to kill the performance of my phone. There was noticeable lag on boot up before I could get full control of my system, but I might not have known if I did not use more cpu intensive tasks, such as viewing videos inside a linux chroot environment. The affect was not small by any means, it destroyed the usability of my environment. I believe that this was do to a failure to properly restore the block information, therefore killing read/write speed. Furthermore, the system was no longer able to boot with the stock boot.img, only through magisk. When I formatted the system_root partition, not realizing it was not included in the backup, it was no longer able to do that....

This become more of a pain in the ass when after restoring the stock erecovery it failed to restore the device, and the inconsistent performance of the huawei bootloader made it at times impossible to access either recovery or the system partition as I went about trying to get a stable system back on my device without erecovery or emui flasher. After messing around flashing different recovery images, eventually erecovery was able to restore the stock rom and I was able to re root my device and restore my TWRP /data backup.

I'm not complaining, as I do appreciate these tools for what they are, but I wanted to put this out there so that somebody could be saved from this experience. Due to my previous experience with TWRP I was happy to do a full system restore, even when I didn't need to, if only just to make sure I could. Turns out that was ill-advised.

I would highly advise that you only restore the /data partition through TWRP unless you absolutely must restore other partitions to recover a device. Through all of this I probably put near a full write cycle on my disk :(
[Huawei Mate 20 X Guides, News, & Discussion] ajsmsg78:
You only need to backup data and system image in TWRP. Don't mess with vendor, cust etc as they don't backup or restore properly on Huawei devices with TWRP. I've backed up and restored data and system plenty of times now.
[Huawei Mate 20 X Guides, News, & Discussion] AllanRSS:
Of course which partitions you need to backup or restore would depend entirely on the use case of the utility . I tend to 'mess with' alot of things for various purposes and it is good knowing that anything can be recovered quickly and easily if need be. I have been doing nandroid backups for a long time and it has always 'just worked' as long as you use it sensibly. Unfortunately, whatever the difference is with this device, that seems not to be the case. I'm sure if someone took a look at it it would be clear as a dd backup isn't exactly rocket science, but unfortunately I am far too preoccupied with my business and there isn't exactly a flourishing development scene for this phone
[Huawei Mate 20 X Guides, News, & Discussion] Roninnt:
I'm bricking my device same way that you describe.... Restoring all partition that is possible to backup with TWRP. There is a way to put some files in the memory - "base folder" and something "no check ....." And seen a bunch of commands from "ADB shell" and it's restored. Will put a video of the process soon to be useful for anyone with not enough skills to bring back the device to live!
[Huawei Mate 20 X Guides, News, & Discussion] AllanRSS:
Thanks for checking in Ronin. Seeing as this is affecting multiple users it's good to get the word out so that new users don't end up messing up their device.
[Huawei Mate 20 X Guides, News, & Discussion] sinekm:
1. format of the "system" and "vendor" sections

2.restore only the "system" and "vendor"

3.restore only the "system image and vendor image"

4. restore the OEM

*otherwise it is a bootloop without OEM.

---------- Post added at 02:54 PM ---------- Previous post was at 02:52 PM ----------

i have used this order for restoring my phone succesfully.
[OnePlus 7 Pro Questions & Answers] equlizer:
Im seeing people are rooted and stuff but i dont see anywhere how to unlock the bootloader and root the phone? I have the GM1917 version right from oneplus. Thx :)
[OnePlus 7 Pro Questions & Answers] photolarry:
I have the one from TMobile. I got it unlocked but need to get this stupid unlock.bin file from them and it takes weeks I'm told. If your phone isn't TMobile... You should be able to flash TWRP to the b slot and root with magisk. It's what I was going to do until it told me I cannot just OEM unlock from bootloader menu. Boooo
[OnePlus 7 Pro Questions & Answers] JedixJarf:
Turn on oem unlock from developer options then put phone in fastboot mode and connect to PC. Fastboot oem unlock is the command you'll run.
[Google Pixel 3a Questions & Answers] flocke000:
Hey guys, I wanted to ask if someone is already working on porting TWRP to the 3a?

If not I might give it a try myself. But I don't really have any experience in porting to a new device. So if someone knows a decent guide I am all ears.
[Google Pixel 3a Questions & Answers] pbanj:
https://xdaforums.com/showthread.php?t=1943625
[Google Pixel 3a Questions & Answers] zonedgold:
I hope that someone would try and compile twrp for the 3a. Maybe we can all pitch in for donations to entice someone.
[Google Pixel 3a Questions & Answers] flocke000:
I have a bit of experience in compiling ROMs, but I never tried to port something to a new device before.

That's the reason why I was hoping someone else with more experience is already working on it...

I will do some reading up on the topic later on, depending on the complexity I might try it either way.
[Google Pixel 3a Questions & Answers] Archangel:
I am kinda surprised that one isnt already out. As much as this phone sold thought there would be more development,,,but its only been what a month?
[Google Pixel 3a Questions & Answers] nickmv:
More like 2 weeks.
[Google Pixel 3a Questions & Answers] Archangel:
Yup thanks for pointing that out but you get my point it hasnt been that long that the phone has been released LOL.
[Google Pixel 3a Questions & Answers] pbanj:
iirc the pixel 3 didnt have it for a month or so. so we prob wont see it for another few weeks
[Google Pixel 3a Questions & Answers] flocke000:
Do you think we could just flash a GSI with fastboot and it would work?

Or do we need to disable verified boot first somehow (haven't had a Treble device yet so I don't really know how it works...)?
[Google Pixel 3a Questions & Answers] pbanj:
pretty sure you can just flash them once bootloader unlocked
[Google Pixel 3a Questions & Answers] flocke000:
How about Gapps? Any way I can install them without TWRP?
[Google Pixel 3a Questions & Answers] nickmv:
I kinda miss the old days of Nexus devices where on day 1, you'd log in to XDA to find a ROMs section with like 50 posts and fully-dev'd mods already.

We got spoiled...
[Google Pixel 3a Questions & Answers] jmtjr278:
I think with Android becoming more polished with each version and cherry picking custom rom features there becomes less and less a need for custom ROMs. I love having choices but ultimately always returned to stock rooted with a custom kernel with my 2xl.
[Google Pixel 3a Questions & Answers] pbanj:
I have to be honest. I am not a fan of pie, and the fact so many things are missing that are pretty much standard for every custom room is annoying too.
[Google Pixel 3a Questions & Answers] jmtjr278:
What features are you missing?
[Google Pixel 3a Questions & Answers] pbanj:
Well the biggest issue is the horrible volume controls, next we have the fact that volume to skip songs is not there, full control over the nav bar to change its hight and layout, moving the clock, showing the date next to the clock, circle battery, having recents work without needing to leave the pixel launcher enabled, also the burn in protection and power saving features that some rooms have for oled screens.
[Google Pixel 3a Questions & Answers] jmtjr278:
Du put out a rc. But it's for the xl. Not sure what is different or if it would work on our non xl variant.
[Google Pixel 3a Questions & Answers] crackedvenom2:
Can't be too much longer now hopefully.
[Google Pixel 3a Questions & Answers] jmtjr278:
Not sure. Don't know if any of their devs bought the 3a non xl. The rc they put out needs to be flashed with fastboot. Still waiting on that TWRP. I really want to know if that will work on our non xl 3a's.
[Google Pixel 3a Questions & Answers] 12paq:
With the DU RC for the Pixel 3A XL, Gapps are included in the ROM. It's all flashed in Fastboot. There was a comment on their Discord channel about Gapps being included in the ROM and the response was something like, this is just how it will be in Pie.

Of course this has nothing to do with our need for someone to compile TWRP for our device, but I am sure someone will get to it eventually. We all hope.
[Google Pixel 3a Questions & Answers] bshiznit:
I'll give it a shot with the link posted from the last page. My experience is AOSP ROMs and kernels for tablets in the past, so this whole ril thing should be interesting.

That said i agree we need TWRP
[Google Pixel 3a Questions & Answers] 12paq:
Awesome.

PM me if you need a tester who can pull the appropriate logs. I'm happy to help.
[Google Pixel 3a Questions & Answers] bshiznit:
OMG am I feeling out of my depth after looking at the crosshatch "bringup" for our cousin the Pixel 3 and Pixel 3 XL:

https://github.com/TeamWin/android_...mmit/7ae87410d16224a1f7523004d275823e7b323545

Unless I am missing something this could be a lot more work than I was expecting! I'll fool with it from Omni source some more tomorrow, but holy crap where are all those referenced .so files and stuff coming from?
[Google Pixel 3a Questions & Answers] TheManii:
I've been trying to avoid having to actually dive in directly but:

Nearly all of it in that commit is simply support files to decrypt /data.

If you're trying to focus on just trying to get it built and worry about actually getting everything working initially, you can simply skip most of it (you'll obviously need it as sargo/bonito force encryption by default, like crosshatch/blueline does) and simply try and get something to boot at all.

The files themselves are just rips from the stock/existing rom, which in this case would be all the encryption libs, and a prebuilt kernel image. While it's conceptually prettier to be able to build everything from source, it's really overkill (or impossible if the source isnt available) to compile a recovery.

A counterexample is: TeamWin/android_device_samsung_beyond0lte

It's a bare minimum device tree with a prebuilt kernel and cpu/standard encryption (or something like that)

What you really want to focus on is

boardconfig(-common).mk

and

recovery/root/etc/twrp.fstab

to simply get it to build and boot at all.

To get all the prebuilt modules, you can dump them from the device itself, or from a factory/ota image, and you'll need to split and decompress boot(.img) before including it as a prebuilt.

I'm available tomorrow (May 31) during the afternoon (eastern standard time) if you are available then if you want to attempt to do it as a group project. The last time I've built TWRP was 5+ years ago, but were it not for dealing with the Titan M chip, it should be fairly straightforward to at least get compiling. I simply dont wish to get an entire os instance back up to build twrp. (let me know in a reply if you wish to colab, I dont watch my PMs anymore)
[Google Pixel 3a Questions & Answers] flocke000:
Thank you for starting to work on it. I haven't found the time to start yet and I'm not home over the weekend so I can't really help yet. I'll be back on Monday, if I can help then I will see what I can do.
[Google Pixel 3a Questions & Answers] bshiznit:
I built the system image (that I have yet to test since I can't make nandroids, although maybe fastboot supports this?) on a Mac from work for grins. I'm gonna set up a proper VM for these efforts I think just to get around any issues related to 10.14 and it's x64 restrictions. Ubuntu 18.04? The AOSP build environment setup references 14.04 and 12.04 :S

My last efforts were on 12.04 but I've retired that box. I think I also did some devving on Arch.

Collabo would be great; I at least wanna get the build box set up first though. What Ubuntu version and/or TWRP manifest would you reccomend? Their guide states omni-7.1...
[Google Pixel 3a Questions & Answers] TheManii:
If you're going to download an entire AOSP tree, I would try with the 9.0 branches as they're the newest ones and TWRP is actively built and deved against omni 9.0.

If you're going to use the minimal manifest tree to build against, the guide itself wasn't updated since omni 7.1, but the minimal manifests still seem to be actively updated for 9.0.

The minimal manifest tree wasn't an option when I last built it, if you're willing to sit and wait for 20+gbs to be pulled down, building against omni 9.0 full is prolly the less error prone of the two.

I think I simply used whatever AOSP recommended when I last built it (I think that was ubuntu 12.04 LTS), there's definitely plenty of guides with more detail for simply setting up to compile AOSP.

If you need to also bring up an entire env, you could try building for the emulator or another device as a sanity check before actually beginning.

fastboot is write only, unless the OEM added in extra commands behind

fastboot oem

You would either need to risk your current install and actually flash it (for an actual rom) or you could simply boot it (for a kernel or recovery) without TWRP
[Google Pixel 3a Questions & Answers] gee one:
I just bought this phone yesterday. It's still in the box... but I've been digging through the aosp trees. aosp builds just fine, although I haven't flashed it yet.

---------- Post added at 06:15 PM ---------- Previous post was at 06:05 PM ----------

I should add that it might be helpful to watch for development on the 3a xl too since the phones are related. If a device tree or twrp comes out for bonito, it sound be "easy"™ to modify for sargo.
[Google Pixel 3a Questions & Answers] gee one:
I've been building on Debian 9 and it seems OK for LOS ROMs. aosp for sargo builds without errors, but i haven't flashed it yet.

I know LOS 15.1 had a build flag for building twrp in-line. That seems to be gone in LOS 16.

Pie builds are very large. I think the aosp source is 75 GB, the out directory is 110 GB, and that is just for one device, so you need about 200gb to get started. Additional devices should only increase the space incrementally.
[Google Pixel 3a Questions & Answers] bshiznit:
Right? I m using my work Mac because it has an SSD and it filled it up! But yes I got a flashable system.img too.

Still dorking with omni to get twrp to build...
[Google Pixel 3a Questions & Answers] TheManii:
From the looks of it, it could be as easy as simply renaming every instance of sargo <-> bonito, aosp only has a bonito tree and sargo is a variant inside it.

I dont know how well twrp copes with 2 devices using a shared tree, but that's how AOSP itself does it.

I sent a PM btw.
[ASUS ZenFone 6 (2019) Themes, Apps, and Mods] Onepunchbro:
Asus Zenfone 6 Google Camera APK/Gcam Mod.

Anyone with Zenfone 6 please share the compatibility with Gcam 6.1 or 6.2. This phone has near stock android and Sony IMX 586 sensor so i think it will have great gcam support. I wonder if third party camera app will be able to trigger the flip camera, for example shooting selfie with the 48mp camera using gcam.

Updated : 12/06/19 : Asus is sending Zenfone 6 to [MENTION=4860033]Arnova8G2[/MENTION] for development https://www.xda-developers.com/asus-zenfone-6-custom-rom-twrp-lineageos/

Arnova release the first gcam for Zenfone 6, supports 48MP HDR+ Enhanced https://www.celsoazevedo.com/files/android/google-camera/dev-arnova8G2-beta/#apk935
[ASUS ZenFone 6 (2019) Themes, Apps, and Mods] Monnq:
You may want to try GCam for Mi9 or OP7 since they have the same sensor
[ASUS ZenFone 6 (2019) Themes, Apps, and Mods] AndroidUK2016:
I'm keen to see the results.
[ASUS ZenFone 6 (2019) Themes, Apps, and Mods] BykuAllmighty:
I'm curious what kind of Camera2Api lvl is available. I hope it's full LEVEL_3.
[ASUS ZenFone 6 (2019) Themes, Apps, and Mods] wjelo:
Level 2 according to TechTablets: https://youtu.be/GMplpTGC4vY?t=440
[ASUS ZenFone 6 (2019) Themes, Apps, and Mods] AndroidUK2016:
I'm a little naive on what the different levels mean. What is the significance of level 2
[ASUS ZenFone 6 (2019) Themes, Apps, and Mods] BykuAllmighty:
Theoretically we shouldn't be able to shoot RAW, but from the information i've gathered we can shoot raw in stock camera app. I don't know how's the situation in 3rd party apps.

I'm worried a bit about gcam now. How will it work without full level_3 support.
[ASUS ZenFone 6 (2019) Themes, Apps, and Mods] mickey36736:
Many phones also have full support instead of level 3 and gcam works fine. Including zenfone 5z.

Without raw support, (sony phone) the gcam will not work.
[ASUS ZenFone 6 (2019) Themes, Apps, and Mods] jericho246:
Dunno much about this stuff but I downloaded the Camera2 API Probe app on my Xiaomi Mix 3 just to see what the results are, and they are the same as the ones in TechTablet's Zenfone 6 video. And GCam works perfectly fine on my Mix 3. So it should work on the Zenfone 6 as well. The question that remains is, will the camera flip when switching to selfie cam in GCam? I haven't seen anyone test GCam on this phone yet.
[ASUS ZenFone 6 (2019) Themes, Apps, and Mods] mickey36736:
Yeah, that is surprising.

On my zenfone 5z, I'm using this version and it works perfectly.

https://drive.google.com/file/d/10w7ZLo6IzOCToB1dlZiSm-aVbxd6YL3T/view?usp=drivesdk

It's based on arnova last 6.2.024 version with aux support. Should work on zenfone 6.
[ASUS ZenFone 6 (2019) Themes, Apps, and Mods] Pipould:
Tested, the camera switch works great but the app is overall laggish and takes no picture
[ASUS ZenFone 6 (2019) Themes, Apps, and Mods] jericho246:
Interesting. I think it's because of the SD855 chipset. Which version did you test? If you don't mind, try this one https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_RazerPhone2_V1c.apk according to cstark it works on the SD855 Samsung Galaxy S10e.
[ASUS ZenFone 6 (2019) Themes, Apps, and Mods] Pipould:
This one might be worse than the previous in the sense that the image hangs after a few seconds :/
[ASUS ZenFone 6 (2019) Themes, Apps, and Mods] mickey36736:
Something that happened on zenfone 5z in the past becuase of the buffer lag issue in viewfinder. Did you tried changing image format to yuv instead of jpeg?
[ASUS ZenFone 6 (2019) Themes, Apps, and Mods] Pipould:
Nearly same story, possible to take pictures but no hdr whatsoever
[ASUS ZenFone 6 (2019) Themes, Apps, and Mods] lanmilan:
Bagaimana cara buat wu sendiri
[ASUS ZenFone 6 (2019) Themes, Apps, and Mods] mudnightoil:
I'd suggest trying ones that work on the Xiaomi Mi 9.

It's SD855 and the same camera module.
[ASUS ZenFone 6 (2019) Themes, Apps, and Mods] Pipould:
I did a lot of tries with unfortunately no luck. Seems the camera is overall inferior to the Mi8 which is somewhat disappointing :/
[ASUS ZenFone 6 (2019) Themes, Apps, and Mods] mudnightoil:
Doubtful.
[ASUS ZenFone 6 (2019) Themes, Apps, and Mods] Pipould:
Well, the base camera overexpose, hdr mode create ghosting on moving subjects... On Mi8 GCam makes magic, rarely missed pictures
[OnePlus 7 Pro Questions & Answers] dubt17:
I'm not sure how possible it is to have this implimented, but when using a third party app such as Instagram or Snapchat, you're limited to the main sensor.

When the camera is active in an app, what if you could use the 3 state alert slider to change the cameras depending on the position?

Bottom, wide angle, middle main sensor and top telephoto. A sort of zoom control.
[OnePlus 7 Pro Questions & Answers] harysviewty:
If your camera2api is exposed, you can access all of those camera on third party app

Only LG does this
[OnePlus 7 Pro Questions & Answers] rickysidhu_:
I like the idea of being able to switch between cameras in third-party apps, but not so much a fan of how you would want it to happen.

Alert slider is pretty stiff so for me it would be annoying to have to physically move it every time I wanted to switch cameras.

Also, what would happen with sound modes? If the slider is in the middle position, would you end up in vibrate mode when you leave the app?

I'd rather have either on-screen options like the stock camera does, or some kind of on-screen gesture(s) in the viewfinder.

Just my two cents!
[HTC Tornado] timwb:
Hi

I have a Tornado in o2 IQ guise, it is not CID unlocked. When I turn it on I get the o2 splash screen before it goes into bootloader. I tried hard rest but that didn't work so I tried flashing differnt rom, which is how I found that it was still CID locked.

I have tried the solution at http://xdaforums.com/showthread.php?t=388109 to change .nbf header to match that of my phone but this doesn't seem to work Typhoonnbftools just spits out a 1kb .nbf file.

Bootloader reports:

IPL:2.00

SPL: 2.00.0011

Tornado 1U

USB is available and can communicate with the phone using TerraTermm Pro I have tried format BINFS but I'm told "not allowed operation". I really need an o2 UK rom to flash back but it isn't on their site. I looked on the xda-dev ftp but the rom on there is german and has different vendor ID.

Can anyone help?

Thanks
[OnePlus 7 Pro Questions & Answers] j0sh1:
Hey

I've somehow managed to delete the video on my phone but would love to have it. Anyone have any backups? Or any ways to have it restored to the phone? Looked up on google without any luck.
[OnePlus 7 Pro Questions & Answers] j0sh1:
Anyone?
[OnePlus 7 Pro Questions & Answers] truckerdewd:
Anyone who has deleted it or had it disappear, shoot me a message wth your email address and I will send it to you.
[OnePlus 7 Pro Questions & Answers] equlizer:
Looks like you need approval to download it :(
[OnePlus 7 Pro Questions & Answers] truckerdewd:
I changed the file permissions so it can be dowoaded. I will be deleting it from my Google Drive tomorrow so get it while you can.

Edit:, it has now been deleted from my Google Drive. If anyone needs it, shoot me a message with your email address and I'll send it to you.
[OnePlus 7 Pro Questions & Answers] j0sh1:
Thanks a lot you are a legend
[OnePlus 7 Pro Questions & Answers] Nelinski:
I'm curious, where is this video? I've never seen it.
[OnePlus 7 Pro Questions & Answers] Deacon-Frost:
Originally you should've find in the gallery. But once you've unlocked your device it's gonna be deleted.
[OnePlus 7 Pro Questions & Answers] truckerdewd:
Here is the link from my Google Drive.

https://drive.google.com/file/d/1-1DojBOnXPrtJm93mAeC0swddxbx1yh8/view?usp=drivesdk
[OnePlus 7 Pro Questions & Answers] Chaitanyadp:
Hey

Could share the video on chaitanyapatil.patil0@gmail.com.

Thank you in advance!!

:)
[OnePlus 7 Pro Questions & Answers] Pfeffernuss:
No.
[OnePlus 7 Pro Questions & Answers] rootSU:
Is this the original one? Even though it's 1440p, it's at 9.0Mb/s bitrate, and seems to be not as clear as I remember the original one to be.

Can anyone with the original video confirm if it's at the same bitrate @ 24fps?