yashsingh1/xdaforums huggingface dataset:
[Xperia SP Original Android Development] nitin.chobhe:
Have you checked the permissions to all google apps?

Nitin
[Xperia SP Original Android Development] shubzz:
Hi, first of all great rom amazing work by adrian much appreciated. I am using the previous 8.0 oreo build and it has injected life in such an old phone with blazing performance. It's just that power button on my sp has broken unfortunately. Can any one help me re map power button to either volume keys or camera/focus key 'NATIVELY' as using any app for the same task causes huge battery drain because constant device awake service is required to run at all times. Any solution to the same natively would be a great help!

Thanks
[Xperia SP Original Android Development] :
You could use this ->

https://basketbuild.com/filedl/devs...periaHuashan/camera_as_power_key_20171003.zip
[Xperia SP Original Android Development] nhicko95:
[MENTION=2233641]AdrianDC[/MENTION] did you have something like this for mint?
[Xperia SP Original Android Development] shubzz:
Worked flawlessly thanks!
[Xperia SP Original Android Development] rbertoche:
Restoring permissions to ALL apps should be enough, right?

Now I tried to downgrade it with dirty data to 8.0 and it's stuck at the unlock screen, though it receives calls seamlessly... oh well nevermind that, let's focus on 8.1 =P
[Xperia SP Original Android Development] DahakePL:
Can anyone help me with 8.1?

SystemUI crashes, whole device is slow and choppy.

I changed the stuff in open gapps 8.0 to 8.1 but I feel it's the reason that the phone is lagging

Any ideas?
[Xperia SP Original Android Development] gorillanobka:
Assuming you're on a clean pristine install with no mods and no fancy kernels the reason is the GAPPS.

I run no gapps and on my install and i can confirm that without the gapps the latest install is really smooth and fast with only few glitches which were to be expected at this stage.

Try a full advanced wipe, clean install and no gapps or any other fancy schmancy kernels and mods and you will see the results.
[Xperia SP Original Android Development] DahakePL:
Yeah I tried but I still get hiccups and some choppy ui stuff.

Guess I'll wait patiently for next builds and hope for the best :victory:

Thanks for the reply
[Xperia SP Original Android Development] gorillanobka:
The only hiccup and choppy UI stuff i get is when i have to unlock the screen (I am using pattern) I have to swipe up several times until i get to the unlocking screen.

That and the camera"s inability of maintaining focus for more than half of second which results in all the photos being taken kind of blurry and with weird colors..

But given the fact this is an Alpha stage, this rom is very impressive.

Who knows, maybe the next build will come with built in root. I hate using other apps to achieve root.
[Xperia SP Original Android Development] AdrianDC:
The lockscreen responsiveness reduced due to a few Oreo 8.1 evolutions, I worked on it last week and drastically improved the lockscreen handling by disabling the highly strict layer that invalidates some inputs as unintended moves. It'll be present on my next releases.

No, I will not ship a pre-rooted capability in my releases, either for security, licenses / ownership, or common sense.

We ship the root option separately per-user-choice on LineageOS, and for AOSP, SuperSU or alternatives are available as mentioned.
[Xperia SP Original Android Development] lancemark:
It is better to keep root not included in rom. It is common sense. Not every one need it, and root is dangerous.

If You want root You should know how to get it, and how to use it.
[Xperia SP Original Android Development] gorillanobka:
Thank you for your input :good:. Gorilla sent that to /dev/null.

gorilla$ ls -a /dev/null

/dev/null
[Xperia SP Original Android Development] ze7zez:
Brotli Compression

Fine. I already know. Read >this<.
[Xperia SP Original Android Development] gorillanobka:
It is impressive i have to admit

598 MB before vs 255 afterwards. Not sure how useful this level of compression actually can be.

And the best part.. :) you can actually download and use brozip and have a bromance with the brozip.

It's quite useful for those who have opam installed .

Myself, i like to brew :) so i stick to it.
[Xperia SP Original Android Development] scruffy1:
sd card settings

this may be a very noob question, but ... don't ask and i'll never learn

first, kudos to adrian for a very slick build.. i got 8.0 up and running only to discover that my main board had a borked sim slot, and after resoldering a new one, that the problem was not just the slot... and so i replaced the main board with a new one from chuina which thankfully allowed unlock / rom flashing

it's doing fine on 8.0, but i can't figure out how to make the sd card useful to me :confused:

essentially, i would like the sd card contents to be visible when i plug into the usb cable, but the phone tells me it's either a blank media storage, or pops up a message telling me debugging is on, and that i should click to turn it off... which seems to do nothing at all, and the developer option is nowhere to be found in the menu... which i don't understand, other than to presume i am a developer by default

help me, obi wan ! :fingers-crossed:

8.1 soon-ish i guess, but i'm very happy how the rest of it works for now, so i'll catch my breath and enjoy
[Xperia SP Original Android Development] samadbg:
thanks

thank You Adrian DC :good:
[Xperia SP Original Android Development] gorillanobka:
Obi Wan is busy doing Jedi ****e, but i will try to help. It's gonna be hard to fill in for as he's a god darn jedi but here we go:

Reference the Developer Options:

Open Settings on your Android O running device.

Select System » About phone.

Scroll down and tap seven times on the Build number entry.

This will enable Developer options on your device.

Now go back to Settings » System » and select Developer options from there and have fun.

Reference the SD Card:

If you are running Linux/BSD/Free-BSD the card contents SHOULD be visible to you automatically.

For the Windows only once in a blue moon sometime i had problems when for some weird reason after an update or two it was not able to see my contents.

On OSX , it's a major pain in the back and I had to install ADB, but there's a slightly easier way if you like a GUI:

A very rudimentary GUI that is.

https://www.android.com/filetransfer/

Now, as you will see there's not much love going on between Google and Apple and if you were a stupid enough cnut (like i was) to buy one of them (the most expensive mistake of my life since 2011 ) Google's Android File Transfer app for OS X is pretty much the only game in the town.

It has a bare-bones interface, and it's extremely lacking in features.It works but in a very rudimentary way.

There are other apps out there claiming to be better than Android Transfer app but they all required weird permissions ,asked you to install "handshakers and helpers" on your OSX and pretty much all of them were behaving erratically.

I stuck to Android Transfer app as it worked flawless so far. It does work , and it will show the contents of your SD Card via a very rudimentary graphical interface. (It looks almost like Norton Commander )

Assuming your SD Card is properly formatted of course.

Now, I would assume that your card has not been properly formatted, and in this case there's a guy @Octanium91 here on XDA who made an amazing tool that lets you do really cool things when it comes about formatting SD cards :

https://xdaforums.com/showpost.php?p=71710851
[Xperia SP Original Android Development] scruffy1:
thanks for the link to the sd card manipulating tool, and reminding me where developer setting was hidden :highfive:

ultimately, i discovered the error of my ways lay in needing to tell windoze (7) that the usb connection for the sony was / is an "android composite adb interface" and install the sony driver that made the windoze uac freak out and warn me that Bad Things (including my computer stopping working) may eventuate

what actually happened was - my computer kept working, and now it can see both the device storage and the sd card - and as a single entity given i asked it to format it as extension of the android set up; it lists it as "internal shared storage" :victory:

hmmm, given i have an "extra" 16gb of storage, i am sorely tempted to format the sd card as 8 of extended and 8 of bog basic pseudo-usb stick, as mobile backup for my essential home office files, because really, now that i have it working i feel compelled to "improve" it till i blow it up some more

i love android and open source stuff... less nerdy types can rave about how i-things "just work", but imho they sorta work, just :p
[Xperia SP Original Android Development] scruffy1:
next rather stupid question

i installed twrp, and then oreo

now i can boot to recovery, but twrp ain't there

i am guessing i needed to install superuser for access, but it isn't easy to confirm despite my google-fu

is it possible to sideload su ? and will that fix the issue

dang ! i have the flashing down pat, but the results aren't exactly what i expected :(

just reloaded twrp - fine ! added the rom and gapps, and ... twrp has buggered off again on reboot, despite having set developer option to not autoupdate

i don't recall this happening the first time i did all this... what am i doing wrong, or not doing... that disappears twrp ?
[Xperia SP Original Android Development] Siyaset:
Hi Bluetooth doesn't work

Hi . But Bluetooth doesn't work
[Xperia SP Original Android Development] gorillanobka:
Not helpful at all.

You need to provide logs.

That's how it works since this is a DEVELOPMENT thread and forum.

Meaning: We get to use free stuff FOR FREE :) but in exchange we need to provide the developer with FEEDBACK when things go wrong so he can fix and improve his work.

Like the Bluetooth. I tell you what : You provide these logs and he will "analyze it WITH SCIENCE"

Here's a simple how to : https://xdaforums.com/showpost.php?p=64545073&postcount=21

Or if it is easier for you go here and install the app https://play.google.com/store/apps/details?id=com.bassel.andylog&hl=en_GB

---------- Post added at 09:09 AM ---------- Previous post was at 08:33 AM ----------

I had a bit of a drama with installing TWRP on my SP too.

I couldn't get it to stay in the recovery. Trying to flash it to recovery from adb: Major pain in the neck.

Eventually i went to https://basketbuild.com/devs/AdrianDC/Huashan/TWRP-Recovery

And i downloaded one of the FOTA recoveries and tried to flashed it via adb because the built-in recovery was not able to access my card.

But flashing to recovery via adb was unsuccessful for me on OSX as either the SP or the OSX or my thick brain were giving me ****e at that time.

I actually used cleaner-fota-huashan.zip but because i am a thick gorilla i managed to forget what i was doing :) so i was back to the square one again.

Things tends to be way slower when you're on strong pain meds...

So what i actually did eventually was to flash via adb the whole TWRP thing to the boot partition which of course that made it basically the only thing my phone could boot into , and once i was into the recovery i had again access to the SD card so i could transfer one of the FOTA recoveries from his basketbuild onto my card and afterwards whilst still on recovery i went and flashed from recovery this time, one of the fota-huashan.zip.

I rebooted , the recovery was installed and from there on, i went to the TWRP recovery and flashed the operating system again.

That was my experience . It was emotional. It was also unnecessary complicated because I was tripping my balls out on pain meds.

Having a bad back sucks when you're in UK. It takes ages to get to see a chiropractor.

They seem to find it easier just to keep you on pain meds.

Anyways, that was my experience . Your mileage might vary.
[Xperia SP Original Android Development] scruffy1:
the weird aspect of this is that on the previous mainboard (the one with the borked sim), twrp installed and remained intact when i flashed oreo

this board has now 3 times denied access to twrp after oreo was added... bit like peter and jesus i guess (nod to scripture, god help me)

i can keep doing the same things, but it seems obvious they don't quite work, although there is no denying that i have a perfectly functional oreo install

so, to repeat my initial query - do i need su for the process to work better, or is it irrelevant ?

thanks for any clarification
[Xperia SP Original Android Development] gorillanobka:
In my case there was no need for SU on the Oreo.

(I hope you get to see this as XDA messes the threads on purpose by adding your quote to YOUR PREVIOUS post because their over the board spam settings or something.) I mean , even posting stuff half of hour apart it still happens.
[Xperia SP Original Android Development] scruffy1:
how to keep twrp as recovery, when flashing oreo

wish i'd found this page a few days ago... :silly:

oh yes !! :highfive:

this was the info i needed :victory:

a major thanks to AdrianDC who was responsible for this piece of magic as well :good:

perhaps it would help those who are new to the xperia sp to have the [Recovery][OFFICIAL][UBL] TWRP 3.2.1 Touch Recovery for Xperia SP thread linked in the first post with a prominent note as to what it does and why it's so important ? :confused:
[Xperia SP Original Android Development] AdrianDC:
If you read threads' OP, you'd see it's been there on all my threads since years. ;)
[Xperia SP Original Android Development] Onawt:
A little bit of reading goes a long way. The first post does contain a "Download links" section in which the TWRP thread is linked. If you'd fully read the first post, you could've known this
[Xperia SP Original Android Development] scruffy1:
easy in retrospect, i note

for those of us with less curiosity to follow every link, having successfully flashed non-sony devices and expecting this to be similar, would it be too much to ask that the relevant link has an annotation :

for those of you who wonder why twrp disappears from recovery when you flash the rom, READ THIS... sony handles the recovery process in a different way to all the other devices you have flashed which have a recovery partition called "recovery"

by all means add a comment - rtfm ! i'll happily be talked down to , and from my google searching, i'm one of many people who have been there, done that wrt recovery flashing :confused:

yes, the link is definitely there, but as it was "optional" i overlooked the significance in my haste to have an oreo with my glass of milk, and only belatedly found the information independently of the link after much google-fu

we're all grateful for the rom(s), but finding where we went wrong is not always obvious... until it's obvious :o

anyway, thanks again for making my daughter's cast off phone into my best mobile ever :laugh:
[Xperia SP Original Android Development] gorillanobka:
Well, now we know,

Well, now they know,

Let it go, let it go...

:)
[Xperia SP Original Android Development] Siyaset:
Hi AdrianDC. This ROM is good but Bluetooth doesn't work normally.

Bluetooth connect first time normally. But second time doesn't connect.

Thanks for everything
[Xperia SP Original Android Development] Gshrestha:
Curious about the latest build

I got the notification of DevDB update for 12-18 , but didn't find anything for 12-18 :cyclops: ( nothing serious , just curious for the new builds :o!! although i face annoying lags sometimes:( !! )
[Xperia SP Original Android Development] 0860319173:
Lights Effect

Music Lights Effect ?
[Xperia SP Original Android Development] nhicko95:
im using magisk 13.3 and its smooth
[Xperia SP Original Android Development] alitavas:
It works
[Xperia SP Original Android Development] akashraj_22:
Where can i get gapps compatible for this version for xperia sp??

please help
[Xperia SP Original Android Development] nhicko95:
https://androidfilehost.com/?fid=745425885120757579
[Xperia SP Original Android Development] Onawt:
Huge thank you [MENTION=2233641]AdrianDC[/MENTION]! Do you have a donate option anywhere? I really want to donate, because you really deserve it. Your support for this device is better than what Sony (or any other manufacturer for that matter) ever did. My XSP is 3 years old now, but more up-to-date and faster than e.g. my friends Galaxy S4 :o

As someone else already stated: This Android O release on XSP is faster than the release on Google's own Pixel devices. Like holy **** (<-- this was supposed to say s h i t btw) you're a hard working man! You really do deserve more appreciation than what I can express through this forum post. Please let me donate to you :fingers-crossed:
[Xperia SP Original Android Development] akashraj_22:
help

[MENTION=5706365]nhicko95[/MENTION]

I tried that version of gapps but it says it is not compatible

Please help
[Xperia SP Original Android Development] Bugemberoger:
Thank you so much for the hard work....... Much respect
[Xperia SP Original Android Development] LWWSaint:
There are no official gapps for android 8.0 as of now.

Install whateer apps you want via downloaded apks.
[Xperia SP Original Android Development] akashraj_22:
Can you mention any way i can have playstore and google services
[Xperia SP Original Android Development] akashraj_22:
help

I INSTALLED the rom with gapps 8.0 arm version and magisk root

But my rom is supper laggy

please help
[Xperia SP Original Android Development] heliox:
Installed yesterday night. Was laggy a bit. But after a couple of reboots, it's a lot less laggy now.

Which launcher to use , Launcher3 or Google Now?
[Xperia SP Original Android Development] :
I flash MicroG is work :)
[Xperia SP Original Android Development] nhicko95:
uninstall velvet google launcher gmail and soon then reboot and install background restriction apk on xda labs

---------- Post added at 04:42 PM ---------- Previous post was at 04:40 PM ----------

instruction ?

did you patch ur framework?

and what version ? can u link?
[Xperia SP Original Android Development] akashraj_22:
help

I am unable to use whatsapp status feature as camera is broken..

is there any alternative way i can get my whatsapp status working?
[Xperia SP Original Android Development] incisi ker:
try microg with tingle patch.
[Xperia SP Original Android Development] nhicko95:
can u share urs?
[Xperia SP Original Android Development] DahakePL:
I'm glad I bought the SP as a secondary phone :highfive:
[Xperia SP Original Android Development] incisi ker:
1- https://xdaforums.com/android/development/microg-unofficial-installer-t3432360 download two items in this topic.

2- https://github.com/ale5000-git/tingle download tingle patch. ( for this u need adb, java and pyhton on your computer)

later go on recovery, flash microG unofficial installer 1.0.21 beta and Google Sync Add-on 1.0.3 beta. turn on phone and apply tingle patch. this link is also helpfull about how to apply tingle patch https://github.com/ale5000-git/tingle/blob/master/README.md

(note: when u applying tingle patch if u encountered error, connect and try in recovery mode will be work.)
[Xperia SP Original Android Development] nhicko95:
no i mean ur framework.jar i dont have pc :(
[Xperia SP Original Android Development] Aorin1:
I was using Cyanogemod 14.1 which stands for Android 6.0 I think, not sure though. I upgraded last week to AOSP Android 8.1.0, latest build 20171208 without Gapps, which I totally don't need and have no regrets at all. I have plenty RAM available and the device won't lag in any circumstance, the built-in browser is lightning fast and smooth.

I also noticed a lot of room available after flashing this rom compared to previous versions, possibly because of Gapps, not sure.

Games run smoothly, no bluetooth, network or wifi issues, I'm sticking to this rom and won't come back to previous builds.

I miss some gestures and shortcuts like swiping the notification bar to adjust the display brightness, keep power pressed while in standby to turn flash light on.

The only thing I really miss from 6.0 is that I cannot find a way to totally turn off display while mirroring the smartphone via HDMI to a TV.

I can only say thank you to [MENTION=2233641]AdrianDC[/MENTION] for the long lasting support for this still great smartphone.
[Xperia SP Original Android Development] gorillanobka:
Merry Christmas and a Happy New Year

Merry Christmas and a Happy New Year TO ALL OUR DEVS and may we see each other in the new year.

I'm sure you're gonna enjoy the next few days away from Neanderthals like us: (MY BlueTeeth no work, MY GB"s DONT WANT WORK, YOU FIX RIGHT NOW :laugh: )

Anyways, may our old ancient devices live long enough to see Android 10.

Merry Christmas and a Happy New Year EVERYONE.

This call sign goes to bed.

Gorilla Out.
[Xperia SP Original Android Development] biswatmak:
Forgive me for being ignorant of the fact that I am deviating from the topic, but this post of yours is one of the few which I have noticed so far in XDA to consist of multiple statements arranged in correct order with good vocabulary implementation and almost no grammatical error.

And with a pinch of Humour ;!!!:)
[Xperia SP Original Android Development] gorillanobka:
Humor will only take you so far on XDA. :)

You will still need logs and other geeky stuff to get things done .
[Xperia SP Original Android Development] biswatmak:
Yes of course, but then sometimes when a post is well written and expressed with less aggressive mannerisms it gets response that it seeks in polite ways even though the query does not contain technical aspects.

But its obvious this is a technical forrum, and there are certain rules to be followed.

In Rome do as the Romans do. :)
[Xperia SP Original Android Development] gorillanobka:
It's all fine and dandy when you're a native English speaker or when your command of the English language is good enough to allow you to be eloquent.

Yeah, in this case you can afford to write nicely and express yourself with less aggressive mannerisms and then pat yourself on the back )

But guess what: Alt least 60 percent of the XDA users are using the google translator.

At least 80% of them are using English as a secondary language and all this garnish and embellishments means sweet eff all to them.

To be honest I do appreciate a nicely written post as anyone else but the truth is, that there are DEVS who can't speak or write properly in English, there are Devs using google translator as well .

The rest of the people are only here for the free copy of the operating system they get. Most of them download a copy and don't even bother to provide feedback. Ever!

When they do,80% of the time is like: "My GB's are not working. Please fix now"

Over eight and half million people using this forum.

I would say native English speakers are actually a minority :)

Merry Christmas by the way.

Gorilla Out.