yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Snapdragon)] Schwap:
oh snap... guess ive done somethin pretty wrong now...

i booted in TWRP 3.0.2., installed ur TWRP 3.0.3, after that i used Factory reset.

now i can boot into twrp but it crashes and reboots the device everytime...

i tried now to use odin and your 3.0.3 files, build .tar out of the .img file, booted in download modus and flashed those file...

still same problem, everytime i start TWRP it crashs, i cant even unlock twrp to use it with the swipe

------------

re flashed twrp 3.0.2.0 somehow...

everytime i try to install any Roms i get now errors:

Failed to mount ´ /system´ (Invalid argument)

-----------

next edit:

repaired the file system with twrp. seems to be ok, was able to install a rom without failure.

but, cant install TWRP 3.0.3 how it should be installed.

with 15 sec ADB installer it wont start in fastboot mode. (usb debug is on)

gonna try arround a bit more
[Galaxy S 5 Android Development (Snapdragon)] ochoceros:
Have you tried to flash the latest "recovery.img" with Heimdall? I've flashed it (twrp-3.1.0-cvxda.1-kccat6.img) from here and it's working ok.

HEIMDALL flash --RECOVERY twrp-3.1.0-cvxda.1-kccat6.img

Then reboot again into recovery to test the newly installed and wipe Dalvik & cache, cache, data, system and, while still in recovery, copy and flash first the ROM and then GApps ARM-7.1 pico package. Reboot and it should be ok.
[Galaxy S 5 Android Development (Snapdragon)] Schwap:
not yet tried anything with Heimdall.

got twrp 3.0.2 running and got a CustomRom installed.

after that i tried to update TWRP to 3.0.3 like Corinna mentioned.

Only way which worked for me is to boot in TWRP 3.0.2 then install image of the new TWRP 3.0.3-cvxda

now i reboot into TWRP, 3.0.3 starts.

(wierd stuff, my phone rebooted the last 3mins. everytime TWRP 3.0.3 starts. then reboot...TWRP starts...and so on. Now it stays ON)

not sure if now everything is okay tbh xD
[Galaxy S 5 Android Development (Snapdragon)] :
Maybe thats it, flash LineageOS a hundred times and it will finally boot.

If this works, I will be so happy.....
[Galaxy S 5 Android Development (Snapdragon)] Néocray:
I tried to format /system in F2FS but it keeps getting back to ext4 when flashing. It keeps F2FS while restoring a TWRP backup, but the device doesn't boot.

Is it normal?

All right, I flashed this baseband before redoing the same work day, and perfect result: no reboot, no shutdown. (I experienced a crash actually, but it was not related with our issue.)

It seems that there is some incompatibility with basebands from other firmwares. Do you have an idea what differences between basebands could create such a strange behaviour? (Or even why is there different basebands in same geographical areas like, to say it, Europe?)

Anyway, with the CQA2 modem firmware, no problem at all!

Yesterday, I made the update to 20170311 on dirty flash + Gapps and no problem.

I even succeeded in formatting /data and /cache in F2FS.
[Galaxy S 5 Android Development (Snapdragon)] Schwap:
glad u pointed me to 3.1.0, thought this would be the answer. but still a big no so far ;(

only version which does work without problems is the 3.0.2

the 3.0.3 and also the 3.1.0 do end up in bootloops, no matter how i installed them.

(in twrp itself or via odin, havent tried heimdall yet cause it wont start and seriously, im on this for 3 hours now, im pretty done atm :eek: )

dont really know what i could try now.
[Galaxy S 5 Android Development (Snapdragon)] Cosmic10:
Dont like paypal.

Donation is out, they do it in Dollar so you got a krumm Summ:)
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Something with "Setting Storage", I think.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
This is a NO-NO. Never try to change system. Only data and cache can be converted to F2FS, system must run on ext4.

Actually, no. I'm constantly puzzeled about the terrible mess the vendors create by providing so many different firmware versions for a single model.

Hmm, maybe we should update the first posting to require at least CQA2 bootloader...

Glad it works for you,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] ochoceros:
Maybe there's something wrong with your hardware. At last, try to flash the latest original firmware from Sammobile and, if everything works ok, then start over from the begining.

I've Heimdall and Zadig compiled by myself here, as I was experiencing problems with the precompiled version in Windows.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
TWRP 3.1.0-cvxda.2

I noticed that the device got hot while running TWRP 3.1.0-cvxda.1 and it turned out that all CPUs were running under performance governor, thus constantly running at maximum frequency.

The new TWRP 3.1.0-cvxda.2 switches the CPUs to interactive governor on init, so the CPUs stay as cool as possible now. Please download from my RR download site. Lentislte build available, but untested and probably disfunctional.

Have fun,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] laivu:
Twrp 3.1.0 v1 i tested fine. V2 i tested soon
[Galaxy S 5 Android Development (Snapdragon)] wilmsn:
Does anyone of you know how to increase the maximum loudspeaker volume when watching videos?
[Galaxy S 5 Android Development (Snapdragon)] gengt:
I've noticed a little problem during calls, it seems the screen isn't fully locked and sometimes the brigthness is on the lowest level, sometimes the "full" dial screen goes to the background and i have to hang up the call with the notification button, things like that. Anyone with the same problem?
[Galaxy S 5 Android Development (Snapdragon)] tiritibambix:
Experiencing exactly the same. I haven't noticed the brightness thing yet though.
[Galaxy S 5 Android Development (Snapdragon)] Schwap:
Running into same problems with the new TWRP 3.1.0-cvxda.2 version like with the other ones expect 3.0.2.0

Corinna, any chance u pm me?

guess ive found a failure but not sure, tried to reinstall the bootloader+modem.

after creatin the *.tar.md5 and tryin to apply this file to Odin i get "md5 hash not valid" or somethin like that.

i remember, i got this also the first time i updated the new bootloader and modem.

if i rename the file just to *.tar, i can flash it. it goes through without a failure, its "PASS!"

then the devices starts to reboot, all the time.

(Odin: Added!! Removed!! Added!! Removed!! and so on...)

Is this where things go wrong for me?
[Galaxy S 5 Android Development (Snapdragon)] laivu:
[MENTION=3419717]cvxda[/MENTION] you still save rr rom 5.8.1 ver 0217 for lentislte ? Please share for me
[Galaxy S 5 Android Development (Snapdragon)] ochoceros:
It seems to me like you have a bad USB cable, since Odin just have to "Added!!" and not "Removed!!" until you unplug the USB cable.

Have you tried to flash with Odin this bootloader & modem? Bootloader_G901FXXS1CQB4_Baseband_G901FXXU1CPJ1.tar. It's extracted from the latest original Samsung Firmware and it won't wipe anything. Only if you have the Samsung S5 SM-G901F!!
[Galaxy S 5 Android Development (Snapdragon)] Schwap:
hey [MENTION=7989049]ochoceros[/MENTION],

i tried different cables, but i also cant assume it to be related to those (both original samsung cables). the Added -> Removed comes only after the automatic restart after flashing of the bootloader+modem.

i downloaded today the actual NEE and also the MM1 (singapor) and extracted the needed files and created my tar.md5 files with 7zip out of it:

G901-CQB3-CPJ1.tar.md5

G901-CQA5-CPH1.tar.md5

but, like i said, if i apply them to Odin (latest version 3.12), i get an error: "md5 error! Binary is invalid"

if i rename those files to only *.tar, Odin accepts them and im able to flash them, it goes through and i get a green "PASS!"

then comes the automatic restart, which ends up in a bootloop....until i take out the battery.

(after that i tried to boot into download mode and flashed the twrp 3.1 v2 from corinna, rebooting into Recovery and then TWRP starts, i cant click on anythin, it crashes and the device restarts (bootloop again))

btw...after 3.1 crashed again, i flashed the 3.0.2....what shall i say... it works, no crash no bootloop and im able to get my backup running.

i can only assume that i might have done anything wrong creating the *.tar.md5 files (boot+modem), or maybe somethin went wrong with twrp3.1v2.img turning into *.tar.md5 (using Cygwin)
[Galaxy S 5 Android Development (Snapdragon)] ochoceros:
That's normal, no worries about it.

The TAR process is simple, just use 7zip to TAR (without compression) the following files extracted from the original firmware of your choice (the files, not the folder):

aboot.mbn

modem.bin

NON-HLOS.bin

rpm.mbn

sbl1.mbn

sdi.mbn

tz.mbn

A .tar file is created and it can be flashed via Odin without problem; I've flashed my phone with the file I told you. It was made from this firmware.

I've the latest TWRP (v2) from Corinna up and runnig without a problem.

Have you tried to use this app to identify your phone more accurately (Phone INFO *Samsung*)? Maybe you're flashing the wrong files.
[Galaxy S 5 Android Development (Snapdragon)] mindwarper:
I seem to be stuck at the same situation again and again...

I cannot seem to get builds installed newer than Feb 15 2017...

I can install TWRP 3.1.0, but as soon as the flashing of the Custom ROM zip file (e.g. your RR mode 5.8.2 buld 20170311) gets to modifying the /system (kernel???) next time I want to manually boot into the TWP recovery, the phone just exits Recovery 3.1.0 and spontaneously reboots...

I can only help by reverting via ODIN to TWRP 3.0.3... just as described here before...

Then I should try to reflash the TWRP 3.1.0 or dirty flash same ROM again (and again?)???

And does seem to matter if I reformat the internal storage too, will not do that next time, just full reset/wipe... but I think that is does not matter as the patching of the /system by the installer of the zip flasher of the Custom ROM is to be the blame for it...

Now I am on CBQ3 bootloader, and CPJ1 modem and CSC CPJ1

will try flashing the attached tar file in ODIN and tick the checkbox Phone bootloader update just in case :) and try to flash the TWRP 3.1.0 again and see what happens

Full wipe, flash the lastest RR/Lineage build and then reboot.. Phone does not go to the OS at all... Stuck at boot animation screen all the time...

I am lost now...

I even thought actually sending the phone to you [MENTION=3419717]cvxda[/MENTION] via signed for mail (I live in Netherlands), then I will revert to my mini S4 for time being...

I can do that if you want and then you can try flashing with my phone... is a tricky one and then write to me via e-mail what you did before sending it back... if that is what you want...

I have to give it some thought, because missing my main phone, is something to consider....

What else can I try??? I want to try nougat 7.1.1...

I will then try to go back to CM 13 if it is needed...

Thank you for your time!
[Galaxy S 5 Android Development (Snapdragon)] Schwap:
I followed the instructions in post #2 Lineage thread from Corinna. Should be alright then.

Havent tried ur bootloader files yet, will do tomorrow.

Downloaded the info app, but to be honest, ive no clue where to look at. I assume the product code?

(need two more posts, to provide Screenshots here)

SM-G901FZKADTM

Thank you very much for ur help!
[Galaxy S 5 Android Development (Snapdragon)] ochoceros:
Is your phone SIM locked to T-Mobile in Germany? Don't know exactly if this can be the problem, but If it is, then the last firmware released is here.

But mine is a Netherland's phone (PHN, SIM unlocked) and I'm using it in Spain with an ORL CSC ("unknown"):

My modem and baseband versions after the flash are:

And my hardware components are:

Try to find any difference to see what can be the cause of your problem, hope it helps.
[Galaxy S 5 Android Development (Snapdragon)] ochoceros:
Battery usage with updated phone

I post here my battery usage at the end of the day, enough for me:

Phone was charging all night and unplugged before 9 AM, then watched ~1 hour of video. Also a lot of web browsing during the day, bluetooth pairing (car, home speakers), ~2 hours of music playing...

The SOT was almost 3 hours and still 13% remaining:

The energy saving mode starts automatically below 15%, but the normal setting is efficiency. I can go all day with one charge without problem :good:

Edit:

4 hours later, the battery drainage is only a 2% more, because of energy saving mode, Greenify and L Speed:
[Galaxy S 5 Android Development (Snapdragon)] Schwap:
[MENTION=7989049]ochoceros[/MENTION] no, no Simlock active. checked before tryin. + the screenshots looking pretty similar expect bootloader was another version. same hardware etc as urs.

But FINALLY:::

Flashed your bootloader via Odin using BL

reboot into Download Mode

flashed corinnas twrp 3.1.0 v2 via Odin using AP, disabled Auto-Reboot.

After flashing PASS! i waited a bit and rebooted (device off/battery) into Recovery... NO CRASH!

wiped Dalvik + Cache.

Restarted the device into OS, check! no problem!

Restarted into recovery, check! no problem!

built a backup without any problems!

holy cow.......

PLEASE let me understand this cause i really went nuts on this.

What the heck did i do wrong, or went wrong all the past days?

Did i just take wrong files?

CQB3-CPJ1

CQA5-CPH1

or might those be corrupt? like i said, i used corinnas tutorial on #2 lineage thread and got the

firmware downloads via "SamFirm".

i think i flashed the bootloader+modem all the time via AP, might that be the problem?

im really really happy atm, cant thank you enough [MENTION=7989049]ochoceros[/MENTION]

ill reinstall the whole os today/tomorrow if i get some spare time :)

[MENTION=8122091]mindwarper[/MENTION] try to use ochoceros bootloader and modem files and let us know if it works for u too
[Galaxy S 5 Android Development (Snapdragon)] mindwarper:
I will try that later tonight when I am back home...

For now I am already using indeed BL CBQ4 and modem CPJ1 :)

I am now using CM 13 again :(

In vdnguyen Phone Info app I can see my BL is indeed CBQ4 and CPJ1 modem...

Will try Flashing TWRP 3.1.0 again soon from Odin (manual create tar file with TWRP recovery img file after rename to recovery.img)...

I do not understand what is going on for me no clue

EDIT:

What I can see:

ochoceros' device is SM-G901FZBA

my device is SM-G901FZWA

Maybe that is it? Maybe my device is newer and makes the issue for me, but not for others....

Maybe [MENTION=3419717]cvxda[/MENTION] can tell us with her now two SM-G901F devices...
[Galaxy S 5 Android Development (Snapdragon)] Cosmic10:
Hello

Sudden Shutdown this morning when changing from flight mode to wifi.

I´m on 03.11. and kccat twrp cvxda 2

Greetz
[Galaxy S 5 Android Development (Snapdragon)] ochoceros:
I'm glad to help you, but I think the step that helped you more was wipping Dalvik + Cache. Maybe your download or .tar file was corrupt or incomplete?

And I writed new Corinna's recovery.img from my previous TWRP, using Install ==> Image, not via Odin.
[Galaxy S 5 Android Development (Snapdragon)] mindwarper:
now the 3.1.0.v2 recovery seems to work fine :)

thanks for the tips lol :)

ok now the recovery is OK, but now the LIneage OS ROM istself now at least newer than 15 Feb 201.7.... want to have that running...

Tried that now several times, but I have still same symptom.... boots up and gets stuck on boot animation screen... tried dirty flashing same ROM 2 times already, maybe have to try severak more times. Don't know really
[Galaxy S 5 Android Development (Snapdragon)] :
This is the Log of what happens when the ROM fails to boot up

https://xdaforums.com/showpost.php?p=71302291&postcount=365

It just stops after the last line in the logcat
[Galaxy S 5 Android Development (Snapdragon)] ochoceros:
Instead of dirty flashing do a backup of your data (if needed) and then, from recovery, wipe system, data, cache, dalvik cache, boot... everything but recovery. Without rebooting the device, connect it via USB to a computer (while in recovery) and then copy from computer to phone the LineageOS.zip and the Gapps.zip. Flash both zips (first ROM) and then reboot. Everything should be ok this way.
[Galaxy S 5 Android Development (Snapdragon)] gillus66:
Probably a wrong broadband issue. Read previous posts to find out how this can be fixed. A link to a good CP is provided on dl.free.fr. Just flash the tar file with odin, wipe cache+Dalvik and reboot.
[Galaxy S 5 Android Development (Snapdragon)] Schwap:
was happy too early....

today i made a full wipe, after that i tried to flash the RR Rom from scratch.

Failure.

after that i was able to boot into TWRP 3.1.0v2....and guess what happened... it crashed.

like it was the past days, same crap!

tried to reflash the bootloader provided by [MENTION=7989049]ochoceros[/MENTION]

flashed the twrp 3.1.0v2, and still same bullsh!t.... crash, reboot, crash

reflashed ochoceros bootloader, flashed TWRP version 3.0.2...... WORKS -.-

im restoring an backup now and hope it will be ok for now.

im really gettin upset atm
[Galaxy S 5 Android Development (Snapdragon)] ochoceros:
Battery usage (low) with updated phone

In comparision to previous post, this is the battery usage when the phone usage is low.:

After 25 hours, there's a 40% of battery remaining, with Wifi, BT, location, data, etc... all ON.

The SOT usage was only of 55 minutes:
[Galaxy S 5 Android Development (Snapdragon)] schwatter:
I flashed this modem but my baseband still show CPJ1 not CQA2 ?
[Galaxy S 5 Android Development (Snapdragon)] gillus66:
That's because I mistook the version in my post... Modem is CPJ1, not CQA2. But if you flashed the 2 files with ODIN (modem.bin and NON-HLOS.bin) you end up with the good version, same as corinna and all those random reboots should go away.
[Galaxy S 5 Android Development (Snapdragon)] Vicky_666:
Error flash in twrp.i can't flash in my g906L bro.please fix this
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
No bro here.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Resurrection Remix 5.8.2 20170319

New Resurrection Remix build for kccat and lentislte.

Lentislte users: Note that this new build requires a MM bootloader. I suggest to use the latest CPL1 since that's what I tested this with.

Have fun,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] Vicky_666:
Error flash in twrp,i use cpk2 .can give me tutor for flash?before flash this rom i use kyuby rom note 5 port.i'm use g906L
[Galaxy S 5 Android Development (Snapdragon)] nguyendinhlinh:
Issue

when i using twrp-3.1.0-cvxda.3-lentislte to install.

select sd card > slide folder list down to bottom > twrp auto restart.

G906S/ bootloader CPL1

---

edit:

i think i know why. in bottom of folder list, there is a folder with VIETNAMESE name
[Galaxy S 5 Android Development (Snapdragon)] Vicky_666:
Where i can find xposed fit this rom??
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
What about actual details, so that somebody not looking onto your display can help?

*What* error do you get?

If it's just two "[log] blah" messages in red, you can ignore them. This occurs with all Nougat ROMS with older TWRPs.

I'm pretty sure it's not your model, lentisltelgt should be supported by this ROM. It's basically the same as lentisltektt, just with a very slightly different stock kernel for some weird reason (looking through it it just looks less well maintained).

As for flashing, you didn't say what you want to flash. We have a detailed description how to flash.

Flashing a new TWRP is as easy as going into download mode, run

$ heimdall flash --RECOVERY twrp-3.1.0-cvxda.3-lentislte.img --no-reboot

plug the battery and reboot into recovery. A description for the klte sister device works just as well for us (except for the different twrp image).

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
There's no xposed yet for Nougat ROMs

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Works for me, but I don't have a vietnamese filename on my sd card. Perhaps there's some generic problem with locales in TWRP. Do you know the vietnamese locale? Is it vi_VN, perhaps?
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
I created a file with a non-ASCII character "ツ" on the sdcard, and it works for me, too. Hmm.

Edit: I read up on Quốc Ngữ and learned that the scripting has no dedicated utf8 codeblock, but is spread over Latin-A and other blocks. So I tried additional filenames like "äöüß" from Latin-A, as well as "", U+1f338, to get something high up in the utf8 codeset.

However, all those work fine for me on twrp-3.1.0-cvxda.3 for lentislte on my G906S test device. Especially given that the external SD card is mounted as vfat FS with codeset ISO-8859-1, which keeps all bytes simply untranslated, and TWRPs file manager does not show non-ASCII chars but prints them as question marks by default.

No, sorry, I have no idea what's the problem on your sd card.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Btw., for those not following the LineageOS thread for our devices, I'd like to point out

https://xdaforums.com/showpost.php?p=71425896&postcount=422

It's fun to work on this stuff (not always, though), but it would be nice to share the burden a bit.

Thanks in advance,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] gillus66:
Corinna, please remind us your email address where to send you donation via Paypal.

I'm pretty sure lot of people here will contribute because running your RR ROM on a S5 is like paying for a new zippy phone :)
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Just click on "Donate to me" :)

Well, that's in desktop browsers. In a mobile browser you'll find it in the menu opening when tapping on the user name of a posting.

Thanks,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] gillus66:
Oh, OK. I'm indeed using my mighty S5 LTE running RR and couldn't spot this. Danke.
[Galaxy S 5 Android Development (Snapdragon)] nguyendinhlinh:
It only happens for the first time I boot to twrp and install rom.

Whenever I slide down, twrp restart.

But second time it worked. And folder with Vietnamese name, Vietnamese character turn into '???'

"Tập tin ghi âm" => "???p tin....."

And message confirm of twrp be like:

"Would you like...?" => "???old you like...?"

Anyway, second time it works fine.

--

yes! the vietnamese locale is vi_VN.
[Galaxy S 5 Android Development (Snapdragon)] Ridnarhtim:
I finally got round to swapping over from CM13 and wow, what a difference. Battery life, responsiveness, stability and customisability are fantastic. (Admittedly, some of that may be due to just doing a clean wipe as well)

Thanks for all your work bringing this to my slightly obscure phone, cvxda :)
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Yeah, replacing non-ASCII chars with question marks is normal.

What action are you trying to perform when this "Would you like ..." message is printed? I'd like to see if I can reproduce this.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] nguyendinhlinh:
When reboot system from twrp, and it ask me to download twrp app? I don't remember clearly. I was unchecked and it didn't display again.

anyway, i found an other message. (Attach Files)
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
This is bizarre!

The "Encrypt your backup?" text looks completely normal on my G906S and I don't have this weird folder. However, this folder name just below "System Volume Information" looks like a repetition of "System Volume Information". I have a vague feeling this might be related to the way FAT filesystems store native language information and/or deleted folders. I wonder if it's a side effect of the (stock) OS using different names for folders in some languages.

A few questions:

Does this folder actually exist? Can you change into it?

Does this folder show up in the OS file manager? If so, how is called there?

Is that SDcard FAT32 or exFAT formatted?

Thanks,

Corinna