[VENDOR] [surya/karna] Unified - All Custom ROMS [10] & [11]

Status
Not open for further replies.
Search This thread

Veiimas

Member
Feb 19, 2021
5
0
yes, the refresh rate is dynamic ! but may be your rom developer has disabled that in the system/product build.prop !!! ask your rom developer !!!

auxilliary camera are related to the gcam used. try Urnyx (that's what i'm using : i use wideangle and main camera only)
Great. My data is encrypted, will it still work?
 

jeryll

Senior Member
Dec 23, 2010
777
594
Xiaomi Poco X3 NFC
Redmi Note 10 Pro
if you are unencrypted... flash your script just after flashing the vendor, because encryption is enabled by default... and if you were rooted reflash magisk again !

i don't understand why people keep flashing that old school script !!! it's useless now ... because it will break the fingerprint after restoring backup in TWRP.

ENCRYPTION IS MANDATORY FOR THE KEYSTORE TO WORK PROPERLY ... SO THE FINAL CHOICE IS YOURS.
well, I tried, but flashing encryption disabler as you suggested didn't work either, still fastboot mode...

but don't you worry with me, I will gladly wait for ROM dev to incorporate unified vendor and then I will have it too, I was only tempted by that number of fixes in it, so thanks for the possibility ...

and I can go about encryption yes or not for a long time, but if I wanted to have safe phone I'll definitely not buy xiaomi device, but at least Samsung with Knox, or some specialized devices on the market, I don't need that and I don't want that, but that's my problem
 

janhammer504

Senior Member
Feb 16, 2020
158
147
anyone know why cast is not working in EU rom ? and how fix it?

Ask your rom developer... I have already posted a thread about that and how to fix it. It is related to an issue with symlinking wdf library in the apk folder and missing some libs in the device tree for /system & /product ... not in /vendor. It's working here as you can see there. 😎

Contact your rom developer to fix it !
 
  • Like
Reactions: aallii2

jacklev

Member
Feb 26, 2019
23
1
how I need to wipe my data? before or after flashing this vendor, for the first time? and how to pick it wipe, in twrp? format data-yes, or factory reset, advanced wipe-data?
 
Last edited:

jacklev

Member
Feb 26, 2019
23
1
yes. I didn't completely understand this thing, actualy. but, where I found this, says that it's Firmware/Vendor | Vendor R/W, so not really stock? but, ok, can you tell me, please, how I need to format my data, properly? :)
 
Last edited:

janhammer504

Senior Member
Feb 16, 2020
158
147
yes. I didn't completely understand this thing, actualy. but, where I found this, says that it's Firmware/Vendor | Vendor R/W, so not really stock? but, ok, can you tell me, please, how I need to format my data, properly? :)
flash your files and do format /data (+ type yes)
 

jacklev

Member
Feb 26, 2019
23
1
flash your files and do format /data (+ type yes)
ok, thank you. also, I like to wipe/format all my partitions, with twrp, when I flash some new ROM. Am I gonna lose your vendor, cause of this, need to clean reflash? btw, how can I check my vendor/fw version, may be, even check that it's your version, I got installed. I am on the official RR 8.6.7.
 
Last edited:

janhammer504

Senior Member
Feb 16, 2020
158
147
ok, thank you. also, I like to wipe/format all my partitions, with twrp, when I flash some new ROM. If I do it, I lose your vendor, need to reflash?

Save the .zip file in your PC / External SD Card [have ever heard about them ??? ]

Flash 1st then Format [it always worked like that] ... and you start bothering me here with your repeated basic questions. All the answers you need are in the OP !
 

jacklev

Member
Feb 26, 2019
23
1
Save the .zip file in your PC / External SD Card [have ever heard about them ??? ]

Flash 1st then Format [it always worked like that] ... and you start bothering me here with your repeated basic questions. All the answers you need are in the OP !
what? sorry, I asked about IF I make wipes/formats, in twrp, I gonna lose your vendor, or not? I mean all wipes/formats, not data only. Am I gonna lose already installed vendor, I mean, not the .zip file in the internal storage, ofc. I edited my previous post, please. also, how can I check my vendor/fw version? may be, even check that it's your version, I got installed? I am on the official RR 8.6.7.
 
Last edited:

janhammer504

Senior Member
Feb 16, 2020
158
147
what? sorry, I asked about IF I make wipes/formats, in twrp, I gonna lose your vendor, or not? I mean all wipes/formats, not data only. Am I gonna lose already installed vendor, I mean, not the .zip file in the internal storage, ofc. I edited my previous post, please. also, how can I check my vendor/fw version? may be, even check that it's your version, I got installed? I am on the official RR 8.6.7.

I didn't mention anywhere formatting /vendor ... this option doesn't exist yet in any custom recovery for POCO X3 AFAIK !!!

So it looks like you wanna do it on your own and you are really bothering me now with your repeated questions ... again & again !

You are trolling and spaming the thread ... read the OP about your case.

Get the minimum respect for your self and leave this thread please .... sorry, but you are not welcome !

Here you get all what you need !
 
Last edited:

jacklev

Member
Feb 26, 2019
23
1
I didn't mention anywhere formatting /vendor ... this option doesn't exist yet in any custom recovery for POCO X3 AFAIK !!!

So it looks like you wanna do it on your own and you are really bothering me now with your repeated questions ... again & again !

You are trolling and spaming the thread ... read the OP about your case.

Get the minimum respect for your self and leave this thread please .... sorry, but you are not welcome !

Here you get all what you need !
well, ok. you didn't mention about wipe vendor, I know. but it's I just I afraid, that I can wipe it with twrp, somehow, I didn't know, maybe it's your .zip uses some other directories, idk. I ask again, cause you didn't answer, sometimes, but still chatting with me. idk why you rude. thx for the vendor wipe information.

but, thats information remains hidden to me, anyway: "also, how can I check my vendor/fw version? may be, even check that it's your version, I got installed? I am on the official RR 8.6.7."

you can just didn't answer, if you didn't want to, if it's bother you so much. but, you continue reply, so, I continue conversation.
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Update 2021-03-21

    Read the changelog [OP]

    Spring Gift :)
    1
    Update 2021-03-20

    Huge update [OP]
    1
    This custom vendor is now TIME proof !

    Achieved with brain & fingers !

    Enjoy
    1
    i'm sure i will never be able to write here again... so i anticipate and ask a good moderator to take care or close this thread.

    There was few people who deserve my respect : gardiol, SkaboXD and jeryll and others i forgot to mention.

    Thank You all and good luck in the real life. Don't waste too much time here in the virtual life !

    Cheers
  • 8

    PHP:
    /*
    * I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
    * Please do some research if you have any concerns about features included in the products you find here before flashing it!
    * 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.
    * Your warranty will be void if you tamper with any part of your device / software.
    * Same statement for XDA.
    */



    FEATURES

    .
    The first, the one and the only custom vendor for dynamic partition in the world : I challenge you all to show me who did it before !
    . If you find any custom rom with similar work since the first release of this one : it is just a copied and a stolen work [fake Google roms +++] !!!
    . Compatible with all regions / basebands / firmwares / device variants
    . Works with All AOSP/CAF based ROMs [10] & [11], Experimental, Official & Unofficial [TESTED]
    . May works on fake Google roms but i don't take any responsibility
    . Mount RO/RW available with no bootloop after reboot ! [Magisk/SU required]
    . SafetyNet passed
    . Full test passed : audio, ril, wifi, bt, fm radio, camera, sensors, fp scanner, nfc, ...
    . All known hardware issues on custom roms are fixed : camera, wifi, bt, hdr playback, chrome ... and overheating !
    . Custom Kernel with stock zImage [untouched +++]



    IMPORTANT !
    .
    NO firmware change is needed from the user side, so don't repeat this question many times ... just read up again !
    . Formatting /data is required when you flash this vendor the first time +++
    . Never go back to the previous versions due to the possible build.fingerprint change [Old releases are automatically removed] +++
    . Dirty Update : always delete with file/root explorer or in TWRP this folder :
    /data/property and reboot


    You must delete these files & folders in /product partition from your custom rom
    [File/Root explorer needed] :

    /product/vendor_overlay/29/etc/audio
    /product/vendor_overlay/29/etc/audio_policy_configuration.xml

    /product/vendor_overlay/29/etc/audio_policy_engine_configuration.xml
    /product/vendor_overlay/29/lib/soundfx
    /product/vendor_overlay/29/lib64/soundfx


    &

    /product/vendor_overlay/29/etc/wifi

    /product/vendor_overlay/29/overlay


    & finally

    /product/vendor_overlay/29/etc/qdcm_calib_data_nt36672c_huaxing_fhd_video_mode_dsi_panel.xml
    /product/vendor_overlay/29/etc/qdcm_calib_data_nt36672c_tianma_fhd_video_mode_dsi_panel.xml


    Already included in this vendor ... and since i'm the original author !




    [ OPTIONAL ]
    If you have the madness and the paranoia with security like Google, you can still relock /vendor again to the stock RO state ... But you will not be able to mount /vendor RW again even with root until you reflash the provided vendor.zip again !

    How to [terminal or adb shell] :
    su
    tune2fs -O verity /dev/block/dm-1




    *******



    !!!

    MIUI Users : sorry for you, but this is for custom ROMS " ONLY "

    TROLLS & NOOBS, stay away ... Please !
    !!!



    Prerequisite:

    POCO X3 NFC = surya
    POCO X3 [no NFC] = karna

    No matter where you live : india, china, russia, europe, usa or africa ... !


    Kernel Source [Prebuilt] : Here


    Created : 2021-02-27
    Latest Update : 2021-03-21



    DOWNLOAD
    5
    RESERVED for "Changelog"

    Update : [2021-03-21] Highly Recommended !

    - overlay folder [/vendor] : secure & total remove ... R.I.P forever ! :sneaky:

    You can now remove it from here too ... with no issue :
    /product/vendor_overlay/29/overlay

    [As always : no /data formatting is required if done in the previous builds !]


    Update : [2021-03-20]
    fix compatibility with all custom roms [10] & [11] +++ :
    - build : preserve AVB structure [R/W still available in root mode] :sneaky:
    - tune2fs : restore some stock feature flags [dir_index, huge_file, extra_isize]
    - fstab [kernel & vendor] : small update
    - vendor selinux : property_contexts fix
    - build.prop : clean-up


    Update : [2021-03-18]
    clean-up & rework from scratch :
    . all audio config [over 20 files +++]
    . all media_codecs config
    . new mixer_paths

    [=> Exclusive]
    - true resampling fix : r.i.p audio crackling and all audio issues in UX, Dialer, emulators ... etc [forever]
    - improve audio & camera recording
    - audio/video playback [Speaker, Headphones & BT] : Hi-Fi quality, loud & noiseless

    [but first, you must delete these files with your File/Root Explorer:
    /product/vendor_overlay/29/etc/audio
    /product/vendor_overlay/29/etc/audio_policy_configuration.xml

    /product/vendor_overlay/29/etc/audio_policy_engine_configuration.xml
    /product/vendor_overlay/29/lib/soundfx
    /product/vendor_overlay/29/lib64/soundfx
    ]


    Update : [2021-03-12]
    - move to global 12.0.8.0 as firmware base [boot & vendor]
    - ramdisk :
    . disable mi_thermald and re-enable again thermal-engine
    [on all custom roms : mi_thermald breaks the proximity sensor & suspend service in deepsleep => avoid hand wave gesture & AOD to work properly !]
    . clean up & update

    - vendor_selinux : add more camera permissions in property_contexts

    - media_codecs : remove unused .xml
    - ueventd.rc : rework from scratch


    Update : [2021-03-07]
    - ramdisk :
    . update cpuset & schedtune settings
    . improve memory multitasking
    . make that "damn" fingerprint truly responsive (y)
    . enable UFS powersaving
    . some clean-up & disable MIUI audio service

    - media_profiles :
    . rework from scratch
    . add slow motion profile support : up to 1080p/120 fps & 720p/960 fps
    . front video camera : add 4K support

    - build.prop :
    => update parameters for : camera, ril, performance, playback ... and more


    Update : [2021-03-05]
    - rework from scratch : init.qcom.sh & init.qcom.post_boot.sh
    - ramdisk : clean-up and add init.qcom.power.rc
    . fix CPU instability : set 300 mHz as CPU minimum frequency for all cores / update schedutil governor parameters
    . cpu_boost : improve touch responsiveness
    . add built-in display power saving [for both huaxing & tianma panels]

    - vendor permissions : rebuild from scratch / fix wronlgy settled paths (by Xiaomi) in some qti.xml

    - camera : rework from scratch ISO/lowlight config

    - remove dummy hbtp folder ... since there is no binary to load or device specific config
    - targetconfig : update CoreCtlCpu to [0,6]
    - build.prop : clean up and move NFC parameters to build_surya.prop
    - [Bonus] : Wi-Fi signal improved (x2) !!! :)
    . 2.4 Ghz : 144 => 300
    . 5 GHz : 433 => 866

    [but first, you must delete this folder, with your File/Root Explorer :
    /product/vendor_overlay/29/etc/wifi ]


    Update : [2021-03-01]
    - update msm_irqbalance.conf
    - update audio_effects.conf & remove audio_effects.xml
    - universal vbmeta & vbmeta_system added


    Update : [2021-02-27]
    - initial release
    - rework all build.prop (vendor & odm) from scratch
    - debloated from unused MIUI folders, files & configs
    - Kernel :
    . enforcing selinux by default
    . workqueue enabled in cmdline => better dynamic refresh rate handling by the CPU & stellar deep-sleep
    . fstab reworked from scratch
    4
    Update : Unified vendor (surya/karna) uploaded.

    Check OP for more informations !

    (y)
    3
    Update 2021-03-21

    Read the changelog [OP]

    Spring Gift :)
    2
    PREREQUISITE

    - adb enabled (developer options)
    - root (Magisk/SU)
    - adb for Windows (Minimal ADB and Fastboot, provided)
    - USB cable always connected


    LIVE Flashing :

    adb shell
    su
    dd if=/sdcard/vendor.img of=/dev/block/dm-1


    View attachment 5232189


    Reboot your phone right away ... then use your File/Root Explorer to test the mount RO/RW option and reboot again to check that there is no bootloop !


    (Optional)
    If you have the madness and the paranoia with security like Google, you can still re-enable AVB/Verity again ... But you will not be able to mount /vendor RW again even with root until you reflash the provided vendor.img again !

    tune2fs -O verity /dev/block/dm-1

    Check the full tutorial here to build your own custom vendor ... if you want !



    DOWNLOAD
    ... so, I can confirm that this is indeed working nicely, flashed RW vendor for Surya, just for the sake of the functionality, because I'm not sure about benefits I can get from writeable vendor (forgive my ignorance)...

    ... Thank you very much for your hard work...

    just FYI I did flash it in Ofox recovery in built-in terminal, and also directly from running Android via Termux, so you don't need PC for it, just saying...
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