yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Snapdragon)] mindwarper:
Stuck at newer builds again and again....

Hello [MENTION=3419717]cvxda[/MENTION],

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...

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...

For information I used before that to flash BootLoader (BL) CQA7 (PHN based) and modem (CP) CPJ1 (NEE based) and CSC NEE CPJ1 and Userdata/System (AP) CQA7 (PHN based) with Odin3 3.12...

EDIT: now I am on CBQ3 bootloader, and CPJ1 modem and CSC

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... Will Samsung also give the S5 a 7.x update anyway?

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)] ruchern:
Your CBQ3 Bootloader may be too old to use with Android 7.1
[Galaxy S 5 Android Development (Snapdragon)] mindwarper:
This cannot be it... am now using Bootloader CBQ4, and the situation is still the same... :(
[Galaxy S 5 Android Development (Snapdragon)] :
Exact same issue for me. It seems like a rare once off problem but, Flashing Repair Firmware dosen't work but it did change my Splash Screen which seems like changing Splash Screen on S5 (Snapdragon) is possible, but that's for another thread.
[Galaxy S 5 Android Development (Snapdragon)] mindwarper:
Interesting and a bit disappointing, that we are stuck in the same boat here...

What i did try to investigate was the device info in Phone info app by vdnugyen...

mine is SM-G901FZWANEE in the other SM-G901F RR thread other person has a SM-G901FZBAPHN

have also seen some SM-G901FZKAPHN ones

maybe this is relevant somehow?

I have no idea...

Maybe I will start looking for different phone and/or try this weekend some more..
[Galaxy S 5 Android Development (Snapdragon)] :
It isnt because I have SM-G901FZBAEUR after flashing a Greek stock rom and LineageOS still wont boot on my phone.
[Galaxy S 5 Android Development (Snapdragon)] mindwarper:
Aha thanks for the clarification... but the ZBA string remains the same, that is what got me thinking...

But since I you are experiencing the same as I have been the past week, this must not be the factor...

dirty flashing does also not work...

I am now doing this for last 2-3 days to no avail...

Will also stick to TWRP 3.0.3 for now, as it is stable for me...

I give up.... Will try 20170215 build for now, if I don't like it, will see what I will do...
[Galaxy S 5 Android Development (Snapdragon)] :
There were alot of big changes from 20170215 to 20170217 because 20170215 is 365MB

while 20170217 is only 348MB

I might be able to fix this issue for everyone if I was to obtain changes applied to both builds [MENTION=5876638]xamio[/MENTION] [MENTION=3419717]cvxda[/MENTION]

Maybe its something to do with the Snapdragon Processor itself.......
[Galaxy S 5 Android Development (Snapdragon)] Stamgastje:
Note that file size doesn't say everything... Could also be that [MENTION=5876638]xamio[/MENTION] switched to another compression scheme, or included an extra app or so.

You could have a look at the git repositories which are linked to from the download pages (by xamio & cvxda) to get some hints.
[Galaxy S 5 Android Development (Snapdragon)] :
That still tells you that something changed.

Maybe if it were a different compression scheme, The system has a problem with decoding it into the full image. If it was a extra app, something would have appeared in the log for my phone not to boot. But it is the kernel.
[Galaxy S 5 Android Development (Snapdragon)] Stamgastje:
I'm also not arguing that nothing changed. ;)

Can you see the kernel versions of the two images (e.g. using logcat)? If I remember correctly, xamio switched between kernel branches around that time. This may provide a hint on where the problem is.
[Galaxy S 5 Android Development (Snapdragon)] :
Thanks for the hints, I will try to fix this.
[Galaxy S 5 Android Development (Snapdragon)] Vicky_666:
error flash twrp

I try this rom but always error flash in twrp.can you help for tutor?
[Galaxy S 5 Android Development (Snapdragon)] ruchern:
He did switch the kernel branches. However, after building the ones on 3.10.101, the ROM could not boot and thus he did not upload them for us to download.
[Galaxy S 5 Android Development (Snapdragon)] Gracek99:
LOS is the most fastest ROM I've ever tested but I dont like the clean android
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
TWRP 3.1.0-cvxda.3

New TWRP build 3.1.0-cvxda.3 available for kccat6 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)] cvxda:
LineageOS 14.1 20170319

New LineageOS 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)] cvxda:
So far I got two donations of 50 USD combined.

I'm not trying to make money out of this project, but given the countless hours hacking and testing, and given I paid ~600 USD in test devices this is a teeny little bit disappointing...

Corinna
[Galaxy S 5 Android Development (Snapdragon)] bud7dha:
Donation sent. Thank you. Will test new TWRP and rom in 2-3 days.
[Galaxy S 5 Android Development (Snapdragon)] Vicky_666:
Horaaaayyyy.....i'm flash latest version for g906s ise bootloader mm and succesfull.thx thx thx very much for make rom. I love this rom.keep update^^
[Galaxy S 5 Android Development (Snapdragon)] mirkolo:
good day

Dear Mr Mss Corinna.

600 USD in test devices ?
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
https://xdaforums.com/showpost.php?p=71425896&postcount=422

Corinna
[Galaxy S 5 Android Development (Snapdragon)] mirkolo:
thanks so and everything more clear
[Galaxy S 5 Android Development (Snapdragon)] Remigiuszb:
Great ROM, and awesome JOB! But I have a several issues:

- Screen share for QuickSupport TeamViewer (Samsung) not working

- Xposed modules are not ready for LineageOS, do you know any alternative for YouTube Background Playback?

- I am unable to install any of ADBlock for Apps.

Thanks Gents.
[Galaxy S 5 Android Development (Snapdragon)] stanley.tweedle:
USB Problem with lineage-14.1-20170319-UNOFFICIAL-kccat6.zip

I just flashed the 20170319 version and seem to have USB problems. The device doesn't show up in My Computer any more, and in device manager, device "SM-G901F" gets a yellow flag after some seconds with error message "The process hosting the driver for this device was shut down".

Wenn I boot to recovery, everything is okay.

Can there be a problem with that ROM? I just thought I'd ask before reverting to 20170301.

Best wishes

Peter
[Galaxy S 5 Android Development (Snapdragon)] ruchern:
Check your USB Debugging mode if it's switched on.

---------- Post added at 01:31 AM ---------- Previous post was at 12:34 AM ----------

Android O Preview (8.0)
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
I can confirm that USB MTP is broken at the moment. I managed to revert a kernel config setting by accident which just breaks MTP :p

Thanks for the report. I'm using `adb push/pull' rather than MTP so I just didn't notice this.

I try to upload new ROMs tomorrow.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
LineageOS build 20170321

New LOS builds for kccat6 and lentislte.

Those are basically the same as 20170319 with the accidental breakage of USB MTP reverted.

On another note, I initiated the process of getting kccat6/lentislte into Lineage officially. So far I didn't get a lot of feedback, but stuff like that takes time.

EDIT: Snap camera is removed from this build again. Given that it tends to screw up taking pictures with flash, the official LineageOS device tree will start with Camera2, which is simpler but "just works", apparently.

Have fun,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] satcom886:
Great news! I was just about to ask you if you are planning to get this ROM to the OFFICIAL state. Keep up your great work! I'm thinking about giving you a donation...
[Galaxy S 5 Android Development (Snapdragon)] Vicky_666:
View attachment 4084712

Can i resize this notification status bar?too large for me:rolleyes:
[Galaxy S 5 Android Development (Snapdragon)] kccat6:
Is there a way to regulate vibration intesity??

I have updated from buld 27.02 to 21.03 today and since then my phone vibrates pretty heavy everytime I touch it :D

Btw thank you for this great work!

Best rom for the kccat6 so far!!
[Galaxy S 5 Android Development (Snapdragon)] Bastlwastl2010:
After a long time i put out my s5+ from the lower drawer and install these LOS build...

First trap was heimdall on ubuntu 16.04 to update the modem and bootloader

The files in the ubuntu repository don work. It is version 1.41, connect to the phone, but gives an error by downloading the pits..

So, i download from source, compile it myself and its works.

Update TWRP with the latest version from cvxda, works..

Install LOS from sdcard....works Hurray i have a new, very fast phone.

But one thing, so i can not works with it:

The battery draining, if display is on is horrible

Most of the time 2 or 3 cores run at fullspeed and the phone get really warm, not hot.

I dont make any changes at the standard kernel settings.

Doze mode works fine
[Galaxy S 5 Android Development (Snapdragon)] ruchern:
I actually tried doing that but received no response. It's going to take a while.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
The device and kernel repos have been merged into Lineage today, the vendor repos into TheMuppets.

I'm not yet sure how and when the first official build will be done, but it seems I still have to perform some groundwork. Stay tuned.

Edit: For those following the repos in my github account, I will rename the existing repos (and probably delete them at one point). After that, I will fork my own repos from the LineageOS/TheMuppets repos, so my private stuff will just be for work on upstream.

Ideally, you drop your forks of my repos and fork the upstream repos instead if you need them.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] schwatter:
Perfect :D many thx, donated.
[Galaxy S 5 Android Development (Snapdragon)] tentator:
Ciao Corinna!

Great work here I've to say. Newly wanted to move to LinOS 7.1.1 also with my beloved S5+.. so far I have seen in your last build issues just about a couple of shutdown without restart per day.. camera instead seem to work fine (front and back one) so not sure about complains I read about it.. also battery drain seems ok i

EDIT: I reflashed latest nordic modems and brighness automatic control seems fine now.. still a bit low maybe?
[Galaxy S 5 Android Development (Snapdragon)] :
You see, the only problem with this is that the latest Lineage doesn't boot on my G901F, Nevertheless, outstanding work and we wouldn't be here without you, [MENTION=5876638]xamio[/MENTION] or the original CM Porter to our device.

Next up, It's AOSP time xD
[Galaxy S 5 Android Development (Snapdragon)] ruchern:
Actually I consider to drop the repo completely, at least for the kernel one. I have that weird dirty directory immediately upon repo clone and there is no fix around it.

---------- Post added at 10:28 PM ---------- Previous post was at 10:27 PM ----------

LineageOS is AOSP isn't it?
[Galaxy S 5 Android Development (Snapdragon)] :
Yes but if we make it compatible with the Android Open Source Project instead of LineageOS, we can make other ROMs.
[Galaxy S 5 Android Development (Snapdragon)] Stamgastje:
I just donated. Thanks for all the hard work!

Would it make sense to add a donate button to the topic start? (I had so far overlooked the donate button in your profile).
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Well, it works for others, so I have no idea what could be wrong on your device. Did you try to install from scratch? Do you have a CQA2 bootloader or later?

Having said that, there may be a problem. I had to change the kernel at one point specificially to make the lentislte boot with a MM bootloader. Assuming there are multiple board versions of the kccat6, this may break the bootprocess on those kccat6 devices.

Edit: On second thought, this is very unlikely.

Under the assumption you tried what I wrote two paragrapsh above, I can create a test kernel with this change disabled on kccat6. I would then provide you with a boot.img file which you can easily install for testing with

heimdall flash --BOOT boot.img

Not for me.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] :
Testing the latest version of LineageOS using CQA2, doubt it will boot.

I will test out the lentislte-MM compatible kernel and if things don't work, I will try your kernel.

Once this works, I think I will try to Port this device to AOSP, AOKP, etc.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
You misunderstood. The kernel in the latest LineageOS build is the lentislte-compatible kernel. The source is the same anyway and they are just not exactly identical after build due to some #ifdef's to account for bootloader differences between kccat6 and lentislte.

Edit: There are a few more differences. Battery handling is one of them.

Don't try to boot the actual lentislte kernel. It might work (the kccat6 seems to be much less finicky than the lentislte), but there's no guarantee. If the latest kccat6 ROM doesn't work for you even with CQA2 or CQB3 bootloader (and clean flash), then I can create a test kernel for you explicitely.

Shouldn't be much work, but good luck all the same.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] :
I know, I probably phrased that wrong,

The good thing is that my Original Firmware from EVR has been updated a few days ago so I am installing CQB9.
[Galaxy S 5 Android Development (Snapdragon)] :
Yeah, The latest build from 21-03-2017 dosen't boot, Stuck on the boot animation.

---------- Post added at 02:57 PM ---------- Previous post was at 02:28 PM ----------

References:

https://github.com/github-cygwin/ORIG-android_kernel_samsung_apq8084/issues/1

https://xdaforums.com/showpost.php?p=71557694&postcount=507
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
LineageOS boot animation? Not earlier when the Samsung logo is still shown? Then it's not the kernel hanging, in theory...

I'm trying a clean flash of the 20170321 build on kccat6 myself now. I wiped data, cache and dalvik and only installed the LOS package itself. However, OpenGapps 20170213 and LOS addon-su package are still installed, of course... hang on... booting takes time... there it is, asking for my SIM PIN.

Is it possible that the gapps package on your system has a problem? That wouldn't the first time, actually, there was quite an uproar on the klte thread a couple of weeks ago, when the OpenGapps packages were broken for a few days.

Other than that, the only difference I can think of is the filesystem. Did you wipe cache, dalvik and data? Do you use ext4 for cache and/or data or f2fs? Can you try both? I'm running fsf2 for data and cache on one kccat6, ext4 on data and f2fs on cache on the other.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] :
1. New AOKP Build might be up in a few hours (Unofficial of course, courtesy of me xD).

2. I tried everything, The only builds that work are 15-02-2017 and lower.

3. Upon Investigation, I installed the kernel from 15-02-2017 on a new build and it worked but of course stuff such as WiFi were broken.

4. Using Kernels from a build newer than that doesn't boot.

5. There is a error in LineageOS/android_device_samsung_apq8084-common/lineage.dependencies is missing a comma at Line 9 and Column 4.

(I tried to commit this small error but it isn't working for now but that's for another thread)

Edit: 6. The Data and Cache Partition's aren't being populated when it is stuck on the boot animation.

Other than that, Here we Gooooo.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Cool!

I don't grok that, sorry. Do you still want to test another kernel?

Thanks, I applied a fix upstream.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] :
Me neither, Yes please.
[Galaxy S 5 Android Development (Snapdragon)] :
AOKP was so easy to build. I just needed to create one file. Don't think it would boot for me so waiting for the test kernel. I've never tried this OS out so I am super excited.

Host: Google Drive

Download Link: https://drive.google.com/drive/folders/0ByDMAv5EZq0JMGp4eE1RWkZscnM?usp=sharing
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
https://cygwin.de/lineageos/kccat6/boot.img

md5sum: b48250bc12bbc44952547fce35a23e45

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
I tested this right now and it works fine for me :)

Looks like the future for the kccat6/lentislte doesn't look so bad, after all ;)

Edit: Are you going to create your own thread? If you're willing to maintain this AOKP build for others, I think this would make a lot of sense.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
FYI,

the amount of donations is at 195 USD, so now one of the test devices has actually been paid by the community :)

Thanks to y'all,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] :
Still Not booting........

The build boots from 15-02-2017 AND lower so that might give you a hint.

---------- Post added at 07:48 PM ---------- Previous post was at 07:45 PM ----------

I don't think I will be able as I am always switching between Ubuntu, Windows and OS X(I use a Mac).

But I'll think about it
[Galaxy S 5 Android Development (Snapdragon)] mindwarper:
Sorry tot respond late...

I have exactly the SAME situation with my SM-G901F....

Does not boot and is stuck on boot animation screen of LineageOS for builds newer than 20170215...

So I will try to follow any developments on this matter with great interest...

I will want to try newer kernels yes please ;)

---------- Post added at 21:21 ---------- Previous post was at 21:13 ----------

I will try later tomorrow maybe or later... But if Liam says does not boot... Okay I will try to follow any developments on this matter...

I will make donation soon...

Where can I find info again to do so?

This project does need all the support it can get...
[Galaxy S 5 Android Development (Snapdragon)] :
For Now, I think I'm just going to maintain a Github repository for Building AOKP, It's Bare but it should do.

https://github.com/liammendes/aokp_device_samsung_apq8084
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Unfortunately not. It's a different kernel base.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
I don't know what to do there. I have two kccat6 and one lentislte device and all three boot fine with

the latest kernel. Did you try to wipe everything, data/cache *and* system?

Does this help? https://xdaforums.com/showpost.php?p=71511449&postcount=487

Thanks,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] :
Yes I tried wiping everything as well.

It is only me and [MENTION=8122091]mindwarper[/MENTION] who has this problem. As [MENTION=2763012]ruchern[/MENTION] said in previous posts, between 15-02-2017 and 17-02-2017, he did switch kernel branches or something.
[Galaxy S 5 Android Development (Snapdragon)] mindwarper:
Exactly that is the issue here too...

I might consider sending my SM-G901F to Corinna by post if that is viable...

But that would leave me without a decent phone (can use a GT-I9195 s4 mini)...

Thanks for donation info, will do so tomorrow
[Galaxy S 5 Android Development (Snapdragon)] :
Its so bizarre that it is only happening to the both of us. I cannot get my head around that. Samsung Galaxy S5 Plus, They're all the same right?

---------- Post added at 10:52 PM ---------- Previous post was at 10:48 PM ----------

I am going to start making contributions to the LineageOS Community. That said, I heard that before coming official, LineageOS for kccat6 used to do Random Reboots due to a LTE problem. Do you know any links for a commit that can help me fix these or any tips. I am building for my Friends Huawei Y6 (scale) as well. Thanks for your continuous support
[Galaxy S 5 Android Development (Snapdragon)] LOLO-Sbd:
Hi,

I've followed all steps and I've created an Odin file with only bootloader and baseband images.

Where I put this file in Odin ? AP? BL?
[Galaxy S 5 Android Development (Snapdragon)] :
BL

---------- Post added at 10:11 AM ---------- Previous post was at 10:10 AM ----------

I don't think it matters as long as its in either AP or BL. Because Odin maps the partitions to the files automatically
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
I wouldn't mind to get my hands on such a device, but this isn't feasible for two reason.

You would have do without your device for an indeterminate amount of time. There's no guarantee this problem can be fixed by just laying hands on the device.

I'm not sure I'd like to be responsible for your device. What if I brick it for some reason?

We should probably go with something not involving shipping devices:

Start from scratch, install a complete stock system, bootloader, modem, recovery, the complete set. Use a known-to-work firmware. Make sure it works and enable ADB USB debugging in the developer options.

Install TWRP.

Go into TWRP and install the latest LOS build.

Now reboot and try to catch a logcat via

adb logcat | tee log.out

Put the logcat on some site where I can download it.

In terms of the kernel, what happened was a switch to a new kernel. Twice. In Mid-February the new kernel was based on the latest stock kccat6 kernel with only required patches on top to make it work on kccat6. Then patches to make it work on lentislte were added. Either way, this is the kernel which stopped working on your device already, so the next step is not the problem. In March I restarted with a kernel based on the latest stock Samsung lentislte kernel and worked my way up from there, this time adding the kccat6 changes to the lentis kernel. This is the now official kernel which should work on both devices.

Given that this kernel is an original Samsung kernel which works on lentislte and almost all kccat6, the problem with this kernel in booting LOS is not a generic problem. I mean, it's probably not SELinux related or something like that.

We can do two things at this point:

Bisect the kernel and see if some change introduced the incompatibility with your device.

On a hunch, I wonder if your devices are running on a different board revision and there's a subtil difference in behaviour which was handled by the pre-Feb kernel but not by the original Samsung kernel (or vice versa, who knows?) For a start, boot into any system that works for you and check the "Revision" information in /proc/cpuinfo. My kccat6 devices are both revision 0002, the lentislte is revision 000a.

Corinna