Flash zip in download mode - Android Q&A, Help & Troubleshooting

Hey
Yesterday I flashed a boot logo on my SM-G928F in TWRP. After that my phone doesn't boot into system or recovery anymore - there's always a blackscreen. I only can boot into download mode.
I tried to flash a stock-rom via Odin but that didn't helped - the same blackscreen, because a stock rom does not replace the boot logo.
I think I have to flash the stock boot logo ( https://drive.google.com/file/d/1378RQ5w_vAAmnQ3HB0FymZXWIm12T0Mg/view ) , but thats a zip which I can't flash via Odin.
There a two ways in my mind which could work:
1. Getting a tar.md5 file with the stock boot logo.
2. Getting a tool which allows to flash zips in download mode of the phone.
I really hope that someone could help me with my big problem.
Best regards
DGB

Hey there
I recommend to flash the firmware again but this time after flashing firmware flash the twrp and flash the zip via adb sideload ( a feature present in TWRP) as by adb sideload one is able to flash zip files as well
Or i recommend you to get to know the combination of keys that will help you to directly enter into recovery
Hope it will work
And if there is any problem let me know
As in the internet there are various ways by which a person can flash the custom rom and custom recovery via odin
Look at this link:-
http://www.lineageosrom.com/2017/07/how-to-flash-custom-rom-via-odin.html?m=1

nr10prashant said:
Hey there
I recommend to flash the firmware again but this time after flashing firmware flash the twrp and flash the zip via adb sideload ( a feature present in TWRP) as by adb sideload one is able to flash zip files as well
Or i recommend you to get to know the combination of keys that will help you to directly enter into recovery
Hope it will work
And if there is any problem let me know
As in the internet there are various ways by which a person can flash the custom rom and custom recovery via odin
Look at this link:-
http://www.lineageosrom.com/2017/07/how-to-flash-custom-rom-via-odin.html?m=1
Click to expand...
Click to collapse
Thank you for your answer but that didn't worked. The problem is that flashing the stock firmware doesn't replace or repair the boot image. So I've got a never ending blackscreen when I want to boot in system or TWRP/Recovery and that means that I'm not able to configure ADB Sideload.
I can only boot into download mode, nothing else.
I think the jpg of the boot logo I've installed was corrupted so it can't be loaded

You are in download mode so you have to press all the keys including the home button and once the download mode closes then press the "volume up key and power key and also the home button and then your phone will automatically reboot into recovery.

I know, I tried that multiple times but it doesn't work. Blackscreen... only a never ending blackscreen. The download mode is the only thing taht works. I have to flahs the old boot logo via download mode... but i don't know how

Wait for the battery to be drained out completely and then do what i said earlier

nr10prashant said:
Wait for the battery to be drained out completely and then do what i said earlier
Click to expand...
Click to collapse
I did. but it didn't work, too
I really need someone who is able to integrate the stock boot logo into a custom rom which can be flashed via Odin... Or I need a tool which allows to install zips in download mode. I tried adb sideload again but it didn't recognizes my phone when its not in recovery.
I really think that my S6 edge + is nearly died :crying:

Try to flash the firmware with the samsung smart swith.....
This will 100% works!!!!!4

Inderpreets said:
Try to flash the firmware with the samsung smart swith.....
This will 100% works!!!!!4
Click to expand...
Click to collapse
I know but Samsung removed this feature some months ago so I'm not able to do this
--- I know, it's from the German Samsung Support but it's a confirmation that Samsung removed this feature:

DGB100 said:
I know but Samsung removed this feature some months ago so I'm not able to do this
--- I know, it's from the German Samsung Support but it's a confirmation that Samsung removed this feature:
Click to expand...
Click to collapse
Not even flashing a factory firmware (4 files with pit) with repartition option selected?
What about a combination firmware and then a full stock FW?

яι¢αя∂σ said:
Not even flashing a factory firmware (4 files with pit) with repartition option selected?
What about a combination firmware and then a full stock FW?
Click to expand...
Click to collapse
I only tried to flash stock firmware with AP in Odin... and I tried stock rom with re-partition.
Where do I get those 4 files? I need XEU for my SM-G928F. It would be very nice if you could give me a more detailed instruction for this because I never worked with PIT...

get samfirm v0.3.6
On the model you put sm-g928f, region XEU, tick the binary nature box and press "check update". Download the resulting file, that is a factory firmware to do repairs in a 4 files format: bootloader, pda or ap, modem or cp and csc!
You will get this file:
SM-G928F_1_20180305151001_nsg8uwd0sh_fac.zip
Put each file in the correct field in odin!
About combination firmware, it needs to be same binary version as stock firmware already programed on phone! if first number on firmware version is a 3, combination FW need to be also bin 3!
G928FXXS4CRB4 if is 4, you need comb fw also in bin 4! if you downgrade you get odin error and a softbrick!
Was checking if any comb. fw is available, but i find only paid files for your phone model!

яι¢αя∂σ said:
get samfirm v0.3.6
On the model you put sm-g928f, region XEU, tick the binary nature box and press "check update". Download the resulting file, that is a factory firmware to do repairs in a 4 files format: bootloader, pda or ap, modem or cp and csc!
You will get this file:
SM-G928F_1_20180305151001_nsg8uwd0sh_fac.zip
Put each file in the correct field in odin!
About combination firmware, it needs to be same binary version as stock firmware already programed on phone! if first number on firmware version is a 3, combination FW need to be also bin 3!
G928FXXS4CRB4 if is 4, you need comb fw also in bin 4! if you downgrade you get odin error and a softbrick!
Was checking if any comb. fw is available, but i find only paid files for your phone model!
Click to expand...
Click to collapse
Thanks it worked for me but now I need a pit-file. Do you now where I get it?
EDIT: I found a pit-file for myself. Thank you very much for your help!
HTML:
https://drive.google.com/file/d/0BzyeAt2hy6XednpHZmhRUmtOMFk/view

DGB100 said:
Thanks it worked for me but now I need a pit-file. Do you now where I get it?
EDIT: I found a pit-file for myself. Thank you very much for your help!
HTML:
https://drive.google.com/file/d/0BzyeAt2hy6XednpHZmhRUmtOMFk/view
Click to expand...
Click to collapse
It worked means you got your phone back to normal or you could get the firmware using samfirm?
Pit file is always inside csc file on a 4 files fac firmware. Use the pit on firmware because the pit from your link can be from a early version of android and have different bits for partition sizes!
EDIT: Here, got the combination fw for the binary 4. IF your phone is already ok, don't use this!

DGB100 said:
I know but Samsung removed this feature some months ago so I'm not able to do this
--- I know, it's from the German Samsung Support but it's a confirmation that Samsung removed this feature:
Click to expand...
Click to collapse
SmartSwitch still works for my G925v.

яι¢αя∂σ said:
It worked means you got your phone back to normal or you could get the firmware using samfirm?
Pit file is always inside csc file on a 4 files fac firmware. Use the pit on firmware because the pit from your link can be from a early version of android and have different bits for partition sizes!
EDIT: Here, got the combination fw for the binary 4. IF your phone is already ok, don't use this!
Click to expand...
Click to collapse
I got my phone back to normal so thank you very much!

I have the same problem on my j2 prime I can only goto download mode and in odin tried to install stock firmware but got write fail..can you please help me with this error

Related

root sm-c7000

i found this:
http://www.androidinfotech.com/2016/11/root-samsung-galaxy-c7-c7000-marshmallow-install-twrp.html
but when i tried to install twrp odin said custom binary blocked by FRP lock. after getting out of it by oem unlocking in setting and trying again odin said custom binary blocked by crom. plz help seniors...
twrp file
here is the twrp file used to install by odin
Anyone tried?? Plz update...
also was able to remove CROM lock by downloading CROM services app from samsung app store. installed twrp but it doesnot work. there is stock recovery even after installing this twrp....
Do you need google store? If yes, you can install the HK stock rom using Odin.
eisui said:
Do you need google store? If yes, you can install the HK stock rom using Odin.
Click to expand...
Click to collapse
i already have HK version. but i need to root my device.
supertausif2003 said:
i found this:
http://www.androidinfotech.com/2016/11/root-samsung-galaxy-c7-c7000-marshmallow-install-twrp.html
but when i tried to install twrp odin said custom binary blocked by FRP lock. after getting out of it by oem unlocking in setting and trying again odin said custom binary blocked by crom. plz help seniors...
Click to expand...
Click to collapse
Hi, they have 2 files of twrp in the post and he say "If You can't Flash the Above TWRP try the Below one"
2 questions...
So has you try the second twrp ? And
Do you use your odin package or that on the post ?
I used my own odin package as it shows pass after flashing twrp. I tried both files but nothing changed. Stock recovery boots after flashing either file.
Craps, it's really not good
flash twrp recovery
it will succeed
but tickout restart after flashing option in odin
*when flashing complete, remove battery if you can or switch off phone
and enter recovery mode , don't boot to normal
eisui said:
Do you need google store? If yes, you can install the HK stock rom using Odin.
Click to expand...
Click to collapse
My device is running: C7000ZCU2APL5
I tried to install HK firmware: C7000ZHU2APK5 to unlock the play store but got error user.img.ext4 - size is too big 52600792 < 113672120 when flashing in odin
How and which HK firmware can i flash in order to get the play store?
Did you find a solution for this?
bazg777 said:
My device is running: C7000ZCU2APL5
I tried to install HK firmware: C7000ZHU2APK5 to unlock the play store but got error user.img.ext4 - size is too big 52600792 < 113672120 when flashing in odin
How and which HK firmware can i flash in order to get the play store?
Click to expand...
Click to collapse
Did you ever find a solution? I'm stuck with the same. PIT file for China and Honk Kong is the same so I don't why the partitioning is not working right
Remove battery of your device before flashing using odin , Donot check reboot after flashing.
Flash recovery using odin , remove usb from device , put battery back and then try running recovery , worked for me.
akash14darshan said:
Remove battery of your device before flashing using odin , Donot check reboot after flashing.
Flash recovery using odin , remove usb from device , put battery back and then try running recovery , worked for me.
Click to expand...
Click to collapse
When I do this and I try and load recovery after it just goes to download mode instead. what firmware have you got on the device?
bazg777 said:
When I do this and I try and load recovery after it just goes to download mode instead. what firmware have you got on the device?
Click to expand...
Click to collapse
You can and you should flash in download mode , I dont think you'll be able to flash anything using odin without going into download mode
akash14darshan said:
You can and you should flash in download mode , I dont think you'll be able to flash anything using odin without going into download mode
Click to expand...
Click to collapse
I did flash in download mode. After flashing remove cable, power off without restart. Power on holding recovery keys - the device says "booting recovery..." in red text at the top but it boots to download mode instead.
Which rom were you using when you flashed TWRP?
Here is the solution
https://forum.xda-developers.com/android/help/install-hk-version-chine-sm-c7000-32gb-t3550591

Latest Modem & Stock Recovery

FOR SAMSUNG GALAXY ALPHA G850F
For anyone who doesn't want to download the whole stock firmware or is using a custom ROM and hasn't update baseband/modem in a while or want to go back to stock recovery here are the latest Modem & (Stock) Recovery files taken from G850FXXU2CPG1_G850FOXE2CPG1_G850FXXU1CPC1 firmware
Download Modem : https://goo.gl/5Yr1Dr
Download Recovery: https://goo.gl/y1O3WM
To flash modem:
1. Download Odin here https://goo.gl/wL8LFs
2. Open Odin and click on CP and find the modem.bin file (wait until it says Added then countinue to 3)
3. Put your phone in Download Mode
4. Connect it via a USB cable with your pc
5. Click Start
6. Wait until your phone is booted.
Done !
To flash recovery (the way I do it )(You must have root):
1. Get the Flashify APP here : https://goo.gl/aQqYGa
2. Open Flashify and select "Recovery Image" under Flash
3. Find your recovery.img file, click ok and flash it
4. Wait for it to finish
Done !
Thanks.
Please Help me!
Why isn't working on my phone? I follow all the instructions, Odin install all perfectly but keep doing boot loops
I've flashed modem but LineageOS still isn't detecting my sim card.
Amazing, thank you! Downloading >1GB from cheapy download sites like rapidgator capped at ~30KB/s with flaky wifi is impossible for me.
ty
DurimKlaiqi said:
FOR SAMSUNG GALAXY ALPHA G850F
here are the latest Modem & (Stock) Recovery files taken from G850FXXU2CPG1_G850FOXE2CPG1_G850FXXU1CPC1 firmware
Click to expand...
Click to collapse
I suppose the baseband (CP) version you have attached is G850FXXU1CPC1
I have version G850FXXU1COJ5 and can't update - Odin can't flash, no details for the error, just failed 1. The full name of the ROM I had flashed is
G850FXXS2CQA2_G850FOLB2COJ1_G850FXXU1COJ5_HOME.tar.md5
and previously I had used
G850FXXU2COK6_G850FOLB2COJ1_G850FXXU1COJ5_HOME.tar.md5
which seem to have same baseband.
Why can't I update the baseband?
Thank you
Hi,
I am trying to flash newer baseband from what I have: G850FXXU1COJ5
I tried but failed with flashing through odin of the following two:
G850FXXU2COK6.bin
G850FXXU1CPC1.bin
Perhaps I am making a mistake in flashing it, but I am not aware which is newer or what is the difference between these two U2 COK6 and U1 CPC1
U2 > U1, but COK6 < CPC1, so which one is newer?
Thanks
Hello! I have a Network problem with my Galaxy S6 SM-G920T, I need a Modem for my Galaxy. The Baseband Version is: G920TUVS6FRC1. Help me please!
Markpetit92 said:
Hello! I have a Network problem with my Galaxy S6 SM-G920T, I need a Modem for my Galaxy. The Baseband Version is: G920TUVS6FRC1. Help me please!
Click to expand...
Click to collapse
https://www.sammobile.com/firmwares/galaxy-s6/SM-G920T/

flash failed on rooted s5neo

guys i think i got a real problem here.
First of all i apologize for my english and thank you in advance
i was trying to flash magisk on my with twrp rooted device (samsung galaxy neo, G903F) and since i had some problems i thought i could try it on a fresh system again.
so i just wanted to flash a stock image from updato (i am kinda sure it is the right version).suddenly odin says the progress failed and after a few minutes waiting i disconnected and took out the battery.
when i wanted to start it, i got "error occurred while updating software. use emergency recovery function in smart smitch PC software"
after watching a short video i tried this smartswitch-thing, but its just telling me my device isnt supportet.
the problem is that my phone was rooted while i tried to flash the stock image right? so smartswitch wont work for me? what do you advice? only thing i can do is download modus.
help pleease
Bombadadil said:
guys i think i got a real problem here.
First of all i apologize for my english and thank you in advance
i was trying to flash magisk on my with twrp rooted device (samsung galaxy neo, G903F) and since i had some problems i thought i could try it on a fresh system again.
so i just wanted to flash a stock image from updato (i am kinda sure it is the right version).suddenly odin says the progress failed and after a few minutes waiting i disconnected and took out the battery.
when i wanted to start it, i got "error occurred while updating software. use emergency recovery function in smart smitch PC software"
after watching a short video i tried this smartswitch-thing, but its just telling me my device isnt supportet.
the problem is that my phone was rooted while i tried to flash the stock image right? so smartswitch wont work for me? what do you advice? only thing i can do is download modus.
help pleease
Click to expand...
Click to collapse
You should never remove the battery of your phone when an update failed , you just corrupted your system.
What you have to do now is enter in bootloader mode , plug you phone to your PC , and flash the stock system.img and boot.img.
Search how to do that on your device , watch videos and guide on XDA , then do this.
Remember to always make a backup of your system before doing that.
TY for the fast answer!
do you mean the recovery mode(home + power + vol.up)? i cant enter anything except of the downloadmode (home+power+vol.down). I extracted the boot.img and system.img from the tar.md5 file with 7zip and coverted it to .tar, can i flash that per Odin the same way i tried to flash the whole firmware? and if yes, in which order should i do it or sould i convert boot.img and system.img to one single .tar file? sry i googled more than an hour but didnt find instructions to do this. just the extracting and converting part and thousands of how to flash whole firmwares or fixes via smartswitch-.-
Bombadadil said:
TY for the fast answer!
do you mean the recovery mode(home + power + vol.up)? i cant enter anything except of the downloadmode (home+power+vol.down). I extracted the boot.img and system.img from the tar.md5 file with 7zip and coverted it to .tar, can i flash that per Odin the same way i tried to flash the whole firmware? and if yes, in which order should i do it or sould i convert boot.img and system.img to one single .tar file? sry i googled more than an hour but didnt find instructions to do this. just the extracting and converting part and thousands of how to flash whole firmwares or fixes via smartswitch-.-
Click to expand...
Click to collapse
I'm not an Odin expert at all , but I think you should use the .IMG file , starting with the system.img , and after the boot.img
But I'm not sure at all , take another hour to make searches.

Any root galaxy a10s

Is there any way to work root for galaxy a10s i tried all the methods and didn't work with me ... even the boot.img method via odin didn't work with me .... is there any other way ?????
Galaxy a10s Mediatek MT6762 Helio P22 (12 nm)
CPU Octa-core 2.0 GHz Cortex-A53
Any helps please
Good morming,
This link worked for me: https://www.full-repair-firmware.com/2019/10/how-to-root-a107m-9.0.html
Although I didn't use the BL from the (in my case TELCEL SM-A107M) firmware, I downloaded this Boot file (I don't remember from where ), it is for A107MUBU3ASI4:
https://mega.nz/#!tRgXgCTI!dHdQPB-MSQ7Znpm7d-Nme7lwwc_w2-im75putNHxgtM
SO I copied the boot file to the sdcard, ran magisk manager on the phone, selected patch boot image and selected the boot image on the sdcard for patching, after the patching is done, I copied the image back to the PC, started Odin, booted the phone to download mode (turn it off, connect the phone to the usb cable press power button to start the phone, then release the power button and press both volume buttons until it boots to download mode), then when Odin detected the phone I clicked the AP button on Odin, selected the patched boot file that I copied from the phone and then clicked on the Start button to flash the image, then when Odin finished, the phone booted automatically ... the tutorial says that the phone will ask for a factory reset and delete all the phone info, but in my case it didn't asked for nothing nor deleted my data, so I got root without losing information, as soon as the phone booted it was already rooted an root was working witout me having to do anything.
The first time I rooted my phone I installed xposed framework, then had some troubles with the beta version, got a bootloop and had to re-flash the original firmware, BUT when I tried to reflash the patched boot image I got the PreNormal message and had to wait a week to root again my phone .
So I googled and then found some info about the KG/RMM problem, but couldn't find a zip that worked for the SM-A107M, also since there is no TWRP available to this model, I wouldn't be able to flash the zip anyway, but I found that deleting this files:
libvkjni.so
libvkmanager.so
libvkservice.so
KnoxGuard.apk/Rlc.apk
will disable the service.
The first 3 are in the system/lib directory, the knoxGuard apk is in the priv-app/knoxGuard directory.
So I rooted the phone again (after waiting 7 day to prenormal to end) and in the first boot I
installed "Root Explorer" from the play store (Any file manager with root privileges will work) and deleted 4 of those files (the RLC.apk I couldn't find) and after 2 weeks of rebooting, reinstalling xposed, getting the bootloop problem again , re-flashing original firmware (without the KG/RMM prenormal state), re-rooting, and finally installing xposed without problems (in my phone the 4.6.0 beta version didn't work so I inistalled the 4.5.1 beta) I am happy with my rooted, xposed phone.
I would really like if somebody created/xported a TWRP for this model, but in the interim all is good the ends good.
Regards
:good: Thanks for the wonderful information .... But the problem I have is KGG / RM PRENORMAL STATE .... must do cancellation of the first ...
If you have already Prenormal state, then you have to wait 7 days, dont turn off your phone, don't restart and don't disconnect from the internet, then after the 7 days (168 hrs) the prenormal state should disappear!
Check this link:
https://forum.xda-developers.com/sa...w-to/guide-root-install-twrp-samsung-t3747535
Best Regards
I did not find prenormal state or normal.....
I found : KG status : checking
OEM unlock : off
Then, if not in prenormal, you should be able to flash and root your phone!
cheveguerra said:
Then, if not in prenormal, you should be able to flash and root your phone!
Click to expand...
Click to collapse
Good night
Unfortunately .... this root method did not work for me .... via Magisk ... I don't know what the problem is .... but this method did not work for me which is in many websites and it is the same way .... As follows my device info :
Ap: A107FXXU3ASJ5
CP: A107FXXU3ASJ1
CSC: A107FOJM3ASJ5
Model: sm- A107F / DS
The same method is used by everyone via Magisk ...
My device have no problem:
Unlocking the device bootloader
OEM unlock: off
Kg status: checking
I have no prenormal state
I followed all the steps on the sites
1- I downloaded Galaxy A10S Firmware
2- I downloaded and installed the latest Magisk Manager app.
3- Copied only the boot.img file from the extracted folder to a device storage.
4- opened the Magisk Manager app then clicked on on “Patch Boot Image File”.
5- when patched boot img finished from Magisk .... I renamed to boot.img and used 7zip and archived it to .tar format ....
6- I flashed via Odin in download mode but I got on fail .....
I don't know what problem ...
But this is what happened !!!!
Did you use the boot image (BL) I posted on the second post??
Download the file, copy it to your phone, use magisk manager to patch it, copy patched image to pc, flash via Odin to your phone.
Regards
No, I didn't use that boot img .... It the same : A107F .... A107M.. ???
I will try later.
I used that boot in your post .... for A107m.... l flashed via Odin in my A107F ... It's flashed in my device.... but when I boot to Magisk..... no root........ for that I think will wait someone to create twrp for galaxy A10s then I flash root.... Thanks for everything....
anybody with A107F firmware pls. i need to try to root mine.
raymihsenior said:
anybody with A107F firmware pls. i need to try to root mine.
Click to expand...
Click to collapse
You can go to sammobile there you can find it:good:
Try this for A107F
drive.google.com/file/d/1-5G6FDEzfT2oJ86aOneYGU1er7hbORIA/view?usp=drivesdk
DangVN said:
Try this for A107F
drive.google.com/file/d/1-5G6FDEzfT2oJ86aOneYGU1er7hbORIA/view?usp=drivesdk
Click to expand...
Click to collapse
....
This is TWRP 3.3.1.0 beta for galaxy A107F.... It's working????
.... Are you tested that ????
It is in img format and not in tar ... do we have to convert it to tar to flash it via odin?.
....
What do i need to do to make the oem unlock option appear again?
I've already tried the turning off updates and changing dates thing.
And I waited out the 7 days ( Which was difficult since my IP doesnt have a stable connection.)
I've started doubting if it even exists at all.
I only got my A10s for free from a carrier plan.
KG Status is Normal
OEM is still locked and nowhere to be seen
Helios007 said:
What do i need to do to make the oem unlock option appear again?
I've already tried the turning off updates and changing dates thing.
And I waited out the 7 days ( Which was difficult since my IP doesnt have a stable connection.)
I've started doubting if it even exists at all.
I only got my A10s for free from a carrier plan.
KG Status is Normal
OEM is still locked and nowhere to be seen
Click to expand...
Click to collapse
......
If you made all the attempts and didn't succeed with you ... Install the stock firmware for your country ... and you delay the date a few months earlier ... then go to update the program .... then you should have an OEM unlock
Hastoma said:
......
If you made all the attempts and didn't succeed with you ... Install the stock firmware for your country ... and you delay the date a few months earlier ... then go to update the program .... then you should have an OEM unlock
Click to expand...
Click to collapse
And how does one Install a "different/new" firmware?
I remember doing it once or twice with Odin with a firmware I got from sammobile SMA-107f.
Succeeded. Although I don't know if it actually worked, since it booted up just like the first time I got it, with the carriers default wallpaper and pre-loaded apps.
I've been trying to root the SM-A107F for weeks now but no luck.. Any help will be appreciated
cheveguerra said:
Good morming,
This link worked for me: https://www.full-repair-firmware.com/2019/10/how-to-root-a107m-9.0.html
Although I didn't use the BL from the (in my case TELCEL SM-A107M) firmware, I downloaded this Boot file (I don't remember from where ), it is for A107MUBU3ASI4:
https://mega.nz/#!tRgXgCTI!dHdQPB-MSQ7Znpm7d-Nme7lwwc_w2-im75putNHxgtM
SO I copied the boot file to the sdcard, ran magisk manager on the phone, selected patch boot image and selected the boot image on the sdcard for patching, after the patching is done, I copied the image back to the PC, started Odin, booted the phone to download mode (turn it off, connect the phone to the usb cable press power button to start the phone, then release the power button and press both volume buttons until it boots to download mode), then when Odin detected the phone I clicked the AP button on Odin, selected the patched boot file that I copied from the phone and then clicked on the Start button to flash the image, then when Odin finished, the phone booted automatically ... the tutorial says that the phone will ask for a factory reset and delete all the phone info, but in my case it didn't asked for nothing nor deleted my data, so I got root without losing information, as soon as the phone booted it was already rooted an root was working witout me having to do anything.
The first time I rooted my phone I installed xposed framework, then had some troubles with the beta version, got a bootloop and had to re-flash the original firmware, BUT when I tried to reflash the patched boot image I got the PreNormal message and had to wait a week to root again my phone .
So I googled and then found some info about the KG/RMM problem, but couldn't find a zip that worked for the SM-A107M, also since there is no TWRP available to this model, I wouldn't be able to flash the zip anyway, but I found that deleting this files:
libvkjni.so
libvkmanager.so
libvkservice.so
KnoxGuard.apk/Rlc.apk
will disable the service.
The first 3 are in the system/lib directory, the knoxGuard apk is in the priv-app/knoxGuard directory.
So I rooted the phone again (after waiting 7 day to prenormal to end) and in the first boot I
installed "Root Explorer" from the play store (Any file manager with root privileges will work) and deleted 4 of those files (the RLC.apk I couldn't find) and after 2 weeks of rebooting, reinstalling xposed, getting the bootloop problem again , re-flashing original firmware (without the KG/RMM prenormal state), re-rooting, and finally installing xposed without problems (in my phone the 4.6.0 beta version didn't work so I inistalled the 4.5.1 beta) I am happy with my rooted, xposed phone.
I would really like if somebody created/xported a TWRP for this model, but in the interim all is good the ends good.
Regards
Click to expand...
Click to collapse
This is very interesting. KG State has been non existent on my device, I can flash modified firmware since day 1. I'll try this, I tried patching the whole AP_ file and there are problems with the signal, I did not try only patching the boot.img
Thanks!
ShaDisNX255 said:
This is very interesting. KG State has been non existent on my device, I can flash modified firmware since day 1. I'll try this, I tried patching the whole AP_ file and there are problems with the signal, I did not try only patching the boot.img
Thanks!
Click to expand...
Click to collapse
when you flash the patched AP.tar you should also be flashing it with the rest of the firmware.. tjw even says somewhere on his github you shouldnt flash the patched AP by itself

Question A52 5G Bootloop after Flashing Magisk Patched boot.img

I wanted to root my A52 5G (SM-A526B) i first unlocked the bootloader
then i downloaded my Firmware with Frija and patched the boot.img with Magisk then i went into download mode and flashed it with Odin
Odin gave me a Green PASS Message and i knew i needed to factory reset with recovery mode but i couldnt get into it then i got into a boot loop with the Samsung Galaxy Bootlogo
then i tried to flash Twrp with odin to factory reset because i couldnt get into the stock recovery mode Odin again gave me a PASS Message then i tried to get into recovery mode but it still didnt work and now im trying to flash Stock Firmware but cant get it to work what should i do
The picture is what happens when i try to boot please help me to flash stock firmware
When i try to flash Stock Firmware it fails at the very end on vbmeta.img
The a52 5g doesn't have twrp currently. Also, you might have flashed the incorrect firmware.
Plus, just for you to know, you do not need to do factory reset after flashing your firmware. What steps have you taken to flash this firmware? How did you patch magisk? Show the steps so we can help you cuz you might have done something wrong
Ok it seems that your mistake here is that you are trying to flash boot.img. so what you actually suppose to do is to download the firmware, take the AP file from the firmware(don't extract the file!). Then, move the file to your phone and download magisk on your phone. You will see that magisk is offering you to install magisk on the top corner of your screen. You need to choose to patch the file, the AP file. Once magisk done, on your file explorer(probably in downloads) a file called "magisk_patched xxxx.tar" (the xxxx representing the version of magisk). Take this file and copy it to your computer, and on Odin, instead of using the AP file, use the magisk file. Boom, done. Now first, we need to recover your phone to its original condition. Take the AP file and flash it(not the boot.img!)
DownBaddie said:
When i try to flash Stock Firmware it fails at the very end on vbmeta.img
Click to expand...
Click to collapse
Try flashing other parts of firmware, not just AP
i.e. BL, CSC and CP
But don't add home_csc (USERDATA).
If all fails, you can use EDL mode to flash firmware
How To Flash Qualcomm MBN Firmware Via QPST tool
If your device is based on Qualcomm’s CPU and you’re searching for an easy way to flash the device’s stock ROM, here ends your search. You just need the QPST tool and the instructions here to guide you. Follow the instructions below to get you started. Prerequisites: Qualcomm QPST tool –...
www.leakite.com

Categories

Resources