[Guide/tutorial] Samsung Galaxy S4 International i9505/jfltexx Any version to Android 8.1 Oreo/Lineage OS 15.1
This detailed step-by-step guide helps you transform your Samsung Galaxy S4 i9505 to a powerful one with Android 8.1 Oreo.
Verify your phone is i9505 before going further : when you Power on phone, it is written Galaxy S4 i9505.
v4. Moved to Android 8.1 Oreo
v3. Propose Android 8 or 9, latest Odin in pack + TWRP 3.2.3-0, tweaked OpenGapps download link
v2. Android 7.1, Google Play authentification, TWRP 3.2.1-0
v1. Android 6, pack v1
1 ) TO DOWNLOAD
- djibe Galaxy S4 i9505 pack v2 updated : http://bit.ly/djibe-i9505-djibev2
(contains Samsung Odin 3.07 flash tool + Samsung USB drivers + recovery TWRP 3.2.3-0 + root (addonsu.zip) + deviceID.apk app).
+ ROM Lineage OS 15.1 unofficial for i9505 : https://www.los-legacy.de/jfltexx
(more info https://forum.xda-developers.com/gal...-15-1-t3816279)
Or try: Android 9.0 Pie/Lineage OS 16 https://forum.xda-developers.com/gal...uilds-t3858607
+ OpenGApps ARM 8.1 pico : https://opengapps.org/?arch=arm&api=8.1&variant=pico
+ a microSD card (FAT32 format)
+ Charge phone to 100 %
Copy ROM, GApps, addonsu, deviceID.apk on the microSD card.
Inseert it in phone.
2 ) BACKUP DATA
Install Samsung drivers (you unzipped earlier).
Then plug phone to PC in File transfer mode.
Collect all .jpg or .mp4
use an app like Backupyourmobile to backup texts, contacts, etc.
Check that backup is located on microSD card.
Then copy the backup on your PC.
3 ) FLASH TWRP RECOVERY
Shut down phone.
Boot in Download Mode : hold Home + Power + Volume- for 3 seconds and release.
Confirm with Volume+.
Connect phone in USB, wait for bootloader drivers installation in Windows.
Then launch Odin.exe (you unzipped) and wait for Odin indicator ID:COM to become blue.
In options: Verify re-partition and Auto Reboot are NOT tickeded while F. Reset Time is ticked.
In Files -> PDA -> select twrp-3.2.3-0-jfltexx.img.tar (from my pack)
### Warranty is now Void ###
Power Off phone after green success message appears.
4 ) FORMAT TO F2FS
F2FS is the fastest filesystem for read and write partitions on flash memories. Compared to EXT4, gain is from 15 to 280 %.
No need to format the /System partition because it is Read only and Ext4 is still faster.
Boot in Recovery Mode : Hold Home + Power + Volume+ for 4 seconds, release and wait a few seconds for TWRP recovery to boot.
If it asks for Keep System Read Only ? -> Swipe to Allow Modifications.
Go to Wipe -> Advanced wipe,
select Dalvik, Cache, System, Data, Internal Storage (if you really made a backup from step 2), then Swipe to Wipe,
Still under Advanced Wipe menu, select the /Cache partition and tap Repair or Change File System -> Change File System and select F2FS.
Confirm with a Swipe to Change.
Then back, back, back to Advanced Wipe Menu again.
Repeat this step to format to F2FS the /Data partition.
5 ) FLASH ROM, ROOT AND GAPPS
Go back to TWRP Home menu. Then tap on Install -> choose Lineage*.zip,
(if you don't see the files, tap on Select Storage and make sure Micro SDCard is active).
then Add more Zips -> addonsu*.zip,
then Add more Zips -> open_gapps.zip,
then Swipe to confirm Flash.
Wait for operation to end.
Then tap Wipe cache/dalvik, swipe to confirm,
then Reboot System.
Wait for the phone to boot during 10 minutes.
6 ) ROOT ACCESS
Once in Android, open the Settings menu, select "About Phone".
Tap on the "Build number" entry seven times. You should be notified, that the Developer settings are now active.
Open the developer settings menu (located in the Android settings menu), check that Root access is on for Apps+ADB
7 ) CALIBRATE BATTERY
In Google Play Store, download App Battery Calibration (from IMobS Ltd).
Launch the App.
Confirm root acces.
Plug tab and wait till charge hits 100%, then hit BATTERY CALIBRATION and unplug it.
9 ) GPS Fix
If your time to fix GPS is too long, use the GPS Satus and Toolbox app from the Play Store.
10 ) OBTAIN GOOGLE MOBILE SERVICES (GMS) CERTIFICATION
Google now restricts Google Play and Google apps access to certificated devices. Since you have a custom ROM, you are banned.
We now need to subscribe for the Google Play Certification.
In Android, go to Settings -> Security and activate the Unknow sources
Now use the built-in File explorer app to navigate to your micorSD card, and tap on the deviceID.apk file you copied earlier.
Install it, launch it.
Tap on the Google Service Framework (GSF) line, then tap on the COPY button.
In your Android webbrowser, go to : https://www.google.com/android/uncertified/
Connect to Google using your Google/Android account.
In the input field of the page, paste the 16 digits code.
Click on the Save button, a success message confirms your device is Certified.
Do I need to re-certify it ?
"Your device’s GSF ID is reset every time your device is factory reset (or when you wipe the GSF app itself) since it is stored in your data partition, so you must re-register your GSF ID every time you perform either of these actions."
More info here : https://lineageos.org/Google-Play-Certification/
Thanks: LineageOS team, TWRP team, OpenGapps team, @ripee, @Exodusnick, @0LDST4R, @AnnoDomini1993, @Buff99 and many others