yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Android Development] Ruben8ap:
Hello [MENTION=5695278]ChronoMonochrome[/MENTION] , first of all for your dedication to update our Samsung Galaxy S3, on the other hand I have a doubt you have planned to continue developing this Rom of Android Pie 9.0. ?

Or plan to continue with the development of Android Oreo 8.1 ?

Thank you again for your time and dedication to the community :good: :)
[Galaxy S III Android Development] ChronoMonochrome:
I want to continue LineageOS 16.0 development, however I'm unsure whether the next release is any soon, as I want to focus on Oreo first.
[Galaxy S III Android Development] Psycho103:
Thank you so much for your hard work and time :)
[Galaxy S III Android Development] Switch123456789:
I'm just curious, why would you spend time on developing 15.1 if your next step afterwards is making it obsolete by developing 16. Maybe I miss something here, but that seems to be a huge waste of your valuable time.

Anyway, Thank you sir! I really appreciate your efforts! <3
[Galaxy S III Android Development] Scorpionea:
Most probably because most fixes he does on oreo will be incorporated into Pie and thus making pie much easier to develop
[Galaxy S III Android Development] Captain Kangaroo:
I9305 ?

To developers,

I stopped upgrading my SIII GT-I9305 with Nougat (LOS 14.1) with a full stable and functional device. I unsuccessfully tried some Oero's rom but found stability issues and not fully functional roms.

Now, I read the posts in this thread SIII I9300, I9305 but didn't found if this build (lineage-16.0-20181205-UNOFFICIAL-i9300.zip).

Can I flash this rom on my I9305 ? :confused: Tx
[Galaxy S III Android Development] rodman01:
There is currently no oreo rom for the i9305, and there is a separate section in this forum for i9305. Will say, no rom.zip for the i9300 will work on i9305. And in case there is no "security device check" in i9300 flash file and you install this on your i9305, it will be most probably bricked.
[Galaxy S III Android Development] Captain Kangaroo:
Thank you Allgäu, Clear to me :good: - I'll keep goin with my LOS 14.1!
[Galaxy S III Android Development] manushamil:
Will murata work on i9300 ? or semcosh will work ?
[Galaxy S III Android Development] SILELICA:
Of cors, working on smartphone I9300 murata and semcosh Wifi fix zip, plis intalling thish zip on your smartphone and goo.
[Galaxy S III Android Development] Mo3az_fathi11:
Wifi murata didn't work with me
[Galaxy S III Android Development] SILELICA:
Yes, Wifi Fix I930 Murata zip working on thish smartphone.
[Galaxy S III Android Development] manushamil:
Thanks murata worked just fine for me :D
[Galaxy S III Android Development] manushamil:
Can anyone compile the dailer app with proximity sensor disabled.I tried the one i had in 7.1.2 but it failed to work
[Galaxy S III Android Development] warism100:
can someone tell us how is battery backup in this

build, thnx for great work for this old device
[Galaxy S III Android Development] gedesby:
Wi-fi on hidden network works ???

I don't no what happend but my phone now connect to hidden network on my job??

Hurraaa
[Galaxy S III Android Development] lakamel:
hi

good work dev for info record video work in application footej camera
[Galaxy S III Android Development] curiousrom:
No More Official LineageOS 14.1 for S3 i9300 - Support Dropped!

More info: No More Official LineageOS 14.1 for S3 i9300 - Support Dropped!

***
[Galaxy S III Android Development] silvercloudad:
Well ChronoMonochrome I have installed this Rom... and wow, I must say you have just given life to my very old Samsung S3. Although this Rom contains bugs, but I am still finding it quite awesome. I just hope you consider fixing the bugs as this Rom is way too awesome. I can't even keep my hands away from my Samsung S3 now.

Thanks 2 u.
[Galaxy S III Android Development] irmas5:
Hey. How I can make screenshot on this rom? Thanks
[Galaxy S III Android Development] InTheY2K:
Press and hold Volume down and Power button simultaneously.
[Galaxy S III Android Development] Sobhan Mazaheri:
Screenshots does not work on this rom

I request Mr [MENTION=5695278]ChronoMonochrome[/MENTION]

Update this popular rom
[Galaxy S III Android Development] _followers_:
you can download in PS screenshot tile (root) apps , i use this in lineage 15.1 now. i hope it will work on 16 too
[Galaxy S III Android Development] irmas5:
Thanks but dont work. I try screenshot tile. With root access.
[Galaxy S III Android Development] Parth 17:
Can you please upload your files present at

Location: system/etc/wifi/

This can help me to fix issue on my device

As the murata and semcosh fix didn't work for me

:(

EDIT: PS UPLOAD THE FILE FROM THE S3 ON WHICH THE WIFI FIX WORKED
[Galaxy S III Android Development] ChronoMonochrome:
New build is up!

Hi, a lot of time spent since the latest release :)

A lot of stuff have been fixed, but because I feel there are still some hard-to-debug bugs left, I'll leave the status of the build as Alpha (at least until I figure out a full list of bugs).

9.03.2019 - build #2

A long list of fixes that are common with LOS 15.1 (see "Known Issues" below)

Updated sources to 9.0.0_r31

PowerHAL improvements (credits to [MENTION=2222292]rINanDO[/MENTION] for original code)

Increase memory heap size for Gapps (credits to [MENTION=8145312]linusdan[/MENTION])

Kernel init.d script 94kernel is moved as /vendor/etc/init/tweaks.rc

Removed in-built SU

Known Issues

Graphical artifacts *

Camera often freezes when starting video record

Sometimes (rarely) magnetometer doesn't work

Maybe more

There is also a rare bug with PackageInstaller that prevents installer window to be minimized (which is probably related to our buggy graphics libs).

Warning: I have not tested installation with Gapps, but according to S2 thread, Gapps installation can cause some device lagging during the startup.
[Galaxy S III Android Development] LuciferIII:
The bug about the installer being stuck is also occuring on an Alpha/Beta build of LOS16 on my S5 Neo.

It may or may not be an issue with LOS16 itself, just a heads up.

Also, thanks for finally updating this ROM too, you are a lifesaver :D
[Galaxy S III Android Development] LuciferIII:
Maybe you guys didn't notice, but there was a feature backported from the leaked builds of Android Q.

You will notice that with this latest build of LOS16, the Trebuchet(default) launcher will be a LOT smoother when pulling down the statusbar.

It's a small thing but it's incredible!
[Galaxy S III Android Development] Sobhan Mazaheri:
Pie is the best

Wooooooow:)

Amazing..

Thank you so much [MENTION=5695278]ChronoMonochrome[/MENTION]

come on go to beta build. The official next;)
[Galaxy S III Android Development] silvercloudad:
wel well i must say thanks a lot for updating this Rom...i was checking da page like 3 or 4 times a day just to make sure i did not miss any update...i am using this Rom right from the very first day...Although there are many bugs but still i love this Rom....thanks for updating the Rom.. [MENTION=5695278]ChronoMonochrome[/MENTION]
[Galaxy S III Android Development] rodrotterdam:
Thank you so much [MENTION=5695278]ChronoMonochrome[/MENTION]
[Galaxy S III Android Development] Sobhan Mazaheri:
Some problems:

-Black screen when someone calls

-Not preview photo in the gallery

Overall, performance is very stable (specially the battery)

Your job is great [MENTION=5695278]ChronoMonochrome[/MENTION]
[Galaxy S III Android Development] The_Voice_70:
Excellent work. Faster than 15.1. I took Gapps pico. Legends never die. Many thanks to [MENTION=5695278]ChronoMonochrome[/MENTION]. :D
[Galaxy S III Android Development] LuciferIII:
If you mean the stock file manager, you can enable the internal storage in the 3 dot menu.
[Galaxy S III Android Development] Sobhan Mazaheri:
yeah that's right

TNX;)
[Galaxy S III Android Development] Fire God:
not can connect hidden wifi.

help me
[Galaxy S III Android Development] Hussein100:
flash wifi-fix-murata.zip

https://xdaforums.com/showpost.php?p=69018243&postcount=274
[Galaxy S III Android Development] ChronoMonochrome:
Can anyone confirm?

I'd assume this is related to the proximity sensor, but I don't have a working one to test.
[Galaxy S III Android Development] Bar3009:
It's work on shv-e210s but camera don't work
[Galaxy S III Android Development] rocciacoraggiosa45:
pls make for lte version
[Galaxy S III Android Development] Sobhan Mazaheri:
Sometimes when I'm working on the device, the screen gets black and all running apps go out. (Even wifi is disconnected and not connected)
[Galaxy S III Android Development] Fire God:
tested.not work
[Galaxy S III Android Development] ArdaCsknn:
Could It be surface flinger issue?
[Galaxy S III Android Development] Sobhan Mazaheri:
Some other problems:

1-There is a wifi problem

2-Screenshot does not work in some areas

3-Sometimes notification when the screen is off is not appearing in the lock screen
[Galaxy S III Android Development] Sobhan Mazaheri:
Yeah, that's a serious problem
[Galaxy S III Android Development] sinkoo1979:
Smooth Rom. Thank you to the developer keeping the S3 alive.
[Galaxy S III Android Development] Parth 17:
Hhj

---------- Post added at 01:34 PM ---------- Previous post was at 01:33 PM ----------

Can someone please help
[Galaxy S III Android Development] shaawjee:
Hey bro, need your suggestion. Is it ok to use as daily driver. How is battery? Etc..
[Galaxy S III Android Development] apo42:
mobile data

os 16 i installed imei seems to be empty mobile data does not open los 15.1 i have installed imei empty mobile data open los 14.1 i installed imei full mobile data still does not open. los 16-15.1 does not have a USB connection at 14.1

please help

I want to open mobile data

[IMG="https://i.hizliresim.com/8aOaBd.jpg"]

[IMG="https://hizliresim.com/8aOaBd"]
[Galaxy S III Android Development] silvercloudad:
Well, as I said this ROM contains a lot of bugs right now and its very early to say that you can use it as a daily driver and moreover as to what I see the ROM never got too many updates and is still in alpha mode according to the developer himself.

Well, I am not a fan of Oreo and I love Android Pie so that's why I find this ROM quite amazing.. but still I will say if Samsung S3 is our main phone, then don't use this ROM as this ROM still requires a lot of bugs to be fixed and I request the developer to have a look at this ROM too.
[Galaxy S III Android Development] gonbad:
Read thread to find your answers

IF YOU READ THE THREAD YOU CAN FIND YOUR ANSWERS BY SHARED SCREENSHOTS.

1. first of all this rom developed for samsung galaxy s3 i9300 . then if your phone is not s3 then leave it.

2. for install this rom without any problem install it by full wipe + format data.

3. for reach internal storage : open the file manager and touch 3 dot and enable it.

4. for usb connection to pc : first connect your usb cable to pc and go to setting > connected devices > usb

by the way , i didnt really understand whats your problem and i just assumed maybe these steps helps you .

Good luck :good:
[Galaxy S III Android Development] Smoover:
Hello. On my I9300 I installed lineage-16.0-20190309-UNOFFICIAL-i9300.zip and open_gapps-arm-9.0-nano-20190315.zip with TWRP 3.2.3-0 after wiping system/data/davik/cache. The system boots and works OK. In the developer options, however, root access can only be granted to adb, not apps. I installed Magisk 18.1 via TWRP which completed without error. The Magisk Manager app is not listed after boot and the entries for root management are missing in the developer options. I now wiped system/data/cache/dalvik again and reinstalled ROM and Gapps (back to start).

Judging from the entries in this thread some people seem to have successfully enabled root access for apps. What should I try next? Install latest SuperSU via TWRP?

Thank you!
[Galaxy S III Android Development] jc9896:
After flashing Magisk, extract the zip and locate the manager apk.

Install as normal, if it requests you install magisk zip again (error like magisk not installed) do so.

18.1 running on my i9300 with no issues.
[Galaxy S III Android Development] apo42:
problem

no mobile data

usb connet

please fix help me
[Galaxy S III Android Development] leleobhz:
Hello!

Im using the i9300 with 20190309 release version as a secondary phone.

ROM is overall stable;

Google chrome crashes in settings, but changing android webview to chrome and using internal browser is stable, but slow has hell;

OpenGapps is stable;

Magisk is stable;

In battery settings, Ive changed to performance. Battery dont resting but mine is almost 4 years age, so ill change it too;

Android Go Enabler can be fechted in https://xdaforums.com/apps/magisk/magisk-module-low-ram-property-patcher-t3740199;

Mine did not have issues with wifi neither with 3G - No wifi-fix needed here;

Audio behaves very well! For both calls and music/video;

Youtube Go works fluid too, videos in Hi res working well;

Settings takes some time to update metadata;

I'm using Google Dialer (As image above). Everything works well, including spam blocking and PIP/Bubble;

Vanilla rom is slow at all and we all know RAMWhy, but Magisk did everything smoother with above list of modules.

Magisk modules running here:

This way is very very fluid to use the phone as secondary phone.

Important edit: Since ROM is very stable and what I did allow me to daily usage of my i9300 phone, I donated BRL 30,00 to [MENTION=5695278]ChronoMonochrome[/MENTION] as a thanks to development and a way to encourage the fixing of the other bugs :) I dont know how much the conversion from BRL to RUB will bring to dev, but I hope it helps ;)
[Galaxy S III Android Development] gonbad:
in almost all galaxy s3 i9300 phones usb connection and mobile data works fine . in your case , i think you didnt use galaxy s3 . make sure that your phone's model is match with this threads phone model.

i think no one face these problems with galaxy s3 i9300 phone model. :good:
[Galaxy S III Android Development] ChronoMonochrome:
Hi,

thanks for the donation and your research! I didn't test GPS on LOS 16.0 extensively yet.

In LOS 16.0, use of TARGET_NEEDS_PLATFORM_TEXT_RELOCATIONS board flag was deprecated.

I did some modifications to GPS blobs to get rid of the text relocations, and that worked fine in LOS 15.1 (however I didn't remove TARGET_NEEDS_PLATFORM_TEXT_RELOCATIONS flag, as some apps I was using were requiring text relocs).

I'm entirely unsure if that can be a reason for GPS daemon bad behaving in LOS 16.0, but just for the sake of test integrity it's possible to revert these changes and use TARGET SDK version override instead:

1 (for GPSD daemon similarly to commit for RILD),

2 (this one for vendor libgps).

Maybe adding some verbose logging to the libgps shim can help too. I will look into this as soon as I can.

P.s. Whilst it's possible just to switch to stock GPSD, for us it's not so cool, as it's a non-PIE executable, and use of such blobs is not supported by LineageOS by any ways.
[Galaxy S III Android Development] Smoover:
Does anyone else succeed in overclocking? Using the apps "Kernel Adiutor" or "EX Kernel Manager" I set the maximum and minimum CPU frequencies to 1200, 1400, 1600 and 1800 MHz but according to the CPU time-in-state statistics all four cores run at max. 800 MHz even when the system is under full load, see attached screenshots. CPU governor performance, I/O schedulers deadline.

Side note: GPS working fine for me, tested with app "GPS Status", 5 mins to satellite fix in urban area.
[Galaxy S III Android Development] leleobhz:
About overclock: There is some commits concerning clocks like https://github.com/CustomROMs/andro...mmit/61232399cc0428625939ad97f0c4d0680d5359ef - maybe a thing to be checked by Chrono.

About GPS, weird a lot. 5 min to fix means no A-GPS being used. Maybe some crazyness in AGPS deployment?

---------- Post added at 12:02 PM ---------- Previous post was at 11:41 AM ----------

Maybe reverse engineering on GPS a way to deploy a entirelly new GPSd? I'm wondering if [MENTION=5405215]forkbomb444[/MENTION] did reverse engineered the GPS device on Android... ;)

I'm not a skilled Android expert but I'll try to buy this challenge. I'll take a look at the gps tty to check what I get
[Galaxy S III Android Development] ChronoMonochrome:
This hack is required to fix device overheating / huge battery drain problem.

The philosophy is quite simple: the less time you use higher CPU clocks, the better battery life you have.

In the fact, PowerHAL is able to use max CPU frequency for a very short periods of time, e.g. when launching an app / switching app activities and so on. But on certain setups this hard freq limit (800 MHz) could cause device slowness, because if some apps is requiring the CPU to stay at the max freq for a contiguous time (and PowerHal isn't allowing exceed this threshold), not a surprise this will cause lags.

So far there are no better solutions than adjust this threshold to a suitable one (see /vendor/etc/init/tweaks.rc), though I'm working on a more appropriate solution.

Yeah, I think AGPS is broken. I was reading some posts on 4pda forum (it's a Russion forum, sorry) concerning the AGPS changes in Oreo, however I haven't tried anything of the suggested yet.

Hmm, I'm not so experienced to be able to reverse-engineer such a complex stuff as GPSD binary :D

I'm barely able to make OSS audio policy stuff working for another platform (STE u8500), not to mention this :)

But there's some work on this already exists (a wrapper for GPS lib in i9300 device tree).
[Galaxy S III Android Development] ChronoMonochrome:
Not only just text relocs, the whole matter is that the stock GPSD binary is not PIE (position independent) executable.

It appeared that it's possible to get rid of text relocs in blobs, but definetely, there are no obvious ways to make a non-PIE executable be a PIE one (this sounds like another challenge, but I think that's not viable without the source code, as it probably would require to rewrite all the blob relocs, edit offsets in a many places etc...).

But there is a patch to bring non-PIE support to the bionic (never tested it on i9300, but on Ace 2 we're using it to make GPSd binary work):

https://github.com/CustomROMs/andro...-revert-under-TARGET_NEEDS_NON_PIE_SUPP.patch (the patch authorship might have been messed up here, just don't pay attention to it if this is the case :) )

P.s. I would actually first start searching if there is some work was done in reverse-engineering any of the Broadcom chip GPS blobs, as starting from the scratch probably would be too hard.

Hmm, I didn't actually test if this CPUfreq limit is updated in a Performance profile - probably it's broken.

I'll see if anything can be done, as some users pointed already, it might be enough just to switch the CPU governor and make some tunings.
[Galaxy S III Android Development] leleobhz:
In fact, the TEXTRELOC isnt a big big issue:

[leonardo@manauara midas]$ scanelf -qT glgps
glgps: (memory/data?) [0x15740] in (optimized out: previous __cxa_pure_virtual) [0x14D60]
glgps: (memory/data?) [0x15744] in (optimized out: previous __cxa_pure_virtual) [0x14D60]
glgps: (memory/data?) [0x15748] in (optimized out: previous __cxa_pure_virtual) [0x14D60]
glgps: (memory/data?) [0x1574C] in (optimized out: previous __cxa_pure_virtual) [0x14D60]
glgps: (memory/data?) [0x15750] in (optimized out: previous __cxa_pure_virtual) [0x14D60]
glgps: __libc_init [0x15754] in (optimized out: previous __cxa_pure_virtual) [0x14D60]
glgps
[leonardo@manauara midas]$ arm-linux-gnu-objdump -d glgps | grep -C 20 15740:
156fc: e28fc601 add ip, pc, #1048576 ; 0x100000
15700: e28ccac1 add ip, ip, #790528 ; 0xc1000
15704: e5bcf8f4 ldr pc, [ip, #2292]! ; 0x8f4

00015708 <__aeabi_ldivmod@plt>:
15708: e28fc601 add ip, pc, #1048576 ; 0x100000
1570c: e28ccac1 add ip, ip, #790528 ; 0xc1000
15710: e5bcf8ec ldr pc, [ip, #2284]! ; 0x8ec

Disassembly of section .text:

00015720 <.text>:
15720: e1a0000d mov r0, sp
15724: e3a01000 mov r1, #0
15728: e59f2020 ldr r2, [pc, #32] ; 15750 <__aeabi_ldivmod@plt+0x48>
1572c: e28f300c add r3, pc, #12
15730: e59f401c ldr r4, [pc, #28] ; 15754 <__aeabi_ldivmod@plt+0x4c>
15734: e12fff34 blx r4
15738: e3a00000 mov r0, #0
1573c: e12fff10 bx r0
15740: 001cd8e0 andseq sp, ip, r0, ror #17
15744: 001cd8e8 andseq sp, ip, r8, ror #17
15748: 001cd908 andseq sp, ip, r8, lsl #18
1574c: 001cd910 andseq sp, ip, r0, lsl r9
15750: 00015761 andeq r5, r1, r1, ror #14
15754: 00000000 andeq r0, r0, r0
15758: e1a00000 nop ; (mov r0, r0)
1575c: e1a00000 nop ; (mov r0, r0)
15760: 47f3e92d ldrbmi lr, [r3, sp, lsr #18]!
15764: 4a42460d bmi 10a6fa0 <_end+0xdb66d6>
15768: 49424681 stmdbmi r2, {r0, r7, r9, sl, lr}^
1576c: 4c422003 mcrrmi 0, 0, r2, r2, cr3
15770: f8df447a ; <UNDEFINED> instruction: 0xf8df447a
15774: 4479a108 ldrbtmi sl, [r9], #-264 ; 0xfffffef8
15778: f7ff447c ; <UNDEFINED> instruction: 0xf7ff447c
1577c: 462eea62 strtmi lr, [lr], -r2, ror #20
15780: 0800f04f stmdaeq r0, {r0, r1, r2, r3, r6, ip, sp, lr, pc}
15784: 4f3e44fa svcmi 0x003e44fa
15788: f856e00b ; <UNDEFINED> instruction: 0xf856e00b
1578c: 463a3b04 ldrtmi r3, [sl], -r4, lsl #22
15790: 447a2003 ldrbtmi r2, [sl], #-3
--

Can you compile (Or tell me how to do it) a version with the TEXTRELOC patch you cited?

Also, about GPSd reverse, I wonder if [MENTION=5405215]forkbomb444[/MENTION] did some reversing concerning GPS, but AFAIK, its only kernel development. I'll also try to find a way, but if you see some light about an already reversed code, you can share it?
[Galaxy S III Android Development] ChronoMonochrome:
There aren't really a ways to recompile the blobs, so if you mean removing text relocs from blobs, that can be only done with some HEX editing which I've described in the vendor_i9300 repo.

Otherwise, if you decide to go with bionic paches, it's a matter of adding something like

TARGET_PROCESS_SDK_VERSION_OVERRIDE += \
/system/vendor/bin/glgps=19

to the device/samsung/smdk4412-common/BoardCommonConfig.mk

and patching the GPS wrapper lib i9300, like that one linked in the i9100 device tree. Plus also adding a non pie patch to the bionic.

Bionic linker and GPS wrapper will need to be recompiled with these changes (I can do so if I have some spare time, tell me if you have any difficulties with these steps).

I've been checking device repositories, and I can tell that's not only work on the kernel, but also some works on the LineageOS 15.1 too (with the mainlinie kernel integrated).

But yet nothing for the GPS - I guess the biggest problem with the kernel so far is the LIMA GPU driver.

Sure, if I find anything interesting on the regard of the GPS, I'll share it (but tbh probably not in the near future, as I'm busy with some other S3 / S Advance stuff).
[Galaxy S III Android Development] silvercloudad:
Well, I am using this Rom as my daily driver, although I have come across some bugs, but that is quite minimal to me till now.

Just a single thing is disturbing me today and I have tried my best to solve it but to no success. Have you tried substratum, I am trying substratum, but with no success its stuck on building android display?
[Galaxy S III Android Development] leleobhz:
@ChronoMonochrome

[leonardo@manauara Chromos_LOS16]$ bash android_local_manifests_i9300/fetch.sh
Fetching patches for system/vold

git -C /run/media/leonardo/Storage/leonardo/AndroidDev/i9300/Chromos_LOS16/system/vold fetch https://github.com/CustomROMS/android_system_vold lineage-15.1
remote: Enumerating objects: 107, done.
remote: Counting objects: 100% (107/107), done.

Isn't lineage-16.0-i9300? Src: https://github.com/CustomROMs/android_local_manifests_i9300/blob/lineage-16.0/fetch.sh