yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] OnlinerUserBD:
Please Help! :( for mounting usb devices automatically

Is there any way to mount USB storages/ devices automatically without 'stickmount', like the cm13 based rom "Beanstalk 6.25", which has this type of ability.

I can mount USB devices (including my Zoom H1 Handy recorder as USB mic) after enabling settings » kernel audiutor » misc controls » msm usb otg in Beanstalk 6.25 with revival kernel without StickMount.

but I can't use my USB mic in this rom with quanta v20 kernel installed instead pendrive works with stickmount and keyboard detects automatically, but, not detects the USB mic automatically

Any solution please????!!!!
[Nexus 4 Android Development] dramalicious:
U can try another kernel :D
[Nexus 4 Android Development] mparmpas122321:
Nougat is still very buggy for Nexus 4. Just have patience, let the few devs that still support our device do their magic and it will be stable as MM.
[Nexus 4 Android Development] justmix4:
I do not agree with you. I use SAOSP and is very stable.

Wysłane z mojego Nexus 4
[Nexus 4 Android Development] ermacwins:
Did any of you guys get snap camera working on this rom?
[Nexus 4 Android Development] OnlinerUserBD:
I used quanta kernel for mounting USB storages and mice and keyborad successfully, but USB mic with no luck. Although, the developer of this rom preferred to use StickMount for mounting USB devices, which is not detecting USB mic but USB storages.

In cm13 beanstalk 6.25 with revival kernel all of usb devices-mice-recorder detected automatically and worked just fine.

So, flashed revival kernel on this rom, and still auto USB devices/ mics mount not working as it worked on beanstalk.

Therefore, I want to figure out where is the problem rom itself or its limitations of the kernel with this rom?

my question is,

Is there any possibility to mount USB devices without StickMount ?! If yes, I think my problem will be solved and

If not,

How can I mount USB devices automatically in this rom?
[Nexus 4 Android Development] zeeBomb:
Strange... I just had the masquerade app and then I flashed a different kernel, and it disappeared? How do I get it back
[Nexus 4 Android Development] mathorv:
Guys some of you say that tried many kernerls for MM and most or all NG roms. Is there any great custom MM kernel or NG rom with better battery life?

I get like 4 day of battery life with just wifi and gsm on on custom revive kernel and tweaks like: uV, uC, Powernap, Greenify, Amplify. Alternatively SoT would be like 4-5h.
[Nexus 4 Android Development] warsam:
What is this?
[Nexus 4 Android Development] mathorv:
uV undervolt

uC undeclock
[Nexus 4 Android Development] TundraLK520:
Chroma rom keeps crashing. First I though it was because of CPU or battery temp as it usually happened during gaming, so I started monitoring it but it was not the case. I usually had to wait some time to switch on the mobile otherwise it would just get stuck on Chroma logo screen. But today the rom crashed while i was using Chrome browser and it kept on crashing everytime I tried the same pages.

Is there anything that can be done, I don't even know whats the cause but this is a recent development, even the crashes during playing games started like 5 days back.
[Nexus 4 Android Development] dramalicious:
I never had issues with rom. Did u clean flash?
[Nexus 4 Android Development] TundraLK520:
Yes i did a clean flash, wiped everything in twrp except internal storage. What I meant was that the problem is recent, I have been using Chroma for some time now with no issues. I can't figure out what is causing this. Is the kernel in Chroma over clocked or something? But that can't be an issue since cpu z showed normal temperature.
[Nexus 4 Android Development] dramalicious:
I cant answer u to those questions..but why dont u go for a data backup, wipe and flash rom again?
[Nexus 4 Android Development] TundraLK520:
Was planning to do that but since Chroma is not being updated might switch to another MM rom for now before N rom.
[Nexus 4 Android Development] Cizzle4:
I am using NeXus4ever rom(7.0) by spezi77 has a good battery Life..
[Nexus 4 Android Development] dramalicious:
I was on Chroma since march but now i flashed DU..i still hope that we will have a port to N..
[Nexus 4 Android Development] Royalfox:
Ok so I just got a N4 (because i wanted a cheap, smooth device) and I flashed this ROM and I wanted to say I'm pretty impressed.

The N4 performs great with this, its very fast and really stable. Cheers to everyone involved in the making of. I flashed Quanta kernel for dt2w and everything's great, I'm falling in love with my device.

I'm curious of Nougat, but word says it isn't very stable atm for Mako, so i'll stay on this for a while.

Thanks again!
[Nexus 4 Android Development] dramalicious:
Nougat is good for daily driver. Go give it a try :p
[Nexus 4 Android Development] Royalfox:
So you no longer consider it a joke? :p you still on DU?
[Nexus 4 Android Development] dramalicious:
I camed back to chroma as allways :). I stlll think that N is a joke, but it.s stable enought for d driver :p
[Nexus 4 Android Development] Royalfox:
mind sharing your setup? I'm having trouble getting thru a day without needing to charge midday
[Nexus 4 Android Development] dramalicious:
I dont get a day:)) I play Vainglory at work on mobile data. I say no more :))
[Nexus 4 Android Development] blueman24:
For me, I just under clocked to 1200mhz. Doesn't really have any effect on smoothness but does give a nice battery life boost. Other than that, I'm yet to fiddle with kernels so...

BTW, my N4 is only a couple of years old (i got it late in its life cycle) so it has a good battery. I can easily go 4hrs sot on WiFi but don't ask about 3g.
[Nexus 4 Android Development] theo28:
Hey Guys, I was on the latest version of Chroma and then tried to install AOSP 7.1 http://xdaforums.com/showpost.php?p=69581407&postcount=527 but it just stuck at booting for 20minutes so I force rebooted into recovery and flashed the latest stable version of Chroma. It's been 15minutes and and I still see the chroma logo waiting for the first boot to complete. What should I do?

Edit: I came to Chroma and then To Nitrogen OS N ► Substratum 7.1 but a bunch of things are not working right so want to give this AOSP a try.
[Nexus 4 Android Development] a103:
You'll need to do a factory reset before flashing chroma again.
[Nexus 4 Android Development] theo28:
I did a factory reset in TWRP and came back to Chroma. Can you please guide me on what version of gapps to download from Open Gapps.
[Nexus 4 Android Development] a103:
This is what I've used
[Nexus 4 Android Development] cervantes:
how can i backup kernel?

which kernel is best for chroma?

im using default kernel
[Nexus 4 Android Development] Gu$houn*:
If we're talking about custom kernel, I think there is no reason to backup it other way than keeping the original zip.

To backup the stock kernel you could use custom recovery e.g. TWRP and backup "boot" partition or you could use some app e.g. Flashify to do that. Or you could just unzip the boot.img from your ROM's zip. Or use ADB with proper commands ...

I think you have to find by yourself which kernel suits the best to your needs ...

P.

[sntfrmnxs⁴]
[Nexus 4 Android Development] KitsuneFoxy:
Hi all. I like Chroma a lot. And I was hoping Zephik would atleast keep the project updated with just the security updates if that would be alright?

I assume to incorporate the security updates isnt too much hassle.? Or is there going to be a Chroma Nougat?

I dont like other ROm's they are far too bloated and chroma has always been very snappy and quick for my nexus 4.
[Nexus 4 Android Development] fr3quency:
Chroma for the Nexus 4 is dead. There are better ROMs out there. I used to be a Chroma fan but thankfully we don't need this ROM now.

Sent from my Nexus 4
[Nexus 4 Android Development] KitsuneFoxy:
Well are any similiar ones? I'm not an overclocker or anything, i do like to have as much battery as possuble aswell. Thank you if you could sugeest a few, then i'dknow where to llook
[Nexus 4 Android Development] knuxsonico:
try pure nexus rom and hellspawn kernel.
[Nexus 4 Android Development] Islam Looca:
Allow me to disagree with you, not all users could die without an updated rom, the main goal for a normal user to flash any rom is to suite his needs when using the phone without single issue.

what i've got with N roms :

- performance issues

- battery draining with lower SOT time compared to MM

- google camera not fully functional (with flash sync issue which also present in almost MM roms, but not Chroma)

- FC with some apps i use like Flashfox

- No Xposed framework till now

- No multirom support at least for trying N roms without affecting the main rom

I know, this differs from a user to another and not all users care about this, but this is my point of view.
[Nexus 4 Android Development] fr3quency:
Fake Nexus, Nitrogen OS, the first port of Android 7(now at 7.1.1) by zaclimon and Pure Nexus.
[Nexus 4 Android Development] RootNightmareX:
How do i enable 4G ?
[Nexus 4 Android Development] pjc123:
As far as I am concerned, no more security updates, then it is "dead to me". The security updates are the main reason I moved to Chroma in the first place. Really loved this ROM. You are right that Nougat is not stable enough. Debating CM14 or straight Nougat port as soon as things stabilize. I can't afford to be messing around right now and be without a phone, text and email; I am one of those crazy people that uses my phone as a phone.
[Nexus 4 Android Development] fr3quency:
Boot into TWRP and backup. Then you can play to your heart's content without worrying. [emoji14] As it's holidays I have more time to test things on Nexus 4, so after testing I recommend Pure Nexus to every Chroma fan(seriously they are fking identical - I was shocked)

Sent from my Nexus 4
[Nexus 4 Android Development] Islam Looca:
I've tried the last build it was good but had some bugs, so waiting for the fixes that dragos mentioned will be there in upcoming release for camera and tethering .. etc

i don't say that N isn't that good, but you know we need stability to make sure that we can use our beloved nexus 4 without issues.
[Nexus 4 Android Development] fr3quency:
Indeed, you are right but I don't think we will ever see more stability on the Nexus 4. It's a 4-year-old phone with an old CPU... generally everything is fking old on this phone I want to punch it. xD What I'm trying to say is that it's not like its big brother, the Nexus 5, which has a waaaaaay better CPU and official support ended on 6.0.1 instead of 5.1.1

If I could find a used N5 in great condition I think I'd buy it immediately.

I have seen how this story will end as I have flashed each new Android version on Galaxy Nexus, Galaxy S 2, Xperia Neo V, Xperia X10 mini etc. Sooner or later we will all have to either upgrade or deal with this stability(or downgrade to 5.1.1/6.0.1)

To sum up: don't have such expectations for our phone as it's really old and has old specs.
[Nexus 4 Android Development] Islam Looca:
[MENTION=1225126]fr3quency[/MENTION] yeah, had the same experience with Xperia X10 and totally agree, that moment when we check the available roms for a phone and see its makers and boom no recognized developers or contributors, not underestimate new developers, but we realize that's the end.
[Nexus 4 Android Development] fr3quency:
I didn't mean it that way. I don't care if a dev is recognized or not. A dev is a dev and they are a person that helps the end user. Without them we wouldn't enjoy the latest and greatest versions.

Let's take for example my mum's laptop which I have to use whenever I visit home versus my own PC.

Both have Windows 10(like our Nexus 4 has Android 7.1.1), one has an Intel Centrino Duo(bliah) and the other has an i5 6400. The one has a GeForce 7400 GO GPU and the other has a GeForce 650 TI. The differences aren't SO HUGE when it comes to N4 vs N5, but there are differences and those differences won't let us have the desirable stability. The laptop cannot handle lots of video on YouTube and other stuff, lags etc; the same applies to our Nexus 4.
[Nexus 4 Android Development] Islam Looca:
I got what you mean, new developers know much more than us in android developing and they are totally appreciated for what they do for free to all the people, not taking money for developing time to provide support to a phone, it's a passion.

Like you said, that hardware difference makes it a must change device, and we never know when it comes the end for a device unless devs give it up for that device, then we realize tha's it.

Only devs that make the old hardware usable.
[Nexus 4 Android Development] ujh:
What about nitrogenos (N)?
[Nexus 4 Android Development] Jorge R:
https://android.googlesource.com/platform/build/+/android-6.0.1_r78

A last version of android M?

please ;)
[Nexus 4 Android Development] imtiax:
I just flashed this rom and it seems buggy from the start...

I don't have a sim card inside so I skip it, then it goes to the Wifi screen, and it wont seem to want to connect to any wifi's, and then it forces me back to the insert sim card screen, and i hit skip nothing happens...

rebooted a couple of times, no luck,.

and yes this is from a completely clean install, formatted everything, wiped everything. gonna try again

also anyone have a mirror to a google apps that works with this rom? because the link in OP is dead and maybe the one im using isnt good with this rom?

Update: again, exact same issue, once it connects to a wifi it goes back to the sim screen and wont budge....

ugh
[Nexus 4 Android Development] pjc123:
Not sure why you are using this ROM. I used it for a long time, and really loved it, but development ended for Chroma on the Nexus 4 in August of last year. Personally I have since moved on to Android 7.1.1 Nougat ( Lineage OS) on my Nexus 4, but I understand some don't want to make that move for various reasons. I would at least try to find a marshmallow ROM that is currently supported and has recent security updates. In any event, thanks for reminding me to remove my subscription to this thread.
[Nexus 4 Android Development] imtiax:
This is for one of my test phones, I'm making something for my self that requires xPosed and marshmallow so I'm looking for a marshmallow rom.

I would use android 7.x but theres no xposed there

---------- Post added at 10:49 PM ---------- Previous post was at 10:30 PM ----------

update: flashed a different rom and got everything working. guess this rom is just broken.
[Nexus 4 Android Development] smit.sanghavi:
Which ROM did you use?
[Nexus 4 Android Development] imtiax:
Dirty unicorn. It's running 6.0.1 works great
[Nexus 4 Android Development] Burn02:
For people who where looking for a rom near from chroma, i would advice you to test SAOSP.

I am totally happy with this rom. Like i was with chroma. :)

I have losted nothing.
[Nexus 4 Android Development] ZLocus:
What is the battery life you get in standby mode with SAOSP and Dirty Unicorn? I get about two days as reported by the battery meter using Cyanogenmod 13.0 last snapshot but I'd like to upgrade to at least the latest kernel.
[Nexus 4 Android Development] Asees31:
mobile data 3g/2g not work after flash rom

WiFi , call, SMS work fine. plzhelp
[Nexus 4 Android Development] Nemanjacvi:
Which Google apps should i download for the lattest chroma custom rom? I have tried some of them, but i am not able to flash them...
[Nexus 4 Android Development] TundraLK520:
Chroma has not been updated for mako for a long time and there wont be an update. I think there used to be banks dynamic gapps for it. I could be mistaken. If not then u can try pico or nano open gapps, just make sure u have the right version.

Ps:It's better if u flash something new.
[Nexus 4 Android Development] sykopompos:
The stock kernel was Franco and you just flash a full boot image from 5.0 replacing the ramdisk the 5.1 ramdisk with a 5.0 one.

I just said one page back that you shouldn't flash a full boot image kernel like Franco's because it hasn't been update to the 5.1 ramdisk.

Flash the ROM again to recover a working kernel
[Nexus 4 Android Development] hamma:
I´m using stock and don´t miss anything. Great battery life, great smoothness.
[Nexus 4 Android Development] sykopompos:
Thank you, zephik made a modified Franco kernel for the n6 so I don't think he would mind packing that in for now on if it is OK with you. I still gotta make the init.d native in system core and move Franco's stuff out into it
[Nexus 4 Android Development] sykopompos:
I hijacked your threads plenty enough in the past so it is bout time you got me back ?

You could help me move the Franco specific performance stuff out into init.d files so it would act like a anykernel version and I can revert the init rc files back to stock on other devices too.

You know when it comes to kernel stuff, I'm pretty clueless because I never messed with any of that stuff.

I could then add proper kernel support into all chroma builds down into the sepolicy too instead of the root way if just making the init domain permissive
[Nexus 4 Android Development] DespairFactor:
We can work on this tonight if you'd like, just give me a bit if time, I'm finishing nexus 6 optipop builds
[Nexus 4 Android Development] sykopompos:
Right now my computers are compiling for devices and maxed out so I can't do anything ?

It is gonna have to be tomorrow.

I still gotta figure out how to add native f2fs into the ROM so it will compile with f2fs support
[Nexus 4 Android Development] DespairFactor:
You need a bpardconfig entry saying the target has f2fs, the fstab modified and you want the mkfs stuff for f2fs
[Nexus 4 Android Development] sykopompos:
Yeah, don't I need something in system core for that? I've looked at other Roms that have it and it had something to do with bklid or something similar
[Nexus 4 Android Development] fr3quency:
[MENTION=1050103]sykopompos[/MENTION], I don't know if it is considered as a bug, but after typing my WiFi password in the Setup Wizard dialogue it displays the usual "Checking connections..." but it takes a loooot of time. 8 minutes have passed since then and it's still there. It has happened numerous times before(it happens both on ext4 and f2fs). Ill have to either wait looots of minutes, or go back and make it forget the WiFi password so I can continue without WiFi(I don't have data so I don't know how it would be handled)
[Nexus 4 Android Development] DespairFactor:
I don't recall anything like that in optipop or brokenos
[Nexus 4 Android Development] sykopompos:
It is a bug on 5.1 Roms that I have seen reported several times over different Roms.

The setup wizard gets a fail connection to the server and it doesn't reset. Normally when that happens to me, I just reboot and it goes through the next time but your way works too
[Nexus 4 Android Development] sykopompos:
I guess that was just something cm did and other Roms that I looked at did too
[Nexus 4 Android Development] fr3quency:
Ok, thanks for the clarification. Thought it was a bug on your part, but that wouldn't be possible now, would it? :P

One more thing. I cannot set custom LED colours for my apps, while my friend(Nexus 5) on Chroma has the ability to do so. Why is that?
[Nexus 4 Android Development] liang512:
After you go back and forget wifi password, you can re-type wifi password. You will go on to the next screen in a few seconds.
[Nexus 4 Android Development] sykopompos:
I wish it was on my part cause then I could fix it ?

As far as the light options, guess I missed something when I converted Franco's kernel to the 5.1 ramdisk and looked for anything that looked led related. The n5 got official 5.1 so it had a Franco kernel updated to that ramdisk, I unpacked his ramdisk and added his init changes and performance tweaks directly in.

I'll have to sit down with a stock 5.0.1 boot image and compare it to franco's to find the specific changes for it when I move his changes into a init.d and update it for 5.1
[Nexus 4 Android Development] fr3quency:
Nah don't do it. Just wait for 5.1.1 sources. Don't waste your time with the LED colours.
[Nexus 4 Android Development] sykopompos:
Just like with 5.1 though, we thought it was gonna be a evolution on 5.0 going forward with what was in the aosp master but instead it was some weird got reset hard and odd cherry picks of the aosp master source ( a lot of the memory leak fixes were sitting up there for a good month before 5.1) so who knows what we will see in 5.1.1
[Nexus 4 Android Development] DespairFactor:
I believe this is in device overlays;)

This bool here

<bool name="config_multiColorNotificationLed">true</bool>
[Nexus 4 Android Development] sykopompos:
It would be in Franco's init.mako.rc, as far as I know, nobody has them in thier device trees.

But I could be mistaken and forgot to add the modifications to liblight in the device tree

Edit: nope, I got them https://github.com/Chroma-Aosp/android_device_lge_mako/commits/lollipop-5.1.0
[Nexus 4 Android Development] sykopompos:
Can change the led colors. It is per app notifications colors that isn't a option for some reason on the n4
[Nexus 4 Android Development] DespairFactor:
That is part of it on OptiPop and was on brokenos on LP for shamu/other devices. I saw your device tree doesn't have it, so adding it could be worth a try, there could be a bit more to it too.
[Nexus 4 Android Development] sykopompos:
Already got that one https://github.com/Chroma-Aosp/andr...mmit/854019865992456492647525f7f5b3e5beef1b1f

Just doesn't seem to want to give per app changes but works in changing the colors in general

Maybe I missed another commit, I'll look over it tomorrow.

It is sleepy time now, 2 am already ?
[Nexus 4 Android Development] DespairFactor:
That is for battery, what I gave you was for notifications

<bool name="config_multiColorNotificationLed">true</bool>
[Nexus 4 Android Development] sykopompos:
Ah, crap. I didn't even realize that was different, you are right, I don't have that on mako and is probably why ?

Thank you for realizing that
[Nexus 4 Android Development] DespairFactor:
No problem:) Just looking out for the users! And I guess you of course:P Don't want you too strain yourself too much:P
[Nexus 4 Android Development] sykopompos:
I would have just gone crazy trying to figure it out, thank you for preserving a bit more of my sanity for a little longer ?
[Nexus 4 Android Development] DespairFactor:
any time:)
[Nexus 4 Android Development] fr3quency:
Haha wow you guys fixed the led problem so quickly. Nice teamwork. :p
[Nexus 4 Android Development] DespairFactor:
I owed him at least one, he has helped me out quite a bit.
[Nexus 4 Android Development] _imac_:
Hi guys,

I just flashed the latest chroma build and my phone freeze on boot logo. And that's all.

I did a clean install, wipe data, cache and dalvik. Flashed chroma then gapps then su.

What's wrong??
[Nexus 4 Android Development] DespairFactor:
Did you wipe system? Try that first.
[Nexus 4 Android Development] adstraylight:
If you get as far as the chroma animation, then just leave it, go for a walk, maybe take a bath, as first boot on a clean flash takes a very long time.
[Nexus 4 Android Development] _imac_:
Sure

---------- Post added at 08:34 AM ---------- Previous post was at 08:32 AM ----------

A was waiting more then hour! Maybe two.
[Nexus 4 Android Development] HiM@L:
if u r coming from another custom ROM... wipe system, data, cache, dalvik... then reboot recovery again... then do regular factory reset (data, dalvik, cache) and flasb rom, gapps and supersu.

thats what i do usually when i come from another custom rom.
[Nexus 4 Android Development] jer_ying_fd:
I failed to notice the latest build until now :(