[Nook Touch Android Development] ApokrifX:
Looks like I cannot answer your question.

I guess, we can create a table [sharedUserId] – [App], [sharedUserId] – [Cert] and [Cert] - [App]

It can shed some light on how it works.

I can see same sharedUserId used with different certs, so apps should use different android users...

See below:

Don’t know how to map sharedUserId to android user yet.

My [current] understanding is:

userId "10000" and above are apps generated.

Below – for system use.

I have now:

<package name="com.bn.nook.quickstart" codePath="/system/app/QuickStartActivity.apk" system="true" ts="1217592000000" version="7" sharedUserId="1000">

<cert index="4" />

<package name="com.google.android.server.checkin" codePath="/system/app/GoogleCheckin.apk" system="true" ts="1292347460000" version="7" sharedUserId="1000">

<sigs count="1">

<cert index="13" />

Obviously, due to cert mismatch, "com.bn.nook.quickstart" & "com.google.android.server.checkin" should use different users.

---------- Post added at 09:29 PM ---------- Previous post was at 09:04 PM ----------

Here we go:

0	10019	com.google.android.apps.gtalkservice	/system/app/gtalkservice.apk
0	10019	com.google.android.googleapps	/system/app/GoogleApps.apk
0	10019	com.google.android.providers.gmail	/system/app/GmailProvider.apk
0	10019	com.google.android.providers.talk	/system/app/TalkProvider.apk
0	10021	com.google.android.gm	/system/app/Gmail.apk
0	10022	com.android.vending	/system/app/Vending.apk
1	10002	com.android.globalsearch	/system/app/GlobalSearch.apk
1	10002	com.android.googlesearch	/system/app/GoogleSearch.apk
1	10002	com.android.inputmethod.latin	/system/app/LatinIME.apk
1	10002	com.android.launcher	/system/app/Launcher.apk
1	10002	com.android.providers.applications	/system/app/ApplicationsProvider.apk
1	10002	com.android.providers.contacts	/system/app/ContactsProvider.apk
1	10002	com.android.providers.userdictionary	/system/app/UserDictionaryProvider.apk
10	10001	com.adobe.air	/system/app/AirRuntime.apk
10	10017	de.devmil.minimaltext	/data/app/mt262.apk
10	10023	com.google.android.talk	/system/app/Talk.apk
11	10013	com.ngc.fora	/data/app/com.ngc.fora.apk
12	10015	siir.es.adbWireless	/data/app/siir.es.adbWireless-1.apk
13	1000	com.google.android.providers.subscribedfeeds	/system/app/GoogleSubscribedFeedsProvider.apk
13	1000	com.google.android.server.checkin	/system/app/GoogleCheckin.apk
14	10018	com.david1171.minimalistblack	/data/app/com.david1171.minimalistblack-1.apk
15	10014	com.smart.swkey	/data/app/SWKey21.apk
16	10030	com.asksven.betterbatterystats	/data/app/com.asksven.betterbatterystats.apk
17	10027	jackpal.androidterm	/data/app/jackpal.androidterm.apk
18	10029	com.googlecode.droidwall.free	/data/app/com.googlecode.droidwall.free.apk
19	10016	org.adw.launcher	/data/app/org.adw.launcher-1.apk
2	10026	org.coolreader	/data/app/org.coolreader.apk
20	10012	com.noshufou.android.su	/data/app/Superuser.apk
3	10024	berserker.android.apps.sshdroid	/data/app/berserker.android.apps.sshdroid.apk
4	1000	android	/system/framework/framework-res.apk
4	1000	com.android.providers.settings	/system/app/SettingsProvider.apk
4	1000	com.android.providers.subscribedfeeds	/system/app/AccountAndSyncSettings.apk
4	1000	com.android.settings	/system/app/Settings.apk
4	1000	com.bn.app.crypto.server	/system/app/CryptoServer.apk
4	1000	com.bn.authentication.svc	/system/app/BnAuthenticationService.apk
4	1000	com.bn.demomode	/system/app/DemoMode.apk
4	1000	com.bn.devicemanager	/system/app/DeviceManager.apk
4	1000	com.bn.nook.quickstart	/system/app/QuickStartActivity.apk
4	1000	com.bn.syschecksum	/system/app/SysChecksum.apk
4	1000	com.bn.waveformdownloader.svc	/system/app/WaveformDownloader.apk
4	10005	com.android.certinstaller	/system/app/CertInstaller.apk
4	10009	com.android.packageinstaller	/system/app/PackageInstaller.apk
4	1001	com.android.phone	/system/app/Phone.apk
4	1001	com.android.providers.telephony	/system/app/TelephonyProvider.apk
4	10011	android.tts	/system/app/TtsService.apk
5	10000	com.android.gallery	/system/app/Gallery.apk
5	10000	com.android.providers.downloads	/system/app/DownloadProvider.apk
5	10000	com.android.providers.drm	/system/app/DrmProvider.apk
5	10000	com.android.providers.media	/system/app/MediaProvider.apk
5	10000	com.bn.nook.accessories	/system/app/Accessories.apk
5	10000	com.bn.nook.affiledownloadservice	/system/app/AFfileDownloadService.apk
5	10000	com.bn.nook.cloud.service	/system/app/CloudService.apk
5	10000	com.bn.nook.community	/system/app/NookCommunity.apk
5	10000	com.bn.nook.dadmin	/system/app/DownloadAdmin.apk
5	10000	com.bn.nook.home	/system/app/Home.apk
5	10000	com.bn.nook.library	/system/app/Library.apk
5	10000	com.bn.nook.reader.activities	/system/app/Reader.apk
5	10000	com.bn.nook.shop	/system/app/Shop.apk
5	10000	com.bn.nook.social	/system/app/Social.apk
6	10025	com.andoku.two.free	/data/app/com.andoku.two.free.apk
7	10028	org.connectbot	/data/app/org.connectbot.apk
8	10003	com.bn.cloud.svc	/system/app/BnCloudRequestSvc.apk
8	10004	com.android.browser	/system/app/Browser.apk
8	10006	com.bn.deviceregistrator	/system/app/DeviceRegistrator.apk
8	10007	com.android.htmlviewer	/system/app/HTMLViewer.apk
8	10008	com.android.music	/system/app/Music.apk
8	10010	com.svox.pico	/system/app/PicoTts.apk
9	10020	com.benhirashima.nookcolorsettings	/system/app/NookColorTools.apk

Need help with this one... :crying: