yashsingh1/xdaforums huggingface dataset:
[Xperia SP Original Android Development] freedom74:
root with BootBridge

Hello all!

It's been for some time that I left my XperiaSP lying around with LineageOS 15.1 last installed. Now I wanted to try Android 10 flavor with this exceptional release of LineageOS 17.1

One thing thats bothering me is how to get root on 17.1 ?

I have BootBridge ZIP with Chainfire's SuperSU in install/install.zip that I used on Lineage OS 15.1 successfully but for some reason, it wouldn't install on 17.1

I have TWRP recovery 3.4.0-0 and when I try to install BootBridge.zip with SuperSu, in Boot image patcher section I get

- Finding boot image
--- Boot image: /dev/block/mmcblk04
- Extracting ramdisk
--- Failure, aborting

And ofcourse when I reboot and try to test it, from terminal su command returns

/system/bin/sh: su: inaccessible or not found

What am I doing wrong? :confused:

[EDIT\

SORRY, JUST found out SU not supported after LineageOS 16
[Xperia SP Original Android Development] JoL1hAHN:
Hello, first of all I'd like to thank [MENTION=2233641]AdrianDC[/MENTION] because it's so great to see that he's still working on his unofficial builds of LineageOS for the Xperia SP, now we even go as far as LineageOS 17.1 and seriously, having Android 10 on this phone is incredible considering the limits of the ancient hardware of this device.

That said I tried flashing 17.1 yesterday and noticed that it won't boot when the /data partition is formatted using f2fs instead of ext4, I get an "Encryption unsuccessful" message saying that encryption was interrupted and can't complete. I'm pretty sure f2fs worked fine for the /data partition with LineageOS 16. Is it a bug or is f2fs just unsupported now?
[Xperia SP Original Android Development] stephen.k:
Thank you very much @AdrianDC for this. I now have Andorid 10 on my Xperia SP, which had been running Android 4.3 for almost six years. I was almost considering buying a new phone before coming across your LineageOS 17.1 build. Your work is very useful for those of us with old phones that are no longer supported by Sony. Keep it up!

:good:
[Xperia SP Original Android Development] 'Yeon:
Help,lineage OS 17.1 mega link is not working.

Please update the link. Thanks
[Xperia SP Original Android Development] kunjar:
Does this work for locked bootloader?
[Xperia SP Original Android Development] ze7zez:
It is written in the first post.

​
[Xperia SP Original Android Development] 'Yeon:
Help, adb detected my device but not fastboot.

I manually installed usb driver and still not working.

I disabled verification not working.

adding new path of platforms not working.

is there any other way to fix this?

idk if the problem is my cable and it's new. PC detected my device!

My only problem is this FASTBOOT not detecting my device. I downloaded a lot of drivers "can't start error 10"
[Xperia SP Original Android Development] AdrianDC:
28/12/2020:

- Update release on Security level 2020-12-05
[Xperia SP Original Android Development] marce74:
[QUOTE = "AdrianDC, publicación: 84184555, miembro: 2233641"]

28/12/2020:

- Lanzamiento de actualización sobre el nivel de seguridad 2020-12-05

[/ CITAR]

thanks adrianDC for keeping this device alive, I'll see if it continues with the same performance
[Xperia SP Original Android Development] regepower:
Using third party widgets is not possible? Is it because low RAM device?

Regards
[Xperia SP Original Android Development] dsx3000:
Good job. I use SP in my car as a GPS navigation in landscape mode. There is a bug on the lock screen in landscape mode, the clocks and the lock icon overlap. Please fix it.
[Xperia SP Original Android Development] alphancrew:
i have issue with this, after installing this rom, suddenly mobile network not available and its repeat an random. while i restart phone sometimes no issue with mobile network and after few minutes this issue come back again. please help maybe there is a solution?

*sorry for my bad english
[Xperia SP Original Android Development] Surenmof1:
my 3G network not working, I stuck with 2g edge service what to do, my speaker routed to the earpiece speaker cant hear the sound from rear speaker
[Xperia SP Original Android Development] Ice530:
hi, can anyone teach me how to install twrp with xperia sp android 4.3? I tried by downlaod using twrp app after my phone is rooted, but "Flash Failed" for twrp 3.0.2-0 all the way to twrp 3.5.2_9-0. Is there anyone willing to help me? Thank you.
[Xperia SP Original Android Development] Blop1759:
Hello,

Finally !

The answer seem to be : adb shell dumpsys deviceidle whitelist +com.android.messaging

from

https://www.reddit.com/r/LineageOS/comments/n5dttk

It really changes this notification issue to the best.
[Xperia SP Original Android Development] J73:
Does anyone have a compatible Gapps for this? If I flash the current ones from openGapps, I get a insufficient storage error.

Note: I am flashing the Pico variant as well.
[Xperia SP Original Android Development] Carontes:
Hello everyone, does anyone know what's the path for the nfc config? Thanks
[Xperia SP Original Android Development] Ice530:
Hi. Same error with mine!! I found one alternative: https://xdaforums.com/t/custom-gapps-bitgapps-for-android.4012165/#post-81060589

*I'm not sure if I can directly post other's link here. Will delete if cannot.
[Xperia SP Original Android Development] AchillesSteel:
When the phone turns off the screen, android.system.suspend eating battery (use htop).
[Xperia SP Original Android Development] Surenmof1:
Is there any way to fix audio routing rear loudspeaker doesn't work for me.
[Xperia SP Original Android Development] Iekuta:
it's sooo cool that one of the old legends, the Xperia SP's development is still active today.

Huge thanks to @AdrianDC
[Xperia SP Original Android Development] le grande magnetto:
I really doubt it.
[Xperia SP Original Android Development] ze7zez:
Would you agree that if @Iekuta made a mistake and wanted to write

~~"it's sooo cool that one of the old legends, the Xperia SP's developer is still active today."

that sounds reasonable?

Adrian is still an active member of the LineageOS team.
[Xperia SP Original Android Development] xdabuntu:
Hi everybody!

Does anybody still have this ROM running?

Or even installed it recently?

Does the call & text/messaging work?

Thanks!
[Xperia SP Original Android Development] xdabuntu:
I could install this ROM with the newest TWRP twrp-3.7.0_9-0-huashan.img. I did not add any Open GApps thinking there might not be enough space (see other post).

I followed mainly this instruction from LineageOS. When unlocking the bootloader 0x at the beginning of the code is needed:

fastboot oem unlock 0x<your_unlock_code

Receiving calls & text/SMS work.

Thanks a lot for the work on this ROM, even it is some years ago!
[Xperia SP Original Android Development] 00pol00:
cannot install gapps android 10, it says 'please download the correct version for your ROM: 6.0.1 (SDK 23) :(
[Xperia SP Original Android Development] ze7zez:
Are you sure you flash open_gapps-arm-10.0-pico-20220215.zip?
[Xperia SP Original Android Development] 00pol00:
Yes Open gapps arm Android 10 pico, now fhashed again and now when try to install gapps it says 'insufficient free storage space', error 70, the versión of lineage os is lineageos 17.1-20201228
[Xperia SP Original Android Development] ze7zez:
Flash much older gapps or BiTGApps or arm Lite Gapps.
[Xperia SP Original Android Development] 00pol00:
Flasshed litegapps and got bootloop, but bitgapps is working but now xsp

is slow again and heating like hell, thanks
[Xperia SP Original Android Development] ze7zez:
The fault is on the gapps side, not XSP. If you used very old gapps and knew how to block updates then the google service load problem would be less.
[Xperia SP Original Android Development] piponito:
I can't root my xperia sp with lineageOS 17.1. I'm trying Magisk 26.3.

From Magisk apk when patching boot.img file tells me: "Unsupported/Unknown image format. Installation failed". Same error fom adb with command: adb sideload magisk.apk

Can you help me, i's there any way to root it?
[Xperia SP Original Android Development] casouzaj:
Use Boot Bridge for Sony ELF. Link is in the OP.
[Xperia SP Original Android Development] piponito:
Thank you.

First, I renamed magisk24.3.apk to install.zip. Then I put it in the BootBridge-SonyELF.zip install folder. And when I flash BootBridge-SonyELF.zip with TWRP, everything looks fine, but when I reboot I get a loopboot on the Sony logo.
[Xperia SP Original Android Development] ze7zez:
Since AdrianDC wrote that the bootloader must be unlocked it means that it must. You don't write anything about it, so I assume you have a locked bootloader. Unfortunately, not every Xperia can have an unlocked bootloader. You need to verify this yourself.
[Xperia SP Original Android Development] piponito:
No, the bootloader is unlocked. I unlocked it some time ago with: fastboot -i 0x0fce oem unlock 0xKEY_FROM_SONY

Could the issue be related to the fact that there's no .zip in magisk since version 21.4?

Cause I really don't know if you can rename .apk to .zip without any issue.
[Xperia SP Original Android Development] ze7zez:
The latest ROM is dated 2020-12-

28

, so use Magisk 21.1 (2020-11-13) or earlier.

All APK file are ZIP files. They are distinguished by specific content for installation in Android or TWRP.
[Xperia SP Original Android Development] piponito:
Thank you!

With Magisk 21.1 and Magisk Manager 8.0.3 everything ok.
[Xperia SP Original Android Development] piponito:
Helo again!!

Is there any way to show 'notification dots' in app icons?

The option is already enabled in settings but it seems not working.
[Xperia SP Original Android Development] Kurpoli:
(official) GApps doesn't work with Xperia SP.

What can we do ? This rom is dead without GApps
[Xperia SP Original Android Development] piponito:
Then Bitgapps fix the 'notification dot' issue in lineaqe xperia sp?
[Xperia SP Original Android Development] Kurpoli:
This rom is dead. Android 8.1 is the best version for this old phone
[Xperia SP Original Android Development] piponito:
Android 8.1?, Where to find that rom for xperia sp?
[Xperia SP Original Android Development] Kurpoli:
[ROM][SNAPSHOT][8.1] LineageOS 15.1 for Xperia SP

#include /* * Your warranty is now void. * * I am not responsible for bricked devices, dead SD cards, * thermonuclear war, or you getting fired because the alarm app failed. Please * do some research if you have any...

xdaforums.com
[Xperia SP Original Android Development] piponito:
Thank you very much!
[Sony Xperia T, TL, TX, V] AdrianDC:
IMPORTANT FEATURES TO KNOW

Boot sequence : Once the LEDs light up :

- Press Volume - to open LineageOS Recovery,

- Press Volume + to open the FOTA recovery (TWRP usually) if available

Powered-off alarm : When you have set an alarm

- If you power down the device, it will wake automatically 5 minutes before

- If you let the device charge offline, it will automatically reboot 5 minutes before

Gestures : Events like hand-wave and pocket removal can be enabled in the Settings

Force reboot : You can reset the device by holding Power and Volume+ 5 seconds
[Sony Xperia T, TL, TX, V] AdrianDC:
FEATURES AND ISSUES

Boot : Ok
GApps : Ok (OpenGApps Pico recommended)
Partitions (Data, Cache) : Ok
Bluetooth : Ok
WiFi : Ok
WiFi Hotspot : Ok
RIL - Phone - Data : Ok
GPS : Ok
Camera : Ok
Camcorder : Ok
Lights : Ok
MicroSD : Ok
Accelerometer : Ok
Compass : Ok
Gyroscope : Ok
AOSP sensors : Ok
Touchscreen : Ok
FM Radio : Ok
Vibrator : Ok
Microphone : Ok
Audio & music : Ok
Bluetooth audio : Ok
Video playback : Ok
NFC : Ok
Kernel : Ok
Graphics : Ok
3D Rendering : Ok
Clock : Ok
DRM : Ok
Offline Charging : Ok
USB : Ok
USB OTG : Ok
Encryption : Ok
SEPolicies : Ok (Enforced)
Kernel CVE : Partially outdated (ToDo)
Root : Ok (with ADB, supported with Magisk + BootBridge)
TWRP : Ok (TWRP 3.5.0 recommended, system restore may need a ROM reflash due to a TWRP internal issue)

CHANGELOG

Future release:
- Kernel CVEs updates to check

28/12/2020:
- Update release on Security level 2020-12-05

25/10/2020:
- Update release on Security level 2020-10-05

20/09/2020:
- Upgrade release on Security level 2020-09-05 (android-10.0.0_r46 August)
- Back gesture navigation with keyboard swipe conflicts resolved (topic:ten-back-gesture-go)

30/08/2020:
- Multiple kernel optimizations and debugging features cleanups (thanks Tomoms)
- Previously patched SEPolicies included and now considered stable

27/08/2020:
- Patch regarding SEPolicies for FM Radio support (extends the 26/08/2020 patch)

26/08/2020:
- Patch regarding SEPolicies for FM Radio support and sensors detection

23/08/2020:
- Migration to userspace Low Memory Killer daemon (LMKD) instead of the old kernel LMK
- Massive kernel updates against upstream, especially LZ4 and ZRAM (257 commits)
- Additional SEPolicies updates

20/08/2020:
- Updates to enforced SEPolicies
- Actionbar previous button in DeviceSettings fixed

19/08/2020:
- Enforced SEPolicies security with all rules refactored and cleaned up,
if anything looks "blocked", please report with ADB logs

16/08/2020:
- GPS legacy support fixed

15/08/2020:
- Video playback fixed
- ZRAM 768MB reenabled
- Bootimage support for Magisk
- RIL updates
- Minor lights selection fix

13/08/2020:
- Initial public release on Android 10.0.0_r41 June

11/08/2020:
- Initial beta testers release on Android 10.0.0_r41 June

2019 - 2020:
- Initial AOSP 10 / LineageOS 17.0 / 17.1 ports
- Internal bringup
[Sony Xperia T, TL, TX, V] AdrianDC:
The next release will resolve these :

Video playback : Due to Android 10 newer codecs, recorded videos now play properly

Boot : The bootimage will support Magisk as the current one does not

Notifications : Minor fix on lights selection (https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/283994)
[Sony Xperia T, TL, TX, V] forawhile:
Thank you very much for this new release. In my experience GPS does not fix.
[Sony Xperia T, TL, TX, V] AdrianDC:
Indeed, the GPS stack was starting but failing upon receival due to our legacy stack.

Today's release resolve GPS issues.
[Sony Xperia T, TL, TX, V] hamidkar64:
Hello AdrianDC

Installing the gapps file encounters an error

Please check
[Sony Xperia T, TL, TX, V] AdrianDC:
Please give details when you post such reports.

The issue you most likely have is because you're not using the recommended GApps variant.

Android 10 uses much more spaces in system, even though I reduced it.
[Sony Xperia T, TL, TX, V] hamidkar64:
I noticed that I downloaded the pico version that you mentioned several times from the oppengapps site, but unfortunately I encountered an error during the installation, so from the site https://download.mokeedev.com/extension.html#gapps

I downloaded and my problem was solved

Sorry for the bad writing I have

Good luck
[Sony Xperia T, TL, TX, V] AdrianDC:
I'm running both Xperia SP Huashan and Xperia T Mint since early this week, both with OpenGApps 10.0 Pico installed.

If you have an issue, try to look at the OpenGApps log, they create a .log file to see what went wrong.

Also, try to mention which device you have since this covers T, TX and V (I know you have a V Tsubasa).
[Sony Xperia T, TL, TX, V] forawhile:
Thank you very much for solving GPS issue. Now GPS gets a lot of sats. Despite that GPS takes a lot of time for 3D fixing. Is there any solution?
[Sony Xperia T, TL, TX, V] forawhile:
Did you upgrade twrp? I had no issue. I nave a xperia v
[Sony Xperia T, TL, TX, V] AdrianDC:
Both my Huashan SP and Mint T got a GPS fix in less than a minute, while being indoor.

I use the "GPS Test" application, which shows satellites in view, in use, strengths, ...

I can't change much about it, it works the way it used to.
[Sony Xperia T, TL, TX, V] skytorch:
Great!

Thanks Adrian
[Sony Xperia T, TL, TX, V] AdrianDC:
A new release 19/08/2020 is available :

Enforced SEPolicies security with all rules refactored and cleaned up (if anything looks "blocked", please report with ADB logs)

Mint should be fine, everything looks to be working fine right now with the enforced security.

Hayabusa and Tsubasa need to be tested + I would require first and normal boot ADB logs.

Please PM me ADB logs if you see anything not working / behaving as it should and explain what you did.
[Sony Xperia T, TL, TX, V] merlin_zaraza:
Camera is not working in tsubasa
[Sony Xperia T, TL, TX, V] AdrianDC:
Please turn your device permissive : https://xdaforums.com/android/software-hacking/mod-kernel-permissive-patcher-android-t3506338

And send me adb logs after a complete boot.
[Sony Xperia T, TL, TX, V] forawhile:
Tsubasa; Last release (20/08/2020).

I added my logcat. I have just a delay with GPS 3d fix. I tested the hardware and the antenna and all seems ok.
[Sony Xperia T, TL, TX, V] forawhile:
​

Tsubasa release date 20/08/2020 + root.

The Camera phone crashes after taking some photos (16 in my case) and the system becomes instable.
[Sony Xperia T, TL, TX, V] AdrianDC:
A new release 23/08/2020 will be available, on my side, the performance and normal usage have improved a lot :

Migration to userspace Low Memory Killer daemon (LMKD) instead of the old kernel LMK

Massive kernel updates against upstream, especially LZ4 and ZRAM (257 commits)

Additional SEPolicies updates
[Sony Xperia T, TL, TX, V] AdrianDC:
That's something we had a few years ago but I can't remember why yet, will check.

Huashan has no issue with that from what I tested, however I reproduced it on Mint.

Apparently it's eating RAM and getting killed by the system, even on the new build.

What is your question actually ?

As I said to another GPS question, sadly I can't do much to improve it.
[Sony Xperia T, TL, TX, V] hamidkar64:
hi

Why doesn't the xperia v version load?
[Sony Xperia T, TL, TX, V] AdrianDC:
Apparently the upload failed when the build completed.

Relaunched it only for Tsubasa, you should see the new build now.
[Sony Xperia T, TL, TX, V] forawhile:
I solved GPS ISSUE for a while in this way:

- Reverted to sony stock rom to test gps correct working;

- Made a clean install of lineage os;

All working for a period, but then I had the same issue.
[Sony Xperia T, TL, TX, V] fenix888:
magisk

Hi, you made an excellent job port android10 to our device. Thanks a lot.

I can't install magisk with the build of 23 08, neither with this boot image.
[Sony Xperia T, TL, TX, V] hamidkar64:
Hello

I have two main problems with my Xperia V phone

1 Button to close the software or open the software does not work

2 In the 30th update, I press the power button and the phone does not lock
[Sony Xperia T, TL, TX, V] eternalcookie:
hello adrian and thank you for this release, android 10 has improved the user experience a lot. i only have one problem with my xperia v. my recent apps button doesnt work, ive tried other launchers as well as nova activities and binding gestures but no luck. this was a clean install from 9.

should i revert back to stock rom and upgrade again? thank you very much.
[Sony Xperia T, TL, TX, V] forawhile:
Xperia V release date 30/08/2020.

"Gps status" App shows:

Compass sensor: absent.

Do I have a hardware problem or anyone else has the same issue?

Thank you all
[Sony Xperia T, TL, TX, V] skytorch:
Also have this issue.

---------- Post added at 03:16 AM ---------- Previous post was at 03:08 AM ----------

I installed one GPS test app, in my phone, it can't find any star for a period. Is that because it's very slow to find stars as one above reply described or the GPS function not work?
[Sony Xperia T, TL, TX, V] forawhile:
Xperia v release date 30/08/2020

I experienced the following issues:

- The camera App takes photo, but don't save them If I choose to save in sd card;

- The "panoramic view" button doesn't work

- The GPS sometime fixes sometime not; I ask to Adrian if this release may have the same issue as the Lineage 15.1 Rom; that issue was recognized and solved with the release of June 2018 (you can find my post and Adrian's answer in Lineage OS 15.1 forum);

- Many apps show that the Compass sensor is not present (buti I don't know if this is a problem of my hardware) and so I can't calibrate it (I used these apps: "GPS Status"; "GPS Test"); I think GPS fix can be delayed by this issue;

- Accelerometer not working even with "permissive kernel patcher"

- Using the app "Waze navigator", the smartphone sometime restarts.

I want to say "thank you" to Adrian for his great work and for all the time he spends to improve the rom of this old device.

UPDATE: I flashed "permissive kernel patcher" and the magnetic sensor now is present and works again. GPS gets a lot of sats with good signal, but it takes 20 minutes for 3d fix and sometimes 3d fix is impossible. It is impossible to use a navigator. Image 1 e 2 are taken before permissive kernel patch.
[Sony Xperia T, TL, TX, V] JohnnyChim:
I am using xperia tx 20200830

I think performance needs a huge improvement
[Sony Xperia T, TL, TX, V] forawhile:
Xperia v gps fix

XPERIA V

Release date 30/08/2020 + "permissive kernel patcher" + Root

- First of all try disabling LTE (set 3G only) and test your gps; if still it does not work, keep 3G only mode and follow the istruction below

After many attempts, I modified the Gps.conf in a way that works for xperia v. In my smartphone (xperia V) Gps takes 7 minutes to fix the first time, but later it fixes in less than 1 minute. It is necessary to rename the gps.txt (attached) in gps.conf and then you have to copy the file in vendor/etc (after a backup of the original file). To do that it is necessary to root the smartphone and to use an app like root explorer.
[Sony Xperia T, TL, TX, V] xperanto:
[MENTION=2233641]AdrianDC[/MENTION]

Ha, so you did it again! Thank you! just insane ;)

As i came late to the party (20200920-unofficial), a small bug only on tsubasa (doesn`t accure on SP <strike>or T</strike>):

In the bottom navigation bar, the "recent button" (the square one to the right) gets a touch respond, but nothing happens, no "recent apps overview" pops up.

Edit: Also on T (mint), rechecked (thx [MENTION=4579011]Th3-822[/MENTION], this has nothing to do with low-ram en- or disablepatch)

Also, Magisk didn`t survive reflash, even script was executed, as i remember.So had to reflashing bootbridge after rom reflash.
[Sony Xperia T, TL, TX, V] lobotron:
also jumping on the train lately (20200920), so I can confirm this square thing for the V

Also my big thank you!
[Sony Xperia T, TL, TX, V] skytorch:
It doesn't happen on TX as I tested.
[Sony Xperia T, TL, TX, V] Th3-822:
same issue in a mint with the low ram patch
[Sony Xperia T, TL, TX, V] xperanto:
bump 20201025

Strange, i`ve got two tsubasas running with 20201025.

On one "recent apps" is working, also with "system navigation" (3-button navigation) option available under gestures.

On the other one, same rom, but recent apps is not working and no "system navigation" option under gestures.

Tried wipe cache, changed profiles as suggested on the net (switching to a different user as also suggested not implemented yet) and so on...nothing.

As this rom is in beta (thx [MENTION=2233641]AdrianDC[/MENTION] again for your efforts) i don`t want to spam the whole thread with every tiny "bug" adriandc is probably aware of.

If any logs, issue-reporting or testing for tsubasa/mint/huashan is welcomed or needed, just leave a note in the thread.
[Sony Xperia T, TL, TX, V] _dzzzuti:
[MENTION=2233641]AdrianDC[/MENTION]

You release A10 for Xperia TX which has only 1gb of RAM - that doesn't make sense with such RAM. So how to upgrade perfomance for normal use of A10 on TX?
[Sony Xperia T, TL, TX, V] AdrianDC:
28/12/2020:

- Update release on Security level 2020-12-05
[Sony Xperia T, TL, TX, V] DooMLoRD:
Thank you @AdrianDC for keeping this wonderful phone alive!!!
[Sony Xperia T, TL, TX, V] Arhamstrixkhan:
@AdrianDC Can we make the Xperia tx storage 16 gb again, my phone is showing two partitions, one is Legacy SD card and other is internal phone storage. How to fix this?
[Sony Xperia T, TL, TX, V] Arhamstrixkhan:
@AdrianDC i am unable to root xperia tx, i Flashed BootBridge but what's next?