yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 3 Original Android Development] jcadduono:
boot.img is the same thing as recovery.img, they're just mapped to different partitions (initiated by different buttons, bootloader/reboot commands) when starting your phone.

no buttons pressed, load kernel from boot partition

volume up + home pressed, load kernel from recovery partition

you could rename recovery.img to boot.img, and boot.img to recovery.img and flash them

now starting your phone up normally brings you into recovery

and using recovery buttons brings you into rom lol

so yeah twrp is just a ramdisk, setting environment to only include the ramdisk, whereas a normal rom boot kernel mounts system and inits environment to finish boot in system rom

some older phones sometimes had recovery stored as a ramdisk in another partition, and used the same kernel for both boot and recovery, but buttons pressed told the kernel which ramdisk to load. this was more efficient on disk space too.

now that i think about it, twrp would be an awesome environment for loading a debian system if only they did more work on their terminal

completely offtopic random discovery:

i was using strings on mmcblk0 looking for stuff, and found my pit file @ offset hex 4400 to 5410

dd if=/dev/block/mmcblk0 of=/sdcard/hltecan.pit bs=16 skip=1088 count=257

lol backed up from terminal emulator

to have it always usb mass storage mode would require some changes in the init rc files and probably a service that watches sdcard to tell vold when to mount and unmount and switch usb modes...it is possible though. shell script and inotify could probably pull it off.

drivedroid is definitely the easiest solution though. you can never mount sdcard in 2 places though, so never have it mounted in phone while its mounted as usb mass storage or corruption will definitely happen.

you can never mount internal storage as mass storage over usb though. only raw devices. internal storage is an emulated device on a pre-existing file system.
[Galaxy Note 3 Original Android Development] Spinvis:
Thanks again for this great kernel [MENTION=5672995]jcadduono[/MENTION]. Been running 6.6.1 and your TWRP without issues on Slim. Over clocked to 2.7GHz, everything is smooth as silk.
[Galaxy Note 3 Original Android Development] jcadduono:
[MENTION=3115214]Bushido76[/MENTION]:

it probably doesn't help much, but this will be in the next version...

https://github.com/jcadduono/idleKernel-note3/commit/2485bc11b21bbf8cbf7ddf1823a71a7e21b224c6

I really wanted to find a way to auto unmount and mount in Android from the shell script, but it doesn't seem possible. :/
[Galaxy Note 3 Original Android Development] Bushido76:
Thank you for your effort - I really appreciate that. ? What did you do between the two "ums status" commands? Unmounting external sd card in settings menu?

Do I understand right, that unmounting android storage is the problem - not mounting the external sd card in UMS mode?
[Galaxy Note 3 Original Android Development] roozbeh158:
Have your kernel v4a?

If not,plz add viper4android ,too sound boosted and exelent.
[Galaxy Note 3 Original Android Development] jcadduono:
Yeah between those two status checks I went into settings and storage and unmounted sdcard. Also pulled the cable out to do it, darn android I don't get why its so hard to unmount from MTP server and then unmount sdcard without having to unplug lol :/

I might be able to get the script to open the storage settings menu for you if sdcard is android mounted, but I'm kind of happy where it is.
[Galaxy Note 3 Original Android Development] Hidden-Hunter:
+1
[Galaxy Note 3 Original Android Development] ramas123:
Small thank you! 3W671620K4260572D
[Galaxy Note 3 Original Android Development] jcadduono:
I don't think viper4android is kernel related. Isn't it just a DSP bridge and has to be flashed into the ROM?

Thanks a lot! :) Cool name btw.
[Galaxy Note 3 Original Android Development] kopitalk:
Viper4Android is working fine with permissive version of this kernel. Install it on your own btw.
[Galaxy Note 3 Original Android Development] piats:
Ir blaster doesn't work with cm13 http://pastebin.com/6X8LKNWw

I guess it's rom related?

Lähetetty minun SM-N9005 laitteesta Tapatalkilla
[Galaxy Note 3 Original Android Development] ibosilj:
Could you by any chance change the name of hlteeur to hltexx. When i'm trying to flash roms through your 6.6.1 twrp it gives me error this file is for hltexx.... your device is hlteeur. I don't want to change it everytime before rom flashing.
[Galaxy Note 3 Original Android Development] Bushido76:
I gave the following tool a try (to share some ideas), but it's not working on my phone - neither the soft nor the hard way:

http://xdaforums.com/showthread.php?p=63634918

Maybe we have to manually unmount the mtpfs or stop the mtp process. It's really strange.
[Galaxy Note 3 Original Android Development] alek889:
Random reboot....

N900W8,CM13(Morningstar),kernel versión 6.6.2

Last_kmsg

https://www.dropbox.com/s/43dflidoybfnw5q/last_kmsg?dl=0
[Galaxy Note 3 Original Android Development] Pusheka:
Please check that you can turn it (eXpanD speaker stereo sound) in your great kernel. I have tried it in Shinto kernel, stereo sounds is great.
[Galaxy Note 3 Original Android Development] jcadduono:
CM13 might have updated the libs to lollipop Samsung finally, so I can use lollipop IR kernel driver. Just have to revert a change and try it out.

I think at this point everything checks for hlte or hltexx. I think it might be a good idea to just throw hlte in the build props of all variants to make them more versatile with these flash scripts lol.

Oh the MTP is no issue at all. I could just add a command to it like ums mtp off and you could go into storage and unmount it with the cable plugged in. Turning off MTP is as simple as typing setprop sys.usb.config none.

The real issue is unmounting sdcard from vold via terminal. That would require java (an app) run by Android framework with root permissions.

You could technically try umount /mnt/media_rw/extSdCard but that would confuse Android and some things might still try writing to it because it would still be mounted in vold.

And yeah the app probably doesn't work because ums only activates through dwc3 gadget and not the standard android ums gadget. Maybe I could modify the android one to just link to the Samsung one to fix apps like those though..
[Galaxy Note 3 Original Android Development] alek889:
Copy/paste this in /system/etc and you will have your Speaker Stereo Sound.(For CM roms).
[Galaxy Note 3 Original Android Development] piats:
Yes cm13 uses lp libs
[Galaxy Note 3 Original Android Development] Bushido76:
I tried to umount /mnt/media_rw/extSdCard and /storage/extSdCard but like you suspected, external sd was still accessible in my file manager.

If you could tell me, what the java app should do in detail, I would create a small app which asks for root rights and unmounts external SD. Maybe we can implement the whole switch to ums in that app. ?
[Galaxy Note 3 Original Android Development] wild wadi:
[MENTION=5672995]jcadduono[/MENTION]

After upgrading to Dark-AU v6, video flickering reared its ugly head back, while it worked fine before in v3 & v3.5 and idelekernel 6.5xx. I reported this to lam1990 but I thought you also should know. I'm not sure where the fix is coming from, if at all : (
[Galaxy Note 3 Original Android Development] Pusheka:
This?
[Galaxy Note 3 Original Android Development] Lyokacanthrope:
some lp libs

just ril stuff

it's kind of a frankenstein atm

I haven't had the time or patience to work out a full lib update
[Galaxy Note 3 Original Android Development] alek889:
lol,sorry....https://www.dropbox.com/s/bmxp9u2rvt82yl0/mixer_paths.xml?dl=0
[Galaxy Note 3 Original Android Development] Lyokacanthrope:
[MENTION=5672995]jcadduono[/MENTION] you accidentally reverted something required for the touchkey_disable in a recent commit

https://github.com/jcadduono/idleKernel-note3/commit/896fa358390d8d0eda9d3f8c15fecb1c781854b2
[Galaxy Note 3 Original Android Development] jcadduono:
well, to turn UMS on it should:

gain root access

create a way to exec commands

turn MTP & other usb protocols off (setprop sys.usb.config none)

wait for usb state to become none (watch getprop sys.usb.state until it is none, using a timeout of 1 second)

check if sdcard is mounted in storage settings

if so, unmount it and during unmounting it can

write in /sys/devices/msm_dwc3/f9200000.dwc3/gadget/lun0:

echo 0 > cdrom

echo 0 > ro (you can have a checkbox for "read only" and if selected set this to 1 instead)

echo 0 > nofua

after unmount completes you can then do

echo /dev/block/mmcblk1 > file

verify those entries to be sure they were written to

turn UMS on (setprop sys.usb.config mass_storage,adb)

wait for usb state to become mass_storage,adb (watch getprop sys.usb.state, using a timeout of 1 second)

if it changes successfully, have a really cool success animation like winning solitaire in windows xp

then proceed to tell the user theyre an idiot if they dont safely eject storage from computer before unplugging their phone

for turning ums off:

press a button and show a warning telling user to eject the damn media from the pc before hitting this button or their datas could be broked (and a checkbox to never remind again)

turn MTP & other usb protocols off (setprop sys.usb.config none)

wait for usb state to become none (watch getprop sys.usb.state until it is none, using a timeout of 1 second)

write in /sys/devices/msm_dwc3/f9200000.dwc3/gadget/lun0:

echo 0 > cdrom

echo 0 > ro

echo 0 > nofua

echo 0 > file

turn default mode back on (setprop sys.usb.config $(getprop persist.sys.usb.config))

wait for sys.usb.state to be same value as persist.sys.usb.config using a timeout of 1 second

if it changes successfully, have a not as cool success animation because mtp is overrated
[Galaxy Note 3 Original Android Development] jcadduono:
i'll add that back i'd be surprised if it broke it i don't think anyone is using restorecon on sysfs, maybe there were some changes in touchkey driver that broke it instead
[Galaxy Note 3 Original Android Development] Lyokacanthrope:
that's the only commit since you added the touchkey_disable feature that would affect it...
[Galaxy Note 3 Original Android Development] jcadduono:
did it work between then and me adding it?

strange though, i guess temasek doesn't have those features in his rom. i'll pick the policy stuff out of morningstar's builds then
[Galaxy Note 3 Original Android Development] Lyokacanthrope:
yes.
[Galaxy Note 3 Original Android Development] insda:
If possible add to SC-02F support please
[Galaxy Note 3 Original Android Development] kopitalk:
Is it some kind of Note 3 variant?
[Galaxy Note 3 Original Android Development] jcadduono:
the samsung galaxy J, close in hardware to note 3 but not close enough for me to bother trying to add support for it sorry

https://github.com/jcadduono/idleKernel-note3/commit/6912073e4d6fa5d6b596fab80281e2d3b6d8317a

OMG IT'S BEAUTIFUL

if your sdcard is mounted in android and you try to activate usb mass storage, it opens storage settings for you to help turn it off then you hit back and it asks if you wanna retry

if you turn usb mass storage off and your sdcard isn't mounted in android it asks if you want to mount it and if you do it opens storage settings for you

shortcuts:

mtp on/off

ptp on/off

ums on/off

usb status

they all have pretty help/usage/version outputs too

btw waiting for morningstar's next cm13 build before i do another release, since i want something he can compile unless [MENTION=4082515]Lyokacanthrope[/MENTION] can do it for me!

this: http://xdaforums.com/galaxy-note-3/...cyanogenmod-13-0-t3238064/page17#post64044179

i want compiled init that properly sets props for all variants i'm working with xD (i still don't have ssd space for android ndk!)
[Galaxy Note 3 Original Android Development] Lyokacanthrope:
yeah sure, just lemme know what you need
[Galaxy Note 3 Original Android Development] shiverz07:
I ran into an issue using the idleKernel TWRP recovery just now. Phronesis V3 Aroma installer failed to initiate and it kept rebooting into recovery. Also it failed to restore modem when I tried to restore my nandroid.

I thought I had a bad download at first so I checked the md5 but it was fine. Then I restored the normal TWRP the Aroma installer worked fine.

Note 3 N9005 and not using f2fs
[Galaxy Note 3 Original Android Development] bladecgn:
To the people that did convert to f2fs: Is there any noticeable performance gain?
[Galaxy Note 3 Original Android Development] Adywizard:
You'll not find any difference between f2fs and ext4 on daily use, if that's what you're asking for.

Sent from my space craft using power of the mind
[Galaxy Note 3 Original Android Development] 6h0st:
Getting random reboots while waking up phone from deep sleep. Even after a call, when the screen is off.
[Galaxy Note 3 Original Android Development] piats:
Do you mean hardware keys?

This is temasek's preview 3 buttons settings
[Galaxy Note 3 Original Android Development] bladecgn:
That was my question, thanks. So if there is no benefit I'll leave it as it is (ext4).
[Galaxy Note 3 Original Android Development] Bushido76:
I started creating a small app but during development I realized that external sd card can simply (and safely) get umounted using the following shell commands:

1) su

2) vdc volume unmount /storage/extSdCard

If you integrate that in your ums-script everything should be fine. The vdc unmount needs some seconds - just like the settings unmount.
[Galaxy Note 3 Original Android Development] kpirnie:
aye, not noticable at all... least not for average daily driver usage.

Where I noticed... install and app restores.... tho opening some apps is quicker
[Galaxy Note 3 Original Android Development] Gggggas:
Also backing up/restoring a rom is faster :)
[Galaxy Note 3 Original Android Development] jcadduono:
probably due to hlteeur device model in prop...will be fixed in next version

https://github.com/jcadduono/idleKernel-note3/commit/ec0d534ae0f06b617c0e1bf302034a6b63e6b8c0

(all variants will now report as hlte to recovery scripts)

ahhhhhhhhh thank you!!!!!!!! how did you even find this command lol

it works amazingly:

https://github.com/jcadduono/idleKernel-note3/commit/287ed90cbf4ddef938050676166e75235663aa4a

i noticed that switching directly from UMS to other options after mounting in android had some problems but sleep 1 came to the rescue lol :\

UPDATE!!!!!!!!!!!

let's go one step above!

https://github.com/jcadduono/idleKernel-note3/commit/a02c0d3fe556a84cc9078ded4fca6b3361426af4

-3 switch allows you to activate ANY usb transfer protocol in USB 3.0 mode :)

ok i gave the build server the go ahead, 6.6.2 is in the cooker. i just wanna warn people ahead of time if using cm12 or slim5.1 your model will show up as hltexx SM-N9005.

i'm using the same init files in all builds until someone really nice offers to build cm12.1 hlte for me with a small patch so i can support all models.

(i still can't build it myself)
[Galaxy Note 3 Original Android Development] tamer7:
Thanks for your hard work and solid kernel jcadduono

Is there any interest to integrate or port this touch wake implementation to your kernel?

https://github.com/yank555-lu/N3-KK-faux123-yank555.lu/blob/kk44_NG1_n9005/drivers/misc/touch_wake.c
[Galaxy Note 3 Original Android Development] jcadduono:
sorry no I don't have plans to add any sort of wake gesture support
[Galaxy Note 3 Original Android Development] tamer7:
even though this is not a wake-at-anytime , but rather a wake-during (configurable at runtime) timeout period after unintentional screen off?

Thanks
[Galaxy Note 3 Original Android Development] eseregin:
Even so, it needs wake up digitizer to read input...

It could be disabled, but having no special hardware to wake up (as for example LG phones have) it will i think anyway suck some power, might not big amount...

/sys/class/misc/touchwake/use_wakelock (rw) : 1 - on / 0 - off

*

* Enable / Disable using a wakelock to keep device awake while TouchWake is active (default = enabled)

Think having hardware button in our phone located in front, it is not too hard (for me for sure) to wake device up pressing Menu key...
[Galaxy Note 3 Original Android Development] jim2sad:
is only me or is the bug ? i tried to flash the aroma file... keep rebooting =[ [MENTION=5672995]jcadduono[/MENTION]
[Galaxy Note 3 Original Android Development] acme1974:
For me also

Inviato dal mio SM-N9005 utilizzando Tapatalk
[Galaxy Note 3 Original Android Development] eseregin:
What is you phone model number, what is the BL and Modem versions?

Have you made full wipe?

All your partitions are ext4?

What exactly ROM are you using now?

What exactly kernel version you tried to flash?
[Galaxy Note 3 Original Android Development] jim2sad:
sorry, i mean the twrp-idle .
[Galaxy Note 3 Original Android Development] acme1974:
also happens to me the same thing my model is n9005 eur my rom is aryamod 8 and did a full wipe my partition is in f2fs system and data but when I want to install something with aroma the phone reboots without installing anything

Inviato dal mio SM-N9005 utilizzando Tapatalk

---------- Post added at 02:29 PM ---------- Previous post was at 02:28 PM ----------

This bad work only with twrp of developer

Inviato dal mio SM-N9005 utilizzando Tapatalk
[Galaxy Note 3 Original Android Development] Freyelis:
Idle TWRP bug:

won't let you flash ROMS or files that have AROMA in them.. It will just reboot.

Tested on latest N9005 and N900K.
[Galaxy Note 3 Original Android Development] kevin_tn:
please support SC-02F , sir ^^
[Galaxy Note 3 Original Android Development] PlutoDelic:
i just used your TWRP, and with 7 years on android, i feel ashamed not to know that recoveries have a kernel...but i guess this is where my understanding reaches and end.

anyway, your TWRP seems incompatible with the Aroma Installer, i just tried to install Phronesis 3 (a Darklord Note 5 port)...changed the data, cache and system to F2FS , i'm not sure if that brought the issue up, but it works with the normal TWRP.
[Galaxy Note 3 Original Android Development] shiverz07:
http://xdaforums.com/showthread.php?p=64067964

#UseSearch #ReadAFewPagesBack
[Galaxy Note 3 Original Android Development] jcadduono:
Are you guys using the 6.6.2 twrp that I just put up? I need logs if there really is still a bug and its not fixed. If your phone is crashing without time to give you a log then you can run 2 adb shell while in twrp and in 1 do:

tail -f /tmp/recovery.log > /sdcard/recovery.log

in the other:

cat /proc/kmsg > /sdcard/kmsg.log

Leave them running while its crashing then go upload those files from your sdcard and I can see if I can fix it assuming it shows any errors
[Galaxy Note 3 Original Android Development] mertcanmusic:
Video recording flickering on dark au v6 rom how can i fix this ?

Gesendet von meinem SM-N920C mit Tapatalk
[Galaxy Note 3 Original Android Development] Luke301:
It works awesone for me.

I use Dark au S6, Idle Kernel 6.6.1 and I play Asphalt 8 with maximum graphics when I record it.

Inviato dal mio SM-N920C con XDA Forums
[Galaxy Note 3 Original Android Development] mertcanmusic:
Mate i use not s6 rom my rom is note 5 port V6 from Dark-Au

Gesendet von meinem SM-N920C mit Tapatalk
[Galaxy Note 3 Original Android Development] fbzong:
[MENTION=5672995]jcadduono[/MENTION] your twrp can not support multi system,my device is N900K;thank your great work;
[Galaxy Note 3 Original Android Development] jcadduono:
no idea what that is or why so unable to fix
[Galaxy Note 3 Original Android Development] peped94:
Can i know the changelog for 6.6.2 ?
[Galaxy Note 3 Original Android Development] kopitalk:
Read OP or Github.
[Galaxy Note 3 Original Android Development] jcadduono:
Use build dates in downloads area to know where to look between in github commits.

Click CHANGES link to go to github commits.

I apologize it can sometimes be confusing because I might make a release between two commits on the same day.

You can hover over the .... "jcadduono committed ...." and see the exact time I made the commit and compare that with the timestamp of zip/tar creation in download index.

Changes from 6.6.1 to 6.6.2:

Add keydisabler to touchkey driver

Disable SEC_DEBUG on japanese variants

Add GLORIOUS /sbin/usb feature to toggle USB 3.0 Mass Storage mode & more

Update ramdisks and sepolicies for AOSP builds for improved compatibility with new ROM features

6.6.3 is building for CM13 right now. All it does is fix /sbin/usb. I finally figure out all the mounting crap in CM13, see:

https://github.com/jcadduono/idleKernel-note3/commit/93141686521e6ed451e8b7bd2916e14e8431bd3d

Still disappointed that I can't mount exFAT through vdc volume. At least it narrows the exFAT mounting issue down to ~ volume.cpp.

[MENTION=4819130]kmokhtar79[/MENTION] or anyone who uses aroma in their rom installers, or anyone with aroma knowledge in general... could you guys compile aroma for hlte with all the debug functions enabled and tmp location set to /sdcard/ instead? I really just need 1 page, like flash, splash, and a button to exit.

I want to figure out why aroma won't run with my kernel, and writing to /tmp doesn't help when it reboots before it's possible to get a log lol from there lol :/
[Galaxy Note 3 Original Android Development] earl520:
In using Dark Au v6.1 with kernel 6.6.2. I can confirm that camera fc
[Galaxy Note 3 Original Android Development] Kamy:
I am not an expert in aroma installer but I think that the aroma is a self debugging environment that if there is any error, it would be shown in itself at the end of process. For instant what I have been facing a lot is that if I miss a "'," or ";" that keeps the syntax open the aroma won't proceed and it would only points which string is faulty.I just dropped aroma installer from aryamod v8 that works just fine.
[Galaxy Note 3 Original Android Development] earl520:
Using both note 3 cam and s6 cam on Dark Au v6.1.. Both Fc after 1 sec when going in Video Mode.

Is this a kernel issue? Using the latest idle kernel 6.6.2
[Galaxy Note 3 Original Android Development] wild wadi:
This developer does not talk or do video flickering, it not in his "purist"genes.
[Galaxy Note 3 Original Android Development] jcadduono:
Why should I rewrite the camera library in the kernel when your ROM dev can simply use note 3 camera lib in his ROM and allow everyone's kernels to support it?
[Galaxy Note 3 Original Android Development] wild wadi:
Here is your answer fro the developer of Phronesis N5 port:

"If it was that simple it would've been done ages ago maybe you should go and tell him that".
[Galaxy Note 3 Original Android Development] Bushido76:
Maybe it's not that simple but I spent some hours to narrow down the problem and offered my help to the phronesis guys to continue the analysis together. But none of them came back to me. Now I'm back on touchwiz and do not regret this decision.
[Galaxy Note 3 Original Android Development] svbarbosa:
No 5G wifi band using ik 6.6.2

Anyone able to use the 5G wifi band on 6.6.2?

After flashing 6.6.2 my phones could not see the 5G wifi band. Tried changing Settings / Wifi / Advanced / Wifi region code but no luck.

I was running the selinux permissive CM12.1 kernel. Rom is CM based Euphoria.

Flashed back 6.5.3 and voilá, able to see and connect to 5G wifi again.

This happened with my two N9005, work and personal.

[MENTION=5672995]jcadduono[/MENTION], if you need logs I can flash 6.6.2 again and collect them. Do you want me to?
[Galaxy Note 3 Original Android Development] Bushido76:
I wasn't suspecting the kernel yet but last weekend I have been wondering why I was not able to connect to my 5GHz WiFi network with idleKernel 6.6.1. With some of the previous versions it was working flawlessly.

My phone is the N9005 too but I'm running a stock touchwiz rom (OJ6). I'm using the permissive kernel version.