Related
I dont know if there's any other thread has been created for this but i didnt see it.
So just want to share this little thing to whoever want it. Anyone are welcome to improvise it and make it even better/nicer.
This is just one quick mod i did during my 1 hour lunch time.
This only for stock ROM or Custom ROM based on STOCK. You already have "compact carrier label" features if you are using cm7.
NOTE: 1st thing 1st, please BACKUP the file that we will change (SystemUI.apk from /system/app/)!
STYLE #1:
How it looks:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The "No notification" and "On going" Title is covered by carrier label intentionally.
The easy way:
- Download the file from attachment,extract it and put the compiled xml file inside into your SystemUI.apk at res/layout/
- if you are linux user, then just open that apk file, drag and drop that xml to the stated folder (res/layout)
- I dont know how to do it from windows box since i didnt use windows but i believe you need to open the apk using 7zip.
DIY way (you need to know how to use apktool, decompiling/recompiling an apk. It is easy, trust me ):
If you wish to do it yourself, then you need to decompile SystemUI.apk.
(i use apktool and method by TheGrammarFreak HERE that also applied for centering the date and clock)
- open status_bar_expanded.xml from layout folder.
- on the line 4, you will see
Code:
<LinearLayout android:orientation="horizontal" android:background="@drawable/title_bar_portrait" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
highlight the whole line until line 7 that consist
Code:
</LinearLayout>
and delete it (yes, delete!)
so it will looks like these
find line start with
Code:
<LinearLayout android:orientation="vertical" android:id="@id/latestItems"
create new line below it and paste this code into that new line
Code:
<TextView android:layout_gravity="right|center" android:id="@id/clear_all_button" android:background="@android:drawable/btn_default_small" android:paddingLeft="15.0dip" android:paddingRight="15.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4.0dip" android:layout_marginBottom="1.0dip" android:text="@string/status_bar_clear_all_button" style="?android:attr/buttonStyle" />
That is for "clear button". We repositioned it to the bottom.
Now, find line consist
Code:
</ScrollView>
and paste these code exactly below it
Code:
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Title" android:gravity="bottom|center|center" android:background="@drawable/shade_bgcolor" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</LinearLayout>
It should look like this;
That is for the Carrier Label. I made it centered by this line
Code:
android:gravity="bottom|center|center"
Save it and recompile back. I use TheGrammarFreak method to replace the compiled xml file.
Enjoy..
STYLE #2:
How it looks like:
How to apply:
Download file carrier_label_mod2.zip in attachment,
unzip/extract it,
drag and drop files extracted into your SystemUI.apk, inside folder res / layout
** Lazy to add ** Ask me if anyone want to try it themself, want to change any line etc. **
feed3 said:
I dont know if there's any other thread has been created for this but i didnt see it.
So just want to share this little thing to whoever want it. Anyone are welcome to improvise it and make it even better/nicer.
This is just one quick mod i did during my 1 hour lunch time.
This only for stock ROM. You already have "compact carrier label" features if you are using cm7.
NOTE: 1st thing 1st, please BACKUP the file that we will change (SystemUI.apk from /system/app/)!
How it looks:
The "No notification" and "On going" Title is covered by carrier label intentionally.
The easy way:
- Download the file from attachment,extract it and put the compiled xml file inside into your SystemUI.apk at res/layout/
- if you are linux user, then just open that apk file, drag and drop that xml to the stated folder (res/layout)
- I dont know how to do it from windows box since i didnt use windows but i believe you need to open the apk using 7zip.
DIY way (you need to know how to use apktool, decompiling/recompiling an apk. It is easy, trust me ):
If you wish to do it yourself, then you need to decompile SystemUI.apk.
(i use apktool and method by TheGrammarFreak HERE that also applied for centering the date and clock)
- open status_bar_expanded.xml from layout folder.
- on the line 4, you will see
Code:
<LinearLayout android:orientation="horizontal" android:background="@drawable/title_bar_portrait" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
highlight the whole line until line 7 that consist
Code:
</LinearLayout>
and delete it (yes, delete!)
so it will looks like these
find line start with
Code:
<LinearLayout android:orientation="vertical" android:id="@id/latestItems"
create new line below it and paste this code into that new line
Code:
<TextView android:layout_gravity="right|center" android:id="@id/clear_all_button" android:background="@android:drawable/btn_default_small" android:paddingLeft="15.0dip" android:paddingRight="15.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4.0dip" android:layout_marginBottom="1.0dip" android:text="@string/status_bar_clear_all_button" style="?android:attr/buttonStyle" />
That is for "clear button". We repositioned it to the bottom.
Now, find line consist
Code:
</ScrollView>
and paste these code exactly below it
Code:
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Title" android:gravity="bottom|center|center" android:background="@drawable/shade_bgcolor" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</LinearLayout>
It should look like this;
That is for the Carrier Label. I made it centered by this line
Code:
android:gravity="bottom|center|center"
Save it and recompile back. I use TheGrammarFreak method to replace the compiled xml file.
Enjoy..
Click to expand...
Click to collapse
Hey could you attach your statusbar.xml with centered date?
Thank you
Black_jackss said:
Hey could you attach your statusbar.xml with centered date?
Click to expand...
Click to collapse
Sure.. SystemUI.apk attached. But, it is a bit messed inside.
and, many things are added to my like such as statusbar background. Im pretty sure you know which xml file to take if you only need the centered clock and date right?
As a side note, the background for date when you expand the statusbar will be black because i dont like it being overlapping with other icons,clock etc. Let me know if you need to find which line to change for that.
EDIT: Opss.. didnt read your post carefully. My head become a bit blur for the very long hours in front of my workstation. statusbar.xml in zip file attached.
meme nin said:
Thank you
Click to expand...
Click to collapse
Welcome..
feed3 said:
Sure.. SystemUI.apk attached. But, it is a bit messed inside.
and, many things are added to my like such as statusbar background. Im pretty sure you know which xml file to take if you only need the centered clock and date right?
As a side note, the background for date when you expand the statusbar will be black because i dont like it being overlapping with other icons,clock etc. Let me know if you need to find which line to change for that.
EDIT: Opss.. didnt read your post carefully. My head become a bit blur for the very long hours in front of my workstation. statusbar.xml in zip file attached.
Click to expand...
Click to collapse
I edited a few line,hope u will be okay with that,
Thanks,im so lazyyy
Black_jackss said:
I edited a few line,hope u will be okay with that,
Thanks,im so lazyyy
Click to expand...
Click to collapse
Totally okay with it.. Im not the one who invent it and this xda is exist initially for sharing, isnt it?
Care to share what you have changed? How does it look?
feed3 said:
Totally okay with it.. Im not the one who invent it and this xda is exist initially for sharing, isnt it?
Care to share what you have changed? How does it look?
Click to expand...
Click to collapse
I reverted it back,because it's not like i want
Thanks man
Black_jackss said:
I reverted it back,because it's not like i want
Thanks man
Click to expand...
Click to collapse
I assume you made the carrier background to transparent, then align it to the right (to make it exactly like in cm7)?
I have done it before, but once you have many notifications, it will just stay there (i dont like it), but putting it into scrollview doesnt work either. Thats why I made it just centered since "no notification" and "on going" title doesnt serve any purpose to me personally.
Sent from my SK17i using XDA App
feed3 said:
I assume you made the carrier background to transparent, then align it to the right (to make it exactly like in cm7)?
I have done it before, but once you have many notifications, it will just stay there (i dont like it), but putting it into scrollview doesnt work either. Thats why I made it just centered since "no notification" and "on going" title doesnt serve any purpose to me personally.
Sent from my SK17i using XDA App
Click to expand...
Click to collapse
Close one
Please continue sharing the progress in ths thread
Sent from my SK17i
Black_jackss said:
Close one
Please continue sharing the progress in ths thread
Sent from my SK17i
Click to expand...
Click to collapse
Sure.. I just dont have many free times in hand..
Sent from my SK17i using XDA App
Another style for carrier label added to the first post (scroll to the bottom of the first post to see how it looks like). Files required are attached as well in the first post.
Ubuntu Touch Developer Preview
for GT-I9100
Keep in mind that this is only a developer preview, and will probably not function as an everyday ROM.
I will not be responsible for any damage caused by flashing this ROM or anything related.
Downloads:
Download the following and put them on your sdcard:
(deprecated) saucy-preinstalled-touch-armel-i9100.zip / (Google Drive mirror)
cm-10.1-20131129-UNOFFICIAL-i9100.zip (Diamond5170's build)
trusty-preinstalled-touch-armhf.zip
Optionally (but preferably) control the md5 checksums:
(deprecated) saucy-preinstalled-touch-armel-i9100.zip.md5sum / (Google Drive mirror)
MD5SUMS
Flashing instructions:
wipe data/factory reset (Make backup first)
flash cm-10.1-********-UNOFFICIAL-i9100.zip
flash trusty-preinstalled-touch-armhf.zip
reboot
(optional) Try to enable 3G data (link)
Current status:
Not working (specific to this device):
Calls/SMS
Audio
Sensorservice problem after reboot
solve by adding to /etc/rc.local:
Code:
./system/bin/sensorservice &
(Diamond5170's original post)
3G data might work if you follow this guide:
https://plus.google.com/100264483712374857174/posts/3o1tjYo9Ghx
Click to expand...
Click to collapse
Please report what's working and not in this thread to complete this list.
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Screenshots by IconRunner, see http://imgur.com/a/LL53v for more.
Screenshots by aryan1312, see http://forum.xda-developers.com/showpost.php?p=39087781&postcount=11 for more.
Repos:
The Github repos for this device can be found here:
https://github.com/UbuntuTouch-smdk4210
If you wish to build an image yourself, do the following:
Set up your build environment
Run:
Code:
$ cd <project root>
$ repo init -u git://phablet.ubuntu.com/CyanogenMod/android.git -b phablet-trusty
Create file <project root>/.repo/local_manifests/roomservice.xml with the following contents:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="UbuntuTouch-smdk4210/android_device_samsung_i9100" path="device/samsung/i9100" remote="github" revision="refs/heads/phablet-saucy" />
<project name="UbuntuTouch-smdk4210/android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="github" revision="refs/heads/phablet-saucy" />
<project name="UbuntuTouch-smdk4210/android_kernel_samsung_smdk4412" path="kernel/samsung/smdk4412" remote="github" revision="refs/heads/phablet-saucy" />
<project name="UbuntuTouch-smdk4210/android_hardware_samsung" path="hardware/samsung" remote="github" revision="refs/heads/phablet-saucy" />
<project name="UbuntuTouch-smdk4210/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="refs/heads/phablet-saucy" />
</manifest>
Run:
Code:
$ repo sync
$ . build/envsetup.sh
$ brunch i9100
Now your flashable .zip file should be in <project root>/out/target/product/i9100/cm-10.1-********-UNOFFICIAL-i9100.zip
To update your working tree, run the following commands:
Code:
$ repo sync
$ . build/envsetup.sh
$ brunch i9100
You should now have a new flashable .zip file <project root>/out/target/product/i9100/cm-10.1-********-UNOFFICIAL-i9100.zip.
You might want to run 'make clean' or 'make clobber' before 'brunch i9100' to be certain that each change gets compiled.
MaxWallstedt said:
Ubuntu Touch Developer Preview
for GT-I9100
Keep in mind that this is only a developer preview, and will probably not function as an every-day rom.
I will not be responsible for any damage caused by flashing this rom or anything related.
Download the following and put them on your sdcard:
Code:
https://dl.dropbox.com/u/44436922/cm-10.1-20130312-UNOFFICIAL-i9100.zip
and
Code:
http://cdimage.ubuntu.com/ubuntu-touch-preview/daily-preinstalled/current/quantal-preinstalled-phablet-armhf.zip
or
Code:
http://cdimage.ubuntu.com/ubuntu-touch-preview/quantal/mwc-demo/quantal-preinstalled-phablet-armhf.zip
Flashing instructions:
1. install CyanogenMod 10.1 on your device, if not already installed (http://forum.xda-developers.com/showthread.php?t=2036229)
2. wipe data/factory reset (Make backup first)
3. flash cm-10.1-20130312-UNOFFICIAL-i9100.zip
4. flash quantal-preinstalled-phablet-armhf.zip
5. reboot
Click to expand...
Click to collapse
Do we need to install hdpi_overlay?
alien0101 said:
Do we need to install hdpi_overlay?
Click to expand...
Click to collapse
There should be need for that anymore!
https://dl.dropbox.com/u/44436922/cm-10.1-20130312-UNOFFICIAL-i9100.zip
http://cdimage.ubuntu.com/ubuntu-to...urrent/quantal-preinstalled-phablet-armhf.zip
Just make the links work so people can use it directly.....thx...keeping this updated makes it much easier.
Sent from my GT-I9100 using xda premium
I don't mean to spam threads, but since all the action seems to have moved here I will repost. Do we keep recovery? Can we go back to cm10.1 without using Odin/Heimdall?
Enviado desde mi GT-I9100 usando Tapatalk 2
Awesome! Great job!
It would be nice to have a changelog tracing what works and what doesn't and what are the known issues.
juanono said:
I don't mean to spam threads, but since all the action seems to have moved here I will repost. Do we keep recovery? Can we go back to cm10.1 without using Odin/Heimdall?
Enviado desde mi GT-I9100 usando Tapatalk 2
Click to expand...
Click to collapse
Yes, you keep recovery (but with a nice ubuntu logo) and can restore your backups through it.
juanono said:
I don't mean to spam threads, but since all the action seems to have moved here I will repost. Do we keep recovery? Can we go back to cm10.1 without using Odin/Heimdall?
Enviado desde mi GT-I9100 usando Tapatalk 2
Click to expand...
Click to collapse
Since it's cm based, you'll keep recovery, so if you're done playing around with this, just wipe data & flash new rom!
Greetings
Sent from my GT-I9100 using xda app-developers app
any known bugs?
Fulfen said:
any known bugs?
Click to expand...
Click to collapse
Issues fonts and wifi are solved...its awesome
Sent from my GT-I9100 using xda premium
Snapshot
Here are few snapshot of Ubuntu touch :
I jst installed to files :
1st https://dl.dropbox.com/u/44436922/cm-10.1-20130312-UNOFFICIAL-i9100.zip
2nd http://cdimage.ubuntu.com/ubuntu-touch-preview/quantal/mwc-demo/
*Daily update files are causing some problem*
Even though gmail and facebook app opens, but they don't let u log in how much u try u will " error in password "
browser is working, from u can login in gmail but facebook opens in simple text format
Two finger gesture works fine on notification bar
app manager work fine
I think we have to move this to development section.
liawim said:
Issues fonts and wifi are solved...its awesome
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
phone and messaging works normally?
---------- Post added at 01:35 PM ---------- Previous post was at 01:27 PM ----------
deedii said:
I think we have to move this to development section.
Click to expand...
Click to collapse
+1
Just mailed to ubuntu touch dev team to update touch/devices site.
Sent from my GT-I9100 using xda premium
I added the original entry into the wiki.
I'll change it later on.
Max: can I add you as a contact ?
This is the third thread of Ubuntu Touch for the S2.......
Mine has been out for ages, look in my signature for the link.
Let the grown ups develop son.
You didn't even say what file they must download from the Ubuntu server.........
phablet.zip links
please dont link to the mwc-demo, it is highly outdated, if you use the daily builds and find bugs please report them, we will try to fix them (like we fixed the browser issue over night in the last daily)
ogra-ubuntu said:
please dont link to the mwc-demo, it is highly outdated, if you use the daily builds and find bugs please report them, we will try to fix them (like we fixed the browser issue over night in the last daily)
Click to expand...
Click to collapse
Removed in my post.
Sent from my GT-I9100 using xda premium
Bubble-be said:
I added the original entry into the wiki.
I'll change it later on.
Max: can I add you as a contact ?
Click to expand...
Click to collapse
Yes, you can.
ogra-ubuntu said:
please dont link to the mwc-demo, it is highly outdated, if you use the daily builds and find bugs please report them, we will try to fix them (like we fixed the browser issue over night in the last daily)
Click to expand...
Click to collapse
Ok, I will remove the link in the first post!
Hey max if u want u can add my screenshots ... i don't even need credit for that u are free to use them...
and thnx for the great work...:highfive::good:
I will add a video asap... i was recording a video but sadly my camera was not focusing so i decided to upload jst snapshot...
PURE AOSP ROM FOR NEXUS 5
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is pure AOSP rom for Nexus 5 build straight from google source(latest revision 5.1.0_r1)
Removed some stuff(live wallpapers)
This project is in learning mode,which means i will try to explain all stuff i do with rom,
including building,modifying,github stuff,etc.
ROM DOWNLOAD:
06.04.2015
Latest source built 5.1
Stock kernel included.
AOSP bootanimation included(credits to guerreromanuel).
Banks gapps minimal included (credits to euroskank).
Unique set of ringtones played on Ibanez RG 350DX.
Rom flash takes 5 min to flash.DO NOT PANIC!!!!
Rom is named aosp SEMIPURE 20150406 .zip.
ROM Download on GDrive
ROM Download in DEVDB
INSTALL INSTRUCTIONS:
1.Download rom
2.Download Supersu(in same folder)
3.Reboot in recovery
4.Full wipe
5.Install rom and supersu.
7.Reboot
Thanks and credits:
Google for source
chainfire for supersu
guerreromanuel for bootanimation.
euroskank for gapps.
Random videofrom my YOUTUBE channel
XDA:DevDB Information
SEMI-PURE AOSP ROM - 5.1 LMY47I (06.04.), ROM for the Google Nexus 5
Contributors
malcho
ROM OS Version: 5.0.x Lollipop
ROM Kernel: Linux 3.4.x
Version Information
Status: Alpha
Created 2014-12-26
Last Updated 2015-04-07
GUIDE 1
Initiate build enviroment and download source.
This link contains all that is needed to initialize source build on ubuntu.I suggest use LTS(long term support) versions of ubuntu.
https://source.android.com/source/initializing.html
Here is the link where you can find how to download source and initialize repo.
https://source.android.com/source/downloading.html
Pay attention on how to choose the right branch.You can find all info about branches here.
https://source.android.com/source/build-numbers.html
For example if you want to build from the latest brunch choose android-5.0.2_r1.
After this download binaries(drivers)for your device.
You have to download three files.Broadcom,LG and Qualcom.
Copy three files to your build directory.If you create folder /build/aosp copy files to that directory nad extract it.
Run all file with following commands,for example ./extract_broadcom_hammerhead.sh.
Now it's time for building.
. build/envsetup.sh
lunch - Choose the device you want(hammerhead is 14)
make otapackage
GUIDE 2
Ok let's spice up thing a little bit.
I want to remove and add some stuff to rom.First thing i need to do is to enable Show hidden files and folders in ubuntu.
In your build folde go to folder .repo(this folder is hidden).
In that folder create folder local_manifests.
After that create file roomservice.xml
Here is example of my file:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!--Please do not manually edit this file-->
<manifest>
<remote name="github"
fetch="https://github.com"
/>
<remove-project name="platform/packages/apps/Gallery" />
<remove-project name="platform/packages/apps/Browser" />
<remove-project name="platform/packages/apps/Calendar" />
<remove-project name="platform/packages/apps/Camera2" />
<remove-project name="platform/packages/apps/Gallery2" />
<remove-project name="platform/packages/apps/Music" />
<remove-project name="platform/packages/apps/MusicFX" />
<remove-project name="platform/packages/apps/QuickSearchBox" />
<remove-project name="platform/packages/wallpapers/HoloSpiral" />
<remove-project name="platform/packages/wallpapers/Galaxy4" />
<remove-project name="platform/packages/wallpapers/MagicSmoke" />
<remove-project name="platform/packages/wallpapers/NoiseField" />
<remove-project name="platform/packages/wallpapers/PhaseBeam" />
<remove-project name="platform/packages/apps/VoiceDialer" />
<project path="packages/apps/Camera2" name="CyanogenMod/android_packages_apps_Camera2" remote="github" revision="cm-12.0"/>
<project path="packages/apps/Browser" name="CyanogenMod/android_packages_apps_Browser" remote="github" revision="cm-12.0"/>
<project path="packages/apps/Gallery2" name="CyanogenMod/android_packages_apps_Gallery2" remote="github" revision="cm-12.0"/>
</manifest>
Like this i removed package Camera 2 for example and added Camera2 package from Cyanogenmod github.
Pay attention that i have to add remote github at the start of file and also i have to add revision on end of package.
How to add bootanimation into build.
I downloaded bootanimation.zip file.I create folder in vendor/lge/hammerhead and i named it bootanimation.
I copied zip file there.
Then i go to folder vendor/lge/hammerhead and open file device-partial.mk.
Use right click and open file with gedit.
I add this on end of the file.
Code:
vendor/lge/hammerhead/bootanimation/bootanimation.zip:system/media/bootanimation.zip:lge \
Like this i can have bootanimation directly built in my otapackage.
GUIDE 3HOW TO ADD LAYERS SUPPORT TO ROM
Go to this site
http://forum.xda-developers.com/android/apps-games/official-layers-bitsyko-apps-rro-t3012172?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+xda-developers%2FShsH+%28xda-developers%29
First you need to go on second post on this thread and open all links from android-review.googlesource.com
Cherry pick this in your source.
Go to respective folder in this case go to frameworks/base and paste cherry-pick link here.
Next you need to add cherry picks from https://github.com/bgill55.
Go to respective folder for example for this case Exposing hard coded resources for type 2 overlay access [3/6].
This have to go to packages/apps/Contacts
Next add remote like this:
git remote add layers git://github.com/bgill55/platform_packages_apps_Contacts.git where layers is a name of remote branch.
git fetch layers
git cherry pick number of commit which you can find bellow
Exposing hard coded resources for type 2 overlay access [3/6]
Have to expose hard coded hex coding to changeable resources for theming purposes. For the Layers type 2 overlays
frankie-mr-1 (#1)
commit 888a7be7ec16960cb80fd8371ff694b9dacb9002 1 parent 5402f10
bgill55 bgill55 authored 23 days ago
Repeat these steps for every project.
More info in OP in next few days.
Don't have so much time.
You should put that this is a ROM and not a question in the subject line. Thank you though!
Sent from my Nexus 5 using XDA Free mobile app
Thanks
Great to see you over here, Malcho! I have your rom for Galaxy S i9000 in pretty good memory. Looking forward to this project!
derboedi said:
Great to see you over here, Malcho! I have your rom for Galaxy S i9000 in pretty good memory. Looking forward to this project!
Click to expand...
Click to collapse
Thanks man.
I will do my best.
Sent from my AOSP on HammerHead using XDA Free mobile app
If pure and straight from google[emoji25] why you add cm camera and gallary. Keep it pure [emoji19]
[emoji51] wait for info
7sen said:
If pure and straight from google[emoji25] why you add cm camera and gallary. Keep it pure [emoji19]
[emoji51] wait for info
Click to expand...
Click to collapse
I had to add some things i like
Sent from my AOSP on HammerHead using XDA Free mobile app
very good project, I would like to learn as you go changing the rom, so you'll have my full attention, some tutorial you refer me which programs I need, thanks in advance.
New AOSP rom is out.
First PrimaL is out.
First guide on second post.
Enjoy
thanks a lot, i like the pure aosp rom
@malcho.Welcome, I remember the time of i9000.long time.Good work.
V3 is up.
Added bootanimation and calendar removed.
Use slimroms gapps.
Happy new year
Sent from my AOSP on HammerHead using XDA Free mobile app
malcho said:
New AOSP rom is out.
First PrimaL is out.
First guide on second post.
Enjoy
Click to expand...
Click to collapse
Thanks dude
Is the memory leak fixed in this rom because i want a clean aosp ROM with that bug fixed.
cpvm said:
Is the memory leak fixed in this rom because i want a clean aosp ROM with that bug fixed.
Click to expand...
Click to collapse
I'm running it for few days haven't notice any problems.
Try it and tell us how it goes
Sent from my AOSP on HammerHead using XDA Free mobile app
The memory leak seems to be fixed but power saving location doesn't work otherwise great work, thank you.
cpvm said:
The memory leak seems to be fixed but power saving location doesn't work otherwise great work, thank you.
Click to expand...
Click to collapse
Try to use gps status for playstore to pull gps locations and then see if it works.
Sent from my Nexus 5 using XDA Free mobile app
New version is up!
Hey All, just wanna share this mod with you,
The mod activates the ear piece as a front facing Speaker
So Now the earpiece and the buttom Speaker works together (mono)
I only tested this on Cyanogenmod 14.1, But it might Also work on Any other Rom,
USE AT OWN RISK | USE AT OWN RISK | USE AT OWN RISK | USE AT OWN RISK | USE AT OWN RISK | USE AT OWN RISK | USE AT OWN RISK | USE AT OWN RISK | USE AT OWN RISK | USE AT OWN RISK | USE AT OWN RISK | USE AT OWN RISK |
You will need root to Apply this mod
You gotta replace the mixer_paths.xml located in /system/ect with the one i have provided (REMEMBER TO BACKUP THE YOUR CURRENT mixer_paths.xml)
Apply it manully:
Code:
<path name="deep-buffer-playback speaker-and-headphones">
<ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia1" value="1" />
<ctl name="SLIM RX0 MUX" value="AIF_MIX1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
<ctl name="RX INT0 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="EAR PA Gain" value="G_8_DB" />
<ctl name="RX0 Digital Volume" value="95" />
<ctl name="QUAT_MI2S_RX Audio Mixer MultiMedia1" value="1" />
</path>
I choose the volume 95 for the earpiece, going higher might damage something
https://mega.nz/#!wxEhBICa!7GPkl1i_019qe-sV7AmPy9qN2XXwusmVqnTEcELXMK4
filledk said:
Hey All, just wanna share this mod with you,
The mod activates the ear piece as a front facing Speaker
So Now the earpiece and the buttom Speaker works together (mono)
I only tested this on Cyanogenmod 14.1, But it might Also work on Any other Rom,
USE AT OWN RISK | USE AT OWN RISK | USE AT OWN RISK | USE AT OWN RISK | USE AT OWN RISK | USE AT OWN RISK | USE AT OWN RISK | USE AT OWN RISK | USE AT OWN RISK | USE AT OWN RISK | USE AT OWN RISK | USE AT OWN RISK |
You will need root to Apply this mod
You gotta replace the mixer_paths.xml located in /system/ect with the one i have provided (REMEMBER TO BACKUP THE YOUR CURRENT mixer_paths.xml)
Apply it manully:
I choose the volume 95 for the earpiece, going higher might damage something
https://mega.nz/#!wxEhBICa
Click to expand...
Click to collapse
The mega download link isn't working, a password is required..
Sam Nakamura said:
The mega download link isn't working, a password is required..
Click to expand...
Click to collapse
Try Now
tried on resurrection N, don't see any difference at all
filledk said:
Try Now
Click to expand...
Click to collapse
Thanks, download works but no effect on RR, as already reported.... But great idea, just like the pixel mod :good:
No difference for me on cm 14.1
Not working on halogen os 7.0. Broke all music players (giving error "music cannot be played" )
Its just shut the sound of my phone and I have to restore the hole room to fix that
Why is that not working?????
No difference on CM14.1 too. Though I really hope it will work. Have been looking for this mod some time now. I had it for years on the Nexus 5.
cm14.1 not working for me, hope this will be developed and fixed. thanks anyway
---------- Post added at 07:01 PM ---------- Previous post was at 06:56 PM ----------
wait, are you using UNOFFICIAL cm14.1 or the OFFICIAL one?
Creating this mod seems close to impossible. I've tried it many times and even talked to @abhi08638 (who made the mod for OP1 and OP3). I couldn't get it working, even though everything in theory should be working (right RX and other values).
The right edit path is:
<path name="deep-buffer-playback speaker">
At least, for andoid 6.0.1, I'm not sure if it changed in android 7.X.X since I'm still on 6.0.1 (waiting for xposed).
I'll try and see if your method works.
Edit: doesn't work
FPSUsername said:
Creating this mod seems close to impossible. I've tried it many times and even talked to @abhi08638 (who made the mod for OP1 and OP3). I couldn't get it working, even though everything in theory should be working (right RX and other values).
The right edit path is:
<path name="deep-buffer-playback speaker">
At least, for andoid 6.0.1, I'm not sure if it changed in android 7.X.X since I'm still on 6.0.1 (waiting for xposed).
I'll try and see if your method works.
Edit: doesn't work
Click to expand...
Click to collapse
if its working on op3 you could kang the audio props from the build.prop
or the mtp files are needed like in this commit: https://github.com/Altaf-Mahdi/andr...mmit/374d22a60321386906ffbdf33844fffd6fb571d5
benschhold said:
if its working on op3 you could kang the audio props from the build.prop
or the mtp files are needed like in this commit: https://github.com/Altaf-Mahdi/andr...mmit/374d22a60321386906ffbdf33844fffd6fb571d5
Click to expand...
Click to collapse
I don't know hoelw to use github apart from cloning a repo and build in windows with gradle
Sent from my oneplus2 using Tapatalk
FPSUsername said:
I don't know hoelw to use github apart from cloning a repo and build in windows with gradle
Sent from my oneplus2 using Tapatalk
Click to expand...
Click to collapse
use a build.prop editor or a txt editor to change the file system/build.prop
there is a part that beginns with #Audio
replace that part with that from these:https://github.com/CyanogenMod/android_device_oneplus_oneplus3/blob/cm-14.1/system.prop#L3
benschhold said:
use a build.prop editor or a txt editor to change the file system/build.prop
there is a part that beginns with #Audio
replace that part with that from these:https://github.com/CyanogenMod/android_device_oneplus_oneplus3/blob/cm-14.1/system.prop#L3
Click to expand...
Click to collapse
Unfortunately it still doesn't work
so... still no workaround? i'll wait, then.
Any updates for this mod? Shame the OPO and OP3 has it, yet OP2 hasn't. I've tried taken a look at the file and making edits but only managed to mute my audio.
Does the following compare helps in some way ?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
maybe on OP2 we don't need all the changes OP3 has... then maybe - the mixer xml might works.
DESCRIPTION
This mode sets the earpiece as a secondary speaker, making media playing sound better.
This mod makes the sound stereo, the earpiece will act as left, whereas the main speaker will act as right. If you don't believe me, test it on youtube.
INSTALLATION
First of all, i'm not responsible for any bricked devices.
Due to diversity of ROMs and mixer_paths files, i decided to snip the installation part into a single method.
YOU NEED ROOT FOR THIS. All you can do is to copy/paste the code i generated into the destinated file. If you flash the zip u'r gonna mess up with ur audio mod.
STEP 1.
Download ES File Explorer and QuickEdit Text Editor.
STEP 2.
Open ES File, locate mixer_paths.xml ( may contain additional numbers and letters to the file name ), make a copy and paste it somewhere in your internal storage ( i.e Downloads )
STEP 3.
Open QuickEdit, from the top folder icon select the file you copied above, open it, press on top menu button then search and type <path name="speaker"> ;
STEP 4.
Replace from first ctl name to the last one the following code :
( Doesn't modify volume of the main speaker )
Code:
<ctl name="SLIM RX0 MUX" value="AIF_MIX1_PB" />
<ctl name="SLIM RX1 MUX" value="AIF_MIX1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
<ctl name="RX INT6_2 MUX" value="RX1" />
<ctl name="RX0 Digital Volume" value="95" />
<ctl name="COMP6 Switch" value="1" />
( Balances both speaker for a better stereo experience, it will sound lower, can be fixed by enabling Extra Loud in v4a tho )
Code:
<ctl name="SLIM RX0 MUX" value="AIF_MIX1_PB" />
<ctl name="SLIM RX1 MUX" value="AIF_MIX1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
<ctl name="RX INT6_2 MUX" value="RX1" />
<ctl name="SpkrLeft COMP Switch" value="1" />
<ctl name="SpkrRight COMP Switch" value="1" />
<ctl name="SpkrLeft BOOST Switch" value="1" />
<ctl name="SpkrRight BOOST Switch" value="1" />
<ctl name="SpkrLeft VISENSE Switch" value="1" />
<ctl name="SpkrRight VISENSE Switch" value="1" />
<ctl name="SpkrLeft SWR DAC_Port Switch" value="1" />
<ctl name="SpkrRight SWR DAC_Port Switch" value="1" />
<ctl name="RX0 Digital Volume" value="95" />
It should look like this :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
STEP 5.
After you saved the new mixer_paths.xml, open ES File again enable root permission by sliding from the left side, locate the new mixer_paths.xml, copy it, go to system>etc, locate the old mixer_paths.xml, delete it, paste the new one.
STEP 6.
Reboot. ( IT WON'T TAKE EFFECT WITHOUT REBOOTING )
BUGS
You tell me.
IMPORTANT NOTES
The mod responds to v4a, however, selecting panning 100% left side won't output the sound only through the earpiece as intended.
If, after reboot, it still doesn't work as expected, follow this procedure : open back Es File, go to the mixer_paths file that you just edited, long-press on it>more>permissions ( you need root enabled in the file explorer ) and set them as shown in the picture below :
I'm looking for improving the mod. If you feel you can bring any help i'd be very pleased.
Please search through the thread before asking the same question 100th time, thank you.
Credits :
@bloodytolits ( for sharing file permissions issue )
reserved
Doesn't work for me.
farhad666 said:
Doesn't work for me.
Click to expand...
Click to collapse
Detail. Use this https://youtu.be/hTvJoYnpeRQ to see that left corresponds to the earpiece, turn the volume to max.
If it really doesn't work, please share your mixer_paths so i could look thru it.
Update 1.1
Deleted some unuseful lines, tuned the earpiece volume to a higher level that doesn't crack it up.
Update 1.2
Removed more useless lines.
Update 1.3
Added a new stereo mode.
AgentBuBu said:
DESCRIPTION
This mode sets the earpiece as a secondary speaker, making media playing sound better.
This mod makes the sound stereo, the earpiece will act as left, whereas the main speaker will act as right. If you don't believe me, test it on youtube.
INSTALLATION
First of all, i'm not responsible for any bricked devices.
Due to diversity of ROMs and mixer_paths files, i decided to snip the installation part into a single method.
[/B]
Click to expand...
Click to collapse
It works.
You might want to add in the instructions to give the .xml file the correct permissions(which is rw- r-- r--) before rebooting. :good:
Works like a charm!
bloodytolits said:
It works.
You might want to add in the instructions to give the .xml file the correct permissions(which is rw- r-- r--) before rebooting. :good:
Click to expand...
Click to collapse
Well, i never had issues with permissions, so i don't know what to configure, if you follow my steps i guess you won't have either.
As a side note, i saw that, on the newer versions of NOS, there are multiple mixer_paths files. In case anyone deals the same, modify mixer_paths_wcd9326.xml
AgentBuBu said:
Well, i never had issues with permissions, so i don't know what to configure, if you follow my steps i guess you won't have either.
As a side note, i saw that, on the newer versions of NOS, there are multiple mixer_paths files. In case anyone deals the same, modify mixer_paths_wcd9326.xml
Click to expand...
Click to collapse
Well mine didn't work at first but then I remember about permissions. Corrected it, then it worked. Might also be the problem with that one poster.
this can surely damage the earpiece speaker, becuase they are not for playing loud audio.
c_/\/\_k said:
this can surely damage the earpiece speaker, becuase they are not for playing loud audio.
Click to expand...
Click to collapse
If you're planning to output an 1 hour edm concert thru it, then yeah, could take some damage, but for normal media consumption it's completely fine, as long as it doesn't sound distorted it means it's fine and i found a safe value where it won't sound distorted.
bloodytolits said:
Well mine didn't work at first but then I remember about permissions. Corrected it, then it worked. Might also be the problem with that one poster.
Click to expand...
Click to collapse
Well, thanks for mentioning, i'll add that into the OP.
does it work with RR 5.8.3? and how to uninstall the mod if i was done using it?
@AgentBuBu nice work man.
I think we both can collaborate and make this more awesome.
Please consider this.
I'll take that code, add it to my mixer_paths.xml so u get both the HiFi audio through earphone and surround sound.
What do you say??
ScreaMySkrillEX
I am unable to get to max volume as the earpiece sound is tearing its they're any way to decrease the sound of earpiece while leaving the main speaker??
when i try to delete the old file, it says "Device or Resource is busy" i have root explorer
already on
darel919 said:
when i try to delete the old file, it says "Device or Resource is busy" i have root explorer
already on
Click to expand...
Click to collapse
@darel919
Now I have taken the permission of @AgentBuBu and am maintaining the mod..
This mod is implemented in my mod..
Check my thread here:
https://forum.xda-developers.com/redmi-note-3/themes/audio-mod-hardware-based-best-audio-t3598455
ScreaMySkrillEX
Androbots said:
I am unable to get to max volume as the earpiece sound is tearing its they're any way to decrease the sound of earpiece while leaving the main speaker??
Click to expand...
Click to collapse
Decrease the value of RX0 Digital Volume as you desire.