yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] daver68:
I'm having an issue with my internal storage. Sometimes I cannot modify files or folders using either a file manager (e.g. ES File Explorer or free version of Root Explorer) or when connected via USB to my computer. For a bit more backstory, please refer to my previous thread, which has received no replies and so I am asking for help here.

Basically, I would like to be able to move files and directories freely across my internal storage. Not much to ask for, really. However, some files and folders can't be moved (cut and paste) or simply copied (copy successful, paste fails). This first started when I was on PureNexus (6.0.0, 12/01/2015) with ElementalX 0.07 and rooted with SuperSU 2.62 (not systemless root). I've since returned to complete stock 6.0.1 (flashed factory image using fastboot), and now on systemless root (2.61) for a couple apps that I use.

Symptoms are:

1. could "copy" any file, but could not paste into any directory. ES File Explorer throws an error "/sdcard/directory/file_name: open failed: EACCES (Permission Denied)". Root explorer (free version) would say "Copy failed, file_name to /sdcard/directory"

2. when connected to a computer over USB, can copy files from computer to any directory on phone's internal storage, but cannot delete anything. When I try to delete a file or folder, I get the Windows error message that the destination has been disconnected, etc., even though it's not.

3. if I've copied a file from computer to phone (say music), some files cannot be copied to another location in internal storage, some files can.

Previously when I was on PureNexus with normal root,

If I am on my device and using ES File Explorer and if I am in the path /storage/emulated/0/* then I am unable to copy/move files and directories, as I've described above.

If I am on my device and using ES File Explorer and if I am in the path /sdcard/* then I am unable to copy/move files and directories, as I've described above.

If I am on my device and using ES File Explorer and if I am in the path /data/media/0/* then I am able to do anything I damn well please.

Now that I've reverted to stock 6.0.1 from factory image and with systemless root,

If I am on my device and using ES File Explorer and if I am in the path /storage/emulated/0/* then I am unable to copy/move files and directories, as I've described above.

If I am on my device and using ES File Explorer and if I am in the path /sdcard/* then I am unable to copy/move files and directories, as I've described above.

I do not see anything under /data

Having said all of this, none of my apps have any problems accessing internal storage, be it for data, cache, or writing anything to /Android/data (or obb)/*

Is this a hardware issue? I didn't think it would be, because it doesn't seem like the internal storage is faulty, since everything else runs perfectly fine.
[General Questions and Answers] daver68:
OK, an update to this.

After further investigation, I am finding that my issue perhaps has to do with permissions on files that have been cross copied. By "cross copied", I am referring to anything that I created by file manager or by computer, and attempted to modify using the other device. An example of cross copying would be if I created a folder called "Report PDFs" while connected to a computer via USB, and then tried to copy a bunch of PDFs into it using ES File Explorer. Inversely if I create a folder using ES File Explorer, I cannot modify it or files within it when connected to a computer via USB.

Using the File Manager in TWRP (2.8.7.2) I am able to modify all files at will, without any restrictions. It's only when I'm booted up into Android and accessing storage through a file manager app or via USB connection.

I can repeatedly reproduce this problem now. Any thoughts as to why I don't get access to files/folders due to cross copying?
[AT&T Samsung Galaxy S 5] vvofdcx:
Really need to root G900A with Android 5.0 but no app or person I've found is able to do that. I saw a few posts here back to August and earlier where no solution was found at that time. Is there any solution by now? Or soon?
[AT&T Samsung Galaxy S 5] johnkirchner:
Still no root if you have lollipop. This phone is almost 2 years old so the likelihood of root is low. That doesn't mean someone is not trying though.
[Nexus 6P Android Development] apascual89:
apascual89fk kernel- franco based with wake gestures and leanKernel linux version updates

This kernel is for CyanogenMod or CM based ROM. This is based on Franco Kernel compiled with CM ramdisk/source.

No need to flash SuperSU, the built in root access works fine.

These are my personal builds which I've been asked to share.

Kernel Features:

Franco Kernel base

FKUpdater profiles support (do not update kernel from app)

Wake Gestures

CyanogenMod support only

Changelog

V21

Merged in franco r23

Updated linux version to Linux 3.10.102

V8.0

* Franco r6 merged in

* Trimmed down defconfig to make leaner, removed some debug and log spam stuff, etc

V7.0

*Updated optimization flags

*Added Overclocking and underclocking steps thanks to [MENTION=4684315]flar2[/MENTION] & @ak

*Compiled with updated UBERTC 5.3 toolchain

V6.0

*franco.Kernel r5 merged in

V5.0

*Final franco Ramdisk changes

*franco.Kernel r4 merged in

V4.5

*Initial franco ramdisk changes and FKUpdater profiles support

V4

*added BFQ IO scheduler

*switched to O3 optimization

*merged in franco r3 code(that includes high brightness mode)

r3

*random entropy tweaks

*large dm-req-crypt update from CAF-should help with performance on encrypted devices

r2

*franco.Kernel-r2 merged in

*added camera launch gesture by swiping down

*updated linux version from 3.10.73 to 3.10.94

r1-initial release

*franco.Kernel-r1 base

*ElementalX wake gestures

Don't expect frequent builds, will update when possible.

How to flash:

Download boot.img

Reboot to TWRP

Choose "flash image"

Select boot partition

Flash and reboot

Download

Source

Thanks:

[MENTION=3292224]franciscofranco[/MENTION]

[MENTION=4684315]flar2[/MENTION]

[MENTION=3357040]Imoseyon[/MENTION]

@ak
[Nexus 6P Android Development] apascual89:
reserved
[Nexus 6P Android Development] Othoric:
Just curious but has CM been updated to 6.0.1?
[Nexus 6P Android Development] micmars:
CarntMallowKernel...I think it has potential.

Sent from my Nexus 6P, #WhiteUIsMustDie, #EndDarkAppOppression
[Nexus 6P Android Development] apascual89:
Yes it has.
[Nexus 6P Android Development] dabug123:
Thanks bro

---------- Post added at 11:17 PM ---------- Previous post was at 11:17 PM ----------

Think this needs some graphics ,maybe a wall and banner.I gotcha hit me on hangouts
[Nexus 6P Android Development] opz187:
sweet what's up Buddy glad to see you threw it up, working mint on DU
[Nexus 6P Android Development] galaxys:
Sounds good! Cool
[Nexus 6P Android Development] apascual89:
Nice great to hear!
[Nexus 6P Android Development] apascual89:
It definitely has something, nice ring to it. [emoji106]
[Nexus 6P Android Development] micmars:
I think it'd be delicious.

Sent from my Nexus 6P, #WhiteUIsMustDie, #EndDarkAppOppression
[Nexus 6P Android Development] omvir:
Thanks for this! Will you be incorporating cms kernel commits?
[Nexus 6P Android Development] apascual89:
Probably, some are there already. Any in particular you're wondering about?
[Nexus 6P Android Development] omvir:
There was one today regarding RGB LED brightness levels. If you think it would be worthy to add it in that will be cool
[Nexus 6P Android Development] apascual89:
Sure I'll look at it. Keep the feedback /suggestions coming!
[Nexus 6P Android Development] mr.notsotech:
Name it. Mutation! But thank me in the op;)
[Nexus 6P Android Development] omvir:
What's your goal with this kernel?

I hope that it stays close to Francos kernel as much as possible with the only difference being that its for CM. There is just something about simple kernels
[Nexus 6P Android Development] Darian71:
This baby is Awesome on 6.0.1. You need to already have fastboot flashed your 6.0.1 img files first but getting 6+ hours SOT and very fast.

https://renderserver.net/browse?path=DespairFactor/angler/kernels:thumbup:
[Nexus 6P Android Development] apascual89:
Not sure how your post is relevant on this thread, but thanks for stopping by......
[Nexus 6P Android Development] apascual89:
I feel the same way. I was actually thinking of putting 2 builds out. One just straight Franco and a second one with more stuff added like the gestures, etc.
[Nexus 6P Android Development] omvir:
That would be a good idea If you have time to maintain 2 builds.
[Nexus 6P Android Development] apascual89:
Yeah I'll have an update tomorrow with my plans.

One build will be straight Franco built with 4.9 toolchain. The second build will have added features and built with the latest UBERTC toolchain (cutting edge if you want to call it that)
[Nexus 6P Android Development] opz187:
Hm odd, won't boot on beanstalk. I know that the kernel he builds it with is modified and different from stock cm.. But it's still a cm based ROM.. Any ideas?
[Nexus 6P Android Development] freddienuxx:
do we need systemless Supersu

to flash this kernel?

want to flash with BeanStalk.

thx in advance
[Nexus 6P Android Development] nickster1:
[MENTION=3515982]apascual89[/MENTION], great job, this running great! Glad to see you have this device.

---------- Post added at 01:36 PM ---------- Previous post was at 01:35 PM ----------

This works just fine on beanstalk guys, that's what I'm on too.

No, you do not need sytemless root with this.
[Nexus 6P Android Development] apascual89:
Hey man, we meet again lol. 2 builds coming up tonight. Give me a few hours....
[Nexus 6P Android Development] opz187:
Do you happen to be running systemless root on beanstalk tho? What gapps are you on?
[Nexus 6P Android Development] nickster1:
No I'm not using systemless root. I'm using banks dynamic gapps package.
[Nexus 6P Android Development] apascual89:
Hey no update tonight, I pulled in Franco's R2 changes and it's not booting so trying to figure that out
[Nexus 6P Android Development] apascual89:
Ok got it figured out. Will run today all day and release tonight if everything is ok
[Nexus 6P Android Development] apascual89:
Ok if anyone wants to go ahead and test along today the r2 is in the link in the op.

I'll do a better changelog tonight, but basically franco r2 with some verity commits reverted and linux version brought up .

Compiled from the test branch

https://github.com/apascual89/angler/commits/test
[Nexus 6P Android Development] Kookitza:
How do i make a zip to flash this?
[Nexus 6P Android Development] apascual89:
You have the latest TWRP installed right? That allows you to flash images. Instructions in op.
[Nexus 6P Android Development] Kookitza:
OK, but where is the image file? :confused:
[Nexus 6P Android Development] nickster1:
Just wanted to let you know the latest build booted up fine & is working great so far thank you!
[Nexus 6P Android Development] apascual89:
Link in first post that says Download

Thanks for the feedback!
[Nexus 6P Android Development] nickster1:
If you downloaded the img from the op, just reboot into into twrp, click install & on the lower right side, click Install Image, & than you'll see it.
[Nexus 6P Android Development] apascual89:
Oooohhhh you were talking about where it was in TWRP. Lol sorry. In that case, what nickster1 said ?
[Nexus 6P Android Development] apascual89:
Here's a test build that booted up fine for me completely synced up with Franco source. I want confirmation from someone else before my releases tonight.

http://downloads.hostingsharedbox.com/apascual89/boot-apascual89-test.img

Make backup for boot in recovery just in case. Please report back
[Nexus 6P Android Development] tusvik:
Just flash it on temasek latest and it booted just fine
[Nexus 6P Android Development] nickster1:
Boots up just fine!
[Nexus 6P Android Development] apascual89:
Ok will get builds ready thanks for the feedback
[Nexus 6P Android Development] GrndSers-Rcng:
Running fine on my end... Glad to see that flag on your avatar... It brings joy that its representing something good... Keep it up Bori!
[Nexus 6P Android Development] apascual89:
Ok Updated the link in op for the r2 release. Those who just flashed the test version a few minutes ago it's the same kernel, no need to flash again.

Notable changes:

r2

*franco.Kernel-r2 merged in

*added camera launch gesture by swiping down

*updated linux version from 3.10.73 to 3.10.94

I will add a build that's just franco.Kernel source without any of my addons to the second post in a little bit for those that want that.
[Nexus 6P Android Development] Guitarfreak26:
Hey, great work! Is there anyway to add the elementalx headphone gain to this? Really need more volume on the 6p lol
[Nexus 6P Android Development] apascual89:
Sure I'll check it out. The last build has Franco sound. But that doesn't include headphones gain, right?
[Nexus 6P Android Development] Guitarfreak26:
I can check lol. Do I need to install Franco's app for that?

---------- Post added at 03:13 PM ---------- Previous post was at 03:11 PM ----------

Just tried, it does lol
[Nexus 6P Android Development] apascual89:
Ok good I don't do headphones much [emoji106]
[Nexus 6P Android Development] ChongoDroid:
Weird it's not booting for me on DU, was there a trick to get it to boot permissive?
[Nexus 6P Android Development] apascual89:
DU is aosp based, right?
[Nexus 6P Android Development] ChongoDroid:
Oh weird, I thought someone had mentioned cm support for the kernel. In the AK kernel thread (which is aosp) I had heard it didn't boot. So when someone in this thread mentioned it worked on DU here I just figured. :)
[Nexus 6P Android Development] apascual89:
Here's a new test build. I've been running all day running nicely. Compiled from the apascual89fk branch if you want to see the changes. Basically added the random entropy tweaks from leanKernel, compiled with UBERTC 5.2 toolchain and added a few more optimization flags.

http://downloads.hostingsharedbox.com/apascual89/boot-apascual89fk-r3-test.img

It would be great to get some feedback on battery compared to r2. There's different opinions on how battery life compares from 4.9 to 5.2 toolchain.

Oh and I haven't forgotten about the clean Franco build I promised earlier. I will try to put up tonight.
[Nexus 6P Android Development] apascual89:
I think I'm going to stick with the 4.9 toolchain. No scientific testing here, but battery seems to be draining quicker. Anyone seeing the same?
[Nexus 6P Android Development] nickster1:
I haven't had a chance to try it out yet, but I'll flash it tonight & see.
[Nexus 6P Android Development] sameerm02:
Installed r2 build on AICP-20151216 build, working great

But my double tap to wake is not working :(

Kernel Adiutor, show options like, wake fullscreen and halfscreen, on selecting one of them, nothing happens (no wake on tap)

When I reopen app, dt2w is disabled again :(

Edit: name it as, CM Pranko's kernel (like prank of franco's kernel) :p
[Nexus 6P Android Development] apascual89:
I just installed kernel Adiutor to check and all good here. Just in case make sure that the built in rom tap to wake is not enabled and interfering. It should be in Settings/Display.

I can leave the app and come back to it and all good.
[Nexus 6P Android Development] nickster1:
Yes I am seeing the same thing. I'm draining about 2% per hour more than r2 & doing all the usual things I do. I will say that it's very smooth & fast though. Everything seems to working as it should.
[Nexus 6P Android Development] apascual89:
Thanks yeah I'm sticking with 4.9.
[Nexus 6P Android Development] ak:
DU need a permissive kernel. there is a version made by @dsmitty166.
[Nexus 6P Android Development] ak:
double post. deleted.
[Nexus 6P Android Development] apascual89:
I found his git I'll add those to a test build to see. Thanks for pointing that out!
[Nexus 6P Android Development] apascual89:
Ok added clean franco.Kernel source with nothing added to post #2.
[Nexus 6P Android Development] apascual89:
r3 is up! Changelog updated in op. I'm sticking with UBERTC 4.9 for now.
[Nexus 6P Android Development] sameerm02:
Tried that but no luck, may be issue is with AICP

Anyways getting awesome battery life with r2+aicp, 3hrs54mins of SOT with 49% battery remaining, awesome rom+kernel combo

Thanks for your hard work man :highfive:

I'll try, r3 soon

Edit1: At the end of cycle, got 7hrs of SOT with 13% battery remaining
[Nexus 6P Android Development] apascual89:
r3 should boot on DU.

Can anyone confirm?
[Nexus 6P Android Development] nickster1:
If no one else does, I will try later. Right now I'm enjoying fantastic battery life with your straight Franco build.
[Nexus 6P Android Development] apascual89:
I'm going to change the labeling from r3 to v3 on my custom releases. Don't want confusion with the Franco releases.
[Nexus 6P Android Development] yung40oz84:
Ya DU is AOSP based, not CM
[Nexus 6P Android Development] nickster1:
r3 did not boot for me.
[Nexus 6P Android Development] apascual89:
Yeah, I was under the impression that DU was CM based, but was wrong. Thanks for reporting.
[Nexus 6P Android Development] nickster1:
I just read the above post of mine. Wish I saw that before lol
[Nexus 6P Android Development] apascual89:
Updates available

V4

*added BFQ IO scheduler

*switched to O3 optimization

*merged in franco r3 code(that includes high brightness mode)

Second post also got updated with straight franco build r3.

Franco's performance profiles won't work yet on these builds. I need to have a look at his ramdisk changes to support this. He hasn't gotten around to pushing his ramdisk to github. Once he does I'll add support.
[Nexus 6P Android Development] DaXmax:
Good Evening,

Maybe for those who using AOSP based ROM could temporary flash this till [MENTION=3515982]apascual89[/MENTION] maybe plan to bring the support to AOSP. :)

I'm here only sharing my flashable file as i really loved your mods to franco's kernel.

Download: https://goo.gl/EHHDqt

This should solve [MENTION=2790661]ChongoDroid[/MENTION] and nickster1 's problem.

P.S Just sharing made with love, if it's killing, let me know.
[Nexus 6P Android Development] apascual89:
Great man, thanks. I'll link to it on the op. Feel free to share with every release!
[Nexus 6P Android Development] sameerm02:
For mokee, need to install AOSP ver shared by DaXmax or else it will not bootup,

Thanks for ur hardwork DaXmax and apascual89 :good:
[Nexus 6P Android Development] omvir:
Installed the only Franco version of your kernel but its using the bfq scheduler. Shouldn't it be using the cfq scheduler because its the one used on his kernel? Just curious!
[Nexus 6P Android Development] apascual89:
Really, I'll check it out, maybe I switched the boot images before uploading. Could you share the about phone screenshot to see the naming on the kernel?
[Nexus 6P Android Development] omvir:
Yes, I think that's what happened.
[Nexus 6P Android Development] apascual89:
Ok yeah I'll fix. Sorry
[Nexus 6P Android Development] omvir:
Thanks man
[Nexus 6P Android Development] apascual89:
Ok fixed, Thanks for reporting!!
[Nexus 6P Android Development] omvir:
Okay, a few more things [emoji14]. The min freq for the big cores is 633mhz, but on stock Franco its 384mhz. Also, the input boost for small cores seems to be 1344mhz, on stock franco its 1555mhz.

Is it because you need the updated ramdisk changes from Franco? Or is that not related.
[Nexus 6P Android Development] apascual89:
The min frequencies are 384 & 633, are you saying that stock Franco has the min frequency for ALL 8 cores @ 384? and yes looking at his ram disk changes will definitely help.
[Nexus 6P Android Development] omvir:
Yes stock Franco has min frequency at 384mhz for all 8 cores. Also, the input boost on stock franco for the little cores is 1555mhz. But on your version its at 1344mhz. Sorry I should have been more clear.

He said he will push the ramdisk changes tomorrow. Hopefully they help!
[Nexus 6P Android Development] apascual89:
Thanks for the feedback! I'll have a look when he pushes them.
[Nexus 6P Android Development] Nekromantik:
Off topic but how did you get 22nd December build of Temasek?
[Nexus 6P Android Development] apascual89:
I build my own. I maintain for temasek and try to contribute when I can
[Nexus 6P Android Development] Nekromantik:
I will try build my own today. See how it goes. haha
[Nexus 6P Android Development] apascual89:
Let me know if you encounter any issues
[Nexus 6P Android Development] apascual89:
Ok I decided not to wait lol. I'm doing some changes to ramdisk that will at least support battery profiles and the cpu speeds while he pushes the rest
[Nexus 6P Android Development] Nekromantik:
Thanks appreciate it. :)

Merry Christmas!
[Nexus 6P Android Development] apascual89:
Same to you! Merry Christmas!!!
[Nexus 6P Android Development] omvir:
Awesome. Will there be a stock Franco cm version for the build including the initial ramdisk changes?
[Nexus 6P Android Development] apascual89:
Ok I uploaded V 4.5 and franco-cm r3.5.

These have the initial support for ramdisk changes and FKUpdater app profiles support.

Never try to update my kernel with the FKU app. You will bootloop!! You've been warned

Changes are here

[MENTION=3292224]franciscofranco[/MENTION] if you have time let me know if those initial changes look ok to you.

Everyone should buy the FKU app if possible to show support for the awesome work franciscofranco does, but just in case you can also use tasker or the built in terminal in CM (or Temasek which is my daily rom). The profiles can be set with the info in this post .
[Nexus 6P Android Development] apascual89:
Yes, just uploaded. Let me know how things look for you once flashed.
[Nexus 6P Android Development] omvir:
Looking good! Thanks
[Nexus 6P Android Development] omvir:
Looks like Franco pushed the ramdisk changes!!
[Nexus 6P Android Development] apascual89:
Yep, I updated my initial changes to ramdisk, except his supolicy and systemless root parts.
[Nexus 6P Android Development] apascual89:
Franco-cm-r4 available

Clean Franco r4 source with his ramdisk modifications available in the link on second post. The only changes I did not incorporate were his supolicy and su systemless changes since CM has their own superuser added.

My initial Ramdisk changes were pretty spot on so I just adjusted a bit when franco published his changes. This is now basically franco kernel 100% on cm.

https://www.androidfilehost.com/?fid=24345424848487386

Franco reset his source and added commits back in so I will need to do the same then add back my modifications for my apascual89fk kernel. I'll update this post when it's available.

Edit: apascual89fk-V5 available! Look at changelog in 1st post for details.

Like always, feedback is always welcome.
[Nexus 6P Android Development] jiv101:
R5 is up
[Nexus 6P Android Development] apascual89:
LOL yeah I saw
[Nexus 6P Android Development] apascual89:
Updates Available:

boot-franco-cm-r5

boot-apascual89fk-V6

Resynched with franco r5 source
[Nexus 6P Android Development] jiv101:
Wow you're quick, good job dude
[Nexus 6P Android Development] nickster1:
He never disappoints.
[Nexus 6P Android Development] Craxx:
thx a lot, kernel works great with temasek ?

best regards

Craxx

Sent from my Nexus 6p
[Nexus 6P Android Development] omvir:
Thanks man! Loving the quick updates :)
[Nexus 6P Android Development] aaronc_98:
does this kernel force encryption ?
[Nexus 6P Android Development] apascual89:
No it does not.
[Nexus 6P Android Development] aaronc_98:
Ok thank you.

Also I'm getting way better battery life on v5, anybody else?
[Nexus 6P Android Development] apascual89:
V5 vs v6? The only difference was a couple of commits from Franco. Not sure what could cause it.
[Nexus 6P Android Development] aaronc_98:
I don't know either, I'm using the exact same settings in in the Franco kernel updater
[Nexus 6P Android Development] apascual89:
Let's give it another day to see.
[Nexus 6P Android Development] apascual89:
Just released Resurrection Remix for our Nexus 6p with the kernel included

Thread Here