I guess it's called "Richnote." I'm wondering if someone could export that APK and upload it somewhere so that I can try and get it running on a Galaxy S4. I found http://koolwap.in/games_app/dld.php...ba/comlgeapprichnote-30200111-v32.htm&ext=apk, but the phone just says "application not installed." I have a notes backup from an old E970 that I'd like to view, but I obviously can't with the GS4 (the format is .rnt, whatever that is), and I don't have any other LG device to view them from.
Here it is.
I extracted the app from my phone using Stock 4.1.2
Its called Rich Note
Here is the
PHP:
[URL="http://www.mediafire.com/download/x483o5gtq3o8a8c/com.lge.app.richnote.apk"]link[/URL]
I have this one. Copy to system app and set permissions. Doesn't work with kitkat in ART mode.
https://app.box.com/s/qfxao2m9rcctp2b03eom
Thanks guys!
Unfortunately, for both of those APKs, the phone just says application not installed.
It won't install as a normal app. You need to copy it with a root explorer to system apps, set permissions and reboot.
Sent from my LG Optimus G using xda app-developers app
Try this app it opens the notes I made with the lg notebook app.
https://play.google.com/store/apps/details?id=com.rookiestudio.perfectviewer&hl=en
adfurgerson said:
It won't install as a normal app. You need to copy it with a root explorer to system apps, set permissions and reboot.
Sent from my LG Optimus G using xda app-developers app
Try this app it opens the notes I made with the lg notebook app.
https://play.google.com/store/apps/details?id=com.rookiestudio.perfectviewer&hl=en
Click to expand...
Click to collapse
That probably explains it. The phone currently isn't rooted.
Regarding Perfect Viewer, it's unable to find the "backup.rnt" file that Richnote made during the export, even if I tell something like ES File Explorer to open that file with Perfect Viewer.
So there's no way to install that app without rooting?
So I rooted, copied one of the two APKs that were posted here into /system/app, changed the permissions to match the other APKs that I saw, rebooted, and nothing new showed up. Do these APKs need a matching OPEX file? Both of the Richnote APKs do this.
besweeet said:
So I rooted, copied one of the two APKs that were posted here into /system/app, changed the permissions to match the other APKs that I saw, rebooted, and nothing new showed up. Do these APKs need a matching OPEX file? Both of the Richnote APKs do this.
Click to expand...
Click to collapse
The one I posted shows up as "notebook" in app drawer and it doesn't have an odex file. Not sure if that would keep it from working on an odexd ROM. It is a modded apk. and I am pretty sure I found in a Samsung forum.
Oh...and googling .rnt it says it is files for CNC machines, but there are some free programs to open them.
adfurgerson said:
The one I posted shows up as "notebook" in app drawer and it doesn't have an odex file. Not sure if that would keep it from working on an odexd ROM. It is a modded apk. and I am pretty sure I found in a Samsung forum.
Oh...and googling .rnt it says it is files for CNC machines, but there are some free programs to open them.
Click to expand...
Click to collapse
Ah... I'm really confused, then. I tried putting some random APKs in /system/app and they ended up showing up after a reboot, so I'm not sure what's happening with the APKs that you guys posted.
I might just go to a T-Mobile store to open up my Richnotes backup and email all of the text to myself.
This is where I got it from downloaded the zip and pulled app from it. Does it look like the same note app you are trying to get?
http://forum.xda-developers.com/showthread.php?t=1938414
adfurgerson said:
This is where I got it from downloaded the zip and pulled app from it. Does it look like the same note app you are trying to get?
http://forum.xda-developers.com/showthread.php?t=1938414
Click to expand...
Click to collapse
I'm not sure what it looked like before (I barely used the phone), but I don't think that that's it.
I think I skipped out on your APK (the first two that I mentioned, one was from Alex_XV6700, the second was RichNote_a003.apk from a stock AT&T ROM for the E970). I put it in /system/apps, and the app works, but it's a different app overall, unfortunately. Thanks anyway.
I think the idea of going to a store to get the notes would be the easiest.
Related
i was just wondering if anyone knows a way to manually install more fonts on the vibrant.
I was wondering the same thing
Search for "FlipFont" in the market.
zinite said:
Search for "FlipFont" in the market.
Click to expand...
Click to collapse
appreciate it. will give it a shot. hopefully it works for non-root.
What if you want to use a font that flipfonts hasn't offered?
EDIT: NM got it, an app for Root users called Type Fresh can backup/ restore system fonts, and can install new fonts with proper permissions. Any TTF font file works, but picking ones that are designed for on screen viewing is best.
sent from my Samsung Vibrant
The_Chrome_Coyote said:
What if you want to use a font that flipfonts hasn't offered?
EDIT: NM got it, an app for Root users called Type Fresh can backup/ restore system fonts, and can install new fonts with proper permissions. Any TTF font file works, but picking ones that are designed for on screen viewing is best.
sent from my Samsung Vibrant
Click to expand...
Click to collapse
thanks! zinite and the chrome coyote
EDIT: i tried the app. i got to the point where i restart the phone but the new fonts do not apply. have you or anyone got this to work right on the vibrant yet? (the chrome coyote)
I tried it as well and also had no success. Font would not apply.
At least you Vibrant users got some "starter fonts" out of the box.
Captivates don't come with any besides the default.
I highly recommend the Helvetica Neue from the Market, btw, especially if you were fond of the Zune interface.
DJ! said:
thanks! zinite and the chrome coyote
EDIT: i tried the app. i got to the point where i restart the phone but the new fonts do not apply. have you or anyone got this to work right on the vibrant yet? (the chrome coyote)
Click to expand...
Click to collapse
creator2456 said:
I tried it as well and also had no success. Font would not apply.
Click to expand...
Click to collapse
Yes. I ran into this problem as well. You need to go to Settings and return your fonts to "Default" and reboot before you will see the changes.
The app works by replacing the default fonts, if the phone is already using a flipfont font then it wont work
The_Chrome_Coyote said:
Yes. I ran into this problem as well. You need to go to Settings and return your fonts to "Default" and reboot before you will see the changes.
The app works by replacing the default fonts, if the phone is already using a flipfont font then it wont work
Click to expand...
Click to collapse
I'll give that a try as it seems like a very reasonable reason why it wasn't working. Thanks for that.
Try my guide: http://www.xxthe3dmanxx.com/AndroidFonts/androidfont.html
It was written for the Moto Cliq but might work on the vibrant.
the3dman13 said:
Try my guide: http://www.xxthe3dmanxx.com/AndroidFonts/androidfont.html
It was written for the Moto Cliq but might work on the vibrant.
Click to expand...
Click to collapse
Just tried it. Did not work. Not sure if I did anything wrong, but I followed directions properly. Phone would not boot past initial Samsung Vibrant screen. Luckily I was able to ADB the .backup out and replace the original.
I just recently put this in the sticky in the general section. I listed the directory where to put the font, reboot, go to the settings and select the font, phone should reboot with the new font added.
I would LOVE IF you could test the directory for me. I bought helvatica through the system, do I think it's correct.
creator2456 said:
Just tried it. Did not work. Not sure if I did anything wrong, but I followed directions properly. Phone would not boot past initial Samsung Vibrant screen. Luckily I was able to ADB the .backup out and replace the original.
Click to expand...
Click to collapse
You need to adjust the permissions of the renamed font files to match the stock fonts or else you'll boot loop
sent from my Samsung Vibrant
The_Chrome_Coyote said:
You need to adjust the permissions of the renamed font files to match the stock fonts or else you'll boot loop
sent from my Samsung Vibrant
Click to expand...
Click to collapse
Ok...I followed the directions and did as they said. So, how does one go about doing this?
I use Root Explorer, as its one of the easiest ways to move system files around your phone.
To save you time looking in /system/fonts the permissions are:
User: Read-Yes, Write-Yes, Execute-No
Group: Read-Yes, Write-Yes, Execute-Yes
Others: Read-Yes, Write-No, Execute-Yes
Using Root explorer, you can navigate to your renamed DroidSans.ttf and DroidSans-Bold.ttf files, long press on them and select "permissions", then make sure the permissions match the stock font's listed above.
I cant express how effective the Type Fresh App was in doing this for me, and saves me a whole ton of hassle renaming everything. Plus its free.
The_Chrome_Coyote said:
I use Root Explorer, as its one of the easiest ways to move system files around your phone.
To save you time looking in /system/fonts the permissions are:
User: Read-Yes, Write-Yes, Execute-No
Group: Read-Yes, Write-Yes, Execute-Yes
Others: Read-Yes, Write-No, Execute-Yes
Using Root explorer, you can navigate to your renamed DroidSans.ttf and DroidSans-Bold.ttf files, long press on them and select "permissions", then make sure the permissions match the stock font's listed above.
I cant express how effective the Type Fresh App was in doing this for me, and saves me a whole ton of hassle renaming everything. Plus its free.
Click to expand...
Click to collapse
Thanks for that. Guess I'll give it a go again later today. I'll try Type Fresh again first, then move to doing it manually.
International Fonts
For more fonts and also international fonts, I did a tutorial on a Moto Droid couple months back, it should be exactly the same for "ROOTED" Samsung Vibrant:
http://nexusonehacks.net/android-hacks/droid-hack-how-to-install-thai-font-on-droid/
What I would like to know is how to write the AKP for flipfonts.
I wanted to pull one of the APKs from the Apps directory, but it seems to to work. I also tried making a backup of the APK with titanium backup, but the zip is empty. It seems the files are protected in some way.
I just wanted to take a look at the structure of the apk so I can use it as a template to create custom font APKs to side load.
If anyone can manage to make a backup of one of the flipfont APKs please explain how you did so.
I installed thai fonts by update.zip no root required.
Hi everyone just picked up this phone coming from a rezound.I'm brand new to att and I've never see this icon before,it's the one to the left of the alarm clock.I've already unlocked and rooted so if I need to edit the build prop that's not a problem.any one know what this ugly icon is?
Sent from my HTC One X+ using xda app-developers app
It's the NFC notification.
You can turn NFC off in settings and the notification goes away. Just turn it on when you want to use it.
nobnut said:
It's the NFC notification.
You can turn NFC off in settings and the notification goes away. Just turn it on when you want to use it.
Click to expand...
Click to collapse
WOW! I feel dumb now,but this is my first phone with NFC so that explains why I've never seen that before.Thanks again for your help.
Sent from my HTC One X+ using xda app-developers app
JT75 said:
WOW! I feel dumb now,but this is my first phone with NFC so that explains why I've never seen that before.Thanks again for your help.
Sent from my HTC One X+ using xda app-developers app
Click to expand...
Click to collapse
I had several phones with NFC and none of them showed this ugly symbol. Must be a HTC thing. The worst is that Google Wallet is anyway deactivated by AT&T. So it is pretty useless except for exchanging data with Google beam.
Does anyone know how to remove the icon from the status bar without disabling NFC?
I found a thread about disabling it on the Galaxy Note II, but it doesn't work for the One X+.
This is what you do on the Note:
"This can be edited in the feature.xml file (located in "/system/csc/feature.xml") under the NFC the Statusbaricontype should be changed from ATT to none."
Perhaps there's a similar method for us.
esiedlecki said:
Does anyone know how to remove the icon from the status bar without disabling NFC?
I found a thread about disabling it on the Galaxy Note II, but it doesn't work for the One X+.
This is what you do on the Note:
"This can be edited in the feature.xml file (located in "/system/csc/feature.xml") under the NFC the Statusbaricontype should be changed from ATT to none."
Perhaps there's a similar method for us.
Click to expand...
Click to collapse
The process isn't exactly similar, but the icon can indeed be replaced. The icon is found in the Nfc.apk package in /system/apps. Open Nfc.apk with the archive manager of your choice and replace the stat_sys_nfc_vzw.png file located in res/drawable-hdpi with an icon that is a bit more pleasing to the eye (I've opted for a transparent image myself). I've attached my modified Nfc.apk; it is from an AT&T HOX+ so I can only recommend using it with that variant (but who knows!).
mgymnop said:
I had several phones with NFC and none of them showed this ugly symbol. Must be a HTC thing. The worst is that Google Wallet is anyway deactivated by AT&T. So it is pretty useless except for exchanging data with Google beam.
Click to expand...
Click to collapse
No it's a jellybean thing I believe my friends Note 2 does this also so must new phone will show this icon
Sent from my HTC One X+ using Tapatalk 2
NasaGeek said:
The process isn't exactly similar, but the icon can indeed be replaced. The icon is found in the Nfc.apk package in /system/apps. Open Nfc.apk with the archive manager of your choice and replace the stat_sys_nfc_vzw.png file located in res/drawable-hdpi with an icon that is a bit more pleasing to the eye (I've opted for a transparent image myself). I've attached my modified Nfc.apk; it is from an AT&T HOX+ so I can only recommend using it with that variant (but who knows!).
Click to expand...
Click to collapse
Awesome! I appreciate your work on this!
I still have one question, however. I've opened and explored your apk and see your 1x1 transparent .png, and I also see how you edited the .apk.
My question is, how do you go about flashing it and replacing the stock app?
I'm runing a rooted HTC One X+, with the stock OS.
esiedlecki said:
Awesome! I appreciate your work on this!
I still have one question, however. I've opened and explored your apk and see your 1x1 transparent .png, and I also see how you edited the .apk.
My question is, how do you go about flashing it and replacing the stock app?
I'm runing a rooted HTC One X+, with the stock OS.
Click to expand...
Click to collapse
You can either use adb and the push command. Or you can use a file explorer, delete the original first, then copy the new one over. Finally set it's permissions to rwx-rxx-rxx.
Sent from my HTC One X+ using Tapatalk 2
AndroHero said:
You can either use adb and the push command. Or you can use a file explorer, delete the original first, then copy the new one over. Finally set it's permissions to rwx-rxx-rxx.
Sent from my HTC One X+ using Tapatalk 2
Click to expand...
Click to collapse
Hmm...I'm using Root Browser Lite (I currently don't have access to a computer with the Android SDK installed). I deleted the original Nfc.apk, and it seems to have removed the app from the phone (or uninstalled it, I suppose), however the original .apk still appears in the /system/app/ directory according to both Root Browser Lite and OI File Manager. Furthermore, when I try to copy the modified Nfc.apk, I get a message saying that a file by that name already exists, so I just ask the phone to overwrite the existing file. It starts thinking about it for a minute or two, then says that the operation failed.
As it stands, I have the original file in the original location,albeit unistalled and no way to install it, as I get the "App was not installed" Message when I try to install it.
This may be a dumb question, but am I able to use the Terminal Emulator app to issue the adb command you suggested? If not, Do you have any other suggestions to get me out of this hole I've dug myself into?
Edit: I've succesfully moved the edited file to the correct location!!! I used ES File Explorer. However....I still can't install. I've done everything including changing the permsissions....it just won't install.
Thanks ahead of time!
esiedlecki said:
Hmm...I'm using Root Browser Lite (I currently don't have access to a computer with the Android SDK installed). I deleted the original Nfc.apk, and it seems to have removed the app from the phone (or uninstalled it, I suppose), however the original .apk still appears in the /system/app/ directory according to both Root Browser Lite and OI File Manager. Furthermore, when I try to copy the modified Nfc.apk, I get a message saying that a file by that name already exists, so I just ask the phone to overwrite the existing file. It starts thinking about it for a minute or two, then says that the operation failed.
As it stands, I have the original file in the original location,albeit unistalled and no way to install it, as I get the "App was not installed" Message when I try to install it.
This may be a dumb question, but am I able to use the Terminal Emulator app to issue the adb command you suggested? If not, Do you have any other suggestions to get me out of this hole I've dug myself into?
Edit: I've succesfully moved the edited file to the correct location!!! I used ES File Explorer. However....I still can't install. I've done everything including changing the permsissions....it just won't install.
Thanks ahead of time!
Click to expand...
Click to collapse
Did you try wiping the dalvik cache
Sent from my HTC One X+ using Tapatalk 2
esiedlecki said:
Hmm...I'm using Root Browser Lite (I currently don't have access to a computer with the Android SDK installed). I deleted the original Nfc.apk, and it seems to have removed the app from the phone (or uninstalled it, I suppose), however the original .apk still appears in the /system/app/ directory according to both Root Browser Lite and OI File Manager. Furthermore, when I try to copy the modified Nfc.apk, I get a message saying that a file by that name already exists, so I just ask the phone to overwrite the existing file. It starts thinking about it for a minute or two, then says that the operation failed.
As it stands, I have the original file in the original location,albeit unistalled and no way to install it, as I get the "App was not installed" Message when I try to install it.
This may be a dumb question, but am I able to use the Terminal Emulator app to issue the adb command you suggested? If not, Do you have any other suggestions to get me out of this hole I've dug myself into?
Edit: I've succesfully moved the edited file to the correct location!!! I used ES File Explorer. However....I still can't install. I've done everything including changing the permsissions....it just won't install.
Thanks ahead of time!
Click to expand...
Click to collapse
System apps are not meant to be installed like regular apks, just reboot the phone and the changes in the new apk should take effect (when you turn NFC on no icon should appear).
AndroHero said:
Did you try wiping the dalvik cache
Click to expand...
Click to collapse
NasaGeek said:
System apps are not meant to be installed like regular apks, just reboot the phone and the changes in the new apk should take effect (when you turn NFC on no icon should appear).
Click to expand...
Click to collapse
I've done both of those things now, and still the NFC options don't show up in the menu. It makes the menu look rather lonely.
Just wondering if any further developments have been made regarding this issue. It makes me sad every time I think about how my phone is probably one of the only HOX+s out there that's incapable of using its NFC hardware.
I know its a pain in the ass, but you could always flash a new rom
Sent from my HTC One X+ using Tapatalk 2
AndroHero said:
I know its a pain in the ass, but you could always flash a new rom
Sent from my HTC One X+ using Tapatalk 2
Click to expand...
Click to collapse
Bleh...I think you're right. As it sits, I'll probably just live without NFC until a stable CM10 build is released for AT&T phones.
esiedlecki said:
Awesome! I appreciate your work on this!
I still have one question, however. I've opened and explored your apk and see your 1x1 transparent .png, and I also see how you edited the .apk.
My question is, how do you go about flashing it and replacing the stock app?
I'm runing a rooted HTC One X+, with the stock OS.
Click to expand...
Click to collapse
Is your One X+ an AT&T version? If it is, how did you root it? I have the phone, and I already unlocked the boot loader, but I can't find a way to root.
FilyPhanatic said:
Is your One X+ an AT&T version? If it is, how did you root it? I have the phone, and I already unlocked the boot loader, but I can't find a way to root.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1994961
That's the easiest way to go about it.
I hope it helps.
P.S. I personally don't mind, but you should probably start with the search bar, otherwise you may end up getting berated by other forum users.
esiedlecki said:
Just wondering if any further developments have been made regarding this issue. It makes me sad every time I think about how my phone is probably one of the only HOX+s out there that's incapable of using its NFC hardware.
Click to expand...
Click to collapse
Here are the original apk and odex files if you want to give them a try (just to get functional NFC back for when you need it).
Edit: xda tells me the odex is an invalid file, here's a dropbox link instead https://www.dropbox.com/s/cpb87mar7eipjdd/Nfc.odex
NasaGeek said:
Here are the original apk and odex files if you want to give them a try (just to get functional NFC back for when you need it).
Edit: xda tells me the odex is an invalid file, here's a dropbox link instead https://www.dropbox.com/s/cpb87mar7eipjdd/Nfc.odex
Click to expand...
Click to collapse
I very much appreciate the sentiment! I, however was sure to leave a copy, untouched, of the original .apk and .odex on my sd card.
I did indeed try the copies you provided to no avail.
A reflash is looking more and more imminent...
can someone extract this from the original rom and post it please.
thanks
slackwaresupport said:
can someone extract this from the original rom and post it please.
thanks
Click to expand...
Click to collapse
me too.....
xander45 said:
me too.....
Click to expand...
Click to collapse
Not to be rude.. but it is in probably 20 places on these forums. Tried searching for it yet?
Its all over..
http://forum.xda-developers.com/showthread.php?t=2369972
Verizon Visual Voice Mail Galaxy S4 Custom ROM
Ok. I figured it out.
Yes, its all over the place, but certainly not in any usable form.
So for the benefit of other noobs, like myself, here is what I am running, and what I did.
I have a galaxy s4, currently running Hyperdrive ROM v 7.
I was able to download the VisualVoiceMail.apk file from somewhere on this site. If you cannot locate it, send me a pm and I will be happy to email it.
Also, as always, its a good idea to have a nandroid backup that is fairly recent just in case things go sideways on you.
Second, after reading many different posts, none having anything in specific with a Galaxy S4, I downloaded Root Browser from Google Play.
Next, i had the apk file in my devices download directory.
Using Root Browser, browse to the devices system/app directory and view the permissions of 1 or 2 apps. You can view the permissions by holding down on the app and a menu will pop up and select permissions. View those permissions and copy them down.
Next using Root Browser, browse to the voice mail apk file, and hold down on the file until the menu pops up and make sure the permissions here are identical to the apps you previously viewed. I had to change one or two. save changes.
Next, copy the file to the devices system/app directory using Root browser.
Next reboot.
The app should appear in your app drawer and you should be good to go.
Verizon Visual Mail file
just in case, I have attached file if anyone needs.
Worked for me hyperdrive 7
Sent from my SCH-I545 using Tapatalk 4
Hi, XDA Dev. Why when I Install some apk, says Application Not Installed?
Give me a how to
Bcoz ur phone is not compitanle with that app.... Wrong section... Reported...
Sent from my A210 using XDA Premium HD app
Sometimes we can use them by copying apk to data folder. Just copy the apk file to "/data/app folder and sey the permission. And reboot.
Sent from my GT-I9300 using Tapatalk
Hi very_lie, need specifics, what method are you using- ADB? Are you rooted? What app- is it compatible with your device, app store(play/aptoide) will tell you yea or nay. Assuming you are rooted, use a good file manager, go into settings of the file manager, give it root permissions, and change mount system folders to writable, they will be read only originally. Find out where the app needs to go. For example, earlier today, I replaced talkback app because the version that came with custom ROM force closed. Google came out with an update recently that works for me. In file explorer, went to /system/app to find out what its called- talkback.apk. Downloaded v. 3.5 from aptoide(be careful), renamed it talkback.apk. go to /system/app, deleted older talkback.apk, go to data/dalvic cache and delete system @ app @ talkback.apk @ classes.dex Took renamed apk, copied it(from sd), just long press on the file and options come up, select copy. Navigated to /system/app and paste it there. Reset permissions, again long press hit permissions, will probably at rw-rw-rw, change to rw-r--r-- read write, read, read. Reboot. Upon reboot, may say android is upgrading-all is good-dalvic cache is building. Now with certain apps you will want to delete its data- in /data/data. For this app didn't need to. Also some apps can't be put in /system/app. On my phone HTC Evo 3d, ones like facebook, Twitter, translate and other google app can. Ones like Skype n dropbox cannot- they forced closed and can cause others to misbehave. So open up your app n see if it works. Go back into file manager, /data/data and make sure your app's permissions are rwxr-xr-x. Hope this helps, follow this same format when putting"forcing" app on data partition- /data/app
Sent from above using Xparent Blue Tapatalk 2
I revived the topic after so much time to thank the contribution that helped me to reinstall a service that I uninstalled by mistake in my Note8.
Thank you very much!
Regards
It's easy done wit "adb install <app.package.name>"
Do it without a PC...
Regards
gatul said:
Do it without a PC...
Regards
Click to expand...
Click to collapse
I've got a old version of APK editor pro , that I can use . Version 1.00 to bypass any install errors .. don't ask me how to get it though. Regards :angel:
Of course I could also have flash stock firmware again but I needed a simple solution to use the media I had available at that moment, only two Note 8 (mine and my wife's to extract the apk) and little 3g signal (when I had) to find a solution.
I appreciate the recommendations after having solved the problem but the object of my post was to thank for the help, the rest are anecdotes.
Regards
fil3s said:
I've got a old version of APK editor pro , that I can use . Version 1.00 to bypass any install errors .. don't ask me how to get it though. Regards
Click to expand...
Click to collapse
How to get it?
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?