yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Snapdragon)] -PiLoT-:
Does this also stopp us fromflashing in recovery?
[Galaxy S 5 Android Development (Snapdragon)] tamirda:
it is not a problem to make a flashable zip of system & kernel, but until you flash the bootloader it won't work. All bootloader & modem files (.mbn/.bin) can not be flashed until it is signed somehow...

Trying some more things..
[Galaxy S 5 Android Development (Snapdragon)] -PiLoT-:
ifigured that. but from what iv rad everyone is going for th tar/odin option. which checks for signatures. does twrp check also. if not isnt there a way to flash the files given through twrp. specially if ill already tripped knox
[Galaxy S 5 Android Development (Snapdragon)] thericksizzler:
install ?

How do install ?
[Galaxy S 5 Android Development (Snapdragon)] *Detection*:
I think the issue is that TWRP can't flash the bootloader (From what I understand) so they need to create the ODIN flashable .tar so we can get the bootloader flashed, and then we can play about with TWRP ROMs

Might be wrong, but that's what I've gathered is the issue up to now
[Galaxy S 5 Android Development (Snapdragon)] -PiLoT-:
read sir
[Galaxy S 5 Android Development (Snapdragon)] thericksizzler:
sorry

I'm sorry. My English is bad.

Can you tell us briefly ?
[Galaxy S 5 Android Development (Snapdragon)] *Detection*:
Read, if your English is good enough to ask questions, then it's good enough to read
[Galaxy S 5 Android Development (Snapdragon)] -PiLoT-:
Brief? = NO

Less brief = we cant yet
[Galaxy S 5 Android Development (Snapdragon)] thericksizzler:
I'm sorry , my friend. Can not you help me?
[Galaxy S 5 Android Development (Snapdragon)] -PiLoT-:
from what im reading its odin that wont flash, and theyre still dodging around knox. which ive flagged and dont care about.

my thoughts was cant we bypass security mesures if we have a flagged knox and unlocked bootloader

---------- Post added at 12:02 PM ---------- Previous post was at 12:02 PM ----------

no the files cant be instaleled
[Galaxy S 5 Android Development (Snapdragon)] Francesco2000:
(1) for question there is a specific thread, this is only for dev

(2) for now you cannot install "normally", wait [MENTION=1649452]geiti94[/MENTION] or someone make a flashable
[Galaxy S 5 Android Development (Snapdragon)] thericksizzler:
TWRP recovery useless then? The Lord bless you . I wish you had helped me .
[Galaxy S 5 Android Development (Snapdragon)] *Detection*:
It's not the bootloader being unlocked that's the issue, it's that we all have Lollipop BLs flashed on our phones atm, and this ROM needs a MM BL

Apparently the bootloader needs to be signed for ODIN to accept it as stock, and flash (Same with modem) - without it being signed, it won't flash

Without that specific bootloader, we can't boot that ROM

So we're stuck in a catch 22, can't flash bootloader with TWRP, can't flash Bootloader with ODIN because it's not signed, can't sign it (yet) and because we can't flash the bootloader, even though we can flash the ROM, it won't boot (Bootloop we all got)

So basically, we can flash the ROM, as we always have been able to, but because we have the wrong bootloaders flashed to our phones (Lollipop) we can't get any further

So I think the devs are working out how to sign the MM bootloader and modem, so that ODIN will accept them, once that's done, we're home and dry I think

Reason it worked for OP who dumped the files originally, was because it all came through OTA, and that OTA included the new bootloader, which got flashed when he upgraded

If he'd thought on, and saved the OTA file, we'd be golden
[Galaxy S 5 Android Development (Snapdragon)] ecera:
http://xdaforums.com/showthread.php?p=65267825
[Galaxy S 5 Android Development (Snapdragon)] tamirda:
You have explained it very well.. hope people will read that instead of asking the same questions..

I think that for now, all those files can be pushed by adb the same way we have dumped it (dd if=...)

Now going to a wedding so not much time for tests..
[Galaxy S 5 Android Development (Snapdragon)] -PiLoT-:
im pretty sure there is a way to flash bootloaders with twrp. im sure ive read that.

if we can flash the bootloader via twrp then dont reboot. boot the phone into downoad mode and flash the rest from odin it should work
[Galaxy S 5 Android Development (Snapdragon)] BlackMesa123:
So me and geiti discovered that ROM can't be flashed by zip or by tar file because file need to be signed.

Only way for flash is by adb but it's dangerous for break devices
[Galaxy S 5 Android Development (Snapdragon)] popmpopm:
but Alexander ( dev) can extract bootloader !!! so how to sign !!

---------- Post added at 07:25 PM ---------- Previous post was at 07:24 PM ----------

I ask you how to flash with adb !!!
[Galaxy S 5 Android Development (Snapdragon)] BlackMesa123:
If I was know that you think that I don't say it?
[Galaxy S 5 Android Development (Snapdragon)] -PiLoT-:
i second a guide. im willing to chance it. im pretty sure i have adb and fastboot install

as long as its written correctly then id be done to try
[Galaxy S 5 Android Development (Snapdragon)] lucastanciu:
I think i know how. I am not sure but you can try this to flash

fastboot flash boot boot.img
fastboot flash userdata userdata_64g.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin

try this
[Galaxy S 5 Android Development (Snapdragon)] *Detection*:
Not sure about that, never looked that far into it, but devs are saying it can't, I'm no coder though

Plus, if you could, wouldn't that solve everyone with locked BLs problems? Like AT&T, Verizon etc?
[Galaxy S 5 Android Development (Snapdragon)] popmpopm:
but if this way work why is necessary to pull battery 5 sec before flash !!!
[Galaxy S 5 Android Development (Snapdragon)] slawek199261:
This phone have fastboot mode?

I must flash device with this way

adb shell su -c dd if=/data/local/tmp/xxx of=/dev/block/platform/msm_sdcc.1/xxx/xxx ???

Wysłane z mojego SM-G900F przy użyciu Tapatalka
[Galaxy S 5 Android Development (Snapdragon)] BlackMesa123:
Don't think is by fastboot

And almost all files have wrong name
[Galaxy S 5 Android Development (Snapdragon)] *Detection*:
Guys, if I were you, I'd wait for a ROM, built by a dev - not copying random adb or fastboot flash commands (posted by random newbies)

High chance you're gonna end up with a brick otherwise for the sake of waiting a few days

All for a beta ROM, barely any different to what you can already flash as stock
[Galaxy S 5 Android Development (Snapdragon)] BlackMesa123:
There are 2 option at moment:

1: Install with adb (waiting geiti says to me how because I've now dump downloaded)

2: Use edited kernel but a lot unstable and bugged
[Galaxy S 5 Android Development (Snapdragon)] -PiLoT-:
yeah i was suggesting mesa give us the details on how its doable
[Galaxy S 5 Android Development (Snapdragon)] _alex74_:
Private brainstorming between you, [MENTION=2739548]tamirda[/MENTION], [MENTION=1649452]geiti94[/MENTION], [MENTION=5244417]alemtro95[/MENTION], [MENTION=6173089]malbert16442[/MENTION] ....

all well known and talented developers.... a great team can do a lot.... keep going

:D:D:D:D
[Galaxy S 5 Android Development (Snapdragon)] *Detection*:
Totally up to the individual, but from what I've seen, I don't think the benefits outweigh the risk atm

If it was 100% final, and had a load of great new features, then maybe, but for a pre-release, with next to no differences, I'll just stick to Custom MM ROMs until a stock ODIN / TWRP flashable one is ready

---------- Post added at 19:15 ---------- Previous post was at 19:12 ----------

Edited Kernel reboots when the charger is disconnected?
[Galaxy S 5 Android Development (Snapdragon)] BlackMesa123:
Yes
[Galaxy S 5 Android Development (Snapdragon)] -PiLoT-:
if we flash then do a factory restore from within the phone that should flash correct kernel shouldnt it?
[Galaxy S 5 Android Development (Snapdragon)] Soufiansky:
Deleted , wrong timing.
[Galaxy S 5 Android Development (Snapdragon)] -PiLoT-:
Look guy. we know exactly whos doing what. but to ignore our comments because were not "developers" is stupid. although this forum should be free from asinine questions like "help flsh plox" and "what is twrp" and "can it be rooted", other questions that may help us all are very much allowed. the best way to know if we've tried anything is to ask questions the dev might not have thought of. were collaborating here not hounding devs with thoughtless questions. for instance me. i may not know how to compile a ROM, but im by no means a n00b and resent you for asserting i am. i know to try things certain others may not.

stop white knighting for devs, they can reiterate or ignore or report to the mods.
[Galaxy S 5 Android Development (Snapdragon)] *Detection*:
EDIT - If you are not replying to us, quote the person you are replying to, to save confusion

When you post under someone's last post, they automatically assume you are replying to them
[Galaxy S 5 Android Development (Snapdragon)] blackwing182:
does heimdall works?
[Galaxy S 5 Android Development (Snapdragon)] popmpopm:
some stupid donate to you no ! so
[Galaxy S 5 Android Development (Snapdragon)] Soufiansky:
I'm not talking about you , you can see clearly that the same questions are repeated hundreds of time : " Can i flash it ?" , " Does i require MM bootloader?" , "Can i use adb? " , "Is it working ?"

Knighting devs ? what are you talking about , i am thankful for what they did that's all , report me for what ? Lol.
[Galaxy S 5 Android Development (Snapdragon)] blackwing182:
also this link as seferencr could work!

http://xdaforums.com/galaxy-s3/general/guide-extract-bootloader-make-flashable-t2864264

dont know yet... im not at home.to test
[Galaxy S 5 Android Development (Snapdragon)] Soufiansky:
I think you misunderstood what i said i was talking about people repeating the same thing not about you , i m not saying you should not talk because you are not dev , maybe i didn't write it well but you misunderstood.

---------- Post added at 09:53 PM ---------- Previous post was at 09:52 PM ----------

Yeah i'm sorry i did the wrong quote , "Pilot" too sorry for the confusion mate , i didn't meant it like this :)
[Galaxy S 5 Android Development (Snapdragon)] *Detection*:
I edited my post after you replied to -PiLoT-

You need to quote the person you are replying to, if you post under someone, they assume you are replying to them
[Galaxy S 5 Android Development (Snapdragon)] Soufiansky:
Yes you are right , sorry again both :)
[Galaxy S 5 Android Development (Snapdragon)] -PiLoT-:
makes no sense

and yeah sorry guy i just assumed you were talking to me

i mean im not deep into android but i know enough to try ideas y know
[Galaxy S 5 Android Development (Snapdragon)] *Detection*:
No problem, confusion fixed :)
[Galaxy S 5 Android Development (Snapdragon)] frankyzah:
Does this help for us?

http://xdaforums.com/showthread.php?t=2446269
[Galaxy S 5 Android Development (Snapdragon)] tamirda:
Nope because i have already made system & kernel tars.. only bootloader and modem solution. ..
[Galaxy S 5 Android Development (Snapdragon)] frankyzah:
but in tar-Tool_Odin3-v3.10.7_by_mkh.mourad.zip batch.bat i see modem.bin included too...
[Galaxy S 5 Android Development (Snapdragon)] tamirda:
Again it won't help because it is not signed by Samsung.
[Galaxy S 5 Android Development (Snapdragon)] Soufiansky:
Yes but they are not signed because it's just a beta..so they can be flashed u will always have a fail flash unfortunately
[Galaxy S 5 Android Development (Snapdragon)] FeltySoap:
if odin won't flash bootloader and modem because it has to be signed can't we just use heimdall or does it also need to be signed for heimdall?
[Galaxy S 5 Android Development (Snapdragon)] zooster:
Didn't geiti find a solution?
[Galaxy S 5 Android Development (Snapdragon)] pendor24:
Hello

I 'm not a dev, but the cook

with the pit can not flash partition by partition with heimdall ?

but what are the pit file is identical to lollipop ?
[Galaxy S 5 Android Development (Snapdragon)] BlackMesa123:
Probably it's occupated

BTW I think that for install all files we need this comand:

adb push X:\filedirectory\filename.xx /dev/block/platform/msm_sdcc.1/by-name/filename

But I'm not sure at 100% and I don't want brick my device

---------- Post added at 10:58 PM ---------- Previous post was at 10:56 PM ----------

As sayed files need to be signed because dumped files can't be flashed by Odin
[Galaxy S 5 Android Development (Snapdragon)] slawek199261:
adb push X:\filedirectory\filename.xx

of

/dev/block/platform/msm_sdcc.1/by-name/filename
[Galaxy S 5 Android Development (Snapdragon)] BlackMesa123:
As I readed online comand don't have "of"
[Galaxy S 5 Android Development (Snapdragon)] :
Please excuse my interruption,

To the OP, please consider adding a link to your first post for the discussion thread for this topic.

http://xdaforums.com/galaxy-s5/general/leaked-marshmallow-6-0-1-beta-firmware-t3312827

To help curb the constant need for moderator attention and disruption of the work being done here.

Thanks!
[Galaxy S 5 Android Development (Snapdragon)] Shaolin36:
I'm happy for my S5 to be a guinea pig for the sake of this, so if you guys can agree on a command for adb ill be happy to test it out as long as you are relatively sure it works.

Rooted, TWRP installed and also ADB & fastboot is set up. :)
[Galaxy S 5 Android Development (Snapdragon)] malbert16442:
why dont you make zip to flash modem in twrp

ui_print("------> Flashing modem.bin");

package_extract_file("modem.bin", "/dev/block/platform/msm_sdcc.1/by-name/modem");

ui_print("------> Flashing non-hlos.bin");

package_extract_file("non-hlos.bin", "/dev/block/platform/msm_sdcc.1/by-name/apnhlos");
[Galaxy S 5 Android Development (Snapdragon)] BlackMesa123:
If I remember geiti sayed that zip can't be maked too

I will try it tomorrow but I'm so scared to brick my device
[Galaxy S 5 Android Development (Snapdragon)] malbert16442:
in my knowledge backup your efs partion and proceed with caution.
[Galaxy S 5 Android Development (Snapdragon)] amburator:
I tried something similar with no success.

With "dd" command I get something like this for every file from dump:

~ # dd bs=4096 if=/sdcard/Dump/sbl1.mbn of=/dev/block/mmcblk0p3
128+0 records in
128+0 records out
524288 bytes (512.0KB) copied, 0.006875 seconds, 72.7MB/s

~ # dd bs=4096 if=/sdcard/Dump/ssd.mbn of=/dev/block/mmcblk0p20
2+0 records in
2+0 records out
8192 bytes (8.0KB) copied, 0.002708 seconds, 2.9MB/s

I don't even know if this is ok or not, but what I'm sure is that this way I managed to copy system and boot, but it seems not modem and bootloader. It got me to optimizing apps and reboot... :crying:
[Galaxy S 5 Android Development (Snapdragon)] popmpopm:
me too I cancelled all test
[Galaxy S 5 Android Development (Snapdragon)] BlackMesa123:
The problem is that it damages bootloader not efs

For debrick phone is easy, you need download mode img for S5, flash in MicroSd with Win32 Disk Writer, boot in download mode and flash firmware

The problem is that I don't have any SD card reader so I can't make it

---------- Post added at 11:44 PM ---------- Previous post was at 11:43 PM ----------

You have MM TWRP backup in your device?

EDIT: You flashed in the worst place you can flash it. Right path (as I sayed a lot of times) is: "/dev/block/platform/msm_sdcc.1/by-name/..." now I don't know how to restore original files (mmcblk0p3 and mmcblk0p20)
[Galaxy S 5 Android Development (Snapdragon)] amburator:
I thought it's the same to flash to /by-name/ or directly to /mmcblk...

Actually I tried that also - dd command to each /by-name/dump file.

It did no damage because I managed to flash custom rom from zip file and everything works.

And yes, I had MM TWRP backup in my device, but I put it after play with "dd" command.
[Galaxy S 5 Android Development (Snapdragon)] slawek199261:
What is "tz.mbn" file?

---------- Post added at 12:15 AM ---------- Previous post was at 12:04 AM ----------

Yeah... :) I flash all files manually with dd and all works :D
[Galaxy S 5 Android Development (Snapdragon)] Mar-cel:
Nice What are the exact steps ? [emoji1]

I would try
[Galaxy S 5 Android Development (Snapdragon)] :
Were you able to boot successfully ?
[Galaxy S 5 Android Development (Snapdragon)] slawek199261:
1.) Download dump and copy to phone storage

2.) Boot phone

3.) Enable usb debugging

4.) Open cmd and type:

adb shell
su
dd if=/sdcard/dump/aboot.mbn of=/dev/block/mmcblk0p6
dd if=/sdcard/dump/boot.img of=/dev/block/mmcblk0p15
dd if=/sdcard/dump/modem.bin of=/dev/block/mmcblk0p2
dd if=/sdcard/dump/modemst1.mbn of=/dev/block/mmcblk0p13
dd if=/sdcard/dump/modemst2.mbn of=/dev/block/mmcblk0p14
dd if=/sdcard/dump/NON-HLOS.mbn of=/dev/block/mmcblk0p1
dd if=/sdcard/dump/rpm.mbn of=/dev/block/mmcblk0p7
dd if=/sdcard/dump/sbl1.mbn of=/dev/block/mmcblk0p3
dd if=/sdcard/dump/ssd.mbn of=/dev/block/mmcblk0p20
dd if=/sdcard/dump/system.img of=/dev/block/mmcblk0p23

5.) Reboot phone into recovery

6.) Wipe cache and dalvik

7.) Reboot into system and wait :)
[Galaxy S 5 Android Development (Snapdragon)] FeltySoap:
After doing that its fully booting MM?
[Galaxy S 5 Android Development (Snapdragon)] slawek199261:
Yes. My phone boot without any problem.
[Galaxy S 5 Android Development (Snapdragon)] -PiLoT-:
the first part sayas phone storage but the adb commands indicate sdcard storage was used
[Galaxy S 5 Android Development (Snapdragon)] slawek199261:
I flash with my method and work correctly

Wysłane z mojego SM-G900F przy użyciu Tapatalka
[Galaxy S 5 Android Development (Snapdragon)] -PiLoT-:
yes but you indicate first to ut the dump into phone storage but the adb commands look like ur using the SD card to store the dump on. where does it need to go
[Galaxy S 5 Android Development (Snapdragon)] FeltySoap:
i will try as soon my backup is completed, does it erase all data?
[Galaxy S 5 Android Development (Snapdragon)] slawek199261:
No... any erase data

Wysłane z mojego SM-G900F przy użyciu Tapatalka

---------- Post added at 12:57 AM ---------- Previous post was at 12:56 AM ----------

I copy dump catalog to internal storage and flash this files with adb

Wysłane z mojego SM-G900F przy użyciu Tapatalka
[Galaxy S 5 Android Development (Snapdragon)] *Detection*:
SDCard is internal phone storage, badly named I agree, the MicroSD is named External
[Galaxy S 5 Android Development (Snapdragon)] -PiLoT-:
seems when i try all those commands in adb i get

set warranty bit: kernel

then it reboots into recovery [twrp]

also i notice it failed with modemst1 and modemst2 and non-hlos
[Galaxy S 5 Android Development (Snapdragon)] alexbelgium:
Also, are the OTA stored in /cache? If yes, isn't it possible for someone to extract the OTA firmware from the TWRP backup?
[Galaxy S 5 Android Development (Snapdragon)] RuffBuster:
Many thanks to you for providing what you can, with the hopes of development. Also thank you for your patience with this community ... Very disappointed at the response of the members of this forum.
[Galaxy S 5 Android Development (Snapdragon)] Sirocco.ukr.lviv:
there is no OTA.

to extract TWRP backup in windows just type in cmd:

copy /B system.ext4.win000 + system.ext4.win001 dump.tar
[Galaxy S 5 Android Development (Snapdragon)] t0m2k:
whats happenend? why do people blackmail him ? for what ????
[Galaxy S 5 Android Development (Snapdragon)] ollivong:
I hope the bootloader is not so far away
[Galaxy S 5 Android Development (Snapdragon)] BlackMesa123:
Thank you [MENTION=553607]sirroco[/MENTION].ukr.Iviv , downloading now :D

Hope I can release a Odin flashable for everyone :D
[Galaxy S 5 Android Development (Snapdragon)] *Detection*:
Is the bootloader only necessary because it's a stock Samsung ROM?

Because our S5s can boot 6.0.1 custom no problems
[Galaxy S 5 Android Development (Snapdragon)] mikeyaj:
It was a joint effort with him as well. He played a game it backfired, he realised it backfired and was backed in a corner to either share or admit he either wasn't going to share it or not play dumb and share it.as you can see he's not dumb and decided to not play games a kindly share it in the end. The same happened when lollipop leaked and 2nd time around people were simply saying either share it or don't cause a scene. Things font have to be dragged out into a drama sometimes.
[Galaxy S 5 Android Development (Snapdragon)] BlackMesa123:
Bootloader is necessary, I see that backup haves all needed so Bootloader, Modem and System

If I install it on my phone I can extract all partitions with adb and make a .tar file so more easy to install
[Galaxy S 5 Android Development (Snapdragon)] alexbelgium:
In the end, he took only one day or two to provide us the firmware which is quite fast
[Galaxy S 5 Android Development (Snapdragon)] gofan:
We are waiting ur Odin flashable then ?

Envoyé de mon SM-G900F en utilisant Tapatalk
[Galaxy S 5 Android Development (Snapdragon)] t0m2k:
means: you can make it happen :D
[Galaxy S 5 Android Development (Snapdragon)] *Detection*:
Good luck :)
[Galaxy S 5 Android Development (Snapdragon)] nafyy:
U Got this working on ur phone or not???
[Galaxy S 5 Android Development (Snapdragon)] *elmo*:
He wrote that he is working on it....
[Galaxy S 5 Android Development (Snapdragon)] BlackMesa123:
Waiting download finish (98%)
[Galaxy S 5 Android Development (Snapdragon)] t0m2k:
awesome mate :) cant wait to try it out :p
[Galaxy S 5 Android Development (Snapdragon)] khalid0099:
should i download mega link then install it with odin?
[Galaxy S 5 Android Development (Snapdragon)] BlackMesa123:
It's booting :)

And it haves new S6 6.0.1 boot animation
[Galaxy S 5 Android Development (Snapdragon)] *Detection*:
Yep, that's as far as it gets, then bootloops

If you boot with Vol down & Power it shows "Optimising Apps 1/273" then reboots and bootloops again
[Galaxy S 5 Android Development (Snapdragon)] FeltySoap:
i have everthing on my internel storage in a folder "dump" but adb says "No such file or directory"
[Galaxy S 5 Android Development (Snapdragon)] *Detection*:
That's why I'm not trying it, no idea if the commands are good, or if they'll brick your phone, especially when they've been posted with no evidence of it working, by a non dev
[Galaxy S 5 Android Development (Snapdragon)] -PiLoT-:
oh im not mad just tinkering. i can at least get into TWRP which means it isnt dead
[Galaxy S 5 Android Development (Snapdragon)] :
The commands are right the only thing he didn't mention is that you have to first extract the dump.7z to a folder called dump (/sdcard/dump/) and then you have to run those commands. I haven't tested the adb commands myself since i have a flashable zip that copies the whole dump to phone. I've already flashed the system with modem but i still get bootloop after the android finishes optimizing apps.

If you are able to boot successfully please post here some screenshots.
[Galaxy S 5 Android Development (Snapdragon)] *Detection*:
One wrong move with the bootloader flash and it could be game over

Wouldn't want to see anyone lose their phone, I'd at least wait for one of the guys who's done this, or a dev to OK those adb commands, but your phone :)

---------- Post added at 00:54 ---------- Previous post was at 00:51 ----------

Boot loop because you haven't flashed the new bootloader, and just restored the old twrp backup...

Same boot loop as everyone got originally, from page 1 of the first thread, everyone got that far 2 minutes after it was posted

We're almost 2 days past that stage now, because it didn't work, because we need the new bootloader...hence this thread
[Galaxy S 5 Android Development (Snapdragon)] kris_l:
try /storage/emulated/0/dump instead of /sdcard/dump ;)
[Galaxy S 5 Android Development (Snapdragon)] :
I flashed all files including the bootloader but it's still the same.