Pixel Experience Plus GSI Android 10 for Samsung Galaxy A51 - Samsung Galaxy A51 Guides, News, & Discussion

Note:
1. Your phone Unlock Bootloader >> Click here for tutorial Unlock Bootloader
2. TWRP >> Click here to install TWRP for A51
3. Making GSI_Flasher >> Click here how to make GSI Flasher
Link download:
PixelExperience_Plus-10.0-20201105-GSI-ARM64-AB.img.xz
All files >> Click here
Pixel Experience Plus include Gapps
Step by step:
1. Turn off the phone.
2. Press and hold Power + Vol Up, when Samsung logo appeared, released Power, and still press Vol Up
3. Entering TWRP Recovery.
4. Wipe >> Format Data >> Yes
5. Wipe >> Advanced Wipe >> choose Dalvik, Cache, Data >> Swipe to wipe
6. Reboot Recovery
7. Transfer file >> GSI_Flasher from PC / laptop to internal storage
8. Install >> choose file GSI_Flasher >> swipe to wipe.
9. Done
10. Reboot system.
11. Entering welcome screen
Optional (flashing Magisk)
Credit
@redymedan
@DiUst
@ianmacd
@phhusson
@topjohnwu
@soulr344

thanks you, testing, i like it
only miss a camera app with more options

digialfred said:
thanks you, testing, i like it
only miss a camera app with more options
Click to expand...
Click to collapse
Glad you enjoy that.
Because what you are using is GSI ROM that has no vendor. So there is limitation.
I hope in the future there is developer will fix it

room have problem with bluetooth call?

MinoruYanke said:
room have problem with bluetooth call?
Click to expand...
Click to collapse
from my experience bluetooth call normal

Thanks for the guide. I've followed all the instructions but I get an error "Invalid zip file format!" when trying to flash the GSI image. I used 7-Zip.

Related

[TWRP][HUAWEI Y7-Y7 PRIME] recovery and root

[TWRP][HUAWEI Y7-Y7 PRIME] recovery and root​
Follow at your own risk, i don’t take any responsibility if anything goes wrong
Files are developed by chinese developers, so there’s limited support for this device so far.
Your warranty will be void after root
Supported Devices:
tested devices: TRT-AL00, TRT-AL00A, TRT-TL10, TRT-TL10A, TRT-L21A, TRT-LX1, TRT-LX3
no tested devices: TRT-LX2, TRT-L03, TRT-L53
Note: on some devices touch screen does not work in TWRP mode, you are advised to use mouse with OTG connector to work in TWRP
Tutorial:
RECOVERY
1. Backup all important data
2. Unlock bootloader of your phone
3. Download FILES
4. Extract downloaded file on your computer
5. Power off phone, Hold volume down and insert cable. phone should enter fastboot mode.
6. Open MAF32 and type ” fastboot flash recovery TRT-TWRP-3.1.1-0818.img ” and press enter
7. Once installation completed. Disconnect from pc. and hold volume up and power, keep holding until you see TWRP screen.
8. Recovery will be in chinese, Tap on right side button, and choose 2nd option, recovery will be changed to English.
ROOT
9. Now swipe to allow modifications. (Advised to make backup in TWRP for safe side)
10. Then tap on advanced. and tap root button.
11. Swipe to install root.
12. Reboot phone to normal mode.
13. After several boots , your phone should be up and running.
14. Now go in settings > Application manager > super su > permissions and allow all permissions.
15. Done, now install any root checker to verify root access.
thanks so much bro it works
add trt-l53 ... + i bricked my trt-l53 does anybody have a backup on mega or gdrive i need the firmware please
astusal said:
[TWRP][HUAWEI Y7-Y7 PRIME] recovery and root​
Follow at your own risk, i don’t take any responsibility if anything goes wrong
Files are developed by chinese developers, so there’s limited support for this device so far.
Your warranty will be void after root
Supported Devices:
tested devices: TRT-AL00, TRT-AL00A, TRT-TL10, TRT-TL10A, TRT-L21A
no tested devices: TRT-LX1, TRT-LX2 TRT-LX3, TRT-L03
Note: on some devices touch screen does not work in TWRP mode, you are advised to use mouse with OTG connector to work in TWRP
Tutorial:
RECOVERY
1. Backup all important data
2. Unlock bootloader of your phone
3. Download FILES
4. Extract downloaded file on your computer
5. Power off phone, Hold volume down and insert cable. phone should enter fastboot mode.
6. Open MAF32 and type ” fastboot flash recovery TRT-TWRP-3.1.1-0818.img ” and press enter
7. Once installation completed. Disconnect from pc. and hold volume up and power, keep holding until you see TWRP screen.
8. Recovery will be in chinese, Tap on right side button, and choose 2nd option, recovery will be changed to English.
ROOT
9. Now swipe to allow modifications. (Advised to make backup in TWRP for safe side)
10. Then tap on advanced. and tap root button.
11. Swipe to install root.
12. Reboot phone to normal mode.
13. After several boots , your phone should be up and running.
14. Now go in settings > Application manager > super su > permissions and allow all permissions.
15. Done, now install any root checker to verify root access.
Click to expand...
Click to collapse
Hi Guys!!! I just root my device but it´s a little diferent the method, once you enter on advance, you have to tap install SU, it's take 3 tries to sucessfully instal Super SU, once Super SU installed the phone automatically reboot.
It's reboot a couple of time, and to check I install root checker and IT'S WORK!!!!!!!!
Thanks a lot for the help!!!!!TRT-LX3 check!!!!!! :laugh::laugh::laugh::laugh::laugh::laugh::laugh:
ADB-1 said:
add trt-l53 ... + i bricked my trt-l53 does anybody have a backup on mega or gdrive i need the firmware please
Click to expand...
Click to collapse
How to bricked your device?
Andrea_santiba said:
Hi Guys!!! I just root my device but it´s a little diferent the method, once you enter on advance, you have to tap install SU, it's take 3 tries to sucessfully instal Super SU, once Super SU installed the phone automatically reboot.
It's reboot a couple of time, and to check I install root checker and IT'S WORK!!!!!!!!
Thanks a lot for the help!!!!!TRT-LX3 check!!!!!! :laugh::laugh::laugh::laugh::laugh::laugh::laugh:
Click to expand...
Click to collapse
It's Great! ?
cryotick said:
thanks so much bro it works
Click to expand...
Click to collapse
What is your device?
ADB-1 said:
add trt-l53 ... + i bricked my trt-l53 does anybody have a backup on mega or gdrive i need the firmware please
Click to expand...
Click to collapse
+1 I also bricked mine (TRT-LX2) I need a backup or the hicloud download to stock rom
@astusal
Can you provide us the source of all of this ?
Is there a seperate SuperSU zip available ?
Thnx !
raystef66 said:
@astusal
Can you provide us the source of all of this ?
Is there a seperate SuperSU zip available ?
Thnx !
Click to expand...
Click to collapse
Check your inbox
ashd999 said:
+1 I also bricked mine (TRT-LX2) I need a backup or the hicloud download to stock rom
Click to expand...
Click to collapse
not have any backup but i searching for...
Look here for TWRP on TRT-LX3 with Magisk 15.3
https://www.youtube.com/watch?v=bnEA__fbZ6U
So basicly they use the twrp out of OP
So flash recovery in fastboot
Reboot into recovery (vol++power)
Backup !
Format data
Flash magisk
reboot
Run Magisk Manager
done !
METHOD FOR TRT-LX1
Thnx for the above files !
I just did following steps : (almost like OP but slightly different)
0. follow here
1. Download above package from OP, be sure to be bl unlocked and frp unlocked
1a. Put latest Magisk 15.3 and manager on your extSD or flash supersu from within twrp package. It will be your choice how to root (btw, supersu in this package has chinese characters above)
1b. enable usb debugging, connect phone...
2. Run adb (devices)...you know by now, right
3. run following commands :
a. adb reboot bootloader
b. fastboot flash recovery TRT-TWRP-3.1.1-0818.img
4. when flashed, disconnect phone, and hold vol+ + power to boot into twrp recovery, select english
5. back up all !
6. format data
7. install Magisk or SuperSU at choice from your extSD. NOTE : when flashed and you want to reboot, select : not install supersu
8. reboot. It will take some reboots but all ok :good:
Can anyone in this thread post their build number? I'm trying to use firmware finder to get the stock rom
https://forum.xda-developers.com/tools/general/huawei-firmware-finder-team-mt-t3469146
Thanks.
astusal said:
What is your device?
Click to expand...
Click to collapse
I have a huawei y7 prime
Xposed Framework?
astusal said:
[TWRP][HUAWEI Y7-Y7 PRIME] recovery and root​
Follow at your own risk, i don’t take any responsibility if anything goes wrong
Files are developed by chinese developers, so there’s limited support for this device so far.
Your warranty will be void after root
Supported Devices:
tested devices: TRT-AL00, TRT-AL00A, TRT-TL10, TRT-TL10A, TRT-L21A, TRT-LX1, TRT-LX3
no tested devices: TRT-LX2, TRT-L03, TRT-L53
Note: on some devices touch screen does not work in TWRP mode, you are advised to use mouse with OTG connector to work in TWRP
Tutorial:
RECOVERY
1. Backup all important data
2. Unlock bootloader of your phone
3. Download FILES
4. Extract downloaded file on your computer
5. Power off phone, Hold volume down and insert cable. phone should enter fastboot mode.
6. Open MAF32 and type ” fastboot flash recovery TRT-TWRP-3.1.1-0818.img ” and press enter
7. Once installation completed. Disconnect from pc. and hold volume up and power, keep holding until you see TWRP screen.
8. Recovery will be in chinese, Tap on right side button, and choose 2nd option, recovery will be changed to English.
ROOT
9. Now swipe to allow modifications. (Advised to make backup in TWRP for safe side)
10. Then tap on advanced. and tap root button.
11. Swipe to install root.
12. Reboot phone to normal mode.
13. After several boots , your phone should be up and running.
14. Now go in settings > Application manager > super su > permissions and allow all permissions.
15. Done, now install any root checker to verify root access.
Click to expand...
Click to collapse
Have you been able to install xposed framework? Or still can not flash zips in these recoverys?
KevinFer said:
Have you been able to install xposed framework? Or still can not flash zips in these recoverys?
Click to expand...
Click to collapse
I installed xposed without problems. Running f.e. gravitybox without problem.
So flashing with this twrp is no problem.
Perhaps follow my post here.
Btw, for this device flash xposed sdk24
raystef66 said:
I installed xposed without problems. Running f.e. gravitybox without problem.
So flashing with this twrp is no problem.
Perhaps follow my post here.
Btw, for this device flash xposed sdk24
Click to expand...
Click to collapse
could you pass me the files that I have to flash to install the xposed in the huawei y7 trt-lx3 pleasee!
KevinFer said:
could you pass me the files that I have to flash to install the xposed in the huawei y7 trt-lx3 pleasee!
Click to expand...
Click to collapse
See here : https://forum.xda-developers.com/showthread.php?t=3034811
So flash : http://dl-xda.xposed.info/framework/sdk24/arm/ take the v89 http://dl-xda.xposed.info/framework/sdk24/arm/xposed-v89-sdk24-arm.zip
And flash the installer from the thread.
That's all !
I see strange folders when looking for zip files
https://ibb.co/gVOOUG
---------- Post added at 03:39 PM ---------- Previous post was at 03:31 PM ----------
can I put the files in the root and flash from there?
https://ibb.co/jjvTUG

Questions

How to root J510H?
How to install roms?
How to install android pie roms on J510H?
#Note:if you have any question about J5 2016 put it in this post so if anyone knows the answer he can reply to the question.
Zaid Koudmani said:
How to root J510H?
How to install roms?
How to install android pie roms on J510H?
#Note:if you have any question about J5 2016 put it in this post so if anyone knows the answer he can reply to the question.
Click to expand...
Click to collapse
How to install custom recovery and root
1. Go to settings on your phone and go to 'about phone' and find where it says build number and click on it 7 times and you unlock developer options.
2. Go into developer options and enable USB debugging and OEM unlock.
3. Download Odin on your PC and install https://samsungodin.com
4. Download twrp .tar file to your PC
J500f is here https://twrp.me/samsung
5. Download USB drivers for your model(your PC should automatically do it when you connect your device)
6. Connect youe device to PC and turn your device off
Next you want to put it into download mode. To do this gold the power button, vol down button and home button simultaneously
7. Disable auto reboot in Odin on PC. Then click the AP tab and locate the twrp file.
Flash the file onto your phone and disconnect from the PC once finished.
Next part is really important.
8. DO NOT REBOOT YOUR DEVICE YET. if you reboot you will lose your custom recovery.
While the phone is still in download mode after you disconnect from PC just remove the battery do not turn it off or reboot it.
9. Put the battery back in and then hold power button, home button and vol up button (same as putting into download only volume up instead of volume down)
10. This should reboot you into your brand new twrp recovery.
11. Just reboot device from twrp settings for now.
12. Download magisk zip to your device. You will find latest stable on first post here https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
13. Turn your device off again. Reboot to recovery same as before (home button, power button and volume up button)
14. Click on install in twrp and locate the magisk.zip file and click on it and flash the file.
15. Reboot once done and go to magisk manager in your app drawer which the magisk.zip will install and thats it
---------- Post added at 11:48 AM ---------- Previous post was at 11:40 AM ----------
How to install a rom
You must have custom recovery installed see the above comment to install.
1. Download the rom you wish to install and put it on your external SD card
2. Reboot your device to recovery.
3. Go to wipe >> advanced wipe and wipe system, data, internal, dalvik and cache.
4. Go to install and search for your rom.zip on external SD card.
5. Flash it and thats it.
6. If you want Google apps (gapps) you will have to download a suitable gapps package for your device and new rom. If your new rom is android 9 pie then download arm gapps, android version 9 and I would recommend the lighter gapps package like nano or pico.
7. Flash gapps right after flashing your rom.
8. Optional wipe dalvik and cache just in case and thats it
garylawwd said:
How to install custom recovery and root
1. Go to settings on your phone and go to 'about phone' and find where it says build number and click on it 7 times and you unlock developer options.
2. Go into developer options and enable USB debugging and OEM unlock.
3. Download Odin on your PC and install https://samsungodin.com
4. Download twrp .tar file to your PC
J500f is here https://twrp.me/samsung
5. Download USB drivers for your model(your PC should automatically do it when you connect your device)
6. Connect youe device to PC and turn your device off
Next you want to put it into download mode. To do this gold the power button, vol down button and home button simultaneously
7. Disable auto reboot in Odin on PC. Then click the AP tab and locate the twrp file.
Flash the file onto your phone and disconnect from the PC once finished.
Next part is really important.
8. DO NOT REBOOT YOUR DEVICE YET. if you reboot you will lose your custom recovery.
While the phone is still in download mode after you disconnect from PC just remove the battery do not turn it off or reboot it.
9. Put the battery back in and then hold power button, home button and vol up button (same as putting into download only volume up instead of volume down)
10. This should reboot you into your brand new twrp recovery.
11. Just reboot device from twrp settings for now.
12. Download magisk zip to your device. You will find latest stable on first post here https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
13. Turn your device off again. Reboot to recovery same as before (home button, power button and volume up button)
14. Click on install in twrp and locate the magisk.zip file and click on it and flash the file.
15. Reboot once done and go to magisk manager in your app drawer which the magisk.zip will install and thats it
---------- Post added at 11:48 AM ---------- Previous post was at 11:40 AM ----------
How to install a rom
You must have custom recovery installed see the above comment to install.
1. Download the rom you wish to install and put it on your external SD card
2. Reboot your device to recovery.
3. Go to wipe >> advanced wipe and wipe system, data, internal, dalvik and cache.
4. Go to install and search for your rom.zip on external SD card.
5. Flash it and thats it.
6. If you want Google apps (gapps) you will have to download a suitable gapps package for your device and new rom. If your new rom is android 9 pie then download arm gapps, android version 9 and I would recommend the lighter gapps package like nano or pico.
7. Flash gapps right after flashing your rom.
8. Optional wipe dalvik and cache just in case and thats it
Click to expand...
Click to collapse
thank you so much you are the best ??

[RECOVERY][UNOFFICIAL]PitchBlackRecoveryProject 3.0.0 [m30lte]

I would like to thank PBRP, Teamwin for their amazing work!
As usual, I am not responsible for damage to your device, you, the user is choosing to make these modifications.
Your device's warranty is VOID if this procedure is followed, Proceed at your own caution!
With the new update of Android 10 for our device SM-M305[F] / M305[M], Samsung reimplemented RMM and called it KG(KnoxGuard), there is confusion in the device community on how to install TWRP and root device.
Follow these updated instructions to get PBRP working with Latest Stock Firmware.
This thread will be updated regularly.
STRONGLY ADVICE TO BACKUP DATA.
Steps to get PBRP working with stock firmware
First of all flash completely stock firmware, you can always root with Magisk later.
If you are rooted and have PBRP installed already and you are not on Latest Firmware mentioned above then flash latest firmware.
Select BL, AP, CP, CSC (Use HOME_CSC).
Never only flash AP, will cause your /data to shrink.
Once you're updated to latest firmware mentioned above, make sure you unlock your bootloader.
Go into Settings>Software Info>Tap build number seven times.
Go into Settings>Developer Options>OEM Unlock & enable it.
It will prompt you with password/pin confirming to unlock bootloader. Device will reboot and wipe itself.
Setup device once it reboots and again enable developer options and see OEM unlock to be enabled and togglable.
Next enable USB debugging in Settings>Developer Options>USB Debugging.
Open up ADB/FASTBOOT Utility on your computer and connect your device with USB C cable.
Type in following commands without the quotations.
1."adb reboot download" ; reboots your device into Download mode, can flash device via Odin Downloader(Windows) or Heimdall Utility(Linux)
2.Download the attached PBRP.tar if you're using Odin or PBRP.img if you're using Heimdall to flash.
3.Flash the TWRP recovery by
ODIN:-
Clicking AP in Odin and make sure the Repartition and Auto Reboot boxes are UNTICKED/NOT SELECTED.
Click Start at bottom.
Heimdall:-
Open up a terminal window in the directory where twrp.img is downloaded.
Type in heimdall flash --RECOVERY pbrp.img --no-reboot
4.Once flash is complete, press Volume Down+Power Button to shutdown and as soon as screen is black IMMEDIATELY PRESS AND HOLD VOLUME UP+POWER Button and let go of Power button when you see samsung logo, continue holding Volume Up until device boots into TWRP.
5.Once device boots into PBRP, swipe to allow modifications and then Click Wipe>Format Data>type in "yes". This will format everything and reset the device.
6.Go into Wipe>Advanced Wipe>Tick only Cache and swipe to wipe it.
7.Reboot back into recovery by Reboot>Recovery>Do not Install.
8.Once rebooted back into PBRP, transfer the attached zip to phone Internal or SDcard, DO NOT RENAME THE ZIP.
9.Flash the zip by, Install > Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip, swipe to flash it.
10.Wipe cache and dalvik cache, reboot into system by, Reboot > System > Do not install.
11.Device will boot into Android, wait patiently for about 15mins.
12.Once device boots, setup as usual, you will need internet.
13.Voila! You have successfully installed PBRP alongside Stock firmware.
Thanks to @MiyamuraNEET for his persistent testing and timely directions that helped me to bring you this guide.
Thanks to @SahilSonar for bringing TWRP to our device initially
Thanks to @Akhil99 (me) for fixing MTP/ADB in TWRP recovery and bringing you this guide.
HIT THANKS IF WE HELPED YOU.
Downloads:
PBRP:
1. https://www.mediafire.com/file/gtjj6p0ou3hikz9/PBRP-m30lte-3.0.0-20201222-1227-UNOFFICIAL.img/file
2. https://www.mediafire.com/file/wi9v33cr8mkjyay/PBRP-m30lte-3.0.0-20201222-1227-UNOFFICIAL.zip/file
Disable DM_Verity_ForceEncrypt : https://androidfilehost.com/?fid=8889791610682882483
XDAevDB Information
[RECOVERY][UNOFFICIAL]PitchBlackRecoveryProject 3.0.0 [m30lte], Tool/Utility for the Samsung Galaxy M30
Contributors
Akhil99
Source Code: https://github.com/akhil1999/pbrp_device_samsung_m30lte
Version Information
Status: Stable
Stable Release Date: 2020-12-22
Created 2020-12-22
Last Updated 2020-12-22
awesome!
Only dev constantly releasing new to builds/mods to give us great experience,
Appreciate you bro,
Akhil 99 said:
Only dev constantly releasing new to builds/mods to give us great experience,
Appreciate you bro,
Click to expand...
Click to collapse
Thanks for your kind words. A new Port is incoming watch out for that!
Akhil99 said:
Thanks for your kind words. A new Port is incoming watch out for that!
Click to expand...
Click to collapse
It's me Zan,
A51 port tester...
hi, does this work with September 2021 patch.?
I have rooted my phone and interested to replace this with already flashed twrp since someone said PBRP has disable dm-verity feature?

[GUIDE/TUTORIAL/HOWTO] Xiaomi Redmi Note 4 Snapdragon stock to Android 12.1 / LineageOS 19.1

[GUIDE/TUTORIAL/HOWTO] Xiaomi Redmi Note 4 Snapdragon stock to Android 12.1
[GUIDE/TUTORIAL/HOWTO] Xiaomi Redmi Note 4/4X Snapdragon SOC (codename mido) stock to Android 12 / LineageOS 19.1
Complete guide to install Android 12 on your Xiaomi Redmi Note 4 (Snapdragon or 4X).
This tutorial only applies to this model, to check the correct version:
in Android, go to Settings > About phone, make sure Device model is Redmi Note 4.
It must be Snapdragon: below Device model, CPU must be Octa-core Max 2.0Ghz
### If CPU is not Octa-core Max 2.0Ghz, you have the Mediatek version (codename Nikel), see here:
https://forum.xda-developers.com/f/xiaomi-redmi-note-4-mediatek-roms-kernels-reco.5784/
### If phone is not Redmi Note 4, quit this tutorial
CHANGELOG
v4. Minor improvements, Android 13 incoming (+ Google Camera) !
v3. Android 12.1 thanks to awesome Zeelog (and @anandsvm), migrate to MindTheGApps, upgrade TWRP
v2. BitGApps, updated TWRP + Magisk
v1. Initial release
1) WHAT YOU NEED
- djibe Redmi Note 4 pack: https://bit.ly/djibe-redminote4-pack
(contains all you need: USB drivers + Mi Unlock tool + fastboot & adb + TWRP Recovery 3.6.2_9-0 + Magisk root v23)
+ ROM LineageOS Unofficial 19.1: https://forum.xda-developers.com/t/...ineageos-18-1-mido-vanilla-by-zeelog.4186179/
Download latest build: https://github.com/zeelog/OTA/releases
+ MindTheGApps 12.1 ARM64: http://downloads.codefi.re/jdcteam/javelinanddart/gapps
or BitGApps ARM61 12.1 v1.4+: https://github.com/BiTGApps/BiTGApps-Release/releases
2) INSTALL DRIVERS
First uninstall all Oneplus, Oculus ... Android drivers.
Go to the folder you unzipped earlier.
navigate to usb_driver_r13-windows > usb_driver.
Right click on android_winusb.inf and select Install. Confirm with OK.
Restart Windows.
### If you experience problems with phone connection later, use https://github.com/lostindark/DriverStoreExplorer (thanks @Lysolus for sharing)
3) BACKUP YOUR DATA
Make sure Google/provider account is synchronized.
Backup photos, documents, contacts before going any further (ex: use the backupyourmobile app).
Connect phone to PC, search for all .jpg, .mp3, .mp4 files on your phone and retrieve data.
4) UNLOCK BOOTLOADER
### Before going further, you need the latest official firmware.
Go to Settings > About phone.
MIUI version must be 11.0.2.0 (NCFMIXM).
Unlock Developer settings:
Tap 7 times on MIUI version item.
If not: connect to Wifi, tap on System update > Check for updates.
### System won't update ? Download latest firmware from here: https://xiaomifirmwareupdater.com/firmware/mido/
MIUI Account
Insert your SIM card.
Enter Sim PIN and turn off wifi, turn on mobile data and sync.
Go to Settings > Mi Account
Enter your phone number adapted to prefix and create an account (if not yet done).
Make sure phone Mi Account is active, in Settings, besides Mi account is written an identifier.
Go to Settings > Additional settings > Developer options and scroll to Mi Unlock Status item.
Permission required, Agree
### Make sure Wifi is off and mobile data on, then tap on Add account and device, then Got it.
### As written, don't sign out of Mi account, perform factory reset or erase system data for now.
### Keep calm and carry on.
Now open the \Mi Unlock subfolder from my pack.
Launch miflash_unlock.exe ad administrator: right click on .exe > Run as administrator
Agree to terms.
Login to your Mi account (with phone number prefixed or email)
Confirm login with SMS verification.
### Alternative: Open this webpage from your PC: https://en.miui.com/unlock/
### Click on Unlock now, then Download Mi Unlock archive. Unzip and refer to previous steps.
Back to phone, turn it off.
Then hold Volume down + Power buttons until phone vibrates and displays Fastboot screen.
Connect phone to USB.
Back to PC, Mi Unlock now says "Phone connected".
Unlock button is available, click on it and confirm with Unlock anyway.
Wait until Unlocked successfully is displayed.
Click on Reboot phone.
Unlocked is written at the bottom of screen during boot.
### Need to quit Fastboot mode ? Hold Power until phone vibrates and restarts.
5) FLASH TWRP RECOVERY
Back to Android, go to Settings > Additional settings > Developer options,
switch OEM unlocking ON and USB debugging ON.
Connect phone to PC.
Open a Windows command prompt on the /flash subfolder folder you unziped earlier:
select folder with left click, right click while holding SHIFT on keyboard > Open command windows here
In command, enter
Code:
adb devices
Commands starts adb and returns: bfacf0c80104 unauthorized
On the phone, Allow USB debugging and send command again.
Command now returns: bfacf0c80104 device
Now enter
Code:
adb reboot bootloader
Phone restarts in bootloader/fastboot mode.
Enter
Code:
fastboot devices
Command returns: bfacf0c80104 fastboot
### If not, you may try to reinstall USB drivers or try another PC.
Now enter
Code:
fastboot flash recovery twrp-3.6.2_9-0-mido.img
Command returns: Finished. Total time: 1.540s
Now enter
Code:
fastboot boot twrp-3.6.2_9-0-mido.img
and wait while TWRP recovery boots.
TWRP asks: Decrypt data, tap on Cancel.
then Swipe to Allow Modifications.
Leave phone connected to PC.
We must remove encryption to access partitions.
From TWRP Home screen, go to Wipe > Format Data. This will remove all data on phone.
Type yes and confirm with bottom right icon.
6) BACKUP SYSTEM
Now go to Home screen > Backup.
Select System, Vendor, Boot, Bootloader, Firmware and EFS partitions.
Swipe to Backup and wait during Backup.
Back to Home > Mount.
Using Windows Explorer, access Redmi Note 4 and copy the TWRP folder from Internal Storage folder to somewhere safe.
Then copy LineageOS 19.1 and gapps.zip (+ magisk if you want root) to the same phone's Internal Storage folder.
### Copy both zip files straightforward. Don't unzip archives.
7) FLASH ANDROID 12.1
Once again Swipe to Allow Modifications.
Go to Install > lineage*.zip,
then Add more zips: mind*.zip.
### Optional: to flash Magisk root, go to Reboot > Recovery. Then Install > Magisk*.zip
Go to Reboot > System
8) ROOT ACCESS AND DEVELOPER MENU (OPTIONAL)
With Magisk, you are root once phone is started. No extra manipulation needed.
Superuser permissions can be managed from Magisk Manager app (it was flashed during Magisk flash. Or get it https://github.com/topjohnwu/Magisk/releases).
You can now remove install files from Internal storage.
For developer menu:
open the Settings menu, select "About Phone".
Tap on the "Build number" entry seven times. You should be notified, that the developer settings are now active.
Now go to Settings menu > System > Developer settings.
That's it.
Enjoy,
djibe
Thanks: Zeelog, @anandsvm, Aryan Kedare, @xtrymind @flex1911, LineageOS team, TWRP team, MindTheGApps team
Thanks for this... Will try it in 2-3 days
[email protected] said:
Thanks for this... Will try it in 2-3 days
Click to expand...
Click to collapse
Hi,
Any feedback is very welcome.
Normally you have all you need to hack it.
Enjoy
Will payment apps work after installing magisk? like Gpay, PhonePe
Also will it take 7 days to unlock bootloader?
[email protected] said:
Will payment apps work after installing magisk? like Gpay, PhonePe
Also will it take 7 days to unlock bootloader?
Click to expand...
Click to collapse
Hi, no idead for payment.
But MagiskHide normally does the trick.
Unlock bootloader is fast with all the tools in my pack.
[email protected] said:
Will payment apps work after installing magisk? like Gpay, PhonePe
Also will it take 7 days to unlock bootloader?
Click to expand...
Click to collapse
Root is optional.
Can't get majisk install after several times can't install it tried for super su but that too not installing in los 18.1
Jn1441 said:
Can't get majisk install after several times can't install it tried for super su but that too not installing in los 18.1
Click to expand...
Click to collapse
Hi, what is the error during flash in TWRP ?
Error1 displayed but after reflashing with mindgapps majisk is working now
Jn1441 said:
Error1 displayed but after reflashing with mindgapps majisk is working now
Click to expand...
Click to collapse
Cool, enjoy. The phone is still good
A very nice and clean tutorial, thanks for that!
I already unlocked bootloader with another tutorial and for now I will leave the device on the last stock firmware. But I already tested magisk. It's very new to me. The last phone I flashed is some years ago and I only knew SuperSU.
The Note 4 is only a "second device" and I won't use it as a daily driver. But it's fun to play around with it and test some things.
@djibe89 Good hint, that I have to use an older rom as an intermediate step to avoid problem, this is new to me.
Also I wondered when I looked up the partitions to backup. There are 15 (!?) partitions (Pics attached). You are writing, that following partitions have to be backed up: System, Vendor, Boot, Bootloader, Firmware and EFS partitions.
When I flash lineage and then want to go back, can I just restore the partitions? What happens to the other partitions when I flash a rom? Will they be deleted? Some years ago a phone just had 4 or 5 partitions...
Hi @tito_puente, you can start from step 7 to enjoy a clean Note 4.
Many thanks for the guide. Worked well. Can I remove Magisk to unroot or would I need to start Over?
the_real_grumpazoid said:
Many thanks for the guide. Worked well. Can I remove Magisk to unroot or would I need to start Over?
Click to expand...
Click to collapse
Hi, you can uninstall from the Magisk app
Installation
The Magic Mask for Android
topjohnwu.github.io
Great guide, Im new to flashing roms and this seems understandable. Is this usable for Xiaomi Redmi Note 4x (snapdragon)?
nysrin said:
Great guide, Im new to flashing roms and this seems understandable. Is this usable for Xiaomi Redmi Note 4x (snapdragon)?
Click to expand...
Click to collapse
Hi,
Yes.
Like written in the Title, it is for the snapdragon version, Aka 4X
Ooh i did not know the only difference between the note 4 and note 4x is that the 4x uses snapdragon.
The reason I was doubting is that I got a different device ID so I thought i my phone is a different model
List of devices attached
e640de900903 device
Click to expand...
Click to collapse
I will proceed later tonight, thank you for your quick response.
djibe89 said:
[GUIDE/TUTORIAL/HOWTO] Xiaomi Redmi Note 4 Snapdragon SOC (codename mido) stock to Android 11 R / LineageOS 18.1
Complete guide to install Android 11 on your Xiaomi Redmi Note 4 (Snapdragon).
This tutorial only applies to this model, to check the correct version:
in Android, go to Settings > About phone, make sure Device model is Redmi Note 4.
It must be Snapdragon: below Device model, CPU must be Octa-core Max 2.0Ghz
### If CPU is not Octa-core Max 2.0Ghz, you have the Mediatek version (codename Nikel), see here:
https://forum.xda-developers.com/f/xiaomi-redmi-note-4-mediatek-roms-kernels-reco.5784/
### If phone is not Redmi Note 4, quit this tutorial
CHANGELOG ----------------------------------------
v1. Initial release
1 ) WHAT YOU NEED
- djibe Redmi Note 4 pack: https://bit.ly/djibe-redminote4-pack
(contains all you need: USB drivers + Mi Unlock tool + fastboot & adb + TWRP Recovery 3.5.0_9-0 + OrangeFox recovery + Magisk root)
+ ROM LineageOS Unofficial 17.1: https://forum.xda-developers.com/t/ota-3-18-4-9-unofficial-lineageos-17-1-mido.4039907/
Download latest build: https://androidfilehost.com/?w=files&flid=309016&sort_by=date&sort_dir=DESC
Yes we need both LineageOS (LOS) ROMS !
+ ROM LineageOS Unofficial 18.1: https://forum.xda-developers.com/t/...ineageos-18-1-mido-vanilla-by-zeelog.4186179/
Download latest build: https://github.com/zeelog/OTA/releases
+ FlameGApps Basic: https://sourceforge.net/projects/flamegapps/files/arm64/android-11/BETA/
2 ) INSTALL DRIVERS
Go to the folder you unzipped earlier.
navigate to usb_driver_r13-windows > usb_driver.
Right click on android_winusb.inf and select Install. Confirm with OK.
Restart Windows.
3 ) BACKUP YOUR DATA
Make sure Google/provider account is synchronized.
Backup photos, documents, contacts before going any further (ex: use the backupyourmobile app).
Connect phone to PC, search for all .jpg, .mp3, .mp4 files on your phone and retrieve data.
4 ) UNLOCK BOOTLOADER
### Before going further, you need the latest official firmware.
Go to Settings > About phone.
MIUI version must be 11.0.2.0 (NCFMIXM).
Unlock Developer settings:
Tap 7 times on MIUI version item.
If not: connect to Wifi, tap on System update > Check for updates.
### System won't update ? Download latest firmware from here: https://xiaomifirmwareupdater.com/firmware/mido/
MIUI Account
Insert your SIM card.
Enter Sim PIN and turn off wifi, turn on mobile data and sync.
Go to Settings > Mi Account
Enter your phone number adapted to prefix and create an account (if not yet done).
Make sure phone Mi Account is active, in Settings, besides Mi account is written an identifier.
Go to Settings > Additional settings > Developer options and scroll to Mi Unlock Status item.
Permission required, Agree
### Make sure Wifi is off and mobile data on, then tap on Add account and device, then Got it.
### As written, don't sign out of Mi account, perform factory reset or erase system data for now.
### Keep calm and carry on.
Now open the \Mi Unlock subfolder from my pack.
Launch miflash_unlock.exe ad administrator: right click on .exe > Run as administrator
Agree to terms.
Login to your Mi account (with phone number prefixed or email)
Confirm login with SMS verification.
### Alternative: Open this webpage from your PC: https://en.miui.com/unlock/
### Click on Unlock now, then Download Mi Unlock archive. Unzip and refer to previous steps.
Back to phone, turn it off.
Then hold Volume down + Power buttons until phone vibrates and displays Fastboot screen.
Connect phone to USB.
Back to PC, Mi Unlock now says "Phone connected".
Unlock button is available, click on it and confirm with Unlock anyway.
Wait until Unlocked successfully is displayed.
Click on Reboot phone.
Unlocked is written at the bottom of screen during boot.
### Need to quit Fastboot mode ? Hold Power until phone vibrates and restarts.
5 ) FLASH TWRP RECOVERY
Back to Android, go to Settings > Additional settings > Developer options,
switch OEM unlocking ON and USB debugging ON.
Connect phone to PC.
Open a Windows command prompt on the /flash subfolder folder you unziped earlier:
select folder with left click, right click while holding SHIFT on keyboard > Open command windows here
In command, enter
Code:
adb devices
Commands starts adb and returns: bfacf0c80104 unauthorized
On the phone, Allow USB debugging and send command again.
Command now returns: bfacf0c80104 device
Now enter
Code:
adb reboot bootloader
Phone restarts in bootloader/fastboot mode.
Enter
Code:
fastboot devices
Command returns: bfacf0c80104 fastboot
### If not, you may try to reinstall USB drivers or try another PC.
Now enter
Code:
fastboot flash recovery twrp-3.5.0_9-0-mido.img
Command returns: Finished. Total time: 1.540s
Now enter
Code:
fastboot boot twrp-3.5.0_9-0-mido.img
and wait while TWRP recovery boots.
TWRP asks: Decrypt data, tap on Cancel.
then Swipe to Allow Modifications.
Leave phone connected to PC.
We must remove encryption to access partitions.
From TWRP Home screen, go to Wipe > Format Data. This will remove all data on phone.
Type yes and confirm with bottom right icon.
6 ) BACKUP SYSTEM
Now go to Home screen > Backup.
Select System, Vendor, Boot, Bootloader, Firmware and EFS partitions.
Swipe to Backup and wait during Backup.
Back to Home > Mount.
Using Windows Explorer, access Redmi Note 4 and copy the TWRP folder from Internal Storage folder to somewhere safe.
Then copy OrangeFox and LineageOS 17.1 to the same phone's Internal Storage folder.
7 ) FLASH ORANGEFOX RECOVERY
Now go to Home screen > Install
Select OrangeFox*.zip and Swipe to confirm Flash, recovery will auto-reboot.
8 ) FLASH LINEAGEOS 17.1
Coming from Android 7, we need to flash Android 10 to prevent bugs with fingerprint or bootloops...
Once again Swipe to Allow Modifications.
On bottom navigation bar, tap on Files.
Then select lineage-17.1*.zip and Swipe to Install.
Then tap on Wipe Caches > Swipe to wipe,
then Reboot System.
Wait during boot.
Quickly setup Android and try to skip configs.
Once finished, turn phone off.
9 ) FLASH LINEAGEOS 18.1
Boot in Recovery mode:
Hold Power + Volume+ until Mi logo shows up and release buttons.
Wait during OrangeFox recovery boot.
On bottom navigation bar, tap on Wipe.
Select Dalvik/ART cache, Cache, System, Data and Vendor partitions,
then Swipe to Wipe.
Back to Home > Menu (right icon of navigation bar) > Mount
Copy lineage-18.1*.zip, FlameGApps, Magisk*.zip and Magisk Manager*.apk on Internal Storage.
Then back to Files menu (left item of navigation bar).
Tap in lineage > Add to Queue > Magisk > Add to Queue > FlameGApps and Swipe to Install.
When flash is over > Wipe Caches and Reboot System.
10 ) ROOT ACCESS AND DEVELOPER MENU
With Magisk, you are root once phone is started. No extra manipulation needed.
Superuser permissions can be managed from Magisk Manager app (it was flashed during Magisk flash. Or get it https://github.com/topjohnwu/Magisk/releases).
You can now remove install files from Internal storage.
For developer menu:
open the Settings menu, select "About Phone".
Tap on the "Build number" entry seven times. You should be notified, that the developer settings are now active.
Now go to Settings menu > System > Developer settings.
That's it.
Enjoy,
djibe
Thanks: anandsvm, Zeelog, Aryan Kedare, @xtrymind @flex1911, LineageOS team, TWRP team, OrangeFox recovery team
Click to expand...
Click to collapse
Hi @syzw,
Can you reinstall USB drivers in Administrator mode ?
Or try another computer ?
djibe89 said:
Hi @syzw,
Can you reinstall USB drivers in Administrator mode ?
Or try another computer ?
Click to expand...
Click to collapse
I updated USB drivers in device manager of PC.
Now I am enjoying A11.
Thanks.

[HOWTO]/[ROM] [UNOFFCIAL] How to Flash Lineage OS 19.0

Here is a quick how-to guide to flash LineageOS 19.0 to the A51​
Disclaimer: I am not the maintainer of any of the files I link to here. I just wanted to share my experience to make the process of Flashing los19 to the a51 easier for others.
Prerequisites:
1. Unlocked Bootloader
This step is crucial. You need to unlock the bootloader of the A51 before trying any of this. If not, you are likely to brick your device.​1.1. Unlock developer mode by standard procedure: Settings > Info > Tab 7 times on build number​1.2. Enable USB debugging in Developer Options​1.3. Enable OEM unlocking in Developer Options -> To see OEM unlock option I needed to connect to my WIFI, then set the phone date manually to March 7th 2019. Only then the OEM unlock option became visible in Developer Options. Yes, this is super dumb and inconvenient...​1.4 After triggering OEM unlock option shutdown your phone.​1.5 Enter Download mode by: Pressing Volume+ and Volume - while at the same time plugging in the USB cable that is already in your PC.​1.6. To finally unlock bootloader, you will see a green screen on which you need to press Vol + for some time. THIS WILL VOID YOUR WARRANTY. It will also erase all data on your phone!​1.7 After reboot repeat steps 1.1. - 1.5. again. This time you can actually enter download mode by pressing Vol + shortly on the green screen.​
2. Flash Twrp
You can now flash TWRP via Odin. The TWRP img I used is here: https://www.mediafire.com/file/0h14t0263oujhna/TWRP-11-3.6.1-a51-20220321-1406-hotfix.tar/file. I flashed it as AP. Make sure to uncheck Auto reboot before flashing.​When flashing is complete hold Vol - and Power until reboot.​Immediately when rebooting hold Vol + and Power until Samsung logo appears, then let Power go but hold Vol + to enter TWRP.​
3. Actual Flashing:
3.1. Necessary Files:​Make sure to load all files necessary to your SD before flashing:​ChonDoe_Flasher, Disable_Dm_Verity, Multidisabler, LOS-Imagefile, Magisk(optional)​​As for the LOS Image I used this file here, which already includes gapps:​lineage-19.0-20220211-UNOFFICIAL-treble_arm64_bgS-vndklite.img​​If you don't want gapps pick an image that says "BvS" instead of "bgs"​​3.2. You need to move your LOS-Image to the same folder as ChonDoe_Flasher and rename the file to "system.img"​
3.3 Flashing Sequence:
In TWRP Follow this sequence:
3.3.1. Wipe data, dalvik, cache​3.3.2. flash disable_dm_verity​3.3.3. flash multidisabler​3.3.4. Wipe internal storage (Backup might be advisable, if you didn't format data anyways)​3.3.5. reboot recovery​3.3.6. flash chondone with lineage-19.0-20220211-UNOFFICIAL-treble_arm64_bgS-vndklite.img in the same folder renamed to system.mg​3.3.7. Wipe data​3.3.8. Reboot​
That should be it. First startup takes some time, your phone should boot to LOS 19.
4. Anger Management
If you softbrick your device you can try to go back to stock rom by accessing download mode and flashing it via Odin. Will take some fiddling around with the button combinations.
If you hardbrick your device don't hold me responsible and good luck to you!
Thanks to
Kyau Sana, Vadim Kupriyanov, Knoyan GTR-X and Sara Lins and other, from the telegram-group, who helped me figure out the process.
Reserved 1
Reserved 2
Lineage 19 flash worked but after flashing my TWRP recovery bootloops (flashing twrp logo).
TWRP that loops is twrp-a51-3.5.0_10-1_ianmacd.
Do you have a working TWRP for this version of Lineage ?
Tried TWRP v3.6.1 A51 tree but it doesn't work and boots into download mode with "DT Entry not found / DT Load Failed / VB Meta sign errors"
exault said:
Lineage 19 flash worked but after flashing my TWRP recovery bootloops (flashing twrp logo).
TWRP that loops is twrp-a51-3.5.0_10-1_ianmacd.
Do you have a working TWRP for this version of Lineage ?
Tried TWRP v3.6.1 A51 tree but it doesn't work and boots into download mode with "DT Entry not found / DT Load Failed / VB Meta sign errors"
Click to expand...
Click to collapse
I added a download link to the TWRP img I used to my initial post. Let me know if it works.
cheers
DerTopher said:
I added a download link to the TWRP img I used to my initial post. Let me know if it works.
cheers
Click to expand...
Click to collapse
Nope TWRP does not work. When using the one you linked (as all other 3.6.1 ones) it just jumps back to download mode with DT Entry not found & VBMeta not signed errors.
ALL sensors ok ?
Fingerprint ok ? In this ROM
exault said:
Nope TWRP does not work. When using the one you linked (as all other 3.6.1 ones) it just jumps back to download mode with DT Entry not found & VBMeta not signed errors.
Click to expand...
Click to collapse
Sorry to hear mate. Unfortunately I cannot hell you solve this issue. There is a telegram channel for custom roms on the A51 with many motivated people. One of them might have the answer you need!
See: https://t.me/samsunga51
If you find it, please post it, so others can profit from it. With your agreement I would also like to add info about the solution - should you find it - to my initial post.
hacker812c said:
ALL sensors ok ?
Fingerprint ok ? In this ROM
Click to expand...
Click to collapse
Don't know about fingerprint as I do not want to provide biometric data to my phone. Maybe someone else using the ROM can answer this; Or you, if you decide to flash it post your results.
Apart from that I have not had any problems with the ROM apart from the following:
-The resulotion of the native lineage camera app is not satisfactory. When I find an app that works better, I'll let you know.
- Restarting the phone after empty battery requires a soft reset sometimes (power+vol -)
-> A solution to this problem might be given in this post. Will try it later.
Thank you, @DerTopher , but unfortunately the link to your LOS file does not work any more. How do I get the file now?
THIS GUIDE ONLY WORKS ON ANDROID 12!!!
sunnyy15 said:
I have concluded all my experiments, and now I can confirm that the "twrp-a51-3.5.0_10-1_ianmacd.tar" on this website only works for Android 10 as instructed by Admin. This does not for Android 11. For Android 11 you have to flash a different file called "Twrp+vbmeta_A11.tar". Details are given in the following link: https://forum.xda-developers.com/t/...-sm-a515f-one-ui-3-0-dub1-android-11.4231543/
Click to expand...
Click to collapse
@DerTopher , please change your OP to specify that this guide ONLY works for Android 12. I just bootlooped my device when trying this on Android 10 stock firmware
See this excelent post for more info: https://forum.xda-developers.com/t/...-ui-2-5-ctj1-android-10.4213443/post-84750027
Anyone knows how to remove the native SU, so that magisk doesn't complain about "abnormal state" su file ?
when i flash something in twrp i have an error failed to mount '/odm4 no such file or directory Can some help me please i am stuck here
DerTopher said:
Here is a quick how-to guide to flash LineageOS 19.0 to the A51​
Disclaimer: I am not the maintainer of any of the files I link to here. I just wanted to share my experience to make the process of Flashing los19 to the a51 easier for others.
Prerequisites:
1. Unlocked Bootloader
This step is crucial. You need to unlock the bootloader of the A51 before trying any of this. If not, you are likely to brick your device.​1.1. Unlock developer mode by standard procedure: Settings > Info > Tab 7 times on build number​1.2. Enable USB debugging in Developer Options​1.3. Enable OEM unlocking in Developer Options -> To see OEM unlock option I needed to connect to my WIFI, then set the phone date manually to March 7th 2019. Only then the OEM unlock option became visible in Developer Options. Yes, this is super dumb and inconvenient...​1.4 After triggering OEM unlock option shutdown your phone.​1.5 Enter Download mode by: Pressing Volume+ and Volume - while at the same time plugging in the USB cable that is already in your PC.​1.6. To finally unlock bootloader, you will see a green screen on which you need to press Vol + for some time. THIS WILL VOID YOUR WARRANTY. It will also erase all data on your phone!​1.7 After reboot repeat steps 1.1. - 1.5. again. This time you can actually enter download mode by pressing Vol + shortly on the green screen.​
2. Flash Twrp
You can now flash TWRP via Odin. The TWRP img I used is here: https://www.mediafire.com/file/0h14t0263oujhna/TWRP-11-3.6.1-a51-20220321-1406-hotfix.tar/file. I flashed it as AP. Make sure to uncheck Auto reboot before flashing.​When flashing is complete hold Vol - and Power until reboot.​Immediately when rebooting hold Vol + and Power until Samsung logo appears, then let Power go but hold Vol + to enter TWRP.​
3. Actual Flashing:
3.1. Necessary Files:​Make sure to load all files necessary to your SD before flashing:​ChonDoe_Flasher, Disable_Dm_Verity, Multidisabler, LOS-Imagefile, Magisk(optional)​​As for the LOS Image I used this file here, which already includes gapps:​lineage-19.0-20220211-UNOFFICIAL-treble_arm64_bgS-vndklite.img​​If you don't want gapps pick an image that says "BvS" instead of "bgs"​​3.2. You need to move your LOS-Image to the same folder as ChonDoe_Flasher and rename the file to "system.img"​
3.3 Flashing Sequence:
In TWRP Follow this sequence:
3.3.1. Wipe data, dalvik, cache​3.3.2. flash disable_dm_verity​3.3.3. flash multidisabler​3.3.4. Wipe internal storage (Backup might be advisable, if you didn't format data anyways)​3.3.5. reboot recovery​3.3.6. flash chondone with lineage-19.0-20220211-UNOFFICIAL-treble_arm64_bgS-vndklite.img in the same folder renamed to system.mg​3.3.7. Wipe data​3.3.8. Reboot​
That should be it. First startup takes some time, your phone should boot to LOS 19.
4. Anger Management
If you softbrick your device you can try to go back to stock rom by accessing download mode and flashing it via Odin. Will take some fiddling around with the button combinations.
If you hardbrick your device don't hold me responsible and good luck to you!
Thanks to
Kyau Sana, Vadim Kupriyanov, Knoyan GTR-X and Sara Lins and other, from the telegram-group, who helped me figure out the process.
Click to expand...
Click to collapse
Hello friends, how are you? Could someone post the ROM link again, the link is broken.
lineage-19.0-20220211-UNOFFICIAL-treble_arm64_bgS
dmudo said:
Hello friends, how are you? Could someone post the ROM link again, the link is broken.
lineage-19.0-20220211-UNOFFICIAL-treble_arm64_bgS
Click to expand...
Click to collapse
Andy Yan's personal builds // GSI
Download Andy Yan's personal builds // GSI for free. None
sourceforge.net
i have a question
in step 3.3.6. flash chondone with lineage-19.0-20220211-UNOFFICIAL-treble_arm64_bgS-vndklite.img in the same folder renamed to system.mg
i try to flash chondoe and i tried to add de system.img, and it prompt me to what partition
This are the partitions that apears to me
- Boot
- DTBO Image
- Optics Image
- Prism Image
- Recovery
- Param
- VBmeta Samsung
- VBMeta Samsung
- Super (system vendor product odm)
Does anyone know where ?
DerTopher said:
Here is a quick how-to guide to flash LineageOS 19.0 to the A51​
Disclaimer: I am not the maintainer of any of the files I link to here. I just wanted to share my experience to make the process of Flashing los19 to the a51 easier for others.
Prerequisites:
1. Unlocked Bootloader
This step is crucial. You need to unlock the bootloader of the A51 before trying any of this. If not, you are likely to brick your device.​1.1. Unlock developer mode by standard procedure: Settings > Info > Tab 7 times on build number​1.2. Enable USB debugging in Developer Options​1.3. Enable OEM unlocking in Developer Options -> To see OEM unlock option I needed to connect to my WIFI, then set the phone date manually to March 7th 2019. Only then the OEM unlock option became visible in Developer Options. Yes, this is super dumb and inconvenient...​1.4 After triggering OEM unlock option shutdown your phone.​1.5 Enter Download mode by: Pressing Volume+ and Volume - while at the same time plugging in the USB cable that is already in your PC.​1.6. To finally unlock bootloader, you will see a green screen on which you need to press Vol + for some time. THIS WILL VOID YOUR WARRANTY. It will also erase all data on your phone!​1.7 After reboot repeat steps 1.1. - 1.5. again. This time you can actually enter download mode by pressing Vol + shortly on the green screen.​
2. Flash Twrp
You can now flash TWRP via Odin. The TWRP img I used is here: https://www.mediafire.com/file/0h14t0263oujhna/TWRP-11-3.6.1-a51-20220321-1406-hotfix.tar/file. I flashed it as AP. Make sure to uncheck Auto reboot before flashing.​When flashing is complete hold Vol - and Power until reboot.​Immediately when rebooting hold Vol + and Power until Samsung logo appears, then let Power go but hold Vol + to enter TWRP.​
3. Actual Flashing:
3.1. Necessary Files:​Make sure to load all files necessary to your SD before flashing:​ChonDoe_Flasher, Disable_Dm_Verity, Multidisabler, LOS-Imagefile, Magisk(optional)​​As for the LOS Image I used this file here, which already includes gapps:​lineage-19.0-20220211-UNOFFICIAL-treble_arm64_bgS-vndklite.img​​If you don't want gapps pick an image that says "BvS" instead of "bgs"​​3.2. You need to move your LOS-Image to the same folder as ChonDoe_Flasher and rename the file to "system.img"​
3.3 Flashing Sequence:
In TWRP Follow this sequence:
3.3.1. Wipe data, dalvik, cache​3.3.2. flash disable_dm_verity​3.3.3. flash multidisabler​3.3.4. Wipe internal storage (Backup might be advisable, if you didn't format data anyways)​3.3.5. reboot recovery​3.3.6. flash chondone with lineage-19.0-20220211-UNOFFICIAL-treble_arm64_bgS-vndklite.img in the same folder renamed to system.mg​3.3.7. Wipe data​3.3.8. Reboot​
That should be it. First startup takes some time, your phone should boot to LOS 19.
4. Anger Management
If you softbrick your device you can try to go back to stock rom by accessing download mode and flashing it via Odin. Will take some fiddling around with the button combinations.
If you hardbrick your device don't hold me responsible and good luck to you!
Thanks to
Kyau Sana, Vadim Kupriyanov, Knoyan GTR-X and Sara Lins and other, from the telegram-group, who helped me figure out the process.
Click to expand...
Click to collapse
3.3.7 format data or wipe?

Categories

Resources