[Q] need help to make a .apk installable from another rom - Galaxy Tab 2 Q&A, Help & Troubleshooting

hi guys i have a .apk file i.e. sectabletplayer.apk from another rom i dont want to mention name. when i tried to install it like a general .apk file it says "Aap not installed" . i googled around alot found ADB injecter it says "installation failed" and reason for this error is "unable to mount system r/w " tried to make custom flashable .zip file the file existed in given path but not installed i mean not running totally useless. can anybody help me out of this?

try to set ON Unknown-Sources in Settings/Security/Device-management

ameya1990 said:
hi guys i have a .apk file i.e. sectabletplayer.apk from another rom i dont want to mention name. when i tried to install it like a general .apk file it says "Aap not installed" . i googled around alot found ADB injecter it says "installation failed" and reason for this error is "unable to mount system r/w " tried to make custom flashable .zip file the file existed in given path but not installed i mean not running totally useless. can anybody help me out of this?
Click to expand...
Click to collapse
First this app will only work on a stock/stock base ROM. Second, you need a root file app, like root explorer or root browser. In root explorer you have to select to give r/w permission.
Go to the location of the app, long press it and select copy. Then navigate back to
/system/app and paste it. Then long press it again, select permissions and make it rw-r--r--. Then reboot
Hopefully this will install for you. If it doesn't than the apk itself would need to be modified.
One last thing, if you have another sec.player.apk in system/app, you might need to change it from .apk to .bak then reboot before you begin the other process. You can just rename it back to
.apk and make sure permissions are right then reboot to re-enable it.
Lies, spewed poetically from galaxy S3!

Related

Can someone help me out with installing the HTC Keyboard???

Im running the Cyan 4.2.12.2, on the G1
There are threads libt9.so goes in lib folder and the apk in app folder. There are tons of threads that show how to do this,I see this being closed quick.
maybe, but when i try im getting a messege saying that it cant be installed on my phone.
You put the libt9.so in lib folder in system folder and then installed the app?
The_TVirus said:
maybe, but when i try im getting a messege saying that it cant be installed on my phone.
Click to expand...
Click to collapse
You have to push the files using adb, not install them with adb or a file manager on the device.
as manup said,
libt9.so goes in /lib
and the apk goes in app dir
hey bro, im new to this and i jus like to customize my phone! im not a developer or anything, so you if you cant show me or point me in the right direction, then cool! its no biggie! I have no idea about what half of this stuff means.....thanks anyway
The_TVirus said:
maybe, but when i try im getting a messege saying that it cant be installed on my phone.
Click to expand...
Click to collapse
installing the htc_ime.apk
1. get the htc_ime.apk file
2. get a file explorer (OI, ASTRO, or any file explorer)
3. put the htc_ime.apk on the root of or sdcard or somewhere in ur sdcard where u can find it
4. go to Settings->Application
5. check the unknown sources feature
6. go to ur file explorer
7. tap on the apk file, it should give u an install option
8. follow the instructions and install it.
9. if its not showing even if its checked on the locale/text settings, then go and long press on any text box, and it should give u an Input method selection, select the Touch input radio button, then ur done.
if u wanna do it via adb, you can try and look up instructions, but this is the easiest way i can think of and i made the instructions as clear as i can.
thanks man
Weird i seem to install but when i start to use it .it force closes all the time !!!
xtenpeben said:
installing the htc_ime.apk
1. get the htc_ime.apk file
2. get a file explorer (OI, ASTRO, or any file explorer)
3. put the htc_ime.apk on the root of or sdcard or somewhere in ur sdcard where u can find it
4. go to Settings->Application
5. check the unknown sources feature
6. go to ur file explorer
7. tap on the apk file, it should give u an install option
8. follow the instructions and install it.
9. if its not showing even if its checked on the locale/text settings, then go and long press on any text box, and it should give u an Input method selection, select the Touch input radio button, then ur done.
if u wanna do it via adb, you can try and look up instructions, but this is the easiest way i can think of and i made the instructions as clear as i can.
Click to expand...
Click to collapse
This is the easiest way.. it's exactly what I do when I flash new ROM's with some messed up keyboard they think is cool... ha ha ha.

rom manage recovery problem

I cant go to recovery through Rom Manager for some reason. It works manualy( power+volume) but when I click it from the app it freezes, and shows an exclamation point triangle
have you tried to reinstall the app?
Wich CWM do you have?
thy the above post; if that doesn't work, go into recovery manually and fix permissions
that must be why
I was following this video http://www.youtube.com/watch?v=PVyGw6vycFo
and it said I had to wipe my data which I did, and maybe CWM was removed?
Ill try to flash CWM and see what happens.
Worked! thanks
In wich way?
Have you reinstall Rom manager App or reflah CWM Recovery?
actually, theres been a trend going on here....
I went on recovery to check if its working after I flashed it and it worked, after turning it off and removing the usb out of my computer I tried again and it didnt work.
Any ideas why?
Edit: when I had ROM manager I already tried to Flash CWM there if you're wondering.
Rename /etc/install-recovery.sh to something else with your preferred file explorer with root capability. Now reflash cwm and it will stick. What you are seeing now is stock recovery.
Harbb said:
Rename /etc/install-recovery.sh to something else with your preferred file explorer with root capability. Now reflash cwm and it will stick. What you are seeing now is stock recovery.
Click to expand...
Click to collapse
where can I find /etc/install-recovery.sh and what do you mean by file explorer with root capability?
Root explorer, ES File Explorer or something of the sort. This will let you directly modify files on the /system partition. Just enable root functionality in the settings, allow root when the popup comes up and rename/delete the /system/etc/install-recovery.sh file (this is the correct path, /etc is a link to /system/etc - ignore the other one).
Directories work pretty much the same as windows except it doesn't use "drives" (ie, C:\, D:\, etc), everything is found within the root directory (which is /).
Harbb said:
Root explorer, ES File Explorer or something of the sort. This will let you directly modify files on the /system partition. Just enable root functionality in the settings, allow root when the popup comes up and rename/delete the /system/etc/install-recovery.sh file (this is the correct path, /etc is a link to /system/etc - ignore the other one).
Directories work pretty much the same as windows except it doesn't use "drives" (ie, C:\, D:\, etc), everything is found within the root directory (which is /).
Click to expand...
Click to collapse
fairly new to android so I have no clue what you are talking about sorry... can you give me some steps on how to do that. again I apologize, Im still new
Download this from the market, i'm sure you'll figure it out
quick unrelated question: I tried to apply the ROM and it didnt continue, it said it was aborted or something

[Q] Problem in installing my custom rom made through android kitchen

I am getting and error when flashing my custom rom which i made through android kitchen. i am a beginner to this.
Error is like:
Error in update.zip
(status 0)
Installation aborted
Can anyone help me on this?
I'm not 100% sure, but I have a feeling that may be related to an incorrect update-binary in the ZIP. Try downloading another Explorer ROM and copying the update-binary from it into your ZIP, replacing the one that's there already. It's located like this within the ZIP: META-INF/com/google/android/update-binary
EDIT: You don't have to download a full ROM btw, any recovery flashable ZIP should do, e.g. one of the custom kernels such as Cranium (smaller download than a full ROM)
Thanks
SifJar said:
I'm not 100% sure, but I have a feeling that may be related to an incorrect update-binary in the ZIP. Try downloading another Explorer ROM and copying the update-binary from it into your ZIP, replacing the one that's there already. It's located like this within the ZIP: META-INF/com/google/android/update-binary
EDIT: You don't have to download a full ROM btw, any recovery flashable ZIP should do, e.g. one of the custom kernels such as Cranium (smaller download than a full ROM)
Click to expand...
Click to collapse
Hey Thanks for your support.
shekhutanwar said:
Hey Thanks for your support.
Click to expand...
Click to collapse
Did it work?
SifJar said:
Did it work?
Click to expand...
Click to collapse
There is a problem, i use my htc explorer for calling and other works, so whenever i want to check my rom, i have make nandroid backup which takes 15-20 minutes bcoz of lots of apps installed. and after checking the rom i need to restore my previous system which is very time consuming. Is there any other way to check the rom working or not without using it in my explorer, maybe using an emulator in windows 7? if there is an easy way then pls help me on this.
Let me explain you clearly what i am doing.
1. I extraced rom.zip file from HTC Explorer RUU.
2. I placed it in original_update folder in android kitchen.
3. I set up a working folder from android kitchen menu and i got these files and folders in WORKING folder
boot.img
system
META-INF
4. I selected the option 99 in kitchen menu that is Building a ROM.
5. After successful completion i got a zip file in OUTPUT folder.
6.Then, i copied that update.zip file from OUTPUT folder to my sd card.
7. Now, i boot into recovery, and try to install zip from sd card but it shows an error like this
Error in sd-card/update.zip
(Status 0)
Installation Aborted.
Now i dont understand why it is giving me an error even i have not touched any file from the working folder.
am i doing it wrong? pls help me.
shekhutanwar said:
1. I extraced rom.zip file from HTC Explorer RUU.
2. I placed it in original_update folder in android kitchen.
3. I set up a working folder from android kitchen menu and i got these files and folders in WORKING folder
boot.img
system
META-INF
4. I selected the option 99 in kitchen menu that is Building a ROM.
5. After successful completion i got a zip file in OUTPUT folder.
6.Then, i copied that update.zip file from OUTPUT folder to my sd card.
7. Now, i boot into recovery, and try to install zip from sd card but it shows an error like this
Error in sd-card/update.zip
(Status 0)
Installation Aborted.
Now i dont understand why it is giving me an error even i have not touched any file from the working folder.
am i doing it wrong? pls help me.
Click to expand...
Click to collapse
I have no idea what you're doing wrong. But I don't think you have tried my suggestion from earlier in the thread.
Take the final update.zip file you have (the one you put on the SD card and try to install), and open it using an archive manager such as 7zip. Navigate into META-INF/com/google/android and delete the file "update-binary" that is located there. Then replace it with this one: http://d.pr/f/VHF1
Close 7zip, copy the ZIP to your SD card and try to install it in recovery.
SifJar said:
I have no idea what you're doing wrong. But I don't think you have tried my suggestion from earlier in the thread.
Take the final update.zip file you have (the one you put on the SD card and try to install), and open it using an archive manager such as 7zip. Navigate into META-INF/com/google/android and delete the file "update-binary" that is located there. Then replace it with this one: http://d.pr/f/VHF1
Close 7zip, copy the ZIP to your SD card and try to install it in recovery.
Click to expand...
Click to collapse
Ok, i am trying this then will let you know.
I didn't worked friend, this time it gave me (Status 7) error.
shekhutanwar said:
There is a problem, i use my htc explorer for calling and other works, so whenever i want to check my rom, i have make nandroid backup which takes 15-20 minutes bcoz of lots of apps installed. and after checking the rom i need to restore my previous system which is very time consuming. Is there any other way to check the rom working or not without using it in my explorer, maybe using an emulator in windows 7? if there is an easy way then pls help me on this.
Click to expand...
Click to collapse
No. And you can't emulate real hardware on emulators.
shekhutanwar said:
I didn't worked friend, this time it gave me (Status 7) error.
Click to expand...
Click to collapse
Well, 7 > 0, therefore it's better
In all seriousness, I think this means it's probably getting further than before, but there's some other problem with the ROM. I don't know the various status error codes, I just recognized 0 as one I'd come across before. I'm afraid I can't be of any further assistance I don't think.
EDIT: From here: http://forum.xda-developers.com/showthread.php?p=30415128#post30415128
Solution:- One or some of the prerequisite requirement for the needed upgrade is missing or corrupted . So you may need to identify and replace that requirement for the installation to continue. Most likely could be due to wrong bootloader, wrong CWM, Wrong IMEI, Wrong Radio etc
Click to expand...
Click to collapse
Ok thank u fr ur help again. I learnt abt the edify script and i corrected some mistakes but still its not working. I will try to find out the solution myself.
Sent from my HTC Explorer A310e using xda app-developers app
Here is my edited updater script
Pls anyone check this updater script, its giving me status 0 error while installing rom.View attachment updater-script.txt
invalid filetipe of rom in cwm
shekhutanwar said:
1. I extraced rom.zip file from htc explorer ruu.
2. I placed it in original_update folder in android kitchen.
3. I set up a working folder from android kitchen menu and i got these files and folders in working folder
boot.img
system
meta-inf
4. I selected the option 99 in kitchen menu that is building a rom.
5. After successful completion i got a zip file in output folder.
6.then, i copied that update.zip file from output folder to my sd card.
7. Now, i boot into recovery, and try to install zip from sd card but it shows an error like this
error in sd-card/update.zip
(status 0)
installation aborted.
now i dont understand why it is giving me an error even i have not touched any file from the working folder.
Am i doing it wrong? Pls help me.
Click to expand...
Click to collapse
i did same steps but i recieved another error. After checking the cwm log i saw error 304 with text invalid file like zipminizip but i see in explorer the file is zip tipe, i dont know why my cwm see zipminizip filetype. If anyone know what to do please help. Maybe i should change my cwm but til now was no problem with my cwm. I have zte blade. Thx.ko
I think this is the error....
When you setup a working folder then change your updater-script to update script... ( search for the option to change it) if you want to make some changes in update-script Do so and then build your rom... the update-script will automatically be changed to updater-script .. now place the rom and flash.. If any problem feel free to ask :thumbup:
Sent from my HTC Explorer A310e using xda app-developers app

Spice Stellar MI 500

Hi, I have a spice stellar mi 500. i tried rooting the phone which worked fine and then I tried removing some of the system apps like Rail yatra,, facebook, dhingana. i was able to remove them and then i finally booted my device. Since then I am getting the error "unfortunately system UI has stopped working" I am not able to open apps or receive calls. the system hangs. not even able to unroot the phone now as any apps will hang. even the control bar does not slide from the top. I am screwed. I have tried factory reset several times. in all different ways like from with system recovery or android settings. but i guess i am out of luck. can someone help me. :crying::crying::crying::crying::crying::crying::crying::crying:
depanakar said:
Hi, I have a spice stellar mi 500. i tried rooting the phone which worked fine and then I tried removing some of the system apps like Rail yatra,, facebook, dhingana. i was able to remove them and then i finally booted my device. Since then I am getting the error "unfortunately system UI has stopped working" I am not able to open apps or receive calls. the system hangs. not even able to unroot the phone now as any apps will hang. even the control bar does not slide from the top. I am screwed. I have tried factory reset several times. in all different ways like from with system recovery or android settings. but i guess i am out of luck. can someone help me. :crying::crying::crying::crying::crying::crying::crying::crying:
Click to expand...
Click to collapse
You have most probably messed the systemUI.apk which is located in /system/app or files associated with it. Did you remove any other apk's in which you weren't sure what it does?
In this case, Factory reset won't work because it just wipes user data and /system partition remains in tact. The nearest possible thing to do is to flash a stock ROM if exists or copy the deleted apk's borrowing from some one else's phone and place those apk's in /system/app partition setting the correct permission.
I remember exactly what I deleted. I I uninstalled Dhingana.com, Facebook and Rail yatra. I cannot start third party apps though I can install them. So I am not sure how to place the systemUI.apk in the directory /system/app. Can it be done through inbuilt file manager?
depankar said:
I remember exactly what I deleted. I I uninstalled Dhingana.com, Facebook and Rail yatra. I cannot start third party apps though I can install them. So I am not sure how to place the systemUI.apk in the directory /system/app. Can it be done through inbuilt file manager?
Click to expand...
Click to collapse
Nope, I guess not possible through default file manager. You have to use ES File Explorer File Manager or Root Explorer to place it in /system/app and change its permissions to rw-r-r.
coolsandie said:
Nope, I guess not possible through default file manager. You have to use ES File Explorer File Manager or Root Explorer to place it in /system/app and change its permissions to rw-r-r.
Click to expand...
Click to collapse
it get an error when i try yo copy the file to \system\app\. the error is copy failed. i am doing this with supersu previelege using esexplorer
coolsandie said:
Nope, I guess not possible through default file manager. You have to use ES File Explorer File Manager or Root Explorer to place it in /system/app and change its permissions to rw-r-r.
Click to expand...
Click to collapse
I tried replacing systemUI.apk to \system\app folder using esexplorer but i got error. error: copy failed.
is there a possibility I can get hold of a stock rom and flash it using update from SD card. the default android update manager?
depankar said:
I tried replacing systemUI.apk to \system\app folder using esexplorer but i got error. error: copy failed.
is there a possibility I can get hold of a stock rom and flash it using update from SD card. the default android update manager?
Click to expand...
Click to collapse
Make sure you've mounted the /system partition as R/W before attempting to Copy or setting permissions.
coolsandie said:
Make sure you've mounted the /system partition as R/W before attempting to Copy or setting permissions.
Click to expand...
Click to collapse
now how do i do that ? sorry for my questions.

I'm rooted, trying to install Xposed Framework, how do I delete a file from /system/?

I tried installing it with both Flashify and Magisk, but both methods failed.
When I tried installing it via the included Xposed Installer, it also failed, but gave me the message:
> Error: Xposed_Framework.jar already exists in /system/framework
I'm guessing a previous installation failed, but left the file there.
My next idea is to delete that file from /system/framework and try again, but since it's in an RO directory I don't have permission.
I tried using a terminal emulator to mount the drive in rw mode, and also tried using a root file explorer, but either both methods don't work, or I just couldn't figure it out.
Anyone have an idea of how to remove or rename that file so I can try to install the .zip ?
-Thanks
Highfiverobot said:
I tried installing it with both Flashify and Magisk, but both methods failed.
When I tried installing it via the included Xposed Installer, it also failed, but gave me the message:
> Error: Xposed_Framework.jar already exists in /system/framework
I'm guessing a previous installation failed, but left the file there.
My next idea is to delete that file from /system/framework and try again, but since it's in an RO directory I don't have permission.
I tried using a terminal emulator to mount the drive in rw mode, and also tried using a root file explorer, but either both methods don't work, or I just couldn't figure it out.
Anyone have an idea of how to remove or rename that file so I can try to install the .zip ?
-Thanks
Click to expand...
Click to collapse
In the Xposed app you should be able to just run the uninstaller script. If that doesn't work, boot TRWP and delete it from there.
D3RP_ said:
In the Xposed app you should be able to just run the uninstaller script. If that doesn't work, boot TRWP and delete it from there.
Click to expand...
Click to collapse
Unfortunately, the uninstaller also fails.
It says it can't remove that file from a read only directory..
Highfiverobot said:
Unfortunately, the uninstaller also fails.
It says it can't remove that file from a read only directory..
Click to expand...
Click to collapse
flash installer or uninstaller through TWRP
wmcdrugs said:
flash installer or uninstaller through TWRP
Click to expand...
Click to collapse
Root Explorer....
This app does wonders, it allows you to modify directories in /system and other root folders. You can even change permissions of specific folders/files from read/write/read-only....etc. I've had this app since the earliest of android days and it has been my go to file explorer. Root Explorer of course requires root....but it completely unlocks your phone and allows you to modify any system file that is set to any permission. Of course there are other file explorers that allow you to modify system files, but this is the one that i have the most experience with. You should be able to access the system folder where the Xposed file remains and modify it so it can fix your problem.
djer34 said:
Root Explorer....
This app does wonders, it allows you to modify directories in /system and other root folders. You can even change permissions of specific folders/files from read/write/read-only....etc. I've had this app since the earliest of android days and it has been my go to file explorer. Root Explorer of course requires root....but it completely unlocks your phone and allows you to modify and system file that is set to any permission. Of course there are other file explorers that allow you to modify system files, but this is the one that i have the most experience with. You should be able to access the system folder where the Xposed file remains and modify it so it can fix your problem.
Click to expand...
Click to collapse
This!. I've used it for years. Not muss no fuss. It's not bloated like a certain couple others I know of. It just does what it does and does it well. Manages files. No extra garbage.Give it a try. I'd be surprised if you can't delete it with Root Explorer. If you do try it, go to the folder you want to delete the file from. Once in there, look at the top right of the screen. Somewhere up there It will say MOUNT R/W. Touch that and you should be able to do whatever you want to within that folder.
Do you have the magisk DNSCrypt module installed? If so, thats why you cant modify anything in /system. Not sure why or how it breaks it, but it does. Took me for ever to figure out what was causing it. Now that i removed the module, i can modify anything i want again.
Sent from my [device_name] using XDA-Developers Legacy app

Categories

Resources