yashsingh1/xdaforums huggingface dataset:
[Tizen Software Development] adfree:
New day... new attempt. :D

Google search...

http://www.di-mgt.com.au/xmldsig.html

I am trying to understand this example... maybe this time more luck.

<?xml version="1.0" encoding="UTF-8"?>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
<Reference URI="#object">
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<DigestValue>OPnpF/ZNLDxJ/I+1F3iHhlmSwgo=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>nihUFQg4mDhLgecvhIcKb9Gz8VRTOlw+adiZOBBXgK4JodEe5aFfCqm8WcRIT8GL
LXSk8PsUP4//SsKqUBQkpotcAqQAhtz2v9kCWdoUDnAOtFZkd/CnsZ1sge0ndha4
0wWDV+nOWyJxkYgicvB8POYtSmldLLepPGMz+J7/Uws=</SignatureValue>
<KeyInfo>
<KeyValue>
<RSAKeyValue>
<Modulus>4IlzOY3Y9fXoh3Y5f06wBbtTg94Pt6vcfcd1KQ0FLm0S36aGJtTSb6pYKfyX7PqC
UQ8wgL6xUJ5GRPEsu9gyz8ZobwfZsGCsvu40CWoT9fcFBZPfXro1Vtlh/xl/yYHm
+Gzqh0Bw76xtLHSfLfpVOrmZdwKmSFKMTvNXOFd0V18=</Modulus>
<Exponent>AQAB</Exponent>
</RSAKeyValue>
</KeyValue>
</KeyInfo>
<Object Id="object">some text
with spaces and CR-LF.</Object>
</Signature>

:cyclops:

Later more...

Best Regards

Edit 1.

This text is really cool. :good: :cool:

Now I understand why I was not able to find these 2 Hash Values in Orignal XML...

Because Text is "transformed"/Canonicalize... :cyclops:
[Tizen Software Development] adfree:
:angel:

Done.

I can now sign my TPKs with my SM-Z130H. :cool: :victory:

Thanx to Samsung...

All files include Author Cert is in Firmware of commercial device... :D :cyclops: :D

Now I will check what I can do with Themes...

Best Regards
[Tizen Software Development] adfree:
This work also for Themes TPK... :D

As more security inside... I have only short modified the preview JPGs...

Later I will check what I can add/remove/modify...

Best Regards
[Tizen Software Development] adfree:
Only as Example for Theme... for study. ;)

Tested on my SM-Z130H...

Best Regards
[Tizen Software Development] adfree:
About Signing...

Looks like I can now sign as public, partner and platform Level... :rolleyes:

Need some time to play with privilege...

Best Regards
[Tizen Software Development] adfree:
If somebody want play... :angel:

Hash Signer is "preinstalled" on SM-Z130H and SM-Z300H... maybe no root require...

For Emulator and maybe RD-PQ... or other platform...

Look here:

http://download.tizen.org/live/Tizen:/Mobile/

I have downloaded this RPM... will try later on RD-PQ and my Emulator...

hash-signer-0.0.1-8.1.armv7l.rpm

I have unpacked TPK... but seems package TPK is also supported...

hash-signer.sh -a -d /opt/usr/media/test

public level :cool:

hash-signer.sh -p partner -a -d /opt/usr/media/test

partner level :cool: :cool:

hash-signer.sh -p platform -a -d /opt/usr/media/test

platform level :cool: :cyclops: :cool:

I am using public level for Theme...

With partner and platform I have some issues...

Need more tests...

Best Regards
[Tizen Software Development] trollsid:
New SDK ver 2.4r8 Release notes
[Tizen Software Development] zhsv:
New SDK.. and no news about Gear Fit 2 official support. We can build apps in current SDK, but Samsung Seller Office reject binary, only watch faces accepted.. Marketing?
[Tizen Software Development] adfree:
mobile-wayland-armv7l-tm1-[B]upgrade[/B]/ 2016-08-06 03:52 -
mobile-wayland-armv7l-tm1/ 2016-08-06 03:53 -

:confused:

tizen-mobile_20160805.4.20160805.110834_mobile-wayland-armv7l-tm1-upgrade.tar.gz

:confused: :confused:

Tizen 3

:confused:

:D

:cyclops:

New filename. :highfive:

Best Regards
[Tizen Software Development] adfree:
<feature name="http://tizen.org/feature/screen.size.normal.480.800">true</feature>
<feature name="http://tizen.org/feature/screen.size.normal.720.1280">true</feature>
<feature name="http://tizen.org/feature/screen.size.normal.[B]1080.1920[/B]">true</feature>

Not relevant for SM-Z200F nor SM-Z200Y...

But last Line looks interesting...

Taken from VoiceRec... Tizen 2.4.0.4 ....

Best Regards
[Tizen Software Development] trollsid:
http://m.patrika.com/news/mobile/samsung-tizen-z2-arrives-with-reliance-jio-4g-service-1369055/

Samsung Taijn Z2 special features 4.5 inch display screen Samsung Taijn Z2 said. It supports 4G Vioeltii. Tijn This phone works on OS 3.0. 2000 battery. This smartphone is equipped with 1 GB of RAM

Tizen 3.0 ???
[Tizen Software Development] adfree:
No Panic. :D

Tizen 3.0 is Running Gag for SM-Z200F/SM-Z200Y

Tizen Version:

2.4.0.4

Best Regards
[Tizen Software Development] adfree:
TM2

:confused:

Few days ago I was confuse about elimantion of RD-PQ ... and only N4 Images...

Now TM2...

Best Regards
[Tizen Software Development] adfree:
Memo to me...

SM-N910H seems the "N4" Note 4 Test device for T3...

https://bugs.tizen.org/jira/browse/...AND component = "Applications / Platform App"

Best Regards

Edit 1.

Aha...

https://bugs.tizen.org/jira/browse/TRE-533
[Tizen Software Development] adfree:
Soon we have Friday... and soon month August is over...

So maybe soon new SDK could be available...

2.4 Rev 9 ? :confused:

Or maybe we see something "new" ?

Best Regards
[Tizen Software Development] adfree:
http://download.tizen.org/tct/3.0/Native_TCT/

:confused:

No idea yet... looks new to me...

Best Regards
[Tizen Software Development] adfree:
https://developer.tizen.org/development/tizen-studio/download

:confused:

No idea yet...

Best Regards

Edit 1.

Harhar... :rolleyes:

https://developer.tizen.org/development/tizen-studio/download/release-notes

Seems SDK 2.4 Rev 9 was toooo long and/or boring as new Release... :rolleyes:

Now we can start again from 1...

Edit 2.

Hmmmmm... maybe this could be interesting:
[Tizen Software Development] adfree:
:confused:

Somebody have access to these Combination files?

COMBINATION-FTMA_Z130HDDU0BPB1.tar.zip

http://www.gsm-file.com/files/combinationftmaz130hddu0bpb1tarzip-4989_16267.html

Any idea what is inside?

Best Regards
[Tizen Software Development] hero355:
[MENTION=1030585]adfree[/MENTION]
[Tizen Software Development] adfree:
:confused:

No idea if mistake... but looks like Theme Editor seems public:

http://developer.samsung.com/z/design/theme

Best Regards
[Tizen Software Development] adfree:
After many fails with my ACL experiments...

Maybe I have some progress.

I have created TPK package with Q Launcher (APK) inside... short tested with ACL Version:

2.2.681

On my SM-Z130H...

First result is visible in my Video. :angel:

Later I will check more... if fully working.

Best Regards
[Tizen Software Development] adfree:
For study... as example... :angel:

Own risk.

200 MB package...

"Modified" ACL 2.2.478 and 2.2.681 for Z1 inside...

http://www.mediafire.com/file/bpaw6wv480dbfvu/ACLtestPackage_v1.zip

QLauncher and Root Explorer inside...

At the moment they use same folder/path... so not at the same time useable...

UC Browser... fake signed

I could upload 2.2.690 fake signed... for Z3/Z2...

For using on device... my rooted Firmware for Z1 or Z3

Or you have "SDK enabled" device... to play with Distributor Cert...

Best Regards

Edit 1.

Videos attached... maybe then more clear what I did... ;)

Edit 2.

"New Versions" of QLauncher and Root Explorer added as Attachment... now both at same time runs

Remove extension .zip

Or you can unzip and check what I did... ;)

Edit 3.

http://www.mediafire.com/file/cvyacg4h7t509v2/ACLtestPackage_v2.zip

Contains 2.2.690 fake signed... for Z2 and Z3
[Tizen Software Development] adfree:
Maybe in few days more infos about TM2 device possible:

https://openiotelceurope2016.sched....hanwoo-choi-seung-woo-kim-samsung-electronics

Best Regards
[Tizen Software Development] adfree:
:angel:

Meanwhile I made few TPKs with APKs inside... ACL enabled...

For instance Skype...

Skype work for me with SM-Z130H and ACL Version:

2.2.681

Both direction Audio

AND

Both direction Video

Tested self with Z1 and GT-I9300 as second device...

Best Regards
[Tizen Software Development] trollsid:
Gt-i9300 with tizen or android device?
[Tizen Software Development] adfree:
:o Android.

I was never able to run ACL in Emulator (PC) nor on RD-PQ... :o

Also never luck with commercial signed TPKs.. on RD-PQ...

Maybe with my "new" knowlegde I could try again with RD-PQ...

TPK native stuff is higher protected...

Widgets... WGT I think was easier to install on RD-PQ.

If I remember correct. 1 Filemanger as WGT was easy to install on RD-PQ and also in PC SDK Emulator...

Its long ago... :o

Now I am little bit smarter.

I could try again with RD-PQ and Emulator...

Best Regards
[Tizen Software Development] adfree:
Memo to me...

ACL related...

About "unknown sources"

http://xdaforums.com/galaxy-s3/help/unknown-sources-option-disabled-greyed-t2631559

http://xdaforums.com/xposed/modules/mod-directapkinstall-t2866678

https://github.com/Matsca09/DirectApkInstall

This looks interesting...

http://android.stackexchange.com/qu...s-from-terminal-without-going-to-settings-app

Later more...

Best Regards

Edit 1.

/opt/usr/apps/ACL111OMWW/data/android/data/data/com.android.providers.settings/databases/

[B]settings.db
settings.db-journal[/B]

1 or both files do the trick in ACL 2.2.478 for instance... to enable Unknown sources...

I am trying to understand the trick... to use this knowledge for higher ACL Version...

Simple Copy & Paste of these 2 files into 2.2.681 failed... :o

Need to play with SQLite DB Editor...

Edit 2.

Mistake 1... is to think to edit SQL db with Text Editor only... :rolleyes: :o

With Root Explorer (ACL enabled) I can check *.db :cool:

Found old SQLite Editor on my PC... now I can create valid DB I hope... for next tests

Edit 3...

https://www.sqlite.org/howtocorrupt.html

Info for second file... seems I need only 1 file...

Edit 4.

For 2.2.478 I can edit my own DB... to enable/disable...

Setting is in Global...

First attempt failed with 2.2.681 ...

Maybe now in Secure instead Global? Will try...

Here Info...

http://xdaforums.com/android/software-hacking/security-adb-settings-command-make-t3013486

Also found in older Link...

adb shell settings put [B]secure[/B] install_non_market_apps 1

Edit 5.

Still no luck with ACL 2.2.681... Meanwhile Google search...

https://developer.android.com/reference/android/provider/Settings.Global.html

https://developer.android.com/refer.../Settings.Secure.html#INSTALL_NON_MARKET_APPS

https://developer.android.com/reference/android/content/Intent.html#ACTION_INSTALL_PACKAGE

https://developer.android.com/reference/android/content/Intent.html#EXTRA_NOT_UNKNOWN_SOURCE

Edit 6.

http://forums.androidcentral.com/ask-question/635686-unknown-sources-not-settings-security-menu.html

http://xdaforums.com/showthread.php?t=1874979

http://xdaforums.com/showthread.php?t=1111278
[Tizen Software Development] adfree:
Result for today...

Copied 3 files from ACL 2.2.478 into ACL 2.2.681...

ACL111OMWW\data\android\system\app\[B]IndicKeyboard.apk[/B]
ACL111OMWW\data\android\system\priv-app\Settings.apk
ACL111OMWW\data\android\system\priv-app\SettingsProvider.apk

Now I can see option again:

Unknown sources

:D

But seems require more files...

Will try to replace all APKs and look if Z1 will explode... :D :D

Maybe I can locate all files which are involved... to disable unknown sources...

Best Regards
[Tizen Software Development] adfree:
http://www.mediafire.com/file/ze12aq5ll8zkhlu/ACLtestPackage_v3.zip

Inside are my "Demo" examples... self signed ACL required...

Skype
Shell
Root Explorer
QLauncher

Root Explorer is very usefull... to explore filesystem... :cool:

Skype best result with ACL 2.2.681...

With 2.2.478 Front Cam not work...

Higher Versions not tested yet...

I can only test with SM-Z130H...

Z2 and Z3 require other ACL Version...

I will add few Screenshots...

Best Regards
[Tizen Software Development] adfree:
ACL111OMWW\data\android\system\app\IndicKeyboard.apk
ACL111OMWW\data\android\system\priv-app\Settings.apk

Reduced from 3 files to 2... involved in Blocking....

Result is, I can reach Unknown sources menu point... and it seems correct written into:

settings.db

/opt/usr/apps/ACL111OMWW/data/android/data/data/com.android.providers.settings/databases/

But settings.db seems ignored...

I have to find other APK... or maybe this is inside Libraries... LIB...

:confused:

Maybe I will simple search for this text... to identify "Blocker"...

Hmmmmmmmm... maybe Package Installer is affected...

Hmmmmmmmmmmmmmmmmmmmmmmmmmm. 9apps have own Installer... will check if this bypass...

Best Regards

Edit 1.

:cool:

Okidoki...

PackageInstaller.apk is the "Blocker"...

Will try if it is enough to replace 2 files...

PackageInstaller.apk
[B]and[/B] modified
settings.db

Best Regards

Edit 2.

Damn... not enough to replace only 2 files...

autorestore of settings.db :rolleyes:
[Tizen Software Development] adfree:
Added 2 more APKs... inside TPK...

WA Video Call Beta...

Not fully tested as I have NO valid SIM card nor WA Account...

And 9Apps app...

http://www.mediafire.com/file/kfdp6lc5dx4p1a8/ACLtestPackage_v4.zip

Meanwhile I have installed ACL:

2.2.689

So I jump between 2.2.478 for Installation... and 2.2.689 for compatibility.

Short tested Skype... works for me under ACL:

2.2.681
[B]and[/B]
2.2.689

Best Regards
[Tizen Software Development] adfree:
Memo to me... SDK/Tizen Studio related...

https://developer.tizen.org/development/tools/common-tools/emulator/extended-emulator-features

:rolleyes:

I am too stupid to install 1 RPM...

Need some brain... ehm time...

Best Regards
[Tizen Software Development] rakesh0kumar:
U r doing great adfree...

well i have used SQLite editor apk to edit the setting.db file...

Now installation blockage option is removed and i can install the apps on my z3 will acl 2.2.690

However there is still a problem the setting.db restore its setting after the reboot of phone..

Everything else is ok
[Tizen Software Development] adfree:
:good:

Big thanx for trying. :cool:

After I realized this auto restore of setting.db... I have stopped further investigation.

My workaround is... for SM-Z130H.

ACL 2.2.478 for installation...

Then update by clicking on ACL TPK...

2.2.681

now 2.2.689

So I switch between 2 ACL Versions... ACL 2.2.478 is still my base for Installation

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

For Z3 is ACL from Z1 incompatible... :o

So 2.2.178 would be Base for Installation... then update...

But not over the Tizen Store...

This ACL Delta problem... if fail after fail... because...

I will upload unmodifed ACL 2.2.690 in the next days...

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

:good:

Btw, this is really helpfull info...

My steps were ever... after my Copy and Paste modifcations... Reboot.

I thought then all my changes are done... :D

I never realized, that setting.db better not reboot... to prevent autorestore. :rolleyes:

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

For Z2 users (SM-Z200F and SM-Z200Y) still no solution yet...

As 2.2.178 is incompatible... :o

And all my other ACL modifications require some Cert/Security Modification and/or ROOT...

At the moment not fully solved. Why I am maybe alone. With using modifed TPKs...

Best Regards
[Tizen Software Development] adfree:
Oh.... no idea since when...

But now for TM2 and TM1 also Boot files available...

tizen-mobile_20161031.1.20161031.190519_mobile-[B]boot[/B]-armv7l-[B]tm1[/B].tar.gz
tizen-mobile_20161031.1.20161031.190519_mobile-[B]boot[/B]-arm64-[B]tm2[/B].tar.gz

About TM2 no idea... as only in 64 bit folder... for Tizen 3...

------

Since few days... "new" Tizen Studio 1.0.1 is downloadable...

Best Regards
[Tizen Software Development] adfree:
:o

Puhhhhhh... I am as Windows Fanboy trying to create Linux Scripts...

Goal is to create scripts to copy file(s) from... to...

I am using Root Explorer to execute them...

I have few example *.sh ...

Root Explorer is very helpfull for Noob like me to change Permissions... :good:

Now Google research... :D

http://www.tecmint.com/basic-shell-programming-part-ii/

http://www.macs.hw.ac.uk/~hwloidl/Courses/LinuxIntro/x864.html

Hmmm.

This looks promising... :D

#!/bin/bash

# example of using arguments to a script
echo "My first name is $1"
echo "My surname is $2"
echo "Total number of arguments is $#"

:D

Best Regards

Edit 1.

http://stackoverflow.com/questions/...-files-and-folders-and-also-execute-a-command

#!/bin/sh

cp path/to/source path/to/destination
cp path/to/source path/to/destination
cp path/to/source path/to/destination

ldconfig

echo "Done!"

Hmmmm, maybe this...

But no idea yet, what ldconfig means...

:confused:

Edit 1...

Ah, interesting... bash or sh

sh-3.2# bash v1a.txt test me
My first name is test
My surname is me
Total number of arguments is 2
sh-3.2# sh v1a.txt test me
My first name is test
My surname is me
Total number of arguments is 2

My Text file looks like this:

# example of using arguments to a script
echo "My first name is $1"
echo "My surname is $2"
echo "Total number of arguments is $#"
[Tizen Software Development] adfree:
:eek:

Puh... little step forward with execute own script *.sh on my SM-Z130H...

"Easiest way"... with SDB... so I can see easier result... all other ways are much harder... fail as not full Permissons etc...

I have to add Command sh... so it looks like this:

[B]sh[/B] myownscript.sh

Now I will check if I can do this from every folder without chmod +x ...

For instance from:

[B]opt/usr/media/[/B]Others/myscript

So I can easier copy my stupid crap ehm copy attempts... and fire up them with SDB...

Best Regards
[Tizen Software Development] adfree:
http://www.mediafire.com/file/dufd5q2jnl1zn7b/ACLtestPackage_v5.zip

Added Line, imo, hike, SQLite Editor... for testing.

Not fully tested... maybe not fully bugfree...

But... Installation and first few steps like Registration etc. work...

Best Regards
[Tizen Software Development] Vikram Dattu:
Great work.

Thanks.

SQLite Editor: Works as expected.

Hike: All functions working including video call.:)
[Tizen Software Development] adfree:
Not tested yet... own risk.

http://www.mediafire.com/file/k6d5cuzgwm3h8m2/ROOTed_ROOTFSonly_API2_SMz200F_v1.zip

Root for SM-Z200F... Firmware Version:

API2

Best Regards
[Tizen Software Development] adfree:
Tizen .NET

https://developer.tizen.org/development/preview/overview

No idea yet...

Not tested... nor downloaded something...

Only as info.

Edit 1.

https://developer.tizen.org/development/preview/visual-studio-tools-tizen/download

Best Regards

Edit 2.

400 MB Download...

:confused:

I can not detect use for Tizen 2.4 devices... like Z1, Z2, Z3...

For me it looks like for Tizen 3...

https://developer.tizen.org/development/preview/visual-studio-tools-tizen/debugging-project

:rolleyes:

Edit 3.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns="http://tizen.org/ns/packages" api-version="[COLOR="Red"][B]3[/B][/COLOR].0"

https://developer.tizen.org/development/preview/samples/tizen-samples

:rolleyes:

:rolleyes:
[Tizen Software Development] adfree:
:o

I am tooooooo stupid to understand these Permission stuff on Linux... :crying:

I am dreaming to set permissions like I have seen in Emulator and RD-PQ Firmware:

Tizen Studio

ls -l 'which su'

-rwsr-xr-x 1 root root 43856 Mar 18 2016 su

------------------------------------------------
RD-PQ 2.2 Tizen Version

-rwsr-xr-x 1 root root 47460 2013-06-14 12:55 su

sh-3.2# cd /bin
sh-3.2# ls -a -1 -l su
-rwxrwxrwx 1 root root 31604 May 15 2016 su
sh-3.2# chmod 755 su
chmod: changing permissions of `su': Read-only file system
sh-3.2# mount -o remount,rw /
sh-3.2# chmod 755 su
sh-3.2# ls -a -1 -l su
-rwxr-xr-x 1 root root 31604 May 15 2016 su
sh-3.2# chmod +s su
sh-3.2# ls -a -1 -l su
-rwsr-sr-x 1 root root 31604 May 15 2016 su

I am closer... but 1 s is tooo much... :o

-rwsr-[B][COLOR="Red"]s[/COLOR][/B]r-x

Infos from Google and here:

http://linuxcommand.org/lts0070.php

How to remove the second s?

:confused:

Best Regards

Edit 1.

Found here:

http://superuser.com/questions/5091...ssion-s-mean-not-lower-case-but-in-upper-case

My result. :good:

sh-3.2# chmod g-s su
sh-3.2# ls -a -1 -l su
-rwsr-xr-x 1 root root 31604 May 15 2016 su

But this fix not my main problem... :rolleyes:
[Tizen Software Development] rakesh0kumar:
Plz help..

Why i am not able to install fake signed acl 2.2.690 on my z3..

And how to make tpk package with apk inside...

?
[Tizen Software Development] adfree:
Fake signed means I have signed ACL TPK and ACL enabled TPK with "Standard Hashsigner"...

This require my rooted BPD4 "example" rootfs.img for SM-Z300H:

http://www.mediafire.com/file/sgdihea0yldmcaf/ROOTed_ROOTFSonly_BPD4_SMz300H_v1.zip

As few Certs more are inside...

Confirmed by SM-Z300H user with latest Firmware:

Z300HDDU0BPI2

As only minor changes...

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

If you are scared to flash this...

No idea if you allready can install own APKs with ACL 2.2.178 ?

Best Regards
[Tizen Software Development] adfree:
http://www.mediafire.com/file/b0pmjx35483qz7m/Video4ACLenable_v1.zip

Here are 2 Videos inside + PackageInstaller.apk (taken from ACL 2.2.478 (Z1))

This is all, to enable "Unknown sources" = you can install APK of your choice.

Meanwhile tested and confirmed by other users for:

SM-Z130H CPD5 ACL 2.2.689

SM-Z300H BPD4 ACL 2.2.690

SM-Z200F API2 ACL 2.2.690

Many thanx for test and feedback. :cool: :good:

PackageInstaller.apk is compatible for all 3 devices:

Z1

Z2

Z3

This method should work for Original unmodified Firmware too... but only for:

Z1

Z3

Because for Z2 users problem... old solution is not working as ACL 2.2.478 and ACL 2.2.178 is incompatible with SM-Z200F.

But my rooted rootfs.img work. :D

Best Regards
[Tizen Software Development] adfree:
[MENTION=7581986]rakesh0kumar[/MENTION]

Btw.

You are 1 of the user who confirmed this method. :cool: :good:

I have tried last time to write you PM...

No idea if you saw my Private Message...

:confused:

Best Regards