FORUMS
Remove All Ads from XDA

[Guide/tutorial] Samsung Galaxy S3 i9300 Any version to Android 7.1/Lineage OS 14.1

393 posts
Thanks Meter: 274
 
By djibe89, Senior Member on 1st November 2016, 01:59 PM
Post Reply Email Thread
[Guide/tutorial] Samsung Galaxy S3 International i9300 Any version to Android 7.1 Nougat or newer

This detailed step-by-step guide helps you transform your Samsung Galaxy S3 International i9300 to a powerful one with Android 7.1 or 9 (beta).
Verify your phone is i9300 before going further : in Android, go to Settings -> About -> Check model is GT-i9300.
If not, quit this tutorial.

CHANGELOG ------------------------
v5. Updated links and pack (removed hybrid kernel, updated TWRP 3.3.1-0), added Android Pie alternative, backup IMEI partition
v4. Pack refresh : Hybrid kernel v13, OpenGapps download link
v3. Pack refresh : Hybrid kernel v11.2, TWRP recovery 3.2.3-0, Boeffla config 2.5.20
v2. Moved to Android 7.1, new pack, custom kernel, latest Odin + kernel
v1. Initial release for Android 6


1) DOWNLOAD ---------------------
- djibe Galaxy S3 i9300 pack : http://bit.ly/djibe-galaxys3-pack
(contains preconfigured Odin 3.13.1 + Samsung drivers + TWRP 3.3.1-0 official recovery + SuperUser/root for LineageOS + DeviceID app).
Unzip files.

+ ROM LineageOS 14.1 Unofficial : https://forum.xda-developers.com/gal...i9300-t3544531
Download (select latest build) : https://androidfilehost.com/?a=show&w=files&flid=290848

Want to test unstable (but smooth) Android 9 pie ? Optimized Lineage OS 16 is here : https://forum.xda-developers.com/gal...-team-t3940142
Download here : https://mega.nz/#!9bhlRI7A!1AbOwQ5iy...R1VJ_RGqsJwslw
OpenGApps for Android 9 : https://opengapps.org/?arch=arm&api=9.0&variant=pico

+ OpenGApps ARM 7.1 pico : https://opengapps.org/?arch=arm&api=7.1&variant=pico

+ a microSD card. Copy ROM, Gapps, SuperSU/Root and deviceID.apk file on microSD card (FAT32 format) and insert it in phone.

+ Charge phone to 100 %


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 3.3 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.
Then launch Odin.exe (included in my archive) and wait for Odin indicator ID:COM to become blue.
In options: Verify Auto Reboot and Re-Partition are NOT ticked while F. Reset Time is ticked.
On right panel -> AP -> select twrp-3.3.1-0-i9300.img.tar
### Don't use other menus like BL, CP or CSC (I desactivated them but we never know).
### Warranty will be Void after next click ###
Click Start.
Power Off phone when PASS! green message appears.
Wait a few seconds, then move on below.


4) BACKUP IMEI PARTITION
Boot in Recovery Mode : Hold Home + Power + Volume+ until you see the Samsung logo then 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 Backup > you can select the partitions you want to save.
Select at least EFS partition to backup your IMEI. If a flash fails and partition is damaged you will still be able to restore this partition and use the phone.
If IMEI is lost during a flash, phone won't be able to reach cellphone networks.
I prefer to backup EFS, Boot and System.
Now type Select Storage > Select Micro SD card and confirm with OK
Now Swipe to Backup and wait during process.
Go to Home screen and continue with next chapter.


5) FORMAT PARTITIONS TO F2FS
### DON'T IF YOU USE ANDROID 9

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+ until you see the Samsung logo then 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 / ART Cache, Cache, System, Data, Internal Storage (if you really made a backup from step 2), then Swipe to Wipe,
then tap on back icon.
### If you get error : unable to mount storage, in TWRP, go to Reboot -> Recovery.
### Grant partition modification on next boot.
###If you still have problems mounting partitions, see this thread : https://forum.xda-developers.com/yur...-twrp-t3640345

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.


6) FLASH ROM, GAPPS and KERNEL
Go back to TWRP Home menu. Then tap on Install -> choose LOS14.1*.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.


7) 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 Settings menu, select "Developer options". Enable root access by selecting "Apps" in the "Root-Access" setting.


8) 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.

You can use GPS Status & Toolbox app for faster GPS fix.


9) RESULTS
Tested with LOS 14.1 build 20190217
Antutu Benchmark : 25973 pts
Antutu Benchmark stress test : Pass
PCMark Work 2.0 performance : 2163 pts
PCMark Work 2.0 battery life : 4h09 (Wifi N connected, full screen brightness)


Enjoy,
djibe

Thanks : LineageOS team, TWRP team, @pascua28, Lord Boeffla, arter97, AndreiLux, Oebbler, A$teroid, DerTeufel1980
The Following 2 Users Say Thank You to djibe89 For This Useful Post: [ View ] Gift djibe89 Ad-Free
25th January 2017, 11:01 AM |#2  
OP Senior Member
Thanks Meter: 274
 
More
Next version will allow you to increase available size on your Galaxy S3. See you soon
18th June 2018, 10:55 AM |#3  
OP Senior Member
Thanks Meter: 274
 
More
Hi guys, whole new tuto is released for enhenced flashing experience.
22nd June 2018, 02:33 PM |#4  
OP Senior Member
Thanks Meter: 274
 
More
Hi guys, do you think LOS 15 is stable enough to use it in this tutorial ?
22nd June 2018, 02:36 PM |#5  
OP Senior Member
Thanks Meter: 274
 
More
Ooops, didn't even think LOS15 wouldn't be available for this top phone !
Too bad
23rd September 2018, 05:35 PM |#6  
OP Senior Member
Thanks Meter: 274
 
More
Refreshed pack for latest recovery and kernel.
Enjoy
14th December 2018, 09:44 PM |#7  
OP Senior Member
Thanks Meter: 274
 
More
Pack updated for State of the Art flashing.
10th January 2019, 04:41 PM |#8  
OP Senior Member
Thanks Meter: 274
 
More
Hybrid kernel v13 is in my pack, if you are looking for it everywhere ...
20th March 2019, 06:34 AM |#9  
Junior Member
Flag Semarang
Thanks Meter: 1
 
More
Is it necessary to flash the Hybrid Kernel? Or can I use the stock kernel?
20th March 2019, 07:55 PM |#10  
OP Senior Member
Thanks Meter: 274
 
More
Quote:
Originally Posted by bsetiawan

Is it necessary to flash the Hybrid Kernel? Or can I use the stock kernel?

You can keep stock kernel. No pb.
21st March 2019, 11:28 AM |#11  
Junior Member
Flag Semarang
Thanks Meter: 1
 
More
Quote:
Originally Posted by djibe89

You can keep stock kernel. No pb.

Thank you for the confirmation.
Post Reply Subscribe to Thread

Tags
android 7.1.2 nougat, guide, i9300, tutorial

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes