yashsingh1/xdaforums huggingface dataset:
[OnePlus 6T  Questions & Answers] GuestK00177:
I have flashed every single gsi he posts on his server. Nothing works on our phone. Non ab stuff has q booting all day. I have even ported his stuff and they still don't boot. Miui is the only thing that works.
[OnePlus 6T  Questions & Answers] iaio72:
[MENTION=5580109]ayjays[/MENTION] but the ROM Q beta GSI, work on op6t?

Thanks
[OnePlus 6T  Questions & Answers] ayjays:
[MENTION=1899588]iaio72[/MENTION] yes to a certain extent maybe go off the one plus 6 build I've seen around on the internet I've tried flashing it and it seems to be stuck on the screen before the bootloader but when you check twrp folders have been created like download and music so maybe there's something to it ??*♂️
[OnePlus 6T  Questions & Answers] ayjays:
And [MENTION=3618916]gigilie[/MENTION] hopefully he can just boot into twrp, backup, and be generous enough to share ?
[OnePlus 6T  Questions & Answers] iaio72:
So the ROM booted, but don't started? Correct?
[OnePlus 6T  Questions & Answers] iaio72:
I followed your instructions, but the phone doesn't boot
[OnePlus 6T  Questions & Answers] GuestK00177:
It has a bootlogo, and that's it.. he never said it went past that. Hence my whole input as stated above. . It doesn't work for us bro. Everyone in tg tried this a month ago. All same results. I managed to port some of it to our stock system img and got a different boot logo...and also the command to disable VB is not the same as flashing the image

It is: fastboot flash --disable-verification vbmeta vbmeta.img

(for the Q gsi the install instructions are to use their vbmeta.img.)

Fastboot flash vbmeta vbmeta.img just flashes vbmeta. U must disable ours and flash theirs. One command
[OnePlus 6T  Questions & Answers] ayjays:
[MENTION=1899588]iaio72[/MENTION] yes it boots but only till you reach Android bootlogo I've tried everything I can't think of anything else that's why I was hoping our talented friends can fix this and [MENTION=9317968]fullofhell[/MENTION] I understand this was already brought up I just quickly posted this without doing any further research because I thought I already seen all there was but I'm sure there's a way to make it boots I'm almost certain maybe someone can port with treble or port the boot.img from a pixel build I'm not really an expert just suggesting no reason on giving up cuz someone told me to
[OnePlus 6T  Questions & Answers] sangiman:
Check out this thread. https://xdaforums.com/oneplus-6/development/rom-pixel-3-xl-port-oneplus-6-t3856031
[OnePlus 6T  Questions & Answers] iaio72:
[MENTION=5580109]ayjays[/MENTION] this guide can help us to install ANdroid Q DP GSI?

https://xdaforums.com/oneplus-6t/how-to/guide-gsi-flashing-tutorial-one-plus-6t-t3891655
[OnePlus 6T  Questions & Answers] ayjays:
Your a god ??? [MENTION=5697009]sangiman[/MENTION] thanks!!
[OnePlus 6T  Questions & Answers] ayjays:
Bit of you guys lol [MENTION=1899588]iaio72[/MENTION]
[OnePlus 6T  Questions & Answers] ayjays:
https://xdaforums.com/showpost.php?p=79360784&postcount=286 I think he has found our solution
[OnePlus 6T  Questions & Answers] _Masked_:
Did it boot?
[OnePlus 6T  Questions & Answers] ayjays:
yes it did just make sure you flash international oos 9.0.11 first and oem unlock again then follow his guild for the oneplus 6t its pretty buggy and the wifi doesnt work might not recommend daily use but people can use this to make a rom im sure.. maybe lol

BUT yes its running Q oneplus 6t thank you guys
[Huawei P30 Pro Questions & Answers] Photone69:
The question is simple.

Sometimes it switches back and forth from the zoom lens to the main one and vice versa in lower light conditions.

Would be nice to have the option to manually select which one we want. Even tho the conditions are a bit darker the image would still look better with the zoom lens tho.

Btw I love the phone. Awesome piece of tech.
[Huawei P30 Pro Questions & Answers] luxor69:
interesting question... follow it
[Huawei P30 Pro Questions & Answers] shollywood:
Any zoom at 10X plus, it switches.
[Huawei P30 Pro Questions & Answers] Photone69:
I'm mainly talking about the 5x optical one. In lower light it can switch to the other lens. It's more apparent with it's switching back and forth.
[Huawei P30 Pro Questions & Answers] Maher.k22:
I found a way to trick it and switch to the zoom lense in low light conditions, zoom in to 5.1 instead of 5 and it will trigger the zoom lens.

I would also advise you to use the night mode while zooming in conditions where light isn't that sufficient.

Here are three images that I just took to show the difference. One is at x5 zoom, which used the regular lens, then at 5.1 which triggered the zoom lens, then also at 5.1 but in night mode.
[Huawei P30 Pro Questions & Answers] Photone69:
Very useful. Thank you! :)
[Huawei P30 Pro Questions & Answers] soldier16:
I tried that solution, but it still doesn't force it to change the lens. This happens on video as well. Any other suggestions??
[Huawei P30 Pro Questions & Answers] Maher.k22:
In like really really low light conditions, it won't work as the zoom lens becomes useless, unless you switch to x10 zoom.

As for videos, make sure you're not using 1080 60fps,because even during daytime, the camera will never switch to the zoom lens, as it's not capable of shooting at 60 fps.
[Huawei P30 Pro Questions & Answers] soldier16:
Yeah its still very hit or miss even in night mode. I'll be in a well lit room and zoom in one of the objects. It'll start off with the perdicope lens and then switch back to the other one. The picture quality is very different from both
[Huawei P30 Pro Questions & Answers] IamNumber25:
It switches back and forth due to lighting availability when it focused on the subject.

If light is not enough, the 5x optical zoom will shift into digital zoom because the 3.5 aperture will be dark enough to produce good photos and the main camera with 1.6 aperture will take over. It is just like how samsung shifts its camera mode during night shot where its telephoto lens was taken over by main camera due to poor lighting condition.

Try to shoot it both (digital and optical)and you'll see on the exif file that it is shifting camera mode, one is with 1.6f and the other one is with 3.4f.

Based on my observation during a good lighting condition, the camera is doing the following:

1x to 4.9x is digital zoom (using main camera)

5x optical zoom (using periscope camera)

5.1x to 10x is hybrid lossless zoom (using periscope)

10.1x-50x digital zoom (using periscope)
[Huawei P30 Pro Questions & Answers] mook699:
For pictures in pro mode you can enable raw file and it will restrict you to only optical which will force the 5x zoom lens but you can't use any digital zooming
[Huawei P30 Pro Questions & Answers] Leoxur:
Maybe in pro mode using tripod and long exposure time
[Huawei P30 Pro Questions & Answers] rajziel:
Thats weird, I have never seen my model switch lens without my input.

Is it supposed to?

Saying that zoomed pictures in lowlight is a processing nightmare, they come out looking like drawings
[Huawei P30 Pro Questions & Answers] Leoxur:
Install this, select CAM 5 https://play.google.com/store/apps/details?id=com.lensesdev.manual.camera.pro
[Huawei P30 Pro Questions & Answers] 7UIS:
I found out that using the periscope camera at night or in low-light environments, for example, with 50x zoom, the Automatic Mode produces better overall quality photos than with Night Mode or HDR Mode. Maybe the Automatic Mode makes a better use/control of the periscope sensor OIS.

PS: loving the Aperture Mode - it produces DSLR-style photos with a short depth of field

☀ Sent from SUN
[Huawei P30 Pro Questions & Answers] Leoxur:
Not really because if you can shoot with periscope camera in manual mode, increasing the shutter speed you can reach result that cannot reach with prime sensor
[Huawei P30 Pro Questions & Answers] Reeb_Lam:
Actually distance between the subject and phone also matters. If the camera is not able to focus at a subject properly it will shift to regular lens. The focal length of telephoto lens is different and requires some distance to trigger. Also if you want to force the telephoto lens to shoot then use Pro Mode.

In my opinion distance plays a more important role in switching to telephoto lens.
[Huawei P30 Pro Questions & Answers] *Detection*:
Looks like you need to enable RAW in Pro Mode to force the Telephoto sensor on zoom, otherwise it still defaults to the 40mp sensor if the subject is too close / it thinks it will get a better result

You can see if it has changed to telephoto by opening settings once it has zoomed, the max rez displayed of the sensor, also it will not allow digital zoom
[Huawei P30 Pro Questions & Answers] Anas74:
The quality of RAW mood is less better, you can do some tests
[Shield Tablet Q&A, Help & Troubleshooting] priisek:
Hi

Please help with my k1 tablet.

I have unlocked & rooted device, installed twrp & flashed to linage os 15.1 but it failed.

Now when I try to go to twrp via ADB, the PC don't find Tablet. I've tried to boot tablet & all I get is a Nvidia logo. If I try biting with power button & volume, it bits to screen with continue etc. But nothing seems to do anything.

Please help.

Thanks

James
[Shield Tablet Q&A, Help & Troubleshooting] Deleted member 9869657:
Did you boot into recovery mode After you pressed the buttons during the boot menu which is continue etc.. Then you should get into TWRP and restart the flashing if the installation failed. If not then go back to stock rom and reflash TWRP and do it again.
[Shield Tablet Q&A, Help & Troubleshooting] priisek:
All sorted. Not sure why it would not do it 1st & 2nd time, but 3rd time lucky ??
[Miscellaneous Android Development] diplomatic:
INSTRUCTIONS FOR TERMINAL APP

​

You can optionally run mtk-su on a terminal emulator such as Terminal Emulator for Android (recommended) or Termux. The basic idea is to copy the executable to the terminal app's internal directory and run it from there. These are the instructions for Termux, but a similar procedure applies to all terminal shell apps.

Make sure you meet all the requirements from the first post, especially the first and last ones.

Download the current mtk_su zip to your device and unzip it. Take note of where you extracted it. Pick the variant that fits your device. (See above.)

Open Termux and copy the mtk-su binary to its home directory, which in this case is the shell's initial working directory.

General idea: cp path/to/mtk-su ./

For example,

cp /sdcard/mtk-su_r14/arm64/mtk-su ./

For this to work, you have to enable the Storage permission for your term app. Do not try to circumvent the cp command with clever copying methods involving file managers or external tools. Mtk-su will not get the right permissions that way.

Make file executable

chmod 700 mtk-su

Run the program

./mtk-su

If mtk-su fails, post the output of ./mtk-su -v here along with a link to firmware and/or kernel sources, if possible.

Note that for most terminal shell apps, the internal app directory is stored in the variable $HOME. So in general you would do

cd

cp path/to/mtk-su ./

chmod 700 mtk-su

./mtk-su
[Miscellaneous Android Development] diplomatic:
PROJECTS USING THIS TEMP ROOT​

Partition Backup Helper for Termux by @mrmazak

Creates a script that automatically backs up your device's partitions, which may come in handy for repairs or experimenting.

Full bootless root with Magisk (for 20.x to 21.4) by @diplomatic

Loads Magisk without modifying the firmware.

Full bootless root with Magisk for 22.x+

by @HemanthJabalpuri

Loads the latest Magisk version without modifying the firmware.
[Miscellaneous Android Development] diplomatic:
Re-re-reserved
[Miscellaneous Android Development] bigrammy:
Great work mate!! I would liked to of kept secret till I got myself a new Sony L3 and backup the ta thought.

:laugh:

:highfive:
[Miscellaneous Android Development] diplomatic:
LOL... thanks!

Don't worry man, no one reads this forum :D
[Miscellaneous Android Development] NFSP G35:
Great work. Having used both a hardware root method and this method on a pair of devices I have, mtk-su was waaaaaaay easier to work with. Big thanks!
[Miscellaneous Android Development] KevMetal:
looks great ...i want to try it on a Vodafone carrier branded mtk67__ device in Spain / Europe to see what happens ...

ultimately i would want to use su to pull a copy of stock recovery to sd card / that and boot partition.img

what about after pulling stock recovery & porting twrp i flash twrp with flashfire or similar and after booting directly to recovery flash dm-verity disable .zip ...

reason being that bootloader is locked and this device is on marshmallow ...

*so my question is ...

will mounting rw on marshmallow trip dm-verity immediately and bootloop instantly or only on reboot ...if it's on reboot it would serve my purpose ..

* next question is if im running as su in shell how will I "give" escalated privileges to third party apk like flashfire for example or is it possible to disable dm-verity from root shell using commands ?

or installing mixplorer with root privileges for examle ..
[Miscellaneous Android Development] mrmazak:
[MENTION=8132642]diplomatic[/MENTION] made a good outline of the the steps to "jump" into full root. At least until rebooted.

I will add the link to the post, but keep the discussion that follows , here in this thread

*Copied from post https://xdaforums.com/showpost.php?p=79348378&postcount=569
[Miscellaneous Android Development] diplomatic:
Cool... let us know the results of running mtk-su on that phone, as well as the full model name so I can list it.

So you're on the right track about installing permanent root. I was pretty vague about it in the OP because it's a complex topic and it's pretty risky territory. Before trying to mod your boot image with systemless root and/or verity disabled, you have to check how restrictive your BL is. It's very possible that it can accept self-signed or unsigned images without needing to unlock. You can check this in a minesweeper fashion by flashing your stock recovery with the OEM signature removed and see if it boots. If not, Android will restore the stock recovery automatically, no harm done.

If you want to flash partitions from a root shell, you can use the dd command. FlashFire is a glorified dd flasher. For example, to flash a recovery image you would do

dd if=recovery.img of=/dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/recovery

The exact path of the dev node varies by device. You should do more research about it if you're interested. To dump partitions, essentially do the reverse of if= and of=.

If you want, you can post your stock recovery image and I can modify it so you can test how restrictive your BL is. There's no need to jump ahead to TWRP yet.
[Miscellaneous Android Development] bigrammy:
Most MTK's allow the boot probably due to difficulties during OTA patches indeed a lot of the OEM OTA's I have seen actually flash the recovery.img to the boot partition first then reboot do the update flash the recovery to recovery partition then reboot to recovery do the final check then reflash the boot.img back to the boot partition.

I think this is so if the OTA fails at any point they are always in recovery mode. If any of that makes sense :laugh:

Some mtk fstab's I have seen even have a flag that states verify "recoveryonly" so you can flash a TWRP recovery.img to the boot and it will boot up but it will not if flashed to the recovery of course OEM's may have other ideas and implementations so caution and a way back are definitely needed. :eek:

It's definitely a game of Russian roulette with a one in six chance of you finding the loaded chamber. :eek:

Been too secure can backfire on OEM's and cost them as with the Amazon Fire Phone I brick 3 or 4 of those suckers trying to unlock it and even they could do nothing with them so they would just give me a new one and I am convinced they actually locked themselves out on that devices and that's why it never got a version update or bootloader unlock which is a shame because it was a good phone. :silly:
[Miscellaneous Android Development] diplomatic:
OK, but I don't see how any of this would prevent cryptographic signature checking and enforcement at any OTA installation stage. Do you have any reason to believe that most devices that are not unlockable have support for unsigned images?
[Miscellaneous Android Development] bigrammy:
Depends on oem I guess eg: Lenovo TAB2 never unlock the bootloader, Infocus Never unlocked the bootloader, All China brands various I never unlocked the bootloaders yet all rooted with custom recovery's installed although most of these were Android 6.0 so AVB used by Magisk SuperSU etc works for them.

Nokia3 I did unlock the bootloader but I beginning to think maybe I didn't need to and maybe I can test that theory soon when I get one back I loaned out.

Big brands like Sony Defo need to be unlocked but lessor brands I am not so sure about. :confused:
[Miscellaneous Android Development] diplomatic:
OK, good to know, [MENTION=3924647]bigrammy[/MENTION] :)
[Miscellaneous Android Development] bigrammy:
I might try flash the boot of my Sony XA1 (bootloader locked) with a TWRP recovery over the weekend and see what happens. It just means me having to boot windows to recover it if it fails and I have not done that in 18 months or more :laugh:

EDIT: Unsigned TWRP Failed to boot so now I will try with a AVB signed image and see what happens.

EDIT 2: AVB signed TWRP Failed verification check too. :laugh:

PS: Never unlocked the Lumigon T3 (my daily driver) either and that was marketed a secure device it took me about 30 min's to to make a scatter file then pull the boot with SPFlashTool ported over TWRP from my Infocus pre patched the boot with Magisk flashed them back done. Again it seems AVB sig was enough for this device too but again Android 6.0. :rolleyes: :laugh:
[Miscellaneous Android Development] diplomatic:
OK.... it would be interesting what happens with the Sony...

It's pretty much the same deal with the Asus Zenpad series. The Z3xxM series, based on MT8163, can be flashed without unlocking the BL. On the old Android 6 FW, you needed to have an AVB signature for it go through. On Android 7, you don't even need that. However, for the high-end MT8176-based Zenpad Z500M, they locked it down so that you'd need to unlock before installing a custom boot/recovery--OEM sig support only.

LOL... I guess I'll have to stick to unlocking my Sonys before installing root. :)
[Miscellaneous Android Development] ahhl:
I have a question

I have been looking ways to root redmi 6a. Xiaomi have been imposing 15d grace period one any request to unlock boot loader. Very annoyed

My question is if I manage to root it and install TWRP. can I still modify the boot loader without unlocking it?

Tia
[Miscellaneous Android Development] diplomatic:
Hi, [MENTION=548005]ahhl[/MENTION]

If you can install and boot TWRP without unlocking the bootloader, you can almost definitely install permanent root to a boot image. The question is whether the locked BL on that phone will boot an image that is unsigned or wipe out instead. This is what bigrammy and I were just talking about above. I'd love to know if mtk-su works on that phone, btw....
[Miscellaneous Android Development] ahhl:
i will try. but i am just novice?. i read thru the conversation between you and bigrammy, only to 30% goes thru my head?

if i manage run mtk-su, then flash twrp, if the flashing did not work, it will just reboot back using stock boot.? i do not have to worry something i need to do just like bigrammy did for 30min, just to get the phone running? as the reboot just wipe twrp? is this true?
[Miscellaneous Android Development] Didi02:
Hello. I test this on Alldocube M5x. Not Work ☹️ Any Idea.?
[Miscellaneous Android Development] Supermatt01:
This time I got this. But still Magisk can't work.
[Miscellaneous Android Development] xSugarCandy:
Os: Andriod 9

Walmart 10.1"

Device: ONA19TB007

Yeah I got the same error message system bad call..
[Miscellaneous Android Development] diplomatic:
Well, like I said, mtk-su is not capable of launching Magisk correctly on Android 9 yet. (Except possibly from adb shell.) Nothing you can do about that from your end.

No ideas possible without any details, such as 'mtk-su -v' output or links to the firmware and/or kernel sources if available. All that mentioned in the OP....
[Miscellaneous Android Development] chauhanjayc:
Restoring stock

Hi folks,

I don't know if this is right place to ask

but currently my phone is in the status where i don't have proper root nor unroot and some of banking apps are not working.

tried sony pc companion but its showing network error and not sure about using flash tool.

kindly suggest.
[Miscellaneous Android Development] bigrammy:
No it's definitely not the right place. :rolleyes:

You should be asking these questions in the Sony theard that I linked you too a few post ago when I asked you to share your experiences there so other Sony users may benefit. :(

Most people in this thread do not own Sony devices so they will have no idea how to help and even if they did the posts may roll on for quite some time till your device is restored.

Ask in the correct thread and I will help you in the morning when I get a little spare time.
[Miscellaneous Android Development] mr-stab:
Hi,

On my Honor 7S, DUA-L22, i get the exact same result as Supermatt last posted (following the steps on the "Bootless root..." thread). However, upon following the steps in THIS thread, i'm able to get # in the ADB shell. Any idea why one would work, but the other not?

cheers for any help!
[Miscellaneous Android Development] Rortiz2:
[MENTION=8132642]diplomatic[/MENTION] worked on Meizu M5c MT6735 arm64 version:

shell@M5c:/data/local/tmp $ ./mtk-su
param1: 0x1000, param2: 0x8040, type: 7
Building symbol table
kallsyms_addresses pa 0x40bfc200
kallsyms_num_syms 56689, addr_count 56689
kallsyms_names pa 0x40c6af00, size 668891
kallsyms_markers pa 0x40d0e400
kallsyms_token_table pa 0x40d0eb00
kallsyms_token_index pa 0x40d0ef00
Patching credentials
Parsing current_is_single_threaded
ffffffc000364518+50: ADRP x0, 0xffffffc000fbf000
ffffffc000364518+54: ADD xd, x0, 2400
init_task VA: 0xffffffc000fbf960
Potential list_head tasks at offset 0x340
0xffffffc003050340 0xffffffc06c374340 0x000000000000008c
comm swapper/0 at offset 0x5c0
Found own task_struct at node 0
real_cred VA: 0xffffffc05b330e40
Parsing avc_denied
ffffffc0003039bc+20: ADRP x0, 0xffffffc001162000
ffffffc0003039bc+24: LDR [x0, 1660]
selinux_enforcing VA: 0xffffffc00116267c
Setting selinux_enforcing
Selinux is already permissive
New UID/GID: 0/0
starting /system/bin/sh
shell@M5c:/data/local/tmp #
[Miscellaneous Android Development] diplomatic:
Is that Android 9? Because mtk-su doesn't work very well on that version yet. There are multiple security restrictions that need to be taken care of. That needs a sizable overhaul of mtk-su, believe it or not. It's currently being worked on...

---------------------------------------------------------------------------------------------

Good to know about that phone, [MENTION=8978978]Rortiz2[/MENTION]!
[Miscellaneous Android Development] DB126:
For reader awareness, the Onn (Walmart) 8" and 10" tablets both rock a clean Android 9 build.

https://xdaforums.com/android/development/amazing-temp-root-mediatek-armv8-t3922213/post79697961
[Miscellaneous Android Development] ItsMeShouko:
Worked fine on Oppo F7 (CPH 1819).

Didn't work on Oppo F9 Pro (CPH 1823).

Thanks for your hard work! Please do not release information about this exploit so it keeps working for a longer period of time! :P
[Miscellaneous Android Development] diplomatic:
[MENTION=5640594]kvsjxd[/MENTION], thanks for that feedback! No problem, I'll be keeping it to myself for the foreseeable future. :)

Can you elaborate on what happened with the F9? What is the output of 'mtk-su -v'?