[Q] rename a file via cwm update.zip - Android General

Hello all
i stupidly renamed libwpa_client.so and now stuck on a black screen , want to fix this and get the file back to orginal name ,
i have cwm working how to make update.zip to rename system/lib/libwpa_client.so.old to libwpa_client.so
just as this , i dont know how or may be via adb suggestion guys please
Due to faulty CABLE couldnt get adb , but now got adb and copied the file with the orld orginal name and it worked
MOUNT SYSTEM via CWM first > usb > cp or mv

Related

[Q] Serious help with Coby Kyros 7015!!

I upgraded to Cyangenmod 2.2 Froyo on my Kyros, but I decided to downgrade back to Eclair. So I wiped/factory reset. And restored my backup with 2.1 Eclair. I was able to root but I was unable to install clockworkmod recovery. And after doing more research I found that flash_image command is not in my system/bin folder so I'm unable to use the command in adb. I tried copying a flash_image.zip which i found on the forum to my sdcard so i could be able to copy it to system/bin but I can't because it's read-only. The only thing i cant think of now is change the permissions on system/bin directory and copy the flash_image file there, but how to do that??? And if that doesn't work what else can I do??
I tried downloading the update.zip from coby and copy the flash_image file into the file since coby removed the flash_image from the new update. When I tried to update from the the update.zip its giving me verification failed. So its impossible to modifiy the update the file without verification failure. And the old update file isnt working either, seems that when you update the to the new update.zip it prevents you from downgrading.
Solved!
I got it. Make sure your device is rooted, and you have SuperUser.
I downloaded Root Explorer, mounted the "system" directory as RW and then change the permissions on the directory, (I ticked everything, basically full access), then did the same for the "bin" folder. Then I copied my "flash_image" file what I got from my old backup and copied it to the "bin" folder.
I undid the permissions and flashed the recovery.img (which installs the ClockwordMod) with adb and then I was able to install the Android Market and Google Apps.
Got it solved on the same day, just didn't have the time to post it.
Please help ( i'm afraid i bricked the coby 7015)
Hi guys !!!
My coby kyros is in permanent bootloop . The only thing I can do is make it enter into recovery mode ( the original from coby stock ) . I did wipe data and cache but when I try to recover from update.zip it fails because I am using a modified version of this update that was intended for rooted devices - ( so in recovery mode it does not work since it needs the upadte from original stock )-
Is there a way to flash the correct update.zip to the coby via Windows XP ADB ( I have tried to use adb shell but it list no devices and I followed all the steps from another post to install the USB drivers for adb and it worked , but adb list no devices ) - HELP PLEASE
Thanks in advance
Gardelvis
Hi guys !!!
I resolved my problem simply rebooting the PC and adding an adb push command to copy the correct update.zip in the sdcard
Gardelvis

[tutorial] flash cwm recovery on karbonn smart tab 1

hello all,
this recovery is not ported by me, xda's senior member fun_ have ported this to many devices, and we using the one which is compatible with paladin, many many thanks to him, a link to original thread is here
requirements:-
1. a rooted phone, you can root your tab here
2. cwm recovery image which you can get here
steps:-
1. open file manager which can have root access
2. go to system and rename recovery.cpio.img to recovery.cpio.img.bak
3. put downloaded recovery in /sdcard
4. open terminal emulator
5. type su
6. type "inand_flash_image recovery /mnt/sdcard/recovery.cpio.img" (if you have put it in flash then replace sdcard with flash)
7. then boot into recovery by holding menu and power button together or by typing "reboot recovery" in terminal emulator
how to control recovery:-
# power button is used to select options
# menu button will take you up
# home button will get you down when pressed
some notes you should keep in mind:-
1. back button do not work in recovery
2. never try the key test option else you will get stuck
3. backup do not work for boot, xboot, mbr areas
4. do not flash any rom available for paladin, basic etc. devices (or you will have a hard bricked tablet)
a simple step to enable on-screen back button
as soon as you booted into recovery, press menu then home then again menu, a message will appear saying enabled ( can be done in every screen)
Cwm
Nt able to rename recovery.cpio.img to recovery.cpio.img from andro zip, es file explorer,terminal . . ? Any solution?
in terminal type
Code:
su
mv /system/recovery.cpio.img /system/recovery.cpio.img.bak
dheeraj (dhlalit11) said:
in terminal type
Code:
su
mv /system/recovery.cpio.img /system/recovery.cpio.img.bak
Click to expand...
Click to collapse
failed - read only file system . . . ? . . Any other way to rename this file
pbhasin21 said:
failed - read only file system . . . ? . . Any other way to rename this file
Click to expand...
Click to collapse
tab is not rooted root it first
http://forum.xda-developers.com/showthread.php?p=29100664
dude i followed ur steps, used root explorer to rename to bak, and then tried, i get kcrc32 file size not same. and then when i boot to recovery the whole screen goes berzerk with curtain falls and doesn't do anything. i renamed the bak file into normal and flashed it and got the old recovery.. could you tell me what im doing wrong? used your recovery.cpio.img 3.5mb file in my sdcard... doesnt work..
rooted karbonn smart tab
kcrc32 not same is normal
did the terminal flash the recovery 2 times
like:-
kcrc32 not same
then a hex address
flashing from /mnt/sdcard
kcrc32 not same
then a hex address
flashing from /mnt/sdcard
if you get something like above then it is flashed properly
dheeraj (dhlalit11) said:
kcrc32 not same is normal
did the terminal flash the recovery 2 times
like:-
kcrc32 not same
then a hex address
flashing from /mnt/sdcard
kcrc32 not same
then a hex address
flashing from /mnt/sdcard
if you get something like above then it is flashed properly
Click to expand...
Click to collapse
yup i got it twice, kcrc32 not same.
then i entered reboot recovery. thats when the screen goes all curtainfall like a crash, and recovery doesn't load. i had to use the reset pin and power button to turn on the tab again.. perhaps the img is not compatible with my tab?
btw mine is Karbonn Smart Tablet 2.
http://ncarry.nimbuzz.com/karbonn/product.php?product_id=2212
but when i purchased, it came with android 4.0 ics. everything else is same as in that page..
it is different
and I think that's why recovery is not booting
any suggestions mate? perhaps another ainol tab is similar to karbonn st2?
What if there is no "recovery.cpio.img" file in the system folder? This is after having root permissions...nothing has been done otherwise. I do not have a recovery file to rename and am unsure if it should still go in the system folder or not. It doesn't even have a file extension (I had to transfer it to my laptop just to check, and there's no .img or .zip...nothing.)
Also I keep getting the following message in terminal emulator when attempting to run the command:
sh: inand_flash_image: not found. The image file is in the /mnt/sdcard/Download folder. The full instance is:
[email protected]:/ $ su
[email protected]:/ # inand_flash_image recovery /mnt/sdcard/Download/recovery.cpio.img
sh: inand_flash_image: not found
127|[email protected]:/ # inand_flash_image
sh: inand_flash_image: not found
Any help?

[Q] Problems pasting into /system/bin

Hi all
I am trying to install a custon recovery program, which requires me to paste a file from the SD card to the /system/bin/ folder.
Have nearly managed it BUT when the new file is looked at it is 0.0 size rather than the original 25.5KB?
When i then try and use the flash_image file it doesn't work presumably as it is 0.0 size?!?
Am i missing something?
Thanks
i think there's a problem with the file. you can try to install a custom rom because all of them have clockwork mod recovery

[Completed] [Q] Help flashing a dump rom

Hi. I have a briked chinese phone (F7102), so I decided to dump the stock rom from a friend phone (same model) using this tutorial:
"you need a rooted device first before you can do it.
after you have rooted it. download the following app from play store called "android terminal emulator"
copy the romdump file to your sdcard and put the sdcard into your device.
copy from your tab the file to /data/local/ (use e.g. ES File Explorer (need root access))
change the permission of the romdump file (using ES File Explorer --> Hold the file --> Properties --> and change it to 755(rwxrw-rw)
open the installed android terminal emulator app
use to following command
su
/data/romdump
After you run that you can copy the whole folder in /sdcard/romdump to pc (using external sdcard, usb plug-in,...)
"
Everething was perfect, and the result of it was a folder named "romdump", it contains the following files:
config.gz 0 KB
system.info.gz 2 KB
system.tar 480 MB
checksum.md5 1 KB
My question is, how do I flash those files into my briked phone, from fastboot? ADB? and wich one of those files do I have to flash (for the size i think is "system.tar").
I hope you can helpme, please try to put the whole procedure for flashing the rom. (I am a noob on this.)
PD: sorry for my english.
Hi,
That's not a procedure many do here... But if it's your only option, maybe this guide can help.... You can ask for help here too,
> General discussion > XDA-University > [GUIDE] Making Dump Files Out of Android Device Partitions
Good luck!
Thank you. Thread closed.

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.

Categories

Resources