yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] roirraW "edor" ehT:
Hi @4qx.

For devices that have OEM Unlocking grayed out (so you can't unlock the bootloader), there can never be a single solution that would work for every device. Different device manufacturers have their own ideas about security and contain proprietory code specific to that manufacturer, and it's further refined as new models from the same manufacturer come out.

Sometimes a device-specific vulnerability is found and can be taken advantage of to gain root. Sometimes the manufacturer makes a very specific but easy-to-find mistake on one particular version of Android on a single device that lets users officially unlock their bootloader, but that mistake is corrected with the next update for the device.

Even though you might not hear of someone working to root particular devices, it doesn't mean that no one is trying. It's common and expected that attempts that involve vulnerabilities would be kept as secret as possible so that a manufacturer can't patch them before developers can take advantage of what they found.

So the combination of different manufacturers, different models, different variations of models, different Android versions, and different manufacturer or device-specific security makes it near impossible to find a way to root all devices without exception.

Lastly, the easiest and universal method to start the path to being rooted is to have a device that lets you unlock the bootloader officially - preferably with no penalties like some manufacturers do. Anyone who buys devices that you can unlock the bootloader officially probably has no interest in finding a way to root other ways since it's so easy to do with an unlocked bootloader.

Edit: Also, regarding "free for everyone", it takes developers time to achieve what they do, so finding a way to root a device usually isn't a way to make money to live, so they do what they can when they can.
[General Questions and Answers] alecxs:
give it a try

https://github.com/bkerler/edl#for-generic-unlocking
[General Questions and Answers] xXx yYy:
If you're citizien of EU and bought an Android device in the territory of EU you never will have troubles with unlocking a phone's bootloader and rooting phone's Android.
[General Questions and Answers] alecxs:
Huawei will stop providing bootloader unlocking for all new devices

Earlier this month, we wrote about Huawei and Honor users not being unable to access the page for generating bootloader unlock codes. Now, they will stop providing unlock codes completely.

www.xda-developers.com
[General Questions and Answers] xXx yYy:
You shouldn't post here if you've NO knowledge about current legal situation in EU.
[General Questions and Answers] alecxs:
I am from germany too and can tell you Vodafone still sells Huawei devices. There are other brands with non-unlockable bootloader (Google, Samsung, Vivo, Oppo). OEMs tend to lock down their devices entirely for reason
[General Questions and Answers] 4qx:
Unless I misinterpret what it says, it seems to be for enabling OEM unlocking. I was referring to unlocking a hardlocked bootloader.
[General Questions and Answers] alecxs:
Sorry maybe I didn't get you right. kindly share definition / example or at least descripe what you mean with "hardlocked bootloader"?
[General Questions and Answers] 4qx:
Was talking about something different, though I appreciate the info.

@aIecxs check this out. Some Xperia models, mostly Japanese ones, have unlockable OEM but are not allowed to have their bootloader unlocked.
[General Questions and Answers] alecxs:
Fairly enough there exist quit few devices where manufacturer provides official unlock code, but carrier locked down bootloader by ignoring, disabling or hiding OEM unlock toggle or other device specific methods. I feel "hardlocked bootloader" is a good way to differ from "non-unlockable bootloader" where bootloader is locked from manufacturer entirely (like Huawei)

If you can have it unlocked for £23 obviously XZ1C is unlockable, so if you can find sony leaked prog_ufs_firehose_8998_ddr.elf I would give it a try at least. Björn Kerler is a leading reverse engineer in scene and did good job to oppo rooting.

(you can check /dev/block/bootdevice/by-name/* if devinfo or config exist and decide if it's worth a try)
[Redmi Note 9 Questions & Answers] coruja11:
I have my Redmi Note 9 MIUI 12.5.3 A11 and i installed Orange Fox recovery project through fastboot using a youtube tutorial, but after rebooting when i tried to enter on recovery mode or fastboot it would flash green at the top and enter in a black screen. If i hold power off it comes back in a bootloop. Please help.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] shantanusarkar:
View attachment 6068730

LineageOS is a free, community built, aftermarket firmware distribution of Android 13, which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Instructions :

https://wiki.lineageos.org/devices/guacamoleb

Downloads :

https://download.lineageos.org/guacamoleb (LineageOS 21)

https://download.lineage.microg.org/guacamoleb (LineageOS 21 microG)

Note: The microG version of LineageOS gets one monthly update compared to weekly updates for normal version of LineageOS.

GPL compliance :

https://github.com/LineageOS/android_kernel_oneplus_sm8150

SafetyNet

To pass SafetyNet, you guys can follow this guide. It seems to be working fine.

Reporting Bugs

DO NOT Report bugs if you're running a custom kernel or you installed Xposed

Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)

If it is a random reboot, grab /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)

If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log

Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

What is your--
LineageOS version:
LineageOS Download url:
Gapps version:

Did you--
wipe:
restore with titanium backup:
reboot after having the issue:

Are you using--
a task killer:
a non-stock kernel:
other modifications:

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

Donation links:

PayPal

UPI: sarkar-shantanu@paytm
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] Yinan Shaw:
so...you are going to take over the lineageos for op7?
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] shantanusarkar:
Yes
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] mirpioneer10:
Thank you, I've just bought this phone yesterday and was bummed out because there was no lineage os version for it.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] Sy1ar:
Thanks for the rom, can I ask what's the difference between official and unofficial apart from the keys the builds are signed with.

Thanks
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] shantanusarkar:
OTAs won't be available in the device. You have to manually update each build by adb sideload.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] mf_417:
anyone tested it? what is broken?
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] chirag2718:
manu commits are merged on lineage gerrit today... lets wait for next build
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] 111jie111:
Can anyone tell me about which Gapp to flash? I tried MindTheGapp but the outcome is making the whole system buggy.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] shantanusarkar:
Did you format after flashing Gapps? If not, the you should.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] daSayeam:
If I update through adb sideload, do I need to flash gapps too?
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] mf_417:
well...

has someone tested this new build?

I want to know major problems before flashing it, specially because it requires clean flash
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] shantanusarkar:
I am using it myself and I don't see any issue
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] mf_417:
good, I also flashed it (clean) and it is fine
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] luws:
yeah, i was testing it, the rom is really beautiful in my opinion, but then i bootlooped when i flashed gapps... what gapps are you guys using?

edit: ive tried flamegapps, ill try mindthegapps

Edit2: sorry the ROM didnt bootloop but the gapps just dont stick to it ...
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] mf_417:
do not use gapps, just Fake Gcam Service Provider (from microg f-droid repo), and will delete that soon, because stock camera app is fine.

yes! the rom is so beautiful
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] Halacoglu:
Adaptive brightness doesn't work. No issues other than that. Has Widevine L1. Thank you.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] shantanusarkar:
C'mon man. Look for it at least. Adaptive brightness is off by default. Go to Settings > Display > Adaptive Brightness and ON it. It works. I, myself use the ROM.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] Halacoglu:
Do you think I didn't check it before reporting? Tried it of course, toggled off/on but didn't work.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] shantanusarkar:
I can assure you, it works without any issues
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] yahya69:
Thanks! What issues are you facing? MicroG isn't actually GApps, but a replacement. So if you want to use the Google play store and related services, they presumably don't support it, do they?

BTW, I am currently using LineageOS recovery, following the instructions. I cannot install twrp, following their instructions. adb boot twrp.img just hangs and when I issued the command a second time, android became unbootable and I had to reflash the entire system.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] ttenroK:
No need to get impolite. I wrote, that I already tried what you suggested. But the local upgrade did not work. It gave me the error I wrote. I pullted the OTA via the oxygen updater and tried the local update, as I wrote.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] xtzy:
ttenroK

Global A12

If you have EU or India, then tell, then I give a link to the appropriate firmware.

Appending.

From myself I can say that when I installed on my phone 12 android to switch from it to LineageOS, I updated 12 android using Oxygen Updater to android for the Indian region in order to have built-in call recording. This feature will remain in lineage, When switching from Global A12 there will be no call recording, so it is worth everyone to think from what region of the android switch to LineageOS.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] xtzy:
ttenroK

Global A12

Download this firmware and upgrade 11 android to 12 with local update. Then install Oxygen Updater and upgrade to the latest version of 12 android. Downloaded latest 12 android firmware does not want to be installed due to its incomplete size. When switching to the next version of the android, you need full firmware size.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] RoG khenwaY:
Bro dont flash twrp 💀 use Lineage Os Recovery

Or else u will face some major problems

I have done lots n lots of mistakes and now i know what will happen if u flash wrong zips or image files or use dirty flash techniques so i recommend u follow instructions properly

Use Lineageos 20 recovery and other files which were given there 👍 telling from my EXPERIENCE
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] yahya69:
I have been using TWRP for years and years, and it always saved me well. I can live without it but I do miss it.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] RoG khenwaY:
can anyone tell me how to clean flash lineage os from Lineage os ?

or i have to use this Veryyyyyyyyyy long procedure of

using MSM tool

then updating my phone to A11

then unlocking bootloader

then setting up the phone to use it

then updating again

then flashing recovery

then flashing rom

can anyone has a shot method to do this ?????

plzz help
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] ttenroK:
Thank you very much for the download link and the detailed instructions. I'll try to do that procedure today.

I'm in the EU but I flashed the global Firmware last time, after I broke the firmware while trying to upgrade to A12. So thanks for the offer, but the one you gave me should be sufficient.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] ttenroK:
Interestingly, the android 11 version I flashed via MSM had a newer kernel version (4.14.190) than Android 12 I flashed via the given .zip (4.14.180).

What is the kernel version you are on?
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] xtzy:
I did all these installations back in January,10. I had install 12 android, he installed at the time without problems, what downloaded while searching for updates, I did not pay attention. At the time I had firmware Flamingo, android 13, I took it down and switched to Lineage 20.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] yahya69:
If you have twrp installed, you should be able to wipe all partitions (under advanced wipe). The you should have a clean slate.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] Johnny_LAmpAz:
Has anyone experienced problems with NFC comunication between the phone and smart cards like ID? I can pay with Google Pay no issues but I've got problems with this system of authentication which requires the use of ID card (with chip inside). (fyi I'm trying to use CieID italian system)

On my OP3T (still with LOS and Magisk) it works perfectly. Maybe its an hardware problem? Idk, I just wanted to hear if anyone else got similar problems. Idk either if it worked with original firmware...

Is there a way to debug this behaviour?
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] hyx0329:
As far as I can tell, LOS 20 changed it's NFC behavior in the last 2 months. I was able to use Yubikey/Canokey as a visiting card by utilizing the NDEF feature, without losing other features(TOTP, PGP, U2F). But now, LOS will take over if the NDEF data contains only one text/vcard record. That makes other features unusable. Now I have to erase/disable the NDEF or write application launch info in NDEF to work around it.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] hyx0329:
Possible bug: no SMS notification for secondary users

LineageOS version: 20-20230410-NIGHTLY-guacamoleb lineage_guacamoleb-userdebug 13 TQ2A.230305.008.C1 2ff7f535b7

LineageOS Download url: https://download.lineageos.org/devices/guacamoleb/builds

Gapps version: No Gapps

wipe: NO

restore with titanium backup: NO

reboot after having the issue: Complex, see below

a task killer: NO

a non-stock kernel: NO

other modifications: Magisk installed(zygisk)

Additional information:

- No issue for primary user.

- Phone calls & SMS allowed for secondary user with system settings.

- Phone calls have notifications.

- Secondary user can read message from the message app.

- A third party sms app doesn't have the notification either.

- A third party sms on primary user works correctly.

- Disabling system message app didn't improve the situation.

- Tried "adb shell dumpsys deviceidle whitelist +com.android.messaging" but not working.

- The notifications may appear when the first time switch to the secondary user after a reboot. The notifications are created by system message app(com.android.messaging), rather than secondary user's prefered message app.

- My active secondary user's id is 12, and it's not a work profile.

- I received the sms around 11:55 in the logcat provided.

- I'm experiencing this issue since I started using the secondary user as my daily drive.

- I will provide more logs under different situations if requested.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] ghost108:
How about vibration intensity? Does the motor make noice.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] rglebov81:
Thank you very much for the ROM!

I wanted to ask for the assistance to understand why this ROM seems not to be compatible with Magisk 26.1. All of the installation attempts were not successful.

What is the reason for this? Is LineageOS 20 for guacamoleb preventing Magisk installation or is not compatible with it? If so, how can it be changed?
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] xtzy:
Why is that incompatible?

All compatible, try to make hard reset to fix OS files corrupted by some of your actions.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] rglebov81:
nice for you, but hard reset is not an option.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] killer1850:
Hello, has battery improved in recent updates? (past 2 months)
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] dudas89:
Hello,

I want to report that after the 20230508 update (included), some bluetooth devices stop being detected: Xiaomi MiBand 5, for example.

When scanning, the phone does not find it anymore and I had it paired already. The only way I can get connection to the band is by Xiaomi's app directly and because I know its MAC address.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] killer1850:
Guys I have a question... I installed lineage os in February, and never updated. Can I safely update to the latest update via OTA or I have to delete the previous and then install the new one?
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] xtzy:
Yes, you can upgrade to the latest firmware, this is even written in the instructions.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] killer1850:
Should I download and install directly the latest one or one by one?
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] xtzy:
Only the last update, tomorrow will come out.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] xtzy:
After today’s update 2023.05.22, the fingerprint unlock function is gone. It’s not good, or rather, very bad.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] xtzy:
Some fantasy! After half a day recovered myself, the customization of the fingerprint appeared.

And the fingerprint itself is back on the lock screen.

Maybe it helped restart the modules magisk?
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] varunpilankar:
Compatible pico gapps for LOS 20?
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] xtzy:
pico gapps, I think, only up to android version 12.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] lyulang:
What's the procedure to install microG? In the first post link there are microG-guacamoleb.zip and microG-guacamoleb-boot.img, do you have to flash them both?
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] xtzy:
Do you know what a hash sum is? If you don’t know, download and flash one file that is zip.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] lyulang:
I know what a hash is lol. Just wasn't sure how to install microG since it's the first time I go without gapps.

Thanks for your answer.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] Nithin_Raj:
Does anyone know where the option to enable pocket mode in settings is? The phone keeps registering touches when it's locked and in my pocket. Accidentally called the emergency numbers several times while the phone was in my pocket!
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] RainGater:
EDIT: CLEAN flashed to the latest LineageOS using the following steps:

Pulled the dtbo.img, vbmeta.img, boot.img from https://download.lineageos.org/devices/guacamoleb/builds

1. adb reboot bootloader

2. fastboot flash dtbo dtbo.img

3. fastboot flash vbmeta vbmeta.img

4. fastboot flash boot boot.img

5. Reboot to Recovery (LineageOS)

6. Factory Reset/Format data

7. adb sideload lineage-20.0-20230605-nightly-guacamoleb-signed.zip
- https://download.lineageos.org/devices/guacamoleb/builds

8. Reboot to Recovery

9. adb sideload MindTheGapps-13.0.0-arm64-20230408_162909.zip
- https://androidfilehost.com/?w=files&flid=322935&sort_by=date&sort_dir=DESC

10. adb sideload Magisk-26.1(26100).zip

11. Reboot system
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] xtzy:
My God! I’ve been using LOS_20 for about six months and just noticed that I missed installing two files: dtbo.img and vbmeta.img. Does anyone know if this could be the cause of the phone glitches? Sometimes after the phone reboots, it stops seeing the SIM card, or disappears unlocking the phone on the fingerprint. I have to reboot my phone again to fix these problems. And is it now possible to just flash these files to execute the paragraph of the instruction or is it useless?
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] iano31254:
i have a oneplus 7 gm 1900 made in china. I wanted to unlock by following the guide, but I can't. Unable to downgrade to android 11, unable to unlock bootloader. Has anyone succeeded? Is there a guide for this model release? thanks to whoever will give me an answer
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] xtzy:
https://xdaforums.com/t/op7-oos-10-...l-to-restore-your-device-to-oxygenos.3954325/

This method rolls back the firmware to 10.3.8, then unlock the bootloader. Next you can update the firmware again with a local update to 11 android. Note that all data on the phone will be erased.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] dodii42:
Hi, is there any way to access the Oneplus Engineer Mode still when having flashed Lineage OS? Or is this menu completely gone? Or is there an equivalent testing menu on Lineage OS?
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] Tejas_Ashok:
Why is there no option to enable location icon in the status bar? I usually prefer keeping gps off and only using it when needed. But I cannot see if the location services are running in the status bar and I do not find the option to enable it from the settings too.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] GMvaring:
Sup, I got an issue. so I just flash lineageos20 and I was testing it, all was good until I tried to test the microphone. I first tried it with recording(microphone + camera).. worked fine so I tried to run a voice recorder it didn't pick up my voice. I thought that the microphone problem were fixed, I am running oneplus 7(INDIAN MODEL) if you know a fix to thix, let me know thanks in advance
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] shantanusarkar:
Did you use Google's recoder app?
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] GMvaring:
No I used simple voice recorder
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] dipaklohar97:
Hello everyone , while installing Lineage 20 i gost stuck on following error on OnePlus 7.

Can anyone please help in fixing this.
[OnePlus 7 ROMs, Kernels, Recoveries, & Other Devel] polyesterfield:
Hello 👋 I just installed lineageOS 20 from stock. Never felt better. One problem though: the camera app and even google camera from the play store take bad photos (12MP max. No 48MP it seems)... why would that be? What can I do about that?

It doesn't seem like many other people are having this problem here anymore but I have seen this as an issue with other lineage builds.

Did I go wrong somewhere? Did I take a wrong turn at albuquerque? I had to downgrade to Android 11, unlock, upgrade back to 12 and then install lineage. What an ordeal.