yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] rav3n_pl:
This is fun:

- installed (full format, incl. gapps and magisk)

- added account

- installed some apps (browser and stuff)

- added pin and 2 fingerprints

- enabled local terminal

- su, setenforce 1

- fingerprint stopped working

- pin code incorrect

xD

Reboot - PIN works, fingerprint works.

su, setenforce 1

oops, I did it again D:

Anyone can confirm? D:

How we can have selinux set to enforce?
[Miscellaneous Android Development] heineken78:
raven? selinux I haven't finished it yet.
[Miscellaneous Android Development] rav3n_pl:
Good to know, add this to OP :)
[Miscellaneous Android Development] xixuluo:
Hey sir, which twrp should i choose?
[Miscellaneous Android Development] izmenoff:
Thanks for nice ROM!

How I can activate Super SU?

And is it possible to increase vibration on sensor button?
[Miscellaneous Android Development] heineken78:
a) flash magics 20.1 in twrp

b) Kernel adiutor (from MP)
[Miscellaneous Android Development] Archcy:
Hi, heineken.

I have a question here.

When I use latest LOS, the model of my phone is "Sharp Aquos S2 4/64".

I know linux use "/" as directory path, will that cause troubles when U mount mtp to a linux PC?
[Miscellaneous Android Development] heineken78:
Devoc name is other. Nick is not used for linux mounts. So just for bla-bla)
[Miscellaneous Android Development] rav3n_pl:
Flash boot.img via fasboot, then boot to it. It contains proper TWRP.
[Miscellaneous Android Development] amiali:
[MENTION=1611492]heineken78[/MENTION]

I installed rom pixel gsi but no screen nav bar button

I've tested other gsi roms have the same problem
[Miscellaneous Android Development] iiandrusii:
I think battery life on 171119 was better.
[Miscellaneous Android Development] iiandrusii:
the screen saver does't work when battery is charging - just dimming. possible it is somewhere in the settings but I did't find it.

271119
[Miscellaneous Android Development] heineken78:
Screensaver is in Display options, there you find ALL SETTINGS AND IT WORKS.
[Miscellaneous Android Development] iiandrusii:
usb tethering doent work.
[Miscellaneous Android Development] Spox5:
How I can download LOS17.1? When I click download LOS17-aquos-s2-s3-unofficial-281119.2.zip I see page "410 Gone nginx" :(

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

Update

I think the problem was on the XDA side, because now I can download the ROM normally.

______________

Update 2

I install LOS17.1. When the system started, I changed the settings. Then I turned off the phone and connected to the charger. The battery charging icon is displayed but the phone cannot be turned on. I disconnected the phone from the charger and the battery icon is still displayed. The phone does not respond to any buttons :(

How to turn on the phone?
[Miscellaneous Android Development] heineken78:
up+power
[Miscellaneous Android Development] Spox5:
I check vol up + power, vol down + power and only power. The phone still shows the battery icon. I tried with the cable connected and without it. I even held it for a few minutes. The phone does not respond at all.
[Miscellaneous Android Development] elitemovil:
Kernel Shark (Sharp Aquos S2 4/64)

First of all, I want to thanks heineken78 for the magnificent work done for our Aquos S2. Thanks to him, I have been able to compile the kernel with improvements to be able to enjoy the Aquos more.

I have incorporated several improvements to the kernel, it is beta version but stable.

Characteristics

:

- Energy Aware Scheduling (EAS)

- WireGuard

- CPU Hotplug

- Always Upstream with Latest Linux Stable

- Support Android Q

- UV CPU/GPU

- Vibration control

- Fsync: on/off support

- USB Fast Charge

- Vibration intensity control

- KCAL color control

- K-LAPSE Control

- Display Backlight (Max & Min)

- Sound Control (Microphone & Headphone Gain)

- Wakelock: Boeffla Wakelock Blocker

- Adreno Idler

- Adreno Boost

- I/O schedulers: noop, deadline, cfq (default), anxiety, bfq, sio

- CPU Governors: schedutil, schedutil_blu, interactive, powersave, performance

- GPU Governors: spdm_bw_hyp, bw_hwmon, venus-ddr-gov, msm-vidc-vmen, msm-vidc-ddr, bw_vbif, gpubw_mon, msm-adreno-tz (default (with adreno_idler patch by Arter97)), cpufreq, userspace, powersave, performance, simple_ondemand

- More improvements

Contributors

@elitemovil

@Heineken78

@Okta. Pra A

ROM Firmware Required: Lineage OS 17

Based On: Linux Kernel 4.x

Device sources: here (Heineken78 Device Tree)

Source code with patches and tweaks: Shark Kernel

Version Information

Kernel: Linux 4.x

Status: Beta

Current Version: 1.1

Beta Release Date: 2019-12-06

SmartPack-Kernel Manager

App controller kernel

Instructions:

1st Backup your boot.img with TWRP.

2st Installation via TWRP. Not containt TWRP, only zImage (Kernel).

3nd Magisk Installation. (It is lost when installing the kernel)

4rd install app Smart Kernel Manager to modify kernel parameters.

** I am not responsible for damages caused by using this kernel.**

​
[Miscellaneous Android Development] heineken78:
Hey, maybe you need my latest sources? ?
[Miscellaneous Android Development] elitemovil:
I will upload the fonts with the patches. It would be nice if you gave them to me. Thank you I appreciate it.
[Miscellaneous Android Development] Lovetz:
Hi. Thanks for your kernel. How it can be installed? Should I use TWRP, SmartPack-Kernel Manager or Magisk for installation procedure? Is it contains twrp or Magisk?

Can you explain in the language of the layman what are the advantages of your kernel compared to the one that Heineken offers?
[Miscellaneous Android Development] elitemovil:
Hello Lovetz

Instructions:

1st Backup your boot.img with TWRP.

2st Installation via TWRP. Not containt TWRP, only zImage (Kernel).

3nd Magisk Installation. (It is lost when installing the kernel)

4rd install app Smart Kernel Manager to modify kernel parameters.

Advantages:

- Core control

- Updated, fast, smooth.

- Low battery consumption
[Miscellaneous Android Development] Lovetz:
Thanks for yor answer. Will, after installing your archive, TWRP also disappear, like a magisk?
[Miscellaneous Android Development] elitemovil:
No, only the root permissions disappear. The Magisk .zip is reinstalled after installing the kernel and fixed.
[Miscellaneous Android Development] Lovetz:
I flashed your kernel yesterday. Some observations:

1) When the "night mode" is on, the hue itself can change from red to blue (mostly happens when kernel adiutor in On)

2) When hdr+ is ON google camera does not save pictures (in the latest version of the kernel from Heineken, this is solved)

3) The screen tint in the normal mode is warmer than before I flashed your kernel.

4) Wireguard works.

Autonomy must still be observed, while these are the numbers. I hope you take advantage of the Heiniken proposal and make a new version of the kernel in the latest sources. Thanks for the work.

P.S. one more thing: the phone turns off completely when it reaches 10% battery power.
[Miscellaneous Android Development] paulzie:
+1. Could also compile a SAT kernel then too.
[Miscellaneous Android Development] Spox5:
The phone was in a drawer for three days. During this time, the battery icon shows approximately 50% of its charge. I still can't start the phone. No key combination helps turn it on.

__________________________________________

Update

I finally managed to turn on the phone.

I found an error. The phone does not want to connect to the hidden wi-fi network.
[Miscellaneous Android Development] heineken78:
Some facts

https://www.xda-developers.com/line...-addonsu-implementation-favor-magisk-manager/
[Miscellaneous Android Development] amiali:
https://sourceforge.net/projects/nokia-sdm660/files/OxygenOS/

Nice rom.I tested it and it works great
[Miscellaneous Android Development] dmukhin:
BTW: it is not fixed in Dec 9 release still
[Miscellaneous Android Development] xixuluo:
OK,thanks,already flashed it,because I was confused by variety of the twrp from other websites,but they not works at all,and when I realized that the twrp is mixed up with boot,my phone was struck in download mod

---------- Post added at 04:11 PM ---------- Previous post was at 04:04 PM ----------

[MENTION=1611492]heineken78[/MENTION]

I found a small bug,

When I use the Gesture navigation and long press the physical button,the recent will be blank.

Is there any method to change the behaviors when I touch or long press the physical fingerprint Button?

---------- Post added at 04:29 PM ---------- Previous post was at 04:11 PM ----------

Hello do you know how to change the behaviors of longpressing or double tapping physical fingerprint button?
[Miscellaneous Android Development] paulzie:
[MENTION=9649527]xixuluo[/MENTION], thank you for confirming the fingerprint gestures don't work in LOS17 as I also pointed out here.

[MENTION=1611492]heineken78[/MENTION], any fix or config file to get fingerprint gestures to work like in stock OREO? Am back on stock OREO for that reason.
[Miscellaneous Android Development] xda-yup:
hi all, checking before i try to install LOS17-

my ss2 is currently on SS2-SIUI_v3_1_trebled ROM (with TWRP 3.1.1-0), with unlocked BL. From my current setup can i just follow the first time installation instructions on page 1 of this thread to get LOS17 with a newer TWRP version, or do i need to go back to 2140/2180 build for SS2 first? My current trebled v3 system only shows as build 00WW_1_320.

( If I need to go back to 2140 or higher first before i can install LOS17 would i do this... - enter DL mode, flash to SS2-2180-0-00CN-B03 from link on first page of SS2 thread using OST628cracked .... and then once on 2180 follow installation instructions on this thread LOS17 page 1 )
[Miscellaneous Android Development] xixuluo:
hey,the los 17 is full system,no base requirement if your current system has treble,

but sometimes his twrp will work wrong when switch between the roms over and over again,and you will be struck in download mod and needs a pc to work out,so confirm your spirit to use this system and not roll back to treble 3.1 and so on
[Miscellaneous Android Development] paulzie:
OT, but how did you install it? Which components, vendor/boot/system did you install? Did you install on a SS2 or SAT phone? Did everything work, if not, what didn't work?

I ask because to test then go back to my stock SAT OREO is a lot of backtrack work.
[Miscellaneous Android Development] amiali:
My phone sat.instal los 17 boot and vendor and install system oxygen os.Everything works and the battery life is great.This rom is ported for Nokia sdm 660 and also has great weekly updates.Be sure to test. I'm sure you like it

?@heineken78 tile supported this rom
[Miscellaneous Android Development] xixuluo:
ss2 sdm630 also works well,havnt seen any bugs but the animation is not as well as haiken78 s los,so if you are using ss2,and want to find a chinese experience rom,the oos is better
[Miscellaneous Android Development] heineken78:
Not OOS! Its LOS!

https://drive.google.com/file/d/1XoMh5gJS8uM2j4UgkcxRgkOy09jblVBU/view?usp=drivesdk
[Miscellaneous Android Development] Chazy12:
I noticed that nfc and the double tap to wake not working..

Inviato dal mio ONEPLUS A6000 utilizzando Tapatalk
[Miscellaneous Android Development] paulzie:
[MENTION=1611492]heineken78[/MENTION], does your SAT flashlight and camera work with LOS 17 / treble 4.1 / treble 5? Am only getting them to work if roll back to OREO 8.0.
[Miscellaneous Android Development] heineken78:
Im on everyday usage with SAT and LOS. Camera works.

I think you need as base 2130 at least. No matter CN or WW.

I have flashed as base https://drive.google.com/drive/folders/1ZCjfopA4jJLwPRGiw5OAUrTSoG5t7yfN (https://fih-firmware.hikaricalyx.com/sharp_en.html)

via OST 6.2.8 with crack (find it on 1st page of my s2 xda post ). To use OST your device needs to be critical unlocked.
[Miscellaneous Android Development] paulzie:
[MENTION=1611492]heineken78[/MENTION], have tried the trebled 3.1 and 2140CN SAT firmware as base. Then loading treble 4.1, treble 5.0 or LOS 17 results in flashlight and camera not working. Have tried about 10 times now across the three firmwares with no torch/camera functionl

Note: though now to get camera and flashlight working (which can only be done in android 7/8) need to boot the phone up plugged into a USB-C power source. This works 100% of the time. If not USB-C connected, torch will be greyed out in android 7/8.

Problem appears to have started when needed to do a test point recovery after a bad flash attempt using HikariCalyx's GENERIC FLASHING SCRIPT resulted in insta-download mode with phone bootloader locked and failed to unlock (would loop in this state when try to unlock), described here. Since then have this flashlight & camera issue.

Other oddity is that prior to the bad flash could rollback to 127N_CN firmware, then load 135F_WW followed by 2080_WW firmware. Now same sequence gets an installation failure at around 40% which, upon reviewing logs ("logcat"), has some issue with access of the splash partition.

It's a strange problem.

If you have a complete dump of a working SAT's partitions, am happy to try to flash them to get the SAT working properly.

I figure there is some hardware initialization that hasn't happened properly. Either that or maybe opening up my SAT has resulted in damaged camera/torch hardware?
[Miscellaneous Android Development] heineken78:
nope dude its hardware issue.

can you check camera connections to motherboard?

any results?
[Miscellaneous Android Development] rav3n_pl:
Direct link to OpenGApps beta on SourceForge: https://sourceforge.net/projects/opengapps/files/arm64/beta/

Pick "nano" one in latest folder (for now it is 20191209) :)
[Miscellaneous Android Development] psuryawanshi210:
Smooth

Smooth as honey
[Miscellaneous Android Development] paulzie:
Looks like it. isopropyl alcohol cleaned motherboard camera/contacts and problem persists. When torch doesn't work, the 12MP camera isn't showing up in HW devinfo. Also can't get cam to auto focus when it is detected unless use the treble 5 /vendor/lib/libactuator_ak7371_s2p.so file.

Ordered a replacement camera module. Wish it was the Sony IMX362 from a C10 but didn't have choice.
[Miscellaneous Android Development] heineken78:
C10 hasnt Sony

C10 is 100% SS2 no ****

Also with battery 3000mah.

Only difference is flashed another hwid in motherboard.
[Miscellaneous Android Development] rav3n_pl:
Tried to use "AR" mode in Google maps today - it is crashing.

Will try to upload logcat, but it can be gapps related not rom error.

Also, I'm still not sure what option of "notch" should I use? "Device default" or "s2 visual"? Not sure how it differ. I would prefer only round upper corners and not draw under notch itself :P
[Miscellaneous Android Development] heineken78:
Hmm, thanx for finding AR. Its working btw )
[Miscellaneous Android Development] nismohks:
Sorry, i'm not very good at flashing roms but i am currently on LOS16 on SS2 so just wanted to see if i can flash LOS17 right on top?

Or do i have to format it all and go back to Trebled V3.3 (2130), then flash LOS17 on top again (without format?)

Please help!
[Miscellaneous Android Development] heineken78:
Hi. No.

If LOS 16 works, than you can install LOS17.

I wont advise to upgrade data, just do a wipe.
[Miscellaneous Android Development] aibocn:
SD Card Problem in new version, need format SD Card?
[Miscellaneous Android Development] Lovetz:
There is no problem with SD card on any Lineage 17 versions for our smartphone.
[Miscellaneous Android Development] aibocn:
I flash it once again ,it is working now, thanks
[Miscellaneous Android Development] nismohks:
Just tried to flash over LOS16 but it didnt work and just keeps boot looping to recovery.

Did a wipe data, format data then flash boot, system and vendor again but still doesnt work.

Gapps used was the arm64 nano zip.

Phone starts up, Lineage splash screen shows with moving cursor, then after ~10 mins it boots to recovery and nothing else.

What should i do to recover this?

Thanks
[Miscellaneous Android Development] heineken78:
flash again and try without gapps, then try to flash stock again .

it should work.
[Miscellaneous Android Development] nismohks:
HI, what do you mean by flash stock again?

I just tried to flash trebled v3.3 2130 and got that to work.

Booted in to 2130 to make sure it worked, rebooted into recovery, then installed LOS17 (boot, system, vendor, gapps) on top without wiping anything.

Now when i power on, it just boots into twrp without showing Lineage splashscreen at all...

What should i try next?

Thanks
[Miscellaneous Android Development] heineken78:
flash boot, reboot in twrp, format?
[Miscellaneous Android Development] nismohks:
Just did:

- Flash boot image

- Reboot into TWRP

- Wipe>Format Data

- Reboot System

Lineage splashscreen and animation shows, then a few minutes later, phone restarts back into TWRP.

So i tried to:

- Flash Boot

- Flash System

- Flash Vendor

- Reboot System.

Lineage splash shows then reboots back into TWRP again.

Not sure what i am getting wrong...
[Miscellaneous Android Development] heineken78:
ensure you are in slot a.

flash this from twrp https://drive.google.com/open?id=1DKT9uSs8lw_We1HhjRCRcUNVlh-sHOdW before all
[Miscellaneous Android Development] nismohks:
OK will try this now, i used the SS2-C10-trebledv3_3 file before.

Now i will try to use the new SS2-2130-0-00E0-B02.zip first before i install LOS17 images (Boot, system and vendor)

- Flash new SS2-2130-0-00E0-B02.zip

- Flash LOS17 Boot, System and vendor

- Reboot System

- Check LOS17 boots

- If LOS17 boots, then boot TWRP and load GAPPS

Update: i just did the exact same steps as above (i did a advanced wipe before i started) and it didnt work.

reboots back into TWRP

Should i wipe data or format data during any step?
[Miscellaneous Android Development] heineken78:
Try oldest LOS17 for first boot after format, it may be problem with creating encryption in last build.
[Miscellaneous Android Development] nismohks:
Tried again but failed.

Then decided to try and just load SS2-2130-0-00E0-B02.zip and booting it first but device has no Wifi for that on my SS2.

Wanted to try reload it but now i can't get into TWRP.

Only download mode, which i can switch to Android Recovery (Not TWRP) with very limited options.

Can i install TWRP/LOS again from Android Recovery?
[Miscellaneous Android Development] heineken78:
you are soo noob )

in download mode:

fastboot set_active a

fastboot oem set_active _a

fastboot flash boot boot.img (from LOS)

then reboot to recovery.
[Miscellaneous Android Development] nismohks:
Have tried to do that but it just says FAILED (Command write failed) on fastboot

Also tried using OST to install old SS2-SIUI_v3_1 Trebled but OST fails also

Currently using the Google Android Bootloader Interface driver as i haven't found any drivers which detects fastboot for this S2 on SS2-2130-0-00E0-B02 firmware.
[Miscellaneous Android Development] heineken78:
Do you have bootloader locked?

fastboot flash boot boot.img

Go to twrp

Driver?

Install from OST 6.2.8 cracked. You can find on xda s2 my thread on 1st page
[Miscellaneous Android Development] malpar22:
Hello, I flash it and all works fine except for the bluetooth calls. I can hear music with my bluetooth headset but I can't make any call.

Any idea how to solve this issue?
[Miscellaneous Android Development] nismohks:
My phone is unlocked, (i still get the warning at the start saying phone is unlocked)

Everytime i try to adb flash something, i get an error:

downloading 'boot.img'...

FAILED (command write failed (No error))

finished. total time: 0.010s

Using OST 6.2.8 gives me this error:

ErrOr Code: 0xc6d8

Error: Download Fails

Error = SE_ERR_ADB_CMD_DEVICE_READ_FAIL (0xC6D8)
[Miscellaneous Android Development] heineken78:
Try PC with windows 7 or another at your friend who has Android phone..

.. you need to flash boot.img ( twrp recovery) at least
[Miscellaneous Android Development] nismohks:
thanks for your help.

tried on a a different pc and finally TWRP is back on.

Just installed 2130 Trebled V3.3 on it but now Wifi doesn't work.

Any idea how i can fix that?

Update: Back on LOS15 now and things seem to be operating normally from what i remember (except camera which is really slow refresh rate). Won't try LOS17 until a bit later now after having my phone out of action for the past 2 days. Thanks for your help Heineken78!
[Miscellaneous Android Development] heineken78:
[MENTION=1937061]nismohks[/MENTION]

you can try today's build after full format.
[Miscellaneous Android Development] adamuadamu:
hi,

just installed the LOS17, 19-12 build + nano gapps; no issues, no bootloops whatsoever. Thanks for brilliant ROM :)

BUT: as some reported before, I've also encountered a problem with fingerprint gestures; ie. I can't attach any gesture to back command; I've tried to edit the file by myself as I did with Lineage 15.1 previously, I've tried to download the file from 4pda but no go. I edited the file and rebooted several times changing the assignments of each gesture and it's not the problem with syntax errors or wrong code as I could assign single touch to 'MENU' or anything else; also I added 'VIRTUAL' at the end of the line to check and the device vibrates then, but still no function for BACK command.

Therefore I'd like to ask people who use gesture navigation: could you possibly share your navigation files? After 30th change and reboot I feel really out of ideas how to solve it by myself.
[Miscellaneous Android Development] heineken78:
Had you try todays one? Also enable fingerprint navigation from gesture settings
[Miscellaneous Android Development] adamuadamu:
No, all experiments done with 19-12 build.

Thx for the hint, will try latest build tomorrow.
[Miscellaneous Android Development] nismohks:
Full format from the wipe menu before I install the new build?

This can be over my current LOS15 ?
[Miscellaneous Android Development] nismohks:
Just did a "format data" while still on LOS15, then installed the 20191225, Boot, System and Vendor images and restarted system.

Lineage OS splashscreen animation shows, then restarts into TWRP....

Tried to reflash 20191225 boot again but still only restarts into TWRP.
[Miscellaneous Android Development] heineken78:
Make format data while on new los. Also check if its installed to slot A(in twrp reboot menu)
[Miscellaneous Android Development] iiandrusii:
Which version of gcam works correctly with 25122019?

All crashes when i tried.
[Miscellaneous Android Development] heineken78:
Only few gcammods that supports dualcam.

You can disable dualcam in build.prop vendor by changing prop:

persist.vendor.camera.expose.aux=0, also check if sabre is disabled in gcam settings.

Im using MGC_7.2.011_BSG_Urnyx05-v1.4_010.apk

I can make photos on "tele" 8mp camera and on "main" - "tele+ wide", "wide" apart crashes.
[Miscellaneous Android Development] iiandrusii:
Thank you. It works very well. Do you recommend format after update?
[Miscellaneous Android Development] nismohks:
Here is what I did:

- from LOS 15 boot to TWRP

- check slot A

- format data

- flash boot

- flash system

- flash vendor

- format data

- check slot a

Only boots to twrp again :(
[Miscellaneous Android Development] heineken78:
even you have flashed 2130 zip?

Very strange.
[Miscellaneous Android Development] heineken78:
If you have have fingerprint enabled or any code screen locks, then in TWRP if you ignore key input by canceling and see sdcard data unencrypted, than indeed its recommend.

if you don't mind about it, don't format then.
[Miscellaneous Android Development] Psyl0w:
Constant rebooting in recovery

I had the same problem that almost drives me crazy :mad:

I can’t say exactly how the problem was fixed because I flashed, formatted, rebooted so many time :eek: but I think the issue was the usb cable was kept connected at the first reboot in system. When I did your sequence above but release the usb cable before rebooting from TWRP, I achieved los 17 boot finally.

Good luck
[Miscellaneous Android Development] nismohks:
Hmmm interesting....

Ok so I should start again by flashing 2130 trebled zip first?

Do I need to boot into 2130 trebled first or go straight to flashing the LOS17 251219 images?