[Q] How to flask apk - Fascinate Q&A, Help & Troubleshooting

What is the nessary steps to delet a apk and replace with a new one using root explorer. I'm on a miui rom and i am having proplems sending and reciving a picture or a video. I have a fixed mma.apk to solve this proplem but not
sure on the proper steps to do this. I tryed to find this answer in different forums but no luck. Hopefully some one can give me the answer. (Thanks)

I don't know about root explorer, I've always used Terminal Emulator (It's free)
Then you can move or copy the mms.apk to the system folder.
cp /sdcard/Mms.apk /system/app/
---------- Post added at 05:58 PM ---------- Previous post was at 05:55 PM ----------
OhioYJ said:
su
cp /sdcard/Mms.apk /system/app/
Click to expand...
Click to collapse
That's just an example, and you'll need to use the command su first to gain root access. You'll have to point it to wherever the mms.apk is.
cp - copy
mv - move
I found when I did this before (Miui 1014 MMS worked for me just the way I flashed it), my messaging disappeared from the bar at the bottom, but reappeared with the apps. I just had to move the shortcut back to the bottom.

Related

(Req)Change color of signal bars

Can someone write a short tutorial on how to do this please?
Sent from my LG-P999
what build are you running? CM7, MIUI, Sense?
macmark88 said:
what build are you running? CM7, MIUI, Sense?
Click to expand...
Click to collapse
Eaglesblood 1.9. Its pretty much CM7
Sent from my LG-P999
adb pull /system/framework/framework-res.apk
Open it up, Find the images, Then edit in your favourite editing software (If you're using Photoshop Press Ctrl+U to change the colour )
Next put the images back in the apk file and push back to the phone
---------- Post added at 07:56 PM ---------- Previous post was at 07:52 PM ----------
Also, If you want me to do it for you upload your framework-res.apk and I'll do asap btw
MacaronyMax said:
adb pull /system/framework/framework-res.apk
Open it up, Find the images, Then edit in your favourite editing software (If you're using Photoshop Press Ctrl+U to change the colour )
Next put the images back in the apk file and push back to the phone
---------- Post added at 07:56 PM ---------- Previous post was at 07:52 PM ----------
Also, If you want me to do it for you upload your framework-res.apk and I'll do asap btw
Click to expand...
Click to collapse
I finally figured out everything with a bit of time and patience. Going through a lot of photos and finding the ones that I needed to change. All I did was upload the .apk to my dropbox, download it onto my PC, rename it; framework-res.apk.zip, allowing my to open and explore the file freely. After gathering the photos that I needed, I extracted them, edited them and then placed the edited photos back where I got them from, over-writing the old ones. I then took out the .zip extension and re-uploaded the file to dropbox and downloaded it onto my phone.

[Q] How to flash apk via TWRP?

Hi, I was wondering how to flash apk files. I wanted ROM Toolbox and Carbon to be my system app. Please help. I tried to download some zip files with the proper directory and meta infs. Btw, I am using Note II N7100. Thanks in advance!
LiteSpec said:
Hi, I was wondering how to flash apk files. I wanted ROM Toolbox and Carbon to be my system app. Please help. I tried to download some zip files with the proper directory and meta infs. Btw, I am using Note II N7100. Thanks in advance!
Click to expand...
Click to collapse
if you have only the apk file for those apps you can just use root explorer and put them into system<app and reboot.
if you have the PROPER zip file (meaning all the configuration settings and stuff, not just the apk compressed in a zip) than place in root of sd card and select flash from sd card (as you do in custom ROMs) and select your zip file and install. make sure you have a proper zip file though cuz it can mess up your system if its not and youll have to restore if it does. and that reminds me, make a nandoird!
---------- Post added at 04:36 PM ---------- Previous post was at 04:34 PM ----------
and dont use carbon it sucks (in my opinion). if you want it because it can upload to a cloud service, just use titanium backup and enable dropbox (or any cloud service of your choice) in the preferences.
Jack Jake said:
if you have only the apk file for those apps you can just use root explorer and put them into system<app and reboot.
if you have the PROPER zip file (meaning all the configuration settings and stuff, not just the apk compressed in a zip) than place in root of sd card and select flash from sd card (as you do in custom ROMs) and select your zip file and install. make sure you have a proper zip file though cuz it can mess up your system if its not and youll have to restore if it does. and that reminds me, make a nandoird!
---------- Post added at 04:36 PM ---------- Previous post was at 04:34 PM ----------
and dont use carbon it sucks (in my opinion). if you want it because it can upload to a cloud service, just use titanium backup and enable dropbox (or any cloud service of your choice) in the preferences.
Click to expand...
Click to collapse
Thank you. Re Titanium, does it backup the apps and app data like carbon? I haven't tried anything else besides Carbon but will try Titanium if it does the same thing.
Titanium is much better than Carbon, give it a try, it also requires ROOT.
Sent from my MIUI powered Optimus L5.
Thanks, will try titanium.
Sent from my GT-N7100 using xda premium
ddjonko said:
Titanium is much better than Carbon, give it a try, it also requires ROOT.
Sent from my MIUI powered Optimus L5.
Click to expand...
Click to collapse
I love carbon dev and run his ROMs as daily driver but hate his carbon cloud I use titanium as well to backup up to SD and drive and drop box and BTW if you want like I do you can compress and encrypt your backup and yes it (titanium) can do app or data or all of it together.....questions just pm me
Sent from my SGH-T999 using Tapatalk 2
Jack Jake said:
if you have only the apk file for those apps you can just use root explorer and put them into system<app and reboot.
if you have the PROPER zip file (meaning all the configuration settings and stuff, not just the apk compressed in a zip) than place in root of sd card and select flash from sd card (as you do in custom ROMs) and select your zip file and install. make sure you have a proper zip file though cuz it can mess up your system if its not and youll have to restore if it does. and that reminds me, make a nandoird!
---------- Post added at 04:36 PM ---------- Previous post was at 04:34 PM ----------
and dont use carbon it sucks (in my opinion). if you want it because it can upload to a cloud service, just use titanium backup and enable dropbox (or any cloud service of your choice) in the preferences.
Click to expand...
Click to collapse
Is there anyway to generate a zip file that can be flashed with TWRP?
Jack Jake said:
if you have only the apk file for those apps you can just use root explorer and put them into system<app and reboot.
if you have the PROPER zip file (meaning all the configuration settings and stuff, not just the apk compressed in a zip) than place in root of sd card and select flash from sd card (as you do in custom ROMs) and select your zip file and install. make sure you have a proper zip file though cuz it can mess up your system if its not and youll have to restore if it does. and that reminds me, make a nandoird!
---------- Post added at 04:36 PM ---------- Previous post was at 04:34 PM ----------
and dont use carbon it sucks (in my opinion). if you want it because it can upload to a cloud service, just use titanium backup and enable dropbox (or any cloud service of your choice) in the preferences.
Click to expand...
Click to collapse
2 Question :
1. The Phone Has A Family Link Installed (Yet It Is Custom ROM) WHen I Installed The .apk Ile It Just Blocked (And The Phone Is Slow Af (J100H With 7.2.1) So Don't Ask Why I Didn't Stop The Supervision) Any Other Way?
Thank You

[Q] [sola]Illumination Bar isn't working with jelly bean

I've found this page.It's about Illumination Bar API.
What does it mean / make? Does it make changes about jb illumination bar issue? If not, what can we do to fix this issue?
JohnHK said:
I've found this page.It's about Illumination Bar API.
What does it mean / make? Does it make changes about jb illumination bar issue? If not, what can we do to fix this issue?
Click to expand...
Click to collapse
Originally posted by akkufix
For those who are interessted in a working illumination-bar...
Here it is.
Rename "hw_config.sh.txt" to "hw_config.sh", adb push it to /system/etc (overwrite original) and chmod it to 644 (rw_r__r__).
Maybe you need to give write-permitions on /system/etc to do it.
adb shell -> su -> mount -o rw,remount /system and if necessary chmod 777 to /etc.
Don't forget to re-set right permitions after you copied the file.
Reboot and illumination-bar will come up while device is booting.
This should work for most roms ported from Go.
Comparing hw_config.sh before overwrite the original file. If this is different, you could take out the "ALS" part from mine and put it in yours.
Should also work with Cyanogen-mod-rom, because directories are the same.
You also could change parameters in ALS-part to make bar flashing or react in another way.
But, pls. have a look in datasheet first, because you may get over-current your LED, if you change wrong register. So, be carefull with i.e. 0x0a
Changing parameters on $kblight path aren't dangerous, but may cause non-function of the bar. Just re-write "old" value then.
You can find datasheet for as3677 here, by clicking on "Download":
http://www.ams.com/eng/Products/Lighting-Management/Lighting-Management-Units/AS3677
Enjoy... 
Sent from my Sony Xperia™ sola using XDA Premium
---------- Post added at 10:34 PM ---------- Previous post was at 10:31 PM ----------
See here http://forum.xda-developers.com/showthread.php?t=2258416
Sent from my Sony Xperia™ sola using XDA Premium
Please explain more!!
Ben Ling said:
Here it is.
Rename "hw_config.sh.txt" to "hw_config.sh", adb push it to /system/etc (overwrite original) and chmod it to 644 (rw_r__r__).
Maybe you need to give write-permitions on /system/etc to do it.
adb shell -> su -> mount -o rw,remount /system and if necessary chmod 777 to /etc.
Don't forget to re-set right permitions after you copied the file.
Click to expand...
Click to collapse
You know that I need more discussion . Please give more details.
I've navigated to system/etc and I've found the file already with the name "hw_config.sh" not "hw_config.sh.txt"
1. What do you mean by "adb push" ?
2. How to set the right permissions?
3. What is "ALS" part?
Having looked in to it a bit for my XU I think the problem as it stands is that the Jelly Bean ports for XSola and XU don't have the correct libraries to use the hardware on those devices. The libraries from ICS don't appear to work so can't be used and the ones from the official XGo and XP Jelly Bean releases are specific to those devices and so don't work.
Using rundgong's IlluminationReceiver (available here, though you may already have it) you can get some functionality back but it's not perfect.
Also, I'm not sure about the XSola port of JB but on the XU versions they came with a library that was originally from CyanogenMod and it seems to use the led bar for standard android notifications rather than the power led. This means that if you have the Illumination Notification app (also from rundgong) the two can clash and you end up with both trying to control the led bar.
JohnHK said:
1. What do you mean by "adb push" ?
2. How to set the right permissions?
3. What is "ALS" part?
Click to expand...
Click to collapse
i'm not sure too...
Please remove the Xperia sola photo by me... @JohnHK
I have PM you twice but you didn't remove or reply me.
Thanks.

[Q] how to programmatically install/update in /system/app

Hi.
i have made a little application pushed in /system/app with adb qui connect to a server and sometime download apk for updating/installing apk on the device.
My application is a kind of "updater". I alreay can : install new apk
But i cant update an apk which is already installed in /system/app/
I dont know why, but the update is in /data/app/my-update-1.apk
The application use the new version but, if i reboot the device (a Tao3530 tsunami board), the apk in /data/app/ is deleted and the old /system/app/original.apk version used.
Why did i have this behavior ?
How could i update an /system/app apk ? (without using ADb of course )
If i need to use SU command (to push from download folder to /system/app, how could i root the board ?*
Thank you for any answer !
Just a piece of advice
If you are a developer go to android development if not i think you have to root your device and change permissions
---------- Post added at 11:18 AM ---------- Previous post was at 11:11 AM ----------
I also suggest to google your device and use this words "" how to root -the name of your device- "" or in youtube///
Did you manage to find a way to do this?

How do I disable the jelly bean popup notifiaction

I'm running 4.1.2 happily rooted and customized how I like it, I don't want to upgrade at all but I get the popup on my phone every 12 hours and it cancels whatever app I was using at the time, I want to get rid of it. I did some searching and found you should attempt to rename or delete or move BlurUpdater_vzw.apk and the odex file in /system/app but I can only copy the app, can't rename or delete using es file explorer with root permission applied. So how can I disable this annoying popup?
Xproplayer said:
I'm running 4.1.2 happily rooted and customized how I like it, I don't want to upgrade at all but I get the popup on my phone every 12 hours and it cancels whatever app I was using at the time, I want to get rid of it. I did some searching and found you should attempt to rename or delete or move BlurUpdater_vzw.apk and the odex file in /system/app but I can only copy the app, can't rename or delete using es file explorer with root permission applied. So how can I disable this annoying popup?
Click to expand...
Click to collapse
you may need to change settings in file explorer to root
or check Superuser log
or try Root Browser
---------- Post added at 11:40 PM ---------- Previous post was at 11:09 PM ----------
What is current system version?
It listed in settings /about phone
Like 183.46.15.xt907.
Sent from my XT907 using Tapatalk
sd_shadow said:
you may need to change settings in file explorer to root
or check Superuser log
or try Root Browser
---------- Post added at 11:40 PM ---------- Previous post was at 11:09 PM ----------
What is current system version?
It listed in settings /about phone
Like 183.46.15.xt907.
Sent from my XT907 using Tapatalk
Click to expand...
Click to collapse
System version 98.72.16.XT912.verizon.en.us
Going to try out root on file explorer,is root explorer free?
Well **** I didnt see the root setting on ES file explorer, i removed the blur updater, restarted phone, we'll see if the popup happens again.
Xproplayer said:
System version 98.72.16.XT912.verizon.en.us
Going to try out root on file explorer,is root explorer free?
Well **** I didnt see the root setting on ES file explorer, i removed the blur updater, restarted phone, we'll see if the popup happens again.
Click to expand...
Click to collapse
Other files to look for
To Stop Motorola Updates
Rename /system/app/BlurUpdater_VZW.apk to BlurUpdater_VZW.apk.bak.
Rename /system/app/BlurUpdater_VZW.odex to
BlurUpdater_VZW.odex.bak.
Rename /system/app/FOTA.apk to FOTA.apk.bak
Rename /system/app/ FOTA.odex to FOTA.odex.bak
reboot, wipe cache
Sent from my XT907 using Tapatalk

Categories

Resources