[Q] Help with CHROOT - Thunderbolt Q&A, Help & Troubleshooting

I think i just screwed up and damaged my system/chroot file by copy and paste from the /sdcard/ext2ubuntu/ to my system folder without backing up the original. I am now afraid to re-boot my phone. can someone send me a good copy of the original file. I need someone to copy their chroot file from their /system/xbin/ and send it to me.

Just boot into recovery from HBOOT and restore a backup or flash again after formatting /system
Sent from my ThunderBolt using XDA Premium App

Restored a system backup and fixed. Sorry for the panic attack

ilovesoad said:
Just boot into recovery from HBOOT and restore a backup or flash again after formatting /system
Sent from my ThunderBolt using XDA Premium App
Click to expand...
Click to collapse
Okay, will do. I get it now! I do have a few backups.

You could have just downloaded the rom that you flashed and pulled out whatever you needed yourself from computer or phone

Related

How to Mount data.img (solved)

I forgot to backup my data using titanium backup before I flashed CM7 pre3. I tried to revert back to my nandroid backup that I did before flashing CM7 and it failed saying the MD5 sums mismatched. I checked to sums and everything matched up under linux but CWM keeps failing.
So how do I mount or extract data from a data.img?
*Bump*
Anyone?
*bump*
I really need to get some of my data out of this img and I tried using mount -o loop,to with multiple different filesystems and it still fails. Also tried it in android but it says the file doesn't exist or something like that.
Try mounting in pc if it opens u might get some data.
Sent from my MB860 using xda premium
Found the answer in this thread:
http://forum.xda-developers.com/showthread.php?t=705800
Just extracted all the data.

No imei

Alright... well I flashed aokp from Roman today. And I lost my imei. I have never had this problem before. I did a nandroid restore and nothing works. I have a back up from titanium back up and installed all my system data but still nothing...
Sent from my SGH-T999 using xda app-developers app
also I can't get anything but edge. If I'm lucky...
Sent from my SGH-T999 using xda app-developers app
Ouch, you might be out of luck man, might need to get a new phone as theres no real known "way" of restoring the backups of /efs folders or nvdata.bin etc on this phone yet , give this thread a read http://forum.xda-developers.com/showthread.php?t=1753833 its a known issue that can occur after flashing a rom on this phone... good luck.
edit, usually to save this kind of stuff you need to backup your efs folder, meaning that a nandroid backup nor a tibu backup can't help you with this; it needs to be done separately.
MacTheRipperr said:
Alright... well I flashed aokp from Roman today. And I lost my imei. I have never had this problem before. I did a nandroid restore and nothing works. I have a back up from titanium back up and installed all my system data but still nothing...
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
If you lived here in California I would help you restore your imei
Sent from my SGH-T999 using xda app-developers app
unleashed12 said:
Ouch, you might be out of luck man, might need to get a new phone as theres no real known "way" of restoring the backups of /efs folders or nvdata.bin etc on this phone yet , give this thread a read http://forum.xda-developers.com/showthread.php?t=1753833 its a known issue that can occur after flashing a rom on this phone... good luck.
edit, usually to save this kind of stuff you need to backup your efs folder, meaning that a nandroid backup nor a tibu backup can't help you with this; it needs to be done separately.
Click to expand...
Click to collapse
Out of curiosity, how do you backup those files separately?
Powered by the SGSIII
ThC23 said:
Out of curiosity, how do you backup those files separately?
Powered by the SGSIII
Click to expand...
Click to collapse
If your rooted use a root enabled file explorer (I use Root Explorer) and open it up to /. There should be a folder called “efs". Simply copy that folder and place it on your internal or external sd, then for safe keeping place it on your laptop/computer
Sent from my SPH-L710 using Tapatalk 2
fergie716 said:
If your rooted use a root enabled file explorer (I use Root Explorer) and open it up to /. There should be a folder called “efs". Simply copy that folder and place it on your internal or external sd, then for safe keeping place it on your laptop/computer
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
I've been nervous about flashing anything else since I've read about 4 cases like this. I'm so freakin happy I found this thread! I've found the efs folder your referring to, but I don't know if I should copy the efs folder to my external storage or open it & just copy the IMEI folder to my external storage? Your help would be so very much appreciated.
Maybe someone should put this in general and try to get it stickied, as it seems like a necessary preventive maintenance?
Edit: I just backed up the whole folder to be safe, and I'm going to make a general post referring to this problem.

"Md5 mismatch!"

Hi this is my first post on xda so bear with my n00biness.
I've flashed Entropy's ClockworkMod and a couple of ics roms and it was really nice and getting better every new release. However, my occasional need for my camera and flash player brought me to do a restore back to stock rom (which I backed up on cwm).
Unfortunately, when cwm checks its md5 sum it ends up with an error saying there's a mismatch.
Is there a problem with my version of cwm? Or would I have to wipe my data beforehand?
Sent from my YP-G70 using xda app-developers app
well what i do when i flash back my recovery i factory reset and then clear cache and wipe dalvik cache then i flash my recovery
Did you rename the backup? Sometimes this causes CWM to mess up. If you did rename it then name it something like 'stock' and try restoring again
Sent from my Nexus 7 using XDA Premium HD app
try this,enter terminal emulator and use this commands ..offcourse chage directory with yours
su
cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
rm nandroid.md5
md5sum *img > nandroid.md5
Sent from my S7 using xda app-developers app
thank you so much the bit of time you've given for me, guys.. even after answering questions that you may have said already
Well now this smart guy decided to see if he has the md5 file inside the recovery file, and, pretty surprisingly, there were no nandroid file except for one of my newer backups. (But that apparently doesn't have the md5 file included in that nandroid file either )
Oh well. Renaming the backup won't bring back the file, will it? are all md5's unique per backup? And, just making sure, there needs to be a nandroid file in the recovery folder, right...?
Sent from my YP-G70 using xda app-developers app
umm i think they are different and yes there has to be a nandroid file in the backup folder or else if you screw up the backup wont help either way
create an empty text file and name it nandroid.md5 in the backup folder
then use my script which is located in sig
I have a similar issue with not being able to locate the backups in a folder. Not in cwm folder where they should be. I went through every file I could think of to locate with no prevail, but yet in recovery - there they are! Is this because the cwm recovery is pushed in with the kernel and not through rom manager? Also, has anybody messed around with selecting a different device in rom manager because galaxy player is not listed?
Sent from my SCH-I535 using xda premium

sgs3 bricked

Hey everyone. I installed jelly bean on my gs3 and i didn't liked it (a little lugging). Thank God i made a backup before this process using cwm. But now when i tried to open this app in my phone it said something about application version. I tried using sgs3 toolkit but my phone now cannot boot into the system and using the recovery image i cannot find the restore folder (which i managed to copy it the sd card before). How can i restore my phone using that backup i have done before??
So you have a backup, but it does not work, or you can not find it?
Sent from my WT19i using xda app-developers app
I have a backup but since my phone won't boot i do not know how to install it. I have that backup on my pc too..
Boot into recovery (vol up, home & power) and restore...
Sent from my GT-I9300 using xda app-developers app
Maybe you should try booting to download mode and flashing stock via odin and worry about your backup after your phone is in working order
Sent from my GT-I9300 using xda app-developers app
When i go into recovery and press restore it says it does not locate any file to use. But i have copied the backup folder before all this mess to the root of the phone.
Does anyone knows how to use sgs3 toolkit to restore??
di you put your backup into /clockwordmod/backup?!? i mean it should be there but if it isnt it would be unecessary to do a full fresh install
Greets
Sent from my Xperia X10 using xda app-developers app
Try and get the restore folder on your extSdCard and make sure you try to restore from ext sd in CWM.
Sent from my GT-I9300 using xda app-developers app
When i go into recovery there is not a choice to make backup or restore. Also i do not have an external sd card..
Flash CF root and CWM recovery as it looks like you have stock recovery .
jje
antros48 said:
But now when i tried to open this app in my phone
Click to expand...
Click to collapse
What app?
antros48 said:
it said something about application version.
Click to expand...
Click to collapse
What exactly?
antros48 said:
I tried using sgs3 toolkit but my phone now cannot boot into the system
Click to expand...
Click to collapse
So what did you do in the toolkit?
antros48 said:
and using the recovery image i cannot find the restore folder (which i managed to copy it the sd card before).
Click to expand...
Click to collapse
What do you mean? You can't find the folder where you backed up to? You don't have sdcard/clockworkmod/backup?
antros48 said:
When i go into recovery there is not a choice to make backup or restore.
Click to expand...
Click to collapse
So you don't have CWM? Just flash it with the toolkit
Ok done it. When i reboot the screen is black but the boot sound is playing normally, so i cannot see anything although it seems that the phone is on. Also when i boot into recovery mode and i try mount the phone, nothing happens..
Ok sorry for being so misunderstood, it is because i try at the same time to fix it.. Here how it is right now, when i boot in my phone the boot sound is playing but the screen is black. For the recovery image part, i have flashed cwm but when i go in recovery mode i cannot mount the phone to copy the backup file in cwn folder. And as i said before i already have a backup folder which i want to use to restore my phone. That's all that matters right now..Thank you for your answers btw
Just restore the backup
That is the point,i cannot do that.
So the backup is not on your phone?
Before messing up the phone i copied it on internal sd card, but not in the backup folder of cwm but on the root of the phone
When in recovery, open adb on the computer, type
shell
mv -r [YOUR BACKUP FOLDER PATH] sdcard0/clockworkmod/backup
Or actually, the more straightforward way would be to wipe data, then boot the device and move the backup folder into the cwm directory from there

[vk810][altev]stock 4.2.2/4.4.2 ROM backup (using TWRP)

If you have a non-working android/recovery/bootloop, here is a way to restore FULL STOCK with a PC
http://forum.xda-developers.com/lg-g-pad-83/general/vk810-verizon-lg-g-pad-8-3-to-stock-t2800857
NOTE:
This is only for the vk810 Verizon LTE model (product name altev)
/system and boot.img (kernel) is backed up. stock recovery IS NOT included (scroll to bottom of post)
Download: (neither has recovery.img)
A) (JB4.2) Fully stock 4.2.2 system&boot.img, prerooted
B) (JB4.2) Stock 4.2.2 system&boot.img with a lot of crapware removed, prerooted
C) (KK4.4)Fully stock 4.4.2 system&boot.img, prerooted (you'll need to install SuperSU apk manually though) mirror
You need TWRP installed
Untar and copy the folder somewhere on the device (Windows: use p7zip)
Boot to TWRP
Backup your current ROM.
Yes, remember to backup your current ROM
Wipe cache/dalvik/data
Restore this backup within TWRP
Reboot to ROM
Once ROM boots, it'll say "Preparing your tablet" and get stuck there for some time (probably copying files from the /system to the empty /data partition
If you want to restore stock recovery, you'll need to do it manually via dd
http://forum.xda-developers.com/showpost.php?p=52975059&postcount=65
Drgravy said:
sure get it here: http://goo.gl/cmrBwV
shouldn't need to loki patch it
just copy it to your internal storage and flash with dd
open your terminal on your pc enter the following commands
Code:
adb shell
su
dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
exit
exit
just make sure the commands are exactly right
Click to expand...
Click to collapse
Is there a version without the junk removed coming?
Skizzy034 said:
Is there a version without the junk removed coming?
Click to expand...
Click to collapse
can't find my backup of actually-stock TWRP backup...
this weekend, going to attemp to flash my (actually-stock) system.img backup and see
Won't recognize as backup in TWRP...
Sent from my Nexus 5 using Tapatalk
rino187 said:
Won't recognize as backup in TWRP...
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
You probably don't have it in the right folder. Do a backup of your rom and then place this in the same folder as that one is in.
Skizzy034 said:
You probably don't have it in the right folder. Do a backup of your rom and then place this in the same folder as that one is in.
Click to expand...
Click to collapse
Ended up doing just that and it worked. Thanks...
Sent from my Nexus 5 using Tapatalk
paper can you update this with the new version?
I've updated OP with a version of fully stock (prerooted, with all the bloat/crapware)
Will upload 4.4.2 once I (or DrGravy) gets TWRP working on 4.4.2
No matter what rom I install or try to restore from backup I end up in twrp plz help
Sent from my SM-N900V using XDA Free mobile app
lilmeanz said:
No matter what rom I install or try to restore from backup I end up in twrp plz help
Sent from my SM-N900V using XDA Free mobile app
Click to expand...
Click to collapse
If you tried OTA update with TWRP recovery and get stuck in a bootloop for TWRP
http://forum.xda-developers.com/showpost.php?p=54533937&postcount=2
updated OP with 4.4.2 TWRP backup
Use old twrp?
Sent from my SM-N900V using XDA Free mobile app
lilmeanz said:
Use old twrp?
Sent from my SM-N900V using XDA Free mobile app
Click to expand...
Click to collapse
any twrp should be fine (2.7.0.1, 2.7.0.2
i can not get this back up to recognize in twrp i backed up current rom used 7zip in windows since there is no pzip for windows and put the folder in the same folder as my current back up ans still no go..
4218kris said:
i can not get this back up to recognize in twrp i backed up current rom used 7zip in windows since there is no pzip for windows and put the folder in the same folder as my current back up ans still no go..
Click to expand...
Click to collapse
Unzip 2x then place in backup folder
lilmeanz said:
Unzip 2x then place in backup folder
Click to expand...
Click to collapse
after unzip it still is .tar is that ok? or is that what you mean by un zip it twice x2
Unzip again into folder
Sent from my SM-N900V using XDA Free mobile app
lilmeanz said:
Unzip again into folder
Sent from my SM-N900V using XDA Free mobile app
Click to expand...
Click to collapse
ok did that and put the 4.4.2 folder under internal sd twrp/backups/.
i dont get it im missing something. still doesnt recognize it...
Make sure your twrp is in internal or external card and inside 2nd folder
Sent from my SM-N900V using XDA Free mobile app
lilmeanz said:
Make sure your twrp is in internal or external card and inside 2nd folder
Sent from my SM-N900V using XDA Free mobile app
Click to expand...
Click to collapse
i do make sure its in internal. when i click restore it shows no folders just a blank page and i pulled my external sd to simplify things that and i think its going bad. but thats another story haha

Categories

Resources