yashsingh1/xdaforums huggingface dataset:
[Nexus 10 Original Android Development] Khaon:
ahahah sorry It is beeing rebuilt!!!! My bad... I gues online in 30 minutes
[Nexus 10 Original Android Development] Khaon:
Appart the google play crashes, what do you think about speed and smoothness??
[Nexus 10 Original Android Development] David 617:
No worries. I'll play some World of Tanks now

---------- Post added at 04:54 PM ---------- Previous post was at 04:49 PM ----------

I couldn't get past the setup screen. The wifi setup paged seemed sooth though ;)
[Nexus 10 Original Android Development] Khaon:
It is being uploaded. To those who had graphite enabled builds( so like you) can you report any user experience difference? OK graphite ewas crashing google play, but th tablet was usable for most of its tasks. So my question is FOR THE PART OF THE CODE stable was graphite worth it?
[Nexus 10 Original Android Development] David 617:
Just downloaded and flashed it. Play services still crashes during setup.

I will try stock CM to see if that helps.

Edit - Stock CM works fine.

I'm using latest CM nightly, your latest Kernel, and pa-modular gapps.

I have f2f2 for data and cache
[Nexus 10 Original Android Development] drewski_1:
Is this both ROM & kernel builds?
[Nexus 10 Original Android Development] OmniSlyfer:
Fiuuu, I was going to report the problem with your 24/02 build... Couldn't get Gapps working, so I was able only to enter the menu coz all the other apps were crashing :/ I'll flash the new build tomorrow :)
[Nexus 10 Original Android Development] ericp2:
Hi system partition is read only. F2fs is better only for writing...

---------- Post added at 01:28 PM ---------- Previous post was at 01:25 PM ----------

Previous post was out of place. Sorry. I have flashed new kernel yesterday. all works fine. Thanks khaon!
[Nexus 10 Original Android Development] Khaon:
I have tried few roms recently.

AOSP nightlies ( last build was 5.0.555),du,cm,..

I made an OptiPop build because I prefer something close to AOSP than CM. (I might have to try CAF but one thing at a time !)

If you don't know what is OptiPop you can take a look there

This is a nice project and of course all the credits belong to [MENTION=5105835]Cl3Kener[/MENTION]
[Nexus 10 Original Android Development] Khaon:
I have uploaded an AOSP nightly build. It was compiled with Linaro 4.9-022015 but without any optimizations flags.

It features android 5.0.555
[Nexus 10 Original Android Development] David 617:
Do you find this to be better than CM?
[Nexus 10 Original Android Development] Khaon:
I have uplodaed a new twrp 2.8.5.0 with better encryption support, could you give it a try? and report? thx.
[Nexus 10 Original Android Development] Khaon:
I just have put online a build compiled with sabermod 4.8.5 date of 02/10/2015!! I did not enable graphite options on this one, I ll do it later.
[Nexus 10 Original Android Development] OmniSlyfer:
Have you added all these optimisations to your OptiPop ROM?

"►ROM built with SaberMod 4.8.5 (for speed and performance)

►Opticharging to reduce apk size using pngquant which gives up to 70% compression

►Strict Aliasing

►Graphite and -O3 Optimizations

►Built with optimized compiler flags

►Art - Bionic - Dalvik optimizations"

However i'm downloading SM Kernel + Optipop... let's see what you got, Khaon [cit. Dragonball :P]
[Nexus 10 Original Android Development] joeski27:
Does USB OTG actually work with this kernel? Stickmount does NOT work at all for me (has root but does not mount the drive) :confused:

Does anybody know how to get this working on the N10 with this kernel??
[Nexus 10 Original Android Development] Khaon:
Yes

Which rom
[Nexus 10 Original Android Development] joeski27:
Using the latest CM 12 nightly, 2/27 I believe.
[Nexus 10 Original Android Development] vsot13:
Thanks for bringing Optipop to our device. Big fan of Chet work BTW Optipop just got an update:p

Sent from my Nexus 5
[Nexus 10 Original Android Development] drewski_1:
I see the same Stickmount behavior. Has root. Launches with OTG plugged in, but doesn't ultimately mount. ?

Rastapop & your Optipop build
[Nexus 10 Original Android Development] mabs123:
Its good to hear about optipop thanks. But optipop has an update will you add it ? I'm waiting for uptade thanks for your works.
[Nexus 10 Original Android Development] OmniSlyfer:
Uhm... OptiPop + SM Kernel... Very interesting, probably the smoothest ROM I've ever tried on my N10 :) However there are a couple of things I think should be improved.

Give me another couple of day to let the ROM settle, then I'll post a complete report of my thoughts
[Nexus 10 Original Android Development] Khaon:
Uploading new build now.
[Nexus 10 Original Android Development] vsot13:
Are you complying with pro commits?

From my N10
[Nexus 10 Original Android Development] drewski_1:
is it aosp_manta-ota-2015-02-28.zip ? or is that a pure AOSP build?
[Nexus 10 Original Android Development] Khaon:
Sorry Whut?

I just renamed the package to avoid confusion:good:
[Nexus 10 Original Android Development] tobitege:
[MENTION=4577448]Khaon[/MENTION]: thanks for your kernel and allowing me to include it in my BlissPop rom builds! Following your thread for a while and am very happy with the kernel! :D
[Nexus 10 Original Android Development] drewski_1:
I just noticed in TiBu that my/system reads as 825mb!?!

your kernel and / or Optipop has your re-size /system mod?

Edit: Advanced Reboot in Optipop is not working. I have it selected in Dev Options

Edit 2: had to enable reboot in Settings-Display-Power Menu

Sent from my Nexus 10
[Nexus 10 Original Android Development] mrdunlop:
Does xposed work with this kernel
[Nexus 10 Original Android Development] Khaon:
No idea, is it related to libraries sur art??

-----

New optipop build ont its way, features all changelogs !
[Nexus 10 Original Android Development] Targaeryan:
I did a clean install of the new one with pa gapps and I'm having play services fc.. I flashed the sm kernel, and the linaro kernel too.. I'm gonna try with stock kernel now..
[Nexus 10 Original Android Development] mabs123:
Does your kernel support USB otg ? Cause neither usbstick nor es file doesn't see the usb. I'm using optipop and anyos kernel.
[Nexus 10 Original Android Development] drewski_1:
That "edit 2" was regarding getting the Advanced Reboot options to show. i needed to select in the Display-Power Menu options before it worked.

. . .. but I was also getting the screen on issue on 2/28 build so went back to 2/26 OptiPop. Looking forward to the new build! :good:

---------- Post added at 10:50 AM ---------- Previous post was at 10:46 AM ----------

it's not working for me.

i'm using Khaon's kernel & Optipop. Stickmount launches when the USB-OTG is plugged in, but doesn't give access.
[Nexus 10 Original Android Development] Targaeryan:
Im having play service fc with the new build.. PA gapps.. Let me know how it goes at your end..
[Nexus 10 Original Android Development] Khaon:
Mais a full factory reset ans use latest
[Nexus 10 Original Android Development] Targaeryan:
Will download and flash now :)
[Nexus 10 Original Android Development] drewski_1:
i'm seeing the same thing with Play Services FC on today's build. Also using PA GApps.

i dirty flashed over 2/26. will try a clean install to see if that helps.
[Nexus 10 Original Android Development] OmniSlyfer:
Ok, I've used Optipop (26/02) + SM Kernel (27/02) for few days and I'm really satisfied. Very smooth experience, no lags or crashes, evrything runs very well, probably better then CM. But there are things that need to be changed IMHO.

First of all the distance between buttons on Navbar... the buttons are too close togheter, it's impossible to reach them with the thumbs while you hold the N10 horizontally. I think would be nice an option to set the distance.

Would be nice also to see a version with the stock lollipop colors... This Dark theme is particular for sure, but I don't think everyone will appreciate it (and I am one of them).

Another thing I think should be included is the possibilty to modify quicksettings, both number and position. It's a too common feature to be missing.

Always, always, always IMHO.

Now, other three thing:

1- May I help you with the Italian translation of the ROM? I hate to see some menu in english while everything else is in my language :p

2- May I help you rewrite the first post? I think it need to be updated a little, with the new features, details and in general to be udjusted a little :)

3- Really a nice job [MENTION=4577448]Khaon[/MENTION] !

Update: I'm uploading the benchmarks I've done.
[Nexus 10 Original Android Development] drewski_1:
i tried the Optipop 3/2 build with 2/27 SM Kernel on a full wipe (re-Formated Data). still getting Play Services FC. can't get through Setup Wizard.

reverted back to 2/26 Optipop

EDIT: this is with PA GApps 3/1 Stock package
[Nexus 10 Original Android Development] OmniSlyfer:
It's probably Graphite Optimizations fault...
[Nexus 10 Original Android Development] frontalot:
New recovery works perfectly with encryption now. Thanks!
[Nexus 10 Original Android Development] frontalot:
Unfortunately, the latest kernel FCs on Airbnb, Amazon Kindle, and Swiftkey.
[Nexus 10 Original Android Development] ThatFrigginAzn:
I'm trying to flash the aosp nightly but it's stuck on the boot animation. All ext4 with the custom twrp, is there something else I have to do to get it to work?
[Nexus 10 Original Android Development] tobitege:
You got logs for that? Kernel does not FC, it crashes, but your apps FC. ;)
[Nexus 10 Original Android Development] Nicholas1994:
Dirty flashed new optipop over 28.02 optipop, works great, no fc , thanks
[Nexus 10 Original Android Development] mabs123:
any news about usb otg ?
[Nexus 10 Original Android Development] Khaon:
Full factory wipe is required I believe so

I will look on that
[Nexus 10 Original Android Development] ThatFrigginAzn:
Would that entail wiping dalvik, cache, system, and data in recovery? Because that's what I did originally.
[Nexus 10 Original Android Development] Khaon:
This aosp build might be unstable. I am using one now that is 'well sorry for the i' inconvenience I will remote it
[Nexus 10 Original Android Development] ThatFrigginAzn:
Is there anything else I would have to do, assuming I only wiped the aforementioned partitions?
[Nexus 10 Original Android Development] Khaon:
Nothing to do
[Nexus 10 Original Android Development] OmniSlyfer:
What about my proposals that I've written at page 66 [MENTION=4577448]Khaon[/MENTION] ?
[Nexus 10 Original Android Development] Targaeryan:
Confirm this! All working. On SM kernel..
[Nexus 10 Original Android Development] frontalot:
Figured out the problem - somehow my /data partition got corrupted.

I'm trying to fix the problem with fsck.f2fs, but I receive the error

fsck.f2fs /dev/block/mmcblk0p9
Info: sector size = 512
Info: total sectors = 27877376 (in 512bytes)
[fsck_chk_data_blk: 628] block addr [0x65646230]

Assertion failed!
[fsck_chk_data_blk: 628] blk_addr < F2FS_RAW_SUPER(sbi)->block_count

Some quick Googling tells me there is a problem in the kernel source code for F2Fs.

[MENTION=4577448]Khaon[/MENTION]: can you look into this?

Thanks.
[Nexus 10 Original Android Development] Khaon:
I had also this issue this morning. It seems it does appear only with latest update to f2fs? Well I don't have access to my computer but I will release a roll back kernel to previous revision of f2fs. Hoping in a first time the problem comes from that.

Any chance you still have your Google links in case it might be something relevant there.?
[Nexus 10 Original Android Development] frontalot:
I just looked at the first few Google results for "fsck.f2fs Assertion failed!"
[Nexus 10 Original Android Development] Khaon:
Omni rom s f2fs tools (including fsck) were quite outdated. I am rebuilding a new recovery with cm12 tools which are up to date with latest sources
[Nexus 10 Original Android Development] Khaon:
I have uploaded a new build of twrp, it has latest f2fs tools included...
[Nexus 10 Original Android Development] frontalot:
Sorry, doesn't work. I can't even mount my /data partition in recovery anymore.

E: Could not mount /data and unable to find crypto footer.
E: Unable to mount '/data'
E: Unable to recreate /data/media folder
E: Unable to mount storage
E: Unable to mount /data/media during GUI startup

My /data partition is not encrypted.

But at least my tablet boots fine.
[Nexus 10 Original Android Development] mabs123:
Is there any chance to get USB otg work ?
[Nexus 10 Original Android Development] Khaon:
Oh yeah I forgot to check how to enable that , I have no idea.

I rebuilt a kernel package with former f2fs sources since it seems the issues with this fs started with latest sync.
[Nexus 10 Original Android Development] mabs123:
oh thank you. well when will you release the new kernel ?
[Nexus 10 Original Android Development] Khaon:
I will look over this weekend , did you use any rom/kernel that were supporting otg usb before?
[Nexus 10 Original Android Development] mabs123:
Its the first custom rom with lollipop that Im using. Before that I was using stock rom with stock kernel and there was no problem with stickmount.
[Nexus 10 Original Android Development] drewski_1:
IIRC, Lollipopalooza supported it. It's been awhile since I was using it, but I think it was native OS support (didn't need Stickmount). I may Nandroid later and reinstall to verify (after wife goes to bed)

Have you taken a look at my Feature Request for Bluetooth LE? It has a link to commits that I think helped Rascarlo fix it in RastaPop.
[Nexus 10 Original Android Development] mabs123:
I tried lollipopalooza and it has support usb otg. But not good as this one :) . Im just waiting for Khaon's kernel.
[Nexus 10 Original Android Development] Beaster:
Thank you for the new kernel!

I am using it together with the latest nightly build from CM12.

I just downloaded Stickmount in order to test the itg functionality. I cannot seem to be able to mount my usb..

Do i need to be on your optipop build to be able to get this to work?

Other than that the kernel works flawlessly!

Thx in advance!
[Nexus 10 Original Android Development] Khaon:
I have applied the same patches that craicagomez's lollipop & cm12 use rom's sided. It might comes from the ramdisk or the kernel(if some config are not enabled, tho I have enabled ntfs and checked if otg config was on)

Was it working before flashing my kernel on cm12 ?

Can you upload your logcat? Stick mounts give a lot of informations I seen, might help understanding where the issue comes from. You can get it with this command line

adb logcat -v time -d > logcat.log

Are you using the pro or regular version?

Is your device displayed in the storage window from settings?

and last ;p, can you paste /init.mant.rc and your fstab?
[Nexus 10 Original Android Development] Beaster:
Hey Khaon.

Thx for the reply!

I don't know if it was working before.. I haven't used it. It certainly worked back in CM11 days!

I am using the regular version of stickmount. Device is not displayed in Settings/Storage.

I have uploaded the files you need. There was also a file named init.manta.usb.rc

Do you need that aswell?

Thx again.
[Nexus 10 Original Android Development] Khaon:
Ok I spoted something wrong in init.manta.rc. I have fixed the issue with the anykernel2. It is on the drive, but, you will have to flash over proper cm12 kernel(s ramdisk and then my package since it uses the underlying kernel and patches it.

Well if it is not a hurry for you or a need to have otg working I guess the other will report soon orlater:p
[Nexus 10 Original Android Development] Beaster:
Thx for the reply Khaon!

I will wait for the new cm12 nightly, flash that and reflash your kernel and report back.
[Nexus 10 Original Android Development] mabs123:
usb otg still doesnt work ı think. I use the latest optipop there is no device in storage, es file and stick mount still doesnt work.

When I flash boot.img of former optipop rom, stickmount etc worked but there is no native support. after flashed your kernel again usb doesnt work.
[Nexus 10 Original Android Development] drewski_1:
the 3/7 TWRP 2.8.5.0 is significantly larger than the older versions 11MB vs. 9MB and now i can't mount USB-OTG in TWRP :eek: and also booting into Recovery stays on the TWRP curtain screen much, much longer than the prior version.

reverting to prior version re-enabled the USB-OTG functionality in Recovery.

i am seeing some "E: Unable to state '/data/data/ . . . " errors with the older TWRP which may have been what you were trying to fix with the newest version F2FS changes?
[Nexus 10 Original Android Development] drewski_1:
also, regarding USB-OTG in ROM, just got around to doing some testing today.

i changed back my /cache & /data to ext4 and restored my Lollipopalooza Nandroid. Native USB-OTG support was present.

I flashed your latest 20150308 Kernel that's in your download folder. the USB-OTG was not mounted, but I do see greyed-out options in Settings-.>Storage for USB storage, which may be from the Native support from the ROM?

so i installed Stickmount. again, Stickmount launches, but doesn't mount the USB-OTG. i've attached a logcat. it looks like with all the Stickmount entries there's an adjacent error about the "membrack module"?

this is one exacmple

03-08 13:46:28.243 I/StickMount(5719): [StickMount] [SU+] echo usbdisk: $(/system/bin/readlink '/mnt/usbdisk' 2>/dev/null )
03-08 13:46:28.285 E/memtrack(6653): Couldn't load memtrack module (No such file or directory)
03-08 13:46:28.285 E/android.os.Debug(6653): failed to load memtrack module: -2
03-08 13:46:28.337 D/AndroidRuntime(6653): Calling main entry com.android.commands.am.Am
03-08 13:46:28.377 D/AndroidRuntime(6653): Shutting down VM
[Nexus 10 Original Android Development] Khaon:
Yes there is a rom-side implementation, the ramdisk and kernel's driver. The drivers defined with the defconfig.

Twrp is larger as it is using my kernel now instead of original omnirom's. So the defconfig is not the same! If you are saying otg is no longer working it is due to the kernel! I thaught i had enabled all the required's one(ntfs,otg,..). I guess I have missed one like usb driver or dunno, I will compare the config files.

Since I have applied the cm/craicagomez's commits and checked with this guide it makes me think it is defo an issue due to the defconfig definition.

About your error it is when a program tried to load an hardware, it is linked with stickmount itself. Did you add the extra stickmount's binaries/lib ?

About the errors, it is due to the fact your file system is damaged, and most likely wont be able to be repaired totally. It seems it is due to the double mount entries definition and google's source code may try to invoke ext4's fsck on a f2fs partition vice/versa. Ofc CM12 had fixed that.
[Nexus 10 Original Android Development] drewski_1:
just restored my Opti-pop 2/26 build Nandroid to Ext4 and flashed the latest 3/8 build on top.

i'm not gettig the Google App FC's and Bluetooth LE is working! :good: thanks!!
[Nexus 10 Original Android Development] drewski_1:
Yes, i installed the extra Stickmount files & reformatted data before the last install.

Otg still not working on latest 3/8 ROM & Kernel. Ill see what files you asked for on the last page to see if they canhelp.

Sent from my Lollipop TF700T
[Nexus 10 Original Android Development] Khaon:
It was my fault, USB storage driver was not even enabled in the defconfig. It is the driver that handles usb interactions with the device. I have enabled it and some extra others things such controlers,gamepad,etc...

I have uploaded a new flash able kernel archive, also started a new recovery build not to have one where you cannt otg ;D
[Nexus 10 Original Android Development] drewski_1:
Flashed the new kernel (3/9) . . . native USB-OTG of working now!!!

Great work!!

Sent from my Nexus 10
[Nexus 10 Original Android Development] frontalot:
The latest kernel and recovery fix all my outstanding bugs.

Merci beaucoup!
[Nexus 10 Original Android Development] Beaster:
Yeap! Can also confirm usb otg is working now..

Thx khaon!
[Nexus 10 Original Android Development] OmniSlyfer:
Reporting my thoughts about your latest ROM build... Unfortunately I'm not really satisfied of it.

That's why :

1- all the problems/missing things of the previous release are still here (look at page 67 for my last feedback)

2- quick pulldown is bugged. It's always set to 'right' and even if you change it in option, nothing happens (after reboot too). Problem was also present in the previous build.

3- immediately after the device setup, I noticed that something were wrong. The ROM wasn't smooth and reactive like the previous build. I mean, probably better then stock experience but nothing special. So I've done few benchmark and antutu showed me a really poor runtime performance. I don't know what caused it or what does it really means, however I think it's a problem that need a fix IMHO.

I've flashed the Rom twice, both after a full wipe (data, Chace, dalvik and system). Both with everything on EXT4.

About the kernel. I think it's the best kernel that our N10 has ever seen. However, are you sure that a tweaked BFQ is the right option? Sometimes I've noticed little lags, that with row or sio disappear. Also I found that these 2 schedulers give me a better overall experience. But maybe is only placebo effect.

I'll post the benchmark results soon. Compare them with the one I've posted few pages ago.

Edit: benchmark uploaded. I propose again my offer of help you with the Italian translation of the Rom.
[Nexus 10 Original Android Development] Khaon:
About the scheduler, I don't really known.

Bfq is really good with multitasking, but zen or fiops should consume less battery. The io scheduler is the one responsible to say which process gonna write or read at a time T. Basically they do not matter for the write or read spead but for your experience. Bfq is the best handling for usb and also for 1080p media reading...

I think the best shceudler is the one that yield less sound cracking and best multitasking and reading high definition media for our device, would need to compare a bit.

But surely the best one will be fiops,zen,sio or ? bfq xD the other one performs surely less well
[Nexus 10 Original Android Development] OmniSlyfer:
Thank you for the fast and precise explanation man :)

Now let's talk about the features :

1. Navbar: it's a long time since I saw a navabar with spaced buttons, but if I'm not wrong AOKP 4.3.1 should have this feature. But u can't set the distance between the buttons: I think that I a feature you can't change after the Rom is compiled. However is only OptiPop that has got the buttons so close together. I'm sure that all other roms have the buttons a little bit more spaced.

2. About the quicksettings: I really like a near to stock rom too, I always prefer smoothness over features. However, I think that this possibility to adjust quicksettings and change their position is a must have feature. CM12 has got this feature.

Now let me ask you some more questions about the translation, it's a little more difficult than expected ahahah. Now tell me that I'm right: the xml files under res/values contains the English names and values. I have to create the corresponding xml file with the Italian translation under .../values-it. Or is everything contained in array.xml and string.xml?

Also you told me that I have to find the position and the ID of what I want to translate... But how the hell can I know the ID? I've never studied computer science (only something C++ at University :P) and it's a little difficult for me eheh

About the performance: don't waste your time building a new ROM if I'm the only one with these problems. I'm very happy with 27/02 build, it's really smooth. However I only would like to know why Runtime performances score is so low in your last build.... I mean if everything is OK it should show an high value, maybe higher then the bench I've posted ad page 66 right?

PS: I'm really excited about Android 5.1.0, nexus 5 owners are really happy with this new release and the factory image for our N10 is already been uploaded by Google. Can't w8 for your your next release :D