[Q] How to REPLACE i9100 stock dialer through ADB? - General Questions and Answers

Hi! First of all i would like to apologize myself if there is a solution to this issue, but i look around and found nothing...
I want to completely replace JB stock dialer (galaxy i9100) to callrec one without reflashing, only through ADB with the phone on recovery mode.
I´ve read a lot of things about it but i got no success.
I was able to rename several files (apk and odex) under /system/app folder:
SecPhone.apk and SecPhone.odex
SecFactoryPhoneTest.apk (this one is a symlink to /preload/symlink/system/app/SecFactoryPhoneTest.apk)
Phonesky.apk (this one is a symlink to /preload/symlink/system/app/Phonesky.apk)
Phone_Util_U1_EUR_OPEN.apk and Phone_Util_U1_EUR_OPEN.odex
PhoneErrService.apk and PhoneErrService.odex
All these files were renamed to [filename].BAK, including the ones under /preload folder.
After this, i´ve copied callrec Phone.apk to /system/app and /preload folders and reboot the phone but i don´t know why this not work for me.
All these operations were done without recovery mode, i´ve remounted /system and /preload as rw to do this because on recovery mode i could not mount sdcard.... :crying:
Anyone could help me to solve this issue??
Many thanks,
Raphael.

raphaelmg said:
Hi! First of all i would like to apologize myself if there is a solution to this issue, but i look around and found nothing...
I want to completely replace JB stock dialer (galaxy i9100) to callrec one without reflashing, only through ADB with the phone on recovery mode.
I´ve read a lot of things about it but i got no success.
I was able to rename several files (apk and odex) under /system/app folder:
SecPhone.apk and SecPhone.odex
SecFactoryPhoneTest.apk (this one is a symlink to /preload/symlink/system/app/SecFactoryPhoneTest.apk)
Phonesky.apk (this one is a symlink to /preload/symlink/system/app/Phonesky.apk)
Phone_Util_U1_EUR_OPEN.apk and Phone_Util_U1_EUR_OPEN.odex
PhoneErrService.apk and PhoneErrService.odex
All these files were renamed to [filename].BAK, including the ones under /preload folder.
After this, i´ve copied callrec Phone.apk to /system/app and /preload folders and reboot the phone but i don´t know why this not work for me.
All these operations were done without recovery mode, i´ve remounted /system and /preload as rw to do this because on recovery mode i could not mount sdcard.... :crying:
Anyone could help me to solve this issue??
Many thanks,
Raphael.
Click to expand...
Click to collapse
Anyone can give me a path?
Plz help!!

Related

Issues with root: Cross-device link

Before I begin, I just want to say that I've done my due diligence and searched for an answer for this... both on xda and the interwebs.
I have successfully obtained root on my phone... did it about 4 days ago. At the same time, I was able to successfully move all of my unnecessary HTC provided widgets such as Stock.apk to a folder I created within the /system/app location. But now, I'm having a problem with root access.
I have mounted the phone with the command:
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
but yet when I attempt the following command:
# mv HtcClockWidget.apk /system/app
I get the following error:
failed on 'HtcClockWidget.apk' - Cross-device link
I've rerooted the phone three times now, which is sufficient enough for me to go to you guys and ask. I think I may be doing something wrong. Any ideas? I'm totally lost.
EDIT:
To clarify, I'm attempting to replace the original HtcClockWidget.apk from Sprint to the flip clock from a GSM Hero. I have moved the HtcClockWidget.apk original to /system/app/ap for backup purposes. Upon moving the file and attempting to move the GSM file to the /system/app folder, I get the Cross-device link error. But, if I move the HtcClockWidget.apk original file back from the /ap backup folder to its original location, it has no problem doing so. Is there some kind of protection that the /system/app folder has that can distinguish between two different HtcClockWidget.apk's?
are you using MoDaCo's rom? if so just use cp HtcClockWidget.apk
and is your pwd your sd card?
No, I am using the stock ROM. I just so happened to stumble across this thread:
http://forum.xda-developers.com/showthread.php?t=554826
I guess I can only replace the /system/app files while in recovery with the /system directory mounted! Problem solved!
do you have the gsm htc clock (with animation) apk????
is that why I dont see any animations on my flip clock? Always wondered because my Dream Hero always had (albeit slow) animations. Btw, I seem to be able to mount the system as read/write even with the phone booted normally.

How to copy libcamera.so to system???

Hi everyone!
First,thx to everyone who tried to help me
My problem:
I downloaded file libcamera.so which should make camera works better,but I couldn't copy it to system/lib (if it should be copid in there at all) but when I try to copy I get a message that folder is read only amd copy can not be done
How can I fix it?
Thanks
iivanovic said:
Hi everyone!
First,thx to everyone who tried to help me
My problem:
I downloaded file libcamera.so which should make camera works better,but I couldn't copy it to system/lib (if it should be copid in there at all) but when I try to copy I get a message that folder is read only amd copy can not be done
How can I fix it?
Thanks
Click to expand...
Click to collapse
... try to mount system first
adb remount
or in shell
mount system
...

Custom Window Animations +

I was experimenting with the framework-res.apk and there i get a folder named anim. So I put some anim files from many ROM's of Galaxy i9000's anim files in i5801 and it works.
So I uploaded it here, If U want, than U can grab it from here.
It's really very cool.
How to :
if you want to use these animations:
1. Download the file in zip format.
2. Just extract the framework-res.apk from the zip file.
3. Now put the framework-res.apk into /sdcard.
4. Now do backup of framework-res.apk and copy it into /sdcard/external_sd or wherever you want.
5. Now put the framework-res.apk in /system/framework using root explorer. Sorry I don't know how to push it using ADB
6. It can only be possible if the phone is rooted.
7. Make sure the /system/framework space is this much enough to copy the file.
8. Now reboot the device and feel the changes.
~_^
Bounce >>>> http://www.multiupload.com/F0I5CR04GM
Flip >>>>>>> http://www.multiupload.com/71OK1YA4XF
Fold >>>>>> http://www.multiupload.com/Z1NZFZFBQ9
Flying >>>>> http://www.multiupload.com/4QMTZVEV4M
Original >>>> http://www.multiupload.com/RUQZ9IBPL1
It will work on any 2.2 Froyo
Nice find Will definately check it out this evening!
Now trying it, the bource version, will report back soon.
EDIT: I Cant boot any more.. JPF
booted. JPF Clean. Works, very nice. Thank you.
Can you upload the original framework-res.apk from jpf?
EDIT1: Dont Need it anymore, reflashed the phone with jpf
EDIT2: After Reflash works without problems!
EDIT3: Original File is also here, sry hevent seen it.
can u make update.zip files? pls
TFS.....
thx
it's working nice with my modded livewallpapers firmware too!
Can you put some screens there?
And can someone inform me if it is a succes on JPF-rom?
Thanks
ilendemli said:
Can you upload the original framework-res.apk from jpf?
EDIT1: Dont Need it anymore, reflashed the phone with jpf
EDIT2: After Reflash works without problems!
EDIT3: Original File is also here, sry hevent seen it.
Click to expand...
Click to collapse
before you copy the framework-res.apk you have to remount system with adb shell:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
and after you can owerwrite the framework-res.apk in system folder with root explorer
i know, that was not the problem, my problem was the custom kernel by gsam
I was wondering: How did you change the framework-res.apk and resigned it without having problems ? I tried to change the battery artwork, and all i get is FC..
Gsam101 said:
I was wondering: How did you change the framework-res.apk and resigned it without having problems ? I tried to change the battery artwork, and all i get is FC..
Click to expand...
Click to collapse
I used just simple method.....
Extract the .apk on my desktop and I do changes on the /res/anim folder.
And that's it !!!..... and i don't think that anybody getting any error due to it.
--------------------------------------------------
Current Device = Samsung GT-i5801
JPF Clean ROM FroYo + JPB Kernel and some perf tweaks.
madhuranand007 said:
I used just simple method.....
Extract the .apk on my desktop and I do changes on the /res/anim folder.
And that's it !!!..... and i don't think that anybody getting any error due to it.
--------------------------------------------------
Current Device = Samsung GT-i5801
JPF Clean ROM FroYo + JPB Kernel and some perf tweaks.
Click to expand...
Click to collapse
nice job
thx
TiBiSMART said:
nice job
thx
Click to expand...
Click to collapse
Thanks TiBi
I have a problem with Root Explorer! It ocurred as:
I copy a file, and I can to paste it in System/framework, but when I try paste it the Root Explorer don´t permit me to paste and says me this message:
"The paste operation failed. Would you like to send diagnostic information to the developer to assist with fixing the problem?"
WHY?
Thx 4 all! =)
fersago said:
I have a problem with Root Explorer! It ocurred as:
I copy a file, and I can to paste it in System/framework, but when I try paste it the Root Explorer don´t permit me to paste and says me this message:
"The paste operation failed. Would you like to send diagnostic information to the developer to assist with fixing the problem?"
WHY?
Thx 4 all! =)
Click to expand...
Click to collapse
"before you copy the framework-res.apk you have to remount system with adb shell:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
and after you can owerwrite the framework-res.apk in system folder with root explorer"
Yaffs2 are u sure? I think system is rfs
Download SGS toolbox or mount /system rw from market and no more problem mounting as rw.
The right command is
busybox mount -o remount,rw /system

Cannot delete files or folders within /data/data/

Setup: CROMI 3.4.7 with Data2SD
I am having issues deleting folders and files within the /data/data/ portion of my file structure. I have tried with both th File Manager HD and ES File Explorer but I keep getting messages saying that I am unable to delete those folders and files.
The reason I am trying to delete this is because I was unable to install certain apps, and continually got an error message during installation that said:
Unknown error code during application install: "-24"
From searching forums, I found that the issue is that previous installations (I guess I forgot to do a factory reset before reflashing a ROM) left certain system folders and files for certain applications, which prevented a fresh installation from taking place. Other users have resolved this issue by deleting the relevant files in the /data/data/ section of their tablet.
I have circumvented the issue by renaming those folders (which for some reason works), but still cannot delete those renamed folders. I've tried messing with the permissions, but still no luck.
Any ideas?
Possibly an ownership problem?
Boot into recovery, plug in the USB cable, go into adb shell. Make sure that /data is mounted. Then do something like:
cd /data/data
chown -R media_rw.media_rw *
Might wanna backup first...
danger-rat said:
cd /data/data
chown -R media_rw.media_rw *
Click to expand...
Click to collapse
Don't do that if you want any apps to work afterwards.
Eeeeek, good catch!
I was thinking data/media.
You could do this just for the specific folders you want to delete, but not all...

No longer able to copy files to /System

Recently had some issues with my device that caused me to to come back from a soft brick. Since then I have not been able to copy or replace files in the /System directory.
Items that have been tried and do not result in access:
Re-flash ROM (RR)
Taken back to stock image and then Re-flashed ROM (RR)
Flashed a new version of Magisk
Tried mounting the /system and making rw
Used RootExplorer and ES to change permissions to rw (chmod 777)
With all these, I try and overwrite files in system and they fail. Items with non conflicting names will appeared moved, but upon reboot all files are missing.
Ultimately what I am trying to do is move additional .ogg files into the media folder within system.
Any and all help appreciated.
Edit: Finally was able to mount /system and replace/add files after fully uninstalling Magisk and then flashing Magisk-v16.1(1610).zip
If I understand correctly, you can't modify /System with Magisk. With SuperSU, you can.
shopealope said:
If I understand correctly, you can't modify /System with Magisk. With SuperSU, you can.
Click to expand...
Click to collapse
yes you can modify /system with magisk. I do it all the time. Usually delete some aosp apps I don't need and they are in system/apps.

Categories

Resources