Flash from cm9 to cm10.x without lost of efs - Galaxy S I9000 Q&A, Help & Troubleshooting

Hi,
i have a problem that is new to me. I flashed a lot of roms without problems and was on cm10.2. I went back to cm9 and wanted back to cm10.2.
I lost my efs folder and had to flash a stock rom. Now i am on cm9 (mackay rom with gear kernel) and when i flash cm10.2 mackay rom a lost the efs folder everytime.
So now the question:
How can i flash a cm10.2 rom without losing the efs folder?
Kind regards
Srkonus
Sent from my GT-I9000 using xda app-developers app

Its odd that you lose the IMEI from flashing from CM9 to CM10.2, although that happened to me today as well
Two ways to do this,
1.) Go back to stock, then flash in pure CM9, let it boot, then go to CM10.2
2.) Just flash in CM10.2 anyway, you should have backups of your efs (on my phone at least its /sdcard/backup and there's a few folders all beginning with efs). Inside those folders there should be a whole list of files, two of which are nv_data.bin and nv_data.bin.md5.
Download Root Browser/Root Explorer and copy nv_data.bin and nv_data.bin.md5 to /efs, overwrite the existing files. Reboot and it should be solved (I did this today so it worked for me).
Sent from my GT-P7510 using Tapatalk HD

Soryuu said:
Its odd that you lose the IMEI from flashing from CM9 to CM10.2, although that happened to me today as well
Two ways to do this,
1.) Go back to stock, then flash in pure CM9, let it boot, then go to CM10.2
2.) Just flash in CM10.2 anyway, you should have backups of your efs (on my phone at least its /sdcard/backup and there's a few folders all beginning with efs). Inside those folders there should be a whole list of files, two of which are nv_data.bin and nv_data.bin.md5.
Download Root Browser/Root Explorer and copy nv_data.bin and nv_data.bin.md5 to /efs, overwrite the existing files. Reboot and it should be solved (I did this today so it worked for me).
Sent from my GT-P7510 using Tapatalk HD
Click to expand...
Click to collapse
Hi,
thanks for your answer. Unfortionally it works not for me. Replacing the efs folder does not work and also flashing to cm10.x. i would stay at cm9.

srkonus said:
Hi,
thanks for your answer. Unfortionally it works not for me. Replacing the efs folder does not work and also flashing to cm10.x. i would stay at cm9.
Click to expand...
Click to collapse
Possibly this thread could help?
http://forum.xda-developers.com/showthread.php?t=859914
BTW: one can do it either by using ADB or within the app "Terminal Emulator" (by Jack Palevich) with same commands.

Related

[Q] URGENT! IMEI screwed, need help to restore!

Hey, I got some problems. Posted in another forum, but it's very urgent so I post it here to. Just quoting what I previously posted.
Hey, flashed the JVS modem on top of the Chameleon Final. Didn't get any signal and the baseband version in settings stated "unknown". Tried another modem, JVO and flashed back to Chameleon modem, still not fixed. Also tried to wipe everything and install rom again... did not help either. Odin didn't report any errors whatsoever.
Desperate for some help her guys!
Click to expand...
Click to collapse
Got reply that my IMEI was screwed, and replied:
[quote author=bahafeld link=topic=1931.msg13081#msg13081 date=1316107492]
Okey, I have backup of my original EFS folder. Isn't it there the IMEI is saved? can I just copy it over again with Root Explorer?
Please help me out here. All the guides I've found have the EFS saved in a .tar format. However I just backed up the EFS folder with root explorer. Anyone know I can recover my EFS, tried just copying it back, but that did not work.
Its kinda urgent!
[/quote]
So I hope you guys at XDA can help me a bit faster.
Thx
bahafeld
if you have a .tar version of your EFS. Unzip it. Copy all the contents of it, And paste them to the /EFS on the phone. Making sure they overwrite the current contents.
Once that has done, Restart the phone without backing out of root explorer (or what ever app you are using to copy/paste these files).
If that fails, Repeat the above step but ONLY copy / paste the NV_data.bin & NV_data.bin.md5
And finally if that fails. Backup all your stuff using Titanium Backup (or similar) And re flash a stock Froyo ROM. Maybe older, its upto you.
That will Definitely restore the IMEI, Then re-root and go back to whatever ROM you wish.
Good luck.

[Q] imei problem in ROM][IMM76I][4.0.4][AOSP] ICS333 RC4

hello,
i flashed ROM][IMM76I][4.0.4][AOSP] ICS333 RC4 from GB 2.3.5 AND my imei disapeard.
i flashed back to stock rom and the celular service worked .
then i flashed back to ROM][IMM76I][4.0.4][AOSP] ICS333 RC4 and now i have a imie and everything works fine execpt of the face that the imei is not the one listed on the phone (behind the battery. is that o.k ?
shmhazan said:
hello,
i flashed ROM][IMM76I][4.0.4][AOSP] ICS333 RC4 from GB 2.3.5 AND my imei disapeard.
i flashed back to stock rom and the celular service worked .
then i flashed back to ROM][IMM76I][4.0.4][AOSP] ICS333 RC4 and now i have a imie and everything works fine execpt of the face that the imei is not the one listed on the phone (behind the battery. is that o.k ?
Click to expand...
Click to collapse
Flash back to stock and backup your EFS folder this includes the nv_data.bin file that contains your IMEI
Google search will be you friend or alterntively search the forum as this question has been asked before and answered by myself for other users
just reflash your stock rom....
I found there was an autobackup in /sdcard/efs/IMEI so backed up /efs and then copied /sdcard/efs/IMEI to /efs ...bit scary though for a simple ROM flash
jago25_98 said:
I found there was an autobackup in /sdcard/efs/IMEI so backed up /efs and then copied /sdcard/efs/IMEI to /efs ...bit scary though for a simple ROM flash
Click to expand...
Click to collapse
read the disclaimer that all DEVs post on the OP They all say the same thing
"Flash at your own risk"
Remember these are not the Factory ROMs and things may go wrong.
Read the whole thread for a ROM makes for a very informed decision before flashing
I guess what I'm dying to know is why some rooms blank the efs folder and why some don't. I read about losing the efs folder but after doing gummy and black from without needing to restore I figured the backup had to be just a precaution. hope the restore instructions get added to instructions.
is is that some rooms have the efs folder in their tar all and others don't? if so might it be better to not have it in the tar all so restore isn't needed. if you do a cp and get the order wrong you might blank your only backup (should have another backup of course but its nice to be nice to people of course
jago25_98 said:
is is that some rooms have the efs folder in their tar all and others don't?
Click to expand...
Click to collapse
EFS folder is a STATIC folder ie it will NEVER be included in a ROM stock or custom.
The nv_data.bin file located in the EFS folder contains data unique to each handset therefore it will not be included in any ROM.
Some ICS ROMs will cause issues with the permissions on the EFS folder and the files within causing the IMEI to display incorrectly or to have none at all
Lexrsk said:
EFS folder is a STATIC folder ie it will NEVER be included in a ROM stock or custom.
The nv_data.bin file located in the EFS folder contains data unique to each handset therefore it will not be included in any ROM.
Some ICS ROMs will cause issues with the permissions on the EFS folder and the files within causing the IMEI to display incorrectly or to have none at all
Click to expand...
Click to collapse
Well that's the thing you see. As far as I can tell ICS333 doesn't have the /efs folder so whatever is on there before the ROM is loaded should be there after unpacking. But unlike the Black ROM it isn't and I don't understand why.
jago25_98 said:
Well that's the thing you see. As far as I can tell ICS333 doesn't have the /efs folder so whatever is on there before the ROM is loaded should be there after unpacking. But unlike the Black ROM it isn't and I don't understand why.
Click to expand...
Click to collapse
If it it is not there then post in the ICS333 thread.
Include the output of "df" from either terminal emulator or ADB
ie
cd /
df >>/sdcard/phonedir.txt
thanks,
i copied the backuped nv data from stock rom and got my imie back.
maybe it's somthing in the permissions ilke said here.
thanks a lot .

[Q] Where are my Clockwork backup files?

Hi,
Ive always used CWM to make my recoveries. But now, with Nexus 7 (CWM touch 6.0.1.9), Im unable to locate the backup files. There is no BACKUP folder in the clockwork folder and while I did a search using google and found many answers for my question, none of them was right. And I didnt make update from 4.1.2 - I cleaned the whole device and flashed stock 4.2.1 via fastboot, so I dont believe there is some directory tree change mess. And there is no BLOBS folder either.
I just flashed the ROM, rooted it using Toolkit, flashed CWM, made a backup - and boom, nothing there, while it is visible in both CWM recovery and ROM manager. I tried renaming the backup in ROM manager and searching for its new name using File Manager (with root privileges), but I was unsuccessful ...
So, please help me or provide me with a relevant link as I dont like TWRP ...
EDIT: I deleted the /SDCARD/CLOCKWORK folder and flashed TWRP. Now, I returned to CWM, made a backup using CWM and not only I dont see the backup itself, it didnt even recreate the CLOCKWORK folder. I just made a full search in the whole filesystem and there is nothing with "clock" in name (nothing relevant). Where is the backup hidden?????
Tried using it today. Its in some God forsaken rabbit hole. First enable root in es file explorer settings. Then look in system for data, media and eventually clockworkmod. That's the help I can give u.
Sent from my Nexus 7 using xda app-developers app
r3a1ist said:
Tried using it today. Its in some God forsaken rabbit hole. First enable root in es file explorer settings. Then look in system for data, media and eventually clockworkmod. That's the help I can give u.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Thanks, but that not the place for me. /data is empty and the only folder found containing "clock" in the file structure is /sstorage/emulated/0/clockwork ... the same as /sdcard/clockwork I was talking about. only three small files and thats it, no BACKUP or BLOBS.
GOT IT!!! I dont know why it wasnt visible with rooted File Manager, but I tried ES and its there ... bam ... THANKS A LOT!
Now, whats the best way to save this stuff to a computer?
its because Jellybean 4.2 uses diff storage paths...
Android 4.2 significantly changes the way how sdcards are handled internally, your data is moved from /sdcard/ into /sdcard/0 on first boot (0 is the 'home directory' of the default user). If you go back to 4.1.2: Don't forget to move the data in 0/ back to the root of your sdcard.
Click to expand...
Click to collapse
Ather said:
its because Jellybean 4.2 uses diff storage paths...
Click to expand...
Click to collapse
Well, Im aware of that. But that doesnt explain why the files are under /data/media/clockwork. Neither it does explain why it wasnt shown/found by File manager with root privileges - although I guess its the problem of the File manager, as ES File Explorer sees that without any problems ...
Now, I switched CWM to save to TAR and made a backup. It created a folder "/data/media/clockwork/backup/2013-01-08-1214" with 9 files, size about 1,1GB. Is it sufficient for me to copy this file to my computer? Im talking about backing up the backup (heh) ...
Also, is it ok that files cache.ext4.tar, data.ext4.tar and system.ext4.tar are 0mb? Thanks!
EDIT: I tried moving a backup folder to my pc, making factory reset, copying it back to where it was and restoring - everything works fine. Although I dont get why google messed the sw insides so much - my Nexus S seems to be much better in the matter of directory tree - and doesnt wipe all my files when doing stock restore from PC ...

[Q] Please Help!! (TWRP BACKUP)

Please help me! I was on Sense 5 rooted with twrp installed. Decided id try out the new CM 10.1 for the HTC ONE. So i backed up my system, data and everything else and proceeded to install CM. Decided it wasnt for me, went to TWRP, went to restore and there are no files there? What happened? I can see I only have 6GB storage available so the file is there somewhere!! How do i flash the backup? i read about a twrp utility or that the file structure is off?
Thanks for your help!!
UPDATE: When I go into a file manager, the backup from today is there.. it is in TWRP> BACKUPS> HT34JXXXXXX> (2013-05-14 @ 8:06 AM)
and inside that folder are the usual backup files. BUT IT STILL WONT SHOW UP IN TWRP WHEN I PRESS "RESTORE"
Anyone? I'm dieing here!!!
Reflash recovery, and see if now work.
I've restored yesterday my backup and no prob with TWRP.
And search your file in sdcard/0
If it will not work, reflash rom.
Don't know if this happened but I had a galaxy s3 before I got the htc one and I understood that cyanogenmod is a 4.2.2 type of rom and we have a 4.1.2 rom. A lot of peeps in the galaxy's forum would have trouble going back to touchwiz roms because the say flashing a 4.2.2type of rom partitions the memory files differently so then the 4.1.1 stock or custom roms. You may have to somehow unroot the phone and "push" the phone back to stock using your computer. People had to do that before with the s3. Hope that helps maybe. I have to go to work now. Good luck
Should I try to flash clockwork mod? Just go into the play store, download and flash from within the app? I don't understand I made a full nandroid it is in my phone and on my computer.. Why can't twrp recognize it?
Okaay said:
Should I try to flash clockwork mod? Just go into the play store, download and flash from within the app? I don't understand I made a full nandroid it is in my phone and on my computer.. Why can't twrp recognize it?
Click to expand...
Click to collapse
CWM can't restore TWRP backup.
If you backupped your rom with TWRP, this will restore it.
Did you try to see in sdcard/0?
Guich said:
CWM can't restore TWRP backup.
If you backupped your rom with TWRP, this will restore it.
Did you try to see in sdcard/0?
Click to expand...
Click to collapse
This is in the stock cm10 file manager. This is the exact backup I'd like to restore but when I go into the recovery and press on restore, nothing shows please keep responding!!!!
For team win recover the files need to be in /sdcard/0 the number zero or it won't be recognized. Move the directory structure to /sdcard/0. Also copy the directory with the backup to your computer in case.
Can we see the whole directory structure of where these files are located? like /recovery/2012305/ or where ever it happens to be?
nullkill said:
For team win recover the files need to be in /sdcard/0 the number zero or it won't be recognized. Move the directory structure to /sdcard/0. Also copy the directory with the backup to your computer in case.
Can we see the whole directory structure of where these files are located? like /recovery/2012305/ or where ever it happens to be?
Click to expand...
Click to collapse
Yeah man, I'll post the pics. Here they are looks as though it is in 0/
I just backed up the cm ROM just to see what would happen and now when I go to restore, the cm10 backup is the only one there and I can't locate it in file manager anywhere
Sent from my HTC One using xda app-developers app
Okaay said:
Yeah man, I'll post the pics. Here they are looks as though it is in 0/
I just backed up the cm ROM just to see what would happen and now when I go to restore, the cm10 backup is the only one there and I can't locate it in file manager anywhere
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
Search the SD card for boot.emmc.win you should get two results one from the original backup and one from the new one. You need to get both the backups together. Also copy your original backup to your computer so you have a copy of it in case you need to wipe or something.
nullkill said:
Search the SD card for boot.emmc.win you should get two results one from the original backup and one from the new one. You need to get both the backups together. Also copy your original backup to your computer so you have a copy of it in case you need to wipe or something.
Click to expand...
Click to collapse
This is what I see... Someone please help, the backup I wanna restore is already I'm TWRP folder on the internal storage but no files show up when I try the "restore" option in the recovery
Sent from my HTC One using xda app-developers app
Okaay said:
This is what I see... Someone please help, the backup I wanna restore is already I'm TWRP folder on the internal storage but no files show up when I try the "restore" option in the recovery
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
OK so did you copy your backup to your computer yet???? Well if not now would really really be the time to do that. Looks like there is a issue with how CM is doing the SD card and TWRP. So first copy the backup off of your phone. Should I say it again? COPY THE BACKUP OFF YOUR PHONE. Now go get the correct RUU for your phone. Run that sucker and restore the phone to stock. You will need to relock your bootloader. Once that is done put TWRP back on your phone and copy your backup to the phone.
Ran into this myself. Because of 4.2.2's support for multiple users, it segments the internal storage into pieces(i.e. 0 for first user, 1 for second user, 2, 3, so on). I didn't realize this and had to start from scratch.
Copy your TWRP backup(and anything else you don't want to lose) to your computer and delete the 0 file. Re-add your files to the internal storage(be sure to keep a copy on your computer). Then reboot into bootloader, fastboot erase cache, reflash, and reboot into recovery. Don't let the CM10.1 ROM start up, otherwise you'll be doing it again.
Alternatively, use the All-In-One toolkit to adb sideload a non-CM10.1 ROM onto your phone, delete the 0 folder(after transferring to your computer what you don't want to lose, of course), reboot recovery, and attempt to restore.
Thanks guys, got it working
Sent from my HTC One using xda app-developers app
This is the same problems people with the GNex came across moving back from 4.2.2 to 4.1.2 last year - you have to remember the internal memory changed and manually move fles to the non-0 folders! You guys should read up more before jumping head long into a new Android version!
Glad it's sorted now though
nullkill said:
For team win recover the files need to be in /sdcard/0 the number zero or it won't be recognized. Move the directory structure to /sdcard/0. Also copy the directory with the backup to your computer in case.
Can we see the whole directory structure of where these files are located? like /recovery/2012305/ or where ever it happens to be?
Click to expand...
Click to collapse
OOPs--sorry this must be an HTC specific problem--sorry for poking my Samsung nose in...
Maybe I am not understanding the thread but--
In my Galaxy Note2 all my TWRP backups, and I have about 5, are all in ext.sd. card and I have used it to restore on several occasions--could be a device specific situation, but in Note2 it's fine to have them in ext.sd card.

[Q] Galaxy Tab GT-P1000 how to restore ECS files?

EDIT: By ECS i meant EFS (don't know how to edit the title)
Hey guys, first time posting in the galaxy tab forums.
Gonna try be as specific and brief as i can:
Sister has a P1000 with stock gingerbread.
I updated it to CM9 like this: rooted it -> installed CWM -> used root explorer to backup ecs folder -> downloaded CM9 from official CM page -> install as zip file.
First thing i noticed is that i have no IMEI and the radio is not working. I googled a bit, downloaded a radio, installed and now it works, i have network. However, i also have the infamous 004999XX IMEI which is giving me some problems in some apps.
I googled and tried lot's of things i found here on xda and some other forums.. Nothing worked.
First thing i did:
Deleted everything in ecs folder
Copied everything from the backup folder to ecs
Made sure nv_data.bin had radio as owner
Reboot
Didn't work
Next:
Deleted only the bin and md5 files
Copied .nv_data.bak from backup to ecs folder and rename ir properly
chown to radio
Reboot
Same thing
I also tried other variations, none worked.
Funny thing is that in the backup folder, the md5 hashes stored in the md5 files are not the same as the real hashes of the bin files, is this normal?
For example: in .nv_data.bak.md5 the hash stored is 2a3e2340b5f66adb17f2d1e9d95ceca5 but the real hash of the .nv_data.bak is f8638a35a8cd952ecff2a97f60b24b4d. Same goes for the nv_data.bin file
Other thing i noticed, if i upload the nv_data.bin file to ecs and reboot the device for it to create the md5 file, the system modifies it, it gets a different hash.. is this normal?
I am doing all this in ICS of course, i read it's preferred to do it in the stock rom, but i want it working with this one.. What am i missing?
Sometimes, what you want isn't going to work.
Just restock, it took 3 minutes to do ( download time is another)
Follow my signature, use overcome method. Read the from page 7 of the pdf.
Sent from my GT-N7100 using xda app-developers app
priyana said:
Sometimes, what you want isn't going to work.
Just restock, it took 3 minutes to do ( download time is another)
Follow my signature, use overcome method. Read the from page 7 of the pdf.
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
Thank you.. my IMEI is back, even on ICS now..
I'm guessing it didn't work the first time because i went from stock gingerbread to ICS without any preparations.
Again, thank you so much.

Categories

Resources