Another way to find your Location Code (WeatherPanel) - P3300, MDA Compact III ROM Development

To find your Location Code, type the URL below with your city name:
Code:
http://hadle.accu-weather.com/widget/hadle/city-find.asp?location=
[B]e.g.[/B] http://hadle.accu-weather.com/widget/hadle/city-find.asp?location=[B]Ottawa[/B]
[B]This is the city code generated:[/B] NAM|CA|ON|OTTAWA

Good job,thanks indeed.The following link got my city
http://hadle.accu-weather.com/widget/hadle/city-find.asp?location=Beijing
=========================================================
<?xml version="1.0" encoding="iso-8859-1" ?>
- <adc_database xmlns="http://www.accuweather.com">
- <citylist us="0" intl="3" extra_cities="0">
<location cnt="1" city="Beijing" state="China(Beijing)" location="ASI|CN|CH002|BEIJING" />
<location cnt="2" city="Beijing" state="China(Liaoning)" location="ASI|CN|CH018|BEIJING" />
<location cnt="3" city="Beijing" state="China(Shanxi)" location="ASI|CN|CH025|BEIJING" />
</citylist>
<copyright>Copyright 2009 AccuWeather.com</copyright>
<use>This document is intended only for use by authorized licensees of AccuWeather.com. Unauthorized use is prohibited. All Rights Reserved.</use>
<product>hadley</product>
<redistribution>Redistribution Prohibited.</redistribution>
</adc_database>
=========================================================

Or just use this thing:
http://www.pocketemu.com/download4.html

Kar98 said:
Or just use this thing:
http://www.pocketemu.com/download4.html
Click to expand...
Click to collapse
Use HTC Home customizer ???

LeTo08 said:
Use HTC Home customizer ???
Click to expand...
Click to collapse
Yes!!!

Related

How to remove Globe and Youtube link?

Changed the Rom in my Blackstone from dutch to standard English version.
(RUU_BlackStone_HTC_WWE_1.14.405.0_Radio_52.49a.25.26_1.09.25.14b)
In de the Dutch version I edited the file \Windows\Opera9\Opera6.adr.
After that in the Internet widget the Globe and Youtube link were gone.
After flashing with the English rom I did the same.
But ... the Globe and Youtube link are still there.
I just want a page of bookmarks with no globe.
But just removing the YouTube link is OK, because I never use it.
Who can tell me how to remove the Globe and/or Youtube link?
Ton V
For no Youtube bookmark:
http://forum.xda-developers.com/showthread.php?t=459885
For no globe:
http://forum.xda-developers.com/showthread.php?t=406681
Hope that helped.
to remove the youtube link delete it from the favourites from within opera....
aabye said:
no Youtube bookmark: http://forum.xda-developers.com/showthread.php?t=459885QUOTE]
Thx there were 2 cab-files.
I will compare them to learn where the youtube.lnk is hiding.
Ton V
Click to expand...
Click to collapse
winwiz said:
to remove the youtube link delete it from the favourites from within opera....
Click to expand...
Click to collapse
That is the first thing I tried. I deleted all the bookmarks
But the youtube.link stays on the Internet tab.
Ton V
aabye said:
http://forum.xda-developers.com/showthread.php?t=459885
Click to expand...
Click to collapse
With the help of this link I learned the following about the Internet tab.
In the English version the file 27c65cbd_manila contains xml-commands for the Internet tab.
Some xml-sections were deleted.
Now the Internet tab has no Globe and no Youtube link.
There are now 8 bookmarks visible on the screen.
Ton V
<?xml version="1.0" encoding="utf-16"?>
<InternetPortal>
<IncludeUserFavorites>True</IncludeUserFavorites>
</InternetPortal>
hmmm. related to this question, is it possible to put Google Maps on the Internet Page then?
NLBeev said:
With the help of this link I learned the following about the Internet tab.
In the English version the file 27c65cbd_manila contains xml-commands for the Internet tab.
Some xml-sections were deleted.
Now the Internet tab has no Globe and no Youtube link.
There are now 8 bookmarks visible on the screen.
Ton V
<?xml version="1.0" encoding="utf-16"?>
<InternetPortal>
<IncludeUserFavorites>True</IncludeUserFavorites>
</InternetPortal>
Click to expand...
Click to collapse
Could I ask what you altered to get rid of the Youtube link? I've seen the thread you link to before but all that seems to happen whatever I try is I get a completely empty internet tab until I return to the original file in ROM.
Prof. Yaffle said:
Could I ask what you altered to get rid of the Youtube link? I've seen the thread you link to before but all that seems to happen whatever I try is I get a completely empty internet tab until I return to the original file in ROM.
Click to expand...
Click to collapse
You have tried spelling "Operator" in the 27c65zbd_manila file with two Os, like this?
<OOperatorLinks>
<Link
Text="YouTube"
Executable="\windows\youtube.exe"
ImagePath="\Windows\HTC\Assets\Images\InternetPortal\youtube.qtc" />
</OOperatorLinks>
I have never had a problem with this...but not saying it isn't a problem with your particular ROM/Manila.
You could also try deleting all of the text between "OperatorLinks", like so:
<OperatorLinks>
</OperatorLinks>
Not sure if this works on the HD, though...
I've tried both of those before but just tried both again just in case. Still the same.
Not to worry, it's not a major annoyance.
Thanks for your help anyway.
install the attached cab to remove YouTube link.
I've no idea what's different in the file in your cab (I can only see x's instead of O's) but it worked a treat! Thanks.
Prof. Yaffle said:
Could I ask what you altered to get rid of the Youtube link?
Click to expand...
Click to collapse
The characters in red were deleted from my file: \Windows\27c65zbd_manila
I found my user favorites listed in the file \Windows\Opera9\Opera6\adr contains my favorites (urls).
<?xml version="1.0" encoding="utf-16"?>
<InternetPortal>
<IncludeUserFavorites>True</IncludeUserFavorites>
<Banner DefaultImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner.qtc"
SelectedImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner_selected.qtc"
Width="480"
Height="215" />
<OperatorLinks>
<Link
Text="YouTube"
Executable="\windows\youtube.exe"
ImagePath="\Windows\HTC\Assets\Images\InternetPortal\youtube.qtc" />
</OperatorLinks>
</InternetPortal>
Very odd. I wanted to keep the globe but get rid of the Youtube link. No matter what combination of removing / modifying the Operatorlink section I'd tried it just came up as a blank screen with the file re-marked as a Read Only / System file. ammar's cab file worked perfectly though.
I copy the file "27c65zbd_manila" to Storage Card. Use PC to uncheck the readonly atribute and then use Notepad to add the following "x"s in the file.
<xOperatorLinks>
<Link
Text="YouTube"
Executable="\windows\youtube.exe"
ImagePath="\Windows\HTC\Assets\Images\InternetPort al\youtube.qtc" />
</xOperatorLinks>
Save it and add back the readonly attribute. Copy it back to /Windows.
It works.
cismconn said:
hmmm. related to this question, is it possible to put Google Maps on the Internet Page then?
Click to expand...
Click to collapse
Yes, I replaced the Youtube link in 27c65cbd_manila and deleted the banner (Globe)
Below you will see the changed content.
Ton V
<?xml version="1.0" encoding="utf-16"?>
<InternetPortal>
<IncludeUserFavorites>True</IncludeUserFavorites>
<OperatorLinks>
<Link
Text="Google_Maps"
Executable="\Program Files\GoogleMaps\GoogleMaps.exe"
ImagePath="\Windows\Google.JPG" />
</OperatorLinks>
</InternetPortal>
Prof. Yaffle said:
... wanted to keep the globe but get rid of the Youtube link. Operatorlink section
Click to expand...
Click to collapse
If you want the Globe than don't delete banner section!
Use Notepad to change the file on the PC
Save it and send it to the storage card of your Touch HD
Copy it with Resco Explorer to the \Windows directory.
Ton V
NLBeev said:
Yes, I replaced the Youtube link in 27c65cbd_manila and deleted the banner (Globe)
Below you will see the changed content.
Ton V
<?xml version="1.0" encoding="utf-16"?>
<InternetPortal>
<IncludeUserFavorites>True</IncludeUserFavorites>
<OperatorLinks>
<Link
Text="Google_Maps"
Executable="\Program Files\GoogleMaps\GoogleMaps.exe"
ImagePath="\Windows\Google.JPG" />
</OperatorLinks>
</InternetPortal>
Click to expand...
Click to collapse
thanks Ton.
sounds good.
will have a play with that.
Ideally I'd like google maps and the rss program on there so a "proper" internet tab.
NLBeev said:
If you want the Globe than don't delete banner section!
Use Notepad to change the file on the PC
Save it and send it to the storage card of your Touch HD
Copy it with Resco Explorer to the \Windows directory.
Ton V
Click to expand...
Click to collapse
Ammar's cab file removes the Youtube link but leaves the globe. Just how I wanted it.
I have a Singaporian ROM with a ugly operator logo instead of the globe, and that's why I want to get rid of it. So I tried to modify 27c65cbd_manila, but nothing change at all. I tried to soft-reset after modification, or also deactivate and re-activate Touch FLO in Today settings, but even though the file is modified, the internet tab doesn't change.
This is my modified file:
<?xml version="1.0" encoding="utf-16"?>
<InternetPortal>
<IncludeUserFavorites>True</IncludeUserFavorites>
<OperatorLinks>
<Link
Text="YouTube"
Executable="\windows\youtube.exe"
ImagePath="\Windows\HTC\Assets\Images\InternetPortal\youtube.qtc" />
<Link
Text="Google_Maps"
Executable="\Program Files\GoogleMaps\GoogleMaps.exe"
ImagePath="\Windows\Google.JPG" />
</OperatorLinks>
</InternetPortal>
Click to expand...
Click to collapse

[HACK] HTC Hub Theme

I just edited the images of the HTC HUB. I know this has been done before by eiting the XAP before install, but my method was after install. With this method you should be able to edit images for any installed app. The hard part is finding the app as they are not in a folder named after the app. You need a Unlocked Device & Windows Phone Device Manager. Using the file manager built into WPDM. Different apps will have they images in different folders depending on how the XAP was setup. For HTC HUB, browse to \Applications\Install\*\Install\Res\Generic\images\ and copy in the files from the zip.
* = a random Hexadecimal value (In my case, 1A0EE8C2-48B1-DF11-8A2F-00237DE2DB9E)
They will always be in the \Applications\Install\ folder.
Thank to Dinik for his Glass Icon Image
drkfngthdragnlrd said:
I just edited the images of the HTC HUB. I know this has been done before by eiting the XAP before install, but my method was after install. With this method you should be able to edit images for any installed app. The hard part is finding the app as they are not in a folder named after the app. You need a Unlocked Device & Windows Phone Device Manager. Using the file manager built into WPDM. Different apps will have they images in different folders depending on how the XAP was setup. For HTC HUB, browse to \Applications\Install\*\Install\Res\Generic\images\ and copy in the files from the zip.
* = a random Hexadecimal value (In my case, 1A0EE8C2-48B1-DF11-8A2F-00237DE2DB9E)
They will always be in the \Applications\Install\ folder.
Click to expand...
Click to collapse
you have made a touch of glass skin,nice and thanks for the info
djcedric said:
you have made a touch of glass skin,nice and thanks for the info
Click to expand...
Click to collapse
Actually, it's Dinik's glass image, not from Touch of Glass. Thanks for reminding me to make note of that in the OP.
drkfngthdragnlrd said:
Actually, it's Dinik's glass image, not from Touch of Glass. Thanks for reminding me to make note of that in the OP.
Click to expand...
Click to collapse
ok from the nice guy ,i hope you have ask it to dinik because we all know him...no problem i will made a touch of glass skin
succes.
Do you know what the boxes around each forecast are called. Id like to remove them
Edit: Its called forcast_tile if anyone is interested
drkfngthdragnlrd said:
* = a random Hexadecimal value (In my case, 1A0EE8C2-48B1-DF11-8A2F-00237DE2DB9E)
They will always be in the \Applications\Install\ folder.
Click to expand...
Click to collapse
Actualy its not a random Hexadecimal value...
Its the unique application ID that is hardcoded in the file WMAppManifest.xml in the xap of every application.
The WMAppManifest.xml for the HTC hub is this ...
Code:
<?xml version="1.0" encoding="utf-16"?>
<Deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" AppPlatformVersion="7.0" xmlns="http://schemas.microsoft.com/windowsphone/2009/deployment">
<App Author="HTC Corporation" Description="HTC Hub" Genre="apps.normal" [B][U]ProductID="{1a0ee8c2-48b1-df11-8a2f-00237de2db9e}"[/U][/B] Publisher="HTC Corporation" RuntimeType="Silverlight" Title="@AppResLib.dll,-100" Version="1.0.0.0" xmlns="">
<IconPath IsRelative="true" IsResource="false">ApplicationIcon_s.png</IconPath>
<Capabilities>
<Capability Name="ID_CAP_NETWORKING" />
<Capability Name="ID_CAP_INTEROPSERVICES" />
<Capability Name="ID_CAP_SENSORS" />
<Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
<Capability Name="ID_CAP_PUSH_NOTIFICATION" />
<Capability Name="ID_CAP_LOCATION" />
</Capabilities>
<Tasks>
<DefaultTask Name="_default" NavigationPage="MainPage.xaml" />
</Tasks>
<Tokens>
<PrimaryToken TokenID="Weather_WP7Token" TaskName="_default">
<TemplateType6>
<BackgroundImageURI IsRelative="true" IsResource="false">ApplicationIcon.png</BackgroundImageURI>
<Count>0</Count>
<Title>@AppResLib.dll,-200</Title>
</TemplateType6>
</PrimaryToken>
</Tokens>
</App>
</Deployment>
Τhe product id is in the 3rd line and is
ProductID="{1a0ee8c2-48b1-df11-8a2f-00237de2db9e}"
I know this because is use a similar method to sideload big size xaps on my phone....
colossus
colossus_r said:
Actualy its not a random Hexadecimal value...
Its the unique application ID that is hardcoded in the file WMAppManifest.xml in the xap of every application.
The WMAppManifest.xml for the HTC hub is this ...
Τhe product id is in the 3rd line and is
ProductID="{1a0ee8c2-48b1-df11-8a2f-00237de2db9e}"
I know this because is use a similar method to sideload big size xaps on my phone....
colossus
Click to expand...
Click to collapse
Thanks for the info. And how you do that ?

[GUIDE][Step-by-Step] Build ROM from source

I put this tutorial together in an attempt to create the most complete and easy to follow guide for building a ROM from source. Including steps for adding apps to your build, changing toolchains and more... The entire guide uses a single Linux terminal window from start to finish in an attempt to keep everything as user friendly as possible. Please feel free to PM me suggestions on where changes need be made.
If you find this guide helpful please press the Thanks button on my posts and rate the thread a 5.​
Prerequisites​1. This guide is for Ubuntu 12+ based machine, I run Linux Mint 15. Follow links at end of OP for alternate directions
Windows Users: Setup Ubuntu in Virtualbox Instructions
2. You need to know the location for your device, vendor, and kernel repos. This can be found fairly easily in the forum for your phone. Also take note of your phones codename.
For example the Optimus G is the gee and its repos can be found here https://github.com/TeamPlaceholder
Note*All terminal commands will be in Code boxes*
Part 1 - Setting Up The Build Environment​
Install Java JDK
Code:
sudo add-apt-repository ppa:webupd8team/java
Code:
sudo apt-get update
Code:
sudo apt-get install oracle-java6-installer
Installing required packages
Code:
sudo apt-get install git gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
libgl1-mesa-dev g++-multilib mingw32 tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386
Code:
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
Set-up ccache This Is Optional
Code:
nano ~/.bashrc
Add these two lines
export USE_CCACHE=1
export CCACHE_DIR=<path-to-your-cache-directory>
Click to expand...
Click to collapse
Save and exit by pressing ctrl+x, selecting Y then enter.
Install ADB & Fastboot This is optional, as you may already have them working. If not, they're a good thing to have.
Code:
sudo add-apt-repository ppa:nilarimogard/webupd8
Code:
sudo apt-get update
Code:
sudo apt-get install android-tools-adb android-tools-fastboot
Setup Repo
Code:
mkdir ~/bin
Code:
PATH=~/bin:$PATH
Code:
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
Code:
chmod a+x ~/bin/repo
Create working directory
Code:
mkdir [I][B]working-dir[/B][/I]
(Replace working-dir with whatever you'd like to call it, ie. aokp)
Code:
cd working-dir
Part 2 - Get Source​ROM Source
Choose which custom rom you are going to build and initialize the repo for it
Code:
repo init -u [I][B]chosen-manifest[/B][/I]
(Replace chosen-manifest appropriately from the list below)
AOKP: https://github.com/AOKP/platform_manifest.git -b Branch
Cyanogenmod: https://github.com/CyanogenMod/android.git -b Branch
CarbonDev: https://github.com/CarbonDev/android.git -b Branch
Liquid Smooth: https://github.com/LiquidSmooth/android.git -b Branch
Replace Branch with appropriate branch from github repo ie cm-10.2 or jb3
If unsure which branch click the link above to locate appropriate branch
Click to expand...
Click to collapse
Device Source
Go HERE and follow instructions on obtaining your device specific repos.
Sync the repo
Code:
repo sync
This will take a while as it downloads all the required source
Part 3 - Preparing Source​Before you're ready to build your source needs to be configured to include your device. This preparation varies slightly for different custom Roms.
Go HERE and follow instructions for your ROM choice
Part 4 - Edit Source​This Is Optional​This is where you can make edits to the source before building to suit your needs.
Go HERE and follow the instructions to tweak source
Part 5 - Building ROM​
Code:
. build/envsetup.sh
Code:
lunch
Locate your device on the list and enter appropriate number
Code:
make -j[B][I]# [/I][/B]otapackage
Replace # with the number of cores in your system (Is the number of jobs that will be done at once, more cores means more jobs)
Build Errors​
This can be hard, especially if you're new to programming languages and building. Meet Google your new best friend.
Here is a basic overview to get you started, and if no more at least googling in the right direction.
Finished​When it's done you're rom will be in working-dir/out/target/product/codename/
Enjoy.
I used these sites while making this guide
http://source.android.com/source/initializing.html
http://www.webupd8.org/2012/11/oracle-sun-java-6-installer-available.html
http://www.webupd8.org/2012/08/install-adb-and-fastboot-android-tools.html
Device Source​ As stated in the prerequisites you will need a device specific Device repo, Vendor repo, and Kernel repo. You can find links to them in the threads for your devices. Also take note of your device codename ie Nexus 4 is mako, Optimus G is gee.
There are two options for adding in device specific source, local manifest and git clone.
Note: The local path for your phone's repos should be device/manufacturer/codename, vendor/manufacturer/codename, kernel/manufacturer/codename regardless of method chosen.
Git Clone
Git clone is a one time download of a specific repo to the directory indicated and is not affected when a repo sync is run. This is probably the better choice if you make edits to the device source as they won't be over written or cause conflicts when syncing.
This method is used AFTER the inital rom source sync. Preform a repo sync before cloning repos
Code:
git clone [B][COLOR=DarkOrange]repo[/COLOR][/B] -b [B][COLOR=Red]branch[/COLOR][/B] [B][COLOR=Lime]destination-path[/COLOR][/B]
here is and example for the vendor repo for the E973 from TeamPlaceHolder
git clone https://github.com/TeamPlaceholder/proprietary_vendor_lge_gee -b cm-10.2 vendor/lge/gee
Click to expand...
Click to collapse
Local Manifest
Local manifest syncs the device repos each time a repo sync is run. This is probably the better choice if you don't make edits and rely on the repo's maintainer for changes. Be wary making edits locally to the repos you list as a repo sync may overwrite your changes.
This method is used BEFORE the initial rom sync. This gets your device source during the first repo sync
Code:
mkdir .repo/local_manifests
Code:
touch .repo/local_manifests/local_manifest.xml
Code:
nano .repo/local_manifests/local_manifest.xml
Add these lines:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="name-for-remote" fetch="remote-url" />
<project path="destination-folder-path" name="repo-location" remote="name-for-remote" revision="branch" />
</manifest>
Click to expand...
Click to collapse
name-for-remote - Any name you want to give to identify the url where your repos are stored
remote-url - The url for the remote location your repos are stored
destination-folder-path - Where do you want this repo stored locally
repo-location - Where on the remote url is your repo stored
branch - The branch of the remote repo you are using
**You will need a project line for each repo you wish to add to the source. **
Here is an example for E973 using TeamPlaceHolder repos, adding all device/vendor/kernel repos.
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="gh"
fetch="git://github.com/" />
<project path="kernel/lge/gee" name="TeamPlaceholder/android_kernel_lge_gee" remote="gh" revision="cm-10.2-update" />
<project path="device/lge/geeb" name="TeamPlaceholder/android_device_lge_geeb" remote="gh" revision="cm-10.2" />
<project path="device/lge/gee-common" name="TeamPlaceholder/android_device_lge_gee-common" remote="gh" revision="cm-10.2" />
<project path="vendor/lge/gee" name="TeamPlaceholder/proprietary_vendor_lge_gee" remote="gh" revision="cm-10.2" />
</manifest>
Click to expand...
Click to collapse
Preparing Source
Preparing Source​ROM specific setup instructions prior to building. All source should be downloaded already.
All ROM setup is fairly similar,
1. You must add your device to the ROM's vendor repo(vendor/cm or vendor/aokp) This process is slightly different per rom. Look at how other devices are added in the vendor repo and emulate those.
2. A ROM specific makefile, again look at how other devices are added.
3. If building AOSP based ROMs, a pre-built kernel is generally required. Look here for instructions on how to compile a kernel separately.
Here are examples of how to set up AOKP or Carbon to build. Device used in example is Optimus G.
Manufacturer and codename MUST be updated to reflect your device.
AOKP
Code:
nano vendor/aokp/vendorsetup.sh
Add this line
add_lunch_combo aokp_geeb-userdebug
Click to expand...
Click to collapse
Save and exit by pressing ctrl+x, selecting Y then enter.
Code:
touch vendor/aokp/products/geeb.mk
Code:
nano vendor/aokp/products/geeb.mk
Add these lines
If building for CDMA network change gsm.mk to cdma.mk
# Inherit AOSP device configuration for geeb
$(call inherit-product, device/lge/geeb/full_geeb.mk)
# Inherit AOKP common bits
$(call inherit-product, vendor/aokp/configs/common.mk)
# Inherit GSM common stuff
$(call inherit-product, vendor/aokp/configs/gsm.mk)
# Setup device specific product configuration
PRODUCT_NAME := aokp_geeb
PRODUCT_BRAND := google
PRODUCT_DEVICE := geeb
PRODUCT_MODEL := Optimus G
PRODUCT_MANUFACTURER := LGE
Click to expand...
Click to collapse
Save and exit by pressing ctrl+x, selecting Y then enter.
Code:
nano vendor/aokp/products/AndroidProducts.mk
Add this line
$(LOCAL_DIR)/geeb.mk \
Click to expand...
Click to collapse
Save and exit by pressing ctrl+x, selecting Y then enter.
CarbonDev
Code:
nano vendor/carbon/vendorsetup.sh
Add this line
add_lunch_combo carbon_geeb-userdebug
Click to expand...
Click to collapse
Once your device has been added you're ready to build! Go back to the OP and complete the guide from where you left off.
good stuff haze
AGREED!!
What bout building ROMs based on LG source? I'd rather see more LG based ROMs because the camera quality is higher, and a lot of AOSP/AOKP ROMs feel more or less the same.
geokilla said:
What bout building ROMs based on LG source? I'd rather see more LG based ROMs because the camera quality is higher, and a lot of AOSP/AOKP ROMs feel more or less the same.
Click to expand...
Click to collapse
Seriously ? Find me LG source to build a rom and I'll make you one.
@moderator.
Btw, This post and the previous should be removed, that thread locked to prevent post like these and pinned. thanks.
Haze028 said:
Well I had put up build instructions for AOKP but thought I would generalize them so people could use them for other ROM bases. My therory is the more people that are trying to build, the more improvments/enhancements can be put forth to the OG community.
As I've stated before I do not consider myself a dev. So don't be afraid of giving this a try, even if you have little to no android building experience. The instructions are as step by step as I could make them, and I'll always try to help where I can.
When it's done you're rom will be in out/target/product/geeb/
I'm writing this now from memory, so if it doesn't work let me know so I may update accordingly
Enjoy.
Click to expand...
Click to collapse
It was what I'm looking for...
Thanks a lot..
Definitely I'll give a try!
chadouming said:
Seriously ? Find me LG source to build a rom and I'll make you one.
@moderator.
Btw, This post and the previous should be removed, that thread locked to prevent post like these and pinned. thanks.
Click to expand...
Click to collapse
Why would want to lock the thread? How do we suppose to learning? I think @Haze purpose was opposite that you suggest, if we do not learn, we'll keeping ask you to change this, or do that instead to help you and even do some nice stuff.
Don't be like that be patience and share your great knowledge. I'm your fan. :good:
d.terenzzo said:
Why would want to lock the thread? How do we suppose to learning? I think @Haze purpose was opposite that you suggest, if we do not learn, we'll keeping ask you to change this, or do that instead to help you and even do some nice stuff.
Click to expand...
Click to collapse
Yeah, I don't think it should get locked, I started it to try to help people out, so they can get assistance through this thread with their builds. Being new to building myself, I have found that the issues, and resolutions to them, in similar threads to this to be a wealth of knowledge.
getting error
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[vendor/aokp/products/geeb.mk]]: "device/lge/geeb/full_geeb.mk" does not exist. Stop.
** Don't have a product spec for: 'aokp_geeb'
** Do you have the right repo manifest?
Any idea what i missed?
Recon Freak said:
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[vendor/aokp/products/geeb.mk]]: "device/lge/geeb/full_geeb.mk" does not exist. Stop.
** Don't have a product spec for: 'aokp_geeb'
** Do you have the right repo manifest?
Any idea what i missed?
Click to expand...
Click to collapse
have you cloned the geeb device tree into device/lge/geeb? seems the error is saying that full_geeb.mk doesn't exist, so either you've not yet cloned the device tree, or you have it in a differnt folder name, I'm assuming currently.
let me know if that's not the case.
I know most people want to run latest and greatest but I'm curious if we could build a cm10 (4.1.2) using LG's released kernel sources?
Any thoughts??
Would be cool to get a 4.1.2 build without LG's proprietary software...
Hopefully you see my point in posting this here as building from lg's sources and either aosp or cm10 isn't the most straightforward.
I'm attempting but I don't expect to have much success...
Mate, how long does repo sync takes? I saw something to download about 10gb?
cheers
d.terenzzo said:
Mate, how long does repo sync takes? I saw something to download about 10gb?
cheers
Click to expand...
Click to collapse
It all depends on your internet connection, looking at around 10-20gb. I think my AOKP repo is 12gb...give or take
Haze028 said:
It all depends on your internet connection, looking at around 10-20gb. I think my AOKP repo is 12gb...give or take
Click to expand...
Click to collapse
"Once you know the truth, there is no going back"
for learning purpose:
Why should we have to download all projects in AOKP, if I wont use it.
There is a way to choice between what to download and what to not download?
cheers
d.terenzzo said:
"Once you know the truth, there is no going back"
for learning purpose:
Why should we have to download all projects in AOKP, if I wont use it.
There is a way to choice between what to download and what to not download?
cheers
Click to expand...
Click to collapse
In the third post i show you how to use a local manifest to remove projects you don't want/need from the repo before you sync, linked to in the build instructions. I always remove the device tree and vendor for other devices before my initial sync.
Yeah, I tried that, but I got weird error. Something about manifest, once I removed the example line about Samsung groups, it worked.
Would you mind to share your local_manifest.
Cheers
Sent from my LG-E971 using xda app-developers app
d.terenzzo said:
Yeah, I tried that, but I got weird error. Something about manifest, once I removed the example line about Samsung groups, it worked.
Would you mind to share your local_manifest.
Cheers
Sent from my LG-E971 using xda app-developers app
Click to expand...
Click to collapse
Sorry for the delay, didn't notice your post, anyways here is my current local manifest file for aokp
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/lge/geeb" name="Haze028/android_device_lge_geebca" remote="aokp" revision="aokp"/>
<project path="vendor/lge/geeb" name="Haze028/android_vendor_lge_geeb" remote="aokp" revision="cm-10.1"/>
<project path="kernel/lge/geeb" name="Haze028/geeb" remote="aokp" revision="geeb"/>
<project path="prebuilts/gcc/linux-x86/arm/arm-eabi-4.7" name="platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7" revision="master" groups="linux,arm" />
<project path="prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7" name="platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7" revision="master" groups="linux,arm" />
<remove-project name="AOKP/packages_apps_Launcher2" />
<remove-project name="AOKP/device_acer_a510" />
<remove-project name="AOKP/device_asus_grouper" />
<remove-project name="AOKP/device_asus_tilapia" />
<remove-project name="CyanogenMod/android_device_common" />
<remove-project name="device/generic/armv7-a-neon" />
<remove-project name="device/generic/armv7-a" />
<remove-project name="device/generic/common" />
<remove-project name="device/generic/goldfish" />
<remove-project name="device/generic/mips" />
<remove-project name="device/generic/x86" />
<remove-project name="device/google/accessory/arduino" />
<remove-project name="device/google/accessory/demokit" />
<remove-project name="AOKP/device_htc_evita" />
<remove-project name="AOKP/device_htc_msm8960-common" />
<remove-project name="AOKP/device_lge_iprj-common" />
<remove-project name="AOKP/device_lge_mako" />
<remove-project name="AOKP/device_lge_p930" />
<remove-project name="AOKP/device_lge_su640" />
<remove-project name="AOKP/device_lge_vs920" />
<remove-project name="AOKP/device_motorola_maserati" />
<remove-project name="AOKP/device_motorola_omap4-common" />
<remove-project name="AOKP/device_motorola_solana" />
<remove-project name="AOKP/device_motorola_spyder" />
<remove-project name="AOKP/device_motorola_targa" />
<remove-project name="AOKP/device_motorola_umts_spyder" />
<remove-project name="device/sample" />
<remove-project name="AOKP/device_samsung_aries-common" />
<remove-project name="AOKP/device_samsung_celox-common" />
<remove-project name="AOKP/device_samsung_d2-common" />
<remove-project name="AOKP/device_samsung_d2att" />
<remove-project name="AOKP/device_samsung_d2tmo" />
<remove-project name="AOKP/device_samsung_d2usc" />
<remove-project name="AOKP/device_samsung_d2vzw" />
<remove-project name="AOKP/device_samsung_galaxys2-common" />
<remove-project name="AOKP/device_samsung_hercules" />
<remove-project name="AOKP/device_samsung_i605" />
<remove-project name="AOKP/device_samsung_i9100" />
<remove-project name="AOKP/device_samsung_i9100g" />
<remove-project name="AOKP/device_samsung_i9300" />
<remove-project name="AOKP/device_samsung_l900" />
<remove-project name="AOKP/device_samsung_maguro" />
<remove-project name="AOKP/device_samsung_manta" />
<remove-project name="AOKP/device_samsung_msm8660-common" />
<remove-project name="AOKP/device_samsung_msm8960-common" />
<remove-project name="CyanogenMod/android_device_samsung_omap4-common" />
<remove-project name="AOKP/device_samsung_qcom-common" />
<remove-project name="AOKP/device_samsung_smdk4412-common" />
<remove-project name="CyanogenMod/android_device_samsung_smdk4412-qcom-common" />
<remove-project name="AOKP/device_samsung_t0lte" />
<remove-project name="AOKP/device_samsung_t0ltecdma" />
<remove-project name="AOKP/device_samsung_toro" />
<remove-project name="AOKP/device_samsung_toroplus" />
<remove-project name="AOKP/device_samsung_tuna" />
<remove-project name="AOKP/device_samsung_vibrantmtd" />
<remove-project name="device/ti/panda" />
<remove-project name="AOKP/vendor_htc" />
<remove-project name="AOKP/vendor_lge" />
<remove-project name="AOKP/vendor_motorola" />
<remove-project name="AOKP/vendor_samsung" />
<remove-project name="AOKP/vendor_acer_a510" />
<remove-project name="AOKP/vendor_asus" />
</manifest>
Click to expand...
Click to collapse
Haze028 said:
Sorry for the delay, didn't notice your post, anyways here is my current local manifest file for aokp
Click to expand...
Click to collapse
Hey Haze028, thanks for this great write up!
Anyways, im trying to build this for the Sprint LG OG. Do i need to sync with different device trees then this? Im very new at building from source, so, sorry if this is a stupid question.
Thanks!
eletendre84 said:
Hey Haze028, thanks for this great write up!
Anyways, im trying to build this for the Sprint LG OG. Do i need to sync with different device trees then this? Im very new at building from source, so, sorry if this is a stupid question.
Thanks!
Click to expand...
Click to collapse
I believe you will need different repo's, check out Team LGOG's github(https://github.com/TeamLGOG) They have device tree's for all variants, Chadouming is a member of that team and as such his CM10.1 uses those repo's. The local_manifest for Cyanogenmod in the OP should show you which repo's to use.... then depending on what rom you're looking to build some minor changes might be required.
I've not built using their repo's, but I'll help you in getting it all set up.

[T-Mobile Theme Chooser] App-Icon List

Hello themers,
here is a list of "app icon paths" (sorry i can't explain it better with school english).
What i mean with "app icon paths":
You create a theme for CM/AOKP/etc. and you want to change an app's icon.
Then you need the string from where the app gets the icon graphic (and the Package (e.g. com.example.pictures))
And this is a list with "App Name, Package, Icon Path".
Sry for my bad english, i hope it's in the right section [and i hope i can help you]
(moved to Google Docs)
Link to google docs:
http://tslink.tk/iconpaths-applist
Click to expand...
Click to collapse
How to use it?
Create a new XML file at res/xml/ and name it like the package, but replace "." with "_", e.g.
Code:
com.google.googlesearch => com_google_googlesearch.xml
com.foo.bar => com_foo_bar.xml
Insert the following code:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resource-redirections>
</resource-redirections>
Now add redirections between "<resource-redirections>" and "</resource-redirections>" like this:
Code:
<item name="(Icon Path)">(Location of new Icon)</item>
Complete Code (Example):
Code:
<?xml version="1.0" encoding="utf-8"?>
<resource-redirections>
<item name="mipmap/ic_launcher">@mipmap/new_icon</item>
</resource-redirections>
Cheers, Xorg.

[CM13] CM13 not building (libTimeService missing)

Hello,
I am trying to build CM13 for h815 myself, following the instructions from the CyanogenMod wiki.
When I execute brunch h815, after some time the build breaks with the message
make: *** No rule to make target 'vendor/lge/g4-common/proprietary/vendor/lib/libTimeService.so', needed by '~/android/system/out/target/product/h815/obj_arm/SHARED_LIBRARIES/libTimeService_intermediates/LINKED/libTimeService.so'. Stop.
Click to expand...
Click to collapse
I know that libTimeService was in the proprietary files list in CM12, but was removed in CM13 and is also not present on my device (I searched in each lib and lib64 folder I was able to find on the device running CM13).
Is there some option to disable libraries dependend on libTimeService being built or do I forget some other step? Obviously, it must be possible to build for h815 from source as there are nightly builds for the device, so I think there is some configuration missing on my machine, but I don't see which.
Kind regards
spainer
Did no one else have a similar problem when building for H815 yourself? Do you all have the library on your phone?
I would also be thankful for tips where to start trying to solve the problems or which components could be related to this...
you need to sync the proprietary files in vendor/lge
https://github.com/TheMuppets/proprietary_vendor_lge
This worked, thank you very much.
So, if I see it right, the build instructions in the CyanogenMod wiki are wrong I the section to extract the proprietary blobs. Instead of executing ./extract_files.sh in ~/android/system/device/lge/h815, one should
1. create a local manifest to sync vendor/lge to the repository given above and
2. execute repo sync.
When you confirm this fix for the build instructions, I can change the CyanogenMod wiki, so that others can benefit from your solution...
spainer said:
This worked, thank you very much.
When you confirm this fix for the build instructions, I can change the CyanogenMod wiki, so that others can benefit from your solution...
Click to expand...
Click to collapse
Works for me apparently. As as newbie, it's not obvious how to create the local manifest.
I went with this
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
project name="TheMuppets/proprietary_vendor_lge" path="vendor/lge" remote="github />
</manifest>
in ".repo/local_manifests/mine.xml", leaving "roomservice.xml" alone. Not sure if that one would
be needed still.
Yours,
Kay
kayhayen said:
Works for me apparently. As as newbie, it's not obvious how to create the local manifest.
I went with this
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
project name="TheMuppets/proprietary_vendor_lge" path="vendor/lge" remote="github />
</manifest>
in ".repo/local_manifests/mine.xml", leaving "roomservice.xml" alone. Not sure if that one would
be needed still.
Yours,
Kay
Click to expand...
Click to collapse
I ran into the same problem. I'm going to try your solution and see what happens. BTW I noticed your code has a couple of typos. This should work:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="TheMuppets/proprietary_vendor_lge" path="vendor/lge" remote="github" />
</manifest>
Thanks
---------- Post added at 08:32 AM ---------- Previous post was at 08:30 AM ----------
Also, does this mean we should throw out the proprietary blobs if we've already extracted them?
Got a successful build, gonna test it soon.

Categories

Resources