Note: This is a Q/A thread please don't duplicate posts - upvote/comment on similar post
Root AccessBy default you have access to root via the root shell (ALT+F1 ALT+F7 to exit) using this root will give you access/control over some system related items but for proper root access and use of a su access manager (i.e. SuperSu) you need to 'manually' install a SuperSU.zip package that is normally installed via recovery - this process has been automated via RMXTools on Windows and a rootx.sh script on Linux.
Additionally the system is being 'forced' to remain ro (read-only) via the initrd.img - so an altered one is needed - the one provided here has just two ro's removed so the OTA mechanic is still in place.
System-less root
An alternative to the above this requires modifying ramdisk.img and includng a file in the data.img.
Required files can be obtained here: 64bit [32bit - will require it's own su.img and ramdisk.img]
Instructions -- download and replace the ramdisk.img (keep a copy of the original for OTA),
-- boot into RemixOS
-- download su.img
-- copy su.img to /data/su.img using ALT&F1 # i.e #cp /data/media/0/Download/su.img /data/su.img
-- reboot
Optional. If you also want rw access to /system files, then also download an replace the initrd.img ==> this will break OTA and will require replacing initrd.img and system.img with stock files for an OTA to complete.
Note. It is unknown what the consequence of rooting/modifying system.img will have on applying the implied upcoming regular OTA's OTA section followsOTAOTA's as expected/hoped are patched updates, unfortunately they aren't individual file patches but are block patches, meaningthat for an OTA to complete you need to have stock unaltered system.img, ramdisk.img, kernel and initrd.img files - if you have altered any of these or potentially just mounted system as rw even once; an OTA will simply fail.
Verification Lets have a look at the OTA [64bit] updater-script
Code:
(range_sha1("/mnt/system.img", "2,0,1") == "12775f6b5137acc7d8a1dcc2f4a401d194ce7644") || abort("/mnt/system.img has been remounted R/W; reflash device to reenable OTA updates");
if range_sha1("/mnt/system.img", "2,0,655360") == "359e95683918ae74e3742dbf2c6e50ef20fb38e8" then
ui_print("Verified system image...");
else
(range_sha1("/mnt/system.img", "2,0,655360") == "177ef6310b9f9125f9d76e71da381d98d50dfb6d") ||
abort("system partition has unexpected contents");
endif;
apply_patch_check("/mnt/initrd.img", "2", "bb0e9d622986383dcdba757ed6602d4f39f878ff", "1ea2c462df3804af097cf6c9deb7a062af7a4659") || abort("\"/mnt/initrd.img\" has unexpected contents.");
apply_patch_check("/mnt/ramdisk.img", "2", "4a516fa61dc2ffabe03806aa768217cb7c713ea2", "b14ab6183073f0162c95f80ed8168f3462882fcb") || abort("\"/mnt/ramdisk.img\" has unexpected contents.");
apply_patch_check("/mnt/kernel", "2", "ffbd1a85f514f1c662b327733b96a63535b11a95", "9a4464cae128abb4b90148aa413d6035ef09b5af") || abort("\"/mnt/kernel\" has unexpected contents.");
# ---- start making changes here ----
ui_print("Patching system image after verification.");
show_progress(0.900000, 0);
block_image_update("/mnt/system.img", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat");
apply_patch("/mnt/initrd.img", "-",
1ea2c462df3804af097cf6c9deb7a062af7a4659, 1568778,
bb0e9d622986383dcdba757ed6602d4f39f878ff, package_extract_file("initrd.img.p"));
apply_patch("/mnt/ramdisk.img", "-",
b14ab6183073f0162c95f80ed8168f3462882fcb, 1153529,
4a516fa61dc2ffabe03806aa768217cb7c713ea2, package_extract_file("ramdisk.img.p"));
apply_patch("/mnt/kernel", "-",
9a4464cae128abb4b90148aa413d6035ef09b5af, 5041936,
ffbd1a85f514f1c662b327733b96a63535b11a95, package_extract_file("kernel.p"));
set_progress(1.000000);
From this we can see the 4 needed files as stated previously and the expected sha1 hash for these files:
Code:
[b]64bit 1503 OTA[/b]
ramdisk.img b14ab6183073f0162c95f80ed8168f3462882fcb
system.img 359e95683918ae74e3742dbf2c6e50ef20fb38e8
initrd.img 1ea2c462df3804af097cf6c9deb7a062af7a4659
kernel 9a4464cae128abb4b90148aa413d6035ef09b5af
Could someone with 32bit OTA post their sha1 values
In order to check these in Windows open a command prompt in the RemixOS folder and issue:
PowerShell
Get-FileHash -Path .\*.img -Algorithm sha1 > sha1.txt
Get-FileHash -Path .\kernel -Algorithm sha1 >> sha1.txt
Then read the resultant sha1.txt fileGAppsWithin the beta there are preinstalled 'disabled' gapps
#terminal (ALT+F1)
Code:
Original Credit goes to [url="https://www.reddit.com/r/RemixOS/comments/48puc4/gapps_are_preinstalled_but_hidden_heres_how_to/"]SubredditReddit[/url]
Follow the guide there - I would just be parroting it.
GUI (Via App) [unverified]
Freeze JideAppPolicy app
Unfreeze GoogleApps
Alternative: Those who kept their gapped installed data from Alpha to Beta may have noticed that gapps still worked with doing anything to 'enable' them ; thus it must be concluded that something in data is keeping them active - perhaps an update of GooglePlay(Services) has been installed in /data - in that vain could someone simply install a copy of PlayStore and/or GooglePlayServices obtained from apkmirror.com or via racconOverlay AppsOverlay apps like Tincore Keymapper and Twilight can't run properly by default due to them not having access to the Draw On Top permission - there are several reasons for this I guess; 1 being that with the multiwindow framework overlays are part of the integral part of the OS and third-party apps possibly misusing it could have unforseen consequences, and 2 it could simply be proper Android policy (the overlay was originally indented for just Warning/Error messages).
That being said; Tincore and Twilight have worked fine for me, but use at your own risk.
GUI (Via App)
Download App Ops from the Playstore (root required) - this one is tested and works as expected.
Once downloaded give it root access, install AppOps and reboot.
After reboot open the AppOps app, go to device tab, find the desired app and give it the Draw On Top permission.
#terminal (ALT+F1) [unverified]There is an appopps binary present in /system/bin (well a script for appopps.jar) - likely it's being used to disable this 'feature'
Code:
[b]---For Tincore Remapper ---
#appops set com.tincore.and.remapper SYSTEM_ALERT_WINDOW allow
--- For Twilight ---
#appops set com.urbandroid.lux SYSTEM_ALERT_WINDOW allow[/b]
Personally I wouldn't touch anything else in the AppOps app to reduce the risk of messing something up.
Note: if using a overlay layer like Twilight, buttons like those to grant SU permission will be unclickable until you disable/pause the overlay
Alternative [unverified]: the root App Ops app just needs root to install another app named App Ops to /system/priv-app as seen in the attached screenshot below - thus it should be possible to include this app via something like the rooting method from RMXTools without requiring full root to be installed. But it's untested ad I wouldn't be comfortable with posting a copy of that apk without the developers permission.
Screenshots
{
"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"
}
Tablet ModeGUI (App/Root Browser)
/system/build.prop edit ro.remixos.box=true to ro.remixos.box=false
and while you are there you might as well edit
ro.no_wallpaper=true to ro.no_wallpaper=false
#terminal (ALT+F1) [unverified]
Code:
[b]#sed -i -e 's/ro.remixos.box=true/ro.remixos.box=false/g' /system/build.prop[/b]
[b]#sed -i -e 's/ro.no_wallpaper=true/ro.no_wallpaper=false/g' /system/build.prop[/b]
Screenshot
LauncherIn RemixOS the default desktop is essentially (like Windows) an expanded file browser window (com.jide.filemanager); enabling tablet mode (/disabling box mode) as above and exposing additional Experimental Features (multitap kernel version in Settings => About) allows you to disable the file based browser and use the other; technically stock launcher (com.android.launcher3); this is a minimal launcher without widget support and without an app drawer.
Third-party launchersDownload your 3rd party app of choice (Nova/Apex seem to be working 'fine')
GUI (Via App)
freeze My Home and Launcher
#terminal (ALT+F1)
Code:
[b]#pm disable com.android.launcher3
#pm disable com.jide.filelauncher[/b]
Press the Home (circle) button. Once launcher is set-up make sure it is set to run in full-screen mode i.e. Settings=>App=>Nova=>Restart in FullScreen Mode Credit to rafial who mentioned a similar procedure with launcher3 for Remix1.0
Screenshots
PhoenixOS
In PhoenixOS there is a similar filemanager/launcher3 setup but launcher3 is an 'empty' app and additionally 3rd party launchers are actively blocked from being installed, so until the location of this block is found 3rd party launchers won't work
(Auto-)RotationDue to the number of different accelerometer/gyroscope sensors there are numerous different ways that sensors reading can be processed; and currently Ax86 doesn't read from a property value to rearrange the sensor readings - thus if you 'enable' autorotation (disable the forced landscape), results may vary by device - i.e. screen/accelerometer may be misaligned (90/180/270 degrees).
To enable autoration - in addition to the build.prop edits for 'Tablet Mode' above; enable additional Experimental Features by multitapping on Kernel version info - then disabling Forced landscape and file based launcher
Screenshots
Disabling InputsProcedure listed hereAppsIf an app isn't working correctly or instantly crashes there's 2 options to try before writting it off:
1. Open the app fullscreen mode
2. If available use a different set of libs; this is done using pm install -r --abi * *.apk
I have also a simple script here it's run like applib sonic for a sonic app, then follow onscreen directions (add this to /system/bin as well)Build Prop tweaks
Apart from the Tablet mode edits mentioned above:
RequestsIf there's something that works in Androidx86 but not in RemixOS then please request it here and I'll take a look
Added #terminal (ALT+F1) method for AppOps -- this should work for stock (unrooted) system
Actually tincore is showing up the overley, but it was not touching the target instead it was touching the mouse pointer location. Do u successfully ran tincore without any hiccups
Yes I get the same problem as krishrocks, any solutions? TY.
Tincore isn't something I'm used to using; could it be a fullsceen or calibration issue.
Can either of you post a couple screenshots perhaps; as an answer rather than a comment and describe what should happen, and what actually does.
i set ro.no_wallpaper to false, remix os taskbar is missing.
how to fix?
Which launcher are you using?
Only reason for tasbar would be if it's set to autohide, or something is messing with SystemUI
when i would like install third party launcher, i use terminal with command
#pm disable com.android.launcher3
#pm disable com.jide.filemanager
is disable launcher an filemanager, but when run nova, i have message no support third party launcher....
I no longer got that message after disabling both apps,
If it's causing nova not to launch, try pressing the circle button and ticking the box to make it default first.
It could be that you also need ro.remixos.box=false but not sure
yes my remixos.box is false
nova work. i use titanium backup fot freeze launcher and filemanager
i am using nova launcher, maybe build.prop no wallpapaer true is meant to remix os cause if set to false then the taskbar will missing
edit:
sory u right, if set taskbar to autohide and buildprop no_wallpapaer to false tasbar is missing but i set taskbar to "not autohide" no_wallpaper to false tasbar is back, tyty
I think I had the wrong package listed for the #pm disable; try the above again.
@arts821 try the same - com.jide.filelauncher instead of filemanager.
screenshot of nova here: http://imgur.com/EDW6lOu - so it appears fine for me (I was using Apex previously so I had to disable that as well).
I managed to run Nova Launcher on Phoenix OS:
https://www.reddit.com/r/PhoenixOS/comments/4a67tm/chilling_with_nova_launcher/
Screenshot:
http://i.imgur.com/WfvGPaz.png
Any more details?
Nova was blocked from being installed for me (could see in logcat that it was a banned install or something).
Tablet mode on Phoenix is just launch each app fullscreen, if anyone is wondering; took me a while to realise that.
Just re-read your reddit post, I take it you manually installed an apk; rather than using the playstore --- if so that sould make sense to me.
Regnas said:
I managed to run Nova Launcher on Phoenix OS:
https://www.reddit.com/r/PhoenixOS/comments/4a67tm/chilling_with_nova_launcher/
Screenshot:
http://i.imgur.com/WfvGPaz.png
Click to expand...
Click to collapse
Yeah, I installed manually, and I thought it could work with Play Store too, but as you tested, it didn't...
Anyway, Nova is running pretty smooth on my Phoenix.. I also installed Apex and it's running great too, even the widgets are showing up in the app drawer (unlike Nova)..
I tried Arrow Launcher as well, it's working but the icons are a little bit small..
Aviate is not fully working at moment...
Cheers..
Thanks for the confirmation, not quite sure if that helps identify where the blacklist is.
I was going to try and replace packageinstaller... Or figured it might be one of the certificates in Settings.apk (perhaps the stock Android feature for buisness where apps are restricted).
PlayStore isn't included stock right? Pretty sure I manually gapp'ed...
Yep, there's no Play Store built-in... I installed gapps manually as well...
I'm waiting for the results of your tests..
Systemless root [64bit] and OTA section added
Some way to deactivate touch pad would be helpful.
It will be a while before I can check/test but you should be able to disable specific inputs via a file in /system/etc; using #getevent to find the right device name. Do you mind reposting your comment as as Answer instead so it gets it's own string
Edit. it's the /system/etc/excluded-input-devices.xml file
Related
Hello,
First of all take a part in voting here
First of all take a part in voting hereFirst of all take a part in voting here
I would need some good demo/tutorial video on how to use this tool. I don't have good microphone and experience to do this.
If there's anyone who can make a good video please PM. I'll include it in this thread.
In case You wouldn't understand all the functionality of this program just ask.
Here is a tool that I'm working on for some longer time.
On the beginning it was pretty lame, but now I use it even myself.
This program should work with every android phone (except: Mac Address Changer).
Just check out many features of this program.
Please keep in mind it has drag&drop functions in file explorer.
PS. You have to enter Your IP address in WIFI tab to enable all WIFI related stuff (also from the menu).
{
"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"
}
Do You like this layout of File Explorer or You would change that?
Here's some Youtube video for this program. It's v3.4, so pretty old. Also it's very lame.
But You can always make some other video presenting all program features or some kind of a tutorial how to use it.
I would place it over here instead of this old boring video.
It is only ~11717 lines of code, isn't that much isn't it?
You think it's newsworthy?
Nobody will never Donate, so I decided to make this program completely free, without any serial codes or anything. Maybe somebody will donate someday.
This is a very advanced program.
If You only want to have a quick file explorer please take a look at this thread: http://forum.xda-developers.com/showthread.php?t=2269808
RUN THE PROGRAM AS ADMINISTRATOR
Download v.5.4:Here
Download v.4.7:mirror
Download v.4.6: Now
Download v.3.7:From Here or here or HERE If not working try this (or this)
Download v.3.6: HERE
Download v.3.5: Here
Download v.3.4: HERE
Download v.3.2: Here
Download v.3.0: HERE (mirror)
Download v.2.9: http://freakshare.com/files/s415scp3/Backup-v.2.9.rar.html
Download v.2.8 : here (mirror)
Download v.2.4 :http://www.4shared.com/rar/AqjwTJeQ/Backup_24_1_.html
Download v.2.2 : 4shared
Download v.2.0 :Here or from Here
Download v.1.7 :from here if download doesn't work try this
Download v.1.6:http://www.filesonic.com/file/x9clkae/backup6.rar
Requires:
-rooted phone
-drivers for Your PC {only via USB}
-adb drivers
-Admin rights
-Busybox (with working ls -1 command)
-NET Framework 4.0
-For all WIFI stuff keep Your phone active, best if screen stays on or the transfer will stop
Click to expand...
Click to collapse
What You can do with this program:
-Pull out WIFI passwords
-Backup & Restore data [WIFI & USB]
-Install new apps [WIFI & USB]
-Check for running processes [WIFI & USB]
-Backup user apk's [WIFI & USB]
-Backup system apk's [WIFI & USB]
-Change the lcd-density [WIFI & USB]
-Remove forgotten password & pattern lock [WIFI & USB]
-Check for installed apps & remove them [WIFI & USB]
-Write text on Your PC and send i to Your X10
-Navigate Your phone
-Launch apps
-Browse through android & PC files and copy,cut, delete them between Android & PC without having Your storage mounted[WIFI & USB]
- And much much more.....
Click to expand...
Click to collapse
Known bugs:
-If music won't play by the first time. Give it another try. (No special chars support)
-If the phones files won't load kill the process.(green text)
Click to expand...
Click to collapse
Changelog:
Version 1.7:
-process list
-installed apps list doesn't require backup anymore
-list of system apps
Verison 2.0:
-writing text
-launching apps
-removing gesture&password lock
Version 2.2:
-new way of typing text
Version 2.4:
-Added file manager
Version 2.8
-Added more options to file explorer
Version 2.9:
-Minor Improvements in file explorer. Much Faster
Version 3.2:
-Fixed Image preview
-Fixed space locations
-Adding folders with space in the name
-Preview the pictures in Microsoft Office, Paint, Photohop
Version 3.4:
-Open text and word documents
Version 3.5:
-Added multiple file renaming
Version 3.6:
-Added Wifi File Explorer
Version 3.7:
-Changed the way of USB keyboard = faster text typing
-Added *.bz2 option to Wifi File Explorer
Version 3.9:
-Drag & Drop from phone to PC
Version 4.0:
-Install *.apk changed.
-One column system apps listing
-Check if the phone is connected via WIFI
Version 4.1:
- Fixed Multirenaming
- Fixed opening files
- Set wallpaper via File Manager
- Changed visual style
Version 4.2:
- Graphic changes in File Explorer
- Install *.apk's from PC via File Explorer
- Send fast e-mail to me
Version 4.3:
- Fixed error while copying from PC
Android Manager v.4.4:
- Added Mac Address Changer
- Advanced process Managing
- Added text while copying item by drag & drop
- Turn ON & OFF Wifi
Android Manager v.4.5:
- Fixed choosing files to copy
- You can prevent preview of the pictures
Android Manager v.4.6:
- Added drag&drop to delete files from phone and make a copy
Android Manager v.4.7:
- Changed trial problem
Android Manager v.4.9:
- Added one file renaming
- Fixed copymode while right mouse click
Android Manager v.5.0:
- Added tabs for phone location
- Added tightvnc Control
Android Manager v.5.1 & 5.2:
- You can copy the files to phone by drag&dropping them to phones storage in file explorer.
- Completely new UI
- Added LED disabling
- Installing apps via drag&drop
- Clicking with right mouse button will automatically select an item.
- You can quickly send e-mails with attachment coming straight from Your phone
- You can now search for files
- Change wallpaper on Your phone to the one You have on Your PC or any other picture (right mouse click in file explorer in PC section)
- Added WIFI Keyboard
- You can copy all of Your apps (even from SD Card and restore them < may cause force stop)
- Check Your SD Card space any time
- All functions from USB File Explorer were imported to WIFI File Explorer
- Fixed e-mailing me
- Removed all trial and serial stuff.
- Added Music Player
- Fixed problem with "R" in File Explorers
Android Manager v.5.3:
- Small changes in keyboard tab
- Different function of pressing enter in the text section. You may use it as enter or new line in text (automatic recognition)
- After sending text to Your phone correct form opens back
Android Manager v.5.4
- removed tabs for WIFI (one tab works for WIFI and USB)
- fixed copying list
- fixed sending cleared text
- fixed USB storage status for devices with internal storage (works on mine, need some confirmation from You)
Click to expand...
Click to collapse
Any Bug report or idea would be kindly seen
Use it carefully, playing with Your phone might be dangerous.
Also have a look at the bootanimation change tool: http://forum.xda-developers.com/showthread.php?p=20768824#post20768824
Hi, just a quick suggestion: use .NET framework v2.0 b/c that comes preloaded with nearly all machines [and if not, comes in windows updates].
Otherwise great work! What is this programmed in? and with what? [IMO it looks like Microsoft Visual Studio? ]
hello,
your usage is the false one, you take the how to from your bootanimation tool.
greetings
kicker13 said:
hello,
your usage is the false one, you take the how to from your bootanimation tool.
greetings
Click to expand...
Click to collapse
Oh, yeah. Thx, I haven't noticed it
pheel said:
Hi, just a quick suggestion: use .NET framework v2.0 b/c that comes preloaded with nearly all machines [and if not, comes in windows updates].
Otherwise great work! What is this programmed in? and with what? [IMO it looks like Microsoft Visual Studio? ]
Click to expand...
Click to collapse
Yes, It's Visual Basic, but it's already to late to change the framework. The framework v.4.0 is the default Framework for VB 2010
nice work... but to many batch files for my taste
and on win7 doesn't work.. any pressed button app exits...
you could add single instance code in main app multiple instances will just jam communication.
aZuZu said:
nice work... but to many batch files for my taste
and on win7 doesn't work.. any pressed button app exits...
you could add single instance code in main app multiple instances will just jam communication.
Click to expand...
Click to collapse
it works on .bat files. It works on windows 7 (I have one), it doesn't exit, just hides and opens a cmd window. Take a look on Your taskbar
aZuZu said:
Click to expand...
Click to collapse
Yeah, the file isn't found because the "Location of the backup folder" (in this case backup3) is empty. Enter Your path to d:\backup3 and save it
updated to v.1.6
another Polish dev? Hell yeah! tnx for the tool.
seriously, have to fill in survey to download? not worth it. all i need is more crap spamming my email
Hi,
just a small question.
what´s the difference (if any) between this & bootanimation tool and THIS one besides wifi s.th
thks
mpgrimes said:
seriously, have to fill in survey to download? not worth it. all i need is more crap spamming my email
Click to expand...
Click to collapse
Oh sorry. I wanted to test new hosting page but I didn't think that it would be with survey
Crowds said:
Hi,
just a small question.
what´s the difference (if any) between this & bootanimation tool and THIS one besides wifi s.th
thks
Click to expand...
Click to collapse
Yeah,I haven't seen this before.
Could You please test this verison and let know if deleting apps works because i keep getting some errors
Version 1.7 is out
Added:
-process list
-installed apps list doesn't require backup anymore
-list of system apps
v.2.0:
-writing text
-launching apps
-removing gesture&password lock
-for more you have to take a look
In v.2.2 there is a new way of typing text
In v.2.4 I added File Manager. I will make more functions for it in the future.
This would be my second public-released xposed module...
(A duplicate thread is also posted in the Android Themes Section, so user who are only interested in themes can also see this)
I did not expect that my WisdomSky Xploit would be a big hit.
I'm just an Amateur developer who just started delving into android development 3months ago and I didn't expect that much appreciation from my work... XD
But all of these would not be made possible if not because of sir @rovo89 and sir @Tungstwenty and their Xposed Framework, right? That's why I thank them a lot...
REQUIREMENTS
Xposed framework must be pre-installed before installing this.
What does the ResXploit do?
ResXploit has two parts:
the Removable part, terminal
and the main star, engine
The terminal is where you enter the commands(I'll discuss it later). These commands will then be interpreted by the engine and then passed to Xposed framework...
Flow:
TERMINAL >> ENGINE >> XPOSED FRAMEWORK
I have provided a variety of modules:
ResXploit (Terminal + Engine) (RECOMMENDED FOR NEWBIES)
ResXploit Terminal (Terminal Only)(DEPRECATED)
ResXploit Engine (Engine Only)
You might be wondering why I made one which has both terminal and engine... and other two which are separated...
ROM Chefs, Themers and some others would understand directly why...
All the commands are interpreted by the Engine right? so that would mean that once you have entered all the desired commands, the terminal will now end up as useless... so you will just delete so no one can touch the engine...
If you are a ROM Chef or a themer, you can theme all the apps you need to theme using ResXploit and then remove the terminal, so end-user interaction of the engine is prevented after you have released your ROMs to the world.
FOR NEWBIES!
I recommend you to use the ResXploit (Terminal + Engine)...
It is very smart..
I included 99% accurate error-checking system,
line numbering system,
and also Xposed module prioritization(which is first implemented on ResXploit for better module performance).
COMMANDS
We have four basic commands in the ResXploit, the apk, drawable, string, and boolean.
apk - A prerequisite command. This command is very vital whenever you using the ResXploit. This will define the target application by using the package name of the target application. You need to include this before you enter any command or else your command will not know which application is targeted and end up in lost island.
Code:
[B]format[/B]: [I]apk <package name>[/I]
[B]example[/B]: apk com.android.systemui
drawable(also drw) - The most often used command. The command which will change icons/images (png drawables) of an application. You can either overlay the existing image with your favorite color or completely replaced it with a .png image from your sdcard.
Code:
[B]format1[/B]: [I]drawable <target application's drawable name> <image path, no need to include /sdcard> <transparency, 0 to 255>[/I]
[B]example1[/B]: drawable status_bar_background bg.png 255
[B]format2[/B]: [I]drawable <target application's drawable name> <HEX RGB color code> <transparency, 0 to 255>[/I]
[B]example2[/B]: drawable status_bar_background #fff00ff 255
string(also str) - This command will change string(text) values of the application. The predefined string values are usually located in res/values/strings.xml of an application, but I guess they are not visible when you view the contents of an application using Archive managers like RootExplorer. But there is a way to identify them. I will include it later.
Code:
[B]format[/B]: [I]string <target application's string value holder name> <replacement string>[/I]
[B]example[/B]: string app_name My App
boolean(also bln) - This command will change boolean values of the application. The predefined boolean values are usually located in res/values/bools.xml of an application, but I guess they are not visible when you view the contents of an application using Archive managers like RootExplorer as well.
Code:
[B]format[/B]: [I]boolean <target application's boolean value holder name> <replacement boolean value, either [B]true[/B] or [B]false[/B] only>[/I]
[B]example[/B]: boolean allowNumberNotifications true
Some simple examples screenshots:
drawable and string commands in action
{
"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"
}
ResXploit UI screenshots:
If you find my ResXploit module interesting,
Please hit THANKS!!! XD:angel:
UPDATES & CHANGELOGS:
ResXploit Engine 1.0.8 - added support to framework-res(android).(latest)
ResXploit 1.0.8 - updated engine(1.0.8).(latest)
NOTICE: ResXploit is now an abandonware.
My flash drive where I stored the sources of my android projects was corrupted unexpectedly.
And also, my phone was broken. I have no device to use to re-write everything from scratch... Sorry...
Tutorial and samples
System Apps Package Names:
SystemUI - com.android.systemui
Settings - com.android.settings
Mms - com.android.mms
Contacts - com.android.contacts
Launcher - com.android.launcher
Gallery - com.android.gallery3d
File Explorer - com.android.qrdfileexplorer
Framework-res - android
Tip: If you want to find the package name of a specific application(not on the list), you can open Root Explorer(download it from googleplay) and then browse the apk you want to check, open it and choose "view". You can find AndroidMaifest.xml file inside. Open it then find the package="xxxxxxxxxxx". The words or group of words inside the quotations separated by a period is the package name of that application.
Note: ResXploit is far safer(in terms of error awareness) to use than the ResXploit terminal. If possible, only use ResXploit. In the simple tutorials below, please expect that I'm referring to ResXploit only.
Changing Statusbar background color
let's say color red...
Code:
#!/
apk com.android.systemui
drawable status_bar_background #ff0000 255
Changing Notifications Panel background color into transparent
Code:
#!/
apk com.android.systemui
drawable notification_panel_bg #000000 0
Changing Notifications Panel background with an image from sdcard
let's say that the png image is located in /sdcard/my_img.png
Code:
#!/
apk com.android.systemui
drawable notification_panel_bg my_img.png 255
You might be wondering where i'd get the target application's drawable filename?
Actually, you can just open the root explorer and view the files inside the apk of the target application. under the /res directory(folder), you can find a variety of subdirectories prefixed with [drawable, like drawable-hdpi,drawable-mdpi and so on... Basically, all images inside those folders are under the scope of drawable command in Resxploit. And if you want to target a certain image in the drawable folders, you just need to get the file name without the .png or .9.png. That's it!
Adding "comments"...
Comments in programming are human-readable additional information. If you want to put notes somewhere in your script, you can put "#" before your statement. When the terminal find a "#" before a statement, the terminal will ignore it and skip it. However if you will enter a non-command information and is not started withcl a "#", the terminal will ofcourse read it as command and then throws an error message.
Code:
#!/
# my comment. my comment. my comment
apk com.android.systemui
drawable status_bar_background #ff0000 255
# the terminal will skip the command below
# because it started with a "#"
#drawable oh_no #ff00ff 255
Defining working directory path of your images
If you want to start theming and you already have the images you want to use stored inside a single folder, then you can tell the terminal where these images are located so you don't need to enter the path redundantly.
You can define it on the very first line of ResXploit, after the "#!/" you can add the folder name or path to the folder.
let's say we have our images put in a folder in sdcard named my_images or /sdcard/my_images, then you can define it like this.
Code:
#!/my_images
#we can start theming now
drawable hello some_image.png 255
drawable world next_image.png 255
great work dude...noypi are very smart of course,,
Very interesting. I've been interested in theming for a while now but haven't gotten my feet wet. I'll be waiting for your tutorials. Great work mate!
Sent from my Galaxy Nexus
Nice! I love to see Pinoys In-Action with the XDA community!
Will wait for the tutorial of yours repa!
@greedisgood99999 Please stop that bad-habit of quoting... It's quite irritating tropa...
Wait for the tutorial
Sent from my Xperia Mini Pro
So ... a scriptable general purpose module. This is a phenomenal idea. OK still requires digging into the apk but a whole lot easier than building a new module from scratch.
Mission: Get rid of Armv7 calls the FC apps on my old clunker (also need help buying a new phone--if I had it, would have reserved the edge already!). Google Now first tries to init the "off line" voice recognition engine. Minimum, want to simply disable this call. I use overlays to prevent other such calls. Maximal, to replace with the old "on line" voice recognition engine.
Capability in this yet?
Among the booleans?
what say you
Dovidhalevi said:
So ... a scriptable general purpose module. This is a phenomenal idea. OK still requires digging into the apk but a whole lot easier than building a new module from scratch.
Mission: Get rid of Armv7 calls the FC apps on my old clunker (also need help buying a new phone--if I had it, would have reserved the edge already!). Google Now first tries to init the "off line" voice recognition engine. Minimum, want to simply disable this call. I use overlays to prevent other such calls. Maximal, to replace with the old "on line" voice recognition engine.
Capability in this yet?
Among the booleans?
what say you
Click to expand...
Click to collapse
i don'think so... because ResXploit's scope is only the res or resource directory of the apk structure...
if a boolean value is defined in the res/values/bools.xml that will actually toggle controls then it would be great... but i think, in your case it is deeply hard-coded to work like that...
Framework.res?
Can you theme the framework.res using this?
package name is only 'android' no com. or anything..
EDIT: Tried and it seems to go through ok, but nothing seems to change. Rebooted several times, changed an image in my keyboard, checked it was ticked in Xposed framework, setup a folder in my internal storage, checked superuser granted access, pressed high priority in settings. Don't know
Here's a debug log (uploading tomorrow, pc occupied)
Will this work for non system apps? The unlock button on the PowerAmp lock screen drives me insane because it's the only thing I can't change and I absolutely hate green.
Metallijim said:
Can you theme the framework.res using this?
package name is only 'android' no com. or anything..
EDIT: Tried and it seems to go through ok, but nothing seems to change. Rebooted several times, changed an image in my keyboard, checked it was ticked in Xposed framework, setup a folder in my internal storage, checked superuser granted access, pressed high priority in settings. Don't know
Here's a debug log (uploading tomorrow, pc occupied)
Click to expand...
Click to collapse
I'm so sorry for that...
in exposed, framework-res(android) uses different method...
so i forgot to implement it fo support the framework-res...
thanks for your feed back. I'll add it up and upload it later...
Rokonacdc said:
Will this work for non system apps? The unlock button on the PowerAmp lock screen drives me insane because it's the only thing I can't change and I absolutely hate green.
Click to expand...
Click to collapse
Ofcourse! it will work with non-system apps too... XD
This looks very promising, thank you for your work!!
here's a Debug
Here's my Debug log
Xperia Z 4.2.2, Images in internal storage, Xposed priority set low, all other xposed modules that I have installed disabled
Metallijim said:
Here's my Debug log
Xperia Z 4.2.2, Images in internal storage, Xposed priority set low, all other xposed modules that I have installed disabled
Click to expand...
Click to collapse
sir l've already added support for framework-res, please check the changelogs for the download link...
Interesting, sounds like a concept similar to Ninjamorph.
A couple of quick questions:
Is this able to apply folders or just single png's?
Also do you need extract png's from apks in order to apply or does it extract and apply automatically?
:good:
dully79 said:
Interesting, sounds like a concept similar to Ninjamorph.
A couple of quick questions:
Is this able to apply folders or just single png's?
Also do you need extract png's from apks in order to apply or does it extract and apply automatically?
:good:
Click to expand...
Click to collapse
Unlike ninja morph, in resxploit, there is no permanent replacing of resources happened... which means you can deactivate, share, edit easily anytime....
Q: Is this able to apply folders or just single png's?
A: only single pngs... 1 drawable command = 1 png... but there is no limitation on how how many commands you can add
Q: Also do you need extract png's from apks in order to apply or does it extract and apply automatically?
A: As what I've added on the title, "No decompiling APKs"... it means, no decompiling or extracting is involved in the process as what Xposed Framework aimed. You just need to put the image to replace inside your sdcard and just add a command to tell the engine "to replace that with this"... there is no permanent replacing of resources happened here... the image is just move into the /data partition and will be just overlapped to the target resource so there will be an impression of replacing of resources
I didnt mean does it decompile/extract full apks. I meant can you pull an resource/image out of the apk to apply.
I know it overlays instead of permanently overwriting the original resource, similar to Icon themer and XTheme engine.
Ninjamorph/ Metamorph unzips apks into folders so you can navigate through them and choose what you want to apply.
Example:
Choose target resource/image to change.
Choose apk to pull resource/image from.
Navigate and choose resource/image (extract if applicable) to apply.
This would be good if it also done the same. Although you could just unzip with an on board app like Zarchiver.
Basically it would make it a new and improved Ninjamorph/ Metamorph (dont tell Stericson i said that)
No offense, but looking at it from newbies point of view, it seems like a bit of a drawn out process if you were wanting to change numerous items.
I know it's early days and I'm sure this would be greatly improved with a GUI, if you decide to add one.
Personally speaking, i think this has massive potential and could be something very special. I applaud you, i wish i had your talent.#
Thanks.
I tried clicking on the changelog link, it gave an error "Invalid Attachment specified. This can happen for a variety of reasons-- most likely because the thread or post you are trying to view has been moved or deleted. Please return to the forum home and browse for another similiar post."
Not sure if its the file attached to the post that is the updated one or if the actual update got deleted. Please help me here
phanitej said:
I tried clicking on the changelog link, it gave an error "Invalid Attachment specified. This can happen for a variety of reasons-- most likely because the thread or post you are trying to view has been moved or deleted. Please return to the forum home and browse for another similiar post."
Not sure if its the file attached to the post that is the updated one or if the actual update got deleted. Please help me here
Click to expand...
Click to collapse
Oh sorry for that.. ill just upload it to a third party site and add the link...
thnx for reminding...
dully79 said:
I didnt mean does it decompile/extract full apks. I meant can you pull an resource/image out of the apk to apply.
I know it overlays instead of permanently overwriting the original resource, similar to Icon themer and XTheme engine.
Ninjamorph/ Metamorph unzips apks into folders so you can navigate through them and choose what you want to apply.
Example:
Choose target resource/image to change.
Choose apk to pull resource/image from.
Navigate and choose resource/image (extract if applicable) to apply.
This would be good if it also done the same. Although you could just unzip with an on board app like Zarchiver.
Basically it would make it a new and improved Ninjamorph/ Metamorph (dont tell Stericson i said that)
No offense, but looking at it from newbies point of view, it seems like a bit of a drawn out process if you were wanting to change numerous items.
I know it's early days and I'm sure this would be greatly improved with a GUI, if you decide to add one.
Personally speaking, i think this has massive potential and could be something very special. I applaud you, i wish i had your talent.#
Thanks.
Click to expand...
Click to collapse
thanks for the appreciation and to your suggestions...someone did suggest to me to add GUI...
I'm still a newbie in terms of androld... there's so much to learn first before I can fully implement whats on my mind...
My phone is also not that good for development... its so slow... XD
but if everything turns out good... then maybe I should reconsider...XD
WisdomSky said:
Oh sorry for that.. ill just upload it to a third party site and add the link...
thnx for reminding...
thanks for the appreciation and to your suggestions...someone did suggest to me to add GUI...
I'm still a newbie in terms of androld... there's so much to learn first before I can fully implement whats on my mind...
My phone is also not that good for development... its so slow... XD
but if everything turns out good... then maybe I should reconsider...XD
Click to expand...
Click to collapse
Which phone do you use?
Viper4android: How to install it properly
This is something I've been meaning to write up for a long time now. All over XDA I see people have trouble with getting Viper4android working and I thought this might shed some light on the issue.
There are many zips out there that will install viper but most of them have other sound mods rolled into it and I prefer viper only. I find that most of the others often distort the sound a little, but with Viper4android only, the sound is just perfect for my tastes.
What you need:
- A root file explorer (RootExplorer, EsFileExplorer, etc.)
- Root (obviously)- Either Magisk or SuperSU
- If using Magisk you'll need a Permissive kernel. My kernel works with certain models and is permissive.
- If using SuperSU you can use enforcing, but will need an extra file that I'll cover later on.
- Some good music to listen to.
This method is really not much of revelation since it's actually on the Viper4android thread itself, but almost everyone tries to let the install the drivers automatically. Do not let the app install the drivers for you. It will install the old driver and it doesn't include the Neon driver.
First things first. We need to do a little cleanup just in case there are already some viper files or drivers partially installed.
Viper4android has three places in which it installs:
/system/lib/soundfx/
/system/etc/audio_effects.conf
/system/app/Viper4android.apk
{
"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"
}
Using your root explorer go to /system/lib/soundfx/ and look for any old V4A files and delete them. It should look like this, libv4a_fx_ics_X86.so. Also check in your system/app/ and check to see if you have the old viper app and if so delete that too (the newest version is 2.5.0.5). Note: if you already have the app installed you can go to the settings menu and select uninstall drivers and it should remove everything for you. Then just double check to make sure. Then uninstall the app unless it's the newest version and placed in /system/app/.
Once we have everything cleaned up it's just a matter of placing the right files in the right spot. I've attached a zip that has everything you will need in it. It is not a flashable zip. Just unzip it to get to the necessary files.
1. Place the Viper4android app in /system/app (no extra folder necessary) and change the permission to 0644 or rw-r-r
2. Place the .so files in /system/lib/soundfx/ and change permission to 0644 or rw-r-r
3. If you don't have any other sound mods installed you can swap out my audio_effects.conf file for yours and set permission to 0644 or rw-r-r, but if you do that back up your original file just in case (just rename the original to audio_effects.bak). If you do have other sound mods installed you'll want to add the following red lines to you existing audio_effects.conf file.
Code:
# List of effect libraries to load. Each library element must contain a "path" element
# giving the full path of the library .so file.
# libraries {
# <lib name> {
# path <lib path>
# }
# }
libraries {
[COLOR="red"]v4a_fx {
path /system/lib/soundfx/libv4a_fx_jb_NEON.so
}
#NECESSARY FOR XHIFI
v4a_xhifi {
path /system/lib/soundfx/libv4a_fx_jb_X86.so
}[/COLOR]
# This is a proxy library that will be an abstraction for
# the HW and SW effects
proxy {
path /system/lib/soundfx/libeffectproxy.so
}
# This is the HW implementation library for the effect
offload {
path /system/lib/soundfx/libaudioeffectoffload.so
And...
Code:
# }
# ...
# }
effects {
[COLOR="red"]v4a_standard_fx {
library v4a_fx
uuid 41d3c987-e6cf-11e3-a88a-11aba5d5c51b
}
#NECESSARY FOR XHIFI
v4a_standard_xhifi {
library v4a_xhifi
uuid d92c3a90-3e26-11e2-a25f-0800200c9a66
}
}[/COLOR]
soundalive {
library proxy
uuid 05227ea0-50bb-11e3-ac69-0002a5d5c51b
libsw {
Placement is everything with this. If there's an extra space or missing a space you'll will get the "drivers are not installed" error when opening the viper app. It took me several tries in the beginning to get the audio_effects.conf part of this right, but it will work when everything is correct.
4. This step is dependent on your setup. If you are using a permissive kernel this is not necessary. If you're using SuperSU with an enforcing kernel you'll need to flash the ViPER4Android-supolicy.zip that is included in the attached zip file.
Original instructions are here, but nobody seems to see them including myself for the longest time.
Now if everything is in place properly you should get this:
It should work with any music player (I mostly use Spotify), YouTube, video players, etc.
Enjoy.
Credits:
@viper520 -for creating Viper4android
@zhuhang - for co-founding and continuing to maintain Viper4android
If anyone knows the identity of who created the ViPER4Android-supolicy.zip let me know. I would love to be able to give proper credits on that as well.
Thanks Mate Nice thread
Hi kevintm78, I have some questions.
1. In your Driver Status screen shoot you have Processing:Yes, I have Processing:No, what does that mean for me?
2. It is said to install or move Viper to System/app, does System/priv-app location achieve the same as System/app?
3. I've heard it said that using DDC and Convolver together is not adviseable, is this true?
4. where can I find/download more DDC profiles?
5. I'm on a Note 4 Android version 6.0.1 Rom: NEMESIS REFINED N7 port, on odd occasions after using the built-in "Smart
Manager app, viper's profile folder contents sometimes disappear, although the DDC and Kernel folders will remain intact.
Would you have ant idea why this happens? That said, I have found that if I delete the Cache and Data of the Smart Manager app, the Viper Profile folder contents will remain more often but as mentioned, they will disappear
6. On rare occasions the "Load effect profile" List would be in alphabetical order, is there a way to force this?
I would appreciat your thoughts and help for the questions mentioned.
Many Thanks for Your tutorial.
asia559571 said:
Hi kevintm78, I have some questions.
1. In your Driver Status screen shoot you have Processing:Yes, I have Processing:No, what does that mean for me?
2. It is said to install or move Viper to System/app, does System/priv-app location achieve the same as System/app?
3. I've heard it said that using DDC and Convolver together is not adviseable, is this true?
4. where can I find/download more DDC profiles?
5. I'm on a Note 4 Android version 6.0.1 Rom: NEMESIS REFINED N7 port, on odd occasions after using the built-in "Smart
Manager app, viper's profile folder contents sometimes disappear, although the DDC and Kernel folders will remain intact.
Would you have ant idea why this happens? That said, I have found that if I delete the Cache and Data of the Smart Manager app, the Viper Profile folder contents will remain more often but as mentioned, they will disappear
I would appreciat your thoughts and help for the questions mentioned.
Many Thanks for Your tutorial.
Click to expand...
Click to collapse
You're very welcome. I think I can help with some of your questions.
1. For processing, it will say no unless there's something playing. Try playing a song and then checking it again.
2. You can use priv-app if you'd like. The only difference between the two is that priv-apps are given more system permissions than just /system/app. The results should be the same though with either one.
3. I've been using them together and haven't noticed any negative impact. I'll see if I can find out more on that though, but you should be fine.
4. I think what you're looking for is IRS packages. You can find out more about it here. You can also download the starter IRS packs here. Viper4android has depricated they're XHFI features so I'm not sure that more DDC profiles are helpful anymore (though I could be completely wrong about that.) Most of the other DDC profiles I've found are at least a few years old now.
5. That's strange that they are being removed. Are the folders empty? Maybe that's why they are being removed. Try downloading the IRS starter pack, unzip it, and move the whole folder to the Viper4android/kernel folder on your sdcard. To get that folder to show up just press on the Convolver setting and it should create those folders for you. That's about the only reason I could think of as to why they are being removed.
Thank you by the way for asking those questions. That's something I need to cover a little more thoroughly. I definitely will expand on this topic if it looks like people are interested.
Thank you so much it works! but only for certain music player, i tried it with Phonograph and Samsung's stock music player and it works.
It doesn't work with spotify. I did the exact step you mentioned. I using note 4 exynos eRobot v33. any ideas why?
damadikaz said:
Thank you so much it works! but only for certain music player, i tried it with Phonograph and Samsung's stock music player and it works.
It doesn't work with spotify. I did the exact step you mentioned. I using note 4 exynos eRobot v33. any ideas why?
Click to expand...
Click to collapse
That's strange, Spotify is kind of the only music player I use. What does the driver status say when Spotify is playing? Did it say it's processing while the music is playing?
kevintm78 said:
That's strange, Spotify is kind of the only music player I use. What does the driver status say when Spotify is playing? Did it say it's processing while the music is playing?
Click to expand...
Click to collapse
I've attached the screenshot. pls check it.
I just check it with another streaming music player called Joox, V4A doesn't work either.
but when I play any local music files even using Solid File manager V4A works.
thnx for the explaination sir.. i have a question, why V4A not "active" after reboot..? i have to manually open the app to make it work every time after reboot.. thnx..
Same problem here. N910c with erobot v33 rom with native viper, magisk, permissive kernel, etc. And still, no processing with Spotify or deezer. Local files are processed.
Deleted
Danielreo said:
Same problem here. N910c with erobot v33 rom with native viper, magisk, permissive kernel, etc. And still, no processing with Spotify or deezer. Local files are processed.
Click to expand...
Click to collapse
Try to freeze soundalive
1.Install Viper as system App & start up app and load preferred version of driver
2.Update build.prop: root/system/build.prop
## ViPER4Android Build.prop Tweaks
lpa.decode=false
lpa.releaselock=false
lpa.use-stagefright=false
tunnel.decode=false
Nothing of the above worked here.
Even before the suggested configs, I realized that the bluetooth mode is processing like a charm. Phone speaker and headset still not.
I've followed your step by step (twice), and V4A still asks me to install the drivers...
I placed the apk on system/priv-app (the 1st attempt was on system/app), put the .so files on system/lib/soundfx, replaced the audio.conf on system/etc, changed the permissions exaclty to rw-r-r, then used TWRP Recovery mode to install the SU Policy - even though I have a selinux changer.
On Default Storage, the only option I have to set is "/storage/emulated/0/", not sure if this matters (I think it doesn't, probably it's just where it'll save your profiles etc).
Tried restarting the phone, to see if it would detect, tried to switch compatible/normal, deactivated selinux (using v4a dev mode), tried to change the permissions to rwx-rx-rx... nothing worked. V4A still asks me for the drivers.
It does work, however I install it, but only on compatible mode, and not with Spotify LOCAL synced files - which is a great issue to me.
PS.: I have NoozXoide installed here - cause it's the only one which also works with local files on Spotify. I've already tried to unninstal it and redo all the procedures, though...
OH, also, should I deactivate Android stock Audio effects app?
Can you help me please OP?
mateusonego said:
I've followed your step by step (twice), and V4A still asks me to install the drivers...
I placed the apk on system/priv-app (the 1st attempt was on system/app), put the .so files on system/lib/soundfx, replaced the audio.conf on system/etc, changed the permissions exaclty to rw-r-r, then used TWRP Recovery mode to install the SU Policy - even though I have a selinux changer.
On Default Storage, the only option I have to set is "/storage/emulated/0/", not sure if this matters (I think it doesn't, probably it's just where it'll save your profiles etc).
Tried restarting the phone, to see if it would detect, tried to switch compatible/normal, deactivated selinux (using v4a dev mode), tried to change the permissions to rwx-rx-rx... nothing worked. V4A still asks me for the drivers.
It does work, however I install it, but only on compatible mode, and not with Spotify LOCAL synced files - which is a great issue to me.
PS.: I have NoozXoide installed here - cause it's the only one which also works with local files on Spotify. I've already tried to unninstal it and redo all the procedures, though...
OH, also, should I deactivate Android stock Audio effects app?
Can you help me please OP?
Click to expand...
Click to collapse
Are you using magisk or supersu? Also, I've recently found a secondary spot for the libs and audio-effects.conf if using certain port roms. If using a stock rom that's enforcing, I would supersu and the su policy file.
If it is a stock rom I never had to freeze or uninstall anything to get it fully working. But I can help you get it going if you're still up for it.
kevintm78 said:
Are you using magisk or supersu? Also, I've recently found a secondary spot for the libs and audio-effects.conf if using certain port roms. If using a stock rom that's enforcing, I would supersu, and I flashed the su policy file.
If it is a stock rom I never had to freeze or uninstall anything to get it fully working. But I can help you get it going if you're still up for it.
Click to expand...
Click to collapse
Thank you very much for replying mate!! :angel: And sorry for misinforming.
I have a Moto G4 Plus (XT1360) with stock Android 7.0 (never rooted this device before - but I used V4A back in 2015, in a s.g. 4 mini), TWRP, Elemental X, supersu and busybox, if that matters... It was supposed to be enforcing, but I also got SELinuxModeChanger. I tried installing V4A on both system/apps & system/priv-apps. Oh, and I'm listening through headset.
I tried several combinations to try to "trick" the app, tried install drivers > deleted them, tried not to install, tried not to install > use on compatible mode/normal, tried install > renamed the .so provided here ones as the original isc... tried all again restarting my phone between steps, tried all the mentioned them then reflash supolicy, tried all and killing the selinux on dev-mode before playing songs, tried the Build.prop Tweaks... nothing worked, every time I open V4A, it asks to install the drivers. And it does work afterwards, but only on Compatible, and with Spotify, and not the local files, neither Youtube etc.
I was taking a look on the apk with ES exp, I know **** about android, but there seems to be 4 .so files inside... would there be any way to reference all the 4 on audio.conf?
Oh, I shoul mention I also tried all that I mentioned above, but replacing the files with the 4 ones I extracted from the apk between steps etc - it didn't ask for install drivers when I started it! But again, only worked on Compatible, etc...
I did some research - and got nothing -, saw some people mentioning to freeze Sound Alive, or even delete it. As I mentioned, the stock eq I got is Audio Effects, but I also saw sometimes soundalive on audios.conf... but again, I know **** about Android :/
Tks to be trying to help!
mateusonego said:
Thank you very much for replying mate!! :angel: And sorry for misinforming.
I have a Moto G4 Plus (XT1360) with stock Android 7.0 (never rooted this device before - but I used V4A back in 2015, in a s.g. 4 mini), TWRP, Elemental X, supersu and busybox, if that matters... It was supposed to be enforcing, but I also got SELinuxModeChanger. I tried installing V4A on both system/apps & system/priv-apps. Oh, and I'm listening through headset.
I tried several combinations to try to "trick" the app, tried install drivers > deleted them, tried not to install, tried not to install > use on compatible mode/normal, tried install > renamed the .so provided here ones as the original isc... tried all again restarting my phone between steps, tried all the mentioned them then reflash supolicy, tried all and killing the selinux on dev-mode before playing songs, tried the Build.prop Tweaks... nothing worked, every time I open V4A, it asks to install the drivers. And it does work afterwards, but only on Compatible, and with Spotify, and not the local files, neither Youtube etc.
I was taking a look on the apk with ES exp, I know **** about android, but there seems to be 4 .so files inside... would there be any way to reference all the 4 on audio.conf?
Oh, I shoul mention I also tried all that I mentioned above, but replacing the files with the 4 ones I extracted from the apk between steps etc - it didn't ask for install drivers when I started it! But again, only worked on Compatible, etc...
I did some research - and got nothing -, saw some people mentioning to freeze Sound Alive, or even delete it. As I mentioned, the stock eq I got is Audio Effects, but I also saw sometimes soundalive on audios.conf... but again, I know **** about Android :/
Tks to be trying to help!
Click to expand...
Click to collapse
Do you have an etc folder in /system/vendor/ ? Some roms have another audio_effects.conf in that location or maybe it's in another location. I have to be honest I'm not familiar with many other kinds of phones besides samsung.
The instructions I'm using are the ones taken from the viper4android thread itself and works with at least this phone with no other steps necessary. Maybe you can find some hints in that thread but I'm thinking that the conf file is either in another location or its different from samsung's version so it's not being found.
The other lib files inside the app aren't necessary. They are just there for different android versions. One set is for ICS and below and the other is for JB and above. The app installs the ICS drivers by default which is why I like using this method instead.
If you want, upload your original audio_effects.conf file. I'll try and modify it for you and see if we can figure out why the drivers aren't being found.
kevintm78 said:
Do you have an etc folder in /system/vendor/ ? Some roms have another audio_effects.conf in that location or maybe it's in another location. I have to be honest I'm not familiar with many other kinds of phones besides samsung.
The instructions I'm using are the ones taken from the viper4android thread itself and works with at least this phone with no other steps necessary. Maybe you can find some hints in that thread but I'm thinking that the conf file is either in another location or its different from samsung's version so it's not being found.
The other lib files inside the app aren't necessary. They are just there for different android versions. One set is for ICS and below and the other is for JB and above. The app installs the ICS drivers by default which is why I like using this method instead.
If you want, upload your original audio_effects.conf file. I'll try and modify it for you and see if we can figure out why the drivers aren't being found.
Click to expand...
Click to collapse
Wow, that was right on spot! I had another audio_effects conf on vendor/etc. So, I replaced it with yours.
I removed the excessive .so I put on the lib/soundfx, and let only the jb and, later, the ics file.
Now, Viper asks me to install the drivers even after I've already let it install and rebooted :/ and for some reason, it doesn't work both on normal nor compatible mode (ok, as expected, since it's asking to install etc). I checked to see if it had rewrite anything on audio_effects.conf, but it didn't in neither of the files, on system/etc nor vendor/etc. They were still pointing the libraries to the jb files, and v4a did install the ics files on system/lib/soundfx, either way...
It gets weirder and weirder.
UPDATE: I got V4A to work once I commented the jb drivers lines, and re-included the ics path reference on audio_effects.conf at vendor/etc. It's not asking me to install the drivers again, anymore, but it's still not working with local synced files... I tried leaving it pointing to 2 paths, and tried including v4a_neon or something like that, so I could reference the 2 most important drivers, but it only works with v4a_fx pointing only to the ics file, and everything else is ignored.
UPDATE 2: I opened the backup I've mentioned below, and unfortunately I'm pretty sure I haven't done the backup and it is actually your file before I do any mod.
I'm sending you what I THINK is my backup but it might be just a backup of yours before I changed some stuff just to test (I replaced my modified files by copying the original one I had on downloads after testing, I got back to yours version on both /etc), sorry. (don't think so, though)
@kevintm78 hey OP, you there?
kevintm78 said:
Viper4android: How to install it properly
This is something I've been meaning to write up for a long time now. All over XDA I see people have trouble with getting Viper4android working and I thought this might shed some light on the issue.
There are many zips out there that will install viper but most of them have other sound mods rolled into it and I prefer viper only. I find that most of the others often distort the sound a little, but with Viper4android only, the sound is just perfect for my tastes.
What you need:
- A root file explorer (RootExplorer, EsFileExplorer, etc.)
- Root (obviously)- Either Magisk or SuperSU
- If using Magisk you'll need a Permissive kernel. My kernel works with certain models and is permissive.
- If using SuperSU you can use enforcing, but will need an extra file that I'll cover later on.
- Some good music to listen to.
This method is really not much of revelation since it's actually on the Viper4android thread itself, but almost everyone tries to let the install the drivers automatically. Do not let the app install the drivers for you. It will install the old driver and it doesn't include the Neon driver.
First things first. We need to do a little cleanup just in case there are already some viper files or drivers partially installed.
Viper4android has three places in which it installs:
/system/lib/soundfx/
/system/etc/audio_effects.conf
/system/app/Viper4android.apk
View attachment 4308261
View attachment 4308262
View attachment 4308263
View attachment 4308264
View attachment 4308265
Using your root explorer go to /system/lib/soundfx/ and look for any old V4A files and delete them. It should look like this, libv4a_fx_ics_X86.so. Also check in your system/app/ and check to see if you have the old viper app and if so delete that too (the newest version is 2.5.0.5). Note: if you already have the app installed you can go to the settings menu and select uninstall drivers and it should remove everything for you. Then just double check to make sure. Then uninstall the app unless it's the newest version and placed in /system/app/.
Once we have everything cleaned up it's just a matter of placing the right files in the right spot. I've attached a zip that has everything you will need in it. It is not a flashable zip. Just unzip it to get to the necessary files.
1. Place the Viper4android app in /system/app (no extra folder necessary) and change the permission to 0644 or rw-r-r
2. Place the .so files in /system/lib/soundfx/ and change permission to 0644 or rw-r-r
3. If you don't have any other sound mods installed you can swap out my audio_effects.conf file for yours and set permission to 0644 or rw-r-r, but if you do that back up your original file just in case (just rename the original to audio_effects.bak). If you do have other sound mods installed you'll want to add the following red lines to you existing audio_effects.conf file.
Code:
# List of effect libraries to load. Each library element must contain a "path" element
# giving the full path of the library .so file.
# libraries {
# <lib name> {
# path <lib path>
# }
# }
libraries {
[COLOR="red"]v4a_fx {
path /system/lib/soundfx/libv4a_fx_jb_NEON.so
}
#NECESSARY FOR XHIFI
v4a_xhifi {
path /system/lib/soundfx/libv4a_fx_jb_X86.so
}[/COLOR]
# This is a proxy library that will be an abstraction for
# the HW and SW effects
proxy {
path /system/lib/soundfx/libeffectproxy.so
}
# This is the HW implementation library for the effect
offload {
path /system/lib/soundfx/libaudioeffectoffload.so
And...
Code:
# }
# ...
# }
effects {
[COLOR="red"]v4a_standard_fx {
library v4a_fx
uuid 41d3c987-e6cf-11e3-a88a-11aba5d5c51b
}
#NECESSARY FOR XHIFI
v4a_standard_xhifi {
library v4a_xhifi
uuid d92c3a90-3e26-11e2-a25f-0800200c9a66
}
}[/COLOR]
soundalive {
library proxy
uuid 05227ea0-50bb-11e3-ac69-0002a5d5c51b
libsw {
Placement is everything with this. If there's an extra space or missing a space you'll will get the "drivers are not installed" error when opening the viper app. It took me several tries in the beginning to get the audio_effects.conf part of this right, but it will work when everything is correct.
4. This step is dependent on your setup. If you are using a permissive kernel this is not necessary. If you're using SuperSU with an enforcing kernel you'll need to flash the ViPER4Android-supolicy.zip that is included in the attached zip file.
Original instructions are here, but nobody seems to see them including myself for the longest time.
Now if everything is in place properly you should get this:
View attachment 4308290
It should work with any music player (I mostly use Spotify), YouTube, video players, etc.
Enjoy.
Credits:
@viper520 -for creating Viper4android
@zhuhang - for co-founding and continuing to maintain Viper4android
If anyone knows the identity of who created the ViPER4Android-supolicy.zip let me know. I would love to be able to give proper credits on that as well.
Click to expand...
Click to collapse
This worked for me.
You did not mention where to insert the audio_effects.contf file ... this file should be placed in the /vendor/etc
also you did not state that we would have to install the app after placing it in the /system/app.
Thanks once again
I will add all possibly fixes that are added to switch. This is only a compilation of the contributions that we have found in the official forum of switch root.
UPDATE:08/06 TEMPLATE TO DOLPHIN. THX @SvenDaHacker64 This dolphin has more options than the original, and run at 30 FPS DBZ BT3 (1080p)
08/05 Added Joycon controls for kodI & USB INFO TO ACTIVATE ETHERNET..
APKS:
dock:
Launcher:
--
Hal launcher:
HALuncher
ATV Launcher:
ATV Launcher Free
--
Keyboard(Works with joycons):
LeanKey Keyboard
--
Joycons:
Joycon enable
--
Ethernet:
USB DEVICE INFO TO ACTIVATE USB ETHERNET AND
Ethernet! by @USBhost
---
Additional features:
THIS APP to get rid of the BLACK BORDERS in fullscreen mode
--
FPS COUNTER
--
I WANT PLAY FORTNITE:use GLTools to spoof an Adreno 630, and enable Magisk Hide for the game.
--
Screenshots(or maybe use an Xposed module to enable them even when they're "not allowed")
--
Screen rotation OR Screen Rotation
--
NVIDIA GameStream without the lag: Moonlight Game stream ONLY NVIDIA CARDS.
--
Without NVIDIA CARDS:Steam Link
--
FILES FLASHEABLE
I HAVE SOLVED THE PROBLEM OF THE REVERSED CONTROLS BUT WE CONTINUE TO HAVE L and R flat:
JOYCON FIX FOR GTA WITH STYLE SWITCH
{
"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"
}
Joycon Fix Flasheable:
Joycon Fix Flasheable(L3 and R3) by Switchroot official site
Joycon Fix GTA:
--
Fix GTA With Invert Controls STYLE XBOX/PS4
--
Bluetooth Auto connect (Lag and autoconnect)
--
Magisk-Root:
Magisk v19.3
--
Uninstaller:Uninstaller Magisk
--
XPosed framework with Gravitybox [O] (Recomend for Reboot without hekate)I HAVE GRAVITY BOX AND XPOSED AND I HAVE NOT HAD A BOOTLOOP BUT VARIOUS USERS HAVE REPORTED THAT THEY HAVE HAD BOOTLOOP, MAYBE IT HAD BEEN THE INSTALLATION ANOTHER APK IN BAD CONDITION. I DO NOT RECOMMEND INSTALLING IT AT YOUR RESPONSIBILITY.
Many have been able to boot straight into twrp from android by enabling developer options and enabling advanced reboot (tapping and holding power button > reboot > recovery).
https://ibb.co/dtTM7y7
Systemless Xposed
Gravitybox [O]
Also, make sure to mount /system in TWRP before flashing OpenGApps, the joycon fix (the GTA one should work for other games, such as TR2), or other zips.
--
FOR KODI:
JOYCON CONTROLLER IN KODI
No root
-
Directory:Android/data/org.xmbc.kodi/files/.kodi/userdata/addon_data/
drag and drop "peripheral.joystick"
The folder is hidden, use ES file manager, or any other of this option I use that one.
Joycon controller for kodi v2
-Fix Directional PAD.
-
Root:
Screen Shift
-
Dolphin:
Dolphin original:https://play.google.com/store/apps/details?id=org.dolphinemu.dolphinemu&hl=es
https://es.dolphin-emu.org/download/
Dolphin weihuoya: https://github.com/weihuoya/dolphin/releases <- I use this
Template
Save as <GameID>.ini and copy to /storage/emulated/0/dolphin-mmj/GameSettings
Example: New Super Mario Bros. Wii, it'll be SMNP01.ini , GMSP01.ini for Super Mario Sunshine.
Tips:
Lockcreen for dock:
Settings > Security & Privacy > Screen lock > None
To remove the Navigation Bar:
https://play.google.com/store/apps/d...on.bar.remover
To add the Navigation Buttons to Quick Settings:
https://play.google.com/store/apps/d...id.shortcutter
Mount FAT32
Mount FAT32
Credits:
@rovo89
@Tungstwenty
@topjohnwu
@langer hans
@bylaws
@AnkitChowdhury
@Gavin_Darkglider
@nastys
I use this app to get rid of the black borders in fullscreen mode: https://play.google.com/store/apps/details?id=com.conena.navigation.bar.remover
FPS counter: https://labs.xda-developers.com/store/app/com.n0n3m4.gltools
Fortnite: use GLTools to spoof an Adreno 630, and enable Magisk Hide for the game.
Screenshots: https://play.google.com/store/apps/details?id=com.symcoding.app.screenshots (or maybe use an Xposed module to enable them even when they're "not allowed")
Screen rotation: https://play.google.com/store/apps/details?id=org.crape.rotationcontrol
NVIDIA GameStream without the lag: https://play.google.com/store/apps/details?id=com.limelight
(non-NVIDIA or non-Windows users can use SteamLink: https://play.google.com/store/apps/details?id=com.valvesoftware.steamlink)
Also, make sure to mount /system in TWRP before flashing OpenGApps, the joycon fix (the GTA one should work for other games, such as TR2), or other zips.
nastys said:
I use this app to get rid of the black borders in fullscreen mode: https://play.google.com/store/apps/details?id=com.conena.navigation.bar.remover
FPS counter: https://labs.xda-developers.com/store/app/com.n0n3m4.gltools
Fortnite: use GLTools to spoof an Adreno 630, and enable Magisk Hide for the game.
Screenshots: https://play.google.com/store/apps/details?id=com.symcoding.app.screenshots (or maybe use an Xposed module to enable them even when they're "not allowed")
Screen rotation: https://play.google.com/store/apps/details?id=org.crape.rotationcontrol
NVIDIA GameStream without the lag: https://play.google.com/store/apps/details?id=com.limelight
(non-NVIDIA or non-Windows users can use SteamLink: https://play.google.com/store/apps/details?id=com.valvesoftware.steamlink)
Also, make sure to mount /system in TWRP before flashing OpenGApps, the joycon fix (the GTA one should work for other games, such as TR2), or other zips.
Click to expand...
Click to collapse
Thanks nastys, I added this.
I can't figure out how to get Fortnite working. I did magisk hide on the installer and used GLTools to spoof an Adreno 630 GPU but still says "device not supported".
Shadowehh said:
I can't figure out how to get Fortnite working. I did magisk hide on the installer and used GLTools to spoof an Adreno 630 GPU but still says "device not supported".
Click to expand...
Click to collapse
Activate the first option, and try again.
Chiveta said:
XPosed framework with Gravitybox [O] (Recomend for Reboot without hekate)
Click to expand...
Click to collapse
Gravitybox is NOT supported on custom roms like LineageOS. It has caused bootloops for many people who didn't read the dev's following warning. From the link you provided:
"- SHOULD NOT be used with custom ROMs like Lineage, AOSPA, or any other derivative - it makes no sense since the most of the features are already in the ROM (may cause conflicts and unexpected behavior)"
Many have been able to boot straight into twrp from android by enabling developer options and enabling advanced reboot (tapping and holding power button > reboot > recovery). Also, the system UI tuner built I to Lineage already provides many of these features; you just have to explore the settings app a bit.
Thanks for this well organized post though. The main thread has many good tips and it's nice having someone consolidate them in one thread.
I haven't installed any Joycons fixes yet. Do i install all of them or is there certain ones that i need?
For Kodi ive found a better solution first Root your Android lineage
https://download.lineageos.org/extras
Download super su arm64 for lineage 15.1
Install Zip via twrp
Go to développer mode activate Root for application
Install this app screenshift https://www.google.com/url?sa=t&sou...BMAB6BAgMEAM&usg=AOvVaw3CNZyMo4Q2G1SZUUN2iUGm
And create a profil 1280 720 activate and go in Kodi everything work perfecto
You Can create a profil 1920 1080 to go back normal
Btw Quick question can't find this path : Directory:Android/data/org.xmbc.kodi/.kodi/userdata/addon_data/
drag and drop "peripheral.joystick"
Some help ?
Count_NOOBula said:
Gravitybox is NOT supported on custom roms like LineageOS. It has caused bootloops for many people who didn't read the dev's following warning. From the link you provided:
"- SHOULD NOT be used with custom ROMs like Lineage, AOSPA, or any other derivative - it makes no sense since the most of the features are already in the ROM (may cause conflicts and unexpected behavior)"
Many have been able to boot straight into twrp from android by enabling developer options and enabling advanced reboot (tapping and holding power button > reboot > recovery). Also, the system UI tuner built I to Lineage already provides many of these features; you just have to explore the settings app a bit.
Thanks for this well organized post though. The main thread has many good tips and it's nice having someone consolidate them in one thread.
Click to expand...
Click to collapse
Sorry to hear all this. but it worked for me and I've never had a bootloop problem. I have the photos here.
jaycounet said:
Btw Quick question can't find this path : Directory:Android/data/org.xmbc.kodi/.kodi/userdata/addon_data/
drag and drop "peripheral.joystick"
Some help ?
Click to expand...
Click to collapse
The folder is hidden, use ES file manager, or any other that gives you this option I use that one.
Oh! Thanks for photo evidence. It looks as if the latest version does support Lineage. I personally experienced a bootloop on gravity box for android 7 and kicked myself for not making a twrp backup. I only found out it wasn't supported on custom ROMs like lineage when I read the dev's description listed in the link you provided.
Out of curiosity, what gravity box tweaks do you use that aren't built into lineage?
Count_NOOBula said:
Oh! Thanks for photo evidence. It looks as if the latest version does support Lineage. I personally experienced a bootloop on gravity box for android 7 and kicked myself for not making a twrp backup. I only found out it wasn't supported on custom ROMs like lineage when I read the dev's description listed in the link you provided.
Out of curiosity, what gravity box tweaks do you use that aren't built into lineage?
Click to expand...
Click to collapse
Gravitybox [O] 8.5.4, Because we are in oreo, surely that's why you had bootloop when installing the Gravitybox, even the Xposed is important to know the SDK(Android version) that has our firmware and always check everything. install the Systemless Xposed
Phillyrider807 said:
I haven't installed any Joycons fixes yet. Do i install all of them or is there certain ones that i need?
Click to expand...
Click to collapse
I'm sorry for the delay, you should install the one you like the Switch Style or XO / PS4 Style. The realease official only fixes the L3 and R3, the Analog didn't work for me.
Chiveta said:
Activate the first option, and try again.
Click to expand...
Click to collapse
I have already done that. I instead did the manual installation via TWRP which fixed the issue. The last question I have is that do I have to do the same thing with the actual Fortnite game as well?
PingSpoofer said:
I have already done that. I instead did the manual installation via TWRP which fixed the issue. The last question I have is that do I have to do the same thing with the actual Fortnite game as well?
Click to expand...
Click to collapse
In theory you should read your joycon, verify that the triggers work for you, if not, you should flash another zip, Style switch or XO / PS4. and in case the controller does not work, it uses octopus.
Any fix for Zr and Zl as RT and LT they dont work for me on GeForce now
@Chiveta The link to Screen Shift app doesn't work..at least not for me.
Googling it I happened to find the app to change resolution and so on...
Now I'm excited, maybe I can fix my screen with it. I have a sony 4k 120 hz tv and no matter how often I dock and undock the switch I get a "scrambled up" output on tv...though tv says it gets 1080p..
Great thread. It would be nice if the op was compressed in hide tags to make it easier to go through though.
Also I know I came here looking for useful stuff for android-switch, and I figure I post this here buried from the main thread:
Count_NOOBula said:
12 Helpful Tips
.. for Switch users new to Android.
1. Place a battery percentage indicatior in the status bar so you can see the number increase in real time while charging. This is a temporary workaround; the current build doesn't indicate whether the system is charging while charging it.
Head to Settings > Battery > switch on Battery Percentage. I often play while charging, so it's helpful seeing this number go up simply by glancing at the status bar.
2. Use TWRP to create a backup image file of the entire android OS, so you can easily restore to it if an app, magsik or xposd module causes any issues, especially issues that cause bootloops. I also recommend using TWRP's built in file manager to move files back and forth between the 2GB fat32 partition and android's own storage system << this is helpful if you find FTP-ing a bit painful in certain circumstances.
Head to TWRP and tap Backup > Slide to initiate backup. (Tap the words "autogenerate" to rename your backup prior to initiating the backup. Note: none of the files accessible via the file manager will be deleted or backed up. Just the OS itself, instslled apps along with their data and settings (e.g your notes in a notes app). To access the file manager, tap Advanced on TWRPs home screen (you can move, copy and rename files and even delete magisk module folders if a particular magisk module is causing bootloops)
You can move this TWRP backup to a PC and even to another switch and restore it to move all your stuff to a second switch. TWRP backup images are stored on the non fat32 partion (fat32 partition is the 2GB partition that shows up on your PC when plug in this LineageOS SD card). To move this backup to the PC, install any free ftp or WiFi file transfer app and navigate it to /sdcard/TWRP/backups.
3. (optional but tricky) Uninstall System Bloatware
...RAM and other resources are precious. As amazing as this build is, the devs have left in some useless apps aren't needed on the Switch like Microsoft email exchanger, phone , call management and default SMS app, contacts app, LineageOS Updater (useless on unofficial builds), call log etc. I used Titanium Backup to uninstall these system apps. The process is tricky cuz system apps are notoriously difficult to remove unless you use apps like these. Also, uninstalling the wrong system app can bootloop your system so don't do this if you don't know what you're doing. MAKE A TWRP BACKUP BEFORE "DEBLOATING". I've saved over hundreds of MBs of ram and improved battery life by uninstalling bloatware that wastes CPU cycles.. Bloatware reduces performance in apps like dolphin, nom gaming apps and even sucks battery while the screen is off, esp annoying since this build doesn't CURRENTLY support deep sleep). A novice user should ONLY uninstall common sense apps (call log backup and restore, exchange, updater etc). And ALWAYS backup your ROM using TWRP beforehand to recover from bootloops secondary to accidental deletions.
4. Backup your apps AND data
..all thanks to Titanium Backup
..you can also restore app data from a TWRP backup using this app, give you two excellent backup options.
5. Enjoy system wide dark mode and other themes
..all thanks to Substratum
...if you've installed Xposd, download "Force Darkmode Oreo" < download via Xposd or the website.
..you can download tons of free and paid themes for Substrstum, including true black and gray themes, and give your eyes a break. System wide dark mode is coming in Android 10 but just because we're all on 8.1, doesn't mean we need to blind our eyes playing at night.
6. Use AdAway to block ads at the host level. Import more lists from the EasyList site. Tap and hold on the txt link then paste them in the app's sources.
7. Use AFwall+ or other firewalls, to allow only select apps access to the internet
8. Use Nova Launcher and download icon packs. The built in app launcher (called Trebuchet) has no customkzariom features but still uses over 160MB of RAM in this build. RAM is key for many demanding apps (eg depth of field/field of view in android games like PUBG, and even in Dolphin games) so every MB helps. Plus a new lanucher like Nova gives you tons of options to customize things to your liking. After installing a launcher and setting it as default, you can uninstall Trebuchet using a bloatware uninstaller like Titanium Backup.
9. Use AppOps (free or pro) to protect your privacy through fine grained permission control (or use the much more limited but still useful Privacy Guard << built into Lineage, simply search for it in settings). This feature is built into android but because unlike Apple, Google makes money through tracking, they've deliberately buried it by giving it no UI a user can easily control. This app provides that UI and simple switches to block clipboard access, prevent apps from waking up or running in the background, preventing unauthorized apps access to the SD card etc. Google officially gives users only like 20% of the privacy variable switches you can toggle off in this app. HIGHLY recommended.
10. Install XPOSD and an xposd module called Prevent Running, to prevent all your installed apps from randomly waking up in the background and wasting valuable RAM and other resources. (Note: may affect notifications so don't use it on messaging apps etc)
11. See which apps are sucking up your ram by using the built in RUNNING SERVICES setting. Head to Settings > System > About Tablet. Then scroll down & tap on the "build number" SEVEN times until developer options are enabled. Then head to Settings > System > Developer Options > Running Services.
12.Boost android launch time by preventing apps from automatically launching at startup. Once you've enabled Developer Options, head to Settings > System > Developer Options > Memory> scroll down and tap "Apps started on boot". Now you'll see a list of apps that have been configured to start up as soon as Android boots.
Alternatively, you can search in Settings for Privacy Guard > tap the three dots in the top right > then Advanced > now swipe all the way to the right til you see "run in background" and "bootup". You can now slide off each app you don't need as soon as the system boots. You can also prevent apps from running the background. You'll see a huge boost in boot times esp if you have tons of apps installed.
Bonus Tip: Upgrade the web rendering engine "Webview". This build has version 72.xxxx while the latest version from google as of July 29th is v. 76.xxx. Since most apps including the browser use Webview, upgrading will pay off. Not only does it boost browsing speed, but it's also essential to be keep our Switch STADIA -Ready, cuz Stadia will rely on the latest webview APIs found in Chrome. I don't use chrome, so this is helpful for people like me. This may be a noob opinion, but i think Stadia will likely rely on the latest Webview APIs, not necessarily the Chrome app. Even if you don't care about Stadia, upgrading webview will boost the internal web browsers of all your apps.
Install the latest Webview apk from the playstore/apkmirror (arm64 variant) > enable developer options > in develop options, you'll find an option to select Webview versions > switch from v72 to v76. Run browsing benchmarks and enjoy the boost! You can uninstall the older v72 webview using Titanium Backup.
..................................
I'd appreciate it if someone started a thread listing tips and recommended apps/tweaks that could really help switch users. For now, enjoy these tweaks from one noob to another.
Thanks to everyone who posted on this thread to help me and esp to the Switchroot team for their wizardry.
Click to expand...
Click to collapse
If I ever get my switch set up, I may start a thread for tips and such for using android on switch.
how do you use joycon enable? even if it works, the button layout is messed up after that.
You would need the prerequisite of knowing how to walk before...
》Install & uses Odin. Includes install bootloader's driver for fastboot or driver for your tab A7 Lite.
》Setting up fastboot , adb etc., from Google Developer by " platform-tools"
》CustomAP creation and make magisk' s patch process.
✓knowing Dynamic Partition is
》Knowing "fastbootD" fastboot for user's space is.?
✓ Howto 》 patch-recovery for fastbootD.
☆☆☆ Note : This is the way. I used for introduce my lesson.
Not for lazy user to reading things.
{
"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"
}
Download: here
Example File for use throughout this tutorial.
1.=》lineage-20.0-20230324-UNOFFICIAL-arm64_bvN.img.xz is Read Only GSI and No GAPPS , No PHH-SU pre-installed.
For Daily driver.
2.=》lineage-20.0-20230324-UNOFFICIAL-arm64_bgN.img.xz is GSI with GAPPS but Read only System.
☆☆ No installation tutorial here.
☆☆☆ Don't set any PHH Treble Settings 's Menu For Fixing Bluetooth and Sound.
☆☆ No used Magisk ROOT , only "Rooted debugging", then you will need a Computer with has installed " platform tools" before.
☆☆☆ XDA from Dev. ( Andy Yan )
BEGIN
☆ Trick & Tips No.1* Fix bug " Gesture navigation " too long loading and hang.
1. set Developer option --> Smallest width = 598 dp
2. Disable Navigation hint.
2.1 System>Buttons>Disable taskbar.
2.2 Gestures>System navigation
Select menu Gesture navigation>Disable Navigation hint.
2.3 Back to Buttons menu > Re-enable taskbar back
No Nav Hint Bar
☆☆☆ Recommend:
Case 2: Get 2 pane of Setting app. ( tablet UI ) and Tablet Taskbar.
- if you set Smallest width = 627 dp + Disable Navigation hint Bar.
》》You will get new tablet UI Features.
(New Setting menu views + New Samsung Taskbar like.)
Bug: Not show "Navigation hint Bar Menu"
1.type "taskbar" in setting serach box.
2.Disable taskbar
3.Back to System navigation : you will saw three menu of choices.
4.Select Gesture navagation menu you will saw Navagation hint menu show-up
How to Fix it.
☆ Trick & Tips No.2Changes "RO to RW Script" or Uses "vndklite variant"
=》 which the way is the best for you ?
》》 vndklite had normal status to "Read only System Partition" .Before we uses it to write status by
Code:
adb root
adb shell
mount -o rw, remount /system
Then modify or edit any in /system sub-partition.
And How about free spaces ?
=》You must finds unused files to delete for claim free spaces yourself.
=》Howto Changes "RO to RW Script" method.
Example File for SM-T225 (T225XXU1CWA2)
(Patch-Super.img.tar)》》i can't show the way to Changes "RO to RW Script" cause its againt XDA' rules.
》》and I don't used Firmware higher than this because it can not downgrade any more. I don't want to stick with Android 13 forever.
But you can do this....
1- Flash Stock Firmware For "T225XXU1CWA2" included with fastbootD.
2- Use set of fastbootD command flash GSI ( lineage-20.0-20230324-UNOFFICIAL-arm64_bvN.img ) over Stock ROM above.
3- I had used "RO to RW Script" make " New Super.img" changed RO of GSI-lineage-20.0-20230324-UNOFFICIAL-arm64_bvN to RW and plus 300 MB free spaces to this system sub-partition.
4-Download "super.tar" from here. (4.22 GB)
(Don't try to use fastbootD command flash "super.tar" such as )
Code:
X fastboot flash super super.img
5- Open Odin together with connect Download Mode 's your device.
6- Flash "super.tar' at AP Slot.
♡♡♡ After flashing Patch-super.img.tar
=》You will get new RW super partition +
=》Screen Auto Brightness + splite pane lanscape notification.
=》Free spaces 300MB , (we can use it to install GAPPS or microG in next lesson.)
=》/system rw
=》/vendor rw
Download: Attach Below
3in1.tar (for T225XXU1CWA2)
Odin3 v3.14.1_3B_PatcheD
☆ Trick & Tips No.3Why Rooted debugging ? and Howto.
NOTE: If you ask me every Android power user should have the full rights to unlock ADB ROOT on their device if they choose to do so. It should be included in the 'Developer Options' by default. Like Andy yan do it for you here. "Great Feature."
Environment: without Root / Magisk.
Code:
adb root
adb shell
id
Enable it at Developer options and call it with "adb root" at CMD. You are good to go.
☆ Trick & Tips No.4Fix Screen Auto Brightness. (No lost Battery individual app usages.)
=》No explain here! please use Tricks & Tips No.2
》=》Don't do this " Go to Settings - Phh - Misc Features - Tick the box for "Use Linear Brightness Slider" Not Works.
☆☆☆ Splite 2 pane. ( Landscape Notification )
Run this command after flashing new super.tar with odin.
Code:
adb root
adb shell
cmd overlay enable com.android.systemui.SplitShade
》Before end in this lesson , You should do next with " Try to use microG ".
》No "Cast or Chromecast to TV or Computer" exits without GAPPs then uses nightly VCL to mirror your tab A7 Lite to TV instead. See "Use FOSS" in my Trips & Tricks No.6
Trick & Tips No.5 (Reserve 1)
Add New Neo Launcher to LOS TD with Gapps.
Github: Neo-Launcher
Trick & Tips No.6 (Reserve 2)
☆☆☆ How to microG with LOS-TD vbN variant." Quick way.☆☆☆Pre-install.
** You must add free spaces to System sub-partition. how to 》》 please see Trick & Tips No.2
☆☆☆ Howto pass SafetyNet Checked.
1. Enable "PHH Treble Settings 》Misc Features 》Spoof system properties"
2. Flash magisk module. "SpoofGenericGoogleDevice.zip"
( you can't run any app to check your safetynet status cause you don't have GMS except test through microG ' Selftest.)
Option ( if you must completely uninstall Magisk )
Create custom profile for your device. Resource here.
1. Install BusyBox to execute script. Install it overwritten your "platform-tools" on your PC.
2. Download "profile-generator.sh" script. And put inside" platform-tools" folder.
3. Make you tab A7 lite pass Safetynet check from above step.
4. Connect your tab A7 Lite with PC via USB cable.
5. RUN Scrip uses this command.
Code:
sh ./profile-generator.sh > SM-T225.xml
microG installation.Copy installation-file.zip to "/sdcard/Download"
Code:
adb root
adb shell push microg-unofficial-installer-v1.3.0.1-alpha-by-ale5000-signed.zip /sdcard/Download
cd /sdcard/Download
unzip ./microg-unofficial-installer-v1.3.0.1-alpha-by-ale5000-signed.zip zip-install.sh
sh ./zip-install.sh ./microg-unofficial-installer-v1.3.0.1-alpha-by-ale5000-signed.zip
Example 》》User Apps "FOSS"
Trick & Tips No.7 (Reserve 3)
Trick & Tips No.8
yow the gsi you send is working fine except for the audio volume I can't adjust it is set on max always
do you have any fix for that?
xyrn23 said:
yow the gsi you send is working fine except for the audio volume I can't adjust it is set on max always
do you have any fix for that?
Click to expand...
Click to collapse
Do you set any menu of PHh Treble setting ?
tom.android said:
Do you set any menu of PHh Treble setting ?
Click to expand...
Click to collapse
at first yeah then I disable all of them again
xyrn23 said:
at first yeah then I disable all of them again
Click to expand...
Click to collapse
Enable only double tap 2 wake at "Samsung features " my tutorial said.
tom.android said:
Enable only double tap 2 wake at "Samsung features " my tutorial said.
View attachment 5882365
Click to expand...
Click to collapse
then reboot?and my volume will fix?
FOR GOOGLE USER. Firmware: SM-T225 (T225XXU1CWA2) @xyrn23
☆☆ Add new " lineage-20.0-20230324-UNOFFICIAL-arm64_bgN.img "
GSI A13 with GAPPS .
BUG Menu Fix
》 3 button Navigation > Buttons > disable Taskbar.
》Gestures. > System navigation (Will saw 3 menus) > Select Guesture Navigation > Disable Gesture hint bar.
》Re-enable Taskbar back.
☆☆ Download :
》new super.img with ( RW system ) + ADD Free spaces 300 MB + Auto Screen Brightness.
4.74 GB file on MEGA
mega.nz
☆☆ New configuration for Tablet.
☆☆ New "adb root" ( Double ROOT)
☆☆ New configuration for pass safetynet.
** Not founded Bug ( Long Loading & Freeze Navigation Menu.)
If you had internet-network problems ,run this..
Code:
adb root
adb shell settings put global restricted_networking_mode 0
No conflict with screen auto brightness.
tom.android said:
FOR GOOGLE USER. Firmware: SM-T225 (T225XXU1CWA2)
☆☆ Add new " lineage-20.0-20230324-UNOFFICIAL-arm64_bgN.img "
GSI A13 with GAPPS .
☆☆ Uploading : new super.img with ( RW system ) + ADD Free spaces 300 MB + Auto Screen Brightness.
4.74 GB file on MEGA
mega.nz
☆☆ New configuration for Tablet.
☆☆ New "adb root"
☆☆ New configuration for pass safetynet.
View attachment 5882843
View attachment 5882855
View attachment 5882863
View attachment 5882865
Click to expand...
Click to collapse
I'm with a SM-T220 so I install the lineage-20.0-20230324-UNOFFICIAL-arm64_bgN.img or the file in MEGA ?
fabioken said:
I'm with a SM-T220 so I install the lineage-20.0-20230324-UNOFFICIAL-arm64_bgN.img or the file in MEGA ?
Click to expand...
Click to collapse
No. you can not uses my mod "super.img.tar" its for SM-T225.
Anyone try new crdroid 9.3 based on LOS.?
Too old...LOS based>not supported exFAT.
I'm running 20230325 bgn vndklite. Everything is working pretty well but if I enable zygisk in magisk 25.2 i hang at the boot animation. Nothing else, no modules, no denylist items, just enable zygisk. Anyone else see this or know of a fix? Thanks!!
ktdt00 said:
I'm running 20230325 bgn vndklite. Everything is working pretty well but if I enable zygisk in magisk 25.2 i hang at the boot animation. Nothing else, no modules, no denylist items, just enable zygisk. Anyone else see this or know of a fix? Thanks!!
Click to expand...
Click to collapse
Try to Disable Developer options > Rooted debugging. (adb root )
Try to Disable Developer options > Rooted debugging. (adb root )
Click to expand...
Click to collapse
Great idea. Unfortunately it didn't work Thanks for the suggestion!