yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] dEris:
Name file 23-rmkeep.sh and place in /system/addon.d and set permissions to RWX-RWX-RWX

Next time you dirty flash a rom - those apps in the code below will be backuped up - I have a separate one for xposed

rm -f /system/app/Books.apk -- The list of apps that are displayed like this - will auto removed during the flash.

#!/sbin/sh
#
# /system/addon.d/23-rmkeep.sh
#
. /tmp/backuptool.functions

list_files() {
cat <<EOF
app/com.facebook.katana-1.apk
app/com.chrome.beta-1.apk
app/com.devhd.feedly-1.apk
priv-app/Mirror.apk
app/com.keramidas.TitaniumBackup.apk
app/reddit.news-1.apk
app/slimcam.apk
media/bootanimation.zip
EOF
}

case "$1" in
backup)
list_files | while read FILE DUMMY; do
backup_file $S/$FILE
done
;;
restore)
list_files | while read FILE REPLACEMENT; do
R=""
[ -n "$REPLACEMENT" ] && R="$S/$REPLACEMENT"
[ -f "$C/$S/$FILE" ] && restore_file $S/$FILE $R
done
rm -f /system/app/Books.apk
rm -f /system/app/GenieWidget.apk
rm -f /system/app/HoloSpiralWallpaper.apk
rm -f /system/app/MagicSmokeWallpapers.apk
rm -f /system/app/PhaseBeam.apk
rm -f /system/app/SunBeam.apk
rm -f /system/app/Galaxy4.apk
rm -f /system/app/LiveWallpapers.apk
rm -f /system/app/NoiseField.apk
rm -f /system/app/VisualizationWallpapers.apk
rm -f /system/app/VideoEditor.apk
;;
pre-backup)
# Stub
;;
post-backup)
# Stub
;;
pre-restore)
rm -f /system/app/com.facebook.katana-1.apk
rm -f /system/app/com.chrome.beta-1.apk
rm -f /system/app/com.devhd.feedly-1.apk
rm -f /system/priv-app/Mirror.apk
rm -f /system/app/com.keramidas.TitaniumBackup.apk
rm -f /system/app/reddit.news-1.apk
rm -f /system/app/slimcam.apk
rm -f /system/media/bootanimation.zip
;;
post-restore)
# Stub
;;
esac
[Nexus 4 Android Development] aadiflesher:
So I have to write the apps that I want to backup in this script. I'm curious if there`s an app that can do this, that would be so much easier.

I really need a script like this, because every time I have to remove a ton of apps and then restore others, including Xposed and modules.

Thanks mate!
[Nexus 4 Android Development] dEris:
I'm not sure. I just spent 10 minutes creating adding the apps I want. Been using same one for awhile.

-------------------------------------------------------------------------

[DEVICE : LTE N⁴] [ROM : N5E] [KERNEL : STOCK]

[LAUNCHER : NOVA] [CARRIER : T-MOBILE]

[SCREENSHOT : FEB.18.2014]

​

---------- Post added at 02:43 PM ---------- Previous post was at 02:19 PM ----------

For otg support in recovery, do I need the modified TWRP still?

-------------------------------------------------------------------------

[DEVICE : LTE N⁴] [ROM : N5E] [KERNEL : STOCK]

[LAUNCHER : NOVA] [CARRIER : T-MOBILE]

[SCREENSHOT : FEB.18.2014]

​
[Nexus 4 Android Development] renoob:
Idiot is strong language coming from a folder deleter! /s

---------- Post added at 12:49 PM ---------- Previous post was at 12:44 PM ----------

Can always count on the OP to be the class act in the room! :thumbup:
[Nexus 4 Android Development] Kratos90:
te toi! learn English; the topic was left hours ago. Go build yourself a fort! I said it due to a smart comment which wasn't helpful, anyone can delete something accidentally. with that bug off. Thanks for your help as well, your 36/160 thanks to post rate shows how helpful you are.
[Nexus 4 Android Development] renoob:
I help those that help themselves, and who are not abusive in the process.

And I don't expect thanks for doing so.

Here's your self-help suggestion for the day:

http://www.google.com/search?q=apps...a=X&ei=tW4GU5P8ForsoATTm4DIAg&ved=0CAgQ_AUoAA
[Nexus 4 Android Development] kulek79:
When configure exchange email, got error:
[Nexus 4 Android Development] Berrydroidcafe:
I heard that a few people have had issues with exchange and Kit Kat. :eek:

I'm sure there's a workaround for it, maybe there's a thread for it here? (xda)

Sent with my Nexus® 10 minus 3
[Nexus 4 Android Development] Rox598:
This is all that's been stopping me from flashing the ROM! it's become a staple for me lol good to hear it's coming :)
[Nexus 4 Android Development] andersonaragao:
Well, I guess from now on you will want to use my ROM! Testing this now and more news tomorow!
[Nexus 4 Android Development] Rox598:
Nice one! :good: I'll be all over this then for sure :)
[Nexus 4 Android Development] dEris:
Awesome! Please add initd support!! ??

-------------------------------------------------------------------------

[DEVICE : LTE N⁴] [ROM : N5E] [KERNEL : STOCK]

[LAUNCHER : NOVA] [CARRIER : T-MOBILE]

[SCREENSHOT : FEB.18.2014]

​
[Nexus 4 Android Development] C_green:
[MENTION=5330727]andersonaragao[/MENTION], did you ported lockscreen notifications squashed or commit by commit?

Could you share with me from which github did you take it?

As you wrote in OP: "All Developers of XDA forum for for sharing information".

Let's start to do the same!
[Nexus 4 Android Development] andersonaragao:
Ported this from here my friend! https://github.com/AOSPAL

With some hints to port the code from here. https://github.com/scotthartbti/
[Nexus 4 Android Development] C_green:
How did you solved clear all notifications buttons in navbar?

I have tried but with no success.

And your are fast. More than 20 commits in a couple of hours :confused:
[Nexus 4 Android Development] andersonaragao:
I remove some codes of clear button that have in NavBar from PA ROM. And I'm working on it 2 day, not 2 hours as you can see the Revert ActiveDisplay below. Who accompanies the ROM know that I was already doing it! :D

View attachment 2591429
[Nexus 4 Android Development] C_green:
Sure you can't take it from here? https://github.com/cristianomatos/a...mmit/fe8055ccfdbaaed2fdfc192dc687696340fef424

With this port I've solved my navbar button problem.

Just see the commit messages.
[Nexus 4 Android Development] dEris:
Do I have to use the modded recovery to use otg in recovery?

-------------------------------------------------------------------------

[DEVICE : LTE N⁴] [ROM : N5E] [KERNEL : STOCK]

[LAUNCHER : NOVA] [CARRIER : T-MOBILE]

[SCREENSHOT : FEB.18.2014]

​
[Nexus 4 Android Development] andersonaragao:
Surely not. If I had seen it, would advance my work and certainly give due credit as I have done for each function that I add in the ROM. I don't have problem for that. I'm humble enough to say that I picked the best of the best things from some ROMS to my ROM.
[Nexus 4 Android Development] andersonaragao:
I don't know my friend. I don't have OTG cable to test this. :(
[Nexus 4 Android Development] AndroidGangsta:
Is there a fix for GPS
[Nexus 4 Android Development] kakabobo:
the option double-tap to wake is not sticking.

uncheck and exit setting completely.

and upon going back to setting it will still be checked.
[Nexus 4 Android Development] HiGhDRo3o5:
If u flashed different kernel it wont work.
[Nexus 4 Android Development] Zehlek:
Never mind, just turned off and back on
[Nexus 4 Android Development] andersonaragao:
Yes, testing here. I think that this is a CM11 bug. But when you disable it, this turn off the Double-tap to wake. Only if you go to Display... it's come enabled again. I'm try to fix this now.

EDIT: Confirmed: It's a CM11 bug on Double-tap to wake Setting.
[Nexus 4 Android Development] dEris:
Double tap to wake is a cm commit?

-------------------------------------------------------------------------

[DEVICE : LTE N⁴] [ROM : N5E] [KERNEL : STOCK]

[LAUNCHER : NOVA] [CARRIER : T-MOBILE]

[SCREENSHOT : FEB.18.2014]

​
[Nexus 4 Android Development] andersonaragao:
Yes. In Settings and Hardware Framework.
[Nexus 4 Android Development] minnuss:
I'm unchecked it, get back in display settings...it will show that its checked (ON), but it will not work, so I think its just a display bug.
[Nexus 4 Android Development] Sisqo:
i'm on stock and would like to flash this rom, any bugs?
[Nexus 4 Android Development] ViCioPT:
Better than stock! Might have some minor bugs due to the (lot of) extra options, but is very very stable and very very very fast!
[Nexus 4 Android Development] sunnysb123:
Awaiting new build with Lockscreen Notifications :D
[Nexus 4 Android Development] naurojunior:
What's the diference between KOT49H and KVT49L? What's new?

Enviado de meu Nexus 4 usando Tapatalk
[Nexus 4 Android Development] andersonaragao:
https://funkyandroid.com/aosp-KOT49H-KVT49L.html
[Nexus 4 Android Development] aadiflesher:
Is OTG working for you? And I don`t mean in recovery, but in general.

I tried it on mine (version 4.4 stock kernel) but I could not get it to work. Also installed StickMount from Chainfire, an app that I`ve used in the past, but no luck.

I am also running latest TWRP and couldn't get to work there either.

Can anyone else confirm if OTG is working on latest built (4.4)?

Thanks!
[Nexus 4 Android Development] ViCioPT:
Are you using a cable to provide external extra power?
[Nexus 4 Android Development] :
[MENTION=5330727]andersonaragao[/MENTION] I have a problem.. thanks for enablers Dt2w XD but also in old version rarely i have touch problem and display doesn't work (i can see but can't touch) and i must reboot the phone by power button... and also wifi disconnects by network and sometimes i have to disable and enable wifi to restore connection... these problems are because there is CAF kernel or is driver problem? thanks :)
[Nexus 4 Android Development] :
Amazing ROM! Thanks to developers! Just one suggestion: tiles in status bar cannot be resized. Could you insert that "Style" option in the future version? Thanks!
[Nexus 4 Android Development] manchasolar:
I've tried to install new ROM but couldn't, because the file has .bin extension. I zipped it but failed at cwm, what should I do? Just rename it to zip? Sorry for this noob question.

Enviado de meu Nexus 4 usando Tapatalk
[Nexus 4 Android Development] ViCioPT:
.bin extension?!?! Are you sure that you downloaded the right file?
[Nexus 4 Android Development] andersonaragao:
.bin? What Release you download? Post the link too.
[Nexus 4 Android Development] aadiflesher:
No, I am using a simple OTG cable.

Did it work for you?
[Nexus 4 Android Development] aadiflesher:
There is no .bin extension.

This is the link to download all version.
[Nexus 4 Android Development] ViCioPT:
No and won't work for anyone. Our device as limited power in the usb port, hardware specification!, and can't power an external device. you'll have to provide adicional power using an Y OTG Cable (for example)
[Nexus 4 Android Development] chok_thewa:
http://i.ebayimg.com/00/s/NTg1WDU4NQ==/z/tE4AAOxyNo9SootQ/$_2.JPG

work for me
[Nexus 4 Android Development] aadiflesher:
Ok, I just found an old Y OTG cable that I made a while back, tested it and it works! Didn`t know it needed an external power supply in order to work.

I guess I have to carry around with me a small power bank in order to use the OTG with an USB stick, HDD, or mouse. Well, at least it works! :D:good:

Thanks for the info, mate!
[Nexus 4 Android Development] andersonaragao:
Release 1.4 is here! Updating the OP with download links and changelog. For updating from Release 1.x of CyanogenMod version, don't wipe nothing, just flash it. If you are coming from another rom, I recomend full wipe.

I'll wait the CyanogenMod Team put the CM11 M1 sources online for merge with this.

Changelog:

*Fixed the Bluetooth AD2P on Stock Kernel version

*Notification Drawer Quick Access Ribbon is now ok

*Change Network Mode tile now ok

*LockScreen Slider Shortcuts for Google Apps by default

*Profiles improviments

*Alarm Clock can assign an alarm to Profile

*cLock added (if someone keep device wake by it, please report me! No issues found here)

*Dialer improvements (if someone get issues with this, please report me! No issues found here)

*Fixed some things from latest CM11 sources
[Nexus 4 Android Development] viniu:
Link CAF kernel, 1.4 stable is down.

Could you post some mirrors? Thanks.

Wysłane z mojego Nexus 4 przy użyciu Tapatalka

****Sorry everything is ok. Downloading...
[Nexus 4 Android Development] sipospeter:
Cannot install ROM

Hello andersonaragao! It seems that I cannot install your rom for some cause. In recovery mode after about 1 minute of starting the flashing process it fails with the following error:

set_metadata_recursive: some changes failed

E: error executing updater binary in zip: 'file path on sd card'

Error flashing zip 'file path on sd card'

Updating partition details...

Do you have any idea what may cause this? The weirdest part is that I could easily install your other, pure nexus 5 experience rom without any hassle. I'd like to have the same KitKat experience but with the CM customization options, so it would be great if you could point me towards a solution. Thanks!
[Nexus 4 Android Development] mohd syafik:
According to the problem you have, it seems you have to update the binary to the latest version.. Try reroot with the latest version

Sent from my Nexus 4

KRT16S 4.4 KitKat stock ROM
[Nexus 4 Android Development] sipospeter:
Thanks for the answer. And how should I update the binaries? I already have root on my current ROM and this ROM is already pre-rooted, so I presume that no "reroot" should be needed, but I would gladly try it.
[Nexus 4 Android Development] andrew.golby:
Tethering causing reboot every time

Is anybody else getting reboot when activating tethering? I'm on v1.3 stock with LTE and this happens every time I try to activate tethering either with wifi or USB. Any ideas?
[Nexus 4 Android Development] andersonaragao:
Update to release 1.4 and look if you get this.
[Nexus 4 Android Development] mr_raider:
Can someone give me teh dummy version of what CAF vs non CAF version advantages are?
[Nexus 4 Android Development] andrew.golby:
Updated to stock 1.4 LTE and problem still exists. Can someone please check if the issue exists on the CAF version?
[Nexus 4 Android Development] clockwork58:
Make sure your TWRP or CWM recovery is the latest version. I tried to install running TWRP 2.5.0.0 and got the exact same error until I updated to 2.6.3.3
[Nexus 4 Android Development] N3V3RS3TTL3:
No problems. Great work! Thank you.
[Nexus 4 Android Development] ehbm:
Themes

Where do I find themes for this rom?

Thanks!
[Nexus 4 Android Development] andersonaragao:
Flash THIS for New Google Dialer, LTE Icon on Status Bar and Battery Icon correct alignment! :D

ONLY FOR CM11 BASED VERSION. DON'T FLASH ON ANOTHER VERSION!

I'll add it on the next Release!
[Nexus 4 Android Development] andersonaragao:
Confirmed, I'm getting this here with Stock Kernel Version. I'll test the LTE with CAF Kernel too and if this get this error, I think that error is because hybrid radio, if don't get this, it's a Kernel error and I'll try to fix this! Thanks for report!
[Nexus 4 Android Development] andersonaragao:
You can flash this and test if Tether works??? ONLY FOR CM11 Stock Kernel Version!
[Nexus 4 Android Development] naurojunior:
The new battery icons is show! Waiting for the center clock

Enviado de meu Nexus 4 usando Tapatalk
[Nexus 4 Android Development] guyderam:
awesome rom... Very smooth... No major issues as of now.... But the 2g/3g toggle doesnt seem to work... And how do i add widgets to the lockscreen?

And can i use exposed framework/ gravitybox with this rom?
[Nexus 4 Android Development] :
great work. was wondering if this is based on the 4.4.1?
[Nexus 4 Android Development] logicmd:
Two Dialer

I'm wondering what's the difference between two dialer, the Google Dialer and the Dialer?

Is the Google Dialer depend on the Dialer?

Can I frooze one of them?
[Nexus 4 Android Development] DJPrelude:
[MENTION=5330727]andersonaragao[/MENTION]

I'm still loving the room and as I stated before this is the perfect rom for me.

I got my new Nexus 5 in recently and was wondering if you plan on making this same rom for it?

And if you are then were can I make a donation? ;)
[Nexus 4 Android Development] andersonaragao:
You are right.

Requirements:

Power MUST be supplied to both the USB device and phone. The easiest way would be by using an OTG Y-cable:

If using a traditional OTG cable, a USB Y-cable can be used:

Some powered USB hubs also send power up to the host and can be used directly with a regular OTG cable.

I am not endorsing any specific product or seller. Links are provided solely as examples, and are by no means definitive. As long as the phone and device both get 5V (charger, computer, etc.), and the data pins are connected, host mode will work (provided enough current can be supplied).

More info here: http://xdaforums.com/nexus-4/orig-development/usb-otg-externally-powered-usb-otg-t2181820
[Nexus 4 Android Development] aadiflesher:
Thanks! ;)
[Nexus 4 Android Development] chok_thewa:
I used it with flashdrive, nexus4 can't push its power to flashdrive , must plug USB to power adaptor.
[Nexus 4 Android Development] ViCioPT:
No problem ;) anytime :good:
[Nexus 4 Android Development] kylepsp:
Installed the newest version today and getting the unresponsive screen bug again, twice in 3 hours. Disabling double tap to wake fixed it so far. Thanks again
[Nexus 4 Android Development] andersonaragao:
You are using ActiveDisplay?
[Nexus 4 Android Development] manchasolar:
I've downloaded the new rom last night in the corte.us link, clicked on mirror option of stock kernel non LTE. I've renamed now the bin file to zip and worked flawlessly. Thanks, anyway, to all. The ROM is getting better all the time (paraphrasing Beatles lol).

Enviado de meu Nexus 4 usando Tapatalk
[Nexus 4 Android Development] andersonaragao:
Thanks to you my friend! =)
[Nexus 4 Android Development] andersonaragao:
Init.d backup working here my friend. Comes on next Release! :D
[Nexus 4 Android Development] Sisqo:
what's the difference between the caf kernel and stock kernel versions?
[Nexus 4 Android Development] beegbear:
Your rom is great and I can't be greatful enough for your consistent hard work.

However, be careful. It seems like more and more features are being added.. make sure battery life isn't compromised. It feels like the rom is becoming heavy.
[Nexus 4 Android Development] andersonaragao:
Thanks for the Gift! :D :good:
[Nexus 4 Android Development] aadiflesher:
For now the rom is great, really fast and battery friendly, but I agree with you, people ask for more and more and this can became a problem at some point.

P.S. I love Canada!
[Nexus 4 Android Development] Rox598:
Any chance of removing the headphone volume warning at all? thing is annoying when listening to podcasts and gravity box never seems to actually remove it
[Nexus 4 Android Development] ssbnasa:
Gravitybox seems fine to me :D
[Nexus 4 Android Development] kylepsp:
No I haven't enabled that either Video playback still seems to be broken too! Apart from that it's great
[Nexus 4 Android Development] waleedshiekh:
Clean installed CAF Kernel - Release 4.4 - Stable on 16gb variant but I'm getting free space 5.56 as like 8gb variant. Any suggestions? Thanks.

--------Edit-------

Formatted /data again in CWM and got it back. Thanks for the great work.
[Nexus 4 Android Development] Rox598:
Gravity box works fine it's just that one option never seems to work ><
[Nexus 4 Android Development] beegbear:
What's new in KVT49L?

Also, the option that never sticks for me is the battery warning. Even if I set it to none, I still got the pop up. running 4.4CAF LTE
[Nexus 4 Android Development] andersonaragao:
Someone using CAF Kernel still having unresponsive screen issues?

What kernel you are using? Stock or CAF?
[Nexus 4 Android Development] pablo0407:
Great rom so far..running perfectly!!

[MENTION=5330727]andersonaragao[/MENTION] is there a way you could add an option to hide network activity indicators on status bar?
[Nexus 4 Android Development] minnuss:
Stock ROM now has theme's option ... as I never played with theme's, how to add more ?
[Nexus 4 Android Development] aliver.dun:
+1
[Nexus 4 Android Development] kylepsp:
CAF, hope this helps
[Nexus 4 Android Development] kobkobb:
Yea, I got stuck with unresponsive screen yesterday once.. was weird xd

oh, I dont know if it's a but, though - when I get a notification with active display, the navbar is transparent.

https://copy.com/Za8XbzPKa31F
[Nexus 4 Android Development] Zehlek:
I'm using CAF but no issue so far
[Nexus 4 Android Development] inforser:
Yes i have CAF KErnel and i rather often have broken touchscreen
[Nexus 4 Android Development] andersonaragao:
It's because you are using Lockscreen Blur.
[Nexus 4 Android Development] manchasolar:
I'm using stock kernel and got unresponsive screen twice yesterday. I don't remember exactly what was doing, had to reset and worked again. Despite that, no issue.

Enviado de meu LG-V500 usando Tapatalk
[Nexus 4 Android Development] jvkuijk77:
Any idea's how to get the wireless Display working? Can't connect with my LG led tv????
[Nexus 4 Android Development] andersonaragao:
Updating the OP guys! Release 5.0 is here!!! Now I'll work on kernel.

CHANGELOG

---------

### Release 5.0:

*Lockscreen Notifications instead of ActiveDisplay (Thanks to AOSPAL Team!)

*Backup of Init.d on Release Update
[Nexus 4 Android Development] Rox598:
Nice one! Downloading now :)

Again any chance with removing the headphone volume warning or can someone point me to the file to remove and I'd do it myself?
[Nexus 4 Android Development] klamper:
Do you mean that Warning when u plug in headset which gives u warning Safe headset after increasing volume if yes try using gravity box To deactivate safe headset media volume
[Nexus 4 Android Development] Rox598:
Yep that's the one but the option never works in gravity box for me :(
[Nexus 4 Android Development] andersonaragao:
Wait guy. Disabled it already here.
[Nexus 4 Android Development] Rox598:
Really? That's awesome :D thank you ^_^
[Nexus 4 Android Development] motojdm:
Can anyone tell me why my LTE will not remain active despite being in an LTE area. Basically, my phone will remain in hspa+ unless I go to settings > mobile networks > preferred network type > and then switch from 4G to 3G and then back to 4G. At which point LTE will begin to work again.
[Nexus 4 Android Development] Zehlek:
I'm on CAF 5.0 and my LTE is always on. Maybe it is a network issue?
[Nexus 4 Android Development] alb3rt018:
chrome block the download it said it can contain malicious files
[Nexus 4 Android Development] Berrydroidcafe:
What download? :what:

Sent with my Nexus® 10 minus 3
[Nexus 4 Android Development] alb3rt018:
The rom http://corte.us/389846 I know is safe but just saying the chrome block it for me
[Nexus 4 Android Development] Berrydroidcafe:
Oh, ok. There's a few things to download on the OP. :D

Yes, it's safe. It (chrome) probably hit on the site itself.

Sent with my Nexus® 10 minus 3
[Nexus 4 Android Development] errepi_asia:
Nice Rom!!!always!!

Thank you so much for continuous updates and fixing bugs.
[Nexus 4 Android Development] Ventus_zx:
I flashed one of the color profiles and now my screen is sliiightly yellow tinted. How do I fix this?
[Nexus 4 Android Development] rakeshdas:
Restore the backup if you made one...otherwise, what color profile did you flash?
[Nexus 4 Android Development] Ventus_zx:
I flashed the Iphone 5 one. Aaand I derped and didnt make a back up.

I tried flashing the half breed one too and its still kinda yellow. Though it only gets the weird tint a minute after my phone boots. its odd.
[Nexus 4 Android Development] rakeshdas:
Make a backup now PLEASE!:silly: and afterwards, do the following:

With a root explorer, navigate to

/system/etc/init.d/

Delete these files:

91rgbgammaPAhalfbreed

and

91rgbgammaiPhone5

afterwards, reboot and enjoy.

In the case that this failed, restore your backup that you made earlier and maybe someone else on this thread can help you!
[Nexus 4 Android Development] Ventus_zx:
Sweet that worked! Thanks!
[Nexus 4 Android Development] rakeshdas:
No problem!
[Nexus 4 Android Development] lembang:
[MENTION=5330727]andersonaragao[/MENTION]

So far im very happy with ur rom..even wish someone make a rom as nice as ur rom for my other devices, thank you for ur hard work...just a little suggestion, if possible to add navigation bar dimension..

I know some people here will say to me xposed+gravity box, again before that im running under ART not on dalvik..cheers ^_^v