[Sony Xperia L1 Guides, News, & Discussion] purjolini:
Hi mingkee.

This works whit G3311 confirmed. Build: 43.0.A.6.49 Android 7.0 Baseband MOLY.LR9.W1444.MD.LWTG.MP.V166..5, Kernel 3.18.35+

Kernel is for G3313 magisk patch.

Everything works with this for G3311 as I've tested. Try it at you're own risk.

In linux in (debain, Ubuntu, Linux Mint and all) you need tools

Terminal "sudo apt-get install android-tools-adb android-tools-fastboot"

1. Unlock bootloader https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/#unlock-code. Get the code

2. Go to settings/ about phone/ build number/ click 7 times. Go back to settings. Developer options/ USB debuggning ON. OEM unlock ON. And try "adb devices" in terminal GNU/Linux. Should popup a allow PC on the phone" tranfer files is necessary "MTP", on the phone.

3. In terminal "adb reboot bootloader" this is where "allow access to computer" if it's haven't appeared allow on the phone.

4. In terminal "fastboot oem unlock x0(the code). no space. Don't know why x0 doesn't exist in the code. Don't know why. It's my first Sony with the openness they got now (thank god for Lund, sweden and Jolla, Finland). But it seems pretty easy to unlock. Honor 8 have closed bootloader unlock since 8 Month. So be at ease. And maybe save you're unlock code. But it doesn't seems like you need it.

5. I did it this way.

5/1 Download https://serv8.asuscomm.com/owncloud/index.php/s/t3N4iYNUoAMnwqI "latest I think" otherwise you can look at this link https://xdaforums.com/apps/magisk. A bit messy I think.

6. Terminal command "adb install (this apk) drag it from dir. Of course ADB-debugger ON. I don't know instructions for Windownsyndrom. If you need it, I can guide you or somebody else that need it. Just ask.

7. Download https://serv8.asuscomm.com/owncloud/index.php/s/QXkxRkBezJXLlQE. And the easiest way are with ADB "adb reboot bootloader". Or use buttons and cable. Blue LED should be on and black screen.

8. Teminal "fastboot devices" Permission denied. Then you need sudo. Try "sudo fastboot devices"

8/1 If you need ROOT remember

------------------------------------------------------------------------------------------------------------------------------------------------------------

We trust you have received the usual lecture from the local System

Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.

#2) Think before you type.

#3) With great power comes great responsibility.

----------------------------------------------------------------------------------------------------------------------------------------------------------

Terminal

johan@johan-VIT ~ $ sudo fastboot devices

[sudo] password for johan:

WUJ01R6***	fastboot

----------------------------------------------------------------------------------------------------------------------------------------------------------

When you see a number then you know the GNU/Linux recognize the phone and back.

So after that "fastboot flash boot "this boot patched_boot_G3313.img" or if you need root "sudo fastboot flash boot "this boot patched_boot_G3313.img" drag is the lazymans work from dir. Or cd to the dir and find the file. Works whit both ROOT and user.

Terminal

"fastboot restart"

Then you should see in the magisk app that you are rooted systemless. And can use modules.

Haven't tried any modules yet.

Just try too break it down to simple language.

This is the origin of https://xdaforums.com/xperia-l1/how-to/root-l1-g3313-magisk-t3693350.