yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] SonOfOdinv3:
@SonOfOdinv3 Thread closed as duplicate of

https://xdaforums.com/t/latest-twrp-3-5-2-broken-with-lineageos-18-1-galaxy-s10-exynos.4341443/

that I've also moved from the S10+ developement section to S10+ Q&A as the thread didn't qualify for the first section.

Please review the XDA Forum Rules with special emphasis on rule no. 5 and post only ONCE! Check also rule no. 15 and the sticked guidance where to post what!

Regards

Oswald Boelcke

Senior Moderator

View attachment 5422575

Here's what I found:

Specs:

Phone: beyond2lte - Galaxy S10+ Exynos

OS: LineageOS 18.1

Recovery; TWRP 3.5.2 (Latest)

Rooting Procedure:

Download stock firmware via samdownloader

Patch firmware with Magisk

Flash patched firmware BL, AP(patched), CP, CSC via Odin

Download latest TWRP, patch it with Magisk and flash via Odin

Boot TWRP Recovery, wipe everything, flash Lineage 18.1 & Magisk

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

Error reason:

LineageOS 18.1 encrypts /data and TWRP is unable to decrypt it.

Even when choosing no locking mechanism (Pin, Swipe etc.) decryption still fails.

Error symptoms:

Backup/Restore via TWRP is broken

Constant warning message "could not open /data permission denied"

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

Observation:

Other distros including the stock firmware do not cause this error with TWRP 3.5.2

Only LineageOS 18.1 appears to be culprit with it's new type of encryption

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

Fix:

Format /data (which kills your ability to backup with TWRP)

Use Lineage 17 or any other distro where decryption via unlock mechanism still works with TWRP

For comparison, this is what the log is supposed to look like when /data decryption has been successful:
[Samsung Galaxy S10+ Questions & Answers] SonOfOdinv3:
View attachment 5422577

This's my error message in TWRP:

It appears everywhere, while flashing, wiping or trying to backup/restore.

OS: LineageOS 18.1

Recovery; TWRP 3.5.2 (Latest)

Rooted with Magisk and flashed pre-rooted TWRP image

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

Error reason:

LineageOS 18.1 encrypts /data in a way that prevents TWRP from decrypting it.

Even when choosing no locking mechanism (Pin, Swipe etc.) decryption still fails.

Error symptoms:

Backup/Restore via TWRP is not working due to /data error

Constant warning message "could not open /data permission denied"

Lineage Recovery has the exact same problem, it actually doesn't even display the internal storage due to its inability to decrypt it.

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

How I've "fixed" it:

Formatting /data stops the error messages, but that's just because the encryption is removed by wiping the entire drive.

This also messes up the ability to create backups in TWRP.

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

For comparison, this is what the log is supposed to look like when /data decryption has been successful:
[Samsung Galaxy S10+ Questions & Answers] Registrirajnethr:
Just found out that can't backup rom...

OS: LineageOS 18.1

Recovery; TWRP 3.5.2 (Latest)

Rooted with Magisk and flashed pre-rooted TWRP image

...setup is just like yours.

If you have found out some better solution than format, please share link.

Thank you!
[ASUS ZenFone 8] Adaoh:
Hey! I was wondering if I should unlock my bootloader and maybe try flashing roms kernels and basically playing with my phone, because I saw some people complaining that this might affect the warranty. However, I am in Canada, where the phone is not officially sold, so should I just unlock it anyways because getting warranty coverage would already be close to impossible?

Or do you think I could get warranty coverage/service if the phone bricks itself?

I am interested in trying LineageOS but I am scared that if my phone bricks itself it will make it even harder to get it repaired.

Thanks!
[ASUS ZenFone 8] blackhawk:
If it's fulfilling its mission and you like it... leave it be.

Little to gain, everything to to lose.
[ASUS ZenFone 8] Adaoh:
Yeah I think I'll end up unlocking it, as I don't think I would have warranty coverage anyway and I like the idea of a de-googled phone...
[ASUS ZenFone 8] blackhawk:
Try turning disabling Google play Services for starters...

Personally I'm not going to ri$k bricking my devices. Or incur the massive investment of time it takes to completely rebuild a functional ecosystem for a new OS. Especially when its fulfilling its mission... that is its purpose for me.

Meh, limited distribution means limited support.
[ASUS ZenFone 8] TikiThePug:
I'm in Canada too. I unlocked and flashed Lineage.. so far so good.
[ASUS ZenFone 8] Adaoh:
Hows the battery compared to stock! Also where did you get your phone from? I got mine from mi4canada
[ASUS ZenFone 8] TikiThePug:
I got it second hand, but original owner said it was from there also. Battery for me is slightly better than stock. I always had lousy battery on stock since the beginning, not sure why.
[ASUS ZenFone 8] Blumi511:
I am sticking with the stock is but I will use lineage later. I mean, it is supposed to get only 2 years of updates.
[ASUS ZenFone 8] Adaoh:
Fair point, and after 2 years the warranty will br expired bo matter what, so might as well unlock it to get some extra life
[ASUS ZenFone 8] dron39:
Nice. In Russia there are only 1 year of official warranty .=)
[ASUS ZenFone 8] Adaoh:
Oh i just meant that after 2 years every warranty will be expired including the extended warranties
[Touch Pro, Fuze General] adonker:
Hi all,.. (excuse me for my bad English)

Recently I extended my NL T-Mobile contract, and bought a MDA Vario IV.

I synchronized my address book with my outlook. When some one calls me, and in the display the number is shown with a land number, Like +31555555555555, and the number in my outlook is 06555555555, it doesn't recordnise the outook contact. It then will only show the message caller unknown.

Does anyone has the same problem?

Regards

A.
[Touch Pro, Fuze General] joeltje:
Install .Net 3.5, Install Advance config, and set the number recognition to 8 instead of 11. That fixes it.

Next time please search before asking, as this has been covered several times already...
[Android Q&A, Help & Troubleshooting] Null Pointer Exception:
I have a Mi 10S where I really want to have an AOSP-like ROM installed. However, this model was only released in China so there isn't a corresponding board here at XDA where I can find some decent ones off the shelf. I am personally familiar with programming so I think it would be a good idea to port one myself. I choose Pixel Experience because it's popular and it has quite some documentation.

To my knowledge to port a ROM I need both a base ROM and the source code for the new ROM. I now have in hand a fastboot image of Mi 10S's official MIUI. Furthermore, Xiaomi seems to be open-sourcing its kernel source code and device tree (which I suppose is good news?) On the Pixel Experience end, I follow the guide on their website and cloned and initialized their repo. It seems that all I need then is to create a device configuration for PE's build system, but I don't know where to start.

I do know that PE has a port for Mi 11X (alioth), which uses the same CPU as my phone. Interestingly both models seem also to be sharing the same device tree and kernel (in the same branch on Xiaomi's github repo). I suppose then I can copy Mi 11X's device configuration for PE and tinker with it a bit. However, the structure of Pixel Experience's device configuration doesn't really resemble the device tree I see on Xiaomi's website (I suppose either of them is "non-standard"?), so I am stuck not doing what to do next. Any suggestions?
[Android Q&A, Help & Troubleshooting] LR7875:
Well did you tried a generic system image

Generic system images | Android Open Source Project

source.android.com
[Android Q&A, Help & Troubleshooting] JChanMe:
I have the same problem. I don't know where to begin after I created build environment as per Pixel Experience build tutorial.

Anyone can shed some light?
[Android Q&A, Help & Troubleshooting] mrtim2087:
I have a version shared by the Chinese. However, it has a fingerprint error
[Samsung Galaxy A6 Questions & Answers] android bot12:
Please tell me how to root sm-a605f (android10 one ui 2.0) and the necessary files.
[Lenovo P11] Luffyboyd:
Noway
[MX Player] dhruvdave:
There is a mistake in the Subtitle pop up menu. -Tap on subtitle icon -Select Online Subtitles There is a mistake, instead of Subtitle, Stereo Mode is written.Using mx player 1.40.3
[MX Player] MXPlayer:
Thanks for bringing this to our notice.

We have shared this with our relevant team for further review and necessary action.
[MX Player] HBP87:
I am using MX Player Pro 1.42.13 &

it's still not fixed.
[MX Player] dhruvdave:
There are other bugs also like sometimes volume bar goes on to notch screen
[General Questions and Answers] armandrix:
Greetings!

Is there any way to root this device?

It's with android 11 LTE_C01091.11_NE_S42_1.010.00

Magisk need a boot.img but I can't find it...

Tx in advance
[General Questions and Answers] armandrix:
Hey Folks!

I got into trouble and need serious help with my cat s42, android 11.

I had looking for ways to root that device and find few articles about it, all of them saying needed to unlock bootloader. I did it from my linux box and adb/fastboot. What I don't knew it that it's not reversible, I cannot lock it again. The warning said that if proceed, I will need to reinstall the OS.

I really need root privileges once it's full of feature creep but now I'm trapped with magisk (v 23010) and latest kingoroot don't working with the device. It's bootloader is unlocked and device have some instabilities, catterpillar do not provide stock rom or any assistance in the case (shame on it).

So, what can I do? Can anybody give me directions of some procedure that work here? Lost my phone??

Thanks in advance!!!
[General Questions and Answers] mstrnemo:
Oke so you have unlocked the bootlaoder then maybe u could skip the rooting for now and flash a gsi(generic rom) using adb/fastboot ?
[General Questions and Answers] armandrix:
That would be great!! Can you recommend some that will fit it? I'm very newbie in android stuff, only have some knowledge in linux...

Thanks
[General Questions and Answers] mstrnemo:
Sorry for the late reply happy new year!

When you are going to flash a gsi for the firstime on a device always flash the gsi by phh treble because all other gsi are based on his.

flash that then see if everything works once you have done that look for a other gsi that u might like there arent many that get updated reguarly but i believe linage os does get updated regurally best try that one.

so flash a gsi and then right after magisk in twrp in your case that is not going to work because you dont have a custom recovery so you are going to be needing adb fastboot.

Didnt you ask this on a another forum called highonandroid ?
[General Questions and Answers] armandrix:
Thank you mstrnemo and Happy 22!

No, I didn't ask other forums, just searching to something to flash that device...

But you give me some clues to do that, I'll read about treble. I need phone, camera, and gps working and have to see it before flashing, that's the point.
[General Questions and Answers] mstrnemo:
Sorry if im not more helpfull but my knowledge of flashing a gsi is limited i only succesfully did it once.

in your case with no development for your device gsi is really your only option.

Edit: good luck !!! if you do end up doing it let me know i am curious about the results.
[General Questions and Answers] armandrix:
You gave me new directions to think and the better way I have until now... Maybe I'll give a try to Lineage once it's have solid development and is doing great in my xperia xz...

I'll post good news here..

tx
[General Questions and Answers] mstrnemo:
Good luck
[General Questions and Answers] AlaskaLinuxUser:
I know this is a really old thread, but a Google/DDG search will lead you right here if you are looking to install a GSI on a CAT S42G/H+.

One might wonder why it matters, but with AT&T locking out a lot of phones with a whitelist of approved models, this one is on there, and if you are like me, you might want a rugged phone, which are few and far between on their list.

I sucessfully flashed a GSI to this phone after several failed attempts. That said, I will include what I did to help the next guy:

1. Unlock the bootloader:

- Go to settings, about phone, click build 10 times to enable developer mode.

- In developer mode, toggle OEM unlock.

- power off, hold power and vol+, choose fastboot.

- Use fastboot to unlock: 'fastboot flashing unlock' , if that worked, it will ask you to press the volume key to confirm. Reboot to system.

2. Flash a patched vbmeta, you can get these anywhere, but here is one:

995.09 MB folder on MEGA

4 files

mega.nz

Note: The only thing you need from this Okitel phone folder is the patched vbmeta. It has the same SoC.

- power off, hold power and vol+, choose fastboot.

- Use fastboot to flash it with: 'fastboot flash vbmeta ./patched_vbmeta.img' and it will say something like flashing vbmeta_a.

- Reboot into recovery.

3. While in recovery, if it says "no command", press power and vol+ once quickly to bring up the menu. This may take several times, as I found it was a timing thing. With the menu present, choose to enter fastboot. This is fastbootd, which is in userspace and not the same as the usual fastboot. This has access to the super partition. You will need the latest fastboot tool.

./fastboot erase userdata

./fastboot flash system ../system-roar-arm32_binder64-ab-vndklite-vanilla.img

And then on the screen scroll to reboot to system, and press power.

It will give you an "orange" warning about your phone being untrustworthy and show the CAT logo for a long long time. Then it will show the Android AOSP logo and proceed to boot.

So far, everything works. Have not tested VoLTE, because in Podunk Alaska, we still have 3g towers.

I used this image:

https://github.com/phhusson/treble_experimentations/releases/download/v300.m/system-roar-arm32_binder64-ab-vndklite-vanilla.img.xz

You should be able to use any arm32, binder 64, ab, vndklite GSI. Non vndklite GSI's did not work for me....

Hopefully that helps the next guy.

-Alaskalinuxuser
[Xiaomi Mi A3 Questions & Answers] L1p1c1:
Anyone that can port any of these roms :

CalyxOS

calyxos.org

GrapheneOS: the private and secure mobile OS

GrapheneOS is a security and privacy focused mobile OS with Android app compatibility.

grapheneos.org

@Royal_Turd @Hemant Sachdeva @xZeeshan @Mahmoud Suleiman @Magicxavi @tmgallage @H3M3L @Vishalcj17
[Sony Xperia 5 II Questions & Answers] Aertus:
Which is better if given the option and you live in the USA? I know if you buy the international version you get no warranty but i also hear the quality is higher than the US version. And in the past the US version would come with no working FP scanner.
[Sony Xperia 5 II Questions & Answers] PPGX5II:
Depends upon your Carrier, even if you don't care about warranty US model is better to use in US, specially on TMobile. It supports VoLTE calling. WiFi calling doesn't work though and it won't be working in international model too.

Fingure print scanner works on newer models.

In International model you may get 5G but not sure if US supported bands are available in 5II.

US model supports 4G and no 5G.
[Xiaomi Poco X3 Pro] Bisaalz:
View attachment 5422615
[Xiaomi Poco X3 Pro] Bisaalz:
Just purchased the brand new phone View attachment 5422617the black strip is wearing off while cleaning.
[Xiaomi Poco X3 Pro] Bisaalz:
After some research i found this is just a screen protecter side black border lol 🤣🤣😂😂
[Xiaomi Poco X3 Pro] maekribas:
a great way to learn stuffs lol
[Google Pixel 2 XL Questions & Answers] Dip Air:
Phone stuck on twrp logo
[Google Pixel 2 XL Questions & Answers] xunholyx:
Flash the stock recovery is fastboot, then fastboot boot TWRP instead of installing it
[Google Pixel 2 XL Questions & Answers] Dip Air:
I fixed it by flashing Nippon 12 gsi ROM . Booted into twrp, then pushed the dot os. Thx for for ur reply.
[Sony Xperia 1 III] tiemgomviet:
I update my phone Sony 1 III SO-51B DOCOMO JAPAN using xperia companion and fail

Pls help to to find new rom Sony 1 III SO-51B DOCOMO JAPAN and flash it. Thanks all
[Touch Diamond, MDA Compact IV Themes and Apps] doinbox:
Hello

Just wanted to let you know after viewing apps and games people have made i have took it upon myself to start learning c++. I hope i will be able to provide you with some cool apps and games in the near future. I am a fast learner when it comes to things like this so there might not be a long wait.

Anyway i just posted this message just to say to the other downloaders if they have spare time, get learning too.

Thanks for all your free software.
[Touch Diamond, MDA Compact IV Themes and Apps] WhiteCell:
Well not bad idea.

Where did u start ?

Some links maybe ?
[Touch Diamond, MDA Compact IV Themes and Apps] doinbox:
Visit www.freeprogrammingresources.com its the best for beginners
[Touch Diamond, MDA Compact IV Themes and Apps] mikehulme1983:
I was also considering this I have a city & guilds in c++ but It was quite some time ago and I cant remember much but I know I could pick it up again very quickly.its just finding the time.

A question for developers what sort of depth do you need to goto in c++ I got to level 3 with the city & guilds
[Touch Diamond, MDA Compact IV Themes and Apps] GuestK00213:
why not learning c#?

i think it's easyer and nicer ^^
[Touch Diamond, MDA Compact IV Themes and Apps] doinbox:
whats the difference
[Touch Diamond, MDA Compact IV Themes and Apps] GuestK00213:
in my opinion, c# is smarter. you need lees code for the same thinks (for Windows, Web Applikations or Windows Mobile Applikations).

It's easy to learn.
[Touch Diamond, MDA Compact IV Themes and Apps] Nilfik:
:) Hi !

If you really want to learn programming, I can only recommend you "cygwin" compiler and "eclipse" as a work environment. Both are free and both are available for Linux and for Windows!

There are many sites out there which offer alooot beginner tutorials hello world etc :)! But honestly - go to the next library and buy a C++ beginner book. You will definitely have to read a lot to understand what your actually are doing. Just by copying tutorial programs you will never learn whats behind it or be able to create your own application. I once programmed the SAME cd achieving tool 3 times in a row, because after finishing it first time it was so bloated, that when my Professor looked at it and asked me about sense of some passage there i had to answer "I dunno but after playing long enough with it, it suddenly worked :D". It's mostly about doing the same stuff again and again until you really understand your mistakes. Or until your lucky like i was sometimes :p

I can't advice you some good book cause those i found useful are all German. Look for a thin one for the beginning, read some passages and take the book which feels most comfortable and easy to you!

My personal advice, don't take it as to easy. You will definitely have to invest a lot of time, but if u don't give up you sure can do it!

Here some links:

http://www.cygwin.com/

http://www.eclipse.org/

Luckily everything is for free and no tool will make a better programmer out of you. My first Programm i ever wrote was created in windows editor and compiled in command prompt.
[Touch Diamond, MDA Compact IV Themes and Apps] doinbox:
Thanks for your help Nilfik
[Touch Diamond, MDA Compact IV Themes and Apps] mikehulme1983:
doinbox how you getting on, which language did you start to learn in the end, I havent even looked into it yet lol
[Xiaomi Mi 11] dromaczek:
Hi, I wonder how using mobile hotspot affect battery whole life (not daylife). Is better to use usb betheting ?
[Xiaomi Mi 11] ccl2003:
USB Tethering is always better and it saves more battery than hotspot. Your phone will also run cooler in tethering than in hotspot.
[XV6700, PPC-6700 General] iggy:
Hi anyone know if thier is a wiki on taking apart the Apache?

Our wiki does not have this procedure.
[XV6700, PPC-6700 General] PDAPhoneJunkie:
http://www.bellybuttonporn.com/wiki/HOWTO:_Disassemble_your_PPC/XV_6700
[LG G8X ThinQ Questions & Answers] Azs5165:
Hi everyone,my phone totally dead and the only 1 working is edl mode.All my partition backup corrupted.If anyone can help me provide all backup partition i really appreciate it.😭🙏🙏
[LG G8X ThinQ Questions & Answers] Xryphon:
You can attempt to flash the KDZ and repair your phone. Try that first, and I'll upload my custom ROMed partitions if necessary.
[LG G8X ThinQ Questions & Answers] Azs5165:
It useless now,i accidentally erase entire flash partition.
[LG G8X ThinQ Questions & Answers] Azs5165:
I found another solution,but it is impossible.Extract kdz rom to bin firmware.
[LG G8X ThinQ Questions & Answers] Azs5165:
Done,so can u upload ur partition?☺️☺️
[LG G8X ThinQ Questions & Answers] Xryphon:
Custom ROMed? I'll attempt to get the normal ones if needed.
[LG G8X ThinQ Questions & Answers] Azs5165:
whatever, as long as my phone can be repaired 🙂
[LG G8X ThinQ Questions & Answers] Azs5165:
Sure, I'll wait for it
[LG G8X ThinQ Questions & Answers] Azs5165:
My phone get bricked,no download mode,no fastboot mode only edl mode working.But my phone not have any partition anymore,so can someone help me provide partition,im really need it😩🙏
[LG G8X ThinQ Questions & Answers] Raify4:
If you still have problems, I can send you the partitions
[LG G8X ThinQ Questions & Answers] Azs5165:
Thank you so much,i really need all partitions..Im really2 need it
[LG G8X ThinQ Questions & Answers] Azs5165:
Ur phone is lg g8x sprint too?
[LG G8X ThinQ Questions & Answers] Raify4:
yes 850um

I don't have the stock system (broken)

but if the laf boot abl

with that you can use kdz
[LG G8X ThinQ Questions & Answers] truongtoan1994:
https://xdaforums.com/t/tutorial-crossflash-bypass-opid-mismatched-error.4345963/page-5 u can try it . new method kdz crossflash.
[LG G8X ThinQ Questions & Answers] nithish_gwd:
lg g8x ,LM_g850EWM not getting into fastboot mode, tried volume down and connecting cable also with using adb command ,it just get restart phone , please help me getting into fastboot. bootloader is unlocked. thank you.
[LG G8X ThinQ Questions & Answers] dahveedsolorzano:
Get the kdz you want and run it through this kdz extractor: https://gist.github.com/haise0/f3c1f24b0a7a9150603dfd00985c0042. Then flash each of them in qfil after you backed up your partitions. Then you should be able to flash the phone in LGUP. I lost my serial in the process but the phone works after having been stuck in a fastboot loop.
[LG G8X ThinQ Questions & Answers] KobraKaiYT:
I need the partitions or unsigned rawprogram files to load with qfil
[Connected Car] dharmendraa_IT:
Hello team, pls find me the solution, iam getting issue on MODEL:zxdz_01(dashboard) phone number is only displayed on dashboard but didnt shows Names on dasboard pls help me out from this issue
[General Questions and Answers] MatejKalik:
Hello, I recently received Huawei SCL-L21, but after trying to turn on the phone there is an issue. Everytime black screen pops up saying "Failed to verify boot image" this screen is displayed for like 1 second and then the phone switches to "Fastboot&Rescue mode" and says I should connect to HiSuite and below there's green text "Phone Locked FRP Lock".

So I tried to upload new firmware via the Dload method using SD Card, but the phone doesn't do anything

Here's what I did

1) Create folder called "dload" on your sd card

2) Put the UPDATE.app there

3) Press volume up + volume down, then press Power button ALSO TRIED Press volume up + volume down + power button and release power button when Huawei logo appears.

I also tried to flash via PC watching youtube tutorial, but whenever I plug the device it's not detected as a COM port even through I have installed official Qualcomn USB drivers.

Can anyone please tell me where's the problem? Is it related to the " "Phone Locked FRP Lock" message or is it something else?

Thanks in advance.