[TUT] [TEMPLATE] Creating Optimus Black ROM with AROMA Installer - LG Optimus Black

CAUTION! This AROMA tut and template is for ROM Devs and Cooks only.
I have been getting requests from my fellow devs for AROMA configurations for Optimus Black P 970.
I hope this will jump start all ROMs here to adopt AROMA.
So here it is for all ROM devs and ROM cooks who want to use AROMA in their ROM.
I attached the AROMA template to be used. This is compatible with our OB Black. This is from Marvel v 9. I tried to explain the aroma script one by one in order for it to be understandable to anyone.
Ofcouse, lets give credit to amarullz for this wonderfull AROMA installer made available to all android devs.
What you need:
1. PC / Mac.
2. Your ready ROM for building/cooking.
3. Notepad++
4. Your modified aroma script from my attached template script.
Steps:
1. Of course, download the attached file.
2. Extract the folder META-INF in any folder.
3. Go to your ready to cook ROM, go to META-INF\com\google\android\ and copy the updater-scipt and the update-binary files to any folder of your choice.
4. Rename the update-binary to update-binary-installer
5. Delete the folder META-INF folder in your ROM.
6. Copy the whole folder from step 2, to the root directory of your ROM.
7. Copy the 2 files from steps 3 and 4, to the folder META-INF\com\google\android\ from step 6.
8. Then, go to META-INF\com\google\android\ and open the aroma-config file using Notepad++
9. There you will find the aroma script that I specially made for OB Black, every script is explained that if you want to change it, you can.
10. Build/Cook your ROM.
11. Flash the .zip file in CWM Recovery.
12. Congratz to your first AROMA installer ROM.
Enjoy!

thank you very much!
good tutorial

Great contribution... You have saved me a lot of work when I decide to adopt AROMA on my stuff...
Regards!

We can discuss OB AROMA specifics here. Just post your questions and I will try to give answers.

okay first question here
- is it possible to play a sound file during the process ?

Ilko said:
okay first question here
- is it possible to play a sound file during the process ?
Click to expand...
Click to collapse
Nope
Sent from my LG-KU5900 using Tapatalk 2

Ilko said:
okay first question here
- is it possible to play a sound file during the process ?
Click to expand...
Click to collapse
As of the latest version. Audio playing is not supported. I can ask in the AROMA tread, if this can be supported in the future. This can be a good addition.

Related

[Q] How to convert an official rom (.tar) into cwm flashable zip ?

My question is that I want to convert a stock rom (.tar format) into cwm flashable zip having customised features like :-
rooted with su
busybox
zipalign
deodexd
Can somebody help me pls...........
really need to cutomise my stock rom myself
no replies ???
Try dsixda kitchen.Search and you would find it.The thread has the tutorials.Though it is not compatible with note you could do basic operations like deodexing,zipaligning etc...
vijai2011 said:
Try dsixda kitchen.Search and you would find it.The thread has the tutorials.Though it is not compatible with note you could do basic operations like deodexing,zipaligning etc...
Click to expand...
Click to collapse
Yes, Kitchen works great for deodexing, zipaligning and signing Roms, but doesn't create correct updater scripts for me.
I use x ultimate to deodex.
Here are guides I found helpful when I wanted to cook it myself
(My gratitudes to thering1975, gadgetcheck, HumanoidTalking and original_ganjaman)
http://forum.xda-developers.com/showthread.php?t=1441409
http://forum.xda-developers.com/showthread.php?t=1132724
-----
PS
If cp command does not work use busybox cp to replace odex files.
Deodexing and zipaligning is not development may be I'll share my rom when I learn more
chasmodo said:
Yes, Kitchen works great for deodexing, zipaligning and signing Roms, but doesn't create correct updater scripts for me.
Click to expand...
Click to collapse
But it worked for me.Did you change to edify after doing chances in the kitchen?
I almost forgot the options because I fully switched to manual thing because Its good for starter but not for persons who need to become a pro

[TWEAKS & MODS] Boost your Phone and Make it Awesome

YOUR PHONE IS NOW VOID, IM NOT RESPONSIBLE IF YOUR PHONE BRICKED.
Introducing: Pimp My Rom
Tested using CyanVivo X Reborn by szezso and 100% working
Note: This is not a ROM! this is tweaks/MODS/Hacks etc. for your phone.
This is compatible with any ROMS
as long as you rooted your phone and init.d support I mean custom kernel
and CWM or any other recovery
DOWNLOADS FOR YOUR DEVICE :angel:
Google Play Link : https://play.google.com/store/apps/d...de.pimp.my.rom
MIRROR : http://d-h.st/Xxl
INVERTED APK (for MIUI) : http://d-h.st/pDC
AROMA VERSION : http://goo.im/devs/Androguide/Pimp my Rom
RESCUE PACKAGE (Flash this if you got bootloops) : http://d-h.st/T1f
INSTRUCTIONS
->Make a nandroid backup
->Download the app
->Install it like you would with any apk
->Click the rescue package section in the app and download the rescue package
->Choose and apply the tweaks you want, make sure you read the descriptions and instructions in-app
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
For any Issues Visit the Original Thread.
Original Thread Here: http://forum.xda-developers.com/showthread.php?t=1908269 (All the Details are here, just visit for more further Informations.) Hit thanks for them!
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
After all these installing progress and some housekeeping, you can now feel the boost of your Phone!
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Credits to the Developers/Owners/ etc. . .
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Note: I don't own this app or anything :good:
Thaaaaaaaaaaanks!
Boot animations are not downloading.I downloaded the Sci-Fi Droid Boot-Animation manually but where is the download folder of pimp my rom ?
supremazy said:
Boot animations are not downloading.I downloaded the Sci-Fi Droid Boot-Animation manually but where is the download folder of pimp my rom ?
Click to expand...
Click to collapse
About that boot-animation, I see that it's not working on some device. I recommend that do not use that setting. Just restore your backup boot-animation. But if you are willing to change your boot-animation, just use this method.
-Search some boot animations on forum search then. . . download it, place it to your SD-card
-Use Es-Explorer or any Root explorers
-Set up into Up until root directory and Mount system as R/W
-Go to /system/media/ as you can see the boot animation, rename the original bootanimation.zip to bootanimation.zip.bak that you can restore it anytime if you screwed up.
-Copy the downloaded bootanimation.zip to /system/media (If the downloaded file has another file name, just rename it into bootanimation)
-After that, long press the bootanimation.zip file and go to properties, set it up as readable.
-Restart your device, then. . . boom! :good:
how does it work?
batculp said:
how does it work?
Click to expand...
Click to collapse
It works awesome on Sense based Roms for me.
Sent from my HTC Incredible S using xda app-developers app

[3.0.0 beta] EVilTheme: VRTheme Reborn

About
Eviltheme (Enhanced VillainROM Theme Engine) is an Android system modification platform meant for use with custom Android recoveries.
It allows modification of application resources without the need to replace the whole app or install a new operating system.
Eviltheme is based on the VRTheme Engine from 2011, though versions 3.x.x and up heavily differ from the original VillainROM code.
Disclaimer
Eviltheme is provided to you without warranty. You are free to try it on your device, but you are doing so at your own risk. I will not be responsible for bricked devices, wiped devices, etc.
Features
Automatic systemless mode with version 3.x.x+ (Magisk required, version 13.1+ recommended)
System mode fallback in case Magisk is not present
Supports both Dalvik and ART platforms
Smart bytecode refresh (delete classes.dex/classes.art only if it is replaced by the theme)
Easy uninstallation via automatically generated flashable ZIP or through Magisk Manager (if installed systemlessly)
Delete files (even inside APKs)
Support for pre/post-(un)installation scripts
Support for dual /system partitions
Downloads
Latest beta: 3.0.0-beta4
Last 2.x release (no systemless support): 2.0.6
Changelogs
GitHub
Documentation
Second post
Help
Third post
Credits
The VillainROM team
@djb77
@Spannaa
@topjohnwu
Source code (GPLv3)
Eviltheme main repo
Eviltheme restore ZIP repo
Documentation
Things to remember​
Compile your res/smali/etc files first before you put them in your theme! You can use APKtool for that, then just extract the files from the resulting APK.
Theming user apps is not supported, because modifying the contents breaks the signature.
Remember to properly edit .9.png files, or else you might get a bootloop!
You do not need to put theme files in a subfolder inside the main APK folder, e.g. /system/priv-app/SystemUI/SystemUI.apk. EVilTheme automatically does that for you.
Do I need to download the official Magisk module template?​Nope! EVilTheme includes post-fs-data.sh, service.sh, and system.prop. Look for them in META-INF/tk/aureljared/magisk-common and edit them to your liking. The module.prop is automatically generated from information you put in eviltheme.prop.
In the event that the official module template is updated, I will update EVilTheme to ensure compatibility as soon as I can.
How do I theme an app (or apps) using EVilTheme?​Inside the ZIP, there are three folders that you can modify as needed; namely, data, system, and vrtheme.
Your patches/theme files go in vrtheme, while APK files that you want to install onto the device go in data and system.
For example, you want to theme Settings.apk, which is located in /system/priv-app.
Let's say your theme replaces res/drawable-hdpi/battery_icon_50.png in the APK, and also replaces classes.dex because you changed some smali files.
These are the steps you need to follow to make a flashable theme ZIP:
Ensure you've downloaded the appropriate template ZIP. Make a folder somewhere you can remember and extract the ZIP there.
The folder should now contain the folders META-INF, data, system, vrtheme, and a file called eviltheme.prop.
Open eviltheme.prop in a text editor (please use Notepad++ if you are on Windows!) and add your theme information there.
In the vrtheme folder, go to system and make a new folder called priv-app. Inside it, make another folder called Settings.apk. Make sure you capitalized correctly!
Now make folders as necessary, according to the location of the files you want to theme. For example, battery_icon_50.png is located in res/drawable-hdpi, so make a folder named res inside Settings.apk. Inside it, create a folder named drawable-hdpi, then paste your new battery_icon_50.png inside.
Repeat step 5 until you've placed your theme files in their appropriate locations.
When you're done, go back to the root folder of the theme (the one that contains new, vrtheme, etc.) and put all 5 objects in a ZIP file. You should use Deflate compression method only. Any compression level will work.[/u]
If the recovery that the theme is intended to be used with requires signing, sign the ZIP now.
Test your theme! :victory:
How do I uninstall a theme?​If the theme was installed systemlessly, remove it in Magisk Manager.
Otherwise, flash the relevant zip in /data/eviltheme-backup.
How do I delete files inside APKs to be themed?​To delete files, add the filenames to a text file named "delete.list" inside the APK theme folder.
This is an example of a delete.list:
Code:
res/drawable-hdpi/ic-launcher.png
res/drawable-xxhdpi/battery_full.9.png
How do I delete files that aren't inside APKs?​You will also need a "delete.list". Remember to use full paths:
Code:
/system/app/Bloatware/Bloatware.apk
/system/etc/hosts
Put that in the "vrtheme" folder.
How can I exclude deleted files from being backed up?​Eviltheme versions 3 and up will automatically back up files that your theme deletes (in non-systemless mode).
To exclude a file, add "no-backup" to the end of the corresponding line in vrtheme/delete.list.
Code:
/system/app/Bloatware/Bloatware.apk [B]no-backup[/B]
How do I force installation on /system?​Eviltheme versions 3 and up will automatically install in systemless mode with Magisk 13.1+, but if you want to force your theme to install to /system, create a file named .eviltheme-force-system (notice the preceding dot) in /sdcard before installing.
I need to execute some commands during the theme (un)installation.​Inside META-INF/tk/aureljared/eviltheme, there are files named "pre-install.sh-example", "post-install.sh-example", "pre-uninstall.sh-example", and "post-uninstall.sh-example". Remove the "-example" part from the file name of your desired script, and edit that file in the text editor (please please please use Notepad++ if you're on Windows).
Use the comments in that file as a guide.
Help section
The theme wasn't successful, and I believe that the problem lies in the engine itself.​Post here describing the problem. Be as descriptive as possible. I will ignore all bug reports without an attached logcat dump and/or recovery.log. I'll try to look into the problem when time permits.
I am just a student, not a full-time developer. I may not be able to provide a fix for some bugs, so feel free to help me and everyone else out. If you know how to work with Git, an upstream patch to the project would be highly appreciated :good:
The theme was / wasn't successful, but I am stuck in a bootloop.​Try wiping your Dalvik cache. If the problem is still there, uninstall the theme and post a bug report in this thread. Include the relevant /cache/recovery.log and the theme you installed.
The theme was successful, but the app I was theming does not reflect my changes.​This is a tough one to solve. Try recompiling the APK itself with your theme files. If it works, it's either the problem lies in how you put the theme files in the ZIP, or maybe it's the script that's buggy. Try to make a ZIP again, following the instructions to the letter. If it still doesn't work, you can file a bug report here and attach your logcat dump, recovery.log, and (if you want) the themed APK.
The theme was successful, and now I'm ready to release my theme to the public.​All I ask for is some credit and a link back to this thread. :fingers-crossed:
The theme wasn't successful, and I found a problem in your engine script(s).​If you're familiar with Git, you can make a pull request to the EVilTheme repository.
If you don't know how to use Git, you can just edit the script(s) you need and send me a PM containing the fixed script(s). I'll add you to the credits list in the first post if your bugfix is effective!
Great work :good:
I particularly like the smart selective dalvik-cache wiping
Maybe it could be even smarter if the script only wipes an apk's dalvik-cache if the apk has had it's classes.dex replaced by the theme...
I'm working on something like this myself but mine is based on the unreleased GS2XFormROM by @hawkerpaul
I'll throw you a link when it's ready
Spannaa said:
Great work :good:
I particularly like the smart selective dalvik-cache wiping
Maybe it could be even smarter if the script only wipes an apk's dalvik-cache if the apk has had it's classes.dex replaced by the theme...
I'm working on something like this myself but mine is based on the unreleased GS2XFormROM by @hawkerpaul
I'll throw you a link when it's ready
Click to expand...
Click to collapse
Let me know if you need any help on the scripting side of things butty.
Sent from my GT-I9505G using XDA Free mobile app
hawkerpaul said:
Let me know if you need any help on the scripting side of things butty.
Click to expand...
Click to collapse
I will - cheers mate
Got it working but I'm sure you'd do a better job - .sh scripting isn't my thing at all.
Apologies to the OP for the OT...
Sent from my GT-I9300...
Spannaa said:
Great work :good:
I particularly like the smart selective dalvik-cache wiping
Maybe it could be even smarter if the script only wipes an apk's dalvik-cache if the apk has had it's classes.dex replaced by the theme...
I'm working on something like this myself but mine is based on the unreleased GS2XFormROM by @hawkerpaul
I'll throw you a link when it's ready
Click to expand...
Click to collapse
Hmm, yes I think I'll implement this in v1.1. Thanks for the suggestion!
Sent from my GT-I8730 using Tapatalk
Version 1.1 released!
v1.1: Link
What's new?
- Even smarter Dalvik wiping: delete dex files only for those apps whose classes.dex were changed (thanks @Spannaa)
- Corrected a typo in the restore script (please delete 'restore-vr' inside your /system/xbin, if any!)
- Removed unused methods in installtheme.sh
Click to expand...
Click to collapse
aureljared said:
Version 1.1 released!
v1.1: Link
Click to expand...
Click to collapse
How about making this TWRP compatible too - then it'd be even more useful
Reference 1
Reference 2
Spannaa said:
How about making this TWRP compatible too - then it'd be even more useful
Reference 1
Reference 2
Click to expand...
Click to collapse
Version 1.2 released!
v1.2: Link
What's new?
- Refinements to Smart Dalvik Wipe
- Switch to Linus Yang's BusyBox 1.21.1, which will hopefully make theming TouchWiz < 4.2 possible
- TWRP compatibility: switch to a static zipalign binary, grep method for OUTFD to look for updater binary
- Cleaner zip hierarchy: new apps to be installed to /system and /data are now in their respective folders in a folder named 'new'
Click to expand...
Click to collapse
Sent from my GT-I8730 using Tapatalk
aureljared said:
Version 1.2 released!
v1.2: Link
Sent from my GT-I8730 using Tapatalk
Click to expand...
Click to collapse
Very good job on this...one thing, in kitkat 4.4.2 touchwiz roms half of the apps that need to be themed are in /system/priv-app. This folder location does not seem to be in your installtheme.sh script. I can manually change everything myself but if you would like other users to take advantage of your work, you may want to consider updating for these users.
deuce_biggins said:
Very good job on this...one thing, in kitkat 4.4.2 touchwiz roms half of the apps that need to be themed are in /system/priv-app. This folder location does not seem to be in your installtheme.sh script. I can manually change everything myself but if you would like other users to take advantage of your work, you may want to consider updating for these users.
Click to expand...
Click to collapse
Oh right... How could I forget Am working on this now.
Thanks for the heads-up!
Version 1.3 released!
v1.3: Link
What's new?
- Support for KitKat's system apps in priv-app
Click to expand...
Click to collapse
Silly me, forgetting this while using a KitKat ROM
aureljared said:
Version 1.3 released!
v1.3: Link
Silly me, forgetting this while using a KitKat ROM
Click to expand...
Click to collapse
Nice work aureljared, the quick response and update is much appreciated :good:
Thank you @aureljared, deuce_biggins pointed me here, and I must say nice work to you.. Thank you
I tried to vrt a data/app, and it may have broke the signature.. It did theme the app, but it was no longer visible/available in my app drawer.. I could see the themed icon in data/app tho.. I don't think the original VRT could theme in data/app either... I did use your new version 1.3 with twrp on my Galaxy Tab 3, so that is good news.. It also made two folders on my internal sd, one was for data/app and one for system/app.. It did make a copy of the apk it themed in data/app, and placed it in the folder on my internal sd . I will test this on my Note 3 with twrp later..Thank you
aureljared said:
Version 1.3 released!
v1.3: Link
Silly me, forgetting this while using a KitKat ROM
Click to expand...
Click to collapse
cerj said:
I tried to vrt a data/app, and it may have broke the signature.. It did theme the app, but it was no longer visible/available in my app drawer.. I could see the themed icon in data/app tho.. I don't think the original VRT could theme in data/app either... I did use your new version 1.3 with twrp on my Galaxy Tab 3, so that is good news.. It also made two folders on my internal sd, one was for data/app and one for system/app.. It did make a copy of the apk it themed in data/app, and placed it in the folder on my internal sd . I will test this on my Note 3 with twrp later..Thank you
Click to expand...
Click to collapse
@aureljared, just curous...to follow up on with what cerj said, have you ever successfully themed an app inside of /data/app with your VRT? Seems to kill the app every time, your thoughts?
deuce_biggins said:
@aureljared, just curous...to follow up on with what cerj said, have you ever successfully themed an app inside of /data/app with your VRT? Seems to kill the app every time, your thoughts?
Click to expand...
Click to collapse
No, I only tried it with the old VRTheme, and it didn't work either (no icon in drawer). I don't think it'll work on EVilTheme either as I haven't changed the process of /data/app.
aureljared said:
No, I only tried it with the old VRTheme, and it didn't work either (no icon in drawer). I don't think it'll work on EVilTheme either as I haven't changed the process of /data/app.
Click to expand...
Click to collapse
Do you even think it's possible?
deuce_biggins said:
Do you even think it's possible?
Click to expand...
Click to collapse
It could be possible, if we can find a way to go around the sig verification. Or perhaps it just needs a Dalvik wipe, I don't really know [emoji26]

[[Guide]] Apktool Mobile (Setup/Decompile-Recompile/Theme/Sign)

Yo guys! Here I come up with a brief tutorial for using Apktool Mobile! Let's begin!
Requirements:
1.A rooted device
2.Apktool 4.4 : https://storage.googleapis.com/goog.../code.google.com/apktool/apktool4.4_armhf.zip
3.A deodexed app of your phone.
How to deodex? Watch my video tutorial here: https://www.youtube.com/watch?v=n0sfERSqLgA
4.Root explorer and Busybox
5.Brain.apk
6.Patience.jar
How to setup apktool?
1.) Unzip apktool4.4_armhf.zip using root explorer.
2.) Navigate to sdcard0/speedsoftware/extracted/apktool4.4_armhf/apktool folder and install apktool 4.4
3.) Open apktool app,grant root access. Now goto settings and select apktool version 1.5.2. Come back.
4.) Navigate to storage/sdcard0/speedsoftware/apktool4.4armhf folder.
5.) Long press on apktool folder and select Set as apktool data folder.
6.) Navigate to system/framework
7.) Click on framework-res.apk and select import as framework.
8.) In the same folder find twframework-res.apk(for samsung devices) or mediatek-res.apk, click on it->import as framework
9.) Now navigate to system/app, find systemui.apk->click on it and select
10.) Import as framework.
11.) Done.
How to theme SystemUI?
1.) Using root explorer, create a folder named 'A' in apktool folder.
2.) Copy SystemUI.apk to that folder.
3.) Open apktool app, navigate to that A folder, click on SystemUI.apk and select decompile all. Wait till it gets decompiled.
4.) After it gets decompiled, you will get a folder named SystemUI_src
5.) Now minimize apktool, go to root explorer, navigate to SystemUI_src folder, and do any type of modifications you want.
For example, colour the battery icons using Picsay Pro and save with the original name.
6.) After you are done, open apktool app, click on SystemUI_src folder, recompile. Wait till it gets recompiled. Now you will get an app named SystemUI_src.apk. That's your modded apk.
How to Sign SystemUI/Any System app?
1.) Using root explorer, goto A folder, and extract SystemUI.apk and SystemUI_src.apk one by one.
2.) Now navigate to sdcard0/speedsoftware/extracted/SystemUI folder.
3.) Copy Androimanifest.xml and Meta-inf folder from there. Press back and open SystemUI_src folder. Paste those two files there. Click replace when you see the popup.
4.) Come back. Long press on SystemUI_src folder and select zip this folder. Then select goto zip once its finished. Rename the SystemUI_src.zip to SystemUI.apk.
5.) Done. Now you can your push own modified UI to system/app!
Good luck!
Regards,
Aniruddha B.Pathak.
HIT THANKS IF I HELPED YOU!! :laugh:
Thanks to @Ibuprophen for providing me the updated link to apktool.
Nice guide
KeeP it up ..
Thanks for the guide ...... I have apk tool 4.6 can i use it in same way???
arun.negi004 said:
KeeP it up ..
Thanks for the guide ...... I have apk tool 4.6 can i use it in same way???
Click to expand...
Click to collapse
Thanks for the compliment
Of course you can but I personally recommend 4.4 as it has more options is quite faster
Still go ahead with 4.6 :angel:
Ok thanks BRO
Aniruddha_Pathak said:
Thanks for the compliment
Of course you can but I personally recommend 4.4 as it has more options is quite faster
Still go ahead with 4.6 :angel:
Click to expand...
Click to collapse
Ok i also have 4.4 version :3
But why this step secting apk tool version 1.5.2
Ahh...thats for smali
Apktool when set to 2.0 gives errors sometimes while recompiling if you edit smali files hence, set it to 1.5.2 so that you won't face any problem
Thanks...
Aniruddha_Pathak said:
Apktool when set to 2.0 gives errors sometimes while recompiling if you edit smali files hence, set it to 1.5.2 so that you won't face any problem
Click to expand...
Click to collapse
Ok thanks BRO for help..
I m getting this error while recompiling system ui..
[Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
at brut.androlib.Androlib.build(Androlib.java:183)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
... 4 more
Click to expand...
Click to collapse
---------- Post added at 08:27 AM ---------- Previous post was at 08:17 AM ----------
Does it needs system deodexed?
Follow the guide again
Setup apktool again, then follow the guide carefully
Hi! I'm on a rooted kk tablet running ApkTool mobile v5.
Is this version stable and bugfree? or should I install an older one (e.g. v4.4)
An other question,what should I do to have a signed and/or working app after:
Decompiling>>Adding files>> ??
Because when I add files to the apk and try to compile, errors, errors,...errors!!
Older version would work faster
Wolf Tatoo said:
Hi! I'm on a rooted kk tablet running ApkTool mobile v5.
Is this version stable and bugfree? or should I install an older one (e.g. v4.4)
An other question,what should I do to have a signed and/or working app after:
Decompiling>>Adding files>> ??
Because when I add files to the apk and try to compile, errors, errors,...errors!!
Click to expand...
Click to collapse
1. I would recommend older version of apktool as it would work faster on your tab.
2. Install busybox if its not already installed.
3. If you are replacing a png, then keep in mind that you must replace those pngs with "SAME NAME" as they were before in the SystemUI.
4. Donot touch .9.pngs if you don't know how to play with them.
Aniruddha_Pathak said:
1. I would recommend older version of apktool as it would work faster on your tab.
2. Install busybox if its not already installed.
3. If you are replacing a png, then keep in mind that you must replace those pngs with "SAME NAME" as they were before in the SystemUI.
4. Donot touch .9.pngs if you don't know how to play with them.
Click to expand...
Click to collapse
Thanks for replying.
I already know how to replace pngs inside an apk,and I know that .9.PNG are not. png. But what I can't do is to successfully compile and sign the app after adding-not just replacing-new files to the existing ones inside_let's say package/res/drawable_apk.
Umm...if you want to ADD pngs, then you need to make some changes in xmls, otherwise it won't recompile
Aniruddha_Pathak said:
Umm...if you want to ADD pngs, then you need to make some changes in xmls, otherwise it won't recompile
Click to expand...
Click to collapse
Yes I know, but which ones should I modify?
How about editing xml's using phone, what tool to use?
ApkTool v4.8 Mod (Professional)
by Stewe, full creds to him
Mod Info:
♣ Added ApkTool v2.0.0 RC4.
♣ Added Smali/Baksmali v2.0.5.
♣ Added New Icons.
♣ Apk + Data.
http://www34.zippyshare.com/v/mVx5n21p/file.html
Wolf Tatoo said:
Yes I know, but which ones should I modify?
Click to expand...
Click to collapse
Search around XDA for the guides, you may find one
Notepad++
datsoy said:
How about editing xml's using phone, what tool to use?
Click to expand...
Click to collapse
I use Notepad++, which is a great tool
Link: https://code.google.com/p/openintents/downloads/detail?name=Notepad-1.4.0.7.apk
Thanks for sharing
berryman13 said:
ApkTool v4.8 Mod (Professional)
by Stewe, full creds to him
Mod Info:
Added ApkTool v2.0.0 RC4.
Added Smali/Baksmali v2.0.5.
Added New Icons.
Apk + Data.
http://www34.zippyshare.com/v/mVx5n21p/file.html
Click to expand...
Click to collapse
Thanks for sharing it sir but I personally has used all versions of apktool, from 4.1 to 5.0 and I find 4.4 more useful
Still, thanks for sharing the link, again
Are there any tutorials on how to change the status bar icons (sounds, vibrate, wifi,signal)?
Thanks in advance!
Should I make one?
kushpancake said:
Are there any tutorials on how to change the status bar icons (sounds, vibrate, wifi,signal)?
Thanks in advance!
Click to expand...
Click to collapse
Should I make a guide on it? Or should I tell you here?

Porting guide - Port any cm rom for your phone without pc

Hello Guyz !!
Today i'm gonna teach u how to port Cm rom for Gionee M2 or any other phone without pc
Requirements -
1. Download unpack/repack img.apk
2. Download apk editor
3. Winzip.apk
4. Base rom.zip
5. Port rom.zip
First step -
Install apk editor
Choose base rom framework-res.apk
Extract xml folder
Now Choose port rom framework-res.apk
Replace Storage_list.xml
With the base rom extracted storage_list.xml which is in extracted xml folder
Save apk
2nd step
U have to replace kernal from boot.img of base rom to port rom
I already thread a porting guide check it..
3rd step
Replace these files
Libcamdrv.so
libcam.exif.so
libcamalgo.so
libcameracustom.so
Libaudio.primary.default. so
Hw Folder
etc/firmware
Metainf folder
Now Compress zip of ported rom folder with winzip.apk
Done u became a porter..
Mind Hunter said:
Hello Guyz !!
Today i'm gonna teach u how to port Cm rom for Gionee M2 or any other phone without pc
Requirements -
1. Download unpack/repack img.apk
2. Download apk editor
3. Winzip.apk
4. Base rom.zip
5. Port rom.zip
First step -
Install apk editor
Choose base rom framework-res.apk
Extract xml folder
Now Choose port rom framework-res.apk
Replace Storage_list.xml
With the base rom extracted storage_list.xml which is in extracted xml folder
Save apk
2nd step
U have to replace kernal from boot.img of base rom to port rom
I already thread a porting guide check it..
3rd step
Replace these files
Libcamdrv.so
libcam.exif.so
libcamalgo.so
libcameracustom.so
Libaudio.primary.default. so
Hw Folder
etc/firmware
Metainf folder
Now Compress zip of ported rom folder with winzip.apk
Done u became a porter..
Click to expand...
Click to collapse
Do u think this will work
anish001 said:
Do u think this will work
Click to expand...
Click to collapse
I ported 10 roms for my phone with this method..
Sent from my M2 using XDA-Developers mobile app
Mind Hunter said:
I ported 10 roms for my phone with this method..
Sent from my M2 using XDA-Developers mobile app
Click to expand...
Click to collapse
Is it really works bro?
[email protected] said:
Is it really works bro?
Click to expand...
Click to collapse
Yes i ported almost 10 rom from this method
Sent from my M2 using XDA-Developers mobile app
Nice...
It will work on cm14?
Is this for same android version or lower?Can I port an higher Android version using your method?

Categories

Resources