[Q]How To Push System Folder With ADB ? - General Questions and Answers

Can someone tell me how to push system folder backup with adb... I tried to replace the system folder with another custom rom system folder with root explorer..But it shut down and does not boot(stuck at boot logo)..I already have original system folder and tried to push it with adb with command 'adb push system system' after a few seconds it gave error not re-writable blah blah... i dont know much about adb so please help me ... I have 'Spice Mi-492 Stellar Virtuoso Pro+':good:

Related

[Q] Framework-res.apk

I moved the 'framework-res.apk' file to sd card and reboot the phone. After that it shows only a black screen while booting. How can I replace or restore the framework-res.apk file from sd card to phone? Please help me..... I installed the android SDK in my w7 PC. Is it possible to use ADB from android SDK to solve the issue? If possible, please describe here how to do that......
Yes.
Put framework in tools folder of android-sdk, then using dos prompt navigate to the tools folder.
Boot into cwm (I am presuming you have it installed) and mount the system partition and do
adb remount
adb push framework-res.apk /system/framework / framework-res.apk
Reboot and all should be well.
Why did you do it in the first place it's an essential file as you can see.
Just type adb at prompt for more help on it.

(Help) SD can not be mounted??

Not sure what happened during a ROM flashing, however, all in all, I can only boot my phone into Bootloader and recovery...nothing else, it says *error mounting /sdcard*So I can't restore or flash a previous backed up ROM. So I guess it would be called a soft brick. Any way of getting out of this? I tried to adb push, doesn't work. Tried the All in One kit, still nothing.
For anyone who can help me with my phone, I will compensate you for your time and knowledge.
If all else fails, I will just have to call and have the phone replaced.
Thanks in advance.
dont panic try this http://forum.xda-developers.com/showthread.php?t=1630459
I got as far as being able to mount my sdcard, now I can't push any files on to my phone?
put the rom in your adb folder, Use the command
adb push nameofrom.zip /sdcard
then in CWM it should appear
Check here for a full guide http://forum.xda-developers.com/showthread.php?t=1667929
C:\androidsdk\tools>adb push ROM.zip /sdcard/ROM.zip
cannot stat 'ROM.zip': No such file or directory
This is what it says when I try to push the ROM
and the rom is in the tools folder ?
you also naming it right ?
don't add the rom.zip after sdcard
i think that means you are pushing it to a rom.zip folder already on card--not 100% sure though
Thongvilay said:
C:\androidsdk\tools>adb push ROM.zip /sdcard/ROM.zip
cannot stat 'ROM.zip': No such file or directory
This is what it says when I try to push the ROM
Click to expand...
Click to collapse
Could also be you're not typing the path to the file correctly.
Do this, on your PC navigate to the folder where you have the ROM.zip file (in your case the tools folder in androidsdk.
Hold down the SHIFT button while right clicking on the "tools" folder
A drop down menu will appear and chose "Open Command window here"
You should get a CMD window with the correct path.
Also for me it's always "platform-tools" folder that I put my file to be push in.
hey BBF nice to see still around--loving my 1s
sorry for off-topic guys

[Q] Need some help with adb

so im using adb on my phone and I did adb shell ls /system/lib and it shows up with a bunch of copys and its using up all my system memory and when I go to delete them it says write only is there anyway to delete them I pushed the wrong lib folder to my phone and now its in a bootloop
You need root permission to delete anything in /system/
try adb root
adb remount
then delete.

Replaced wrong build.prop and local.prop

I've been stupid enough and replaced my modified build and local.prop files on B310 ROM with the ones I've backed up from my B121SP06 ROM and after I've rebooted the phone it just stays on "Honor, powered by android" logo. Is there some way I can't replace those files with the originals before the intervention ( I have them on my SD card)? I can boot into recovery or in bootloader, also I can flash CWM recovery.
doctorat said:
I've been stupid enough and replaced my modified build and local.prop files on B310 ROM with the ones I've backed up from my B121SP06 ROM and after I've rebooted the phone it just stays on "Honor, powered by android" logo. Is there some way I can't replace those files with the originals before the intervention ( I have them on my SD card)? I can boot into recovery or in bootloader, also I can flash CWM recovery.
Click to expand...
Click to collapse
I had also problems with these two files.
Install cwm on your phone and start your phone in cwm-mode to use adb
in cwm you have to mount system, data and cust
open a command line and use adb as following:
"adb remount"
"adb pull /system/build.prop" --> this will download the build.prop-file to your local folder, where your adb-file is located. At this point you can also download another file like your mentioned backup of the build.prop. for the local.prop-file you have to use: "adb pull /data/cust/prop/local.prop"
When you are ready with changes on the two files or you just want to upload the right ones to your phone back use this command:
"adb push build.prop /system/build.prop" and/or "adb push local.prop /data/cust/prop/local.prop" --> it will copy the file build.prop or local.prop from the local folder, where your adb-file is located to the phone.
After uploading the files to your phone you have to fix permissions:
"adb shell chmod 644 /system/build.prop" and/or "adb shell chmod 644 /data/cust/prop/local.prop"
reboot your phone via cwm.
This is how it worked for me. I hope it will help you too. :fingers-crossed:
By the way, I'm actually looking for a stock local.prop-file for the L04 (from the firmware B109SP1 or B114) or the L12 (from the firmware B118 or B607). Do you have one of these?
Thanks for the reply but I've already succeeded flashing B313. I've been trying with "adb pull" command but it was saying "no device found " or something similar.
My phone is H60-L02 so i don't have the files you're looking for.

[Q] Create a .img file of the system partition

I bought a Moto G(XT1031) last week. I rooted it, and before removing any system apps, created a backup in TWRP of the system and boot partitions.
Now, I have the 8GB model(couldn't find a 16GB one cheap enough) and so I would like to create a .img of the system and boot partitions. I still have the TWRP backup, however I want to remove it from my phone as it's eating up almost a GB of precious space.
I've seen some assorted stuff on how to pull .img files from the phone, but I' m not sure which ones will work with mine. Any help would be appreciated!
You could use: adb pull /sdcard/TWRP c:/MotoG_Backup/TWRP
Now you can delete that folder from phone.
Then if you want to restore TWRP Backup: adb push c:/MotoG_Backup/TWRP /sdcard/TWRP/
Alternatively:
ADB Dumping Methods: *ROOT REQUIRED*
You need to grant the SuperSU permission popup that will appear on your phone.
System:
adb shell su -c "dd if=/dev/block/platform/msm_sdcc.1/by-name/system of=/sdcard/system.img"
adb pull /sdcard/system.img​
lost101 said:
You could use: adb pull /sdcard/TWRP c:/MotoG_Backup/TWRP
Now you can delete that folder from phone.
Then if you want to restore TWRP Backup: adb push c:/MotoG_Backup/TWRP /sdcard/TWRP/
Alternatively:
ADB Dumping Methods: *ROOT REQUIRED*
You need to grant the SuperSU permission popup that will appear on your phone.
System:
adb shell su -c "dd if=/dev/block/platform/msm_sdcc.1/by-name/system of=/sdcard/system.img"
adb pull /sdcard/system.img​
Click to expand...
Click to collapse
Why, thank you sir! I was unaware that you can push files to your device while in the recovery! That is why I wanted a system image file.
Thanks again!

Categories

Resources