Found Some Interesting Files in system/etc/sysconfig/ - Samsung Galaxy S10+ Guides, News, & Discussion

I am on SM-G975U1 so needless to say I am not rooted, but whilst perusing the system files I came across 2 Samsung .cert files; both of which are not installed in security certificates, or user certificates, though they can be. The other is nfcee_access.xml, which I'll get into the details of after the first 2 are described.
I tried installing them in User Certificates, first for Apps and VPN, which led to a constant warning in notifications so I removed them and tried installing them for Wi-Fi which got rid of the notification while having them installed. They don't seem to do anything so far, but their name is whats interesting, one is ASKS_INTER.crt, and the other is ASKS_ROOT.crt and they are both signed by Samsung Incorporated.
The subject and issuer details for both of them are -
CN = Samsung Cert INTER/Samsung Cert ROOT
OU = Mobile
O = Samsung Corporation
L = Suwon City
S = South Korea
C = KR
Basic Constraints are -
Subject Type=CA
Path Length Constraint=0
The key usage for both are -
Digital Signature, Certificate Signing, Off-line CRL Signing, and CRL Signing.
I de-compiled an .apk for a file viewer, added them to the existing .cert folder, then rebuilt them from scratch in Android Development, but I know too little about building apps so I was unable to install after compiling it.
I'm not sure what the certifications are for, but they aren't installed anywhere in the phone except the two locations I found them in which weren't app files; they seem to be just be a hidden extra.
The NFC_ACCESS file was found in another folder, I can't recall which, and is not a .cert file, but an .xml file. It contains multiple different signatures (let it be known I do not have a T-Mobile SIM card, nor did I flash to U1 from a T-Mobile variant of U) -
<!-- Samsung nfcextras Signature -->
<!-- Samsung Platform signature -->
<!-- T-Mobile development Signature -->
<!-- T-Mobile production Signature -->
<!-- Mobeewave Signature -->
Under <!-- Samsung Platform signature --> is -
<package android:name="org.simalliance.openmobileapi.service" />
<package android:name="com.android.se" />
<package android:name="com.skms.android.agent" />
<package android:name="com.samsung.android.spay" />
<package android:name="com.samsung.android.spayfw" />
<package android:name="com.sem.factoryapp" />
</signer>
The only package I don't have installed on my phone is <package android:name="org.simalliance.openmobileapi.service" />.
I'm not sure what this file could be for either, the only thing I can think of is adding the .xml signatures to the .apk of NFC or somewhere within the system NFC files. I am unsure of where the ASKS_INTER.crt and ASKS_ROOT.crt would go, maybe they are just for building apps and signing them?
Are any of these files of any value? What could they be for other than signing apps? From what I can tell they are standalones.

The ask_root.crt one is very eye brow raising. Can it be hex edited or decompiled? I know very little about all this. Maybe someone with more knowledge can chime in.

Related

[APP]reg/rgu-2-provxml translator v3!!!

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 ...

[TUT] YOU want to cook? Here is how to do - in 5 Minutes using NATALY!

Okay,
in this example we are going to use genious Bepe's PlatformRebuilder Kitchen and Mondilv's Nataly ROM. You get this in one package from Nataly Projektpage, just download the latest stable Nataly Kitchen. While no one else seems to have problems, on my Diamond 2.7 makes weird device behaviour, so i recommend 2.6
Bepe's new kitchen is not limited to Diamond devices, the more it is able to port foreign OS into your kitchen very easy and very well, more the more it is able to manage different language versions in one and only kitchen and most the more it can simultaniously manage different ROM Versions, as Lite, Premium, etc. Take a look at the kitchen tutorial, alternativly found here as file - you'll be surprised !!! With some luck he is gonna publish a grafical GUI for his kitchen in a while - so stay tuned.
Preparation: Make shure you got unsigned HardSPL installed!!!
First step: Unpack Nataly kitchen directly to your C-Drive e.g.: "C:\nataly\..."!
Second step: Remove all packages/folders from underneath EN_KITCHEN you think you won't need.
Third step: If you want to add packages/apps from folder "_ADDS/EXT/Diamond" you just have to drag and drop them back to "EN_KITCHEN/EXT/Diamond". If you want to add packages/apps from folder "_ADDS/SYS" you may drag and drop them to "EN_KITCHEN/SYS" or you may convert them to the new package format Bebe is using and afterwards drag and drop them to "EN_KITCHEN/EXT/Diamond". Ervius did write us a tool EXT_PAckages_rebuilder.exe to do this by simply letting the folder drop onto it and all other is done automatically. After this you can cut/copy and paste the directory to path EXT/Diamond/...! It will get included by platformrebuilder automatically too. *
Fourth step: If you want to include other apps you like, you need to use Ervius (yes again) genious Ervius_Package_Creator found in the kitchen under path UTILS/.... Open the cab file and MSCEInfen will get opened automatically. Click "Extract CAB files with original names in folder" - Button (CAB and this folder MUST have the same path!) and close MSCEInfen, you get returned to package creator and may further correct things or not, at this stage of knowhow, maybe better leave all to Package Creator, it will do the rest the right way. So just click DONE and COMPLETE PACKAGE. Now you need Ervius EXT_PAckages_rebuilder again to get package converted into new format and thereafter you may add it to EXT/Diamond/...! *
Last Step: Click "build_rom.bat" under path EN_KITCHEN and wait - when finished there will be the file "OS-new.nb" which you have to select in automatically opened HTCRT.exe under item OS and further select the platform from dropdown, etc., fill in Version number etc. and thereafter you will get a file "OS-new.nbh" or whatever you named it in HTCRT. [see screenshot below]
* If your application now does not work correctly (quite a few will not do by now ) you should dump your registry with e.g. dotfreds FDCSoft Taskmanagers builtin RegistryEditor. "Export All" found in context menu, do this before and after manual installation of the app, copy both dumped reg files to PC and compare them with e.g. Advanced Registry Tracer (Elcomsoft), export the differences and clean hives (keys) that you don't need (e.g. application foreign keys) add the rest to your corresponding app.reg file!
You are ready to flash your own ROM with DiamondCustomRUU.exe now. Got it?
DONT FORGET: ALL YOU DO IS AT YOUR TOTALLY OWN RISK!
Your own SOURCE for ROM?
This has been simple, didn't it? So if you'd like to use other source ROM (maybe that of your provider or country) you should download Bepe's Basic Kitchen and the Toolset from darkforcesteam-forum and watch his video tutorial, as this shows everything you need to know step by step. After another 5 minutes you got your own source kitchened what else do you need?
Upgrading your OS? That's far as simple. Watch this video and you'll laugh because of simplicity.
Hope i did not forget something, lol!
Have fun...
P.S.: If you find this useful, you may vote the thread and the more you could post a reply, as this may keep the thread up in list and therefore findable to others, as it is not sticky!
Read on further customization of your ROM in posts beneath (2/3)!​
Further customizing your ROM!
RADIO
You can find recommended Radio 1.14.25.05 for latest Nataly ROM here: http://customroms.com/diam_radio_1.14.25.05.rar - Mondilv did include the corresponding rilphone.dll already in Nataly Rom! Be shure your device is Security unlocked, which is not the same as SIM-Unlocked!!! Read this thread please: http://forum.xda-developers.com/showthread.php?t=470306! and thereafter this thread: http://forum.xda-developers.com/showthread.php?t=414835!
To not let you get confused at this point a short tip to security unlock: First flash the Radio 1.00.25.05 on your phone, after that start DiamondSecUnlocker.exe from your PC and click Step 1 button. Now the flashing gui of the DiamondCustomRUU will pop up and let you flash the Radio 1.20 Olinex (which you did not see in the zip-package before ) after that is done you will be able to complete Step 2 of the still running SecUnlocker on your PC and you will get order to complete unlock on your device. There you have to set the wanted options and close it on device. Now the SecUnlocker on PC comes to end and after this all you will be able to flash any radio onto your device you want (as long as you see text "Security Unlocked on your three colored bootup screen before flashing process). Beware of what you flash, you could even flash $¥%¢¤#in Nokia radio firmware now onto your device and brick it!!! To lock security again you will need this tool: http://forum.xda-developers.com/attachment.php?attachmentid=155646&d=1234206431!
Comment: At the same day and weather conditions inbetween one hour with Radio 1.09.25.23, GPS needed about ~40 seconds to get 4/5 satellites fixed - with Radio 1.14.25.05 i got 9/10 satellites fixed in about ~30 seconds, which is quite a difference.
-----------------------------------​
Custom Folders
If you want to make custom folders and sort your programs in YOUR way do it this way:
make new unique named directory under path EXT/Diamond/ eg. "xyzYOURdir"
make new directory named "files" in that directory [EXT/Diamond/xyzYOURdir/files]
in "files" directory create new file named: "mxipupdate_xyzYOURdir_100.provxml"
in that file put code:
Code:
<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="%CE11%\YOURdir" translation="install">
<characteristic type="MakeDir" />
[COLOR="Blue"] <characteristic type="icon.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value="\Windows\shellres.192.dll,-8216" translation="install" />
</characteristic>
</characteristic> [/COLOR]
<characteristic type="Streaming Media.lnk" translation="install">
<characteristic type="[B]Shortcut[/B]">
<parm name="Source" value="\Windows\StreamingPlayer.exe" translation="install" />
</characteristic>
</characteristic>
<characteristic type="Windows Media.lnk" translation="install">
<characteristic type="[B]Copy[/B]">
<parm name="Source" value="\Windows\WMPlayer.lnk" translation="install" />
</characteristic>
</characteristic>
<characteristic type="Calculator.lnk" translation="install">
<characteristic type="[B]Move[/B]">
<parm name="Source" value="%CE11%\Calculator.lnk" translation="install" />
</characteristic>
</characteristic>
[COLOR="Red"] <characteristic type="%CE11%\Pictures [B]&[/B] Videos.lnk" translation="install">
<characteristic type="[B]Delete[/B]">
<parm name="ForceDelete"/>
</characteristic>
</characteristic>[/COLOR]
</characteristic>
</characteristic>
</wap-provisioningdoc>
Did you notice the blue part, this is creation of shortcut which is assigned with special icon like told here beneath -->
Okay you can move links or copy and later delete the source! Pay attension on paths and spelling, if special characters are used in name of link use html code as in sample, for paths there is no way to mask those, then make new shortcut from exe and delete old original, but that has to take place later and NOT here, put that delete (red) section in EXT/Diamond/zconfig/finish.provxml! Microsoft even recommends to put each command in own dir-tags (remember ONE mistake/mistype/etc. and the whole prv-file is ignored/rejected!) so the prov-file in Office oem package is nice commented file to learn. Here is listing of %CE%-commands!
-----------------------------------​
Folder Icons
You can customize every folder in startmenu by adding an icon to it (likewise Office or Games folders) In those directories there is an "icon.lnk" file which has a string inside, eg: 33#"\Windows\shellres.192.dll,-8216"
the number before # is the stringlength behind it
By changing the number and or referenced dll you can assign different icons to the folder the file is in. There are even several cabs to install whole folder-themes in the forum to find.
-----------------------------------​
Add email account to ROM
Add this eg. in your custom folders "mxipupdate_xyzYOURdir_100.provxml"
Code:
<characteristic type="EMAIL2">
<characteristic type="{[COLOR="red"]XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX[/COLOR]}">
<parm name="SERVICENAME" value="Bobs Mail Account" />
<parm name="SERVICETYPE" value="POP3" />
<parm name="INSERVER" value="mail.northwindtraders.com" />
<parm name="OUTSERVER" value="smtp.northwindtraders.com" />
<parm name="NAME" value="Bob Kelly" />
<parm name="REPLYADDR" value="[email protected]" />
<parm name="AUTHNAME" value="bobk" />
<parm name="AUTHSECRET" value="bobs_password" />
<parm name="DOMAIN" value="" />
<characteristic type="NAMEDPROPS">
<parm name="MyNamedProp#0003" value="1" />
<parm name="AnotherNamedProp#0003" value="200" />
</characteristic>
<characteristic type="TAGPROPS">
<parm name="8128000B" value="1"/>
<parm name="812C000B" value="1"/>
</characteristic>
</characteristic>
</characteristic>
<GUID>
Defines one specific e-mail account. This is a globally unique identifier (GUID --> example: {1b57531a-54a0-4f2e-ab75-3b015628da62}) that you must generate for each new account, use your imagination or maybe OEMizer - section popEmail - just copy the content of prov-file .
-----------------------------------​
MANILA
To edit Manila grafical files you may search for this cool tool, coded by Chainfire, at this thread CFC GUI - THE Manila/TF3D Image Editor. With this tool you are able to get files directly from device, decompress them for beeing able to edit (and save to local disk), afterwards recompress them and send them back to device again (to check)- what more could we need?
To edit the manila language files you may use most text editors - i use simply notepad , for configuration files u may use mode9 editor
Or if you do not plan to integrate them in ROM you may use TF3D Config!
I've done some files for Manila icons and clock to customize Nataly Design you find attached below.
Add weather city to Manila
Simply edit app.reg file in "EXT/Diamond/Manila ...." (Notepad) and add this way: ""Weather.CityList"="EUR|DE|GM001|BERLIN""
In same reg file you may define your program links manila displays:
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\Manila\ProgramLauncher\0]
"DispName"="Album"
"IconPath"=""
"IsReadOnly"=dword:0
"Path"="\Windows\Start Menu\Programs\Album.lnk"
Further customizing your ROM
Add owner info to ROM
This is better to write down in device/settings/owner info and the export reg key with PHM because Adress are hex values
looksalike this:
Code:
[HKEY_CURRENT_USER\ControlPanel\Owner]
"Owner"=hex:59,00,6F,00,75,00,72,00,20,00,4E,00,61,00,6D,00,65,00,00,00,00,00,00,\
...
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,39,00,39,00,39,00,39
"Notes"="If you find this device and return it to me, you'll shurly get rewarded! Tnx!"
"E-mail"="[email protected]"
"Telephone"="9999-9999-9999"
"Name"="Your Name"
Add this to an "app.reg" file (create one if needed) for example in path "EXT/Diamond/xyzYOURdir/" !
Now adding registry infos should be clear, use your imagination to expand !
Want to localize your ROM
Now we are getting deeper,lol. In Nataly ROM you find it in "zconfig\app.reg" under TZ & RU LOCALE looks alike (for germany eg.):
Code:
;TZ0 Berlin
[HKEY_LOCAL_MACHINE\Time]
"TimeZoneInformation"=hex:c4,ff,ff,ff,57,00,2e,00,20,00,45,00,75,00,72,00,6f,00,\
70,00,65,00,20,00,53,00,74,00,61,00,6e,00,64,00,61,00,72,00,64,00,20,00,54,\
00,69,00,6d,00,65,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,0a,00,00,00,05,00,03,00,00,00,00,00,00,00,00,00,00,00,57,00,2e,00,20,\
00,45,00,75,00,72,00,6f,00,70,00,65,00,20,00,44,00,61,00,79,00,6c,00,69,00,\
67,00,68,00,74,00,20,00,54,00,69,00,6d,00,65,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,05,00,02,00,00,00,00,00,00,00,\
c4,ff,ff,ff
;RU LOCALE
[HKEY_LOCAL_MACHINE\nls]
"DefaultACP"=dword:000004e4
"DefaultLCID"=dword:00000407
"DefaultOCP"=dword:00000352
[HKEY_LOCAL_MACHINE\nls\overrides]
"S1159"="AM"
"S2359"="PM"
"LCID"=dword:00000407
[HKEY_LOCAL_MACHINE\Security\ColdInit]
"Locale"=dword:00000407
Too you may change clock appearance and maybe add your personal alarms (<-- although they don't work reliable) already (very useful for hardcore-flashers):
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Clock]
"AppState"=hex:12
"GMT_OFFSET"=dword:ffffffc4
"TZIndex"=dword:00000055
"AppInfo"=hex:01,00,00,00,e8,00,00,00,6e,00,00,00,00,00,00,00,01,00,00,00,3a,01,\
00,00,69,00,00,00,00,00,00,00,01,00,00,00
"HomeDST"=dword:00000001
"Home"=dword:000000e8
"AutoDST"=dword:00000001
"SoundAlarmAlways"=dword:00000001
"NetworkTimeNotifyUser"=dword:00000001
"NetworkTimeSync"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Microsoft\Clock\0]
"AlarmText"="Wecker"
"Len_AlarmText"=dword:00000006
"AlarmHandle"=hex:24,00,00,3e,15,00,00,3a,23,00,00,33,17,00,00,39,25,00,00,32,00,00,00,00,00,00,00,00
"AlarmSnd"="[COLOR="Red"]iiih[/COLOR]"
"Len_AlarmSnd"=dword:00000006
"AlarmDays"=hex:1f
"AlarmTime"=hex:0e,01
"AlarmFlags"=hex:01
"AlarmNotFlags"=hex:1f,00,00,00
Don't use this settings otherwise you'll get up very early in future , just configure your alarms and export the registry settings with PHM!
You have to put corresponding file in path EN_KITCHEN\OEM\OEMDrivers!
-------------------------------------------------------------​
Boys, this all is not my work, it is the work of several developers, coding for our pleasure and please don't think this would be done in some minutes, not even some hours, at least days and often months of work and investigation is behind those tools and apps, so be that fair and donate to show your appreciation and honor for them and their work and spent lifetime, otherwise go buy $¥%¢¤#in stuff at $¥%¢¤#in developers sites with $¥%¢¤#in apps full of $¥%¢¤#in nag or splash screens and full of $¥%¢¤#in not workin code. The guys here spent a lot of their lifetime (i mean this exactly: LIFETIME) developing tools to satisfy our all needs. So please be that fair and donate some money to keep developers able to develop furthermore...you should really not hesitate about donating some bucks. This all here is not possible being payed by us, because the real price would be hundreds and thousands of dollars..believe me.
So go donate and begin feelin better on all what you get deserved here at xda-devs! And furthermore why not donate every month some bucks, as i am shure you throw away a lot more money for $¥%¢¤#in things like cigarettes, tv, music, cars, women or whatever...
Did ya $¥%¢¤#in get me?!
After reading this and using those tools you saved a vast array of hours, days or even months of lifetime, so go $¥%¢¤#in donate to those who spent theirs for you!​
Hey , i can´t download BEPE´S , because i don´t have permission !
Can you upload it at rapidshare for example ?
GahhTheBig said:
Hey , i can´t download BEPE´S , because i don´t have permission !
Can you upload it at rapidshare for example ?
Click to expand...
Click to collapse
Just register (it's free) at the board and you will have permission!
Hi thanks for the info. I have tried for myself but when flashing I get INVALID MODEL ID after 1%, any ideas ?
col laughton said:
Hi thanks for the info. I have tried for myself but when flashing I get INVALID MODEL ID after 1%, any ideas ?
Click to expand...
Click to collapse
Did you really follow the instructions, did you install unsigned HardSPL?
Check this out: http://forum.xda-developers.com/showthread.php?t=409425 or search for your problem and read answers as i don't know what you did exactly!
question
When i've reached the last step (htc rom tool appears), i'm writing the version image etc and by the time i press build it gives me an erro "You need to assign at least one firmware block". i press B and i try to find one,but i don;t know where.
What i'm i doing wrong?
I found the solution.
nsourm said:
When i've reached the last step (htc rom tool appears), i'm writing the version image etc and by the time i press build it gives me an erro "You need to assign at least one firmware block". i press B and i try to find one,but i don;t know where.
What i'm i doing wrong?
I found the solution.
Click to expand...
Click to collapse
I added screenshot for other to see easier what do do where.
Updated manual folder customization ... nice feature!
Updated new features!
figured out folder customization nice feature
question by pm:
ok now....i want to add cabs in kitchen/rom..i have read your tut but havent understand it...so i need to put cab in EXT/Diamond and than open MSCEInf drag cab in and press "Extract CAB files with original names in folder", than cab is in kitchen and it will be cooked in rom??
Click to expand...
Click to collapse
no place cab anywhere on c-drive, then open ervius package creator and select cab, through this msceinf gets opened, click the folder-icon to save all original named files (and stay on the suggested path - a folder directly under drive c) close msceinf by the rightest button on button bar and you get back to package creator, there adjust/review shortcut and click done, click complete package. this package is old style like to use under oem/sys folders, for adding it to EXT/Diamond convert it by ervius package converter and then copy to ext/diamond.
i should make a video from this one day
regards
peet
Steps taken to change the dialer to NON-slider: (Waiting for confirmation and then I'll flash)
1. Extracted Nataly's Kitchen to C:\NATALY
2. I go to _ADDS - EXT - Diamond
Copy PhoneCanvas 3_50_32466_0_noLand to EN_KITCHEN - EXT - Diamond
Remove PhoneCanvas_Slider 3_50_33348_0
3. That's all I wanted to change to the kitchen so I go to Nataly EN_KITCHEN and I click build_rom.bat (creating it)
After that it opens HTCRT.exe as in the screenshot under the tab ROM builder I change device to Diamond *, it automatically changes Model ID, Country ID, Version, Language, which are all unchanged
Firmware contents I select the OS-new.nb
4. Click build! And I named it OS-NATALY-NEW.nbh
Can you confirm to me that I did everything perfect as it should and that I can flash this thing!
Thanks in advance!
One little question after this as well,
The things I install after flashing are:
HTC_Keyboard_PanEU.cab
and a 14 languages update cab (T9 Input 14 Languages Update.cab) which allows to see dutch t9 language.
How to insert that in a rom?
And how to include an installer of TomTom for example (also cab)?
If it's really not possible, I can install those afterwards but it would be great to already have the dutch t9 in the rom, TomTom I could install when it's flashed Thanks in advance!
you did everything right by now, u can flash this and should nake no problems.
if you want to include further cabs follow the instructions one post above, that the procedure to include cabs in rom, if you read second post of thread "further customizing your rom" there is some more told about it. as some apps don't work if only made oem package from cab. so first make backup of registry, install cab, make backup again, copy to pc and compare. differences should reflect installation, put that in app. reg in addition to the contents from cab and then insert in rom...i'll make a video as soon as possible
benko try this
peetx said:
you did everything right by now, u can flash this and should nake no problems.
if you want to include further cabs follow the instructions one post above, that the procedure to include cabs in rom, if you read second post of thread "further customizing your rom" there is some more told about it. as some apps don't work if only made oem package from cab. so first make backup of registry, install cab, make backup again, copy to pc and compare. differences should reflect installation, put that in app. reg in addition to the contents from cab and then insert in rom...i'll make a video as soon as possible
Click to expand...
Click to collapse
Hmmm I'll try to read some more tomorrow and a video would be great indeed! I'll try to flash my rom tomorrow and test thé thing!
WH33LSONFiRE said:
Hmmm I'll try to read some more tomorrow and a video would be great indeed! I'll try to flash my rom tomorrow and test thé thing!
Click to expand...
Click to collapse
i try to make one soon
peetx said:
question by pm:
no place cab anywhere on c-drive, then open ervius package creator and select cab, through this msceinf gets opened, click the folder-icon to save all original named files (and stay on the suggested path - a folder directly under drive c) close msceinf by the rightest button on button bar and you get back to package creator, there adjust/review shortcut and click done, click complete package. this package is old style like to use under oem/sys folders, for adding it to EXT/Diamond convert it by ervius package converter and then copy to ext/diamond.
i should make a video from this one day
regards
peet
Click to expand...
Click to collapse
ervius package converter ?
Look, I have a cab lets say its "HTC_Album_V_2.5.1820.4127.cab"
So I:
1. use packages creator and open cab, then I press the button to extract it with msceinf and then I get a file and windows folder.
Then I select this package by"open package" and press done & complete package.
Then I take the folder I used to store this files I just extracted and so, and rename it to "HTC_Album_V.....4127", and place it in the EXT/Diamond folder?
Just like that? I see a different pattern in this folder than the others in the ext/ folder, mine is loaded with tons of files, the others has first reg file, 0409 and files folder.
Does it mater?
the way I just described...is good? is there anything else supposed to be done in order to add a cab file to the rom?
eranyanay said:
ervius package converter ?
Look, I have a cab lets say its "HTC_Album_V_2.5.1820.4127.cab"
So I:
1. use packages creator and open cab, then I press the button to extract it with msceinf and then I get a file and windows folder.
Then I select this package by"open package" and press done & complete package.
Then I take the folder I used to store this files I just extracted and so, and rename it to "HTC_Album_V.....4127", and place it in the EXT/Diamond folder?
Just like that? I see a different pattern in this folder than the others in the ext/ folder, mine is loaded with tons of files, the others has first reg file, 0409 and files folder.
Does it mater?
the way I just described...is good? is there anything else supposed to be done in order to add a cab file to the rom?
Click to expand...
Click to collapse
No - when files are extracted by msceinf you close this app and get back to ervius package creator, there click done and afterards complete package. this will get you folder in path of cab, this folder convert by ervius package converter and this will reflect same folder structure as ohter packages in ext/diamond, so place new package there and youre done

Question about APN info from apns-conf.xml

I managed to get a system dump from a Samsung Acclaim which is the only Android phone available for my service provider (US Cellular/USCC.)
I found the apns-conf.xml file but I'm not sure what info I need from it to get added to the APNs available for XDAndroid. (I've attached the file.)
Also, wouldn't there be a way to just add this to my system.ext2?
heavymetalmage said:
I managed to get a system dump from a Samsung Acclaim which is the only Android phone available for my service provider (US Cellular/USCC.)
I found the apns-conf.xml file but I'm not sure what info I need from it to get added to the APNs available for XDAndroid. (I've attached the file.)
Also, wouldn't there be a way to just add this to my system.ext2?
Click to expand...
Click to collapse
the apn list provided is sooooooooooo small. Probably because the phone is only available in the US. Not worth looking at but if you wanted to add it to your system.ext2
then
Code:
mkdir mountfolder
sudo mount -o loop system.ext2 mountfolder
Add the apns-conf.xml to /system/etc
then
Code:
sudo umount mountfolder
babijoee said:
the apn list provided is sooooooooooo small. Probably because the phone is only available in the US. Not worth looking at but if you wanted to add it to your system.ext2
then
Code:
mkdir mountfolder
sudo mount -o loop system.ext2 mountfolder
Add the apns-conf.xml to /system/etc
then
Code:
sudo umount mountfolder
Click to expand...
Click to collapse
Well I went through it all but it didn't allow me to use USCC as my apn. Thanks for your help though Babijoee!
heavymetalmage said:
Well I went through it all but it didn't allow me to use USCC as my apn. Thanks for your help though Babijoee!
Click to expand...
Click to collapse
Well if the APN was provided within the apns-conf.xml it should auto-detect. Otherwise you can input it manually
babijoee said:
Well if the APN was provided within the apns-conf.xml it should auto-detect. Otherwise you can input it manually
Click to expand...
Click to collapse
Actually this is not correct the RUU_Bravo_hTC_Asia_WWE_1.19.707.7_Radio_32.36.00.28U_4.06.00.02_2_release_126179_signed rom has an apns-conf.xml that looks like this ..
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 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.
-->
<!-- This file contains fake APNs that are necessary for the emulator
to talk to the network. It should only be installed for SDK builds.
This file is not installed by the local Android.mk, it's installed using
a PRODUCT_COPY_FILES line in the sdk section of the toplevel Makefile.
-->
<!-- use empty string to specify no proxy or port -->
<!-- This version must agree with that in apps/common/res/apns.xml -->
<apns version="6">
<apn carrier="Android"
mcc="310"
mnc="995"
apn="internet"
user="*"
server="*"
password="*"
mmsc="null"
/>
<!--apn carrier="TelKila"
mcc="310"
mnc="260"
apn="internet"
user="*"
server="*"
password="*"
mmsc="null"
/-->
</apns>
And as you can see there's SFA in there that is useful however this rom has no problem configuring the APNS for all of the Asia networks... I have yet to figure out where the configuration is hiding or if it is actually downloaded from the internet using a generic Internet apn named "internet" ..
AsiaWWE-apns.xml
I finally found it .. it seems that the framework-res.apk contains an apns.xml with all the details in it. It would appear that the old /system/etc/apns-conf.xml is depreciated in favour of res/xml/apns.xml in the framework-res.apk file ..
I have attached the Asian WWE apns.xml definition file for everyone in this region ..
nice find will look into it when time lets me
babijoee said:
Well if the APN was provided within the apns-conf.xml it should auto-detect. Otherwise you can input it manually
Click to expand...
Click to collapse
I tried it once again with no luck. I think the issue must have to do with the network being CDMA.
heavymetalmage said:
I tried it once again with no luck. I think the issue must have to do with the network being CDMA.
Click to expand...
Click to collapse
I'll have to have a look at what sidewindr suggested. It could be the root of the problem.
so in my endless quest to play with apn settings, i tried to replace the apn.xml file in the framework-res.apk and when i loaded the new apk, it kept crashing my phone.apk. once i put the original back, it loaded everything up again no problems.
babijoee, do we have an easy way to edit the apns to our liking yet? for testing or whatever...

[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 ?

Forcing external sdcard on android with cordova and file plugin - Galaxy tab 10.5

In a cordova android app (scroll to the bottom for device,version, plugin list, all of it quite up-to-date as of this writing) I want to preferentially store file on the external SDCard and use internal storage if SDCard not there. I am setting my save path to:
persistentFS= cordova.file.externalDataDirectory||cordova.file.DataDirectory||fileSystem.root.toURL();
Its eventual value is file:///storage/emulated/0/Android/data/com.fubar.app/files/, same as cordova.file.externalDataDirectory.
I have set:
<access origin="cdvfile://*" />
...
<preference name="AndroidPersistentFileLocation" value="Compatibility" />
<preference name="AndroidExtraFilesystems" value="files-external,sdcard,files,documents,cache,cache-external,root" />
in config.xml,
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
in AndroidManifest.xml and set various enchantments in index.html Security metatag. I add that a SDcard is inserted, write-enabled and I confirm that I can write to it with - for example - a file manger. It contains the Android/data/com.fubar.myapp/files/ folder, as it should.
All for nothing: files get written to - and read from - the internal device storage. I have read all google could scavenge on this topic but nothing has brought me closer to the task (some folks suggest using the file-system-roots plugin, but it appears to have been subsumed by the file plugin).
Using adb shell, I can see that the external sdcard files folder for the app has an absolute path of:
/storage/extSdCard/Android/data/com.fubar.myapp/files
and calling resolveLocalFileSystemURL on
file:///storage/extSdCard/Android/data/com.fubar.myapp/files
happily succeeds. I do not think that is the way to go, as that path is device dependent.
Any hints? TIA, alf
Edit:
Device: Samsung Galaxy tab 10.5, lollipop 5.0.1 using cordova 5.3.1, with plugins: cordova-plugin-device 1.0.1 "Device" cordova-plugin-dialogs 1.1.1 "Notification" cordova-plugin-file 3.0.0 "File" cordova-plugin-file-transfer 1.3.0 "File Transfer" cordova-plugin-media 1.0.1 "Media" cordova-plugin-whitelist 1.1.0 "Whitelist"
Build host is Linux FC21
I have the same problem. Did you resolve it?

Categories

Resources