FM Radio in SM-A530W working! - Samsung Galaxy A8 (2018) Themes, Apps and Mods

Yes that is right. I poked around looking for a while until I came across a couple of files that looked good. Yeah I know...
All I did was take from the a530f the /system/etc/permissions/privapp-permissions-com.sec.android.app.fm.xml file and put it into my own directory along with the hybrid radio folder and apk in the system/priv-app/ directory. I set permissions accordingly, rebooted and that's it. Files are zipped and ready. Just set permissions right. I don't even know how to push/pull files exactly so if you're rooted then it's an easy deal.
Oh I used fx file explorer. I also hit "symlink" when I copied the folder with the apk. So just reboot and there was the app ready to go.
Enjoy, Canada! Should work generally the same on Samsung devices I would think. No expert but seems like it should.

Screenshot
Forgot the screenshots and specifics.
1) Download FX File Explorer from playstore (7 day trial and download the root add-on).
2) Put the .xml file in /system/etc/permissions/ and set permission rx- r- r- (you'll have to mount it I believe).
3) Put the folder with apk into /system/priv-app/ directory and I hit "symlink" only. Probably just sets permissions. Reboot and that's it.

*deleted*

the folder in /system/priv-app/ should be rwx r-x r-x and the apk contained within it should be rw- r-- r--
The xml in /system/etc/permissions/ is rw- r-- r--

ALL A530W ON CUSTOM ROMS: you don't have to do this because the rom already has fm radio

Yeah i thought so... that's why i thought i put in the apk twice. NOOB!
So just the .xml file then, correct?
I had no idea it was that easy. Cannot figure out how or why i never saw that in any searches.
So really apart from a few apk's, Samsung just magically omitted the files from Canadian W's.
Unreal. Even more unreal is this "locked chip" talk when really it is just not given access from 6 lines of text.
Unless you can point me to other examples, i am going to sort through other device ROMS and post .xml's for easy access. If it is similar for other Galaxy phones.

587.saboor said:
ALL A530W ON CUSTOM ROMS: you don't have to do this because the rom already has fm radio
Click to expand...
Click to collapse
Umm... ok are saying the .xml is not needed? Nothing is needed? Not quite sure now

mindlery said:
Umm... ok are saying the .xml is not needed? Nothing is needed? Not quite sure now
Click to expand...
Click to collapse
yes because the rom is based on a530f system

587.saboor said:
yes because the rom is based on a530f system
Click to expand...
Click to collapse
So you're saying in order to use the FM radio apk I need to install the SM-A530F ROM?
I think it's better to add the xml instead of flashing an F rom. I know they're the same but if you can grab any firmware from sammobile, flash and no modding I'd love to know about this!
+

mindlery said:
So you're saying in order to use the FM radio apk I need to install the SM-A530F ROM?
I think it's better to add the xml instead of flashing an F rom. I know they're the same but if you can grab any firmware from sammobile, flash and no modding I'd love to know about this!
+
Click to expand...
Click to collapse
I mean IF any a530w has an a530f rom installed already, they do not need to do this because apk and xmls already exist by default from the rom.
and I mean custom roms, NOT official. (so basically every rom available for this device because a lot of developers aren't from Canada)
(and I think official rom from a530f has fm radio too, I never tried flashing official a530f rom )
I have Lightrom on my phone, and it's for a8 and a8+ but the thread is in a8+ forums so check there if you want it

Oh ok yeah for sure. I didn't think any ROMS wwre available.
BUT... for anyone that has an A8 in Canada that has root and likes their current set up (do we ever stop)? Then this is an easy addition.
I used hades A8 port when i had my A5 and i think i got spoiled. I shall go download and flash away now...
Thanks. Gonna peek into the S9 and see if it's the same as well. (Out of curiousity).

Well, after 30 minutes, then 20, I'm done staring at SAMSUNG Galaxy A8 POWERED BY android.
Tell me the secret about installing an F rom onto a W. Not "they're the same." How?

mindlery said:
Well, after 30 minutes, then 20, I'm done staring at SAMSUNG Galaxy A8 POWERED BY android.
Tell me the secret about installing an F rom onto a W. Not "they're the same." How?
Click to expand...
Click to collapse
check pm

finally got it working
i tried on 3 different roms with no luck. finally i got it working on the floydport rom. no xml needed. i had to put the hybrid radio folder and apk into system/apps after mounting read write, then installed with the root installer built in fx explorer, rebooted and now i have working radio. for some reason every time i put them in the priv-apps folder they dissapear on reboot. just posting in case someone else is having problems. thanks for the apk!!

Yes the floyd rom had a file in peemissions already.
When i was doing it i probably did not do it right.
But i was successful at it again after going to stock after January's update.
I used fx and navigate to areas i needed and unlock the mount lock up top along the way and back out unmounting.
If you did floyd, then do the treble rom and not only is it a decent rom on its own and able to switch images easily, it has radio already there.

stringman666 said:
i tried on 3 different roms with no luck. finally i got it working on the floydport rom. no xml needed. i had to put the hybrid radio folder and apk into system/apps after mounting read write, then installed with the root installer built in fx explorer, rebooted and now i have working radio. for some reason every time i put them in the priv-apps folder they dissapear on reboot. just posting in case someone else is having problems. thanks for the apk!!
Click to expand...
Click to collapse
Do the treble!

Worked for me, thanks!

Any luck to perform this on a non rooted stock firmware? May with adb or another thing?

That's a good question. You would need to push just two files. If you had an A8 when released up until a certain point you'd only need to push the .xml
They never even bothered removing the apk.
So, since i am rooted with treble on a device without official treble support from Samsung, and a modified version of one ui, maybe you should try. I think it's a bit easier if you go first.

Is there a simple way to get the FM radio working like you said by just copying a file to a folder? I'm kind of a newbie at this and was wondering if anyone would consider writing the "how to" for this procedure that someone like me could understand. Just a simple step by step 1 2 3 on where to get the fm file and app and how to copy them in the A520W folders to make that FM tuner work. I was a little shocked Canadian carriers would even consider omitting the radio purely based on their greed......... ok, I wasn't really shocked, it's pretty much the norm up here.

Related

Fascinate's Live Wall Paper

I have attached fascinate's live wallpapers.
The fascinate live wallpapers aren't found on any other variant(s) of samsung galaxy s including the vibrant.
push each individual APK to /system/app and also push lib to system/lib
you can push using root explorer or adb or any other file manager type of program
(root explorer is the best imo)
Again, not responsible if anything happens to your phone etc etc
ENJOY!!
No dice, didn't show up when I installed them.
wazmoo said:
I have attached fascinate's live wallpapers.
The fascinate live wallpapers aren't found on any other variant(s) of samsung galaxy s including the vibrant.
Download the zip and flash like you would any other files (rom manager etc)
Again, not responsible if anything happens to your phone etc etc
ENJOY!!
Click to expand...
Click to collapse
You update script is broken.
a proper working recovery update version...
http://www.androidpolice.com/2010/0...ive-wallpapers-leaked-available-for-download/
Why does this need to be flashed? Do they overwrite the stock ones or something? Oh yeah, my phone came with the luminence one.
Thanks for the link, the Fascinate looks just like our phone! Ha, anyway I'm going to just adb push the files, seems easier than a recovery flash
raduque said:
Why does this need to be flashed? Do they overwrite the stock ones or something? Oh yeah, my phone came with the luminence one.
Click to expand...
Click to collapse
No, it doesn't overwrite anything. You can open up the zip file and install the individual apk files, but you have to push the liblwfa-0.A.2-mng-p1.so file to your /system/lib/ directory before any of them will work.
wait.
where do i move the .zip to?
What I did was open up the zip file and went into the app folder and copied all the apk files over to my phone and installed them one by one. Work for me that way. BTW love the wallpapers!
any screen shots?
srqt said:
any screen shots?
Click to expand...
Click to collapse
I also would like to see some.
Ok so I tried flashing this, and the wallpapers didn't show up. So I tried copying the .so file to system/lib folder and installed each .apk individually, so now they show up, but force close when I try to use them.
Anyone have any idea how to get this working, cos it seems to me that out should be good one way or another now.
Thanks
___
Hi. My name is Jess, and I love my Vibrant. That is all.
Here are some screens I made. I think they're kinda "girly", but to each their own.
Oliver Face said:
Here are some screens I made. I think they're kinda "girly", but to each their own.
Click to expand...
Click to collapse
I have to agree with that statement sir.
theres plenty more Facinate live wallpapers that put the vibrant to shame.... can someone port from the facinate dump?
JessJames said:
Ok so I tried flashing this, and the wallpapers didn't show up. So I tried copying the .so file to system/lib folder and installed each .apk individually, so now they show up, but force close when I try to use them.
Anyone have any idea how to get this working, cos it seems to me that out should be good one way or another now.
Thanks
___
Hi. My name is Jess, and I love my Vibrant. That is all.
Click to expand...
Click to collapse
Jess, your problem is that the APKs need to be pushed into /system/app - you can't install them, they'll show up, but won't work. Try uninstalling them and push each file to /system/app.
just as rdauque says, push each individual apk to /system/app. DON'T INSTALL THEM OR FLASH.
also, some devices might need the lib to be push to system/lib.
you can use root explorer or adb to push these files.
works like a charm
*Purple* Spark lwp mod
Oliver Face said:
Here are some screens I made. I think they're kinda "girly", but to each their own.
Click to expand...
Click to collapse
Nothing wrong with girly wallpapers, some of us (admittedly nerdy) girls actually use android =)
Anyway, I really love the spark wallpaper, but honestly, I've always preferred purple over pink, so I colored the background for my liking.
Anyway, flash/push the original zip contents to your phone, or at least the .so file to /system/lib, then copy/push this to /system/app for my purple Spark mod.
Cheers,
=)
~ Jocelyn
Just move the apk files using root explorer to system/app and it will appear in your live wallpaper files.
Sent from my SGH-T959 using Tapatalk

[MOD][COG-4][UnNamed] Over-scroll Glow!

Discontinued. The latest versions of all previously supported ROMs have this functionality built in.
This gives you an over-scroll glow when you reach the end of a list.
I really hope you knew that before clicking on this thread.
Example if you don't know what I'm talking about
It's just a modified framework.jar with modified files allowing the over-scroll to work and the correct glow images assigned to it. Theming is very easy, just colorize the over-scroll glow pngs in framework-res.apk. The default is orange.
What I want to do with this thread is sort of have a place where you can find the over-scroll enabling mod for every popular ROM for our phones. If you think I should support a ROM that I currently don't, then please post in the forums because I read every post! Ask to put a ROM on the wishlist. Upload the ROM's framework-res.apk and framework.jar files and I'll work on it when I'm not busy with school.
Currently, the wish list is:
Stock KH7
[Update on 10/15/11] UnNamed v1.0.1 compatible files uploaded. Give them a try. Honorable mention to quarlow
Installation:
BACK UP YOUR OLD FRAMEWORK.JAR
Because I'll just laugh at you if you complain that your phone won't boot up.
>>>ADB:
Code:
Extract the CWM package to get the framework.jar
adb remount
adb shell
su
cd /system/framework/
cp framework.jar framework.jar.backup
exit
exit
adb push framework.jar /system/framework/
adb reboot
>>>ROOT EXPLORER:
Extract the CWM package to get the framework.jar
Okay, now you can theoretically do this, but why would you want to? You'll get lots of crashes and might mess something important up.
Go to: /system/framework/ and rename framework.jar to something else. Go back to where-ever you saved my modified framework.jar and copy it over to /system/framework/ and change the permissions of the new framework.jar to match the old one. I'm pretty sure it's rw-r--r--, but don't quote me on that. + Restart your phone.
Simba501 has a more indepth tutorial on how to install this mod through Root Explorer here
>>>RECOVERY (preferred):
Flash the one specific to the ROM you're running
Whatever method you choose, know that it will take a stupidly long time for your phone to boot-up. Don't worry though, it'll be worth the wait.
Yoderk created some cool themes for the over-scroll glow for Cognition Beta-4 which you can find HERE.
UnNamed 1.0.1 works with 1.0.2 and 1.0.3 as well.
Also, please remember to say THANKS if I helped you!
cwm please!!
<3
diabolicalangle said:
cwm please!!
<3
Click to expand...
Click to collapse
It's there if you REALLY need it. I haven't tested it and to be honest, it's been a very very long time since I made my last CWM compatible file. Maybe it works though, try it out. If not, then use one of the other methods.
Fine work sir! Works well on Cog Beta 4.
yoderk said:
Fine work sir! Works well on Cog Beta 4.
Click to expand...
Click to collapse
That's awesome! Someone test it on stock w/ root, because if it works there, I'll be amazed.
Confirming that the cwm flashable zip works on cog beta 3!
Working fine here. I'm technically on Beta 1, but I've manually added the components I wanted from each Beta update because there were things I didn't want.
I have a suggestion. I don't know why everyone repeats that method for using root explorer. That's a terrible way to do it. I always use root explorer to manually replace my files and have never experienced any issues. Here is the correct way to use root explorer for manually replacing modded files:
1. Navigate to the file that you plan to replace (in this case, system/framework/framework.jar).
2. Copy (not move) the file and paste it somewhere on your SD card (internal or external, doesn't matter - as long as you can locate it in case you need to put it back). Rename the file you just pasted, but very subtly. For example, when renaming framework.jar, I would only throw something in front of the file name, such as "Backup - framework.jar", so I can easily distinguish it from the new file if I put them in the same spot.
3. NANDROID BACKUP!
4. Download/put on your sd card (whatever you do) the new file that you want to replace the old one with.
5. Move the new file to /system (not in a subfolder yet). Here you will change the permissions, which is crucial to avoid FCs and problems. In root explorer, you would long press the file, press permissions, and set them to whatever the old file's permissions are. This may require going to verify what they are before starting this step. In this case, the permissions are RW-R-R, which in root explorer, means that the first two boxes on the first line are checked and only the first box on the next two lines are checked.
6. Ensure that your new file is correctly named to exactly what it is replacing (case actually matters) and that the permissions also match what it is replacing.
7. Move your new file to the folder, root explorer will ask if you want to replace the file. Confirm.
8. Back out of root explorer and immediately reboot.
No force closes, no problems .
Cwm file worked great on cog beta 4. Thnkz!!
Sent from my SAMSUNG-SGH-I777 Cognition
Simba501 said:
Working fine here. I'm technically on Beta 1, but I've manually added the components I wanted from each Beta update because there were things I didn't want.
I have a suggestion. I don't know why everyone repeats that method for using root explorer. That's a terrible way to do it. I always use root explorer to manually replace my files and have never experienced any issues. Here is the correct way to use root explorer for manually replacing modded files:
...
No force closes, no problems .
Click to expand...
Click to collapse
Thanks! I added your tutorial to the OP.
Well if your like me and hate orange! Then here are two framework-res.apk with a blue and green overscroll color. Just rename them to framework-res.apk and overwrite the original file in system/framework.
Do not forget to back up original file! I claim no responsibility to problems.
Very subtle but a very nice touch...kudos...came zip worked great!!!
Sent from my SAMSUNG-SGH-I777 using XDA App
stock with root, i've got nothing. tried root explorer method and cwm
Does this still have the problem of not changing the Contacts or other Samsung apps?
illathanyours said:
stock with root, i've got nothing. tried root explorer method and cwm
Click to expand...
Click to collapse
Alright this may be Cog4 only... if you want, upload your framework.jar and framework-res.apk and I'll mod it for you and let me know if that works.
MikeyMike01 said:
Does this still have the problem of not changing the Contacts or other Samsung apps?
Click to expand...
Click to collapse
Yes. Those need the tw-framework to be modified and I haven't taken a look at those yet since I'm trying out Perception for a couple of days and that already has it coded in? But it isn't a problem per-say, it's just how Samsung decided to code those specific apps and there isn't a way to implement them in 2.3.4 without breaking the slide left to call, slide right to message, feature. 2.3.5 Roms have that built in on Samsung apps.
Problem probably isn't the best word.
Thanks for answering though. I always wanted the overscroll but having mixed bothered me.
Sent from my SGH-i777
shishir95 said:
Alright this may be Cog4 only... if you want, upload your framework.jar and framework-res.apk and I'll mod it for you and let me know if that works.
Well it's not that pressing of an issue, but maybe I'll send it to you later but right now I'm Dealing with insane iPhone customers, makes me want to hang myself... If 2.3.5 is gonna be coming sometime soon I wouldn't care about the wait.
Anyone know about 2.3.5 ota eta?
Sent from illaphone.
Click to expand...
Click to collapse
illathanyours said:
shishir95 said:
Alright this may be Cog4 only... if you want, upload your framework.jar and framework-res.apk and I'll mod it for you and let me know if that works.
Well it's not that pressing of an issue, but maybe I'll send it to you later but right now I'm Dealing with insane iPhone customers, makes me want to hang myself... If 2.3.5 is gonna be coming sometime soon I wouldn't care about the wait.
Anyone know about 2.3.5 ota eta?
Sent from illaphone.
Click to expand...
Click to collapse
There's a leaked 2.3.5 ROM for the i777 but personally I'm using designgear's Perception which is a port of a i9100 ROM and it works perfectly. I'd recommend the latter since leaked ROMs tend to have problems.
Click to expand...
Click to collapse
could you modify the framework.jar for UnNamed v1.0.1 - First ever well documented and open source stock derived rom? It has the extended power menu and if I overwrite the framework.jar using this it will break that extended power menu. Much thanks for getting the overscroll glow!!
Skyler2Dope said:
could you modify the framework.jar for UnNamed v1.0.1 - First ever well documented and open source stock derived rom? It has the extended power menu and if I overwrite the framework.jar using this it will break that extended power menu. Much thanks for getting the overscroll glow!!
Click to expand...
Click to collapse
I'll give it a try if there's enough demand for it.
shishir95 said:
I'll give it a try if there's enough demand for it.
Click to expand...
Click to collapse
+1 here

[Q] Samsung AllShare

Hey there, if I'm retarded and don't know how to search properly, flame away, but I found nothing. I really like having the allshare feature to stream to my Samsung TVs and Bluray players, but all the non-original roms have removed the allshare application. Does anyone have some insight for me?
flatlandju said:
Hey there, if I'm retarded and don't know how to search properly, flame away, but I found nothing. I really like having the allshare feature to stream to my Samsung TVs and Bluray players, but all the non-original roms have removed the allshare application. Does anyone have some insight for me?
Click to expand...
Click to collapse
Custom roms remove lots of stuff,no worries because you can always download a rom that you know has what you need and extract stuff.I'm pretty sure you are looking for this Dlna.apk for allshare.I extracted it out of the newest n7000 note stock dodexed-rooted rom.You will have to put it in system/app file and set correct permissions.There is a lot of info on how to do this in the forums if you don't know how.
technut said:
Custom roms remove lots of stuff,no worries because you can always download a rom that you know has what you need and extract stuff.I'm pretty sure you are looking for this Dlna.apk for allshare.I extracted it out of the newest n7000 note stock dodexed-rooted rom.You will have to put it in system/app file and set correct permissions.There is a lot of info on how to do this in the forums if you don't know how.
Click to expand...
Click to collapse
It still doesn't seem to want to let me install it no matter what I do or where I place the APK. I must be missing something.
Are you using tw rom or aosp rom. the stock dlna is for tw only. there are other apps that work like twonky.
flatlandju said:
It still doesn't seem to want to let me install it no matter what I do or where I place the APK. I must be missing something.
Click to expand...
Click to collapse
To install .apk's you need a file manager like esf file explorer and set the permissions in the settings of the app to:root explorer/up to root/mount file system as writable(this is how you are allowed to change permissions of .apk's) then it's a matter of moving the .apk file into the system/app folder and changing the properties of the .apk to rw-r--r--(see attached).That .apk might rely on .lib files or other files to run,I'm not sure,I looked for any lib files that looked like they might of belonged with that .apk but I couldn't find any.Anything really beyond this I am not advanced enough to help out getting it to run on your rom but many here are though.If you are on an ICS rom it will run on it though if you get the correct files and permissions.Good luck.
technut said:
To install .apk's you need a file manager like esf file explorer and set the permissions in the settings of the app to:root explorer/up to root/mount file system as writable(this is how you are allowed to change permissions of .apk's) then it's a matter of moving the .apk file into the system/app folder and changing the properties of the .apk to rw-r--r--(see attached).That .apk might rely on .lib files or other files to run,I'm not sure,I looked for any lib files that looked like they might of belonged with that .apk but I couldn't find any.Anything really beyond this I am not advanced enough to help out getting it to run on your rom but many here are though.If you are on an ICS rom it will run on it though if you get the correct files and permissions.Good luck.
Click to expand...
Click to collapse
Thank you all so much for the replies, I never knew how well one would be treated on here! I still haven't gotten it to work, probably due to being on the new PA cm10 release, but you guys are great regardless

[Q] Strange behaviour of a System App (SuspendWindow.apk)

Hi. I have 2 Mpai 809t octacore phones, almost the same specs (first one with 1gb ram and 20130303 rom version and second one with 2gb ram and rom 20130122)
The most recent rom version has the Preview window perfectly working, the oldest no. I noticed that the fault is the missing Apk SuspendWindow.apk and his Library (libhallwindowjni.so)
Copying the apk and library from one rom to the other does not the trick. The service never starts at boot. I tried almost everything, also copied all framework and system apk files from one rom to the other, nothing... the apk never starts at boot
I would like to develop an Ota update for this phone to fix this issue, so i would really like to understand the reason of this behaviour.
Any suggestion is reeeally welcomed!
Thanks in advance!!!
Claudio
pcprice76 said:
Hi. I have 2 Mpai 809t octacore phones, almost the same specs (first one with 1gb ram and 20130303 rom version and second one with 2gb ram and rom 20130122)
The most recent rom version has the Preview window perfectly working, the oldest no. I noticed that the fault is the missing Apk SuspendWindow.apk and his Library (libhallwindowjni.so)
Copying the apk and library from one rom to the other does not the trick. The service never starts at boot. I tried almost everything, also copied all framework and system apk files from one rom to the other, nothing... the apk never starts at boot
I would like to develop an Ota update for this phone to fix this issue, so i would really like to understand the reason of this behaviour.
Any suggestion is reeeally welcomed!
Thanks in advance!!!
Claudio
Click to expand...
Click to collapse
When you copied the files over to the /system/app and /system lib folder, did you also set the permissions of the apps correctly? Can't just drag and drop those kinds of apps as they need special permissions to run. The first 3 options on the left side of permissions window and the top middle one should be selected in a file manager with root access and then rebooted.
es0tericcha0s said:
When you copied the files over to the /system/app and /system lib folder, did you also set the permissions of the apps correctly? Can't just drag and drop those kinds of apps as they need special permissions to run. The first 3 options on the left side of permissions window and the top middle one should be selected in a file manager with root access and then rebooted.
Click to expand...
Click to collapse
Hi, thanks for your reply!
I thought about a permission problem... so i tried through root explorer to set correct permissions. I also installed those files in recovery with an update.zip (in this way they inherited those permissions). Nothing happaned
Is it possible that there's something in kernel that has something to do with it?
That stuff is a bit beyond my skills. Could be another lib. Could be it needs to link to something in /bin or /xbin. But seems like there is a 4.3 update from earlier this year. Might update and see if things work right on the newer version. http://www.needrom.com/mobile/mpai-809t-2/ though it doesn't say if it is for the 1 or 2 GB RAM versions or if they can use either.

Extracting Stock Camera

I am trying to figure out how to extract the camera app from the stock ROM to use in the CM13 ROM. Partly because I would like to use it for slow-motion video and to experiment with it, but also because I would like to turn this into a learning experience. I've been following instructions to flash ROMs for a few years now, but haven't gone farther than that.
So here has been my experience so far:
- Backed up CM13, flashed stock (rooted), and converted the app to user app in order to back it up.
- I noticed that it would crash on startup as a user app, so I converted it back to a system app as an experiment. It still would crash on startup.
- I decided to try going another route and extracted the stock ROM in SuperR's Kitchen. Got the apk, flashed it in CM13. Same situation: crash on startup as user or system app.
I am unsure where to go from here. Any help is greatly appreciated. Thanks in advance.
Side note: I know there is a questions sub-forum too, but I figured it fit here better as it is about extracting an app to mod the ROM. If I was mistaken, please just move the thread over to the appropriate sub-forum.
Masterjuggler said:
I am trying to figure out how to extract the camera app from the stock ROM to use in the CM13 ROM. Partly because I would like to use it for slow-motion video and to experiment with it, but also because I would like to turn this into a learning experience. I've been following instructions to flash ROMs for a few years now, but haven't gone farther than that.
So here has been my experience so far:
- Backed up CM13, flashed stock (rooted), and converted the app to user app in order to back it up.
- I noticed that it would crash on startup as a user app, so I converted it back to a system app as an experiment. It still would crash on startup.
- I decided to try going another route and extracted the stock ROM in SuperR's Kitchen. Got the apk, flashed it in CM13. Same situation: crash on startup as user or system app.
I am unsure where to go from here. Any help is greatly appreciated. Thanks in advance.
Side note: I know there is a questions sub-forum too, but I figured it fit here better as it is about extracting an app to mod the ROM. If I was mistaken, please just move the thread over to the appropriate sub-forum.
Click to expand...
Click to collapse
Did the logcat give any pointers as to why it might have crashed?
It's a camera app, for MiFavor, and only for MiFavor. It's probably depending on something else from the stock ROM, and that's why it's crashing in CM.
I like this idea. I might even look into modifying the app itself, to see if we can get it working outside of MiFavor.
I don't think I worded it clearly enough, the first time I converted it to a user app and back to system, it was still in the stock ROM. Something about the conversion screwed things up. I'll have to flash stock again at some point and grab logcats while it's working and after I screw it up.
In the meantime, I attached a logcat for everything containing "camera" after it was converted to a system app in cm13. It's kind of harsh to look at it in pure text format, but I used the matlog app with its color coding to record it.
To be honest, I'm not quite sure what I'm looking at with this, or if I went about this in the right way.
EDIT: I have no idea why the logcat is not attaching correctly. I'll need to find some other way of doing it.
It works fine under CM according to a friend. You just need the libs to go along with the app.
Here is the WHOLE folder of ZTE camera, he just put this inside the /system/priv-app/ folder and apparently it's working just fine after a reboot.
https://my.mixtape.moe/znyabg.7z
Remember to press thanks and buy me a beer.
It's still not working properly for me, but here are a few things I noticed:
- When I extracted the app from the ROM using SuperR's Kitchen, that folder did exist in /system/priv-app/ZTE_Camera/. However, the directory was completely empty, unlike your download.
- When I installed the app in CM13 and converted it to a system app, it moved to /system/priv-app/ rather than /system/priv-app/ZTE_Camera/.
- I copied the lib folder to /system/priv-app/, didn't work. I then created the folder ZTE_Camera and copied both lib and the apk into it. Didn't change anything. Of course rebooting with each change. I didn't think this would work in the first place, as the application shortcut on my home screen points to /system/priv-app/.
Definitely thanks though for helping me out. Beer... that's another matter. Nasty stuff that is. I can just hear people yelling at me behind their screens lol.
Was it a deodexed ROM? Might need to try it with the odex files? When I check /system/priv-app/ZTE_Camera, there's also an "oat" folder with odex files since this hasn't been deodexed...
Or maybe SuperR's kitchen was trying to automatically deodex while you were extracting.
To be honest, I never understood odex, just throwing ideas out at this point.
Masterjuggler said:
It's still not working properly for me, but here are a few things I noticed:
- When I extracted the app from the ROM using SuperR's Kitchen, that folder did exist in /system/priv-app/ZTE_Camera/. However, the directory was completely empty, unlike your download.
- When I installed the app in CM13 and converted it to a system app, it moved to /system/priv-app/ rather than /system/priv-app/ZTE_Camera/.
- I copied the lib folder to /system/priv-app/, didn't work. I then created the folder ZTE_Camera and copied both lib and the apk into it. Didn't change anything. Of course rebooting with each change. I didn't think this would work in the first place, as the application shortcut on my home screen points to /system/priv-app/.
Definitely thanks though for helping me out. Beer... that's another matter. Nasty stuff that is. I can just hear people yelling at me behind their screens lol.
Click to expand...
Click to collapse
I'm sure it works, friend confirmed it works on CM13 and I'm using it on BrokenOS. To clear it up.
It should be /system/priv_app/ZTE_Camera. And inside that folder should be the apk along with the lib. If you just extract the zip I gave you into priv_app it should just work. I have no idea why it doesn't work for you. Everything about the camera works. Slomo, video h265, the works.
You can try making a backup of the stock camera app using titanium backup then install it on your phone after flashing CyanogenMod. What I would do is flash zad miix then back up the stock camera app with titanium backup. Then transfer the back up to your PC. Then flash CyanogenMod and reinstall the camera app with titanium backup.
as already I will have this phone I start doing this mods
if anyone can search the file this and tell me if an entry is interesting?
I'm currently using LOS 14.1, and the method suggested does not work - File Manager throws an error about R/W, TWRP claims /system is empty, and ADB push says "Successful" but isn't.
NadavCE said:
I'm currently using LOS 14.1, and the method suggested does not work - File Manager throws an error about R/W, TWRP claims /system is empty, and ADB push says "Successful" but isn't.
Click to expand...
Click to collapse
It is working for me, just copied the files with root explorer to priv-app, restarted and it is up and running.
Thanks @BlazingBullets for providing the files!
PS. the only problem so far is that you can't access the pictures right through the app, i think we need the zte gallery for that.
lian00 said:
It is working for me, just copied the files with root explorer to priv-app, restarted and it is up and running.
Thanks @BlazingBullets for providing the files!
PS. the only problem so far is that you can't access the pictures right through the app, i think we need the zte gallery for that.
Click to expand...
Click to collapse
Root Explorer doesn't work for me either. Did you root with SuperSU or with the Lineage root zip?
NadavCE said:
Root Explorer doesn't work for me either. Did you root with SuperSU or with the Lineage root zip?
Click to expand...
Click to collapse
Used SuperSU 2.79SR3.
I can confirm using the files provided works. I have the stock MM camera working with all of it's shooting modes !
Any body have the files in a .zip they can upload? I have no computer access and the few apps I tried on my phone seem to corrupt the files.
First app I tried extracted the 7zip file just fine.
NadavCE said:
Root Explorer doesn't work for me either. Did you root with SuperSU or with the Lineage root zip?
Click to expand...
Click to collapse
You have to disable the write-protect on the system partition: in a terminal emulator, preferably in TWRP, type out:
Code:
reboot disemmcwp
Erahgon said:
You have to disable the write-protect on the system partition: in a terminal emulator, preferably in TWRP, type out:
Code:
reboot disemmcwp
Click to expand...
Click to collapse
Thanks, that did it. Copied successfully to /system/priv_app, but it doesn't show up after a reboot. When I accessed the folder and tapped the APK, I got "there is a problem parsing the package."
NadavCE said:
Thanks, that did it. Copied successfully to /system/priv_app, but it doesn't show up after a reboot. When I accessed the folder and tapped the APK, I got "there is a problem parsing the package."
Click to expand...
Click to collapse
Maybe the app permissions are wrong?
Erahgon said:
Maybe the app permissions are wrong?
Click to expand...
Click to collapse
Should I give it full permissions then?
---------------------------------------------------------------------------------------------------------------------------
Update: After giving everything (ZTE_Camera folder, the APK, the lib folder, the arm folder, and all the libs) full permissions, the app works. However resolution is limited to 8Mp 4:3 (3200 x 2400). Can anyone else confirm this?

Categories

Resources