FORUMS

What Do You Think About Fingerprint Scanners?

More and more phones are featuring fingerprint scanners, and with many promising … more

What’s Next for Samsung and Its Flagships?

If we were to say that the Galaxy S6 was a leap of faith made by Samsung, we … more

The Ultimate Showcase of dBrand Skins

In the search for ways to protect, accessorize, and personalize; a user has many options. One … more

Huawei’s Rapid Rise to Third Place in the Smartphone Race

Huawei has quickly grown to become one of the world’s biggest … more

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

12 posts
Thanks Meter: 0
 
By dalvikna, Junior Member on 12th May 2014, 04:11 AM
Post Reply Subscribe to Thread Email Thread
16th May 2014, 11:07 AM |#11  
Junior Member
Thanks Meter: 4
 
More
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: 1
 
More
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: 2
 
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
 
More
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
 
More
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