[Q] Installing Stock apps - Optimus One, P500, V General

I m using OptimusXromv1.1 posted in the forum..However i m not able to install stock apps like Fmradio,Native Android Browser on my P500..tried Every thing COpying files (with root of course) to /system/app and changing permissions to rw,r,r similar to other files however on reboot there is no FMRadio in my app drawer HElp..Tried both Root Explorer and Adb ..Partition was always mounted rw..HElp ?? I dont want to give up on this ROm it Rocks!!

http://forum.xda-developers.com/showpost.php?p=10746505&postcount=31
Try that.

Didn't i just say that i tried all that already..ISnt anybody else having this problem with this rom

Go to recovery, mount system and then push them via adb. They should work.
Sent from my LG-P500 using XDA App

u cud plz post that adb push command with all its parameters(if needed - something) .one more thing i have both the apk and the odex from original STock Firmware do i need to push these both or just apk is fine??

Isn't the ROM deodexed ? You should get the apps deodexed before pushing them.
You could give a try and push them both, but I think you'll be ending with a FC.
When you are in recovery mode:
1. Go to Mounts and then click on mount system.
2. With ADB while in recovery mode type:
adb push file.apk /system/app/file.apk (replace file.apk with your app, ex: browser.apk)

Didnt work! All it does it to copy the file there's a difference in date of creation of file mayb thats the reason
Sent from my LG-P500 using XDA App

I did so with devoid. I took the apps from delta package and I've pushed them through recovery.

Related

[Q] Enable Development Mode on SGS2 custom-ROM by carrier

I just bought an SGS2 from a carrier in Brazil (TIM) but it came full of crappyware and most importantly: without the Development Mode option in Settings > Applications !!
So basically, although I could root it by replacing the kernel, I'm still not able to adb shell on it because of this issue.
Does anyone have an idea on how to enable the Development Mode through ConnectBot?
Also, how do I remount the SD from ConnectBot with 'rw'? You know... to remove all the crappyware...
Thank you
bruno.borges said:
I just bought an SGS2 from a carrier in Brazil (TIM) but it came full of crappyware and most importantly: without the Development Mode option in Settings > Applications !!
So basically, although I could root it by replacing the kernel, I'm still not able to adb shell on it because of this issue.
Does anyone have an idea on how to enable the Development Mode through ConnectBot?
Also, how do I remount the SD from ConnectBot with 'rw'? You know... to remove all the crappyware...
Thank you
Click to expand...
Click to collapse
dont you have cwm with replacing the kernel? so cant you flash a custom rom and with that everything you want? (still not dev relevant )
Sorry, I forgot to mention that I don't want to replace the stock ROM... not for now.
I'm waiting for CM7
bruno.borges said:
Sorry, I forgot to mention that I don't want to replace the stock ROM... not for now.
I'm waiting for CM7
Click to expand...
Click to collapse
ah okay. cm7 is already available almost everything is working. there are stock roms available for download in intratech's thread. without replacing your current rom it'll be difficult. I cant help more :-/
This thread should be in Q&A.
The first steps you need to take (rooting & custom recovery) are available in the CF-Root thread
Rawat said:
This thread should be in Q&A.
The first steps you need to take (rooting & custom recovery) are available in the CF-Root thread
Click to expand...
Click to collapse
he already did that: So basically, although I could root it by replacing the kernel, I'm still not able to adb shell on it because of this issue.
My question is: how to enable Development Mode from ConnectBot (terminal) directly from inside Android? Remembering that I have root
Again not dev and I'm not sure about connectbot but why don't you just replace settings.apk? Wouldn't t that take care of it instantly?
To replace settings.apk I need adb shell, or read-write access to mounted SD.
The reason I'm posting this to Dev question, is because devs are probably the ones with knowledge on how to do this.
I have root, I have terminal access to root (ConnectBot for example) and that's all.
I cannot adb shell into it because Development Mode option is not present on Settings > Applications.
How do I remount with read-write access the SD ? This way, I can download a settings.apk (new question: any hint from where I can get the stock-stock version?) and cp to /syste/app through ConnectBot
Use terminal emulator and remount system rw and then replace settings? Won't that work ?
Sent from my GT-I9100 using XDA App
Remounting with +rw worked. Carrier specific apps deleted. Now any hint on what settings.apk should I use? The one from CM7 ?
Must I replace SettingsProvider.apk too?
bruno.borges said:
Remounting with +rw worked. Carrier specific apps deleted. Now any hint on what settings.apk should I use? The one from CM7 ?
Click to expand...
Click to collapse
afaik different framework --> wont work. if you have a fast internet connection download a custom rom(based on samsung i.e. not miui or cm7), extract it and pick the settings.apk
take care. should match your present firmware. probably 2.3.3 and most of the users are on 2.3.4 or 2.3.5(miui+cm7)
or if anybody is so kind he could upload his settings.apk (i'm on miui so sorry)
http://forum.xda-developers.com/showthread.php?t=1182498
Flash that kernel with odin.
Download just about any rom, minus cm7, grab SettingsProvider.apk and Settings.apk from the zip file (/system/app/SettingsProvider.apk)
put them somewhere you can find them, open a command prompt in that directory.
(if you haven't setup adb properly you will need to drop everything in with the adb.exe file, but I would suggest setting it up properly.)
adb shell
su (accept on phone)
mount -o remount,rw /system
exit
exit
adb push SettingsProvider.apk /system/app
adb push Settings.apk /system/app
designgears said:
http://forum.xda-developers.com/showthread.php?t=1182498
Flash that kernel with odin.
Download just about any rom, minus cm7, grab SettingsProvider.apk and Settings.apk from the zip file (/system/app/SettingsProvider.apk)
put them somewhere you can find them, open a command prompt in that directory.
(if you haven't setup adb properly you will need to drop everything in with the adb.exe file, but I would suggest setting it up properly.)
adb shell
su (accept on phone)
mount -o remount,rw /system
exit
exit
adb push SettingsProvider.apk /system/app
adb push Settings.apk /system/app
Click to expand...
Click to collapse
Im 100% sure that the above WILL work..
But care to explain why you dont want to flash a custom rom?
Just curious..
Sent from my GT-I9100 using XDA Premium App
Which ROM do you recommend, that is mostly closer to stock Samsung TouchWiz 2.3.3 ?
I don't want to install CM7 yet because it still lacks some features.
bruno.borges said:
Which ROM do you recommend, that is mostly closer to stock Samsung TouchWiz 2.3.3 ?
I don't want to install CM7 yet because it still lacks some features.
Click to expand...
Click to collapse
modaco's prebaked ROM offers stock + a few tweaks that most people would find useful.
And although your questions would be best answered by those with developer knowledge, it still doesn't mean it should be posted here.
Also, even if you don't have terminal access, I'm pretty sure with root you can use Root Explorer to copy over the new settings.apk and setting the appropriate permissions.
Alright, thanks a lot!

[Q] Market.apk problem

I have deleted new market to get back old market, and I followd this procedure:
Code:
Procedure to use
Make copy of both downloaded files in your SD card.
Mount system as RW and delete the files name “Vending.APK” and “MarketUpdater.APK” from /system/app by the help of file explorer/Root explorer app.
Also do it manually by deleting the folders com.android.vending and com.android.vending.updater in /data/data.
Now reboot the phone.
Now again mount your file system as RW by File explorer/Root explorer.
Now after it copy the downloaded file “updater.apk” in /system/app/ from SD card.
Reboot the phone again.
Again mount your file system as RW by the help of explorer apps after restart.
Copy the downloaded file “market.apk” in /system/app/ from SD card.
Reboot the phone again.
That’s all.
But now I can't run market anymore, after hard reset I have these mesage from:
(process com.android.vending) has stopped unexpectedly
now I can't install any version of market, please help
i think u forgot to give proper permission to the file. those step also didnt mention about it. improper permission for any file in /system/app folder can even resulting to bootloop.
Also, to get back old market, just uninstall market updates, start the market, then when it can run immediately go to titanium backup to freeze market updater. In my experience even mounting correct permissions may not work for some provided market apks.
Thanks for your answer, i dolved the problem with flashing to 2.3.4
Sent from my GT-S5830 using XDA App
I want to update it and mine won't update. I'm using GingerReal v.1.3 and my baseband is S5830LUBKP7. I appreciate any comment on this matter.
AlterJack said:
I want to update it and mine won't update. I'm using GingerReal v.1.3 and my baseband is S5830LUBKP7. I appreciate any comment on this matter.
Click to expand...
Click to collapse
Search xda for the market. It's in the themes and app section. Install in like a normal app.
@consegregate thanks for your help, I will search it

[Q] Trying to replace a system apk

Hi,
I'm attempting to replace Email.apk on my miui rom. This is the method I am using:
Code:
adb push Email.apk /sdcard/
adb shell
su
rm /system/app/Email.apk
rm /system/app/Email.odex
mount -o rw,remount /dev/block/mmcblk0p9 /system
cp /sdcard/Email.apk /system/app
reboot
When the phone has rebooted, my changes do not take affect. To check, I pulled the /system/app/Email.apk back, and found it to be the original version.
Can anyone tell me what I'm doing wrong here?
Thanks,
Have figured this out...
adb appears to send some kind of cached version over. Renaming the file before transferring forced adb to use the correct file, and all is well.
jimhaddon said:
Have figured this out...
adb appears to send some kind of cached version over. Renaming the file before transferring forced adb to use the correct file, and all is well.
Click to expand...
Click to collapse
How? I like to know too, guide step by step....thanks
You mean renaming the original file first to any name then copy the moded file with the original name ?
If that what u mean , so I better to delete the original one first then but enstead my moded file . Is that right ?
Sent from my GT-I9100 using XDA App
Just use something like root explorer, no need for adb...
Joey2o11 said:
Just use something like root explorer, no need for adb...
Click to expand...
Click to collapse
I tried to use root explorer to change phone.apk, it didnt work.. i changed the file but it kept on crashing all the time ...
Sent from my GT-I9100 using XDA App
hielo_te said:
I tried to use root explorer to change phone.apk, it didnt work.. i changed the file but it kept on crashing all the time ...
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
You'll get lots of FCs until you reboot the phone then it should be fine.

[Q] How to install the apk in recovery mode?

I got the root for the Panasonic P-01D then deleted many preinstall app, such as launcher and android keyboard,
so don't have any launcher and keyboard after reset the phone(wipe phone data).
Now only can connect the phone to adb in recovery mode, because no root and launcher to open the usb debug.:crying:
Can i install any launcher to phone in recovery mode by using adb?
thanks.
only way is reflash ROM,maybe.some Samsung device could install Zip file in recovery mode but i never hear apk could be install in that mode ,the apk file needs a specialized app to analyse it.
sent from my Vista phone
wvxs said:
I got the root for the Panasonic P-01D then deleted many preinstall app, such as launcher and android keyboard,
so don't have any launcher and keyboard after reset the phone(wipe phone data).
Now only can connect the phone to adb in recovery mode, because no root and launcher to open the usb debug.:crying:
Can i install any launcher to phone in recovery mode by using adb?
thanks.
Click to expand...
Click to collapse
First of all download any Launcher's apk file. for example, download ADWLauncher.apk
And these are the codes which should be written in cmd(windows) or terminal (linux or mac)
Code:
adb remount
adb push ADWLauncher.apk /system/app
adb shell chmod 644 /system/app/ADWLauncher.apk
adb reboot
Or, you have an option to Mount USB mass storage in CWM recovery. Enable that, and find a flashable zip for any launcher and place it in SD card from your computer, and then install zip from SD card, reboot system.
copynintendo said:
only way is reflash ROM,maybe.some Samsung device could install Zip file in recovery mode but i never hear apk could be install in that mode ,the apk file needs a specialized app to analyse it.
sent from my Vista phone
Click to expand...
Click to collapse
Thanks for reply
The P-01D can't find any ROM for flash it
coolsandie said:
First of all download any Launcher's apk file. for example, download ADWLauncher.apk
And these are the codes which should be written in cmd(windows) or terminal (linux or mac)
Code:
adb remount
adb push ADWLauncher.apk /system/app
adb shell chmod 644 /system/app/ADWLauncher.apk
adb reboot
Or, you have an option to Mount USB mass storage in CWM recovery. Enable that, and find a flashable zip for any launcher and place it in SD card from your computer, and then install zip from SD card, reboot system.
Click to expand...
Click to collapse
Thanks for reply
Don't know why can't get the root after reset the phone(wipe user data), so can't access to system/app
you can install launcher app in /data/app
hungngit said:
you can install launcher app in /data/app
Click to expand...
Click to collapse
such as following?
adb push Launcher.apk /data/app
adb reboot
wvxs said:
such as following?
adb push Launcher.apk /data/app
adb reboot
Click to expand...
Click to collapse
No, you don't have to push via adb, if you want it to go to /data/app
Installing from Play store or installing the apk, will let it go to /data/app
coolsandie said:
No, you don't have to push via adb, if you want it to go to /data/app
Installing from Play store or installing the apk, will let it go to /data/app
Click to expand...
Click to collapse
I need to push the apk to /data/app by using adb, because the phone is no any launcher now can't install the app normally
wvxs said:
I need to push the apk to /data/app by using adb, because the phone is no any launcher now can't install the app normally
Click to expand...
Click to collapse
Ok, then try it and see whether it works.
coolsandie said:
Ok, then try it and see whether it works.
Click to expand...
Click to collapse
Hope can success, will try it later, the phone not in hand now
This sound crazy but It does help
wvxs said:
I got the root for the Panasonic P-01D then deleted many preinstall app, such as launcher and android keyboard,
so don't have any launcher and keyboard after reset the phone(wipe phone data).
Now only can connect the phone to adb in recovery mode, because no root and launcher to open the usb debug.:crying:
Can i install any launcher to phone in recovery mode by using adb?
thanks.
Click to expand...
Click to collapse
I did the really crazy stupid thing as you and was getting mad scrolling around for a method to push a launcher into my fone. Then I thought of a very simple way. I copy the link for downloading the Holo Launcher from APKTOP: /Holo_Launcher_1_2_8.apk then use Yahoo to send a text message to my fone. I was able to open the text message as there was pop up notification. Click on the link and got it download to my fone at the same time it open the windows of download. When the download complet, woa just clicked on the file that I ve pull into my fone. Wait few second and launcher is there again. Haha
Thank you buddy you save my 10$..
I also deleted my home screen launcher accidentally after rooting...and was hanging in a misery that what to do next and i found your extremely nice work thanx man !!!!!
Hi guys,
Is there any way to create zip file from installed app. (We can create an installed app to zip file. ex: File Manager) Then we can install it from recovery mode...
i think i have done it before from a tool. but i forgot it..
sir i have the same problem with my s duos but i am not getting any sms etc s there any other way to install launcher by recovery or download mode?
coolsandie said:
First of all download any Launcher's apk file. for example, download ADWLauncher.apk
And these are the codes which should be written in cmd(windows) or terminal (linux or mac)
Code:
adb remount
adb push ADWLauncher.apk /system/app
adb shell chmod 644 /system/app/ADWLauncher.apk
adb reboot
Or, you have an option to Mount USB mass storage in CWM recovery. Enable that, and find a flashable zip for any launcher and place it in SD card from your computer, and then install zip from SD card, reboot system.
Click to expand...
Click to collapse
Not sure if it works any further. I had no change. It like did not install at all.

[Q] Install zip via adb shell instead of cwm

Is there any method to install a modding zip, like SystemUI mod, via adb shell instead of CWM?
You can use tickle my android to push systemui.apk etc ...
Press the thanks button
Sent from my Nexus⁴
"To use Tickle My Android, you will need:
- a rooted Android phone or tablet with USB Debugging enabled and ClockworkMod Recovery installed"
I haven't got CWM, and I don't want to install it to my company phone.
But my phone is rooted. May I install systemui.apk into /system/app and set permissions?
Does it work?
What is the update-binary file in modding zip /META-INF/com/google/android folder?
I can recognize the updater-script in the same directory which is describes the method of the install under CWM. But I don't know what update-binary does.
Update-binary is what provides the functions that updater-script calls. And yeah, you can adb push SystemUI.apk to sdcard, then mount system in adb shell, copy SystemUI.apk to /system and set permissions, then exit adb shell and do adb reboot. I'm not going to into more detail on this because it'll be redundant, as there are many guides on using adb.
Sent from my Desire HD using xda premium

Categories

Resources