[Q] [FIXED] From Gingerbread to CM7. Handshaking with Loke Failed - Galaxy Tab Q&A, Help & Troubleshooting

** FIXED **
The problem was in my notebook. I'm using Fedora 15, and I guest that there is some kind of problem with the Linux kernel. I can flash using another computer.
** END (and thank you) **
My tab is using the Gingerbread JQ1 rom and I'd like to test the CM7 variant. I have used Heimdall before to flash new kernels, but now, when I try to flash the CM7 rom I have this error:
$ heimdall flash --cache cache.ext4 --dbdata dbdata.ext4 --factoryfs factoryfs.ext4 --kernel zImage
[...]
Claiming interface... Success
Setting up interface... Success
Beginning session...
Handshaking with Loke... Failed!
As I said before, I'm using the GB rom (with GB boot loaders). Are there any problem with my boot loaders?
Also, after the error, if a quit from download mode I can use the Tab without problem.

Related

[Q] SGS I9000 stucked at Darky's 10.2 resurrection boot

This is how I got stuck in Darky's rom boot.
I have to mention that I'm on Linux and have Heimdall as my only rom flashing tool. Well I have XP and Odin setup in a Virtual Machine VB.
- First I started with the stock rom my phone comes with Froyo 2.2
- Flashed speed mod kernel with Heimdall "speedmod-kernel-k13e-500hz-CWM" which makes my phone much more responsive and stable.
- Downloaded Darky's rom 10.2 Resurection Edition from Darky's site.
- Extracted the content of the PDA.tar from Darky's rom archive.
- Within the directory containing the pit file and the extracted files from PDA.tar I executed the following command in the terminal
Code:
heimdall flash --repartition --pit s1_odin_20100512.pit --factoryfs factoryfs.rfs --cache cache.rfs --dbdata dbdata.rfs --primary-boot boot.bin --secondary-boot Sbl.bin --param param.lfs --modem modem.bin --kernel zImage
This series of command is included in a txt file from Darky's rom archive namely heimdall.txt.
- Helmdall completes the flash with message saying all files being 100 percent uploaded to the phone.
- The phone auto restarts, went through the automatic initialization and arrives at Darky's rom logo and boot animation.
- :-/ Stucked at darky's logo and boot animation being displayed one after another.
- In a forum someone mentioned initial boot can be as long as 20 mins to 1 hour. Last night I left it for 8 hours without getting through the booting process.
- ???!!!
Problem solved!!!
As a Linux user, I use Odin in Win XP running in virtual machine (Virtualbox Oracle version, not opensource version)
Seems like Odin and Helmdall DOES produce different outcome after all, despite how many claims it is said to be compatible. So AT THIS TIME, I can say that there exist a certain things heimdall perform differently from Odin.
What was your fix? Mine is stuck on a Can't Mount error. Did yours do this at all?
Sissy2170 said:
What was your fix? Mine is stuck on a Can't Mount error. Did yours do this at all?
Click to expand...
Click to collapse
Are you on Linux? More info would be useful. I don't have problem what so ever with mounting Odin did its' thing smoothly. As a Linux fan I wish heimdall could manage though, but as I said it soft brick my phone for a day. Hope you get through the flash, IMO it is totally worth it.

[Solved] How can I restock using Overcome on Linux?

my windows drive has failed i have come to learn.
i want to restock from a non-mtd version of aokp (build 31) in order to install the latest build 36.
i have never used odin or the other samsung specific tool so am a bit lost (my android experience is largely with htc where adb and fastboot is all i really need to know outside of a recovery like clockwork.)
i do happen to have CWM labelled HumberOS-v5.6.0 installed
dude, just follow the set of instructions on the team overcome website. its easy enough to follow even for a noob like me.
dude, he said Linux.
Overcome site don't do linux
BTW, this is what I do using heimdall on linux, and remember that restock is to GB-stock-safe, not to Overcome.
For most purpose, you only need restock (to get back to BML partition), then Overcome Kernel 4.0 to get CWM.
So here goes
1) naturally unpack the GB_Stock_Safe_v5.tar
2) go to download mode
3) heimdall flash --repartition --pit ./gt-p1000_mr.pit --factoryfs ./factoryfs.rfs --cache ./cache.rfs --dbdata ./hidden.rfs --primary-boot ./boot.bin --secondary-boot ./Sbl.bin --param ./param.lfs --kernel ./zImage
4) at this point you can reboot to the stock rom.
there may be some error, mine did, but I ignore it
when done,
5)unpack the overcome kernel 4.0 tar and you get another zImage
6) go to download mode
7) Flash that zImage
heimdall flash --kernel ./zImage
then wait for the fembot voice to complete.
8) Boot into recovery and flash your latest AOKP.
It may throw you back to recovery but that is normal, then choose to flash AOKP again. You may notice the CWM is slightly different from Overcome one, and the internal and external sd is swapped around. Just explore to both to find your aokp zip if you are confused.
9) flash gapps
oops.. sorry, my bad!
priyana said:
1) naturally unpack the GB_Stock_Safe_v5.tar
2) go to download mode
3) heimdall flash --repartition --pit ./gt-p1000_mr.pit --factoryfs ./factoryfs.rfs --cache ./cache.rfs --dbdata ./hidden.rfs --primary-boot ./boot.bin --secondary-boot ./Sbl.bin --param ./param.lfs --kernel ./zImage
Click to expand...
Click to collapse
it rebooted it itself. now i have a samsung that is "flashing". and it seems it is rebooting now and again. it's been doing this for 5 minutes.
priyana said:
dude, he said Linux.
Overcome site don't do linux
BTW, this is what I do using heimdall on linux, and remember that restock is to GB-stock-safe, not to Overcome.
For most purpose, you only need restock (to get back to BML partition), then Overcome Kernel 4.0 to get CWM.
So here goes
1) naturally unpack the GB_Stock_Safe_v5.tar
2) go to download mode
3) heimdall flash --repartition --pit ./gt-p1000_mr.pit --factoryfs ./factoryfs.rfs --cache ./cache.rfs --dbdata ./hidden.rfs --primary-boot ./boot.bin --secondary-boot ./Sbl.bin --param ./param.lfs --kernel ./zImage
4) at this point you can reboot to the stock rom.
there may be some error, mine did, but I ignore it
when done,
5)unpack the overcome kernel 4.0 tar and you get another zImage
6) go to download mode
7) Flash that zImage
heimdall flash --kernel ./zImage
then wait for the fembot voice to complete.
8) Boot into recovery and flash your latest AOKP.
It may throw you back to recovery but that is normal, then choose to flash AOKP again. You may notice the CWM is slightly different from Overcome one, and the internal and external sd is swapped around. Just explore to both to find your aokp zip if you are confused.
9) flash gapps
Click to expand...
Click to collapse
as per usual priyana, you are a great help!
two things i will note:
dont use the latest version of heimdall, use the second last version for the best results. i had trouble with the latest version and flashing kernels
you dont need to wait for the fembot voice to do its magic (converting to ext4 is irrelevant when you are going to change partition types again anyway), after you flash the overcome kernel, restart and hold down vol up to go straight back to recovery, from there continue on to point 8
best of luck! there will be an updated and clearer tutorial for heimdall on the AOKP website once its completed!
how long should i wait for the horse head of aokp to go away?
milomak said:
how long should i wait for the horse head of aokp to go away?
Click to expand...
Click to collapse
Still nothing. Guessing after I wake up it will be the same story.
Since you have gone that far, try enter download mode and flash aokp again, wipe cache as well.
Sent from my GT-P1000 using XDA
thanks. yeah i rewiped data, cache and dalvik.rebooted and all is well.
I want to update this with one piece of info:
Somehow, the above restock using heimdall and pit, did not wipe internal SD.
I heard an Odin repartition with pit file will wipe it.
Do the steps above cater for the modem?
Hi milomak,
You are right! I missed out
--modem modem.bin
Of course I have been doing it hurriedly to restock only to flash AOKP mtd again.
For that purpose, I didn't even boot to gb, I immediately flash overcome kernel.
Then when it reboot to do ext4 conversion, I force it to power off, and then straight away boot to cwm, then flash AOKP.
Yes, to restock to gb jq1 or overcome (and stay in bml rom, you need to flash modem.bin during heimdall flash,
Or later using cwm recovery to flash modem zip that is for bml rom.
Mark that, because the cyanogenmod wiki now has zip for mtd rom. That one is for mtd only and in my opinion unnecessary.
For mtd rom just copy directly to /radio
Sent from my GT-P1000 using xda app-developers app
To clarify, is that for mtd; I would copy the modem zip to /radio?
Confirmed for mtd. Just copy to /radio
Sent from my GT-P1000 using xda app-developers app

[Q] stuck at starting screen after installing cwm using heimdall

Help!
I tried to installed technomancer's clockworkmod recovery (sorry, i can't post a link now) on my galaxy tab (gt-p1000) (gsm)
while in download mode, with heimdall, using the command "heimdall flash --kernel zImage --no-reboot".
the flashing went smoothly and after that i tried to boot in to recovery mode, but it's just stuck at the galaxy tab screen. It doesn't even boot into the stock android anymore.
Thanks in advance to anybody who can help.
Flashing CWM on its own is a hit and miss.
Use Overcome method.
What it does is it provides a baseline GB stock version that is sure 100% will work with Overcome Kernel 4.0 (which has CWM 5).
Follow my signature and download GB-stock-safe-v5 and Overcome Kernel 4.0 tar.
heimdall:
1) unpack the GB_Stock_Safe_v5.zip have a good look at the contents (unpack the .tar file as well) and modify the command below accordingly
2) go to download mode
3) heimdall flash --repartition --pit ./gt-p1000_mr.pit --factoryfs ./factoryfs.rfs --cache ./cache.rfs --dbdata ./hidden.rfs --primary-boot ./boot.bin --secondary-boot ./Sbl.bin --param ./param.lfs --kernel ./zImage --modem ./modem.bin
4) at this point you can reboot to the stock rom.
I normally don't boot to the ROM, I just know it is a good base now, and I don't need it.
when done,
5)unpack the overcome kernel 4.0 tar and you get another zImage
6) go to download mode
7) Flash that zImage
heimdall flash --kernel ./zImage
tab will reboot
- ignore the robotic voice, just force the tab to off
From here I assume you want to flash a custom ROM, in here my example is AOKP SGT7
8) Boot into recovery and flash your latest AOKP.
It may throw you back to recovery but that is normal, then choose to flash AOKP again. You may notice the CWM is slightly different from Overcome one, and the internal and external sd is swapped around. Just explore to both to find your aokp zip if you are confused.
9) flash gapps
thank you! Priyana. Your method was extremely helpful. I am now running CyanogenMod 9.1 on my galaxy tab.(which i never dreamt of)
BTW.. I would still like to know what the problem was when I was trying to install CWM using heimdall directly.
Simply put, the technomancher cwm only works in certain condition. Overcome tried to create a standard condition that works every time.
Sent from my GT-P1000 using xda app-developers app

[Q] Stuck after flashing Semaphore_2.7.4.tar as preparation for CM10

Hello!
I have SGS I900 which has GB 2.3.4.
I was following instructions as per http://wiki.cyanogenmod.org/w/Install_CM_for_galaxysmtd
Which for some stupid reason neglected to mention I should enable USB Debugging before the process!
Anyway, after flashing this kernel using heimdall 1.3.1 on Ubuntu, I found out I cant do adb push to place the zip file on the phone.
I tried to mount the SDCARD throguh usb using CW recovery - it worked, but I tried twice, each time transfer speed drops at the last 20mb (out of 158 mb), but eventually after like 10 minutes it finished copying.
However in both attempts, it failes to open the zip file when I try to install.
I am also unable to boot the phone as its in endless loop on the logo.
What do you suggest I do now to get it running properly?
Thanks!
Can you get into download mode?
If you can, flash in a stock rom. Root it using CF-Root.
Sent from my GT-I9000 using xda premium
Soryuu said:
Can you get into download mode?
If you can, flash in a stock rom. Root it using CF-Root.
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
Yes I can, but how to flash a stock rom, if I cant properly transfer the update.zip file?
I would also appreciate a link to stock kernel, because I havent been able to find one.. since I dont now what to flash now.
Carmageddon1984 said:
Yes I can, but how to flash a stock rom, if I cant properly transfer the update.zip file?
I would also appreciate a link to stock kernel, because I havent been able to find one.. since I dont now what to flash now.
Click to expand...
Click to collapse
Go onto sammobile.com and under the Firmware section download a stock 2.3.6 rom.
Then download Odin (its not that hard to get online), any version should do.
Unzip the rom you downloaded. Leave the files as they are (you should get two files, a .tar file and a dl or something like that. We only want the .tar file).
Note that for this you don't need to put anything on the SD. You just need to have things on your computer.
Open Odin. Put the phone into Download mode by using the 3 button method (Vol. Down + home + power button). Once you get the "Downloading!" logo, onnect the phone to the computer (with Odin open) via USB. One of the boxes in Odin should light yp saying ID:COM: with a number next to it. That means Odin's read the device.
Select PDA, click on the .tar file you unzipped from the download. DON'T touch anything else.
Select Start and it should flash in.
That should fix your problem hopefully
Sent from my GT-P7510 using Tapatalk HD
Soryuu said:
Go onto sammobile.com and under the Firmware section download a stock 2.3.6 rom.
Then download Odin (its not that hard to get online), any version should do.
Unzip the rom you downloaded. Leave the files as they are (you should get two files, a .tar file and a dl or something like that. We only want the .tar file).
Note that for this you don't need to put anything on the SD. You just need to have things on your computer.
Open Odin. Put the phone into Download mode by using the 3 button method (Vol. Down + home + power button). Once you get the "Downloading!" logo, onnect the phone to the computer (with Odin open) via USB. One of the boxes in Odin should light yp saying ID:COM: with a number next to it. That means Odin's read the device.
Select PDA, click on the .tar file you unzipped from the download. DON'T touch anything else.
Select Start and it should flash in.
That should fix your problem hopefully
Sent from my GT-P7510 using Tapatalk HD
Click to expand...
Click to collapse
Thank you!
After much trouble since heimdall complains about something like "firmware.xml is missing from the package." , tried those steps:
First, on my Ubuntu desktop:
Code:
heimdall flash --primary-boot boot.bin --cache cache.rfs --factoryfs factoryfs.rfs --modem modem.bin --param param.lfs --kernel zImage --no-reboot
Heimdall v1.3.1, Copyright (c) 2010-2011, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...
Checking if protocol is initialised...
Protocol is not initialised.
Initialising protocol...
Handshaking with Loke...
Beginning session...
Session begun with device of type: 0
Downloading device's PIT file...
PIT file download sucessful
Uploading KERNEL
100%
KERNEL upload successful
Uploading MODEM
100%
MODEM upload successful
Uploading FACTORYFS
26%
ERROR: Failed to send file part packet!
FACTORYFS upload failed!
Ending session...
ERROR: Failed to send end session packet!
Re-attaching kernel driver...
Then after further troubles on setting up the Samsung driver on my Windows 8 laptops ( it worked only on one of them!), I get Cpomplete(Write) operation failed line, after param.lfs line.
Any help would be hot :good:
Another updatE:
after a second try on the working laptop, Odin flashed it!! waiting for the device to boot now, hopefully after this, I can get back to flashing the target rom
Thanks!

[Q] I think my captivate is without any ROM

Hi guys, i tried to update my captivate to CyanogenMod 10.2 and i did something wrong and my phone stucks on a screen that says "Galaxy S SGH-i897"
I tried this to try to install the stock rom http://forum.xda-developers.com/showthread.php?t=1300843 (the third post) "I897UCKK4 Odin One Click - Stock, CONTAINS Bootloaders, Re-partition, Full Wipe" but it stucks on "set partition".
When i enter in recovery mode, the title is: "ClockworkMod Recovery v2.5.1.0 SpeedMod ULFK"
I've already tried to install .zip files from sdcard but i received the messages "status 0" and "status 7" and then "installation aborted".
I'm kind a noob on this, if someone can help i apreciate.
Thanks
guschoneweg said:
Hi guys, i tried to update my captivate to CyanogenMod 10.2 and i did something wrong and my phone stucks on a screen that says "Galaxy S SGH-i897"
I tried this to try to install the stock rom http://forum.xda-developers.com/showthread.php?t=1300843 (the third post) "I897UCKK4 Odin One Click - Stock, CONTAINS Bootloaders, Re-partition, Full Wipe" but it stucks on "set partition".
When i enter in recovery mode, the title is: "ClockworkMod Recovery v2.5.1.0 SpeedMod ULFK"
I've already tried to install .zip files from sdcard but i received the messages "status 0" and "status 7" and then "installation aborted".
I'm kind a noob on this, if someone can help i apreciate.
Thanks
Click to expand...
Click to collapse
Were you following a guide? And if so, did you fully follow it?
My guess is that you skipped a couple steps. Look here for a flashing guide: http://forum.xda-developers.com/showthread.php?t=1350266
Also, never interrupt Odin when flashing a ROM with bootloaders, 95% of the time, it will hard brick your phone.
BWolf56 said:
Were you following a guide? And if so, did you fully follow it?
My guess is that you skipped a couple steps. Look here for a flashing guide: http://forum.xda-developers.com/showthread.php?t=1350266
Also, never interrupt Odin when flashing a ROM with bootloaders, 95% of the time, it will hard brick your phone.
Click to expand...
Click to collapse
Hi, thanks for the answer.
I'm trying to back to stock ROM, but Odin isn't recognizing my phone ): so i'm trying Heimdall One-Click but i only receive the message "Operating System: Windows
Found Heimdall Version: v1.3.1
Connect your device in Download Mode to procede.
Device Connected. Awaiting package preparation.
I897UCKK4 Stock/ NO Bootloaders/Wipe RC1.0 01-2-2012 is ready for your device.
Repartition was requested but bootloaders are not to be flashed.
PARAM KERNEL FACTORYFS DBDATAFS CACHE MODEM
Heimdall v1.3.1, Copyright (c) 2010-2011, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...
Checking if protocol is initialised...
Protocol is not initialised.
Initialising protocol...
Handshaking with Loke...
Beginning session...
Session begun with device of type: 0
Downloading device's PIT file...
PIT file download sucessful
Local and device PIT files don't match and repartition wasn't specified!
Ending session...
Rebooting device...
Device not connected."
I don't know what to do, because when i try to install a ROM with ClockWorkMod Recovery all I receive is "Status 0"(CyanogenMod) and "Status 7"(PAC-ROM)
OK, now Odin recognize my phone, i revert the drivers, so i no im trying with Odin to back to stock with http://forum.xda-developers.com/showpost.php?p=18370912&postcount=3 I897UCKK4 Odin One Click - Stock, CONTAINS Bootloaders, Re-partition, Full Wipe.
But it stucks on "Set Partition" in the first box left and the message on the "messages" is "<ID:0/009> Added!!
<ID:0/009> Odin v.3 engine (ID:9)..
<ID:0/009> File analysis..
<ID:0/009> SetupConnection..
<ID:0/009> Initialzation..
<ID:0/009> Set PIT file..
<ID:0/009> DO NOT TURN OFF TARGET!!
"
Thanks
It is solved, just use version 9 of CyanogenMod and it works!!!
Thanks for your help BWolf56.

Categories

Resources