yashsingh1/xdaforums huggingface dataset:
[Vivo X70 Pro+] NextGenMagisk:
This is extremely helpful and has given me a very clear path to solve problems with Vivo root. I will implement these suggestions. Thanks a lot.
[Vivo X70 Pro+] Pervokur:
Another tip from me. There is a way to have system rw for magisk root. At least it works for me on LOS19.1 userdebug gsi, vndklite variant, magisk24.3

Normaly

magisk-su: mount -o rw,remount /

operation not permitted

adb root:mount -o rw,remount /

ok

but / is still ro for magisk-su

Then I just kill surfaceflinger which leads to zygote restart(aka soft reboot)

su -c killall surfaceflinger

After booting / is rw for magisk-su and you can work with partition in file manager like Total Commander.
[Vivo X70 Pro+] NextGenMagisk:
Again a great tip, thanks!

I am currently testing your previous suggestions to inject custom init script on Y33s.
[Vivo X70 Pro+] Pervokur:
you can test this with adb root without editing boot.img or init.rc

adb shell

mount -t overlay overlay -o lowerdir=/system,upperdir=/data/system/ou,workdir=/data/system/ow /system

mount /sbin/.magisk/zygisk/app_process32 /system/bin/app_process32

mount /sbin/.magisk/zygisk/app_process64 /system/bin/app_process64

then restart zygote

killall surfaceflinger

zygote will restart, but mounts will still be there
[Vivo X70 Pro+] NextGenMagisk:
mount overlay is working when executed from adb root.

but i cant get past the second step:

2109:/data/system/ow # mount /sbin/.magisk/zygisk/app_process32 /system/bin/app_process32

mount: '/sbin/.magisk/zygisk/app_process32'->'/system/bin/app_process32': No such file or directory

1|2109:/data/system/ow #

1|2109:/data/system/ow # mount /sbin/.magisk/zygisk/app_process64 /system/bin/app_process64

mount: '/sbin/.magisk/zygisk/app_process64'->'/system/bin/app_process64': No such file or directory

what must be causing this?
[Vivo X70 Pro+] Pervokur:
you didn't activate zygisk in magisk settings, so there are no files /sbin/.magisk/zygisk/app_process32

/sbin/.magisk/zygisk/app_process64
[Vivo X70 Pro+] NextGenMagisk:
I cant enable it because Magisk daemon does not run at boot. Superuser tab in the app is greyed out.

testing this on a Vivo PD2147F debug build with Magisk patched boot and ofs.rc entry included.
[Vivo X70 Pro+] Pervokur:
even with magisk 24.3?
[Vivo X70 Pro+] NextGenMagisk:
Yes, patched magisk 24306. tmp dir with random name under /dev is created with root rights but the magic mount fails and hence the superuser tab is greyed out.

Magisk issue #5148

VIVO/iQOO kernel restictions: "Operation not permitted" when executing `su` or mounting to `/system`, or bootloops if rooted · Issue #5148 · topjohnwu/Magisk

Device: iQOO Z1/VIVO X70 PRO/iQOO NEO3, and more Android version: N/A Magisk version name: N/A Magisk version code: N/A, but more serious since 24302 Magisk fails to mount /system on some Vivo/iQOO...

github.com
[Vivo X70 Pro+] Pervokur:
Then you should manually add something like this to the end of init.rc

on load_persist_props_action

exec u:r:su:s0 -- /system/bin/mount -t overlay overlay -o lowerdir=/system,upperdir=/data/system/ou,workdir=/data/system/ow /system

on zygote-start

exec u:r:su:s0 -- /system/bin/mount /sbin/.magisk/zygisk/app_process32 /system/bin/app_process32

exec u:r:su:s0 -- /system/bin/mount /sbin/.magisk/zygisk/app_process64 /system/bin/app_process64

on post-fs-data

start logd

rm /dev/.magisk_unblock

start mqVxwb7J

wait /dev/.magisk_unblock 40

rm /dev/.magisk_unblock

service mqVxwb7J /sbin/magisk --post-fs-data

user root

seclabel u:r:magisk:s0

oneshot

service DC83jQtNHiJDw8 /sbin/magisk --service

class late_start

user root

seclabel u:r:magisk:s0

oneshot

on property:sys.boot_completed=1

start Zaw2TLXyH

service Zaw2TLXyH /sbin/magisk --boot-complete

user root

seclabel u:r:magisk:s0

oneshot
[Vivo X70 Pro+] Pervokur:
no, read what I wrote

magisk 24.3 can inject code in init.rc, can't mount /system /vendor /oem

magisk >24.3 can't inject code, because magisk switched to new method wich requires mounting /system. Zygisk is broken since 2431*

Try stable 24.3 version. It's uses old method of injecting code into init.rc
[Vivo X70 Pro+] NextGenMagisk:
after extracting ramdisk I got an init ELF executable (screenshot). Next, how do we inject our custom init script?
[Vivo X70 Pro+] NextGenMagisk:
ok, i will try now with stable 24.3
[Vivo X70 Pro+] Pervokur:
/system/etc/init/hw/init.rc

it's text file
[Vivo X70 Pro+] NextGenMagisk:
Not sure if anything changed after patching Stable Magisk 24.3. Superuser is still greyed out. Please see the log.

Line 1282

01-01 05:30:49.328 5056 5056 W libbusybox.so: type=1400 audit(0.0:754): avc: denied { search } for name="block" dev="tmpfs" ino=22 scontext=u:r:untrusted_app:s0:c194,c256,c512,c768 tcontext=u: object_r:block_device:s0 tclass=dir permissive=0 app=com.topjohnwu.magisk
[Vivo X70 Pro+] Pervokur:
Since you can manually start daemon, then problem should be in injecting code in init.rc

You need to edit this file.

Which rom are you using?
[Vivo X70 Pro+] NextGenMagisk:
Funtouch OS 11.1 Global

PD2147F_EX_A_3.11.3_vivo_mtk_alps-release-r0.mp1-pre4.1

I could not install Lineage OS as compatible TWRP is not available for Vivo Y33s.

Now, i will try to edit and replace init.rc
[Vivo X70 Pro+] Pervokur:
why do you need twrp?

what if you disable selinux at boot?

./magiskboot unpack -h boot.img

edit header by adding this in cmdline

androidboot.selinux=permissive

./magiskboot repack boot.img newboot.img
[Vivo X70 Pro+] NextGenMagisk:
fastboot flash system lineage-19.1-20220613-UNOFFICIAL-arm64_bgS-vndklite.img

Is this enough to install LOS 19?
[Vivo X70 Pro+] Pervokur:
check with this and post screenshot here

Treble Info - Apps on Google Play

Helps you check Project Treble, A/B and Architecture for GSI installation

play.google.com
[Vivo X70 Pro+] V0latyle:
We do have a Magisk forum here on XDA. Here is the Magisk support/discussion thread. There are several very knowledgeable people such as @pndwal @ipdev and others that may be able to help with this issue.
[Vivo X70 Pro+] Pervokur:
fastboot erase userdata

fastboot reboot fastboot

fastboot erase system

fastboot flash system system.img

try non-vndklite variant first

for vndklite variant maybe you will need to patch vbmeta, just fill 000070 line with ff (0xff is 1111 1111)

look at 03 in my vbmeta, it's proper disable-verity disable-verification

0x03 is 0000 0011, so it's two bits
[Vivo X70 Pro+] NextGenMagisk:
I will try this first
[Vivo X70 Pro+] NextGenMagisk:
contents of boot header

name=

cmdline=bootopt=64S3,32N2,64N2 product.version=PD2147F_EX_A_3.11.3 fingerprint.abbr=11/RP1A.200720.012 region_ver=W30 product.solution=MTK buildvariant=user

os_version=11.0.0

os_patch_level=2021-12

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

where should I put "androidboot.selinux=permissive"
[Vivo X70 Pro+] Pervokur:
cmdline=bootopt=64S3,32N2,64N2 androidboot.selinux=permissive

but I don't think that it will help
[Vivo X70 Pro+] NextGenMagisk:
SE Linux still

after editing boot header

2109:/ # getenforce

Enforcing

2109:/ #

2109:/ #

Disabling SE Linux at boot would definitely help. any other way to do it?
[Vivo X70 Pro+] Pervokur:
such edit worked for me (y31 + los gsi) but didn't fix inability to mount /system,

try to flash gsi
[Vivo X70 Pro+] NextGenMagisk:
I followed the steps and LOS flash completed.

got boot loop with vndklite variant, both before and after patching dm-verity. now i am back to Vivo debug build.

Next i will try non-vndklite or gsi build but I think this Vivo model does not like any modifications to vbmeta, always ends in boot loop.
[Vivo X70 Pro+] Pervokur:
you can try to use avbctl, it's helped me to boot in vndklite variant

./avbctl disable-verity

./avbctl disable-verification
[Vivo X70 Pro+] NextGenMagisk:
thanks, both checks are now disabled using avbctl.

I tried to flash "lineage-19.1-20220719-UNOFFICIAL-a64_bgS.img"

Fastboot automatically resized 'system' partition, and after flash completed, device got into boot loop.

I must be flashing wrong builds, how to know which build is correct?
[Vivo X70 Pro+] Pervokur:
can you boot in FT after disable-verity disable-verification? upload vbmeta here, it's better to compare original vbmeta with pached, so you would know which bits are added for disable-verity disable-verification.

maybe you shoud try A11 gsi, los

Andy Yan's personal builds // GSI - Browse /lineage-18.x at SourceForge.net

sourceforge.net

or aosp

https://github.com/phhusson/treble_experimentations/releases/download/v313/system-roar-arm64-ab-vanilla.img.xz
[Vivo X70 Pro+] Pervokur:
did you try to flash newest ota, shouldn't it be A12? maybe you can boot with it in gsi 12
[Vivo X70 Pro+] NeonzGamingYT:
Hey! Do you know how to go back to previous firmware just using recovery in locked bootloader?
[Vivo X70 Pro+] NextGenMagisk:
Yes, I can boot into Funtouch OS after disabling verity and verification using avbctl.

Now I will try to install LOS 18.x and see how it goes.

Update: Magisk is working on LOS 18.x arm64.
[Vivo X70 Pro+] NeonzGamingYT:
Ok the problem is right now, ur using a64 instead of arm64 🤣 thats why it doesn't boot!
[Vivo X70 Pro+] NeonzGamingYT:
Try using arm64
[Vivo X70 Pro+] NextGenMagisk:
yup, i realized that error on my part, installing LOS 18.x arm64 vanilla right now.
[Vivo X70 Pro+] NextGenMagisk:
Finally some progress, LOS 18.x arm64 booted correctly!
[Vivo X70 Pro+] NeonzGamingYT:
Good 👍
[Vivo X70 Pro+] NextGenMagisk:
Magisk 24300 Working on LOS 18.x arm64 on Vivo.

Thanks a lot for all the useful tips you shared here.

Very happy!!!!
[Vivo X70 Pro+] Pervokur:
that's good, so you will be able to use modules and zygisk like I'm
[Vivo X70 Pro+] NeonzGamingYT:
No wonder why su isnt working in Magisk 24300. Already flash gsi
[Vivo X70 Pro+] NeonzGamingYT:
No su :(
[Vivo X70 Pro+] NeonzGamingYT:
@Pervokur Hello! I really need your help. Can you at least tell me how to rollback to older security patch please! :)

Dont ignore me too :(
[Vivo X70 Pro+] Pervokur:
I don't know.
[Vivo X70 Pro+] NeonzGamingYT:
Then what is this?

https://xdaforums.com/t/vivo-x70-pro-bootloader-unlock-how-to-guide.4444989/post-86911507

Is it a tutorial for flashing old firmware?
[Vivo X70 Pro+] Pervokur:
did you unlock bootloader?
[Vivo X70 Pro+] NeonzGamingYT:
Yeah. But I need a way for users to downgrade to old security patch on locked bootloader

Recently vivo patch Brom on latest firmware mode for mediatek chipset so they can't use exploit to unlock bootloader

By downgrading, they can unlock using exploit
[Vivo X70 Pro+] Pervokur:
Inhave found another bug, but probability of flashing partitions is low https://xdaforums.com/t/how-to-become-uid-1000-system-vivo-y31-2021.4481887/
[Vivo X70 Pro+] NeonzGamingYT:
Where to get magiskboot? I tried this step and it just bootloop :( @Pervokur
[Vivo X70 Pro+] NeonzGamingYT:
ofs.rc is correct?
[Vivo X70 Pro+] Pervokur:
you're asking me where is magiskboot and then you're telling me about bootloop.

so what did you do for bootloop? lol
[Vivo X70 Pro+] mikel05:
Hi, I need a little help here. For some reason, My vivo y20 (2021) does not accept fastboot commands even after unlocking bootloader, it says device state locked. However the bootloader is already unlocked as stated in the settings app and during boot. So the only way I can flash a GSI is by modyfying super.img and flashing it with mtk flashtool. In Android 10 the GSI boots however touchscreen does not work so I suspect it has got to be soemting related to kernel and dtb. I updated to android 11 and tried again. This time the GSI does not boot at all. I think its because of verity and verification. Sadly, I don't really understand how to use avbctl tool even though it might be quite simple but there is no instructions anywhere :/

It would be of great help if someone could help me on how to use avbctl because i think that's the reason why the GSI is not booting...due to verification

I can't flash vbmeta as my fastboot doesnt work.

Thanks.
[Vivo X70 Pro+] Pervokur:
you can modify prop in recovery and enable adb, it's should be enough to write into partitions(super, boot, vbmeta etc) from adb
[Vivo X70 Pro+] mikel05:
Thanks for the reply, I will try it out.

However it is worth mentioning that there is no Twrp for my device. It is not rooted as well because the phone bootloops when boot.img is patched. This phone has been driving me nuts :/

I can flash gsi system.img through flash tool but I can’t disable verification….is there any other method to disable verification ?
[Vivo X70 Pro+] IWISHICANUNLOCK:
sir can vivo v15 pro botloader unlocked? i managed to downgrade to lowest version and i tried the unlock method and still failed
[Vivo X70 Pro+] Pervokur:
you can disable verification right from gsi with avbctl, so you need debuggable gsi like LOS, with system.prop for adb root right from the boot

also you can patch it manually with hex editor, just fill line 0x000070 - 0x00007f with ff
[Vivo X70 Pro+] Pervokur:
I don't know
[Vivo X70 Pro+] mikel05:
Thanks for the advice and taking the time to reply. For editing using hex, may I know where to put the ff. Sorry, I’m really dumb in this….

I tried but I think it’s surely wrong
[Vivo X70 Pro+] Pervokur:
just fill whole line 0x000070
[Vivo X70 Pro+] IWISHICANUNLOCK:
anyone can help me? im trying to install gsi "lineage-20.0-20240217-UNOFFICIAL-arm64_bvS.img" but it never boot and always go to fastboot both non vdklite and vdklite didnt even boot my device is vivo v15 pro.
[Vivo X70 Pro+] IWISHICANUNLOCK:
May i ask is there any other way to back to funtouch os if the system.img was erased?

now i cant boot to the gsi or funtouch os.
[Vivo X70 Pro+] endlessway:
@Pervokur Can You Help Me with installing gsi on funtouch os 11 unlocked bl and rooted with magisk ? this is my treble info screenshots Thank You.
[Touch Pro CDMA] orlandojumpoff:
shame on them, the touch pro is by far the best windows mobile phone i've used to date. i'm going to write a review now.. thanks
[Touch Pro CDMA] dansblackcat:
I think your post worked.

I wouldn't worry too much.

It's obvious that all those iPhone users are so unhappy with their purchase that they're reading reviews on other products and already looking for an upgrade.
[Touch Pro CDMA] SteveDusa:
For those who has SERO, all you need to tell the iFone fanboys is: "BEAT THAT PRICE".
[Touch Pro CDMA] patches11:
http://www.cnet.com/profile/phelony503/?tag=userReviews%3bsummaryList

THis phone would be my new wife lmao

HTC FTW
[Touch Pro CDMA] Unflushablelog:
that's hilarious
[Touch Pro CDMA] orlandojumpoff:
It's a shame that they can only rate htc devices 3 and a half stars at most. This phone has improved in multiple ways over past phones, but it still is not getting credit. I'll spread the word though.
[Touch Pro CDMA] itster2:
been spreading the word for some time now on the touch pro. it simply outclasses the iphone by leaps and bounds. the only thing that the iphone has is screen size, but i like the smaller size of my touch pro.

the iphone looks like a face shield when someone is using it.

only thing im siappointed about is smart dial.

ive gone from the xv6800 to htc pro and loving it..

i am also extremely surprised on how well sprint is working out for me because the coverage is fantastic. i had sprint in nyc and it was flawless, in syracuse according to many it's a serious issue and that information has turned out to be false. the service in syracuse is fantastic.

they dont even mention the card scanner which in my opinion is an incredible and extremely useful function on this device
[Touch Pro CDMA] sherv:
I love my Touch Pro but one thing that's missing is the organized and clever way apps are available on the iPhone...the app store is a solid centralized front for finding apps and updating them, something I feel is really lacking for WM (and POS) phones. Sure, we have freewarepocketpc and pocketgear and (barf) Handango, but how easy is it to access one of those sites quickly from your device and see if there are any updates to your installed programs?

Of course, the app store isn't a perfect idea but it's a level of organization that I wish WM had. There are some really neat apps for the iphone that I wish we had for ours :)
[Touch Pro CDMA] orlandojumpoff:
exactly! it's supposed to be the best business phone sprint has to offer... that's something that's useful in the business world and also something they should have reviewed in their vid/article. It's not in the vid, but they mentioned it by name only in page 2 of their review... Definitely should have told people more about it instead of just name dropping it.
[Touch Pro CDMA] orlandojumpoff:
doesn't sprint have a store accessible by the default PIE homepage? It's not as great but who cares... we have developer sites like xda and ppcgeeks...we get a lot of our apps for free they aren't governed by microsoft. We can also install these app right out of the box, we don't have to jailbreak our phones. Apple has too much of a strongarm on their phone, it can't be used to its full potential... people have to wait around for official fixes if their phone is acting up. We also had orb long before iPhone got it, that tells you how hard it is to get an app out for them. Do they even have access to slingbox mobile yet?

It's a great phone and all, but I'll stick with wm and my touch pro... can't beat the customization and wm community. While our phones are decked out with different interfaces, if you look at people with iPhones, they all look the same... how boring.
[Touch Pro CDMA] wihzard:
they're not in the same league

the touch pro has a keyboard, iphone is a slim and dandy device.

touch pro has more memory (even in verizon's config), more resolution, and more carriers out there, thanks to windows mobile.

it may not be as hip and iconic as the iphone but imho htc makes some quality phones and windows mobile is pretty rockin:cool:.
[Touch Pro CDMA] dthurman:
The attitude I have been seeing on my daily marketing blogs and newsletter feeds is all about the iPhone does this or that, I even replied to a statement that the iPhone will be the only mobile that does cut-n-paste, when I replied, he told me I was wrong, that ours was a very limited C-P, odd I just used it an hour ago and it worked fine.

In fact here is the post at Silicon Alley Insider:

http://www.businessinsider.com/dont-buy-a-smartphone-until-june-2009-4

The folks backing the iPhones remind me of the old Mac/PC forum wars of years ago, mine is better then yours crap.

I only wish I could get a better battery life and Sprint covered my house better ;)
[OnePlus Nord N10 5G Questions & Answers] blacksoul:
How can i stop auto updating my oneplus nord n10 5g?
[OnePlus Nord N10 5G Questions & Answers] SomeRandomGuy:
I've discussed this in several threads. You need to de-google your phone (and replace, assuming you want a "normal" phone, it with Micro-G + Aurora store and the like). It is being pushed via Google Services. If there is a way to turn it off without doing so, no one on this board has volunteered it.
[OnePlus Nord N10 5G Questions & Answers] Artesna:
If you are rooted with xposed, there is an app called UpdateLocker, if auto update apps on google play is what you mean.
[OnePlus 9] UMAR4633:
oneplus 9 can be patched on andriod 12??

diag port not open in this version i try with eng apk but not installed error

when i update device to andriod 12 then patch imei losss what reason if i downgrade to andriod 11 automatically patch with imei return ! what the problem with patch :(
[OnePlus 9] WesTD:
Only Europe versions keep IMEI after 12 updates afaik
[OnePlus 9] sunyakram:
Same here, device model is LE2110 on andriod 11,

After updating ota to andriod 12 ,my patch was gone.

Downgrading to andriod 11 automatically restored the patch .

Now I'm planning to install a rom coz I'm not satisfied with android 11 stock

Anyway ,there's already a thread about PTA patches .

You can continue here.

https://xdaforums.com/t/oneplus-9-pta-approve-related-discussion-pakistan.4454681/
[OnePlus 9] UMAR4633:
test rom which best for gaming and bugs free
[OnePlus 9] UMAR4633:
if i convert global to eu then? no any issue on imei patch andriod 12
[OnePlus 9] sunyakram:
Tried jaguar rom, reverted back to the stock.
[Google Pixel 6 Pro] westentertainer:
Hi after June update there were supposed to be at a glance notifications. One that appealed to me was the Google nest battery doorbell ,but it's nowhere be found any ideas.
[Google Pixel 6 Pro] roirraW "edor" ehT:
Nothing here either, yet. I'm sure once the feature rolls out to us, we'll automatically see it in the existing At A Glance widget on the lockscreen as shown here:

You can also long-press on the Home Screen's At A Glance widget, choose Configure, and see if eventually, a toggle appears there for this feature. Nothing there for me yet regarding this feature.
[Wear OS Q&A, Help & Troubleshooting] salwan.hemant:
Hello All,

I am developing a watchface in Android studio in java targeting Android 12.

I need to add complications data on my watchface. I want that complication should be set to a default system complication without requiring user to configure it.

I also found it challenging to handle double click/touch gesture on the complications in wear os.

Is there any good and complete tutorial/guide/sample for adding complications on wear os watchfaces in java?

I found one sample on the android developer website but it is not sufficient.

Any help would be much appreciated.

Thanks all.
[Wear OS Q&A, Help & Troubleshooting] giullianno:
Teste
[Wear OS Q&A, Help & Troubleshooting] a1291762:
I'm not sure that is even possible? The whole complication system gets data from the system. Your watch face only gets to receive the data the user has allowed via the system dialog your app invokes.

I made a watch face, but ended up not using the system's support for drawing complications, rather I grabbed the data and did the drawing myself. That also made it trivial to handle clicking, since there isn't anything else to capture events.

The example I link to below suggests you can just not pass tap events to the drawable (if it's not doing what you want). I'm going to guess the standard thing is just to invoke the pending intent, which you can do yourself.

I found this project to be useful...

GitHub - android/wear-os-samples: Multiple samples showing best practices in app and watch face development on Wear OS.

Multiple samples showing best practices in app and watch face development on Wear OS. - android/wear-os-samples

github.com

But since I was targeting an older watch (stuck on Android 8) and using Java, I had to go back to a much older version of the code.

git checkout 5c2e340
[General Questions and Answers] djbosanac:
Hi all,

I bought two Xiaomi Poco devices.

1x. Poco F3 8GB / 256GB in White for my self €230,-.

1x. Poco X3 Pro 8GB / 256GB in black for my wife €140,-

Both of them are Second Hand, with the fluctuation right now ist not easy.

For me the unlock is still 72h remaining. And for my wifes X3 pro, i did IT Yesterday and so therefore 160H remaining.

In that that time, i have time to think about what Software (custom Rom) to Install for my device as also for my wife.

We are living in Europe (Germany) so Banking Apps we Need to use.

What are great Roms?

- when i Type in Google searchengine "best custom Rom for Xiaomi"

I got a lot of those Websites Promoted by Google etc.

But in Most cases:

- Lineageos

- Pixelexperience

- Crdroid

- Paradroid Rom.

Are the biggest ones.

1. For me, i Like the xiaomi.eu, because it haves in my opinio the best intergrated File Explorer build in. And ist maintained very wel. But ITs MIUI based, Not loving that.

2. The File Explorer of PE what IS uploading all Files to the Cloud Not the best one for me.

3. Lineageos is Default, Not that advanced as the Xiaomi one. I know that Xiaomi haves the Applikations available in Playstore. But IT never works as when IT IS Intergrated in to the system.

Crdroid and Paradroid never Used those.

Maybe to Check as Well?

For my wife, the PE will BE the best solution. With Gapps included.
[General Questions and Answers] djbosanac:
Just a extra question.

Does PE Supports "dual Apps" because that is a Feature we use on a Frequent Basic at the Moment