Related
Hi all, for who knows my rgu-2-xml, there is a new version solved little bug translating multilines hex values (in previous release only a part of a intere hex string was inserted into provxml!)
for who doesn't know my little apps, this app can translate rgu/reg files into provxml files, advantages???
you can insert into packages also provxml, so you can be shure that the instrunctions on it will be executed and not maybe overwritted by similiar registry keys when .hv files are created during buildosing rom!
or if you want create instructions into provxml for my sdconfig.exe or sdautorun.exe
bye!!!
version 3, added some code to "eliminate" regkey and regvalue!!!!!
here:
http://www.4shared.com/file/nDAeeIdB/rgu-2-xml-v3.html
Thanks again ervius.
Thanks ervius !
Will be more usefull than creating a cab and extracting xml inside it
Thanks! again ervius. Your kitchen and tools are really useful for us.
Best regards from Spanish Cookers
Thank you so much!! Keep it up!
XML => RGU
Ervius, can you make the same tool but XML => RGU ?
MickyMax said:
Ervius, can you make the same tool but XML => RGU ?
Click to expand...
Click to collapse
yes, but in provxml, there are also other commands that work with files and folders,(fileoperation), and others also....
if you translate a provxml into a reg/rgu, you can lost a lot of informations, but, yes, shurelly, I can create a viceversa translator (xml-rgu)!
bye!
If you can figure out how to put a multi line item into an XML I would appreciate it. I haven't been able to yet. I even tried the output from your tool and it didn't work. I even put " instead of " but that didn't work either.
Basically, a certain reg key needs to be a multistring (multi line, multi_SZ) with the following data: (line breaks are intentional, it must be placed in the registry like that)
Code:
Call History.lnk
Messaging.lnk
Calculator.lnk
Any ideas?
Thanks for the tool!
It works great at making XMLs for UC, but I had to fix some things in my XML:
-Quotation marks needed to be changed to " for certain entries like Today items
-0xFFFFFFFE hex values showed up as 4294967295 dec value, but that dec value is unsigned and it will not load when the XML installs so I had to use "-2" as my dec value (which gave me my correct hex value of FFFFFFFE)
-Binary values had to be manually translated with RapiConfig
I was pretty stumped when my XML didn't install properly but after isolating these minor mistakes I was able to fix my problem. Hope this helps any other users!
Cheers
mrnamster said:
Thanks for the tool!
It works great at making XMLs for UC, but I had to fix some things in my XML:
-Quotation marks needed to be changed to " for certain entries like Today items
-0xFFFFFFFE hex values showed up as 4294967295 dec value, but that dec value is unsigned and it will not load when the XML installs so I had to use "-2" as my dec value (which gave me my correct hex value of FFFFFFFE)
-Binary values had to be manually translated with RapiConfig
I was pretty stumped when my XML didn't install properly but after isolating these minor mistakes I was able to fix my problem. Hope this helps any other users!
Cheers
Click to expand...
Click to collapse
well, I'll try to solve.... never tryed with negative values...
try this v3 version if works...
Signed/unsigned integer conversion seems to work:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\this\is\a\"quotation"\test]
"item1"=dword:7fffffff
"item2"=dword:80000000
"item3"=dword:fffffffe
"item4"=dword:ffffffff
results in:
Code:
<wap-provisioningdoc>
<!-- *** COMMENTO *** -->
<characteristic type="Registry">
<characteristic type="HKLM\this\is\a\"quotation"\test" translation="filesystem">
<parm name="item1" datatype="integer" value="2147483647"/>
<parm name="item2" datatype="integer" value="-2147483648"/>
<parm name="item3" datatype="integer" value="-2"/>
<parm name="item4" datatype="integer" value="-1"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
but should be
Code:
<characteristic type="HKLM\this\is\a\"quotation"\test" translation="filesystem">
as mentioned here at the bottom by Sleuth255
thx for your work
Greate tool!
But there are unhandled situation:
1, for [HKEY_LOCAL_MACHINE\xxx\yyy]
it means to REMOVE the key HKEY_LOCAL_MACHINE\xxx\yyy
in provxml, it should be <nocharacteristic type="HKLM\xxx\yyy" translation="filesystem" />
2, for "name"=-
it means to DELETE the item "name"
in provxml, it should be <noparm name="name" />
How are you guys converting binary values in the reg to provxml. I know its base64 in provxml.. Can someone give me a hand with this?
I have noticed this program does not take @="value" and convert it to "Default"="value"
My current fix is to use find and replace in reg file and change @ to "Default" before running rgu-2-xml.
Also ""\file path\file name"" is still getting turned into \\file path\file name\".
After I run rgu-2-xml I use find and replace in the xml file to change all \\ to "\ and all \" to "".
Hi!
I am a newbie in all these subjects, and I am attempting to make my own provxml file for UC.
he case is that I've found this thread and now I have a tool to convert reg/rgu files to XML, but ... when I export my registry I get a rgk file, that the tool doesn't admit ...
How should I export the registry to get reg/rgu files?
thanks!
elMoco said:
when I export my registry I get a rgk file, that the tool doesn't admit ...
How should I export the registry to get reg/rgu files?
thanks!
Click to expand...
Click to collapse
what did you use to export?
Did you try edt file name to end in .reg?
RoryB said:
what did you use to export?
Did you try edt file name to end in .reg?
Click to expand...
Click to collapse
I use the windows registry backup tool, and yes, I've tried to change the file extension, but the the tool report an error.
I use CERegedit and save as a .reg file.
Great!
I used CERegedit and I got it ...
now I need a tool that can mannage well the binary data ... I guess it must be codified with base64 ...
Noob alert: Would anyone be kind enough to write a quick tutorial on how to use these jar files? I want to learn how to edit xml. I have searched these forums and google, but havent been able to get anywhere.
Code:
java -jar baksmali-0.93.jar -o <output directory> <.dex file, typically classes.dex>
For example: java -jar baksmali-0.93.jar -o out/rogers/dexout/ rogers-classes.dex
java -Xmx512M -jar smali-0.92.jar <output directory from above step> -o <name for new .dex output file>
For example: java -Xmx512M -jar smali-0.92.jar out/rogers/dexout/ new-rogers.dex
First command disassembles the .dex file, second command reassembles it (hopefully after you went in and made some cool changes to some of the .smali files)
Re-read your post, these are not for editing XML files. That is a whole other ball of wax. Most devs are not as interested in making post-build modifications now that the source for everything is available. You can set up a build environment and edit the XML files in plain text before you compile everything. Which is a lot easier than hex editing binary XML files...
Ohsaka said:
Code:
java -jar baksmali-0.93.jar -o <output directory> <.dex file, typically classes.dex>
For example: java -jar baksmali-0.93.jar -o out/rogers/dexout/ rogers-classes.dex
java -Xmx512M -jar smali-0.92.jar <output directory from above step> -o <name for new .dex output file>
For example: java -Xmx512M -jar smali-0.92.jar out/rogers/dexout/ new-rogers.dex
First command disassembles the .dex file, second command reassembles it (hopefully after you went in and made some cool changes to some of the .smali files)
Re-read your post, these are not for editing XML files. That is a whole other ball of wax. Most devs are not as interested in making post-build modifications now that the source for everything is available. You can set up a build environment and edit the XML files in plain text before you compile everything. Which is a lot easier than hex editing binary XML files...
Click to expand...
Click to collapse
I dont think you have to hex-edit them. Theres a tool called AXMLPrinter2.jar that makes xml files into readable ones. I'm sure you can just make your edits and copy and paste that text into a new blank xml file. Credits to jashu for the AXMLPrinter.jar
alritewhadeva said:
I dont think you have to hex-edit them. Theres a tool called AXMLPrinter2.jar that makes xml files into readable ones. I'm sure you can just make your edits and copy and paste that text into a new blank xml file. Credits to jashu for the AXMLPrinter.jar
Click to expand...
Click to collapse
How do you propose to recompile the xml sheet?
I don't think it's a jar btw, pretty sure he made a tar/gz, and a perl script.
mianosm said:
How do you propose to recompile the xml sheet?
I don't think it's a jar btw, pretty sure he made a tar/gz, and a perl script.
Click to expand...
Click to collapse
nah pretty sure its a jar. I'll find the link for you.
right here http://forum.xda-developers.com/showthread.php?t=514412
just did some quick research...im a noob in this field but can anyone make sense of this? http://www.stylusstudio.com/binary_xml.html#
It's going to be quicker and easier to change the values in a hex editor, and as said prior - you aren't going to be able to just put a human readable xml file into an apk and have the phone use it - it's expecting binary, so it would be a pretty neat feat if it took human readable and parsed it and out put it.
mianosm said:
It's going to be quicker and easier to change the values in a hex editor, and as said prior - you aren't going to be able to just put a human readable xml file into an apk and have the phone use it - it's expecting binary, so it would be a pretty neat feat if it took human readable and parsed it and out put it.
Click to expand...
Click to collapse
Yeah I know that, but you should be able to convert to binary and then convert it back to xml format. Problem is on every converter I've used, in the past 5 minutes (just started researching) keeps saying something about not a schema
alritewhadeva said:
Yeah I know that, but you should be able to convert to binary and then convert it back to xml format. Problem is on every converter I've used, in the past 5 minutes (just started researching) keeps saying something about manifest not found.
Click to expand...
Click to collapse
The xml in the templates/updates is currently compiled.
After you use the xml parser it's human readable/editable, but then you would need to recompile it. If you're going to do that, you'd might as well just do it from the source, and even still the color changes are hard coded and need to be changed to your liking.
The decompiled editing, and hex editing is really going to be the easiest/quickest method for color adjustments for now.
I'm surprised Stericson or JF haven't put out an XML compiler yet...
Ohsaka said:
You can set up a build environment and edit the XML files in plain text before you compile everything. Which is a lot easier than hex editing binary XML files...
Click to expand...
Click to collapse
Is it required to set up a build environment? I researched that and only found instructions for linux/mac.
This is my understanding of baksmali/smali. I thought I could take a file(apparently a DEX file) from the Android SDK, disassemble it, edit, then assemble. I scanned through the SDK and didn't find any DEX files?
Ohsaka said:
I'm surprised Stericson or JF haven't put out an XML compiler yet...
Click to expand...
Click to collapse
yea...True true. Just a QQ what's the AndroidManifest.xml file used for?
For your reading pleasure (from the launcher AndroidManifest.xml):
Code:
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2008, The Android Open Source Project
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.launcher"
android:sharedUserId="android.uid.shared"
android:sharedUserLabel="@string/application_name">
<permission
android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
android:protectionLevel="normal"
android:label="@string/permlab_install_shortcut"
android:description="@string/permdesc_install_shortcut" />
<permission
android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
android:protectionLevel="normal"
android:label="@string/permlab_uninstall_shortcut"
android:description="@string/permdesc_uninstall_shortcut"/>
<permission
android:name="com.android.launcher.permission.READ_SETTINGS"
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
android:protectionLevel="normal"
android:label="@string/permlab_read_settings"
android:description="@string/permdesc_read_settings"/>
<permission
android:name="com.android.launcher.permission.WRITE_SETTINGS"
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
android:protectionLevel="normal"
android:label="@string/permlab_write_settings"
android:description="@string/permdesc_write_settings"/>
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.READ_CONTACTS"/>
<uses-permission android:name="android.permission.SET_WALLPAPER" />
<uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
<uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
<application
android:name="LauncherApplication"
android:process="android.process.acore"
android:label="@string/application_name"
android:icon="@drawable/ic_launcher_home">
<activity
android:name="Launcher"
android:launchMode="singleTask"
android:clearTaskOnLaunch="true"
android:stateNotNeeded="true"
android:theme="@style/Theme"
android:screenOrientation="nosensor"
android:windowSoftInputMode="stateUnspecified|adjustPan">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.HOME"/>
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.MONKEY" />
</intent-filter>
</activity>
<activity
android:name="WallpaperChooser"
android:label="@string/pick_wallpaper"
android:icon="@drawable/ic_launcher_gallery">
<intent-filter>
<action android:name="android.intent.action.SET_WALLPAPER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<!-- Enable system-default search mode for any activity in Home -->
<meta-data
android:name="android.app.default_searchable"
android:value="*" />
<!-- Intent received used to install shortcuts from other applications -->
<receiver
android:name=".InstallShortcutReceiver"
android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
<intent-filter>
<action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
</intent-filter>
</receiver>
<!-- Intent received used to uninstall shortcuts from other applications -->
<receiver
android:name=".UninstallShortcutReceiver"
android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
<intent-filter>
<action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
</intent-filter>
</receiver>
<!-- The settings provider contains Home's data, like the workspace favorites -->
<provider
android:name="LauncherProvider"
android:authorities="com.android.launcher.settings"
android:writePermission="com.android.launcher.permission.WRITE_SETTINGS"
android:readPermission="com.android.launcher.permission.READ_SETTINGS" />
</application>
</manifest>
Or the Music one:
Code:
packages/apps/Music/res/layout/statusbar.xml
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2007, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal">
<ImageView android:id="@+id/icon"
android:padding="4dip"
android:gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</ImageView>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView android:id="@+id/trackname"
android:textAppearance="?android:attr/textAppearanceMediumInverse"
android:focusable="true"
android:ellipsize="marquee"
android:singleLine="true"
android:layout_gravity="left"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView android:id="@+id/artistalbum"
android:textAppearance="?android:attr/textAppearanceSmallInverse"
android:layout_gravity="left"
android:maxLines="2"
android:scrollHorizontally="true"
android:ellipsize="end"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
And for the statusbar:
Code:
/frameworks/base/tests/StatusBar$ cat AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.statusbartest">
<uses-permission android:name="android.permission.DEVICE_POWER" />
<uses-permission android:name="android.permission.STATUS_BAR" />
<uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
<uses-permission android:name="android.permission.VIBRATE" />
<application>
<activity android:name="StatusBarTest" android:label="_StatusBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="NotificationTestList" android:label="_Notifications">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="ToastTest" android:label="_Toasts">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="PowerTest" android:label="_Power">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
mianosm said:
For your reading pleasure (from the launcher AndroidManifest.xml):
Code:
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2008, The Android Open Source Project
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.launcher"
android:sharedUserId="android.uid.shared"
android:sharedUserLabel="@string/application_name">
<permission
android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
android:protectionLevel="normal"
android:label="@string/permlab_install_shortcut"
android:description="@string/permdesc_install_shortcut" />
<permission
android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
android:protectionLevel="normal"
android:label="@string/permlab_uninstall_shortcut"
android:description="@string/permdesc_uninstall_shortcut"/>
<permission
android:name="com.android.launcher.permission.READ_SETTINGS"
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
android:protectionLevel="normal"
android:label="@string/permlab_read_settings"
android:description="@string/permdesc_read_settings"/>
<permission
android:name="com.android.launcher.permission.WRITE_SETTINGS"
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
android:protectionLevel="normal"
android:label="@string/permlab_write_settings"
android:description="@string/permdesc_write_settings"/>
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.READ_CONTACTS"/>
<uses-permission android:name="android.permission.SET_WALLPAPER" />
<uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
<uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
<application
android:name="LauncherApplication"
android:process="android.process.acore"
android:label="@string/application_name"
android:icon="@drawable/ic_launcher_home">
<activity
android:name="Launcher"
android:launchMode="singleTask"
android:clearTaskOnLaunch="true"
android:stateNotNeeded="true"
android:theme="@style/Theme"
android:screenOrientation="nosensor"
android:windowSoftInputMode="stateUnspecified|adjustPan">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.HOME"/>
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.MONKEY" />
</intent-filter>
</activity>
<activity
android:name="WallpaperChooser"
android:label="@string/pick_wallpaper"
android:icon="@drawable/ic_launcher_gallery">
<intent-filter>
<action android:name="android.intent.action.SET_WALLPAPER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<!-- Enable system-default search mode for any activity in Home -->
<meta-data
android:name="android.app.default_searchable"
android:value="*" />
<!-- Intent received used to install shortcuts from other applications -->
<receiver
android:name=".InstallShortcutReceiver"
android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
<intent-filter>
<action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
</intent-filter>
</receiver>
<!-- Intent received used to uninstall shortcuts from other applications -->
<receiver
android:name=".UninstallShortcutReceiver"
android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
<intent-filter>
<action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
</intent-filter>
</receiver>
<!-- The settings provider contains Home's data, like the workspace favorites -->
<provider
android:name="LauncherProvider"
android:authorities="com.android.launcher.settings"
android:writePermission="com.android.launcher.permission.WRITE_SETTINGS"
android:readPermission="com.android.launcher.permission.READ_SETTINGS" />
</application>
</manifest>
Click to expand...
Click to collapse
Is that directly from the source? Android source that is. In eclipse when you write the .xml file doesn't it convert it to binary when you compile/create the app?
That's directly from the source yes. When it's compiled it takes the xml format and turns it into binary yes.
ultra spikey said:
Is it required to set up a build environment? I researched that and only found instructions for linux/mac.
This is my understanding of baksmali/smali. I thought I could take a file(apparently a DEX file) from the Android SDK, disassemble it, edit, then assemble. I scanned through the SDK and didn't find any DEX files?
Click to expand...
Click to collapse
I believe, for right now, you need a build environment to product compiled XMLs only. Until someone releases a tool to compile them...
Your understanding is correct. The SDK does not include and .dex files. The SDK is to help you develop your own app, not edit the underlying android platform files. Even if you grab the source from using git, you wont find .dex files. They are the output of the build process...i.e. the compiled java files...
Yes, only on linux/mac. Just get VMWare or some other virtual machine program and make a linux VM to develop on. If I ever get around to finishing mine, I will give it out so that people can just get VMPlayer to run it...
VirtualBox is pretty outstanding as well as vmware.
The real fix should not be decompiling/compiling though, it really should be edits to the actual source that is pushed upstream to gerrit, so it can be reviewed and updated accordingly.
It's really kind of a sloppy backward way to do it the way how it's getting done right now - don't get me wrong it works, but it's just not best practice.
Taking anything outside of the compiled xml and dex files opens up the system for slowdowns though doesn't it?
Like if we all somehow submitted a patch to the core that made it know to look at /sdcard/theme/ for a bunch of xml files and pngs... Then joe blow comes along with his $2.99 2gig card that runs slow as s* and his whole phone because unusable...
Is it even possible to use eclipse on ubuntu? Haven't found an answer. Running ubuntu on a VM right now.
Eclipse is java... so yes. There may not be a nice windows installer for it, but it should run on any platform with a JRE...
Ohsaka said:
Eclipse is java... so yes. There may not be a nice windows installer for it, but it should run on any platform with a JRE...
Click to expand...
Click to collapse
all right then. Time to research lol. Thanks
Hi,
911sniper gave us new ROM leak, this time it is new CDMA HTC 7 Pro: http://911sniper.blog.163.com/blog/static/14290088120111124014807/
Anyway, this ROM contains quite cool stuff, just take a look yourself:
I believe this is new ROM with new SYS containing Copy&Paste
We need DFT to give us proper reloc tools (or DaG ) so we can cook it, yay!
Upload dumped imgfs coming in a few minutes...
Downloads:
Full NBH:
http://ce7.ondraster.cz/RUU_Gold_C_Sprint_WWE_1.25.651.01_1.51.00_RELEASE.exe.7z
IMGFS:
raw IMGFS.bin http://ce7.ondraster.cz/IMGFS.bin.7z
Dumped IMGFS with built packages http://ce7.ondraster.cz/IMGFS.7z
Dumped IMGFS without built packages http://ce7.ondraster.cz/rawimgfs.7z
NK:
raw NK.bin http://ce7.ondraster.cz/NK.bin.7z
Dumped NK with built packages http://ce7.ondraster.cz/XIP.7z
Dumped NK without built packages http://ce7.ondraster.cz/rawnk.7z
thanks for sharing Ondraster
yes......hope that Dag or DFT share the tools to cook this
....I'm bored
Thank you very much Ondra.
@OndraSter,
Downloaded the files.
unzipping the imgfs.bin.7zip is giving me a empty.bin file so I only removed the .7zip extension.
Tried to dump the imgfs.bin with htcRIE_0.7.0.35 but it's giving an error.
Dumping it with ImgfsToDump.exe same error.
Weird, as all other WP7 roms I can dump.
Edit; I know you provide the dumped files as well but I would love to know how you dumped it.
Weird, I packed the imgfs.bin with 7zip.
Are you using latest 9.20 7-Zip? In WinRAR it will show 0B size, bug of WinRAR with 7zip, but will extract fine.
I'll repack it and dump it again.
I can also upload the original .nbh if you are interested, the chinese u115.com is quite slow (took me about 3 hours to download).
// maybe WinRAR has issues with it since I used LZMA2 compression instead LZMA as all others (as a try). Will reupload with normal LZMA then.
My apologies, it was a outdated 7zip.
Now it's ok
If you have the full nbh, yes please.
Thanks Ondra.
OndraSter said:
Weird, I packed the imgfs.bin with 7zip.
Are you using latest 9.20 7-Zip? In WinRAR it will show 0B size, bug of WinRAR with 7zip, but will extract fine.
I'll repack it and dump it again.
I can also upload the original .nbh if you are interested, the chinese u115.com is quite slow (took me about 3 hours to download).
// maybe WinRAR has issues with it since I used LZMA2 compression instead LZMA as all others (as a try). Will reupload with normal LZMA then.
Click to expand...
Click to collapse
Okay, full NBH added to post #2, I also reuploaded the IMGFS.bin with LZMA compression to make sure it won't cause anything .
Btw for dumping I used htcRIE posted in one of the sticky posts here.
Anyway, I really want the reloc tools, so I can go to our local HTC shop (the official one for middle Europe), say "Hey, I have got some issues when copypasting text on my HD2 with Windows Phone7" before update for WP7 devices rolls out
seem to be new build wp7 in this rom,
Buildinfo:
[HKEY_LOCAL_MACHINE\System\Versions]
"Label"="WM7_7.0_11_JAN"
"ParentBranchBuild"="7389"
"TimeStamp"="20110124-1636"
"Builder"="mojobld"
actually build in my Hd7 with rom schubert 1.60
Buildinfo:
[HKEY_LOCAL_MACHINE\System\Versions]
"Label"="WM7_7.0_Ship"
"ParentBranchBuild"="7004"
"TimeStamp"="20100916-1429"
"Builder"="mojobld"
It allready took me two days comparing the files in dump one by one with DFT rom and
ended up in nothing but I probably try again now hihi
Beyondcompair and Bepe's packagebuilder.exe plus the needed cecompr.dll posted by Nokser are very useful tools to check differences.
Hopefully you get the Reloc tools soon and you build a nice kitchen.
If you need any beta testers you know where to find me.
OndraSter said:
Okay, full NBH added to post #2, I also reuploaded the IMGFS.bin with LZMA compression to make sure it won't cause anything .
Btw for dumping I used htcRIE posted in one of the sticky posts here.
Anyway, I really want the reloc tools, so I can go to our local HTC shop (the official one for middle Europe), say "Hey, I have got some issues when copypasting text on my HD2 with Windows Phone7" before update for WP7 devices rolls out
Click to expand...
Click to collapse
You remember my RGU/REG sorter? I might adopt it that it will take full dump, go through all .rgu/.reg's and will make virtual tree from it. And compare two trees, like what is missing, what is different and so on. Interested?
Yeah I'm interested.
OndraSter said:
You remember my RGU/REG sorter? I might adopt it that it will take full dump, go through all .rgu/.reg's and will make virtual tree from it. And compare two trees, like what is missing, what is different and so on. Interested?
Click to expand...
Click to collapse
I hope this build as the copy and paste.
nobody can confirm?
because i already have build 7333 cdma and no copy an paste in it!
xboxmod said:
I hope this build as the copy and paste.
nobody can confirm?
because i already have build 7333 cdma and no copy an paste in it!
Click to expand...
Click to collapse
Yes. The is build 7389 which is the same build as the one in the new emulator.
day2die said:
Yes. The is build 7389 which is the same build as the one in the new emulator.
Click to expand...
Click to collapse
Oh cool thanks for the info.
can anyone port this to tmobile hd7 please thanks in advance!
OndraSter said:
We need DFT to give us proper reloc tools (or DaG ) so we can cook it, yay!
Upload dumped imgfs coming in a few minutes...
Click to expand...
Click to collapse
leoiden said:
can anyone port this to tmobile hd7 please thanks in advance!
Click to expand...
Click to collapse
as you can read we first need some tools to make that happen and then we will need a hspl (will take some time )on wp7 phones (the real wp7 phones)
Because of HSPL, It would be soo fun if our HD2 enjoyed this build first ^^
@ 911sniper and ondraster:
thanks for sharing. downloading now...
very intresting..
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\operatorpkg]
"Version"="7.4.651.13284"
difference in 2D6168DD-3ACB-43bd-BCA7-4033C89E9745.rgu
old:
Code:
[HKEY_LOCAL_MACHINE\System\Versions]
"Label"="WM7_7.0_Ship"
"ParentBranchBuild"="7004"
"TimeStamp"="20100916-1429"
new:
Code:
[HKEY_LOCAL_MACHINE\System\Versions]
"Label"="WM7_7.0_11_JAN"
"ParentBranchBuild"="7389"
"TimeStamp"="20110124-1636"
------------
difference in FEE507C4-1F41-46F2-A341-62B4BC1A9D80.rgu (net.cf):
old:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework]
"3.7.10218.00"=dword:1
new:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework]
"3.7.10302.00"=dword:1
-----------
new files in build:
doBootstrap.dll
HandsFreeActivation.dll
HandsFreeActivationRes.dll
HfaHost.exe
HTCConnectionSetUp.dll
ImportXmlContacts.exe
ImportXmlContactsRes.dll
ImportXmlContactsRes.dll.0409.mui
moscontactsdataprovider.dll
moscsp.dll
MOSPlugin.dll
MOSPluginRes.dll
MOSPluginRes.dll.0409.mui
MOSService.dll
omadssyncprovider.dll
SQADriverUtility.dll
windiag.dll
WISPrService.dll
wl_server_serial.dll
wlan_oem.dll
8BA872A2-01D5-44D4-98A7-DDF561744635.exe
BCM4329B1_002.002.023.0589.0608.hcd
EmbeddedTool.provxml
EmbeddedTool.xap
EmbeddedTool_License.xml
HandsFreeActivationRes.dll.0409.mui
IMSI_Mapping.db
IOTable_USC.c
mpap_HTC_MASD_01.provxml
Query_QUERYALL.xml
servicetools.xap (+provxml+license)
.....
----------------
difference in 8C9C0C34-B77D-45FB-9E4E-D53AC5900244.policy.xml (this whole part is new)
Code:
<!--Begin Generated accounts and routing/authz rules for S-1-5-112-0-0X10-0X00000035 -->
<Macro Id="ABOUTCPL_EXE_SID" Value="S-1-5-112-0-0X10-0X00000035" />
<Account Id="$(ABOUTCPL_EXE_SID)" FriendlyName="AboutCPL.exe" Description="Autogenerated chamber for AboutCPL.exe" Type="User">
<MemberOfGroup GroupAccountId="$(ELEVATED_RIGHTS_CHAMBER_GROUP_NAME)" />
</Account>
<!--Begin Generated routing/authz rules for AboutCPL.exe -->
<Rule Description="Route AboutCPL.exe" ResourceIri="$(LOADERVERIFIER_ROUTE_BY_NAME)/PRIMARY/WINDOWS/ABOUTCPL.EXE" SpeakerAccountId="$(SYSTEM_USER_NAME)" PriorityCategoryId="PRIORITY_LOW">
<Authorize>
<Match AccountId="$(ABOUTCPL_EXE_SID)" AuthorizationIds="LV_ACCESS_EXECUTE" />
</Authorize>
</Rule>
<Rule Description="Authorize AboutCPL.exe be loadable to $(ABOUTCPL_EXE_SID) and chambers" ResourceIri="$(LOADERVERIFIER_EXE_AUTHZ_INROM_ROOT)/WINDOWS/ABOUTCPL.EXE" SpeakerAccountId="$(SYSTEM_USER_NAME)" PriorityCategoryId="PRIORITY_STANDARD">
<Authorize>
<Match AccountId="$(ABOUTCPL_EXE_SID)" AuthorizationIds="LV_ACCESS_EXECUTE,LV_ACCESS_LOAD" />
</Authorize>
</Rule>
<!--End Generated routing/authz rules for AboutCPL.exe -->
<!--End Generated accounts and routing/authz rules for S-1-5-112-0-0X10-0X00000035 -->
----------------
difference in 36F324B9-6355-436a-B205-100D53E4B914.rgu
old:
Code:
[HKEY_LOCAL_MACHINE\System\Events]
"System/ColdInitPhase2Complete"="Owned by coldinit.exe. This signals that coldinit phase 2 is complete."
[HKEY_LOCAL_MACHINE\System\EventLog\Provider\{C8B65545-E2B2-4f95-A1AA-B8E88EE0A6FA}\Channels\System]
"Value"=dword:8
new:
Code:
[HKEY_LOCAL_MACHINE\System\Events]
"System/ColdInitPhase2Done"="Owned by coldinit.exe. This signals that coldinit phase 2 is done excluding guid_ui.exe."
"System/ColdInitPhase2Complete"="Owned by coldinit.exe. This signals that coldinit phase 2 is completed including guid_ui.exe."
[HKEY_LOCAL_MACHINE\System\EventLog\Provider\{C8B65545-E2B2-4f95-A1AA-B8E88EE0A6FA}\Channels\System]
"Value"=dword:00000008
[HKEY_LOCAL_MACHINE\System\EventLog\Provider\{C8B65545-E2B2-4f95-A1AA-B8E88EE0A6FA}\Channels\Microsoft-WindowsMobile-DeviceManagement-Channel]
"Value"=dword:00000010
----------------
difference in 36F324B9-6355-436a-B205-100D53E4B914.policy.xml
old:
Code:
<Rule Action="CreateNew" Description="Allow access to events coldinit phase2 completion event. Only System can write to them, but normal+ can read them" ResourceIri="policy:/KERNEL/EVENT/SYSTEM/ColdInitPhase2Complete" SpeakerAccountId="$(SYSTEM_USER_NAME)" PriorityCategoryId="PRIORITY_HIGH">
new:
Code:
<Rule Action="CreateNew" Description="Allow access to events coldinit phase2 done event (excluding guid_ui.exe). Only System can write to them, but normal+ can read them" ResourceIri="policy:/KERNEL/EVENT/SYSTEM/ColdInitPhase2Done" SpeakerAccountId="$(SYSTEM_USER_NAME)" PriorityCategoryId="PRIORITY_HIGH">
<Rule Action="CreateNew" Description="Allow access to events coldinit phase2 completion event (including guid_ui.exe). Only System can write to them, but normal+ can read them" ResourceIri="policy:/KERNEL/EVENT/SYSTEM/ColdInitPhase2Complete" SpeakerAccountId="$(SYSTEM_USER_NAME)" PriorityCategoryId="PRIORITY_HIGH">
<Authorize>
<Match Action="Add" AccountId="$(SYSTEM_RESOURCE_GROUP_NAME)" AuthorizationIds="ALL_ACCESS"></Match>
<Match Action="Add" AccountId="$(STANDARD_RIGHTS_RESOURCE_GROUP_NAME)" AuthorizationIds="READ_CONTROL"></Match>
</Authorize>
<Stop>
<Match AccountId="$(EVERYONE_GROUP_NAME)"></Match>
</Stop>
</Rule>
----------------
difference in 95E4E653-133E-4529-9387-19B4756D82B4.policy.xml (this whole part is new):
Code:
<Rule Description="Restrict Touch Input API usage to TCB only" ResourceIri="$(GLOBAL_RESOURCES)/GWEINPUT/TOUCH" SpeakerAccountId="$(SYSTEM_USER_NAME)" PriorityCategoryId="PRIORITY_STANDARD">
<Authorize>
<Match AccountId="$(SYSTEM_RESOURCE_GROUP_NAME)" AuthorizationIds="GENERIC_ALL"></Match>
</Authorize>
</Rule>
<Rule Description="Restrict Text Input API usage to TCB only" ResourceIri="$(GLOBAL_RESOURCES)/GWEINPUT/TEXT" SpeakerAccountId="$(SYSTEM_USER_NAME)" PriorityCategoryId="PRIORITY_STANDARD">
<Authorize>
<Match AccountId="$(SYSTEM_RESOURCE_GROUP_NAME)" AuthorizationIds="GENERIC_ALL"></Match>
</Authorize>
</Rule>
--------------
difference in 0889BCD2-6269-4828-B179-4941C977F84D.rgu (keys missing in NoDo):
Code:
[HKEY_CLASSES_ROOT\http\Extensions]
".mpg"="{6949148B-D79D-4f29-A1CF-2B8E9B675F32}"
".mpeg"="{6949148B-D79D-4f29-A1CF-2B8E9B675F32}"
--------------
difference in 969eb155-55ff-4884-9ecb-241c8a4b6e09.policy.xml (new part):
Code:
<!-- ACLs the \Applications\Installer directory to be TCB accessible only -->
<Rule Action="CreateNew" Description="ACL the decrypted XAP file repository to be TCB only" ResourceIri="$(FILESYS_PRIMARY_ROOT)/APPLICATIONS/INSTALLER/(*)" SpeakerAccountId="$(SYSTEM_USER_NAME)" PriorityCategoryId="PRIORITY_HIGH">
<Authorize>
<Match AccountId="$(SYSTEM_RESOURCE_GROUP_NAME)" AuthorizationIds="FILE_ALL_ACCESS"></Match>
</Authorize>
<Stop>
<!-- Everybody else is denied acess -->
<Match AccountId="$(EVERYONE_GROUP_NAME)"></Match>
</Stop>
</Rule>
------------------
difference in 8832CC7E-2E59-4dba-8C93-9FEF47A1E390.rgu (new keys):
Code:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SQADriverUtility]
"Dll"="SQADriverUtility.dll"
"Prefix"="HQU"
"Index"=dword:2
"Order"=dword:A
"IClass"=multi_sz:"{4619249B-6362-4520-B700-984C8E7BC7A4}"
------------
differences in 969eb155-55ff-4884-9ecb-241c8a4b6e09.policy.xml (new part):
Code:
<!--Begin Generated routing/authz rules for IMPORTXMLCONTACTS.EXE -->
<Rule Description="Route IMPORTXMLCONTACTS.EXE" ResourceIri="$(LOADERVERIFIER_ROUTE_BY_NAME)/PRIMARY/WINDOWS/IMPORTXMLCONTACTS.EXE" SpeakerAccountId="$(SYSTEM_USER_NAME)" PriorityCategoryId="PRIORITY_LOW">
<Authorize>
<Match AccountId="$(OM_USER_NAME)" AuthorizationIds="LV_ACCESS_EXECUTE" />
</Authorize>
</Rule>
<Rule Description="Authorize IMPORTXMLCONTACTS.EXE be loadable to $(OM_USER_NAME) and chambers" ResourceIri="$(LOADERVERIFIER_EXE_AUTHZ_INROM_ROOT)/WINDOWS/IMPORTXMLCONTACTS.EXE" SpeakerAccountId="$(SYSTEM_USER_NAME)" PriorityCategoryId="PRIORITY_STANDARD">
<Authorize>
<Match AccountId="$(OM_USER_NAME)" AuthorizationIds="LV_ACCESS_EXECUTE,LV_ACCESS_LOAD" />
</Authorize>
</Rule>
<!--End Generated routing/authz rules for IMPORTXMLCONTACTS.EXE -->
--------------
difference in 47124C2D-F925-48e2-A1E5-A5428F8994AB.rgu (new keys):
Code:
[HKEY_CURRENT_USER\Software\Microsoft\Inbox\Settings\IE\WordSelect]
"Enable"=dword:00000001
--------------
difference in BFCC0130-B02D-4b5a-BF04-089C93073D97.policy.xml (new part):
Code:
<!--Begin Generated accounts and routing/authz rules for S-1-5-112-0-0X10-0X0000034 -->
<Macro Id="HFAHOST_EXE_SID" Value="S-1-5-112-0-0X10-0X0000034" />
<Account Id="$(HFAHOST_EXE_SID)" FriendlyName="hfahost.exe" Description="Autogenerated chamber for hfahost.exe" Type="User">
<MemberOfGroup GroupAccountId="$(ELEVATED_RIGHTS_CHAMBER_GROUP_NAME)" />
</Account>
<!--Begin Generated routing/authz rules for hfahost.exe -->
<Rule Description="Route hfahost.exe" ResourceIri="$(LOADERVERIFIER_ROUTE_BY_NAME)/PRIMARY/WINDOWS/HFAHOST.EXE" SpeakerAccountId="$(SYSTEM_USER_NAME)" PriorityCategoryId="PRIORITY_LOW">
<Authorize>
<Match AccountId="$(HFAHOST_EXE_SID)" AuthorizationIds="LV_ACCESS_EXECUTE" />
</Authorize>
</Rule>
<Rule Description="Authorize hfahost.exe be loadable to $(HFAHOST_EXE_SID) and chambers" ResourceIri="$(LOADERVERIFIER_EXE_AUTHZ_INROM_ROOT)/WINDOWS/HFAHOST.EXE" SpeakerAccountId="$(SYSTEM_USER_NAME)" PriorityCategoryId="PRIORITY_STANDARD">
<Authorize>
<Match AccountId="$(HFAHOST_EXE_SID)" AuthorizationIds="LV_ACCESS_EXECUTE,LV_ACCESS_LOAD" />
</Authorize>
</Rule>
<!--End Generated routing/authz rules for hfahost.exe -->
<!--End Generated accounts and routing/authz rules for S-1-5-112-0-0X10-0X0000034 -->
<Rule Description="Only System authorized to execute hfahost.exe" ResourceIri="$(WINDOWS_DIRECTORY_PATH)/HFAHOST.EXE" SpeakerAccountId="$(SYSTEM_USER_NAME)" PriorityCategoryId="PRIORITY_HIGH">
<Authorize>
<Match AccountId="$(SYSTEM_RESOURCE_GROUP_NAME)" AuthorizationIds="FILE_ALL_ACCESS"></Match>
</Authorize>
<Stop>
<Match AccountId="$(EVERYONE_GROUP_NAME)"></Match>
</Stop>
</Rule>
--------------
differences in BFCC0130-B02D-4b5a-BF04-089C93073D97.rgu (new keys):
Code:
[HKEY_LOCAL_MACHINE\System\EventLog\Channel\Microsoft-WindowsMobile-DeviceManagement-Channel\Logging]
"Level"=dword:00000004 (was level 1)
Code:
[HKEY_LOCAL_MACHINE\System\EventLog\Provider\{2CA9261F-3EC4-4816-A1FA-89DBF573F286}]
[HKEY_LOCAL_MACHINE\System\EventLog\Provider\{2CA9261F-3EC4-4816-A1FA-89DBF573F286}\Channels\Microsoft-WindowsMobile-DeviceManagement-Channel]
"Value"=dword:00000010
[HKEY_LOCAL_MACHINE\System\EventLog\Provider\{2CA9261F-3EC4-4816-A1FA-89DBF573F286}\Channels\System]
"Value"=dword:00000008
[HKEY_LOCAL_MACHINE\System\EventLog\Provider\{2CD55076-3ECA-4cba-B146-B61D3B7694F7}\Channels\Microsoft-WindowsMobile-DeviceManagement-Channel]
"Value"=dword:00000010
[HKEY_LOCAL_MACHINE\System\EventLog\Provider\{2CD55076-3ECA-4cba-B146-B61D3B7694F7}\Channels\System]
"Value"=dword:00000008
[HKEY_LOCAL_MACHINE\System\EventLog\Provider\{08DDE8CC-029F-4e95-9D84-259CCF3A6808}\Channels\Microsoft-WindowsMobile-DeviceManagement-Channel]
"Value"=dword:00000010
[HKEY_LOCAL_MACHINE\System\EventLog\Provider\{08DDE8CC-029F-4e95-9D84-259CCF3A6808}\Channels\System]
"Value"=dword:00000008
[HKEY_LOCAL_MACHINE\System\EventLog\Provider\{613EEF6B-1DE4-4ab1-8D3B-6758E8991701}\Channels\Microsoft-WindowsMobile-DeviceManagement-Channel]
"Value"=dword:00000010
[HKEY_LOCAL_MACHINE\System\EventLog\Provider\{613EEF6B-1DE4-4ab1-8D3B-6758E8991701}\Channels\System]
"Value"=dword:00000008
[HKEY_LOCAL_MACHINE\System\EventLog\Provider\{521D5AA6-AC67-449f-9592-4CB80BEA3126}\Channels\Microsoft-WindowsMobile-DeviceManagement-Channel]
"Value"=dword:00000010
[HKEY_LOCAL_MACHINE\System\EventLog\Provider\{521D5AA6-AC67-449f-9592-4CB80BEA3126}\Channels\System]
"Value"=dword:00000008
Forgive the newbie question, but *can* you port a ROM between GSM and CDMA?
In any case, any CDMA-ready ROM should include the NoDo update already (copy+paste, among other things).
hi, i'm requesting devs who build cm 13 for bullhead to kindly share their roomservice.xml. i'm trying to build cm from source and the system generated roomservice.xml is as follows:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_lge_bullhead" path="device/lge/bullhead" remote="github" />
<project name="CyanogenMod/android_kernel_lge_bullhead" path="kernel/lge/bullhead" remote="github" />
</manifest>
i think this does not contain bolbs, which are also required for building from source. i tried building without them and i get the following error:
Code:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/home/gururoop/android/cm13/out/target/product/bullhead/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/LINKED/libsurfaceflinger.so] Error 1
make: Leaving directory `/home/gururoop/android/cm13'
Can anyone help me with these errors?
gururoop said:
hi, i'm requesting devs who build cm 13 for bullhead to kindly share their roomservice.xml. i'm trying to build cm from source and the system generated roomservice.xml is as follows:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_lge_bullhead" path="device/lge/bullhead" remote="github" />
<project name="CyanogenMod/android_kernel_lge_bullhead" path="kernel/lge/bullhead" remote="github" />
</manifest>
i think this does not contain bolbs, which are also required for building from source. i tried building without them and i get the following error:
Code:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/home/gururoop/android/cm13/out/target/product/bullhead/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/LINKED/libsurfaceflinger.so] Error 1
make: Leaving directory `/home/gururoop/android/cm13'
Can anyone help me with these errors?
Click to expand...
Click to collapse
Vendor files? https://github.com/TheMuppets/proprietary_vendor_lge/tree/cm-13.0
I know the vendor stuff is different from everything else I've used/built for and I only had to "brunch bullhead" to build a different rom I tried.
Keithn said:
Vendor files? https://github.com/TheMuppets/proprietary_vendor_lge/tree/cm-13.0
I know the vendor stuff is different from everything else I've used/built for and I only had to "brunch bullhead" to build a different rom I tried.
Click to expand...
Click to collapse
did you extract blobs using extract-files.sh script? can you please share the roomservice.xml of the ROM that built successfully and booted?
gururoop said:
did you extract blobs using extract-files.sh script? can you please share the roomservice.xml of the ROM that built successfully and booted?
Click to expand...
Click to collapse
Nope I never had to do it that way and I usually just add the vendor files from the muppets git (linked above) instead.
What commands are you using to build?
Try just using ". build/envsetup.sh" then use "brunch bullhead". Downloaded everything I needed to build omni last I tried. My server/PC I use for building isn't connected or running right now so I can't directly pull the XML I used. I probably could later though.
Another thing is that you can add your own XML into the local manifests to sync files so you don't have to touch the room service.XML. Here is one I was using for an example https://github.com/Keith-N/local_manifests/blob/master/local_manifests.xml
Keithn said:
Nope I never had to do it that way and I usually just add the vendor files from the muppets git (linked above) instead.
What commands are you using to build?
Try just using ". build/envsetup.sh" then use "brunch bullhead". Downloaded everything I needed to build omni last I tried. My server/PC I use for building isn't connected or running right now so I can't directly pull the XML I used. I probably could later though.
Another thing is that you can add your own XML into the local manifests to sync files so you don't have to touch the room service.XML. Here is one I was using for an example https://github.com/Keith-N/local_manifests/blob/master/local_manifests.xml
Click to expand...
Click to collapse
I would really appreciate if you could share your roomservice.xml whenever possible. I did try to give commands as per your post and got the error mentioned in the OP. I'm trying to start with building CM and expand the base if I succeed.
I tried it out and it's missing the vendor files. You'll notice no vendor/lge in your cm13 directory. The way I talked about in the previous post will work. You need to get those vendor files. I could give you my roomservice.xml but it shouldn't look any different because I never touched it. I used an addition xml to add aditional files which is why my roomservice.xml was never changed. The easy way is to add this line into whatever xml you are planning on using to sync the files.
Code:
<project name="TheMuppets/proprietary_vendor_lge" path="vendor/lge" remote="github" revision="cm-13.0" />
It grabs the files from https://github.com/TheMuppets/proprietary_vendor_lge and syncs them into vendor/lge
If you have troubles then let me know, but that is all I needed to do.
Does anyone have any tips/techniques for resolving "No rule to make target" errors?
I got the error:
Code:
make: *** No rule to make target 'libsrv_init', needed by '/home/buildbot/android/slim/out/target/product/maguro/obj/EXECUTABLES/pvrsrvinit_intermediates/pvrsrvinit.o'. Stop.
So to find the reference I did
Code:
find -type f -name "*.mk"|xargs grep pvrsrvinit
./device/samsung/tuna/BoardConfig.mk: pvrsrvinit.te \
./hardware/ti/omap4/common.mk: pvrsrvinit \
./hardware/ti/omap4/pvrsrvinit/Android.mk:LOCAL_SRC_FILES := pvrsrvinit.c
./hardware/ti/omap4/pvrsrvinit/Android.mk:LOCAL_MODULE := pvrsrvinit
~/android/slim $ find -type f -name "*.mk"|xargs grep libsrv_init
./device/samsung/maguro/self-extractors/imgtec/staging/device-partial.mk: libsrv_init \
./device/samsung/maguro/self-extractors/imgtec/staging/proprietary/Android.mk:LOCAL_MODULE := libsrv_init
./device/samsung/maguro/self-extractors/imgtec/staging/proprietary/Android.mk:LOCAL_SRC_FILES := libsrv_init.so
./hardware/ti/omap4/pvrsrvinit/Android.mk:LOCAL_ADDITIONAL_DEPENDENCIES := libsrv_init libsrv_um
It is clear here that a blob is missing.
Searching online suggested adding another local manifest (is this the right one?)
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="DonkeyCoyote/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="android-5.1" />
</manifest>
I suppose if it was a new device I would have to search the filesystem of the phone for the file right?
Has anyone got any tips of better ways of dealing with this situation?
As a side note: How did SlimLP compile without this extra repo in the manifest?
Or is it common that even for big ROMs that people are doing "dirty" compiles with local manifests and/or locally extracted files in place?
P.S. I am using Lollipop still because my new Chinese phone is still on Lollipop and I thought I would start by building SlimLP for my old maguro as a starting point since the maguro was supported at that point.
I wasn't expecting to get compile errors!
opticyclic said:
Does anyone have any tips/techniques for resolving "No rule to make target" errors?
I got the error:
Code:
make: *** No rule to make target 'libsrv_init', needed by '/home/buildbot/android/slim/out/target/product/maguro/obj/EXECUTABLES/pvrsrvinit_intermediates/pvrsrvinit.o'. Stop.
So to find the reference I did
Code:
find -type f -name "*.mk"|xargs grep pvrsrvinit
./device/samsung/tuna/BoardConfig.mk: pvrsrvinit.te \
./hardware/ti/omap4/common.mk: pvrsrvinit \
./hardware/ti/omap4/pvrsrvinit/Android.mk:LOCAL_SRC_FILES := pvrsrvinit.c
./hardware/ti/omap4/pvrsrvinit/Android.mk:LOCAL_MODULE := pvrsrvinit
~/android/slim $ find -type f -name "*.mk"|xargs grep libsrv_init
./device/samsung/maguro/self-extractors/imgtec/staging/device-partial.mk: libsrv_init \
./device/samsung/maguro/self-extractors/imgtec/staging/proprietary/Android.mk:LOCAL_MODULE := libsrv_init
./device/samsung/maguro/self-extractors/imgtec/staging/proprietary/Android.mk:LOCAL_SRC_FILES := libsrv_init.so
./hardware/ti/omap4/pvrsrvinit/Android.mk:LOCAL_ADDITIONAL_DEPENDENCIES := libsrv_init libsrv_um
It is clear here that a blob is missing.
Searching online suggested adding another local manifest (is this the right one?)
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="DonkeyCoyote/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="android-5.1" />
</manifest>
I suppose if it was a new device I would have to search the filesystem of the phone for the file right?
Has anyone got any tips of better ways of dealing with this situation?
As a side note: How did SlimLP compile without this extra repo in the manifest?
Or is it common that even for big ROMs that people are doing "dirty" compiles with local manifests and/or locally extracted files in place?
P.S. I am using Lollipop still because my new Chinese phone is still on Lollipop and I thought I would start by building SlimLP for my old maguro as a starting point since the maguro was supported at that point.
I wasn't expecting to get compile errors!
Click to expand...
Click to collapse
Did you find a solution? I'm facing the same problem, any clue would be appreciated.
grab (link disallowed since i have less than 10 posts and they ****ing think it's spam... google driver binaries and sources for maguro and it's the imagination technologies file) then extract and execute at root of your source, and it should shove some binaries and a makefile that declares the missing dependency
Skip the "Extract proprietary blobs" step and instead use "TheMuppets"
Skip the "Extract proprietary blobs" step and instead use "TheMuppets", meaning, add the following lines to the file .repo/local_manifests/roomservice.xml:
Code:
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" depth="1" />
<project name="TheMuppets/proprietary_vendor_ti" path="vendor/ti" revision="master" depth="1" />
Rerun "repo sync" and the rest of the steps, excluding the "extract proprietary blobs" step. That should fix it.