yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Registered today just to say thanks here. Great project.

I'm still using the I9001 with christopher83's LP5.1, which runs rather good (of course without Google apps).

Considering a test install, I've got few questions.

There's currently no camera included, so even taking pictures isn't possible (don't mind about videos)?

About failing sensors after some time. Even basic stuff like accelerometer/gyroscope?

I'm a bit confused about the zram/swap setting off 512MB (as LP5.1 used 128). Is it for testing or does 6.0.1 require (that) much more ram?
[Galaxy S Plus I9001 Android Development] outofmemory13:
Thanks! :)

Camera is not working at all.. problems with codecs, but I'll fix that soon. :)

Yes, zRAM is for testing at this moment... but somehow it fixes 'bootloop' after installing gapps(pico).. with 128MB it taking forever (about 5+ hours) - with 256+ it's about 10/15 minutes.

There's also issue with keyboard after installing gapps, so I don't recommend installing them yet.

Sensors are working for me till now, but it's very unstable. And yes - all sensors are failing.

Hmm.. ;)

I'm working also on oreo, but I can't fix graphics, so probably i'll give up.
[Galaxy S Plus I9001 Android Development] Vikingr87:
Uhhh. Nice one. :D

But please don't give up... :-/ :crying:

What about a GO Version?

( Recently I had a S2 / i9100 as Backup Smartphone for my mom, and found someone developt a WIP GO Version of LOS 15.1 - https://0cn.de/i9100Oreo. Therefore I'm askin'.)
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Thanks for the details.:)

I'll definitely join testing, but would like to wait for (maybe limited) camera support.
[Galaxy S Plus I9001 Android Development] outofmemory13:
Go version will be even mandatory.. Firstly I need working graphics, then everything will be easier.

No problem :) I'm working on fix right now.
[Galaxy S Plus I9001 Android Development] Vikingr87:
Now I had time to also install it. BUT, after installing newest TWRP Version and wiping everything, all I got in result (v2 from 27.04) is a black screen (I mean black, as if it were off) with always on bright shining touch keys. Do I have to wait a long time or is definitly something wrong..!?:eek::confused:
[Galaxy S Plus I9001 Android Development] outofmemory13:
reboot the device manually after flashing rom
[Galaxy S Plus I9001 Android Development] Vikingr87:
Ahhh....:D:o So, yep, works. PS: Thanks for the blue. I also don't like this green. :)
[Galaxy S Plus I9001 Android Development] FirePower36v:
Hello, i think that i've found a bug. I've enabled root access for apps and ADB in "developers options", the apps that requires root are working but when i try to enter in the menu "Superuser" in settings, the settings crash.
[Galaxy S Plus I9001 Android Development] outofmemory13:
Thanks! I'll fix that in next build
[Galaxy S Plus I9001 Android Development] Vikingr87:
Where's the download link for v3??? o.O

Edit: Ah, sorry. saw too late. Still uploading. Sorry. ^^
[Galaxy S Plus I9001 Android Development] outofmemory13:
I had small problems with camera, but the build is finally up ;)

Camera is working - taking pictures, video recording(720p needs some work).

On stock camera autofocus is not working well.

Sensors are working without any problem.

The SuperSU is probably still crashing.

Download: LINK
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Good, Camera did stand a first short test.:o

Problem (just?) here:

How do I put app links from "all apps" menu to the home screen? On CM this was touch+hold app and it switched to the home screen?:confused:

(OK: I used side-by-side-layout for "all apps", works with default vertical layout)

Found three strange things:

1) Settings > Memory/Ram > Show Apps, that are started at boot

crashes settings here

2) CPU frequency distribution via CPU-Spy shows 368, 245 and 122 Mhz totally unused on my device (not a single sec!). So CPU goes just down to 768 Mhz. CPU governor problem, maybe? "On demand" worked well with LP5.1 (was default).

But good thing in the department: Deep sleep working!:good:

3) Overclocking to 1824 Mhz by default. Intended?
[Galaxy S Plus I9001 Android Development] outofmemory13:
1. Weird. I'll fix that soon. Maybe next build.

2. I'll check that.

3. Yes, it's overclocked, but shouldn't - my bad - I'm working on nougat and I've put nougat kernel to MM...

Thanks for reporting bugs! :good:
[Galaxy S Plus I9001 Android Development] outofmemory13:
Yeah, scorpion.. with some modifications.

LineageOS is barely working on this device.

Even clean AOSP... That's why I've made L-AOSP.. only for msm7x30.

Cons:

- All animations are not smooth as should

- Audio sometime is not working

- Installing apps results (happended few times) with soft reboot

- Using too much memory (220MB without any app runnning)

Pros:

- Enforcing Selinux is fully supported (90%)

- Pre-rooted
[Galaxy S Plus I9001 Android Development] mat1371:
Is it possible for you to share your modified sources/commits? or have a build for Galaxy W (of course if you have the time for it)?
[Galaxy S Plus I9001 Android Development] outofmemory13:
I'll try to build, but as I know - the camera or sensors may not work on Galaxy W.

I'll send you pm when done.
[Galaxy S Plus I9001 Android Development] outofmemory13:
21.10.2018 Update (AOSP)

Hi

I'm informing that...

Starting from build 21.10.2018 the security patches are incomplete.

Android dropped support for AOSP 6.0.X which means that all further updates may be less secure.

I'm using now LineageOS security patches, which were backported from newer versions of android.

- Patches for bluetooth are not included.

* It's still highly recommended to install the most up to date build *
[Galaxy S Plus I9001 Android Development] Beta123MAX:
By far better than everything else. Thanks for your efforts.:good:

Due to EOL kernel there were already some unresolved issues. So, nothing scary for me.:cool:

Are you planning to do a updated/final SLIM6 build anymore?
[Galaxy S Plus I9001 Android Development] outofmemory13:
I did some tests with 3.10 kernel, but I just gave up with this.. I couldn't get any logs.. It got stuck at primary bootloader welcome message :cowboy:

It's really hard to merge all changes from L-AOSP to Slim6, so I think it's impossible at this time.

Even it'd be easier to merge all commits from slim6 to my codebase.

I'll keep releasing security updates to 5 march 2019, then I'll focus completely on my own prototype device (more info in 2019 :silly:)
[Galaxy S Plus I9001 Android Development] Beta123MAX:
The thing I miss compared with SLIM6 is AppOpps.

Just found this:

https://play.google.com/store/apps/details?id=rikka.appops

Switching permissions works unreliable on a trial and error base. And as a closed source root app without XDA thread it's not what I call trustworthy...

Is there any other known option?
[Galaxy S Plus I9001 Android Development] poilko:
getting an "zip is corrupt!" error in bootloader
[Galaxy S Plus I9001 Android Development] outofmemory13:
Check if file was downloaded correctly (link to latest build)
[Galaxy S Plus I9001 Android Development] xtremesystems:
how to change data partition to f2fs. twrp 2800 and 2810 has only ext4 . threre is no f2fs option to choose. rom works on ext4 too but i wanna change to f2fs
[Galaxy S Plus I9001 Android Development] poilko:
I tried twice with a fresh download each time. Phone started bootlooping this morning :\
[Galaxy S Plus I9001 Android Development] outofmemory13:
Then... I really don't know.

Probably you'll have to reflash stock firmware. Then flash TWRP, format cache, data to f2fs and just flash latest build.

Here's the right and working TWRP with F2FS support: http://www.mediafire.com/file/saq38....0_GT-I9001_Repartitioned_20150117_Signed.zip
[Galaxy S Plus I9001 Android Development] Beta123MAX:
The steps are noted in the faq:

https://xdaforums.com/showpost.php?p=48702541&postcount=2

There's one additional thing, f2fs of cache partition needs to be reverted to ext4 before installing "old" TWRP (if changed).
[Galaxy S Plus I9001 Android Development] poilko:
Its running so nice and smooth <3 thank you

Any chance to turn the touch key light back off? :cool:
[Galaxy S Plus I9001 Android Development] pkubus5:
lag during calls

Hello

I have problem with answering the phone. when somebody is calling me the call screen is apearing after a while, usually it is 40 or more seconds.

Any ideas how to get rid of the lag.

Thank you for the rom, for your hard work
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Well, due to very limited memory the phone app/GUI isn't kept in ram, if you don't use it very frequently. So it needs to be loaded, when a call comes in and, depending on current ram/cpu load, can take a while. There's little to nothing, that can be done about it. Keeping the call related stuff alive would block too much memory, I think around 40-50 MB. Maybe more zram + compression could help somehow here, but general performance would likely decrease.

That said, the call GUI should come up within 15 seconds worst case. Typically it should be more like 5 seconds.

So I consider the behavior, you reported, as non regular. Did you try it on a clean install (whipping sys/data/cache and no user apps installed)?
[Galaxy S Plus I9001 Android Development] FirePower36v:
Hello guys, i have a little problem but I don't know if it's related to the rom or to the phone hardware: when i connect my bluetooth headphones the device is connected correctly according to the bluetooth settings, but when i play any audio file (or video) the device uses its speaker. The buetooth headset works very well with every bluetooth device that i tried, even with smartphones older than the S Plus so i don't think that the problem it's related to the headphones.

If someone have a bluetooth headset, can try if it works?

Thanks!
[Galaxy S Plus I9001 Android Development] _TKr_:
Same problem but with "external speaker" made in P.R.C. ( which btw. say "bluetooth mode" after turning on). Generally only once in all test i have done i got any sound from it, and even that, after few seconds connection again lost with it.

So yes - there are some problems with bluetoth speakers/headphones
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Mmh, don't have a headset, but BT audio seems to be a problem. No audio with a BT mini speaker. Connection seems generally OK, as the battery state of the speaker is recognized.:confused:

Well, in my case a wired audio connection works, of course.
[Galaxy S Plus I9001 Android Development] poilko:
For me changing the govener to smartassV2 worked just fine. Its a little more edgy. Dont forget to set in startup

---------- Post added at 08:14 PM ---------- Previous post was at 08:11 PM ----------

Same here, stable connection but no option for "media autuio" in BT device settings
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Yes, can give some improvement in certain situations.

The behavior pkubus5 posted did indicate serious breakage. Well, he/she didn't answer.:eek:
[Galaxy S Plus I9001 Android Development] pkubus5:
Changing the the governor fixed this issue, sorry for not answering for a long time
[Galaxy S Plus I9001 Android Development] FirePower36v:
Sorry guys for not answering for months, but now I've finally found a solution!!!

I've searched inside system files, trying replacing BT libs and installing various Magisk modules for bluetooth enhancements but none of this solution fixed the issue... so I have taken a look inside build.prop and here i found the cause of this weird problem: there i've found a value named

"persist.service.bt.a2dp.sink=true".

It is bluetooth related so i searched the function of this value and i've found that if it is setted "true", the phone is configured to work like a BT speaker, if setted as "false" the phone is the bluetooth audio source fot the headset;

so i've changed this value as "false", rebooted and the phone started streaming audio through bluetooth perfectly!
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Good job.:good:

Can confirm it's working.
[Galaxy S Plus I9001 Android Development] MarkFalk:
Optimized AOSP Light-AOSP-Ariesve STABLE - Build 21.10.2018 (latest)

and

Slimroms SlimRoms-Ariesve STABLE - Build 16.06.2018

are running both on my I9001 sufficiently.

But:

After installing the pico-GAPPs for 6.0 (because I need Google Play et al) immediatley after flashing

- in SlimRoms-Ariesve STABLE - Build 16.06.2018 allways crashes the AOSP keyboard. So I can not setup the WiFi and w/o setting-up the WiFi I can not close the install-/setup-manager - there is no way to continue w/o setting-up

- in Optimized AOSP Light-AOSP-Ariesve STABLE - Build 21.10.2018 (latest) always crashes the setup-/install-manager: It appears the message, that I have to setup the phone and after touching "set up phone" the same message appears again and again and again ...

Any explanations and hints how to solve?
[Galaxy S Plus I9001 Android Development] Beta123MAX:
There's no need to install Gapps on Optimized AOSP to get the Playstore:

https://xdaforums.com/showpost.php?p=77047221&postcount=134

Most likely, a KK rom is the only suitable option to run Gapps. here's a Customized LineageOS 11.0:

https://xdaforums.com/galaxy-s-i900...t-i9001-customized-lineageos-11-0-06-t3813257
[Galaxy S Plus I9001 Android Development] MarkFalk:
Thanks for your answer.

MicroG ... never heared .... every day new thing to learn. Thanks for the hint, I will try to learn how to use it ...

Unfortunately Kikat is not useable for me, some Apps I need/use want Android 5 as minimum ... I had already tested CyanogenMod 11.0 ROM and so I know that it must be "more" than 4.4.4 .. :(
[Galaxy S Plus I9001 Android Development] MarkFalk:
I have tried to understand whatr to do with MicroG ... w/o success. Can I simply "install" MicroG and how to proeceed? Or do I need a special MicroG-lineageOS and

if so: what version? Maybe you can help me with some explanations ...
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Optimized AOSP already includes microG.

The dev outofmemory13 noted the activation steps here:

https://xdaforums.com/showpost.php?p=77001504&postcount=124
[Galaxy S Plus I9001 Android Development] juin:
thanks for your work
[Galaxy S Plus I9001 Android Development] eric19208:
Who can help me? Every time the machine is finished, restart is the interface....
[Galaxy S Plus I9001 Android Development] ams9:
Where is a link to the newest TWRP? I can't find...
[Galaxy S Plus I9001 Android Development] AFX3D:
I just can't format to f2fs... I use the TWRP 2.8.0.0 one.. Can anyone help me? It does not unmount filesystem and i cant format.. Thanks
[Galaxy S Plus I9001 Android Development] drunkenfool:
I get this error when I try to open playstore:

microg df-dferh-01

any solution?
[Galaxy S Plus I9001 Android Development] Labamba86:
Great firmware, thanks to everyone who took part in its creation
[Galaxy S Plus I9001 Android Development] BaLazS28235:
PLS Someone HELP i goting the Unsuccsesfull encription message when i boot up the rom! and i can't formate the data and the cache partition to F2FS (There are no F2FS Option When i tries to formate)
[Galaxy S Plus I9001 Android Development] biliolerkes:
for me it works flawless, if you are using TWRP 2.8.1.0 then don't format change cache&data to f2fs at the same time, try changing system format of data to f2fs first, hen do same thing with cache.
[Galaxy S Plus I9001 Android Development] biliolerkes:
Try these soulutions it will maybe work, but i wont recommend play store, use Aurora is probably better
[Galaxy S Plus I9001 Android Development] biliolerkes:
QUESTION: Will flashing GAPPS make the device a nice looking brick, like in Xperia UI?

EDIT: Yes they do
[Galaxy S Plus I9001 Android Development] Pietro_12:
For the GApps? I have downloaded the Nano package from the official website, but the keyboard doesn' t work. What can i do?
[Galaxy S Plus I9001 Android Development] ze7zez:
Try pico or litegapps.
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Oh dear.:silly:

No mobile data connection here (yes, switched on;)). Checked with two SIMs. Phone is registered in the network (UMTS) and I can call it, but data connection is not started. APN is OK.

Also changing the setting "preferred network type" is ignored. Strange.
[Galaxy S Plus I9001 Android Development] outofmemory13:
I'll send you tomorrow new build to test.

Seems that I've forget some patches from cm12.1 :silly:

https://github.com/CyanogenMod/andr...mmit/8dd84c2dcc51c4d4cd37e1b366ada1015949bc10
[Galaxy S Plus I9001 Android Development] Vikingr87:
Naaahhhh, default overclocking is fine IMO. Why not?! It's highly needed with this phone... :)

PS: Is it really necessary to report you the crashes here. Because I always think; "He's working on it, HE's the developer, so I guess he already knows it.." :o :D
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Sounds good.:cool: Mobile date connection is really vital stuff (for usage and further testing).

---------- Post added at 20:25 ---------- Previous post was at 20:18 ----------

Because it *may* cause hardly debug-able problems. My opinion: Who wants it and knows what he's doing, can put a script into init.d.

Developer's choice. He'll surely note, if there's too much or unneeded feedback.
[Galaxy S Plus I9001 Android Development] outofmemory13:
Governor interactive + overclocked CPU = you know

The development is still in alpha stage, so every reported crash, bug is very welcome

btw. I'm also human. Can't test everything in one day :cool:
[Galaxy S Plus I9001 Android Development] Beta123MAX:
This isn't on the topic now, but I'm wondering, if after rom stabilization applying newer security fixes might be possible without too much effort?

https://github.com/SlimRomsSecurity
[Galaxy S Plus I9001 Android Development] outofmemory13:
I'll switch base to SR-Security. There's no problem at all... except SELINUX.

I have to fix sepolicies to bring back enforcing mode.

https://github.com/omnirom/android_device_qcom_aosp-sepolicy/tree/android-6.0/common

These are working, but there's problem with permissions for rmt_storage, which is needed.. without it the device is totally unusable.

btw. I've just uploaded new build with mobile data fix. Let me know if it working (can't test, cuz I'm not at home :rolleyes:)
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Mobile data now connecting.:D

Transferring the install file I noticed, that MTP isn't working. Phone is visible as MTP capable, but during mount are no storage devices found. Bug or did I miss a stetting (found nothing in storage screen)?

Transferred the file in TWRP (which has working MTP). So no big issue.

Good night.

Edit:

Relating the bug in memory / "Apps running at boot" dialog I further noticed, that the AppOpsSummeryActivity generally crashes, when setting a direct link.
[Galaxy S Plus I9001 Android Development] outofmemory13:
The most weird thing about settings crashing, that all these ends with the same error. I've found a commit in Slimroms 7 that fixes it... :p

Also.. after changing rendering from cpu+gpu to gpu I'm able to play Minecraft PE at 25fps and few other 'light' games :silly:

And.. you were right. The weird CPU behavior was caused by interactive governor.
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Yeah, I remember some forum post, that claimed interactive to be broken on single core devices and google refusing to fix as there were no supported single core nexus device left at that time (probably just a rumor). Maybe we should try on demand (which is old, but therefor well tested and working on single core).

Looking forward to the settings candidate fix.:good:

The 512 MiB zram/swap doesn't work for me. Installed and tested some of my typical apps. Due to plenty of swap they stay in ram when inactive. Somewhere around 140...160 MiB swap usage the behavior becomes sluggish. Manually killing the inactive apps gets the system back on track. Would highly appreciate to have just 128 MiB swap in the next build. For installing Google apps maybe a install-able zip, which sets swap to 512 MiB (and back), would be a solution?

Will test firefox next, which needs some ram and also working gpu acceleration.
[Galaxy S Plus I9001 Android Development] outofmemory13:
So.. check new build :) Should be more stable.

btw. enforcing selinux is now supported - needs tests.
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Great improvement! Well done.:highfive:

|CPU

Sane frequency distribution, CPU clocks properly down. Deep sleep looks still OK.

|Settings

AppOps setup now working fine.:good: Only crash I found left is activity com.android.settings.UsbSettings (but choosing mode USB works via Dev-settings-page).

|MTP/Reboot

MPT mount now working fine. Reboot into system/recovery from system and system from recovery now do what expected. No more key combo for recovery.:o

|zram/swap

Seems OK. Stays below 100 MiB here, inactive apps are removed, when needed so far.

|mobile date

Works sable. Radio stream played without breakage.

Is there an option to setup vibration strength?

Edit:

Does the kernel support tap2wake?
[Galaxy S Plus I9001 Android Development] outofmemory13:
dt2w is not included, but I'll try to add it in final build.

I'll include also updated AriesParts, which is missing atm.

There's nothing to do in MM, so I'll focus on N, then oreo.

In oreo there's too much to do... probably nougat will be last version.
[Galaxy S Plus I9001 Android Development] Beta123MAX:
SELinux is still running permissive here. So I haven't tested it. Is this switchable by editing /etc/selinux/config like in linux?
[Galaxy S Plus I9001 Android Development] outofmemory13:
su

setenforce 1
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Sadly, no good news.

Enforcing breaks mobile data connection (SIM registering works) and reboot (black screen with lighting keys as we had before, poweroff works).

Edit:

... also no storage devices visible via MTP
[Galaxy S Plus I9001 Android Development] FirePower36v:
I don't know if requests are accepted, but it's possible to set lower minimum brightness level like in cm11 K^Kernel?
[Galaxy S Plus I9001 Android Development] outofmemory13:
any requests are welcome :)

rros 5.1 using also k^ kernel, so.. maybe I'll just update it to MM.

In few days... I'll upload first stable version, so probably new kernel will be included
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Some new info from testing (both with SELinux permissive):;)

I see some sensor issue still present. Fine after boot and for hours, if the device stays awake. But reboot => screen off (check, if device did really deep sleep) => accelerometer/gyroscope broken, screen orientation frozen

Can reproduce this in several tries. So I for me some wake-up issue or something in that department.

I don't get any SMS while mobile data is on. Very good to preproduce for me.

Switch on mobile+mobile_data => send SMS => nothing happens => switch off mobile_data => SMS coming in within seconds
[Galaxy S Plus I9001 Android Development] outofmemory13:
Can't find any usable crash, error about sensors. Restart script is working w/o problems, so that's really weird.

RIL can't be fixed. The only way is add another script, which will be disabling mobile data when REQUEST_SEND_SMS is called in SamsungRIL.

Try to get logcat. I'll check that.
[Galaxy S Plus I9001 Android Development] Beta123MAX:
Thanks for investigation. Re-checked the stuff.

Rebooting on "Enforcing" actually looks good after fresh boot. Looks like there was some weird system state on my side. Sorry.

Referring the rotation issue i've uploaded DMESG for:

boot > doing some screen rotation > deep sleep > trying some screen rotation

https://cloud.woelkli.com/s/bqaqLSJZmyWMePz/download

I see some denies that might be related ("surfaceflinger").

The RIL state is fine by me. This is just something to keep in mind.
[Galaxy S Plus I9001 Android Development] outofmemory13:
New build is up. First BETA :cool:

Changelog is on first post. Almost everything is stable & fast.

I've bricked my main phone, so.. guess what device I use :silly: