Getting Parsing errors? - Hero CDMA General

I did normal nandroid backups everytime i make changes to the phone.
Howerver I Was using root explorer and was deleting things out of /data/data because Fresh1.1 doesn't use it/have things that I wanted to take out.. such as the data file for NFL, widgets..etc.
So I deleted all these. Thinking it was fine. And I still think it has no affect but when I went to install a apk from the sd card I get a parsing error.
At first I thought it might have been just that one file... but I uninstalled better root emulator and then tried to reinstall it and got that error msg.
So I reverted back to a backup I knew is good, but get the same error when trying to install APK from the sd card get the parse error.
Thanks,
-Nigel

Um... Go back to your last good nandroid... And delete the apks through ADB... (the correct procedure... Not how you did it.) Search the forums for "removing sprint apps" and follow the directions..
What it sounds like you did was mess up the directory structure.

azyouthinkeyeiz said:
Um... Go back to your last good nandroid... And delete the apks through ADB... (the correct procedure... Not how you did it.) Search the forums for "removing sprint apps" and follow the directions..
What it sounds like you did was mess up the directory structure.
Click to expand...
Click to collapse
I have removed the apps via ADB but what I am saying is there is still data about the programs in the data/data directory. I deleted that stuff not thinking that it might affect it... Guess it did..lol not sure though..
Going to delete it via ADB and see what happens after I wipe the phone.
All nandroid backups that I know are good are still giving me the same error.
-Nigel

Wow, looks like the memory card was the culprit...???
I changed out to a different 4 gb card and all the programs that were failing are installing just fine...
I was using my RedHat machine at work so I wonder if **** got screwed up?
Welp... maybe looks like no restore for me..lol
-Nigel

Wow.. That sucks man, sorry.
Did you pull your SD card while the phone was running? (assuming you have a2sd)?

azyouthinkeyeiz said:
Wow.. That sucks man, sorry.
Did you pull your SD card while the phone was running? (assuming you have a2sd)?
Click to expand...
Click to collapse
I got the same errors trying to restore paid apps into flipz 2.0.1 ROM yesterday. Im certain its not a SD card issue but I don't know how to move forward. I am going to D/L the Eris 2.1 ROM and see if my apps how up there. If not i guess i will just deal with it. Not sure my apps2sd was working in that one either because my internal memory kept going down when I D/L an app, but I had way less apps than on Modaco and my internal mem never went down. *shrug* oh well, lets check out this 2.1

Na I never pulled the card out while phone was on.
Not sure if my linux box at work did it or the fact that I was deleting files from /data/data in root explorer... I think it's the second thing that I was doing... :-(
I did end up doing a factory restore last night and redoing it. This time though when I was deleting programs I also did the proper way in adb shell to delete the files in /data/data. I can't get over even if you delete the APKs/odex in system/apps, it still leaves files and a data base file in the data/data directory.
Anywho, so far everything is running great and I freed up even more memory on the other partition because of the data/data and I can't get over how fast the phone is!
w00t w00t!
-Nigel

FYI,
I figured out how to get my apps to restore on the 2.0.1 flipz ROM. I had to go into titanuim backup and go to problems, which downloaded an updated busybox. Once I did that I went and tried to restore a paid app and WHOOO WHOOO, it worked.

Related

This is where I'm at right now...

I have successfully rooted my Evo today and I have successfully backup my phone with nandroid and then successfully backed up my stock rom. I have now downloaded VaelPak-v2.2-HTC11-3.29.651.5.zip and I am lost from here. I have unzipped the folder but do not know how to get it installed on my Evo. Any assistance will be helpful! Thanks
T.J.
Put the zip on the root of your SD card..boot into recovery...flash the rom...reboot...enjoy.
Detailed sequence is generally in the OP for the rom...
Do not unzip the file!
Place zip file on the root of the SD card and flash in recovery.
Issmer beat me to it!
Just an FYI.. vael is not a SENSE based rom, so you will no longer have use of any HTC widgets.
when you say put it on the root on the sd card... what folder are you talking about putting the zip file into?
thurst0530 said:
when you say put it on the root on the sd card... what folder are you talking about putting the zip file into?
Click to expand...
Click to collapse
Root is the topmost directory - "/". When flashing a new rom, make sure to wipe data, cache and dalvik cache.
nabbed said:
Root is the topmost directory - "/". When flashing a new rom, make sure to wipe data, cache and dalvik cache.
Click to expand...
Click to collapse
in other words dont put it into a folder
hmm so basically your saying just drag or copy the zip file to the actual drive on my computer that is represented by my evo device? and then i will reboot in recovery mode and i will see a wipe option? cache and dalvik option? thanks so much seriously
thurst0530 said:
hmm so basically your saying just drag or copy the zip file to the actual drive on my computer that is represented by my evo device? and then i will reboot in recovery mode and i will see a wipe option? cache and dalvik option? thanks so much seriously
Click to expand...
Click to collapse
Yep. Just put the zip on the card. Go into recovery. Wipe. Flash and reboot!
ok i am going to try it right now. what about later having to unzip the zip file and dragging specific files to the sd card to get certain things to work on my new rom? i read this somewhere
This us why you should read before you root, everything thats in the zip will be installed onto the phone. There is no need to unzip unless you know what your doing. Additional apps can be downloaded from the market or installed by a file manager.
ok it was a success. i am back up and running and it really looks great. all of my apps are gone!!!!!!!!!!!
thurst0530 said:
ok it was a success. i am back up and running and it really looks great. all of my apps are gone!!!!!!!!!!!
Click to expand...
Click to collapse
That's what the wipe does. If you flash a lot (like I do) then get Titanium Backup Pro, probably the best app I've ever bought. It'll save you a headache in the future.
thurst0530 said:
ok it was a success. i am back up and running and it really looks great. all of my apps are gone!!!!!!!!!!!
Click to expand...
Click to collapse
No offense to the OP but this made me chuckle. It reminds me back when i would talk people through doing a windows restore. i would get this same type of response no matter how many times i told them what a restore would do and to back up files. It was always ok windows is booted ... hey all my programs and pictures are gone! ho do it get them back.
omegasun18 said:
No offense to the OP but this made me chuckle. It reminds me back when i would talk people through doing a windows restore. i would get this same type of response no matter how many times i told them what a restore would do and to back up files. It was always ok windows is booted ... hey all my programs and pictures are gone! ho do it get them back.
Click to expand...
Click to collapse
A little off topic, but this doesn't make me chuckle as much as people who reply on a new rom thread and say "this rom is great. One problem though is wifi no longer works. Nor does the camera, gps and I can't make calls. But I love the rom so far." Or even better, "I love this rom. Super smooth. One issue though, when trying to flash it I get error at line 5 and then the phone sits at the splash screen."
Sent from my Commodore 64 Evo running 8 bit XDA

[Q] Rooted Samsung Fascinate v. Google talk service

So yes, Titanium Backup and the deletion of google talk are at it again. This time I actually knew I shouldn't delete then brain farted and did it anyway. So here lies my marketless and FC gapps everytime I pull the market app up.
For the record I searched as best as possible for a solution and the closest I got was a link for gtalk and the Evo 4G, and needless to say it still doesn't work, the market and the force close gapps.service still happens after re install
A solution without a flash and re-root is preferred, please educate the new guy! Thanks for the record I know I'm a jack wagon lol.
Search these forums (or Google) for Fascinate System Dump. It will have whatever files you deleted.
So dump files obtained. Is this is simple drag and drop to the OS or do I need a program on the computer to be able to interface with the filesystem on the Fascinate?
Bare with me guys, while I bring myself up to speed on tearing through the Andriod OS, hacking windows is one thing - tearing apart my phone for the first time - thats a whole nother ball game for me.
DeezNotes said:
Search these forums (or Google) for Fascinate System Dump. It will have whatever files you deleted.
Click to expand...
Click to collapse
So I did that, finally got the files onto my phone and reinstalled all the google.apks including ones that were already existing on the phone.
To no avail I still get the gapps Force close and I'm still unable to download from market after restoring Google Talk Service.
Any help or a simple suggestion would be appreciated - been trying this all day with no success.
I'm not sure if you "installed" the apps or if you placed them back in their proper folder(s), but my guess is that any app you had pre-installed which you deleted was previously in the /system/app folder. The dump has all the files in this folder. You don't need to re-install these files, you need to just copy them back to the /system/app folder.
When you download and install an app, it will install to /data/app. If you "installed" the files rather than copying them back to /system/app, that may be the problem.
On a side-note, this is why I like to move files from one folder to another rather than use Titanium Backup to delete apps/files.
Don't forget to reboot your phone after you copy the files back to /system/app.
Lastly, I'm not responsible for what you break.
DeezNotes said:
I'm not sure if you "installed" the apps or if you placed them back in their proper folder(s), but my guess is that any app you had pre-installed which you deleted was previously in the /system/app folder. The dump has all the files in this folder. You don't need to re-install these files, you need to just copy them back to the /system/app folder.
When you download and install an app, it will install to /data/app. If you "installed" the files rather than copying them back to /system/app, that may be the problem.
On a side-note, this is why I like to move files from one folder to another rather than use Titanium Backup to delete apps/files.
Click to expand...
Click to collapse
Roger that side note - that will be my new policy when managing files.
As far as the clarification - I have been indeed installing the apps instead of moving them to the appropriate location - I guess the difference in installation location never occurred to me. Thank you in advance for the heads up and I'll report my success or failure, hopefully success after i get out of work this evening.
Don't worry if I brick I won't hold you accountable - after all I'm the one who deleted Google apps from the Andriod phone. LOL, In hindsight it was a terrible Idea.

Cant delete CWM backups from internal SD Card

Need some help here:
I need to delete some of the backups I made with CWM recovery. I already have them backed up onto my PC, but need to delete them to make some room. For some reason I cant.
Ive tried root explorer, es file explorer, and my PC. Im unable to change the permissions of the files, and if you look at the pics I attached youll see they have some strange permissions, but I cant change them.
I am able to move the files anywhere else in the sd card folder, rename them, but no matter what I cant delete them. And when I try from my PC it shows them disappear, but they are actually still there.
If there is a way to format the sd card folder I will, but thats not an option in the settings, or CWM. Can someone please help me out here? This is really frustrating me. Thanks
No issues here when I delete backups using ROM Toolbox.
UnknownFearNG said:
No issues here when I delete backups using ROM Toolbox.
Click to expand...
Click to collapse
I tried through ROM Toolbox and still couldnt delete them.
Gam3r 4 Life said:
I tried through ROM Toolbox and still couldnt delete them.
Click to expand...
Click to collapse
Same, tried with multiple apps too.
I posted this in the other thread, but figured I would do so here in case other people needed the "fix".
Ok, so some good news and some bad news.
The good news is, I was able to put together a flashable zip that WILL DELETE the entire CWM backup directory from the sdcard. It is available here:
http://core.routed.com/CWM_Backup_Wipe.zip
You simply need to flash it via CWM. Easy peasy. I confirmed that the directory/files were all removed, AND the storage space is now available for other files (I checked df before and after).
The bad news is, before attempting to delete the directory, I first tried changing the permissions (recursively) to see if that was a better "fix" for this problem. Unfortunately, even with the directory 777 and the files 666, I still could not manually delete them through the system. Which means, whatever bug is causing this problem is much more severe than a file/directory permission thing.
In any case, until the CWM developer can figure out a way to fix this bug, at least we have a way to manually remove the backups and get our storage space back.
The script in the zip is very simple. It just does a recursive delete on /sdcard/clockworkmod/backup.
Enjoy!
phonic said:
I posted this in the other thread, but figured I would do so here in case other people needed the "fix".
Ok, so some good news and some bad news.
The good news is, I was able to put together a flashable zip that WILL DELETE the entire CWM backup directory from the sdcard. It is available here:
http://core.routed.com/CWM_Backup_Wipe.zip
You simply need to flash it via CWM. Easy peasy. I confirmed that the directory/files were all removed, AND the storage space is now available for other files (I checked df before and after).
The bad news is, before attempting to delete the directory, I first tried changing the permissions (recursively) to see if that was a better "fix" for this problem. Unfortunately, even with the directory 777 and the files 666, I still could not manually delete them through the system. Which means, whatever bug is causing this problem is much more severe than a file/directory permission thing.
In any case, until the CWM developer can figure out a way to fix this bug, at least we have a way to manually remove the backups and get our storage space back.
The script in the zip is very simple. It just does a recursive delete on /sdcard/clockworkmod/backup.
Enjoy!
Click to expand...
Click to collapse
Just saying thanks for this, I hope they figure a fix out soon. Flash worked perfectly, for some storage space back. :good:

[Q] Old Nandroids Won't Delete No Matter What

Please help, I'm running out of memory fast.
Nexus 7 8GB
Rooted stock 4.1 ROM with GoLauncher
Clockworkmod 6
I started running out of memory and needed to delete about 3 gigs of out dated nandroid backups. They simply won't delete. And none of the programs I've tried to do it agree on why. ROM manager says I need root access, which, of course, I have. Titanium Platinum says delete failed. Most other programs say some variety of "there has been a problem deleting" or "you need permission to"
Tried deleting the files within each nandroid individually, same problem. "Fixed" all the permissions, no help. I successfully renamed them, but they still won't delete. I successfully moved them out of CWM backup to SDcard root, but they still won't delete ... tried to shove them off onto Google Drive but it just copied them even though it said they were moved, tried to delete them from a PC nada ...
Did a full nandroid restore from the latest of the backups but the other backups remained on the drive and still won't delete.
Short of bricking the thing in a rage or reverting to a full stock reinstall (even if that would work) is there any way to get rid of those files ... I keep feeling there's something I'm missing about permissions or administrative authority or something simple, but I've been wrestling with for days and getting nowhere.
My file explorer of chice has always been root explorer, never had an issue with this. Maybe try that (grant read write permissions first though) if that fails why not save important info and the reformat sd? Worse case senerio reformat the whole deal then flash a new rom
Sent from my HTC Vision using Tapatalk 2

[Q] Slightly different KK SD issue

First off, HI ALL. Awesome community!! OK, so I am having the same can't write to SD issue as everyone else. I am rooted with TowelRoot and on KK 4.4.2. I have installed a few of the different "SD FIX" apps and upon looking at the platform.xml file the proper strings are there but I still cant write to or delete from EXT-SD. I have tried ES File Explorer and Root Explorer ( Donate vrs). Another thing that I noticed is that all the tutorials I have read say that there needs to be a space between the " /> at the end. My platform.xml doesnt have that, in fact, none of the strings have the space between the " and />. I tried to do it manually and got the massive force close of a lot of apps. Reverting back to the original didnt help. I had to do a factory reset. That stopped the FC issue but the paltform.xml file is the same with the added string and the nonexistant spaces. Any help would be greatly appreciated. Thanks in advance!!
what filesystem do you have on your card?
Either he has exFAT or FAT32. Can you tell us your exact device model? What ROM are you on?
Thanks for the reply. Model number is N900V and I'm on stock Rom rooted.
Considering that your platform.xml file is still stock, you might want to try this app: https://play.google.com/store/apps/details?id=nextapp.sdfix
This app will automatically detect whether you need the fix or not. If you do need it, it'll do it for you.
Gesendet von meinem SM-N9005 mit Tapatalk
I DL and ran app. Says not needed. Does anyone have the original file so I can start this process over? Or will that bork something? I'm a noob but I am a little tech savy. One anomaly that doesn't make sense to me is that in my xml file, none of the strings have a space between the " and />. Does that make a difference? I'm confused. lol
harmageddon4 said:
I DL and ran app. Says not needed. Does anyone have the original file so I can start this process over? Or will that bork something? I'm a noob but I am a little tech savy. One anomaly that doesn't make sense to me is that in my xml file, none of the strings have a space between the " and />. Does that make a difference? I'm confused. lol
Click to expand...
Click to collapse
Does it make a difference? ...make a backup of your platform.xml. Then put space in between " and >, save and reboot.
Sent from my SM-N9005 using Tapatalk
The whole xml is like that with no spaces. I originally used an SDFix app to do it. Never looked at it. It worked for a brief time then either I rebooted or something and it stopped. I added the space manually but noticed none of the strings had a space. Are they all supposed to have them or just to added/modified string? I did factory reset because I was getting the FC issue but that didn't reset the xml. Does anyone have the original so I can start the process over?
Try this. It already has the fix implemented. If everything else fails, you can still flash a stock rom and use the SD Fix app I posted before.
https://docs.google.com/file/d/0B9Yi7IW9DXQsdVF0aGl0Z3lJbGc/edit?usp=docslist_api
OK. I renamed the file to paltform.xml and renamed mine to bak. Moved it to the folder and did a reboot. So far so good, no FC. Upon using Root Explorer I still get the failed operation toast when trying to delete a file from EXT SD. If noone else has an idea I guess I will just have to flash a rom and try that. I'm going to del and reinstall Root Explorer and see if that does anything. I'll keep you posted. Thanks again for all the help.
OK so I dont know all what was messed up but here is what all I did. I went in to del the Root Explorer app and found that I had converted it to a sys app with TiBu. I undid that process, uninstall and reinstall. That didnt work, so I stuck SD in my puter and backed up files and then stuck card back into phone, robooted into recovery and did a wipe of the SD. Then I put a few test files back onto the card mounted by USB cable) and tried to make folder and del a diff file and it all seemed to work so all is good so far. As I am typing this I tried something else I couldnt do which was instll the XDA app. It kept saying something like it wouldnt write to the ext sd card. Well. I just installed it with no issues. Hooray!!!:laugh: So I dont really know what the issue was but it all seems to be going fine now. A BIG thank you to all that helped me in this. And Nitrous, I clicked the THANKS button on yours!! :good:

Categories

Resources