MultiROM Once Again Available for the Galaxy S4

Multiboot, or the ability to select betweenmultiple operating systems on a single device at … more

Build an Impractical But Awesome Lego Mindstorm Dock

The vast majority of what we cover here on the XDA-Developers News Portal relates to … more

MultiROM Makes its Way Over to the HTC One (M8)

While browsing our forum, you will undoubtedly find more than a few enticing ROMs available … more

Welcome to the New XDA-Developers Portal!

You may recall that a few weeks ago, we opened up the XDA-2015 forum themesto intrepid users … more
Post Reply

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

16th May 2014, 11:07 AM   |  #11  
Junior Member
Thanks Meter: 4
 
12 posts
Join Date:Joined: Aug 2010
Quote:
Originally Posted by sachin.parmar100

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
Last edited by tr3w; 16th May 2014 at 11:20 AM.
16th May 2014, 01:36 PM   |  #12  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: May 2014
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
16th May 2014, 01:54 PM   |  #13  
Junior Member
Flag Hyderabad
Thanks Meter: 1
 
17 posts
Join Date:Joined: Jan 2014
More
Wink
Quote:
Originally Posted by dalvikna

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..!!
17th May 2014, 03:20 PM   |  #14  
OP Junior Member
Thanks Meter: 0
 
12 posts
Join Date:Joined: May 2014
Quote:
Originally Posted by tr3w

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
18th May 2014, 05:39 PM   |  #15  
Junior Member
Thanks Meter: 4
 
12 posts
Join Date:Joined: Aug 2010
Quote:
Originally Posted by dalvikna

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...
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Questions and Answers by ThreadRank