[ROM][GT-I9190/I9192/I9195][Official][7.1.2] LineageOS 14.1 for S4 Mini

Jo VDG

Member
Nov 24, 2014
8
0
0
Whenever i am trying to change 'Preferred Network Type' in the 'System Profiles' then the 'CyanogenMod Settings' crashes.
Anyone else have that problem or is it just me?
Since the last build (12/22) settings no longer crashes and shows a pop-up, but selecting anything but "don't change" (or whatever it is called in English) shows "null" as value.

I also miss the tile to switch profiles from the pull down menu.
 

sej7278

Senior Member
May 24, 2011
139
39
0
time to repo sync like a mofo, as even if they do continue under a new name its going to take a while before the infrastructure is in place
 

zerolaunch

Member
Jun 2, 2013
9
4
0
Gumi
Project will continue, just under a different name.
Finally, You build latest one too.
Unfortunately, I can't see this build from official download anymore, but... Thank you for your hard work.

I hope to see your next works soon.
Maybe Lineage OS? Or something others like OmniROM?

Anyway, once again, Thank you for your kindness for a long time.
 
  • Like
Reactions: jimenes

Whitest

Senior Member
Oct 6, 2011
143
60
0
I don't understand why dirty flashing merry christmas build 20161222 doesn't work for me. When flashing it gets stuck completely at step "flashing system image unconditionally" and I have to force reboot into recovery, wipe system & reflash 1210 build + gapps to make everything work again. I use latest TWRP 3.0.3-0 and downloaded build 20161222 3 times and each time the same problem. Any ideas?
 

bmwdroid

Senior Member
Mar 8, 2014
531
134
73
I've tried dirty flashing, but it made a clean install and I couldn't do anything against it.
Nevertheless, I'm glad that this phone is still supported.
I would like to change my recovery from clockworkmod to twrp for this would allow me to backup data without system.
Clockworkmod makes a complete backup with no option.
Reinstallation of all the apps is probably much easier, than building this ROM.
At least for me. :)
I've read, that the twrp does not work with nougat.
Has anybody tried it anyhow, or knows anything different?
 

DJHasis

Senior Member
Feb 16, 2015
97
185
0
33
Turku
Just a follow-up for those who are interested: 7.1 builds with -O3 and GCC 6.1 without any modifications to code. There's just a couple of makefile changes (mostly there are new compiler warnings that need to be accepted and weren't accepted before).
This is so much fun ~
Could you share your changes?
Would be nice to try what you have done.
 

Jo VDG

Member
Nov 24, 2014
8
0
0
I don't understand why dirty flashing merry christmas build 20161222 doesn't work for me. When flashing it gets stuck completely at step "flashing system image unconditionally" and I have to force reboot into recovery, wipe system & reflash 1210 build + gapps to make everything work again. I use latest TWRP 3.0.3-0 and downloaded build 20161222 3 times and each time the same problem. Any ideas?
I switched to Philz Touch for the previous major upgrade: http://forum.xda-developers.com/showthread.php?t=2463322
 

sysKin

Senior Member
Sep 10, 2013
64
54
0
Could you share your changes?
Would be nice to try what you have done.
Sure.
Add Linaro's GCC 6.1. I did this by modifying .repo/local_manifests/roomservice.xml with the following:
<remote fetch="https://android-git.linaro.org/git/" name="linaro" />
<project name="platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-6.1-linaro.git" path="prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-6.1" remote="linaro" revision="master" />
Then, make the build system use it by modifying build/core/combo/TARGET_linux-arm.mk
-$(combo_2nd_arch_prefix)TARGET_NDK_GCC_VERSION := 4.9
+$(combo_2nd_arch_prefix)TARGET_NDK_GCC_VERSION := 6.1

-$(combo_2nd_arch_prefix)TARGET_GCC_VERSION := 4.9
+$(combo_2nd_arch_prefix)TARGET_GCC_VERSION := 6.1
(linaro now has GCC 6.2 too; it was not available back then so I haven't tried it)

Second change: the kernel we have doesn't build with GCC 6 because it only has headers for 4 and 5. However, headers for 5 work for 6, so do this:
- find a file /kernel/samsung/msm8930-common/include/linux/compiler-gcc5.h
- and copy it into a file named /kernel/samsung/msm8930-common/include/linux/compiler-gcc6.h

From now on, I mostly did this: "try to build, and if something fails because warning is treated as error, change the corresponding makefile to remove -Werror from it". Occasionally I would fix the code to avoid the warning instead, especially if it's obvious that the code is faulty.

This led to a large set of changes and unfortunately at this point I don't even know which of them are necessary anymore. It's always a mess to keep track of those :(

So, here's a full repo diff I currently have. I haven't built for ~three weeks so it might be out of date. It will almost certainly contain changes that aren't strictly needed.
https://www.dropbox.com/s/d14h255masgkg2e/diff.diff?dl=0

Moreover, this diff contains some optimisation flags that are independent from GCC 6 - mostly in build/core/combo/TARGET_linux-arm.mk. You should see it's got -O3 on place of -Os, and -Wl,O1 passed to the linker. You can use them without any GCC changes.

One last thing: after using -O3, the recovery image is too large to fit on our devices. I "faked" a larger recovery space in our device/samsung/serrano-common/rootdir/fstab.qcom to avoid build errors, but the recovery image is unusable.

Hopefully this helps a bit. I always end up with a mess of changes, not remembering why I did this-and-and-that, sorry about that :/

[edit] I just remembered something: if you use CCACHE, you need to clear it (or point it to a new location) because CCACHE is not aware you're using a new GCC and would provide cache hits, returning binaries from previous GCC. Such a trap.
 
Last edited:
  • Like
Reactions: DJHasis

IronRoo

Senior Member
Aug 4, 2014
1,342
434
0
Since the last build (12/22) settings no longer crashes and shows a pop-up, but selecting anything but "don't change" (or whatever it is called in English) shows "null" as value.

I also miss the tile to switch profiles from the pull down menu.
+1
I will miss that!
I've not installed as yet (was going to over Xmas but will now wait until LinageOS is somewhat established) do you have to go into settings every time to change profiles? How many taps? Is there a better set of triggers that you can use to switch profiles automatically?
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone