Viper4Android (SOFF WORKAROUND) - AT&T HTC One (M8)

I have successfully created my own bypass to get viper4android to work. Always create a full backup before attempting =)
1. Download viper4android APK
2. Download Root Explorer from the playstore
3. Install Both Apps
4. Launch Root Explorer
5. In root explorer go to /system/lib/soundfx and copy the folder to /data/ (make a soundfx folder)
6. Also copy /system/etc/audio_effects.conf to the /data/soundfx/ folder
7. Using root explorers menu you can create a shortcut (symbolic link) make a shortcut of the /data/soundfx/ folder and a shortcut of the /data/soundfx/audio_effects.conf
8. Boot into TWRP
9.Mount the system partition
10. Rename /system/lib/soundfx to /system/lib/soundfx2
11. Copy soundfx shortcut create earlier to /system/lib/ it will look like a "file" to TWRP
12.Rename the /system/etc/audio_effects.conf to /system/etc/audio_effects.conf1
13. Copy the audio_effects shortcut into /system/etc/ (be sure its name matches the old exactly)
15. Reboot
16. Launch Viper and install driver
I haven't dealt with LPA yet (hasn't had an issue) nor have I done any other modifications at this time which are avail on the viper4android thread.
I was just thinking about symbolic links to get around this S-OFF/ON issue and it appears they work and technically as a workaround we could symbolically link everything in system to another location and access it all. This could easily be put into ROM builds now at least as well!
Build.Prop may be useful to move out via sym link as well

I'll try this in a bit. Thanks
Sent from my HTC One_M8 using Tapatalk

Related

[Q] Start-up sound

Hello, i have an huawei u8180, on it installed cm7 v1.1 subpsyke
i want to know if is there any mettod to set up a start-up sound (ex like windows or ubuntu).
sorry for my bad english
use this not my i found on cm forum
This is what you do.
1. Download this shell script here http://dl.dropbox.com/u/10373328/bootsnd.sh
2. Place it on the root of your SD card & then open Terminal & type the followingsucd /sdcardsh bootsnd.sh
3. Now by using a file manager program with R/W (Read/Write) go to the /system/bin in your phone & make sure the file has transfered over! It should say BOOTSOUND & have permissions set to rwxrwxrwx! for this I use Root Explorer or you can use File Manager once you have selected R/W
4. Before transferring your sound file over rename it on your pc, android_audio and make sure it is a .mp3 file. Transfer the sound file from your pc to the root of your SDcard. Now move your sound file you want to play when the phone boots to /system/media of your phone & rename it android_audio you will have to be in R/W mode! Typically fifteen seconds is plenty long and just perfect, however anything over 30 seconds will get cut off.
5. Reboot & enjoy your new BOOTSOUND B)
If your having trouble getting sounds to play this should fix the problem.
Here is how to fix it. Make sure you are mounting in R/W mode on each of these steps.
To start go to
/system/etc/init.local.rc
and open it in the text editor. Delete everything from
###Bootsound - Safe to Delete: Start###
to
###Bootsound - Safe to Delete: Stop###
Delete any instances of IT
Using a app like root explorer, goto /system/bin and delete the file bootsound.Back out to /system now open build.prop in text editor mode, look for this text.
ro.config.play.bootsound=1
Delete it from the build.prop and save and exit.
This is optional but recommened. Reboot phone. Verify no sound is playing.
Now run the script again and reboot. You should have a boot sound again
working good) thx
p.s. how to decrease volume? (because it's dissorting)

[Q] Can't install SystemApp APK (Galaxy Ace - Miracle v4 ROM)

I've installed the CyanogenMod 7.2 RC1 by vo-1 MIRACLE Edition V4 ROM
but I'm unable to install any additional system apps (e.g. sms/mms, camera).
The thread says, I have to use CWM. But when using the CWM App to install any APK, after confirming, I only get, that the APK wasn't installed.
I also used a few apk installers and tried to install with a root filebrowser. Doesn't work either.
The allowing-non-market-apps option is enabled.
What do I have to do? Clearing any caches with CWM?
Found it!
TUTORIAL 5: Recover System Apps than have been removed from V3
-- Place your desired app or apps on your sd-card
-- Use Root Explorer and copy them
-- Go to system\app and press the Mount R/W button on right top
-- Paste the app or apps you have selected
-- Long press what have you just pasted and set permissions to rw-r--r-- for each app
-- Reboot phone
Click to expand...
Click to collapse
Simplified solution
darealfalex said:
I've installed the CyanogenMod 7.2 RC1 by vo-1 MIRACLE Edition V4 ROM
but I'm unable to install any additional system apps (e.g. sms/mms, camera).
The thread says, I have to use CWM. But when using the CWM App to install any APK, after confirming, I only get, that the APK wasn't installed.
I also used a few apk installers and tried to install with a root filebrowser. Doesn't work either.
The allowing-non-market-apps option is enabled.
What do I have to do? Clearing any caches with CWM?
Found it!
Click to expand...
Click to collapse
I would make it simple for u..
1) Simply flash the ROM as said in the thread from where u downloaded
2) Download those additional zip files he attached (system apps) at the bottom of his post
3) Download & install ES file explorer on ur phone (in its settings customize it to allow it to make changes to root directory and enable up-to-root directory etc. and grant it superuser access when it asks)
4) Now extract whatever system app u require from that zip file (say mms.apk) on ur SD card
5) Now go to /system/app and paste this file over there
I recommended u for ES file explorer so that u wont have to change any permission at all..just copy & paste
NOTE: First move the original file u will be replacing in /system/app to some other place to avoid any future problem
-----------------------------------
Hit THANKS if i helped
ZoDNet said:
I would make it simple for u..
1) Simply flash the ROM as said in the thread from where u downloaded
2) Download those additional zip files he attached (system apps) at the bottom of his post
3) Download & install ES file explorer on ur phone (in its settings customize it to allow it to make changes to root directory and enable up-to-root directory etc. and grant it superuser access when it asks)
4) Now extract whatever system app u require from that zip file (say mms.apk) on ur SD card
5) Now go to /system/app and paste this file over there
I recommended u for ES file explorer so that u wont have to change any permission at all..just copy & paste
NOTE: First move the original file u will be replacing in /system/app to some other place to avoid any future problem
-----------------------------------
Hit THANKS if i helped
Click to expand...
Click to collapse
solved thanks a ton

Amaze: Getting HQ-Camera and Gallery to Work Together in NonSense Roms

Hi All,
First off, I apologize if this has been covered in another thread. I've done a lot of searching for the answer to this and never found it.
I use CraigTut's Jellybean Fusion along with Faux's kernel as my daily driver, but I prefer the HQCamera and the HTC Gallery to the installed camera/Gallery combo (AOSP I think ???). But when I installed HQCamera, the rom retained the AOSP gallery and the camera and gallery didn't work well together, so for example I couldn't open the gallery by tapping the gallery icon in the camera screen. Finally, I prefered the sense gallery as it is two columns in width.
To solve this I found the following workaround. Sorry it's newbish but I don't know how to mod the flashable zip file yet and didn't need to for this exercise. Likewise, if there is another easier way, please feel free to post it.
1) (This step is to get the files are in the attachment HtcAlbumAPKs.zip) I already had the Stocked Amaze Deodexed rom on my computer and I extracted all files to a new folder. Most (if not all) other stock roms will work.
2) (The following files are in the attachment HtcAlbumAPKs.zip) Navigate to \system\app in the Stocked Amaze Deodexed rom and copied two files out of it a) HtcAlbumMapView.apk and b) HTCAlbumTMO.apk.
3) Extract HtcAlbumMapView.apk and HTCAlbumTMO.apk from the attached zip, HtcAlbumAPKs.zip, and place in your sdcard
4) Place HQ-Camera in the same place.
5) Using root explorer navigate to \system\app and delete the camera and gallery apks.
6) Using root explorer go to your sd card and copy HtcAlbumMapView.apk and HTCAlbumTMO.apk (menu, multi-select, tap two file names, copy)
7) Navigate to \system\app and paste the two files
8) Change permissions for each of the two files to match the other files in that folder. Using root explorer push down on file name until the menu popps up, select permissions and check only the following: the three in the left (read) column and the top one in the center (write) column. Uncheck any others that are checked and tap ok.
9) Boot into recovery and install attached HQ Camera from its location on your sdcard.
10) Wipe Cache + Dalvik Cache
11) Reboot and the HQ camera and gallery should be playing nice!
This works well for me on JB Fusion.
Cheers!

Use AOSP ICS Keyboard in Jelly Bean

Hey guys,
So after a month of obnoxiously slow typing on the Stock Google Keyboard, I FINALLY figured out a way to get the ICS keyboard running! I tried before but got stuck with the following error any time I tried to use the keyboard: "Unfortunately Android Keyboard Has Stopped". BUT something I did today finally worked!
What you need:
Android SDK and Drivers Installed
ICS Keyboard Files attached to this OP (JB backup files are also posted here in case anyone needs them)
(NB: Not sure if the dictionary makes a difference, but it's in there because it worked for me with it)
Root
Busybox (you can download a busybox installer from the playstore here
Here's what I did:
A. Remove JB Keyboard
B. Add ICS Keyboard to /system/apps
C. Fix "Unfortunately Android Keyboard Has Stopped" message
ADB Directions for A & B:
0. Plug in your Prime to your PC.
1. Unzip TFP ICS Android Keyboard.zip files to your adb folder (C:\Program Files (x86)\android\android-sdk\platform-tools or C:\Program Files\android\android-sdk\platform-tools).
2. Open a command prompt and navigate to that folder.
3. Enter the following commands to backup the Jelly Bean stock keyboard files to your ADB folder. "adb pull /system/app/LatinImeGoogle.apk LatinImeGoogleJB.apk" and "adb pull /system/app/LatinImeDictionaryPack.apk LatinImeDictionaryPackJB.apk".
4. Enter the following commands to push the ICS files to your tablet. "adb push LatinImeGoogle.apk /sdcard/LatinImeGoogle.apk" "adb push LatinImeDictionaryPack.apk /sdcard/LatinImeDictionaryPack.apk".
5. Open a shell on your Prime via adb. "adb shell" "su"
6. Move the ICS keyboard files from your sdcard to the system folder. "cp /sdcard/LatinImeGoogle.apk /system/app/LatinImeGoogle.apk" "cp /sdcard/LatinImeDictionaryPack.apk /system/app/LatinImeDictionaryPack.apk"
7. Change/fix permissions. "chmod 644 /system/app/LatinImeGoogle.apk" "chmod 644 /system/app/LatinImeDictionaryPack.apk"
8. Reboot.
NB: If you try to use the keyboard at this point, you will get the error message I described above.
File Explorer Directions for A & B:
0. Plug in your Prime to your PC.
1. Download Root Explorer or ES File Manager or any other program that can access system files.
(I use ES File Explorer because it's free. Download it, go to settings, Root Settings, and check all the boxes, granting Root Permissions as necessary.)
2. Navigate to /system/app and copy LatinImeGoogle.apk and LatinImeDictionaryPack.apk.
3. Paste them to /sdcard and rename them LatinImeGoogleJB.apk and LatinImeDictionaryPackJB.apk. Copy these to your PC for safe keeping if you want.
4. Unzip the TFP ICS Android Keyboard.zip files to your computer and copy them to the SD Card of your Prime.
5. Copy LatinImeGoogle.apk and LatinImeDictionaryPack.apk from your /sdcard.
6. Paste them to /system/app.
7. Change/fix permissions for both to rw-r--r--.
8. Reboot.
Directions for C
NB: I tried a few things to get this working, so I can update this as necessary to remove unnecessary steps.
9. Once rebooted, go to System --> Language & Input, and ensure that you see Android Keyboard at the top of the list of Keyboards.
10. (THIS STEP MAY NOT BE NECESSARY). Navigate to the LatinImeGoogle.apk and LatinImeDictionaryPack.apk files in your sdcard and click them. A box will pop up asking you if you want to replace a system app. Hit yes for both.
11. Go to System --> Apps --> All --> Android Keyboard
12. Clear Data for Android Keyboard.
13. Repeat steps 3 and 4 for "Dictionary Provider".
14. Go to System --> Language & input --> Default and choose English (US) Android Keyboard (should be the 2nd option).
15. Open a text field (ie the body of a blank message in Gmail is what I used) and click to start typing.
16. That should do it!
To restore the JB Stock Keyboard via ADB
0. Go to System --> Apps --> All and uninstall updates to "Android Keyboard" and "Dictionary Pack".
1. Plug in your Prime to your PC.
2. Unzip the TFP JB Android Keyboard.zip files to your adb folder if you do not already have them there (C:\Program Files (x86)\android\android-sdk\platform-tools or C:\Program Files\android\android-sdk\platform-tools).
3. If you do have the stock files still there, rename them to LatinImeGoogle.apk and LatinImeDictionaryPack.apk.
4. Open a command prompt and navigate to that folder.
5. Enter the following commands to push the JB files to your tablet. "adb push LatinImeGoogle.apk /sdcard/LatinImeGoogle.apk" "adb push LatinImeDictionaryPack.apk /sdcard/LatinImeDictionaryPack.apk".
6. Open a shell on your Prime via adb. "adb shell" "su"
7. Move the ICS keyboard files from your sdcard to the system folder. "cp /sdcard/LatinImeGoogle.apk /system/app/LatinImeGoogle.apk" "cp /sdcard/LatinImeDictionaryPack.apk /system/app/LatinImeDictionaryPack.apk"
8. Change/fix permissions. "chmod 644 /system/app/LatinImeGoogle.apk" "chmod 644 /system/app/LatinImeDictionaryPack.apk"
9. Reboot.
10. Go to System --> Language & input --> Default and choose English (US) Android Keyboard (should be the 2nd option).
11. Open a text field (ie the body of a blank message in Gmail is what I used) and click to start typing.
12. That should do it!
To restore the JB Stock Keyboard via a File Explorer
0. Go to System --> Apps --> All and uninstall updates to "Android Keyboard" and "Dictionary Pack".
1. Plug in your Prime to your PC.
2. Unzip TFP JB Android Keyboard.zip files to your computer and copy them to the SD Card of your Prime.
3. If you still have your backup files, you can use them. Make sure they are on your SD Card.
4. Copy LatinImeGoogle.apk and LatinImeDictionaryPack.apk from your SD card.
5. Paste them to /system/app.
6. Change/fix permissions for both to rw-r--r--.
7. Reboot.
8. Go to System --> Language & input --> Default and choose English (US) Android Keyboard (should be the 2nd option).
9. Open a text field (ie the body of a blank message in Gmail is what I used) and click to start typing.
10. That should do it!
Hope this helps others that can't stand the unbearably slow typing on the Jelly Bean Stock Android Keyboard. Hit thanks if it worked for you! (If not, post here and I'll do my best to help figure out the issue.)
EDIT: Simpler method is to basically just sideload the apk for the ICS keyboard and install it like you would any other apk. It will reset after a reboot, but 'reinstalling' it again seems to fix it (again).
Thank you!
Thank you so much! I had flashed the 4.1 -> 4.2 keyboard package to my phone, and the keyboard wouldnt work, so I did it with the JB keyboard and now it's perfect! Kudos!
Lol no problem. Glad I could help!
I realized last week you just need to sideload the apk for ICS and all the other steps are useless. go figure...
Sent from my HTC One X using xda app-developers app
Life-saver.
Confirmed working on latest official update (.18). I had tried other apks but they didn't install correctly, this one does the trick.
I'm a little confused on the instructions. I can't seem to get this to work right on NRG's ROM. Is there an ICS apk that works?
rorytmeadows said:
I'm a little confused on the instructions. I can't seem to get this to work right on NRG's ROM. Is there an ICS apk that works?
Click to expand...
Click to collapse
Sorry I should probably just delete the whole OP. All you need is the ics apk for the keyboard from the zip above. Then just side load and install it like you would any other application. You may need to reinstall it after each boot.
Alternatively you can try to replace the apk in system/apps with the one above, set permissions and see if that works. It doesn't work in stock but is a superior method if it works on nrgs rom.
Sent from my HTC One X using xda app-developers app
nhshah7 said:
Sorry I should probably just delete the whole OP. All you need is the ics apk for the keyboard from the zip above. Then just side load and install it like you would any other application. You may need to reinstall it after each boot.
Alternatively you can try to replace the apk in system/apps with the one above, set permissions and see if that works. It doesn't work in stock but is a superior method if it works on nrgs rom.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
What keyboard apk?
rorytmeadows said:
What keyboard apk?
Click to expand...
Click to collapse
download the TFP ICS keyboard zip from the OP and unzip it. Inside that, you'll find the keyboard apk (you don't need the dictionary)
there are a way faster to put ICS keyboard on JB ?
xfeedbacker said:
there are a way faster to put ICS keyboard on JB ?
Click to expand...
Click to collapse
haha yeah, found it recently. You have to do steps A as above. Then Install the apk like you would any other apk from a file explorer like astro or ES or the built in file explorer. After that, open up titanium backup, find the keyboard, long press and click move to system apps.
Voila!
Only issue is that google now wants to update it every time you reboot the device or update apps. The way I got around this is to put a tibu widget on your home screen that you can click and will detach from the marketplace. Do this once after every reboot and you'll be very happy
nhshah7 said:
haha yeah, found it recently. You have to do steps A as above. Then Install the apk like you would any other apk from a file explorer like astro or ES or the built in file explorer. After that, open up titanium backup, find the keyboard, long press and click move to system apps.
Voila!
Only issue is that google now wants to update it every time you reboot the device or update apps. The way I got around this is to put a tibu widget on your home screen that you can click and will detach from the marketplace. Do this once after every reboot and you'll be very happy
Click to expand...
Click to collapse
man, i'm too dumb :/ hahaha
So what i need is do this steps:
File Explorer Directions for A & B:
0. Plug in your Prime to your PC.
1. Download Root Explorer or ES File Manager or any other program that can access system files.
2. Navigate to /system/app and copy LatinImeGoogle.apk and LatinImeDictionaryPack.apk.
3. Paste them to /sdcard and rename them LatinImeGoogleJB.apk and LatinImeDictionaryPackJB.apk. Copy these to your PC for safe keeping if you want.
4. Unzip the TFP ICS Android Keyboard.zip files to your computer and copy them to the SD Card of your Prime.
5. Copy LatinImeGoogle.apk and LatinImeDictionaryPack.apk from your /sdcard.
6. Paste them to /system/app.
7. Change/fix permissions for both to rw-r--r--.
8. Reboot.
Install te apk of the ICS keyboard
Open titanium backup and install the app to system apps (but i don't have nothing because i use Go Backup)
I told you that i was not inteligent haha
You're intelligent enough to read and ask questions download titanium backup for this, free version may also perform this function
Sent from my HTC One XL using Tapatalk 4

[Oreo] How to integrate apps update in rom.

After update my LG G6 (LG-H870) from nougat to oreo, I've have problem with integration updated apps in to /system.
I do it like this:
1. copy apk file from data/apk to sd card
2. rename copied apk file to name of /system apk
3. extract lib folder from apk
4. copy newer file to proper folder in /system/app or /system/priv-app and replace file in it
5. Copy lib files extracted form apk to right folder /system/lib or /system/lib64
6. Uninstall update from /data/app
7. reboot + dalvik-cache wipe
In nougat it was working, but in oreo, app after integration, breaks. It cannot be open, and app name changes to random words (ex. google docs name changes to "write com.android").
To repair integrated apps I have to perform a full /data/ wipe.
Is it a some kind of protection? How to do it properly?
TitaniumBackup and Link2SD cannot integrate updates to rom properly without errors since Lolipop.

Categories

Resources