Samsung Z2 experiments

Qiangong2

Senior Member
Oct 31, 2014
1,447
376
103
I recently acquired a Samsung Z2 and have been working on trying to get it working at its full potential.

I have rooted the latest Indonesian firmware (BQD2) This is because I do not have an Indian Z2 to test with.

Thanks to @adfree for the help!

Here is the link: https://www.androidfilehost.com/?fid=818070582850505393

I am now working on trying to get android apps to show up on the main home screen.

One thing that I noticed is that the apk files in /opt/apps/ACL111OMWW/data/android/data/app are just symlinks to another area. You don't have to worry about replacing that apk "file". You only have to worry about the one it links to.

When you replace the linked apk in /usr/app/ with another android app, it just hangs at step 4. Now I just need to investigate more into the /usr/app/ directory.
 
Last edited:

forhadaliBan

Member
Jan 8, 2018
37
9
0
Dhaka
Bro Don't Do this Because @adfree Already Have Did it..
Code:
[color=red] SDB
[/color]
But You Can Try. Also I can Help with You.
Clash Of Clans Must Be Important
And Also All Google Facility...
Go Ahead Bro......
 
Last edited:

Qiangong2

Senior Member
Oct 31, 2014
1,447
376
103
Bro Don't Do this Because @adfree Already Have Did it..
Code:
[color=red] SDB
[/color]
But You Can Try. Also I can Help with You.
Clash Of Clans Must Be Important
And Also All Google Facility...
Go Ahead Bro......
SDB is different. That is the interface application that allows your computer to communicate with your tizen phone. Also, you need to have a rooted rootfs installed to get SDB Root enabled

Sent from my Q5 using XDA Free mobile app
 
  • Like
Reactions: forhadaliBan

Qiangong2

Senior Member
Oct 31, 2014
1,447
376
103
Updates on my investigation into tpk files:

Thanks to the guy from Samsung for replying to my email in the Tizen mailing list and my question on stackoverflow: https://stackoverflow.com/questions/49637116/sha256-sum-is-not-sha256/49662083#49662083

NOTE: To sign and install tpks, you need a Samsung cert, not just a normal one which can be created once you install the certificate extension sdk. Not the standard cert manager.

Apparently the tizen-manifest file is the main important file. From there you can edit nearly everything important.

The ones you can safely edit are:

package
author
description
appid (which must match exec!)
exec
label
icon

I have not tested the editing of anything else.

ACL doesn't like it when you change things, so to make it scream less, you have to link the apk to the ACL folder.

You need to create a symbolic link to wherever the apk is stored in /opt/usr/apps/ACL111OMWW/data/android/data/app/

Once you do that, ACL will reach step 2 before failing. It will only reach step 2 after a reboot as otherwise it caches the app.

This is an immense step! :D We just have a little more to go and we can get Android apps running off of the Tizen app screen!

If anyone has any input, feel free to give it! :)

proof discord installs to the app screen: https://imgur.com/a/kYvD6
proof it reaches step 2: https://imgur.com/a/j4y5J
 
  • Like
Reactions: forhadaliBan

adfree

Senior Member
Jun 14, 2008
8,898
5,145
243
I have NOT so much time...

22nd March 2016, 02:18 PM
https://forum.xda-developers.com/showpost.php?p=65978699&postcount=259

This Modification work since 2 yearS +... for me...

Something similar I made for Wearables too...
To have all 3 Privileges too...
Code:
Public
Partner
Platform
And with HashSigner Script I can simple sign this crap...

Can not find yet better Link... but click somewhere here...
https://forum.xda-developers.com/showpost.php?p=70436534&postcount=384

To find my infos about "hashsigner.sh"...

This PKI sh it still s h it... :D


Best Regards

Edit 1.
I have no idea why since months for me search not work...
vBulletin Message
An error occurred while performing a Searchlight query:
expected searchd protocol version 1+, found version

If you followed a valid link, please notify the administrator.
:confused:

Edit 2.
Found my post via Google...
https://forum.xda-developers.com/showpost.php?p=72204916&postcount=184

In theory I have more posts where this is posted:
Choose between 3 Commands...
Code:
hash-signer.sh -a -d /opt/usr/media/test
public level


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



Code:
hash-signer.sh -p platform -a -d /opt/usr/media/test
platform level
 
Last edited:

Qiangong2

Senior Member
Oct 31, 2014
1,447
376
103
I have NOT so much time...


https://forum.xda-developers.com/showpost.php?p=65978699&postcount=259

This Modification work since 2 yearS +... for me...

Something similar I made for Wearables too...
To have all 3 Privileges too...
Code:
Public
Partner
Platform
And with HashSigner Script I can simple sign this crap...

Can not find yet better Link... but click somewhere here...
https://forum.xda-developers.com/showpost.php?p=70436534&postcount=384

To find my infos about "hashsigner.sh"...

This PKI sh it still s h it... :D


Best Regards

Edit 1.
I have no idea why since months for me search not work...

:confused:

Edit 2.
Found my post via Google...
https://forum.xda-developers.com/showpost.php?p=72204916&postcount=184

In theory I have more posts where this is posted:
Choose between 3 Commands...
Code:
hash-signer.sh -a -d /opt/usr/media/test
public level


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



Code:
hash-signer.sh -p platform -a -d /opt/usr/media/test
platform level
Thanks,
But where is the hash-signer.sh file?
 

adfree

Senior Member
Jun 14, 2008
8,898
5,145
243
Did you unpack and extract all files from rootfs.img?


I am toooooo lazy to check Z2 Firmware... if in latest available or removed by Samsung...
Code:
hash-signer.sh
Best Regards
 

adfree

Senior Member
Jun 14, 2008
8,898
5,145
243
Could be... sometimes they only deactivated...

I was never able to sign with SM-R732 and SM-R760...

In theory few RPM files available...

Will check... need time...
In theory also RPM for Tizen Studio Emulator crap...

Best Regards
 

adfree

Senior Member
Jun 14, 2008
8,898
5,145
243
I cannot get ACL to run my apps that I resign and put on the homescreen
ACL is self checking Cert...

This is the reason why I have signed ACL AND TPK... with same key/cert....


For Original ACL you need Original RSA 2018 Cert...
and this is at the moment impossible...

So I fake signed ACL... to use my fake signed TPKs... :D

Best Regards
 

Qiangong2

Senior Member
Oct 31, 2014
1,447
376
103
ACL is self checking Cert...

This is the reason why I have signed ACL AND TPK... with same key/cert....


For Original ACL you need Original RSA 2018 Cert...
and this is at the moment impossible...

So I fake signed ACL... to use my fake signed TPKs... :D

Best Regards
So, I have to extract ACL, resign ACL with the new cert and it will install all files with that cert?

Sent from my Q5 using XDA Free mobile app