yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] MDT360:
Hi i've downloaded the AROMA version of the latest rom (20 march).

i've wiped everything, as the guide says, formatted data and updated the twrp to 3.2.1.0.

But when i try to install the rom the setup fails everytime, i have a unlocked bootloader and any other rom works fine.

This is my first Optimized LOS on my phone so i don't know how to fix this.

There is my install log

Obviosly i've tried to re-download the file (three times) and tried to install it from micro sd and internal storage, but i got the same error.
[Galaxy S 4 i9505 Original Android Development] therawski:
I had a similar problem, try TWRP version 3.1.0-0 for your specific variant
[Galaxy S 4 i9505 Original Android Development] failaip12:
Phone wont boot

So I installed this ROM first time like 2 months ago and I have been since having a problem where at a random time the phone will just like brick (wont boot no matter what I do) and the only fix for it is to format system, cache and dalvik cache partitions and than to install the ROM again. This is already the 5th time happening. To cap it up its random and it fixes by formating system, cache and dalvik cache partitions and than installing the ROM again. Please help its annoying, also I can give more info if needed.
[Galaxy S 4 i9505 Original Android Development] MDT360:
Thanks for this, i've solved with installing the twrp 3.1.1.0
[Galaxy S 4 i9505 Original Android Development] echo_21:
For increasing the volume of recorded messages you can increase the mic gain.
[Galaxy S 4 i9505 Original Android Development] therawski:
I'm glad I could help :)
[Galaxy S 4 i9505 Original Android Development] Paki243:
I increased the mic gain but had no effect on the volume of Whatsapp :(

Are there any other solutions?
[Galaxy S 4 i9505 Original Android Development] echo_21:
Did you reboot?
[Galaxy S 4 i9505 Original Android Development] Paki243:
I have also restarted with the increased values ​​but the microphone volume is always low
[Galaxy S 4 i9505 Original Android Development] sjamie:
[MENTION=5968293]side[/MENTION], my wife is loving this ROM. Thanks a lot, my friend! #SuperSidermanRocks
[Galaxy S 4 i9505 Original Android Development] echo_21:
This is strange! Would you please for test purposes once set all 7 sound gains (4 speaker and 3 mic) to their maximum and reboot then? We have to find out whether kernel sound settings have an effect at all. If not even the speaker gets loud then we know at least that your alucard kernal installation is faulty (by whatever reasons; but to fix this somehow is next step then).
[Galaxy S 4 i9505 Original Android Development] YetiZdalekiejKamczatki:
I also had problems with the release of version 11 of March 20 through TWRP 3.2.1-0 and helped return to TWRP 3.1.1-0.

* [JDCTeam] [7.1.2] [20 Mar] Optimized LineageOS 14.1-Version 11 for the Galaxy S4 GT-i9505 is the best Custom ROM though sometimes I have strange symptoms of slowing down the device so much that it does not respond to anything and helps the device reboot.

These symptoms are very rare and do not interfere with the use of the device.

Thank you for the good work of Side.

Ps. Side, could you help the MEmu project with optimization too?
[Galaxy S 4 i9505 Original Android Development] side:
long time no see mate...back to old days hehe ?

kisses to your family! <3
[Galaxy S 4 i9505 Original Android Development] sterbay:
Can you do screenshot?
[Galaxy S 4 i9505 Original Android Development] Patrick x:
Trust me screenshots are not needed, just flash the ROM, I promise u you'll be happy with it:)
[Galaxy S 4 i9505 Original Android Development] sterbay:
I mean to make a screenshot of the mobile
[Galaxy S 4 i9505 Original Android Development] Patrick x:
Oh my bad sorry.
[Galaxy S 4 i9505 Original Android Development] benlm72:
Hi [MENTION=5968293]side[/MENTION],

In fact I'm finally back to standard kernel because the alucard one or the sidecore one have too much battery drain. According to infos from BBS, I assume it's because of my MiBand2.
[Galaxy S 4 i9505 Original Android Development] sjamie:
Hey Mate, I lurk in here often to keep tabs on this awesome project. Although the OnePlus 5 is my daily driver, I still have 4 beloved backup S4s thanks to you and Buffy! :D
[Galaxy S 4 i9505 Original Android Development] MEMOREX2:
Check all partition and repair it
[Galaxy S 4 i9505 Original Android Development] sgeorgi:
For some reason the setting for the time illuminating the touch buttons does not change anything. I would like to have it always on when display is on.

I tried find an answer already using the search function. But it seems I am the only one having this issue?
[Galaxy S 4 i9505 Original Android Development] maximiliengolum:
Hi !

Thanks for all the work you accomplished for our device, I use this ROM from a long time !

Is it normal that stock kernel nor sidecore kernel not recognize exfat formated sd ? (Version 11, full-wipe / clean install)

When I boot with one of these two kernels, I got an error message from Android telling me that my sd card is corrupted, and it force me to format it in fat32. In fat32, the sd card is recognize (but loses the max file size advantage).

Exfat works with Alucard's one, but I've alaways had screen troubles with it...
[Galaxy S 4 i9505 Original Android Development] Sir_Launcelot:
When I was installing, Optimized-LineageOS-14.1-20180320-jflte-AROMA.zip, I noticed it still shows as Version10 with a Date of January 2018, in the your about to install summary screen. I am hoping this is just a typo, or field that hasn't been updated. If it makes a difference, I picked Ubuntu theme.
[Galaxy S 4 i9505 Original Android Development] maximiliengolum:
Yep, I think it's just typo, changelog has been updated
[Galaxy S 4 i9505 Original Android Development] guest4711:
Exfat is proprietary and patented to Micro$oft, see https://en.m.wikipedia.org/wiki/ExFAT

So it's use on OSS is not possible...
[Galaxy S 4 i9505 Original Android Development] maximiliengolum:
Oh, thanks for the information bro

So Alucard's kernel is not completly open source ? Is it possible to add manuely exfat "drivers" to stock kernel ?
[Galaxy S 4 i9505 Original Android Development] Paki243:
I set all 7 sound gains to maximum and restarted.

The loudspeaker and the microphone feel really strong, but the sound is very distorted.

So it's not the faulty installation of the kernel.

What do you suggest me?
[Galaxy S 4 i9505 Original Android Development] echo_21:
Great! Now we know that alucard kernel sound settings seem to work in principle. Please try if you are happy with my settings 30, 12, 40, 40, 50, 50, 50 and reboot.
[Galaxy S 4 i9505 Original Android Development] guest4711:
Sry, it may be open source, but not free of patents (means no FOSS). I don't know where a kernel module is available. I did not check.
[Galaxy S 4 i9505 Original Android Development] side:
alucard kernel is fully opened source and IT IS FOSS.

the repository is here:

https://github.com/dkati/Alucard-Kernel-jfltexx

who said its closed source ?
[Galaxy S 4 i9505 Original Android Development] maximiliengolum:
I just ask if it was open source. Because I can't access my exfat sd card with stock kernel or yours, but with alucrad's one it works. Is it possible to compile a stock kernel with exfat module added ?

(By the way, you'r doing a very great job on i9505, I would like to thank you for keeping this device alive ! )
[Galaxy S 4 i9505 Original Android Development] guest4711:
I said exfat is patented by M$ and not FOSS, to be clear.

BTW: Happy holydays...
[Galaxy S 4 i9505 Original Android Development] sterbay:
For what it's worth.

A new incidence:

When I picked up the phone in the morning I found it off, totally discharged and warm the phone and the battery.

Any suggestions other than to reload it?
[Galaxy S 4 i9505 Original Android Development] drrossum:
Reloading a phone is always a good idea.

But, seriously, what do you mean?

If your phone is warm it apparently had been really busy before the battery ran out. Try to inspect the the last log with

logcat -L
[Galaxy S 4 i9505 Original Android Development] Buff99:
Sounds more like it's the kernel log you want [MENTION=4829022]sterbay[/MENTION]. And because you have rebooted, most logs will have been cleared.

Last_kmsg if it exists is the best hope as it's the kernel log from the previous session i.e. before reboot - but if you have rebooted more than once then it will have gone..

But it sounds like a kernel bug that has resulted in all cores being stuck on at full and expending all your power quickly.
[Galaxy S 4 i9505 Original Android Development] side:
Yea it is possible but I won't do that. I want to keep the stock kernel... Stock hehehe
[Galaxy S 4 i9505 Original Android Development] skarna:
I too switched back to the stock kernel and got huge improvements in my battery life using Version 11. Not sure why this is the case. Maybe there are some tweaks in the Alucard/Sidecore kernel vs. stock? Nonetheless, phone is running a lot cooler and battery life is much longer. I'm very happy with the ROM and it's performance now. Keep up the great work.
[Galaxy S 4 i9505 Original Android Development] Paki243:
Thanks bro, it works great
[Galaxy S 4 i9505 Original Android Development] sterbay:
I'm lost.

How is that "I too switched back to the stock kernel"

How is it done? You help me?

Thank you.
[Galaxy S 4 i9505 Original Android Development] Slavestate:
You need to use the AROMA version of the ROM and select it there. Its been running great here and the Pixel Launcher is pretty cool looking.
[Galaxy S 4 i9505 Original Android Development] side:
or download the aroma version, and open that zip file...go to aroma/kernel/stock and flash that boot.img
[Galaxy S 4 i9505 Original Android Development] Haphim:
Hi, guys. I have a SGH-I337 (jflteatt) with an unlocked bootloader (MDL) running CM11.

I've spent a decent bit of time reading through this thread and I'm finding a lot of conflicting information on which installer to use, which kernel to use, etc...

Can someone tell me what the current recommendation is for installer and kernel based on the latest build?

In addition, are there any additional steps I should take before starting the full-wipe procedure listed in the OP, given what I'm currently running?

(Thanks!)
[Galaxy S 4 i9505 Original Android Development] maximiliengolum:
Of course, you'r not at my service. When I'll have time, I'll do my searches to build it (and post-it if it works)

Thanks for all ! (Version 11 with stock kernel is amazing !)
[Galaxy S 4 i9505 Original Android Development] aristidis_halk:
flashed this rom yesterday and my wifi wasnt working at all...i couldnt even activate it..i have the modem qk1(the latest)..anyone else with the same problem?
[Galaxy S 4 i9505 Original Android Development] 7adm:
what rom were you using prior to flashing? clean or dirty flash? which kernel did you choose?

such issues can usually be resolved by redoing a fresh install. and be sure to try the stock kernel, if not done so before..
[Galaxy S 4 i9505 Original Android Development] aristidis_halk:
i had the other rom from jdc the aosp one(7.1.2)..wiped everything and then flashed this one with the stock kernel..clean install means i have to flash the original rom first and then flash this one?:)

thanks!
[Galaxy S 4 i9505 Original Android Development] Slavestate:
Clean install, means you wipe everything and start from scratch, on a clean empty system, you don't flash on top of already installed software (like a simple OS update). Think of of it like formatting your drive every time you install Windows/MacOS/Linux/etc...
[Galaxy S 4 i9505 Original Android Development] aristidis_halk:
so i did everything right..hmm i will try with different modems then..thanks a lot!!
[Galaxy S 4 i9505 Original Android Development] Slavestate:
The installation instructions are pretty clear in the first post. ;)

The 'regular' installer has what Side wanted included with it, and thats that. It uses the Alucard kernel.

The AROMA installer aside from including the stock ROM, also includes optional components you can use instead of the default ones, like your choice of the Stock, Alucard, or SideCore kernels, as well as different cameras, the Pixel Launcher, etc.. The AROMA installer is the way to go if you can manage to get through the install without smashing your phone. I wish it gave you some sort of feedback or highlight as to where the cursor is, its a guessing game on my SM-S975L. I just hit the arrow keys and click it to go Next, and if it doesn't work I keep trying in a different direction or number of times I go either up/down and eventually you'll hit it. I persevered and made it through it because I wanted to try the stock kernel as well as the Pixel Launcher (which is pretty rad looking). I initially installed the regular one and the Sidecore kernel, cause my phone's screen hates the Alucard one, but went back and wiped again and re-did it with the AROMA one. Its been so long since Ive flashed individual pieces of a ROM (we're talking Galaxy S2 days) so I couldn't remember how to pull the stock kernel out of the AROMA installer and flash it on its own, so just started from scratch.

The stock kernel is great, the SideCore kernel is great, Im sure the Alucard one is too. Some S4's have an issue with the Alucard kernel where if the display goes to sleep, when you wake it back up the screen no longer responds to touch. You can always flash it with the Alucard kernel and test this once you're done with the initial setup. If yours is one of the ones that doesn't play nice with it, just pull the battery or hold in the power button until it shuts off and restarts, reboot into Recovery and flash another kernel. When you reboot everything will be great again. This happened with the Optimized CM13 ROM too (which also uses one of Alucard's kernels). After a certain point last year, whatever was changed in the kernel made every build afterwards have this issue. I was still running one of the releases from last September this whole time until someone posted about Side's Optimized Oreo beta in the thread and I made my way here.

The battery life on the stock kernel is the best Ive experienced so far. Phone does what it should, I cant complain.
[Galaxy S 4 i9505 Original Android Development] sterbay:
Once the Rom is installed without using the Aroma installer.

How to install the Stock Kernel?
[Galaxy S 4 i9505 Original Android Development] side:
1) go here -> https://github.com/dkati/Optimized-AromaInstaller/tree/opt-cm-14.1/jdc/kernel

2) select sidecore or stock folder.

3) press on that file

4) view raw

5) download it

6) flash it via twrp (u have to select "flash image" while installing
[Galaxy S 4 i9505 Original Android Development] Haphim:
Thank you, Slavestate. I really appreciate your taking the time to go over all that. I spent a decent amount of time reading what I could, but 416 pages was just too much for me. :)

And although you're right that the installation instructions are clear in the first post, I thought I had run across someone being told to update their modem and bootloader first before flashing (or something along those lines). That's what made me cautious and I wanted to confirm that there wasn't something I needed to do first before following the normal set of instructions.

I've done a decent number of CyanogenMod installs, but I've never deliberately done anything with kernels or AROMA installers before, so that was all new to me.

Thanks again!
[Galaxy S 4 i9505 Original Android Development] Slavestate:
Yeah Ive been in this a long time too, since my old Motorola Backflip and CM whatever was Android 1.5 and 2.0 (I think it was Android Donut then?) haha. New phones still baffle me, my Galaxy S2 lasted so long (anyone remember OmniRom?) that I didn't keep up a long time ago cause I cant afford to play the 'stay current' game anymore which is why I have an S4. I don't like AROMA installers really but they make things easier, you just have to put up with the frustrating navigation depending on your phone. I haven't seen anyone with a "real" S4 complaining about them so it must be awesome. I have a Straight Talk variant so Im like the bastard child of the Samsung family and just grateful people are still making ROMs that still work with my phone (although some hate the screen as I mentioned before). If I can help a user thats stuck like I get all the time now, then its all good.
[Galaxy S 4 i9505 Original Android Development] gicho:
AROMA installer v11 doesn't work for me

Reading over the last pages I decided to try the ROM with the stock kernel. Up to now I am using it with alucard but I have occasional high battery drain from time to time, and I see a lot of strange errors in the logcat (permissions, missing API errors, and so on). I should notice that I am not rooting the device, maybe I could try to do root for test.

But right now I wish to try to replace the kernel using the AROMA installer - I choose my options over the wizard and finally I slide to install - it says installing but 2 seconds later it says it is ready and it was successful. I don't think it could take just 1-2 seconds, so I think something goes wrong.

I tried several approaches:

- full wipe/clean install - starting directly the aroma - on a clean device - I read that it "contains" the ROM, so I expect that it will do all the things that regular installer does, and additionally to install the stock kernel, some apps/launcher and so on - but even in this case I see 1-2 seconds of "activity" at the end and "success" but of course nothing is installed

- full wipe/clean install - first running the regular installer and after that the aroma one - same behavior - regular installer takes a lot of time (minutes) but aroma passes for some seconds and makes nothing

Am I doing something wrong, or the v11 AROMA installer is broken?
[Galaxy S 4 i9505 Original Android Development] marco978:
Did u use the right twrp?

I had similar issues because of wrong twrp.
[Galaxy S 4 i9505 Original Android Development] side:
latest twrp DOES NOT SUPPORT aroma...come on guys...did u read the first post ? did i say "use the latest twrp" ?
[Galaxy S 4 i9505 Original Android Development] gicho:
Ok, I am on TWRP 3.1.1 now - I will go back to 3.1.0 and give it a try. Thanks, it might be good if you put a comment in the first post that AROMA needs exactly TWRP 3.1.0.
[Galaxy S 4 i9505 Original Android Development] sjamie:
Yes, I am also guilty of this TWRP violation but quickly learned! LoL
[Galaxy S 4 i9505 Original Android Development] gicho:
I can confirm that going back to TWRP 3.1.0 fixes the problem with AROMA installer - no it ran fine and installed successfully. Thank you.
[Galaxy S 4 i9505 Original Android Development] Slavestate:
This is why you ALWAYS follow the directions you're given. ;) No need to "confirm" what Side already said the day he made this thread when he was ready to distribute it.
[Galaxy S 4 i9505 Original Android Development] CR4IGY_BOY:
Anyone know why it doesn't work because aroma boot animations functions like a dream?
[Galaxy S 4 i9505 Original Android Development] side:
it is actually working.but latest TWRP does not mount a specific partition that aroma needs to save your selections

PS

thats my guess.i havent search about it/i dont care a lot
[Galaxy S 4 i9505 Original Android Development] Paki243:
Guys I have a very annoying problem, when I activate the mode do not disturb after I receive a call, it is deactivated. Why?

And the HDR does not work.
[Galaxy S 4 i9505 Original Android Development] Eyji:
Hello guys,

I'm using my S4 for work as my S7 broke. I need a strong and reliable Bluetooth and signal ?.

The Lineage OS 7.1.2 I've found on the official website gives me battery drain problem, wifi and Bluetooth drops and now the Bluetooth doesn't work very well anymore.

Does this ROM is better on connectivity that the official lineage os one?

Thanks :)
[Galaxy S 4 i9505 Original Android Development] marko.dnb:
Today my S4 broke :crying:

Time to move on... Just wanted to thank side and everyone else in the team for taking time and effort to keep S4 alive all these years. If my S4 didn't broke I would still use it for at least 1 year, amazing phone with great community here. I've tried variety of phones but eventually I keep coming back to S4.

Good luck to everyone, it's been a great time being here on S4 forum section.
[Galaxy S 4 i9505 Original Android Development] lord_yabol:
Welcome,

On this ROM i have a problem with MMS. ( i can't send and receive).Do you have this issue?
[Galaxy S 4 i9505 Original Android Development] side:
cheers mate.i remember u roaming around.
[Galaxy S 4 i9505 Original Android Development] Slavestate:
Nope worked great on Straight Talk, works fine in Talkatone too.
[Galaxy S 4 i9505 Original Android Development] PhoneS4:
Hi! I think this is due to that you've set a priority so that phone calls are allowed in do not disturb mode. You can modify the priorities to correspond your needs or you can also set the do not disturb mode as total silence which then means that every sound will be muted.

I hope this helped. :)
[Galaxy S 4 i9505 Original Android Development] PhoneS4:
Hi! I've got an question regarding this ROM: Can you tell me what if I want to change from the Resurrection Remix 5.8.5 ROM to this ROM? Because in the instructions the OP told to remove properly previous root solution but then someone else who had also installed that ROM said that there's no need to unroot. So I didn't. Everything went just fine but I'm not just happy with that ROM so I want to change to this one. The installation instructions went like following: 1. install ROM. 2. Flash Magisk. 3. Install GApps. I had previously SuperSU but I changed to Magisk (I didn't unroot before) when installing this ROM.

So the question actually is: Do I need to reflash Magisk always when I install a new ROM or will the root be keeped if I do the full wipe?

Thanks in advance
[Galaxy S 4 i9505 Original Android Development] Slavestate:
I think Magisk is included with the Aroma version anyways. I still use SuperSU but yeah you should always flash it after a clean install, ESPECIALLY when changing to a new ROM.
[Galaxy S 4 i9505 Original Android Development] PhoneS4:
Okay, yeah I thought the same but just wanted to make sure.

Also in which stage do I flash the Magisk? After installing the ROM and before flashing GApps or after flashing the ROM and GApps? In the previous ROM I flashed Magisk right after flashing the ROM and before GApps.
[Galaxy S 4 i9505 Original Android Development] Paki243:
The problem also arises in total silence. After receiving a call, the do not disturb mode is automatically deactivated. I really believe it is a bug of LineageOS on all devices. I also have a Samsung S2 with LineageOS 14.1 that does the same problem :(
[Galaxy S 4 i9505 Original Android Development] ChrisR1:
Glaxy S4 for Sprint?

Hello,

Thank you all for your work on developing and updating custom ROMs. Will this ROM work on the Sprint S4 model SPH-L720T? I see you list the L720, but I have had problems with OctOS where the ROM didn't recognize my model as an SPH-L720T and I lost GSM capability in other countries. I think the "T" is for Tri-band phones that are capable for Sprint Spark data as well as GSM in addition to regular Sprint LTE band. I will be happy to donate to anyone who can help me get a more modern ROM that will work on the L720T with full tri-band capability. Otherwise, I'll be looking to going back to stock.
[Galaxy S 4 i9505 Original Android Development] platypoid:
The Aroma installer give the options to install SUSuperuser or Magisk and other options . Follow the instructions on the first page very carefully especially using the linked TWRP version it says - others won't work right.

I didn't change the TWRP I had in and didn't work right until I flashed the specific one linked.