[Q] i9100 S II / Linux / Heimdall-1.3.1 / CF-Root - Android Q&A, Help & Troubleshooting

Hi,
Trying to find guidance on rooting my i9100 S II, but I use GNU/Linux (Gentoo) so Odin isn't an option.
I'd like to go with CF-Root and having read the first page my kernel version is..
2.6.35.7-I9100XWKF3-CL276555
[email protected] #2
...so I'm pretty sure the only CF-Root available to me is CF-Root-SGS2_XW_CLK_KF3-v4.0-CWM4.zip (posted by Chainfire at 30th May 2011, 08:59).
I've discovered the free open-source alternative to Odin that is Heimdall and have successfully installed version 1.3.1 on my computer.
When I load the CF-Root-SGS2_XW_CLK_KF3-v4.0-CWM4.tar under the heimdall-frontend I'm told...
'firmware.xml is missing from the package'
...and from what I've read on the Heimdall Linux REAME.txt the firmware.xml file is expected as it defines what is included in a Heimdall package. Yet the CF-Root I'm trying to use isn't such a package, hence the message.
So I'm thinking I should use the command-line version of Heimdall, because if I untar the above CF-Root there is one thing within it, a zImage file, which will presumably be a stock kernel with superuser (2.3.6.1) and "Secure mode" (from Chainfire's first post).
Reading the help for heimdall (heimdall --help) I think in order to do this I will (after putting the phone into Update mode and connecting to the computer) have to use the following...
Code:
heimdall flash --kernel zImage
...in order to flash the phone with CF-Root.
My questions are...
Is there a newer version of CF-Root for the kernel version I have?
I've tried various searches on the original CF-Root thread, but haven't found anything yet in the 300+ pages.
Do I need a newer version of CF-Root?
Version 4.2 has a newer version of "Superuser" and Version 5.0 includes busybox (a set of utilities for embedded systems, common to lots of Linux distros), and ClockworkMod. What am I missing by not having these, and can they be installed independently if I forge ahead with 4.1?
Is the above the correct way to use Heimdall to flash with CF-Root (as CF-Root is just a kernel)?
I'm wary of bricking my phone, and have been trying to find others who have done similar but not had much joy hence the dumb questions.
Any insights/advice greatly appreciated,
Cheers,
enilkcals
EDIT : Ok, found an archived thread with a post from penedo @ 1st July 2011, 12:36 PM who seems to have been trying similar (flashing CF-Root using heimdall) and it confirms that my interpretation/intended use of the command-line Heimdall is correct (or on the right tracks!). If anyone knows of a newer version of CF-Root or could explain what I'm missing out on by not having ClockworkMod and other things in newer CF-Root versions that would be great.

Right, sussed out how to use the GUI Frontend thanks to this post.
Pretty sure using the above command would have achieved the same thing.
Having gone with v4.2 I can now say that it includes ClockworkMod (presumably custom as detailed in Chainfire's original thread) and a Superuse app.
Hope others find this useful.
enilkcals

a great one enilkcals
thanks for forwarding

Related

[Q] CF-Root 4.2 FAILED and THE DEVICE DOESN'T BOOT

Hi guyz,
i tried to root my galaxy with CF-Root 4.2 because it was the first time i did it and it seemed the simplest and lightest (the 4.2 version includes only root and CWM) way to do it.
I paid attention in reading the Chainfire's indications and also the "noobs guide" but it wasn't enough...
I downloaded this version of CF-Root complying to my "stock" version ("stock" because i did the proposed update 2.3.3->2.3.4 from Settings->Device info->Software updates), i extracted the .tar and i used Odine (ONLY selecting the .tar file in the "PAD" module and checking "re-partition" was NOT flagged) to flash it.
Odine said the process was succesfully completed and the device restarted but it stopped at the black screen with "Samsung Galaxy S II GT-I9100" and the yellow exclamation point.
There were no ways to make it restart, i tried to re-do the process, to re-flash the original one (GT-I9100_ITV_I9100XWKI4, always complying to my device) but it stops at that damned yellow exclamation point!!
I've no idea of what to do, i'm quite depressed, do you suggest to re-try with another version? Should i try another flashing way? Did i do anything wrong? Could my galaxy be resuscitated?
Thanks in advance.
Regards,
Mark
P.S.: should be fun to know i did it from VBox and Odine caused two crashes of Windows XP(virtualized), then i shifted to Windows 7(virtualized)...could be better a linux flashing way? lol
ErVito said:
I downloaded this version of CF-Root complying to my "stock" version ("stock" because i did the proposed update 2.3.3->2.3.4 from Settings->Device info->Software updates)
Click to expand...
Click to collapse
Sounds like you flashed a 2.3.5 ki4 kernel on 2.3.4 firmware, no wonder it doesn't boot.
You can either go here and flash the stock firmware from your region or flash this rom through odin, its one of the few roms that i found that gets flashed through odin rather than cwm. If you look through the dev section im sure you'll find more roms that you can flash through odin.

[Q] Extract boot and recovery to create flashable zip with kernel

Hey all!
I've been following the CyanogenMod guide on compiling the kernel and I've successfully compiled a kernel for the 7510. The next step is now to create a flashable zip with there is a guide for here:
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
According to that guide you are supposed to extract the boot and recovery to be able to unpack, edit and re-pack the images. However, when I type "cat /proc/mtd" in a root shell I only get the headers of the output "dev: size erasesize name" and no listing.
Anyone go an idea on how to extract these images to create something that can be flashed? Is there perhaps an easier and better way to do this?
Note that the kernel I'm compiling is pershoots ICS kernel and I'm doing this just for fun and learning... no glamour or ruined creds . Unforunately this means that it is probably not possible to repackage one of pershoots already created update.zip's (the 3.2 versions) with a different zImage?
I have not tried to compile a kernel yet, I'm trying to remember what I did last time to just get pershoots' kernel on the last build.
I think what I did was make a complete build from cyanogen source and then I used a windows OS guide to unpack and repack the boot.img with the new kernel. I'm sure that won't help you since you don't even have a kernel yet.
What OS are you building in?
It was real late at night last time I read about compiling a kernel, but I thing it requires extracting a working kernel from the device???
kmmxracer said:
I have not tried to compile a kernel yet, I'm trying to remember what I did last time to just get pershoots' kernel on the last build.
I think what I did was make a complete build from cyanogen source and then I used a windows OS guide to unpack and repack the boot.img with the new kernel. I'm sure that won't help you since you don't even have a kernel yet.
What OS are you building in?
It was real late at night last time I read about compiling a kernel, but I thing it requires extracting a working kernel from the device???
Click to expand...
Click to collapse
Thanks for your reply. I do have a kernel build already, it's baked and finished
I'm on Ubuntu, Mac and Win 7 if it's really needed (would hate to reboot my machine ). Perhaps the guide you followed is the one I linked to above? That is not working for me unfortunately since I can't get to the boot and recovery images.
Hmm, this has me confused now. Perhaps my flashing efforts have been working all along.
In the kernels I've compiled and flashed before, they have always showed my information in the "Kernel version" field in "About tablet". Thus I have been checking that field after my flashes and it hasn't changed once.
I've tried several different updater scripts and none has worked, or so I have believed. I became a bit suspicious about this and checked the build.prop for the ICS KANG ROM, and it has some properties that I think may be causing the confusion.
Under "# autogenerated by buildinfo.sh" ... there are these props among others:
ro.build.user=eric
ro.build.host=Venom
Wouldn't that be shown under "Kernel version" as [email protected] although I've flashed the kernel build on my system?
All the flashes I've done, most of them packaged from versions of Koush's AnyKernel script have gone through without warnings so perhaps my flashes have been working all along?
Running uname -a from the shell on the device gives this though:
Linux localhost 2.6.36.4-cyanogenmod+ #1 SMP PREEMPT Sun Dec 25 18:14:16 EST 2011 armv7l GNU/Linux
That would indicate that it was build on the 25th of december wouldn't it? Well, that's not today so in that case I have still failed .
Would someone be able to have a look at my zip to see if it's validly structured if I pm a link to it?
Thanks!
Perhaps that guide is a bit dated?
This is the one I used: http://www.freeyourandroid.com/guide/extract-edit-repack-boot-img-windows
kmmxracer said:
Perhaps that guide is a bit dated?
This is the one I used: http://www.freeyourandroid.com/guide/extract-edit-repack-boot-img-windows
Click to expand...
Click to collapse
Awesome, thanks. Will look into that.

[Q] Insecure kernel for rooting XXLPR/XWLP3

Hi everyone
I upgraded my OS from Android 2.3.3 to 4.0.3 ICS using Kies, however I am now having trouble rooting. I've spent the last 3 hours looking for a way to root my current version of Android, however could not find any insecure kernel that matches my exact baseband version (XXLPR) and my kernel version (XWLP3). I installed this firmware but S2Root seems to think it's not actually insecure/rootable. I did find other firmwares/kernels (on this as well as other sites) that seem to match my current version (at least the XW bit), but judging by the comments, they all seem to have a higher than average incidence of booting/WiFi problems.
Can anyone advise where I should get a insecure kernel that is appropriate for me to use in Odin, in order to then proceed to use S2Root? I'd greatly appreciate any advice, many thanks!
PS: I am using a S2 I9100 that used to be on O2 UK, now unlocked.
A stupid title .
B posted in wrong section question = q&A
Root + CWM .
Read the instructions first in full .
http://forum.xda-developers.com/showthread.php?t=1103399
jje
THanks! WHat happens if I use a kernel version that's different from the baseband version currently on my phone (XWLP3), for instance if I install CF-Root-SGS2_XW_KPN_LP9-v5.4-CWM5 instead of CF-Root-SGS2_XW_O2U_LP3-v5.4-CWM5?
Kaboom.......lol
Nothing will happen either it will boot or go into boot loop
OK.. well, going into boot loop sounds like getting brickified to me Or not necessarily? I.e. can you just put the phone into download mode again and try a different kernel?
Boot loop is not brick.
Flashing stock kernel usually fix it.
Yes you can always use Odin if you messed it up a lot

[Q] [HEIMDALL] How to flash ?

Hello,
This thread does not get the aim to explain how to flash but simply requesting some GNU/Linux users with command line/interfaces of Heimdall because here is some issue I got flashing some packages.
I just installed a package containing stock ROM for Galaxy S for a friend. I got trouble and doubt with the boot.img because there is not a section named BOOT as modem.img which get MODEM or zImage wich get KERNEL (hopefuly I have been clear with that).
While trying to unzip some GT-I9300 firmware (wich is my current device), I found a Tz.img, but here again there is not any section for that file. And I REALLY do not want to lost my new born S3 but it is kind of shame to get an GNU/Linux distro' on my computer and not be able to find any clear tutorial for Heimdall. I really deplore the lack of information about that trully awesome flash program because I know this could be a choosed one software if some devs of the Heimdall project (or anyone else getting a minimal knowledge about it) could do a good, clear, and user-friendly guide. All I need, especially while attributing file .img with their section (again hopefuly I have been clear with that word).
Thanks for reading and If you're like me, make some feedback, I would like to know what are your though about that software.
Drakenlord78 said:
Hello,
This thread does not get the aim to explain how to flash but simply requesting some GNU/Linux users with command line/interfaces of Heimdall because here is some issue I got flashing some packages.
I just installed a package containing stock ROM for Galaxy S for a friend. I got trouble and doubt with the boot.img because there is not a section named BOOT as modem.img which get MODEM or zImage wich get KERNEL (hopefuly I have been clear with that).
While trying to unzip some GT-I9300 firmware (wich is my current device), I found a Tz.img, but here again there is not any section for that file. And I REALLY do not want to lost my new born S3 but it is kind of shame to get an GNU/Linux distro' on my computer and not be able to find any clear tutorial for Heimdall. I really deplore the lack of information about that trully awesome flash program because I know this could be a choosed one software if some devs of the Heimdall project (or anyone else getting a minimal knowledge about it) could do a good, clear, and user-friendly guide. All I need, especially while attributing file .img with their section (again hopefuly I have been clear with that word).
Thanks for reading and If you're like me, make some feedback, I would like to know what are your though about that software.
Click to expand...
Click to collapse
I would suggest getting your hands on a machine with Windows on it to complete the root process just because it has been done on Windows machines more so than any other. At least this way, you'll be able to complete everything rather fast by simply flashing via Odin.
If you are set on using Heimdall, best of Luck. Also do a write up because a lot of mac users & linux users would appreciate it.
Galaxys3root.com has a how to for using heimdall, I've used this method for rooting my phone.
---------- Post added at 07:23 PM ---------- Previous post was at 07:14 PM ----------
Although, depending on what version of Android you are on, rooting can be achieved without using heimdall or odin. The exynos exploit makes it easy just by installing supersu app and clicking root.
Thanks guys for your support, gonna take a look to your links.
Hopefuly we will not be forced to use windows to get an secure and complete flashprogram one day... "I have a dream that one day..."

[Q] Some questions from a noob

So here I have the S2 running stock 4.1.2 unrooted. The baseband is I9100XXMS2 (Hungarian) and the build number is JZ054K.I9100XWLSS.
The goal is to flash CM11 or OmniROM or AOKP or whatever I will find suitable.
Please keep in mind, that this is NOT my phone, that's why I have no idea how to do stuff with it.
So here are the questions.
1: Can I simply get Odin and flash the CF Root as PDA?
2: Is the Odin 1.85 version in the CF Root thread compatible with this firmware?
3: Which package should I use from the CF Root thread? I'm asking because the kernel version does not have that 2 letters and 1 number the thread is referring to. The kernel version only says (3.0.31 - 1156082 [email protected] #3 SMP PREEMPT) and the date.
4: After getting CF Root and it's CWM, can I flash another version of CWM directly from CWM like I can do with other phones?
5: If yes, which CWM package is the most reliable that is compatible with KitKat?
Firstly, you should be searching for this information. You've been here more than long enough to know every single question you could possibly ask has already been asked/answered many times. As this phone was released 3 yrs ago, this is absolutely the case.
Having said that, I will supply you brief/limited answers to your questions (I am not providing detailed answers for the above reason; I'm not doing your work for you).
1) Don't use CFRoot. It's been superceded. Search for the PhilZ thread & use that (do not ask me 'what kernel do I use ?'; read the thread).
2) You should be able to use any version of Odin, however, if you find one version doesn't work, try another. Also, if you have problems with any Odin flash, refer to Hopper8's 'Odin troubleshooting' thread stickied in General.
3) Not applicable due to the answer I gave in 1.
4) No, you cannot flash another version of CWM independently of anything else like you can on other phones. Recovery is 'baked' into the kernel on the I9100 & not in a separate partition like other phones, so any recovery you flash independently will only persist until the next reboot. You're stuck with whatever CWM version the kernel uses.
If you want a particular CWM version, you need to run a kernel that has it (read the kernel thread to find out which version it uses).
5) This information (which CWM version at a minimum you need to flash these roms) is absolutely common knowledge now & has been asked/answered 100's of times at least over the past few mths since these roms were released; search.
Edit - Whether it's your phone or not is irrelevant. If you're going to mod this person's phone for them, everything I've said holds true. If they're going to do it themselves, they would be much better served by taking the time to actually learn this stuff themselves. I'm tipping a busted phone & a lot of tears if you pass on the information I've given you.
I realize that I could have searched more. The reason I got stuck at the CF Root thread is the sticky thread that says read before doing anything.
Thank you for clarifying the rest.
But after reading the Philz thread, once again, I'm having some problems figuring out which package to choose.
I found: << 26.05.2013 - PhilZ-cwm6 v5.05.0 with CWM 6.0.3.2 based recovery >>
XWLSS (fixed for bootloop), which should be good because it's the XWLSS firmware (for safety I checked samfirmware).
Clicking on that takes me to a devhost list. The baseband is XXMS2. The closest to this on the list is the XWMS2.
Quote from Philz thread: "mixed, often doesn't matter for close regions. For example, XW and XX are often interchangeable"
Often... Does that mean it will work?
Another question: Is there a way to not just hide the triangle at boot but reset the flash counter if I use Odin?
ast00 said:
I realize that I could have searched more. The reason I got stuck at the CF Root thread is the sticky thread that says read before doing anything.
Thank you for clarifying the rest.
But after reading the Philz thread, once again, I'm having some problems figuring out which package to choose.
I found: << 26.05.2013 - PhilZ-cwm6 v5.05.0 with CWM 6.0.3.2 based recovery >>
XWLSS (fixed for bootloop), which should be good because it's the XWLSS firmware (for safety I checked samfirmware).
Clicking on that takes me to a devhost list. The baseband is XXMS2. The closest to this on the list is the XWMS2.
Quote from Philz thread: "mixed, often doesn't matter for close regions. For example, XW and XX are often interchangeable"
Often... Does that mean it will work?
Another question: Is there a way to not just hide the triangle at boot but reset the flash counter if I use Odin?
Click to expand...
Click to collapse
Flash xwms2 based philz kernel and you will be rooted and will get the permanent CWM. It will work.
After flashing via odin if you want to get rid of from the yellow triangle then use triangle away app which will remove it and reset the counter to 0. But you can flash philz via stock recovery which will not give you a yellow triangle.
Sent from my GT-I9100 using Tapatalk 2

Categories

Resources