How to modify Rom.zip - General Questions and Answers

I want modify custom Rom as add Apps or delete Apps ,change systemUI ,Notifications panel
But I also experienced mild
please guide for me

could you add, remove or replace apps / other systems in rom.zip .. and I often do it

Do you want to do it on your pc
HiT Thank$ If HelPed

Related

[Q] Remove system apps and odex?

I'm debluring my US Froyo rom and there are some system apps that I want to remove completely. My question is if I remove the apks, should I also remove the odex files that they are associated with. I'm learning how to develop on Androids (Mainly my Defy but have friends that want me to clean up their phones) and a detailed explanation would be awesome.
Another question would be if I'm just renaming the apk, what should I do with the odex: leave alone, rename, or remove. And why?
PS: the original /system/app folder is completely backed up is I decide I want that app later

Removing the .APKs

(Always make up back ups before flashing)When flashing a rom some of you may remove some .apk files that you just want gone to free up some space. This is just a tip for some of you like me that remove .apk files like htcfacebook,FB chat, radio widget,scribble,twitter,street viewer,my reader,some of the widgets that etc or w.e files you dont like..I use the app called super manager and have to go through the steps.
So,when you down load your rom make sure you have programs like winrar,winzip or 7zip to be able to open the rom up NO need to extract the rom just use one of the programs like winrar to go to the rom and sub floder system>app and then you can remove the .apk files you do not want or add the .apks files you want before flashing. I found this is a little easier rather then having to D|L super manager then select root enable and file manager then remove then add other .apks then reboot.
*****But please make sure you know which ones to remove if not ask the dev of that rom because some of the .apks are very important to the rom it self.
This is just some info that I thought I would share if some members already knew this or something different please share. Or any other related tips & tricks? that would be great.
Take cautions if you decide to try this is out
Very good method, this is how I alter my ROM before flashing them. But I also delete and add the internal audio files as well like internal ringtones, alarms and tones. Thumbs up !!!
Ok closing this now as it really is pointless.

Tutorial - Changing App Icons

Tutorial :- Changing App Icons
Hi Friends,
This is a little Tutorial about changing app icons permanently. There was a lot of applications available in Playstore like
“ icon changer free” etc etc to change the app icons. But the problem is that u cant use that changed apps in ur app drawer. U can only use that in ur home screen as a shortcut.
So I just decided to put a little tutorial to do that easily. I know everybody will know this already. But it will help for someone I am sure….
Credit goes to my friend dewanshu93 for teaching me this by personally
Credit Why So Serious? For the Icons
(And Sorry For My Bad English)
Tools Needed:-
(a) One PC
(b) 7 zip
(c) Some good icons
STEPS:-
1) Get some cool icons from here http://forum.xda-developers.com/showthread.php?t=2207136 and save it ur PC. Give him big thanks for the work.
Edit:- If u need some cool Galaxy S4 icons means go here: - http://forum.xda-developers.com/showthread.php?t=2216289 Please give thanks for his work..
2) Put the apps u want to change the icons to a Folder in ur PC. For example SemcAlbum, Phonebook, Browser etc
3) Here I am taking the Phonebook app for Example..
4) Right Click the Phonebook apk -> Open With -> 7zip File Manager. Then U will get a box contained some files like the attached Image 1
5) Then double click on the res folder and u get another box like attached Image 2
6) Find the folder named “ drawable-xhdpi “ and open it. U will get This Image 3
7) And most important thing is u need to find the original icon and its name of the phonebook.apk or whatever apk u take …
8) For that an easy way is create a new folder in ur PC’s Desktop and select all the images from the box ( Image 3 ) then drag it to the that new folder in the desktop.
9)Then open that folder then search for original the apk icon. Look in to Image 4
10) In my case the name of the Phonebook.apk’s icon is “ic_launcher_contacts “. So just note down the icon name and then open the folder that contains the icons that u downloaded. Image 5
11) And choose which icon u need and select it. Then rename it to the exact name of the original apk icon. ( For example ic_launcher_contacts )
12) After that just drag that renamed icon to res/drawable-xhdpi. It will ask for overright. Press Ok or Yes. That’s it. Copy the apk to ur phone and move it to the System/app with correct permission…
Check the lastly Attached Two images for ur refference .
U can do it with almost all the apks. But I cant guarantee that it will work with all apks. Some System apks did not worked for me…
And also u can take icos from other apks too..
And this is my first work in XDA. Any mistake is there means I am sorry…
Thanks....
Lookin good.. Thanks for sharing this..:good:

[GUIDE] Make themes for your device - no Android SDK or APK tool [ For Noobs ]

Hi all,
I know there are tons of 'how to make themes' threads out there in this community but like the title says , its specially for noobs( like me ).
Now I am not talking about noobs who dont know anything about the android OS,framework, recovery etc. Here, by noobs i mean people who dont know how to decompile apps, sign them , make them flashable , use SDKs etc. This guide will throw some light on some of the easier ways out there by using the brilliant features of some apps and programs combined with each other and believe me , it will give you the final result !
So Lets get started :
REQUIREMENTS
1.A NANDROID BACKUP !!
2. Ninjamorph from Stericson : creating a project , replacing PNGs and finishing the project .
http://forum.xda-developers.com/showthread.php?t=674604
3. An image editing software ( I used Photoshop)
4. Root File Manager (any)
5. Knowledge about your device , Duhh
PROCEDURE
1. Open up ninjamorph and start a new project.
2. Find the APK you wanna modify ( Framework-Res.apk for almost everything; SystemUI.apk for statusbar, clock , general backgrounds , drawer etc ; contacts/seccontacts.apk for phone/dialer , messaging.apk for sms app mods etc , i hope i made my point clear )
3.Modify Apks
now, from here you need to choose your path
Method1
4. (conventional one )Inside the project, goto drawable-hdpi ( for backgrounds goto drawable-nodpi ) and replace the pngs with the pngs you want by downloading them or extracting them from existing packages (of the same size as the original )
5. After replacing the images , simply finish your project and you're done!
Method2( which i used )
4. when you create a project , the Apk is extracted to the location in your device at /sdcard/androidthemes/workspace (your SD card) as a simple folder . Copy this folder to your Pc.
5.Edit the images using an image editing software like PS and save all the images in the copied folder itself in their respective locations OR you can replace the whole apk folder with an already modified/themed folder but just make sure that the modified apk folder is of the same device as yours( since if even a single image which is missing in the modified folder but is present in the original apk folder or is not changed appropriately , it will result in the app not being able to run. It will stop.
6. Once you're done with the replacing, replace the apk folder in /sdcard/androidthemes/extracted with the one you have changed in the above step.
7. Then Goto ninjamorph in your device and simply finish the project whose apk extracted folder you have just modified. Ninjamorph will compile and build the apk from your workspace folder and it will replace the original apk with your modified one.
8. Your new Apk has been themed! :laugh:
Precautions.
1.Have a nandroid backup ( big precaution )
2. Have backups of both the .apk file and the original extracted apk folder , so that if you make an incompatible modification and the app doesnt run, then just replace the apk in the file system of your device ( /system/app or /data/app depending on the apk you are modifying whether it is system or user) OR replace the extracted apk folder in /sdcard/androidthemes/workspace with the original one backed up.
Bonus - Make a flashable zip of your themed apks
http://forum.xda-developers.com/showthread.php?t=1572962 ( modify the updater script in the zip in the META-INF folder present in the sample zip to match your needs ) by @cheatman
Hit Thanks :good: if this helped

Makng custom rom without any pc software

hi guys
i am going to make a guide for how to make a custom rom for yourself without a pc.
so straight forward first check that you have following things.
1--> a android device (rooted)
2--> clockworkmod recovery installed
3--> 100% battery
4--> atleast 1.5 GB free on external SD card
BEFORE STARTING THIS METHOD I RECOMMEND YOU TO TAKE A PRINTOUT OF WHAT THIS GUIDE SAYS BECAUSE YOU HAVE TO DO WORK WITHOUT A PC ON A NON MULTITASKING ANDROID AND LOOKING TO XDA SITE OR APP EVERY TIME IS NOT A GOOD IDEA.
STEP ONE :>
First of all move all your data on internal sd card to external one and then do a factory reset.
After that goto recovery mode and follow
wipe data
wipe catch
backup and restore --> backup.
after having a nandroid backup. turn on the device normally. and just install es file explorer(it is good and provide lots of options).
STEP TWO :>
now you have a nandroid backup. goto that folder and open it. there are many files and one of them is system.******* . now copy that to a new folder where you will make a rom and paste it {remember to copy only do not cut or disturbe the original copy in backup folder just copy it}.
in the new folder look at the name system.*** you will get the original extension of that file its either .rar or .tar or.zip
now rename it as system.(the extension you found)
after renamming it just extract it and you will edit in this folder to make a new rom.
STEP THREE :>
in that folder you will see many folders just have a look at all folders and write names of those folder which have .apk files in it on paper. now those folder which have apk files are to be edited.
THERE ARE TWO TYPER OF ROME
1--> DEODEXED {HAVING ONLY .APK FILES IN THOSE FOLDER}
2--> ODEXED {HAVING .ODEX FILE WITH .APK FILES IN THOSE FOLDER}
DESIDE WHATS YOUR ROME TYPE AND FOLLOW THW GUIDE SERIOUSLY
FOR DEODEXED ROM --> now you have to give shape to your rom. i will provide you with list of apps you can change in custom rom.
launcher
gallery
camera
lockscreen
keyboard
calculator
gapps
internet brouser
file manager
you can add special apps to your device like screen recording software
and remove the default apps listed above {first remove default app and then paste the app you like}
FOR ODEXED ROM --> now you have to give shape to your rom. i will provide you with list of apps you can change in custom rom.
launcher
gallery
camera
lockscreen
keyboard
calculator
gapps
internet brouser
file manager
you can add special apps to your device like screen recording software
and remove the default apps listed above
first delete the app and its odex file and then past the new app{if you leave odex there for default app the new app wil be transformed to older once so delete odex of only those apps which you cange}
STEP FOUR :>
now you have apps of your choice and you are exited to test it.
but now its time for trickest part editing build.prop in system
inside system folder you extracted there is a file named build.prop open it and start editing
#change lcd screen density
ro.lcd_density = {increase for magnified view and decrease for a zoomed out view}
#change ram alootment to apps
delvic.vm.heapgrowthlimit = set only one value {68, 96, 124 ,256} {set a higher value than default in your file}
delvic.vm.heapsize = ste higher value than heapgrowthlimit, set only one value {96, 124 ,256} {set a higher value than default in your file}
#to get navigation bar at the bottom with three icons
qemu.hw.mainkeys = 0
save these changes {these lines are not to be edited they are there in that file only change the values ok}
STEP FIVE :>
copy the nandroid folder onto pc and save a copy of that nandroid backup on pc.
YOU HAVE MADE A CUSROM ROM BUT IT CANT BE FLASHED SO NOT GOTO THE SYSTEM FOLDER WHERE YOU EXTRACTED IT AND SELECT ALL FOLDERS INSIDE IT AND MAKE A SAME EXTENSION FILE WHICH YOU EXTRACTED IT FROM {select all folders inside system folder and make same extension file do not just select the system folder from outside go inside the folder and then do that ok}
for this step you will need a pc ofcoz.
STEP SIX :>
GREAT JOB YOU HAVE A SYSTEM.XXX RENAME IT LIKE THE NANDROID BACKUP ONE AND REPLACE THE ORIGINAL SYSTE, FILE WITH YOUR MODDED ON AND JUST CROSS YOUR FINGURES.
all steps are complete and not its time to reboot to recovert
wipe data
wipe catch
advance/wipe delvic catch
backup andrestore/advance restore/restore system
and its done first boot will take time and you have a custom rome made for yourrself on android and time to test it.
remember if you face any problem just use that nandroid which you saved on pc the original one and restore that to go back to custom rom.
if this guide helped please hit thanks.
facing problem contact me my id is
[email protected]
peace

Categories

Resources