yashsingh1/xdaforums huggingface dataset:
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] bigrammy:
I did not see any other builds in the OP I used the v8 build date 2020/03/14 and this build had the above bugs :confused:

I see now you made commits to fix the bootanimation in the source. It maybe a good idea to add Releases page on the PineDevelopment git?

Just to be clear I am not very good with github and would hate to wreck anything on the PineDevelopment. :laugh:

The fixes I used consisted of replacing the bootanimation in /bin and replacing the bootanimation.zip in /system/media.

The corrupted storage issue was fixed by using the stock rom's vold as I did on the tuba (XA) some time back which had the exact same issue.

As for Open Sony qcom devices Sony release the blobs for these devices which i assume differ from the ones in the stock ROM's. :confused:

I could be totally wrong about org.simalliance.openmobileapi been the cause of the Ril issue but it does seem to be a bit of a coincidence.

I do not know which other MTK devices use org.simalliance.openmobileapi to try compare. :confused:
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] rote66:
Release in my github's device,i didn't merge it to pinedevelopment beacuse both have some differents.;)

Maybe can try To merge the openapi To have a try:confused:
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] jmpf_bmx:
I will update the post tomorrow.

That i have a fix for OMX.
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] superdragonpt:
Hi

org.simalliance.openmobileapi --> this is used by NFC.

There's no relation with the built RIL blobs, but this is also included in the mtk modem source (for NFC interface )

( NFC interface is built on modem as you should know already)

You don't ( and shouldn't) try to use stock MediaTek RIL blobs on an AOSP(ish) based source

You can use the AOSP ril source , and just add an minimal MTK methods and it'll work just fine...

This has been working for us on many mtk SOC's up to Pie

( we haven't been building android 10 so far.. so I dunno)

Cheers
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] bigrammy:
Thanks for clearing that up mate. :good:

When you become desparate some times I overlook the obviousness of some things. :silly:

Many Thanks! :victory: :victory:

.
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] _otze_:
Sim is in, but GSM dos not work

### Sorry, i had a Mistake in reading your manual and lost the original boot.img.

### Does someone have it one for me? German Version is needed.

###

### mfg _otze_

its no longer relevant. closing the bootloader and the work has done by pc companion....

In your v10 GSM does not work. is there a solution?

mfg Otze
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] bigrammy:
Hi,
[MENTION=9455950]jmpf_bmx[/MENTION]
[MENTION=9523757]rote66[/MENTION]

I have been reading up on how to build from source and all that's involved git etc etc etc :eek:

Anyway I missed your newer builds because we do not get a notification when you edit the OP so can you just do a quick new post each time you do a release so we get a notification. :good:

I notice in the OP you say you cannot test is that because you do not have the L1 ?

On a side note I noticed In the ProjectConfig.mk in the stock ROM at the bottom there is a comment by the OEM

#//<2016/12/13-jackliao, [OneSW]Add one software multi sim support
#One software multi sim
SONY_ONESW_MULTI_SIM_SUPPORT = yes
#//>2016/12/13-jackliao

Are we using the stock kernel?? or did you build it ?

I will Flash v10 later today and give some feedback and logs. :fingers-crossed:
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] jmpf_bmx:
Hi [MENTION=3924647]bigrammy[/MENTION],

How are you?

I am building using Kernel Source.

I think that RIL isn't working because IMEI SV isn't being recognised.
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] bigrammy:
I fixed the IME SV in the last build by adding this to the build.prop

ro.build.imeisv=15

15 is what was reported by the Stock ROM :confused:

Without the sim card inserted all imei and imei sv was populated in /settings/about phone.

I am just flashing the v10 version now so will make the edit and see what happens :fingers-crossed:

EDIT: Maybe someone on the STOCK could report their IMEI SV just to double check I remembered the version correctly.
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] bigrammy:
update for v10

Hi,

[MENTION=9455950]jmpf_bmx[/MENTION]

[MENTION=9523757]rote66[/MENTION]

Ok I flashed v10 and here are my experiences.

Easy fixed bugs:

1. Multipule Unknow SDcards showing. (This is fixed by adding the Stock /system/bin/vold ) if you need that let me know and I will upload it for you.

2. No IMEI SV. (This is fixed by adding ro.build.imeisv=15 to the system/build.prop )

So for clarification this is what happens when booting after fixing the above.

1. With SIM Inserted.

Phone boots up as normal Status shows as " No Service " with sim icon with / through it.

/System/settings/About phone shows :

Baseband version = Unknown

/Status IMEI Information = Unknow for all.

SIM 1/2 status = Not available for all

RiL Log for L1 WITH SIM Here

2. Without SIM inserted.

Phone boots up as normal Status shows as " No SIM card " with sim icon with / through it.

/System/settings/About phone shows :

Baseband version = MOLY.LR9.W1444.MD.LWTG.MP.V190.4.P1, 2018/10/23 22:08

/Status IMEI Information = All IMEI and IMEI SV are present and correct for all.

SIM 1/2 status = Not available for all

Ril Log for L1 WITHOUT SIM Here

I have some ideas to test so will report back later. did not work :laugh:

Edit:

Hi [MENTION=5238428]superdragonpt[/MENTION]

All these Sony mtk ROMs use rilproxy is this where the problem lays. The logs above suggest things are nearly there but obviously something is not correct. :eek:

I have been reading up on RiL implementation and I must confess it baffles me the more I read it. :crying:

Would it be OK for me to PM you?

.
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] _otze_:
Is there something new? Is there a chance for my L1 to use Lineage?

Greets....
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] jmpf_bmx:
Hi!

How are you?

I have been trying to make ril works but i only got what i wrote. I am gonna try it again. You can use LOS at your L1 if the device isn't your daily driver.
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] _otze_:
Hi, I am fine.

Is it right, i can not call someone without RIL, or am i false?
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] bigrammy:
You are correct "No Calls or sms without RIL"
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] andrw.gldmn:
So.. I can see only one solution for tuba and pine (and maybe all sony phones on MTK) for make RIL work as usual (but maybe not).

We should rebuild LK and preloader from clear MTK source with disabling all checkings in them.

This solution was perfect for elephone p9000 (they also had this problem but after rebuilding lk and preloader it was fixed)

Maybe If I found "pine" in next month I will try to "make it real" :)
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] bigrammy:
Yes maybe that will work but very risky without SPFlashTool support :eek:

These Sony's brick real easy with no way back it would seem. :crying:

Plenty of bricked Sony MTK devices around now when Sony FlashTool was flashing the wrong preloader and lk "TEST" version instead of "LIVE" version contained in the C4/C5, M5 Device Firmwares.

It would be nice to see if it can be fixed using existing preloader and Lk first. :fingers-crossed:

The below is what FlashTool was flashing for UNLOCKED devices and it was bricking devices.

I removed these TEST .sin parts and edited the paths to the LIVE .sin and flashed my C4 back to 5.0 using FlashTool with no bricking or issues. :D

So even Sony's own preloader and lk were bricking the devices.

<?xml version="1.0" encoding="UTF-8"?>
<BOOT_DELIVERY FORMAT="1" PRODUCT="Cosmos" SPACE_ID="1292-1556" VERSION="1292_1556 S1_Boot_MT6752_TC9SP_106">
<CONFIGURATION NAME="DEVELOPMENT">
<BOOT_CONFIG>
<FILE PATH="Cosmos_S1BootConfig_MiscTA_20151105.ta"/>
</BOOT_CONFIG>
<BOOT_IMAGES>
<FILE PATH="lk_S1-BOOT-TEST-B316-0001-MMC.sin"/>
<FILE PATH="logo_S1-SW-TEST-B316-0001-MMC.sin"/>
<FILE PATH="preloader_s1sbl_S1-BOOT-TEST-B316-0001-MMC.sin"/>
<FILE PATH="secro_S1-SW-TEST-B316-0001-MMC.sin"/>
<FILE PATH="tee1_S1-SW-TEST-B316-0001-MMC.sin"/>
<FILE PATH="tee2_S1-SW-TEST-B316-0001-MMC.sin"/>
</BOOT_IMAGES>
<ATTRIBUTES VALUE="OTP_LOCK_STATUS_1="UNLOCKED""/>

</CONFIGURATION>
<CONFIGURATION NAME="PRECOMMERCIAL">
<BOOT_CONFIG>
<FILE PATH="Cosmos_S1BootConfig_MiscTA_20151105.ta"/>
</BOOT_CONFIG>
<BOOT_IMAGES>
<FILE PATH="lk-sign-signed_S1-BOOT-LIVE-4154-0004-MMC.sin"/>
<FILE PATH="preloader_s1sbl_PLATFORM-MT6752-LIVE-95CE-OEM1-ROOT_S1-BOOT-LIVE-4154-0004-MMC.sin"/>
<FILE PATH="logo-sign-signed_S1-SW-LIVE-4154-PID1-0005-MMC.sin"/>
<FILE PATH="secro-sign-signed_S1-SW-LIVE-4154-PID1-0005-MMC.sin"/>
<FILE PATH="tee1_PLATFORM-MT6752-LIVE-95CE-OEM1-TEEIMG__S1-SW-LIVE-4154-PID1-0005-MMC.sin"/>
<FILE PATH="tee2_PLATFORM-MT6752-LIVE-95CE-OEM1-TEEIMG__S1-SW-LIVE-4154-PID1-0005-MMC.sin"/>
</BOOT_IMAGES>
<ATTRIBUTES VALUE="OTP_LOCK_STATUS_1="LOCKED&quot:"

I will PM you soon regarding a L1

.
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] Rortiz2:
Hey,

That sounds cool but I'm unsure about something. Do we actually have MT6737T bootloader/preloader source code? Building an LK requires specific sources for each devices (configs, pinouts, etc).

Also, even if we unlocked the bootloader, Preloader it's still being verified by bootROM (which is read-only). So we actually can only change bootloader.

Regards.
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] bigrammy:
I can't be 100% certain but I think one of the kernel source releases for maybe the tuba (XA) and or XA1 I looked at contained the lk folder too but my memory is not too great nowadays :laugh:

I think Sony give us all we need it's just we can't work out how to use it. :laugh:

Maybe Harry Potter would help us. :laugh:
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] Rortiz2:
Hi,

I don't know tuba but I'm pretty sure Sony just released only Kernel Sources for L1 so basically here it's a dead end:confused:

BTW, [MENTION=7980102]andrw.gldmn[/MENTION] did you managed to boot 8.1.0 in XA? We're struggling here as we keep getting Gralloc crashes.

Regards.
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] bigrammy:
Your probably correct as I have not had a look through all the L1 kernel release's.

Did you get hold of a Sony L1 ?
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] Rortiz2:
Hi,

Sorry, I missed your response..

No I don't actually own L1, I'm just helping the dev when I can...

Regards.
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] _otze_:
Hi,

how much percent do you think will it result in a dead end?
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] _otze_:
Hi,

i own a L1.

Can i help you in any way? I am not the best technician at android but i would do so, if i have the possibility....

otze
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] Tony3ds:
the magisk download link doesn't work
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] jmpf_bmx:
Hi Tony3ds,

Thaks for report that wasn't working Magisk Download Link, now should work, I have updated.

Regards,

Jose
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] nik-kst:
Collecting Lk and preloader is not a problem. For building Lk and preloader everything is in the source code laid out by Sony.

The problem is the lack of support by the SP FashTool device. Because of this, there is no way to flash the assembled preloader and Lk.

There is no way to make a full backup, and there is no way to re-partition the phone for newer versions of android.

If there is a way to make a full backup, please share it.
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] bigrammy:
Backing up is pretty easy to do with the DD CMD root via mtk-su or TWRP is required though.

In fact I have a script at home specifically for Sony so I will share it here with the how too in a few days when I get back home. If you are bootloader locked don't unlock until you have got backup ?
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] nik-kst:
I'm looking forward to it.

The bootloader is still locked.

Collected android 9.0, no vendor section. And I'm porting the kernel for 9 android.

github.com/nik124seleznev/kernel-3.18_sony_pine_sony_xperia_l1_for_android_9.0
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] bigrammy:
I sent you a PM regarding the backup script.

Any Problems or help needed just let me know. :good:
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] nik-kst:
Can not download. This file cannot be opened because it violates the Terms of Service.

---------- Post added at 01:04 PM ---------- Previous post was at 12:58 PM ----------

If possible, put the file on another disk or put a password on the archive.
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] bigrammy:
Added to Pcloud check your PM's for link :fingers-crossed:
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] nik-kst:
Thank you so much.
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] bigrammy:
Your Welcome.

Let me know if the sony.sh worked as expected. :fingers-crossed:

I did test the script on my device numerous times but it's always nice to receive some confirmation from others. :good:

The dd-backup.txt in the dd-backup folder contains a full list of every partition so you can just copy the full dd cmd to backup any partitions you like while you are running as # root. ;)

.
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] nik-kst:
Everything worked great.

Now it remains to figure out how to pour it all back into the phone.

And how to reformat the body for the new markup that goes to android 9.

You can build lk and preloader, but here's how to flash it and make spft see it.
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] bigrammy:
Hi,

Clad the script worked for you :good:

You can build a new LK and Preloader but flashing those usually ends in a bricked device as discussed earlier in this thread. :eek:

With NO SP Flash Tool to rescue the device the only way to recover the phone would be to send it back to Sony or a professional repair center I think.

In my experience you must leave preloader, LK and even Logo alone unless flashing factory images.

The dd-backup of the Preloader will need to be trimmed just as you would need to do with a SP Flash Tool backup of the Preloader so don't just reflash that as it is.

I do not see any reason why we need to mess with the Preloader and LK for now as Team Mad managed to bring up Android 8.0 and even 9.0 on devices using 6.0 Preloaders and LK's.

6.0 > 7.0 >8.0 > 9.0 should all work without the need of re-partitioning anything a good example of this is the stock ROM's of Nokia3 (mt6737) :confused:
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] jmpf_bmx:
Guys if you don't know, we are working for bring LOS15.1 and LOS16.0 to pine.

This isn't an easy thing.
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] bigrammy:
Just trying to stress the point that flashing the preloader, LK and ta with none Stock images Usually ends with a bricked device in my experience. :eek:

Maybe the L1 is different from other Sony MediaTek devices or is recoverable if so then hopefully someone could share the method. :fingers-crossed:

Plenty of C4/C5, M5 users with phone paperweights due to FlashTool flashing the wrong "TEST" images instead of the "LIVE" ones which are all included in the Firmware packages downloaded from Sony servers. :crying:
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] jmpf_bmx:
If i don't remember bad Octopus BOX supported some Sony devices, and they had repair TA Partition. We need to check if they support L1, here you can see that they add support to some SONY devices.

https://octopusbox.com/news/details/265
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] chromius228:
hello,

Many thanks for them who are still trying to get RIL working. I believe you will find way to fix it.

Just know that there are guys that are still waiting for custom rom with working RIL. (me, lol)

All I can help L1 users with is that stock ROM boots infinetely if built-in facebook app is uninstalled, so I personally just disabled it as I dont need it.
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] XperiaStark:
I got error 7 when i try to flash the rom or digest file not found...what can i do?
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] Erikssonh:
good work

Thanks for a good guide and info, now i got my fathers Xperia L1 (G3312) rooted and installed with SuperSu, Gapps, and Lineage OS 14.1 and my bootloader unlock code i got from Sony homepage. Now i only have a couple of cellphones and a ASUS Phonepad 8 (FE380G) to fix with the same setup.. :D
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] bigrammy:
Did you get the Ril working??
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] Erikssonh:
Iv'e got the Xperia L1 (G3312) working with that combo i wrote only one thing that is not play along is when u boot the phone i got a message with a triangle that says your phone is unlocked and is in danger, it will reboot in 5seconds and when it reboots it works fine... And i still working with the ASUS Fonepad 8, me and that intel combo in that pad is not friends at the moment..

//Henrik
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] bigrammy:
Hi,

I am a little confused :o

We were unable to get the Mobile Signal and Sim to register (Radio Interface Layer RIL) using Lineage OS so can you please explain how you fixed this or did simply flashing Gapps and SuperSu or Magisk do the trick?

Can you explain what you did step by step so we may try to reproduce the desired outcome.

If the RIL can be made to work then development work may continue on this device. :fingers-crossed:

Thanks.
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] Erikssonh:
Sorry, it was me that was to eger to fix the cell for my father that i have truly missed that part of working RIL its the same for me 2, but i thought i can look in to it and search more info about it and if i come up with a solution im more than willing to share it to everyone...

/H
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] bigrammy:
Ok no problem I thought you were maybe related to the Ericsson of Sony Ericsson fame and was able to fix the RIL using your contacts within the Sony organizations Black Opp's "Mediatek RIL protection" department. :laugh:

Seems like every other Sony phone has working RIL with custom ROM's except their MediaTek device range which all suffer from the exact same issue. Sadly Sony offer us no help or support and no OS version Upgrades on these devices. :(
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] Erikssonh:
Actually i didn't even think it was that complicated to get Lineageos installed on a Xperia tho i got Lineageos 14, TWRP and supersu installed without any hangups on my Galaxy S6 Edge, and my Samsung Tab E and working perfect. As i mentioned earlier in this thread now it's only my fathers Asus fonepad 8 and my chinese MTK6753 phone to get fixed to run the same things. But i have noticed that the newer Mediatek devices is more complicated to get reinstalled with a custom os and recovery, especially when my volume up button dont work when i want to unlock the bootloader.. (sorry if i got of grid in this thread when it is about xperia and not cheap china devices)..

//H
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] conjuctovie:
Have you guys ever wondered of creating the ROM from scratch again (not completely from scratch but every code that contains something about RIL) or maybe you could look into the stock firmware sony files or other ROMS for mediatek devices that got ril working and see what they have in the files containing RIL and see how they made it work then implement it into your own work. Maybe also, you could remove anything that are seen as 'add ons' like Engineer mode (if it is an 'add on', I'm not sure)

Please don't get the wrong idea, i truly appreciate your work and the extremely hard work you have put in as a team. I only wrote this a suggestion if you have not tried this yet. (probably have).

Thanks for reading, YOU GUYS ARE AMAZING! Keep up the good work!
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] jmpf_bmx:
Hi,

How are you?

Yes we have tried that, we tried lots of things none work

Probably we need any .java file that SONY used for make RIL work at SONY MTK Devices

But who knows?

I just found that we need somethings from stock will give a try the 15th of this month that is when i finish my exams

But this device is making me mad. We tried to boot oreo and we couldn't bcuz of SONY graphics libs [Exactly Gralloc, Mali and hwcomposer (We tried to use from other devices and didn't work)]

:(

Thanks,

Regards Jose
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] conjuctovie:
You guys are legends for even bearing the amount of stress and challenges this phone brings. Well done guys.

Good luck with your exams. YOU WILL GET HIGH SCORES!
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] bigrammy:
As @jmpf_bmx has said we have tried all things and not only on this devices.

I worked on the Sony XA (mtk also) and we hit the same brick wall "RIL not working"

Some years ago trxteam did some builds for the Sony M5 (mtk also) and they also had this exact same issue. :(

Sony C4 and C5 Same issue.

The problem the way I see it is that we have Sony's stuff integrated into Mediatek's which is in turn integrated into AOSP & separating the three without breaking stuff is difficult to say the least :D

We have a great dev in jmpf_bmx and we have also worked with and consulted some other first class MTK devs but these Sony Devices seem to have us all beat at the moment. :(

jmpf_bmx is studying for his exams which are far more important so I have also taken some time out to clear the mind. I will probably start looking at this device again after Christmas but if jmpf_bmx theories about using a java implementation dont work then maybe we could do a Custom Stock Rom to freshen up the device.
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] pablo.olbap:
Hello! I just would like to know if with LineageOS the L1 have OTG support for USB sticks or a midi Keyboard.

Thanks!
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] Sessiz_Hayalet:
thanks (y)
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] Sessiz_Hayalet:
password plz
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] Juraviel:
why is it not made more prominent that on this rom YOU CANT MAKE OR RECEIVE PHONE CALLS! somebody puts all this work and leaves a ROM unusable? how does that even make sense. now i can't even roll back to stock cause i didnt make backups and i don't think that's possible. i love this rom for speed, it's really flying. but no RIL.. what the hell.
[Sony Xperia L1 ROMs, Kernels, Recoveries, & Other ] jmpf_bmx:
We have discussed that a lot of times in the post (SONY make some hackeries in the source and we haven't be able of fixing it and SONY doesn't want to help).

So don't blame on us, blame on SONY, we have done this putting all our efforts and doing our best and thanks to SONY we can't boot Oreo(I even did an Oreo kernel based for nothing because ALPS don't boot), we can't flash through SP Flash Tool thanks to their S1 Boot (So if we brick our phone we need to buy a new one) and we can't also fix RIL (I have been nights without sleeping trying to fix it and I am still trying to fix it even I know that is impossible).

So u tell me me man?