[Q] download stock kernel (.tar or .zip?) for Galaxy Siii i9300 International (4.1.2) - Galaxy S III Q&A, Help & Troubleshooting

Hello,
Been wrestling some time with different firmwares / mods and kernels. I had many problems and currently re-visiting my 900 apps long list in Google Play.
Currently I'm very happy with [ROM] Android Revolution HD 17.1 | High Quality & Performance | AROMA | Android 4.1.2 - especially after the many problems I had with my previous Franco kernel
BUT, again, I've chosen a custom kernel, advised by Revolution HD: Perseus-alpha27.1-i9300.tar . This kernel (?) seems to have very bad wifi performance. And I mean really really really bad Upgrading to Perseus-alpha29.1-i9300.tar did not fix, although Change Log mentioned improved wifi performance.
After having spend changing kernels and stuff many times with Odin 3.04 (I still don't understand how it knows WHAT to flash when 'an image' is offered... Must be in the tar itself, but still I thought I could easily download the Samsung Galaxy Siii official stock kernel (NOT ROM, but KERNEL). Should be a small file (<10MB), not a >700MB download with the ROM included.
I've browsed many threads on xda and beyond, but downloading JUST the OFFICIAL kernel... SIGH I cannot find it?!!
What am I missing here??
Very curious if anyone can point me to a download link for the official kernel.tar I need? Or kernel.zip? I don't feel like re-installing everything, I just want to re-install the kernel alone. OR is this impossible? Please advise, I don't like feeling like a newbie
One of the few downloads I could find (like forums . androidcentral . com /verizon-galaxy-s-iii-rooting-roms-hacks/191375-guide-restore-back-clean-factory-stock-update-10-23-a.html) do not work - when flashed my phone ends up bricked (tested many times:0).
Anyway, thank you for a great forum!
Phone info: Samsung Galaxy Siii International GT-i9300
Android Version: 4.1.2
Baseband: i9300xxelkc
Kernel 3.0.36-Perseus-alpha29
Build Android Revolution HD 17.1 by mike1986
Peace!
Devvie
~~~ [email protected] ~~~
Cuisvis hominis est errare, nullius nisi insipientis in errore persevare
——
All spelling mistakes are my own and may only be distributed under the GNU General Public License! – (© 95-1 by Coredump; 2-012 by DevNullius)

See your other post I have replied to that one.
Sent from my GT-I9300 using xda premium

Trying to solve it myself - part xxx ;p
The following Google search brought some light to the end of the tunnel, I hope: http://www.google.com/search?q=stock+zimage+i9300+samsung&oq=stock+zimage+i9300+samsung&ie=UTF-8 .
It first brought me to this page: http://androidromupdate.com/2012/06/05/how-to-install-stock-rom-on-samsung-galaxy-s3-s-iii-gt-i9300/ .
There I learned the following (quote):
" Stock ROMs contains the binary and image files of the whole software packaged, like these:
* Sbl.bin
* cache.img
* factoryfs.img
* hidden.img
* modem.bin
* param.lfs
* zImage "
So I figured to let 7zip extract the stock firmware I downloaded (>700MB). Except for unexpected archive header warning, 7zip extracted just fine. I ended up with:
* boot.img
* cache.img
* hidden.img
* modem.img
* recovery.img
* system.img
From the chapter "For some reasons how to root the device info is here" (http://forum.gsmhosting.com/vbb/f200/galaxy-s3-i9300-flashing-root-guide-1483155/), I learned the following:
Quote: " According to Chainfire, the modification of the kernel was not as easy as done for the SGS I, SGS II, and SG Note, because, “…this time around, Samsung is using the standard boot.img format, instead of the zImage format used for SGS1, SGS2, SGNote, etc, that is much harder to repackage.”
This time around, the SGS III also has a separate Recovery partition, and unlike its predecessors, a custom recovery can now be flashed independent of the kernel."
So zImage is boot.img on i9300 - finally I learn something :> Also see: http://forum.xda-developers.com/showthread.php?t=2022181 .
I was hoping that I could just flash this file with Odin. I have not tried it yet, for I first wanted to make sure that boot.img === kernel-to-flash
http://www.google.com/search?q=what+is+a+zimage brought me to http://www.embeddedarm.com/support/faqs.php?item=2 and especially http://forum.xda-developers.com/showthread.php?t=1284986 . And brought many more questions - just flashing does not seem to be the trick?
So googling some more:
http://www.google.nl/search?q=is+the+(zimage.img+OR+boot.img)+the+same+as+the+kernel??&ie=UTF-8 brought me to: http://forum.xda-developers.com/showthread.php?t=1477845 where there are instructions on how to split the kernel :s SIGH - why is this so hard??? Grmbl.
Quote: " At this point, we need a boot.img file to play with.
Pick your favorite custom kernel and get the .img.
Place it in a folder along with the 2 perl scripts from the attached package.At this point, we need a boot.img file to play with.
Pick your favorite custom kernel and get the .img.
Place it in a folder along with the 2 perl scripts from the attached package. "
And: " Can I do this on Windows? - Not that I know of, no. " SIGH!!
At this point, I'm about to give up again. One more page? http://www.freeyourandroid.com/guide/extract-edit-repack-boot-img-windows .
Quote: " boot.img is a small(ish) file that contains 2 main parts, the kernel (the brain of the Android system) and the ramdisk (a core set of instructions and binaries that begins the boot process and controls base aspects of the system, such as mountpoints, memory management and startup services). "
This looks promising! This solution works on Windows by installing Cygwin (Linux for Windows) and the for-mentioned scripts. I learned more AND I see confirmation for what I already learned...
Quote: " boot.img-kernel is the compiled kernel blob that was inside the source boot.img, if you want to replace the kernel with another compiled kernel image, you can replace this file with another one (but leave the file name the same)
boot.img-ramdisk.gz is the gzipped ramdisk image which has been split from the boot.img, you should leave this file alone.
The “out” folder contains the EXTRACTED ramdisk, and this is where you should make your changes to the ramdisk. "
This is something I definitely will try out tonight when I'm home - light again?
Peace!
devnullius
--
Some further technical info and background reading with some nice tools: http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images (from: http://forum.xda-developers.com/showthread.php?t=1831027 ).

Partial solution for my stalled wifi connection due to custom kernel (gs3)
I'll will investigate the splitting-process one day for sure. For now, I have solved it, although I expect problems...
To manage the phone, I downloaded SGS3_International_ToolKit_v6.0.exe (>100MB). After installation this gives C:\Samsung Galaxy S3 ToolKit\root . This folder contains many boot images (stock or insecure). I chose for boot-insecure-xxdlj4-i9300.tar (for Android 4.1.1).
After flashing it with Odin, my wifi problems with slow to stalled network traffic was instantly solved Now my phone reads as follows:
GT-i9300 / 4.1.2 / i9300XXELKC / 3.0.31-368423 [email protected] #1 SMP PREEMPT Fri Oct 19 18:17:48 KST 2012 / Android Revolution HD 17.1 by mike1986.
LAST QUESTION, for now, is: is it pure luck that the kernel made for 4.1.1 works with 4.1.2? Or does that have nothing to do with it???
Peace!
devnullius

Actually the new boot.img is a lot easier to decompile and recompile compared to the SGS1/2's zImage format
Sent from my GT-I9300 using xda premium

I can provide the boot.img from xxelkc
Actually I use franco.kernel updater app in which I can either backup or restore my kernel
That's how I got the boot.img
Sent from my GT-I9300 using xda premium

freddy1991 said:
I can provide the boot.img from xxelkc
Actually I use franco.kernel updater app in which I can either backup or restore my kernel
That's how I got the boot.img
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Yeah, that's how all my troubles started I first did Franco kernel, then I switched to ClockworkMOD. I had problems and wanted to reverse kernel with the backup I made with Franco Kernel Updater app. It failed and gave me bricked phone
I really start to think all those custom kernels are to be AVOIDED ;p
Thank you, merry christmas and... Peace!
devnullius

Related

[Q] AnyKernel.zip download link

Hi Every body ,
i want to flash a modified kernel in to my I 9100G phone , and am wondering is there any body could help me
by sharing a download link of the AnyKernel.zip tool
Ps: i want to flash my ZImage and the ramdisk with the built modules .
best regards
Hey.
I hope you know, what you are doing anyway https://github.com/koush/AnyKernel this is what you are asking just download zip.
Oh and you can give me a shout if something goes wrong
Thank you for your Help , i will try flash the kernel today,
adding information that, am trying to build the "GT-I9100G_ICS_Opensource_Update2", and i choose this tool to help me flashing my Zimage with the ramdisk (initramfs) including the Built modules .
Thak you, i will give you shouts
hi,
thanks to Mantulis for sharing the link .
After downloading AnyKernel.zip , i did the necessary steps by moving my zImage to "kernel folder" and the built modules in "/system/lib/modules/" folder , but it seems that i couldn't flash it using the CWM ,
i had the message like :
finding update package ...
Opening update packages ...
Installing update ...
AnyKernel Updater by Koush
Extracting system files ...
.
.
.
Done ...
but when viewing my Kernel version i found that it's the same old on (the kernel didn't flashed for real !!!!)
Ps:
I rebuilt the GT-I9100G_ICS_Opensource_Update2 kernel, and i get my Zimage,
i am using :
- Ubuntu 11.04,
-i tried the "arm-2010q1" toolchains and the "arm-eabi-4.4.3" one ,
- am using initramfs of Mr superatmos, that he mentioned in his thread http://forum.xda-developers.com/show....php?t=1587482 .
- i am working with "android_t1_omap4430_r03_user_defconfig", imade no changes to the .config file just the CONFIG_INITRAMFS_SOURCE.
my phone is on the ICS 4.0.3 ROM, with the 3.0.8-TH [email protected] #1 kernel version
Hi people,
after downloading AnyKernel.zip, and flashing the .zip to my I9100G phone, i always got a boot loop,
After the researches that i made, i understand that the Anykernel.zip was developed to HTC smartphone and not for te I9100G,
i Solved the boot loop situation by getting a new initramfs from the CWM kernel source and compiling my zImage with the arm-2010q1 toolchains.
Salutations.
I downloaded the zip and flashed it...
Still in a boot loop. Could more light be shed on this operation. Thank you.

flashing I9100G with my custom kernel issue

hello every one,
is there any body who can help me with my problem Pleaaaaaaaaaaase ?
I rebuilt the GT-I9100G_ICS_Opensource_Update2 kernel, ang i get my Zimage, but when flashing it in to my I9100G phone i got a boot issue (KERNEL CANT BOOT stock into boot image) ,
for information: i am using :
- Ubuntu 11.04,
-i tried the "arm-2010q1" toolchains and the "arm-eabi-4.4.3" one ,
- am using initramfs of Mr superatmos, that he mentioned in his thread http://forum.xda-developers.com/showthread.php?t=1587482 .
- i am working with "android_t1_omap4430_r03_user_defconfig", imade no changes to the .config file just the CONFIG_INITRAMFS_SOURCE.
my phone is on the ICS 4.0.3 ROM, with the 3.0.8-TH [email protected] #1 kernel version
An other question: what's about the LOCALVERSION parameter ? it could be the problem ?, How i can get Kernel Logs when it is booting ??
i am working over 12 days for now, searching and testing with no result
metal_fuel said:
hello every one,
is there any body who can help me with my problem Pleaaaaaaaaaaase ?
I rebuilt the GT-I9100G_ICS_Opensource_Update2 kernel, ang i get my Zimage, but when flashing it in to my I9100G phone i got a boot issue (KERNEL CANT BOOT stock into boot image) ,
for information: i am using :
- Ubuntu 11.04,
-i tried the "arm-2010q1" toolchains and the "arm-eabi-4.4.3" one ,
- am using initramfs of Mr superatmos, that he mentioned in his thread http://forum.xda-developers.com/showthread.php?t=1587482 .
- i am working with "android_t1_omap4430_r03_user_defconfig", imade no changes to the .config file just the CONFIG_INITRAMFS_SOURCE.
my phone is on the ICS 4.0.3 ROM, with the 3.0.8-TH [email protected] #1 kernel version
An other question: what's about the LOCALVERSION parameter ? it could be the problem ?, How i can get Kernel Logs when it is booting ??
i am working over 12 days for now, searching and testing with no result
Click to expand...
Click to collapse
Problem Solved, i changed the initramfs files, extracted them from the CWM zImage
Salutations

[Q] dsixda's Android Kitchen, add device, SCH-R740C, radio.img

Hello,
Relatively new to the kitchen, and building things for the phone aside from for just personal use, so I'm not yet familiar enough with all the tools.
Currently I'm trying to add device support for the SCH-R740c my device to dsixda's kitchen , and develop a custom ROM and a stock update.zip packages for use with CWM recovery for debricking purposes, updates and the like, as well as providing an easier way to build ROMs for this device.
The trouble I am currently having is my update.zip build's updater-script.
currently edify is producing:
Code:
assert(package_extract_file("radio.img", "/tmp/radio.img"),
write_raw_image("/tmp/radio.img", "radio"),
delete("/tmp/radio.img"));
this is causing the recovery flash to fail, Now I could edit the file manually to produce the desired results but I would like to be able to convert update-script to updater-script from Android Kitchen and produce something similar to the flashing process used by official updates:
Code:
ui_print("Patching modem image...");
assert(write_backup_amssmodem("/dev/block/mmcblk0p3", "/dev/block/mmcblk0p20"));
apply_patch("EMMC:/dev/block/mmcblk0p3:15774976:88c0e2020ec2a0e0bcb98a64873ca0dd186816dc:15791360:db457fe2217aee9186d1a1d610b180d2c0bf8733",
"-", db457fe2217aee9186d1a1d610b180d2c0bf8733, 15791360,
88c0e2020ec2a0e0bcb98a64873ca0dd186816dc, package_extract_file("patch/modem.img.p"));
Obviously I would want to use a radio.img vs a patch file to ensure compatibility (4.1.2 and 4.0.4 radio images are incompatible) so desired output would be something similar to:
Code:
ui_print("Updating modem image...");
assert(write_backup_amssmodem("/dev/block/mmcblk0p3", "/dev/block/mmcblk0p20"));
assert(package_extract_file("radio.img", "/tmp/radio.img"),
write_raw_image("/tmp/radio.img", "/dev/block/mmcblk0p3"),
delete("/tmp/radio.img"));
unfortunately after doing some searching I was unable to find detailed information about adding devices, nor does it seem like there is a similar requirement for other phones..
I have read: http://forum.xda-developers.com/showthread.php?t=1390903
and searched for manuals on edify_def and edify script etc, but my search queries are filled with useless pages.
If someone is willing and able to help me with this specific problem, or point me in the right direction for more information in regards to edify and how it works or what I need to do to add devices to android kitchen it would be greatly appreciated.
CowboyEnvy
Looks like the device needs fix_boot3=yes but that still doesn't help resolve the issue of dd for the radio... Guess I may just have to continue to write/update the updater-script by hand
Sent from my naked 4.1.2 SCH-R740C using the xda app-developers app
What ever happened with the phone?
There is another thread on this forum in regards to this phone and a naked custom ROM however I'm no longer using that phone as anything other than a media player
Sent from my SCH-I545 using XDA Free mobile app

[HELP] Slight modifications to rebuild a kernel

I know this is a bit scarce, but I need help with a kernel. Why? Because I unfortunately don't have a
computer at the moment (much less Ubuntu suite), just my trusty GT-i9505. Also, I have a few
questions.
First of all, this is the guide I am following:
[GUIDE] Use aircrack-ng on android phone using Wireless USB Adapter
http://forum.xda-developers.com/showthread.php?t=2338179
This guide is aimed towards amateur kernel builders,
and the suggested ROM for use with this is Cyanogen Mod. Although, the post does mention that he was able to use his stock touchwiz ROM. He mentions he was able to do it with a few minor adjustments (along with the kernel and .md5 file):
I got this to work on my stock Samsung TouchWiz ROM by making a few adjustments:
- Get the kernel from Samsung: http://opensource.samsung.com/
- Change the lines in the .config file of the kernel below ## Samsung Rooting ... from =y to =n using nano
- To get boot.img, download the ...tar.md5 firmware matching your current firmware from http://www.sammobile.com/firmware/, rename .tar.md5 to .tar, and extract the boot.img. You cannot use mkbootimg here, only abootimg, as this boot.img has a special ramdisk address!
Click to expand...
Click to collapse
I would love to do this with my current TouchWiz ROM, (not stock) Samy Deluxe ROM- Operation Ivy
Any help/luck doing this? Thanks in advance
Bump
Bump. Let me also add that I can give the source to the kernel (of the ROM I have).
Really all that needs to be done is to rebuild that kernel (and follow the steps of course to the guide I'm using).
I have a TP Link tl-wn722n USB Wireless adapter, so I need to have the module/driver installed into that kernel.
The name of the kernel is 3.4.100-GoogyMax3_TW-v1.1.3
Here's the link to the kernel: http://forum.xda-developers.com/attachment.php?attachmentid=2895862&d=1407942420
I downloaded my kernel and looked inside of the zip file and don't seem to find a ".config" file as mentioned in the guide, but did see a boot.img so I don't believe there's a need to download the .md5 file:
I got this to work on my stock Samsung TouchWiz ROM by making a few adjustments:
- Get the kernel from Samsung: http://opensource.samsung.com/
- Change the lines in the .config file of the kernel below ## Samsung Rooting ... from =y to =n using nano
- To get boot.img, download the ...tar.md5 firmware matching your current firmware from http://www.sammobile.com/firmware/, rename .tar.md5 to .tar, and extract the boot.img. You cannot use mkbootimg here, only abootimg, as this boot.img has a special ramdisk address!
Click to expand...
Click to collapse
Any help at all would be greatly appreciated.
Bump... again...

SM-G360T1 G360T1UVS2APK3 Stock Recovery & Kernel For Developers

Today Samsung Released an update that breaks a root method of Trapkernel im not not discussing of creating a kernel but assisting Devs by saving them time to create one so i extracted the boot.img & recovery.img from the Official firmware (No backups were used the files were tooken from the Odin format version of the firmware) their also in the zip as flashable files for odin so their is two different versions
You have 2 of the same files that arent flashable via odin
Boot.img & Recovery.img
And you have the same files as flashable fies for odin:
recovery.img.tar.md5 & boot.img.tar.md5
Yea they work and fully tested using my Galaxy Core Prime SM-G360T1 MPCS
Why do you ask of why i wanted Trap kernel to be updated?
A: see i flashed the trap kernel via Odin and the phone booted just fine no issues but i soonely realized that the Kernel breaks the Wi-Fi feature and thats all it breaks Cell and Other Features work just fine, so im asking devs to use the zip given to create a new root method out of the same root method if possible to root the Galaxy Core Prime SM-G360T1 MPCS and have our wifi fixed!
Now this us so important to me because Samsung just made the phone even faster better and secured with a patch to Quadrooter Vaulnerabilities so here ya you all go devs lets get rootin i will update the thread when new firmwares release!
Download Here: https://www.mediafire.com/download/bjj0i8f0f8zb01q
XDA:DevDB Information
SM-G360T1 G360T1UVS2APK3 Stock Recovery & Kernel For Developers , Kernel for the Samsung Galaxy Core Prime
Contributors
g7755725
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: None
Stable Release Date: 2016-12-23
Created 2016-12-23
Last Updated 2016-12-23
Edit - gave up.
also breaks the pc reconising the phone ahhhhhh like wtf nobody knows the fix..shoul be said on the thread it breaks wifi n pc as causes malfunction so pc dont see the phone.. twrp has file yet now cant revert back to just use twrp as it broke connection so cant flash stock

Categories

Resources