Diffrerence between paid and free version of the same app - Java for Android App Development

Hello,
I create themes for GO SMS Pro. This app, I think, copy resources from themes and use.
I have 2 versions of theme – free (https://play.google.com/store/apps/details?id=com.jb.gosms.pctheme.frog_white_free) and paid(https://play.google.com/store/apps/details?id=com.jb.gosms.pctheme.com.jb.gosms.pctheme.frog_white). With free version everything is Ok. But paid version generate exceptions (see attachement for full LogCat output):
No package identifier when getting value for resource number 0x00000000
When I install paid’s version apk via adb everytking is Ok. Problem is only when user boy this theme from Google Play. Then user see incomplete applied theme – see attachement image. Only avatar images was loaded.
Why paid version don't work?

Related

[30/09] APK Organize 2.0 (Rename,Compare,Search,Install | Uninstall,Backup | Restore)

APK Organize
FEATURED ON XDA PORTAL
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What this software does ?
This software has made from 5 parts.
1. Rename APK
2. Compare APK
3. Find APK from txt
4. APK Batch Installer | Uninstaller
5. Backup | Restore Data​
Rename :
1. Add apk files to the list by doing one of the following:
• Double-click apk files in Explorer while the Rename-tab is active
• Drag & Drop from Explorer
• Add single files via “Add APK”
• Add whole directories via “Choose Folder” (Folder history via “▼”)
• Add files from your Phone via “From Phone” (ADB connection needed)
Note: You can sort the list individually by clicking the column headers.
2. Setting the renaming pattern
Set the desired pattern via the Dropdown-menu below the list.
If you want, you can set an individual pattern by using the provided tags.
Note: <Manual|Label> will use the names provided in the manual rename-list.
For apps that are not the list, the standard label is used…
3. Renaming:
• Select the files you want to be renamed by marking them in the list
• Press “Preview” to see what the files will be named or press “Rename” straight away.
• If you want to send these files to the Compare-tab, right-click on the list and press “Compare”
Monitor :
You can set up a folder for APK Organize to monitor. It will automatically rename all apk files you put in there.
Set up your desired directory and the renaming pattern, then click “Enable” to start the monitoring.
You can now close APK Organize. It will continue to run in system tray.
Check “Auto Start” to start monitoring on windows startup.
You can check what APK Organize is doing by clicking “Logs”
Note: Existing files will not be renamed. Monitoring only works for newly added files…
Newly added apps that already exist will automatically be overwritten.
Check “Ask for overwrite”, if you don’t want that.
Manual Rename :
Sometimes two or more applications have the same label name but are in fact different apps (f.e. Angry Birds).
If you want APK organize to rename any apps differently, you can associate a package name with an individual name.
1. Add apps to this list by doing one of the following:
• Drag & Drop from Explorer
• Add single files via “APK” → “Add”
• Add whole directories via “APK” → “Add from folder”
2. Double-click or press F2 one the corresponding cell in the right column and enter the desired name
3. Save the list anywhere you want via “File” → “Save”.
4. Close the window, go to “Manual Rename” → “Load list” and select the list you have created.
5. Set the renaming pattern to "<Manual|Label> v<Version>" or "<Manual|Label>".
6. Press “Rename”. APK Organize will now rename the files accordingly. For apps that are not specified in your list, it will use the regular label.
Compare :
1. Choose if you want to compare by file name or by Label name and version from “Search with”
2. Choose the directory to compare to on the top panel. (F.e. your apk archive)
3. Add the new apk files to the list:
• Double-click apk files in Explorer while the Compare-tab is active
• Drag & Drop from Explorer
• Add single files via “Add APK”
• Add whole directories via “Add Folder” (Folder history via “▼”)
4. Press “Scan”. APK Organize will now automatically mark every finding in the bottom list.
5. You can now do the following with the results (or your own markings):
• Delete: Deletes all old files… You will then be asked, what to do with the new files.
• Copy: Copies the new files to the specified directory
• Move: Moves the new files to the specified directory
Note: You can do the above steps for files without results too by right-clicking them.
You can also load an exception list. Files that are on this list will be moved to an exception
folder on the target directory to be organized manually…
Search :
This tab enables you to do operations with a specified list of apps, f.e. if you have to install a bunch of apps after a wipe. If you have to do this very often and the apps are always the same, APK Organize can automate this process for you:
1. Create the list of apps you want to do operations with or select a list via “Select list”, if you have already done one of the steps below.
The list MUST only contain the app’s label names without versionnumber, divided by a linebreak. You can do this by the following:
• Manually add the apps with “Add”, Drag & Drop from Explorer or double-click from Explorer and save it via “Save List” for further use.
• Export a list with ROM Toolbox or any app that is capable of exporting list in the demanded pattern and load it into APK Organize. Make the necessary changes and save the list.
2. Choose the directory where your apk files are stored for the left list.
3. Press “Scan”. APK Organize will now list every finding in the bottom list.
4. Do the operations of your desire via the provided buttons on the bottom.
Install :
Installing apk files:
1. Add apk files to the list by doing one of the following:
• Double-click apk files in Explorer while the Rename-tab is active
• Drag & Drop from Explorer
• Add single files via “Add APK”
• Add whole directories via “Choose Folder” (Folder history via “▼”)
• Add files from your Phone via “From Phone” (ADB connection needed)
2. Press “Install”. APK Organize will now try to install the apps over ADB. See the log, if there are any errors.
Note: You can view details like label, package name and permissions via right-click → Details
“Unknown sources” has to be enabled on your phone to install apk files…
You can sort the lists individually by clicking the column headers.
Uninstalling APK files:
1. Go to “Mode → Uninstaller” and choose, if you want to view the installed apps by label or package name.
2. Select the Apps you want to uninstall by marking them and press “Uninstall”
3. APK Organize will now try to uninstall the apps over ADB. See the log, if there are any errors.
Backup : (Root Needed!)
1. Set the directory you want to store your backups in via “Backup Directory”.
2. Go to “Packages” and choose, if you want to view the installed apps by label or package name, or click “From Directory” to display the backups from your chosen directory.
3. Check “App” and/or “Data” for the apps you want to backup or restore and press “Backup” / ”Restore”.
4.APK Organize will now try to complete the task. See the log, if there are any errors.
Notes: If most of the backups/restores fail for you it may be that your ADB daemon is running in secure mode. This can happen on stock kernels, but also on other setups. In that case, try running ADB ROOT (and maybe set it to Auto mode) in APK Organize
For Restores “Unknown sources” has to be enabled on your phone…
You can sort the lists or check/uncheck something for all apps by clicking the column headers.
If you have checked App and Data for an App and it gives an error, try checking “Skip failure for App or Data while backing up both”. It is not necessarily an error, because there just might be no data to back up…
Requirements :
Windows OS ( In video it is windows with Ubuntu Skin )
.NET Framework 4
Community
Please join this community and leave your experience about APK Organize
Test Version
test versions before release stable version
ARA Softwares Translator
if you want translate APK Organize download this tool
Mobile Version
written by Svarion, click to check his XDA thread
Video :
Version 2.0.0 :
*Auto extract zip and rar files contain apk
Check Monitoring options in Rename window
-Exclude options
(useful for prevent extracting ROM, Kernel and other zip files)
Directory :
Prevent from extracting zip files contained folder
Extensions :
Prevent from extracting zips contained files with some extensions
for exclude by extension start it with "."
e.g. : .img
for exclude by folder or file name write its name
e.g. : META-INF
-Extract with folder
if not checked it will extract apk in root directory without folders
*Backup | Restore method has been changed
Backups from version 1.9.0 are not supported anymore !
Before update to this version Restore your backups then!
*Make APK Organize portable
(Read | Save setting in application directory)
More - Preference - Portable
*Load discontinued Install | Backup projects
-Copy | Move to new founded categories fixed
*Categories fixed
Compatible with new play store
*Exclude lib folder from data backup
*Fix permissions porblem with Android 4.3 has been fixed
*Get package names now loads installed apps in SD too !
*Launch packages from Install & Handle window
*Notification at the end of Install | Backup
*VersionCode added to Rename Patterns
*Option for Remove strings from version
-Useful for some apps such as Astro File Manger
-Its version is : ASTRO-4.3.525
-If you check this option it will be : 4.3.525
*Open/Copy APK's playStore link in Search/Install
*New options for selected rows
-Move to Top/Down
-Keep/Clear
-Bug fixes
Version 1.9.0 :
--Note : Please backup your setting before update, then restore it after update--
*Problem with some Anti Viruses such as NOD 32 has been fixed !
*Permissions fixed
*Categories (Organize apks with their category)
*Compare with package name
*Connect with Mac Address
*Monitoring Improved
*Check for root access before Backup | Restore
*Getting installed apps name without root access
*Scrolling enabled while Installing, Backing up and Renaming (Disable Auto scroll)
*Show old installed version of apk (Root needed)
*Option in rename form for replace space with custom text
*Compare work progress in status bar
*Add apks to Backup | Restore by double click on apk
*Multi select with middle mouse button
*Customizable Messages (Send from me)
*Searching improved
+Manual Search
Search your app
From RightClick menu choose "Add to list"
or
Hold down Shift and press Enter
+Show details in Search form
*Introduced ARA Softwares Translator
+Download from Preference if you are interested to Translate my softwares to your local language
-Bug Fixes
Version 1.8.0 :
**Sort by Install Date (Installed apps)
**Security option for install
*Option for load apk informations in installer (Icon,Package name and ...)
*Check if more than one device is connected
*Set limitation for auto load informations (prevent not responding)
*White list in Security
*Improved Renaming
*Option for remove "v" from version if version is started with v (v1.4 instead of 1.4)
*Option for check install status
*Install | Rename with drag and drop (Enable in Preference for Main window)
*Option for enable/disable show details window at the end
*Go To menu (Fast switch)
*Ask for save if changes not saved in favorite folders and patterns edit
*New message box (translatable)
*Added Favorite folders to Copy/Move in Compare window
*Remember Last Size and Location
*Export Apps list from Backup | Restore
-Guide for Patterns and Favorite Folders
-Prevent duplicate adding in Manual Rename
-Sort enabled in Manual Rename
-Fixed bugs on restoring
-Copy link to clipboard if opening browser failed !
-New Icons (Thanks to Benjamin Humphrey)
-Bug Fixes
Version 1.7.0 :
**Updated ADB to 1.0.31
*New options for existing files in Renaming (Overwrite, Rename, Ask)
*Favorite Folders
*Edit and arrange patterns
*Kill apps before restore
*Set Permissions after Restore
*Improved exporting apps from phone
*New option for load files from sub folders
*Show not found files after search
*Restart after changing language, reset or import settings
*Check update manually
-Fixed Embeded ADB Bug
-Fixed right aligned "More" preference in English
-Fixed ADB BUG !
-Fixed failure report for some success restores
-Uninstall apps from Backup | Restore
-Bug Fixes
Version 1.6.0 :
***Multi Language
***Persian Langauge Added ( Thanks to myself )
**Get Applications List from Phone With Label Name
**Renaming apps with special characters fixed
**Manual Renaming (Read Help)
**Embeded ADB
**Individual Backups (APP, DATA, APP + DATA)
**New Compare method
*Add to Compare List integreated to explorer
*Show details after Backup|Restpre
*Backup|Restore options
*Show detail window for failure installtions (Install from Explorer)
*Associate TXT files (Fast Search)
-Auto ADBROOT
-Sort enabled in Rename, Search, Backup|Restore, Install|Uninstall
-Improvment of FromPhone function
-Save last used pattern for renaming
-Setting Export|Import way changed
-Bug Fixes
Version 1.5.3 :
*Integrate into Explorer (Right Click Menu)
*Connection Check before Backup or Restore
*Check if Package installed before Backup or Restore
*Check for connection after ADB ROOT if Auto Connection is enabled
-Bug fixes
Version 1.5.0 :
*Backup | Restore Data
*Export installed apps
*Rename automatically (Monitoring)
*Rename preview
*Rename and Install APK files located on phone
*Auto Connect
*History for Directories
*Auto Start with Windows
*Export and Import Settings
*Connect with HostName
-Save adbWireless settings
-Bug fixes
Version 1.4.0 :
*New open APK window (with details)
*Renaming pattern
*Install/Uninstall Options
*Compare method
*Uninstaller (New)
*Update checker
*Detail windows after install/uninstall
*Kill ADB server after install/uninstall
-Search in install form
-Bug fixes
Version 1.3.1 :
*ADB Wireless
-Bug fixes
Version 1.3.0 :
*Exception list for comparing
*Renaming to package name
*App Details in install form (Name, Version, Premissions)
*Installing Status
-UI improvment in comparing
-Show log before save
-Shortcuts
-Rename way changed (now apk files from different locations can rename together)
Version 1.2.0 :
*Batch Uninstall
*Log Saver
*No Need to Put aapt In Application Directory
-Better Renaming
-Selective Install
-Rename and Install by Double Clicking on apk files is fixed !!
Version 1.1.0 :
*APK Batch Installer
-Help Menu
Version 1.0.0 :
-Initial release
Wow , really useful thing . Thanks and keep developing it.
rkmiks said:
Wow , really useful thing . Thanks and keep developing it.
Click to expand...
Click to collapse
Glad you like it !
Those guys who downloaded, No idea ?
Is it worked ? No bugs found ? No feature you need ?
I tested it and it works perfectly as far as renaming and comparing is concerned . I would love this application to have the capability of getting the apps list by itself from the phone. And also to generate a text file with app list or an html with links in the folder with apks or alphabetically arranging the apks etc.
And ya i got some error about the aapt stuff while renaming , I renamed the apps with different tool and then compared them with this tool.
I would love this thing to develop more . All the best ! and thanks again.
rkmiks said:
I tested it and it works perfectly as far as renaming and comparing is concerned . I would love this application to have the capability of getting the apps list by itself from the phone. And also to generate a text file with app list or an html with links in the folder with apks or alphabetically arranging the apks etc.
And ya i got some error about the aapt stuff while renaming , I renamed the apps with different tool and then compared them with this tool.
I would love this thing to develop more . All the best ! and thanks again.
Click to expand...
Click to collapse
About list of apps from phone, I was thinking about that. And i'll try !
Could you tell me what errors did you get ?
In upcoming version you can install APK files
v1.1 Released !
Change log:
APK Batch Installer
Help Menu
Tested new version , no bugs as such . But sometimes it doesn't delete the older version of an apk.
Hope u could add a feature to backup and restore the app data also just like titanium does . and also compare the data too.
Thanks for this small but very useful tool.
rkmiks said:
Tested new version , no bugs as such . But sometimes it doesn't delete the older version of an apk.
Hope u could add a feature to backup and restore the app data also just like titanium does . and also compare the data too.
Thanks for this small but very useful tool.
Click to expand...
Click to collapse
I'll look into !
Thanks for the suggestions
adb detects my device, but when i choose to batch install apks, its stuck at installing, and wont install, my device is galaxy s3, am i following the directions correctly, if there are any?
this app works for me though "APK Batch Installer"
http://forum.xda-developers.com/showthread.php?t=1531880
mamumami said:
adb detects my device, but when i choose to batch install apks, its stuck at installing, and wont install, my device is galaxy s3, am i following the directions correctly, if there are any?
this app works for me though "APK Batch Installer"
http://forum.xda-developers.com/showthread.php?t=1531880
Click to expand...
Click to collapse
It doesn't install any application or just some applications?
Sent from my GT-I9100G using Tapatalk 2
In upcoming version :
-Better Renaming
-Rename Details Window
-Selective Install
*Batch Uninstall
*Log Saver
*Rename and Install by Double Clicking on apk files is fixed !!
*No Need to Put aapt In Application Directory
doesnt install any, can you please provide direction to batch install, should phone be in fastboot, development mode on,
mamumami said:
doesnt install any, can you please provide direction to batch install, should phone be in fastboot, development mode on,
Click to expand...
Click to collapse
You should turn on Android Debugging and Unknown Sources
No need to be in fastboot !
Version 1.2 released !
Change log:
-Better Renaming
-Selective Install
*Batch Uninstall
*Log Saver
*Rename and Install by Double Clicking on apk files is fixed !!
*No Need to Put aapt In Application Directory
Please if it doesn't work for you save log and send it to me.
Weird!
Version 1 82 views
Version 1.1 84 views
Version 1.2 42 views
and no any ideas, bugs, suggestions or even thanks button !!!!
pesiran said:
Weird!
Version 1 82 views
Version 1.1 84 views
Version 1.2 42 views
and no any ideas, bugs, suggestions or even thanks button !!!!
Click to expand...
Click to collapse
Hey man, here is an Idea, change the compare module to compare by hash, like MD5.
Some people, me included, mod apk for theming but the package name is the same, maybe comparing with md5 and give an option to rename the duplicates will be cool.
Also a small request, is it possible for you to make an Android application to rename a bunch of APK in a given directory to their Application Name, like "Application Name v1.0.0.apk" or "applicationname_1.0.0.apk" or something like that? I ask this because I installed a backup software but it makes this backups with the package name and I always end with files like com.something.apk and it is a real pain to find out which file is what.
ngh55 said:
Hey man, here is an Idea, change the compare module to compare by hash, like MD5.
Some people, me included, mod apk for theming but the package name is the same, maybe comparing with md5 and give an option to rename the duplicates will be cool.
Also a small request, is it possible for you to make an Android application to rename a bunch of APK in a given directory to their Application Name, like "Application Name v1.0.0.apk" or "applicationname_1.0.0.apk" or something like that? I ask this because I installed a backup software but it makes this backups with the package name and I always end with files like com.something.apk and it is a real pain to find out which file is what.
Click to expand...
Click to collapse
Hey.
comparing is not by package name, it searchs by application name.
for searching hash if you help and explain more maybe i can do some work !
for duplicates the software asks what to do ! keep both or replace or skip !
and your last request, Renaming in phone !!?

[APP][2.3+] APK Extractor • APP Share/Backup(v.3.7) [APP]

Play Store Link: https://play.google.com/store/apps/details?id=com.asif.apkextractor
A very useful tool for android users..
The Best And Easy To Use Apk Extractor/App Manager Is Here...
Now BackUp/Send/Restore/Delete Apps On The Go..
Features:
*Can Backup/Share/Restore/Delete Single or Multiple Apps in One Click.
*Compatible With Latest Version Of Android 5.0
*Awesome, Fast, Smooth, Clean and Convenient User Interface.
*No ROOT Access Required.
*Easily Back-Up/Extract apk of Installed Applications With Just A Simple Click.
*Easily Send Multiple Apps Via Bluetooth or Email and So On...
*Single or Multiple App Uninstall Feature.
*Restore Apps Section:
-View Already Extracted Apps
-Restore single or multiple Extracted Apps in one click from within the App
-Delete single or multiple Extracted Apk's in one click from within the App
*Ability To Select Your Desired Backup Path To Anywhere In The Internal Or External Memory Easily.
*Shows Whether An App Is Already extracted or not.
*Keeps Backup of Different Versions Of Apps Separately.
*Displays User-Apps And System-Apps Separately So That You Can Find Any App Quickly.
*Sorts The List Of Apps In Alphabetical Order To Make Finding Any App More Easier.
*MultiSelect Option To Extract Many or All Apks At a Time.
*Search Option To Find Any App Easily.
*Displays ProgressBar While Extraction.
*Displays The Details Of Every Installed App:
-App Name, App Icon, Size, Version, Package Name,Install/Backup Status
*Renames The Extracted App/Apk As, "App Name(Version)(PackageName).apk",
e.g ApkExtractor(3.0)(com.asif.apkextractor).apk
NOTE: The Extracted Apk's Are Stored In "APKBACKUP" Folder.
FAQ:
Why Extraction or Backup failed??
Answer: In 99% Cases Backup/Extraction fails Because of Full Memory i.e No Memory Space left in your Selected Storage Media..
Give your opinion about my App friends???
Play Store Link: https://play.google.com/store/apps/details?id=com.asif.apkextractor
I am a young Indie Android Developer(17),if you like my app then do rate it on the play store also do share it, Thanks..
Some Screen Shots And Apk Attached..
Updated thread

[XAP][27/02/2016][0.7] CustomWPSystem - patch XAPs easily within WPSystem folder

Hi, following XDA user djamol tutorial, I've created an helper that allows in less click to patch system app to use OEM APIs
This app is based on This tutorial from this topic (ok... seems that there's no more tutorial there)
Remember that you need an SD card into your phone!
NOTE | I've updated this app to 0.7 and some of the functionalities are changed, so some of the tutorials created for 0.6 or less may be obsolete!
how does this work?
Detailed instructions are available within the app. Just swipe to go to the next section.
Changelog
Latest release
v 0.7 (27/02/2016)
- added MixRadio support
- new Interface and icon
- other bugfixes
Old releases
v0.6 (08/06/2015) [Still available]
- added extras and infos app support
- small UI fix and bugfix
- Update made with the collaboration of WojtasXda :good:
v0.5 (31/12/2014) HAPPY NEW YEAR! [Still available]
- trying to fix ACCESS DENIED error
- fixed scrollviewer bug
- better english (please let me know if I can write better)
- Added Field Medic app for testing purpose
v0.4 (23/12/2014)
- better naming messagge errors
- changed try-catch positions
- definitive "about" structure (not content)
v 0.3 (22-23/12/2014)
- fixed another crash
- now xap apps subfolder gets copied too!
v 0.2 (22/12/2014)
- fixed a crash
- fixed app patching for Glance Background and Preview For Developers
v 0.1 (16/12/2014)
- first release
Text related to versions 0.6 and less
NEW IMPORTANT! Give SD card permissions
Tap "SD Card permissions" button
Tap only "SD card"
Press the check button into the bottom appbar
"SD Card permissions" button will became green
It isn't necessary to set the "Unhide WPSystem" green.
Choose the app target
With this first version it's possible to choose five target apps, i will add other apps soon:
Live Lock Screen beta
Glance Background beta
Preview for developers
Field Medic
Extras and infos [NEW!]
Download the app and move it to SD card (using storage sense)
Pin the app into the start screen (obviusly you can't pin extras and infos before Update 2)
Choose the custom XAP (the app uses the integrated file picker)
Patch!
FAQ
Q: I'm getting ACCESS DENIED error
A: When you get this error, an error message will appear, make sure that "SD Card permissions" is GREEN and not RED
Q: the app crashed immediately after patch
A: ehm... I don't know, please advice me within this topic. Try to deploy again the app.
Q: Preview For Developers (or other apps) vanished from app list and I can't reinstall or unistall
A: Use Storage Sense to unistall the app
Q: Can I restore original apps?
A: Sure! Unistall and reinstall the target app
OTHER TROUBLESHOOTING
> Remove/unistall the app from the app list within your phone
> Be sure that in Storage Sense default location for app storage is INTERNAL MEMORY
> Deploy the app with "Windows Phone Application Deployment 8.1" (the 8.1 is relly important, the name may change, don't use 8.2, 8.0 or without numbers). Some Visual Studio versions have multiple deployers included, use the 8.1 version.
Glossary
Swapper: CustomWPSystem app
App target: The first/second party app to patch (Preview For Developers for example)
Homebrew XAP: the dev-made XAP that you can patch to target apps (CutomPFD for Example)
Thanks to everyone that is related with this project
Sorry for bad english and enjoy!
Looks great thanks
does anybody have the latest "registry editor" form djmol ?
i want to try the "preview voor developers" with the latest "registry editor" from djmol
please share the link
many thanks in advance
michael
Pasquiindustry said:
Hi, following XDA user djamol tutorial, I've created an helper that allows in less click to patch system app to use OEM APIs
This app is based on This tutorial from this topic (ok... seems that there's no more tutorial there)
How does it functions?
Choose the app target
With this first version it's possible to choose only three target apps, i will add other apps soon:
Live Lock Screen beta
Glance Background beta
Preview for developers
Download the app and move it to SD card (using storage sense)
Choose the custom XAP (the app uses the integrated file picker)
Patch!
The app will automatically patch the app
This is the first release ever, so there may be bugs. I've tried with a custom lockscreen and it worked.
Remember that you need an SD card into your phone!
Sorry for bad english and enjoy!
Changelog
v 0.1 (16/12/2014)
- first release
Click to expand...
Click to collapse
I've the XAP but it seems doesn't work, I've tried to apply the program manually and with CustomWPSystem, but Preview For Developers doesn't open...
I could try to make a port...
megasounds said:
Looks great thanks
does anybody have the latest "registry editor" form djmol ?
i want to try the "preview voor developers" with the latest "registry editor" from djmol
please share the link
many thanks in advance
michael
Click to expand...
Click to collapse
here you go
http://www7.zippyshare.com/v/93645961/file.html
i am having problems too. i am on build 8.10.14203. when i launch the patched app, it's stuck on "...loading..".
can people that have it working please post their wp81 build numbers and firmware revision number?
Mhm... which apps are you trying to patch?
I've added a lot of try-catch during patching with detailed message error and the app stay opened after patching (it will show up a message too)
Check the SD card root for wpsystem folder, there is apps or asspx folder?
Maybe the app that are you trying to apply doesn't have a compatible manifest...
Try to apply them manually and check if that works...
please let me know your wp8 build number.
i would appreciate a regeditor that is already adjusted to be compatible with preview for developers hijacking.
i tried the regeditor from djamol posted above with PFD.
but no luck. stuck on ..loading... when i try to launch it.
i don't know what else to try. can anyone with build 14203 or above confirm that the regeditor above is working with PFD?
That XAP isn't working for me too. I've Tried manually but the app still stuck to loading screen.
However I'm on Build 14219.
I will try to make my own regeditor based on that XAP
Hi all,
Did some cleaning of OT posts. Please keep this thread on topic
-snickler
Ok, I've tried to make my own registry edititor based on DevProgramUI, but I can't patch it to Preview For Developers, the app crashes on startup (as DevProgramUI...). I've tried with my program and manually with a file Explorer...
I Will post soon the registry editor to a new topic, bug I don't know if it writes correctly registry Keys after patching the app :/
UPDATE: I have tried Glance Background Registry editor (the djamol one) and it works without problems with my tool
UPDATE 2: I'm writing here for the preview for developers crash problem: http://forum.xda-developers.com/win...-capabilitiy-hack-t2937089/page2#post57606692
UPDATE 3: I maybe found the solution! I will publish as sson as possible the new XAP
Hi, I understand why that doesn't function and I will send soon an update.
Try to soft-reset your phone, sometimes are the wpsystem folder permissions that cannot be unlocked
Yes, with this first version, only patching Live Lockscreen works because that app didn't remove every file/folder under guid folder for wp8 apps (preview for developers and glance background)
For wp8.1 apps it isn't necessary to delete every file/folder
I've fixed that with the next release that is coming soon
Version 0.2 available now!
Now it's possible to patch correctly apps for Preview For Developers and Glance Background
0.3 version will be available soon to fix other small things
Sorry for third consecutive post, but I've updated again the tool
Now it's posssible to copy and patch entire XAP with subfolders and their files
Pasquiindustry said:
Sorry for third consecutive post, but I've updated again the tool
Now it's posssible to copy and patch entire XAP with subfolders and their files
Click to expand...
Click to collapse
still it doesnt work . acess denied . tried teboot .but still same error
by manually coping reg app contents it worked though
Check this solution here http://forum.xda-developers.com/showpost.php?p=57697453&postcount=7
0.4 update available now, I think this will be the latest one for now I think
I have still no luck using it.
Here is some minor mistakes with this app:
Apps folder getting renamed to apps (littlecase first digit "A")
Four stage of Applying... called Defualt app backup (instead of Default)
and the "swapper" doesn`t starting if installed on SD card and then being moved to Internal/Phone storage. Just infinite Loading... appears if you made it. I was forced to install it directly to Phone storage to work.
I`m trying to apply your registry editor to Preview for Developers app. And getting errors (permissions and E_ACCESSDENIED/0x80070005) at the last stage (Default app backup line is filled and Applying custom XAP file is at the dots animation stage). And I`m able to rename Apps forlder with Pocket File Manager, WPSystem folder attributes unchecked correctly, Preview for Developers folder {178AC... is empty after your app`s activity.
I had successfully installed @djamol registry editor but it is now broken by your app
I`m running Lumia 620 with Cyan update that was installed on PfD build which allows to install Cyan onto it. Extras+info app shows Core Build ID 3058.50000.1425.10479. OS version is 8.10.14176.243.
winphoneuser said:
I have still no luck using it.
Here is some minor mistakes with this app:
Apps folder getting renamed to apps (littlecase first digit "A")
Four stage of Applying... called Defualt app backup (instead of Default)
and the "swapper" doesn`t starting if installed on SD card and then being moved to Internal/Phone storage. Just infinite Loading... appears if you made it. I was forced to install it directly to Phone storage to work.
I`m trying to apply your registry editor to Preview for Developers app. And getting errors (permissions and E_ACCESSDENIED/0x80070005) at the last stage (Default app backup line is filled and Applying custom XAP file is at the dots animation stage). And I`m able to rename Apps forlder with Pocket File Manager, WPSystem folder attributes unchecked correctly, Preview for Developers folder {178AC... is empty after your app`s activity.
I had successfully installed @djamol registry editor but it is now broken by your app
I`m running Lumia 620 with Cyan update that was installed on PfD build which allows to install Cyan onto it. Extras+info app shows Core Build ID 3058.50000.1425.10479. OS version is 8.10.14176.243.
Click to expand...
Click to collapse
if you are using pfd app then follow these steps
1. try using above app
2. it will show error , ignore it .
3. now manually copy contents of reg app and paste them in pdf app . ( for copy - paste use "file Manager" or "Folders" app )
4. done
It worked for me .
irshad2809 said:
if you are using pfd app then follow these steps
1. try using above app
2. it will show error , ignore it .
3. now manually copy contents of reg app and paste them in pdf app . ( for copy - paste use "file Manager" or "Folders" app )
4. done
It worked for me .
Click to expand...
Click to collapse
Finally done it manually. After your post I tried to remove PfD app, redownloaded it from store and then with "swapper" tried to swap the apps. After the error messages I did use Pocket File Manager and realized that this time Preview for Developers folder was not empty, there was Install folder into it. I have renamed folder apps to Appx, erased the content of Preview for Developers folder ( {178AC... ) and then renamed folder Appx to Apps.
"Swapper" is the name of the CustomWPSystem app. @GoodDayToDie used it the first time (see original post). I do liked it and then used by myself. Probably that naming making problems for translating sites. Sorry for the inconvience.
Click to expand...
Click to collapse
Using Metro Commander Pro (paid one, but I got it for free during giveaway) I have copied content of {27D6A090... to {178AC... and:
It works!

Is the package name important in eclipse?

Hello !t
Is the package name important or I can write any package name in my app
and if I need update my app is package name required or just key store
please help me
When you create a new java project, no matter if it is android or not, you need a package name but you can choose your own using the pattern your.custom.packagename.bla.bla and even more additions if you want. It is used to identify your app in an app store, hierarchically order your code etc.
Your package name is used in any java class inside your project and it should stay the same all the time.
When you update your app, you create an updated apk file from your project so it automatically contains your package name
--------------------
Phone: Nexus 4
OS: rooted Lollipop LRX21T
Bootloader: unlocked
Recovery: TWRP 2.8.2.0
Thanks
But now If I upload my app to google play, Is possible change the name of package name in source code or I must put old package name
In this case what is importance of the key store and If any one know my package name is that problem or not ?
thanks
You must use the one from the source code
No don't worry, the package name serves for identification of the app so it actually is rather good if people know it.
The keystore is used to digitally sign your apk file and makes sure that people cannot pretend that their app is yours.
For example if anybody else would make a duplicate app that has the same package name and they tell users of your app that they should install this apk file because it is an "update" for your app (but it actually is a malicious duplicate), then android will refuse to install that app and tell theuser that the bad app isn't signed with your original signature and is potentially bad.
--------------------
Phone: Nexus 4
OS: rooted Lollipop LRX21T
Bootloader: unlocked
Recovery: TWRP 2.8.2.0
thanks so much

Modifying the layout of the Joying Radio app

Modifying the layout of the Joying Radio app.
version 0.2 See changelog at the bottom of this post.
This works in essence for most apks. There are some differences where the layout is defined in xml files or in json files.
Requirements:
java runtime version 7 or better.
apktool: (https://ibotpeaches.github.io/Apktool/)
Editor that handles unix LF correct. Any linux or Mac OS/X editor will do. Notepad on Windows does NOT. On Windows use Notepad++: (https://notepad-plus-plus.org/download/) for example.
Optional: ApkPack: (http://mirrors.gtxlabs.com/joying/3_Misc_Tools/ApkPack/)
Read(!!) the basic apktool Basic, Decoding, Building: (https://ibotpeaches.github.io/Apktool/documentation/) documentation to get a general understanding for the apk structure. It's about 1½ page and prevents a lot of questions.
Knowledge of working in a terminal / command box (some people still call this a DOS-box). These actions are not done using a nice graphical interface/program.
Installation of requirements:
Java: Either use Sun java: (https://www.java.com) for all platforms, Openjdk: (http://openjdk.java.net) for linux, or Mac OS/X's own java version (make sure it is version 7 or better)
apktool: See here: (https://ibotpeaches.github.io/Apktool/install/)
ApkPack.exe: This one can be used to pack/unpack the Allapp.pkg. This allows you to get the apks. Another option is to "adb pull" the original from your unit to work on.
apkPack is a windows binary but runs fine under wine.
General note
An apk file is actually nothing more than a zip file. This means that you can also unzip/rezip an apk. For only modifying buttons and other graphical elements, this is sufficient. When you also want to modify the layout of the main screen or sub-screens, you really need apktool to decompile/compile. If you want to do minor code changes, you also need apktool. (Also a java jar file is also nothing more than a zip file).
Note for Windows users
Text files contain lines (obvious). These lines end with CRLF ("\r\n") line endings on Windows (and MAC versions before OS/X). On linuxes/unixes they end with "\n".
For some files inside an apk this really matters! That's why you need an editor that can handle that correctly, like for example Notepad++.
Android is Case sensitive! Uppercase and lowercase characters do matter and are different (unless when used in strings)
Getting the radio apk
Copy one of my radio mods.
Use ApkPack.exe to get the apk out of the Allapp.pkg.
Use adb to copy the apk from the unit like "adb pull /system/app/JY-1-C9-Radio-V1.0/JY-1-C9-Radio-V1.0.apk ." (the last "." is not a typo). This assumes you already made a connection via USB or tcpip
Download the apk from "http://mirrors.gtxlabs.com/joying/1_Firmware/".
Install framework-res for use in apktool
This step might not be necessary for the radio apk, but is necessary if you modify apks that use system functions. It's anyway better to do this step.
Every Apktool release contains internally the most up to date AOSP framework at the time of the release. This allows you to decode and build most apks without a problem. However, manufacturers add their own framework files in addition to the regular AOSP ones. To use apktool against these manufacturer apks you must first install the manufacturer framework files.
Inside the 5009_60.zip (or previously the 5009_20.zip), you will find inside "/system/framework" the "framework-res.apk". Extract that one from the zip.
In a terminal window, you do on the command line:
Code:
<path_to>/apktool if <path_to>/framework-res.apk
You need to do this step for every new ROM upgrade from Joying.
Decompile the apk
Create some folder where you want to work on the apk.
Inside that folder do inside a terminal:
Code:
<path_to>/apktool d <path_to>/JY-JY-1-C9-Radio-V1.0.apk
(Change forward slash "/" to backward slash "" on windows.).
This will create a folder "JY-JY-1-C9-Radio-V1.0" containing the decompiled apk including the from-binary-to-UTF-8 text converted AndroidManifest.xml.
Code:
AndroidManifest.xml (file)
apktool.yml (file)
assets (folder containing "all kind of things" needed by the apk, but not belonging to the standard res structure. This can be images, files, scripts or even other apks)
original (folder containing original AndroidManifest.xml)
res (folder containing layout, graphics, translations, etc.)
smali (folder containing the decompiled code in "smali" format)
The "res" folder contains a large amount of sub folders.
The three most important folders are:
Code:
drawable-land-nodpi-v4 (contains resolution unspecific graphic elements for landscape mode)
drawable-nodpi-v4 (portrait version of above. Only needed because the original apk contains a corrupt png and can't be recompiled)
raw (contains screen config/layout in json formatted files. Most apks have the config/layout in straight xml)
Initial steps when using the original apk
When using the original apk (instead of one of my mods), you need two extra steps:
- Copy the "ic_point.png" from the folder "drawable-land-nodpi-v4" to the folder "drawable-nodpi-v4". As mentioned: that png is corrupt in the original "drawable-nodpi-v4" which makes that you can't recompile the apk.
- You need to make a small code change in smali to get rid of the "PS:" prefix in front of the PS-text containing the station name.
Edit the "smali/com/syu/radio/RadioController.smali" in a good editor! (NOT Notepad).
Search for the string "PS:" which is in line 1557.
Change:
Code:
const-string v3, "PS:"
into
Code:
const-string v3, ""
Relation between the graphical elements and the layout definition
All the graphical elements like buttons, the frequency ruler and numbers for the (big) frequency are in "res/drawable-land-nodpi-v4".
The layout definition is in "raw/radio_ui.json". The "radio_ui.json" determines which graphical elements are used, and how and where they are positioned. The "radio_ui.json" also determines which texts in which font and font size are used and where they are positioned.
Examples:
The big frequency ruler is named "type":"HorizontalRuler" in the radio_ui.json and defined by the graphical element "drawables":["bk_ruler"], where "bk_ruler.png" is the image. Note that in the json file no extensions (.png) are used.
The "type":"StationView" determines the 6 buttons with inactive (unselected: *_n), active (current selected: *_p) and "on_click/on_tap" (*_p) state. Note also that you will find a ' "extras":[30,0,0,0],' in these sections. This will offset the x-postion 30 pixels to the right. If you want to center the text, change it to: "extras":[0,0,0,0],
The Frequency numbers and the buttons left/right around it. The frequency numbers are the images "num_0.png" to "num_9.png", plus the "num_point.png". The buttons left/right are the "drawables":["ic_freqm_n", "ic_freqm_p"] (down) and "drawables":["ic_freqp_n", "ic_freqp_p"] (up).
The PS, TA, AF, PTY etcetera can easily be found. These do not contain "drawables" (images), but are defined by textsize and text color.
All elements are positioned in a "X0,Y0,X1,Y1" or "top_left_X, top_left_Y,bottom_right_X, bottom_right_Y] rectangle.
Actually this is all.
You can play with it to change the layout.
If you want to change color or form of buttons, ruler or other elements, you have to modify exiting elements or create new elements in either Gimp or Photoshop or another package you are familiar with.
Note1: most PNGs are stored in "optimized" color mode (only store used colors) instead of "RGB" color mode (use full color palette). On small PNGs this can reduce the files by a factor 2, thereby reducing your apk size from ~2 MB to ~1.5 MB. This also means that in Gimp or Photoshop (or whatever), you first need to set the color mode to "RGB" before altering the elements, and before saving them back to "optimized".
Note2: Remember that Android is case-sensitive. When working with the layout or the graphics, keep this in mind!
Recompile the apk
When you are done "playing" and you want to experience the great and glorious app you created, you need to recompile it.
In your folder where you have the unpacked folder "JY-JY-1-C9-Radio-V1.0", you do a:
Code:
<path_to>/apktool -c b JY-JY-1-C9-Radio-V1.0
- Note that you specify the folder name, not some apk name
- the "b" is for build.
- The "-c" is to use the original AndroidManifest.xml
If you see errors, please first google for it before asking questions. There is so much to find on this stuff on the web.
If your apk compiled successfully (don't mind the warnings), you will find it inside "JY-JY-1-C9-Radio-V1.0/disẗ" as a new "JY-JY-1-C9-Radio-V1.0.apk".
Push the apk to your unit.
Simply use one of the scripts from my repository. Make sure to have adb in the right place (windows) or change the script accordingly. Read the Readme: (https://github.com/hvdwolf/Joying-RootAssistant/blob/master/Radio-Mod/Readme.md) on my github repository inside the "Radio-Mod" section for info on how to use the scripts to install it on your unit.
Troubleshooting
Q1. adb or adb.exe can't be found.
A1. Make sure you have adb installed. Use the proper path to adb.
Q2. I can't get a connection to the unit.
A2. Search the web and find out how adb should work, see also the readme in my Radio mods. On 6.0.1 first activate adb over tcpip, or conect via USB.
Q3. You get an android icon instead of the Radio icon and when you tap it, your unit says "application not installed".
A3. Reboot, check again and try another time to copy it to your unit. If nothing works (after a couple of attempts), reboot and copy the original radio apk back in place, reboot again.
Q4. You rebooted the unit and you hear music, but you don't see a Radio icon.
A4. Same as Q3/A3: so do the same. This is due to the fact that the Radio function is a 2-step approach on the Intel joying units. The CarRadio.apk (hidden) does the real work. The Radio.apk is just the visible "tweak and go" app.
Changelog:
Version 0.2, 06 June 2017; few typos and rephrasing; Add reference to working in terminal / cmd box; Add paragraph on installing framework-res.apk as dependency for apktool.
Version 0.1, 05 June 2017; first version
Do you need to pull the framework file from the unit and load into apk tool first?
https://ibotpeaches.github.io/Apktool/documentation/#framework-files
I ran into issues on 6 with apktool until I loaded the framework.
gustden said:
Do you need to pull the framework file from the unit and load into apk tool first?
https://ibotpeaches.github.io/Apktool/documentation/#framework-files
I ran into issues on 6 with apktool until I loaded the framework.
Click to expand...
Click to collapse
Did you have issues with the Radio app or with the SofiaServer apk?
I tried with the framework that came with apktool (inside the jar) and with the framework-res.apk from the joying unit.
Apart from the issues you can encounter on this 6.0.1 version, I didn't notice differences for the Radio app.
I can imagine that with SofiaServer being a real system app, that it also might need the framework-res.apk.
However, normally when decompiling you get an error if you miss a "framework" type apk. It will even mention which apk you need. (Had that on my previous Samsung phone which uses a lot of Samsung only resource and framework like apks.
I will at least add a 5th Q/A section describing how to do that.
surfer63 said:
Did you have issues with the Radio app or with the SofiaServer apk?
I tried with the framework that came with apktool (inside the jar) and with the framework-res.apk from the joying unit.
Apart from the issues you can encounter on this 6.0.1 version, I didn't notice differences for the Radio app.
I can imagine that with SofiaServer being a real system app, that it also might need the framework-res.apk.
However, normally when decompiling you get an error if you miss a "framework" type apk. It will even mention which apk you need. (Had that on my previous Samsung phone which uses a lot of Samsung only resource and framework like apks.
I will at least add a 5th Q/A section describing how to do that.
Click to expand...
Click to collapse
I had issues when I made changes to the SofiaServer apk. I initially built against the 6.0.1 ROM using the 5.1.1 framework. I didn't see any errors, the apk just would not work when loaded on the unit. Now, I pull it from the ROM and load on every ROM update ( just to be safe).
gustden said:
I had issues when I made changes to the SofiaServer apk. I initially built against the 6.0.1 ROM using the 5.1.1 framework. I didn't see any errors, the apk just would not work when loaded on the unit. Now, I pull it from the ROM and load on every ROM update ( just to be safe).
Click to expand...
Click to collapse
I added a section and not as a new Q/A

Categories

Resources