yashsingh1/xdaforums huggingface dataset:
[Xperia SP Original Android Development] globe79:
I would say both ROMs are equal quality. Both maintained by AdrianDC. It all depends on specific needs. Beauty lies in diversity. You are right that LOS has more options out of the box, but I find AOSP slightly lighter. You can't expect modern performance (or picture quality) from Xperia SP, but - except for ****ty (broken by default) touch - it is quite, a good backup phone/router :) I admire the enthusiasm of Adrian for this device! :cowboy:
[Xperia SP Original Android Development] scruffy1:
i love it because i really care less for the prolific hardware upgrade hysteria that is burying the planet in "old" used but entirely workable devices

i want a working phone, to work as a phone, and i appreciate that it's a very capable pda, and can easily stream flac to my nad d3020 from the home server

adrian's rom lets me do all that and plenty more, with a "recycled" piece of hardware

all hail our benevolent patron ! :highfive:

---------- Post added at 19:49 ---------- Previous post was at 19:47 ----------

but hitting loud speaker and then "normal" does the job

:good:
[Xperia SP Original Android Development] vinaysulanki85:
Shall we get the Helium kernel v58.1 by Tomoms, anyone already tried the mentioned kernel with this ROM?
[Xperia SP Original Android Development] kn900:
still caller can hear himself

using aosp-8.1.0-20180815-huashan-adriandc.zip no gapps, because my grandma doesn't need them, she only make calls

swithed to LineageOS 15.1 unofficial [MENTION=2233641]AdrianDC[/MENTION] and problem gone, but phone seem to be slower
[Xperia SP Original Android Development] laim_name:
Silent update from 05.09.18
[Xperia SP Original Android Development] ervinakoc x:
We Will Be Slow To See Aosp 9???Thank You
[Xperia SP Original Android Development] Shoyaibpatel786:
Hi,

I am trying to view files and folders from my xperia sp on the PC. Also, I'm trying to root using kingo root. I have managed to download and install the drivers successfully, Sony Sa0108 ADB Interface Driver, however, my phone is not being detected in Fastboot and windows. I am getting an error message saying Fastboot devices is not recognised as an internal or external command. Please can someone help. Thank you.
[Xperia SP Original Android Development] vinaysulanki85:
Having the volume button pressed and the usb cable already connected to your pc/ laptop, then plug the other end to your phone while it is switched off. Navigate to adb folder then open the command there and then try the fastboot command. Forgot to mention, led turns blue to indicate connected in fastboot.
[Xperia SP Original Android Development] Shoyaibpatel786:
Hi,

Thanks a lot, but I have tried doing this, but my device isn't recognised. In device manager I have a yellow triangle displayed on xperia SP. When I click on properties, it says my device isn't starting. What can I do? Thank you.
[Xperia SP Original Android Development] vinaysulanki85:
Most probably the required driver is not available in your system and is not detecting you being connected. Your device gets charging led while connected? Your pc/ laptop os is Windows 7/8/10?
[Xperia SP Original Android Development] gorillanobka:
And if none of the other suggestions works try and see if you can burn a Ubuntu image (that's the most user friendly ) on a usb flash drive.

Once you have it burned you can just pop the usb in,reboot your computer wait for the live image to start, select "try" and voila you are using live linux.

Once you are using the live image your device will be automatically recognized, it will be million times easier to install the ADB drivers [ all it takes is one simple command : sudo apt-get install (introduce name of the program) ]

As a matter of fact with one simple command you can install thousands of programs at once or remove/purge them at once.

Stuff you will never be able to to on a windows machine.

And the best thing? It is free, it has always been , since the Debian days, it will always be, none of the crap Windows pulls on it users "you now HAVE TO PAY US for the security updates" or we will just let your already unsafe OS to be dead in the water.

Food for thought:cowboy::good:
[Xperia SP Original Android Development] Shoyaibpatel786:
Hi,

I'm running on windows 7, 32 bit, and my device has a white Led which stays on whilst connected to the PC. I have managed to get the correct drivers installed however, when using minimal adb V 1.4 in command prompt, I'm getting the same error message as before. What can be the problem even when the phone is detected by the PC? Thanks.
[Xperia SP Original Android Development] Shoyaibpatel786:
Hi,

Anybody know how to fix the FAILED <PARTITION NOT FOUND> Error code 21, when trying trying to use adb sideload to flash twrp recovery? Currently, I have no custom recovery. I am using Android Stock recovery Only. Thank you.
[Xperia SP Original Android Development] Haxk20:
You cant flash twrp fro the zip from stock recovery. First fastboot the bootimage with twrp then flash twrp fota zip.
[Xperia SP Original Android Development] Shoyaibpatel786:
Hi,

I have tried using the command fastboot boot.img to flash twrp file, but a cmd window appears and then closes. Also, I have tried using adb sideload, but I'm getting a verification error on device whilst connected with a windows 7 PC .

E: Footer is wrong E: signature verification failed. Whilst in adb sideload i noticed that device manager has a yellow triangle near C5303. I have used hardware ID in device manager to locate the correct driver, but there is no driver available for this particular one??? Thanks
[Xperia SP Original Android Development] Haxk20:
Then you didnt install fastboot drivers. And do not try sideload that wont work in stock recovery. You need to fastboot that image. "fastboot boot boot.img then just press volume down on the device and you will get into twrp from there install the twrp zip. Then just reboot device and you will now use volume up to get into TWRP.
[Xperia SP Original Android Development] Shoyaibpatel786:
Hi,

I don't have twrp installed and neither can I flash a twrp img using adb cmd.

You mentioned you can't flash twrp file using stock recovery. I only have stock recovery at the moment, so how I can get Twrp installed???? Thanks.
[Xperia SP Original Android Development] Haxk20:
Did you even read what you quoted ?

There is link to twrp thread in the first post on this thread. And that link will get you to twro thread where is the entire guide how to flash it.

And i said about 5 times that adb isnt how you install twrp.
[Xperia SP Original Android Development] Shoyaibpatel786:
Hi,

I have followed the instructions on the first post of this Thread, still not able to boot into twrp.
[Xperia SP Original Android Development] globe79:
Xperia SP is virtually indestructible, but I bet you don’t read carefully enough to success with custom ROM! Don’t issue random commands! I read several pages back... not to note bootloader unlocking in your procedure.

Is Xperia unlocked?

If no get minimal adb and fastboot software package and go on with unlocking! You will loose Bravia Engine and other Sony propertiary code, if you don’t do TA backup!

After unlocking use flashtool to flash TWRP as a boot image in fastboot mode as you were told by [MENTION=6890709]Haxk20[/MENTION].

Tel us more, if you need further help!

---------- Post added at 10:26 PM ---------- Previous post was at 10:26 PM ----------

Xperia SP is virtually indestructible, but I bet you don’t read carefully enough to success with custom ROM! Don’t issue random commands! I read several pages back... not to note bootloader unlocking in your procedure.

Is Xperia unlocked?

If no get minimal adb and fastboot software package and go on with unlocking! You will loose Bravia Engine and other Sony propertiary code, if you don’t do TA backup!

After unlocking use flashtool to flash TWRP as a boot image in fastboot mode as you were told by [MENTION=6890709]Haxk20[/MENTION].

Tel us more, if you need further help!
[Xperia SP Original Android Development] drhousebreaker:
Just impressive.

Thank You very much.

For me - best SP ROM I ever had.

Thanks a lot.
[Xperia SP Original Android Development] Shoyaibpatel786:
Hi,

Just to let you know, my bootloader is unlocked as I have been previously on android nougat. As I was still struggling* to install twrp, I found the solution using the Flashtool method. Thanks.
[Xperia SP Original Android Development] globe79:
Great to hear that :) I prefer Flashtool to command line tools under Windows. You may be interested in permanent flash of TWRP (FOTA way), but I don't need it on a daily basis, as I never dirty flash.
[Xperia SP Original Android Development] Vaizen:
Hello guys I'm willing to revive my sister's old SP for backup use hehe, I was just wondering if this ROM is prerooted or can I root It with Magisk?
[Xperia SP Original Android Development] LaRazón:
Neither, root with bootbridge. It's in the first post.
[Xperia SP Original Android Development] Vaizen:
Yep you said it before I corrected/deleted my post, THE OP HAS IT ALL.
[Xperia SP Original Android Development] zemanpg:
I have a problem with recording phone calls. My voice is recorded but it does not record the voice of the interlocutor. I use ACR call recorder and I tried many other apps. Call recording worked with old original Android 4.x @ ACR call recorder (recording source: Auto). It also works with ROM XenonHD 8.1 for Xperia SP Huashan, but this ROM is so slow. Anybody can tell me where is the problem? What is the solution?

I've Xperia SP C5303 & AOSP Oreo 8.1.0 & GApps ARM 8.1 pico.
[Xperia SP Original Android Development] hannor:
Have you tried LineageOS Oreo 8.1?
[Xperia SP Original Android Development] zemanpg:
It works with LineageOS Oreo 8.1. Thank you. I hope that ROM will be fast. In ROM AOSP problem is open.
[Xperia SP Original Android Development] gorillanobka:
Even though I am a bit late to join the discussion (been busy with the UNI assignments ) here's my 2 cents:

It's the GAPPS !!!

On my setup i don't run gapps at all and it is blazing fast.

With the exceptions of occasional random freezes due to aggressive tuning. Mainly with the mini Opera app whilst browsing the news.

Glad that see that Lineage works for you. For me is a big "no no" due to its ridiculously low volume settings. Compared to AOSP Lineage standard settings are disappointingly low.

The solution is obviously to ditch GAPPS at all and use Raccoon APK Downloader for your app needs!

Here, have a look!

The guy ( [MENTION=5035576]onyxbits[/MENTION] ) who coded this has allowed millions of people to escape the Google's crapware and bloatware.

After a while you will learn to carry with you (on your external SD card) all the essential apps you will ever need.

You will realize that the number of apps you really need is surprisingly low (Only thirty in my case and that includes all the Microsoft Office suite, all the major comms apps like telegram, skype viber ,line and whatssap,FB and FB messanger and scanners PDF viewers VLC player and so on)

Soon you will realize gapps are overrated .

Regards
[Xperia SP Original Android Development] zemanpg:
Thank you but... my question is "what is the solution" for call recording problem, not for system performance. This (AOSP Oreo) with minimal GApps is very fast but can't record calls.
[Xperia SP Original Android Development] gorillanobka:
I think that would require Adrian's help and it will involve a lot of logs . I would go here and grab the

Andy Log

which is a one click solution for all your log needs, collect tones of logs and and post them here. Eventually when Adrian will have a moment (We all know he must be super-busy these days) he will have a look through it and might be able to find something

But that's gonna take a while. If you can not wait maybe you are better off with Lineage OS instead.
[Xperia SP Original Android Development] zemanpg:
Yes i've Lineage OS and it is ok for me. For me problem is closed. Adrian has to decide for himself whether he wants to fix it in AOSP or not.
[Xperia SP Original Android Development] mister_slowhand:
Hello,

I've been using this ROM for almost a year as a spare device, and it's been my wife's daily driver for several months while its phone was out to repair. I run the 20171208 version.

But at some point, the Xperia died because the battery drained empty. That's a classic for this device with custom ROM/Kernels.

I wasn't too worried about this but it turns out I can't repair it !

I can flash a FTF from flashtools, but the best I get is a bootloop, Sony logo for a second then enter service mode (green light), reboots...

I can force it to fastboot or service mode and connect it to my PC. But whatever I install, FTF/Kernel..., I can't get it to charge.

I guess it's because the internal storage is in a format that the older kernels, or stock, can't handle. What should I do then ?

I'm ready and able to format and re-partition from fastboot, but how ?

Thanks
[Xperia SP Original Android Development] gorillanobka:
Well, If you could get to the recovery , from there on you could try to install the upgraded version

aosp-8.1.0-20180905-huashan-adriandc.zip
[Xperia SP Original Android Development] scruffy1:
hey ho !

i'm DERP ! :o
[Xperia SP Original Android Development] gorillanobka:
these things are more addictive than i realized :D
[Xperia SP Original Android Development] mister_slowhand:
No, I can't. In this status, I can only get to service mode (green light) or fastboot (blue light).

Service mode lets me flash a FTF, but nothing happens then.

Fastboot lets me flash any boot.img but it won't charge the device. I guess I should reformat the whole storage, but I don't know the parameters ?
[Xperia SP Original Android Development] dic1911:
Just plug it in, leave it like 30 minutes or more, huashan doesn't die that easily
[Xperia SP Original Android Development] copernicus888:
Same happened to me a while back. The battery ran out and I was stuck in recovery. I thought I'd killed it so just left it plugged in and although there was no led indication. It charged up fully. Enabling me to get out of my tricky situation
[Xperia SP Original Android Development] AdrianDC:
21/12 : Upgrade stable release on Android 8.1.0_r52 December

>>> General update against the initial LineageOS 15.1 official release

>>> Manual networks selection resolved
[Xperia SP Original Android Development] scruffy1:
awesome work

now get back to lineage and fix the camera for me :)

nah, just kidding... i am spoilt for choice, but i really like lineage a lot so will stay over there for a while (until i get the urge to break something just because i can)
[Xperia SP Original Android Development] Docmine7:
Thanks :good:
[Xperia SP Original Android Development] globe79:
[MENTION=2233641]AdrianDC[/MENTION] Unbelievable! I have to check manual network selection:))) I've seen your reply and feel positively thrilled about Huashan going LOS15.1 official! Promise not to doubt anymore;)
[Xperia SP Original Android Development] mister_slowhand:
I was expecting that it would work. I have left it plugged hours, even days. Nothing.

All I can get is fastboot mode (blue LED) or service mode (green LED). In service, I could flash a FTF but still won't charge nor boot. (intalled the C5303_12.1.A.1.207_AU.ftf and a GR one...)

In fastboot mode, all is fine, I even tried to unlock bootloader, it said 'already unlocked'. Responds to getvar, reboot...

But "fastboot boot <kernel>" fails. "fastboot boot twrp.img" too (makes sense...)

So I can't go into recovery. I'm limited with that, either find a FTF that would solve this, a flashtool option, or fastboot commands... :confused:
[Xperia SP Original Android Development] dic1911:
ofc you can't use "fastboot boot" on huashan, this doesn't work on both of my huashan(and yes, I have 2 huashan), use "fastboot flash boot twrp.img" instead, and wait for the miracle uwu
[Xperia SP Original Android Development] thiago_oliv:
Deleted post. Regards
[Xperia SP Original Android Development] Shoyaibpatel786:
Hi,

Does anyone know when Adrian DC is releasing Android 9.0 AOSP for Xperia SP? Thank you!

---------- Post added at 02:17 PM ---------- Previous post was at 02:17 PM ----------

Hi,

Does anyone know when Adrian DC is releasing Android 9.0 AOSP for Xperia SP? Thank you!
[Xperia SP Original Android Development] scruffy1:
nup; but the lineage version (16) for the xperia sp is already using it :D
[Xperia SP Original Android Development] Shoyaibpatel786:
Android 9.0 lineage 16

Hi,

Please could you direct me to the page, as I can't find it? Thank you.
[Xperia SP Original Android Development] scruffy1:
here ya go

https://basketbuild.com/devs/AdrianDC/Huashan/LineageOS-16.x

personally i prefer lineage 15.1 - the camera app in the package is very good, and the whole version works very well; and it's newer (having been updated, whereas 16 is a once off thus far)

https://basketbuild.com/devs/AdrianDC/Huashan/LineageOS-15.x

there's nightlies here :

https://download.lineageos.org/huashan

but lineage-15.1-20181028-UNOFFICIAL-huashan.zip has been great for my needs, for several months now

i tried the pie version and couldn't see or feel any advantage, and the supplied camera firmware was really basic comparatively
[Xperia SP Original Android Development] Shoyaibpatel786:
Hi,

Thanks for your help. Found this XENON HD 9.0 ROM for Xperia SP, is this any good?? Thanks.
[Xperia SP Original Android Development] scruffy1:
absolutely no idea

i tend to find a rom that's great and stay with it apart from updates when available, as i have obe phone, and the sp is it, so if it ain't broke (especially if it's almost current and great) i won't get excited to break it
[Xperia SP Original Android Development] zarvan:
camera as power key

Hello guys

i know i shouldn't post this here but can someone upload this file somewhere please:

https://basketbuild.com/filedl/devs?dev=AdrianDC&dl=AdrianDC/Extras/XperiaHuashan/camera_as_power_key_20171003.zip

This file turns camera button to on/off button on sp. i really need this but the download link show me 403 error
[Xperia SP Original Android Development] Indie Zex:
Here you go

View attachment camera_as_power_key_20171003.zip
[Xperia SP Original Android Development] Candy9876:
Hello Adrian

Can you please confirm the release date of AOSP 9.0 for Xperia SP.

Waiting for it. And thanks for the great work.
[Xperia SP Original Android Development] gorillanobka:
He's probably quite busy at the moment, but I would suggest you to stick around and wait. It will be worth it. Trust me on this.

AOSP 9.0 and AOSP Q are gonna be legendary.

Either way is worth sticking around his version of AOSP,which is so much better than the official lineage one.

Sound levels alone one this one makes the whole difference.

Here he does not have to comply with the super-strict, stupid lineage standards who keep the sound levels ,notifications, and ring abnormally low.

Which is why even though this version of AOSP is "only" 8.1 is still LIGHT YEARS AHEAD and WAY BETTER FOR DAILY USAGE than the official lineage.

I tell you what: this version is blazing fast without any of the gapps installed.

I have Waze and Sygic installed on it running happily BOTH AT THE SAME TIME, unlike that super-bloated crap of google maps that literary bring this phone to its knees trying to get a GPS fix using gapps to eat cycles and power overheating the phone.

EVERYTHING WORKS beautifully on this rom.

It's worth sticking around.
[Xperia SP Original Android Development] gorillanobka:
I dreamed a dream in time gone by,

When hope was high

And life worth living.

I dreamed that AOSP would never die.

I dreamed that Adrian would keep on givin'.:)
[Xperia SP Original Android Development] gorillanobka:
Happy Easter Everyone

Happy Easter Everyone.

Happy Easter @AdrianDC.
[Xperia SP Original Android Development] gorillanobka:
aosp-9* is out

aosp-9-20190422-huashan-adriandc.zip is uploaded gents,

GRAB it while is still hot.

Hurry now and get yours at a discounted price. Promo ends in 3...2...1....0

Oh, well, you've just missed it.

Neah, just joking..

Here you go-------> https://basketbuild.com/filedl/devs...n/AOSP-9/aosp-9-20190422-huashan-adriandc.zip

Thank you @AdrianDC.
[Xperia SP Original Android Development] gorillanobka:
GLONASS satellites are disabled ??

I just had a look around at it seems that on this rom GLONASS sats are disabled.

(Maybe @AdrianDC) could confirm that?

The GPS fix is done only with Navstar satellites and the GLONASS sats are being ignored.

My guess is that this is due to some hard coded commands in gps.h or gps_internal.h but since i am not a developer nor a programmer i could not confirm this.

Since I do not have GAPPS installed, I do get problems unique to this room I guess.

In all fairness the list of the problems is so small you can count it on the fingers of one hand.

BY THE WAY, HAS ANYBODY HAD SUDDEN REBOOTS with this rom? It happened to me an hour ago whilst driving back home and using Waze only.

The only app opened on the phone was Waze.

All of a sudden the phone rebooted. It got emotional for the next 10 minutes until i was able to pull over and stop.:D:cowboy:

So, yeah, until I modified /system/etc/gps.conf getting the GPS fix was a pain in the neck.

I am using Sygic and Waze for driving, and I always used to have issues with them losing GPS fix in London and around with the arrow going sideways most of the time.

[MENTION=2233641]AdrianDC[/MENTION]

Problem with London is , that living here is basically ****.

Tall buildings ,crappy infrastructure , small narrow streets and the signals bouncing everywhere getting absorbed by the walls .

We could really do with a GLONASS fix or if there is something we can enable or uncomment in the gps.conf please let us know.

Kind Regards

Gorilla
[Xperia SP Original Android Development] Haxk20:
Yes reboots are normal even on my build.

Using kernel from the last working build works OK but isn't recommended since its a huge hack and system may be unstable.
[Xperia SP Original Android Development] gorillanobka:
It's all good.

After all, this is only the first release and is the equivalent of an Alpha release.

At this stage it works wonderfully for what it is .Give it an other 3 months and we're gonna have the same impressively stable, nicely working rom , as the last AOSP 8.1.

I got curious though, why are not the GLONASS satellites being used in the fix?

I remember reading somewhere that this was allegedly done to save battery power and that by design they were only used when when a fix could not be obtained with the GPS constellation.

At least that was the explanation given by some Sony moderator back in the day but that was for the stock rom.

And in the stock rom they were actually used from time to time.

Especially when I was going through those parts of London with tall buildings and weird signal bouncing.

This room actually does not uses them, sees them just fine but kind of them ignores them when getting the fix.

All this leads to Waze telling you sometimes to "Pull right" after you passed the junction.

All the extra settings in "Developers" and "Advanced" and scanning for wifi and bluetooth enabled.
[Xperia SP Original Android Development] globe79:
[MENTION=2233641]AdrianDC[/MENTION] - thank you both for aosp-9-20190422 and lineage-16.0-20190422 :) I've just realized you did it silently and din't tell a word!!! Will try them soon!

[MENTION=7196088]gorillanobka[/MENTION] - thnx for such extensive and deep test! Do you use AOSP or LineageOS on a daily basis? Do you face any problems when roaming? I mean manual network selection - it was broken in all Oreo builds as far as I know.
[Xperia SP Original Android Development] gorillanobka:
I do use AOSP as my daily driver. I never had the chance to use it on roaming (student life) but one day maybe...
[Xperia SP Original Android Development] Aurumnus:
Hello.

Yesterday I unlocked the bootloader.

I want to fash AOSP ROM.

"- Flash the AOSP ROM zip from recovery"

How do I enter recovery?

None of the methods I found, with pressing buttons, works on my c5303.