Hi all!
Surfing a bit into XDA, I've created this mod in order to add to Froyo/GB/CM7 the way to access CWM on boot pressing any hardware keys.
Once installed, to access recovery you only have to repeatedly press any hard key; it works like eRecovery in Nova ROM.
In order to install/remove it, you only have to flash it via CWM, so you need CWM recovery installed at your OB.
V20B:
Installer: http://dl.dropbox.com/u/4629711/zeus/huexxx-eRecovery-V20B.zip
Remover: http://dl.dropbox.com/u/4629711/zeus/huexxx-eRecovery-remover-V20B.zip
V20N:
Installer: http://dl.dropbox.com/u/4629711/zeus/huexxx-eRecovery-V20N.zip
Remover: http://dl.dropbox.com/u/4629711/zeus/huexxx-eRecovery-remover-V20N.zip
CM7:
Installer: http://dl.dropbox.com/u/4629711/cm7/huexxx-eRecovery-CM7.zip
Remover: http://dl.dropbox.com/u/4629711/cm7/huexxx-eRecovery-remover-CM7.zip
Stock V10D:
Installer: http://dl.dropbox.com/u/4629711/cm7/huexxx-eRecovery-V10D.zip
Remover: http://dl.dropbox.com/u/4629711/cm7/huexxx-eRecovery-remover-V10D.zip
Stock V10E:
Installer: http://dl.dropbox.com/u/4629711/cm7/huexxx-eRecovery-V10E.zip
Remover: http://dl.dropbox.com/u/4629711/cm7/huexxx-eRecovery-remover-V10E.zip
PD: This stuff will probably work flawlessly in other stock rom versions, but to ensure that it will work, send me your /system/bin/pvrsrvinit file indicating your ROM version and I will create a specific .zip for this version. Thanks pbog1 for the file.
Credits go to knzo and D4rKn3sSyS.
If you find this useful, please thank it!
Regards.
No need to nandroid before install it... is fully probed.
Regards!
Suggestion: Information about CWM version?
It only changes one file at /system/bin, then I would suggest to use the latest CWM.
Regards.
It's a bit late on the boot, inject a sooner service.
Yeah, it's still at beta stage.
I though it would be a good point because is just before init.d starts.
I will find the first service and hijack it, but at least this mod can handle framework's loopboots.
Regards!
i'm doing the same thing for 2.3.4
but i was failed.
i hijacked lgdrmserver,no response
can you help me?
Try with another service... I can't say more ATM...
Send me the init.rc
This is great news!! AAMOF, the no-hard-reboot is one of the things that prevents me from flashing these days. Last time I bicked the phone I lost one full day.
I'll install this as soon as it's improved.
Thank you Huexx!
knzo said:
Send me the init.rc
Click to expand...
Click to collapse
sorry i dont know why i can't send you pm,here's link
http://hotfile.com/dl/132897861/3f3e377/init.rar.html
thx
Try to inject: /system/bin/pvrsrvinit.
It's the PowerVR SGX 540 driver and it's earlier in the boot.
Rename it to /system/bin/pvrsrvinit2, then create an empty bash file with that name and inject the command I used on my eRecovery and in the last line (after the keypress check) run /system/bin/pvrsrvinit2 or it won't boot.
got it,try it now thx
Hi all.
Looking at init.rc and according with the suggested service by knzo, why you say that my inject point would be sooner?
sysinit is executed before ueventd, console, adbd, pvrsrvinit, etc... it's before ALL the services, and I haven't to modify it because it's a script by itself.
Regards.
Huexxx said:
sysinit is executed before ueventd, console, adbd, pvrsrvinit, etc... it's before ALL the services, and I haven't to modify it because it's a script by itself.
Click to expand...
Click to collapse
That doesn't even make sense.
You want to execute a sh without console running?
Or why can you see the first init.d in the adb logcat then?
Just because it comes in a previous line doesn't make it start sooner.
Well, if I've understood, the place at init.rc doesn't determines the run order, doesn't it?
Then how can you know which service will be launched the first?
If I hack pvrsrvinit, would it check for keystroke sooner?
Regards.
Depends on the trigger/call.
Pvrsrvinit ought to be sooner indeed.
Ok, let's try it then!
Regards.
it make nosense at all.
i don't know where i did wrong.
hijack pvrsrvinit,and create init.d folder ,write script to make original pvrsrvinit run...
My version doesn't work...
It's strange... later but It sholud run.
Related
How can i add compcache to gingerbread rom.
I need a push in the right direction.
Same as in CM 6.x
But in addition you need
- a fix for loading the ramzswap module
- install rzscontrol
If you need further help, this evening I can provide you with a update.zip
AndDiSa said:
Same as in CM 6.x
But in addition you need
- a fix for loading the ramzswap module
- install rzscontrol
If you need further help, this evening I can provide you with a update.zip
Click to expand...
Click to collapse
Ya if you could possible set me up with and update.zip that would be great.
Lol school and work takes up all my time nowadays.
An update.zip, which enables compcache on gingerbread, too, is available here. Goog luck!
This is based on P7500XWKK4_P7500NEEKK1_NEE Galaxy Tab 10.1 / HC 3.2 ROM but it is for the P7100 tablet.
Please read the whole thread before you flash. There are a couple of BUGS!
Flash on your own risk. I cannot be held responsible for any damage caused to your tab
This is not all my own work, I have worked with other members to get this ROM working.
DO NOT USE FACTORY REST IN ROM, EVER, USE WIPE SCRIPT TO RESET IF YOU NEED/WANT, IF YOU ARE GOING TO USE THE FACTORY RESET OPTION, YOU WILL BOOTLOOP!
kernel is provided by pershoot - compiled by myself - all kernel work is from pershoot here
first-time users you need to wipe! use supplied wipe script. Please read carefully, everything is here to get it flashed onto your TAB, if you do not understand what to do, ask, we will gladly try and assist.
Copy the downloaded files to sdcard (/sdcard/) and flash via ClockWorkMod
As always backup your data / apps before doing this! I use Titanium backup, search for it in the market.
Please read the thread before you report a bug. don't report already reported bugs. keep the thread clean. use xda's search feature
You need unlocked bootloader, click on link to see how to unlock.
You need root, click on link to see how to root.
Note: you MUST have Samsung Kies installed, or device drivers, for adb to work! It seems a lot of people do not have it installed, which causes a lot of confusion.
You need ClockworkMod Recovery (it is part of ROM Manager), download ROM Manager from market to install ClockWorkMod.
If you are a new to this please read this guide: http://forum.xda-developers.com/showthread.php?t=1232664, on how to unlock and root your TAB.
Please remember that this modified rom of P7500, Some features will not work 100%, most does but there are going to be a few bugs.
Features
Honeycomb 3.2 Based on P7500XWKK4_P7500NEEKK1_NEE ROM for the P7500, it will report as a P7500 but it is a P7100. Cannot change it to P7100 then some applications do not work.
Samsung TouchWiz UX UI
allows OC up to 1.4Ghz kernel, based on pershoot kernel compiled to include the following modules: ntfs.ko, tun.ko, cifs.ko
Kies via Wifi works on latest Kies in windows
Zipaligned
Deodexed - First boot will take a while, so be patient, if it did not boot after 30min then force a reboot!
Voodoo sound improvements (Download voodoo from Market)
NEVER USE FACTORY RESET IN INSIDE ROM SETTINGS OR DELETE DATA/CACHE IN CWM. YOU WILL BOOTLOOP!
See second post for other items
Bugs
3g: SIM PIN Lock must be removed for 3g to work after first boot. If you have SIM PIN please disabled it in Setting->Location and Security -> Set up SIM card lock
None of the security features work, Lock screen, PIN, Pattern, Password. If someone can let me know why and how to fix let me know!
Camera currently is only 3.2mp. May Crash sometimes - working on it.
Please report Bugs in thread
Thanks to:
pershoot, for getting the kernel working! He is the MAN! He worked nights to get the kernel working on the 10.1v, with not even having the device!
SEO, He has assisted me a lot over the last couple of months!, if it was not for him I could not have done this
To the community that got me into this without them I would not have been able to do this.
If I missed someone let me know it was not intended.
Changelog:
1.2.5.v: VoiceSearch.apk - deodexed
1.2.4.v: Camera fixed - touch autofocus - seo
1.2.4.v: Kernel modules cifs and ntfs added.
1.2.3v : Camera Fixes as per SEO
1.2.2v : Removed FactoryTest.apk and Factory.apk as per SEO suggestion.
1.2.1v : Public Release Build
1.2cv : third test build - limited testing
1.2bv : Second Build - internal
1.2av : Initial Build - internal
Download:
- 1.2.5v Full ROM
- please flash the "WIPE" zip, TB Galaxy WIPE script (SEO's), required for new users coming from stock. This will FACTORY RESET your tab but /data/media(sdcard) (your music, pictures & videos) will be left intact.
- this will NOT factory reset your tab if you're not on older version of this rom
More information available from. http://ismaakit.com/blog/
Kernel sources is compiled by me to make sure it is working 100%, but all credit goes to pershoot.
See this post: http://forum.xda-developers.com/showpost.php?p=20050409&postcount=128 for a different location. Thank you to algzed for providing this location.
Please do not link directly to the files, use this thread if you want to link.
[Q]
I updated and noticed cifs.ko is not included?
[A]
Here you go: Link This includes a compiled kernel without debug-info, it also include all the modules that is compiled for pershoots kernel. List of modules included:
asix.ko
aufs.ko
auth_rpcgss.ko
cifs.ko
dhd.ko
ff-memless.ko
hid-sony.ko
lockd.ko
nfs_acl.ko
nfs.ko
ntfs.ko
rpcsec_gss_krb5.ko
scsi_wait_scan.ko
sunrpc.ko
tun.ko
xpad.ko
[Q]
Where are the modules installed?
[A]
Have a look on the tablet via adb
Code:
adb shell
cd /lib/modules
ls
Latest Official buke2 Modem:
adb reboot bootloader
fastboot flash modem modem.bin
fastboot reboot
YOU DO THIS AT YOUR OWN RISK!
Modem.bin
-------------------------------------------------------------------------------------------------------------------
TIP: Enable USB Charging
Code:
adb shell
cd /sys/class/power_supply/battery/
echo 1 > force_usb_charging
To disable it:
Code:
adb shell
cd /sys/class/power_supply/battery/
echo 0 > force_usb_charging
b.t.w. a couple of users has asked why not default?
I DO NOT LIKE THE IDEA OF CHARGING THE BAT FROM USB, IF IT WAS SUPPOSE TO DO THAT, IT WOULD HAVE BEEN ENABLED, but that is me, you are welcome to do it if you wish.
This is active until you reboot. Then you will have to redo.
-------------------------------------------------------------------------------------------------------------------
TIP: IF YOU MAYBE LOOSE ROOT IF YOU RESTORE A ROM, TO GET ROOT BACK JUST DO THIS:
Code:
adb remount
adb shell chmod 6755 /system/bin/su
-------------------------------------------------------------------------------------------------------------------
You push me to flash my tab XD
Excellent job ! Thank you
I just got a tiny question, is it possible to made a touchwiz UX.zip apart ?
To keep the beauty of Honeycomb ?
Just asking
Downloading, will give this rom a try after download has finished
Thnx ISI (and offcourse seo and pershoot) to for all your work.
Downloading rom and will flash when, it's finished.
Richard
Send from my rooted 10.1v
Great Rom
Ok,
Fist of all thanks for having this new version of android on my tablet.
This is how i installed the ROM.
Coming from your HC3.1 1.03v:
booted in recovery via rom manager
install zip from sdcard isi-galaxy-1.2.1v.zip
wipe cache
wipe dalvik
reboot
I first thought my tablet was hanging, for several minutes it was stuck at the samsung logo during boot, so i hold the powerbutton and rebooted. After that it booted ok. Maybe i had to wait longer?
But everything seems to be ok. Appearantly it doesn't wipe
For me this rom is beter than the previous since I don't use camera and 3g.
The Calendar app is now amazing, it is fluent like it should have being.
I will report back if i encounted errors.
Fancois said:
You push me to flash my tab XD
Excellent job ! Thank you
I just got a tiny question, is it possible to made a touchwiz UX.zip apart ?
To keep the beauty of Honeycomb ?
Just asking
Click to expand...
Click to collapse
Nope, not at the moment. Maybe later. Let us get it stable first!
thzone said:
Ok,
Fist of all thanks for having this new version of android on my tablet.
I first thought my tablet was hanging, for several minutes it was stuck at the samsung logo during boot, so i hold the powerbutton and rebooted. After that it booted ok. Maybe i had to wait longer?
But everything seems to be ok. Appearantly it doesn't wipe
I will report back if i encounted errors.
Click to expand...
Click to collapse
Yeah you should have waited, first boot will take a while because the ROM is DEODEXED. After that is should fly.
ISI,
Do you know if the hooolmglow theme will work on this rom.?
Backing up my apps right now, then the flashing wil begin.
Thnx again
Send from my rooted 10.1v
isimobile said:
Yeah you should have waited, first boot will take a while because the ROM is DEODEXED. After that is should fly.
Click to expand...
Click to collapse
isi, some things I found so far while working on my own build:
- keeping stock p7500 gralloc.tegra.so / hwcomposer.tegra.so + stock 7500 kernel make video playback smoother. way smoother than *old* replaced hw libs + pershoot kernel. (of course camera does not work and orientation is always flipped but that's ok with stock kernel) we should wait for new official kernel source and keep p7500 libs in the future
- FactoryTest.apk BLOCKS setupwizard. removing FactoryTest.apk and Factory.apk should fix setup wizard and non-working lockscreen. pls test on your build.
I don't have much time ATM to fix camera / seccamera / secmediarecorder. will do it tomorrow and will post the apk here for you.
cheers
EDIT: btw I am not 100% sure that choppy video playback is caused by hw libs / kernel OR nvodm_* libs. no time to check atm.. will do later or tomorrow
You guys deserve a Christmas present. I know you don't take donations seo but what about a beer/coffee isimobile ?
seo said:
isi, some things I found so far while working on my own build:
- FactoryTest.apk BLOCKS setupwizard. removing FactoryTest.apk and Factory.apk should fix setup wizard and non-working lockscreen. pls test on your build.
I don't have much time ATM to fix camera / seccamera / secmediarecorder. will do it tomorrow and will post the apk here for you.
cheers
EDIT: btw I am not 100% sure that choppy video playback is caused by hw libs / kernel OR nvodm_* libs. no time to check atm.. will do later or tomorrow
Click to expand...
Click to collapse
Will test later today. thanks.
I got Camera at 8mp but Video Recoder crashed on me so I decided not yet to release and keep stock as to have a working camera set.
Thanks will wait for your patched files. I am no smali expert, would rather wait for you
[Edit] I can confirm if you delete those two files setup wizard works and lock screen as well! Great! Busy fixing....
Assistance needed: Someone with a fast internet connection. I only have a 512kb connection at home. It takes four hours to upload. So I did the change online. Hopefully it will work. It should!
Can you please test a fix for me. I did the fix online in the zip file not to upload everything from scratch.
Download this file. Do a full wipe and install. Post here if it works!
If no one tests it, I'll try that fix when I get home in a few hours...
isimobile said:
Assistance needed: Someone with a fast internet connection. I only have a 512kb connection at home. It takes four hours to upload. So I did the change online. Hopefully it will work. It should!
Can you please test a fix for me. I did the fix online in the zip file not to upload everything from scratch.
Download this file. Do a full wipe and install. Post here if it works!
Click to expand...
Click to collapse
Sorry isi im at work right now....
Will test tonight if still needed
So first flash wipe. Zip then flash rom....?
Send from my rooted 10.1v
Downloading...
Will flash and report..
-First Boot completed
-Setup - completed
-3G working
richard2311 said:
ISI,
Do you know if the hooolmglow theme will work on this rom.?
Backing up my apps right now, then the flashing wil begin.
Thnx again
Send from my rooted 10.1v
Click to expand...
Click to collapse
Not at the moment, will ask him later to get the theme.
Sent from my GT-P7500 using Tapatalk
isimobile said:
Assistance needed: Someone with a fast internet connection. I only have a 512kb connection at home. It takes four hours to upload. So I did the change online. Hopefully it will work. It should!
Can you please test a fix for me. I did the fix online in the zip file not to upload everything from scratch.
Download this file. Do a full wipe and install. Post here if it works!
Click to expand...
Click to collapse
Hi ISI
Just to confirm that it works
Just have to change than my signature
algzed said:
Hi ISI
Just to confirm that it works
Just have to change than my signature
Click to expand...
Click to collapse
Cool thanks.
Sent from my GT-P7500 using Tapatalk
Welcome to Galaxy Mod Ultimate
Galaxy Mod is the ultimate collection of tweaks and modifications. All tweaks are in 100% working order. All logs have been verified accurate. I turned on the jet engine's. This will work on any device,but is made for galaxy device's. It can still be used on any device 4.4+.
Android 4.4+
Contents:
1.Cleaner script-Cleans junk at boot
2.Entropy generator-Ramps up entropy
3.Ext4 journal tweaks-Disables journalism
4.Fstrim-Free's up space
5.Galaxy_engine-Network speed tweaks and sleepers adjustment
6.Kill_media_server-Kills media server when not in use
7.Ram manager-Minfree's adjustment
8.SQLite optimize-Optimizes SQLite Data Bases
9.Touchscreen tweaks-Adjust touchscreen response
10.Zipalign-Speed up apps by zipalign
11.Frames per Second adjustment
12.Liquid Smooth UI
13.Loopy smoothness
14.V4A Selinux policy work around. V4A will work as system app without getting reset.
15.Build.prop tweaks
**********************************************************************************************************************************************************************
DIRECTIONS/HOW TO SEE IF IT'S WORKING OR REMOVE TWEAKS
1.Install zip in custom recovery- this is really all you need to do.
2.Open terminal type su then type Galaxy this will perform checks to ensure proper install.
3.In terminal type Entropy and navigate through the menu's/Entropy is active and turned on at boot by default.
4.Open terminal and type uninstaller to uninstall Galaxy_Mod
5.qrngd binary is deleted and backed up to system/bin/qrngd_backup/ this is needed for entropy to work properly.
6.Galaxy_Mod logs all activities in data for all tweaks and scripts with working verification.
7.Galaxy_Mod backs up your original init.d folder.
**********************************************************************************************************************************************************************
Credits; Thanks to these xda members for inspiration and base tweaks
zepplinrocks
slaid480
Ryuinferno
rass1
Anyone else who helped me learn this stuff along the way.Whoever you might be.
If I forgot to give you any credit p.m me and I'll fix it.
**********************************************************************************************************************************************************************
Changelog:
7/29/14 Complete rebuild of entire package
Everything much smoother now.
6/28/15 Lollipop compatible test version.
6/30/15: Fixed engine and uninstaller,Added V2 Entropy less zip,Added remover zip for systems that won't mount rw.
7/2/15: Added new ram options.
7/5/15: Added Loopy smoothness,viper for android SeLinux work around,logs now go to system/etc/Galaxy,Touchwiz launcher locked in memory,added new build.prop tweaks package,loads of new tweaks and adjustments.
Download:Ultimate
Standard Mods Pack
Download;Ultimate V2
This is an entropy free mod,for use with seeder.apk or when entropy causes issue's.
Download:Galaxy Remover
Use this if system can't mount as rw in uninstaller.
A lot changed so make sure you uninstall old tweaks with terminal first.Type su then type uninstaller.
Excellent work. Will try as soon as I take a backup
Thanks. veryone just feel free to comment on either thread. Let me know what you would like to see.
Updated with new zip. Much better response and smoother UI interactions. Come and get it.
Going to bake this into my new rom . Thanks
i'm going to try it on eudemony rom v2 superslim
i'll make you know..
edit: no, nothing.. installation aborted..
edit2: well.. su galaxy tells me that everything is installed, so i don't know that final message (error status 7, installation aborted to what referred XD)
erghetto said:
i'm going to try it on eudemony rom v2 superslim
i'll make you know..
edit: no, nothing.. installation aborted..
edit2: well.. su galaxy tells me that everything is installed, so i don't know that final message (error status 7, installation aborted to what referred XD)
Click to expand...
Click to collapse
What recovery are you using? Look in data/Galaxy and see if there are logs.
CWM touch.
well, typing command in terminal seems it says me it is installed, so i think all is fine.
only thing.. i have deleted Kill_media_server from init.d folder because at boot it disables bootanimation's sound
CWM has been throwing error 7 for a long time now. On many different devices. It's a well known issue. No worries thought, maybe I can find a way to trick it. That way no more false errors.
Sorry off topic is dark side of me cohee related?
Weirdly yes and no. I know the song your talking about, and even to top it off. The dark side is a reference, to where in my personality I normally reside. But they have no connection other than, the bazaar coincidence.
Wow. This works great. Had no error installing and this made my phone feel way faster.
I typed su then Galaxy but nothing happen ? So what should i do next ?
I flashed this mod but on reboot not files inside etc/init.d why?
edit: init.d now showed, but build.prop still the same no modifies
No_Fe4r said:
I typed su then Galaxy but nothing happen ? So what should i do next ?
Click to expand...
Click to collapse
Make sure you use a capital G when you type Galaxy.
Thanks. Installed this just now and verified everything installed correctly. Hope it makes a difference. :fingers-crossed:
churchey360 said:
Make sure you use a capital G when you type Galaxy.
Click to expand...
Click to collapse
Great working with Phoenix rom
Will this help my battery life at all?
---------- Post added at 04:39 PM ---------- Previous post was at 04:31 PM ----------
Also if im on an aosp based rom and i dirty flash to a newer nightly do i need to reflash the mod or should it still be working?
5.0
Does this work with 5.0?
Installed and working on my Galaxy Tab 4 10.1 SM-T530NU running stock rooted NK1. Thank you so much
**I did not write these scripts, just updated the flashable zip for our x86 Asus phones**
**All work done by @Paget96**
ORIGINAL Mod Thread here : http://forum.xda-developers.com/android/software-hacking/tweak-l-speed-v1-0-02-02-2015-t3020138
@Paget96 has added an x86 version to the original thread with the (more appropriate) fixes!! Go discuss there!
Big thanks to him. Use the v2.4 Test3 or greater "x86" file
Reqs:
1) Need root
2) Need Custom recovery (TWRP)
3) Need kernel with init.d support (like @TheSSJ 's here: http://forum.xda-developers.com/zenfone2/development/project-t-custom-kernel-zenfone-2-t3150822)
** Use v44 or greater for proper init.d support
Download zip from the original thread
and flash in recovery.
Then look at the original thread for config options while you're in there
Added the Emergency Uninstaller zip as well. (i think you still need to use this version, until an x86 version is up there too)
Ch-Ch-Ch-Ch-Changes
Jul 23 2015: OG thread updated by dev. Updated flashing instructions in OP (mods can probably lock this thread)
Jul 15 2015: Fixed script to properly set perms on /system/bin/LS; Added Emergency Uninstaller zip
Jul 14 2015: Initial upload. Needed to use the update-binary from Asus to work with our x86 architecture and replace all the set_perms with set_metadata's. Apparently the update-binaries from Asus don't include set_perms
I would have expected that some parts of my kernel would fight against this tweak, nice to see that it seems to work
Yean I don't know that some of the governor stuff is working 100%, still messing around with it .
Thanks man Been using TheSSJ kernel with this pack of tweak. Its awesome Thanks to both of you
Added in index, thanks for updating the mod!
taylor.fowler said:
@aziz07 Here you go.
Needed to use the update-binary from Asus to work with our x86 architecture and replace all the set_perms with set_metadata's. Apparently the update-binaries from Asus don't include set_perms
Click to expand...
Click to collapse
Thanks! Working A++
Edit: I tried running the script from terminal with no luck. I have to cleanup the alpha version first with the provided uninstaller by Paget96. Its a great idea to have the uninstaller zip working with x86.
++Uninstaller patched, permssions fixed, kudos @taylor.fowler
Need help can't get to run in terminal
Sent from my ASUS_Z00AD using Tapatalk
taylor.fowler said:
@aziz07 Here you go.
Needed to use the update-binary from Asus to work with our x86 architecture and replace all the set_perms with set_metadata's. Apparently the update-binaries from Asus don't include set_perms
Click to expand...
Click to collapse
how can i do that because not work for me
Have u guys tried with Kernel Adiutor?
su
LS > permission denied
selinux already permissive
chobztopz said:
su
LS > permission denied
selinux already permissive
Click to expand...
Click to collapse
I've got it too
The permission for LS file in system/bin is wrong. It should be 0755 (rwx rx rx) then it will done on terminal emulator
lordpipa said:
Have u guys tried with Kernel Adiutor?
Click to expand...
Click to collapse
I am using that.. But y u asked?
And guys only cleaner works it seems, he added logs for all option thankfully and only cleaner having log, others are blank, I can't run the options of LS..
mustatir said:
The permission for LS file in system/bin is wrong. It should be 0755 (rwx rx rx) then it will done on terminal emulator
Click to expand...
Click to collapse
Yep thanks, OP can you edit the updater script please...
After that script enable also same result, no log entered in those files..
Kernel samepage merging didn't came, no swap.. kernel auditor can enable kernel samepage merging even without this script. .. .
ansebovi said:
I am using that.. But y u asked?
And guys only cleaner works it seems, he added logs for all option thankfully and only cleaner having log, others are blank, I can't run the options of LS..
Yep thanks, OP can you edit the updater script please...
After that script enable also same result, no log entered in those files..
Kernel samepage merging didn't came, no swap.. kernel auditor can enable kernel samepage merging even without this script. .. .
Click to expand...
Click to collapse
Hrmph. I must have Ul'd the wrong version. I had the same issue. Will re-up in a couple hours.
@ansebovi cause u can use it for some of the init scripts.
Hmm, mine does all have logs. Yep, I had to set LS permissions to all in /system/bin folder. I think it might be because I still have the old alpha version files and I can't flash the uninstaller as it needs the x86 code.
Edit: ++Uninstaller patched, permssions fixed, kudos @taylor.fowler
Checked the updater-script. All functions are already available in TWRP itself, so normally you don't even need the updater-binary in the zip file, maybe this makes also the uninstaller work if you just delete the updater-binary from the zip file
TheSSJ said:
Checked the updater-script. All functions are already available in TWRP itself, so normally you don't even need the updater-binary in the zip file, maybe this makes also the uninstaller work if you just delete the updater-binary from the zip file
Click to expand...
Click to collapse
OK, so I fixed the updater-script (and found another error with setting the permissions on init.d). Apparently I had changed them to 0775 instead of 0755 :silly:
Also added the emergency uninstaller script too.
@TheSSJ I dont think that's how flashable zips work, but i tried anyhow. No dice...
taylor.fowler said:
@TheSSJ I dont think that's how flashable zips work, but i tried anyhow. No dice...
Click to expand...
Click to collapse
Bummer...was convinced this would work...twrp code at least shows that it executes updater-binary if present,otherwise it interprets the script itself...
Sorry!
Please note, this requires SELinux Permissive (included init.d script/instructions for PHH). It will not work on Enforcing, even with supolicy (I've tried. If anyone has an idea how to get it working with "soundserver" and setting supolicy "read write execute", please let me know)
Setting SELinux to Permissive is a security risk.
ViPER4Android for Mate 9
Slightly modified guitardedhero script.
Contains "Kernel" and "Profile" for V4A from auras76 kang rom
Note:
The following files are backed up automatically so you can easily revert with the removal script:
/system/lib/soundfx/libeffectproxy.so -> /system/lib/soundfx/libeffectproxy.so.bak
/system/etc/audio_effects.conf -> /system/etc/audio_effects.conf.bak
/vendor/etc/audio_effects.conf -> /vendor/etc/audio_effects.conf.bak
If those .bak files are not found the removal script won't run (to prevent running it without V4A installed, it would simply just remove the files leaving you with no files at all.)
It does not edit audio_policy.conf as it doesn't have the deep_buffer section in it, so no point in having it edited.
Requirements:
SuperRoot/SuperSU (No verity is probably needed as we're modifying both /system and /vendor)
A way to set SELinux to Permissive (SuperSU init.d/phh 'su --init' or SELinuxToggler, see 'Alternative'.)
If you're on Magisk use the V4A module instead
For SuperSU
If you use the one posted above
Simply flash the zip in TWRP and you should be good to go. It copies the 00selinux script directly to /system/etc/init.d/ and runs at boot so you'll have SELinux set to Permissive after flashing.
For PHH su
Flash the zip in TWRP, boot up fully.
Now open a terminal and issue the command
Code:
su --init /system/etc/init.d/00selinux
Then reboot.
To remove the phh init use 'su --init !/system/etc/init.d/00selinux'.
For Magisk
Search for Viper4Android in the Downloads section in Magisk Manager, it's a module so no need to download anything in this thread
Alternative:
(You still need root for this but no init script.)
SELinuxSwitch by @Ibuprophen
Download:
ViPER4Android 2.5.0.5
Dropbox Mirror
Removal script download:
Removal script
Removal script Dropbox Mirror
Thanks to V4A team,
guitardedhero for his script,
auras76 for the profiles/makers of said profiles,
Ibuprofen for The SELinux Switch.
@ante0 bro thanks for porting it... have a question, we have to mount system in terminal for writting in system partition,,, can i use init to mount system rw for all time so that i dont need to give command everytime
HassanMirza01 said:
@ante0 bro thanks for porting it... have a question, we have to mount system in terminal for writting in system partition,,, can i use init to mount system rw for all time so that i dont need to give command everytime
Click to expand...
Click to collapse
Yes, if you use supersu, make a script in /system/etc/init.d/
Code:
#!/system/bin/sh
mount -o rw,remount /system
Make sure it runs after any other scripts if they remount system to read only. Scripts are loaded in order, so name it accordingly.
If you use phh, place script where you want and from a terminal
Code:
su --init /path/to/script
I wanna put all this in my Kernel... Or boot.img...
I have root in my kernel using phh superuser... I dont want to add anything in system by myself, i want that a zip should do it... Will be best if kernel did all this... In MM, we dont need to do rw ourself, in N we needed...
Also, am not a dev, just a pro member, know how to edit and understand commands etc...
May I ask whats the difference between this and Viper4Arise.
HassanMirza01 said:
I wanna put all this in my Kernel... Or boot.img...
I have root in my kernel using phh superuser... I dont want to add anything in system by myself, i want that a zip should do it... Will be best if kernel did all this... In MM, we dont need to do rw ourself, in N we needed...
Also, am not a dev, just a pro member, know how to edit and understand commands etc...
Click to expand...
Click to collapse
I sent you a pm instead
ante0 said:
I sent you a pm instead
Click to expand...
Click to collapse
Sure bro... Am waiting... And i have somehow injected phh superuser r275 in boot.img... I will be thankful if u tell me the whole correct procedure to inject files of superuser zip in boot.img.... By flashing superuser r275 on stock boot, we can have root but on that root, titanium like apps didnot work :/
SlyUK said:
May I ask whats the difference between this and Viper4Arise.
Click to expand...
Click to collapse
Arise is based off of V4A, but with their own audio effects and a modified V4A app.
https://www.reddit.com/r/androidapps/comments/5dpvcz/slug/da6ux9k
SlyUK said:
May I ask whats the difference between this and Viper4Arise.
Click to expand...
Click to collapse
It's just a skin difference. Viper4Arise is themed by an arise member. The only difference is the theme.
ante0 said:
Arise is based off of V4A, but with their own audio effects and a modified V4A app.
https://www.reddit.com/r/androidapps/comments/5dpvcz/slug/da6ux9k
Click to expand...
Click to collapse
Hello,
Will V4A work on P9, P9 plus and P9 lite if we flash those files?
Coolyou said:
Hello,
Will V4A work on P9, P9 plus and P9 lite if we flash those files?
Click to expand...
Click to collapse
I don't know. But I don't see why it wouldn't.
Backup system and try.
You'll have to use the phh init script though as I don't think supersu works with P9 on emui5?
Edit: actually, if your audio_effects.conf file is not in /system/etc/ or /vendor/etc/ the script needs to be modified. And if your audio_policy.conf contains the deep_buffer section.
You guys can use this app for switching SELinux to Permissive - https://forum.xda-developers.com/android/apps-games/app-selinuxtoggler-t3574688
It was featured a few days back on XDA blog, hope it will help the users.
DJBhardwaj said:
You guys can use this app for switching SELinux to Permissive - https://forum.xda-developers.com/android/apps-games/app-selinuxtoggler-t3574688
It was featured a few days back on XDA blog, hope it will help the users.
Click to expand...
Click to collapse
Oh, he finally released it
I'll update OP, thanks for heads-up.
Works like a charm, thanks
hi..I'm on aura's rom. and I can't install drivers. can you please teach me how can I make it work..thanks
s2pfie said:
hi..I'm on aura's rom. and I can't install drivers. can you please teach me how can I make it work..thanks
Click to expand...
Click to collapse
assuming everything else but the driver is installed,
simply download Viper4android_2.5.0.5_mate9.zip, extract.
go to customize/lib, rename libv4a_fx_jb_NEON.so to libv4a_fx_jb_ics.so
copy it to your phone.
Use a root file manager and copy and paste to /system/lib/soundfx/libv4a_fx_jb_ics.so.
And set permissions of that file to 0644 (RW-R--R--).
Then reboot and open up viper4android again and see if still complains.
If it doesn't, go to "hamburger" menu in V4A and tap on Driver Status, it should say Status: Normal. If it says abnormal something else is wrong.
ante0 said:
assuming everything else but the driver is installed,
simply download Viper4android_2.5.0.5_mate9.zip, extract.
go to customize/lib, rename libv4a_fx_jb_NEON.so to libv4a_fx_jb_ics.so
copy it to your phone.
Use a root file manager and copy and paste to /system/lib/soundfx/libv4a_fx_jb_ics.so.
And set permissions of that file to 0644 (RW-R--R--).
Then reboot and open up viper4android again and see if still complains.
If it doesn't, go to "hamburger" menu in V4A and tap on Driver Status, it should say Status: Normal. If it says abnormal something else is wrong.
Click to expand...
Click to collapse
thanks bro but still an error occurred..still abnormal
update:
just flashed your zip now its normal..thank you
@ante0, I just wanted to give you a quick heads up...
There's a new app (currently being beta tested) that will supercede/replace The SELinux Toggler....
It's a new app called "The SELinux Switch". Though, it will look like "The SELinux Toggler" but, I had to recreate, pretty much, the whole app.
The reason i had to do this is, primarily, to completely sever it from the older package name (or Installation Directory) that was also being used by the "SELinuxModeChanger" app.
I also had made some minor enhancements and a few compatibility improvements but, there's still some more improvements to be made.
In addition, the app has been passing the beta testing extremely well (thankfully after about 6 +/- months into it) and it should be released soon but, when the app has completed the beta testing and, ready for its debut, it will be released under a whole new thread.
Thank you all for your time, understanding and, especially, your support for my development.
Please let me know if you have any questions or concerns.
______________
PLEASE NOTE: I welcome any member to help with further valuable information/clarification for any of my posts.
Has anybody used the ARISE aroma installer (twrp flashable zip)? I've used it on a few other devices, coming to the M9 from a Le Pro 3 and it works nice and easy and patches selinux permanently. It seems the way Huawei does things is much different though, so I'd be suprised if it works as easily as on other phones.
In the end, it's just installing 2.5.0.5 anyway with a few other tweaks and a whole bunch of IRS response profiles. So that part's not very different.
Just a quick heads-up @ante0...
The SELinux Toggler has now Officially been Discontinued for the launching of the new app...
[APP][TOOL][4.2+][OFFICIAL]The SELinux Switch by Ibuprophen
Those of you who currently has The SELinux Toggler, and want to switch to The SELinux Switch, please be sure to read the OP for instructions.
Thank you ALL!
______________
PLEASE NOTE: I welcome any member to help with further valuable information/clarification for any of my posts.