yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] DuckMcQUack:
Is it possible to use kernel tweaking apps to adjust stock kernel configuration? If so, which one?

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] mordek:
App name: broodParts Lite

You can find app at play store.
[Galaxy S 4 i9505 Original Android Development] kidkoala_uk:
TricksterMod may help also available on play store.
[Galaxy S 4 i9505 Original Android Development] perr0.br:
Do any of you also have this glitch that sometimes when clicking on a folder on your homescreen it doesn't show the opening animation completely and the opened folder appears faded. You have to click somewhere else to close the folder and open it again.

Sometimes it happens to me. I'll try to take a screenshot next time.

--perr0
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
Indeed, for additional undervolting you can use my updated InstaVOLT (also on play store) it now has init.d support :good:
[Galaxy S 4 i9505 Original Android Development] Faschoda:
Had that problem in preRC4. I wiped data, system, cache etc in order to flash rc4, now nearly everything works really smooth! Btw gj brood! I love your newest iteration of aosp. Best i have used so far, ever!
[Galaxy S 4 i9505 Original Android Development] Broli@666:
Hello [MENTION=3341220]broodplank[/MENTION]

Can You please provide your last kernel as zip to Flash by recovery? I would like compare your kernel with alucard's and kt's...

Will You prefer to use the boosterpack with your latest rc4?

Do You could find out the solution for the grafic proplems in some games (I know the solution with Disable the Hardware overlays, but this cant be the only way).

I have also another Problem with using the videochat in Tango. The picture of the front camera has not the right proportions, its distorted. Under GE I dont have this Problem.

Thanks for your hard work!

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] RagingHarry:
Used your init.d app before, works at it should.

Tried that InstaVolt, and that couldn't apply init.d, gave some errors and that i should try the init.d app :silly:
[Galaxy S 4 i9505 Original Android Development] bunu:
"Whenever I try to flash this ROM on my phone, I get symlink errors and it fails. Did anyone flash this ROM on the T-Mo version of the S4? I downloaed it two different times. All my info is in my signature."

any help?
[Galaxy S 4 i9505 Original Android Development] TemporaryTester:
I flashed it on the AT&T version (pre-Knox bootloader), and it works fine.

Care to provide more info on your device? Like whether your bootloader has Knox or not, etc.
[Galaxy S 4 i9505 Original Android Development] DuckMcQUack:
Hi broodplank, I've installed instavolt and I managed to lower CPU frequencies by 50 mv. However when I try to check my current voltage levels I get a blank popup window. Is it a problem of the app or something related to my phone's configuration?

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] droid_1989:
I'm definitely getting some wakelocks for some reason.

The culprit seems to be *Sync"/com.android.browser/com

It seems like it's power management service, dropped 13% in 4hours 55 minutes.

I've attached, screenshots, logcat from bbs and in txt file too.
[Galaxy S 4 i9505 Original Android Development] hurstov:
Have you checked in accounts> sync? I get that sometimes and usually something is failing to sync properly. Or, try uninstalling browser, are you using chrome beta?
[Galaxy S 4 i9505 Original Android Development] droid_1989:
I've uninstalled browser.

But going into sync, on my google account it just says "Syncing Now". when I go into specific items within that list, it says everything synced, and nothing is "currently" syncing. I've tried removing the google account and adding it again, and still issue occurs.

I also don't use Chrome Beta, just standard chrome.
[Galaxy S 4 i9505 Original Android Development] Pfeffernuss:
Could you at least crop your signature images a bit. They take up massive amounts of useless screenspace with all the white area around the logo's.
[Galaxy S 4 i9505 Original Android Development] hurstov:
If I were you I'd do a fresh install. Format everything including system. There could be something funky not being overwritten properly.
[Galaxy S 4 i9505 Original Android Development] droid_1989:
Have done this, seems like it's worked. As a safe measure I'm going to uninstall browser because I don't use it, I use chrome.
[Galaxy S 4 i9505 Original Android Development] bunu:
MK2 baseband but I have the Touchwhiz 4.2.2 radio. I do not have the KNOX bootloader. I always do full wipe before attempting to flash and I'm on TWRP 2.6.3.1
[Galaxy S 4 i9505 Original Android Development] uelue11:
I tried a2dp with my car and it worked
[Galaxy S 4 i9505 Original Android Development] Brotuck:
Tried the Instavolt app and now my usage is down to 0,9% per hour.

RC4 is very good and stable !
[Galaxy S 4 i9505 Original Android Development] DuckMcQUack:
Hi broodplank, thanks for updating instavolt app! :)

By the way, where can I find the stock voltages table for i9505? I undervolted by 50 mv with the lady version of the app and I don't know if the modifications took place of not!

EDIT - I just rebooted the phone and checked for stock values as the app doesn't apply custom settings on boot ;)

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
You're welcome.

the stock voltages table is where 900 is the lowest ;) and what do you mean by lady version xd? (latest?)

anyways. the reason that it doesnt apply at boot is because you need to enable init.d support first by using my init.d toggler app ;)

oh and other then that!

I'm working on final 1.0 now ^^

I have a unified device name now (jflte) and it matches all jflte devices ;)

Next to that I have new blobs and all audio / video playback seem to be fixed, also got some new bionic patches from linaro

it feels really smooth and really feels like a final, anyways. what is not fixed, is the 3d EGL (that needs hw overlay disabled), if that is fixed then its time for Final 1.0 ;)

were getting really close ^^
[Galaxy S 4 i9505 Original Android Development] cowgaR:
how to update camera firmware?

Hi everyone,

first thank you broodplank for this amazing ROM and all your effort you're putting into it.

About to install this ROM on S4 i9505 that I plan to give away. It still has got KNOX free bootloader as the latest Touchwiz ROM I had there was Android 4.2 based.

Any knowledge how to update Samsung Camera Firmware of the device without bringing KNOX in?

I can update 4.4 compatible radio via Odin but AFAIK to update S4 camera firmware one has to install latest Touchwiz ROM – which will install KNOX bootloader to my device.

Is it worth taking the risk to have a better camera firmware (by flashing latest Samsung firmware) with KNOX bootloader or should I keep device KNOX free for better 3rd party ROM compatibility? What else apart from ‘warranty status’ does KNOX affect?
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
You're welcome. And for what reason would you want to update the camera firmware? It's not needed I think. Where did you find this info that there is a better camera firmware available?

And knox affects nothing but warranty. you can flash it if you think it helps you in upgrading the camera firmware, I have once seen a firmware updater sort of thing in the system folder of a GPE rom. so maybe its just that. other then that. when an other rom is installed the firmware is wiped anyways. I dont believe there is a special partition for this stuff or so.
[Galaxy S 4 i9505 Original Android Development] DuckMcQUack:
I meant last version indeed :) Thanks Brood, u have killed my flashing-mania...

By the way, is it possible to use initd toggler app Also to apply ondemand governor at boot with broodparts lite?

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] cowgaR:
some secret partition indeed. This information is lightly touched over the S4 forums spread across various threads but is unclear. I'm sorry not keeping track where just wondered, as I can see radio partition for example but not anything camera related.

I just thought Samsung might update things not easily visible for general public via official updates. If the poor Touchwiz folks were all the time discussing basic (incremental) camera updates (within Samsung android, happened XXUBMEA and the like) than I don't know what was the fuss about...

specifically there were 'advises' to first update Touchwiz ROM version before flashing 3rd party ROM, hence the question...sorry for off-topic, no more further discussion
[Galaxy S 4 i9505 Original Android Development] Guller:
Sorry for my late response it worked after a clean install.. clearing cache didn't do the trick
[Galaxy S 4 i9505 Original Android Development] drnjstj:
Buy a new car. :P
[Galaxy S 4 i9505 Original Android Development] TemporaryTester:
OK, so you're on MK2 ROM version? Baseband is the modem/radio version, not the actual ROM version. Either way, it sounds similar to what I had when I upgraded; I was on International ML6 when I switched to this ROM; still have the MDL bootloader and am now on MLD baseband.

Maybe, try another recovery? I generally don't like TWRP.

Install the latest CWM zip-based ROM from here. Do NOT install an Odin version. Run Camera once after installing the ROM, and you're done.

Arguably, nope. I haven't noticed any difference whatsoever, and I've brought my phone through (IIRC) 3 camera firmware upgrades. I'd just stay KNOX-free for the ROM compatibility. All it really affects is the device's "eligibility" for KNOX and the warranty status, as far as I can tell.
[Galaxy S 4 i9505 Original Android Development] perr0.br:
Finally managed to take a screenshot of this glitch.

--perr0
[Galaxy S 4 i9505 Original Android Development] bunu:
Wow. You were right! I switched to Philz recovery and the ROM flashed without any problem.
[Galaxy S 4 i9505 Original Android Development] TemporaryTester:
Glad I could help, mate.
[Galaxy S 4 i9505 Original Android Development] droid_1989:
You might remember, earlier in the week I had issues with a wake lock. It's now fixed, and got insane battery life now, mainly because instead of having things running the hen I'm not using it, I've only switched wifi/data on when I've needed it.

One question what i do want to ask, is bbs is saying the wifi is off but it's running, is this normal? See screens provided, and you'll see what I mean.
[Galaxy S 4 i9505 Original Android Development] destevez:
You are right about Knox broodplank, btw you can keep old boot loader, New modem firmware without Knox and the rc4 fits really nice.

Enviado desde mi GT-I9505 mediante Tapatalk
[Galaxy S 4 i9505 Original Android Development] !crazy:
What's wrong with hw overlay disabled?

That's the first thing I do after boot. It definitely helps in switching all (or almost all?) graphic related work to the GPU.
[Galaxy S 4 i9505 Original Android Development] Lither:
I've accidentally turned off Developer Options and now all options is unticked, is there any options I should tick?
[Galaxy S 4 i9505 Original Android Development] bagofbits:
Wifi Running

Hi,

I've noticed this wifi running thing and it's been doing my head in, this may sound like a weird solution but it works for me. Boot your phone and let it run for while so you have battery stats then toggle Wifi hotspot on and off then leave it for a while. Then check your stats and in my case this stops the wifi running all the time.

Hope you understand what I'm saying / describing and can try it coz it deffenetly works for me, I've found no way to set something at boot or to automatically do this.

Please let me know as I want to confirm I'm not going daft.

Cheers

Oh, my battery is life fantastic on RC4 and looking forward to final brood .... Keep it up ROM is great ...
[Galaxy S 4 i9505 Original Android Development] droid_1989:
But if I have wifi hotspot running all the time, wouldn't that increase my battery load?
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
Well it's wrong that it has to be disabled in the first place.

its a problem in the kernel, I hope I fix it very soon.

debugging mode ;), thats alll

Good to hear that, yes I'm looking forward to it as well. thank you

Lol I don't think it actually will increase your battery, of course the most battery saving is to put it off ;), but no notable drain also
[Galaxy S 4 i9505 Original Android Development] !crazy:
Any reason not to let GPU handle all drawings? When not disabled it doesn't kick in so fast. One sees it in general on desktop effects sometimes, and one can see the GPU frequency doesn't scale, but stays on default (with hw layers disabled, one can see that it jumps up with first changes on the screen.).

I am just asking :).
[Galaxy S 4 i9505 Original Android Development] RK:
Google location services use WiFi even when it's turned off.
[Galaxy S 4 i9505 Original Android Development] Guller:
Who are you, are you spying on me, are you part of the NSA?:eek:

Well yeah, not a new car but a new head unit is an option
[Galaxy S 4 i9505 Original Android Development] bagofbits:
Wifi

I did not mean keep it running, just turn it on and wait till it enables then turn it off (toggle on / off), let your phone sit and check your battery stats and I notice that WIFI is not running all the time.
[Galaxy S 4 i9505 Original Android Development] TemporaryTester:
Unless you change the option in Wifi -> Advanced.
[Galaxy S 4 i9505 Original Android Development] commandcontrol:
Hey. Anyone experienced sudden heating of phone and it won't turn on screen for few minutes? I had to remove battery to reboot the phone. I'm coming from pre rc4. Wipe dalvik and cache. Thanks!
[Galaxy S 4 i9505 Original Android Development] adichandra:
I experience sudden heating after ticking "disable hw overlays". Unticked that and its ok now. I dont know whether it caused that or not.
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
hmm it disables the MSM Framebuffer, it shouldn't heat the gpu though. What were you doing when it happened, playing a game? or just in normal mode
[Galaxy S 4 i9505 Original Android Development] roli0201:
I like this Rom, very stable, but...

My issue: When I do a phone call the screen doesn't turn back on. So I can only end the call by hitting the power button.

mfg
[Galaxy S 4 i9505 Original Android Development] DuckMcQUack:
This is not related to the rom as my proximity sensor works flawlessly. Have you flashed a custom kernel or what?

I have read somwhere that it may happen that the calibration may get off and you can fix this by flashing a stock samsung rom through odin.

Wait for someone more savvy as i'm not 100% sure and flashing a stock rom may imply to get a KNOX enabled bootloader if you don't have one already.
[Galaxy S 4 i9505 Original Android Development] roli0201:
Thanks for your help. This issue is included in many Roms. For example CM11 or Omnirom, but Mahdi or Jamals Nexus Port works. But I have random reboots on this roms.

Flashed a Samsung Rom by Odin a few weeks ago because i had a softbrick. But no KNOX Bootloader Rom.
[Galaxy S 4 i9505 Original Android Development] adichandra:
Normal mode. Ticked disable hw overlays, resume browsing this thread and sudden heat appeared like a pokemon.
[Galaxy S 4 i9505 Original Android Development] r4yv3n:
I'm having this problem too now.Never had it into other releases.

Using Alucard Kernel.

And i don't want Knox :)
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
General Message to everyone, in the future for uploading logcats, go to www.broodplank.net/logcat
[Galaxy S 4 i9505 Original Android Development] r4yv3n:
1st I made broodplank nandroid backup

2nd I flashed an custom stock rom (no odin used , no knox and no problems after flashing)

3th using this post i recalibrated sensor , method 2 to do it forever http://xdaforums.com/showpost.php?p=48468330&postcount=1&nocache=1&z=2219195475336164

4th restore nandroid and working again :good:

Not kernel dependant, i'm still on KToonSenz now. (restored nandroid after make change)
[Galaxy S 4 i9505 Original Android Development] TemporaryTester:
Just wanted to chip in with my two cents. The SGS4 has absolutely awful QC on the proximity sensor. I've seen this problem all over the place, and my own sensor is worsening like a chronic disease. That sensor failing completely is likely going to be why my SGS4 gets retired.

[MENTION=793428]r4yv3n[/MENTION]'s guide above works for me; I've gotten in the habit since I have to do it quite regularly.
[Galaxy S 4 i9505 Original Android Development] corb06:
I still get random Freezing for 10 sec every now and then. Any solutions?
[Galaxy S 4 i9505 Original Android Development] 0kti:
Me too :(

I don't know why.

Do you use Xposed?
[Galaxy S 4 i9505 Original Android Development] corb06:
Im trying to do some cleaning of my apps and see if it helps. Im a heavy user of many Xposed mods...

The only app that actuallt think can be involved is Greenify, are you using that one aswell?
[Galaxy S 4 i9505 Original Android Development] Nuja:
Hi,

anyone using viber and having issue with vibrations: it vibrate for messages even when the apps has focus (and screen is on)....so if u have a long chat with someone all the vibrations would melt the battery :/
[Galaxy S 4 i9505 Original Android Development] perr0.br:
I used to have that too. Moved to ART and quit using xposed and it's now gone.

--perr0
[Galaxy S 4 i9505 Original Android Development] swa100:
I'm on ART, don't used xposed and use greenify and I also have the random freezes for 10 sec.
[Galaxy S 4 i9505 Original Android Development] DuckMcQUack:
I'm on dalvik using greenify and xposed with gravitybox. No problems whatsoever.

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] kubapl66:
So Xposed is compatibile with ART?

Galaxy S4 & Tapatalk
[Galaxy S 4 i9505 Original Android Development] ChaoticUnreality:
No also this isn't the xposed thread
[Galaxy S 4 i9505 Original Android Development] corb06:
Im trying different kernels now. KT kernel was still causing random freezing just like the stock one.

What kernel are you using?
[Galaxy S 4 i9505 Original Android Development] DuckMcQUack:
Stock!
[Galaxy S 4 i9505 Original Android Development] corb06:
Ok!

I just installed Alucard kernel. According to yesterdays update:

v12.1 - 25/02/2014 (Kernel-Alucard-V2.6.3gfpc)

1) Fixed random freezes.

2) Disabled some debugging features. Kernel is smaller...

3) Added support for PPP Widget app.

So lets see if the freezes stops now =)
[Galaxy S 4 i9505 Original Android Development] destevez:
no fc so far atm.

Let's see the battery.

Enviado desde mi GT-I9505 mediante Tapatalk
[Galaxy S 4 i9505 Original Android Development] archiv:
Hi, in the mobile data settings I have on the bottom "Provider settings". If I click on this setting, it crashs with something like "process "com.android.phone" closed" (RC3) :confused:

Is it fixed in RC4?

Another question:

If I try to use some apps like "AirDroid" to connect from my PC over wifi / browser to my smartphone, it doesn't work. With stock Samsung it worked without problems, after flashing AOSP every app from the store doesnt work. Is there something missing to create a "server" or why does it not work?

ps: where can I find the repo of "advanced tab" in your github? Would like to push a translation as some texts are in english and some in my language
[Galaxy S 4 i9505 Original Android Development] 0kti:
No, its not fixed in rc4

Send from my Galaxy S4 powered by KitKat
[Galaxy S 4 i9505 Original Android Development] corb06:
I still haven't narrowed down what's the cause of freezing. But I did notice that phone froze up like **** when I was reinstalling Series guide app and adding series too it. So I uninstalled Series Guide.

I also removed greenify and Nova Launcher too see if I can get rid of freezes.
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
I run both greenify and nova launcher - no freezes here! /different ROM though but same AOSP base. Did you remove all traces of Ktweaker? Also, wipe cache and dalvik? If no, then do this and reflash Alucard - honestly its working great for most of us ;)

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

;)
[Galaxy S 4 i9505 Original Android Development] corb06:
I went one step further and reflashed Stock 4.4.2 rom from samsung via odin, then reinstalled all apps with the AOSP RC4 rom, havent changed kernel yet. But I have hade 2 freezes today with about 2 hours screen time.

Also when I boot my phone now I get some kind of message at top corner saying :Kernel Is Not Seandroid Enforcing, Set Warranty Bit. Strange.

Anyways gonna try Alucard again now.

What rom are you on?
[Galaxy S 4 i9505 Original Android Development] 0kti:
It's not strange, KNOX 0x1, warranty gone (not resetable)
[Galaxy S 4 i9505 Original Android Development] corb06:
Ah ok! So when i flashed the 4.4.2 rom from samsung, I upgraded the knox to this Efuse thingy? So now if I flash a 4.3 rom or a rom without Knox, will never be able to flash the Stock 4.4.2 again right?
[Galaxy S 4 i9505 Original Android Development] 0kti:
This only trigger knox warranty, there is no problems to flash stock again (you will not seen this warning message on stock) but knox will be always 0x1
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Unfortunately Alucard does not build kernel for TW (stock sammy) at this time - ah but you flash AOSP first right then all will be good :good: and yep - you got new bootloader which means you now have 'knox pox' - welcome to the club, so do I lol :)
[Galaxy S 4 i9505 Original Android Development] 0kti:
[MENTION=1698003]brood[/MENTION]

I saw you merged "Speed up booting on multicore devices". How fast will be booting now?

Send from my Galaxy S4 powered by KitKat
[Galaxy S 4 i9505 Original Android Development] nitroglycerine33:
Brood:

This will fix the green lines in the camera

Frameworks_base: https://github.com/nitroglycerine33...mmit/4e4980ba5d4753cc69759ab57422f4d2f1999961

Use my Gallery2 as well: https://github.com/nitroglycerine33/android_packages_apps_Gallery2
[Galaxy S 4 i9505 Original Android Development] RagingHarry:
Hiya Broodplank,

Got a small question about the java version you are using, cause i seem to run into trouble trying to build this at home.

On the VM where i had my properly running CM (10.1-10.2) buildbot on i couldn't get it (building your aosp) done with Oracle java 7 installer under Ubuntu 13.04, and in some tutorials i see that java 6 is a must (some say java v 7 should work), but would it then be the oracle or the older sun one or wouldn't that matter at all?
[Galaxy S 4 i9505 Original Android Development] gabx:
I do not want to induce you in error, but it seems he is using 1.5.

Have a look at the following file : build/core/combo/java.mk

I can see ;

COMMON_JAVAC := javac -J-Xmx512M -target 1.5 -source 1.5 -Xmaxerrs 9999999

I have been able to built Android with Sun Java 6 & 7, even with open jdk (even if this last one returns more errors). I would try Sun Java 6 or 7. Maybe try to install Sun Java directly from their website, and not with Ubuntu installer.
[Galaxy S 4 i9505 Original Android Development] DespairFactor:
OpenJDK can't build AOSP. Also its Oracle Java now:p
[Galaxy S 4 i9505 Original Android Development] RagingHarry:
Will go for Sun java 6 at first to see what happens, since the build/envsetup.sh has near the end ..

# Force JAVA_HOME to point to java 1.6 if it isn't already set
function set_java_home() {
if [ ! "$JAVA_HOME" ]; then
case `uname -s` in
Darwin)
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
;;
*)
export JAVA_HOME=/usr/lib/jvm/java-6-sun
;;
esac
fi
}

On my CM i had oracle java 7