Driver installation keep asking after reboot, can anyone help me pls
magiskpolicy --live 'allow audioserver audioserver_tmpfs file { read write execute }'
magiskpolicy --live 'allow audioserver system_file file { execmod }'
magiskpolicy --live 'allow mediaserver mediaserver_tmpfs file { read write execute }'
magiskpolicy --live 'allow mediaserver system_file file { execmod }'
magiskpolicy --live 'allow audioserver unlabeled file { read write execute open getattr }'
magiskpolicy --live 'allow hal_audio_default hal_audio_default process { execmem }'
magiskpolicy --live 'allow hal_audio_default hal_audio_default_tmpfs file { execute }'
magiskpolicy --live 'allow hal_audio_default audio_data_file dir { search }'
magiskpolicy --live 'allow app app_data_file file { execute_no_trans }'
magiskpolicy --live 'allow mtk_hal_audio mtk_hal_audio_tmpfs file { execute }'
Place this in the v4a file and reboot
[MOD] viper4android + MIUI 12 + Magisk 21.1
Default viper4android Magisk module doesn't work for me with SELinux enforcing. "Brute force" fix is to set SELinux to permissive, but I don't like this approach. Viper4android module should patch selinux policies during installation, but it...
forum.xda-developers.com
wrecklesswun said:
magiskpolicy --live 'allow audioserver audioserver_tmpfs file { read write execute }'
magiskpolicy --live 'allow audioserver system_file file { execmod }'
magiskpolicy --live 'allow mediaserver mediaserver_tmpfs file { read write execute }'
magiskpolicy --live 'allow mediaserver system_file file { execmod }'
magiskpolicy --live 'allow audioserver unlabeled file { read write execute open getattr }'
magiskpolicy --live 'allow hal_audio_default hal_audio_default process { execmem }'
magiskpolicy --live 'allow hal_audio_default hal_audio_default_tmpfs file { execute }'
magiskpolicy --live 'allow hal_audio_default audio_data_file dir { search }'
magiskpolicy --live 'allow app app_data_file file { execute_no_trans }'
magiskpolicy --live 'allow mtk_hal_audio mtk_hal_audio_tmpfs file { execute }'
Place this in the v4a file and reboot
Click to expand...
Click to collapse
Thnks for the reply, i already tried that too (edited the ''post-fs-data.sh'' file).. i literally tried everything i could find on xda
install JamesDSP from magisk, that helped for me
Gamlerr said:
install JamesDSP from magisk, that helped for me
Click to expand...
Click to collapse
It's crashing on launch
kimo1122 said:
It's crashing on launch
Click to expand...
Click to collapse
You dont need to open jamesDSP just install and keep it, then you can use viper4android from magisk. And dont forget to install Audio Modification Library from magisk
Gamlerr said:
You dont need to open jamesDSP just install and keep it, then you can use viper4android from magisk. And dont forget to install Audio Modification Library from magisk
Click to expand...
Click to collapse
I did all what you said, but the driver keep asking to install after reboot
Gamlerr said:
You dont need to open jamesDSP just install and keep it, then you can use viper4android from magisk. And dont forget to install Audio Modification Library from magisk
Click to expand...
Click to collapse
The method that was working on OOS11 does not work on OOS12. I had it working fine prior to the update using JamesDSP or Ainur Narsil, but neither works now. Adding the magiskpolicy commands to the script doesn't make a difference, nor does disabling SELinux. I did install Audio Modification Library, and just for the heck of it I installed Audio Compatibility Patch too (even though that shouldn't affect the install itself). We might be waiting on an A12-compatible release of JamesDSP, V4A, or both.
If it's anything like Android 11 it's because both audio_effects files (namely audio_effects.conf and audio_effects.xml) get installed at the wrong location. It should be $MODDIR/system/vendor/etc/audio/sku_lahaina/audio_effects{.xml,.conf}.
Now it's also possible that Android 12 on the OnePlus also got audio_effects files installed on the /odm partition . That's the case for instance for Android 11 on the Realme GT. They need to be overridden otherwise they block media.audio_server from loading added libraries.
vczilla said:
If it's anything like Android 11 it's because both audio_effects files (namely audio_effects.conf and audio_effects.xml) get installed at the wrong location. It should be $MODDIR/system/vendor/etc/audio/sku_lahaina/audio_effects{.xml,.conf}.
Now it's also possible that Android 12 on the OnePlus also got audio_effects files installed on the /odm partition . That's the case for instance for Android 11 on the Realme GT. They need to be overridden otherwise they block media.audio_server from loading added libraries.
Click to expand...
Click to collapse
I can confirm that both audio_effects files exist under /system/vendor/etc/audio/sku_lahaina and also under sku_shima and sku_yupik (all 3 copies look the same), and only the .xml file exists under /odm/etc. Can you clarify what you mean by overriding them? Is there a guide somewhere on this?
Meaning depending on what they try to load a good idea would be to just bind mount an empty one so that only what's in vendor would actually be relevant . And not to my knowledge ( I meant for the guides ). I just got my op9 pro today and it's still running A11. But if OnePlus re-released A12 I'll have to install it and update why I wrote . I had to deal with the situation on a Realme GT .
kimo1122 said:
Driver installation keep asking after reboot, can anyone help me pls
Click to expand...
Click to collapse
Flash this modded module in Magisk Manager. Remember enable Legacy Mode on Viper4Android FX app.
Juniiim said:
Flash this modded module in Magisk Manager. Remember enable Legacy Mode on Viper4Android FX app.
Click to expand...
Click to collapse
Im getting ''unzip error'' in magisk manager when try to install
Juniiim said:
Flash this modded module in Magisk Manager. Remember enable Legacy Mode on Viper4Android FX app.
Click to expand...
Click to collapse
Unzip error..
kimo1122 said:
Im getting ''unzip error'' in magisk manager when try to install
Click to expand...
Click to collapse
I forgot one file in zip sry, let's make another fix.
Install the original module open the app and let install driver after reboot replace the content of the attachment in folder /data/adb/modules/ViPER4AndroidFX folder and reboot.
Juniiim said:
I forgot one file in zip sry, let's make another fix.
Install the original module open the app and let install driver after reboot replace the content of the attachment in folder /data/adb/modules/ViPER4AndroidFX folder and reboot.
Click to expand...
Click to collapse
Already tried this fix, driver loop still persist
kimo1122 said:
Already tried this fix, driver loop still persist
Click to expand...
Click to collapse
This is modded one made by me I put one line to replace the audio_effects.xml in odm partition just test will work.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Juniiim said:
This is modded one made by me I put one line to replace the audio_effects.xml in odm partition just test will work.View attachment 5503415
Click to expand...
Click to collapse
Thank you so much mate that worked
kimo1122 said:
Thank you so much mate that worked
Click to expand...
Click to collapse
Hi, may I ask which steps you took before replacing the post-fs-data.sh file? Are you installing JamesDsp and Audio modification Library? Also which version of Viper4android are you using is it the one from the magisk repo? I had viper working on oos 11 just fine until I upgraded to oos 12. I was experiencing the driver loop as well on 12. Ended up msm back to 11, but couldn't get past the driver loop on 11 as well. That had never happened to me on 11 before. So I endeded up upgrading back to 12. Just curious what your process was before I try again. Thank you.
Related
Hello,
many people don't have native 6.5 kernels so they must recmod and not all of our kitchens has any recmod-options and sometimes even this isn't enough so I built an Windows Shell extension ("extension") - it adds to Right Click menu "Recmod this folder" option
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What it needs: C++ Runtimes and .NET Framework 2.0 and newer
Installation
Download osRecmod.zip included in this post, extract it to C:\Program Files\OndraSter\osRecmod and run RightClickInstaller.exe.
If you previously had installed previous version, click Uninstall first.
To finally install it, click on Install.
And voila, without rebooting or such you can recmod or reversmode easy!
(Recmod is shown only on folders, reversmode on exe, dll and mui files.)
PS: It has been tested on Win7 x64 with disabled UAC.
PPS: I'm not author of Recmod or Reversmod!
PPPS: If you want to distribute this, please link to whole thread (post), not just download links. Also reuploading to different servers without permission is not allowed. Thanks.
PPPPS: To uninstall this "extension", run again RightClickRecmodInstaller.exe and click on Uninstall. Also, no reason to reboot!
Donate - thanks.
Nice idea my friend, but sadly it doesn´t work on my pc, i´m on win7 32 bits, all framework versions installed, c++ also, and get this error:
Assinatura do problema:
Nome do Evento de Problema: CLR20r3
Assinatura do Problema 01: rightclickrecmod.exe
Assinatura do Problema 02: 1.0.0.0
Assinatura do Problema 03: 4ae35b84
Assinatura do Problema 04: mscorlib
Assinatura do Problema 05: 2.0.0.0
Assinatura do Problema 06: 4a275af7
Assinatura do Problema 07: 344b
Assinatura do Problema 08: d8
Assinatura do Problema 09: System.IO.FileNotFoundException
Versão do SO: 6.1.7600.2.0.0.256.1
ID de Região: 2070
Note: mscorlib.dll exists on the specified directory.
Cheers.
Have you got the RightClickRecmod.exe and recmod.exe in:
C:\Program Files\OndraSter\osRecmod
?
I think it should work when using portugese "Program Files" folder since it reads from system vars, but try it creating in English.
I may have the problem solved, I forgot to delete one line, try it now
Thx for the help, problem still remains.
When you click recmod, console window should pop-up what's the last thing in it?
Ehmm......sorry for stupid question but ....when after have recmoded the folders they disapear and some 0 bytes files appears.....what i have to do now ?
OndraSter said:
When you click recmod, console window should pop-up what's the last thing in it?
Click to expand...
Click to collapse
Hi, installed msxml4.0, and now all works great.
Excellent tool bro.
Cheers.
nice app works fine on win 7 32bit for me.
af974 said:
Ehmm......sorry for stupid question but ....when after have recmoded the folders they disapear and some 0 bytes files appears.....what i have to do now ?
Click to expand...
Click to collapse
Are you recmodding just module like adc.exe, not whole folder like browsing, right?
OndraSter
Congratulations for this great tool, even if I've noticed only after moving from Kaiser to Topaz
Keep up your Super Work
I encountered a problem, here my Screenshot:
and the module name change, there is _ in the tail.
it gets renamed. Check that folder if there is inside of it the right named module (tapres.192.dll). If yes, try getting the version I posted as second in about 5th post, it fixes one problem, it might help you too.
// it gets renamed because NTFS can't handle in one folder both same named file and folder, so I rename it to _, move the recmodded file and delete the old module folder.
OK, new version with Reversmode option avaible:
Recmod - displayed at folders
Reversmod - displayed at EXE, DLL and MUI files
So now you can Recmod eg tapres.96.dll, modify icons with PE Explorer and with Reversmod pack it up back to module. All with two-clicks (right-left)
very easy solution! thanks for this
Hi y friend,
I would like to use your tools but unfortunately, i have a bug :
I think you need to use the NTFS permission in your tool in order to set the folder to recmod as owner permission
How can resolve it ??
Thanks a lot
You can't recmod whole BLuetooth folder, you must go one file by file. I'll add support for whole (or multiple) folders at once later.
Two issues:
1. If there exists no "Shell" key for the dllfile or exefile registry keys (ie HKCU\dllfile\Shell or HKCU\exefile\Shell doesn't exist), installation fails
2. Attempting to Reversemod multiple files at once fails - due to the file being reversemodded being renamed to "tmp" (may I suggest renaming it to <the_old_file>.tmp (eg shell32.dll becomes shell32.dll.tmp))
1 I write it to HK classes root, so I thought this is sooo common that it won't fail . I'll add that possibility to installation.
2 It doesn't do more at once, it goes only for first parameter. I'll add it too.
OndraSter said:
1 I write it to HK classes root, so I thought this is sooo common that it won't fail . I'll add that possibility to installation.
2 It doesn't do more at once, it goes only for first parameter. I'll add it too.
Click to expand...
Click to collapse
1. Sorry, HKCR not HKCU. Also I think it is quite common since most people don't have any application associated with dll's
2. What I meant by this is that if I select multiple dll's, right click on them and select "Reverse mode this file" then multiple instances of Reversemode are launched and each instance attempts to name its file to "tmp"
Ghost Kitchen v2
Compatible with Windows(Cygwin) / Mac OS X / Linux
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ghost Kitchen Based on dsixda's Android Kitchen and was only modyfied by me and thehacker911 for the new Android 4.4,X ROM's (My extras are only for Galaxy S4 and i don't support any other Devices!!!
So please don't ask if i support any other Device, the answer is NO, cause i don't have enough time to support any other Devices.
This Kitchen is only for Galaxy S4 KitKat ROMs modyfied !!!
Features:
Code:
[FONT="Comic Sans MS"][SIZE="3"][COLOR="Black"]
1. Set up working folder from ROM
2. Zipalign all *.apk files to optimize RAM usage
3. Change name of ROM
4. Show working folder information
5. Add Root Permissions
6. Add BusyBox
7 Remove Knox
8 Create Base (Ghost Extra Mod by [URL="http://forum.xda-developers.com/member.php?u=5068852"]thehacker911[/URL])
GHOST Advanced Options
11 - Deodex files in your ROM
12 - Tools for boot image (unpack/re-pack/etc.)
13 - Sign APK or ZIP file(s)
14 - Add etc/init.d scripts support (old - use only for kernel)
15 - Add etc/init.d support (newest Method)
99. Build ROM from working folder
0. Exit
GHOST Base Menu
1 - Unpack system.ext4.img
2 - Unpack cache.ext4.img
3 - Unpack hidden.ext4.img
4 - Unpack data.ext4.img
99. Build ROM from working folder
0. Exit
[/COLOR][/SIZE][/FONT]
All Credits / Questions and answers can be found
Here
A Big Thanks to:
dsixda
thehacker911
Download
How to Use
Open Cygwin or Terminal
write
cd ghost
./ghost
Ghost Menu opens and you can begin to make your ROM
Please move this thread to developers only forum
Sorry for that my Friend but i have this Thread created in Original I9505, cause my modyfications are only for I9505
any Moderator please move this thread to developers only forum
All fine thank you
really nice, thank you for your work!
No
What No ??
Kitchen Works Great if you say no, don't use it
Let's try it
I put the ghost folder where the kitchen folder is. I type cd ghost and it says:
-bash: cd: ghost: No such file or directory
I type cd kitchen and I am in there... confused a little where the ghost folder goes to be found... thanks in advance...
[email protected]:~/Ghost_Kitchen_v2/ghost$ ./ghost
bash: ./ghost: Permission denied
how to fix this?
bobfrantic said:
I put the ghost folder where the kitchen folder is. I type cd ghost and it says:
-bash: cd: ghost: No such file or directory
I type cd kitchen and I am in there... confused a little where the ghost folder goes to be found... thanks in advance...
Click to expand...
Click to collapse
First help here Bob, after you changed device. You download program then you have a main folder where inside there's a folder named ghost. Cd to main folder=>cd to ghost folder and write ./ghost to start kitchen, if you get "permission denied" write chmod a+x ghost then again ./ghost
kentandrei said:
[email protected]:~/Ghost_Kitchen_v2/ghost$ ./ghost
bash: ./ghost: Permission denied
how to fix this?
Click to expand...
Click to collapse
Read my answer above this quote
Inviato dal mio GT-I9505
Give the kitchen folder 0777 rights
Gesendet von meinem One mit Tapatalk
AntaresOne said:
First help here Bob, after you changed device. You download program then you have a main folder where inside there's a folder named ghost. Cd to main folder=>cd to ghost folder and write ./ghost to start kitchen, if you get "permission denied" write chmod a+x ghost then again ./ghost
Read my answer above this quote
Inviato dal mio GT-I9505
Click to expand...
Click to collapse
thanks i will try your solution sir later after work.
thehacker911 said:
Give the kitchen folder 0777 rights
Gesendet von meinem One mit Tapatalk
Click to expand...
Click to collapse
how to do that sir?
EDIT: the first quote answered already my question for you sir, sorry for the noob question
btw sir how to solve this?
Enter option: 8
./ghost: line 124: scripts/ghost/menu_base: Permission denied
i choose to create a base and that comes out.
go into the folder scripts/ghost/menu_base and give all the files 0777 rights
Ghost44 said:
go into the folder scripts/ghost/menu_base and give all the files 0777 rights
Click to expand...
Click to collapse
i did what you've said sir but
[email protected]:~/Ghost_Kitchen_v2/ghost/scripts$ chmod a+x menu_base
chmod: cannot access ‘menu_base’: No such file or director
EDIT: above post is already solve.
EDIT2:
Proceed (y/n)? (default: y): y
Creating folder /home/kyang/Ghost_Kitchen_v2/ghost/system.ext4_101814_203716 ...
---> Place system.ext4.img into the folder mentioned above <--
Press Enter to continue
NON-YAFFS/NON-TAR FILE FORMAT DETECTED
Mounting system.ext4.img to loopback device and then extracting files ...
mkdir: cannot create directory ‘../tmp’: File exists
Error: Unable to mount system.ext4.img
Error: /home/kyang/Ghost_Kitchen_v2/ghost/system.ext4_101814_203716 is empty!
Press Enter to continue
i extract the I9505VJUGNI2_I9505ZTOGNI2_I9505VJUGNI2_HOME.tar.md5 and replace the system.img.ext4 to system.ext4.img and that error came out. how to extract the system.img.ext4 originally from the I9505VJUGNI2_I9505ZTOGNI2_I9505VJUGNI2_HOME.tar.md5?
AntaresOne said:
First help here Bob, after you changed device. You download program then you have a main folder where inside there's a folder named ghost. Cd to main folder=>cd to ghost folder and write ./ghost to start kitchen, if you get "permission denied" write chmod a+x ghost then again ./ghost
Inviato dal mio GT-I9505
Click to expand...
Click to collapse
I don't get permission denied, I get this error: -bash: cd: ghost: No such file or directory. Do I have to setup cgywin all over again for ghost?
bobfrantic said:
I don't get permission denied, I get this error: -bash: cd: ghost: No such file or directory. Do I have to setup cgywin all over again for ghost?
Click to expand...
Click to collapse
No Bob, I wrote that thing about permission denied just in case. You don't have to setup again: after you download kitchen rar file extract it and rename the folder in "ghost". Paste this folder in cygwin folder->home->YOURNAME and start up cygwin
@ kentandrei
go into this folder scripts/ghost/menu_base/base_tool
open sgs2toext4.jar and drop the system.img.ext4 into the sgs2toext4.jar
then rename the converted img file to system.ext4
Got it working yay but when I was setting up a work folder I got this error:
-------------------------------------
Available ROMs:
(1) I9505XXUGNG8_I9505OXXGNG2_XSK.zip
Enter selection number (default=1, cancel=0, r=refresh):
Selected I9505XXUGNG8_I9505OXXGNG2_XSK.zip
The new working folder will be named WORKING_101914_184151
Change the name (y/n)? (default: n):
Creating working folder WORKING_101914_184151 ...
Extracting ROM from ZIP file ...
Error: No system folder found!
Press Enter to continue
-----------------------------------------
Shouldn't it be creating the system folder when creating the working folder?
Code:
#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 if you have any concerns about features included in this package
* before installing 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.
*/
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You read it right, here's a functional port of BDS Menu for Lumias unlocked using WPInternals.
Note: I observed some weird behaviors on early x30 devices, including prototypes that had BDS menu out of the box, where the menu would simply act like if it was broken.
The bootarm.efi loader has been taken from the grub package posted here and modified to load menu.efi instead of boot.efi, credits belong to the original person that developed this efi in 2016.
Note: attached two variants, a normal one (fs3) and a fs4 variant, if you get an error about the menu not finding its configuration files, please try the other variant.
Installation instructions:
Download the files attached in this post.
Place all files downloaded in the EFIESP partition of your phone.
Configure BCD exactly like this to have an entry loading BDS menu:
Load the entry using your favorite method.
Have fun.
That shim file might not work on 950XL, it simply reboots my phone - haven't figured out why, probably due to new CPU architecture or the firmware itself
Thanks gus ,
you can also restore the USB Mass Storage picture by adding attached bmpx files in EFIESP\Windows\System32\BOOT\ui.
gus33000 said:
Configure BCD exactly like this to have an entry loading BDS menu:
Load the entry using your favorite method.
Click to expand...
Click to collapse
How?
augustinionut said:
How?
Click to expand...
Click to collapse
To be fair as some of the capabilities of BDS menu can be very destructive (hence the big disclaimer), if you really don't know how to do this, then you may stay away from it, it won't bring you anything cool
Please, y have the lumia 530 lab rat.
Nevermind, ill modify EFIESP\efi\Microsoft\Boot\bcd using visual BCD.
augustinionut said:
Please, y have the lumia 530 lab rat.
Nevermind, ill modify EFIESP\efi\Microsoft\Boot\bcd using visual BCD.
Click to expand...
Click to collapse
You shouldn't use visual BCD. Use BCDEdit since some of the options aren't available and Visual BCD isn't built for phones.
Note: currently looking at a problem where the block id for efiesp might differ between phones, if you get an error message saying can't load menu configuration file, please tell me your device model.
Edit: Fixed for some other problematic devices, I'll send an alternative version of the menu to see if it fixes it for most with the two variants
imbushuo said:
That shim file might not work on 950XL, it simply reboots my phone - haven't figured out why, probably due to new CPU architecture or the firmware itself
Click to expand...
Click to collapse
Yes same problem on 950.
Could you explain how to configure bcd using bcdedit please?
CosminNTT said:
Could you explain how to configure bcd using bcdedit please?
Click to expand...
Click to collapse
like this...
also need add device
bcdedit /store .\BCD /set "{7e1bd2b8-0ab0-11e8-aa3b-1c3947b79a68}" device partition=f:\efiesp
and(in my case) add it to customactions( activation by vol up/down )
bcdedit /store .\BCD /set "{bootmgr}" custom:54000002 "{7e1bd2b8-0ab0-11e8-aa3b-1c3947b79a68}"
(custom:54000002 == vol down, custom:54000001 == vol up)
The first time a came across this menu was on the Mi4 W10M rom. Thanks for sharing this.
Does not work on my lumia 950 it just seems to fit into ARM V7 with 32 bit architecture
Someone can copypaste those commands instead of attaching pictures?
Nevermind, i OCR that photo:
PS I:\EFIESP\efi\Microsoft\Boot> bcdedit /store .\BCD /create /application bootapp
xxxxxxxxxxxxxxx succesfuly created
PS I:\EFIESP\efi\Microsoft\Boot> bcdedit /store .\BCD /set "xxxxxxxxxxxxxxx" path \efi\bds\bootarm.efi
PS I:\EFIESP\efi\Microsoft\Boot> bcdedit /store .\BCD /set "xxxxxxxxxxxxxxx" description "BDS Menu"
PS i:\EFIESP\efi\Microsoft\Boot> bcdedit /store .\BCD /set "xxxxxxxxxxxxxxx" locale en-us
PS i:\EFIESP\efi\Microsoft\Boot> bcdedit /store .\BCD /set "xxxxxxxxxxxxxxx" inherit "{bootloadersettings}"
PS i:\EFIESP\efi\Microsoft\Boot> bcdedit /store .\BCD /set "xxxxxxxxxxxxxxx" nonintegritychecks yes
PS i:\EFIESP\efi\Microsoft\Boot> bcdedit /store .\BCD /set "xxxxxxxxxxxxxxx" testsigning yes
PS i:\EFIESP\efi\Microsoft\Boot> bcdedit /store .\BCD /set "xxxxxxxxxxxxxxx" isolated context yes
PS i:\EFIESP\efi\Microsoft\Boot> bcdedit /store .\BCD /set "xxxxxxxxxxxxxxx" device partition=i:\efiesp
PS i:\EFIESP\efi\Microsoft\Boot> bcdedit /store .\BCD /set "{bootmgr}" custom:54000002 "xxxxxxxxxxxxxxx"
at least mass storage bootable not via WPI only x3x x4 x
The menu is shown but no option works in Lumia 640 RM-1109
mateusseiboth said:
The menu is shown but no option works in Lumia 640 RM-1109
Click to expand...
Click to collapse
On my device too(
I run efi shell with simple script(for run another efi file) and shell thrown "security violation"...
grub2(chainload) thrown error too((
I can't edit bcd file no matter what I do. Cmd and ps keep saying access denied.
mateusseiboth said:
The menu is shown but no option works in Lumia 640 RM-1109
Click to expand...
Click to collapse
Same thing with 950. It just blinks and nothing happens.
BlueTR said:
I can't edit bcd file no matter what I do. Cmd and ps keep saying access denied.
Click to expand...
Click to collapse
run cmd/powershell by administrator
Hi,
I have the latest stock ROM (G960FXXSFFUB3) on my Galaxy S9 (SM-G960F, Exynos) and my goal is to install official AOSP Android 11 GSI using Odin. I pretty much succeed, but I got bootloop as a result. Can you please help me to resolve this problem?
Steps to reproduce:
1. OEM Unlock [source, by @georgeburduli ]
1.1. Connect your phone to the Internet
1.2. Navigate to "Settings" -> "General management" -> "Date and time"
1.3. Disable "Automatic date and time"
1.4. Click on "Set time"
1.5. Select any date from the previous month
1.6. Navigate to "About phone" -> "Software update"
1.7. Disable "Auto download over Wi-Fi"
1.8. Click on "Download and install"
1.9. Navigate to "About phone" -> "Software information"
1.7. Tap on "Build number" 7 times to activate "Developer options"
1.8. Navigate to "Settings" -> "Developer options"
1.9. Disable "Auto update system"
1.10. Enable "OEM Unlock". If there are no "OEM Unlock" option in "Developer options", then try to repeat steps 1.1 - 1.10.
2. Prepare building tools [source, by @kkoo ]
2.1. Install 7zip
2.2. Create a new folder "tools"
2.3. Create a new folder "tools\bin"
2.4. Download the following files
- coreutils-8.26-2.tar.xz
- cygwin-3.2.0-0.1.tar.xz
- libattr1-2.4.48-2.tar.xz
- libgcc1-9.3.0-2.tar.xz
- libiconv2-1.16-2.tar.xz
- libintl8-0.19.8.1-2.tar.xz
- tar-1.33-1.tar.xz
2.5. Using 7zip open each *.tar.xz file and extract the following files and place them inside "tools\bin":
- cygattr-1.dll
- cyggcc_s-seh-1.dll
- cygiconv-2.dll
- cygintl-8.dll
- cygwin1.dll
- ls.exe
- md5sum.exe
- mv.exe
- tar.exe
2.6. Create file "tools\batch.bat"
Spoiler: tools\batch.bat
Code:
@echo ---------------mkh.mourad batch script
rem Setup ENV
SETLOCAL ENABLEDELAYEDEXPANSION
rem // Delete Previous Folder
RMDIR /S /Q temp-folder
MKDIR temp-folder
call set curentDir="%cd%%"
FOR /f "delims=" %%G in ('DIR /S /A:-D /B *.lz4') do (
call cd %%~dpG
call !curentDir!\BIN\tar --create --format=gnu -b20 --quoting-style=escape --owner=0 --group=0 --totals --mode=644 -f %%~nG.tar %%~nxG
xcopy %%~nxG !curentDir!\temp-folder\
)
cd !curentDir!
rem Build the TAR File
cd temp-folder
call !curentDir!\BIN\ls *.lz4 > temp-file.txt
call !curentDir!\BIN\tar --create --format=gnu -b20 --quoting-style=escape --owner=0 --group=0 --totals --mode=644 -f AP_TAR_MD5_CUSTOM_FILE_ODIN.tar -T temp-file.txt
del /Q temp-file.txt
cd !curentDir!
rem Create the MD5 Final File:
FOR /f "delims=" %%G in ('DIR /S /A:-D /B *.tar') do (
call cd %%~dpG
call !curentDir!\BIN\md5sum -t %%~nxG >> %%~nxG
call !curentDir!\BIN\mv %%~nxG %%~nxG.md5
)
cd !curentDir!
rem Cleaning Files
FOR /f "delims=" %%G in ('DIR /S /A:-D /B *.lz4 *.md5 ^| FINDSTR /v /i "\AP_TAR_MD5_CUSTOM_FILE_ODIN.tar.md5$"') do del /Q "%%G"
3. Build the AP file to use with Odin [source, by @kkoo ]
3.1. Download lz4_win64_v*_*_*.zip
3.2. Using 7zip extract lz4_win64_v*_*_*.zip to "lz4_win64_v1_9_3"
3.3. Download vbmeta.img
3.4. Place vbmeta.img into "lz4_win64_v1_9_3/bin" and run the following command:
Code:
lz4.exe -B6 --content-size vbmeta.img vbmeta.img.lz4
3.5. Download the latest aosp_arm64_ab ROM and using 7zip extract system.img, vendor.img and cache.img into "lz4_win64_v1_9_3/bin"
3.6. Run the following command:
Code:
lz4.exe -B6 --content-size system.img system.img.lz4
lz4.exe -B6 --content-size vendor.img vendor.img.lz4
lz4.exe -B6 --content-size cache.img cache.img.lz4
3.7. Download your phone latest Official Stock ROM (I got my using Samsung Smart Switch)
3.8. Extract the downloaded file (you'll have the BL, AP, CP, CSC, HOME_CSC .tar.md5 files)
3.9. Using 7zip extract the following files from AP_*.tar.md5 into the "tools" folder from step 2.2:
- boot.img.lz4
- dqmdbg.img.lz4
- recovery.img.lz4
- userdata.img.lz4
- vendor.img.lz4
3.10. Move vbmeta.img.lz4, system.img.lz4 and cache.img.lz4 from the "lz4_win64_v1_9_3/bin/" into the "tools" folder
3.11. Double click on the "tools/batch.bat" file
3.12. Once it finishes go to the "tools/temp-folder". Inside you will find the AP_TAR_MD5_CUSTOM_FILE_ODIN.tar.md5
4. Flash the ROM
3.1. Install SAMSUNG_USB_Driver_for_Mobile_Phones.exe
3.2. Download Odin3-v3.14.1.zip
3.3. Extract the downloaded file
3.4. Run Odin3 v3.14.1.exe
3.5. Flash the BL, CP, HOME_CSC from your Stock ROM and AP (using AP_TAR_MD5_CUSTOM_FILE_ODIN.tar.md5)
Result: Bootloop
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I heard that many users have issue get GSI running in their S9. Endless Bootloops.
Don't users could fix it flashing stock firmware.
Others by doing a factory reset.
Others by flashing TWRP recovery:
[RECOVERY][OFFICIAL] TWRP for Galaxy S9 (Exynos)
Thread moved to https://forum.xda-developers.com/galaxy-s9/samsung-galaxy-s9--s9-cross-device-development/twrp-exynos-t3763464.
forum.xda-developers.com
Hope that your can find a way to get your device up and running again.
I got an s9 too, but it got stuck into a bootloop but I can't access anything and it won't allow me to completely power on the the device. It took to Samsung service centers and they get an error called "binary corrupted" the device was already setup with twrp but by the time it got in the loop a thief who had snatched it was trying to flash it after I locked it with my "Samsung find my device"
hi guys,
does anybody had success with installing viper4android? i cannot get it installed. anybody a tipp for me?
Thrudvangar said:
hi guys,
does anybody had success with installing viper4android? i cannot get it installed. anybody a tipp for me?
Click to expand...
Click to collapse
What model do you have? sm-f936b?
Is it rooted?
f936b/ds. yes. it is rooted!
i tried every different variant of methods of installing: magisk modules like narsil, amc...
tried the 2.5.0.5 and 2.7.2.1.
it cannot find driver. it ends in a loop. i let install drivers (so in 2.7.2.1 there is an info that it will install magisk module.). after restart it asks me for installing drivers again... and again... and again.....
i remember when i was on Android 7.1.1 there was a way to get it installed by renaming audio_effects.conf.
i assume that is obsolete i guess?
sry for repost, but editing did not work!
So i did read that it has to do something with the mounting paths in "post-fs-data.sh"
This is, what i have got in my post-fs-data.sh
Code:
#!/system/bin/sh
# Kill audioserver PID if it was initialized already
SERVERPID=$(pidof audioserver)
[ "$SERVERPID" ] && kill $SERVERPID
mount -o bind /vendor/etc/audio_effects.xml /odm/etc/audio_effects.xml
magiskpolicy --live 'allow audioserver audioserver_tmpfs file { read write execute }'
magiskpolicy --live 'allow audioserver system_file file { execmod }'
magiskpolicy --live 'allow mediaserver mediaserver_tmpfs file { read write execute }'
magiskpolicy --live 'allow mediaserver system_file file { execmod }'
magiskpolicy --live 'allow audioserver unlabeled file { read write execute open getattr }'
magiskpolicy --live 'allow hal_audio_default hal_audio_default process { execmem }'
magiskpolicy --live 'allow hal_audio_default hal_audio_default_tmpfs file { execute }'
magiskpolicy --live 'allow hal_audio_default audio_data_file dir { search }'
magiskpolicy --live 'allow app app_data_file file { execute_no_trans }'
magiskpolicy --live 'allow mtk_hal_audio mtk_hal_audio_tmpfs file { execute }'
Thrudvangar said:
f936b/ds. yes. it is rooted!
i tried every different variant of methods of installing: magisk modules like narsil, amc...
tried the 2.5.0.5 and 2.7.2.1.
it cannot find driver. it ends in a loop. i let install drivers (so in 2.7.2.1 there is an info that it will install magisk module.). after restart it asks me for installing drivers again... and again... and again.....
i remember when i was on Android 7.1.1 there was a way to get it installed by renaming audio_effects.conf.
i assume that is obsolete i guess?
Click to expand...
Click to collapse
This is the way to make it work :
1. Install Audio Modification Library module in Magisk and reboot (this is installed automatically by the third zip for you - just needs activating)
2 when rebooted - load up V4a and let it install drivers and reboot
3 when rebooted - disable the AML module and reboot
4 when rebooted - load up V4a and let it install drivers and reboot - v4a should now be working ok (be sure to check legacy mode!!)
Original Post:
[MAGISK Rom /Base Convertor] 420rom F926B V2.2 - BVA9 - ANDROID 12 - OneUI 4.0 - Sec Patch 01/2022 - Released 28/01/2022
WELCOME TO 420 ROM - MAGISK ROM FOR SAMSUNG GALAXY Z FOLD 3 5G F926B (SD888) Telegram-Group Please bear in mind that things will be added as and when my learning and time permits (being a dad with a family and having ADHD myself means things...
forum.xda-developers.com
Here is the Audio Modification Library module (File attached) :
pvillasuso said:
This is the way to make it work :
1. Install Audio Modification Library module in Magisk and reboot (this is installed automatically by the third zip for you - just needs activating)
2 when rebooted - load up V4a and let it install drivers and reboot
3 when rebooted - disable the AML module and reboot
4 when rebooted - load up V4a and let it install drivers and reboot - v4a should now be working ok (be sure to check legacy mode!!)
Original Post:
[MAGISK Rom /Base Convertor] 420rom F926B V2.2 - BVA9 - ANDROID 12 - OneUI 4.0 - Sec Patch 01/2022 - Released 28/01/2022
WELCOME TO 420 ROM - MAGISK ROM FOR SAMSUNG GALAXY Z FOLD 3 5G F926B (SD888) Telegram-Group Please bear in mind that things will be added as and when my learning and time permits (being a dad with a family and having ADHD myself means things...
forum.xda-developers.com
Here is the Audio Modification Library module (File attached) :
Click to expand...
Click to collapse
thank you for your instructions.
one question: can you confirm this? do you owner of a z fold 4 and do you have successfully installed V4A?
pvillasuso said:
This is the way to make it work :
1. Install Audio Modification Library module in Magisk and reboot (this is installed automatically by the third zip for you - just needs activating)
2 when rebooted - load up V4a and let it install drivers and reboot
3 when rebooted - disable the AML module and reboot
4 when rebooted - load up V4a and let it install drivers and reboot - v4a should now be working ok (be sure to check legacy mode!!)
Original Post:
[MAGISK Rom /Base Convertor] 420rom F926B V2.2 - BVA9 - ANDROID 12 - OneUI 4.0 - Sec Patch 01/2022 - Released 28/01/2022
WELCOME TO 420 ROM - MAGISK ROM FOR SAMSUNG GALAXY Z FOLD 3 5G F926B (SD888) Telegram-Group Please bear in mind that things will be added as and when my learning and time permits (being a dad with a family and having ADHD myself means things...
forum.xda-developers.com
Here is the Audio Modification Library module (File attached) :
Click to expand...
Click to collapse
This doesn't work on the Fold 4 anymore.
I used this process with AML 5.1 and Viper 2.7.2.1 on the Fold 3 successfully.
On the Fold 4 Viper still, after the last reboot, will tell you the drivar is not installed etc. and asks to install and reboot - this continues forever.
白い熊 said:
This doesn't work on the Fold 4 anymore.
I used this process with AML 5.1 and Viper 2.7.2.1 on the Fold 3 successfully.
On the Fold 4 Viper still, after the last reboot, will tell you the drivar is not installed etc. and asks to install and reboot - this continues forever.
Click to expand...
Click to collapse
Okay, so that means viper4android won't work on Z Fold 4!
Okay, then i will install JamesDSP as an alternative and live with this issue :/
:edit:
but i think it just has to do with the post-fs-data.sh and the mounting paths. if we would edit this file with the proper path it would work i guess!!
I'll try fiddle with it to see if I make any progress…
I don't have any such mounts in post-fs - both the Fold 3 working and Fold 4 non-working post-fs only have the first part with kiling the audio server - so it's not associated with the mounts you list…
Thrudvangar said:
thank you for your instructions.
one question: can you confirm this? do you owner of a z fold 4 and do you have successfully installed V4A?
Click to expand...
Click to collapse
Sure, I'm using it with my rooted fold 3
Edit : Just reading it wont work with the Fold4 , what a pity , too bad
so guys! this is so sad!!
JamesDSP is so bad and i miss V4A so much!
why does it work on Z Fold 3 with Android 12L and not on the z fold 4?
is it because of the snapdragon 8 gen 1 ?
It would take some expert with knowledge of how how Viper works. It checks for presence of the driver - which should be mounted by Magisk on boot - something is not clicking there.
I thought the above mounts in the post are not working, in which case it would be easily fixed - but it's not that, as I'vegchecked against the Fold 3.
Something else is causing it to detect drivers as not present - might be actually the Audio Modification Library is not working itself on the Fold 4 and not allowing the driver install as per the above shortcut.
Anyway - seems it'd be fixable - but it takes someone with knowledge of what the AML and Viper are supposed to be doing on Magisk mount - to check what's not working.
so we have to wait for a 64bit driver right?
Release ViPER4Android-RE v0.1.0 - Happy new year! 🎉 · AndroidAudioMods/ViPER4Android
First release, enjoy :) THIS RELEASE IS 64 BIT COMPATIBLE! 🎉 Thanks to: Thomas (provided the base for the Android app): https://github.com/Pittvandewitt Martmists (started the reverse engineering ...
github.com
first 64bit alpha of v4a released!
anyone tried this?
I tried it - doesn't work on Fold 4.
白い熊 said:
I tried it - doesn't work on Fold 4.
Click to expand...
Click to collapse
oh no. did you try the 0.2.0?
It does work — wow! I wasn't aware of version 2…
Not everything works in it yet — but it works, processes the sound — in Legacy mode.
please check whether convolver and viper clarity works
Convolver — no, clarity — yes.