Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,768,167 Members 44,619 Now Online
XDA Developers Android and Mobile Development Forum

disaster after i delete /data/dalvik-cache folder, help !

Tip us?
 
tr3w
Old
(Last edited by tr3w; 16th May 2014 at 11:20 AM.)
#11  
Junior Member
Thanks Meter 4
Posts: 12
Join Date: Aug 2010
Quote:
Originally Posted by sachin.parmar100 View Post
Yeah, but what about the solution of it? I have no idea to face this situation without any kind of data loss

Sent from my Nexus 4 using XDA Premium 4 mobile app
If the CWM recovery is working, you can try to create your own update.zip, which does nothing just removes the symlink and creates a folder.
You can find tutorials about the update.zip all over the net...
Like this one: http://forum.xda-developers.com/show....php?t=1610121
 
huzeifa15
Old
#12  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: May 2014
Default Urgent

Got sanei tablet n77 tried putting custom recovery stuck don't want to work tried livesuit also won't work just stuck what must I do
 
V.K.A
Old
#13  
Junior Member
Thanks Meter 1
Posts: 17
Join Date: Jan 2014
Location: Hyderabad
Quote:
Originally Posted by dalvikna View Post
since the inner storage is limited, i want to move dalvik-cache to sd-card, so i delete /data/dalvik-cache, then create a sym link named /data/dalvik-cache there which point to /mnt/sdcard/cache which is also a folder, this appears to works at first, since some dex files are created at /mnt/sdcard/cache folder which is initailly empty, but after i reboot my android phone, it stayed at boot process, even hours.

i wanna repair my phone, there are still some important data there, such as contact data, messages , and communication log.

Facts:
Now i can adb shell to my android device, but failed to run su command, which works well before i delete the folder /data/dalvik-cache, the error message is as follows:
adb shell
$ su // dollar symbol indicates i can connect to my device
su
[1] Segmentation fault su // why i failed to run this su command now?

Questions:
i can still connect to my android phone using adb shell, but i cannot run su command to get root priority now, if i can have root priority, i can delete that sym link named dalvik-cache, and all the things would be well, but how to delete that sym link now?
try reflashing the stock..!!
 
dalvikna
Old
#14  
Junior Member - OP
Thanks Meter 0
Posts: 12
Join Date: May 2014
Quote:
Originally Posted by tr3w View Post
It's not just the fact it takes time, the main problem is it happens way later in the boot process, that's why it won't happen even hours later...

---------- Post added at 09:11 AM ---------- Previous post was at 09:00 AM ----------



Did you try anything else?
Can you see all the folders?
i can only see some of them, and my adb failed to get root prioirty now,
i cannot cd /mnt directory
 
tr3w
Old
#15  
Junior Member
Thanks Meter 4
Posts: 12
Join Date: Aug 2010
Quote:
Originally Posted by dalvikna View Post
i can only see some of them, and my adb failed to get root prioirty now,
i cannot cd /mnt directory
As I wrote earlier, creating your own update.zip can work, because it's not just for files, but you can put scripts in it, which will run when you "install" it.
Search for tutorials in this forum, you can find how you can do that...
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Forums Added for the Nvidia Shield Tablet and Sharp Aquos Crystal

Just a few days ago, wetook an in depth look at theNvidia Shield Tabletand … more

[OTA Captured] Android 4.4.3 Lands on European HTC One M7

The secound release of the Android L Developer Previewmay be the new hotness for … more

Take a Perfectly Stable Shot with Open Camera

The camera app on our Android smartphones and tablets isn’t something we focus on all … more

Motorola Droid X Receives Almost Fully Functional KitKat Port

While we are all wondering when Google will decide to officially release … more