Hello,
I'm trying to install LineageOS with the least amount of Google footprint possible along with Magisk Manager.
However, when booting into LineageOS, it uses Google to setup my device instead of the LineageOS.
My process of installation:
1. Open Recovery and Advance wipe everything (excluding OTG, including Internal Storage) and Format Data after that
2. Reboot into bootloader
3. fastboot flash recovery twrp-3.3.1-1-20190713-codeworkx-dumpling.img
4. fastboot boot twrp-3.3.1-1-20190713-codeworkx-dumpling.img
5. adb sideload lineage-16.0-20190816-nightly-dumpling-signed.zip // I've also tried flashing / installing it like a regular zip
6. adb push open_gapps-arm64-9.0-pico-20190816.zip // I've also tried using aroma sometimes
7. adb push Magisk-v19.3.zip
8. Install / Flash Gapps
9. Install / Flash Magisk
10. Boot into System
Using the above method, Google loads up to setup my device.
I'd like to use LineageOS with its stock apps and ONLY Play Store from Google if possible.
Any help is much appreciated.
JohnnyBoiiJB said:
Hello,
I'm trying to install LineageOS with the least amount of Google footprint possible along with Magisk Manager.
However, when booting into LineageOS, it uses Google to setup my device instead of the LineageOS.
My process of installation:
1. Open Recovery and Advance wipe everything (excluding OTG, including Internal Storage) and Format Data after that
2. Reboot into bootloader
3. fastboot flash recovery twrp-3.3.1-1-20190713-codeworkx-dumpling.img
4. fastboot boot twrp-3.3.1-1-20190713-codeworkx-dumpling.img
5. adb sideload lineage-16.0-20190816-nightly-dumpling-signed.zip // I've also tried flashing / installing it like a regular zip
6. adb push open_gapps-arm64-9.0-pico-20190816.zip // I've also tried using aroma sometimes
7. adb push Magisk-v19.3.zip
8. Install / Flash Gapps
9. Install / Flash Magisk
10. Boot into System
Using the above method, Google loads up to setup my device.
I'd like to use LineageOS with its stock apps and ONLY Play Store from Google if possible.
Any help is much appreciated.
Click to expand...
Click to collapse
you can't
for play store you need google core apps and google play services
if you don't want google at setup remove
setupwizard folder from system/priv-app
after flashing gapps
AlMaghraby said:
you can't
for play store you need google core apps and google play services
if you don't want google at setup remove
setupwizard folder from system/priv-app
after flashing gapps
Click to expand...
Click to collapse
Does that make LineageOS do the setup instead of Google? Sorry new to this whole thing..
AlMaghraby said:
you can't
for play store you need google core apps and google play services
if you don't want google at setup remove
setupwizard folder from system/priv-app
after flashing gapps
Click to expand...
Click to collapse
Also, in this youtube video here: v=3wI2ht0kbeU , you can see the person sideloading lineage and setup the phone and then load gapps. However, in the LineageOS Installation guide, it is highly recommended to flash the gapps immediately after flashing LOS.
JohnnyBoiiJB said:
Does that make LineageOS do the setup instead of Google? Sorry new to this whole thing..
Click to expand...
Click to collapse
yes
---------- Post added at 11:46 PM ---------- Previous post was at 11:44 PM ----------
JohnnyBoiiJB said:
Also, in this youtube video here: v=3wI2ht0kbeU , you can see the person sideloading lineage and setup the phone and then load gapps. However, in the LineageOS Installation guide, it is highly recommended to flash the gapps immediately after flashing LOS.
Click to expand...
Click to collapse
most of the apps you use require google play services to work
that's why
If you want the smallest Google footprint possible then you can use MicroG instead of Gapps. There is even a LineageOS weekly build that comes with it preinstalled https://download.lineage.microg.org/dumpling/
Related
*Will add image , correct filename, and provide download links when I'm home
While I am waiting for Lineage OS 14.1, I have decided to try to adjust the stock Android 7 EMUI 5 to be as close to pure Android experience as much as possible. The result is quite good.
Step 1 Upgrade to Nougat
The Android Nougat have many improvements over Marshmallow such as a better notification, EMUI 5 is also much cleaner than the ugly (in my opinion) EMUI 4.1.
My device is BLL-L22 so I just run an OTA update to Nougat.
Step 2 Break the cage
Acquire the boot loader unlock code from Huawei website.
Install ADB(Android debug bridge) , you can get the 15 second ADB installer from XDA (search from Google)
Enable development mode by tapping the build number in Setting>About phone multiple time
In development mode, enable USB debugging.
Open windows command prompt
Type
adb reboot bootloader
Enter the wait the phone screen to become White with Android logo in the center (Fastboot)
Type
fastboot oem unlock YourUnlockCode
Download TWRP recovery from this forum
Install TWRP recovery by typing
fastboot flash recovery TWRP.img
Reboot the device and go to the recovery by VolumnUp+Power 5 seconds
Download Magisk 12 (Do not use SUPERSU we will use MagiskSU)
Then install it using TWRP and restart the device
If you have root the device by SuperSU you must flash the original boot.img to restore it
fastboot flash boot boot.img
Step 3 Remove the ugly stock softwares
Install Magisk installer from Google play
Download the MagiskSU modules
1. Terminal Debloat
2. Terminal Systemize
3. Google Dialer
4. Pixel launcher
Install all of them from Magisk installer or TWRP recovery
Use ADB or terminal emulator and type
debloat_magisk
To systemlessly uninstall the ugly apps (systemlessly mean we don't actually touch the system partition)
Uninstall theses apps
1. Contact
2. Calendar
3. Email
4.Clock
5.Messaging
Viola ugly apps are gone and don't forget to install Google apps from play store.
Thanksalot. But why install more Google stuff when you really want Lineage ? (so do I). I want it as less as possible. Too bad Libre Office mobile stinks.
LukeSP said:
Download Magisk 12 (Do not use SUPERSU we will use MagiskSU)
Then install it using TWRP and restart the device
Click to expand...
Click to collapse
Why not SuperSU? Is there any reason?
Is Magisk better?
thank you
I have rooted my phone with magisk and i have TWRP.
What is the modul "Terminal Systemize"?
Alex2017Germany said:
I have rooted my phone with magisk and i have TWRP.
What is the module "Terminal Systemizer"?
Click to expand...
Click to collapse
This link
Sorry, I cant help you much further, as I only see a grim future for Kirin SOC (largely due to a lack of Huawei support). So, I have decided to sell my Huawei phone and buy Oneplus3T instead.
Landrea said:
Why not SuperSU? Is there any reason?
Is Magisk better?
thank you
Click to expand...
Click to collapse
Because magisk is a bit advanced over SuperSU
Hello here I bring you like having a beta of the rom oreo 8.1 with gapps.
Download links
Rom 4.16 stock:
Mega:https://mega.nz/#!Eo5CwYYY!ZS7vhVbXWRsLtSbyRKPMhwMYea-aB4ws39y3CFHuLFQ
(link donated by nikos of xda)
zip to update to oreo:
Mega:https://mega.nz/#!iQJQBTxC!iS65Wt4DnnSVnwk8NQDVUrxN8UOMcOjTm7rZoW90sKw
(link donated by alextork)
Opengapps pico: http://opengapps.org/
recoverys:
Mega:https://mega.nz/#!jExHGDBa!CJLUqQ37Vtkg_smwz_bAxd1X-Re05LyWWid6LFtD4kc
I upload the folder where the two recoverys are stored and where to open the commands window
necessary application:
Mega:https://mega.nz/#!XQ4SQQ7C!TWnOq5Qyv_izVL1rE2cAosTYRJzGMeVH66ANB8nlVSs
instructions for installation and putting gapps:
This was possible thanks to the android thread information 8.1. Thank you
First of all we must make a modification in opengapps with winrar.
in the computer we open with winrar, we go to the core folder and we eliminate these two files:
setupwizarddefault-all.tar.lz
setupwizardtablet-all.tar.lz
1.
Install a rom different from the rom oreo or if you have installed a rom other than the rom oreo
example:https://forum.xda-developers.com/nubia-z17/how-to/rom-miui-9-9-2-bugs-t3775694
2
we installed the mobile drivers in addition to the fastboot drivers.
unzip the packnubiaz17 folder
inside we click right button + shift and open powershell or command window.
we put the phone in fastboot mode. volume button down and power.
we connect the mobile.
we wrote cmd
we wrote fastboot oem nubia_unlock NUBIA_NX563J
we write fastboot flash recovery recovery.img
reboot recovery
we flashed the previously modified pic.o opengapps.
we restart
we install the necessary application.
let's go to settings-application information-google play store-force disable.
we need to connect to a wifi or have mobile data.
once this is done. We enter the play store.
We try to download any app. if download pending pending.
We force Google Play to stop and we disable Google Play and re-enable it. So I should go when I enter.
3
we install 4.16 stock rom, start it, unlock development options, unlock oem and activate debug usb, then do a factory reset.
We do not have to start after the factory reset, we must give it a button up and power
this will make us return to the official recovery of nubia, restart in the official recovery of nubia. Inside we make data wipe and then through otg we search in the usb that we have previously entered the update oreo. We select it and let it finish. Once done, we start and configure.
4
we go to fastboot mode. in the folder we start to start the commands window and put the same commands as in step 2. once done this we go to wipe. advanced wipe and there we select data and we give ext2 first and then ext4.
5
we flashed the previously modified pic.o opengapps.
we restart
we install the necessary application.
let's go to settings-application information-google play store-force disable.
we need to connect to a wifi or have mobile data.
once this is done. We enter the play store.
We try to download any app. if download pending pending.
We force Google Play to stop and we disable Google Play and re-enable it. So I should go when I enter.
6
we go again to fastboot mode.
open command window
we wrote cmd
we wrote fastboot oem nubia_unlock NUBIA_NX563J
we wrote fastboot flash recovery recoveryo.img
Any bug report so we can know, the rom is not yet tested. I hope your collaboration
:good::good::good:
I think everything before point 3 is not needed, since 4.16 overwrites everything, and you start clean there. is there any reason why point 1 and 2 are done?
also when using twrp 3.2.1-0 from opening post from 8.1 thread https://forum.xda-developers.com/nubia-z17/development/stock-rom-4-16-update-package-5-t3774018 you don't even need to wipe data anymore since it stays accessible in this twrp version...
the thing I'm interested in... is this 'necessary application'. what does it do? This Google Account Manager?
MrBlubke said:
I think everything before point 3 is not needed, since 4.16 overwrites everything, and you start clean there. is there any reason why point 1 and 2 are done?
also when using twrp 3.2.1-0 from opening post from 8.1 thread https://forum.xda-developers.com/nubia-z17/development/stock-rom-4-16-update-package-5-t3774018 you don't even need to wipe data anymore since it stays accessible in this twrp version...
the thing I'm interested in... is this 'necessary application'. what does it do? This Google Account Manager?
Click to expand...
Click to collapse
Hi MrBlubke,
I believe he is trying to explain how to install Gapps without root on both Oreo and non-Oreo. What I don't understand is it is mentioned in Point 2 that to install Mobile Driver in addition to Fastboot Driver. I have been searching for a while for drivers for Nubia Z17, but have not found any driver working on my Windows 10 Enterprise version. Do you have most updated driver for Nubia Z17? If yes, can you please share it with me.
Thank you.
the steps should be followed as they are explained without skipping any, if you skip any or do it another way it will not work. Regarding the drivers I have 300 downloaded and one worked. I'll link you and tell me if it works for you. 2 links
https://forum.xda-developers.com/showthread.php?t=2588979
Mega: https://mega.nz/#!iAYzzYYC!quiDZfgAKdlQpLfolfbYim1R5HaERwuXAG3lUaaonJg
MrBlubke said:
I think everything before point 3 is not needed, since 4.16 overwrites everything, and you start clean there. is there any reason why point 1 and 2 are done?
also when using twrp 3.2.1-0 from opening post from 8.1 thread https://forum.xda-developers.com/nubia-z17/development/stock-rom-4-16-update-package-5-t3774018 you don't even need to wipe data anymore since it stays accessible in this twrp version...
the thing I'm interested in... is this 'necessary application'. what does it do? This Google Account Manager?
Click to expand...
Click to collapse
@MrBlubke u r right...
but his method really works...
great job n thanks @isaac121212:good::good:
isaac121212 said:
the steps should be followed as they are explained without skipping any, if you skip any or do it another way it will not work. Regarding the drivers I have 300 downloaded and one worked. I'll link you and tell me if it works for you. 2 links
https://forum.xda-developers.com/showthread.php?t=2588979
Mega: https://mega.nz/#!iAYzzYYC!quiDZfgAKdlQpLfolfbYim1R5HaERwuXAG3lUaaonJg
Click to expand...
Click to collapse
hi Isaac, is driving me crazy but no drivers fit for fastboot mode after you updgrade to oreo, Ive actually trying with port 2.0 and nothing. Did you find a suitable driver? BTW greetings from Peru
I've put a link with fastboot mode drivers, some of them work, which no idea
[ZE620KL/Android 9][TREBLE] COMPLETE GUIDE: Unlocking, Rooting & Flash GSI + Fixes
Unlocking bootloader to Flashing GSI (Asus Zenfone 5 [ZE620KL] / Android 9.0)
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* 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 ROM
* 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.
*/
About :
The last guide could leads to soft brick, as the instructions were not clear nor the files not supported for Android 9.0.
Here is a complete guide with TWRP 3.3.0 for Android 9.0, clear instructions and multiple fixes for GSI.
It has been tested on stock version v16.0615.1903.92.
Requirements :
- A stock version V16.0610.XXXX.XX or higher
- A phone on Android 9.0 (not 8.0!)
- A fully working USB cable
- Latest ADB / Fastboot drivers
- Bootloader unlocker (download latest from Asus website or from here)
- TWRP 3.3.0 image
- Android9EncryptionDisablerZE620KL.zip
- Magisk v19.3
Instructions :
Unlocking Bootloader
1. Backup all your important data.
2. Install the bootloader unlocker APK, and follow the steps. You will loss your warranty here, and it will factory reset your data
3. If there is any issue here, go into your stock recovery (volume down + power button) and factory reset.
Installing TWRP
4. Shutdown your device & boot in fastboot mode using volume up + power button.
5. Check that the connection between your device and your computer by typing this in your command line :
Code:
fastboot devices
6. Flash TWRP recovery using :
Code:
fastboot flash recovery <twrp_name>.img
7. Now reboot in recovery mode using :
Code:
fastboot oem reboot-recovery
8. In TWRP, select Wipe > Format Data > enter "yes" and confirm
9. Return to the main menu, select Reboot > Recovery
10. Do 8. & 9. and again
11. Using TWRP or ADB, install Android9EncryptionDisablerZE620KL.zip (on TWRP, go into Install > find Android9EncryptionDisablerZE620KL.zip > Install zip)
If everything has gone successfully, you now have a custom recovery.
As for some GSIs, a patched boot partition may cause bootloop, you should try installing Magisk after installing the GSI. If you want to keep your stock ROM, go directly to "Magisk Installation" section.Installing a GSI
This step may vary depending on the different GSIs distribution. I assume you install Havoc OS v2.7 GSI which actually works on this device.
1. Backup all your important data using TWRP backup.
2. Select the arm64-aonly GSI image you want, and move it on your external SD.
3. Wipe Data, Dalvik, and Cache.
4. Go back in the main menu of TWRP, and reboot to recovery.
5. Remove Magisk if it was previously installed, by using its uninstaller script.
6. Flash the GSI to system partition.
7. Boot and perform a factory reset.
Installing Magisk
1. Add the Magisk zip archive to your external storage.
2. Boot into TWRP recovery, and install the zip.
3. Enjoy!
Bug fixes:
Insufficient storage in the system partition to flash GApps : Download your OpenGApps archive on your external SD, and use MagicGApps 2018.9.23 to install GApps.
Auto-Brightness doesn't work: Download framework-res__auto_generated_rro.apk from here.
Using a root explorer or command-line, push the APK to /vendor/overlay.
Then run the following command in a rooted terminal or ADB shell:
Code:
chcon u:object_r:vendor_overlay_file:s0 /vendor/overlay;chcon u:object_r:vendor_overlay_file:s0 /vendor/overlay/framework-res__auto_generated_rro.apk
My camera doesn't work well (green tint on face camera) and/or the app doesn't boot: If Asus Camera doesn't launch on your GSI, you should probably edit your /system/build.prob file.
You need to edit ro.product.model, ro.product.brand, ro.product.name, ro.product.device, ro.product.manufacturer & ro.build.product properties to be:
Code:
ro.product.model=ASUS_X00QD
ro.product.brand=asus
ro.product.name=WW_Phone
ro.product.device=ASUS_X00QD
ro.product.manufacturer=asus
ro.build.product=ZE620KL
You can instead use Google Camera mod (port from Arnova8G2 & modded by 5Z community, thanks to them!), which works well (edit: there is a bug on HavocOS, we can't access settings).Bonus:
- You can reinstall DTS Headphone:X here.
- For booting your kernel in Permissive mode, check here
Sources:
TWRP 3.3.0 : On GitHub
If you need help or if you want to help on ZE620KL development go here:
https://t.me/Zenfone5Dev
(We will continue to update & help here though.)
Many thanks to all of the Zenfone 5 community (particularly Emincan, Pandolfi and Lmajkej),
Phhusson & Erfan for their works on GSI, and Shakalaca for its work on TWRP 3.3.0!
On HavocOS v2.8 GSI (13-08-2019):
It works:
- Almost anything
- Adaptive Brightness (after manual fix)
- Notch overlay
- DTS Headphone X (after manual installation)
- NFC
- Face unlock
- Stock camera (after manual fix)
- Magisk
- SDcard access
It doesn't works:
- VoLTE / VoWifi
- Google Camera settings
- External speaker amplifier (NXP amp)
- APT-X / APT-X HD bluetooth
- Low microphone in normal use
- No microphone in calls (only headphone microphone works)
GCam settings
But my google camera keep crashing when I want to go into camera settings
Hi thanks for this tutorial, this is my first time rooting my phone. I'm encountering a problem with my sd card after installing havoc os, everytime i try to move, save or any write functionality i do to my sd card, it always says the android version isn't compatible. I could still see my files from my sd, but everytime it asks permission it always say this
bentley0928 said:
But my google camera keep crashing when I want to go into camera settings
Click to expand...
Click to collapse
Same issue here. I will update the thread when I will find a more working GCam port (perhaps, this GCam port works well on ZenUI)
Jolo110 said:
Hi thanks for this tutorial, this is my first time rooting my phone. I'm encountering a problem with my sd card after installing havoc os, everytime i try to move, save or any write functionality i do to my sd card, it always says the android version isn't compatible. I could still see my files from my sd, but every time it asks permission it always say this
Click to expand...
Click to collapse
It's a known issue, the GSI maintainer @vince31fr is working on it. I don't have it, but I can advice you to use Solid File Manager, which works like a charm on my device.
"- No microphone in calls (only headphone microphone works)"
Funny... I'm on stock latest firmware and I have this issue, so I thought I try something new, and this has that issue. It can't be a coincidence. Something is ****ed up with this device.
Wonder if this will work for the Zenfone 5 Lite (or 5Q)? I wanna root my 5Q so bad haha
Thanks for the great instructions! Steps 1 through 11 worked perfectly for me, then I installed LineageOS (lineage-17.0-20191231-UNOFFICIAL-treble_arm64_avN.img) and it works properly. Then when I go back to TWRP and install Magisk v20.1 it reboots into an endless Lineage bootup logo animation (not boot loop). I can get an adb shell, but now also the external SD card has become invisible. Any suggestions?
UPDATE: I switched over to the patched Magisk version from PHH (https://forum.xda-developers.com/zenfone-5/general/ze620kl-add-support-to-evey-android-9-t3966918) and everything works perfectly now!
Hi!! I thanks for these instructions you gave. I know this post is a bit older. But is the only one I think could help me.
I got an ZE620KL and I'm trying to root this device. I have some experience in unlocking bootloader and rooting devices. But this one... Is giving me a lot of work. Researching in a lot of forums and websites I tried a lot of things with no success. In theory, is just install the official apk provided by ASUS and run the application. But the app doesn't work for a long time as I researched (error accusing network problem). I tried unlock via fastboot commands but I always got stucked by "remote: permission denied" even with latest drivers and ADB Fastboot installed. And yes... I let my device with no one security feature enabled and didn't worked. I tried everything even after wiped data / cache and factory reset and no progress.
In my researches, I realized something about 'oem unlock'. It appears to be the key to solve this. And I guess the tool to work with this is the damn unlock tool from ASUS which don't work! Also, I've heard about workaround with Magisk by flashing a custom recovery to achieve the root. Magisk no longer supports zip files to flash. Only '.img' and '.tar' files. I'd like to find some light here... I don't know what to do. I appreciate any help!
Hello do I need to flash Android9EncryptionDisablerZE620KL.zip if Im gonna flash a non-GSI custom ROM? Or its only for GSI Treble ROM?
[email protected] said:
Hi!! I thanks for these instructions you gave. I know this post is a bit older. But is the only one I think could help me.
I got an ZE620KL and I'm trying to root this device. I have some experience in unlocking bootloader and rooting devices. But this one... Is giving me a lot of work. Researching in a lot of forums and websites I tried a lot of things with no success. In theory, is just install the official apk provided by ASUS and run the application. But the app doesn't work for a long time as I researched (error accusing network problem). I tried unlock via fastboot commands but I always got stucked by "remote: permission denied" even with latest drivers and ADB Fastboot installed. And yes... I let my device with no one security feature enabled and didn't worked. I tried everything even after wiped data / cache and factory reset and no progress.
In my researches, I realized something about 'oem unlock'. It appears to be the key to solve this. And I guess the tool to work with this is the damn unlock tool from ASUS which don't work! Also, I've heard about workaround with Magisk by flashing a custom recovery to achieve the root. Magisk no longer supports zip files to flash. Only '.img' and '.tar' files. I'd like to find some light here... I don't know what to do. I appreciate any help!
Click to expand...
Click to collapse
Im not sure if you still have your phone or you have successfully unlocked bl. but I found an updated version of their tool which works.
*tried unlocking from android 10 not working, it says device model not supported*
Zenfone 5 Unlock BL
cf100clunk said:
Thanks for the great instructions! Steps 1 through 11 worked perfectly for me, then I installed LineageOS (lineage-17.0-20191231-UNOFFICIAL-treble_arm64_avN.img) and it works properly. Then when I go back to TWRP and install Magisk v20.1 it reboots into an endless Lineage bootup logo animation (not boot loop). I can get an adb shell, but now also the external SD card has become invisible. Any suggestions?
UPDATE: I switched over to the patched Magisk version from PHH (https://forum.xda-developers.com/zenfone-5/general/ze620kl-add-support-to-evey-android-9-t3966918) and everything works perfectly now!
Click to expand...
Click to collapse
Do you still have the patched Magisk zip file, the original link in the post seems not working
Hi everyone, I tried to get LineageOS 18.1/Android 11 again onto my A8 and this time it worked. I have written down all the steps I followed.
You can take these steps and do whatever you want but don't blame me if it breaks anything. You are responsible for what you do to your phone. You will loose your warranty. You will loose all data on your phone including internal storage. I don't think you will pass Safetynet afterwards so say bye to banking apps.
Some steps are copied out of other posts so big thank you to them. I always linked them. Actually this is more or less a summary of different guides I read put together in one.
I don't use Google Services so I don't know if they'll work.
CHAPTER 0 - Prerequisites
- Make a backup of all your important data
- Make a backup of data in your internal storage
- Have the bootloader unlocked (Go to settings/Developer options and enable OEM unlock)
- Be RMM unlocked (no RMM State prenormal). You can check this in download mode (Power + Vol. Up + Vol. Down) by reading the small text
- Read everything before you start
- You can also download all the things before starting
CHAPTER 1 - Reset
I don't think that this is necessary but things like calls were broke for me before so I decided to reset everything by flashing stock firmware. Please decide for yourself if you need this.
- Download Odin
- Download official firmware (e.g. from here: https://galaxyfirmware.com/model/SM-A530F)
- Extract zip file
- Enter download mode (turn off, then Power + Vol. Up + Vol. Down)
- Connect phone to computer
- Open Odin
- Select all the files you extraced from the firmware zip in Odin (BL/AP/CP...)
- Untick Autoreboot under options
- Hit start
- When finished, disconnect phone
- Press "Power" and "Vol. Down" until screen goes black
- In this moment, press all buttons (Power + Vol. Up + Vol. Down) again to reenter download mode!
CHAPTER 2 - Install custom recovery
see https://forum.xda-developers.com/t/...ll-twrp-on-exynos-samsung-after-2018.3760975/
- Download TWRP tar file from here: https://twrp.me/samsung/samsunggalaxya82018.html
- After chapter 1, your phone is in download mode. If you skipped it, turn off and press Power + Vol. Up + Vol. Down to enter download mode
- Connect phone to computer
- Open Odin, go into options and untick Auto-reboot and put the TWRP tar file in AP tab of odin, hit Start and wait
- When Odin shows "PASS", take your device in hands, disconnect the usb cable and press simultaneously the "Power" + "Vol. Down" + "Vol. Up" buttons until the downoad mode disappears
- At the precise moment the screen becomes black, immediately release the "Vol.Down" button and press the "Vol. Up" + "Power" buttons during 10 to 15sec to forcefully enter TWRP
- ***Don't boot into rom because it will lock your device again!!!!
CHAPTER 3 - Wipe
- Swipe "Allow modifications"
- Go into Wipe menu and select "Format data" - note that this will erase all your data including internal storage
CHAPTER 4 - Trebelize
see https://forum.xda-developers.com/t/...-guide-for-galaxy-a8-2018-18-04-2019.3894881/
- Download Treble creator and treble TWRP
- Wipe system/cache/data
- Copy the TrebleCreator.zip(of your variant) and TWRP-jackpotlte-Treble.img to your Internal/SDcard
- Flash the TrebleCreator.zip through TWRP recovery
- After completing your device will reboot to RECOVERY
- Now touch INSTALL > Select Image > Locate TWRP-jackpotlte-Treble.img
- Flash TWRP-jackpotlte-Treble.img to recovery
- Reboot your device to recovery
- Wipe system, cache, vendor, dalvik cache and data.
CHAPTER 5 - Android 11
- Download Vendor, GSI (if you used the linked vendor, you'll need: arm64, A/B, vndklite)
- Vendor download: https://forum.xda-developers.com/t/...dor-quack-v2-5-for-galaxy-a8-a8-2018.4157533/
- GSI download (recommendation): https://forum.xda-developers.com/t/gsi-11-lineageos-18-x-gsi-all-archs.4205461/
- Extract the system image .xz file
- Reboot to recovery
- Copy files onto the phone
- Install vendor zip
- Flash gsi image as system image
- Reboot to system
CHAPTER 6 - Enjoy
Don't turn on "Workaround for broken fingerprint".
WHAT WORKS
The system seems to be pretty stable for a GSI. I haven't experienced any random freezes yet.
- Phone, Mobile data
- Wifi
- Bluetooth
- NFC
- Hotspot (I opened one but didn't try to connect to it)
- Camera (also 3rd party apps, YES!)
- Fingerprint
If you downloaded the LineageOS version I linked above, you will automatically have root because it's based on the phh treble GSI. You can install the Superuser app from F-Droid: https://f-droid.org/de/packages/me.phh.superuser/ just as a normal APK file.
NOT WORKING
- probably everything that doesn't work in any GSI like voLTE and Bluetooth calls but havent tested any of them
- of course the second front cam
- USB accessories? (they are broke with this vendor)
What is your experience with this gsi so far?
JohnnyxS said:
What is your experience with this gsi so far?
Click to expand...
Click to collapse
It's about as good as the Android 10 gsi I used earlier. The camera app takes some seconds to start but I had no other problems with it (except for the things mentioned in the post under "not working")
Have you used other GSIs before?
jannis3 said:
It's about as good as the Android 10 gsi I used earlier. The camera app takes some seconds to start but I had no other problems with it (except for the things mentioned in the post under "not working")
Have you used other GSIs before?
Click to expand...
Click to collapse
I haven't, i managed to install it but not with google services, lost an entire day trying: (
I am a complete n00b, I'm going trough this.
Thanks a lot @jannis3 for these clear instructions!
Here are my observations, in case someone needs them:
Chapter 0:
- Have the bootloader unlocked (Go to settings/Developer options and enable OEM unlock)
To access the Develloper Menu, you need to tap 7 time the Build number in about page:
How do I turn on the Developer Options menu on my Samsung Galaxy device?
Find out how to turn on the Developer options menu on your Samsung Galaxy device.
www.samsung.com
- Be RMM unlocked (no RMM State prenormal). You can check this in download mode (Power + Vol. Up + Vol. Down) by reading the small text
This did not show on my device (no mentions of RMM).
However, there was:
FRP LOCK: ON
OEM LOCK: ON
First one needs to be disabled by remove ALL accounts before starting to flash
Second one is removed trough the Bootloader option in the developer menu.
Chapter 5:
Choose the "treble_arm64_avS.img" version
JohnnyxS said:
I haven't, i managed to install it but not with google services, lost an entire day trying: (
Click to expand...
Click to collapse
Hello Johny,
I just lost my day trying too.
No GApps with this GSI, because it keeps shrinking the system partition to 1MB Left.
Do you have a suggestion of another GSI that works nice on our A8?
I'm on it again!
I just found out about Phhusson and its incredible work.
Since LineageOS clearly does not work if you want GApps, here are the releases for Phh-Treble:
Releases · phhusson/treble_experimentations
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
Specific page for A8 (2018):
Samsung Galaxy A8 (Exynos)
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
Make sure you use: system-roar-arm64-ab-vndklite-gapps.img.xz for the A8.
Upon bootup, Google framework goes bezerk about not being Play Protect Certified.
Follow the instructions to register your device to google here:
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
After a reboot, I then had everything working but the Play Store would still throw me a Google Play Protect error.
Clearing data and cache on Google Play Services worked for me.
Google Play Store Not Working? Fixes and Solutions | nextpit
Google Play Store problems can usually be fixed simply by clearing the cache, but if not, we have even more solutions in this article!
www.nextpit.com
jaylimo84 said:
I'm on it again!
I just found out about Phhusson and its incredible work.
Since LineageOS clearly does not work if you want GApps, here are the releases for Phh-Treble:
Releases · phhusson/treble_experimentations
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
Specific page for A8 (2018):
Samsung Galaxy A8 (Exynos)
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
Make sure you use: system-roar-arm64-ab-vndklite-gapps.img.xz for the A8.
Upon bootup, Google framework goes bezerk about not being Play Protect Certified.
Follow the instructions to register your device to google here:
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
After a reboot, I then had everything working but the Play Store would still throw me a Google Play Protect error.
Clearing data and cache on Google Play Services worked for me.
Google Play Store Not Working? Fixes and Solutions | nextpit
Google Play Store problems can usually be fixed simply by clearing the cache, but if not, we have even more solutions in this article!
www.nextpit.com
Click to expand...
Click to collapse
Meh i gave up for now, i might return at some point to trying it again.
jaylimo84 said:
I'm on it again!
I just found out about Phhusson and its incredible work.
Since LineageOS clearly does not work if you want GApps, here are the releases for Phh-Treble:
Releases · phhusson/treble_experimentations
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
Specific page for A8 (2018):
Samsung Galaxy A8 (Exynos)
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
Make sure you use: system-roar-arm64-ab-vndklite-gapps.img.xz for the A8.
Upon bootup, Google framework goes bezerk about not being Play Protect Certified.
Follow the instructions to register your device to google here:
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
After a reboot, I then had everything working but the Play Store would still throw me a Google Play Protect error.
Clearing data and cache on Google Play Services worked for me.
Google Play Store Not Working? Fixes and Solutions | nextpit
Google Play Store problems can usually be fixed simply by clearing the cache, but if not, we have even more solutions in this article!
www.nextpit.com
Click to expand...
Click to collapse
Have you tried Android 12L?
g000n said:
Have you tried Android 12L?
Click to expand...
Click to collapse
Nope... 12L did not exist at the time.
Also, I gave up.
Phh-Treble was less stable than my mother in law.
My first goal was to "save" the A8 to use it for one or two year more, but the difficulty to get something simple and stable was getting harder by the minute.
I got a pretty good deal on a S20 FE 5G, so I moved on.
Great work !
Hi, I followed the guide, I don't flashed the stock ROM because I'm doing with heimdall (linux odin) and it can boot after flash. But I follow the other chapter and steps and works. The only issue I have is that after the LineageOS without GApps is installed and I reboot the phone enters in a boot loop and it can't boot. If I try to enter in the recovery boot freezes at TWRP logo splash screen.
The question is: Why enters in the boot loop ? What can I do ?
Hi, today I tried flashing the phh Android 12 GSI and it actually booted. It's a bit laggy and apparently you cannot set a screen lock for whatever reason (I read something about too old keys?). Also some random things did not work so I wanted to get back to the Android 11 LineageOS GSI. I restarted into the recovery mode but only the TWRP splash screen showed up, just as @ferriol mentioned earlier. What I did to recover my phone was:
Go to download mode
Flash original OS
It then automatically rebooted to the original recovery
I selected something like "wipe data" or "reset phone"
rebooted to original OS (It wouldn't start for me, idk why)
force reboot (power + vol. down) into download mode (power + vol. down + vol. up)
Follow my own instructions from Chapter 2 on and flashed Android 11 again
I did this three times. I don't know what actually did the job in the end but I think it was wiping the system using the original recovery and rebooting (or trying at least) into the original OS
Sooo weird... My next phone is probably not a samsung one xD
ferriol said:
Hi, I followed the guide, I don't flashed the stock ROM because I'm doing with heimdall (linux odin) and it can boot after flash. But I follow the other chapter and steps and works. The only issue I have is that after the LineageOS without GApps is installed and I reboot the phone enters in a boot loop and it can't boot. If I try to enter in the recovery boot freezes at TWRP logo splash screen.
The question is: Why enters in the boot loop ? What can I do ?
Click to expand...
Click to collapse
I resolved flashing the RMM_Bypass_v3_corsicanu.zip and no-verity-opt-encrypt-6.1.zip after flashed lineage-19.1-20220510-UNOFFICIAL-arm64_bvS-vndklite.img
Thanks for your work !
Hi!
Thanks for your tutorial. It is of great help!
I can install the os find on my A8 and run it but i noticed a few issues:
- camera app is missing
- updater app is misssing
- I cannot install GAPPS (opengaps nano or pico) because of missing space (32mb left on system) and I tried to resize system but TWRP gives an error: /sbin/e2fsck -fp /dev/plock/platform/13500000.dwmmc0/by-name/SYSTEM process ended with ERROR: 8
Unable to repair System.
I tried upgrading TWRP to 3.9.2_9-0 but still have the same issue.
Do you have any idea on how to fix the resize error?
For those looking to make lineageos work on galaxy A8 SM-A530W here is what I did:
follow the guide and then:
instead of LOS 18.1 install lineage-17.1-20210808-UNOFFICIAL-treble_arm64_bvS.img.xz
install opengapps 10 nano
If stuck on loading screen, reinstall os and opengapps without wiping the disk
I still have the camera not working though. Everything else seems fine.
lejeanf said:
For those looking to make lineageos work on galaxy A8 SM-A530W here is what I did:
follow the guide and then:
instead of LOS 18.1 install lineage-17.1-20210808-UNOFFICIAL-treble_arm64_bvS.img.xz
install opengapps 10 nano
If stuck on loading screen, reinstall os and opengapps without wiping the disk
I still have the camera not working though. Everything else seems fine.
Click to expand...
Click to collapse
Here is a lead: https://forum.xda-developers.com/t/everything-you-need-to-know-to-fix-camera-on-custom-rom.4218165/ " No easy route it seems.
Hi man, thanks for the ROM. However, a couple of hours ago, I tried to install it, and I'm not sure if it's because the project has been discontinued or because I didn't fully understand the instructions in English, but I couldn't install the ROM. Is it still functional, or should I look for other alternatives?
Hi guys!
I am new here, recently unlocked bootloader (guide)
Eagerly want to flash lineage OS, but can't. Always ended up multiple reboots or some black screen.
Can anyone write step by step guide?
Currently using Android 9 Stock ROM (came back from android 10 stock rom using this method)
Used TWRP from here
Have you read the wiki page for LineageOS for N 6.1?
Info about PL2 | LineageOS Wiki
wiki.lineageos.org
Update: Installed.
NOTE: It is recommended to update your stock ROM to Android 10 before flashing this custom ROM. ( this method )
Just reboot to bootloader and download this TWRP for our Nokia 6.1, boot it (fastboot flash boot twrp.img), and everything will be fine.
Power + Volume Up
and leave power button when you see the android one logo but keep pressing volume up
Now you can flash TWRP.zip file.
Format Data by typing yes
Reboot to TWRP.
Flash latest ROM zip via TWRP
Switch to an alternative slot (if you are on slot a, switch to b if you are on b, switch to a) - (if you don't know where is the option to switch: reboot >> select slot)
Reboot system
Thanks to this guy https://forum.xda-developers.com/t/rom-12-1-unofficial-pixysos-pl2.4454103/
hello @chsiva, I would like to know if when installing the version of lineageOS 19.1 you used the lineageOS recovery, in my case I have reinstalled LineageOS 19.1 more than once without any problem. In fact, it is not so necessary to have the latest version of Android from the manufacturer installed to be able to install this version of lineageOS, I will explain the steps to be successful in the process.
1) Do not leave any custom recovery as permanent.
2) Since I have Windows 10, I had to look for the drivers that really work for Nokia, in which there are 2 drivers that are needed and apply some additional configurations to the main installer, one of them is compatibility with old versions of the operating system.
3) Download the tool that includes fastboot + adb and verify that the device is really recognized by the operating system regardless of the mode in which it is.
4) Being in the stock version, I recommend you to factory reset the device, then configure it.
5) Enter the download mode and through the cmd and in the adb mode use it to change the slot A/B (A or B), In both you will have to install the lineageOS recovery.
6) Having the recovery installed in both Slots (Remember to use Fastoboot to install the recovery) I recommend you to be in Slot B to proceed with the installation of the rom.
7) Then access the recovery, in my case I decided to perform a data format from the recovery and then select the ADB installation, I recommend you disconnect the device before accessing this option, when you access this option, connect the device to the computer (the recovery should indicate that you are in slot b before continuing with this).
8) Install the lineageOS rom and after it finishes, reboot the device and wait for it to boot.
9) When booting into lineageOS, apply settings and then reboot back into recovery mode.
10) Install the necessary Gapps to have the basic services of google, remember to be in slot b to continue, after installation, restart and when starting, connect to a network and configure.
11) The normal thing is that it is configured but in a partial way, the contacts that you have saved in your google account should not appear if you have it saved, if this happens, you only have to reset the device from the factory.
12) When starting again, apply the configuration connected to the network since the gapps are already included in the device, more configuration options should appear than the previous time when you installed the gapps and at the end the contacts should appear.
13) now if you can install magisk in version 25.2 if I'm not mistaken, remember to change the .apk to .zip and from the recovery install it from slot b and reboot.
14) and the last thing you need is to install 2 modules to certify the device with magisk (before this, I recommend you activate the option to hide root from applications, magisk should request a reboot, before rebooting, apply the deny settings of root to the applications that you deem convenient, but those of google if or if they have to be denied, in google services, mark all the options to deny root in its entirety).
15) For this procedure you will need a terminal and from the terminal, type the command (props), then press ENTER and sign the device.
16) and then delete data from play store and google services and then reboot the device and voila, your device is ready to use.
-In the event that you do not have a windows operating system, you can use the virtualbox tool and if it is possible to install the version of windows 7 ultimate, although you will have to install some necessary drivers so that you do not have a problem with the execution of applications from the virtualized system.