yashsingh1/xdaforums huggingface dataset:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] chrb1985:
I had the same issue. I even tried to figure out a way to turn the backlight even further down to save battery.. But the I got a hold of a i9305 which I managed to install the custom kernel on. Then it's no problem with battery. Have you tried to install it?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] luc0_0:
Not tried.

What kernel do you use ?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] chrb1985:
This is the Boeffla kernel for cm14 : https://www.androidfilehost.com/?fid=457095661767098439 But be aware, it is not all phones it works on. The other guys says its because of the bootloader but it have tried 4different i9305's and I just got it to work on 1 of them. Good luck :) hope it works:)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] magic_de:
I´ve tried Kernel Aditor with Pegasus settings, but still getting much battery drain with standby.

Loosing 12% battery within 9 hours. With my previous system (Lollipop) it was about 5% within the same time.

Has anybody experienced similar standby battery drain?

Greeting from northern Germany

magic_de
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] chrb1985:
Its exacactly the same problem that we are discussing here :) Try the kernel :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] magic_de:
You mean running a CM14 kernel on a CM14.1 system? Not my first choice!
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] djthorne:
I'd say that was pretty normal to be honest. Anywhere near 1% per hour, so 12% in 9 isn't too bad. Although I have BT and NFC running constantly.

Have you tried Greenify?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] limjh16:
For battery: let it settle after first boot, battery is always horrible after first boot and restoring all the apps, etc. After about a week my battery stabilises.

As for kernel: my kernel doesn't work for cm14.1, and I can't figure out how to make it boot for 14.1 so stick to cm14. Anyways nougat 7.1 wasn't even made for anything other than the pixel as of now...... (At least the source is only for the pixel)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] magic_de:
Thank you for that info. So IÂ´m gonna wait for that.

But I doubt, that 7.0 is developed any further here since 7.1 exist...

---------- Post added at 03:42 PM ---------- Previous post was at 03:41 PM ----------

Hmmm, Better Battery Stats shows Wifi 100% on, while system battery details shows off.

Error in BBS, or are some parts of Wifi active and draining the battery?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] chrb1985:
OK guys I don't know why its so bad but what do I know. I'm no expert. Worked for be except the WiFi issue. But anyway, nice tips limjh 16. If that is true then I to want to try it. Too bad I just went back to Cm12.1 with agni kernel. :p
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] limjh16:
You have the Google "scan for wifi for better location" thingy turned on.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] magic_de:
That's right! Thanks for that.

Btw: Last night the battery drain was 5% within 8h. That's almost perfect, but I don't know, why the battery drain has changed that much.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] woodman:
Maybe your phone is SOMETIMES not deep sleeping because of some wakelocks (kernel wakelocks or partial wakelocks)?

In BBS enable watchdog, then if big battery drain happens again when screen is OFF, you'll have to check for instance if the wakelock mdm_hsic_pm0 is present in kernel wakelock, if it's a high value (more than 40 or 50 % or even almost 100%), it should explain why you're phone is sometimes draining battery fast.

As I said, you should also check other wakelocks.

Maybe you have quite normal drain now because:

- the ROM is stabilized (as suggested by [MENTION=7018227]limjh16[/MENTION])

- you've rebooted your phone and abnormal wakelocks (caused by some borked apps or kernel bug) are gone temporarily?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] magic_de:
I´ve got camera not working many times. I´m using "Smart Stay+" to keep screen on while looking at the screen. So the front camera is used very often.

Sadly "media server killer" does NOT help. Only reboot gets camera working again.

Is it possible to solve this problem?

Greetings from northern Germany

magic_de
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] magic_de:
first mdm_hsic_pm0 wakelock

Meanwhile my normal standby battery drain is approximately 1% within 2h with Wifi and BT off.

That's o.k. for me.

But: Today I got my first mdm_hsic_pm0 wakelock with 90% active.

Is there any other workaround than rebooting the phone to get rid of this wakelock?

Greetings from northern Germany

magic_de
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] woodman:
Unfortunately, no. :(
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] magic_de:
… and another wakelock: This time it is "GnssLocationProvider".

I have only found the wakelock source code in GnssLocationProvider.java:

…

private final static String WAKELOCK_KEY = "GnssLocationProvider";

…

mWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_KEY);

Any chance to get rid of this?

Greetings from northern Germany

magic_de
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] xterm1:
SD card do not work. Card is not visible after first run, not visible when remove/insert again. Not visible in build in file manager.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] schwarzerfleck:
Activate the terminal app from dev settings.

Type "su" then grant it root permission.

Afterwards, type "killall cameraserver"

Make sure you have closed all applications that use the camera.

It happens because of some security stuff that splits the servers in media server and camera server :good:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] magic_de:
Thanks for your info, but I think that is not practicable, because stopping application (Smart Stay+ in my case), opening terminal and typing the kill command needs as much time as rebooting.

Hoping that p.a.n will fix the security problem soon. ;)

Nevertheless trying to follow your advice leads into reboot while stopping Smart Stay+…

Greetings from northern Germany

magic_de
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Amadeus1965:
Good afternoon P.A.N.

First thank you very very very much for porting CM 14.1 to GT-I9505.

Your work on CM 13.1 (MM 6.01) was already amazing, I really didn’t expect Android N on this device certainly not before GT-I9300.

For me no issues at all.

Phone	working for LTE, 3G and 2G

Wifi	working

Bluetooth	working (but since it is an unsafe communication feature I disabled it)

Camera	working (flash & Video working fine, only CM screen recording does work but after that camera stops)

GPS	working (but I disabled it and only enable when needed)

NFC	(since it is an unsafe communication feature I disabled it)

Mobile data	Working (even after first boot)

Battery drain doesn’t seem to be an issue (but I am only 20 hours on CM14.1 and lots of downloads. So I have to judga after a week of using this device and I don’t play games on this phone, it’s used as communication device. ).

Amadeus1965
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] elitistphoenix:
Thanks P.A.N.

Wifi Hotspot works in this version too.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] krakowiak84:
Hi everyone.

Another rom rejuvenating i9305 ...

P.a.n Good job, good luck in your work.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Minto107:
Unbelievable :D I thought that I9305 won't get it or it won't be fully functional while I9305 is in front of I9300! First time ever!

Wysłane z mojego LG-H815 przy użyciu Tapatalka
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] FaySAL Majoka:
gt i9300 will get nougat soon...... its in testing ...... only camera and Ril not working.....
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] hexisg:
Clean install.

RIL works, camera works, Data connection works , including LTE, as tested, Gps didint test.

Developer options work for me.

Bugs : External SD not usable , cannot import contacts from SIM.

Rom is smooth and fast , a little fast on the battery drain.

Any custom kernel for this?

Thanks for your work.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Minto107:
I don't think there will be a custom kernel... S3 os pretty dead now, Andi won't update Boeffla kernel to Nougat and AGNI was dead long time ago

Wysłane z mojego LG-H815 przy użyciu Tapatalka
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] rodman01:
check this: http://xdaforums.com/showpost.php?p=68924280&postcount=4

only 3 pages till now to read....but even not for them seem to be enough time left.....
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] 西村大一:
I would like to inform you that [MENTION=7018227]limjh16[/MENTION] made a test build of boeffla for cm14. First page.

Beamed from my m3 through electromagnetism.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] tinko975:
You mean external card not work at all? Must put install files on internal memory?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] 西村大一:
External SD not working in Android. Recovery mode has no issue. Make sure to use TWRP 3.0.2.0 -1 or whatever the latest version of TWRP is.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] tinko975:
Yeah rom works. Sometimes camera fc and video recording not working. Also is nice.

usb OTG not working.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] limjh16:
wrong guy its limjh16 ;)

#OTstuff
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Rootax:
Incredible. Thx you p.a.n. I'm still on AICP 11 by rodman01, but a mostly working rom at this stage is great ! Thx a lot.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] 西村大一:
Sorry. I was on Tapatalk and didn't know it automatically mentions the user. Corrected it now.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Bananas744:
Agh externalSD not work ;((
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
Hi,

sorry about the sdcard, I used wrong fstab, it should be OK in the next build (maybe tomorrow, but can`t promise it).

About the developer menu - I know how to access it, I just cannot, I get only black screen :(

The GPS and SBAS - I am just wondering if this phone is really receiving those signals (AFAIK it never did before) or if it is some some software bug, which makes it look like it does.

The rest of problems - we have to patient, development is still in progress.

Thank you for testing :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] 西村大一:
I would like to suggest you the following change to add to your build process: removal of block_image_update. There was a commit that removed this type of install and reverted it to the older style of folder/file copy. It would be very useful. I just need to dig around to find it.

Found it. [MENTION=5132229]xpirt[/MENTION] has a thread in which you can find the steps. THIS especially this header

---------- Post added at 18:44 ---------- Previous post was at 18:43 ----------

If you can just share the FStab then we can replace it. Easy peasy. Pretty please. No ETA for next build. Did you manage to solve the mobile data not working on first boot?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] tinko975:
Using CM on this after long time because i did not satisfied how CM13 works. Exvellent!! [MENTION=7018227]limjh16[/MENTION] i flashed your boeffla kernel but it wont boot, stuck in samsung logo, sad..

it is not all, after restore my system, wifi wont turn on any more.. dont play with this kernels, untested please, i have to reflash rom again..

after restoring stock boot rom recovery, dirty reflashing rom now phone.process fc.. boeffla kernel is bull****

how can i fix this issue "process.phone stopped" without reinstall everything again, i spend half a day to set phone, and worked brilliant, after flashing that boeffla wont work any more..
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] MaHo_66:
Hold your horses there mate! Have some respect! You have no right to call others work bull****! Nobody is also forcing you to flash/install any of the stuff that is given for free within these threads. If you trust your skills and knowledge to recover in case of anything goes wrong, then go ahead in flashing/installing anything you want, but if not, then dont flash/install/test until you think your ready, its that simple.

Do you know how many great people who worked hard to give you this kernel you are insulting by saying that let alone limjh16? Its clearly stated that it was for testing purposes. I think you owe those people an apology, dont you think..?

I dont know for how long you are into custom roms/flashing etc. but you should know that there are expected issues when restoring backups from samsung roms on top of aosp/cm based roms and vice versa or doing dirty flashes etc. Clean flashing with wipe of internal memory solves most cases, remember that.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] daedric:
LoL You should also calm down. I don't think he meant insult,h is english is not so polished. I believe that he meant to warn others that the kernel is not that stable on this ROM.

limjh16's kernel is one of the best i've tried on this smartphone. CM14 is as green as it gets, it's almost a miracle that the first version is working so well! This rom as not been considered a daily driver, so no one should expect it to be.

Go and check i9300 CM14 thread, not even RIL is working... so we should all be happy with what we got.

Also, most if not ALL CM threads explicitly state that NO support will be given if we deviate from the stock or stated supported kernels. Go to the kernel thread and ask for support there.

</offtopic>

P.S. I didn't meant to insult you MaHo, you're very right to defend the OP and all devs around here, just trying to calm the mood :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] limjh16:
Oh, sorry that the boeffla doesn't work. I have 0 time to check out why, since exams are tomorrow and I'm not even supposed to be using my phone now... So stick with stock kernel first I guess.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] 西村大一:
Don't risk your exams. School before Android.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Minto107:
Actually I9300 had both CM14 and CM14.1 fully working before I9305 ;)

Wysłane z mojego LG-H815 przy użyciu Tapatalka
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] derba:
Nightly

Do you know why I want to have a new firmware instead of the official one? I like Samsung's official firmware, even the bloatware they installed can mostly be disabled. I want a new firmware because of an unpatched OS is a security risk, it is full of known vulnerabilities, despite the apps being updated all the time...

And actually this firmware has the same issue. Unlike an official CM ROM with nightly builds, this one ages quickly, unless you manually release a new one. Isn't it possible to have nightly builds instead? And once a month you check the nightly and if it is fine, then make it a "release".

Naturally when there are known severe issues then having nightlies can be pointless.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mad89:
Hi,

Here is my builds based on p.a.n. sources. I will try to update this few times a week to provide up to dated CyanogenMod for i9305. Have fun :)

https://drive.google.com/open?id=0B_ohj9exsQJMSU84MGxkbFdnYUk
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] wget:
I'm sharing your point of view here. I'm the king of guy loving to push things upstream. There is still some work done on i9305 by some random guy (not the official cm i9305 maintainers) (but they are still work done on the kernel side and on the Android stack as well. Why not push pan's patches upstream and maybe ask to become an official cm maintainer? This way, he could rely on the CM build infrastructure.

If only pan could release proper build instructions. I think he missed one of the points of open source: give as much infos to others. That way, we won't have to wait for him to do the work for us. Anyone is busy nowadays, making new builds, especially if this does only require git rebasing and recompiling isn't that hard and could be made by the community.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] chrb1985:
I tried your build and it seemed like there was a problem with receiving calls? Is this right?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
It is simple - it would require more work and time from me and as I wrote several times - I am just sharing results of my hobby. I don`t want it to be anything more.

I admit that the info is scattered over several places, but I published everything what is necessary to make a build. First take a look at here http://xdaforums.com/galaxy-s3/development-i9305/rom-t3293852 . It is for CM 13 (so you have to change the branch name), but the process is the same, with one small change (I think I mentioned this somewhere in this thread) - the diff file is on github https://github.com/p-an/android_device_samsung_i9305/tree/cm-14.1/repo .

Right now I am busy with other projects, but I`ll prepare a new build with enforcing selinux soon. In the meanwhile there new builds from [MENTION=2381451]mad89[/MENTION] :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Manu*:
Hello all,

First, thanks p.a.n for this build and your amazing work :)

I tried this ROM and like CM13, no GPS on my phone. The last time GPS worked was with android 5 / CM12.

Anything I can try to get it working ?

Thanks

Manu
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mad89:
You right. I didn't notice. I test builds from 11.26, 11.28 and they both had this same issue (I suppose 11.27 build have this same issue). I will check whats goes wrong. Until this time I advice last p.a.n build.

P.S. It's my first Android builds, please by patient :). When I'll fix this probably I'll start new topic.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] chrb1985:
Ok. Keep up the good work :) nice job :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] derba:
[MENTION=2381451]mad89[/MENTION] It is nice of you. Still, it is not like obtaining CM updates from Settings menu. And manual work, which is to be avoided as far as possible.

---------- Post added at 07:34 AM ---------- Previous post was at 07:20 AM ----------

Yes, that is understandable.

Still, automation should not take too much time and have its benefits. Even saving time on the long run. If there was someone who could do that, we would be grateful.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mad89:
About automation, I planning set up Jenkins on my RPI + auto upload on Google Drive (I even started few days ego, but I got some difficulties). I will do this, but It's not priority right now. Firsts thing first... in first order bugs, next step will be automation.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] derba:
Bug are first, of course.

Automation, on the other hand could be done on CM systems. I think that would be much better.

No resources on your side.

OTA updates, thus people are more willing to update (and have up-to-date security fixes) as well as test.

Automatic pull of latest CM code and you see if compilation goes wrong.

It seems to me that it is not too difficult to submit a port to CM. (I am too new here, so I cannot post an external link to wiki.cyanogenmod.org/w/Doc:_Submitting_A_Port)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Pe1ican0:
AFAIK submitting a new port to CM is not the issue, maintaining the source full time is. There needs to be devs at CM available for that. This idea was already on the table with 5.x ages ago

---------- Post added at 08:00 PM ---------- Previous post was at 07:45 PM ----------

A common problem with our handset actually. I have flashed my handset dozens of times through the years, I lost my GPS 3 times already, twice during a Android 5.x to 6x update... No idea why & a number of people have experienced it installing various ROMs.

First you need to evaluate the situation.

If your GPS doesn't work at all.... You get no fix, even after changing the settings properly, you can use an app like TopNTP from the Playstore.

Enable root, configure TopNTP according to your region & reboot.

Try GPS status.

1. If you get one or more fixes but not enough to use GPS, then the problem is probably the copper contact of the antenna. Use a small Philips screwdriver, a good one with enough grip, not a cheap piece of crap, then tighten as much as possible the 8 screws around the phone under the back cover. Apply enough pressure with the screwdriver & make sure the screwdriver is the exact required size otherwise you risk damaging the screwheads & that is bad too.

Now test again.

2. If you still get no fixes at all, not even one then your GPS is corrupted & you must restore NV data. It is the last resort option.

There are 2 ways to do that :

2a. If you have a NV backup made with the QPST software, you can restore NV & the problem is solved

2b. You lost your backup or never made one (next time think about it!) then you will need to reinstall stock ROM & kernel to use the Service Menu & restore NV.

This is explained in a tutorial already.

http://xdaforums.com/showthread.php?t=3176151

It says there that there service menu varies but may be accessed from 4.x & 5.x, it's not correct. 4.4.4 is the last Samsung ROM allowing to do this. Also don't bother with the linked service menu apk file, it doesn't help. Either the service is included already & works or it does not. Just follow the service menu instructions, ignore the rest.

You can do this with a Samsung ROM or with TGP 26.x (the Galaxy Project) but you need to choose Stock ROM & then Stock Kernel when asked during installation.

However this process can network simlock your phone. If you have the code already, no problem. If you don't have the code then you will need to download from sammobile.com the Samsung ROM 4.1.1 UK & use the service menu with that ROM to unsimlock the phone.

If you prefer, you may do everything under this 4.1 1 ROM, GPS NV restoration + network simlock removal.

Here is the thread about

Network SIM unlocking with 4.1.1.

http://xdaforums.com/showthread.php?t=2185866
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Manu*:
Thanks for your help :)

So what I have to do is:

1 - flash stock ROM

2 - backup NV data with QPST

3 - re flash CM14

4 - restore NV data

I'm right ?

For the point number 4, how can I do that ? With QPST ? Or with Odin ?

Manu
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
It is fixed on my github. You can rebuild, if you want :) My build will come later.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mad89:
Thanks p.a.n. I'll do build this evening.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] limjh16:
Tbh just get a build script and run it once every week or something, it's not worth the resources to set up a server dedicated for Jenkins as it'll take up valuable system space and you're building for one device only anyways.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mad89:
New build with calls receiving fixed

cm-14.1-20161202-UNOFFICIAL-i9305.zip

cm-14.1-20161202-UNOFFICIAL-i9305.zip.md5sum

I thought about this and probably I will do this like that on beginning.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mop09737:
Hi mad89,

Can you tell wich are the diferences between your rom and the last rom that p.a.n has share?

Thanks
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mad89:
Hi mop09737,

It's only updated CM and p.a.n sources. CM changelog: https://review.cyanogenmod.org/#/q/status:merged or https://www.cmxlog.com/14.1/

I notice working shortcuts in Quick Settings (pulling down status bar), tapping on clock and date opens proper app. Launcher on apps list display all icons in straight colums. I got feeling the Real Racing 3 works smoother :).
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mop09737:
Thank I will try it and give feedback. :good: