yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] bmachina:
Some help with Micro SD Card

Hey there,

I've been using this room since Stable 3 and I completely loved so far, so I want to thanks to [MENTION=5968293]side[/MENTION] and all the people who are working on this because Stable 5 is becoming my daily driver.

The only problem I had was after I flash Stable 5 over Stable 4 with TWRP I didn't know that was necessary to change the Micro SD I was using as internal memory to an External Memory Card.

So after upgraded to stable 5 the micro SD became unreadable. It says that I need to format it every time I inserted on the phone, which I try but it's always stuck at 20%. After that, I tried to CHKDSK sd card (It says CHKDSK not available for RAW drives) and format it on PC and also on Mac, with no luck at all.

I also have tried to revert to Stable 4 because It was working all the way long as internal memory, also with no luck.

I have almost all the data backed up but still is a 32GB card that I want to try to rescue.

Do you guys have been in a similar situation? Any ideas?

Please, I'm not blaming anyone I just need to try everything to rescue my card before I purchased a new one.

Thanks in advance!
[Galaxy S 4 i9505 Original Android Development] Mynacol:
Guessing you are using windows, maybe try the following:

Open a command prompt with administrator rights and enter: "diskpart"

Then type "list disk" and find your SD card with the size

Then type "select disk x" where x is the number of your card e.g. 0/1/2

Then type "clean" or "clear" (don't remember exactly which one)

Note: during this step all partitions with all data are wiped.

Then enter "create partition primary"

And then "format fs=fat32"

Hope this saves your card!
[Galaxy S 4 i9505 Original Android Development] raodone:
Hey guys!

Someone could tell me what is the difference between the normal ROM and the AROMA ROM? You have to do something out of the ordinary to install the AROMA, I'm new to this

And another thing, when executing the command 'getprop ro.bootloader' in Terminal Emulator I observe UCUAMF3 and I am an AT & T user, how do I change to UCUAMDB or UCUAMDL?

PD: Forgive my bad English
[Galaxy S 4 i9505 Original Android Development] RuKaDa:
I´ve tried with nano and pico gapps, with XXUHQC1 which is the latest and the one that came with official LL ROM XXUHPK2 available here.
[Galaxy S 4 i9505 Original Android Development] perryhome:
Can you give me the link in order to download the zip file?
[Galaxy S 4 i9505 Original Android Development] Mynacol:
Please look at the 1st post of the thread I linked, I don't want to give you a direct link.

Here is the link of the thread: https://xdaforums.com/showthread.php?t=2239421
[Galaxy S 4 i9505 Original Android Development] evilchild:
Hi, i have a GT-I9505, im having a problem in calls if the dialer goes in the background the other person in the call stops hearing me until I bring the dialer to foreground.

Also sometimes when i answer a call the other person simple doesn't hear me I have to reboot

Any ideas. Thanks
[Galaxy S 4 i9505 Original Android Development] bmachina:
Thanks man, I have tried the "clean" and I'm now trying a "clean all" (friend tip) with the disk selected.

Both of them seems to work and they return "succeeded in cleaning the disk" but when I try the "create partition primary" it says that "there is enough usable space for this operation".

I just find out that I have 2 partitions, one with 16MB and the other one with 29GB so I'm trying to shrink one to see to see if I can continue to the "format fs=fat32", however, I'm not an expert on the command prompt and I have no success so far ("There is no volume in focus").
[Galaxy S 4 i9505 Original Android Development] Leone/kyleproxx:
Sooooooooooooooo

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

Who let the dogs out
[Galaxy S 4 i9505 Original Android Development] Mynacol:
What is the current output of " list partitions"?
[Galaxy S 4 i9505 Original Android Development] bmachina:
Partition 1 - Type Unknown - Size 16MB - Offset 1024KB

Partition 2 - Type Unknown - Size 29GB - Offset 17MB
[Galaxy S 4 i9505 Original Android Development] Mynacol:
Try now "clear" again and look again with "list partitions". If now the SD card has no partition left you may be lucky, but first disconnect the SD card from your computer (so it doesn't get any current)

Reinsert the card and look again with " list partitions" if they are magically back again.

Maybe you need to open a command prompt with *administrator rights* and run "diskpart" and then "select disk x" after "list disk" gave you x again but I think you have understood the game :highfive:

If those two partitions are magically back again I bet the SD card is corrupt and initialized a write protection. You can then do what you want with the card, after pulling the plug and looking again nothing has changed :/
[Galaxy S 4 i9505 Original Android Development] bmachina:
No luck! I have tried what you said. I first disconnected the SD and listed the partitions before and after the "clean" but they still there! I also tried different orders on selecting the disk, like selecting the disk after I choose a partition with no joy.

You are probably right, this is something to do with write protection and I'm guessing this was activated as soon as I switched from Stable 4 to Stable 5 and I was using the micro sd as internal storage. The micro sd thought it was a different phone.

Well, at least I try, thanks so much for your help!
[Galaxy S 4 i9505 Original Android Development] PePeMoke:
Maybe this helps?

Or this?..the answer with 11 upvotes on the second link.
[Galaxy S 4 i9505 Original Android Development] echo_21:
First of all I am sorry, as my wife's S4 with perfect GPS performance runs opt. CM12.1 by [MENTION=5968293]side[/MENTION] (instead of opt. CM13 by side as mentioned in earlier posts). But see the screenshot below: CM12.1 on my wife's S4 uses GLONASS and fixes GPS very quickly and accurate even indoors!

Model: GT-I9505

BB: I9505XXUHOJ2

ROM zip: OptimizedCM-12.1-20160118-jflte.zip

ROM: OptimizedCM12.1-20160118

Android-Version: 5.1.1

Kernel-Version: 3.4.110-Alucard-PWR-CORE side@JDCTeam #2 Mon. Jan 18 20:39:35 EET 2016

Build-No.: LMY49F

Safety Patch Level: 1. Januar 2016

GAPPS: open_gapps-arm-5.1-nano-20160516.zip
[Galaxy S 4 i9505 Original Android Development] RuKaDa:
@ echo_21

Thanks for your reply and for your time. It seems that the GPS issues are present in Android MM and NG, at least for me, i´ve tried several different ROM´s and all of them get me to this, after a couple of hours the GPS seems to stop working, with stock KK or LL and other LL ROM´s it works whenever i needed. I guess i´ll have to stick with LL... Anyway, thanks for your feedback and thanks to all developers for the amazing work they´ve done and keep doing for our beloved S4
[Galaxy S 4 i9505 Original Android Development] Akila.Kuku:
Is this rom work with samsung galaxy S4 i9506? :confused:
[Galaxy S 4 i9505 Original Android Development] _ibu_:
See Startpost Page 1

All Galaxy S4 variants with Qualcomm Snapdragon 600 are supported:

GT-I9505

GT-I9505G

GT-I9507

GT-I9508

SCH-I545

SCH-R970

SGH-I337

SGH-M919

SPH-L720

SGH-S970G

SM-S975L
[Galaxy S 4 i9505 Original Android Development] echo_21:
In the discussion of issue #4 in this Known Issues post there is a link to a Nougat ROM that says they had been able to get GLONASS working. For me it seems we need a dev who can cherry-pick the commits to LOS 14.1 ...
[Galaxy S 4 i9505 Original Android Development] perryhome:
Thank's i will fund in the post...
[Galaxy S 4 i9505 Original Android Development] perryhome:
I try this metod but with Root cheker tel me that the devise it is not rooted but with my home bank application not...please can give me te route to flash also the unrooted boot.img?

regards
[Galaxy S 4 i9505 Original Android Development] Mynacol:
Try to clear app data of your banking app and maybe this app utilizes SafetyNet so try a SafetyNet test app as well
[Galaxy S 4 i9505 Original Android Development] perryhome:
This is the result.....
[Galaxy S 4 i9505 Original Android Development] guest4711:
Did you update magisk to 13.3? Thats necessary for current safetynet checks.
[Galaxy S 4 i9505 Original Android Development] Mynacol:
Hey [MENTION=5968293]side[/MENTION],

Have you seen this: https://www.xda-developers.com/art-submodule-for-aosp-7-1-2-adds-xposed-functionality-to-custom-roms ?

Detailed instructions for ROM integration are linked in the article. Maybe you can test this a bit, or wait for some reports

Thanks

Mynacol
[Galaxy S 4 i9505 Original Android Development] perryhome:
No but however you must have The originale boot file...
[Galaxy S 4 i9505 Original Android Development] guest4711:
Magisk saves this on installation. Magisk-Uninstall restores it and magisk use the backup as source fir patching when updating...
[Galaxy S 4 i9505 Original Android Development] perryhome:
I have try but the installaton have an error and told me that the boot file in not stock..... When e i can found?
[Galaxy S 4 i9505 Original Android Development] Jimbus369:
Magisk 13.3 sometimes works at boot and other times I need to reboot again for make it work. I don't think is magisk related, because STweaks do the same things in fact i use Kernel adiutor instead of STweaks. Can be something's broken in boot scripts? :eek:
[Galaxy S 4 i9505 Original Android Development] guest4711:
The easiest way is to flash [MENTION=5968293]side[/MENTION] famous kernel [Kernel][7.1.x][CM/LineageOS based]SideCore-SGS4 [11July] - https://xdaforums.com/galaxy-s4/i9505-orig-develop/kernel-sidecore-sgs4-alpha-t3527825

The included bootimage is seen as stock, e.g. by magisk.
[Galaxy S 4 i9505 Original Android Development] bmachina:
Nothing! I have tried both methots. The SDFormatter tells me that the SD Card is write-protected so I have tried to remove the read only permissions on CMD and editing HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies with a new key but it seems to do nothing. The 2 partitions still there like a rock!

I guess I'm starting to losing hope, my last try will be some kind of Linux live cd or something and if didn't fix it, it will go directly to the garbage.

Thanks for reply and time.
[Galaxy S 4 i9505 Original Android Development] Mynacol:
Another idea: Download and run/install "Rufus" and try to 1. Check for errors 2. Completely format the card 3. Flash something different e.g. FreeDOS

So select FreeDOS, activate check for defect blocks and correctly set device. Rufus will try to force this now with "dd" et al

After this I slowly run out of ideas
[Galaxy S 4 i9505 Original Android Development] Rhoban:
Developers don't generally support anything related to Xposed.

What you posted basically says "Do this if you want Xposed support in your ROM".

I don't think many developers (if any) are gonna do it. Why? Because then they have to offer support for bugs caused by Xposed, which means extra headaches.
[Galaxy S 4 i9505 Original Android Development] mrQQ:
anyone? I cant find any settings for flip cover...
[Galaxy S 4 i9505 Original Android Development] perryhome:
You mean that i can download the zip file (SideCore-SGS4-NOUGAT-2.0-[23-08][11-07].zip) and flash it from recovery without los any data and settin g of mi phone?
[Galaxy S 4 i9505 Original Android Development] guest4711:
Yes, simply flash it. Don't wipe anything...
[Galaxy S 4 i9505 Original Android Development] perryhome:
now bootloop.......
[Galaxy S 4 i9505 Original Android Development] bmachina:
You mean like run FreeDOS from a flash drive? Thanks
[Galaxy S 4 i9505 Original Android Development] Mynacol:
Just to test with Rufus if the card is really broken. It is not important what you flash, but that you successfully flash something

If this succeeds I recommend formatting the card with a Linux distro...
[Galaxy S 4 i9505 Original Android Development] guest4711:
That's strange. I tested it yesterday with my SGS4 i9505 and all was fine...

What device do you use?
[Galaxy S 4 i9505 Original Android Development] aka70:
hi guys. i have a big problem with STweak!

after i change max cpu freq to any freq like 1566 MHz all thing good but when i reboot my phone ,STweak have my setting but when i test my freq with another app or enable cpu usage in develop setting i see my phone back to high freq and STweak dont tune anythings!

i do clean flash this rom twice but issue not solved

sorry for my bad english.
[Galaxy S 4 i9505 Original Android Development] perryhome:
SGS4 i9505 and now i have completely format the phone and reinstall the latest rom Optimized-LineageOS-14.1-20170711-Stable5 with Gapp,my question is: Now what are the correct steps to remove completelt the root?
[Galaxy S 4 i9505 Original Android Development] jensinger65:
Hi there,

I'm using the Stable 4 and would like to hide messages/notifications on the screen, when the phone is completely dark after a while (I think this is not the so called "LockScreen", or is it?). Where can I set this? Or is a certain app responsible to show those messages, while the phone is in "deep sleep"?

It is also more or less a question of clear the definitions of terms/wordings. (Sorry, if this is a noob question)

Regards, Jens
[Galaxy S 4 i9505 Original Android Development] _ibu_:
Settings, display, inactivity display
[Galaxy S 4 i9505 Original Android Development] guest4711:
At fist I'd check whether unrooting is still necessary. For most apps magiskhide will do a great job...

But if necessary the 'uninstall' function in magiskmanager will do the job.
[Galaxy S 4 i9505 Original Android Development] side:
stay tuned guys....next build will have some nice edits ...some of them:

Strong but safe undervolt to our cores.

GSM edits regarding user's reports about the build.prop edits

allow rom to accept xposed framework,

BUT i wont support any report if you install xposed

soft keys will light only if u press them

trip n droid for default IO produces better sleep drain

cheers!
[Galaxy S 4 i9505 Original Android Development] Mynacol:
Whoa! That tweaks have earned their name "optimized"!!

Thanks in advance:victory:

And HUGE THANKS for dev by poll/user requests!!

In which kernels will the undervolt be realized (stock LOS/alucard/sidecore)?
[Galaxy S 4 i9505 Original Android Development] side:
only on alucard.

sidecore is not optcm's feature

stock is a kernel for those who want pure lineage experience

my custom tests are always made on alucard.sidecore will be updated when a new feature request comes out
[Galaxy S 4 i9505 Original Android Development] WatchIT:
still on stable4:

start getting very weird battery drain behavoir since the i9505 runs on stable 4 for a while.

"Androis OS" as listed in the battery statistics starts eating my battery like a beast. Usually it was at 1%, maybe 2%.

With stable 4 and after the last reboot, it went up to 12%. Which does not sound much, but compared to games which stay at 2-4% this is an incredible battery consumption by OS processes.

Even the Display, as major "drainer", is lower in the list.

Now i did a reboot after taking out the battery for a few minutes and hope that it works better. I don't like to charge the phone twice a day with very normal phone usage....

In the first week with stable4 i had a really good battery status. Then i rebootet somewhen after and things got messed up.

Anyway, i will update to stable5 soon, just ned some time to to another clean flash...
[Galaxy S 4 i9505 Original Android Development] Kazamario:
Does anyone know how the S-Tweaks Ad-Blocker intimately works? I swear its just as good as Min Min Guard, if not better, but seems to work best when Magisk IS NOT installed and Super SU is. I'd like to know why and how it works so well!
[Galaxy S 4 i9505 Original Android Development] raodone:
Anyone pass me a method to unlock the bootloader?

My model is SGH I337 AT & T bootloader (UCUAMF3)
[Galaxy S 4 i9505 Original Android Development] Mynacol:
As far as I know, STweaks fetches some lists (not sure which) and similar to adaway creates a hosts file pointing ads/trackers/etc to the local device. If you have magisk installed and enabled systemless hosts, the STweaks-modified hosts file won't be used. Therefore you then have to "enable" ad blocking again in STweaks or disable systemless hosts file

IF I am right with the hosts file thing
[Galaxy S 4 i9505 Original Android Development] measel:
feature request: support for extended-length- NFC would be great!

:)

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] side:
That's not Sidecore thread but nvm. That request is already denied. Can't even imagine how to do it hahaah
[Galaxy S 4 i9505 Original Android Development] Rhoban:
Can't be unlocked. If it's also a newer bootloader, you won't even be able to do anything to it in terms of flashing stuff.
[Galaxy S 4 i9505 Original Android Development] PePeMoke:
Performance

Is anyone using last bbuild living in Germany and can recommend a good working BL and modem combination?

Got bad reception and quite bad battery life with UHQC1 BL and modem using latest build, extreme battery profile in stweaks and forcedoze. Using a GT-I9505 and my carrier is O2/eplus.

Would be grateful for experiences!

PS.: ultra clean install.

Wiped everything, installed ROM and gapps. Then let it settle overnight and on the next day installed all my apps from the scratch...no tibu!
[Galaxy S 4 i9505 Original Android Development] _ibu_:
BL/CP: XXUHOJ2 - O2/ePlus - no problems!
[Galaxy S 4 i9505 Original Android Development] elv1503:
Same here...switched back though...Sidecore kernel used more battery for me..significantly more.
[Galaxy S 4 i9505 Original Android Development] Tyrewt:
SGH-1337M supported?

I see that SGH-1337 is supported, but is SGH-1337M too?

Also, can it be installed without doing a full wipe to retain SMS message?
[Galaxy S 4 i9505 Original Android Development] lucamtb:
I had some issue with Gmaps and GPS but if you have something like gps test the issue disappear.

One day I had no way to connect GPS (I also reboot the system) but the following day everything was working (so I had GPS issue only three times).

BUT I noticed that the GPS setup moved (alone :confused:) from high precise GPS to only mobile setting and perhaps this explain the issue I had.

At the moment (I am still at rev.04) this rom is much better that standard Samsung.
[Galaxy S 4 i9505 Original Android Development] PePeMoke:
Will give it a try!

Anyone else suggestions?
[Galaxy S 4 i9505 Original Android Development] guest4711:
BL/CP: XXUHPK2 - D2 - ok.
[Galaxy S 4 i9505 Original Android Development] aserraric:
Is that even a kernel feature? I though the limitation was hardcoded in AOSP/Lineage's NativeNfcManager:

https://github.com/LineageOS/android_packages_apps_Nfc/blob/cm-14.1/nci/src/com/android/nfc/dhimpl/NativeNfcManager.java
[Galaxy S 4 i9505 Original Android Development] bmachina:
Nothing! Not even with Ubuntu. I just give it a try on Linux just because Rufus was giving me 0 writing errors and 0 reading errors.

Thanks for your replies and for your time!
[Galaxy S 4 i9505 Original Android Development] side:
if even gparted cant read it,then its really dead mate
[Galaxy S 4 i9505 Original Android Development] walttheboss:
Dead on. Put it in the bin or gift it to a "friend"!
[Galaxy S 4 i9505 Original Android Development] Jyjec:
I have the I337M it works really well. As for your SMS I would use Titanium Backup to save any data that you want to keep and then restore it once you do a full wipe off your device http://www.androidpolice.com/2012/1...ate-flashable-zips-of-all-your-apps-and-data/
[Galaxy S 4 i9505 Original Android Development] guest4711:
If you have a pc with windows you could use MyPhone-Explorer (http://www.fjsoft.at/en/) to backup and restore your phonebook, calendars, calling lists and sms and more..
[Galaxy S 4 i9505 Original Android Development] PePeMoke:
Anyone got a solution for the GPS problems?

My GPS is pretty inaccuratetly most of the time and takes long to lock.

Clean install of stable5 on a GT-I9505, latest nano gapps, BL and modem XXUHOJ2.. [MENTION=5968293]side[/MENTION] maybe? Thanks for all the work!
[Galaxy S 4 i9505 Original Android Development] HectorAguirre:
I have had random reboots whit this latest version 0711, which I didn't experience in the 0607, anyone else experience same pattern? Other than that, it's been great
[Galaxy S 4 i9505 Original Android Development] Mynacol:
Have you performed a clean install?
[Galaxy S 4 i9505 Original Android Development] HectorAguirre:
No, Would that be the correction? I will try, thanks
[Galaxy S 4 i9505 Original Android Development] jkinetic:
Super impressed

Hey guys,

Brilliant work, this has transformed my old GS4 into a REALLY speedy new phone.

I'm only having one problem - when I make a GSM call the screen goes black for the duration and I'm unable to reactivate it until the other person hangs up. This is causing problems when having to enter options during calls.

Is this something to do with the proximity sensor?

Cheers
[Galaxy S 4 i9505 Original Android Development] elv1503:
Yes. Known issue nougat roms. If you search some threads you will see it a lot.Proximity reset/repair app Play Store.
[Galaxy S 4 i9505 Original Android Development] echo_21:
I wouldn't say it's a ROM issue. To my best knowledge the proxmity sensor got dusty over time. It could also got dirty when the touch glass was cracked and needed to be replaced.

Best solution is to physically clean it (See YouTube videos how to do it).

Only if you are too lazy to clean use that proximity reset APP as a work-around.
[Galaxy S 4 i9505 Original Android Development] elv1503:
Sorry from my memory not correct. It only happens AFTER flashing.
[Galaxy S 4 i9505 Original Android Development] echo_21:
Yes, it seems that [MENTION=5968293]side[/MENTION] added a reset of proximity sensor on every ROM flash; see opening post #1 under "20161210 / (10-December-2016)"; quote: "Resetting proximity sensor on every ROM flash"

I guess that "resetting" in this case means "setting the proximity parameters to default values" that match most non-dirty proximity sensors. [MENTION=5968293]side[/MENTION], please correct me if I am wrong.

These default values might then not match dirty sensors yielding in the reported issues during calls (cannot hang up). But the root cause might be the dirtyness of the sensor and not the ROM.

Resume: if the work-around with the proximity re-calibration app works fine, then use it and be happy. Only if you want to find out the root cause open your S4 and inspect the cleaniness of the proximity sensor. Clean it if required.
[Galaxy S 4 i9505 Original Android Development] side:
After every flash the proximity sensor is being disabled and enabled. It doesn't reset something on libraries or i dont know what. Theoretically this process should fix any issue with proximity. Except if I miss something about handling proximity state fix