[Q] Trying to flash new rom but can't find zImage - Galaxy S III Q&A, Help & Troubleshooting

I've rooted my Galaxy S3 to the SuperNexus rom. I really don't like it so I'm trying to either change back to the stock rom or to the 4.2.1 ROM
Cyanogen Recovery does not see the files when I put them on the SD card. I figure this has something to do with ODIN? The only thing in the roms is a .tar.md5 file and another file. I don't have windows so there is no way I can run ODIN. I am trying to install it now with heimdall. I direct heimdall at the .tar.md5 file and it seems to be decompressing fine until on one of the ROMs it says "firmware.xml is missing" and the other it says something about not being able to find zImage.
Can anybody help me?
I have decompressed the .tar.md5 files manually but there is no zImage or firmware.xml file in either of them.
I feel like the SuperNexus ROM is seriously lacking in basic features that the phone had before I flashed it (i.e. you can't see the battery percentage without an extra app) so I would really like to get back to something a bit more feature-full.
Thank you in advance

just restore your nandroid backup that you obviously took before flashing super nexus.
Alternatively, flash any rooted stock rom available here via recovery
Also please read general > sticky roll-up thread > understanding the basics before rooting.
Do the reading first.
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit

FYI The zImage is in packed witht the ramdisk into a boot.img. If you want to go poking around check out chef central and find a script to split the boot.img.

Related

[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

CF and Hellcat kernel

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 !

[Q] [Module] Build and load module on GS3

Hello,
I tried to do a simple task which raise several problem and it start to drive me crazy, so here I am, asking for help. The subject may have been already mentioned, but can't find an issue with the galaxy s3.
I work with ubuntu 12.04 and Odin on win7. My GS3 has XXELL4 baseband, and 3.0.31-742798 kernel version.
I need to load and run a custom module (let's say a "hello world" one for begin) on the galaxy S3.
I compiled it through a Makefile with the toolchain from the ndk package (
Code:
path_to_ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-
and the source code from the samsung web site (GT-I9300_JB_Opensource_Update8.zip).
Obviously, when i tried to insmod my module, I've got some compatibility error like
Code:
Exec format error
.
The fact is that the kernel from website is not the same as the phone one.
So I tried to put the kernel from the website on the phone
I compiled it with the same toolchain and I received a zImage file in result. But what to do with this file ? I extracted a boot.img from the phone with Odin and split it (with perl script stuff) to use the extracted files with my compiled zImage for reconstruct a new boot.img. But since fastboot is not available on GS3 (or I miss something) I can't simply
Code:
$ fastboot flash boot boot.img
, and need to use Odin again. So I replace the boot.img from odin's backup folder on my PC with my boot.img. But the nandroid.md5 file raise an error. Am I doing it wrong or too complicated ? If I can correct the md5 error, is that my module will work ?
I also tried to compil my module directly with the kernel from the phone but didn't manage to extract the kernel files to do it. Stuck with a boot.img. Same with the stock kernel from http://forum.xda-developers.com/showthread.php?t=1646610
I made a lot of research but don't find any concrete solutions to my simple task. Maybe I miss something or looking too deep.
Is there a more simple way to run a custom module on the GS3 ?
sorry for my english
Hello and welcome to xda!
You do not have to use odin to flash your kernel, you can do it via custom recovery too.
Just get an simple cwm package of another kernel for s3 and replace the boot.img in the zip.
I attached a simple empty cwm package, just drag your boot.img to the root of the zip with winrar or something.
hsrars-d said:
Hello and welcome to xda!
You do not have to use odin to flash your kernel, you can do it via custom recovery too.
Just get an simple cwm package of another kernel for s3 and replace the boot.img in the zip.
I attached a simple empty cwm package, just drag your boot.img to the root of the zip with winrar or something.
Click to expand...
Click to collapse
Thanks
I've got also a md5 error when i tried to restore with cwm, since I have no md5 file in my folder. Do I need to generate one ? how ?
EDIT: so a generate a md5 file with md5sum, but still have the Exec format error when i try to insmod my module.
ok, im not good with kernel stuff/modules so i cant help you any further...
try to find someone that has experience with kernel modules
edit: found something with google, not exactly for s3 but the error is pretty common:
http://www.linuxquestions.org/questions/linux-kernel-70/insmod-error-version-magic-4175424366/
http://forum.xda-developers.com/showthread.php?t=444338&page=1
http://stackoverflow.com/questions/...for-android-unknown-relocation-27-when-insmod
Why are you posting in this section?
Glebun said:
Why are you posting in this section?
Click to expand...
Click to collapse
well ... I don't yet have access to other section. But If someone could move the thread in a more appropriate one I'll thanks him.
Yes, you do. Questions go in the Q&A section, obviously

[Q] Where can I find a flashable DXLJ2 baseband/modem?

goo.im/devs/h0tw1r3/GT-N7005/GT-N7005-IMM76D-DXLJ2-Baseband
This is probably the closest I've found, but as far as I know, flashable modem zipz are supposed to have 2 more files, mainly:
1. META-INF/com/google/android/update-binary
2. META-INF/com/google/android/update-script
I know next to nothing about these files and their uses. I've also taken a look at the update-script file, my guess is that it's whatever's shown in recovery display when you flash it.
Where can I find a flashable DXLJ2 modem for the Note N7005/SGH-i717?
I've tried other modems such as UCMD3, UCLF6, etc., they drop connections often in where I live, the only one which worked out okay for me was DXLJ1, so I decided to try and get the DXLJ2 modem to test it out, but can't find it.
I'm planning on using this in the Padawan JB rom as the default modem that came with that custom ROM did not work for me.
I've also noticed that there are some ROMs which make use of the DXLJ2 modem, but I know nothing about development or how modems are incorporated into ROMs.
tl;dr - I'd like a flashable DXLJ2 modem zip if possible, thanks!
Did you try Google? Probably not because I found a few links to other sites in seconds.
440bro said:
Did you try Google? Probably not because I found a few links to other sites in seconds.
Click to expand...
Click to collapse
I have, I'm guessing I must be using wrong keywords since I tried "DXLJ2 Modem Baseband download xda android" numerous times on Google and have only managed to find ROMs which use that baseband, but not as a flashable ZIP by itself.
I always Google before asking questions, and only ask when I have trouble finding something.
Probably seems dumb since some people can find it easier than me, but like I said, I've tried and failed, which is why I'm asking here.
why not just download the stock n7005 .tar and extract the modem.bin and flash with odin. sometimes less is more(keywords). n7005 dxlj2 and extract modem.bin. you will find what you need on first page of each of these searches.
s89281b said:
why not just download the stock n7005 .tar and extract the modem.bin and flash with odin. sometimes less is more(keywords). n7005 dxlj2 and extract modem.bin. you will find what you need on first page of each of these searches.
Click to expand...
Click to collapse
Hey thanks for the reply, much appreciated!
Just to confirm though, is modem.bin supposed to be in the root directory of the tar? I don't see such a file, only:
-amss.bin
-mdm.bin
(These 2 files also appeared in the link in the first post.)
along with the boot image (boot.img), recovery image (recovery.img) and 2 EXT4 filesystem partitions/files (cache.img.ext4 & system.img.ext4)
here is link to a flashable zip of ucmd3 modem. http://storagecow.eu/index.php?dir=Xda/AT&T+Note+1/Stock+Jelly+Bean/ replace the files in tmp folder with both files you got from tar and you should have a recovery flashable dxlj2 zip.
s89281b said:
here is link to a flashable zip of ucmd3 modem. storagecow.eu/index.php?dir=Xda%2FAT%26T+Note+1%2FStock+Jelly+Bean%2F replace the files in tmp folder with both files you got from tar and you should have a recovery flashable dxlj2 zip.
Click to expand...
Click to collapse
Thanks, I'll do that when I can! (My phone isn't with me right now)
I'd just like to know if the same META-INF folder can be used for other other modems as well, for the same device (N7005/I717) and for totally different devices as well (N7000, GS3, etc.)
What does the update-binary (in META-INF) actually do?
Also why is there no modem.bin, just mdm.bin?
I apologise for the questions, I'd just like to learn more if possible. I can probably get it to work already but I'd like to know a bit more and save myself some trouble in the future.

How to flash only stock recovery? how to convert "recovery.img.lz4" to "recovery.tar"

How to flash only stock recovery? how to convert "recovery.img.lz4" to "recovery.tar"
Hi all,
I am fairly newb in installing custom ROMs, so apologies if Im misusing any terms. Some time ago I wanted to move a priv-app to system-app, without rooting. I managed to flash TWRP on my Samsung S8 G-950F, and from there moved private app to system app.
Now I would like to go back to the stock recovery img, but I don't know how or if it's even possible. The reason behind this is that my company is deploying Android Work Profile and it is detecting the custom ROM (I assume it is specifically detecting the custom recovery partition)
I tried to find the respective recovery.img for my current stock ROM, but was unable to find it. I can only find for older versions, and from what I read, you can't install older recovery with newer ROM
I can only find the full stock ROM, in .tar.md5 format. opening this with 7zip, I can see the recovery.img.lz4
How do I flash this without altering the OS partition?
Thank you in advance,
Rhaswar
@Rhaswar
Look inside here.
thank you @jwoegerbauer, I have seen this article and it mentions a file called recovery.tar
I don't have that, what I have is the recovery.img.lz4
Is there a conversion that can be done?
Thank you
@Rhaswar
Watch this video: https://www.youtube.com/watch?v=OfrMo1_Rgxc

Categories

Resources