Phone keeps connect/disconnecting from USB after root and some bloatware removal - Droid 2 Android Development

I'm not sure what I could have removed that would cause this, but I'm attempting a restore. would anyone be willing to upload the standard contents of the /system/app folder for me?

kageurufu said:
I'm not sure what I could have removed that would cause this, but I'm attempting a restore. would anyone be willing to upload the standard contents of the /system/app folder for me?
Click to expand...
Click to collapse
when are people going to learn to reNAME instead of reMOVE. it's a BAD idea to experiment like that without even having an SBF yet. I'd say from now on, stick to the list of apps that are "safe to remove" from droid x. I don't have the time to get the system apps right now but I may be able to when I get home later

Yes, you should just rename files so that you can restore them easily.
Check the system dump in the Themes and Apps forum.. see if you can reconstruct from that.

yeah, Im not even sure what messed up, I was going off the safe to remove list found droidxforums com/forum/droid-x-hacks/1347-removing-bloat-11.html#post13552
and its working again.
I just restored my backup, and it works fine.

Related

Applications grayed out in Market

After testing a Hero rom and unhappy I decided to restore my nanroid backup.
Upon doing so the apps were missing but said they were already downloaded in the market.
But the area to download or uninstall is grayed out.
I was able to restore all but a few paid apps and theyre protected and wont download with Linda file manager and other similar file managers. It recognizes the app but fails to install. Also, noticed theyre in ZIP form instead of APK.
Does anyone know how to fix this??
It happens when you did the Nandroid restore and the corresponding apks were not in your /data/app folder. You could try finding the files and pushing them to your phone or try wiping, reflashing and reinstalling all those apks and THEN doing the nandroid restore. Hope that helps and I'm sure there is a better way.
phreke said:
It happens when you did the Nandroid restore and the corresponding apks were not in your /data/app folder. You could try finding the files and pushing them to your phone or try wiping, reflashing and reinstalling all those apks and THEN doing the nandroid restore. Hope that helps and I'm sure there is a better way.
Click to expand...
Click to collapse
If I were to find the files how do I push them to where they belong?

Default launcher, and app removal...

Just a few quick questions that I had trouble finding answers to.
1. Easy way to set the default launcher to launcher.apk, even if rosie is removed it still shows up after flashing rom?...
2. When I unzip a rom, remove apk's, resign, and flash, many of the apk's I had removed still show up. Rosie, sprint nfl, default music, htc contacts, etc. Anyone know why this is? Tried with several different roms and wiped excessively. Still seem to be several app's I cannot remove without adb'ing after flash...
Thanks in advance
Make sure you Wipe Data/Factory Reset from the Recovery image before flashing
mrinehart93 said:
Make sure you Wipe Data/Factory Reset from the Recovery image before flashing
Click to expand...
Click to collapse
Turdburglar said:
Tried with several different roms and wiped excessively. Still seem to be several app's I cannot remove without adb'ing after flash...
Click to expand...
Click to collapse
10charsssssssssssssssss
Aah sorry I missed that. It could be that the apps you're attempting to remove that are being left-over are in /system/app... because wiping Data doesn't remove them from there.
mrinehart93 said:
Aah sorry I missed that. It could be that the apps you're attempting to remove that are being left-over are in /system/app... because wiping Data doesn't remove them from there.
Click to expand...
Click to collapse
Thanks, strange, shouldn't it format system/app on flash? Anyone tell me how I might accomplish that?
Actually now that I think about it, even if I adb rm, and flash a rom with the apk's removed, they still show up.
Wow... I have no idea then Nevermind, scratch that! DO you have an ext partition or Apps2SD installed? That would be the culprit!!!!!
mrinehart93 said:
Wow... I have no idea then Nevermind, scratch that! DO you have an ext partition or Apps2SD installed? That would be the culprit!!!!!
Click to expand...
Click to collapse
nope, weird right? think I got sprint nfl out by default finally. Still got Rosie, music, people...
default im won't go away either, or weather.
Screw it, i'll just make a .bat, what a pain...
Well I think I found my problem, not sure how to fix it tho if anyone can lead me in the right direction. I've been using fresh pre-kitchen to sign zips. Seems no matter what I put in the update-script before I sign it with pre-kitchen this is all I have in there afterword...
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
So obviously it's not formatting system. or doing anything but copying "system". I can also try to edit/replace the update-script after I sign the zip but that gives me a "E:/Wrong Digest .../update-script E:Verification failed" error when I attempt to flash.
All I'm trying to do is add a data folder to damagecontrol2.07.2, remove some apps, rosie, add a new taskbar, and lockscreen.
Is there any better easy way to do this, update-script is killing me.....
Suppose I could try to sign it manually, but I'm a noob and lazy I guess, easy and quick is good. Anyone else having this sort of problem with pre-kitchen?
I already got damagecontrol running on my phone with all the things I want using a .bat, just trying to figure out how to put it all in a rom I can flash and be done with it in the future.... Thanks for any help.
I find the easiest way to sign update.zip's is to find the script somewhere around here (I have no idea... I found it like 4 months ago) that adds "Sign Zip" to your right-click context menu. If you do that, then all you have to do is pull the META-INF folder from the ROM you're basing it off of, put that next to System and boot.img in the same directory, highlight them all, zip them, and then right click and sign the zip. That's how I do stuff, and it works perfectly every time.
mrinehart93 said:
I find the easiest way to sign update.zip's is to find the script somewhere around here (I have no idea... I found it like 4 months ago) that adds "Sign Zip" to your right-click context menu. If you do that, then all you have to do is pull the META-INF folder from the ROM you're basing it off of, put that next to System and boot.img in the same directory, highlight them all, zip them, and then right click and sign the zip. That's how I do stuff, and it works perfectly every time.
Click to expand...
Click to collapse
thanks, I'll take a look around for it.
No problem. If it helps, I'm pretty sure I found the script on a Droid forum. I'd help you look for it, but I have homework to do that involves Shakespearian soliloguy's... and Shakespeare is not one of my forte's.
Found one for linux here...
http://forum.xda-developers.com/showthread.php?t=538020
to bad I'm on windows at the moment, might be about time to go back to ubuntu anyway.
Anyone got one for windows for sh..s and giggles?
ahhh well I've been using winzip to zip the files, seems others have been having problems also, supposedly 7-zip works better? I'll post results in case anyone else has similar issues.
Nice! found the windows script for right click also incase anyone wants it.
http://forum.xda-developers.com/showthread.php?p=6232592
Yep problem was winzip. works like a charm when zipped with 7zip... tried zips from both winzip and 7zip with pre-kitchen and the script, update-script in the winzip'd files is always bare. odd. Thanks for pointing me to the script mrinehart, doesn't get easier than that.
No problem! Glad you were able to find it and get everything working

Stock .apk's backup

Has anyone backed up the stock applications? I accidentally deleted audiotuning.apk and want to put it back, even though I haven't determined what it's for. If anyone has backed these up to their desktop, I would greatly appreciate it if someone could send it to me so I don't have to reinstall.
Coming from a lifetime use of Blackberry, it seems we can't fix our mistakes as easily on Android
dmasjz45 said:
Has anyone backed up the stock applications? I accidentally deleted audiotuning.apk and want to put it back, even though I haven't determined what it's for. If anyone has backed these up to their desktop, I would greatly appreciate it if someone could send it to me so I don't have to reinstall.
Coming from a lifetime use of Blackberry, it seems we can't fix our mistakes as easily on Android
Click to expand...
Click to collapse
Attached.
I use the Sdx Stock App to backup and delete system apps. If you're rooted it's invaluable.
apogee82 said:
Attached.
I use the Sdx Stock App to backup and delete system apps. If you're rooted it's invaluable.
Click to expand...
Click to collapse
Thank you!!!!
It seems I can't copy this over to system\apps. Looks like the .odex was deleted also. Could you please attach this for me too? Hoping that will do it. I'm rooted so I don't know why it's not showing up (using root explorer)
Or do I have to do this using adb ?
I am going to zip all these up and post them on here for other morons like me after
dmasjz45 said:
Looks like the .odex was deleted also. Could you please attach this for me too?
Click to expand...
Click to collapse
Rename it to .odex it's not really a zip file. I had to name it that to get around the forum limitations.
I'm pretty sure you have to do it using ADB and mount the system/app directory as writable. If you install the Sdx tool you can backup a few apps, then navigate to the sdx directory on the sdcard that gets created and manually add the audioTuining files in there and then restore them using the Sdx app.
That's a long way around ADB but it should work.
Thanks again!!!
Jeeze what a hell of a job it is to push a few files to /system folder
Anyway, got them over there...Unavailable to actually install it (no idea why) but at least it's sitting back in there
That takes care of my OCD until I notice what it affected
where can i find that sdx tool? are there any other free apps out there that I can back up my phone with?
I'd be most grateful if someone could attach VoiceSearch.apk, and VoiceSearch.odex.
Accidentally deleted.
infamousjax said:
I'd be most grateful if someone could attach VoiceSearch.apk, and VoiceSearch.odex.
Accidentally deleted.
Click to expand...
Click to collapse
do you mean voicedialer.apk and .odex? I don't see VoiceSearch
Edit:
the .odex file is in the rar
DevilDogVIKING said:
where can i find that sdx tool? are there any other free apps out there that I can back up my phone with?
Click to expand...
Click to collapse
Attached to second post.
apogee82 said:
Attached to second post.
Click to expand...
Click to collapse
I can't believe I missed that, thanks
can someone upload the Sprint_App_Updater.apk?
You can get them all here
http://forum.xda-developers.com/showthread.php?t=773142

[Q] Pulling files from the phone

How would I pull the data and system files from my phone?
Every time I try to pull my system file from my phone from the debug monitor it only pulls the apps, bin, and etc files.
Any ideas or help would be appreciated.
softwaredownloads
softwaredownloads.org
go and have a look,I think there maybe some softwares can help you,it is a nice place,Thanks!
Jamin13 said:
How would I pull the data and system files from my phone?
Every time I try to pull my system file from my phone from the debug monitor it only pulls the apps, bin, and etc files.
Any ideas or help would be appreciated.
Click to expand...
Click to collapse
Gimme an hour my magical glass orb is currently guessing what phone you actually have.
Rain51020 said:
softwaredownloads.org
go and have a look,I think there maybe some softwares can help you,it is a nice place,Thanks!
Click to expand...
Click to collapse
What does that have todo with anything?
And the orb predicts....*say Kyocera Echo*.
*gasps* How did you know?
All joking aside, I can't seem to pull these system files from my Echo. My Echo is rooted but I still can't.
What specific is missing ?
Just an idea copy the system dir to your sdcard, and pull from there.
You can copy it with adb it self or any explorer app.
*hidden advertisement* SD Maid in my signature can do the job ;-).
I've been trying too pull the framework .apk from it (and other stuff that's too long too list).
Sent from my M9300 using XDA App
Thanks for that, SD Maid worked like a charm.
Now, I just need verify that these are the correct files. I've been trying to get a system dump and it would only pull 4 folders.

Now that root is getting closer, PLEASE BACK UP!!

If you want to delete an app, change a file or whatever when you get root, please be smart about it. Think before you delete something. Have a plan B (a failback plan). If you don't know how you will fix whatever you're about to potentially break, DON'T DO IT.
Try to learn ADB. I know it's not for everyone, but it may pull you out of the fire later. Think before you do anything.
No matter what Android device it is, someone always has a post saying "Help! I deleted <insert app here> and I need it back!" Here are some tips:
Don't freeze or delete an app using Titanium Backup without knowing if it will crash your phone or not
If you're using ADB, rename a file instead of deleting it if you're not sure if it will crash your phone or not
Your /system folder is like the base operating system folder (think C:\Windows); before you change something BACK IT UP!
Code:
adb pull /system <destination_folder>
Since we only have temp root for now, if you're disabling packages, back up the packages.xml file
Code:
adb pull /data/system/packages.xml <destination_folder>
Learn from others' mistakes; if someone bricks their phone, read the thread and figure out how NOT to screw yourself and your phone
Heard of measure twice, cut once? Read three times, execute once. Listen to the Devs. Be nice to them. Don't piss them off. They do this on their own time.
Please be smart about whatever you do to your phone. We can't be dumb smart phone users. If you don't know something, ask in the appropriate section or thread. If you know something, don't tease others for not knowing. The occasional flame is funny and all, but at some point someone has to learn whatever they don't know - someone is going to have to step up and help them.
Thanks dawg...
I think and SD backup and Nandroid recovery backup on root will be good enough? <not condascending...just asking from your adb opinion?>
ROM_Guest said:
Thanks dawg...
I think and SD backup and Nandroid recovery backup on root will be good enough? <not condascending...just asking from your adb opinion?>
Click to expand...
Click to collapse
I think of that as another layer. We're not there with the Sensation yet, but I always think it's a good idea to use any and all methods best suited for what you're doing.
For example, if you're flashing a theme someone customized which could change multiple apk and jar files, a Nandroid backup is best.
When someone goes to remove an apk or freeze an app, they usually don't think to take a Nandroid backup (because deleting or freezing takes only a second - Nandroid backups take longer).
1) we don't have that functionality yet and 2) it's very common for someone to try to freeze a critical app which can cause a boot loop, which can easily be fixed by adb (if a Nandroid is not available).
i tried:
adb pull / backup/
it started building a file list and then started the copy. after a time (dont know excatly when because i let it run beside) it stoped working at:
pull: /sys/devices/platform/msm_adc/batt_id -> backup/sys/devices/platform/msm_adc/batt_id
nothing more happend. now i got 4883 files, a total of 3.1 GB, backup directory. but it seems not all files are in. when i browse through the phone dir i see much more files in the dirs.
is there any other way of getting a complete backup? when i rerun the command will it skip the files it allready dumped to disk? any other command?
thx!!!
daSn00p said:
i tried:
adb pull / backup/
it started building a file list and then started the copy. after a time (dont know excatly when because i let it run beside) it stoped working at:
pull: /sys/devices/platform/msm_adc/batt_id -> backup/sys/devices/platform/msm_adc/batt_id
nothing more happend. now i got 4883 files, a total of 3.1 GB, backup directory. but it seems not all files are in. when i browse through the phone dir i see much more files in the dirs.
is there any other way of getting a complete backup? when i rerun the command will it skip the files it allready dumped to disk? any other command?
thx!!!
Click to expand...
Click to collapse
All you really need is /system and /data if you want a complete backup. I know you see other files+folders, but those are mounted by the OS and kernel... or whatever. Someone with more Linux experience can explain better than I can. But if you want a complete backup, just get /system and /data.
The /system folder is like getting the base OS. The /data is all your user/personal data.
dumping /system worked fine: 1366 files pulled. 0 files skipped.
when trying to dump /data it freezes again and allways again at:
pull: /data/d/smem_log/dump_cont -> ../backup2/data/d/smem_log/dump_cont
so i dumped every dir in data manually only /data/d is missing now. but there are so many dirs in it, i dont want to dump every dir on its own
any idea?
daSn00p said:
dumping /system worked fine: 1366 files pulled. 0 files skipped.
when trying to dump /data it freezes again and allways again at:
pull: /data/d/smem_log/dump_cont -> ../backup2/data/d/smem_log/dump_cont
so i dumped every dir in data manually only /data/d is missing now. but there are so many dirs in it, i dont want to dump every dir on its own
any idea?
Click to expand...
Click to collapse
That should be good enough for now. No one else is doing this manually, so until we get an official root this is all you can do to backup. Once we get permanent root, titanium backup will do most of this for us.
I would only make backups of anything you change or delete at this point, but that's just me.
Sent from my HTC Sensation 4G using XDA App

Categories

Resources