yashsingh1/xdaforums huggingface dataset:
[Xiaomi Poco F1 Questions & Answers] notclose:
solved sort of

I snapped under the pressure and did a factory reset - cleared the problem.

Now I have vanilla phone to reconfigure . This does tend to be quicker the next time around because all the experimental fiddling has been done before hand. Still curious

Regards
[Sony Xperia S, Acro S, Ion] millosr:
nAOSProm 8.1 screenshots
[Sony Xperia S, Acro S, Ion] millosr:
Features

F2FS support

Advanced Reboot Menu

Integrated superuser

Lineage apps: Jelly, Eleven, Gallery2

Wakeup gestures

Additional quick setting tiles

Customizable number of QS tile columns

nAOSProm settings
[Sony Xperia S, Acro S, Ion] millosr:
Flashing

You need to merge partitions /data and /sdcard (already done if you come from nAOSP 6.0 or 7.x).

Please, read the 6.0 procedure to flash this ROM.

If you come from nAOSP 6.0 or 7.x you should clean flash.

Setup wizard is disabled for this version because of numerous force closes.

For google account setup go to Settings > Users & Accounts > Add account.

Recomended gapps: Open Gapps ARM 8.1 micro (nano, pico)
[Sony Xperia S, Acro S, Ion] millosr:
reserved
[Sony Xperia S, Acro S, Ion] Fir3lordZuk0:
Thanks a lot [MENTION=6754437]millosr[/MENTION]

I will flash the update this evening and revert with feedback

Btw, any recommended Gapps?
[Sony Xperia S, Acro S, Ion] Abdollah hosh:
hotspot and otg work?
[Sony Xperia S, Acro S, Ion] Darth Inferno:
[MENTION=6754437]millosr[/MENTION] Download and flashing and let you know
[Sony Xperia S, Acro S, Ion] mehdips3:
Hi tnx for your greate work. Which gapp 8.1 is good for this rom??
[Sony Xperia S, Acro S, Ion] millosr:
Unfortunately those don't seem to work. I will try to fix them in the next build.

I am using OpenGapps micro 8.1 arm.

When clean flashing, flash rom and gapps together. I've disabled setup wizard, so set up account from settings.
[Sony Xperia S, Acro S, Ion] Darth Inferno:
[MENTION=6754437]millosr[/MENTION] Hi Friend, well friend I did a dirty flash, so far the Rom work fine, proximity sensor is working , not tested yet hot spot or otg. I continue testing and let you know if I found some issues.

thank a lot for this version :good:
[Sony Xperia S, Acro S, Ion] Fir3lordZuk0:
[MENTION=6754437]millosr[/MENTION]

I am not able to download the zip, its getting stuck within 3 MB download. i tried different mirrors.

Any one else facing problem with downloading zip?
[Sony Xperia S, Acro S, Ion] millosr:
Here's alternative download link:

nAOSProm-8.1.0-b03.zip — Yandex.Disk
[Sony Xperia S, Acro S, Ion] Fir3lordZuk0:
Updated to 8.1 b03.

So far so good..thanks
[Sony Xperia S, Acro S, Ion] nageswarswain:
[MENTION=6754437]millosr[/MENTION] great work friend..although I m not using xperia s more often these days but still I m visiting xperia s thread frequently. Now I saw this new thread..and with pleasure I congratulate you for your great effort.Thanks
[Sony Xperia S, Acro S, Ion] mehdips3:
Hi why all naosp rom is laggy on xperia s i use naosp from 5.1
[Sony Xperia S, Acro S, Ion] mirhl:
Friendly reminder that 6.0 >b14 had 60fps fix too.
[Sony Xperia S, Acro S, Ion] Seemanthinis:
finally, look whos made a new thread.. millosr listens to me.. :P good work again mate.. thank you..

all other users, is the battery life bad or just the age of the battery taking a toll on the life?
[Sony Xperia S, Acro S, Ion] Dr Goodvibes:
Xperia S battery Life

I found the best battery life was gained in Android 5.1 builds at around 5days idle, with only 2-3days idle time on newer 6.0-7.0 builds.

The screens(342ppi) on these older devices chew through the battery so OST will never be that great on any version using an Xperia S, where you're probably counting the time in hours, not days.

I'll have to make a few spiders homeless and fire up my XS and see how it fares with the 'latest' OS. :)

Thanks [MENTION=6754437]millosr[/MENTION]
[Sony Xperia S, Acro S, Ion] Darth Inferno:
well after having tried the ROM during this time I can say that it works excellent I made some modifications like using the pixel launcher to install the app duo dialer and pixel (include weather) contacts and all its working perfectly

Excellent work [MENTION=6754437]millosr[/MENTION]

Now waiting for the next update
[Sony Xperia S, Acro S, Ion] nageswarswain:
Great work buddy
[Sony Xperia S, Acro S, Ion] K9100ii:
My Magisk installation boot images and script is here: https://xdaforums.com/xperia-s/s-development/magisk-naosprom-8-1-sony-xperia-s-t3968060/ Let me know what you all think in that thread.
[MENTION=6754437]millosr[/MENTION], maybe it could be a good idea to patch your kernel sources with the mount namespace patch?
[Sony Xperia S, Acro S, Ion] millosr:
Great work [MENTION=9549206]TALUAtXDA[/MENTION] !

I tried to install magisk before with AdrianDC installation wrapper but I wasn't successful.

I haven't working on nAOSP for a long time. I don't have much time/motivation to work on it.

Since last build there was one new tag on oreo-m8-release aosp branch - android-8.1.0_r67,

and one new branch oreo-mr1-security-release, latest tag android-8.1.0_r68.

There are some new commit's on security branch, but I would need to find and apply (cherry-pick) them manually.

Currently I'm not sure when I will create new build, but when and if I do it I will just include security patches and magisk support.
[Sony Xperia S, Acro S, Ion] millosr:
nAOSP-8.1 b10 released

List of changes:

android-8.1.0_r70 (November 2019 security patches)

added support for flashing Magisk

For this release I have switched from aosp/oreo-m8-release to aosp/oreo-mr1-security-release, since this is the only branch that gets updated.

I've merged kernel commit that's necessary for Magisk. I have also created a build of [MENTION=2233641]AdrianDC[/MENTION] BootBridge ([MOD] Boot Bridge for Sony ELF) compatible with S/Acro S which is necessary for flashing Magisk.

To flash Magisk you have to:

flash BootBridge-Init.zip

flash Magisk zip (currently Magisk-v20.1.zip)

flash BootBridge-Restore.zip

Not flashing BootBridge-Restore.zip may result in boot failure and only way to recovery will be rebooting to bootloader and flashing twrp to boot.

Boot bridge can also be used to uninstall magisk:

BootBridge-Init, magisk-uninstaller, BootBridge-Restore

If you want to restore nAOSP superuser after that you need to reflash nAOSP ROM.

BootBridge zips can be downloaded from Android File Host - Boot Bridge
[Sony Xperia S, Acro S, Ion] noMercy1337:
01/2012 released still getting 2019 November security patches :D crazy... You are awesome, I will try it on my old XS.
[Sony Xperia S, Acro S, Ion] Maverick Jester:
[MENTION=6754437]millosr[/MENTION] thank you for keeping this old war horse alive! Having Magisk is just the icing on the cake now.
[Sony Xperia S, Acro S, Ion] Simmarn:
Enable notification access?

Hi, I need to install Tasker and intercept notifications from another app. But with nAOSProm 8.1 anytime I open an app that requires Notification Access it says ''This Feature Is Not Available On Your Device''.

Is it possible to enable somehow?
[Sony Xperia S, Acro S, Ion] farfouille64:
Can't use Mobile Data

Hi there,

First, a big thank for all your work for Xperia S, I've just discovered these days !

While b10 works very well, I encounter a problem to use Mobile Data : no Internet connection and can't send/receive MMS. Quite annoying...

The configuration :

- clean flash of b10 out of the box, no gapps

- operator : Bouygues Telecom (french)

- Mobile Data is enable

- APN is selected and automatic setup is ok (compared with another, 4G, phone and operator's wiki)

The Symptoms :

- no symbol data ('H', 'H+', 'G', 'E') near the signal strength, (but no 'X' as when mobile data is disabled)

- can't connect to Internet, Browser displays net:ERR_INTERNET_DISCONNECTED

- can't send or receive MMS

- phone and SMS are OK

- can connect to Internet when Wifi is on

Some logs :

- *#*#4636#*#* says : Data Service : Disconnected

- I can post logcat result.

I've checked b10, b09 and b08 with no luck.

Thank you for your help.
[Sony Xperia S, Acro S, Ion] K9100ii:
I have just noticed this:

If something doesn't work properly like this, there is a catastrophic problem in a process involving conversion of the ramdisk. That is a real problem that needs to be fixed if that problem does somehow appear.

Of course, it works perfectly, so there should be nothing to fix now and in the future. But in the very rare case where something this bad happens while using boot bridge, it should be fixed.
[Sony Xperia S, Acro S, Ion] millosr:
I meant "Not being able to REBOOT to recovery". Sorry for that, I will fix the first post.

If you install Magisk, and try to reboot to recovery from reboot menu, or from adb with adb reboot recovery it will reboot to system.

User still can BOOT to recovery by pressing Volume button when notification led is purple on phone start/restart.
[Sony Xperia S, Acro S, Ion] K9100ii:
Ah, I see, that makes sense. I have this issue, but I can ignore it. Thats fine then.
[Sony Xperia S, Acro S, Ion] farfouille64:
For the record, I changed the parameter APN Protocol value from IPv4 to IPV6 in the APN configuration and, tadaaa, it works ! :o

(I don't understand everything because a Samsung Galaxy S5 running lineageos 16.0 works with APN Protocol set to IPv4 with the same SIM...)
[Sony Xperia S, Acro S, Ion] nageswarswain:
Merry Christmas friends
[Sony Xperia S, Acro S, Ion] User SW:
NFC payments not work

Hi, sorry for my english!

NFC payments not work.

Settings > Apps & notifications > Advanced > Default apps > Tap & pay > Payment default - crash Settings...
[Sony Xperia S, Acro S, Ion] mirhl:
I don't really know how google wallet used to work once upon a time - anyway facts is android/google pay requires HCE.

And 2012 phones are a bit unlucky, to the very least firmware wise.

https://xdaforums.com/xperia-s/s-development/rom-naosprom-xperia-s-t3462373/page198
[Sony Xperia S, Acro S, Ion] Ilija92:
ROM hosting broken.

Hosting files are down. Can someone reupload b10 and magisk prerequisites.. Thank you.

They are fine on the second try.. sorry to bother..
[Sony Xperia S, Acro S, Ion] millosr:
nAOSP-8.1 b11 released

List of changes:

android-8.1.0_r74 (March 2020 security patches)

fixed storage permission grant

gps: fixed location timestamps

bluetooth: display bt device battery level in bt QS tile label

bluetooth: stopped background scan after turning off bluetooth

SystemUI: fixed crash when on some QS tile long press (jack detect,...)

Settings: added 0.25x animations scale to Developer options

I did most of the changes before, but I haven't found time until now to make, test and upload clean builds and commit everything. Since I have to be closed in home every day after 17:00, I have finally found the time to finish and release the build.

The biggest fix is storage permission grant. Before this build when you grant storage permission to the application you need to restart that app, to apply granted permission, which was very annoying. Reason for this was kernel which was missing some commits necessary for storage permission grants (https://source.android.com/devices/storage).

Other bug I accidentally found when I was testing my GPS tracking application was wrong timestamps in GPS location samples. Maybe that is only the case with my phone, but its GPS module sometimes reports some very old timestamp like August 1, 2000. You can test this using GPS Test app (time tab).

I've added a logic to detect wrong timestamps reported by GPS module and use system timestamps instead in those cases.

Since our device is pretty slow in 2020 I added ability to set faster animation 0.25x, to make it look more responsive :)

I haven't tested this build with Magisk. If you use it you will probably need to reinstall Magisk using BootBridge-Init, Magisk, BootBridge-Restore flash sequence, after flashing the ROM.

Good luck to all and take care :)
[Sony Xperia S, Acro S, Ion] mehdips3:
hi i cant repartition my device i came from stock .adb from twrp not for at all and this error(error closed). is there another method for repartition my device for rom upper than 5.1.1?
[Sony Xperia S, Acro S, Ion] millosr:
You need to merge partitions as described here .

You should use the latest twrp, you have the link in the first post of this thread.
[Sony Xperia S, Acro S, Ion] AhmAdDev99:
After all that years of running on the boring, sluggish stock 4.1.2. I decided to try a custom rom, and since this was the most recent one I immediately went for this one, and man I'm shocked by how well the rom performs! It's hard to believe such old device (ACRO S) can handle Oreo that well, although I'm having some hard time with the double tap to wake, but it does not bother me a lot, the sweep2wake works just fine. You gave my device a new life, THANKS!
[Sony Xperia S, Acro S, Ion] JucaTec:
Hi. Thanks for the beautiful work.

Is there an overclocked kernel to use on Xperia S with this version 8.1?

Thanks.
[Sony Xperia S, Acro S, Ion] AhmAdDev99:
Hello.

The kernel that comes with the rom itself has overclocking ability, you can overclock up to 2.0GHz, I believe. My phone has been running on 1.7GHz with zero issues.
[Sony Xperia S, Acro S, Ion] JucaTec:
Thanks. What is the best APP?
[Sony Xperia S, Acro S, Ion] AhmAdDev99:
I'm using SmartPack-Kernel-Manager, it works flawlessly.
[Sony Xperia S, Acro S, Ion] Gazzamit:
My Xperia S stopped working and just showed SONY on boot. TWRP factory reset did not work. I couldn't remember what version of rom was installed, however, I was sure I'd already combined data and sdcard.

In TWRP (v2.8.7 I think) I flashed new twrp-3.2.3-nozomi.img into FOTA area and rebooted into updated TWRP.

I checked via ADB fdisk /dev/block/mmcblk0 that there wasn't a /dev/block/mmcblk0p15 (and only p14 in my case 42954-954245-29361464). This meant I had previously combined data and sdcard as expected.

Data and cache were already f2fs but system wasn't. I tried rom install with system f2fs and it didn't work as expected, so I changed system back to ext4.

I used TWRP MTP to copy over this rom and gapps, added both zips to install, flashed, wiped dalvik/cache and rebooted.

Everything is working. Many thanks to everyone that has contributed. Amazing skills.

Gonna try and sort my second Xperia S now.

Thanks again.

EDIT: 2nd device worked as expected following same procedure.

PS: the error 7 message occurred for me when system was set to f2fs and quickly looking at the updater-script it expects it to be ext4.

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-num/p12", "/system"

PPS: In updater-script the boot.img kernel is flashed into the boot area so I did not bother flashing boot.img to boot in TWRP separately.
[Sony Xperia S, Acro S, Ion] Alex Tan Hao Nam:
Wifi connected but no internet access

pls help how to fix this issue
[Sony Xperia S, Acro S, Ion] Bloody bk:
Idle battery drain even with aggressive doze
[Sony Xperia S, Acro S, Ion] millosr:
You are either using some applications that work in background or your battery health is not good.

Try to look at the logs (logcat) and find the reason.
[Sony Xperia S, Acro S, Ion] Bloody bk:
I don't have nozomi anymore

But thank you for this ROM

The android 8 was very nice on this phone

Good job
[Sony Xperia S, Acro S, Ion] Nmorelm:
Sorry for a n00b question , but how to flash this ROM to my old Xperia acro S ?
[Sony Xperia S, Acro S, Ion] Bloody bk:
First you have to unlock bootloader

And then if you are on another custom ROM I would recommend you to go back to the stock ftf firmware flash it via flashtool

Unless you are on nasop 5.1\6\7

So if u didn't repartition your device so you have to repartition

Go to thread first page and read there, there is a link for repartitioning

After that its easy just boot to twrp wipe everything expect internal storage/SD. Card/otg

Go back to twrp menu and flash naosp 8.1 and then flash gapps and for the gapps download gapps for arm 8.1!!

And i recommend you to use the pico one

And after installing every its will show you 2 sections

Go and press wipe cache davilk and then you are done.

---------- Post added at 09:02 AM ---------- Previous post was at 08:58 AM ----------

You need to merge partitions /data and /sdcard (already done if you come from nAOSP 6.0 or 7.x).

Please, read the 6.0 procedure to flash this ROM.
[Sony Xperia S, Acro S, Ion] Alex2369:
Hi.

I have Xperia S phone. after flashing 8.1 nAOSP rom I can't see my SD card(25.00GB), plus how can I merge data and SD card partition, please?

much obliged
[Sony Xperia S, Acro S, Ion] Bloody bk:
Read the upper post that I posted
[Sony Xperia S, Acro S, Ion] haktug:
I will make a video about this.
[Sony Xperia S, Acro S, Ion] Alex2369:
Hi.

After flashing 5.1 or 6.0 nAOSProm I can't sign in to my Google account Because of Google account setup crashes.

Also, how can I disable setup wizard?

I understood that nAOSP 8.1 rom has a shutdown problem. It takes 5 minutes to shut down completely.

how can I solve these problems?

Much obliged.
[Sony Xperia S, Acro S, Ion] ivanovich23:
Hi, I tried to go from TWRP 2.8.7.0 to TWRP 3.2.3, but mistakenly installed TWRP 3.2.3.img in boot instead of recovery. And now it only turns on in revovery mode. Is there any way to fix this? I had android 5.1.1 installed. Thanks.
[Sony Xperia S, Acro S, Ion] ashrafonlinenow:
just extract boot.img from the rom and copy to sd and from TWRP install it to boot and install TWRP 3.2.3 to revovery ;)

https://xdaforums.com/xperia-s/twrp-recovery-to-fota-partition-guide-t3258821
[Sony Xperia S, Acro S, Ion] diskrisk:
hi, everytime when I restart the phone every installed app are gone.

Please advise what I have to do to resolve this.

Thank you,

diskrisk
[Sony Xperia S, Acro S, Ion] haktug:
which version did you install?
[Sony Xperia S, Acro S, Ion] diskrisk:
First the 8.0b7 (where the issue already have) after b11.
[Sony Xperia S, Acro S, Ion] wladiher:
hello good afternoon what bugs does the rom have? I want to update my xperia SL26i that has android 4.1.2
[Sony Xperia S, Acro S, Ion] haktug:
re clean flash + boot system format sd card + root +twrp + You need to merge partitions /data and /sdcard and rom etc
[Sony Xperia S, Acro S, Ion] rasoooli:
Hi

I'm in nAOSProm-8.1.0-b05-nozomi version

after fuul battery dran , when i connect charger to my phone, red led notification will be on, but nothing happen, in 5-10 later sony logo appear and blink every 20 secend and this cycle repeat and repeat.

and nothing happend

what can i do?

.
[Sony Xperia S, Acro S, Ion] mirhl:
It's the usual total discharging nuisance.

Just boot into recovery as soon as the phone quits red light, and charge to 20% from there.
[Sony Xperia S, Acro S, Ion] haktug:
What happens to this rom of Drm Keys restore? İf it happens how do I relock bootloader and restore DRM keys?
[Sony Xperia S, Acro S, Ion] haktug:
could you help me pls millosr? I have a few questions for you
[Sony Xperia S, Acro S, Ion] yorks.yang:
10-21 17:15:56.821 1913 1933 E AndroidRuntime: FATAL EXCEPTION: launcher-loader

10-21 17:15:56.821 1913 1933 E AndroidRuntime: Process: com.android.launcher3, PID: 1913

10-21 17:15:56.821 1913 1933 E AndroidRuntime: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database

b11 version

Am I missing something ?

https://s1.ax1x.com/2020/10/21/BCO5AP.jpg

https://s1.ax1x.com/2020/10/21/BCOzNV.jpg

edit@20201022: After I reboot to twrp and wipe Dalvik && cache && data， now everything is ok.
[Sony Xperia S, Acro S, Ion] haktug:
Try to reinstall the system. You may have made a mistake during setup.
[Sony Xperia S, Acro S, Ion] yorks.yang:
thanks, I reboot to twrp and wipe Dalvik && cache && data， now everything is ok.
[Sony Xperia S, Acro S, Ion] haktug:
https://imgchr.com/i/BEaBQg

this system fast(60fps) but the system has many errors. (android 7.0 b6 f2fs)

https://imgchr.com/i/BEaWWT

the the system smooth and smooth but old and Instagram video uplod error exists. (android 7.1.2 b4 f2fs)

https://imgchr.com/i/BEdK7n

in the system very good but use of ram more than 7.1.2 and has not 60fps hw acceleration.(android 8.1 b11 f2fs)
[Sony Xperia S, Acro S, Ion] stark.czar:
Great work
[Sony Xperia S, Acro S, Ion] stark.czar:
OKay
[Sony Xperia S, Acro S, Ion] stark.czar:
I found a solution for the force closes problem in Setup Wizard!

I downloaded open_gapps-arm-8.1-micro and delete "search-arm.tar.lz" from the "GApps" folder in a downloaded zip file and then flashed it involve ROM, Setup Wizard runs completely without any problem.
[Sony Xperia S, Acro S, Ion] haktug:
which version android system do you use and Is the phone slow with Micro?
[Sony Xperia S, Acro S, Ion] stark.czar:
Android 8.1, no phone is stable and quick
[Sony Xperia S, Acro S, Ion] haktug:
i am trying to say that which version do you use (b11,b10,b9...etc).

The song sounds intermittent when I turn the screen off and listen to the song in the Youtube Vanced application.

The loudspeaker and handset volume during a call is very low but while listening to music, it is loud when listening to voicemail over the handset on whatsapp.

how can i fix this?

Happy New Year ☺
[Sony Xperia S, Acro S, Ion] djibe89:
Hello everyone, we agree that there is no problem when using ADB from Windows and vanilla partition 15 shows:

/dev/block/mmcblk0p15 108481 954240 27064320 c Win95 FAT32 (LBA)

I can use fsutil like if it was a Linux partition ?

Thanks for your help.
[Sony Xperia S, Acro S, Ion] djibe89:
Yes I could.

Everything went out easily.
[Sony Xperia S, Acro S, Ion] djibe89:
Hi, flashing Bootbridge, Magisk 21.4, BootResore, I cannot turn phone off.

Every time phone restarts !

Noone has this bug ?

I give up with Magisk.

Awesome ROM in 2021
[Sony Xperia S, Acro S, Ion] K9100ii:
Yes, I have it, too. Unfortunately, I don't think @millosr will do anything about it, as the built in superuser is described to be "preferred".... despite evidently being a worse solution than Magisk. I just boot into TWRP when it reboots and power my phone off from there as a workaround.
[Sony Xperia S, Acro S, Ion] TXUTXI72:
Hi! Thank you very much for this awesome rom.

Please, can anyone tell me if the Picture in Picture mode works when trying to play a youtube video in whatsapp? In my case the picture is absolutely green. I can hear the audio of the video though. Thanks!
[Sony Xperia S, Acro S, Ion] Leonyau:
me too

only can play youtube in apps

however its super slow after installed the GAPPS
[Sony Xperia S, Acro S, Ion] haktug:
It's also slow for me after installing Gapps. I think the rom is the problem and probably rom use lineageos kernel. @millosr I Build android 10 rom for Xperia S. What are the steps I need to follow? Can you enlighten me?
[Sony Xperia S, Acro S, Ion] ichrin:
Maybe you can install magisk and use the module named MicroG to alternative to gapps. MicroG is lighter and faster, I had already used it for a year.

Can you show more about building AOSP for Xperia S?
[Sony Xperia S, Acro S, Ion] haktug:
Unable to install magisk on this ROM.
[Sony Xperia S, Acro S, Ion] ichrin:
If you can't install the magisk, you can still install microG in other way. Boot into TWRP, unzip the zip file , mount /system and copy the "system" folder in the zip file to "/".

File on MEGA

mega.nz
[Sony Xperia S, Acro S, Ion] haktug:
it didn't work
[Sony Xperia S, Acro S, Ion] badcodelab:
has anyone ever passed safetynet test on b10/b11?
[Sony Xperia S, Acro S, Ion] ichrin:
I've tried it, but it didn't work.
[Sony Xperia S, Acro S, Ion] Geert G:
Also I muss say: Excellent work [MENTION=6754437]millosr[/MENTION]

After [MENTION=6043081]mickybart[/MENTION] step out this project, I'm glad you didn't and continue the developing.

Flash now 2 Xperia S phones with 8.1b03, and I muss say........It runs great for this old fella.

Keep in mind...... a lot people don't react, but still looking on the background.

Te download meter rise up, slowly, that means......people come back after the impasse.....

Yes, keep going...........my dear friend.

I still use this phone daily, since 2012,

Decent hardware, no breakdown, till yet.

Cheers, from the Netherlands,

Geert G