Joying 6.0.1 Update, original settings.apk - Android Head-Units

No matter if I replace it manually or using AssassinLament's script, the original android settings apk (settings.apk from priv-app/settings in the rom) always immediately crashes and closes. Joyings version of settings.apk works fine. Permissions set to 0644. Any ideas?
Searched for a solution in the roll up/ Update 6 threads, sorry If I missed it in there somewhere.

juandhi said:
No matter if I replace it manually or using AssassinLament's script, the original android settings apk (settings.apk from priv-app/settings in the rom) always immediately crashes and closes. Joyings version of settings.apk works fine. Permissions set to 0644. Any ideas?
Searched for a solution in the roll up/ Update 6 threads, sorry If I missed it in there somewhere.
Click to expand...
Click to collapse
I had the same issue till I corrected the directory structure. The Settings.apk goes in the system/priv-app/Settings/ folder, but the Settings.odex file goes under system/priv-app/Settings/oat/x86/. All files 644 and all directories 755.

PsychoMcSatan said:
I had the same issue till I corrected the directory structure. The Settings.apk goes in the \Settings\ folder, but the Settings.odex file goes under \Settings\Oat\x86\. All files 644 and all directories 755.
Click to expand...
Click to collapse
This was it , thanks!

PsychoMcSatan said:
I had the same issue till I corrected the directory structure. The Settings.apk goes in the \Settings\ folder, but the Settings.odex file goes under \Settings\Oat\x86\. All files 644 and all directories 755.
Click to expand...
Click to collapse
The most important part of this answer is that you NOT leave the original /system/priv-app/Settings/oat/x86/Settings.odex
The odex file is the pre-processed file of the classes.dex file of the original Settings.apk. If you leave the "old" odex file in place the Dalvik JVM goes haywire as the apk is not correct.
If you only want to copy the Settings.apk file, you have to remove the odex file in that case. The Dalvik JVM will create a new one in the Dalvik cache (the "optimizing" x application(s) message).
So, yes. It is better to simply copy the entire Settings folder including the oat data.
I only add this to give some more insight why it is going wrong if you only copy the new apk in without removing/replacing the oat content as well.

surfer63 said:
The most important part of this answer is that you NOT leave the original /system/priv-app/Settings/oat/x86/Settings.odex
The odex file is the pre-processed file of the classes.dex file of the original Settings.apk. If you leave the "old" odex file in place the Dalvik JVM goes haywire as the apk is not correct.
If you only want to copy the Settings.apk file, you have to remove the odex file in that case. The Dalvik JVM will create a new one in the Dalvik cache (the "optimizing" x application(s) message).
So, yes. It is better to simply copy the entire Settings folder including the oat data.
I only add this to give some more insight why it is going wrong if you only copy the new apk in without removing/replacing the oat content as well.
Click to expand...
Click to collapse
I wish I could get this working but even deleting the entire Settings folder and replacing it with the one extracted from the Joying zip and setting all folders to 755 and files to 644, settings stills crashes on open
I even tried replacing the folder back with the old one to see if it still worked and it does with the old settings??
I even tried the script from this post: (although this is just a bat file of what I was doing manually anyway)
https://forum.xda-developers.com/showpost.php?p=72107737&postcount=109
Still crashes on open :'(

I keep getting this error when trying to update. I did the file it suggested if an error occurred that worked then tried to go back and install the upgrade file and I get this error. Any help?
{
"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"
}

Can you please share the Download links for my Joying 6.0.1 Sofia unit?
I have a ODBII device which I am unable to pair so I want to try the Bluetooth stock settings from Android.

thedru13 said:
I keep getting this error when trying to update. I did the file it suggested if an error occurred that worked then tried to go back and install the upgrade file and I get this error. Any help?
View attachment 4147698
Click to expand...
Click to collapse
Put it on a USB stick instead of your SD-card.
---------- Post added at 06:32 PM ---------- Previous post was at 06:31 PM ----------
gessi2000 said:
Can you please share the Download links for my Joying 6.0.1 Sofia unit?
I have a ODBII device which I am unable to pair so I want to try the Bluetooth stock settings from Android.
Click to expand...
Click to collapse
https://www.carjoying.com/blog/joying-head-unit-after-sale-support/59.html
And what do you mean with Bluetooth stock settings? If you mean a "set to factory defaults" you can do that from the Settings apk.
If you mean the standard Android Settings app, then be more specific.

surfer63 said:
Put it on a USB stick instead of your SD-card.
And what do you mean with Bluetooth stock settings? If you mean a "set to factory defaults" you can do that from the Settings apk.
If you mean the standard Android Settings app, then be more specific.
Click to expand...
Click to collapse
I meant the "Settings > Bluetooth" portion of any Android default settings menu which I do not have within my Joying Sofia 8" 6.0.1 unit's settings menu.
However I tried to replace both files today and settings.apk doesn't even start after a reboot. I discovered there is no "/system/priv-app/Settings/oat/x86/Settings.odex" file/folder but "/system/framework/oat/x86/Settings.odex" on my device!?
I changed permissions of both files to 644 of course.

gessi2000 said:
I meant the "Settings > Bluetooth" portion of any Android default settings menu which I do not have within my Joying Sofia 8" 6.0.1 unit's settings menu.
However I tried to replace both files today and settings.apk doesn't even start after a reboot. I discovered there is no "/system/priv-app/Settings/oat/x86/Settings.odex" file/folder but "/system/framework/oat/x86/Settings.odex" on my device!?
I changed permissions of both files to 644 of course.
Click to expand...
Click to collapse
In that case: try my apk.
It needs a rooted unit. If you don't have that: try the script.
And yes: Joyings crippled version doesn't need an odex. The original Android AOSP version does.

Ahhh... I have rooted my device yesterday and installed your toolset but didn't check all options yet... Will try tomorrow as just the upgraded version 1.6 installed late night...thanks mate!

Related

[tweak] PFGPS v2.0 FIX - improve speed and accuracy GPS

Thread again open to request users.
{
"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"
}
Before installation make backup in CWM. Everything what you are doing is at your own risk !
Results for my country - the result will be different for each country.
Without PFGPS - 2400 seconds Fixed - apply xda qfix
PFGPS FIX v2.0 :
- First start - 9 seconds - Fixed
- Second start (reconnection) - 2 seconds - Fixed
- Accuracy 3-7 meters
If you leave your country FIX automatically switches to to another best location .
It is not possible to create TWEAK for the whole world. Users can try and choose which version is best for him.
Version 2.0 has 6 different version (version A, B ,C, D, E, F) Earliest try each version and then select verion which was the best for you.
Download: http://www.multiupload.com/4S38925QR4
Extended support for Hungary & Bosnia and Herzegovina:http://www.multiupload.com/PHH5AZ2YN3
If you chage ROM need flash my FIX again!
How install: Download this pack extract PFGPS to computer find your coutry and copy your Country to SDcard and install via CWM. (Without formating any file only replace gps file)
This FIX is build from my Xperia project data and android-servers souce.
Original Samsung Galaxy ACE GPS backup here: http://www.multiupload.com/C7G7SNNKMZ
#Tweak ported and customized by PFittech
#credits AngelDeaths & anddevs & PFittech​
Thanks
downloading now
gonna try after backing up my current rom
---------- Post added at 04:50 AM ---------- Previous post was at 03:55 AM ----------
May be you done mistske in making update zip cause in cwm installetion aborted for india.zip
any way i replaced file manually by root explorer and then after reboot i check maps and now it show location more speedyly than before so thanks
Hey PFittech,
i can confirm its working for the Netherlands. Every time i use nav program gps locks within 60sec, even after phone reboot. THNX!!, again another annoying thing got rid off.
I also got an error on installing from sdcard, so had to put the files manually at the right place. After this i had to reboot 2 times for changes to take effect.
Cheers and again THNX.
Does this work on CyanogenMod 7 ?
Poland.zip installetion aborted too
Ireland aborted.
Sent from my GT-S5830 using xda premium
I think it's something wrong with updater-script
Forever living in my Galaxy Ace using XDA App
ChaosChris said:
Does this work on CyanogenMod 7 ?
Click to expand...
Click to collapse
Yes working with cm7 i tested
helo czech abort instal cwm
pls
write full path for copy manual ? thx
nims11 said:
Thanks
downloading now
gonna try after backing up my current rom
---------- Post added at 04:50 AM ---------- Previous post was at 03:55 AM ----------
May be you done mistske in making update zip cause in cwm installetion aborted for india.zip
any way i replaced file manually by root explorer and then after reboot i check maps and now it show location more speedyly than before so thanks
Click to expand...
Click to collapse
can u please tell which files to be replaced and where exactly to be replaced using root explorer m too from india. plz help
dm08b002 said:
can u please tell which files to be replaced and where exactly to be replaced using root explorer m too from india. plz help
Click to expand...
Click to collapse
Extract your zip file then there is two folder
go in system folder there is anothrr two folder one bin and second etc
so copy file inside bin folder to your phones system/bin/ and change permission to rwxr-xr-x
and file inside etc folder copy to your phones system/etc/ and change permission to rw-r-r
then reboot
can someone confirm if this works for Galaxy ACE?. If not working I delete my post I need feedback.
For those who had problems of instalaton I verify script.
I confermed already though i conferm you again its working properly with ace
prob was in update script
so i put all files manually and working awesomely so thanks again
OK, but it is very bad when it is not installed via a script.I dont have ACE I can not verify this. Could you tell me there is someone put a link to your ROM, i need to know the location of some files for editing. THX
PFittech said:
OK, but it is very bad when it is not installed via a script.I dont have ACE I can not verify this. Could you tell me there is someone put a link to your ROM, i need to know the location of some files for editing. THX
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=17576100&postcount=3
it is kernel of rom may it help to use its update script to you
and link of rom you asked
http://forum.xda-developers.com/showthread.php?t=1263292
PFittech said:
OK, but it is very bad when it is not installed via a script.I dont have ACE I can not verify this. Could you tell me there is someone put a link to your ROM, i need to know the location of some files for editing. THX
Click to expand...
Click to collapse
We usually use:
Code:
run_program("system/xbin/busybox" "mount" "/system")
for mounting /system .
And:
Code:
run_program("system/xbin/busybox" "unmount" "/system")
for unmounting /system .
This is also applied to /cache , /data , /sdcard and /sd-ext too !
work fast... thanks =)
For Brazil, it says Installation Aborted, but even replacing using the root explorer and setting up the permissions, my GPS still not locking up. It was working fine with the stock rom.
His update-binary must be problematic .
All files abort with status 0 .
Forever living in my Galaxy Ace using XDA App
for those who get this - Installation aborted. Your kernel does not support my script - amateur said. I'm sorry but I will not fix every file again. The second option is to Install here: @ nims11
Extract your zip file then there is two folder
go in system folder there is one folder anothrr two second bin and etc
Copy the file inside bin folder to your phone system / bin / and change permission to rwxr-xr-x
file and folder inside etc copy to your phone system / etc / and change permission to rw-rr
then reboot
my script works on Galaxy s1,s2 without problem . For Ace use instalatlion via root explorer. I wanted deleted this thread for ACE but someone wrote that it works via ROOT EXPLOLER.

Photosphere feature in 4.2

So I was playing with Photosphere on my Nexus S, and a thought came in.
Samsung, or any other OEM's that make Android Camera, should work hard to bring 4.2 update to their Android Cameras.
Photosphere would be a standout/luring feature to promote their Android Cameras which are somewhat a new kind of product.
While Photosphere is still in beta and doesn't stitch very well, I think people still would like to try it out since it is something new and exciting.
Samsung, Nikon, you heard?
Hurry up before someone does it first.
jk0l said:
So I was playing with Photosphere on my Nexus S, and a thought came in.
Samsung, or any other OEM's that make Android Camera, should work hard to bring 4.2 update to their Android Cameras.
Photosphere would be a standout/luring feature to promote their Android Cameras which are somewhat a new kind of product.
While Photosphere is still in beta and doesn't stitch very well, I think people still would like to try it out since it is something new and exciting.
Click to expand...
Click to collapse
I´ve had Photosphere on my Galaxy Camera almost since the first day I bought it!! Look here: http://forum.xda-developers.com/showthread.php?t=2035555
robb13 said:
I´ve had Photosphere on my Galaxy Camera almost since the first day I bought it!! Look here: http://forum.xda-developers.com/showthread.php?t=2035555
Click to expand...
Click to collapse
Hi Robb
I followed your instructions and was able to download the App + Lib onto my PC and extracted the WinRar files.
I've copied them to my Galaxy Camera's Ext SD card and can copy them to the system directories.
But I'm not sure how to change permissions on the files.
Can you please explain how to do this? I'm a noob to Android.
Thanks.
I use photo sphere too on my galaxy camera and work fine.
So for your problem, you need to change right of the file like say on the link provide.
For doing that, you need a file explorer with admin right.
I use ES file explorer.
Once you install this file explorer, you need first to allow him to access to root, for that go to : Settings
Then on the boot you will found : Root settings
Enable everything there.
Then after enable the first one, you get a pop up inform you to agree to give right on Super SU. Do Yes and after agree to give right.
When done, go to your folder app and lib where you copy the file, found the file one by one and made a long push on the file for show a menu and choice option on bottom "Properties" that open a new windows.
There click on "change" button and enable everything in "Read" column and on user for "write" column then click "ok" and again "ok".
Do that for all files (5 if I remember well) and reboot the Camera.
You will got 2 new icon for camera and galery
Hope I'm clear ^^
David.
djudenne said:
I use photo sphere too on my galaxy camera and work fine.
So for your problem, you need to change right of the file like say on the link provide.
For doing that, you need a file explorer with admin right.
I use ES file explorer.
Once you install this file explorer, you need first to allow him to access to root, for that go to : Settings
Then on the boot you will found : Root settings
Enable everything there.
Then after enable the first one, you get a pop up inform you to agree to give right on Super SU. Do Yes and after agree to give right.
When done, go to your folder app and lib where you copy the file, found the file one by one and made a long push on the file for show a menu and choice option on bottom "Properties" that open a new windows.
There click on "change" button and enable everything in "Read" column and on user for "write" column then click "ok" and again "ok".
Do that for all files (5 if I remember well) and reboot the Camera.
You will got 2 new icon for camera and galery
Hope I'm clear ^^
David.
Click to expand...
Click to collapse
Thanks David.
I've downloaded ES File Explorer and am having difficulty copying the files to the system/app directory.
First I connect the SGC to my PC and after the files are extracted with WinRar I copied them to the Download folder on the Camera.
Then using ES File Explorer I navigate to the Download folder and tried to copy/paste the files to the System/app directory but it gave the message that copy "GoogleGallery.apk" failed? The Gmscore.apk was copied OK.
What am I doing wrong?
I'll recheck the Root settings but I think I did that right as I can access the Root directory in ES File Manager now.
BTW, could it be because my SGC is not Rooted?
Any help would be greatly appreciated.
Yes I think you need root your device for get right to change file in system/app folder or even right of file.
So first root your device, very easy for the moment due of Eqynox issue, uberNoobZA and cybriks on the forum confirm he can root with the tools from Chainfire.
You can read the full topic about root Galaxy Camera here :
http://forum.xda-developers.com/showthread.php?t=1995245
Or go to page 5 firectly if you want use the method from Chainfire where uberNoobZA and cybriks confirm it work
The link about how to use the Chainfire tools :
http://forum.xda-developers.com/showthread.php?t=2050297
This method should be the easy way compare to the one use Odin, so you should be able to use it, it's only an app you run and do eveything alone
So do it and then try again to copy file and change right and you probably can use Photo Sphere (I like this function ^__^)
David
{
"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"
}
took this one at work. Almost perfect.

[MOD] Black battery percentage SystemUI.apk 4.4.4 stock

As the tittle says this is a SystemUI mod for the stock 4.4.4 that makes the battery % black.
This was made following this topic http://forum.xda-developers.com/showpost.php?p=47620593&postcount=1 by homeslice976
this is just the apk, so extract it(its compressed as rar) and replace it manually(it's not a flashable zip)
4.4.4 black
sha1:e5417692d723956e0bcc78eb04d293bd5f212341
https://www.mediafire.com/?86wevy55hbnlsaf
4.4.4 black-bolt
sha1:e5417692d723956e0bcc78eb04d293bd5f212341
https://www.mediafire.com/?6mir78ew6g8k5ft
4.4.3 black
sha1:e3364fb36a3dcd0504857f8ced198fdb3f213069
https://www.mediafire.com/?ii1kiz5dgk1u2kd
hmm I replaced the original systemui.apk with yours and no black numbers. Even with percent enabled installed and on/off no numbers. What am i doing wrong?
stoneule said:
hmm I replaced the original systemui.apk with yours and no black numbers. Even with percent enabled installed and on/off no numbers. What am i doing wrong?
Click to expand...
Click to collapse
did you enable percentage first?
enable:
Code:
adb shell content insert --uri content://settings/system --bind name:s:status_bar_show_battery_percent --bind value:i:1
if you want to disable it
disable:
Code:
adb shell content insert --uri content://settings/system --bind name:s:status_bar_show_battery_percent --bind value:i:0
I didn't do that ^ and mine works fine after setting permissions on the apk. Using stock de-odex 4.4.3.
Anyway, works great! Thanks OP!!!!!!
hmm still nothing. Would my being on an stock odex rom be a problem?
Could be this is made for de-odexed 4.4.3, the OP doesn't say. Maybe he can clarify that for everyone.
Works on pure stock here.
Setting the correct permissions was a bit of a surprise for me though, but it works now.
{
"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"
}
You could modify an odex SystemUI.apk (KTU84M) with the percentage of battery (black), clock in the center and Clear All Recents Button?
I am at a loss
Sent from my Nexus 5 using XDA Premium 4 mobile app
meranto said:
Works on pure stock here.
Setting the correct permissions was a bit of a surprise for me though, but it works now.
Click to expand...
Click to collapse
You said it works, so I'm running an odex stock rom, and when I move the apk to the priv-app file to replace the existing Systemui.apk my systemui just force closes and i am forced to hard reboot. then when i reboot everything is fine and I go into the file to change permissions then after rebooting again nothing happens. Suggestions?
stoneule said:
You said it works, so I'm running an odex stock rom, and when I move the apk to the priv-app file to replace the existing Systemui.apk my systemui just force closes and i am forced to hard reboot. then when i reboot everything is fine and I go into the file to change permissions then after rebooting again nothing happens. Suggestions?
Click to expand...
Click to collapse
delete the .odex for the SystemUI.apk
Sent from my Nexus 5 using Tapatalk
KelevrA_8 said:
delete the .odex for the SystemUI.apk
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thanks x1000! I Thought I had done this but it turns out I had not. Much appreciated!
Thank you very much, great work!
I'll keep an eye on this thread, if you ever make a mod like this, but using bold font for numbers (original font is too thin for me), I'll use it for sure!
Thank you! :good:
4.4.4 added
the bolt version seams to be much more eye friendly
in case it doesn't work for you just rename the odex SystemUI too (something like SystemUI.odex.bak)
td32 said:
4.4.4 added
the bolt version seams to be much more eye friendly
in case it doesn't work for you just rename the odex SystemUI too (something like SystemUI.odex.bak)
Click to expand...
Click to collapse
v4.4.4 with "bold black" font works like a charm!
Thank you!
this doesnt work on deoxeded rom
F4M0U569 said:
this doesnt work on deoxeded rom
Click to expand...
Click to collapse
I followed these steps and worked fine for me (although I'm in odexed stock 4.4.4 rom):
- Download "4.4.4 black" or "4.4.4 black-bolt" (in my case) modified version of SystemUI.apk, from first post (thanks to td32).
- Copy and overwrite SystemUI.apk in /system/priv-app folder.
- Set its permissions to RW-R--R--.
- Delete (or rename, or copy to anywhere for backup) SystemUI.odex from /system/priv-app folder.
- Reboot.
Have you tried this, and it still doesn't work?
Thanks for this op! Sometimes its the little things that mean so much.
Sent from my Nexus 5 using Tapatalk
maortrol said:
I followed these steps and worked fine for me (although I'm in odexed stock 4.4.4 rom):
- Download "4.4.4 black" or "4.4.4 black-bolt" (in my case) modified version of SystemUI.apk, from first post (thanks to td32).
- Copy and overwrite SystemUI.apk in /system/priv-app folder
- Set its permissions to RW-R--R--
- Delete SystemUI.odex from /system/priv-app folder
- Reboot
Have you tried this, and it still doesn't work?
Click to expand...
Click to collapse
as soon as i copy and overwrite it, it force closes and forces me to reflash the rom or revert back to the original
F4M0U569 said:
as soon as i copy and overwrite it, it force closes and forces me to reflash the rom or revert back to the original
Click to expand...
Click to collapse
I use Solid Explorer to do that, it let me overwrite this file without FC; then change permissions, delete SystemUI.odex and reboot.
What file manager are you using? Can you try Solid Explorer and see?

Help Flashing Music Player Please

Ok so I just rooted my phone and uninstalled the android music player. I then flashed an older version of the stock android music player which I really like, but the app isn't showing up on my phone. I did the same thing on my old S2 and it worked fine, so I'm not sure what's up.
I've attached the music player zip if that helps. Maybe it's incompatible with an S5?
Also, does anyone know where to get other older versions of the stock android music player?
Did you try to install the music player as a system app......
That is probably the only method that will work......
If you are rooted, you need a root enabled file explorer like ES file explorer or Root Explorer.
You copy your music player app and paste it into.....
system>>app (you have to have RW permissions enabled in the file explorer app)
Then you change the permissions for the music player to rw- r-- r-- and reboot.....
It *should* be 'job done'.......
http://i.imgur.com/rVnFwJM.jpg
Hi... thanks for your help. I got Root Explorer and copied the zip file into the app folder, then flashed the zip again, but it didn't work. Am I supposed to transfer the zip file or the apk file to that folder?
Also, in the application manager there's something called "multimedia UI service layer", which has the same icon as the stock music player. Should I uninstall this too? Would I need to remove any trace of the stock player to get this one to work?
No....this app cannot be installed in the usual manner (with a package installer) it has to be unzipped to its apk format, then copied/pasted into that folder and it's permissions changed (as described above).....
As for any other apps that *look* like the app you are trying to install (Unless they are called exactly the same thing) it's probably best to leave them alone.
Just remember, you *must* reboot the device in order for the copy/paste/permission change to take effect.....
Edit.....just re read your original post.....
Not sure if it'll work anyway......
Most system apps are framework dependent.....
Meaning that if your preferred music player was built for an older version of Android, it *may not* work if installed into a newer version.....
http://i.imgur.com/rVnFwJM.jpg
I put the apk file in the app folder and it's showing up in my phone now! Problem is, whenever I start it I get the message "unfortunately music player has stopped". I think I may have messed something up when I uninstalled the stock player because I re-flashed it as well before and got the same message. I think maybe I'll have to do a factory reset, which is ok cause I just got the phone.
I doubt factory resetting will help much in this case.....If you've changed stuff in the system folder, it won't delete what you did and reset things, it'll just perform the reset on what is currently installed....
What you changed will still be there.
Did you change the permissions of the app correctly?
Did you reboot afterwards?
http://i.imgur.com/rVnFwJM.jpg
Uh oh that sucks. I have the read and write permissions checked, and execute is unchecked. I tried installing it from the app folder and it gives me the message "app not installed".
No fella......you don't install the app at all....
You.....
1) copy/paste the app into the [system>>app] folder.
2) long press on the app until a dialog box opens.
3) select permissions from that dialog box.
4) change app permissions to......
rw- r-- r--
5) Reboot the device.
Job done
http://i.imgur.com/rVnFwJM.jpg
---------- Post added at 01:56 AM ---------- Previous post was at 01:51 AM ----------
This is what you should see when you select permissions.......
{
"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"
}
and you need to set the permission 'check' marks to the same configuration as in the picture.
http://i.imgur.com/rVnFwJM.jpg
Yes that's what I did initially, and those are the permissions I have. I thought that after it didn't work that trying to install it might, but it didn't. I think uninstalling the stock player screwed something up.
Or it could simply be that the version of music player is incompatible with the version of Android you have.....
Where to go from here?......
3 options......
1) download your firmware, extract the music player and install it like you've been trying to do with your preferred version....
2) flash the entire firmware again.
3) try a 3rd party music player
http://i.imgur.com/rVnFwJM.jpg
I ended up re-flashing the stock rom and everything is back to normal. Can't get the old music player to work but oh well. Thanks for your help!

[MOD][TEMPLATE] APK-Patcher Lite

APK-Patcher Lite
Flashable Zip Template for Modifying System APKs On-Device
Based on APK-Patcher by @osm0sis​
Information
This is a modified version of APK-Patcher that will delete / inject files into System APK files instead of using a baksmali / apktool method.
The method used here is a similar method used in my ROMs to patch files, where instead of having to have like for example 4 SystemUI files, I only needed to keep the actual files that were changed.
This method could also be used quite easily to apply OTA updates or addons on already pre-modified APK files.
LINK TO GITHUB (STANDARD): https://github.com/djb77/APK-Patcher-Lite
LINK TO GITHUB (MAGISK): https://github.com/djb77/APK-Patcher-Lite_Magisk
Usage
Copy your pre-compiled resource files (including .dex files) to the patch folder, removing the .apk part of the filename (ie: SystemUI)
Create a file in scripts with the same name (ie: SystemUI.sh) if you want to delete any existing files from the APK
Make edits to envvar.sh, and also to extracmd.sh if needed
Properties / Variables (envvar.sh)
banner="";
apklist="";
apkbak=/data/media/0/APK-Backup;
backup=1;
cleanup=1;
banner is the name of your patch zip, usually suggestive of what it does, to be displayed at the beginning of the zip flash. You should include your name/handle here like "by osm0sis @ xda-developers" for credit purposes.
apklist is a string containing the list of APKs to be patched included in the patch zip, separated by spaces between the quotes. Each APK is automatically found recursively in /system, then copied to the working directory to be decompiled and acted on, then copied back to /system.
apkbak is the location to place backups of the untouched APKs in apklist if backup=1 is set.
backup=1 will store backups of the untouched APKs in the location specified in apkbak.
cleanup=0 will keep the zip from removing it's working directory in /tmp/apkpatcher - this can be useful if trying to debug in adb shell whether the patches worked correctly. cleanup=1 is necessary on multi-APK patching zips, so it's recommended each APK to be patched be tested on their own with cleanup=0 before combining into a single zip.
envvar.sh
Modify the envvar.sh to add your banner, apklist, backup and cleanup options
Multiple files can be patched, put a space between the filenames (ie: apklist="file1.apk file2.apk"
extracmd.sh
Modify the extracmd.sh to add any additional commands to be performed at the end of the patching process that aren't patch-related (/data file changes,
scripts/$apkname.sh
fileremove="";
$apkname is the name of the folder that you put your resources files in. Copy scripts_sample.sh and rename it to your APK (ie: SystemUI.sh)
Multiple files can be deleted, put a space between the paths (ie: fileremove="/res/drawable/file1.png /res/drawable/file1.png"
Good job, mate. Usefull for a 5-SystemUI ROMs :highfive:
Good job as usual..... mate
Nice one mate
Can't wait to try it out
Well done, good job bro [emoji106]
Can I use this to get more coins in wonka's world of candy?
NICE... :good: :highfive:
Good work djb77
Replied to wrong thread
Could this modify an apk's screen orientation?
For months i've been trying to get USTVHUB to open on my Shield TV on 8.0 but wont because the app only opens in portrait mode-meant for phones only.
This app works on my S7 or phones. But no matter which screen orientation app i try, and tried editing code, the app crashes every time on my Shield tv because that's landscape mode.
If the OP app wont work for this can someone point me in the direction of something that would work to change an apk's screen orientation?
{
"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"
}
dovedescent7 said:
Could this modify an apk's screen orientation?
For months i've been trying to get USTVHUB to open on my Shield TV on 8.0 but wont because the app only opens in portrait mode-meant for phones only.
This app works on my S7 or phones. But no matter which screen orientation app i try, and tried editing code, the app crashes every time on my Shield tv because that's landscape mode.
If the OP app wont work for this can someone point me in the direction of something that would work to change an apk's screen orientation?
Click to expand...
Click to collapse
My module will work if you give it the right files to inject, what files/resources my module injects into an APK is your responsibility.
this need root?
smallville7123 said:
this need root?
Click to expand...
Click to collapse
no root needed, just custom recovery to flash your finished zip
Does it support non system app? Can I add files (not replace) that does not exist in the APK itself? (My banking app launcher icon only support mdpi, so I want to add higher resolution)
For me returned error bellow
Code:
local entry crc does not match

Categories

Resources