yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Android Development] SamuriHL:
It's unfortunately not quite as simple as publishing my tool. I'd have to document fully how to use it and that's a royal pain in the ass, unfortunately. It's not a simple "run this script" and it's done kind of thing. There's a LOT of work that goes into prepping things before running the script. Right now I just don't have time to even go there. I can generally publish a new ODIN image an hour after I get the update and that's not going to change any time soon. Maybe at some point I'll look into providing something the community can use.

I don't sign them myself. The way the script works is a kind of magic that Matt Groff worked on developing back in the Bionic days. Basically, when you get an OTA update, it contains patch files that patch the existing partitions on your device. Boot comes in the OTA already signed. However, recovery is a patch file that is applied to the boot partition to create the signed recovery partition. My script performs all that magic from the OTA's update script. I use a lot of Linux magic to parse out the proper commands and automated pushing the partition images and patch files up to a rooted device (does NOT have to be an S4...half the time I use my Note 10.1 2014 tablet) and run the patch commands. This gives me signed recovery and modems by patching the previous version's partition images. Then it extracts system, which is the one partition I can't sign, and completes the ODIN image. The script has to be edited for each new version that comes out but I could parameterize it if I were going to release the script to the community. It's still not quite that simple. But that's the basic gist of what the script does and why I'm able to get the ODIN images out so quickly.
[Galaxy S 4 i9505 Android Development] :
optimized and optimized I wouldn't call it p nothing is changed to have optimized it

---------- Post added at 06:49 PM ---------- Previous post was at 06:35 PM ----------

well that was complicated ? so basically you re sign everything except system, and it can flash OTA well it seems like you do take some part of the old signatures, ads it to the updated images and somewhat more complex how it's done.
[Galaxy S 4 i9505 Android Development] cantenna:
Yup had the same problem recently setting up on my wife s4 too, lol.

Visit apps/all and clear all data for Google play and Google services framework and Google play services (clear all from manage space.) Then remove Google account. Reboot into recovery and wipe davlik cache and cache. Reboot re-add Google account and try play store again.

Also, before installing any apps be sure to update these apps to latest version from play.
[Galaxy S 4 i9505 Android Development] SamuriHL:
No. The patch files create new signed partition files. I'm not signing anything....Android is doing it for me just like the OTA does. And no, it can't "flash OTA"....that's not what happens. I take the OTA, unzip it, and use the files from the OTA to patch the files from the previous OTA to get the new signed partition files. And then it builds the ODIN image which is flashed with ODIN to actual i9505g devices. Then you guys take it and b@st@rdize it into a rom. LMAO :D
[Galaxy S 4 i9505 Android Development] :
ah I see [emoji14] that was

theoretically my number 2 assumption but I totally understand how it is done now [emoji14]
[Galaxy S 4 i9505 Android Development] SamuriHL:
LOL. Just to give you a little taste of how nasty this script is to maintain and use, here's the 2 methods for creating the new recovery partition image and creating an ODIN image from it....

#Builds recovery img from OTA

function recovery() {

echo Building recovery

echo ""

adb push $base/$version/recovery/recovery-from-boot.p $REMOTE/recovery-from-boot.p

adb push $base/boot/boot_$version.img $REMOTE/boot.img

grep applypatch $base/$version/recovery/bin/install-recovery.sh | grep -v if > applypatch.txt

sed -i 's/EMMC:\/dev\/block\/platform\/msm_sdcc.1\/by-name\/boot/boot.img/g' applypatch.txt

sed -i 's/EMMC:\/dev\/block\/platform\/msm_sdcc.1\/by-name\/recovery/recovery.img/g' applypatch.txt

sed -i 's/\/system\///g' applypatch.txt

cut -c -21,71- applypatch.txt > applypatch.1

mv applypatch.1 applypatch.txt

applycmd=$(<applypatch.txt)

rm applypatch.txt

echo $applycmd

adb shell "su -c 'cd $REMOTE; $applycmd'"

adb pull $REMOTE/recovery.img $base/recovery/recovery_$version.img

adb shell rm $REMOTE/recovery-from-boot.p

adb shell rm $REMOTE/boot.img

adb shell rm $REMOTE/recovery.img

}

#Builds recovery ODIN image

function build_recovery_image() {

echo ""

echo BUILDING RECOVERY IMAGE

filename=recovery_$version

echo $filename

cp $base/recovery/recovery_$version.img recovery.img

tar -H ustar -c recovery.img > $filename.tar

md5sum -t $filename.tar >> $filename.tar

mv $filename.tar $filename.tar.md5

mv $filename.tar.md5 $base/recovery/$filename.tar.md5

rm recovery.img

}

The first function takes the boot image from the new OTA, puts it up into the temp dir on your rooted device, finds the patch file for recovery from the new OTA, puts that up into the temp dir on your rooted device, strips out the applypatch command from the update script in the new OTA, runs a special version of the command to process files instead of actual partitions so that we can spit out a new image file, and copies it down from the rooted device.

After that, the function is called to create the ODIN image for recovery.

The $base is just the directory on my linux VM that contains the S4_GPE folders (unzipped OTA, script, etc). The $version is the new version (e.g. PA1). $REMOTE is the directory on the rooted device to use (usually set to /data/local/temp).

And that's just the functions to create the recovery partition. There's a lot more to the script in order to get modems, system, etc, and then creating the full ODIN image. So, it's not a simple matter of releasing the script and hoping someone could "figure it out".
[Galaxy S 4 i9505 Android Development] cantenna:
Question , got a security update prompt for a small update, don't suppose we can just apply it?
[Galaxy S 4 i9505 Android Development] SamuriHL:
No. It will fail to apply. But it means I gotta go look and see if there's a new update out.

EDIT: Not seeing an update on my 9505g.
[Galaxy S 4 i9505 Android Development] dirkdigles:
I'm having a strange issue on the January release that I didn't have on the prior release I was running (October).

I mainly use the home button to wake up the screen when I want to use the phone. With everything else being the same (installed apps, CF.lumen, xposed, Gravitybox, etc.), every other day or so, when I press the home button to wake the phone, the screen is black when it wakes. I know the phone is awake because the softkeys work, but the screen is blank. I can even hold the power button to restart, and the "Power Off" menu comes up over the black background! I can then easily power off or restart the phone, but I can't figure out what is causing the screen to be black upon waking up.

I was even able to take a screenshot to "show" what I'm referring to. The attached shows after I've woken up the phone and brought up the reboot menu - but I can't see or access anything else.

Any ideas?
[Galaxy S 4 i9505 Android Development] cantenna:
My mistake, I installed the december build instead of the Jan build on my wifes phone, sorry for the false alarm.
[Galaxy S 4 i9505 Android Development] SamuriHL:
Well, Google just released the Feb sec release for the Nexus devices, so, the S4 GPE can't be too far behind. I'll keep an eye out for it as I'm sure others will. Once we get a link to it I'll do another ODIN image.
[Galaxy S 4 i9505 Android Development] :
ehm that's to wait from Samsung and their well what do we say all their updates to all modem related fills,
[Galaxy S 4 i9505 Android Development] Karls0:
Is this rom rooted? The OP suggest that not (but it is not clearly stated). If not what is the recomended way to grant root permision for this rom?
[Galaxy S 4 i9505 Android Development] emaron:
No it's not.

Download this supersu zip to your phone.

http://download.chainfire.eu/743/SuperSU/BETA-SuperSU-v2.52.zip

Flash it via TWRP. Reboot.

Off topic: Just curious. How would one revert to a stock touchwiz rom?
[Galaxy S 4 i9505 Android Development] Karls0:
I bet, you have to only flash stock via Odin. On S2 it was that easy, i think here would be the same.
[Galaxy S 4 i9505 Android Development] ThronKid:
This ROM deleted my recovery.

This ROM isn't rooted for me at the start and if you use the SUPER SU ROOTER that comes when you don't have root. It doesn't help at all.

I can't root it with a one click root app, because u cant activate unknown sources because when u click on security it will crash

ODIN doesn't detect the s4 as like the one click root programs for windows

Thanks:good:
[Galaxy S 4 i9505 Android Development] Karls0:
So is it possible to root this rom or not? Now i am a bit confused... This post doesn't seem legit, but i want to be double sure until i will try to test it.
[Galaxy S 4 i9505 Android Development] :
I bet, you missed the post above yours.

yeah you're one lucky guy ;)

it's possible, flash with twrp

the Rom was pre rooted before. I just didn't care to add root in upcoming versions[emoji14]
[Galaxy S 4 i9505 Android Development] ijat91:
Got this

I know it will fail to upgrade, is it really upgrade to next lollipop? Can't wait for it :o
[Galaxy S 4 i9505 Android Development] Karls0:
@ LastStandingDroid - thanks, now it's clear. About this revert to stock - i thought, he asked for the instructions to install stock sammy rom.

@Up - does it mean it will be soon new version of this port too?
[Galaxy S 4 i9505 Android Development] :
that's January patch it's shared already afaik

eh did he?
[Galaxy S 4 i9505 Android Development] ijat91:
Can't find it at the first post, kindly link the post for me?
[Galaxy S 4 i9505 Android Development] :
http://xdaforums.com/showthread.php?p=64767272

should be it
[Galaxy S 4 i9505 Android Development] Karls0:
The reply, you gave a link, was made in context of someone asking about version for i337m (canadian?), so i'm not sure it is correct link. The OP said that the newest version of port for i9505 (int) is from december.
[Galaxy S 4 i9505 Android Development] cantenna:
There are updates here that should be compatible with all i337m and i9505 with unlocked bootloader. AT&T users should stay away and look for safestrap versions.
[Galaxy S 4 i9505 Android Development] Karls0:
I am unable to restore my backups from "Titanium Bacup". It just stuck on "restoring" and nothig change. I never met it on any other roms. Can you help me? I can restore call log or messanges but not apps.
[Galaxy S 4 i9505 Android Development] cantenna:
I ran into the same problem. I was able to restore majority of apps though. Just start a restore and when it gets stuck on an app, force kill titanium and install that app that halted the batch restore from play. After install, resume restore.
[Galaxy S 4 i9505 Android Development] Karls0:
Ok, it was not rom problem, my backup was broken. I had another one, so i just tried with them and restored what i need. Sorry for messing here ;). If someone has similar problem I recomend to use option to verify backup (in TB).
[Galaxy S 4 i9505 Android Development] :
No the question was where the latest version was.
[Galaxy S 4 i9505 Android Development] emaron:
It's possible. That's what I did and now am enjoying root permissions.
[Galaxy S 4 i9505 Android Development] Karls0:
So maybe to keep thread clean, download link to new update should be added to first post? I see you did few last versions - maybe you should (if it is technically possible - ask adiministration) take permisions to edit OP or create new thread?

Yes, I also did it. Just flashed Su 2.65.
[Galaxy S 4 i9505 Android Development] :
No I won't create a new thread for something that already exists
[Galaxy S 4 i9505 Android Development] Karls0:
Ok, so maybe it is possible to ask thread owner to edit first post? Or change the OP owner.
[Galaxy S 4 i9505 Android Development] :
He'll add it when he ad it I don't know which version 1.4 is if it's Jan or Dec
[Galaxy S 4 i9505 Android Development] Karls0:
I have it and basing on this that it ask me for update, I assume it is Dec.
[Galaxy S 4 i9505 Android Development] :
Ah I see I can't answer that since my s4 is gathering dust at this time (still will do updates though my s5 Neo instead so don't worry. When it comes you'll be noticed
[Galaxy S 4 i9505 Android Development] Karls0:
If it will help, in "About phone" the security patch level is from 1 dec. So i think we can say that 1.4 version is based on previous release.
[Galaxy S 4 i9505 Android Development] :
Ah I see didn't know that
[Galaxy S 4 i9505 Android Development] maurocds:
hi

so what is the latest rom to flash????

thanks

was using cyano 13 but it is annoying, no hdr in camera, wifi cuts, lag, slow bs gpe, slow performance in games, slow charging, etc
[Galaxy S 4 i9505 Android Development] nalitox:
I would say this ROM is for you. It is very fast, has just really minor bugs, charging is fast, camera is ok. I would love to see the stock S4 camera in this rom.

Some bugs that I experience:

- optical nature: when on mobile data and E, data arrows (these little up and down arrows) in the signal icon are visible. Somehow pretty ugly

- I only play Disney's Tsum Tsum. The performance is not the best sometimes. It is playable, but especially in the beginning of each round there are minor lags. I guess this cannot be fixed

- when powered off and charging and I want to turn on the phone, he is not directly turning it on while pressing the power button, but first showing the battery status/charging status. Firstly, it is ugly as hell, secondly, he is not turning on the phone. Unplug the phone, wait till the battery icon disappears, then I can turn the phone on. I have experienced this already with 5.0

Anyone can confirm this?
[Galaxy S 4 i9505 Android Development] maurocds:
yes i have been using gpe 4.3-5.1 since the day i got the s4 9505 with touchwizz crap

i just want to know what is the latest version of the gpe, or link, i guess the OP is outdated,

that thing you say it is annoying, i cant turn on the phone while charging, unplug the cable, turn on, plug the cable
[Galaxy S 4 i9505 Android Development] kamikaze.df:
ok, probably someone already asked this question

but i have trie to find it in this forum and dont find it,

I have a samsung gt i9505 (samsung international lte) and this rom, google edition, probably comes from a GT i9506 (google edition) - (or from GT I9505G?)

is this true? or is this a realy special rom designed for i9505 ? as far as I know the both models have subtle hardware differences.

second, is this rom really made for my i9505 ?

i ask them before flashing and apreciate any answer.

Thanks
[Galaxy S 4 i9505 Android Development] jimbomodder:
As far as I'm aware its from the google specific version of the s4 and will work on the I9505

Sent from my SM-A500FU
[Galaxy S 4 i9505 Android Development] kamikaze.df:
OK, i give it a try

thanks
[Galaxy S 4 i9505 Android Development] emaron:
Anybody tried the OTG? I can't make it work on this ROM.

---------- Post added 12th February 2016 at 12:28 AM ---------- Previous post was 11th February 2016 at 11:58 PM ----------

I tried StickMount. It mounts my pen drive and I see a folder named usbOTG driver on root/storage but it's empty. My pen drive has files but I don't see them.
[Galaxy S 4 i9505 Android Development] Karls0:
Yes, OP is outdated, I asked for update but nothing changed. Few pages earlier it was a link to version which probably can be 1.5 (the newest in OP is 1.4). It really should be attatched to OP as soon as possible, because it is starting to generate mess here.

@Up - as far as I know OTA doesn't work on i9505 (non GPE). Propably some changes in bootloder. It could be very hard to fix so i think we have to manually flash each update.
[Galaxy S 4 i9505 Android Development] :
First of all i9506 is s4 LTE-A (+) variant

This system comes from 9505G which is s4 BUT only another system/Bootloader and modem's.

9506 will never get stock GPE.

Well the system is made for 9505 which only have some different Bootloader/modem stuff as mentioned earlier. Therefor when OTA comes it will fail.

So DON'T TRY ON 9506 model if you have one it won't work since different hardware.

Why this works is due to hardware is exactly the same.
[Galaxy S 4 i9505 Android Development] luptatorul:
How do you guys get 4-5h of SOT? I installed this rom, flashed the patch, flashed SuperSu and Xposed Framework. Does Xposed and SuperSu drain battery faster or something? Also, in the battery stats, Cell Standby eats a lot of battery. Any ideas on how to fix this?
[Galaxy S 4 i9505 Android Development] cantenna:
Install greenify boost mode, boot manager, amplify, mobile active radio fix, and use a basic wallpaper.
[Galaxy S 4 i9505 Android Development] hougga:
Hi guys..

What are these minor bugs u r talking about?

Missing call notification? Notifications? Thank you! Have a nice day!

Envoyé de mon GT-I9505 en utilisant Tapatalk
[Galaxy S 4 i9505 Android Development] Karls0:
Minor bugs? I saw one graphic bug - when you turn on wi-fi and expand the list of avaible networks and close it by swyping instead of use button "finish" the toggles area stay a bit bigger, with free space on bottom. To fix it, you have to expand list again and close by button. Second - sometimes wi-fi in battery stats is presented as active, but it isn't and it doesn't seem to affect battery. And one or two time GPS stuck active and i had to reboot phone to avoid batter drain. However I didn't notice any bugs with missing notification.
[Galaxy S 4 i9505 Android Development] :
The one you mentioned is one.

Some users doesn't get missed call notifications or others (don't know why) can try see if I can log it but my s4 is just gathering dust I would try improve Rom but I don't have any working data/charging port on my s4 it's broken. Need to get a new one (if I really would care) it's already a good spare phone and the mic is broken too (probably happened when I dropped it without having screws back on it damaged that part('s)
[Galaxy S 4 i9505 Android Development] Karls0:
Is this rom the newest for i9505? Or maybe a new release was made since this time?

http://xdaforums.com/showpost.php?p=64767272&postcount=834

The OP is still not updated and as i saw earlier new builds comes every month so i just want to be sure.
[Galaxy S 4 i9505 Android Development] :
I haven't heard about February release patches

And I haven't made any newer version since then
[Galaxy S 4 i9505 Android Development] cantenna:
Does anyone know when Google will EOL this device, is a Feb update coming?
[Galaxy S 4 i9505 Android Development] SamuriHL:
Haven't seen the Feb update yet. No idea when the i9505g will be EOL. Once that happens we'll not see any more updates., obviously.
[Galaxy S 4 i9505 Android Development] Karls0:
I found a bug in this rom. "Cell standby" is darining battery - it is not very big but significiant. In battery stats sometimes it is even higher then screen power consumption.

What's more interesting - GSam battery monitor doesn't show this drain. Is it possible that battery stats are bugged?
[Galaxy S 4 i9505 Android Development] cantenna:
Install mobileactiveradiofix in xposed

---------- Post added at 09:44 AM ---------- Previous post was at 09:43 AM ----------

Does anyone know how to enable world dialer like danvdh do in his roms?
[Galaxy S 4 i9505 Android Development] hammer7t:
I got a system update notification today. LMY470.S008.160101 => LMY470.S008.160201. Size 21.7MB.
[Galaxy S 4 i9505 Android Development] SamuriHL:
I need the exact filename of the zip file as I'm not yet getting prompted for it.
[Galaxy S 4 i9505 Android Development] :
Don't do it![emoji14]
[Galaxy S 4 i9505 Android Development] dannotsys:
It would be nice if this update brings camera2 api to i9505
[Galaxy S 4 i9505 Android Development] :
No!

Security updates ONLY
[Galaxy S 4 i9505 Android Development] hammer7t:
I sent you the link to the update.zip file via PM. Thanks!
[Galaxy S 4 i9505 Android Development] SamuriHL:
That mostly helped get me what I needed which was the download link from google. Thanks.
[Galaxy S 4 i9505 Android Development] Karls0:
Can we expect new version of this rom or are you gonna skip it becouse it is just security update?
[Galaxy S 4 i9505 Android Development] SamuriHL:
I've already posted the odin image last night in my odin thread. Now the Devs in this thread need to take that and repackage it as a rom.
[Galaxy S 4 i9505 Android Development] :
Uhm well need to remove some space than ?
[Galaxy S 4 i9505 Android Development] cantenna:
Thank you
[Galaxy S 4 i9505 Android Development] SamuriHL:
Remove the older rom versions. They aren't really needed anymore.
[Galaxy S 4 i9505 Android Development] :
Well I was referring free space on phone[emoji14]doing this on my s5 Neo which had 500mb space left,

Unpacking

Unpacking

Preparing zip

Uploading

---------- Post added at 04:04 PM ---------- Previous post was at 03:53 PM ----------

Let's skip it shall we yes ?

Nooo ?? my vacation is ruined \(°^°)/

https://mega.nz/#!P5JCSBRD!qQNvIC2zcMA2cjWvmD-iQwO0usIOfW59wYsVIQIEkrs

Happy flashing
[Galaxy S 4 i9505 Android Development] SamuriHL:
LOL. I suspect it's easier for me to create and post the ODIN images. LMAO
[Galaxy S 4 i9505 Android Development] :
It was too fast release can't keep up ?
[Galaxy S 4 i9505 Android Development] SamuriHL:
LOL. It was actually a royal pain this time as the update failed on my S4 GPE. Even after flashing the previous ODIN image. I wasn't overly amused.
[Galaxy S 4 i9505 Android Development] Spluwicho:
it is flashable zip for recovery?
[Galaxy S 4 i9505 Android Development] alesu69:
yeah

#a good kernel for this rom?
[Galaxy S 4 i9505 Android Development] :
Has been since start[emoji14]

There's only one custom kernel for this version
[Galaxy S 4 i9505 Android Development] cantenna:
Thanks to both for this!! :)
[Galaxy S 4 i9505 Android Development] rapttorx:
Are the mobile data toggle and wifi (not showing the password box if accessed through the quick settings) still bugged in the last version I9505-UEUDPB1 ? Can anyone confirm ?
[Galaxy S 4 i9505 Android Development] dualmaxi:
im waiting for boot now for about 45 min :D
[Galaxy S 4 i9505 Android Development] rapttorx:
45min is not a good sign :rolleyes:
[Galaxy S 4 i9505 Android Development] leap_ahead:
Anyone can tell me if missed call notification bug is fixed ?
[Galaxy S 4 i9505 Android Development] Osmoso:
The new update booted up fine and working smooth as can be! Found the camera to work a lot better than other Roms and that's why I'm staying. Thanks for PB1!

---------- Post added at 12:48 AM ---------- Previous post was at 12:47 AM ----------

Which kernel would this be?
[Galaxy S 4 i9505 Android Development] :
Great to her , look in development section I don't know as said I don't use my s4 anymore

Did you have xposed previously installed? It can cause you to boot loop
[Galaxy S 4 i9505 Android Development] dualmaxi:
Yes, but for a while. Uninstalled after 3 min from android level. What can i do now : D ?
[Galaxy S 4 i9505 Android Development] :
Uhm try wipe data ?
[Galaxy S 4 i9505 Android Development] cantenna:
Great rom update guys! Smooth as silk!
[Galaxy S 4 i9505 Android Development] dualmaxi:
Wiped data and cache, dalvik and formatted system, then flash. And nothing. After lasy update my recovery was changed form philz to stock... Idk why
[Galaxy S 4 i9505 Android Development] :
Don't know can be due not flashing root I never got recovery reset though used twrp.

Strange that it doesn't boot for you
[Galaxy S 4 i9505 Android Development] Karls0:
Is flashing patch required as for earlier versions (e. g. 1.4) ? Or just this zip and it is all?