yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] 3mel:
isn't Loki just for Verizon and AT&T bootloaders ? I have Loki files in my phone which doesn't need then so if it's not TWRP or this rom putting it there then it's superSU. [MENTION=598865]Motorpsycho[/MENTION] was using a pretty old version of superSU, if he tries with v2.68 he might get different results, although I don't know why a real i9505 would be calling for Loki.

EDIT: just checked and Loki.sh is flashed by the rom and is included in the zip. download it again I'd say
[Galaxy S 4 i9505 Original Android Development] thaidroid:
Yes I think you are right about LOKI, The SU he's talking about is the CF Autoroot for ODIN to use on stock rom, I think it's an old version.

The latest CF Autoroot for I9505 can be found here https://download.chainfire.eu/316/CF-Root/CF-Auto-Root/CF-Auto-Root-jflte-jfltexx-gti9505.zip
[Galaxy S 4 i9505 Original Android Development] 3mel:
didn't scroll down to read this while I was editing my previous reply, I think he has a bad download of the rom because Loki comes included as this is pretty much a unified rom except for i9500 and i9515 handsets.

if it's not his download that failed then he's another one with a Frankenstein phone that's not really an i9505...

oh and he says he installed superSU via TWRP too...
[Galaxy S 4 i9505 Original Android Development] Motorpsycho:
Thank you all for your help, but I didn't make any progress yet. I installed latest autoroot, checked the MD5s once again and redownloaded twrp-3-0-0-0-f2fs-jdc. Still this TWRP version refuses to start. Maybe i am doing something wrong on installing it as it comes as a zip and not an odin flashable tar? I also tried to remove the assertion from the rom which brings me to a situation where the installation does not fail but the ROM won't start afterwards. So maybe the problem loki.sh is only a symptom but not the cause. Tried some CM 13 nightlies without luck, too. If everything fails i'll stick to 12.1 which is working.
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
What's the purpose anyway of that function in STweaks? Normally apps are delivered zip-aligned by the dev already, so you never have to manually do it.

Also, as it seems to even destroy apps, why is this function not removed?

--

Sent from my mobile, please excuse my brevity.
[Galaxy S 4 i9505 Original Android Development] Rhoban:
Zipaligning is a leftover from older android versions. Before lollipop I think you had to do it manually.

I guess alucard never bothered to remove it.
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
Then it was a lazy developer... ;)

It was recommended already waaaay before Lollipop that devs zipalign before uploading to Google Play...

[MENTION=4718305]Alucard[/MENTION], can you please look into whether zipalign in STweaks can and should be removed? Thanks.

--

Sent from my mobile, please excuse my brevity.
[Galaxy S 4 i9505 Original Android Development] thaidroid:
You have to Flash 3.0.0.0 in recovery it's not an ODIN file.
[Galaxy S 4 i9505 Original Android Development] Rhoban:
I just know that in Gingerbread I had a zipaligning script that would kickin at each boot.

Even now there are tweaks that include a zipaligning feature. But most of them say it's useless on lollipop and above, supposedly the rom does it automatically.
[Galaxy S 4 i9505 Original Android Development] Eagles_Nest:
Hmm, I'm using TWRP Manager 8.12 (was using CWM up to this point but told TWRP would be better for MM6) and it works fine. Unsure what the difference is with TWRP vs TWRP Manager as both seem to do the same thing, am I wrong? I preferred the spartan UI of CWM, but TWRP Manager does have more bells and whistles. Switched to the F2FS also, so far no problems. Wiped everything/converted the data/cache/system to F2FS, and wiped the rest as is. I had call issues with the previous MM6 version 20160208 with ext4. I haven't tested BT (heard it can be buggy).

---------- Post added at 02:42 PM ---------- Previous post was at 02:19 PM ----------

I usually do clean installs (did some dirty when Lollipop was out and I was upgrading from a good working ROM). I have yet to lose root access. With Google backing up all my pics, docs, etc, SMS backup and restore saving my texts, and the usual OCD...still backing up my pics on my PC, clean install ensures no "bugs" left behind. :cowboy:
[Galaxy S 4 i9505 Original Android Development] Rhoban:
What's your device model again?

As said earlier, loki patch is required only for locked bootloaders. That means AT&T and Verizon phones.
[Galaxy S 4 i9505 Original Android Development] Motorpsycho:
Upon boot it still pretends to be a Samsung Galaxy S4 GT-I9505.

In the meanwhile i found out that it not a 13.x problem because i tried to update the optimzed 12.1 version. While OptimizedCM-12.1-20150725-jflte.zip still installs and runs fine (this i have been using all the time before) the latest (and last) OptimizedCM-12.1-20160118-jflte.zip already failes for me with this error 7. And indeed the assertion

assert(run_program("/sbin/sh", "/system/etc/loki.sh") == 0);

was not there in last years july version. As far as I understand the updater_script this assertion is not dependend on any variant of the phone which means loki.sh must be existent and is run for all variants not only the AT&T and Verizon versions. Probably the check for AT&T and Verizon is inside the loki.sh and this script just exits successful if it found the phone is any other model.

Fact is, my phone is missing loki.sh and i don't get the supplied TWRP that includes it up and running while the TWRP 3.0.2-0 works but comes without loki.sh. I'll try to mix both or add loki to the ROM like this older thread suggests: http://xdaforums.com/showthread.php?t=2620733
[Galaxy S 4 i9505 Original Android Development] Codeseven:
Hey, devs. I've been building your roms on my own server since the last release, but after i install it, i cant get stweaks to show any options. I start the program and do the acknowledgements, but no options are ever present, nothing! Everything else is running awesomely. Any ideas?

I tried deleting the app from the system folder and installing it off the play store but it says the kernel isn't supported.
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
Did you grant "root" access to STweaks?
[Galaxy S 4 i9505 Original Android Development] barlyai:
where to download the update from 4.5.16 ?
[Galaxy S 4 i9505 Original Android Development] DoughMucker:
^^??^^

Link is in the first post under Download.
[Galaxy S 4 i9505 Original Android Development] 3mel:
previously it's been mentioned that a particular version of busybox is required for Stweaks to work. if you changed that that might be the reason.
[Galaxy S 4 i9505 Original Android Development] mattgyver:
I got excited when I saw barlyai's post, but then was like "what update?!"
[Galaxy S 4 i9505 Original Android Development] barlyai:
in

the first post under the boot rom on March 14, and the last update on April 5 ?
[Galaxy S 4 i9505 Original Android Development] Rhoban:
There is no 5th April release.
[Galaxy S 4 i9505 Original Android Development] fgodoy:
Hi, I have smartwatch and Bluetooth always brakes... Lot's of boots to use. :(
[Galaxy S 4 i9505 Original Android Development] Johan1976:
Tried both with and without media. No luck. It actually can start crashing even when not connected to anything. Just Bluetooth turned on. It's so strange because I had it working for a month (February release) without a single problem. Then it just started to crash very very often. Right now I have Bluetooth off and just turns it on when using car and with one or two restart it might just work for that hour drive.

Skickat från min GT-I9505 via Tapatalk
[Galaxy S 4 i9505 Original Android Development] jabarel:
Problems with calls ! if i`m on lte and some on call me my phone don`t ring or smth but the person who call me show i just answer and i recive that call after 10 minutes ! This is a big problem i need to restart the phone to fix this and the problem start again after some time
[Galaxy S 4 i9505 Original Android Development] thaidroid:
We need an update boys, You can only post so many times about the same problem:D:D It doesn't matter if it's the same Rom it will keep us occupied:cool::cool:
[Galaxy S 4 i9505 Original Android Development] mickdroid94:
Any news on the next update??? :P
[Galaxy S 4 i9505 Original Android Development] bungadudu:
I think all of us are waiting for the update but would prefer if they'd take their time and test it more thoroughly this time..
[Galaxy S 4 i9505 Original Android Development] rboy28:
Sure, news all the day: https://github.com/AOSP-JF-MM/platform_vendor_aosp/commits/aosp-6.0-test-caf ;)
[Galaxy S 4 i9505 Original Android Development] laupuy:
Take a look here https://github.com/AOSP-JF-MM/platform_vendor_aosp/blob/aosp-6.0-test-caf/Changelog.md

and let developers work ;)
[Galaxy S 4 i9505 Original Android Development] Eagles_Nest:
Battery drain!!!

Okay, using the latest update AOSP-6.0-20160314-jflte and something is killing my battery quick. Yesterday I barely looked at my phone and I went from 100% in the morning to 10% by 1:30pm. I check my battery stats in settings and it says "Miscellaneous 40%". Next highest is screen at 8%. What is draining my battery so fast? Should I roll back my ROM to previous version or something?
[Galaxy S 4 i9505 Original Android Development] Molinari:
Disable corrupt sdcard warning ?

Everything works fine, but I get this corrupted sdcard warning after every boot.

I don't need or want to reformat the sdcard.

I noticed there are ways to disable fde and the warning on a nexus, but what about on the s4 ?
[Galaxy S 4 i9505 Original Android Development] Swap_File:
On my M919 I couldn't get Bluetooth Tethering to work with this rom (20160314 ), my computer would seem to connect to via the PAN interface to my phone but never get an IP address. Bluetooth Dialup DUN tethering (at 115,200 baud) did work via PDA net.

Bluetooth audio works exactly once in my car for music streaming, and I can place a call, but the music won't return after the call ends. I need to reboot the phone to get music again. If I press any buttons to change the track or pause the music while it is playing, the music stops working and won't come back until I reboot the phone. If I press the track forward or backwards button it sometimes seems to act like I am pressing the button over and over, and my music playing programs will just continually keep going to the next track. The buttons are physically working fine, I went back to 5.1 and all is well.

Bluetooth Tethering does seem to work on the Optimized build (OptimizedCM-13-20160329-jflte.zip). I have not yet tested bluetooth audio there.
[Galaxy S 4 i9505 Original Android Development] thaidroid:
internal or external? Anyhow normally you don't get those warnings at random. backup and format or repair using TWRP.
[Galaxy S 4 i9505 Original Android Development] sjamie:
Are you using an app like Link2SD or Apps2SD?
[Galaxy S 4 i9505 Original Android Development] Molinari:
External, the card has no errors, and I will not format it with the phone and go through that portable vs internal storage BS, I prefer using it as both like with lollipop and from what I've read marshmallow does that to any sdcard, and it can be disabled on the nexus via FED-Patcher v7 (ForceEncrypt Disable Patcher).

Yeah, I used link2sd before, it's not compatible now so I switched to apps2sd aio and everything works fine except for the annoying message.
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Do a second call... and music will be back...

GT-I9505 su OptimizedCM13 (JDC)
[Galaxy S 4 i9505 Original Android Development] Swap_File:
That worked! And it seems to be working across multiple reboots. Thanks!
[Galaxy S 4 i9505 Original Android Development] sjamie:
Yes, this ROM does not like the 2nd partition on your sd card. I use App2SD too and it works flawlessly. Just ignore the corruption message and swipe it away. :good:
[Galaxy S 4 i9505 Original Android Development] interaser:
Hello,

I've decided to remap my s4 based on new HTC10/nexus layout: [back]-[home]-[recent]

I have edited sec_touchkey.kl with these commands and now I have stock Nexus layout on this awesome ROM:

key 139 BACK VIRTUAL

key 158 APP_SWITCH VIRTUAL

key 102 HOME

The question is: how do we get now on tap working on long press home button?

Thank you.
[Galaxy S 4 i9505 Original Android Development] mitlaeufer:
Same issue for me, occuring every now and then, both wired headset and bluetooth. I use Poweramp as a Player, the music fast forwards without actually playing.

--> Stopping playback and closing Poweramp via recent apps screen helps most of the time. Give it a try :)
[Galaxy S 4 i9505 Original Android Development] Swap_File:
Unfortunately stopping and closing didn't seem to help, but I'm using shuttle right now. Maybe I'll try poweramp to see if it's application related.

I did wake up to a "Bluetooth Share Has Stopped" message on my phone. I rebooted, I was able to play a bit of music via Bluetooth Audio streaming, but then as soon as I attempted to change the track it stopped working again. I placed one call, and now it is fixed again.

It's very strange, but at least it's consistent, and I can live with that for now.
[Galaxy S 4 i9505 Original Android Development] Codeseven:
Hey guys. When i compile my own version, the alucard kernel doesnt get included. how do i compile with alucard or flash alucard?
[Galaxy S 4 i9505 Original Android Development] Rhoban:
I think you have to compile alucard kernel too. Alucard kernel was a standalone kernel before so it has its own stuff.
[Galaxy S 4 i9505 Original Android Development] Codeseven:
thank you. Do you happen to know where the official site is?
[Galaxy S 4 i9505 Original Android Development] Rhoban:
Go to the kernel thread, you might find something there.
[Galaxy S 4 i9505 Original Android Development] Der-Knuffi:
It's really a pitty: This ROM has a good battery life but the Bluetooth connection for me is not stable resulting in disconnects from my smart watch, hot phone and reboots.

Dirty unicorn has a stable Bluetooth connection (6 days, one disconnect, one reboot) but battery drains about 7 % per hour without using the screen.

Could someone please give us best of both worlds?

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] thaidroid:
Maybe it's the Bluetooth being active all the time that consumes all your juice:cowboy::cowboy:
[Galaxy S 4 i9505 Original Android Development] Der-Knuffi:
But that did not happen with JDC AOSP, I had about 40% to 60% LEFT at the end of the day, after about 16 hours.
[Galaxy S 4 i9505 Original Android Development] Codeseven:
yeah theres nothing. only alucard kernels that are showing are for previous versions and other models like jfltexx. nothing for unified development or even 6.0 for that matter. [MENTION=5576897]-+BB+-[/MENTION], could you tell me where I can get the alucard kernel that comes with these AOSP releases?

or how I can compile my own JDC AOSP 6.0 with the alucard kernel included?
[Galaxy S 4 i9505 Original Android Development] thaidroid:
You can use Flashify to backup a kernel in use I guess after that you can install it on an other Rom.

https://play.google.com/store/apps/details?id=com.cgollner.flashify
[Galaxy S 4 i9505 Original Android Development] Codeseven:
yeah it seems ill have to do that. no biggie though. I just wanted it all to be compiled at once for the best compatibility.
[Galaxy S 4 i9505 Original Android Development] tbspoon:
This worked for me ! Thanks.
[Galaxy S 4 i9505 Original Android Development] rlopess:
How can I enable SuperSu icon appears on launcher instead only at settings menu? SuperSu doesn't show themes option too, v2.71.
[Galaxy S 4 i9505 Original Android Development] live-evil:
You have to get 2 git repositories to compile the kernel from alucard24 repositories. https://github.com/Alucard24?tab=repositories the kernel obviously and and Ramdisk. They should both be in the same directory so homedir/Alucard-Kernel-jfltexx and homedir/Ramdisk. You need to checkout the correct branch from both as well checkout my-aospv2-6.0 of the kernel and platform-6.0 on ramdisk.

from there just execute build_kernel.sh and a kernel*.zip shoulf be in READY-JF dir in kernel dir. Just flash the kernel zip after flashing rom and you get a proper working rom ... but its not fully tested code so warning and all that.
[Galaxy S 4 i9505 Original Android Development] LimitsX:
So has there been any fix found or done for the Bluetooth crashing? Anything? :(

Can't wait for the new release :D
[Galaxy S 4 i9505 Original Android Development] Molinari:
The question was how to get rid of the message like they do on the nexus...
[Galaxy S 4 i9505 Original Android Development] rlopess:
Fastest rom for I9505 by far, and better battery life too, ty!! Even better than OptimizedCM 13, I'm using February build. Tried this one because with OptimizedCM 13, despite the pretty good extra features and performance, I have daily freezes and random reboots, and AOSP don't let me down :) The only counter I found is UI, I think OptimizedCM 13 is slightly better, there's some details that makes difference on daily use, like more flexible status bar customization and the clean all button for recent apps for example.
[Galaxy S 4 i9505 Original Android Development] paolo2331:
The clean all button is here too mate
[Galaxy S 4 i9505 Original Android Development] sjamie:
I don't know. I just swipe it away. It only returns after a reboot. No big deal.
[Galaxy S 4 i9505 Original Android Development] sjamie:
That's funny because my experience has been the opposite. AOSP runs well and is snappy on my device but overall, Optimized seems to be smoother, offers more options/customizations, and randomly reboots less (on my device - i337).
[Galaxy S 4 i9505 Original Android Development] thaidroid:
On I9505 this one is unbeatable........
[Galaxy S 4 i9505 Original Android Development] rlopess:
So weird, look:
[Galaxy S 4 i9505 Original Android Development] Gunnar_Schulz:
Swipe upward.
[Galaxy S 4 i9505 Original Android Development] paolo2331:
Check again in settings :)
[Galaxy S 4 i9505 Original Android Development] rlopess:
Lol, ty man! Never seen this thing disable before, never noticed that option, is enable by default every rom I've tested haha
[Galaxy S 4 i9505 Original Android Development] paolo2331:
Yes I know it's a little bit strange :D

Check the recommendations in the first or second post of this thread, there are some suggestions for setting up the phone, including some for recent apps screen
[Galaxy S 4 i9505 Original Android Development] smeroni68:
We are preparing the release... stay tuned!

EDIT: this is the changelog https://github.com/AOSP-JF-MM/platf...27fd4e45fc9fefc0858c74dc47cd9526/Changelog.md

GT-I9505 su AOSP 6.0.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] Malle_eppie:
Hello, thanks for the heads up, really great news :)

One question, why are there two versions of SuperSu?

As in "SuperSU: update to v2.68 and a bit further Update SuperSU to v2.71"

Again thanks for the great work on this ROM :good:
[Galaxy S 4 i9505 Original Android Development] zorastro:
F5, F5, F5,... Thx!

Enviado desde mi GT-I9505 mediante Tapatalk
[Galaxy S 4 i9505 Original Android Development] MatteoB92:
I'm looking forward to try, tomorrow will be the date!

Inviato dal mio Transformer TF101 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] sweettenderlions:
Failing to install

I have the tmo M919 variant and it says it is supported, I switched over to F2FS file system in data and cache, I have GPapps ready to go and I have tried to different downloads of the ROM but neither are working. I did a factory reset and local wipe, I'm using TWRP and it spits out " Failed to map file '/external_sd/AOSP-6.0-20160314-jflte.zip' Error installing zip file '/external_sd/AOSP-6.0-20160314-jflte.zip' " . Any help would be greatly appreciated, and I can flash older ROMs as well so that isnt the issue.

EDIT:

The new ROM pushed today seems to work. Thanks for everything.
[Galaxy S 4 i9505 Original Android Development] sjamie:
It seems that SuperSU v2.71 will be the latest version included with this build.
[Galaxy S 4 i9505 Original Android Development] smeroni68:
STABLE 1 is out!!!

Finally, we released the first build as Stable. Big thanks to [MENTION=5576897]-+BB+-[/MENTION] for his dedication and time for this project.

This build is the first one with pre-deodexed apps, so you can do a clean install but to gain the first boot with deodexed apps, do not wipe cache and dalvik after rom + gapps flash... this will save time on first boot (and battery too).

DOWNLOAD LINK: https://romhut.com/versions/aosp-6-0-20160416-jflte-zip

Enjoy this update!!

JDCTeam

PS:
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Hopefully this stable build will be as stable as the February build. Downloading...
[Galaxy S 4 i9505 Original Android Development] smeroni68:
We hope so... but anyway we can't do miracles! Only One has made them... and is not in our Team!!:D

We hope you all understand that is not easy to maintain stable our devices... we do our best!
[Galaxy S 4 i9505 Original Android Development] LimitsX:
You're last, March build was stable for me :). February one was really bad.

Looking forward to this official stable release!
[Galaxy S 4 i9505 Original Android Development] mattgyver:
I know I appreciate everything you guys have done to keep the S4 alive and up-to-date! I'm sure we all feel that way!

Sent from my TARDIS
[Galaxy S 4 i9505 Original Android Development] AmbiorixMateo:
We need to flash Gapps again for dirty flash?
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Till now, this rom feels smoother and booting seems faster. Only things that bug me:

-Battery icon in rom is not being replaced by gravitybox's battery icons

-rom's battery icon circle has no animation (option to enable/disable would be nice)

-gravitybox's battery icon is almost touching the icon next to it (rom battery icon if enabled otherwise cellular network icon)

-no "go to previous app" for double tap on home button, the rom's custom button layout kind of breaks gravitybox's, only workaround is to put it on double tap menu button in gravity box and use that button to rapidly switch between them
[Galaxy S 4 i9505 Original Android Development] sjamie:
Although Xposed works well, it is not supported. The Devs are not concerned with issues about Xposed/GravityBox.
[Galaxy S 4 i9505 Original Android Development] AgoYaMo:
Can I expand the internal memory in this rom?

With that 8gb->11gb "trick"?
[Galaxy S 4 i9505 Original Android Development] thaidroid:
Thank you for the new Build and in particular TEXT BATTERY that was the only thing missing before:D:D

I dirty flashed and flashed ROM/Agapps4.1/SU2.71

Wipe Cache/Dalvik ReBoot

During Boot apps gets optimized.

Everything works fine.

After Booting I remove some system apps that I don't use like email, live wallpapers etc. I then reboot to recovery and wipe cache and Dalvik and then reboot(now there is no optimization)it seem that the ROM now detects if an App already has been optimized, is that correct?

A completely Rom unrelated issue.

My USB port is defect works for charging but not for Data(OK for now using Airdroid but No ODIN) does anyone know the cost for a new one?
[Galaxy S 4 i9505 Original Android Development] interaser:
Hello,

If we remove these lines from the updater-script, does this mean that AndroidPay will work if installed by GAPPS?

package_extract_dir("system/supersu", "/tmp/supersu");

run_program("/sbin/busybox", "unzip", "/tmp/supersu/supersu.zip", "META-INF/com/google/android/update-binary", "-d", "/tmp/supersu");

run_program("/sbin/busybox", "sh", "/tmp/supersu/META-INF/com/google/android/update-binary", "null", "1", "/tmp/supersu/supersu.zip");

run_program("/sbin/busybox", "mount", "/system");

delete_recursive("/tmp/supersu");

delete_recursive("/system/supersu");

unmount("/system");

Thank you.