yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Alpha] Detonatte:
I have Samsung Galaxy A5 SM-A500FU. When someone calls me, not hear nothing. If you call me back, I hear perfectly. But it is not always.

The same problem I had on Samsung I9505 Galaxy S4. Does anyone know how we can remedy this problem?

My phone is rooted. Software is original factory with A500FUXXU1AOB4 4.4.4 KitKat Romania COA.
[Samsung Galaxy Alpha] mygalaxya:
We have now a forum section for A Series!

Here it is: http://xdaforums.com/samsung-a-series
[Samsung Galaxy Alpha] :
Good. Now the moderators can move all A series posts to that section.
[Samsung Galaxy Alpha] mikeloury:
Great :) This is what we needed :D
[Samsung Galaxy Alpha] mygalaxya:
Hi all!

I built CM for GALAXY A3, for those interested here's the link to the Thread to download the ROM etc: http://xdaforums.com/samsung-a-series/development/rom-cyanogenmod-12-1-samsung-galaxy-a3-t3232379
[Samsung Galaxy Alpha] ilovemyson:
Samsung Galaxy A5FU imei change?

Hi everyone. is it possible any program? phone rooted with SU
[Samsung Galaxy Alpha] Sheer Khan:
help please

hello sir i have a problem i have install twrp recovery .... then i installed a custom rom.. but now its not booting into system ... its rebooting back into recovery again and again... like a boot loop... even after i clicked boot into system in twrp recovery please help
[Samsung Galaxy Alpha] :
sources a500fu galaxy-a5

okay here's a rough tree and kernel source

tree - updated

https://github.com/moonbutt74/device_samsung_a5ulte

kernel

https://github.com/moonbutt74/kernel_samsung_sm-a500fu
[Samsung Galaxy Alpha] astrit1:
[MENTION=5864662]moonbutt74[/MENTION]

The SM-A500FU i think is the Europe Verison ,

it has LTE,

and a 64bit Processor read in the link below

http://www.arm.com/products/processors/cortex-a/cortex-a53-processor.php

the other things you neded i dont have them for now because my device is in the repair shop
[Samsung Galaxy Alpha] :
A,

hey hey, good morning, okay thanks for the images,

you have this phone rooted?

m
[Samsung Galaxy Alpha] astrit1:
yes i rooted it with this cf-auto root but it is still on the repair shop because i cracked the screen hihi

https://download.chainfire.eu/699/CF-Root/CF-Auto-Root/CF-Auto-Root-a5ulte-a5ultexx-sma500fu.zip (only for SM-A500FU)
[Samsung Galaxy Alpha] :
Ouch ! okay, i have to look up a few things on building for 64bit devices. I would like to attempt

a recovery build, getting a device tree together, i will update when i have a test.

m

I need a device owner to run the following in terminal for me please,

cat /proc/cpuinfo

cat /proc/partitions

cat /proc/emmc <---i may be a little off on this command, i want to know partition sizes

or download this static parted binary [zipped] https://www.androidfilehost.com/?fid=23991606952606321

extract and copy to /system/xbin and make executable

chmod 755 /system/xbin/parted

then run

parted /dev/block/mmcblk0

at the (parted) prompt run

print all

post all the above requested output here, when you done with parted press q to quit, then you can remove

it, there's really no other use for it.

thanks.

m
[Samsung Galaxy Alpha] astrit1:
asked a friend to do it for me

see image if you dont understand the text

cat /proc/cpuinfo

see image if you dont understand the text

cat /proc/partitions

he did it with adb on computer the last command for the partition siye dident work
[Samsung Galaxy Alpha] :
I need an a500fu owner to provide a listing of /system/lib/modules

okay, kernel compile is sorted, samsung's sources get sloppier every release.

This device has prima/pronto drivers?

m
[Samsung Galaxy Alpha] :
Galaxy-A5 SM-A500FU Philz-ADV/CWM Recovery Test-1

A,

can you do some networking and find me a tester who knows what they are doing ?

Or if you have your phone back are you upr for it ?

Here is round 1

Galaxy-A5_sm-a500fu_Philz-recovery_Test-1.tar - https://www.androidfilehost.com/?fid=23991606952608052

odin flash instructions- the usual routine BUT uncheck auto/reboot/restart, when flash completes [res-ok], disconnect phone and

manually force reboot to RECOVERY, stock recovery you posted is linked below, if booting of test fails

the following is the test , if it recovery boots,

1 navigate menus to check for issue

2 goto options and set compression to medium [enable tar.gz as backup default]

3 plug into pc while in recovery and run adb shell and check if you can get root access, if yes then run

parted /dev/block/mmcblk0

then at the (parted) prompt run

print all

I need that output. to exit parted press q

4 if good so far make a full backup of system

5 go back to main menu and then to power options and select reboot recovery

6 if reboot recovery succeeds, reboot normally [ back to OS]

7 navigate to /sdcard/clockworkmod/backups and actually inspect the backup for correct size , pull the archives from your phone

and inspect them further with 7zip etc for correct content

If correct, good.

If all the above checks out let me know, if recovery boot fails force boot to odin mode and restore stock recovery

Galaxy-A5_sm-a500fu_STOCK_RECOVERY.tar - https://www.androidfilehost.com/?fid=23991606952608065

m
[Samsung Galaxy Alpha] astrit1:
I got my device yesterday back

I could flash it but what when my device get in a bootloop and I can't repair it ?

Does the Knox warranty change?
[Samsung Galaxy Alpha] :
A,

Cardinal rule of development and device modding,

You mod your device, you pay the price.

I'm not concerned with knox at all. If you want to keep your warranty, don't mod your device.

Now, if boot fails as posted in previous post, force reboot to download/odin mode and reflash your stock recovery.

Remember, I am working blind, meaning i do not own/possess this device.

m
[Samsung Galaxy Alpha] astrit1:
yea yeah i know'

tried to flash it withe odin but i got a fail on odin it wont flash
[Samsung Galaxy Alpha] :
hmm okay what was the message odin gave and what version are you using ?

also i need you to get that parted binary and follow the instruct to get me the info i need, thanks

m
[Samsung Galaxy Alpha] astrit1:
It just said smth Secure Boot and then Fail

I use 3.10.6 latest version
[Samsung Galaxy Alpha] :
NOOOOOO, dammit, okay i need to look up some things, you may not be able to get this done,

get me that info from parted in the meantime

m

---------- Post added at 01:21 PM ---------- Previous post was at 01:16 PM ----------

try this version of odin and samsung usb drivers
[Samsung Galaxy Alpha] astrit1:
which version?

here you have two screenshoots when i tried to root my device and got the same error
[Samsung Galaxy Alpha] :
A,

sorry the link didn't paste

here https://www.androidfilehost.com/?w=files&flid=25040

why are you flashing cf-autoroot?
[Samsung Galaxy Alpha] astrit1:
To get root on my device again ,but I think it has smth do to with that qualcomm secure boot
[Samsung Galaxy Alpha] :
When those bastards "fixed" your phone they wrote a new bootloader.

That's the only thing i can figure if you were able to root your phone the first time with cf-autoroot
[Samsung Galaxy Alpha] astrit1:
yeah i think they wrote a new bootloader

tried that version of odin i got the same error
[Samsung Galaxy Alpha] :
Okay, so a new problem, where are you btw ? Does your country have consumer protection / anti-fraud laws covering this?
[Samsung Galaxy Alpha] astrit1:
I am not sure if they have those things

I live in Germany
[Samsung Galaxy Alpha] :
Do you know if the original firmware release for your model is available ?

I spent almost 16 hours working on this, I want to strangle these bastards.

And listen to happy uplifting music while i'm doing it !!!
[Samsung Galaxy Alpha] astrit1:
yeah i have downloaded it to my pc if anything happens :)

but i dont thing it is my phone with that problem there are others too which got the same error when they try to flash something with vodin

have a look at the comments here http://www.samsungsfour.com/tutorials/how-to-root-samsung-galaxy-a5-sm-a500f-on-kitkat-4-4-4.html
[Samsung Galaxy Alpha] :
Okay, but when you first rooted your device, you used cf-autoroot successfully?
[Samsung Galaxy Alpha] astrit1:
yes

i think i know the problem ,when i first rooted my phone it had the firmware KTU84P.A500FUXXU1AOB1 and that cf auto root is only for that firmware see image

but now my phone has the latest firmware KTU84P.A500FUXXU1AOB4 and i think that is the problem why it wont root
[Samsung Galaxy Alpha] :
Okay now we're getting somewhere , find that firmware and get it downloaded and then get it uploaded somewhere that everybody can get to it if you can.

At this point though, you have to decide if you want to risk a complete brick or not in trying to restore the original firmware you had.

And then if odin will even allow the original to be flashed though it should be a signed official release we can't really be sure.
[Samsung Galaxy Alpha] astrit1:
tried to flash it odin wont let to downgrade

i request that cf auto root for latest firmware on the official thread here http://xdaforums.com/showthread.php?t=1980683&page=99 i hoppe they make a new one

---------- Post added at 08:36 PM ---------- Previous post was at 08:33 PM ----------

no need to upload it somewhere else it can be found here https://www.samdownloads.de/download/a500fuxxu1aob1-dbt-4-4-4-germany/
[Samsung Galaxy Alpha] :
okay, so we're at a dead-end then :(

Thanks for being willing to test A, :good:

What i will do is keep sources in place, and maybe a dev with the actual device will be able to pick up the project from here.

If you find a solution to this and prove it to work, come back to this thread and notify me?

m
[Samsung Galaxy Alpha] astrit1:
no we are not dead-end

dont give up

i will inform you when they make that new root file
[Samsung Galaxy Alpha] bernardwu:
[MENTION=5864662]moonbutt74[/MENTION] [MENTION=5819220]astrit1[/MENTION]

hey guys. I see you are having hard time with rooting your A5 latest firmware. No worries your little bro is here to help you (A3). Recently Lollipop 5.0.2 came out for A3 but the c.f. root file is only for 4.4 Kitkat. But I successfully root my A3 running 5.0.2 with the c.f. root file meant for 4.4. I think this method will work for your device as well. Dont worry it won't brick your phone. Here's the thread http://xdaforums.com/android/help/root-request-samsung-galaxy-a3-sm-a300f-t3090620 Good luck ;)

Any questions don't hesitate to ask me

I'm still looking forward to custom recovery for Samsunng Galaxy A3 tho. Hopefully someone will develop it soon.
[Samsung Galaxy Alpha] astrit1:
[MENTION=6619532]bernardwu[/MENTION]

How am i supposed to do the step one when odin fails every time i try to flash the cfautoroot file?
[Samsung Galaxy Alpha] bernardwu:
hmm that's weird. you sure you're using the right cfroot fille for your device?

you gotta flash cfroot file width your phone in download mode. Perhaps you should get a newer version of Odin or try running it in administrator . then try again.Last resort:factory data wipe.

P.s don't forget enabler USB Debugging
[Samsung Galaxy Alpha] astrit1:
nevermind it was that dam think Reactivation Lock[KK] which wonted let me flash any thing disabled it an succesfully rooted my phone

thanks
[Samsung Galaxy Alpha] bernardwu:
now you can continue developing with [MENTION=5864662]moonbutt74[/MENTION]

good luck!! :)
[Samsung Galaxy Alpha] astrit1:
Good News

[MENTION=5864662]moonbutt74[/MENTION]

successfully flashed the recovery and it is working , now i am trying to get you the files you requested :D

---------- Post added at 12:37 PM ---------- Previous post was at 12:27 PM ----------

here is the parted think you wonted

i couldnt make any backup this is still not working
[Samsung Galaxy Alpha] :
A,

okay, from here foward you have to explain what you say.

what do you mean by you can't make a backup, what error messages do you get?

I need logs, data, stuff ! :silly:

go into /sdcard/clockworkmod and look for recovery logs

m
[Samsung Galaxy Alpha] astrit1:
there is no clockwordmod folder in the sdcard becuse te recovery is unable to mount the partititions

when i boot to the recoveryi get

E:Can´t mount /cache/recovery/last_install

E:Can´t open /cache/recovery/last_install

when i go to Mount and Storage menu an try do mount smth i get the error

for example

E:Error mounting /system or

E:Error mounting /sd-ext

---------- Post added at 04:27 PM ---------- Previous post was at 04:24 PM ----------

and the other thing you need to do is to make the gui Text size smaller , it is to big even when you change the size in settings
[Samsung Galaxy Alpha] :
A

Ok good, i mean bad, sd-ext isn't an issue, let me check fstab and init.qcom.rc, i just woke up so it will be a bit,

the font sizes are readable ?

---------- Post added at 10:30 AM ---------- Previous post was at 10:29 AM ----------

]

okay got the message about text size
[Samsung Galaxy Alpha] astrit1:
no the sd-ext cant be bad i formated it

yeah the font size if for now readable , i changed it in Gui Setting and made it a bit smaller
[Samsung Galaxy Alpha] :
A, sd-ext has nothing to do with your sdcard,

it's connected to apps2sd, looking for an ext2 partition on external sd

boot into recovery again and plug phone into pc, then run

adb shell mount

thanks

m
[Samsung Galaxy Alpha] astrit1:
this is what i got

---------- Post added at 05:05 PM ---------- Previous post was at 04:39 PM ----------

this is how the first boot look like

sry for the pic quality
[Samsung Galaxy Alpha] :
A,

Wow that font is uuugly ! :eek:

You should fix that.... :silly:

xD

okay, i'm uploading test 2, androidfilehost has issues [server,uploads] so this may take a few.

the fstab appeared to be incorrect so we'll start with that.

[MENTION=5819220]astrit1[/MENTION]

tsst 2 https://www.androidfilehost.com/?fid=23991606952608813
[Samsung Galaxy Alpha] astrit1:
this is the error i am getting when i try to make a backup

the other mount problems are still there
[Samsung Galaxy Alpha] :
A,

okay, test 3

adjusted init.rc

https://www.androidfilehost.com/?fid=23991606952608822
[Samsung Galaxy Alpha] astrit1:
nothing changed at all :( still the same errors
[Samsung Galaxy Alpha] :
A,

plug in to pc an get logcat.

m
[Samsung Galaxy Alpha] astrit1:
i dont know if this is correct
[Samsung Galaxy Alpha] :
A, this is a logcat but not the one we need, the log we need must be gotten while the phone is in recovery mode.

Flash the recovery we are trying to debug , if it is not already flashed.

Boot to the recovery

Plugin in the phone to pc.

In recovery, goto mount options and attempt to mount /data /system and /cache.

Go through all of them even if they fail to mount.

After that is done, open a terminal on pc and run

adb logcat -d
[Samsung Galaxy Alpha] astrit1:
this is the output
[Samsung Galaxy Alpha] :
Okay, hmm , you still get the recovery ui though, right?

[MENTION=5819220]astrit1[/MENTION]

your odin issue is resolved ?
[Samsung Galaxy Alpha] astrit1:
yes

---------- Post added at 08:08 PM ---------- Previous post was at 08:05 PM ----------

yes it is resolved
[Samsung Galaxy Alpha] :
okay, it's selinux, pretty sure anyway, isn't this fun ? :silly:

test 4

https://www.androidfilehost.com/?fid=23991606952608935
[Samsung Galaxy Alpha] Marszalekk:
Hi guys,

I tried to flash the recovery made by Moonbutt74, and I got a bootloop when I tried to get in (A500M, Brazilian version)

BTW I saw Astrit booting that, so, thanks!

Why don't you try to translate the already working CWM? (I posted it on page 2)

Thnx, Marszalekk
[Samsung Galaxy Alpha] astrit1:
now you changed the font size it looks a lot better, but mount still not working

why you dont download and extract galaxys alpha twrp recovery and look how have they done it with the partition thing , i think they shouldnt be so much different
[Samsung Galaxy Alpha] :
did you run adb logcat ?

---------- Post added at 05:25 PM ---------- Previous post was at 05:19 PM ----------

M,

hi, across the board this recovery is good?

meaning mounts, adb access ?

i'm looking at it now thanks.

m
[Samsung Galaxy Alpha] astrit1:
Yes I run it but I got the same error

I flashed that cwm recovery it worked good

Flashed a zip file to try and it was very fast
[Samsung Galaxy Alpha] :
Okay good, :good:

if there's a working recovery, why am I doing this ? :confused:
[Samsung Galaxy Alpha] astrit1:
I didn't know that there is a working recovery [emoji85] but it is Chinese it's very hard to understand
[Samsung Galaxy Alpha] :
Oh yeah ... xD

okay for the sake of the art we push on !! [dramatic music} :silly:

okay let me try swapping policies, i had this same problem when building for my galaxy tabs and was never able to find

out the actual problem, i basically kept tinkering with fstab , .rc and sepolicy till i caught it.

i'll have another test up shortly.

m
[Samsung Galaxy Alpha] astrit1:
How do you build the recovery do u use Windows or Linux I could try to help?
[Samsung Galaxy Alpha] :
I use linux, give me a minute and i'' get my working tree up on git, I didn't know you were set up for dev, i would have posted sooner !

m

---------- Post added at 05:46 PM ---------- Previous post was at 05:42 PM ----------

[MENTION=5819220]astrit1[/MENTION]

okay just updated tree https://github.com/moonbutt74/device_samsung_a5ulte

kernel source up to current date

https://github.com/moonbutt74/kernel_samsung_sm-a500fu

i'm leaning toward our issue being with fstab or sepolicy

building philz through cm12 is a fail, you would need cm11

alternately if you want to build twrp you would need to add twrp build flags to boardconfig

and create the appropriate fstab version twrp requires,

m

[MENTION=5819220]astrit1[/MENTION]

test 5 -sepolicy and fstab swap

https://www.androidfilehost.com/?fid=23991606952608998
[Samsung Galaxy Alpha] astrit1:
no still not working : (
[Samsung Galaxy Alpha] :
Test 5 download counter is still 0.

Do you want to continue this project or not?
[Samsung Galaxy Alpha] Marszalekk:
Well, about these ADB things IDK... But I tried to mnt internal memory, and it's working
[Samsung Galaxy Alpha] :
We're talking about the cm recovery you linked to correct?

Backup and restore function correctly ?

A, says he used it so it must be functional across the a-5 line, just in chinese.
[Samsung Galaxy Alpha] astrit1:
what do you mean it is still 0 it could be a server problem

i downloaded it se pic

---------- Post added at 01:13 AM ---------- Previous post was at 01:09 AM ----------

yes the backup and restore function are working on this chinese cwm
[Samsung Galaxy Alpha] :
[MENTION=5819220]astrit1[/MENTION]

ok neat, to be clear, with the change in

etc/recovery.fstab listing from

/dev/block/platform/msm_sdcc.1/by-name/

to

/dev/block/bootdevice/by-name/

and the change of the init.rc to the one from the chinese recovery

you now have mount access ?

there seems to be a typo in the init.rc for the adbd service

service adbd /sbin/aadbd recovery

disabled

socket adbd stream 660 system system

correct to

service adbd /sbin/adbd recovery

disabled

socket adbd stream 660 system system

and try adb access again
[Samsung Galaxy Alpha] Marszalekk:
Thx Astrit for answering, and sorry for that, I was AFK. Moonbutt, do you got knowledge for building a ROM? Cause we already have the recovery (we just need to translate it).

Best regards, Marszalekk
[Samsung Galaxy Alpha] :
M,

hi, it's one thing to get a recovery sorted when working blind but, a rom is a different story.

My device tree is posted as well as kernel source so a developer with the device in hand

can get started.

Currently what is additionally needed are the prebuilt/vendor files

as well as additional overlay and other misc. configurations for the device.

It seems the issue my device tree suffers from is a correctly configured fstab but for

an initial/skeleton it's mostly ready to go.

m
[Samsung Galaxy Alpha] bernardwu:
HI [MENTION=5864662]moonbutt74[/MENTION] .I want to build a recovery for my SM-A300F after I realising there are probably nobody else gonna do it. I did tried building CWM once but I failed using cm12 and I gave up. Now I wanna start again. But now i see that you need a device tree and maybe kernel source as well? . Do you mind guiding me through creating a device tree??(I helped you with the root soo...) Much help would be appreciated. :)

Bernard.
[Samsung Galaxy Alpha] astrit1:
yes mount works

adb acces is working now

here is the init.rc if you need it
[Samsung Galaxy Alpha] :
[MENTION=5819220]astrit1[/MENTION] [MENTION=6635380]Marszalekk[/MENTION]

guys, test this on both your devices - modified fstab as previously discussed with astrit1 and adjusted adbd service entries in init.rc

as well as sebool settings.

https://www.androidfilehost.com/?fid=23991606952609273 Galaxy-A5_sm-a500fu_Philz-recovery_Test-6.tar

This remains in test, due to inadequate feedback, which forces me to do guesswork.

As testers you guys have to provide square, complete and accurate to a pinpoint information.

I would like to be able to be set on a solid, correct build soon.

astrit1, you need to provide clearer, more descriptive information about your findings,

Marszalekk, this is technically for the a500fu but if what you and astrit1 confirmed with the cwm recovery are accurate, we should be able to achieve the same with this recovery, so again , accurate complete information.

Bernard,

A minor point, but one needing to be made,

This is not how XDA works. In the future please avoid this.

Okay, I had nothing but failure building Philz through cm12 as well, TWRP builds appear to be successful though.

If you want to build Philz, init and sync the CM11 repo instead. Clone my device tree, [posted earlier] and adjust it to you device.

Go back through this thread and read astrit1 and my discussion on obtaining device information. Mostly what you will need is to

find you device id's, sm-[whatever] and a3[whatever] look in your build.prop and you should find most of it. For the most part

changing the a500fu's entries in the device tree will be what you need to do to transform the tree. I'm assuming you still have the kernel source.

thanks.

m
[Samsung Galaxy Alpha] astrit1:
you have changed smth wrong because it is not working again ,it cant mount ?

---------- Post added at 05:14 PM ---------- Previous post was at 05:08 PM ----------

the v5 test version of recovery and the files i gave to you were working perfectly fine no error or mount problems
[Samsung Galaxy Alpha] :
astrit,

okay, no offense but i can't keep repeating this. Okay, the groundwork is all here for the a5, and with some adjustment there should

be enough here to get working with the other aX devices. All are welcome to the sources assembled.

Remember to back up your stock images!

be good.

m
[Samsung Galaxy Alpha] bernardwu:
Thanks for the tips !!!

I don't have the kernel source anymore tho. but I can probably get it from Samsung website.

Will try it out wheen im free . :)
[Samsung Galaxy Alpha] CTXz:
Guys let me just tell you something please. Monnbutt74 takes a huge effort on working on this device. With that said he doesn't even own it. While I know all of you all all hyped up and exited that there is someone developing for this device, you really have to give exact reports, not just HEY MOON, IT DOESN'T WORK! Please give more information about what's happening, and describe as well as you can. Another thing I personally already saw allot is people just asking the dev if he could make a ROM or port another recovery like TWPR. Developing is not easy! Not everyone has enough time! So please be very thankfull Moonbutt74 for taking his time!
[Samsung Galaxy Alpha] Marszalekk:
samsung galaxy a3/a5

So, I tested the Test 6 from Moonbutt...

When I did the recovery key combination, it entered in Download Mode, and there was some msgs on the top:

Could not do normal boot

ODIN MODE

PRODUCT NAME: SM-A500M

CURRENT BINARY: CUSTOM

SYSTEM STATUS: CUSTOM

REACTIVATION LOCK(KK): OFF

KNOX WARRANTY VOID: 0x1 (4)

QUALCOMM SECUREBOOT: ENABLE (CSB)

RP SWREV: S1, T1, H1, R1, A1, P1

SECURE DOWNLOAD: ENABLE

Count on me for broughting life for my loved device! :D