yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] bitstra:
Seems, the play began :) :good:

I wanted to give some suggestionss in making overlay files for use (later) with RomMate (!):

Since I'm writing on the Overlay-Management module for RomMate right now, I've got some idea for user friendly handling of all that stuff...

1. I wanna make a public Server-page for uploading RomMate-compatible Overlay Files by 3rd party devs!

2. With the Overlay Management Module of RomMate the users will have access to this serverpage for DL overlay-zips OTA...

3. I (the RomMate-Overlay-Manager) want(s) to read (and extract) overlay package files as with some naming conventions as following: 'targetApp-Overlay-makes_these_changes.ovl'

So the Overlay Packages should be uploaded as RENAMED ZIP FILES (!) - i.e. 'framework-res-overlay-changes_navbar_height_to_40dip.ovl'

4. The renamed ZIP-Files should contain 3 files at least (!):

4.1. the overlay.apk - File ...

4.2. a txt-File readme.txt - with a short description, of what the user can expect, and with auhor's personal data...

4.3. a PNG-File 'screenshot.png' - with a significant screenshot (or part of screen) for a small preview-imageview...

Your Overlay-Package-File can have packed in more than one xxx-overlay.apk of corse - if it is need for same(!) targeted 'themeing'!

Those overlay packages will be managed then by RmomMate-Overlay-Management-module for clean user-experience!

Hope this will help for further delivering of all your worked out overlays...

Until the FTP-server for uploading is ready, you can post 'Samples in the above described file format here in the forum...

All this will be discussed with [MENTION=1050103]sykopompos[/MENTION] ones more - but this would be my preferred Overlay-Package-Format from the view of developing the management-module (!)...

regards and thanks

bitstra
[Nexus 4 Android Development] setiawanjimmy:
I have not receive the files from brian yet. Think he fall asleep.. But will keep this post noted..
[Nexus 4 Android Development] bitstra:
For first look into 'how to make codeless overlays with eclipse) you can visit my github https://github.com/ReinhardStrauch - there are 3 small samples of making codeless overlay.apk(s) . . . - I think, it's really easy!

the framework-res-overlay-sample project has the best documented readme.md there, btw! - but my bad english . . . ;)

bitstra

---------- Post added at 10:03 AM ---------- Previous post was at 09:55 AM ----------

BTW - big Thanks to [MENTION=3810143]bgill55[/MENTION] / Brian and [MENTION=5379942]setiawanjimmy[/MENTION] for stepping in, for making overlays! :good:
[Nexus 4 Android Development] setiawanjimmy:
Will do later at night when im home.. Still stuck at work. It feels like forever
[Nexus 4 Android Development] jer_ying_fd:
Sorry, noob question. To install Viper4android, I have to set it to permissive first. Can I set it back to enforcing after installing it? Also, are there any special instructions for installing it on Frank? Cuz I thought I saw someone mentioning that there are some things I have to do to make it work on 5.0.2 roms (if I remember correctly :P). Thx.
[Nexus 4 Android Development] CalicoJeb:
Irreconcilable Differences
[Nexus 4 Android Development] ramjet73:
SuperSU 2.44

SuperSu 2.44.

ramjet73
[Nexus 4 Android Development] CalicoJeb:
That would be "Velcome" in Franken-glish :p a deep harsh voice of-course

oh man .. I woke-up too early :) caffeine has not set in yet
[Nexus 4 Android Development] setiawanjimmy:
Okay ive done reading your framework readme. Seems so easy! Wow.. Great work there you guys.. Now i have to learn how to make codeless apk. And learn how to use eclipse.. Can it be done with apktool?
[Nexus 4 Android Development] bitstra:
ApkTool failed here - I think, because of testkeys-signing OR missing code classes(not sure for that!) - Eclipse signs the apk(s) with regular-(non test)key - so it works OK.

But If you find a way to make/and use a regular key with apktool/aapt - it should be possible with aapt...

Eclipse uses in background also aapt(from the sdk) for compiling the app(s)... ;)

bitstra
[Nexus 4 Android Development] setiawanjimmy:
Can you please send me an overlay.apk example? So that i can open it up and try making it with apktool.. Brian was gonna send me but he felt asleep..
[Nexus 4 Android Development] bitstra:
here is a sample that changes PNGs for navbar-buttons to cola-colored buttons. . .

(apk attached):

if you want to see the effect, simply copy this apk to /vendor/overlay on device and reboot... (no permissions changing needed!)

if the folder /vendor/overlay doesn't exit, then create it before...
[Nexus 4 Android Development] setiawanjimmy:
Weird. Cant make it work. Make the overlay folder. Put apk there. Reboot and no change. Is frank build 9 incl rro?

Edit. Mine is n5. Maybe it should be in xxhdpi?
[Nexus 4 Android Development] bitstra:
Yes rro-stuff is integrated on last build 9 !

Can you make a screenshot off /root-folder structure and /vendor/-folder structure ?

works here like a charm...
[Nexus 4 Android Development] setiawanjimmy:
I think its target is wrong. My phone n5.. Should be xxhdpi. Lemme make some changes and try again
[Nexus 4 Android Development] bitstra:
after rro got the overlay after reboot you should see in /data/resource-cache 2 files at least

overlays.list > 0 Bytes

and a file vendor@overlay@systemui-overlay_cola_navbuttons.apkœidmap...

Ah wait - if these files are generated after reboot - then, please switch to US-english - system language... to see if it affects somewhat...

---------- Post added at 01:26 PM ---------- Previous post was at 01:23 PM ----------

YES i've made it for n4 and n7 only - sorry...

simply duplicate the drawable-xhdpi to drawable-xxhdpi...

my overlay folder got permissions rwxrwxrwx !

please change them though!
[Nexus 4 Android Development] setiawanjimmy:
I changed language to english us. Change folder permission. I changed the xhdpi from the apk with 7zip. Still no go. Ill try decompile it and make changes and compile it again with apk tool..

Or maybe you have othe overlay.apk sample? The navbar height maybe?
[Nexus 4 Android Development] bitstra:
So it looks in n7
[Nexus 4 Android Development] syedtahir16:
Which file manager is that? Looks neat
[Nexus 4 Android Development] bitstra:
Navbarheight should work on all devices-right! :)

Here you go (navbar-height_72dip):
[Nexus 4 Android Development] setiawanjimmy:
I love you man!!!!
[Nexus 4 Android Development] bitstra:
woot, woot, - Great!

now check the navbar_height above :)
[Nexus 4 Android Development] setiawanjimmy:
But i only have this inside my folder? I changed the name to overlay.apk

Edit: never mind. Find it in data resource something. So if i wanna revert, which files i delete?
[Nexus 4 Android Development] bitstra:
and please report back, if you got it managed by making it with apktool/aapt ;)

---------- Post added at 01:47 PM ---------- Previous post was at 01:45 PM ----------

Nothing to delete in in /data/resource-cache - for reverting - only delete the file in /vendor/overlay - the rest makes rro by itself after deleting the only one and rebooting again...
[Nexus 4 Android Development] setiawanjimmy:
Okay great.. Im opening up the navbar to see whats in it. So i know how things going..

For the navbar color i decompile the apk with apktool and then recompile it again with apktool and put in meta-inf and androidmanifest from original apk to the edited apk. And it works
[Nexus 4 Android Development] bitstra:
And now we all are waiting for circle battery icon(s) and/or bigger percentage AND colorized System_Bar / Quick_Setup_Panel - Har, Har - made via overlay.apk :laugh:

:good:

---------- Post added at 01:57 PM ---------- Previous post was at 01:53 PM ----------

Great !!! - this failed here too, btw - but good to know, that we don't need eclipse - maybe!

:good:
[Nexus 4 Android Development] setiawanjimmy:
Lol.. Very tall navbar.. Wow.. This is too exciting.. Damn i have to go dinner with my wife.. Will play with it again when im back.. Wowww.. Im super excited.. Thanks for the hard work [MENTION=2981094]bitstra[/MENTION] [MENTION=1050103]sykopompos[/MENTION] !!
[Nexus 4 Android Development] jer_ying_fd:
The index of excitement for SykoPath is too damn high!
[Nexus 4 Android Development] bitstra:
And the next one felt in love with OOVEERLAAYY-mechanism !!! - RRO - rocks !!! ;)
[Nexus 4 Android Development] robygt:
Random OT!
[Nexus 4 Android Development] bitstra:
I liked - many, many years ago - and now when I read posts by [MENTION=275009]ramjet73[/MENTION] - I have to remember them :laugh:

Or when I get a 'MAGNUM' - Langnese Icecream :) ...
[Nexus 4 Android Development] googleygoggles:
No, but being able to change h/4g/LTE icon... Its just one of those things that irks me to death... Its the little things that matter. All of the other features are amazing too!

Beware Of Googleys
[Nexus 4 Android Development] bitstra:
Oh man [MENTION=5598551]googleygoggles[/MENTION], it was very, very hard, to read this only ones, man :laugh:
[Nexus 4 Android Development] setiawanjimmy:
I still cant figure out what files goes in there with editing something.. I mean, when we edit navbar height, usualy we change only dimens.xml right? Why is there colors public xml in there.. And those 2 drawable folder..
[Nexus 4 Android Development] cell2011:
Moto x Pro coming this year. 6" quad and 2.7 ghz and snapdragon 805. In China only. Pure android not Lolli
[Nexus 4 Android Development] jer_ying_fd:
It is most likely for China only and only supports TD-SCDMA. Also, it doesn't come with google apps.
[Nexus 4 Android Development] googleygoggles:
Its a rebranded nexus 6

Beware of googleys
[Nexus 4 Android Development] bitstra:
You are right! - The colors.xml can be left out - It was a rudiment from some testing stuff - sorry!
[Nexus 4 Android Development] setiawanjimmy:
I still can't figue out how to make it work with apktool.. I can compile but when i put it on my phone and reboot, i got systemui force closed.. Might have to learn how to use eclipse then
[Nexus 4 Android Development] Vinnom:
Have you tried to exclude some google apps gapps-config? Like newsstand and sunbeam? Who uses that? [emoji23]
[Nexus 4 Android Development] bitstra:
I had the same experience with apktool - so I changed over to eclipse after a whole day after try and fail, last saturday. . .

The extra benefit, we have, if we use eclipse, is, to have all those small projects in a clean workbench + we can share projects easy via github i.e. . .

But to be honest - I'm using eclipse since 3 years for app developing - the use of it is easy - but to setup it correct took me several hours , I think. . .
[Nexus 4 Android Development] deshmukhrb2000:
Great work bitstra.

I am also work in eclipse as developer. would like to help you guys for the frank.

If u can guide me for the same, would be very happy.........

BTW thanks and wish u best for the work..
[Nexus 4 Android Development] setiawanjimmy:
I'll try again tomorrow, never use eclipse.. Will do some research.. Or do you have any links on how to use eclipse and how to make that codeless app?

Anyway its my bedtime.. Good night everyone..
[Nexus 4 Android Development] Vinnom:
How about android studio? Did you already take a look at it? It seems great to work with, but I'm a beginner in programming stuf
[Nexus 4 Android Development] bitstra:
Should do it also! - Android Studio got great effort with the official release!

But I've tested it only as preview - WAS GREAT, REALLY! - And so I hung a bit late with eclipse... :)
[Nexus 4 Android Development] sykopompos:
I though I did because it improved but no luck tracking it down though
[Nexus 4 Android Development] bgill55:
That's what I'm using to build my overlays. Android studio works great.

---------- Post added at 04:48 PM ---------- Previous post was at 04:47 PM ----------

Oh and good morning all

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

Oh and good morning all
[Nexus 4 Android Development] sykopompos:
Lulz
[Nexus 4 Android Development] AndroidReborn:
I've been using android studio for maintaining my apps and its great! Love it.

Should work for this.

Sent from my awesome Nexus 4 running SimpleAOSP with AK500. Bazinga!
[Nexus 4 Android Development] sykopompos:
It does work for it. It imports fine but it wouldn't be a bad idea to have support code in template for android studio, eclipse and for make
[Nexus 4 Android Development] RASTAVIPER:
Anything new about that?
[Nexus 4 Android Development] sykopompos:
I've been busy trying to get all the details and things together plus brainstorming on the rro stuff so it doesn't turn into a complete mess plus I worked all day yesterday so I haven't gotten a chance yet
[Nexus 4 Android Development] bgill55:
Whaaaaa you can edit layout.xmls.......pftt what theme engine.

This is my recent when all apps are cleared.
[Nexus 4 Android Development] sykopompos:
Wow, the things that bgill is doing right now is insane. Really cool stuff coming
[Nexus 4 Android Development] AndroidReborn:
Yeah you're right. Everyone doesn't use the same thing and hey, who doesn't like options?

Sent from my awesome Nexus 4 running SimpleAOSP with AK500. Bazinga!
[Nexus 4 Android Development] ElQuixote:
MultiROM

[MENTION=1050103]sykopompos[/MENTION] any headway on the MultiROM issue? Love being able to play with new versions of Frank without having to toss the old Frankies :)
[Nexus 4 Android Development] sykopompos:
Rastaviper asked the same thing but I haven't gotten the chance to work on multirom yet.
[Nexus 4 Android Development] sykopompos:
Well make would be so it could be packaged in Roms and have the build system make them.
[Nexus 4 Android Development] sykopompos:
The things we are working on is truly amazing.

You could change the look and feel of any app and the whole entire system with it on any ROM plus rapid prototyping for devs and themers.

But with great power comes great responsibility so we need a way to contain all this power. We need to come up with a way to work with it, categorize it and actually make it useful for the average user
[Nexus 4 Android Development] Jack'O:
Wouldn't be a good idea to talk with Tasssadar to let it work?

My 2¢.
[Nexus 4 Android Development] sykopompos:
It could be plenty if different things that I need to check on that is causing it. It could be that I'm ahead of most Roms on things too which might be something that also needs to be accounted for in multi ROM in the future
[Nexus 4 Android Development] bgill55:
Just the tip..........
[Nexus 4 Android Development] hadkeren:
I was thinking about that to much customisation could be very tragic for Noops like me is there any safeguard or maybe an undo possibility
[Nexus 4 Android Development] sykopompos:
Undo is dirt simple and can be done in recovery easily
[Nexus 4 Android Development] bgill55:
It's as easy as long press, delete, reboot ;)
[Nexus 4 Android Development] sykopompos:
As bgill said. It is that simple.

It is all done in overlays so the original files are never touched and everything is put together at boot time so you simply delete your changes and reboot.

We are looking at a temporary load option for the overlay manager so it will only load the overlays one time and then with a reboot it will clear them out so experimental stuff doesn't get stuck in bootloops
[Nexus 4 Android Development] mperezm77:
I'm back from my holidays. So, of you need any log. Just tell me what test you want me to do (install as primary, secondary, try stock or custom kernel...), and I will be glad to help.
[Nexus 4 Android Development] sykopompos:
I gotta come up with some ideas on it
[Nexus 4 Android Development] Vinnom:
I would call you a computer wizard if I believed in wizardry
[Nexus 4 Android Development] lifeisfun:
Disable sms vibration not working

I'm on latest, and just noticed that I can't disable vibration notification (SMS only)

Anyone else?

Thanks
[Nexus 4 Android Development] sykopompos:
Bitstra, bgill and myself are all in a hangout throwing ideas around and seeing what is possible. Callmealdy is invited too but busy or sleeping.

We are coming up with big things and ideas. I just wanna say bitstra has some genius ideas that could be big if we get them to work to turn some of these things realtime changeable
[Nexus 4 Android Development] fr3quency:
>mfw ppl come saying "I installed Google search 4.1 and the new tap effect is awesome etc" when it has been on the AOSP launcher for weeks.
[Nexus 4 Android Development] ph37rd:
A reporter wanting tanlines?
[Nexus 4 Android Development] bgill55:
3rd party apps are a go!!! I Google+'ed Hangouts
[Nexus 4 Android Development] googleygoggles:
Already can do that in QKSMS, oh and please ignore the conversation... Please... Please...

Beware of googleys
[Nexus 4 Android Development] sykopompos:
He is just showing that we can overlay 3rd party apps
[Nexus 4 Android Development] hazwheel:
You mean you need bouncers? I'm in [emoji12]
[Nexus 4 Android Development] bgill55:
Not talking about the app itself just the ability to theme 3rd party apps with RRO
[Nexus 4 Android Development] googleygoggles:
Okay, so you can theme apps without needing built in app support? This is exciting!

Beware of googleys
[Nexus 4 Android Development] bgill55:
Correct I'm on stock frank which is pretty much stock android. There is no theme engine, I'm not theming decompiled apks and reinstalling them. This is an overlay that happens at boot time. Doesn't use any extra resources like the theme engine does. It's not hacking framework like xposed does.
[Nexus 4 Android Development] setiawanjimmy:
I got a taste of it yesterday from bitstra.. Lol.. Its exciting.. But cant get it to work using apktool.. Have you tried with apktool?

Oh and morning all..
[Nexus 4 Android Development] sykopompos:
That's what bitstra ran into. Apktool with it's aapt in it won't work. You have to use something like eclipse or android studio right now
[Nexus 4 Android Development] sykopompos:
You can do way more then just theme then and yes, they don't need to have support for it because it uses the android core parts to work
[Nexus 4 Android Development] setiawanjimmy:
Alright then.. Ill start reading on how to use eclipse or android studio..
[Nexus 4 Android Development] sykopompos:
I would suggest android studio since that is the suggested by Google way and they kinda dropped support of eclipse
[Nexus 4 Android Development] setiawanjimmy:
Android studio it is.. Ill bother you or bitstra or brian if im stuck.. ? got to go to work first now..
[Nexus 4 Android Development] sykopompos:
Sounds good. Bitstra or Brian would be your better choice to talk to on it, probably brian since he is cranking changes out every few minutes
[Nexus 4 Android Development] bgill55:
I haven't tried to use apktool on overlay yet. I'll give it a try.
[Nexus 4 Android Development] sykopompos:
Eh, mostly just best practices documentation and the structure to control it
[Nexus 4 Android Development] bgill55:
[MENTION=5379942]setiawanjimmy[/MENTION] i just used apktool to decompile and recompile an overlay apk with no issues. It was an apk that i built so im not sure if that makes a difference, I didnt really look at Bitstra's apks

hope that helps.
[Nexus 4 Android Development] setiawanjimmy:
I was thinking, yesterday i got apk from bitstra ( the nav bar colored ) he build it for n4 so it didnt work for n5 as the drawable folders are different name. I decompile it, edit only the folders name and recompile it all using apktool. And it works. Got me thinking, it should be able to do it with apktool? Or am wrong? Anyway wont be able to try it again until night ?
[Nexus 4 Android Development] sykopompos:
I guess the built in one can't handle actual apk coding
[Nexus 4 Android Development] setiawanjimmy:
Okay, thank you all. Ill try messing with it again tonight..
[Nexus 4 Android Development] manulemaboul:
Latest Frank on ext4 journaling disabled, /cache /data f2fs + tegra nv kernel alpha 37 = fastest grouper ever :).
[Nexus 4 Android Development] sykopompos:
Build 9 for grouper? I forgot to mention I uploaded that earlier
[Nexus 4 Android Development] lifeisfun:
Bump
[Nexus 4 Android Development] manulemaboul:
Yep, that one :)
[Nexus 4 Android Development] TPWarrior:
Oh the memories! My first job out of college was washing Magnum P.I.'s red Ferraris at an exotic car rental place in Waikiki. :cool:
[Nexus 4 Android Development] googleygoggles:
Where did you get the Gapps? :p stupid not enough system space...

Beware Of Googleys
[Nexus 4 Android Development] manulemaboul:
Banks minimal gapps ;)
[Nexus 4 Android Development] adstraylight:
I use this: http://fitsnugly.euroskank.com/?rom=banks&device=gapps

Then just install the apps l actually use from the Playstore, it uses minimal system space, as you install most of them to /data/app/.

---------- Post added at 06:02 AM ---------- Previous post was at 05:42 AM ----------

Frank: The gift that keeps on giving...

http://youtu.be/Rdqh0GsXMII

---------- Post added at 06:02 AM ---------- Previous post was at 06:02 AM ----------

Frank: The gift that keeps on giving...

http://youtu.be/Rdqh0GsXMII
[Nexus 4 Android Development] l0rionl:
Just browsing another forum for my wife's phone (HTC One S) and came across this post:

While I love how well the video was made, it reminded me of the noob-anxiety I'd feel as I slushed through the learning process of updating my phone to a promising new ROM.

Many thanks to [MENTION=1050103]sykopompos[/MENTION] for not just the amazing development but for fostering the friendly environment to learn.

The XDA Frank Forum: come for the ROM, stay for the mix of genius corroboration and OT jesting!
[Nexus 4 Android Development] sykopompos:
While I laughed at it, I generally don't like that attitude there which is pretty much why my threads are ot and welcomed because it is friendly while most of XDA is kinds rude and very unfriendly
[Nexus 4 Android Development] bgill55:
ok that made me laugh!!!!!
[Nexus 4 Android Development] setiawanjimmy:
Question, can the overlay be done on styles.xml?
[Nexus 4 Android Development] bgill55:
we are working on that as we speak. I have been banging my head on workarounds for the dependencies and resources needed. its slow going!!
[Nexus 4 Android Development] robygt:
Do you guys take your time to rest and to sleep? Mind your health!

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Android Development] Targaeryan:
Do mad scientists ever need sleeeep? No, the secret to their energy isssssss MONSTER (the drink of course) ;) [emoji14]
[Nexus 4 Android Development] bgill55:
Ill sleep tomorrow at some point :D
[Nexus 4 Android Development] sykopompos:
What's sleep? When you are hot on something, u just keep going
[Nexus 4 Android Development] robygt:
"Hot on something" I've learned another expression, thanks!

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Android Development] AndroidReborn:
True story

Sent from my awesome Nexus 4 running SimpleAOSP with AK500. Bazinga!
[Nexus 4 Android Development] sykopompos:
That's how I was able to stay up for basically 2 days and shovel snow all day.

Or the hell week of the first week of the port getting it to work
[Nexus 4 Android Development] AndroidReborn:
Tell you what, you are proof that wizards do exist!I've been hanging around since the first week of this thread and you did ,and are doing an outstanding job! I remember when you were launching build after build,in fact faster than we could even flash!

Truly amazing.

Oh,and an off topic fact - did you all know Github is banned in India for hosting and spreading pro ISIS / terrorist propaganda? :eek: I mean ,what the hell ,government?!

Government says it lifted the ban but most Indians cannot still access the site....

VPNs can be used to access the site though

Sent from my awesome Nexus 4