some question with kitkat cm11 v10 ION - HTC Sensation XL

hi,guys ,i'm a chinese user .
kitkat.v10 ION by onejay is a good rom and,onejay is a good man either Justplayinghard and other developers. but it also have some 'question' that i want to solve:
1. in v6~v10 my gallery can't play GIF, it just like a jpg
2.when rom install complete it point out
set_perm: some changes failed
these are end of the log : set_perm: chown of /system/addon.d/70-gapps.sh to 0 0 failed: No such file or directory
set_perm: chmod of /system/addon.d/70-gapps.sh to 755 failed: No such file or directory
script aborted: set_perm: some changes failed
set_perm: some changes failed
3.the status bar was always black it different with v7.in v7 it followed the backgroung ,it has three style transparent---gray---black,but in v8,v9,v10 was always black
I written this for an hour with my phone , it's difficult but worthy
Thank you in advance for yours help

ty8898953 said:
hi,guys ,i'm a chinese user .
kitkat.v10 ION by onejay is a good rom and,onejay is a good man either Justplayinghard and other developers. but it also have some 'question' that i want to solve:
1. in v6~v10 my gallery can't play GIF, it just like a jpg
2.when rom install complete it point out
set_perm: some changes failed
these are end of the log : set_perm: chown of /system/addon.d/70-gapps.sh to 0 0 failed: No such file or directory
set_perm: chmod of /system/addon.d/70-gapps.sh to 755 failed: No such file or directory
script aborted: set_perm: some changes failed
set_perm: some changes failed
3.the status bar was always black it different with v7.in v7 it followed the backgroung ,it has three style transparent---gray---black,but in v8,v9,v10 was always black
I written this for an hour with my phone , it's difficult but worthy
Thank you in advance for yours help
Click to expand...
Click to collapse
The reason there were some set_perm errors because of missing files or directorys. Along it works that all that matters
Find an External App to play GIF. I never tried play GIFs before so. Might a current Bug!
The reason you got a Black SystemUI/StatusBar is because of ro.low_ram=false is ment to be on for transparent effects!
Thanks for the helps out pep. i am hopefully building a ROM using ONEJAY09 libs, but first needs his Permission, I am not a horrible dev that bring Broken Roms or making roms with out there permissions. So yeah!
Thanks pep! :highfive:

JustPlayingHard said:
The reason there were some set_perm errors because of missing files or directorys. Along it works that all that matters
Find an External App to play GIF. I never tried play GIFs before so. Might a current Bug!
The reason you got a Black SystemUI/StatusBar is because of ro.low_ram=false is ment to be on for transparent effects!
Thanks for the helps out pep. i am hopefully building a ROM using ONEJAY09 libs, but first needs his Permission, I am not a horrible dev that bring Broken Roms or making roms with out there permissions. So yeah!
Thanks pep! :highfive:
Click to expand...
Click to collapse
:victory: Thx a lot. Users like ours should pay tribute to developers like yourselves.
If it possible,could you tell me how to fix the StatusBar.
Oh,I forgot an important bug . That in v9 v10 if select runtime to use ART, when it reboot will stuck at sencod screen "cyanogen" and cant charging. In our bbs many user have this bug . Is it because there is no installation G-app? I want to konw.

ART Is only im alpha. Download a build.prop app. Find this in it low_mem
Sent from my Sony Xperia Z1

JustPlayingHard said:
ART Is only im alpha. Download a build.prop app. Find this in it low_mem
Sent from my Sony Xperia Z1
Click to expand...
Click to collapse
Amazing:victory: what a fantastic set,I find Low Ram is in Runny Extra Setting,when it reboot ,its so cool
thanks a lot:good:

Related

[Mod/Script] MetaMorph, A Theming Project 0.1g(ALPHA)

First of All, I'd like to say a big thanks to the contributors of what your about to get into.
Thanks to Kastro,
Kastro is a developer on this project and did ALOT, and I mean ALOT, of work with this script. He also cross compiled zip, which is the core this project(Originally I had the id to use aapt to do this but we couldnt get it to run on the phone), to work on our phones. So hats off to him.
Thanks to Riku,
Riku has been a big help being our guinea pig and script optimizer. Riku has tested and wiped and flashed and tested things over and over again. He also helped keep the script pretty and optimized.
Thanks to Prash,
Thanks Prash for giving us a theme to work with, he was on board from the start.
Thanks to Ted and Manup,
This guys also loaned their work to us so we could provide examples. We appreciate your talents and skills.
Now, to the Good stuff.
This is an ALPHA release. This means that there will be bugs. We expect there to be bugs....dont use this thinking that there won't be!
MAKE SURE YOU DO A NANDROID BACKUP EVERYTIME YOU FLASH!!!!
And the fun part...
Thanks to Cyanogen for this...
Code:
#include <std_disclaimer.h>
/*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or the current economic crisis. Please do some
* research if you have any concerns about features included in this MOD
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, we will laugh at you.
*/
This thread is for a project we have been working on to allow themers and end users a better way to theme our phones, any android phone btw. This method will not only allow for end users to apply updates without having to go into recovery mode, and most of the time without rebooting, but will also allow themers to start making battery packs, icon packs, lockscreen packs, status bar packs, etc. all without disrupting anything but the images and files they want to update.
Along with this project though comes with a few conditions.
1) A new way to do theme update files.
2) new rules concerning these new theme files.
3) almost limitless possibilites
The default Directory for these themes will be stored on the end users SDCARD in the directory AndroidThemes. (For now there is no way to change this, but there will be in the future)
The contents of MetaMorph.zip go into /system/bin. (For now there is no way to change this, but there may be in the future)
Once you put the content there, please cd into /system/bin and chmod mm.sh and zip to 0755, like this:
cd system/bin
su
chmod 0755 mm.sh
chmod 0755 /system/bin/zip
After you've done and put a theme in your AndroidThemes folder, you are ready to go!
Now open terminal and type:
mm.sh
to get started.
The rest is pretty self explanatory.
To theme DEVS( and users), I have videos uploaded which will go over the specifics of the new theme.zip, please watch this! Very VERY important, so important, I wont tell you how to make one here because you need to watch the videos!
First Video: http://www.youtube.com/watch?v=fX2xbY4nSd4
Second Video: http://www.youtube.com/watch?v=Dvps2501CAg
Third Video: http://www.youtube.com/watch?v=3iu5AHF-Zew
Fourth Video: http://www.youtube.com/watch?v=sgVL-0E8Rh8
Here are the files:
MetaMorph: www.RelentlessAddictions.com/android/downloads/MetaMorph.zip
Battery Pack(Needs Stericson Lockscreen): www.RelentlessAddictions.com/android/downloads/Batteries.zip
Lockscreen Pack(needs Stericson Lockscreen): www.RelentlessAddictions.com/android/downloads/Manup-Stericson-Lockscreen.zip
Full theme (Prashs theme, AlienAqua): www.RelentlessAddictions.com/android/downloads/Prash-theme.zip
Any questions, problems? Ask below, let us know!
Stericson
Update: Added some more error detection for the theme control file. Also moved the location where we put the script. Move the script and zip file to /system/bin. chmod 0755 both the mm.sh and .zip. Now you can run it anywhere just by typing mm.sh -i.
Continued Info on Metamorph
#OTHER INFORMATION, PM ME TO ADD REFERENCE/LINKS
# REGARDING NON-apps2sd USERS:
there isn't anything except two files going to be in that directory, so you should still be ok, make sure you mount your FS read-write before putting the files on your system partition:
Code:
adb remount
adb push file-to-push.ext /system/sd/theming/file-to-push.ext
also, if magic users have troubles with the default terminal app w/ the on screen keybaords you guys have on your roms, try out Better Terminal, the free version, from the Android Market ​
THIS IS A SCRIPT MADE FOR EITHER ADB OR USE ON THE ANDROID DEVICE ITSELF!
which means yes, you can use terminal, or yes, you can use the android debug bridge! ​
This script in the end will be designed to be compatible with ANY rom, we need you to test it, (we're talking to you, dev's
Theme-Devs! Join us on IRC!
irc.freenode.net/#android-mods​
New Zipall script, by Kastro & Riku! working on windows port in collab with coolboh3000! stay tuned! http://forum.xda-developers.com/showpost.php?p=4795886&postcount=51
Waiting Patiently for the VID!!!
one question, for users with no apps2sd e.g. no system/sd directory needed such as those on the magics, how would it work?
regarding Non-Apps2sd
NguyenHuu said:
one question, for users with no apps2sd e.g. no system/sd directory needed such as those on the magics, how would it work?
Click to expand...
Click to collapse
this is not quite ready I think for theming third party apps, though I'm sure its entirely doable, remember its ALPHA!
also, the only things in /system/sd/theming are two files,
so you shouldn't have to worry about it, though again, its not quite ready for changing, I would suggest creating that folder
For now it wont, but as I said, in the future we will have this fixed. We allready though of this. Magics cant be rooted and use apps 2 sd?
Or are you referring to no keyboard?
Does the on-screen keyboard work in terminal?
Also...you never know...hmmm there may even be some wild and crazy app made to use this....neverrrr knowwww
Stericson
Stericson said:
For now it wont, but as I said, in the future we will have this fixed. We allready though of this. Magics cant be rooted and use apps 2 sd?
Or are you referring to no keyboard?
Does the on-screen keyboard work in terminal?
Also...you never know...hmmm there may even be some wild and crazy app made to use this....neverrrr knowwww
Stericson
Click to expand...
Click to collapse
terminal will work, but its buggy, Try the free version of Better Keyboard, on the market
Riku said my posts are boring....so I prettied it up!
any particular rom? or do we just need the right theme for the right rom
First video is up...
what do we use this on top of?
phantom574 said:
any particular rom? or do we just need the right theme for the right rom
Click to expand...
Click to collapse
pretty much this will work with any rom, however, I personally would recommend "right theme, for the right rom" as a few roms (like blur, hero, etc) have a different image setup, ALTHOUGH. this will most likely work, but thats why its an alpha release, so that we can test this fact. PLEASE nandroid before use
Can't wait for the videos to see what new toys we have to play with
rikupw said:
pretty much this will work with any rom, however, I personally would recommend "right theme, for the right rom" as a few roms (like blur, hero, etc) have a different image setup, ALTHOUGH. this will most likely work, but thats why its an alpha release, so that we can test this fact. PLEASE nandroid before use
Click to expand...
Click to collapse
1 flash theme for rom
2 metamorph
3 customize?
phantom574 said:
1 flash theme for rom
2 metamorph
3 customize?
Click to expand...
Click to collapse
at this point, I would wait until all the videos are up, it's highly recommended that you read watch the videos. there are 4 of them, 8 minutes each, if you don't want to watch them, wait a few days for other people to get the hang of things, bum off of their work lol
rikupw said:
at this point, I would wait until all the videos are up, it's highly recommended that you read watch the videos. there are 4 of them, 8 minutes each, if you don't want to watch them, wait a few days for other people to get the hang of things, bum off of their work lol
Click to expand...
Click to collapse
will wait for the vids thanks for your help!!
Brilliant idea! Had a feeling it'd be something along these lines. Bye bye, update.zips then!
/Mats
update.zips
ZilverZurfarn said:
Brilliant idea! Had a feeling it'd be something along these lines. Bye bye, update.zips then!
/Mats
Click to expand...
Click to collapse
i think that they will be still be of use, first flash teh update.zip, perhaps later supply packs, option colors, etc etc? that will be most useful I believe to end-users
rikupw said:
i think that they will be still be of use, first flash teh update.zip, perhaps later supply packs, option colors, etc etc? that will be most useful I believe to end-users
Click to expand...
Click to collapse
This could be my end all solution to maintaining all the NFL themes, and make it way easier to manage the NBA and NHL.
Following this, I could essentially issue 1 update.zip for a color set (says like Blue/Red for Giants, Patriots, Texans, Rangers, Pistons etc..) and then use the packs to have all the icons, clocks and etc. which would save me from flashing things over and over to test.
w00t
jairomeo said:
This could be my end all solution to maintaining all the NFL themes, and make it way easier to manage the NBA and NHL.
Following this, I could essentially issue 1 update.zip for a color set (says like Blue/Red for Giants, Patriots, Texans, Rangers, Pistons etc..) and then use the packs to have all the icons, clocks and etc. which would save me from flashing things over and over to test.
Click to expand...
Click to collapse
BINGO. you got it. sort of make sure you watch the videos!
Tested and working, flawlessly. Excellent work guys, kudos!

[GUIDE][LINUX][MIUI] MIUI PatchROM -- BUILD YOUR OWN MIUI ROM

take a look here:
http://forum.xda-developers.com/showthread.php?t=1483332
as of me, am on a awfully slow network to start with and my stupid brother 4matted both of my systems. this nd did away with by linux build environment. not possible for me to download everything to start over. even downloading virtual box will take me two days let alone downloading the maverick
I have a question, are we going to see an official MIUI ROM or do we have to wait someone to port it?
Enviado desde mi LG-P970 usando Tapatalk
I know, it is a veeery noobish question, but how do i get a zipball? I dont get the first step already I already set up Ubuntu, but now I guess, I need your help, then I'll try to build it
-edit-
Do I only need to push download and then download as zip?
Could anyone help me out with the makefile? cause when I follow the steps and after typing: make zipfile
It start doing some stuff, but then aborts and gives out this
Code:
/home/MisterGT/MiCode/tools/apktool d -f /home/MisterGT/MiCode/miui/system/framework/services.jar .build/services_miui
/home/MisterGT/MiCode/tools/apktool: Zeile 77: exec: java: Nicht gefunden.
make: *** [.build/services_miui] Fehler 127
Code:
Translated: ....apktool Line 77: exec: java: Not found.
make: *** [.build/services_miui] Error 127
Hope you can help me, cause then we can get our MIUI quickly, so plsss help me, I am also noob only
I already did this:
Code:
#
# Makefile for P970?
#
# The original zip file, MUST be specified by each product
local-zip-file := ZeusROM.zip
# The output zip file of MIUI rom, the default is porting_miui.zip if not specified
local-out-zip-file := MIUI_P970.zip
# All apps from original ZIP, but has smali files chanded
local-modified-apps := LogsProvider Phone MediaProvider Settings
# All apks from MIUI execept MIUISystemUI and framework-miui-res.apk
local-miui-apps := Contacts ContactsProvider Mms TelephonyProvider ThemeManager Launcher2 \
DownloadProvider TelocationProvider Notes Music Torch DownloadProviderUi Updater
# All apps need to be removed from original ZIP file
local-remove-apps := AccountAndSyncSettings ApplicationsProvider AppWidgetPicker ArcCamera BluetoothOpp BluetoothPbap BrcmBluetoothServices Calender CalenderProvider Camera CertInstaller ChargingTest Clicker_hi Contacts ContactsProvider covertor DefaultContainerService DM_RsupInput DM_RsupSrn DM_RsupUInput DownloadProvider DownloadProviderUi DrmProvider DrmService ExternalMemoryTest FlexProvider.apk FmRadio FmRadioProvider Fonts Gallery3D Gmail GoogleBackupTransport GoogleCalendarSyncAdapter GoogleContactsSyncAdapter GooglePartnerSetup GoogleQuickSearchBox GoogleServicesFramework HTMLViewer JSFontService Launcher2 LGDebug lgeStreamingPlayer lgeVideoPlayer LGSetupWizard LGSetupWizardAid LibFlashPlayer MarketUpdater MediaProvider MediaUploader memo Mms Music NetworkLocation NetworkLocation NetworkUsage OmaDmclient PackageInstaller PCSync Phone PicoTts PowerControl PowerOff RSstarter RsupInput RsupSrn RsupUInput Screencapture Settings SettingsProvider SetupWizard SoundRecorder Stk Superuser SVGBrowserPlugin SystemUI Talk TelephonyProvider Term TtsService UserDictionaryProvider Vending VonService WapService
# To include the local targets before and after zip the final ZIP file,
# and the local-targets should:
# (1) be defined after including porting.mk if using any global variable(see porting.mk)
# (2) the name should be leaded with local- to prevent any conflict with global targets
local-pre-zip := local-zip-misc
local-after-zip:= local-test
# The local targets after the zip file is generated, could include 'zip2sd' to
# deliver the zip file to phone, or to customize other actions
include $(PORT_BUILD)/porting.mk
# To define any local-target
local-zip-misc:
cp misc/com.google.android.maps.jar $(ZIP_DIR)/system/framework/
@echo Add google apks
cp misc/apk/* $(ZIP_DIR)/system/app/
local-test:
echo "an example action"
Hope it is right... I am using Zeus ROM, as a first try, as you can see...
N00BY0815 said:
I know, it is a veeery noobish question, but how do i get a zipball? I dont get the first step already I already set up Ubuntu, but now I guess, I need your help, then I'll try to build it
-edit-
Do I only need to push download and then download as zip?
Click to expand...
Click to collapse
visit the link from linux (even if it's a VM) and push d/l. its a github repo.
setting up sdk on linux has loads of videos in youtube. then follow the instructions.
Yeah, as you can see from the post below, I already made one more step, and also brought it to start, because i just didnt extract the java sdk correctly... but as I read the java error, I thought I might look in there. But can you help me with the makefile? Is it all correct?
here is as far as i could get till now:
Code:
[email protected]:/home/MisterGT/MiCode/p970# make zipfile
/home/MisterGT/MiCode/tools/apktool d -f /home/MisterGT/MiCode/miui/system/framework/services.jar .build/services_miui
I: Baksmaling...
I: Copying assets and libs...
build .build/services.jar...
--------------------------------------------
cp -r services.jar.out/ .build/services
/home/MisterGT/MiCode/tools/add_miui_smail.sh .build/services_miui .build/services
/home/MisterGT/MiCode/tools/apktool b .build/services .build/services.jar
I: Checking whether sources has changed...
I: Smaling...
W: Could not find resources
I: Building apk file...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /home/MisterGT/MiCode/p970/.build/services.jar, /home/MisterGT/MiCode/p970/.build/services/build/apk]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildApk(Androlib.java:355)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /home/MisterGT/MiCode/p970/.build/services.jar, /home/MisterGT/MiCode/p970/.build/services/build/apk]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 5 more
Caused by: java.io.IOException: Cannot run program "aapt": java.io.IOException: error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
at java.lang.Runtime.exec(Runtime.java:610)
at java.lang.Runtime.exec(Runtime.java:483)
at brut.util.OS.exec(OS.java:78)
... 6 more
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
at java.lang.ProcessImpl.start(ProcessImpl.java:81)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
... 9 more
make: *** [.build/services.jar] Fehler 1
Might this be due to failed decompiling of apk's? If so, can you help me out on that?
---------- Post added at 05:41 AM ---------- Previous post was at 05:01 AM ----------
OK, I guess I made any fault while decompiling the .jar files. Can anyone provide the decompiled files, that are needed? See in link in the first post. And check if my makefile is correct pls
N00BY0815
I have similar [error 1], but i use custom rom based on 20a (deodex)...
Decompiling and compiling *.jar is not detects errors and runs fine ... I don't have idea to fix it ... read many forums but the solutions have not found...
Code:
Cannot run program "aapt"
likely a problem in this
achyut...huexxx... redy... any ideas?
mix231 said:
N00BY0815
I have similar [error 1], but i use custom rom based on 20a (deodex)...
Decompiling and compiling *.jar is not detects errors and runs fine ... I don't have idea to fix it ... read many forums but the solutions have not found...
Code:
Cannot run program "aapt"
likely a problem in this
Click to expand...
Click to collapse
Check out the APKTool folder. Maybe there is no aapt file in it. If so, just download apktool again and extract it there.
For aapt error
If i read that guide carefuly ,
you need to make path and add the tool folder in your path.
mix231 said:
achyut...huexxx... redy... any ideas?
Click to expand...
Click to collapse
So sorry, I haven't read it.. Got busy this semester, so I'm not doing any android dev activity for now..
Sent from my Black.
N00BY0815 said:
I know, it is a veeery noobish question, but how do i get a zipball? I dont get the first step already I already set up Ubuntu, but now I guess, I need your help, then I'll try to build it
-edit-
Do I only need to push download and then download as zip?
Click to expand...
Click to collapse
NO,NO,NO~!you need to do amount of works.
It's not easy- -
Is someone trying to create a miui ROM?
timvdhoorn said:
Is someone trying to create a miui ROM?
Click to expand...
Click to collapse
It will come soon,but it's chinese version- -
jackoll said:
It will come soon,but it's chinese version- -
Click to expand...
Click to collapse
how can you say it'll come soon???...u know something we all should know??...and adding translations is no big deal. can be done once the ROM is released.
new, more detailed instructions
http://www.miui.com/thread-431923-1-1.html
pan_ataman said:
new, more detailed instructions
http://www.miui.com/thread-431923-1-1.html
Click to expand...
Click to collapse
I can't read that lol
Isn't there english thread?
DiederikC said:
I can't read that lol
Isn't there english thread?
Click to expand...
Click to collapse
It's just the porting tutorial, but no one ever succeed until now.

[Q] [UPDATED] Probelm Bootloop error with dsixda's kitchen cooked ROM

Hello guys:laugh:
I searched every forum thoroughly but didn't found a proper and working solution for Xperia devices
I am trying to make a custom ROM from stock using dsixda kitchen
I used stock 12.1.A.201 as the base ROM
I believe that it's either the updater script error or kernel probelm as I am using stock kernel and my zip is like this
Data
META-INF
system
boot.img
check_data_app
Click to expand...
Click to collapse
This happens when rom is created
De-odexed it rooted it and added X-Reality engine and created the rom
First on installing I got error of status 0 so I changed my update binary file from same de-odexed version from this link http://forum.xda-developers.com/showthread.php?t=2704312 by @dipesh1502 (thanks to him for that awesome rom)
Next I am getting error status 7
ROM Starts flashing then it comes to this part
formatting system bla bla
expected 5 args got 3
Click to expand...
Click to collapse
something like that and then it stops on error status 7
here is the updater-script please have a look. I really want to create this ROM. Please help
Updater-Script Download
here is my build prop build.prop download
Help guys please I'll be highly grateful
My device is C5302 rooted and unlocked bootloader with 12.1.A.205 stock kernel
EDIT : Got past the error status 7 now ROM gets installed
But unfortunately now it ends in a bootloop :/ Got stuck on Sony splash logo and then reboots constantly :/
Had a nandroid backup ready x)
Had to flash the ftf file over and over again. :/
Phone is allright just want to catch this error of bootloop.
I changed kernel with the dipesh1502's ROM but still no luck. Modified Updater script but still no luck. help me I am soo confused and screwed!! :'( :'(
My new Updater-Script
There's a HUGE difference in creating boot animations and creating a ROM.
Don't expect to teach yourself how to make a ROM in just a few days.
It takes, weeks, months, years...
If you're mainly planning to make some exterior changes, which I think you're currently doing, I would focus on making complete themes and not ROMs.
People are not waiting for a ROM which is already available but that looks somewhat different and maybe has some extra or removed apps.
Regarding your problem, I will not be able to help you since I don't have that kind of knowledge.
Anyway, good luck!
Gamm86 said:
There's a HUGE difference in creating boot animations and creating a ROM.
Don't expect to teach yourself how to make a ROM in just a few days.
It takes, weeks, months, years...
If you're mainly planning to make some exterior changes, which I think you're currently doing, I would focus on making complete themes and not ROMs.
People are not waiting for a ROM which is already available but that looks somewhat different and maybe has some extra or removed apps.
Regarding your problem, I will not be able to help you since I don't have that kind of knowledge.
Anyway, good luck!
Click to expand...
Click to collapse
Thanks for the reply.
Yeah I know that it's not easy to create ROM and also it takes a lot of time. I am ready to give it a shot
I am just making some small changes just for my sake I'll be using this ROM personally for my own use I know that there are a thousand times better ROM's than mine
Anyway glad you considered my probelm.
Bootloop can be cause by:
- Wrong permissions
- Corrupt installation
It is nice if you collect either the last_ksmg or logcat when bootlooping. (if possible)
~~Regard
---------- Post added at 08:08 PM ---------- Previous post was at 08:04 PM ----------
But first:
Share me the .zip you have created perhaps I can take a small look
~~ Regards
mrjraider said:
Bootloop can be cause by:
- Wrong permissions
- Corrupt installation
It is nice if you collect either the last_ksmg or logcat when bootlooping. (if possible)
~~Regard
Click to expand...
Click to collapse
Thanks for the reply
Can you please have a look at my new updater-script and tell me what is wrong?
I will surely try to get logcat but before that if you can just analyze this updater-script and pinpoint the mistakes it'll make my work a lot easier.
Thanks in advance :good:
Sent me the entire .zip file instead (but start with updater-script)
~~Regards
mrjraider said:
Sent me the entire .zip file instead (but start with updater-script)
~~Regards
Click to expand...
Click to collapse
Sure thing I'll
I am compressing it to maxium extent using KGB archiver and it'll become around 10~20 mb only
It's still compressing so it'll take some time before it reaches it's max compression.
I'll surely send you asap

[GUIDE] UPDATED!!! [MOD] How to make Call Log Limit practically Unlimited

Well this Guide with all its spelling mistakes somehow made it to portal
Click to expand...
Click to collapse
For Developers: If you are planning to compile your ROM, and want to use this mod, then read This Post
Background Story:
I was missing the CyberShot Camera too much and found Google Camera has been ported to JB And I also wanted to try the Moded LifeLog app, which somehow was not working on my Pacman Rom.
These were the reasons I Decided to come back to JB Stock Base. I had a previous Nandroid Backup of Lovin's Z2 ROM for XV. I took all my Call-Log and SMS Backups and also took backup of some apps that I used. Then I restored the NAND Backup today.
after that I started restoring the apps+data. Everything was fine.
After few hours of using, As I always do, I took the periodic backup of my Call Logs again. That's when I noticed, the previous Logs were 700+ and now after making some calls, it came down to 500. after Some test, I found out, this is not problem of Backup software.
A little Google search revealed Android has a default call log limit set to 500 Calls.
I searched for Xposed Mod for this, found TrimNot. But it showed error. Most probably, it is only for KK. Then I thought why not MOD it myself?
That's how it all started...
The research & work procedure:
I first thought, OK, I need to find where the Calls are stored. After passing some time with Google, I found, the Logs are stored in a SQlite3 Database, in
Code:
/data/data/com.android.providers.contacts/databases/contacts2.db
There is no limit in this database storage. So, the limit must be in the code.
After another couple of hours, I found that Android checks if the contacts has reached 500 then removes the older. Searching with
Call Log Android
Click to expand...
Click to collapse
in android API reference, where I found some leads on my research.
"public class CallLog" which is under "android.provider.CallLog"
Something told me, to look for this class, in the actual source code. But that's almost 30 GB and I don't have time. from some prior Java knowledge I knew, all class have their own source file, with the same name, So the name would be "CallLog.java"
Now I searched Google, with it and found exactly what I was looking for. The search took me to a Git page android/platform_frameworks_base
And here I found this code.
Java:
private static void removeExpiredEntries(Context context) {
final ContentResolver resolver = context.getContentResolver();
resolver.delete(CONTENT_URI, "_id IN " +
"(SELECT _id FROM calls ORDER BY " + DEFAULT_SORT_ORDER
+ " LIMIT -1 OFFSET 500)", null);
}
The file is located in
Code:
platform_frameworks_base/core/java/android/provider/CallLog.java
and from the name I guessed, this should be inside framework files. Then I went into action. I first tried to de-compile the framework-res.apk file. I used Advanced APKTool by BDFreak
Using the windows search tool, I searched for "call log". I found nothing. Then I tried to de-compile "framework.jar". For this, I followed guide by Rizal Lovins - [Share Latest Apktool 4.2.2/Guide/Tutorial/] How to Decompile/Compile/Sign Apk/Jar
after the de-compiling was Done, I found there is a "android/provider" folder. Yes, it look similar to "platform_frameworks_base/core/java/android/provider/CallLog.java"
So, here should be the files. And I found Two files
Code:
CallLog$Calls.smali
CallLog.smali
I opened both with Notepad++,
CallLog.smali gave me noting.
But after a careful search, I found the exact query inside the ]CallLog$Calls.smali file.
I found this line -
Code:
const-string v2, "_id IN (SELECT _id FROM calls ORDER BY date DESC LIMIT -1 OFFSET 500)"
I just changed 500 to 100000 and I knew my task was done.
I then recompiled the framework.jar and took backup of my original framework.jar (took Nandroid backup ), replaced the original with my modified JAR file. Set the permission rw-r-r or 644. Then rebooted my phone.
Testing:
After the phone started, I made a call, then took backup of the Call Log with Call Log Backup Restore it showed 501.
This means my task is done.
Then I thought, why not share the whole experience today in XDA. So I started Writing this Guide.
F.A.Q.
Why I need more than 500 Call Log ?
- Well I work in Billing Department of a GSM Phone Exchange/Gateway. I periodically cross check my phone Call Logs with the Exchange SoftSwitch Data. Except for that, It's just fun to try something new.
Why this guide has no steps or required steps?
- Because, if anything I missed, those will be added later in the FAQ, from the comments.
Is this tested on any device?
-Yes,
My # Xperia V with LOVINS X™ Z2 ROM 9.2.A.2.5
# Xperia V NeoWave™ ROM
# Xperia TX OmniRom
# Xperia TX (unknown ROM )
# Xperia Z2 (unknown ROM )
# Xperia P Stock ROM
#Xperia P JB based Enigma v7.2 ROM
#CyanogenMod 11 M11 and M12
Can this work on my T/TX/TL/Z/Z1 etc. etc.
- Theoretically it should work on any Device and any ROM. But, practically, I don't know, why don't you try yourself and let me know
I'm newbie, can you provide me more simple guide?
- Well I'm a Newbie myself Just take a Nandroid Backup and start the process. What can go wrong? At most you'll have to restore the backup.
Go to every link and read those too. And Don't forget to Thank those people who provided the Tools and Guides.
Still If you don't understand my guide, read it twice, if it doesn't work read again.
Ha Ha Ha kidding. Here you go A Simple guide
Update:
If you are planning to compile your ROM, and want to use this mod, then read This Post
I switched to NeoWave™ ROM and just as usual applied my MOD. Restored 800+ Call Log from Backup. Now I find another limitation. It's in the Dialer. In the KitKat Call History, there is a Statistics option. Here it always shows
TOTAL: 500 Calls,....
Click to expand...
Click to collapse
So Now I'm digging the sources again to make the stats go higher.
Update: The issue was caused because, after sometimes (any call), the call history automatically turned to 500. Because the framework.jar was odexed and i guess, odex file had the old value set again. And for the NeoWave I used android MultiTool, it showed one error while compiling, Unsigned Short value exceeds, I didn't notice that. My bad. Now I have done the Mod again with Apktool (Lovins shared one) and removed the odex file and then Everything seems fine. Even the Statistics Shows, TOATAL: 1203 Calls, ....
Tested on OmniRom and works as expected. I've used an Xposed module before which does the same thing, but it's always nice to find new ways to implement things without having to use Xposed.
Antiga Prime said:
Tested on OmniRom and works as expected. I've used an Xposed module before which does the same thing, but it's always nice to find new ways to implement things without having to use Xposed.
Click to expand...
Click to collapse
Thanks for the Confirmation. I am updating the Tested Device & ROM. Your device is TX, Right? I guessed from the signeture
Antiga Prime said:
Tested on OmniRom and works as expected. I've used an Xposed module before which does the same thing, but it's always nice to find new ways to implement things without having to use Xposed.
Click to expand...
Click to collapse
Would you like to share the Xposed module you used before?
pollob666 said:
Thanks for the Confirmation. I am updating the Tasted Device & ROM. Your device is TX, Right? I guessed from the signeture
Click to expand...
Click to collapse
Yes, I have a TX.
tianzhisun said:
Would you like to share the Xposed module you used before?
Click to expand...
Click to collapse
It's the same one linked in the OP, except it's named TrimNot, not TimNot. I thought it might be a different one given that the one linked above didn't work for @pollob666, but I guess it's because I'm on a 4.4 ROM.
It's the same one linked in the OP, except it's named TrimNot, not TimNot. I thought it might be a different one given that the one linked above didn't work for @pollob666, but I guess it's because I'm on a 4.4 ROM.
Click to expand...
Click to collapse
Oops.. It was a Typo Yes, TrimNot works on KK but not on JB. that is why I needed to modify my Android Framework.
This is great and I will try it out.
But there is also another ridiculous limitation, that is the maximum of 20 alarms you can have in the clock
acb123 said:
This is great and I will try it out.
But there is also another ridiculous limitation, that is the maximum of 20 alarms you can have in the clock
Click to expand...
Click to collapse
for the clock there is this guide http://forum.xda-developers.com/showpost.php?p=53591001&postcount=6 give it a look
acb123 said:
This is great and I will try it out.
Click to expand...
Click to collapse
After trying, give us the update.
But there is also another ridiculous limitation, that is the maximum of 20 alarms you can have in the clock
Click to expand...
Click to collapse
I didn't notice that. Let's see what we can do about that
pollob666 said:
I didn't notice that. Let's see what we can do about that
Click to expand...
Click to collapse
give a look at the link in the post above yours... it's for z2 but it could work also for other version
Works fine on Xperia P running JB based Enigma v7.2
It works on stock based Xperia P. pollob666 small typo. How about renaming "tasted" to "tested"
usb2 said:
give a look at the link in the post above yours... it's for z2 but it could work also for other version
Click to expand...
Click to collapse
Yeah, saw that, going to try it tomorrow. Hopefully, here I can find some DB sources too.
prasadkumar013 said:
It works on stock based Xperia P. pollob666 small typo. How about renaming "tasted" to "tested"
Click to expand...
Click to collapse
Sorry about that, I guess I'll have to check the whole OP
Please make the steps simple for a newbie
Well, I was looking for this feature since Google invented Android!:good:
I was using MIUI because of they're giving unlimited Call log. Then some one invented TrimNot on Aug 15, 201, I came again to OzcanRom (My Fav). Trim not doesn't work at all.
My question is, Can you make this step more simple. I'm a new bie. :fingers-crossed:
pollob666 said:
Background Story:
I was missing the CyberShot Camera too much and found Google Camera has been ported to JB And I also wanted to try the Moded LifeLog app, which somehow was not working on my Pacman Rom.
These were the reasons I Decided to come back to JB Stock Base. I had a previous Nandroid Backup of Lovin's Z2 ROM for XV. I took all my Call-Log and SMS Backups and also took backup of some apps that I used. Then I restored the NAND Backup today.
after that I started restoring the apps+data. Everything was fine.
After few hours of using, As I always do, I took the periodic backup of my Call Logs again. That's when I noticed, the previous Logs were 700+ and now after making some calls, it came down to 500. after Some test, I found out, this is not problem of Backup software.
A little Google search revealed Android has a default call log limit set to 500 Calls.
I searched for Xposed Mod for this, found TrimNot. But it showed error. Most probably, it is only for KK. Then I thought why not MOD it myself?
That's how it all started...
The research :
I first thought, OK, I need to find where the Calls are stored. After passing some time with Google, I found, the Logs are stored in a SQlite3 Database, in
Code:
/data/data/com.android.providers.contacts/databases/contacts2.db
There is no limit in this database storage. So, the limit must be in the code.
After another couple of hours, I found that Android checks if the contacts has reached 500 then removes the older. Searching with
in android API reference, where I found some leads on my research.
"public class CallLog" which is under "android.provider.CallLog"
Something told me, to look for this class, in the actual source code. But that's almost 30 GB and I don't have time. from some prior Java knowledge I knew, all class have their own source file, with the same name, So the name would be "CallLog.java"
Now I searched Google, with it and found exactly what I was looking for. The search took me to a Git page android/platform_frameworks_base
And here I found this code.
Java:
private static void removeExpiredEntries(Context context) {
final ContentResolver resolver = context.getContentResolver();
resolver.delete(CONTENT_URI, "_id IN " +
"(SELECT _id FROM calls ORDER BY " + DEFAULT_SORT_ORDER
+ " LIMIT -1 OFFSET 500)", null);
}
The file is located in
Code:
platform_frameworks_base/core/java/android/provider/CallLog.java
and from the name I guessed, this should be inside framework files. Then I went into action. I first tried to de-compile the framework-res.apk file. I used Advanced APKTool by BDFreak
Using the windows search tool, I searched for "call log". I found nothing. Then I tried to de-compile "framework.jar". For this, I followed guide by Rizal Lovins - [Share Latest Apktool 4.2.2/Guide/Tutorial/] How to Decompile/Compile/Sign Apk/Jar
after the de-compiling was Done, I found there is a "android/provider" folder. Yes, it look similar to "platform_frameworks_base/core/java/android/provider/CallLog.java"
So, here should be the files. And I found Two files
Code:
CallLog$Calls.smali
CallLog.smali
I opened both with Notepad++,
CallLog.smali gave me noting.
But after a careful search, I found the exact query inside the ]CallLog$Calls.smali file.
I found this line -
Code:
const-string v2, "_id IN (SELECT _id FROM calls ORDER BY date DESC LIMIT -1 OFFSET 500)"
I just changed 500 to 100000 and I knew my task was done.
I then recompiled the framework.jar and took backup of my original framework.jar (took Nandroid backup ), replaced the original with my modified JAR file. Set the permission rw-r-r or 644. Then rebooted my phone.
Testing:
After the phone started, I made a call, then took backup of the Call Log with Call Log Backup Restore it showed 501.
This means my task is done.
Then I thought, why not share the whole experience today in XDA. So I started Writing this Guide.
F.A.Q.
Why I need more than 500 Call Log ?
- Well I work in Billing Department of a GSM Phone Exchange/Gateway. I periodically cross check my phone Call Logs with the Exchange SoftSwitch Data. Except for that, It's just fun to try something new.
Why this guide has no steps or required steps?
- Because, if anything I missed, those will be added later in the FAQ, from the comments.
Is this tested on any device?
-Yes,
My # Xperia V with LOVINS X™ Z2 ROM 9.2.A.2.5
# Xperia TX OmniRom
# Xperia TX (unknown ROM )
# Xperia Z2 (unknown ROM )
# Xperia P Stock ROM
Can this work on my T/TX/TL/Z/Z1 etc. etc.
- Theoretically it should work on any Device and any ROM. But, practically, I don't know, why don't you try yourself and let me know
Click to expand...
Click to collapse
---------- Post added at 11:08 AM ---------- Previous post was at 10:10 AM ----------
Can you please share the framework.jar file that edited and recompiled by you? If you can make a edited framework.jar for OzcanRom 4.2, I will be very thankful. I spent almost two nights on this and failed. Please help. :silly::fingers-crossed:
Antiga Prime said:
Tested on OmniRom and works as expected. I've used an Xposed module before which does the same thing, but
it's always nice to find new ways to implement things without having to use Xposed.
Click to expand...
Click to collapse
A Simpler guide
jamoen said:
My question is, Can you make this step more simple. I'm a new bie. :fingers-crossed:
Can you please share the framework.jar file that edited and recompiled by you? If you can make a edited framework.jar for OzcanRom 4.2, I will be very thankful. I spent almost two nights on this and failed. Please help. :silly::fingers-crossed:
Click to expand...
Click to collapse
No need to Quote the whole OP
My framework.jar won't work for you. We need to modify your ROM's framework.jar if you can provide me that file, I can MOD it for you.
But, I am giving the Simple steps. I would be very happy if you can do it yourself.
I am assuming you already have Notepad++ or Similar text editing tool and know how to pull files from /system
Step 1: Download APKTool of your choice. I used Advanced APKTool by BDFreak
Step 2: Decompile your framework.jar. For this, I followed guide by Rizal Lovins - [Share Latest Apktool 4.2.2/Guide/Tutorial/] How to Decompile/Compile/Sign Apk/Jar
Step 3: Open the CallLog.smali file and any other files that starts with CallLog ( like in my case CallLog$Calls.smali ) in Notepad++ or any other Text Editor.
Step 4: search for "SELECT _id FROM calls ORDER BY" or similar lines. You will find LIMIT -1 OFFSET 500 change 500 with any number you want.
Step 5: Save the modified file smali, and recompile the jar file.
Step 6: Just to be safe, take a NANDROID backup.
Step 7: Take a backup of the original framework.jar, delete it from system and push the modified framework.jar to System and change permission to rw-r-r or 644. Reboot.
Step 8: test
I couldn't find Provider folder. Please help.
I couldn't find Provider folder. Please help.
Failed! Please help
pollob666 said:
No need to Quote the whole OP
Click to expand...
Click to collapse
Thank you for the reply.
I could not find any folder called Provider. Searched all folders and failed to find a call entry.
I took the framework.jar from system folder. Any wrong?
Attached my framework.jar file. Please help me.
Found the string in framework2.jar and edited. Success!!
Please help me to push it again...
Can I use esfile explorer?
---------- Post added at 02:31 PM ---------- Previous post was at 02:09 PM ----------
jamoen said:
Found the string in framework2.jar and edited. Success!!
Please help me to push it again...
Can I use esfile explorer?
Click to expand...
Click to collapse
Unfortunately.. The method failed. Going back to MIUI in tears..
jamoen said:
Found the string in framework2.jar and edited. Success!!
Please help me to push it again...
Can I use esfile explorer?
---------- Post added at 02:31 PM ---------- Previous post was at 02:09 PM ----------
Unfortunately.. The method failed. Going back to MIUI in tears..
Click to expand...
Click to collapse
WOW, you really did it. Sorry I was in training my juniors at office, didn't reply earlier.
You can use es explorer, or if you have adb, then you can use some shell commands. I can give you the commands, if you haven't done it already.
It should work. Let me check and mod a it for you.
Edit: Sorry, I don't have the framework2.jar. ant the ROM is too big for downloading now at office. But for Samsung device, I guess the re-compile process needs a bit working. you need to recompile the file, then open it in 7zip or WinRAR replace the AndroidManifest file with the file of the original, (then sign it then zipalign it not sure for jar file though). Then push it to the system.
pollob666 said:
WOW, you really did it. Sorry I was in training my juniors at office, didn't reply earlier.
You can use es explorer, or if you have adb, then you can use some shell commands. I can give you the commands, if you haven't done it already.
It should work. Let me check and mod a it for you.
Edit: Sorry, I don't have the framework2.jar. ant the ROM is too big for downloading now at office. But for Samsung device, I guess the re-compile process needs a bit working. you need to recompile the file, then open it in 7zip or WinRAR replace the AndroidManifest file with the file of the original, (then sign it then zipalign it not sure for jar file though). Then push it to the system.
Click to expand...
Click to collapse
I double checked it. Again extracted the framework.jar and decompliled it.The string of 100000 is there. But this thing is not working. I don't know why.
Can I share you the framework2.jar with you?
jamoen said:
I double checked it. Again extracted the framework.jar and decompliled it.The string of 100000 is there. But this thing is not working. I don't know why.
Can I share you the framework2.jar with you?
Click to expand...
Click to collapse
I will modify it and upload it for you. But I guess I will need the framework-res.apk with it. if there is any. But, I'm going home now, I'll update you by 11pm.

[Module][v4.1] ViPER-FX **Discontinue**

COLOR="Red"]This thread will discontinue, Now I'm published my new mod's thread under Magisk, that mod includes Whole new ViPERFX app and many other mods and upcomings so From now everybody please follow this thread below:
[Module] ViPERFX
https://forum.xda-developers.com/apps/magisk/viperfx-t3667145[/COLOR][/SIZE][/B]
Introduction:
ViPER4Android is very popular audio mod around the world of Android and probably the best audio mod ever made. But there is so many complexity ViPER4Android couldn't go further through, so I wish "ViPER-FX" could be a project to let our beloved ViPER4Android step in advance. Original V4A details at ViPER4Android Official forum.
Modifications:
+ Based on ViPER4Android v2.5.0.5
+ New Material UI and Icon
+ App rotation enabled.
+ Default install as system app to prevent task kill.
in MIUI or some rom could be installed as user-app
for IRS compatibility [Experimental]
+ The zip edition includes apk.
Recommendation:
* Magisk Manager, Framework installed.
* Android 5.0+
* To update from ViPER-FX v4.0 (v4.0 only) first remove it.
How to install?
* Flash the zip using Magisk Manager or Custome recovery.
# Track this thread using the URL below.
URL: [url]http://forum.xda-developers.com/showthread.php?t=3535401[/URL]
Thanks To:
Code:
[user=4470081]@topjohnwu[/user] for Magisk Framework.
[user=3901724]@zhuhang[/user] and ViPER520 (Founders of ViPER4Android).
[user=4445176]@guitardedhero[/user] | [user=5704037]@repey6[/user] | [user=5210243]@exodius48[/user] | [user=6118476]@#mrk[/user]
for helping/support/testing.
...and those I forgot to mention.
I spend dedicated time, made pressure on brain and did hard work to make this perfect
If you like my post please hit Thanks and give a rate....
~~ Feel The power of ViPER-FX ~~
Contributors
metaspook
Version Information
Status: Stable
Current Stable Version: 4.1
Stable Release Date: 2017-01-13
The long waited finally come, will try this out.
the title is a bit misleading:
-this is not [Magisk], this is a [Module]
-it's not 100% clear if you packed the Magisk module or if you also offer a modded App (in thread description)
-it also has the same id as @topjohnwu 's module...
id=v4a
name=ViPER-FX
version=Base v2.5.0.5 | MKM v4.0
versionCode=3
author=ViPER’s Audio | Mod by Metaspook
description=ViPER-FX is a system wide audio enhancing software, modified edition of ViPER4Android.
support=https://www.androidfilehost.com/?w=files&flid=143525
donate=http://vipersaudio.com/blog/?page_id=95
Click to expand...
Click to collapse
@metaspook
Can you delete V4A app inside "\system\priv-app\ViPERFX" in next release? Because if V4A app installed inside /system/ there will be no sound improvement by IRS. Tested on my device running MIUI rom, dunno on other rom.
I use sepaker & many times change the IRS, but no sound improvement.
crusader727 said:
the title is a bit misleading:
-this is not [Magisk], this is a [Module]
-it's not 100% clear if you packed the Magisk module or if you also offer a modded App (in thread description)
-it also has the same id as @topjohnwu 's module...
Click to expand...
Click to collapse
Got it... actually I had to make this thread in short time making this of thread n sort it as well as possible is a bit hard something could be missing, but this thread will be more informative, well sorted soon...
Thank you.
exodius48 said:
@metaspook
Can you delete V4A app inside "\system\priv-app\ViPERFX" in next release? Because if V4A app installed inside /system/ there will be no sound improvement by IRS. Tested on my device running MIUI rom, dunno on other rom.
I use sepaker & many times change the IRS, but no sound improvement.
Click to expand...
Click to collapse
Do u'v installed Magisk n flash the zip through it?
B'cz this is a whole new way to dealing with system.
If u did but after that also don't work let me know.
metaspook said:
Do u'v installed Magisk n flash the zip through it?
B'cz this is a whole new way to dealing with system.
If u did but after that also don't work let me know.
Click to expand...
Click to collapse
Yes bro, i already used magisk long time ago.
Recently compared with V4A original (installed as user app /data/app/) & V4A module by topjohnwu, my device can read IRS and has sound improvement.
I don't know this issue is MIUI related or not, but I always get that issue if V4A app installed as system app (/system/app or /system/priv-app).
exodius48 said:
Yes bro, i already used magisk long time ago.
Recently compared with V4A original (installed as user app /data/app/) & V4A module by topjohnwu, my device can read IRS and has sound improvement.
I don't know this issue is MIUI related or not, but I always get that issue if V4A app installed as system app (/system/app or /system/priv-app).
Click to expand...
Click to collapse
OK I'll release next update separately..
I can't tell whether or how this differs from the existing V4A module offered by topjohnwu.
Cool. I'd like to try this out. I just had some questions:
1. What do these commands do:
Code:
/data/magisk/sepolicy-inject --live -s mediaserver -t mediaserver_tmpfs -c file -p read,write,execute
/data/magisk/sepolicy-inject --live -s audioserver -t audioserver_tmpfs -c file -p read,write,execute
2. Why are the following folders blank?
Code:
system/etc
system/lib/soundfx
system/vendor/etc
oreo27 said:
Cool. I'd like to try this out. I just had some questions:
1. What do these commands do:
2. Why are the following folders blank?
Click to expand...
Click to collapse
1. It helps to keep Viper FX alive in SELinux enforcement.
2. Into these directories necessary files will be extracted or pulled from original /system.
Thanks to wanna know. :good:
metaspook said:
1. It helps to keep Viper FX alive in SELinux enforcement.
2. Into these directories necessary files will be extracted or pulled from original /system.
Thanks to wanna know. :good:
Click to expand...
Click to collapse
Oh. I didn't think to check in the update-binary. It feels like this is a complicated script for sure:
Code:
# Push files
unzip -oq $ZIP "system/*" -d $MODPATH
unzip -pq $MODPATH/system/priv-app/ViPERFX/ViPERFX.apk assets/libv4a_fx_jb_$DRVARCH.so > $MODPATH/system/lib/soundfx/libv4a_fx_ics.so
ui_print "[OK] Pushing files."
# Config files modification.
for X in /system/etc/audio_effects.conf /system/etc/htc_audio_effects.conf /system/vendor/etc/audio_effects.conf; do
cp -af $X $MODPATH$X
sed -i '/v4a_fx {/,/}/d' $MODPATH$X
sed -i '/v4a_standard_fx {/,/}/d' $MODPATH$X
sed -i 's/^libraries {/libraries {\n v4a_fx {\n path \/system\/lib\/soundfx\/libv4a_fx_ics.so\n }/g' $MODPATH$X
sed -i 's/^effects {/effects {\n v4a_standard_fx {\n library v4a_fx\n uuid 41d3c987-e6cf-11e3-a88a-11aba5d5c51b\n }/g' $MODPATH$X
done; ui_print "[OK] Config modification."
Does this mean that if I uninstall this mod, Viper is completely uninstalled without any changes present in my entire device? If so, it's a pretty good implementation.
Nice! Works just fine on my Nexus 6. Will this be submitted to the Magisk repo? Would be useful to have it in the manager...
oreo27 said:
Oh. I didn't think to check in the update-binary. It feels like this is a complicated script for sure:
Code:
# Push files
unzip -oq $ZIP "system/*" -d $MODPATH
unzip -pq $MODPATH/system/priv-app/ViPERFX/ViPERFX.apk assets/libv4a_fx_jb_$DRVARCH.so > $MODPATH/system/lib/soundfx/libv4a_fx_ics.so
ui_print "[OK] Pushing files."
# Config files modification.
for X in /system/etc/audio_effects.conf /system/etc/htc_audio_effects.conf /system/vendor/etc/audio_effects.conf; do
cp -af $X $MODPATH$X
sed -i '/v4a_fx {/,/}/d' $MODPATH$X
sed -i '/v4a_standard_fx {/,/}/d' $MODPATH$X
sed -i 's/^libraries {/libraries {\n v4a_fx {\n path \/system\/lib\/soundfx\/libv4a_fx_ics.so\n }/g' $MODPATH$X
sed -i 's/^effects {/effects {\n v4a_standard_fx {\n library v4a_fx\n uuid 41d3c987-e6cf-11e3-a88a-11aba5d5c51b\n }/g' $MODPATH$X
done; ui_print "[OK] Config modification."
Does this mean that if I uninstall this mod, Viper is completely uninstalled without any changes present in my entire device? If so, it's a pretty good implementation.
Click to expand...
Click to collapse
1. The code I wrote looks a bit complicated but its for to reduce the size of the module (you can see I didn't packed the driver separately, codes are extracts those from the apk) and for more task will be done in less lines.
2. Yes.. obviously that's why using Magisk framework is so useful. It wont change anything in /system while installing nor in uninstalling your /system would be intact.
Didgeridoohan said:
Nice! Works just fine on my Nexus 6. Will this be submitted to the Magisk repo? Would be useful to have it in the manager...
Click to expand...
Click to collapse
Thanks... yes I wish also soon.
exodius48 said:
Yes bro, i already used magisk long time ago.
Recently compared with V4A original (installed as user app /data/app/) & V4A module by topjohnwu, my device can read IRS and has sound improvement.
I don't know this issue is MIUI related or not, but I always get that issue if V4A app installed as system app (/system/app or /system/priv-app).
Click to expand...
Click to collapse
Actually I pushing the apk into the system cause if Viper install as user app in data, 3rd party or internal app killer kill it and Viper looses to output the effect even also when remove from recent list. but I have an idea if its just happens with your MIUI rom... can you give me your ROM's 'build.prop" file ???
Is not working for me, IS activated on Magisk Modules Install,
But V4A say "Install/Update now?", Samsung S5 G900m, Is rooted using SuperSU 2.79, Latest Magisk Manager/Installer,
I Installed this V4A why magisk "Refuses" to open Modules download page "No Modules Found", And i have to download manually from internet. (SafetyNet says RED, Root and Magisk is green in Magisk Manager)
V4A is installed as System App, And SELINUX is Permissive,
I Try to change V4A to user APP, But not working;
metaspook said:
Actually I pushing the apk into the system cause if Viper install as user app in data, 3rd party or internal app killer kill it and Viper looses to output the effect even also when remove from recent list. but I have an idea if its just happens with your MIUI rom... can you give me your ROM's 'build.prop" file ???
Click to expand...
Click to collapse
Yes you're right. But on MIUI (especially MIUI 8 on my device) i can control it. We can lock app into taskbar and turn off MIUI optimization for selected app by turn off background restriction. Those will prevent MIUI kill running app.
build.prop file attached. :good:
metaspook said:
1. The code I wrote looks a bit complicated but its for to reduce the size of the module (you can see I didn't packed the driver separately, codes are extracts those from the apk) and for more task will be done in less lines.
2. Yes.. obviously that's why using Magisk framework is so useful. It wont change anything in /system while installing nor in uninstalling your /system would be intact.
Click to expand...
Click to collapse
This is pretty good. I installed this and it's working great. Just a quick question, I don't suppose it can work on phone calls as well? I was looking to get my bluetooth volume increased.
oreo27 said:
This is pretty good. I installed this and it's working great. Just a quick question, I don't suppose it can work on phone calls as well? I was looking to get my bluetooth volume increased.
Click to expand...
Click to collapse
Not sure about it... Test urself, look can work or not

Categories

Resources