CF and Hellcat kernel - Galaxy S II Q&A, Help & Troubleshooting

Hello xda team
Since my Samsung Galaxy SII had many pre-installed apps, I have rooted my phone with the CF root kernel. Now I want to flash back to the original firmware. However, I was always warned in various forums, I shall first make a backup of my EFS folder. Immediately, I was looking for an app to back up, but I need a Hellcat Kernel. I've already found and downloaded the correct version, however, is in the. Zip file contains a folder named "modules_XWLA4" one cifs.ko file. Do I need to flash the file also, or I can ignore? If after flashing the kernel, the software to back up the EFS folder already included or do I have to download yet? Can the EFS folder secure a mistake of my cellphone occur destroyed? How can I later delete the custom kernel without notice it? Just the one-piece flashing official firmware XWLA4 and then use a USB jig?
I have tried very translate the text into English. But can still be errors in it. Please forgive me.

Riseofdead said:
Hello xda team
Since my Samsung Galaxy SII had many pre-installed apps, I have rooted my phone with the CF root kernel. Now I want to flash back to the original firmware. However, I was always warned in various forums, I shall first make a backup of my EFS folder. Immediately, I was looking for an app to back up, but I need a Hellcat Kernel. I've already found and downloaded the correct version, however, is in the. Zip file contains a folder named "modules_XWLA4" one cifs.ko file. Do I need to flash the file also, or I can ignore? If after flashing the kernel, the software to back up the EFS folder already included or do I have to download yet? Can the EFS folder secure a mistake of my cellphone occur destroyed? How can I later delete the custom kernel without notice it? Just the one-piece flashing official firmware XWLA4 and then use a USB jig?
I have tried very translate the text into English. But can still be errors in it. Please forgive me.
Click to expand...
Click to collapse
Do not extract the tar file.
As you have flashed CF-Root, your phone is already rooted and you can use Mobile Odin to flash another kernel.
Here is Chanfire's thread for Mobile Odin => http://forum.xda-developers.com/showthread.php?t=1347899
A little bit work to do, as the free lite version needs the additional FlashKernel.apk to be installed manually. Or just buy Mobile Odin from the Market and everything needed will be installed automatically.
After this, do the following:
1. Connect your phone with USB cable to your PC and copy Hellcat's kernel tar file to your phone (directly into the root of the sd card).
2. Just start Mobile Odin app and select to flash a new kernel.
Then select the tar file for Hellcat's kernel from your sd card.
Please stick to HellcatDroid's description => http://forum.xda-developers.com/showthread.php?t=1182922&highlight=hellcats+kernel
After flashing this kernel, you can start Companion app and backup your EFS folder.
P.S.: If you only want to backup your EFS folder, you can alternatively use the following app => http://forum.xda-developers.com/showthread.php?t=1308546
It is a Windows application which saves the backup to your PC.
Good luck !

Related

[Q] No Imei?, No Baseband?

I have no Imei, No baseband, No reception (obviously)
ive been running cognition 1.51
and have downloaded csc selecter or something similer (that never worked) but i think that may be the issue when i opened it..
But i was wondering if there is a fix for this yet? or if someone can help me with resoring my phone to factory including the format of the efs folder?
ive searched for help about this, but noone has seemed to come up with a solution..
any help would be greatly appreciated
FIXED
cantelog said:
1st off i have a macbook running OSX 10.6.8
i take no responsibility for any bricking
make a backup of efs
NOTE: - Buy Root Explorer
- You have to have root!
- You HAVE to Have SUPERUSER installed
- USB debugging ON on your Phone (Settings>Applications>Development)
- Google is your friend and so am i
-- INSTALL SDK
1. Downloaded the android SDK http://developer.android.com/sdk/index.html
2. unzip the SDK and changed the folder name from "android-sdk-mac_x86" to something simple "android"
3. drop the folder into Applications
4. open up terminal and copy "export PATH=$PATH:/Applications/Android/platform-tools/" WITHOUT THE "
(now you have SDK INSTALLED)
-- THE FIX
1. plug in your phone
2. open Terminal, and open Superuser app on your phone
- NOTE: when you write "su" into Terminal, accept on the superuser app.
In Terminal Write -
adb shell
su
cp -r /efs /sdcard
3. Mount your Sdcard
4. copy and save a backup of the folder efs
5. download hexedit for mac
6. open Hexedit and open NV_data.bin, search for i9100
-should be something like "XX 1.500XSAGT-I9100XXXXSAXXXXXXXX"
7. change the RED codes to your CSC country code and save
here are some country codes
8. open /IMEI/mps_code.dat in Hexedit
- change the Code for your country code aswell and save
9. unmount Sdcard
10. MAKE SURE U HAVE A BACKUP OF EFS
11. Goto Root Explorer and copy contents of sdcard/efs to efs/
12. reboot
13. Yippee
Click to expand...
Click to collapse
Did you back up your efs folder?
Sent from my GT-I9100 using xda premium
cantelog said:
I have no Imei, No baseband, No reception (obviously)
ive been running cognition 1.51
and have downloaded csc selecter or something similer (that never worked) but i think that may be the issue when i opened it..
But i was wondering if there is a fix for this yet? or if someone can help me with resoring my phone to factory including the format of the efs folder?
ive searched for help about this, but noone has seemed to come up with a solution..
any help would be greatly appreciated
Click to expand...
Click to collapse
Just reflash modem.
If you didn't back up your efs folder, you might be out of luck. Try flashing the stock firmware for your provider and see if that helps.
Sent from my GT-I9100
all the flashing i have done over the past year with my sgs i9000 and now sgs2 i9100 i have never seen anything todo with efs.
so no i havnt backed up that folder, that cant be the only way to fix this?
i have looked in my efs folder and there is some files with .bak in them so im thinking some of the roms ive flashed in the past may have done a backup or something?
cantelog said:
all the flashing i have done over the past year with my sgs i9000 and now sgs2 i9100 i have never seen anything todo with efs.
so no i havnt backed up that folder, that cant be the only way to fix this?
i have looked in my efs folder and there is some files with .bak in them so im thinking some of the roms ive flashed in the past may have done a backup or something?
Click to expand...
Click to collapse
If you are missing baseband, there can't be imei either so flashing modem should restore it.
Happened to me a couple of times.
Daagen said:
Just reflash modem.
Click to expand...
Click to collapse
ill do that now
cantelog said:
ill do that now
Click to expand...
Click to collapse
ive just reflashed the modem KH3 and still
NO IMEI
Baseband Unknown
WTF
cantelog said:
ive just reflashed the modem KH3 and still
NO IMEI
Baseband Unknown
WTF
Click to expand...
Click to collapse
It means you still dont have modem for some reason.
If you have flashed new kernels recently, go back to kernel which worked and then reflash modem.
Daagen said:
It means you still dont have modem for some reason.
If you have flashed new kernels recently, go back to kernel which worked and then reflash modem.
Click to expand...
Click to collapse
Im going to flash stock KH3 Kernel, Rom and Modem
because that worked for me in the past
do you recommend i re partition from odin? (could it help/hurt?)
No need for repartition.
Daagen said:
No need for repartition.
Click to expand...
Click to collapse
I flashed Stock kernel KH3, Stock Rom KH3, and Stock Modem KH3, Still have NO Baseband still NO IMEI and still NO Reception. aarrgghh
djnoicatse said:
If you didn't back up your efs folder, you might be out of luck. Try flashing the stock firmware for your provider and see if that helps.
Sent from my GT-I9100
Click to expand...
Click to collapse
Telstra Firmware for I9100 isnt available at samfirmware.com yet, so i cant flash that Branded Rom
cantelog said:
Telstra Firmware for I9100 isnt available at samfirmware.com yet, so i cant flash that Branded Rom
Click to expand...
Click to collapse
When you changed CSC, Your IMEI got corrupted. Only way to restore is efs back up or reverting back to original firmware. This should work ...
If not , You may try this one , http://forum.xda-developers.com/showthread.php?t=837239
I was able to solve it using this method. You need to be rooted to do this ...
This will void your warranty ... so be careful.
I would definitely not recommend using a i9000 method of getting the baseband, imei back on a i9100.
The EFS folder contains critical files for the IMEI, Baseband, serial number of the phone etc.
Check in the Q&A threads and in here someone else also had the same issue and they managed to resurrect their phone with some developer support.
Good luck, only other option is a repair job and just say kies crashed through the firmware update and now the phone doesn't boot.
Please use the Q&A Forum for questions Thanks
Moving to Q&A
Virtualsk said:
When you changed CSC, Your IMEI got corrupted. Only way to restore is efs back up or reverting back to original firmware. This should work ...
If not , You may try this one , http://forum.xda-developers.com/showthread.php?t=837239
I was able to solve it using this method. You need to be rooted to do this ...
This will void your warranty ... so be careful.
Click to expand...
Click to collapse
FIXED
Thankyou for putting me in the right direction Virtualsk
if you arent using a pit file dont touch the re-partion box or your will screw your phone completely and dont tick the EFS box either although now that doesnt matter as its already to late.
1st off i have a macbook running OSX 10.6.8
i take no responsibility for any bricking
make a backup of efs
NOTE: - Buy Root Explorer
- You have to have root!
- You HAVE to Have SUPERUSER installed
- USB debugging ON on your Phone (Settings>Applications>Development)
- Google is your friend and so am i
-- INSTALL SDK
1. Downloaded the android SDK http://developer.android.com/sdk/index.html
2. unzip the SDK and changed the folder name from "android-sdk-mac_x86" to something simple "android"
3. drop the folder into Applications
4. open up terminal and copy "export PATH=$PATH:/Applications/Android/platform-tools/" WITHOUT THE "
(now you have SDK INSTALLED)
-- THE FIX
1. plug in your phone
2. open Terminal, and open Superuser app on your phone
- NOTE: when you write "su" into Terminal, accept on the superuser app.
In Terminal Write -
adb shell
su
cp -r /efs /sdcard
3. Mount your Sdcard
4. copy and save a backup of the folder efs
5. download hexedit for mac
6. open Hexedit and open NV_data.bin, search for i9100
-should be something like "XX 1.500 XSA GT-I9100XXX XSA XXXXXXXX"
7. change the XSA codes to your CSC country code and save.
here are some country codes
8. open /IMEI/mps_code.dat in Hexedit
- change the Code for your country code aswell and save
9. unmount Sdcard
10. MAKE SURE U HAVE A BACKUP OF EFS
11. Goto Root Explorer and copy contents of sdcard/efs to efs/
12. reboot
13. Yippee
I was trying to make a call, the person on the other side could not hear me. I reboot and...lost my baseband. Checked IMEI, it was also missing. Tried the solution above, but when I get to the below command:
cp -r /efs /sdcard
I get the message: "-r /efs /sdcard: not found"
I'm using Windows 7, BTW.
Please, please help.
Thanks.

[Q] How to remove unwanted Apps from Galaxy s2 I9100T purchased in Australia

Hi,
I recently got an unlocked Samsung Galaxy s2 in Australia but it is showing some unwanted Apps that are installed. It seems that the firmware installed is specific for Telstra.
Is there any way to get rid of these apps?
It shows Kernel version as 2.6.35.7-I9100TDVKF4-CL301812 [email protected]#2.
Baseband Version I9100TDVKF2 and Build Number GINGERBREAD DVKF4
Thanks in advance
Sandeep
You need:
Root explorer
Root access (Dunno how for SGSII as I don't have it yet)
Super User app from market.
1)Root your phone
2)Install Super User app
3)Launch root explorer -> System -> app -> *Press on (Mount R/W) on right top hand corner
4)carefully look for unwanted app(s). Rename those apps XX_.apk to XX_.apkold or similar so that extension changes and phone will no longer recognize app
5)reboot phone
6)Done
To restore unwanted app in future, remove 'old' from .apk extension .
ohrisandeep said:
Hi,
I recently got an unlocked Samsung Galaxy s2 in Australia but it is showing some unwanted Apps that are installed. It seems that the firmware installed is specific for Telstra.
Is there any way to get rid of these apps?
It shows Kernel version as 2.6.35.7-I9100TDVKF4-CL301812 [email protected]#2.
Baseband Version I9100TDVKF2 and Build Number GINGERBREAD DVKF4
Thanks in advance
Sandeep
Click to expand...
Click to collapse
Firstly install Kies if you haven't done so already (http://www.samsungapps.com/about/onPc.as), so you have the drivers installed on your PC so that it can read the phone. And download Odin from here http://forum.xda-developers.com/attachment.php?attachmentid=611625&d=1306787405 this is the program that will let you update Firmware and Kernals. Make sure Kies isn't running in the background cause those 2 programs don't get along with eachother just goto task manager and kill every process to do with Kies.
Than
Goto this thread http://forum.xda-developers.com/showthread.php?t=1075278 and download both files in this section-
XXKI3
Firmware info
PDA:XXKI3
PHONE: XXKI3
Date: 15/09/2011
Android 2.3.5
XEO (Poland): http://www.multiupload.com/XTRG43JVEG
XXKI3 Stock Kernel: http://www.multiupload.com/6XT83N1LLN
Password: [email protected]
Unzip the first file which is the firmware file around 200mb+ in size with 7zip. Than load Odin select PDA and pick the files location. Turn off your phone and turn it on by pressing Volume down key, menu button, and Power button at the same time. Than pick continue and you will be in download mode. Connect the phone to the PC and Odin should show a yellow bar with a com port opened. Which means that you are now ready to flash the firmware. Just double check to make sure Auto Reboot and F.Reset Time are the only boxes ticked than hit start.
Than go to this thread http://forum.xda-developers.com/showthread.php?t=1103399 and download CF-Root-SGS2_XX_OXA_KI3-v4.1-CWM4.zip - [Click for QR Code]
Once again extract it and open up Odin pick PDA and find the extracted file. Make sure your phone is in download mode and hit start with only the same 2 check boxes ticked as you did in the firmware install. Now your phone is in stock setup with no Telstra Bloatware! and fully rooted.
You will notice a yellow triangle now every time you boot your phone. This is perfectly normal and if you don't want it simply follow this guide to remove it http://forum.xda-developers.com/showpost.php?p=14283369&postcount=2
To remove unwanted apps like social hubs, readers hubs etc download Titanium backup and refer to this list on whats safe to remove https://spreadsheets.google.com/spr...1gdDJRekl4QmkyNmIzUmRvX2h3UDVkQXc&output=html
Hope this helps
Odin is not able to detect the files downloaded from the first 2 links ie. Firmware (200 mb+) and stock Kernel. These files are downloaded as .exe files and not Zip. Also is there a need to put a new firmware or only Kernel replacement will do the job?
Tks
ohrisandeep said:
Odin is not able to detect the files downloaded from the first 2 links ie. Firmware (200 mb+) and stock Kernel. These files are downloaded as .exe files and not Zip. Also is there a need to put a new firmware or only Kernel replacement will do the job?
Tks
Click to expand...
Click to collapse
You have to extract the files with 7zip and you need to put new firmware. You should see a file called GT-I9100_XEO_I9100XXKI3_I9100OXAKI3_I9100XXKI3.tar this is the file you link to in odin
Be careful, you may have an 850 Mhz tuned T version.
The modems you may be stuck with
Are the kf2 or the ku4 versions.
Check your model under the battery or at boot.
Sent from my GT-I9100T using XDA App
If rooted, try Darky Rom tool 2 from market
Titanium backup from market also has an option under 'batch' to delete system apps. Need to root first.
I have the same version phone and flashed a generic rom to get rid of all the Telstra bloatware.
If you do ever install a generic or custom rom make sure to flash a compatible modem. Vodafone's one works well for all Oz networks.
Sent from my GT-I9100 using XDA Premium App
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums and Read THIS
Moving to Q&A

[q] İcs remİx rom v7.1 help

Hi,
I currently own a rooted SGS2,
I rooted it yesterday and it has Superuser and CMW.
I am trying to flash İCS REMİX ROM V7.1 XXLP2 4.0.3 resurrection
Ive downloaded and put it into phone/clockworkmod/backup folder (or whever it is supposed to be)
when i reboot my phone into CMW recovery mode and i choose to restoe the downloaded custom Rom, it says it cannot find system.img cache.img etc etc.. and then it says it has skipped the restore process.
when i checked the folder that i downloaded from İCS REMİX ROM V7.1 XXLP2 4.0.3 resurrection, all the files are in .tar format except the boot.img
anyone know how to solve this??
Some1 just had same problem, and I thinkbthe files are in tar format so if they are, learn more about flashing.
Sent from my GT-I9100 using XDA App
CWM backup
It is a CWM backup, you have to put the zip file you get after unrar in the folder sdcard/clockworkmod/backup. DO NOT UNZIP
I did that, and after I unrar-ed the downloaded file, I got a folder containing tar files , one md5 file and a boot.img
I also had some trouble restoring this ROM and what worked for me was to get a standard 4.0.3 ROM that you can install from zip from the sdcard and then only do the restore from the backup as they say in the intro of that thread.
Hope this helps
Bobgnarley said:
I also had some trouble restoring this ROM and what worked for me was to get a standard 4.0.3 ROM that you can install from zip from the sdcard and then only do the restore from the backup as they say in the intro of that thread.
Hope this helps
Click to expand...
Click to collapse
I currently do have a different 4.0.3 Rom installed from zip on my Galaxy s2,
so what you did was you did a restore from backup with ICS remix rom 7.1??
Yes I unzipped the File and copied the folder to the clockworkmod/backup folder. Then boot into cwm go backup and restore and restore from that date folder. Thanks to Wescrip and all the dev on that thread. They've done an awesome job so far.
Sent from my GT-I9100 using xda premium
Bobgnarley said:
Yes I unzipped the File and copied the folder to the clockworkmod/backup folder. Then boot into cwm go backup and restore and restore from that date folder. Thanks to Wescrip and all the dev on that thread. They've done an awesome job so far.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
I did exactly what you mentioned above, however I get error messages such as data.img not found cache.img not found,... then it says it's skpped it all and the restoration process becomes aborted...
is it because the files in the folder are in .tar format not .img?
That might be a problem with the Kernel or the CWM version you using. Not too sure.
What I can tell you is these are the steps I followed and they worked 100% for me.
1. For the first ROM i installed I downloaded this one - http://downloadandroidrom.com/file/GalaxyS2/roms/CM9ICS/update-cm-9-SGS2-01122012-signed.zip
(Thanks to max at galaxy S2root.com for the link)
2. I did a full wipe and factory reset from CWM and then installed this zip file from sdcard.
3. I booted my phone and let it start up. Then switch off again and go into CWM.
4. Then chose restore from backup and restore (as you will see CWM is now 5.5.x.x which might have a influence not sure)
5. Let it start up and bob's your uncle.
Edit : just fyi there seems to be a problem with the cwm that comes with that rom as it doesn't read the sdcard and I couldn't restore from it. So either you must flash a new cwm from odin when you want to restore to your old rom or install the first rom again so you have a working one and then restore.

[Q] Questions on Flashing a custom rom

I have a Samsung Galaxy S 2,
It's been rooted and has CMW on it with superuser
I ve downloaded from this website, the ICS remix Rom v7.1
After saving it to my computer, I unzipped the .rar file and moved the folder in to:
phone/clockworkmod/backup (like the post tells me to)
I then rebooted my phone into recovery mode, Wiped everything and then went into backup and restore, restore from internal sd card and then chose the restore files i downloaded from the ICS remix Rom v7.1
However, when proceeding with the restore process I get messages such as
cache.img not found, data.img not found phone.img not found etc etc...
is it because all the files I downloaded are in .tar format???
Can anyone help me with this??
You should see .md5 and .img files in the backup folder. TAR files are for Odin flashing I believe.
Sent from my GT-I9100
Don't post almost identical thread's within an hour of eachother... The moderators and also the users do not appreciate this.
In regards to OP, I have no clue on that particular ROM.
If the files are in tar, they are supoused to flash with odin, but if you knew the files are in tar files, Then I suggest to learn about flashing roms more or you might end up to bricked phone
Sent from my GT-I9100 using XDA App

Disabling secure boot

firstly i request all moderators of xda in grand 2 forum,
as i am unable to post on developement section,
i am posting the thread here..
plz move it to developement section.
ok now back to topic,
try at your own risk!
i will not be responsible if anything happens to your phone
To all the users who have succesfully rooted grand 2,
there can be a way to install (flash) recovery on your phone!
i was exploring the system and i found a file in "/system" folder
called "recovery-from-boot.p"
i THINK this is the file that causes problem!
you may delete it or rename it...(renaming is safer)
once you delete it, you may flash custom recovery via ODIN
and even if the recovery gets currupted or if you cant boot into recovery, you can simply boot normally and restore the renamed or deleted file!!!
and then once again you may try to flash custom recovery from ODIN (as stock gets deleted as soon as you modify recovery-from-boot.p file)
press thanks if this post helped!
dindt find any file like u wrote.... plss provide specific path.. so we can try
Rakesh251 said:
dindt find any file like u wrote.... plss provide specific path.. so we can try
Click to expand...
Click to collapse
Its located here:
bro no such file is available.. this wont help to solve .and still custom recovery not available for grand2
how would u know that it won't help..
i only post threads as i know what i am doing.
the file which i uploaded up there is taken from MY PHONE ITSELF i.e galaxy GRAND 2..
and That FILE (recovery-from-boot.p) IS present on my phone and i m using Stock rom and not any other rom..
Same with me... none of them named exactly like you mention above.
Sent from my SM-G7102 using XDA Premium 4 mobile app
it only appears on a Stock UN-ROOTED firmware..
In order to inject custom CWM there isnt a necessity to root device.
so firstly we need to remove file that I mentioned in my previous post and inject recovery.
and via that recovery,
we can flash a custom kernel that automatically roots device!
vrushabh sutar said:
it only appears on a Stock UN-ROOTED firmware..
In order to inject custom CWM there isnt a necessity to root device.
so firstly we need to remove file that I mentioned in my previous post and inject recovery.
and via that recovery,
we can flash a custom kernel that automatically roots device!
Click to expand...
Click to collapse
Dude, if the FILE just appears in STOCK UNROOTED FIRMWARE , so how can we delete that.
Coz, to delete a /system file, we need ROOT access.
NOT POSSIBLE.
And in rooted version, the FILE is not available :victory:
00hacktheworld00 said:
Dude, if the FILE just appears in STOCK UNROOTED FIRMWARE , so how can we delete that.
Coz, to delete a /system file, we need ROOT access.
NOT POSSIBLE.
And in rooted version, the FILE is not available :victory:
Click to expand...
Click to collapse
Thank you for replying.
I know that it can't be deleted,
but one may understand the importance of that ".p" file and understand its working, as it plays a vital role in booting up recovery...
the only thing I wanna let users understand is that,
stock recovery includes that file and
it got deleted when rooted because the rooting package (eg. CF root) didnt contain the .p file
when I studied that strange file,
it consisted of mapping and accurate memory address as well as accurate size of stock recovery image in bytes,
so that whn new recovery gets flashed, it verifies with the .p file!
and talking abt modifying the .p file,
we must create a custom linux binary with zerglings and packed into .tar file which gets flashed to phone via Odin!
for build creation you can use this tool..
http://www.xda-developers.com/android/comprehensive-guide-to-the-android-build-process/?__utma=60652090.747738090.1398670920.1400078979.1400132113.21&__utmb=60652090.0.10.1400132113&__utmc=60652090&__utmx=-&__utmz=60652090.1400132113.21.12.utmcsr=google|utmccn=%28organic%29|utmcmd=organic|utmctr=%28not%20provided%29&__utmv=-&__utmk=163283131
So I found the reason behind this
It is a file used by Software Update Application to flash updates.
If you want proof go-to the data folder of the SOFTWARE UPDATER and there will be a 3mb file. Copy it to pc and open using winrar. You can see many files including boot.img.
So the author of this thread was about to update his/her phone when he found the file :thumbdown:
SO MYSTERY SOLVED
SCOOBY DOOBY DOOO
Sent from my SM-G7102
i didnt't get what you are on to...
i noticed that the Update Package (i.e the OTA) easily jumps over all the restrictions imposed by Bootloader(locked one) and gets easily flashed to the phone...
therefore the whole matter is now pointing out to the 'ro.build.fingerprint' as well as Verification of MD5 hashes linked directly to Flashing InstructionSet

Categories

Resources