Request - Multi phone.apk for RR3.0 - Galaxy S II Q&A, Help & Troubleshooting

I know this is probably a dumb question but I've been googling all over and can't find what I'm looking for >.<.
I want to install Resurrection Remix JB v3.0.2 on my S2 and change the DPI to 160. On previous versions of that room I would do that then simply copy a phone.apk file that I got from one of RR's FAQ and that would be it but that doesn't seem to work on the new JellyBean version.
I replace the phone.apk file with the one I used to use for 160DPI copying it into /system/app then check to make sure the permissions are the same and reboot the phone. As soon as it boots back up I get a FC for android.phone and the message keeps popping back up over and over again. Tried doing a fix permission on the recovery and it's the same result.
Any idea of what I'm doing wrong or what I can use to fix it?.
Thanks.

Related

rom build issue : user apps disappearing on reboot

i am currently building a rom for the samsung captivate built off 2.3.5.
The base im using is stock - deodexed/ ziped / minorly changed
this base flashes and works just fine!
what i am doing to it:
remove bloat.
- at&t apps,
- protips.apk
- remove broken swype
- remove stock email (not gmail)
- removed stock launcher
change to hacked camera.apk
remove bootsound
remove shutdown sound
change bootanimation
added user apps in data/apps
added widget picker in system/app
changed default wallpaper in framework_res.apk
changed install script
changed CSC
custom twwallpaperchooser
everything works fine through the install.
but durring the "setup" on first boot " phone setup wizard " will force close right at the step where you setup your google sign in.
BUT THATS NOT THE PROBLEM, (just the first sign of it)
the real problem is any apps installed after flashing do not show up in data/apps
any apps installed through the flash are there, but any installed after ARENT.
and no they arent on the SD card.
the apps will slowly disappear after installing one by one.
when i reboot THEY ALL DISAPPEAR!!!
it seems that the apps install to cache or memory.
as the memory gets cleared or you reboot, they get wiped away!
i have tried various things to fix this
i have rebuilt my rom MANY times.
with and without my framework res changed file
with and without my custom install script
with and without removing stock launcher
with and without changed CSC files.
with and without twwallpaperchooser
if i flash the base i was working from again, all is good.
this only seems to be an issue when i flash data/apps from the zip file. however i have used a script from a rom that successfully flashed data/apps before without this issue, so i do not think it is a permission problem....
im stuck and lost.
more specific, rewritten description i emailed to a few friends
holy hell i bet youve been busy...
me too, i finally have my rom built. for KH2 KJ1 and KJ2 !!
have it down to an easy process now. install script working!
but im having one final issue and cant find any useful info on it anywhere and its very specific
**I know KJ1 and KJ2 install any app to the SD if possible by default. any app on SD will not be affected by this issue ***until it is moved to phone
if I build my rom to install apps to data/app (through cwm flash )- any app that gets installed after (through market or sideload) will slowly disappear after some use or immediately after reboot. they also will not show up in data/app or system/app when installed ** once again not including apps on SD. and if apps on SD are moved to data/app they do not end up there. they disappear.
this leads me to beleive that they are installing to cache or memory, as the memory gets cleared or the phone reboots. they are gone!
if i build my rom without user /data/apps (and without that part of the script).
everything is fine. any app installed after shows up in data/app and is still there after reboot.
i have also used unmodified scripts with and without the package_extract ("data", "/data")
that have been known to work with the original rom they were taken from. without the issue i am seeing.
so i do not think it is a script / permission issue not allowing the system to write new data to that location. but i could be wrong.
my rom is ready for release once i can get this last part figured out. otherwise ill have to release with no user apps... any input would be greatly appreciated.
thanks again!
Click to expand...
Click to collapse
one search i came across mentioned something about possibly not being converted to rfs, but I have flashed to stock with re-partitioning ( rfs for sure ) and the rom and kernel i am building does not support it so that shouldn't be an issue.
from what other rom builders have told me this is an issue with gingerbread roms.
have apps copied to SD card and ask users to install manually.
Dude just found this post....sorry i was busy with KJ2
glad you got a tempory fix
ya you gave me the fix in the PM! LOL
TRusselo said:
ya you gave me the fix in the PM! LOL
Click to expand...
Click to collapse
you just got spanked!!

[Q] [Importing/Overvriting System's apk]

Hi all,
I'd like to change the contacts application I have in my ICS Rom with another one modded apk, I've tried with Root Explorer (replacing, changing permissions), with Titanium Backup (removing contacts and trying to install this apk), and replacing the contacts.apk in the system/app folder in the Rom flashable zip, but nothing was worth it. All i get is an error message that the application couldn't be opened.
What should I do to get it work? There's any particular procedure to overwrite a "default" application that come with the rom with another one?
How do I create a flashable zip to install it from CWM? Is it just enaugh to have the *.apk or I have to compile it in another way?
PS: I've also tried simply installing the new contacts.apk but it says "application not installed"
Thanks to everyone!
I could be mistaken/misunderstanding (but I researched when I wanted to replace battery icon) - but I think you would have to make sure you were on a de-odexed ROM..
Although when I tried to replace the camera.apk with the modified Gingerbread one on here, I got the same issue - so make sure the contacts apk you are trying to replace it with is for ICS also!
Yeah, I explain, I'm trying to import the contact.apk that came with the Foxhound ICS rom in my Resurrection ICS rom.
Both of them are ICS based
prinzollo said:
Yeah, I explain, I'm trying to import the contact.apk that came with the Foxhound ICS rom in my Resurrection ICS rom.
Both of them are ICS based
Click to expand...
Click to collapse
Yeah, but FoxHound is stock based, and Resurrection Remix is AOKP based. I don't think that will work.
You're right, I thought that too, but the contacts app is the stock one on the Resurrection, even if it's based on AOKP. So, in theory, the substitution should be possible..
If you have a custom rom just open the rom with winrar and delete what you want and add to replace then close winrar and flash .
jje
Theory doesn't always work in practice.
@ctomgee: ahahahah I know that
@JJEgan: I've already tried that, but even when I flash the Resurrection (with new contacs in the flashable zip file) I got an error when opening contacts, furthermore android.acore process die after tot seconds..
prinzollo said:
@ctomgee: ahahahah I know that
@JJEgan: I've already tried that, but even when I flash the Resurrection (with new contacs in the flashable zip file) I got an error when opening contacts, furthermore android.acore process die after tot seconds..
Click to expand...
Click to collapse
In that case its a non compatible apk for your firmware .
jje

[Q] Replacing Files In a Rom (Cyanogenmod7) General

Hello,
I am using cm7, but this is a general question about replacing files in roms. I have been working on an issue that involves opening the zip file and then edit and replace certain files. I have seen a few posts in the past where it says to replace certain files in a rom, but everytime that I do I get an error after flashing. After flashing and boots to the main screen that asks you to touch the android, I get an error that says "Sorry, the process com.android.phone has stopped unexpectedly" and the only option is to click on Force Close, but it just keeps coming back. Something is definitely not right with replacing files in a rom, but Im not sure if there's even a correct way. Im using winrar as everyone has mentioned. I have tried using the Fix Permissions option in the Clockwork Recovery also, but no luck. Only option is to reflash. Anyone have any ideas? Does the whole rom need to be recompiled?
aa
aa

Editing stock APK to work with CM10

Can anyone explain or point me in the direction to the information about how and what to edit in a stock APK to work with a custom ROM. Basically what I did was take the stock swype APK from my SGS2 and try to put in on my wifi GT10.1 running CM10. It seemed to install correctly but when trying to make it my default keyboard it says it failed or is closed.

[Q] [help] Recover SystemUI

SOLVED! After a very hard(and also boring) process of clicking in ok button and doing one action per time, I finally got put the original copy of my SystemUI into '/system/app' folder
I was playing of "Let's mod this SystemUI to learn about it", but then i repaired that I had no idea of how replace the original SystemUI by mine... Then I had the stupid idea of convert the original systemui into a user app using ROM Toolbox...
Results: i lost my systemUI, everything opens fine, but status bar is gone and the worst, a error screen informing the "com.android.systemui has stopped" every 5 seconds, which forces me do one action before error screen appears
My question is, there's anyway to install my SystemUI or recover the old one(i have bkp of the apk) without factory reset?
Click to expand...
Click to collapse
Delete old systemui apk replaced with one that works then fix permission to rw-r-r and reboot. Or dirty flash no wipes. All else fails do a full wipe and reflash.
andrewwright said:
Delete old systemui apk replaced with one that works then fix permission to rw-r-r and reboot. Or dirty flash no wipes. All else fails do a full wipe and reflash.
Click to expand...
Click to collapse
The main problem was solved, I learned how to "install" SystemUI.apk, now I'm in trouble with my custom SystemUI.apk that crashs too. I just can't compile a single SystemUI that don't crash :/
However at least i can use my phone normally

Categories

Resources