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.
Related
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.
Dear all,
Good day.
I would like to ask,can I access phone memory (HTC aria A6380)
on pc?
It was because I accidentally move a script file "sh"
from my /system/bin folder to my sd card.
Now I would like to cut back the file and paste it back to the original folder which in system file...
But,without the "sh" file in /system/bin/ folder,the root explore .apk can't work
So,I would need some expert advise...
You could just re-flash you rom.
Yes you can. You need to use the 'adb' tool. Download here: http://forum.xda-developers.com/attachment.php?attachmentid=630611&stc=1&d=1308537076 and extract it to a folder, then open a command line to that folder.
Connect your phone, and make sure USB debugging is enabled. Copy the file from your SD card to your computer. If you do not have S-OFF, you need to go to Clockworkmod recovery on your device before this will work.
From the command line, do adb devices to see if the phone is connected properly. Then do adb remount to mount the system partition as writable. Then do adb push C:\path\to\filename /system/bin/filename to copy the file. Then just disconnect and reboot the phone.
drumist said:
Yes you can. You need to use the 'adb' tool. Download here: http://forum.xda-developers.com/attachment.php?attachmentid=630611&stc=1&d=1308537076 and extract it to a folder, then open a command line to that folder.
Connect your phone, and make sure USB debugging is enabled. Copy the file from your SD card to your computer. If you do not have S-OFF, you need to go to Clockworkmod recovery on your device before this will work.
From the command line, do adb devices to see if the phone is connected properly. Then do adb remount to mount the system partition as writable. Then do adb push C:\path\to\filename /system/bin/filename to copy the file. Then just disconnect and reboot the phone.
Click to expand...
Click to collapse
how to add a command line?
peter tham said:
how to add a command line?
Click to expand...
Click to collapse
Open command prompt if you are on windows
Sent from my Liberty using XDA App
can this be done to remove system app?
Mysteryagr said:
can this be done to remove system app?
Click to expand...
Click to collapse
Yes. BUT... make sure you aren't removing a vital app, aka settings.apk.
Sent from my HTC Intruder
Hi all,
happened to me a mishap.
I had done a full wipe but forgot to push the stock launcher back on it, well now the launcher is missing and I can not do anything.
Would have otherwise update the Asus HC recorded but do not know how that should go without Launcher
Who has an advice what I could do?
sorry, trying to understand...
Had you done some sort of modification that removed the stock launcher? There isn't any reason why the stock launcher wouldn't be present. Can you try another factory reset using vol up + power? i don't recall exactly what the sequence is.
Its ok,
my english is not the best.
I delete the stock launcher with a script and forgot to restore it.
And then i do a factory resett..........
No Launcher anymore.........
A Androiddevice without an launcher become a bootloop or something similar
Did you uninstall the APK "launcher2.apk" and it's odex "launcher2.odex"?
I made that mistake and what i had to do was use ADB to install a 3rd party launcher (I found an APK for launcher pro and used that) and then once I had a working launcher, I downloaded Root explorer (I was rooted) and moved the "Launcher2.apk" and "launcher2.odex" into the /system/app folder. From there, I rebooted and everything was gravy
It is essential to include both the .apk and the .odex. Also, you have to have the files from the same build version you are. (You can't use an odex from 8.8.3.29 on a tablet running 8.8.3.33)
does ADB see your device? If so maybe you can push launcher API back to /system/app then set the permissions and you should be all set.
Sent from my Transformer Prime TF201 using xda premium
bscotth said:
Did you uninstall the APK "launcher2.apk" and it's odex "launcher2.odex"?
I made that mistake and what i had to do was use ADB to install a 3rd party launcher (I found an APK for launcher pro and used that) and then once I had a working launcher, I downloaded Root explorer (I was rooted) and moved the "Launcher2.apk" and "launcher2.odex" into the /system/app folder. From there, I rebooted and everything was gravy
It is essential to include both the .apk and the .odex. Also, you have to have the files from the same build version you are. (You can't use an odex from 8.8.3.29 on a tablet running 8.8.3.33)
Click to expand...
Click to collapse
Yes i uninstall the launcher2_apk and odex file.
ADB dont see my device.
I think its a mistake in the USB driver.
I pluged the prime in and MTP doesnt install correctly.
cooper1988 said:
Hi all,
happened to me a mishap.
I had done a full wipe but forgot to push the stock launcher back on it, well now the launcher is missing and I can not do anything.
Would have otherwise update the Asus HC recorded but do not know how that should go without Launcher
Who has an advice what I could do?
Click to expand...
Click to collapse
cooper1988, what you have to do is download a new launcher in your pc, put it in your sd card and apply it with the recovery mode in "apply any zip from sd".
ajmdve said:
cooper1988, what you have to do is download a new launcher in your pc, put it in your sd card and apply it with the recovery mode in "apply any zip from sd".
Click to expand...
Click to collapse
prime doesnt have a recovery (locked bootloader)
Power + Vol D --> Wipe or boot Android
well, then you might try flashing a new rom. sorry but if your pad doesnt have recovery, the it is the only way i see.
ajmdve said:
well, then you might try flashing a new rom. sorry but if your pad doesnt have recovery, the it is the only way i see.
Click to expand...
Click to collapse
won't it try to flash whatever image is on the sd card with that combo, effectively a hard reset?
Year
ADB show my device.
But i cant push the apk to /system/app or /data/app
failed to copy 'launcher.apk' to '/data/app/launcher.apk': Permission denied
a hard reset is not useful in this case because the launcher in not in the system folder anymore. he have to flash the pad with odin or any other method alike.
cooper1988 said:
Year
ADB show my device.
But i cant push the apk to /system/app or /data/app
failed to copy 'launcher.apk' to '/data/app/launcher.apk': Permission denied
Click to expand...
Click to collapse
I believe you have to mount /system in order to do that push
c:\android-sdk\platform-tools>adb shell mount /system
mount: permission denied
i dont have root on the prime and nachoroot doesnt work ( i have hc)
c:\android-sdk\platform-tools>adb push nachoroot.bin /data/local/
1140 KB/s (15182 bytes in 0.013s)
c:\android-sdk\platform-tools>adb shell chmod 777 /data/local/nachoroot.bin
chmod: permission denied
a hard reset wont do anything
tdrussell said:
won't it try to flash whatever image is on the sd card with that combo, effectively a hard reset?
Click to expand...
Click to collapse
a hard reset wont do anything, because it restores all by default, but, if the launcher isn't in the system folder, the phone wont make it appear from nowhere.
he should flash a new rom using odin or some other tools alike.
I am in a similar situation I am stuck in a boot loop! Not able to get passed the asus logo loading sign!
I can not get in ADB because of dumb asus sync I still need to try using ADB on linux! Because that does not need the asus sync
Sent from my PC36100 using Tapatalk
how it happens?
Wordlywisewiz said:
I am in a similar situation I am stuck in a boot loop! Not able to get passed the asus logo loading sign!
I can not get in ADB because of dumb asus sync I still need to try using ADB on linux! Because that does not need the asus sync
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
how it happens?
ajmdve said:
how it happens?
Click to expand...
Click to collapse
Well idrk either the system apps I froze or the changing the build.prop (added enable. Facelock) but even after I had done that I had rebooted Atleast twice
But maybe it only checks those things on a kernel panic
Sent from my PC36100 using Tapatalk
you rebooted twice and it starts completelly or it always get stuck in the boot logo?
cooper1988 said:
c:\android-sdk\platform-tools>adb shell mount /system
mount: permission denied
i dont have root on the prime and nachoroot doesnt work ( i have hc)
c:\android-sdk\platform-tools>adb push nachoroot.bin /data/local/
1140 KB/s (15182 bytes in 0.013s)
c:\android-sdk\platform-tools>adb shell chmod 777 /data/local/nachoroot.bin
chmod: permission denied
Click to expand...
Click to collapse
before you did factory reset , u removed the launch apk right ? so you had root before you did factory reset , you should still have it now , because factory wipe does not remove root.
OK, so I have a rooted I9300 and for some reason for the last few weeks I cant update the subinary and titanium wont get root access.
I did many google searches, tried a few thing eg (http://forum.xda-developers.com/showthread.php?t=1900217) , tried rooting again (even though I know Im rooted but nothing works.
So the next thing I want to try is to unroot my phone and root again.
My question is, because I cant access titanium to back everything up,
is there a way to unroot WITHOUT losing all apps and data?
Thanks a lot in advance.
Make nandroid backup and restore apps using titanium when your phone are rooted again.
Use MybackupPro to backup messages/contacts/bookmark/system setting/bookmarks.
Sent from my GT-I9300 using xda app-developers app
Uninstall super su via Google Play and reinstall .
jje
Cant use nandroid. It needs busybox which requests root access.
JJEgan said:
Uninstall super su via Google Play and reinstall .
jje
Click to expand...
Click to collapse
Tried it- it wont uninstall but go back to an earlier version.
Reinstalled the latest version and Im getting the same message.
Root checker app says "This device does not have proper root access".
...just re-root it? Assuming you used CF-Root and will be flashing it again, when CWM runs again and installs the SuperSU ZIP, /system/xbin/su will get overwritten (and get set with the correct permissions).
Else, if whatever reason you don't want to do that, if you have CWM recovery installed, just mount /system, and using ADB delete /system/xbin/su, /system/app/Superuser.apk, /system/bin/.ext and install CWM-SuperSU-v0.96.zip again.
If you don't have CWM, you can use a kernel with an insecure adbd (Perseus kernel has this for Jellybean ROMs, and earlier Siyah and GalaxSih kernels have this for ICS) and delete /system/xbin/su and /system/app/Superuser.apk. You'll have to manually install SuperSU from the ZIP.
qwerty12 said:
...just re-root it? Assuming you used CF-Root and will be flashing it again, when CWM runs again and installs the SuperSU ZIP, /system/xbin/su will get overwritten (and get set with the correct permissions).
Else, if whatever reason you don't want to do that, if you have CWM recovery installed, just mount /system, and using ADB delete /system/xbin/su, /system/app/Superuser.apk, /system/bin/.ext and install CWM-SuperSU-v0.96.zip again.
If you don't have CWM, you can use a kernel with an insecure adbd (Perseus kernel has this for Jellybean ROMs, and earlier Siyah and GalaxSih kernels have this for ICS) and delete /system/xbin/su and /system/app/Superuser.apk. You'll have to manually install SuperSU from the ZIP.
Click to expand...
Click to collapse
I tried rooting again- didn't change anything.
I do have CWM.
Tried using ADB, but it requests root access and fails to get it...
tomerstern said:
I do have CWM.
Click to expand...
Click to collapse
Good, ADB will be running as root in CWM by default. Boot into recovery mode, go to mounts and storage, and select Mount /system.
If you don't already have ADB setup and the correct drivers installed (if you already have Kies installed then you have the drivers installed). do the following. You can check, if you wish, by seeing when you connect your phone in recovery - you should have a SAMSUNG Android ADB Device under SAMSUNG Android Phone or an Android Debugger Bridge device in Device Manager. If not:
Download http://dl.google.com/android/repository/platform-tools_r14-windows.zip and extract the three files adb.exe, AdbWinApi.dll and AdbWinUsbApi.dll to a place of your choosing
install the drivers: http://www.mediafire.com/?2243ouw1701zp8l (Extracted from Kies_2.5.0.12094_27_11.exe)
disconnect and reconnect your phone
Go to the folder where you have adb installed in the Command Prompt, and run "adb shell". Run the following commands:
Code:
rm /system/app/Superuser.apk
chattr -i /system/xbin/su [in case Survival Mode is turned on in SuperSU]
rm /system/xbin/su
rm /system/bin/su [ignore this one if it throws an error]
rm -r /system/bin/.ext
That should unroot your phone.
Go to "Install ZIP from sdcard" and choose to install a zip from the internal sdcard.
Exit out of the root shell (Ctrl+C or, alternatively, "exit" and you'll be sent back to the command prompt) on your computer and download the SuperSU ZIP.
Go back to the command prompt and type this "adb push " (including the space) and drag the CWM-SuperSU-v0.96.zip onto the command prompt window, add a space and type "/data/media". You should have something like "adb push <path to CWM-SuperSU-v0.96.zip> /data/media"
This should put the SuperSU ZIP onto the root of your internal memory card. Choose go back on your phone and select to install a ZIP from the internal memory card again. You should see CWM-SuperSU-v0.96.zip. Install it, reboot, update SuperSU from the Play Store and run SuperSU from the app drawer. You should get a prompt asking you to update the su binary. Do so.
Grab Android Terminal Emulator on the Market, and run "su". If all went well, SuperSU should ask you for permission. Grant it and if the $ turned into a # and the command "id" says uid=0 (root) then you're rooted!
OK, Im really sorry and embarrassed to say that I got confused with my tab 10.1.
I Do not have CWM installed.
Tried installing it now and could not. I stay on odin mode and I dont get the CWM menu...
I guess at this stage when my root is screwed I cant install CWM anymore.
What can I do now?
Thanks again and sorry for the confusion..
tomerstern said:
Tried installing it now and could not. I stay on odin mode and I dont get the CWM menu...
I guess at this stage when my root is screwed I cant install CWM anymore.
Click to expand...
Click to collapse
Flashing CF-Root should always get you CWM as it's done through ODIN, which does not care if your phone is rooted or not. When you're flashing CF-Root, make sure the auto reboot option remains ticked. If your phone doesn't boot into CWM after ODIN reboots it, then take note of the following:
Chainfire said:
- NOTE: Sometimes the device does *not* boot into recovery mode and root your device. Just do the entire procedure again if this happens. If it still will not install root and such, make sure that in Odin "Auto Reboot" is not checked. Then after flashing, pull the battery, and boot with VolUp+Home+Power button to boot into recovery manually. This will start the install process.
Click to expand...
Click to collapse
qwerty12 said:
Go to the folder where you have adb installed in the Command Prompt, and run "adb shell". Run the following commands:
Code:
rm /system/app/Superuser.apk
chattr -i /system/xbin/su [in case Survival Mode is turned on in SuperSU]
rm /system/xbin/su
rm /system/bin/su [ignore this one if it throws an error]
rm -r /system/bin/.ext
Click to expand...
Click to collapse
OK, Im now in the mounts and storage folder insider CWM.
ADB interface is installed on device manager.
II dont understand what to press and where to run these commands.
tomerstern said:
OK, Im now in the mounts and storage folder insider CWM.
ADB interface is installed on device manager.
II dont understand what to press and where to run these commands.
Click to expand...
Click to collapse
Under the mounts and storage option, select mount /system. It will change to "unmount /system" if selected correctly.
The commands are run from an "adb shell" session, which you can get to by doing this:
Extract those three ADB files from that platform-tools ZIP to a folder somewhere (I chose C:\adb out of randomness). Open that folder and while holding down the shift key, right-click a blank, white area in the folder and select "Open command window here". You can then type "adb shell", which will allow you to run those commands.
qwerty12 said:
Good, ADB will be running as root in CWM by default. Boot into recovery mode, go to mounts and storage, and select Mount /system.
Click to expand...
Click to collapse
There isnt mount system there. I see unmount system.
I see mount data, preload etc.
OK, that's fine, you may move on to running those commands.
Two problems:
1. running "chattr -i /system/xbin/su"
resulted in a "chatter not found" message.
2. Trying to push the su zip resulted in this message: "error: device not found".
tomerstern said:
"chattr -i /system/xbin/su"
Click to expand...
Click to collapse
If rm worked on /system/xbin/su, then ignore it as you don't need it anyway.
2. Trying to push the su zip resulted in this message: "error: device not found".
Click to expand...
Click to collapse
Reconnect the phone and try again?
not working after numerous attempts.
Can I Start the phone and move the zip file manually with a micro sd cable? If not, what else?
tomerstern said:
Can I Start the phone and move the zip file manually with a micro sd cable? If not, what else?
Click to expand...
Click to collapse
That should be fine
moved it to internal memory and after shutdown, power+home+volume up wont take me to cwm anymore but to android system recovery.
Why? How do I get back to cwm? Install it again with Odin?
BY THE WAY, I can still see supersu is installed on my device. Does it mean what we did did not work?
OK, I can confirm this method works
I just installed the zip of the supersu and now Ive got full root privileges.
The reason I couldnt get into cwm was that for some reason I get a short android upgrade each time I boot up. This upgrade deletes cwm. Thats why I found out that I need to install CWM and then immidiately press power-volume up-home, before i let the device power up.
I want to give a big thanks to qwerty12 for the help and much needed patience.
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