[Q] Modifying ROMs - Vibrant Q&A, Help & Troubleshooting

I am modifying Bionix's Fusion ROM. What I did is just replaced Swype and Launcher Pro with a themed version, removed Mediahub, Titanium backup and Pandora. I am doing all of these just by drag&drop and delete using winrar (from /system/app/ and /data/app/ directories).
Anything else I should know before I proceed to flashing? Like a index file or something I need to edit?

Anyone? I just find out if theres a structure to these .zip roms..

make sure you sign before you flash

Related

[Q] How to add removed apks to System/app ?

I used to be able to add/remove .apks by using ES file explorer, I managed to add a widget by copying and pasting into /system/app
but when I tried to copy and paste LivewallpaperPicker.apk and VideoPlayer.apk it successfully copies but didn't seems like it's installed.
Any ideas?
I did search and came across this - http://forum.xda-developers.com/showthread.php?t=875797
but that seems very different to the popular copy and paste method.
thanks.
everybodylovesfebs said:
I used to be able to add/remove .apks by using ES file explorer, I managed to add a widget by copying and pasting into /system/app
but when I tried to copy and paste LivewallpaperPicker.apk and VideoPlayer.apk it successfully copies but didn't seems like it's installed.
Any ideas?
I did search and came across this - http://forum.xda-developers.com/showthread.php?t=875797
but that seems very different to the popular copy and paste method.
thanks.
Click to expand...
Click to collapse
Did you reboot after you pasted the apk's into system/app?
Sent from my GT-I9100 using XDA Premium App
No but when I was on Cognition rom I didn't have to reboot.
I moved on to Leomar's rom anyways.
Cognition > Leomar > VillainRom
You aren't trying to copy an apk from stock to a custom rom, or from a custom rom to another custom rom, are you? Since the signatures are different, it won't work.
Nope, I downloaded both Villainrom 2.3.0 signed.zip and VillainRom 2.3 Lite signed.zip and installed the lite version.
After that I extracted 2.3.0 zip and tried to copy and paste into the Lite rom - Maybe that's where i went wrong? I was guessing since villain signed them both they should be fine.

[Q] Manual deodex an rom before flashing?

I'm searching for a simple way how can I deodex any rom. My idea is to rename the *.odex file to classes.dex and put it into the apk/jar archive using a simple archive manager. Will this work? I don't like any scripts to do that, will make it manual before flashing the rom. And need I to sign the apk/jar files (I think the normal apk files need that, but what witch the framework? Need it too to be resigned?).
no use xultimate
Sent from my GT-S5830 using xda premium
sometimes scripts is better to make your life easier
btw try dsixda android kitchen. its my favorite tool/script to deodex
Hmm ok will try first the dsixda android kitchen, I see it has version for Linux. But I will understand how this script works?
EDIT
Ok, now I see, it uses baksmali and samli to deodex. Thanks to all, will test it tomorrow.
Ok, after using the dsixda android kitchen and deodexing the framework (and SystemUI.apk, not more) and flashing the ROM I got an bootloop (wipe doesn't help). Her is my logcat http://pastebin.com/DtfChnPp , can some help, what did I wrong? I have only after deodexing apply the volume mod and the Pdroid patch, I am working on this rom http://forum.xda-developers.com/showthread.php?t=1360889
try this
download xultimate, theres a thread about it somewhere. unzip it and connect your phone with the rom thats .odex http://forum.xda-developers.com/show....php?t=1360889
next
once connected click on opition 5 which will pull all the apps and framework files from your phone and will deodex all the files and store them in the folder called "done_app" and "done_framework" may take up to 15mins
next
change the folder names of the done folders to "app" and "framework" and have both folders and the rom.zip that you installed pre at hand, in your case
http://forum.xda-developers.com/show....php?t=1360889
Then open the rom.zip up with 7zip and then click on system folder and drop "app" and "framework" folders into the rom.zip so your swaping the the folders with the .odex files for the deoxed ones you just did. put it on sd-card. wipe, mount system and data and install.
correct me if im wrong.
hope this works.

Edit Custom Rom (help to remove apk's)

Does anyone know an idiot's guide/tool for unpacking a rom, removing unwanted apk's and then repackaging it suitably for install. I can unzip and remove the apk's from the system/app but the problem I have is zipping the package up suitably for install, I understand that the package needs to be signed and I have seen a few guides using openssl and SignAPK but couldn't get a package that would install.
I know I can uninstall some of these apps using an uninstaller app but I would prefer they just weren't in my rom in the first place so I have a relatively clean rom - my phone is basically a glorified mp3 player that occasionally makes some calls and send the odd text so there are a fair few things I just don't need to be installed on the phone.
On my mini pro I'm using the SonyStyle GB rom
http://forum.xda-developers.com/showthread.php?t=1151499
Any help will be appreciated.
stikkki said:
Does anyone know an idiot's guide/tool for unpacking a rom, removing unwanted apk's and then repackaging it suitably for install. I can unzip and remove the apk's from the system/app but the problem I have is zipping the package up suitably for install, I understand that the package needs to be signed and I have seen a few guides using openssl and SignAPK but couldn't get a package that would install.
I know I can uninstall some of these apps using an uninstaller app but I would prefer they just weren't in my rom in the first place so I have a relatively clean rom - my phone is basically a glorified mp3 player that occasionally makes some calls and send the odd text so there are a fair few things I just don't need to be installed on the phone.
On my mini pro I'm using the SonyStyle GB rom
http://forum.xda-developers.com/showthread.php?t=1151499
Any help will be appreciated.
Click to expand...
Click to collapse
Open the zip in something like 7-Zip or WinZip or windows or whatever the default archive manager is on linux, delete the files you want and close it then install. that's it, signing is done on creation by the dev and isn't like a MD5 so it doesn't matter if you modify it
X10man
what i do is i have winrar and i just double click the rom zip file then go to system then go to app then delete the app (and the odex file if it has one) that simple and if you want to add an app just hit add (provided your still on system>app folder) browse to the apk file you want to add then hit hit ok. hope that helps
Cheers guys - from what I had read I thought I had to re-sign the package once I had edited it.

Renaming files with a script for scripter

Hello
I have two files. Lets call them file1 and file2.
The thing is, both of them are apex Homescreen backups
Since i wanna quickly switch between Homescreens without other launchers. So i am using apex backup/restore functionality which creates an apex home screen backup file. But apex can keep only one backup. But if we rename the first backuped file, apex can create another backup. We can restore both by renaming one file to its original name. Hope you guys understood what i mean...
As you can see, this renaming can be a pain in thumb! So i am thinking is i can create a script that renames files. I will use inbuilt scripter in romtoolbox pro for executing these scripts.
Is this possible?If yes, can anyone please tell me how to create such a script?

[Q] Restore system app deodexed rom

Hello
I uninstalled the memo app, but I need it back
System /app contains 0kb. Apk files and. Odex files.
The Apk are shortcuts to /preload /symlink /system /app or something like that.
How do I restore the memo app so that it works?
Just putting the secmemo.apk into /system/app doesn't seem right since rom is deodexed
Please advice how to restore the app. I have the rom zip file to extract the files from just not sure how
would have been cool if this post would have gone somewhere. Looking for similar info.
aliendna999 said:
Hello
I uninstalled the memo app, but I need it back
System /app contains 0kb. Apk files and. Odex files.
The Apk are shortcuts to /preload /symlink /system /app or something like that.
How do I restore the memo app so that it works?
Just putting the secmemo.apk into /system/app doesn't seem right since rom is deodexed
Please advice how to restore the app. I have the rom zip file to extract the files from just not sure how
Click to expand...
Click to collapse
Have a look here
Don't bother, the reference is no longer valid, but I may have found something - checking it out first.....
Sorry but I can't recommend what I found. There are many similar and better apps anyway.

Categories

Resources