yashsingh1/xdaforums huggingface dataset:
[HTC Droid DNA] .torrented:
Once I get a better understanding on how his original script works with setting CPU stuff I can add to it, I also need to find where in the system files it sets that so I can have it echo to it and allow for customization.

My focus has shifted from the ROM's that I am supporting to this kernel for a few days (I just need a break, I've hit something like a writers block, but for developers lol) My favorite strategy it to take a break and then hit it again and maybe something new will catch my eye and I can fix it, or 4.3 will be merged and then it should resume working again(RB that is)

Oh and BTW I will be releasing a Stable 4.2.2 Kernel tonight with a 1782000 clock added, as well as a 4.3 beta kernel

Edit* I love long OP titles :)

Edit2* well, I wrote (fixed up) a script, but I lack the expertise to modify the cpufreq.c file needed for this to work.... maybe chris will help me with this, I told him it would be make for a nice addition to his scripts :)

#!/system/bin/sh

F=/sdcard/torrented-cpufreq-scheduler
SYS=/sys/devices/system/cpu/cpu

Fsched=$F"scheduler"
if [ -r "$Fsched" ]
then
cpusched=`head -1 $Fsched`
for cpu in 0 1 2 3
do
echo "Setting scheduler to $cpusched"
echo "$cpusched" > $SYS$cpu/cpufreq/scaling_scheduler
cat $SYS$cpu/cpufreq/scaling_scheduler
done
else
echo "Not changing the scheduler"
fi
[HTC Droid DNA] fredulus:
New 4.2.2 kernel working good so far with new OC freq applied........ Good job!

Sent from my dna
[HTC Droid DNA] rohitece06:
Has anybody tried it with newtoroot's HTC One's google play edition rom port? I am curious coz OP says it should be OK with AOSP roms and newtoroot's rom is AOSP.
[HTC Droid DNA] -DroidIsDNA-:
That ROM is not compatible with custom kernels yet
[HTC Droid DNA] kyleco:
Random Reboots

[MENTION=3766545].torrented[/MENTION], I've been experiencing numerous random reboots with both your and crpalmer's kernels. I had been working with crpalmer with this, though it seems he's been busy with 4.3/10.2 as I'm sure are as well. This is a last_kmsg from when the phone rebooted after doing the "android is upgrading" process. Got to "starting apps" and then froze, rebooted. I looked at the kmsg and I don't know how to read these too much, but it seems like there are a lot of errors going on here, I was hoping you could take a look at it and let me know what you think is going on here.

I'm running the uxylon ROM, the latest version and your stable 4.2 kernel. I don't believe it's an issue with your kernel, as I've experienced it with crpalmers and no one else seems to be getting this, but I was hoping you could take a glance and enlighten me as to what all this garbage means lol.

There are a lot of these errors popping up in the begging which seems like a concern to me?

c1 1367 EXT4-fs (mmcblk0p34): re-mounted. Opts: (null)

[ 371.633755] c0 1368 EXT4-fs (mmcblk0p34): re-mounted. Opts: noauto_da_alloc,data=ordered

[ 371.660033] c0 1370 EXT4-fs (mmcblk0p32): re-mounted. Opts: (null)

[ 371.664214] c0 1375 EXT4-fs (mmcblk0p32): re-mounted. Opts: data=ordered

[ 371.681733] c0 1380 EXT4-fs (mmcblk0p32): re-mounted. Opts: (null)

[ 371.731237] c0 1365 lowmem_shrink: convert oom_adj to oom_score_adj:

[ 371.731268] c0 1365 oom_adj 0 => oom_score_adj 0

[ 371.731268] c0 1365 oom_adj 3 => oom_score_adj 176

[ 371.731268] c0 1365 oom_adj 6 => oom_score_adj 352

[ 371.731268] c0 1365 oom_adj 10 => oom_score_adj 588

[ 371.731298] c0 1365 oom_adj 12 => oom_score_adj 705

[ 371.731298] c0 1365 oom_adj 15 => oom_score_adj 1000

[ 371.745612] c0 1 init: untracked pid 1365 exited

[ 371.881062] c0 1401 EXT4-fs (mmcblk0p34): re-mounted. Opts: (null)

[ 371.966580] c0 1402 EXT4-fs (mmcblk0p34): re-mounted. Opts: noauto_da_alloc,data=ordered

[ 371.980894] c0 1404 EXT4-fs (mmcblk0p32): re-mounted. Opts: (null)

[ 371.984861] c0 1405 EXT4-fs (mmcblk0p32): re-mounted. Opts: data=ordered

[ 372.001800] c0 1410 EXT4-fs (mmcblk0p32): re-mounted. Opts: (null)

[ 372.051426] c0 1399 lowmem_shrink: convert oom_adj to oom_score_adj:

Thanks for any help you can provide, this is driving me up a wall!!!! The ROM installation is a couple weeks old, but it's off a clean, full format, install. I then downloaded all apps from play store. So I'm at a total loss now...

Remove the .zip at the end. Too big for .txt
[HTC Droid DNA] techinv:
4.3 and Carbon?

Noticed a jagged edge / flickering effect when scrolling with the 4.3 kernel and latest Carbon 4.3 ROM.

Prior to that, when using 4.22 versions of both, no issues, and love the S2W.
[HTC Droid DNA] .torrented:
I do believe people were saying not to use the 4.3 kernel yet with carbonrom for now due to graphical bugs and build 8/10 of cyanogenmod 10.2
[HTC Droid DNA] El Ha$on:
I've been getting random reboots and have been attempting to pull a last_kmsg but it always comes up blank. Anything else I could provide to help??

Edit: I'm on flyhalf's 4.2.2 build with your stable 4.2.2 kernel.

Just trying to help wherever I can. I did Google the command for the last_kmsg and I see it created to the oath I specified but always 0 bytes and no info...
[HTC Droid DNA] fredulus:
Those who are getting random reboots... are you using the max OC setting?

Sent from my DNA
[HTC Droid DNA] El Ha$on:
Yes. Should I lower the overclock? Or not overclock at all?
[HTC Droid DNA] fredulus:
Hmmm, I actually had to switch back to previous build due to random reboots. Maybe torrented can look into it when he gets time....could be new OC setting. Or not :D
[HTC Droid DNA] El Ha$on:
Just had another one. Tried pulling a last_kmsg no dice. Very annoying not being able to provide that...
[HTC Droid DNA] crpalmer:
What exactly are you doing to try to get the last_kmsg?
[HTC Droid DNA] El Ha$on:
From terminal emulator I type.

,,su"

cat/proc/last_kmsg>/storage/emulated/0/last_kmsg.txt

I see the file created but its blank and 0 bytes
[HTC Droid DNA] crpalmer:
I'm not sure if that was a bad cut and paste, but it was missing a space. Are you doing:

cat /proc/last_kmsg > /storage/emulated/0/last_kmsg.txt

? (the only space that matters there is the one after "cat" and before "/proc").
[HTC Droid DNA] El Ha$on:
Just tried with the space between cat and /proc and I didn't even get a file this time.

This is what I did.
[HTC Droid DNA] .torrented:
cat /proc/last_kmsg > /sdcard/last_kmsg.txt
[HTC Droid DNA] crpalmer:
Open a new terminal and type just the line starting with cat.
[HTC Droid DNA] El Ha$on:
Got it to work. File created but its blank.
[HTC Droid DNA] El Ha$on:
Finally got it to work but had to do it through adb, it was the only way.

I will need to look into it more why it wont do straight from my phone, but hopefully this will help a little. I am getting a lot more reboots than I used to. Before I could handle it. I have lowered clock speed to 1512 also and i was still getting it. really hope it helps, thanks for all the replies.

**Edit**

Had another reboot using the camera this time. Uploaded as a .zip just need to change extension over to .txt and should work. File type was too big to upload as a .txt
[HTC Droid DNA] jamiethemorris:
I can confirm that s2w doesn't work on rootbox for me too

Edit: I just disabled and enabled it in kennel tuner and it works fine now.
[HTC Droid DNA] Tiskra25:
Yo torrented just wondering when your going to update this beast. Been dying for that s2w on cm10.2. I know your a busy man though.
[HTC Droid DNA] .torrented:
how about tonight after 7:30pm est

Edit* I'm sorry for the delay, I'm having trouble gettings some stuff working. I will try and get a kernel update ASAP!
[HTC Droid DNA] Tiskra25:
Torrented, are you still having problems with the update for this kernel?
[HTC Droid DNA] .torrented:
I've just been massively busy with school/work/life to get to all my projects, I apologise for the lack of Development with this kernel, I will try and start from scratch tomorrow (before I go to work) and see if I cant get something cooked up!
[HTC Droid DNA] orangechoochoo:
Maybe you should hold off until Chad's M7 changes are implemented.
[HTC Droid DNA] Tiskra25:
That's probably a good idea no need to waste time updating it when some new changes are about to be added. I can wait.
[HTC Droid DNA] d08speed3:
What's in these new changes :D can you inform my noobness
[HTC Droid DNA] Tiskra25:
From what I read in the Cm 10.2 dev thread is it looks like some speaker amp improvements and other things I'm not sure of from m7 kernel
[HTC Droid DNA] booked:
I just installed this kernel with carbon ROM. I see a lot of artifacts when scrolling fast in any app. Is this the norm?
[HTC Droid DNA] .torrented:
This kernel is not suited to work with any latest 4.3 ROM's

the 4.2.2 kernel should be ok on 4.2.2 ROM's and only 4.2.2
[HTC Droid DNA] booked:
Why is there a link for 4.3 kernel download?
[HTC Droid DNA] .torrented:
because it worked for roms before stuff changed
[Samsung Galaxy Nexus] Daxer92:
Hello

Maybe sb have a flashable fix (mod) for Android 4.3 (ROM Unofficial CM10.2) ?

Becouse in this mod i have old dialer from Android 4.2 and less.

Or sb know how can i change it to this from 4.3 with T9 ?
[Samsung Galaxy Nexus] jsgraphicart:
I'm sure you have the 4.3 dialer. You need to go into the phone settings and turn on auto complete.
[Asus  Eee Pad Transformer Prime] Lyvewire:
I know of the hinge issue however my issue is not the same. My tablet is wobbily because the clamp no longer has the soft rubber inside to keep dock still. The rubber is worn View attachment 2153673 and the climp itself is lose. My hinge is fine, (even screwed the screws in under the rubber feet with good measure). However I noticed 2 screws on the outside of the clamp and tried to tighten them. It didnt work. The only thing left is the 4 scews I can see under the rubber which I'd need a allen iron star allen wrench just to get to the four screws.

I tried but putting velcro inside and it wouldnt charge right and didnt make a difference since its the acual clamp on dock.

Any help appreciated. AGAIN..This is not the hinge coming apart issue. Its the clamp that gribs tablet.
[Asus  Eee Pad Transformer Prime] Lyvewire:
**bump

This place is like a desert town.
[Asus  Eee Pad Transformer Prime] peterk-1:
You said "I tried but putting velcro inside" . The only vecro I've ever seen would be way too thick. I'd be googling for self adhesive velour to renew the clamp linings.
[Samsung Galaxy Nexus] cldwar:
Is there any Rom optimized for phones but has all the Tablet features of 4.2 or 4.3 ( like multi users) ?
[Samsung Galaxy Nexus] Carlos_Manuel:
For e.g. my ROM Dreams has multi users enabled.

At least on CM10.2 Multi users won't work well (yet).

I'm not sure but maybe PA has multi users feature enabled too..
[Samsung Galaxy Nexus] Godra:
Yes, Paranoid has multiuser and all tablet stuff ;)
[Samsung Galaxy Nexus] jboyer0000:
Ya, if you want tablet stuff you definitely want PA
[Xposed Framework Modules] DavisNT:
Airplane Mode Helper (formerly called Jelly Bean 4.x Airplane Mode Helper) is a tool (created by me) that allows other software to control Airplane Mode on Android

8.1

,

8.0

,

7.1

,

7.0

,

6.0

,

5.1

,

5.0

, 4.4, 4.3 and 4.2.

With this tool installed, all applications that control airplane mode should work as they work on pre-4.2 devices.

Airplane Mode Helper requires Xposed framework. This tool must be activated via it's launcher icon and in Xposed Installer.

It works by hooking broadcast sending inside system process (framework), intercepting airplane mode change broadcasts and adjusting system settings from system process.

Additionally Tasker/Locale plugin for airplane control is provided (since version 1.0.3 the plugin must be explicitly enabled in settings).

Airplane mode is toggled without any delays.

I will be glad to hear any reviews (please also provide information on what ROM the app was tested). :)

Home page:

https://projects.dm.id.lv/Airplane_Mode_Helper

Changelog:

https://projects.dm.id.lv/Airplane_Mode_Helper#Changelog

Xposed Module Repository page:

http://repo.xposed.info/module/lv.id.dm.airplanemhx

Download:
[Xposed Framework Modules] polobunny:
Submitted your module to the thread/list of Xposed modules.

http://xdaforums.com/showthread.php?p=44117260#post44117260
[Xposed Framework Modules] Hollam:
Hello i have tested it with a Nexus 4 on Android 4.3. It worked with the App Airplan Mode Toggle. It doesn't work with "Automalted" and "NFC Aufgaben Launcher" likely because these Apps try to use root.
[Xposed Framework Modules] DavisNT:
Thanks for feedback! :)

Does "Automalted" and "NFC Aufgaben Launcher" toggle airplane mode on Android 4.3 on their own (via root)? If not, I will write their developers about my app.
[Xposed Framework Modules] Hollam:
I think they have no solution for 4.3 yet, they just use the root way like in 4.2 which doesn't work on 4.3.
[Xposed Framework Modules] spupuz:
working like a charm with tasker and setting helper :P http://xdaforums.com/showthread.php?t=2127481&page=26
[Xposed Framework Modules] DavisNT:
New BETA (v0.9.1 BETA) released. In this version tip about Xposed framework is added and various minor improvements are made.

EULA is updated in this version - please review!
[Xposed Framework Modules] ktmbikerman:
Giving it a try, will report back soon... thanks

---------- Post added at 01:30 PM ---------- Previous post was at 01:17 PM ----------

Phone Schedule not working on 4.3, can anyone please suggest a scheduling app that works, other than tasker?
[Xposed Framework Modules] coolnessQ:
Random reboot on used the xposed disable amd uninstalled ur app, used latest beta

Verstuurd van mijn GT-I9505 met Tapatalk
[Xposed Framework Modules] DavisNT:
Phone Schedule works well with this mod. Open Phone Schedule settings and check My device is rooted to enable Airplane Mode settings.
[Xposed Framework Modules] DavisNT:
Do you get random reboots when having Xposed framework installed and Jelly Bean 4.x Airplane Mode Helper not installed or not activated as Xposed module?

Most likely they are hot reboots (only Android part of device is rebooted), right? Can you provide logcat and /data/xposed/debug.log collected after these reboots?
[Xposed Framework Modules] DavisNT:
Actually toggling airplane mode by root commands works on Android 4.3.

Was your phone properly rooted? Can you provide Google Play link to "Automalted"?
[Xposed Framework Modules] ktmbikerman:
That's what I've done in Phone Schedule... I didn't get a superuser request at any point though, that could be the issue. I have the helper checked in Xposed... not sure what else can be done?
[Xposed Framework Modules] DavisNT:
Phone Schedule should not ask for root. That is not an issue.

Can you test toggling airplane mode with Airplane Mode Switch (app by Ottavio Vanini available on Google Play)?
[Xposed Framework Modules] ktmbikerman:
Will do

---------- Post added at 05:02 PM ---------- Previous post was at 04:59 PM ----------

Airplane Mode Switch force closes when I try to open it
[Xposed Framework Modules] DavisNT:
If it doesn't toggle airplane mode than you probably haven't properly set up Xposed framework or Jelly Bean 4.x Airplane Mode Helper.

What is written under Xposed framework in Jelly Bean 4.x Airplane Mode Helper?
[Xposed Framework Modules] ktmbikerman:
Solved, I installed supersu in addition to superuser that came by default with cm10.2.

---------- Post added at 09:59 PM ---------- Previous post was at 09:58 PM ----------
[Xposed Framework Modules] DavisNT:
New version (0.99 BETA) is released.

I hope this will be last beta. :)

The only reason why it is not called stable is possible issue reported by [MENTION=4784165]coolnessQ[/MENTION] .
[Xposed Framework Modules] coolnessQ:
Sorry havent seen your question,

logcat has been turned off for more performance

when i activated the app rebooted my phone went to my apps launcher, it take me like 5 seconds and it soft rebooted, happend me 2 times so i downloaded the xposed disable zip and delete the app from my phone, but i will try it again if ya like?
[Xposed Framework Modules] DavisNT:
Thank you! I would like to see the logs.

Please at first try Xposed framework WITHOUT my app and see whether it causes reboots. If not, install my app.

In any case, please send me the logs...
[Xposed Framework Modules] DavisNT:
What is displayed in Jelly Bean 4.x Airplane Mode Helper, under Xposed framework?

Is Jelly Bean 4.x Airplane Mode Helper enabled in its own UI?
[Xposed Framework Modules] ivanfix:
Of course, and as you can see, with the airplane mode activated, I still get the phone signal

Inviato dal mio SM-G900F con Tapatalk 2
[Xposed Framework Modules] DavisNT:
Can you reproduce the issue with AirplaneModeSwitch and send me full logcat afterwards?
[Xposed Framework Modules] ivanfix:
Inviato dal mio SM-G900F con Tapatalk 2

Very willingly, but I do not know how to do it, sorry...
[Xposed Framework Modules] DavisNT:
You can send logcat by using SendLog (by Neil Boyd) from Google Play.

Please send me logcat after trying to toggle airplane mode with Airplane Mode Switch (by Ottavio Vanini) from Google Play. I have sent you my e-mail via PM.
[Xposed Framework Modules] DavisNT:
During PM communication with [MENTION=1089419]ivanfix[/MENTION] it turned out that Jelly Bean 4.x Airplane Mode Helper is working properly.
[Xposed Framework Modules] ylefebvre:
I tried rebooting multiple times and then gave up. After searching a bit, I found an app called Timed Toggles that has everything built in to be able to provide airplane on and off functionality when you have root access. This is much easier than dealing with three separate pieces of software to get to the same result.

Thanks for your efforts.
[Xposed Framework Modules] trein91:
Btw, I'm in the middle of searching for an answer to my random reboots. Disabling my modules one by one, could you perhaps take a look at my logs to see if this module might cause issues? I saw some users saying it caused random reboots for them (a while back - found that on google). Thanks.

https://drive.google.com/file/d/0B9FbZmyO33dvVkN4bG5iYkw0aWM/edit?usp=sharing
[Xposed Framework Modules] DavisNT:
I never had such issues. Could you please verify whether these are caused by Jelly Bean 4.x Airplane Mode Helper (by disabling it for a time period of at least 2 times more than longest time between random reboots; you can ensure that there were no random reboots by looking at Uptime in Settings -> About phone -> Status)?

What kind of reboots are these (is only Android rebooted or are these reboots full device reboots when all bootscreens are shown like on normal boot)? When this log has been taken (after reboot)? If yes, how long after reboot these logs are taken?
[Xposed Framework Modules] davidred7697:
Tasker

Does this CURRENTLY allow Tasker to enable/disable airplane mode?

Even after rooting my phone and installing the Secure Settings app, like Tasker says, I am still unable to toggle airplane mode. The message that 4.2+ phones cannot do this DOES show up, but I wanted to make sure. I'm new to rooting and xposed installer etc. :)
[Xposed Framework Modules] DavisNT:
Jelly Bean 4.x Airplane Mode Helper will show up as Tasker (and Locale) plugin (that can change airplane mode). So answer is YES, but AS A PLUGIN.
[Xposed Framework Modules] davidred7697:
Great, I see the icon, but haven't tested it yet. Hopefully it works well.

You've been thanked. :)
[Xposed Framework Modules] mitushorizon:
Thanks for this great module! ;)

It works on my LG Optimus G E975 with stock LG ROM Android 4.4.2.

It only works if the option "Check WRITE_SECURE_SETTINGS" is disabled... but it works!!
[Xposed Framework Modules] BlacBerd:
Airplane mod turns on, but the system alert still popping-up!

I have installed this great module, and yes, it does permit 3rd party apps to access the airplane mode status, but I just can't get rid of the Android system notification that comes out every time the plane is on. How can I avoid this?

Lg G Pro Lite D680

Android KitKat (4.4.2)

Rooted

Xposed Framework 2.7 experimental1

Jelly Bean 4.x Airplane Mode Helper v1.0.1
[Xposed Framework Modules] DavisNT:
This (notification when entering airplane mode) looks like LG ROM specific feature.May be it can be turned off somewhere in Settings...
[Xposed Framework Modules] BlacBerd:
Airplane mod turns on, but the system alert still popping-up!

Perhaps. But I can't find it in any settings menu :(

Anyone else got this trouble?

I'm enclosing an image.
[Xposed Framework Modules] orky87:
Hi OP,

For your next update could you please add an abilty within the app to hide it's icon from app drawer. Thx
[Xposed Framework Modules] mandostoak:
Hi, thank you for your hardworking on this app, it works really well on my 4.3 Xperia V phone.

Recently I would like to play a game that refuses to run on a rooted phone. So I have disabled SU in SuperSU, also have moved Xposed Framework and your application to /system/app. After that, the game runs well.

Unfortunately, auto-flight mode seems that not working anymore. Every time an app trying to toggle Flight mode, the app will FC. I look into the stack trace of the app, and it says that the system is denied to broadcast a toggle flight mode request.

Is there anyway to make your app works again? Do I need to move the app back to /data/app? Thank you so much.
[Xposed Framework Modules] DavisNT:
Most likely it is deactivated as Xposed module. What is written under Xposed framework in Jelly Bean 4.x Airplane Mode Helper? Is it activated in Modules section of Xposed Installer, is Xposed framework installed correctly?
[Xposed Framework Modules] mandostoak:
Sorry, I think my problem is solved now. I looked into the log of Xposed Framework, and I found that the most recent log say that Xposed cannot found airplane mode helper apk in "/data/app" (Which should be already moved to /system/app). And after I rebooted my phone again, the Xposed Framework is able to load the module now.
[Xposed Framework Modules] paolomatador:
Any news about this module could work on Android 5?

I'm on my Nexus 4 but waiting to update due to Xposed framework avalaibility and also on this module to be avalaible.
[Xposed Framework Modules] DavisNT:
Xposed for ART and testing of this module is needed at first (may be current version will work without any whanges - I have not looked at Lollitop code yet). Most likely this module will be updated to work with Android 5.0 (if there will be needed any updates).
[Xposed Framework Modules] eximido:
Is Tasker plugin working for anyone with the latest Tasker version?

I'm trying to setup auto switching to airplane mode on Sony Xperia device with Kitkat 4.4.4 stock firmware. When I add a task calling Airplane Mode Helper plugin and try to manually run it for a test then just nothing happens. Airplane mode doesn't got switched. There are no errors in Xposed Framework logs, and if I enable logging in Tasker then I can see just a (successful?) call to Airplane Mode Helper plugin, also no single error is logged. It should be noted however that Airplane Mode Helper itself works just fine on my device. For example, I'm able to successfully switch Airplane Mode using Timeriffic app, which won't work without this Helper. So I suppose something's wrong with exactly the Tasker plugin. Any suggestions?
[Xposed Framework Modules] DavisNT:
Just tested with latest (at least latest available via Google Play in Latvia) Tasker version (4.6u3) and it is working with Jelly Bean 4.x Airplane Mode Helper plugin. You can get some additional information by examining logcat entries with tag AirplaneModeHelperX