yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] Vikingr87:
Main phone bricked?? Whaaat?! I'm sorry for you.. Hard or soft?! :p

I only also once hard-bricked a phone, because of a wrong TWRP of the dev. for the phone. First soft-bricked (TWRP bootloop), then hard-bricked. Lol. (Lenove K3 Note) Got still no idea how to restore, because mainboard pins aren't labeled... :(

Going to try the Beta later... =)
[Galaxy S Plus I9001 Android Development] outofmemory13:
Soft-bricked. Erased EMMC :silly:

Most phones has UART pins.(labeled or not) The most weird thing, that these are not enabled anyway... In some phones you can enable UART mode by pressing some key combination during boot.

Still can't figure out how TWRP can hard-brick device :eek: PM me. If that's true - unbricking should be easy.
[Galaxy S Plus I9001 Android Development] tuxolinux:
Hi,

Thank you very much for your work, this must be a real effort to have the latest Android work on fellow i9001.

Well I still use my i9001 without G-Apps running Android 4.4.4 and everything is fine with F-Droid and Aptoide. I don't need another phone ;)

How would you say your build fares regarding memory, C/GPU usage and else? Is there room for good prospects of an everyday use?

Thanks a lot again!

Chris
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Can't set SELinux to enforce on 10.05.2018, instantly freezes the system. Is it just me?

[MENTION=9149866]tuxolinux[/MENTION]

CPU frequency scaling, deep sleep and memory/swap management is fine. For example, I don't have any problems with firefox (+ublock origin), which needs up to 150 MiB ram.
[Galaxy S Plus I9001 Android Development] outofmemory13:
It's time to focus development on nougat. What rom should I build? (except RROS ;) )

I'll never fix SELinux. Almost every denial is fixed - still rebooting or freezes. I don't know really what is going on.
[Galaxy S Plus I9001 Android Development] Beta123MAX:
I must say, I've used CM/LOS for years, but overall, I prefer SLIM now. So to name my preference: SLIM7:victory:

That's OK. I'm personally actually not keen on SELinux. Disable it even on my desktop install (due to some tempfs usage). Just a bit sad, that changing source on SR-Security won't work out. Anyway.:p
[Galaxy S Plus I9001 Android Development] Vikingr87:
Nope, it's DEAD!! And I got no idea what's UART etc. :silly: :p

The exact same way like the TS. There was definitely something wrong with the TWRP version of daniel_hk:

https://xdaforums.com/k3-note/help/...ick-future-t3629674/post75823374#post75823374

-----------

btw: What about latest Google Security Patches..??? IMO the most important part. 2nd most important is THEN all the new Android version stuff of MM, Nougat etc. - IMO.

Until now it runs really stable for me as backup phone.

Some switches and other things are still green (Accessibility - Services etc, Keyboard, Privacy Guard Shields, Location, Interface Quick Settings, Data Usage, Bluetooth, Wi-Fi, Memory use, TTS output). Some Ringtones are listed double. Apps started on boot - Opera Beta crashes settings.

PS: What is this about the horizontal pitch lines in "Open Camera" ?? It runs perfectly smooth on the S2 / i9100 (LOS 14.1), but on most other phones (like on my Xiaomi RN4 - LOS 15.1) only VERY slow. Do YOU know why?!

Twitch streams via Vortex App can't be loaded?!? (Was fine on CM 11 before.)
[Galaxy S Plus I9001 Android Development] outofmemory13:
Security patches are useless since we have permissive SELinux. I'm working on fix, but at this moment - nothing.

In MM changing global accent color does what you see. Settings has hardcoded color values for these switches. I have to fix it manually.

Two vendor libs from stock are not working since lollipop. That's why decoding HD videos, recording in HD not working well. Sometimes even camera-preview is buggy.

Can you send me logcat when app crash or something? :o
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Thanks for the new build and applying (most) security patches.

Meanwhile I've got a suggestion for a service, that might be removed. It's "cell broadcast". Running all the time an eating some cpu/ram.

While the idea behind cell broadcast is good, it's only used in a few countries. Even if we had users from those, the feature is untested and so unreliable in emergency cases.

So overall I see no or very little benefit.
[Galaxy S Plus I9001 Android Development] outofmemory13:
I'll check that. Also FM-Radio service is totally unnecessary. It'll be removed soon.

btw. I've just uploaded(replaced) new build with contains Ambient Display :o

#Edit:

720p Video Recording working on Footej Camera :p
[Galaxy S Plus I9001 Android Development] FirePower36v:
I've noticed a thing that seems weird... i've used the phone till it powered off with battery at 0%. After i've connected the charger without booting it, the phone became very very hot specially in the area where the cpu is located so i've disconnected it from the charger. After letting it cool down, it had almost 50% battery charged, so i've reconnected it to the charger and continued the charge without overheating till 100%.

I've also tried to charging it another time but with the phone turned on the whole time, it went from 5% to 100% without interruption and the phone was a little warm, but not so much overheated like the first time.
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Offline charging up to 100% works for me without heat problem, but I did never start with a fully drained battery.
[Galaxy S Plus I9001 Android Development] FirePower36v:
Do you use a specific charger? I am using an old LG charger because i've buyed this phone used and without original charger
[Galaxy S Plus I9001 Android Development] outofmemory13:
It doesn't matter. It's a known bug in 'offline-charge mode'... from now. I don't know why it happens, yet :(
[Galaxy S Plus I9001 Android Development] FirePower36v:
Ok, so no problem! I was worrying about that my battery or charger were faulty. Thanks for the answers
[Galaxy S Plus I9001 Android Development] Lelonio:
Tried flashing latest beta but the phone turns off in the middle of the flashing...
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Well, flashing worked for several users. So no general bug, I guess.

Did you follow all instructions in OP closely? Checked F2FS for data partition?

I would suggest to look into TWRP log after recovery boot-up as next option:

http://rootzwiki.com/topic/24120-how-to-get-a-log-from-twrp/

This could give some clue.

If there's nothing wrong, you might try to format all partitions from scratch. Maybe something wrong with the filesystem on a partition.

BTW: From what ROM are you coming?
[Galaxy S Plus I9001 Android Development] Lelonio:
I was coming from the previous beta and i followed all the instructions..
[Galaxy S Plus I9001 Android Development] outofmemory13:
Check 'cat /proc/last_kmsg' through ADB. If you have AMSS/SMEM/SMD error - flash old TWRP(2.8)
[Galaxy S Plus I9001 Android Development] Beta123MAX:
I noticed a possible regression in 15.05.18 build. Can't get the compass to work properly anymore. Directions are unstable and jumpy even after doing the calibration movements several times.:confused:

It worked properly before. Maybe some side effect of the HAL sensor fixes.

I think it's OK to leave this minor issue as is for the moment.
[Galaxy S Plus I9001 Android Development] Beta123MAX:
I noticed freedreno:

https://github.com/freedreno/freedreno/wiki

https://github.com/robclark/device_freedreno

Are there any options to use this to have working GPU drivers for Oreo? My guess: Kernel 3.4 too old for usage.
[Galaxy S Plus I9001 Android Development] outofmemory13:
The only thing I need is snapdragon device, which was shipped with 2.3 or 4.0(ICS) that running oreo :o That would speed up development for sure

Fredreno has weak support for A205, so it's probably waste of time
[Galaxy S Plus I9001 Android Development] ze7zez:
Three Sony Xperia T/TX/V models with Snapdragon had Android ICS at the beginning.

Sources for Oreo can be found in the thread:

AOSP Oreo for Xperia T/TX/V
[Galaxy S Plus I9001 Android Development] outofmemory13:
Thanks!

AdrianDC did awesome work on msm devices. All bionic hacks from T, V, SP to run old vendor binaries are working also on msm7x30, so I only have to fix graphics, then it should boot up(I think).. Maybe there's possibility to use some hacks from RPi B/B+(CPU 'framebuffer') - to check if there are other issues. It's not my priority atm - I need to finish nougat first. Probably today will be ready to test :)
[Galaxy S Plus I9001 Android Development] omniaholic:
Nice, nice, nice man. You did it, yes man, you did it! I mean whoooooohooooo nice, you did it ?.

It work Like a charm. Hopefully we see more from you. I was so happy to see new news to our old device. Thank you and greetings from germany
[Galaxy S Plus I9001 Android Development] wilmsn:
First thanks for this nice ROM, unbelievable that Android 6 is running on this old device. It works fluently and lasts for about 10 days in airplanmode and very little usage only.

But i got a problem with bluetooth, can switch it on but it does not activate. Does anyone of you got bluetooth working?

Edit: After reinstalling the ROM and waiting after switching BT on it works .... great :laugh:
[Galaxy S Plus I9001 Android Development] outofmemory13:
LineageOS 14.1 is ready

I'm informing that LOS 14.1 based on nougat is ready to test (new thread) :D

The support for this rom is still active, so I'll keep updating/fixing issues.

For me BT is working, but I have also that issue sometimes - try to enable it from Quick settings or just try again. If still not working - send me logcat
[Galaxy S Plus I9001 Android Development] Beta123MAX:
While mobile data is broken on 7.1.2, I'll stay with Slim6. So the further support is much appreciated. As I don't have suitable WiFi over day options, mobile data is important for my use cases and so comprehensive testing.

BTW, really like the Slim soft keys.:p

Here, too. No facy stuff, just a BT mini speaker, connects fine. Sometimes needs two tries, as after first activation no devices are found (might be related to the BT device).
[Galaxy S Plus I9001 Android Development] ze7zez:
Your tests are really very interesting but elitist.

I think that many i9001 fans would be delighted if you could refresh CM 11 for our i9001, i.e. build LineageOS 11.

On the XDA forum there are many examples of LineageOS operating even on hardware with 512 MB RAM.

What do you think?
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Mhm, I think, why bother with old stuff when MM runs fine, even on high ram load (firefox)? I'm confident, there's a solution for the sensor glitches...

New apps and major app makeovers often require LP these days. KK will fade away from relevance soon, I guess.

I'm very curious what's possible with nougat. State seems OK for a first build.:cowboy:

Just my point of view.:silly:
[Galaxy S Plus I9001 Android Development] outofmemory13:
Sensors fix is on the way.. The only thing I had to do... is service which restarting HAL every wake.. Sound easy, but still can't figure out why it took me month... :silly:

MM/N can be even faster, but Every UI element needs to be rendered two times(at least) before it's smooth... (OpenGL bug) This is the main issue, which stopping me from giving away stable version.

I can build KK with my optimizations, but probably not at this moment. I have only 10GB space on disk left
[Galaxy S Plus I9001 Android Development] ze7zez:
If only the disk capacity limits you, you can use "Donate to me".
[Galaxy S Plus I9001 Android Development] outofmemory13:
New build is up! :D

Updated kernel to 3.4.113-stable EOL

Added support for f2fs cache partition - everything seems to be faster, so..

Download: HERE
[Galaxy S Plus I9001 Android Development] Beta123MAX:
f2fs, one exception from the rule, that Samsung can't do software.:p

Downloading...
[Galaxy S Plus I9001 Android Development] outofmemory13:
Just found this:

https://github.com/Evervolv/android_device_hp_tenderloin-common/tree/o-8.1

Adreno 200? Scorpion CPU? Sounds familiar :victory:
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Good detective work, Sherlock.:highfive:

And LOL, HP named the device "Touchpad".:D
[Galaxy S Plus I9001 Android Development] outofmemory13:
New Update

Changelog 06.06.2018:

Optimized graphics (no more hwcomposer OOM)

Compiled with O3, Os flag (GCC optimizations)

Kernel compiled with archidroid toolchain 4.9 with my cortex-a8 neon configuration

Added necessary permissions for Gapps (just in case you want kill your device :silly:)

Removed aptoide, Ariesparts, Terminal

Changed default browser to LineageOS Jelly

Faster app launching

Changed default system font to Google Product Sans (from oreo)

This build should be much faster, but due to O3 flag build is a bit larger, which results with weird memory usage sometimes. Os flag (optimized for size) makes builds smaller, but somehow way slower, so...

Download: HERE

EDIT:

Ultra Slim Gapps (Removed all unused, heavy apps - 50MB): DOWNLOAD

Instructions:

1. Flash rom

2. Flash Ultra Slim gapps

3. Reboot

4. Booting will take about 25 minutes, so... get a cup of tea.

5. Login to G-Account

6. Reboot device.

7. Done! :D
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Cool compiler optimizations.:good: Let's see what O3 can do.
[Galaxy S Plus I9001 Android Development] outofmemory13:
Can someone recommend good CPU governor? ondemand is really old(phii... even Google said that it's outdated and not recommended)... and causes overheating in easy tasks.

I've even added copper plate with thermal paste to CPU :silly:

btw. After few hours of using... I didn't noticed any performance loss because of gapps... so it's safe to install.
[Galaxy S Plus I9001 Android Development] Beta123MAX:
To be honest, all those fancy governors are not that well tested. Here's a nice list:

http://ajgupta.github.io/android/2015/01/28/CPU-and-GPU-governors/

(see also "Here are some CPU Governors I recommend...")

I had SmartassV2 running some time ago, as it was all the rage. But didn't see a improvement compared with ondemand. Yes, wasn't bad. SmartassH3 is a derivative, that sounds interesting (didn't use it).

Ondemand is part of kernel mainline and well tested and (for me) balanced. I'm fine with the scaling on the S+ (even more with the new o3 build). I guess, all of us, running a linux desktop, will also have the "outdated" ondemand.

Ondemand has options to tweak it:

https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt

If I get it right, the sampling_down_factor can be used to scale down more aggressively. Maybe worth a try.

There's also the low voltage option to reduce heat/drain:

https://xdaforums.com/galaxy-s-i900...1-0-lp-5-1-t3098587/post60490117#post60490117

(I had problems with ultra low voltage here, but low is known to be fine on all devices and was included in some roms as default).
[Galaxy S Plus I9001 Android Development] FirePower36v:
Among the governor that are included in this kernel, now i am using interactive for cpu and noop for i/o scheduler. Anyway, also I (like Beta123MAX) was using smartassV2 some time ago, with fiops for i/o sheduler.
[Galaxy S Plus I9001 Android Development] outofmemory13:
Ok... Quick update:

Flash my

very experimental

boot image

I'll add more governors later :o

#Edit: min CPU freq. is set to 245MHz by mistake... sorry
[Galaxy S Plus I9001 Android Development] FirePower36v:
Great!

I've just flashed this and enabled smartassV2, (my cpu frequencies are min 122mhz and max 1401 mhz) and noop for i/o, till now it seems performing very good. If i encounter some problems, i will let you know.

P.S. : Did you also set a lower minimum brightness?
[Galaxy S Plus I9001 Android Development] outofmemory13:
Yeah.. Finally I can look at screen at night :D
[Galaxy S Plus I9001 Android Development] FirePower36v:
A few posts ago I asked if it was possible to add it ... so thank you for adding it!
[Galaxy S Plus I9001 Android Development] outofmemory13:
New (small) Update

Changelog 07.06.2018:

- Fixed adoptable storage (SD Card class 10 recommended)

- Updated boot logo to match new samsung desing

[IMG="boot logo"]https://i.imgur.com/D33iGh4.png[/IMG]

- Added new features to kernel (same as in boot image I sent before)

- Reduced default max CPU freq. Now is set to 1555MHz (more stable)

- Fixed OOM when accepting SIM PIN

- Applied May, June security patches (without bluetooth fixes) :cool:

Issues:

- Sometimes hardware buttons are not working (it happened only once in my case, so... I don't know if it's real issue)

Due to small changes... dirty flash shouldn't affect anything... but wipe cache, dalvik cache anyway.

Download: HERE
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Just some feedback about yesterday's build.

Didn't face issues due to slightly increased memory usage. I also think, I can confirm lower cpu usage for kernel and android system. So O3 build option looks good to me.:D

Edit:

"Powered by Android": Do we need to apply the Android OEM licensing terms? :p

https://arstechnica.com/gadgets/201...sing-terms-leak-open-comes-with-restrictions/
[Galaxy S Plus I9001 Android Development] Beta123MAX:
It's not urgent, but what about a state cleanup of the OP post? Especially the "not tested" part. I would suggest:

"RIL (tested parially)"

remove from not tested (already correctly stated as working including data)

"GPS"

I had no luck with GPS, never got a location, even after several minutes wait. So I assume to move it to "not working". If anybody has other results, please note if and how they can be produced.

"GAPPS"

Move to working now, I assume (I personally don't use it).

"Sensors"

Maybe moving to working, but still buggy, due to wake-up issue.
[Galaxy S Plus I9001 Android Development] outofmemory13:
Yeah, needs cleanup... but not today I guess...

I'm fighting with booting O :D
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Yeah, not any need to rush.

I wish a good fight with Ubuntu on your side.:cowboy:
[Galaxy S Plus I9001 Android Development] wangenau:
Hey, thanks for your work on this old device! I really like the bootsplash you made and since i build my own rom for this device i wanted to ask you if i am allowed to use this one? Because eventually i would release my lineageos 11 build in the future. :)
[Galaxy S Plus I9001 Android Development] outofmemory13:
Feel free to use it - Just copy ARIESVE.rle from root dir.

btw. welcome to dev family :cowboy:
[Galaxy S Plus I9001 Android Development] outofmemory13:
First stable build

Changelog 16.06.2018:

- Fixed sensor issue (finally! ALL sensors are working, w/o deep sleep bug :victory: )

- Changed screen color temperature (Checked on few SGS+ devices - looks better)

- Reduced boot time (~8 sec.)

- Fixed offline-charge overheating

- Replaced ugly AOSP charger with better one

- Changed O3 flag to Os... & built with -mfpu=neon-vfpv3

- Replaced old rild with AOSP rild

- Disabled compression on zRAM

- Reduced zRAM to 64MB

- Fixed WiFi Tethering

- Added missing GPS config (I have broken GPS, so I can't test it)

- Re-enabled CPU+GPU rendering

DOWNLOAD: HERE
[Galaxy S Plus I9001 Android Development] FirePower36v:
Thank you for the update, the phone seems more smooth and fast compared to previous build!

I also have tested GPS with the app called "GPS Test" (without sim card) and it's working; i would say that the GPS bug it's fixed. :D
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Awesome! Will test tomorrow.

BTW, I started testing this simplified and highly optimized AOSP keyboard fork today (via F-Droid):

https://github.com/rkkr/simple-keyboard

Memory results are great so far. Just 4...8 MB instead 20...30 MB with standard AOSP! Will check it a little longer.
[Galaxy S Plus I9001 Android Development] Beta123MAX:
I can also confirm, that GPS works.:good: Tried OSM (web) and got exact positions, while nothing happened running earlier builds. Can be stated working in the OP, I guess. Also great to see sensor wake-up working.

The reduced zram seems to be fine. Firefox, which need up to 200 MB ram, didn't get in trouble.:cool: Matter of taste, but I think, compression wouldn't harm performance with those little amount of zram.

I'm a bit confused about the patch level tag June, 5th 2017. The SR security patches till June 2018, that could be applied, are still in, right?:confused:

I expected this a part of the sensor issue, but it seems not:

The magnetic sensor is working, but keeps behaving strangely. Instead showing a somewhat constant the north direction, north moves with the device, when doing a cycle.:eek: Tried the calibration movements several times without any improvement.
[Galaxy S Plus I9001 Android Development] outofmemory13:
So... the only thing that's not working at all... is FM Radio :good:

I'm not using SlimRoms Security. All security patches are applied manually.

I don't know what happened to magnetic sensor - RAW data is correct..

If you check exactly what's going on while testing you will see that two sensors are working at the same time(accelerometer & magnetic) - That's kinda strange.

#EDIT: Magnetic sensor was not specified... I'll release new build soon

#EDIT2: New build (fixed magnetic sensor, improved wifi connection speed): Download
[Galaxy S Plus I9001 Android Development] outofmemory13:
Since there's nothing to do (for now)... I started porting roms from similar devices (eg. Xperia SP)

Maybe I'll release flashable zip(or rom), which will transform our SGS+ to Xperia XZ :cool:

Sony SystemUI still not working, but fixing shouldn't be hard.

[IMG="img1"]https://i.imgur.com/HutOeYN.png[/IMG]

[IMG="img2"]https://i.imgur.com/UOUHZYX.png[/IMG]

[IMG="img3"]https://i.imgur.com/t93R09J.png[/IMG]

[IMG="img4"]https://i.imgur.com/TFxNAFB.png[/IMG]
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Stylish UI, but resource eating, I would guess?:confused:

Hopefully, the settings background isn't fixed to white color.:p
[Galaxy S Plus I9001 Android Development] FirePower36v:
Great, if you'll release this rom I surely will try it because I love the Xperia UI.:)

Anyway, is it possible to get something different, like MIUI 9?
[Galaxy S Plus I9001 Android Development] outofmemory13:
Wrong. Somehow it's much faster than AOSP :eek:

95% of Sony apps are working, but SystemUI gets killed because it can't find custom checkbox class in framework-res. That's the only error I got.

There's no MIUI 9 Patchrom... all MIUI pathroms are EOL.

MIUI 8 gets stuck on bootanimation - libart crashing :rolleyes:
[Galaxy S Plus I9001 Android Development] Beta123MAX:
I've investigated and reproduced this (with 17.06.2018 build) upgrade and also fully clean install (sys/cache/data recreated with mkfs).

This issue affects only the soft hardware buttons (menu and back). It always happens during boot and till first sleep (no reaction, not even light-up). After wake-up from first deep everything is and stays fine. I didn't even notice this glitch during normal usage, as I've got the SLIM soft buttons active.:p

Due to these facts (working after first wake-up, soft button available), I consider this really as a tiny glitch.

Additionally, I would like to request "double tap to wake" as kernel feature, if it's not too much effort. Waking the device that way is just cool.:cool:

Last, but no least, some extra changelog about the 17.06.2018 build:

:good: f-droid client added (update possible, if a new version is released)

:good: lightweight "simple keyboard" (AOSP keyboard fork) included as system default keyboard
[Galaxy S Plus I9001 Android Development] outofmemory13:
HW Buttons bug will be fixed in next build.

DT2W - It'll not work well

1. Battery drain

2. Random wake-ups (related to ghost touches)

3. Double tap works only on left corner (idk why :silly:)

I'll update OP soon. 17.06.2018 build will be removed anyway.

New update will be tomorrow, so...
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Considering this information: Agree, not a suitable option. But thanks for testing it.

Was really just some info for the other users, not an OP update reminder.:o