yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] FernBch:
Well, that kinda confirms the direction I was taking. Latest flash attempt was with ROM only (no SU, Gapps, etc). I'm curious if I remove SU from the zip and try again what the outcome would be. On MM I have to flash the older SU as newer ones fail to install during flash.

Just thinking out loud here. First priority is N booting. Additions can come later....

---------- Post added at 07:25 PM ---------- Previous post was at 07:23 PM ----------

Oh, just had a thought. Could I swap the rild stuff in the zip and flash or must it be done after boot?

---------- Post added at 07:27 PM ---------- Previous post was at 07:25 PM ----------

I ask because I was given an updater script by another team member to swap in the zip then flash. That was the latest attempt, at any rate...
[Galaxy S 4 i9505 Original Android Development] -+BB+-:
If you want to change the file in zip and then flash try this:

1 extract the zip

2 take a look in our vendor repo to rild/gsm folder, and delete from the extracted rom in system all the files you see in rild/gsm

3 copy paste all files from rild/vzw folder to rom system folder

4 compress the rom and flash, you don't need to set perm and context cause the script will do for you when flashing the rom..!

you need some more time but rom should work at 99%... If works other variants can be fixed in the same identical way for the moment..!
[Galaxy S 4 i9505 Original Android Development] morpheus302:
Flashed alpha 2 and i must say that it's incredibly snappy and responsive. Only annoying bug for me is video recording, and some bugs on substratum theming (for notifications). For the rest, Kudos to [MENTION=5576897]-+BB+-[/MENTION] and to all JDCteam members.
[Galaxy S 4 i9505 Original Android Development] FernBch:
Thanks! I know what I'm doing this evening
[Galaxy S 4 i9505 Original Android Development] WolffK98:
[MENTION=5576897]-+BB+-[/MENTION]

Do we have the initial Setup Wizard? As I saw, on Alpha 1 there wasn't a way to setup the device with Google Account and Restore your Apps at the first boot (without having to do it manually)

Btw, you're great, thanks for making it reach an almost stable ROM in so little time
[Galaxy S 4 i9505 Original Android Development] morpheus302:
Still no setup wizard :)
[Galaxy S 4 i9505 Original Android Development] WolffK98:
Thanks Mr. !
[Galaxy S 4 i9505 Original Android Development] SecretMojo:
u can also dirty flash it over alpha 1 version so u dont have to redownload all etc :3

do a backup in cache of the installed apps and restore them at the end of the rom update.

(if u still got alpha 1 on it ofc :angel: )
[Galaxy S 4 i9505 Original Android Development] 3mel:
still getting unsupported Samsung SD card after dirty and clean flashes. I might give in tomorrow and let it format it if I can't see it in my m8.
[Galaxy S 4 i9505 Original Android Development] WolffK98:
I haven't installed beta 1, so I guess I'm gonna start from scratch :) Thanks for the tip
[Galaxy S 4 i9505 Original Android Development] barto8786:
problem to delete files sd

Enviado desde mi GT-I9505 mediante Tapatalk
[Galaxy S 4 i9505 Original Android Development] xXLuHXx:
support f2fs ?

because my system won´t boot

---------- Post added at 01:11 AM ---------- Previous post was at 01:07 AM ----------

sorry stupid question answered in the first page
[Galaxy S 4 i9505 Original Android Development] Kippy51:
I had that on Alpha 1 (64gb Samsung exFAT), but flashed Alpha 2 yesterday (clean) and no 'corrupted SD card' anymore!
[Galaxy S 4 i9505 Original Android Development] mmatic10:
Is your card formatted in f2fs? Mine is and i got also sdcard corrupted message.
[Galaxy S 4 i9505 Original Android Development] Kippy51:
Nope, like I said, exFAT (standard for 64 GB).

Sent from one of my Sammy devices
[Galaxy S 4 i9505 Original Android Development] mmatic10:
Sorry, didn't see that. Guess it's to early for me...:D

Thank you!

I'm gonna reformat mine
[Galaxy S 4 i9505 Original Android Development] tecnomovida:
Thanks a lot fot this alpha 2 !! Works great!! a question: NFC Works?? Battery Drain?? no?

LEDify don´t work... can´t change boot led,, ask for permissions but SU is all Ok... can´t change boot led... --> (Could not apply changes. Did you allow superuser?

Thanks a lot!
[Galaxy S 4 i9505 Original Android Development] :
Lol its told nfc works but someone tested it?

Does it turn on.

Does it connect with other devices? It be good if you try the new stuff.

I don't mean to disrespect the dev but if you download the rom you could always tell if things are fixed. Developer might not have time to try it fully
[Galaxy S 4 i9505 Original Android Development] xXLuHXx:
Help my device wont boot ...

after updated for alpha 2 he dies in bootanimation ...

I have done wipes ... and tested in two i9505 with ext4 and the other with f2fs
[Galaxy S 4 i9505 Original Android Development] arcadezz:
Youtube and Google

First off thanks for this 7.0 release....awesome!

I installed the nano gapps and the Sept 9 ROM AOSP-7.0-20160909-jflte-GSM.zip, works great except for apps Google and Youtube. After installing them from Playstore they both work perfect, but after a reboot YouTube crashes when try to open it and Google has been uninstalled. If i reinstall them both from playstore.....they both work perfect until I reboot.....then same story after reboot......YouTube crashes and google has been uninstalled.

Any ideas as to why? Thanks!
[Galaxy S 4 i9505 Original Android Development] elv1503:
Did you flash new open gapps? Had no such problems with new mini open gapps. Suggest reflashing rom and checking md5 checksums first. Sounds like something is corrupted or conflicting.
[Galaxy S 4 i9505 Original Android Development] arcadezz:
Is it possible to reflash only the gapps over existing gapps? thanks.
[Galaxy S 4 i9505 Original Android Development] dreccon:
The OpenGApps installer will automatically remove redundant files from the previous installation, so yes.
[Galaxy S 4 i9505 Original Android Development] elv1503:
Generally yes. TWRP recovery will sometimes tell you there is a conflict and not allow you to flash without flashing ROM. Not sure about CWM.
[Galaxy S 4 i9505 Original Android Development] lyjacky11:
Loki.sh Error

Hi, I clean installed alpha-2 and everytime it finishes flashing and restoring (Backup Script), i get:

error: assert(run_program("/sbin/sh", "/system/etc/loki.sh") == 0); on the AOSP - September 9th build.

I am using jfltecan (Galaxy S4 Canadian), which has an unlocked bootloader.

However, I flashed the September 1st build (alpha-1) and it boots without any problems.

If anyone can help me, that'll be great thanks! :)

I can also post logs if needed.
[Galaxy S 4 i9505 Original Android Development] Magnusmarshall:
Try re-downloading both builds.

Gets the latest gapps nano

Get GoogleApps-ThemeReady-LP-MM-N-v23.0-Aroma

All found on front page.

You of course need a custom recover twrip being the one of choice and iam guessing you already got.

Wipe both cache's and data

Flash second alpha then gapps then google apps themes

If you have issues you can try flashing the first alpha then dirty flashing the second over it.
[Galaxy S 4 i9505 Original Android Development] lyjacky11:
I already have TWRP and have those files downloaded also.

I will try and wipe cache/data.

The error fails as soon as the Installing... part is completed because it fails to run the loki.sh script. (and TWRP says installation failed.)

Therefore, the SuperSU, gapps and themes doesn't get flashed.

I have tried dirty flashing as well. Thanks for your suggestions!
[Galaxy S 4 i9505 Original Android Development] side:
we are working on this mate :)
[Galaxy S 4 i9505 Original Android Development] Dr Goodvibes:
NFC Working in AOSP 7.0 Alpha2

I have tested NFC and it's working well.

I have a large standing Sony speaker and can touch once to start speaker, which also connects Bluetooth, checks volume and starts music player with selected radio station.

Touch the speaker again and it all closes down and music player is stopped.

NFC is built into the battery on the GS4 and not a very robust solution.

Have also checked NFC tags which change GS4 settings for different environments and they work OK too.

I have NFC on all the time and will check in a day or so if it has any impact on the battery with

GSAM Battery Monitor

Update - NFC Service uses 0.0 percent of battery over 7hrs. So not a problem with battery.

Fig 1-1 Battery doesn't indicate any problems (ForceDoze NOT installed)
[Galaxy S 4 i9505 Original Android Development] Magnusmarshall:
Hmm either you got a bad download..bad sdcard or a more serious issue with the phone.

I also got the Canadian unlocked model and you should not be seeing this issue.

Kind of leaning toward a sd card issue since you have no issues with the first rom.
[Galaxy S 4 i9505 Original Android Development] :
how to "do a backup in cache of the installed apps and restore them at the end of the rom update"?
[Galaxy S 4 i9505 Original Android Development] FernBch:
Got called into work last night right as I sat down to do this. I modified the zip today and flashed it (ROM only, no SU, Gapps, etc). It, like it always does, completes the flash without error with the exception of SU fails to install. When it boots it immediately freezes as soon as the Sammy logo appears. I am at a loss as to what I could try next to get past this. If anyone has an idea I'm open to suggestions.

I personally have the feeling it has something to do with the fact that it's the SCH-I545. Big Red is a PITA!
[Galaxy S 4 i9505 Original Android Development] lyjacky11:
Ahh alright thanks man!

I was using USB OTG to flash these files, I'll try copying the files to my SD card and flash again.

Thanks for your suggestions! Maybe I will try downloading them again if it doesn't work.

---------- Post added at 09:26 PM ---------- Previous post was at 09:24 PM ----------

Alright, thanks for your reply!
[Galaxy S 4 i9505 Original Android Development] PLUG313:
any tips on getting the latest version of Pokémon GO working on this rom?
[Galaxy S 4 i9505 Original Android Development] Magnusmarshall:
For now these are meant to be flashed by sd card
[Galaxy S 4 i9505 Original Android Development] vishudha98:
Try Flashing Magisk but that involves flashing another version of SuperSU which would cause problems in this rom. Just downgrade to the version before the new update. You'll miss out on the buddy system though. Your'e not alone on this, the entire root community is furious and is looking for a solution for this
[Galaxy S 4 i9505 Original Android Development] WolffK98:
Just some quick questions:

1. In the OP it doesn't mention that we have to flash Gapps, just TBO Gapps. Do I have to flash Gapps and then TBO or just TBO alone?

2. The process for a first clean install is: Full Wipe > Flash ROM > Gapps > TBO > Reboot?
[Galaxy S 4 i9505 Original Android Development] smeroni68:
For you what means "Manual UPDATE with twrp"?

Does it mean that you have already setup a version as a" First time or clean install" and you are updating manually to a new build?

If you are updating but doing a clean install, you must follow "First time or clean install" procedure.

It isn't clear enough?

GT-I9505 on AOSP 7.0.0 (JDC)
[Galaxy S 4 i9505 Original Android Development] andy hall:
TBO stands for TotalBlackOut, it is a dark themed version of GAPPS.

You can flash either really.
[Galaxy S 4 i9505 Original Android Development] -+BB+-:
Phone stucks at Sammy logo before the bootanimation? Does it reboot on recovery or stays at the splash screen?
[Galaxy S 4 i9505 Original Android Development] PLUG313:
yeah I'm pretty sad about it... this game in spite of it's flaws was actually really fun to play and didn't get boring yet ?

is it only because of root? if I go on SuperSU and do a Full unroot could it work? ?
[Galaxy S 4 i9505 Original Android Development] WolffK98:
Yes, it is, I have been flashing ROMs for a long time, but just wanted to be sure that I was going to do the right thing, Thanks for clearing it out
[Galaxy S 4 i9505 Original Android Development] smeroni68:
That's wrong sorry. TeamBlackOut is TBO. The so called TBO package is in reality the Theme Ready Gapps, that is not a gapps package but a zip to substitute some apps from Google with the one modified for color theming.

Theme Ready means not dark... means that if no theme is applied the apps appear exacly as the original one.

That's all.

GT-I9505 on OptimizedCM13 (JDC)
[Galaxy S 4 i9505 Original Android Development] andy hall:
I stand corrected.:D
[Galaxy S 4 i9505 Original Android Development] m@es:
I tried it and it works. Just click unroot, click no and the phone will restart with no root and Pokemon GO will work.
[Galaxy S 4 i9505 Original Android Development] xell75:
Is there any way to use just normal SuperSU? I don't like the Systemless one and some apps like "Es Explorer" Don't like Systemless Root.
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Systemless is need on N...

GT-I9505 on OptimizedCM13 (JDC)
[Galaxy S 4 i9505 Original Android Development] WolffK98:
Does anyone tried flashing this rom with Banks Gapps for N instead of OpenGapps? Download speed of OpenGapps packages are terrible.

EDIT: I'm gonna flash it and report if anything wierd happens
[Galaxy S 4 i9505 Original Android Development] -+BB+-:
Just move es file Explorer in internal memory and root will work
[Galaxy S 4 i9505 Original Android Development] mmatic10:
The only camera app that i could find with working video recording on this ROM is Camu. Any other, guys?
[Galaxy S 4 i9505 Original Android Development] WolffK98:
Don't flash Banks Gapps, they don't install. When the ROM booted up, there was only 20 apps
[Galaxy S 4 i9505 Original Android Development] Tolgaav:
Xposed avaliable for nougat?
[Galaxy S 4 i9505 Original Android Development] 3mel:
good news in that viper works better than it ever has, it's rock solid with no breaks in service. slightly strange news my 3rd party music player (rocket player) is fine when the phone goes to sleep but stops instantly if I wake up the phone with the home key.

now that I've formatted my Samsung evo 128gb SDcard the phone sees it perfectly.

thanks for all the work you put into this... :good:
[Galaxy S 4 i9505 Original Android Development] arky33:
I have exactly the same problem, same phone as well. Flashing from internal or external storage makes no difference.

Thank you very much, it's a great rom! I'm back on AOSP-7.0-20160901 for now.
[Galaxy S 4 i9505 Original Android Development] lyjacky11:
Hey man, thanks for replying! I was about to flash the new rom after I copied it to my sdcard last night and I saw your post.

I guess I'll stick to alpha-1 for now. :)
[Galaxy S 4 i9505 Original Android Development] Strephon Alkhalikoi:
Apparently current versions of ES File Explorer do recognize systemless root, but are so bloated with adware that no one noticed. Check out the link in my signature for an adware-free copy of ES File Explorer that works with systemless root.
[Galaxy S 4 i9505 Original Android Development] johnthephotagrapher:
what if i dont use my data or any part just wifi can i use it on my sprint s4
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Why you don't try and report here?

We can't test all the variants... so it's good if all of you that has not a 9505 to try and write here your results. Thanks.

GT-I9505 on AOSP 7.0.0 (JDC)
[Galaxy S 4 i9505 Original Android Development] crazyon3:
Hi guys, awesome work, loving this new ROM. I came from a cyogenmod one where you could disable the soft key lights on this phone. Is there anything I can do to turn off the lights on this ROM? I know where the buttons are so I don't really need them to be lit. Thanks
[Galaxy S 4 i9505 Original Android Development] elv1503:
Check the thread. Its been answered previously. Can't remember just now. You change a setin a file in class/ LEDs from 255 to 0.
[Galaxy S 4 i9505 Original Android Development] xell75:
Viper is working and processing properly! I'm on the Alpha2 and flashed the "ViperAtmos SonyBeats v5.5" from this thread: http://xdaforums.com/showthread.php?t=2952137
[Galaxy S 4 i9505 Original Android Development] Magnusmarshall:
Yikes .

Before flashing your suppose to be wiping the two caches and data to have a clean install so flashing from internal means your very likely doing a dirty flash since it should have been erased.

These are ideally meant to be flashed from a sd card and other methods are going to give you mixed results.

There also other things that effect this such as what your bootloader what model of phone since the Canadian ones are normally unlocked 1337m rogers phones.

Ff everything done correctly the rom flashes fine on those phones.
[Galaxy S 4 i9505 Original Android Development] rootinchase:
No, I've tried. It stays at the Samsung screen (the one that complains about selinux and the kernel flag). I tried editing the zip to treat mine like an i9505, but no dice.
[Galaxy S 4 i9505 Original Android Development] vishudha98:
https://www.youtube.com/watch?v=jdWNvLjiepQ
[Galaxy S 4 i9505 Original Android Development] FernBch:
Stays at the Sammy boot logo. No reboot, bootloop, etc. Never makes it to the boot animation. I also tried a modified zip made by another team member (same mod). Same result. As soon as the Sammy boot logo appears it freezes. I can hold the home+power and force a restart or after the screen goes out vol up+home and it will boot into recovery.

I also quoted the below post from a Sprint user. Maybe has the same problem?

JDC 7.0 has the same rules as all other versions. If you install Xposed (when available for N) do not submit bug reports. They will not be addressed.

Unless I misunderstand what one of the script files in the zip does it checks to see which bootloader your device has.

---------- Post added at 09:54 PM ---------- Previous post was at 09:50 PM ----------

Edit

I should add that when it freezes a battery pull is not required to reboot.
[Galaxy S 4 i9505 Original Android Development] SteQu:
JDC Team,

Add a Google Pixel Launcher in next update. :)
[Galaxy S 4 i9505 Original Android Development] ts_firehawk:
Pixel Launcher is not part of AOSP.
[Galaxy S 4 i9505 Original Android Development] SteQu:
Okay.
[Galaxy S 4 i9505 Original Android Development] PTHugo:
Everybody keeps forgetting that this ROM is pure Android so stop complaining and asking for tweaks, for that just wait for some cm or RR or whatever just be thankful via jdctem proved that the s4 can handle quite well the nougat and for that it's halfway dinner than latter it will be perfect not yet a daily driver but soon we"all get beta versions, this team has been working non stop making improvements THANK YOU JFLTEXXDEVCONNECTIONTEAM FOR ALL YOU EFFORTS TO MAKE THIS PROJECT REAL, YOU GUYS ROCK...

Enviado do meu Smart Ultra 6 através de Tapatalk
[Galaxy S 4 i9505 Original Android Development] crazyon3:
I can't find that information anywhere :( can you please tell me what file do I need to change and where it's located? I've found an app that disables the soft key lights but it reverts back when I restart the phone. I want some more permanent.
[Galaxy S 4 i9505 Original Android Development] elv1503:
Same thing happens with amending the file I referred to. Someone suggest using tasker to change it.
[Galaxy S 4 i9505 Original Android Development] WolffK98:
sys/class/leds/button-backlight/max-brightness

But the values don't stick after a reboot, unfortunately
[Galaxy S 4 i9505 Original Android Development] crazyon3:
That's unfortunate, I wanted a permanent solution but hey what can you do. Thanks anyway mate.
[Galaxy S 4 i9505 Original Android Development] 3mel:
never tried it and don't even know if the system will accept it, but is changing it's permission so that it's not writable a workable possibility ?

if it screws up you'd have to set it right again from recovery.
[Galaxy S 4 i9505 Original Android Development] side:
you can unpack/edit/repack the ramdisk (thats why it doesnt stick after reboot) but i dont really suggest that.
[Galaxy S 4 i9505 Original Android Development] AndrewPerth:
My sim card isnt being detected :(
[Galaxy S 4 i9505 Original Android Development] side:
please provide some infos :)

variant?gsm?cdma?
[Galaxy S 4 i9505 Original Android Development] AndrewPerth:
Definitely GSM. I will try reinstalling it later.

Edit: Reinstalling fixed. Will update if it breaks again.

Edit 2: Yep, sim not being detected again.
[Galaxy S 4 i9505 Original Android Development] FernBch:
Search through the 6.0 thread. Some found it to be a physical issue (loose fasteners?) that affected how firmly the SIM card was held in the slot.
[Galaxy S 4 i9505 Original Android Development] AndrewPerth:
The issue isn't present when I have cm13 installed, but I will keep testing.
[Galaxy S 4 i9505 Original Android Development] mmatic10:
Try this.

https://play.google.com/store/apps/details?id=org.sleepydragon.capbutnbrightness
[Galaxy S 4 i9505 Original Android Development] arky33:
Thank you for your input. You might have missed it but I've got the same problem as lyjacky11, and for me at least flashing from external SD made no difference. Also, I get that you're supposed to be flashing from external storage, but I don't get your point about clean flashing. As you said it yourself, a clean flash does not require a wipe of all internal storage, just a wipe of data/both caches. This won't erase your personnal files or downloads, so it certainly is possible to clean flash a rom from internal storage.

I cannot speak for lyjacky11, but in my case I'm on bootloader i337MVLUGOH1. alpha1 flashes just fine, but not alpha2.
[Galaxy S 4 i9505 Original Android Development] kajsilander78:
1 )Create a file with rootexplorer (mount r/w):

/system/etc/init.d/98buttonlight

2 )Paste:

#!/system/bin/sh

echo 0 > /sys/class/leds/button-backlight/brightness

chmod 444 /sys/class/leds/button-backlight/brightness

3) change permission to 755

4) reboot
[Galaxy S 4 i9505 Original Android Development] WolffK98:
Ironically, I did that before [MENTION=5335823]kajsilander78[/MENTION] posted, but only could upload the file now. Anyways, thank him too!

For the ones that want the Capacitive Buttons backlight to be off, I've used some noobish code skills and some knowledge about init.d scripts to make this script below:

Link:

https://drive.google.com/file/d/0B1xrFnoAt63yeXdUdUFuVnFuNzg/view?usp=drivesdk

Instructions:

1. Install BusyBox

2. Copy the file above to system/etc/init.d using any File Explorer with Root Privileges

3. Set the permissions of this file to be 755 (picture below)

4. Reboot and you're done

I hope you all enjoy it!

;)

I'm going to do some research to see if I can change the behaviour of the buttons to be the same as Galaxy S5 and newer ones. (Changing: Menu -> Recents; Long Press Menu -> Menu; Long Press Home -> Voice Assistant/ Now on Tap)
[Galaxy S 4 i9505 Original Android Development] kajsilander78:
Yeah, thanks, it was your post that solved it :good:

Was only copy from my init.d folder...
[Galaxy S 4 i9505 Original Android Development] WolffK98:
And the additional info about BusyBox, otherwise, it wouldn't run the script properly
[Galaxy S 4 i9505 Original Android Development] kajsilander78:
Works fine the way I described, though dont know if second line is needed... Well, thanks anyway!
[Galaxy S 4 i9505 Original Android Development] elv1503:
Do you mean copy the link. Link is a zip file. Should I flash it?
[Galaxy S 4 i9505 Original Android Development] WolffK98:
Nope, download the file and copy to the location, then you set the permissions and reboot
[Galaxy S 4 i9505 Original Android Development] elv1503:
Thanks. Finally got it downloaded. Was only getting option to flash it. Deed is done.