• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][Unlocked BL][V7 02.07.2017] LineageOS BETA (NJH47D) for SGP611/SGP621

Search This thread

lowtraxx

Senior Member
Sep 20, 2007
632
1,239
Augsburg
blog.toshsoft.de
Disclaimer: Flash at your own risk! Backup your data before flashing! I am not responsible for bricked devices, World War III or your exploding cats!
Warning: The SGP611 images are not tested, but just built by me, as I do not own the device. But as the two devices are the same except for the 4G Modem, it should work. If not, please let me know.

About:
As my beloved SGP621 was just collecting dust, I decided to try porting Android 7.1 AOSP onto it. That worked well, so I moved on to CM 14.1 and now LineageOS
And voila, with a few tweaks here and there, it works (for the most part). But this is still considered BETA, so be warned and flash at your own risk. This will most likely replace the CM14.1 from the thread here, so the Changelog will also be continued on here.

What works:
- Display
- Sound
- WiFi
- 4G Data
- Bluetooth
- Camera (Taking Pictures and Video works, but focus does not work)
- NFC (somewhat flakey)
- LED
- Magnetic Cover Sleep/Wake
- Double-Tap to wake
- LiveDisplay
- SELinux enforced
- FM Radio (only minor glitches remain)
- AptX and AptXHD BT support

What doesn't work:
- Audio Volume has some issues (Loudest in the middle of the slider, than does not change after.)
- QuickCharge (Implementation to high a risk [Overheating], will leave it out for now.)
- You tell me

If your battery depletes rapidly, please disable NFC and check if it betters things. Then comment here, so I can look into it.

Flashing from CM14.1 (This should no longer be needed, as everyone should be updated by now):
If you have CM14.1 from the other thread installed, and want to upgrade, you need to take special care and follow the instructions here or you could end up with a bootlooping device. Anyways, as always, before you try to upgrade, make a backup. I repeat, MAKE A BACKUP! LineageOS is now enforcing SELinux, which leads to all kinds of complications, but makes the device more secure in the end and is well worth the extra effort needed. So lets get to it then.
First you need to have twrp recovery, as cm recovery is, for some reason we have not been able to figure out yet, not capable of installing GApps to the device. After that, flash the update.zip any way you want (via SD or sideload) and DIRECTLY after flash GApps (if you use them. If not you should be good to go). If you forget to flash GApps you will end up in a bootloop. But do not panic, it can be fixed by (you may have guessed) rebooting back into recovery and flashing GApps.


Flashing:
If you installed the recovery to the FOTAKernel partition then, while booting, get your device into recovery mode, by hitting VolUp multiple times once the LED flashes purple. Do so until it turns orange. (If you already have another recovery installed, boot into it.)
Now select install from adb sideload and from your computer issue:
Code:
adb sideload lineage-14.1-(DATE)-UNOFFICIAL-Lowtraxx-scorpion(_windy).zip

gapps:
Lineage 14.1 was tested with open gapps for Nougat 7.1 arm (nano confirmed working, others could be problematic)

Tips for better battery life (obsolete):
I installed Naptime to trigger deep doze as soon as the tablet goes to sleep. I also enabled zzmoove cpu gov and noop scheduler in the kernel options. Because of the high display brightness. This leads to me getting standby battery consumption of around 1.2% per hour (measured with GSam Battery Monitor) which is nearly the same amount I got with stock.

Changelog (LineageOS):
02.08.2017 - V8:
- Newest Lineage, Sony and Android Sources
- Android June/July security patches
- Small fixes everywhere
06.06.2017 - V7:
- Integrated new RQBalance-PowerHAL and librqbalance from Sony's GIT
- Newest Lineage, Sony and Android Sources
- Android May security patches
- Small fixes everywhere
27.04.2017 - V6:
- Newest Lineage, Sony and Android Sources
- Android April security patches
- Small fixes everywhere
11.03.2017 - V5:
- Newest Lineage, Sony and Android Sources
- Android February security patches (addendum)
- Audio volume fixes (finally) thx to @dontbelive
- Lots of Audio enhancements (but still lots to do)
- Support for AptX and AptXHD
- More FM fixes (should be mostly stable now)
- Sleep improvements and kernel simplification (less log clutter and removal of unneeded drivers)
05.03.2017 - V4:
- Newest Lineage, Sony and Android Sources
- Android February security patches
- Updated to newest Sony and QCom blobs (crash fixes for Adreno etc.)
- FM and Bluetooth now work independent of each other and can be on at the same time (still some glitches)
- Sleep improvements and kernel simplification (less log clutter and removal of unneeded drivers)
- Fixed NFC glitch that was introduced in V3
19.02.2017 - V3:
- Newest Lineage, Sony and Android patches
- Updated to newest Sony and QCom blobs (crash fixes for Adreno etc.)
- Video recording fixed (works most of the time now)
- Switched to Open Source GPS implementation
10.01.2017 - V2:
- Newest Lineage, Sony and Android patches
- Update to newest Nougat with Jan Security patches
- NFC fixes (Worked mostly reliable in my tests and no Log Spam)
- Many SELinux changes
05.01.2017 - V1:
- Switch to Lineage Sources
- Newest security patches and fixes by Sony, QCom and Google
- Camera now records video
- SELinux is now enforced
- GPS on SGP611 should now work reliably (thanks koron393)
- Bluesleep wakelock should be gone and device should deep sleep now

Changelog (CyanogenMod):
21.12.2016 - V4:
- Newest CM, Sony and Android sources
- Security patches
- Lots of UI fixes
- Support for SDCardFS
- Support for LiveDisplay
08.12.2016 - V3:
- Updated to Android 7.1.1 (NMF26O)
- Updated to newest sources (CM and Sony)
- Added workaround for charging wakelock (thanks rcstar6696)
- FM Radio works (only if Bluetooth is off, breaks if BT is on while Radio gets enabled)
04.12.2016 - V2.1:
- Updated to newest sources (CM and Sony)
- Added UHS SD-Card fix from koron393
03.12.2016 - V2:
- Updated to newest CM14.1 sources
- Updated to newest Sony kernel and driver sources
- Integrated Widevine DRM for Play Movies
- Lots of fixes and enhancements
- Better battery life
- Lowered user configurable mimimal brightness
02.11.2016 - V1:
- Initial release: Everything except Camera and Radio is working. Camera uses HAL1.

Thanks:
- Sony, for providing awesome AOSP support on github
- alviteri for providing me with pointers and help on my porting issues
- koron393 for the UHS SDCard fix
- dontbelive for the Audio fixes from his StereoMod here

Downloads:
There is a Bug in the bootimages of V8, that prevents USB data from working. After flashing the Full ROM, please reboot to bootloader and fastboot flash the corresponding fixed boot.img
V8 - GDrive - LineageOS14.1 Scorpion (SGP621)
V8 - GDrive - Fixed Boot Image Scorpion
MD5: 2ca53a92c40b60be28c0078dd0c2e00b
SHA1: f5d963eff2b45cb1c52bc74ae7955d9162d17be3

V8 - GDrive - LineageOS14.1 Scorpion Windy (SGP611)
V8 - GDrive - Fixed Boot Image Scorpion Windy
MD5: 9b223ed474427c8628d0d8904efdf9ca
SHA1: 0e64a01a8d204e951a1f3c87ed4ba45eec68c919

Older Downloads:
V7 - GDrive - LineageOS14.1 Scorpion (SGP621)
V7 - GDrive - LineageOS14.1 Scorpion Windy (SGP611)
V6 - GDrive - LineageOS14.1 Scorpion (SGP621) Only use if you know how to apply the NFC fix from here
V6 - GDrive - LineageOS14.1 Scorpion Windy (SGP611) Only use if you know how to apply the NFC fix from here
V5 - GDrive - LineageOS14.1 Scorpion (SGP621)
V5 - GDrive - LineageOS14.1 Scorpion Windy (SGP611)
V4 - GDrive - LineageOS14.1 Scorpion (SGP621)
V4 - GDrive - LineageOS14.1 Scorpion Windy (SGP611)
V3 - GDrive - LineageOS14.1 Scorpion (SGP621)
V3 - GDrive - LineageOS14.1 Scorpion Windy (SGP611)
V2 - GDrive - LineageOS14.1 Scorpion (SGP621)
V2 - GDrive - LineageOS14.1 Scorpion Windy (SGP611)
V1 - GDrive - LineageOS14.1 Scorpion (SGP621)
V1 - GDrive - LineageOS14.1 Scorpion Windy (SGP611)
 

Attachments

  • Screenshot_20170105-125531.jpg
    Screenshot_20170105-125531.jpg
    132.5 KB · Views: 6,708
  • Screenshot_20170105-125523.png
    Screenshot_20170105-125523.png
    125.1 KB · Views: 6,679
  • Screenshot_20170105-125601.jpg
    Screenshot_20170105-125601.jpg
    78.7 KB · Views: 6,621
Last edited:

thommcn

Senior Member
Aug 2, 2011
95
14
I seem to be the old man out when it comes to GPS. My 611 breaks GPS in LineageOS, AICP and Resurrection Remix roms. I'm going flash it back to stock, then try your rom again and see if that fixes it.
 
Last edited:

thommcn

Senior Member
Aug 2, 2011
95
14
Your rom is working fine. I reverted back to stock, flash your rom + opengapps. GPS is not broken, the GPS Test is either broken or at least is on Nougat.
 
  • Like
Reactions: da900

noname2no

Senior Member
Mar 2, 2014
50
22
SGP612. I successfully upgraded from your cm-14.1 build using TWRP 3.0.2. I flashed in a row from internal storage:
lineage-14.1-20170104-UNOFFICIAL-Lowtraxx-scorpion_windy.zip sha1sum: 6abece15341913131e34763d0547d16d489b9217
open_gapps-arm-7.1-nano-20170105.zip
Then wiped dalvik cache. Finally rebooted.

Many thanks once again. Great job. Amazing ROM :)
 
  • Like
Reactions: da900

thommcn

Senior Member
Aug 2, 2011
95
14
Note: GPS doesn't function without gapps - I flashed my tablet and then install LineageOS then installed OsmAnd (offline maps) twice - same result both times, no GPS without gapps. Due to my injury I don't travel so I don't need GPS.

By not installing Gapps the proprietary Play Services Location API is not installed either.
 
Last edited:
  • Like
Reactions: lowtraxx

JuergensB

Member
Dec 16, 2009
6
1
Thank you very much for the great rom.
I only habe two problems:

1. The mirracast / Screen Mirroring doesn't work. I can't find my Mirracast Receiver (NETGEAR Push2TV PTV3000)

2. Where can I change the CPU Governor or the Scheduler? I have no performance options only Developer Options.

Thanks for your help.

Greetings form Germany

Benjamin
 
  • Like
Reactions: tpzvxn

lowtraxx

Senior Member
Sep 20, 2007
632
1,239
Augsburg
blog.toshsoft.de
Thank you very much for the great rom.
I only habe two problems:

1. The mirracast / Screen Mirroring doesn't work. I can't find my Mirracast Receiver (NETGEAR Push2TV PTV3000)

2. Where can I change the CPU Governor or the Scheduler? I have no performance options only Developer Options.

Thanks for your help.

Greetings form Germany

Benjamin

1. Miracast needs more proprietary blobs I think. I have no Miracast compatible device to debug, maybe I can procure one from work next week.

2. To change governor and/or scheduler you need to enable root in the developer settings and install a tool like kernel adiutor.
 
  • Like
Reactions: finalista

iamnotkurtcobain

Senior Member
Oct 30, 2010
12,693
4,376
Vienna
@lowtraxx
Danke für deine Bemühungen ;)

I tested the last cm12.1 build with the first LineageOS build.

But first let me tell you this isn't complaining, just an info ;)

The performance is way worse on LineageOS than on cm12.1.
Simple things like swiping from left to right to open a hamburger menu is choppy with massive dropped frames. You can try for yourself.
Install Solid Explorer or Shuttle Music Player and swipe to reavel the hambuger menu. Laggy. Same on YouTube.
Doesn't feel as snappy. The Z3 Tablet has the same HW like my old S5. But that runs much smoother and faster.

Like I said NO complaint. Just an info.


Gesendet von meinem SM-G935F mit Tapatalk
 

lowtraxx

Senior Member
Sep 20, 2007
632
1,239
Augsburg
blog.toshsoft.de
@lowtraxx
Danke für deine Bemühungen ;)

I tested the last cm12.1 build with the first LineageOS build.

But first let me tell you this isn't complaining, just an info ;)

The performance is way worse on LineageOS than on cm12.1.
Simple things like swiping from left to right to open a hamburger menu is choppy with massive dropped frames. You can try for yourself.
Install Solid Explorer or Shuttle Music Player and swipe to reavel the hambuger menu. Laggy. Same on YouTube.
Doesn't feel as snappy. The Z3 Tablet has the same HW like my old S5. But that runs much smoother and faster.

Like I said NO complaint. Just an info.


Gesendet von meinem SM-G935F mit Tapatalk

That is most likely a CPU governor issue. CM12.1 uses the old 3.4 kernel while in CM14.1 we use kernel 3.10 which hasn't got all of the optimizations yet. Performance will be looked at as soon as all other quirks are ironed out. In the meantime you can set the governor to performance or tweak zzmoove's parameters for performance which then should make for a super smooth experience (worsening battery life of course ;))
 
  • Like
Reactions: finalista

NTRNSTR

Senior Member
Jul 30, 2016
84
29
Loving this build so far:). Idle battery drain has decreased from 1%/hour on the previous cm14 build to 0.3%/hour on this one. I don't really need it but it seems like the GPS is still broken on my SGP611.
 

serialkillazzs

Senior Member
Jan 17, 2010
618
26
hi lowtraxx what is your recommended stock base for flashing scorpion?

I primarily use my 4gt z3t for photography work with nfc pairing to sony alpha a6000 and use it with a netgear ptv3000 and chromecast v1

Does this version have RAW file image support for adobe lightroom mobile app

I have had mine on kitkat stock for a while but have only really started photography and kk has no raw support.

Could you see if it supports or recommend a lollipop or marshmellow build with raw support

Detailed install instructions would be great ie stock recovery or custom, been a while since i flashed anything
 

Top Liked Posts

  • There are no posts matching your filters.
  • 64
    Disclaimer: Flash at your own risk! Backup your data before flashing! I am not responsible for bricked devices, World War III or your exploding cats!
    Warning: The SGP611 images are not tested, but just built by me, as I do not own the device. But as the two devices are the same except for the 4G Modem, it should work. If not, please let me know.

    About:
    As my beloved SGP621 was just collecting dust, I decided to try porting Android 7.1 AOSP onto it. That worked well, so I moved on to CM 14.1 and now LineageOS
    And voila, with a few tweaks here and there, it works (for the most part). But this is still considered BETA, so be warned and flash at your own risk. This will most likely replace the CM14.1 from the thread here, so the Changelog will also be continued on here.

    What works:
    - Display
    - Sound
    - WiFi
    - 4G Data
    - Bluetooth
    - Camera (Taking Pictures and Video works, but focus does not work)
    - NFC (somewhat flakey)
    - LED
    - Magnetic Cover Sleep/Wake
    - Double-Tap to wake
    - LiveDisplay
    - SELinux enforced
    - FM Radio (only minor glitches remain)
    - AptX and AptXHD BT support

    What doesn't work:
    - Audio Volume has some issues (Loudest in the middle of the slider, than does not change after.)
    - QuickCharge (Implementation to high a risk [Overheating], will leave it out for now.)
    - You tell me

    If your battery depletes rapidly, please disable NFC and check if it betters things. Then comment here, so I can look into it.

    Flashing from CM14.1 (This should no longer be needed, as everyone should be updated by now):
    If you have CM14.1 from the other thread installed, and want to upgrade, you need to take special care and follow the instructions here or you could end up with a bootlooping device. Anyways, as always, before you try to upgrade, make a backup. I repeat, MAKE A BACKUP! LineageOS is now enforcing SELinux, which leads to all kinds of complications, but makes the device more secure in the end and is well worth the extra effort needed. So lets get to it then.
    First you need to have twrp recovery, as cm recovery is, for some reason we have not been able to figure out yet, not capable of installing GApps to the device. After that, flash the update.zip any way you want (via SD or sideload) and DIRECTLY after flash GApps (if you use them. If not you should be good to go). If you forget to flash GApps you will end up in a bootloop. But do not panic, it can be fixed by (you may have guessed) rebooting back into recovery and flashing GApps.


    Flashing:
    If you installed the recovery to the FOTAKernel partition then, while booting, get your device into recovery mode, by hitting VolUp multiple times once the LED flashes purple. Do so until it turns orange. (If you already have another recovery installed, boot into it.)
    Now select install from adb sideload and from your computer issue:
    Code:
    adb sideload lineage-14.1-(DATE)-UNOFFICIAL-Lowtraxx-scorpion(_windy).zip

    gapps:
    Lineage 14.1 was tested with open gapps for Nougat 7.1 arm (nano confirmed working, others could be problematic)

    Tips for better battery life (obsolete):
    I installed Naptime to trigger deep doze as soon as the tablet goes to sleep. I also enabled zzmoove cpu gov and noop scheduler in the kernel options. Because of the high display brightness. This leads to me getting standby battery consumption of around 1.2% per hour (measured with GSam Battery Monitor) which is nearly the same amount I got with stock.

    Changelog (LineageOS):
    02.08.2017 - V8:
    - Newest Lineage, Sony and Android Sources
    - Android June/July security patches
    - Small fixes everywhere
    06.06.2017 - V7:
    - Integrated new RQBalance-PowerHAL and librqbalance from Sony's GIT
    - Newest Lineage, Sony and Android Sources
    - Android May security patches
    - Small fixes everywhere
    27.04.2017 - V6:
    - Newest Lineage, Sony and Android Sources
    - Android April security patches
    - Small fixes everywhere
    11.03.2017 - V5:
    - Newest Lineage, Sony and Android Sources
    - Android February security patches (addendum)
    - Audio volume fixes (finally) thx to @dontbelive
    - Lots of Audio enhancements (but still lots to do)
    - Support for AptX and AptXHD
    - More FM fixes (should be mostly stable now)
    - Sleep improvements and kernel simplification (less log clutter and removal of unneeded drivers)
    05.03.2017 - V4:
    - Newest Lineage, Sony and Android Sources
    - Android February security patches
    - Updated to newest Sony and QCom blobs (crash fixes for Adreno etc.)
    - FM and Bluetooth now work independent of each other and can be on at the same time (still some glitches)
    - Sleep improvements and kernel simplification (less log clutter and removal of unneeded drivers)
    - Fixed NFC glitch that was introduced in V3
    19.02.2017 - V3:
    - Newest Lineage, Sony and Android patches
    - Updated to newest Sony and QCom blobs (crash fixes for Adreno etc.)
    - Video recording fixed (works most of the time now)
    - Switched to Open Source GPS implementation
    10.01.2017 - V2:
    - Newest Lineage, Sony and Android patches
    - Update to newest Nougat with Jan Security patches
    - NFC fixes (Worked mostly reliable in my tests and no Log Spam)
    - Many SELinux changes
    05.01.2017 - V1:
    - Switch to Lineage Sources
    - Newest security patches and fixes by Sony, QCom and Google
    - Camera now records video
    - SELinux is now enforced
    - GPS on SGP611 should now work reliably (thanks koron393)
    - Bluesleep wakelock should be gone and device should deep sleep now

    Changelog (CyanogenMod):
    21.12.2016 - V4:
    - Newest CM, Sony and Android sources
    - Security patches
    - Lots of UI fixes
    - Support for SDCardFS
    - Support for LiveDisplay
    08.12.2016 - V3:
    - Updated to Android 7.1.1 (NMF26O)
    - Updated to newest sources (CM and Sony)
    - Added workaround for charging wakelock (thanks rcstar6696)
    - FM Radio works (only if Bluetooth is off, breaks if BT is on while Radio gets enabled)
    04.12.2016 - V2.1:
    - Updated to newest sources (CM and Sony)
    - Added UHS SD-Card fix from koron393
    03.12.2016 - V2:
    - Updated to newest CM14.1 sources
    - Updated to newest Sony kernel and driver sources
    - Integrated Widevine DRM for Play Movies
    - Lots of fixes and enhancements
    - Better battery life
    - Lowered user configurable mimimal brightness
    02.11.2016 - V1:
    - Initial release: Everything except Camera and Radio is working. Camera uses HAL1.

    Thanks:
    - Sony, for providing awesome AOSP support on github
    - alviteri for providing me with pointers and help on my porting issues
    - koron393 for the UHS SDCard fix
    - dontbelive for the Audio fixes from his StereoMod here

    Downloads:
    There is a Bug in the bootimages of V8, that prevents USB data from working. After flashing the Full ROM, please reboot to bootloader and fastboot flash the corresponding fixed boot.img
    V8 - GDrive - LineageOS14.1 Scorpion (SGP621)
    V8 - GDrive - Fixed Boot Image Scorpion
    MD5: 2ca53a92c40b60be28c0078dd0c2e00b
    SHA1: f5d963eff2b45cb1c52bc74ae7955d9162d17be3

    V8 - GDrive - LineageOS14.1 Scorpion Windy (SGP611)
    V8 - GDrive - Fixed Boot Image Scorpion Windy
    MD5: 9b223ed474427c8628d0d8904efdf9ca
    SHA1: 0e64a01a8d204e951a1f3c87ed4ba45eec68c919

    Older Downloads:
    V7 - GDrive - LineageOS14.1 Scorpion (SGP621)
    V7 - GDrive - LineageOS14.1 Scorpion Windy (SGP611)
    V6 - GDrive - LineageOS14.1 Scorpion (SGP621) Only use if you know how to apply the NFC fix from here
    V6 - GDrive - LineageOS14.1 Scorpion Windy (SGP611) Only use if you know how to apply the NFC fix from here
    V5 - GDrive - LineageOS14.1 Scorpion (SGP621)
    V5 - GDrive - LineageOS14.1 Scorpion Windy (SGP611)
    V4 - GDrive - LineageOS14.1 Scorpion (SGP621)
    V4 - GDrive - LineageOS14.1 Scorpion Windy (SGP611)
    V3 - GDrive - LineageOS14.1 Scorpion (SGP621)
    V3 - GDrive - LineageOS14.1 Scorpion Windy (SGP611)
    V2 - GDrive - LineageOS14.1 Scorpion (SGP621)
    V2 - GDrive - LineageOS14.1 Scorpion Windy (SGP611)
    V1 - GDrive - LineageOS14.1 Scorpion (SGP621)
    V1 - GDrive - LineageOS14.1 Scorpion Windy (SGP611)
    26
    December patches are in, build for SGP621 is running. (Crossing fingers and hoping everything works :))
    26
    @lowtraxx did you abandon the ROM? Please give us a short update. A new build with KRACK fix would be really nice [emoji4]

    No, I have not abandoned the ROM. I just got my repaired Tab Z3 back last week. Also I am working hard on porting Oreo to the device. Also (real ;)) work takes precedence and the last weeks of the year are always the worst.
    25
    Status-Update Nougat: I think I found the root cause of the WiFi error that plagued me the last weeks. If so, I will wait for the December Security patches, integrate them and then finally release the new version. Sorry it takes so long, but as stated previously, I have a lot on my plate currently :(

    Status-Update Oreo: It is currently booting into Android, but not much else is working.
    20
    Just an update and FYI for you guys. I am still working on this, and there will be new releases. But my main goal is to get this as stable as possible and in the last few weeks many things in the ROM suddenly broke (due to changes in the blobs, changes Lineage made and other stuff) and I am patching it up here and there. I should get a rock solid build in the next few days (running the RC for it on my SGP621 to put it through its paces). I also added lots of the recommended changes here in the thread and still try fixing the alarm volume issue as well as up the speed performance-wise. So stay tuned ;)