yashsingh1/xdaforums huggingface dataset:
[Wing, P4350 ROM development] Inclement_Death:
Victory is not mine.

I thought I had found it, but it ended up not working properly. It wasn't a total loss though; I did learn a lot about where the language 'strings' are stored.

Does anyone know how embed a custom version name into the 'About' screen.
[Wing, P4350 ROM development] kdskamal:
Ask/PM Aserg. He does this in his ROMs
[Wing, P4350 ROM development] Inclement_Death:
Thanks for the help, I'll contact him immediately.
[General Topics] KARIM9377:
Hi all I want help to fix HTC desire d826w that brick with Qualcomm HS-USB QDLoader 9008

Read mmcblk0 Guide

Here is how to read mmcblk0.img form a working phone,

1.Root the phone,

2. Install BusyBox

HTC devices doesn't accept regular "busybox",

so, we have to install it via "BusyBox on Rails",

and here is the premium version,

BusyBoxOnRails

3. Put an SD Cardin the phone(8 or 16GB), then enable "USB Debugging",

4. Connect phoneto PC and run this commands from PC one by one,

adb shell

su

dd if=/dev/block/mmcblk0 of=/sdcard2/mmcblk0.img

5. Now reading process started and you have to wait for it to finish,

6.After process finish, you will have the "mmcblk0.img" file in your SD Card, Now just copy this file to your PC and follow the rest of the guide,

Upload for me so I can fix the D826W

>>DONE​

Thank you
[P8lite General] GuestK00375:
-deleted-
[P8lite General] minicm94123:
¿? so... There's nothing
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] elderwolf123:
I have installed android O and have TWRP installed but when i try and flash Super SU through TWRP it fails and does not root, i dont know why or if ayone else has experienced this problem on the A5 2017 but if someone has and knows how to fix it please let me know
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] elderwolf123:
47 views and no reply, come on. i had to update and reformat as my phone was playing up, i have data for work apps that i need to restore. how can an old thread about the january security update be active still yet one about the Android O update gets ignored
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] jfk999:
What error do you get while installing in twrp. send logs screenshots

Btw you have to be patient mate. It takes time for people to understand your problem and find solution

You can try magisk also if you want
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] elderwolf123:
it wont mount data and then when it mounts it spits out an error saying it cant patch the ram disk, also i have had it too many times where i have asked a question just to have it ignored to this day
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] 24imelqui:
Your device is encrypted, you need to format data to decrypt device and flash root and flash the zip to disable encryption, dont know where the zip file is.
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] elderwolf123:
if i disable encryption then safety check will always fail. i didn't have to earlier but every time i delete data and try it fails saying ram disk cant be patched or restored
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] elderwolf123:
I have the same issue as jfk999 except having data wiped, i have tried everything i know and so far to no avail. last time i isued the no encrypt zip it broke safety net and most of my apps including the phones stability. https://xdaforums.com/samsung-a-series-2017/help/root-issues-oreo-t3800852
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] ashyx:
SuperSU isn't really compatible with Oreo as it needs some patches to work which it's unlikely to get.

Magisk is now the premier root solution and the most up to date for Oreo and includes the relevant patches.
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] elderwolf123:
I tried magisk and it failed, i must just be unlucky and also some root apps and pc programs dont like Magisk
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] ashyx:
Failed in what way?

If you have an app that has issues then you need to notify the developer of that app.
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] jfk999:
Failing in patching ramdisk points to possible error in boot image.You can try the method given by moozer in my post that helped me patch the boot image.I guess that would solve your problems

Also try starting from scratch..try downloading clean rom from sammobile and start over.

Hope that helps
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] elderwolf123:
same as Super Su, wiped data and it failed to patch the ramdisk and then it couldnt restore it, it looped my device so I had to use the Magisk uninstaller to fix it. All i have done since updating is install TWRP and tried rooting which is failing
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] ashyx:
Please post the TWRP recovery log(file only) so I can fix this.
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] elderwolf123:
I tried dumping the logs but it failed, magisk sais there is already root and super SU says another error. i dont have root so i cant fix it for starters and im not wiping my phone again if i can avoid it as even with backing up my data im losing some and last thing i need is to lose a really important photo i have
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] ashyx:
How do you mean it fails? :confused:

Just select save recovery.log and save to sd card.
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] elderwolf123:
i did that and the logs didnt save
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] elderwolf123:
When i do it my phone picks up the main storage as an SD and always has then there is the Micro SD. it tries mounting the data partition to copy it but it fails
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] ashyx:
That's why I said save to micro sd card. Just select micro sd as default storage then save.
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] elderwolf123:
And how am i ment to do that? cant do it through Android and i dont think i can do it through TWRP

This is what the TWRP log says when I try and dump logs to SD

Could not mount /data and unable to find crypto footer

Failed to mount '/data' (invalid argument)

Unable to recrate /data/media folder.

updating partition details...

Failed to mount '/data' (invalid argument)

... done

Unable to mount storage

Failed to mount '/data' (invalid argument)

Full SELinux support is present

Unable to mount /data/media/TWRP/.twrps

MTP Enabled

Failed to mount '/data' (invalid argument)

Copied recovery log to /data/media.

I am running 3.0.2-0 TWRP as thats all i could find and get
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] ashyx:
Mount/select storage/micro sd card.
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] elderwolf123:
here is the log, hopefully it contains both info on SuperSU and magisk
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] ashyx:
OK couple of issues with the log.

You didn't try patching a stock untouched boot image.

Both Magisk and SuperSU need a previously unpatched image to work with.

I suggest restoring the stock boot image or whole firmware and the try patching with Magisk first then post the log.

Also on the meantime can you provide the stock untouched boot.img.
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] elderwolf123:
I dont know how it isnt the stock as that what I flashed, i wouldnt mess around with the boot at all.
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] ashyx:
I think your sending me the bootloader I actually need the boot.img.

You can either pull this from the AP part of the firmware or make a boot image backup with TWRP and post that.

Note: the boot image must be untouched and not patched.
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] elderwolf123:
this is the backuped boot

https://mega.nz/#!XRMASKhZ!PECy8oIyx_qJFcURRQ403bCZ01hyW6OdUepmn23OjQ4
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] ashyx:
OK 2 things.

The boot image is not stock untouched it has been patched by supersu.

Second Samsung seem to have ignored Google's specifications for Oreo regarding the FSTAB and have placed it in the Ramdisk, where it shouldn't be.

It should be in the system partition.

However irrespective of that it seems SuperSU has correctly patched the boot image, so not sure of what the issue is unless you post both an unpatched boot image and the recovery log immediately after patching with Magisk.
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] elderwolf123:
Ill send a untouched boot when I get home and does not suprise me that Samsung stuff up at some point. Also is there a way to backup the data partition and recover it later so I dont lose my data? I literally have lost it way too much so far
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] leo31:
very easy to gain root with magisk...

its useless to waiting an answer from other senior member here! just like mine, asking a very simple question, and no one answer my question. nor xda recognized contributor try to help me solving my problem until i found it by my own. others A series 2017 owners are very lack of supporting each others.

now you gain root.
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] roshan_dubey-:
Guys I cannot connect my device to PC after oreo update it just shows charging in my device after connecting it to PC please help
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] elderwolf123:
I asked if there was a way to backup and keep my data but have not recieved a reply
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] exnokiafan:
Alright...I might ask [MENTION=4899305]ashyx[/MENTION]...

I have updated my A5 2017 out of the box from Nougat to OREO yesterday. Today, I carefully followed the guide by corsicanu (totally stock oreo, Enable OEM unlock, put stuff to flash in the external sd card, flash 3.2.2 twrp unofficial with auto reboot turned off, entered twrp and allowed modification), but I end up with internal storage size = 0 ...So I cannot flash neither RMM patch nor the encryption patch. I cannot even wipe data becasuse it says it fails to mount data. I have already encountered this problem with other phones on Nougat but I always managed to solve it.

This time there seem to be no way out for me.

Obviously if I try to boot the phone normally, it takes me to the TWRP.

Any advice?
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] mindlery:
Hey i have installed twrp and magisk after getting oreo on my A5 2017.

It is SM-A520W so i am not sure if my image will work for you. I got it from twrp builder.

I skipped over a lot but i didn't really see a solution.

Before you flash anything you'll want an SD card with magisk 16.4 and the noverity file for encryption on it.

When you flash twrp you gotta pretty much have your thumb and index finger on volume up and power and with your other hand at the mouse... click start and like a ninja bring it right back to the home key. Don't look ANYWHERE EXCEPT YOUR SCREEN. It takes about 5 seconds for it to go black and then IMMEDIATELY press those 3 buttons and hold on for dear life until you see that wonderful blue and grey image appear.

But it will be encrypted. Read only, format, yes, home REBOOT TO RECOVERY. System hates you.

Now read only, install, look for the sd in the drop down menu. What you first see is not your sd card. Install noverity, reboot to recovery. Same as noverity but now you're installing magisk. Reboot to system and grab a donut.

*If you see red text after formatting, do it again. Just back up a bit and redo. Stay out of system.

*If you are not encrypted you won't need noverity and will not see any warnings on the first screen in twrp i believe

*Keep noverity on your SD or have it ready to use later on because i was doing stuff and got the original warning going into recovery and after flashing noverity and reboot to recovery it was good

Use twrp builder to get the image if you can't find it and i used tar builder to convert along with the version of odin the builder came with.

There probably is/was an easier way but i am new at this and after 5 times failing i hope this is the best advice for someone.

It's actually called tar tool and here is how you get your .img file to work in odin. Use the odin included with the tool and it works if you do it correctly:

https://xdaforums.com/showthread.php?t=2446269

Also, this is everything I said with links to Magisk and noverity. I did not use the odin version on the page because it worked with the tar tool but you may not need the tool:

https://highonandroid.com/android-r...w-magisk-on-samsung-android-universal-method/

Special thanks to Max Lee
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] Pat750:
I think you forgot to format data (in the wipe screen at the bottom) after allowing modifications.
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] exnokiafan:
Shame on me, dude :) everything went fine.
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] elderwolf123:
Anyone willing to help me? im waiting paitently but am getting no reply
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] mindlery:
Hey. Yes you can.

I replied i think...

Are you still stuck in twrp?

If so use the link i provided and put noverity on an sd card. Put magisk 16.4 on it as well.

Easier if you let me know where you're at.

Your a5 is encrypted and once twrp first runs you must format, reboot to recovery and install noverity.

Then again reboot to recovery... What is your situation?
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] elderwolf123:
boot is bad so i need to reflash it then ill tey again, last time i used the noverity encrypt it broke safety net and i couldnt do anything. I need to know if i can back up te data then restore it after refreshing boot.img as i have had to wipe my device way to many times so far. I was not stuck in twrp but my phone wouldnt root properly
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] mindlery:
Ok i got twrp from twrp builder app. Convert tar builder.

Frig at work i need an hour. First wipe if you see red do it again... It works 1 hour
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] mindlery:
So... See my post above?

But i have a few minutes.

Before you do this you will want to back up. Always if you have something to keep. I got smartswitch.

Ok i have sma520w

If you are 100 sure you got a good recovery, use if not i got from twrp builder and it is working

I had to get tar builder and if you do do it with their included odin.

Now when first in reco.... You will need read only then wipe. Might need twice until all is white text..

Important you reboiot to recoveery wgen wipe only when good. NORMAL screen should be seen. Then must use sd card. Flash MAGISK 16.4 reboot to systrm. K work again. FOLLOW MY POST EXACTMY AND IT WILL WORK. USE THE LINKS i
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] elderwolf123:
Thanks but I have done this before and i found out its a bad boot. Smart switch faild for me and i have no other tools to use. I wiped the data catche often so i know boot is bad thanks to an XDA mod
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] mindlery:
h almost everything out there. So... You will want latest odin and your official stock rom. Can you get into download mode?

K! Can you get the rom, latest odin and your phone into download mode?

---------- Post added at 08:44 AM ---------- Previous post was at 08:19 AM ----------

I am home now. I am up all night so i can better provide links, info and through each step and if you get back to stock, and have your twrp ready and an sd card with magisk and noverity, it takes 5 minutes but no need to rush. How and when is up to you.

I will post the link for your firmware taken direct from samsung. You always will want that.

And then after you are running root we'll make a nandroid back up.

If somehow you do this on your own, don't do anything extra on your phone when restored other than any updates. No passwords or pin or anything. As bland as possible. A nandroid is awesome but utterly useless with screen passwords and you will have to start over if you make a mistake.

Also when you get magisk and boot, it will have magisk in your apps. Click it and install when prompted.

---------- Post added at 02:09 AM ---------- Previous post was at 01:44 AM ----------

Your firmware is here. Choose your provider and it's what you should have already before you started this but it's ok. Will be a while to download but no choice.

https://www.sammobile.com/firmwares/galaxy-a5/SM-A520W/

Grab the latest odin which you probably already have. It is available on the site if you need it by the instructions where you start your download.

AP (System &Recovery)

BL (Bootloader)

CP (Modem / Radio)

HOME_CSC_*** (Country / Region / Operator)

Those are the 4 files you will load up in Odin. Use HOME CSC as listed. Do not use the other. Hit start and let it heal your phone up and just unplug it when done and it reboots. Use your original USB-C cgarger cable.

After that you have 2 choices. Trust me and use the twrp builder app (not twrp in playstore) to get your img. file and convert to .tar...........

Or just use your phone like none of this ever happened.

I'll repost exactly what you need and where you're going to get it. Also, even if you do it exactly as instructed you understand that it can fail and you might brick your phone.
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] elderwolf123:
Have all that and have done it all before, no verity encrypt can stuff off as i said it breaks safety net and theirfore most apps, if it does brick it will be a soft brick which is easy to recover from. Again can i backup the data partirion and restore it later?
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] elderwolf123:
Have all that and have done it all before, no verity encrypt can stuff off as i said it breaks safety net and theirfore most apps, if it does brick it will be a soft brick which is easy to recover from. Again can i backup the data partition and restore it later?
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] mindlery:
tools

Here is the link to your recovery .img file. It is right at the top latest release 11 days ago as of now.

https://github.com/TwrpBuilder/android_device_samsung_a5y17lte/releases

I used it on my phone and it is 100% working

Rename it recovery and of course do not change the file extension. Just a simple name change.

Now unzip and open the tar tool folder until you get to the directory as displayed in the photo below. Put the recovery.img file in there and run I think a batch file. Instructions are in there and when done correctly you'll see recovery.tar.md5 and THAT is your twrp that you've been looking for.

tar tool here:

https://xdaforums.com/showthread.php?t=2446269

VERY IMPORTANT YOU NOW COMPLETE THIS STEP BEFORE TWRP IS INSTALLED

This is what I did... have an SD card for your phone and on it you will have your Magisk 16.4 zip, your noverity zip, and Magisk uninstaller zip (needed if you get a bootloop for some god awful reason but you shouldn't) This will be your line of defence against your encrypted drive and give you root.

The very first, 3rd and 5th download files are the ones you want. No super SU or S9 version from there. Ignore that. Just put the 3 files on your SD and don't do anything to them. Put as is.

https://highonandroid.com/magisk-supersu/

Now, you will make sure developer options are enabled, oem unlock is enabled, USB debugging enabled and proper drivers on your PC. Plug in the phone and you will carefully select on your phone yes to always allow your PC to trust or something like that. If you did it right you can check by running odin and seeing "added" you should be familiar with these steps already.

So yeah... whenever you're ready to continue... you will read this page and follow it perfectly and that's it, that's all. My last piece of advice? When you flash twrp, you better be ready to go into recovery the instant your screen goes black. This is the only extreme time sensitive adrenaline rush part of all of it. If you miss you'll have to go back to stock... again. Mouse click start and 5 or so seconds as quick as the screen goes black you are on the the 3 buttons and holding until twrp runs.

Final part here and this is the guy that helped me help you:

https://highonandroid.com/android-r...w-magisk-on-samsung-android-universal-method/

good luck!
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] mindlery:
I used it and I used magisk. I just did it a few days ago on the same device as you. Use Magisk. It works. If you want to have a back up before putting in twrp then you need the file from sammobile.

But follow my directions and it will work. two days ago I went into recovery to install a magisk module and twrp gave the same warning about encryption. I flashed noverity, rebooted to recovery and carried on.

I can only tell you what worked for me and I always had my complete operating system with nougat and then oreo downloaded on my PC in case I screwed up which I did 5 times until using the method described just above.

I did it with Nougat then went back to stock to get Oreo and waited for a new twrp which you need from the link and it worked again.

Once you run the first time and get magisk running, then you can get back into recovery and make a nandroid back up and if I am not mistaken, you'll have the holy grail

That is the best I can do. I actually really don't know much but what I do know, I know and now it is up to you!

---------- Post added at 10:52 AM ---------- Previous post was at 10:23 AM ----------

And noverity is to get by encryption. I am unaware of how else you can do it. Without it, you cannot do anything. It is the patch to allow you to get Magisk installed. If you don't want to use that method then how else are you going to get by that step?

Forget super su and use magisk and when you do your first run click it in apps, download the 5.3 or what new version it offers and when your screen is as pictured i repacked it in settings and THEN CHILL. YOU MADE IT.

grab a nandroid and i will tell you what you can remove if you want... Or maybe hades rom will be ready...

DO IT. If you don't trust my way it is okay because i know it will help someone else soon.

I wish i had those instructions because it works.

I didn't know i might have to wipe my drive twice at first and you may not. This took over a month to get right because apparently only 2 Canadians with an A5 want root.

Geez i am not far from the truth i think.
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] mindlery:
Now i am worried that you are going to go to locate noverity and get confused. You will be asked to select a file but it won't be there.

You gotta go into a menu and select micro sd.

The first seemingly obvious choice is labelled sd card and nothing is there.. just don't panic! Look for the drive select or something.

No need to rush if you made it to recovery.

---------- Post added at 11:23 AM ---------- Previous post was at 11:18 AM ----------

And umm... Don't take out the whole operating system.

Told you it took me 5 tries...

---------- Post added at 11:31 AM ---------- Previous post was at 11:23 AM ----------

One attempt left me clueless in twrp and i had to work so i asked around and showed them and they thought i was nuts. I did not fully know what i was doing until it worked. So...

If i see another tutorial on the F variant i might go postal.

I am aware of your anger.

---------- Post added at 12:00 PM ---------- Previous post was at 11:31 AM ----------

Oh... To answer your question...

No. Your back up is as it should have been all along us the official stock ROM available on sammobile.

You fail, you start over and with a clean stock version.

Once you get it right and have a nandroid DONE RIGHT i think... Still learning but that might get you the ticket out of needing stock firnware unless you are careless and brick it by mistake. Easy to do with no restrictions.