I'll try to create a flashable zip or will just dump my vendor partition and share it.
No idea regarding battery usage though, sorry. On Havoc myself, didn't notice any drain.
Patched T-Virus 20190703 Vendor image
* `sensor_def_qcomdev.conf`, `sensors_calibrate.so` and `sensors.ssc.so` files from stock 515D
* framework vendor overlay for autobrightness and some settings from stock
Unpack the 7z archive and flash image file to the vendor partition. If something goes wrong, flash the original, unpatched vendor image.
I don't provide any support for this, as I have close to no knowledge on all of this.
when you're unlocking bootloader instead of fastboot flashing unlock use fastboot flashing unlock_critical
---------- Post added at 09:19 PM ---------- Previous post was at 08:48 PM ----------
are there any more differences between 5150 and 515D?
if there are, then can you please make a patch for it?
F.Y.I MSM Xtended GSI shows this message every time I reboot,
"Android system: your vendor image doesn't match the system. please flash the PQ3A.190801.002 vendor image for your device"
and I believe it needs 515D vendor image because PQ3A.190801.002 is august security patch I think
so far I used:
Havoc 2.8, it was ok (issues: flashing backlight buttons, high battery usage).
Oxygen os(phone hangs up and never gets up after restart or shut down, should use vol+, power for almost 1 min to get phone restarted and after many trials took me a whole damn day to get the phone to recovery to flash another GSI.
and MSM Xtended XP9 Release v18 with the highest compatibility I think, no flashing buttons, smooth as butter, so far so good
ALTER TABLE files ADD COLUMN socail_facerect_left TEXT; ALTER TABLE files ADD COLUMN socail_facerect_top TEXT; ALTER TABLE files ADD COLUMN socail_facerect_right TEXT; ALTER TABLE files ADD COLUMN socail_facerect_bottom TEXT; ALTER TABLE files ADD COLUMN social_contactid TEXT; ALTER TABLE files ADD COLUMN social_faceid TEXT; ALTER TABLE files ADD COLUMN social_face_num INTEGER; ALTER TABLE files ADD COLUMN social_face_orientation TEXT; ALTER TABLE files ADD COLUMN social_isscanned INTEGER; ALTER TABLE files ADD COLUMN imagetype INTEGER; ALTER TABLE files ADD COLUMN isfavorite INTEGER; DROP VIEW IF EXISTS images; CREATE VIEW images AS SELECT _id,_data,_size,_display_name,mime_type,title,date_added,date_modified,description,picasa_id,isprivate,latitude,longitude,datetaken,orientation,mini_thumb_magic,bucket_id,bucket_display_name,width,height,socail_facerect_left,socail_facerect_top,socail_facerect_right,socail_facerect_bottom,social_contactid,social_faceid,social_face_orientation,social_face_num,social_isscanned,isfavorite,imagetype FROM files WHERE media_type=1;
Hello I am planning to get a used nokia 8 (for its sd835 cpu) and make it treble compliant to flash Android gsi's.
Once I fully unlock the bootloader and flash your. qlz through NOST, will the phone have the full power of the chipset? Will there still be performance issues like on the Nokia rom?
Can I then flash magisk through twrp to obtain root?
I can confirm that yes, it works with some GSIs, not android 10 gsi's though as op clearly mentioned, yes there are bugs, check through the post, BT audio not working, hardware keys flash on some GSIs, etc. But i can confirm however im running msm extended GSI and for the most of it works well, definitely beats stock, and yes, its rooted and can pass safetynet with the patch, but be aware that this isnt an official treble supported device, so dont expect a bug free experience, but im running on Pie and thanks to this mod its given new life to our nokia 8, just dont expect further updates as other users mentioned the OP no longer owns the device.
#include <std_disclaimer.h> /* * Your warranty is now void. * * I am not responsible for bricked devices, dead SD cards, * thermonuclear war, or you getting fired because the alarm app failed. Please * do some research about modifying your android system before flashing this! * YOU are choosing to make these modifications, and if you point the finger at * me for messing up your device, I will laugh at you. Hard. A lot. */
$ mkdir firmware $ ./exdupe -R ~/Downloads/NB1-5150-0-00WW-B03.qlz firmware/ $ git clone https://github.com/resident-nokia/t-virus $ cd t-virus
$ ./build.sh --version v0.1 --firmware ../firmware
The ability to install GSIs (Generic System Images). Basically everything from here: https://forum.xda-developers.com/project-treble/trebleenabled-device-development
Yes I solved partically the compass error. But seems it is partically because it sloooowly rotates clockwise. Trying to find another solution. So it was preambula. Now what I did: I got sensor_def_qcomdev.conf file from Android 8.1 for Nokia 8 and copied it to /system/vendor/etc/sensors (root access required) and set rights -rw-r-r just like it was on original. After that compass seemed to be fixed. Bu as I said befor - it is only first look. Than it ran away. But you may be mor lucky with it! Try and you`ll see if it helped.
Yes buttons are flickering twice and then they go out. I dont pay attention to it.