yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] bigrammy:
Build 20190509 with Stock Vold.

Download Here

This fixes the issues with the sdcard :victory:

But it sadly does not fix the ril problem :(

It seems to me that the problem is with ccci_fsd and ccci_mdinit.

ccci_mdinit is killing the ril proxy while it await's some props it would seem well that's the way i read it. :eek:

this kind of message repeats over and over.

5-15 03:25:16.834 375 375 I ccci_mdinit(1): wait_for_property() ready for name:init.svc.ril-proxy, loop:18
[COLOR="Red"]05-15 03:25:16.834 375 375 D ccci_mdinit(1): check_to_restart_md kill ril-proxy, md1 only[/COLOR]
05-15 03:25:16.834 375 375 I ccci_mdinit(1): check_to_restart_md:mtk.md3.status not exist
05-15 03:25:16.834 375 375 D ccci_mdinit(1): ro.crypto.state=unencrypted
05-15 03:25:16.834 375 375 D ccci_mdinit(1): waiting nvram ready! 0
05-15 03:25:16.834 375 375 D ccci_mdinit(1): service.nvram_init=Ready, 0
05-15 03:25:16.834 375 375 E ccci_mdinit(1): Gotten ret=0,nvram_init=Ready!
05-15 03:25:16.834 375 375 D ccci_mdinit(1): unencrypted!!
05-15 03:25:16.834 375 375 I ccci_mdinit(1): USP_SBP:persist.mtk_usp_md_sbp_code not exist
05-15 03:25:16.834 375 375 I ccci_mdinit(1): set md boot data:mdl=0 sbp=255 dbg_dump=-1 rat:0x0
05-15 03:25:16.834 375 375 I ccci_mdinit(1): start_service init.svc.ccci_fsd, current state:stopped, returned:7
05-15 03:25:16.837 375 375 I ccci_mdinit(1): wait_for_property() name:init.svc.ccci_fsd, desired_value:running, waitmsec:2000, loop:20

If Anyone is even intrested that is. :laugh:

Here is the video of the loop in action Google drive video just in case anyone has seen this sort of thing before and found a fix.

I am also unable to save any apn's as I get "this user not allowed" error when I try to save it.

Also there is a modem.conf file in /oem but I do not see it in lineage and wonder if it's needed and if so where to place it? for me it says "telefonica_uk"

:cyclops:
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] andrw.gldmn:
can you fork my vendor, add needed files to it and make a pull request? Thx. :)
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] bigrammy:
Done :good:

Hopefully I did it correctly :eek:
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] saudahmedbass:
would like to help in this project but i have lil knowledge to start helping. :(
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] andrw.gldmn:
all help is appreciated ;)
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] saudahmedbass:
sure bro
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] bigrammy:
I think we should revert to the 6.0 ril parts the one that uses the modem.img because every other Lineage 14.1 I have seen that works correctly seem to use this layout. :eek:

The only other devices that uses the newer ril that works is the k6000 by team MAD but that runs on a AOSP based rom so our problem maybe Lineage rather than sony. :confused:
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] andrw.gldmn:
I can try to build AOSP but I don`t have time (exams, etc.)

Ideally we should revert to old ccci (I don`t know how it names) driver in kernel to have support of old telephony but it`s.. :silly:

On 6.0 tuba doesn`t has modem.img too If I am not forgot.

sorry for bad english, I don`t use any translators in any our conversations :)
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] bigrammy:
You are 100% correct the XA does not have a modem.img in 6.0 either :eek:

I must be getting confused in my old age :silly:

I have extracted the 6.0 firmware and had a look at the md1.img in the 6.0 firmware and it seems this is signed with the mediatek keys so maybe we could simply replace the modem parts entirely if needed ??

If we grab the ones from the k6000 maybe we can just use the ril parts from MADś build? Maybe ours would work with AOSP anyway since no one has tried it who knows what may happen. :confused:

Project Treble HERE appears to have fixed most issues with mediatek soc so maybe a few cherry picks from itś sources may be required but again it seems to be based on AOSP rather than Lineage.

Your English is perfectly understandable so need no for any apologies bro :good:

No rush for anything Andy the exams are much much more important so you should 100% focus your efforts on those first and foremost :fingers-crossed:

I just echo my thoughts on here so I can keep a track of myself I don't expect a reply to everyone of my totally random posts. :silly:

I must seem like some crazy dude to proper devs as I am certain I get things totally wrong all the time but without any formal training in this area I guess I will continue to make mistakes so I do apologize for this :o

:highfive:
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] saudahmedbass:
i never have used lineage before but aosp maybe more promising?!..

not sure because i have lil knowledge but is it worth the try to start porting on aosp rather than lineage? i dont mind being on older 6.0 android as for me 7.0's camera is buggy and i personally liked the flow of marshmallow. thats just me :P
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] bigrammy:
AOKP

[MENTION=7980102]andrw.gldmn[/MENTION]

Hi mate just for your info,

It seems the Elephone P9000 (mt6755) is receiving Official builds of AOKP :)

Maybe AOKP would be a good place to start since it´s AOSP based. :confused:

http://aokp.co/about/

AOKP P9000 (mt6755) Official Builds
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] saudahmedbass:
:fingers-crossed::fingers-crossed::fingers-crossed:
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] aliravari:
---------- Post added at 03:51 PM ---------- Previous post was at 03:51 PM ----------

[/COLOR]

at f3112 no work dual sim....

kernel?

boot?
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] xeno_den:
RIL doesn't work correctly at this moment
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] bigrammy:
Possible Ril Fix

Hi [MENTION=7980102]andrw.gldmn[/MENTION]

A guy in the XA1 thread appears to have the ril working using hackey gsi roms.

He appears to of used the ril and firmware from HERE It use Daniels ¨viarild¨ maybe you can check it out when you have the time. :o
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] andrw.gldmn:
6757 and 6755 are different SoC`s..
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] bigrammy:
I don't think that matters from what I understand.... :eek:

The K3 is a mt6752 device and [MENTION=4948627]daniel_hk[/MENTION] has basically re wrote mtkrild using the AOSP ril as a base.

He can explain better than I so read his notes and thoughts HERE & HERE daniel is a fantastic dev and still seems to hold true the original spirit of this forum which was to learn share help and educate one another :good:

Sadly some newer members seem to only want to profit from their or even someone else work this along with demanding and rude noobs is slowly killing this forum :(

Devs like yuweng and carliv both gave up the forum along with some other great mediatek devs for these very same reasons. :(

https://github.com/danielhk/android_device_lenovo_aio_otfp
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] bigrammy:
user-debug

Hi [MENTION=7980102]andrw.gldmn[/MENTION]

Would it be possible to do a user-debug build. :confused:

When I try to set a APN I get a message saying "this user not allowed" so maybe some ril parts are getting blocked or not starting for eng builds :confused:

Obviously all in your own time as I know you are probably busy with exams right now. :o
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] andrw.gldmn:
Hi. Can you add

service ril-daemon /system/bin/rild

class main

socket rild stream 660 root radio

socket rild-debug stream 660 radio system

user root

group radio cache inet misc audio log

to ramdisk? and then take logs (this service should be taken from stock boot) If I didn`t forget, I forgot to add this service to ramdisk :eek:
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] bigrammy:
Thanks I will add that part. :good:

On a side note I think I may of accidently made a little progress with the ril :fingers-crossed:

I was stripping the stock rom trying to make a rom as near as I could to pure android but during the process I noticed that when I removed the Stock Launcher the phone behaves in a very very similar way to the Lineage ROM. :eek:

The signal starts and then crashes over and over I also get a message saying "phone has stopped" so I am thinking maybe we need to investigate stock launcher to see what settings it makes, bools.xml, global.xml, etc, etc.

I have the Android One launcher (as used in the Nokia 3 mt6737) set as my default at the moment a but if I remove the stock sony launcher the above symptoms happen. :eek:

I have more .apk's to strip yet but it's a slow process as I want to do it little by little to see when and what breaks. :silly:

When I am happy with this stripped stock ROM I will re flash the Lineage ROM probably in a couple of days. :fingers-crossed:

Screenshot of the stripped rom so far. :o
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] P110:
Would you mind sharing your stripped rom when you're happy with it? ?

I'd love a lineage ROM but, while RIL's being worked out I'd quite like a stripped version if that's okay
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] bigrammy:
Hi I added those lines but it's still the same even after a factory reset. :(

Do you want a specific log.??

On the Stock ROM it's like the ril is fused because if I remove or change a single stock ril related apk the signal goes dead. :mad:

1. Remove stock home-Launcher causes ril loop like on this Lineage.

2. Google Phone installed as a system or data app works fine but If I remove sonys Dialer release (Phone) then Google Phone crashes the phone forcing a restart and the log says "user requested" restart.

Leave the Stock Phone app installed No crashes or anything when using the Google Phone as default dialer.

3. Change any other Tele***.apk and the signal goes dead.

I pretty much swapped or removed just about everything on my MM Lumigon T3 and it works beautifully with zero crashes......

Sure but it's some way off yet due to the crashing issues mentioned above. I will probably need to leave these stock parts in the ROM which is very annoying :crying:
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] mathieu 2923048:
f3111 problem

hello, the latest don't work with Xperia XA F3111 (SS), I have twrp 3.1.0 installed, no custom kernel and rooted phone with the Sony's nougat firmware

please help :(
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] mathieu 2923048:
okay okay okay, I've installed it but I wait for "RIL" I really want to help but I'm just a noob :(
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] N'ayam Amarsh'e:
RIL is a no go currently. It may never be fixed so that's a real bummer.
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] andrw.gldmn:
logs?
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] bigrammy:
Sorry I did not keep any logs other than the one I quoted for the "google phone app" which only showed "user requested restart" this when then device would reboot I guess.

I was just watching the logcat "live" when I noticed that one. :(

I could easy reproduce things and get some proper logs but would need to revert to stock first so if you let me know exactly which logs or filters you want I will try get them. Please provide the cmd's for any specifics.

Good to see you back again I hope the exams went well :good:

:highfive:
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] andrw.gldmn:
everything went well besides RIL :D I don't have any ideas, I tried everything I know, maybe only reverse engineering of rilproxy binary in IDA can help but I dont know how to do it :(
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] mathieu 2923048:
I've tried many apks and I modified the build.prop (just for looking) and, I've forgot logs ... srry
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] Downaroo:
it dont work

wifi and sim dont work mate:crying:
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] Matty1993:
Thats because the ril is not working did you read the description before installing ?
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] Downaroo:
Forgot, thanks.

I wish Android 9 roms came for tuba.
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] andrw.gldmn:
Officially tuba is abandoned from today to forever. I sold my tuba `cause I don`t have any desire to continue. I have tried everything that I could find. I am done.

Thanks everybody for support, especially bigrammy :highfive:

All sources you can find at https://github.com/SonyCustoms.
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] cojocar.andrei:
It didn't worth the effort, it has a mediatek crap overheating cpu, the design was great, but that's all...
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] andrw.gldmn:
no, its good cpu. problem was in Sony`s realization of every component i.e lk and preloader. Also tuba has new modem realization so it`s very big problem which I tried to eliminate for 1 year. Now I am done.
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] cojocar.andrei:
I couldn't use the phone on stock with waze, it was overheating like crazy, I was forced to modify the kernel so I can run waze, so yeah, I'm sticking to my crap assesment...
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] bigrammy:
Thanks for time and effort you have put in on this project it's a real shame we could crack the Sony ril not sure why Sony spent so much effort killing it. :crying:

All the Sony/MediaTek devices are the same custom rom = dead ril with no exceptions that I can find.

:highfive: :highfive:
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] lazaros1312:
well since this one died can someone please send the stock rom (flashable zip pls) so i can use my phone again?
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] bigrammy:
Did you not make a backup before flashing Lineage :confused:

If you have a PC then just use FlashTool or xflasher to reflash the Phone back to stock. :good:
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] lazaros1312:
tried and didn't work :P also no back up
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] bigrammy:
If you cannot be bothered to explain then I doubt anyone will bother to help you. :rolleyes:
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] KoMaSo:
I think with "Xperia-Comanion" from Sony you can recover th whole device.
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] lazaros1312:
-_- flashtool says eveytime i'm trying "Driver device too old"
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] andrw.gldmn:
If anyone wants to build lineage 14.1 just copy&&paste this to terminal:

mkdir los && cd los && repo init -u git://github.com/LineageOS/android.git -b cm-14.1 && repo sync -j12 --no-tags --no-clone-bundle -f -c --force-sync && git clone https://github.com/SonyCustoms/device_sony_tuba -b rebase device/sony/tuba && git clone https://github.com/SonyCustoms/vendor_sony_tuba -b rebase vendor/sony/tuba && git clone https://github.com/SonyCustoms/kernel_sony_tuba -b los-14.1 kernel/sony/tuba && git clone https://github.com/LineageOS/android_packages_resources_devicesettings -b cm-14.1 packages/resources/devicesettings && sh device/sony/tuba/patches/apply.sh && cd packages/providers/DownloadProvider && git revert --no-edit 715c24acbe82ab1cc0dfe6be60dd0487d111dc46 b132242dc7f800c8e5444f6921a2689a101685a2 && cd ../../.. && . build/envsetup.sh && lunch lineage_tuba-eng && mka bacon

But at first you should install needed packages.
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] andrw.gldmn:
the last one with updated blobs from .136 stock

https://github.com/SonyCustoms/Releases_tuba/releases/tag/150819
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] Matty1993:
Such a shame you couldnt figure out the ril sony really are pesterence when it comes to them trying to keep people on stock firmware optus did that to me with my 6737 i built CR droid and lineage 14.0 for they encrypted the ril abd what not luckily for me though i was able to just add certain props to the build.prop to make it work shame it didnt work on this when i did it, have you not tried replacing the entire ril and nvram from that of stock including the nvram_daemon & cci_fsd with the mdlogger also ive done that before and its worked, some build though i also had to switch out the telephony .jars and .apks also to get ril functional would hate to see it abandoned after all good work youve put into it hopefully i can get one soon enough and ill give it a go aswell
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] andrw.gldmn:
So you think that it`s only my fault? You are such a bastard, man. I spent a whole 1.5 year to fix most of all minor&major bugs, I have changed 5 trees&vendors just for boot los-14.1 up. I have tried to build alps n0 from scratch for getting old RIL realization (like in p9000), but due to Sony`s LK and preloader I can`t boot it up (I have tried to build them too). And what have you been doing all this time? Nothing?

So, I gave you all my sources, wrote how to build LineageOS for tuba, so go and impress me, fix the RIL.
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] Matty1993:
Hmmm think you took it the wrong way man chill chill was saying its a shame as in i feel bad that you couldnt get it to work after all the good hard work you put it wasnt putting you down or anything like that i do apologise if it came off that way was never my intention just hate to see projects get abandoned is all ive also been trying to build oreo for the mt6737m but as such so far no luck as of yet :) and have just finished compiling android 5.1 for devices using UBI blocks instead of EMMC and have almost gotten lineage 14.1 for UBI also but its stuck on bootloop :(

---------- Post added at 01:45 PM ---------- Previous post was at 01:42 PM ----------

Was also stating at the end if i could get my hands on one for a dev device would be happy to contribute to keep the project alive hate seeing the big companies stopping good devs like us all here we should be arguing with them not at each other were all developers here and i would never put another developer down thats not how the xda community works for me :D
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] bigrammy:
Maybe something was lost in translation it's happened to me a couple of times now with people getting angry about things when they thought I was disrespecting them when in fact I trying to help them. It took a English speaking Russian guy to explain to those that I was trying to help. :o

He really wasn't disrespecting you Andy quite the opposite in fact. :good:

Anyone on here who knows anything worth knowing will know exactly how much effort you have put into this project and it is vastly appreciated by me and many others.

Ever the Consummate Gentleman. :good:

I am sure any help would be welcome Matty and it's just a shame that I am not more proficient in this area but I have some huge gapps in my knowledge that I would probably need to go to School again to try fill. :(

If you find a XA let me know. ;)
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] Matty1993:
Couldnt have said it better bigrammy :) not andrews fault though completely mine im not good at wording things sometimes plus i talk a million miles an hour aswell lol ,i didnt know anything about android at one point but i spent day in day out learning the android system and how they work so if i feel i can be of some help to another developer i will always try my best to contribute in great projects like Andrews here i love xda its all ive got i just like to help poeple out is all :) been keeping my feelers out for dev device for a while now aswell but to no avail as of yet one will pop up eventually though and ill snag it up, ooh i ended up getting lineageos 13.0 working on UBI mt6572 device also couldnt beleive it i got no ril though i no matter what i do so i think i may have to edit the rild and libmtk-ril.so to add the 2G GSM radio support as im not sure if lineage os 13 supports 2G or not lol

Edit

Scratch that i got the ril working on my lineage os 13.0 build seriously not even kidding you by removing some not used storage paths for sdcards from the factory_init.rc & init.mt6572.rc how the hell does that work?? I know theres an ntfs-3g binary in /bin but i still havent been able to get the sdcard mounted for it create the fs for it only the ext4 partition i put on it being utilised but that was working before already, andrew could this maybe worth having a look into possibly for tuba ?? :)
[Xiaomi Redmi 3s Questions & Answers] balaji gotstacks:
Best custom rom for pubg ?

Plus Ive been facing "enter match again" pop up lately , is there any fix ?
[Xiaomi Redmi 3s Questions & Answers] McStecca:
Probably is the connection, for the rom i suggest an oreo rom like aosp extended or liquid remix by difr, I think it have a gpu boost mode
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] andrw.gldmn:
Changes:

here

Download for nougat:

https://www.androidfilehost.com/?fid=11410963190603872889
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] Jcstro:
Is it for any nougat android compilation?
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] Jcstro:
Work in F3113 on compilation 33.3.A.1. 97 ?☺️
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] Derickee Medvedev:
Install instruction?
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] crossxx11:
Only 1.97 nougat?
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] danielcuervog:
Tested with .126 nougat compilation. Working without problems.
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] TrkMelih:
How to tell if it's working
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] TrkMelih:
Y
[Sony Xperia XA ROMs, Kernels, Recoveries, & Other ] TrkMelih:
I guess the fact that the phone is unroot is related to my boot
[Xiaomi Mi A1 Questions & Answers] Mehboob Hasan qwerty:
I have tried to install the Gcam without root by unlocking the bootloader ...booting in twrp ....typing the ADB commands manuall....and relocking the bootloader again but the method doesn't work...instead it erases all the data and the rest remains the same.....

I have tried it twice but it does not works....

Please help installing Gcam without root.....
[Xiaomi Mi A1 Questions & Answers] barrack1:
You've already made a thread about this previously.

https://xdaforums.com/mi-a1/help/regarding-gcam-mi-a1-november-security-t3877378

The best thing to do is to stick to the stock cam since its already quite good.
[Xiaomi Mi A1 Questions & Answers] Mehboob Hasan qwerty:
You've already made a thread about this previously.

I know I have posted but I am not getting any help.... therefore I decided to post it again.....help please..... previously I have used the Gcam.....It makes me impossible to forget the quality of photos taken....
[Google Pixel XL Questions & Answers] Bounty44:
Hey all,

After checking the forum I just wanted to post that I too experienced a bootloop this week shortly after installing the December OTA security update. It actually happened on Sunday and I received a replacement today through GoogleFi insurance. Pretty pissed off now actually since that was probably $99 down the toilet due to a bad update being pushed out. Actually only received it 13 months ago due to no Nexus 6p stock when my phone started shutting down at 50 percent battery, so when I tried to RMA they told me the warranty isnt extended past the original phone's date on replacement phones. Before calling for the attempted RMA, I tried to sideload 2x the Dec OTA which didn't fix anything, nor did doing a factory reset. If Google pushes out any official word on this I'm probably going to complain and try to get my money back on the insurance. I just wish I would have checked the forum earlier today before I installed the latest update on the replacement phone.... I can already tell it's acting weird, I started noticing something was up on the bricked phone when YouTube kept pausing itself for a couple of days, and now it just happened on the new one.