[GUIDE] [J400X] How To Install GSI in Samsung Galaxy J4 - Samsung Galaxy J Guides, News, & Discussion

• Introduction
Samsung Galaxy J4 is a phone based on Exynos 7570 with 720x1280 resolution, ARM Mali T720 GPU, Cortex A53 Quad-core CPU. This phone released in 2018 with Android 8 shipped out-of-box, and available OS update until Android 10.
But, since it already 2 years (in 2020) from launched, this phone only have developer that can be counted on one hand. There is no custom rom for this device, and custom kernel only 1 or 2 or 3 (I'm building this kernel right now, but I'll release it when I have enough post count )
The good news is, this device is Treble supported! So we can install most of available GSI, even without any vendor or kernel required.
• Stock ROM vs GSI
What's the different? In my opinion, very much! As we know, GSI is based on AOSP, which is pure android, and almost no bloatware. And, for other GSI, like Havoc or Lineage or any GSI like that, have cool theme and animation. Why not giving a try?
• Warning
Although this is cool, but, remember this is GSI, bugs are widely open. Bugs I found are in below.
Second thing, your warranty is void! This is sure, you unlock bootloader, Install TWRP, even install GSI, that surely will trip knox and voiding warranty.
And, last one, backup ALL of your data. This process will wipe your data partition.
• Bugs
As far as I use Havoc-OS GSI 3.7 Android 10, I feel these bugs:
1. Camera Streching, use Open Camera
2. Video recording, use Open Camera too
3. Camera in Whats'App
4. I forgot
If you feel other bugs, please write it in below.
• Steps
Since currently this phone have Android 9 Android 10 update, the steps will be different. Dont worry, I'll write all the steps
From Android 9 stock :
1. Download TWRP 3.2 and 3.4
2. Copy to your PC
3. You must have Odin
4. Download GSI image A64 A-ONLY / ARM32_BINDER64 and put it in your Micro SD card or USB (for OTG)
5. Download Gapps (optional if you want google apps installed) nano / pico ARM-10.0
6. Download Magisk if you want root
7. Dont forget to copy downloaded zip file to Micro SD Card or USB (For OTG)
8. Flash TWRP 3.2 via odin, then reboot recovery
9. Wipe - format data - yes
10. Wipe - advanced wipe - choose system, data, internal, cache / dalvik cache
11. Install - install image - choose gsi image you downloaded - choose system image
12. reboot recovery
13. mount - system
14. wipe - advanced wipe - choose system - repair filesystem - resize
15. install - install gapps zip
16. reboot download
17. flash TWRP 3.4
18. reboot recovery
19. flash magisk (optional)
20. flash zygotefix
21. reboot and complete setup
From Android 10 stock :
1. Download TWRP 3.2 or OrangeFox
2. Download any a64 A/B (arm32_binder 64) xz decompress it* and put it in your Micro SD card or USB (for OTG) or internal memory
3. extract it with any extractor app
5. Download Gapps (optional if you want google apps installed, some have it included)
6. Reboot recovery
7. wipe. advance wipe. system, data, dalvick cache.
8. Flash the extracted GSI
9. Flash Gapps if they are not included
10. Flash magisk (optional)
11. Reboot system
And Done!
If you have anything you ask, feel free to join our Telegram group : t.me/SamsungGalaxyJ4
Or PM me in Telegram : t.me/hendramanudinata
Cheers!

Related

[tutorial] how to flash a generic system image on your redmi note 4/4x

In this tutorial we'll try to explain step by step how to install a GSI. Hope you find it helpful.
REQUIREMENTS
- A treble enabled device and recovery (TWRP or RedWolf).
- A GSI: you can choose from a few generic system images out there such as Lineage OS (Los), Resurrection Remix (RR), or even Pixel Experience (PE). You can find them by going to XDA's GSI page. Links will be down below. Please only download A partition GSIs, never A/B partitions, as our device isn't compatible with seamless updates.
- A treble enabled rom: you need this to use it as a base rom or a "vendor rom". Any treble rom should work. We'll get to that in just a moment.
- (Optional) Cust magisk.
PROCEDURES
1) Download all the required files mentioned earlier and keep them away from your internal storage, as you will need to completely format it. Note that the GSI comes as a zip file, but it is not a flashable zip, so make sure you extract the zip file and save the .img file before proceeding.
2) Once everything is in place, reboot to recovery.
3) (RECOMMENDED) Take a full backup of your current apps and data from TWRP and keep it safe in case you ever need it.
4) In your recovery, navigate to the format section and format data, system, vendor, cache, dalvik, and internal storage.
5) Once done, go to the installation tab in your recovery and install the treble rom mentioned earlier (not the GSI).
6) After the installation is complete, go back to the installation tab and press the button (on the bottom right corner of your screen in TWRP) which says "install image", or something similar. Then the GSI .img file you extracted should appear. Click on it to install it and select the option "system image".
7) Once the GSI has finished installing, feel free to either install magisk or reboot. Don't forget to cross your fingers!?
And that's it, the device should hopefully boot flawlessly and you'll enjoy the Generic System Image. However, these GSIs are meant to work on a wide variety of devices, so expect a few bugs here and there. These bugs will probably be fixed in time.
Hope you found this article helpful. If you have any questions or doubts, please don't hesitate to. Have a good one!?
USEFUL LINKS:
- List of all Generic System Images: https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
- Original tutorial to install GSIs: https://www.xda-developers.com/flash-generic-system-image-project-treble-device/

How to update AOSP extended ROM

Hey everyone I recently installed aosp extended and saw in their website that a newer version was available when I checked a youtube video it said that I needed to flash gapps along with the update can someone help me on how to update the ROM is it same like pixelexperience where we just flash the file and clear cache alone?
#updateaex
1. Boot into TWRP
2. Flash AEX zip
3. Flash TWRP installer
4. Reboot to TWRP
5. Flash gapps
6. Flash magisk (optional)
7. Wipe dalvik cache
8. Reboot to system and enjoy
from telegram channel
But, what's your actual version of AEX ?
Sorry to but in...
I have a Mi9 with AOSP...
(please go easy..I'm a tad clueless)
If there is an update do I follow the instructions 21vm gave? And will I lose my apps and settings?

custom rom advice

Hi
Looking to install hardened rom or privacy rom so i can choose what apps to install will not be using google play and many other google apps, magisk is a good option and passing safetynet using microg would be a bonus, have been looking at installing wireguard for vpn
Have used lineage os on oneplus 3t with privacy guard. I know there are roms such /e and paranoid android
Any suggestion or advice currently on stock rom, phone is untouched at the moment ?
Also hear the oneplus 6 has 2 software slots, an A slot and a B slot and rom needs to be flashed to both slots ?
What you lot think of alternative youtube ?
https://www.digitbin.com/youtube-app-alternatives/
Omnirom is great for privacy
Newpipe is the best open source youtube alternative
Lineage is still the only ROM with Privacy Guard as far as I know. It's only in LOS 16 though, they are slowly pulling in features into LOS 17, but it's still missing many features of LOS 16.
Onmirom has many customization features, more than LOS, but it does not have Privacy Guard. The privacy features of LOS are the reason I always run Lineage, and only buy devices that can run Lineage.
Looks like lineage os 16 it is how did you flash both slot a/b ?
sajeel said:
Looks like lineage os 16 it is how did you flash both slot a/b ?
Click to expand...
Click to collapse
Here's how I install LOS, Note the the sentence at the top about replace 10.3.1 with 9.0.17 if you are doing LOS 16. Do NOT use Android 10 as your base if you are flashing LOS 16. Android 9 for Android 9 based ROMs, Android 10 for Android 10 based ROMs, any questions ask.
Just stick with OB 10 and use app ops
YouTube Vanced and your good to go
Installed lineage os 16.0 thanks for links and advice
here is my set of instructions using linux os as below:
Unlock bootloader:
1) Bakup data
2) Enable developers options
3) Enable oem unlocking
sudo adb devices
sudo adb reboot bootloader
sudo fastboot devices
sudo fastboot oem unlock
(Some mac and linux users may need enter ./ before command)
TWRP:
The OnePlus 6T uses the newer AB partition scheme first introduced on the Pixel 1. As such there is no recovery partition. Instead, the recovery is part of the boot image. You will temporarily boot TWRP to perform and later perform a more permanent TWRP installation. First download the TWRP zip file directly on your device. If you don't download the zip file to your device first for any reason, you will need to adb push the zip to the device because MTP is not currently working on the OnePlus 6T in TWRP. If you are unable to use adb, you can also use a USB stick with an OTG cable, if you have those handy. Power off the device. Hold volume up to get into fastboot mode. Run this command on your computer: sudo fastboot boot twrp-3.2.1-0-fajita.img
In TWRP, tap on Install and browse to the zip and install it (the zip will probably be in /sdcard/Downloads). TWRP will now be installed to both slots. TWRP is now installed and you can reboot and use your device as normal.
Downgrade /Upgrade:
If you're unlocked, flash it trough TWRP and format your storage.
Lineage OS Install:
sudo ab
This is how I install Lineage 17. (If you are doing 16, replace 10.3.0 with 9.0.17, and the Q image of TWRP with the Pie image)
- Install 10.3.0 fastboot ROM again to start over, boot it once. Just to make sure everything is good.
- Reboot to fastboot.
- Boot the Q image of TWRP.
- Run the TWRP installer, reboot to recovery
- You backed everything up right?
- Factory reset (This is the slider at the bottom in the wipe menu).
- Format data. (This is the button that says Format data in the wipe menu)
- Do NOT wipe cache, do not Wipe system, do NOT Wipe Dalvik / ART, do not add anything else, Just Factory Reset and Format Data. After doing those two Reboot to Recovery one more time. You must do this after formatting data.
- Now transfer Lineage and TWRP to your phone, Windows / Linux should see TWRP fine as a media device when plugged in.
- Install Lineage
- Run the TWRP Installer.
- Reboot to Recovery, switch slot
- Install Lineage (You need Lineage on both slots, so yes run it again)
- Run the TWRP Installer (yes again).
- Reboot to Recovery.
- Install Gapps if you want them.
- Install Magisk 20.3 if you use Magisk. I used 20.3 it works fine. Do not install modules or other add ons at this point. Boot once and go through the setup and everything, then install your add-ons.
- Be aware the phone will restart once, then Lineage will start up and all will be good.
sajeel said:
here is my set of instructions using linux os as below:
Click to expand...
Click to collapse
Those look familiar. Glad you got everything working.

[ROM] [GSI] Android 10 AOSP

Hi guys, I have been testing the GSI AOSP ROM (from @phhusson) on our CC9e and works well most of the functions (maybe is not for daily driver but you can test and decide), except for :
-the FP sensor doesn't work
- the camera preinstalled not adjust to interface and the quality is bad (install gcam instead)
- Maybe other things
For those who want to test the AOSP Q sensation try the next steps:
You need a unlocked bootloader a TWRP working on your device and maybe some knowledge on how TWRP works.
1- Install the latest android 10 xioami.eu rom for cc9e (in order to get the vendor of android 10).
2- Download the latest AOSP 10 gsi system image (thanks to @phhusson ), extract it to get the .img file, copy it to internal memory or a otg device, then back to twrp.
2- Enter to wipe option on twrp, and slide to wipe data and cache partition, then go to install option and flash the .img file in the system partition.
3- Once it is installed just reboot to system and test the sensation of an AOSP rom
fer15 said:
Hi guys, I have been testing the GSI AOSP ROM (from @phhusson) on our CC9e and works well most of the functions (maybe is not for daily driver but you can test and decide), except for :
-the FP sensor doesn't work
- the camera preinstalled not adjust to interface and the quality is bad (install gcam instead)
- Maybe other things
For those who want to test the AOSP Q sensation try the next steps:
You need a unlocked bootloader a TWRP working on your device and maybe some knowledge on how TWRP works.
1- Install the latest android 10 xioami.eu rom for cc9e (in order to get the vendor of android 10).
2- Download the latest AOSP 10 gsi system image (thanks to @phhusson ), extract it to get the .img file, copy it to internal memory or a otg device, then back to twrp.
2- Enter to wipe option on twrp, and slide to wipe data and cache partition, then go to install option and flash the .img file in the system partition.
3- Once it is installed just reboot to system and test the sensation of an AOSP rom
Click to expand...
Click to collapse
Very nice.Thank you much more.

[GUIDE] CorvusOS for J7 Prime

As you all may know, CorvusOS is one of the most popular custom ROM At the moment, and the developers known as "Tipz Team Builds" Have made it compatible for J7 Prime!
(IMPORTANT!!, There are currently lots of bugs in CorvusOs, so i recommend waiting for a stable release, if you wanna install it then im not responsible for any damages done to your phone, i warned you!)
(Please as always take a nandroid backup of your phone as with any other custom rom installation!)
Credits :
Tipz Team Builds original thread : https://forum.xda-developers.com/t/gsi-beta-11-phh-corvusos-v16-8-avalon.4212765/
Downloads :
Treblue : https://www.mediafire.com/file/xskqacpul8glpfx/Treblue_v2.0.zip/file
NikGAPPS : https://www.mediafire.com/file/fk3xv8xr8i2bxrt/NikGapps-basic-arm64-11-20201231-signed.zip/file
CorvusOS : https://sourceforge.net/projects/ti...e-25082021-Beta-Official-0000.img.xz/download
Installation :
*I cannot stress this enough, Please always take a nandroid backup of your phone when installing a custom rom!*
1. Download all of the above
2. Boot into custom recovery
3. Wipe : Cache, Dalvik Cache, Data, System, Vendor *DO NOT WIPE INTERNAL STORAGE*
4. Extract the CorvusOs*version*.img.xz as .xz
5. Flash the extracted CorvusOs as system image
6. After flashing CorvusOs, Mount System and vendor, *If you can't mount it, Reboot into recovery again*, After mounting Flash Treblue
7. After flashing treblue Flash NikGAPPS
8. Wait for it to finish
9. To confirm it works reboot into recovery and look at terminal, it should say something like "Custom ROM (TREBLE) CorvusOs"
10. Now reboot into system and enjoy!!
After installation it should reboot a few times, let it rest for 5-10 minutes
Credits are given above, please give me suggestions on how to improve my guide!
Also, if you are gonna update to the latest version, do not download ones with "gapps" in their name, also the file must have either vndklite or nonlite on the file, so it looks something like this
CorvusOs-*version*-treble-arm64-vndklite/nonlite-*DATE OF RELEASE*-Beta/Stable-Official-0000.img.xz

Categories

Resources