yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] tFrost:
Kind of self-explanatory﻿ when the file is called Framework ..I'm apparently not that awake yet, but thanks for clarifying to my sleepy brain xD

If anyone want to fork rasbeanjelly I guess this is the place to start: http://source.android.com/source/initializing.html - just thought I'd throw the link out there, might give it a shot after Christmas. It's time to learn something new, been "stuck" on .net for way too long :)
[Samsung Galaxy Nexus] hitechchef:
We all will. I am not a programmer in any sense and know zero coding. just learning to do things myself as we go ahead in this thread.
[Samsung Galaxy Nexus] mixtapes08:
I'm willing to share my knowledge. :)

I gonna upload my building tools later I'm using a user friendly gui base modder. Apkmanager with latest apktool resources :)

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] kramnod:
Thanks for sharing, It made it abit easier to understand
[Samsung Galaxy Nexus] AbhishekS:
Can someone tell me which file to edit and what code to write to bring the screen lock button in statusbar?

And also what files are to be modified for the center clock in statusbar, preferably with the day of the week?
[Samsung Galaxy Nexus] hitechchef:
read here. Then click thanks to raubkatze to make this amazing tutorial. If you add another instance "id@date", then set its gravity to centre, it should take care of centre date.
[Samsung Galaxy Nexus] AbhishekS:
All this learning experience is really keeping me busy and interested. Just managed to implement the center clock mod on the latest build of RasbeanJelly. :D
[Samsung Galaxy Nexus] AbhishekS:
And yeah, it succeeded in the first shot itself so that makes me happy. :D
[Samsung Galaxy Nexus] tFrost:
Great job, love the centred clock! xD
[Samsung Galaxy Nexus] AbhishekS:
Thanks. BTW it's the center clock, not the center battery! ;)
[Samsung Galaxy Nexus] milden:
Can u explain how u did the cc mod?

Gesendet von meinem Galaxy Nexus mit Tapatalk 2
[Samsung Galaxy Nexus] hitechchef:
Nice. Did you try the centre day edit.
[Samsung Galaxy Nexus] hitechchef:
Link to the tutorial is in post #22
[Samsung Galaxy Nexus] freezer2000:
@hitechchef need help... I tried the link to download the appropriate files for Mac [mountain lion] from the link you have provided. After extracting the file when i am getting the below:

$apktool

apktool: can't find apktool.jar

Now it tried this from the location of the actual files under: /usr/local/bin and also /usr/local/bin/apktool1.5.0 but no luck

Any help would be greatly appreciated...
[Samsung Galaxy Nexus] AbhishekS:
No, but that's next on the to do list. I'm doing one thing at a time so that I know where I went wrong if I go wrong. :)

Will try adding the date today or tomorrow (if the world doesn't end) ;)
[Samsung Galaxy Nexus] albsat:
It would be great to have day/center clock in the 21 Dec release. Thanks for your efforts.
[Samsung Galaxy Nexus] AbhishekS:
Well I'll try it today and let you know.
[Samsung Galaxy Nexus] ssvijay:
http://xdaforums.com/showpost.php?p=35755476&postcount=1770
[Samsung Galaxy Nexus] AbhishekS:
Here you go. Flashable zip attached.

I haven't implemented the day of the week yet. Tried several combinations, many trials and errors but none worked. I will keep trying to implement a mod displaying the day also but for now I guess you can enjoy the center clock mod.

Cheers.
[Samsung Galaxy Nexus] albsat:
There is a problem with the mod and nova. Somehow the center clock disappears when you click Home in Nova launcher.

Edit.

Never mind. I cleared cache and it works fine now. Thanks! ! !
[Samsung Galaxy Nexus] AbhishekS:
36dpi navbar for the 21st December build for someone who requested it. :)

Learning is fun. :D

Flashable zip is attached.

Note: I haven't tested this, but I'm sure this will work. I made a 32dpi navbar for myself and it's working fine, so certainly even this will.
[Samsung Galaxy Nexus] abhishek93:
Hey abhishekS can i flash 36dpi navbar and centre clock together? Like i want both the things...

Edit- both are working
[Samsung Galaxy Nexus] AbhishekS:
Yes both can always co-exist.
[Samsung Galaxy Nexus] rrohanjs:
is it possible to make the nav bar transparent by some codes ? or is it expert level lol
[Samsung Galaxy Nexus] AbhishekS:
I don't know whether it's easy or difficult but one thing I've read is that a transparent navbar makes the phone sluggish. I don't know how appropriate this claim is but I've read it at multiple places.
[Samsung Galaxy Nexus] AbhishekS:
Guys I just created a thread to keep a track of my mods. Here is the thread. http://xdaforums.com/showthread.php?p=35795681

---------- Post added at 05:39 PM ---------- Previous post was at 05:38 PM ----------

And BTW I just created a mod to have the lockscreen button in status bar. Here it is - http://xdaforums.com/showpost.php?p=35795681&postcount=2
[Samsung Galaxy Nexus] tuemdeluxe:
Thanks for this great thread!

Some people should learn how to use the thanks-button if i see how many people answer here and then see the thanks-meter of the first post, that's really sad!

I noticed one thing:

In previous versions it was needed to edit the SystemUI/res/layout/navigation-bar.xml to avoid a big back-button in case of an dpi-change.

That file changed completly, it seems not to be necessary anymore or did i miss something?

I attached a 42dpi mod without ime-switcher.

EDIT: And the same mod with white softkeys!
[Samsung Galaxy Nexus] hitechchef:
You are right. No more modyfying systemui
[Samsung Galaxy Nexus] hitechchef:
Firstly thanks to uber for making this tutorial to theme the mms. Then I want to thank mixtapes08 for letting me use his images and helping me in themeing mms.

Most inverted mms have blue tone to them. I have made this the way I like it...white alphabets on black backgroud. Hopefully a few of you would like it this way. In case someone is interested in teaching, I want to learn theme email (not gmail), people, and calender apps the same way. If anyone can help, I'll really appreciate.
[Samsung Galaxy Nexus] rascarlo:
Guys remember, nice edits on system apps made from source can make it to the official build. Learn to theme from source and next will be a github pull request. With full credits and thanks
[Samsung Galaxy Nexus] hitechchef:
Love to do that, do not know how. I do have access to ubuntu machine. I mean how to connect to git and download and change and upload. I am willing to read and learn.
[Samsung Galaxy Nexus] PacerguyDon:
I agree, a guide on using git would be really good.

I have no problems with making the edits to the source files and building, as I did with adding the quick settings mod to rasbean jelly, but trying to work with github is rather difficult to me. I have forked the frameworks from Rascarlo's github, but I have yet to find a good guide that is easy to understand to push the changes to my github. A computer science major I'm not.
[Samsung Galaxy Nexus] rascarlo:
Best way to learn git? Use the official tuts. Start learning and if you have any questions, feel free to ask.
[Samsung Galaxy Nexus] safendi:
There is a contact inverted for rasbean?

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Samsung Galaxy Nexus] hitechchef:
I think mixtape08 posted some mods on the room thread a few days back.
[Samsung Galaxy Nexus] mixtapes08:
I wish i have a good pc to setup my Linux environment. I can't setup mine because i don't have the good pc requirements for compiling from source.

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] builtboosted:
Can you build android on the chrome book?
[Samsung Galaxy Nexus] safendi:
Can you link me this mod? I love inverted contact

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Samsung Galaxy Nexus] hitechchef:
Can you help me theme people app, email and calender.
[Samsung Galaxy Nexus] freezer2000:
Hey @hitechchef

I tried my hands on the apktool running on a linux dist on Virtualbox on mac and when I try to decompile the framework-res.apk or Mms.apk I get the following error:

$apktool d /root/Desktop/Android/rasbeanjelly_rascarlo_maguro_ota_2012-12-15/system/app/Mms.apk

I: Baksmaling...

I: Loading resource table...

I: Loaded.

I: Decoding AndroidManifest.xml with resources...

W: Could not decode attr value, using undecoded value instead: ns=android, name=versionCode, value=0x00000011

W: Could not decode attr value, using undecoded value instead: ns=android, name=versionName, value=0x00000022

Exception in thread "main" java.lang.NullPointerException

at java.io.Writer.write(Writer.java:157)

at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSerializer.java:38)

at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:673)

at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSerializerDelegate.java:106)

at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)

at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)

at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:64)

at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:98)

at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:112)

at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:126)

at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:152)

at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:113)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)

at brut.apktool.Main.cmdDecode(Main.java:131)

at brut.apktool.Main.main(Main.java:68)

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

Any one who can help me here?
[Samsung Galaxy Nexus] hitechchef:
Do you have java sdk 1.6 installed inside your Linux vm
[Samsung Galaxy Nexus] ssvijay:
Version of APK tool ??
[Samsung Galaxy Nexus] freezer2000:
@hitechchef

java version 1.6.0_20

@ssvijay

apktool 1.5.0
[Samsung Galaxy Nexus] ssvijay:
Ok Then check if you are using the right framework file . Also i guess the latest APKTOOL is 1.5.1
[Samsung Galaxy Nexus] freezer2000:
@ssvijay

I am bit of a noob when it comes to android programming or modding.

How do I check for the right framework file? I extracted it from the rasbeanjelly's rom zip under /system/app/framework-res.apk.

I'd checked for the latest version of apktool on the website and it says 1.5.0... referring http://code.google.com/p/android-apktool/downloads/list
[Samsung Galaxy Nexus] hitechchef:
I am also a noob friend, so you are among alikes :good:.

I am on windows and my apktool version is 1.5.1.6********* and java version is 1.6.0.38.

What you can do is download the version from my link in op. Download latest java sdk from oracle website and go from there. Ofcourse your command syntax will change. Post back when you have both the versions matching. All the best.
[Samsung Galaxy Nexus] freezer2000:
Guys its working now...

@hitechchef the issue was with the apktool 1.5.0, download 1.5.1 from your links and replaced the old one under usr/local/bin and tried again and it worked... Thanks

Thanks @ssvijay for your help too...

Let me try modding now :)

Cheers!!!
[Samsung Galaxy Nexus] hitechchef:
You are welcome.
[Samsung Galaxy Nexus] hitechchef:
Thanks a lot mixtapes08. Post linked in op.

I am reading to build from source from here. I am not able to understand the need and logic behind configuring USB access. On my son's ubuntu, usb is mounted auto. So why do I do this. Then if I do not set cache, does it matter. I have almost 250G space. Any help there please.
[Samsung Galaxy Nexus] mixtapes08:
Copy those adb and fastboot commands of galaxy nexus

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] PacerguyDon:
I've been compiling without Ccache. I know people that do. I may experiment with Ccache in the future though to see how much time I can save on building. When I do make clobber and then do my build it takes roughly two and a half hours to build Rasbean Jelly.

250g will be more than plenty of space to build. You want about 30 gigs free to build with.
[Samsung Galaxy Nexus] hitechchef:
So I downloaded the source and followed the steps. Faced this errror

You are attempting to build with the incorrect version

of java.

Your version is: java version "1.6.0_24".

The correct version is: Java SE 1.6.

Please follow the machine setup instructions at

https://source.android.com/source/download.html

I downloaded it from java site.
[Samsung Galaxy Nexus] tFrost:
Get the latest from here: http://www.oracle.com/technetwork/java/javase/downloads/jdk6-downloads-1637591.html

Once you’ve downloaded it, install it and run update-alternatives so your system uses the Sun JDK:

$ chmod +x jdk-6u33-linux-x64.bin
$ sudo ./jdk-6u33-linux-x64.bin
$ sudo mv jdk1.6.0_32 /usr/lib/jvm/

$sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_33/bin/java 1
$ sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0_33/bin/javac 1
$ sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.6.0_33/bin/javaws 1

$ sudo update-alternatives --config java
$ sudo update-alternatives --config javac
$ sudo update-alternatives --config javaws

source: http://blog.markloiseau.com/2012/07/how-to-compile-android-on-ubuntu-12-04/

Don't know if this works, but might help
[Samsung Galaxy Nexus] PacerguyDon:
If TFrosts guide doesn't help, use this. It's what I used this past weekend when I did a fresh Linux mint 14 install. Worked like a charm and super easy to use..

Click me
[Samsung Galaxy Nexus] rascarlo:
I would suggest to follow only the official guide on android source site to build from source. If you really need I can write a simple guide here about compiling and github
[Samsung Galaxy Nexus] flatflo:
Hi there,

eays question for you hitechchef :D

When i recompile the files, where are they? In the same location as before?

Cause after flashing i see no results (easy edits, like colors...)

Thanks a lot!
[Samsung Galaxy Nexus] hitechchef:
That write-up would be highly appreciated. I am sure many people will be benefited.
[Samsung Galaxy Nexus] hitechchef:
Recompiled files are in build folder located within the decompiled folders.
[Samsung Galaxy Nexus] flatflo:
Ok, found it :good:

But how to get the new files into the apk? Open the apk with 7zip (or else) and put the new files in?

Thanks again
[Samsung Galaxy Nexus] hitechchef:
The new recompiled files are in apk format. All you need to do is to open the old and the new apk inside 7zip (do not unzip) and transfer manifest folder and android.xml from old to new.
[Samsung Galaxy Nexus] hitechchef:
Setting up the environment

This guide is for windows only.

Download apktool from here.

https://docs.google.com/open?id=0B6i...ENSVXFOTFVPUzQ

You also need java sdk 1.6 installed.

http://www.oracle.com/technetwork/ja...s-1877406.html

Unpack and place the files in apktool.zip to a convenient location. Install java sdk 1.6 and reboot. Pull framework-res.apk from /system/framework and systemui.apk from /system/app and place in the same folder as your extracted files.

Open a command prompt window and navigate to the folder that conatains the apktool files.

Type this

apktool if frameork-res.apk

this will install the working framework to your computer.

Now type

apktool d framework-res.apk

this will decompile the framework-res.apk You can find these in the same folder as your apktool files.

Now type

apktool d systemui.apk

this will decompile the systemui.apk You can find these in the same folder as your apktool files.

Now comes editing.

Navbar sizes are in /framework-res/res/values/dimens. You can edit this is notepad. Read the contents and you should be able to find the values to be changed.

Navbar icons are in /systemui/res/drawable-xhdpi. Once you open this you can see all the images. Replace what is necessary.

To rebuild command is

apktool b framework-res

and

apktool b systemui

To create flashable zips you can follow this post. Other option is to find a flashable zip that works on rasbean 4.2.1. Open this zip under 7zip (do not extract). Drag and drop your files into the zip file in the path as they would be installed on the phone.
[Samsung Galaxy Nexus] hitechchef:
This installs version 34. Is this good enough because latest is version 38. I mean, what is the best version to compile from source, 34 or 38.
[Samsung Galaxy Nexus] mixtapes08:
Yes please and system requirements

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] AbhishekS:
Is anyone able to push apps to system/app in RasbeanJelly using the adb commands?
[Samsung Galaxy Nexus] hitechchef:
Did you try it and did not work or do you want to know the command. I have done it and it works.
[Samsung Galaxy Nexus] AbhishekS:
adb shell, remount and then push, right?
[Samsung Galaxy Nexus] mixtapes08:
Make sure to acquire superuser permission before mounting your system

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] AbhishekS:
Have done that. Still could not.
[Samsung Galaxy Nexus] hitechchef:
Could you paste the complete command sequence.
[Samsung Galaxy Nexus] AbhishekS:
I don't remember exactly. I'm not at home either to check it out. Can you please post your sequence? I'll try that once I reach home. :)
[Samsung Galaxy Nexus] hitechchef:
First things, you have to specify adb in your path or you have to copy the file you need to push in the same directory where your adb commands are located. I am on windows so I goto environmental variables and edit the Path there.

Once you have done this follow these steps

1. Navigate in command prompt to the directory where the file (or adb & file) are located

2. adb shell mount -o remount,rw /system

3. adb push filename.apk /system/directory_name/filename.apk

4. adb shell chmod 644 /system/directory_name/filename.apk

This will push the file to your phone. All the best.
[Samsung Galaxy Nexus] AbhishekS:
Do I need to change any permissions after remounting it as rw and then pushing?
[Samsung Galaxy Nexus] 3rdstring:
Step 4 is setting the permissions
[Samsung Galaxy Nexus] AbhishekS:
Okay. So after following the 4 steps I can simply disconnect my phone?

Thanks. :)
[Samsung Galaxy Nexus] hitechchef:
Yes, and you may have to reboot to show up certain apps. If you have any file explorer that reads system, you can verify the transfer.
[Samsung Galaxy Nexus] hitechchef:
So I was able to compile the aosp rom. It took almost 10 hours. But in the end though it installed, it kept on bootlooping. Do I need to specify the device drivers also. It was mentioned in this post but not on source website.
[Samsung Galaxy Nexus] albsat:
I tried to do my own mod of center clock and I tried to follow the Raubkatze guide here http://xdaforums.com/showthread.php?t=1830994. But considering I am a newbie in this area, I find the rascarlo system ui different in the structure in the guide above.

Can someone post a mini tutorial how to make a center clock for Rasjellybean rom? Thanks
[Samsung Galaxy Nexus] :
Nice"

Nexus Prime Powered by Rasbean & Trinity
[Samsung Galaxy Nexus] xain713:
Will this work on toro?
[Samsung Galaxy Nexus] hitechchef:
What exactly will work on toro. Could you please clarify.
[Samsung Galaxy Nexus] AbhishekS:
Center clock mod for the 30th December build - http://xdaforums.com/showpost.php?p=36178057&postcount=63
[Samsung Galaxy Nexus] tjackbjorn:
Deleted.
[Samsung Galaxy Nexus] lichti1901:
Gesendet von meinem Nexus 4 mit Tapatalk 2
[Samsung Galaxy Nexus] :
Uhh nice! You made everything green?

Nexus Prime Powered by Rasbean & Trinity
[Samsung Galaxy Nexus] lichti1901:
Yes, KieLimePie green. Was bored yesterday.

But i'll make now a mix between green and blue. I love these colors. We will see :)
[Samsung Galaxy Nexus] :
Yeah it looks realy good! BTW how do you like the screen and the colours compared to the prime? I saw some vids on youtube but in my opinion there is almost a difference. At least in the vids

Nexus Prime Powered by Rasbean & Trinity
[Samsung Galaxy Nexus] tjackbjorn:
What's the easiest way to change the color of statusbar icons? :)

Sent from my super fast Prime filled with beans.
[Samsung Galaxy Nexus] AbhishekS:
Most probably the PNGs need to be edited.
[Samsung Galaxy Nexus] lichti1901:
Screen is amazing. I really enjoy it. The best device i ever had.

Btw pimped keybord :)

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Samsung Galaxy Nexus] hitechchef:
These are damn nice. If I am not wrong, some pngs and color definitions in framework files need to be changed, right? I loved Orange on my captivate and wanted to see how that will look. Can you help me, not by doing for me but guide me in how to do it. Thanks.
[Samsung Galaxy Nexus] lichti1901:
Sure no problem!

What do you want? Or where you need help?:good:
[Samsung Galaxy Nexus] :
Oh I meant no difference. The only thing I dont like about the n4 is the back. I dont like the glass there if i would drop my phone. I'm not sure about the battery because you cant remove it.

BTW: sorry for OT!

Nexus Prime Powered by Rasbean & Trinity
[Samsung Galaxy Nexus] hitechchef:
So, I figured out that pngs in systemui/res/drawable-xhdpi need to be changed to required color. Where do I change the remaining colors. For ex. where you have limepie color, I want to do orange. So I'll change the colors of the pngs and where else. Also is it possible to batch edit the images in gimp. I searched on the net and it allows only basic processes, nothing like changing colors on multiple images. Thanks.
[Samsung Galaxy Nexus] 3rdstring:
I change decompiled framework-res\res\values\colors.xml

<color name="holo_blue_light">#ffff8800</color>

<color name="holo_blue_dark">#ffff8800</color>

to the desired color code.
[Samsung Galaxy Nexus] hitechchef:
On latest rasbean this only changed a few borders. I'll study some more and see what went wrong.
[Samsung Galaxy Nexus] 3rdstring:
Just a guess but look at

framework-res\res\drawable-xhdpi and the dialog_ .9 pngs
[Samsung Galaxy Nexus] hitechchef:
Yes those are the ones.
[Samsung Galaxy Nexus] lichti1901:
Hold On a little. I,,'ll post a little how to in an hour.

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Samsung Galaxy Nexus] hitechchef:
Thanks mate. Once it's up and running, I'll link it in op.
[Samsung Galaxy Nexus] lichti1901:
HOW TO MAKE .9.png on windows

Ok i'll try to give my best to explain it here ... for example i take the toast holo's from decompiled framework-res.apk/res/drawable-xhdpi

1. Download your favourite graphic tool. gimp, photoshop, Paint.net, ....

2.Copy your png's in a different folder. dialog_bottom_holo_dark.9.png, dialog_full_holo_dark.9.png, ... it should be 8 png's

3. I'll explaint it with the "dialog_bottom_holo_dark.9.png". Double click on the png and have a look at it. You'llnotice that there are black lines around the pic. Thats why they are .9.png's and they are not that easy to rework.

Have a look at the size of the png it should have 194x46 pixels, - the black lines around the png it has 192x44 pixels.

4. Now make a new png with the size 192x44 pixels and color it to your liking, black with orange borders for hitechchef. Or black transparent with orange borders, whatever you like.

5. Save it and name it "dialog_bottom_holo_dark"

6. Now go to your sdk tool: android-sdk/tools/ and double click on draw9patch. A window sould now open. Click on File - Open 9-patch and navigate to your png which you created before.

Make the black lines around the png with "left mouse click" (reight mouse click is undo)

7. Save the png and dont forget to name it exactly like the original one, but without the ".9.png", for my example "dialog_bottom_holo_dark"

Now you'll see your freshly created "dialog_bottom_holo_dark.9.png"

Make it with all 8 png's, copy it back to drawable-xhdpi and compile the framework-res. If you have the right sizes, it should compile without errors.

I hope everything i clear, if not - hit me up :)

Best regards