how to compile kernel (unhelpful kernel 1.2) into tar file? - Captivate Android Development

i read into his topic in making tar file from 1.2 kernel, since update.zip is only provided from 1.2. i tried but was unable to get results : (
please help a noob out. thank you !!

Why not just install it using rom manager- that's how he designed the package =P

that is an option, which i used (and worked, thank you again for your help) but i like my rom as clean as possible. if i could just have it as tar file, i could flash it with odin along with the pit when building my rom without needing a separate apk to do the process. i make a update.zip with all custom designed apks.

The only thing the ROM manager package does is utilize a thing called "Redbend" to actually flash the kernel while the system is running- it's the same thing as taking an OTA update from Samsung. It doesn't leave any crap behind or make your ROM any messier.
Though if you're insistent, extract the zImage and use tar:
tar --format=ustar -cf zImage.tar zImage
(Thanks to AJerman for that little tidbit)

what program do i use? i downloaded the tool from unhelpful and tried command prompt but that doesn't work.

You'll have to find the command line based tar software somewhere out on the internet. I haven't personally messed with it, but normally when using tar it's assumed you're using a Linux box =P

haha icic. yeah i googled that and i've decided to stick with rom manager. thank you very much : )

There's really no reason not to use ROM Manager for this. The update.zip does not install any files, it only flashes the kernel.
Sent from my SAMSUNG-SGH-I897 using XDA App

Related

[TUT]Heimdall-restoring kernel(video)

Im using heimdall in Ubuntu 10.10. I made this video as an example for anyone having trouble and I've seen a few people asking about heimdall. Also made this cause I soft bricked my phone and flashed the unmodded JK6 3e kernel. Its really easy to use. Any questions or comments, feel free to leave them. Ill try to answer best I can. I'm known as FlyingPoo on the TeamWhisky forums/IRC.
Video here
Edit: you can flash just the zImage without putting it in a .tar file. As Benjamin Dobell and some associates over at TeamWhiskey say you CAN flash the files directly. With that said If you download a kernel that is "odin flashable" you can flash it still in the .tar file.
Nice tutorial. However I thought I should let you know that you shouldn't tar the zImage, or any files flashed via Heimdall. Actually, until seeing this video I assumed using a tar would soft-brick your phone. However I'd still recommend flashing the files directly.
first attempt I did flash the pit and the zImage and it spit out an error (invalid image) so i figured it worked like odin and required the zImage to be in a .tar file. So I tried that and it worked without any issues. Later, i tried again with the zImage and it worked too. may have been a misspelling or syntax error on my part. But yes you can flash just the zImage. ill add it to the OP.
TheExpertNoob said:
first attempt I did flash the pit and the zImage and it spit out an error (invalid image) so i figured it worked like odin and required the zImage to be in a .tar file. So I tried that and it worked without any issues. Later, i tried again with the zImage and it worked too. may have been a misspelling or syntax error on my part. But yes you can flash just the zImage. ill add it to the OP.
Click to expand...
Click to collapse
Oh one more minor note, the version of Heimdall you were using doesn't actually flash the PIT file either. It just compares the PIT file you specify to the PIT file on the device to ensure they match. However, the release I just made a few hours ago, version 1.1.0, includes support for repartitioning (and hence flashing a specified PIT file to the device).
I never knew what the pit file was for anyway just through trial and error I knew that the pit file was required to flash the zImage. Thanks for the extra info. I love the program.
Thanks for this man... i've been waiting for a tutorial for this... havent watched it yet but plan to when I get time... this would help out a lot if it actually works... so that I dont have to fire up VM evertime i need to odin.
Im on my nasty windows system at the moment and notice you have a front-end now. So I grabbed the binaries for windows and checked it out. FYI, Norton doesn't like it and it won't even tell me why it doesn't like it. Also have ya done away with the 32 bit version binaries for Debian?
TheExpertNoob said:
Im on my nasty windows system at the moment and notice you have a front-end now. So I grabbed the binaries for windows and checked it out. FYI, Norton doesn't like it and it won't even tell me why it doesn't like it.
Click to expand...
Click to collapse
Hmm, I firmly dislike Norton. If you do manage to work out what it's complaining about please let me know.
TheExpertNoob said:
Also have ya done away with the 32 bit version binaries for Debian?
Click to expand...
Click to collapse
No, I'll be adding more Linux packages when I get a chance. Unfortunately it takes over 4 hours to compile Qt so it's not the most efficient process.
Benjamin Dobell said:
Hmm, I firmly dislike Norton. If you do manage to work out what it's complaining about please let me know.
Click to expand...
Click to collapse
So I didnt have the C++ Reditro package installed. installed it. re-downloaded heimdall windows binaries and Norton didn't say a thing about it when I ran it again?!? It may have been cause heimdall was looking for libraries that didnt exist on my computer and Norton's SONAR Protection kicked off because of it?!? LAME Norton.
Benjamin Dobell said:
No, I'll be adding more Linux packages when I get a chance. Unfortunately it takes over 4 hours to compile Qt so it's not the most efficient process.
Click to expand...
Click to collapse
WOW! thats a long time!
Ill be back on my Linux machine Monday and ill try it out then and possible make a video.

[Utility]KK4 Easy Root

I've seen a number of new captivate owners who seem to have issues obtaining root or CWM on their phones for the first time. I wrote this batch file to help them get over those first hurdles with a helping hand. I am not a programmer (as you can tell by my coding skills) but I hope this will help a few people out.
Requirements:
Captivate i897 device on Gingerbread
Working USB port
Working Power Button
Preview:
This batch file uses a menu to select the operation. For Root, it uses ADB commands to get a user to download mode and then launches and Odin 1-click to replace the Kernel with the Corn 7.0A Kernel. After flashing, it reboots the user to Recovery and walks them through installing Root from the Corn Kernel CWM options (requires a working power button!). After the user is done, it will take them back to the menu to return to the Stock Kernel if they wish. There are a few extra menu options thrown in for fun.
Instructions for use:
Turn on USB Debugging
Connect Phone
Extract contents of zip to a folder
Run Batch file
Follow on screen instructions
??????????????
Profit!
Screenshots:
http://dl.dropbox.com/u/7368116/Images/Capture1.JPG
http://dl.dropbox.com/u/7368116/Images/Capture1.JPG
Download:
http://db.tt/Dz4fPI7N V1.1
Credits:
Thanks to Vashypooh for the Kindle Fire Utility which gave me the inspiration for this.
Thank you to 4-2ndtwin for the Odin One Click Creator that I was too lazy to download for myself.
Thank you to MTCarey for his Corn Kernel that I use in this batch file.
Thank you to all the devs and others that helped me along the way.
If this helps you or a friend out in any way please donate or Join Dropbox and get me some extra space.
Revisions:
V1.1 - Added the missing pause functions in the Root Procedure to give users time to read the instructions (thanks Machavity!)
V1.0 - Original (Here goes nothing)
Here is an alternative file to just install the Corn 7.0A Kernel.
1. Download an put in the root directory of KK4_Root
2. Run
Nice job on putting this utility together. Should be very helpful.
I will have to attach this thread to my sig.
Sent from my SAMSUNG-SGH-I897 using xda premium
Mirror: Dropbox download link... http://dl.dropbox.com/u/39937043/KK4_Root_v1_1.zip
And thank you for the files. They were the last piece I needed. I do need some real world testing on devices and computers other than mine to make sure I got all bugs worked out.
Took a look at the code, and this looks like it's going to be a handy piece of software for people who just need to do some common commands and don't want to wade through a lot of additional steps.
Well done.
Thanks. That was my idea. I've noticed many of the questions resolve around the simple tasks. By allowing a menu-driven batch file to take care of it, hopefully the users won't have as many issues.
This will allow a stock KK4 user to get root and CWM which will help them start their flashing journey.
Weekend-Thread-Bump for those who haven't seen this yet...
Sent from my SAMSUNG-SGH-I897 using xda premium
the download link don't work
takeoutttt said:
the download link don't work
Click to expand...
Click to collapse
Fixed! I think the L was supposed to be an I in the link. I copied it from the email this time. Work blocks dropbox which makes it hard to test the link. I tested it this time!
Sent from my SAMSUNG-SGH-I897 using XDA
Cool, added this to my toolbox, thanks...
And thank you again for Legend. I'm working on learning more Unix/Linux so I can contribute more in the future.
Sent from my SAMSUNG-SGH-I897 using XDA
That was a huge file hehe. I'll try this later
---------- Post added at 09:50 AM ---------- Previous post was at 09:11 AM ----------
after using the utility my kernel version is CORNv70A is this correct?
Yep. That's the correct version. I wish I could get the file size lower but it's already zipped at Ultra compression. The two kernel files make up most of the size with the driver file making up the rest. I wanted to add in more files/options but it would have made the file even larger.
Sent from my SAMSUNG-SGH-I897 using XDA
I recommend this. Very accurate and helpful. I just want to ask, why do you you pick 7.0a instead of 7.06
Sent from my SAMSUNG-SGH-I897 using xda premium
Some people have stated that the 7.06 kernel causes issues on their phone. I use it on mine with no problems. I just went with the safe bet for the first time users.
Sent from my SAMSUNG-SGH-I897 using XDA
Can I use the tool as an updater for example im running corn kernel 7.03 and i want to upgrade to the latest corn kernel using your tool
The tool will only give you Corn 7.0A or the Stock KK4 Kernel.
If you want to update to 7.06 you will need to download the Odin or CWM package for that version.
What if Corn 7.03 to 7.0a?
Yes. It will work just fine for 7.03.
You'll need to select the Root option which will install the 7.0A Kernel, but not actually follow any of the steps for adding root.
Select Root Option
Let it boot to download mode
Install it via Odin 1-click that script launched
Hit Ctrl+C to break out of script
You don't need the script to put you back into recovery which is why you break out.
Alternative Method:
Unzip downloaded file
Go to EXE Folder
Put phone into download mode
Run KK4_Root.exe
The ADB command to put your phone in download mode is: adb reboot download
Just open a command prompt to the downloaded/unzipped tools folder and type the above command with your phone plugged in.
Alternative #2
I added a new batch file to Post #3 to do just what you are asking.

Custom Recovery INFO

OK . We all i believe find it chaotic to organize in forums now. So this is a thread just for ideas and problem with cwm or twrp on our device.
All that i have found now is that recovery.img is somehow backed with boot.img. So i have to ask if there is any developer that can look inside this.
Help appreciated. We (developers) have already compiled TWRP and CWM ( me via ubuntu and clockworkmod recovery builder) and none of them is booting.
You might want to look at xperia p boot.img??? Same processor u8500 same screen size. I'm a noob. Just said what I felt. Coming from xperia device where our recoveries are always packed inside boot.img
In ramdisk . /sbin/recovery is where our recovery binary is present.
#pitchblack5691#
thanks for help ! i will definetely looo for it
Might be useful
http://forum.xda-developers.com/showthread.php?t=2020895
http://forum.xda-developers.com/showthread.php?t=1903017
#pitchblack5691#
also coming from xperia forum and for My xperia U and have also novathor u8500 and i have asked dev to explain mothod used in XU for port this method to GIII mini but no reply from him now in XU the recovery are in tar and flashable to phone without odin or another flash only by ADB + run me script in commande window inside recovery tar we have unziped recovery ( icone ....) and some files relative to phone ( fstab ..... )
How is it going? Did everyone stop developing or are you guys just moving in silence trying to figure things out?
Sent thru time and space from my s3mini.
silently moving
Shapeshift said:
silently moving
Click to expand...
Click to collapse
Good to know! Give us a shout if we can help somehow.
currently working on cwm 6. dont know why i cant boot
Perhaps need to no only make recovery but also kernel ?
If this 2 filz run together
Sent from my GT-I8190 using xda app-developers app
From what I understand, You just need to write a piece of code in the ramdisk init files to execute the recovery during boot. No need to modify the kernel.
#pitchblack5691#
If any one is interested i got a dumped ram disk also a got it rebuild-ed,
and yes the recovery scripts are there plus the pngs etc.
I also believe that the device has 2 recovery's, they are the same one just acts as a backup.
is an idea
i explain when you make recovery and extract it you find some files inside ( fstab , RC , init , propr ...
now we have also one with CM device info the device have not CM rom and also have not CM kernel her why i posted this comment because when you extract stock recovey you find kernel part and when you extract boot.img find recovery part now this 2 files perhaps have dependency to work together ? is an idea do not yell at me :silly:
spawk said:
is an idea
i explain when you make recovery and extract it you find some files inside ( fstab , RC , init , propr ...
now we have also one with CM device info the device have not CM rom and also have not CM kernel her why i posted this comment because when you extract stock recovey you find kernel part and when you extract boot.img find recovery part now this 2 files perhaps have dependency to work together ? is an idea do not yell at me :silly:
Click to expand...
Click to collapse
They had the internet in 1969?
Take your time. We have root and what roms we have are stable.
Sent from Spaceball One.
Hahaha!
Sent thru time and space from my s3mini.
xd the error is not from me haha i have corect date and time
is new technologie hahahaha retoure backwards in android
and if you see here you can read need new builded kernel to make CWM just read thread 2# and 3# http://forum.xda-developers.com/showthread.php?t=1771347
Help ful apps find on playstore this apps need busybox 2.1 and rooted rom and he let you backup your rom but without boot.img and recovery.img but bacup all system data ..... here is https://play.google.com/store/apps/details?id=com.pommedeterresautee.twoborange3
spawk said:
Help ful apps find on playstore this apps need busybox 2.1 and rooted rom and he let you backup your rom but without boot.img and recovery.img but bacup all system data ..... here is https://play.google.com/store/apps/details?id=com.pommedeterresautee.twoborange3
Click to expand...
Click to collapse
I sent info about device to that developer. That app is now supporting our golden for full backup incl boot & recovery.img with .zip from here. Only problem is we dont have a working custom recovery to flash that .zip with :/
as Faria wrote above should change the recovery that is in the kernel and the same meter and the same rom in it and in the kernel for which you go just tell me that the two are complementary if a move (size , addition, retirees), the other answers are more about the two is that one feature that the other is that we will say to his control as .
now change I believe that both will adjust in any case theoretically

Anyone Please compile LP for T530NU

as the title states please someone i perfer a smart dev here on xda to compile or get the lollipop offical update to work on the TAB4 10.1 SM-T530NU JUST A REQUEST NOT A DEMAND.
LGMONO said:
as the title states please someone i perfer a smart dev here on xda to compile or get the lollipop offical update to work on the TAB4 10.1 SM-T530NU JUST A REQUEST NOT A DEMAND.
Click to expand...
Click to collapse
There are three different cyanogenmod 12 (lollipop) ROMs listed in the development section compatible with the t530nu which are all better than stock anyway. I have the exact same model as you and have been on lollipop for months now and loving it
i understand that, i love and encourage CM and AOSP roms i have used them quite offen however i prefer stock because stock roms utilize the devices features and because there are so many devices the devs dont have time to port stock based apps in there modifications so there for i use stock roms for a daily driver. but i would always support custom roms to anyone as did you. thanks for the reply, would really like to get a stock based lp on the device.
Thanks
LGMONO said:
i understand that, i love and encourage CM and AOSP roms i have used them quite offen however i prefer stock because stock roms utilize the devices features and because there are so many devices the devs dont have time to port stock based apps in there modifications so there for i use stock roms for a daily driver. but i would always support custom roms to anyone as did you. thanks for the reply, would really like to get a stock based lp on the device.
Thanks
Click to expand...
Click to collapse
^^what he said.
I've been checking the forums throughout the day since the LP update came out hoping that someone ported it to the T530NU. Who knows when the official one will come out since the LP update for the T530 has only been released in Spain so far. I doubt it will be released for the T530NU until the update for the T530 is released in more regions.
Dudash said:
^^what he said.
I've been checking the forums throughout the day since the LP update came out hoping that someone ported it to the T530NU. Who knows when the official one will come out since the LP update for the T530 has only been released in Spain so far. I doubt it will be released for the T530NU until the update for the T530 is released in more regions.
Click to expand...
Click to collapse
and @LGMONO
I imagine it's possible to port the official update, here are my thoughts. Take the LP Odin file (the tar file) and open the tar.md5 file in winrar or 7zip. Extract all the files inside (system.img, boot.img, the modem.bin and everything) and make it into an update zip, (with updater-script and everything) but tailor it to be flashable with FlashFire. No idea if it'll work but that's what I'd try if I preferred touchwiz over cyanogenmod.
Edit: On the files you want to pull, I don't think you want to use cache.img or hidden.img, but yeah everything else.
thisisapoorusernamechoice said:
and @LGMONO
I imagine it's possible to port the official update, here are my thoughts. Take the LP Odin file (the tar file) and open the tar.md5 file in winrar or 7zip. Extract all the files inside (system.img, boot.img, the modem.bin and everything) and make it into an update zip, (with updater-script and everything) but tailor it to be flashable with FlashFire. No idea if it'll work but that's what I'd try if I preferred touchwiz over cyanogenmod.
Edit: On the files you want to pull, I don't think you want to use cache.img or hidden.img, but yeah everything else.
Click to expand...
Click to collapse
T, hey hey, you only want the system.img and the boot.img, the issue though is the kernel, my attempts at getting the firmware running "as-is"
fail, [kernel] while i can access through adb i couldn't get a read on logcat even when invoking with full/absolute path
/system/bin/logcat
the sepolicy is covering adb and as i'm learning , sometimes permission denied actually means no such file or directory
and/or the opposite :silly: gotta love android.
m
moonbutt74 said:
T, hey hey, you only want the system.img and the boot.img, the issue though is the kernel, my attempts at getting the firmware running "as-is"
fail, [kernel] while i can access through adb i couldn't get a read on logcat even when invoking with full/absolute path
/system/bin/logcat
the sepolicy is covering adb and as i'm learning , sometimes permission denied actually means no such file or directory
and/or the opposite :silly: gotta love android.
m
Click to expand...
Click to collapse
I know they got a custom kit Kat kernel going for cm11 NU, did anything come of getting that working for cm12 and would that be of use in this instance? (Yeah I haven't checked the thread in a little while because I'm lazy and inattentive)
thisisapoorusernamechoice said:
I know they got a custom kit Kat kernel going for cm11 NU, did anything come of getting that working for cm12 and would that be of use in this instance? (Yeah I haven't checked the thread in a little while because I'm lazy and inattentive)
Click to expand...
Click to collapse
T
hey, you forgot irrepressibly polysyllabic ! xD
okay seriously though, i'm momentarily stumped as to what's going on with my t330nu but later later tonight i'll run a kernel compile and try the t530 rom again.
m
thisisapoorusernamechoice said:
and @LGMONO
I imagine it's possible to port the official update, here are my thoughts. Take the LP Odin file (the tar file) and open the tar.md5 file in winrar or 7zip. Extract all the files inside (system.img, boot.img, the modem.bin and everything) and make it into an update zip, (with updater-script and everything) but tailor it to be flashable with FlashFire. No idea if it'll work but that's what I'd try if I preferred touchwiz over cyanogenmod.
Edit: On the files you want to pull, I don't think you want to use cache.img or hidden.img, but yeah everything else.
Click to expand...
Click to collapse
i tried that lol it didnt work im a .net dev not an android dev i assure you the android devs are much smarter however i did try that method already i purchased ODIN mobile and the device is not supported, when i did try with odin pc version the erro is the aboot and fails im very sure the system will work on t530nu
LGMONO said:
i tried that lol it didnt work im a .net dev not an android dev i assure you the android devs are much smarter however i did try that method already i purchased ODIN mobile and the device is not supported, when i did try with odin pc version the erro is the aboot and fails im very sure the system will work on t530nu
Click to expand...
Click to collapse
Nah you don't want to try this with Odin it verifies what device you have. I say try flashfire instead (chainfire even said FF is intended to replace mobile Odin as well as safestrap) but we have to figure something out for the kernel (boot.img).
@moonbutt74 I was able to flash t530/1 ROMs before anyone started developing NU specific custom kernels, is it not working here because it's an official build or something? Sorry for my frustratingly persistent dearth of knowledge.
moonbutt74 said:
T
hey, you forgot irrepressibly polysyllabic ! xD
okay seriously though, i'm momentarily stumped as to what's going on with my t330nu but later later tonight i'll run a kernel compile and try the t530 rom again.
m
Click to expand...
Click to collapse
Finally another individual understands my irresistible urge to layer on excess syllables with each successive increment of agitation I am provoked to. Also my father is a lawyer (lmao). I'll try some things for this tonight, I don't really expect success (or really anything other than a soft brick) but my curiosity is officially piqued, I'll make this my project for tonight
LGMONO said:
i tried that lol it didnt work im a .net dev not an android dev i assure you the android devs are much smarter however i did try that method already i purchased ODIN mobile and the device is not supported, when i did try with odin pc version the erro is the aboot and fails im very sure the system will work on t530nu
Click to expand...
Click to collapse
L,
hi, this step carries risk, make a backup !!
what you need, from the full firmware img extract system.img and boot.img
pack system.img for odin flash, this is the tricky part, it's one of the following
A- rename system.img.ext4 to system.img
--- then in linux/cygwin cd to the directory where system.img is located
--- run tar as follows
--- tar -H ustar -c system.img > system.img.tar
--- md5sum -t system.img.tar >> system.img.tar
--- mv system.img.tar system.img.tar.md5
or
B- don't rename system.img.ext4 and run again in linux/cygwin
--- tar -H ustar -c system.img.ext4 > system.img.ext4.tar
--- md5sum -t system.img.ext4.tar >> system.img.ext4.tar
--- mv system.img.ext4.tar system.img.ext4.tar.md5
then attempt attempt odin flash, NOT MOBILE ODIN
do the same for boot.img
m
thisisapoorusernamechoice said:
Nah you don't want to try this with Odin it verifies what device you have. I say try flashfire instead (chainfire even said FF is intended to replace mobile Odin as well as safestrap) but we have to figure something out for the kernel (boot.img).
@moonbutt74 I was able to flash t530/1 ROMs before anyone started developing NU specific custom kernels, is it not working here because it's an official build or something? Sorry for my frustratingly persistent dearth of knowledge.
Finally another individual understands my irresistible urge to layer on excess syllables with each successive increment of agitation I am provoked to. Also my father is a lawyer (lmao). I'll try some things for this tonight, I don't really expect success (or really anything other than a soft brick) but my curiosity is officially piqued, I'll make this my project for tonight
Click to expand...
Click to collapse
can you give me a download link to flashfire please i tried searching for this i cant find it ? please thanks
moonbutt74 said:
L,
hi, this step carries risk, make a backup !!
what you need, from the full firmware img extract system.img and boot.img
pack system.img for odin flash, this is the tricky part, it's one of the following
A- rename system.img.ext4 to system.img
--- then in linux/cygwin cd to the directory where system.img is located
--- run tar as follows
--- tar -H ustar -c system.img > system.img.tar
--- md5sum -t system.img.tar >> system.img.tar
--- mv system.img.tar system.img.tar.md5
or
B- don't rename system.img.ext4 and run again in linux/cygwin
--- tar -H ustar -c system.img.ext4 > system.img.ext4.tar
--- md5sum -t system.img.ext4.tar >> system.img.ext4.tar
--- mv system.img.ext4.tar system.img.ext4.tar.md5
then attempt attempt odin flash, NOT MOBILE ODIN
do the same for boot.img
m
Click to expand...
Click to collapse
Thank you i will try this and thanks to all that is participating in this thread.. i have a lg g3 i just updated to lollipop and i like it, but remember for you guys out there newbees so to say at least try and give support for AOSP and Cyan roms i am a huge fan. Give them devs the credit they work hard for
LGMONO said:
can you give me a download link to flashfire please i tried searching for this i cant find it ? please thanks
Click to expand...
Click to collapse
Chainfire said:
- Join the G+ community using the same Google account as you're using for Play on your phone/tablet here: https://plus.google.com/communities/116661625291346007584
- Sign up to receive the BETA versions from Play here: https://play.google.com/apps/testing/eu.chainfire.flash
- Use the link provided after sign-up to download the app. Note that it may take minutes to even hours before the provided link actually works.
Click to expand...
Click to collapse
Link to Chainfire's FlashFire thread: http://forum.xda-developers.com/showpost.php?p=59959596&postcount=1
LGMONO said:
can you give me a download link to flashfire please i tried searching for this i cant find it ? please thanks
Click to expand...
Click to collapse
Here
But try what moonbutt74 is saying first, he's smarter than I. I'm just thinking aloud about all the (probably almost certainly stupid) stuff I'm going to try to get this working
T,
i have a though about incorrect firmware linking in boot.img and /system/etc scripts in the release
to mount and explore the system.img goto directory where extracted image is located and run
simg2img system.img.ext4 system.img
when thats done
mkdir system
mount -o rw -t ext4 system.img system
for the boot img goto @osm0sis 's AIK thread and get the linux package
use that toolkit to unpack the boot.img and check it out, you'll generate two directories after img unpacking,
ramdisk and split-image in split-image directory you will find the kernel and dtb imgs
m
yeah the link on google play is dead lol
nevermind i got it thanks
moonbutt74 said:
T,
i have a though about incorrect firmware linking in boot.img and /system/etc scripts in the release
to mount and explore the system.img goto directory where extracted image is located and run
simg2img system.img.ext4 system.img
when thats done
mkdir system
mount -o rw -t ext4 system.img system
for the boot img goto @osm0sis 's AIK thread and get the linux package
use that toolkit to unpack the boot.img and check it out, you'll generate two directories after img unpacking,
ramdisk and split-image in split-image directory you will find the kernel and dtb imgs
m
Click to expand...
Click to collapse
^^This guy is very smart ^^ i will try that as well i really wanna get these guys the lp for t530nu here in America we are being neglected with the official lollipop update samsung is slacking here i say less talk and more work for them people lol. we would probably all have our lollipop by now. jk
moonbutt74 said:
T,
i have a though about incorrect firmware linking in boot.img and /system/etc scripts in the release
to mount and explore the system.img goto directory where extracted image is located and run
simg2img system.img.ext4 system.img
when thats done
mkdir system
mount -o rw -t ext4 system.img system
for the boot img goto @osm0sis 's AIK thread and get the linux package
use that toolkit to unpack the boot.img and check it out, you'll generate two directories after img unpacking,
ramdisk and split-image in split-image directory you will find the kernel and dtb imgs
m
Click to expand...
Click to collapse
Thanks M I'll get started once I get back from my daily run (I refuse to be a fat American stereotype :silly: )

flash firmware using Heimdall​ for Linux

Heimdall for Linux and mac - this is a program that is used on Linux that's​ similar to Odin for windows. It is capable of flashing extracted tar firmware AP,CP,CSC,and BL using download mode for Samsung devices.
This is not my program.
Also I am limited to Linux for heimdall so testing Mac I can not do but Instructions to install will also be posted using a link
I am testing how to flash the s7 for others limited to Linux or mac.
Linux install of Heimdall on Linux:
Go to the official website here: http://goo.gl/PQC1RN
Scroll down and click on Download(for Linux)
Click to download the Heimdall version for your Linux version (EX. ubuntu13.04-heimdall_1.4.0-0_amd64.deb will work with 14.04 & 13.04 64bit)
Click and download the frontend if you don't like to work inside the terminal
Open your Downloads folder and click to install the files you downloaded
Remember to open Heimdall as Admin(sudo) so it works correctly
Mac install:
http://rootmygalaxy.net/install-odin-jdoin3-for-mac-osx/
Steps to flashing frimware on linux:
1. open terminal and type sudo heimdall-frontend
2. look for flash tab
3. extract firmware zip to a folder then create 4 more folders named AP,BL,CP,and CSC
4. Rename AP,BL,CP,CSC by removing the .md5 part of the file name leaving only the .tar at the end
5. Extract each tar to its specific folder
6. Under the flash tab look for pit file and click browse, goto CSC folder and click the pit file
7. Now look for add and from the list under partition details choose which file to add then click browse under it should have the file name you are looking for under partition details if unsure what to put, go through each folder you made and keep adding each file
8. then click start
This is capable of flashing the firmware , as in the pictures it shows it works and fails, i am thinking because i am flashing all at once instead of each folder separate, or in the wrong order
there are forums on xda on how to use heimdall more extensivly but im just doing this for the s7 so productive comments are welcomed
Also this is being tested on a sprint version of the s7 g930p that has been flashed to g930u firmware, in the pictures im flashing a firmware i already have installed just incase i mess up
Capable of flashing everything but system.img
miko12312 said:
Capable of flashing everything but system.img
Click to expand...
Click to collapse
Should I give up on using Heimdall to flash my S7 active?
rabbiporkchop said:
Should I give up on using Heimdall to flash my S7 active?
Click to expand...
Click to collapse
Depends if you know how to use , I still haven't but also haven't used it,to flash ,there has been successful attempts at flashing samsung devices , you just need to put it in the correct order I believe but it does work there is a full forum on the program in xda

Categories

Resources