[Q] if i copy the system/app folder from another d2g.. - Droid 2 Global General

Hello,
My brother and I both have d2gs. I changed/removed apps in the system/apps folder as a result I was unable to upgrade to 2.4.3. My brother hasn't changed anything or rooted. If I copy his folder and overwrite my directory will I be able to update? (His phone is already updated)
Thx

Not going to work. Update updates bootloader, recovery and kernel beside system.
My advice if you can't get system stock manually is flash SBF, then update OTA
Sent from my DROID2 GLOBAL

leobg said:
Not going to work. Update updates bootloader, recovery and kernel beside system.
My advice if you can't get system stock manually is flash SBF, then update OTA
Sent from my DROID2 GLOBAL
Click to expand...
Click to collapse
Yea I didn't think it would be that easy haha

leobg said:
Not going to work. Update updates bootloader, recovery and kernel beside system.
My advice if you can't get system stock manually is flash SBF, then update OTA
Sent from my DROID2 GLOBAL
Click to expand...
Click to collapse
Yea I didn't think it would be that easy haha

leobg said:
Not going to work. Update updates bootloader, recovery and kernel beside system.
My advice if you can't get system stock manually is flash SBF, then update OTA
Sent from my DROID2 GLOBAL
Click to expand...
Click to collapse
I think Vexorg might mean the system/apps folder, which he or she modified to disable bloatware. It seems that removing apps from that folder makes the update fail. One should rename the apps instead to disable (e.g. CityID.apk -> CityID.apk.bak) so the original state can be recovered when updating.
Correct me if I'm wrong, but in that case copying the brother's system/apps should work fine. I've read that you can download the same APKs online to recover them, so I would imagine using the brother's directory contents should be fine as well.

adridge said:
I think Vexorg might mean the system/apps folder, which he or she modified to disable bloatware. It seems that removing apps from that folder makes the update fail. One should rename the apps instead to disable (e.g. CityID.apk -> CityID.apk.bak) so the original state can be recovered when updating.
Correct me if I'm wrong, but in that case copying the brother's system/apps should work fine. I've read that you can download the same APKs online to recover them, so I would imagine using the brother's directory contents should be fine as well.
Click to expand...
Click to collapse
Yup that's exactly what I meant, can anyone confirrm?

Related

build.prop update.zip

Is it possible to make an update.zip file that replaces the build.prop file, or any way to replace the build.prop file without doing a full restore?
I did it using adb commands.
Well I tried using adb shell to swap the file, but when I ran su I got "[1] + Stopped (signal) su"
So I guess I'm going to be forced to do a nadroid restore of my system
Just use root explorer to copy the file to /sd, then use astro to edit it, and root explorer it back to the original spot and reboot. You don't need to change file permissions or any thing. No computer needed.
Sent from my GT-I9000 using Tapatalk
Boot loop
Clienterror said:
Just use root explorer to copy the file to /sd, then use astro to edit it, and root explorer it back to the original spot and reboot. You don't need to change file permissions or any thing. No computer needed.
Click to expand...
Click to collapse
Hi Clienterror,
What if the system is not booting?
I had installed an application which changes resolution and now ended up with a boot loop.
I have searched for ways how to extract the build.prop and correct the error, but none appears to exist.
I was asking if it is possible to extract the current build.prop via the update.zip method so that the build.prop can be repaired...
I read that from the update.zip you can execute code, would it be possible to use a similar method for extracting files from the system folder?
Thanks
remuscat said:
Hi Clienterror,
What if the system is not booting?
I had installed an application which changes resolution and now ended up with a boot loop.
I have searched for ways how to extract the build.prop and correct the error, but none appears to exist.
I was asking if it is possible to extract the current build.prop via the update.zip method so that the build.prop can be repaired...
I read that from the update.zip you can execute code, would it be possible to use a similar method for extracting files from the system folder?
Thanks
Click to expand...
Click to collapse
You could just reflash your current ROM and it should replace it.
korockinout13 said:
You could just reflash your current ROM and it should replace it.
Click to expand...
Click to collapse
Hi korockinout13,
I have tried to refresh from a rom i got, but I am prompted an error with Nand version.
The android in question is not common (Subor, a chinese Android Tablet) and have not found any firmware for my particular model except for the one supplied by the supplier, which still does not install.
At this stage reflashing is not an option, so I am looking for something else...
Thanks for your time
P
remuscat said:
Hi Clienterror,
What if the system is not booting?
I had installed an application which changes resolution and now ended up with a boot loop.
I have searched for ways how to extract the build.prop and correct the error, but none appears to exist.
I was asking if it is possible to extract the current build.prop via the update.zip method so that the build.prop can be repaired...
I read that from the update.zip you can execute code, would it be possible to use a similar method for extracting files from the system folder?
Thanks
Click to expand...
Click to collapse
Actually there is a potential option... can you get into recovery? And does your recovery have a file manager? If so go into mounts and mount /system. Then use the file manager in recovery and you should be able to access build.prop. copy it to your SD and then you should be able to mount your SD to your computer through recovery.
Edit: when you mount /system make sure you mount the SD as well or you won't be able to copy to it while you're in the recovery file manager.
Sent from my SGH-I897 using xda app-developers app
Hi m1batt1,
The recovery does not have any file mount option
I have lost all hope of being able to get the system to boot.
Thanks the same.
remuscat said:
Hi m1batt1,
The recovery does not have any file mount option
I have lost all hope of being able to get the system to boot.
Thanks the same.
Click to expand...
Click to collapse
You might have to flash stock KK4 at this point and go from there.
What kernel do you have for it not to have a file mount? I believe even stock kernel has it Since you can get in download mode, I would flash a newer kernel if I were you (with Odin) to be able to mount in recovery.
remuscat said:
Hi korockinout13,
I have tried to refresh from a rom i got, but I am prompted an error with Nand version.
The android in question is not common (Subor, a chinese Android Tablet) and have not found any firmware for my particular model except for the one supplied by the supplier, which still does not install.
At this stage reflashing is not an option, so I am looking for something else...
Thanks for your time
Click to expand...
Click to collapse
BWolf56 said:
You might have to flash stock KK4 at this point and go from there.
What kernel do you have for it not to have a file mount? I believe even stock kernel has it Since you can get in download mode, I would flash a newer kernel if I were you (with Odin) to be able to mount in recovery.
Click to expand...
Click to collapse
From what I'm reading he doesn't even have a captivate. He's using some Chinese tablet.
Sent from my SGH-I897 using xda app-developers app

[Q] Is there a way to "install" system apk's?

Let's say, for example, I uninstalled some apps in Titanium Backup. System apps such as MMS.apk or Contacts.apk, etc. How would I go about installing these apps back to my phone? I know that Titanium Backup does not restore them if you uninstall them. So is there another way? Because trying to install the normal way does not work.
Yes, use Root Explorer (or similar file manager app) to put them back in /system/app.
Alternatively, you can always use ADB to push the files back.
Sent from my SCH-I510 using XDA App
kelmar13 said:
Yes, use Root Explorer (or similar file manager app) to put them back in /system/app.
Alternatively, you can always use ADB to push the files back.
Sent from my SCH-I510 using XDA App
Click to expand...
Click to collapse
I tried this method and neither worked. I've literally tried everything. It's not that I can't flash any ROM I want to get it back its just that I'm trying to change up some of the theming of the stock apk's.
Syn Ack said:
I tried this method and neither worked. I've literally tried everything. It's not that I can't flash any ROM I want to get it back its just that I'm trying to change up some of the theming of the stock apk's.
Click to expand...
Click to collapse
That's how you install them. Is /system mounted as RW when you're trying?
So is it safe to assume you deleted the backups in TiBu, then?
tcollum said:
So is it safe to assume you deleted the backups in TiBu, then?
Click to expand...
Click to collapse
Right before I uninstalled MMS.apk, I backed it up with TiBu. When I tried restoring, it would just sit there "restoring" for several minutes and would never do anything. It never restored.
As funny as this thread is. Dude. go to your rom .zip and extract the files from the /system/app directory and reinstall them.
dragonstalker said:
As funny as this thread is. Dude. go to your rom .zip and extract the files from the /system/app directory and reinstall them.
Click to expand...
Click to collapse
That's has been discussed already, no luck. Thanks though.
Syn Ack said:
That's has been discussed already, no luck. Thanks though.
Click to expand...
Click to collapse
then extract the entire /system directory.
adb push /\system /system
dragonstalker said:
then extract the entire /system directory.
adb push /\system /system
Click to expand...
Click to collapse
So you say I should pull /system then put in the MMS.apk and then push /system back with the MMS.apk in it?
Syn Ack said:
So you say I should pull /system then put in the MMS.apk and then push /system back with the MMS.apk in it?
Click to expand...
Click to collapse
no. i'm saying take the /system from the .zip of whatever rom you have downloaded and push it to your phone.
It will overwrite whatever you screwed up. From what you are saying, you have done more then just delete some apk's. If all you did was delete them, then you should be able to put them back. The fact that you cannot tells me you have been doin more then what you are letting be known.
Alternate suggestion.
REFLASH YOUR PHONE.
kelmar13 said:
Yes, use Root Explorer (or similar file manager app) to put them back in /system/app.
Alternatively, you can always use ADB to push the files back.
Sent from my SCH-I510 using XDA App
Click to expand...
Click to collapse
If you do the root explorer and it didnt work, you might have to go into the app's settings and give yourself permission to edit these directories......
dragonstalker said:
no. i'm saying take the /system from the .zip of whatever rom you have downloaded and push it to your phone.
It will overwrite whatever you screwed up. From what you are saying, you have done more then just delete some apk's. If all you did was delete them, then you should be able to put them back. The fact that you cannot tells me you have been doin more then what you are letting be known.
Alternate suggestion.
REFLASH YOUR PHONE.
Click to expand...
Click to collapse
Yes I know of these ways, I was trying to figure out a way to do it for a single app as opposed to flashing the whole system back on. It's not that I have a problem and can't get these back. Thanks for your input.
Did you reboot after you put the apk(s) in /system/app so that they'd be re-populated in the list?
imnuts said:
Did you reboot after you put the apk(s) in /system/app so that they'd be re-populated in the list?
Click to expand...
Click to collapse
Yeah. I've literally tried everything. Maybe my flash of the new leak, 2.3.4, was no good. Thanks for the help though. I'll reflash the full package and start fresh with someone elses EP1F, maybe the one I downloaded was a fail.
Just making sure... but you have removed the apps completely and are just trying to add the old backups back in, right?
Do you have the apps somewhere other than Titanium Backup?
kelmar13 said:
Just making sure... but you have removed the apps completely and are just trying to add the old backups back in, right?
Do you have the apps somewhere other than Titanium Backup?
Click to expand...
Click to collapse
When I removed the apps, I uninstalled them completely, they were nonexistent in /system/app
Please keep the Thread Clean and on Topic or the Thread will get Deleted
I just tried doing this AGAIN with a legit stock Browser.apk. It did the same exact thing. Won't install after reboot. This seems to be a problem with the EP1F leak.
Syn Ack said:
I just tried doing this AGAIN with a legit stock Browser.apk. It did the same exact thing. Won't install after reboot. This seems to be a problem with the EP1F leak.
Click to expand...
Click to collapse
if you have adb run a logfile while you are doin the install so i can see the error.

[Q] what is the new update??

sorry for posting new thread but I don't know where to ask...can anybody please tell me tge new update 4.5.269 and someting3..is it the new version of gingerbread,is it safe to update..please tell me...
The new update is 4.5.629. It goes from Gingerbread 2.3.3 to Gingerbread 2.3.4, so a slight update. There are a few bug fixes, but it has a number of undesirable things.
1) 4.5.629 is currently not rootable
2) You cannot simply return to an earlier version via SBF.
You can overcome the first by using Voodoo Rootkeeper or similar to root on your current version, back up root with Rootkeeper and then update.
Recently, a method was found for this release to unbrick phones damaged by attempts to SBF or from bad ROMs: http://rootzwiki.com/topic/23207-how-to-sbf-unbricking-root-d2g-629 This also allows users who did upgrade to 4.5.629 to return to the previous version, root there and then upgrade again.
So it is sort of safe, but not ideal. The changelog is here, decide if the bug fixes are important enough for the added inconvenience
http://support.verizonwireless.com/pdf/system_update/droid_2_global.pdf
ok...thank u very much +1..I prefer not to update for now,and by mistake ,i select yes button in the update prompt,and its in the pull down bar,stucked and is ready to start downloading as soon as I connect to wi-fi,how will I cancel the download
You can block the update by renaming these files (e.g., append ".bak" to each filename):
/system/app/BlurUpdater_VZW.apk
/system/app/BlurUpdater_VZW.odex
Since these are in /system, renaming them requires root privileges and a root-enabled file manager (such as Root Browser Lite, available in the Google Play store).
ok..thanks,will do that,but after doing that,will I be able ro manually update it,or all the updates have been blocked???
Renaming those files will disable the OTA update client completely. You can still manually install an update by rebooting into recovery, but you will first have to download the update file from another source, rename it to "update.zip", and place it in the root level of your SD card.
Of course, you can also change those files back to their original names to re-enable OTA updates at any time.
jabberwockish said:
Renaming those files will disable the OTA update client completely. You can still manually install an update by rebooting into recovery, but you will first have to download the update file from another source, rename it to "update.zip", and place it in the root level of your SD card.
Of course, you can also change those files back to their original names to re-enable OTA updates at any time.
Click to expand...
Click to collapse
okok..thanks man +1
edit : i got this 'failed to rename file' error ..what should I do??
What app did you use to try to rename the files?
Did you root your phone before attempting the rename? (See http://www.psouza4.com/droid3/ for instructions.)
jabberwockish said:
What app did you use to try to rename the files?
Did you root your phone before attempting the rename? (See http://www.psouza4.com/droid3/ for instructions.)
Click to expand...
Click to collapse
the app that u suggested me,root browser lite and my phone was rooted and also have been granted superuser's permissions..
You didn't remount /system in Read/Write mode.
Gasai Yuno said:
You didn't remount /system in Read/Write mode.
Click to expand...
Click to collapse
please tell me how to do that
Root Explorer has a button for that.
“adb remount” when connected to a PC with USB debugging enabled will do that as well.
It's also possible to do from the terminal emulator, however I don't remember the exact command.
i can't find that button,by long pressing the file/folder or what?
It looks like this app defaults to RW once it gets superuser permission (GY was referring to Root Explorer, a different app). How about copying a system file, does that work?

[Q] Help? Accidently deleted People APK?

Hey guys,
I think I accidentally deleted the people system APK?! I can no longer save contacts. Wondering what the best way to fix this issue would be without flashing back to stock rom. I am currently rooted and running stock 4.4.2 KK, but I have made a lot of MODS and am running the Galaxy Gear Manager for my watch which is a huge process to get running that I don't want to have to repeat.
Any help is mucho appreciated!!!
If you can find the apk somewhere install that. Otherwise flash the system.img from the factory image.
jd1639 said:
If you can find the apk somewhere install that. Otherwise flash the system.img from the factory image.
Click to expand...
Click to collapse
Will flashing the system.img reset everything?
jason.T said:
Will flashing the system.img reset everything?
Click to expand...
Click to collapse
No, it'll reinstall all the system files. If you modified any of them you'll lose that but I doubt you modified any. This will only work if your bootloader is unlocked. If it isn't then you'll lose everything unlocking it.
jd1639 said:
No, it'll reinstall all the system files. If you modified any of them you'll lose that but I doubt you modified any. This will only work if your bootloader is unlocked. If it isn't then you'll lose everything unlocking it.
Click to expand...
Click to collapse
Awesome, my bootloader is unlocked, thanks!
jason.T said:
Awesome, my bootloader is unlocked, thanks!
Click to expand...
Click to collapse
Have super su on your internal sd card so you can flash it in your recovery. You'll lose root.
jason.T said:
Hey guys,
I think I accidentally deleted the people system APK?! I can no longer save contacts. Wondering what the best way to fix this issue would be without flashing back to stock rom. I am currently rooted and running stock 4.4.2 KK, but I have made a lot of MODS and am running the Galaxy Gear Manager for my watch which is a huge process to get running that I don't want to have to repeat.
Any help is mucho appreciated!!!
Click to expand...
Click to collapse
Do you still need help with this? It's not that difficult to just pull the app and move it into the right system folder. Once you do that, change permissions to match the other apps, and reboot, you should be back to normal. I'll post the apk if you need it.
es0tericcha0s said:
Do you still need help with this? It's not that difficult to just pull the app and move it into the right system folder. Once you do that, change permissions to match the other apps, and reboot, you should be back to normal. I'll post the apk if you need it.
Click to expand...
Click to collapse
The APK would be amazing! I haven't been able to find it, I got the System.img that I was going to flash after work, but the APK would be a lot easier! Thanks!!
Hi,
It's Contact.apk you would need?
jason.T said:
The APK would be amazing! I haven't been able to find it, I got the System.img that I was going to flash after work, but the APK would be a lot easier! Thanks!!
Click to expand...
Click to collapse
No problem. I'll have it uploaded in a bit. It's just the People / Contacts apk, right? And you're odexed or deodexed?
jason.T said:
The APK would be amazing! I haven't been able to find it, I got the System.img that I was going to flash after work, but the APK would be a lot easier! Thanks!!
Click to expand...
Click to collapse
You can pretty much just download any ROM available, extract the Contacts.apk file (I think its in system/priv-app/) and put it on your device.
es0tericcha0s said:
No problem. I'll have it uploaded in a bit. It's just the People / Contacts apk, right? And you're odexed or deodexed?
Click to expand...
Click to collapse
Yes, the People/contacts apk, and I am still stock, just rooted and have an unlocked bootloader, so odexed, I believe.
jsgraphicart said:
You can pretty much just download any ROM available, extract the Contacts.apk file (I think its in system/priv-app/) and put it on your device.
Click to expand...
Click to collapse
I tried that with one of the apk's I found, but I couldn't get it to work. I may have gotten a corrupt file though.
Here's a flashable zip in attachment (wipe Dalvik cache just in case) for Contacts.apk (with the .odex file)...
You still have ContactsProvider.apk?
jsgraphicart said:
You can pretty much just download any ROM available, extract the Contacts.apk file (I think its in system/priv-app/) and put it on your device.
Click to expand...
Click to collapse
He might not be in a situation where he can download a large file like a complete rom. He did mention being at work. Anyway, these should work:
https://dl.dropboxusercontent.com/u/9903887/Apps/Contacts.apk
https://dl.dropboxusercontent.com/u/9903887/Apps/Contacts.odex
If you are deodexed, let me know, and don't use just the apk ^ there or it will force close constantly.
Just use a file manager that has root access (ES File Manager is a good, free choice, if you don't have another) and move the app and odex file to:
/system/priv-app
Make sure to change the permissions. The 3 Read options should be checked and the first Write option. If you aren't sure, just read the permissions of another app in that folder and match it. Then just reboot and should be back to normal.
viking37 said:
Here's a flashable zip in attachment (wipe Dalvik cache just in case) for Contacts.apk...
You still have ContactsProvider.apk?
Click to expand...
Click to collapse
Awesome!, thanks. The only thing I see in my app/system directory that pertains to contacts is the "GoogleContactsSyncAdapter.apk" I will be attempting to get this fixed when I get home in a couple hours.
jason.T said:
I tried that with one of the apk's I found, but I couldn't get it to work. I may have gotten a corrupt file though.
Click to expand...
Click to collapse
You need to change the permissions. If you didnt do that, then it wont work. es0tericcha0s explained it in his last post
jason.T said:
Awesome!, thanks. The only thing I see in my app/system directory that pertains to contacts is the "GoogleContactsSyncAdapter.apk" I will be attempting to get this fixed when I get home in a couple hours.
Click to expand...
Click to collapse
Re,
Contacts.apk and ContactsProvider.apk are in /system/priv-app...
You are odexed, right?
es0tericcha0s said:
He might not be in a situation where he can download a large file like a complete rom. He did mention being at work. Anyway, these should work:
https://dl.dropboxusercontent.com/u/9903887/Apps/Contacts.apk
https://dl.dropboxusercontent.com/u/9903887/Apps/Contacts.odex
If you are deodexed, let me know, and don't use just the apk ^ there or it will force close constantly.
Just use a file manager that has root access (ES File Manager is a good, free choice, if you don't have another) and move the app and odex file to:
/system/priv-app
Make sure to change the permissions. The 3 Read options should be checked and the first Write option. If you aren't sure, just read the permissions of another app in that folder and match it. Then just reboot and should be back to normal.
Click to expand...
Click to collapse
Dropped those 2 files into the correct /system/priv-app, changed permissions, still nothing? What am I missing?
jason.T said:
Dropped those 2 files into the correct /system/priv-app, changed permissions, still nothing? What am I missing?
Click to expand...
Click to collapse
Dumb question, but did you reboot?

Looking for dir of ota files

Does anyone know what dir the ota files are downloaded too? I would like to capture the ota and see whats in there.
TheJokah said:
Does anyone know what dir the ota files are downloaded too? I would like to capture the ota and see whats in there.
Click to expand...
Click to collapse
I did it earlier, have to be rooted to see the file that's downloaded. If you're using a root explorer search for "dlpkgfile" that's the name of the newest OTA at least, I made a copy on my SD card so I could keep putting it in the right dir and avoid downloading it all over again. Since I tried all my options i'm back to unrooted, still can't upgrade from g to o.
I don't remember the exact directory, somewhere in /etc/ if I recall.
ajent said:
I did it earlier, have to be rooted to see the file that's downloaded. If you're using a root explorer search for "dlpkgfile" that's the name of the newest OTA at least, I made a copy on my SD card so I could keep putting it in the right dir and avoid downloading it all over again. Since I tried all my options i'm back to unrooted, still can't upgrade from g to o.
I don't remember the exact directory, somewhere in /etc/ if I recall.
Click to expand...
Click to collapse
I'm having the same issue with upgrading 10G. maybe there is a way in the ota Package
EDIT:
I found this link http://forum.xda-developers.com/showthread.php?t=2699123 to force an update using the dlpkgfile from ota. I wonder if it could work for G4 also??
@TheJokah @ajent. Don't need to be rooted. Root Browser will be able to view the directory without root permissions. (I use it all the time to browse system partitions and files on unrooted devices). You can do a lot with Root Browser without root. You just can't make changes.
When the fota is available you will find it in /cache/fota
I have captured several OTAs for various devices this way...
EDIT: Make sure to copy the file after it downloads and before restart, otherwise the file will be deleted before you get it.
That is good info, thanks.
I'm pretty convinced flashfire installing the xposed zip does something that isn't reverted when flashing the unrooted system image. I used my limited knowledge to look at that xposed zip and it seems like only modifications are made to /system so it should be removed when flashing back unrooted image. I really don't know, but hope somebody can figure it out lol.

Categories

Resources