[ROM][flo|deb][UNOFFICIAL][LineageOS 20.0]
source link: https://forum.xda-developers.com/t/rom-flo-deb-unofficial-lineageos-20-0.3569067/page-206#post-88361753
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
[ROM][flo|deb][UNOFFICIAL][LineageOS 20.0]
Thread starter
Start date
osm0sis
Senior Recognized Developer / Contributor
If you install GApps.
MindTheGApps arm build(s) give me an error and would not install.
I am using "LiteGapps" for Android 13 (Lineage 20) arm (armv7a) devices.
[RECOVERY]LiteGapps_Core_arm_13.0_v2.8_official - [SourceForge] - Link
I am not familiar with the LiteGapps project but, at least it works on deb and flo.
MTG's installer actually worked great for me. I'm using my flo2flox'd official TWRP, which could make a difference, but I think it might just be that you formatted system and rebooted to recovery first before flashing the ROM, so maybe needed another reboot to recovery before GApps.Looks like MTG is expecting an Android 11+ based recovery, where the fstab mounts the ROM to /mnt/system to avoid breaking the recovery's own /system/bin. I'll see how hard it is to work around.
Also still hoping @Nikhil will bless us with some arm Go GApps at some point since an old device like this is pretty much the exact use case for Android Go.
Looks like the OS version upgrade makes update_engine/addon.d wipe/remove all existing scripts anyway, so it's automatically a "clean dirty" install by default.
Reactions: followmsi and ipdev
Spielmops
Reactions: ipdev and followmsi
followmsi
Senior Member
Revert "SystemUI: Port statusbar brightness control"Swipe statusbar to change brightness is not working. It was working with LOS 19.
Spielmops
Needs to be refactored after QPR2
Revert "SystemUI: Port statusbar brightness control" ยท LineageOS/android_frameworks_base@2919024
Reactions: ipdev and osm0sis
Edit: I installed Magisk to use the Magisk version of LiteGapps. This seems to work!
Reactions: ipdev and followmsi
followmsi
Senior Member
Quickly made a custom MindtheGapps package for flo/deb devices !
To be installed using "my" TWRP. (3.7.0)
The "addon" script seems to be working well.
This means .. Gapps will be automatically re-installed when installing new ROM.
Tested on flo device only !
Pls have a test yourself ..
MindTheGapps-13.0.0-arm-20221025_095826_flo.zip
Cheers
Reactions: ipdev, osm0sis, clarkgable and 2 others
osm0sis
Senior Recognized Developer / Contributor
LiteGapps are OK .. but it's good to have more gapps packages available.
Quickly made a custom MindtheGapps package for flo/deb devices !
To be installed using "my" TWRP. (3.7.0)
The "addon" script seems to be working well.
This means .. Gapps will be automatically re-installed when installing new ROM.
Tested on flo device only !
Pls have a test yourself ..
MindTheGapps-13.0.0-arm-20221025_095826_flo.zip
What's the difference from the standard MTG arm 20221025?
Reactions: followmsi and ipdev
ipdev
Recognized Contributor
What's the difference from the standard MTG arm 20221025?
I was wondering the same.
I assumed it had to do with the mounting so I compared install scripts.
The easiest way to show the changes was just to push it to github.
example - [github] - commit
Not quite a dynamic installer script anymore.
Cheers.
PS.
I haven't had time to try followmsi's MTG-flo build yet.
Reactions: followmsi and osm0sis
Reactions: ipdev and followmsi
followmsi
Senior Member
What's the difference from the standard MTG arm 20221025?
You both are the gapps and script expertsI was wondering the same.
I assumed it had to do with the mounting so I compared install scripts.
The easiest way to show the changes was just to push it to github.
example - [github] - commit
Not quite a dynamic installer script anymore.
Cheers.
PS.
I haven't had time to try followmsi's MTG-flo build yet.
"My" TWRP is copying "recovery.fstab" as "twrp.fstab" into recovery ..
Like "official" flo TWRP too.
For this reason the MTG sctipt/function (get_block_for_mount_point) does not find the correct SYSTEM_BLOCK.. for mounting.
Yes. . I dirty "hardcoded" the correct flo/deb path .. "quick and dirty"
( SYSTEM_BLOCK=/dev/block/platform/msm_sdcc.1/by-name/system )
As I know .. TWRP still mounts to "/system" .. and Lineage recovery mounts to "/mnt/system".
Yes .. Also changed "SYSTEM_MNT" to make it work on flo/deb devices !
All in your github diff ..
Now I have added "print_ui" function into MTG addon script ..
ui_print "Backup MindTheGapps .."
ui_print "Restore MindTheGapps .."
For this reason I have changed the "/system/addon.d/addond_tail" script ..
Actually taken fron Magisk addon script.
# update-binary|updater <RECOVERY_API_VERSION> <OUTFD> <ZIPFILE>
OUTFD=$(ps | grep -v 'grep' | grep -oE 'update(.*) 3 [0-9]+' | cut -d" " -f3)
ui_print() {
echo -e "ui_print $1\nui_print" >> /proc/self/fd/$OUTFD
}
MindTheGapps-13.0.0-arm-20221025_095826_flo_V2.zip
Pls go ahead and optimize the scripts ..
Maybe I will rename "twrp.fstab" into "recovery.fsatb" .. for next TWRP build.
On gitlab they do have newer prebuilts .. and other changes for arm .. maybe you can update some prebuilts .. the current package is from 20221025.
Cheers
Reactions: ipdev and osm0sis
osm0sis
Senior Recognized Developer / Contributor
I was tinkering with it and found the OC'd GPU along with the unreleased Adreno beta drivers really helped with the smoothness of animations.
Last thing I noticed helped, and actually helped dramatically, was I switched the I/O scheduler from cfq to noop! Much more fluid System UI, Launcher and app start times/responsiveness.
Edit: Widget resizing/scaling seems a bit wonky on the large screen, but otherwise the ROM seems a fair amount more stable for use than previous builds (though I noted the final 19.1 also seemed quite good before I moved to 20!)
Reactions: followmsi and ipdev
TamD
Senior Member
@followmsi would you be able to add the GPU OC from EX to your included kernel? It's probably the only thing anyone's interested in from it anymore.
I was tinkering with it and found the OC'd GPU along with the unreleased Adreno beta drivers really helped with the smoothness of animations.
Last thing I noticed helped, and actually helped dramatically, was I switched the I/O scheduler from cfq to noop! Much more fluid System UI, Launcher and app start times/responsiveness.
Edit: Widget resizing/scaling seems a bit wonky on the large screen, but otherwise the ROM seema a fair amount more stable for use than previous builds (though I noted the final 19.1 also seemed quite good before I moved to 20!)
Great tips. Thank you. Any other tinkering suggestions....
Reactions: ipdev
followmsi
Senior Member
Thanks for feedback and testing.@followmsi would you be able to add the GPU OC from EX to your included kernel? It's probably the only thing anyone's interested in from it anymore.
I was tinkering with it and found the OC'd GPU along with the unreleased Adreno beta drivers really helped with the smoothness of animations.
Last thing I noticed helped, and actually helped dramatically, was I switched the I/O scheduler from cfq to noop! Much more fluid System UI, Launcher and app start times/responsiveness.
Edit: Widget resizing/scaling seems a bit wonky on the large screen, but otherwise the ROM seems a fair amount more stable for use than previous builds (though I noted the final 19.1 also seemed quite good before I moved to 20!)
Here you are .. added GPU OC and some more EX stuff into "my" kernel.
Commits ยท followmsi/android_kernel_google_msm
(inside KERNEL subfolder)
Changed to "noop" scheduler in device tree too.
Will start full test build later on ..
What about "unreleased Adreno beta drivers" ?
Cheers
EDIT:
Quick off-topic comment to MTG installer ..
TWRP does rename "twrp.fstab" into "recovery.fstab" while booting .. for this reason MTG installer should find fstab .. but as it looks like it can't read the BLOCK_SYSTEM correctly .. it does work the "hardcoded" way ,,, like said before .. pls feel free to adjust/optimize the MTG scripts.
Reactions: osm0sis and ipdev
followmsi
Senior Member
Added some EX kernel stuff and switched to noop io scheduler.
Pls use kernel manager app like "kernel adiutor" to change kernel settings.
lineage-20.0-20230401-UNOFFICIAL-flo.zip
lineage-20.0-20230401-UNOFFICIAL-deb.zip
Enjoy Android 13
Reactions: ipdev and osm0sis
osm0sis
Senior Recognized Developer / Contributor
The original thread for the updated Adreno drivers, for more background info on them if you're interested: https://forum.xda-developers.com/t/...drivers-for-nexus-7-updated-10-11-15.3228000/What about "unreleased Adreno beta drivers" ?
EDIT:
Quick off-topic comment to MTG installer ..
TWRP does rename "twrp.fstab" into "recovery.fstab" while booting .. for this reason MTG installer should find fstab .. but as it looks like it can't read the BLOCK_SYSTEM correctly .. it does work the "hardcoded" way ,,, like said before .. pls feel free to adjust/optimize the MTG scripts.
They are v145 instead of the stock included v127 drivers, and improved benchmark scores and general smoothness noticeably!
I tested them pretty extensively back when this and the Nexus 5 were modern devices, and they unfortunately went in and out of being stable with their later builds, and then Qualcomm never bothered to push any final builds to Google for release, so the Adreno Beta program was the only place they ever saw the light of day.
According to past me the final stable beta build was from February 2016:
https://forum.xda-developers.com/t/...pdated-09-12-15.3228002/page-15#post-73325141
I mirrored all the packages I could find for posterity here: https://androidfilehost.com/?w=files&flid=312875
Would love to see the February ones included in the ROM if you find them stable enough on your device.
The official MTG worked fine on my flo2flox'd official TWRP, so might just be something quick you could add to your TWRP tree to get it working.
The changes my AK3 zip performs are pretty straightforward:
# cmdline changes
patch_cmdline androidboot.hardware androidboot.hardware=flox; # change "flo" to "flox"
replace_string $split_img/header bootdevice androidboot.hardware=flox "androidboot.hardware=flox androidboot.bootdevice=msm_sdcc.1"; # add bootdevice support (placement in cmdline matters)
# begin ramdisk changes
# default.prop
patch_prop default.prop ro.build.product flox; # change "flo" to "flox"
# etc/*.fstab
for i in recovery twrp; do
replace_string etc/$i.fstab bootdevice platform/msm_sdcc.1 bootdevice global; # change "/dev/block/platform/msm_sdcc.1" to "/dev/block/platform/bootdevice"
insert_line etc/$i.fstab /vendor after by-name/system "/vendor ext4 /dev/block/bootdevice/by-name/vendor"; # add /vendor support
done;
# fstab.flo
replace_string fstab.flo bootdevice platform/msm_sdcc.1 bootdevice global; # change "/dev/block/platform/msm_sdcc.1" to "/dev/block/platform/bootdevice"
insert_line fstab.flo /vendor after by-name/system "/dev/block/bootdevice/by-name/vendor /vendor ext4 ro,barrier=1 wait"; # add /vendor support
# end ramdisk changes
Edit:
Just tried 0401 and the only other thing that looks like it's missing from the kernel are the updated TCP congestion algorithms. I believe westwood and bbr are considered the best currently from kdrag0n's research: https://docs.google.com/spreadsheet...xMNz9pgS9OLKcFHssIBlj9xXI/edit#gid=1926845420
Would be great to have those, and then no more need for EX bring-ups on this device.
Edit 2:
Oh, and any way to hook up this old kernel's Double Tap 2 Wake function to the usual Lineage Settings option?
Reactions: followmsi
followmsi
Senior Member
MindTheGapps-13.0.0-arm-20230401_153356-flo.zip
Inside the "MindTheGapps" subfolder !
Cheers
Reactions: osm0sis
followmsi
Senior Member
Thanks for the links to the adreno drivers ...The original thread for the updated Adreno drivers, for more background info on them if you're interested: https://forum.xda-developers.com/t/...drivers-for-nexus-7-updated-10-11-15.3228000/
They are v145 instead of the stock included v127 drivers, and improved benchmark scores and general smoothness noticeably!
I tested them pretty extensively back when this and the Nexus 5 were modern devices, and they unfortunately went in and out of being stable with their later builds, and then Qualcomm never bothered to push any final builds to Google for release, so the Adreno Beta program was the only place they ever saw the light of day.
According to past me the final stable beta build was from February 2016:
https://forum.xda-developers.com/t/...pdated-09-12-15.3228002/page-15#post-73325141
I mirrored all the packages I could find for posterity here: https://androidfilehost.com/?w=files&flid=312875
Would love to see the February ones included in the ROM if you find them stable enough on your device.
The official MTG worked fine on my flo2flox'd official TWRP, so might just be something quick you could add to your TWRP tree to get it working.
The changes my AK3 zip performs are pretty straightforward:I'd say just ignore the flox-specific ones, e.g. where flo only gets changed to flox, and add the remaining fixes for profit?Code:# cmdline changes patch_cmdline androidboot.hardware androidboot.hardware=flox; # change "flo" to "flox" replace_string $split_img/header bootdevice androidboot.hardware=flox "androidboot.hardware=flox androidboot.bootdevice=msm_sdcc.1"; # add bootdevice support (placement in cmdline matters) # begin ramdisk changes # default.prop patch_prop default.prop ro.build.product flox; # change "flo" to "flox" # etc/*.fstab for i in recovery twrp; do replace_string etc/$i.fstab bootdevice platform/msm_sdcc.1 bootdevice global; # change "/dev/block/platform/msm_sdcc.1" to "/dev/block/platform/bootdevice" insert_line etc/$i.fstab /vendor after by-name/system "/vendor ext4 /dev/block/bootdevice/by-name/vendor"; # add /vendor support done; # fstab.flo replace_string fstab.flo bootdevice platform/msm_sdcc.1 bootdevice global; # change "/dev/block/platform/msm_sdcc.1" to "/dev/block/platform/bootdevice" insert_line fstab.flo /vendor after by-name/system "/dev/block/bootdevice/by-name/vendor /vendor ext4 ro,barrier=1 wait"; # add /vendor support # end ramdisk changes
Edit:
Just tried 0401 and the only other thing that looks like it's missing from the kernel are the updated TCP congestion algorithms. I believe westwood and bbr are considered the best currently from kdrag0n's research: https://docs.google.com/spreadsheet...xMNz9pgS9OLKcFHssIBlj9xXI/edit#gid=1926845420
Would be great to have those, and then no more need for EX bring-ups on this device.
Edit 2:
Oh, and any way to hook up this old kernel's Double Tap 2 Wake function to the usual Lineage Settings option?
Are they really stable ?
Can make test build with the Feb 2016 version included .. no problem.
For me "offical" TWRP devices are listed on twrp.me websie .. can*t find the sources for "offical" flo2flox version on teamwin github too .. anyway ..
You basically add "bootdevice" to cmdline and replace in fstab.
Will test this ..
As the MTG sources are on my machine I made also normal build .. just with "print_ui" in addon script .. but no flo customizations.
Cheers
Reactions: osm0sis
followmsi
Senior Member
Pls post linkt to network related commits in original EX kernel ... ThanksThe original thread for the updated Adreno drivers, for more background info on them if you're interested: https://forum.xda-developers.com/t/...drivers-for-nexus-7-updated-10-11-15.3228000/
They are v145 instead of the stock included v127 drivers, and improved benchmark scores and general smoothness noticeably!
I tested them pretty extensively back when this and the Nexus 5 were modern devices, and they unfortunately went in and out of being stable with their later builds, and then Qualcomm never bothered to push any final builds to Google for release, so the Adreno Beta program was the only place they ever saw the light of day.
According to past me the final stable beta build was from February 2016:
https://forum.xda-developers.com/t/...pdated-09-12-15.3228002/page-15#post-73325141
I mirrored all the packages I could find for posterity here: https://androidfilehost.com/?w=files&flid=312875
Would love to see the February ones included in the ROM if you find them stable enough on your device.
The official MTG worked fine on my flo2flox'd official TWRP, so might just be something quick you could add to your TWRP tree to get it working.
The changes my AK3 zip performs are pretty straightforward:I'd say just ignore the flox-specific ones, e.g. where flo only gets changed to flox, and add the remaining fixes for profit?Code:# cmdline changes patch_cmdline androidboot.hardware androidboot.hardware=flox; # change "flo" to "flox" replace_string $split_img/header bootdevice androidboot.hardware=flox "androidboot.hardware=flox androidboot.bootdevice=msm_sdcc.1"; # add bootdevice support (placement in cmdline matters) # begin ramdisk changes # default.prop patch_prop default.prop ro.build.product flox; # change "flo" to "flox" # etc/*.fstab for i in recovery twrp; do replace_string etc/$i.fstab bootdevice platform/msm_sdcc.1 bootdevice global; # change "/dev/block/platform/msm_sdcc.1" to "/dev/block/platform/bootdevice" insert_line etc/$i.fstab /vendor after by-name/system "/vendor ext4 /dev/block/bootdevice/by-name/vendor"; # add /vendor support done; # fstab.flo replace_string fstab.flo bootdevice platform/msm_sdcc.1 bootdevice global; # change "/dev/block/platform/msm_sdcc.1" to "/dev/block/platform/bootdevice" insert_line fstab.flo /vendor after by-name/system "/dev/block/bootdevice/by-name/vendor /vendor ext4 ro,barrier=1 wait"; # add /vendor support # end ramdisk changes
Edit:
Just tried 0401 and the only other thing that looks like it's missing from the kernel are the updated TCP congestion algorithms. I believe westwood and bbr are considered the best currently from kdrag0n's research: https://docs.google.com/spreadsheet...xMNz9pgS9OLKcFHssIBlj9xXI/edit#gid=1926845420
Would be great to have those, and then no more need for EX bring-ups on this device.
Edit 2:
Oh, and any way to hook up this old kernel's Double Tap 2 Wake function to the usual Lineage Settings option?
Not sure about DT2W ,, personally don't like it .. too much energy for nothing
Cheers
Reactions: osm0sis
osm0sis
Senior Recognized Developer / Contributor
Pls post links to network related commits in original EX kernel ... Thanks
Not sure about DT2W .. personally don't like it .. too much energy for nothing
TCP Congestion Control is just some switches in the defconfig. Here is basically what we want, but from an OP9Pro kernel: https://github.com/engstk/op9/commit/cc75e300d8e2522ae16950691578aba8fba8bd3a
I'd also suggest making the default westwood or bbr.
DT2W is already in the kernel, just asking to have it more easily exposed to the end user by having it be a toggle in Settings like it is on modern devices with Lineage.
Top Liked Posts
-
LineageOS 20.0
10 Years later .. and we still use and play with our lovely Nexus 7 2013
Due to old camera sources we have to use OpenCamera .. inlcuded in ROM.
Some other Camera apps from playstore may work as well.
Netflix, Youtube and other apps work like before.
It's time for Android 13 ..
lineage-20.0-20230322-UNOFFICIAL-flo.zip
lineage-20.0-20230322-UNOFFICIAL-deb.zip
Tested flo build with LiteGapps and Magisk 25.2 and v2.4.0-MOD_1.2.
Pls check first page for known issues and more information.
Thanks to @ipdev for testing and logs !
Thanks to @AlesUlrych for testing !
Thanks to @khalvat for working on LineageOS-UL !
Enjoy Android 13LineageOS 20.0
Just one day later and we have the first "HotFix" build
March Feature and Security upgrade did mess up a lot ...
Had to add seccomp policy for mediaextractor to fix camera.
Some more fixes for the broken hwui .. which was feezing apps and system.
For exmaple scrolling thru Spotify app did kill system hwui on previous (0322) build.
lineage-20.0-20230323-UNOFFICIAL-flo.zip
lineage-20.0-20230323-UNOFFICIAL-deb.zip
Enjoy Android 13Hi all.
If you install GApps.
MindTheGApps arm build(s) give me an error and would not install.
I am using "LiteGapps" for Android 13 (Lineage 20) arm (armv7a) devices.
[RECOVERY]LiteGapps_Core_arm_13.0_v2.8_official - [SourceForge] - Link
I am not familiar with the LiteGapps project but, at least it works on deb and flo.
Magisk + Displax's USNF Mod module..
[MODULE] [MOD] Universal SafetyNet Fix - [xdaThread] - Link
Device is PlayStore Certified and PlayIntegrity passes.
Cheers all.
PS.
For the record, I am using followmsi's latest TWRP build(s).
followmsi - TWRP - [gDrive] - Link
Mirror:
Nexus7 - twrp - [MediaFire] - LinkI'm so sorry , I need twrp-3.7.0_9-0-deb_followmsi.img and lineage-19.1-20230218-UNOFFICIAL-flo ,I can't open the link with drive.googleHi.
I mirrored followmsi's TWRP builds to MediaFire.
Added followmsi's 20230218 builds to MediaFire.
Nexus7 - MediaFire - Link
Direct Download:
twrp-3.7.0_9-0-deb_followmsi.img - MediaFire - Download
- md5sum - MediaFire - Download
- sha256sum - MediaFire - Download
twrp-3.7.0_9-0-flo_followmsi.img - MediaFire - Download
- md5sum - MediaFire - Download
- sha256sum - MediaFire - Download
---
lineage-19.1-20230218-UNOFFICIAL-deb.zip - MediaFire - Download
- md5sum - MediaFire - Download
- sha256sum - MediaFire - Download
lineage-19.1-20230218-UNOFFICIAL-flo.zip - MediaFire - Download
- md5sum - MediaFire - Download
- sha256sum - MediaFire - Download
If you have issues with MediaFire, let me know and I can mirror them on sourceforge or AFH.
I still support (pay) AFH but, I have had too many issues so I do not currently use AFN.
Cheers.
Edit:
Mirrored followmsi's 20230218 builds to MediaFire.Hi all.
I updated my main flo tonight.
I was able to clean(ish)/dirty(ish) update from Lineage 19.1 to 20 on my main flo.I have a second flo for testing and mostly clean flash it.I patched the 20230322 boot image with Magisk.
I normally clean flash my deb while testing builds. โ
- Pulled the magisk patched boot image to my computer.
- Rebooted into recovery (TWRP).
- TWRP -> Advanced, Wipe (system and caches).This way no addon.d (backup) scripts would run.โ- Rebooted to recovery and installed the L20 build and LiteGapps (core).
- Rebooted to bootloader and booted the Magisk patched L20 boot image.
- Then used the direct install method to make Magisk permanent.
Hope it helps others to update from L19.1 to L20.
Cheers all.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK