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

Status
Not open for further replies.
Search This thread

janhammer504

Senior Member
Feb 16, 2020
158
147
i installed 12.0.7.0 global with magisk 22.0 then flashed vendor.img v12.0.7.0 but when restarted it stucked n i pressed power .phone boot but root explorer can't mount rw n just added shell in magisk
you were in indian firmware 12.0.9.0 and you flashed 12.0.7.0 for surya ???

what are you doing man ???
 
Last edited:
  • Like
Reactions: aallii2

aallii2

Member
Dec 6, 2013
29
2

janhammer504

Senior Member
Feb 16, 2020
158
147
yes. my phone has Nfc so i think it's surya. there's all of surya's rom here:

If nfc then you should be in 12.0.7.0 not 12.0.9.0
so you wrongly flashed 12.0.9.0 !!!

reflash 12.0.7.0 then pick the vendor.img from surya folder
 
  • Like
Reactions: aallii2

aallii2

Member
Dec 6, 2013
29
2
If nfc then you should be in 12.0.7.0 not 12.0.9.0
so you wrongly flashed 12.0.9.0 !!!

reflash 12.0.7.0 then pick the vendor.img from surya folder
i installed 12.0.7.0 global with magisk 22.0 then flashed vendor.img v12.0.7.0 but when restarted it stucked n should press n hold power for restart .after boot root explorer can't mount rw n just added shell in magisk
 

janhammer504

Senior Member
Feb 16, 2020
158
147
i installed 12.0.7.0 global with magisk 22.0 then flashed vendor.img v12.0.7.0 but when restarted it stucked n should press n hold power for restart .after boot root explorer can't mount rw n just added shell in magisk
phone rebooting itself once is normal after flashing magisk !

which shell added in magisk ???????????????????????????????????????????
where have you read that ?!?!?!
adb shell is for windows not magisk !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
  • Like
Reactions: aallii2

aallii2

Member
Dec 6, 2013
29
2
phone rebooting itself once is normal after flashing magisk !

which shell added in magisk ???????????????????????????????????????????
where have you read that ?!?!?!
adb shell is for windows not magisk !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
phone rebooting itself once is normal after flashing magisk !

which shell added in magisk ???????????????????????????????????????????
where have you read that ?!?!?!
adb shell is for windows not magisk !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
First of all thanks a lot for your hard works
I don't know what's the problem
This is my Firmware
Screenshot_2021-02-27-00-34-11-227_com.android.settings.jpg

This is magisk installed
Screenshot_2021-02-27-00-36-17-983_com.topjohnwu.magisk.jpg
Screenshot_2021-02-27-00-36-11-116_com.topjohnwu.magisk.jpg

And Root explorer app
Screenshot_2021-02-27-00-36-01-257_com.speedsoftware.rootexplorer.jpg
 

janhammer504

Senior Member
Feb 16, 2020
158
147
  • Like
Reactions: aallii2

aallii2

Member
Dec 6, 2013
29
2
I have a question out of here
I installed india12.0.9.0 and india12.0.8.0 and global12.0.7.0 and turkey12.0.5.0
there's no problem with em
But I think india 12.0.9.0 is better for me
Is it dangerous to my poco x3 nfc?
 

janhammer504

Senior Member
Feb 16, 2020
158
147
I have a question out of here
I installed india12.0.9.0 and india12.0.8.0 and global12.0.7.0 and turkey12.0.5.0
there's no problem with em
But I think india 12.0.9.0 is better for me
Is it dangerous to my poco x3 nfc?

you should make a difference between a firmware and vendor. they are not the same !!!

the firmware must match your location and the vendor must match you firmware (baseband+++)

you can have the same vendor for different firmwares (locations)

i posted a vendor not a firmware ...

You know what device variant hou had before (surya/karna) ... you flash

You don't know ... don't flash
 
Last edited:

janhammer504

Senior Member
Feb 16, 2020
158
147
i will make a unified vendor (1 flashable .zip) (with R/W of course) compatible with both variants (surya & karna) ... but will take some time !

!!! MIUI users : STAY AWAY PLEASE, This is for custom ROMS "ONLY" !!!
 
Last edited:
  • Like
Reactions: f3r.and0 and pnin

Veiimas

Member
Feb 19, 2021
5
0
Does this re-enable dynamic refresh rate on custom roms? Seems to be absolutely destroying my battery life...

If i have no issues (other than auxiliary cameras not working in gcam), should I install? Or is there no point?
 

jeryll

Senior Member
Dec 23, 2010
775
586
Update : Unified vendor (surya/karna) uploaded.

Check OP for more informations !

(y)
Not sure if I have to flash 12.0.9 indian fw on my surya so I can use this (which I will not unless there is global 12.0.9 fw which is not (yet))...

on 12.0.7 fw + unencrypted storage I will always get fastboot screen after flashing this 12.0.9 unified vendor (no matter if magisk reflashed or not)

I tried to reflash my ROM original kernel - no dice - still fastboot

back to 12.0.7 RW vendor - all okay
 

janhammer504

Senior Member
Feb 16, 2020
158
147
Not sure if I have to flash 12.0.9 indian fw on my surya so I can use this (which I will not unless there is global 12.0.9 fw which is not (yet))...

on 12.0.7 fw + unencrypted storage I will always get fastboot screen after flashing this 12.0.9 unified vendor (no matter if magisk reflashed or not)

I tried to reflash my ROM original kernel - no dice - still fastboot

back to 12.0.7 RW vendor - all okay
you don't need to flash any firmware. only the vendor.zip
 

janhammer504

Senior Member
Feb 16, 2020
158
147
Does this re-enable dynamic refresh rate on custom roms? Seems to be absolutely destroying my battery life...

If i have no issues (other than auxiliary cameras not working in gcam), should I install? Or is there no point?

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)
 
Last edited:

janhammer504

Senior Member
Feb 16, 2020
158
147
Not sure if I have to flash 12.0.9 indian fw on my surya so I can use this (which I will not unless there is global 12.0.9 fw which is not (yet))...

on 12.0.7 fw + unencrypted storage I will always get fastboot screen after flashing this 12.0.9 unified vendor (no matter if magisk reflashed or not)

I tried to reflash my ROM original kernel - no dice - still fastboot

back to 12.0.7 RW vendor - all okay
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.
 

janhammer504

Senior Member
Feb 16, 2020
158
147
Not sure if I have to flash 12.0.9 indian fw on my surya so I can use this (which I will not unless there is global 12.0.9 fw which is not (yet))...

on 12.0.7 fw + unencrypted storage I will always get fastboot screen after flashing this 12.0.9 unified vendor (no matter if magisk reflashed or not)

I tried to reflash my ROM original kernel - no dice - still fastboot

back to 12.0.7 RW vendor - all okay

I'm still on 12.0.7.0 firmware too, but it's not an issue here. you can flash this vendor with no problem. just don't forget magisk and your decryption script in your case !

may be you know it already, but take the example of xiaomi.eu : they use the chinese firmware as their work base for all the variants of one device. So if you know exactly what you are doing, there is no problem !

(they are already in MIUI 12.5 !)

:)
Screenshot_20210228-024947.png
 
Last edited:
  • Like
Reactions: jeryll
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