yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] Racoonator:
[MENTION=8421139]electronspin[/MENTION]

I start to think it's more a hardware issue than a software issue...

Side just talk about a new release.. Keep fingers cross, and we'll see in a fresh install solve the issue or at least improve the GPS fix..

Regards
[Galaxy S 4 i9505 Original Android Development] InTheY2K:
Too late.

:crying: :crying: :crying: :crying:

My S4 died two weeks ago. It does not boot anymore. I had it sitting on my table, fully charged. And as I am not using it anymore the battery faded away. A couple of days later I picked it up and of course the battery was empty. So I plugged it onto the charger, but nothing. I tried three other batteries I have lying around, but the phone does not boot anymore. It stays black. No vibration upon plugging in, nothing. It's gone, I guess. I have no idea what happened.

Unless somebody else has an idea how to revive it, I'll have to throw it away eventually.

:crying: :crying: :crying: :crying:
[Galaxy S 4 i9505 Original Android Development] hcdaniel:
Unfortunately I did not write the procedure up, so this is sort of what I recall:

The file system that is mounted as /data needs to be made a little bit smaller, such that there is some space at the end of the partition. Then the encryption will be performed. The device needs to be in recovery and a shell via adb be opened on a connected PC.

The partition is /dev/block/by-name/userdata which links to /dev/block/mmcblk0p29. So with

fdisk /dev/block/mmcblk0

you will find start and end of the partiton 29 in 512-byte-blocks, and you can compute its size. Googling the original error message I found a site that claims that the filesystem needs to be shrunk by 16kByte. The command is

resize2fs /dev/block/mmcblk0p29 NUMBER_4K_BLOCKS

so the size you computed earlier needs to be divided by 8, and then at least 4 subtracted. I actually subtracted 100, which is probably not necessary.

Upon the first call of "resize2fs" you are prompted to perform a forced file system check, with the command

e2fsck -f /dev/block/mmcblk0p29

Then, resizing will work. After reboot you can now perform the encryption.

I hope I remembered everything correctly.
[Galaxy S 4 i9505 Original Android Development] Niarf:
Do you mean that I could be banned or something like that ? I don't think so... =)
[Galaxy S 4 i9505 Original Android Development] Buff99:
I would doubt it. If your device is un-certified then Google will not serve certain apps to you.

Un-certified means that google does not recognise your device as one where the manufacturer has paid the relevant license fees to be CTS certified.
[Galaxy S 4 i9505 Original Android Development] 灣岸の新人:
Me too.

I am currently using these two apps as a temporary replacement.

Privacy Guard：com.zzzmode.appopsx→Coolapk

Network Traffic Monitor：me.zheteng.android.powerstatus→Google Play Store
[Galaxy S 4 i9505 Original Android Development] Juno.Dk:
Hello dear developers. Well done, great job. The Rom works perfectly, everything works except the network. My message is "No service"
[Galaxy S 4 i9505 Original Android Development] mp1806:
Is full wipe reccomended when switching from V2 and V2 GO?
[Galaxy S 4 i9505 Original Android Development] Adidas108:
Absolutely!
[Galaxy S 4 i9505 Original Android Development] gorandroid:
Calling doesn't work? CHeers.
[Galaxy S 4 i9505 Original Android Development] Buff99:
Bug report does not work! Cheers.
[Galaxy S 4 i9505 Original Android Development] gorandroid:
My bad, it was bluetooth calling that doesn't work, Cheers.
[Galaxy S 4 i9505 Original Android Development] Niarf:
I did have the problem with Netflix, but no more.

I put back the V2 normal version and I can access to Youtube in the Play Store... I will keep this version because the Wifi on V2 GO is gone, it won't never connect anymore although my home network was used and connected with a fresh install...

Waiting for next version to see... =)

CyA
[Galaxy S 4 i9505 Original Android Development] Irvine-G:
Same here. Try "app ops" instead, should be similar with a different UI
[Galaxy S 4 i9505 Original Android Development] JanJabko:
Not quite sure what you mean with "app ops", I guess "App permissions". I've seen that and am using it, that's why I wrote not a big deal.

I think privacy guard was introduced before those settings were available in Android.

Or do you mean something different?
[Galaxy S 4 i9505 Original Android Development] Irvine-G:
I mean the android app called app ops - permission manager. Privacy guard is based on app ops

https://play.google.com/store/apps/details?id=rikka.appops&hl=en_US
[Galaxy S 4 i9505 Original Android Development] SakthivelNadar:
Can i install this rom on my galaxy s4 value editition, GT-I9515? Anyone reply me fast.
[Galaxy S 4 i9505 Original Android Development] Buff99:
Is this fast enough?

No it frickin does not.

Read the original post.
[Galaxy S 4 i9505 Original Android Development] Catscratch:
I'm following this thread for a while now and recognized that the tone is getting more and more rude.

I know that a lot of people may be annoying and don't respect the forum rules. It's something the mods have to solve. And there are still way more people out there who appreciate your developers work. So big thanks to you!

But please. All. Try not to stoop down to the rude people level. :)
[Galaxy S 4 i9505 Original Android Development] side:
its not about rudeness...

its about EXHAUST... we spend DAYS for creating a rom and a thread ,and noone pays attention to the details. why ? why do i have to spend that time to make ur life easier,but u dont want to help ur own self ? this phenomenon exists at real life too..thats why world sucks ,almost 2019 years after jesus birth
[Galaxy S 4 i9505 Original Android Development] InTheY2K:
So true! I observe that in many aspects of modern life. "Me, me, me! Don't care about the others." Selfishness is getting worse every day. People want to be fed with a silver spoon but refuse to take a minimal effort to help others or even themselves while there's some idiot doing it for them. Mindlessness and ignorance are taking over.
[Galaxy S 4 i9505 Original Android Development] side:
its like buying a new washing machine for the first time,and drop the manual at trash..then calling the customer service. asking how it works...

whatever...end of discussion
[Galaxy S 4 i9505 Original Android Development] Trubbs:
Sure 'technically'

However reasonable alternatives exist for example Duracell Replacement Battery for Samsung Galaxy S4 https://www.amazon.co.uk/dp/B00KO6XCIW/ref=cm_sw_r_cp_apa_i_otgoEbZZ0V0PS

Works fine for us. NOTE we do not use NFC
[Galaxy S 4 i9505 Original Android Development] myudkowsky:
Where is Optimized-LineageOS-16.0-V13-Signed.zip

Although the topic says this is V13.0, which I assume means that v13 is now stable, the links are to 12.1 at the latest in the top pinned post. I've searched and can't find the v13 ROM anywhere.

I'd like to give this ROM a try. Can anyone point me to the ROM, please?
[Galaxy S 4 i9505 Original Android Development] bersem:
Just be Patience. Its removed from gdrive. V14 will be uploaded soon.
[Galaxy S 4 i9505 Original Android Development] myudkowsky:
Thanks! I will try to be patient... I'm having trouble with my current ROM and want to try something new.
[Galaxy S 4 i9505 Original Android Development] 3mel:
clicking your link from the UK, I get taken to amazon.co.uk where that item is out of stock and says it might ever return to stock. the same issue still applies though. replacement batteries were made when the S4 was new(ish). those batteries could be four years old now and never used, which isn't great with lithium batteries.
[Galaxy S 4 i9505 Original Android Development] Trubbs:
Oh no sorry about that, it is about a year since I purchased
[Galaxy S 4 i9505 Original Android Development] side:
Build is released

Changelog:

Upstream merge until 3 February 2020

Update our wallpaper

Merge all recent ASBs

CPU tuning

kernel: Fix not-wakeup scenario on some LCDs

kernel: Update sdfat driver

Fix echo in some voice calls

Fully updated sepolicy - Working ENFORCING selinux
[Galaxy S 4 i9505 Original Android Development] myudkowsky:
Thank you very much!

FYI Google d/l page is updated, but Android File Host page still points to 12 and 12.1 releases.
[Galaxy S 4 i9505 Original Android Development] Boltie:
That sounds like it could be a stuck power button issue. I'd at least look into it before getting rid.
[Galaxy S 4 i9505 Original Android Development] myudkowsky:
Same here: my old S4 simply stopped responding. Swapping in a newer battery didn't make a difference. I have no idea what happened, and I have been unable to revive it. I'm working off a different S4 at the moment; I have some S5's I might be able to root but as they're old Verizons unlocking even the "11" bootloaders sounds like more trouble than it's worth.

So I too would be grateful to understand how the S4's become gradually unusable.
[Galaxy S 4 i9505 Original Android Development] vip5912:
I did dirty update to v14.

All working except BT.

After half of day BT is down and I need reboot.
[Galaxy S 4 i9505 Original Android Development] maxdido:
This happend to me too, 3 weeks ago.

My S4 didn't wake up in the morning. I pushed the power button for a longer time and it restarted. I saw the android boot logo and there it got stuck. So I removed the battery and when I pressed the power button it didn't do anything anymore. Battery is fully charged. Plugging in the charger doesn't do anything. DEAD.
[Galaxy S 4 i9505 Original Android Development] InTheY2K:
No, unfortunately it is not that easy. The power button is OK. It's still clicking. To be sure I disassembled the back part of the phone to access the switch directly. It's not stuck but moving freely.

The phone does not even react on plugging in the charger anymore. So I presume that there is something broken on the main board.

Remarkable, though, that three users experience the same thing within a short amount of time. Could it be that this was an intended death by the manufacturer? :eek:
[Galaxy S 4 i9505 Original Android Development] myudkowsky:
I must have working BT -- essential to me when I drive my car. Does this mean that the problem is specific to this project, and that the nightly official build of Lineage OS 16 does not have this problem?
[Galaxy S 4 i9505 Original Android Development] xtil:
BT auto no good for me. m919 LOS 16 V14
[Galaxy S 4 i9505 Original Android Development] SashaVeliki:
May I use this rom on I9505XXUHPK2? I never rooted phone nad never had instlled TWRP. Does this rom have better or worse camera than stock lolipop 5.0.1? Also, can we install google camera on this rom?
[Galaxy S 4 i9505 Original Android Development] Retrial:
No need root to install the ROM, you just need to install TWRP (this rom is prerooted tho but you can remove it after). You can keep PK2 Bootloader & Modem but recommended is to flash the latest.

Since camera libs of Stock lollipop ROM are locked the camera is not on the same level but it's closer than ever and the best you will find in custom ROMs. You can install google camera apk from JDC Aroma Addons but the version which is compatible is old. I don't think you will see any difference.

I suggest you to take a look on my S4 Unified Guides/Collection, read and follow the steps carefully. Everything you need is there.
[Galaxy S 4 i9505 Original Android Development] SashaVeliki:
Thank you. I installed I9505XXUHQK1_COMBINED_BOOTLOADER_MODEM from your link, over my I9505XXUHPK2 and now I have problem with wifi. Do you know how to resolve this problem?
[Galaxy S 4 i9505 Original Android Development] myudkowsky:
Thank you. I also have an sgh-m919 and will likely just try standard LOS 16 and see if it works.
[Galaxy S 4 i9505 Original Android Development] Retrial:
If you are still on PK2 Firmware (Stock ROM) then you need to flash QK1 Firmware. You need to have the same version of Firmware-Stock ROM with your Modem & Bootloader. ( I've already wrote a note about that in my guides-collection)

On custom ROMs doesn't matter but recommended is to have the latest.

If you are going to flash this ROM right now, go ahead install TWRP and flash it. The wifi will work.
[Galaxy S 4 i9505 Original Android Development] vip5912:
My last observations:

After reboot all are ok (BT, WiFi, mobile&data).

After 2-3 days in one moment BT is down, WiFi is on but no one AP, mobile data is down (sign x), mobile call&sms is ok (sign LTE).

BT need reboot for turn on, WiFi need turn off/on for find AP.

Results: I need do reboot every day and all will be ok.

---------- Post added at 14:18 ---------- Previous post was at 14:18 ----------

My last observations:

After reboot all are ok (BT, WiFi, mobile&data).

After 2-3 days in one moment BT is down, WiFi is on but no one AP, mobile data is down (sign x), mobile call&sms is ok (sign LTE).

BT need reboot for turn on, WiFi need turn off/on for find AP.

Results: I need do reboot every day and all will be ok.
[Galaxy S 4 i9505 Original Android Development] John D J:
Hi just installed v14 yesterday. Full wipe clean install including format of data. However, I can't link to SD card my app as with previous builds. I can't delete what was already there via mix as it says there nothing on the SD partition. Just wondered what I missing please as my storage is full. Thanks
[Galaxy S 4 i9505 Original Android Development] Retrial:
Have you tried to format your SD Card via TWRP?
[Galaxy S 4 i9505 Original Android Development] John D J:
Sorry no as I have other things on the card. But I shouldn't need to.
[Galaxy S 4 i9505 Original Android Development] Retrial:
Well... connect your device to PC, take the things you have in ur card, format it and put ur things back.
[Galaxy S 4 i9505 Original Android Development] 3mel:
in my experience memory cards do seem to wait until you've flashed a rom before they decide to die. didn't know they have writing life span before becoming read only, but it's happened 2 or 3 times to me.
[Galaxy S 4 i9505 Original Android Development] John D J:
Thanks mate for the tip however I managed to do it without all the formatting.:good:
[Galaxy S 4 i9505 Original Android Development] electronspin:
I would like to test the v14 on my galaxy s4 to evaluate the suggested improvements, but I do not want to clean my app and data, it is too boring.

Can someone tell me if v14 perfectly works after a dirty flash?

electronspin
[Galaxy S 4 i9505 Original Android Development] bersem:
Dirty flashed and everything as before, BT and battery consumption to high. Known issues.

Dirty flash only on previous signed releases !!! Not on test builds if u are slack test member.
[Galaxy S 4 i9505 Original Android Development] xtil:
BT auto was working on an earlier version of 16. I don't remember which. If I knew I would go back. The battery consumption was never good for me. I like 10 and hope for a working BT version.
[Galaxy S 4 i9505 Original Android Development] 3mel:
never tried it but the paid version of titanium backup can make your user apps and data into a flashable zip. I guess that could include accounts and homescreen layouts etc.
[Galaxy S 4 i9505 Original Android Development] Retrial:
Battery consumption is something that change from user to user, even more if you are doing dirty flashes or using old batteries.

Our device has 2600mah battery (new devices have 4000-5000mah battery capacity) and was released at 2013 with Android 4.2.2 (Jelly Bean) and now running Android 9 and 10 with old CPU and 2GB RAM. Apps became bigger and hungry over the years and old devices like ours may lose faster battery while trying to respond on the apps requirements. That mean you can't use an old device like you use a newer device. You need to keep only necessary apps and use them normally.

However, I don't feel the battery is bad on 9 and 10. I get around ~3h+ SOT with normal use and necessary apps only (and battery replacement kinda old), which is pretty good in my opinion.

If you did dirty flash and you feel the battery consumption is not as good as before, you better do a clean install as recommended. Try to check what apps/wakelocks eating your battery and you can also try Naptime (Work with or without root, read description).

As last step, if your battery is very very old you can try to find a replacement, even tho I don't think there are

new

original batteries out there, you may find original battery but manufacturer day may be old.

When I find time, I will write analytically about battery tips etc in my S4 Unified Guides/Collection thread.

About BT, I will say the same. If you did dirty flash and you have problems, make a clean install.

BT may not be perfect for many users but if it needs a device reboot once per day, I don't think it's a big problem.
[Galaxy S 4 i9505 Original Android Development] bersem:
One thing that I have to correct you it runs on Stock Lollipop :D :p

Hope u enjoy your free time from mill. service :p
[Galaxy S 4 i9505 Original Android Development] Retrial:
I am talking about the release :p Galaxy S4 released with Android 4.2.2 (Jelly Bean), upgradable to 5.0 (Lollipop).

Heheh thanks but unfortunately tomorrow I have to return back ?
[Galaxy S 4 i9505 Original Android Development] vip5912:
FYI: Make your SD card Semi-adopted

If you have the problem with empty internal memory and have the big FAST external SD you can convert part of the external SD to the internal memory (Adopted SD).

I found this post:

https://xdaforums.com/idol-3/general/make-sd-card-semi-adopted-t3399510

I have 32GB Samsung SD and I splited it (by adb shell) to 24GB portable SD (FAT) and 8GB adopted SD (internal memory).

WARNING: MAKE BACKUP SD CARD (it will be formatted)!!!

#sm list-disks adoptable
disk:179,64 (get your disk name!)
#sm partition disk:179,64 mixed 75

Now I have 24GB external SD card and +8GB internal memory.

NOTE: Because SD card is slower then internal memory I use adopted SD for rare used applications.

Now with new Android 9 image (thanks to side and team) and additional internal memory space I have new life for my S4.

P.S. Battery is enough for one day for me, BT is ok if I make reboot once a day or two. Overall i'm satisfied.

---------- Post added at 16:01 ---------- Previous post was at 15:56 ----------

You are right. I bought my S4 with Android 4.2.2 and then upgraded to 5.0 and then LineageOS (11, 12, 14) :)
[Galaxy S 4 i9505 Original Android Development] vip5912:
P.P.S. I have many apps (about 150) but most of them are frozen without background activity by Island and run on demand. The phone works smartly :)
[Galaxy S 4 i9505 Original Android Development] jeyzones:
the backuptool recovery doesn't work, the gapps and the magisk are deleted.
[Galaxy S 4 i9505 Original Android Development] urigg:
Note, bug is still present in 16v14. I think the last known good version was 16v11, but not sure.
[Galaxy S 4 i9505 Original Android Development] Retrial:
Please take a log the next time it happen.

Reproduce the crash-bug then take a log and send it here or to Side.
[Galaxy S 4 i9505 Original Android Development] urigg:
Its a kernel panic, there will be no log files.

All known background info is linked in the first post.

To reproduce:

- Install firefox preview

- Launch

To get your phone back to normal:

- After reboot, go to flight mode quickly

- Uninstall firefox preview.
[Galaxy S 4 i9505 Original Android Development] side:
kernel panic is stored at last kmsg or dmesg
[Galaxy S 4 i9505 Original Android Development] answa:
I cant find v14, only v12. Anyone have a link?
[Galaxy S 4 i9505 Original Android Development] Retrial:
I've mentioned Side on Slack to take a look. It will be restored soon I guess.
[Galaxy S 4 i9505 Original Android Development] H0sseiN:
You can download it at Google Drive
[Galaxy S 4 i9505 Original Android Development] answa:
Cool. Thanks
[Galaxy S 4 i9505 Original Android Development] urigg:
Managed to get a last_kmesg. I'm not allowed to attach it, so have a pastebin: https://pastebin.com/hDUARanm

Basically the same as in the thread I mentioned in my January post. Crashes in Netlink due to a null pointer. Fix is in upstream lineageos kernel.
[Galaxy S 4 i9505 Original Android Development] Vorton:
Wanted to pop in real quick to say thank you! I tried your LineageOS17.1 rom first but I was unable to get it to stop rebooting into recovery mode even after following the instructions someone else posted about updating the TWRP. This rom seems to be working fine. I will be trying the android 10 again at a later time as I really want to try that system wide dark mode but for now this is working really well. Again thank you so much for all your hard work!!
[Galaxy S 4 i9505 Original Android Development] sjamie:
Those of you who are still using OptLOS 16 version 11, is bluetooth 100% stable for both making phone calls and for streaming media? If not, which version do you believe has the most stable bluetooth?
[Galaxy S 4 i9505 Original Android Development] John D J:
V8
[Galaxy S 4 i9505 Original Android Development] vip5912:
How get data (backup) from your adopted SD

See post:

https://eric.pdxhub.org/journal/2019-03-27-android-storage-recovery/

I use adb from linux pc connected to phone in recovery mode.

adb pull /dev/block/mmcblk1p3 mmcblk1p3.img
adb pull /data/misc/vold
hexdump -e '16/1 "%02x" "\n"' vold/expand_ffffffffffffffffffffffffffffffff.key
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa (get your key in hex)
sudo losetup --show --find mmcblk1p3.img
/dev/loop20 (get your loop device)
sudo -s
#dmsetup create crypt1 --table "0 `blockdev --getsize /dev/loop20` crypt aes-cbc-essiv:sha256 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 0 /dev/loop20 0"
mkdir mnt
sudo mount /dev/mapper/crypt1 mnt
ls mnt (your expand data)
[Galaxy S 4 i9505 Original Android Development] sjamie:
Is Bluetooth still working flawlessly for you for both calls and music on version 13?
[Galaxy S 4 i9505 Original Android Development] benlm72:
I'm testing OptLOS 17 since 5 days. Previously I was on OptLOS 16 v11, with v12 and 12.1 I lost stable BT. Never tested v13 because changelog didn't talk about BT improvements.
[Galaxy S 4 i9505 Original Android Development] sjamie:
A few users have told me they have stable bluetooth on OptLOS 16 version 8. I will be testing that build later today. I hope they are right! :D
[Galaxy S 4 i9505 Original Android Development] Jeron96:
Deleted
[Galaxy S 4 i9505 Original Android Development] nwlun:
ROM has serious battery drain. Suspect related to kernel

ROM+GAPPS battery serious drain even on standbymode (no WiFi n no data). Loss 30-40% in 8hrs. This is what we already kno but

ROM+MicroG also the same. Smth is not right when dropping >30% overnite.

Opt LS 7.1.2 has better standby. Sometime not even drain 1% better than android 9&10

Only on MicroG not Gapps definitely
[Galaxy S 4 i9505 Original Android Development] ChrisAntono:
Guys, I have a problem with my speaker.. Its' volume is really low and I have problem hearing the others.. Is there a way to change this??
[Galaxy S 4 i9505 Original Android Development] merchupi:
Does anyone have the OptLOS 16 version 8 to share? Thanks
[Galaxy S 4 i9505 Original Android Development] John D J:
Go to android file host, as at the beginning of this thread, then tap on older versions and you'll find it there.:good:
[Galaxy S 4 i9505 Original Android Development] merchupi:
Thanks [MENTION=5712124]John D J[/MENTION]