Viper Step to run on Lollipop rom with permissive kernel - Android Apps and Games

First copy the file libv4a_fx_jb_NEON_SQ.so from assets folder which u get after extracting viper.apk file with root explorer to the system\lib\soundfx folder
Then open audio_effects.conf which is under etc folder. Then rename all line where libv4a with the above filename(libv4a_fx_jb_NEON_SQ) which we copy to soundfx folder Then save the configuration file and restart mobile and then open viper. If ask for driver then install and restart again. Now it will not ask for driver.
u need to decompile using root explorer or else... then only u can find assets folder under apk file of any viper app
This method will work for every version on any lollipop ROM but kernel with permissive only.
Only for Dev: as I don't have time to decompile this...
I request dev to kindly decompile the Viper file to copy the exact JB file to Sound FX folder, bcoz currently it copied ICS file which is for 4.0 or 4.3 version also need to chk audio_effects.conf file should contain the same JB filename not with ICS.
Chk this and let me know for any issues
Also Filchi756 and Beefheart : Kindly include this step in the OP or you can decompile the Viper apk file...
Thanks to Filchi756 and Beefheart to getting the source file of Viper.apk for Lollipop...

Related

Circular battery mod for all firmwares(easiest way)

Instructions:
copy "framework-res.apk"to your PC
Rename .apk to .rar(zip) then right click"framework-res.rar"then extract it with WinRAR(WinZip)
Enter framework-res\res\drawable-hdpi and select"stat_sys_battery_0.png" to "stat_sys_battery_100.png",total 101 pictures which from your sources folder and copy all of them to the destination,replace older files like these
When you finish doing that back to find folder"framework-res",then use WinRAR OR 7zip(i used 7zip) to compress it to a .APK file the"archive name" is end with .apk And "Compression method" is "Store"
Modify the attribution of this apk!(from root explorer).
Its attribution is "rw-r--r--"
Modify with Root Explorer or other programs and now copy "framework-res .apk in system/app
Reboot...
n u r with your new battery mod
LINK------http://www.mediafire.com/?6o7r6wy2gu3bnyw
NJOY frnds !!!!
IF BY ANY MEANS I HELPED U,PLEASE HIT THANX
akshatsourav said:
Instructions:
copy "framework-res.apk"to your PC
Rename .apk to .rar(zip) then right click"framework-res.rar"then extract it with WinRAR(WinZip)
Enter framework-res\res\drawable-hdpi and select"stat_sys_battery_0.png" to "stat_sys_battery_100.png",total 101 pictures which from your sources folder and copy all of them to the destination,replace older files like these
When you finish doing that back to find folder"framework-res",then use WinRAR OR 7zip(i used 7zip) to compress it to a .APK file the"archive name" is end with .apk And "Compression method" is "Store"
Modify the attribution of this apk!(from root explorer).
Its attribution is "rw-r--r--"
Modify with Root Explorer or other programs and now copy "framework-res .apk in system/app
Reboot...
n u r with your new battery mod
LINK------http://www.mediafire.com/?6o7r6wy2gu3bnyw
NJOY frnds !!!!
IF BY ANY MEANS I HELPED U,PLEASE HIT THANX
Click to expand...
Click to collapse
First copying framevork apk to app folder does nothing, second just adding new graphics to apk without modding xml files does nothing.
I suppose that you have already modded framework (first Chinese rooted ROM had this modd in framework-res.apk) and replaced those .pngs and there is no need to rename and compress just drag and drop using winrar. Of course you could not have any effect if you did not copied this apk to your root/system/framework folder.
There is also charging graphics, after all without modding xml files you can only see few graphics (battery level 0, 10, 20, 40...). And dangerous thing is replacing framework apk with another from other ROM version will end up with "bootloop"...
nedooo said:
First copying framevork apk to app folder does nothing, second just adding new graphics to apk without modding xml files does nothing.
I suppose that you have already modded framework (first Chinese rooted ROM had this modd in framework-res.apk) and replaced those .pngs and there is no need to rename and compress just drag and drop using winrar. Of course you could not have any effect if you did not copied this apk to your root/system/framework folder.
There is also charging graphics, after all without modding xml files you can only see few graphics (battery level 0, 10, 20, 40...). And dangerous thing is replacing framework apk with another from other ROM version will end up with "bootloop"...
Click to expand...
Click to collapse
and if i hav a cwm backup i can restore it.....so wat
is a problm it trying...?

[Q] Issue decompiling apk with apk manager

I have apk manager 5.02 which I can de-compile framework and recompile with out any issues.
I downloaded the stock 2.08 sense 3.5 rom and used explore2fs to extract the contents of the system.img file. From there I then put htcdialer.apk file into apk manager to decompile it and I get the following errors:
See attached log file as it is too big to put into the forum.
Any ideas why the apk file is not decompiling?
I dont hink that apkmanager can correctly decompile sense 3.5 apks, I could be wrong but i could never get them to work properly
If APK Manager and Tool cant extract even GB ROM apks is there a way of extracting and editing xml files? I tried 7zip and I can edit images but XML's do not extract correctly
Really interested to see how to edit XML files if APK Manager and APK Tool cant decode the APK's.
Found out what I was doing wrong!! When decompiling the apk file I wasn't adding the dependancy. So for example when I was decompiling the systemui.apk, I was simply using option 9 to decompile which is not right!
What you need to do is copy the systemui.apk file in to place-apk-here-for-modding
Then find the dependency framework so for example the systemui.apk depends on com.htc.recources.apk. So pull this from your phone on to the desktop and then use option 10 to decompile. It will then prompt you for the dependancy apk file. Drag that on to the command window and press enter and it decompiles! It is easy when you know how
Also when you recompile you will probably get errors...You need to take the newly created classes.dex and drop it into the original apk then push to your phone
Where can I find the dependency file??
I got the same problem when I try to Decompile any system app, like "SystemUI.apk" or "Settings.apk" ...etc
Now I understand from you that I need a dependency file, Where can I get it??
I use Samsung Galaxy SL (I9003), Rooted and Deodxed
i use samsung galaxy mini. can i use apkmanager to decompile any apk for my device......by pressing 9 directly.....? i want to decompile settings.apk....thnx in advance......

[Guide]Create Custom ROMs | Modify Apks

Hello xda.
This is a Guide to help anyone who wishes to create custom ROMs. This Guide aims to be as complete as possible, and will give all information related to creating a custom ROM... editing apks, adding or removing apps, de-odexing apps, and so on.
Al suggestions to improve upon this guide are welcome.
0. Pre-requisites
Click to expand...
Click to collapse
Credits to...
1. puppet13th... My mentor, teacher, and a great friend.
2. Wanman... ApkTool for ICS
3. langthang... For a great Guide on Creating Update Script
4. lokeshsaini94... For lots of help
Downloads
You need to Download the following...
1. Apk Tool [link(ICS)|link(GB)]... A tool for De-Compiling apks
2. 7 zip [link]... A tool for un-compressing any sort of compressed file
3. ROM signer [link]... Restores the signing of the ROM zip file, which is messed up while uncompressing
4. Any Image Resizer​
Setting up your PC
You need to do the following...
1. Create a folder (preferably in Desktop, and name it "Android")
2. Create Sub-Folders by the names "Base ROM" and "Custom ROM". Also make Sub Folders by the name...
a. ApkTool... Extract contents of ApkTool Here
b. Signer... Extract Autosigner here​
I. Let's get our Base ROM
Click to expand...
Click to collapse
You need to get the base ROM in the ./Desktop/Base ROM folder. It is also recommended that you flash the Base ROM into your phone, as it will help in testing the mods, as you make them.
The process of getting the base ROM will depend on the scenario your situation fits in, from amongst the following...
1. You want an already made Custom ROM as your Base... Download the ROM [willl come in .zip folder], and extract it in /Desktop/Android/Base ROM folder
2. You want to base your ROM on a stock firmware, which came in an ftf package... Use the following tool to extract the files from the ftf file.
3. You want to base your ROM on a stock firmware, which is instaled on your phone...
Take a back up of the ROM using ClockWork Mod, and copy the back up files (from /sdcard/clockworkmod/backup), somewhere to your computer. Then, using this tool, extract the files to /Destktop/Android/Base ROM
Copy the following folders from /system of your phone using Root Browser
/app
/bin
/etc
/fonts
/framework
/lib
/media
/semc
/usr
/xbin
build.prop​
4. You want to base your ROM on a stock firmware, that comes as a ready to flash .zip file on the internet... Download the ROM, and extract it in /Desktop/Android/Base ROM folder
After completion, the Base ROM will have the following Folder Structure
Desktop
Android
Base ROM
META-INF [only if you got your base from another Custom ROM][/INDENT][/INDENT][/INDENT]
system
apps
bin
etc
.
.
.
data [may be]
Click to expand...
Click to collapse
*ScreenShots*
Copy the contents of Base ROM folder to Custom ROM folder.
We now have the foundation of our ROM laid out in front of us, inviting us to show our creativity.
II. Let's work on the Base ROM... Creation of the Custom ROM
Click to expand...
Click to collapse
A. Apks Make up the Android System...
We will now work, only on the /Desktop/Android/Custom ROM Folder
1. Look into the /system/apps...
You will find apk files which will be raninging frm 100 to 200 in number. Err, half or more are known as "Crapware". You need to remove files which are useless, that's a very important step to enhance performance of your final ROM. Look into your device's forums, to get the list of Safe-To-Remove appks from the respective firmware. In case your base is an already built custom ROM, you will have to remove lesser or none of the files.
2. Here, you can add your desired files as well, keeping compaitability in mind.
3 [Optional]. On a .txt file, keep a record of all the apps your removed or added, as it will help in troubleshooting at a later stage.​
B. Implementing Already-Built-MODs in your ROM...
1. Download any Mod you want to keep in your ROM [Make sure your device, and the Base ROM is compaitable]
2. Extract the zip file and you will get a system folder.
3. Copy the files from the system folder to /Custom ROM/sytem, making sure the files go into the folders they came from.
That is, all apk files from /system/apps folder of the Mod should go to /Custom ROM/system/app folder, and so on...​
C. Changing the Interface... Let's Mess with SystemUI[nterface].apk
Go to /system/app and copy SystemUI.apk to
/Desktop/Android/ApkTool/place-apk-here-for-modding
Working with ApkTool
The link provided in this post is of an easy to use software called ApkTool.
1. Double Click on the Script.bat file to open up the software.
*Screenshot*
2. Decompress the SystemUI.apk using option '9'.
Wait for the process to complete
3. Go to /Projects, and you will find a folder called SystemUI.
Open the /SystemUI.apk/res/drawable folders and you will find lots and lots of .png files
*Screenshot*
4. Look into the files carfully.
Bingo, they correspond to the various system elements of the SystemUI of the Base ROM.
5. Open any file you want to edit, edit it, and save in the original location, replacing the original un-edited file. [On a temporary notepad file, note which all files you edit]
Note: You will notce that there are .png files for, say the Battery Icon. You will find that there are files for each state of the Battery Icon. So if you intend to edit the Battery Icon, you need to edit all the files corresonding to each of the states.
5.A. A common exaple of such editing is making the elements of a Gingerbread SystemUI.apk look like ICS SystemUI.apk. For this get hands on any ICS SystemUI.apk and extract both the files in seprate locations, and then copy the files from the ICS SystemUI folder to GB SystemUI folder. However, here you must make sure that the names of the files coming from ICS SystemUI are changed to corresponding values of the GingerBread SystemUI.apk. Here, also ensure that the new files, which replace the original files, have the same dimensions as the original files. If not use any image resizing tool.
*Screenshot*
6. If you want to edit some values in the .xml files, carry on. Edit the files as you wish, and replace the original files. Once you are done with the editing...
7. Open the Script.bat file and run command 11. [Say NO when it asks if the file is a system file]You will have a new SystemUI.apk file called unsignedSystemUI.apk in /place-apk-here-for-modding folder.
Go and fill your pockets with some cookies from the kitchen. Start having them.
8. Keep the temporary notepad file on one side and open the unsignedSystemUI.apk with 7zip, and open the original SystemUI.apk using 7zip besides it.
*Screenshot*
9. Drag and extract the files you edited to a temporary folder.
10. Drag the extracted files to the SystemUI.apk, replacing the older files, making sure all the edited files go to the proper place. [That's why I asked to keep a note of which all files were edited].
*Screenshot*
11. If you edited some .xml files, then you MIGHT need to copy the resources.acrc file at the root of the unsignedSystemUI.apk file to the root of the original SystemUI.apk file.
Once done, the original SystemUI.apk has now become a modded SystemUI.apk, with your creativity embedded into it. Time to test the SystemUI.apk.
12. Using Quick ADB, push the edited SystemUI.apk to your phone.
*Screenshot*
13. Re-boot your phone and you shoud see the changes you made in the UI. .
In case it gives force close message, you messed up somewhere. So you will have to push the original SystemUI.apk [from /Base ROM/system/apps folder], and try to mod the file from scratch again.
14. Copy the sucessfully modded SystemUI.apk from /Apktool/place-apk-here-for-modding folder to /Custom ROM/system/app folder, replacing the older file.​
D. Changing the Interface... Editing other .apks
1. As earlier, copy the apk you want to edit from /Custom ROM/System/app to /Apktool/**** folder, and perform the modification to optain a new modded .apk file.
2. Test this file if you wish, by pushing it using Qucik ADB.
3. If the modded file wrks, copy this new file to /Custom ROM/System/app and replace the original file​
E. Changing the Interface... Editing the font
1. Take your desired font.ttf file and rename it as DroidSans.ttf..
2. Go to the folder system/fonts/
3. Now, replace the file DroidSans.ttf with your desired DoridSans.ttf...
4. To change the lock screen clock font...replace the Clocktopia.ttf with your desired one (rename first)...​
If you did a good job in the above steps, the /Custom ROM folder should be having the contents of a wonderful ROM in making.
Here, I will like to mention that, if you want to upload your custom ROM on the internet and share it, you must ensure that you did lots of hard work in the above steps. There's no point making a custom ROM without modifying lots of files and adding lots of tweaks.
Just make sure that you do so much of modding that, say, your Gingerbread ROM looks like Jellybean, or say, your ROM made for Galaxy Y works as smooth as an SIII.
III. Compiling the Custom ROM
Click to expand...
Click to collapse
A. If you got your base ROM as in [1 or 4] in step I above
1. Copy the META-INF folder from /Base ROM to /Desktop/Android/Custom ROM
2. Rename the Custom ROM folder to whatever-you-want-your-ROM-to-be-called.
3. Add the Folder to a zip file using 7zip.
4. Take this zip file to /Desktop/Android/Signer folder and run sign.bat.​
X. The new zip file called Update.zip is your ROM.
Copy this file to the SD Card of your phone, format /system, /data, /cache using CWM and flash your .zip file. And enjoy your custom ROM.
B. If you got your base ROM as in [2 or 3] in step I above... Creating your own Update script
Read the following Tutorial. [link]
Once you are done, try the ROM on your phone. Share it if you feel it's great. And hit Thanks Button.
Reserved
Reserved2
nice guide!
thanks for the tutorial.
Nice guide, continue finish it.:good:
Awesome
Adds some more tutorial please:thumbup:
Thanks for your work
Inviato dal mio GT-N7000 con Tapatalk 2
Please also add link to original thread....
Btw .. Nice guide....
In 1. Looking into system apps... you should delete .apk as well as .odex files when you want to remove an app... Like browser.apk and browser.odex... Many peoples won't delete them....
Sent from my GT-S7500 using xda premium
Thanks for this nice guide. :highfive:
Please add the placeholder *Screenshot* s :good:
beautiful
Thanks a lot for this beautiful guide. Loved it
i tried it ............
i followed the guide n tried editin my custom rom technoduos on sgy duos GT-s6102
all i did was extract the rom using CWM and then added removed some apps at /system/apps
no other tweaks just addin n removin apps dats all then compressed it n signed it
then wen i flashed it on my set it worked (yayyyyyyy)
but there were some problems the apps which i del were gone but the ones i added were not there ..........
also wen i flashed the rom again the apps which were del were back how is it possible i made sure i had del em
plz help
thank you very much for your tutorials are very helpful to me
nice guide! thx
Nice Guide...
Thanks for the hard work to track down all this information and publish for us.
Thanks
Thanks... im gonna give this a whirl
Sent from my SGH-T999 using Tapatalk 2
R: [Guide]Create Custom ROMs | Modify Apks
Very useful giude thanks ; )
Inviato dal mio GT-N7100 con Tapatalk 2
:Good:
Sent from my potato oO
thanks

[Tutorial][Guide] How to make a CWM flashable zip

Tutorial on [how to] make a flashable zip 
Credits:
Special Thanks to google.com for teaching me  and rishik999 for sample.zip
---------------------------------------------------------------------------
REQUIREMENTS
- Any file that you want to replace or add to your phone;
- An existing (base) cwm flashable zip file. - I've attached one below;
- 7-zip, Winrar or any program which can open and modify zip files .
STEPS:
DIRECTORY STRUCTURE:
(1) Download and place the base.zip (attached below) anywhere on your desktop;
(2) Right-click on it and open the archive with 7zip, winrar ... [DO NOT extract]
Now you should see two folders: one called "system" and one called "META-INF".
1. Let's start with the "system" one, so open it:
In there, will go all files that what you want to add or replace to the system. So let's say for example that you want to replace the bootanimation.
Make a "New Floder"
-Rename its as "media" (make sure its aint in CAPS nor with in quotation marks)
-drag those two new empty folders into the /system/ folder of the 7-zip opened archive
-now simply drop the two files in their respective place: the bootanimation.zip file should go in '/system/media' folder
.. If you have more files to add, just follow the logic above; I'm sure you get the idea by now.. :silly:
Hints
/system/app - all the system apps (SystemUI.apk etc)
/system/framework/ -framework-res.apk,android.policy.jar
/system/media - bootanimation.zip
/system/lib - libraries (*.so)
2. The other folder included in the opened archive is named "META-INF" and all the file in it should be left unchanged.
Now,just place the zip into your sd card! & try your luck  Of course it will work 
That's it !
Hihihihi...damn easy na ???
Common friend ..dont be a noob ..be a newbiee !!
HIT THANXXX !!
NOTE: Always backup your existing system file that you are going to replace by the patch(zip).
Here is the sample.zip which u can use to make any sort of flashable zip file
Deleted : Solved
kk9999gada said:
Where are Credits?
Click to expand...
Click to collapse
2nd line
Deleted : Solved
Edit : Done
thanks
i will try... :laugh:
Thanks, I will try it
Thanks will tryyy...
Sent from my Sony Ericsson Xperia Mini Pro(SK17i) using Tapatalk 2
How to make a flashable zip of a recovery.img?
Sent from my GT-S7500 using Tapatalk 2
video recorder problem
hello, I use the camera fix for CM10.1.
It works awesome but the video recorder cannot work after fixing.
Before fixing, I use both stock camera and camera jb+.
Video recorder can wok on camera jb+ then.
But it cannot work after flashing fixing camera jar via cwm!
How should I do ?
Warning:No file context!
Does this sentence "Warning:No file context" might affect the phone recovery????
Thumbs Up Bro !!
You made my day !!
learned something new...
Really nice thread.
I wanna ask that i want to edit my build. Prop file. So in case if anything goes wrong can i flash the original one via this method or it will work only for apps.
Because i once had modified it but stucked at bootloop. So i don't want it to happen again.
coolsid. said:
Really nice thread.
I wanna ask that i want to edit my build. Prop file. So in case if anything goes wrong can i flash the original one via this method or it will work only for apps.
Because i once had modified it but stucked at bootloop. So i don't want it to happen again.
Click to expand...
Click to collapse
It'working for every single file that's in the android os...i allways backup in a flashing zip the original files that i am tryng to change/mod
Sent from my GT-S7500
HEY BUDDY YOU SAID THAT..
Make a "New Floder"
-Rename its as "media" (make sure its aint in CAPS nor with in quotation marks)
-drag those 'two new' empty folders into the /system/ folder of the 7-zip opened archive
-now simply drop the "two files" in their respective place: the bootanimation.zip file should go in '/system/media' folder
this includes what are the two folders and the two files. Sorry but i could figure out only one. I Want To Make a zip file using your method but don't want to take any risk.

[Q] Edit SettingsProvider.apk to enable an option by default

Hi i want to enable "Unknown Sources" by default, when a ROM flashed.
I know that i need to modify the SettingsProvider.apk, and exactly the file settingsprovider.apk/res/values/bools.xml
Code:
<bool name="def_install_non_market_apps">true</bool>
when i edit this file, and repack, e resign the file, i flash the rom, and the phone not startup, freeze on loading bootanimation.
I use apktool 1.5.2
brunosso said:
Hi i want to enable "Unknown Sources" by default, when a ROM flashed.
I know that i need to modify the SettingsProvider.apk, and exactly the file settingsprovider.apk/res/values/bools.xml
Code:
<bool name="def_install_non_market_apps">true</bool>
when i edit this file, and repack, e resign the file, i flash the rom, and the phone not startup, freeze on loading bootanimation.
I use apktool 1.5.2
Click to expand...
Click to collapse
After you compile it open the modified settingsprovider.apk as an archive with 7zip or winrar and pull out the res folder and then take the original settingsprovider.apk and open that with 7zip or winrar and replace the res folder with the modified res folder you pulled out of your modified apk. You can use VTS to decompile and recompile and key old signature and that will work too.
mkinney88 said:
After you compile it open the modified settingsprovider.apk as an archive with 7zip or winrar and pull out the res folder and then take the original settingsprovider.apk and open that with 7zip or winrar and replace the res folder with the modified res folder you pulled out of your modified apk. You can use VTS to decompile and recompile and key old signature and that will work too.
Click to expand...
Click to collapse
didn't work
is there other solution ?
i want to edit settingsprovider for Android10

Categories

Resources