yashsingh1/xdaforums huggingface dataset:
[Magisk] droidman1992:
I realize that this may be a late reply, however, there is no need to do any of these convoluted processes.

Here is what I do, flash the Magisk as a .zip in Lineage recovery once and set everything up. Once the Magisk install is working you can apply OTA updates normally without Magisk and root being removed. On my OnePlus 7 Pro which is an A/B device I just install the OTA and hit reboot with Magisk seamlessly persisting and nothing else being required to preserve or reinstall it. The reason that this works is because the Magisk.zip installs an addons.d script which automatically runs after OTA updates and takes care of Magisk for you.

I installed many Lineage OS 20 OTAs and I never had to touch Magisk at all, it is always installed and working with no intervention whatsoever. Keep in mind that this will only work on A/B devices with Lineage recovery (which you should all be using anyway).
[Magisk] Minionguyjpro:
Well, I came to the fact I have a problem with TWRP. It uses OpenRecoveryScript for OTA updates and should also run addon.d scripts after it (Magisk uses this to survive an OTA). The only problem is that the scripts should run after the OTA flash, but for me, it doesn't. So I need to manually reflash Magisk and Gapps after installing an update. My data is encrypted, but I edited the addon.d script to flash the ZIP from the external SD card.
[Magisk] sagarkulkx:
Hi , maybe a stupid Q but what's A/B Device and is Pixel 5 A/B?
[Magisk] Bl4ck-3y3:
Check this, i think this will work.

View attachment 6033037
[Honor 9 Lite Questions & Answers] TabbyChii:
Hello,

I got a Honor 9 lite from a relative, it is not relevant but I changed te battery and the screen. This device is slow, therefore I wish to install a custom ROM(as in LineageOS) on it.

The issue is that the first step, from what I understand, is that I need to downgrade it to 8.0.0. The issue is that at each attempt I get a "software update failed", or when the device is plugged to my laptop, it get stuck at 5% before booting back.

Guide don't really lead my anywhere, therefore I need help to figure out :

How to downgrade

How to unlock the bootloader

insstall TWRP (I sould be able to handle it from there)

I tanks you in advance for the help.
[Honor 9 Lite Questions & Answers] kjsays12:
1. Now, its impossible to downgrade it officially bcoz huawei removed this feature from his hisuite software.

you have to take help from third party developers. But i tried those roms they were not most stable and most of the apps were crashing while changing tasks.

2. If you want to unlock bootloader you need to unlock FRP first. You can do this by short circuiting testpoint and circuit board. Also try to get help from google and youtube.

You will also need software like potato nv for changing bootloader code after unlocking frp and during frp unlock.

3. Using fastboot cmd you can unlock bootloader and flash twrp.

4. If your phone is slow. Then try to install magisk and then overclock your cpu and gpu.

This will help for faster experience

I will sooner upload a video on youtube on which i will explain and demostrate you for this topic

that video will cover all this topic. Including practically
[Honor 9 Lite Questions & Answers] TabbyChii:
Thanks for the answers, I can't usually trust most of the google front pages.
[Honor 9 Lite Questions & Answers] kjsays12:
dont worry i will make video on this topic in 2 to 3 days

and its my honour dont mention.

If you have any query you can directly email me on kjsays12@gmail.com
[Honor 9 Lite Questions & Answers] -Alf-:
1. You can downgrade to Oreo via HiSuite. If the rollback option is not available with your HiSuite ("switch to the older version" or "Earlier version"), you must downgrade to the lower (first) 9.1.0 build version number doing the dload method (flashing Service ROM ) and try again with HiSuite. sometimes better results are with the Chinese version:

Link

2. A) using HCU-client or DC-unlocker (you have downgrade to Oreo build number with google patch april-june 2018 via dload method)

B) for free (that can be done on 9.1.0 ) using potatonv method, Guide

in both cases, you will get an BL unlock code.

How to unlock:

- In Developer options in your phone enable OEM unlock option (with this setting you will get "FRP unlock" status in fastboot mode, it's very important).

- Connect your phone in fastboot mode to the PC and run command

fastboot oem unlock xxxxYour_Codexxx

fastboot reboot

3) Download TWRP

Link

- in fastboot mode run command

fastboot flash recovery_ramdisk xxTWRP'sNamexx.img

(e.g. fastboot flash recovery_ramdisk TWRP-9.1.img)

fastboot reboot

Done.
[Honor 9 Lite Questions & Answers] -Alf-:
don't write nonsense bro :)
[Honor 9 Lite Questions & Answers] avenger.forsyth:
Exactly.
[Honor 9 Lite Questions & Answers] TabbyChii:
HiShuit does not recogise my device (LLD-L31), EMUI is still 9.1.0.

But I can try to dload with the chinese ersion you provided because I can't do so with the EU version. I will try this out now to see if ti work.
[Honor 9 Lite Questions & Answers] -Alf-:
Then there is some problem with the phone or you are doing something wrong.
[Honor 9 Lite Questions & Answers] TabbyChii:
Maybe a missing driverView attachment 5863687
[Honor 9 Lite Questions & Answers] -Alf-:
this error appears on Windows 11, afaik. Sometimes it helps to install the full Microsoft Visual C++ (2005-2022) package.
[Honor 9 Lite Questions & Answers] TabbyChii:
No success.

Is there a precise version of 9.1.0 I need to dload? Or any of them good?
[Honor 9 Lite Questions & Answers] -Alf-:
What is your region? (Cxxx in build number). Do you mean the version to downgrade via HiSuite?
[Honor 9 Lite Questions & Answers] TabbyChii:
nah, downgrade to 9.1.0 from the sd card.

Build number is : 9.1.0.149(C432E6RR1P4)
[Honor 9 Lite Questions & Answers] -Alf-:
I don't understand what you want...
[Honor 9 Lite Questions & Answers] TabbyChii:
~~I am bad at this~~

I am trying to use the forced update method by putting the dload folder in an SD card to downgrade EMUI.

From what I understand downgrading the firmware is the first step.
[Honor 9 Lite Questions & Answers] -Alf-:
Already able to connect to HiSuite? That's the first step.

The lowest free FW version is .140

Link
[Honor 9 Lite Questions & Answers] TabbyChii:
I will need to first downgrade to this thdn. Hopefully HiSuite will cooperate.

Also weird is that HiSuite has no issues detecting my Samsung phone.

Maybe I need to install something on the LLD-L31
[Honor 9 Lite Questions & Answers] -Alf-:
In fastboot mode run commands :

fastboot oem get-build-number

fastboot oem get-product-model

fastboot getvar vendorcountry

fastboot oem oeminforead-CUSTOM_VERSION

fastboot oem oeminforead-SYSTEM_VERSION

and post the results.

Some might fail, so don't worry about it.
[Honor 9 Lite Questions & Answers] TabbyChii:
fastboot oem get-build-number

(bootloader) :LLD-L31 9.1.0.149(C432E6R1P4)

fastboot oem get-product-model

(bootloader) LLD-L31

fastboot getvar vendorcountry

vendorcountry: hw/eu

fastboot oem oeminforead-CUSTOM_VERSION

(bootloader) :LLD-L31-CUST 9.1.0.8(C432)

fastboot oem oeminforead-SYSTEM_VERSION

(bootloader) :LLD-L31 9.1.0.117(C432E4R1P3)
[Honor 9 Lite Questions & Answers] -Alf-:
No need to install anything.
[Honor 9 Lite Questions & Answers] TabbyChii:
Did I mess up anything then?

HiSuite does not recognise the phone on any computer, I can't force install any of the previous EMUI firmware (software installation failed).
[Honor 9 Lite Questions & Answers] -Alf-:
Nwm...
[Honor 9 Lite Questions & Answers] TabbyChii:
Formated my laptop and installed Windows 10 on it.

Now the issue is that I can't manage to do anything with the test point.

I tried to do the short circuiting with a tweezer, a stable a pair of screw driver, a scissor, there is no "USB SER" or "HUAWEI USB COM 1.0" showing up. I only get "Android Sooner SIngle ADB interface"
[Honor 9 Lite Questions & Answers] TabbyChii:
It worked, it really took me a while to understand that I needed to boot the phone while holding volume down+power, and then plugging the cable.

edited : https://xdaforums.com/t/rom-unofficial-leland-8-1-lineageos-15-1.3780962/I grabbed this with ARM64 8.1 nano. I after instaling the files, I can't access LineageOS, but almost there. I also upgraded back to 9.1.0.if I install this https://mega.nz/#!tkcTlATI!A8UJGPBGtxJbLcUOJoxCGJj5PFZXzCnjbb3OkwqKTP8, I can't interact on anything. I wentt with https://mega.nz/#!B8kWgJDC!_hj7xkTzF9Uj66wKjtrWPHEV5Dbkk7Q256tuiKg7FQU
[Honor 9 Lite Questions & Answers] TabbyChii:
@-Alf-

One last thing, I am trying to follow your tutorial to install LOSQ over there https://xdaforums.com/t/losq-lir-lineageos-17-1-18-1-unofficial-gsi.4219291/ the issue I am facing when trying to do

fastboot flash system [IMG].img

is that I get a

target reported max download size of 571859200 bytes
sending sparse 'system' (460796 KB)....
OKAY [75.124s]
writing 'system'...
FAILED (remote:sparse file flash write failure)
[Honor 9 Lite Questions & Answers] -Alf-:
Try to unlock bootloader again.
[Honor 9 Lite Questions & Answers] TabbyChii:
It is still unlocked if I check the fastboot menu

PHONE unlocked
FRP Unlock

Worse can I can try that 15.1 rom, but I will ned to downgrade again.

And with all that fiddlig with my laptop, I kind of broke windows.

SHould be easy fixable tho.
[Honor 9 Lite Questions & Answers] -Alf-:
Fastboot sometimes lies, but you're right, why would you even try... :)
[Honor 9 Lite Questions & Answers] TabbyChii:
Nope same result.

Lineage 15.1 itr is then.
[Honor 9 Lite Questions & Answers] -Alf-:
LineageOS 18.1 Unofficial (e.g. Lir-v316) works normally on LLD-L31, maybe you are doing something wrong.
[Honor 9 Lite Questions & Answers] TabbyChii:
I can try again, though, are the GAPPS included.... nevermid I can just delve them out myself

As for Lineage 15.1, it did nto works.

EDIT : state of affaird, after each failed install, I have to go through this tutorial https://xdaforums.com/t/what-to-do-with-a-fully-cleansed-phone.4414515/post-86564803 but this time I can't get into eRecovery anymore by pressing both volume button and the power button. Issue I only boot into TWRP and nothing else.
[Honor 9 Lite Questions & Answers] -Alf-:
maybe there is an easier way (running EMUI 9.1):

https://xdaforums.com/t/guide-back-to-stock-from-treble-gsi-variant.4340543/
[Honor 9 Lite Questions & Answers] TabbyChii:
I need ot reflash EMUI 9.1 first, right.

BTW, do I still need HiSuite?

EDIT:

Gonna descripbe what I am doing step by step.

-Boot into fastboot

-fastboot erase system

- fastboot erase recovery_ramdisk

- fastboot flash recovery_ramdisk [TWRP]

- reboot fastboot

- hold volume up + powerbutton

- wipe data (failed)

- install TWRP into eRecovery

- install recovery 9.1 into Recovery

- pwoer off

- power on while holding both volume buttons.

-stuck on "your device is booting now..."

- TWRP keep saying "noOS installed" after flashing anything.

Also, no success by using TWRP tool for restauring the stock recovery anderecovery tools.
[Honor 9 Lite Questions & Answers] -Alf-:
Is this some new know-how? :)

I don't know where you got these procedures from, but it looks like you don't know what you're doing. First you erase the system, and then you are surprised that you do not have an OS installed?

Install the stock Recovery via fastboot and then the Service ROM via the dload method. Before it's too late...
[Honor 9 Lite Questions & Answers] TabbyChii:
https://xdaforums.com/t/what-to-do-with-a-fully-cleansed-phone.4414515/post-86583475

From here, though, i may have missed context.

Shouldn't deal with phones past 4am
[Honor 9 Lite Questions & Answers] TabbyChii:
I am less tired.

If I remember right, it is :

- enter fastboot

- fastboot flash recovery_ramdisk [stock recovery].img

- shutdown

- power button+volume up

- boot into recovery?

I am at "your device is booting now..."

Will fastboot again.

Just in case, is there a way to flash eRecovery? Nevermind, found it.

Still stuck at your device is booting now.
[Honor 9 Lite Questions & Answers] TabbyChii:
Just to make sure the system partition I deleleted, was it the android system, or something else?
[Honor 9 Lite Questions & Answers] -Alf-:
Are you serious or kidding? What else could it be?

Apple iOS ? :D
[Honor 9 Lite Questions & Answers] TabbyChii:
The firmware itself.

I shelved the phone for a while so now looking around again to figure out what to do.
[Honor 9 Lite Questions & Answers] -Alf-:
system is part of the firmware.

You have the instructions, you just need to use them correctly.
[Samsung Galaxy Z Fold 4] giorgiogatti1112:
Hi everyone,

I have a live demo unit Samsung Fold 4 SM936B/DS (000... imei).

I obtained it for free from a friend who has an internet provider store and received it as a retailer (because this device has no market he says...).

I'm using it as a tablet and I'm loving it.

This phone is amazing, just holding it feels great, the premium feel is intense.

Now, it works perfectly except for the retail mode, which does not allow me to do certain things (screen lock, energy save mode ecc.).

View attachment 5831143

Yes, it's in Italian.

Does anyone knows how to get rid of this mode?

I tried everything, but this mode is always on (wow samsung, well done!).

There is no Retail app on the phone.

What I've done:

- Wipe data and factory reset (this was easy)

- Flash stock firmware with same csc via ODIN (WWA)

- Flash updated firmware and kernel with android 13

- Change CSC (EUX)

- Root with Magisk

- LsPosed with Zygisk (searched for some module in it with no success)

- Successfull USB ADB su

(Really, is this mode written with some kind of magic or with Mjöllnir on the cpu?)

Doesn't seems like Chimera or Z3X have the remove demo functionality for this phone yet.

Regarding this, why? Why chimera has only basic functionalities for the entire Galaxy Fold branch?

Any idea of what else can I try?

Secondary question:

Is it possible through some kind of advanced or fancy tool to repair the IMEI?

Attention: I'm not asking to replace IMEI as it is illegal, but to repair the original device IMEI (as I think it should have a modem).

I am not really an expert in the android's stuff but as a software programmer (or at least I try my best) I can try to perform some usually "hard" procedures.

Thank you
[Samsung Galaxy Z Fold 4] windows4droid:
You can repair imei only if knox void 0*0
[Samsung Galaxy Z Fold 4] giorgiogatti1112:
My Knox void is 0x1.

Do all original imei repair methods require knox 0x0?

For example, i was looking for a method which edit efs files with hex editor (doesn't work as I don't have the indicated files).

What does knox void have to do with imei and demo mode?

Thank you!
[Samsung Galaxy Z Fold 4] windows4droid:
For these devices, the imei is repair on the Samsung cpid server

One of the most important conditions is Void 0
[Samsung Galaxy Z Fold 4] mckeowngoo:
It's a demo unit so you're never going to be able to repair the IMEI issue. Samsung deliberately send out demo units with gimped modems to retailers so when these phones are snatched, they're next to useless.

Get a replacement board, sell for spares or if I was on another website, I'd tell you to give it back....... :)
[Samsung Galaxy Z Fold 4] giorgiogatti1112:
Thank you for your reply!

In this case, i think I'll use it as a tablet, you know, it's free!

I'll wait for chimera to release Imei repair and patch certificate(if ever); on older models it is possible to apply also on knox 1 status.
[Samsung Galaxy Z Fold 4] tainka:
Hi, do you maybe have this video on your phone? I saw it on the phone in the store but dont have it on my fold 4
[Samsung Galaxy Z Fold 4] JazonX:
So many misleading information here on this thread;

Let me a correct a few; and link this whenever this discussion starts somewhere. It's an effing pain to see this getting repeated again and again.

----

Demo units (After S10) are an exact match to commercial units which are sold, the only thing missing is an IMEI.

Prior to this, They used to "not have" SIM Slots, Modems, Antenna and other various hardware parts that require to connect to a network.

Demo units have X in their model code's end while commercial units have F / B codes. (eg: G980F is commercial and G980X is Demo).

Most common accusation (not in this thread - But in general) is that you have stolen a demo unit from a Samsung shop. No, They aren't always stolen, sometimes Samsung gives them away to their store employees when the product is marked as end of life. Some do get stolen as well, but at a time where we are monitored by CCTV 24/7 - what are the odds of something getting stolen from a shop nowadays?

You can remove the demo mode loop / demo apps by flashing a stock firmware applicable for the product from ODIN and use it as a tablet with just WIFI connectivity. You cant make calls from this yet - without the IMEI.

If you need to use it as a phone with cellular connectivity, You need to generate and assign an IMEI for it.

For this you need someone with Samsung CPID server access, and willing to provide the service. Find one over the Internet - Let them know your DID code from Download mode/Software version and they will confirm whether they can do it. The demo phone needs to be completely stock (Not Rooted / Knox 0x0). Aside to being stock, the phone needs to be on the first binary bit for the device firmware as well (U1 / S1).

If the firmware binary bit has been already bumped to bit 2 or above -You cannot patch an IMEI to it.

It's best you keep it as is; when you get it. This CPID service ? IMEI Write service costs depending on the seller and you can find many sellers with a Google search. They will connect to you over TeamViewer to carry out the process in your PC itself with some remote connect tools.

If the Phone is already rooted, and too late for CPID method - there is a certificate patch method - but that is temporary and gets wiped when the phone is updated or sometimes even when rebooted.

The Demo Error which OP speaks of - cannot be removed. I have a fully converted Fold 4 from a demo (With IMEI - see top of attached screenshot) and later rooted it as well. Still I couldn't figure out how to remove this error. I searched the Vendor and EFS partition folders multiple times to find a demo flag, but wasn't in any luck. Same goes for the 4th CSC code as well, it will always remain either WWD or SMD indicating that the phone was originally a LDU.

I modified the EFS files (Product Code / Region Code) too, and didn't remove the below error. It may be linked to the same reason why we cannot change the 4th CSC of the phone.

It doesn't affect in any daily work, and the phone works fine. Just the error shows up in a few settings screens.
[Samsung Galaxy Z Fold 4] luansalomao:
Hey, Good Night. - I am Dominique Camila Salomão - Samsung Galaxy Z Fold 4 - IMEI Problem.
​

Hi, my name is Dominique Camila Salomão. I'm from Brasil. I am a Brasilian Girl.

I saw your comment in a publication about a Samsung Galaxy Z Fold 4 that is in commerce mode and with zero and null imei.

I saw that you commented that you also owned or owned such a device that was like this.

I would like to know if you somehow managed to solve your imei reset problem and managed to get it out of commerce mode.

I bought the cell phone from someone who was selling it here and after I went to see these things, including that the IMEI was reset.

Help me if possible by replying to this message.

I would like to know what you did to fix it.

And I would also like to know if you can tell me if those people who claim to repair and fix IMEI online and etc really work.

Thank you if you can help me at least by replying to the message.

A hug, I'm from Brazil.

Nice to meet you, My name is Dominique Camila Salomão.

Hugs my dear.
[Samsung Galaxy Z Fold 4] Exorone:
Hi everyone, I have some similar problem with my s22 LDU. I have imei working though, but no cellular connection. I've seen a method flashing an efs .tar file via Odin, I can't find the file. Seems like I just need to remove de LDU flag to get network working. Do you know any method for that? Thx in advance.
[Samsung Galaxy Z Fold 4] JazonX:
That doesn't work. If flashing efs files work on every phone, samsung would have a bigger problem in their hands.
[Samsung Galaxy Z Fold 4] tito803@gmail.com:
Yo tengo el mismo problema pero e obtuve sacarlo del modo demo pero no activarlo para llamadas en Youtube está el vídeo para sacarlo de modo demo activa la aplicación demoretail y en contraseña pon Reta!l-9102 y desactivas el demo

Mod Edit: English Translation Below

I have the same problem but I managed to get it out of demo mode but not activate it for calls on Youtube there is the video to get it out of demo mode activate the demoretail application and put Reta!l-9102 in the password and deactivate the demo
[Samsung Galaxy Z Fold 4] tito803@gmail.com:
Buenas tengo un fold 4 y es demo y acabo de recogerlo de una tienda donde lo lleve para que me pusieran imei y ya lo tengo funcionando jejejejjej 260 euros me salió la broma y se quitó el modo demo

Mod Edit: English Translation Below

Hello, I have a fold 4 and it is a demo and I just picked it up from a store where I took it so they could give me an imei and I already have it working hehehehe 260 euros I got the joke and the demo mode was removed
[Samsung Galaxy Z Fold 4] guiolive:
Será que voce poderia me passar o contato?
[Samsung Galaxy Z Fold 4] iceepyon:
I am surprised that you were able to get a demo unit that had an 5G modem in it. As from what I know the majority of demo units only have a WiFi and bluetooth card installed and no active 5G modem
[Samsung Galaxy Z Fold 4] Luismcorrea89:
Tengo una unidad Demo, y funciona el 5G normal.

Lo unico malo es que para usar datos biometricos hay que acceder desde otro lugar, nl funciona Samsung Pass y carpeta segura.
[Samsung Galaxy Z Fold 4] SamaelThuum:
This is not true, phones since S10 and up are internally identical and CAN be IMEI repaired, but it requires the tool we all know which requires a paid license for a year $70 EUR, I won't mention the name of the tool as I guess it would be ilegal or would make this comment get banned, which I actually would disagree because repairing IMEI on a Live Demo Unit is not like changing the imei from a stolen phone to another different imei, it's more like giving an imei to a phone that HAS NEVER HAD an imei

There is someone who wrote in spanish in this same thread with working demo unit, another guy posted with an S20 Ultra I believe, with working antena, asking how to upgrade firmware

This belief of LDU not having internal antenna is false since S10, I mean, I get why people still believe it, because IT USED to be true, long time ago, S7 S8 etc, but should not be repeated anymore as it's not true anymore
[Samsung Galaxy Z Fold 4] mckeowngoo:
So an illegal repair for a potentially illegally obtained mobile phone? I'd advise anyone who has these demo phones to "give it back" before you get into trouble.
[Samsung Galaxy Z Fold 4] badazzmescnc:
Just swap the board it's cheap they 160 bucks for 512gb on eBay for the z fold 4 https://www.ebay.com/itm/1764296561...RHYXdyCSXu&var=&widget_ver=artemis&media=COPY
[MDA II, XDA II, 2060 General] lelepu:
Hi everybody,

I used to change dialer skins with DesignLab XDA Skin chooser but suddenly the skin is not changing.

Everytime I try to change it, the old one remains in use. And it's not the standard skin.

Anyone has seen this problem before?

If so how do you reset to the standard skin?

Where is it saved?

Thanks for your help
[LineageOS Questions & Answers] bjlockie:
I have an LG G7 One but the only installation instructions I can find are for an LG G7 ThinQ.

Would that work on my One?
[Samsung Galaxy S10 Lite Questions & Answers] Andy Redfield:
my S10 lite stopped vibrating and the sim card has a bug, it recognizes the sim card but does not connect to the network, airplane mode is activated with a lighter color on the icon, after updating android to version 13 and oneui 5.0, does anyone have one solution for this problem? downgrading can solve