AOSP-11 How to install SM-J8 - Miscellaneous Android Development

/*
* Your warranty is no longer valid.(or it isn't ? who am I to judge)
*
* I am not responsible for bricked devices, dead SD cards, broken touchscreens,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this package
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
Full-AOSP11.img or Go-AOSP.img How to install SM-J8 ~vks
DISCLAIMAR: It is a gsi and not a ROM. I am not responsible for anything ,
proceed at your own risk , All files are properties of their respective owner.
Full-AOSP11.img
It is just flashed with playstore and can use any app
Go-AOSP11.img
It is pre-flashed with Go-apps , and cannot install
Google-full nor the assistant
What works (TESTED ON SM-J810G)
-Calls , SMS
-Data (Enable LTE in data setting , default edge)
-Fingerprint
-Both Camera and Flash
-Audio
-Screen Mirroring
-Basically everything
What dosen't work
-No bugs , Everything works , stable too.
IMPORTANT:You will need an android10 stock vendor.
The incuded .zip contains
-Odin3
-Odin Flashable TWRP , By @goldfish07 (Telegram grpoup = https://t.me/galaxyj8 )
-Nik-gapps-pico-arm64-11.zip (Propietary)(yes it is arm64 , and yes it is not gapps)
[Not there in Go-edition]
-Full-AOSP11.img or Go-AOSP.img (Non compressed/zipped iso)[what you chose]
-Device-ID.apk
Unzip the container file , and copy all these to sd card or an otg pendrive(recomended)
, PC MTP Dosent work in recovery.
Procedure.
1. Flash TWRP with ODIN (Lookup for procedure , and install drivers)
2. Boot into Custom Recovery
3. Wipe > Format_Data > Type yes (Swipe to reset dosen't work, data backup-
-would be a good idea)
4.Navigate to your copied files , select Flash image > V, Flash in system.
[Skip steps 5-6 for Go-edition]
5.Go to wipe (after flash), Advanced wipe > System > Repair or change File System >-
-Resize File System (This Prevents Error70 Insufficient Space in Gapps)
6.Flash NikGapps (select Flah from Zip) , If flash shows Error70 , Repeat From Step 3.
7.Reboot Enjoy
IMPORTANT:-
How to Fix the “Device is not Certified by Google” Error
[Your device will still say it is uncertified in the Google Play Store settings.
This is normal. All this fix does is white-list your uncertified device so you
can still use Google apps and services.]
Steps.
Install the Device+ID.apk (Included)
Open the app , Tap the Google Service Framework (GSF)
Copy it
Go to this website-
Sign in - Google Accounts
Sign-in
Paste/Copy GSF code in the box
Complete captcha (sorry dosen't work for robots)
Register (The box goes red , it's totally fine)
Reboot
After a few mins you should be able to sign in
(Don't worry , it will keep saying that not certified but after
a while it will let you sign in, and turn off notification for play
protect to remove annoying notification)
For more info-
How to Fix the "Device is not Certified by Google" Error
Are you having trouble with signing in to your Google account? Can't access the Google Play Store or use Google apps like Gmail, Maps, Play Music, or Photos? Seeing a "device is not certified by Google" error? Here's how to fix that.
www.xda-developers.com
Fixed:
1.Gapps Flash Error70 No space
2.Device Is not certified error
Notice:
1.Maps keep closing , Though maps-go , waze work fine.(Probably a google issue)
2.Bootanimation cannot be changed (Though if you find the folder you can)
3.Stock-Camera saves photos sideways , use Googlecamera.apk or any other to fix issue.
4.Play Services can be broken
5.Check for new releases on source
@vanshksingh
use latest nikgapps from https://sourceforge.net/projects/nikgapps/files/Releases/NikGapps-R/
to resolve play services bug , and / or other bugs
SAMSUNG J8/On8 OFFICIAL
Da Rules : 1. English and Hindi Only 2. Offtopic = a lil bit. 3. ETA = allowed 4. Respect All Admins 5. Reviewers always allowed.
t.me

Is will work on Samsung J810Y/DS?

Related

First Cook rom M30s

NEW ROM (STOCK-POWER_V3):
* Based on BTF3 firmware.(june update)
* Debloated( except samsung store and themes)
* Deodexed
* DM-verify is removed ( no need to flash dm-verify zip).
* works with Alpha Kernel.
* Added apps.
1. Blokada.
2. Aurora store
3. Aurora droid
4. Battery guru
5. AOD notify
6. Netspeed indicator.
7. Magisk manager (7.5.1)
8. Hktweaks
9. Nicelock & Downloader
10. Samsung Music
11. Vanced black (15.* Something)
12. MicroG (only for vanced)
13. App booster & clock face (goodlock)
14. Edge screen.
15. Screen recorder.(for peeps who game, wants to record lessons.)
Notes :
It takes upto 5min (seriously). So don't panic if it looks stuck when flashing.
When setting up the device initially. Samsung music and battery guru force closes. But works after completing the initial setup is finished.
Instructions :
If you are in previous versionS (BTD1 or BTC6) and have TWRP. flash normally ( wipe system, data, cache, vendor)
If you are in pie first upgrade to Q then flash via TWRP.
warning : I am not responsible for any bricking of device. If you don't know how to flash or never used TWRP ask in the group FIRST.
LINK :
https://drive.google.com/file/d/1cD-rwRTtNUQqg-PXKF5U1UTiVU8bPtOI/view
Source: telegram group @SamsungGalaxyM30sUpdates
not working with SM-M3070 china version ram 6G/128GB with android 10, flash error, maybe not use for china version
i reflash use havoc 3.7 think good, lineage os 1.7 not good
Google drive says this file isnt avaliable
thanhchaua6 said:
NEW ROM (STOCK-POWER_V3):
* Based on BTF3 firmware.(june update)
* Debloated( except samsung store and themes)
* Deodexed
* DM-verify is removed ( no need to flash dm-verify zip).
* works with Alpha Kernel.
* Added apps.
1. Blokada.
2. Aurora store
3. Aurora droid
4. Battery guru
5. AOD notify
6. Netspeed indicator.
7. Magisk manager (7.5.1)
8. Hktweaks
9. Nicelock & Downloader
10. Samsung Music
11. Vanced black (15.* Something)
12. MicroG (only for vanced)
13. App booster & clock face (goodlock)
14. Edge screen.
15. Screen recorder.(for peeps who game, wants to record lessons.)
Notes :
It takes upto 5min (seriously). So don't panic if it looks stuck when flashing.
When setting up the device initially. Samsung music and battery guru force closes. But works after completing the initial setup is finished.
Instructions :
If you are in previous versionS (BTD1 or BTC6) and have TWRP. flash normally ( wipe system, data, cache, vendor)
If you are in pie first upgrade to Q then flash via TWRP.
warning : I am not responsible for any bricking of device. If you don't know how to flash or never used TWRP ask in the group FIRST.
LINK :
https://drive.google.com/file/d/1cD-rwRTtNUQqg-PXKF5U1UTiVU8bPtOI/view
Source: telegram group @SamsungGalaxyM30sUpdates
Click to expand...
Click to collapse
Hi Download link is not available

LineageOS 17 How to install SM-J8

/*
* Your warranty is no longer valid.(or it isn't ? who am I to judge)
*
* I am not responsible for bricked devices, dead SD cards, broken touchscreens,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this package
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
LineageOS 17 How to install SM-J8 ~vks
DISCLAIMAR: It is a gsi and not a ROM. I am not responsible for anything ,
proceed at your own risk , All files are properties of their respective owner.
What works (TESTED ON SM-J810G)
-Calls , SMS
-Data (Enable LTE in data setting , default edge)
-Fingerprint
-Both Camera and Flash
-Audio
-Screen Mirroring
-Basically everything
What dosen't work
-No bugs , Everything works , stable too.
IMPORTANT:You will need an android10 stock vendor.
The incuded .zip contains
-Odin3
-Odin Flashable TWRP , By @goldfish07 (Telegram grpoup = https://t.me/galaxyj8 )
-Tryfix lockscreen.zip
-Magisk v21.zip
-Disable-Dm-Verity.zip
-Open-gapps-pico-arm-10.zip (Propietary)
-Lineage-17.img (Non compressed/zipped iso)
Unzip the container file , and copy all these to sd card or an otg pendrive(recomended)
, PC MTP Dosent work in recovery.
Procedure.
1. Flash TWRP with ODIN (Lookup for procedure , and install drivers)
2. Boot into Custom Recovery
3. Wipe > Format_Data > Type yes (Swipe to reset dosen't work, data backup-
-would be a good idea)
4.Navigate to your copied files , select Flash image > Lineage-17.img , Flash in system.
5.Go to wipe (after flash), Advanced wipe > System > Repair or change File System >-
-Resize File System (This Prevents Error70 Insufficient Space in Gapps)
6.Flash Gapps (select Flah from Zip) , If flash shows Error70 , Repeat From Step 3.
7.Flash Disable-Dm-Verity.zip (To prevent Stuck on boot animation of the os)
8.Flash Magisk v21.zip (To prevent Bootloop to bootloader , and to-
-actually start booting into os ; V20 , V18 dosen't work)
9.Flash Tryfix lockscreen.zip (To get lockscreen secure lock working as well as
fingerprint , and also prevents bootloop due to magisk)
10.Reboot to recovery again , and then to system. (Helps mount files and stuff)
11.Setup and enjoy, to remove the persistent notif , uncheck in setting.
IF YOU NEED ROOT IF IT ISINT THERE ALREADY
1.Reboot to recovery , Flash Magisk v21.zip (Only flash this to prevent bootloop
, and to bootloop to bootloader)
2.Flash Tryfix lockscreen.zip ( To be on the safer side , and prevent bootloop)
3.Enjoy!
Fixed:
1.Bootloop to BootLoader
2.Bootloop
3.Stuck on Bootanimation
4.Secure Lockscreen
5.Gapps Flash Error70 No space
6.FingerPrint
7.Booting
@vanshksingh
SAMSUNG J8/On8 OFFICIAL
Da Rules : 1. English and Hindi Only 2. Offtopic = a lil bit. 3. ETA = allowed 4. Respect All Admins 5. Reviewers always allowed.
t.me
vanshksingh said:
/*
* Your warranty is no longer valid.(or it isn't ? who am I to judge)
*
* I am not responsible for bricked devices, dead SD cards, broken touchscreens,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this package
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
LineageOS 17 How to install SM-J8 ~vks
DISCLAIMAR: It is a gsi and not a ROM. I am not responsible for anything ,
proceed at your own risk , All files are properties of their respective owner.
What works (TESTED ON SM-J810G)
-Calls , SMS
-Data (Enable LTE in data setting , default edge)
-Fingerprint
-Both Camera and Flash
-Audio
-Screen Mirroring
-Basically everything
What dosen't work
-No bugs , Everything works , stable too.
IMPORTANT:You will need an android10 stock vendor.
The incuded .zip contains
-Odin3
-Odin Flashable TWRP , By @goldfish07 (Telegram grpoup = https://t.me/galaxyj8 )
-Tryfix lockscreen.zip
-Magisk v21.zip
-Disable-Dm-Verity.zip
-Open-gapps-pico-arm-10.zip (Propietary)
-Lineage-17.img (Non compressed/zipped iso)
Unzip the container file , and copy all these to sd card or an otg pendrive(recomended)
, PC MTP Dosent work in recovery.
Procedure.
1. Flash TWRP with ODIN (Lookup for procedure , and install drivers)
2. Boot into Custom Recovery
3. Wipe > Format_Data > Type yes (Swipe to reset dosen't work, data backup-
-would be a good idea)
4.Navigate to your copied files , select Flash image > Lineage-17.img , Flash in system.
5.Go to wipe (after flash), Advanced wipe > System > Repair or change File System >-
-Resize File System (This Prevents Error70 Insufficient Space in Gapps)
6.Flash Gapps (select Flah from Zip) , If flash shows Error70 , Repeat From Step 3.
7.Flash Disable-Dm-Verity.zip (To prevent Stuck on boot animation of the os)
8.Flash Magisk v21.zip (To prevent Bootloop to bootloader , and to-
-actually start booting into os ; V20 , V18 dosen't work)
9.Flash Tryfix lockscreen.zip (To get lockscreen secure lock working as well as
fingerprint , and also prevents bootloop due to magisk)
10.Reboot to recovery again , and then to system. (Helps mount files and stuff)
11.Setup and enjoy, to remove the persistent notif , uncheck in setting.
IF YOU NEED ROOT IF IT ISINT THERE ALREADY
1.Reboot to recovery , Flash Magisk v21.zip (Only flash this to prevent bootloop
, and to bootloop to bootloader)
2.Flash Tryfix lockscreen.zip ( To be on the safer side , and prevent bootloop)
3.Enjoy!
Fixed:
1.Bootloop to BootLoader
2.Bootloop
3.Stuck on Bootanimation
4.Secure Lockscreen
5.Gapps Flash Error70 No space
6.FingerPrint
7.Booting
@vanshksingh
SAMSUNG J8/On8 OFFICIAL
Da Rules : 1. English and Hindi Only 2. Offtopic = a lil bit. 3. ETA = allowed 4. Respect All Admins 5. Reviewers always allowed.
t.me
Click to expand...
Click to collapse
What is the android 10 stock vendor and how can i get it?
Can i have the j8 vendor zip file?
j810guser said:
What is the android 10 stock vendor and how can i get it?
Can i have the j8 vendor zip file?
Click to expand...
Click to collapse
The vendor file is already there if you ever had android 10 stock running
vanshksingh said:
The vendor file is already there if you ever had android 10 stock running
Click to expand...
Click to collapse
But in game of roms vid, he says a vendor zip file is required..
And do i have to delete system, data, cache, etc? or do i flash it over stock?
j810guser said:
And do i have to delete system, data, cache, etc? or do i flash it over stock?
Click to expand...
Click to collapse
Vendor is the interface between your hardware and software , and the one sent over OTA sock is what you need , and well if you go do havoc is please follow this guide , just flash havoc instead on lineage
And rest just follow this , I would say don't delete the system flash over it , as it gets formated anyways
j810guser said:
But in game of roms vid, he says a vendor zip file is required..
Click to expand...
Click to collapse
Clearly you don't , or well atleast in this flash it's already there , if you had android 10 stock
Thanks!
Is a kernel available for kali nethunter on galaxy j8?
reboots to download mode or stuck in powered by android screen.. and i can't mount internal storage in orangefox...
Nevermind! THANKS SO MUCH!!!!
j810guser said:
Nevermind! THANKS SO MUCH!!!!
Click to expand...
Click to collapse
The mount problem can be fixed by rebooting to recovery and yes you need to flash magisk and dm verity and lockscreen fix for the first non-stick boot , or after a stock reflash
Do you have the device tree of samsung j8? Please... I need android 10, 9, 8.1, or 7... Thanks!
Darklord071 said:
Do you have the device tree of samsung j8? Please... I need android 10, 9, 8.1, or 7... Thanks!
Click to expand...
Click to collapse
SAMSUNG J8/On8 OFFICIAL
Da Rules : 1. English and Hindi Only 2. Offtopic = a lil bit. 3. ETA = allowed 4. Respect All Admins 5. Reviewers always allowed.
t.me
here you can ask from @goldfish07 , he can help in this .
vanshksingh said:
SAMSUNG J8/On8 OFFICIAL
Da Rules : 1. English and Hindi Only 2. Offtopic = a lil bit. 3. ETA = allowed 4. Respect All Admins 5. Reviewers always allowed.
t.me
here you can ask from @goldfish07 , he can help in this .
Click to expand...
Click to collapse
Can you put me in contact with him? I tried mailing him but no reply... Is it possible for you to make a ubuntu touch port for sm-j810g? Or do you have the device tree? Thanks!
Can you help? Do you have a discord?
Darklord071 said:
Can you put me in contact with him? I tried mailing him but no reply... Is it possible for you to make a ubuntu touch port for sm-j810g? Or do you have the device tree? Thanks!
Click to expand...
Click to collapse
Please
Darklord071 said:
Can you put me in contact with him? I tried mailing him but no reply... Is it possible for you to make a ubuntu touch port for sm-j810g? Or do you have the device tree? Thanks!
Click to expand...
Click to collapse
Please help
vanshksingh said:
SAMSUNG J8/On8 OFFICIAL
Da Rules : 1. English and Hindi Only 2. Offtopic = a lil bit. 3. ETA = allowed 4. Respect All Admins 5. Reviewers always allowed.
t.me
here you can ask from @goldfish07 , he can help in this .
Click to expand...
Click to collapse
help
Darklord071 said:
Please help
Click to expand...
Click to collapse
yes it is possible , you shoul watch live porting video if you wanna attempt , it has many syntax errors so it is not straight forward , you will need to know python a bit to debug

HavocOS How to install SM-J8

/*
* Your warranty is no longer valid.(or it isn't ? who am I to judge)
*
* I am not responsible for bricked devices, dead SD cards, broken touchscreens,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this package
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
HavocOS How to install SM-J8 ~vks
DISCLAIMAR: It is a gsi and not a ROM. I am not responsible for anything ,
proceed at your own risk , All files are properties of their respective owner.
What works (TESTED ON SM-J810G)
-Calls , SMS
-Data (Enable LTE in data setting , default edge)
-Fingerprint
-Both Camera and Flash
-Audio
-Screen Mirroring
-Face-unlock
-Basically everything
What dosen't work
-No bugs , Everything works , stable too.
IMPORTANT:You will need an android10 stock vendor.
DON'T TOUCH VENDOR
The incuded .zip contains
-Odin3
-Odin Flashable TWRP , By @goldfish07 (Telegram grpoup = https://t.me/galaxyj8 )
-Open-gapps-pico-arm-10.zip (Propietary)
[ https://opengapps.org/ ]
-HavocOS.img (Non compressed/zipped iso)
[ https://sourceforge.net/projects/havoc-os/files/a64-ab/ ]
Unzip the container file , and copy all these to sd card or an otg pendrive(recomended)
, PC MTP Dosent work in recovery.
Procedure.
1. Flash TWRP with ODIN (Lookup for procedure , and install drivers)
2. Boot into Custom Recovery
3. Wipe > Format_Data > Type yes (Swipe to reset dosen't work, data backup-
-would be a good idea)
4.Navigate to your copied files , select Flash image > HavocOS.img , Flash in system.
5.Go to wipe (after flash), Advanced wipe > System > Repair or change File System >-
-Resize File System (This Prevents Error70 Insufficient Space in Gapps)
6.Flash Gapps (select Flah from Zip) , If flash shows Error70 , Repeat From Step 3.
7.Reboot and enjoy
Fixed:
1.Gapps Flash Error70 No space
Note:
To fix the glitchy lockscreen wallpaper just put another image ,
and it will be just fine
And this OS Supports Bootanimation change.
To get Magisk use the in-built magisk manager
(Others just bootloop)
@vanshksingh
https://t.me/galaxyj8

LineageOS 18 (Android-11) How to install SM-J8

/*
* Your warranty is no longer valid.(or it isn't ? who am I to judge)
*
* I am not responsible for bricked devices, dead SD cards, broken touchscreens,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this package
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
LineageOS 18 How to install SM-J8 ~vks
DISCLAIMAR: It is a gsi and not a ROM. I am not responsible for anything ,
proceed at your own risk , All files are properties of their respective owner.
What works (TESTED ON SM-J810G)
-Calls , SMS
-Data (Enable LTE in data setting , default edge)
-Fingerprint
-Both Camera and Flash
-Audio
-Screen Mirroring
-Basically everything
What dosen't work
-No bugs , Everything works , stable too.
IMPORTANT:You will need an android10 stock vendor.
The incuded .zip contains
-Odin3
-Odin Flashable TWRP , By @goldfish07 (Telegram grpoup = https://t.me/galaxyj8 )
-Nik-gapps-pico-arm64-11.zip (Propietary)(yes it is arm64 , and yes it is not gapps)
-Lineage-18.iso (Non compressed/zipped iso)
-Device-ID.apk
Unzip the container file , and copy all these to sd card or an otg pendrive(recomended)
, PC MTP Dosent work in recovery.
Procedure.
1. Flash TWRP with ODIN (Lookup for procedure , and install drivers)
2. Boot into Custom Recovery
3. Wipe > Format_Data > Type yes (Swipe to reset dosen't work, data backup-
-would be a good idea)
4.Navigate to your copied files , select Flash image > Lineage-18.img , Flash in system.
5.Go to wipe (after flash), Advanced wipe > System > Repair or change File System >-
-Resize File System (This Prevents Error70 Insufficient Space in Gapps)
6.Flash NikGapps (select Flah from Zip) , If flash shows Error70 , Repeat From Step 3.
7.Reboot Enjoy
IMPORTANT:-
How to Fix the “Device is not Certified by Google” Error
[Your device will still say it is uncertified in the Google Play Store settings.
This is normal. All this fix does is white-list your uncertified device so you
can still use Google apps and services.]
Steps.
Install the Device+ID.apk (Included)
Open the app , Tap the Google Service Framework (GSF)
Copy it
Go to this website-
Sign in - Google Accounts
Sign-in
Paste/Copy GSF code in the box
Complete captcha (sorry dosen't work for robots)
Register (The box goes red , it's totally fine)
Reboot
After a few mins you should be able to sign in
(Don't worry , it will keep saying that not certified but after
a while it will let you sign in, and turn off notification for play
protect to remove annoying notification)
For more info-
How to Fix the "Device is not Certified by Google" Error
Are you having trouble with signing in to your Google account? Can't access the Google Play Store or use Google apps like Gmail, Maps, Play Music, or Photos? Seeing a "device is not certified by Google" error? Here's how to fix that.
www.xda-developers.com
Fixed:
1.Gapps Flash Error70 No space
2.Device Is not certified error
Notice:
1.Maps keep closing , Though maps-go , waze work fine.(Probably a google issue)
2.Bootanimation can be changed
3.Play Services can be broken
IMPORTANT
For some reason the files were not attached here but instead to this
AOSP-11 How to install SM-J8
/* * Your warranty is no longer valid.(or it isn't ? who am I to judge) * * I am not responsible for bricked devices, dead SD cards, broken touchscreens, * thermonuclear war, or you getting fired because the alarm app failed. Please * do...
forum.xda-developers.com
Check here for files
@vanshksingh
SAMSUNG J8/On8 OFFICIAL
Da Rules : 1. English and Hindi Only 2. Offtopic = a lil bit. 3. ETA = allowed 4. Respect All Admins 5. Reviewers always allowed.
t.me
use latest nikgapps from https://sourceforge.net/projects/nikgapps/files/Releases/NikGapps-R/
to resolve play services bug , and / or other bugs
Camera doesn't work
j810guser said:
Camera doesn't work
Click to expand...
Click to collapse
It used to , anyway check for new phh release over git hub it has many fixes !
vanshksingh said:
It used to , anyway check for new phh release over git hub it has many fixes !
Click to expand...
Click to collapse
I installed the latest one...
Would you be so kind as to please suggest the status on this rom? Is it bug free?
Techtradragon said:
Would you be so kind as to please suggest the status on this rom? Is it bug free?
Click to expand...
Click to collapse
The Status Was marked Completed. It was good enough for daily use !
Although id suggest
LineageOS 17 How to install SM-J8
/* * Your warranty is no longer valid.(or it isn't ? who am I to judge) * * I am not responsible for bricked devices, dead SD cards, broken touchscreens, * thermonuclear war, or you getting fired because the alarm app failed. Please * do...
forum.xda-developers.com
for the best experience!

How To Guide [GUIDE] Install LineageOS 19.1 with gapps

Notes:​* I am not a developer.
* I did all of this on Arch Linux, you shouldn't have trouble doing this on either Linux or Windows.
* See the Telegram group if you have issues - search for "Xiaomi 12 OFFICIAL" on TG, unfortunately cannot link directly to it on XDA.
* This is an unofficial version of LineageOS
* Thanks to @gr0ndpa whose writeup I based this guide on.
* Massive thanks to @ArianK16a who actually made LOS work on Xiaomi 12, despite Xiaomi breaking GPL licensing and not providing full kernel sources for Android 12
Prerequisites:​* Your bootloader must be unlocked. This thread does not cover this.
* You should use latest platform tools on Windows.
* Your device should be charged above 50%. Well, it doesn't have to be, but this is just for your phone's safety.
* Download 4 required .img files - boot, vendor_boot, dtbo and recovery from the latest build that has them all - rest miss recovery/vendor_boot, linking latest one at the time of writing for convenience
* Download latest ROM of your choosing (GMS=with gapps, VANILLA=no gapps) from arian-ota/ota
* If you intend to root the device with Magisk, also download latest boot.img
* Make a proper backup if needed and push it to another storage.
First steps:​* After you have unlocked the bootloader, device will reboot automatically. Finish the setup, enable developer settings and finally enable USB-Debugging in developer settings.
* In Windows open the folder in which you have unzipped the platform tools.
* Hold left shift and press right click, click "open powershell window here"
* Connect the phone via USB
* Execute the following in Windows Terminal and grant the permissions for this PC on your device:
Code:
adb devices
* Execute the following to either reboot to fastboot or fastbootd. Flashing works from either, I used fastbootd:
Code:
adb reboot fastboot # fastbootd
adb reboot bootloader # fastboot
The flashing procedure:​* Flash boot, vendor_boot, dtbo and recovery by executing the following in Windows Terminal:
Code:
fastboot flash boot lineage-19.1-20220618-UNOFFICIAL-cupid-boot.img
fastboot flash vendor_boot lineage-19.1-20220618-UNOFFICIAL-cupid-vendor_boot.img
fastboot flash dtbo lineage-19.1-20220618-UNOFFICIAL-cupid-dtbo.img
fastboot flash recovery lineage-19.1-20220618-UNOFFICIAL-cupid-recovery.img
* Finally execute the following, or reboot to recovery by holding VOLUME UP and POWER buttons until you see Mi logo on your device's screen:
Code:
fastboot reboot recovery # or bootloader
* If you get MIUI recovery, reboot back to fastboot, you should hopefully get LOS fastbootd now and be able to redo the steps and get LOS recovery next
Sideload the ROM from LOS recovery:​* ALL DATA WILL BE ERASED WITH THE NEXT STEP
* Go to Factory reset and perform Format data / Factory reset
* Go to Apply update, followed by Apply from ADB
* Execute the following Windows Terminal:
Code:
adb sideload lineage-19.1-20220810-UNOFFICIAL-GMS-cupid.zip
* Reboot your device
Rooting:​* Follow this thread but use the latest boot.img you downloaded earlier instead of the one from stock ROM.
Certification:​* If you won't fake the build prop to get certified status, you should at least follow Alphabet's instructions to make sure your device does not potentially get blacklisted from Play services
* Certification is required to run some apps - i.e. Netflix, Revolut, ...
* You can view certification state in Play store -> Profile -> Settings -> About -> Play Protect certification. This will cache the status. For a while, how to force the check again is shown down below
* Your device will not be certified on this ROM because it does not attempt to fake build props
* To get known good props for security update date and device fingerprint, you need either a rooted device with MIUI you want to extract the values from by executing the following in root adb shell:
Code:
grep -e fingerprint -e security_patch /system/build.prop
Or you can download latest recovery .zip from the download thread and open the file located in it from /META-INF/com/android/metadata in the archive
* Here's an example of the two values needed for my EEA device I got from the recovery zip:
Code:
2022-07-01
Xiaomi/cupid_eea/cupid:12/SKQ1.211006.001/V13.0.19.0.SLCEUXM:user/release-keys
* Install the following module through Magisk https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf
* Run the following:
Code:
adb shell
su
props
1 # Set the fingerprint to the one you obtained
5 # Add a custom prop with the name ro.build.version.security_patch, it should already exist, but it is most likely wrong
* Install the following module through Magisk
Releases · kdrag0n/safetynet-fix
Google SafetyNet attestation workarounds for Magisk - kdrag0n/safetynet-fix
github.com
* After the final reboot, remove storage of "Google Play Store" app to refresh the cache manually, open Play store and check the status, you should be in the green now
Known issues:​* Face recognition libraries are not included due to legal reasons, if one is interested in adding them, see the discussion starting here
* Minimum brightness is too bright. This can be mitigated by adding the "Extra Dim" card in the notification menu and long-pressing it to configure your desired intensity.
* When Smooth Display (120Hz) is enabled, screen flashes/redraws when it changes to and from 90Hz. This is more noticeable with lower brightness and no light in the room, and not really noticeable in daylight. Can be triggered by opening settings and typing a word and waiting half a second.
* Netflix(and only Netflix) is not available from the Play store on GSM ROM even with certification. Netflix provides an APK on their website, but that still gives me an unsupported device message. https://help.netflix.com/en/node/57688
Thanks for the great guide. I was able to install it without any issues whatsoever.
So is everything (including Fingerprint, all cameras, stereo speakers, BT, WiFi, Dual-SIM, VoLTE, VoWiFi, Fast charging) working?
除了人脸识别之外,一切都很好。
Translation: Everything is fine except for the face recognition.
Click to expand...
Click to collapse
Hi,
As a "one time" courtesy, I have translated your post to this thread and because it was not a spam
Please be respectful and observant of XDA Rule #4
for all of your future posts.
Spoiler: Forum Rule #4
4. Use the English language.
We understand that with all the different nationalities, not everyone speaks English well, but please try. If you're really unable to post in English, use an online translator. You're free to include your original message in your own language, below the English translation. (This rule covers your posts, profile entries and signature). You could try :- https://translate.google.com/ or https://www.babelfish.com/ or use one of your choice.
Thank you for your cooperation, and enjoy your stay on XDA.
Regards
Sib64 - Moderator
Does the camera work with the original functions?
How long will this lineageOS be supported for the xiaomi12?
"Download 4 required .img files - boot, vendor_boot, dtbo and recovery from the latest build"
What does that mean, "4"? I see on the website ( https://github.com/arian-ota/ota/releases/tag/19.1-cupid_gms-2fd712b6 ) only 3 files to download?
xiaomi cam is not working on LOS ... you have to use gcam etc ...
read carefully ... you have to use these 4 files from 20220618 release and only the gms rom image from 20220810 ...
Installed last night. Cant use Wallet, Google Play Store is not certified, SMS receiving problems sometimes. Google Assistant says it isn't available for this language, but it is set to english.
Can i somehow get google play certified and wallet working? Tried to register play sotre id on google site but that didnt help.
schmidt93 said:
Installed last night. Cant use Wallet, Google Play Store is not certified, SMS receiving problems sometimes. Google Assistant says it isn't available for this language, but it is set to english.
Can i somehow get google play certified and wallet working? Tried to register play sotre id on google site but that didnt help.
Click to expand...
Click to collapse
i'm waiting to... if wallet dosent work, i stay on .eu
schmidt93 said:
Installed last night. Cant use Wallet, Google Play Store is not certified, SMS receiving problems sometimes. Google Assistant says it isn't available for this language, but it is set to english.
Can i somehow get google play certified and wallet working? Tried to register play sotre id on google site but that didnt help.
Click to expand...
Click to collapse
You can try to root the phone with Magisk and use Magisk hide.
C0rn3j said:
Notes:​* I am not a developer.
* I did all of this on Arch Linux, you shouldn't have trouble doing this on either Linux or Windows.
* See the Telegram group if you have issues. - Edit Moderation -
* This is an unofficial version of LineageOS
* Thanks to @gr0ndpa whose writeup I based this guide on.
* Massive thanks to @ArianK16a who actually made LOS work on Xiaomi 12, despite Xiaomi breaking GPL licensing and not providing full kernel sources for Android 12
Prerequisites:​* Your bootloader must be unlocked. This thread does not cover this.
* You should use latest platform tools on Windows.
* Your device should be charged above 50%. Well, it doesn't have to be, but this is just for your phone's safety.
* Download 4 required .img files - boot, vendor_boot, dtbo and recovery from the latest build that has them all - rest miss recovery/vendor_boot, linking latest one at the time of writing for convenience
* Download latest ROM of your choosing (GMS=with gapps, VANILLA=no gapps) from arian-ota/ota
* If you intend to root the device with Magisk, also download latest boot.img
* Make a proper backup if needed and push it to another storage.
First steps:​* After you have unlocked the bootloader, device will reboot automatically. Finish the setup, enable developer settings and finally enable USB-Debugging in developer settings.
* In Windows open the folder in which you have unzipped the platform tools.
* Hold left shift and press right click, click "open powershell window here"
* Connect the phone via USB
* Execute the following in Windows Terminal and grant the permissions for this PC on your device:
Code:
adb devices
* Execute the following to either reboot to fastboot or fastbootd. Flashing works from either, I used fastbootd:
Code:
adb reboot fastboot # fastbootd
adb reboot bootloader # fastboot
The flashing procedure:​* Flash boot, vendor_boot, dtbo and recovery by executing the following in Windows Terminal:
Code:
fastboot flash boot lineage-19.1-20220618-UNOFFICIAL-cupid-boot.img
fastboot flash vendor_boot lineage-19.1-20220618-UNOFFICIAL-cupid-vendor_boot.img
fastboot flash dtbo lineage-19.1-20220618-UNOFFICIAL-cupid-dtbo.img
fastboot flash recovery lineage-19.1-20220618-UNOFFICIAL-cupid-recovery.img
* Finally execute the following, or reboot to recovery by holding VOLUME UP and POWER buttons until you see Mi logo on your device's screen:
Code:
fastboot reboot recovery # or bootloader
* If you get MIUI recovery, reboot back to fastboot, you should hopefully get LOS fastbootd now and be able to redo the steps and get LOS recovery next
Sideload the ROM from LOS recovery:​* ALL DATA WILL BE ERASED WITH THE NEXT STEP
* Go to Factory reset and perform Format data / Factory reset
* Go to Apply update, followed by Apply from ADB
* Execute the following Windows Terminal:
Code:
adb sideload lineage-19.1-20220810-UNOFFICIAL-GMS-cupid.zip
* Reboot your device
Rooting:​* Follow this thread but use the latest boot.img you downloaded earlier instead of the one from stock ROM.
Certification:​* If you won't fake the build prop to get certified status, you should at least follow Alphabet's instructions to make sure your device does not potentially get blacklisted from Play services
* Certification is required to run some apps - i.e. Netflix, Revolut, ...
* You can view certification state in Play store -> Profile -> Settings -> About -> Play Protect certification. This will cache the status. For a while, how to force the check again is shown down below
* Your device will not be certified on this ROM because it does not attempt to fake build props
* To get known good props for security update date and device fingerprint, you need either a rooted device with MIUI you want to extract the values from by executing the following in root adb shell:
Code:
grep -e fingerprint -e security_patch /system/build.prop
Or you can download latest recovery .zip from the download thread and open the file located in it from /META-INF/com/android/metadata in the archive
* Here's an example of the two values needed for my EEA device I got from the recovery zip:
Code:
2022-07-01
Xiaomi/cupid_eea/cupid:12/SKQ1.211006.001/V13.0.19.0.SLCEUXM:user/release-keys
* Install the following module through Magisk https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf
* Run the following:
Code:
adb shell
su
props
1 # Set the fingerprint to the one you obtained
5 # Add a custom prop with the name ro.build.version.security_patch, it should already exist, but it is most likely wrong
* Install the following module through Magisk
Releases · kdrag0n/safetynet-fix
Google SafetyNet attestation workarounds for Magisk - kdrag0n/safetynet-fix
github.com
* After the final reboot, remove storage of "Google Play Store" app to refresh the cache manually, open Play store and check the status, you should be in the green now
Known issues:​* Face recognition libraries are not included due to legal reasons, if one is interested in adding them, see the discussion starting here
* Minimum brightness is too bright. This can be mitigated by adding the "Extra Dim" card in the notification menu and long-pressing it to configure your desired intensity.
* When Smooth Display (120Hz) is enabled, screen flashes/redraws when it changes to and from 90Hz. This is more noticeable with lower brightness and no light in the room, and not really noticeable in daylight. Can be triggered by opening settings and typing a word and waiting half a second.
* Netflix(and only Netflix) is not available from the Play store on GSM ROM even with certification. Netflix provides an APK on their website, but that still gives me an unsupported device message. https://help.netflix.com/en/node/57688
Click to expand...
Click to collapse
Thanks @C0rn3j for the banger guide , and thanks @ArianK16a for the ROM, feels awesome to ditch this absolute cancer that is MIUI !
Performance and battery life is much better on LOS, a few features are missing but I guess we'll get them in a few weeks/months.
Much love ❣
Installed it two weeks ago, no root
- Camera not working but fixed after OTA update
- SMS issue (can send but cannot receive), fixed with firmware update
- missing calls (phone never rings...) applied firmware update, still testing
- Battery drain very high - fixed with disabling AOD (or at a glance...)
- Tethering (wifi and USB) not working, phone UI freezes
- Still having issues with Auto-brightness
Marmalux said:
Installed it two weeks ago, no root
- Camera not working but fixed after OTA update
- SMS issue (can send but cannot receive), fixed with firmware update
- missing calls (phone never rings...) applied firmware update, still testing
- Battery drain very high - fixed with disabling AOD (or at a glance...)
- Tethering (wifi and USB) not working, phone UI freezes
- Still having issues with Auto-brightness
Click to expand...
Click to collapse
Hotspot Is not working and the dev Is not working on It for now. It Is a big issue in my opinion. Have you try to get gpay working?
Hi
Since i have done the OTA i`m very cautious on what kernel to patch, i did not had time to check and double check.
But once i will root i will install the Magisk props and emulate a proper fingerprint, that should do the trick (it worked on my Xperia 5)
probably a stupid question but:
is faking a fingerprint possible without magisk, for example by editing a with adb pulled build.prop?
So wallet not working and hotspot not working?
Are things like fingerprint working with this? Pretty sad how small the custom rom community for this device is. Great phone but really sucks with MIUI. Hoping to flash this when i have time.
fingerprint works like a charm
Shane Gooseman said:
fingerprint works like a charm
Click to expand...
Click to collapse
Nice to know! are there any special features that wont work with this rom? like wireless charging, or reverse charging etc?
Gpay works, hotspot works, for me it Is ok!
hey is it good for a daily driver? any issues? I'm talking about the LOS 20 I see in the github

Categories

Resources